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 |
Lists map resources in your AWS account.
This operation returns paginated results.
Synopsis
- data ListMaps = ListMaps' {}
- newListMaps :: ListMaps
- listMaps_nextToken :: Lens' ListMaps (Maybe Text)
- listMaps_maxResults :: Lens' ListMaps (Maybe Natural)
- data ListMapsResponse = ListMapsResponse' {
- nextToken :: Maybe Text
- httpStatus :: Int
- entries :: [ListMapsResponseEntry]
- newListMapsResponse :: Int -> ListMapsResponse
- listMapsResponse_nextToken :: Lens' ListMapsResponse (Maybe Text)
- listMapsResponse_httpStatus :: Lens' ListMapsResponse Int
- listMapsResponse_entries :: Lens' ListMapsResponse [ListMapsResponseEntry]
Creating a Request
See: newListMaps
smart constructor.
ListMaps' | |
|
Instances
newListMaps :: ListMaps Source #
Create a value of ListMaps
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:nextToken:ListMaps'
, listMaps_nextToken
- The pagination token specifying which page of results to return in the
response. If no token is provided, the default page is the first page.
Default value: null
$sel:maxResults:ListMaps'
, listMaps_maxResults
- An optional limit for the number of resources returned in a single call.
Default value: 100
Request Lenses
listMaps_nextToken :: Lens' ListMaps (Maybe Text) Source #
The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page.
Default value: null
listMaps_maxResults :: Lens' ListMaps (Maybe Natural) Source #
An optional limit for the number of resources returned in a single call.
Default value: 100
Destructuring the Response
data ListMapsResponse Source #
See: newListMapsResponse
smart constructor.
ListMapsResponse' | |
|
Instances
Create a value of ListMapsResponse
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:nextToken:ListMaps'
, listMapsResponse_nextToken
- A pagination token indicating there are additional pages available. You
can use the token in a following request to fetch the next set of
results.
$sel:httpStatus:ListMapsResponse'
, listMapsResponse_httpStatus
- The response's http status code.
$sel:entries:ListMapsResponse'
, listMapsResponse_entries
- Contains a list of maps in your AWS account
Response Lenses
listMapsResponse_nextToken :: Lens' ListMapsResponse (Maybe Text) Source #
A pagination token indicating there are additional pages available. You can use the token in a following request to fetch the next set of results.
listMapsResponse_httpStatus :: Lens' ListMapsResponse Int Source #
The response's http status code.
listMapsResponse_entries :: Lens' ListMapsResponse [ListMapsResponseEntry] Source #
Contains a list of maps in your AWS account