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 |
Returns a history of deployments for the group.
This operation returns paginated results.
Synopsis
- data ListDeployments = ListDeployments' {}
- newListDeployments :: Text -> ListDeployments
- listDeployments_nextToken :: Lens' ListDeployments (Maybe Text)
- listDeployments_maxResults :: Lens' ListDeployments (Maybe Text)
- listDeployments_groupId :: Lens' ListDeployments Text
- data ListDeploymentsResponse = ListDeploymentsResponse' {
- nextToken :: Maybe Text
- deployments :: Maybe [Deployment]
- httpStatus :: Int
- newListDeploymentsResponse :: Int -> ListDeploymentsResponse
- listDeploymentsResponse_nextToken :: Lens' ListDeploymentsResponse (Maybe Text)
- listDeploymentsResponse_deployments :: Lens' ListDeploymentsResponse (Maybe [Deployment])
- listDeploymentsResponse_httpStatus :: Lens' ListDeploymentsResponse Int
Creating a Request
data ListDeployments Source #
See: newListDeployments
smart constructor.
Instances
Create a value of ListDeployments
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:ListDeployments'
, listDeployments_nextToken
- The token for the next set of results, or ''null'' if there are no
additional results.
$sel:maxResults:ListDeployments'
, listDeployments_maxResults
- The maximum number of results to be returned per request.
$sel:groupId:ListDeployments'
, listDeployments_groupId
- The ID of the Greengrass group.
Request Lenses
listDeployments_nextToken :: Lens' ListDeployments (Maybe Text) Source #
The token for the next set of results, or ''null'' if there are no additional results.
listDeployments_maxResults :: Lens' ListDeployments (Maybe Text) Source #
The maximum number of results to be returned per request.
listDeployments_groupId :: Lens' ListDeployments Text Source #
The ID of the Greengrass group.
Destructuring the Response
data ListDeploymentsResponse Source #
See: newListDeploymentsResponse
smart constructor.
ListDeploymentsResponse' | |
|
Instances
newListDeploymentsResponse Source #
Create a value of ListDeploymentsResponse
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:ListDeployments'
, listDeploymentsResponse_nextToken
- The token for the next set of results, or ''null'' if there are no
additional results.
$sel:deployments:ListDeploymentsResponse'
, listDeploymentsResponse_deployments
- A list of deployments for the requested groups.
$sel:httpStatus:ListDeploymentsResponse'
, listDeploymentsResponse_httpStatus
- The response's http status code.
Response Lenses
listDeploymentsResponse_nextToken :: Lens' ListDeploymentsResponse (Maybe Text) Source #
The token for the next set of results, or ''null'' if there are no additional results.
listDeploymentsResponse_deployments :: Lens' ListDeploymentsResponse (Maybe [Deployment]) Source #
A list of deployments for the requested groups.
listDeploymentsResponse_httpStatus :: Lens' ListDeploymentsResponse Int Source #
The response's http status code.