{ "smithy": "1.0", "metadata": { "suppressions": [ { "id": "HttpMethodSemantics", "namespace": "*" }, { "id": "HttpResponseCodeSemantics", "namespace": "*" }, { "id": "PaginatedTrait", "namespace": "*" }, { "id": "HttpHeaderTrait", "namespace": "*" }, { "id": "HttpUriConflict", "namespace": "*" }, { "id": "Service", "namespace": "*" } ] }, "shapes": { "com.amazonaws.glacier#AbortMultipartUpload": { "type": "operation", "input": { "target": "com.amazonaws.glacier#AbortMultipartUploadInput" }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" }, { "target": "com.amazonaws.glacier#MissingParameterValueException" }, { "target": "com.amazonaws.glacier#ResourceNotFoundException" }, { "target": "com.amazonaws.glacier#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "

This operation aborts a multipart upload identified by the upload ID.

\n\n\n

After the Abort Multipart Upload request succeeds, you cannot upload any more parts\n to the multipart upload or complete the multipart upload. Aborting a completed upload\n fails. However, aborting an already-aborted upload will succeed, for a short time. For more\n information about uploading a part and completing a multipart upload, see UploadMultipartPart and CompleteMultipartUpload.

\n\n

This operation is idempotent.

\n\n

An AWS account has full permission to perform all operations (actions). However, AWS\n Identity and Access Management (IAM) users don't have any permissions by default. You must\n grant them explicit permission to perform specific actions. For more information, see\n Access Control Using\n AWS Identity and Access Management (IAM).

\n

For conceptual information and underlying REST API, see Working with Archives in\n Amazon S3 Glacier and Abort Multipart\n Upload in the Amazon Glacier Developer Guide.

", "smithy.api#http": { "method": "DELETE", "uri": "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}", "code": 204 } } }, "com.amazonaws.glacier#AbortMultipartUploadInput": { "type": "structure", "members": { "accountId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The AccountId value is the AWS account ID of the account that owns the\n vault. You can either specify an AWS account ID or optionally a single '-'\n (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the\n credentials used to sign the request. If you use an account ID, do not include any hyphens\n ('-') in the ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "vaultName": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The name of the vault.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "uploadId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The upload ID of the multipart upload to delete.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Provides options to abort a multipart upload identified by the upload ID.

\n\n

For information about the underlying REST API, see Abort Multipart\n Upload. For conceptual information, see Working with Archives in\n Amazon S3 Glacier.

" } }, "com.amazonaws.glacier#AbortVaultLock": { "type": "operation", "input": { "target": "com.amazonaws.glacier#AbortVaultLockInput" }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" }, { "target": "com.amazonaws.glacier#MissingParameterValueException" }, { "target": "com.amazonaws.glacier#ResourceNotFoundException" }, { "target": "com.amazonaws.glacier#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "

This operation aborts the vault locking process if the vault lock is not in the\n Locked state. If the vault lock is in the Locked state when\n this operation is requested, the operation returns an AccessDeniedException\n error. Aborting the vault locking process removes the vault lock policy from the specified\n vault.

\n

A vault lock is put into the InProgress state by calling InitiateVaultLock. A vault lock is put into the Locked state by\n calling CompleteVaultLock. You can get the state of a vault lock by\n calling GetVaultLock. For more information about the vault locking\n process, see Amazon Glacier Vault Lock. For more information about vault lock policies, see\n Amazon\n Glacier Access Control with Vault Lock Policies.

\n

This operation is idempotent. You can successfully invoke this operation multiple\n times, if the vault lock is in the InProgress state or if there is no policy\n associated with the vault.

", "smithy.api#http": { "method": "DELETE", "uri": "/{accountId}/vaults/{vaultName}/lock-policy", "code": 204 } } }, "com.amazonaws.glacier#AbortVaultLockInput": { "type": "structure", "members": { "accountId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The AccountId value is the AWS account ID. This value must match the AWS\n account ID associated with the credentials used to sign the request. You can either specify\n an AWS account ID or optionally a single '-' (hyphen), in which case Amazon\n Glacier uses the AWS account ID associated with the credentials used to sign the request.\n If you specify your account ID, do not include any hyphens ('-') in the ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "vaultName": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The name of the vault.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

The input values for AbortVaultLock.

" } }, "com.amazonaws.glacier#AccessControlPolicyList": { "type": "list", "member": { "target": "com.amazonaws.glacier#Grant" } }, "com.amazonaws.glacier#ActionCode": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "ArchiveRetrieval", "name": "ArchiveRetrieval" }, { "value": "InventoryRetrieval", "name": "InventoryRetrieval" }, { "value": "Select", "name": "Select" } ] } }, "com.amazonaws.glacier#AddTagsToVault": { "type": "operation", "input": { "target": "com.amazonaws.glacier#AddTagsToVaultInput" }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" }, { "target": "com.amazonaws.glacier#LimitExceededException" }, { "target": "com.amazonaws.glacier#MissingParameterValueException" }, { "target": "com.amazonaws.glacier#ResourceNotFoundException" }, { "target": "com.amazonaws.glacier#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "

This operation adds the specified tags to a vault. Each tag is composed of a key and\n a value. Each vault can have up to 10 tags. If your request would cause the tag limit for\n the vault to be exceeded, the operation throws the LimitExceededException\n error. If a tag already exists on the vault under a specified key, the existing key value\n will be overwritten. For more information about tags, see Tagging Amazon S3 Glacier Resources.\n

", "smithy.api#http": { "method": "POST", "uri": "/{accountId}/vaults/{vaultName}/tags?operation=add", "code": 204 } } }, "com.amazonaws.glacier#AddTagsToVaultInput": { "type": "structure", "members": { "accountId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The AccountId value is the AWS account ID of the account that owns the\n vault. You can either specify an AWS account ID or optionally a single '-'\n (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the\n credentials used to sign the request. If you use an account ID, do not include any hyphens\n ('-') in the ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "vaultName": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The name of the vault.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "Tags": { "target": "com.amazonaws.glacier#TagMap", "traits": { "smithy.api#documentation": "

The tags to add to the vault. Each tag is composed of a key and a value. The value\n can be an empty string.

" } } }, "traits": { "smithy.api#documentation": "

The input values for AddTagsToVault.

" } }, "com.amazonaws.glacier#ArchiveCreationOutput": { "type": "structure", "members": { "location": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The relative URI path of the newly added archive resource.

", "smithy.api#httpHeader": "Location" } }, "checksum": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The checksum of the archive computed by Amazon S3 Glacier.

", "smithy.api#httpHeader": "x-amz-sha256-tree-hash" } }, "archiveId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The ID of the archive. This value is also included as part of the location.

", "smithy.api#httpHeader": "x-amz-archive-id" } } }, "traits": { "smithy.api#documentation": "

Contains the Amazon S3 Glacier response to your request.

\n

For information about the underlying REST API, see Upload Archive. For\n conceptual information, see Working with Archives in\n Amazon S3 Glacier.

" } }, "com.amazonaws.glacier#CSVInput": { "type": "structure", "members": { "FileHeaderInfo": { "target": "com.amazonaws.glacier#FileHeaderInfo", "traits": { "smithy.api#documentation": "

Describes the first line of input. Valid values are None,\n Ignore, and Use.

" } }, "Comments": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

A single character used to indicate that a row should be ignored when the character is\n present at the start of that row.

" } }, "QuoteEscapeCharacter": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

A single character used for escaping the quotation-mark character inside an already\n escaped value.

" } }, "RecordDelimiter": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

A value used to separate individual records from each other.

" } }, "FieldDelimiter": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

A value used to separate individual fields from each other within a record.

" } }, "QuoteCharacter": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

A value used as an escape character where the field delimiter is part of the\n value.

" } } }, "traits": { "smithy.api#documentation": "

Contains information about the comma-separated value (CSV) file to select from.

" } }, "com.amazonaws.glacier#CSVOutput": { "type": "structure", "members": { "QuoteFields": { "target": "com.amazonaws.glacier#QuoteFields", "traits": { "smithy.api#documentation": "

A value that indicates whether all output fields should be contained within quotation\n marks.

" } }, "QuoteEscapeCharacter": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

A single character used for escaping the quotation-mark character inside an already\n escaped value.

" } }, "RecordDelimiter": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

A value used to separate individual records from each other.

" } }, "FieldDelimiter": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

A value used to separate individual fields from each other within a record.

" } }, "QuoteCharacter": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

A value used as an escape character where the field delimiter is part of the\n value.

" } } }, "traits": { "smithy.api#documentation": "

Contains information about the comma-separated value (CSV) file that the job results\n are stored in.

" } }, "com.amazonaws.glacier#CannedACL": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "private", "name": "Private" }, { "value": "public-read", "name": "PublicRead" }, { "value": "public-read-write", "name": "PublicReadWrite" }, { "value": "aws-exec-read", "name": "AwsExecRead" }, { "value": "authenticated-read", "name": "AuthenticatedRead" }, { "value": "bucket-owner-read", "name": "BucketOwnerRead" }, { "value": "bucket-owner-full-control", "name": "BucketOwnerFullControl" } ] } }, "com.amazonaws.glacier#CompleteMultipartUpload": { "type": "operation", "input": { "target": "com.amazonaws.glacier#CompleteMultipartUploadInput" }, "output": { "target": "com.amazonaws.glacier#ArchiveCreationOutput" }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" }, { "target": "com.amazonaws.glacier#MissingParameterValueException" }, { "target": "com.amazonaws.glacier#ResourceNotFoundException" }, { "target": "com.amazonaws.glacier#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "

You call this operation to inform Amazon S3 Glacier (Glacier) that all the archive parts have been\n uploaded and that Glacier can now assemble the archive from the uploaded parts.\n After assembling and saving the archive to the vault, Glacier returns the URI path\n of the newly created archive resource. Using the URI path, you can then access the archive.\n After you upload an archive, you should save the archive ID returned to retrieve the\n archive at a later point. You can also get the vault inventory to obtain a list of archive\n IDs in a vault. For more information, see InitiateJob.

\n\n

In the request, you must include the computed SHA256 tree hash of the entire archive\n you have uploaded. For information about computing a SHA256 tree hash, see Computing\n Checksums. On the server side, Glacier also constructs the SHA256 tree\n hash of the assembled archive. If the values match, Glacier saves the archive to the\n vault; otherwise, it returns an error, and the operation fails. The ListParts operation returns a list of parts uploaded for a specific\n multipart upload. It includes checksum information for each uploaded part that can be used\n to debug a bad checksum issue.

\n\n

Additionally, Glacier also checks for any missing content ranges when\n assembling the archive, if missing content ranges are found, Glacier returns an\n error and the operation fails.

\n\n

Complete Multipart Upload is an idempotent operation. After your first successful\n complete multipart upload, if you call the operation again within a short period, the\n operation will succeed and return the same archive ID. This is useful in the event you\n experience a network issue that causes an aborted connection or receive a 500 server error,\n in which case you can repeat your Complete Multipart Upload request and get the same\n archive ID without creating duplicate archives. Note, however, that after the multipart\n upload completes, you cannot call the List Parts operation and the multipart upload will\n not appear in List Multipart Uploads response, even if idempotent complete is\n possible.

\n\n

An AWS account has full permission to perform all operations (actions). However, AWS\n Identity and Access Management (IAM) users don't have any permissions by default. You must\n grant them explicit permission to perform specific actions. For more information, see\n Access Control Using\n AWS Identity and Access Management (IAM).

\n

For conceptual information and underlying REST API, see Uploading Large Archives in\n Parts (Multipart Upload) and Complete Multipart\n Upload in the Amazon Glacier Developer Guide.

", "smithy.api#http": { "method": "POST", "uri": "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}", "code": 201 } } }, "com.amazonaws.glacier#CompleteMultipartUploadInput": { "type": "structure", "members": { "accountId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The AccountId value is the AWS account ID of the account that owns the\n vault. You can either specify an AWS account ID or optionally a single '-'\n (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the\n credentials used to sign the request. If you use an account ID, do not include any hyphens\n ('-') in the ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "vaultName": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The name of the vault.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "uploadId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The upload ID of the multipart upload.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "archiveSize": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The total size, in bytes, of the entire archive. This value should be the sum of all\n the sizes of the individual parts that you uploaded.

", "smithy.api#httpHeader": "x-amz-archive-size" } }, "checksum": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The SHA256 tree hash of the entire archive. It is the tree hash of SHA256 tree hash\n of the individual parts. If the value you specify in the request does not match the SHA256\n tree hash of the final assembled archive as computed by Amazon S3 Glacier (Glacier), \n Glacier returns an error and the request fails.

", "smithy.api#httpHeader": "x-amz-sha256-tree-hash" } } }, "traits": { "smithy.api#documentation": "

Provides options to complete a multipart upload operation. This informs Amazon\n Glacier that all the archive parts have been uploaded and Amazon S3 Glacier (Glacier) can now assemble\n the archive from the uploaded parts. After assembling and saving the archive to the vault,\n Glacier returns the URI path of the newly created archive resource.

" } }, "com.amazonaws.glacier#CompleteVaultLock": { "type": "operation", "input": { "target": "com.amazonaws.glacier#CompleteVaultLockInput" }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" }, { "target": "com.amazonaws.glacier#MissingParameterValueException" }, { "target": "com.amazonaws.glacier#ResourceNotFoundException" }, { "target": "com.amazonaws.glacier#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "

This operation completes the vault locking process by transitioning the vault lock\n from the InProgress state to the Locked state, which causes the\n vault lock policy to become unchangeable. A vault lock is put into the\n InProgress state by calling InitiateVaultLock. You can\n obtain the state of the vault lock by calling GetVaultLock. For more\n information about the vault locking process, Amazon Glacier Vault Lock.

\n

This operation is idempotent. This request is always successful if the vault lock is\n in the Locked state and the provided lock ID matches the lock ID originally\n used to lock the vault.

\n

If an invalid lock ID is passed in the request when the vault lock is in the\n Locked state, the operation returns an AccessDeniedException\n error. If an invalid lock ID is passed in the request when the vault lock is in the\n InProgress state, the operation throws an InvalidParameter\n error.

", "smithy.api#http": { "method": "POST", "uri": "/{accountId}/vaults/{vaultName}/lock-policy/{lockId}", "code": 204 } } }, "com.amazonaws.glacier#CompleteVaultLockInput": { "type": "structure", "members": { "accountId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The AccountId value is the AWS account ID. This value must match the AWS\n account ID associated with the credentials used to sign the request. You can either specify\n an AWS account ID or optionally a single '-' (hyphen), in which case Amazon\n Glacier uses the AWS account ID associated with the credentials used to sign the request.\n If you specify your account ID, do not include any hyphens ('-') in the ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "vaultName": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The name of the vault.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "lockId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The lockId value is the lock ID obtained from a InitiateVaultLock request.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

The input values for CompleteVaultLock.

" } }, "com.amazonaws.glacier#CreateVault": { "type": "operation", "input": { "target": "com.amazonaws.glacier#CreateVaultInput" }, "output": { "target": "com.amazonaws.glacier#CreateVaultOutput" }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" }, { "target": "com.amazonaws.glacier#LimitExceededException" }, { "target": "com.amazonaws.glacier#MissingParameterValueException" }, { "target": "com.amazonaws.glacier#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "

This operation creates a new vault with the specified name. The name of the vault\n must be unique within a region for an AWS account. You can create up to 1,000 vaults per\n account. If you need to create more vaults, contact Amazon S3 Glacier.

\n

You must use the following guidelines when naming a vault.

\n \n\n

This operation is idempotent.

\n\n

An AWS account has full permission to perform all operations (actions). However, AWS\n Identity and Access Management (IAM) users don't have any permissions by default. You must\n grant them explicit permission to perform specific actions. For more information, see\n Access Control Using\n AWS Identity and Access Management (IAM).

\n

For conceptual information and underlying REST API, see Creating a Vault in Amazon\n Glacier and Create Vault in the\n Amazon Glacier Developer Guide.

", "smithy.api#http": { "method": "PUT", "uri": "/{accountId}/vaults/{vaultName}", "code": 201 } } }, "com.amazonaws.glacier#CreateVaultInput": { "type": "structure", "members": { "accountId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The AccountId value is the AWS account ID. This value must match the AWS\n account ID associated with the credentials used to sign the request. You can either specify\n an AWS account ID or optionally a single '-' (hyphen), in which case Amazon S3\n Glacier uses the AWS account ID associated with the credentials used to sign the request.\n If you specify your account ID, do not include any hyphens ('-') in the ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "vaultName": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The name of the vault.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Provides options to create a vault.

" } }, "com.amazonaws.glacier#CreateVaultOutput": { "type": "structure", "members": { "location": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The URI of the vault that was created.

", "smithy.api#httpHeader": "Location" } } }, "traits": { "smithy.api#documentation": "

Contains the Amazon S3 Glacier response to your request.

" } }, "com.amazonaws.glacier#DataRetrievalPolicy": { "type": "structure", "members": { "Rules": { "target": "com.amazonaws.glacier#DataRetrievalRulesList", "traits": { "smithy.api#documentation": "

The policy rule. Although this is a list type, currently there must be only one rule,\n which contains a Strategy field and optionally a BytesPerHour field.

" } } }, "traits": { "smithy.api#documentation": "

Data retrieval policy.

" } }, "com.amazonaws.glacier#DataRetrievalRule": { "type": "structure", "members": { "Strategy": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The type of data retrieval policy to set.

\n

Valid values: BytesPerHour|FreeTier|None

" } }, "BytesPerHour": { "target": "com.amazonaws.glacier#NullableLong", "traits": { "smithy.api#documentation": "

The maximum number of bytes that can be retrieved in an hour.

\n

This field is required only if the value of the Strategy field is\n BytesPerHour. Your PUT operation will be rejected if the Strategy field is\n not set to BytesPerHour and you set this field.

" } } }, "traits": { "smithy.api#documentation": "

Data retrieval policy rule.

" } }, "com.amazonaws.glacier#DataRetrievalRulesList": { "type": "list", "member": { "target": "com.amazonaws.glacier#DataRetrievalRule" } }, "com.amazonaws.glacier#DateTime": { "type": "string" }, "com.amazonaws.glacier#DeleteArchive": { "type": "operation", "input": { "target": "com.amazonaws.glacier#DeleteArchiveInput" }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" }, { "target": "com.amazonaws.glacier#MissingParameterValueException" }, { "target": "com.amazonaws.glacier#ResourceNotFoundException" }, { "target": "com.amazonaws.glacier#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "

This operation deletes an archive from a vault. Subsequent requests to initiate a\n retrieval of this archive will fail. Archive retrievals that are in progress for this\n archive ID may or may not succeed according to the following scenarios:

\n \n\n

This operation is idempotent. Attempting to delete an already-deleted archive does\n not result in an error.

\n\n

An AWS account has full permission to perform all operations (actions). However, AWS\n Identity and Access Management (IAM) users don't have any permissions by default. You must\n grant them explicit permission to perform specific actions. For more information, see\n Access Control Using\n AWS Identity and Access Management (IAM).

\n

For conceptual information and underlying REST API, see Deleting an Archive in Amazon\n Glacier and Delete Archive in the\n Amazon Glacier Developer Guide.

", "smithy.api#http": { "method": "DELETE", "uri": "/{accountId}/vaults/{vaultName}/archives/{archiveId}", "code": 204 } } }, "com.amazonaws.glacier#DeleteArchiveInput": { "type": "structure", "members": { "accountId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The AccountId value is the AWS account ID of the account that owns the\n vault. You can either specify an AWS account ID or optionally a single '-'\n (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the\n credentials used to sign the request. If you use an account ID, do not include any hyphens\n ('-') in the ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "vaultName": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The name of the vault.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "archiveId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The ID of the archive to delete.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Provides options for deleting an archive from an Amazon S3 Glacier vault.

" } }, "com.amazonaws.glacier#DeleteVault": { "type": "operation", "input": { "target": "com.amazonaws.glacier#DeleteVaultInput" }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" }, { "target": "com.amazonaws.glacier#MissingParameterValueException" }, { "target": "com.amazonaws.glacier#ResourceNotFoundException" }, { "target": "com.amazonaws.glacier#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "

This operation deletes a vault. Amazon S3 Glacier will delete a vault only if there are\n no archives in the vault as of the last inventory and there have been no writes to the\n vault since the last inventory. If either of these conditions is not satisfied, the vault\n deletion fails (that is, the vault is not removed) and Amazon S3 Glacier returns an error. You\n can use DescribeVault to return the number of archives in a vault, and\n you can use Initiate a Job (POST\n jobs) to initiate a new inventory retrieval for a vault. The inventory contains\n the archive IDs you use to delete archives using Delete Archive (DELETE\n archive).

\n\n

This operation is idempotent.

\n\n

An AWS account has full permission to perform all operations (actions). However, AWS\n Identity and Access Management (IAM) users don't have any permissions by default. You must\n grant them explicit permission to perform specific actions. For more information, see\n Access Control Using\n AWS Identity and Access Management (IAM).

\n

For conceptual information and underlying REST API, see Deleting a Vault in Amazon\n Glacier and Delete Vault in the\n Amazon S3 Glacier Developer Guide.

", "smithy.api#http": { "method": "DELETE", "uri": "/{accountId}/vaults/{vaultName}", "code": 204 } } }, "com.amazonaws.glacier#DeleteVaultAccessPolicy": { "type": "operation", "input": { "target": "com.amazonaws.glacier#DeleteVaultAccessPolicyInput" }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" }, { "target": "com.amazonaws.glacier#MissingParameterValueException" }, { "target": "com.amazonaws.glacier#ResourceNotFoundException" }, { "target": "com.amazonaws.glacier#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "

This operation deletes the access policy associated with the specified vault. The\n operation is eventually consistent; that is, it might take some time for Amazon S3 Glacier to\n completely remove the access policy, and you might still see the effect of the policy for a\n short time after you send the delete request.

\n

This operation is idempotent. You can invoke delete multiple times, even if there is\n no policy associated with the vault. For more information about vault access policies, see\n Amazon Glacier Access Control with Vault Access Policies.

", "smithy.api#http": { "method": "DELETE", "uri": "/{accountId}/vaults/{vaultName}/access-policy", "code": 204 } } }, "com.amazonaws.glacier#DeleteVaultAccessPolicyInput": { "type": "structure", "members": { "accountId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The AccountId value is the AWS account ID of the account that owns the\n vault. You can either specify an AWS account ID or optionally a single '-'\n (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the\n credentials used to sign the request. If you use an account ID, do not include any hyphens\n ('-') in the ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "vaultName": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The name of the vault.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

DeleteVaultAccessPolicy input.

" } }, "com.amazonaws.glacier#DeleteVaultInput": { "type": "structure", "members": { "accountId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The AccountId value is the AWS account ID of the account that owns the\n vault. You can either specify an AWS account ID or optionally a single '-'\n (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the\n credentials used to sign the request. If you use an account ID, do not include any hyphens\n ('-') in the ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "vaultName": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The name of the vault.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Provides options for deleting a vault from Amazon S3 Glacier.

" } }, "com.amazonaws.glacier#DeleteVaultNotifications": { "type": "operation", "input": { "target": "com.amazonaws.glacier#DeleteVaultNotificationsInput" }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" }, { "target": "com.amazonaws.glacier#MissingParameterValueException" }, { "target": "com.amazonaws.glacier#ResourceNotFoundException" }, { "target": "com.amazonaws.glacier#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "

This operation deletes the notification configuration set for a vault. The operation\n is eventually consistent; that is, it might take some time for Amazon S3 Glacier to completely\n disable the notifications and you might still receive some notifications for a short time\n after you send the delete request.

\n\n

An AWS account has full permission to perform all operations (actions). However, AWS\n Identity and Access Management (IAM) users don't have any permissions by default. You must\n grant them explicit permission to perform specific actions. For more information, see\n Access\n Control Using AWS Identity and Access Management (IAM).

\n

For conceptual information and underlying REST API, see Configuring Vault\n Notifications in Amazon S3 Glacier and Delete Vault\n Notification Configuration in the Amazon S3 Glacier Developer Guide.

", "smithy.api#http": { "method": "DELETE", "uri": "/{accountId}/vaults/{vaultName}/notification-configuration", "code": 204 } } }, "com.amazonaws.glacier#DeleteVaultNotificationsInput": { "type": "structure", "members": { "accountId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The AccountId value is the AWS account ID of the account that owns the\n vault. You can either specify an AWS account ID or optionally a single '-'\n (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the\n credentials used to sign the request. If you use an account ID, do not include any hyphens\n ('-') in the ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "vaultName": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The name of the vault.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Provides options for deleting a vault notification configuration from an Amazon\n Glacier vault.

" } }, "com.amazonaws.glacier#DescribeJob": { "type": "operation", "input": { "target": "com.amazonaws.glacier#DescribeJobInput" }, "output": { "target": "com.amazonaws.glacier#GlacierJobDescription" }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" }, { "target": "com.amazonaws.glacier#MissingParameterValueException" }, { "target": "com.amazonaws.glacier#ResourceNotFoundException" }, { "target": "com.amazonaws.glacier#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "

This operation returns information about a job you previously initiated, including\n the job initiation date, the user who initiated the job, the job status code/message and\n the Amazon SNS topic to notify after Amazon S3 Glacier (Glacier) completes the job. For more information\n about initiating a job, see InitiateJob.

\n\n \n

This operation enables you to check the status of your job. However, it is\n strongly recommended that you set up an Amazon SNS topic and specify it in your initiate\n job request so that Glacier can notify the topic after it completes the\n job.

\n
\n\n

A job ID will not expire for at least 24 hours after Glacier completes the\n job.

\n\n

An AWS account has full permission to perform all operations (actions). However, AWS\n Identity and Access Management (IAM) users don't have any permissions by default. You must\n grant them explicit permission to perform specific actions. For more information, see\n Access Control Using\n AWS Identity and Access Management (IAM).

\n\n

For more information about using this operation, \n see the documentation for the underlying REST API Describe Job \n in the Amazon Glacier Developer Guide.

", "smithy.api#http": { "method": "GET", "uri": "/{accountId}/vaults/{vaultName}/jobs/{jobId}", "code": 200 } } }, "com.amazonaws.glacier#DescribeJobInput": { "type": "structure", "members": { "accountId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The AccountId value is the AWS account ID of the account that owns the\n vault. You can either specify an AWS account ID or optionally a single '-'\n (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the\n credentials used to sign the request. If you use an account ID, do not include any hyphens\n ('-') in the ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "vaultName": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The name of the vault.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "jobId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The ID of the job to describe.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Provides options for retrieving a job description.

" } }, "com.amazonaws.glacier#DescribeVault": { "type": "operation", "input": { "target": "com.amazonaws.glacier#DescribeVaultInput" }, "output": { "target": "com.amazonaws.glacier#DescribeVaultOutput" }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" }, { "target": "com.amazonaws.glacier#MissingParameterValueException" }, { "target": "com.amazonaws.glacier#ResourceNotFoundException" }, { "target": "com.amazonaws.glacier#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "

This operation returns information about a vault, including the vault's Amazon\n Resource Name (ARN), the date the vault was created, the number of archives it contains,\n and the total size of all the archives in the vault. The number of archives and their total\n size are as of the last inventory generation. This means that if you add or remove an\n archive from a vault, and then immediately use Describe Vault, the change in contents will\n not be immediately reflected. If you want to retrieve the latest inventory of the vault,\n use InitiateJob. Amazon S3 Glacier generates vault inventories approximately\n daily. For more information, see Downloading a Vault Inventory in\n Amazon S3 Glacier.

\n\n

An AWS account has full permission to perform all operations (actions). However, AWS\n Identity and Access Management (IAM) users don't have any permissions by default. You must\n grant them explicit permission to perform specific actions. For more information, see\n Access Control Using\n AWS Identity and Access Management (IAM).

\n

For conceptual information and underlying REST API, see Retrieving Vault Metadata in\n Amazon S3 Glacier and Describe Vault in the\n Amazon Glacier Developer Guide.

", "smithy.api#http": { "method": "GET", "uri": "/{accountId}/vaults/{vaultName}", "code": 200 }, "smithy.waiters#waitable": { "VaultExists": { "acceptors": [ { "state": "success", "matcher": { "success": true } }, { "state": "retry", "matcher": { "errorType": "ResourceNotFoundException" } } ], "minDelay": 3 }, "VaultNotExists": { "acceptors": [ { "state": "retry", "matcher": { "success": true } }, { "state": "success", "matcher": { "errorType": "ResourceNotFoundException" } } ], "minDelay": 3 } } } }, "com.amazonaws.glacier#DescribeVaultInput": { "type": "structure", "members": { "accountId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The AccountId value is the AWS account ID of the account that owns the\n vault. You can either specify an AWS account ID or optionally a single '-'\n (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the\n credentials used to sign the request. If you use an account ID, do not include any hyphens\n ('-') in the ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "vaultName": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The name of the vault.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Provides options for retrieving metadata for a specific vault in Amazon\n Glacier.

" } }, "com.amazonaws.glacier#DescribeVaultOutput": { "type": "structure", "members": { "VaultARN": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the vault.

" } }, "VaultName": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The name of the vault.

" } }, "CreationDate": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The Universal Coordinated Time (UTC) date when the vault was created. This value\n should be a string in the ISO 8601 date format, for example\n 2012-03-20T17:03:43.221Z.

" } }, "LastInventoryDate": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The Universal Coordinated Time (UTC) date when Amazon S3 Glacier completed the last\n vault inventory. This value should be a string in the ISO 8601 date format, for example\n 2012-03-20T17:03:43.221Z.

" } }, "NumberOfArchives": { "target": "com.amazonaws.glacier#long", "traits": { "smithy.api#documentation": "

The number of archives in the vault as of the last inventory date. This field will\n return null if an inventory has not yet run on the vault, for example if you\n just created the vault.

" } }, "SizeInBytes": { "target": "com.amazonaws.glacier#long", "traits": { "smithy.api#documentation": "

Total size, in bytes, of the archives in the vault as of the last inventory date.\n This field will return null if an inventory has not yet run on the vault, for example if\n you just created the vault.

" } } }, "traits": { "smithy.api#documentation": "

Contains the Amazon S3 Glacier response to your request.

" } }, "com.amazonaws.glacier#Encryption": { "type": "structure", "members": { "EncryptionType": { "target": "com.amazonaws.glacier#EncryptionType", "traits": { "smithy.api#documentation": "

The server-side encryption algorithm used when storing job results in Amazon S3, for\n example AES256 or aws:kms.

" } }, "KMSKeyId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The AWS KMS key ID to use for object encryption. All GET and PUT requests for an\n object protected by AWS KMS fail if not made by using Secure Sockets Layer (SSL) or\n Signature Version 4.

" } }, "KMSContext": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

Optional. If the encryption type is aws:kms, you can use this value to\n specify the encryption context for the job results.

" } } }, "traits": { "smithy.api#documentation": "

Contains information about the encryption used to store the job results in Amazon S3.

" } }, "com.amazonaws.glacier#EncryptionType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "aws:kms", "name": "KMS" }, { "value": "AES256", "name": "S3" } ] } }, "com.amazonaws.glacier#ExpressionType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "SQL", "name": "SQL" } ] } }, "com.amazonaws.glacier#FileHeaderInfo": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "USE", "name": "Use" }, { "value": "IGNORE", "name": "Ignore" }, { "value": "NONE", "name": "None" } ] } }, "com.amazonaws.glacier#GetDataRetrievalPolicy": { "type": "operation", "input": { "target": "com.amazonaws.glacier#GetDataRetrievalPolicyInput" }, "output": { "target": "com.amazonaws.glacier#GetDataRetrievalPolicyOutput" }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" }, { "target": "com.amazonaws.glacier#MissingParameterValueException" }, { "target": "com.amazonaws.glacier#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "

This operation returns the current data retrieval policy for the account and region\n specified in the GET request. For more information about data retrieval policies, see\n Amazon Glacier Data Retrieval Policies.

", "smithy.api#http": { "method": "GET", "uri": "/{accountId}/policies/data-retrieval", "code": 200 } } }, "com.amazonaws.glacier#GetDataRetrievalPolicyInput": { "type": "structure", "members": { "accountId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The AccountId value is the AWS account ID. This value must match the AWS\n account ID associated with the credentials used to sign the request. You can either specify\n an AWS account ID or optionally a single '-' (hyphen), in which case Amazon\n Glacier uses the AWS account ID associated with the credentials used to sign the request.\n If you specify your account ID, do not include any hyphens ('-') in the ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Input for GetDataRetrievalPolicy.

" } }, "com.amazonaws.glacier#GetDataRetrievalPolicyOutput": { "type": "structure", "members": { "Policy": { "target": "com.amazonaws.glacier#DataRetrievalPolicy", "traits": { "smithy.api#documentation": "

Contains the returned data retrieval policy in JSON format.

" } } }, "traits": { "smithy.api#documentation": "

Contains the Amazon S3 Glacier response to the GetDataRetrievalPolicy\n request.

" } }, "com.amazonaws.glacier#GetJobOutput": { "type": "operation", "input": { "target": "com.amazonaws.glacier#GetJobOutputInput" }, "output": { "target": "com.amazonaws.glacier#GetJobOutputOutput" }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" }, { "target": "com.amazonaws.glacier#MissingParameterValueException" }, { "target": "com.amazonaws.glacier#ResourceNotFoundException" }, { "target": "com.amazonaws.glacier#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "

This operation downloads the output of the job you initiated using InitiateJob. Depending on the job type you specified when you initiated the\n job, the output will be either the content of an archive or a vault inventory.

\n\n

You can download all the job output or download a portion of the output by specifying\n a byte range. In the case of an archive retrieval job, depending on the byte range you\n specify, Amazon S3 Glacier (Glacier) returns the checksum for the portion of the data. You can compute the\n checksum on the client and verify that the values match to ensure the portion you downloaded\n is the correct data.

\n

A job ID will not expire for at least 24 hours after Glacier completes the job. That\n a byte range. For both archive and inventory retrieval jobs, you should verify the downloaded \n size against the size returned in the headers from the \n Get Job Output response.

\n

For archive retrieval jobs, you should also verify that the size is what you expected. If\n you download a portion of the output, the expected size is based on the range of bytes\n you specified. For example, if you specify a range of bytes=0-1048575, you should\n verify your download size is 1,048,576 bytes. If you download an entire archive, the\n expected size is the size of the archive when you uploaded it to Amazon S3 Glacier\n The expected size is also returned in the headers from the \n Get Job Output response.

\n

In the case of an archive retrieval job, depending on the byte range you\n specify, Glacier returns the checksum for the portion of the data. To ensure the portion you downloaded \n is the correct data, compute the checksum on the client, verify that the values match, \n and verify that the size is what you expected.

\n \n

A job ID does not expire for at least 24 hours after Glacier completes the\n job. That is, you can download the job output within the 24 hours period after Amazon\n Glacier completes the job.

\n\n

An AWS account has full permission to perform all operations (actions). However, AWS\n Identity and Access Management (IAM) users don't have any permissions by default. You must\n grant them explicit permission to perform specific actions. For more information, see\n Access Control Using\n AWS Identity and Access Management (IAM).

\n

For conceptual information and the underlying REST API, see Downloading a\n Vault Inventory, Downloading an\n Archive, and Get Job Output \n

", "smithy.api#http": { "method": "GET", "uri": "/{accountId}/vaults/{vaultName}/jobs/{jobId}/output", "code": 200 } } }, "com.amazonaws.glacier#GetJobOutputInput": { "type": "structure", "members": { "accountId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The AccountId value is the AWS account ID of the account that owns the\n vault. You can either specify an AWS account ID or optionally a single '-'\n (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the\n credentials used to sign the request. If you use an account ID, do not include any hyphens\n ('-') in the ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "vaultName": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The name of the vault.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "jobId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The job ID whose data is downloaded.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "range": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The range of bytes to retrieve from the output. For example, if you want to download\n the first 1,048,576 bytes, specify the range as bytes=0-1048575. By default, this operation\n downloads the entire output.

\n \n

If the job output is large, then you can use a range to\n retrieve a portion of the output. This allows you to download the entire output in smaller\n chunks of bytes. For example, suppose you have 1 GB of job output you want to download and\n you decide to download 128 MB chunks of data at a time, which is a total of eight Get Job\n Output requests. You use the following process to download the job output:

\n \n
    \n
  1. \n

    Download a 128 MB chunk of output by specifying the appropriate byte range.\n Verify that all 128 MB of data was received.

    \n
  2. \n
  3. \n

    Along with the data, the response includes a SHA256 tree hash of the payload.\n You compute the checksum of the payload on the client and compare it with the\n checksum you received in the response to ensure you received all the expected\n data.

    \n
  4. \n
  5. \n

    Repeat steps 1 and 2 for all the eight 128 MB chunks of output data, each time\n specifying the appropriate byte range.

    \n
  6. \n
  7. \n

    After downloading all the parts of the job output, you have a list of eight\n checksum values. Compute the tree hash of these values to find the checksum of the\n entire output. Using the DescribeJob API, obtain job information of\n the job that provided you the output. The response includes the checksum of the\n entire archive stored in Amazon S3 Glacier. You compare this value with the checksum you\n computed to ensure you have downloaded the entire archive content with no\n errors.

    \n

    \n
  8. \n
", "smithy.api#httpHeader": "Range" } } }, "traits": { "smithy.api#documentation": "

Provides options for downloading output of an Amazon S3 Glacier job.

" } }, "com.amazonaws.glacier#GetJobOutputOutput": { "type": "structure", "members": { "body": { "target": "com.amazonaws.glacier#Stream", "traits": { "smithy.api#documentation": "

The job data, either archive data or inventory data.

", "smithy.api#httpPayload": {} } }, "checksum": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The checksum of the data in the response. This header is returned only when\n retrieving the output for an archive retrieval job. Furthermore, this header appears only\n under the following conditions:

\n ", "smithy.api#httpHeader": "x-amz-sha256-tree-hash" } }, "status": { "target": "com.amazonaws.glacier#httpstatus", "traits": { "smithy.api#documentation": "

The HTTP response code for a job output request. The value depends on whether a range\n was specified in the request.

", "smithy.api#httpResponseCode": {} } }, "contentRange": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The range of bytes returned by Amazon S3 Glacier. If only partial output is downloaded,\n the response provides the range of bytes Amazon S3 Glacier returned. For example, bytes\n 0-1048575/8388608 returns the first 1 MB from 8 MB.

", "smithy.api#httpHeader": "Content-Range" } }, "acceptRanges": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

Indicates the range units accepted. For more information, see RFC2616.

", "smithy.api#httpHeader": "Accept-Ranges" } }, "contentType": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The Content-Type depends on whether the job output is an archive or a vault\n inventory. For archive data, the Content-Type is application/octet-stream. For vault\n inventory, if you requested CSV format when you initiated the job, the Content-Type is\n text/csv. Otherwise, by default, vault inventory is returned as JSON, and the Content-Type\n is application/json.

", "smithy.api#httpHeader": "Content-Type" } }, "archiveDescription": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The description of an archive.

", "smithy.api#httpHeader": "x-amz-archive-description" } } }, "traits": { "smithy.api#documentation": "

Contains the Amazon S3 Glacier response to your request.

" } }, "com.amazonaws.glacier#GetVaultAccessPolicy": { "type": "operation", "input": { "target": "com.amazonaws.glacier#GetVaultAccessPolicyInput" }, "output": { "target": "com.amazonaws.glacier#GetVaultAccessPolicyOutput" }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" }, { "target": "com.amazonaws.glacier#MissingParameterValueException" }, { "target": "com.amazonaws.glacier#ResourceNotFoundException" }, { "target": "com.amazonaws.glacier#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "

This operation retrieves the access-policy subresource set on the vault;\n for more information on setting this subresource, see Set Vault Access Policy\n (PUT access-policy). If there is no access policy set on the vault, the\n operation returns a 404 Not found error. For more information about vault\n access policies, see Amazon Glacier Access Control\n with Vault Access Policies.

", "smithy.api#http": { "method": "GET", "uri": "/{accountId}/vaults/{vaultName}/access-policy", "code": 200 } } }, "com.amazonaws.glacier#GetVaultAccessPolicyInput": { "type": "structure", "members": { "accountId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The AccountId value is the AWS account ID of the account that owns the\n vault. You can either specify an AWS account ID or optionally a single '-'\n (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the\n credentials used to sign the request. If you use an account ID, do not include any hyphens\n ('-') in the ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "vaultName": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The name of the vault.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Input for GetVaultAccessPolicy.

" } }, "com.amazonaws.glacier#GetVaultAccessPolicyOutput": { "type": "structure", "members": { "policy": { "target": "com.amazonaws.glacier#VaultAccessPolicy", "traits": { "smithy.api#documentation": "

Contains the returned vault access policy as a JSON string.

", "smithy.api#httpPayload": {} } } }, "traits": { "smithy.api#documentation": "

Output for GetVaultAccessPolicy.

" } }, "com.amazonaws.glacier#GetVaultLock": { "type": "operation", "input": { "target": "com.amazonaws.glacier#GetVaultLockInput" }, "output": { "target": "com.amazonaws.glacier#GetVaultLockOutput" }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" }, { "target": "com.amazonaws.glacier#MissingParameterValueException" }, { "target": "com.amazonaws.glacier#ResourceNotFoundException" }, { "target": "com.amazonaws.glacier#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "

This operation retrieves the following attributes from the lock-policy\n subresource set on the specified vault:

\n \n\n

A vault lock is put into the InProgress state by calling InitiateVaultLock. A vault lock is put into the Locked state by\n calling CompleteVaultLock. You can abort the vault locking process by\n calling AbortVaultLock. For more information about the vault locking\n process, Amazon\n Glacier Vault Lock.

\n

If there is no vault lock policy set on the vault, the operation returns a 404\n Not found error. For more information about vault lock policies, Amazon\n Glacier Access Control with Vault Lock Policies.

", "smithy.api#http": { "method": "GET", "uri": "/{accountId}/vaults/{vaultName}/lock-policy", "code": 200 } } }, "com.amazonaws.glacier#GetVaultLockInput": { "type": "structure", "members": { "accountId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The AccountId value is the AWS account ID of the account that owns the\n vault. You can either specify an AWS account ID or optionally a single '-'\n (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the\n credentials used to sign the request. If you use an account ID, do not include any hyphens\n ('-') in the ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "vaultName": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The name of the vault.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

The input values for GetVaultLock.

" } }, "com.amazonaws.glacier#GetVaultLockOutput": { "type": "structure", "members": { "Policy": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The vault lock policy as a JSON string, which uses \"\\\" as an escape\n character.

" } }, "State": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The state of the vault lock. InProgress or\n Locked.

" } }, "ExpirationDate": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The UTC date and time at which the lock ID expires. This value can be\n null if the vault lock is in a Locked state.

" } }, "CreationDate": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The UTC date and time at which the vault lock was put into the\n InProgress state.

" } } }, "traits": { "smithy.api#documentation": "

Contains the Amazon S3 Glacier response to your request.

" } }, "com.amazonaws.glacier#GetVaultNotifications": { "type": "operation", "input": { "target": "com.amazonaws.glacier#GetVaultNotificationsInput" }, "output": { "target": "com.amazonaws.glacier#GetVaultNotificationsOutput" }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" }, { "target": "com.amazonaws.glacier#MissingParameterValueException" }, { "target": "com.amazonaws.glacier#ResourceNotFoundException" }, { "target": "com.amazonaws.glacier#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "

This operation retrieves the notification-configuration subresource of\n the specified vault.

\n\n

For information about setting a notification configuration on a vault, see SetVaultNotifications. If a notification configuration for a vault is not\n set, the operation returns a 404 Not Found error. For more information about\n vault notifications, see Configuring Vault\n Notifications in Amazon S3 Glacier.

\n\n

An AWS account has full permission to perform all operations (actions). However, AWS\n Identity and Access Management (IAM) users don't have any permissions by default. You must\n grant them explicit permission to perform specific actions. For more information, see\n Access Control Using\n AWS Identity and Access Management (IAM).

\n

For conceptual information and underlying REST API, see Configuring Vault\n Notifications in Amazon S3 Glacier and Get Vault Notification\n Configuration in the Amazon Glacier Developer Guide.

", "smithy.api#http": { "method": "GET", "uri": "/{accountId}/vaults/{vaultName}/notification-configuration", "code": 200 } } }, "com.amazonaws.glacier#GetVaultNotificationsInput": { "type": "structure", "members": { "accountId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The AccountId value is the AWS account ID of the account that owns the\n vault. You can either specify an AWS account ID or optionally a single '-'\n (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the\n credentials used to sign the request. If you use an account ID, do not include any hyphens\n ('-') in the ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "vaultName": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The name of the vault.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Provides options for retrieving the notification configuration set on an Amazon\n Glacier vault.

" } }, "com.amazonaws.glacier#GetVaultNotificationsOutput": { "type": "structure", "members": { "vaultNotificationConfig": { "target": "com.amazonaws.glacier#VaultNotificationConfig", "traits": { "smithy.api#documentation": "

Returns the notification configuration set on the vault.

", "smithy.api#httpPayload": {} } } }, "traits": { "smithy.api#documentation": "

Contains the Amazon S3 Glacier response to your request.

" } }, "com.amazonaws.glacier#Glacier": { "type": "service", "version": "2012-06-01", "operations": [ { "target": "com.amazonaws.glacier#AbortMultipartUpload" }, { "target": "com.amazonaws.glacier#AbortVaultLock" }, { "target": "com.amazonaws.glacier#AddTagsToVault" }, { "target": "com.amazonaws.glacier#CompleteMultipartUpload" }, { "target": "com.amazonaws.glacier#CompleteVaultLock" }, { "target": "com.amazonaws.glacier#CreateVault" }, { "target": "com.amazonaws.glacier#DeleteArchive" }, { "target": "com.amazonaws.glacier#DeleteVault" }, { "target": "com.amazonaws.glacier#DeleteVaultAccessPolicy" }, { "target": "com.amazonaws.glacier#DeleteVaultNotifications" }, { "target": "com.amazonaws.glacier#DescribeJob" }, { "target": "com.amazonaws.glacier#DescribeVault" }, { "target": "com.amazonaws.glacier#GetDataRetrievalPolicy" }, { "target": "com.amazonaws.glacier#GetJobOutput" }, { "target": "com.amazonaws.glacier#GetVaultAccessPolicy" }, { "target": "com.amazonaws.glacier#GetVaultLock" }, { "target": "com.amazonaws.glacier#GetVaultNotifications" }, { "target": "com.amazonaws.glacier#InitiateJob" }, { "target": "com.amazonaws.glacier#InitiateMultipartUpload" }, { "target": "com.amazonaws.glacier#InitiateVaultLock" }, { "target": "com.amazonaws.glacier#ListJobs" }, { "target": "com.amazonaws.glacier#ListMultipartUploads" }, { "target": "com.amazonaws.glacier#ListParts" }, { "target": "com.amazonaws.glacier#ListProvisionedCapacity" }, { "target": "com.amazonaws.glacier#ListTagsForVault" }, { "target": "com.amazonaws.glacier#ListVaults" }, { "target": "com.amazonaws.glacier#PurchaseProvisionedCapacity" }, { "target": "com.amazonaws.glacier#RemoveTagsFromVault" }, { "target": "com.amazonaws.glacier#SetDataRetrievalPolicy" }, { "target": "com.amazonaws.glacier#SetVaultAccessPolicy" }, { "target": "com.amazonaws.glacier#SetVaultNotifications" }, { "target": "com.amazonaws.glacier#UploadArchive" }, { "target": "com.amazonaws.glacier#UploadMultipartPart" } ], "traits": { "aws.api#service": { "sdkId": "Glacier", "arnNamespace": "glacier", "cloudFormationName": "Glacier", "cloudTrailEventSource": "glacier.amazonaws.com", "endpointPrefix": "glacier" }, "aws.auth#sigv4": { "name": "glacier" }, "aws.protocols#restJson1": {}, "smithy.api#documentation": "

Amazon S3 Glacier (Glacier) is a storage solution for \"cold data.\"

\n\n

Glacier is an extremely low-cost storage service that provides secure,\n durable, and easy-to-use storage for data backup and archival. With Glacier,\n customers can store their data cost effectively for months, years, or decades. \n Glacier also enables customers to offload the administrative burdens of operating and\n scaling storage to AWS, so they don't have to worry about capacity planning, hardware\n provisioning, data replication, hardware failure and recovery, or time-consuming hardware\n migrations.

\n\n

Glacier is a great storage choice when low storage cost is paramount and your\n data is rarely retrieved. If your\n application requires fast or frequent access to your data, consider using Amazon S3. For\n more information, see Amazon Simple Storage Service\n (Amazon S3).

\n\n

You can store any kind of data in any format. There is no maximum limit on the total\n amount of data you can store in Glacier.

\n\n

If you are a first-time user of Glacier, we recommend that you begin by\n reading the following sections in the Amazon S3 Glacier Developer\n Guide:

\n ", "smithy.api#title": "Amazon Glacier", "smithy.api#xmlNamespace": { "uri": "http://glacier.amazonaws.com/doc/2012-06-01/" } } }, "com.amazonaws.glacier#GlacierJobDescription": { "type": "structure", "members": { "JobId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

An opaque string that identifies an Amazon S3 Glacier job.

" } }, "JobDescription": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The job description provided when initiating the job.

" } }, "Action": { "target": "com.amazonaws.glacier#ActionCode", "traits": { "smithy.api#documentation": "

The job type. This value is either ArchiveRetrieval,\n InventoryRetrieval, or\n Select.

" } }, "ArchiveId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The archive ID requested for a select job or archive retrieval. Otherwise, this\n field is null.

" } }, "VaultARN": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the vault from which an archive retrieval was\n requested.

" } }, "CreationDate": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The UTC date when the job was created. This value is a string representation of ISO\n 8601 date format, for example \"2012-03-20T17:03:43.221Z\".

" } }, "Completed": { "target": "com.amazonaws.glacier#boolean", "traits": { "smithy.api#documentation": "

The job status. When a job is completed, you get the job's output using Get Job\n Output (GET output).

" } }, "StatusCode": { "target": "com.amazonaws.glacier#StatusCode", "traits": { "smithy.api#documentation": "

The status code can be InProgress, Succeeded, or\n Failed, and indicates the status of the job.

" } }, "StatusMessage": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

A friendly message that describes the job status.

" } }, "ArchiveSizeInBytes": { "target": "com.amazonaws.glacier#Size", "traits": { "smithy.api#documentation": "

For an archive retrieval job, this value is the size in bytes of the archive being\n requested for download. For an inventory retrieval or select job, this value is\n null.

" } }, "InventorySizeInBytes": { "target": "com.amazonaws.glacier#Size", "traits": { "smithy.api#documentation": "

For an inventory retrieval job, this value is the size in bytes of the inventory\n requested for download. For an archive retrieval or select job, this value is\n null.

" } }, "SNSTopic": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

An Amazon SNS topic that receives notification.

" } }, "CompletionDate": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The UTC time that the job request completed. While the job is in progress, the\n value is null.

" } }, "SHA256TreeHash": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

For an archive retrieval job, this value is the checksum of the archive. Otherwise,\n this value is null.

\n

The SHA256 tree hash value for the requested range of an archive. If the InitiateJob request for an archive specified a tree-hash\n aligned range, then this field returns a value.

\n

If the whole archive is retrieved, this value is the same as the\n ArchiveSHA256TreeHash value.

\n

This field is null for the following:

\n \n \n " } }, "ArchiveSHA256TreeHash": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The SHA256 tree hash of the entire archive for an archive retrieval. For inventory\n retrieval or select jobs, this field is null.

" } }, "RetrievalByteRange": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The retrieved byte range for archive retrieval jobs in the form\n StartByteValue-EndByteValue. If no range\n was specified in the archive retrieval, then the whole archive is retrieved. In this\n case, StartByteValue equals 0 and EndByteValue\n equals the size of the archive minus 1. For inventory retrieval or select jobs, this\n field is null.

" } }, "Tier": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The tier to use for a select or an archive retrieval. Valid values are\n Expedited, Standard, or Bulk.\n Standard is the default.

" } }, "InventoryRetrievalParameters": { "target": "com.amazonaws.glacier#InventoryRetrievalJobDescription", "traits": { "smithy.api#documentation": "

Parameters used for range inventory retrieval.

" } }, "JobOutputPath": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

Contains the job output location.

" } }, "SelectParameters": { "target": "com.amazonaws.glacier#SelectParameters", "traits": { "smithy.api#documentation": "

Contains the parameters used for a select.

" } }, "OutputLocation": { "target": "com.amazonaws.glacier#OutputLocation", "traits": { "smithy.api#documentation": "

Contains the location where the data from the select job is stored.

" } } }, "traits": { "smithy.api#documentation": "

Contains the description of an Amazon S3 Glacier job.

" } }, "com.amazonaws.glacier#Grant": { "type": "structure", "members": { "Grantee": { "target": "com.amazonaws.glacier#Grantee", "traits": { "smithy.api#documentation": "

The grantee.

" } }, "Permission": { "target": "com.amazonaws.glacier#Permission", "traits": { "smithy.api#documentation": "

Specifies the permission given to the grantee.

" } } }, "traits": { "smithy.api#documentation": "

Contains information about a grant.

" } }, "com.amazonaws.glacier#Grantee": { "type": "structure", "members": { "Type": { "target": "com.amazonaws.glacier#Type", "traits": { "smithy.api#documentation": "

Type of grantee

", "smithy.api#required": {} } }, "DisplayName": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

Screen name of the grantee.

" } }, "URI": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

URI of the grantee group.

" } }, "ID": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The canonical user ID of the grantee.

" } }, "EmailAddress": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

Email address of the grantee.

" } } }, "traits": { "smithy.api#documentation": "

Contains information about the grantee.

" } }, "com.amazonaws.glacier#InitiateJob": { "type": "operation", "input": { "target": "com.amazonaws.glacier#InitiateJobInput" }, "output": { "target": "com.amazonaws.glacier#InitiateJobOutput" }, "errors": [ { "target": "com.amazonaws.glacier#InsufficientCapacityException" }, { "target": "com.amazonaws.glacier#InvalidParameterValueException" }, { "target": "com.amazonaws.glacier#MissingParameterValueException" }, { "target": "com.amazonaws.glacier#PolicyEnforcedException" }, { "target": "com.amazonaws.glacier#ResourceNotFoundException" }, { "target": "com.amazonaws.glacier#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "

This operation initiates a job of the specified type, which can be a select, an archival retrieval,\n or a vault retrieval. For more information about using this operation, \n see the documentation for the underlying REST API Initiate\n a Job.\n

", "smithy.api#http": { "method": "POST", "uri": "/{accountId}/vaults/{vaultName}/jobs", "code": 202 } } }, "com.amazonaws.glacier#InitiateJobInput": { "type": "structure", "members": { "accountId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The AccountId value is the AWS account ID of the account that owns the\n vault. You can either specify an AWS account ID or optionally a single '-'\n (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the\n credentials used to sign the request. If you use an account ID, do not include any hyphens\n ('-') in the ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "vaultName": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The name of the vault.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "jobParameters": { "target": "com.amazonaws.glacier#JobParameters", "traits": { "smithy.api#documentation": "

Provides options for specifying job information.

", "smithy.api#httpPayload": {} } } }, "traits": { "smithy.api#documentation": "

Provides options for initiating an Amazon S3 Glacier job.

" } }, "com.amazonaws.glacier#InitiateJobOutput": { "type": "structure", "members": { "location": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The relative URI path of the job.

", "smithy.api#httpHeader": "Location" } }, "jobId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The ID of the job.

", "smithy.api#httpHeader": "x-amz-job-id" } }, "jobOutputPath": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The path to the location of where the select results are stored.

", "smithy.api#httpHeader": "x-amz-job-output-path" } } }, "traits": { "smithy.api#documentation": "

Contains the Amazon S3 Glacier response to your request.

" } }, "com.amazonaws.glacier#InitiateMultipartUpload": { "type": "operation", "input": { "target": "com.amazonaws.glacier#InitiateMultipartUploadInput" }, "output": { "target": "com.amazonaws.glacier#InitiateMultipartUploadOutput" }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" }, { "target": "com.amazonaws.glacier#MissingParameterValueException" }, { "target": "com.amazonaws.glacier#ResourceNotFoundException" }, { "target": "com.amazonaws.glacier#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "

This operation initiates a multipart upload. Amazon S3 Glacier creates a multipart\n upload resource and returns its ID in the response. The multipart upload ID is used in\n subsequent requests to upload parts of an archive (see UploadMultipartPart).

\n\n

When you initiate a multipart upload, you specify the part size in number of bytes.\n The part size must be a megabyte (1024 KB) multiplied by a power of 2-for example, 1048576\n (1 MB), 2097152 (2 MB), 4194304 (4 MB), 8388608 (8 MB), and so on. The minimum allowable\n part size is 1 MB, and the maximum is 4 GB.

\n\n

Every part you upload to this resource (see UploadMultipartPart),\n except the last one, must have the same size. The last one can be the same size or smaller.\n For example, suppose you want to upload a 16.2 MB file. If you initiate the multipart\n upload with a part size of 4 MB, you will upload four parts of 4 MB each and one part of\n 0.2 MB.

\n\n \n

You don't need to know the size of the archive when you start a multipart upload\n because Amazon S3 Glacier does not require you to specify the overall archive\n size.

\n
\n\n

After you complete the multipart upload, Amazon S3 Glacier (Glacier) removes the multipart upload\n resource referenced by the ID. Glacier also removes the multipart upload resource if\n you cancel the multipart upload or it may be removed if there is no activity for a period\n of 24 hours.

\n\n

An AWS account has full permission to perform all operations (actions). However, AWS\n Identity and Access Management (IAM) users don't have any permissions by default. You must\n grant them explicit permission to perform specific actions. For more information, see\n Access Control Using\n AWS Identity and Access Management (IAM).

\n

For conceptual information and underlying REST API, see Uploading Large Archives in\n Parts (Multipart Upload) and Initiate Multipart\n Upload in the Amazon Glacier Developer Guide.

", "smithy.api#http": { "method": "POST", "uri": "/{accountId}/vaults/{vaultName}/multipart-uploads", "code": 201 } } }, "com.amazonaws.glacier#InitiateMultipartUploadInput": { "type": "structure", "members": { "accountId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The AccountId value is the AWS account ID of the account that owns the\n vault. You can either specify an AWS account ID or optionally a single '-'\n (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the\n credentials used to sign the request. If you use an account ID, do not include any hyphens\n ('-') in the ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "vaultName": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The name of the vault.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "archiveDescription": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The archive description that you are uploading in parts.

\n

The part size must be a megabyte (1024 KB) multiplied by a power of 2, for example\n 1048576 (1 MB), 2097152 (2 MB), 4194304 (4 MB), 8388608 (8 MB), and so on. The minimum\n allowable part size is 1 MB, and the maximum is 4 GB (4096 MB).

", "smithy.api#httpHeader": "x-amz-archive-description" } }, "partSize": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The size of each part except the last, in bytes. The last part can be smaller than\n this part size.

", "smithy.api#httpHeader": "x-amz-part-size" } } }, "traits": { "smithy.api#documentation": "

Provides options for initiating a multipart upload to an Amazon S3 Glacier\n vault.

" } }, "com.amazonaws.glacier#InitiateMultipartUploadOutput": { "type": "structure", "members": { "location": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The relative URI path of the multipart upload ID Amazon S3 Glacier created.

", "smithy.api#httpHeader": "Location" } }, "uploadId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The ID of the multipart upload. This value is also included as part of the\n location.

", "smithy.api#httpHeader": "x-amz-multipart-upload-id" } } }, "traits": { "smithy.api#documentation": "

The Amazon S3 Glacier response to your request.

" } }, "com.amazonaws.glacier#InitiateVaultLock": { "type": "operation", "input": { "target": "com.amazonaws.glacier#InitiateVaultLockInput" }, "output": { "target": "com.amazonaws.glacier#InitiateVaultLockOutput" }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" }, { "target": "com.amazonaws.glacier#MissingParameterValueException" }, { "target": "com.amazonaws.glacier#ResourceNotFoundException" }, { "target": "com.amazonaws.glacier#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "

This operation initiates the vault locking process by doing the following:

\n \n\n

You can set one vault lock policy for each vault and this policy can be up to 20 KB\n in size. For more information about vault lock policies, see Amazon Glacier Access Control with\n Vault Lock Policies.

\n

You must complete the vault locking process within 24 hours after the vault lock\n enters the InProgress state. After the 24 hour window ends, the lock ID\n expires, the vault automatically exits the InProgress state, and the vault\n lock policy is removed from the vault. You call CompleteVaultLock to\n complete the vault locking process by setting the state of the vault lock to\n Locked.

\n

After a vault lock is in the Locked state, you cannot initiate a new\n vault lock for the vault.

\n\n

You can abort the vault locking process by calling AbortVaultLock.\n You can get the state of the vault lock by calling GetVaultLock. For more\n information about the vault locking process, Amazon Glacier Vault\n Lock.

\n\n

If this operation is called when the vault lock is in the InProgress\n state, the operation returns an AccessDeniedException error. When the vault\n lock is in the InProgress state you must call AbortVaultLock\n before you can initiate a new vault lock policy.

", "smithy.api#http": { "method": "POST", "uri": "/{accountId}/vaults/{vaultName}/lock-policy", "code": 201 } } }, "com.amazonaws.glacier#InitiateVaultLockInput": { "type": "structure", "members": { "accountId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The AccountId value is the AWS account ID. This value must match the AWS\n account ID associated with the credentials used to sign the request. You can either specify\n an AWS account ID or optionally a single '-' (hyphen), in which case Amazon\n Glacier uses the AWS account ID associated with the credentials used to sign the request.\n If you specify your account ID, do not include any hyphens ('-') in the ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "vaultName": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The name of the vault.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "policy": { "target": "com.amazonaws.glacier#VaultLockPolicy", "traits": { "smithy.api#documentation": "

The vault lock policy as a JSON string, which uses \"\\\" as an escape\n character.

", "smithy.api#httpPayload": {} } } }, "traits": { "smithy.api#documentation": "

The input values for InitiateVaultLock.

" } }, "com.amazonaws.glacier#InitiateVaultLockOutput": { "type": "structure", "members": { "lockId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The lock ID, which is used to complete the vault locking process.

", "smithy.api#httpHeader": "x-amz-lock-id" } } }, "traits": { "smithy.api#documentation": "

Contains the Amazon S3 Glacier response to your request.

" } }, "com.amazonaws.glacier#InputSerialization": { "type": "structure", "members": { "csv": { "target": "com.amazonaws.glacier#CSVInput", "traits": { "smithy.api#documentation": "

Describes the serialization of a CSV-encoded object.

" } } }, "traits": { "smithy.api#documentation": "

Describes how the archive is serialized.

" } }, "com.amazonaws.glacier#InsufficientCapacityException": { "type": "structure", "members": { "type": { "target": "com.amazonaws.glacier#string" }, "code": { "target": "com.amazonaws.glacier#string" }, "message": { "target": "com.amazonaws.glacier#string" } }, "traits": { "smithy.api#documentation": "

Returned if there is insufficient capacity to process this expedited request. This\n error only applies to expedited retrievals and not to standard or bulk\n retrievals.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.glacier#InvalidParameterValueException": { "type": "structure", "members": { "type": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

Client

" } }, "code": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

400 Bad Request

" } }, "message": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

Returned if a parameter of the request is incorrectly specified.

" } } }, "traits": { "smithy.api#documentation": "

Returned if a parameter of the request is incorrectly specified.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.glacier#InventoryRetrievalJobDescription": { "type": "structure", "members": { "Format": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The output format for the vault inventory list, which is set by the InitiateJob request when initiating a job to retrieve a vault\n inventory. Valid values are CSV and JSON.

" } }, "StartDate": { "target": "com.amazonaws.glacier#DateTime", "traits": { "smithy.api#documentation": "

The start of the date range in Universal Coordinated Time (UTC) for vault inventory\n retrieval that includes archives created on or after this date. This value should be a\n string in the ISO 8601 date format, for example\n 2013-03-20T17:03:43Z.

" } }, "EndDate": { "target": "com.amazonaws.glacier#DateTime", "traits": { "smithy.api#documentation": "

The end of the date range in UTC for vault inventory retrieval that includes\n archives created before this date. This value should be a string in the ISO 8601 date\n format, for example 2013-03-20T17:03:43Z.

" } }, "Limit": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The maximum number of inventory items returned per vault inventory retrieval\n request. This limit is set when initiating the job with the a InitiateJob request.

" } }, "Marker": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

An opaque string that represents where to continue pagination of the vault\n inventory retrieval results. You use the marker in a new InitiateJob request to obtain additional inventory items. If there are\n no more inventory items, this value is null. For more information, see\n Range Inventory Retrieval.

" } } }, "traits": { "smithy.api#documentation": "

Describes the options for a range inventory retrieval job.

" } }, "com.amazonaws.glacier#InventoryRetrievalJobInput": { "type": "structure", "members": { "StartDate": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The start of the date range in UTC for vault inventory retrieval that includes\n archives created on or after this date. This value should be a string in the ISO 8601 date\n format, for example 2013-03-20T17:03:43Z.

" } }, "EndDate": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The end of the date range in UTC for vault inventory retrieval that includes archives\n created before this date. This value should be a string in the ISO 8601 date format, for\n example 2013-03-20T17:03:43Z.

" } }, "Limit": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

Specifies the maximum number of inventory items returned per vault inventory\n retrieval request. Valid values are greater than or equal to 1.

" } }, "Marker": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

An opaque string that represents where to continue pagination of the vault inventory\n retrieval results. You use the marker in a new InitiateJob\n request to obtain additional inventory items. If there are no more inventory items, this\n value is null.

" } } }, "traits": { "smithy.api#documentation": "

Provides options for specifying a range inventory retrieval job.

" } }, "com.amazonaws.glacier#JobList": { "type": "list", "member": { "target": "com.amazonaws.glacier#GlacierJobDescription" } }, "com.amazonaws.glacier#JobParameters": { "type": "structure", "members": { "Format": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

When initiating a job to retrieve a vault inventory, you can optionally add this\n parameter to your request to specify the output format. If you are initiating an inventory\n job and do not specify a Format field, JSON is the default format. Valid values are \"CSV\"\n and \"JSON\".

" } }, "Type": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The job type. You can initiate a job to perform a select query on an archive, \n retrieve an archive, or get an inventory of a vault. \n Valid values are \"select\", \"archive-retrieval\" and \"inventory-retrieval\".

" } }, "ArchiveId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The ID of the archive that you want to retrieve. This field is required only if\n Type is set to select or archive-retrievalcode>. \n An error occurs if you specify this\n request parameter for an inventory retrieval job request.

" } }, "Description": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The optional description for the job. The description must be less than or equal to\n 1,024 bytes. The allowable characters are 7-bit ASCII without control codes-specifically,\n ASCII values 32-126 decimal or 0x20-0x7E hexadecimal.

" } }, "SNSTopic": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The Amazon SNS topic ARN to which Amazon S3 Glacier sends a notification when the job is\n completed and the output is ready for you to download. The specified topic publishes the\n notification to its subscribers. The SNS topic must exist.

" } }, "RetrievalByteRange": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The byte range to retrieve for an archive retrieval. in the form\n \"StartByteValue-EndByteValue\" If not\n specified, the whole archive is retrieved. If specified, the byte range must be megabyte\n (1024*1024) aligned which means that StartByteValue must be divisible\n by 1 MB and EndByteValue plus 1 must be divisible by 1 MB or be the\n end of the archive specified as the archive byte size value minus 1. If RetrievalByteRange\n is not megabyte aligned, this operation returns a 400 response.

\n

An error occurs if you specify this field for an inventory retrieval job\n request.

" } }, "Tier": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The tier to use for a select or an archive retrieval job. Valid values are\n Expedited, Standard, or Bulk.\n Standard is the default.

" } }, "InventoryRetrievalParameters": { "target": "com.amazonaws.glacier#InventoryRetrievalJobInput", "traits": { "smithy.api#documentation": "

Input parameters used for range inventory retrieval.

" } }, "SelectParameters": { "target": "com.amazonaws.glacier#SelectParameters", "traits": { "smithy.api#documentation": "

Contains the parameters that define a job.

" } }, "OutputLocation": { "target": "com.amazonaws.glacier#OutputLocation", "traits": { "smithy.api#documentation": "

Contains information about the location where the select job results are stored.

" } } }, "traits": { "smithy.api#documentation": "

Provides options for defining a job.

" } }, "com.amazonaws.glacier#LimitExceededException": { "type": "structure", "members": { "type": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

Client

" } }, "code": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

400 Bad Request

" } }, "message": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

Returned if the request results in a vault limit or tags limit being exceeded.

" } } }, "traits": { "smithy.api#documentation": "

Returned if the request results in a vault or account limit being exceeded.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.glacier#ListJobs": { "type": "operation", "input": { "target": "com.amazonaws.glacier#ListJobsInput" }, "output": { "target": "com.amazonaws.glacier#ListJobsOutput" }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" }, { "target": "com.amazonaws.glacier#MissingParameterValueException" }, { "target": "com.amazonaws.glacier#ResourceNotFoundException" }, { "target": "com.amazonaws.glacier#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "

This operation lists jobs for a vault, including jobs that are in-progress and jobs\n that have recently finished. The List Job operation returns a list of these jobs sorted by job initiation\n time.

\n\n \n

Amazon Glacier retains recently completed jobs for a period before deleting them;\n however, it eventually removes completed jobs. The output of completed jobs can be\n retrieved. Retaining completed jobs for a period of time after they have completed\n enables you to get a job output in the event you miss the job completion notification or\n your first attempt to download it fails. For example, suppose you start an archive\n retrieval job to download an archive. After the job completes, you start to download the\n archive but encounter a network error. In this scenario, you can retry and download the\n archive while the job exists.

\n
\n\n

The List Jobs operation supports pagination. You should always check the response Marker field. \n If there are no more jobs to list, the Marker field is set to null. If there are more jobs to list, \n the Marker field is set to a non-null value, which you can use to continue the pagination of the list. \n To return a list of jobs that begins at a specific job, \n set the marker request parameter to the Marker value for that job that you obtained from a previous List Jobs request.

\n \n

You can set a maximum limit for the number of jobs returned in the response by\n specifying the limit parameter in the request. The default limit is 50. The\n number of jobs returned might be fewer than the limit, but the number of returned jobs\n never exceeds the limit.

\n\n

Additionally, you can filter the jobs list returned by specifying the optional\n statuscode parameter or completed parameter, or both. Using\n the statuscode parameter, you can specify to return only jobs that match\n either the InProgress, Succeeded, or Failed status.\n Using the completed parameter, you can specify to return only jobs that were\n completed (true) or jobs that were not completed\n (false).

\n\n

For more information about using this operation, \n see the documentation for the underlying REST API List Jobs.

", "smithy.api#http": { "method": "GET", "uri": "/{accountId}/vaults/{vaultName}/jobs", "code": 200 }, "smithy.api#paginated": { "inputToken": "marker", "outputToken": "Marker", "items": "JobList", "pageSize": "limit" } } }, "com.amazonaws.glacier#ListJobsInput": { "type": "structure", "members": { "accountId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The AccountId value is the AWS account ID of the account that owns the\n vault. You can either specify an AWS account ID or optionally a single '-'\n (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the\n credentials used to sign the request. If you use an account ID, do not include any hyphens\n ('-') in the ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "vaultName": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The name of the vault.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "limit": { "target": "smithy.api#Integer", "traits": { "smithy.api#documentation": "

The maximum number of jobs to be returned. The default limit is 50. The number of\n jobs returned might be fewer than the specified limit, but the number of returned jobs\n never exceeds the limit.

", "smithy.api#httpQuery": "limit" } }, "marker": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

An opaque string used for pagination. This value specifies the job at which the\n listing of jobs should begin. Get the marker value from a previous List Jobs response. You\n only need to include the marker if you are continuing the pagination of results started in\n a previous List Jobs request.

", "smithy.api#httpQuery": "marker" } }, "statuscode": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The type of job status to return. You can specify the following values:\n InProgress, Succeeded, or Failed.

", "smithy.api#httpQuery": "statuscode" } }, "completed": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The state of the jobs to return. You can specify true or\n false.

", "smithy.api#httpQuery": "completed" } } }, "traits": { "smithy.api#documentation": "

Provides options for retrieving a job list for an Amazon S3 Glacier vault.

" } }, "com.amazonaws.glacier#ListJobsOutput": { "type": "structure", "members": { "JobList": { "target": "com.amazonaws.glacier#JobList", "traits": { "smithy.api#documentation": "

A list of job objects. Each job object contains metadata describing the\n job.

" } }, "Marker": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

\t\n An opaque string used for pagination that specifies the job at which the listing of jobs should begin. \n You get the marker value from a previous List Jobs response.\n You only need to include the marker if you are continuing the pagination of the results started in a \n previous List Jobs request.

" } } }, "traits": { "smithy.api#documentation": "

Contains the Amazon S3 Glacier response to your request.

" } }, "com.amazonaws.glacier#ListMultipartUploads": { "type": "operation", "input": { "target": "com.amazonaws.glacier#ListMultipartUploadsInput" }, "output": { "target": "com.amazonaws.glacier#ListMultipartUploadsOutput" }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" }, { "target": "com.amazonaws.glacier#MissingParameterValueException" }, { "target": "com.amazonaws.glacier#ResourceNotFoundException" }, { "target": "com.amazonaws.glacier#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "

This operation lists in-progress multipart uploads for the specified vault. An\n in-progress multipart upload is a multipart upload that has been initiated by an InitiateMultipartUpload request, but has not yet been completed or aborted.\n The list returned in the List Multipart Upload response has no guaranteed order.

\n\n

The List Multipart Uploads operation supports pagination. By default, this operation\n returns up to 50 multipart uploads in the response. You should always check the response\n for a marker at which to continue the list; if there are no more items the\n marker is null. To return a list of multipart uploads that\n begins at a specific upload, set the marker request parameter to the value you\n obtained from a previous List Multipart Upload request. You can also limit the number of\n uploads returned in the response by specifying the limit parameter in the\n request.

\n\n

Note the difference between this operation and listing parts (ListParts). The List Multipart Uploads operation lists all multipart uploads\n for a vault and does not require a multipart upload ID. The List Parts operation requires a\n multipart upload ID since parts are associated with a single upload.

\n\n

An AWS account has full permission to perform all operations (actions). However, AWS\n Identity and Access Management (IAM) users don't have any permissions by default. You must\n grant them explicit permission to perform specific actions. For more information, see\n Access Control Using\n AWS Identity and Access Management (IAM).

\n\n

For conceptual information and the underlying REST API, see Working\n with Archives in Amazon S3 Glacier and List Multipart Uploads\n in the Amazon Glacier Developer Guide.

", "smithy.api#http": { "method": "GET", "uri": "/{accountId}/vaults/{vaultName}/multipart-uploads", "code": 200 }, "smithy.api#paginated": { "inputToken": "marker", "outputToken": "Marker", "items": "UploadsList", "pageSize": "limit" } } }, "com.amazonaws.glacier#ListMultipartUploadsInput": { "type": "structure", "members": { "accountId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The AccountId value is the AWS account ID of the account that owns the\n vault. You can either specify an AWS account ID or optionally a single '-'\n (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the\n credentials used to sign the request. If you use an account ID, do not include any hyphens\n ('-') in the ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "vaultName": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The name of the vault.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "limit": { "target": "smithy.api#Integer", "traits": { "smithy.api#documentation": "

Specifies the maximum number of uploads returned in the response body. If this value\n is not specified, the List Uploads operation returns up to 50 uploads.

", "smithy.api#httpQuery": "limit" } }, "marker": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

An opaque string used for pagination. This value specifies the upload at which the\n listing of uploads should begin. Get the marker value from a previous List Uploads\n response. You need only include the marker if you are continuing the pagination of results\n started in a previous List Uploads request.

", "smithy.api#httpQuery": "marker" } } }, "traits": { "smithy.api#documentation": "

Provides options for retrieving list of in-progress multipart uploads for an Amazon\n Glacier vault.

" } }, "com.amazonaws.glacier#ListMultipartUploadsOutput": { "type": "structure", "members": { "UploadsList": { "target": "com.amazonaws.glacier#UploadsList", "traits": { "smithy.api#documentation": "

A list of in-progress multipart uploads.

" } }, "Marker": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

An opaque string that represents where to continue pagination of the results. You use\n the marker in a new List Multipart Uploads request to obtain more uploads in the list. If\n there are no more uploads, this value is null.

" } } }, "traits": { "smithy.api#documentation": "

Contains the Amazon S3 Glacier response to your request.

" } }, "com.amazonaws.glacier#ListParts": { "type": "operation", "input": { "target": "com.amazonaws.glacier#ListPartsInput" }, "output": { "target": "com.amazonaws.glacier#ListPartsOutput" }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" }, { "target": "com.amazonaws.glacier#MissingParameterValueException" }, { "target": "com.amazonaws.glacier#ResourceNotFoundException" }, { "target": "com.amazonaws.glacier#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "

This operation lists the parts of an archive that have been uploaded in a specific\n multipart upload. You can make this request at any time during an in-progress multipart\n upload before you complete the upload (see CompleteMultipartUpload. List\n Parts returns an error for completed uploads. The list returned in the List Parts response\n is sorted by part range.

\n\n

The List Parts operation supports pagination. By default, this operation returns up\n to 50 uploaded parts in the response. You should always check the response for a\n marker at which to continue the list; if there are no more items the\n marker is null. To return a list of parts that begins at a\n specific part, set the marker request parameter to the value you obtained from\n a previous List Parts request. You can also limit the number of parts returned in the\n response by specifying the limit parameter in the request.

\n\n

An AWS account has full permission to perform all operations (actions). However, AWS\n Identity and Access Management (IAM) users don't have any permissions by default. You must\n grant them explicit permission to perform specific actions. For more information, see\n Access Control Using\n AWS Identity and Access Management (IAM).

\n

For conceptual information and the underlying REST API, see Working\n with Archives in Amazon S3 Glacier and List Parts in the\n Amazon Glacier Developer Guide.

", "smithy.api#http": { "method": "GET", "uri": "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}", "code": 200 }, "smithy.api#paginated": { "inputToken": "marker", "outputToken": "Marker", "items": "Parts", "pageSize": "limit" } } }, "com.amazonaws.glacier#ListPartsInput": { "type": "structure", "members": { "accountId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The AccountId value is the AWS account ID of the account that owns the\n vault. You can either specify an AWS account ID or optionally a single '-'\n (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the\n credentials used to sign the request. If you use an account ID, do not include any hyphens\n ('-') in the ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "vaultName": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The name of the vault.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "uploadId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The upload ID of the multipart upload.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "marker": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

An opaque string used for pagination. This value specifies the part at which the\n listing of parts should begin. Get the marker value from the response of a previous List\n Parts response. You need only include the marker if you are continuing the pagination of\n results started in a previous List Parts request.

", "smithy.api#httpQuery": "marker" } }, "limit": { "target": "smithy.api#Integer", "traits": { "smithy.api#documentation": "

The maximum number of parts to be returned. The default limit is 50. The number of\n parts returned might be fewer than the specified limit, but the number of returned parts\n never exceeds the limit.

", "smithy.api#httpQuery": "limit" } } }, "traits": { "smithy.api#documentation": "

Provides options for retrieving a list of parts of an archive that have been uploaded\n in a specific multipart upload.

" } }, "com.amazonaws.glacier#ListPartsOutput": { "type": "structure", "members": { "MultipartUploadId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The ID of the upload to which the parts are associated.

" } }, "VaultARN": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the vault to which the multipart upload was\n initiated.

" } }, "ArchiveDescription": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The description of the archive that was specified in the Initiate Multipart Upload\n request.

" } }, "PartSizeInBytes": { "target": "com.amazonaws.glacier#long", "traits": { "smithy.api#documentation": "

The part size in bytes. This is the same value that you specified in the Initiate\n Multipart Upload request.

" } }, "CreationDate": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The UTC time at which the multipart upload was initiated.

" } }, "Parts": { "target": "com.amazonaws.glacier#PartList", "traits": { "smithy.api#documentation": "

A list of the part sizes of the multipart upload. Each object in the array contains a\n RangeBytes and sha256-tree-hash name/value\n pair.

" } }, "Marker": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

An opaque string that represents where to continue pagination of the results. You use\n the marker in a new List Parts request to obtain more jobs in the list. If there are no\n more parts, this value is null.

" } } }, "traits": { "smithy.api#documentation": "

Contains the Amazon S3 Glacier response to your request.

" } }, "com.amazonaws.glacier#ListProvisionedCapacity": { "type": "operation", "input": { "target": "com.amazonaws.glacier#ListProvisionedCapacityInput" }, "output": { "target": "com.amazonaws.glacier#ListProvisionedCapacityOutput" }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" }, { "target": "com.amazonaws.glacier#MissingParameterValueException" }, { "target": "com.amazonaws.glacier#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "

This operation lists the provisioned capacity units for the specified AWS\n account.

", "smithy.api#http": { "method": "GET", "uri": "/{accountId}/provisioned-capacity", "code": 200 } } }, "com.amazonaws.glacier#ListProvisionedCapacityInput": { "type": "structure", "members": { "accountId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The AWS account ID of the account that owns the vault. You can either specify an AWS\n account ID or optionally a single '-' (hyphen), in which case Amazon S3 Glacier uses the AWS\n account ID associated with the credentials used to sign the request. If you use an account\n ID, don't include any hyphens ('-') in the ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.glacier#ListProvisionedCapacityOutput": { "type": "structure", "members": { "ProvisionedCapacityList": { "target": "com.amazonaws.glacier#ProvisionedCapacityList", "traits": { "smithy.api#documentation": "

The response body contains the following JSON fields.

" } } } }, "com.amazonaws.glacier#ListTagsForVault": { "type": "operation", "input": { "target": "com.amazonaws.glacier#ListTagsForVaultInput" }, "output": { "target": "com.amazonaws.glacier#ListTagsForVaultOutput" }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" }, { "target": "com.amazonaws.glacier#MissingParameterValueException" }, { "target": "com.amazonaws.glacier#ResourceNotFoundException" }, { "target": "com.amazonaws.glacier#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "

This operation lists all the tags attached to a vault. The operation returns an empty\n map if there are no tags. For more information about tags, see Tagging Amazon S3 Glacier\n Resources.

", "smithy.api#http": { "method": "GET", "uri": "/{accountId}/vaults/{vaultName}/tags", "code": 200 } } }, "com.amazonaws.glacier#ListTagsForVaultInput": { "type": "structure", "members": { "accountId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The AccountId value is the AWS account ID of the account that owns the\n vault. You can either specify an AWS account ID or optionally a single '-'\n (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the\n credentials used to sign the request. If you use an account ID, do not include any hyphens\n ('-') in the ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "vaultName": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The name of the vault.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

The input value for ListTagsForVaultInput.

" } }, "com.amazonaws.glacier#ListTagsForVaultOutput": { "type": "structure", "members": { "Tags": { "target": "com.amazonaws.glacier#TagMap", "traits": { "smithy.api#documentation": "

The tags attached to the vault. Each tag is composed of a key and a value.

" } } }, "traits": { "smithy.api#documentation": "

Contains the Amazon S3 Glacier response to your request.

" } }, "com.amazonaws.glacier#ListVaults": { "type": "operation", "input": { "target": "com.amazonaws.glacier#ListVaultsInput" }, "output": { "target": "com.amazonaws.glacier#ListVaultsOutput" }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" }, { "target": "com.amazonaws.glacier#MissingParameterValueException" }, { "target": "com.amazonaws.glacier#ResourceNotFoundException" }, { "target": "com.amazonaws.glacier#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "

This operation lists all vaults owned by the calling user's account. The list\n returned in the response is ASCII-sorted by vault name.

\n\n

By default, this operation returns up to 10 items. If there are more vaults to\n list, the response marker field contains the vault Amazon Resource Name (ARN)\n at which to continue the list with a new List Vaults request; otherwise, the\n marker field is null. To return a list of vaults that begins\n at a specific vault, set the marker request parameter to the vault ARN you\n obtained from a previous List Vaults request. You can also limit the number of vaults\n returned in the response by specifying the limit parameter in the request.

\n\n

An AWS account has full permission to perform all operations (actions). However, AWS\n Identity and Access Management (IAM) users don't have any permissions by default. You must\n grant them explicit permission to perform specific actions. For more information, see\n Access Control Using\n AWS Identity and Access Management (IAM).

\n

For conceptual information and underlying REST API, see Retrieving Vault Metadata in\n Amazon S3 Glacier and List Vaults in the\n Amazon Glacier Developer Guide.

", "smithy.api#http": { "method": "GET", "uri": "/{accountId}/vaults", "code": 200 }, "smithy.api#paginated": { "inputToken": "marker", "outputToken": "Marker", "items": "VaultList", "pageSize": "limit" } } }, "com.amazonaws.glacier#ListVaultsInput": { "type": "structure", "members": { "accountId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The AccountId value is the AWS account ID. This value must match the AWS\n account ID associated with the credentials used to sign the request. You can either specify\n an AWS account ID or optionally a single '-' (hyphen), in which case Amazon\n Glacier uses the AWS account ID associated with the credentials used to sign the request.\n If you specify your account ID, do not include any hyphens ('-') in the ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "marker": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

A string used for pagination. The marker specifies the vault ARN after which the\n listing of vaults should begin.

", "smithy.api#httpQuery": "marker" } }, "limit": { "target": "smithy.api#Integer", "traits": { "smithy.api#documentation": "

The maximum number of vaults to be returned. The default limit is 10. The number of\n vaults returned might be fewer than the specified limit, but the number of returned vaults\n never exceeds the limit.

", "smithy.api#httpQuery": "limit" } } }, "traits": { "smithy.api#documentation": "

Provides options to retrieve the vault list owned by the calling user's account. The\n list provides metadata information for each vault.

" } }, "com.amazonaws.glacier#ListVaultsOutput": { "type": "structure", "members": { "VaultList": { "target": "com.amazonaws.glacier#VaultList", "traits": { "smithy.api#documentation": "

List of vaults.

" } }, "Marker": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The vault ARN at which to continue pagination of the results. You use the marker in\n another List Vaults request to obtain more vaults in the list.

" } } }, "traits": { "smithy.api#documentation": "

Contains the Amazon S3 Glacier response to your request.

" } }, "com.amazonaws.glacier#MissingParameterValueException": { "type": "structure", "members": { "type": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

Client.

" } }, "code": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

400 Bad Request

" } }, "message": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

Returned if no authentication data is found for the request.

" } } }, "traits": { "smithy.api#documentation": "

Returned if a required header or parameter is missing from the request.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.glacier#NotificationEventList": { "type": "list", "member": { "target": "com.amazonaws.glacier#string" } }, "com.amazonaws.glacier#NullableLong": { "type": "long", "traits": { "smithy.api#box": {} } }, "com.amazonaws.glacier#OutputLocation": { "type": "structure", "members": { "S3": { "target": "com.amazonaws.glacier#S3Location", "traits": { "smithy.api#documentation": "

Describes an S3 location that will receive the results of the job request.

" } } }, "traits": { "smithy.api#documentation": "

Contains information about the location where the select job results are stored.

" } }, "com.amazonaws.glacier#OutputSerialization": { "type": "structure", "members": { "csv": { "target": "com.amazonaws.glacier#CSVOutput", "traits": { "smithy.api#documentation": "

Describes the serialization of CSV-encoded query results.

" } } }, "traits": { "smithy.api#documentation": "

Describes how the select output is serialized.

" } }, "com.amazonaws.glacier#PartList": { "type": "list", "member": { "target": "com.amazonaws.glacier#PartListElement" } }, "com.amazonaws.glacier#PartListElement": { "type": "structure", "members": { "RangeInBytes": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The byte range of a part, inclusive of the upper value of the range.

" } }, "SHA256TreeHash": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The SHA256 tree hash value that Amazon S3 Glacier calculated for the part. This field is\n never null.

" } } }, "traits": { "smithy.api#documentation": "

A list of the part sizes of the multipart upload.

" } }, "com.amazonaws.glacier#Permission": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "FULL_CONTROL", "name": "FULL_CONTROL" }, { "value": "WRITE", "name": "WRITE" }, { "value": "WRITE_ACP", "name": "WRITE_ACP" }, { "value": "READ", "name": "READ" }, { "value": "READ_ACP", "name": "READ_ACP" } ] } }, "com.amazonaws.glacier#PolicyEnforcedException": { "type": "structure", "members": { "type": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

Client

" } }, "code": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

PolicyEnforcedException

" } }, "message": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

InitiateJob request denied by current data retrieval policy.

" } } }, "traits": { "smithy.api#documentation": "

Returned if a retrieval job would exceed the current data policy's retrieval rate\n limit. For more information about data retrieval policies,

", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.glacier#ProvisionedCapacityDescription": { "type": "structure", "members": { "CapacityId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The ID that identifies the provisioned capacity unit.

" } }, "StartDate": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The date that the provisioned capacity unit was purchased, in Universal Coordinated Time (UTC).

" } }, "ExpirationDate": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The date that the provisioned capacity unit expires, in Universal Coordinated Time (UTC).

" } } }, "traits": { "smithy.api#documentation": "

The definition for a provisioned capacity unit.

" } }, "com.amazonaws.glacier#ProvisionedCapacityList": { "type": "list", "member": { "target": "com.amazonaws.glacier#ProvisionedCapacityDescription" } }, "com.amazonaws.glacier#PurchaseProvisionedCapacity": { "type": "operation", "input": { "target": "com.amazonaws.glacier#PurchaseProvisionedCapacityInput" }, "output": { "target": "com.amazonaws.glacier#PurchaseProvisionedCapacityOutput" }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" }, { "target": "com.amazonaws.glacier#LimitExceededException" }, { "target": "com.amazonaws.glacier#MissingParameterValueException" }, { "target": "com.amazonaws.glacier#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "

This operation purchases a provisioned capacity unit for an AWS account.

", "smithy.api#http": { "method": "POST", "uri": "/{accountId}/provisioned-capacity", "code": 201 } } }, "com.amazonaws.glacier#PurchaseProvisionedCapacityInput": { "type": "structure", "members": { "accountId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The AWS account ID of the account that owns the vault. You can either specify an AWS\n account ID or optionally a single '-' (hyphen), in which case Amazon S3 Glacier uses the AWS\n account ID associated with the credentials used to sign the request. If you use an account\n ID, don't include any hyphens ('-') in the ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.glacier#PurchaseProvisionedCapacityOutput": { "type": "structure", "members": { "capacityId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The ID that identifies the provisioned capacity unit.

", "smithy.api#httpHeader": "x-amz-capacity-id" } } } }, "com.amazonaws.glacier#QuoteFields": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "ALWAYS", "name": "Always" }, { "value": "ASNEEDED", "name": "AsNeeded" } ] } }, "com.amazonaws.glacier#RemoveTagsFromVault": { "type": "operation", "input": { "target": "com.amazonaws.glacier#RemoveTagsFromVaultInput" }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" }, { "target": "com.amazonaws.glacier#MissingParameterValueException" }, { "target": "com.amazonaws.glacier#ResourceNotFoundException" }, { "target": "com.amazonaws.glacier#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "

This operation removes one or more tags from the set of tags attached to a vault. For\n more information about tags, see Tagging Amazon S3 Glacier Resources.\n This operation is idempotent. The operation will be successful, even if there are no tags\n attached to the vault.

", "smithy.api#http": { "method": "POST", "uri": "/{accountId}/vaults/{vaultName}/tags?operation=remove", "code": 204 } } }, "com.amazonaws.glacier#RemoveTagsFromVaultInput": { "type": "structure", "members": { "accountId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The AccountId value is the AWS account ID of the account that owns the\n vault. You can either specify an AWS account ID or optionally a single '-'\n (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the\n credentials used to sign the request. If you use an account ID, do not include any hyphens\n ('-') in the ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "vaultName": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The name of the vault.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "TagKeys": { "target": "com.amazonaws.glacier#TagKeyList", "traits": { "smithy.api#documentation": "

A list of tag keys. Each corresponding tag is removed from the vault.

" } } }, "traits": { "smithy.api#documentation": "

The input value for RemoveTagsFromVaultInput.

" } }, "com.amazonaws.glacier#RequestTimeoutException": { "type": "structure", "members": { "type": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

Client

" } }, "code": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

408 Request Timeout

" } }, "message": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

Returned if, when uploading an archive, Amazon S3 Glacier times out while receiving the\n upload.

" } } }, "traits": { "smithy.api#documentation": "

Returned if, when uploading an archive, Amazon S3 Glacier times out while receiving the\n upload.

", "smithy.api#error": "client", "smithy.api#httpError": 408 } }, "com.amazonaws.glacier#ResourceNotFoundException": { "type": "structure", "members": { "type": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

Client

" } }, "code": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

404 Not Found

" } }, "message": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

Returned if the specified resource (such as a vault, upload ID, or job ID) doesn't\n exist.

" } } }, "traits": { "smithy.api#documentation": "

Returned if the specified resource (such as a vault, upload ID, or job ID) doesn't\n exist.

", "smithy.api#error": "client", "smithy.api#httpError": 404 } }, "com.amazonaws.glacier#S3Location": { "type": "structure", "members": { "BucketName": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The name of the Amazon S3 bucket where the job results are stored.

" } }, "Prefix": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The prefix that is prepended to the results for this request.

" } }, "Encryption": { "target": "com.amazonaws.glacier#Encryption", "traits": { "smithy.api#documentation": "

Contains information about the encryption used to store the job results in Amazon S3.

" } }, "CannedACL": { "target": "com.amazonaws.glacier#CannedACL", "traits": { "smithy.api#documentation": "

The canned access control list (ACL) to apply to the job results.

" } }, "AccessControlList": { "target": "com.amazonaws.glacier#AccessControlPolicyList", "traits": { "smithy.api#documentation": "

A list of grants that control access to the staged results.

" } }, "Tagging": { "target": "com.amazonaws.glacier#hashmap", "traits": { "smithy.api#documentation": "

The tag-set that is applied to the job results.

" } }, "UserMetadata": { "target": "com.amazonaws.glacier#hashmap", "traits": { "smithy.api#documentation": "

A map of metadata to store with the job results in Amazon S3.

" } }, "StorageClass": { "target": "com.amazonaws.glacier#StorageClass", "traits": { "smithy.api#documentation": "

The storage class used to store the job results.

" } } }, "traits": { "smithy.api#documentation": "

Contains information about the location in Amazon S3 where the select job results are stored.

" } }, "com.amazonaws.glacier#SelectParameters": { "type": "structure", "members": { "InputSerialization": { "target": "com.amazonaws.glacier#InputSerialization", "traits": { "smithy.api#documentation": "

Describes the serialization format of the object.

" } }, "ExpressionType": { "target": "com.amazonaws.glacier#ExpressionType", "traits": { "smithy.api#documentation": "

The type of the provided expression, for example SQL.

" } }, "Expression": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The expression that is used to select the object.

" } }, "OutputSerialization": { "target": "com.amazonaws.glacier#OutputSerialization", "traits": { "smithy.api#documentation": "

Describes how the results of the select job are serialized.

" } } }, "traits": { "smithy.api#documentation": "

Contains information about the parameters used for a select.

" } }, "com.amazonaws.glacier#ServiceUnavailableException": { "type": "structure", "members": { "type": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

Server

" } }, "code": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

500 Internal Server Error

" } }, "message": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

Returned if the service cannot complete the request.

" } } }, "traits": { "smithy.api#documentation": "

Returned if the service cannot complete the request.

", "smithy.api#error": "server", "smithy.api#httpError": 500 } }, "com.amazonaws.glacier#SetDataRetrievalPolicy": { "type": "operation", "input": { "target": "com.amazonaws.glacier#SetDataRetrievalPolicyInput" }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" }, { "target": "com.amazonaws.glacier#MissingParameterValueException" }, { "target": "com.amazonaws.glacier#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "

This operation sets and then enacts a data retrieval policy in the region specified\n in the PUT request. You can set one policy per region for an AWS account. The policy is\n enacted within a few minutes of a successful PUT operation.

\n

The set policy operation does not affect retrieval jobs that were in progress before\n the policy was enacted. For more information about data retrieval policies, see Amazon\n Glacier Data Retrieval Policies.

", "smithy.api#http": { "method": "PUT", "uri": "/{accountId}/policies/data-retrieval", "code": 204 } } }, "com.amazonaws.glacier#SetDataRetrievalPolicyInput": { "type": "structure", "members": { "accountId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The AccountId value is the AWS account ID. This value must match the AWS\n account ID associated with the credentials used to sign the request. You can either specify\n an AWS account ID or optionally a single '-' (hyphen), in which case Amazon\n Glacier uses the AWS account ID associated with the credentials used to sign the request.\n If you specify your account ID, do not include any hyphens ('-') in the ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "Policy": { "target": "com.amazonaws.glacier#DataRetrievalPolicy", "traits": { "smithy.api#documentation": "

The data retrieval policy in JSON format.

" } } }, "traits": { "smithy.api#documentation": "

SetDataRetrievalPolicy input.

" } }, "com.amazonaws.glacier#SetVaultAccessPolicy": { "type": "operation", "input": { "target": "com.amazonaws.glacier#SetVaultAccessPolicyInput" }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" }, { "target": "com.amazonaws.glacier#MissingParameterValueException" }, { "target": "com.amazonaws.glacier#ResourceNotFoundException" }, { "target": "com.amazonaws.glacier#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "

This operation configures an access policy for a vault and will overwrite an existing\n policy. To configure a vault access policy, send a PUT request to the\n access-policy subresource of the vault. An access policy is specific to a\n vault and is also called a vault subresource. You can set one access policy per vault and\n the policy can be up to 20 KB in size. For more information about vault access policies,\n see Amazon Glacier Access Control with Vault Access Policies.

", "smithy.api#http": { "method": "PUT", "uri": "/{accountId}/vaults/{vaultName}/access-policy", "code": 204 } } }, "com.amazonaws.glacier#SetVaultAccessPolicyInput": { "type": "structure", "members": { "accountId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The AccountId value is the AWS account ID of the account that owns the\n vault. You can either specify an AWS account ID or optionally a single '-'\n (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the\n credentials used to sign the request. If you use an account ID, do not include any hyphens\n ('-') in the ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "vaultName": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The name of the vault.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "policy": { "target": "com.amazonaws.glacier#VaultAccessPolicy", "traits": { "smithy.api#documentation": "

The vault access policy as a JSON string.

", "smithy.api#httpPayload": {} } } }, "traits": { "smithy.api#documentation": "

SetVaultAccessPolicy input.

" } }, "com.amazonaws.glacier#SetVaultNotifications": { "type": "operation", "input": { "target": "com.amazonaws.glacier#SetVaultNotificationsInput" }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" }, { "target": "com.amazonaws.glacier#MissingParameterValueException" }, { "target": "com.amazonaws.glacier#ResourceNotFoundException" }, { "target": "com.amazonaws.glacier#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "

This operation configures notifications that will be sent when specific events happen\n to a vault. By default, you don't get any notifications.

\n\n

To configure vault notifications, send a PUT request to the\n notification-configuration subresource of the vault. The request should\n include a JSON document that provides an Amazon SNS topic and specific events for which you\n want Amazon S3 Glacier to send notifications to the topic.

\n\n

Amazon SNS topics must grant permission to the vault to be allowed to publish\n notifications to the topic. You can configure a vault to publish a notification for the\n following vault events:

\n\n \n\n

An AWS account has full permission to perform all operations (actions). However, AWS\n Identity and Access Management (IAM) users don't have any permissions by default. You must\n grant them explicit permission to perform specific actions. For more information, see\n Access Control Using\n AWS Identity and Access Management (IAM).

\n

For conceptual information and underlying REST API, see Configuring Vault\n Notifications in Amazon S3 Glacier and Set Vault Notification\n Configuration in the Amazon Glacier Developer Guide.

", "smithy.api#http": { "method": "PUT", "uri": "/{accountId}/vaults/{vaultName}/notification-configuration", "code": 204 } } }, "com.amazonaws.glacier#SetVaultNotificationsInput": { "type": "structure", "members": { "accountId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The AccountId value is the AWS account ID of the account that owns the\n vault. You can either specify an AWS account ID or optionally a single '-'\n (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the\n credentials used to sign the request. If you use an account ID, do not include any hyphens\n ('-') in the ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "vaultName": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The name of the vault.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "vaultNotificationConfig": { "target": "com.amazonaws.glacier#VaultNotificationConfig", "traits": { "smithy.api#documentation": "

Provides options for specifying notification configuration.

", "smithy.api#httpPayload": {} } } }, "traits": { "smithy.api#documentation": "

Provides options to configure notifications that will be sent when specific events\n happen to a vault.

" } }, "com.amazonaws.glacier#Size": { "type": "long", "traits": { "smithy.api#box": {} } }, "com.amazonaws.glacier#StatusCode": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "InProgress", "name": "InProgress" }, { "value": "Succeeded", "name": "Succeeded" }, { "value": "Failed", "name": "Failed" } ] } }, "com.amazonaws.glacier#StorageClass": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "STANDARD", "name": "Standard" }, { "value": "REDUCED_REDUNDANCY", "name": "ReducedRedundancy" }, { "value": "STANDARD_IA", "name": "StandardInfrequentAccess" } ] } }, "com.amazonaws.glacier#Stream": { "type": "blob", "traits": { "smithy.api#streaming": {} } }, "com.amazonaws.glacier#TagKey": { "type": "string" }, "com.amazonaws.glacier#TagKeyList": { "type": "list", "member": { "target": "com.amazonaws.glacier#string" } }, "com.amazonaws.glacier#TagMap": { "type": "map", "key": { "target": "com.amazonaws.glacier#TagKey" }, "value": { "target": "com.amazonaws.glacier#TagValue" } }, "com.amazonaws.glacier#TagValue": { "type": "string" }, "com.amazonaws.glacier#Type": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "AmazonCustomerByEmail", "name": "AmazonCustomerByEmail" }, { "value": "CanonicalUser", "name": "CanonicalUser" }, { "value": "Group", "name": "Group" } ] } }, "com.amazonaws.glacier#UploadArchive": { "type": "operation", "input": { "target": "com.amazonaws.glacier#UploadArchiveInput" }, "output": { "target": "com.amazonaws.glacier#ArchiveCreationOutput" }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" }, { "target": "com.amazonaws.glacier#MissingParameterValueException" }, { "target": "com.amazonaws.glacier#RequestTimeoutException" }, { "target": "com.amazonaws.glacier#ResourceNotFoundException" }, { "target": "com.amazonaws.glacier#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "

This operation adds an archive to a vault. This is a synchronous operation, and for a\n successful upload, your data is durably persisted. Amazon S3 Glacier returns the archive ID in\n the x-amz-archive-id header of the response.

\n\n

You must use the archive ID to access your data in Amazon S3 Glacier. After you upload\n an archive, you should save the archive ID returned so that you can retrieve or delete the\n archive later. Besides saving the archive ID, you can also index it and give it a friendly\n name to allow for better searching. You can also use the optional archive description field\n to specify how the archive is referred to in an external index of archives, such as you\n might create in Amazon DynamoDB. You can also get the vault inventory to obtain a list of\n archive IDs in a vault. For more information, see InitiateJob.

\n\n

You must provide a SHA256 tree hash of the data you are uploading. For information\n about computing a SHA256 tree hash, see Computing Checksums.

\n\n

You can optionally specify an archive description of up to 1,024 printable ASCII\n characters. You can get the archive description when you either retrieve the archive or get\n the vault inventory. For more information, see InitiateJob. Amazon\n Glacier does not interpret the description in any way. An archive description does not need\n to be unique. You cannot use the description to retrieve or sort the archive list.

\n\n

Archives are immutable. After you upload an archive, you cannot edit the archive or\n its description.

\n\n

An AWS account has full permission to perform all operations (actions). However, AWS\n Identity and Access Management (IAM) users don't have any permissions by default. You must\n grant them explicit permission to perform specific actions. For more information, see\n Access Control Using\n AWS Identity and Access Management (IAM).

\n

For conceptual information and underlying REST API, see Uploading an Archive in Amazon\n Glacier and Upload Archive in the\n Amazon Glacier Developer Guide.

", "smithy.api#http": { "method": "POST", "uri": "/{accountId}/vaults/{vaultName}/archives", "code": 201 } } }, "com.amazonaws.glacier#UploadArchiveInput": { "type": "structure", "members": { "vaultName": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The name of the vault.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "accountId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The AccountId value is the AWS account ID of the account that owns the\n vault. You can either specify an AWS account ID or optionally a single '-'\n (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the\n credentials used to sign the request. If you use an account ID, do not include any hyphens\n ('-') in the ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "archiveDescription": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The optional description of the archive you are uploading.

", "smithy.api#httpHeader": "x-amz-archive-description" } }, "checksum": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The SHA256 tree hash of the data being uploaded.

", "smithy.api#httpHeader": "x-amz-sha256-tree-hash" } }, "body": { "target": "com.amazonaws.glacier#Stream", "traits": { "smithy.api#documentation": "

The data to upload.

", "smithy.api#httpPayload": {} } } }, "traits": { "smithy.api#documentation": "

Provides options to add an archive to a vault.

" } }, "com.amazonaws.glacier#UploadListElement": { "type": "structure", "members": { "MultipartUploadId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The ID of a multipart upload.

" } }, "VaultARN": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the vault that contains the archive.

" } }, "ArchiveDescription": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The description of the archive that was specified in the Initiate Multipart Upload\n request.

" } }, "PartSizeInBytes": { "target": "com.amazonaws.glacier#long", "traits": { "smithy.api#documentation": "

The part size, in bytes, specified in the Initiate Multipart Upload request. This is\n the size of all the parts in the upload except the last part, which may be smaller than\n this size.

" } }, "CreationDate": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The UTC time at which the multipart upload was initiated.

" } } }, "traits": { "smithy.api#documentation": "

A list of in-progress multipart uploads for a vault.

" } }, "com.amazonaws.glacier#UploadMultipartPart": { "type": "operation", "input": { "target": "com.amazonaws.glacier#UploadMultipartPartInput" }, "output": { "target": "com.amazonaws.glacier#UploadMultipartPartOutput" }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" }, { "target": "com.amazonaws.glacier#MissingParameterValueException" }, { "target": "com.amazonaws.glacier#RequestTimeoutException" }, { "target": "com.amazonaws.glacier#ResourceNotFoundException" }, { "target": "com.amazonaws.glacier#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "

This operation uploads a part of an archive. You can upload archive parts in any\n order. You can also upload them in parallel. You can upload up to 10,000 parts for a\n multipart upload.

\n\n

Amazon Glacier rejects your upload part request if any of the following conditions is\n true:

\n\n \n\n

This operation is idempotent. If you upload the same part multiple times, the data\n included in the most recent request overwrites the previously uploaded data.

\n\n

An AWS account has full permission to perform all operations (actions). However, AWS\n Identity and Access Management (IAM) users don't have any permissions by default. You must\n grant them explicit permission to perform specific actions. For more information, see\n Access Control Using\n AWS Identity and Access Management (IAM).

\n

For conceptual information and underlying REST API, see Uploading Large Archives in\n Parts (Multipart Upload) and Upload Part in the\n Amazon Glacier Developer Guide.

", "smithy.api#http": { "method": "PUT", "uri": "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}", "code": 204 } } }, "com.amazonaws.glacier#UploadMultipartPartInput": { "type": "structure", "members": { "accountId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The AccountId value is the AWS account ID of the account that owns the\n vault. You can either specify an AWS account ID or optionally a single '-'\n (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the\n credentials used to sign the request. If you use an account ID, do not include any hyphens\n ('-') in the ID.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "vaultName": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The name of the vault.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "uploadId": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The upload ID of the multipart upload.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "checksum": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The SHA256 tree hash of the data being uploaded.

", "smithy.api#httpHeader": "x-amz-sha256-tree-hash" } }, "range": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

Identifies the range of bytes in the assembled archive that will be uploaded in this\n part. Amazon S3 Glacier uses this information to assemble the archive in the proper sequence.\n The format of this header follows RFC 2616. An example header is Content-Range:bytes\n 0-4194303/*.

", "smithy.api#httpHeader": "Content-Range" } }, "body": { "target": "com.amazonaws.glacier#Stream", "traits": { "smithy.api#documentation": "

The data to upload.

", "smithy.api#httpPayload": {} } } }, "traits": { "smithy.api#documentation": "

Provides options to upload a part of an archive in a multipart upload\n operation.

" } }, "com.amazonaws.glacier#UploadMultipartPartOutput": { "type": "structure", "members": { "checksum": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The SHA256 tree hash that Amazon S3 Glacier computed for the uploaded part.

", "smithy.api#httpHeader": "x-amz-sha256-tree-hash" } } }, "traits": { "smithy.api#documentation": "

Contains the Amazon S3 Glacier response to your request.

" } }, "com.amazonaws.glacier#UploadsList": { "type": "list", "member": { "target": "com.amazonaws.glacier#UploadListElement" } }, "com.amazonaws.glacier#VaultAccessPolicy": { "type": "structure", "members": { "Policy": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The vault access policy.

" } } }, "traits": { "smithy.api#documentation": "

Contains the vault access policy.

" } }, "com.amazonaws.glacier#VaultList": { "type": "list", "member": { "target": "com.amazonaws.glacier#DescribeVaultOutput" } }, "com.amazonaws.glacier#VaultLockPolicy": { "type": "structure", "members": { "Policy": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The vault lock policy.

" } } }, "traits": { "smithy.api#documentation": "

Contains the vault lock policy.

" } }, "com.amazonaws.glacier#VaultNotificationConfig": { "type": "structure", "members": { "SNSTopic": { "target": "com.amazonaws.glacier#string", "traits": { "smithy.api#documentation": "

The Amazon Simple Notification Service (Amazon SNS) topic Amazon Resource Name\n (ARN).

" } }, "Events": { "target": "com.amazonaws.glacier#NotificationEventList", "traits": { "smithy.api#documentation": "

A list of one or more events for which Amazon S3 Glacier will send a notification to the\n specified Amazon SNS topic.

" } } }, "traits": { "smithy.api#documentation": "

Represents a vault's notification configuration.

" } }, "com.amazonaws.glacier#boolean": { "type": "boolean" }, "com.amazonaws.glacier#hashmap": { "type": "map", "key": { "target": "com.amazonaws.glacier#string" }, "value": { "target": "com.amazonaws.glacier#string" } }, "com.amazonaws.glacier#httpstatus": { "type": "integer" }, "com.amazonaws.glacier#long": { "type": "long" }, "com.amazonaws.glacier#string": { "type": "string" } } }