2013-07-08 13:11:07 +04:00
< ? php
/**
* Copyright 2010 - 2013 Amazon . com , Inc . or its affiliates . All Rights Reserved .
*
* Licensed under the Apache License , Version 2.0 ( the " License " ) .
* You may not use this file except in compliance with the License .
* A copy of the License is located at
*
* http :// aws . amazon . com / apache2 . 0
*
* or in the " license " file accompanying this file . This file is distributed
* on an " AS IS " BASIS , WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND , either
* express or implied . See the License for the specific language governing
* permissions and limitations under the License .
*/
return array (
'apiVersion' => '2006-03-01' ,
'endpointPrefix' => 's3' ,
'serviceFullName' => 'Amazon Simple Storage Service' ,
'serviceAbbreviation' => 'Amazon S3' ,
'serviceType' => 'rest-xml' ,
'timestampFormat' => 'rfc822' ,
'globalEndpoint' => 's3.amazonaws.com' ,
'signatureVersion' => 's3' ,
'namespace' => 'S3' ,
'regions' => array (
'us-east-1' => array (
'http' => true ,
'https' => true ,
'hostname' => 's3.amazonaws.com' ,
),
'us-west-1' => array (
'http' => true ,
'https' => true ,
'hostname' => 's3-us-west-1.amazonaws.com' ,
),
'us-west-2' => array (
'http' => true ,
'https' => true ,
'hostname' => 's3-us-west-2.amazonaws.com' ,
),
'eu-west-1' => array (
'http' => true ,
'https' => true ,
'hostname' => 's3-eu-west-1.amazonaws.com' ,
),
'ap-northeast-1' => array (
'http' => true ,
'https' => true ,
'hostname' => 's3-ap-northeast-1.amazonaws.com' ,
),
'ap-southeast-1' => array (
'http' => true ,
'https' => true ,
'hostname' => 's3-ap-southeast-1.amazonaws.com' ,
),
'ap-southeast-2' => array (
'http' => true ,
'https' => true ,
'hostname' => 's3-ap-southeast-2.amazonaws.com' ,
),
'sa-east-1' => array (
'http' => true ,
'https' => true ,
'hostname' => 's3-sa-east-1.amazonaws.com' ,
),
2014-08-28 02:10:31 +04:00
'cn-north-1' => array (
'http' => true ,
'https' => true ,
'hostname' => 's3.cn-north-1.amazonaws.com.cn' ,
),
2013-07-08 13:11:07 +04:00
'us-gov-west-1' => array (
'http' => true ,
'https' => true ,
'hostname' => 's3-us-gov-west-1.amazonaws.com' ,
),
),
'operations' => array (
'AbortMultipartUpload' => array (
'httpMethod' => 'DELETE' ,
'uri' => '/{Bucket}{/Key*}' ,
'class' => 'Aws\\S3\\Command\\S3Command' ,
'responseClass' => 'AbortMultipartUploadOutput' ,
'responseType' => 'model' ,
2014-08-28 02:10:31 +04:00
'documentationUrl' => 'http://docs.aws.amazon.com/AmazonS3/latest/API/mpUploadAbort.html' ,
2013-07-08 13:11:07 +04:00
'parameters' => array (
'Bucket' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
),
'Key' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
'filters' => array (
'Aws\\S3\\S3Client::explodeKey' ,
),
),
'UploadId' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'query' ,
'sentAs' => 'uploadId' ,
),
),
'errorResponses' => array (
array (
'reason' => 'The specified multipart upload does not exist.' ,
'class' => 'NoSuchUploadException' ,
),
),
),
'CompleteMultipartUpload' => array (
'httpMethod' => 'POST' ,
'uri' => '/{Bucket}{/Key*}' ,
'class' => 'Aws\\S3\\Command\\S3Command' ,
'responseClass' => 'CompleteMultipartUploadOutput' ,
'responseType' => 'model' ,
2014-08-28 02:10:31 +04:00
'documentationUrl' => 'http://docs.aws.amazon.com/AmazonS3/latest/API/mpUploadComplete.html' ,
2013-07-08 13:11:07 +04:00
'data' => array (
'xmlRoot' => array (
2014-08-28 02:10:31 +04:00
'name' => 'CompleteMultipartUpload' ,
2013-07-08 13:11:07 +04:00
'namespaces' => array (
'http://s3.amazonaws.com/doc/2006-03-01/' ,
),
),
),
'parameters' => array (
'Bucket' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
),
'Key' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
'filters' => array (
'Aws\\S3\\S3Client::explodeKey' ,
),
),
'Parts' => array (
'type' => 'array' ,
'location' => 'xml' ,
'data' => array (
'xmlFlattened' => true ,
),
'items' => array (
2014-08-28 02:10:31 +04:00
'name' => 'CompletedPart' ,
2013-07-08 13:11:07 +04:00
'type' => 'object' ,
'sentAs' => 'Part' ,
'properties' => array (
'ETag' => array (
'type' => 'string' ,
),
'PartNumber' => array (
'type' => 'numeric' ,
),
),
),
),
'UploadId' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'query' ,
'sentAs' => 'uploadId' ,
),
'command.expects' => array (
'static' => true ,
'default' => 'application/xml' ,
),
),
),
'CopyObject' => array (
'httpMethod' => 'PUT' ,
'uri' => '/{Bucket}{/Key*}' ,
'class' => 'Aws\\S3\\Command\\S3Command' ,
'responseClass' => 'CopyObjectOutput' ,
'responseType' => 'model' ,
2014-08-28 02:10:31 +04:00
'documentationUrl' => 'http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectCOPY.html' ,
'data' => array (
'xmlRoot' => array (
'name' => 'CopyObjectRequest' ,
'namespaces' => array (
'http://s3.amazonaws.com/doc/2006-03-01/' ,
),
),
),
2013-07-08 13:11:07 +04:00
'parameters' => array (
'ACL' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-acl' ,
),
'Bucket' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
),
'CacheControl' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'Cache-Control' ,
),
'ContentDisposition' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'Content-Disposition' ,
),
'ContentEncoding' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'Content-Encoding' ,
),
'ContentLanguage' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'Content-Language' ,
),
'ContentType' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'Content-Type' ,
),
'CopySource' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-copy-source' ,
),
'CopySourceIfMatch' => array (
2014-08-28 02:10:31 +04:00
'type' => 'string' ,
2013-07-08 13:11:07 +04:00
'location' => 'header' ,
'sentAs' => 'x-amz-copy-source-if-match' ,
),
'CopySourceIfModifiedSince' => array (
'type' => array (
'object' ,
'string' ,
'integer' ,
),
'format' => 'date-time-http' ,
'location' => 'header' ,
'sentAs' => 'x-amz-copy-source-if-modified-since' ,
),
'CopySourceIfNoneMatch' => array (
2014-08-28 02:10:31 +04:00
'type' => 'string' ,
2013-07-08 13:11:07 +04:00
'location' => 'header' ,
'sentAs' => 'x-amz-copy-source-if-none-match' ,
),
'CopySourceIfUnmodifiedSince' => array (
'type' => array (
'object' ,
'string' ,
'integer' ,
),
'format' => 'date-time-http' ,
'location' => 'header' ,
'sentAs' => 'x-amz-copy-source-if-unmodified-since' ,
),
'Expires' => array (
'type' => array (
'object' ,
'string' ,
'integer' ,
),
'format' => 'date-time-http' ,
'location' => 'header' ,
),
'GrantFullControl' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-grant-full-control' ,
),
'GrantRead' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-grant-read' ,
),
'GrantReadACP' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-grant-read-acp' ,
),
'GrantWriteACP' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-grant-write-acp' ,
),
'Key' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
'filters' => array (
'Aws\\S3\\S3Client::explodeKey' ,
),
),
'Metadata' => array (
'type' => 'object' ,
'location' => 'header' ,
'sentAs' => 'x-amz-meta-' ,
'additionalProperties' => array (
'type' => 'string' ,
),
),
'MetadataDirective' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-metadata-directive' ,
),
'ServerSideEncryption' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-server-side-encryption' ,
),
'StorageClass' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-storage-class' ,
),
'WebsiteRedirectLocation' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-website-redirect-location' ,
),
2014-08-28 02:10:31 +04:00
'SSECustomerAlgorithm' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-server-side-encryption-customer-algorithm' ,
),
'SSECustomerKey' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-server-side-encryption-customer-key' ,
),
'SSECustomerKeyMD5' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-server-side-encryption-customer-key-MD5' ,
),
'CopySourceSSECustomerAlgorithm' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-copy-source-server-side-encryption-customer-algorithm' ,
),
'CopySourceSSECustomerKey' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-copy-source-server-side-encryption-customer-key' ,
),
'CopySourceSSECustomerKeyMD5' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-copy-source-server-side-encryption-customer-key-MD5' ,
),
2013-07-08 13:11:07 +04:00
'ACP' => array (
'type' => 'object' ,
'additionalProperties' => true ,
),
'command.expects' => array (
'static' => true ,
'default' => 'application/xml' ,
),
),
'errorResponses' => array (
array (
'reason' => 'The source object of the COPY operation is not in the active tier and is only stored in Amazon Glacier.' ,
'class' => 'ObjectNotInActiveTierErrorException' ,
),
),
),
'CreateBucket' => array (
'httpMethod' => 'PUT' ,
'uri' => '/{Bucket}' ,
'class' => 'Aws\\S3\\Command\\S3Command' ,
'responseClass' => 'CreateBucketOutput' ,
'responseType' => 'model' ,
2014-08-28 02:10:31 +04:00
'documentationUrl' => 'http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUT.html' ,
2013-07-08 13:11:07 +04:00
'data' => array (
'xmlRoot' => array (
'name' => 'CreateBucketConfiguration' ,
'namespaces' => array (
'http://s3.amazonaws.com/doc/2006-03-01/' ,
),
),
),
'parameters' => array (
'ACL' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-acl' ,
),
'Bucket' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
),
'LocationConstraint' => array (
'type' => 'string' ,
'location' => 'xml' ,
),
'GrantFullControl' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-grant-full-control' ,
),
'GrantRead' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-grant-read' ,
),
'GrantReadACP' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-grant-read-acp' ,
),
'GrantWrite' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-grant-write' ,
),
'GrantWriteACP' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-grant-write-acp' ,
),
'ACP' => array (
'type' => 'object' ,
'additionalProperties' => true ,
),
),
'errorResponses' => array (
array (
'reason' => '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.' ,
'class' => 'BucketAlreadyExistsException' ,
),
),
),
'CreateMultipartUpload' => array (
'httpMethod' => 'POST' ,
2014-08-28 02:10:31 +04:00
'uri' => '/{Bucket}{/Key*}?uploads' ,
2013-07-08 13:11:07 +04:00
'class' => 'Aws\\S3\\Command\\S3Command' ,
'responseClass' => 'CreateMultipartUploadOutput' ,
'responseType' => 'model' ,
2014-08-28 02:10:31 +04:00
'documentationUrl' => 'http://docs.aws.amazon.com/AmazonS3/latest/API/mpUploadInitiate.html' ,
'data' => array (
'xmlRoot' => array (
'name' => 'CreateMultipartUploadRequest' ,
'namespaces' => array (
'http://s3.amazonaws.com/doc/2006-03-01/' ,
),
),
),
2013-07-08 13:11:07 +04:00
'parameters' => array (
'ACL' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-acl' ,
),
'Bucket' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
),
'CacheControl' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'Cache-Control' ,
),
'ContentDisposition' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'Content-Disposition' ,
),
'ContentEncoding' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'Content-Encoding' ,
),
'ContentLanguage' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'Content-Language' ,
),
'ContentType' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'Content-Type' ,
),
'Expires' => array (
'type' => array (
'object' ,
'string' ,
'integer' ,
),
'format' => 'date-time-http' ,
'location' => 'header' ,
),
'GrantFullControl' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-grant-full-control' ,
),
'GrantRead' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-grant-read' ,
),
'GrantReadACP' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-grant-read-acp' ,
),
'GrantWriteACP' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-grant-write-acp' ,
),
'Key' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
'filters' => array (
'Aws\\S3\\S3Client::explodeKey' ,
),
),
'Metadata' => array (
'type' => 'object' ,
'location' => 'header' ,
'sentAs' => 'x-amz-meta-' ,
'additionalProperties' => array (
'type' => 'string' ,
),
),
'ServerSideEncryption' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-server-side-encryption' ,
),
'StorageClass' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-storage-class' ,
),
'WebsiteRedirectLocation' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-website-redirect-location' ,
),
2014-08-28 02:10:31 +04:00
'SSECustomerAlgorithm' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-server-side-encryption-customer-algorithm' ,
),
'SSECustomerKey' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-server-side-encryption-customer-key' ,
),
'SSECustomerKeyMD5' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-server-side-encryption-customer-key-MD5' ,
2013-07-08 13:11:07 +04:00
),
'ACP' => array (
'type' => 'object' ,
'additionalProperties' => true ,
),
'command.expects' => array (
'static' => true ,
'default' => 'application/xml' ,
),
),
),
'DeleteBucket' => array (
'httpMethod' => 'DELETE' ,
'uri' => '/{Bucket}' ,
'class' => 'Aws\\S3\\Command\\S3Command' ,
'responseClass' => 'DeleteBucketOutput' ,
'responseType' => 'model' ,
2014-08-28 02:10:31 +04:00
'documentationUrl' => 'http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketDELETE.html' ,
2013-07-08 13:11:07 +04:00
'parameters' => array (
'Bucket' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
),
),
),
'DeleteBucketCors' => array (
'httpMethod' => 'DELETE' ,
2014-08-28 02:10:31 +04:00
'uri' => '/{Bucket}?cors' ,
2013-07-08 13:11:07 +04:00
'class' => 'Aws\\S3\\Command\\S3Command' ,
'responseClass' => 'DeleteBucketCorsOutput' ,
'responseType' => 'model' ,
2014-08-28 02:10:31 +04:00
'documentationUrl' => 'http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketDELETEcors.html' ,
2013-07-08 13:11:07 +04:00
'parameters' => array (
'Bucket' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
),
),
),
'DeleteBucketLifecycle' => array (
'httpMethod' => 'DELETE' ,
2014-08-28 02:10:31 +04:00
'uri' => '/{Bucket}?lifecycle' ,
2013-07-08 13:11:07 +04:00
'class' => 'Aws\\S3\\Command\\S3Command' ,
'responseClass' => 'DeleteBucketLifecycleOutput' ,
'responseType' => 'model' ,
2014-08-28 02:10:31 +04:00
'documentationUrl' => 'http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketDELETElifecycle.html' ,
2013-07-08 13:11:07 +04:00
'parameters' => array (
'Bucket' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
),
),
),
'DeleteBucketPolicy' => array (
'httpMethod' => 'DELETE' ,
2014-08-28 02:10:31 +04:00
'uri' => '/{Bucket}?policy' ,
2013-07-08 13:11:07 +04:00
'class' => 'Aws\\S3\\Command\\S3Command' ,
'responseClass' => 'DeleteBucketPolicyOutput' ,
'responseType' => 'model' ,
2014-08-28 02:10:31 +04:00
'documentationUrl' => 'http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketDELETEpolicy.html' ,
2013-07-08 13:11:07 +04:00
'parameters' => array (
'Bucket' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
),
),
),
'DeleteBucketTagging' => array (
'httpMethod' => 'DELETE' ,
2014-08-28 02:10:31 +04:00
'uri' => '/{Bucket}?tagging' ,
2013-07-08 13:11:07 +04:00
'class' => 'Aws\\S3\\Command\\S3Command' ,
'responseClass' => 'DeleteBucketTaggingOutput' ,
'responseType' => 'model' ,
2014-08-28 02:10:31 +04:00
'documentationUrl' => 'http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketDELETEtagging.html' ,
2013-07-08 13:11:07 +04:00
'parameters' => array (
'Bucket' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
),
),
),
'DeleteBucketWebsite' => array (
'httpMethod' => 'DELETE' ,
2014-08-28 02:10:31 +04:00
'uri' => '/{Bucket}?website' ,
2013-07-08 13:11:07 +04:00
'class' => 'Aws\\S3\\Command\\S3Command' ,
'responseClass' => 'DeleteBucketWebsiteOutput' ,
'responseType' => 'model' ,
2014-08-28 02:10:31 +04:00
'documentationUrl' => 'http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketDELETEwebsite.html' ,
2013-07-08 13:11:07 +04:00
'parameters' => array (
'Bucket' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
),
),
),
'DeleteObject' => array (
'httpMethod' => 'DELETE' ,
'uri' => '/{Bucket}{/Key*}' ,
'class' => 'Aws\\S3\\Command\\S3Command' ,
'responseClass' => 'DeleteObjectOutput' ,
'responseType' => 'model' ,
2014-08-28 02:10:31 +04:00
'documentationUrl' => 'http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectDELETE.html' ,
2013-07-08 13:11:07 +04:00
'parameters' => array (
'Bucket' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
),
'Key' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
'filters' => array (
'Aws\\S3\\S3Client::explodeKey' ,
),
),
2014-08-28 02:10:31 +04:00
'MFA' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-mfa' ,
),
'VersionId' => array (
'type' => 'string' ,
'location' => 'query' ,
'sentAs' => 'versionId' ,
),
2013-07-08 13:11:07 +04:00
),
),
'DeleteObjects' => array (
'httpMethod' => 'POST' ,
2014-08-28 02:10:31 +04:00
'uri' => '/{Bucket}?delete' ,
2013-07-08 13:11:07 +04:00
'class' => 'Aws\\S3\\Command\\S3Command' ,
'responseClass' => 'DeleteObjectsOutput' ,
'responseType' => 'model' ,
2014-08-28 02:10:31 +04:00
'documentationUrl' => 'http://docs.aws.amazon.com/AmazonS3/latest/API/multiobjectdeleteapi.html' ,
2013-07-08 13:11:07 +04:00
'data' => array (
'xmlRoot' => array (
'name' => 'Delete' ,
'namespaces' => array (
'http://s3.amazonaws.com/doc/2006-03-01/' ,
),
),
2014-08-28 02:10:31 +04:00
'contentMd5' => true ,
2013-07-08 13:11:07 +04:00
),
'parameters' => array (
'Bucket' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
),
'Objects' => array (
'required' => true ,
'type' => 'array' ,
'location' => 'xml' ,
'data' => array (
'xmlFlattened' => true ,
),
'items' => array (
2014-08-28 02:10:31 +04:00
'name' => 'ObjectIdentifier' ,
2013-07-08 13:11:07 +04:00
'type' => 'object' ,
'sentAs' => 'Object' ,
'properties' => array (
'Key' => array (
'required' => true ,
'type' => 'string' ,
),
'VersionId' => array (
'type' => 'string' ,
),
),
),
),
'Quiet' => array (
'type' => 'boolean' ,
'format' => 'boolean-string' ,
'location' => 'xml' ,
),
'MFA' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-mfa' ,
),
'command.expects' => array (
'static' => true ,
'default' => 'application/xml' ,
),
),
),
'GetBucketAcl' => array (
'httpMethod' => 'GET' ,
2014-08-28 02:10:31 +04:00
'uri' => '/{Bucket}?acl' ,
2013-07-08 13:11:07 +04:00
'class' => 'Aws\\S3\\Command\\S3Command' ,
'responseClass' => 'GetBucketAclOutput' ,
'responseType' => 'model' ,
2014-08-28 02:10:31 +04:00
'documentationUrl' => 'http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGETacl.html' ,
2013-07-08 13:11:07 +04:00
'parameters' => array (
'Bucket' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
),
'command.expects' => array (
'static' => true ,
'default' => 'application/xml' ,
),
),
),
'GetBucketCors' => array (
'httpMethod' => 'GET' ,
2014-08-28 02:10:31 +04:00
'uri' => '/{Bucket}?cors' ,
2013-07-08 13:11:07 +04:00
'class' => 'Aws\\S3\\Command\\S3Command' ,
'responseClass' => 'GetBucketCorsOutput' ,
'responseType' => 'model' ,
2014-08-28 02:10:31 +04:00
'documentationUrl' => 'http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGETcors.html' ,
2013-07-08 13:11:07 +04:00
'parameters' => array (
'Bucket' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
),
'command.expects' => array (
'static' => true ,
'default' => 'application/xml' ,
),
),
),
'GetBucketLifecycle' => array (
'httpMethod' => 'GET' ,
2014-08-28 02:10:31 +04:00
'uri' => '/{Bucket}?lifecycle' ,
2013-07-08 13:11:07 +04:00
'class' => 'Aws\\S3\\Command\\S3Command' ,
'responseClass' => 'GetBucketLifecycleOutput' ,
'responseType' => 'model' ,
2014-08-28 02:10:31 +04:00
'documentationUrl' => 'http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGETlifecycle.html' ,
2013-07-08 13:11:07 +04:00
'parameters' => array (
'Bucket' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
),
'command.expects' => array (
'static' => true ,
'default' => 'application/xml' ,
),
),
),
'GetBucketLocation' => array (
'httpMethod' => 'GET' ,
2014-08-28 02:10:31 +04:00
'uri' => '/{Bucket}?location' ,
2013-07-08 13:11:07 +04:00
'class' => 'Aws\\S3\\Command\\S3Command' ,
'responseClass' => 'GetBucketLocationOutput' ,
'responseType' => 'model' ,
2014-08-28 02:10:31 +04:00
'documentationUrl' => 'http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGETlocation.html' ,
2013-07-08 13:11:07 +04:00
'parameters' => array (
'Bucket' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
),
),
),
'GetBucketLogging' => array (
'httpMethod' => 'GET' ,
2014-08-28 02:10:31 +04:00
'uri' => '/{Bucket}?logging' ,
2013-07-08 13:11:07 +04:00
'class' => 'Aws\\S3\\Command\\S3Command' ,
'responseClass' => 'GetBucketLoggingOutput' ,
'responseType' => 'model' ,
2014-08-28 02:10:31 +04:00
'documentationUrl' => 'http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGETlogging.html' ,
2013-07-08 13:11:07 +04:00
'parameters' => array (
'Bucket' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
),
'command.expects' => array (
'static' => true ,
'default' => 'application/xml' ,
),
),
),
'GetBucketNotification' => array (
'httpMethod' => 'GET' ,
2014-08-28 02:10:31 +04:00
'uri' => '/{Bucket}?notification' ,
2013-07-08 13:11:07 +04:00
'class' => 'Aws\\S3\\Command\\S3Command' ,
'responseClass' => 'GetBucketNotificationOutput' ,
'responseType' => 'model' ,
2014-08-28 02:10:31 +04:00
'documentationUrl' => 'http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGETnotification.html' ,
2013-07-08 13:11:07 +04:00
'parameters' => array (
'Bucket' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
),
'command.expects' => array (
'static' => true ,
'default' => 'application/xml' ,
),
),
),
'GetBucketPolicy' => array (
'httpMethod' => 'GET' ,
2014-08-28 02:10:31 +04:00
'uri' => '/{Bucket}?policy' ,
2013-07-08 13:11:07 +04:00
'class' => 'Aws\\S3\\Command\\S3Command' ,
'responseClass' => 'GetBucketPolicyOutput' ,
'responseType' => 'model' ,
2014-08-28 02:10:31 +04:00
'documentationUrl' => 'http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGETpolicy.html' ,
2013-07-08 13:11:07 +04:00
'parameters' => array (
'Bucket' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
),
),
),
'GetBucketRequestPayment' => array (
'httpMethod' => 'GET' ,
2014-08-28 02:10:31 +04:00
'uri' => '/{Bucket}?requestPayment' ,
2013-07-08 13:11:07 +04:00
'class' => 'Aws\\S3\\Command\\S3Command' ,
'responseClass' => 'GetBucketRequestPaymentOutput' ,
'responseType' => 'model' ,
2014-08-28 02:10:31 +04:00
'documentationUrl' => 'http://docs.aws.amazon.com/AmazonS3/latest/API/RESTrequestPaymentGET.html' ,
2013-07-08 13:11:07 +04:00
'parameters' => array (
'Bucket' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
),
'command.expects' => array (
'static' => true ,
'default' => 'application/xml' ,
),
),
),
'GetBucketTagging' => array (
'httpMethod' => 'GET' ,
2014-08-28 02:10:31 +04:00
'uri' => '/{Bucket}?tagging' ,
2013-07-08 13:11:07 +04:00
'class' => 'Aws\\S3\\Command\\S3Command' ,
'responseClass' => 'GetBucketTaggingOutput' ,
'responseType' => 'model' ,
2014-08-28 02:10:31 +04:00
'documentationUrl' => 'http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGETtagging.html' ,
2013-07-08 13:11:07 +04:00
'parameters' => array (
'Bucket' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
),
'command.expects' => array (
'static' => true ,
'default' => 'application/xml' ,
),
),
),
'GetBucketVersioning' => array (
'httpMethod' => 'GET' ,
2014-08-28 02:10:31 +04:00
'uri' => '/{Bucket}?versioning' ,
2013-07-08 13:11:07 +04:00
'class' => 'Aws\\S3\\Command\\S3Command' ,
'responseClass' => 'GetBucketVersioningOutput' ,
'responseType' => 'model' ,
2014-08-28 02:10:31 +04:00
'documentationUrl' => 'http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGETversioningStatus.html' ,
2013-07-08 13:11:07 +04:00
'parameters' => array (
'Bucket' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
),
'command.expects' => array (
'static' => true ,
'default' => 'application/xml' ,
),
),
),
'GetBucketWebsite' => array (
'httpMethod' => 'GET' ,
2014-08-28 02:10:31 +04:00
'uri' => '/{Bucket}?website' ,
2013-07-08 13:11:07 +04:00
'class' => 'Aws\\S3\\Command\\S3Command' ,
'responseClass' => 'GetBucketWebsiteOutput' ,
'responseType' => 'model' ,
2014-08-28 02:10:31 +04:00
'documentationUrl' => 'http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGETwebsite.html' ,
2013-07-08 13:11:07 +04:00
'parameters' => array (
'Bucket' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
),
'command.expects' => array (
'static' => true ,
'default' => 'application/xml' ,
),
),
),
'GetObject' => array (
'httpMethod' => 'GET' ,
'uri' => '/{Bucket}{/Key*}' ,
'class' => 'Aws\\S3\\Command\\S3Command' ,
'responseClass' => 'GetObjectOutput' ,
'responseType' => 'model' ,
2014-08-28 02:10:31 +04:00
'documentationUrl' => 'http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectGET.html' ,
2013-07-08 13:11:07 +04:00
'parameters' => array (
'Bucket' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
),
'IfMatch' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'If-Match' ,
),
'IfModifiedSince' => array (
'type' => array (
'object' ,
'string' ,
'integer' ,
),
'format' => 'date-time-http' ,
'location' => 'header' ,
'sentAs' => 'If-Modified-Since' ,
),
'IfNoneMatch' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'If-None-Match' ,
),
'IfUnmodifiedSince' => array (
'type' => array (
'object' ,
'string' ,
'integer' ,
),
'format' => 'date-time-http' ,
'location' => 'header' ,
'sentAs' => 'If-Unmodified-Since' ,
),
'Key' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
'filters' => array (
'Aws\\S3\\S3Client::explodeKey' ,
),
),
'Range' => array (
'type' => 'string' ,
'location' => 'header' ,
),
'ResponseCacheControl' => array (
'type' => 'string' ,
'location' => 'query' ,
'sentAs' => 'response-cache-control' ,
),
'ResponseContentDisposition' => array (
'type' => 'string' ,
'location' => 'query' ,
'sentAs' => 'response-content-disposition' ,
),
'ResponseContentEncoding' => array (
'type' => 'string' ,
'location' => 'query' ,
'sentAs' => 'response-content-encoding' ,
),
'ResponseContentLanguage' => array (
'type' => 'string' ,
'location' => 'query' ,
'sentAs' => 'response-content-language' ,
),
'ResponseContentType' => array (
'type' => 'string' ,
'location' => 'query' ,
'sentAs' => 'response-content-type' ,
),
'ResponseExpires' => array (
'type' => array (
'object' ,
'string' ,
'integer' ,
),
'format' => 'date-time-http' ,
'location' => 'query' ,
'sentAs' => 'response-expires' ,
),
'VersionId' => array (
'type' => 'string' ,
'location' => 'query' ,
'sentAs' => 'versionId' ,
),
2014-08-28 02:10:31 +04:00
'SSECustomerAlgorithm' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-server-side-encryption-customer-algorithm' ,
),
'SSECustomerKey' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-server-side-encryption-customer-key' ,
),
'SSECustomerKeyMD5' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-server-side-encryption-customer-key-MD5' ,
),
2013-07-08 13:11:07 +04:00
'SaveAs' => array (
'location' => 'response_body' ,
),
),
'errorResponses' => array (
array (
'reason' => 'The specified key does not exist.' ,
'class' => 'NoSuchKeyException' ,
),
),
),
'GetObjectAcl' => array (
'httpMethod' => 'GET' ,
2014-08-28 02:10:31 +04:00
'uri' => '/{Bucket}{/Key*}?acl' ,
2013-07-08 13:11:07 +04:00
'class' => 'Aws\\S3\\Command\\S3Command' ,
'responseClass' => 'GetObjectAclOutput' ,
'responseType' => 'model' ,
2014-08-28 02:10:31 +04:00
'documentationUrl' => 'http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectGETacl.html' ,
2013-07-08 13:11:07 +04:00
'parameters' => array (
'Bucket' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
),
'Key' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
'filters' => array (
'Aws\\S3\\S3Client::explodeKey' ,
),
),
'VersionId' => array (
'type' => 'string' ,
'location' => 'query' ,
'sentAs' => 'versionId' ,
),
'command.expects' => array (
'static' => true ,
'default' => 'application/xml' ,
),
),
'errorResponses' => array (
array (
'reason' => 'The specified key does not exist.' ,
'class' => 'NoSuchKeyException' ,
),
),
),
'GetObjectTorrent' => array (
'httpMethod' => 'GET' ,
2014-08-28 02:10:31 +04:00
'uri' => '/{Bucket}{/Key*}?torrent' ,
2013-07-08 13:11:07 +04:00
'class' => 'Aws\\S3\\Command\\S3Command' ,
'responseClass' => 'GetObjectTorrentOutput' ,
'responseType' => 'model' ,
2014-08-28 02:10:31 +04:00
'documentationUrl' => 'http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectGETtorrent.html' ,
2013-07-08 13:11:07 +04:00
'parameters' => array (
'Bucket' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
),
'Key' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
'filters' => array (
'Aws\\S3\\S3Client::explodeKey' ,
),
),
),
),
'HeadBucket' => array (
'httpMethod' => 'HEAD' ,
'uri' => '/{Bucket}' ,
'class' => 'Aws\\S3\\Command\\S3Command' ,
'responseClass' => 'HeadBucketOutput' ,
'responseType' => 'model' ,
2014-08-28 02:10:31 +04:00
'documentationUrl' => 'http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketHEAD.html' ,
2013-07-08 13:11:07 +04:00
'parameters' => array (
'Bucket' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
),
),
'errorResponses' => array (
array (
'reason' => 'The specified bucket does not exist.' ,
'class' => 'NoSuchBucketException' ,
),
),
),
'HeadObject' => array (
'httpMethod' => 'HEAD' ,
'uri' => '/{Bucket}{/Key*}' ,
'class' => 'Aws\\S3\\Command\\S3Command' ,
'responseClass' => 'HeadObjectOutput' ,
'responseType' => 'model' ,
2014-08-28 02:10:31 +04:00
'documentationUrl' => 'http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectHEAD.html' ,
2013-07-08 13:11:07 +04:00
'parameters' => array (
'Bucket' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
),
'IfMatch' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'If-Match' ,
),
'IfModifiedSince' => array (
'type' => array (
'object' ,
'string' ,
'integer' ,
),
'format' => 'date-time-http' ,
'location' => 'header' ,
'sentAs' => 'If-Modified-Since' ,
),
'IfNoneMatch' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'If-None-Match' ,
),
'IfUnmodifiedSince' => array (
'type' => array (
'object' ,
'string' ,
'integer' ,
),
'format' => 'date-time-http' ,
'location' => 'header' ,
'sentAs' => 'If-Unmodified-Since' ,
),
'Key' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
'filters' => array (
'Aws\\S3\\S3Client::explodeKey' ,
),
),
'Range' => array (
'type' => 'string' ,
'location' => 'header' ,
),
'VersionId' => array (
'type' => 'string' ,
'location' => 'query' ,
'sentAs' => 'versionId' ,
),
2014-08-28 02:10:31 +04:00
'SSECustomerAlgorithm' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-server-side-encryption-customer-algorithm' ,
),
'SSECustomerKey' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-server-side-encryption-customer-key' ,
),
'SSECustomerKeyMD5' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-server-side-encryption-customer-key-MD5' ,
),
2013-07-08 13:11:07 +04:00
),
'errorResponses' => array (
array (
'reason' => 'The specified key does not exist.' ,
'class' => 'NoSuchKeyException' ,
),
),
),
'ListBuckets' => array (
'httpMethod' => 'GET' ,
'uri' => '/' ,
'class' => 'Aws\\S3\\Command\\S3Command' ,
'responseClass' => 'ListBucketsOutput' ,
'responseType' => 'model' ,
2014-08-28 02:10:31 +04:00
'documentationUrl' => 'http://docs.aws.amazon.com/AmazonS3/latest/API/RESTServiceGET.html' ,
2013-07-08 13:11:07 +04:00
'parameters' => array (
'command.expects' => array (
'static' => true ,
'default' => 'application/xml' ,
),
),
),
'ListMultipartUploads' => array (
'httpMethod' => 'GET' ,
2014-08-28 02:10:31 +04:00
'uri' => '/{Bucket}?uploads' ,
2013-07-08 13:11:07 +04:00
'class' => 'Aws\\S3\\Command\\S3Command' ,
'responseClass' => 'ListMultipartUploadsOutput' ,
'responseType' => 'model' ,
2014-08-28 02:10:31 +04:00
'documentationUrl' => 'http://docs.aws.amazon.com/AmazonS3/latest/API/mpUploadListMPUpload.html' ,
2013-07-08 13:11:07 +04:00
'parameters' => array (
'Bucket' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
),
'Delimiter' => array (
'type' => 'string' ,
'location' => 'query' ,
'sentAs' => 'delimiter' ,
),
2014-08-28 02:10:31 +04:00
'EncodingType' => array (
'type' => 'string' ,
'location' => 'query' ,
'sentAs' => 'encoding-type' ,
),
2013-07-08 13:11:07 +04:00
'KeyMarker' => array (
'type' => 'string' ,
'location' => 'query' ,
'sentAs' => 'key-marker' ,
),
'MaxUploads' => array (
'type' => 'numeric' ,
'location' => 'query' ,
'sentAs' => 'max-uploads' ,
),
'Prefix' => array (
'type' => 'string' ,
'location' => 'query' ,
'sentAs' => 'prefix' ,
),
'UploadIdMarker' => array (
'type' => 'string' ,
'location' => 'query' ,
'sentAs' => 'upload-id-marker' ,
),
'command.expects' => array (
'static' => true ,
'default' => 'application/xml' ,
),
),
),
'ListObjectVersions' => array (
'httpMethod' => 'GET' ,
2014-08-28 02:10:31 +04:00
'uri' => '/{Bucket}?versions' ,
2013-07-08 13:11:07 +04:00
'class' => 'Aws\\S3\\Command\\S3Command' ,
'responseClass' => 'ListObjectVersionsOutput' ,
'responseType' => 'model' ,
2014-08-28 02:10:31 +04:00
'documentationUrl' => 'http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGETVersion.html' ,
2013-07-08 13:11:07 +04:00
'parameters' => array (
'Bucket' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
),
'Delimiter' => array (
'type' => 'string' ,
'location' => 'query' ,
'sentAs' => 'delimiter' ,
),
2014-08-28 02:10:31 +04:00
'EncodingType' => array (
'type' => 'string' ,
'location' => 'query' ,
'sentAs' => 'encoding-type' ,
),
2013-07-08 13:11:07 +04:00
'KeyMarker' => array (
'type' => 'string' ,
'location' => 'query' ,
'sentAs' => 'key-marker' ,
),
'MaxKeys' => array (
'type' => 'numeric' ,
'location' => 'query' ,
'sentAs' => 'max-keys' ,
),
'Prefix' => array (
'type' => 'string' ,
'location' => 'query' ,
'sentAs' => 'prefix' ,
),
'VersionIdMarker' => array (
'type' => 'string' ,
'location' => 'query' ,
'sentAs' => 'version-id-marker' ,
),
'command.expects' => array (
'static' => true ,
'default' => 'application/xml' ,
),
),
),
'ListObjects' => array (
'httpMethod' => 'GET' ,
'uri' => '/{Bucket}' ,
'class' => 'Aws\\S3\\Command\\S3Command' ,
'responseClass' => 'ListObjectsOutput' ,
'responseType' => 'model' ,
2014-08-28 02:10:31 +04:00
'documentationUrl' => 'http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGET.html' ,
2013-07-08 13:11:07 +04:00
'parameters' => array (
'Bucket' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
),
'Delimiter' => array (
'type' => 'string' ,
'location' => 'query' ,
'sentAs' => 'delimiter' ,
),
2014-08-28 02:10:31 +04:00
'EncodingType' => array (
'type' => 'string' ,
'location' => 'query' ,
'sentAs' => 'encoding-type' ,
),
2013-07-08 13:11:07 +04:00
'Marker' => array (
'type' => 'string' ,
'location' => 'query' ,
'sentAs' => 'marker' ,
),
'MaxKeys' => array (
'type' => 'numeric' ,
'location' => 'query' ,
'sentAs' => 'max-keys' ,
),
'Prefix' => array (
'type' => 'string' ,
'location' => 'query' ,
'sentAs' => 'prefix' ,
),
'command.expects' => array (
'static' => true ,
'default' => 'application/xml' ,
),
),
'errorResponses' => array (
array (
'reason' => 'The specified bucket does not exist.' ,
'class' => 'NoSuchBucketException' ,
),
),
),
'ListParts' => array (
'httpMethod' => 'GET' ,
'uri' => '/{Bucket}{/Key*}' ,
'class' => 'Aws\\S3\\Command\\S3Command' ,
'responseClass' => 'ListPartsOutput' ,
'responseType' => 'model' ,
2014-08-28 02:10:31 +04:00
'documentationUrl' => 'http://docs.aws.amazon.com/AmazonS3/latest/API/mpUploadListParts.html' ,
2013-07-08 13:11:07 +04:00
'parameters' => array (
'Bucket' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
),
'Key' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
'filters' => array (
'Aws\\S3\\S3Client::explodeKey' ,
),
),
'MaxParts' => array (
'type' => 'numeric' ,
'location' => 'query' ,
'sentAs' => 'max-parts' ,
),
'PartNumberMarker' => array (
2014-08-28 02:10:31 +04:00
'type' => 'numeric' ,
2013-07-08 13:11:07 +04:00
'location' => 'query' ,
'sentAs' => 'part-number-marker' ,
),
'UploadId' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'query' ,
'sentAs' => 'uploadId' ,
),
'command.expects' => array (
'static' => true ,
'default' => 'application/xml' ,
),
),
),
'PutBucketAcl' => array (
'httpMethod' => 'PUT' ,
2014-08-28 02:10:31 +04:00
'uri' => '/{Bucket}?acl' ,
2013-07-08 13:11:07 +04:00
'class' => 'Aws\\S3\\Command\\S3Command' ,
'responseClass' => 'PutBucketAclOutput' ,
'responseType' => 'model' ,
2014-08-28 02:10:31 +04:00
'documentationUrl' => 'http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTacl.html' ,
2013-07-08 13:11:07 +04:00
'data' => array (
'xmlRoot' => array (
'name' => 'AccessControlPolicy' ,
'namespaces' => array (
'http://s3.amazonaws.com/doc/2006-03-01/' ,
),
),
),
'parameters' => array (
'ACL' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-acl' ,
),
'Grants' => array (
'type' => 'array' ,
'location' => 'xml' ,
'sentAs' => 'AccessControlList' ,
'items' => array (
'name' => 'Grant' ,
'type' => 'object' ,
'properties' => array (
'Grantee' => array (
'type' => 'object' ,
'properties' => array (
'DisplayName' => array (
'type' => 'string' ,
),
'EmailAddress' => array (
'type' => 'string' ,
),
'ID' => array (
'type' => 'string' ,
),
'Type' => array (
'required' => true ,
'type' => 'string' ,
'sentAs' => 'xsi:type' ,
'data' => array (
'xmlAttribute' => true ,
'xmlNamespace' => 'http://www.w3.org/2001/XMLSchema-instance' ,
),
),
'URI' => array (
'type' => 'string' ,
),
),
),
'Permission' => array (
'type' => 'string' ,
),
),
),
),
'Owner' => array (
'type' => 'object' ,
'location' => 'xml' ,
'properties' => array (
'DisplayName' => array (
'type' => 'string' ,
),
'ID' => array (
'type' => 'string' ,
),
),
),
'Bucket' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
),
'GrantFullControl' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-grant-full-control' ,
),
'GrantRead' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-grant-read' ,
),
'GrantReadACP' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-grant-read-acp' ,
),
'GrantWrite' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-grant-write' ,
),
'GrantWriteACP' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-grant-write-acp' ,
),
'ACP' => array (
'type' => 'object' ,
'additionalProperties' => true ,
),
),
),
'PutBucketCors' => array (
'httpMethod' => 'PUT' ,
2014-08-28 02:10:31 +04:00
'uri' => '/{Bucket}?cors' ,
2013-07-08 13:11:07 +04:00
'class' => 'Aws\\S3\\Command\\S3Command' ,
'responseClass' => 'PutBucketCorsOutput' ,
'responseType' => 'model' ,
2014-08-28 02:10:31 +04:00
'documentationUrl' => 'http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTcors.html' ,
2013-07-08 13:11:07 +04:00
'data' => array (
'xmlRoot' => array (
'name' => 'CORSConfiguration' ,
'namespaces' => array (
'http://s3.amazonaws.com/doc/2006-03-01/' ,
),
),
2014-08-28 02:10:31 +04:00
'contentMd5' => true ,
2013-07-08 13:11:07 +04:00
),
'parameters' => array (
'Bucket' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
),
'CORSRules' => array (
'type' => 'array' ,
'location' => 'xml' ,
'data' => array (
'xmlFlattened' => true ,
),
'items' => array (
2014-08-28 02:10:31 +04:00
'name' => 'CORSRule' ,
2013-07-08 13:11:07 +04:00
'type' => 'object' ,
'sentAs' => 'CORSRule' ,
'properties' => array (
'AllowedHeaders' => array (
'type' => 'array' ,
'data' => array (
'xmlFlattened' => true ,
),
'items' => array (
2014-08-28 02:10:31 +04:00
'name' => 'AllowedHeader' ,
2013-07-08 13:11:07 +04:00
'type' => 'string' ,
'sentAs' => 'AllowedHeader' ,
),
),
'AllowedMethods' => array (
'type' => 'array' ,
'data' => array (
'xmlFlattened' => true ,
),
'items' => array (
2014-08-28 02:10:31 +04:00
'name' => 'AllowedMethod' ,
2013-07-08 13:11:07 +04:00
'type' => 'string' ,
'sentAs' => 'AllowedMethod' ,
),
),
'AllowedOrigins' => array (
'type' => 'array' ,
'data' => array (
'xmlFlattened' => true ,
),
'items' => array (
2014-08-28 02:10:31 +04:00
'name' => 'AllowedOrigin' ,
2013-07-08 13:11:07 +04:00
'type' => 'string' ,
'sentAs' => 'AllowedOrigin' ,
),
),
'ExposeHeaders' => array (
'type' => 'array' ,
'data' => array (
'xmlFlattened' => true ,
),
'items' => array (
2014-08-28 02:10:31 +04:00
'name' => 'ExposeHeader' ,
2013-07-08 13:11:07 +04:00
'type' => 'string' ,
'sentAs' => 'ExposeHeader' ,
),
),
'MaxAgeSeconds' => array (
'type' => 'numeric' ,
),
),
),
),
),
),
'PutBucketLifecycle' => array (
'httpMethod' => 'PUT' ,
2014-08-28 02:10:31 +04:00
'uri' => '/{Bucket}?lifecycle' ,
2013-07-08 13:11:07 +04:00
'class' => 'Aws\\S3\\Command\\S3Command' ,
'responseClass' => 'PutBucketLifecycleOutput' ,
'responseType' => 'model' ,
2014-08-28 02:10:31 +04:00
'documentationUrl' => 'http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTlifecycle.html' ,
2013-07-08 13:11:07 +04:00
'data' => array (
'xmlRoot' => array (
'name' => 'LifecycleConfiguration' ,
'namespaces' => array (
'http://s3.amazonaws.com/doc/2006-03-01/' ,
),
),
2014-08-28 02:10:31 +04:00
'contentMd5' => true ,
2013-07-08 13:11:07 +04:00
),
'parameters' => array (
'Bucket' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
),
'Rules' => array (
'required' => true ,
'type' => 'array' ,
'location' => 'xml' ,
'data' => array (
'xmlFlattened' => true ,
),
'items' => array (
2014-08-28 02:10:31 +04:00
'name' => 'Rule' ,
2013-07-08 13:11:07 +04:00
'type' => 'object' ,
'sentAs' => 'Rule' ,
'properties' => array (
'Expiration' => array (
'type' => 'object' ,
'properties' => array (
'Date' => array (
'type' => array (
'object' ,
'string' ,
'integer' ,
),
'format' => 'date-time' ,
),
'Days' => array (
'type' => 'numeric' ,
),
),
),
'ID' => array (
'type' => 'string' ,
),
'Prefix' => array (
'required' => true ,
'type' => 'string' ,
),
'Status' => array (
'required' => true ,
'type' => 'string' ,
),
'Transition' => array (
'type' => 'object' ,
'properties' => array (
'Date' => array (
'type' => array (
'object' ,
'string' ,
'integer' ,
),
'format' => 'date-time' ,
),
'Days' => array (
'type' => 'numeric' ,
),
'StorageClass' => array (
'type' => 'string' ,
2014-08-28 02:10:31 +04:00
),
),
),
'NoncurrentVersionTransition' => array (
'type' => 'object' ,
'properties' => array (
'NoncurrentDays' => array (
'type' => 'numeric' ,
),
'StorageClass' => array (
'type' => 'string' ,
),
),
),
'NoncurrentVersionExpiration' => array (
'type' => 'object' ,
'properties' => array (
'NoncurrentDays' => array (
'type' => 'numeric' ,
2013-07-08 13:11:07 +04:00
),
),
),
),
),
),
),
),
'PutBucketLogging' => array (
'httpMethod' => 'PUT' ,
2014-08-28 02:10:31 +04:00
'uri' => '/{Bucket}?logging' ,
2013-07-08 13:11:07 +04:00
'class' => 'Aws\\S3\\Command\\S3Command' ,
'responseClass' => 'PutBucketLoggingOutput' ,
'responseType' => 'model' ,
2014-08-28 02:10:31 +04:00
'documentationUrl' => 'http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTlogging.html' ,
2013-07-08 13:11:07 +04:00
'data' => array (
'xmlRoot' => array (
'name' => 'BucketLoggingStatus' ,
'namespaces' => array (
'http://s3.amazonaws.com/doc/2006-03-01/' ,
),
),
2014-08-28 02:10:31 +04:00
'xmlAllowEmpty' => true ,
2013-07-08 13:11:07 +04:00
),
'parameters' => array (
'Bucket' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
),
'LoggingEnabled' => array (
'type' => 'object' ,
'location' => 'xml' ,
'properties' => array (
'TargetBucket' => array (
'type' => 'string' ,
),
'TargetGrants' => array (
'type' => 'array' ,
'items' => array (
'name' => 'Grant' ,
'type' => 'object' ,
'properties' => array (
'Grantee' => array (
'type' => 'object' ,
'properties' => array (
'DisplayName' => array (
'type' => 'string' ,
),
'EmailAddress' => array (
'type' => 'string' ,
),
'ID' => array (
'type' => 'string' ,
),
'Type' => array (
'required' => true ,
'type' => 'string' ,
'sentAs' => 'xsi:type' ,
'data' => array (
'xmlAttribute' => true ,
'xmlNamespace' => 'http://www.w3.org/2001/XMLSchema-instance' ,
),
),
'URI' => array (
'type' => 'string' ,
),
),
),
'Permission' => array (
'type' => 'string' ,
),
),
),
),
'TargetPrefix' => array (
'type' => 'string' ,
),
),
),
),
),
'PutBucketNotification' => array (
'httpMethod' => 'PUT' ,
2014-08-28 02:10:31 +04:00
'uri' => '/{Bucket}?notification' ,
2013-07-08 13:11:07 +04:00
'class' => 'Aws\\S3\\Command\\S3Command' ,
'responseClass' => 'PutBucketNotificationOutput' ,
'responseType' => 'model' ,
2014-08-28 02:10:31 +04:00
'documentationUrl' => 'http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTnotification.html' ,
2013-07-08 13:11:07 +04:00
'data' => array (
'xmlRoot' => array (
'name' => 'NotificationConfiguration' ,
'namespaces' => array (
'http://s3.amazonaws.com/doc/2006-03-01/' ,
),
),
),
'parameters' => array (
'Bucket' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
),
'TopicConfiguration' => array (
'required' => true ,
'type' => 'object' ,
'location' => 'xml' ,
'properties' => array (
'Event' => array (
'type' => 'string' ,
),
'Topic' => array (
'type' => 'string' ,
),
),
),
),
),
'PutBucketPolicy' => array (
'httpMethod' => 'PUT' ,
2014-08-28 02:10:31 +04:00
'uri' => '/{Bucket}?policy' ,
2013-07-08 13:11:07 +04:00
'class' => 'Aws\\S3\\Command\\S3Command' ,
'responseClass' => 'PutBucketPolicyOutput' ,
'responseType' => 'model' ,
2014-08-28 02:10:31 +04:00
'documentationUrl' => 'http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTpolicy.html' ,
'data' => array (
'xmlRoot' => array (
'name' => 'PutBucketPolicyRequest' ,
'namespaces' => array (
'http://s3.amazonaws.com/doc/2006-03-01/' ,
),
),
),
2013-07-08 13:11:07 +04:00
'parameters' => array (
'Bucket' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
),
'Policy' => array (
'required' => true ,
'type' => array (
'string' ,
'object' ,
),
'location' => 'body' ,
),
),
),
'PutBucketRequestPayment' => array (
'httpMethod' => 'PUT' ,
2014-08-28 02:10:31 +04:00
'uri' => '/{Bucket}?requestPayment' ,
2013-07-08 13:11:07 +04:00
'class' => 'Aws\\S3\\Command\\S3Command' ,
'responseClass' => 'PutBucketRequestPaymentOutput' ,
'responseType' => 'model' ,
2014-08-28 02:10:31 +04:00
'documentationUrl' => 'http://docs.aws.amazon.com/AmazonS3/latest/API/RESTrequestPaymentPUT.html' ,
2013-07-08 13:11:07 +04:00
'data' => array (
'xmlRoot' => array (
'name' => 'RequestPaymentConfiguration' ,
'namespaces' => array (
'http://s3.amazonaws.com/doc/2006-03-01/' ,
),
),
),
'parameters' => array (
'Bucket' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
),
'Payer' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'xml' ,
),
),
),
'PutBucketTagging' => array (
'httpMethod' => 'PUT' ,
2014-08-28 02:10:31 +04:00
'uri' => '/{Bucket}?tagging' ,
2013-07-08 13:11:07 +04:00
'class' => 'Aws\\S3\\Command\\S3Command' ,
'responseClass' => 'PutBucketTaggingOutput' ,
'responseType' => 'model' ,
2014-08-28 02:10:31 +04:00
'documentationUrl' => 'http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTtagging.html' ,
2013-07-08 13:11:07 +04:00
'data' => array (
'xmlRoot' => array (
'name' => 'Tagging' ,
'namespaces' => array (
'http://s3.amazonaws.com/doc/2006-03-01/' ,
),
),
2014-08-28 02:10:31 +04:00
'contentMd5' => true ,
2013-07-08 13:11:07 +04:00
),
'parameters' => array (
'Bucket' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
),
'TagSet' => array (
'required' => true ,
'type' => 'array' ,
'location' => 'xml' ,
'items' => array (
'name' => 'Tag' ,
'type' => 'object' ,
'properties' => array (
'Key' => array (
'required' => true ,
'type' => 'string' ,
),
'Value' => array (
'required' => true ,
'type' => 'string' ,
),
),
),
),
),
),
'PutBucketVersioning' => array (
'httpMethod' => 'PUT' ,
2014-08-28 02:10:31 +04:00
'uri' => '/{Bucket}?versioning' ,
2013-07-08 13:11:07 +04:00
'class' => 'Aws\\S3\\Command\\S3Command' ,
'responseClass' => 'PutBucketVersioningOutput' ,
'responseType' => 'model' ,
2014-08-28 02:10:31 +04:00
'documentationUrl' => 'http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTVersioningStatus.html' ,
2013-07-08 13:11:07 +04:00
'data' => array (
'xmlRoot' => array (
'name' => 'VersioningConfiguration' ,
'namespaces' => array (
'http://s3.amazonaws.com/doc/2006-03-01/' ,
),
),
),
'parameters' => array (
'Bucket' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
),
'MFA' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-mfa' ,
),
'MFADelete' => array (
'type' => 'string' ,
'location' => 'xml' ,
2014-08-28 02:10:31 +04:00
'sentAs' => 'MfaDelete' ,
2013-07-08 13:11:07 +04:00
),
'Status' => array (
'type' => 'string' ,
'location' => 'xml' ,
),
),
),
'PutBucketWebsite' => array (
'httpMethod' => 'PUT' ,
2014-08-28 02:10:31 +04:00
'uri' => '/{Bucket}?website' ,
2013-07-08 13:11:07 +04:00
'class' => 'Aws\\S3\\Command\\S3Command' ,
'responseClass' => 'PutBucketWebsiteOutput' ,
'responseType' => 'model' ,
2014-08-28 02:10:31 +04:00
'documentationUrl' => 'http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTwebsite.html' ,
2013-07-08 13:11:07 +04:00
'data' => array (
'xmlRoot' => array (
'name' => 'WebsiteConfiguration' ,
'namespaces' => array (
'http://s3.amazonaws.com/doc/2006-03-01/' ,
),
),
'xmlAllowEmpty' => true ,
),
'parameters' => array (
'Bucket' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
),
'ErrorDocument' => array (
'type' => 'object' ,
'location' => 'xml' ,
'properties' => array (
'Key' => array (
'required' => true ,
'type' => 'string' ,
),
),
),
'IndexDocument' => array (
'type' => 'object' ,
'location' => 'xml' ,
'properties' => array (
'Suffix' => array (
'required' => true ,
'type' => 'string' ,
),
),
),
'RedirectAllRequestsTo' => array (
'type' => 'object' ,
'location' => 'xml' ,
'properties' => array (
'HostName' => array (
'required' => true ,
'type' => 'string' ,
),
'Protocol' => array (
'type' => 'string' ,
),
),
),
'RoutingRules' => array (
'type' => 'array' ,
'location' => 'xml' ,
'items' => array (
'name' => 'RoutingRule' ,
'type' => 'object' ,
'properties' => array (
'Condition' => array (
'type' => 'object' ,
'properties' => array (
'HttpErrorCodeReturnedEquals' => array (
'type' => 'string' ,
),
'KeyPrefixEquals' => array (
'type' => 'string' ,
),
),
),
'Redirect' => array (
'required' => true ,
'type' => 'object' ,
'properties' => array (
'HostName' => array (
'type' => 'string' ,
),
'HttpRedirectCode' => array (
'type' => 'string' ,
),
'Protocol' => array (
'type' => 'string' ,
),
'ReplaceKeyPrefixWith' => array (
'type' => 'string' ,
),
'ReplaceKeyWith' => array (
'type' => 'string' ,
),
),
),
),
),
),
),
),
'PutObject' => array (
'httpMethod' => 'PUT' ,
'uri' => '/{Bucket}{/Key*}' ,
'class' => 'Aws\\S3\\Command\\S3Command' ,
'responseClass' => 'PutObjectOutput' ,
'responseType' => 'model' ,
2014-08-28 02:10:31 +04:00
'documentationUrl' => 'http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPUT.html' ,
'data' => array (
'xmlRoot' => array (
'name' => 'PutObjectRequest' ,
'namespaces' => array (
'http://s3.amazonaws.com/doc/2006-03-01/' ,
),
),
),
2013-07-08 13:11:07 +04:00
'parameters' => array (
'ACL' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-acl' ,
),
'Body' => array (
'type' => array (
'string' ,
'object' ,
),
'location' => 'body' ,
),
'Bucket' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
),
'CacheControl' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'Cache-Control' ,
),
'ContentDisposition' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'Content-Disposition' ,
),
'ContentEncoding' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'Content-Encoding' ,
),
'ContentLanguage' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'Content-Language' ,
),
'ContentLength' => array (
'type' => 'numeric' ,
'location' => 'header' ,
'sentAs' => 'Content-Length' ,
),
'ContentMD5' => array (
2014-08-28 02:10:31 +04:00
'type' => array (
'string' ,
'boolean' ,
),
'location' => 'header' ,
'sentAs' => 'Content-MD5' ,
2013-07-08 13:11:07 +04:00
),
'ContentType' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'Content-Type' ,
),
'Expires' => array (
'type' => array (
'object' ,
'string' ,
'integer' ,
),
'format' => 'date-time-http' ,
'location' => 'header' ,
),
'GrantFullControl' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-grant-full-control' ,
),
'GrantRead' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-grant-read' ,
),
'GrantReadACP' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-grant-read-acp' ,
),
'GrantWriteACP' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-grant-write-acp' ,
),
'Key' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
'filters' => array (
'Aws\\S3\\S3Client::explodeKey' ,
),
),
'Metadata' => array (
'type' => 'object' ,
'location' => 'header' ,
'sentAs' => 'x-amz-meta-' ,
'additionalProperties' => array (
'type' => 'string' ,
),
),
'ServerSideEncryption' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-server-side-encryption' ,
),
'StorageClass' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-storage-class' ,
),
'WebsiteRedirectLocation' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-website-redirect-location' ,
),
2014-08-28 02:10:31 +04:00
'SSECustomerAlgorithm' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-server-side-encryption-customer-algorithm' ,
),
'SSECustomerKey' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-server-side-encryption-customer-key' ,
),
'SSECustomerKeyMD5' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-server-side-encryption-customer-key-MD5' ,
2013-07-08 13:11:07 +04:00
),
'ACP' => array (
'type' => 'object' ,
'additionalProperties' => true ,
),
),
),
'PutObjectAcl' => array (
'httpMethod' => 'PUT' ,
2014-08-28 02:10:31 +04:00
'uri' => '/{Bucket}{/Key*}?acl' ,
2013-07-08 13:11:07 +04:00
'class' => 'Aws\\S3\\Command\\S3Command' ,
'responseClass' => 'PutObjectAclOutput' ,
'responseType' => 'model' ,
2014-08-28 02:10:31 +04:00
'documentationUrl' => 'http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPUTacl.html' ,
2013-07-08 13:11:07 +04:00
'data' => array (
'xmlRoot' => array (
'name' => 'AccessControlPolicy' ,
'namespaces' => array (
'http://s3.amazonaws.com/doc/2006-03-01/' ,
),
),
),
'parameters' => array (
'ACL' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-acl' ,
),
'Grants' => array (
'type' => 'array' ,
'location' => 'xml' ,
'sentAs' => 'AccessControlList' ,
'items' => array (
'name' => 'Grant' ,
'type' => 'object' ,
'properties' => array (
'Grantee' => array (
'type' => 'object' ,
'properties' => array (
'DisplayName' => array (
'type' => 'string' ,
),
'EmailAddress' => array (
'type' => 'string' ,
),
'ID' => array (
'type' => 'string' ,
),
'Type' => array (
'required' => true ,
'type' => 'string' ,
'sentAs' => 'xsi:type' ,
'data' => array (
'xmlAttribute' => true ,
'xmlNamespace' => 'http://www.w3.org/2001/XMLSchema-instance' ,
),
),
'URI' => array (
'type' => 'string' ,
),
),
),
'Permission' => array (
'type' => 'string' ,
),
),
),
),
'Owner' => array (
'type' => 'object' ,
'location' => 'xml' ,
'properties' => array (
'DisplayName' => array (
'type' => 'string' ,
),
'ID' => array (
'type' => 'string' ,
),
),
),
'Bucket' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
),
'GrantFullControl' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-grant-full-control' ,
),
'GrantRead' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-grant-read' ,
),
'GrantReadACP' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-grant-read-acp' ,
),
'GrantWrite' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-grant-write' ,
),
'GrantWriteACP' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-grant-write-acp' ,
),
'Key' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
'filters' => array (
'Aws\\S3\\S3Client::explodeKey' ,
),
),
'ACP' => array (
'type' => 'object' ,
'additionalProperties' => true ,
),
),
'errorResponses' => array (
array (
'reason' => 'The specified key does not exist.' ,
'class' => 'NoSuchKeyException' ,
),
),
),
'RestoreObject' => array (
'httpMethod' => 'POST' ,
2014-08-28 02:10:31 +04:00
'uri' => '/{Bucket}{/Key*}?restore' ,
2013-07-08 13:11:07 +04:00
'class' => 'Aws\\S3\\Command\\S3Command' ,
'responseClass' => 'RestoreObjectOutput' ,
'responseType' => 'model' ,
2014-08-28 02:10:31 +04:00
'documentationUrl' => 'http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectRestore.html' ,
2013-07-08 13:11:07 +04:00
'data' => array (
'xmlRoot' => array (
'name' => 'RestoreRequest' ,
'namespaces' => array (
'http://s3.amazonaws.com/doc/2006-03-01/' ,
),
),
),
'parameters' => array (
'Bucket' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
),
'Key' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
'filters' => array (
'Aws\\S3\\S3Client::explodeKey' ,
),
),
'Days' => array (
'required' => true ,
'type' => 'numeric' ,
'location' => 'xml' ,
),
),
'errorResponses' => array (
array (
'reason' => 'This operation is not allowed against this storage tier' ,
'class' => 'ObjectAlreadyInActiveTierErrorException' ,
),
),
),
'UploadPart' => array (
'httpMethod' => 'PUT' ,
'uri' => '/{Bucket}{/Key*}' ,
'class' => 'Aws\\S3\\Command\\S3Command' ,
'responseClass' => 'UploadPartOutput' ,
'responseType' => 'model' ,
2014-08-28 02:10:31 +04:00
'documentationUrl' => 'http://docs.aws.amazon.com/AmazonS3/latest/API/mpUploadUploadPart.html' ,
'data' => array (
'xmlRoot' => array (
'name' => 'UploadPartRequest' ,
'namespaces' => array (
'http://s3.amazonaws.com/doc/2006-03-01/' ,
),
),
),
2013-07-08 13:11:07 +04:00
'parameters' => array (
'Body' => array (
'type' => array (
'string' ,
'object' ,
),
'location' => 'body' ,
),
'Bucket' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
),
'ContentLength' => array (
'type' => 'numeric' ,
'location' => 'header' ,
'sentAs' => 'Content-Length' ,
),
2014-08-28 02:10:31 +04:00
'ContentMD5' => array (
'type' => array (
'string' ,
'boolean' ,
),
'location' => 'header' ,
'sentAs' => 'Content-MD5' ,
),
2013-07-08 13:11:07 +04:00
'Key' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
'filters' => array (
'Aws\\S3\\S3Client::explodeKey' ,
),
),
'PartNumber' => array (
'required' => true ,
2014-08-28 02:10:31 +04:00
'type' => 'numeric' ,
2013-07-08 13:11:07 +04:00
'location' => 'query' ,
'sentAs' => 'partNumber' ,
),
'UploadId' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'query' ,
'sentAs' => 'uploadId' ,
),
2014-08-28 02:10:31 +04:00
'SSECustomerAlgorithm' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-server-side-encryption-customer-algorithm' ,
),
'SSECustomerKey' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-server-side-encryption-customer-key' ,
2013-07-08 13:11:07 +04:00
),
2014-08-28 02:10:31 +04:00
'SSECustomerKeyMD5' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-server-side-encryption-customer-key-MD5' ,
2013-07-08 13:11:07 +04:00
),
),
),
'UploadPartCopy' => array (
'httpMethod' => 'PUT' ,
'uri' => '/{Bucket}{/Key*}' ,
'class' => 'Aws\\S3\\Command\\S3Command' ,
'responseClass' => 'UploadPartCopyOutput' ,
'responseType' => 'model' ,
2014-08-28 02:10:31 +04:00
'documentationUrl' => 'http://docs.aws.amazon.com/AmazonS3/latest/API/mpUploadUploadPartCopy.html' ,
'data' => array (
'xmlRoot' => array (
'name' => 'UploadPartCopyRequest' ,
'namespaces' => array (
'http://s3.amazonaws.com/doc/2006-03-01/' ,
),
),
),
2013-07-08 13:11:07 +04:00
'parameters' => array (
'Bucket' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
),
'CopySource' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-copy-source' ,
),
'CopySourceIfMatch' => array (
2014-08-28 02:10:31 +04:00
'type' => 'string' ,
2013-07-08 13:11:07 +04:00
'location' => 'header' ,
'sentAs' => 'x-amz-copy-source-if-match' ,
),
'CopySourceIfModifiedSince' => array (
'type' => array (
'object' ,
'string' ,
'integer' ,
),
'format' => 'date-time-http' ,
'location' => 'header' ,
'sentAs' => 'x-amz-copy-source-if-modified-since' ,
),
'CopySourceIfNoneMatch' => array (
2014-08-28 02:10:31 +04:00
'type' => 'string' ,
2013-07-08 13:11:07 +04:00
'location' => 'header' ,
'sentAs' => 'x-amz-copy-source-if-none-match' ,
),
'CopySourceIfUnmodifiedSince' => array (
'type' => array (
'object' ,
'string' ,
'integer' ,
),
'format' => 'date-time-http' ,
'location' => 'header' ,
'sentAs' => 'x-amz-copy-source-if-unmodified-since' ,
),
'CopySourceRange' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-copy-source-range' ,
),
'Key' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'uri' ,
'filters' => array (
'Aws\\S3\\S3Client::explodeKey' ,
),
),
'PartNumber' => array (
'required' => true ,
2014-08-28 02:10:31 +04:00
'type' => 'numeric' ,
2013-07-08 13:11:07 +04:00
'location' => 'query' ,
'sentAs' => 'partNumber' ,
),
'UploadId' => array (
'required' => true ,
'type' => 'string' ,
'location' => 'query' ,
'sentAs' => 'uploadId' ,
),
2014-08-28 02:10:31 +04:00
'SSECustomerAlgorithm' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-server-side-encryption-customer-algorithm' ,
),
'SSECustomerKey' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-server-side-encryption-customer-key' ,
),
'SSECustomerKeyMD5' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-server-side-encryption-customer-key-MD5' ,
),
'CopySourceSSECustomerAlgorithm' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-copy-source-server-side-encryption-customer-algorithm' ,
),
'CopySourceSSECustomerKey' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-copy-source-server-side-encryption-customer-key' ,
),
'CopySourceSSECustomerKeyMD5' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-copy-source-server-side-encryption-customer-key-MD5' ,
),
2013-07-08 13:11:07 +04:00
'command.expects' => array (
'static' => true ,
'default' => 'application/xml' ,
),
),
),
),
'models' => array (
'AbortMultipartUploadOutput' => array (
'type' => 'object' ,
'additionalProperties' => true ,
'properties' => array (
'RequestId' => array (
'location' => 'header' ,
'sentAs' => 'x-amz-request-id' ,
),
),
),
'CompleteMultipartUploadOutput' => array (
'type' => 'object' ,
'additionalProperties' => true ,
'properties' => array (
'Location' => array (
'type' => 'string' ,
'location' => 'xml' ,
),
'Bucket' => array (
'type' => 'string' ,
'location' => 'xml' ,
),
'Key' => array (
'type' => 'string' ,
'location' => 'xml' ,
),
'Expiration' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-expiration' ,
),
'ETag' => array (
'type' => 'string' ,
'location' => 'xml' ,
),
'ServerSideEncryption' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-server-side-encryption' ,
),
'VersionId' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-version-id' ,
),
'RequestId' => array (
'location' => 'header' ,
'sentAs' => 'x-amz-request-id' ,
),
),
),
'CopyObjectOutput' => array (
'type' => 'object' ,
'additionalProperties' => true ,
'properties' => array (
'ETag' => array (
'type' => 'string' ,
'location' => 'xml' ,
),
'LastModified' => array (
'type' => 'string' ,
'location' => 'xml' ,
),
'Expiration' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-expiration' ,
),
'CopySourceVersionId' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-copy-source-version-id' ,
),
'ServerSideEncryption' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-server-side-encryption' ,
),
2014-08-28 02:10:31 +04:00
'SSECustomerAlgorithm' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-server-side-encryption-customer-algorithm' ,
),
'SSECustomerKeyMD5' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-server-side-encryption-customer-key-MD5' ,
),
2013-07-08 13:11:07 +04:00
'RequestId' => array (
'location' => 'header' ,
'sentAs' => 'x-amz-request-id' ,
),
),
),
'CreateBucketOutput' => array (
'type' => 'object' ,
'additionalProperties' => true ,
'properties' => array (
'Location' => array (
'type' => 'string' ,
'location' => 'header' ,
),
'RequestId' => array (
'location' => 'header' ,
'sentAs' => 'x-amz-request-id' ,
),
),
),
'CreateMultipartUploadOutput' => array (
'type' => 'object' ,
'additionalProperties' => true ,
'properties' => array (
'Bucket' => array (
'type' => 'string' ,
'location' => 'xml' ,
'sentAs' => 'Bucket' ,
),
'Key' => array (
'type' => 'string' ,
'location' => 'xml' ,
),
'UploadId' => array (
'type' => 'string' ,
'location' => 'xml' ,
),
'ServerSideEncryption' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-server-side-encryption' ,
),
2014-08-28 02:10:31 +04:00
'SSECustomerAlgorithm' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-server-side-encryption-customer-algorithm' ,
),
'SSECustomerKeyMD5' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-server-side-encryption-customer-key-MD5' ,
),
2013-07-08 13:11:07 +04:00
'RequestId' => array (
'location' => 'header' ,
'sentAs' => 'x-amz-request-id' ,
),
),
),
'DeleteBucketOutput' => array (
'type' => 'object' ,
'additionalProperties' => true ,
'properties' => array (
'RequestId' => array (
'location' => 'header' ,
'sentAs' => 'x-amz-request-id' ,
),
),
),
'DeleteBucketCorsOutput' => array (
'type' => 'object' ,
'additionalProperties' => true ,
'properties' => array (
'RequestId' => array (
'location' => 'header' ,
'sentAs' => 'x-amz-request-id' ,
),
),
),
'DeleteBucketLifecycleOutput' => array (
'type' => 'object' ,
'additionalProperties' => true ,
'properties' => array (
'RequestId' => array (
'location' => 'header' ,
'sentAs' => 'x-amz-request-id' ,
),
),
),
'DeleteBucketPolicyOutput' => array (
'type' => 'object' ,
'additionalProperties' => true ,
'properties' => array (
'RequestId' => array (
'location' => 'header' ,
'sentAs' => 'x-amz-request-id' ,
),
),
),
'DeleteBucketTaggingOutput' => array (
'type' => 'object' ,
'additionalProperties' => true ,
'properties' => array (
'RequestId' => array (
'location' => 'header' ,
'sentAs' => 'x-amz-request-id' ,
),
),
),
'DeleteBucketWebsiteOutput' => array (
'type' => 'object' ,
'additionalProperties' => true ,
'properties' => array (
'RequestId' => array (
'location' => 'header' ,
'sentAs' => 'x-amz-request-id' ,
),
),
),
'DeleteObjectOutput' => array (
'type' => 'object' ,
'additionalProperties' => true ,
'properties' => array (
'DeleteMarker' => array (
2014-08-28 02:10:31 +04:00
'type' => 'boolean' ,
2013-07-08 13:11:07 +04:00
'location' => 'header' ,
'sentAs' => 'x-amz-delete-marker' ,
),
'VersionId' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-version-id' ,
),
'RequestId' => array (
'location' => 'header' ,
'sentAs' => 'x-amz-request-id' ,
),
),
),
'DeleteObjectsOutput' => array (
'type' => 'object' ,
'additionalProperties' => true ,
'properties' => array (
'Deleted' => array (
'type' => 'array' ,
'location' => 'xml' ,
'data' => array (
'xmlFlattened' => true ,
),
'items' => array (
2014-08-28 02:10:31 +04:00
'name' => 'DeletedObject' ,
2013-07-08 13:11:07 +04:00
'type' => 'object' ,
'properties' => array (
'Key' => array (
'type' => 'string' ,
),
'VersionId' => array (
'type' => 'string' ,
),
'DeleteMarker' => array (
'type' => 'boolean' ,
),
'DeleteMarkerVersionId' => array (
'type' => 'string' ,
),
),
),
),
'Errors' => array (
'type' => 'array' ,
'location' => 'xml' ,
'sentAs' => 'Error' ,
'data' => array (
'xmlFlattened' => true ,
),
'items' => array (
2014-08-28 02:10:31 +04:00
'name' => 'Error' ,
2013-07-08 13:11:07 +04:00
'type' => 'object' ,
'sentAs' => 'Error' ,
'properties' => array (
'Key' => array (
'type' => 'string' ,
),
'VersionId' => array (
'type' => 'string' ,
),
'Code' => array (
'type' => 'string' ,
),
'Message' => array (
'type' => 'string' ,
),
),
),
),
'RequestId' => array (
'location' => 'header' ,
'sentAs' => 'x-amz-request-id' ,
),
),
),
'GetBucketAclOutput' => array (
'type' => 'object' ,
'additionalProperties' => true ,
'properties' => array (
'Owner' => array (
'type' => 'object' ,
'location' => 'xml' ,
'properties' => array (
2014-08-28 02:10:31 +04:00
'DisplayName' => array (
2013-07-08 13:11:07 +04:00
'type' => 'string' ,
),
2014-08-28 02:10:31 +04:00
'ID' => array (
2013-07-08 13:11:07 +04:00
'type' => 'string' ,
),
),
),
'Grants' => array (
'type' => 'array' ,
'location' => 'xml' ,
'sentAs' => 'AccessControlList' ,
'items' => array (
'name' => 'Grant' ,
'type' => 'object' ,
'sentAs' => 'Grant' ,
'properties' => array (
'Grantee' => array (
'type' => 'object' ,
'properties' => array (
2014-08-28 02:10:31 +04:00
'DisplayName' => array (
2013-07-08 13:11:07 +04:00
'type' => 'string' ,
),
2014-08-28 02:10:31 +04:00
'EmailAddress' => array (
2013-07-08 13:11:07 +04:00
'type' => 'string' ,
),
2014-08-28 02:10:31 +04:00
'ID' => array (
2013-07-08 13:11:07 +04:00
'type' => 'string' ,
),
2014-08-28 02:10:31 +04:00
'Type' => array (
2013-07-08 13:11:07 +04:00
'type' => 'string' ,
2014-08-28 02:10:31 +04:00
'sentAs' => 'xsi:type' ,
'data' => array (
'xmlAttribute' => true ,
'xmlNamespace' => 'http://www.w3.org/2001/XMLSchema-instance' ,
),
2013-07-08 13:11:07 +04:00
),
'URI' => array (
'type' => 'string' ,
),
),
),
'Permission' => array (
'type' => 'string' ,
),
),
),
),
'RequestId' => array (
'location' => 'header' ,
'sentAs' => 'x-amz-request-id' ,
),
),
),
'GetBucketCorsOutput' => array (
'type' => 'object' ,
'additionalProperties' => true ,
'properties' => array (
'CORSRules' => array (
'type' => 'array' ,
'location' => 'xml' ,
'sentAs' => 'CORSRule' ,
'data' => array (
'xmlFlattened' => true ,
),
'items' => array (
2014-08-28 02:10:31 +04:00
'name' => 'CORSRule' ,
2013-07-08 13:11:07 +04:00
'type' => 'object' ,
'sentAs' => 'CORSRule' ,
'properties' => array (
'AllowedHeaders' => array (
'type' => 'array' ,
'sentAs' => 'AllowedHeader' ,
'data' => array (
'xmlFlattened' => true ,
),
'items' => array (
2014-08-28 02:10:31 +04:00
'name' => 'AllowedHeader' ,
2013-07-08 13:11:07 +04:00
'type' => 'string' ,
'sentAs' => 'AllowedHeader' ,
),
),
2014-08-28 02:10:31 +04:00
'AllowedMethods' => array (
2013-07-08 13:11:07 +04:00
'type' => 'array' ,
2014-08-28 02:10:31 +04:00
'sentAs' => 'AllowedMethod' ,
2013-07-08 13:11:07 +04:00
'data' => array (
'xmlFlattened' => true ,
),
'items' => array (
2014-08-28 02:10:31 +04:00
'name' => 'AllowedMethod' ,
2013-07-08 13:11:07 +04:00
'type' => 'string' ,
2014-08-28 02:10:31 +04:00
'sentAs' => 'AllowedMethod' ,
2013-07-08 13:11:07 +04:00
),
),
2014-08-28 02:10:31 +04:00
'AllowedOrigins' => array (
2013-07-08 13:11:07 +04:00
'type' => 'array' ,
2014-08-28 02:10:31 +04:00
'sentAs' => 'AllowedOrigin' ,
2013-07-08 13:11:07 +04:00
'data' => array (
'xmlFlattened' => true ,
),
'items' => array (
2014-08-28 02:10:31 +04:00
'name' => 'AllowedOrigin' ,
2013-07-08 13:11:07 +04:00
'type' => 'string' ,
2014-08-28 02:10:31 +04:00
'sentAs' => 'AllowedOrigin' ,
2013-07-08 13:11:07 +04:00
),
),
'ExposeHeaders' => array (
'type' => 'array' ,
'sentAs' => 'ExposeHeader' ,
'data' => array (
'xmlFlattened' => true ,
),
'items' => array (
2014-08-28 02:10:31 +04:00
'name' => 'ExposeHeader' ,
2013-07-08 13:11:07 +04:00
'type' => 'string' ,
'sentAs' => 'ExposeHeader' ,
),
),
2014-08-28 02:10:31 +04:00
'MaxAgeSeconds' => array (
'type' => 'numeric' ,
),
2013-07-08 13:11:07 +04:00
),
),
),
'RequestId' => array (
'location' => 'header' ,
'sentAs' => 'x-amz-request-id' ,
),
),
),
'GetBucketLifecycleOutput' => array (
'type' => 'object' ,
'additionalProperties' => true ,
'properties' => array (
'Rules' => array (
'type' => 'array' ,
'location' => 'xml' ,
'sentAs' => 'Rule' ,
'data' => array (
'xmlFlattened' => true ,
),
'items' => array (
2014-08-28 02:10:31 +04:00
'name' => 'Rule' ,
2013-07-08 13:11:07 +04:00
'type' => 'object' ,
'sentAs' => 'Rule' ,
'properties' => array (
2014-08-28 02:10:31 +04:00
'Expiration' => array (
'type' => 'object' ,
'properties' => array (
'Date' => array (
'type' => 'string' ,
),
'Days' => array (
'type' => 'numeric' ,
),
),
),
2013-07-08 13:11:07 +04:00
'ID' => array (
'type' => 'string' ,
),
'Prefix' => array (
'type' => 'string' ,
),
'Status' => array (
'type' => 'string' ,
),
'Transition' => array (
'type' => 'object' ,
'properties' => array (
'Date' => array (
'type' => 'string' ,
),
2014-08-28 02:10:31 +04:00
'Days' => array (
'type' => 'numeric' ,
),
2013-07-08 13:11:07 +04:00
'StorageClass' => array (
'type' => 'string' ,
),
),
),
2014-08-28 02:10:31 +04:00
'NoncurrentVersionTransition' => array (
2013-07-08 13:11:07 +04:00
'type' => 'object' ,
'properties' => array (
2014-08-28 02:10:31 +04:00
'NoncurrentDays' => array (
2013-07-08 13:11:07 +04:00
'type' => 'numeric' ,
),
2014-08-28 02:10:31 +04:00
'StorageClass' => array (
2013-07-08 13:11:07 +04:00
'type' => 'string' ,
),
),
),
2014-08-28 02:10:31 +04:00
'NoncurrentVersionExpiration' => array (
'type' => 'object' ,
'properties' => array (
'NoncurrentDays' => array (
'type' => 'numeric' ,
),
),
),
2013-07-08 13:11:07 +04:00
),
),
),
'RequestId' => array (
'location' => 'header' ,
'sentAs' => 'x-amz-request-id' ,
),
),
),
'GetBucketLocationOutput' => array (
'type' => 'object' ,
'additionalProperties' => true ,
'properties' => array (
'Location' => array (
'type' => 'string' ,
'location' => 'body' ,
'filters' => array (
'strval' ,
'strip_tags' ,
'trim' ,
),
),
),
),
'GetBucketLoggingOutput' => array (
'type' => 'object' ,
'additionalProperties' => true ,
'properties' => array (
'LoggingEnabled' => array (
'type' => 'object' ,
'location' => 'xml' ,
'properties' => array (
'TargetBucket' => array (
'type' => 'string' ,
),
'TargetGrants' => array (
'type' => 'array' ,
'items' => array (
'name' => 'Grant' ,
'type' => 'object' ,
'sentAs' => 'Grant' ,
'properties' => array (
'Grantee' => array (
'type' => 'object' ,
'properties' => array (
2014-08-28 02:10:31 +04:00
'DisplayName' => array (
2013-07-08 13:11:07 +04:00
'type' => 'string' ,
),
2014-08-28 02:10:31 +04:00
'EmailAddress' => array (
2013-07-08 13:11:07 +04:00
'type' => 'string' ,
),
2014-08-28 02:10:31 +04:00
'ID' => array (
2013-07-08 13:11:07 +04:00
'type' => 'string' ,
),
2014-08-28 02:10:31 +04:00
'Type' => array (
2013-07-08 13:11:07 +04:00
'type' => 'string' ,
2014-08-28 02:10:31 +04:00
'sentAs' => 'xsi:type' ,
'data' => array (
'xmlAttribute' => true ,
'xmlNamespace' => 'http://www.w3.org/2001/XMLSchema-instance' ,
),
2013-07-08 13:11:07 +04:00
),
'URI' => array (
'type' => 'string' ,
),
),
),
'Permission' => array (
'type' => 'string' ,
),
),
),
),
2014-08-28 02:10:31 +04:00
'TargetPrefix' => array (
'type' => 'string' ,
),
2013-07-08 13:11:07 +04:00
),
),
'RequestId' => array (
'location' => 'header' ,
'sentAs' => 'x-amz-request-id' ,
),
),
),
'GetBucketNotificationOutput' => array (
'type' => 'object' ,
'additionalProperties' => true ,
'properties' => array (
'TopicConfiguration' => array (
'type' => 'object' ,
'location' => 'xml' ,
'properties' => array (
2014-08-28 02:10:31 +04:00
'Event' => array (
2013-07-08 13:11:07 +04:00
'type' => 'string' ,
),
2014-08-28 02:10:31 +04:00
'Topic' => array (
2013-07-08 13:11:07 +04:00
'type' => 'string' ,
),
),
),
'RequestId' => array (
'location' => 'header' ,
'sentAs' => 'x-amz-request-id' ,
),
),
),
'GetBucketPolicyOutput' => array (
'type' => 'object' ,
'additionalProperties' => true ,
'properties' => array (
'Policy' => array (
'type' => 'string' ,
'instanceOf' => 'Guzzle\\Http\\EntityBody' ,
'location' => 'body' ,
),
'RequestId' => array (
'location' => 'header' ,
'sentAs' => 'x-amz-request-id' ,
),
),
),
'GetBucketRequestPaymentOutput' => array (
'type' => 'object' ,
'additionalProperties' => true ,
'properties' => array (
'Payer' => array (
'type' => 'string' ,
'location' => 'xml' ,
),
'RequestId' => array (
'location' => 'header' ,
'sentAs' => 'x-amz-request-id' ,
),
),
),
'GetBucketTaggingOutput' => array (
'type' => 'object' ,
'additionalProperties' => true ,
'properties' => array (
'TagSet' => array (
'type' => 'array' ,
'location' => 'xml' ,
'items' => array (
'name' => 'Tag' ,
'type' => 'object' ,
'sentAs' => 'Tag' ,
'properties' => array (
'Key' => array (
'type' => 'string' ,
),
'Value' => array (
'type' => 'string' ,
),
),
),
),
'RequestId' => array (
'location' => 'header' ,
'sentAs' => 'x-amz-request-id' ,
),
),
),
'GetBucketVersioningOutput' => array (
'type' => 'object' ,
'additionalProperties' => true ,
'properties' => array (
'Status' => array (
'type' => 'string' ,
'location' => 'xml' ,
),
'MFADelete' => array (
'type' => 'string' ,
'location' => 'xml' ,
2014-08-28 02:10:31 +04:00
'sentAs' => 'MfaDelete' ,
2013-07-08 13:11:07 +04:00
),
'RequestId' => array (
'location' => 'header' ,
'sentAs' => 'x-amz-request-id' ,
),
),
),
'GetBucketWebsiteOutput' => array (
'type' => 'object' ,
'additionalProperties' => true ,
'properties' => array (
'RedirectAllRequestsTo' => array (
'type' => 'object' ,
'location' => 'xml' ,
'properties' => array (
'HostName' => array (
'type' => 'string' ,
),
'Protocol' => array (
'type' => 'string' ,
),
),
),
'IndexDocument' => array (
'type' => 'object' ,
'location' => 'xml' ,
'properties' => array (
'Suffix' => array (
'type' => 'string' ,
),
),
),
'ErrorDocument' => array (
'type' => 'object' ,
'location' => 'xml' ,
'properties' => array (
'Key' => array (
'type' => 'string' ,
),
),
),
'RoutingRules' => array (
'type' => 'array' ,
'location' => 'xml' ,
'items' => array (
'name' => 'RoutingRule' ,
'type' => 'object' ,
'sentAs' => 'RoutingRule' ,
'properties' => array (
'Condition' => array (
'type' => 'object' ,
'properties' => array (
2014-08-28 02:10:31 +04:00
'HttpErrorCodeReturnedEquals' => array (
2013-07-08 13:11:07 +04:00
'type' => 'string' ,
),
2014-08-28 02:10:31 +04:00
'KeyPrefixEquals' => array (
2013-07-08 13:11:07 +04:00
'type' => 'string' ,
),
),
),
'Redirect' => array (
'type' => 'object' ,
'properties' => array (
2014-08-28 02:10:31 +04:00
'HostName' => array (
2013-07-08 13:11:07 +04:00
'type' => 'string' ,
),
2014-08-28 02:10:31 +04:00
'HttpRedirectCode' => array (
2013-07-08 13:11:07 +04:00
'type' => 'string' ,
),
2014-08-28 02:10:31 +04:00
'Protocol' => array (
2013-07-08 13:11:07 +04:00
'type' => 'string' ,
),
2014-08-28 02:10:31 +04:00
'ReplaceKeyPrefixWith' => array (
2013-07-08 13:11:07 +04:00
'type' => 'string' ,
),
2014-08-28 02:10:31 +04:00
'ReplaceKeyWith' => array (
2013-07-08 13:11:07 +04:00
'type' => 'string' ,
),
),
),
),
),
),
'RequestId' => array (
'location' => 'header' ,
'sentAs' => 'x-amz-request-id' ,
),
),
),
'GetObjectOutput' => array (
'type' => 'object' ,
'additionalProperties' => true ,
'properties' => array (
'Body' => array (
'type' => 'string' ,
'instanceOf' => 'Guzzle\\Http\\EntityBody' ,
'location' => 'body' ,
),
'DeleteMarker' => array (
2014-08-28 02:10:31 +04:00
'type' => 'boolean' ,
2013-07-08 13:11:07 +04:00
'location' => 'header' ,
'sentAs' => 'x-amz-delete-marker' ,
),
'AcceptRanges' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'accept-ranges' ,
),
'Expiration' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-expiration' ,
),
'Restore' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-restore' ,
),
'LastModified' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'Last-Modified' ,
),
'ContentLength' => array (
'type' => 'numeric' ,
'location' => 'header' ,
'sentAs' => 'Content-Length' ,
),
'ETag' => array (
'type' => 'string' ,
'location' => 'header' ,
),
'MissingMeta' => array (
'type' => 'numeric' ,
'location' => 'header' ,
'sentAs' => 'x-amz-missing-meta' ,
),
'VersionId' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-version-id' ,
),
'CacheControl' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'Cache-Control' ,
),
'ContentDisposition' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'Content-Disposition' ,
),
'ContentEncoding' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'Content-Encoding' ,
),
'ContentLanguage' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'Content-Language' ,
),
'ContentType' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'Content-Type' ,
),
'Expires' => array (
'type' => 'string' ,
'location' => 'header' ,
),
'WebsiteRedirectLocation' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-website-redirect-location' ,
),
'ServerSideEncryption' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-server-side-encryption' ,
),
'Metadata' => array (
'type' => 'object' ,
'location' => 'header' ,
'sentAs' => 'x-amz-meta-' ,
'additionalProperties' => array (
'type' => 'string' ,
),
),
2014-08-28 02:10:31 +04:00
'SSECustomerAlgorithm' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-server-side-encryption-customer-algorithm' ,
),
'SSECustomerKeyMD5' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-server-side-encryption-customer-key-MD5' ,
),
2013-07-08 13:11:07 +04:00
'RequestId' => array (
'location' => 'header' ,
'sentAs' => 'x-amz-request-id' ,
),
),
),
'GetObjectAclOutput' => array (
'type' => 'object' ,
'additionalProperties' => true ,
'properties' => array (
'Owner' => array (
'type' => 'object' ,
'location' => 'xml' ,
'properties' => array (
2014-08-28 02:10:31 +04:00
'DisplayName' => array (
2013-07-08 13:11:07 +04:00
'type' => 'string' ,
),
2014-08-28 02:10:31 +04:00
'ID' => array (
2013-07-08 13:11:07 +04:00
'type' => 'string' ,
),
),
),
'Grants' => array (
'type' => 'array' ,
'location' => 'xml' ,
'sentAs' => 'AccessControlList' ,
'items' => array (
'name' => 'Grant' ,
'type' => 'object' ,
'sentAs' => 'Grant' ,
'properties' => array (
'Grantee' => array (
'type' => 'object' ,
'properties' => array (
2014-08-28 02:10:31 +04:00
'DisplayName' => array (
2013-07-08 13:11:07 +04:00
'type' => 'string' ,
),
2014-08-28 02:10:31 +04:00
'EmailAddress' => array (
2013-07-08 13:11:07 +04:00
'type' => 'string' ,
),
2014-08-28 02:10:31 +04:00
'ID' => array (
2013-07-08 13:11:07 +04:00
'type' => 'string' ,
),
2014-08-28 02:10:31 +04:00
'Type' => array (
2013-07-08 13:11:07 +04:00
'type' => 'string' ,
2014-08-28 02:10:31 +04:00
'sentAs' => 'xsi:type' ,
'data' => array (
'xmlAttribute' => true ,
'xmlNamespace' => 'http://www.w3.org/2001/XMLSchema-instance' ,
),
2013-07-08 13:11:07 +04:00
),
'URI' => array (
'type' => 'string' ,
),
),
),
'Permission' => array (
'type' => 'string' ,
),
),
),
),
'RequestId' => array (
'location' => 'header' ,
'sentAs' => 'x-amz-request-id' ,
),
),
),
'GetObjectTorrentOutput' => array (
'type' => 'object' ,
'additionalProperties' => true ,
'properties' => array (
'Body' => array (
'type' => 'string' ,
'instanceOf' => 'Guzzle\\Http\\EntityBody' ,
'location' => 'body' ,
),
'RequestId' => array (
'location' => 'header' ,
'sentAs' => 'x-amz-request-id' ,
),
),
),
'HeadBucketOutput' => array (
'type' => 'object' ,
'additionalProperties' => true ,
'properties' => array (
'RequestId' => array (
'location' => 'header' ,
'sentAs' => 'x-amz-request-id' ,
),
),
),
'HeadObjectOutput' => array (
'type' => 'object' ,
'additionalProperties' => true ,
'properties' => array (
'DeleteMarker' => array (
2014-08-28 02:10:31 +04:00
'type' => 'boolean' ,
2013-07-08 13:11:07 +04:00
'location' => 'header' ,
'sentAs' => 'x-amz-delete-marker' ,
),
'AcceptRanges' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'accept-ranges' ,
),
'Expiration' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-expiration' ,
),
'Restore' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-restore' ,
),
'LastModified' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'Last-Modified' ,
),
'ContentLength' => array (
'type' => 'numeric' ,
'location' => 'header' ,
'sentAs' => 'Content-Length' ,
),
'ETag' => array (
'type' => 'string' ,
'location' => 'header' ,
),
'MissingMeta' => array (
'type' => 'numeric' ,
'location' => 'header' ,
'sentAs' => 'x-amz-missing-meta' ,
),
'VersionId' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-version-id' ,
),
'CacheControl' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'Cache-Control' ,
),
'ContentDisposition' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'Content-Disposition' ,
),
'ContentEncoding' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'Content-Encoding' ,
),
'ContentLanguage' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'Content-Language' ,
),
'ContentType' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'Content-Type' ,
),
'Expires' => array (
'type' => 'string' ,
'location' => 'header' ,
),
'WebsiteRedirectLocation' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-website-redirect-location' ,
),
'ServerSideEncryption' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-server-side-encryption' ,
),
'Metadata' => array (
'type' => 'object' ,
'location' => 'header' ,
'sentAs' => 'x-amz-meta-' ,
'additionalProperties' => array (
'type' => 'string' ,
),
),
2014-08-28 02:10:31 +04:00
'SSECustomerAlgorithm' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-server-side-encryption-customer-algorithm' ,
),
'SSECustomerKeyMD5' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-server-side-encryption-customer-key-MD5' ,
),
2013-07-08 13:11:07 +04:00
'RequestId' => array (
'location' => 'header' ,
'sentAs' => 'x-amz-request-id' ,
),
),
),
'ListBucketsOutput' => array (
'type' => 'object' ,
'additionalProperties' => true ,
'properties' => array (
'Buckets' => array (
'type' => 'array' ,
'location' => 'xml' ,
'items' => array (
'name' => 'Bucket' ,
'type' => 'object' ,
'sentAs' => 'Bucket' ,
'properties' => array (
'Name' => array (
'type' => 'string' ,
),
'CreationDate' => array (
'type' => 'string' ,
),
),
),
),
'Owner' => array (
'type' => 'object' ,
'location' => 'xml' ,
'properties' => array (
2014-08-28 02:10:31 +04:00
'DisplayName' => array (
2013-07-08 13:11:07 +04:00
'type' => 'string' ,
),
2014-08-28 02:10:31 +04:00
'ID' => array (
2013-07-08 13:11:07 +04:00
'type' => 'string' ,
),
),
),
'RequestId' => array (
'location' => 'header' ,
'sentAs' => 'x-amz-request-id' ,
),
),
),
'ListMultipartUploadsOutput' => array (
'type' => 'object' ,
'additionalProperties' => true ,
'properties' => array (
'Bucket' => array (
'type' => 'string' ,
'location' => 'xml' ,
),
'KeyMarker' => array (
'type' => 'string' ,
'location' => 'xml' ,
),
'UploadIdMarker' => array (
'type' => 'string' ,
'location' => 'xml' ,
),
'NextKeyMarker' => array (
2014-08-28 02:10:31 +04:00
'type' => 'string' ,
'location' => 'xml' ,
),
'Prefix' => array (
2013-07-08 13:11:07 +04:00
'type' => 'string' ,
'location' => 'xml' ,
),
'NextUploadIdMarker' => array (
'type' => 'string' ,
'location' => 'xml' ,
),
'MaxUploads' => array (
'type' => 'numeric' ,
'location' => 'xml' ,
),
'IsTruncated' => array (
'type' => 'boolean' ,
'location' => 'xml' ,
),
'Uploads' => array (
'type' => 'array' ,
'location' => 'xml' ,
'sentAs' => 'Upload' ,
'data' => array (
'xmlFlattened' => true ,
),
'items' => array (
2014-08-28 02:10:31 +04:00
'name' => 'MultipartUpload' ,
2013-07-08 13:11:07 +04:00
'type' => 'object' ,
'sentAs' => 'Upload' ,
'properties' => array (
'UploadId' => array (
'type' => 'string' ,
),
'Key' => array (
'type' => 'string' ,
),
'Initiated' => array (
'type' => 'string' ,
),
'StorageClass' => array (
'type' => 'string' ,
),
'Owner' => array (
'type' => 'object' ,
'properties' => array (
2014-08-28 02:10:31 +04:00
'DisplayName' => array (
2013-07-08 13:11:07 +04:00
'type' => 'string' ,
),
2014-08-28 02:10:31 +04:00
'ID' => array (
2013-07-08 13:11:07 +04:00
'type' => 'string' ,
),
),
),
'Initiator' => array (
'type' => 'object' ,
'properties' => array (
'ID' => array (
'type' => 'string' ,
),
'DisplayName' => array (
'type' => 'string' ,
),
),
),
),
),
),
2014-08-28 02:10:31 +04:00
'CommonPrefixes' => array (
'type' => 'array' ,
'location' => 'xml' ,
'data' => array (
'xmlFlattened' => true ,
),
'items' => array (
'name' => 'CommonPrefix' ,
'type' => 'object' ,
'properties' => array (
'Prefix' => array (
'type' => 'string' ,
),
),
),
),
'EncodingType' => array (
'type' => 'string' ,
'location' => 'xml' ,
),
2013-07-08 13:11:07 +04:00
'RequestId' => array (
'location' => 'header' ,
'sentAs' => 'x-amz-request-id' ,
),
),
),
'ListObjectVersionsOutput' => array (
'type' => 'object' ,
'additionalProperties' => true ,
'properties' => array (
'IsTruncated' => array (
'type' => 'boolean' ,
'location' => 'xml' ,
),
'KeyMarker' => array (
'type' => 'string' ,
'location' => 'xml' ,
),
'VersionIdMarker' => array (
'type' => 'string' ,
'location' => 'xml' ,
),
'NextKeyMarker' => array (
'type' => 'string' ,
'location' => 'xml' ,
),
'NextVersionIdMarker' => array (
'type' => 'string' ,
'location' => 'xml' ,
),
'Versions' => array (
'type' => 'array' ,
'location' => 'xml' ,
'sentAs' => 'Version' ,
'data' => array (
'xmlFlattened' => true ,
),
'items' => array (
2014-08-28 02:10:31 +04:00
'name' => 'ObjectVersion' ,
2013-07-08 13:11:07 +04:00
'type' => 'object' ,
'sentAs' => 'Version' ,
'properties' => array (
'ETag' => array (
'type' => 'string' ,
),
'Size' => array (
2014-08-28 02:10:31 +04:00
'type' => 'numeric' ,
2013-07-08 13:11:07 +04:00
),
'StorageClass' => array (
'type' => 'string' ,
),
'Key' => array (
'type' => 'string' ,
),
'VersionId' => array (
'type' => 'string' ,
),
'IsLatest' => array (
'type' => 'boolean' ,
),
'LastModified' => array (
'type' => 'string' ,
),
'Owner' => array (
'type' => 'object' ,
'properties' => array (
2014-08-28 02:10:31 +04:00
'DisplayName' => array (
2013-07-08 13:11:07 +04:00
'type' => 'string' ,
),
2014-08-28 02:10:31 +04:00
'ID' => array (
2013-07-08 13:11:07 +04:00
'type' => 'string' ,
),
),
),
),
),
),
'DeleteMarkers' => array (
'type' => 'array' ,
'location' => 'xml' ,
'sentAs' => 'DeleteMarker' ,
'data' => array (
'xmlFlattened' => true ,
),
'items' => array (
2014-08-28 02:10:31 +04:00
'name' => 'DeleteMarkerEntry' ,
2013-07-08 13:11:07 +04:00
'type' => 'object' ,
'sentAs' => 'DeleteMarker' ,
'properties' => array (
'Owner' => array (
'type' => 'object' ,
'properties' => array (
2014-08-28 02:10:31 +04:00
'DisplayName' => array (
2013-07-08 13:11:07 +04:00
'type' => 'string' ,
),
2014-08-28 02:10:31 +04:00
'ID' => array (
2013-07-08 13:11:07 +04:00
'type' => 'string' ,
),
),
),
'Key' => array (
'type' => 'string' ,
),
'VersionId' => array (
'type' => 'string' ,
),
'IsLatest' => array (
'type' => 'boolean' ,
),
'LastModified' => array (
'type' => 'string' ,
),
),
),
),
'Name' => array (
'type' => 'string' ,
'location' => 'xml' ,
),
'Prefix' => array (
'type' => 'string' ,
'location' => 'xml' ,
),
'MaxKeys' => array (
'type' => 'numeric' ,
'location' => 'xml' ,
),
'CommonPrefixes' => array (
'type' => 'array' ,
'location' => 'xml' ,
'data' => array (
'xmlFlattened' => true ,
),
'items' => array (
2014-08-28 02:10:31 +04:00
'name' => 'CommonPrefix' ,
2013-07-08 13:11:07 +04:00
'type' => 'object' ,
'properties' => array (
'Prefix' => array (
'type' => 'string' ,
),
),
),
),
2014-08-28 02:10:31 +04:00
'EncodingType' => array (
'type' => 'string' ,
'location' => 'xml' ,
),
2013-07-08 13:11:07 +04:00
'RequestId' => array (
'location' => 'header' ,
'sentAs' => 'x-amz-request-id' ,
),
),
),
'ListObjectsOutput' => array (
'type' => 'object' ,
'additionalProperties' => true ,
'properties' => array (
'IsTruncated' => array (
'type' => 'boolean' ,
'location' => 'xml' ,
),
'Marker' => array (
'type' => 'string' ,
'location' => 'xml' ,
),
2014-08-28 02:10:31 +04:00
'NextMarker' => array (
'type' => 'string' ,
'location' => 'xml' ,
),
2013-07-08 13:11:07 +04:00
'Contents' => array (
'type' => 'array' ,
'location' => 'xml' ,
'data' => array (
'xmlFlattened' => true ,
),
'items' => array (
2014-08-28 02:10:31 +04:00
'name' => 'Object' ,
2013-07-08 13:11:07 +04:00
'type' => 'object' ,
'properties' => array (
'Key' => array (
'type' => 'string' ,
),
'LastModified' => array (
'type' => 'string' ,
),
'ETag' => array (
'type' => 'string' ,
),
'Size' => array (
'type' => 'numeric' ,
),
'StorageClass' => array (
'type' => 'string' ,
),
'Owner' => array (
'type' => 'object' ,
'properties' => array (
2014-08-28 02:10:31 +04:00
'DisplayName' => array (
2013-07-08 13:11:07 +04:00
'type' => 'string' ,
),
2014-08-28 02:10:31 +04:00
'ID' => array (
2013-07-08 13:11:07 +04:00
'type' => 'string' ,
),
),
),
),
),
),
'Name' => array (
'type' => 'string' ,
'location' => 'xml' ,
),
'Prefix' => array (
'type' => 'string' ,
'location' => 'xml' ,
),
'MaxKeys' => array (
'type' => 'numeric' ,
'location' => 'xml' ,
),
'CommonPrefixes' => array (
'type' => 'array' ,
'location' => 'xml' ,
'data' => array (
'xmlFlattened' => true ,
),
'items' => array (
2014-08-28 02:10:31 +04:00
'name' => 'CommonPrefix' ,
2013-07-08 13:11:07 +04:00
'type' => 'object' ,
'properties' => array (
'Prefix' => array (
'type' => 'string' ,
),
),
),
),
2014-08-28 02:10:31 +04:00
'EncodingType' => array (
'type' => 'string' ,
'location' => 'xml' ,
),
2013-07-08 13:11:07 +04:00
'RequestId' => array (
'location' => 'header' ,
'sentAs' => 'x-amz-request-id' ,
),
),
),
'ListPartsOutput' => array (
'type' => 'object' ,
'additionalProperties' => true ,
'properties' => array (
'Bucket' => array (
'type' => 'string' ,
'location' => 'xml' ,
),
'Key' => array (
'type' => 'string' ,
'location' => 'xml' ,
),
'UploadId' => array (
'type' => 'string' ,
'location' => 'xml' ,
),
'PartNumberMarker' => array (
'type' => 'numeric' ,
'location' => 'xml' ,
),
'NextPartNumberMarker' => array (
'type' => 'numeric' ,
'location' => 'xml' ,
),
'MaxParts' => array (
'type' => 'numeric' ,
'location' => 'xml' ,
),
'IsTruncated' => array (
'type' => 'boolean' ,
'location' => 'xml' ,
),
'Parts' => array (
'type' => 'array' ,
'location' => 'xml' ,
'sentAs' => 'Part' ,
'data' => array (
'xmlFlattened' => true ,
),
'items' => array (
2014-08-28 02:10:31 +04:00
'name' => 'Part' ,
2013-07-08 13:11:07 +04:00
'type' => 'object' ,
'sentAs' => 'Part' ,
'properties' => array (
'PartNumber' => array (
'type' => 'numeric' ,
),
'LastModified' => array (
'type' => 'string' ,
),
'ETag' => array (
'type' => 'string' ,
),
'Size' => array (
'type' => 'numeric' ,
),
),
),
),
'Initiator' => array (
'type' => 'object' ,
'location' => 'xml' ,
'properties' => array (
'ID' => array (
'type' => 'string' ,
),
'DisplayName' => array (
'type' => 'string' ,
),
),
),
'Owner' => array (
'type' => 'object' ,
'location' => 'xml' ,
'properties' => array (
2014-08-28 02:10:31 +04:00
'DisplayName' => array (
2013-07-08 13:11:07 +04:00
'type' => 'string' ,
),
2014-08-28 02:10:31 +04:00
'ID' => array (
2013-07-08 13:11:07 +04:00
'type' => 'string' ,
),
),
),
'StorageClass' => array (
'type' => 'string' ,
'location' => 'xml' ,
),
'RequestId' => array (
'location' => 'header' ,
'sentAs' => 'x-amz-request-id' ,
),
),
),
'PutBucketAclOutput' => array (
'type' => 'object' ,
'additionalProperties' => true ,
'properties' => array (
'RequestId' => array (
'location' => 'header' ,
'sentAs' => 'x-amz-request-id' ,
),
),
),
'PutBucketCorsOutput' => array (
'type' => 'object' ,
'additionalProperties' => true ,
'properties' => array (
'RequestId' => array (
'location' => 'header' ,
'sentAs' => 'x-amz-request-id' ,
),
),
),
'PutBucketLifecycleOutput' => array (
'type' => 'object' ,
'additionalProperties' => true ,
'properties' => array (
'RequestId' => array (
'location' => 'header' ,
'sentAs' => 'x-amz-request-id' ,
),
),
),
'PutBucketLoggingOutput' => array (
'type' => 'object' ,
'additionalProperties' => true ,
'properties' => array (
'RequestId' => array (
'location' => 'header' ,
'sentAs' => 'x-amz-request-id' ,
),
),
),
'PutBucketNotificationOutput' => array (
'type' => 'object' ,
'additionalProperties' => true ,
'properties' => array (
'RequestId' => array (
'location' => 'header' ,
'sentAs' => 'x-amz-request-id' ,
),
),
),
'PutBucketPolicyOutput' => array (
'type' => 'object' ,
'additionalProperties' => true ,
'properties' => array (
'RequestId' => array (
'location' => 'header' ,
'sentAs' => 'x-amz-request-id' ,
),
),
),
'PutBucketRequestPaymentOutput' => array (
'type' => 'object' ,
'additionalProperties' => true ,
'properties' => array (
'RequestId' => array (
'location' => 'header' ,
'sentAs' => 'x-amz-request-id' ,
),
),
),
'PutBucketTaggingOutput' => array (
'type' => 'object' ,
'additionalProperties' => true ,
'properties' => array (
'RequestId' => array (
'location' => 'header' ,
'sentAs' => 'x-amz-request-id' ,
),
),
),
'PutBucketVersioningOutput' => array (
'type' => 'object' ,
'additionalProperties' => true ,
'properties' => array (
'RequestId' => array (
'location' => 'header' ,
'sentAs' => 'x-amz-request-id' ,
),
),
),
'PutBucketWebsiteOutput' => array (
'type' => 'object' ,
'additionalProperties' => true ,
'properties' => array (
'RequestId' => array (
'location' => 'header' ,
'sentAs' => 'x-amz-request-id' ,
),
),
),
'PutObjectOutput' => array (
'type' => 'object' ,
'additionalProperties' => true ,
'properties' => array (
'Expiration' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-expiration' ,
),
'ETag' => array (
'type' => 'string' ,
'location' => 'header' ,
),
'ServerSideEncryption' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-server-side-encryption' ,
),
'VersionId' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-version-id' ,
),
2014-08-28 02:10:31 +04:00
'SSECustomerAlgorithm' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-server-side-encryption-customer-algorithm' ,
),
'SSECustomerKeyMD5' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-server-side-encryption-customer-key-MD5' ,
),
2013-07-08 13:11:07 +04:00
'RequestId' => array (
'location' => 'header' ,
'sentAs' => 'x-amz-request-id' ,
),
'ObjectURL' => array (
),
),
),
'PutObjectAclOutput' => array (
'type' => 'object' ,
'additionalProperties' => true ,
'properties' => array (
'RequestId' => array (
'location' => 'header' ,
'sentAs' => 'x-amz-request-id' ,
),
),
),
'RestoreObjectOutput' => array (
'type' => 'object' ,
'additionalProperties' => true ,
'properties' => array (
'RequestId' => array (
'location' => 'header' ,
'sentAs' => 'x-amz-request-id' ,
),
),
),
'UploadPartOutput' => array (
'type' => 'object' ,
'additionalProperties' => true ,
'properties' => array (
'ServerSideEncryption' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-server-side-encryption' ,
),
'ETag' => array (
'type' => 'string' ,
'location' => 'header' ,
),
2014-08-28 02:10:31 +04:00
'SSECustomerAlgorithm' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-server-side-encryption-customer-algorithm' ,
),
'SSECustomerKeyMD5' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-server-side-encryption-customer-key-MD5' ,
),
2013-07-08 13:11:07 +04:00
'RequestId' => array (
'location' => 'header' ,
'sentAs' => 'x-amz-request-id' ,
),
),
),
'UploadPartCopyOutput' => array (
'type' => 'object' ,
'additionalProperties' => true ,
'properties' => array (
'CopySourceVersionId' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-copy-source-version-id' ,
),
'ETag' => array (
'type' => 'string' ,
'location' => 'xml' ,
),
'LastModified' => array (
'type' => 'string' ,
'location' => 'xml' ,
),
'ServerSideEncryption' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-server-side-encryption' ,
),
2014-08-28 02:10:31 +04:00
'SSECustomerAlgorithm' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-server-side-encryption-customer-algorithm' ,
),
'SSECustomerKeyMD5' => array (
'type' => 'string' ,
'location' => 'header' ,
'sentAs' => 'x-amz-server-side-encryption-customer-key-MD5' ,
),
2013-07-08 13:11:07 +04:00
'RequestId' => array (
'location' => 'header' ,
'sentAs' => 'x-amz-request-id' ,
),
),
),
),
2014-08-28 02:10:31 +04:00
'iterators' => array (
'ListBuckets' => array (
'result_key' => 'Buckets' ,
),
'ListMultipartUploads' => array (
'limit_key' => 'MaxUploads' ,
'more_results' => 'IsTruncated' ,
'output_token' => array (
'NextKeyMarker' ,
'NextUploadIdMarker' ,
),
'input_token' => array (
'KeyMarker' ,
'UploadIdMarker' ,
),
'result_key' => array (
'Uploads' ,
'CommonPrefixes' ,
),
),
'ListObjectVersions' => array (
'more_results' => 'IsTruncated' ,
'limit_key' => 'MaxKeys' ,
'output_token' => array (
'NextKeyMarker' ,
'NextVersionIdMarker' ,
),
'input_token' => array (
'KeyMarker' ,
'VersionIdMarker' ,
),
'result_key' => array (
'Versions' ,
'DeleteMarkers' ,
'CommonPrefixes' ,
),
),
'ListObjects' => array (
'more_results' => 'IsTruncated' ,
'limit_key' => 'MaxKeys' ,
'output_token' => 'NextMarker' ,
'input_token' => 'Marker' ,
'result_key' => array (
'Contents' ,
'CommonPrefixes' ,
),
),
'ListParts' => array (
'more_results' => 'IsTruncated' ,
'limit_key' => 'MaxParts' ,
'output_token' => 'NextPartNumberMarker' ,
'input_token' => 'PartNumberMarker' ,
'result_key' => 'Parts' ,
),
),
2013-07-08 13:11:07 +04:00
'waiters' => array (
'__default__' => array (
'interval' => 5 ,
'max_attempts' => 20 ,
),
'BucketExists' => array (
'operation' => 'HeadBucket' ,
'success.type' => 'output' ,
'ignore_errors' => array (
'NoSuchBucket' ,
),
),
'BucketNotExists' => array (
'operation' => 'HeadBucket' ,
'success.type' => 'error' ,
'success.value' => 'NoSuchBucket' ,
),
'ObjectExists' => array (
'operation' => 'HeadObject' ,
'success.type' => 'output' ,
'ignore_errors' => array (
'NoSuchKey' ,
),
),
),
);