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 |
Updates a Deployment.
Synopsis
- data UpdateDeployment = UpdateDeployment' {
- description :: Maybe Text
- apiId :: Text
- deploymentId :: Text
- newUpdateDeployment :: Text -> Text -> UpdateDeployment
- updateDeployment_description :: Lens' UpdateDeployment (Maybe Text)
- updateDeployment_apiId :: Lens' UpdateDeployment Text
- updateDeployment_deploymentId :: Lens' UpdateDeployment Text
- data UpdateDeploymentResponse = UpdateDeploymentResponse' {}
- newUpdateDeploymentResponse :: Int -> UpdateDeploymentResponse
- updateDeploymentResponse_autoDeployed :: Lens' UpdateDeploymentResponse (Maybe Bool)
- updateDeploymentResponse_createdDate :: Lens' UpdateDeploymentResponse (Maybe UTCTime)
- updateDeploymentResponse_deploymentId :: Lens' UpdateDeploymentResponse (Maybe Text)
- updateDeploymentResponse_deploymentStatus :: Lens' UpdateDeploymentResponse (Maybe DeploymentStatus)
- updateDeploymentResponse_deploymentStatusMessage :: Lens' UpdateDeploymentResponse (Maybe Text)
- updateDeploymentResponse_description :: Lens' UpdateDeploymentResponse (Maybe Text)
- updateDeploymentResponse_httpStatus :: Lens' UpdateDeploymentResponse Int
Creating a Request
data UpdateDeployment Source #
Updates a Deployment.
See: newUpdateDeployment
smart constructor.
UpdateDeployment' | |
|
Instances
Create a value of UpdateDeployment
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:
UpdateDeployment
, updateDeployment_description
- The description for the deployment resource.
UpdateDeployment
, updateDeployment_apiId
- The API identifier.
UpdateDeployment
, updateDeployment_deploymentId
- The deployment ID.
Request Lenses
updateDeployment_description :: Lens' UpdateDeployment (Maybe Text) Source #
The description for the deployment resource.
updateDeployment_apiId :: Lens' UpdateDeployment Text Source #
The API identifier.
updateDeployment_deploymentId :: Lens' UpdateDeployment Text Source #
The deployment ID.
Destructuring the Response
data UpdateDeploymentResponse Source #
See: newUpdateDeploymentResponse
smart constructor.
UpdateDeploymentResponse' | |
|
Instances
newUpdateDeploymentResponse Source #
Create a value of UpdateDeploymentResponse
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:
UpdateDeploymentResponse
, updateDeploymentResponse_autoDeployed
- Specifies whether a deployment was automatically released.
UpdateDeploymentResponse
, updateDeploymentResponse_createdDate
- The date and time when the Deployment resource was created.
UpdateDeployment
, updateDeploymentResponse_deploymentId
- The identifier for the deployment.
UpdateDeploymentResponse
, updateDeploymentResponse_deploymentStatus
- The status of the deployment: PENDING, FAILED, or SUCCEEDED.
UpdateDeploymentResponse
, updateDeploymentResponse_deploymentStatusMessage
- May contain additional feedback on the status of an API deployment.
UpdateDeployment
, updateDeploymentResponse_description
- The description for the deployment.
$sel:httpStatus:UpdateDeploymentResponse'
, updateDeploymentResponse_httpStatus
- The response's http status code.
Response Lenses
updateDeploymentResponse_autoDeployed :: Lens' UpdateDeploymentResponse (Maybe Bool) Source #
Specifies whether a deployment was automatically released.
updateDeploymentResponse_createdDate :: Lens' UpdateDeploymentResponse (Maybe UTCTime) Source #
The date and time when the Deployment resource was created.
updateDeploymentResponse_deploymentId :: Lens' UpdateDeploymentResponse (Maybe Text) Source #
The identifier for the deployment.
updateDeploymentResponse_deploymentStatus :: Lens' UpdateDeploymentResponse (Maybe DeploymentStatus) Source #
The status of the deployment: PENDING, FAILED, or SUCCEEDED.
updateDeploymentResponse_deploymentStatusMessage :: Lens' UpdateDeploymentResponse (Maybe Text) Source #
May contain additional feedback on the status of an API deployment.
updateDeploymentResponse_description :: Lens' UpdateDeploymentResponse (Maybe Text) Source #
The description for the deployment.
updateDeploymentResponse_httpStatus :: Lens' UpdateDeploymentResponse Int Source #
The response's http status code.