Official Oracle Cloud Infrastructure (OCI) Node.js SDK client for the Queue service, version 2.132.0. This module enables management of Queue resources (create, update, delete queues and messages) via OCI APIs. It follows the monthly release cadence of the OCI TypeScript SDK and requires OCI authentication (API key, instance principal, etc.). Compared to lower-level REST calls, this SDK provides typed interfaces, automatic request signing, and integration with OCI identity and IAM policies. It ships TypeScript types and supports both ESM and CJS.
npm install oci-queueNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates how to authenticate and list queues using the OCI Queue client.
Create a provider using 'new common.ConfigFileAuthenticationDetailsProvider()' and pass it in the constructor.
Replace client.deleteQueue(queueId) with client.deleteQueueWithResponse({ queueId }).npm install oci-identity and import 'InstancePrincipalsAuthenticationDetailsProvider' from 'oci-common' (it is re-exported).
Import from the subpath: 'import { UpdateQueueDetails } from 'oci-queue/lib/models'.Replace 'oci-common' with 'oci-common-sdk' and update imports accordingly.
Instantiate a provider (e.g., new common.ConfigFileAuthenticationDetailsProvider()) and pass it in the options object.
Check response.error or wrap the call in a try-catch. Use response.items only on success.
Verify the exact model name by checking the SDK documentation or the installed package's lib/models directory.