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 |
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.
DeleteBlueGreenDeployment' | |
|
Instances
newDeleteBlueGreenDeployment Source #
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.
DeleteBlueGreenDeploymentResponse' | |
|
Instances
Generic DeleteBlueGreenDeploymentResponse Source # | |
Read DeleteBlueGreenDeploymentResponse Source # | |
Show DeleteBlueGreenDeploymentResponse Source # | |
Defined in Amazonka.RDS.DeleteBlueGreenDeployment | |
NFData DeleteBlueGreenDeploymentResponse Source # | |
Defined in Amazonka.RDS.DeleteBlueGreenDeployment rnf :: DeleteBlueGreenDeploymentResponse -> () # | |
Eq DeleteBlueGreenDeploymentResponse Source # | |
type Rep DeleteBlueGreenDeploymentResponse Source # | |
Defined in Amazonka.RDS.DeleteBlueGreenDeployment type Rep DeleteBlueGreenDeploymentResponse = D1 ('MetaData "DeleteBlueGreenDeploymentResponse" "Amazonka.RDS.DeleteBlueGreenDeployment" "amazonka-rds-2.0-3xXyiLHmAvvCXXUIx1uhpP" 'False) (C1 ('MetaCons "DeleteBlueGreenDeploymentResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "blueGreenDeployment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BlueGreenDeployment)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDeleteBlueGreenDeploymentResponse Source #
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.