/AWS1/IF_ACM=>DELETECERTIFICATE()¶
About DeleteCertificate¶
Deletes a certificate and its associated private key. If this action succeeds, the certificate is not available for use by Amazon Web Services services integrated with ACM. Deleting a certificate is eventually consistent. The may be a short delay before the certificate no longer appears in the list that can be displayed by calling the ListCertificates action or be retrieved by calling the GetCertificate action.
You cannot delete an ACM certificate that is being used by another Amazon Web Services service. To delete a certificate that is in use, you must first remove the certificate association using the console or the CLI for the associated service.
Deleting a certificate issued by a private certificate authority (CA) has no effect on the CA. You will continue to be charged for the CA until it is deleted. For more information, see Deleting Your Private CA in the Private Certificate Authority User Guide.
Deleting a certificate issued by a private certificate authority (CA) has no effect on the CA. You will continue to be charged for the CA until it is deleted. For more information, see Deleting your private CA in the Amazon Web Services Private Certificate Authority User Guide.
Method Signature¶
METHODS /AWS1/IF_ACM~DELETECERTIFICATE
IMPORTING
!IV_CERTIFICATEARN TYPE /AWS1/ACMARN OPTIONAL
RAISING
/AWS1/CX_ACMACCESSDENIEDEX
/AWS1/CX_ACMCONFLICTEXCEPTION
/AWS1/CX_ACMINVALIDARNEX
/AWS1/CX_ACMRESOURCEINUSEEX
/AWS1/CX_ACMRESOURCENOTFOUNDEX
/AWS1/CX_ACMTHROTTLINGEX
/AWS1/CX_ACMCLIENTEXC
/AWS1/CX_ACMSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_certificatearn TYPE /AWS1/ACMARN /AWS1/ACMARN¶
String that contains the ARN of the ACM certificate to be deleted. This must be of the form:
arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012For more information about ARNs, see Amazon Resource Names (ARNs).
Examples¶
Syntax Example¶
This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.
lo_client->deletecertificate( |string| ).