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 DB security group.
The specified DB security group must not be associated with any DB instances.
EC2-Classic was retired on August 15, 2022. If you haven't migrated from EC2-Classic to a VPC, we recommend that you migrate as soon as possible. For more information, see Migrate from EC2-Classic to a VPC in the Amazon EC2 User Guide, the blog EC2-Classic Networking is Retiring – Here’s How to Prepare, and Moving a DB instance not in a VPC into a VPC in the Amazon RDS User Guide.
Synopsis
- data DeleteDBSecurityGroup = DeleteDBSecurityGroup' {}
- newDeleteDBSecurityGroup :: Text -> DeleteDBSecurityGroup
- deleteDBSecurityGroup_dbSecurityGroupName :: Lens' DeleteDBSecurityGroup Text
- data DeleteDBSecurityGroupResponse = DeleteDBSecurityGroupResponse' {
- newDeleteDBSecurityGroupResponse :: DeleteDBSecurityGroupResponse
Creating a Request
data DeleteDBSecurityGroup Source #
See: newDeleteDBSecurityGroup
smart constructor.
DeleteDBSecurityGroup' | |
|
Instances
newDeleteDBSecurityGroup Source #
Create a value of DeleteDBSecurityGroup
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:
DeleteDBSecurityGroup
, deleteDBSecurityGroup_dbSecurityGroupName
- The name of the DB security group to delete.
You can't delete the default DB security group.
Constraints:
- Must be 1 to 255 letters, numbers, or hyphens.
- First character must be a letter
- Can't end with a hyphen or contain two consecutive hyphens
- Must not be "Default"
Request Lenses
deleteDBSecurityGroup_dbSecurityGroupName :: Lens' DeleteDBSecurityGroup Text Source #
The name of the DB security group to delete.
You can't delete the default DB security group.
Constraints:
- Must be 1 to 255 letters, numbers, or hyphens.
- First character must be a letter
- Can't end with a hyphen or contain two consecutive hyphens
- Must not be "Default"
Destructuring the Response
data DeleteDBSecurityGroupResponse Source #
See: newDeleteDBSecurityGroupResponse
smart constructor.
Instances
newDeleteDBSecurityGroupResponse :: DeleteDBSecurityGroupResponse Source #
Create a value of DeleteDBSecurityGroupResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.