Copyright | (c) 2013-2018 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
- The token for the next set of results, or 'null'
if there are no additional results.lMaxResults
- The maximum number of results to be returned per request.lGroupId
- The ID of the AWS Greengrass group.
data ListDeployments Source #
See: listDeployments
smart constructor.
Request Lenses
lNextToken :: Lens' ListDeployments (Maybe Text) Source #
The token for the next set of results, or 'null'
if there are no additional results.
lMaxResults :: Lens' ListDeployments (Maybe Text) Source #
The maximum number of results to be returned per request.
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
- A list of deployments for the requested groups.ldrsResponseStatus
- -- | 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 #
A list of deployments for the requested groups.
ldrsResponseStatus :: Lens' ListDeploymentsResponse Int Source #
- - | The response status code.