oci-datascience 2.40.0 → 2.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.d.ts +83 -65
- package/lib/client.js +194 -70
- package/lib/client.js.map +1 -1
- package/lib/model/artifact-export-details-object-storage.d.ts +41 -0
- package/lib/model/artifact-export-details-object-storage.js +55 -0
- package/lib/model/artifact-export-details-object-storage.js.map +1 -0
- package/lib/model/artifact-export-details.d.ts +23 -0
- package/lib/model/artifact-export-details.js +69 -0
- package/lib/model/artifact-export-details.js.map +1 -0
- package/lib/model/artifact-import-details-object-storage.d.ts +41 -0
- package/lib/model/artifact-import-details-object-storage.js +55 -0
- package/lib/model/artifact-import-details-object-storage.js.map +1 -0
- package/lib/model/artifact-import-details.d.ts +23 -0
- package/lib/model/artifact-import-details.js +69 -0
- package/lib/model/artifact-import-details.js.map +1 -0
- package/lib/model/artifact-source-type.d.ts +23 -0
- package/lib/model/artifact-source-type.js +34 -0
- package/lib/model/artifact-source-type.js.map +1 -0
- package/lib/model/export-model-artifact-details.d.ts +24 -0
- package/lib/model/export-model-artifact-details.js +58 -0
- package/lib/model/export-model-artifact-details.js.map +1 -0
- package/lib/model/import-model-artifact-details.d.ts +24 -0
- package/lib/model/import-model-artifact-details.js +58 -0
- package/lib/model/import-model-artifact-details.js.map +1 -0
- package/lib/model/index.d.ts +14 -0
- package/lib/model/index.js +16 -2
- package/lib/model/index.js.map +1 -1
- package/lib/model/job-shape-config-details.d.ts +2 -2
- package/lib/model/model-deployment-instance-shape-config-details.d.ts +2 -2
- package/lib/model/notebook-session-shape-config-details.d.ts +2 -2
- package/lib/model/work-request-operation-type.d.ts +2 -0
- package/lib/model/work-request-operation-type.js +2 -0
- package/lib/model/work-request-operation-type.js.map +1 -1
- package/lib/request/activate-model-deployment-request.d.ts +1 -1
- package/lib/request/activate-model-request.d.ts +1 -1
- package/lib/request/activate-notebook-session-request.d.ts +1 -1
- package/lib/request/cancel-job-run-request.d.ts +1 -1
- package/lib/request/cancel-work-request-request.d.ts +1 -1
- package/lib/request/change-job-compartment-request.d.ts +1 -1
- package/lib/request/change-job-run-compartment-request.d.ts +1 -1
- package/lib/request/change-model-compartment-request.d.ts +1 -1
- package/lib/request/change-model-deployment-compartment-request.d.ts +1 -1
- package/lib/request/change-notebook-session-compartment-request.d.ts +1 -1
- package/lib/request/change-project-compartment-request.d.ts +1 -1
- package/lib/request/create-job-artifact-request.d.ts +1 -1
- package/lib/request/create-job-request.d.ts +1 -1
- package/lib/request/create-job-run-request.d.ts +1 -1
- package/lib/request/create-model-artifact-request.d.ts +10 -1
- package/lib/request/create-model-deployment-request.d.ts +1 -1
- package/lib/request/create-model-provenance-request.d.ts +1 -1
- package/lib/request/create-model-request.d.ts +1 -1
- package/lib/request/create-notebook-session-request.d.ts +1 -1
- package/lib/request/create-project-request.d.ts +1 -1
- package/lib/request/deactivate-model-deployment-request.d.ts +1 -1
- package/lib/request/deactivate-model-request.d.ts +1 -1
- package/lib/request/deactivate-notebook-session-request.d.ts +1 -1
- package/lib/request/delete-job-request.d.ts +1 -1
- package/lib/request/delete-job-run-request.d.ts +1 -1
- package/lib/request/delete-model-deployment-request.d.ts +1 -1
- package/lib/request/delete-model-request.d.ts +1 -1
- package/lib/request/delete-notebook-session-request.d.ts +1 -1
- package/lib/request/delete-project-request.d.ts +1 -1
- package/lib/request/export-model-artifact-request.d.ts +46 -0
- package/lib/request/export-model-artifact-request.js +15 -0
- package/lib/request/export-model-artifact-request.js.map +1 -0
- package/lib/request/get-job-artifact-content-request.d.ts +1 -1
- package/lib/request/get-job-request.d.ts +1 -1
- package/lib/request/get-job-run-request.d.ts +1 -1
- package/lib/request/get-model-artifact-content-request.d.ts +1 -1
- package/lib/request/get-model-deployment-request.d.ts +1 -1
- package/lib/request/get-model-provenance-request.d.ts +1 -1
- package/lib/request/get-model-request.d.ts +1 -1
- package/lib/request/get-notebook-session-request.d.ts +1 -1
- package/lib/request/get-project-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/head-job-artifact-request.d.ts +1 -1
- package/lib/request/head-model-artifact-request.d.ts +1 -1
- package/lib/request/import-model-artifact-request.d.ts +41 -0
- package/lib/request/import-model-artifact-request.js +15 -0
- package/lib/request/import-model-artifact-request.js.map +1 -0
- package/lib/request/index.d.ts +4 -0
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-fast-launch-job-configs-request.d.ts +1 -1
- package/lib/request/list-job-runs-request.d.ts +1 -1
- package/lib/request/list-job-shapes-request.d.ts +1 -1
- package/lib/request/list-jobs-request.d.ts +1 -1
- package/lib/request/list-model-deployment-shapes-request.d.ts +1 -1
- package/lib/request/list-model-deployments-request.d.ts +1 -1
- package/lib/request/list-models-request.d.ts +1 -1
- package/lib/request/list-notebook-session-shapes-request.d.ts +1 -1
- package/lib/request/list-notebook-sessions-request.d.ts +1 -1
- package/lib/request/list-projects-request.d.ts +1 -1
- package/lib/request/list-work-request-errors-request.d.ts +1 -1
- package/lib/request/list-work-request-logs-request.d.ts +1 -1
- package/lib/request/list-work-requests-request.d.ts +3 -1
- package/lib/request/list-work-requests-request.js +2 -0
- package/lib/request/list-work-requests-request.js.map +1 -1
- package/lib/request/update-job-request.d.ts +1 -1
- package/lib/request/update-job-run-request.d.ts +1 -1
- package/lib/request/update-model-deployment-request.d.ts +1 -1
- package/lib/request/update-model-provenance-request.d.ts +1 -1
- package/lib/request/update-model-request.d.ts +1 -1
- package/lib/request/update-notebook-session-request.d.ts +1 -1
- package/lib/request/update-project-request.d.ts +1 -1
- package/lib/response/export-model-artifact-response.d.ts +26 -0
- package/lib/response/export-model-artifact-response.js +15 -0
- package/lib/response/export-model-artifact-response.js.map +1 -0
- package/lib/response/import-model-artifact-response.d.ts +26 -0
- package/lib/response/import-model-artifact-response.js +15 -0
- package/lib/response/import-model-artifact-response.js.map +1 -0
- package/lib/response/index.d.ts +4 -0
- package/package.json +3 -3
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Data Science API
|
|
4
|
+
* Use the Data Science API to organize your data science work, access data and computing resources, and build, train, deploy and manage models and model deployments. For more information, see [Data Science](https://docs.oracle.com/iaas/data-science/using/data-science.htm).
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20190101
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
13
|
+
* 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.
|
|
14
|
+
*/
|
|
15
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
18
|
+
}) : (function(o, m, k, k2) {
|
|
19
|
+
if (k2 === undefined) k2 = k;
|
|
20
|
+
o[k2] = m[k];
|
|
21
|
+
}));
|
|
22
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
23
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
24
|
+
}) : function(o, v) {
|
|
25
|
+
o["default"] = v;
|
|
26
|
+
});
|
|
27
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
+
exports.ArtifactExportDetailsObjectStorage = void 0;
|
|
36
|
+
const model = __importStar(require("../model"));
|
|
37
|
+
var ArtifactExportDetailsObjectStorage;
|
|
38
|
+
(function (ArtifactExportDetailsObjectStorage) {
|
|
39
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
40
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
41
|
+
? obj
|
|
42
|
+
: model.ArtifactExportDetails.getJsonObj(obj))), {});
|
|
43
|
+
return jsonObj;
|
|
44
|
+
}
|
|
45
|
+
ArtifactExportDetailsObjectStorage.getJsonObj = getJsonObj;
|
|
46
|
+
ArtifactExportDetailsObjectStorage.artifactSourceType = "ORACLE_OBJECT_STORAGE";
|
|
47
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
48
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
49
|
+
? obj
|
|
50
|
+
: model.ArtifactExportDetails.getDeserializedJsonObj(obj))), {});
|
|
51
|
+
return jsonObj;
|
|
52
|
+
}
|
|
53
|
+
ArtifactExportDetailsObjectStorage.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
54
|
+
})(ArtifactExportDetailsObjectStorage = exports.ArtifactExportDetailsObjectStorage || (exports.ArtifactExportDetailsObjectStorage = {}));
|
|
55
|
+
//# sourceMappingURL=artifact-export-details-object-storage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"artifact-export-details-object-storage.js","sourceRoot":"","sources":["../../../../../lib/datascience/lib/model/artifact-export-details-object-storage.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA2BlC,IAAiB,kCAAkC,CA8BlD;AA9BD,WAAiB,kCAAkC;IACjD,SAAgB,UAAU,CACxB,GAAuC,EACvC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,qBAAqB,CAAC,UAAU,CAAC,GAAG,CAAwC,CAAC,GACrF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,6CAAU,aAYzB,CAAA;IACY,qDAAkB,GAAG,uBAAuB,CAAC;IAC1D,SAAgB,sBAAsB,CACpC,GAAuC,EACvC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,qBAAqB,CAAC,sBAAsB,CACjD,GAAG,CACmC,CAAC,GAC1C,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,yDAAsB,yBAcrC,CAAA;AACH,CAAC,EA9BgB,kCAAkC,GAAlC,0CAAkC,KAAlC,0CAAkC,QA8BlD"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Data Science API
|
|
3
|
+
* Use the Data Science API to organize your data science work, access data and computing resources, and build, train, deploy and manage models and model deployments. For more information, see [Data Science](https://docs.oracle.com/iaas/data-science/using/data-science.htm).
|
|
4
|
+
|
|
5
|
+
* OpenAPI spec version: 20190101
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* 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.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Details of Artifact source
|
|
16
|
+
*/
|
|
17
|
+
export interface ArtifactExportDetails {
|
|
18
|
+
"artifactSourceType": string;
|
|
19
|
+
}
|
|
20
|
+
export declare namespace ArtifactExportDetails {
|
|
21
|
+
function getJsonObj(obj: ArtifactExportDetails): object;
|
|
22
|
+
function getDeserializedJsonObj(obj: ArtifactExportDetails): object;
|
|
23
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Data Science API
|
|
4
|
+
* Use the Data Science API to organize your data science work, access data and computing resources, and build, train, deploy and manage models and model deployments. For more information, see [Data Science](https://docs.oracle.com/iaas/data-science/using/data-science.htm).
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20190101
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
13
|
+
* 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.
|
|
14
|
+
*/
|
|
15
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
18
|
+
}) : (function(o, m, k, k2) {
|
|
19
|
+
if (k2 === undefined) k2 = k;
|
|
20
|
+
o[k2] = m[k];
|
|
21
|
+
}));
|
|
22
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
23
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
24
|
+
}) : function(o, v) {
|
|
25
|
+
o["default"] = v;
|
|
26
|
+
});
|
|
27
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
+
exports.ArtifactExportDetails = void 0;
|
|
36
|
+
const model = __importStar(require("../model"));
|
|
37
|
+
const common = require("oci-common");
|
|
38
|
+
var ArtifactExportDetails;
|
|
39
|
+
(function (ArtifactExportDetails) {
|
|
40
|
+
function getJsonObj(obj) {
|
|
41
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
42
|
+
if (obj && "artifactSourceType" in obj && obj.artifactSourceType) {
|
|
43
|
+
switch (obj.artifactSourceType) {
|
|
44
|
+
case "ORACLE_OBJECT_STORAGE":
|
|
45
|
+
return model.ArtifactExportDetailsObjectStorage.getJsonObj(jsonObj, true);
|
|
46
|
+
default:
|
|
47
|
+
if (common.LOG.logger)
|
|
48
|
+
common.LOG.logger.info(`Unknown value for: ${obj.artifactSourceType}`);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
return jsonObj;
|
|
52
|
+
}
|
|
53
|
+
ArtifactExportDetails.getJsonObj = getJsonObj;
|
|
54
|
+
function getDeserializedJsonObj(obj) {
|
|
55
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
56
|
+
if (obj && "artifactSourceType" in obj && obj.artifactSourceType) {
|
|
57
|
+
switch (obj.artifactSourceType) {
|
|
58
|
+
case "ORACLE_OBJECT_STORAGE":
|
|
59
|
+
return model.ArtifactExportDetailsObjectStorage.getDeserializedJsonObj(jsonObj, true);
|
|
60
|
+
default:
|
|
61
|
+
if (common.LOG.logger)
|
|
62
|
+
common.LOG.logger.info(`Unknown value for: ${obj.artifactSourceType}`);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
return jsonObj;
|
|
66
|
+
}
|
|
67
|
+
ArtifactExportDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
68
|
+
})(ArtifactExportDetails = exports.ArtifactExportDetails || (exports.ArtifactExportDetails = {}));
|
|
69
|
+
//# sourceMappingURL=artifact-export-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"artifact-export-details.js","sourceRoot":"","sources":["../../../../../lib/datascience/lib/model/artifact-export-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAStC,IAAiB,qBAAqB,CAmCrC;AAnCD,WAAiB,qBAAqB;IACpC,SAAgB,UAAU,CAAC,GAA0B;QACnD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,oBAAoB,IAAI,GAAG,IAAI,GAAG,CAAC,kBAAkB,EAAE;YAChE,QAAQ,GAAG,CAAC,kBAAkB,EAAE;gBAC9B,KAAK,uBAAuB;oBAC1B,OAAO,KAAK,CAAC,kCAAkC,CAAC,UAAU,CACL,OAAQ,EAC3D,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBACnB,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,kBAAkB,EAAE,CAAC,CAAC;aAC5E;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAhBe,gCAAU,aAgBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA0B;QAC/D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,oBAAoB,IAAI,GAAG,IAAI,GAAG,CAAC,kBAAkB,EAAE;YAChE,QAAQ,GAAG,CAAC,kBAAkB,EAAE;gBAC9B,KAAK,uBAAuB;oBAC1B,OAAO,KAAK,CAAC,kCAAkC,CAAC,sBAAsB,CACjB,OAAQ,EAC3D,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBACnB,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,kBAAkB,EAAE,CAAC,CAAC;aAC5E;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAhBe,4CAAsB,yBAgBrC,CAAA;AACH,CAAC,EAnCgB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAmCrC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Data Science API
|
|
3
|
+
* Use the Data Science API to organize your data science work, access data and computing resources, and build, train, deploy and manage models and model deployments. For more information, see [Data Science](https://docs.oracle.com/iaas/data-science/using/data-science.htm).
|
|
4
|
+
|
|
5
|
+
* OpenAPI spec version: 20190101
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* 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.
|
|
13
|
+
*/
|
|
14
|
+
import * as model from "../model";
|
|
15
|
+
/**
|
|
16
|
+
* Artifact destination details for importing to destination bucket
|
|
17
|
+
*/
|
|
18
|
+
export interface ArtifactImportDetailsObjectStorage extends model.ArtifactImportDetails {
|
|
19
|
+
/**
|
|
20
|
+
* The Object Storage namespace used for the request.
|
|
21
|
+
*/
|
|
22
|
+
"namespace"?: string;
|
|
23
|
+
/**
|
|
24
|
+
* The name of the bucket. Avoid entering confidential information.
|
|
25
|
+
*/
|
|
26
|
+
"destinationBucket"?: string;
|
|
27
|
+
/**
|
|
28
|
+
* The name of the object resulting from the copy operation.
|
|
29
|
+
*/
|
|
30
|
+
"destinationObjectName"?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Region in which OSS bucket is present
|
|
33
|
+
*/
|
|
34
|
+
"destinationRegion"?: string;
|
|
35
|
+
"artifactSourceType": string;
|
|
36
|
+
}
|
|
37
|
+
export declare namespace ArtifactImportDetailsObjectStorage {
|
|
38
|
+
function getJsonObj(obj: ArtifactImportDetailsObjectStorage, isParentJsonObj?: boolean): object;
|
|
39
|
+
const artifactSourceType = "ORACLE_OBJECT_STORAGE";
|
|
40
|
+
function getDeserializedJsonObj(obj: ArtifactImportDetailsObjectStorage, isParentJsonObj?: boolean): object;
|
|
41
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Data Science API
|
|
4
|
+
* Use the Data Science API to organize your data science work, access data and computing resources, and build, train, deploy and manage models and model deployments. For more information, see [Data Science](https://docs.oracle.com/iaas/data-science/using/data-science.htm).
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20190101
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
13
|
+
* 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.
|
|
14
|
+
*/
|
|
15
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
18
|
+
}) : (function(o, m, k, k2) {
|
|
19
|
+
if (k2 === undefined) k2 = k;
|
|
20
|
+
o[k2] = m[k];
|
|
21
|
+
}));
|
|
22
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
23
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
24
|
+
}) : function(o, v) {
|
|
25
|
+
o["default"] = v;
|
|
26
|
+
});
|
|
27
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
+
exports.ArtifactImportDetailsObjectStorage = void 0;
|
|
36
|
+
const model = __importStar(require("../model"));
|
|
37
|
+
var ArtifactImportDetailsObjectStorage;
|
|
38
|
+
(function (ArtifactImportDetailsObjectStorage) {
|
|
39
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
40
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
41
|
+
? obj
|
|
42
|
+
: model.ArtifactImportDetails.getJsonObj(obj))), {});
|
|
43
|
+
return jsonObj;
|
|
44
|
+
}
|
|
45
|
+
ArtifactImportDetailsObjectStorage.getJsonObj = getJsonObj;
|
|
46
|
+
ArtifactImportDetailsObjectStorage.artifactSourceType = "ORACLE_OBJECT_STORAGE";
|
|
47
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
48
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
49
|
+
? obj
|
|
50
|
+
: model.ArtifactImportDetails.getDeserializedJsonObj(obj))), {});
|
|
51
|
+
return jsonObj;
|
|
52
|
+
}
|
|
53
|
+
ArtifactImportDetailsObjectStorage.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
54
|
+
})(ArtifactImportDetailsObjectStorage = exports.ArtifactImportDetailsObjectStorage || (exports.ArtifactImportDetailsObjectStorage = {}));
|
|
55
|
+
//# sourceMappingURL=artifact-import-details-object-storage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"artifact-import-details-object-storage.js","sourceRoot":"","sources":["../../../../../lib/datascience/lib/model/artifact-import-details-object-storage.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA2BlC,IAAiB,kCAAkC,CA8BlD;AA9BD,WAAiB,kCAAkC;IACjD,SAAgB,UAAU,CACxB,GAAuC,EACvC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,qBAAqB,CAAC,UAAU,CAAC,GAAG,CAAwC,CAAC,GACrF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,6CAAU,aAYzB,CAAA;IACY,qDAAkB,GAAG,uBAAuB,CAAC;IAC1D,SAAgB,sBAAsB,CACpC,GAAuC,EACvC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,qBAAqB,CAAC,sBAAsB,CACjD,GAAG,CACmC,CAAC,GAC1C,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,yDAAsB,yBAcrC,CAAA;AACH,CAAC,EA9BgB,kCAAkC,GAAlC,0CAAkC,KAAlC,0CAAkC,QA8BlD"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Data Science API
|
|
3
|
+
* Use the Data Science API to organize your data science work, access data and computing resources, and build, train, deploy and manage models and model deployments. For more information, see [Data Science](https://docs.oracle.com/iaas/data-science/using/data-science.htm).
|
|
4
|
+
|
|
5
|
+
* OpenAPI spec version: 20190101
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* 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.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Details of Artifact source
|
|
16
|
+
*/
|
|
17
|
+
export interface ArtifactImportDetails {
|
|
18
|
+
"artifactSourceType": string;
|
|
19
|
+
}
|
|
20
|
+
export declare namespace ArtifactImportDetails {
|
|
21
|
+
function getJsonObj(obj: ArtifactImportDetails): object;
|
|
22
|
+
function getDeserializedJsonObj(obj: ArtifactImportDetails): object;
|
|
23
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Data Science API
|
|
4
|
+
* Use the Data Science API to organize your data science work, access data and computing resources, and build, train, deploy and manage models and model deployments. For more information, see [Data Science](https://docs.oracle.com/iaas/data-science/using/data-science.htm).
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20190101
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
13
|
+
* 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.
|
|
14
|
+
*/
|
|
15
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
18
|
+
}) : (function(o, m, k, k2) {
|
|
19
|
+
if (k2 === undefined) k2 = k;
|
|
20
|
+
o[k2] = m[k];
|
|
21
|
+
}));
|
|
22
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
23
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
24
|
+
}) : function(o, v) {
|
|
25
|
+
o["default"] = v;
|
|
26
|
+
});
|
|
27
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
+
exports.ArtifactImportDetails = void 0;
|
|
36
|
+
const model = __importStar(require("../model"));
|
|
37
|
+
const common = require("oci-common");
|
|
38
|
+
var ArtifactImportDetails;
|
|
39
|
+
(function (ArtifactImportDetails) {
|
|
40
|
+
function getJsonObj(obj) {
|
|
41
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
42
|
+
if (obj && "artifactSourceType" in obj && obj.artifactSourceType) {
|
|
43
|
+
switch (obj.artifactSourceType) {
|
|
44
|
+
case "ORACLE_OBJECT_STORAGE":
|
|
45
|
+
return model.ArtifactImportDetailsObjectStorage.getJsonObj(jsonObj, true);
|
|
46
|
+
default:
|
|
47
|
+
if (common.LOG.logger)
|
|
48
|
+
common.LOG.logger.info(`Unknown value for: ${obj.artifactSourceType}`);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
return jsonObj;
|
|
52
|
+
}
|
|
53
|
+
ArtifactImportDetails.getJsonObj = getJsonObj;
|
|
54
|
+
function getDeserializedJsonObj(obj) {
|
|
55
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
56
|
+
if (obj && "artifactSourceType" in obj && obj.artifactSourceType) {
|
|
57
|
+
switch (obj.artifactSourceType) {
|
|
58
|
+
case "ORACLE_OBJECT_STORAGE":
|
|
59
|
+
return model.ArtifactImportDetailsObjectStorage.getDeserializedJsonObj(jsonObj, true);
|
|
60
|
+
default:
|
|
61
|
+
if (common.LOG.logger)
|
|
62
|
+
common.LOG.logger.info(`Unknown value for: ${obj.artifactSourceType}`);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
return jsonObj;
|
|
66
|
+
}
|
|
67
|
+
ArtifactImportDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
68
|
+
})(ArtifactImportDetails = exports.ArtifactImportDetails || (exports.ArtifactImportDetails = {}));
|
|
69
|
+
//# sourceMappingURL=artifact-import-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"artifact-import-details.js","sourceRoot":"","sources":["../../../../../lib/datascience/lib/model/artifact-import-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAStC,IAAiB,qBAAqB,CAmCrC;AAnCD,WAAiB,qBAAqB;IACpC,SAAgB,UAAU,CAAC,GAA0B;QACnD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,oBAAoB,IAAI,GAAG,IAAI,GAAG,CAAC,kBAAkB,EAAE;YAChE,QAAQ,GAAG,CAAC,kBAAkB,EAAE;gBAC9B,KAAK,uBAAuB;oBAC1B,OAAO,KAAK,CAAC,kCAAkC,CAAC,UAAU,CACL,OAAQ,EAC3D,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBACnB,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,kBAAkB,EAAE,CAAC,CAAC;aAC5E;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAhBe,gCAAU,aAgBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA0B;QAC/D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,oBAAoB,IAAI,GAAG,IAAI,GAAG,CAAC,kBAAkB,EAAE;YAChE,QAAQ,GAAG,CAAC,kBAAkB,EAAE;gBAC9B,KAAK,uBAAuB;oBAC1B,OAAO,KAAK,CAAC,kCAAkC,CAAC,sBAAsB,CACjB,OAAQ,EAC3D,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBACnB,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,kBAAkB,EAAE,CAAC,CAAC;aAC5E;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAhBe,4CAAsB,yBAgBrC,CAAA;AACH,CAAC,EAnCgB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAmCrC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Data Science API
|
|
3
|
+
* Use the Data Science API to organize your data science work, access data and computing resources, and build, train, deploy and manage models and model deployments. For more information, see [Data Science](https://docs.oracle.com/iaas/data-science/using/data-science.htm).
|
|
4
|
+
|
|
5
|
+
* OpenAPI spec version: 20190101
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* 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.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Possible sources where artifact would be present
|
|
16
|
+
**/
|
|
17
|
+
export declare enum ArtifactSourceType {
|
|
18
|
+
OracleObjectStorage = "ORACLE_OBJECT_STORAGE"
|
|
19
|
+
}
|
|
20
|
+
export declare namespace ArtifactSourceType {
|
|
21
|
+
function getJsonObj(obj: ArtifactSourceType): ArtifactSourceType;
|
|
22
|
+
function getDeserializedJsonObj(obj: ArtifactSourceType): ArtifactSourceType;
|
|
23
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Data Science API
|
|
4
|
+
* Use the Data Science API to organize your data science work, access data and computing resources, and build, train, deploy and manage models and model deployments. For more information, see [Data Science](https://docs.oracle.com/iaas/data-science/using/data-science.htm).
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20190101
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
13
|
+
* 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.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ArtifactSourceType = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Possible sources where artifact would be present
|
|
19
|
+
**/
|
|
20
|
+
var ArtifactSourceType;
|
|
21
|
+
(function (ArtifactSourceType) {
|
|
22
|
+
ArtifactSourceType["OracleObjectStorage"] = "ORACLE_OBJECT_STORAGE";
|
|
23
|
+
})(ArtifactSourceType = exports.ArtifactSourceType || (exports.ArtifactSourceType = {}));
|
|
24
|
+
(function (ArtifactSourceType) {
|
|
25
|
+
function getJsonObj(obj) {
|
|
26
|
+
return obj;
|
|
27
|
+
}
|
|
28
|
+
ArtifactSourceType.getJsonObj = getJsonObj;
|
|
29
|
+
function getDeserializedJsonObj(obj) {
|
|
30
|
+
return obj;
|
|
31
|
+
}
|
|
32
|
+
ArtifactSourceType.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
33
|
+
})(ArtifactSourceType = exports.ArtifactSourceType || (exports.ArtifactSourceType = {}));
|
|
34
|
+
//# sourceMappingURL=artifact-source-type.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"artifact-source-type.js","sourceRoot":"","sources":["../../../../../lib/datascience/lib/model/artifact-source-type.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;AAKH;;IAEI;AACJ,IAAY,kBAEX;AAFD,WAAY,kBAAkB;IAC5B,mEAA6C,CAAA;AAC/C,CAAC,EAFW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAE7B;AAED,WAAiB,kBAAkB;IACjC,SAAgB,UAAU,CAAC,GAAuB;QAChD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,6BAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAuB;QAC5D,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,yCAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAOlC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Data Science API
|
|
3
|
+
* Use the Data Science API to organize your data science work, access data and computing resources, and build, train, deploy and manage models and model deployments. For more information, see [Data Science](https://docs.oracle.com/iaas/data-science/using/data-science.htm).
|
|
4
|
+
|
|
5
|
+
* OpenAPI spec version: 20190101
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* 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.
|
|
13
|
+
*/
|
|
14
|
+
import * as model from "../model";
|
|
15
|
+
/**
|
|
16
|
+
* Details required for exporting the model artifact from source to service bucket
|
|
17
|
+
*/
|
|
18
|
+
export interface ExportModelArtifactDetails {
|
|
19
|
+
"artifactExportDetails": model.ArtifactExportDetailsObjectStorage;
|
|
20
|
+
}
|
|
21
|
+
export declare namespace ExportModelArtifactDetails {
|
|
22
|
+
function getJsonObj(obj: ExportModelArtifactDetails): object;
|
|
23
|
+
function getDeserializedJsonObj(obj: ExportModelArtifactDetails): object;
|
|
24
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Data Science API
|
|
4
|
+
* Use the Data Science API to organize your data science work, access data and computing resources, and build, train, deploy and manage models and model deployments. For more information, see [Data Science](https://docs.oracle.com/iaas/data-science/using/data-science.htm).
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20190101
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
13
|
+
* 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.
|
|
14
|
+
*/
|
|
15
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
18
|
+
}) : (function(o, m, k, k2) {
|
|
19
|
+
if (k2 === undefined) k2 = k;
|
|
20
|
+
o[k2] = m[k];
|
|
21
|
+
}));
|
|
22
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
23
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
24
|
+
}) : function(o, v) {
|
|
25
|
+
o["default"] = v;
|
|
26
|
+
});
|
|
27
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
+
exports.ExportModelArtifactDetails = void 0;
|
|
36
|
+
const model = __importStar(require("../model"));
|
|
37
|
+
var ExportModelArtifactDetails;
|
|
38
|
+
(function (ExportModelArtifactDetails) {
|
|
39
|
+
function getJsonObj(obj) {
|
|
40
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
41
|
+
"artifactExportDetails": obj.artifactExportDetails
|
|
42
|
+
? model.ArtifactExportDetails.getJsonObj(obj.artifactExportDetails)
|
|
43
|
+
: undefined
|
|
44
|
+
});
|
|
45
|
+
return jsonObj;
|
|
46
|
+
}
|
|
47
|
+
ExportModelArtifactDetails.getJsonObj = getJsonObj;
|
|
48
|
+
function getDeserializedJsonObj(obj) {
|
|
49
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
50
|
+
"artifactExportDetails": obj.artifactExportDetails
|
|
51
|
+
? model.ArtifactExportDetails.getDeserializedJsonObj(obj.artifactExportDetails)
|
|
52
|
+
: undefined
|
|
53
|
+
});
|
|
54
|
+
return jsonObj;
|
|
55
|
+
}
|
|
56
|
+
ExportModelArtifactDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
57
|
+
})(ExportModelArtifactDetails = exports.ExportModelArtifactDetails || (exports.ExportModelArtifactDetails = {}));
|
|
58
|
+
//# sourceMappingURL=export-model-artifact-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"export-model-artifact-details.js","sourceRoot":"","sources":["../../../../../lib/datascience/lib/model/export-model-artifact-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAUlC,IAAiB,0BAA0B,CAyB1C;AAzBD,WAAiB,0BAA0B;IACzC,SAAgB,UAAU,CAAC,GAA+B;QACxD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,uBAAuB,EAAE,GAAG,CAAC,qBAAqB;gBAChD,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC,UAAU,CAAC,GAAG,CAAC,qBAAqB,CAAC;gBACnE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,qCAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA+B;QACpE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,uBAAuB,EAAE,GAAG,CAAC,qBAAqB;gBAChD,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC,sBAAsB,CAAC,GAAG,CAAC,qBAAqB,CAAC;gBAC/E,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,iDAAsB,yBAWrC,CAAA;AACH,CAAC,EAzBgB,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAyB1C"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Data Science API
|
|
3
|
+
* Use the Data Science API to organize your data science work, access data and computing resources, and build, train, deploy and manage models and model deployments. For more information, see [Data Science](https://docs.oracle.com/iaas/data-science/using/data-science.htm).
|
|
4
|
+
|
|
5
|
+
* OpenAPI spec version: 20190101
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* 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.
|
|
13
|
+
*/
|
|
14
|
+
import * as model from "../model";
|
|
15
|
+
/**
|
|
16
|
+
* Details required for importing the artifact from service bucket
|
|
17
|
+
*/
|
|
18
|
+
export interface ImportModelArtifactDetails {
|
|
19
|
+
"artifactImportDetails": model.ArtifactImportDetailsObjectStorage;
|
|
20
|
+
}
|
|
21
|
+
export declare namespace ImportModelArtifactDetails {
|
|
22
|
+
function getJsonObj(obj: ImportModelArtifactDetails): object;
|
|
23
|
+
function getDeserializedJsonObj(obj: ImportModelArtifactDetails): object;
|
|
24
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Data Science API
|
|
4
|
+
* Use the Data Science API to organize your data science work, access data and computing resources, and build, train, deploy and manage models and model deployments. For more information, see [Data Science](https://docs.oracle.com/iaas/data-science/using/data-science.htm).
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20190101
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
13
|
+
* 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.
|
|
14
|
+
*/
|
|
15
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
18
|
+
}) : (function(o, m, k, k2) {
|
|
19
|
+
if (k2 === undefined) k2 = k;
|
|
20
|
+
o[k2] = m[k];
|
|
21
|
+
}));
|
|
22
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
23
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
24
|
+
}) : function(o, v) {
|
|
25
|
+
o["default"] = v;
|
|
26
|
+
});
|
|
27
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
+
exports.ImportModelArtifactDetails = void 0;
|
|
36
|
+
const model = __importStar(require("../model"));
|
|
37
|
+
var ImportModelArtifactDetails;
|
|
38
|
+
(function (ImportModelArtifactDetails) {
|
|
39
|
+
function getJsonObj(obj) {
|
|
40
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
41
|
+
"artifactImportDetails": obj.artifactImportDetails
|
|
42
|
+
? model.ArtifactImportDetails.getJsonObj(obj.artifactImportDetails)
|
|
43
|
+
: undefined
|
|
44
|
+
});
|
|
45
|
+
return jsonObj;
|
|
46
|
+
}
|
|
47
|
+
ImportModelArtifactDetails.getJsonObj = getJsonObj;
|
|
48
|
+
function getDeserializedJsonObj(obj) {
|
|
49
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
50
|
+
"artifactImportDetails": obj.artifactImportDetails
|
|
51
|
+
? model.ArtifactImportDetails.getDeserializedJsonObj(obj.artifactImportDetails)
|
|
52
|
+
: undefined
|
|
53
|
+
});
|
|
54
|
+
return jsonObj;
|
|
55
|
+
}
|
|
56
|
+
ImportModelArtifactDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
57
|
+
})(ImportModelArtifactDetails = exports.ImportModelArtifactDetails || (exports.ImportModelArtifactDetails = {}));
|
|
58
|
+
//# sourceMappingURL=import-model-artifact-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"import-model-artifact-details.js","sourceRoot":"","sources":["../../../../../lib/datascience/lib/model/import-model-artifact-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAUlC,IAAiB,0BAA0B,CAyB1C;AAzBD,WAAiB,0BAA0B;IACzC,SAAgB,UAAU,CAAC,GAA+B;QACxD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,uBAAuB,EAAE,GAAG,CAAC,qBAAqB;gBAChD,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC,UAAU,CAAC,GAAG,CAAC,qBAAqB,CAAC;gBACnE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,qCAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA+B;QACpE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,uBAAuB,EAAE,GAAG,CAAC,qBAAqB;gBAChD,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC,sBAAsB,CAAC,GAAG,CAAC,qBAAqB,CAAC;gBAC/E,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,iDAAsB,yBAWrC,CAAA;AACH,CAAC,EAzBgB,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAyB1C"}
|
package/lib/model/index.d.ts
CHANGED
|
@@ -11,6 +11,12 @@
|
|
|
11
11
|
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
12
|
* 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.
|
|
13
13
|
*/
|
|
14
|
+
import * as ArtifactExportDetails from "./artifact-export-details";
|
|
15
|
+
export import ArtifactExportDetails = ArtifactExportDetails.ArtifactExportDetails;
|
|
16
|
+
import * as ArtifactImportDetails from "./artifact-import-details";
|
|
17
|
+
export import ArtifactImportDetails = ArtifactImportDetails.ArtifactImportDetails;
|
|
18
|
+
import * as ArtifactSourceType from "./artifact-source-type";
|
|
19
|
+
export import ArtifactSourceType = ArtifactSourceType.ArtifactSourceType;
|
|
14
20
|
import * as CategoryLogDetails from "./category-log-details";
|
|
15
21
|
export import CategoryLogDetails = CategoryLogDetails.CategoryLogDetails;
|
|
16
22
|
import * as ChangeJobCompartmentDetails from "./change-job-compartment-details";
|
|
@@ -39,8 +45,12 @@ import * as CreateNotebookSessionDetails from "./create-notebook-session-details
|
|
|
39
45
|
export import CreateNotebookSessionDetails = CreateNotebookSessionDetails.CreateNotebookSessionDetails;
|
|
40
46
|
import * as CreateProjectDetails from "./create-project-details";
|
|
41
47
|
export import CreateProjectDetails = CreateProjectDetails.CreateProjectDetails;
|
|
48
|
+
import * as ExportModelArtifactDetails from "./export-model-artifact-details";
|
|
49
|
+
export import ExportModelArtifactDetails = ExportModelArtifactDetails.ExportModelArtifactDetails;
|
|
42
50
|
import * as FastLaunchJobConfigSummary from "./fast-launch-job-config-summary";
|
|
43
51
|
export import FastLaunchJobConfigSummary = FastLaunchJobConfigSummary.FastLaunchJobConfigSummary;
|
|
52
|
+
import * as ImportModelArtifactDetails from "./import-model-artifact-details";
|
|
53
|
+
export import ImportModelArtifactDetails = ImportModelArtifactDetails.ImportModelArtifactDetails;
|
|
44
54
|
import * as InstanceConfiguration from "./instance-configuration";
|
|
45
55
|
export import InstanceConfiguration = InstanceConfiguration.InstanceConfiguration;
|
|
46
56
|
import * as Job from "./job";
|
|
@@ -161,6 +171,10 @@ import * as WorkRequestStatus from "./work-request-status";
|
|
|
161
171
|
export import WorkRequestStatus = WorkRequestStatus.WorkRequestStatus;
|
|
162
172
|
import * as WorkRequestSummary from "./work-request-summary";
|
|
163
173
|
export import WorkRequestSummary = WorkRequestSummary.WorkRequestSummary;
|
|
174
|
+
import * as ArtifactExportDetailsObjectStorage from "./artifact-export-details-object-storage";
|
|
175
|
+
export import ArtifactExportDetailsObjectStorage = ArtifactExportDetailsObjectStorage.ArtifactExportDetailsObjectStorage;
|
|
176
|
+
import * as ArtifactImportDetailsObjectStorage from "./artifact-import-details-object-storage";
|
|
177
|
+
export import ArtifactImportDetailsObjectStorage = ArtifactImportDetailsObjectStorage.ArtifactImportDetailsObjectStorage;
|
|
164
178
|
import * as DefaultJobConfigurationDetails from "./default-job-configuration-details";
|
|
165
179
|
export import DefaultJobConfigurationDetails = DefaultJobConfigurationDetails.DefaultJobConfigurationDetails;
|
|
166
180
|
import * as FixedSizeScalingPolicy from "./fixed-size-scaling-policy";
|