AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 4.5
 
Adds one or more attachments to an 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.

An attachment set is a temporary container for attachments that are to be added to a case or case communication. The set is available for one hour after it is created; the ExpiryTime returned in the response indicates when the set expires. The maximum number of attachments in a set is 3, and the maximum size of any attachment in the set is 5 MB.

Namespace: Amazon.AWSSupport
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public virtual AddAttachmentsToSetResponse AddAttachmentsToSet(
         AddAttachmentsToSetRequest request
)

Parameters

request
Type: Amazon.AWSSupport.Model.AddAttachmentsToSetRequest

Container for the necessary parameters to execute the AddAttachmentsToSet service method.

Return Value
Type: Amazon.AWSSupport.Model.AddAttachmentsToSetResponse
The response from the AddAttachmentsToSet service method, as returned by AWSSupport.

Exceptions

ExceptionCondition
AttachmentLimitExceededException The limit for the number of attachment sets created in a short period of time has been exceeded.
AttachmentSetExpiredException The expiration time of the attachment set has passed. The set expires 1 hour after it is created.
AttachmentSetIdNotFoundException An attachment set with the specified ID could not be found.
AttachmentSetSizeLimitExceededException A limit for the size of an attachment set has been exceeded. The limits are 3 attachments and 5 MB per attachment.
InternalServerErrorException An internal server error occurred.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5