Struct aws_sdk_lexmodelsv2::client::fluent_builders::UpdateSlot
source · [−]pub struct UpdateSlot<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateSlot.
Updates the settings for a slot.
Implementations
impl<C, M, R> UpdateSlot<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateSlot<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(self) -> Result<UpdateSlotOutput, SdkError<UpdateSlotError>> where
R::Policy: SmithyRetryPolicy<UpdateSlotInputOperationOutputAlias, UpdateSlotOutput, UpdateSlotError, UpdateSlotInputOperationRetryAlias>,
pub async fn send(self) -> Result<UpdateSlotOutput, SdkError<UpdateSlotError>> where
R::Policy: SmithyRetryPolicy<UpdateSlotInputOperationOutputAlias, UpdateSlotOutput, UpdateSlotError, UpdateSlotInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The unique identifier for the slot to update.
The unique identifier for the slot to update.
The new name for the slot.
The new description for the slot.
The new description for the slot.
The unique identifier of the new slot type to associate with this slot.
The unique identifier of the new slot type to associate with this slot.
A new set of prompts that Amazon Lex sends to the user to elicit a response the provides a value for the slot.
pub fn set_value_elicitation_setting(
self,
input: Option<SlotValueElicitationSetting>
) -> Self
pub fn set_value_elicitation_setting(
self,
input: Option<SlotValueElicitationSetting>
) -> Self
A new set of prompts that Amazon Lex sends to the user to elicit a response the provides a value for the slot.
New settings that determine how slot values are formatted in Amazon CloudWatch logs.
New settings that determine how slot values are formatted in Amazon CloudWatch logs.
The unique identifier of the bot that contains the slot.
The unique identifier of the bot that contains the slot.
The version of the bot that contains the slot. Must always be DRAFT.
The version of the bot that contains the slot. Must always be DRAFT.
The identifier of the language and locale that contains the slot. The string must match one of the supported locales. For more information, see Supported languages.
The identifier of the language and locale that contains the slot. The string must match one of the supported locales. For more information, see Supported languages.
The identifier of the intent that contains the slot.
The identifier of the intent that contains the slot.
Determines whether the slot accepts multiple values in one response. Multiple value slots are only available in the en-US locale. If you set this value to true in any other locale, Amazon Lex throws a ValidationException.
If the multipleValuesSetting is not set, the default value is false.
Determines whether the slot accepts multiple values in one response. Multiple value slots are only available in the en-US locale. If you set this value to true in any other locale, Amazon Lex throws a ValidationException.
If the multipleValuesSetting is not set, the default value is false.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for UpdateSlot<C, M, R>
impl<C, M, R> Unpin for UpdateSlot<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for UpdateSlot<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more