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 |
Resets a group's deployments.
- resetDeployments :: Text -> ResetDeployments
- data ResetDeployments
- rdAmznClientToken :: Lens' ResetDeployments (Maybe Text)
- rdForce :: Lens' ResetDeployments (Maybe Bool)
- rdGroupId :: Lens' ResetDeployments Text
- resetDeploymentsResponse :: Int -> ResetDeploymentsResponse
- data ResetDeploymentsResponse
- rdrsDeploymentId :: Lens' ResetDeploymentsResponse (Maybe Text)
- rdrsDeploymentARN :: Lens' ResetDeploymentsResponse (Maybe Text)
- rdrsResponseStatus :: Lens' ResetDeploymentsResponse Int
Creating a Request
Creates a value of ResetDeployments
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rdAmznClientToken
- A client token used to correlate requests and responses.rdForce
- If true, performs a best-effort only core reset.rdGroupId
- The ID of the AWS Greengrass group.
data ResetDeployments Source #
Information needed to reset deployments.
See: resetDeployments
smart constructor.
Request Lenses
rdAmznClientToken :: Lens' ResetDeployments (Maybe Text) Source #
A client token used to correlate requests and responses.
rdForce :: Lens' ResetDeployments (Maybe Bool) Source #
If true, performs a best-effort only core reset.
Destructuring the Response
resetDeploymentsResponse Source #
Creates a value of ResetDeploymentsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rdrsDeploymentId
- The ID of the deployment.rdrsDeploymentARN
- The ARN of the deployment.rdrsResponseStatus
- -- | The response status code.
data ResetDeploymentsResponse Source #
See: resetDeploymentsResponse
smart constructor.
Response Lenses
rdrsDeploymentId :: Lens' ResetDeploymentsResponse (Maybe Text) Source #
The ID of the deployment.
rdrsDeploymentARN :: Lens' ResetDeploymentsResponse (Maybe Text) Source #
The ARN of the deployment.
rdrsResponseStatus :: Lens' ResetDeploymentsResponse Int Source #
- - | The response status code.