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

Description

Creates a workgroup with the specified name.

Synopsis

Creating a Request

data CreateWorkGroup Source #

See: newCreateWorkGroup smart constructor.

Constructors

CreateWorkGroup' 

Fields

  • configuration :: Maybe WorkGroupConfiguration

    The configuration for the workgroup, which includes the location in Amazon S3 where query results are stored, the encryption configuration, if any, used for encrypting query results, whether the Amazon CloudWatch Metrics are enabled for the workgroup, the limit for the amount of bytes scanned (cutoff) per query, if it is specified, and whether workgroup's settings (specified with EnforceWorkGroupConfiguration) in the WorkGroupConfiguration override client-side settings. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.

  • description :: Maybe Text

    The workgroup description.

  • tags :: Maybe [Tag]

    A list of comma separated tags to add to the workgroup that is created.

  • name :: Text

    The workgroup name.

Instances

Instances details
Eq CreateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.CreateWorkGroup

Read CreateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.CreateWorkGroup

Show CreateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.CreateWorkGroup

Generic CreateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.CreateWorkGroup

Associated Types

type Rep CreateWorkGroup :: Type -> Type #

NFData CreateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.CreateWorkGroup

Methods

rnf :: CreateWorkGroup -> () #

Hashable CreateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.CreateWorkGroup

ToJSON CreateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.CreateWorkGroup

AWSRequest CreateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.CreateWorkGroup

Associated Types

type AWSResponse CreateWorkGroup #

ToHeaders CreateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.CreateWorkGroup

ToPath CreateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.CreateWorkGroup

ToQuery CreateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.CreateWorkGroup

type Rep CreateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.CreateWorkGroup

type Rep CreateWorkGroup = D1 ('MetaData "CreateWorkGroup" "Amazonka.Athena.CreateWorkGroup" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "CreateWorkGroup'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "configuration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WorkGroupConfiguration)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreateWorkGroup Source # 
Instance details

Defined in Amazonka.Athena.CreateWorkGroup

newCreateWorkGroup Source #

Create a value of CreateWorkGroup 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:CreateWorkGroup', createWorkGroup_configuration - The configuration for the workgroup, which includes the location in Amazon S3 where query results are stored, the encryption configuration, if any, used for encrypting query results, whether the Amazon CloudWatch Metrics are enabled for the workgroup, the limit for the amount of bytes scanned (cutoff) per query, if it is specified, and whether workgroup's settings (specified with EnforceWorkGroupConfiguration) in the WorkGroupConfiguration override client-side settings. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.

$sel:description:CreateWorkGroup', createWorkGroup_description - The workgroup description.

$sel:tags:CreateWorkGroup', createWorkGroup_tags - A list of comma separated tags to add to the workgroup that is created.

$sel:name:CreateWorkGroup', createWorkGroup_name - The workgroup name.

Request Lenses

createWorkGroup_configuration :: Lens' CreateWorkGroup (Maybe WorkGroupConfiguration) Source #

The configuration for the workgroup, which includes the location in Amazon S3 where query results are stored, the encryption configuration, if any, used for encrypting query results, whether the Amazon CloudWatch Metrics are enabled for the workgroup, the limit for the amount of bytes scanned (cutoff) per query, if it is specified, and whether workgroup's settings (specified with EnforceWorkGroupConfiguration) in the WorkGroupConfiguration override client-side settings. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.

createWorkGroup_tags :: Lens' CreateWorkGroup (Maybe [Tag]) Source #

A list of comma separated tags to add to the workgroup that is created.

Destructuring the Response

data CreateWorkGroupResponse Source #

See: newCreateWorkGroupResponse smart constructor.

Constructors

CreateWorkGroupResponse' 

Fields

Instances

Instances details
Eq CreateWorkGroupResponse Source # 
Instance details

Defined in Amazonka.Athena.CreateWorkGroup

Read CreateWorkGroupResponse Source # 
Instance details

Defined in Amazonka.Athena.CreateWorkGroup

Show CreateWorkGroupResponse Source # 
Instance details

Defined in Amazonka.Athena.CreateWorkGroup

Generic CreateWorkGroupResponse Source # 
Instance details

Defined in Amazonka.Athena.CreateWorkGroup

Associated Types

type Rep CreateWorkGroupResponse :: Type -> Type #

NFData CreateWorkGroupResponse Source # 
Instance details

Defined in Amazonka.Athena.CreateWorkGroup

Methods

rnf :: CreateWorkGroupResponse -> () #

type Rep CreateWorkGroupResponse Source # 
Instance details

Defined in Amazonka.Athena.CreateWorkGroup

type Rep CreateWorkGroupResponse = D1 ('MetaData "CreateWorkGroupResponse" "Amazonka.Athena.CreateWorkGroup" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "CreateWorkGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateWorkGroupResponse Source #

Create a value of CreateWorkGroupResponse 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:CreateWorkGroupResponse', createWorkGroupResponse_httpStatus - The response's http status code.

Response Lenses