libZSservicesZSamazonka-lex-modelsZSamazonka-lex-models
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.LexModels.GetBuiltinIntents

Description

Gets a list of built-in intents that meet the specified criteria.

This operation requires permission for the lex:GetBuiltinIntents action.

This operation returns paginated results.

Synopsis

Creating a Request

data GetBuiltinIntents Source #

See: newGetBuiltinIntents smart constructor.

Constructors

GetBuiltinIntents' 

Fields

  • locale :: Maybe Locale

    A list of locales that the intent supports.

  • nextToken :: Maybe Text

    A pagination token that fetches the next page of intents. If this API call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of intents, use the pagination token in the next request.

  • signatureContains :: Maybe Text

    Substring to match in built-in intent signatures. An intent will be returned if any part of its signature matches the substring. For example, "xyz" matches both "xyzabc" and "abcxyz." To find the signature for an intent, see Standard Built-in Intents in the Alexa Skills Kit.

  • maxResults :: Maybe Natural

    The maximum number of intents to return in the response. The default is 10.

Instances

Instances details
Eq GetBuiltinIntents Source # 
Instance details

Defined in Amazonka.LexModels.GetBuiltinIntents

Read GetBuiltinIntents Source # 
Instance details

Defined in Amazonka.LexModels.GetBuiltinIntents

Show GetBuiltinIntents Source # 
Instance details

Defined in Amazonka.LexModels.GetBuiltinIntents

Generic GetBuiltinIntents Source # 
Instance details

Defined in Amazonka.LexModels.GetBuiltinIntents

Associated Types

type Rep GetBuiltinIntents :: Type -> Type #

NFData GetBuiltinIntents Source # 
Instance details

Defined in Amazonka.LexModels.GetBuiltinIntents

Methods

rnf :: GetBuiltinIntents -> () #

Hashable GetBuiltinIntents Source # 
Instance details

Defined in Amazonka.LexModels.GetBuiltinIntents

AWSPager GetBuiltinIntents Source # 
Instance details

Defined in Amazonka.LexModels.GetBuiltinIntents

AWSRequest GetBuiltinIntents Source # 
Instance details

Defined in Amazonka.LexModels.GetBuiltinIntents

Associated Types

type AWSResponse GetBuiltinIntents #

ToHeaders GetBuiltinIntents Source # 
Instance details

Defined in Amazonka.LexModels.GetBuiltinIntents

ToPath GetBuiltinIntents Source # 
Instance details

Defined in Amazonka.LexModels.GetBuiltinIntents

ToQuery GetBuiltinIntents Source # 
Instance details

Defined in Amazonka.LexModels.GetBuiltinIntents

type Rep GetBuiltinIntents Source # 
Instance details

Defined in Amazonka.LexModels.GetBuiltinIntents

type Rep GetBuiltinIntents = D1 ('MetaData "GetBuiltinIntents" "Amazonka.LexModels.GetBuiltinIntents" "libZSservicesZSamazonka-lex-modelsZSamazonka-lex-models" 'False) (C1 ('MetaCons "GetBuiltinIntents'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "locale") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Locale)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "signatureContains") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))
type AWSResponse GetBuiltinIntents Source # 
Instance details

Defined in Amazonka.LexModels.GetBuiltinIntents

newGetBuiltinIntents :: GetBuiltinIntents Source #

Create a value of GetBuiltinIntents 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:locale:GetBuiltinIntents', getBuiltinIntents_locale - A list of locales that the intent supports.

$sel:nextToken:GetBuiltinIntents', getBuiltinIntents_nextToken - A pagination token that fetches the next page of intents. If this API call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of intents, use the pagination token in the next request.

$sel:signatureContains:GetBuiltinIntents', getBuiltinIntents_signatureContains - Substring to match in built-in intent signatures. An intent will be returned if any part of its signature matches the substring. For example, "xyz" matches both "xyzabc" and "abcxyz." To find the signature for an intent, see Standard Built-in Intents in the Alexa Skills Kit.

$sel:maxResults:GetBuiltinIntents', getBuiltinIntents_maxResults - The maximum number of intents to return in the response. The default is 10.

Request Lenses

getBuiltinIntents_locale :: Lens' GetBuiltinIntents (Maybe Locale) Source #

A list of locales that the intent supports.

getBuiltinIntents_nextToken :: Lens' GetBuiltinIntents (Maybe Text) Source #

A pagination token that fetches the next page of intents. If this API call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of intents, use the pagination token in the next request.

getBuiltinIntents_signatureContains :: Lens' GetBuiltinIntents (Maybe Text) Source #

Substring to match in built-in intent signatures. An intent will be returned if any part of its signature matches the substring. For example, "xyz" matches both "xyzabc" and "abcxyz." To find the signature for an intent, see Standard Built-in Intents in the Alexa Skills Kit.

getBuiltinIntents_maxResults :: Lens' GetBuiltinIntents (Maybe Natural) Source #

The maximum number of intents to return in the response. The default is 10.

Destructuring the Response

data GetBuiltinIntentsResponse Source #

See: newGetBuiltinIntentsResponse smart constructor.

Constructors

GetBuiltinIntentsResponse' 

Fields

  • intents :: Maybe [BuiltinIntentMetadata]

    An array of builtinIntentMetadata objects, one for each intent in the response.

  • nextToken :: Maybe Text

    A pagination token that fetches the next page of intents. If the response to this API call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of intents, specify the pagination token in the next request.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetBuiltinIntentsResponse Source # 
Instance details

Defined in Amazonka.LexModels.GetBuiltinIntents

Read GetBuiltinIntentsResponse Source # 
Instance details

Defined in Amazonka.LexModels.GetBuiltinIntents

Show GetBuiltinIntentsResponse Source # 
Instance details

Defined in Amazonka.LexModels.GetBuiltinIntents

Generic GetBuiltinIntentsResponse Source # 
Instance details

Defined in Amazonka.LexModels.GetBuiltinIntents

Associated Types

type Rep GetBuiltinIntentsResponse :: Type -> Type #

NFData GetBuiltinIntentsResponse Source # 
Instance details

Defined in Amazonka.LexModels.GetBuiltinIntents

type Rep GetBuiltinIntentsResponse Source # 
Instance details

Defined in Amazonka.LexModels.GetBuiltinIntents

type Rep GetBuiltinIntentsResponse = D1 ('MetaData "GetBuiltinIntentsResponse" "Amazonka.LexModels.GetBuiltinIntents" "libZSservicesZSamazonka-lex-modelsZSamazonka-lex-models" 'False) (C1 ('MetaCons "GetBuiltinIntentsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "intents") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BuiltinIntentMetadata])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetBuiltinIntentsResponse Source #

Create a value of GetBuiltinIntentsResponse 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:intents:GetBuiltinIntentsResponse', getBuiltinIntentsResponse_intents - An array of builtinIntentMetadata objects, one for each intent in the response.

$sel:nextToken:GetBuiltinIntents', getBuiltinIntentsResponse_nextToken - A pagination token that fetches the next page of intents. If the response to this API call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of intents, specify the pagination token in the next request.

$sel:httpStatus:GetBuiltinIntentsResponse', getBuiltinIntentsResponse_httpStatus - The response's http status code.

Response Lenses

getBuiltinIntentsResponse_intents :: Lens' GetBuiltinIntentsResponse (Maybe [BuiltinIntentMetadata]) Source #

An array of builtinIntentMetadata objects, one for each intent in the response.

getBuiltinIntentsResponse_nextToken :: Lens' GetBuiltinIntentsResponse (Maybe Text) Source #

A pagination token that fetches the next page of intents. If the response to this API call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of intents, specify the pagination token in the next request.