| 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.GetIntegrationResponses
Description
Gets the IntegrationResponses for an Integration.
This operation returns paginated results.
Synopsis
- data GetIntegrationResponses = GetIntegrationResponses' {
- maxResults :: Maybe Text
- nextToken :: Maybe Text
- integrationId :: Text
- apiId :: Text
- newGetIntegrationResponses :: Text -> Text -> GetIntegrationResponses
- getIntegrationResponses_maxResults :: Lens' GetIntegrationResponses (Maybe Text)
- getIntegrationResponses_nextToken :: Lens' GetIntegrationResponses (Maybe Text)
- getIntegrationResponses_integrationId :: Lens' GetIntegrationResponses Text
- getIntegrationResponses_apiId :: Lens' GetIntegrationResponses Text
- data GetIntegrationResponsesResponse = GetIntegrationResponsesResponse' {
- items :: Maybe [IntegrationResponse]
- nextToken :: Maybe Text
- httpStatus :: Int
- newGetIntegrationResponsesResponse :: Int -> GetIntegrationResponsesResponse
- getIntegrationResponsesResponse_items :: Lens' GetIntegrationResponsesResponse (Maybe [IntegrationResponse])
- getIntegrationResponsesResponse_nextToken :: Lens' GetIntegrationResponsesResponse (Maybe Text)
- getIntegrationResponsesResponse_httpStatus :: Lens' GetIntegrationResponsesResponse Int
Creating a Request
data GetIntegrationResponses Source #
See: newGetIntegrationResponses smart constructor.
Constructors
| GetIntegrationResponses' | |
Fields
| |
Instances
newGetIntegrationResponses Source #
Create a value of GetIntegrationResponses 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:GetIntegrationResponses', getIntegrationResponses_maxResults - The maximum number of elements to be returned for this resource.
GetIntegrationResponses, getIntegrationResponses_nextToken - The next page of elements from this collection. Not valid for the last
element of the collection.
GetIntegrationResponses, getIntegrationResponses_integrationId - The integration ID.
GetIntegrationResponses, getIntegrationResponses_apiId - The API identifier.
Request Lenses
getIntegrationResponses_maxResults :: Lens' GetIntegrationResponses (Maybe Text) Source #
The maximum number of elements to be returned for this resource.
getIntegrationResponses_nextToken :: Lens' GetIntegrationResponses (Maybe Text) Source #
The next page of elements from this collection. Not valid for the last element of the collection.
getIntegrationResponses_integrationId :: Lens' GetIntegrationResponses Text Source #
The integration ID.
getIntegrationResponses_apiId :: Lens' GetIntegrationResponses Text Source #
The API identifier.
Destructuring the Response
data GetIntegrationResponsesResponse Source #
See: newGetIntegrationResponsesResponse smart constructor.
Constructors
| GetIntegrationResponsesResponse' | |
Fields
| |
Instances
newGetIntegrationResponsesResponse Source #
Create a value of GetIntegrationResponsesResponse 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:GetIntegrationResponsesResponse', getIntegrationResponsesResponse_items - The elements from this collection.
GetIntegrationResponses, getIntegrationResponsesResponse_nextToken - The next page of elements from this collection. Not valid for the last
element of the collection.
$sel:httpStatus:GetIntegrationResponsesResponse', getIntegrationResponsesResponse_httpStatus - The response's http status code.
Response Lenses
getIntegrationResponsesResponse_items :: Lens' GetIntegrationResponsesResponse (Maybe [IntegrationResponse]) Source #
The elements from this collection.
getIntegrationResponsesResponse_nextToken :: Lens' GetIntegrationResponsesResponse (Maybe Text) Source #
The next page of elements from this collection. Not valid for the last element of the collection.
getIntegrationResponsesResponse_httpStatus :: Lens' GetIntegrationResponsesResponse Int Source #
The response's http status code.