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 |
Gets information about a deployment.
Synopsis
- getDeployment :: Text -> GetDeployment
- data GetDeployment
- gdDeploymentId :: Lens' GetDeployment Text
- getDeploymentResponse :: Int -> GetDeploymentResponse
- data GetDeploymentResponse
- gdrsDeploymentInfo :: Lens' GetDeploymentResponse (Maybe DeploymentInfo)
- gdrsResponseStatus :: Lens' GetDeploymentResponse Int
Creating a Request
Creates a value of GetDeployment
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdDeploymentId
- A deployment ID associated with the applicable IAM user or AWS account.
data GetDeployment Source #
Represents the input of a GetDeployment operation.
See: getDeployment
smart constructor.
Instances
Request Lenses
gdDeploymentId :: Lens' GetDeployment Text Source #
A deployment ID associated with the applicable IAM user or AWS account.
Destructuring the Response
getDeploymentResponse Source #
Creates a value of GetDeploymentResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdrsDeploymentInfo
- Information about the deployment.gdrsResponseStatus
- -- | The response status code.
data GetDeploymentResponse Source #
Represents the output of a GetDeployment operation.
See: getDeploymentResponse
smart constructor.
Instances
Response Lenses
gdrsDeploymentInfo :: Lens' GetDeploymentResponse (Maybe DeploymentInfo) Source #
Information about the deployment.
gdrsResponseStatus :: Lens' GetDeploymentResponse Int Source #
- - | The response status code.