| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Greengrass.ResetDeployments
Description
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' {
- deploymentArn :: Maybe Text
- deploymentId :: Maybe Text
- httpStatus :: Int
- newResetDeploymentsResponse :: Int -> ResetDeploymentsResponse
- resetDeploymentsResponse_deploymentArn :: Lens' ResetDeploymentsResponse (Maybe Text)
- resetDeploymentsResponse_deploymentId :: Lens' ResetDeploymentsResponse (Maybe Text)
- resetDeploymentsResponse_httpStatus :: Lens' ResetDeploymentsResponse Int
Creating a Request
data ResetDeployments Source #
Information needed to reset deployments.
See: newResetDeployments smart constructor.
Constructors
| ResetDeployments' | |
Instances
Arguments
| :: Text | |
| -> ResetDeployments |
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.
Constructors
| ResetDeploymentsResponse' | |
Fields
| |
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:
ResetDeploymentsResponse, resetDeploymentsResponse_deploymentArn - The ARN of the deployment.
ResetDeploymentsResponse, resetDeploymentsResponse_deploymentId - The ID of the deployment.
$sel:httpStatus:ResetDeploymentsResponse', resetDeploymentsResponse_httpStatus - The response's http status code.
Response Lenses
resetDeploymentsResponse_deploymentArn :: Lens' ResetDeploymentsResponse (Maybe Text) Source #
The ARN of the deployment.
resetDeploymentsResponse_deploymentId :: Lens' ResetDeploymentsResponse (Maybe Text) Source #
The ID of the deployment.
resetDeploymentsResponse_httpStatus :: Lens' ResetDeploymentsResponse Int Source #
The response's http status code.