\Obs\S3\ResourceRequestResource

Summary

Methods
Properties
Constants
No public methods found
No public properties found
RESOURCE_ARRAY
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Constants

RESOURCE_ARRAY

RESOURCE_ARRAY = array('operations' => array('createBucket' => array('httpMethod' => 'PUT', 'data' => array('xmlRoot' => array('name' => 'CreateBucketConfiguration', 'namespaces' => 'http://s3.amazonaws.com/doc/2006-03-01/')), 'requestParameters' => array('ACL' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'x-amz-acl'), 'Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns'), 'LocationConstraint' => array('type' => 'string', 'location' => 'xml'), 'StorageClass' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'x-default-storage-class')), 'responseParameters' => array('Location' => array('type' => 'string', 'location' => 'header'), 'RequestId' => array('location' => 'header', 'sentAs' => 'x-amz-request-id'))), 'listBuckets' => array('httpMethod' => 'GET', 'responseParameters' => array('Buckets' => array('type' => 'array', 'location' => 'xml', 'sentAs' => 'Buckets', '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('DisplayName' => array('type' => 'string'), 'ID' => array('type' => 'string'))), 'RequestId' => array('location' => 'header', 'sentAs' => 'x-amz-request-id'))), 'deleteBucket' => array('httpMethod' => 'DELETE', 'requestParameters' => array('Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns')), 'responseParameters' => array('type' => 'object', 'properties' => array('RequestId' => array('location' => 'header', 'sentAs' => 'x-amz-request-id')))), 'listObjects' => array('httpMethod' => 'GET', 'requestParameters' => array('Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns'), 'Delimiter' => array('type' => 'string', 'location' => 'query', 'sentAs' => 'delimiter'), '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'), 'Origin' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'Origin'), 'RequestHeader' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'Access-Control-Request-Headers')), 'responseParameters' => array('type' => 'object', 'properties' => array('IsTruncated' => array('type' => 'boolean', 'location' => 'xml'), 'Marker' => array('type' => 'string', 'location' => 'xml'), 'NextMarker' => array('type' => 'string', 'location' => 'xml'), 'Contents' => array('type' => 'array', 'location' => 'xml', 'sentAs' => 'Contents', 'data' => array('xmlFlattened' => true), 'items' => array('name' => 'Object', '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('DisplayName' => array('type' => 'string'), 'ID' => array('type' => 'string')))))), 'Name' => array('type' => 'string', 'location' => 'xml'), 'Prefix' => array('type' => 'string', 'location' => 'xml'), 'Delimiter' => array('type' => 'string', 'location' => 'xml'), 'MaxKeys' => array('type' => 'numeric', 'location' => 'xml'), 'CommonPrefixes' => array('type' => 'array', 'location' => 'xml', 'data' => array('xmlFlattened' => true), 'items' => array('name' => 'CommonPrefix', 'type' => 'object', 'properties' => array('Prefix' => array('type' => 'string')))), 'RequestId' => array('location' => 'header', 'sentAs' => 'x-amz-request-id'), 'AllowOrigin' => array('location' => 'header', 'sentAs' => 'access-control-allow-origin'), 'MaxAge' => array('location' => 'header', 'sentAs' => 'access-control-max-age'), 'ExposeHeaders' => array('location' => 'header', 'sentAs' => 'access-control-expose-headers'), 'AllowMethods' => array('location' => 'header', 'sentAs' => 'access-control-allow-methods'), 'AllowHeaders' => array('location' => 'header', 'sentAs' => 'access-control-allow-headers')))), 'listVersions' => array('httpMethod' => 'GET', 'specialParam' => 'versions', 'requestParameters' => array('Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns'), 'Delimiter' => array('type' => 'string', 'location' => 'query', 'sentAs' => 'delimiter'), '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')), 'responseParameters' => array('type' => 'object', '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('name' => 'ObjectVersion', 'type' => 'object', 'sentAs' => 'Version', 'properties' => array('ETag' => array('type' => 'string'), 'Size' => array('type' => 'numeric'), '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('DisplayName' => array('type' => 'string'), 'ID' => array('type' => 'string')))))), 'DeleteMarkers' => array('type' => 'array', 'location' => 'xml', 'sentAs' => 'DeleteMarker', 'data' => array('xmlFlattened' => true), 'items' => array('name' => 'DeleteMarkerEntry', 'type' => 'object', 'sentAs' => 'DeleteMarker', 'properties' => array('Owner' => array('type' => 'object', 'properties' => array('DisplayName' => array('type' => 'string'), 'ID' => array('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'), 'Delimiter' => array('type' => 'string', 'location' => 'xml'), 'MaxKeys' => array('type' => 'numeric', 'location' => 'xml'), 'CommonPrefixes' => array('type' => 'array', 'location' => 'xml', 'data' => array('xmlFlattened' => true), 'items' => array('name' => 'CommonPrefix', 'type' => 'object', 'properties' => array('Prefix' => array('type' => 'string')))), 'RequestId' => array('location' => 'header', 'sentAs' => 'x-amz-request-id'), 'AllowOrigin' => array('location' => 'header', 'sentAs' => 'access-control-allow-origin'), 'MaxAge' => array('location' => 'header', 'sentAs' => 'access-control-max-age'), 'ExposeHeaders' => array('location' => 'header', 'sentAs' => 'access-control-expose-headers'), 'AllowMethods' => array('location' => 'header', 'sentAs' => 'access-control-allow-methods'), 'AllowHeaders' => array('location' => 'header', 'sentAs' => 'access-control-allow-headers')))), 'getBucketMetadata' => array('httpMethod' => 'HEAD', 'requestParameters' => array('Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns'), 'Origin' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'Origin'), 'RequestHeader' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'Access-Control-Request-Headers')), 'responseParameters' => array('RequestId' => array('location' => 'header', 'sentAs' => 'x-amz-request-id'), 'StorageClass' => array('location' => 'header', 'sentAs' => 'x-default-storage-class'), 'AllowOrigin' => array('location' => 'header', 'sentAs' => 'access-control-allow-origin'), 'MaxAge' => array('location' => 'header', 'sentAs' => 'access-control-max-age'), 'ExposeHeaders' => array('location' => 'header', 'sentAs' => 'access-control-expose-headers'), 'AllowMethods' => array('location' => 'header', 'sentAs' => 'access-control-allow-methods'), 'AllowHeaders' => array('location' => 'header', 'sentAs' => 'access-control-allow-headers'))), 'getBucketLocation' => array('httpMethod' => 'GET', 'specialParam' => 'location', 'requestParameters' => array('Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns')), 'responseParameters' => array('type' => 'object', 'properties' => array('Location' => array('type' => 'string', 'sentAs' => 'LocationConstraint', 'location' => 'xml'), 'RequestId' => array('location' => 'header', 'sentAs' => 'x-amz-request-id')))), 'getBucketStorageInfo' => array('httpMethod' => 'GET', 'specialParam' => 'storageinfo', 'requestParameters' => array('Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns')), 'responseParameters' => array('type' => 'object', 'properties' => array('Size' => array('type' => 'numeric', 'location' => 'xml', 'sentAs' => 'Size'), 'ObjectNumber' => array('type' => 'numeric', 'location' => 'xml'), 'RequestId' => array('location' => 'header', 'sentAs' => 'x-amz-request-id')))), 'setBucketQuota' => array('httpMethod' => 'PUT', 'specialParam' => 'quota', 'data' => array('xmlRoot' => array('name' => 'Quota', 'namespaces' => 'http://s3.amazonaws.com/doc/2006-03-01/')), 'requestParameters' => array('Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns'), 'StorageQuota' => array('required' => true, 'type' => 'numeric', 'location' => 'xml')), 'responseParameters' => array('type' => 'object', 'properties' => array('RequestId' => array('location' => 'header', 'sentAs' => 'x-amz-request-id')))), 'getBucketQuota' => array('httpMethod' => 'GET', 'specialParam' => 'quota', 'requestParameters' => array('Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns')), 'responseParameters' => array('type' => 'object', 'properties' => array('StorageQuota' => array('type' => 'numeric', 'location' => 'xml', 'sentAs' => 'StorageQuota'), 'RequestId' => array('location' => 'header', 'sentAs' => 'x-amz-request-id')))), 'setBucketAcl' => array('httpMethod' => 'PUT', 'specialParam' => 'acl', 'data' => array('xmlRoot' => array('name' => 'AccessControlPolicy', 'namespaces' => 'http://s3.amazonaws.com/doc/2006-03-01/')), 'requestParameters' => array('Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns'), 'ACL' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'x-amz-acl'), 'Owner' => array('type' => 'object', 'location' => 'xml', 'properties' => array('DisplayName' => array('type' => 'string'), 'ID' => array('type' => 'string'))), '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'), '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'))))), 'responseParameters' => array('type' => 'object', 'properties' => array('RequestId' => array('location' => 'header', 'sentAs' => 'x-amz-request-id')))), 'getBucketAcl' => array('httpMethod' => 'GET', 'specialParam' => 'acl', 'requestParameters' => array('Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns')), 'responseParameters' => array('type' => 'object', 'properties' => array('RequestId' => array('location' => 'header', 'sentAs' => 'x-amz-request-id'), 'Owner' => array('type' => 'object', 'location' => 'xml', 'properties' => array('DisplayName' => array('type' => 'string'), 'ID' => array('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('DisplayName' => array('type' => 'string'), 'ID' => array('type' => 'string'), 'Type' => array('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'))))))), 'setBucketLoggingConfiguration' => array('httpMethod' => 'PUT', 'specialParam' => 'logging', 'data' => array('xmlRoot' => array('name' => 'BucketLoggingStatus', 'namespaces' => 'http://s3.amazonaws.com/doc/2006-03-01/'), 'xmlAllowEmpty' => true), 'requestParameters' => array('Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns'), 'LoggingEnabled' => array('type' => 'object', 'location' => 'xml', 'properties' => array('TargetBucket' => array('type' => 'string'), 'TargetPrefix' => 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'), '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'))))))), 'responseParameters' => array('type' => 'object', 'properties' => array('RequestId' => array('location' => 'header', 'sentAs' => 'x-amz-request-id')))), 'getBucketLoggingConfiguration' => array('httpMethod' => 'GET', 'specialParam' => 'logging', 'requestParameters' => array('Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns')), 'responseParameters' => array('type' => 'object', 'properties' => array('LoggingEnabled' => array('type' => 'object', 'location' => 'xml', 'properties' => array('TargetBucket' => array('type' => 'string'), 'TargetGrants' => array('type' => 'array', 'sentAs' => 'TargetGrants', 'items' => array('name' => 'Grant', 'type' => 'object', 'sentAs' => 'Grant', 'properties' => array('Grantee' => array('type' => 'object', 'properties' => array('DisplayName' => array('type' => 'string'), 'ID' => array('type' => 'string'), 'Type' => array('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'))), 'RequestId' => array('location' => 'header', 'sentAs' => 'x-amz-request-id')))), 'setBucketPolicy' => array('httpMethod' => 'PUT', 'specialParam' => 'policy', 'requestParameters' => array('Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns'), 'Policy' => array('required' => true, 'type' => 'string', 'location' => 'body')), 'responseParameters' => array('type' => 'object', 'properties' => array('RequestId' => array('location' => 'header', 'sentAs' => 'x-amz-request-id')))), 'getBucketPolicy' => array('httpMethod' => 'GET', 'specialParam' => 'policy', 'requestParameters' => array('Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns')), 'responseParameters' => array('type' => 'object', 'properties' => array('Policy' => array('type' => 'string', 'location' => 'body'), 'RequestId' => array('location' => 'header', 'sentAs' => 'x-amz-request-id')))), 'deleteBucketPolicy' => array('httpMethod' => 'DELETE', 'specialParam' => 'policy', 'requestParameters' => array('Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns')), 'responseParameters' => array('type' => 'object', 'properties' => array('RequestId' => array('location' => 'header', 'sentAs' => 'x-amz-request-id')))), 'setBucketLifecycleConfiguration' => array('httpMethod' => 'PUT', 'specialParam' => 'lifecycle', 'data' => array('xmlRoot' => array('name' => 'LifecycleConfiguration', 'namespaces' => 'http://s3.amazonaws.com/doc/2006-03-01/'), 'contentMd5' => true), 'requestParameters' => array('Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns'), 'Rules' => array('required' => true, 'type' => 'array', 'location' => 'xml', 'sentAs' => 'Rule', 'data' => array('xmlFlattened' => true), 'items' => array('name' => 'Rule', 'type' => 'object', 'sentAs' => 'Rule', 'properties' => array('Expiration' => array('type' => 'object', 'properties' => array('Date' => array('type' => 'string', 'format' => 'date-time-middle'), 'Days' => array('type' => 'numeric'))), 'NoncurrentVersionExpiration' => array('type' => 'object', 'properties' => array('NoncurrentDays' => array('type' => 'numeric'))), 'ID' => array('type' => 'string'), 'Prefix' => array('required' => true, 'type' => 'string'), 'Status' => array('required' => true, 'type' => 'string'))))), 'responseParameters' => array('type' => 'object', 'properties' => array('RequestId' => array('location' => 'header', 'sentAs' => 'x-amz-request-id')))), 'getBucketLifecycleConfiguration' => array('httpMethod' => 'GET', 'specialParam' => 'lifecycle', 'requestParameters' => array('Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns')), 'responseParameters' => array('type' => 'object', 'properties' => array('RequestId' => array('location' => 'header', 'sentAs' => 'x-amz-request-id'), 'Rules' => array('type' => 'array', 'location' => 'xml', 'sentAs' => 'Rule', 'data' => array('xmlFlattened' => true), 'items' => array('name' => 'Rule', 'type' => 'object', 'sentAs' => 'Rule', 'properties' => array('Expiration' => array('type' => 'object', 'properties' => array('Date' => array('type' => 'string'), 'Days' => array('type' => 'numeric'))), 'NoncurrentVersionExpiration' => array('type' => 'object', 'properties' => array('NoncurrentDays' => array('type' => 'numberic'))), 'ID' => array('type' => 'string'), 'Prefix' => array('type' => 'string'), 'Status' => array('type' => 'string'))))))), 'deleteBucketLifecycleConfiguration' => array('httpMethod' => 'DELETE', 'specialParam' => 'lifecycle', 'requestParameters' => array('Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns')), 'responseParameters' => array('type' => 'object', 'properties' => array('RequestId' => array('location' => 'header', 'sentAs' => 'x-amz-request-id')))), 'setBucketWebsiteConfiguration' => array('httpMethod' => 'PUT', 'specialParam' => 'website', 'data' => array('xmlRoot' => array('name' => 'WebsiteConfiguration', 'namespaces' => 'http://s3.amazonaws.com/doc/2006-03-01/')), 'requestParameters' => array('Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns'), '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'))))))), 'responseParameters' => array('type' => 'object', 'properties' => array('RequestId' => array('location' => 'header', 'sentAs' => 'x-amz-request-id')))), 'getBucketWebsiteConfiguration' => array('httpMethod' => 'GET', 'specialParam' => 'website', 'requestParameters' => array('Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns')), 'responseParameters' => array('type' => 'object', 'properties' => array('RequestId' => array('location' => 'header', 'sentAs' => 'x-amz-request-id'), '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('HttpErrorCodeReturnedEquals' => array('type' => 'string'), 'KeyPrefixEquals' => array('type' => 'string'))), 'Redirect' => array('type' => 'object', 'properties' => array('HostName' => array('type' => 'string'), 'HttpRedirectCode' => array('type' => 'string'), 'Protocol' => array('type' => 'string'), 'ReplaceKeyPrefixWith' => array('type' => 'string'), 'ReplaceKeyWith' => array('type' => 'string'))))))))), 'deleteBucketWebsiteConfiguration' => array('httpMethod' => 'DELETE', 'specialParam' => 'website', 'requestParameters' => array('Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns')), 'responseParameters' => array('type' => 'object', 'properties' => array('RequestId' => array('location' => 'header', 'sentAs' => 'x-amz-request-id')))), 'setBucketVersioningConfiguration' => array('httpMethod' => 'PUT', 'specialParam' => 'versioning', 'data' => array('xmlRoot' => array('name' => 'VersioningConfiguration', 'namespaces' => 'http://s3.amazonaws.com/doc/2006-03-01/')), 'requestParameters' => array('Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns'), 'Status' => array('type' => 'string', 'location' => 'xml')), 'responseParameters' => array('type' => 'object', 'properties' => array('RequestId' => array('location' => 'header', 'sentAs' => 'x-amz-request-id')))), 'getBucketVersioningConfiguration' => array('httpMethod' => 'GET', 'specialParam' => 'versioning', 'requestParameters' => array('Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns')), 'responseParameters' => array('type' => 'object', 'properties' => array('RequestId' => array('location' => 'header', 'sentAs' => 'x-amz-request-id'), 'Status' => array('type' => 'string', 'location' => 'xml')))), 'setBucketCors' => array('httpMethod' => 'PUT', 'specialParam' => 'cors', 'data' => array('xmlRoot' => array('name' => 'CORSConfiguration', 'namespaces' => 'http://s3.amazonaws.com/doc/2006-03-01/'), 'contentMd5' => true), 'requestParameters' => array('Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns'), 'CorsRule' => array('required' => true, 'type' => 'array', 'location' => 'xml', 'sentAs' => 'CORSRule', 'data' => array('xmlFlattened' => true), 'items' => array('type' => 'object', 'sentAs' => 'CORSRule', 'properties' => array('ID' => array('type' => 'string'), 'AllowedMethod' => array('required' => true, 'type' => 'array', 'data' => array('xmlFlattened' => true), 'items' => array('type' => 'string', 'sentAs' => 'AllowedMethod')), 'AllowedOrigin' => array('required' => true, 'type' => 'array', 'data' => array('xmlFlattened' => true), 'items' => array('sentAs' => 'AllowedOrigin', 'type' => 'string')), 'AllowedHeader' => array('type' => 'array', 'data' => array('xmlFlattened' => true), 'items' => array('name' => 'AllowedHeader', 'type' => 'string')), 'MaxAgeSeconds' => array('type' => 'numeric'), 'ExposeHeader' => array('type' => 'array', 'data' => array('xmlFlattened' => true), 'items' => array('name' => 'ExposeHeader', 'type' => 'string')))))), 'responseParameters' => array('type' => 'object', 'properties' => array('RequestId' => array('location' => 'header', 'sentAs' => 'x-amz-request-id')))), 'getBucketCors' => array('httpMethod' => 'GET', 'specialParam' => 'cors', 'requestParameters' => array('Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns')), 'responseParameters' => array('type' => 'object', 'properties' => array('RequestId' => array('location' => 'header', 'sentAs' => 'x-amz-request-id'), 'CorsRule' => array('type' => 'array', 'location' => 'xml', 'sentAs' => 'CORSRule', 'data' => array('xmlFlattened' => true), 'items' => array('type' => 'object', 'properties' => array('ID' => array('type' => 'string'), 'AllowedMethod' => array('type' => 'array', 'data' => array('xmlFlattened' => true), 'items' => array('type' => 'string', 'sentAs' => 'AllowedMethod')), 'AllowedOrigin' => array('type' => 'array', 'data' => array('xmlFlattened' => true), 'items' => array('sentAs' => 'AllowedOrigin', 'type' => 'string')), 'AllowedHeader' => array('type' => 'array', 'data' => array('xmlFlattened' => true), 'items' => array('name' => 'AllowedHeader', 'type' => 'string')), 'MaxAgeSeconds' => array('type' => 'numeric'), 'ExposeHeader' => array('type' => 'array', 'data' => array('xmlFlattened' => true), 'items' => array('name' => 'ExposeHeader', 'type' => 'string')))))))), 'deleteBucketCors' => array('httpMethod' => 'DELETE', 'specialParam' => 'cors', 'requestParameters' => array('Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns')), 'responseParameters' => array('type' => 'object', 'properties' => array('RequestId' => array('location' => 'header', 'sentAs' => 'x-amz-request-id')))), 'optionsBucket' => array('httpMethod' => 'OPTIONS', 'requestParameters' => array('Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns'), 'Origin' => array('required' => true, 'type' => 'string', 'location' => 'header'), 'AccessControlRequestMethods' => array('required' => true, 'type' => 'array', 'location' => 'header', 'items' => array('sentAs' => 'Access-Control-Request-Method', 'type' => 'string')), 'AccessControlRequestHeaders' => array('type' => 'array', 'location' => 'header', 'items' => array('sentAs' => 'Access-Control-Request-Headers', 'type' => 'string'))), 'responseParameters' => array('type' => 'object', 'properties' => array('RequestId' => array('location' => 'header', 'sentAs' => 'x-amz-request-id'), 'AccessContorlAllowOrigin' => array('location' => 'header', 'sentAs' => 'access-control-allow-origin'), 'AccessContorlAllowHeaders' => array('location' => 'header', 'sentAs' => 'access-control-allow-headers'), 'AccessContorlAllowMethods' => array('location' => 'header', 'sentAs' => 'access-control-allow-methods'), 'AccessContorlExposeHeaders' => array('location' => 'header', 'sentAs' => 'access-control-expose-headers'), 'AccessContorlMaxAge' => array('location' => 'header', 'sentAs' => 'access-control-max-age')))), 'setBucketTagging' => array('httpMethod' => 'PUT', 'specialParam' => 'tagging', 'data' => array('xmlRoot' => array('name' => 'Tagging', 'namespaces' => 'http://s3.amazonaws.com/doc/2006-03-01/'), 'contentMd5' => true), 'requestParameters' => array('Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns'), 'TagSet' => array('required' => true, 'type' => 'array', 'location' => 'xml', 'items' => array('required' => true, 'type' => 'object', 'name' => 'Tag', 'properties' => array('Key' => array('required' => true, 'type' => 'string'), 'Value' => array('required' => true, 'type' => 'string'))))), 'responseParameters' => array('type' => 'object', 'properties' => array('RequestId' => array('location' => 'header', 'sentAs' => 'x-amz-request-id')))), 'getBucketTagging' => array('httpMethod' => 'GET', 'specialParam' => 'tagging', 'requestParameters' => array('Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns')), 'responseParameters' => array('type' => 'object', 'properties' => array('RequestId' => array('location' => 'header', 'sentAs' => 'x-amz-request-id'), 'TagSet' => array('type' => 'array', 'location' => 'xml', 'items' => array('type' => 'object', 'name' => 'Tag', 'properties' => array('Key' => array('type' => 'string'), 'Value' => array('type' => 'string'))))))), 'deleteBucketTagging' => array('httpMethod' => 'DELETE', 'specialParam' => 'tagging', 'requestParameters' => array('Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns')), 'responseParameters' => array('type' => 'object', 'properties' => array('RequestId' => array('location' => 'header', 'sentAs' => 'x-amz-request-id')))), 'setBucketNotificationConfiguration' => array('httpMethod' => 'PUT', 'specialParam' => 'notification', 'data' => array('xmlRoot' => array('name' => 'NotificationConfiguration', 'namespaces' => 'http://s3.amazonaws.com/doc/2006-03-01/'), 'xmlAllowEmpty' => true), 'requestParameters' => array('Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns'), 'TopicConfiguration' => array('type' => 'object', 'location' => 'xml', 'properties' => array('Id' => array('type' => 'string'), 'Topic' => array('type' => 'string'), 'Event' => array('type' => 'array', 'data' => array('xmlFlattened' => true), 'items' => array('type' => 'string', 'sentAs' => 'Event')), 'Filter' => array('type' => 'array', 'wrapper' => 'Filter', 'sentAs' => 'S3Key', 'items' => array('type' => 'object', 'sentAs' => 'FilterRule', 'properties' => array('Name' => array('type' => 'string'), 'Value' => array('type' => 'string'))))))), 'responseParameters' => array('type' => 'object', 'properties' => array('RequestId' => array('location' => 'header', 'sentAs' => 'x-amz-request-id')))), 'getBucketNotificationConfiguration' => array('httpMethod' => 'GET', 'specialParam' => 'notification', 'requestParameters' => array('Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns')), 'responseParameters' => array('type' => 'object', 'properties' => array('RequestId' => array('location' => 'header', 'sentAs' => 'x-amz-request-id'), 'TopicConfiguration' => array('type' => 'object', 'location' => 'xml', 'properties' => array('Id' => array('type' => 'string'), 'Topic' => array('type' => 'string'), 'Event' => array('type' => 'array', 'data' => array('xmlFlattened' => true), 'items' => array('type' => 'string', 'sentAs' => 'Event')), 'Filter' => array('type' => 'array', 'items' => array('type' => 'object', 'wrapper' => 'S3Key', 'sentAs' => 'FilterRule', 'properties' => array('Name' => array('type' => 'string'), 'Value' => array('type' => 'string'))))))))), 'optionsObject' => array('httpMethod' => 'OPTIONS', 'requestParameters' => array('Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns'), 'Key' => array('required' => true, 'type' => 'string', 'location' => 'uri'), 'Origin' => array('required' => true, 'type' => 'string', 'location' => 'header'), 'AccessControlRequestMethods' => array('required' => true, 'type' => 'array', 'location' => 'header', 'items' => array('sentAs' => 'Access-Control-Request-Method', 'type' => 'string')), 'AccessControlRequestHeaders' => array('type' => 'array', 'location' => 'header', 'items' => array('sentAs' => 'Access-Control-Request-Headers', 'type' => 'string'))), 'responseParameters' => array('type' => 'object', 'properties' => array('RequestId' => array('location' => 'header', 'sentAs' => 'x-amz-request-id'), 'AccessContorlAllowOrigin' => array('location' => 'header', 'sentAs' => 'access-control-allow-origin'), 'AccessContorlAllowHeaders' => array('location' => 'header', 'sentAs' => 'access-control-allow-headers'), 'AccessContorlAllowMethods' => array('location' => 'header', 'sentAs' => 'access-control-allow-methods'), 'AccessContorlExposeHeaders' => array('location' => 'header', 'sentAs' => 'access-control-expose-headers'), 'AccessContorlMaxAge' => array('location' => 'header', 'sentAs' => 'access-control-max-age')))), 'deleteObject' => array('httpMethod' => 'DELETE', 'requestParameters' => array('Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns'), 'Key' => array('required' => true, 'type' => 'string', 'location' => 'uri'), 'VersionId' => array('type' => 'string', 'location' => 'query', 'sentAs' => 'versionId')), 'responseParameters' => array('type' => 'object', 'properties' => array('DeleteMarker' => array('type' => 'boolean', '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')))), 'deleteObjects' => array('httpMethod' => 'POST', 'specialParam' => 'delete', 'data' => array('xmlRoot' => array('name' => 'Delete', 'namespaces' => 'http://s3.amazonaws.com/doc/2006-03-01/'), 'contentMd5' => true), 'requestParameters' => array('Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns'), 'Quiet' => array('type' => 'boolean', 'location' => 'xml'), 'Objects' => array('required' => true, 'type' => 'array', 'location' => 'xml', 'data' => array('xmlFlattened' => true), 'items' => array('type' => 'object', 'sentAs' => 'Object', 'properties' => array('Key' => array('required' => true, 'type' => 'string'), 'VersionId' => array('type' => 'string'))))), 'responseParameters' => array('type' => 'object', 'properties' => array('Deleteds' => array('type' => 'array', 'location' => 'xml', 'sentAs' => 'Deleted', 'data' => array('xmlFlattened' => true), 'items' => array('name' => 'DeletedObject', '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('name' => 'Error', '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')))), 'setObjectAcl' => array('httpMethod' => 'PUT', 'specialParam' => 'acl', 'data' => array('xmlRoot' => array('name' => 'AccessControlPolicy', 'namespaces' => 'http://s3.amazonaws.com/doc/2006-03-01/')), 'requestParameters' => array('Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns'), 'Key' => array('required' => true, 'type' => 'string', 'location' => 'uri'), 'VersionId' => array('type' => 'string', 'location' => 'query', 'sentAs' => 'versionId'), 'ACL' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'x-amz-acl'), 'Owner' => array('type' => 'object', 'location' => 'xml', 'properties' => array('DisplayName' => array('type' => 'string'), 'ID' => array('type' => 'string'))), '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'), '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'))))), 'responseParameters' => array('RequestId' => array('location' => 'header', 'sentAs' => 'x-amz-request-id'))), 'getObjectAcl' => array('httpMethod' => 'GET', 'specialParam' => 'acl', 'requestParameters' => array('Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns'), 'Key' => array('required' => true, 'type' => 'string', 'location' => 'uri'), 'VersionId' => array('type' => 'string', 'location' => 'query', 'sentAs' => 'versionId')), 'responseParameters' => array('type' => 'object', 'properties' => array('Owner' => array('type' => 'object', 'location' => 'xml', 'properties' => array('DisplayName' => array('type' => 'string'), 'ID' => array('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('DisplayName' => array('type' => 'string'), 'ID' => array('type' => 'string'), 'Type' => array('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')))), 'RequestId' => array('location' => 'header', 'sentAs' => 'x-amz-request-id')))), 'restoreObject' => array('httpMethod' => 'POST', 'specialParam' => 'restore', 'data' => array('xmlRoot' => array('name' => 'RestoreRequest', 'namespaces' => 'http://s3.amazonaws.com/doc/2006-03-01/')), 'requestParameters' => array('Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns'), 'Key' => array('required' => true, 'type' => 'string', 'location' => 'uri'), 'VersionId' => array('type' => 'string', 'location' => 'query', 'sentAs' => 'versionId'), 'Days' => array('required' => true, 'type' => 'numeric', 'location' => 'xml', 'sentAs' => 'Days'), 'Tier' => array('wrapper' => 'GlacierJobParameters', 'type' => 'string', 'sentAs' => 'Tier', 'location' => 'xml')), 'responseParameters' => array('RequestId' => array('location' => 'header', 'sentAs' => 'x-amz-request-id'))), 'putObject' => array('httpMethod' => 'PUT', 'requestParameters' => array('ACL' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'x-amz-acl'), 'Body' => array('type' => 'stream', 'location' => 'body'), 'Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns'), 'Key' => array('required' => true, 'type' => 'string', 'location' => 'uri'), 'ContentMD5' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'Content-MD5'), 'ContentType' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'Content-Type'), 'ContentLength' => array('type' => 'numeric', 'location' => 'header', 'sentAs' => 'Content-Length'), 'Metadata' => array('type' => 'object', 'location' => 'header', 'sentAs' => 'x-amz-meta-'), 'SourceFile' => array('type' => 'file', 'location' => 'body'), 'WebsiteRedirectLocation' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'x-amz-website-redirect-location'), 'SseKms' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption'), 'SseKmsKey' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption-aws-kms-key-id'), 'SseC' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption-customer-algorithm'), 'SseCKey' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption-customer-key', 'type' => 'password')), 'responseParameters' => array('type' => 'object', 'properties' => array('ETag' => array('type' => 'string', 'location' => 'header'), 'VersionId' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'x-amz-version-id'), 'RequestId' => array('location' => 'header', 'sentAs' => 'x-amz-request-id'), 'StorageClass' => array('location' => 'header', 'sentAs' => 'x-amz-storage-class'), 'SseKms' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption'), 'SseKmsKey' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption-aws-kms-key-id'), 'SseC' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption-customer-algorithm'), 'SseCKeyMd5' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption-customer-key-MD5')))), 'getObject' => array('httpMethod' => 'GET', 'stream' => true, 'requestParameters' => array('Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns'), 'IfMatch' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'If-Match'), 'IfModifiedSince' => array('type' => 'string', 'format' => 'date-time-http', 'location' => 'header', 'sentAs' => 'If-Modified-Since'), 'IfNoneMatch' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'If-None-Match'), 'IfUnmodifiedSince' => array('type' => 'string', 'format' => 'date-time-http', 'location' => 'header', 'sentAs' => 'If-Unmodified-Since'), 'Key' => array('required' => true, 'type' => 'string', 'location' => 'uri'), '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' => 'string', 'format' => 'date-time-http', 'location' => 'query', 'sentAs' => 'response-expires'), 'VersionId' => array('type' => 'string', 'location' => 'query', 'sentAs' => 'versionId'), 'FilePath' => array('type' => 'file', 'location' => 'response'), 'Origin' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'Origin'), 'RequestHeader' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'Access-Control-Request-Headers'), 'SseC' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption-customer-algorithm'), 'SseCKey' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption-customer-key', 'type' => 'password')), 'responseParameters' => array('type' => 'object', 'properties' => array('Body' => array('type' => 'stream', 'location' => 'body'), 'DeleteMarker' => array('type' => 'boolean', 'location' => 'header', 'sentAs' => 'x-amz-delete-marker'), 'Expiration' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'x-amz-expiration'), 'LastModified' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'last-modified'), 'ContentLength' => array('type' => 'numeric', 'location' => 'header', 'sentAs' => 'content-length'), 'ETag' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'etag'), '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'), 'RequestId' => array('location' => 'header', 'sentAs' => 'x-amz-request-id'), 'StorageClass' => array('location' => 'header', 'sentAs' => 'x-amz-storage-class'), 'Restore' => array('location' => 'header', 'sentAs' => 'x-amz-restore'), 'AllowOrigin' => array('location' => 'header', 'sentAs' => 'access-control-allow-origin'), 'MaxAge' => array('location' => 'header', 'sentAs' => 'access-control-max-age'), 'ExposeHeaders' => array('location' => 'header', 'sentAs' => 'access-control-expose-headers'), 'AllowMethods' => array('location' => 'header', 'sentAs' => 'access-control-allow-methods'), 'AllowHeaders' => array('location' => 'header', 'sentAs' => 'access-control-allow-headers'), 'SseKms' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption'), 'SseKmsKey' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption-aws-kms-key-id'), 'SseC' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption-customer-algorithm'), 'SseCKeyMd5' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption-customer-key-MD5'), 'Metadata' => array('location' => 'header', 'type' => 'object', 'sentAs' => 'x-amz-meta-')))), 'copyObject' => array('httpMethod' => 'PUT', 'requestParameters' => array('ACL' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'x-amz-acl'), 'Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns'), 'Key' => array('required' => true, 'type' => 'string', 'location' => 'uri'), 'CopySource' => array('required' => true, 'type' => 'string', 'location' => 'header', 'sentAs' => 'x-amz-copy-source'), 'CopySourceIfMatch' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'x-amz-copy-source-if-match'), 'CopySourceIfModifiedSince' => array('type' => 'string', 'format' => 'date-time-http', 'location' => 'header', 'sentAs' => 'x-amz-copy-source-if-modified-since'), 'CopySourceIfNoneMatch' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'x-amz-copy-source-if-none-match'), 'CopySourceIfUnmodifiedSince' => array('type' => 'string', 'format' => 'date-time-http', 'location' => 'header', 'sentAs' => 'x-amz-copy-source-if-unmodified-since'), 'MetadataDirective' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'x-amz-metadata-directive'), 'ContentType' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'content-type'), 'ContentEncoding' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'content-encoding'), 'ContentLanguage' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'content-language'), 'ContentDisposition' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'content-disposition'), 'CacheControl' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'cache-control'), 'Expires' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'expires'), 'Metadata' => array('type' => 'object', 'location' => 'header', 'sentAs' => 'x-amz-meta-'), 'WebsiteRedirectLocation' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'x-amz-website-redirect-location'), 'SseKms' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption'), 'SseKmsKey' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption-aws-kms-key-id'), 'SseC' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption-customer-algorithm'), 'SseCKey' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption-customer-key', 'type' => 'password'), 'CopySourceSseC' => array('location' => 'header', 'sentAs' => 'x-amz-copy-source-server-side-encryption-customer-algorithm'), 'CopySourceSseCKey' => array('location' => 'header', 'sentAs' => 'x-amz-copy-source-server-side-encryption-customer-key', 'type' => 'password')), 'responseParameters' => array('type' => 'object', 'properties' => array('ETag' => array('type' => 'string', 'location' => 'xml'), 'LastModified' => array('type' => 'string', 'location' => 'xml'), 'VersionId' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'x-amz-version-id'), 'CopySourceVersionId' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'x-amz-copy-source-version-id'), 'RequestId' => array('location' => 'header', 'sentAs' => 'x-amz-request-id'), 'SseKms' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption'), 'SseKmsKey' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption-aws-kms-key-id'), 'SseC' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption-customer-algorithm'), 'SseCKeyMd5' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption-customer-key-MD5')))), 'getObjectMetadata' => array('httpMethod' => 'HEAD', 'requestParameters' => array('Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns'), 'Key' => array('required' => true, 'type' => 'string', 'location' => 'uri'), 'VersionId' => array('type' => 'string', 'location' => 'query', 'sentAs' => 'versionId'), 'Origin' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'Origin'), 'RequestHeader' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'Access-Control-Request-Headers'), 'SseC' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption-customer-algorithm'), 'SseCKey' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption-customer-key', 'type' => 'password')), 'responseParameters' => array('type' => 'object', 'properties' => array('Expiration' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'x-amz-expiration'), 'LastModified' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'last-modified'), 'ContentLength' => array('type' => 'numeric', 'location' => 'header', 'sentAs' => 'content-length'), 'ETag' => array('type' => 'string', 'location' => 'header'), 'VersionId' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'x-amz-version-id'), 'WebsiteRedirectLocation' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'x-amz-website-redirect-location'), 'RequestId' => array('location' => 'header', 'sentAs' => 'x-amz-request-id'), 'StorageClass' => array('location' => 'header', 'sentAs' => 'x-amz-storage-class'), 'AllowOrigin' => array('location' => 'header', 'sentAs' => 'access-control-allow-origin'), 'MaxAge' => array('location' => 'header', 'sentAs' => 'access-control-max-age'), 'ExposeHeaders' => array('location' => 'header', 'sentAs' => 'access-control-expose-headers'), 'AllowMethods' => array('location' => 'header', 'sentAs' => 'access-control-allow-methods'), 'AllowHeaders' => array('location' => 'header', 'sentAs' => 'access-control-allow-headers'), 'Restore' => array('location' => 'header', 'sentAs' => 'x-amz-restore'), 'SseKms' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption'), 'SseKmsKey' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption-aws-kms-key-id'), 'SseC' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption-customer-algorithm'), 'SseCKeyMd5' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption-customer-key-MD5'), 'Metadata' => array('location' => 'header', 'type' => 'object', 'sentAs' => 'x-amz-meta-')))), 'initiateMultipartUpload' => array('httpMethod' => 'POST', 'specialParam' => 'uploads', 'requestParameters' => array('ACL' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'x-amz-acl'), 'Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns'), 'ContentType' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'Content-Type'), 'Key' => array('required' => true, 'type' => 'string', 'location' => 'uri'), 'Metadata' => array('type' => 'object', 'location' => 'header', 'sentAs' => 'x-amz-meta-'), 'WebsiteRedirectLocation' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'x-amz-website-redirect-location'), 'SseKms' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption'), 'SseKmsKey' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption-aws-kms-key-id'), 'SseC' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption-customer-algorithm'), 'SseCKey' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption-customer-key', 'type' => 'password')), 'responseParameters' => array('type' => 'object', 'properties' => array('Bucket' => array('type' => 'string', 'location' => 'xml', 'sentAs' => 'Bucket'), 'Key' => array('type' => 'string', 'location' => 'xml'), 'UploadId' => array('type' => 'string', 'location' => 'xml'), 'RequestId' => array('location' => 'header', 'sentAs' => 'x-amz-request-id'), 'SseKms' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption'), 'SseKmsKey' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption-aws-kms-key-id'), 'SseC' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption-customer-algorithm'), 'SseCKeyMd5' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption-customer-key-MD5')))), 'listMultipartUploads' => array('httpMethod' => 'GET', 'specialParam' => 'uploads', 'requestParameters' => array('Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns'), 'Delimiter' => array('type' => 'string', 'location' => 'query', 'sentAs' => 'delimiter'), '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')), 'responseParameters' => array('type' => 'object', 'properties' => array('Bucket' => array('type' => 'string', 'location' => 'xml'), 'KeyMarker' => array('type' => 'string', 'location' => 'xml'), 'UploadIdMarker' => array('type' => 'string', 'location' => 'xml'), 'NextKeyMarker' => array('type' => 'string', 'location' => 'xml'), 'Prefix' => array('type' => 'string', 'location' => 'xml'), 'Delimiter' => array('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('name' => 'MultipartUpload', '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('DisplayName' => array('type' => 'string'), 'ID' => array('type' => 'string'))), 'Initiator' => array('type' => 'object', 'properties' => array('ID' => array('type' => 'string'), 'DisplayName' => array('type' => 'string')))))), 'CommonPrefixes' => array('type' => 'array', 'location' => 'xml', 'data' => array('xmlFlattened' => true), 'items' => array('name' => 'CommonPrefix', 'type' => 'object', 'properties' => array('Prefix' => array('type' => 'string')))), 'RequestId' => array('location' => 'header', 'sentAs' => 'x-amz-request-id')))), 'abortMultipartUpload' => array('httpMethod' => 'DELETE', 'requestParameters' => array('Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns'), 'Key' => array('required' => true, 'type' => 'string', 'location' => 'uri'), 'UploadId' => array('required' => true, 'type' => 'string', 'location' => 'query', 'sentAs' => 'uploadId')), 'responseParameters' => array('type' => 'object', 'properties' => array('RequestId' => array('location' => 'header', 'sentAs' => 'x-amz-request-id')))), 'uploadPart' => array('httpMethod' => 'PUT', 'requestParameters' => array('Body' => array('type' => 'stream', 'location' => 'body'), 'SourceFile' => array('type' => 'file', 'location' => 'body'), 'Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns'), 'Key' => array('required' => true, 'type' => 'string', 'location' => 'uri'), 'PartNumber' => array('required' => true, 'type' => 'numeric', 'location' => 'query', 'sentAs' => 'partNumber'), 'UploadId' => array('required' => true, 'type' => 'string', 'location' => 'query', 'sentAs' => 'uploadId'), 'Offset' => array('type' => 'numeric', 'location' => 'response'), 'PartSize' => array('type' => 'numeric', 'location' => 'response'), 'ContentMD5' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'Content-MD5'), 'SseC' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption-customer-algorithm'), 'SseCKey' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption-customer-key', 'type' => 'password')), 'responseParameters' => array('type' => 'object', 'properties' => array('ETag' => array('type' => 'string', 'location' => 'header'), 'RequestId' => array('location' => 'header', 'sentAs' => 'x-amz-request-id'), 'SseKms' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption'), 'SseKmsKey' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption-aws-kms-key-id'), 'SseC' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption-customer-algorithm'), 'SseCKeyMd5' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption-customer-key-MD5')))), 'completeMultipartUpload' => array('httpMethod' => 'POST', 'data' => array('xmlRoot' => array('name' => 'CompleteMultipartUpload', 'namespaces' => 'http://s3.amazonaws.com/doc/2006-03-01/')), 'requestParameters' => array('Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns'), 'Key' => array('required' => true, 'type' => 'string', 'location' => 'uri'), 'Parts' => array('type' => 'array', 'location' => 'xml', 'data' => array('xmlFlattened' => true), 'items' => array('name' => 'CompletedPart', 'type' => 'object', 'sentAs' => 'Part', 'properties' => array('PartNumber' => array('type' => 'numeric'), 'ETag' => array('type' => 'string')))), 'UploadId' => array('required' => true, 'type' => 'string', 'location' => 'query', 'sentAs' => 'uploadId')), 'responseParameters' => array('type' => 'object', 'properties' => array('Location' => array('type' => 'string', 'location' => 'xml'), 'Bucket' => array('type' => 'string', 'location' => 'xml'), 'Key' => array('type' => 'string', 'location' => 'xml'), 'ETag' => array('type' => 'string', 'location' => 'xml'), 'VersionId' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'x-amz-version-id'), 'RequestId' => array('location' => 'header', 'sentAs' => 'x-amz-request-id'), 'SseKms' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption'), 'SseKmsKey' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption-aws-kms-key-id'), 'SseC' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption-customer-algorithm'), 'SseCKeyMd5' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption-customer-key-MD5')))), 'listParts' => array('httpMethod' => 'GET', 'requestParameters' => array('Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns'), 'Key' => array('required' => true, 'type' => 'string', 'location' => 'uri'), 'MaxParts' => array('type' => 'numeric', 'location' => 'query', 'sentAs' => 'max-parts'), 'PartNumberMarker' => array('type' => 'numeric', 'location' => 'query', 'sentAs' => 'part-number-marker'), 'UploadId' => array('required' => true, 'type' => 'string', 'location' => 'query', 'sentAs' => 'uploadId')), 'responseParameters' => array('type' => 'object', '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('name' => 'Part', '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('DisplayName' => array('type' => 'string'), 'ID' => array('type' => 'string'))), 'StorageClass' => array('type' => 'string', 'location' => 'xml'), 'RequestId' => array('location' => 'header', 'sentAs' => 'x-amz-request-id')))), 'copyPart' => array('httpMethod' => 'PUT', 'requestParameters' => array('Bucket' => array('required' => true, 'type' => 'string', 'location' => 'dns'), 'CopySource' => array('required' => true, 'type' => 'string', 'location' => 'header', 'sentAs' => 'x-amz-copy-source'), 'CopySourceRange' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'x-amz-copy-source-range'), 'Key' => array('required' => true, 'type' => 'string', 'location' => 'uri'), 'PartNumber' => array('required' => true, 'type' => 'numeric', 'location' => 'query', 'sentAs' => 'partNumber'), 'UploadId' => array('required' => true, 'type' => 'string', 'location' => 'query', 'sentAs' => 'uploadId'), 'SseC' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption-customer-algorithm'), 'SseCKey' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption-customer-key', 'type' => 'password'), 'CopySourceSseC' => array('location' => 'header', 'sentAs' => 'x-amz-copy-source-server-side-encryption-customer-algorithm'), 'CopySourceSseCKey' => array('location' => 'header', 'sentAs' => 'x-amz-copy-source-server-side-encryption-customer-key', 'type' => 'password')), 'responseParameters' => array('type' => 'object', 'properties' => array('ETag' => array('type' => 'string', 'location' => 'xml'), 'LastModified' => array('type' => 'string', 'location' => 'xml'), 'RequestId' => array('location' => 'header', 'sentAs' => 'x-amz-request-id'), 'SseC' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption-customer-algorithm'), 'SseCKeyMd5' => array('location' => 'header', 'sentAs' => 'x-amz-server-side-encryption-customer-key-MD5'))))), 'aliases' => array('headBucket' => 'getBucketMetadata', 'getService' => 'listBuckets', 'GetBucket' => 'listObjects', 'PutBucket' => 'createBucket', 'getBucketHeaders' => 'getBucketMetadata', 'getObjectHeaders' => 'getObjectMetadata', 'createObject' => 'putObject', 'deleteMultipleObjects' => 'deleteObjects', 'putObjectCopy' => 'copyObject', 'getLogs' => 'getBucketLoggingConfiguration', 'getVersioningStatus' => 'getBucketVersioningConfiguration', 'createBucketNotification' => 'putBucketNotification', 'getBucketNotifications' => 'getBucketNotification', 'createWebsiteConfig' => 'setBucketWebsiteConfiguration', 'getWebsiteConfig' => 'getBucketWebsiteConfiguration', 'deleteWebsiteConfig' => 'deleteBucketWebsiteConfiguration', 'createObjectExpirationConfig' => 'setBucketLifecycleConfiguration', 'getObjectExpirationConfig' => 'getBucketLifecycleConfiguration', 'deleteObjectExpirationConfig' => 'deleteBucketLifecycle'))