Skip to content

Commit

Permalink
Aws::S3::Client API updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorrowe committed Jul 28, 2015
1 parent b004dea commit e908aed
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 14 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Unreleased Changes
------------------

* Feature - Aws::S3 - Added support for the new long tail storage class and the new
storage class headers in the GET and HEAD Object responses.

* Feature - Aws::S3 - Added support for the new object delete notification events.

* Issue - Aws::Glacier - `Aws::Glacier::Account#vaults` was not populating the account
in the call to list vaults.

Expand Down
30 changes: 27 additions & 3 deletions aws-sdk-core/apis/s3/2006-03-01/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -904,6 +904,7 @@
"ContentLanguage":{"type":"string"},
"ContentLength":{"type":"integer"},
"ContentMD5":{"type":"string"},
"ContentRange":{"type":"string"},
"ContentType":{"type":"string"},
"CopyObjectOutput":{
"type":"structure",
Expand Down Expand Up @@ -1623,10 +1624,14 @@
"type":"string",
"enum":[
"s3:ReducedRedundancyLostObject",
"s3:ObjectCreated:*",
"s3:ObjectCreated:Put",
"s3:ObjectCreated:Post",
"s3:ObjectCreated:Copy",
"s3:ObjectCreated:CompleteMultipartUpload"
"s3:ObjectCreated:CompleteMultipartUpload",
"s3:ObjectRemoved:*",
"s3:ObjectRemoved:Delete",
"s3:ObjectRemoved:DeleteMarkerCreated"
]
},
"EventList":{
Expand Down Expand Up @@ -1983,6 +1988,11 @@
"location":"header",
"locationName":"Content-Language"
},
"ContentRange":{
"shape":"ContentRange",
"location":"header",
"locationName":"Content-Range"
},
"ContentType":{
"shape":"ContentType",
"location":"header",
Expand Down Expand Up @@ -2023,6 +2033,11 @@
"location":"header",
"locationName":"x-amz-server-side-encryption-aws-kms-key-id"
},
"StorageClass":{
"shape":"StorageClass",
"location":"header",
"locationName":"x-amz-storage-class"
},
"RequestCharged":{
"shape":"RequestCharged",
"location":"header",
Expand Down Expand Up @@ -2331,6 +2346,11 @@
"location":"header",
"locationName":"x-amz-server-side-encryption-aws-kms-key-id"
},
"StorageClass":{
"shape":"StorageClass",
"location":"header",
"locationName":"x-amz-storage-class"
},
"RequestCharged":{
"shape":"RequestCharged",
"location":"header",
Expand Down Expand Up @@ -3790,14 +3810,18 @@
},
"ServerSideEncryption":{
"type":"string",
"enum":["AES256"]
"enum":[
"AES256",
"aws:kms"
]
},
"Size":{"type":"integer"},
"StorageClass":{
"type":"string",
"enum":[
"STANDARD",
"REDUCED_REDUNDANCY"
"REDUCED_REDUNDANCY",
"LT"
]
},
"Suffix":{"type":"string"},
Expand Down
30 changes: 19 additions & 11 deletions aws-sdk-core/apis/s3/2006-03-01/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,12 @@
"UploadPartRequest$ContentMD5": null
}
},
"ContentRange": {
"base": null,
"refs": {
"GetObjectOutput$ContentRange": "The portion of the object returned in the response."
}
},
"ContentType": {
"base": null,
"refs": {
Expand Down Expand Up @@ -1574,10 +1580,10 @@
"PartNumber": {
"base": null,
"refs": {
"CompletedPart$PartNumber": "Part number that identifies the part.",
"Part$PartNumber": "Part number identifying the part.",
"UploadPartCopyRequest$PartNumber": "Part number of part being copied.",
"UploadPartRequest$PartNumber": "Part number of part being uploaded."
"CompletedPart$PartNumber": "Part number that identifies the part. This is a positive integer between 1 and 10,000.",
"Part$PartNumber": "Part number identifying the part. This is a positive integer between 1 and 10,000.",
"UploadPartCopyRequest$PartNumber": "Part number of part being copied. This is a positive integer between 1 and 10,000.",
"UploadPartRequest$PartNumber": "Part number of part being uploaded. This is a positive integer between 1 and 10,000."
}
},
"PartNumberMarker": {
Expand Down Expand Up @@ -1952,19 +1958,19 @@
"base": null,
"refs": {
"CopyObjectOutput$SSECustomerAlgorithm": "If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used.",
"CopyObjectRequest$SSECustomerAlgorithm": "Specifies the algorithm to use to when encrypting the object (e.g., AES256, aws:kms).",
"CopyObjectRequest$SSECustomerAlgorithm": "Specifies the algorithm to use to when encrypting the object (e.g., AES256).",
"CreateMultipartUploadOutput$SSECustomerAlgorithm": "If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used.",
"CreateMultipartUploadRequest$SSECustomerAlgorithm": "Specifies the algorithm to use to when encrypting the object (e.g., AES256, aws:kms).",
"CreateMultipartUploadRequest$SSECustomerAlgorithm": "Specifies the algorithm to use to when encrypting the object (e.g., AES256).",
"GetObjectOutput$SSECustomerAlgorithm": "If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used.",
"GetObjectRequest$SSECustomerAlgorithm": "Specifies the algorithm to use to when encrypting the object (e.g., AES256, aws:kms).",
"GetObjectRequest$SSECustomerAlgorithm": "Specifies the algorithm to use to when encrypting the object (e.g., AES256).",
"HeadObjectOutput$SSECustomerAlgorithm": "If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used.",
"HeadObjectRequest$SSECustomerAlgorithm": "Specifies the algorithm to use to when encrypting the object (e.g., AES256, aws:kms).",
"HeadObjectRequest$SSECustomerAlgorithm": "Specifies the algorithm to use to when encrypting the object (e.g., AES256).",
"PutObjectOutput$SSECustomerAlgorithm": "If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used.",
"PutObjectRequest$SSECustomerAlgorithm": "Specifies the algorithm to use to when encrypting the object (e.g., AES256, aws:kms).",
"PutObjectRequest$SSECustomerAlgorithm": "Specifies the algorithm to use to when encrypting the object (e.g., AES256).",
"UploadPartCopyOutput$SSECustomerAlgorithm": "If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used.",
"UploadPartCopyRequest$SSECustomerAlgorithm": "Specifies the algorithm to use to when encrypting the object (e.g., AES256, aws:kms).",
"UploadPartCopyRequest$SSECustomerAlgorithm": "Specifies the algorithm to use to when encrypting the object (e.g., AES256).",
"UploadPartOutput$SSECustomerAlgorithm": "If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used.",
"UploadPartRequest$SSECustomerAlgorithm": "Specifies the algorithm to use to when encrypting the object (e.g., AES256, aws:kms)."
"UploadPartRequest$SSECustomerAlgorithm": "Specifies the algorithm to use to when encrypting the object (e.g., AES256)."
}
},
"SSECustomerKey": {
Expand Down Expand Up @@ -2043,6 +2049,8 @@
"refs": {
"CopyObjectRequest$StorageClass": "The type of storage to use for the object. Defaults to 'STANDARD'.",
"CreateMultipartUploadRequest$StorageClass": "The type of storage to use for the object. Defaults to 'STANDARD'.",
"GetObjectOutput$StorageClass": null,
"HeadObjectOutput$StorageClass": null,
"ListPartsOutput$StorageClass": "The class of storage used to store the object.",
"MultipartUpload$StorageClass": "The class of storage used to store the object.",
"PutObjectRequest$StorageClass": "The type of storage to use for the object. Defaults to 'STANDARD'."
Expand Down

0 comments on commit e908aed

Please sign in to comment.