get_certificate¶
Operation¶
get_certificate
¶
get_certificate(request: GetCertificateInput | GetCertificateInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[GetCertificateInputDict]) -> 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 |
|---|---|---|---|
request
|
GetCertificateInput | GetCertificateInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
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
|
**kwargs
|
Unpack[GetCertificateInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
GetCertificateOutput
|
An instance of |
get_certificate
async
¶
get_certificate(request: GetCertificateInput | GetCertificateInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[GetCertificateInputDict]) -> 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 |
|---|---|---|---|
request
|
GetCertificateInput | GetCertificateInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
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
|
**kwargs
|
Unpack[GetCertificateInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
GetCertificateOutput
|
An instance of |
Input¶
Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.
GetCertificateInputDict
¶
Bases: TypedDict
Dictionary form of GetCertificateInput.
Attributes¶
certificate_arn
instance-attribute
¶
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).
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.