cancelDestruction (method)
Cancels the destruction of a key version's cryptographic material.
Syntax
- (void)cancelDestruction:(NSString*)keyName :(NSString*)versionId;
public func cancelDestruction(_ keyName: String, _ versionId: String) throws -> Void
Remarks
This method cancels the destruction of the cryptographic material for the key version specified by KeyName and VersionId. If successful, the key version's VersionState changes to DISABLED.