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 |
Updates a workgroup with the specified configuration settings.
Synopsis
- data UpdateWorkgroup = UpdateWorkgroup' {}
- newUpdateWorkgroup :: Text -> UpdateWorkgroup
- updateWorkgroup_baseCapacity :: Lens' UpdateWorkgroup (Maybe Int)
- updateWorkgroup_configParameters :: Lens' UpdateWorkgroup (Maybe [ConfigParameter])
- updateWorkgroup_enhancedVpcRouting :: Lens' UpdateWorkgroup (Maybe Bool)
- updateWorkgroup_port :: Lens' UpdateWorkgroup (Maybe Int)
- updateWorkgroup_publiclyAccessible :: Lens' UpdateWorkgroup (Maybe Bool)
- updateWorkgroup_securityGroupIds :: Lens' UpdateWorkgroup (Maybe [Text])
- updateWorkgroup_subnetIds :: Lens' UpdateWorkgroup (Maybe [Text])
- updateWorkgroup_workgroupName :: Lens' UpdateWorkgroup Text
- data UpdateWorkgroupResponse = UpdateWorkgroupResponse' {
- httpStatus :: Int
- workgroup :: Workgroup
- newUpdateWorkgroupResponse :: Int -> Workgroup -> UpdateWorkgroupResponse
- updateWorkgroupResponse_httpStatus :: Lens' UpdateWorkgroupResponse Int
- updateWorkgroupResponse_workgroup :: Lens' UpdateWorkgroupResponse Workgroup
Creating a Request
data UpdateWorkgroup Source #
See: newUpdateWorkgroup
smart constructor.
UpdateWorkgroup' | |
|
Instances
Create a value of UpdateWorkgroup
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:
UpdateWorkgroup
, updateWorkgroup_baseCapacity
- The new base data warehouse capacity in Redshift Processing Units
(RPUs).
UpdateWorkgroup
, updateWorkgroup_configParameters
- An array of parameters to set for advanced control over a database. The
options are datestyle
, enable_user_activity_logging
, query_group
,
search_path
, and max_query_execution_time
.
UpdateWorkgroup
, updateWorkgroup_enhancedVpcRouting
- The value that specifies whether to turn on enhanced virtual private
cloud (VPC) routing, which forces Amazon Redshift Serverless to route
traffic through your VPC.
UpdateWorkgroup
, updateWorkgroup_port
- The custom port to use when connecting to a workgroup. Valid port ranges
are 5431-5455 and 8191-8215. The default is 5439.
UpdateWorkgroup
, updateWorkgroup_publiclyAccessible
- A value that specifies whether the workgroup can be accessible from a
public network.
UpdateWorkgroup
, updateWorkgroup_securityGroupIds
- An array of security group IDs to associate with the workgroup.
UpdateWorkgroup
, updateWorkgroup_subnetIds
- An array of VPC subnet IDs to associate with the workgroup.
UpdateWorkgroup
, updateWorkgroup_workgroupName
- The name of the workgroup to update.
Request Lenses
updateWorkgroup_baseCapacity :: Lens' UpdateWorkgroup (Maybe Int) Source #
The new base data warehouse capacity in Redshift Processing Units (RPUs).
updateWorkgroup_configParameters :: Lens' UpdateWorkgroup (Maybe [ConfigParameter]) Source #
An array of parameters to set for advanced control over a database. The
options are datestyle
, enable_user_activity_logging
, query_group
,
search_path
, and max_query_execution_time
.
updateWorkgroup_enhancedVpcRouting :: Lens' UpdateWorkgroup (Maybe Bool) Source #
The value that specifies whether to turn on enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC.
updateWorkgroup_port :: Lens' UpdateWorkgroup (Maybe Int) Source #
The custom port to use when connecting to a workgroup. Valid port ranges are 5431-5455 and 8191-8215. The default is 5439.
updateWorkgroup_publiclyAccessible :: Lens' UpdateWorkgroup (Maybe Bool) Source #
A value that specifies whether the workgroup can be accessible from a public network.
updateWorkgroup_securityGroupIds :: Lens' UpdateWorkgroup (Maybe [Text]) Source #
An array of security group IDs to associate with the workgroup.
updateWorkgroup_subnetIds :: Lens' UpdateWorkgroup (Maybe [Text]) Source #
An array of VPC subnet IDs to associate with the workgroup.
updateWorkgroup_workgroupName :: Lens' UpdateWorkgroup Text Source #
The name of the workgroup to update.
Destructuring the Response
data UpdateWorkgroupResponse Source #
See: newUpdateWorkgroupResponse
smart constructor.
UpdateWorkgroupResponse' | |
|
Instances
newUpdateWorkgroupResponse Source #
:: Int | |
-> Workgroup | |
-> UpdateWorkgroupResponse |
Create a value of UpdateWorkgroupResponse
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:httpStatus:UpdateWorkgroupResponse'
, updateWorkgroupResponse_httpStatus
- The response's http status code.
$sel:workgroup:UpdateWorkgroupResponse'
, updateWorkgroupResponse_workgroup
- The updated workgroup object.
Response Lenses
updateWorkgroupResponse_httpStatus :: Lens' UpdateWorkgroupResponse Int Source #
The response's http status code.
updateWorkgroupResponse_workgroup :: Lens' UpdateWorkgroupResponse Workgroup Source #
The updated workgroup object.