RevokeMemberIssuedCertificate
Revokes a certificate that a private certificate authority (CA) in a member account of your organization issued. AWS Private CA applies the rules of its RevokeCertificate operation.
You must call this operation from the organization's management account or its delegated administrator account. Call it in the organization's home Region, while certificate actions for organizations are on. It returns the same errors as UpdateMemberCertificateAuthority.
Request Syntax
{
"CertificateAuthorityArn": "string",
"CertificateSerial": "string",
"RevocationReason": "string"
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
The request accepts the following data in JSON format.
In the following list, the required parameters are described first.
- CertificateAuthorityArn
-
The ARN of the certificate authority that issued the certificate.
Type: String
Length Constraints: Minimum length of 5. Maximum length of 200.
Pattern:
arn:[\w+=/,.@-]+:acm-pca:[\w+=/,.@-]*:[0-9]+:[\w+=,.@-]+(/[\w+=,.@-]+)*Required: Yes
- CertificateSerial
-
The serial number of the certificate to revoke.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 128.
Required: Yes
- RevocationReason
-
Why the certificate is revoked.
Type: String
Valid Values:
UNSPECIFIED | KEY_COMPROMISE | CERTIFICATE_AUTHORITY_COMPROMISE | AFFILIATION_CHANGED | SUPERSEDED | CESSATION_OF_OPERATION | PRIVILEGE_WITHDRAWN | A_A_COMPROMISERequired: Yes
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
Errors
For information about the errors that are common to all actions, see Common Error Types.
- AccessDeniedException
-
You do not have access required to perform this action.
HTTP Status Code: 400
- ConflictException
-
You are trying to update a resource or configuration that is already being created or updated. Wait for the previous operation to finish and try again.
HTTP Status Code: 400
- InternalServerException
-
The request processing has failed because of an unknown error, exception, or failure.
HTTP Status Code: 500
- ResourceNotFoundException
-
The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
HTTP Status Code: 400
- ThrottlingException
-
The request was denied because it exceeded a quota.
- throttlingReasons
-
One or more reasons why the request was throttled.
HTTP Status Code: 400
- ValidationException
-
The supplied input failed to satisfy constraints of an AWS service.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: