Struct aws_sdk_connectparticipant::client::fluent_builders::StartAttachmentUpload [−][src]
pub struct StartAttachmentUpload<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to StartAttachmentUpload
.
Provides a pre-signed Amazon S3 URL in response for uploading the file directly to S3.
The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication.
Implementations
impl<C, M, R> StartAttachmentUpload<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> StartAttachmentUpload<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<StartAttachmentUploadOutput, SdkError<StartAttachmentUploadError>> where
R::Policy: SmithyRetryPolicy<StartAttachmentUploadInputOperationOutputAlias, StartAttachmentUploadOutput, StartAttachmentUploadError, StartAttachmentUploadInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<StartAttachmentUploadOutput, SdkError<StartAttachmentUploadError>> where
R::Policy: SmithyRetryPolicy<StartAttachmentUploadInputOperationOutputAlias, StartAttachmentUploadOutput, StartAttachmentUploadError, StartAttachmentUploadInputOperationRetryAlias>,
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.
Describes the MIME file type of the attachment. For a list of supported file types, see Feature specifications in the Amazon Connect Administrator Guide.
Describes the MIME file type of the attachment. For a list of supported file types, see Feature specifications in the Amazon Connect Administrator Guide.
The size of the attachment in bytes.
The size of the attachment in bytes.
A case-sensitive name of the attachment being uploaded.
A case-sensitive name of the attachment being uploaded.
A unique case sensitive identifier to support idempotency of request.
A unique case sensitive identifier to support idempotency of request.
The authentication token associated with the participant's connection.
The authentication token associated with the participant's connection.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for StartAttachmentUpload<C, M, R>
impl<C, M, R> Send for StartAttachmentUpload<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for StartAttachmentUpload<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for StartAttachmentUpload<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for StartAttachmentUpload<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