libZSservicesZSamazonka-dmsZSamazonka-dms
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.DMS.CreateReplicationSubnetGroup

Description

Creates a replication subnet group given a list of the subnet IDs in a VPC.

The VPC needs to have at least one subnet in at least two availability zones in the Amazon Web Services Region, otherwise the service will throw a ReplicationSubnetGroupDoesNotCoverEnoughAZs exception.

Synopsis

Creating a Request

data CreateReplicationSubnetGroup Source #

See: newCreateReplicationSubnetGroup smart constructor.

Constructors

CreateReplicationSubnetGroup' 

Fields

  • tags :: Maybe [Tag]

    One or more tags to be assigned to the subnet group.

  • replicationSubnetGroupIdentifier :: Text

    The name for the replication subnet group. This value is stored as a lowercase string.

    Constraints: Must contain no more than 255 alphanumeric characters, periods, spaces, underscores, or hyphens. Must not be "default".

    Example: mySubnetgroup

  • replicationSubnetGroupDescription :: Text

    The description for the subnet group.

  • subnetIds :: [Text]

    One or more subnet IDs to be assigned to the subnet group.

Instances

Instances details
Eq CreateReplicationSubnetGroup Source # 
Instance details

Defined in Amazonka.DMS.CreateReplicationSubnetGroup

Read CreateReplicationSubnetGroup Source # 
Instance details

Defined in Amazonka.DMS.CreateReplicationSubnetGroup

Show CreateReplicationSubnetGroup Source # 
Instance details

Defined in Amazonka.DMS.CreateReplicationSubnetGroup

Generic CreateReplicationSubnetGroup Source # 
Instance details

Defined in Amazonka.DMS.CreateReplicationSubnetGroup

Associated Types

type Rep CreateReplicationSubnetGroup :: Type -> Type #

NFData CreateReplicationSubnetGroup Source # 
Instance details

Defined in Amazonka.DMS.CreateReplicationSubnetGroup

Hashable CreateReplicationSubnetGroup Source # 
Instance details

Defined in Amazonka.DMS.CreateReplicationSubnetGroup

ToJSON CreateReplicationSubnetGroup Source # 
Instance details

Defined in Amazonka.DMS.CreateReplicationSubnetGroup

AWSRequest CreateReplicationSubnetGroup Source # 
Instance details

Defined in Amazonka.DMS.CreateReplicationSubnetGroup

ToHeaders CreateReplicationSubnetGroup Source # 
Instance details

Defined in Amazonka.DMS.CreateReplicationSubnetGroup

ToPath CreateReplicationSubnetGroup Source # 
Instance details

Defined in Amazonka.DMS.CreateReplicationSubnetGroup

ToQuery CreateReplicationSubnetGroup Source # 
Instance details

Defined in Amazonka.DMS.CreateReplicationSubnetGroup

type Rep CreateReplicationSubnetGroup Source # 
Instance details

Defined in Amazonka.DMS.CreateReplicationSubnetGroup

type Rep CreateReplicationSubnetGroup = D1 ('MetaData "CreateReplicationSubnetGroup" "Amazonka.DMS.CreateReplicationSubnetGroup" "libZSservicesZSamazonka-dmsZSamazonka-dms" 'False) (C1 ('MetaCons "CreateReplicationSubnetGroup'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "replicationSubnetGroupIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "replicationSubnetGroupDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "subnetIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]))))
type AWSResponse CreateReplicationSubnetGroup Source # 
Instance details

Defined in Amazonka.DMS.CreateReplicationSubnetGroup

newCreateReplicationSubnetGroup Source #

Create a value of CreateReplicationSubnetGroup 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:tags:CreateReplicationSubnetGroup', createReplicationSubnetGroup_tags - One or more tags to be assigned to the subnet group.

$sel:replicationSubnetGroupIdentifier:CreateReplicationSubnetGroup', createReplicationSubnetGroup_replicationSubnetGroupIdentifier - The name for the replication subnet group. This value is stored as a lowercase string.

Constraints: Must contain no more than 255 alphanumeric characters, periods, spaces, underscores, or hyphens. Must not be "default".

Example: mySubnetgroup

$sel:replicationSubnetGroupDescription:CreateReplicationSubnetGroup', createReplicationSubnetGroup_replicationSubnetGroupDescription - The description for the subnet group.

$sel:subnetIds:CreateReplicationSubnetGroup', createReplicationSubnetGroup_subnetIds - One or more subnet IDs to be assigned to the subnet group.

Request Lenses

createReplicationSubnetGroup_tags :: Lens' CreateReplicationSubnetGroup (Maybe [Tag]) Source #

One or more tags to be assigned to the subnet group.

createReplicationSubnetGroup_replicationSubnetGroupIdentifier :: Lens' CreateReplicationSubnetGroup Text Source #

The name for the replication subnet group. This value is stored as a lowercase string.

Constraints: Must contain no more than 255 alphanumeric characters, periods, spaces, underscores, or hyphens. Must not be "default".

Example: mySubnetgroup

createReplicationSubnetGroup_subnetIds :: Lens' CreateReplicationSubnetGroup [Text] Source #

One or more subnet IDs to be assigned to the subnet group.

Destructuring the Response

data CreateReplicationSubnetGroupResponse Source #

Constructors

CreateReplicationSubnetGroupResponse' 

Fields

Instances

Instances details
Eq CreateReplicationSubnetGroupResponse Source # 
Instance details

Defined in Amazonka.DMS.CreateReplicationSubnetGroup

Read CreateReplicationSubnetGroupResponse Source # 
Instance details

Defined in Amazonka.DMS.CreateReplicationSubnetGroup

Show CreateReplicationSubnetGroupResponse Source # 
Instance details

Defined in Amazonka.DMS.CreateReplicationSubnetGroup

Generic CreateReplicationSubnetGroupResponse Source # 
Instance details

Defined in Amazonka.DMS.CreateReplicationSubnetGroup

NFData CreateReplicationSubnetGroupResponse Source # 
Instance details

Defined in Amazonka.DMS.CreateReplicationSubnetGroup

type Rep CreateReplicationSubnetGroupResponse Source # 
Instance details

Defined in Amazonka.DMS.CreateReplicationSubnetGroup

type Rep CreateReplicationSubnetGroupResponse = D1 ('MetaData "CreateReplicationSubnetGroupResponse" "Amazonka.DMS.CreateReplicationSubnetGroup" "libZSservicesZSamazonka-dmsZSamazonka-dms" 'False) (C1 ('MetaCons "CreateReplicationSubnetGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "replicationSubnetGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReplicationSubnetGroup)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateReplicationSubnetGroupResponse Source #

Create a value of CreateReplicationSubnetGroupResponse 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:replicationSubnetGroup:CreateReplicationSubnetGroupResponse', createReplicationSubnetGroupResponse_replicationSubnetGroup - The replication subnet group that was created.

$sel:httpStatus:CreateReplicationSubnetGroupResponse', createReplicationSubnetGroupResponse_httpStatus - The response's http status code.

Response Lenses