libZSservicesZSamazonka-athenaZSamazonka-athena
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Athena.UpdateWorkGroup

Description

Updates the workgroup with the specified name. The workgroup's name cannot be changed.

Synopsis

Creating a Request

data UpdateWorkGroup Source #

See: newUpdateWorkGroup smart constructor.

Constructors

UpdateWorkGroup' 

Fields

Instances

Instances details
Eq UpdateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

Read UpdateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

Show UpdateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

Generic UpdateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

Associated Types

type Rep UpdateWorkGroup :: Type -> Type #

NFData UpdateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

Methods

rnf :: UpdateWorkGroup -> () #

Hashable UpdateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

ToJSON UpdateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

AWSRequest UpdateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

Associated Types

type AWSResponse 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

type Rep UpdateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

type Rep UpdateWorkGroup = D1 ('MetaData "UpdateWorkGroup" "Amazonka.Athena.UpdateWorkGroup" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "UpdateWorkGroup'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WorkGroupState)) :*: S1 ('MetaSel ('Just "configurationUpdates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WorkGroupConfigurationUpdates))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "workGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

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: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_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
Eq UpdateWorkGroupResponse Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

Read UpdateWorkGroupResponse Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

Show UpdateWorkGroupResponse Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

Generic UpdateWorkGroupResponse Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

Associated Types

type Rep UpdateWorkGroupResponse :: Type -> Type #

NFData UpdateWorkGroupResponse Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

Methods

rnf :: UpdateWorkGroupResponse -> () #

type Rep UpdateWorkGroupResponse Source # 
Instance details

Defined in Amazonka.Athena.UpdateWorkGroup

type Rep UpdateWorkGroupResponse = D1 ('MetaData "UpdateWorkGroupResponse" "Amazonka.Athena.UpdateWorkGroup" "libZSservicesZSamazonka-athenaZSamazonka-athena" '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