describe_certificates
async
¶
describe_certificates(
*,
config_overrides: Optional[AsyncDocDBClientConfig] = None,
certificate_identifier: Optional[String] = None,
filters: Optional[FilterList] = None,
max_records: Optional[IntegerOptional] = None,
marker: Optional[String] = None,
) -> CertificateMessage
Returns a list of certificate authority (CA) certificates provided by Amazon DocumentDB for this Amazon Web Services account.
Parameters:
-
certificate_identifier(Optional[String], default:None) –The user-supplied certificate identifier. If this parameter is specified, information for only the specified certificate is returned. If this parameter is omitted, a list of up to
MaxRecordscertificates is returned. This parameter is not case sensitive.Constraints
-
Must match an existing
CertificateIdentifier.
-
-
filters(Optional[FilterList], default:None) –This parameter is not currently supported.
-
max_records(Optional[IntegerOptional], default:None) –The maximum number of records to include in the response. If more records exist than the specified
MaxRecordsvalue, a pagination token called a marker is included in the response so that the remaining results can be retrieved.Default: 100
Constraints:
-
Minimum: 20
-
Maximum: 100
-
-
marker(Optional[String], default:None) –An optional pagination token provided by a previous
DescribeCertificatesrequest. If this parameter is specified, the response includes only records beyond the marker, up to the value specified byMaxRecords.
Raises:
-
CertificateNotFoundFault–CertificateIdentifierdoesn't refer to an existing certificate. -
UnknownServiceError–The service returned an error code this client does not model.