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 |
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.
ModifyClusterSubnetGroup' | |
|
Instances
newModifyClusterSubnetGroup Source #
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:
$sel:description:ModifyClusterSubnetGroup'
, modifyClusterSubnetGroup_description
- A text description of the subnet group to be modified.
$sel:clusterSubnetGroupName: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.
ModifyClusterSubnetGroupResponse' | |
|
Instances
Eq ModifyClusterSubnetGroupResponse Source # | |
Read ModifyClusterSubnetGroupResponse Source # | |
Show ModifyClusterSubnetGroupResponse Source # | |
Generic ModifyClusterSubnetGroupResponse Source # | |
NFData ModifyClusterSubnetGroupResponse Source # | |
Defined in Amazonka.Redshift.ModifyClusterSubnetGroup rnf :: ModifyClusterSubnetGroupResponse -> () # | |
type Rep ModifyClusterSubnetGroupResponse Source # | |
Defined in Amazonka.Redshift.ModifyClusterSubnetGroup type Rep ModifyClusterSubnetGroupResponse = D1 ('MetaData "ModifyClusterSubnetGroupResponse" "Amazonka.Redshift.ModifyClusterSubnetGroup" "libZSservicesZSamazonka-redshiftZSamazonka-redshift" 'False) (C1 ('MetaCons "ModifyClusterSubnetGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clusterSubnetGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClusterSubnetGroup)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.