| 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 |
Amazonka.ApiGatewayV2.GetIntegrationResponses
Description
Gets the IntegrationResponses for an Integration.
This operation returns paginated results.
Synopsis
- data GetIntegrationResponses = GetIntegrationResponses' {
- nextToken :: Maybe Text
- maxResults :: Maybe Text
- integrationId :: Text
- apiId :: Text
- newGetIntegrationResponses :: Text -> Text -> GetIntegrationResponses
- getIntegrationResponses_nextToken :: Lens' GetIntegrationResponses (Maybe Text)
- getIntegrationResponses_maxResults :: 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 #
Arguments
| :: Text | |
| -> Text | |
| -> GetIntegrationResponses |
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:nextToken:GetIntegrationResponses', getIntegrationResponses_nextToken - The next page of elements from this collection. Not valid for the last
element of the collection.
$sel:maxResults:GetIntegrationResponses', getIntegrationResponses_maxResults - The maximum number of elements to be returned for this resource.
$sel:integrationId:GetIntegrationResponses', getIntegrationResponses_integrationId - The integration ID.
$sel:apiId:GetIntegrationResponses', getIntegrationResponses_apiId - The API identifier.
Request Lenses
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_maxResults :: Lens' GetIntegrationResponses (Maybe Text) Source #
The maximum number of elements to be returned for this resource.
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.
$sel:nextToken: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.