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
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:
- Statement
Name string - The name of the prepared statement.
- Work
Group string - The name of the workgroup to which the prepared statement belongs.
- Statement
Name string - The name of the prepared statement.
- Work
Group string - The name of the workgroup to which the prepared statement belongs.
- statement
Name String - The name of the prepared statement.
- work
Group String - The name of the workgroup to which the prepared statement belongs.
- statement
Name string - The name of the prepared statement.
- work
Group 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.
- statement
Name String - The name of the prepared statement.
- work
Group 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.
- Query
Statement string - The query string for the prepared statement.
- Description string
- The description of the prepared statement.
- Query
Statement string - The query string for the prepared statement.
- description String
- The description of the prepared statement.
- query
Statement String - The query string for the prepared statement.
- description string
- The description of the prepared statement.
- query
Statement 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.
- query
Statement String - The query string for the prepared statement.
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.9.0 published on Monday, Nov 18, 2024 by Pulumi