3921 lines
236 KiB
JSON
3921 lines
236 KiB
JSON
{
|
|
"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": "<p>This operation aborts a multipart upload identified by the upload ID.</p>\n\n\n <p>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 <a>UploadMultipartPart</a> and <a>CompleteMultipartUpload</a>.</p>\n\n <p>This operation is idempotent.</p>\n\n <p>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 <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html\">Access Control Using\n AWS Identity and Access Management (IAM)</a>.</p>\n <p> For conceptual information and underlying REST API, see <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/working-with-archives.html\">Working with Archives in\n Amazon S3 Glacier</a> and <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/api-multipart-abort-upload.html\">Abort Multipart\n Upload</a> in the <i>Amazon Glacier Developer Guide</i>. </p>",
|
|
"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": "<p>The <code>AccountId</code> 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 '<code>-</code>'\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.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"vaultName": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the vault.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"uploadId": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The upload ID of the multipart upload to delete.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Provides options to abort a multipart upload identified by the upload ID.</p>\n\n <p>For information about the underlying REST API, see <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/api-multipart-abort-upload.html\">Abort Multipart\n Upload</a>. For conceptual information, see <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/working-with-archives.html\">Working with Archives in\n Amazon S3 Glacier</a>.</p>"
|
|
}
|
|
},
|
|
"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": "<p>This operation aborts the vault locking process if the vault lock is not in the\n <code>Locked</code> state. If the vault lock is in the <code>Locked</code> state when\n this operation is requested, the operation returns an <code>AccessDeniedException</code>\n error. Aborting the vault locking process removes the vault lock policy from the specified\n vault. </p>\n <p>A vault lock is put into the <code>InProgress</code> state by calling <a>InitiateVaultLock</a>. A vault lock is put into the <code>Locked</code> state by\n calling <a>CompleteVaultLock</a>. You can get the state of a vault lock by\n calling <a>GetVaultLock</a>. For more information about the vault locking\n process, see <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/vault-lock.html\">Amazon Glacier Vault Lock</a>. For more information about vault lock policies, see\n <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/vault-lock-policy.html\">Amazon\n Glacier Access Control with Vault Lock Policies</a>. </p>\n <p>This operation is idempotent. You can successfully invoke this operation multiple\n times, if the vault lock is in the <code>InProgress</code> state or if there is no policy\n associated with the vault.</p>",
|
|
"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": "<p>The <code>AccountId</code> 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 '<code>-</code>' (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.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"vaultName": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the vault.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The input values for <code>AbortVaultLock</code>.</p>"
|
|
}
|
|
},
|
|
"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": "<p>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 <code>LimitExceededException</code>\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 <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/tagging.html\">Tagging Amazon S3 Glacier Resources</a>.\n </p>",
|
|
"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": "<p>The <code>AccountId</code> 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 '<code>-</code>'\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.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"vaultName": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the vault.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"Tags": {
|
|
"target": "com.amazonaws.glacier#TagMap",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>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.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The input values for <code>AddTagsToVault</code>.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.glacier#ArchiveCreationOutput": {
|
|
"type": "structure",
|
|
"members": {
|
|
"location": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The relative URI path of the newly added archive resource.</p>",
|
|
"smithy.api#httpHeader": "Location"
|
|
}
|
|
},
|
|
"checksum": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The checksum of the archive computed by Amazon S3 Glacier.</p>",
|
|
"smithy.api#httpHeader": "x-amz-sha256-tree-hash"
|
|
}
|
|
},
|
|
"archiveId": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The ID of the archive. This value is also included as part of the location.</p>",
|
|
"smithy.api#httpHeader": "x-amz-archive-id"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Contains the Amazon S3 Glacier response to your request.</p>\n <p>For information about the underlying REST API, see <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/api-archive-post.html\">Upload Archive</a>. For\n conceptual information, see <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/working-with-archives.html\">Working with Archives in\n Amazon S3 Glacier</a>.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.glacier#CSVInput": {
|
|
"type": "structure",
|
|
"members": {
|
|
"FileHeaderInfo": {
|
|
"target": "com.amazonaws.glacier#FileHeaderInfo",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes the first line of input. Valid values are <code>None</code>,\n <code>Ignore</code>, and <code>Use</code>.</p>"
|
|
}
|
|
},
|
|
"Comments": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A single character used to indicate that a row should be ignored when the character is\n present at the start of that row.</p>"
|
|
}
|
|
},
|
|
"QuoteEscapeCharacter": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A single character used for escaping the quotation-mark character inside an already\n escaped value.</p>"
|
|
}
|
|
},
|
|
"RecordDelimiter": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A value used to separate individual records from each other.</p>"
|
|
}
|
|
},
|
|
"FieldDelimiter": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A value used to separate individual fields from each other within a record.</p>"
|
|
}
|
|
},
|
|
"QuoteCharacter": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A value used as an escape character where the field delimiter is part of the\n value.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Contains information about the comma-separated value (CSV) file to select from.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.glacier#CSVOutput": {
|
|
"type": "structure",
|
|
"members": {
|
|
"QuoteFields": {
|
|
"target": "com.amazonaws.glacier#QuoteFields",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A value that indicates whether all output fields should be contained within quotation\n marks.</p>"
|
|
}
|
|
},
|
|
"QuoteEscapeCharacter": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A single character used for escaping the quotation-mark character inside an already\n escaped value.</p>"
|
|
}
|
|
},
|
|
"RecordDelimiter": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A value used to separate individual records from each other.</p>"
|
|
}
|
|
},
|
|
"FieldDelimiter": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A value used to separate individual fields from each other within a record.</p>"
|
|
}
|
|
},
|
|
"QuoteCharacter": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A value used as an escape character where the field delimiter is part of the\n value.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Contains information about the comma-separated value (CSV) file that the job results\n are stored in.</p>"
|
|
}
|
|
},
|
|
"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": "<p>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 <a>InitiateJob</a>.</p>\n\n <p>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 <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/checksum-calculations.html\">Computing\n Checksums</a>. 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 <a>ListParts</a> 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.</p>\n\n <p>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.</p>\n\n <p>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.</p>\n\n <p>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 <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html\">Access Control Using\n AWS Identity and Access Management (IAM)</a>.</p>\n <p> For conceptual information and underlying REST API, see <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/uploading-archive-mpu.html\">Uploading Large Archives in\n Parts (Multipart Upload)</a> and <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/api-multipart-complete-upload.html\">Complete Multipart\n Upload</a> in the <i>Amazon Glacier Developer Guide</i>. </p>",
|
|
"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": "<p>The <code>AccountId</code> 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 '<code>-</code>'\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.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"vaultName": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the vault.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"uploadId": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The upload ID of the multipart upload.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"archiveSize": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>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.</p>",
|
|
"smithy.api#httpHeader": "x-amz-archive-size"
|
|
}
|
|
},
|
|
"checksum": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>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.</p>",
|
|
"smithy.api#httpHeader": "x-amz-sha256-tree-hash"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>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.</p>"
|
|
}
|
|
},
|
|
"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": "<p>This operation completes the vault locking process by transitioning the vault lock\n from the <code>InProgress</code> state to the <code>Locked</code> state, which causes the\n vault lock policy to become unchangeable. A vault lock is put into the\n <code>InProgress</code> state by calling <a>InitiateVaultLock</a>. You can\n obtain the state of the vault lock by calling <a>GetVaultLock</a>. For more\n information about the vault locking process, <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/vault-lock.html\">Amazon Glacier Vault Lock</a>. </p>\n <p>This operation is idempotent. This request is always successful if the vault lock is\n in the <code>Locked</code> state and the provided lock ID matches the lock ID originally\n used to lock the vault.</p>\n <p>If an invalid lock ID is passed in the request when the vault lock is in the\n <code>Locked</code> state, the operation returns an <code>AccessDeniedException</code>\n error. If an invalid lock ID is passed in the request when the vault lock is in the\n <code>InProgress</code> state, the operation throws an <code>InvalidParameter</code>\n error.</p>",
|
|
"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": "<p>The <code>AccountId</code> 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 '<code>-</code>' (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.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"vaultName": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the vault.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"lockId": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The <code>lockId</code> value is the lock ID obtained from a <a>InitiateVaultLock</a> request.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The input values for <code>CompleteVaultLock</code>.</p>"
|
|
}
|
|
},
|
|
"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": "<p>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.</p>\n <p>You must use the following guidelines when naming a vault.</p>\n <ul>\n <li>\n <p>Names can be between 1 and 255 characters long.</p>\n </li>\n <li>\n <p>Allowed characters are a-z, A-Z, 0-9, '_' (underscore), '-' (hyphen), and '.'\n (period).</p>\n </li>\n </ul>\n\n <p>This operation is idempotent.</p>\n\n <p>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 <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html\">Access Control Using\n AWS Identity and Access Management (IAM)</a>.</p>\n <p> For conceptual information and underlying REST API, see <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/creating-vaults.html\">Creating a Vault in Amazon\n Glacier</a> and <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/api-vault-put.html\">Create Vault </a> in the\n <i>Amazon Glacier Developer Guide</i>. </p>",
|
|
"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": "<p>The <code>AccountId</code> 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 '<code>-</code>' (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.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"vaultName": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the vault.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Provides options to create a vault.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.glacier#CreateVaultOutput": {
|
|
"type": "structure",
|
|
"members": {
|
|
"location": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The URI of the vault that was created.</p>",
|
|
"smithy.api#httpHeader": "Location"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Contains the Amazon S3 Glacier response to your request.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.glacier#DataRetrievalPolicy": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Rules": {
|
|
"target": "com.amazonaws.glacier#DataRetrievalRulesList",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>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.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Data retrieval policy.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.glacier#DataRetrievalRule": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Strategy": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The type of data retrieval policy to set.</p>\n <p>Valid values: BytesPerHour|FreeTier|None</p>"
|
|
}
|
|
},
|
|
"BytesPerHour": {
|
|
"target": "com.amazonaws.glacier#NullableLong",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The maximum number of bytes that can be retrieved in an hour.</p>\n <p>This field is required only if the value of the Strategy field is\n <code>BytesPerHour</code>. Your PUT operation will be rejected if the Strategy field is\n not set to <code>BytesPerHour</code> and you set this field.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Data retrieval policy rule.</p>"
|
|
}
|
|
},
|
|
"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": "<p>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:</p>\n <ul>\n <li>\n <p>If the archive retrieval job is actively preparing the data for download when\n Amazon S3 Glacier receives the delete archive request, the archival retrieval operation\n might fail.</p>\n </li>\n <li>\n <p>If the archive retrieval job has successfully prepared the archive for download\n when Amazon S3 Glacier receives the delete archive request, you will be able to download\n the output.</p>\n </li>\n </ul>\n\n <p>This operation is idempotent. Attempting to delete an already-deleted archive does\n not result in an error.</p>\n\n <p>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 <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html\">Access Control Using\n AWS Identity and Access Management (IAM)</a>.</p>\n <p> For conceptual information and underlying REST API, see <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/deleting-an-archive.html\">Deleting an Archive in Amazon\n Glacier</a> and <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/api-archive-delete.html\">Delete Archive</a> in the\n <i>Amazon Glacier Developer Guide</i>. </p>",
|
|
"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": "<p>The <code>AccountId</code> 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 '<code>-</code>'\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.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"vaultName": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the vault.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"archiveId": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The ID of the archive to delete.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Provides options for deleting an archive from an Amazon S3 Glacier vault.</p>"
|
|
}
|
|
},
|
|
"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": "<p>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 <a>DescribeVault</a> to return the number of archives in a vault, and\n you can use <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/api-initiate-job-post.html\">Initiate a Job (POST\n jobs)</a> to initiate a new inventory retrieval for a vault. The inventory contains\n the archive IDs you use to delete archives using <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/api-archive-delete.html\">Delete Archive (DELETE\n archive)</a>.</p>\n\n <p>This operation is idempotent.</p>\n\n <p>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 <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html\">Access Control Using\n AWS Identity and Access Management (IAM)</a>.</p>\n <p> For conceptual information and underlying REST API, see <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/deleting-vaults.html\">Deleting a Vault in Amazon\n Glacier</a> and <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/api-vault-delete.html\">Delete Vault </a> in the\n <i>Amazon S3 Glacier Developer Guide</i>. </p>",
|
|
"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": "<p>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.</p>\n <p>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 <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/vault-access-policy.html\">Amazon Glacier Access Control with Vault Access Policies</a>. </p>",
|
|
"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": "<p>The <code>AccountId</code> 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 '<code>-</code>'\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. </p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"vaultName": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the vault.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>DeleteVaultAccessPolicy input.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.glacier#DeleteVaultInput": {
|
|
"type": "structure",
|
|
"members": {
|
|
"accountId": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The <code>AccountId</code> 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 '<code>-</code>'\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.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"vaultName": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the vault.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Provides options for deleting a vault from Amazon S3 Glacier.</p>"
|
|
}
|
|
},
|
|
"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": "<p>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.</p>\n\n <p>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 <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html\">Access\n Control Using AWS Identity and Access Management (IAM)</a>.</p>\n <p> For conceptual information and underlying REST API, see <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/configuring-notifications.html\">Configuring Vault\n Notifications in Amazon S3 Glacier</a> and <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/api-vault-notifications-delete.html\">Delete Vault\n Notification Configuration </a> in the Amazon S3 Glacier Developer Guide. </p>",
|
|
"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": "<p>The <code>AccountId</code> 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 '<code>-</code>'\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. </p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"vaultName": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the vault.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Provides options for deleting a vault notification configuration from an Amazon\n Glacier vault.</p>"
|
|
}
|
|
},
|
|
"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": "<p>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 <a>InitiateJob</a>. </p>\n\n <note>\n <p>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.</p>\n </note>\n\n <p>A job ID will not expire for at least 24 hours after Glacier completes the\n job.</p>\n\n <p>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 <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html\">Access Control Using\n AWS Identity and Access Management (IAM)</a>.</p>\n\n <p> For more information about using this operation, \n see the documentation for the underlying REST API <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/api-describe-job-get.html\">Describe Job</a> \n in the <i>Amazon Glacier Developer Guide</i>. </p>",
|
|
"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": "<p>The <code>AccountId</code> 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 '<code>-</code>'\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. </p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"vaultName": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the vault.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"jobId": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The ID of the job to describe.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Provides options for retrieving a job description.</p>"
|
|
}
|
|
},
|
|
"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": "<p>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 <a>InitiateJob</a>. Amazon S3 Glacier generates vault inventories approximately\n daily. For more information, see <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/vault-inventory.html\">Downloading a Vault Inventory in\n Amazon S3 Glacier</a>. </p>\n\n <p>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 <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html\">Access Control Using\n AWS Identity and Access Management (IAM)</a>.</p>\n <p>For conceptual information and underlying REST API, see <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/retrieving-vault-info.html\">Retrieving Vault Metadata in\n Amazon S3 Glacier</a> and <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/api-vault-get.html\">Describe Vault </a> in the\n <i>Amazon Glacier Developer Guide</i>. </p>",
|
|
"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": "<p>The <code>AccountId</code> 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 '<code>-</code>'\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. </p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"vaultName": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the vault.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Provides options for retrieving metadata for a specific vault in Amazon\n Glacier.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.glacier#DescribeVaultOutput": {
|
|
"type": "structure",
|
|
"members": {
|
|
"VaultARN": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the vault.</p>"
|
|
}
|
|
},
|
|
"VaultName": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the vault.</p>"
|
|
}
|
|
},
|
|
"CreationDate": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>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 <code>2012-03-20T17:03:43.221Z</code>.</p>"
|
|
}
|
|
},
|
|
"LastInventoryDate": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>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 <code>2012-03-20T17:03:43.221Z</code>.</p>"
|
|
}
|
|
},
|
|
"NumberOfArchives": {
|
|
"target": "com.amazonaws.glacier#long",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The number of archives in the vault as of the last inventory date. This field will\n return <code>null</code> if an inventory has not yet run on the vault, for example if you\n just created the vault.</p>"
|
|
}
|
|
},
|
|
"SizeInBytes": {
|
|
"target": "com.amazonaws.glacier#long",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>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.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Contains the Amazon S3 Glacier response to your request.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.glacier#Encryption": {
|
|
"type": "structure",
|
|
"members": {
|
|
"EncryptionType": {
|
|
"target": "com.amazonaws.glacier#EncryptionType",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The server-side encryption algorithm used when storing job results in Amazon S3, for\n example <code>AES256</code> or <code>aws:kms</code>.</p>"
|
|
}
|
|
},
|
|
"KMSKeyId": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>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. </p>"
|
|
}
|
|
},
|
|
"KMSContext": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Optional. If the encryption type is <code>aws:kms</code>, you can use this value to\n specify the encryption context for the job results.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Contains information about the encryption used to store the job results in Amazon S3. </p>"
|
|
}
|
|
},
|
|
"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": "<p>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 <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/data-retrieval-policy.html\">Amazon Glacier Data Retrieval Policies</a>.</p>",
|
|
"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": "<p>The <code>AccountId</code> 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 '<code>-</code>' (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. </p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Input for GetDataRetrievalPolicy.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.glacier#GetDataRetrievalPolicyOutput": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Policy": {
|
|
"target": "com.amazonaws.glacier#DataRetrievalPolicy",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Contains the returned data retrieval policy in JSON format.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Contains the Amazon S3 Glacier response to the <code>GetDataRetrievalPolicy</code>\n request.</p>"
|
|
}
|
|
},
|
|
"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": "<p>This operation downloads the output of the job you initiated using <a>InitiateJob</a>. 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.</p>\n\n <p>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.</p>\n <p>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 <b>Get Job Output</b> response.</p>\n <p>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 <code>bytes=0-1048575</code>, 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 <b>Get Job Output</b> response.</p>\n <p>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.</p>\n \n <p>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.</p> \n\n <p>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 <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html\">Access Control Using\n AWS Identity and Access Management (IAM)</a>.</p>\n <p>For conceptual information and the underlying REST API, see <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/vault-inventory.html\">Downloading a\n Vault Inventory</a>, <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/downloading-an-archive.html\">Downloading an\n Archive</a>, and <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/api-job-output-get.html\">Get Job Output </a>\n </p>",
|
|
"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": "<p>The <code>AccountId</code> 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 '<code>-</code>'\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.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"vaultName": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the vault.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"jobId": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The job ID whose data is downloaded.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"range": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>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 <code>bytes=0-1048575</code>. By default, this operation\n downloads the entire output.</p>\n \n <p>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:</p>\n \n <ol>\n <li>\n <p>Download a 128 MB chunk of output by specifying the appropriate byte range.\n Verify that all 128 MB of data was received.</p>\n </li>\n <li>\n <p>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.</p>\n </li>\n <li>\n <p>Repeat steps 1 and 2 for all the eight 128 MB chunks of output data, each time\n specifying the appropriate byte range.</p>\n </li>\n <li>\n <p>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 <a>DescribeJob</a> 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.</p>\n <p></p>\n </li>\n </ol>",
|
|
"smithy.api#httpHeader": "Range"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Provides options for downloading output of an Amazon S3 Glacier job.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.glacier#GetJobOutputOutput": {
|
|
"type": "structure",
|
|
"members": {
|
|
"body": {
|
|
"target": "com.amazonaws.glacier#Stream",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The job data, either archive data or inventory data.</p>",
|
|
"smithy.api#httpPayload": {}
|
|
}
|
|
},
|
|
"checksum": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>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:</p>\n <ul>\n <li>\n <p>You get the entire range of the archive.</p>\n </li>\n <li>\n <p>You request a range to return of the archive that starts and ends on a multiple\n of 1 MB. For example, if you have an 3.1 MB archive and you specify a range to return\n that starts at 1 MB and ends at 2 MB, then the x-amz-sha256-tree-hash is returned as\n a response header.</p>\n </li>\n <li>\n <p>You request a range of the archive to return that starts on a multiple of 1 MB\n and goes to the end of the archive. For example, if you have a 3.1 MB archive and you\n specify a range that starts at 2 MB and ends at 3.1 MB (the end of the archive), then\n the x-amz-sha256-tree-hash is returned as a response header.</p>\n </li>\n </ul>",
|
|
"smithy.api#httpHeader": "x-amz-sha256-tree-hash"
|
|
}
|
|
},
|
|
"status": {
|
|
"target": "com.amazonaws.glacier#httpstatus",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The HTTP response code for a job output request. The value depends on whether a range\n was specified in the request.</p>",
|
|
"smithy.api#httpResponseCode": {}
|
|
}
|
|
},
|
|
"contentRange": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>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.</p>",
|
|
"smithy.api#httpHeader": "Content-Range"
|
|
}
|
|
},
|
|
"acceptRanges": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Indicates the range units accepted. For more information, see <a href=\"http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html\">RFC2616</a>. </p>",
|
|
"smithy.api#httpHeader": "Accept-Ranges"
|
|
}
|
|
},
|
|
"contentType": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>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.</p>",
|
|
"smithy.api#httpHeader": "Content-Type"
|
|
}
|
|
},
|
|
"archiveDescription": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The description of an archive.</p>",
|
|
"smithy.api#httpHeader": "x-amz-archive-description"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Contains the Amazon S3 Glacier response to your request.</p>"
|
|
}
|
|
},
|
|
"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": "<p>This operation retrieves the <code>access-policy</code> subresource set on the vault;\n for more information on setting this subresource, see <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/api-SetVaultAccessPolicy.html\">Set Vault Access Policy\n (PUT access-policy)</a>. If there is no access policy set on the vault, the\n operation returns a <code>404 Not found</code> error. For more information about vault\n access policies, see <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/vault-access-policy.html\">Amazon Glacier Access Control\n with Vault Access Policies</a>.</p>",
|
|
"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": "<p>The <code>AccountId</code> 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 '<code>-</code>'\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.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"vaultName": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the vault.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Input for GetVaultAccessPolicy.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.glacier#GetVaultAccessPolicyOutput": {
|
|
"type": "structure",
|
|
"members": {
|
|
"policy": {
|
|
"target": "com.amazonaws.glacier#VaultAccessPolicy",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Contains the returned vault access policy as a JSON string.</p>",
|
|
"smithy.api#httpPayload": {}
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Output for GetVaultAccessPolicy.</p>"
|
|
}
|
|
},
|
|
"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": "<p>This operation retrieves the following attributes from the <code>lock-policy</code>\n subresource set on the specified vault: </p>\n <ul>\n <li>\n <p>The vault lock policy set on the vault.</p>\n </li>\n <li>\n <p>The state of the vault lock, which is either <code>InProgess</code> or\n <code>Locked</code>.</p>\n </li>\n <li>\n <p>When the lock ID expires. The lock ID is used to complete the vault locking\n process.</p>\n </li>\n <li>\n <p>When the vault lock was initiated and put into the <code>InProgress</code>\n state.</p>\n </li>\n </ul>\n\n <p>A vault lock is put into the <code>InProgress</code> state by calling <a>InitiateVaultLock</a>. A vault lock is put into the <code>Locked</code> state by\n calling <a>CompleteVaultLock</a>. You can abort the vault locking process by\n calling <a>AbortVaultLock</a>. For more information about the vault locking\n process, <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/vault-lock.html\">Amazon\n Glacier Vault Lock</a>. </p>\n <p>If there is no vault lock policy set on the vault, the operation returns a <code>404\n Not found</code> error. For more information about vault lock policies, <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/vault-lock-policy.html\">Amazon\n Glacier Access Control with Vault Lock Policies</a>. </p>",
|
|
"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": "<p>The <code>AccountId</code> 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 '<code>-</code>'\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.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"vaultName": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the vault.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The input values for <code>GetVaultLock</code>.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.glacier#GetVaultLockOutput": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Policy": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The vault lock policy as a JSON string, which uses \"\\\" as an escape\n character.</p>"
|
|
}
|
|
},
|
|
"State": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The state of the vault lock. <code>InProgress</code> or\n <code>Locked</code>.</p>"
|
|
}
|
|
},
|
|
"ExpirationDate": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The UTC date and time at which the lock ID expires. This value can be\n <code>null</code> if the vault lock is in a <code>Locked</code> state.</p>"
|
|
}
|
|
},
|
|
"CreationDate": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The UTC date and time at which the vault lock was put into the\n <code>InProgress</code> state.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Contains the Amazon S3 Glacier response to your request.</p>"
|
|
}
|
|
},
|
|
"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": "<p>This operation retrieves the <code>notification-configuration</code> subresource of\n the specified vault.</p>\n\n <p>For information about setting a notification configuration on a vault, see <a>SetVaultNotifications</a>. If a notification configuration for a vault is not\n set, the operation returns a <code>404 Not Found</code> error. For more information about\n vault notifications, see <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/configuring-notifications.html\">Configuring Vault\n Notifications in Amazon S3 Glacier</a>. </p>\n\n <p>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 <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html\">Access Control Using\n AWS Identity and Access Management (IAM)</a>.</p>\n <p>For conceptual information and underlying REST API, see <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/configuring-notifications.html\">Configuring Vault\n Notifications in Amazon S3 Glacier</a> and <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/api-vault-notifications-get.html\">Get Vault Notification\n Configuration </a> in the <i>Amazon Glacier Developer Guide</i>. </p>",
|
|
"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": "<p>The <code>AccountId</code> 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 '<code>-</code>'\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.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"vaultName": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the vault.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Provides options for retrieving the notification configuration set on an Amazon\n Glacier vault.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.glacier#GetVaultNotificationsOutput": {
|
|
"type": "structure",
|
|
"members": {
|
|
"vaultNotificationConfig": {
|
|
"target": "com.amazonaws.glacier#VaultNotificationConfig",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Returns the notification configuration set on the vault.</p>",
|
|
"smithy.api#httpPayload": {}
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Contains the Amazon S3 Glacier response to your request.</p>"
|
|
}
|
|
},
|
|
"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": "<p> Amazon S3 Glacier (Glacier) is a storage solution for \"cold data.\"</p>\n\n <p>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.</p>\n\n <p>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 <a href=\"http://aws.amazon.com/s3/\">Amazon Simple Storage Service\n (Amazon S3)</a>.</p>\n\n <p>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.</p>\n\n <p>If you are a first-time user of Glacier, we recommend that you begin by\n reading the following sections in the <i>Amazon S3 Glacier Developer\n Guide</i>:</p>\n <ul>\n <li>\n <p>\n <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/introduction.html\">What is\n Amazon S3 Glacier</a> - This section of the Developer Guide describes the\n underlying data model, the operations it supports, and the AWS SDKs that you can use\n to interact with the service.</p>\n </li>\n <li>\n <p>\n <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/amazon-glacier-getting-started.html\">Getting Started\n with Amazon S3 Glacier</a> - The Getting Started section walks you through the\n process of creating a vault, uploading archives, creating jobs to download archives,\n retrieving the job output, and deleting archives.</p>\n </li>\n </ul>",
|
|
"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": "<p>An opaque string that identifies an Amazon S3 Glacier job.</p>"
|
|
}
|
|
},
|
|
"JobDescription": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The job description provided when initiating the job.</p>"
|
|
}
|
|
},
|
|
"Action": {
|
|
"target": "com.amazonaws.glacier#ActionCode",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The job type. This value is either <code>ArchiveRetrieval</code>,\n <code>InventoryRetrieval</code>, or\n <code>Select</code>. </p>"
|
|
}
|
|
},
|
|
"ArchiveId": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The archive ID requested for a select job or archive retrieval. Otherwise, this\n field is null.</p>"
|
|
}
|
|
},
|
|
"VaultARN": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the vault from which an archive retrieval was\n requested.</p>"
|
|
}
|
|
},
|
|
"CreationDate": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The UTC date when the job was created. This value is a string representation of ISO\n 8601 date format, for example <code>\"2012-03-20T17:03:43.221Z\"</code>.</p>"
|
|
}
|
|
},
|
|
"Completed": {
|
|
"target": "com.amazonaws.glacier#boolean",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The job status. When a job is completed, you get the job's output using Get Job\n Output (GET output).</p>"
|
|
}
|
|
},
|
|
"StatusCode": {
|
|
"target": "com.amazonaws.glacier#StatusCode",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The status code can be <code>InProgress</code>, <code>Succeeded</code>, or\n <code>Failed</code>, and indicates the status of the job.</p>"
|
|
}
|
|
},
|
|
"StatusMessage": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A friendly message that describes the job status.</p>"
|
|
}
|
|
},
|
|
"ArchiveSizeInBytes": {
|
|
"target": "com.amazonaws.glacier#Size",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>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.</p>"
|
|
}
|
|
},
|
|
"InventorySizeInBytes": {
|
|
"target": "com.amazonaws.glacier#Size",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>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.</p>"
|
|
}
|
|
},
|
|
"SNSTopic": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>An Amazon SNS topic that receives notification.</p>"
|
|
}
|
|
},
|
|
"CompletionDate": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The UTC time that the job request completed. While the job is in progress, the\n value is null.</p>"
|
|
}
|
|
},
|
|
"SHA256TreeHash": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>For an archive retrieval job, this value is the checksum of the archive. Otherwise,\n this value is null.</p>\n <p>The SHA256 tree hash value for the requested range of an archive. If the <b>InitiateJob</b> request for an archive specified a tree-hash\n aligned range, then this field returns a value.</p>\n <p>If the whole archive is retrieved, this value is the same as the\n ArchiveSHA256TreeHash value.</p>\n <p>This field is null for the following:</p>\n <ul>\n <li>\n <p>Archive retrieval jobs that specify a range that is not tree-hash\n aligned</p>\n </li>\n </ul>\n <ul>\n <li>\n <p>Archival jobs that specify a range that is equal to the whole archive, when\n the job status is <code>InProgress</code>\n </p>\n </li>\n </ul>\n <ul>\n <li>\n <p>Inventory jobs</p>\n </li>\n <li>\n <p>Select jobs</p>\n </li>\n </ul>"
|
|
}
|
|
},
|
|
"ArchiveSHA256TreeHash": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The SHA256 tree hash of the entire archive for an archive retrieval. For inventory\n retrieval or select jobs, this field is null.</p>"
|
|
}
|
|
},
|
|
"RetrievalByteRange": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The retrieved byte range for archive retrieval jobs in the form\n <i>StartByteValue</i>-<i>EndByteValue</i>. If no range\n was specified in the archive retrieval, then the whole archive is retrieved. In this\n case, <i>StartByteValue</i> equals 0 and <i>EndByteValue</i>\n equals the size of the archive minus 1. For inventory retrieval or select jobs, this\n field is null. </p>"
|
|
}
|
|
},
|
|
"Tier": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The tier to use for a select or an archive retrieval. Valid values are\n <code>Expedited</code>, <code>Standard</code>, or <code>Bulk</code>.\n <code>Standard</code> is the default.</p>"
|
|
}
|
|
},
|
|
"InventoryRetrievalParameters": {
|
|
"target": "com.amazonaws.glacier#InventoryRetrievalJobDescription",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Parameters used for range inventory retrieval.</p>"
|
|
}
|
|
},
|
|
"JobOutputPath": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Contains the job output location.</p>"
|
|
}
|
|
},
|
|
"SelectParameters": {
|
|
"target": "com.amazonaws.glacier#SelectParameters",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Contains the parameters used for a select.</p>"
|
|
}
|
|
},
|
|
"OutputLocation": {
|
|
"target": "com.amazonaws.glacier#OutputLocation",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Contains the location where the data from the select job is stored.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Contains the description of an Amazon S3 Glacier job.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.glacier#Grant": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Grantee": {
|
|
"target": "com.amazonaws.glacier#Grantee",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The grantee.</p>"
|
|
}
|
|
},
|
|
"Permission": {
|
|
"target": "com.amazonaws.glacier#Permission",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Specifies the permission given to the grantee. </p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Contains information about a grant.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.glacier#Grantee": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Type": {
|
|
"target": "com.amazonaws.glacier#Type",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Type of grantee</p>",
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"DisplayName": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Screen name of the grantee.</p>"
|
|
}
|
|
},
|
|
"URI": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>URI of the grantee group.</p>"
|
|
}
|
|
},
|
|
"ID": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The canonical user ID of the grantee.</p>"
|
|
}
|
|
},
|
|
"EmailAddress": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Email address of the grantee.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Contains information about the grantee.</p>"
|
|
}
|
|
},
|
|
"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": "<p>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 <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/api-initiate-job-post.html\">Initiate\n a Job</a>.\n </p>",
|
|
"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": "<p>The <code>AccountId</code> 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 '<code>-</code>'\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.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"vaultName": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the vault.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"jobParameters": {
|
|
"target": "com.amazonaws.glacier#JobParameters",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Provides options for specifying job information.</p>",
|
|
"smithy.api#httpPayload": {}
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Provides options for initiating an Amazon S3 Glacier job.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.glacier#InitiateJobOutput": {
|
|
"type": "structure",
|
|
"members": {
|
|
"location": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The relative URI path of the job.</p>",
|
|
"smithy.api#httpHeader": "Location"
|
|
}
|
|
},
|
|
"jobId": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The ID of the job.</p>",
|
|
"smithy.api#httpHeader": "x-amz-job-id"
|
|
}
|
|
},
|
|
"jobOutputPath": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The path to the location of where the select results are stored.</p>",
|
|
"smithy.api#httpHeader": "x-amz-job-output-path"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Contains the Amazon S3 Glacier response to your request.</p>"
|
|
}
|
|
},
|
|
"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": "<p>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 <a>UploadMultipartPart</a>).</p>\n\n <p>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.</p>\n\n <p>Every part you upload to this resource (see <a>UploadMultipartPart</a>),\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. </p>\n\n <note>\n <p>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.</p>\n </note>\n\n <p>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.</p>\n\n <p>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 <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html\">Access Control Using\n AWS Identity and Access Management (IAM)</a>.</p>\n <p>For conceptual information and underlying REST API, see <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/uploading-archive-mpu.html\">Uploading Large Archives in\n Parts (Multipart Upload)</a> and <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/api-multipart-initiate-upload.html\">Initiate Multipart\n Upload</a> in the <i>Amazon Glacier Developer Guide</i>.</p>",
|
|
"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": "<p>The <code>AccountId</code> 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 '<code>-</code>'\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. </p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"vaultName": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the vault.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"archiveDescription": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The archive description that you are uploading in parts.</p>\n <p>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).</p>",
|
|
"smithy.api#httpHeader": "x-amz-archive-description"
|
|
}
|
|
},
|
|
"partSize": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The size of each part except the last, in bytes. The last part can be smaller than\n this part size.</p>",
|
|
"smithy.api#httpHeader": "x-amz-part-size"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Provides options for initiating a multipart upload to an Amazon S3 Glacier\n vault.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.glacier#InitiateMultipartUploadOutput": {
|
|
"type": "structure",
|
|
"members": {
|
|
"location": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The relative URI path of the multipart upload ID Amazon S3 Glacier created.</p>",
|
|
"smithy.api#httpHeader": "Location"
|
|
}
|
|
},
|
|
"uploadId": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The ID of the multipart upload. This value is also included as part of the\n location.</p>",
|
|
"smithy.api#httpHeader": "x-amz-multipart-upload-id"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The Amazon S3 Glacier response to your request.</p>"
|
|
}
|
|
},
|
|
"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": "<p>This operation initiates the vault locking process by doing the following:</p>\n <ul>\n <li>\n <p>Installing a vault lock policy on the specified vault.</p>\n </li>\n <li>\n <p>Setting the lock state of vault lock to <code>InProgress</code>.</p>\n </li>\n <li>\n <p>Returning a lock ID, which is used to complete the vault locking\n process.</p>\n </li>\n </ul>\n\n <p>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 <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/vault-lock-policy.html\">Amazon Glacier Access Control with\n Vault Lock Policies</a>. </p>\n <p>You must complete the vault locking process within 24 hours after the vault lock\n enters the <code>InProgress</code> state. After the 24 hour window ends, the lock ID\n expires, the vault automatically exits the <code>InProgress</code> state, and the vault\n lock policy is removed from the vault. You call <a>CompleteVaultLock</a> to\n complete the vault locking process by setting the state of the vault lock to\n <code>Locked</code>. </p>\n <p>After a vault lock is in the <code>Locked</code> state, you cannot initiate a new\n vault lock for the vault.</p>\n\n <p>You can abort the vault locking process by calling <a>AbortVaultLock</a>.\n You can get the state of the vault lock by calling <a>GetVaultLock</a>. For more\n information about the vault locking process, <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/vault-lock.html\">Amazon Glacier Vault\n Lock</a>.</p>\n\n <p>If this operation is called when the vault lock is in the <code>InProgress</code>\n state, the operation returns an <code>AccessDeniedException</code> error. When the vault\n lock is in the <code>InProgress</code> state you must call <a>AbortVaultLock</a>\n before you can initiate a new vault lock policy. </p>",
|
|
"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": "<p>The <code>AccountId</code> 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 '<code>-</code>' (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.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"vaultName": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the vault.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"policy": {
|
|
"target": "com.amazonaws.glacier#VaultLockPolicy",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The vault lock policy as a JSON string, which uses \"\\\" as an escape\n character.</p>",
|
|
"smithy.api#httpPayload": {}
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The input values for <code>InitiateVaultLock</code>.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.glacier#InitiateVaultLockOutput": {
|
|
"type": "structure",
|
|
"members": {
|
|
"lockId": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The lock ID, which is used to complete the vault locking process.</p>",
|
|
"smithy.api#httpHeader": "x-amz-lock-id"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Contains the Amazon S3 Glacier response to your request.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.glacier#InputSerialization": {
|
|
"type": "structure",
|
|
"members": {
|
|
"csv": {
|
|
"target": "com.amazonaws.glacier#CSVInput",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes the serialization of a CSV-encoded object.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes how the archive is serialized.</p>"
|
|
}
|
|
},
|
|
"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": "<p>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.</p>",
|
|
"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": "<p>Client</p>"
|
|
}
|
|
},
|
|
"code": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>400 Bad Request</p>"
|
|
}
|
|
},
|
|
"message": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Returned if a parameter of the request is incorrectly specified.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Returned if a parameter of the request is incorrectly specified.</p>",
|
|
"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": "<p>The output format for the vault inventory list, which is set by the <b>InitiateJob</b> request when initiating a job to retrieve a vault\n inventory. Valid values are <code>CSV</code> and <code>JSON</code>.</p>"
|
|
}
|
|
},
|
|
"StartDate": {
|
|
"target": "com.amazonaws.glacier#DateTime",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>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 <code>2013-03-20T17:03:43Z</code>.</p>"
|
|
}
|
|
},
|
|
"EndDate": {
|
|
"target": "com.amazonaws.glacier#DateTime",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>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 <code>2013-03-20T17:03:43Z</code>.</p>"
|
|
}
|
|
},
|
|
"Limit": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The maximum number of inventory items returned per vault inventory retrieval\n request. This limit is set when initiating the job with the a <b>InitiateJob</b> request. </p>"
|
|
}
|
|
},
|
|
"Marker": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>An opaque string that represents where to continue pagination of the vault\n inventory retrieval results. You use the marker in a new <b>InitiateJob</b> request to obtain additional inventory items. If there are\n no more inventory items, this value is <code>null</code>. For more information, see\n <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/api-initiate-job-post.html#api-initiate-job-post-vault-inventory-list-filtering\"> Range Inventory Retrieval</a>.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes the options for a range inventory retrieval job.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.glacier#InventoryRetrievalJobInput": {
|
|
"type": "structure",
|
|
"members": {
|
|
"StartDate": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>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 <code>2013-03-20T17:03:43Z</code>.</p>"
|
|
}
|
|
},
|
|
"EndDate": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>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 <code>2013-03-20T17:03:43Z</code>.</p>"
|
|
}
|
|
},
|
|
"Limit": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Specifies the maximum number of inventory items returned per vault inventory\n retrieval request. Valid values are greater than or equal to 1.</p>"
|
|
}
|
|
},
|
|
"Marker": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>An opaque string that represents where to continue pagination of the vault inventory\n retrieval results. You use the marker in a new <b>InitiateJob</b>\n request to obtain additional inventory items. If there are no more inventory items, this\n value is <code>null</code>.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Provides options for specifying a range inventory retrieval job.</p>"
|
|
}
|
|
},
|
|
"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": "<p>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\".</p>"
|
|
}
|
|
},
|
|
"Type": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>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\".</p>"
|
|
}
|
|
},
|
|
"ArchiveId": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The ID of the archive that you want to retrieve. This field is required only if\n <code>Type</code> is set to <code>select</code> or <code>archive-retrieval</code>code>. \n An error occurs if you specify this\n request parameter for an inventory retrieval job request. </p>"
|
|
}
|
|
},
|
|
"Description": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>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.</p>"
|
|
}
|
|
},
|
|
"SNSTopic": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>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.</p>"
|
|
}
|
|
},
|
|
"RetrievalByteRange": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The byte range to retrieve for an archive retrieval. in the form\n \"<i>StartByteValue</i>-<i>EndByteValue</i>\" If not\n specified, the whole archive is retrieved. If specified, the byte range must be megabyte\n (1024*1024) aligned which means that <i>StartByteValue</i> must be divisible\n by 1 MB and <i>EndByteValue</i> 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. </p>\n <p>An error occurs if you specify this field for an inventory retrieval job\n request.</p>"
|
|
}
|
|
},
|
|
"Tier": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The tier to use for a select or an archive retrieval job. Valid values are\n <code>Expedited</code>, <code>Standard</code>, or <code>Bulk</code>.\n <code>Standard</code> is the default.</p>"
|
|
}
|
|
},
|
|
"InventoryRetrievalParameters": {
|
|
"target": "com.amazonaws.glacier#InventoryRetrievalJobInput",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Input parameters used for range inventory retrieval.</p>"
|
|
}
|
|
},
|
|
"SelectParameters": {
|
|
"target": "com.amazonaws.glacier#SelectParameters",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Contains the parameters that define a job.</p>"
|
|
}
|
|
},
|
|
"OutputLocation": {
|
|
"target": "com.amazonaws.glacier#OutputLocation",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Contains information about the location where the select job results are stored.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Provides options for defining a job.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.glacier#LimitExceededException": {
|
|
"type": "structure",
|
|
"members": {
|
|
"type": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Client</p>"
|
|
}
|
|
},
|
|
"code": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>400 Bad Request</p>"
|
|
}
|
|
},
|
|
"message": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Returned if the request results in a vault limit or tags limit being exceeded.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Returned if the request results in a vault or account limit being exceeded.</p>",
|
|
"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": "<p>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.</p>\n\n <note>\n <p>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.</p>\n </note>\n\n <p>The List Jobs operation supports pagination. You should always check the response <code>Marker</code> field. \n If there are no more jobs to list, the <code>Marker</code> field is set to <code>null</code>. If there are more jobs to list, \n the <code>Marker</code> 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 <code>Marker</code> value for that job that you obtained from a previous List Jobs request.</p>\n \n <p>You can set a maximum limit for the number of jobs returned in the response by\n specifying the <code>limit</code> 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.</p>\n\n <p>Additionally, you can filter the jobs list returned by specifying the optional\n <code>statuscode</code> parameter or <code>completed</code> parameter, or both. Using\n the <code>statuscode</code> parameter, you can specify to return only jobs that match\n either the <code>InProgress</code>, <code>Succeeded</code>, or <code>Failed</code> status.\n Using the <code>completed</code> parameter, you can specify to return only jobs that were\n completed (<code>true</code>) or jobs that were not completed\n (<code>false</code>).</p>\n\n <p>For more information about using this operation, \n see the documentation for the underlying REST API <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/api-jobs-get.html\">List Jobs</a>. </p>",
|
|
"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": "<p>The <code>AccountId</code> 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 '<code>-</code>'\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. </p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"vaultName": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the vault.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"limit": {
|
|
"target": "smithy.api#Integer",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>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.</p>",
|
|
"smithy.api#httpQuery": "limit"
|
|
}
|
|
},
|
|
"marker": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>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.</p>",
|
|
"smithy.api#httpQuery": "marker"
|
|
}
|
|
},
|
|
"statuscode": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The type of job status to return. You can specify the following values:\n <code>InProgress</code>, <code>Succeeded</code>, or <code>Failed</code>.</p>",
|
|
"smithy.api#httpQuery": "statuscode"
|
|
}
|
|
},
|
|
"completed": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The state of the jobs to return. You can specify <code>true</code> or\n <code>false</code>.</p>",
|
|
"smithy.api#httpQuery": "completed"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Provides options for retrieving a job list for an Amazon S3 Glacier vault.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.glacier#ListJobsOutput": {
|
|
"type": "structure",
|
|
"members": {
|
|
"JobList": {
|
|
"target": "com.amazonaws.glacier#JobList",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A list of job objects. Each job object contains metadata describing the\n job.</p>"
|
|
}
|
|
},
|
|
"Marker": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>\t\n An opaque string used for pagination that specifies the job at which the listing of jobs should begin. \n You get the <code>marker</code> 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. </p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Contains the Amazon S3 Glacier response to your request.</p>"
|
|
}
|
|
},
|
|
"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": "<p>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 <a>InitiateMultipartUpload</a> request, but has not yet been completed or aborted.\n The list returned in the List Multipart Upload response has no guaranteed order. </p>\n\n <p>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 <code>marker</code> at which to continue the list; if there are no more items the\n <code>marker</code> is <code>null</code>. To return a list of multipart uploads that\n begins at a specific upload, set the <code>marker</code> 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 <code>limit</code> parameter in the\n request.</p>\n\n <p>Note the difference between this operation and listing parts (<a>ListParts</a>). 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.</p>\n\n <p>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 <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html\">Access Control Using\n AWS Identity and Access Management (IAM)</a>.</p>\n\n <p>For conceptual information and the underlying REST API, see <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/working-with-archives.html\">Working\n with Archives in Amazon S3 Glacier</a> and <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/api-multipart-list-uploads.html\">List Multipart Uploads\n </a> in the <i>Amazon Glacier Developer Guide</i>.</p>",
|
|
"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": "<p>The <code>AccountId</code> 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 '<code>-</code>'\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. </p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"vaultName": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the vault.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"limit": {
|
|
"target": "smithy.api#Integer",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>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.</p>",
|
|
"smithy.api#httpQuery": "limit"
|
|
}
|
|
},
|
|
"marker": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>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.</p>",
|
|
"smithy.api#httpQuery": "marker"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Provides options for retrieving list of in-progress multipart uploads for an Amazon\n Glacier vault.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.glacier#ListMultipartUploadsOutput": {
|
|
"type": "structure",
|
|
"members": {
|
|
"UploadsList": {
|
|
"target": "com.amazonaws.glacier#UploadsList",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A list of in-progress multipart uploads.</p>"
|
|
}
|
|
},
|
|
"Marker": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>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 <code>null</code>.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Contains the Amazon S3 Glacier response to your request.</p>"
|
|
}
|
|
},
|
|
"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": "<p>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 <a>CompleteMultipartUpload</a>. List\n Parts returns an error for completed uploads. The list returned in the List Parts response\n is sorted by part range. </p>\n\n <p>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 <code>marker</code> at which to continue the list; if there are no more items the\n <code>marker</code> is <code>null</code>. To return a list of parts that begins at a\n specific part, set the <code>marker</code> 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 <code>limit</code> parameter in the request. </p>\n\n <p>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 <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html\">Access Control Using\n AWS Identity and Access Management (IAM)</a>.</p>\n <p>For conceptual information and the underlying REST API, see <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/working-with-archives.html\">Working\n with Archives in Amazon S3 Glacier</a> and <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/api-multipart-list-parts.html\">List Parts</a> in the\n <i>Amazon Glacier Developer Guide</i>.</p>",
|
|
"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": "<p>The <code>AccountId</code> 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 '<code>-</code>'\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. </p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"vaultName": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the vault.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"uploadId": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The upload ID of the multipart upload.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"marker": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>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.</p>",
|
|
"smithy.api#httpQuery": "marker"
|
|
}
|
|
},
|
|
"limit": {
|
|
"target": "smithy.api#Integer",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>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.</p>",
|
|
"smithy.api#httpQuery": "limit"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Provides options for retrieving a list of parts of an archive that have been uploaded\n in a specific multipart upload.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.glacier#ListPartsOutput": {
|
|
"type": "structure",
|
|
"members": {
|
|
"MultipartUploadId": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The ID of the upload to which the parts are associated.</p>"
|
|
}
|
|
},
|
|
"VaultARN": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the vault to which the multipart upload was\n initiated.</p>"
|
|
}
|
|
},
|
|
"ArchiveDescription": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The description of the archive that was specified in the Initiate Multipart Upload\n request.</p>"
|
|
}
|
|
},
|
|
"PartSizeInBytes": {
|
|
"target": "com.amazonaws.glacier#long",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The part size in bytes. This is the same value that you specified in the Initiate\n Multipart Upload request.</p>"
|
|
}
|
|
},
|
|
"CreationDate": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The UTC time at which the multipart upload was initiated.</p>"
|
|
}
|
|
},
|
|
"Parts": {
|
|
"target": "com.amazonaws.glacier#PartList",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A list of the part sizes of the multipart upload. Each object in the array contains a\n <code>RangeBytes</code> and <code>sha256-tree-hash</code> name/value\n pair.</p>"
|
|
}
|
|
},
|
|
"Marker": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>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 <code>null</code>.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Contains the Amazon S3 Glacier response to your request.</p>"
|
|
}
|
|
},
|
|
"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": "<p>This operation lists the provisioned capacity units for the specified AWS\n account.</p>",
|
|
"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": "<p>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. </p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.glacier#ListProvisionedCapacityOutput": {
|
|
"type": "structure",
|
|
"members": {
|
|
"ProvisionedCapacityList": {
|
|
"target": "com.amazonaws.glacier#ProvisionedCapacityList",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The response body contains the following JSON fields.</p>"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"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": "<p>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 <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/tagging.html\">Tagging Amazon S3 Glacier\n Resources</a>.</p>",
|
|
"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": "<p>The <code>AccountId</code> 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 '<code>-</code>'\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.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"vaultName": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the vault.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The input value for <code>ListTagsForVaultInput</code>.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.glacier#ListTagsForVaultOutput": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Tags": {
|
|
"target": "com.amazonaws.glacier#TagMap",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The tags attached to the vault. Each tag is composed of a key and a value.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Contains the Amazon S3 Glacier response to your request.</p>"
|
|
}
|
|
},
|
|
"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": "<p>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.</p>\n\n <p>By default, this operation returns up to 10 items. If there are more vaults to\n list, the response <code>marker</code> field contains the vault Amazon Resource Name (ARN)\n at which to continue the list with a new List Vaults request; otherwise, the\n <code>marker</code> field is <code>null</code>. To return a list of vaults that begins\n at a specific vault, set the <code>marker</code> 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 <code>limit</code> parameter in the request. </p>\n\n <p>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 <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html\">Access Control Using\n AWS Identity and Access Management (IAM)</a>.</p>\n <p>For conceptual information and underlying REST API, see <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/retrieving-vault-info.html\">Retrieving Vault Metadata in\n Amazon S3 Glacier</a> and <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/api-vaults-get.html\">List Vaults </a> in the\n <i>Amazon Glacier Developer Guide</i>. </p>",
|
|
"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": "<p>The <code>AccountId</code> 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 '<code>-</code>' (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.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"marker": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A string used for pagination. The marker specifies the vault ARN after which the\n listing of vaults should begin.</p>",
|
|
"smithy.api#httpQuery": "marker"
|
|
}
|
|
},
|
|
"limit": {
|
|
"target": "smithy.api#Integer",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>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.</p>",
|
|
"smithy.api#httpQuery": "limit"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Provides options to retrieve the vault list owned by the calling user's account. The\n list provides metadata information for each vault.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.glacier#ListVaultsOutput": {
|
|
"type": "structure",
|
|
"members": {
|
|
"VaultList": {
|
|
"target": "com.amazonaws.glacier#VaultList",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>List of vaults.</p>"
|
|
}
|
|
},
|
|
"Marker": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>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.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Contains the Amazon S3 Glacier response to your request.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.glacier#MissingParameterValueException": {
|
|
"type": "structure",
|
|
"members": {
|
|
"type": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Client.</p>"
|
|
}
|
|
},
|
|
"code": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>400 Bad Request</p>"
|
|
}
|
|
},
|
|
"message": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Returned if no authentication data is found for the request.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Returned if a required header or parameter is missing from the request.</p>",
|
|
"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": "<p>Describes an S3 location that will receive the results of the job request.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Contains information about the location where the select job results are stored.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.glacier#OutputSerialization": {
|
|
"type": "structure",
|
|
"members": {
|
|
"csv": {
|
|
"target": "com.amazonaws.glacier#CSVOutput",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes the serialization of CSV-encoded query results.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes how the select output is serialized.</p>"
|
|
}
|
|
},
|
|
"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": "<p>The byte range of a part, inclusive of the upper value of the range.</p>"
|
|
}
|
|
},
|
|
"SHA256TreeHash": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The SHA256 tree hash value that Amazon S3 Glacier calculated for the part. This field is\n never <code>null</code>.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A list of the part sizes of the multipart upload.</p>"
|
|
}
|
|
},
|
|
"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": "<p>Client</p>"
|
|
}
|
|
},
|
|
"code": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>PolicyEnforcedException</p>"
|
|
}
|
|
},
|
|
"message": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>InitiateJob request denied by current data retrieval policy.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Returned if a retrieval job would exceed the current data policy's retrieval rate\n limit. For more information about data retrieval policies,</p>",
|
|
"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": "<p>The ID that identifies the provisioned capacity unit.</p>"
|
|
}
|
|
},
|
|
"StartDate": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The date that the provisioned capacity unit was purchased, in Universal Coordinated Time (UTC).</p>"
|
|
}
|
|
},
|
|
"ExpirationDate": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The date that the provisioned capacity unit expires, in Universal Coordinated Time (UTC).</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The definition for a provisioned capacity unit.</p>"
|
|
}
|
|
},
|
|
"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": "<p>This operation purchases a provisioned capacity unit for an AWS account. </p>",
|
|
"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": "<p>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. </p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"com.amazonaws.glacier#PurchaseProvisionedCapacityOutput": {
|
|
"type": "structure",
|
|
"members": {
|
|
"capacityId": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The ID that identifies the provisioned capacity unit.</p>",
|
|
"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": "<p>This operation removes one or more tags from the set of tags attached to a vault. For\n more information about tags, see <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/tagging.html\">Tagging Amazon S3 Glacier Resources</a>.\n This operation is idempotent. The operation will be successful, even if there are no tags\n attached to the vault. </p>",
|
|
"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": "<p>The <code>AccountId</code> 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 '<code>-</code>'\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.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"vaultName": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the vault.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"TagKeys": {
|
|
"target": "com.amazonaws.glacier#TagKeyList",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A list of tag keys. Each corresponding tag is removed from the vault.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The input value for <code>RemoveTagsFromVaultInput</code>.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.glacier#RequestTimeoutException": {
|
|
"type": "structure",
|
|
"members": {
|
|
"type": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Client</p>"
|
|
}
|
|
},
|
|
"code": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>408 Request Timeout</p>"
|
|
}
|
|
},
|
|
"message": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Returned if, when uploading an archive, Amazon S3 Glacier times out while receiving the\n upload.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Returned if, when uploading an archive, Amazon S3 Glacier times out while receiving the\n upload.</p>",
|
|
"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": "<p>Client</p>"
|
|
}
|
|
},
|
|
"code": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>404 Not Found</p>"
|
|
}
|
|
},
|
|
"message": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Returned if the specified resource (such as a vault, upload ID, or job ID) doesn't\n exist.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Returned if the specified resource (such as a vault, upload ID, or job ID) doesn't\n exist.</p>",
|
|
"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": "<p>The name of the Amazon S3 bucket where the job results are stored.</p>"
|
|
}
|
|
},
|
|
"Prefix": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The prefix that is prepended to the results for this request.</p>"
|
|
}
|
|
},
|
|
"Encryption": {
|
|
"target": "com.amazonaws.glacier#Encryption",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Contains information about the encryption used to store the job results in Amazon S3.</p>"
|
|
}
|
|
},
|
|
"CannedACL": {
|
|
"target": "com.amazonaws.glacier#CannedACL",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The canned access control list (ACL) to apply to the job results.</p>"
|
|
}
|
|
},
|
|
"AccessControlList": {
|
|
"target": "com.amazonaws.glacier#AccessControlPolicyList",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A list of grants that control access to the staged results.</p>"
|
|
}
|
|
},
|
|
"Tagging": {
|
|
"target": "com.amazonaws.glacier#hashmap",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The tag-set that is applied to the job results.</p>"
|
|
}
|
|
},
|
|
"UserMetadata": {
|
|
"target": "com.amazonaws.glacier#hashmap",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A map of metadata to store with the job results in Amazon S3.</p>"
|
|
}
|
|
},
|
|
"StorageClass": {
|
|
"target": "com.amazonaws.glacier#StorageClass",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The storage class used to store the job results.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Contains information about the location in Amazon S3 where the select job results are stored.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.glacier#SelectParameters": {
|
|
"type": "structure",
|
|
"members": {
|
|
"InputSerialization": {
|
|
"target": "com.amazonaws.glacier#InputSerialization",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes the serialization format of the object.</p>"
|
|
}
|
|
},
|
|
"ExpressionType": {
|
|
"target": "com.amazonaws.glacier#ExpressionType",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The type of the provided expression, for example <code>SQL</code>.</p>"
|
|
}
|
|
},
|
|
"Expression": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The expression that is used to select the object.</p>"
|
|
}
|
|
},
|
|
"OutputSerialization": {
|
|
"target": "com.amazonaws.glacier#OutputSerialization",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Describes how the results of the select job are serialized.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Contains information about the parameters used for a select.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.glacier#ServiceUnavailableException": {
|
|
"type": "structure",
|
|
"members": {
|
|
"type": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Server</p>"
|
|
}
|
|
},
|
|
"code": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>500 Internal Server Error</p>"
|
|
}
|
|
},
|
|
"message": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Returned if the service cannot complete the request.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Returned if the service cannot complete the request.</p>",
|
|
"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": "<p>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.</p>\n <p>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 <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/data-retrieval-policy.html\">Amazon\n Glacier Data Retrieval Policies</a>. </p>",
|
|
"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": "<p>The <code>AccountId</code> 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 '<code>-</code>' (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.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"Policy": {
|
|
"target": "com.amazonaws.glacier#DataRetrievalPolicy",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The data retrieval policy in JSON format.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>SetDataRetrievalPolicy input.</p>"
|
|
}
|
|
},
|
|
"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": "<p>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 <code>access-policy</code> 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 <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/vault-access-policy.html\">Amazon Glacier Access Control with Vault Access Policies</a>. </p>",
|
|
"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": "<p>The <code>AccountId</code> 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 '<code>-</code>'\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.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"vaultName": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the vault.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"policy": {
|
|
"target": "com.amazonaws.glacier#VaultAccessPolicy",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The vault access policy as a JSON string.</p>",
|
|
"smithy.api#httpPayload": {}
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>SetVaultAccessPolicy input.</p>"
|
|
}
|
|
},
|
|
"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": "<p>This operation configures notifications that will be sent when specific events happen\n to a vault. By default, you don't get any notifications.</p>\n\n <p>To configure vault notifications, send a PUT request to the\n <code>notification-configuration</code> 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.</p>\n\n <p>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:</p>\n\n <ul>\n <li>\n <p>\n <b>ArchiveRetrievalCompleted</b> This event occurs when a\n job that was initiated for an archive retrieval is completed (<a>InitiateJob</a>). The status of the completed job can be \"Succeeded\" or\n \"Failed\". The notification sent to the SNS topic is the same output as returned from\n <a>DescribeJob</a>. </p>\n </li>\n <li>\n\n <p>\n <b>InventoryRetrievalCompleted</b> This event occurs when a\n job that was initiated for an inventory retrieval is completed (<a>InitiateJob</a>). The status of the completed job can be \"Succeeded\" or\n \"Failed\". The notification sent to the SNS topic is the same output as returned from\n <a>DescribeJob</a>. </p>\n </li>\n </ul>\n\n <p>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 <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html\">Access Control Using\n AWS Identity and Access Management (IAM)</a>.</p>\n <p>For conceptual information and underlying REST API, see <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/configuring-notifications.html\">Configuring Vault\n Notifications in Amazon S3 Glacier</a> and <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/api-vault-notifications-put.html\">Set Vault Notification\n Configuration </a> in the <i>Amazon Glacier Developer Guide</i>. </p>",
|
|
"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": "<p>The <code>AccountId</code> 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 '<code>-</code>'\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.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"vaultName": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the vault.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"vaultNotificationConfig": {
|
|
"target": "com.amazonaws.glacier#VaultNotificationConfig",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Provides options for specifying notification configuration.</p>",
|
|
"smithy.api#httpPayload": {}
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Provides options to configure notifications that will be sent when specific events\n happen to a vault.</p>"
|
|
}
|
|
},
|
|
"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": "<p>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 <code>x-amz-archive-id</code> header of the response. </p>\n\n <p>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 <a>InitiateJob</a>. </p>\n\n <p>You must provide a SHA256 tree hash of the data you are uploading. For information\n about computing a SHA256 tree hash, see <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/checksum-calculations.html\">Computing Checksums</a>. </p>\n\n <p>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 <a>InitiateJob</a>. 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. </p>\n\n <p>Archives are immutable. After you upload an archive, you cannot edit the archive or\n its description.</p>\n\n <p>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 <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html\">Access Control Using\n AWS Identity and Access Management (IAM)</a>.</p>\n <p> For conceptual information and underlying REST API, see <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/uploading-an-archive.html\">Uploading an Archive in Amazon\n Glacier</a> and <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/api-archive-post.html\">Upload Archive</a> in the\n <i>Amazon Glacier Developer Guide</i>. </p>",
|
|
"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": "<p>The name of the vault.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"accountId": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The <code>AccountId</code> 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 '<code>-</code>'\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. </p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"archiveDescription": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The optional description of the archive you are uploading.</p>",
|
|
"smithy.api#httpHeader": "x-amz-archive-description"
|
|
}
|
|
},
|
|
"checksum": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The SHA256 tree hash of the data being uploaded.</p>",
|
|
"smithy.api#httpHeader": "x-amz-sha256-tree-hash"
|
|
}
|
|
},
|
|
"body": {
|
|
"target": "com.amazonaws.glacier#Stream",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The data to upload.</p>",
|
|
"smithy.api#httpPayload": {}
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Provides options to add an archive to a vault.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.glacier#UploadListElement": {
|
|
"type": "structure",
|
|
"members": {
|
|
"MultipartUploadId": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The ID of a multipart upload.</p>"
|
|
}
|
|
},
|
|
"VaultARN": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the vault that contains the archive.</p>"
|
|
}
|
|
},
|
|
"ArchiveDescription": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The description of the archive that was specified in the Initiate Multipart Upload\n request.</p>"
|
|
}
|
|
},
|
|
"PartSizeInBytes": {
|
|
"target": "com.amazonaws.glacier#long",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>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.</p>"
|
|
}
|
|
},
|
|
"CreationDate": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The UTC time at which the multipart upload was initiated.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A list of in-progress multipart uploads for a vault.</p>"
|
|
}
|
|
},
|
|
"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": "<p>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.</p>\n\n <p>Amazon Glacier rejects your upload part request if any of the following conditions is\n true:</p>\n\n <ul>\n <li>\n <p>\n <b>SHA256 tree hash does not match</b>To ensure that part\n data is not corrupted in transmission, you compute a SHA256 tree hash of the part and\n include it in your request. Upon receiving the part data, Amazon S3 Glacier also\n computes a SHA256 tree hash. If these hash values don't match, the operation fails.\n For information about computing a SHA256 tree hash, see <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/checksum-calculations.html\">Computing\n Checksums</a>.</p>\n </li>\n <li>\n <p>\n <b>Part size does not match</b>The size of each part except\n the last must match the size specified in the corresponding <a>InitiateMultipartUpload</a> request. The size of the last part must be the\n same size as, or smaller than, the specified size.</p>\n <note>\n <p>If you upload a part whose size is smaller than the part size you specified\n in your initiate multipart upload request and that part is not the last part, then\n the upload part request will succeed. However, the subsequent Complete Multipart\n Upload request will fail.</p>\n </note>\n </li>\n <li>\n <p>\n <b>Range does not align</b>The byte range value in the\n request does not align with the part size specified in the corresponding initiate\n request. For example, if you specify a part size of 4194304 bytes (4 MB), then 0 to\n 4194303 bytes (4 MB - 1) and 4194304 (4 MB) to 8388607 (8 MB - 1) are valid part\n ranges. However, if you set a range value of 2 MB to 6 MB, the range does not align\n with the part size and the upload will fail. </p>\n </li>\n </ul>\n\n <p>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.</p>\n\n <p>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 <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/using-iam-with-amazon-glacier.html\">Access Control Using\n AWS Identity and Access Management (IAM)</a>.</p>\n <p> For conceptual information and underlying REST API, see <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/uploading-archive-mpu.html\">Uploading Large Archives in\n Parts (Multipart Upload)</a> and <a href=\"https://docs.aws.amazon.com/amazonglacier/latest/dev/api-upload-part.html\">Upload Part </a> in the\n <i>Amazon Glacier Developer Guide</i>.</p>",
|
|
"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": "<p>The <code>AccountId</code> 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 '<code>-</code>'\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. </p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"vaultName": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The name of the vault.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"uploadId": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The upload ID of the multipart upload.</p>",
|
|
"smithy.api#httpLabel": {},
|
|
"smithy.api#required": {}
|
|
}
|
|
},
|
|
"checksum": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The SHA256 tree hash of the data being uploaded.</p>",
|
|
"smithy.api#httpHeader": "x-amz-sha256-tree-hash"
|
|
}
|
|
},
|
|
"range": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>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/*.</p>",
|
|
"smithy.api#httpHeader": "Content-Range"
|
|
}
|
|
},
|
|
"body": {
|
|
"target": "com.amazonaws.glacier#Stream",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The data to upload.</p>",
|
|
"smithy.api#httpPayload": {}
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Provides options to upload a part of an archive in a multipart upload\n operation.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.glacier#UploadMultipartPartOutput": {
|
|
"type": "structure",
|
|
"members": {
|
|
"checksum": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The SHA256 tree hash that Amazon S3 Glacier computed for the uploaded part.</p>",
|
|
"smithy.api#httpHeader": "x-amz-sha256-tree-hash"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Contains the Amazon S3 Glacier response to your request.</p>"
|
|
}
|
|
},
|
|
"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": "<p>The vault access policy.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Contains the vault access policy.</p>"
|
|
}
|
|
},
|
|
"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": "<p>The vault lock policy.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Contains the vault lock policy.</p>"
|
|
}
|
|
},
|
|
"com.amazonaws.glacier#VaultNotificationConfig": {
|
|
"type": "structure",
|
|
"members": {
|
|
"SNSTopic": {
|
|
"target": "com.amazonaws.glacier#string",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>The Amazon Simple Notification Service (Amazon SNS) topic Amazon Resource Name\n (ARN).</p>"
|
|
}
|
|
},
|
|
"Events": {
|
|
"target": "com.amazonaws.glacier#NotificationEventList",
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>A list of one or more events for which Amazon S3 Glacier will send a notification to the\n specified Amazon SNS topic.</p>"
|
|
}
|
|
}
|
|
},
|
|
"traits": {
|
|
"smithy.api#documentation": "<p>Represents a vault's notification configuration.</p>"
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|