Skip to content

Get Named Query

athena_get_named_query R Documentation

Returns information about a single query

Description

Returns information about a single query. Requires that you have access to the workgroup in which the query was saved.

Usage

athena_get_named_query(NamedQueryId)

Arguments

NamedQueryId

[required] The unique ID of the query. Use list_named_queries to get query IDs.

Value

A list with the following syntax:

list(
  NamedQuery = list(
    Name = "string",
    Description = "string",
    Database = "string",
    QueryString = "string",
    NamedQueryId = "string",
    WorkGroup = "string"
  )
)

Request syntax

svc$get_named_query(
  NamedQueryId = "string"
)