list_certificate_authority_associations
async
¶
list_certificate_authority_associations(
certificate_authority_arn: Arn,
*,
config_overrides: Optional[AsyncACMPCAClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListCertificateAuthorityAssociationsResponse
Lists the resource associations for a service-affiliated private certificate authority (CA). Each entry pairs the private CA with an associated Amazon Web Services resource. The results can be paginated.
Parameters:
-
max_results(Optional[MaxResults], default:None) –Use this parameter when paginating results to specify the maximum number of associations to return in the response on each page. If additional associations exist beyond the number you specify, the
NextTokenelement is sent in the response. Use thisNextTokenvalue in a subsequent request to retrieve additional associations. -
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 service-affiliated private CA whose associations you want to list.
Raises:
-
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.