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