list-parts

Prev Next

Available in Classic and VPC

Get the part list of a multipart upload.

Note

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

Syntax

The list-parts syntax is as follows:

aws s3api list-parts \
    --bucket <bucket> \
    --key <key> \
    --upload-id <upload-id> \
    [--starting-token <starting-token>] \
    [--page-size <page-size>] \
    [--max-items <max-items>] \
    --endpoint-url <endpoint-url>

Options

This section describes the options available when running list-parts.

Required options

The following options are required for list-parts.

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

Optional options

These are the optional options for list-parts. Options that are not specified will use their default values.

Options Type Required Description
--starting-token String Optional Location to start the query
--page-size Integer Optional Number of items per page
  • 1-1000
--max-items Integer Optional Total number of items to include in the output

Common options

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

Examples

If the request to retrieve the list of parts is successful, the identification information, size, and uploader information for each part will be returned.

Command

The command example is as follows:

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

Output

The output example is as follows:

{
    "Parts": [
        {
            "PartNumber": 1,
            "LastModified": "2026-08-19T02:56:40Z",
            "ETag": "\"6d5a86df9e8a0385daf367791d291c94\"",
            "Size": 6291456
        },
        {
            "PartNumber": 2,
            "LastModified": "2026-08-19T02:56:41Z",
            "ETag": "\"f9ef3551facde62260d54299b8c6f24d\"",
            "Size": 6291456
        }
    ],
    "ChecksumAlgorithm": null,
    "Initiator": {
        "ID": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
    },
    "Owner": {
        "ID": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
    },
    "StorageClass": "STANDARD",
    "ChecksumType": null
}

Related commands

Related commands are as follows: