AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Write-LMBSlotType-Name <String>-Checksum <String>-CreateVersion <Boolean>-Description <String>-EnumerationValue <EnumerationValue[]>-ParentSlotTypeSignature <String>-SlotTypeConfiguration <SlotTypeConfiguration[]>-ValueSelectionStrategy <SlotValueSelectionStrategy>-Select <String>-PassThru <SwitchParameter>-Force <SwitchParameter>
$LATEST
version of the slot type. Amazon Lex removes the fields that you don't provide in the request. If you don't specify required fields, Amazon Lex throws an exception. When you update the $LATEST
version of a slot type, if a bot uses the $LATEST
version of an intent that contains the slot type, the bot's status
field is set to NOT_BUILT
.
This operation requires permissions for the lex:PutSlotType
action. $LATEST
version.When you create a new slot type, leave the checksum
field blank. If you specify a checksum you get a BadRequestException
exception.When you want to update a slot type, set the checksum
field to the checksum of the most recent revision of the $LATEST
version. If you don't specify the checksum
field, or if the checksum does not match the $LATEST
version, you get a PreconditionFailedException
exception. Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
true
a new numbered version of the slot type is created. This is the same as calling the CreateSlotTypeVersion
operation. If you do not specify createVersion
, the default is false
. Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
EnumerationValue
objects that defines the values that the slot type can take. Each value can have a list of synonyms
, which are additional values that help train the machine learning model about the values that it resolves for a slot. A regular expression slot type doesn't require enumeration values. All other slot types require a list of enumeration values.When Amazon Lex resolves a slot value, it generates a resolution list that contains up to five possible values for the slot. If you are using a Lambda function, this resolution list is passed to the function. If you are not using a Lambda function you can choose to return the value that the user entered or the first value in the resolution list as the slot value. The valueSelectionStrategy
field indicates the option to use. Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | EnumerationValues |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
AMAZON.DATE
, you can't create a custom slot type called DATE
.For a list of built-in slot types, see Slot Type Reference in the Alexa Skills Kit. Required? | True |
Position? | 1 |
Accept pipeline input? | True (ByValue, ByPropertyName) |
AMAZON.AlphaNumeric
is supported. Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | SlotTypeConfigurations |
ORIGINAL_VALUE
- Returns the value entered by the user, if the user value is similar to the slot value.TOP_RESOLUTION
- If there is a resolution list for the slot, return the first value in the resolution list as the slot type value. If there is no resolution list, null is returned.valueSelectionStrategy
, the default is ORIGINAL_VALUE
. Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | AK |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByValue, ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByValue, ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | AWSProfilesLocation, ProfilesLocation |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | StoredCredentials, AWSProfileName |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | RegionToCall |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | SK, SecretAccessKey |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | ST |
AWS Tools for PowerShell: 2.x.y.z