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

Contents

Description

Returns a list of aliases for a specified Amazon Lex bot.

This operation requires permissions for the lex:GetBotAliases action.

This operation returns paginated results.

Synopsis

Creating a Request

getBotAliases Source #

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

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

  • gbaNameContains - Substring to match in bot alias names. An alias will be returned if any part of its name matches the substring. For example, "xyz" matches both "xyzabc" and "abcxyz."
  • gbaNextToken - A pagination token for fetching the next page of aliases. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of aliases, specify the pagination token in the next request.
  • gbaMaxResults - The maximum number of aliases to return in the response. The default is 50. .
  • gbaBotName - The name of the bot.

data GetBotAliases Source #

See: getBotAliases smart constructor.

Instances

Eq GetBotAliases Source # 
Data GetBotAliases Source # 

Methods

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

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

toConstr :: GetBotAliases -> Constr #

dataTypeOf :: GetBotAliases -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetBotAliases Source # 
Show GetBotAliases Source # 
Generic GetBotAliases Source # 

Associated Types

type Rep GetBotAliases :: * -> * #

Hashable GetBotAliases Source # 
NFData GetBotAliases Source # 

Methods

rnf :: GetBotAliases -> () #

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

Request Lenses

gbaNameContains :: Lens' GetBotAliases (Maybe Text) Source #

Substring to match in bot alias names. An alias will be returned if any part of its name matches the substring. For example, "xyz" matches both "xyzabc" and "abcxyz."

gbaNextToken :: Lens' GetBotAliases (Maybe Text) Source #

A pagination token for fetching the next page of aliases. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of aliases, specify the pagination token in the next request.

gbaMaxResults :: Lens' GetBotAliases (Maybe Natural) Source #

The maximum number of aliases to return in the response. The default is 50. .

gbaBotName :: Lens' GetBotAliases Text Source #

The name of the bot.

Destructuring the Response

getBotAliasesResponse Source #

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

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

  • gbarsNextToken - A pagination token for fetching next page of aliases. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of aliases, specify the pagination token in the next request.
  • gbarsBotAliases - An array of BotAliasMetadata objects, each describing a bot alias.
  • gbarsResponseStatus - -- | The response status code.

data GetBotAliasesResponse Source #

See: getBotAliasesResponse smart constructor.

Instances

Eq GetBotAliasesResponse Source # 
Data GetBotAliasesResponse Source # 

Methods

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

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

toConstr :: GetBotAliasesResponse -> Constr #

dataTypeOf :: GetBotAliasesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetBotAliasesResponse Source # 
Show GetBotAliasesResponse Source # 
Generic GetBotAliasesResponse Source # 
NFData GetBotAliasesResponse Source # 

Methods

rnf :: GetBotAliasesResponse -> () #

type Rep GetBotAliasesResponse Source # 
type Rep GetBotAliasesResponse = D1 * (MetaData "GetBotAliasesResponse" "Network.AWS.LexModels.GetBotAliases" "amazonka-lex-models-1.6.0-Iv3mghdDvOI9Mj0nI0DuS4" False) (C1 * (MetaCons "GetBotAliasesResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gbarsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gbarsBotAliases") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [BotAliasMetadata]))) (S1 * (MetaSel (Just Symbol "_gbarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

gbarsNextToken :: Lens' GetBotAliasesResponse (Maybe Text) Source #

A pagination token for fetching next page of aliases. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of aliases, specify the pagination token in the next request.

gbarsBotAliases :: Lens' GetBotAliasesResponse [BotAliasMetadata] Source #

An array of BotAliasMetadata objects, each describing a bot alias.

gbarsResponseStatus :: Lens' GetBotAliasesResponse Int Source #

  • - | The response status code.