amazonka-athena-2.0: Amazon Athena SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Athena.UpdateWorkGroup

Description

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

Creating a Request

data UpdateWorkGroup Source #

See: newUpdateWorkGroup smart constructor.

Constructors

UpdateWorkGroup' 

Fields

Instances

Instances details
ToJSON UpdateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

ToHeaders UpdateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

ToPath UpdateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

ToQuery UpdateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

AWSRequest UpdateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

Associated Types

type AWSResponse UpdateWorkGroup #

Generic UpdateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

Associated Types

type Rep UpdateWorkGroup :: Type -> Type #

Read UpdateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

Show UpdateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

NFData UpdateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

Methods

rnf :: UpdateWorkGroup -> () #

Eq UpdateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

Hashable UpdateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

type AWSResponse UpdateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

type Rep UpdateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

type Rep UpdateWorkGroup = D1 ('MetaData "UpdateWorkGroup" "Amazonka.Athena.UpdateWorkGroup" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "UpdateWorkGroup'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "configurationUpdates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WorkGroupConfigurationUpdates)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WorkGroupState)) :*: S1 ('MetaSel ('Just "workGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newUpdateWorkGroup Source #

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_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.

Constructors

UpdateWorkGroupResponse' 

Fields

Instances

Instances details
Generic UpdateWorkGroupResponse Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

Associated Types

type Rep UpdateWorkGroupResponse :: Type -> Type #

Read UpdateWorkGroupResponse Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

Show UpdateWorkGroupResponse Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

NFData UpdateWorkGroupResponse Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

Methods

rnf :: UpdateWorkGroupResponse -> () #

Eq UpdateWorkGroupResponse Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

type Rep UpdateWorkGroupResponse Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

type Rep UpdateWorkGroupResponse = D1 ('MetaData "UpdateWorkGroupResponse" "Amazonka.Athena.UpdateWorkGroup" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "UpdateWorkGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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