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

Contents

Description

Returns information about a specific version of a slot type. In addition to specifying the slot type name, you must specify the slot type version.

This operation requires permissions for the lex:GetSlotType action.

Synopsis

Creating a Request

getSlotType Source #

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

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

  • gstName - The name of the slot type. The name is case sensitive.
  • gstVersion - The version of the slot type.

data GetSlotType Source #

See: getSlotType smart constructor.

Instances

Eq GetSlotType Source # 
Data GetSlotType Source # 

Methods

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

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

toConstr :: GetSlotType -> Constr #

dataTypeOf :: GetSlotType -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetSlotType Source # 
Show GetSlotType Source # 
Generic GetSlotType Source # 

Associated Types

type Rep GetSlotType :: * -> * #

Hashable GetSlotType Source # 
NFData GetSlotType Source # 

Methods

rnf :: GetSlotType -> () #

AWSRequest GetSlotType Source # 
ToQuery GetSlotType Source # 
ToPath GetSlotType Source # 
ToHeaders GetSlotType Source # 

Methods

toHeaders :: GetSlotType -> [Header] #

type Rep GetSlotType Source # 
type Rep GetSlotType = D1 (MetaData "GetSlotType" "Network.AWS.LexModels.GetSlotType" "amazonka-lex-models-1.5.0-9L7od5njsTvH7y9BfUkUqe" False) (C1 (MetaCons "GetSlotType'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gstName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_gstVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs GetSlotType Source # 

Request Lenses

gstName :: Lens' GetSlotType Text Source #

The name of the slot type. The name is case sensitive.

gstVersion :: Lens' GetSlotType Text Source #

The version of the slot type.

Destructuring the Response

getSlotTypeResponse Source #

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

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

data GetSlotTypeResponse Source #

See: getSlotTypeResponse smart constructor.

Instances

Eq GetSlotTypeResponse Source # 
Data GetSlotTypeResponse Source # 

Methods

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

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

toConstr :: GetSlotTypeResponse -> Constr #

dataTypeOf :: GetSlotTypeResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetSlotTypeResponse Source # 
Show GetSlotTypeResponse Source # 
Generic GetSlotTypeResponse Source # 
NFData GetSlotTypeResponse Source # 

Methods

rnf :: GetSlotTypeResponse -> () #

type Rep GetSlotTypeResponse Source # 

Response Lenses

getrsChecksum :: Lens' GetSlotTypeResponse (Maybe Text) Source #

Checksum of the > LATEST version of the slot type.

getrsValueSelectionStrategy :: Lens' GetSlotTypeResponse (Maybe SlotValueSelectionStrategy) Source #

The strategy that Amazon Lex uses to determine the value of the slot. For more information, see PutSlotType .

getrsCreatedDate :: Lens' GetSlotTypeResponse (Maybe UTCTime) Source #

The date that the slot type was created.

getrsName :: Lens' GetSlotTypeResponse (Maybe Text) Source #

The name of the slot type.

getrsVersion :: Lens' GetSlotTypeResponse (Maybe Text) Source #

The version of the slot type.

getrsLastUpdatedDate :: Lens' GetSlotTypeResponse (Maybe UTCTime) Source #

The date that the slot type was updated. When you create a resource, the creation date and last update date are the same.

getrsDescription :: Lens' GetSlotTypeResponse (Maybe Text) Source #

A description of the slot type.

getrsEnumerationValues :: Lens' GetSlotTypeResponse (Maybe (NonEmpty EnumerationValue)) Source #

A list of EnumerationValue objects that defines the values that the slot type can take.

getrsResponseStatus :: Lens' GetSlotTypeResponse Int Source #

  • - | The response status code.