Uses of Class
software.amazon.awssdk.services.kms.model.KmsException
Packages that use KmsException
Package
Description
-
Uses of KmsException in software.amazon.awssdk.services.kms
Methods in software.amazon.awssdk.services.kms that throw KmsExceptionModifier and TypeMethodDescriptiondefault CancelKeyDeletionResponseKmsClient.cancelKeyDeletion(Consumer<CancelKeyDeletionRequest.Builder> cancelKeyDeletionRequest) Cancels the deletion of a KMS key.default CancelKeyDeletionResponseKmsClient.cancelKeyDeletion(CancelKeyDeletionRequest cancelKeyDeletionRequest) Cancels the deletion of a KMS key.default ConnectCustomKeyStoreResponseKmsClient.connectCustomKeyStore(Consumer<ConnectCustomKeyStoreRequest.Builder> connectCustomKeyStoreRequest) Connects or reconnects a custom key store to its backing key store.default ConnectCustomKeyStoreResponseKmsClient.connectCustomKeyStore(ConnectCustomKeyStoreRequest connectCustomKeyStoreRequest) Connects or reconnects a custom key store to its backing key store.default CreateAliasResponseKmsClient.createAlias(Consumer<CreateAliasRequest.Builder> createAliasRequest) Creates a friendly name for a KMS key.default CreateAliasResponseKmsClient.createAlias(CreateAliasRequest createAliasRequest) Creates a friendly name for a KMS key.default CreateCustomKeyStoreResponseKmsClient.createCustomKeyStore(Consumer<CreateCustomKeyStoreRequest.Builder> createCustomKeyStoreRequest) Creates a custom key store backed by a key store that you own and manage.default CreateCustomKeyStoreResponseKmsClient.createCustomKeyStore(CreateCustomKeyStoreRequest createCustomKeyStoreRequest) Creates a custom key store backed by a key store that you own and manage.default CreateGrantResponseKmsClient.createGrant(Consumer<CreateGrantRequest.Builder> createGrantRequest) Adds a grant to a KMS key.default CreateGrantResponseKmsClient.createGrant(CreateGrantRequest createGrantRequest) Adds a grant to a KMS key.default CreateKeyResponseKmsClient.createKey()Creates a unique customer managed KMS key in your Amazon Web Services account and Region.default CreateKeyResponseKmsClient.createKey(Consumer<CreateKeyRequest.Builder> createKeyRequest) Creates a unique customer managed KMS key in your Amazon Web Services account and Region.default CreateKeyResponseKmsClient.createKey(CreateKeyRequest createKeyRequest) Creates a unique customer managed KMS key in your Amazon Web Services account and Region.default DecryptResponseKmsClient.decrypt(Consumer<DecryptRequest.Builder> decryptRequest) Decrypts ciphertext that was encrypted by a KMS key using any of the following operations:default DecryptResponseKmsClient.decrypt(DecryptRequest decryptRequest) Decrypts ciphertext that was encrypted by a KMS key using any of the following operations:default DeleteAliasResponseKmsClient.deleteAlias(Consumer<DeleteAliasRequest.Builder> deleteAliasRequest) Deletes the specified alias.default DeleteAliasResponseKmsClient.deleteAlias(DeleteAliasRequest deleteAliasRequest) Deletes the specified alias.default DeleteCustomKeyStoreResponseKmsClient.deleteCustomKeyStore(Consumer<DeleteCustomKeyStoreRequest.Builder> deleteCustomKeyStoreRequest) Deletes a custom key store.default DeleteCustomKeyStoreResponseKmsClient.deleteCustomKeyStore(DeleteCustomKeyStoreRequest deleteCustomKeyStoreRequest) Deletes a custom key store.KmsClient.deleteImportedKeyMaterial(Consumer<DeleteImportedKeyMaterialRequest.Builder> deleteImportedKeyMaterialRequest) Deletes key material that was previously imported.KmsClient.deleteImportedKeyMaterial(DeleteImportedKeyMaterialRequest deleteImportedKeyMaterialRequest) Deletes key material that was previously imported.default DeriveSharedSecretResponseKmsClient.deriveSharedSecret(Consumer<DeriveSharedSecretRequest.Builder> deriveSharedSecretRequest) Derives a shared secret using a key agreement algorithm.default DeriveSharedSecretResponseKmsClient.deriveSharedSecret(DeriveSharedSecretRequest deriveSharedSecretRequest) Derives a shared secret using a key agreement algorithm.default DescribeCustomKeyStoresResponseKmsClient.describeCustomKeyStores()Gets information about custom key stores in the account and Region.default DescribeCustomKeyStoresResponseKmsClient.describeCustomKeyStores(Consumer<DescribeCustomKeyStoresRequest.Builder> describeCustomKeyStoresRequest) Gets information about custom key stores in the account and Region.default DescribeCustomKeyStoresResponseKmsClient.describeCustomKeyStores(DescribeCustomKeyStoresRequest describeCustomKeyStoresRequest) Gets information about custom key stores in the account and Region.default DescribeCustomKeyStoresIterableKmsClient.describeCustomKeyStoresPaginator()This is a variant ofKmsClient.describeCustomKeyStores(software.amazon.awssdk.services.kms.model.DescribeCustomKeyStoresRequest)operation.default DescribeCustomKeyStoresIterableKmsClient.describeCustomKeyStoresPaginator(Consumer<DescribeCustomKeyStoresRequest.Builder> describeCustomKeyStoresRequest) This is a variant ofKmsClient.describeCustomKeyStores(software.amazon.awssdk.services.kms.model.DescribeCustomKeyStoresRequest)operation.default DescribeCustomKeyStoresIterableKmsClient.describeCustomKeyStoresPaginator(DescribeCustomKeyStoresRequest describeCustomKeyStoresRequest) This is a variant ofKmsClient.describeCustomKeyStores(software.amazon.awssdk.services.kms.model.DescribeCustomKeyStoresRequest)operation.default DescribeKeyResponseKmsClient.describeKey(Consumer<DescribeKeyRequest.Builder> describeKeyRequest) Provides detailed information about a KMS key.default DescribeKeyResponseKmsClient.describeKey(DescribeKeyRequest describeKeyRequest) Provides detailed information about a KMS key.default DisableKeyResponseKmsClient.disableKey(Consumer<DisableKeyRequest.Builder> disableKeyRequest) Sets the state of a KMS key to disabled.default DisableKeyResponseKmsClient.disableKey(DisableKeyRequest disableKeyRequest) Sets the state of a KMS key to disabled.default DisableKeyRotationResponseKmsClient.disableKeyRotation(Consumer<DisableKeyRotationRequest.Builder> disableKeyRotationRequest) Disables automatic rotation of the key material of the specified symmetric encryption KMS key.default DisableKeyRotationResponseKmsClient.disableKeyRotation(DisableKeyRotationRequest disableKeyRotationRequest) Disables automatic rotation of the key material of the specified symmetric encryption KMS key.default DisconnectCustomKeyStoreResponseKmsClient.disconnectCustomKeyStore(Consumer<DisconnectCustomKeyStoreRequest.Builder> disconnectCustomKeyStoreRequest) Disconnects the custom key store from its backing key store.default DisconnectCustomKeyStoreResponseKmsClient.disconnectCustomKeyStore(DisconnectCustomKeyStoreRequest disconnectCustomKeyStoreRequest) Disconnects the custom key store from its backing key store.default EnableKeyResponseKmsClient.enableKey(Consumer<EnableKeyRequest.Builder> enableKeyRequest) Sets the key state of a KMS key to enabled.default EnableKeyResponseKmsClient.enableKey(EnableKeyRequest enableKeyRequest) Sets the key state of a KMS key to enabled.default EnableKeyRotationResponseKmsClient.enableKeyRotation(Consumer<EnableKeyRotationRequest.Builder> enableKeyRotationRequest) Enables automatic rotation of the key material of the specified symmetric encryption KMS key.default EnableKeyRotationResponseKmsClient.enableKeyRotation(EnableKeyRotationRequest enableKeyRotationRequest) Enables automatic rotation of the key material of the specified symmetric encryption KMS key.default EncryptResponseKmsClient.encrypt(Consumer<EncryptRequest.Builder> encryptRequest) Encrypts plaintext of up to 4,096 bytes using a KMS key.default EncryptResponseKmsClient.encrypt(EncryptRequest encryptRequest) Encrypts plaintext of up to 4,096 bytes using a KMS key.default GenerateDataKeyResponseKmsClient.generateDataKey(Consumer<GenerateDataKeyRequest.Builder> generateDataKeyRequest) Returns a unique symmetric data key for use outside of KMS.default GenerateDataKeyResponseKmsClient.generateDataKey(GenerateDataKeyRequest generateDataKeyRequest) Returns a unique symmetric data key for use outside of KMS.default GenerateDataKeyPairResponseKmsClient.generateDataKeyPair(Consumer<GenerateDataKeyPairRequest.Builder> generateDataKeyPairRequest) Returns a unique asymmetric data key pair for use outside of KMS.default GenerateDataKeyPairResponseKmsClient.generateDataKeyPair(GenerateDataKeyPairRequest generateDataKeyPairRequest) Returns a unique asymmetric data key pair for use outside of KMS.KmsClient.generateDataKeyPairWithoutPlaintext(Consumer<GenerateDataKeyPairWithoutPlaintextRequest.Builder> generateDataKeyPairWithoutPlaintextRequest) Returns a unique asymmetric data key pair for use outside of KMS.KmsClient.generateDataKeyPairWithoutPlaintext(GenerateDataKeyPairWithoutPlaintextRequest generateDataKeyPairWithoutPlaintextRequest) Returns a unique asymmetric data key pair for use outside of KMS.KmsClient.generateDataKeyWithoutPlaintext(Consumer<GenerateDataKeyWithoutPlaintextRequest.Builder> generateDataKeyWithoutPlaintextRequest) Returns a unique symmetric data key for use outside of KMS.KmsClient.generateDataKeyWithoutPlaintext(GenerateDataKeyWithoutPlaintextRequest generateDataKeyWithoutPlaintextRequest) Returns a unique symmetric data key for use outside of KMS.default GenerateMacResponseKmsClient.generateMac(Consumer<GenerateMacRequest.Builder> generateMacRequest) Generates a hash-based message authentication code (HMAC) for a message using an HMAC KMS key and a MAC algorithm that the key supports.default GenerateMacResponseKmsClient.generateMac(GenerateMacRequest generateMacRequest) Generates a hash-based message authentication code (HMAC) for a message using an HMAC KMS key and a MAC algorithm that the key supports.default GenerateRandomResponseKmsClient.generateRandom()Returns a random byte string that is cryptographically secure.default GenerateRandomResponseKmsClient.generateRandom(Consumer<GenerateRandomRequest.Builder> generateRandomRequest) Returns a random byte string that is cryptographically secure.default GenerateRandomResponseKmsClient.generateRandom(GenerateRandomRequest generateRandomRequest) Returns a random byte string that is cryptographically secure.default GetKeyLastUsageResponseKmsClient.getKeyLastUsage(Consumer<GetKeyLastUsageRequest.Builder> getKeyLastUsageRequest) Returns usage information about the last successful cryptographic operation performed with a specified KMS key, including the operation type, timestamp, and associated CloudTrail event ID.default GetKeyLastUsageResponseKmsClient.getKeyLastUsage(GetKeyLastUsageRequest getKeyLastUsageRequest) Returns usage information about the last successful cryptographic operation performed with a specified KMS key, including the operation type, timestamp, and associated CloudTrail event ID.default GetKeyPolicyResponseKmsClient.getKeyPolicy(Consumer<GetKeyPolicyRequest.Builder> getKeyPolicyRequest) Gets a key policy attached to the specified KMS key.default GetKeyPolicyResponseKmsClient.getKeyPolicy(GetKeyPolicyRequest getKeyPolicyRequest) Gets a key policy attached to the specified KMS key.default GetKeyRotationStatusResponseKmsClient.getKeyRotationStatus(Consumer<GetKeyRotationStatusRequest.Builder> getKeyRotationStatusRequest) Provides detailed information about the rotation status for a KMS key, including whether automatic rotation of the key material is enabled for the specified KMS key, the rotation period, and the next scheduled rotation date.default GetKeyRotationStatusResponseKmsClient.getKeyRotationStatus(GetKeyRotationStatusRequest getKeyRotationStatusRequest) Provides detailed information about the rotation status for a KMS key, including whether automatic rotation of the key material is enabled for the specified KMS key, the rotation period, and the next scheduled rotation date.default GetParametersForImportResponseKmsClient.getParametersForImport(Consumer<GetParametersForImportRequest.Builder> getParametersForImportRequest) Returns the public key and an import token you need to import or reimport key material for a KMS key.default GetParametersForImportResponseKmsClient.getParametersForImport(GetParametersForImportRequest getParametersForImportRequest) Returns the public key and an import token you need to import or reimport key material for a KMS key.default GetPublicKeyResponseKmsClient.getPublicKey(Consumer<GetPublicKeyRequest.Builder> getPublicKeyRequest) Returns the public key of an asymmetric KMS key.default GetPublicKeyResponseKmsClient.getPublicKey(GetPublicKeyRequest getPublicKeyRequest) Returns the public key of an asymmetric KMS key.default ImportKeyMaterialResponseKmsClient.importKeyMaterial(Consumer<ImportKeyMaterialRequest.Builder> importKeyMaterialRequest) Imports or reimports key material into an existing KMS key that was created without key material.default ImportKeyMaterialResponseKmsClient.importKeyMaterial(ImportKeyMaterialRequest importKeyMaterialRequest) Imports or reimports key material into an existing KMS key that was created without key material.default ListAliasesResponseKmsClient.listAliases()Gets a list of aliases in the caller's Amazon Web Services account and region.default ListAliasesResponseKmsClient.listAliases(Consumer<ListAliasesRequest.Builder> listAliasesRequest) Gets a list of aliases in the caller's Amazon Web Services account and region.default ListAliasesResponseKmsClient.listAliases(ListAliasesRequest listAliasesRequest) Gets a list of aliases in the caller's Amazon Web Services account and region.default ListAliasesIterableKmsClient.listAliasesPaginator()This is a variant ofKmsClient.listAliases(software.amazon.awssdk.services.kms.model.ListAliasesRequest)operation.default ListAliasesIterableKmsClient.listAliasesPaginator(Consumer<ListAliasesRequest.Builder> listAliasesRequest) This is a variant ofKmsClient.listAliases(software.amazon.awssdk.services.kms.model.ListAliasesRequest)operation.default ListAliasesIterableKmsClient.listAliasesPaginator(ListAliasesRequest listAliasesRequest) This is a variant ofKmsClient.listAliases(software.amazon.awssdk.services.kms.model.ListAliasesRequest)operation.default ListGrantsResponseKmsClient.listGrants(Consumer<ListGrantsRequest.Builder> listGrantsRequest) Gets a list of all grants for the specified KMS key.default ListGrantsResponseKmsClient.listGrants(ListGrantsRequest listGrantsRequest) Gets a list of all grants for the specified KMS key.default ListGrantsIterableKmsClient.listGrantsPaginator(Consumer<ListGrantsRequest.Builder> listGrantsRequest) This is a variant ofKmsClient.listGrants(software.amazon.awssdk.services.kms.model.ListGrantsRequest)operation.default ListGrantsIterableKmsClient.listGrantsPaginator(ListGrantsRequest listGrantsRequest) This is a variant ofKmsClient.listGrants(software.amazon.awssdk.services.kms.model.ListGrantsRequest)operation.default ListKeyPoliciesResponseKmsClient.listKeyPolicies(Consumer<ListKeyPoliciesRequest.Builder> listKeyPoliciesRequest) Gets the names of the key policies that are attached to a KMS key.default ListKeyPoliciesResponseKmsClient.listKeyPolicies(ListKeyPoliciesRequest listKeyPoliciesRequest) Gets the names of the key policies that are attached to a KMS key.default ListKeyPoliciesIterableKmsClient.listKeyPoliciesPaginator(Consumer<ListKeyPoliciesRequest.Builder> listKeyPoliciesRequest) This is a variant ofKmsClient.listKeyPolicies(software.amazon.awssdk.services.kms.model.ListKeyPoliciesRequest)operation.default ListKeyPoliciesIterableKmsClient.listKeyPoliciesPaginator(ListKeyPoliciesRequest listKeyPoliciesRequest) This is a variant ofKmsClient.listKeyPolicies(software.amazon.awssdk.services.kms.model.ListKeyPoliciesRequest)operation.default ListKeyRotationsResponseKmsClient.listKeyRotations(Consumer<ListKeyRotationsRequest.Builder> listKeyRotationsRequest) Returns information about the key materials associated with the specified KMS key.default ListKeyRotationsResponseKmsClient.listKeyRotations(ListKeyRotationsRequest listKeyRotationsRequest) Returns information about the key materials associated with the specified KMS key.default ListKeyRotationsIterableKmsClient.listKeyRotationsPaginator(Consumer<ListKeyRotationsRequest.Builder> listKeyRotationsRequest) This is a variant ofKmsClient.listKeyRotations(software.amazon.awssdk.services.kms.model.ListKeyRotationsRequest)operation.default ListKeyRotationsIterableKmsClient.listKeyRotationsPaginator(ListKeyRotationsRequest listKeyRotationsRequest) This is a variant ofKmsClient.listKeyRotations(software.amazon.awssdk.services.kms.model.ListKeyRotationsRequest)operation.default ListKeysResponseKmsClient.listKeys()Gets a list of all KMS keys in the caller's Amazon Web Services account and Region.default ListKeysResponseKmsClient.listKeys(Consumer<ListKeysRequest.Builder> listKeysRequest) Gets a list of all KMS keys in the caller's Amazon Web Services account and Region.default ListKeysResponseKmsClient.listKeys(ListKeysRequest listKeysRequest) Gets a list of all KMS keys in the caller's Amazon Web Services account and Region.default ListKeysIterableKmsClient.listKeysPaginator()This is a variant ofKmsClient.listKeys(software.amazon.awssdk.services.kms.model.ListKeysRequest)operation.default ListKeysIterableKmsClient.listKeysPaginator(Consumer<ListKeysRequest.Builder> listKeysRequest) This is a variant ofKmsClient.listKeys(software.amazon.awssdk.services.kms.model.ListKeysRequest)operation.default ListKeysIterableKmsClient.listKeysPaginator(ListKeysRequest listKeysRequest) This is a variant ofKmsClient.listKeys(software.amazon.awssdk.services.kms.model.ListKeysRequest)operation.default ListResourceTagsResponseKmsClient.listResourceTags(Consumer<ListResourceTagsRequest.Builder> listResourceTagsRequest) Returns all tags on the specified KMS key.default ListResourceTagsResponseKmsClient.listResourceTags(ListResourceTagsRequest listResourceTagsRequest) Returns all tags on the specified KMS key.default ListResourceTagsIterableKmsClient.listResourceTagsPaginator(Consumer<ListResourceTagsRequest.Builder> listResourceTagsRequest) This is a variant ofKmsClient.listResourceTags(software.amazon.awssdk.services.kms.model.ListResourceTagsRequest)operation.default ListResourceTagsIterableKmsClient.listResourceTagsPaginator(ListResourceTagsRequest listResourceTagsRequest) This is a variant ofKmsClient.listResourceTags(software.amazon.awssdk.services.kms.model.ListResourceTagsRequest)operation.default ListRetirableGrantsResponseKmsClient.listRetirableGrants(Consumer<ListRetirableGrantsRequest.Builder> listRetirableGrantsRequest) Returns information about all grants in the Amazon Web Services account and Region that have the specified retiring principal.default ListRetirableGrantsResponseKmsClient.listRetirableGrants(ListRetirableGrantsRequest listRetirableGrantsRequest) Returns information about all grants in the Amazon Web Services account and Region that have the specified retiring principal.default ListRetirableGrantsIterableKmsClient.listRetirableGrantsPaginator(Consumer<ListRetirableGrantsRequest.Builder> listRetirableGrantsRequest) This is a variant ofKmsClient.listRetirableGrants(software.amazon.awssdk.services.kms.model.ListRetirableGrantsRequest)operation.default ListRetirableGrantsIterableKmsClient.listRetirableGrantsPaginator(ListRetirableGrantsRequest listRetirableGrantsRequest) This is a variant ofKmsClient.listRetirableGrants(software.amazon.awssdk.services.kms.model.ListRetirableGrantsRequest)operation.default PutKeyPolicyResponseKmsClient.putKeyPolicy(Consumer<PutKeyPolicyRequest.Builder> putKeyPolicyRequest) Attaches a key policy to the specified KMS key.default PutKeyPolicyResponseKmsClient.putKeyPolicy(PutKeyPolicyRequest putKeyPolicyRequest) Attaches a key policy to the specified KMS key.default ReEncryptResponseKmsClient.reEncrypt(Consumer<ReEncryptRequest.Builder> reEncryptRequest) Decrypts ciphertext and then reencrypts it entirely within KMS.default ReEncryptResponseKmsClient.reEncrypt(ReEncryptRequest reEncryptRequest) Decrypts ciphertext and then reencrypts it entirely within KMS.default ReplicateKeyResponseKmsClient.replicateKey(Consumer<ReplicateKeyRequest.Builder> replicateKeyRequest) Replicates a multi-Region key into the specified Region.default ReplicateKeyResponseKmsClient.replicateKey(ReplicateKeyRequest replicateKeyRequest) Replicates a multi-Region key into the specified Region.default RetireGrantResponseKmsClient.retireGrant()Deletes a grant.default RetireGrantResponseKmsClient.retireGrant(Consumer<RetireGrantRequest.Builder> retireGrantRequest) Deletes a grant.default RetireGrantResponseKmsClient.retireGrant(RetireGrantRequest retireGrantRequest) Deletes a grant.default RevokeGrantResponseKmsClient.revokeGrant(Consumer<RevokeGrantRequest.Builder> revokeGrantRequest) Deletes the specified grant.default RevokeGrantResponseKmsClient.revokeGrant(RevokeGrantRequest revokeGrantRequest) Deletes the specified grant.default RotateKeyOnDemandResponseKmsClient.rotateKeyOnDemand(Consumer<RotateKeyOnDemandRequest.Builder> rotateKeyOnDemandRequest) Immediately initiates rotation of the key material of the specified symmetric encryption KMS key.default RotateKeyOnDemandResponseKmsClient.rotateKeyOnDemand(RotateKeyOnDemandRequest rotateKeyOnDemandRequest) Immediately initiates rotation of the key material of the specified symmetric encryption KMS key.default ScheduleKeyDeletionResponseKmsClient.scheduleKeyDeletion(Consumer<ScheduleKeyDeletionRequest.Builder> scheduleKeyDeletionRequest) Schedules the deletion of a KMS key.default ScheduleKeyDeletionResponseKmsClient.scheduleKeyDeletion(ScheduleKeyDeletionRequest scheduleKeyDeletionRequest) Schedules the deletion of a KMS key.default SignResponseKmsClient.sign(Consumer<SignRequest.Builder> signRequest) Creates a digital signature for a message or message digest by using the private key in an asymmetric signing KMS key.default SignResponseKmsClient.sign(SignRequest signRequest) Creates a digital signature for a message or message digest by using the private key in an asymmetric signing KMS key.default TagResourceResponseKmsClient.tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds or edits tags on a customer managed key.default TagResourceResponseKmsClient.tagResource(TagResourceRequest tagResourceRequest) Adds or edits tags on a customer managed key.default UntagResourceResponseKmsClient.untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Deletes tags from a customer managed key.default UntagResourceResponseKmsClient.untagResource(UntagResourceRequest untagResourceRequest) Deletes tags from a customer managed key.default UpdateAliasResponseKmsClient.updateAlias(Consumer<UpdateAliasRequest.Builder> updateAliasRequest) Associates an existing KMS alias with a different KMS key.default UpdateAliasResponseKmsClient.updateAlias(UpdateAliasRequest updateAliasRequest) Associates an existing KMS alias with a different KMS key.default UpdateCustomKeyStoreResponseKmsClient.updateCustomKeyStore(Consumer<UpdateCustomKeyStoreRequest.Builder> updateCustomKeyStoreRequest) Changes the properties of a custom key store.default UpdateCustomKeyStoreResponseKmsClient.updateCustomKeyStore(UpdateCustomKeyStoreRequest updateCustomKeyStoreRequest) Changes the properties of a custom key store.default UpdateKeyDescriptionResponseKmsClient.updateKeyDescription(Consumer<UpdateKeyDescriptionRequest.Builder> updateKeyDescriptionRequest) Updates the description of a KMS key.default UpdateKeyDescriptionResponseKmsClient.updateKeyDescription(UpdateKeyDescriptionRequest updateKeyDescriptionRequest) Updates the description of a KMS key.default UpdatePrimaryRegionResponseKmsClient.updatePrimaryRegion(Consumer<UpdatePrimaryRegionRequest.Builder> updatePrimaryRegionRequest) Changes the primary key of a multi-Region key.default UpdatePrimaryRegionResponseKmsClient.updatePrimaryRegion(UpdatePrimaryRegionRequest updatePrimaryRegionRequest) Changes the primary key of a multi-Region key.default VerifyResponseKmsClient.verify(Consumer<VerifyRequest.Builder> verifyRequest) Verifies a digital signature that was generated by the Sign operation.default VerifyResponseKmsClient.verify(VerifyRequest verifyRequest) Verifies a digital signature that was generated by the Sign operation.default VerifyMacResponseKmsClient.verifyMac(Consumer<VerifyMacRequest.Builder> verifyMacRequest) Verifies the hash-based message authentication code (HMAC) for a specified message, HMAC KMS key, and MAC algorithm.default VerifyMacResponseKmsClient.verifyMac(VerifyMacRequest verifyMacRequest) Verifies the hash-based message authentication code (HMAC) for a specified message, HMAC KMS key, and MAC algorithm. -
Uses of KmsException in software.amazon.awssdk.services.kms.model
Subclasses of KmsException in software.amazon.awssdk.services.kms.modelModifier and TypeClassDescriptionfinal classThe request was rejected because it attempted to create a resource that already exists.final classThe request was rejected because the specified CloudHSM cluster is already associated with an CloudHSM key store in the account, or it shares a backup history with an CloudHSM key store in the account.final classThe request was rejected because the associated CloudHSM cluster did not meet the configuration requirements for an CloudHSM key store.final classThe request was rejected because the CloudHSM cluster associated with the CloudHSM key store is not active.final classThe request was rejected because KMS cannot find the CloudHSM cluster with the specified cluster ID.final classThe request was rejected because the specified CloudHSM cluster has a different cluster certificate than the original cluster.final classThe request was rejected because an automatic rotation of this key is currently in progress or scheduled to begin within the next 20 minutes.final classThe request was rejected because the custom key store contains KMS keys.final classThe request was rejected because of theConnectionStateof the custom key store.final classThe request was rejected because the specified custom key store name is already assigned to another custom key store in the account.final classThe request was rejected because KMS cannot find a custom key store with the specified key store name or ID.final classThe system timed out while trying to fulfill the request.final classThe request was rejected because the specified KMS key is not enabled.final classThe request was rejected because the DryRun parameter was specified.final classThe request was rejected because the specified import token is expired.final classThe request was rejected because the specified KMS key cannot decrypt the data.final classThe request was rejected because the key material in the request is, expired, invalid, or does not meet expectations.final classThe request was rejected because the trust anchor certificate in the request to create an CloudHSM key store is not the trust anchor certificate for the specified CloudHSM cluster.final classThe request was rejected because the specified alias name is not valid.final classThe request was rejected because a specified ARN, or an ARN in a key policy, is not valid.final classfinal classThe request was rejected because the specifiedGrantIdis not valid.final classThe request was rejected because the specified grant token is not valid.final classThe request was rejected because the provided import token is invalid or is associated with a different KMS key.final classThe request was rejected for one of the following reasons:final classThe request was rejected because the marker that specifies where pagination should next begin is not valid.final classThe request was rejected because the specified KMS key was not available.final classThe request was rejected because an internal exception occurred.final classThe request was rejected because the HMAC verification failed.final classThe request was rejected because the signature verification failed.final classThe request was rejected because the state of the specified resource is not valid for this request.final classThe request was rejected because a length constraint or quota was exceeded.final classThe request was rejected because the specified policy is not syntactically or semantically correct.final classThe request was rejected because the specified entity or resource could not be found.final classThe request was rejected because one or more tags are not valid.final classThe request was rejected because a specified parameter is not supported or a specified resource is not valid for this operation.final classThe request was rejected because the (XksKeyId) is already associated with another KMS key in this external key store.final classThe request was rejected because the external key specified by theXksKeyIdparameter did not meet the configuration requirements for an external key store.final classThe request was rejected because the external key store proxy could not find the external key.final classThe request was rejected because the proxy credentials failed to authenticate to the specified external key store proxy.final classThe request was rejected because the external key store proxy is not configured correctly.final classfinal classThe request was rejected because theXksProxyUriEndpointis already associated with another external key store in this Amazon Web Services Region.final classThe request was rejected because the concatenation of theXksProxyUriEndpointandXksProxyUriPathis already associated with another external key store in this Amazon Web Services Region.final classKMS was unable to reach the specifiedXksProxyUriPath.final classThe request was rejected because the specified Amazon VPC endpoint service is already associated with another external key store in this Amazon Web Services Region.final classThe request was rejected because the Amazon VPC endpoint service configuration does not fulfill the requirements for an external key store.final classThe request was rejected because KMS could not find the specified VPC endpoint service.Methods in software.amazon.awssdk.services.kms.model that return KmsExceptionConstructors in software.amazon.awssdk.services.kms.model with parameters of type KmsException