Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/).
## 2.117.1 - 2025-09-16
### Added
- Support for AI Data Platform service
- Support for creating refreshable metadata clones of autonomous databases in the Database service
- Support for Oracle Base Database for multicloud partners in the Database service

## 2.117.0 - 2025-09-09
### Added
- Support for resource locking in the Email Delivery service
Expand Down
1 change: 1 addition & 0 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,3 +234,4 @@ export import dbmulticloud = require("oci-dbmulticloud");
export import apiplatform = require("oci-apiplatform");
export import multicloud = require("oci-multicloud");
export import managedkafka = require("oci-managedkafka");
export import aidataplatform = require("oci-aidataplatform");
2 changes: 1 addition & 1 deletion lib/accessgovernancecp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oci-accessgovernancecp",
"version": "2.117.0",
"version": "2.117.1",
"description": "OCI NodeJS client for Access Governance Cp Service",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion lib/adm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oci-adm",
"version": "2.117.0",
"version": "2.117.1",
"description": "OCI NodeJS client for Adm Service",
"repository": {
"type": "git",
Expand Down
22 changes: 22 additions & 0 deletions lib/aidataplatform/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

# OCI NodeJS client for Ai Data Platform Service

This module enables you to write code to manage resources for Ai Data Platform Service.

## Requirements

To use this module, you must have the following:

- An Oracle Cloud Infrastructure account.
- A user created in that account, in a group with a policy that grants the desired permissions. This can be a user for yourself, or another person/system that needs to call the API. For an example of how to set up a new user, group, compartment, and policy, see [Adding Users](https://docs.cloud.oracle.com/en-us/iaas/Content/GSG/Tasks/addingusers.htm). For a list of typical policies you may want to use, see [Common Policies](https://docs.cloud.oracle.com/en-us/iaas/Content/Identity/Concepts/commonpolicies.htm).
- A key pair used for signing API requests, with the public key uploaded to Oracle. Only the user calling the API should be in possession of the private key. For more information, see [Configuring Credentials](https://docs.cloud.oracle.com/en-us/iaas/Content/API/SDKDocs/typescriptsdkgettingstarted.htm#Configure)

## Installing

Use the following command to install this module:

```
npm install oci-aidataplatform
```

Alternatively you can git clone this repo.
24 changes: 24 additions & 0 deletions lib/aidataplatform/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/**
* AiDataPlatform Control Plane API
* Use the AiDataPlatform Control Plane API to manage Data Lakes.
* OpenAPI spec version: 20240831
*
*
* NOTE: This class is auto generated by OracleSDKGenerator.
* Do not edit the class manually.
*
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
*/

import * as requests from "./lib/request";
import * as models from "./lib/model";
import * as responses from "./lib/response";
import * as client from "./lib/client";
import * as aidataplatform_waiter from "./lib/aidataplatform-waiter";

export { models };
export { requests };
export { responses };
export import AiDataPlatformClient = client.AiDataPlatformClient;
export import AiDataPlatformWaiter = aidataplatform_waiter.AiDataPlatformWaiter;
60 changes: 60 additions & 0 deletions lib/aidataplatform/lib/aidataplatform-waiter.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
/**
* AiDataPlatform Control Plane API
* Use the AiDataPlatform Control Plane API to manage Data Lakes.
* OpenAPI spec version: 20240831
*
*
* NOTE: This class is auto generated by OracleSDKGenerator.
* Do not edit the class manually.
*
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
*/

import * as serviceRequests from "./request";
import * as serviceResponses from "./response";
import * as models from "./model";
import { AiDataPlatformClient } from "./client";
import { genericWaiter, genericTerminalConditionWaiter, WaiterConfiguration } from "oci-common";

export class AiDataPlatformWaiter {
public constructor(
private client: AiDataPlatformClient,
private readonly config?: WaiterConfiguration
) {}

/**
* Waits forAiDataPlatform till it reaches any of the provided states
*
* @param request the request to send
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
* @return response returns GetAiDataPlatformResponse | null (null in case of 404 response)
*/
public async forAiDataPlatform(
request: serviceRequests.GetAiDataPlatformRequest,
...targetStates: models.AiDataPlatform.LifecycleState[]
): Promise<serviceResponses.GetAiDataPlatformResponse | null> {
return genericTerminalConditionWaiter(
this.config,
() => this.client.getAiDataPlatform(request),
response => targetStates.includes(response.aiDataPlatform.lifecycleState!),
targetStates.includes(models.AiDataPlatform.LifecycleState.Deleted)
);
}

/**
* Waits forWorkRequest
*
* @param request the request to send
* @return response returns GetWorkRequestResponse
*/
public async forWorkRequest(
request: serviceRequests.GetWorkRequestRequest
): Promise<serviceResponses.GetWorkRequestResponse> {
return genericWaiter(
this.config,
() => this.client.getWorkRequest(request),
response => (response.workRequest.timeFinished ? true : false)
);
}
}
Loading