agent-claw: automated task changes
This commit is contained in:
19
cdk/node_modules/aws-cdk-lib/aws-lambda-destinations/lib/event-bridge.d.ts
generated
vendored
Normal file
19
cdk/node_modules/aws-cdk-lib/aws-lambda-destinations/lib/event-bridge.d.ts
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
import type { Construct } from 'constructs';
|
||||
import * as events from '../../aws-events';
|
||||
import type * as lambda from '../../aws-lambda';
|
||||
/**
|
||||
* Use an Event Bridge event bus as a Lambda destination.
|
||||
*
|
||||
* If no event bus is specified, the default event bus is used.
|
||||
*/
|
||||
export declare class EventBridgeDestination implements lambda.IDestination {
|
||||
private readonly eventBus?;
|
||||
/**
|
||||
* @default - use the default event bus
|
||||
*/
|
||||
constructor(eventBus?: events.IEventBus | undefined);
|
||||
/**
|
||||
* Returns a destination configuration
|
||||
*/
|
||||
bind(_scope: Construct, fn: lambda.IFunction, _options?: lambda.DestinationOptions): lambda.DestinationConfig;
|
||||
}
|
||||
1
cdk/node_modules/aws-cdk-lib/aws-lambda-destinations/lib/event-bridge.js
generated
vendored
Normal file
1
cdk/node_modules/aws-cdk-lib/aws-lambda-destinations/lib/event-bridge.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.EventBridgeDestination=void 0;var jsiiDeprecationWarnings=()=>{var tmp=require("../../.warnings.jsii.js");return jsiiDeprecationWarnings=()=>tmp,tmp};const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");var events=()=>{var tmp=require("../../aws-events");return events=()=>tmp,tmp},core_1=()=>{var tmp=require("../../core");return core_1=()=>tmp,tmp};class EventBridgeDestination{eventBus;static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_lambda_destinations.EventBridgeDestination",version:"2.252.0"};constructor(eventBus){this.eventBus=eventBus;try{jsiiDeprecationWarnings().aws_cdk_lib_aws_events_IEventBus(eventBus)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,EventBridgeDestination),error}}bind(_scope,fn,_options){try{jsiiDeprecationWarnings().aws_cdk_lib_aws_lambda_IFunction(fn),jsiiDeprecationWarnings().aws_cdk_lib_aws_lambda_DestinationOptions(_options)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.bind),error}if(this.eventBus)return this.eventBus.grantPutEventsTo(fn),{destination:this.eventBus.eventBusArn};let eventBus=_scope.node.tryFindChild("DefaultEventBus")||events().EventBus.fromEventBusArn(_scope,"DefaultEventBus",core_1().Stack.of(fn).formatArn({service:"events",resource:"event-bus",resourceName:"default"}));return eventBus.grantPutEventsTo(fn),{destination:eventBus.eventBusArn}}}exports.EventBridgeDestination=EventBridgeDestination;
|
||||
5
cdk/node_modules/aws-cdk-lib/aws-lambda-destinations/lib/index.d.ts
generated
vendored
Normal file
5
cdk/node_modules/aws-cdk-lib/aws-lambda-destinations/lib/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
export * from './event-bridge';
|
||||
export * from './lambda';
|
||||
export * from './s3';
|
||||
export * from './sns';
|
||||
export * from './sqs';
|
||||
1
cdk/node_modules/aws-cdk-lib/aws-lambda-destinations/lib/index.js
generated
vendored
Normal file
1
cdk/node_modules/aws-cdk-lib/aws-lambda-destinations/lib/index.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";var __createBinding=exports&&exports.__createBinding||(Object.create?(function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}):(function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]})),__exportStar=exports&&exports.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0});var _noFold;exports.EventBridgeDestination=void 0,Object.defineProperty(exports,_noFold="EventBridgeDestination",{enumerable:!0,configurable:!0,get:()=>{var value=require("./event-bridge").EventBridgeDestination;return Object.defineProperty(exports,_noFold="EventBridgeDestination",{enumerable:!0,configurable:!0,value}),value}}),exports.LambdaDestination=void 0,Object.defineProperty(exports,_noFold="LambdaDestination",{enumerable:!0,configurable:!0,get:()=>{var value=require("./lambda").LambdaDestination;return Object.defineProperty(exports,_noFold="LambdaDestination",{enumerable:!0,configurable:!0,value}),value}}),exports.S3Destination=void 0,Object.defineProperty(exports,_noFold="S3Destination",{enumerable:!0,configurable:!0,get:()=>{var value=require("./s3").S3Destination;return Object.defineProperty(exports,_noFold="S3Destination",{enumerable:!0,configurable:!0,value}),value}}),exports.SnsDestination=void 0,Object.defineProperty(exports,_noFold="SnsDestination",{enumerable:!0,configurable:!0,get:()=>{var value=require("./sns").SnsDestination;return Object.defineProperty(exports,_noFold="SnsDestination",{enumerable:!0,configurable:!0,value}),value}}),exports.SqsDestination=void 0,Object.defineProperty(exports,_noFold="SqsDestination",{enumerable:!0,configurable:!0,get:()=>{var value=require("./sqs").SqsDestination;return Object.defineProperty(exports,_noFold="SqsDestination",{enumerable:!0,configurable:!0,value}),value}});
|
||||
34
cdk/node_modules/aws-cdk-lib/aws-lambda-destinations/lib/lambda.d.ts
generated
vendored
Normal file
34
cdk/node_modules/aws-cdk-lib/aws-lambda-destinations/lib/lambda.d.ts
generated
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
import type { Construct } from 'constructs';
|
||||
import type * as lambda from '../../aws-lambda';
|
||||
/**
|
||||
* Options for a Lambda destination
|
||||
*/
|
||||
export interface LambdaDestinationOptions {
|
||||
/**
|
||||
* Whether the destination function receives only the `responsePayload` of
|
||||
* the source function.
|
||||
*
|
||||
* When set to `true` and used as `onSuccess` destination, the destination
|
||||
* function will be invoked with the payload returned by the source function.
|
||||
*
|
||||
* When set to `true` and used as `onFailure` destination, the destination
|
||||
* function will be invoked with the error object returned by source function.
|
||||
*
|
||||
* See the README of this module to see a full explanation of this option.
|
||||
*
|
||||
* @default false The destination function receives the full invocation record.
|
||||
*/
|
||||
readonly responseOnly?: boolean;
|
||||
}
|
||||
/**
|
||||
* Use a Lambda function as a Lambda destination
|
||||
*/
|
||||
export declare class LambdaDestination implements lambda.IDestination {
|
||||
private readonly fn;
|
||||
private readonly options;
|
||||
constructor(fn: lambda.IFunction, options?: LambdaDestinationOptions);
|
||||
/**
|
||||
* Returns a destination configuration
|
||||
*/
|
||||
bind(scope: Construct, fn: lambda.IFunction, options?: lambda.DestinationOptions): lambda.DestinationConfig;
|
||||
}
|
||||
1
cdk/node_modules/aws-cdk-lib/aws-lambda-destinations/lib/lambda.js
generated
vendored
Normal file
1
cdk/node_modules/aws-cdk-lib/aws-lambda-destinations/lib/lambda.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LambdaDestination=void 0;var jsiiDeprecationWarnings=()=>{var tmp=require("../../.warnings.jsii.js");return jsiiDeprecationWarnings=()=>tmp,tmp};const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");var event_bridge_1=()=>{var tmp=require("./event-bridge");return event_bridge_1=()=>tmp,tmp},events=()=>{var tmp=require("../../aws-events");return events=()=>tmp,tmp},targets=()=>{var tmp=require("../../aws-events-targets");return targets=()=>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};class LambdaDestination{fn;options;static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_lambda_destinations.LambdaDestination",version:"2.252.0"};constructor(fn,options={}){this.fn=fn,this.options=options;try{jsiiDeprecationWarnings().aws_cdk_lib_aws_lambda_IFunction(fn),jsiiDeprecationWarnings().aws_cdk_lib_aws_lambda_destinations_LambdaDestinationOptions(options)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,LambdaDestination),error}}bind(scope,fn,options){try{jsiiDeprecationWarnings().aws_cdk_lib_aws_lambda_IFunction(fn),jsiiDeprecationWarnings().aws_cdk_lib_aws_lambda_DestinationOptions(options)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.bind),error}if(!this.options.responseOnly)return this.fn.grantInvoke(fn),{destination:this.fn.functionArn};if(!options)throw new(core_1()).ValidationError((0,literal_string_1().lit)`MustBeOptionsDefinedUsing`,"Options must be defined when using `responseOnly`.",scope);return new(events()).Rule(scope,options.type,{eventPattern:{detailType:[`Lambda Function Invocation Result - ${options.type}`],resources:[`${fn.functionArn}:$LATEST`],source:["lambda"]},targets:[new(targets()).LambdaFunction(this.fn,{event:events().RuleTargetInput.fromEventPath("$.detail.responsePayload")})]}),new(event_bridge_1()).EventBridgeDestination().bind(scope,fn)}}exports.LambdaDestination=LambdaDestination;
|
||||
14
cdk/node_modules/aws-cdk-lib/aws-lambda-destinations/lib/s3.d.ts
generated
vendored
Normal file
14
cdk/node_modules/aws-cdk-lib/aws-lambda-destinations/lib/s3.d.ts
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
import type { Construct } from 'constructs';
|
||||
import type * as lambda from '../../aws-lambda';
|
||||
import type * as s3 from '../../aws-s3';
|
||||
/**
|
||||
* Use a S3 bucket as a Lambda destination
|
||||
*/
|
||||
export declare class S3Destination implements lambda.IDestination {
|
||||
private readonly bucket;
|
||||
constructor(bucket: s3.IBucket);
|
||||
/**
|
||||
* Returns a destination configuration
|
||||
*/
|
||||
bind(_scope: Construct, fn: lambda.IFunction, _options?: lambda.DestinationOptions): lambda.DestinationConfig;
|
||||
}
|
||||
1
cdk/node_modules/aws-cdk-lib/aws-lambda-destinations/lib/s3.js
generated
vendored
Normal file
1
cdk/node_modules/aws-cdk-lib/aws-lambda-destinations/lib/s3.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.S3Destination=void 0;var jsiiDeprecationWarnings=()=>{var tmp=require("../../.warnings.jsii.js");return jsiiDeprecationWarnings=()=>tmp,tmp};const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");class S3Destination{bucket;static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_lambda_destinations.S3Destination",version:"2.252.0"};constructor(bucket){this.bucket=bucket;try{jsiiDeprecationWarnings().aws_cdk_lib_aws_s3_IBucket(bucket)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,S3Destination),error}}bind(_scope,fn,_options){try{jsiiDeprecationWarnings().aws_cdk_lib_aws_lambda_IFunction(fn),jsiiDeprecationWarnings().aws_cdk_lib_aws_lambda_DestinationOptions(_options)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.bind),error}return this.bucket.grantRead(fn),this.bucket.grantPut(fn),{destination:this.bucket.bucketArn}}}exports.S3Destination=S3Destination;
|
||||
14
cdk/node_modules/aws-cdk-lib/aws-lambda-destinations/lib/sns.d.ts
generated
vendored
Normal file
14
cdk/node_modules/aws-cdk-lib/aws-lambda-destinations/lib/sns.d.ts
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
import type { Construct } from 'constructs';
|
||||
import type * as lambda from '../../aws-lambda';
|
||||
import type * as sns from '../../aws-sns';
|
||||
/**
|
||||
* Use a SNS topic as a Lambda destination
|
||||
*/
|
||||
export declare class SnsDestination implements lambda.IDestination {
|
||||
private readonly topic;
|
||||
constructor(topic: sns.ITopic);
|
||||
/**
|
||||
* Returns a destination configuration
|
||||
*/
|
||||
bind(_scope: Construct, fn: lambda.IFunction, _options?: lambda.DestinationOptions): lambda.DestinationConfig;
|
||||
}
|
||||
1
cdk/node_modules/aws-cdk-lib/aws-lambda-destinations/lib/sns.js
generated
vendored
Normal file
1
cdk/node_modules/aws-cdk-lib/aws-lambda-destinations/lib/sns.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.SnsDestination=void 0;var jsiiDeprecationWarnings=()=>{var tmp=require("../../.warnings.jsii.js");return jsiiDeprecationWarnings=()=>tmp,tmp};const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");class SnsDestination{topic;static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_lambda_destinations.SnsDestination",version:"2.252.0"};constructor(topic){this.topic=topic;try{jsiiDeprecationWarnings().aws_cdk_lib_aws_sns_ITopic(topic)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,SnsDestination),error}}bind(_scope,fn,_options){try{jsiiDeprecationWarnings().aws_cdk_lib_aws_lambda_IFunction(fn),jsiiDeprecationWarnings().aws_cdk_lib_aws_lambda_DestinationOptions(_options)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.bind),error}return this.topic.grantPublish(fn),{destination:this.topic.topicArn}}}exports.SnsDestination=SnsDestination;
|
||||
14
cdk/node_modules/aws-cdk-lib/aws-lambda-destinations/lib/sqs.d.ts
generated
vendored
Normal file
14
cdk/node_modules/aws-cdk-lib/aws-lambda-destinations/lib/sqs.d.ts
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
import type { Construct } from 'constructs';
|
||||
import type * as lambda from '../../aws-lambda';
|
||||
import type * as sqs from '../../aws-sqs';
|
||||
/**
|
||||
* Use a SQS queue as a Lambda destination
|
||||
*/
|
||||
export declare class SqsDestination implements lambda.IDestination {
|
||||
private readonly queue;
|
||||
constructor(queue: sqs.IQueue);
|
||||
/**
|
||||
* Returns a destination configuration
|
||||
*/
|
||||
bind(_scope: Construct, fn: lambda.IFunction, _options?: lambda.DestinationOptions): lambda.DestinationConfig;
|
||||
}
|
||||
1
cdk/node_modules/aws-cdk-lib/aws-lambda-destinations/lib/sqs.js
generated
vendored
Normal file
1
cdk/node_modules/aws-cdk-lib/aws-lambda-destinations/lib/sqs.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.SqsDestination=void 0;var jsiiDeprecationWarnings=()=>{var tmp=require("../../.warnings.jsii.js");return jsiiDeprecationWarnings=()=>tmp,tmp};const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");class SqsDestination{queue;static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_lambda_destinations.SqsDestination",version:"2.252.0"};constructor(queue){this.queue=queue;try{jsiiDeprecationWarnings().aws_cdk_lib_aws_sqs_IQueue(queue)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,SqsDestination),error}}bind(_scope,fn,_options){try{jsiiDeprecationWarnings().aws_cdk_lib_aws_lambda_IFunction(fn),jsiiDeprecationWarnings().aws_cdk_lib_aws_lambda_DestinationOptions(_options)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.bind),error}return this.queue.grantSendMessages(fn),{destination:this.queue.queueArn}}}exports.SqsDestination=SqsDestination;
|
||||
Reference in New Issue
Block a user