Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Retrieves a list of certificate ARNs and domain names. You can request that only certificates that match a specific status be listed. You can also filter by specific attributes of the certificate.
This operation returns paginated results.
- listCertificates :: ListCertificates
- data ListCertificates
- lcCertificateStatuses :: Lens' ListCertificates [CertificateStatus]
- lcNextToken :: Lens' ListCertificates (Maybe Text)
- lcIncludes :: Lens' ListCertificates (Maybe Filters)
- 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
- Filter the certificate list by status value.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.lcIncludes
- Filter the certificate list. For more information, see theFilters
structure.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 #
Filter the certificate list by status value.
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.
lcIncludes :: Lens' ListCertificates (Maybe Filters) Source #
Filter the certificate list. For more information, see the Filters
structure.
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.