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

Contents

Description

Gets a list of built-in slot types that meet the specified criteria.

For a list of built-in slot types, see Slot Type Reference in the Alexa Skills Kit .

This operation requires permission for the lex:GetBuiltInSlotTypes action.

This operation returns paginated results.

Synopsis

Creating a Request

getBuiltinSlotTypes :: GetBuiltinSlotTypes Source #

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

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

  • gbstLocale - A list of locales that the slot type supports.
  • gbstNextToken - A pagination token that fetches the next page of slot types. If the response to this API call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of slot types, specify the pagination token in the next request.
  • gbstSignatureContains - Substring to match in built-in slot type signatures. A slot type will be returned if any part of its signature matches the substring. For example, "xyz" matches both "xyzabc" and "abcxyz."
  • gbstMaxResults - The maximum number of slot types to return in the response. The default is 10.

data GetBuiltinSlotTypes Source #

See: getBuiltinSlotTypes smart constructor.

Instances

Eq GetBuiltinSlotTypes Source # 
Data GetBuiltinSlotTypes Source # 

Methods

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

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

toConstr :: GetBuiltinSlotTypes -> Constr #

dataTypeOf :: GetBuiltinSlotTypes -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetBuiltinSlotTypes Source # 
Show GetBuiltinSlotTypes Source # 
Generic GetBuiltinSlotTypes Source # 
Hashable GetBuiltinSlotTypes Source # 
NFData GetBuiltinSlotTypes Source # 

Methods

rnf :: GetBuiltinSlotTypes -> () #

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

Request Lenses

gbstLocale :: Lens' GetBuiltinSlotTypes (Maybe Locale) Source #

A list of locales that the slot type supports.

gbstNextToken :: Lens' GetBuiltinSlotTypes (Maybe Text) Source #

A pagination token that fetches the next page of slot types. If the response to this API call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of slot types, specify the pagination token in the next request.

gbstSignatureContains :: Lens' GetBuiltinSlotTypes (Maybe Text) Source #

Substring to match in built-in slot type signatures. A slot type will be returned if any part of its signature matches the substring. For example, "xyz" matches both "xyzabc" and "abcxyz."

gbstMaxResults :: Lens' GetBuiltinSlotTypes (Maybe Natural) Source #

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

Destructuring the Response

getBuiltinSlotTypesResponse Source #

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

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

  • gbstrsNextToken - If the response is truncated, the response includes a pagination token that you can use in your next request to fetch the next page of slot types.
  • gbstrsSlotTypes - An array of BuiltInSlotTypeMetadata objects, one entry for each slot type returned.
  • gbstrsResponseStatus - -- | The response status code.

data GetBuiltinSlotTypesResponse Source #

See: getBuiltinSlotTypesResponse smart constructor.

Instances

Eq GetBuiltinSlotTypesResponse Source # 
Data GetBuiltinSlotTypesResponse Source # 

Methods

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

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

toConstr :: GetBuiltinSlotTypesResponse -> Constr #

dataTypeOf :: GetBuiltinSlotTypesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetBuiltinSlotTypesResponse Source # 
Show GetBuiltinSlotTypesResponse Source # 
Generic GetBuiltinSlotTypesResponse Source # 
NFData GetBuiltinSlotTypesResponse Source # 
type Rep GetBuiltinSlotTypesResponse Source # 
type Rep GetBuiltinSlotTypesResponse = D1 * (MetaData "GetBuiltinSlotTypesResponse" "Network.AWS.LexModels.GetBuiltinSlotTypes" "amazonka-lex-models-1.6.0-Iv3mghdDvOI9Mj0nI0DuS4" False) (C1 * (MetaCons "GetBuiltinSlotTypesResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gbstrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gbstrsSlotTypes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [BuiltinSlotTypeMetadata]))) (S1 * (MetaSel (Just Symbol "_gbstrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

gbstrsNextToken :: Lens' GetBuiltinSlotTypesResponse (Maybe Text) Source #

If the response is truncated, the response includes a pagination token that you can use in your next request to fetch the next page of slot types.

gbstrsSlotTypes :: Lens' GetBuiltinSlotTypesResponse [BuiltinSlotTypeMetadata] Source #

An array of BuiltInSlotTypeMetadata objects, one entry for each slot type returned.