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 the workgroup with the specified name. The workgroup's name
cannot be changed. Only one of ConfigurationsUpdates
or
ConfigurationUpdates
can be specified; ConfigurationsUpdates
for a
workgroup with multi engine support (for example, an Apache Spark
enabled workgroup) or ConfigurationUpdates
for an Athena SQL
workgroup.
Synopsis
- data UpdateWorkGroup = UpdateWorkGroup' {}
- newUpdateWorkGroup :: Text -> UpdateWorkGroup
- updateWorkGroup_configurationUpdates :: Lens' UpdateWorkGroup (Maybe WorkGroupConfigurationUpdates)
- updateWorkGroup_description :: Lens' UpdateWorkGroup (Maybe Text)
- updateWorkGroup_state :: Lens' UpdateWorkGroup (Maybe WorkGroupState)
- updateWorkGroup_workGroup :: Lens' UpdateWorkGroup Text
- data UpdateWorkGroupResponse = UpdateWorkGroupResponse' {
- httpStatus :: Int
- newUpdateWorkGroupResponse :: Int -> UpdateWorkGroupResponse
- updateWorkGroupResponse_httpStatus :: Lens' UpdateWorkGroupResponse Int
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:
$sel:configurationUpdates:UpdateWorkGroup'
, updateWorkGroup_configurationUpdates
- Contains configuration updates for an Athena SQL workgroup.
UpdateWorkGroup
, updateWorkGroup_description
- The workgroup description.
UpdateWorkGroup
, updateWorkGroup_state
- The workgroup state that will be updated for the given workgroup.
UpdateWorkGroup
, updateWorkGroup_workGroup
- The specified workgroup that will be updated.
Request Lenses
updateWorkGroup_configurationUpdates :: Lens' UpdateWorkGroup (Maybe WorkGroupConfigurationUpdates) Source #
Contains configuration updates for an Athena SQL workgroup.
updateWorkGroup_description :: Lens' UpdateWorkGroup (Maybe Text) Source #
The workgroup description.
updateWorkGroup_state :: Lens' UpdateWorkGroup (Maybe WorkGroupState) Source #
The workgroup state that will be updated for the given workgroup.
updateWorkGroup_workGroup :: Lens' UpdateWorkGroup Text Source #
The specified workgroup that will be updated.
Destructuring the Response
data UpdateWorkGroupResponse Source #
See: newUpdateWorkGroupResponse
smart constructor.
UpdateWorkGroupResponse' | |
|
Instances
newUpdateWorkGroupResponse Source #
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.
Response Lenses
updateWorkGroupResponse_httpStatus :: Lens' UpdateWorkGroupResponse Int Source #
The response's http status code.