Skip to content

List Named Queries

athena_list_named_queries R Documentation

Provides a list of available query IDs only for queries saved in the specified workgroup

Description

Provides a list of available query IDs only for queries saved in the specified workgroup. Requires that you have access to the specified workgroup. If a workgroup is not specified, lists the saved queries for the primary workgroup.

Usage

athena_list_named_queries(NextToken, MaxResults, WorkGroup)

Arguments

NextToken

A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.

MaxResults

The maximum number of queries to return in this request.

WorkGroup

The name of the workgroup from which the named queries are being returned. If a workgroup is not specified, the saved queries for the primary workgroup are returned.

Value

A list with the following syntax:

list(
  NamedQueryIds = list(
    "string"
  ),
  NextToken = "string"
)

Request syntax

svc$list_named_queries(
  NextToken = "string",
  MaxResults = 123,
  WorkGroup = "string"
)