amazonka-lex-models-2.0: Amazon Lex Model Building Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.LexModels.GetSlotType

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

data GetSlotType Source #

See: newGetSlotType smart constructor.

Constructors

GetSlotType' 

Fields

  • name :: Text

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

  • version :: Text

    The version of the slot type.

Instances

Instances details
ToHeaders GetSlotType Source # 
Instance details

Defined in Amazonka.LexModels.GetSlotType

Methods

toHeaders :: GetSlotType -> [Header] #

ToPath GetSlotType Source # 
Instance details

Defined in Amazonka.LexModels.GetSlotType

ToQuery GetSlotType Source # 
Instance details

Defined in Amazonka.LexModels.GetSlotType

AWSRequest GetSlotType Source # 
Instance details

Defined in Amazonka.LexModels.GetSlotType

Associated Types

type AWSResponse GetSlotType #

Generic GetSlotType Source # 
Instance details

Defined in Amazonka.LexModels.GetSlotType

Associated Types

type Rep GetSlotType :: Type -> Type #

Read GetSlotType Source # 
Instance details

Defined in Amazonka.LexModels.GetSlotType

Show GetSlotType Source # 
Instance details

Defined in Amazonka.LexModels.GetSlotType

NFData GetSlotType Source # 
Instance details

Defined in Amazonka.LexModels.GetSlotType

Methods

rnf :: GetSlotType -> () #

Eq GetSlotType Source # 
Instance details

Defined in Amazonka.LexModels.GetSlotType

Hashable GetSlotType Source # 
Instance details

Defined in Amazonka.LexModels.GetSlotType

type AWSResponse GetSlotType Source # 
Instance details

Defined in Amazonka.LexModels.GetSlotType

type Rep GetSlotType Source # 
Instance details

Defined in Amazonka.LexModels.GetSlotType

type Rep GetSlotType = D1 ('MetaData "GetSlotType" "Amazonka.LexModels.GetSlotType" "amazonka-lex-models-2.0-8Q1WIjnrCCIAMPuyNOCiG7" 'False) (C1 ('MetaCons "GetSlotType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetSlotType Source #

Create a value of GetSlotType with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

GetSlotType, getSlotType_name - The name of the slot type. The name is case sensitive.

GetSlotType, getSlotType_version - The version of the slot type.

Request Lenses

getSlotType_name :: Lens' GetSlotType Text Source #

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

getSlotType_version :: Lens' GetSlotType Text Source #

The version of the slot type.

Destructuring the Response

data GetSlotTypeResponse Source #

See: newGetSlotTypeResponse smart constructor.

Constructors

GetSlotTypeResponse' 

Fields

Instances

Instances details
Generic GetSlotTypeResponse Source # 
Instance details

Defined in Amazonka.LexModels.GetSlotType

Associated Types

type Rep GetSlotTypeResponse :: Type -> Type #

Read GetSlotTypeResponse Source # 
Instance details

Defined in Amazonka.LexModels.GetSlotType

Show GetSlotTypeResponse Source # 
Instance details

Defined in Amazonka.LexModels.GetSlotType

NFData GetSlotTypeResponse Source # 
Instance details

Defined in Amazonka.LexModels.GetSlotType

Methods

rnf :: GetSlotTypeResponse -> () #

Eq GetSlotTypeResponse Source # 
Instance details

Defined in Amazonka.LexModels.GetSlotType

type Rep GetSlotTypeResponse Source # 
Instance details

Defined in Amazonka.LexModels.GetSlotType

type Rep GetSlotTypeResponse = D1 ('MetaData "GetSlotTypeResponse" "Amazonka.LexModels.GetSlotType" "amazonka-lex-models-2.0-8Q1WIjnrCCIAMPuyNOCiG7" 'False) (C1 ('MetaCons "GetSlotTypeResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "checksum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "createdDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "enumerationValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EnumerationValue])) :*: S1 ('MetaSel ('Just "lastUpdatedDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))) :*: ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "parentSlotTypeSignature") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "slotTypeConfigurations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SlotTypeConfiguration])))) :*: (S1 ('MetaSel ('Just "valueSelectionStrategy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SlotValueSelectionStrategy)) :*: (S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

newGetSlotTypeResponse Source #

Create a value of GetSlotTypeResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

GetSlotTypeResponse, getSlotTypeResponse_checksum - Checksum of the $LATEST version of the slot type.

GetSlotTypeResponse, getSlotTypeResponse_createdDate - The date that the slot type was created.

GetSlotTypeResponse, getSlotTypeResponse_description - A description of the slot type.

$sel:enumerationValues:GetSlotTypeResponse', getSlotTypeResponse_enumerationValues - A list of EnumerationValue objects that defines the values that the slot type can take.

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

GetSlotType, getSlotTypeResponse_name - The name of the slot type.

$sel:parentSlotTypeSignature:GetSlotTypeResponse', getSlotTypeResponse_parentSlotTypeSignature - The built-in slot type used as a parent for the slot type.

$sel:slotTypeConfigurations:GetSlotTypeResponse', getSlotTypeResponse_slotTypeConfigurations - Configuration information that extends the parent built-in slot type.

$sel:valueSelectionStrategy:GetSlotTypeResponse', getSlotTypeResponse_valueSelectionStrategy - The strategy that Amazon Lex uses to determine the value of the slot. For more information, see PutSlotType.

GetSlotType, getSlotTypeResponse_version - The version of the slot type.

$sel:httpStatus:GetSlotTypeResponse', getSlotTypeResponse_httpStatus - The response's http status code.

Response Lenses

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

Checksum of the $LATEST version of the slot type.

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

The date that the slot type was created.

getSlotTypeResponse_enumerationValues :: Lens' GetSlotTypeResponse (Maybe [EnumerationValue]) Source #

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

getSlotTypeResponse_lastUpdatedDate :: 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.

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

The built-in slot type used as a parent for the slot type.

getSlotTypeResponse_slotTypeConfigurations :: Lens' GetSlotTypeResponse (Maybe [SlotTypeConfiguration]) Source #

Configuration information that extends the parent built-in slot type.

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

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