Struct aws_sdk_wisdom::client::fluent_builders::CreateAssistant [−][src]
pub struct CreateAssistant<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateAssistant
.
Creates an Amazon Connect Wisdom assistant.
Implementations
impl<C, M, R> CreateAssistant<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateAssistant<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateAssistantOutput, SdkError<CreateAssistantError>> where
R::Policy: SmithyRetryPolicy<CreateAssistantInputOperationOutputAlias, CreateAssistantOutput, CreateAssistantError, CreateAssistantInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateAssistantOutput, SdkError<CreateAssistantError>> where
R::Policy: SmithyRetryPolicy<CreateAssistantInputOperationOutputAlias, CreateAssistantOutput, CreateAssistantError, CreateAssistantInputOperationRetryAlias>,
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.
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
The type of assistant.
The type of assistant.
The description of the assistant.
The description of the assistant.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The tags used to organize, track, or control access for this resource.
The tags used to organize, track, or control access for this resource.
pub fn server_side_encryption_configuration(
self,
inp: ServerSideEncryptionConfiguration
) -> Self
pub fn server_side_encryption_configuration(
self,
inp: ServerSideEncryptionConfiguration
) -> Self
The KMS key used for encryption.
pub fn set_server_side_encryption_configuration(
self,
input: Option<ServerSideEncryptionConfiguration>
) -> Self
pub fn set_server_side_encryption_configuration(
self,
input: Option<ServerSideEncryptionConfiguration>
) -> Self
The KMS key used for encryption.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for CreateAssistant<C, M, R>
impl<C, M, R> Send for CreateAssistant<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateAssistant<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateAssistant<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for CreateAssistant<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