| 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.GetIntegrations
Description
Gets the Integrations for an API.
This operation returns paginated results.
Synopsis
- data GetIntegrations = GetIntegrations' {}
- newGetIntegrations :: Text -> GetIntegrations
- getIntegrations_maxResults :: Lens' GetIntegrations (Maybe Text)
- getIntegrations_nextToken :: Lens' GetIntegrations (Maybe Text)
- getIntegrations_apiId :: Lens' GetIntegrations Text
- data GetIntegrationsResponse = GetIntegrationsResponse' {
- items :: Maybe [Integration]
- nextToken :: Maybe Text
- httpStatus :: Int
- newGetIntegrationsResponse :: Int -> GetIntegrationsResponse
- getIntegrationsResponse_items :: Lens' GetIntegrationsResponse (Maybe [Integration])
- getIntegrationsResponse_nextToken :: Lens' GetIntegrationsResponse (Maybe Text)
- getIntegrationsResponse_httpStatus :: Lens' GetIntegrationsResponse Int
Creating a Request
data GetIntegrations Source #
See: newGetIntegrations smart constructor.
Constructors
| GetIntegrations' | |
Instances
Arguments
| :: Text | |
| -> GetIntegrations |
Create a value of GetIntegrations 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:GetIntegrations', getIntegrations_maxResults - The maximum number of elements to be returned for this resource.
GetIntegrations, getIntegrations_nextToken - The next page of elements from this collection. Not valid for the last
element of the collection.
GetIntegrations, getIntegrations_apiId - The API identifier.
Request Lenses
getIntegrations_maxResults :: Lens' GetIntegrations (Maybe Text) Source #
The maximum number of elements to be returned for this resource.
getIntegrations_nextToken :: Lens' GetIntegrations (Maybe Text) Source #
The next page of elements from this collection. Not valid for the last element of the collection.
getIntegrations_apiId :: Lens' GetIntegrations Text Source #
The API identifier.
Destructuring the Response
data GetIntegrationsResponse Source #
See: newGetIntegrationsResponse smart constructor.
Constructors
| GetIntegrationsResponse' | |
Fields
| |
Instances
newGetIntegrationsResponse Source #
Create a value of GetIntegrationsResponse 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:GetIntegrationsResponse', getIntegrationsResponse_items - The elements from this collection.
GetIntegrations, getIntegrationsResponse_nextToken - The next page of elements from this collection. Not valid for the last
element of the collection.
$sel:httpStatus:GetIntegrationsResponse', getIntegrationsResponse_httpStatus - The response's http status code.
Response Lenses
getIntegrationsResponse_items :: Lens' GetIntegrationsResponse (Maybe [Integration]) Source #
The elements from this collection.
getIntegrationsResponse_nextToken :: Lens' GetIntegrationsResponse (Maybe Text) Source #
The next page of elements from this collection. Not valid for the last element of the collection.
getIntegrationsResponse_httpStatus :: Lens' GetIntegrationsResponse Int Source #
The response's http status code.