AWS Native

v0.29.0 published on Thursday, Sep 8, 2022 by Pulumi

getNamedQuery

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>
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]
func LookupNamedQuery(ctx *Context, args *LookupNamedQueryArgs, opts ...InvokeOption) (*LookupNamedQueryResult, error)
func LookupNamedQueryOutput(ctx *Context, args *LookupNamedQueryOutputArgs, opts ...InvokeOption) LookupNamedQueryResultOutput

> 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)
}
public static CompletableFuture<GetNamedQueryResult> getNamedQuery(GetNamedQueryArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: aws-native:athena:getNamedQuery
  Arguments:
    # Arguments dictionary

The following arguments are supported:

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.

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
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0