libZSservicesZSamazonka-rdsZSamazonka-rds
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.RDS.DeleteDBSecurityGroup

Description

Deletes a DB security group.

The specified DB security group must not be associated with any DB instances.

Synopsis

Creating a Request

data DeleteDBSecurityGroup Source #

See: newDeleteDBSecurityGroup smart constructor.

Constructors

DeleteDBSecurityGroup' 

Fields

  • dbSecurityGroupName :: Text

    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"

Instances

Instances details
Eq DeleteDBSecurityGroup Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBSecurityGroup

Read DeleteDBSecurityGroup Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBSecurityGroup

Show DeleteDBSecurityGroup Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBSecurityGroup

Generic DeleteDBSecurityGroup Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBSecurityGroup

Associated Types

type Rep DeleteDBSecurityGroup :: Type -> Type #

NFData DeleteDBSecurityGroup Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBSecurityGroup

Methods

rnf :: DeleteDBSecurityGroup -> () #

Hashable DeleteDBSecurityGroup Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBSecurityGroup

AWSRequest DeleteDBSecurityGroup Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBSecurityGroup

Associated Types

type AWSResponse DeleteDBSecurityGroup #

ToHeaders DeleteDBSecurityGroup Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBSecurityGroup

ToPath DeleteDBSecurityGroup Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBSecurityGroup

ToQuery DeleteDBSecurityGroup Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBSecurityGroup

type Rep DeleteDBSecurityGroup Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBSecurityGroup

type Rep DeleteDBSecurityGroup = D1 ('MetaData "DeleteDBSecurityGroup" "Amazonka.RDS.DeleteDBSecurityGroup" "libZSservicesZSamazonka-rdsZSamazonka-rds" 'False) (C1 ('MetaCons "DeleteDBSecurityGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dbSecurityGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteDBSecurityGroup Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBSecurityGroup

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:

$sel:dbSecurityGroupName: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

Instances details
Eq DeleteDBSecurityGroupResponse Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBSecurityGroup

Read DeleteDBSecurityGroupResponse Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBSecurityGroup

Show DeleteDBSecurityGroupResponse Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBSecurityGroup

Generic DeleteDBSecurityGroupResponse Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBSecurityGroup

Associated Types

type Rep DeleteDBSecurityGroupResponse :: Type -> Type #

NFData DeleteDBSecurityGroupResponse Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBSecurityGroup

type Rep DeleteDBSecurityGroupResponse Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBSecurityGroup

type Rep DeleteDBSecurityGroupResponse = D1 ('MetaData "DeleteDBSecurityGroupResponse" "Amazonka.RDS.DeleteDBSecurityGroup" "libZSservicesZSamazonka-rdsZSamazonka-rds" 'False) (C1 ('MetaCons "DeleteDBSecurityGroupResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteDBSecurityGroupResponse :: DeleteDBSecurityGroupResponse Source #

Create a value of DeleteDBSecurityGroupResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.