Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Lambda Client #16

Copy link
Copy link
@mwarman

Description

@mwarman
Issue body actions

Describe the story

Add a utility helper module for interaction with the AWS SDK Lambda client. Add a functions to invoke Lambda functions synchronously and asynchronously.

Acceptance criteria

GIVEN the app needs to invoke a Lambda function
WHEN the application imports the Lambda client
THEN the AWS SDK Lambda client instance is created
AND the AWS SDK Lambda client is configured
AND the AWS SDK Lambda client instance is stored as a module constant to be preserved between Lambda invocations

WHEN the application uses the "invoke synchronous" function
THEN the AWS SDK Lambda client instance is used to invoke a Lambda function with an InvocationType of RequestResponse for synchronous communication
AND the payload is sent to the called function

WHEN the application uses the "invoke asynchronous" function
THEN the AWS SDK Lambda client instance is used to invoke a Lambda function with an InvocationType of Event for synchronous communication
AND the payload is sent to the called function

Additional context

Add any other context about the story here.

Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.