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

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.100.0 published on Wednesday, Mar 27, 2024 by Pulumi

aws-native.athena.getNamedQuery

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.100.0 published on Wednesday, Mar 27, 2024 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>
    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
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.100.0 published on Wednesday, Mar 27, 2024 by Pulumi