1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. athena
  5. getNamedQuery

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

aws-native.athena.getNamedQuery

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

Resource schema for AWS::Athena::NamedQuery

Using getNamedQuery

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getNamedQuery(args: GetNamedQueryArgs, opts?: InvokeOptions): Promise<GetNamedQueryResult>
function getNamedQueryOutput(args: GetNamedQueryOutputArgs, opts?: InvokeOptions): Output<GetNamedQueryResult>
Copy
def get_named_query(named_query_id: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetNamedQueryResult
def get_named_query_output(named_query_id: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetNamedQueryResult]
Copy
func LookupNamedQuery(ctx *Context, args *LookupNamedQueryArgs, opts ...InvokeOption) (*LookupNamedQueryResult, error)
func LookupNamedQueryOutput(ctx *Context, args *LookupNamedQueryOutputArgs, opts ...InvokeOption) LookupNamedQueryResultOutput
Copy

> Note: This function is named LookupNamedQuery in the Go SDK.

public static class GetNamedQuery 
{
    public static Task<GetNamedQueryResult> InvokeAsync(GetNamedQueryArgs args, InvokeOptions? opts = null)
    public static Output<GetNamedQueryResult> Invoke(GetNamedQueryInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetNamedQueryResult> getNamedQuery(GetNamedQueryArgs args, InvokeOptions options)
public static Output<GetNamedQueryResult> getNamedQuery(GetNamedQueryArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws-native:athena:getNamedQuery
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

NamedQueryId This property is required. string
The unique ID of the query.
NamedQueryId This property is required. string
The unique ID of the query.
namedQueryId This property is required. String
The unique ID of the query.
namedQueryId This property is required. string
The unique ID of the query.
named_query_id This property is required. str
The unique ID of the query.
namedQueryId This property is required. String
The unique ID of the query.

getNamedQuery Result

The following output properties are available:

NamedQueryId string
The unique ID of the query.
NamedQueryId string
The unique ID of the query.
namedQueryId String
The unique ID of the query.
namedQueryId string
The unique ID of the query.
named_query_id str
The unique ID of the query.
namedQueryId String
The unique ID of the query.

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi