Struct aws_sdk_lexmodelsv2::client::fluent_builders::UpdateBot
source · [−]pub struct UpdateBot<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateBot.
Updates the configuration of an existing bot.
Implementations
impl<C, M, R> UpdateBot<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateBot<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(self) -> Result<UpdateBotOutput, SdkError<UpdateBotError>> where
R::Policy: SmithyRetryPolicy<UpdateBotInputOperationOutputAlias, UpdateBotOutput, UpdateBotError, UpdateBotInputOperationRetryAlias>,
pub async fn send(self) -> Result<UpdateBotOutput, SdkError<UpdateBotError>> where
R::Policy: SmithyRetryPolicy<UpdateBotInputOperationOutputAlias, UpdateBotOutput, UpdateBotError, UpdateBotInputOperationRetryAlias>,
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 of the bot to update. This identifier is returned by the CreateBot operation.
The unique identifier of the bot to update. This identifier is returned by the CreateBot operation.
The new name of the bot. The name must be unique in the account that creates the bot.
The new name of the bot. The name must be unique in the account that creates the bot.
A description of the bot.
A description of the bot.
The Amazon Resource Name (ARN) of an IAM role that has permissions to access the bot.
The Amazon Resource Name (ARN) of an IAM role that has permissions to access the bot.
Provides information on additional privacy protections Amazon Lex should use with the bot's data.
Provides information on additional privacy protections Amazon Lex should use with the bot's data.
The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot.
A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Lex deletes any data provided before the timeout.
You can specify between 60 (1 minute) and 86,400 (24 hours) seconds.
The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot.
A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Lex deletes any data provided before the timeout.
You can specify between 60 (1 minute) and 86,400 (24 hours) seconds.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for UpdateBot<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for UpdateBot<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