| 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 |
Network.AWS.Redshift.ModifyClusterSubnetGroup
Description
Modifies a cluster subnet group to include the specified list of VPC subnets. The operation replaces the existing list of subnets with the new list of subnets.
- modifyClusterSubnetGroup :: Text -> ModifyClusterSubnetGroup
- data ModifyClusterSubnetGroup
- mcsgDescription :: Lens' ModifyClusterSubnetGroup (Maybe Text)
- mcsgClusterSubnetGroupName :: Lens' ModifyClusterSubnetGroup Text
- mcsgSubnetIds :: Lens' ModifyClusterSubnetGroup [Text]
- modifyClusterSubnetGroupResponse :: Int -> ModifyClusterSubnetGroupResponse
- data ModifyClusterSubnetGroupResponse
- mcsgrsClusterSubnetGroup :: Lens' ModifyClusterSubnetGroupResponse (Maybe ClusterSubnetGroup)
- mcsgrsResponseStatus :: Lens' ModifyClusterSubnetGroupResponse Int
Creating a Request
Arguments
| :: Text | |
| -> ModifyClusterSubnetGroup |
Creates a value of ModifyClusterSubnetGroup with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mcsgDescription- A text description of the subnet group to be modified.mcsgClusterSubnetGroupName- The name of the subnet group to be modified.mcsgSubnetIds- An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.
data ModifyClusterSubnetGroup #
See: modifyClusterSubnetGroup smart constructor.
Instances
Request Lenses
mcsgDescription :: Lens' ModifyClusterSubnetGroup (Maybe Text) #
A text description of the subnet group to be modified.
mcsgClusterSubnetGroupName :: Lens' ModifyClusterSubnetGroup Text #
The name of the subnet group to be modified.
mcsgSubnetIds :: Lens' ModifyClusterSubnetGroup [Text] #
An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.
Destructuring the Response
modifyClusterSubnetGroupResponse #
Arguments
| :: Int | |
| -> ModifyClusterSubnetGroupResponse |
Creates a value of ModifyClusterSubnetGroupResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mcsgrsClusterSubnetGroup- Undocumented member.mcsgrsResponseStatus- -- | The response status code.
data ModifyClusterSubnetGroupResponse #
See: modifyClusterSubnetGroupResponse smart constructor.
Response Lenses
mcsgrsClusterSubnetGroup :: Lens' ModifyClusterSubnetGroupResponse (Maybe ClusterSubnetGroup) #
Undocumented member.
mcsgrsResponseStatus :: Lens' ModifyClusterSubnetGroupResponse Int #
- - | The response status code.