Skip to content

Commit 665e043

Browse files
Update generated code (#1845)
* update generated code * Update src/Service/RdsDataService/CHANGELOG.md --------- Co-authored-by: Jérémy Derussé <jeremy@derusse.com>
1 parent b4d0b70 commit 665e043

14 files changed

+123
-109
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
- AWS api-change: This change enhances integrity protections for new SDK requests to S3. S3 SDKs now support the CRC64NVME checksum algorithm, full object checksums for multipart S3 objects, and new default integrity protections for S3 requests.
88
- AWS api-change: Added `us-isof-east-1` and `us-isof-south-1` regions
99
- AWS api-change: Updated list of the valid AWS Region values for the LocationConstraint parameter for general purpose buckets.
10+
- AWS api-change: Added support for Content-Range header in HeadObject response.
1011

1112
## 2.7.0
1213

src/Input/CompleteMultipartUploadRequest.php

+8-8
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ final class CompleteMultipartUploadRequest extends Input
7474

7575
/**
7676
* This header can be used as a data integrity check to verify that the data received is the same data that was
77-
* originally sent. This header specifies the Base64 encoded, 32-bit `CRC-32` checksum of the object. For more
77+
* originally sent. This header specifies the Base64 encoded, 32-bit `CRC32` checksum of the object. For more
7878
* information, see Checking object integrity [^1] in the *Amazon S3 User Guide*.
7979
*
8080
* [^1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
@@ -85,7 +85,7 @@ final class CompleteMultipartUploadRequest extends Input
8585

8686
/**
8787
* This header can be used as a data integrity check to verify that the data received is the same data that was
88-
* originally sent. This header specifies the Base64 encoded, 32-bit `CRC-32C` checksum of the object. For more
88+
* originally sent. This header specifies the Base64 encoded, 32-bit `CRC32C` checksum of the object. For more
8989
* information, see Checking object integrity [^1] in the *Amazon S3 User Guide*.
9090
*
9191
* [^1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
@@ -96,9 +96,9 @@ final class CompleteMultipartUploadRequest extends Input
9696

9797
/**
9898
* This header can be used as a data integrity check to verify that the data received is the same data that was
99-
* originally sent. This header specifies the Base64 encoded, 64-bit `CRC-64NVME` checksum of the object. The
100-
* `CRC-64NVME` checksum is always a full object checksum. For more information, see Checking object integrity in the
101-
* Amazon S3 User Guide [^1].
99+
* originally sent. This header specifies the Base64 encoded, 64-bit `CRC64NVME` checksum of the object. The `CRC64NVME`
100+
* checksum is always a full object checksum. For more information, see Checking object integrity in the Amazon S3 User
101+
* Guide [^1].
102102
*
103103
* [^1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
104104
*
@@ -108,8 +108,8 @@ final class CompleteMultipartUploadRequest extends Input
108108

109109
/**
110110
* This header can be used as a data integrity check to verify that the data received is the same data that was
111-
* originally sent. This header specifies the Base64 encoded, 160-bit `SHA-1` digest of the object. For more
112-
* information, see Checking object integrity [^1] in the *Amazon S3 User Guide*.
111+
* originally sent. This header specifies the Base64 encoded, 160-bit `SHA1` digest of the object. For more information,
112+
* see Checking object integrity [^1] in the *Amazon S3 User Guide*.
113113
*
114114
* [^1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
115115
*
@@ -119,7 +119,7 @@ final class CompleteMultipartUploadRequest extends Input
119119

120120
/**
121121
* This header can be used as a data integrity check to verify that the data received is the same data that was
122-
* originally sent. This header specifies the Base64 encoded, 256-bit `SHA-256` digest of the object. For more
122+
* originally sent. This header specifies the Base64 encoded, 256-bit `SHA256` digest of the object. For more
123123
* information, see Checking object integrity [^1] in the *Amazon S3 User Guide*.
124124
*
125125
* [^1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html

src/Input/DeleteObjectsRequest.php

+5-5
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,11 @@ final class DeleteObjectsRequest extends Input
107107
* For the `x-amz-checksum-*algorithm*` header, replace `*algorithm*` with the supported algorithm from the following
108108
* list:
109109
*
110-
* - `CRC-32`
111-
* - `CRC-32C`
112-
* - `CRC-64NVME`
113-
* - `SHA-1`
114-
* - `SHA-256`
110+
* - `CRC32`
111+
* - `CRC32C`
112+
* - `CRC64NVME`
113+
* - `SHA1`
114+
* - `SHA256`
115115
*
116116
* For more information, see Checking object integrity [^1] in the *Amazon S3 User Guide*.
117117
*

src/Input/PutObjectRequest.php

+13-13
Original file line numberDiff line numberDiff line change
@@ -173,11 +173,11 @@ final class PutObjectRequest extends Input
173173
* For the `x-amz-checksum-*algorithm*` header, replace `*algorithm*` with the supported algorithm from the following
174174
* list:
175175
*
176-
* - `CRC-32`
177-
* - `CRC-32C`
178-
* - `CRC-64NVME`
179-
* - `SHA-1`
180-
* - `SHA-256`
176+
* - `CRC32`
177+
* - `CRC32C`
178+
* - `CRC64NVME`
179+
* - `SHA1`
180+
* - `SHA256`
181181
*
182182
* For more information, see Checking object integrity [^1] in the *Amazon S3 User Guide*.
183183
*
@@ -200,7 +200,7 @@ final class PutObjectRequest extends Input
200200

201201
/**
202202
* This header can be used as a data integrity check to verify that the data received is the same data that was
203-
* originally sent. This header specifies the Base64 encoded, 32-bit `CRC-32` checksum of the object. For more
203+
* originally sent. This header specifies the Base64 encoded, 32-bit `CRC32` checksum of the object. For more
204204
* information, see Checking object integrity [^1] in the *Amazon S3 User Guide*.
205205
*
206206
* [^1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
@@ -211,7 +211,7 @@ final class PutObjectRequest extends Input
211211

212212
/**
213213
* This header can be used as a data integrity check to verify that the data received is the same data that was
214-
* originally sent. This header specifies the Base64 encoded, 32-bit `CRC-32C` checksum of the object. For more
214+
* originally sent. This header specifies the Base64 encoded, 32-bit `CRC32C` checksum of the object. For more
215215
* information, see Checking object integrity [^1] in the *Amazon S3 User Guide*.
216216
*
217217
* [^1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
@@ -222,9 +222,9 @@ final class PutObjectRequest extends Input
222222

223223
/**
224224
* This header can be used as a data integrity check to verify that the data received is the same data that was
225-
* originally sent. This header specifies the Base64 encoded, 64-bit `CRC-64NVME` checksum of the object. The
226-
* `CRC-64NVME` checksum is always a full object checksum. For more information, see Checking object integrity in the
227-
* Amazon S3 User Guide [^1].
225+
* originally sent. This header specifies the Base64 encoded, 64-bit `CRC64NVME` checksum of the object. The `CRC64NVME`
226+
* checksum is always a full object checksum. For more information, see Checking object integrity in the Amazon S3 User
227+
* Guide [^1].
228228
*
229229
* [^1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
230230
*
@@ -234,8 +234,8 @@ final class PutObjectRequest extends Input
234234

235235
/**
236236
* This header can be used as a data integrity check to verify that the data received is the same data that was
237-
* originally sent. This header specifies the Base64 encoded, 160-bit `SHA-1` digest of the object. For more
238-
* information, see Checking object integrity [^1] in the *Amazon S3 User Guide*.
237+
* originally sent. This header specifies the Base64 encoded, 160-bit `SHA1` digest of the object. For more information,
238+
* see Checking object integrity [^1] in the *Amazon S3 User Guide*.
239239
*
240240
* [^1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
241241
*
@@ -245,7 +245,7 @@ final class PutObjectRequest extends Input
245245

246246
/**
247247
* This header can be used as a data integrity check to verify that the data received is the same data that was
248-
* originally sent. This header specifies the Base64 encoded, 256-bit `SHA-256` digest of the object. For more
248+
* originally sent. This header specifies the Base64 encoded, 256-bit `SHA256` digest of the object. For more
249249
* information, see Checking object integrity [^1] in the *Amazon S3 User Guide*.
250250
*
251251
* [^1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html

src/Input/UploadPartRequest.php

+6-6
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ final class UploadPartRequest extends Input
8989

9090
/**
9191
* This header can be used as a data integrity check to verify that the data received is the same data that was
92-
* originally sent. This header specifies the Base64 encoded, 32-bit `CRC-32` checksum of the object. For more
92+
* originally sent. This header specifies the Base64 encoded, 32-bit `CRC32` checksum of the object. For more
9393
* information, see Checking object integrity [^1] in the *Amazon S3 User Guide*.
9494
*
9595
* [^1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
@@ -100,7 +100,7 @@ final class UploadPartRequest extends Input
100100

101101
/**
102102
* This header can be used as a data integrity check to verify that the data received is the same data that was
103-
* originally sent. This header specifies the Base64 encoded, 32-bit `CRC-32C` checksum of the object. For more
103+
* originally sent. This header specifies the Base64 encoded, 32-bit `CRC32C` checksum of the object. For more
104104
* information, see Checking object integrity [^1] in the *Amazon S3 User Guide*.
105105
*
106106
* [^1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
@@ -111,7 +111,7 @@ final class UploadPartRequest extends Input
111111

112112
/**
113113
* This header can be used as a data integrity check to verify that the data received is the same data that was
114-
* originally sent. This header specifies the Base64 encoded, 64-bit `CRC-64NVME` checksum of the part. For more
114+
* originally sent. This header specifies the Base64 encoded, 64-bit `CRC64NVME` checksum of the part. For more
115115
* information, see Checking object integrity [^1] in the *Amazon S3 User Guide*.
116116
*
117117
* [^1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
@@ -122,8 +122,8 @@ final class UploadPartRequest extends Input
122122

123123
/**
124124
* This header can be used as a data integrity check to verify that the data received is the same data that was
125-
* originally sent. This header specifies the Base64 encoded, 160-bit `SHA-1` digest of the object. For more
126-
* information, see Checking object integrity [^1] in the *Amazon S3 User Guide*.
125+
* originally sent. This header specifies the Base64 encoded, 160-bit `SHA1` digest of the object. For more information,
126+
* see Checking object integrity [^1] in the *Amazon S3 User Guide*.
127127
*
128128
* [^1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
129129
*
@@ -133,7 +133,7 @@ final class UploadPartRequest extends Input
133133

134134
/**
135135
* This header can be used as a data integrity check to verify that the data received is the same data that was
136-
* originally sent. This header specifies the Base64 encoded, 256-bit `SHA-256` digest of the object. For more
136+
* originally sent. This header specifies the Base64 encoded, 256-bit `SHA256` digest of the object. For more
137137
* information, see Checking object integrity [^1] in the *Amazon S3 User Guide*.
138138
*
139139
* [^1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html

src/Result/CompleteMultipartUploadOutput.php

+7-7
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class CompleteMultipartUploadOutput extends Result
5858
private $etag;
5959

6060
/**
61-
* The Base64 encoded, 32-bit `CRC-32 checksum` of the object. This checksum is only be present if the checksum was
61+
* The Base64 encoded, 32-bit `CRC32 checksum` of the object. This checksum is only be present if the checksum was
6262
* uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this
6363
* value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values
6464
* of each individual part. For more information about how checksums are calculated with multipart uploads, see Checking
@@ -71,7 +71,7 @@ class CompleteMultipartUploadOutput extends Result
7171
private $checksumCrc32;
7272

7373
/**
74-
* The Base64 encoded, 32-bit `CRC-32C` checksum of the object. This checksum is only present if the checksum was
74+
* The Base64 encoded, 32-bit `CRC32C` checksum of the object. This checksum is only present if the checksum was
7575
* uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this
7676
* value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values
7777
* of each individual part. For more information about how checksums are calculated with multipart uploads, see Checking
@@ -85,9 +85,9 @@ class CompleteMultipartUploadOutput extends Result
8585

8686
/**
8787
* This header can be used as a data integrity check to verify that the data received is the same data that was
88-
* originally sent. This header specifies the Base64 encoded, 64-bit `CRC-64NVME` checksum of the object. The
89-
* `CRC-64NVME` checksum is always a full object checksum. For more information, see Checking object integrity in the
90-
* Amazon S3 User Guide [^1].
88+
* originally sent. This header specifies the Base64 encoded, 64-bit `CRC64NVME` checksum of the object. The `CRC64NVME`
89+
* checksum is always a full object checksum. For more information, see Checking object integrity in the Amazon S3 User
90+
* Guide [^1].
9191
*
9292
* [^1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
9393
*
@@ -96,7 +96,7 @@ class CompleteMultipartUploadOutput extends Result
9696
private $checksumCrc64Nvme;
9797

9898
/**
99-
* The Base64 encoded, 160-bit `SHA-1` digest of the object. This will only be present if the object was uploaded with
99+
* The Base64 encoded, 160-bit `SHA1` digest of the object. This will only be present if the object was uploaded with
100100
* the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not
101101
* be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each
102102
* individual part. For more information about how checksums are calculated with multipart uploads, see Checking object
@@ -109,7 +109,7 @@ class CompleteMultipartUploadOutput extends Result
109109
private $checksumSha1;
110110

111111
/**
112-
* The Base64 encoded, 256-bit `SHA-256` digest of the object. This will only be present if the object was uploaded with
112+
* The Base64 encoded, 256-bit `SHA256` digest of the object. This will only be present if the object was uploaded with
113113
* the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not
114114
* be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each
115115
* individual part. For more information about how checksums are calculated with multipart uploads, see Checking object

src/Result/GetObjectOutput.php

+7-7
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ class GetObjectOutput extends Result
9494
private $etag;
9595

9696
/**
97-
* The Base64 encoded, 32-bit `CRC-32` checksum of the object. This checksum is only present if the object was uploaded
97+
* The Base64 encoded, 32-bit `CRC32` checksum of the object. This checksum is only present if the object was uploaded
9898
* with the object. For more information, see Checking object integrity [^1] in the *Amazon S3 User Guide*.
9999
*
100100
* [^1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
@@ -104,8 +104,8 @@ class GetObjectOutput extends Result
104104
private $checksumCrc32;
105105

106106
/**
107-
* The Base64 encoded, 32-bit `CRC-32C` checksum of the object. This will only be present if the object was uploaded
108-
* with the object. For more information, see Checking object integrity [^1] in the *Amazon S3 User Guide*.
107+
* The Base64 encoded, 32-bit `CRC32C` checksum of the object. This will only be present if the object was uploaded with
108+
* the object. For more information, see Checking object integrity [^1] in the *Amazon S3 User Guide*.
109109
*
110110
* [^1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
111111
*
@@ -114,8 +114,8 @@ class GetObjectOutput extends Result
114114
private $checksumCrc32C;
115115

116116
/**
117-
* The Base64 encoded, 64-bit `CRC-64NVME` checksum of the object. For more information, see Checking object integrity
118-
* in the Amazon S3 User Guide [^1].
117+
* The Base64 encoded, 64-bit `CRC64NVME` checksum of the object. For more information, see Checking object integrity in
118+
* the Amazon S3 User Guide [^1].
119119
*
120120
* [^1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
121121
*
@@ -124,7 +124,7 @@ class GetObjectOutput extends Result
124124
private $checksumCrc64Nvme;
125125

126126
/**
127-
* The Base64 encoded, 160-bit `SHA-1` digest of the object. This will only be present if the object was uploaded with
127+
* The Base64 encoded, 160-bit `SHA1` digest of the object. This will only be present if the object was uploaded with
128128
* the object. For more information, see Checking object integrity [^1] in the *Amazon S3 User Guide*.
129129
*
130130
* [^1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
@@ -134,7 +134,7 @@ class GetObjectOutput extends Result
134134
private $checksumSha1;
135135

136136
/**
137-
* The Base64 encoded, 256-bit `SHA-256` digest of the object. This will only be present if the object was uploaded with
137+
* The Base64 encoded, 256-bit `SHA256` digest of the object. This will only be present if the object was uploaded with
138138
* the object. For more information, see Checking object integrity [^1] in the *Amazon S3 User Guide*.
139139
*
140140
* [^1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html

0 commit comments

Comments
 (0)