amazonka-lex-models-1.6.1: Amazon Lex Model Building Service SDK.

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

Network.AWS.LexModels.GetBuiltinIntents

Contents

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

getBuiltinIntents :: GetBuiltinIntents Source #

Creates a value of GetBuiltinIntents with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • gbiLocale - A list of locales that the intent supports.
  • gbiNextToken - 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.
  • gbiSignatureContains - 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 .
  • gbiMaxResults - The maximum number of intents to return in the response. The default is 10.

data GetBuiltinIntents Source #

See: getBuiltinIntents smart constructor.

Instances
Eq GetBuiltinIntents Source # 
Instance details

Defined in Network.AWS.LexModels.GetBuiltinIntents

Data GetBuiltinIntents Source # 
Instance details

Defined in Network.AWS.LexModels.GetBuiltinIntents

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetBuiltinIntents -> c GetBuiltinIntents #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetBuiltinIntents #

toConstr :: GetBuiltinIntents -> Constr #

dataTypeOf :: GetBuiltinIntents -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GetBuiltinIntents) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetBuiltinIntents) #

gmapT :: (forall b. Data b => b -> b) -> GetBuiltinIntents -> GetBuiltinIntents #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetBuiltinIntents -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetBuiltinIntents -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetBuiltinIntents -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetBuiltinIntents -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetBuiltinIntents -> m GetBuiltinIntents #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetBuiltinIntents -> m GetBuiltinIntents #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetBuiltinIntents -> m GetBuiltinIntents #

Read GetBuiltinIntents Source # 
Instance details

Defined in Network.AWS.LexModels.GetBuiltinIntents

Show GetBuiltinIntents Source # 
Instance details

Defined in Network.AWS.LexModels.GetBuiltinIntents

Generic GetBuiltinIntents Source # 
Instance details

Defined in Network.AWS.LexModels.GetBuiltinIntents

Associated Types

type Rep GetBuiltinIntents :: Type -> Type #

Hashable GetBuiltinIntents Source # 
Instance details

Defined in Network.AWS.LexModels.GetBuiltinIntents

AWSPager GetBuiltinIntents Source # 
Instance details

Defined in Network.AWS.LexModels.GetBuiltinIntents

AWSRequest GetBuiltinIntents Source # 
Instance details

Defined in Network.AWS.LexModels.GetBuiltinIntents

Associated Types

type Rs GetBuiltinIntents :: Type #

ToHeaders GetBuiltinIntents Source # 
Instance details

Defined in Network.AWS.LexModels.GetBuiltinIntents

ToPath GetBuiltinIntents Source # 
Instance details

Defined in Network.AWS.LexModels.GetBuiltinIntents

ToQuery GetBuiltinIntents Source # 
Instance details

Defined in Network.AWS.LexModels.GetBuiltinIntents

NFData GetBuiltinIntents Source # 
Instance details

Defined in Network.AWS.LexModels.GetBuiltinIntents

Methods

rnf :: GetBuiltinIntents -> () #

type Rep GetBuiltinIntents Source # 
Instance details

Defined in Network.AWS.LexModels.GetBuiltinIntents

type Rep GetBuiltinIntents = D1 (MetaData "GetBuiltinIntents" "Network.AWS.LexModels.GetBuiltinIntents" "amazonka-lex-models-1.6.1-16JSA2D34IH7p8RxcjidTj" False) (C1 (MetaCons "GetBuiltinIntents'" PrefixI True) ((S1 (MetaSel (Just "_gbiLocale") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Locale)) :*: S1 (MetaSel (Just "_gbiNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_gbiSignatureContains") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gbiMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)))))
type Rs GetBuiltinIntents Source # 
Instance details

Defined in Network.AWS.LexModels.GetBuiltinIntents

Request Lenses

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

A list of locales that the intent supports.

gbiNextToken :: 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.

gbiSignatureContains :: 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 .

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

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

Destructuring the Response

getBuiltinIntentsResponse Source #

Creates a value of GetBuiltinIntentsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • grsIntents - An array of builtinIntentMetadata objects, one for each intent in the response.
  • grsNextToken - 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.
  • grsResponseStatus - -- | The response status code.

data GetBuiltinIntentsResponse Source #

See: getBuiltinIntentsResponse smart constructor.

Instances
Eq GetBuiltinIntentsResponse Source # 
Instance details

Defined in Network.AWS.LexModels.GetBuiltinIntents

Data GetBuiltinIntentsResponse Source # 
Instance details

Defined in Network.AWS.LexModels.GetBuiltinIntents

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetBuiltinIntentsResponse -> c GetBuiltinIntentsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetBuiltinIntentsResponse #

toConstr :: GetBuiltinIntentsResponse -> Constr #

dataTypeOf :: GetBuiltinIntentsResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GetBuiltinIntentsResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetBuiltinIntentsResponse) #

gmapT :: (forall b. Data b => b -> b) -> GetBuiltinIntentsResponse -> GetBuiltinIntentsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetBuiltinIntentsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetBuiltinIntentsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetBuiltinIntentsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetBuiltinIntentsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetBuiltinIntentsResponse -> m GetBuiltinIntentsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetBuiltinIntentsResponse -> m GetBuiltinIntentsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetBuiltinIntentsResponse -> m GetBuiltinIntentsResponse #

Read GetBuiltinIntentsResponse Source # 
Instance details

Defined in Network.AWS.LexModels.GetBuiltinIntents

Show GetBuiltinIntentsResponse Source # 
Instance details

Defined in Network.AWS.LexModels.GetBuiltinIntents

Generic GetBuiltinIntentsResponse Source # 
Instance details

Defined in Network.AWS.LexModels.GetBuiltinIntents

Associated Types

type Rep GetBuiltinIntentsResponse :: Type -> Type #

NFData GetBuiltinIntentsResponse Source # 
Instance details

Defined in Network.AWS.LexModels.GetBuiltinIntents

type Rep GetBuiltinIntentsResponse Source # 
Instance details

Defined in Network.AWS.LexModels.GetBuiltinIntents

type Rep GetBuiltinIntentsResponse = D1 (MetaData "GetBuiltinIntentsResponse" "Network.AWS.LexModels.GetBuiltinIntents" "amazonka-lex-models-1.6.1-16JSA2D34IH7p8RxcjidTj" False) (C1 (MetaCons "GetBuiltinIntentsResponse'" PrefixI True) (S1 (MetaSel (Just "_grsIntents") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [BuiltinIntentMetadata])) :*: (S1 (MetaSel (Just "_grsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_grsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

grsIntents :: Lens' GetBuiltinIntentsResponse [BuiltinIntentMetadata] Source #

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

grsNextToken :: 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.