++ed by:
SALVA KEEDI KES AKIYM ETHER

17 PAUSE users
15 non-PAUSE users.

Jose Luis Martinez Torres
and 1 contributors

NAME

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

DESCRIPTION

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

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

SYNOPSIS

    my $athena = Paws->service('Athena');
    my $StartQueryExecutionOutput = $athena->StartQueryExecution(
      QueryString         => 'MyQueryString',
      ResultConfiguration => {
        OutputLocation          => 'MyString',
        EncryptionConfiguration => {
          EncryptionOption => 'SSE_S3',     # values: SSE_S3, SSE_KMS, CSE_KMS
          KmsKey           => 'MyString',
        },    # OPTIONAL
      },
      ClientRequestToken    => 'MyIdempotencyToken',    # OPTIONAL
      QueryExecutionContext => {
        Database => 'MyDatabaseString',    # min: 1, max: 32; OPTIONAL
      },    # OPTIONAL
    );

    # Results:
    my $QueryExecutionId = $StartQueryExecutionOutput->QueryExecutionId;

    # Returns a L<Paws::Athena::StartQueryExecutionOutput> object.

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/StartQueryExecution

ATTRIBUTES

ClientRequestToken => Str

A unique case-sensitive string used to ensure the request to create the query is idempotent (executes only once). If another StartQueryExecution request is received, the same response is returned and another query is not created. If a parameter has changed, for example, the QueryString, an error is returned.

This token is listed as not required because AWS SDKs (for example the AWS SDK for Java) auto-generate the token for users. If you are not using the AWS SDK or the AWS CLI, you must provide this token or the action will fail.

QueryExecutionContext => Paws::Athena::QueryExecutionContext

The database within which the query executes.

REQUIRED QueryString => Str

The SQL query statements to be executed.

REQUIRED ResultConfiguration => Paws::Athena::ResultConfiguration

Specifies information about where and how to save the results of the query execution.

SEE ALSO

This class forms part of Paws, documenting arguments for method StartQueryExecution 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