libZSservicesZSamazonka-neptuneZSamazonka-neptune
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.Neptune.DeleteDBSubnetGroup

Description

Deletes a DB subnet group.

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

Synopsis

Creating a Request

data DeleteDBSubnetGroup Source #

See: newDeleteDBSubnetGroup smart constructor.

Constructors

DeleteDBSubnetGroup' 

Fields

  • dbSubnetGroupName :: Text

    The name of the database subnet group to delete.

    You can't delete the default subnet group.

    Constraints:

    Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.

    Example: mySubnetgroup

Instances

Instances details
Eq DeleteDBSubnetGroup Source # 
Instance details

Defined in Amazonka.Neptune.DeleteDBSubnetGroup

Read DeleteDBSubnetGroup Source # 
Instance details

Defined in Amazonka.Neptune.DeleteDBSubnetGroup

Show DeleteDBSubnetGroup Source # 
Instance details

Defined in Amazonka.Neptune.DeleteDBSubnetGroup

Generic DeleteDBSubnetGroup Source # 
Instance details

Defined in Amazonka.Neptune.DeleteDBSubnetGroup

Associated Types

type Rep DeleteDBSubnetGroup :: Type -> Type #

NFData DeleteDBSubnetGroup Source # 
Instance details

Defined in Amazonka.Neptune.DeleteDBSubnetGroup

Methods

rnf :: DeleteDBSubnetGroup -> () #

Hashable DeleteDBSubnetGroup Source # 
Instance details

Defined in Amazonka.Neptune.DeleteDBSubnetGroup

AWSRequest DeleteDBSubnetGroup Source # 
Instance details

Defined in Amazonka.Neptune.DeleteDBSubnetGroup

Associated Types

type AWSResponse DeleteDBSubnetGroup #

ToHeaders DeleteDBSubnetGroup Source # 
Instance details

Defined in Amazonka.Neptune.DeleteDBSubnetGroup

ToPath DeleteDBSubnetGroup Source # 
Instance details

Defined in Amazonka.Neptune.DeleteDBSubnetGroup

ToQuery DeleteDBSubnetGroup Source # 
Instance details

Defined in Amazonka.Neptune.DeleteDBSubnetGroup

type Rep DeleteDBSubnetGroup Source # 
Instance details

Defined in Amazonka.Neptune.DeleteDBSubnetGroup

type Rep DeleteDBSubnetGroup = D1 ('MetaData "DeleteDBSubnetGroup" "Amazonka.Neptune.DeleteDBSubnetGroup" "libZSservicesZSamazonka-neptuneZSamazonka-neptune" 'False) (C1 ('MetaCons "DeleteDBSubnetGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dbSubnetGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteDBSubnetGroup Source # 
Instance details

Defined in Amazonka.Neptune.DeleteDBSubnetGroup

newDeleteDBSubnetGroup Source #

Create a value of DeleteDBSubnetGroup 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:dbSubnetGroupName:DeleteDBSubnetGroup', deleteDBSubnetGroup_dbSubnetGroupName - The name of the database subnet group to delete.

You can't delete the default subnet group.

Constraints:

Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.

Example: mySubnetgroup

Request Lenses

deleteDBSubnetGroup_dbSubnetGroupName :: Lens' DeleteDBSubnetGroup Text Source #

The name of the database subnet group to delete.

You can't delete the default subnet group.

Constraints:

Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.

Example: mySubnetgroup

Destructuring the Response

data DeleteDBSubnetGroupResponse Source #

See: newDeleteDBSubnetGroupResponse smart constructor.

Instances

Instances details
Eq DeleteDBSubnetGroupResponse Source # 
Instance details

Defined in Amazonka.Neptune.DeleteDBSubnetGroup

Read DeleteDBSubnetGroupResponse Source # 
Instance details

Defined in Amazonka.Neptune.DeleteDBSubnetGroup

Show DeleteDBSubnetGroupResponse Source # 
Instance details

Defined in Amazonka.Neptune.DeleteDBSubnetGroup

Generic DeleteDBSubnetGroupResponse Source # 
Instance details

Defined in Amazonka.Neptune.DeleteDBSubnetGroup

Associated Types

type Rep DeleteDBSubnetGroupResponse :: Type -> Type #

NFData DeleteDBSubnetGroupResponse Source # 
Instance details

Defined in Amazonka.Neptune.DeleteDBSubnetGroup

type Rep DeleteDBSubnetGroupResponse Source # 
Instance details

Defined in Amazonka.Neptune.DeleteDBSubnetGroup

type Rep DeleteDBSubnetGroupResponse = D1 ('MetaData "DeleteDBSubnetGroupResponse" "Amazonka.Neptune.DeleteDBSubnetGroup" "libZSservicesZSamazonka-neptuneZSamazonka-neptune" 'False) (C1 ('MetaCons "DeleteDBSubnetGroupResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteDBSubnetGroupResponse :: DeleteDBSubnetGroupResponse Source #

Create a value of DeleteDBSubnetGroupResponse with all optional fields omitted.

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