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.Types.WorkGroup

Description

 
Synopsis

Documentation

data WorkGroup Source #

A workgroup, which contains a name, description, creation time, state, and other configuration, listed under WorkGroup$Configuration. Each workgroup enables you to isolate queries for you or your group of users from other queries in the same account, to configure the query results location and the encryption configuration (known as workgroup settings), to enable sending query metrics to Amazon CloudWatch, and to establish per-query data usage control limits for all queries in a workgroup. The workgroup settings override is specified in EnforceWorkGroupConfiguration (true/false) in the WorkGroupConfiguration. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.

See: newWorkGroup smart constructor.

Constructors

WorkGroup' 

Fields

  • configuration :: Maybe WorkGroupConfiguration

    The configuration of the workgroup, which includes the location in Amazon S3 where query results are stored, the encryption configuration, if any, used for query results; whether the Amazon CloudWatch Metrics are enabled for the workgroup; whether workgroup settings override client-side settings; and the data usage limits for the amount of data scanned per query or per workgroup. The workgroup settings override is specified in EnforceWorkGroupConfiguration (true/false) in the WorkGroupConfiguration. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.

  • creationTime :: Maybe POSIX

    The date and time the workgroup was created.

  • description :: Maybe Text

    The workgroup description.

  • state :: Maybe WorkGroupState

    The state of the workgroup: ENABLED or DISABLED.

  • name :: Text

    The workgroup name.

Instances

Instances details
FromJSON WorkGroup Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroup

Generic WorkGroup Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroup

Associated Types

type Rep WorkGroup :: Type -> Type #

Read WorkGroup Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroup

Show WorkGroup Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroup

NFData WorkGroup Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroup

Methods

rnf :: WorkGroup -> () #

Eq WorkGroup Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroup

Hashable WorkGroup Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroup

type Rep WorkGroup Source # 
Instance details

Defined in Amazonka.Athena.Types.WorkGroup

newWorkGroup Source #

Create a value of WorkGroup 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:configuration:WorkGroup', workGroup_configuration - The configuration of the workgroup, which includes the location in Amazon S3 where query results are stored, the encryption configuration, if any, used for query results; whether the Amazon CloudWatch Metrics are enabled for the workgroup; whether workgroup settings override client-side settings; and the data usage limits for the amount of data scanned per query or per workgroup. The workgroup settings override is specified in EnforceWorkGroupConfiguration (true/false) in the WorkGroupConfiguration. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.

$sel:creationTime:WorkGroup', workGroup_creationTime - The date and time the workgroup was created.

$sel:description:WorkGroup', workGroup_description - The workgroup description.

$sel:state:WorkGroup', workGroup_state - The state of the workgroup: ENABLED or DISABLED.

$sel:name:WorkGroup', workGroup_name - The workgroup name.

workGroup_configuration :: Lens' WorkGroup (Maybe WorkGroupConfiguration) Source #

The configuration of the workgroup, which includes the location in Amazon S3 where query results are stored, the encryption configuration, if any, used for query results; whether the Amazon CloudWatch Metrics are enabled for the workgroup; whether workgroup settings override client-side settings; and the data usage limits for the amount of data scanned per query or per workgroup. The workgroup settings override is specified in EnforceWorkGroupConfiguration (true/false) in the WorkGroupConfiguration. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.

workGroup_creationTime :: Lens' WorkGroup (Maybe UTCTime) Source #

The date and time the workgroup was created.

workGroup_description :: Lens' WorkGroup (Maybe Text) Source #

The workgroup description.

workGroup_state :: Lens' WorkGroup (Maybe WorkGroupState) Source #

The state of the workgroup: ENABLED or DISABLED.

workGroup_name :: Lens' WorkGroup Text Source #

The workgroup name.