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.ListRecommendedIntents

Description

Gets a list of recommended intents provided by the bot recommendation that you can use in your bot. Intents in the response are ordered by relevance.

Synopsis

Creating a Request

data ListRecommendedIntents Source #

See: newListRecommendedIntents smart constructor.

Constructors

ListRecommendedIntents' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of bot recommendations 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 ListRecommendedIntents 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 unique identifier of the bot associated with the recommended intents.

  • botVersion :: Text

    The version of the bot that contains the recommended intents.

  • localeId :: Text

    The identifier of the language and locale of the recommended intents.

  • botRecommendationId :: Text

    The identifier of the bot recommendation that contains the recommended intents.

Instances

Instances details
ToJSON ListRecommendedIntents Source # 
Instance details

Defined in Amazonka.LexV2Models.ListRecommendedIntents

ToHeaders ListRecommendedIntents Source # 
Instance details

Defined in Amazonka.LexV2Models.ListRecommendedIntents

ToPath ListRecommendedIntents Source # 
Instance details

Defined in Amazonka.LexV2Models.ListRecommendedIntents

ToQuery ListRecommendedIntents Source # 
Instance details

Defined in Amazonka.LexV2Models.ListRecommendedIntents

AWSRequest ListRecommendedIntents Source # 
Instance details

Defined in Amazonka.LexV2Models.ListRecommendedIntents

Associated Types

type AWSResponse ListRecommendedIntents #

Generic ListRecommendedIntents Source # 
Instance details

Defined in Amazonka.LexV2Models.ListRecommendedIntents

Associated Types

type Rep ListRecommendedIntents :: Type -> Type #

Read ListRecommendedIntents Source # 
Instance details

Defined in Amazonka.LexV2Models.ListRecommendedIntents

Show ListRecommendedIntents Source # 
Instance details

Defined in Amazonka.LexV2Models.ListRecommendedIntents

NFData ListRecommendedIntents Source # 
Instance details

Defined in Amazonka.LexV2Models.ListRecommendedIntents

Methods

rnf :: ListRecommendedIntents -> () #

Eq ListRecommendedIntents Source # 
Instance details

Defined in Amazonka.LexV2Models.ListRecommendedIntents

Hashable ListRecommendedIntents Source # 
Instance details

Defined in Amazonka.LexV2Models.ListRecommendedIntents

type AWSResponse ListRecommendedIntents Source # 
Instance details

Defined in Amazonka.LexV2Models.ListRecommendedIntents

type Rep ListRecommendedIntents Source # 
Instance details

Defined in Amazonka.LexV2Models.ListRecommendedIntents

type Rep ListRecommendedIntents = D1 ('MetaData "ListRecommendedIntents" "Amazonka.LexV2Models.ListRecommendedIntents" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "ListRecommendedIntents'" '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))) :*: (S1 ('MetaSel ('Just "botVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "localeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "botRecommendationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newListRecommendedIntents Source #

Create a value of ListRecommendedIntents 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:ListRecommendedIntents', listRecommendedIntents_maxResults - The maximum number of bot recommendations 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.

ListRecommendedIntents, listRecommendedIntents_nextToken - If the response from the ListRecommendedIntents 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.

ListRecommendedIntents, listRecommendedIntents_botId - The unique identifier of the bot associated with the recommended intents.

ListRecommendedIntents, listRecommendedIntents_botVersion - The version of the bot that contains the recommended intents.

ListRecommendedIntents, listRecommendedIntents_localeId - The identifier of the language and locale of the recommended intents.

ListRecommendedIntents, listRecommendedIntents_botRecommendationId - The identifier of the bot recommendation that contains the recommended intents.

Request Lenses

listRecommendedIntents_maxResults :: Lens' ListRecommendedIntents (Maybe Natural) Source #

The maximum number of bot recommendations 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.

listRecommendedIntents_nextToken :: Lens' ListRecommendedIntents (Maybe Text) Source #

If the response from the ListRecommendedIntents 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.

listRecommendedIntents_botId :: Lens' ListRecommendedIntents Text Source #

The unique identifier of the bot associated with the recommended intents.

listRecommendedIntents_botVersion :: Lens' ListRecommendedIntents Text Source #

The version of the bot that contains the recommended intents.

listRecommendedIntents_localeId :: Lens' ListRecommendedIntents Text Source #

The identifier of the language and locale of the recommended intents.

listRecommendedIntents_botRecommendationId :: Lens' ListRecommendedIntents Text Source #

The identifier of the bot recommendation that contains the recommended intents.

Destructuring the Response

data ListRecommendedIntentsResponse Source #

See: newListRecommendedIntentsResponse smart constructor.

Constructors

ListRecommendedIntentsResponse' 

Fields

  • botId :: Maybe Text

    The unique identifier of the bot associated with the recommended intent.

  • botRecommendationId :: Maybe Text

    The identifier of the bot recommendation that contains the recommended intent.

  • botVersion :: Maybe Text

    The version of the bot that contains the intent.

  • localeId :: Maybe Text

    The identifier of the language and locale of the intents to list. The string must match one of the supported locales. For more information, see Supported languages.

  • nextToken :: Maybe Text

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

  • summaryList :: Maybe [RecommendedIntentSummary]

    Summary information for the intents 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 intents available, the nextToken field contains a token to get the next page of results.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListRecommendedIntentsResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.ListRecommendedIntents

Associated Types

type Rep ListRecommendedIntentsResponse :: Type -> Type #

Read ListRecommendedIntentsResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.ListRecommendedIntents

Show ListRecommendedIntentsResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.ListRecommendedIntents

NFData ListRecommendedIntentsResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.ListRecommendedIntents

Eq ListRecommendedIntentsResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.ListRecommendedIntents

type Rep ListRecommendedIntentsResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.ListRecommendedIntents

type Rep ListRecommendedIntentsResponse = D1 ('MetaData "ListRecommendedIntentsResponse" "Amazonka.LexV2Models.ListRecommendedIntents" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "ListRecommendedIntentsResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "botId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "botRecommendationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "botVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "localeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "summaryList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RecommendedIntentSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newListRecommendedIntentsResponse Source #

Create a value of ListRecommendedIntentsResponse 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:

ListRecommendedIntents, listRecommendedIntentsResponse_botId - The unique identifier of the bot associated with the recommended intent.

ListRecommendedIntents, listRecommendedIntentsResponse_botRecommendationId - The identifier of the bot recommendation that contains the recommended intent.

ListRecommendedIntents, listRecommendedIntentsResponse_botVersion - The version of the bot that contains the intent.

ListRecommendedIntents, listRecommendedIntentsResponse_localeId - The identifier of the language and locale of the intents to list. The string must match one of the supported locales. For more information, see Supported languages.

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

$sel:summaryList:ListRecommendedIntentsResponse', listRecommendedIntentsResponse_summaryList - Summary information for the intents 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 intents available, the nextToken field contains a token to get the next page of results.

$sel:httpStatus:ListRecommendedIntentsResponse', listRecommendedIntentsResponse_httpStatus - The response's http status code.

Response Lenses

listRecommendedIntentsResponse_botId :: Lens' ListRecommendedIntentsResponse (Maybe Text) Source #

The unique identifier of the bot associated with the recommended intent.

listRecommendedIntentsResponse_botRecommendationId :: Lens' ListRecommendedIntentsResponse (Maybe Text) Source #

The identifier of the bot recommendation that contains the recommended intent.

listRecommendedIntentsResponse_localeId :: Lens' ListRecommendedIntentsResponse (Maybe Text) Source #

The identifier of the language and locale of the intents to list. The string must match one of the supported locales. For more information, see Supported languages.

listRecommendedIntentsResponse_nextToken :: Lens' ListRecommendedIntentsResponse (Maybe Text) Source #

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

listRecommendedIntentsResponse_summaryList :: Lens' ListRecommendedIntentsResponse (Maybe [RecommendedIntentSummary]) Source #

Summary information for the intents 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 intents available, the nextToken field contains a token to get the next page of results.