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 route calculator resources in your AWS account.
This operation returns paginated results.
Synopsis
- data ListRouteCalculators = ListRouteCalculators' {}
- newListRouteCalculators :: ListRouteCalculators
- listRouteCalculators_nextToken :: Lens' ListRouteCalculators (Maybe Text)
- listRouteCalculators_maxResults :: Lens' ListRouteCalculators (Maybe Natural)
- data ListRouteCalculatorsResponse = ListRouteCalculatorsResponse' {}
- newListRouteCalculatorsResponse :: Int -> ListRouteCalculatorsResponse
- listRouteCalculatorsResponse_nextToken :: Lens' ListRouteCalculatorsResponse (Maybe Text)
- listRouteCalculatorsResponse_httpStatus :: Lens' ListRouteCalculatorsResponse Int
- listRouteCalculatorsResponse_entries :: Lens' ListRouteCalculatorsResponse [ListRouteCalculatorsResponseEntry]
Creating a Request
data ListRouteCalculators Source #
See: newListRouteCalculators
smart constructor.
Instances
newListRouteCalculators :: ListRouteCalculators Source #
Create a value of ListRouteCalculators
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:ListRouteCalculators'
, listRouteCalculators_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:ListRouteCalculators'
, listRouteCalculators_maxResults
- An optional maximum number of results returned in a single call.
Default Value: 100
Request Lenses
listRouteCalculators_nextToken :: Lens' ListRouteCalculators (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
listRouteCalculators_maxResults :: Lens' ListRouteCalculators (Maybe Natural) Source #
An optional maximum number of results returned in a single call.
Default Value: 100
Destructuring the Response
data ListRouteCalculatorsResponse Source #
See: newListRouteCalculatorsResponse
smart constructor.
ListRouteCalculatorsResponse' | |
|
Instances
newListRouteCalculatorsResponse Source #
Create a value of ListRouteCalculatorsResponse
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:ListRouteCalculators'
, listRouteCalculatorsResponse_nextToken
- A pagination token indicating there are additional pages available. You
can use the token in a subsequent request to fetch the next set of
results.
$sel:httpStatus:ListRouteCalculatorsResponse'
, listRouteCalculatorsResponse_httpStatus
- The response's http status code.
$sel:entries:ListRouteCalculatorsResponse'
, listRouteCalculatorsResponse_entries
- Lists the route calculator resources that exist in your AWS account
Response Lenses
listRouteCalculatorsResponse_nextToken :: Lens' ListRouteCalculatorsResponse (Maybe Text) Source #
A pagination token indicating there are additional pages available. You can use the token in a subsequent request to fetch the next set of results.
listRouteCalculatorsResponse_httpStatus :: Lens' ListRouteCalculatorsResponse Int Source #
The response's http status code.
listRouteCalculatorsResponse_entries :: Lens' ListRouteCalculatorsResponse [ListRouteCalculatorsResponseEntry] Source #
Lists the route calculator resources that exist in your AWS account