aws-amplify
Version:
AWS Amplify is a JavaScript library for Frontend and mobile developers building cloud-enabled applications.
14 lines (13 loc) • 684 B
TypeScript
import { AmplifyServer } from '@aws-amplify/core/internals/adapter-core';
/**
* The low level function that supports framework specific helpers.
* It creates an Amplify server context based on the input and runs the operation
* with injecting the context, and finally returns the result of the operation.
*
* @param amplifyConfig The Amplify resource config.
* @param libraryOptions The Amplify library options.
* @param operation The operation to run with the server context created from
* `amplifyConfig` and `libraryOptions`.
* @returns The result returned by the `operation`.
*/
export declare const runWithAmplifyServerContext: AmplifyServer.RunOperationWithContext;