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 |
Retrieves a list of ACM Certificates and the domain name for each. You can optionally filter the list to return only the certificates that match the specified status.
This operation returns paginated results.
- 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:
lcCertificateStatuses
- The status or statuses on which to filter the list of ACM Certificates.lcNextToken
- Use this parameter only when paginating results and only in a subsequent request after you receive a response with truncated results. Set it to the value ofNextToken
from the response you just received.lcMaxItems
- Use this parameter when paginating results to specify the maximum number of items to return in the response. If additional items exist beyond the number you specify, theNextToken
element is sent in the response. Use thisNextToken
value in a subsequent request to retrieve additional items.
data ListCertificates Source #
See: listCertificates
smart constructor.
Request Lenses
lcCertificateStatuses :: Lens' ListCertificates [CertificateStatus] Source #
The status or statuses on which to filter the list of ACM Certificates.
lcNextToken :: Lens' ListCertificates (Maybe Text) Source #
Use this parameter only when paginating results and only in a subsequent request after you receive a response with truncated results. Set it to the value of NextToken
from the response you just received.
lcMaxItems :: Lens' ListCertificates (Maybe Natural) Source #
Use this parameter when paginating results to specify the maximum number of items to return in the response. If additional items exist beyond the number you specify, the NextToken
element is sent in the response. Use this NextToken
value in a subsequent request to retrieve additional items.
Destructuring the Response
listCertificatesResponse Source #
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:
lcrsCertificateSummaryList
- A list of ACM Certificates.lcrsNextToken
- When the list is truncated, this value is present and contains the value to use for theNextToken
parameter in a subsequent pagination request.lcrsResponseStatus
- -- | The response status code.
data ListCertificatesResponse Source #
See: listCertificatesResponse
smart constructor.
Response Lenses
lcrsCertificateSummaryList :: Lens' ListCertificatesResponse [CertificateSummary] Source #
A list of ACM Certificates.
lcrsNextToken :: Lens' ListCertificatesResponse (Maybe Text) Source #
When the list is truncated, this value is present and contains the value to use for the NextToken
parameter in a subsequent pagination request.
lcrsResponseStatus :: Lens' ListCertificatesResponse Int Source #
- - | The response status code.