| Copyright | (c) 2013-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.CertificateManager.ListCertificates
Description
Retrieves a list of the ACM Certificate ARNs, and the domain name for each ARN, owned by the calling account. You can filter the list based on the CertificateStatuses parameter, and you can display up to MaxItems certificates at one time. If you have more than MaxItems certificates, use the NextToken marker from the response object in your next call to the ListCertificates action to retrieve the next set of certificate ARNs.
- listCertificates :: ListCertificates
- data ListCertificates
- lcCertificateStatuses :: Lens' ListCertificates [CertificateStatus]
- lcNextToken :: Lens' ListCertificates (Maybe Text)
- lcMaxItems :: Lens' ListCertificates (Maybe Natural)
- listCertificatesResponse :: Int -> ListCertificatesResponse
- data ListCertificatesResponse
- lcrsCertificateSummaryList :: Lens' ListCertificatesResponse [CertificateSummary]
- lcrsNextToken :: Lens' ListCertificatesResponse (Maybe Text)
- lcrsResponseStatus :: Lens' ListCertificatesResponse Int
Creating a Request
listCertificates :: ListCertificates Source #
Creates a value of ListCertificates with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListCertificates Source #
See: listCertificates smart constructor.
Instances
Request Lenses
lcCertificateStatuses :: Lens' ListCertificates [CertificateStatus] Source #
Identifies the statuses of the ACM Certificates for which you want to retrieve the ARNs. This can be one or more of the following values:
PENDING_VALIDATIONISSUEDINACTIVEEXPIREDVALIDATION_TIMED_OUTREVOKEDFAILED
lcNextToken :: Lens' ListCertificates (Maybe Text) Source #
String that contains an opaque marker of the next ACM Certificate ARN to be displayed. Use this parameter when paginating results, and only in a subsequent request after you've received a response where the results have been truncated. Set it to an empty string the first time you call this action, and set it to the value of the NextToken element you receive in the response object for subsequent calls.
lcMaxItems :: Lens' ListCertificates (Maybe Natural) Source #
Specify this parameter when paginating results to indicate the maximum number of ACM Certificates that you want to display for each response. If there are additional certificates beyond the maximum you specify, use the NextToken value in your next call to the ListCertificates action.
Destructuring the Response
listCertificatesResponse Source #
Arguments
| :: Int | |
| -> ListCertificatesResponse |
Creates a value of ListCertificatesResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListCertificatesResponse Source #
See: listCertificatesResponse smart constructor.
Response Lenses
lcrsCertificateSummaryList :: Lens' ListCertificatesResponse [CertificateSummary] Source #
A list of the certificate ARNs.
lcrsNextToken :: Lens' ListCertificatesResponse (Maybe Text) Source #
If the list has been truncated, this value is present and should be used for the NextToken input parameter on your next call to ListCertificates.
lcrsResponseStatus :: Lens' ListCertificatesResponse Int Source #
The response status code.