Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Creates a new subnet group.
Synopsis
- createSubnetGroup :: Text -> CreateSubnetGroup
- data CreateSubnetGroup
- csgDescription :: Lens' CreateSubnetGroup (Maybe Text)
- csgSubnetGroupName :: Lens' CreateSubnetGroup Text
- csgSubnetIds :: Lens' CreateSubnetGroup [Text]
- createSubnetGroupResponse :: Int -> CreateSubnetGroupResponse
- data CreateSubnetGroupResponse
- csgrsSubnetGroup :: Lens' CreateSubnetGroupResponse (Maybe SubnetGroup)
- csgrsResponseStatus :: Lens' CreateSubnetGroupResponse Int
Creating a Request
Creates a value of CreateSubnetGroup
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
csgDescription
- A description for the subnet groupcsgSubnetGroupName
- A name for the subnet group. This value is stored as a lowercase string.csgSubnetIds
- A list of VPC subnet IDs for the subnet group.
data CreateSubnetGroup Source #
See: createSubnetGroup
smart constructor.
Instances
Request Lenses
csgDescription :: Lens' CreateSubnetGroup (Maybe Text) Source #
A description for the subnet group
csgSubnetGroupName :: Lens' CreateSubnetGroup Text Source #
A name for the subnet group. This value is stored as a lowercase string.
csgSubnetIds :: Lens' CreateSubnetGroup [Text] Source #
A list of VPC subnet IDs for the subnet group.
Destructuring the Response
createSubnetGroupResponse Source #
Creates a value of CreateSubnetGroupResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
csgrsSubnetGroup
- Represents the output of a CreateSubnetGroup operation.csgrsResponseStatus
- -- | The response status code.
data CreateSubnetGroupResponse Source #
See: createSubnetGroupResponse
smart constructor.
Instances
Response Lenses
csgrsSubnetGroup :: Lens' CreateSubnetGroupResponse (Maybe SubnetGroup) Source #
Represents the output of a CreateSubnetGroup operation.
csgrsResponseStatus :: Lens' CreateSubnetGroupResponse Int Source #
- - | The response status code.