get_certificate¶
Operation¶
get_certificate
async
¶
get_certificate(input: GetCertificateInput, plugins: list[Plugin] | None = None) -> GetCertificateOutput
Retrieves a certificate and its certificate chain. The certificate may
be either a public or private certificate issued using the ACM
RequestCertificate action, or a certificate imported into ACM using
the ImportCertificate action. The chain consists of the certificate of
the issuing CA and the intermediate certificates of any other
subordinate CAs. All of the certificates are base64 encoded. You can use
OpenSSL to
decode the certificates and inspect individual fields.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
GetCertificateInput
|
An instance of |
required |
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
GetCertificateOutput
|
An instance of |
Input¶
GetCertificateInput
dataclass
¶
Bases: _SerdeShape
Dataclass for GetCertificateInput structure.
Attributes¶
certificate_arn
class-attribute
instance-attribute
¶
certificate_arn: str | None = ...
String that contains a certificate ARN in the following format:
arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012
For more information about ARNs, see Amazon Resource Names (ARNs).
Output¶
GetCertificateOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for GetCertificateOutput structure.
Attributes¶
certificate
class-attribute
instance-attribute
¶
certificate: str | None = ...
The ACM-issued certificate corresponding to the ARN specified as input.
certificate_chain
class-attribute
instance-attribute
¶
certificate_chain: str | None = ...
Certificates forming the requested certificate's chain of trust. The chain consists of the certificate of the issuing CA and the intermediate certificates of any other subordinate CAs.
response_metadata
class-attribute
instance-attribute
¶
Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.