| 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 |
Amazonka.ApiGatewayV2.GetDeployment
Description
Gets a Deployment.
Synopsis
- data GetDeployment = GetDeployment' {
- apiId :: Text
- deploymentId :: Text
- newGetDeployment :: Text -> Text -> GetDeployment
- getDeployment_apiId :: Lens' GetDeployment Text
- getDeployment_deploymentId :: Lens' GetDeployment Text
- data GetDeploymentResponse = GetDeploymentResponse' {}
- newGetDeploymentResponse :: Int -> GetDeploymentResponse
- getDeploymentResponse_deploymentId :: Lens' GetDeploymentResponse (Maybe Text)
- getDeploymentResponse_autoDeployed :: Lens' GetDeploymentResponse (Maybe Bool)
- getDeploymentResponse_deploymentStatusMessage :: Lens' GetDeploymentResponse (Maybe Text)
- getDeploymentResponse_createdDate :: Lens' GetDeploymentResponse (Maybe UTCTime)
- getDeploymentResponse_deploymentStatus :: Lens' GetDeploymentResponse (Maybe DeploymentStatus)
- getDeploymentResponse_description :: Lens' GetDeploymentResponse (Maybe Text)
- getDeploymentResponse_httpStatus :: Lens' GetDeploymentResponse Int
Creating a Request
data GetDeployment Source #
See: newGetDeployment smart constructor.
Constructors
| GetDeployment' | |
Fields
| |
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:apiId:GetDeployment', getDeployment_apiId - The API identifier.
$sel:deploymentId:GetDeployment', getDeployment_deploymentId - The deployment ID.
Request Lenses
getDeployment_apiId :: Lens' GetDeployment Text Source #
The API identifier.
getDeployment_deploymentId :: Lens' GetDeployment Text Source #
The deployment ID.
Destructuring the Response
data GetDeploymentResponse Source #
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:deploymentId:GetDeployment', getDeploymentResponse_deploymentId - The identifier for the deployment.
$sel:autoDeployed:GetDeploymentResponse', getDeploymentResponse_autoDeployed - Specifies whether a deployment was automatically released.
$sel:deploymentStatusMessage:GetDeploymentResponse', getDeploymentResponse_deploymentStatusMessage - May contain additional feedback on the status of an API deployment.
$sel:createdDate:GetDeploymentResponse', getDeploymentResponse_createdDate - The date and time when the Deployment resource was created.
$sel:deploymentStatus:GetDeploymentResponse', getDeploymentResponse_deploymentStatus - The status of the deployment: PENDING, FAILED, or SUCCEEDED.
$sel:description:GetDeploymentResponse', getDeploymentResponse_description - The description for the deployment.
$sel:httpStatus:GetDeploymentResponse', getDeploymentResponse_httpStatus - The response's http status code.
Response Lenses
getDeploymentResponse_deploymentId :: Lens' GetDeploymentResponse (Maybe Text) Source #
The identifier for the deployment.
getDeploymentResponse_autoDeployed :: Lens' GetDeploymentResponse (Maybe Bool) Source #
Specifies whether a deployment was automatically released.
getDeploymentResponse_deploymentStatusMessage :: Lens' GetDeploymentResponse (Maybe Text) Source #
May contain additional feedback on the status of an API deployment.
getDeploymentResponse_createdDate :: Lens' GetDeploymentResponse (Maybe UTCTime) Source #
The date and time when the Deployment resource was created.
getDeploymentResponse_deploymentStatus :: Lens' GetDeploymentResponse (Maybe DeploymentStatus) Source #
The status of the deployment: PENDING, FAILED, or SUCCEEDED.
getDeploymentResponse_description :: Lens' GetDeploymentResponse (Maybe Text) Source #
The description for the deployment.
getDeploymentResponse_httpStatus :: Lens' GetDeploymentResponse Int Source #
The response's http status code.