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 |
Gets the RouteResponses for a Route.
This operation returns paginated results.
Synopsis
- data GetRouteResponses = GetRouteResponses' {}
- newGetRouteResponses :: Text -> Text -> GetRouteResponses
- getRouteResponses_nextToken :: Lens' GetRouteResponses (Maybe Text)
- getRouteResponses_maxResults :: Lens' GetRouteResponses (Maybe Text)
- getRouteResponses_routeId :: Lens' GetRouteResponses Text
- getRouteResponses_apiId :: Lens' GetRouteResponses Text
- data GetRouteResponsesResponse = GetRouteResponsesResponse' {
- items :: Maybe [RouteResponse]
- nextToken :: Maybe Text
- httpStatus :: Int
- newGetRouteResponsesResponse :: Int -> GetRouteResponsesResponse
- getRouteResponsesResponse_items :: Lens' GetRouteResponsesResponse (Maybe [RouteResponse])
- getRouteResponsesResponse_nextToken :: Lens' GetRouteResponsesResponse (Maybe Text)
- getRouteResponsesResponse_httpStatus :: Lens' GetRouteResponsesResponse Int
Creating a Request
data GetRouteResponses Source #
See: newGetRouteResponses
smart constructor.
Instances
Create a value of GetRouteResponses
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:GetRouteResponses'
, getRouteResponses_nextToken
- The next page of elements from this collection. Not valid for the last
element of the collection.
$sel:maxResults:GetRouteResponses'
, getRouteResponses_maxResults
- The maximum number of elements to be returned for this resource.
$sel:routeId:GetRouteResponses'
, getRouteResponses_routeId
- The route ID.
$sel:apiId:GetRouteResponses'
, getRouteResponses_apiId
- The API identifier.
Request Lenses
getRouteResponses_nextToken :: Lens' GetRouteResponses (Maybe Text) Source #
The next page of elements from this collection. Not valid for the last element of the collection.
getRouteResponses_maxResults :: Lens' GetRouteResponses (Maybe Text) Source #
The maximum number of elements to be returned for this resource.
getRouteResponses_routeId :: Lens' GetRouteResponses Text Source #
The route ID.
getRouteResponses_apiId :: Lens' GetRouteResponses Text Source #
The API identifier.
Destructuring the Response
data GetRouteResponsesResponse Source #
See: newGetRouteResponsesResponse
smart constructor.
GetRouteResponsesResponse' | |
|
Instances
newGetRouteResponsesResponse Source #
Create a value of GetRouteResponsesResponse
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:items:GetRouteResponsesResponse'
, getRouteResponsesResponse_items
- The elements from this collection.
$sel:nextToken:GetRouteResponses'
, getRouteResponsesResponse_nextToken
- The next page of elements from this collection. Not valid for the last
element of the collection.
$sel:httpStatus:GetRouteResponsesResponse'
, getRouteResponsesResponse_httpStatus
- The response's http status code.
Response Lenses
getRouteResponsesResponse_items :: Lens' GetRouteResponsesResponse (Maybe [RouteResponse]) Source #
The elements from this collection.
getRouteResponsesResponse_nextToken :: Lens' GetRouteResponsesResponse (Maybe Text) Source #
The next page of elements from this collection. Not valid for the last element of the collection.
getRouteResponsesResponse_httpStatus :: Lens' GetRouteResponsesResponse Int Source #
The response's http status code.