amazonka-lexv2-models-2.0: Amazon Lex Model Building V2 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.LexV2Models.ListBotAliases

Description

Gets a list of aliases for the specified bot.

Synopsis

Creating a Request

data ListBotAliases Source #

See: newListBotAliases smart constructor.

Constructors

ListBotAliases' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of aliases to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.

  • nextToken :: Maybe Text

    If the response from the ListBotAliases operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use that token in the nextToken parameter to return the next page of results.

  • botId :: Text

    The identifier of the bot to list aliases for.

Instances

Instances details
ToJSON ListBotAliases Source # 
Instance details

Defined in Amazonka.LexV2Models.ListBotAliases

ToHeaders ListBotAliases Source # 
Instance details

Defined in Amazonka.LexV2Models.ListBotAliases

ToPath ListBotAliases Source # 
Instance details

Defined in Amazonka.LexV2Models.ListBotAliases

ToQuery ListBotAliases Source # 
Instance details

Defined in Amazonka.LexV2Models.ListBotAliases

AWSRequest ListBotAliases Source # 
Instance details

Defined in Amazonka.LexV2Models.ListBotAliases

Associated Types

type AWSResponse ListBotAliases #

Generic ListBotAliases Source # 
Instance details

Defined in Amazonka.LexV2Models.ListBotAliases

Associated Types

type Rep ListBotAliases :: Type -> Type #

Read ListBotAliases Source # 
Instance details

Defined in Amazonka.LexV2Models.ListBotAliases

Show ListBotAliases Source # 
Instance details

Defined in Amazonka.LexV2Models.ListBotAliases

NFData ListBotAliases Source # 
Instance details

Defined in Amazonka.LexV2Models.ListBotAliases

Methods

rnf :: ListBotAliases -> () #

Eq ListBotAliases Source # 
Instance details

Defined in Amazonka.LexV2Models.ListBotAliases

Hashable ListBotAliases Source # 
Instance details

Defined in Amazonka.LexV2Models.ListBotAliases

type AWSResponse ListBotAliases Source # 
Instance details

Defined in Amazonka.LexV2Models.ListBotAliases

type Rep ListBotAliases Source # 
Instance details

Defined in Amazonka.LexV2Models.ListBotAliases

type Rep ListBotAliases = D1 ('MetaData "ListBotAliases" "Amazonka.LexV2Models.ListBotAliases" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "ListBotAliases'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "botId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListBotAliases Source #

Create a value of ListBotAliases with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:maxResults:ListBotAliases', listBotAliases_maxResults - The maximum number of aliases to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.

ListBotAliases, listBotAliases_nextToken - If the response from the ListBotAliases operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use that token in the nextToken parameter to return the next page of results.

ListBotAliases, listBotAliases_botId - The identifier of the bot to list aliases for.

Request Lenses

listBotAliases_maxResults :: Lens' ListBotAliases (Maybe Natural) Source #

The maximum number of aliases to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.

listBotAliases_nextToken :: Lens' ListBotAliases (Maybe Text) Source #

If the response from the ListBotAliases operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use that token in the nextToken parameter to return the next page of results.

listBotAliases_botId :: Lens' ListBotAliases Text Source #

The identifier of the bot to list aliases for.

Destructuring the Response

data ListBotAliasesResponse Source #

See: newListBotAliasesResponse smart constructor.

Constructors

ListBotAliasesResponse' 

Fields

  • botAliasSummaries :: Maybe [BotAliasSummary]

    Summary information for the bot aliases that meet the filter criteria specified in the request. The length of the list is specified in the maxResults parameter of the request. If there are more aliases available, the nextToken field contains a token to get the next page of results.

  • botId :: Maybe Text

    The identifier of the bot associated with the aliases.

  • nextToken :: Maybe Text

    A token that indicates whether there are more results to return in a response to the ListBotAliases operation. If the nextToken field is present, you send the contents as the nextToken parameter of a ListBotAliases operation request to get the next page of results.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListBotAliasesResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.ListBotAliases

Associated Types

type Rep ListBotAliasesResponse :: Type -> Type #

Read ListBotAliasesResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.ListBotAliases

Show ListBotAliasesResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.ListBotAliases

NFData ListBotAliasesResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.ListBotAliases

Methods

rnf :: ListBotAliasesResponse -> () #

Eq ListBotAliasesResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.ListBotAliases

type Rep ListBotAliasesResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.ListBotAliases

type Rep ListBotAliasesResponse = D1 ('MetaData "ListBotAliasesResponse" "Amazonka.LexV2Models.ListBotAliases" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "ListBotAliasesResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "botAliasSummaries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BotAliasSummary])) :*: S1 ('MetaSel ('Just "botId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListBotAliasesResponse Source #

Create a value of ListBotAliasesResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:botAliasSummaries:ListBotAliasesResponse', listBotAliasesResponse_botAliasSummaries - Summary information for the bot aliases that meet the filter criteria specified in the request. The length of the list is specified in the maxResults parameter of the request. If there are more aliases available, the nextToken field contains a token to get the next page of results.

ListBotAliases, listBotAliasesResponse_botId - The identifier of the bot associated with the aliases.

ListBotAliases, listBotAliasesResponse_nextToken - A token that indicates whether there are more results to return in a response to the ListBotAliases operation. If the nextToken field is present, you send the contents as the nextToken parameter of a ListBotAliases operation request to get the next page of results.

$sel:httpStatus:ListBotAliasesResponse', listBotAliasesResponse_httpStatus - The response's http status code.

Response Lenses

listBotAliasesResponse_botAliasSummaries :: Lens' ListBotAliasesResponse (Maybe [BotAliasSummary]) Source #

Summary information for the bot aliases that meet the filter criteria specified in the request. The length of the list is specified in the maxResults parameter of the request. If there are more aliases available, the nextToken field contains a token to get the next page of results.

listBotAliasesResponse_botId :: Lens' ListBotAliasesResponse (Maybe Text) Source #

The identifier of the bot associated with the aliases.

listBotAliasesResponse_nextToken :: Lens' ListBotAliasesResponse (Maybe Text) Source #

A token that indicates whether there are more results to return in a response to the ListBotAliases operation. If the nextToken field is present, you send the contents as the nextToken parameter of a ListBotAliases operation request to get the next page of results.