Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data GetCertificates = GetCertificates' {}
- newGetCertificates :: GetCertificates
- getCertificates_certificateStatuses :: Lens' GetCertificates (Maybe [CertificateStatus])
- getCertificates_certificateName :: Lens' GetCertificates (Maybe Text)
- getCertificates_includeCertificateDetails :: Lens' GetCertificates (Maybe Bool)
- data GetCertificatesResponse = GetCertificatesResponse' {}
- newGetCertificatesResponse :: Int -> GetCertificatesResponse
- getCertificatesResponse_certificates :: Lens' GetCertificatesResponse (Maybe [CertificateSummary])
- getCertificatesResponse_httpStatus :: Lens' GetCertificatesResponse Int
Creating a Request
data GetCertificates Source #
See: newGetCertificates
smart constructor.
GetCertificates' | |
|
Instances
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.
GetCertificatesResponse' | |
|
Instances
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
getCertificatesResponse_certificates :: Lens' GetCertificatesResponse (Maybe [CertificateSummary]) Source #
An object that describes certificates.
getCertificatesResponse_httpStatus :: Lens' GetCertificatesResponse Int Source #
The response's http status code.