| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.RolesAnywhere.ListCrls
Description
Lists all Crls in the authenticated account and Amazon Web Services Region.
Required permissions: rolesanywhere:ListCrls.
This operation returns paginated results.
Synopsis
- data ListCrls = ListCrls' {}
- newListCrls :: ListCrls
- listCrls_nextToken :: Lens' ListCrls (Maybe Text)
- listCrls_pageSize :: Lens' ListCrls (Maybe Int)
- data ListCrlsResponse = ListCrlsResponse' {}
- newListCrlsResponse :: Int -> ListCrlsResponse
- listCrlsResponse_crls :: Lens' ListCrlsResponse (Maybe [CrlDetail])
- listCrlsResponse_nextToken :: Lens' ListCrlsResponse (Maybe Text)
- listCrlsResponse_httpStatus :: Lens' ListCrlsResponse Int
Creating a Request
See: newListCrls smart constructor.
Constructors
| ListCrls' | |
Instances
newListCrls :: ListCrls Source #
Create a value of ListCrls 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:
ListCrls, listCrls_nextToken - A token that indicates where the output should continue from, if a
previous operation did not show all results. To get the next results,
call the operation again with this value.
ListCrls, listCrls_pageSize - The number of resources in the paginated list.
Request Lenses
listCrls_nextToken :: Lens' ListCrls (Maybe Text) Source #
A token that indicates where the output should continue from, if a previous operation did not show all results. To get the next results, call the operation again with this value.
listCrls_pageSize :: Lens' ListCrls (Maybe Int) Source #
The number of resources in the paginated list.
Destructuring the Response
data ListCrlsResponse Source #
See: newListCrlsResponse smart constructor.
Constructors
| ListCrlsResponse' | |
Fields
| |
Instances
Arguments
| :: Int | |
| -> ListCrlsResponse |
Create a value of ListCrlsResponse 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:crls:ListCrlsResponse', listCrlsResponse_crls - A list of certificate revocation lists (CRL).
ListCrls, listCrlsResponse_nextToken - A token that indicates where the output should continue from, if a
previous operation did not show all results. To get the next results,
call the operation again with this value.
$sel:httpStatus:ListCrlsResponse', listCrlsResponse_httpStatus - The response's http status code.
Response Lenses
listCrlsResponse_crls :: Lens' ListCrlsResponse (Maybe [CrlDetail]) Source #
A list of certificate revocation lists (CRL).
listCrlsResponse_nextToken :: Lens' ListCrlsResponse (Maybe Text) Source #
A token that indicates where the output should continue from, if a previous operation did not show all results. To get the next results, call the operation again with this value.
listCrlsResponse_httpStatus :: Lens' ListCrlsResponse Int Source #
The response's http status code.