Skip to content

Commit 1eab061

Browse files
Update generated code (#1774)
update generated code
1 parent b0f7014 commit 1eab061

14 files changed

+53
-50
lines changed

src/Input/CompleteMultipartUploadRequest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ final class CompleteMultipartUploadRequest extends Input
7272

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

8484
/**
8585
* This header can be used as a data integrity check to verify that the data received is the same data that was
86-
* originally sent. This header specifies the base64-encoded, 32-bit CRC32C checksum of the object. For more
86+
* originally sent. This header specifies the base64-encoded, 32-bit CRC-32C checksum of the object. For more
8787
* information, see Checking object integrity [^1] in the *Amazon S3 User Guide*.
8888
*
8989
* [^1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html

src/Input/DeleteObjectsRequest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,10 @@ final class DeleteObjectsRequest extends Input
106106
* For the `x-amz-checksum-*algorithm*` header, replace `*algorithm*` with the supported algorithm from the following
107107
* list:
108108
*
109-
* - CRC32
110-
* - CRC32C
111-
* - SHA1
112-
* - SHA256
109+
* - `CRC32`
110+
* - `CRC32C`
111+
* - `SHA1`
112+
* - `SHA256`
113113
*
114114
* For more information, see Checking object integrity [^1] in the *Amazon S3 User Guide*.
115115
*

src/Input/PutObjectRequest.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -172,10 +172,10 @@ final class PutObjectRequest extends Input
172172
* For the `x-amz-checksum-*algorithm*` header, replace `*algorithm*` with the supported algorithm from the following
173173
* list:
174174
*
175-
* - CRC32
176-
* - CRC32C
177-
* - SHA1
178-
* - SHA256
175+
* - `CRC32`
176+
* - `CRC32C`
177+
* - `SHA1`
178+
* - `SHA256`
179179
*
180180
* For more information, see Checking object integrity [^1] in the *Amazon S3 User Guide*.
181181
*
@@ -194,8 +194,8 @@ final class PutObjectRequest extends Input
194194

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

206206
/**
207207
* This header can be used as a data integrity check to verify that the data received is the same data that was
208-
* originally sent. This header specifies the base64-encoded, 32-bit CRC32C checksum of the object. For more
208+
* originally sent. This header specifies the base64-encoded, 32-bit CRC-32C checksum of the object. For more
209209
* information, see Checking object integrity [^1] in the *Amazon S3 User Guide*.
210210
*
211211
* [^1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html

src/Input/UploadPartRequest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ final class UploadPartRequest extends Input
8888

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

100100
/**
101101
* This header can be used as a data integrity check to verify that the data received is the same data that was
102-
* originally sent. This header specifies the base64-encoded, 32-bit CRC32C checksum of the object. For more
102+
* originally sent. This header specifies the base64-encoded, 32-bit CRC-32C checksum of the object. For more
103103
* information, see Checking object integrity [^1] in the *Amazon S3 User Guide*.
104104
*
105105
* [^1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html

src/Result/CompleteMultipartUploadOutput.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class CompleteMultipartUploadOutput extends Result
5757
private $etag;
5858

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

7272
/**
73-
* The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded with the
73+
* The base64-encoded, 32-bit CRC-32C checksum of the object. This will only be present if it was uploaded with the
7474
* object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a
7575
* direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual
7676
* part. For more information about how checksums are calculated with multipart uploads, see Checking object integrity

src/Result/GetObjectOutput.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ class GetObjectOutput extends Result
9292
private $etag;
9393

9494
/**
95-
* The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded with the
95+
* The base64-encoded, 32-bit CRC-32 checksum of the object. This will only be present if it was uploaded with the
9696
* object. For more information, see Checking object integrity [^1] in the *Amazon S3 User Guide*.
9797
*
9898
* [^1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
@@ -102,7 +102,7 @@ class GetObjectOutput extends Result
102102
private $checksumCrc32;
103103

104104
/**
105-
* The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded with the
105+
* The base64-encoded, 32-bit CRC-32C checksum of the object. This will only be present if it was uploaded with the
106106
* object. For more information, see Checking object integrity [^1] in the *Amazon S3 User Guide*.
107107
*
108108
* [^1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html

src/Result/HeadObjectOutput.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ class HeadObjectOutput extends Result
9191
private $contentLength;
9292

9393
/**
94-
* The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded with the
94+
* The base64-encoded, 32-bit CRC-32 checksum of the object. This will only be present if it was uploaded with the
9595
* object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a
9696
* direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual
9797
* part. For more information about how checksums are calculated with multipart uploads, see Checking object integrity
@@ -104,7 +104,7 @@ class HeadObjectOutput extends Result
104104
private $checksumCrc32;
105105

106106
/**
107-
* The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded with the
107+
* The base64-encoded, 32-bit CRC-32C checksum of the object. This will only be present if it was uploaded with the
108108
* object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a
109109
* direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual
110110
* part. For more information about how checksums are calculated with multipart uploads, see Checking object integrity

src/Result/PutObjectOutput.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class PutObjectOutput extends Result
3636
private $etag;
3737

3838
/**
39-
* The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded with the
39+
* The base64-encoded, 32-bit CRC-32 checksum of the object. This will only be present if it was uploaded with the
4040
* object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a
4141
* direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual
4242
* part. For more information about how checksums are calculated with multipart uploads, see Checking object integrity
@@ -49,7 +49,7 @@ class PutObjectOutput extends Result
4949
private $checksumCrc32;
5050

5151
/**
52-
* The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded with the
52+
* The base64-encoded, 32-bit CRC-32C checksum of the object. This will only be present if it was uploaded with the
5353
* object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a
5454
* direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual
5555
* part. For more information about how checksums are calculated with multipart uploads, see Checking object integrity

src/Result/UploadPartOutput.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class UploadPartOutput extends Result
2424
private $etag;
2525

2626
/**
27-
* The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded with the
27+
* The base64-encoded, 32-bit CRC-32 checksum of the object. This will only be present if it was uploaded with the
2828
* object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a
2929
* direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual
3030
* part. For more information about how checksums are calculated with multipart uploads, see Checking object integrity
@@ -37,7 +37,7 @@ class UploadPartOutput extends Result
3737
private $checksumCrc32;
3838

3939
/**
40-
* The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded with the
40+
* The base64-encoded, 32-bit CRC-32C checksum of the object. This will only be present if it was uploaded with the
4141
* object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a
4242
* direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual
4343
* part. For more information about how checksums are calculated with multipart uploads, see Checking object integrity

src/S3Client.php

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1601,7 +1601,9 @@ public function getObjectTagging($input): GetObjectTaggingOutput
16011601
*
16021602
* - **General purpose bucket permissions** - To use `HEAD`, you must have the `s3:GetObject` permission. You need the
16031603
* relevant read object (or version) permission for this operation. For more information, see Actions, resources,
1604-
* and condition keys for Amazon S3 [^2] in the *Amazon S3 User Guide*.
1604+
* and condition keys for Amazon S3 [^2] in the *Amazon S3 User Guide*. For more information about the permissions
1605+
* to S3 API operations by S3 resource types, see Required permissions for Amazon S3 API operations [^3] in the
1606+
* *Amazon S3 User Guide*.
16051607
*
16061608
* If the object you request doesn't exist, the error that Amazon S3 returns depends on whether you also have the
16071609
* `s3:ListBucket` permission.
@@ -1612,13 +1614,13 @@ public function getObjectTagging($input): GetObjectTaggingOutput
16121614
* error.
16131615
*
16141616
* - **Directory bucket permissions** - To grant access to this API operation on a directory bucket, we recommend that
1615-
* you use the `CreateSession` [^3] API operation for session-based authorization. Specifically, you grant the
1617+
* you use the `CreateSession` [^4] API operation for session-based authorization. Specifically, you grant the
16161618
* `s3express:CreateSession` permission to the directory bucket in a bucket policy or an IAM identity-based policy.
16171619
* Then, you make the `CreateSession` API call on the bucket to obtain a session token. With the session token in
16181620
* your request header, you can make API requests to this operation. After the session token expires, you make
16191621
* another `CreateSession` API call to generate a new session token for use. Amazon Web Services CLI or SDKs create
16201622
* session and refresh the session token automatically to avoid service interruptions when a session expires. For
1621-
* more information about authorization, see `CreateSession` [^4].
1623+
* more information about authorization, see `CreateSession` [^5].
16221624
*
16231625
* If you enable `x-amz-checksum-mode` in the request and the object is encrypted with Amazon Web Services Key
16241626
* Management Service (Amazon Web Services KMS), you must also have the `kms:GenerateDataKey` and `kms:Decrypt`
@@ -1643,12 +1645,12 @@ public function getObjectTagging($input): GetObjectTaggingOutput
16431645
* - `x-amz-server-side-encryption-customer-key`
16441646
* - `x-amz-server-side-encryption-customer-key-MD5`
16451647
*
1646-
* For more information about SSE-C, see Server-Side Encryption (Using Customer-Provided Encryption Keys) [^5] in the
1648+
* For more information about SSE-C, see Server-Side Encryption (Using Customer-Provided Encryption Keys) [^6] in the
16471649
* *Amazon S3 User Guide*.
16481650
*
16491651
* > **Directory bucket ** - For directory buckets, there are only two supported options for server-side encryption:
16501652
* > SSE-S3 and SSE-KMS. SSE-C isn't supported. For more information, see Protecting data with server-side encryption
1651-
* > [^6] in the *Amazon S3 User Guide*.
1653+
* > [^7] in the *Amazon S3 User Guide*.
16521654
*
16531655
* - `Versioning`:
16541656
*
@@ -1670,23 +1672,24 @@ public function getObjectTagging($input): GetObjectTaggingOutput
16701672
* > For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints
16711673
* > support virtual-hosted-style requests in the format
16721674
* > `https://*bucket_name*.s3express-*az_id*.*region*.amazonaws.com/*key-name*`. Path-style requests are not
1673-
* > supported. For more information, see Regional and Zonal endpoints [^7] in the *Amazon S3 User Guide*.
1675+
* > supported. For more information, see Regional and Zonal endpoints [^8] in the *Amazon S3 User Guide*.
16741676
*
16751677
*
16761678
* The following actions are related to `HeadObject`:
16771679
*
1678-
* - GetObject [^8]
1679-
* - GetObjectAttributes [^9]
1680+
* - GetObject [^9]
1681+
* - GetObjectAttributes [^10]
16801682
*
16811683
* [^1]: https://docs.aws.amazon.com/AmazonS3/latest/API/RESTCommonRequestHeaders.html
16821684
* [^2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/list_amazons3.html
1683-
* [^3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html
1685+
* [^3]: /AmazonS3/latest/userguide/using-with-s3-policy-actions.html
16841686
* [^4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html
1685-
* [^5]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html
1686-
* [^6]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-serv-side-encryption.html
1687-
* [^7]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html
1688-
* [^8]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html
1689-
* [^9]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html
1687+
* [^5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html
1688+
* [^6]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html
1689+
* [^7]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-serv-side-encryption.html
1690+
* [^8]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html
1691+
* [^9]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html
1692+
* [^10]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html
16901693
*
16911694
* @see http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTObjectHEAD.html
16921695
* @see https://docs.aws.amazon.com/AmazonS3/latest/API/API_HeadObject.html

src/ValueObject/CompletedPart.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ final class CompletedPart
1515
private $etag;
1616

1717
/**
18-
* The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded with the
18+
* The base64-encoded, 32-bit CRC-32 checksum of the object. This will only be present if it was uploaded with the
1919
* object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a
2020
* direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual
2121
* part. For more information about how checksums are calculated with multipart uploads, see Checking object integrity
@@ -28,7 +28,7 @@ final class CompletedPart
2828
private $checksumCrc32;
2929

3030
/**
31-
* The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded with the
31+
* The base64-encoded, 32-bit CRC-32C checksum of the object. This will only be present if it was uploaded with the
3232
* object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a
3333
* direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual
3434
* part. For more information about how checksums are calculated with multipart uploads, see Checking object integrity

src/ValueObject/CopyObjectResult.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ final class CopyObjectResult
2222
private $lastModified;
2323

2424
/**
25-
* The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded with the
25+
* The base64-encoded, 32-bit CRC-32 checksum of the object. This will only be present if it was uploaded with the
2626
* object. For more information, see Checking object integrity [^1] in the *Amazon S3 User Guide*.
2727
*
2828
* [^1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
@@ -32,7 +32,7 @@ final class CopyObjectResult
3232
private $checksumCrc32;
3333

3434
/**
35-
* The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded with the
35+
* The base64-encoded, 32-bit CRC-32C checksum of the object. This will only be present if it was uploaded with the
3636
* object. For more information, see Checking object integrity [^1] in the *Amazon S3 User Guide*.
3737
*
3838
* [^1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html

0 commit comments

Comments
 (0)