agent-claw: automated task changes
This commit is contained in:
111
cdk/node_modules/aws-cdk-lib/aws-stepfunctions-tasks/lib/eks/call.d.ts
generated
vendored
Normal file
111
cdk/node_modules/aws-cdk-lib/aws-stepfunctions-tasks/lib/eks/call.d.ts
generated
vendored
Normal file
@@ -0,0 +1,111 @@
|
||||
import type { Construct } from 'constructs';
|
||||
import type * as eks from '../../../aws-eks';
|
||||
import type * as iam from '../../../aws-iam';
|
||||
import * as sfn from '../../../aws-stepfunctions';
|
||||
interface EksCallOptions {
|
||||
/**
|
||||
* The EKS cluster
|
||||
*/
|
||||
readonly cluster: eks.ICluster;
|
||||
/**
|
||||
* HTTP method ("GET", "POST", "PUT", ...) part of HTTP request
|
||||
*/
|
||||
readonly httpMethod: HttpMethods;
|
||||
/**
|
||||
* HTTP path of the Kubernetes REST API operation
|
||||
* For example: /api/v1/namespaces/default/pods
|
||||
*/
|
||||
readonly httpPath: string;
|
||||
/**
|
||||
* Query Parameters part of HTTP request
|
||||
* @default - no query parameters
|
||||
*/
|
||||
readonly queryParameters?: {
|
||||
[key: string]: string[];
|
||||
};
|
||||
/**
|
||||
* Request body part of HTTP request
|
||||
* @default - No request body
|
||||
*/
|
||||
readonly requestBody?: sfn.TaskInput;
|
||||
}
|
||||
/**
|
||||
* Properties for calling a EKS endpoint with EksCall using JSONPath
|
||||
*/
|
||||
export interface EksCallJsonPathProps extends sfn.TaskStateJsonPathBaseProps, EksCallOptions {
|
||||
}
|
||||
/**
|
||||
* Properties for calling a EKS endpoint with EksCall using JSONata
|
||||
*/
|
||||
export interface EksCallJsonataProps extends sfn.TaskStateJsonataBaseProps, EksCallOptions {
|
||||
}
|
||||
/**
|
||||
* Properties for calling a EKS endpoint with EksCall
|
||||
*/
|
||||
export interface EksCallProps extends sfn.TaskStateBaseProps, EksCallOptions {
|
||||
}
|
||||
/**
|
||||
* Call a EKS endpoint as a Task
|
||||
*
|
||||
* @see https://docs.aws.amazon.com/step-functions/latest/dg/connect-eks.html
|
||||
*/
|
||||
export declare class EksCall extends sfn.TaskStateBase {
|
||||
private readonly props;
|
||||
/**
|
||||
* Call a EKS endpoint as a Task that using JSONPath
|
||||
*
|
||||
* @see https://docs.aws.amazon.com/step-functions/latest/dg/connect-eks.html
|
||||
*/
|
||||
static jsonPath(scope: Construct, id: string, props: EksCallJsonPathProps): EksCall;
|
||||
/**
|
||||
* Call a EKS endpoint as a Task that using JSONata
|
||||
*
|
||||
* @see https://docs.aws.amazon.com/step-functions/latest/dg/connect-eks.html
|
||||
*/
|
||||
static jsonata(scope: Construct, id: string, props: EksCallJsonataProps): EksCall;
|
||||
private static readonly SUPPORTED_INTEGRATION_PATTERNS;
|
||||
/** No policies are required due to eks:call is an Http service integration and does not call and EKS API directly
|
||||
* @see https://docs.aws.amazon.com/step-functions/latest/dg/connect-eks.html#connect-eks-permissions
|
||||
*/
|
||||
protected readonly taskMetrics?: sfn.TaskMetricsConfig;
|
||||
protected readonly taskPolicies?: iam.PolicyStatement[];
|
||||
private readonly integrationPattern;
|
||||
private readonly clusterEndpoint;
|
||||
private readonly clusterCertificateAuthorityData;
|
||||
constructor(scope: Construct, id: string, props: EksCallProps);
|
||||
/**
|
||||
* Provides the EKS Call service integration task configuration
|
||||
* @internal
|
||||
*/
|
||||
protected _renderTask(topLevelQueryLanguage?: sfn.QueryLanguage): any;
|
||||
}
|
||||
/**
|
||||
* Method type of a EKS call
|
||||
*/
|
||||
export declare enum HttpMethods {
|
||||
/**
|
||||
* Retrieve data from a server at the specified resource
|
||||
*/
|
||||
GET = "GET",
|
||||
/**
|
||||
* Send data to the API endpoint to create or update a resource
|
||||
*/
|
||||
POST = "POST",
|
||||
/**
|
||||
* Send data to the API endpoint to update or create a resource
|
||||
*/
|
||||
PUT = "PUT",
|
||||
/**
|
||||
* Delete the resource at the specified endpoint
|
||||
*/
|
||||
DELETE = "DELETE",
|
||||
/**
|
||||
* Apply partial modifications to the resource
|
||||
*/
|
||||
PATCH = "PATCH",
|
||||
/**
|
||||
* Retrieve data from a server at the specified resource without the response body
|
||||
*/
|
||||
HEAD = "HEAD"
|
||||
}
|
||||
export {};
|
||||
1
cdk/node_modules/aws-cdk-lib/aws-stepfunctions-tasks/lib/eks/call.js
generated
vendored
Normal file
1
cdk/node_modules/aws-cdk-lib/aws-stepfunctions-tasks/lib/eks/call.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.HttpMethods=exports.EksCall=void 0;var jsiiDeprecationWarnings=()=>{var tmp=require("../../../.warnings.jsii.js");return jsiiDeprecationWarnings=()=>tmp,tmp};const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");var sfn=()=>{var tmp=require("../../../aws-stepfunctions");return sfn=()=>tmp,tmp},core_1=()=>{var tmp=require("../../../core");return core_1=()=>tmp,tmp},literal_string_1=()=>{var tmp=require("../../../core/lib/private/literal-string");return literal_string_1=()=>tmp,tmp},task_utils_1=()=>{var tmp=require("../private/task-utils");return task_utils_1=()=>tmp,tmp};class EksCall extends sfn().TaskStateBase{props;static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_stepfunctions_tasks.EksCall",version:"2.252.0"};static jsonPath(scope,id,props){try{jsiiDeprecationWarnings().aws_cdk_lib_aws_stepfunctions_tasks_EksCallJsonPathProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.jsonPath),error}return new EksCall(scope,id,props)}static jsonata(scope,id,props){try{jsiiDeprecationWarnings().aws_cdk_lib_aws_stepfunctions_tasks_EksCallJsonataProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.jsonata),error}return new EksCall(scope,id,{...props,queryLanguage:sfn().QueryLanguage.JSONATA})}static SUPPORTED_INTEGRATION_PATTERNS=[sfn().IntegrationPattern.REQUEST_RESPONSE];taskMetrics;taskPolicies;integrationPattern;clusterEndpoint;clusterCertificateAuthorityData;constructor(scope,id,props){super(scope,id,props),this.props=props;try{jsiiDeprecationWarnings().aws_cdk_lib_aws_stepfunctions_tasks_EksCallProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,EksCall),error}this.integrationPattern=props.integrationPattern??sfn().IntegrationPattern.REQUEST_RESPONSE,(0,task_utils_1().validatePatternSupported)(this.integrationPattern,EksCall.SUPPORTED_INTEGRATION_PATTERNS);try{this.clusterEndpoint=this.props.cluster.clusterEndpoint}catch{throw new(core_1()).ValidationError((0,literal_string_1().lit)`MustBeClusterendpointPropertySpecified`,'The "clusterEndpoint" property must be specified when using an imported Cluster.',this)}try{this.clusterCertificateAuthorityData=this.props.cluster.clusterCertificateAuthorityData}catch{throw new(core_1()).ValidationError((0,literal_string_1().lit)`ClusterCertificateAuthorityDataProperty`,'The "clusterCertificateAuthorityData" property must be specified when using an imported Cluster.',this)}}_renderTask(topLevelQueryLanguage){const queryLanguage=sfn()._getActualQueryLanguage(topLevelQueryLanguage,this.props.queryLanguage);return{Resource:(0,task_utils_1().integrationResourceArn)("eks","call",this.integrationPattern),...this._renderParametersOrArguments({ClusterName:this.props.cluster.clusterName,CertificateAuthority:this.clusterCertificateAuthorityData,Endpoint:this.clusterEndpoint,Method:this.props.httpMethod,Path:this.props.httpPath,QueryParameters:this.props.queryParameters,RequestBody:this.props.requestBody?.value},queryLanguage)}}}exports.EksCall=EksCall;var HttpMethods;(function(HttpMethods2){HttpMethods2.GET="GET",HttpMethods2.POST="POST",HttpMethods2.PUT="PUT",HttpMethods2.DELETE="DELETE",HttpMethods2.PATCH="PATCH",HttpMethods2.HEAD="HEAD"})(HttpMethods||(exports.HttpMethods=HttpMethods={}));
|
||||
Reference in New Issue
Block a user