Skip to content

Commit

Permalink
service/s3: Adds support for S3 accelerate
Browse files Browse the repository at this point in the history
Amazon Simple Storage Service

Updates client to latest
  • Loading branch information
xibz committed Apr 19, 2016
1 parent df1c0a3 commit 174327f
Show file tree
Hide file tree
Showing 5 changed files with 306 additions and 0 deletions.
72 changes: 72 additions & 0 deletions models/apis/s3/2006-03-01/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,15 @@
"documentationUrl":"http://docs.amazonwebservices.com/AmazonS3/latest/API/multiobjectdeleteapi.html",
"alias":"DeleteMultipleObjects"
},
"GetBucketAccelerateConfiguration":{
"name":"GetBucketAccelerateConfiguration",
"http":{
"method":"GET",
"requestUri":"/{Bucket}?accelerate"
},
"input":{"shape":"GetBucketAccelerateConfigurationRequest"},
"output":{"shape":"GetBucketAccelerateConfigurationOutput"}
},
"GetBucketAcl":{
"name":"GetBucketAcl",
"http":{
Expand Down Expand Up @@ -413,6 +422,14 @@
"output":{"shape":"ListPartsOutput"},
"documentationUrl":"http://docs.amazonwebservices.com/AmazonS3/latest/API/mpUploadListParts.html"
},
"PutBucketAccelerateConfiguration":{
"name":"PutBucketAccelerateConfiguration",
"http":{
"method":"PUT",
"requestUri":"/{Bucket}?accelerate"
},
"input":{"shape":"PutBucketAccelerateConfigurationRequest"}
},
"PutBucketAcl":{
"name":"PutBucketAcl",
"http":{
Expand Down Expand Up @@ -636,6 +653,12 @@
}
},
"AbortRuleId":{"type":"string"},
"AccelerateConfiguration":{
"type":"structure",
"members":{
"Status":{"shape":"BucketAccelerateStatus"}
}
},
"AcceptRanges":{"type":"string"},
"AccessControlPolicy":{
"type":"structure",
Expand Down Expand Up @@ -673,6 +696,13 @@
"CreationDate":{"shape":"CreationDate"}
}
},
"BucketAccelerateStatus":{
"type":"string",
"enum":[
"Enabled",
"Suspended"
]
},
"BucketAlreadyExists":{
"type":"structure",
"members":{
Expand Down Expand Up @@ -1712,6 +1742,23 @@
]
},
"FilterRuleValue":{"type":"string"},
"GetBucketAccelerateConfigurationOutput":{
"type":"structure",
"members":{
"Status":{"shape":"BucketAccelerateStatus"}
}
},
"GetBucketAccelerateConfigurationRequest":{
"type":"structure",
"required":["Bucket"],
"members":{
"Bucket":{
"shape":"BucketName",
"location":"uri",
"locationName":"Bucket"
}
}
},
"GetBucketAclOutput":{
"type":"structure",
"members":{
Expand Down Expand Up @@ -3142,6 +3189,26 @@
"https"
]
},
"PutBucketAccelerateConfigurationRequest":{
"type":"structure",
"required":[
"Bucket",
"AccelerateConfiguration"
],
"members":{
"Bucket":{
"shape":"BucketName",
"location":"uri",
"locationName":"Bucket"
},
"AccelerateConfiguration":{
"shape":"AccelerateConfiguration",
"locationName":"AccelerateConfiguration",
"xmlNamespace":{"uri":"http://s3.amazonaws.com/doc/2006-03-01/"}
}
},
"payload":"AccelerateConfiguration"
},
"PutBucketAclRequest":{
"type":"structure",
"required":["Bucket"],
Expand Down Expand Up @@ -3550,6 +3617,11 @@
"shape":"RequestPayer",
"location":"header",
"locationName":"x-amz-request-payer"
},
"VersionId":{
"shape":"ObjectVersionId",
"location":"querystring",
"locationName":"versionId"
}
},
"payload":"AccessControlPolicy"
Expand Down
33 changes: 33 additions & 0 deletions models/apis/s3/2006-03-01/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"DeleteBucketWebsite": "This operation removes the website configuration from the bucket.",
"DeleteObject": "Removes the null version (if there is one) of an object and inserts a delete marker, which becomes the latest version of the object. If there isn't a null version, Amazon S3 does not remove any objects.",
"DeleteObjects": "This operation enables you to delete multiple objects from a bucket using a single HTTP request. You may specify up to 1000 keys.",
"GetBucketAccelerateConfiguration": "Returns the accelerate configuration of a bucket.",
"GetBucketAcl": "Gets the access control policy for the bucket.",
"GetBucketCors": "Returns the cors configuration for the bucket.",
"GetBucketLifecycle": "Deprecated, see the GetBucketLifecycleConfiguration operation.",
Expand All @@ -40,6 +41,7 @@
"ListObjectVersions": "Returns metadata about all of the versions of objects in a bucket.",
"ListObjects": "Returns some or all (up to 1000) of the objects in a bucket. You can use the request parameters as selection criteria to return a subset of the objects in a bucket.",
"ListParts": "Lists the parts that have been uploaded for a specific multipart upload.",
"PutBucketAccelerateConfiguration": "Sets the accelerate configuration of an existing bucket.",
"PutBucketAcl": "Sets the permissions on a bucket using access control lists (ACL).",
"PutBucketCors": "Sets the cors configuration for a bucket.",
"PutBucketLifecycle": "Deprecated, see the PutBucketLifecycleConfiguration operation.",
Expand Down Expand Up @@ -91,6 +93,12 @@
"ListPartsOutput$AbortRuleId": "Id of the lifecycle rule that makes a multipart upload eligible for abort operation."
}
},
"AccelerateConfiguration": {
"base": null,
"refs": {
"PutBucketAccelerateConfigurationRequest$AccelerateConfiguration": "Specifies the Accelerate Configuration you want to set for the bucket."
}
},
"AcceptRanges": {
"base": null,
"refs": {
Expand Down Expand Up @@ -156,6 +164,13 @@
"Buckets$member": null
}
},
"BucketAccelerateStatus": {
"base": null,
"refs": {
"AccelerateConfiguration$Status": "The accelerate configuration of the bucket.",
"GetBucketAccelerateConfigurationOutput$Status": "The accelerate configuration of the bucket."
}
},
"BucketAlreadyExists": {
"base": "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.",
"refs": {
Expand Down Expand Up @@ -219,6 +234,7 @@
"DeleteObjectRequest$Bucket": null,
"DeleteObjectsRequest$Bucket": null,
"Destination$Bucket": "Amazon resource name (ARN) of the bucket where you want Amazon S3 to store replicas of the object identified by the rule.",
"GetBucketAccelerateConfigurationRequest$Bucket": "Name of the bucket for which the accelerate configuration is retrieved.",
"GetBucketAclRequest$Bucket": null,
"GetBucketCorsRequest$Bucket": null,
"GetBucketLifecycleConfigurationRequest$Bucket": null,
Expand All @@ -245,6 +261,7 @@
"ListObjectsRequest$Bucket": null,
"ListPartsOutput$Bucket": "Name of the bucket to which the multipart upload was initiated.",
"ListPartsRequest$Bucket": null,
"PutBucketAccelerateConfigurationRequest$Bucket": "Name of the bucket for which the accelerate configuration is set.",
"PutBucketAclRequest$Bucket": null,
"PutBucketCorsRequest$Bucket": null,
"PutBucketLifecycleConfigurationRequest$Bucket": null,
Expand Down Expand Up @@ -865,6 +882,16 @@
"FilterRule$Value": null
}
},
"GetBucketAccelerateConfigurationOutput": {
"base": null,
"refs": {
}
},
"GetBucketAccelerateConfigurationRequest": {
"base": null,
"refs": {
}
},
"GetBucketAclOutput": {
"base": null,
"refs": {
Expand Down Expand Up @@ -1656,6 +1683,7 @@
"HeadObjectRequest$VersionId": "VersionId used to reference a specific version of the object.",
"ObjectIdentifier$VersionId": "VersionId for the specific version of the object to delete.",
"ObjectVersion$VersionId": "Version ID of an object.",
"PutObjectAclRequest$VersionId": "VersionId used to reference a specific version of the object.",
"PutObjectOutput$VersionId": "Version of the object.",
"RestoreObjectRequest$VersionId": null
}
Expand Down Expand Up @@ -1756,6 +1784,11 @@
"RedirectAllRequestsTo$Protocol": "Protocol to use (http, https) when redirecting requests. The default is the protocol that is used in the original request."
}
},
"PutBucketAccelerateConfigurationRequest": {
"base": null,
"refs": {
}
},
"PutBucketAclRequest": {
"base": null,
"refs": {
Expand Down
Loading

0 comments on commit 174327f

Please sign in to comment.