NAME
Paws::Athena::CreateNamedQuery - Arguments for method CreateNamedQuery on Paws::Athena
DESCRIPTION
This class represents the parameters used for calling the method CreateNamedQuery on the Amazon Athena service. Use the attributes of this class as arguments to method CreateNamedQuery.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateNamedQuery.
SYNOPSIS
my $athena = Paws->service('Athena');
my $CreateNamedQueryOutput = $athena->CreateNamedQuery(
Database => 'MyDatabaseString',
Name => 'MyNameString',
QueryString => 'MyQueryString',
ClientRequestToken => 'MyIdempotencyToken', # OPTIONAL
Description => 'MyDescriptionString', # OPTIONAL
WorkGroup => 'MyWorkGroupName', # OPTIONAL
);
# Results:
my $NamedQueryId = $CreateNamedQueryOutput->NamedQueryId;
# Returns a L<Paws::Athena::CreateNamedQueryOutput> 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/CreateNamedQuery
ATTRIBUTES
ClientRequestToken => Str
A unique case-sensitive string used to ensure the request to create the query is idempotent (executes only once). If another CreateNamedQuery
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.
REQUIRED Database => Str
The database to which the query belongs.
Description => Str
The query description.
REQUIRED Name => Str
The query name.
REQUIRED QueryString => Str
The contents of the query with all query statements.
WorkGroup => Str
The name of the workgroup in which the named query is being created.
SEE ALSO
This class forms part of Paws, documenting arguments for method CreateNamedQuery 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