The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::Athena::CreateWorkGroup - Arguments for method CreateWorkGroup on Paws::Athena

DESCRIPTION

This class represents the parameters used for calling the method CreateWorkGroup on the Amazon Athena service. Use the attributes of this class as arguments to method CreateWorkGroup.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateWorkGroup.

SYNOPSIS

my $athena = Paws->service('Athena');
my $CreateWorkGroupOutput = $athena->CreateWorkGroup(
  Name          => 'MyWorkGroupName',
  Configuration => {
    BytesScannedCutoffPerQuery    => 1,    # min: 10000000; OPTIONAL
    EnforceWorkGroupConfiguration => 1,    # OPTIONAL
    EngineVersion                 => {
      EffectiveEngineVersion => 'MyNameString', # min: 1, max: 128; OPTIONAL
      SelectedEngineVersion  => 'MyNameString', # min: 1, max: 128; OPTIONAL
    },    # OPTIONAL
    PublishCloudWatchMetricsEnabled => 1,    # OPTIONAL
    RequesterPaysEnabled            => 1,    # OPTIONAL
    ResultConfiguration             => {
      EncryptionConfiguration => {
        EncryptionOption => 'SSE_S3',     # values: SSE_S3, SSE_KMS, CSE_KMS
        KmsKey           => 'MyString',   # OPTIONAL
      },    # OPTIONAL
      OutputLocation => 'MyString',    # OPTIONAL
    },    # OPTIONAL
  },    # OPTIONAL
  Description => 'MyWorkGroupDescriptionString',    # OPTIONAL
  Tags        => [
    {
      Key   => 'MyTagKey',      # min: 1, max: 128; OPTIONAL
      Value => 'MyTagValue',    # max: 256; OPTIONAL
    },
    ...
  ],    # OPTIONAL
);

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/athena/CreateWorkGroup

ATTRIBUTES

Configuration => Paws::Athena::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 => Str

The workgroup description.

REQUIRED Name => Str

The workgroup name.

Tags => ArrayRef[Paws::Athena::Tag]

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

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateWorkGroup in Paws::Athena

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues