Copyright | (c) 2013-2017 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 |
Language | Haskell2010 |
Returns a history of deployments for the group.
- listDeployments :: Text -> ListDeployments
- data ListDeployments
- lNextToken :: Lens' ListDeployments (Maybe Text)
- lMaxResults :: Lens' ListDeployments (Maybe Text)
- lGroupId :: Lens' ListDeployments Text
- listDeploymentsResponse :: Int -> ListDeploymentsResponse
- data ListDeploymentsResponse
- ldrsNextToken :: Lens' ListDeploymentsResponse (Maybe Text)
- ldrsDeployments :: Lens' ListDeploymentsResponse [Deployment]
- ldrsResponseStatus :: Lens' ListDeploymentsResponse Int
Creating a Request
Creates a value of ListDeployments
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lNextToken
- Specifies the pagination token used when iterating through a paginated requestlMaxResults
- Specifies the maximum number of list results to be returned in this pagelGroupId
- The unique Id of the AWS Greengrass Group
data ListDeployments Source #
See: listDeployments
smart constructor.
Request Lenses
lNextToken :: Lens' ListDeployments (Maybe Text) Source #
Specifies the pagination token used when iterating through a paginated request
lMaxResults :: Lens' ListDeployments (Maybe Text) Source #
Specifies the maximum number of list results to be returned in this page
Destructuring the Response
listDeploymentsResponse Source #
Creates a value of ListDeploymentsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ldrsNextToken
- The token for the next set of results, or 'null'
if there are no additional results.ldrsDeployments
- List of deployments for the requested groupsldrsResponseStatus
- -- | The response status code.
data ListDeploymentsResponse Source #
See: listDeploymentsResponse
smart constructor.
Response Lenses
ldrsNextToken :: Lens' ListDeploymentsResponse (Maybe Text) Source #
The token for the next set of results, or 'null'
if there are no additional results.
ldrsDeployments :: Lens' ListDeploymentsResponse [Deployment] Source #
List of deployments for the requested groups
ldrsResponseStatus :: Lens' ListDeploymentsResponse Int Source #
- - | The response status code.