list_certificate_authority_replicas
async
¶
list_certificate_authority_replicas(
certificate_authority_arn: Arn,
*,
config_overrides: Optional[AsyncACMPCAClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListCertificateAuthorityReplicasResponse
Lists the replicas of a multi-Region private certificate authority (CA). Call this operation in the Region of the primary CA, and specify the ARN of the primary CA. The response does not include deleted replicas. We recommend using pagination to ensure that the operation returns quickly and successfully. To retrieve additional replicas, use the NextToken value from the response in a subsequent request.
Parameters:
-
max_results(Optional[MaxResults], default:None) –The maximum number of replicas to return on each page. If more replicas exist, the response includes a
NextTokenvalue that you can use in a subsequent request to retrieve them. -
next_token(Optional[NextToken], default:None) –Use this parameter when paginating results in a subsequent request after you receive a response with truncated results. Set it to the value of the
NextTokenparameter from the response you just received. -
certificate_authority_arn(Arn) –The Amazon Resource Name (ARN) of the primary CA whose replicas you want to list. This must be of the form:
arn:aws:acm-pca:region:account:certificate-authority/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111
Raises:
-
InvalidArgsException–One or more of the specified arguments was not valid.
-
InvalidArnException–The requested Amazon Resource Name (ARN) does not refer to an existing resource.
-
InvalidNextTokenException–The token specified in the
NextTokenargument is not valid. Use the token returned from your previous call to ListCertificateAuthorities. -
ResourceNotFoundException–A resource such as a private CA, S3 bucket, certificate, audit report, or policy cannot be found.
-
UnknownServiceError–The service returned an error code this client does not model.