abort-multipart-upload

Prev Next

The latest service changes have not yet been reflected in this content. We will update the content as soon as possible. Please refer to the Korean version for information on the latest updates.

Available in Classic and VPC

Stop an ongoing multipart upload. When an upload is stopped, you can no longer upload parts using that upload ID.

Note

For a Sub Account user to execute this command, they must have the Change/AbortMultipartUpload action permission.

Syntax

The abort-multipart-upload syntax is as follows:

aws s3api abort-multipart-upload \
    --bucket <bucket> \
    --key <key> \
    --upload-id <upload-id> \
    --endpoint-url <endpoint-url>

Options

This section describes the options available when running abort-multipart-upload.

Required options

The following options are required for abort-multipart-upload.

Options Type Required Description
--bucket String Required Bucket name
--key String Required Object name
--upload-id String Required Multipart upload ID

Common options

For information about the options common to all aws subcommands, see Ncloud Storage options.

Examples

If the request to stop a multipart upload is successful, the upload is canceled and no result is displayed.

Command

The command example is as follows:

aws s3api abort-multipart-upload --bucket my-test-bucket \
    --key aborted.bin \
    --upload-id {upload_id} \
    --endpoint-url=https://kr.ncloudstorage.com

Related commands

Related commands are as follows: