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 |
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_deploymentType :: Lens' GetDeploymentStatusResponse (Maybe DeploymentType)
- getDeploymentStatusResponse_errorDetails :: Lens' GetDeploymentStatusResponse (Maybe [ErrorDetail])
- getDeploymentStatusResponse_deploymentStatus :: Lens' GetDeploymentStatusResponse (Maybe Text)
- getDeploymentStatusResponse_updatedAt :: Lens' GetDeploymentStatusResponse (Maybe Text)
- getDeploymentStatusResponse_errorMessage :: Lens' GetDeploymentStatusResponse (Maybe Text)
- getDeploymentStatusResponse_httpStatus :: Lens' GetDeploymentStatusResponse Int
Creating a Request
data GetDeploymentStatus Source #
See: newGetDeploymentStatus
smart constructor.
GetDeploymentStatus' | |
|
Instances
newGetDeploymentStatus Source #
:: Text | |
-> Text | |
-> GetDeploymentStatus |
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.
$sel:deploymentId: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.
GetDeploymentStatusResponse' | |
|
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:
$sel:deploymentType:GetDeploymentStatusResponse'
, getDeploymentStatusResponse_deploymentType
- The type of the deployment.
$sel:errorDetails:GetDeploymentStatusResponse'
, getDeploymentStatusResponse_errorDetails
- Error details
$sel:deploymentStatus:GetDeploymentStatusResponse'
, getDeploymentStatusResponse_deploymentStatus
- The status of the deployment: ''InProgress'', ''Building'',
''Success'', or ''Failure''.
$sel:updatedAt:GetDeploymentStatusResponse'
, getDeploymentStatusResponse_updatedAt
- The time, in milliseconds since the epoch, when the deployment status
was updated.
$sel:errorMessage:GetDeploymentStatusResponse'
, getDeploymentStatusResponse_errorMessage
- Error message
$sel:httpStatus:GetDeploymentStatusResponse'
, getDeploymentStatusResponse_httpStatus
- The response's http status code.
Response Lenses
getDeploymentStatusResponse_deploymentType :: Lens' GetDeploymentStatusResponse (Maybe DeploymentType) Source #
The type of the deployment.
getDeploymentStatusResponse_errorDetails :: Lens' GetDeploymentStatusResponse (Maybe [ErrorDetail]) Source #
Error details
getDeploymentStatusResponse_deploymentStatus :: Lens' GetDeploymentStatusResponse (Maybe Text) Source #
The status of the deployment: ''InProgress'', ''Building'', ''Success'', or ''Failure''.
getDeploymentStatusResponse_updatedAt :: Lens' GetDeploymentStatusResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the deployment status was updated.
getDeploymentStatusResponse_errorMessage :: Lens' GetDeploymentStatusResponse (Maybe Text) Source #
Error message
getDeploymentStatusResponse_httpStatus :: Lens' GetDeploymentStatusResponse Int Source #
The response's http status code.