athena_create_named_query: Creates a named query in the specified workgroup

View source: R/athena_operations.R

athena_create_named_queryR Documentation

Creates a named query in the specified workgroup

Description

Creates a named query in the specified workgroup. Requires that you have access to the workgroup.

See https://www.paws-r-sdk.com/docs/athena_create_named_query/ for full documentation.

Usage

athena_create_named_query(
  Name,
  Description = NULL,
  Database,
  QueryString,
  ClientRequestToken = NULL,
  WorkGroup = NULL
)

Arguments

Name

[required] The query name.

Description

The query description.

Database

[required] The database to which the query belongs.

QueryString

[required] The contents of the query with all query statements.

ClientRequestToken

A unique case-sensitive string used to ensure the request to create the query is idempotent (executes only once). If another create_named_query 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 Amazon Web Services SDKs (for example the Amazon Web Services SDK for Java) auto-generate the token for users. If you are not using the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide this token or the action will fail.

WorkGroup

The name of the workgroup in which the named query is being created.


paws.analytics documentation built on Sept. 11, 2023, 5:06 p.m.