UNPKG

1.04 kBJavaScriptView Raw
1/**
2 * @file Defines the ServerlessInvokeExecutionContext class.
3 *
4 * @author Luke Chavers <luke@c2cschools.com>
5 * @author Kevin Sanders <kevin@c2cschools.com>
6 * @since 5.0.0
7 * @license See LICENSE.md for details about licensing.
8 * @copyright 2017 C2C Schools, LLC
9 */
10
11"use strict";
12
13// Important Note
14// --------------
15// This module only loads a single dependency, directly, which is the
16// parent class for the class defined within. This is intended to force
17// dependency loading through the parent class, by way of the `$dep()`
18// method, in order to centralize dependency definition and loading.
19
20const BaseLambdaExecutionContext = require(
21 "./abstract/BaseLambdaExecutionContext"
22);
23
24/**
25 * Represents an execution context whereby an endpoint is executed on
26 * AWS Lambda by way of `sls invoke` call.
27 *
28 * @memberOf ExecutionContext
29 * @extends ExecutionContext.BaseLambdaExecutionContext
30 */
31class ServerlessInvokeExecutionContext extends BaseLambdaExecutionContext {
32
33}
34
35module.exports = ServerlessInvokeExecutionContext;