libZSservicesZSamazonka-lex-modelsZSamazonka-lex-models
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq GetSlotType Source # 
Instance details

Defined in Amazonka.LexModels.GetSlotType

Read GetSlotType Source # 
Instance details

Defined in Amazonka.LexModels.GetSlotType

Show GetSlotType Source # 
Instance details

Defined in Amazonka.LexModels.GetSlotType

Generic GetSlotType Source # 
Instance details

Defined in Amazonka.LexModels.GetSlotType

Associated Types

type Rep GetSlotType :: Type -> Type #

NFData GetSlotType Source # 
Instance details

Defined in Amazonka.LexModels.GetSlotType

Methods

rnf :: GetSlotType -> () #

Hashable GetSlotType Source # 
Instance details

Defined in Amazonka.LexModels.GetSlotType

AWSRequest GetSlotType Source # 
Instance details

Defined in Amazonka.LexModels.GetSlotType

Associated Types

type AWSResponse GetSlotType #

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

type Rep GetSlotType Source # 
Instance details

Defined in Amazonka.LexModels.GetSlotType

type Rep GetSlotType = D1 ('MetaData "GetSlotType" "Amazonka.LexModels.GetSlotType" "libZSservicesZSamazonka-lex-modelsZSamazonka-lex-models" 'False) (C1 ('MetaCons "GetSlotType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetSlotType Source # 
Instance details

Defined in Amazonka.LexModels.GetSlotType

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:

$sel:name:GetSlotType', getSlotType_name - The name of the slot type. The name is case sensitive.

$sel:version: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
Eq GetSlotTypeResponse Source # 
Instance details

Defined in Amazonka.LexModels.GetSlotType

Read GetSlotTypeResponse Source # 
Instance details

Defined in Amazonka.LexModels.GetSlotType

Show GetSlotTypeResponse Source # 
Instance details

Defined in Amazonka.LexModels.GetSlotType

Generic GetSlotTypeResponse Source # 
Instance details

Defined in Amazonka.LexModels.GetSlotType

Associated Types

type Rep GetSlotTypeResponse :: Type -> Type #

NFData GetSlotTypeResponse Source # 
Instance details

Defined in Amazonka.LexModels.GetSlotType

Methods

rnf :: GetSlotTypeResponse -> () #

type Rep GetSlotTypeResponse Source # 
Instance details

Defined in Amazonka.LexModels.GetSlotType

type Rep GetSlotTypeResponse = D1 ('MetaData "GetSlotTypeResponse" "Amazonka.LexModels.GetSlotType" "libZSservicesZSamazonka-lex-modelsZSamazonka-lex-models" 'False) (C1 ('MetaCons "GetSlotTypeResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "parentSlotTypeSignature") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "slotTypeConfigurations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SlotTypeConfiguration]))) :*: (S1 ('MetaSel ('Just "checksum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "valueSelectionStrategy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SlotValueSelectionStrategy)) :*: S1 ('MetaSel ('Just "createdDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))) :*: ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lastUpdatedDate") '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 "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:

$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:checksum:GetSlotTypeResponse', getSlotTypeResponse_checksum - Checksum of the $LATEST version of the 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.

$sel:createdDate:GetSlotTypeResponse', getSlotTypeResponse_createdDate - The date that the slot type was created.

$sel:name:GetSlotType', getSlotTypeResponse_name - The name of the slot type.

$sel:version:GetSlotType', getSlotTypeResponse_version - The version of the slot type.

$sel:lastUpdatedDate: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.

$sel:description: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.

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

Response Lenses

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_checksum :: Lens' GetSlotTypeResponse (Maybe Text) Source #

Checksum of the $LATEST version of the 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.

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

The date that the slot type was created.

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_enumerationValues :: Lens' GetSlotTypeResponse (Maybe [EnumerationValue]) Source #

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