describe_attachment_upload_status
async
¶
describe_attachment_upload_status(
upload_id: UploadId,
*,
config_overrides: Optional[AsyncSupportClientConfig] = None,
dry_run: Optional[NullableBooleanType] = None,
) -> DescribeAttachmentUploadStatusResponse
Returns the current status, file name, and progress of a multipart attachment upload that was started with GetAttachmentUploadLinks. Use this operation to track where an upload is in the workflow. While parts are still being uploaded and reported through CompleteAttachmentUpload, the uploadStatus is attachment-not-ready and uploadProgress reports the total number of parts and how many have been completed so far. After every part has been reported and the service finishes processing the upload asynchronously, the uploadStatus becomes attachment-ready and the uploadId can be attached to a case through CreateCase or AddCommunicationToCase.
-
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
SubscriptionRequiredExceptionerror message appears. For information about changing your support plan, see Amazon Web Services Support.
Parameters:
-
upload_id(UploadId) –The unique identifier for the upload. The
uploadIdis returned by GetAttachmentUploadLinks when you initiate the upload. -
dry_run(Optional[NullableBooleanType], default:None) –Specifies whether to validate the request without actually returning upload status. When set to
true, the request is validated but no status is returned, and the operation returns aDryRunOperationException. When omitted or set tofalse, the request runs normally.
Raises:
-
DryRunOperationException–The request was valid, but the operation wasn't performed because
dryRunwas set totrue. -
InternalServerError–An internal server error occurred.
-
UploadIdNotFound–The specified
uploadIdcouldn't be located. -
UnknownServiceError–The service returned an error code this client does not model.