| 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.GetDeploymentStatus
Description
Returns the status of a deployment.
Synopsis
- data GetDeploymentStatus = GetDeploymentStatus' {
- groupId :: Text
- deploymentId :: Text
- newGetDeploymentStatus :: Text -> Text -> GetDeploymentStatus
- getDeploymentStatus_groupId :: Lens' GetDeploymentStatus Text
- getDeploymentStatus_deploymentId :: Lens' GetDeploymentStatus Text
- data GetDeploymentStatusResponse = GetDeploymentStatusResponse' {}
- newGetDeploymentStatusResponse :: Int -> GetDeploymentStatusResponse
- getDeploymentStatusResponse_deploymentStatus :: Lens' GetDeploymentStatusResponse (Maybe Text)
- getDeploymentStatusResponse_deploymentType :: Lens' GetDeploymentStatusResponse (Maybe DeploymentType)
- getDeploymentStatusResponse_errorDetails :: Lens' GetDeploymentStatusResponse (Maybe [ErrorDetail])
- getDeploymentStatusResponse_errorMessage :: Lens' GetDeploymentStatusResponse (Maybe Text)
- getDeploymentStatusResponse_updatedAt :: Lens' GetDeploymentStatusResponse (Maybe Text)
- getDeploymentStatusResponse_httpStatus :: Lens' GetDeploymentStatusResponse Int
Creating a Request
data GetDeploymentStatus Source #
See: newGetDeploymentStatus smart constructor.
Constructors
| GetDeploymentStatus' | |
Fields
| |
Instances
newGetDeploymentStatus Source #
Create a value of GetDeploymentStatus 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:groupId:GetDeploymentStatus', getDeploymentStatus_groupId - The ID of the Greengrass group.
GetDeploymentStatus, getDeploymentStatus_deploymentId - The ID of the deployment.
Request Lenses
getDeploymentStatus_groupId :: Lens' GetDeploymentStatus Text Source #
The ID of the Greengrass group.
getDeploymentStatus_deploymentId :: Lens' GetDeploymentStatus Text Source #
The ID of the deployment.
Destructuring the Response
data GetDeploymentStatusResponse Source #
See: newGetDeploymentStatusResponse smart constructor.
Constructors
| GetDeploymentStatusResponse' | |
Fields
| |
Instances
newGetDeploymentStatusResponse Source #
Create a value of GetDeploymentStatusResponse 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:
GetDeploymentStatusResponse, getDeploymentStatusResponse_deploymentStatus - The status of the deployment: ''InProgress'', ''Building'',
''Success'', or ''Failure''.
GetDeploymentStatusResponse, getDeploymentStatusResponse_deploymentType - The type of the deployment.
GetDeploymentStatusResponse, getDeploymentStatusResponse_errorDetails - Error details
GetDeploymentStatusResponse, getDeploymentStatusResponse_errorMessage - Error message
$sel:updatedAt:GetDeploymentStatusResponse', getDeploymentStatusResponse_updatedAt - The time, in milliseconds since the epoch, when the deployment status
was updated.
$sel:httpStatus:GetDeploymentStatusResponse', getDeploymentStatusResponse_httpStatus - The response's http status code.
Response Lenses
getDeploymentStatusResponse_deploymentStatus :: Lens' GetDeploymentStatusResponse (Maybe Text) Source #
The status of the deployment: ''InProgress'', ''Building'', ''Success'', or ''Failure''.
getDeploymentStatusResponse_deploymentType :: Lens' GetDeploymentStatusResponse (Maybe DeploymentType) Source #
The type of the deployment.
getDeploymentStatusResponse_errorDetails :: Lens' GetDeploymentStatusResponse (Maybe [ErrorDetail]) Source #
Error details
getDeploymentStatusResponse_errorMessage :: Lens' GetDeploymentStatusResponse (Maybe Text) Source #
Error message
getDeploymentStatusResponse_updatedAt :: Lens' GetDeploymentStatusResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the deployment status was updated.
getDeploymentStatusResponse_httpStatus :: Lens' GetDeploymentStatusResponse Int Source #
The response's http status code.