Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Creates a replication subnet group given a list of the subnet IDs in a VPC.
- createReplicationSubnetGroup :: Text -> Text -> CreateReplicationSubnetGroup
- data CreateReplicationSubnetGroup
- crsgTags :: Lens' CreateReplicationSubnetGroup [Tag]
- crsgReplicationSubnetGroupIdentifier :: Lens' CreateReplicationSubnetGroup Text
- crsgReplicationSubnetGroupDescription :: Lens' CreateReplicationSubnetGroup Text
- crsgSubnetIds :: Lens' CreateReplicationSubnetGroup [Text]
- createReplicationSubnetGroupResponse :: Int -> CreateReplicationSubnetGroupResponse
- data CreateReplicationSubnetGroupResponse
- crsgrsReplicationSubnetGroup :: Lens' CreateReplicationSubnetGroupResponse (Maybe ReplicationSubnetGroup)
- crsgrsResponseStatus :: Lens' CreateReplicationSubnetGroupResponse Int
Creating a Request
createReplicationSubnetGroup Source #
:: Text | |
-> Text | |
-> CreateReplicationSubnetGroup |
Creates a value of CreateReplicationSubnetGroup
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
crsgTags
- The tag to be assigned to the subnet group.crsgReplicationSubnetGroupIdentifier
- 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
crsgReplicationSubnetGroupDescription
- The description for the subnet group.crsgSubnetIds
- The EC2 subnet IDs for the subnet group.
data CreateReplicationSubnetGroup Source #
See: createReplicationSubnetGroup
smart constructor.
Request Lenses
crsgTags :: Lens' CreateReplicationSubnetGroup [Tag] Source #
The tag to be assigned to the subnet group.
crsgReplicationSubnetGroupIdentifier :: 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
crsgReplicationSubnetGroupDescription :: Lens' CreateReplicationSubnetGroup Text Source #
The description for the subnet group.
crsgSubnetIds :: Lens' CreateReplicationSubnetGroup [Text] Source #
The EC2 subnet IDs for the subnet group.
Destructuring the Response
createReplicationSubnetGroupResponse Source #
Creates a value of CreateReplicationSubnetGroupResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
crsgrsReplicationSubnetGroup
- The replication subnet group that was created.crsgrsResponseStatus
- -- | The response status code.
data CreateReplicationSubnetGroupResponse Source #
See: createReplicationSubnetGroupResponse
smart constructor.
Response Lenses
crsgrsReplicationSubnetGroup :: Lens' CreateReplicationSubnetGroupResponse (Maybe ReplicationSubnetGroup) Source #
The replication subnet group that was created.
crsgrsResponseStatus :: Lens' CreateReplicationSubnetGroupResponse Int Source #
- - | The response status code.