Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data CreateReplicationSubnetGroup = CreateReplicationSubnetGroup' {}
- newCreateReplicationSubnetGroup :: Text -> Text -> CreateReplicationSubnetGroup
- createReplicationSubnetGroup_tags :: Lens' CreateReplicationSubnetGroup (Maybe [Tag])
- createReplicationSubnetGroup_replicationSubnetGroupIdentifier :: Lens' CreateReplicationSubnetGroup Text
- createReplicationSubnetGroup_replicationSubnetGroupDescription :: Lens' CreateReplicationSubnetGroup Text
- createReplicationSubnetGroup_subnetIds :: Lens' CreateReplicationSubnetGroup [Text]
- data CreateReplicationSubnetGroupResponse = CreateReplicationSubnetGroupResponse' {}
- newCreateReplicationSubnetGroupResponse :: Int -> CreateReplicationSubnetGroupResponse
- createReplicationSubnetGroupResponse_replicationSubnetGroup :: Lens' CreateReplicationSubnetGroupResponse (Maybe ReplicationSubnetGroup)
- createReplicationSubnetGroupResponse_httpStatus :: Lens' CreateReplicationSubnetGroupResponse Int
Creating a Request
data CreateReplicationSubnetGroup Source #
See: newCreateReplicationSubnetGroup
smart constructor.
CreateReplicationSubnetGroup' | |
|
Instances
newCreateReplicationSubnetGroup Source #
:: Text |
|
-> Text |
|
-> CreateReplicationSubnetGroup |
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_replicationSubnetGroupDescription :: Lens' CreateReplicationSubnetGroup Text Source #
The description for the subnet group.
createReplicationSubnetGroup_subnetIds :: Lens' CreateReplicationSubnetGroup [Text] Source #
One or more subnet IDs to be assigned to the subnet group.
Destructuring the Response
data CreateReplicationSubnetGroupResponse Source #
See: newCreateReplicationSubnetGroupResponse
smart constructor.
CreateReplicationSubnetGroupResponse' | |
|
Instances
Eq CreateReplicationSubnetGroupResponse Source # | |
Read CreateReplicationSubnetGroupResponse Source # | |
Show CreateReplicationSubnetGroupResponse Source # | |
Generic CreateReplicationSubnetGroupResponse Source # | |
NFData CreateReplicationSubnetGroupResponse Source # | |
Defined in Amazonka.DMS.CreateReplicationSubnetGroup rnf :: CreateReplicationSubnetGroupResponse -> () # | |
type Rep CreateReplicationSubnetGroupResponse Source # | |
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
createReplicationSubnetGroupResponse_replicationSubnetGroup :: Lens' CreateReplicationSubnetGroupResponse (Maybe ReplicationSubnetGroup) Source #
The replication subnet group that was created.
createReplicationSubnetGroupResponse_httpStatus :: Lens' CreateReplicationSubnetGroupResponse Int Source #
The response's http status code.