OCI NodeJS client for the Oracle Cloud Infrastructure Functions service. Current stable version is 2.132.0, released as part of the OCI TypeScript SDK. This module enables management of Functions resources (applications, functions) and invocation of functions. Key differentiators: official Oracle SDK, full TypeScript support, supports API key and instance principal authentication. Requires OCI account, user with appropriate policies, and a key pair for signing API requests. Release cadence follows the OCI TypeScript SDK releases.
npm install oci-functionsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates initialization of FunctionsManagementClient with authentication provider from oci-common and listing applications.
Always pass Region enum value or set endpoint via setEndpoint() after construction.
Use SimpleAuthenticationDetailsProvider or ResourcePrincipalAuthenticationDetailsProvider for newer versions.
Set the invoke endpoint to the function's invoke endpoint (e.g., https://<region>.functions.oraclecloud.com).
Import types from 'oci-functions/lib/model' or use deep import paths.
Replace import OciFunctions from 'oci-functions' with import { FunctionsManagementClient } from 'oci-functions'.Pass Region enum to client constructor or call client.setEndpoint() before making API calls.
Use named import: import { FunctionsManagementClient } from 'oci-functions'.Ensure your bundler supports deep imports, or import root and access models via index if available.
Provide tenantId, userId, fingerprint, privateKeyPath/privateKey string, and region to SimpleAuthenticationDetailsProvider.