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 |
Returns the status of a deployment.
- getDeploymentStatus :: Text -> Text -> GetDeploymentStatus
- data GetDeploymentStatus
- gdsGroupId :: Lens' GetDeploymentStatus Text
- gdsDeploymentId :: Lens' GetDeploymentStatus Text
- getDeploymentStatusResponse :: Int -> GetDeploymentStatusResponse
- data GetDeploymentStatusResponse
- gdsrsDeploymentType :: Lens' GetDeploymentStatusResponse (Maybe DeploymentType)
- gdsrsErrorDetails :: Lens' GetDeploymentStatusResponse [ErrorDetail]
- gdsrsDeploymentStatus :: Lens' GetDeploymentStatusResponse (Maybe Text)
- gdsrsUpdatedAt :: Lens' GetDeploymentStatusResponse (Maybe Text)
- gdsrsErrorMessage :: Lens' GetDeploymentStatusResponse (Maybe Text)
- gdsrsResponseStatus :: Lens' GetDeploymentStatusResponse Int
Creating a Request
Creates a value of GetDeploymentStatus
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdsGroupId
- The ID of the AWS Greengrass group.gdsDeploymentId
- The ID of the deployment.
data GetDeploymentStatus Source #
See: getDeploymentStatus
smart constructor.
Request Lenses
gdsGroupId :: Lens' GetDeploymentStatus Text Source #
The ID of the AWS Greengrass group.
gdsDeploymentId :: Lens' GetDeploymentStatus Text Source #
The ID of the deployment.
Destructuring the Response
getDeploymentStatusResponse Source #
Creates a value of GetDeploymentStatusResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdsrsDeploymentType
- The type of the deployment.gdsrsErrorDetails
- Error detailsgdsrsDeploymentStatus
- The status of the deployment.gdsrsUpdatedAt
- The time, in milliseconds since the epoch, when the deployment status was updated.gdsrsErrorMessage
- Error messagegdsrsResponseStatus
- -- | The response status code.
data GetDeploymentStatusResponse Source #
See: getDeploymentStatusResponse
smart constructor.
Response Lenses
gdsrsDeploymentType :: Lens' GetDeploymentStatusResponse (Maybe DeploymentType) Source #
The type of the deployment.
gdsrsErrorDetails :: Lens' GetDeploymentStatusResponse [ErrorDetail] Source #
Error details
gdsrsDeploymentStatus :: Lens' GetDeploymentStatusResponse (Maybe Text) Source #
The status of the deployment.
gdsrsUpdatedAt :: Lens' GetDeploymentStatusResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the deployment status was updated.
gdsrsErrorMessage :: Lens' GetDeploymentStatusResponse (Maybe Text) Source #
Error message
gdsrsResponseStatus :: Lens' GetDeploymentStatusResponse Int Source #
- - | The response status code.