Skip to content

Maintenance: Expose REST Event Handler Under experimental-rest Path #4456

@svozza

Description

@svozza

Summary

To allow users to use the beta version of the REST event handler we need to expose the API:

import {Router} from '@aws-lambda-powertools/event-handler/experimental-rest';

This will require adding an index.ts file to export the Router class, converters, utils and constants.

We also need to update the exports and typesVersions sections of package.json.

Why is this needed?

Users will not be able to import the package otherwise.

Which area does this relate to?

No response

Solution

No response

Acknowledgment

Future readers

Please react with 👍 and your use case to help us understand customer demand.

Metadata

Metadata

Assignees

Labels

completedThis item is complete and has been merged/shippedevent-handlerThis item relates to the Event Handler Utility

Type

No type

Projects

Status

Shipped

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions