Copyright | (c) 2013-2017 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 unique Id of the AWS Greengrass GroupgdsDeploymentId
- the deployment Id
data GetDeploymentStatus Source #
See: getDeploymentStatus
smart constructor.
Request Lenses
gdsGroupId :: Lens' GetDeploymentStatus Text Source #
The unique Id of the AWS Greengrass Group
gdsDeploymentId :: Lens' GetDeploymentStatus Text Source #
the deployment Id
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
- The error DetailsgdsrsDeploymentStatus
- Status of the deployment.gdsrsUpdatedAt
- Last time 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 #
The error Details
gdsrsDeploymentStatus :: Lens' GetDeploymentStatusResponse (Maybe Text) Source #
Status of the deployment.
gdsrsUpdatedAt :: Lens' GetDeploymentStatusResponse (Maybe Text) Source #
Last time the deployment status was updated.
gdsrsErrorMessage :: Lens' GetDeploymentStatusResponse (Maybe Text) Source #
Error Message
gdsrsResponseStatus :: Lens' GetDeploymentStatusResponse Int Source #
- - | The response status code.