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

Copyright(c) 2013-2017 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.GetBuiltinIntent

Contents

Description

Returns information about a built-in intent.

This operation requires permission for the lex:GetBuiltinIntent action.

Synopsis

Creating a Request

getBuiltinIntent Source #

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

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

data GetBuiltinIntent Source #

See: getBuiltinIntent smart constructor.

Instances

Eq GetBuiltinIntent Source # 
Data GetBuiltinIntent Source # 

Methods

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

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

toConstr :: GetBuiltinIntent -> Constr #

dataTypeOf :: GetBuiltinIntent -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetBuiltinIntent Source # 
Show GetBuiltinIntent Source # 
Generic GetBuiltinIntent Source # 
Hashable GetBuiltinIntent Source # 
NFData GetBuiltinIntent Source # 

Methods

rnf :: GetBuiltinIntent -> () #

AWSRequest GetBuiltinIntent Source # 
ToQuery GetBuiltinIntent Source # 
ToPath GetBuiltinIntent Source # 
ToHeaders GetBuiltinIntent Source # 
type Rep GetBuiltinIntent Source # 
type Rep GetBuiltinIntent = D1 (MetaData "GetBuiltinIntent" "Network.AWS.LexModels.GetBuiltinIntent" "amazonka-lex-models-1.5.0-9L7od5njsTvH7y9BfUkUqe" True) (C1 (MetaCons "GetBuiltinIntent'" PrefixI True) (S1 (MetaSel (Just Symbol "_gbiSignature") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetBuiltinIntent Source # 

Request Lenses

gbiSignature :: Lens' GetBuiltinIntent Text Source #

The unique identifier for a built-in intent. To find the signature for an intent, see Standard Built-in Intents in the Alexa Skills Kit .

Destructuring the Response

getBuiltinIntentResponse Source #

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

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

data GetBuiltinIntentResponse Source #

See: getBuiltinIntentResponse smart constructor.

Instances

Eq GetBuiltinIntentResponse Source # 
Data GetBuiltinIntentResponse Source # 

Methods

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

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

toConstr :: GetBuiltinIntentResponse -> Constr #

dataTypeOf :: GetBuiltinIntentResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetBuiltinIntentResponse Source # 
Show GetBuiltinIntentResponse Source # 
Generic GetBuiltinIntentResponse Source # 
NFData GetBuiltinIntentResponse Source # 
type Rep GetBuiltinIntentResponse Source # 
type Rep GetBuiltinIntentResponse = D1 (MetaData "GetBuiltinIntentResponse" "Network.AWS.LexModels.GetBuiltinIntent" "amazonka-lex-models-1.5.0-9L7od5njsTvH7y9BfUkUqe" False) (C1 (MetaCons "GetBuiltinIntentResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_gbirsSignature") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gbirsSlots") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [BuiltinIntentSlot])))) ((:*:) (S1 (MetaSel (Just Symbol "_gbirsSupportedLocales") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Locale]))) (S1 (MetaSel (Just Symbol "_gbirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

gbirsSignature :: Lens' GetBuiltinIntentResponse (Maybe Text) Source #

The unique identifier for a built-in intent.

gbirsSlots :: Lens' GetBuiltinIntentResponse [BuiltinIntentSlot] Source #

An array of BuiltinIntentSlot objects, one entry for each slot type in the intent.

gbirsSupportedLocales :: Lens' GetBuiltinIntentResponse [Locale] Source #

A list of locales that the intent supports.