| 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.ApiGatewayV2.GetRouteResponses
Description
Gets the RouteResponses for a Route.
This operation returns paginated results.
Synopsis
- data GetRouteResponses = GetRouteResponses' {}
- newGetRouteResponses :: Text -> Text -> GetRouteResponses
- getRouteResponses_maxResults :: Lens' GetRouteResponses (Maybe Text)
- getRouteResponses_nextToken :: 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.
Constructors
| GetRouteResponses' | |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> GetRouteResponses |
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:maxResults:GetRouteResponses', getRouteResponses_maxResults - The maximum number of elements to be returned for this resource.
GetRouteResponses, getRouteResponses_nextToken - The next page of elements from this collection. Not valid for the last
element of the collection.
GetRouteResponses, getRouteResponses_routeId - The route ID.
GetRouteResponses, getRouteResponses_apiId - The API identifier.
Request Lenses
getRouteResponses_maxResults :: Lens' GetRouteResponses (Maybe Text) Source #
The maximum number of elements to be returned for this resource.
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_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.
Constructors
| GetRouteResponsesResponse' | |
Fields
| |
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.
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.