| 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 |
Amazonka.Athena.UpdateWorkGroup
Description
Updates the workgroup with the specified name. The workgroup's name cannot be changed.
Synopsis
- data UpdateWorkGroup = UpdateWorkGroup' {}
- newUpdateWorkGroup :: Text -> UpdateWorkGroup
- updateWorkGroup_state :: Lens' UpdateWorkGroup (Maybe WorkGroupState)
- updateWorkGroup_configurationUpdates :: Lens' UpdateWorkGroup (Maybe WorkGroupConfigurationUpdates)
- updateWorkGroup_description :: Lens' UpdateWorkGroup (Maybe Text)
- 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.
Constructors
| UpdateWorkGroup' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> UpdateWorkGroup |
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:state:UpdateWorkGroup', updateWorkGroup_state - The workgroup state that will be updated for the given workgroup.
$sel:configurationUpdates:UpdateWorkGroup', updateWorkGroup_configurationUpdates - The workgroup configuration that will be updated for the given
workgroup.
$sel:description:UpdateWorkGroup', updateWorkGroup_description - The workgroup description.
$sel:workGroup:UpdateWorkGroup', updateWorkGroup_workGroup - The specified workgroup that will be updated.
Request Lenses
updateWorkGroup_state :: Lens' UpdateWorkGroup (Maybe WorkGroupState) Source #
The workgroup state that will be updated for the given workgroup.
updateWorkGroup_configurationUpdates :: Lens' UpdateWorkGroup (Maybe WorkGroupConfigurationUpdates) Source #
The workgroup configuration that will be updated for the given workgroup.
updateWorkGroup_description :: Lens' UpdateWorkGroup (Maybe Text) Source #
The workgroup description.
updateWorkGroup_workGroup :: Lens' UpdateWorkGroup Text Source #
The specified workgroup that will be updated.
Destructuring the Response
data UpdateWorkGroupResponse Source #
See: newUpdateWorkGroupResponse smart constructor.
Constructors
| UpdateWorkGroupResponse' | |
Fields
| |
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.