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 |
Resets a group's deployments.
Synopsis
- data ResetDeployments = ResetDeployments' {}
- newResetDeployments :: Text -> ResetDeployments
- resetDeployments_amznClientToken :: Lens' ResetDeployments (Maybe Text)
- resetDeployments_force :: Lens' ResetDeployments (Maybe Bool)
- resetDeployments_groupId :: Lens' ResetDeployments Text
- data ResetDeploymentsResponse = ResetDeploymentsResponse' {
- deploymentId :: Maybe Text
- deploymentArn :: Maybe Text
- httpStatus :: Int
- newResetDeploymentsResponse :: Int -> ResetDeploymentsResponse
- resetDeploymentsResponse_deploymentId :: Lens' ResetDeploymentsResponse (Maybe Text)
- resetDeploymentsResponse_deploymentArn :: Lens' ResetDeploymentsResponse (Maybe Text)
- resetDeploymentsResponse_httpStatus :: Lens' ResetDeploymentsResponse Int
Creating a Request
data ResetDeployments Source #
Information needed to reset deployments.
See: newResetDeployments
smart constructor.
Instances
Create a value of ResetDeployments
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:amznClientToken:ResetDeployments'
, resetDeployments_amznClientToken
- A client token used to correlate requests and responses.
$sel:force:ResetDeployments'
, resetDeployments_force
- If true, performs a best-effort only core reset.
$sel:groupId:ResetDeployments'
, resetDeployments_groupId
- The ID of the Greengrass group.
Request Lenses
resetDeployments_amznClientToken :: Lens' ResetDeployments (Maybe Text) Source #
A client token used to correlate requests and responses.
resetDeployments_force :: Lens' ResetDeployments (Maybe Bool) Source #
If true, performs a best-effort only core reset.
resetDeployments_groupId :: Lens' ResetDeployments Text Source #
The ID of the Greengrass group.
Destructuring the Response
data ResetDeploymentsResponse Source #
See: newResetDeploymentsResponse
smart constructor.
ResetDeploymentsResponse' | |
|
Instances
newResetDeploymentsResponse Source #
Create a value of ResetDeploymentsResponse
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:deploymentId:ResetDeploymentsResponse'
, resetDeploymentsResponse_deploymentId
- The ID of the deployment.
$sel:deploymentArn:ResetDeploymentsResponse'
, resetDeploymentsResponse_deploymentArn
- The ARN of the deployment.
$sel:httpStatus:ResetDeploymentsResponse'
, resetDeploymentsResponse_httpStatus
- The response's http status code.
Response Lenses
resetDeploymentsResponse_deploymentId :: Lens' ResetDeploymentsResponse (Maybe Text) Source #
The ID of the deployment.
resetDeploymentsResponse_deploymentArn :: Lens' ResetDeploymentsResponse (Maybe Text) Source #
The ARN of the deployment.
resetDeploymentsResponse_httpStatus :: Lens' ResetDeploymentsResponse Int Source #
The response's http status code.