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.
Container for the parameters to the GetAttachmentUploadLinks operation.
Returns one or more presigned upload URLs for uploading a large file attachment to
a support case by using a multipart upload workflow. The maximum file size that you
can upload with this workflow is 150 MB, and parts can be up to 100 MB each. Initiate
a new upload by providing fileName and fileSizeBytes; the response returns
a unique uploadId, the part size, the total number of parts, and a list of
presigned upload URLs for the requested range of parts. A maximum of 10 upload URLs
are returned per call. To retrieve more upload URLs for an upload that's already in
progress, call GetAttachmentUploadLinks again with the existing uploadId
and a new uploadRange.
Upload each part to its presigned URL by using HTTP PUT and capture the ETag
from the response. After you upload all parts, call CompleteAttachmentUpload
with the uploadId and the list of part indexes and ETags to finalize the upload.
You can then attach the upload to a case by passing the uploadId in the uploadIds
parameter of CreateCase or AddCommunicationToCase. To monitor progress
before completion, call DescribeAttachmentUploadStatus.
You must have an Amazon Web Services Business Support+, Amazon Web Services Enterprise Support, or Amazon Web Services Unified Operations plan to use the Amazon Web Services Support API. If you're in an Amazon Web Services Region that doesn't offer one of these Amazon Web Services Support plans, or if you haven't transitioned to one of these plans, you can use the Amazon Web Services Support API with a Business, Enterprise On-Ramp, or Enterprise Support plan.
If you call the Amazon Web Services Support API from an account that doesn't have
an Amazon Web Services Business Support+, Amazon Web Services Enterprise Support,
or Amazon Web Services Unified Operations plan, the SubscriptionRequiredException
error message appears. For information about changing your support plan, see Amazon
Web Services Support.
Namespace: Amazon.AWSSupport.Model
Assembly: AWSSDK.AWSSupport.dll
Version: 3.x.y.z
public class GetAttachmentUploadLinksRequest : AmazonAWSSupportRequest IAmazonWebServiceRequest
The GetAttachmentUploadLinksRequest type exposes the following members
| Name | Description | |
|---|---|---|
|
GetAttachmentUploadLinksRequest() |
| Name | Type | Description | |
|---|---|---|---|
|
DryRun | System.Nullable<System.Boolean> |
Gets and sets the property DryRun.
Specifies whether to validate the request without actually generating upload URLs.
When set to |
|
FileName | System.String |
Gets and sets the property FileName. The name of the file to upload, including the file extension. This value is required when you initiate a new upload. |
|
FileSizeBytes | System.Nullable<System.Int64> |
Gets and sets the property FileSizeBytes.
The total size of the file in bytes. The service uses this value to calculate the
total number of parts and the size of each part. Required when you initiate a new
upload (when |
|
UploadId | System.String |
Gets and sets the property UploadId.
The unique identifier of an in-progress multipart upload, returned by a previous call
to |
|
UploadRange | Amazon.AWSSupport.Model.UploadRange |
Gets and sets the property UploadRange. The range of part indexes for which to return presigned upload URLs. Use this parameter to page through the upload URLs for a large file across multiple calls. If you omit this parameter, the service determines the range to return. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer