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

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

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.athena.getPreparedStatement

Explore with Pulumi AI

aws-native logo

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

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

    Resource schema for AWS::Athena::PreparedStatement

    Using getPreparedStatement

    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 getPreparedStatement(args: GetPreparedStatementArgs, opts?: InvokeOptions): Promise<GetPreparedStatementResult>
    function getPreparedStatementOutput(args: GetPreparedStatementOutputArgs, opts?: InvokeOptions): Output<GetPreparedStatementResult>
    def get_prepared_statement(statement_name: Optional[str] = None,
                               work_group: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetPreparedStatementResult
    def get_prepared_statement_output(statement_name: Optional[pulumi.Input[str]] = None,
                               work_group: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetPreparedStatementResult]
    func LookupPreparedStatement(ctx *Context, args *LookupPreparedStatementArgs, opts ...InvokeOption) (*LookupPreparedStatementResult, error)
    func LookupPreparedStatementOutput(ctx *Context, args *LookupPreparedStatementOutputArgs, opts ...InvokeOption) LookupPreparedStatementResultOutput

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

    public static class GetPreparedStatement 
    {
        public static Task<GetPreparedStatementResult> InvokeAsync(GetPreparedStatementArgs args, InvokeOptions? opts = null)
        public static Output<GetPreparedStatementResult> Invoke(GetPreparedStatementInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPreparedStatementResult> getPreparedStatement(GetPreparedStatementArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:athena:getPreparedStatement
      arguments:
        # arguments dictionary

    The following arguments are supported:

    StatementName string
    The name of the prepared statement.
    WorkGroup string
    The name of the workgroup to which the prepared statement belongs.
    StatementName string
    The name of the prepared statement.
    WorkGroup string
    The name of the workgroup to which the prepared statement belongs.
    statementName String
    The name of the prepared statement.
    workGroup String
    The name of the workgroup to which the prepared statement belongs.
    statementName string
    The name of the prepared statement.
    workGroup string
    The name of the workgroup to which the prepared statement belongs.
    statement_name str
    The name of the prepared statement.
    work_group str
    The name of the workgroup to which the prepared statement belongs.
    statementName String
    The name of the prepared statement.
    workGroup String
    The name of the workgroup to which the prepared statement belongs.

    getPreparedStatement Result

    The following output properties are available:

    Description string
    The description of the prepared statement.
    QueryStatement string
    The query string for the prepared statement.
    Description string
    The description of the prepared statement.
    QueryStatement string
    The query string for the prepared statement.
    description String
    The description of the prepared statement.
    queryStatement String
    The query string for the prepared statement.
    description string
    The description of the prepared statement.
    queryStatement string
    The query string for the prepared statement.
    description str
    The description of the prepared statement.
    query_statement str
    The query string for the prepared statement.
    description String
    The description of the prepared statement.
    queryStatement String
    The query string for the prepared statement.

    Package Details

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

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

    AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi