Skip to content

Commit 6b93608

Browse files
Update generated code (#1630)
update generated code
1 parent 92128a1 commit 6b93608

File tree

4 files changed

+37
-4
lines changed

4 files changed

+37
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## NOT RELEASED
44

5+
### Changed
6+
7+
- AWS enhancement: Documentation updates.
8+
59
## 1.2.1
610

711
### Changed

src/Input/CreateKeyRequest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,10 @@ final class CreateKeyRequest extends Input
196196
* ! For more information, see Default key policy [^1] in the *Key Management Service Developer Guide*.
197197
*
198198
* Use this parameter only when you intend to prevent the principal that is making the request from making a subsequent
199-
* PutKeyPolicy request on the KMS key.
199+
* PutKeyPolicy [^2] request on the KMS key.
200200
*
201201
* [^1]: https://docs.aws.amazon.com/kms/latest/developerguide/key-policy-default.html#prevent-unmanageable-key
202+
* [^2]: https://docs.aws.amazon.com/kms/latest/APIReference/API_PutKeyPolicy.html
202203
*
203204
* @var bool|null
204205
*/

src/Input/DecryptRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ final class DecryptRequest extends Input
107107
* For information about the interaction between KMS and Amazon Web Services Nitro Enclaves, see How Amazon Web Services
108108
* Nitro Enclaves uses KMS [^3] in the *Key Management Service Developer Guide*.
109109
*
110-
* [^1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitro-enclave-how.html#term-attestdoc
110+
* [^1]: https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave-concepts.html#term-attestdoc
111111
* [^2]: https://docs.aws.amazon.com/enclaves/latest/user/developing-applications.html#sdk
112112
* [^3]: https://docs.aws.amazon.com/kms/latest/developerguide/services-nitro-enclaves.html
113113
*

src/KmsClient.php

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,13 +98,17 @@ class KmsClient extends AbstractApi
9898
* - ListAliases
9999
* - UpdateAlias
100100
*
101+
* **Eventual consistency**: The KMS API follows an eventual consistency model. For more information, see KMS eventual
102+
* consistency [^8].
103+
*
101104
* [^1]: https://docs.aws.amazon.com/kms/latest/developerguide/abac.html
102105
* [^2]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#cryptographic-operations
103106
* [^3]: https://docs.aws.amazon.com/kms/latest/developerguide/kms-alias.html
104107
* [^4]: https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html
105108
* [^5]: https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html
106109
* [^6]: https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html
107110
* [^7]: https://docs.aws.amazon.com/kms/latest/developerguide/kms-alias.html#alias-access
111+
* [^8]: https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html
108112
*
109113
* @see https://docs.aws.amazon.com/kms/latest/APIReference/API_CreateAlias.html
110114
* @see https://docs.aws.amazon.com/aws-sdk-php/v3/api/api-kms-2014-11-01.html#createalias
@@ -274,6 +278,9 @@ public function createAlias($input): Result
274278
* - ListKeys
275279
* - ScheduleKeyDeletion
276280
*
281+
* **Eventual consistency**: The KMS API follows an eventual consistency model. For more information, see KMS eventual
282+
* consistency [^16].
283+
*
277284
* [^1]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#kms-keys
278285
* [^2]: https://docs.aws.amazon.com/kms/latest/developerguide/getting-started.html
279286
* [^3]: https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html
@@ -289,6 +296,7 @@ public function createAlias($input): Result
289296
* [^13]: https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html
290297
* [^14]: https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html
291298
* [^15]: https://docs.aws.amazon.com/kms/latest/developerguide/iam-policies.html#iam-policy-example-create-key
299+
* [^16]: https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html
292300
*
293301
* @see https://docs.aws.amazon.com/kms/latest/APIReference/API_CreateKey.html
294302
* @see https://docs.aws.amazon.com/aws-sdk-php/v3/api/api-kms-2014-11-01.html#createkey
@@ -382,8 +390,8 @@ public function createKey($input = []): CreateKeyResponse
382390
* Amazon EC2. To call `Decrypt` for a Nitro enclave, use the Amazon Web Services Nitro Enclaves SDK [^6] or any Amazon
383391
* Web Services SDK. Use the `Recipient` parameter to provide the attestation document for the enclave. Instead of the
384392
* plaintext data, the response includes the plaintext data encrypted with the public key from the attestation document
385-
* (`CiphertextForRecipient`).For information about the interaction between KMS and Amazon Web Services Nitro Enclaves,
386-
* see How Amazon Web Services Nitro Enclaves uses KMS [^7] in the *Key Management Service Developer Guide*..
393+
* (`CiphertextForRecipient`). For information about the interaction between KMS and Amazon Web Services Nitro Enclaves,
394+
* see How Amazon Web Services Nitro Enclaves uses KMS [^7] in the *Key Management Service Developer Guide*.
387395
*
388396
* The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS
389397
* keys [^8] in the *Key Management Service Developer Guide*.
@@ -400,6 +408,9 @@ public function createKey($input = []): CreateKeyResponse
400408
* - GenerateDataKeyPair
401409
* - ReEncrypt
402410
*
411+
* **Eventual consistency**: The KMS API follows an eventual consistency model. For more information, see KMS eventual
412+
* consistency [^10].
413+
*
403414
* [^1]: https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html
404415
* [^2]: https://docs.aws.amazon.com/encryption-sdk/latest/developer-guide/
405416
* [^3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingClientSideEncryption.html
@@ -409,6 +420,7 @@ public function createKey($input = []): CreateKeyResponse
409420
* [^7]: https://docs.aws.amazon.com/kms/latest/developerguide/services-nitro-enclaves.html
410421
* [^8]: https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html
411422
* [^9]: https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html
423+
* [^10]: https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html
412424
*
413425
* @see https://docs.aws.amazon.com/kms/latest/APIReference/API_Decrypt.html
414426
* @see https://docs.aws.amazon.com/aws-sdk-php/v3/api/api-kms-2014-11-01.html#decrypt
@@ -521,9 +533,13 @@ public function decrypt($input): DecryptResponse
521533
* - GenerateDataKey
522534
* - GenerateDataKeyPair
523535
*
536+
* **Eventual consistency**: The KMS API follows an eventual consistency model. For more information, see KMS eventual
537+
* consistency [^4].
538+
*
524539
* [^1]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context
525540
* [^2]: https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html
526541
* [^3]: https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html
542+
* [^4]: https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html
527543
*
528544
* @see https://docs.aws.amazon.com/kms/latest/APIReference/API_Encrypt.html
529545
* @see https://docs.aws.amazon.com/aws-sdk-php/v3/api/api-kms-2014-11-01.html#encrypt
@@ -635,6 +651,9 @@ public function encrypt($input): EncryptResponse
635651
* - GenerateDataKeyPairWithoutPlaintext
636652
* - GenerateDataKeyWithoutPlaintext
637653
*
654+
* **Eventual consistency**: The KMS API follows an eventual consistency model. For more information, see KMS eventual
655+
* consistency [^10].
656+
*
638657
* [^1]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context
639658
* [^2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitro-enclave.html
640659
* [^3]: https://docs.aws.amazon.com/enclaves/latest/user/developing-applications.html#sdk
@@ -644,6 +663,7 @@ public function encrypt($input): EncryptResponse
644663
* [^7]: https://docs.aws.amazon.com/dynamodb-encryption-client/latest/devguide/
645664
* [^8]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingClientSideEncryption.html
646665
* [^9]: https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html
666+
* [^10]: https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html
647667
*
648668
* @see https://docs.aws.amazon.com/kms/latest/APIReference/API_GenerateDataKey.html
649669
* @see https://docs.aws.amazon.com/aws-sdk-php/v3/api/api-kms-2014-11-01.html#generatedatakey
@@ -715,9 +735,13 @@ public function generateDataKey($input): GenerateDataKeyResponse
715735
* - DeleteAlias
716736
* - UpdateAlias
717737
*
738+
* **Eventual consistency**: The KMS API follows an eventual consistency model. For more information, see KMS eventual
739+
* consistency [^4].
740+
*
718741
* [^1]: https://docs.aws.amazon.com/kms/latest/developerguide/limits.html#aliases-limit
719742
* [^2]: https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html
720743
* [^3]: https://docs.aws.amazon.com/kms/latest/developerguide/kms-alias.html#alias-access
744+
* [^4]: https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html
721745
*
722746
* @see https://docs.aws.amazon.com/kms/latest/APIReference/API_ListAliases.html
723747
* @see https://docs.aws.amazon.com/aws-sdk-php/v3/api/api-kms-2014-11-01.html#listaliases
@@ -792,10 +816,14 @@ public function listAliases($input = []): ListAliasesResponse
792816
*
793817
* **Related operations**: Verify
794818
*
819+
* **Eventual consistency**: The KMS API follows an eventual consistency model. For more information, see KMS eventual
820+
* consistency [^5].
821+
*
795822
* [^1]: https://en.wikipedia.org/wiki/Digital_signature
796823
* [^2]: https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html
797824
* [^3]: https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html
798825
* [^4]: https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html
826+
* [^5]: https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html
799827
*
800828
* @see https://docs.aws.amazon.com/kms/latest/APIReference/API_Sign.html
801829
* @see https://docs.aws.amazon.com/aws-sdk-php/v3/api/api-kms-2014-11-01.html#sign

0 commit comments

Comments
 (0)