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 Integrations for an API.
This operation returns paginated results.
Synopsis
- data GetIntegrations = GetIntegrations' {}
- newGetIntegrations :: Text -> GetIntegrations
- getIntegrations_nextToken :: Lens' GetIntegrations (Maybe Text)
- getIntegrations_maxResults :: 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.
Instances
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:nextToken:GetIntegrations'
, getIntegrations_nextToken
- The next page of elements from this collection. Not valid for the last
element of the collection.
$sel:maxResults:GetIntegrations'
, getIntegrations_maxResults
- The maximum number of elements to be returned for this resource.
$sel:apiId:GetIntegrations'
, getIntegrations_apiId
- The API identifier.
Request Lenses
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_maxResults :: Lens' GetIntegrations (Maybe Text) Source #
The maximum number of elements to be returned for this resource.
getIntegrations_apiId :: Lens' GetIntegrations Text Source #
The API identifier.
Destructuring the Response
data GetIntegrationsResponse Source #
See: newGetIntegrationsResponse
smart constructor.
GetIntegrationsResponse' | |
|
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.
$sel:nextToken: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.