Skip to content

IAM  >  Operations  >  get_server_certificate

get_server_certificate

Operation

get_server_certificate async

get_server_certificate(input: GetServerCertificateInput, plugins: list[Plugin] | None = None) -> GetServerCertificateOutput

Retrieves information about the specified server certificate stored in IAM.

For more information about working with server certificates, see Working with server certificates in the IAM User Guide. This topic includes a list of Amazon Web Services services that can use the server certificates that you manage with IAM.

Parameters:

Name Type Description Default
input GetServerCertificateInput

An instance of GetServerCertificateInput.

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
GetServerCertificateOutput

An instance of GetServerCertificateOutput.

Input

GetServerCertificateInput dataclass

Bases: _SerdeShape

Dataclass for GetServerCertificateInput structure.

Attributes

server_certificate_name class-attribute instance-attribute
server_certificate_name: str | None = ...

The name of the server certificate you want to retrieve information about.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

Output

GetServerCertificateOutput dataclass

Bases: _SerdeShape

Contains the response to a successful GetServerCertificate request.

Attributes

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

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.

server_certificate instance-attribute
server_certificate: ServerCertificate

A structure containing details about the server certificate.