| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.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.
Synopsis
- data ModifyClusterSubnetGroup = ModifyClusterSubnetGroup' {
- description :: Maybe Text
- clusterSubnetGroupName :: Text
- subnetIds :: [Text]
- newModifyClusterSubnetGroup :: Text -> ModifyClusterSubnetGroup
- modifyClusterSubnetGroup_description :: Lens' ModifyClusterSubnetGroup (Maybe Text)
- modifyClusterSubnetGroup_clusterSubnetGroupName :: Lens' ModifyClusterSubnetGroup Text
- modifyClusterSubnetGroup_subnetIds :: Lens' ModifyClusterSubnetGroup [Text]
- data ModifyClusterSubnetGroupResponse = ModifyClusterSubnetGroupResponse' {}
- newModifyClusterSubnetGroupResponse :: Int -> ModifyClusterSubnetGroupResponse
- modifyClusterSubnetGroupResponse_clusterSubnetGroup :: Lens' ModifyClusterSubnetGroupResponse (Maybe ClusterSubnetGroup)
- modifyClusterSubnetGroupResponse_httpStatus :: Lens' ModifyClusterSubnetGroupResponse Int
Creating a Request
data ModifyClusterSubnetGroup Source #
See: newModifyClusterSubnetGroup smart constructor.
Constructors
| ModifyClusterSubnetGroup' | |
Fields
| |
Instances
newModifyClusterSubnetGroup Source #
Arguments
| :: Text | |
| -> ModifyClusterSubnetGroup |
Create a value of ModifyClusterSubnetGroup 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:
ModifyClusterSubnetGroup, modifyClusterSubnetGroup_description - A text description of the subnet group to be modified.
ModifyClusterSubnetGroup, modifyClusterSubnetGroup_clusterSubnetGroupName - The name of the subnet group to be modified.
$sel:subnetIds:ModifyClusterSubnetGroup', modifyClusterSubnetGroup_subnetIds - An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a
single request.
Request Lenses
modifyClusterSubnetGroup_description :: Lens' ModifyClusterSubnetGroup (Maybe Text) Source #
A text description of the subnet group to be modified.
modifyClusterSubnetGroup_clusterSubnetGroupName :: Lens' ModifyClusterSubnetGroup Text Source #
The name of the subnet group to be modified.
modifyClusterSubnetGroup_subnetIds :: Lens' ModifyClusterSubnetGroup [Text] Source #
An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.
Destructuring the Response
data ModifyClusterSubnetGroupResponse Source #
See: newModifyClusterSubnetGroupResponse smart constructor.
Constructors
| ModifyClusterSubnetGroupResponse' | |
Fields
| |
Instances
newModifyClusterSubnetGroupResponse Source #
Create a value of ModifyClusterSubnetGroupResponse 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:clusterSubnetGroup:ModifyClusterSubnetGroupResponse', modifyClusterSubnetGroupResponse_clusterSubnetGroup - Undocumented member.
$sel:httpStatus:ModifyClusterSubnetGroupResponse', modifyClusterSubnetGroupResponse_httpStatus - The response's http status code.
Response Lenses
modifyClusterSubnetGroupResponse_clusterSubnetGroup :: Lens' ModifyClusterSubnetGroupResponse (Maybe ClusterSubnetGroup) Source #
Undocumented member.
modifyClusterSubnetGroupResponse_httpStatus :: Lens' ModifyClusterSubnetGroupResponse Int Source #
The response's http status code.