amazonka-rds-2.0: Amazon Relational Database Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.RDS.Types.DBSubnetGroup

Description

 
Synopsis

Documentation

data DBSubnetGroup Source #

Contains the details of an Amazon RDS DB subnet group.

This data type is used as a response element in the DescribeDBSubnetGroups action.

See: newDBSubnetGroup smart constructor.

Constructors

DBSubnetGroup' 

Fields

Instances

Instances details
FromXML DBSubnetGroup Source # 
Instance details

Defined in Amazonka.RDS.Types.DBSubnetGroup

Generic DBSubnetGroup Source # 
Instance details

Defined in Amazonka.RDS.Types.DBSubnetGroup

Associated Types

type Rep DBSubnetGroup :: Type -> Type #

Read DBSubnetGroup Source # 
Instance details

Defined in Amazonka.RDS.Types.DBSubnetGroup

Show DBSubnetGroup Source # 
Instance details

Defined in Amazonka.RDS.Types.DBSubnetGroup

NFData DBSubnetGroup Source # 
Instance details

Defined in Amazonka.RDS.Types.DBSubnetGroup

Methods

rnf :: DBSubnetGroup -> () #

Eq DBSubnetGroup Source # 
Instance details

Defined in Amazonka.RDS.Types.DBSubnetGroup

Hashable DBSubnetGroup Source # 
Instance details

Defined in Amazonka.RDS.Types.DBSubnetGroup

type Rep DBSubnetGroup Source # 
Instance details

Defined in Amazonka.RDS.Types.DBSubnetGroup

type Rep DBSubnetGroup = D1 ('MetaData "DBSubnetGroup" "Amazonka.RDS.Types.DBSubnetGroup" "amazonka-rds-2.0-3xXyiLHmAvvCXXUIx1uhpP" 'False) (C1 ('MetaCons "DBSubnetGroup'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dbSubnetGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "dbSubnetGroupDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "dbSubnetGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "subnetGroupStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "subnets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Subnet]))) :*: (S1 ('MetaSel ('Just "supportedNetworkTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "vpcId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newDBSubnetGroup :: DBSubnetGroup Source #

Create a value of DBSubnetGroup 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:dbSubnetGroupArn:DBSubnetGroup', dbSubnetGroup_dbSubnetGroupArn - The Amazon Resource Name (ARN) for the DB subnet group.

$sel:dbSubnetGroupDescription:DBSubnetGroup', dbSubnetGroup_dbSubnetGroupDescription - Provides the description of the DB subnet group.

$sel:dbSubnetGroupName:DBSubnetGroup', dbSubnetGroup_dbSubnetGroupName - The name of the DB subnet group.

$sel:subnetGroupStatus:DBSubnetGroup', dbSubnetGroup_subnetGroupStatus - Provides the status of the DB subnet group.

$sel:subnets:DBSubnetGroup', dbSubnetGroup_subnets - Contains a list of Subnet elements.

$sel:supportedNetworkTypes:DBSubnetGroup', dbSubnetGroup_supportedNetworkTypes - The network type of the DB subnet group.

Valid values:

  • IPV4
  • DUAL

A DBSubnetGroup can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (DUAL).

For more information, see Working with a DB instance in a VPC in the Amazon RDS User Guide.

$sel:vpcId:DBSubnetGroup', dbSubnetGroup_vpcId - Provides the VpcId of the DB subnet group.

dbSubnetGroup_dbSubnetGroupArn :: Lens' DBSubnetGroup (Maybe Text) Source #

The Amazon Resource Name (ARN) for the DB subnet group.

dbSubnetGroup_dbSubnetGroupDescription :: Lens' DBSubnetGroup (Maybe Text) Source #

Provides the description of the DB subnet group.

dbSubnetGroup_subnetGroupStatus :: Lens' DBSubnetGroup (Maybe Text) Source #

Provides the status of the DB subnet group.

dbSubnetGroup_subnets :: Lens' DBSubnetGroup (Maybe [Subnet]) Source #

Contains a list of Subnet elements.

dbSubnetGroup_supportedNetworkTypes :: Lens' DBSubnetGroup (Maybe [Text]) Source #

The network type of the DB subnet group.

Valid values:

  • IPV4
  • DUAL

A DBSubnetGroup can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (DUAL).

For more information, see Working with a DB instance in a VPC in the Amazon RDS User Guide.

dbSubnetGroup_vpcId :: Lens' DBSubnetGroup (Maybe Text) Source #

Provides the VpcId of the DB subnet group.