## API Report File for "@aws-amplify/amplify-category-function" > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). ```ts import { $TSAny } from '@aws-amplify/amplify-cli-core'; import { $TSContext } from '@aws-amplify/amplify-cli-core'; import { $TSObject } from '@aws-amplify/amplify-cli-core'; import { BuildType } from '@aws-amplify/amplify-function-plugin-interface'; import { FunctionParameters } from '@aws-amplify/amplify-function-plugin-interface'; import { ResourceTuple } from '@aws-amplify/amplify-cli-core'; // @public (undocumented) export const add: (context: any, providerName: any, service: any, parameters: any) => Promise; // @public (undocumented) export function addAppSyncInvokeMethodPermission(functionName: string): void; // Warning: (ae-forgotten-export) The symbol "ExecRolePermissionsResponse" needs to be exported by the entry point index.d.ts // // @public (undocumented) export const askExecRolePermissionsQuestions: (context: $TSContext, resourceNameToUpdate: string, currentPermissionMap?: any, currentEnvMap?: any, category?: string, serviceName?: string) => Promise; // Warning: (ae-forgotten-export) The symbol "BuildRequestMeta" needs to be exported by the entry point index.d.ts // // @public (undocumented) export const buildResource: (context: $TSContext, resource: BuildRequestMeta & { service: string; }) => Promise; // @public (undocumented) export const buildTypeKeyMap: Record; // @public (undocumented) export const category = "function"; // @public (undocumented) const console_2: (context: $TSContext) => Promise; export { console_2 as console } // @public (undocumented) export const ensureLambdaExecutionRoleOutputs: () => Promise; // @public (undocumented) export const executeAmplifyCommand: (context: $TSContext) => Promise; // @public (undocumented) export const getBuilder: (context: $TSContext, resourceName: string, buildType: BuildType) => (() => Promise); // @public (undocumented) export const getInvoker: (context: $TSContext, { handler, resourceName, envVars }: InvokerParameters) => Promise<({ event }: { event: unknown; }) => Promise<$TSAny>>; // @public (undocumented) export const getPermissionPolicies: (context: $TSContext, resourceOpsMapping: $TSAny) => Promise<{ permissionPolicies: $TSAny[]; resourceAttributes: $TSAny[]; }>; // @public (undocumented) export const handleAmplifyEvent: (context: $TSContext, args: $TSAny) => Promise; // @public (undocumented) export const hashLayerResource: (layerPath: string, resourceName: string) => Promise; // @public (undocumented) export const initEnv: (context: $TSContext) => Promise; // @public (undocumented) export type InvokerParameters = { resourceName: string; handler: string; envVars?: { [key: string]: string; }; }; // @public (undocumented) export const isMockable: (context: $TSContext, resourceName: string) => IsMockableResponse; // @public (undocumented) export interface IsMockableResponse { // (undocumented) isMockable: boolean; // (undocumented) reason?: string; } // @public (undocumented) export const lambdaLayerPrompt: (context: $TSContext, resources: $TSAny[]) => Promise; // @public (undocumented) export function lambdasWithApiDependency(context: $TSContext, allResources: $TSObject[], backendDir: string, modelsDeleted: string[]): Promise; // @public (undocumented) export const loadFunctionParameters: (resourcePath: string) => any; // @public (undocumented) export const migrate: (context: $TSContext) => Promise; // @public (undocumented) export const migrateLegacyLayer: (context: $TSContext, layerName: string) => Promise; // Warning: (ae-forgotten-export) The symbol "Packager" needs to be exported by the entry point index.d.ts // // @public (undocumented) export const packageResource: Packager; // @public (undocumented) export const postPushCleanup: (resource: $TSAny[], envName: string) => Promise; // @public (undocumented) export const enum ServiceName { // (undocumented) LambdaFunction = "Lambda", // (undocumented) LambdaLayer = "LambdaLayer" } // @public (undocumented) export const update: (context: any, providerName: any, service: any, parameters: any, resourceToUpdate: any) => Promise<$TSAny>; // @public (undocumented) export function updateDependentFunctionsCfn(context: $TSContext, dependentFunctionResource: $TSObject[], backendDir: string, modelsDeleted: string[], apiResource: string): Promise; // (No @packageDocumentation comment for this package) ```