Struct aws_sdk_wisdom::client::fluent_builders::CreateAssistantAssociation [−][src]
pub struct CreateAssistantAssociation<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateAssistantAssociation
.
Creates an association between an Amazon Connect Wisdom assistant and another resource. Currently, the only supported association is with a knowledge base. An assistant can have only a single association.
Implementations
impl<C, M, R> CreateAssistantAssociation<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateAssistantAssociation<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateAssistantAssociationOutput, SdkError<CreateAssistantAssociationError>> where
R::Policy: SmithyRetryPolicy<CreateAssistantAssociationInputOperationOutputAlias, CreateAssistantAssociationOutput, CreateAssistantAssociationError, CreateAssistantAssociationInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateAssistantAssociationOutput, SdkError<CreateAssistantAssociationError>> where
R::Policy: SmithyRetryPolicy<CreateAssistantAssociationInputOperationOutputAlias, CreateAssistantAssociationOutput, CreateAssistantAssociationError, CreateAssistantAssociationInputOperationRetryAlias>,
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 identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
The type of association.
The type of association.
The identifier of the associated resource.
The identifier of the associated resource.
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.
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.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for CreateAssistantAssociation<C, M, R>
impl<C, M, R> Send for CreateAssistantAssociation<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateAssistantAssociation<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateAssistantAssociation<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for CreateAssistantAssociation<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