| 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.Location.ListMaps
Description
Lists map resources in your AWS account.
This operation returns paginated results.
Synopsis
- data ListMaps = ListMaps' {}
- newListMaps :: ListMaps
- listMaps_maxResults :: Lens' ListMaps (Maybe Natural)
- listMaps_nextToken :: Lens' ListMaps (Maybe Text)
- 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.
Constructors
| ListMaps' | |
Fields
| |
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:
ListMaps, listMaps_maxResults - An optional limit for the number of resources returned in a single call.
Default value: 100
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
Request Lenses
listMaps_maxResults :: Lens' ListMaps (Maybe Natural) Source #
An optional limit for the number of resources returned in a single call.
Default value: 100
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
Destructuring the Response
data ListMapsResponse Source #
See: newListMapsResponse smart constructor.
Constructors
| ListMapsResponse' | |
Fields
| |
Instances
Arguments
| :: Int | |
| -> ListMapsResponse |
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:
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