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.ModifyDBSubnetGroup

Description

Modifies an existing DB subnet group. DB subnet groups must contain at least one subnet in at least two AZs in the Amazon Region.

Synopsis

Creating a Request

data ModifyDBSubnetGroup Source #

See: newModifyDBSubnetGroup smart constructor.

Constructors

ModifyDBSubnetGroup' 

Fields

  • dbSubnetGroupDescription :: Maybe Text

    The description for the DB subnet group.

  • dbSubnetGroupName :: Text

    The name for the DB subnet group. This value is stored as a lowercase string. You can't modify the default subnet group.

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

    Example: mySubnetgroup

  • subnetIds :: [Text]

    The EC2 subnet IDs for the DB subnet group.

Instances

Instances details
Eq ModifyDBSubnetGroup Source # 
Instance details

Defined in Amazonka.Neptune.ModifyDBSubnetGroup

Read ModifyDBSubnetGroup Source # 
Instance details

Defined in Amazonka.Neptune.ModifyDBSubnetGroup

Show ModifyDBSubnetGroup Source # 
Instance details

Defined in Amazonka.Neptune.ModifyDBSubnetGroup

Generic ModifyDBSubnetGroup Source # 
Instance details

Defined in Amazonka.Neptune.ModifyDBSubnetGroup

Associated Types

type Rep ModifyDBSubnetGroup :: Type -> Type #

NFData ModifyDBSubnetGroup Source # 
Instance details

Defined in Amazonka.Neptune.ModifyDBSubnetGroup

Methods

rnf :: ModifyDBSubnetGroup -> () #

Hashable ModifyDBSubnetGroup Source # 
Instance details

Defined in Amazonka.Neptune.ModifyDBSubnetGroup

AWSRequest ModifyDBSubnetGroup Source # 
Instance details

Defined in Amazonka.Neptune.ModifyDBSubnetGroup

Associated Types

type AWSResponse ModifyDBSubnetGroup #

ToHeaders ModifyDBSubnetGroup Source # 
Instance details

Defined in Amazonka.Neptune.ModifyDBSubnetGroup

ToPath ModifyDBSubnetGroup Source # 
Instance details

Defined in Amazonka.Neptune.ModifyDBSubnetGroup

ToQuery ModifyDBSubnetGroup Source # 
Instance details

Defined in Amazonka.Neptune.ModifyDBSubnetGroup

type Rep ModifyDBSubnetGroup Source # 
Instance details

Defined in Amazonka.Neptune.ModifyDBSubnetGroup

type Rep ModifyDBSubnetGroup = D1 ('MetaData "ModifyDBSubnetGroup" "Amazonka.Neptune.ModifyDBSubnetGroup" "libZSservicesZSamazonka-neptuneZSamazonka-neptune" 'False) (C1 ('MetaCons "ModifyDBSubnetGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dbSubnetGroupDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "dbSubnetGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "subnetIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]))))
type AWSResponse ModifyDBSubnetGroup Source # 
Instance details

Defined in Amazonka.Neptune.ModifyDBSubnetGroup

newModifyDBSubnetGroup Source #

Create a value of ModifyDBSubnetGroup 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:dbSubnetGroupDescription:ModifyDBSubnetGroup', modifyDBSubnetGroup_dbSubnetGroupDescription - The description for the DB subnet group.

$sel:dbSubnetGroupName:ModifyDBSubnetGroup', modifyDBSubnetGroup_dbSubnetGroupName - The name for the DB subnet group. This value is stored as a lowercase string. You can't modify the default subnet group.

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

Example: mySubnetgroup

$sel:subnetIds:ModifyDBSubnetGroup', modifyDBSubnetGroup_subnetIds - The EC2 subnet IDs for the DB subnet group.

Request Lenses

modifyDBSubnetGroup_dbSubnetGroupName :: Lens' ModifyDBSubnetGroup Text Source #

The name for the DB subnet group. This value is stored as a lowercase string. You can't modify the default subnet group.

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

Example: mySubnetgroup

modifyDBSubnetGroup_subnetIds :: Lens' ModifyDBSubnetGroup [Text] Source #

The EC2 subnet IDs for the DB subnet group.

Destructuring the Response

data ModifyDBSubnetGroupResponse Source #

See: newModifyDBSubnetGroupResponse smart constructor.

Constructors

ModifyDBSubnetGroupResponse' 

Fields

Instances

Instances details
Eq ModifyDBSubnetGroupResponse Source # 
Instance details

Defined in Amazonka.Neptune.ModifyDBSubnetGroup

Read ModifyDBSubnetGroupResponse Source # 
Instance details

Defined in Amazonka.Neptune.ModifyDBSubnetGroup

Show ModifyDBSubnetGroupResponse Source # 
Instance details

Defined in Amazonka.Neptune.ModifyDBSubnetGroup

Generic ModifyDBSubnetGroupResponse Source # 
Instance details

Defined in Amazonka.Neptune.ModifyDBSubnetGroup

Associated Types

type Rep ModifyDBSubnetGroupResponse :: Type -> Type #

NFData ModifyDBSubnetGroupResponse Source # 
Instance details

Defined in Amazonka.Neptune.ModifyDBSubnetGroup

type Rep ModifyDBSubnetGroupResponse Source # 
Instance details

Defined in Amazonka.Neptune.ModifyDBSubnetGroup

type Rep ModifyDBSubnetGroupResponse = D1 ('MetaData "ModifyDBSubnetGroupResponse" "Amazonka.Neptune.ModifyDBSubnetGroup" "libZSservicesZSamazonka-neptuneZSamazonka-neptune" 'False) (C1 ('MetaCons "ModifyDBSubnetGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dbSubnetGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DBSubnetGroup)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newModifyDBSubnetGroupResponse Source #

Create a value of ModifyDBSubnetGroupResponse 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:dbSubnetGroup:ModifyDBSubnetGroupResponse', modifyDBSubnetGroupResponse_dbSubnetGroup - Undocumented member.

$sel:httpStatus:ModifyDBSubnetGroupResponse', modifyDBSubnetGroupResponse_httpStatus - The response's http status code.

Response Lenses