Skip to content

Commit

Permalink
feat(aws-android-sdk-kms): update models to latest (#3349)
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas Leing <bluezebragames@gmail.com>
  • Loading branch information
awsmobilesdk and tjleing authored Jul 27, 2023
1 parent 0b5a905 commit 04bd7b9
Show file tree
Hide file tree
Showing 33 changed files with 2,103 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -838,6 +838,7 @@ CreateCustomKeyStoreResult createCustomKeyStore(
* @throws InvalidGrantTokenException
* @throws LimitExceededException
* @throws KMSInvalidStateException
* @throws DryRunOperationException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
Expand Down Expand Up @@ -1305,6 +1306,7 @@ CreateKeyResult createKey(CreateKeyRequest createKeyRequest) throws AmazonClient
* @throws InvalidGrantTokenException
* @throws KMSInternalException
* @throws KMSInvalidStateException
* @throws DryRunOperationException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
Expand Down Expand Up @@ -2396,6 +2398,7 @@ void enableKeyRotation(EnableKeyRotationRequest enableKeyRotationRequest)
* @throws InvalidGrantTokenException
* @throws KMSInternalException
* @throws KMSInvalidStateException
* @throws DryRunOperationException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
Expand Down Expand Up @@ -2587,6 +2590,7 @@ EncryptResult encrypt(EncryptRequest encryptRequest) throws AmazonClientExceptio
* @throws InvalidGrantTokenException
* @throws KMSInternalException
* @throws KMSInvalidStateException
* @throws DryRunOperationException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
Expand Down Expand Up @@ -2744,6 +2748,7 @@ GenerateDataKeyResult generateDataKey(GenerateDataKeyRequest generateDataKeyRequ
* @throws KMSInternalException
* @throws KMSInvalidStateException
* @throws UnsupportedOperationException
* @throws DryRunOperationException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
Expand Down Expand Up @@ -2868,6 +2873,7 @@ GenerateDataKeyPairResult generateDataKeyPair(
* @throws KMSInternalException
* @throws KMSInvalidStateException
* @throws UnsupportedOperationException
* @throws DryRunOperationException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
Expand Down Expand Up @@ -3007,6 +3013,7 @@ GenerateDataKeyPairWithoutPlaintextResult generateDataKeyPairWithoutPlaintext(
* @throws InvalidGrantTokenException
* @throws KMSInternalException
* @throws KMSInvalidStateException
* @throws DryRunOperationException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
Expand Down Expand Up @@ -3080,6 +3087,7 @@ GenerateDataKeyWithoutPlaintextResult generateDataKeyWithoutPlaintext(
* @throws InvalidGrantTokenException
* @throws KMSInternalException
* @throws KMSInvalidStateException
* @throws DryRunOperationException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
Expand Down Expand Up @@ -4417,6 +4425,7 @@ void putKeyPolicy(PutKeyPolicyRequest putKeyPolicyRequest) throws AmazonClientEx
* @throws InvalidGrantTokenException
* @throws KMSInternalException
* @throws KMSInvalidStateException
* @throws DryRunOperationException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
Expand Down Expand Up @@ -4668,6 +4677,7 @@ ReplicateKeyResult replicateKey(ReplicateKeyRequest replicateKeyRequest)
* @throws DependencyTimeoutException
* @throws KMSInternalException
* @throws KMSInvalidStateException
* @throws DryRunOperationException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
Expand Down Expand Up @@ -4749,6 +4759,7 @@ void retireGrant(RetireGrantRequest retireGrantRequest) throws AmazonClientExcep
* @throws InvalidGrantIdException
* @throws KMSInternalException
* @throws KMSInvalidStateException
* @throws DryRunOperationException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
Expand Down Expand Up @@ -4778,10 +4789,10 @@ void revokeGrant(RevokeGrantRequest revokeGrantRequest) throws AmazonClientExcep
* When a KMS key is deleted, all data that was encrypted under the KMS key
* is unrecoverable. (The only exception is a <a
* href="kms/latest/developerguide/multi-region-keys-delete.html"
* >multi-Region replica key</a>, or an asymmetric or HMAC KMS key with
* imported key material[BUGBUG-link to
* importing-keys-managing.html#import-delete-key.) To prevent the use of a
* KMS key without deleting it, use <a>DisableKey</a>.
* >multi-Region replica key</a>, or an <a href=
* "kms/latest/developerguide/importing-keys-managing.html#import-delete-key"
* >asymmetric or HMAC KMS key with imported key material</a>.) To prevent
* the use of a KMS key without deleting it, use <a>DisableKey</a>.
* </p>
* </important>
* <p>
Expand Down Expand Up @@ -4978,6 +4989,7 @@ ScheduleKeyDeletionResult scheduleKeyDeletion(
* @throws InvalidGrantTokenException
* @throws KMSInternalException
* @throws KMSInvalidStateException
* @throws DryRunOperationException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
Expand Down Expand Up @@ -5742,6 +5754,7 @@ void updatePrimaryRegion(UpdatePrimaryRegionRequest updatePrimaryRegionRequest)
* @throws KMSInternalException
* @throws KMSInvalidStateException
* @throws KMSInvalidSignatureException
* @throws DryRunOperationException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
Expand Down Expand Up @@ -5808,6 +5821,7 @@ VerifyResult verify(VerifyRequest verifyRequest) throws AmazonClientException,
* @throws KMSInternalException
* @throws KMSInvalidMacException
* @throws KMSInvalidStateException
* @throws DryRunOperationException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
Expand Down Expand Up @@ -6328,6 +6342,7 @@ VerifyMacResult verifyMac(VerifyMacRequest verifyMacRequest) throws AmazonClient
* @throws DependencyTimeoutException
* @throws KMSInternalException
* @throws KMSInvalidStateException
* @throws DryRunOperationException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,7 @@ private void init() {
jsonErrorUnmarshallers.add(new CustomKeyStoreNotFoundExceptionUnmarshaller());
jsonErrorUnmarshallers.add(new DependencyTimeoutExceptionUnmarshaller());
jsonErrorUnmarshallers.add(new DisabledExceptionUnmarshaller());
jsonErrorUnmarshallers.add(new DryRunOperationExceptionUnmarshaller());
jsonErrorUnmarshallers.add(new ExpiredImportTokenExceptionUnmarshaller());
jsonErrorUnmarshallers.add(new IncorrectKeyExceptionUnmarshaller());
jsonErrorUnmarshallers.add(new IncorrectKeyMaterialExceptionUnmarshaller());
Expand Down Expand Up @@ -1247,6 +1248,7 @@ public CreateCustomKeyStoreResult createCustomKeyStore(
* @throws InvalidGrantTokenException
* @throws LimitExceededException
* @throws KMSInvalidStateException
* @throws DryRunOperationException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
Expand Down Expand Up @@ -1766,6 +1768,7 @@ public CreateKeyResult createKey(CreateKeyRequest createKeyRequest)
* @throws InvalidGrantTokenException
* @throws KMSInternalException
* @throws KMSInvalidStateException
* @throws DryRunOperationException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
Expand Down Expand Up @@ -3120,6 +3123,7 @@ public void enableKeyRotation(EnableKeyRotationRequest enableKeyRotationRequest)
* @throws InvalidGrantTokenException
* @throws KMSInternalException
* @throws KMSInvalidStateException
* @throws DryRunOperationException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
Expand Down Expand Up @@ -3337,6 +3341,7 @@ public EncryptResult encrypt(EncryptRequest encryptRequest)
* @throws InvalidGrantTokenException
* @throws KMSInternalException
* @throws KMSInvalidStateException
* @throws DryRunOperationException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
Expand Down Expand Up @@ -3520,6 +3525,7 @@ public GenerateDataKeyResult generateDataKey(GenerateDataKeyRequest generateData
* @throws KMSInternalException
* @throws KMSInvalidStateException
* @throws UnsupportedOperationException
* @throws DryRunOperationException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
Expand Down Expand Up @@ -3671,6 +3677,7 @@ public GenerateDataKeyPairResult generateDataKeyPair(
* @throws KMSInternalException
* @throws KMSInvalidStateException
* @throws UnsupportedOperationException
* @throws DryRunOperationException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
Expand Down Expand Up @@ -3837,6 +3844,7 @@ public GenerateDataKeyPairWithoutPlaintextResult generateDataKeyPairWithoutPlain
* @throws InvalidGrantTokenException
* @throws KMSInternalException
* @throws KMSInvalidStateException
* @throws DryRunOperationException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
Expand Down Expand Up @@ -3937,6 +3945,7 @@ public GenerateDataKeyWithoutPlaintextResult generateDataKeyWithoutPlaintext(
* @throws InvalidGrantTokenException
* @throws KMSInternalException
* @throws KMSInvalidStateException
* @throws DryRunOperationException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
Expand Down Expand Up @@ -5638,6 +5647,7 @@ public void putKeyPolicy(PutKeyPolicyRequest putKeyPolicyRequest)
* @throws InvalidGrantTokenException
* @throws KMSInternalException
* @throws KMSInvalidStateException
* @throws DryRunOperationException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
Expand Down Expand Up @@ -5941,6 +5951,7 @@ public ReplicateKeyResult replicateKey(ReplicateKeyRequest replicateKeyRequest)
* @throws DependencyTimeoutException
* @throws KMSInternalException
* @throws KMSInvalidStateException
* @throws DryRunOperationException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
Expand Down Expand Up @@ -6043,6 +6054,7 @@ public void retireGrant(RetireGrantRequest retireGrantRequest)
* @throws InvalidGrantIdException
* @throws KMSInternalException
* @throws KMSInvalidStateException
* @throws DryRunOperationException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
Expand Down Expand Up @@ -6093,10 +6105,10 @@ public void revokeGrant(RevokeGrantRequest revokeGrantRequest)
* When a KMS key is deleted, all data that was encrypted under the KMS key
* is unrecoverable. (The only exception is a <a
* href="kms/latest/developerguide/multi-region-keys-delete.html"
* >multi-Region replica key</a>, or an asymmetric or HMAC KMS key with
* imported key material[BUGBUG-link to
* importing-keys-managing.html#import-delete-key.) To prevent the use of a
* KMS key without deleting it, use <a>DisableKey</a>.
* >multi-Region replica key</a>, or an <a href=
* "kms/latest/developerguide/importing-keys-managing.html#import-delete-key"
* >asymmetric or HMAC KMS key with imported key material</a>.) To prevent
* the use of a KMS key without deleting it, use <a>DisableKey</a>.
* </p>
* </important>
* <p>
Expand Down Expand Up @@ -6320,6 +6332,7 @@ public ScheduleKeyDeletionResult scheduleKeyDeletion(
* @throws InvalidGrantTokenException
* @throws KMSInternalException
* @throws KMSInvalidStateException
* @throws DryRunOperationException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
Expand Down Expand Up @@ -7245,6 +7258,7 @@ public void updatePrimaryRegion(UpdatePrimaryRegionRequest updatePrimaryRegionRe
* @throws KMSInternalException
* @throws KMSInvalidStateException
* @throws KMSInvalidSignatureException
* @throws DryRunOperationException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
Expand Down Expand Up @@ -7337,6 +7351,7 @@ public VerifyResult verify(VerifyRequest verifyRequest)
* @throws KMSInternalException
* @throws KMSInvalidMacException
* @throws KMSInvalidStateException
* @throws DryRunOperationException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
Expand Down Expand Up @@ -7895,6 +7910,7 @@ public ListAliasesResult listAliases()
* @throws DependencyTimeoutException
* @throws KMSInternalException
* @throws KMSInvalidStateException
* @throws DryRunOperationException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
Expand Down
Loading

0 comments on commit 04bd7b9

Please sign in to comment.