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 |
Retrieves a paginated list of deployment jobs that IoT Greengrass sends to Greengrass core devices.
This operation returns paginated results.
Synopsis
- data ListEffectiveDeployments = ListEffectiveDeployments' {}
- newListEffectiveDeployments :: Text -> ListEffectiveDeployments
- listEffectiveDeployments_nextToken :: Lens' ListEffectiveDeployments (Maybe Text)
- listEffectiveDeployments_maxResults :: Lens' ListEffectiveDeployments (Maybe Natural)
- listEffectiveDeployments_coreDeviceThingName :: Lens' ListEffectiveDeployments Text
- data ListEffectiveDeploymentsResponse = ListEffectiveDeploymentsResponse' {}
- newListEffectiveDeploymentsResponse :: Int -> ListEffectiveDeploymentsResponse
- listEffectiveDeploymentsResponse_nextToken :: Lens' ListEffectiveDeploymentsResponse (Maybe Text)
- listEffectiveDeploymentsResponse_effectiveDeployments :: Lens' ListEffectiveDeploymentsResponse (Maybe [EffectiveDeployment])
- listEffectiveDeploymentsResponse_httpStatus :: Lens' ListEffectiveDeploymentsResponse Int
Creating a Request
data ListEffectiveDeployments Source #
See: newListEffectiveDeployments
smart constructor.
ListEffectiveDeployments' | |
|
Instances
newListEffectiveDeployments Source #
Create a value of ListEffectiveDeployments
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:ListEffectiveDeployments'
, listEffectiveDeployments_nextToken
- The token to be used for the next set of paginated results.
$sel:maxResults:ListEffectiveDeployments'
, listEffectiveDeployments_maxResults
- The maximum number of results to be returned per paginated request.
$sel:coreDeviceThingName:ListEffectiveDeployments'
, listEffectiveDeployments_coreDeviceThingName
- The name of the core device. This is also the name of the IoT thing.
Request Lenses
listEffectiveDeployments_nextToken :: Lens' ListEffectiveDeployments (Maybe Text) Source #
The token to be used for the next set of paginated results.
listEffectiveDeployments_maxResults :: Lens' ListEffectiveDeployments (Maybe Natural) Source #
The maximum number of results to be returned per paginated request.
listEffectiveDeployments_coreDeviceThingName :: Lens' ListEffectiveDeployments Text Source #
The name of the core device. This is also the name of the IoT thing.
Destructuring the Response
data ListEffectiveDeploymentsResponse Source #
See: newListEffectiveDeploymentsResponse
smart constructor.
ListEffectiveDeploymentsResponse' | |
|
Instances
newListEffectiveDeploymentsResponse Source #
Create a value of ListEffectiveDeploymentsResponse
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:ListEffectiveDeployments'
, listEffectiveDeploymentsResponse_nextToken
- The token for the next set of results, or null if there are no
additional results.
$sel:effectiveDeployments:ListEffectiveDeploymentsResponse'
, listEffectiveDeploymentsResponse_effectiveDeployments
- A list that summarizes each deployment on the core device.
$sel:httpStatus:ListEffectiveDeploymentsResponse'
, listEffectiveDeploymentsResponse_httpStatus
- The response's http status code.
Response Lenses
listEffectiveDeploymentsResponse_nextToken :: Lens' ListEffectiveDeploymentsResponse (Maybe Text) Source #
The token for the next set of results, or null if there are no additional results.
listEffectiveDeploymentsResponse_effectiveDeployments :: Lens' ListEffectiveDeploymentsResponse (Maybe [EffectiveDeployment]) Source #
A list that summarizes each deployment on the core device.
listEffectiveDeploymentsResponse_httpStatus :: Lens' ListEffectiveDeploymentsResponse Int Source #
The response's http status code.