Skip to content

Commit df6913c

Browse files
Releasing version 2.100.1
Releasing version 2.100.1
2 parents 7248d33 + d52b5a6 commit df6913c

File tree

442 files changed

+12737
-1161
lines changed

Some content is hidden

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

442 files changed

+12737
-1161
lines changed

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,24 @@
33
All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](http://keepachangelog.com/).
6+
## 2.100.1 - 2024-12-17
7+
### Added
8+
- Support for backup retention locks on autonomous database create and update operations in the Database service
9+
- Support for multi-modality flags in data source in the Generative AI service
10+
- Support for knowledge base statistics in the Generative AI service
11+
- Support for document id, title and page numbers in citations in the Generative AI service
12+
- Support for creating and updating Amazon Web Services (AWS) asset-sources, EC2 and Elastic Block Store (EBS) assets in the Cloud Bridge service
13+
- Support for listing Amazon Web Services (AWS) regions available for discovery and migrations in the Cloud Bridge service
14+
- Support for stored video analysis in the AI Vision service
15+
- Support for HTTP or REST endpoint-based metric extensions in the OCI Monitoring service
16+
- Support for metric extension filter in the list metric extensions operation in the OCI Monitoring service
17+
- Support for creating and updating private endpoints for model deployments in the Data Science service
18+
- Support for OCI Identity user integration in the Big Data service
19+
- Support for user principal session tokens in the Big Data service
20+
- Support for historical cluster versions in the Big Data service
21+
- Support for new SKUs for digital assets editions in the Blockchain Platform service
22+
- Support for Zero ETL pipelines in the GoldenGate service
23+
624
## 2.100.0 - 2024-12-10
725
### Added
826
- Support for Bring Your Own Key (BYOK) in the Database service

lib/accessgovernancecp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-accessgovernancecp",
3-
"version": "2.100.0",
3+
"version": "2.100.1",
44
"description": "OCI NodeJS client for Access Governance Cp Service",
55
"repository": {
66
"type": "git",

lib/adm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-adm",
3-
"version": "2.100.0",
3+
"version": "2.100.1",
44
"description": "OCI NodeJS client for Adm Service",
55
"repository": {
66
"type": "git",

lib/aianomalydetection/package.json

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

lib/aidocument/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-aidocument",
3-
"version": "2.100.0",
3+
"version": "2.100.1",
44
"description": "OCI NodeJS client for Ai Document Service",
55
"repository": {
66
"type": "git",

lib/ailanguage/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-ailanguage",
3-
"version": "2.100.0",
3+
"version": "2.100.1",
44
"description": "OCI NodeJS client for Ai Language Service",
55
"repository": {
66
"type": "git",

lib/aispeech/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-aispeech",
3-
"version": "2.100.0",
3+
"version": "2.100.1",
44
"description": "OCI NodeJS client for Ai Speech Service",
55
"repository": {
66
"type": "git",

lib/aivision/lib/aiservicevision-waiter.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,24 @@ export class AIServiceVisionWaiter {
9797
);
9898
}
9999

100+
/**
101+
* Waits forVideoJob till it reaches any of the provided states
102+
*
103+
* @param request the request to send
104+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
105+
* @return response returns GetVideoJobResponse
106+
*/
107+
public async forVideoJob(
108+
request: serviceRequests.GetVideoJobRequest,
109+
...targetStates: models.VideoJob.LifecycleState[]
110+
): Promise<serviceResponses.GetVideoJobResponse> {
111+
return genericWaiter(
112+
this.config,
113+
() => this.client.getVideoJob(request),
114+
response => targetStates.includes(response.videoJob.lifecycleState!)
115+
);
116+
}
117+
100118
/**
101119
* Waits forWorkRequest
102120
*

lib/aivision/lib/client.ts

Lines changed: 227 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -536,6 +536,75 @@ export class AIServiceVisionClient {
536536
}
537537
}
538538

539+
/**
540+
* Cancel a video analysis job.
541+
*
542+
* This operation does not retry by default if the user has not defined a retry configuration.
543+
* @param CancelVideoJobRequest
544+
* @return CancelVideoJobResponse
545+
* @throws OciError when an error occurs
546+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aivision/CancelVideoJob.ts.html |here} to see how to use CancelVideoJob API.
547+
*/
548+
public async cancelVideoJob(
549+
cancelVideoJobRequest: requests.CancelVideoJobRequest
550+
): Promise<responses.CancelVideoJobResponse> {
551+
if (this.logger) this.logger.debug("Calling operation AIServiceVisionClient#cancelVideoJob.");
552+
const operationName = "cancelVideoJob";
553+
const apiReferenceLink =
554+
"https://docs.oracle.com/iaas/api/#/en/vision/20220125/VideoJob/CancelVideoJob";
555+
const pathParams = {
556+
"{videoJobId}": cancelVideoJobRequest.videoJobId
557+
};
558+
559+
const queryParams = {};
560+
561+
let headerParams = {
562+
"Content-Type": common.Constants.APPLICATION_JSON,
563+
"if-match": cancelVideoJobRequest.ifMatch,
564+
"opc-request-id": cancelVideoJobRequest.opcRequestId
565+
};
566+
567+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
568+
const retrier = GenericRetrier.createPreferredRetrier(
569+
this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
570+
cancelVideoJobRequest.retryConfiguration,
571+
specRetryConfiguration
572+
);
573+
if (this.logger) retrier.logger = this.logger;
574+
const request = await composeRequest({
575+
baseEndpoint: this._endpoint,
576+
defaultHeaders: this._defaultHeaders,
577+
path: "/videoJobs/{videoJobId}/actions/cancel",
578+
method: "POST",
579+
pathParams: pathParams,
580+
headerParams: headerParams,
581+
queryParams: queryParams
582+
});
583+
try {
584+
const response = await retrier.makeServiceCall(
585+
this._httpClient,
586+
request,
587+
this.targetService,
588+
operationName,
589+
apiReferenceLink
590+
);
591+
const sdkResponse = composeResponse({
592+
responseObject: <responses.CancelVideoJobResponse>{},
593+
responseHeaders: [
594+
{
595+
value: response.headers.get("opc-request-id"),
596+
key: "opcRequestId",
597+
dataType: "string"
598+
}
599+
]
600+
});
601+
602+
return sdkResponse;
603+
} catch (err) {
604+
throw err;
605+
}
606+
}
607+
539608
/**
540609
* Cancel the work request with the given ID.
541610
* This operation does not retry by default if the user has not defined a retry configuration.
@@ -1086,6 +1155,87 @@ export class AIServiceVisionClient {
10861155
}
10871156
}
10881157

1158+
/**
1159+
* Create a video analysis job with given inputs and features.
1160+
*
1161+
* This operation does not retry by default if the user has not defined a retry configuration.
1162+
* @param CreateVideoJobRequest
1163+
* @return CreateVideoJobResponse
1164+
* @throws OciError when an error occurs
1165+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aivision/CreateVideoJob.ts.html |here} to see how to use CreateVideoJob API.
1166+
*/
1167+
public async createVideoJob(
1168+
createVideoJobRequest: requests.CreateVideoJobRequest
1169+
): Promise<responses.CreateVideoJobResponse> {
1170+
if (this.logger) this.logger.debug("Calling operation AIServiceVisionClient#createVideoJob.");
1171+
const operationName = "createVideoJob";
1172+
const apiReferenceLink =
1173+
"https://docs.oracle.com/iaas/api/#/en/vision/20220125/VideoJob/CreateVideoJob";
1174+
const pathParams = {};
1175+
1176+
const queryParams = {};
1177+
1178+
let headerParams = {
1179+
"Content-Type": common.Constants.APPLICATION_JSON,
1180+
"opc-retry-token": createVideoJobRequest.opcRetryToken,
1181+
"opc-request-id": createVideoJobRequest.opcRequestId
1182+
};
1183+
1184+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
1185+
const retrier = GenericRetrier.createPreferredRetrier(
1186+
this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
1187+
createVideoJobRequest.retryConfiguration,
1188+
specRetryConfiguration
1189+
);
1190+
if (this.logger) retrier.logger = this.logger;
1191+
const request = await composeRequest({
1192+
baseEndpoint: this._endpoint,
1193+
defaultHeaders: this._defaultHeaders,
1194+
path: "/videoJobs",
1195+
method: "POST",
1196+
bodyContent: common.ObjectSerializer.serialize(
1197+
createVideoJobRequest.createVideoJobDetails,
1198+
"CreateVideoJobDetails",
1199+
model.CreateVideoJobDetails.getJsonObj
1200+
),
1201+
pathParams: pathParams,
1202+
headerParams: headerParams,
1203+
queryParams: queryParams
1204+
});
1205+
try {
1206+
const response = await retrier.makeServiceCall(
1207+
this._httpClient,
1208+
request,
1209+
this.targetService,
1210+
operationName,
1211+
apiReferenceLink
1212+
);
1213+
const sdkResponse = composeResponse({
1214+
responseObject: <responses.CreateVideoJobResponse>{},
1215+
body: await response.json(),
1216+
bodyKey: "videoJob",
1217+
bodyModel: model.VideoJob,
1218+
type: "model.VideoJob",
1219+
responseHeaders: [
1220+
{
1221+
value: response.headers.get("etag"),
1222+
key: "etag",
1223+
dataType: "string"
1224+
},
1225+
{
1226+
value: response.headers.get("opc-request-id"),
1227+
key: "opcRequestId",
1228+
dataType: "string"
1229+
}
1230+
]
1231+
});
1232+
1233+
return sdkResponse;
1234+
} catch (err) {
1235+
throw err;
1236+
}
1237+
}
1238+
10891239
/**
10901240
* Delete a model by identifier.
10911241
* This operation does not retry by default if the user has not defined a retry configuration.
@@ -1537,6 +1687,83 @@ export class AIServiceVisionClient {
15371687
}
15381688
}
15391689

1690+
/**
1691+
* Get details of a video analysis job.
1692+
*
1693+
* This operation does not retry by default if the user has not defined a retry configuration.
1694+
* @param GetVideoJobRequest
1695+
* @return GetVideoJobResponse
1696+
* @throws OciError when an error occurs
1697+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aivision/GetVideoJob.ts.html |here} to see how to use GetVideoJob API.
1698+
*/
1699+
public async getVideoJob(
1700+
getVideoJobRequest: requests.GetVideoJobRequest
1701+
): Promise<responses.GetVideoJobResponse> {
1702+
if (this.logger) this.logger.debug("Calling operation AIServiceVisionClient#getVideoJob.");
1703+
const operationName = "getVideoJob";
1704+
const apiReferenceLink =
1705+
"https://docs.oracle.com/iaas/api/#/en/vision/20220125/VideoJob/GetVideoJob";
1706+
const pathParams = {
1707+
"{videoJobId}": getVideoJobRequest.videoJobId
1708+
};
1709+
1710+
const queryParams = {};
1711+
1712+
let headerParams = {
1713+
"Content-Type": common.Constants.APPLICATION_JSON,
1714+
"opc-request-id": getVideoJobRequest.opcRequestId
1715+
};
1716+
1717+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
1718+
const retrier = GenericRetrier.createPreferredRetrier(
1719+
this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
1720+
getVideoJobRequest.retryConfiguration,
1721+
specRetryConfiguration
1722+
);
1723+
if (this.logger) retrier.logger = this.logger;
1724+
const request = await composeRequest({
1725+
baseEndpoint: this._endpoint,
1726+
defaultHeaders: this._defaultHeaders,
1727+
path: "/videoJobs/{videoJobId}",
1728+
method: "GET",
1729+
pathParams: pathParams,
1730+
headerParams: headerParams,
1731+
queryParams: queryParams
1732+
});
1733+
try {
1734+
const response = await retrier.makeServiceCall(
1735+
this._httpClient,
1736+
request,
1737+
this.targetService,
1738+
operationName,
1739+
apiReferenceLink
1740+
);
1741+
const sdkResponse = composeResponse({
1742+
responseObject: <responses.GetVideoJobResponse>{},
1743+
body: await response.json(),
1744+
bodyKey: "videoJob",
1745+
bodyModel: model.VideoJob,
1746+
type: "model.VideoJob",
1747+
responseHeaders: [
1748+
{
1749+
value: response.headers.get("etag"),
1750+
key: "etag",
1751+
dataType: "string"
1752+
},
1753+
{
1754+
value: response.headers.get("opc-request-id"),
1755+
key: "opcRequestId",
1756+
dataType: "string"
1757+
}
1758+
]
1759+
});
1760+
1761+
return sdkResponse;
1762+
} catch (err) {
1763+
throw err;
1764+
}
1765+
}
1766+
15401767
/**
15411768
* Gets the status of the work request with the given ID.
15421769
* This operation does not retry by default if the user has not defined a retry configuration.

0 commit comments

Comments
 (0)