amazonka-lex-models-1.6.0: 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 # 
Data GetBuiltinIntents Source # 

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 # 
Show GetBuiltinIntents Source # 
Generic GetBuiltinIntents Source # 
Hashable GetBuiltinIntents Source # 
NFData GetBuiltinIntents Source # 

Methods

rnf :: GetBuiltinIntents -> () #

AWSPager GetBuiltinIntents Source # 
AWSRequest GetBuiltinIntents Source # 
ToHeaders GetBuiltinIntents Source # 
ToPath GetBuiltinIntents Source # 
ToQuery GetBuiltinIntents Source # 
type Rep GetBuiltinIntents Source # 
type Rep GetBuiltinIntents = D1 * (MetaData "GetBuiltinIntents" "Network.AWS.LexModels.GetBuiltinIntents" "amazonka-lex-models-1.6.0-Iv3mghdDvOI9Mj0nI0DuS4" False) (C1 * (MetaCons "GetBuiltinIntents'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_gbiLocale") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Locale))) (S1 * (MetaSel (Just Symbol "_gbiNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gbiSignatureContains") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_gbiMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))))))
type Rs GetBuiltinIntents Source # 

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 # 
Data GetBuiltinIntentsResponse Source # 

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 # 
Show GetBuiltinIntentsResponse Source # 
Generic GetBuiltinIntentsResponse Source # 
NFData GetBuiltinIntentsResponse Source # 
type Rep GetBuiltinIntentsResponse Source # 
type Rep GetBuiltinIntentsResponse = D1 * (MetaData "GetBuiltinIntentsResponse" "Network.AWS.LexModels.GetBuiltinIntents" "amazonka-lex-models-1.6.0-Iv3mghdDvOI9Mj0nI0DuS4" False) (C1 * (MetaCons "GetBuiltinIntentsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_grsIntents") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [BuiltinIntentMetadata]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_grsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_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.