UNPKG

universal-s3

Version:

Universal S3 SDK for JavaScript, available for Node.js backends

1,956 lines (1,955 loc) 142 kB
{ "version": "2.0", "metadata": { "apiVersion": "2006-03-01", "checksumFormat": "md5", "endpointPrefix": "s3", "globalEndpoint": "s3.amazonaws.com", "protocol": "rest-xml", "serviceAbbreviation": "Amazon S3", "serviceFullName": "Amazon Simple Storage Service", "serviceId": "S3", "signatureVersion": "s3", "uid": "s3-2006-03-01" }, "operations": { "AbortMultipartUpload": { "http": { "method": "DELETE", "requestUri": "/{Bucket}/{Key+}", "responseCode": 204 }, "input": { "type": "structure", "required": [ "Bucket", "Key", "UploadId" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "Key": { "location": "uri", "locationName": "Key" }, "UploadId": { "location": "querystring", "locationName": "uploadId" }, "RequestPayer": { "location": "header", "locationName": "x-amz-request-payer" } } }, "output": { "type": "structure", "members": { "RequestCharged": { "location": "header", "locationName": "x-amz-request-charged" } } } }, "CompleteMultipartUpload": { "http": { "requestUri": "/{Bucket}/{Key+}" }, "input": { "type": "structure", "required": [ "Bucket", "Key", "UploadId" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "Key": { "location": "uri", "locationName": "Key" }, "MultipartUpload": { "locationName": "CompleteMultipartUpload", "xmlNamespace": { "uri": "http://s3.amazonaws.com/doc/2006-03-01/" }, "type": "structure", "members": { "Parts": { "locationName": "Part", "type": "list", "member": { "type": "structure", "members": { "ETag": {}, "PartNumber": { "type": "integer" } } }, "flattened": true } } }, "UploadId": { "location": "querystring", "locationName": "uploadId" }, "RequestPayer": { "location": "header", "locationName": "x-amz-request-payer" } }, "payload": "MultipartUpload" }, "output": { "type": "structure", "members": { "Location": {}, "Bucket": {}, "Key": {}, "Expiration": { "location": "header", "locationName": "x-amz-expiration" }, "ETag": {}, "ServerSideEncryption": { "location": "header", "locationName": "x-amz-server-side-encryption" }, "VersionId": { "location": "header", "locationName": "x-amz-version-id" }, "SSEKMSKeyId": { "shape": "Sj", "location": "header", "locationName": "x-amz-server-side-encryption-aws-kms-key-id" }, "RequestCharged": { "location": "header", "locationName": "x-amz-request-charged" } } } }, "CopyObject": { "http": { "method": "PUT", "requestUri": "/{Bucket}/{Key+}" }, "input": { "type": "structure", "required": [ "Bucket", "CopySource", "Key" ], "members": { "ACL": { "location": "header", "locationName": "x-amz-acl" }, "Bucket": { "location": "uri", "locationName": "Bucket" }, "CacheControl": { "location": "header", "locationName": "Cache-Control" }, "ContentDisposition": { "location": "header", "locationName": "Content-Disposition" }, "ContentEncoding": { "location": "header", "locationName": "Content-Encoding" }, "ContentLanguage": { "location": "header", "locationName": "Content-Language" }, "ContentType": { "location": "header", "locationName": "Content-Type" }, "CopySource": { "location": "header", "locationName": "x-amz-copy-source" }, "CopySourceIfMatch": { "location": "header", "locationName": "x-amz-copy-source-if-match" }, "CopySourceIfModifiedSince": { "location": "header", "locationName": "x-amz-copy-source-if-modified-since", "type": "timestamp" }, "CopySourceIfNoneMatch": { "location": "header", "locationName": "x-amz-copy-source-if-none-match" }, "CopySourceIfUnmodifiedSince": { "location": "header", "locationName": "x-amz-copy-source-if-unmodified-since", "type": "timestamp" }, "Expires": { "location": "header", "locationName": "Expires", "type": "timestamp" }, "GrantFullControl": { "location": "header", "locationName": "x-amz-grant-full-control" }, "GrantRead": { "location": "header", "locationName": "x-amz-grant-read" }, "GrantReadACP": { "location": "header", "locationName": "x-amz-grant-read-acp" }, "GrantWriteACP": { "location": "header", "locationName": "x-amz-grant-write-acp" }, "Key": { "location": "uri", "locationName": "Key" }, "Metadata": { "shape": "S11", "location": "headers", "locationName": "x-amz-meta-" }, "MetadataDirective": { "location": "header", "locationName": "x-amz-metadata-directive" }, "TaggingDirective": { "location": "header", "locationName": "x-amz-tagging-directive" }, "ServerSideEncryption": { "location": "header", "locationName": "x-amz-server-side-encryption" }, "StorageClass": { "location": "header", "locationName": "x-amz-storage-class" }, "WebsiteRedirectLocation": { "location": "header", "locationName": "x-amz-website-redirect-location" }, "SSECustomerAlgorithm": { "location": "header", "locationName": "x-amz-server-side-encryption-customer-algorithm" }, "SSECustomerKey": { "shape": "S19", "location": "header", "locationName": "x-amz-server-side-encryption-customer-key" }, "SSECustomerKeyMD5": { "location": "header", "locationName": "x-amz-server-side-encryption-customer-key-MD5" }, "SSEKMSKeyId": { "shape": "Sj", "location": "header", "locationName": "x-amz-server-side-encryption-aws-kms-key-id" }, "SSEKMSEncryptionContext": { "shape": "S1b", "location": "header", "locationName": "x-amz-server-side-encryption-context" }, "CopySourceSSECustomerAlgorithm": { "location": "header", "locationName": "x-amz-copy-source-server-side-encryption-customer-algorithm" }, "CopySourceSSECustomerKey": { "shape": "S1d", "location": "header", "locationName": "x-amz-copy-source-server-side-encryption-customer-key" }, "CopySourceSSECustomerKeyMD5": { "location": "header", "locationName": "x-amz-copy-source-server-side-encryption-customer-key-MD5" }, "RequestPayer": { "location": "header", "locationName": "x-amz-request-payer" }, "Tagging": { "location": "header", "locationName": "x-amz-tagging" }, "ObjectLockMode": { "location": "header", "locationName": "x-amz-object-lock-mode" }, "ObjectLockRetainUntilDate": { "shape": "S1h", "location": "header", "locationName": "x-amz-object-lock-retain-until-date" }, "ObjectLockLegalHoldStatus": { "location": "header", "locationName": "x-amz-object-lock-legal-hold" } } }, "output": { "type": "structure", "members": { "CopyObjectResult": { "type": "structure", "members": { "ETag": {}, "LastModified": { "type": "timestamp" } } }, "Expiration": { "location": "header", "locationName": "x-amz-expiration" }, "CopySourceVersionId": { "location": "header", "locationName": "x-amz-copy-source-version-id" }, "VersionId": { "location": "header", "locationName": "x-amz-version-id" }, "ServerSideEncryption": { "location": "header", "locationName": "x-amz-server-side-encryption" }, "SSECustomerAlgorithm": { "location": "header", "locationName": "x-amz-server-side-encryption-customer-algorithm" }, "SSECustomerKeyMD5": { "location": "header", "locationName": "x-amz-server-side-encryption-customer-key-MD5" }, "SSEKMSKeyId": { "shape": "Sj", "location": "header", "locationName": "x-amz-server-side-encryption-aws-kms-key-id" }, "SSEKMSEncryptionContext": { "shape": "S1b", "location": "header", "locationName": "x-amz-server-side-encryption-context" }, "RequestCharged": { "location": "header", "locationName": "x-amz-request-charged" } }, "payload": "CopyObjectResult" }, "alias": "PutObjectCopy" }, "CreateBucket": { "http": { "method": "PUT", "requestUri": "/{Bucket}" }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "ACL": { "location": "header", "locationName": "x-amz-acl" }, "Bucket": { "location": "uri", "locationName": "Bucket" }, "CreateBucketConfiguration": { "locationName": "CreateBucketConfiguration", "xmlNamespace": { "uri": "http://s3.amazonaws.com/doc/2006-03-01/" }, "type": "structure", "members": { "LocationConstraint": {} } }, "GrantFullControl": { "location": "header", "locationName": "x-amz-grant-full-control" }, "GrantRead": { "location": "header", "locationName": "x-amz-grant-read" }, "GrantReadACP": { "location": "header", "locationName": "x-amz-grant-read-acp" }, "GrantWrite": { "location": "header", "locationName": "x-amz-grant-write" }, "GrantWriteACP": { "location": "header", "locationName": "x-amz-grant-write-acp" }, "ObjectLockEnabledForBucket": { "location": "header", "locationName": "x-amz-bucket-object-lock-enabled", "type": "boolean" } }, "payload": "CreateBucketConfiguration" }, "output": { "type": "structure", "members": { "Location": { "location": "header", "locationName": "Location" } } }, "alias": "PutBucket" }, "CreateMultipartUpload": { "http": { "requestUri": "/{Bucket}/{Key+}?uploads" }, "input": { "type": "structure", "required": [ "Bucket", "Key" ], "members": { "ACL": { "location": "header", "locationName": "x-amz-acl" }, "Bucket": { "location": "uri", "locationName": "Bucket" }, "CacheControl": { "location": "header", "locationName": "Cache-Control" }, "ContentDisposition": { "location": "header", "locationName": "Content-Disposition" }, "ContentEncoding": { "location": "header", "locationName": "Content-Encoding" }, "ContentLanguage": { "location": "header", "locationName": "Content-Language" }, "ContentType": { "location": "header", "locationName": "Content-Type" }, "Expires": { "location": "header", "locationName": "Expires", "type": "timestamp" }, "GrantFullControl": { "location": "header", "locationName": "x-amz-grant-full-control" }, "GrantRead": { "location": "header", "locationName": "x-amz-grant-read" }, "GrantReadACP": { "location": "header", "locationName": "x-amz-grant-read-acp" }, "GrantWriteACP": { "location": "header", "locationName": "x-amz-grant-write-acp" }, "Key": { "location": "uri", "locationName": "Key" }, "Metadata": { "shape": "S11", "location": "headers", "locationName": "x-amz-meta-" }, "ServerSideEncryption": { "location": "header", "locationName": "x-amz-server-side-encryption" }, "StorageClass": { "location": "header", "locationName": "x-amz-storage-class" }, "WebsiteRedirectLocation": { "location": "header", "locationName": "x-amz-website-redirect-location" }, "SSECustomerAlgorithm": { "location": "header", "locationName": "x-amz-server-side-encryption-customer-algorithm" }, "SSECustomerKey": { "shape": "S19", "location": "header", "locationName": "x-amz-server-side-encryption-customer-key" }, "SSECustomerKeyMD5": { "location": "header", "locationName": "x-amz-server-side-encryption-customer-key-MD5" }, "SSEKMSKeyId": { "shape": "Sj", "location": "header", "locationName": "x-amz-server-side-encryption-aws-kms-key-id" }, "SSEKMSEncryptionContext": { "shape": "S1b", "location": "header", "locationName": "x-amz-server-side-encryption-context" }, "RequestPayer": { "location": "header", "locationName": "x-amz-request-payer" }, "Tagging": { "location": "header", "locationName": "x-amz-tagging" }, "ObjectLockMode": { "location": "header", "locationName": "x-amz-object-lock-mode" }, "ObjectLockRetainUntilDate": { "shape": "S1h", "location": "header", "locationName": "x-amz-object-lock-retain-until-date" }, "ObjectLockLegalHoldStatus": { "location": "header", "locationName": "x-amz-object-lock-legal-hold" } } }, "output": { "type": "structure", "members": { "AbortDate": { "location": "header", "locationName": "x-amz-abort-date", "type": "timestamp" }, "AbortRuleId": { "location": "header", "locationName": "x-amz-abort-rule-id" }, "Bucket": { "locationName": "Bucket" }, "Key": {}, "UploadId": {}, "ServerSideEncryption": { "location": "header", "locationName": "x-amz-server-side-encryption" }, "SSECustomerAlgorithm": { "location": "header", "locationName": "x-amz-server-side-encryption-customer-algorithm" }, "SSECustomerKeyMD5": { "location": "header", "locationName": "x-amz-server-side-encryption-customer-key-MD5" }, "SSEKMSKeyId": { "shape": "Sj", "location": "header", "locationName": "x-amz-server-side-encryption-aws-kms-key-id" }, "SSEKMSEncryptionContext": { "shape": "S1b", "location": "header", "locationName": "x-amz-server-side-encryption-context" }, "RequestCharged": { "location": "header", "locationName": "x-amz-request-charged" } } }, "alias": "InitiateMultipartUpload" }, "DeleteBucket": { "http": { "method": "DELETE", "requestUri": "/{Bucket}", "responseCode": 204 }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" } } } }, "DeleteBucketAnalyticsConfiguration": { "http": { "method": "DELETE", "requestUri": "/{Bucket}?analytics", "responseCode": 204 }, "input": { "type": "structure", "required": [ "Bucket", "Id" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "Id": { "location": "querystring", "locationName": "id" } } } }, "DeleteBucketCors": { "http": { "method": "DELETE", "requestUri": "/{Bucket}?cors", "responseCode": 204 }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" } } } }, "DeleteBucketEncryption": { "http": { "method": "DELETE", "requestUri": "/{Bucket}?encryption", "responseCode": 204 }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" } } } }, "DeleteBucketInventoryConfiguration": { "http": { "method": "DELETE", "requestUri": "/{Bucket}?inventory", "responseCode": 204 }, "input": { "type": "structure", "required": [ "Bucket", "Id" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "Id": { "location": "querystring", "locationName": "id" } } } }, "DeleteBucketLifecycle": { "http": { "method": "DELETE", "requestUri": "/{Bucket}?lifecycle", "responseCode": 204 }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" } } } }, "DeleteBucketMetricsConfiguration": { "http": { "method": "DELETE", "requestUri": "/{Bucket}?metrics", "responseCode": 204 }, "input": { "type": "structure", "required": [ "Bucket", "Id" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "Id": { "location": "querystring", "locationName": "id" } } } }, "DeleteBucketPolicy": { "http": { "method": "DELETE", "requestUri": "/{Bucket}?policy", "responseCode": 204 }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" } } } }, "DeleteBucketReplication": { "http": { "method": "DELETE", "requestUri": "/{Bucket}?replication", "responseCode": 204 }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" } } } }, "DeleteBucketTagging": { "http": { "method": "DELETE", "requestUri": "/{Bucket}?tagging", "responseCode": 204 }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" } } } }, "DeleteBucketWebsite": { "http": { "method": "DELETE", "requestUri": "/{Bucket}?website", "responseCode": 204 }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" } } } }, "DeleteObject": { "http": { "method": "DELETE", "requestUri": "/{Bucket}/{Key+}", "responseCode": 204 }, "input": { "type": "structure", "required": [ "Bucket", "Key" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "Key": { "location": "uri", "locationName": "Key" }, "MFA": { "location": "header", "locationName": "x-amz-mfa" }, "VersionId": { "location": "querystring", "locationName": "versionId" }, "RequestPayer": { "location": "header", "locationName": "x-amz-request-payer" }, "BypassGovernanceRetention": { "location": "header", "locationName": "x-amz-bypass-governance-retention", "type": "boolean" } } }, "output": { "type": "structure", "members": { "DeleteMarker": { "location": "header", "locationName": "x-amz-delete-marker", "type": "boolean" }, "VersionId": { "location": "header", "locationName": "x-amz-version-id" }, "RequestCharged": { "location": "header", "locationName": "x-amz-request-charged" } } } }, "DeleteObjectTagging": { "http": { "method": "DELETE", "requestUri": "/{Bucket}/{Key+}?tagging", "responseCode": 204 }, "input": { "type": "structure", "required": [ "Bucket", "Key" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "Key": { "location": "uri", "locationName": "Key" }, "VersionId": { "location": "querystring", "locationName": "versionId" } } }, "output": { "type": "structure", "members": { "VersionId": { "location": "header", "locationName": "x-amz-version-id" } } } }, "DeleteObjects": { "http": { "requestUri": "/{Bucket}?delete" }, "input": { "type": "structure", "required": [ "Bucket", "Delete" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "Delete": { "locationName": "Delete", "xmlNamespace": { "uri": "http://s3.amazonaws.com/doc/2006-03-01/" }, "type": "structure", "required": [ "Objects" ], "members": { "Objects": { "locationName": "Object", "type": "list", "member": { "type": "structure", "required": [ "Key" ], "members": { "Key": {}, "VersionId": {} } }, "flattened": true }, "Quiet": { "type": "boolean" } } }, "MFA": { "location": "header", "locationName": "x-amz-mfa" }, "RequestPayer": { "location": "header", "locationName": "x-amz-request-payer" }, "BypassGovernanceRetention": { "location": "header", "locationName": "x-amz-bypass-governance-retention", "type": "boolean" } }, "payload": "Delete" }, "output": { "type": "structure", "members": { "Deleted": { "type": "list", "member": { "type": "structure", "members": { "Key": {}, "VersionId": {}, "DeleteMarker": { "type": "boolean" }, "DeleteMarkerVersionId": {} } }, "flattened": true }, "RequestCharged": { "location": "header", "locationName": "x-amz-request-charged" }, "Errors": { "locationName": "Error", "type": "list", "member": { "type": "structure", "members": { "Key": {}, "VersionId": {}, "Code": {}, "Message": {} } }, "flattened": true } } }, "alias": "DeleteMultipleObjects" }, "DeletePublicAccessBlock": { "http": { "method": "DELETE", "requestUri": "/{Bucket}?publicAccessBlock", "responseCode": 204 }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" } } } }, "GetBucketAccelerateConfiguration": { "http": { "method": "GET", "requestUri": "/{Bucket}?accelerate" }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" } } }, "output": { "type": "structure", "members": { "Status": {} } } }, "GetBucketAcl": { "http": { "method": "GET", "requestUri": "/{Bucket}?acl" }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" } } }, "output": { "type": "structure", "members": { "Owner": { "shape": "S32" }, "Grants": { "shape": "S35", "locationName": "AccessControlList" } } } }, "GetBucketAnalyticsConfiguration": { "http": { "method": "GET", "requestUri": "/{Bucket}?analytics" }, "input": { "type": "structure", "required": [ "Bucket", "Id" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "Id": { "location": "querystring", "locationName": "id" } } }, "output": { "type": "structure", "members": { "AnalyticsConfiguration": { "shape": "S3e" } }, "payload": "AnalyticsConfiguration" } }, "GetBucketCors": { "http": { "method": "GET", "requestUri": "/{Bucket}?cors" }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" } } }, "output": { "type": "structure", "members": { "CORSRules": { "shape": "S3u", "locationName": "CORSRule" } } } }, "GetBucketEncryption": { "http": { "method": "GET", "requestUri": "/{Bucket}?encryption" }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" } } }, "output": { "type": "structure", "members": { "ServerSideEncryptionConfiguration": { "shape": "S47" } }, "payload": "ServerSideEncryptionConfiguration" } }, "GetBucketInventoryConfiguration": { "http": { "method": "GET", "requestUri": "/{Bucket}?inventory" }, "input": { "type": "structure", "required": [ "Bucket", "Id" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "Id": { "location": "querystring", "locationName": "id" } } }, "output": { "type": "structure", "members": { "InventoryConfiguration": { "shape": "S4d" } }, "payload": "InventoryConfiguration" } }, "GetBucketLifecycle": { "http": { "method": "GET", "requestUri": "/{Bucket}?lifecycle" }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" } } }, "output": { "type": "structure", "members": { "Rules": { "shape": "S4t", "locationName": "Rule" } } }, "deprecated": true }, "GetBucketLifecycleConfiguration": { "http": { "method": "GET", "requestUri": "/{Bucket}?lifecycle" }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" } } }, "output": { "type": "structure", "members": { "Rules": { "shape": "S58", "locationName": "Rule" } } } }, "GetBucketLocation": { "http": { "method": "GET", "requestUri": "/{Bucket}?location" }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" } } }, "output": { "type": "structure", "members": { "LocationConstraint": {} } } }, "GetBucketLogging": { "http": { "method": "GET", "requestUri": "/{Bucket}?logging" }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" } } }, "output": { "type": "structure", "members": { "LoggingEnabled": { "shape": "S5i" } } } }, "GetBucketMetricsConfiguration": { "http": { "method": "GET", "requestUri": "/{Bucket}?metrics" }, "input": { "type": "structure", "required": [ "Bucket", "Id" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "Id": { "location": "querystring", "locationName": "id" } } }, "output": { "type": "structure", "members": { "MetricsConfiguration": { "shape": "S5q" } }, "payload": "MetricsConfiguration" } }, "GetBucketNotification": { "http": { "method": "GET", "requestUri": "/{Bucket}?notification" }, "input": { "shape": "S5t" }, "output": { "shape": "S5u" }, "deprecated": true }, "GetBucketNotificationConfiguration": { "http": { "method": "GET", "requestUri": "/{Bucket}?notification" }, "input": { "shape": "S5t" }, "output": { "shape": "S65" } }, "GetBucketPolicy": { "http": { "method": "GET", "requestUri": "/{Bucket}?policy" }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" } } }, "output": { "type": "structure", "members": { "Policy": {} }, "payload": "Policy" } }, "GetBucketPolicyStatus": { "http": { "method": "GET", "requestUri": "/{Bucket}?policyStatus" }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" } } }, "output": { "type": "structure", "members": { "PolicyStatus": { "type": "structure", "members": { "IsPublic": { "locationName": "IsPublic", "type": "boolean" } } } }, "payload": "PolicyStatus" } }, "GetBucketReplication": { "http": { "method": "GET", "requestUri": "/{Bucket}?replication" }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" } } }, "output": { "type": "structure", "members": { "ReplicationConfiguration": { "shape": "S6s" } }, "payload": "ReplicationConfiguration" } }, "GetBucketRequestPayment": { "http": { "method": "GET", "requestUri": "/{Bucket}?requestPayment" }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" } } }, "output": { "type": "structure", "members": { "Payer": {} } } }, "GetBucketTagging": { "http": { "method": "GET", "requestUri": "/{Bucket}?tagging" }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" } } }, "output": { "type": "structure", "required": [ "TagSet" ], "members": { "TagSet": { "shape": "S3k" } } } }, "GetBucketVersioning": { "http": { "method": "GET", "requestUri": "/{Bucket}?versioning" }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" } } }, "output": { "type": "structure", "members": { "Status": {}, "MFADelete": { "locationName": "MfaDelete" } } } }, "GetBucketWebsite": { "http": { "method": "GET", "requestUri": "/{Bucket}?website" }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" } } }, "output": { "type": "structure", "members": { "RedirectAllRequestsTo": { "shape": "S7l" }, "IndexDocument": { "shape": "S7o" }, "ErrorDocument": { "shape": "S7q" }, "RoutingRules": { "shape": "S7r" } } } }, "GetObject": { "http": { "method": "GET", "requestUri": "/{Bucket}/{Key+}" }, "input": { "type": "structure", "required": [ "Bucket", "Key" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "IfMatch": { "location": "header", "locationName": "If-Match" }, "IfModifiedSince": { "location": "header", "locationName": "If-Modified-Since", "type": "timestamp" }, "IfNoneMatch": { "location": "header", "locationName": "If-None-Match" }, "IfUnmodifiedSince": { "location": "header", "locationName": "If-Unmodified-Since", "type": "timestamp" }, "Key": { "location": "uri", "locationName": "Key" }, "Range": { "location": "header", "locationName": "Range" }, "ResponseCacheControl": { "location": "querystring", "locationName": "response-cache-control" }, "ResponseContentDisposition": { "location": "querystring", "locationName": "response-content-disposition" }, "ResponseContentEncoding": { "location": "querystring", "locationName": "response-content-encoding" }, "ResponseContentLanguage": { "location": "querystring", "locationName": "response-content-language" }, "ResponseContentType": { "location": "querystring", "locationName": "response-content-type" }, "ResponseExpires": { "location": "querystring", "locationName": "response-expires", "type": "timestamp" }, "VersionId": { "location": "querystring", "locationName": "versionId" }, "SSECustomerAlgorithm": { "location": "header", "locationName": "x-amz-server-side-encryption-customer-algorithm" }, "SSECustomerKey": { "shape": "S19", "location": "header", "locationName": "x-amz-server-side-encryption-customer-key" }, "SSECustomerKeyMD5": { "location": "header", "locationName": "x-amz-server-side-encryption-customer-key-MD5" }, "RequestPayer": { "location": "header", "locationName": "x-amz-request-payer" }, "PartNumber": { "location": "querystring", "locationName": "partNumber", "type": "integer" } } }, "output": { "type": "structure", "members": { "Body": { "streaming": true, "type": "blob" }, "DeleteMarker": { "location": "header", "locationName": "x-amz-delete-marker", "type": "boolean" }, "AcceptRanges": { "location": "header", "locationName": "accept-ranges" }, "Expiration": { "location": "header", "locationName": "x-amz-expiration" }, "Restore": { "location": "header", "locationName": "x-amz-restore" }, "LastModified": { "location": "header", "locationName": "Last-Modified", "type": "timestamp" }, "ContentLength": { "location": "header", "locationName": "Content-Length", "type": "long" }, "ETag": { "location": "header", "locationName": "ETag" }, "MissingMeta": { "location": "header", "locationName": "x-amz-missing-meta", "type": "integer" }, "VersionId": { "location": "header", "locationName": "x-amz-version-id" }, "CacheControl": { "location": "header", "locationName": "Cache-Control" }, "ContentDisposition": { "location": "header", "locationName": "Content-Disposition" }, "ContentEncoding": { "location": "header", "locationName": "Content-Encoding" }, "ContentLanguage": { "location": "header", "locationName": "Content-Language" }, "ContentRange": { "location": "header", "locationName": "Content-Range" }, "ContentType": { "location": "header", "locationName": "Content-Type" }, "Expires": { "location": "header", "locationName": "Expires", "type": "timestamp" }, "WebsiteRedirectLocation": { "location": "header", "locationName": "x-amz-website-redirect-location" }, "ServerSideEncryption": { "location": "header", "locationName": "x-amz-server-side-encryption" }, "Metadata": { "shape": "S11", "location": "headers", "locationName": "x-amz-meta-" }, "SSECustomerAlgorithm": { "location": "header", "locationName": "x-amz-server-side-encryption-customer-algorithm" }, "SSECustomerKeyMD5": { "location": "header", "locationName": "x-amz-server-side-encryption-customer-key-MD5" }, "SSEKMSKeyId": { "shape": "Sj", "location": "header", "locationName": "x-amz-server-side-encryption-aws-kms-key-id" }, "StorageClass": { "location": "header", "locationName": "x-amz-storage-class" }, "RequestCharged": { "location": "header", "locationName": "x-amz-request-charged" }, "ReplicationStatus": { "location": "header", "locationName": "x-amz-replication-status" }, "PartsCount": { "location": "header", "locationName": "x-amz-mp-parts-count", "type": "integer" }, "TagCount": { "location": "header", "locationName": "x-amz-tagging-count", "type": "integer" }, "ObjectLockMode": { "location": "header", "locationName": "x-amz-object-lock-mode" }, "ObjectLockRetainUntilDate": { "shape": "S1h", "location": "header", "locationName": "x-amz-object-lock-retain-until-date" }, "ObjectLockLegalHoldStatus": { "location": "header", "locationName": "x-amz-object-lock-legal-hold" } }, "payload": "Body" } }, "GetObjectAcl": { "http": { "method": "GET", "requestUri": "/{Bucket}/{Key+}?acl" }, "input": { "type": "structure", "required": [ "Bucket", "Key" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "Key": { "location": "uri", "locationName": "Key" }, "VersionId": { "location": "querystring", "locationName": "versionId" }, "RequestPayer": { "location": "header", "locationName": "x-amz-request-payer" } } }, "output": { "type": "structure", "members": { "Owner": { "shape": "S32" }, "Grants": { "shape": "S35", "locationName": "AccessControlList" }, "RequestCharged": { "location": "header", "locationName": "x-amz-request-charged" } } } }, "GetObjectLegalHold": { "http": { "method": "GET", "requestUri": "/{Bucket}/{Key+}?legal-hold" }, "input": { "type": "structure", "required": [ "Bucket", "Key" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "Key": { "location": "uri", "locationName": "Key" }, "VersionId": { "location": "querystring", "locationName": "versionId" }, "RequestPayer": { "location": "header", "locationName": "x-amz-request-payer" } } }, "output": { "type": "structure", "members": { "LegalHold": { "shape": "S8q" } }, "payload": "LegalHold" } }, "GetObjectLockConfiguration": { "http": { "method": "GET", "requestUri": "/{Bucket}?object-lock" }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" } } }, "output": { "type": "structure", "members": { "ObjectLockConfiguration": { "shape": "S8t" } }, "payload": "ObjectLockConfiguration" } }, "GetObjectRetention": { "http": { "method": "GET", "requestUri": "/{Bucket}/{Key+}?retention" }, "input": { "type": "structure", "required": [ "Bucket", "Key" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "Key": { "location": "uri", "locationName": "Key" },