| 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.M2.GetDeployment
Description
Gets details of a specific deployment with a given deployment identifier.
Synopsis
- data GetDeployment = GetDeployment' {}
- newGetDeployment :: Text -> Text -> GetDeployment
- getDeployment_applicationId :: Lens' GetDeployment Text
- getDeployment_deploymentId :: Lens' GetDeployment Text
- data GetDeploymentResponse = GetDeploymentResponse' {}
- newGetDeploymentResponse :: Int -> Text -> Natural -> UTCTime -> Text -> Text -> DeploymentLifecycle -> GetDeploymentResponse
- getDeploymentResponse_statusReason :: Lens' GetDeploymentResponse (Maybe Text)
- getDeploymentResponse_httpStatus :: Lens' GetDeploymentResponse Int
- getDeploymentResponse_applicationId :: Lens' GetDeploymentResponse Text
- getDeploymentResponse_applicationVersion :: Lens' GetDeploymentResponse Natural
- getDeploymentResponse_creationTime :: Lens' GetDeploymentResponse UTCTime
- getDeploymentResponse_deploymentId :: Lens' GetDeploymentResponse Text
- getDeploymentResponse_environmentId :: Lens' GetDeploymentResponse Text
- getDeploymentResponse_status :: Lens' GetDeploymentResponse DeploymentLifecycle
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_applicationId - The unique identifier of the application.
GetDeployment, getDeployment_deploymentId - The unique identifier for the deployment.
Request Lenses
getDeployment_applicationId :: Lens' GetDeployment Text Source #
The unique identifier of the application.
getDeployment_deploymentId :: Lens' GetDeployment Text Source #
The unique identifier for the deployment.
Destructuring the Response
data GetDeploymentResponse Source #
See: newGetDeploymentResponse smart constructor.
Constructors
| GetDeploymentResponse' | |
Fields
| |
Instances
newGetDeploymentResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> Natural | |
| -> UTCTime | |
| -> Text | |
| -> Text | |
| -> DeploymentLifecycle | |
| -> GetDeploymentResponse |
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_statusReason - The reason for the reported status.
$sel:httpStatus:GetDeploymentResponse', getDeploymentResponse_httpStatus - The response's http status code.
GetDeployment, getDeploymentResponse_applicationId - The unique identifier of the application.
GetDeploymentResponse, getDeploymentResponse_applicationVersion - The application version.
GetDeploymentResponse, getDeploymentResponse_creationTime - The timestamp when the deployment was created.
GetDeployment, getDeploymentResponse_deploymentId - The unique identifier of the deployment.
GetDeploymentResponse, getDeploymentResponse_environmentId - The unique identifier of the runtime environment.
GetDeploymentResponse, getDeploymentResponse_status - The status of the deployment.
Response Lenses
getDeploymentResponse_statusReason :: Lens' GetDeploymentResponse (Maybe Text) Source #
The reason for the reported status.
getDeploymentResponse_httpStatus :: Lens' GetDeploymentResponse Int Source #
The response's http status code.
getDeploymentResponse_applicationId :: Lens' GetDeploymentResponse Text Source #
The unique identifier of the application.
getDeploymentResponse_applicationVersion :: Lens' GetDeploymentResponse Natural Source #
The application version.
getDeploymentResponse_creationTime :: Lens' GetDeploymentResponse UTCTime Source #
The timestamp when the deployment was created.
getDeploymentResponse_deploymentId :: Lens' GetDeploymentResponse Text Source #
The unique identifier of the deployment.
getDeploymentResponse_environmentId :: Lens' GetDeploymentResponse Text Source #
The unique identifier of the runtime environment.
getDeploymentResponse_status :: Lens' GetDeploymentResponse DeploymentLifecycle Source #
The status of the deployment.