LexModelsV2 / Client / create_slot
create_slot#
- LexModelsV2.Client.create_slot(**kwargs)#
- Creates a slot in an intent. A slot is a variable needed to fulfill an intent. For example, an - OrderPizzaintent might need slots for size, crust, and number of pizzas. For each slot, you define one or more utterances that Amazon Lex uses to elicit a response from the user.- See also: AWS API Documentation - Request Syntax - # This section is too large to render. # Please see the AWS API Documentation linked below. - Parameters - # This section is too large to render. # Please see the AWS API Documentation linked below. - Return type:
- dict 
- Returns:
- Response Syntax - # This section is too large to render. # Please see the AWS API Documentation linked below. - Response Structure - # This section is too large to render. # Please see the AWS API Documentation linked below. 
 - Exceptions - LexModelsV2.Client.exceptions.ThrottlingException
- LexModelsV2.Client.exceptions.ServiceQuotaExceededException
- LexModelsV2.Client.exceptions.ValidationException
- LexModelsV2.Client.exceptions.PreconditionFailedException
- LexModelsV2.Client.exceptions.ConflictException
- LexModelsV2.Client.exceptions.InternalServerException