@pulumi/aws-native
Version:
The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)
40 lines (39 loc) • 1.26 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Resource schema for AWS::Athena::PreparedStatement
*/
export declare function getPreparedStatement(args: GetPreparedStatementArgs, opts?: pulumi.InvokeOptions): Promise<GetPreparedStatementResult>;
export interface GetPreparedStatementArgs {
/**
* The name of the prepared statement.
*/
statementName: string;
/**
* The name of the workgroup to which the prepared statement belongs.
*/
workGroup: string;
}
export interface GetPreparedStatementResult {
/**
* The description of the prepared statement.
*/
readonly description?: string;
/**
* The query string for the prepared statement.
*/
readonly queryStatement?: string;
}
/**
* Resource schema for AWS::Athena::PreparedStatement
*/
export declare function getPreparedStatementOutput(args: GetPreparedStatementOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPreparedStatementResult>;
export interface GetPreparedStatementOutputArgs {
/**
* The name of the prepared statement.
*/
statementName: pulumi.Input<string>;
/**
* The name of the workgroup to which the prepared statement belongs.
*/
workGroup: pulumi.Input<string>;
}