python-botocore/botocore/data/aws/s3/2006-03-01.json
2015-10-08 11:15:54 -07:00

5796 lines
295 KiB
JSON

{
"api_version": "2006-03-01",
"type": "rest-xml",
"signature_version": "s3",
"timestamp_format": "rfc822",
"checksum_format": "md5",
"service_full_name": "Amazon Simple Storage Service",
"service_abbreviation": "Amazon S3",
"global_endpoint": "s3.amazonaws.com",
"endpoint_prefix": "s3",
"xmlnamespace": "http://s3.amazonaws.com/doc/2006-03-01/",
"documentation": null,
"operations": {
"AbortMultipartUpload": {
"name": "AbortMultipartUpload",
"http": {
"method": "DELETE",
"uri": "/{Bucket}/{Key}?uploadId={UploadId}"
},
"input": {
"shape_name": "AbortMultipartUploadRequest",
"type": "structure",
"members": {
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
},
"Key": {
"shape_name": "ObjectKey",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
},
"UploadId": {
"shape_name": "MultipartUploadId",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
}
},
"documentation": null
},
"output": null,
"errors": [
{
"shape_name": "NoSuchUpload",
"type": "structure",
"members": {},
"documentation": "The specified multipart upload does not exist."
}
],
"documentation": "<p>Aborts a multipart upload.</p>\n<p>To verify that all parts have been removed, so you don't get charged for the part storage, you should call the List Parts operation and ensure the parts list is empty.</p>",
"documentation_url": "http://docs.aws.amazon.com/AmazonS3/latest/API/mpUploadAbort.html"
},
"CompleteMultipartUpload": {
"name": "CompleteMultipartUpload",
"http": {
"method": "POST",
"uri": "/{Bucket}/{Key}?uploadId={UploadId}"
},
"input": {
"shape_name": "CompleteMultipartUploadRequest",
"type": "structure",
"members": {
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
},
"Key": {
"shape_name": "ObjectKey",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
},
"MultipartUpload": {
"shape_name": "CompletedMultipartUpload",
"type": "structure",
"members": {
"Parts": {
"shape_name": "CompletedPartList",
"type": "list",
"members": {
"shape_name": "CompletedPart",
"type": "structure",
"members": {
"ETag": {
"shape_name": "ETag",
"type": "string",
"documentation": "Entity tag returned when the part was uploaded."
},
"PartNumber": {
"shape_name": "PartNumber",
"type": "integer",
"documentation": "Part number that identifies the part."
}
},
"documentation": null
},
"flattened": true,
"documentation": null,
"xmlname": "Part"
}
},
"documentation": null,
"xmlname": "CompleteMultipartUpload",
"payload": true
},
"UploadId": {
"shape_name": "MultipartUploadId",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
}
},
"documentation": null
},
"output": {
"shape_name": "CompleteMultipartUploadOutput",
"type": "structure",
"members": {
"Location": {
"shape_name": "Location",
"type": "string",
"documentation": null
},
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": null
},
"Key": {
"shape_name": "ObjectKey",
"type": "string",
"documentation": null
},
"Expiration": {
"shape_name": "Expiration",
"type": "timestamp",
"documentation": "If the object expiration is configured, this will contain the expiration date (expiry-date) and rule ID (rule-id). The value of rule-id is URL encoded.",
"location": "header",
"location_name": "x-amz-expiration"
},
"ETag": {
"shape_name": "ETag",
"type": "string",
"documentation": "Entity tag of the object."
},
"ServerSideEncryption": {
"shape_name": "ServerSideEncryption",
"type": "string",
"enum": [
"AES256"
],
"documentation": "The Server-side encryption algorithm used when storing this object in S3.",
"location": "header",
"location_name": "x-amz-server-side-encryption"
},
"VersionId": {
"shape_name": "ObjectVersionId",
"type": "string",
"documentation": "Version of the object.",
"location": "header",
"location_name": "x-amz-version-id"
}
},
"documentation": null
},
"errors": [],
"documentation": "Completes a multipart upload by assembling previously uploaded parts.",
"documentation_url": "http://docs.aws.amazon.com/AmazonS3/latest/API/mpUploadComplete.html"
},
"CopyObject": {
"name": "CopyObject",
"http": {
"method": "PUT",
"uri": "/{Bucket}/{Key}"
},
"input": {
"shape_name": "CopyObjectRequest",
"type": "structure",
"members": {
"ACL": {
"shape_name": "ObjectCannedACL",
"type": "string",
"enum": [
"private",
"public-read",
"public-read-write",
"authenticated-read",
"bucket-owner-read",
"bucket-owner-full-control"
],
"documentation": "The canned ACL to apply to the object.",
"location": "header",
"location_name": "x-amz-acl"
},
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
},
"CacheControl": {
"shape_name": "CacheControl",
"type": "string",
"documentation": "Specifies caching behavior along the request/reply chain.",
"location": "header",
"location_name": "Cache-Control"
},
"ContentDisposition": {
"shape_name": "ContentDisposition",
"type": "string",
"documentation": "Specifies presentational information for the object.",
"location": "header",
"location_name": "Content-Disposition"
},
"ContentEncoding": {
"shape_name": "ContentEncoding",
"type": "string",
"documentation": "Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field.",
"location": "header",
"location_name": "Content-Encoding"
},
"ContentLanguage": {
"shape_name": "ContentLanguage",
"type": "string",
"documentation": "The language the content is in.",
"location": "header",
"location_name": "Content-Language"
},
"ContentType": {
"shape_name": "ContentType",
"type": "string",
"documentation": "A standard MIME type describing the format of the object data.",
"location": "header",
"location_name": "Content-Type"
},
"CopySource": {
"shape_name": "CopySource",
"type": "string",
"pattern": "\\/.+\\/.+",
"documentation": "The name of the source bucket and key name of the source object, separated by a slash (/). Must be URL-encoded.",
"required": true,
"location": "header",
"location_name": "x-amz-copy-source"
},
"CopySourceIfMatch": {
"shape_name": "CopySourceIfMatch",
"type": "string",
"documentation": "Copies the object if its entity tag (ETag) matches the specified tag.",
"location": "header",
"location_name": "x-amz-copy-source-if-match"
},
"CopySourceIfModifiedSince": {
"shape_name": "CopySourceIfModifiedSince",
"type": "timestamp",
"documentation": "Copies the object if it has been modified since the specified time.",
"location": "header",
"location_name": "x-amz-copy-source-if-modified-since"
},
"CopySourceIfNoneMatch": {
"shape_name": "CopySourceIfNoneMatch",
"type": "string",
"documentation": "Copies the object if its entity tag (ETag) is different than the specified ETag.",
"location": "header",
"location_name": "x-amz-copy-source-if-none-match"
},
"CopySourceIfUnmodifiedSince": {
"shape_name": "CopySourceIfUnmodifiedSince",
"type": "timestamp",
"documentation": "Copies the object if it hasn't been modified since the specified time.",
"location": "header",
"location_name": "x-amz-copy-source-if-unmodified-since"
},
"Expires": {
"shape_name": "Expires",
"type": "timestamp",
"documentation": "The date and time at which the object is no longer cacheable.",
"location": "header",
"location_name": "Expires"
},
"GrantFullControl": {
"shape_name": "GrantFullControl",
"type": "string",
"documentation": "Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object.",
"location": "header",
"location_name": "x-amz-grant-full-control"
},
"GrantRead": {
"shape_name": "GrantRead",
"type": "string",
"documentation": "Allows grantee to read the object data and its metadata.",
"location": "header",
"location_name": "x-amz-grant-read"
},
"GrantReadACP": {
"shape_name": "GrantReadACP",
"type": "string",
"documentation": "Allows grantee to read the object ACL.",
"location": "header",
"location_name": "x-amz-grant-read-acp"
},
"GrantWriteACP": {
"shape_name": "GrantWriteACP",
"type": "string",
"documentation": "Allows grantee to write the ACL for the applicable object.",
"location": "header",
"location_name": "x-amz-grant-write-acp"
},
"Key": {
"shape_name": "ObjectKey",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
},
"Metadata": {
"type": "map",
"location": "header",
"location_name": "x-amz-meta-",
"keys": {
"type": "string",
"documentation": "The metadata key. This will be prefixed with x-amz-meta- before sending to S3 as a header. The x-amz-meta- header will be stripped from the key when retrieving headers."
},
"members": {
"type": "string",
"documentation": "The metadata value."
},
"documentation": "A map of metadata to store with the object in S3."
},
"MetadataDirective": {
"shape_name": "MetadataDirective",
"type": "string",
"enum": [
"COPY",
"REPLACE"
],
"documentation": "Specifies whether the metadata is copied from the source object or replaced with metadata provided in the request.",
"location": "header",
"location_name": "x-amz-metadata-directive"
},
"ServerSideEncryption": {
"shape_name": "ServerSideEncryption",
"type": "string",
"enum": [
"AES256"
],
"documentation": "The Server-side encryption algorithm used when storing this object in S3.",
"location": "header",
"location_name": "x-amz-server-side-encryption"
},
"StorageClass": {
"shape_name": "StorageClass",
"type": "string",
"enum": [
"STANDARD",
"REDUCED_REDUNDANCY"
],
"documentation": "The type of storage to use for the object. Defaults to 'STANDARD'.",
"location": "header",
"location_name": "x-amz-storage-class"
},
"WebsiteRedirectLocation": {
"shape_name": "WebsiteRedirectLocation",
"type": "string",
"documentation": "If the bucket is configured as a website, redirects requests for this object to another object in the same bucket or to an external URL. Amazon S3 stores the value of this header in the object metadata.",
"location": "header",
"location_name": "x-amz-website-redirect-location",
"no_paramfile": true
},
"SSECustomerAlgorithm": {
"shape_name": "SSECustomerAlgorithm",
"type": "string",
"documentation": "Specifies the algorithm to use to when encrypting the object (e.g., AES256).",
"location": "header",
"location_name": "x-amz-server-side-encryption-customer-algorithm"
},
"SSECustomerKey": {
"shape_name": "SSECustomerKey",
"type": "string",
"documentation": "Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This value is used to store the object and then it is discarded; Amazon does not store the encryption key. The key must be appropriate for use with the algorithm specified in the x-amz-server-side&#x200B;-encryption&#x200B;-customer-algorithm header.",
"location": "header",
"location_name": "x-amz-server-side-encryption-customer-key"
},
"SSECustomerKeyMD5": {
"shape_name": "SSECustomerKeyMD5",
"type": "string",
"documentation": "Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this header for a message integrity check to ensure the encryption key was transmitted without error.",
"location": "header",
"location_name": "x-amz-server-side-encryption-customer-key-MD5"
},
"CopySourceSSECustomerAlgorithm": {
"shape_name": "CopySourceSSECustomerAlgorithm",
"type": "string",
"documentation": "Specifies the algorithm to use when decrypting the source object (e.g., AES256).",
"location": "header",
"location_name": "x-amz-copy-source-server-side-encryption-customer-algorithm"
},
"CopySourceSSECustomerKey": {
"shape_name": "CopySourceSSECustomerKey",
"type": "string",
"documentation": "Specifies the customer-provided encryption key for Amazon S3 to use to decrypt the source object. The encryption key provided in this header must be one that was used when the source object was created.",
"location": "header",
"location_name": "x-amz-copy-source-server-side-encryption-customer-key"
},
"CopySourceSSECustomerKeyMD5": {
"shape_name": "CopySourceSSECustomerKeyMD5",
"type": "string",
"documentation": "Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this header for a message integrity check to ensure the encryption key was transmitted without error.",
"location": "header",
"location_name": "x-amz-copy-source-server-side-encryption-customer-key-MD5"
}
},
"documentation": null
},
"output": {
"shape_name": "CopyObjectOutput",
"type": "structure",
"members": {
"CopyObjectResult": {
"shape_name": "CopyObjectResult",
"type": "structure",
"members": {
"ETag": {
"shape_name": "ETag",
"type": "string",
"documentation": null
},
"LastModified": {
"shape_name": "LastModified",
"type": "timestamp",
"documentation": null
}
},
"documentation": null,
"payload": true
},
"Expiration": {
"shape_name": "Expiration",
"type": "timestamp",
"documentation": "If the object expiration is configured, the response includes this header.",
"location": "header",
"location_name": "x-amz-expiration"
},
"CopySourceVersionId": {
"shape_name": "CopySourceVersionId",
"type": "string",
"documentation": null,
"location": "header",
"location_name": "x-amz-copy-source-version-id"
},
"ServerSideEncryption": {
"shape_name": "ServerSideEncryption",
"type": "string",
"enum": [
"AES256"
],
"documentation": "The Server-side encryption algorithm used when storing this object in S3.",
"location": "header",
"location_name": "x-amz-server-side-encryption"
},
"SSECustomerAlgorithm": {
"shape_name": "SSECustomerAlgorithm",
"type": "string",
"documentation": "If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used.",
"location": "header",
"location_name": "x-amz-server-side-encryption-customer-algorithm"
},
"SSECustomerKeyMD5": {
"shape_name": "SSECustomerKeyMD5",
"type": "string",
"documentation": "If server-side encryption with a customer-provided encryption key was requested, the response will include this header to provide round trip message integrity verification of the customer-provided encryption key.",
"location": "header",
"location_name": "x-amz-server-side-encryption-customer-key-MD5"
}
},
"documentation": null
},
"errors": [
{
"shape_name": "ObjectNotInActiveTierError",
"type": "structure",
"members": {},
"documentation": "The source object of the COPY operation is not in the active tier and is only stored in Amazon Glacier."
}
],
"documentation": "Creates a copy of an object that is already stored in Amazon S3.",
"documentation_url": "http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectCOPY.html",
"alias": "PutObjectCopy"
},
"CreateBucket": {
"name": "CreateBucket",
"http": {
"method": "PUT",
"uri": "/{Bucket}"
},
"input": {
"shape_name": "CreateBucketRequest",
"type": "structure",
"members": {
"ACL": {
"shape_name": "BucketCannedACL",
"type": "string",
"enum": [
"private",
"public-read",
"public-read-write",
"authenticated-read"
],
"documentation": "The canned ACL to apply to the bucket.",
"location": "header",
"location_name": "x-amz-acl"
},
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
},
"CreateBucketConfiguration": {
"shape_name": "CreateBucketConfiguration",
"type": "structure",
"members": {
"LocationConstraint": {
"shape_name": "BucketLocationConstraint",
"type": "string",
"enum": [
"EU",
"eu-west-1",
"us-west-1",
"us-west-2",
"ap-southeast-1",
"ap-southeast-2",
"ap-northeast-1",
"sa-east-1",
""
],
"documentation": "Specifies the region where the bucket will be created."
}
},
"documentation": null,
"payload": true
},
"GrantFullControl": {
"shape_name": "GrantFullControl",
"type": "string",
"documentation": "Allows grantee the read, write, read ACP, and write ACP permissions on the bucket.",
"location": "header",
"location_name": "x-amz-grant-full-control"
},
"GrantRead": {
"shape_name": "GrantRead",
"type": "string",
"documentation": "Allows grantee to list the objects in the bucket.",
"location": "header",
"location_name": "x-amz-grant-read"
},
"GrantReadACP": {
"shape_name": "GrantReadACP",
"type": "string",
"documentation": "Allows grantee to read the bucket ACL.",
"location": "header",
"location_name": "x-amz-grant-read-acp"
},
"GrantWrite": {
"shape_name": "GrantWrite",
"type": "string",
"documentation": "Allows grantee to create, overwrite, and delete any object in the bucket.",
"location": "header",
"location_name": "x-amz-grant-write"
},
"GrantWriteACP": {
"shape_name": "GrantWriteACP",
"type": "string",
"documentation": "Allows grantee to write the ACL for the applicable bucket.",
"location": "header",
"location_name": "x-amz-grant-write-acp"
}
},
"documentation": null
},
"output": {
"shape_name": "CreateBucketOutput",
"type": "structure",
"members": {
"Location": {
"shape_name": "Location",
"type": "string",
"documentation": null,
"location": "header",
"location_name": "Location"
}
},
"documentation": null
},
"errors": [
{
"shape_name": "BucketAlreadyExists",
"type": "structure",
"members": {},
"documentation": "The requested bucket name is not available. The bucket namespace is shared by all users of the system. Please select a different name and try again."
}
],
"documentation": "Creates a new bucket.",
"documentation_url": "http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUT.html",
"alias": "PutBucket"
},
"CreateMultipartUpload": {
"name": "CreateMultipartUpload",
"http": {
"method": "POST",
"uri": "/{Bucket}/{Key}?uploads"
},
"input": {
"shape_name": "CreateMultipartUploadRequest",
"type": "structure",
"members": {
"ACL": {
"shape_name": "ObjectCannedACL",
"type": "string",
"enum": [
"private",
"public-read",
"public-read-write",
"authenticated-read",
"bucket-owner-read",
"bucket-owner-full-control"
],
"documentation": "The canned ACL to apply to the object.",
"location": "header",
"location_name": "x-amz-acl"
},
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
},
"CacheControl": {
"shape_name": "CacheControl",
"type": "string",
"documentation": "Specifies caching behavior along the request/reply chain.",
"location": "header",
"location_name": "Cache-Control"
},
"ContentDisposition": {
"shape_name": "ContentDisposition",
"type": "string",
"documentation": "Specifies presentational information for the object.",
"location": "header",
"location_name": "Content-Disposition"
},
"ContentEncoding": {
"shape_name": "ContentEncoding",
"type": "string",
"documentation": "Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field.",
"location": "header",
"location_name": "Content-Encoding"
},
"ContentLanguage": {
"shape_name": "ContentLanguage",
"type": "string",
"documentation": "The language the content is in.",
"location": "header",
"location_name": "Content-Language"
},
"ContentType": {
"shape_name": "ContentType",
"type": "string",
"documentation": "A standard MIME type describing the format of the object data.",
"location": "header",
"location_name": "Content-Type"
},
"Expires": {
"shape_name": "Expires",
"type": "timestamp",
"documentation": "The date and time at which the object is no longer cacheable.",
"location": "header",
"location_name": "Expires"
},
"GrantFullControl": {
"shape_name": "GrantFullControl",
"type": "string",
"documentation": "Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object.",
"location": "header",
"location_name": "x-amz-grant-full-control"
},
"GrantRead": {
"shape_name": "GrantRead",
"type": "string",
"documentation": "Allows grantee to read the object data and its metadata.",
"location": "header",
"location_name": "x-amz-grant-read"
},
"GrantReadACP": {
"shape_name": "GrantReadACP",
"type": "string",
"documentation": "Allows grantee to read the object ACL.",
"location": "header",
"location_name": "x-amz-grant-read-acp"
},
"GrantWriteACP": {
"shape_name": "GrantWriteACP",
"type": "string",
"documentation": "Allows grantee to write the ACL for the applicable object.",
"location": "header",
"location_name": "x-amz-grant-write-acp"
},
"Key": {
"shape_name": "ObjectKey",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
},
"Metadata": {
"type": "map",
"location": "header",
"location_name": "x-amz-meta-",
"keys": {
"type": "string",
"documentation": "The metadata key. This will be prefixed with x-amz-meta- before sending to S3 as a header. The x-amz-meta- header will be stripped from the key when retrieving headers."
},
"members": {
"type": "string",
"documentation": "The metadata value."
},
"documentation": "A map of metadata to store with the object in S3."
},
"ServerSideEncryption": {
"shape_name": "ServerSideEncryption",
"type": "string",
"enum": [
"AES256"
],
"documentation": "The Server-side encryption algorithm used when storing this object in S3.",
"location": "header",
"location_name": "x-amz-server-side-encryption"
},
"StorageClass": {
"shape_name": "StorageClass",
"type": "string",
"enum": [
"STANDARD",
"REDUCED_REDUNDANCY"
],
"documentation": "The type of storage to use for the object. Defaults to 'STANDARD'.",
"location": "header",
"location_name": "x-amz-storage-class"
},
"WebsiteRedirectLocation": {
"shape_name": "WebsiteRedirectLocation",
"type": "string",
"documentation": "If the bucket is configured as a website, redirects requests for this object to another object in the same bucket or to an external URL. Amazon S3 stores the value of this header in the object metadata.",
"location": "header",
"location_name": "x-amz-website-redirect-location",
"no_paramfile": true
},
"SSECustomerAlgorithm": {
"shape_name": "SSECustomerAlgorithm",
"type": "string",
"documentation": "Specifies the algorithm to use to when encrypting the object (e.g., AES256).",
"location": "header",
"location_name": "x-amz-server-side-encryption-customer-algorithm"
},
"SSECustomerKey": {
"shape_name": "SSECustomerKey",
"type": "string",
"documentation": "Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This value is used to store the object and then it is discarded; Amazon does not store the encryption key. The key must be appropriate for use with the algorithm specified in the x-amz-server-side&#x200B;-encryption&#x200B;-customer-algorithm header.",
"location": "header",
"location_name": "x-amz-server-side-encryption-customer-key"
},
"SSECustomerKeyMD5": {
"shape_name": "SSECustomerKeyMD5",
"type": "string",
"documentation": "Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this header for a message integrity check to ensure the encryption key was transmitted without error.",
"location": "header",
"location_name": "x-amz-server-side-encryption-customer-key-MD5"
}
},
"documentation": null
},
"output": {
"shape_name": "CreateMultipartUploadOutput",
"type": "structure",
"members": {
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": "Name of the bucket to which the multipart upload was initiated.",
"xmlname": "Bucket"
},
"Key": {
"shape_name": "ObjectKey",
"type": "string",
"documentation": "Object key for which the multipart upload was initiated."
},
"UploadId": {
"shape_name": "MultipartUploadId",
"type": "string",
"documentation": "ID for the initiated multipart upload."
},
"ServerSideEncryption": {
"shape_name": "ServerSideEncryption",
"type": "string",
"enum": [
"AES256"
],
"documentation": "The Server-side encryption algorithm used when storing this object in S3.",
"location": "header",
"location_name": "x-amz-server-side-encryption"
},
"SSECustomerAlgorithm": {
"shape_name": "SSECustomerAlgorithm",
"type": "string",
"documentation": "If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used.",
"location": "header",
"location_name": "x-amz-server-side-encryption-customer-algorithm"
},
"SSECustomerKeyMD5": {
"shape_name": "SSECustomerKeyMD5",
"type": "string",
"documentation": "If server-side encryption with a customer-provided encryption key was requested, the response will include this header to provide round trip message integrity verification of the customer-provided encryption key.",
"location": "header",
"location_name": "x-amz-server-side-encryption-customer-key-MD5"
}
},
"documentation": null
},
"errors": [],
"documentation": "<p>Initiates a multipart upload and returns an upload ID.</p>\n<p><b>Note:</b> After you initiate multipart upload and upload one or more parts, you must either complete or abort multipart upload in order to stop getting charged for storage of the uploaded parts. Only after you either complete or abort multipart upload, Amazon S3 frees up the parts storage and stops charging you for the parts storage.</p>",
"documentation_url": "http://docs.aws.amazon.com/AmazonS3/latest/API/mpUploadInitiate.html",
"alias": "InitiateMultipartUpload"
},
"DeleteBucket": {
"name": "DeleteBucket",
"http": {
"method": "DELETE",
"uri": "/{Bucket}"
},
"input": {
"shape_name": "DeleteBucketRequest",
"type": "structure",
"members": {
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
}
},
"documentation": null
},
"output": null,
"errors": [],
"documentation": "Deletes the bucket. All objects (including all object versions and Delete Markers) in the bucket must be deleted before the bucket itself can be deleted.",
"documentation_url": "http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketDELETE.html"
},
"DeleteBucketCors": {
"name": "DeleteBucketCors",
"http": {
"method": "DELETE",
"uri": "/{Bucket}?cors"
},
"input": {
"shape_name": "DeleteBucketCorsRequest",
"type": "structure",
"members": {
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
}
},
"documentation": null
},
"output": null,
"errors": [],
"documentation": "Deletes the cors configuration information set for the bucket.",
"documentation_url": "http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketDELETEcors.html"
},
"DeleteBucketLifecycle": {
"name": "DeleteBucketLifecycle",
"http": {
"method": "DELETE",
"uri": "/{Bucket}?lifecycle"
},
"input": {
"shape_name": "DeleteBucketLifecycleRequest",
"type": "structure",
"members": {
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
}
},
"documentation": null
},
"output": null,
"errors": [],
"documentation": "Deletes the lifecycle configuration from the bucket.",
"documentation_url": "http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketDELETElifecycle.html"
},
"DeleteBucketPolicy": {
"name": "DeleteBucketPolicy",
"http": {
"method": "DELETE",
"uri": "/{Bucket}?policy"
},
"input": {
"shape_name": "DeleteBucketPolicyRequest",
"type": "structure",
"members": {
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
}
},
"documentation": null
},
"output": null,
"errors": [],
"documentation": "Deletes the policy from the bucket.",
"documentation_url": "http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketDELETEpolicy.html"
},
"DeleteBucketTagging": {
"name": "DeleteBucketTagging",
"http": {
"method": "DELETE",
"uri": "/{Bucket}?tagging"
},
"input": {
"shape_name": "DeleteBucketTaggingRequest",
"type": "structure",
"members": {
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
}
},
"documentation": null
},
"output": null,
"errors": [],
"documentation": "Deletes the tags from the bucket.",
"documentation_url": "http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketDELETEtagging.html"
},
"DeleteBucketWebsite": {
"name": "DeleteBucketWebsite",
"http": {
"method": "DELETE",
"uri": "/{Bucket}?website"
},
"input": {
"shape_name": "DeleteBucketWebsiteRequest",
"type": "structure",
"members": {
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
}
},
"documentation": null
},
"output": null,
"errors": [],
"documentation": "This operation removes the website configuration from the bucket.",
"documentation_url": "http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketDELETEwebsite.html"
},
"DeleteObject": {
"name": "DeleteObject",
"http": {
"method": "DELETE",
"uri": "/{Bucket}/{Key}?versionId={VersionId}"
},
"input": {
"shape_name": "DeleteObjectRequest",
"type": "structure",
"members": {
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
},
"Key": {
"shape_name": "ObjectKey",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
},
"MFA": {
"shape_name": "MFA",
"type": "string",
"documentation": "The concatenation of the authentication device's serial number, a space, and the value that is displayed on your authentication device.",
"location": "header",
"location_name": "x-amz-mfa"
},
"VersionId": {
"shape_name": "ObjectVersionId",
"type": "string",
"documentation": "VersionId used to reference a specific version of the object.",
"location": "uri"
}
},
"documentation": null
},
"output": {
"shape_name": "DeleteObjectOutput",
"type": "structure",
"members": {
"DeleteMarker": {
"shape_name": "DeleteMarker",
"type": "boolean",
"documentation": "Specifies whether the versioned object that was permanently deleted was (true) or was not (false) a delete marker.",
"location": "header",
"location_name": "x-amz-delete-marker"
},
"VersionId": {
"shape_name": "ObjectVersionId",
"type": "string",
"documentation": "Returns the version ID of the delete marker created as a result of the DELETE operation.",
"location": "header",
"location_name": "x-amz-version-id"
}
},
"documentation": null
},
"errors": [],
"documentation": "Removes the null version (if there is one) of an object and inserts a delete marker, which becomes the latest version of the object. If there isn't a null version, Amazon S3 does not remove any objects.",
"documentation_url": "http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectDELETE.html"
},
"DeleteObjects": {
"name": "DeleteObjects",
"http": {
"method": "POST",
"uri": "/{Bucket}?delete"
},
"input": {
"shape_name": "DeleteObjectsRequest",
"type": "structure",
"members": {
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
},
"Delete": {
"shape_name": "Delete",
"type": "structure",
"members": {
"Objects": {
"shape_name": "ObjectIdentifierList",
"type": "list",
"members": {
"shape_name": "ObjectIdentifier",
"type": "structure",
"members": {
"Key": {
"shape_name": "ObjectKey",
"type": "string",
"documentation": "Key name of the object to delete.",
"required": true
},
"VersionId": {
"shape_name": "ObjectVersionId",
"type": "string",
"documentation": "VersionId for the specific version of the object to delete."
}
},
"documentation": null
},
"flattened": true,
"documentation": null,
"required": true,
"xmlname": "Object"
},
"Quiet": {
"shape_name": "Quiet",
"type": "boolean",
"documentation": "Element to enable quiet mode for the request. When you add this element, you must set its value to true."
}
},
"documentation": null,
"required": true,
"payload": true
},
"MFA": {
"shape_name": "MFA",
"type": "string",
"documentation": "The concatenation of the authentication device's serial number, a space, and the value that is displayed on your authentication device.",
"location": "header",
"location_name": "x-amz-mfa"
}
},
"documentation": null
},
"output": {
"shape_name": "DeleteObjectsOutput",
"type": "structure",
"members": {
"Deleted": {
"shape_name": "DeletedObjects",
"type": "list",
"members": {
"shape_name": "DeletedObject",
"type": "structure",
"members": {
"Key": {
"shape_name": "ObjectKey",
"type": "string",
"documentation": null
},
"VersionId": {
"shape_name": "ObjectVersionId",
"type": "string",
"documentation": null
},
"DeleteMarker": {
"shape_name": "DeleteMarker",
"type": "boolean",
"documentation": null
},
"DeleteMarkerVersionId": {
"shape_name": "DeleteMarkerVersionId",
"type": "string",
"documentation": null
}
},
"documentation": null
},
"flattened": true,
"documentation": null
},
"Errors": {
"shape_name": "Errors",
"type": "list",
"members": {
"shape_name": "Error",
"type": "structure",
"members": {
"Key": {
"shape_name": "ObjectKey",
"type": "string",
"documentation": null
},
"VersionId": {
"shape_name": "ObjectVersionId",
"type": "string",
"documentation": null
},
"Code": {
"shape_name": "Code",
"type": "string",
"documentation": null
},
"Message": {
"shape_name": "Message",
"type": "string",
"documentation": null
}
},
"documentation": null
},
"flattened": true,
"documentation": null,
"xmlname": "Error"
}
},
"documentation": null
},
"errors": [],
"documentation": "This operation enables you to delete multiple objects from a bucket using a single HTTP request. You may specify up to 1000 keys.",
"documentation_url": "http://docs.aws.amazon.com/AmazonS3/latest/API/multiobjectdeleteapi.html",
"alias": "DeleteMultipleObjects"
},
"GetBucketAcl": {
"name": "GetBucketAcl",
"http": {
"method": "GET",
"uri": "/{Bucket}?acl"
},
"input": {
"shape_name": "GetBucketAclRequest",
"type": "structure",
"members": {
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
}
},
"documentation": null
},
"output": {
"shape_name": "GetBucketAclOutput",
"type": "structure",
"members": {
"Owner": {
"shape_name": "Owner",
"type": "structure",
"members": {
"DisplayName": {
"shape_name": "DisplayName",
"type": "string",
"documentation": null
},
"ID": {
"shape_name": "ID",
"type": "string",
"documentation": null
}
},
"documentation": null
},
"Grants": {
"shape_name": "Grants",
"type": "list",
"members": {
"shape_name": "Grant",
"type": "structure",
"members": {
"Grantee": {
"shape_name": "Grantee",
"type": "structure",
"members": {
"DisplayName": {
"shape_name": "DisplayName",
"type": "string",
"documentation": "Screen name of the grantee."
},
"EmailAddress": {
"shape_name": "EmailAddress",
"type": "string",
"documentation": "Email address of the grantee."
},
"ID": {
"shape_name": "ID",
"type": "string",
"documentation": "The canonical user ID of the grantee."
},
"Type": {
"shape_name": "Type",
"type": "string",
"enum": [
"CanonicalUser",
"AmazonCustomerByEmail",
"Group"
],
"documentation": "Type of grantee",
"required": true,
"xmlattribute": true,
"xmlname": "xsi:type"
},
"URI": {
"shape_name": "URI",
"type": "string",
"documentation": "URI of the grantee group."
}
},
"documentation": null,
"xmlnamespace": {
"prefix": "xsi",
"uri": "http://www.w3.org/2001/XMLSchema-instance"
}
},
"Permission": {
"shape_name": "Permission",
"type": "string",
"enum": [
"FULL_CONTROL",
"WRITE",
"WRITE_ACP",
"READ",
"READ_ACP"
],
"documentation": "Specifies the permission given to the grantee."
}
},
"documentation": null,
"xmlname": "Grant"
},
"documentation": "A list of grants.",
"xmlname": "AccessControlList"
}
},
"documentation": null
},
"errors": [],
"documentation": "Gets the access control policy for the bucket.",
"documentation_url": "http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGETacl.html"
},
"GetBucketCors": {
"name": "GetBucketCors",
"http": {
"method": "GET",
"uri": "/{Bucket}?cors"
},
"input": {
"shape_name": "GetBucketCorsRequest",
"type": "structure",
"members": {
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
}
},
"documentation": null
},
"output": {
"shape_name": "GetBucketCorsOutput",
"type": "structure",
"members": {
"CORSRules": {
"shape_name": "CORSRules",
"type": "list",
"members": {
"shape_name": "CORSRule",
"type": "structure",
"members": {
"AllowedHeaders": {
"shape_name": "AllowedHeaders",
"type": "list",
"members": {
"shape_name": "AllowedHeader",
"type": "string",
"documentation": null
},
"flattened": true,
"documentation": "Specifies which headers are allowed in a pre-flight OPTIONS request.",
"xmlname": "AllowedHeader"
},
"AllowedMethods": {
"shape_name": "AllowedMethods",
"type": "list",
"members": {
"shape_name": "AllowedMethod",
"type": "string",
"documentation": null
},
"flattened": true,
"documentation": "Identifies HTTP methods that the domain/origin specified in the rule is allowed to execute.",
"xmlname": "AllowedMethod"
},
"AllowedOrigins": {
"shape_name": "AllowedOrigins",
"type": "list",
"members": {
"shape_name": "AllowedOrigin",
"type": "string",
"documentation": null
},
"flattened": true,
"documentation": "One or more origins you want customers to be able to access the bucket from.",
"xmlname": "AllowedOrigin"
},
"ExposeHeaders": {
"shape_name": "ExposeHeaders",
"type": "list",
"members": {
"shape_name": "ExposeHeader",
"type": "string",
"documentation": null
},
"flattened": true,
"documentation": "One or more headers in the response that you want customers to be able to access from their applications (for example, from a JavaScript XMLHttpRequest object).",
"xmlname": "ExposeHeader"
},
"MaxAgeSeconds": {
"shape_name": "MaxAgeSeconds",
"type": "integer",
"documentation": "The time in seconds that your browser is to cache the preflight response for the specified resource."
}
},
"documentation": null
},
"flattened": true,
"documentation": null,
"xmlname": "CORSRule"
}
},
"documentation": null
},
"errors": [],
"documentation": "Returns the cors configuration for the bucket.",
"documentation_url": "http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGETcors.html"
},
"GetBucketLifecycle": {
"name": "GetBucketLifecycle",
"http": {
"method": "GET",
"uri": "/{Bucket}?lifecycle"
},
"input": {
"shape_name": "GetBucketLifecycleRequest",
"type": "structure",
"members": {
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
}
},
"documentation": null
},
"output": {
"shape_name": "GetBucketLifecycleOutput",
"type": "structure",
"members": {
"Rules": {
"shape_name": "Rules",
"type": "list",
"members": {
"shape_name": "Rule",
"type": "structure",
"members": {
"Expiration": {
"shape_name": "LifecycleExpiration",
"type": "structure",
"members": {
"Date": {
"shape_name": "Date",
"type": "timestamp",
"documentation": "Indicates at what date the object is to be moved or deleted. Should be in GMT ISO 8601 Format.",
"timestamp_format": "iso8601"
},
"Days": {
"shape_name": "Days",
"type": "integer",
"documentation": "Indicates the lifetime, in days, of the objects that are subject to the rule. The value must be a non-zero positive integer."
}
},
"documentation": null
},
"ID": {
"shape_name": "ID",
"type": "string",
"documentation": "Unique identifier for the rule. The value cannot be longer than 255 characters."
},
"Prefix": {
"shape_name": "Prefix",
"type": "string",
"documentation": "Prefix identifying one or more objects to which the rule applies.",
"required": true
},
"Status": {
"shape_name": "ExpirationStatus",
"type": "string",
"enum": [
"Enabled",
"Disabled"
],
"documentation": "If 'Enabled', the rule is currently being applied. If 'Disabled', the rule is not currently being applied.",
"required": true
},
"Transition": {
"shape_name": "Transition",
"type": "structure",
"members": {
"Date": {
"shape_name": "Date",
"type": "timestamp",
"documentation": "Indicates at what date the object is to be moved or deleted. Should be in GMT ISO 8601 Format.",
"timestamp_format": "iso8601"
},
"Days": {
"shape_name": "Days",
"type": "integer",
"documentation": "Indicates the lifetime, in days, of the objects that are subject to the rule. The value must be a non-zero positive integer."
},
"StorageClass": {
"shape_name": "TransitionStorageClass",
"type": "string",
"enum": [
"GLACIER"
],
"documentation": "The class of storage used to store the object."
}
},
"documentation": null
},
"NoncurrentVersionTransition": {
"shape_name": "NoncurrentVersionTransition",
"type": "structure",
"members": {
"NoncurrentDays": {
"shape_name": "Days",
"type": "integer",
"documentation": "Specifies the number of days an object is noncurrent before Amazon S3 can perform the associated action. For information about the noncurrent days calculations, see <a href=\"/AmazonS3/latest/dev/s3-access-control.html\">How Amazon S3 Calculates When an Object Became Noncurrent</a> in the Amazon Simple Storage Service Developer Guide."
},
"StorageClass": {
"shape_name": "TransitionStorageClass",
"type": "string",
"enum": [
"GLACIER"
],
"documentation": "The class of storage used to store the object."
}
},
"documentation": "Container for the transition rule that describes when noncurrent objects transition to the GLACIER storage class.\n\nIf your bucket is versioning-enabled (or versioning is suspended), you can set this action to request that Amazon S3 transition noncurrent object versions to the GLACIER storage class at a specific period in the object's lifetime."
},
"NoncurrentVersionExpiration": {
"shape_name": "NoncurrentVersionExpiration",
"type": "structure",
"members": {
"NoncurrentDays": {
"shape_name": "Days",
"type": "integer",
"documentation": "Specifies the number of days an object is noncurrent before Amazon S3 can perform the associated action. For information about the noncurrent days calculations, see <a href=\"/AmazonS3/latest/dev/s3-access-control.html\">How Amazon S3 Calculates When an Object Became Noncurrent</a> in the Amazon Simple Storage Service Developer Guide."
}
},
"documentation": "Specifies when noncurrent object versions expire. Upon expiration, Amazon S3 permanently deletes the noncurrent object versions.\n\nYou set this lifecycle configuration action on a bucket that has versioning enabled (or suspended) to request that Amazon S3 delete noncurrent object versions at a specific period in the object's lifetime."
}
},
"documentation": null
},
"flattened": true,
"documentation": null,
"xmlname": "Rule"
}
},
"documentation": null
},
"errors": [],
"documentation": "Returns the lifecycle configuration information set on the bucket.",
"documentation_url": "http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGETlifecycle.html"
},
"GetBucketLocation": {
"name": "GetBucketLocation",
"http": {
"method": "GET",
"uri": "/{Bucket}?location"
},
"input": {
"shape_name": "GetBucketLocationRequest",
"type": "structure",
"members": {
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
}
},
"documentation": null
},
"output": {
"shape_name": "GetBucketLocationOutput",
"type": "structure",
"members": {
"LocationConstraint": {
"shape_name": "BucketLocationConstraint",
"type": "string",
"enum": [
"EU",
"eu-west-1",
"us-west-1",
"us-west-2",
"ap-southeast-1",
"ap-southeast-2",
"ap-northeast-1",
"sa-east-1",
""
],
"documentation": null
}
},
"documentation": null
},
"errors": [],
"documentation": "Returns the region the bucket resides in.",
"documentation_url": "http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGETlocation.html"
},
"GetBucketLogging": {
"name": "GetBucketLogging",
"http": {
"method": "GET",
"uri": "/{Bucket}?logging"
},
"input": {
"shape_name": "GetBucketLoggingRequest",
"type": "structure",
"members": {
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
}
},
"documentation": null
},
"output": {
"shape_name": "GetBucketLoggingOutput",
"type": "structure",
"members": {
"LoggingEnabled": {
"shape_name": "LoggingEnabled",
"type": "structure",
"members": {
"TargetBucket": {
"shape_name": "TargetBucket",
"type": "string",
"documentation": "Specifies the bucket where you want Amazon S3 to store server access logs. You can have your logs delivered to any bucket that you own, including the same bucket that is being logged. You can also configure multiple buckets to deliver their logs to the same target bucket. In this case you should choose a different TargetPrefix for each source bucket so that the delivered log files can be distinguished by key."
},
"TargetGrants": {
"shape_name": "TargetGrants",
"type": "list",
"members": {
"shape_name": "TargetGrant",
"type": "structure",
"members": {
"Grantee": {
"shape_name": "Grantee",
"type": "structure",
"members": {
"DisplayName": {
"shape_name": "DisplayName",
"type": "string",
"documentation": "Screen name of the grantee."
},
"EmailAddress": {
"shape_name": "EmailAddress",
"type": "string",
"documentation": "Email address of the grantee."
},
"ID": {
"shape_name": "ID",
"type": "string",
"documentation": "The canonical user ID of the grantee."
},
"Type": {
"shape_name": "Type",
"type": "string",
"enum": [
"CanonicalUser",
"AmazonCustomerByEmail",
"Group"
],
"documentation": "Type of grantee",
"required": true,
"xmlattribute": true,
"xmlname": "xsi:type"
},
"URI": {
"shape_name": "URI",
"type": "string",
"documentation": "URI of the grantee group."
}
},
"documentation": null,
"xmlnamespace": {
"prefix": "xsi",
"uri": "http://www.w3.org/2001/XMLSchema-instance"
}
},
"Permission": {
"shape_name": "BucketLogsPermission",
"type": "string",
"enum": [
"FULL_CONTROL",
"READ",
"WRITE"
],
"documentation": "Logging permissions assigned to the Grantee for the bucket."
}
},
"documentation": null,
"xmlname": "Grant"
},
"documentation": null
},
"TargetPrefix": {
"shape_name": "TargetPrefix",
"type": "string",
"documentation": "This element lets you specify a prefix for the keys that the log files will be stored under."
}
},
"documentation": null
}
},
"documentation": null
},
"errors": [],
"documentation": "Returns the logging status of a bucket and the permissions users have to view and modify that status. To use GET, you must be the bucket owner.",
"documentation_url": "http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGETlogging.html"
},
"GetBucketNotification": {
"name": "GetBucketNotification",
"http": {
"method": "GET",
"uri": "/{Bucket}?notification"
},
"input": {
"shape_name": "GetBucketNotificationRequest",
"type": "structure",
"members": {
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
}
},
"documentation": null
},
"output": {
"shape_name": "GetBucketNotificationOutput",
"type": "structure",
"members": {
"TopicConfiguration": {
"shape_name": "TopicConfiguration",
"type": "structure",
"members": {
"Event": {
"shape_name": "Event",
"type": "string",
"enum": [
"s3:ReducedRedundancyLostObject"
],
"documentation": "Bucket event for which to send notifications."
},
"Topic": {
"shape_name": "Topic",
"type": "string",
"documentation": "Amazon SNS topic to which Amazon S3 will publish a message to report the specified events for the bucket."
}
},
"documentation": null
}
},
"documentation": null
},
"errors": [],
"documentation": "Return the notification configuration of a bucket.",
"documentation_url": "http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGETnotification.html"
},
"GetBucketPolicy": {
"name": "GetBucketPolicy",
"http": {
"method": "GET",
"uri": "/{Bucket}?policy"
},
"input": {
"shape_name": "GetBucketPolicyRequest",
"type": "structure",
"members": {
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
}
},
"documentation": null
},
"output": {
"shape_name": "GetBucketPolicyOutput",
"type": "structure",
"members": {
"Policy": {
"shape_name": "Policy",
"type": "string",
"documentation": "The bucket policy as a JSON document.",
"payload": true
}
},
"documentation": null
},
"errors": [],
"documentation": "Returns the policy of a specified bucket.",
"documentation_url": "http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGETpolicy.html"
},
"GetBucketRequestPayment": {
"name": "GetBucketRequestPayment",
"http": {
"method": "GET",
"uri": "/{Bucket}?requestPayment"
},
"input": {
"shape_name": "GetBucketRequestPaymentRequest",
"type": "structure",
"members": {
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
}
},
"documentation": null
},
"output": {
"shape_name": "GetBucketRequestPaymentOutput",
"type": "structure",
"members": {
"Payer": {
"shape_name": "Payer",
"type": "string",
"enum": [
"Requester",
"BucketOwner"
],
"documentation": "Specifies who pays for the download and request fees."
}
},
"documentation": null
},
"errors": [],
"documentation": "Returns the request payment configuration of a bucket.",
"documentation_url": "http://docs.aws.amazon.com/AmazonS3/latest/API/RESTrequestPaymentGET.html"
},
"GetBucketTagging": {
"name": "GetBucketTagging",
"http": {
"method": "GET",
"uri": "/{Bucket}?tagging"
},
"input": {
"shape_name": "GetBucketTaggingRequest",
"type": "structure",
"members": {
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
}
},
"documentation": null
},
"output": {
"shape_name": "GetBucketTaggingOutput",
"type": "structure",
"members": {
"TagSet": {
"shape_name": "TagSet",
"type": "list",
"members": {
"shape_name": "Tag",
"type": "structure",
"members": {
"Key": {
"shape_name": "ObjectKey",
"type": "string",
"documentation": "Name of the tag.",
"required": true
},
"Value": {
"shape_name": "Value",
"type": "string",
"documentation": "Value of the tag.",
"required": true
}
},
"documentation": null,
"xmlname": "Tag"
},
"documentation": null,
"required": true
}
},
"documentation": null
},
"errors": [],
"documentation": "Returns the tag set associated with the bucket.",
"documentation_url": "http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGETtagging.html"
},
"GetBucketVersioning": {
"name": "GetBucketVersioning",
"http": {
"method": "GET",
"uri": "/{Bucket}?versioning"
},
"input": {
"shape_name": "GetBucketVersioningRequest",
"type": "structure",
"members": {
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
}
},
"documentation": null
},
"output": {
"shape_name": "GetBucketVersioningOutput",
"type": "structure",
"members": {
"Status": {
"shape_name": "BucketVersioningStatus",
"type": "string",
"enum": [
"Enabled",
"Suspended"
],
"documentation": "The versioning state of the bucket."
},
"MfaDelete": {
"shape_name": "MFADeleteStatus",
"type": "string",
"enum": [
"Enabled",
"Disabled"
],
"documentation": "Specifies whether MFA delete is enabled in the bucket versioning configuration. This element is only returned if the bucket has been configured with MFA delete. If the bucket has never been so configured, this element is not returned.",
"xmlname": "MfaDelete"
}
},
"documentation": null
},
"errors": [],
"documentation": "Returns the versioning state of a bucket.",
"documentation_url": "http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGETversioningStatus.html"
},
"GetBucketWebsite": {
"name": "GetBucketWebsite",
"http": {
"method": "GET",
"uri": "/{Bucket}?website"
},
"input": {
"shape_name": "GetBucketWebsiteRequest",
"type": "structure",
"members": {
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
}
},
"documentation": null
},
"output": {
"shape_name": "GetBucketWebsiteOutput",
"type": "structure",
"members": {
"RedirectAllRequestsTo": {
"shape_name": "RedirectAllRequestsTo",
"type": "structure",
"members": {
"HostName": {
"shape_name": "HostName",
"type": "string",
"documentation": "Name of the host where requests will be redirected.",
"required": true
},
"Protocol": {
"shape_name": "Protocol",
"type": "string",
"enum": [
"http",
"https"
],
"documentation": "Protocol to use (http, https) when redirecting requests. The default is the protocol that is used in the original request."
}
},
"documentation": null
},
"IndexDocument": {
"shape_name": "IndexDocument",
"type": "structure",
"members": {
"Suffix": {
"shape_name": "Suffix",
"type": "string",
"documentation": "A suffix that is appended to a request that is for a directory on the website endpoint (e.g. if the suffix is index.html and you make a request to samplebucket/images/ the data that is returned will be for the object with the key name images/index.html) The suffix must not be empty and must not include a slash character.",
"required": true
}
},
"documentation": null
},
"ErrorDocument": {
"shape_name": "ErrorDocument",
"type": "structure",
"members": {
"Key": {
"shape_name": "ObjectKey",
"type": "string",
"documentation": "The object key name to use when a 4XX class error occurs.",
"required": true
}
},
"documentation": null
},
"RoutingRules": {
"shape_name": "RoutingRules",
"type": "list",
"members": {
"shape_name": "RoutingRule",
"type": "structure",
"members": {
"Condition": {
"shape_name": "Condition",
"type": "structure",
"members": {
"HttpErrorCodeReturnedEquals": {
"shape_name": "HttpErrorCodeReturnedEquals",
"type": "string",
"documentation": "The HTTP error code when the redirect is applied. In the event of an error, if the error code equals this value, then the specified redirect is applied. Required when parent element Condition is specified and sibling KeyPrefixEquals is not specified. If both are specified, then both must be true for the redirect to be applied."
},
"KeyPrefixEquals": {
"shape_name": "KeyPrefixEquals",
"type": "string",
"documentation": "The object key name prefix when the redirect is applied. For example, to redirect requests for ExamplePage.html, the key prefix will be ExamplePage.html. To redirect request for all pages with the prefix docs/, the key prefix will be /docs, which identifies all objects in the docs/ folder. Required when the parent element Condition is specified and sibling HttpErrorCodeReturnedEquals is not specified. If both conditions are specified, both must be true for the redirect to be applied."
}
},
"documentation": "A container for describing a condition that must be met for the specified redirect to apply. For example, 1. If request is for pages in the /docs folder, redirect to the /documents folder. 2. If request results in HTTP error 4xx, redirect request to another host where you might process the error."
},
"Redirect": {
"shape_name": "Redirect",
"type": "structure",
"members": {
"HostName": {
"shape_name": "HostName",
"type": "string",
"documentation": "The host name to use in the redirect request."
},
"HttpRedirectCode": {
"shape_name": "HttpRedirectCode",
"type": "string",
"documentation": "The HTTP redirect code to use on the response. Not required if one of the siblings is present."
},
"Protocol": {
"shape_name": "Protocol",
"type": "string",
"enum": [
"http",
"https"
],
"documentation": "Protocol to use (http, https) when redirecting requests. The default is the protocol that is used in the original request."
},
"ReplaceKeyPrefixWith": {
"shape_name": "ReplaceKeyPrefixWith",
"type": "string",
"documentation": "The object key prefix to use in the redirect request. For example, to redirect requests for all pages with prefix docs/ (objects in the docs/ folder) to documents/, you can set a condition block with KeyPrefixEquals set to docs/ and in the Redirect set ReplaceKeyPrefixWith to /documents. Not required if one of the siblings is present. Can be present only if ReplaceKeyWith is not provided."
},
"ReplaceKeyWith": {
"shape_name": "ReplaceKeyWith",
"type": "string",
"documentation": "The specific object key to use in the redirect request. For example, redirect request to error.html. Not required if one of the sibling is present. Can be present only if ReplaceKeyPrefixWith is not provided."
}
},
"documentation": "Container for redirect information. You can redirect requests to another host, to another page, or with another protocol. In the event of an error, you can can specify a different error code to return.",
"required": true
}
},
"documentation": null,
"xmlname": "RoutingRule"
},
"documentation": null
}
},
"documentation": null
},
"errors": [],
"documentation": "Returns the website configuration for a bucket.",
"documentation_url": "http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGETwebsite.html"
},
"GetObject": {
"name": "GetObject",
"http": {
"method": "GET",
"uri": "/{Bucket}/{Key}?versionId={VersionId}&response-content-type={ResponseContentType}&response-content-language={ResponseContentLanguage}&response-expires={ResponseExpires}&response-cache-control={ResponseCacheControl}&response-content-disposition={ResponseContentDisposition}&response-content-encoding={ResponseContentEncoding}"
},
"input": {
"shape_name": "GetObjectRequest",
"type": "structure",
"members": {
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
},
"IfMatch": {
"shape_name": "IfMatch",
"type": "string",
"documentation": "Return the object only if its entity tag (ETag) is the same as the one specified, otherwise return a 412 (precondition failed).",
"location": "header",
"location_name": "If-Match"
},
"IfModifiedSince": {
"shape_name": "IfModifiedSince",
"type": "timestamp",
"documentation": "Return the object only if it has been modified since the specified time, otherwise return a 304 (not modified).",
"location": "header",
"location_name": "If-Modified-Since"
},
"IfNoneMatch": {
"shape_name": "IfNoneMatch",
"type": "string",
"documentation": "Return the object only if its entity tag (ETag) is different from the one specified, otherwise return a 304 (not modified).",
"location": "header",
"location_name": "If-None-Match"
},
"IfUnmodifiedSince": {
"shape_name": "IfUnmodifiedSince",
"type": "timestamp",
"documentation": "Return the object only if it has not been modified since the specified time, otherwise return a 412 (precondition failed).",
"location": "header",
"location_name": "If-Unmodified-Since"
},
"Key": {
"shape_name": "ObjectKey",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
},
"Range": {
"shape_name": "Range",
"type": "string",
"documentation": "Downloads the specified range bytes of an object. For more information about the HTTP Range header, go to http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35.",
"location": "header",
"location_name": "Range"
},
"ResponseCacheControl": {
"shape_name": "ResponseCacheControl",
"type": "string",
"documentation": "Sets the Cache-Control header of the response.",
"location": "uri"
},
"ResponseContentDisposition": {
"shape_name": "ResponseContentDisposition",
"type": "string",
"documentation": "Sets the Content-Disposition header of the response",
"location": "uri"
},
"ResponseContentEncoding": {
"shape_name": "ResponseContentEncoding",
"type": "string",
"documentation": "Sets the Content-Encoding header of the response.",
"location": "uri"
},
"ResponseContentLanguage": {
"shape_name": "ResponseContentLanguage",
"type": "string",
"documentation": "Sets the Content-Language header of the response.",
"location": "uri"
},
"ResponseContentType": {
"shape_name": "ResponseContentType",
"type": "string",
"documentation": "Sets the Content-Type header of the response.",
"location": "uri"
},
"ResponseExpires": {
"shape_name": "ResponseExpires",
"type": "timestamp",
"documentation": "Sets the Expires header of the response.",
"location": "uri"
},
"VersionId": {
"shape_name": "ObjectVersionId",
"type": "string",
"documentation": "VersionId used to reference a specific version of the object.",
"location": "uri"
},
"SSECustomerAlgorithm": {
"shape_name": "SSECustomerAlgorithm",
"type": "string",
"documentation": "Specifies the algorithm to use to when encrypting the object (e.g., AES256).",
"location": "header",
"location_name": "x-amz-server-side-encryption-customer-algorithm"
},
"SSECustomerKey": {
"shape_name": "SSECustomerKey",
"type": "string",
"documentation": "Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This value is used to store the object and then it is discarded; Amazon does not store the encryption key. The key must be appropriate for use with the algorithm specified in the x-amz-server-side&#x200B;-encryption&#x200B;-customer-algorithm header.",
"location": "header",
"location_name": "x-amz-server-side-encryption-customer-key"
},
"SSECustomerKeyMD5": {
"shape_name": "SSECustomerKeyMD5",
"type": "string",
"documentation": "Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this header for a message integrity check to ensure the encryption key was transmitted without error.",
"location": "header",
"location_name": "x-amz-server-side-encryption-customer-key-MD5"
}
},
"documentation": null
},
"output": {
"shape_name": "GetObjectOutput",
"type": "structure",
"members": {
"Body": {
"shape_name": "Body",
"type": "blob",
"documentation": "Object data.",
"payload": true,
"streaming": true
},
"DeleteMarker": {
"shape_name": "DeleteMarker",
"type": "boolean",
"documentation": "Specifies whether the object retrieved was (true) or was not (false) a Delete Marker. If false, this response header does not appear in the response.",
"location": "header",
"location_name": "x-amz-delete-marker"
},
"AcceptRanges": {
"shape_name": "AcceptRanges",
"type": "string",
"documentation": null,
"location": "header",
"location_name": "accept-ranges"
},
"Expiration": {
"shape_name": "Expiration",
"type": "timestamp",
"documentation": "If the object expiration is configured (see PUT Bucket lifecycle), the response includes this header. It includes the expiry-date and rule-id key value pairs providing object expiration information. The value of the rule-id is URL encoded.",
"location": "header",
"location_name": "x-amz-expiration"
},
"Restore": {
"shape_name": "Restore",
"type": "string",
"documentation": "Provides information about object restoration operation and expiration time of the restored object copy.",
"location": "header",
"location_name": "x-amz-restore"
},
"LastModified": {
"shape_name": "LastModified",
"type": "timestamp",
"documentation": "Last modified date of the object",
"location": "header",
"location_name": "Last-Modified"
},
"ContentLength": {
"shape_name": "ContentLength",
"type": "integer",
"documentation": "Size of the body in bytes.",
"location": "header",
"location_name": "Content-Length"
},
"ETag": {
"shape_name": "ETag",
"type": "string",
"documentation": "An ETag is an opaque identifier assigned by a web server to a specific version of a resource found at a URL",
"location": "header",
"location_name": "ETag"
},
"MissingMeta": {
"shape_name": "MissingMeta",
"type": "integer",
"documentation": "This is set to the number of metadata entries not returned in x-amz-meta headers. This can happen if you create metadata using an API like SOAP that supports more flexible metadata than the REST API. For example, using SOAP, you can create metadata whose values are not legal HTTP headers.",
"location": "header",
"location_name": "x-amz-missing-meta"
},
"VersionId": {
"shape_name": "ObjectVersionId",
"type": "string",
"documentation": "Version of the object.",
"location": "header",
"location_name": "x-amz-version-id"
},
"CacheControl": {
"shape_name": "CacheControl",
"type": "string",
"documentation": "Specifies caching behavior along the request/reply chain.",
"location": "header",
"location_name": "Cache-Control"
},
"ContentDisposition": {
"shape_name": "ContentDisposition",
"type": "string",
"documentation": "Specifies presentational information for the object.",
"location": "header",
"location_name": "Content-Disposition"
},
"ContentEncoding": {
"shape_name": "ContentEncoding",
"type": "string",
"documentation": "Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field.",
"location": "header",
"location_name": "Content-Encoding"
},
"ContentLanguage": {
"shape_name": "ContentLanguage",
"type": "string",
"documentation": "The language the content is in.",
"location": "header",
"location_name": "Content-Language"
},
"ContentType": {
"shape_name": "ContentType",
"type": "string",
"documentation": "A standard MIME type describing the format of the object data.",
"location": "header",
"location_name": "Content-Type"
},
"Expires": {
"shape_name": "Expires",
"type": "timestamp",
"documentation": "The date and time at which the object is no longer cacheable.",
"location": "header",
"location_name": "Expires"
},
"WebsiteRedirectLocation": {
"shape_name": "WebsiteRedirectLocation",
"type": "string",
"documentation": "If the bucket is configured as a website, redirects requests for this object to another object in the same bucket or to an external URL. Amazon S3 stores the value of this header in the object metadata.",
"location": "header",
"location_name": "x-amz-website-redirect-location"
},
"ServerSideEncryption": {
"shape_name": "ServerSideEncryption",
"type": "string",
"enum": [
"AES256"
],
"documentation": "The Server-side encryption algorithm used when storing this object in S3.",
"location": "header",
"location_name": "x-amz-server-side-encryption"
},
"Metadata": {
"type": "map",
"location": "header",
"location_name": "x-amz-meta-",
"keys": {
"type": "string",
"documentation": "The metadata key. This will be prefixed with x-amz-meta- before sending to S3 as a header. The x-amz-meta- header will be stripped from the key when retrieving headers."
},
"members": {
"type": "string",
"documentation": "The metadata value."
},
"documentation": "A map of metadata to store with the object in S3."
},
"SSECustomerAlgorithm": {
"shape_name": "SSECustomerAlgorithm",
"type": "string",
"documentation": "If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used.",
"location": "header",
"location_name": "x-amz-server-side-encryption-customer-algorithm"
},
"SSECustomerKeyMD5": {
"shape_name": "SSECustomerKeyMD5",
"type": "string",
"documentation": "If server-side encryption with a customer-provided encryption key was requested, the response will include this header to provide round trip message integrity verification of the customer-provided encryption key.",
"location": "header",
"location_name": "x-amz-server-side-encryption-customer-key-MD5"
}
},
"documentation": null
},
"errors": [
{
"shape_name": "NoSuchKey",
"type": "structure",
"members": {},
"documentation": "The specified key does not exist."
}
],
"documentation": "Retrieves objects from Amazon S3.",
"documentation_url": "http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectGET.html"
},
"GetObjectAcl": {
"name": "GetObjectAcl",
"http": {
"method": "GET",
"uri": "/{Bucket}/{Key}?acl&versionId={VersionId}"
},
"input": {
"shape_name": "GetObjectAclRequest",
"type": "structure",
"members": {
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
},
"Key": {
"shape_name": "ObjectKey",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
},
"VersionId": {
"shape_name": "ObjectVersionId",
"type": "string",
"documentation": "VersionId used to reference a specific version of the object.",
"location": "uri"
}
},
"documentation": null
},
"output": {
"shape_name": "GetObjectAclOutput",
"type": "structure",
"members": {
"Owner": {
"shape_name": "Owner",
"type": "structure",
"members": {
"DisplayName": {
"shape_name": "DisplayName",
"type": "string",
"documentation": null
},
"ID": {
"shape_name": "ID",
"type": "string",
"documentation": null
}
},
"documentation": null
},
"Grants": {
"shape_name": "Grants",
"type": "list",
"members": {
"shape_name": "Grant",
"type": "structure",
"members": {
"Grantee": {
"shape_name": "Grantee",
"type": "structure",
"members": {
"DisplayName": {
"shape_name": "DisplayName",
"type": "string",
"documentation": "Screen name of the grantee."
},
"EmailAddress": {
"shape_name": "EmailAddress",
"type": "string",
"documentation": "Email address of the grantee."
},
"ID": {
"shape_name": "ID",
"type": "string",
"documentation": "The canonical user ID of the grantee."
},
"Type": {
"shape_name": "Type",
"type": "string",
"enum": [
"CanonicalUser",
"AmazonCustomerByEmail",
"Group"
],
"documentation": "Type of grantee",
"required": true,
"xmlattribute": true,
"xmlname": "xsi:type"
},
"URI": {
"shape_name": "URI",
"type": "string",
"documentation": "URI of the grantee group."
}
},
"documentation": null,
"xmlnamespace": {
"prefix": "xsi",
"uri": "http://www.w3.org/2001/XMLSchema-instance"
}
},
"Permission": {
"shape_name": "Permission",
"type": "string",
"enum": [
"FULL_CONTROL",
"WRITE",
"WRITE_ACP",
"READ",
"READ_ACP"
],
"documentation": "Specifies the permission given to the grantee."
}
},
"documentation": null,
"xmlname": "Grant"
},
"documentation": "A list of grants.",
"xmlname": "AccessControlList"
}
},
"documentation": null
},
"errors": [
{
"shape_name": "NoSuchKey",
"type": "structure",
"members": {},
"documentation": "The specified key does not exist."
}
],
"documentation": "Returns the access control list (ACL) of an object.",
"documentation_url": "http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectGETacl.html"
},
"GetObjectTorrent": {
"name": "GetObjectTorrent",
"http": {
"method": "GET",
"uri": "/{Bucket}/{Key}?torrent"
},
"input": {
"shape_name": "GetObjectTorrentRequest",
"type": "structure",
"members": {
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
},
"Key": {
"shape_name": "ObjectKey",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
}
},
"documentation": null
},
"output": {
"shape_name": "GetObjectTorrentOutput",
"type": "structure",
"members": {
"Body": {
"shape_name": "Body",
"type": "blob",
"documentation": null,
"payload": true,
"streaming": true
}
},
"documentation": null
},
"errors": [],
"documentation": "Return torrent files from a bucket.",
"documentation_url": "http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectGETtorrent.html"
},
"HeadBucket": {
"name": "HeadBucket",
"http": {
"method": "HEAD",
"uri": "/{Bucket}"
},
"input": {
"shape_name": "HeadBucketRequest",
"type": "structure",
"members": {
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
}
},
"documentation": null
},
"output": null,
"errors": [
{
"shape_name": "NoSuchBucket",
"type": "structure",
"members": {},
"documentation": "The specified bucket does not exist."
}
],
"documentation": "This operation is useful to determine if a bucket exists and you have permission to access it.",
"documentation_url": "http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketHEAD.html"
},
"HeadObject": {
"name": "HeadObject",
"http": {
"method": "HEAD",
"uri": "/{Bucket}/{Key}?versionId={VersionId}"
},
"input": {
"shape_name": "HeadObjectRequest",
"type": "structure",
"members": {
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
},
"IfMatch": {
"shape_name": "IfMatch",
"type": "string",
"documentation": "Return the object only if its entity tag (ETag) is the same as the one specified, otherwise return a 412 (precondition failed).",
"location": "header",
"location_name": "If-Match"
},
"IfModifiedSince": {
"shape_name": "IfModifiedSince",
"type": "timestamp",
"documentation": "Return the object only if it has been modified since the specified time, otherwise return a 304 (not modified).",
"location": "header",
"location_name": "If-Modified-Since"
},
"IfNoneMatch": {
"shape_name": "IfNoneMatch",
"type": "string",
"documentation": "Return the object only if its entity tag (ETag) is different from the one specified, otherwise return a 304 (not modified).",
"location": "header",
"location_name": "If-None-Match"
},
"IfUnmodifiedSince": {
"shape_name": "IfUnmodifiedSince",
"type": "timestamp",
"documentation": "Return the object only if it has not been modified since the specified time, otherwise return a 412 (precondition failed).",
"location": "header",
"location_name": "If-Unmodified-Since"
},
"Key": {
"shape_name": "ObjectKey",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
},
"Range": {
"shape_name": "Range",
"type": "string",
"documentation": "Downloads the specified range bytes of an object. For more information about the HTTP Range header, go to http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35.",
"location": "header",
"location_name": "Range"
},
"VersionId": {
"shape_name": "ObjectVersionId",
"type": "string",
"documentation": "VersionId used to reference a specific version of the object.",
"location": "uri"
},
"SSECustomerAlgorithm": {
"shape_name": "SSECustomerAlgorithm",
"type": "string",
"documentation": "Specifies the algorithm to use to when encrypting the object (e.g., AES256).",
"location": "header",
"location_name": "x-amz-server-side-encryption-customer-algorithm"
},
"SSECustomerKey": {
"shape_name": "SSECustomerKey",
"type": "string",
"documentation": "Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This value is used to store the object and then it is discarded; Amazon does not store the encryption key. The key must be appropriate for use with the algorithm specified in the x-amz-server-side&#x200B;-encryption&#x200B;-customer-algorithm header.",
"location": "header",
"location_name": "x-amz-server-side-encryption-customer-key"
},
"SSECustomerKeyMD5": {
"shape_name": "SSECustomerKeyMD5",
"type": "string",
"documentation": "Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this header for a message integrity check to ensure the encryption key was transmitted without error.",
"location": "header",
"location_name": "x-amz-server-side-encryption-customer-key-MD5"
}
},
"documentation": null
},
"output": {
"shape_name": "HeadObjectOutput",
"type": "structure",
"members": {
"DeleteMarker": {
"shape_name": "DeleteMarker",
"type": "boolean",
"documentation": "Specifies whether the object retrieved was (true) or was not (false) a Delete Marker. If false, this response header does not appear in the response.",
"location": "header",
"location_name": "x-amz-delete-marker"
},
"AcceptRanges": {
"shape_name": "AcceptRanges",
"type": "string",
"documentation": null,
"location": "header",
"location_name": "accept-ranges"
},
"Expiration": {
"shape_name": "Expiration",
"type": "timestamp",
"documentation": "If the object expiration is configured (see PUT Bucket lifecycle), the response includes this header. It includes the expiry-date and rule-id key value pairs providing object expiration information. The value of the rule-id is URL encoded.",
"location": "header",
"location_name": "x-amz-expiration"
},
"Restore": {
"shape_name": "Restore",
"type": "string",
"documentation": "Provides information about object restoration operation and expiration time of the restored object copy.",
"location": "header",
"location_name": "x-amz-restore"
},
"LastModified": {
"shape_name": "LastModified",
"type": "timestamp",
"documentation": "Last modified date of the object",
"location": "header",
"location_name": "Last-Modified"
},
"ContentLength": {
"shape_name": "ContentLength",
"type": "integer",
"documentation": "Size of the body in bytes.",
"location": "header",
"location_name": "Content-Length"
},
"ETag": {
"shape_name": "ETag",
"type": "string",
"documentation": "An ETag is an opaque identifier assigned by a web server to a specific version of a resource found at a URL",
"location": "header",
"location_name": "ETag"
},
"MissingMeta": {
"shape_name": "MissingMeta",
"type": "integer",
"documentation": "This is set to the number of metadata entries not returned in x-amz-meta headers. This can happen if you create metadata using an API like SOAP that supports more flexible metadata than the REST API. For example, using SOAP, you can create metadata whose values are not legal HTTP headers.",
"location": "header",
"location_name": "x-amz-missing-meta"
},
"VersionId": {
"shape_name": "ObjectVersionId",
"type": "string",
"documentation": "Version of the object.",
"location": "header",
"location_name": "x-amz-version-id"
},
"CacheControl": {
"shape_name": "CacheControl",
"type": "string",
"documentation": "Specifies caching behavior along the request/reply chain.",
"location": "header",
"location_name": "Cache-Control"
},
"ContentDisposition": {
"shape_name": "ContentDisposition",
"type": "string",
"documentation": "Specifies presentational information for the object.",
"location": "header",
"location_name": "Content-Disposition"
},
"ContentEncoding": {
"shape_name": "ContentEncoding",
"type": "string",
"documentation": "Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field.",
"location": "header",
"location_name": "Content-Encoding"
},
"ContentLanguage": {
"shape_name": "ContentLanguage",
"type": "string",
"documentation": "The language the content is in.",
"location": "header",
"location_name": "Content-Language"
},
"ContentType": {
"shape_name": "ContentType",
"type": "string",
"documentation": "A standard MIME type describing the format of the object data.",
"location": "header",
"location_name": "Content-Type"
},
"Expires": {
"shape_name": "Expires",
"type": "timestamp",
"documentation": "The date and time at which the object is no longer cacheable.",
"location": "header",
"location_name": "Expires"
},
"WebsiteRedirectLocation": {
"shape_name": "WebsiteRedirectLocation",
"type": "string",
"documentation": "If the bucket is configured as a website, redirects requests for this object to another object in the same bucket or to an external URL. Amazon S3 stores the value of this header in the object metadata.",
"location": "header",
"location_name": "x-amz-website-redirect-location"
},
"ServerSideEncryption": {
"shape_name": "ServerSideEncryption",
"type": "string",
"enum": [
"AES256"
],
"documentation": "The Server-side encryption algorithm used when storing this object in S3.",
"location": "header",
"location_name": "x-amz-server-side-encryption"
},
"Metadata": {
"type": "map",
"location": "header",
"location_name": "x-amz-meta-",
"keys": {
"type": "string",
"documentation": "The metadata key. This will be prefixed with x-amz-meta- before sending to S3 as a header. The x-amz-meta- header will be stripped from the key when retrieving headers."
},
"members": {
"type": "string",
"documentation": "The metadata value."
},
"documentation": "A map of metadata to store with the object in S3."
},
"SSECustomerAlgorithm": {
"shape_name": "SSECustomerAlgorithm",
"type": "string",
"documentation": "If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used.",
"location": "header",
"location_name": "x-amz-server-side-encryption-customer-algorithm"
},
"SSECustomerKeyMD5": {
"shape_name": "SSECustomerKeyMD5",
"type": "string",
"documentation": "If server-side encryption with a customer-provided encryption key was requested, the response will include this header to provide round trip message integrity verification of the customer-provided encryption key.",
"location": "header",
"location_name": "x-amz-server-side-encryption-customer-key-MD5"
}
},
"documentation": null
},
"errors": [
{
"shape_name": "NoSuchKey",
"type": "structure",
"members": {},
"documentation": "The specified key does not exist."
}
],
"documentation": "The HEAD operation retrieves metadata from an object without returning the object itself. This operation is useful if you're only interested in an object's metadata. To use HEAD, you must have READ access to the object.",
"documentation_url": "http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectHEAD.html"
},
"ListBuckets": {
"name": "ListBuckets",
"http": {
"method": "GET",
"uri": "/"
},
"input": null,
"output": {
"shape_name": "ListBucketsOutput",
"type": "structure",
"members": {
"Buckets": {
"shape_name": "Buckets",
"type": "list",
"members": {
"shape_name": "Bucket",
"type": "structure",
"members": {
"Name": {
"shape_name": "BucketName",
"type": "string",
"documentation": "The name of the bucket."
},
"CreationDate": {
"shape_name": "CreationDate",
"type": "timestamp",
"documentation": "Date the bucket was created."
}
},
"documentation": null,
"xmlname": "Bucket"
},
"documentation": null
},
"Owner": {
"shape_name": "Owner",
"type": "structure",
"members": {
"DisplayName": {
"shape_name": "DisplayName",
"type": "string",
"documentation": null
},
"ID": {
"shape_name": "ID",
"type": "string",
"documentation": null
}
},
"documentation": null
}
},
"documentation": null
},
"errors": [],
"documentation": "Returns a list of all buckets owned by the authenticated sender of the request.",
"documentation_url": "http://docs.aws.amazon.com/AmazonS3/latest/API/RESTServiceGET.html",
"alias": "GetService"
},
"ListMultipartUploads": {
"name": "ListMultipartUploads",
"http": {
"method": "GET",
"uri": "/{Bucket}?uploads&prefix={Prefix}&delimiter={Delimiter}&max-uploads={MaxUploads}&key-marker={KeyMarker}&upload-id-marker={UploadIdMarker}&encoding-type={EncodingType}"
},
"input": {
"shape_name": "ListMultipartUploadsRequest",
"type": "structure",
"members": {
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
},
"Delimiter": {
"shape_name": "Delimiter",
"type": "string",
"documentation": "Character you use to group keys.",
"location": "uri"
},
"EncodingType": {
"shape_name": "EncodingType",
"type": "string",
"enum": [
"url"
],
"documentation": "Requests Amazon S3 to encode the object keys in the response and specifies the encoding method to use. An object key may contain any Unicode character; however, XML 1.0 parser cannot parse some characters, such as characters with an ASCII value from 0 to 10. For characters that are not supported in XML 1.0, you can add this parameter to request that Amazon S3 encode the keys in the response.",
"location": "uri"
},
"KeyMarker": {
"shape_name": "KeyMarker",
"type": "string",
"documentation": "Together with upload-id-marker, this parameter specifies the multipart upload after which listing should begin.",
"location": "uri"
},
"MaxUploads": {
"shape_name": "MaxUploads",
"type": "integer",
"documentation": "Sets the maximum number of multipart uploads, from 1 to 1,000, to return in the response body. 1,000 is the maximum number of uploads that can be returned in a response.",
"location": "uri"
},
"Prefix": {
"shape_name": "Prefix",
"type": "string",
"documentation": "Lists in-progress uploads only for those keys that begin with the specified prefix.",
"location": "uri"
},
"UploadIdMarker": {
"shape_name": "UploadIdMarker",
"type": "string",
"documentation": "Together with key-marker, specifies the multipart upload after which listing should begin. If key-marker is not specified, the upload-id-marker parameter is ignored.",
"location": "uri"
}
},
"documentation": null
},
"output": {
"shape_name": "ListMultipartUploadsOutput",
"type": "structure",
"members": {
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": "Name of the bucket to which the multipart upload was initiated."
},
"KeyMarker": {
"shape_name": "KeyMarker",
"type": "string",
"documentation": "The key at or after which the listing began."
},
"UploadIdMarker": {
"shape_name": "UploadIdMarker",
"type": "string",
"documentation": "Upload ID after which listing began."
},
"NextKeyMarker": {
"shape_name": "NextKeyMarker",
"type": "string",
"documentation": "When a list is truncated, this element specifies the value that should be used for the key-marker request parameter in a subsequent request."
},
"Prefix": {
"shape_name": "Prefix",
"type": "string",
"documentation": "When a prefix is provided in the request, this field contains the specified prefix. The result contains only keys starting with the specified prefix."
},
"NextUploadIdMarker": {
"shape_name": "NextUploadIdMarker",
"type": "string",
"documentation": "When a list is truncated, this element specifies the value that should be used for the upload-id-marker request parameter in a subsequent request."
},
"MaxUploads": {
"shape_name": "MaxUploads",
"type": "integer",
"documentation": "Maximum number of multipart uploads that could have been included in the response."
},
"IsTruncated": {
"shape_name": "IsTruncated",
"type": "boolean",
"documentation": "Indicates whether the returned list of multipart uploads is truncated. A value of true indicates that the list was truncated. The list can be truncated if the number of multipart uploads exceeds the limit allowed or specified by max uploads."
},
"Uploads": {
"shape_name": "MultipartUploadList",
"type": "list",
"members": {
"shape_name": "MultipartUpload",
"type": "structure",
"members": {
"UploadId": {
"shape_name": "MultipartUploadId",
"type": "string",
"documentation": "Upload ID that identifies the multipart upload."
},
"Key": {
"shape_name": "ObjectKey",
"type": "string",
"documentation": "Key of the object for which the multipart upload was initiated."
},
"Initiated": {
"shape_name": "Initiated",
"type": "timestamp",
"documentation": "Date and time at which the multipart upload was initiated."
},
"StorageClass": {
"shape_name": "StorageClass",
"type": "string",
"enum": [
"STANDARD",
"REDUCED_REDUNDANCY"
],
"documentation": "The class of storage used to store the object."
},
"Owner": {
"shape_name": "Owner",
"type": "structure",
"members": {
"DisplayName": {
"shape_name": "DisplayName",
"type": "string",
"documentation": null
},
"ID": {
"shape_name": "ID",
"type": "string",
"documentation": null
}
},
"documentation": null
},
"Initiator": {
"shape_name": "Initiator",
"type": "structure",
"members": {
"ID": {
"shape_name": "ID",
"type": "string",
"documentation": "If the principal is an AWS account, it provides the Canonical User ID. If the principal is an IAM User, it provides a user ARN value."
},
"DisplayName": {
"shape_name": "DisplayName",
"type": "string",
"documentation": "Name of the Principal."
}
},
"documentation": "Identifies who initiated the multipart upload."
}
},
"documentation": null
},
"flattened": true,
"documentation": null,
"xmlname": "Upload"
},
"CommonPrefixes": {
"shape_name": "CommonPrefixList",
"type": "list",
"members": {
"shape_name": "CommonPrefix",
"type": "structure",
"members": {
"Prefix": {
"shape_name": "Prefix",
"type": "string",
"documentation": null
}
},
"documentation": null
},
"flattened": true,
"documentation": null
},
"EncodingType": {
"shape_name": "EncodingType",
"type": "string",
"enum": [
"url"
],
"documentation": "Encoding type used by Amazon S3 to encode object keys in the response."
}
},
"documentation": null
},
"errors": [],
"documentation": "This operation lists in-progress multipart uploads.",
"documentation_url": "http://docs.aws.amazon.com/AmazonS3/latest/API/mpUploadListMPUpload.html",
"pagination": {
"limit_key": "MaxUploads",
"more_results": "IsTruncated",
"output_token": [
"NextKeyMarker",
"NextUploadIdMarker"
],
"input_token": [
"KeyMarker",
"UploadIdMarker"
],
"result_key": [
"Uploads",
"CommonPrefixes"
],
"py_input_token": [
"key_marker",
"upload_id_marker"
]
}
},
"ListObjectVersions": {
"name": "ListObjectVersions",
"http": {
"method": "GET",
"uri": "/{Bucket}?versions&delimiter={Delimiter}&key-marker={KeyMarker}&max-keys={MaxKeys}&prefix={Prefix}&version-id-marker={VersionIdMarker}&encoding-type={EncodingType}"
},
"input": {
"shape_name": "ListObjectVersionsRequest",
"type": "structure",
"members": {
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
},
"Delimiter": {
"shape_name": "Delimiter",
"type": "string",
"documentation": "A delimiter is a character you use to group keys.",
"location": "uri"
},
"EncodingType": {
"shape_name": "EncodingType",
"type": "string",
"enum": [
"url"
],
"documentation": "Requests Amazon S3 to encode the object keys in the response and specifies the encoding method to use. An object key may contain any Unicode character; however, XML 1.0 parser cannot parse some characters, such as characters with an ASCII value from 0 to 10. For characters that are not supported in XML 1.0, you can add this parameter to request that Amazon S3 encode the keys in the response.",
"location": "uri"
},
"KeyMarker": {
"shape_name": "KeyMarker",
"type": "string",
"documentation": "Specifies the key to start with when listing objects in a bucket.",
"location": "uri"
},
"MaxKeys": {
"shape_name": "MaxKeys",
"type": "integer",
"documentation": "Sets the maximum number of keys returned in the response. The response might contain fewer keys but will never contain more.",
"location": "uri"
},
"Prefix": {
"shape_name": "Prefix",
"type": "string",
"documentation": "Limits the response to keys that begin with the specified prefix.",
"location": "uri"
},
"VersionIdMarker": {
"shape_name": "VersionIdMarker",
"type": "string",
"documentation": "Specifies the object version you want to start listing from.",
"location": "uri"
}
},
"documentation": null
},
"output": {
"shape_name": "ListObjectVersionsOutput",
"type": "structure",
"members": {
"IsTruncated": {
"shape_name": "IsTruncated",
"type": "boolean",
"documentation": "A flag that indicates whether or not Amazon S3 returned all of the results that satisfied the search criteria. If your results were truncated, you can make a follow-up paginated request using the NextKeyMarker and NextVersionIdMarker response parameters as a starting place in another request to return the rest of the results."
},
"KeyMarker": {
"shape_name": "KeyMarker",
"type": "string",
"documentation": "Marks the last Key returned in a truncated response."
},
"VersionIdMarker": {
"shape_name": "VersionIdMarker",
"type": "string",
"documentation": null
},
"NextKeyMarker": {
"shape_name": "NextKeyMarker",
"type": "string",
"documentation": "Use this value for the key marker request parameter in a subsequent request."
},
"NextVersionIdMarker": {
"shape_name": "NextVersionIdMarker",
"type": "string",
"documentation": "Use this value for the next version id marker parameter in a subsequent request."
},
"Versions": {
"shape_name": "ObjectVersionList",
"type": "list",
"members": {
"shape_name": "ObjectVersion",
"type": "structure",
"members": {
"ETag": {
"shape_name": "ETag",
"type": "string",
"documentation": null
},
"Size": {
"shape_name": "Size",
"type": "integer",
"documentation": "Size in bytes of the object."
},
"StorageClass": {
"shape_name": "ObjectVersionStorageClass",
"type": "string",
"enum": [
"STANDARD"
],
"documentation": "The class of storage used to store the object."
},
"Key": {
"shape_name": "ObjectKey",
"type": "string",
"documentation": "The object key."
},
"VersionId": {
"shape_name": "ObjectVersionId",
"type": "string",
"documentation": "Version ID of an object."
},
"IsLatest": {
"shape_name": "IsLatest",
"type": "boolean",
"documentation": "Specifies whether the object is (true) or is not (false) the latest version of an object."
},
"LastModified": {
"shape_name": "LastModified",
"type": "timestamp",
"documentation": "Date and time the object was last modified."
},
"Owner": {
"shape_name": "Owner",
"type": "structure",
"members": {
"DisplayName": {
"shape_name": "DisplayName",
"type": "string",
"documentation": null
},
"ID": {
"shape_name": "ID",
"type": "string",
"documentation": null
}
},
"documentation": null
}
},
"documentation": null
},
"flattened": true,
"documentation": null,
"xmlname": "Version"
},
"DeleteMarkers": {
"shape_name": "DeleteMarkers",
"type": "list",
"members": {
"shape_name": "DeleteMarkerEntry",
"type": "structure",
"members": {
"Owner": {
"shape_name": "Owner",
"type": "structure",
"members": {
"DisplayName": {
"shape_name": "DisplayName",
"type": "string",
"documentation": null
},
"ID": {
"shape_name": "ID",
"type": "string",
"documentation": null
}
},
"documentation": null
},
"Key": {
"shape_name": "ObjectKey",
"type": "string",
"documentation": "The object key."
},
"VersionId": {
"shape_name": "ObjectVersionId",
"type": "string",
"documentation": "Version ID of an object."
},
"IsLatest": {
"shape_name": "IsLatest",
"type": "boolean",
"documentation": "Specifies whether the object is (true) or is not (false) the latest version of an object."
},
"LastModified": {
"shape_name": "LastModified",
"type": "timestamp",
"documentation": "Date and time the object was last modified."
}
},
"documentation": null
},
"flattened": true,
"documentation": null,
"xmlname": "DeleteMarker"
},
"Name": {
"shape_name": "BucketName",
"type": "string",
"documentation": null
},
"Prefix": {
"shape_name": "Prefix",
"type": "string",
"documentation": null
},
"MaxKeys": {
"shape_name": "MaxKeys",
"type": "integer",
"documentation": null
},
"CommonPrefixes": {
"shape_name": "CommonPrefixList",
"type": "list",
"members": {
"shape_name": "CommonPrefix",
"type": "structure",
"members": {
"Prefix": {
"shape_name": "Prefix",
"type": "string",
"documentation": null
}
},
"documentation": null
},
"flattened": true,
"documentation": null
},
"EncodingType": {
"shape_name": "EncodingType",
"type": "string",
"enum": [
"url"
],
"documentation": "Encoding type used by Amazon S3 to encode object keys in the response."
}
},
"documentation": null
},
"errors": [],
"documentation": "Returns metadata about all of the versions of objects in a bucket.",
"documentation_url": "http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGETVersion.html",
"alias": "GetBucketObjectVersions",
"pagination": {
"more_results": "IsTruncated",
"limit_key": "MaxKeys",
"output_token": [
"NextKeyMarker",
"NextVersionIdMarker"
],
"input_token": [
"KeyMarker",
"VersionIdMarker"
],
"result_key": [
"Versions",
"DeleteMarkers",
"CommonPrefixes"
],
"py_input_token": [
"key_marker",
"version_id_marker"
]
}
},
"ListObjects": {
"name": "ListObjects",
"http": {
"method": "GET",
"uri": "/{Bucket}?delimiter={Delimiter}&marker={Marker}&max-keys={MaxKeys}&prefix={Prefix}&encoding-type={EncodingType}"
},
"input": {
"shape_name": "ListObjectsRequest",
"type": "structure",
"members": {
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
},
"Delimiter": {
"shape_name": "Delimiter",
"type": "string",
"documentation": "A delimiter is a character you use to group keys.",
"location": "uri"
},
"EncodingType": {
"shape_name": "EncodingType",
"type": "string",
"enum": [
"url"
],
"documentation": "Requests Amazon S3 to encode the object keys in the response and specifies the encoding method to use. An object key may contain any Unicode character; however, XML 1.0 parser cannot parse some characters, such as characters with an ASCII value from 0 to 10. For characters that are not supported in XML 1.0, you can add this parameter to request that Amazon S3 encode the keys in the response.",
"location": "uri"
},
"Marker": {
"shape_name": "Marker",
"type": "string",
"documentation": "Specifies the key to start with when listing objects in a bucket.",
"location": "uri"
},
"MaxKeys": {
"shape_name": "MaxKeys",
"type": "integer",
"documentation": "Sets the maximum number of keys returned in the response. The response might contain fewer keys but will never contain more.",
"location": "uri"
},
"Prefix": {
"shape_name": "Prefix",
"type": "string",
"documentation": "Limits the response to keys that begin with the specified prefix.",
"location": "uri"
}
},
"documentation": null
},
"output": {
"shape_name": "ListObjectsOutput",
"type": "structure",
"members": {
"IsTruncated": {
"shape_name": "IsTruncated",
"type": "boolean",
"documentation": "A flag that indicates whether or not Amazon S3 returned all of the results that satisfied the search criteria."
},
"Marker": {
"shape_name": "Marker",
"type": "string",
"documentation": null
},
"NextMarker": {
"shape_name": "NextMarker",
"type": "string",
"documentation": "When response is truncated (the IsTruncated element value in the response is true), you can use the key name in this field as marker in the subsequent request to get next set of objects. Amazon S3 lists objects in alphabetical order Note: This element is returned only if you have delimiter request parameter specified. If response does not include the NextMaker and it is truncated, you can use the value of the last Key in the response as the marker in the subsequent request to get the next set of object keys."
},
"Contents": {
"shape_name": "ObjectList",
"type": "list",
"members": {
"shape_name": "Object",
"type": "structure",
"members": {
"Key": {
"shape_name": "ObjectKey",
"type": "string",
"documentation": null
},
"LastModified": {
"shape_name": "LastModified",
"type": "timestamp",
"documentation": null
},
"ETag": {
"shape_name": "ETag",
"type": "string",
"documentation": null
},
"Size": {
"shape_name": "Size",
"type": "integer",
"documentation": null
},
"StorageClass": {
"shape_name": "ObjectStorageClass",
"type": "string",
"enum": [
"STANDARD",
"REDUCED_REDUNDANCY",
"GLACIER"
],
"documentation": "The class of storage used to store the object."
},
"Owner": {
"shape_name": "Owner",
"type": "structure",
"members": {
"DisplayName": {
"shape_name": "DisplayName",
"type": "string",
"documentation": null
},
"ID": {
"shape_name": "ID",
"type": "string",
"documentation": null
}
},
"documentation": null
}
},
"documentation": null
},
"flattened": true,
"documentation": null
},
"Name": {
"shape_name": "BucketName",
"type": "string",
"documentation": null
},
"Prefix": {
"shape_name": "Prefix",
"type": "string",
"documentation": null
},
"MaxKeys": {
"shape_name": "MaxKeys",
"type": "integer",
"documentation": null
},
"CommonPrefixes": {
"shape_name": "CommonPrefixList",
"type": "list",
"members": {
"shape_name": "CommonPrefix",
"type": "structure",
"members": {
"Prefix": {
"shape_name": "Prefix",
"type": "string",
"documentation": null
}
},
"documentation": null
},
"flattened": true,
"documentation": null
},
"EncodingType": {
"shape_name": "EncodingType",
"type": "string",
"enum": [
"url"
],
"documentation": "Encoding type used by Amazon S3 to encode object keys in the response."
}
},
"documentation": null
},
"errors": [
{
"shape_name": "NoSuchBucket",
"type": "structure",
"members": {},
"documentation": "The specified bucket does not exist."
}
],
"documentation": "Returns some or all (up to 1000) of the objects in a bucket. You can use the request parameters as selection criteria to return a subset of the objects in a bucket.",
"documentation_url": "http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGET.html",
"alias": "GetBucket",
"pagination": {
"more_results": "IsTruncated",
"limit_key": "MaxKeys",
"output_token": "NextMarker || Contents[-1].Key",
"input_token": "Marker",
"result_key": [
"Contents",
"CommonPrefixes"
],
"py_input_token": "marker"
}
},
"ListParts": {
"name": "ListParts",
"http": {
"method": "GET",
"uri": "/{Bucket}/{Key}?uploadId={UploadId}&max-parts={MaxParts}&part-number-marker={PartNumberMarker}"
},
"input": {
"shape_name": "ListPartsRequest",
"type": "structure",
"members": {
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
},
"Key": {
"shape_name": "ObjectKey",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
},
"MaxParts": {
"shape_name": "MaxParts",
"type": "integer",
"documentation": "Sets the maximum number of parts to return.",
"location": "uri"
},
"PartNumberMarker": {
"shape_name": "PartNumberMarker",
"type": "integer",
"documentation": "Specifies the part after which listing should begin. Only parts with higher part numbers will be listed.",
"location": "uri"
},
"UploadId": {
"shape_name": "MultipartUploadId",
"type": "string",
"documentation": "Upload ID identifying the multipart upload whose parts are being listed.",
"required": true,
"location": "uri"
}
},
"documentation": null
},
"output": {
"shape_name": "ListPartsOutput",
"type": "structure",
"members": {
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": "Name of the bucket to which the multipart upload was initiated."
},
"Key": {
"shape_name": "ObjectKey",
"type": "string",
"documentation": "Object key for which the multipart upload was initiated."
},
"UploadId": {
"shape_name": "MultipartUploadId",
"type": "string",
"documentation": "Upload ID identifying the multipart upload whose parts are being listed."
},
"PartNumberMarker": {
"shape_name": "PartNumberMarker",
"type": "integer",
"documentation": "Part number after which listing begins."
},
"NextPartNumberMarker": {
"shape_name": "NextPartNumberMarker",
"type": "integer",
"documentation": "When a list is truncated, this element specifies the last part in the list, as well as the value to use for the part-number-marker request parameter in a subsequent request."
},
"MaxParts": {
"shape_name": "MaxParts",
"type": "integer",
"documentation": "Maximum number of parts that were allowed in the response."
},
"IsTruncated": {
"shape_name": "IsTruncated",
"type": "boolean",
"documentation": "Indicates whether the returned list of parts is truncated."
},
"Parts": {
"shape_name": "Parts",
"type": "list",
"members": {
"shape_name": "Part",
"type": "structure",
"members": {
"PartNumber": {
"shape_name": "PartNumber",
"type": "integer",
"documentation": "Part number identifying the part."
},
"LastModified": {
"shape_name": "LastModified",
"type": "timestamp",
"documentation": "Date and time at which the part was uploaded."
},
"ETag": {
"shape_name": "ETag",
"type": "string",
"documentation": "Entity tag returned when the part was uploaded."
},
"Size": {
"shape_name": "Size",
"type": "integer",
"documentation": "Size of the uploaded part data."
}
},
"documentation": null
},
"flattened": true,
"documentation": null,
"xmlname": "Part"
},
"Initiator": {
"shape_name": "Initiator",
"type": "structure",
"members": {
"ID": {
"shape_name": "ID",
"type": "string",
"documentation": "If the principal is an AWS account, it provides the Canonical User ID. If the principal is an IAM User, it provides a user ARN value."
},
"DisplayName": {
"shape_name": "DisplayName",
"type": "string",
"documentation": "Name of the Principal."
}
},
"documentation": "Identifies who initiated the multipart upload."
},
"Owner": {
"shape_name": "Owner",
"type": "structure",
"members": {
"DisplayName": {
"shape_name": "DisplayName",
"type": "string",
"documentation": null
},
"ID": {
"shape_name": "ID",
"type": "string",
"documentation": null
}
},
"documentation": null
},
"StorageClass": {
"shape_name": "StorageClass",
"type": "string",
"enum": [
"STANDARD",
"REDUCED_REDUNDANCY"
],
"documentation": "The class of storage used to store the object."
}
},
"documentation": null
},
"errors": [],
"documentation": "Lists the parts that have been uploaded for a specific multipart upload.",
"documentation_url": "http://docs.aws.amazon.com/AmazonS3/latest/API/mpUploadListParts.html",
"pagination": {
"more_results": "IsTruncated",
"limit_key": "MaxParts",
"output_token": "NextPartNumberMarker",
"input_token": "PartNumberMarker",
"result_key": "Parts",
"non_aggregate_keys": [
"Initiator",
"Owner",
"StorageClass"
],
"py_input_token": "part_number_marker"
}
},
"PutBucketAcl": {
"name": "PutBucketAcl",
"http": {
"method": "PUT",
"uri": "/{Bucket}?acl"
},
"input": {
"shape_name": "PutBucketAclRequest",
"type": "structure",
"members": {
"ACL": {
"shape_name": "BucketCannedACL",
"type": "string",
"enum": [
"private",
"public-read",
"public-read-write",
"authenticated-read"
],
"documentation": "The canned ACL to apply to the bucket.",
"location": "header",
"location_name": "x-amz-acl"
},
"AccessControlPolicy": {
"shape_name": "AccessControlPolicy",
"type": "structure",
"members": {
"Grants": {
"shape_name": "Grants",
"type": "list",
"members": {
"shape_name": "Grant",
"type": "structure",
"members": {
"Grantee": {
"shape_name": "Grantee",
"type": "structure",
"members": {
"DisplayName": {
"shape_name": "DisplayName",
"type": "string",
"documentation": "Screen name of the grantee."
},
"EmailAddress": {
"shape_name": "EmailAddress",
"type": "string",
"documentation": "Email address of the grantee."
},
"ID": {
"shape_name": "ID",
"type": "string",
"documentation": "The canonical user ID of the grantee."
},
"Type": {
"shape_name": "Type",
"type": "string",
"enum": [
"CanonicalUser",
"AmazonCustomerByEmail",
"Group"
],
"documentation": "Type of grantee",
"required": true,
"xmlattribute": true,
"xmlname": "xsi:type"
},
"URI": {
"shape_name": "URI",
"type": "string",
"documentation": "URI of the grantee group."
}
},
"documentation": null,
"xmlnamespace": {
"prefix": "xsi",
"uri": "http://www.w3.org/2001/XMLSchema-instance"
}
},
"Permission": {
"shape_name": "Permission",
"type": "string",
"enum": [
"FULL_CONTROL",
"WRITE",
"WRITE_ACP",
"READ",
"READ_ACP"
],
"documentation": "Specifies the permission given to the grantee."
}
},
"documentation": null,
"xmlname": "Grant"
},
"documentation": "A list of grants.",
"xmlname": "AccessControlList"
},
"Owner": {
"shape_name": "Owner",
"type": "structure",
"members": {
"DisplayName": {
"shape_name": "DisplayName",
"type": "string",
"documentation": null
},
"ID": {
"shape_name": "ID",
"type": "string",
"documentation": null
}
},
"documentation": null
}
},
"documentation": null,
"payload": true
},
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
},
"ContentMD5": {
"shape_name": "ContentMD5",
"type": "string",
"documentation": null,
"location": "header",
"location_name": "Content-MD5"
},
"GrantFullControl": {
"shape_name": "GrantFullControl",
"type": "string",
"documentation": "Allows grantee the read, write, read ACP, and write ACP permissions on the bucket.",
"location": "header",
"location_name": "x-amz-grant-full-control"
},
"GrantRead": {
"shape_name": "GrantRead",
"type": "string",
"documentation": "Allows grantee to list the objects in the bucket.",
"location": "header",
"location_name": "x-amz-grant-read"
},
"GrantReadACP": {
"shape_name": "GrantReadACP",
"type": "string",
"documentation": "Allows grantee to read the bucket ACL.",
"location": "header",
"location_name": "x-amz-grant-read-acp"
},
"GrantWrite": {
"shape_name": "GrantWrite",
"type": "string",
"documentation": "Allows grantee to create, overwrite, and delete any object in the bucket.",
"location": "header",
"location_name": "x-amz-grant-write"
},
"GrantWriteACP": {
"shape_name": "GrantWriteACP",
"type": "string",
"documentation": "Allows grantee to write the ACL for the applicable bucket.",
"location": "header",
"location_name": "x-amz-grant-write-acp"
}
},
"documentation": null
},
"output": null,
"errors": [],
"documentation": "Sets the permissions on a bucket using access control lists (ACL).",
"documentation_url": "http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTacl.html"
},
"PutBucketCors": {
"name": "PutBucketCors",
"http": {
"method": "PUT",
"uri": "/{Bucket}?cors"
},
"input": {
"shape_name": "PutBucketCorsRequest",
"type": "structure",
"members": {
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
},
"CORSConfiguration": {
"shape_name": "CORSConfiguration",
"type": "structure",
"members": {
"CORSRules": {
"shape_name": "CORSRules",
"type": "list",
"members": {
"shape_name": "CORSRule",
"type": "structure",
"members": {
"AllowedHeaders": {
"shape_name": "AllowedHeaders",
"type": "list",
"members": {
"shape_name": "AllowedHeader",
"type": "string",
"documentation": null
},
"flattened": true,
"documentation": "Specifies which headers are allowed in a pre-flight OPTIONS request.",
"xmlname": "AllowedHeader"
},
"AllowedMethods": {
"shape_name": "AllowedMethods",
"type": "list",
"members": {
"shape_name": "AllowedMethod",
"type": "string",
"documentation": null
},
"flattened": true,
"documentation": "Identifies HTTP methods that the domain/origin specified in the rule is allowed to execute.",
"xmlname": "AllowedMethod"
},
"AllowedOrigins": {
"shape_name": "AllowedOrigins",
"type": "list",
"members": {
"shape_name": "AllowedOrigin",
"type": "string",
"documentation": null
},
"flattened": true,
"documentation": "One or more origins you want customers to be able to access the bucket from.",
"xmlname": "AllowedOrigin"
},
"ExposeHeaders": {
"shape_name": "ExposeHeaders",
"type": "list",
"members": {
"shape_name": "ExposeHeader",
"type": "string",
"documentation": null
},
"flattened": true,
"documentation": "One or more headers in the response that you want customers to be able to access from their applications (for example, from a JavaScript XMLHttpRequest object).",
"xmlname": "ExposeHeader"
},
"MaxAgeSeconds": {
"shape_name": "MaxAgeSeconds",
"type": "integer",
"documentation": "The time in seconds that your browser is to cache the preflight response for the specified resource."
}
},
"documentation": null
},
"flattened": true,
"documentation": null,
"xmlname": "CORSRule"
}
},
"documentation": null,
"payload": true
},
"ContentMD5": {
"shape_name": "ContentMD5",
"type": "string",
"documentation": null,
"location": "header",
"location_name": "Content-MD5"
}
},
"documentation": null
},
"output": null,
"errors": [],
"documentation": "Sets the cors configuration for a bucket.",
"documentation_url": "http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTcors.html"
},
"PutBucketLifecycle": {
"name": "PutBucketLifecycle",
"http": {
"method": "PUT",
"uri": "/{Bucket}?lifecycle"
},
"input": {
"shape_name": "PutBucketLifecycleRequest",
"type": "structure",
"members": {
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
},
"ContentMD5": {
"shape_name": "ContentMD5",
"type": "string",
"documentation": null,
"location": "header",
"location_name": "Content-MD5"
},
"LifecycleConfiguration": {
"shape_name": "LifecycleConfiguration",
"type": "structure",
"members": {
"Rules": {
"shape_name": "Rules",
"type": "list",
"members": {
"shape_name": "Rule",
"type": "structure",
"members": {
"Expiration": {
"shape_name": "LifecycleExpiration",
"type": "structure",
"members": {
"Date": {
"shape_name": "Date",
"type": "timestamp",
"documentation": "Indicates at what date the object is to be moved or deleted. Should be in GMT ISO 8601 Format.",
"timestamp_format": "iso8601"
},
"Days": {
"shape_name": "Days",
"type": "integer",
"documentation": "Indicates the lifetime, in days, of the objects that are subject to the rule. The value must be a non-zero positive integer."
}
},
"documentation": null
},
"ID": {
"shape_name": "ID",
"type": "string",
"documentation": "Unique identifier for the rule. The value cannot be longer than 255 characters."
},
"Prefix": {
"shape_name": "Prefix",
"type": "string",
"documentation": "Prefix identifying one or more objects to which the rule applies.",
"required": true
},
"Status": {
"shape_name": "ExpirationStatus",
"type": "string",
"enum": [
"Enabled",
"Disabled"
],
"documentation": "If 'Enabled', the rule is currently being applied. If 'Disabled', the rule is not currently being applied.",
"required": true
},
"Transition": {
"shape_name": "Transition",
"type": "structure",
"members": {
"Date": {
"shape_name": "Date",
"type": "timestamp",
"documentation": "Indicates at what date the object is to be moved or deleted. Should be in GMT ISO 8601 Format.",
"timestamp_format": "iso8601"
},
"Days": {
"shape_name": "Days",
"type": "integer",
"documentation": "Indicates the lifetime, in days, of the objects that are subject to the rule. The value must be a non-zero positive integer."
},
"StorageClass": {
"shape_name": "TransitionStorageClass",
"type": "string",
"enum": [
"GLACIER"
],
"documentation": "The class of storage used to store the object."
}
},
"documentation": null
},
"NoncurrentVersionTransition": {
"shape_name": "NoncurrentVersionTransition",
"type": "structure",
"members": {
"NoncurrentDays": {
"shape_name": "Days",
"type": "integer",
"documentation": "Specifies the number of days an object is noncurrent before Amazon S3 can perform the associated action. For information about the noncurrent days calculations, see <a href=\"/AmazonS3/latest/dev/s3-access-control.html\">How Amazon S3 Calculates When an Object Became Noncurrent</a> in the Amazon Simple Storage Service Developer Guide."
},
"StorageClass": {
"shape_name": "TransitionStorageClass",
"type": "string",
"enum": [
"GLACIER"
],
"documentation": "The class of storage used to store the object."
}
},
"documentation": "Container for the transition rule that describes when noncurrent objects transition to the GLACIER storage class.\n\nIf your bucket is versioning-enabled (or versioning is suspended), you can set this action to request that Amazon S3 transition noncurrent object versions to the GLACIER storage class at a specific period in the object's lifetime."
},
"NoncurrentVersionExpiration": {
"shape_name": "NoncurrentVersionExpiration",
"type": "structure",
"members": {
"NoncurrentDays": {
"shape_name": "Days",
"type": "integer",
"documentation": "Specifies the number of days an object is noncurrent before Amazon S3 can perform the associated action. For information about the noncurrent days calculations, see <a href=\"/AmazonS3/latest/dev/s3-access-control.html\">How Amazon S3 Calculates When an Object Became Noncurrent</a> in the Amazon Simple Storage Service Developer Guide."
}
},
"documentation": "Specifies when noncurrent object versions expire. Upon expiration, Amazon S3 permanently deletes the noncurrent object versions.\n\nYou set this lifecycle configuration action on a bucket that has versioning enabled (or suspended) to request that Amazon S3 delete noncurrent object versions at a specific period in the object's lifetime."
}
},
"documentation": null
},
"flattened": true,
"documentation": null,
"required": true,
"xmlname": "Rule"
}
},
"documentation": null,
"payload": true
}
},
"documentation": null
},
"output": null,
"errors": [],
"documentation": "Sets lifecycle configuration for your bucket. If a lifecycle configuration exists, it replaces it.",
"documentation_url": "http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTlifecycle.html"
},
"PutBucketLogging": {
"name": "PutBucketLogging",
"http": {
"method": "PUT",
"uri": "/{Bucket}?logging"
},
"input": {
"shape_name": "PutBucketLoggingRequest",
"type": "structure",
"members": {
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
},
"BucketLoggingStatus": {
"shape_name": "BucketLoggingStatus",
"type": "structure",
"members": {
"LoggingEnabled": {
"shape_name": "LoggingEnabled",
"type": "structure",
"members": {
"TargetBucket": {
"shape_name": "TargetBucket",
"type": "string",
"documentation": "Specifies the bucket where you want Amazon S3 to store server access logs. You can have your logs delivered to any bucket that you own, including the same bucket that is being logged. You can also configure multiple buckets to deliver their logs to the same target bucket. In this case you should choose a different TargetPrefix for each source bucket so that the delivered log files can be distinguished by key."
},
"TargetGrants": {
"shape_name": "TargetGrants",
"type": "list",
"members": {
"shape_name": "TargetGrant",
"type": "structure",
"members": {
"Grantee": {
"shape_name": "Grantee",
"type": "structure",
"members": {
"DisplayName": {
"shape_name": "DisplayName",
"type": "string",
"documentation": "Screen name of the grantee."
},
"EmailAddress": {
"shape_name": "EmailAddress",
"type": "string",
"documentation": "Email address of the grantee."
},
"ID": {
"shape_name": "ID",
"type": "string",
"documentation": "The canonical user ID of the grantee."
},
"Type": {
"shape_name": "Type",
"type": "string",
"enum": [
"CanonicalUser",
"AmazonCustomerByEmail",
"Group"
],
"documentation": "Type of grantee",
"required": true,
"xmlattribute": true,
"xmlname": "xsi:type"
},
"URI": {
"shape_name": "URI",
"type": "string",
"documentation": "URI of the grantee group."
}
},
"documentation": null,
"xmlnamespace": {
"prefix": "xsi",
"uri": "http://www.w3.org/2001/XMLSchema-instance"
}
},
"Permission": {
"shape_name": "BucketLogsPermission",
"type": "string",
"enum": [
"FULL_CONTROL",
"READ",
"WRITE"
],
"documentation": "Logging permissions assigned to the Grantee for the bucket."
}
},
"documentation": null,
"xmlname": "Grant"
},
"documentation": null
},
"TargetPrefix": {
"shape_name": "TargetPrefix",
"type": "string",
"documentation": "This element lets you specify a prefix for the keys that the log files will be stored under."
}
},
"documentation": null
}
},
"documentation": null,
"required": true,
"payload": true
},
"ContentMD5": {
"shape_name": "ContentMD5",
"type": "string",
"documentation": null,
"location": "header",
"location_name": "Content-MD5"
}
},
"documentation": null
},
"output": null,
"errors": [],
"documentation": "Set the logging parameters for a bucket and to specify permissions for who can view and modify the logging parameters. To set the logging status of a bucket, you must be the bucket owner.",
"documentation_url": "http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTlogging.html"
},
"PutBucketNotification": {
"name": "PutBucketNotification",
"http": {
"method": "PUT",
"uri": "/{Bucket}?notification"
},
"input": {
"shape_name": "PutBucketNotificationRequest",
"type": "structure",
"members": {
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
},
"ContentMD5": {
"shape_name": "ContentMD5",
"type": "string",
"documentation": null,
"location": "header",
"location_name": "Content-MD5"
},
"NotificationConfiguration": {
"shape_name": "NotificationConfiguration",
"type": "structure",
"members": {
"TopicConfiguration": {
"shape_name": "TopicConfiguration",
"type": "structure",
"members": {
"Event": {
"shape_name": "Event",
"type": "string",
"enum": [
"s3:ReducedRedundancyLostObject"
],
"documentation": "Bucket event for which to send notifications."
},
"Topic": {
"shape_name": "Topic",
"type": "string",
"documentation": "Amazon SNS topic to which Amazon S3 will publish a message to report the specified events for the bucket."
}
},
"documentation": null,
"required": true
}
},
"documentation": null,
"required": true,
"payload": true
}
},
"documentation": null
},
"output": null,
"errors": [],
"documentation": "Enables notifications of specified events for a bucket.",
"documentation_url": "http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTnotification.html"
},
"PutBucketPolicy": {
"name": "PutBucketPolicy",
"http": {
"method": "PUT",
"uri": "/{Bucket}?policy"
},
"input": {
"shape_name": "PutBucketPolicyRequest",
"type": "structure",
"members": {
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
},
"ContentMD5": {
"shape_name": "ContentMD5",
"type": "string",
"documentation": null,
"location": "header",
"location_name": "Content-MD5"
},
"Policy": {
"shape_name": "Policy",
"type": "string",
"documentation": "The bucket policy as a JSON document.",
"required": true,
"payload": true
}
},
"documentation": null
},
"output": null,
"errors": [],
"documentation": "Replaces a policy on a bucket. If the bucket already has a policy, the one in this request completely replaces it.",
"documentation_url": "http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTpolicy.html"
},
"PutBucketRequestPayment": {
"name": "PutBucketRequestPayment",
"http": {
"method": "PUT",
"uri": "/{Bucket}?requestPayment"
},
"input": {
"shape_name": "PutBucketRequestPaymentRequest",
"type": "structure",
"members": {
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
},
"ContentMD5": {
"shape_name": "ContentMD5",
"type": "string",
"documentation": null,
"location": "header",
"location_name": "Content-MD5"
},
"RequestPaymentConfiguration": {
"shape_name": "RequestPaymentConfiguration",
"type": "structure",
"members": {
"Payer": {
"shape_name": "Payer",
"type": "string",
"enum": [
"Requester",
"BucketOwner"
],
"documentation": "Specifies who pays for the download and request fees.",
"required": true
}
},
"documentation": null,
"required": true,
"payload": true
}
},
"documentation": null
},
"output": null,
"errors": [],
"documentation": "Sets the request payment configuration for a bucket. By default, the bucket owner pays for downloads from the bucket. This configuration parameter enables the bucket owner (only) to specify that the person requesting the download will be charged for the download.",
"documentation_url": "http://docs.aws.amazon.com/AmazonS3/latest/API/RESTrequestPaymentPUT.html"
},
"PutBucketTagging": {
"name": "PutBucketTagging",
"http": {
"method": "PUT",
"uri": "/{Bucket}?tagging"
},
"input": {
"shape_name": "PutBucketTaggingRequest",
"type": "structure",
"members": {
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
},
"ContentMD5": {
"shape_name": "ContentMD5",
"type": "string",
"documentation": null,
"location": "header",
"location_name": "Content-MD5"
},
"Tagging": {
"shape_name": "Tagging",
"type": "structure",
"members": {
"TagSet": {
"shape_name": "TagSet",
"type": "list",
"members": {
"shape_name": "Tag",
"type": "structure",
"members": {
"Key": {
"shape_name": "ObjectKey",
"type": "string",
"documentation": "Name of the tag.",
"required": true
},
"Value": {
"shape_name": "Value",
"type": "string",
"documentation": "Value of the tag.",
"required": true
}
},
"documentation": null,
"xmlname": "Tag"
},
"documentation": null,
"required": true
}
},
"documentation": null,
"required": true,
"payload": true
}
},
"documentation": null
},
"output": null,
"errors": [],
"documentation": "Sets the tags for a bucket.",
"documentation_url": "http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTtagging.html"
},
"PutBucketVersioning": {
"name": "PutBucketVersioning",
"http": {
"method": "PUT",
"uri": "/{Bucket}?versioning"
},
"input": {
"shape_name": "PutBucketVersioningRequest",
"type": "structure",
"members": {
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
},
"ContentMD5": {
"shape_name": "ContentMD5",
"type": "string",
"documentation": null,
"location": "header",
"location_name": "Content-MD5"
},
"MFA": {
"shape_name": "MFA",
"type": "string",
"documentation": "The concatenation of the authentication device's serial number, a space, and the value that is displayed on your authentication device.",
"location": "header",
"location_name": "x-amz-mfa"
},
"VersioningConfiguration": {
"shape_name": "VersioningConfiguration",
"type": "structure",
"members": {
"Status": {
"shape_name": "BucketVersioningStatus",
"type": "string",
"enum": [
"Enabled",
"Suspended"
],
"documentation": "The versioning state of the bucket."
},
"MfaDelete": {
"shape_name": "MFADelete",
"type": "string",
"enum": [
"Enabled",
"Disabled"
],
"documentation": "Specifies whether MFA delete is enabled in the bucket versioning configuration. This element is only returned if the bucket has been configured with MFA delete. If the bucket has never been so configured, this element is not returned.",
"xmlname": "MfaDelete"
}
},
"documentation": null,
"required": true,
"payload": true
}
},
"documentation": null
},
"output": null,
"errors": [],
"documentation": "Sets the versioning state of an existing bucket. To set the versioning state, you must be the bucket owner.",
"documentation_url": "http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTVersioningStatus.html"
},
"PutBucketWebsite": {
"name": "PutBucketWebsite",
"http": {
"method": "PUT",
"uri": "/{Bucket}?website"
},
"input": {
"shape_name": "PutBucketWebsiteRequest",
"type": "structure",
"members": {
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
},
"ContentMD5": {
"shape_name": "ContentMD5",
"type": "string",
"documentation": null,
"location": "header",
"location_name": "Content-MD5"
},
"WebsiteConfiguration": {
"shape_name": "WebsiteConfiguration",
"type": "structure",
"members": {
"ErrorDocument": {
"shape_name": "ErrorDocument",
"type": "structure",
"members": {
"Key": {
"shape_name": "ObjectKey",
"type": "string",
"documentation": "The object key name to use when a 4XX class error occurs.",
"required": true
}
},
"documentation": null
},
"IndexDocument": {
"shape_name": "IndexDocument",
"type": "structure",
"members": {
"Suffix": {
"shape_name": "Suffix",
"type": "string",
"documentation": "A suffix that is appended to a request that is for a directory on the website endpoint (e.g. if the suffix is index.html and you make a request to samplebucket/images/ the data that is returned will be for the object with the key name images/index.html) The suffix must not be empty and must not include a slash character.",
"required": true
}
},
"documentation": null
},
"RedirectAllRequestsTo": {
"shape_name": "RedirectAllRequestsTo",
"type": "structure",
"members": {
"HostName": {
"shape_name": "HostName",
"type": "string",
"documentation": "Name of the host where requests will be redirected.",
"required": true
},
"Protocol": {
"shape_name": "Protocol",
"type": "string",
"enum": [
"http",
"https"
],
"documentation": "Protocol to use (http, https) when redirecting requests. The default is the protocol that is used in the original request."
}
},
"documentation": null
},
"RoutingRules": {
"shape_name": "RoutingRules",
"type": "list",
"members": {
"shape_name": "RoutingRule",
"type": "structure",
"members": {
"Condition": {
"shape_name": "Condition",
"type": "structure",
"members": {
"HttpErrorCodeReturnedEquals": {
"shape_name": "HttpErrorCodeReturnedEquals",
"type": "string",
"documentation": "The HTTP error code when the redirect is applied. In the event of an error, if the error code equals this value, then the specified redirect is applied. Required when parent element Condition is specified and sibling KeyPrefixEquals is not specified. If both are specified, then both must be true for the redirect to be applied."
},
"KeyPrefixEquals": {
"shape_name": "KeyPrefixEquals",
"type": "string",
"documentation": "The object key name prefix when the redirect is applied. For example, to redirect requests for ExamplePage.html, the key prefix will be ExamplePage.html. To redirect request for all pages with the prefix docs/, the key prefix will be /docs, which identifies all objects in the docs/ folder. Required when the parent element Condition is specified and sibling HttpErrorCodeReturnedEquals is not specified. If both conditions are specified, both must be true for the redirect to be applied."
}
},
"documentation": "A container for describing a condition that must be met for the specified redirect to apply. For example, 1. If request is for pages in the /docs folder, redirect to the /documents folder. 2. If request results in HTTP error 4xx, redirect request to another host where you might process the error."
},
"Redirect": {
"shape_name": "Redirect",
"type": "structure",
"members": {
"HostName": {
"shape_name": "HostName",
"type": "string",
"documentation": "The host name to use in the redirect request."
},
"HttpRedirectCode": {
"shape_name": "HttpRedirectCode",
"type": "string",
"documentation": "The HTTP redirect code to use on the response. Not required if one of the siblings is present."
},
"Protocol": {
"shape_name": "Protocol",
"type": "string",
"enum": [
"http",
"https"
],
"documentation": "Protocol to use (http, https) when redirecting requests. The default is the protocol that is used in the original request."
},
"ReplaceKeyPrefixWith": {
"shape_name": "ReplaceKeyPrefixWith",
"type": "string",
"documentation": "The object key prefix to use in the redirect request. For example, to redirect requests for all pages with prefix docs/ (objects in the docs/ folder) to documents/, you can set a condition block with KeyPrefixEquals set to docs/ and in the Redirect set ReplaceKeyPrefixWith to /documents. Not required if one of the siblings is present. Can be present only if ReplaceKeyWith is not provided."
},
"ReplaceKeyWith": {
"shape_name": "ReplaceKeyWith",
"type": "string",
"documentation": "The specific object key to use in the redirect request. For example, redirect request to error.html. Not required if one of the sibling is present. Can be present only if ReplaceKeyPrefixWith is not provided."
}
},
"documentation": "Container for redirect information. You can redirect requests to another host, to another page, or with another protocol. In the event of an error, you can can specify a different error code to return.",
"required": true
}
},
"documentation": null,
"xmlname": "RoutingRule"
},
"documentation": null
}
},
"documentation": null,
"required": true,
"payload": true
}
},
"documentation": null
},
"output": null,
"errors": [],
"documentation": "Set the website configuration for a bucket.",
"documentation_url": "http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTwebsite.html"
},
"PutObject": {
"name": "PutObject",
"http": {
"method": "PUT",
"uri": "/{Bucket}/{Key}"
},
"input": {
"shape_name": "PutObjectRequest",
"type": "structure",
"members": {
"ACL": {
"shape_name": "ObjectCannedACL",
"type": "string",
"enum": [
"private",
"public-read",
"public-read-write",
"authenticated-read",
"bucket-owner-read",
"bucket-owner-full-control"
],
"documentation": "The canned ACL to apply to the object.",
"location": "header",
"location_name": "x-amz-acl"
},
"Body": {
"shape_name": "Body",
"type": "blob",
"documentation": null,
"payload": true,
"streaming": true
},
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
},
"CacheControl": {
"shape_name": "CacheControl",
"type": "string",
"documentation": "Specifies caching behavior along the request/reply chain.",
"location": "header",
"location_name": "Cache-Control"
},
"ContentDisposition": {
"shape_name": "ContentDisposition",
"type": "string",
"documentation": "Specifies presentational information for the object.",
"location": "header",
"location_name": "Content-Disposition"
},
"ContentEncoding": {
"shape_name": "ContentEncoding",
"type": "string",
"documentation": "Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field.",
"location": "header",
"location_name": "Content-Encoding"
},
"ContentLanguage": {
"shape_name": "ContentLanguage",
"type": "string",
"documentation": "The language the content is in.",
"location": "header",
"location_name": "Content-Language"
},
"ContentLength": {
"shape_name": "ContentLength",
"type": "integer",
"documentation": "Size of the body in bytes. This parameter is useful when the size of the body cannot be determined automatically.",
"location": "header",
"location_name": "Content-Length"
},
"ContentMD5": {
"shape_name": "ContentMD5",
"type": "string",
"documentation": null,
"location": "header",
"location_name": "Content-MD5"
},
"ContentType": {
"shape_name": "ContentType",
"type": "string",
"documentation": "A standard MIME type describing the format of the object data.",
"location": "header",
"location_name": "Content-Type"
},
"Expires": {
"shape_name": "Expires",
"type": "timestamp",
"documentation": "The date and time at which the object is no longer cacheable.",
"location": "header",
"location_name": "Expires"
},
"GrantFullControl": {
"shape_name": "GrantFullControl",
"type": "string",
"documentation": "Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object.",
"location": "header",
"location_name": "x-amz-grant-full-control"
},
"GrantRead": {
"shape_name": "GrantRead",
"type": "string",
"documentation": "Allows grantee to read the object data and its metadata.",
"location": "header",
"location_name": "x-amz-grant-read"
},
"GrantReadACP": {
"shape_name": "GrantReadACP",
"type": "string",
"documentation": "Allows grantee to read the object ACL.",
"location": "header",
"location_name": "x-amz-grant-read-acp"
},
"GrantWriteACP": {
"shape_name": "GrantWriteACP",
"type": "string",
"documentation": "Allows grantee to write the ACL for the applicable object.",
"location": "header",
"location_name": "x-amz-grant-write-acp"
},
"Key": {
"shape_name": "ObjectKey",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
},
"Metadata": {
"type": "map",
"location": "header",
"location_name": "x-amz-meta-",
"keys": {
"type": "string",
"documentation": "The metadata key. This will be prefixed with x-amz-meta- before sending to S3 as a header. The x-amz-meta- header will be stripped from the key when retrieving headers."
},
"members": {
"type": "string",
"documentation": "The metadata value."
},
"documentation": "A map of metadata to store with the object in S3."
},
"ServerSideEncryption": {
"shape_name": "ServerSideEncryption",
"type": "string",
"enum": [
"AES256"
],
"documentation": "The Server-side encryption algorithm used when storing this object in S3.",
"location": "header",
"location_name": "x-amz-server-side-encryption"
},
"StorageClass": {
"shape_name": "StorageClass",
"type": "string",
"enum": [
"STANDARD",
"REDUCED_REDUNDANCY"
],
"documentation": "The type of storage to use for the object. Defaults to 'STANDARD'.",
"location": "header",
"location_name": "x-amz-storage-class"
},
"WebsiteRedirectLocation": {
"shape_name": "WebsiteRedirectLocation",
"type": "string",
"documentation": "If the bucket is configured as a website, redirects requests for this object to another object in the same bucket or to an external URL. Amazon S3 stores the value of this header in the object metadata.",
"location": "header",
"location_name": "x-amz-website-redirect-location",
"no_paramfile": true
},
"SSECustomerAlgorithm": {
"shape_name": "SSECustomerAlgorithm",
"type": "string",
"documentation": "Specifies the algorithm to use to when encrypting the object (e.g., AES256).",
"location": "header",
"location_name": "x-amz-server-side-encryption-customer-algorithm"
},
"SSECustomerKey": {
"shape_name": "SSECustomerKey",
"type": "string",
"documentation": "Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This value is used to store the object and then it is discarded; Amazon does not store the encryption key. The key must be appropriate for use with the algorithm specified in the x-amz-server-side&#x200B;-encryption&#x200B;-customer-algorithm header.",
"location": "header",
"location_name": "x-amz-server-side-encryption-customer-key"
},
"SSECustomerKeyMD5": {
"shape_name": "SSECustomerKeyMD5",
"type": "string",
"documentation": "Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this header for a message integrity check to ensure the encryption key was transmitted without error.",
"location": "header",
"location_name": "x-amz-server-side-encryption-customer-key-MD5"
}
},
"documentation": null
},
"output": {
"shape_name": "PutObjectOutput",
"type": "structure",
"members": {
"Expiration": {
"shape_name": "Expiration",
"type": "timestamp",
"documentation": "If the object expiration is configured, this will contain the expiration date (expiry-date) and rule ID (rule-id). The value of rule-id is URL encoded.",
"location": "header",
"location_name": "x-amz-expiration"
},
"ETag": {
"shape_name": "ETag",
"type": "string",
"documentation": "Entity tag for the uploaded object.",
"location": "header",
"location_name": "ETag"
},
"ServerSideEncryption": {
"shape_name": "ServerSideEncryption",
"type": "string",
"enum": [
"AES256"
],
"documentation": "The Server-side encryption algorithm used when storing this object in S3.",
"location": "header",
"location_name": "x-amz-server-side-encryption"
},
"VersionId": {
"shape_name": "ObjectVersionId",
"type": "string",
"documentation": "Version of the object.",
"location": "header",
"location_name": "x-amz-version-id"
},
"SSECustomerAlgorithm": {
"shape_name": "SSECustomerAlgorithm",
"type": "string",
"documentation": "If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used.",
"location": "header",
"location_name": "x-amz-server-side-encryption-customer-algorithm"
},
"SSECustomerKeyMD5": {
"shape_name": "SSECustomerKeyMD5",
"type": "string",
"documentation": "If server-side encryption with a customer-provided encryption key was requested, the response will include this header to provide round trip message integrity verification of the customer-provided encryption key.",
"location": "header",
"location_name": "x-amz-server-side-encryption-customer-key-MD5"
}
},
"documentation": null
},
"errors": [],
"documentation": "Adds an object to a bucket.",
"documentation_url": "http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPUT.html"
},
"PutObjectAcl": {
"name": "PutObjectAcl",
"http": {
"method": "PUT",
"uri": "/{Bucket}/{Key}?acl"
},
"input": {
"shape_name": "PutObjectAclRequest",
"type": "structure",
"members": {
"ACL": {
"shape_name": "ObjectCannedACL",
"type": "string",
"enum": [
"private",
"public-read",
"public-read-write",
"authenticated-read",
"bucket-owner-read",
"bucket-owner-full-control"
],
"documentation": "The canned ACL to apply to the object.",
"location": "header",
"location_name": "x-amz-acl"
},
"AccessControlPolicy": {
"shape_name": "AccessControlPolicy",
"type": "structure",
"members": {
"Grants": {
"shape_name": "Grants",
"type": "list",
"members": {
"shape_name": "Grant",
"type": "structure",
"members": {
"Grantee": {
"shape_name": "Grantee",
"type": "structure",
"members": {
"DisplayName": {
"shape_name": "DisplayName",
"type": "string",
"documentation": "Screen name of the grantee."
},
"EmailAddress": {
"shape_name": "EmailAddress",
"type": "string",
"documentation": "Email address of the grantee."
},
"ID": {
"shape_name": "ID",
"type": "string",
"documentation": "The canonical user ID of the grantee."
},
"Type": {
"shape_name": "Type",
"type": "string",
"enum": [
"CanonicalUser",
"AmazonCustomerByEmail",
"Group"
],
"documentation": "Type of grantee",
"required": true,
"xmlattribute": true,
"xmlname": "xsi:type"
},
"URI": {
"shape_name": "URI",
"type": "string",
"documentation": "URI of the grantee group."
}
},
"documentation": null,
"xmlnamespace": {
"prefix": "xsi",
"uri": "http://www.w3.org/2001/XMLSchema-instance"
}
},
"Permission": {
"shape_name": "Permission",
"type": "string",
"enum": [
"FULL_CONTROL",
"WRITE",
"WRITE_ACP",
"READ",
"READ_ACP"
],
"documentation": "Specifies the permission given to the grantee."
}
},
"documentation": null,
"xmlname": "Grant"
},
"documentation": "A list of grants.",
"xmlname": "AccessControlList"
},
"Owner": {
"shape_name": "Owner",
"type": "structure",
"members": {
"DisplayName": {
"shape_name": "DisplayName",
"type": "string",
"documentation": null
},
"ID": {
"shape_name": "ID",
"type": "string",
"documentation": null
}
},
"documentation": null
}
},
"documentation": null,
"payload": true
},
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
},
"ContentMD5": {
"shape_name": "ContentMD5",
"type": "string",
"documentation": null,
"location": "header",
"location_name": "Content-MD5"
},
"GrantFullControl": {
"shape_name": "GrantFullControl",
"type": "string",
"documentation": "Allows grantee the read, write, read ACP, and write ACP permissions on the bucket.",
"location": "header",
"location_name": "x-amz-grant-full-control"
},
"GrantRead": {
"shape_name": "GrantRead",
"type": "string",
"documentation": "Allows grantee to list the objects in the bucket.",
"location": "header",
"location_name": "x-amz-grant-read"
},
"GrantReadACP": {
"shape_name": "GrantReadACP",
"type": "string",
"documentation": "Allows grantee to read the bucket ACL.",
"location": "header",
"location_name": "x-amz-grant-read-acp"
},
"GrantWrite": {
"shape_name": "GrantWrite",
"type": "string",
"documentation": "Allows grantee to create, overwrite, and delete any object in the bucket.",
"location": "header",
"location_name": "x-amz-grant-write"
},
"GrantWriteACP": {
"shape_name": "GrantWriteACP",
"type": "string",
"documentation": "Allows grantee to write the ACL for the applicable bucket.",
"location": "header",
"location_name": "x-amz-grant-write-acp"
},
"Key": {
"shape_name": "ObjectKey",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
}
},
"documentation": null
},
"output": null,
"errors": [
{
"shape_name": "NoSuchKey",
"type": "structure",
"members": {},
"documentation": "The specified key does not exist."
}
],
"documentation": "uses the acl subresource to set the access control list (ACL) permissions for an object that already exists in a bucket",
"documentation_url": "http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPUTacl.html"
},
"RestoreObject": {
"name": "RestoreObject",
"http": {
"method": "POST",
"uri": "/{Bucket}/{Key}?restore&versionId={VersionId}"
},
"input": {
"shape_name": "RestoreObjectRequest",
"type": "structure",
"members": {
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
},
"Key": {
"shape_name": "ObjectKey",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
},
"VersionId": {
"shape_name": "ObjectVersionId",
"type": "string",
"documentation": null,
"location": "uri"
},
"RestoreRequest": {
"shape_name": "RestoreRequest",
"type": "structure",
"members": {
"Days": {
"shape_name": "Days",
"type": "integer",
"documentation": "Lifetime of the active copy in days",
"required": true
}
},
"documentation": null,
"payload": true
}
},
"documentation": null
},
"output": null,
"errors": [
{
"shape_name": "ObjectAlreadyInActiveTierError",
"type": "structure",
"members": {},
"documentation": "This operation is not allowed against this storage tier"
}
],
"documentation": "Restores an archived copy of an object back into Amazon S3",
"documentation_url": "http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectRestore.html",
"alias": "PostObjectRestore"
},
"UploadPart": {
"name": "UploadPart",
"http": {
"method": "PUT",
"uri": "/{Bucket}/{Key}?partNumber={PartNumber}&uploadId={UploadId}"
},
"input": {
"shape_name": "UploadPartRequest",
"type": "structure",
"members": {
"Body": {
"shape_name": "Body",
"type": "blob",
"documentation": null,
"payload": true,
"streaming": true
},
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
},
"ContentLength": {
"shape_name": "ContentLength",
"type": "integer",
"documentation": "Size of the body in bytes. This parameter is useful when the size of the body cannot be determined automatically.",
"location": "header",
"location_name": "Content-Length"
},
"ContentMD5": {
"shape_name": "ContentMD5",
"type": "string",
"documentation": null,
"location": "header",
"location_name": "Content-MD5"
},
"Key": {
"shape_name": "ObjectKey",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
},
"PartNumber": {
"shape_name": "PartNumber",
"type": "integer",
"documentation": "Part number of part being uploaded.",
"required": true,
"location": "uri"
},
"UploadId": {
"shape_name": "MultipartUploadId",
"type": "string",
"documentation": "Upload ID identifying the multipart upload whose part is being uploaded.",
"required": true,
"location": "uri"
},
"SSECustomerAlgorithm": {
"shape_name": "SSECustomerAlgorithm",
"type": "string",
"documentation": "Specifies the algorithm to use to when encrypting the object (e.g., AES256).",
"location": "header",
"location_name": "x-amz-server-side-encryption-customer-algorithm"
},
"SSECustomerKey": {
"shape_name": "SSECustomerKey",
"type": "string",
"documentation": "Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This value is used to store the object and then it is discarded; Amazon does not store the encryption key. The key must be appropriate for use with the algorithm specified in the x-amz-server-side&#x200B;-encryption&#x200B;-customer-algorithm header. This must be the same encryption key specified in the initiate multipart upload request.",
"location": "header",
"location_name": "x-amz-server-side-encryption-customer-key"
},
"SSECustomerKeyMD5": {
"shape_name": "SSECustomerKeyMD5",
"type": "string",
"documentation": "Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this header for a message integrity check to ensure the encryption key was transmitted without error.",
"location": "header",
"location_name": "x-amz-server-side-encryption-customer-key-MD5"
}
},
"documentation": null
},
"output": {
"shape_name": "UploadPartOutput",
"type": "structure",
"members": {
"ServerSideEncryption": {
"shape_name": "ServerSideEncryption",
"type": "string",
"enum": [
"AES256"
],
"documentation": "The Server-side encryption algorithm used when storing this object in S3.",
"location": "header",
"location_name": "x-amz-server-side-encryption"
},
"ETag": {
"shape_name": "ETag",
"type": "string",
"documentation": "Entity tag for the uploaded object.",
"location": "header",
"location_name": "ETag"
},
"SSECustomerAlgorithm": {
"shape_name": "SSECustomerAlgorithm",
"type": "string",
"documentation": "If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used.",
"location": "header",
"location_name": "x-amz-server-side-encryption-customer-algorithm"
},
"SSECustomerKeyMD5": {
"shape_name": "SSECustomerKeyMD5",
"type": "string",
"documentation": "If server-side encryption with a customer-provided encryption key was requested, the response will include this header to provide round trip message integrity verification of the customer-provided encryption key.",
"location": "header",
"location_name": "x-amz-server-side-encryption-customer-key-MD5"
}
},
"documentation": null
},
"errors": [],
"documentation": "<p>Uploads a part in a multipart upload.</p>\n<p><b>Note:</b> After you initiate multipart upload and upload one or more parts, you must either complete or abort multipart upload in order to stop getting charged for storage of the uploaded parts. Only after you either complete or abort multipart upload, Amazon S3 frees up the parts storage and stops charging you for the parts storage.</p>",
"documentation_url": "http://docs.aws.amazon.com/AmazonS3/latest/API/mpUploadUploadPart.html"
},
"UploadPartCopy": {
"name": "UploadPartCopy",
"http": {
"method": "PUT",
"uri": "/{Bucket}/{Key}?partNumber={PartNumber}&uploadId={UploadId}"
},
"input": {
"shape_name": "UploadPartCopyRequest",
"type": "structure",
"members": {
"Bucket": {
"shape_name": "BucketName",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
},
"CopySource": {
"shape_name": "CopySource",
"type": "string",
"pattern": "\\/.+\\/.+",
"documentation": "The name of the source bucket and key name of the source object, separated by a slash (/). Must be URL-encoded.",
"required": true,
"location": "header",
"location_name": "x-amz-copy-source"
},
"CopySourceIfMatch": {
"shape_name": "CopySourceIfMatch",
"type": "string",
"documentation": "Copies the object if its entity tag (ETag) matches the specified tag.",
"location": "header",
"location_name": "x-amz-copy-source-if-match"
},
"CopySourceIfModifiedSince": {
"shape_name": "CopySourceIfModifiedSince",
"type": "timestamp",
"documentation": "Copies the object if it has been modified since the specified time.",
"location": "header",
"location_name": "x-amz-copy-source-if-modified-since"
},
"CopySourceIfNoneMatch": {
"shape_name": "CopySourceIfNoneMatch",
"type": "string",
"documentation": "Copies the object if its entity tag (ETag) is different than the specified ETag.",
"location": "header",
"location_name": "x-amz-copy-source-if-none-match"
},
"CopySourceIfUnmodifiedSince": {
"shape_name": "CopySourceIfUnmodifiedSince",
"type": "timestamp",
"documentation": "Copies the object if it hasn't been modified since the specified time.",
"location": "header",
"location_name": "x-amz-copy-source-if-unmodified-since"
},
"CopySourceRange": {
"shape_name": "CopySourceRange",
"type": "string",
"documentation": "The range of bytes to copy from the source object. The range value must use the form bytes=first-last, where the first and last are the zero-based byte offsets to copy. For example, bytes=0-9 indicates that you want to copy the first ten bytes of the source. You can copy a range only if the source object is greater than 5 GB.",
"location": "header",
"location_name": "x-amz-copy-source-range"
},
"Key": {
"shape_name": "ObjectKey",
"type": "string",
"documentation": null,
"required": true,
"location": "uri"
},
"PartNumber": {
"shape_name": "PartNumber",
"type": "integer",
"documentation": "Part number of part being copied.",
"required": true,
"location": "uri"
},
"UploadId": {
"shape_name": "MultipartUploadId",
"type": "string",
"documentation": "Upload ID identifying the multipart upload whose part is being copied.",
"required": true,
"location": "uri"
},
"SSECustomerAlgorithm": {
"shape_name": "SSECustomerAlgorithm",
"type": "string",
"documentation": "Specifies the algorithm to use to when encrypting the object (e.g., AES256).",
"location": "header",
"location_name": "x-amz-server-side-encryption-customer-algorithm"
},
"SSECustomerKey": {
"shape_name": "SSECustomerKey",
"type": "string",
"documentation": "Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This value is used to store the object and then it is discarded; Amazon does not store the encryption key. The key must be appropriate for use with the algorithm specified in the x-amz-server-side&#x200B;-encryption&#x200B;-customer-algorithm header. This must be the same encryption key specified in the initiate multipart upload request.",
"location": "header",
"location_name": "x-amz-server-side-encryption-customer-key"
},
"SSECustomerKeyMD5": {
"shape_name": "SSECustomerKeyMD5",
"type": "string",
"documentation": "Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this header for a message integrity check to ensure the encryption key was transmitted without error.",
"location": "header",
"location_name": "x-amz-server-side-encryption-customer-key-MD5"
},
"CopySourceSSECustomerAlgorithm": {
"shape_name": "CopySourceSSECustomerAlgorithm",
"type": "string",
"documentation": "Specifies the algorithm to use when decrypting the source object (e.g., AES256).",
"location": "header",
"location_name": "x-amz-copy-source-server-side-encryption-customer-algorithm"
},
"CopySourceSSECustomerKey": {
"shape_name": "CopySourceSSECustomerKey",
"type": "string",
"documentation": "Specifies the customer-provided encryption key for Amazon S3 to use to decrypt the source object. The encryption key provided in this header must be one that was used when the source object was created.",
"location": "header",
"location_name": "x-amz-copy-source-server-side-encryption-customer-key"
},
"CopySourceSSECustomerKeyMD5": {
"shape_name": "CopySourceSSECustomerKeyMD5",
"type": "string",
"documentation": "Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this header for a message integrity check to ensure the encryption key was transmitted without error.",
"location": "header",
"location_name": "x-amz-copy-source-server-side-encryption-customer-key-MD5"
}
},
"documentation": null
},
"output": {
"shape_name": "UploadPartCopyOutput",
"type": "structure",
"members": {
"CopySourceVersionId": {
"shape_name": "CopySourceVersionId",
"type": "string",
"documentation": "The version of the source object that was copied, if you have enabled versioning on the source bucket.",
"location": "header",
"location_name": "x-amz-copy-source-version-id"
},
"CopyPartResult": {
"shape_name": "CopyPartResult",
"type": "structure",
"members": {
"ETag": {
"shape_name": "ETag",
"type": "string",
"documentation": "Entity tag of the object."
},
"LastModified": {
"shape_name": "LastModified",
"type": "timestamp",
"documentation": "Date and time at which the object was uploaded."
}
},
"documentation": null,
"payload": true
},
"ServerSideEncryption": {
"shape_name": "ServerSideEncryption",
"type": "string",
"enum": [
"AES256"
],
"documentation": "The Server-side encryption algorithm used when storing this object in S3.",
"location": "header",
"location_name": "x-amz-server-side-encryption"
},
"SSECustomerAlgorithm": {
"shape_name": "SSECustomerAlgorithm",
"type": "string",
"documentation": "If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used.",
"location": "header",
"location_name": "x-amz-server-side-encryption-customer-algorithm"
},
"SSECustomerKeyMD5": {
"shape_name": "SSECustomerKeyMD5",
"type": "string",
"documentation": "If server-side encryption with a customer-provided encryption key was requested, the response will include this header to provide round trip message integrity verification of the customer-provided encryption key.",
"location": "header",
"location_name": "x-amz-server-side-encryption-customer-key-MD5"
}
},
"documentation": null
},
"errors": [],
"documentation": "Uploads a part by copying data from an existing object as data source.",
"documentation_url": "http://docs.aws.amazon.com/AmazonS3/latest/API/mpUploadUploadPartCopy.html"
}
},
"pagination": {
"ListMultipartUploads": {
"limit_key": "MaxUploads",
"more_results": "IsTruncated",
"output_token": [
"NextKeyMarker",
"NextUploadIdMarker"
],
"input_token": [
"KeyMarker",
"UploadIdMarker"
],
"result_key": [
"Uploads",
"CommonPrefixes"
],
"py_input_token": [
"key_marker",
"upload_id_marker"
]
},
"ListObjectVersions": {
"more_results": "IsTruncated",
"limit_key": "MaxKeys",
"output_token": [
"NextKeyMarker",
"NextVersionIdMarker"
],
"input_token": [
"KeyMarker",
"VersionIdMarker"
],
"result_key": [
"Versions",
"DeleteMarkers",
"CommonPrefixes"
],
"py_input_token": [
"key_marker",
"version_id_marker"
]
},
"ListObjects": {
"more_results": "IsTruncated",
"limit_key": "MaxKeys",
"output_token": "NextMarker || Contents[-1].Key",
"input_token": "Marker",
"result_key": [
"Contents",
"CommonPrefixes"
],
"py_input_token": "marker"
},
"ListParts": {
"more_results": "IsTruncated",
"limit_key": "MaxParts",
"output_token": "NextPartNumberMarker",
"input_token": "PartNumberMarker",
"result_key": "Parts",
"non_aggregate_keys": [
"Initiator",
"Owner",
"StorageClass"
],
"py_input_token": "part_number_marker"
}
},
"waiters": {
"ObjectExists": {
"success": {
"type": "output"
},
"interval": 5,
"ignore_errors": [
"NoSuchKey"
],
"operation": "HeadObject",
"max_attempts": 20
},
"BucketNotExists": {
"success": {
"type": "error",
"value": [
"NoSuchBucket"
]
},
"interval": 5,
"operation": "HeadBucket",
"max_attempts": 20
},
"BucketExists": {
"success": {
"type": "output"
},
"interval": 5,
"ignore_errors": [
"NoSuchBucket"
],
"operation": "HeadBucket",
"max_attempts": 20
}
},
"retry": {
"__default__": {
"max_attempts": 5,
"delay": {
"type": "exponential",
"base": "rand",
"growth_factor": 2
},
"policies": {
"general_socket_errors": {
"applies_when": {
"socket_errors": [
"GENERAL_CONNECTION_ERROR"
]
}
},
"general_server_error": {
"applies_when": {
"response": {
"http_status_code": 500
}
}
},
"service_unavailable": {
"applies_when": {
"response": {
"http_status_code": 503
}
}
},
"limit_exceeded": {
"applies_when": {
"response": {
"http_status_code": 509
}
}
},
"timeouts": {
"applies_when": {
"response": {
"http_status_code": 400,
"service_error_code": "RequestTimeout"
}
}
}
}
}
}
}