Skip to content

Commit 7a8cf5a

Browse files
Update generated code (#1386)
update generated code
1 parent 07d3aa2 commit 7a8cf5a

18 files changed

+59
-56
lines changed

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"variables": {
3-
"${LATEST}": "3.262.1"
3+
"${LATEST}": "3.263.1"
44
},
55
"endpoints": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/endpoints.json",
66
"services": {

src/Service/S3/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
### Added
66

77
- AWS api-change: Added `ap-southeast-4` region.
8+
- AWS enhancement: Documentation updates.
89

910
## 1.13.0
1011

src/Service/S3/src/Enum/ServerSideEncryption.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
namespace AsyncAws\S3\Enum;
44

55
/**
6-
* If you specified server-side encryption either with an Amazon S3-managed encryption key or an Amazon Web Services KMS
7-
* key in your initiate multipart upload request, the response includes this header. It confirms the encryption
8-
* algorithm that Amazon S3 used to encrypt the object.
6+
* The server-side encryption algorithm used when storing this object in Amazon S3 (for example, AES256, `aws:kms`).
97
*/
108
final class ServerSideEncryption
119
{

src/Service/S3/src/Input/CopyObjectRequest.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ final class CopyObjectRequest extends Input
187187
private $taggingDirective;
188188

189189
/**
190-
* The server-side encryption algorithm used when storing this object in Amazon S3 (for example, AES256, aws:kms).
190+
* The server-side encryption algorithm used when storing this object in Amazon S3 (for example, AES256, `aws:kms`).
191191
*
192192
* @var ServerSideEncryption::*|null
193193
*/
@@ -207,7 +207,9 @@ final class CopyObjectRequest extends Input
207207

208208
/**
209209
* If the bucket is configured as a website, redirects requests for this object to another object in the same bucket or
210-
* to an external URL. Amazon S3 stores the value of this header in the object metadata.
210+
* to an external URL. Amazon S3 stores the value of this header in the object metadata. This value is unique to each
211+
* object and is not copied when using the `x-amz-metadata-directive` header. Instead, you may opt to provide this
212+
* header in combination with the directive.
211213
*
212214
* @var string|null
213215
*/

src/Service/S3/src/Input/CreateMultipartUploadRequest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ final class CreateMultipartUploadRequest extends Input
120120
private $metadata;
121121

122122
/**
123-
* The server-side encryption algorithm used when storing this object in Amazon S3 (for example, AES256, aws:kms).
123+
* The server-side encryption algorithm used when storing this object in Amazon S3 (for example, AES256, `aws:kms`).
124124
*
125125
* @var ServerSideEncryption::*|null
126126
*/
@@ -171,10 +171,10 @@ final class CreateMultipartUploadRequest extends Input
171171
private $sseCustomerKeyMd5;
172172

173173
/**
174-
* Specifies the ID of the symmetric customer managed key to use for object encryption. All GET and PUT requests for an
175-
* object protected by Amazon Web Services KMS will fail if not made via SSL or using SigV4. For information about
176-
* configuring using any of the officially supported Amazon Web Services SDKs and Amazon Web Services CLI, see
177-
* Specifying the Signature Version in Request Authentication in the *Amazon S3 User Guide*.
174+
* Specifies the ID of the symmetric encryption customer managed key to use for object encryption. All GET and PUT
175+
* requests for an object protected by Amazon Web Services KMS will fail if not made via SSL or using SigV4. For
176+
* information about configuring using any of the officially supported Amazon Web Services SDKs and Amazon Web Services
177+
* CLI, see Specifying the Signature Version in Request Authentication in the *Amazon S3 User Guide*.
178178
*
179179
* @see https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version
180180
*

src/Service/S3/src/Input/GetObjectRequest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ final class GetObjectRequest extends Input
6363

6464
/**
6565
* Downloads the specified range bytes of an object. For more information about the HTTP Range header, see
66-
* https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35.
66+
* https://www.rfc-editor.org/rfc/rfc9110.html#name-range.
6767
*
68-
* @see https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35
68+
* @see https://www.rfc-editor.org/rfc/rfc9110.html#name-range
6969
*
7070
* @var string|null
7171
*/

src/Service/S3/src/Input/HeadObjectRequest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ final class HeadObjectRequest extends Input
6262
private $key;
6363

6464
/**
65-
* Because `HeadObject` returns only the metadata for an object, this parameter has no effect.
65+
* HeadObject returns only the metadata for an object. If the Range is satisfiable, only the `ContentLength` is affected
66+
* in the response. If the Range is not satisfiable, S3 returns a `416 - Requested Range Not Satisfiable` error.
6667
*
6768
* @var string|null
6869
*/

src/Service/S3/src/Input/PutObjectRequest.php

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ final class PutObjectRequest extends Input
5353

5454
/**
5555
* Specifies presentational information for the object. For more information, see
56-
* http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1.
56+
* https://www.rfc-editor.org/rfc/rfc6266#section-4.
5757
*
58-
* @see http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1
58+
* @see https://www.rfc-editor.org/rfc/rfc6266#section-4
5959
*
6060
* @var string|null
6161
*/
@@ -64,9 +64,9 @@ final class PutObjectRequest extends Input
6464
/**
6565
* Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to
6666
* obtain the media-type referenced by the Content-Type header field. For more information, see
67-
* http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11.
67+
* https://www.rfc-editor.org/rfc/rfc9110.html#field.content-encoding.
6868
*
69-
* @see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11
69+
* @see https://www.rfc-editor.org/rfc/rfc9110.html#field.content-encoding
7070
*
7171
* @var string|null
7272
*/
@@ -81,9 +81,9 @@ final class PutObjectRequest extends Input
8181

8282
/**
8383
* Size of the body in bytes. This parameter is useful when the size of the body cannot be determined automatically. For
84-
* more information, see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.13.
84+
* more information, see https://www.rfc-editor.org/rfc/rfc9110.html#name-content-length.
8585
*
86-
* @see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.13
86+
* @see https://www.rfc-editor.org/rfc/rfc9110.html#name-content-length
8787
*
8888
* @var string|null
8989
*/
@@ -103,9 +103,9 @@ final class PutObjectRequest extends Input
103103

104104
/**
105105
* A standard MIME type describing the format of the contents. For more information, see
106-
* http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17.
106+
* https://www.rfc-editor.org/rfc/rfc9110.html#name-content-type.
107107
*
108-
* @see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17
108+
* @see https://www.rfc-editor.org/rfc/rfc9110.html#name-content-type
109109
*
110110
* @var string|null
111111
*/
@@ -169,9 +169,9 @@ final class PutObjectRequest extends Input
169169

170170
/**
171171
* The date and time at which the object is no longer cacheable. For more information, see
172-
* http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.21.
172+
* https://www.rfc-editor.org/rfc/rfc7234#section-5.3.
173173
*
174-
* @see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.21
174+
* @see https://www.rfc-editor.org/rfc/rfc7234#section-5.3
175175
*
176176
* @var \DateTimeImmutable|null
177177
*/
@@ -222,7 +222,7 @@ final class PutObjectRequest extends Input
222222
private $metadata;
223223

224224
/**
225-
* The server-side encryption algorithm used when storing this object in Amazon S3 (for example, AES256, aws:kms).
225+
* The server-side encryption algorithm used when storing this object in Amazon S3 (for example, AES256, `aws:kms`).
226226
*
227227
* @var ServerSideEncryption::*|null
228228
*/
@@ -276,9 +276,9 @@ final class PutObjectRequest extends Input
276276
private $sseCustomerKeyMd5;
277277

278278
/**
279-
* If `x-amz-server-side-encryption` is present and has the value of `aws:kms`, this header specifies the ID of the
280-
* Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetrical customer managed key that was used
281-
* for the object. If you specify `x-amz-server-side-encryption:aws:kms`, but do not provide`
279+
* If `x-amz-server-side-encryption` has a valid value of `aws:kms`, this header specifies the ID of the Amazon Web
280+
* Services Key Management Service (Amazon Web Services KMS) symmetric encryption customer managed key that was used for
281+
* the object. If you specify `x-amz-server-side-encryption:aws:kms`, but do not provide`
282282
* x-amz-server-side-encryption-aws-kms-key-id`, Amazon S3 uses the Amazon Web Services managed key to protect the data.
283283
* If the KMS key does not exist in the same account issuing the command, you must use the full ARN and not just the ID.
284284
*
@@ -288,7 +288,9 @@ final class PutObjectRequest extends Input
288288

289289
/**
290290
* Specifies the Amazon Web Services KMS Encryption Context to use for object encryption. The value of this header is a
291-
* base64-encoded UTF-8 string holding JSON with the encryption context key-value pairs.
291+
* base64-encoded UTF-8 string holding JSON with the encryption context key-value pairs. This value is stored as object
292+
* metadata and automatically gets passed on to Amazon Web Services KMS for future `GetObject` or `CopyObject`
293+
* operations on this object.
292294
*
293295
* @var string|null
294296
*/

src/Service/S3/src/Result/CompleteMultipartUploadOutput.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,7 @@ class CompleteMultipartUploadOutput extends Result
7979
private $checksumSha256;
8080

8181
/**
82-
* If you specified server-side encryption either with an Amazon S3-managed encryption key or an Amazon Web Services KMS
83-
* key in your initiate multipart upload request, the response includes this header. It confirms the encryption
84-
* algorithm that Amazon S3 used to encrypt the object.
82+
* The server-side encryption algorithm used when storing this object in Amazon S3 (for example, AES256, `aws:kms`).
8583
*/
8684
private $serverSideEncryption;
8785

@@ -92,7 +90,7 @@ class CompleteMultipartUploadOutput extends Result
9290

9391
/**
9492
* If present, specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric
95-
* customer managed key that was used for the object.
93+
* encryption customer managed key that was used for the object.
9694
*/
9795
private $sseKmsKeyId;
9896

src/Service/S3/src/Result/CopyObjectOutput.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class CopyObjectOutput extends Result
3131
private $versionId;
3232

3333
/**
34-
* The server-side encryption algorithm used when storing this object in Amazon S3 (for example, AES256, aws:kms).
34+
* The server-side encryption algorithm used when storing this object in Amazon S3 (for example, AES256, `aws:kms`).
3535
*/
3636
private $serverSideEncryption;
3737

@@ -49,7 +49,7 @@ class CopyObjectOutput extends Result
4949

5050
/**
5151
* If present, specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric
52-
* customer managed key that was used for the object.
52+
* encryption customer managed key that was used for the object.
5353
*/
5454
private $sseKmsKeyId;
5555

0 commit comments

Comments
 (0)