- SEE ALSO
- BUGS and CONTRIBUTIONS
Paws::Athena::CreateNamedQuery - Arguments for method CreateNamedQuery on Paws::Athena
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.
my $athena = Paws->service('Athena'); my $CreateNamedQueryOutput = $athena->CreateNamedQuery( Database => 'MyDatabaseString', Name => 'MyNameString', QueryString => 'MyQueryString', ClientRequestToken => 'MyIdempotencyToken', # OPTIONAL Description => 'MyDescriptionString', # 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
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.
The database to which the query belongs.
A brief explanation of the query.
The plain language name for the query.
The text of the query itself. In other words, all query statements.
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