Struct aws_sdk_connect::client::fluent_builders::AssociateInstanceStorageConfig [−][src]
pub struct AssociateInstanceStorageConfig<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to AssociateInstanceStorageConfig
.
This API is in preview release for Amazon Connect and is subject to change.
Associates a storage resource type for the first time. You can only associate one type of storage configuration in a single call. This means, for example, that you can't define an instance with multiple S3 buckets for storing chat transcripts.
This API does not create a resource that doesn't exist. It only associates it to the instance. Ensure that the resource being specified in the storage configuration, like an S3 bucket, exists when being used for association.
Implementations
impl<C, M, R> AssociateInstanceStorageConfig<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> AssociateInstanceStorageConfig<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<AssociateInstanceStorageConfigOutput, SdkError<AssociateInstanceStorageConfigError>> where
R::Policy: SmithyRetryPolicy<AssociateInstanceStorageConfigInputOperationOutputAlias, AssociateInstanceStorageConfigOutput, AssociateInstanceStorageConfigError, AssociateInstanceStorageConfigInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<AssociateInstanceStorageConfigOutput, SdkError<AssociateInstanceStorageConfigError>> where
R::Policy: SmithyRetryPolicy<AssociateInstanceStorageConfigInputOperationOutputAlias, AssociateInstanceStorageConfigOutput, AssociateInstanceStorageConfigError, AssociateInstanceStorageConfigInputOperationRetryAlias>,
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 Amazon Connect instance. You can find the instanceId in the ARN of the instance.
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
A valid resource type.
A valid resource type.
A valid storage type.
A valid storage type.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for AssociateInstanceStorageConfig<C, M, R>
impl<C, M, R> Send for AssociateInstanceStorageConfig<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for AssociateInstanceStorageConfig<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for AssociateInstanceStorageConfig<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for AssociateInstanceStorageConfig<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