@gravitywelluk/aws
Version:
Library of commonly used AWS wrapper functions to communicate with the AWS SDK
13 lines (12 loc) • 563 B
TypeScript
import type AWSModule from "aws-sdk";
/**
* Invokes a Lambda function.
*
* You can invoke a function synchronously (and wait for the response),
* or asynchronously. To invoke a function asynchronously,
* set InvocationType to Event.
*
* @param invokeParams - The Lambda invoke params
* @param awsLambdaConfigOverrides - Configuration option overrides
*/
export declare const invokeLambda: (invokeParams: AWSModule.Lambda.InvocationRequest, awsLambdaConfigOverrides?: AWSModule.Lambda.ClientConfiguration) => Promise<AWSModule.Lambda.InvocationResponse>;