| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CodeDeploy.GetDeployment
Description
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.
Constructors
| GetDeployment' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> GetDeployment |
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:
GetDeployment, getDeployment_deploymentId - The unique ID of a deployment associated with the IAM user or Amazon Web
Services account.
Request Lenses
getDeployment_deploymentId :: Lens' GetDeployment Text Source #
The unique ID of a deployment associated with the IAM user or Amazon Web Services account.
Destructuring the Response
data GetDeploymentResponse Source #
Represents the output of a GetDeployment operation.
See: newGetDeploymentResponse smart constructor.
Constructors
| GetDeploymentResponse' | |
Fields
| |
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.