Skip to content

Commit 81f083b

Browse files
Releasing version 2.15.0
Releasing version 2.15.0
2 parents 3ebf89c + 07c8e81 commit 81f083b

File tree

823 files changed

+37736
-1140
lines changed

Some content is hidden

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

823 files changed

+37736
-1140
lines changed

CHANGELOG.md

+15
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,21 @@ 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.15.0 - 2022-02-22
7+
### Added
8+
- Support for the Data Connectivity Management service
9+
- Support for the AI Speech service
10+
- Support for disabling crash recovery in the MySQL Database service
11+
- Support for detector recipes of type 'threat', new detector rule of type 'rogue user', and sightings operations in the Cloud Guard service
12+
- Support for more VM shape configurations when listing shapes in the Compute service
13+
- Support for customer-managed encryption keys in the Analytics Cloud service
14+
- Support for FastConnect device information in the Networking service
15+
16+
### Breaking Changes
17+
- Update the property `riskLevel` from required to optional in `TargetDetectorDetails` in Cloud Guard service.
18+
- Update the property `riskLevel` from required to optional in `DetectorDetails` in Cloud Guard service.
19+
- Support for retries enabled by default on all operations in the Application Performance Monitoring control plane service
20+
621
## 2.14.0 - 2022-02-15
722
### Added
823
- Support for the AI Vision service

index.ts

+2
Original file line numberDiff line numberDiff line change
@@ -185,3 +185,5 @@ export import osubusage = require("oci-osubusage");
185185
export import dashboardservice = require("oci-dashboardservice");
186186
export import aivision = require("oci-aivision");
187187
export import threatintelligence = require("oci-threatintelligence");
188+
export import aispeech = require("oci-aispeech");
189+
export import dataconnectivity = require("oci-dataconnectivity");

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.14.0",
3+
"version": "2.15.0",
44
"description": "OCI NodeJS client for Ai Anomaly Detection 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.14.0",
3+
"version": "2.15.0",
44
"description": "OCI NodeJS client for Ai Language Service",
55
"repository": {
66
"type": "git",

lib/aispeech/README.md

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
2+
# OCI NodeJS client for Ai Speech Service
3+
4+
This module enables you to write code to manage resources for Ai Speech Service.
5+
6+
## Requirements
7+
8+
To use this module, you must have the following:
9+
10+
- An Oracle Cloud Infrastructure account.
11+
- 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).
12+
- 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)
13+
14+
## Installing
15+
16+
Use the following command to install this module:
17+
18+
```
19+
npm install oci-aispeech
20+
```
21+
22+
Alternatively you can git clone this repo.

lib/aispeech/index.ts

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/**
2+
* Speech API
3+
* The OCI Speech Service harnesses the power of spoken language by allowing developers to easily convert file-based data containing human speech into highly accurate text transcriptions.
4+
* OpenAPI spec version: 20220101
5+
*
6+
*
7+
* NOTE: This class is auto generated by OracleSDKGenerator.
8+
* Do not edit the class manually.
9+
*
10+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
11+
* 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.
12+
*/
13+
14+
import * as requests from "./lib/request";
15+
import * as models from "./lib/model";
16+
import * as responses from "./lib/response";
17+
import * as client from "./lib/client";
18+
import * as aiservicespeech_waiter from "./lib/aiservicespeech-waiter";
19+
20+
export { models };
21+
export { requests };
22+
export { responses };
23+
export import AIServiceSpeechClient = client.AIServiceSpeechClient;
24+
export import AIServiceSpeechWaiter = aiservicespeech_waiter.AIServiceSpeechWaiter;
+61
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
/**
2+
* Speech API
3+
* The OCI Speech Service harnesses the power of spoken language by allowing developers to easily convert file-based data containing human speech into highly accurate text transcriptions.
4+
* OpenAPI spec version: 20220101
5+
*
6+
*
7+
* NOTE: This class is auto generated by OracleSDKGenerator.
8+
* Do not edit the class manually.
9+
*
10+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
11+
* 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.
12+
*/
13+
14+
import * as serviceRequests from "./request";
15+
import * as serviceResponses from "./response";
16+
import * as models from "./model";
17+
import { AIServiceSpeechClient } from "./client";
18+
import { genericWaiter, genericTerminalConditionWaiter, WaiterConfiguration } from "oci-common";
19+
20+
export class AIServiceSpeechWaiter {
21+
public constructor(
22+
private client: AIServiceSpeechClient,
23+
private readonly config?: WaiterConfiguration
24+
) {}
25+
26+
/**
27+
* Waits forTranscriptionJob till it reaches any of the provided states
28+
*
29+
* @param request the request to send
30+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
31+
* @return response returns GetTranscriptionJobResponse
32+
*/
33+
public async forTranscriptionJob(
34+
request: serviceRequests.GetTranscriptionJobRequest,
35+
...targetStates: models.TranscriptionJob.LifecycleState[]
36+
): Promise<serviceResponses.GetTranscriptionJobResponse> {
37+
return genericWaiter(
38+
this.config,
39+
() => this.client.getTranscriptionJob(request),
40+
response => targetStates.includes(response.transcriptionJob.lifecycleState!)
41+
);
42+
}
43+
44+
/**
45+
* Waits forTranscriptionTask till it reaches any of the provided states
46+
*
47+
* @param request the request to send
48+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
49+
* @return response returns GetTranscriptionTaskResponse
50+
*/
51+
public async forTranscriptionTask(
52+
request: serviceRequests.GetTranscriptionTaskRequest,
53+
...targetStates: models.TranscriptionTask.LifecycleState[]
54+
): Promise<serviceResponses.GetTranscriptionTaskResponse> {
55+
return genericWaiter(
56+
this.config,
57+
() => this.client.getTranscriptionTask(request),
58+
response => targetStates.includes(response.transcriptionTask.lifecycleState!)
59+
);
60+
}
61+
}

0 commit comments

Comments
 (0)