@cumulus/aws-client
Version:
Utilities for working with AWS
17 lines • 639 B
TypeScript
/**
* @module Lambda
*/
import { InvocationType, InvokeCommandOutput } from '@aws-sdk/client-lambda';
import { EventBridgeEvent } from 'aws-lambda';
export declare type StepFunctionEventBridgeEvent = EventBridgeEvent<'Step Functions Execution Status Change', {
[key: string]: string;
}>;
/**
* Bare check for EventBridge shape
*/
export declare const isEventBridgeEvent: (event: Object) => event is StepFunctionEventBridgeEvent;
/**
* Invoke a Lambda function
*/
export declare const invoke: (name: string, payload: unknown, type?: InvocationType) => Promise<InvokeCommandOutput | undefined>;
//# sourceMappingURL=Lambda.d.ts.map