| 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.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_autoDeployed :: Lens' GetDeploymentResponse (Maybe Bool)
- getDeploymentResponse_createdDate :: Lens' GetDeploymentResponse (Maybe UTCTime)
- getDeploymentResponse_deploymentId :: Lens' GetDeploymentResponse (Maybe Text)
- getDeploymentResponse_deploymentStatus :: Lens' GetDeploymentResponse (Maybe DeploymentStatus)
- getDeploymentResponse_deploymentStatusMessage :: Lens' GetDeploymentResponse (Maybe Text)
- 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
Arguments
| :: Text | |
| -> 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_apiId - The API identifier.
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:
GetDeploymentResponse, getDeploymentResponse_autoDeployed - Specifies whether a deployment was automatically released.
GetDeploymentResponse, getDeploymentResponse_createdDate - The date and time when the Deployment resource was created.
GetDeployment, getDeploymentResponse_deploymentId - The identifier for the deployment.
GetDeploymentResponse, getDeploymentResponse_deploymentStatus - The status of the deployment: PENDING, FAILED, or SUCCEEDED.
GetDeploymentResponse, getDeploymentResponse_deploymentStatusMessage - May contain additional feedback on the status of an API deployment.
GetDeploymentResponse, getDeploymentResponse_description - The description for the deployment.
$sel:httpStatus:GetDeploymentResponse', getDeploymentResponse_httpStatus - The response's http status code.
Response Lenses
getDeploymentResponse_autoDeployed :: Lens' GetDeploymentResponse (Maybe Bool) Source #
Specifies whether a deployment was automatically released.
getDeploymentResponse_createdDate :: Lens' GetDeploymentResponse (Maybe UTCTime) Source #
The date and time when the Deployment resource was created.
getDeploymentResponse_deploymentId :: Lens' GetDeploymentResponse (Maybe Text) Source #
The identifier for the deployment.
getDeploymentResponse_deploymentStatus :: Lens' GetDeploymentResponse (Maybe DeploymentStatus) Source #
The status of the deployment: PENDING, FAILED, or SUCCEEDED.
getDeploymentResponse_deploymentStatusMessage :: Lens' GetDeploymentResponse (Maybe Text) Source #
May contain additional feedback on the status of an API deployment.
getDeploymentResponse_description :: Lens' GetDeploymentResponse (Maybe Text) Source #
The description for the deployment.
getDeploymentResponse_httpStatus :: Lens' GetDeploymentResponse Int Source #
The response's http status code.