libZSservicesZSamazonka-memorydbZSamazonka-memorydb
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.MemoryDb.DeleteSubnetGroup

Description

Deletes a subnet group. You cannot delete a default subnet group or one that is associated with any clusters.

Synopsis

Creating a Request

data DeleteSubnetGroup Source #

See: newDeleteSubnetGroup smart constructor.

Constructors

DeleteSubnetGroup' 

Fields

Instances

Instances details
Eq DeleteSubnetGroup Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteSubnetGroup

Read DeleteSubnetGroup Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteSubnetGroup

Show DeleteSubnetGroup Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteSubnetGroup

Generic DeleteSubnetGroup Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteSubnetGroup

Associated Types

type Rep DeleteSubnetGroup :: Type -> Type #

NFData DeleteSubnetGroup Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteSubnetGroup

Methods

rnf :: DeleteSubnetGroup -> () #

Hashable DeleteSubnetGroup Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteSubnetGroup

ToJSON DeleteSubnetGroup Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteSubnetGroup

AWSRequest DeleteSubnetGroup Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteSubnetGroup

Associated Types

type AWSResponse DeleteSubnetGroup #

ToHeaders DeleteSubnetGroup Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteSubnetGroup

ToPath DeleteSubnetGroup Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteSubnetGroup

ToQuery DeleteSubnetGroup Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteSubnetGroup

type Rep DeleteSubnetGroup Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteSubnetGroup

type Rep DeleteSubnetGroup = D1 ('MetaData "DeleteSubnetGroup" "Amazonka.MemoryDb.DeleteSubnetGroup" "libZSservicesZSamazonka-memorydbZSamazonka-memorydb" 'False) (C1 ('MetaCons "DeleteSubnetGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "subnetGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteSubnetGroup Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteSubnetGroup

newDeleteSubnetGroup Source #

Create a value of DeleteSubnetGroup 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:subnetGroupName:DeleteSubnetGroup', deleteSubnetGroup_subnetGroupName - The name of the subnet group to delete

Request Lenses

deleteSubnetGroup_subnetGroupName :: Lens' DeleteSubnetGroup Text Source #

The name of the subnet group to delete

Destructuring the Response

data DeleteSubnetGroupResponse Source #

See: newDeleteSubnetGroupResponse smart constructor.

Constructors

DeleteSubnetGroupResponse' 

Fields

Instances

Instances details
Eq DeleteSubnetGroupResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteSubnetGroup

Read DeleteSubnetGroupResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteSubnetGroup

Show DeleteSubnetGroupResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteSubnetGroup

Generic DeleteSubnetGroupResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteSubnetGroup

Associated Types

type Rep DeleteSubnetGroupResponse :: Type -> Type #

NFData DeleteSubnetGroupResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteSubnetGroup

type Rep DeleteSubnetGroupResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteSubnetGroup

type Rep DeleteSubnetGroupResponse = D1 ('MetaData "DeleteSubnetGroupResponse" "Amazonka.MemoryDb.DeleteSubnetGroup" "libZSservicesZSamazonka-memorydbZSamazonka-memorydb" 'False) (C1 ('MetaCons "DeleteSubnetGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "subnetGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SubnetGroup)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteSubnetGroupResponse Source #

Create a value of DeleteSubnetGroupResponse 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:subnetGroup:DeleteSubnetGroupResponse', deleteSubnetGroupResponse_subnetGroup - The subnet group object that has been deleted.

$sel:httpStatus:DeleteSubnetGroupResponse', deleteSubnetGroupResponse_httpStatus - The response's http status code.

Response Lenses