agent-claw: automated task changes

This commit is contained in:
daniel
2026-05-06 18:55:16 -05:00
parent 38905bb1e9
commit 732b00fb66
8494 changed files with 2018127 additions and 4 deletions

View File

@@ -0,0 +1,57 @@
import type { Construct } from 'constructs';
import * as iam from '../../../aws-iam';
import * as sfn from '../../../aws-stepfunctions';
interface GlueDataBrewStartJobRunOptions {
/**
* Glue DataBrew Job to run
*/
readonly name: string;
}
/**
* Properties for starting a job run with StartJobRun using JSONPath
*/
export interface GlueDataBrewStartJobRunJsonPathProps extends sfn.TaskStateJsonPathBaseProps, GlueDataBrewStartJobRunOptions {
}
/**
* Properties for starting a job run with StartJobRun using JSONata
*/
export interface GlueDataBrewStartJobRunJsonataProps extends sfn.TaskStateJsonataBaseProps, GlueDataBrewStartJobRunOptions {
}
/**
* Properties for starting a job run with StartJobRun
*/
export interface GlueDataBrewStartJobRunProps extends sfn.TaskStateBaseProps, GlueDataBrewStartJobRunOptions {
}
/**
* Start a Job run as a Task
*
* @see https://docs.aws.amazon.com/step-functions/latest/dg/connect-databrew.html
*/
export declare class GlueDataBrewStartJobRun extends sfn.TaskStateBase {
private readonly props;
/**
* Start a Job run as a Task using JSONPath
*
* @see https://docs.aws.amazon.com/step-functions/latest/dg/connect-databrew.html
*/
static jsonPath(scope: Construct, id: string, props: GlueDataBrewStartJobRunJsonPathProps): GlueDataBrewStartJobRun;
/**
* Start a Job run as a Task using JSONata
*
* @see https://docs.aws.amazon.com/step-functions/latest/dg/connect-databrew.html
*/
static jsonata(scope: Construct, id: string, props: GlueDataBrewStartJobRunJsonataProps): GlueDataBrewStartJobRun;
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: GlueDataBrewStartJobRunProps);
/**
* Provides the Glue DataBrew Start Job Run task configuration
* @internal
*/
protected _renderTask(topLevelQueryLanguage?: sfn.QueryLanguage): any;
}
export {};

View File

@@ -0,0 +1 @@
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.GlueDataBrewStartJobRun=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},cdk=()=>{var tmp=require("../../../core");return cdk=()=>tmp,tmp},task_utils_1=()=>{var tmp=require("../private/task-utils");return task_utils_1=()=>tmp,tmp};class GlueDataBrewStartJobRun extends sfn().TaskStateBase{props;static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_stepfunctions_tasks.GlueDataBrewStartJobRun",version:"2.252.0"};static jsonPath(scope,id,props){try{jsiiDeprecationWarnings().aws_cdk_lib_aws_stepfunctions_tasks_GlueDataBrewStartJobRunJsonPathProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.jsonPath),error}return new GlueDataBrewStartJobRun(scope,id,props)}static jsonata(scope,id,props){try{jsiiDeprecationWarnings().aws_cdk_lib_aws_stepfunctions_tasks_GlueDataBrewStartJobRunJsonataProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.jsonata),error}return new GlueDataBrewStartJobRun(scope,id,{...props,queryLanguage:sfn().QueryLanguage.JSONATA})}static SUPPORTED_INTEGRATION_PATTERNS=[sfn().IntegrationPattern.REQUEST_RESPONSE,sfn().IntegrationPattern.RUN_JOB];taskMetrics;taskPolicies;integrationPattern;constructor(scope,id,props){super(scope,id,props),this.props=props;try{jsiiDeprecationWarnings().aws_cdk_lib_aws_stepfunctions_tasks_GlueDataBrewStartJobRunProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,GlueDataBrewStartJobRun),error}this.integrationPattern=props.integrationPattern??sfn().IntegrationPattern.REQUEST_RESPONSE,(0,task_utils_1().validatePatternSupported)(this.integrationPattern,GlueDataBrewStartJobRun.SUPPORTED_INTEGRATION_PATTERNS);const actions=["databrew:startJobRun"];this.integrationPattern===sfn().IntegrationPattern.RUN_JOB&&actions.push("databrew:stopJobRun","databrew:listJobRuns"),this.taskPolicies=[new(iam()).PolicyStatement({resources:[cdk().Stack.of(this).formatArn({service:"databrew",resource:"job",resourceName:(0,task_utils_1().isJsonPathOrJsonataExpression)(this.props.name)?"*":this.props.name})],actions})]}_renderTask(topLevelQueryLanguage){const queryLanguage=sfn()._getActualQueryLanguage(topLevelQueryLanguage,this.props.queryLanguage);return{Resource:(0,task_utils_1().integrationResourceArn)("databrew","startJobRun",this.integrationPattern),...this._renderParametersOrArguments({Name:this.props.name},queryLanguage)}}}exports.GlueDataBrewStartJobRun=GlueDataBrewStartJobRun;