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.RDS.DeleteBlueGreenDeployment
Description
Deletes a blue/green deployment.
For more information, see Using Amazon RDS Blue/Green Deployments for database updates in the Amazon RDS User Guide and Using Amazon RDS Blue/Green Deployments for database updates in the Amazon Aurora User Guide.
Synopsis
- data DeleteBlueGreenDeployment = DeleteBlueGreenDeployment' {}
- newDeleteBlueGreenDeployment :: Text -> DeleteBlueGreenDeployment
- deleteBlueGreenDeployment_deleteTarget :: Lens' DeleteBlueGreenDeployment (Maybe Bool)
- deleteBlueGreenDeployment_blueGreenDeploymentIdentifier :: Lens' DeleteBlueGreenDeployment Text
- data DeleteBlueGreenDeploymentResponse = DeleteBlueGreenDeploymentResponse' {}
- newDeleteBlueGreenDeploymentResponse :: Int -> DeleteBlueGreenDeploymentResponse
- deleteBlueGreenDeploymentResponse_blueGreenDeployment :: Lens' DeleteBlueGreenDeploymentResponse (Maybe BlueGreenDeployment)
- deleteBlueGreenDeploymentResponse_httpStatus :: Lens' DeleteBlueGreenDeploymentResponse Int
Creating a Request
data DeleteBlueGreenDeployment Source #
See: newDeleteBlueGreenDeployment
smart constructor.
Constructors
DeleteBlueGreenDeployment' | |
Fields
|
Instances
newDeleteBlueGreenDeployment Source #
Arguments
:: Text | |
-> DeleteBlueGreenDeployment |
Create a value of DeleteBlueGreenDeployment
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:deleteTarget:DeleteBlueGreenDeployment'
, deleteBlueGreenDeployment_deleteTarget
- A value that indicates whether to delete the resources in the green
environment.
DeleteBlueGreenDeployment
, deleteBlueGreenDeployment_blueGreenDeploymentIdentifier
- The blue/green deployment identifier of the deployment to be deleted.
This parameter isn't case-sensitive.
Constraints:
- Must match an existing blue/green deployment identifier.
Request Lenses
deleteBlueGreenDeployment_deleteTarget :: Lens' DeleteBlueGreenDeployment (Maybe Bool) Source #
A value that indicates whether to delete the resources in the green environment.
deleteBlueGreenDeployment_blueGreenDeploymentIdentifier :: Lens' DeleteBlueGreenDeployment Text Source #
The blue/green deployment identifier of the deployment to be deleted. This parameter isn't case-sensitive.
Constraints:
- Must match an existing blue/green deployment identifier.
Destructuring the Response
data DeleteBlueGreenDeploymentResponse Source #
See: newDeleteBlueGreenDeploymentResponse
smart constructor.
Constructors
DeleteBlueGreenDeploymentResponse' | |
Fields
|
Instances
newDeleteBlueGreenDeploymentResponse Source #
Arguments
:: Int | |
-> DeleteBlueGreenDeploymentResponse |
Create a value of DeleteBlueGreenDeploymentResponse
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:blueGreenDeployment:DeleteBlueGreenDeploymentResponse'
, deleteBlueGreenDeploymentResponse_blueGreenDeployment
- Undocumented member.
$sel:httpStatus:DeleteBlueGreenDeploymentResponse'
, deleteBlueGreenDeploymentResponse_httpStatus
- The response's http status code.
Response Lenses
deleteBlueGreenDeploymentResponse_blueGreenDeployment :: Lens' DeleteBlueGreenDeploymentResponse (Maybe BlueGreenDeployment) Source #
Undocumented member.
deleteBlueGreenDeploymentResponse_httpStatus :: Lens' DeleteBlueGreenDeploymentResponse Int Source #
The response's http status code.