Values.CancelKeyDeletionResponseSourceCancels the deletion of a KMS key. When this operation succeeds, the key state of the KMS key is Disabled. To enable the KMS key, use EnableKey. For more information about scheduling and canceling deletion of a KMS key, see Deleting KMS keys in the Key Management Service Developer Guide. The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide. Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account. Required permissions: kms:CancelKeyDeletion (key policy) Related operations: ScheduleKeyDeletion Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.
type nonrec t = {keyId : KeyIdType.t option;The Amazon Resource Name (key ARN) of the KMS key whose deletion is canceled.
*)}type nonrec error = [ | `DependencyTimeoutException of DependencyTimeoutException.t| `InvalidArnException of InvalidArnException.t| `KMSInternalException of KMSInternalException.t| `KMSInvalidStateException of KMSInvalidStateException.t| `NotFoundException of NotFoundException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `DependencyTimeoutException of DependencyTimeoutException.t
| `InvalidArnException of InvalidArnException.t
| `KMSInternalException of KMSInternalException.t
| `KMSInvalidStateException of KMSInvalidStateException.t
| `NotFoundException of NotFoundException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `DependencyTimeoutException of DependencyTimeoutException.t
| `InvalidArnException of InvalidArnException.t
| `KMSInternalException of KMSInternalException.t
| `KMSInvalidStateException of KMSInvalidStateException.t
| `NotFoundException of NotFoundException.t
| `Unknown_operation_error of string * string option ]