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 |
Gets information about a deployment.
The content
property of the appSpecContent
object in the returned
revision is always null. Use GetApplicationRevision
and the sha256
property of the returned appSpecContent
object to get the content of
the deployment’s AppSpec file.
Synopsis
- data GetDeployment = GetDeployment' {
- deploymentId :: Text
- newGetDeployment :: Text -> GetDeployment
- getDeployment_deploymentId :: Lens' GetDeployment Text
- data GetDeploymentResponse = GetDeploymentResponse' {}
- newGetDeploymentResponse :: Int -> GetDeploymentResponse
- getDeploymentResponse_deploymentInfo :: Lens' GetDeploymentResponse (Maybe DeploymentInfo)
- getDeploymentResponse_httpStatus :: Lens' GetDeploymentResponse Int
Creating a Request
data GetDeployment Source #
Represents the input of a GetDeployment
operation.
See: newGetDeployment
smart constructor.
GetDeployment' | |
|
Instances
Create a value of GetDeployment
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:deploymentId:GetDeployment'
, getDeployment_deploymentId
- The unique ID of a deployment associated with the IAM user or AWS
account.
Request Lenses
getDeployment_deploymentId :: Lens' GetDeployment Text Source #
The unique ID of a deployment associated with the IAM user or AWS account.
Destructuring the Response
data GetDeploymentResponse Source #
Represents the output of a GetDeployment
operation.
See: newGetDeploymentResponse
smart constructor.
GetDeploymentResponse' | |
|
Instances
newGetDeploymentResponse Source #
Create a value of GetDeploymentResponse
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:deploymentInfo:GetDeploymentResponse'
, getDeploymentResponse_deploymentInfo
- Information about the deployment.
$sel:httpStatus:GetDeploymentResponse'
, getDeploymentResponse_httpStatus
- The response's http status code.
Response Lenses
getDeploymentResponse_deploymentInfo :: Lens' GetDeploymentResponse (Maybe DeploymentInfo) Source #
Information about the deployment.
getDeploymentResponse_httpStatus :: Lens' GetDeploymentResponse Int Source #
The response's http status code.