Home Reference Source Test Repository

References

Class Summary

Static Public Class Summary
public

Base class for AWS Lambda handlers.

version 2.0.0 since 1.0.0

Function Summary

Static Public Function Summary
public

operation(target: Object, key: string, descriptor: Object): Object

Operation decorator for handler methods.

since 2.0.0

Typedef Summary

Static Public Typedef Summary
public
this typedef is experimental. Future versions may allow a more abstract model for endpoints. Interacting directly with and endpoint or its metadata may cause breaking changes.

An endpoint is a prototype method in a Handler subclass.

since 2.0.0
public
this typedef is experimental. The properties of this are likely to change.

Endpoint metadata is what Handler uses to inspect an an Endpoint to determine if it's eligible to handle a given operation. Operations are "whitelisted" so that properties (own or inherited) of the handler don't get exposed as operation endpoints where they aren't meant to.

since 2.0.0
public

The Handler can be customized to inspect different values for the operation and payload within the event.

since 2.0.0
public

Object bound as this value when an Endpoint is invoked as the last stage of the event-handling lifecycle.

since 2.0.0

External Summary

Static Public External Summary
public
public