Struct aws_sdk_support::client::fluent_builders::AddAttachmentsToSet [−][src]
pub struct AddAttachmentsToSet<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to AddAttachmentsToSet
.
Adds one or more attachments to an attachment set.
An attachment set is a temporary container for attachments that you add to a case or
case communication. The set is available for 1 hour after it's created. The
expiryTime
returned in the response is when the set expires.
-
You must have a Business or Enterprise Support plan to use the AWS Support API.
-
If you call the AWS Support API from an account that does not have a Business or Enterprise Support plan, the
SubscriptionRequiredException
error message appears. For information about changing your support plan, see AWS Support.
Implementations
impl<C, M, R> AddAttachmentsToSet<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> AddAttachmentsToSet<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<AddAttachmentsToSetOutput, SdkError<AddAttachmentsToSetError>> where
R::Policy: SmithyRetryPolicy<AddAttachmentsToSetInputOperationOutputAlias, AddAttachmentsToSetOutput, AddAttachmentsToSetError, AddAttachmentsToSetInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<AddAttachmentsToSetOutput, SdkError<AddAttachmentsToSetError>> where
R::Policy: SmithyRetryPolicy<AddAttachmentsToSetInputOperationOutputAlias, AddAttachmentsToSetOutput, AddAttachmentsToSetError, AddAttachmentsToSetInputOperationRetryAlias>,
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 ID of the attachment set. If an attachmentSetId
is not specified, a
new attachment set is created, and the ID of the set is returned in the response. If an
attachmentSetId
is specified, the attachments are added to the
specified set, if it exists.
The ID of the attachment set. If an attachmentSetId
is not specified, a
new attachment set is created, and the ID of the set is returned in the response. If an
attachmentSetId
is specified, the attachments are added to the
specified set, if it exists.
Appends an item to attachments
.
To override the contents of this collection use set_attachments
.
One or more attachments to add to the set. You can add up to three attachments per set. The size limit is 5 MB per attachment.
In the Attachment
object, use the data
parameter to specify
the contents of the attachment file. In the previous request syntax, the value for
data
appear as blob
, which is represented as a
base64-encoded string. The value for fileName
is the name of the
attachment, such as troubleshoot-screenshot.png
.
One or more attachments to add to the set. You can add up to three attachments per set. The size limit is 5 MB per attachment.
In the Attachment
object, use the data
parameter to specify
the contents of the attachment file. In the previous request syntax, the value for
data
appear as blob
, which is represented as a
base64-encoded string. The value for fileName
is the name of the
attachment, such as troubleshoot-screenshot.png
.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for AddAttachmentsToSet<C, M, R>
impl<C, M, R> Send for AddAttachmentsToSet<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for AddAttachmentsToSet<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for AddAttachmentsToSet<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for AddAttachmentsToSet<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