CancelDeletion Method
Cancels the deletion of a secret.
Syntax
ANSI (Cross Platform) int CancelDeletion(const char* lpszSecretId); Unicode (Windows) INT CancelDeletion(LPCWSTR lpszSecretId);
- (void)cancelDeletion:(NSString*)secretId;
#define MID_AMAZONSECRETS_CANCELDELETION 3 CLOUDKEYS_EXTERNAL int CLOUDKEYS_CALL CloudKeys_AmazonSecrets_Do(void *lpObj, int methid, int cparam, void *param[], int cbparam[], int64 *lpllVal);
Remarks
This method cancels the deletion of the secret specified by SecretId. Refer to the DeleteSecret method's documentation for more information.
The value passed for SecretId must the ARN or name of a secret in the current account and Region.
Error Handling (C++)
This method returns a result code; 0 indicates success, while a non-zero error code indicates that this method encountered an error during its execution. If an error occurs, the GetLastError() method can be called to retrieve the associated error message. (Note: This method's result code can also be obtained by calling the GetLastErrorCode() method after it returns.)