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 information about a deployment target.
Synopsis
- data GetDeploymentTarget = GetDeploymentTarget' {}
- newGetDeploymentTarget :: GetDeploymentTarget
- getDeploymentTarget_targetId :: Lens' GetDeploymentTarget (Maybe Text)
- getDeploymentTarget_deploymentId :: Lens' GetDeploymentTarget (Maybe Text)
- data GetDeploymentTargetResponse = GetDeploymentTargetResponse' {}
- newGetDeploymentTargetResponse :: Int -> GetDeploymentTargetResponse
- getDeploymentTargetResponse_deploymentTarget :: Lens' GetDeploymentTargetResponse (Maybe DeploymentTarget)
- getDeploymentTargetResponse_httpStatus :: Lens' GetDeploymentTargetResponse Int
Creating a Request
data GetDeploymentTarget Source #
See: newGetDeploymentTarget
smart constructor.
Instances
newGetDeploymentTarget :: GetDeploymentTarget Source #
Create a value of GetDeploymentTarget
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:targetId:GetDeploymentTarget'
, getDeploymentTarget_targetId
- The unique ID of a deployment target.
$sel:deploymentId:GetDeploymentTarget'
, getDeploymentTarget_deploymentId
- The unique ID of a deployment.
Request Lenses
getDeploymentTarget_targetId :: Lens' GetDeploymentTarget (Maybe Text) Source #
The unique ID of a deployment target.
getDeploymentTarget_deploymentId :: Lens' GetDeploymentTarget (Maybe Text) Source #
The unique ID of a deployment.
Destructuring the Response
data GetDeploymentTargetResponse Source #
See: newGetDeploymentTargetResponse
smart constructor.
GetDeploymentTargetResponse' | |
|
Instances
newGetDeploymentTargetResponse Source #
Create a value of GetDeploymentTargetResponse
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:deploymentTarget:GetDeploymentTargetResponse'
, getDeploymentTargetResponse_deploymentTarget
- A deployment target that contains information about a deployment such as
its status, lifecycle events, and when it was last updated. It also
contains metadata about the deployment target. The deployment target
metadata depends on the deployment target's type (instanceTarget
,
lambdaTarget
, or ecsTarget
).
$sel:httpStatus:GetDeploymentTargetResponse'
, getDeploymentTargetResponse_httpStatus
- The response's http status code.
Response Lenses
getDeploymentTargetResponse_deploymentTarget :: Lens' GetDeploymentTargetResponse (Maybe DeploymentTarget) Source #
A deployment target that contains information about a deployment such as
its status, lifecycle events, and when it was last updated. It also
contains metadata about the deployment target. The deployment target
metadata depends on the deployment target's type (instanceTarget
,
lambdaTarget
, or ecsTarget
).
getDeploymentTargetResponse_httpStatus :: Lens' GetDeploymentTargetResponse Int Source #
The response's http status code.