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

Contents

Description

Returns information about an Amazon Lex bot alias. For more information about aliases, see 'versioning-aliases' .

This operation requires permissions for the lex:GetBotAlias action.

Synopsis

Creating a Request

getBotAlias Source #

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

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

  • gbasName - The name of the bot alias. The name is case sensitive.
  • gbasBotName - The name of the bot.

data GetBotAlias Source #

See: getBotAlias smart constructor.

Instances

Eq GetBotAlias Source # 
Data GetBotAlias Source # 

Methods

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

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

toConstr :: GetBotAlias -> Constr #

dataTypeOf :: GetBotAlias -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetBotAlias Source # 
Show GetBotAlias Source # 
Generic GetBotAlias Source # 

Associated Types

type Rep GetBotAlias :: * -> * #

Hashable GetBotAlias Source # 
NFData GetBotAlias Source # 

Methods

rnf :: GetBotAlias -> () #

AWSRequest GetBotAlias Source # 
ToHeaders GetBotAlias Source # 

Methods

toHeaders :: GetBotAlias -> [Header] #

ToPath GetBotAlias Source # 
ToQuery GetBotAlias Source # 
type Rep GetBotAlias Source # 
type Rep GetBotAlias = D1 * (MetaData "GetBotAlias" "Network.AWS.LexModels.GetBotAlias" "amazonka-lex-models-1.6.0-Iv3mghdDvOI9Mj0nI0DuS4" False) (C1 * (MetaCons "GetBotAlias'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gbasName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_gbasBotName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs GetBotAlias Source # 

Request Lenses

gbasName :: Lens' GetBotAlias Text Source #

The name of the bot alias. The name is case sensitive.

gbasBotName :: Lens' GetBotAlias Text Source #

The name of the bot.

Destructuring the Response

getBotAliasResponse Source #

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

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

data GetBotAliasResponse Source #

See: getBotAliasResponse smart constructor.

Instances

Eq GetBotAliasResponse Source # 
Data GetBotAliasResponse Source # 

Methods

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

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

toConstr :: GetBotAliasResponse -> Constr #

dataTypeOf :: GetBotAliasResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetBotAliasResponse Source # 
Show GetBotAliasResponse Source # 
Generic GetBotAliasResponse Source # 
NFData GetBotAliasResponse Source # 

Methods

rnf :: GetBotAliasResponse -> () #

type Rep GetBotAliasResponse Source # 
type Rep GetBotAliasResponse = D1 * (MetaData "GetBotAliasResponse" "Network.AWS.LexModels.GetBotAlias" "amazonka-lex-models-1.6.0-Iv3mghdDvOI9Mj0nI0DuS4" False) (C1 * (MetaCons "GetBotAliasResponse'" PrefixI True) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_gbasrsChecksum") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_gbasrsBotVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gbasrsBotName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_gbasrsCreatedDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_gbasrsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_gbasrsLastUpdatedDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gbasrsDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_gbasrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))))

Response Lenses

gbasrsChecksum :: Lens' GetBotAliasResponse (Maybe Text) Source #

Checksum of the bot alias.

gbasrsBotVersion :: Lens' GetBotAliasResponse (Maybe Text) Source #

The version of the bot that the alias points to.

gbasrsBotName :: Lens' GetBotAliasResponse (Maybe Text) Source #

The name of the bot that the alias points to.

gbasrsCreatedDate :: Lens' GetBotAliasResponse (Maybe UTCTime) Source #

The date that the bot alias was created.

gbasrsName :: Lens' GetBotAliasResponse (Maybe Text) Source #

The name of the bot alias.

gbasrsLastUpdatedDate :: Lens' GetBotAliasResponse (Maybe UTCTime) Source #

The date that the bot alias was updated. When you create a resource, the creation date and the last updated date are the same.

gbasrsDescription :: Lens' GetBotAliasResponse (Maybe Text) Source #

A description of the bot alias.

gbasrsResponseStatus :: Lens' GetBotAliasResponse Int Source #

  • - | The response status code.