agent-claw: automated task changes
This commit is contained in:
57
cdk/node_modules/aws-cdk-lib/aws-stepfunctions-tasks/lib/athena/get-query-execution.d.ts
generated
vendored
Normal file
57
cdk/node_modules/aws-cdk-lib/aws-stepfunctions-tasks/lib/athena/get-query-execution.d.ts
generated
vendored
Normal file
@@ -0,0 +1,57 @@
|
||||
import type { Construct } from 'constructs';
|
||||
import * as iam from '../../../aws-iam';
|
||||
import * as sfn from '../../../aws-stepfunctions';
|
||||
interface AthenaGetQueryExecutionOptions {
|
||||
/**
|
||||
* Query that will be retrieved
|
||||
*
|
||||
* Example value: `adfsaf-23trf23-f23rt23`
|
||||
*/
|
||||
readonly queryExecutionId: string;
|
||||
}
|
||||
/**
|
||||
* Properties for getting a Query Execution using JSONPath
|
||||
*/
|
||||
export interface AthenaGetQueryExecutionJsonPathProps extends sfn.TaskStateJsonPathBaseProps, AthenaGetQueryExecutionOptions {
|
||||
}
|
||||
/**
|
||||
* Properties for getting a Query Execution using JSONata
|
||||
*/
|
||||
export interface AthenaGetQueryExecutionJsonataProps extends sfn.TaskStateJsonataBaseProps, AthenaGetQueryExecutionOptions {
|
||||
}
|
||||
/**
|
||||
* Properties for getting a Query Execution
|
||||
*/
|
||||
export interface AthenaGetQueryExecutionProps extends sfn.TaskStateBaseProps, AthenaGetQueryExecutionOptions {
|
||||
}
|
||||
/**
|
||||
* Get an Athena Query Execution as a Task
|
||||
*
|
||||
* @see https://docs.aws.amazon.com/step-functions/latest/dg/connect-athena.html
|
||||
*/
|
||||
export declare class AthenaGetQueryExecution extends sfn.TaskStateBase {
|
||||
private readonly props;
|
||||
/**
|
||||
* Get an Athena Query Execution as a Task that using JSONPath
|
||||
*
|
||||
* @see https://docs.aws.amazon.com/step-functions/latest/dg/connect-athena.html
|
||||
*/
|
||||
static jsonPath(scope: Construct, id: string, props: AthenaGetQueryExecutionJsonPathProps): AthenaGetQueryExecution;
|
||||
/**
|
||||
* Get an Athena Query Execution as a Task that using JSONata
|
||||
*
|
||||
* @see https://docs.aws.amazon.com/step-functions/latest/dg/connect-athena.html
|
||||
*/
|
||||
static jsonata(scope: Construct, id: string, props: AthenaGetQueryExecutionJsonataProps): AthenaGetQueryExecution;
|
||||
private static readonly SUPPORTED_INTEGRATION_PATTERNS;
|
||||
protected readonly taskMetrics?: sfn.TaskMetricsConfig;
|
||||
protected readonly taskPolicies?: iam.PolicyStatement[];
|
||||
private readonly integrationPattern;
|
||||
constructor(scope: Construct, id: string, props: AthenaGetQueryExecutionProps);
|
||||
/**
|
||||
* Provides the Athena get query execution service integration task configuration
|
||||
* @internal
|
||||
*/
|
||||
protected _renderTask(topLevelQueryLanguage?: sfn.QueryLanguage): any;
|
||||
}
|
||||
export {};
|
||||
1
cdk/node_modules/aws-cdk-lib/aws-stepfunctions-tasks/lib/athena/get-query-execution.js
generated
vendored
Normal file
1
cdk/node_modules/aws-cdk-lib/aws-stepfunctions-tasks/lib/athena/get-query-execution.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.AthenaGetQueryExecution=void 0;var jsiiDeprecationWarnings=()=>{var tmp=require("../../../.warnings.jsii.js");return jsiiDeprecationWarnings=()=>tmp,tmp};const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");var iam=()=>{var tmp=require("../../../aws-iam");return iam=()=>tmp,tmp},sfn=()=>{var tmp=require("../../../aws-stepfunctions");return sfn=()=>tmp,tmp},task_utils_1=()=>{var tmp=require("../private/task-utils");return task_utils_1=()=>tmp,tmp};class AthenaGetQueryExecution extends sfn().TaskStateBase{props;static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_stepfunctions_tasks.AthenaGetQueryExecution",version:"2.252.0"};static jsonPath(scope,id,props){try{jsiiDeprecationWarnings().aws_cdk_lib_aws_stepfunctions_tasks_AthenaGetQueryExecutionJsonPathProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.jsonPath),error}return new AthenaGetQueryExecution(scope,id,props)}static jsonata(scope,id,props){try{jsiiDeprecationWarnings().aws_cdk_lib_aws_stepfunctions_tasks_AthenaGetQueryExecutionJsonataProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.jsonata),error}return new AthenaGetQueryExecution(scope,id,{...props,queryLanguage:sfn().QueryLanguage.JSONATA})}static SUPPORTED_INTEGRATION_PATTERNS=[sfn().IntegrationPattern.REQUEST_RESPONSE];taskMetrics;taskPolicies;integrationPattern;constructor(scope,id,props){super(scope,id,props),this.props=props;try{jsiiDeprecationWarnings().aws_cdk_lib_aws_stepfunctions_tasks_AthenaGetQueryExecutionProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,AthenaGetQueryExecution),error}this.integrationPattern=props.integrationPattern??sfn().IntegrationPattern.REQUEST_RESPONSE,(0,task_utils_1().validatePatternSupported)(this.integrationPattern,AthenaGetQueryExecution.SUPPORTED_INTEGRATION_PATTERNS),this.taskPolicies=[new(iam()).PolicyStatement({resources:["*"],actions:["athena:getQueryExecution"]})]}_renderTask(topLevelQueryLanguage){const queryLanguage=sfn()._getActualQueryLanguage(topLevelQueryLanguage,this.props.queryLanguage);return{Resource:(0,task_utils_1().integrationResourceArn)("athena","getQueryExecution",this.integrationPattern),...this._renderParametersOrArguments({QueryExecutionId:this.props.queryExecutionId},queryLanguage)}}}exports.AthenaGetQueryExecution=AthenaGetQueryExecution;
|
||||
69
cdk/node_modules/aws-cdk-lib/aws-stepfunctions-tasks/lib/athena/get-query-results.d.ts
generated
vendored
Normal file
69
cdk/node_modules/aws-cdk-lib/aws-stepfunctions-tasks/lib/athena/get-query-results.d.ts
generated
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
import type { Construct } from 'constructs';
|
||||
import * as iam from '../../../aws-iam';
|
||||
import * as sfn from '../../../aws-stepfunctions';
|
||||
interface AthenaGetQueryResultsOptions {
|
||||
/**
|
||||
* Query that will be retrieved
|
||||
*
|
||||
* Example value: `adfsaf-23trf23-f23rt23`
|
||||
*/
|
||||
readonly queryExecutionId: string;
|
||||
/**
|
||||
* Pagination token
|
||||
*
|
||||
* @default - No next token
|
||||
*/
|
||||
readonly nextToken?: string;
|
||||
/**
|
||||
* Max number of results
|
||||
*
|
||||
* @default 1000
|
||||
*/
|
||||
readonly maxResults?: number;
|
||||
}
|
||||
/**
|
||||
* Properties for getting a Query Results using JSONPath
|
||||
*/
|
||||
export interface AthenaGetQueryResultsJsonPathProps extends sfn.TaskStateJsonPathBaseProps, AthenaGetQueryResultsOptions {
|
||||
}
|
||||
/**
|
||||
* Properties for getting a Query Results using JSONata
|
||||
*/
|
||||
export interface AthenaGetQueryResultsJsonataProps extends sfn.TaskStateJsonataBaseProps, AthenaGetQueryResultsOptions {
|
||||
}
|
||||
/**
|
||||
* Properties for getting a Query Results
|
||||
*/
|
||||
export interface AthenaGetQueryResultsProps extends sfn.TaskStateBaseProps, AthenaGetQueryResultsOptions {
|
||||
}
|
||||
/**
|
||||
* Get an Athena Query Results as a Task
|
||||
*
|
||||
* @see https://docs.aws.amazon.com/step-functions/latest/dg/connect-athena.html
|
||||
*/
|
||||
export declare class AthenaGetQueryResults extends sfn.TaskStateBase {
|
||||
private readonly props;
|
||||
/**
|
||||
* Get an Athena Query Results as a Task that using JSONPath
|
||||
*
|
||||
* @see https://docs.aws.amazon.com/step-functions/latest/dg/connect-athena.html
|
||||
*/
|
||||
static jsonPath(scope: Construct, id: string, props: AthenaGetQueryResultsJsonPathProps): AthenaGetQueryResults;
|
||||
/**
|
||||
* Get an Athena Query Results as a Task that using JSONata
|
||||
*
|
||||
* @see https://docs.aws.amazon.com/step-functions/latest/dg/connect-athena.html
|
||||
*/
|
||||
static jsonata(scope: Construct, id: string, props: AthenaGetQueryResultsJsonataProps): AthenaGetQueryResults;
|
||||
private static readonly SUPPORTED_INTEGRATION_PATTERNS;
|
||||
protected readonly taskMetrics?: sfn.TaskMetricsConfig;
|
||||
protected readonly taskPolicies?: iam.PolicyStatement[];
|
||||
private readonly integrationPattern;
|
||||
constructor(scope: Construct, id: string, props: AthenaGetQueryResultsProps);
|
||||
/**
|
||||
* Provides the Athena get query results service integration task configuration
|
||||
* @internal
|
||||
*/
|
||||
protected _renderTask(topLevelQueryLanguage?: sfn.QueryLanguage): any;
|
||||
}
|
||||
export {};
|
||||
1
cdk/node_modules/aws-cdk-lib/aws-stepfunctions-tasks/lib/athena/get-query-results.js
generated
vendored
Normal file
1
cdk/node_modules/aws-cdk-lib/aws-stepfunctions-tasks/lib/athena/get-query-results.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.AthenaGetQueryResults=void 0;var jsiiDeprecationWarnings=()=>{var tmp=require("../../../.warnings.jsii.js");return jsiiDeprecationWarnings=()=>tmp,tmp};const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");var iam=()=>{var tmp=require("../../../aws-iam");return iam=()=>tmp,tmp},sfn=()=>{var tmp=require("../../../aws-stepfunctions");return sfn=()=>tmp,tmp},task_utils_1=()=>{var tmp=require("../private/task-utils");return task_utils_1=()=>tmp,tmp};class AthenaGetQueryResults extends sfn().TaskStateBase{props;static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_stepfunctions_tasks.AthenaGetQueryResults",version:"2.252.0"};static jsonPath(scope,id,props){try{jsiiDeprecationWarnings().aws_cdk_lib_aws_stepfunctions_tasks_AthenaGetQueryResultsJsonPathProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.jsonPath),error}return new AthenaGetQueryResults(scope,id,props)}static jsonata(scope,id,props){try{jsiiDeprecationWarnings().aws_cdk_lib_aws_stepfunctions_tasks_AthenaGetQueryResultsJsonataProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.jsonata),error}return new AthenaGetQueryResults(scope,id,{...props,queryLanguage:sfn().QueryLanguage.JSONATA})}static SUPPORTED_INTEGRATION_PATTERNS=[sfn().IntegrationPattern.REQUEST_RESPONSE];taskMetrics;taskPolicies;integrationPattern;constructor(scope,id,props){super(scope,id,props),this.props=props;try{jsiiDeprecationWarnings().aws_cdk_lib_aws_stepfunctions_tasks_AthenaGetQueryResultsProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,AthenaGetQueryResults),error}this.integrationPattern=props.integrationPattern??sfn().IntegrationPattern.REQUEST_RESPONSE,(0,task_utils_1().validatePatternSupported)(this.integrationPattern,AthenaGetQueryResults.SUPPORTED_INTEGRATION_PATTERNS);const policyStatements=[new(iam()).PolicyStatement({resources:["*"],actions:["athena:getQueryResults"]})];policyStatements.push(new(iam()).PolicyStatement({actions:["s3:GetObject"],resources:["*"]})),this.taskPolicies=policyStatements}_renderTask(topLevelQueryLanguage){const queryLanguage=sfn()._getActualQueryLanguage(topLevelQueryLanguage,this.props.queryLanguage);return{Resource:(0,task_utils_1().integrationResourceArn)("athena","getQueryResults",this.integrationPattern),...this._renderParametersOrArguments({QueryExecutionId:this.props.queryExecutionId,NextToken:this.props.nextToken,MaxResults:this.props.maxResults},queryLanguage)}}}exports.AthenaGetQueryResults=AthenaGetQueryResults;
|
||||
183
cdk/node_modules/aws-cdk-lib/aws-stepfunctions-tasks/lib/athena/start-query-execution.d.ts
generated
vendored
Normal file
183
cdk/node_modules/aws-cdk-lib/aws-stepfunctions-tasks/lib/athena/start-query-execution.d.ts
generated
vendored
Normal file
@@ -0,0 +1,183 @@
|
||||
import type { Construct } from 'constructs';
|
||||
import * as iam from '../../../aws-iam';
|
||||
import type * as kms from '../../../aws-kms';
|
||||
import type * as s3 from '../../../aws-s3';
|
||||
import * as sfn from '../../../aws-stepfunctions';
|
||||
import * as cdk from '../../../core';
|
||||
interface AthenaStartQueryExecutionOptions {
|
||||
/**
|
||||
* Query that will be started
|
||||
*/
|
||||
readonly queryString: string;
|
||||
/**
|
||||
* Unique string string to ensure idempotence
|
||||
*
|
||||
* @default - No client request token
|
||||
*/
|
||||
readonly clientRequestToken?: string;
|
||||
/**
|
||||
* Database within which query executes
|
||||
*
|
||||
* @default - No query execution context
|
||||
*/
|
||||
readonly queryExecutionContext?: QueryExecutionContext;
|
||||
/**
|
||||
* Configuration on how and where to save query
|
||||
*
|
||||
* @default - No result configuration
|
||||
*/
|
||||
readonly resultConfiguration?: ResultConfiguration;
|
||||
/**
|
||||
* Configuration on how and where to save query
|
||||
*
|
||||
* @default - No work group
|
||||
*/
|
||||
readonly workGroup?: string;
|
||||
/**
|
||||
* A list of values for the parameters in a query.
|
||||
*
|
||||
* The values are applied sequentially to the parameters in the query in the order
|
||||
* in which the parameters occur.
|
||||
*
|
||||
* @default - No parameters
|
||||
*/
|
||||
readonly executionParameters?: string[];
|
||||
/**
|
||||
* Specifies, in minutes, the maximum age of a previous query result that Athena should consider for reuse.
|
||||
*
|
||||
* @default - Query results are not reused
|
||||
*/
|
||||
readonly resultReuseConfigurationMaxAge?: cdk.Duration;
|
||||
}
|
||||
/**
|
||||
* Properties for starting a Query Execution using JSONPath
|
||||
*/
|
||||
export interface AthenaStartQueryExecutionJsonPathProps extends sfn.TaskStateJsonPathBaseProps, AthenaStartQueryExecutionOptions {
|
||||
}
|
||||
/**
|
||||
* Properties for starting a Query Execution using JSONata
|
||||
*/
|
||||
export interface AthenaStartQueryExecutionJsonataProps extends sfn.TaskStateJsonataBaseProps, AthenaStartQueryExecutionOptions {
|
||||
}
|
||||
/**
|
||||
* Properties for starting a Query Execution
|
||||
*/
|
||||
export interface AthenaStartQueryExecutionProps extends sfn.TaskStateBaseProps, AthenaStartQueryExecutionOptions {
|
||||
}
|
||||
/**
|
||||
* Start an Athena Query as a Task
|
||||
*
|
||||
* @see https://docs.aws.amazon.com/step-functions/latest/dg/connect-athena.html
|
||||
*/
|
||||
export declare class AthenaStartQueryExecution extends sfn.TaskStateBase {
|
||||
private readonly props;
|
||||
/**
|
||||
* Start an Athena Query as a Task using JSONPath
|
||||
*/
|
||||
static jsonPath(scope: Construct, id: string, props: AthenaStartQueryExecutionJsonPathProps): AthenaStartQueryExecution;
|
||||
/**
|
||||
* Start an Athena Query as a Task using JSONata
|
||||
*/
|
||||
static jsonata(scope: Construct, id: string, props: AthenaStartQueryExecutionJsonataProps): AthenaStartQueryExecution;
|
||||
private static readonly SUPPORTED_INTEGRATION_PATTERNS;
|
||||
protected readonly taskMetrics?: sfn.TaskMetricsConfig;
|
||||
protected readonly taskPolicies?: iam.PolicyStatement[];
|
||||
private readonly integrationPattern;
|
||||
constructor(scope: Construct, id: string, props: AthenaStartQueryExecutionProps);
|
||||
private validateExecutionParameters;
|
||||
private validateMaxAgeInMinutes;
|
||||
private createPolicyStatements;
|
||||
private renderEncryption;
|
||||
/**
|
||||
* Provides the Athena start query execution service integration task configuration
|
||||
*/
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
protected _renderTask(topLevelQueryLanguage?: sfn.QueryLanguage): any;
|
||||
}
|
||||
/**
|
||||
* Location of query result along with S3 bucket configuration
|
||||
*
|
||||
* @see https://docs.aws.amazon.com/athena/latest/APIReference/API_ResultConfiguration.html
|
||||
*/
|
||||
export interface ResultConfiguration {
|
||||
/**
|
||||
* S3 path of query results
|
||||
*
|
||||
* Example value: `s3://query-results-bucket/folder/`
|
||||
*
|
||||
* @default - Query Result Location set in Athena settings for this workgroup
|
||||
*/
|
||||
readonly outputLocation?: s3.Location;
|
||||
/**
|
||||
* Encryption option used if enabled in S3
|
||||
*
|
||||
* @default - SSE_S3 encryption is enabled with default encryption key
|
||||
*/
|
||||
readonly encryptionConfiguration?: EncryptionConfiguration;
|
||||
}
|
||||
/**
|
||||
* Encryption Configuration of the S3 bucket
|
||||
*
|
||||
* @see https://docs.aws.amazon.com/athena/latest/APIReference/API_EncryptionConfiguration.html
|
||||
*/
|
||||
export interface EncryptionConfiguration {
|
||||
/**
|
||||
* Type of S3 server-side encryption enabled
|
||||
*
|
||||
* @default EncryptionOption.S3_MANAGED
|
||||
*/
|
||||
readonly encryptionOption: EncryptionOption;
|
||||
/**
|
||||
* KMS key ARN or ID
|
||||
*
|
||||
* @default - No KMS key for Encryption Option SSE_S3 and default master key for Encryption Option SSE_KMS and CSE_KMS
|
||||
*/
|
||||
readonly encryptionKey?: kms.IKey;
|
||||
}
|
||||
/**
|
||||
* Encryption Options of the S3 bucket
|
||||
*
|
||||
* @see https://docs.aws.amazon.com/athena/latest/APIReference/API_EncryptionConfiguration.html#athena-Type-EncryptionConfiguration-EncryptionOption
|
||||
*/
|
||||
export declare enum EncryptionOption {
|
||||
/**
|
||||
* Server side encryption (SSE) with an Amazon S3-managed key.
|
||||
*
|
||||
* @see https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html
|
||||
*/
|
||||
S3_MANAGED = "SSE_S3",
|
||||
/**
|
||||
* Server-side encryption (SSE) with an AWS KMS key managed by the account owner.
|
||||
*
|
||||
* @see https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html
|
||||
*/
|
||||
KMS = "SSE_KMS",
|
||||
/**
|
||||
* Client-side encryption (CSE) with an AWS KMS key managed by the account owner.
|
||||
*
|
||||
* @see https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingClientSideEncryption.html
|
||||
*/
|
||||
CLIENT_SIDE_KMS = "CSE_KMS"
|
||||
}
|
||||
/**
|
||||
* Database and data catalog context in which the query execution occurs
|
||||
*
|
||||
* @see https://docs.aws.amazon.com/athena/latest/APIReference/API_QueryExecutionContext.html
|
||||
*/
|
||||
export interface QueryExecutionContext {
|
||||
/**
|
||||
* Name of catalog used in query execution
|
||||
*
|
||||
* @default - No catalog
|
||||
*/
|
||||
readonly catalogName?: string;
|
||||
/**
|
||||
* Name of database used in query execution
|
||||
*
|
||||
* @default - No database
|
||||
*/
|
||||
readonly databaseName?: string;
|
||||
}
|
||||
export {};
|
||||
1
cdk/node_modules/aws-cdk-lib/aws-stepfunctions-tasks/lib/athena/start-query-execution.js
generated
vendored
Normal file
1
cdk/node_modules/aws-cdk-lib/aws-stepfunctions-tasks/lib/athena/start-query-execution.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
53
cdk/node_modules/aws-cdk-lib/aws-stepfunctions-tasks/lib/athena/stop-query-execution.d.ts
generated
vendored
Normal file
53
cdk/node_modules/aws-cdk-lib/aws-stepfunctions-tasks/lib/athena/stop-query-execution.d.ts
generated
vendored
Normal file
@@ -0,0 +1,53 @@
|
||||
import type { Construct } from 'constructs';
|
||||
import * as iam from '../../../aws-iam';
|
||||
import * as sfn from '../../../aws-stepfunctions';
|
||||
interface AthenaStopQueryExecutionOptions {
|
||||
/**
|
||||
* Query that will be stopped
|
||||
*/
|
||||
readonly queryExecutionId: string;
|
||||
}
|
||||
/**
|
||||
* Properties for stopping a Query Execution using JSONPath
|
||||
*/
|
||||
export interface AthenaStopQueryExecutionJsonPathProps extends sfn.TaskStateJsonPathBaseProps, AthenaStopQueryExecutionOptions {
|
||||
}
|
||||
/**
|
||||
* Properties for stopping a Query Execution using JSONata
|
||||
*/
|
||||
export interface AthenaStopQueryExecutionJsonataProps extends sfn.TaskStateJsonataBaseProps, AthenaStopQueryExecutionOptions {
|
||||
}
|
||||
/**
|
||||
* Properties for stopping a Query Execution
|
||||
*/
|
||||
export interface AthenaStopQueryExecutionProps extends sfn.TaskStateBaseProps, AthenaStopQueryExecutionOptions {
|
||||
}
|
||||
/**
|
||||
* Stop an Athena Query Execution as a Task
|
||||
*
|
||||
* @see https://docs.aws.amazon.com/step-functions/latest/dg/connect-athena.html
|
||||
*/
|
||||
export declare class AthenaStopQueryExecution extends sfn.TaskStateBase {
|
||||
private readonly props;
|
||||
/**
|
||||
* Stop an Athena Query Execution as a Task using JSONPath
|
||||
*/
|
||||
static jsonPath(scope: Construct, id: string, props: AthenaStopQueryExecutionJsonPathProps): AthenaStopQueryExecution;
|
||||
/**
|
||||
* Stop an Athena Query Execution as a Task using JSONata
|
||||
*/
|
||||
static jsonata(scope: Construct, id: string, props: AthenaStopQueryExecutionJsonataProps): AthenaStopQueryExecution;
|
||||
private static readonly SUPPORTED_INTEGRATION_PATTERNS;
|
||||
protected readonly taskMetrics?: sfn.TaskMetricsConfig;
|
||||
protected readonly taskPolicies?: iam.PolicyStatement[];
|
||||
private readonly integrationPattern;
|
||||
constructor(scope: Construct, id: string, props: AthenaStopQueryExecutionProps);
|
||||
/**
|
||||
* Provides the Athena stop query execution service integration task configuration
|
||||
*/
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
protected _renderTask(topLevelQueryLanguage?: sfn.QueryLanguage): any;
|
||||
}
|
||||
export {};
|
||||
1
cdk/node_modules/aws-cdk-lib/aws-stepfunctions-tasks/lib/athena/stop-query-execution.js
generated
vendored
Normal file
1
cdk/node_modules/aws-cdk-lib/aws-stepfunctions-tasks/lib/athena/stop-query-execution.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.AthenaStopQueryExecution=void 0;var jsiiDeprecationWarnings=()=>{var tmp=require("../../../.warnings.jsii.js");return jsiiDeprecationWarnings=()=>tmp,tmp};const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");var iam=()=>{var tmp=require("../../../aws-iam");return iam=()=>tmp,tmp},sfn=()=>{var tmp=require("../../../aws-stepfunctions");return sfn=()=>tmp,tmp},task_utils_1=()=>{var tmp=require("../private/task-utils");return task_utils_1=()=>tmp,tmp};class AthenaStopQueryExecution extends sfn().TaskStateBase{props;static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_stepfunctions_tasks.AthenaStopQueryExecution",version:"2.252.0"};static jsonPath(scope,id,props){try{jsiiDeprecationWarnings().aws_cdk_lib_aws_stepfunctions_tasks_AthenaStopQueryExecutionJsonPathProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.jsonPath),error}return new AthenaStopQueryExecution(scope,id,props)}static jsonata(scope,id,props){try{jsiiDeprecationWarnings().aws_cdk_lib_aws_stepfunctions_tasks_AthenaStopQueryExecutionJsonataProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.jsonata),error}return new AthenaStopQueryExecution(scope,id,{...props,queryLanguage:sfn().QueryLanguage.JSONATA})}static SUPPORTED_INTEGRATION_PATTERNS=[sfn().IntegrationPattern.REQUEST_RESPONSE];taskMetrics;taskPolicies;integrationPattern;constructor(scope,id,props){super(scope,id,props),this.props=props;try{jsiiDeprecationWarnings().aws_cdk_lib_aws_stepfunctions_tasks_AthenaStopQueryExecutionProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,AthenaStopQueryExecution),error}this.integrationPattern=props.integrationPattern??sfn().IntegrationPattern.REQUEST_RESPONSE,(0,task_utils_1().validatePatternSupported)(this.integrationPattern,AthenaStopQueryExecution.SUPPORTED_INTEGRATION_PATTERNS),this.taskPolicies=[new(iam()).PolicyStatement({resources:["*"],actions:["athena:stopQueryExecution"]})]}_renderTask(topLevelQueryLanguage){const queryLanguage=sfn()._getActualQueryLanguage(topLevelQueryLanguage,this.props.queryLanguage);return{Resource:(0,task_utils_1().integrationResourceArn)("athena","stopQueryExecution",this.integrationPattern),...this._renderParametersOrArguments({QueryExecutionId:this.props.queryExecutionId},queryLanguage)}}}exports.AthenaStopQueryExecution=AthenaStopQueryExecution;
|
||||
Reference in New Issue
Block a user