libZSservicesZSamazonka-lightsailZSamazonka-lightsail
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Lightsail.GetCertificates

Description

Returns information about one or more Amazon Lightsail SSL/TLS certificates.

To get a summary of a certificate, ommit includeCertificateDetails from your request. The response will include only the certificate Amazon Resource Name (ARN), certificate name, domain name, and tags.

Synopsis

Creating a Request

data GetCertificates Source #

See: newGetCertificates smart constructor.

Constructors

GetCertificates' 

Fields

  • certificateStatuses :: Maybe [CertificateStatus]

    The status of the certificates for which to return information.

    For example, specify ISSUED to return only certificates with an ISSUED status.

    When omitted, the response includes all of your certificates in the AWS Region where the request is made, regardless of their current status.

  • certificateName :: Maybe Text

    The name for the certificate for which to return information.

    When omitted, the response includes all of your certificates in the AWS Region where the request is made.

  • includeCertificateDetails :: Maybe Bool

    Indicates whether to include detailed information about the certificates in the response.

    When omitted, the response includes only the certificate names, Amazon Resource Names (ARNs), domain names, and tags.

Instances

Instances details
Eq GetCertificates Source # 
Instance details

Defined in Amazonka.Lightsail.GetCertificates

Read GetCertificates Source # 
Instance details

Defined in Amazonka.Lightsail.GetCertificates

Show GetCertificates Source # 
Instance details

Defined in Amazonka.Lightsail.GetCertificates

Generic GetCertificates Source # 
Instance details

Defined in Amazonka.Lightsail.GetCertificates

Associated Types

type Rep GetCertificates :: Type -> Type #

NFData GetCertificates Source # 
Instance details

Defined in Amazonka.Lightsail.GetCertificates

Methods

rnf :: GetCertificates -> () #

Hashable GetCertificates Source # 
Instance details

Defined in Amazonka.Lightsail.GetCertificates

ToJSON GetCertificates Source # 
Instance details

Defined in Amazonka.Lightsail.GetCertificates

AWSRequest GetCertificates Source # 
Instance details

Defined in Amazonka.Lightsail.GetCertificates

Associated Types

type AWSResponse GetCertificates #

ToHeaders GetCertificates Source # 
Instance details

Defined in Amazonka.Lightsail.GetCertificates

ToPath GetCertificates Source # 
Instance details

Defined in Amazonka.Lightsail.GetCertificates

ToQuery GetCertificates Source # 
Instance details

Defined in Amazonka.Lightsail.GetCertificates

type Rep GetCertificates Source # 
Instance details

Defined in Amazonka.Lightsail.GetCertificates

type Rep GetCertificates = D1 ('MetaData "GetCertificates" "Amazonka.Lightsail.GetCertificates" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "GetCertificates'" 'PrefixI 'True) (S1 ('MetaSel ('Just "certificateStatuses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CertificateStatus])) :*: (S1 ('MetaSel ('Just "certificateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "includeCertificateDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))
type AWSResponse GetCertificates Source # 
Instance details

Defined in Amazonka.Lightsail.GetCertificates

newGetCertificates :: GetCertificates Source #

Create a value of GetCertificates with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:certificateStatuses:GetCertificates', getCertificates_certificateStatuses - The status of the certificates for which to return information.

For example, specify ISSUED to return only certificates with an ISSUED status.

When omitted, the response includes all of your certificates in the AWS Region where the request is made, regardless of their current status.

$sel:certificateName:GetCertificates', getCertificates_certificateName - The name for the certificate for which to return information.

When omitted, the response includes all of your certificates in the AWS Region where the request is made.

$sel:includeCertificateDetails:GetCertificates', getCertificates_includeCertificateDetails - Indicates whether to include detailed information about the certificates in the response.

When omitted, the response includes only the certificate names, Amazon Resource Names (ARNs), domain names, and tags.

Request Lenses

getCertificates_certificateStatuses :: Lens' GetCertificates (Maybe [CertificateStatus]) Source #

The status of the certificates for which to return information.

For example, specify ISSUED to return only certificates with an ISSUED status.

When omitted, the response includes all of your certificates in the AWS Region where the request is made, regardless of their current status.

getCertificates_certificateName :: Lens' GetCertificates (Maybe Text) Source #

The name for the certificate for which to return information.

When omitted, the response includes all of your certificates in the AWS Region where the request is made.

getCertificates_includeCertificateDetails :: Lens' GetCertificates (Maybe Bool) Source #

Indicates whether to include detailed information about the certificates in the response.

When omitted, the response includes only the certificate names, Amazon Resource Names (ARNs), domain names, and tags.

Destructuring the Response

data GetCertificatesResponse Source #

See: newGetCertificatesResponse smart constructor.

Constructors

GetCertificatesResponse' 

Fields

Instances

Instances details
Eq GetCertificatesResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetCertificates

Read GetCertificatesResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetCertificates

Show GetCertificatesResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetCertificates

Generic GetCertificatesResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetCertificates

Associated Types

type Rep GetCertificatesResponse :: Type -> Type #

NFData GetCertificatesResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetCertificates

Methods

rnf :: GetCertificatesResponse -> () #

type Rep GetCertificatesResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetCertificates

type Rep GetCertificatesResponse = D1 ('MetaData "GetCertificatesResponse" "Amazonka.Lightsail.GetCertificates" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "GetCertificatesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "certificates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CertificateSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetCertificatesResponse Source #

Create a value of GetCertificatesResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:certificates:GetCertificatesResponse', getCertificatesResponse_certificates - An object that describes certificates.

$sel:httpStatus:GetCertificatesResponse', getCertificatesResponse_httpStatus - The response's http status code.

Response Lenses