AWS SDK Version 4 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.

Completes an attachment upload that was started with GetAttachmentUploadLinks. After you upload a part of the file to its presigned Amazon S3 URL, call CompleteAttachmentUpload with the partIndex and eTag of that part. You can include one part per call, or multiple parts in a single call. After CompleteAttachmentUpload has been called for every part of the file, the service processes the upload asynchronously. The attachment-ready status might not be reflected immediately. Use DescribeAttachmentUploadStatus to poll for the uploadStatus to become attachment-ready before passing the uploadId to CreateCase or AddCommunicationToCase.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to CompleteAttachmentUploadAsync.

Namespace: Amazon.AWSSupport
Assembly: AWSSDK.AWSSupport.dll
Version: 3.x.y.z

Syntax

C#
public virtual CompleteAttachmentUploadResponse CompleteAttachmentUpload(
         CompleteAttachmentUploadRequest request
)

Parameters

request
Type: Amazon.AWSSupport.Model.CompleteAttachmentUploadRequest

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

Return Value


The response from the CompleteAttachmentUpload service method, as returned by AWSSupport.

Exceptions

ExceptionCondition
DryRunOperationException The request was valid, but the operation wasn't performed because dryRun was set to true.
InternalServerErrorException An internal server error occurred.
UploadIdNotFoundException The specified uploadId couldn't be located.

Version Information

.NET Framework:
Supported in: 4.7.2 and newer

See Also