Skip to content

Commit 75f1b31

Browse files
Releasing version 2.58.0
Releasing version 2.58.0
2 parents 576c8d7 + 593eba0 commit 75f1b31

File tree

210 files changed

+4621
-887
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

210 files changed

+4621
-887
lines changed

CHANGELOG.md

+14
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,20 @@ All notable changes to this project will be documented in this file.
33

44
The format is based on [Keep a Changelog](http://keepachangelog.com/).
55

6+
## 2.58.0 - 2023-04-18
7+
### Added
8+
- Support for private endpoints in the Digital Assistant service
9+
- Support for canceling backups in the Database service
10+
- Support for improved labeling of key/value pairs in the Data Labeling service
11+
12+
### Breaking Changes
13+
- The property `opcRetryToken` was removed from the models `ConfigureDigitalAssistantParametersRequest`, `RotateChannelKeysRequest`, `StartChannelRequest`, `StopChannelRequest` in the Data Labeling service
14+
- The property `lifetimeLogicalClock` was removed from the models `Record`, `Dataset` and `Annotation` in the Data Labeling service
15+
- The property `digitalAssistantId` was renamed to `id` in the `ListDigitalAssistantsRequest` model in the Data Labeling service
16+
- The property `isLatestSkillOnly` was renamed to `isLatestVersionOnly` in the `ListPackagesRequest` model in the Data Labeling service
17+
- The property `skillId` was renamed to `id` in the `ListSkillsRequest` model in the Data Labeling service
18+
- The properties `authorizationEndpointUrl` and `subjectClaim` were made optional in the `AuthenticationProvider` model in the Data Labeling service
19+
620
## 2.57.0 - 2023-04-11
721
### Added
822
- Support for rotation of certificates on autonomous VM clusters on Exadata Cloud at Customer in the Database service

lib/adm/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-adm",
3-
"version": "2.57.0",
3+
"version": "2.58.0",
44
"description": "OCI NodeJS client for Adm Service",
55
"repository": {
66
"type": "git",

lib/aianomalydetection/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-aianomalydetection",
3-
"version": "2.57.0",
3+
"version": "2.58.0",
44
"description": "OCI NodeJS client for Ai Anomaly Detection Service",
55
"repository": {
66
"type": "git",

lib/aidocument/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-aidocument",
3-
"version": "2.57.0",
3+
"version": "2.58.0",
44
"description": "OCI NodeJS client for Ai Document Service",
55
"repository": {
66
"type": "git",

lib/ailanguage/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-ailanguage",
3-
"version": "2.57.0",
3+
"version": "2.58.0",
44
"description": "OCI NodeJS client for Ai Language Service",
55
"repository": {
66
"type": "git",

lib/aispeech/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-aispeech",
3-
"version": "2.57.0",
3+
"version": "2.58.0",
44
"description": "OCI NodeJS client for Ai Speech Service",
55
"repository": {
66
"type": "git",

lib/aivision/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-aivision",
3-
"version": "2.57.0",
3+
"version": "2.58.0",
44
"description": "OCI NodeJS client for Ai Vision Service",
55
"repository": {
66
"type": "git",

lib/analytics/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-analytics",
3-
"version": "2.57.0",
3+
"version": "2.58.0",
44
"description": "OCI NodeJS client for Analytics Service",
55
"repository": {
66
"type": "git",

lib/announcementsservice/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-announcementsservice",
3-
"version": "2.57.0",
3+
"version": "2.58.0",
44
"description": "OCI NodeJS client for Announcement Service",
55
"repository": {
66
"type": "git",

lib/apigateway/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-apigateway",
3-
"version": "2.57.0",
3+
"version": "2.58.0",
44
"description": "OCI NodeJS client for API gateway service",
55
"repository": {
66
"type": "git",

lib/apmconfig/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-apmconfig",
3-
"version": "2.57.0",
3+
"version": "2.58.0",
44
"description": "OCI NodeJS client for Apm Config Service",
55
"repository": {
66
"type": "git",

lib/apmcontrolplane/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-apmcontrolplane",
3-
"version": "2.57.0",
3+
"version": "2.58.0",
44
"description": "OCI NodeJS client for Apm Control Plane Service",
55
"repository": {
66
"type": "git",

lib/apmsynthetics/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-apmsynthetics",
3-
"version": "2.57.0",
3+
"version": "2.58.0",
44
"description": "OCI NodeJS client for Apm Synthetics Service",
55
"repository": {
66
"type": "git",

lib/apmtraces/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-apmtraces",
3-
"version": "2.57.0",
3+
"version": "2.58.0",
44
"description": "OCI NodeJS client for Apm Traces Service",
55
"repository": {
66
"type": "git",

lib/applicationmigration/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-applicationmigration",
3-
"version": "2.57.0",
3+
"version": "2.58.0",
44
"description": "OCI NodeJS client for Application Migration service",
55
"repository": {
66
"type": "git",

lib/appmgmtcontrol/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-appmgmtcontrol",
3-
"version": "2.57.0",
3+
"version": "2.58.0",
44
"description": "OCI NodeJS client for Appmgmt Control Service",
55
"repository": {
66
"type": "git",

lib/artifacts/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-artifacts",
3-
"version": "2.57.0",
3+
"version": "2.58.0",
44
"description": "OCI NodeJS client for Artifacts Service",
55
"repository": {
66
"type": "git",

lib/audit/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-audit",
3-
"version": "2.57.0",
3+
"version": "2.58.0",
44
"description": "OCI NodeJS client for Audit Service",
55
"repository": {
66
"type": "git",

lib/autoscaling/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-autoscaling",
3-
"version": "2.57.0",
3+
"version": "2.58.0",
44
"description": "OCI NodeJS client for Autoscaling Service",
55
"repository": {
66
"type": "git",

lib/bastion/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-bastion",
3-
"version": "2.57.0",
3+
"version": "2.58.0",
44
"description": "OCI NodeJS client for Bastion Service",
55
"repository": {
66
"type": "git",

lib/bds/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-bds",
3-
"version": "2.57.0",
3+
"version": "2.58.0",
44
"description": "OCI NodeJS client for BDS Service",
55
"repository": {
66
"type": "git",

lib/blockchain/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-blockchain",
3-
"version": "2.57.0",
3+
"version": "2.58.0",
44
"description": "OCI NodeJS client for Blockchain Service",
55
"repository": {
66
"type": "git",

lib/budget/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-budget",
3-
"version": "2.57.0",
3+
"version": "2.58.0",
44
"description": "OCI NodeJS client for Budget Service",
55
"repository": {
66
"type": "git",

lib/certificates/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-certificates",
3-
"version": "2.57.0",
3+
"version": "2.58.0",
44
"description": "OCI NodeJS client for Certificates Service",
55
"repository": {
66
"type": "git",

lib/certificatesmanagement/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-certificatesmanagement",
3-
"version": "2.57.0",
3+
"version": "2.58.0",
44
"description": "OCI NodeJS client for Certificates Management Service",
55
"repository": {
66
"type": "git",

lib/cims/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-cims",
3-
"version": "2.57.0",
3+
"version": "2.58.0",
44
"description": "OCI NodeJS client for Cims ",
55
"repository": {
66
"type": "git",

lib/cloudbridge/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-cloudbridge",
3-
"version": "2.57.0",
3+
"version": "2.58.0",
44
"description": "OCI NodeJS client for Cloud Bridge Service",
55
"repository": {
66
"type": "git",

lib/cloudguard/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-cloudguard",
3-
"version": "2.57.0",
3+
"version": "2.58.0",
44
"description": "OCI NodeJS client for Cloud Guard Service",
55
"repository": {
66
"type": "git",

lib/cloudmigrations/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-cloudmigrations",
3-
"version": "2.57.0",
3+
"version": "2.58.0",
44
"description": "OCI NodeJS client for Cloud Migrations Service",
55
"repository": {
66
"type": "git",

lib/common/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-common",
3-
"version": "2.57.0",
3+
"version": "2.58.0",
44
"description": "OCI Common module for NodeJS",
55
"repository": {
66
"type": "git",

lib/computeinstanceagent/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-computeinstanceagent",
3-
"version": "2.57.0",
3+
"version": "2.58.0",
44
"description": "OCI NodeJS client for Compute Instance Agent Service",
55
"repository": {
66
"type": "git",

lib/containerengine/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-containerengine",
3-
"version": "2.57.0",
3+
"version": "2.58.0",
44
"description": "OCI NodeJS client for Container Engine",
55
"repository": {
66
"type": "git",

lib/containerinstances/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-containerinstances",
3-
"version": "2.57.0",
3+
"version": "2.58.0",
44
"description": "OCI NodeJS client for Container Instances Service",
55
"repository": {
66
"type": "git",

lib/core/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-core",
3-
"version": "2.57.0",
3+
"version": "2.58.0",
44
"description": "OCI NodeJS client for Core",
55
"repository": {
66
"type": "git",

lib/dashboardservice/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-dashboardservice",
3-
"version": "2.57.0",
3+
"version": "2.58.0",
44
"description": "OCI NodeJS client for Dashboard Service Service",
55
"repository": {
66
"type": "git",

lib/database/lib/client.ts

+74
Original file line numberDiff line numberDiff line change
@@ -692,6 +692,80 @@ export class DatabaseClient {
692692
}
693693
}
694694

695+
/**
696+
* Cancel automatic/standalone full/incremental create backup workrequests specified by the backup Id.
697+
* This operation does not retry by default if the user has not defined a retry configuration.
698+
* @param CancelBackupRequest
699+
* @return CancelBackupResponse
700+
* @throws OciError when an error occurs
701+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/CancelBackup.ts.html |here} to see how to use CancelBackup API.
702+
*/
703+
public async cancelBackup(
704+
cancelBackupRequest: requests.CancelBackupRequest
705+
): Promise<responses.CancelBackupResponse> {
706+
if (this.logger) this.logger.debug("Calling operation DatabaseClient#cancelBackup.");
707+
const operationName = "cancelBackup";
708+
const apiReferenceLink =
709+
"https://docs.oracle.com/iaas/api/#/en/database/20160918/Backup/CancelBackup";
710+
const pathParams = {
711+
"{backupId}": cancelBackupRequest.backupId
712+
};
713+
714+
const queryParams = {};
715+
716+
let headerParams = {
717+
"Content-Type": common.Constants.APPLICATION_JSON,
718+
"if-match": cancelBackupRequest.ifMatch,
719+
"opc-request-id": cancelBackupRequest.opcRequestId,
720+
"opc-retry-token": cancelBackupRequest.opcRetryToken
721+
};
722+
723+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
724+
const retrier = GenericRetrier.createPreferredRetrier(
725+
this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
726+
cancelBackupRequest.retryConfiguration,
727+
specRetryConfiguration
728+
);
729+
if (this.logger) retrier.logger = this.logger;
730+
const request = await composeRequest({
731+
baseEndpoint: this._endpoint,
732+
defaultHeaders: this._defaultHeaders,
733+
path: "/backups/{backupId}/actions/cancel",
734+
method: "POST",
735+
pathParams: pathParams,
736+
headerParams: headerParams,
737+
queryParams: queryParams
738+
});
739+
try {
740+
const response = await retrier.makeServiceCall(
741+
this._httpClient,
742+
request,
743+
this.targetService,
744+
operationName,
745+
apiReferenceLink
746+
);
747+
const sdkResponse = composeResponse({
748+
responseObject: <responses.CancelBackupResponse>{},
749+
responseHeaders: [
750+
{
751+
value: response.headers.get("opc-work-request-id"),
752+
key: "opcWorkRequestId",
753+
dataType: "string"
754+
},
755+
{
756+
value: response.headers.get("opc-request-id"),
757+
key: "opcRequestId",
758+
dataType: "string"
759+
}
760+
]
761+
});
762+
763+
return sdkResponse;
764+
} catch (err) {
765+
throw err;
766+
}
767+
}
768+
695769
/**
696770
* Move the Autonomous Container Database and its dependent resources to the specified compartment.
697771
* For more information about moving Autonomous Container Databases, see

0 commit comments

Comments
 (0)