oci-osubusage 2.12.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.
Files changed (53) hide show
  1. package/LICENSE.txt +89 -0
  2. package/NOTICE.txt +1 -0
  3. package/README.md +22 -0
  4. package/THIRD_PARTY_LICENSES.txt +1521 -0
  5. package/index.d.ts +21 -0
  6. package/index.js +44 -0
  7. package/index.js.map +1 -0
  8. package/lib/client.d.ts +150 -0
  9. package/lib/client.js +413 -0
  10. package/lib/client.js.map +1 -0
  11. package/lib/model/computed-usage-aggregated-summary.d.ts +82 -0
  12. package/lib/model/computed-usage-aggregated-summary.js +81 -0
  13. package/lib/model/computed-usage-aggregated-summary.js.map +1 -0
  14. package/lib/model/computed-usage-aggregation.d.ts +82 -0
  15. package/lib/model/computed-usage-aggregation.js +77 -0
  16. package/lib/model/computed-usage-aggregation.js.map +1 -0
  17. package/lib/model/computed-usage-summary.d.ts +163 -0
  18. package/lib/model/computed-usage-summary.js +83 -0
  19. package/lib/model/computed-usage-summary.js.map +1 -0
  20. package/lib/model/computed-usage.d.ts +163 -0
  21. package/lib/model/computed-usage.js +83 -0
  22. package/lib/model/computed-usage.js.map +1 -0
  23. package/lib/model/index.d.ts +23 -0
  24. package/lib/model/index.js +46 -0
  25. package/lib/model/index.js.map +1 -0
  26. package/lib/model/product.d.ts +58 -0
  27. package/lib/model/product.js +30 -0
  28. package/lib/model/product.js.map +1 -0
  29. package/lib/request/get-computed-usage-request.d.ts +44 -0
  30. package/lib/request/get-computed-usage-request.js +15 -0
  31. package/lib/request/get-computed-usage-request.js.map +1 -0
  32. package/lib/request/index.d.ts +19 -0
  33. package/lib/request/index.js +40 -0
  34. package/lib/request/index.js.map +1 -0
  35. package/lib/request/list-computed-usage-aggregateds-request.d.ts +77 -0
  36. package/lib/request/list-computed-usage-aggregateds-request.js +26 -0
  37. package/lib/request/list-computed-usage-aggregateds-request.js.map +1 -0
  38. package/lib/request/list-computed-usages-request.d.ts +90 -0
  39. package/lib/request/list-computed-usages-request.js +30 -0
  40. package/lib/request/list-computed-usages-request.js.map +1 -0
  41. package/lib/response/get-computed-usage-response.d.ts +25 -0
  42. package/lib/response/get-computed-usage-response.js +15 -0
  43. package/lib/response/get-computed-usage-response.js.map +1 -0
  44. package/lib/response/index.d.ts +19 -0
  45. package/lib/response/index.js +16 -0
  46. package/lib/response/index.js.map +1 -0
  47. package/lib/response/list-computed-usage-aggregateds-response.d.ts +32 -0
  48. package/lib/response/list-computed-usage-aggregateds-response.js +15 -0
  49. package/lib/response/list-computed-usage-aggregateds-response.js.map +1 -0
  50. package/lib/response/list-computed-usages-response.d.ts +32 -0
  51. package/lib/response/list-computed-usages-response.js +15 -0
  52. package/lib/response/list-computed-usages-response.js.map +1 -0
  53. package/package.json +29 -0
package/index.d.ts ADDED
@@ -0,0 +1,21 @@
1
+ /**
2
+ * OneSubscription API Usage Computation
3
+ * OneSubscription API Common set of Subscription Plan Management (SPM) Usage Computation resources
4
+
5
+ * OpenAPI spec version: 20210501
6
+ * Contact: kuaskum_org_ww@oracle.com
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 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
+ export { models };
19
+ export { requests };
20
+ export { responses };
21
+ export import ComputedUsageClient = client.ComputedUsageClient;
package/index.js ADDED
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ /**
3
+ * OneSubscription API Usage Computation
4
+ * OneSubscription API Common set of Subscription Plan Management (SPM) Usage Computation resources
5
+
6
+ * OpenAPI spec version: 20210501
7
+ * Contact: kuaskum_org_ww@oracle.com
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.ComputedUsageClient = exports.responses = exports.requests = exports.models = void 0;
36
+ const requests = __importStar(require("./lib/request"));
37
+ exports.requests = requests;
38
+ const models = __importStar(require("./lib/model"));
39
+ exports.models = models;
40
+ const responses = __importStar(require("./lib/response"));
41
+ exports.responses = responses;
42
+ const client = __importStar(require("./lib/client"));
43
+ exports.ComputedUsageClient = client.ComputedUsageClient;
44
+ //# sourceMappingURL=index.js.map
package/index.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/osubusage/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,wDAA0C;AAMjC,4BAAQ;AALjB,oDAAsC;AAI7B,wBAAM;AAHf,0DAA4C;AAKnC,8BAAS;AAJlB,qDAAuC;AAKzB,QAAA,mBAAmB,GAAG,MAAM,CAAC,mBAAmB,CAAC"}
@@ -0,0 +1,150 @@
1
+ /**
2
+ * OneSubscription API Usage Computation
3
+ * OneSubscription API Common set of Subscription Plan Management (SPM) Usage Computation resources
4
+
5
+ * OpenAPI spec version: 20210501
6
+ * Contact: kuaskum_org_ww@oracle.com
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 common = require("oci-common");
15
+ import * as requests from "./request";
16
+ import * as model from "./model";
17
+ import * as responses from "./response";
18
+ export declare enum ComputedUsageApiKeys {
19
+ }
20
+ /**
21
+ * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
22
+ */
23
+ export declare class ComputedUsageClient {
24
+ protected static serviceEndpointTemplate: string;
25
+ protected "_endpoint": string;
26
+ protected "_defaultHeaders": any;
27
+ protected "_clientConfiguration": common.ClientConfiguration;
28
+ protected _circuitBreaker: null;
29
+ protected _httpClient: common.HttpClient;
30
+ constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
31
+ /**
32
+ * Get the endpoint that is being used to call (ex, https://www.example.com).
33
+ */
34
+ get endpoint(): string;
35
+ /**
36
+ * Sets the endpoint to call (ex, https://www.example.com).
37
+ * @param endpoint The endpoint of the service.
38
+ */
39
+ set endpoint(endpoint: string);
40
+ get logger(): import("oci-common/lib/log").Logger;
41
+ /**
42
+ * Sets the region to call (ex, Region.US_PHOENIX_1).
43
+ * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
44
+ * @param region The region of the service.
45
+ */
46
+ set region(region: common.Region);
47
+ /**
48
+ * Sets the regionId to call (ex, 'us-phoenix-1').
49
+ *
50
+ * Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
51
+ * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
52
+ * and then call {@link #endpoint(String) endpoint}.
53
+ * @param regionId The public region ID.
54
+ */
55
+ set regionId(regionId: string);
56
+ /**
57
+ * This is an API which returns Computed Usage corresponding to the id passed
58
+ *
59
+ * This operation does not retry by default if the user has not defined a retry configuration.
60
+ * @param GetComputedUsageRequest
61
+ * @return GetComputedUsageResponse
62
+ * @throws OciError when an error occurs
63
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.12.0/osubusage/GetComputedUsage.ts.html |here} to see how to use GetComputedUsage API.
64
+ */
65
+ getComputedUsage(getComputedUsageRequest: requests.GetComputedUsageRequest): Promise<responses.GetComputedUsageResponse>;
66
+ /**
67
+ * This is a collection API which returns a list of aggregated computed usage details (there can be multiple Parent Products under a given SubID each of which is represented under Subscription Service Line # in SPM).
68
+ *
69
+ * This operation does not retry by default if the user has not defined a retry configuration.
70
+ * @param ListComputedUsageAggregatedsRequest
71
+ * @return ListComputedUsageAggregatedsResponse
72
+ * @throws OciError when an error occurs
73
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.12.0/osubusage/ListComputedUsageAggregateds.ts.html |here} to see how to use ListComputedUsageAggregateds API.
74
+ */
75
+ listComputedUsageAggregateds(listComputedUsageAggregatedsRequest: requests.ListComputedUsageAggregatedsRequest): Promise<responses.ListComputedUsageAggregatedsResponse>;
76
+ /**
77
+ * NOTE: This function is deprecated in favor of listComputedUsageAggregatedsRecordIterator function.
78
+ * Creates a new async iterator which will iterate over the models.ComputedUsageAggregatedSummary objects
79
+ * contained in responses from the listComputedUsageAggregateds operation. This iterator will fetch more data from the
80
+ * server as needed.
81
+ *
82
+ * @param request a request which can be sent to the service operation
83
+ */
84
+ listAllComputedUsageAggregateds(request: requests.ListComputedUsageAggregatedsRequest): AsyncIterableIterator<model.ComputedUsageAggregatedSummary>;
85
+ /**
86
+ * NOTE: This function is deprecated in favor of listComputedUsageAggregatedsResponseIterator function.
87
+ * Creates a new async iterator which will iterate over the responses received from the listComputedUsageAggregateds operation. This iterator
88
+ * will fetch more data from the server as needed.
89
+ *
90
+ * @param request a request which can be sent to the service operation
91
+ */
92
+ listAllComputedUsageAggregatedsResponses(request: requests.ListComputedUsageAggregatedsRequest): AsyncIterableIterator<responses.ListComputedUsageAggregatedsResponse>;
93
+ /**
94
+ * Creates a new async iterator which will iterate over the models.ComputedUsageAggregatedSummary objects
95
+ * contained in responses from the listComputedUsageAggregateds operation. This iterator will fetch more data from the
96
+ * server as needed.
97
+ *
98
+ * @param request a request which can be sent to the service operation
99
+ */
100
+ listComputedUsageAggregatedsRecordIterator(request: requests.ListComputedUsageAggregatedsRequest): AsyncIterableIterator<model.ComputedUsageAggregatedSummary>;
101
+ /**
102
+ * Creates a new async iterator which will iterate over the responses received from the listComputedUsageAggregateds operation. This iterator
103
+ * will fetch more data from the server as needed.
104
+ *
105
+ * @param request a request which can be sent to the service operation
106
+ */
107
+ listComputedUsageAggregatedsResponseIterator(request: requests.ListComputedUsageAggregatedsRequest): AsyncIterableIterator<responses.ListComputedUsageAggregatedsResponse>;
108
+ /**
109
+ * This is a collection API which returns a list of Computed Usages for given filters.
110
+ *
111
+ * This operation does not retry by default if the user has not defined a retry configuration.
112
+ * @param ListComputedUsagesRequest
113
+ * @return ListComputedUsagesResponse
114
+ * @throws OciError when an error occurs
115
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.12.0/osubusage/ListComputedUsages.ts.html |here} to see how to use ListComputedUsages API.
116
+ */
117
+ listComputedUsages(listComputedUsagesRequest: requests.ListComputedUsagesRequest): Promise<responses.ListComputedUsagesResponse>;
118
+ /**
119
+ * NOTE: This function is deprecated in favor of listComputedUsagesRecordIterator function.
120
+ * Creates a new async iterator which will iterate over the models.ComputedUsageSummary objects
121
+ * contained in responses from the listComputedUsages operation. This iterator will fetch more data from the
122
+ * server as needed.
123
+ *
124
+ * @param request a request which can be sent to the service operation
125
+ */
126
+ listAllComputedUsages(request: requests.ListComputedUsagesRequest): AsyncIterableIterator<model.ComputedUsageSummary>;
127
+ /**
128
+ * NOTE: This function is deprecated in favor of listComputedUsagesResponseIterator function.
129
+ * Creates a new async iterator which will iterate over the responses received from the listComputedUsages operation. This iterator
130
+ * will fetch more data from the server as needed.
131
+ *
132
+ * @param request a request which can be sent to the service operation
133
+ */
134
+ listAllComputedUsagesResponses(request: requests.ListComputedUsagesRequest): AsyncIterableIterator<responses.ListComputedUsagesResponse>;
135
+ /**
136
+ * Creates a new async iterator which will iterate over the models.ComputedUsageSummary objects
137
+ * contained in responses from the listComputedUsages operation. This iterator will fetch more data from the
138
+ * server as needed.
139
+ *
140
+ * @param request a request which can be sent to the service operation
141
+ */
142
+ listComputedUsagesRecordIterator(request: requests.ListComputedUsagesRequest): AsyncIterableIterator<model.ComputedUsageSummary>;
143
+ /**
144
+ * Creates a new async iterator which will iterate over the responses received from the listComputedUsages operation. This iterator
145
+ * will fetch more data from the server as needed.
146
+ *
147
+ * @param request a request which can be sent to the service operation
148
+ */
149
+ listComputedUsagesResponseIterator(request: requests.ListComputedUsagesRequest): AsyncIterableIterator<responses.ListComputedUsagesResponse>;
150
+ }
package/lib/client.js ADDED
@@ -0,0 +1,413 @@
1
+ "use strict";
2
+ /**
3
+ * OneSubscription API Usage Computation
4
+ * OneSubscription API Common set of Subscription Plan Management (SPM) Usage Computation resources
5
+
6
+ * OpenAPI spec version: 20210501
7
+ * Contact: kuaskum_org_ww@oracle.com
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
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
35
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
36
+ return new (P || (P = Promise))(function (resolve, reject) {
37
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
38
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
39
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
40
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
41
+ });
42
+ };
43
+ Object.defineProperty(exports, "__esModule", { value: true });
44
+ exports.ComputedUsageClient = exports.ComputedUsageApiKeys = void 0;
45
+ const common = require("oci-common");
46
+ const model = __importStar(require("./model"));
47
+ const oci_common_1 = require("oci-common");
48
+ const oci_common_2 = require("oci-common");
49
+ // ===============================================
50
+ // This file is autogenerated - Please do not edit
51
+ // ===============================================
52
+ var ComputedUsageApiKeys;
53
+ (function (ComputedUsageApiKeys) {
54
+ })(ComputedUsageApiKeys = exports.ComputedUsageApiKeys || (exports.ComputedUsageApiKeys = {}));
55
+ /**
56
+ * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
57
+ */
58
+ class ComputedUsageClient {
59
+ constructor(params, clientConfiguration) {
60
+ this["_endpoint"] = "";
61
+ this["_defaultHeaders"] = {};
62
+ this._circuitBreaker = null;
63
+ const requestSigner = params.authenticationDetailsProvider
64
+ ? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
65
+ : null;
66
+ if (clientConfiguration) {
67
+ this._clientConfiguration = clientConfiguration;
68
+ this._circuitBreaker = clientConfiguration.circuitBreaker
69
+ ? clientConfiguration.circuitBreaker.circuit
70
+ : null;
71
+ }
72
+ // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
73
+ const specCircuitBreakerEnabled = true;
74
+ if (!this._circuitBreaker &&
75
+ common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
76
+ (specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
77
+ this._circuitBreaker = new common.CircuitBreaker().circuit;
78
+ }
79
+ this._httpClient =
80
+ params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
81
+ if (params.authenticationDetailsProvider &&
82
+ common.isRegionProvider(params.authenticationDetailsProvider)) {
83
+ const provider = params.authenticationDetailsProvider;
84
+ if (provider.getRegion()) {
85
+ this.region = provider.getRegion();
86
+ }
87
+ }
88
+ }
89
+ /**
90
+ * Get the endpoint that is being used to call (ex, https://www.example.com).
91
+ */
92
+ get endpoint() {
93
+ return this._endpoint;
94
+ }
95
+ /**
96
+ * Sets the endpoint to call (ex, https://www.example.com).
97
+ * @param endpoint The endpoint of the service.
98
+ */
99
+ set endpoint(endpoint) {
100
+ this._endpoint = endpoint;
101
+ this._endpoint = this._endpoint + "/oalapp/service/onesubs/proxy/20210501";
102
+ if (this.logger)
103
+ this.logger.info(`ComputedUsageClient endpoint set to ${this._endpoint}`);
104
+ }
105
+ get logger() {
106
+ return common.LOG.logger;
107
+ }
108
+ /**
109
+ * Sets the region to call (ex, Region.US_PHOENIX_1).
110
+ * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
111
+ * @param region The region of the service.
112
+ */
113
+ set region(region) {
114
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegion(ComputedUsageClient.serviceEndpointTemplate, region);
115
+ }
116
+ /**
117
+ * Sets the regionId to call (ex, 'us-phoenix-1').
118
+ *
119
+ * Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
120
+ * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
121
+ * and then call {@link #endpoint(String) endpoint}.
122
+ * @param regionId The public region ID.
123
+ */
124
+ set regionId(regionId) {
125
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(ComputedUsageClient.serviceEndpointTemplate, regionId);
126
+ }
127
+ /**
128
+ * This is an API which returns Computed Usage corresponding to the id passed
129
+ *
130
+ * This operation does not retry by default if the user has not defined a retry configuration.
131
+ * @param GetComputedUsageRequest
132
+ * @return GetComputedUsageResponse
133
+ * @throws OciError when an error occurs
134
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.12.0/osubusage/GetComputedUsage.ts.html |here} to see how to use GetComputedUsage API.
135
+ */
136
+ getComputedUsage(getComputedUsageRequest) {
137
+ return __awaiter(this, void 0, void 0, function* () {
138
+ if (this.logger)
139
+ this.logger.debug("Calling operation ComputedUsageClient#getComputedUsage.");
140
+ const pathParams = {
141
+ "{computedUsageId}": getComputedUsageRequest.computedUsageId
142
+ };
143
+ const queryParams = {
144
+ "compartmentId": getComputedUsageRequest.compartmentId,
145
+ "fields": getComputedUsageRequest.fields
146
+ };
147
+ let headerParams = {
148
+ "Content-Type": common.Constants.APPLICATION_JSON,
149
+ "opc-request-id": getComputedUsageRequest.opcRequestId,
150
+ "x-one-origin-region": getComputedUsageRequest.xOneOriginRegion
151
+ };
152
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
153
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getComputedUsageRequest.retryConfiguration, specRetryConfiguration);
154
+ if (this.logger)
155
+ retrier.logger = this.logger;
156
+ const request = yield oci_common_2.composeRequest({
157
+ baseEndpoint: this._endpoint,
158
+ defaultHeaders: this._defaultHeaders,
159
+ path: "/computedUsages/{computedUsageId}",
160
+ method: "GET",
161
+ pathParams: pathParams,
162
+ headerParams: headerParams,
163
+ queryParams: queryParams
164
+ });
165
+ try {
166
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
167
+ const sdkResponse = oci_common_2.composeResponse({
168
+ responseObject: {},
169
+ body: yield response.json(),
170
+ bodyKey: "computedUsage",
171
+ bodyModel: model.ComputedUsage,
172
+ type: "model.ComputedUsage",
173
+ responseHeaders: [
174
+ {
175
+ value: response.headers.get("opc-request-id"),
176
+ key: "opcRequestId",
177
+ dataType: "string"
178
+ }
179
+ ]
180
+ });
181
+ return sdkResponse;
182
+ }
183
+ catch (err) {
184
+ throw err;
185
+ }
186
+ });
187
+ }
188
+ /**
189
+ * This is a collection API which returns a list of aggregated computed usage details (there can be multiple Parent Products under a given SubID each of which is represented under Subscription Service Line # in SPM).
190
+ *
191
+ * This operation does not retry by default if the user has not defined a retry configuration.
192
+ * @param ListComputedUsageAggregatedsRequest
193
+ * @return ListComputedUsageAggregatedsResponse
194
+ * @throws OciError when an error occurs
195
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.12.0/osubusage/ListComputedUsageAggregateds.ts.html |here} to see how to use ListComputedUsageAggregateds API.
196
+ */
197
+ listComputedUsageAggregateds(listComputedUsageAggregatedsRequest) {
198
+ return __awaiter(this, void 0, void 0, function* () {
199
+ if (this.logger)
200
+ this.logger.debug("Calling operation ComputedUsageClient#listComputedUsageAggregateds.");
201
+ const pathParams = {};
202
+ const queryParams = {
203
+ "compartmentId": listComputedUsageAggregatedsRequest.compartmentId,
204
+ "subscriptionId": listComputedUsageAggregatedsRequest.subscriptionId,
205
+ "timeFrom": listComputedUsageAggregatedsRequest.timeFrom,
206
+ "timeTo": listComputedUsageAggregatedsRequest.timeTo,
207
+ "parentProduct": listComputedUsageAggregatedsRequest.parentProduct,
208
+ "grouping": listComputedUsageAggregatedsRequest.grouping,
209
+ "limit": listComputedUsageAggregatedsRequest.limit,
210
+ "page": listComputedUsageAggregatedsRequest.page
211
+ };
212
+ let headerParams = {
213
+ "Content-Type": common.Constants.APPLICATION_JSON,
214
+ "opc-request-id": listComputedUsageAggregatedsRequest.opcRequestId,
215
+ "x-one-origin-region": listComputedUsageAggregatedsRequest.xOneOriginRegion
216
+ };
217
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
218
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listComputedUsageAggregatedsRequest.retryConfiguration, specRetryConfiguration);
219
+ if (this.logger)
220
+ retrier.logger = this.logger;
221
+ const request = yield oci_common_2.composeRequest({
222
+ baseEndpoint: this._endpoint,
223
+ defaultHeaders: this._defaultHeaders,
224
+ path: "/computedUsages/aggregated",
225
+ method: "GET",
226
+ pathParams: pathParams,
227
+ headerParams: headerParams,
228
+ queryParams: queryParams
229
+ });
230
+ try {
231
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
232
+ const sdkResponse = oci_common_2.composeResponse({
233
+ responseObject: {},
234
+ body: yield response.json(),
235
+ bodyKey: "items",
236
+ bodyModel: model.ComputedUsageAggregatedSummary,
237
+ type: "Array<model.ComputedUsageAggregatedSummary>",
238
+ responseHeaders: [
239
+ {
240
+ value: response.headers.get("opc-next-page"),
241
+ key: "opcNextPage",
242
+ dataType: "string"
243
+ },
244
+ {
245
+ value: response.headers.get("opc-request-id"),
246
+ key: "opcRequestId",
247
+ dataType: "string"
248
+ }
249
+ ]
250
+ });
251
+ return sdkResponse;
252
+ }
253
+ catch (err) {
254
+ throw err;
255
+ }
256
+ });
257
+ }
258
+ /**
259
+ * NOTE: This function is deprecated in favor of listComputedUsageAggregatedsRecordIterator function.
260
+ * Creates a new async iterator which will iterate over the models.ComputedUsageAggregatedSummary objects
261
+ * contained in responses from the listComputedUsageAggregateds operation. This iterator will fetch more data from the
262
+ * server as needed.
263
+ *
264
+ * @param request a request which can be sent to the service operation
265
+ */
266
+ listAllComputedUsageAggregateds(request) {
267
+ return oci_common_1.paginateRecords(request, req => this.listComputedUsageAggregateds(req));
268
+ }
269
+ /**
270
+ * NOTE: This function is deprecated in favor of listComputedUsageAggregatedsResponseIterator function.
271
+ * Creates a new async iterator which will iterate over the responses received from the listComputedUsageAggregateds operation. This iterator
272
+ * will fetch more data from the server as needed.
273
+ *
274
+ * @param request a request which can be sent to the service operation
275
+ */
276
+ listAllComputedUsageAggregatedsResponses(request) {
277
+ return oci_common_1.paginateResponses(request, req => this.listComputedUsageAggregateds(req));
278
+ }
279
+ /**
280
+ * Creates a new async iterator which will iterate over the models.ComputedUsageAggregatedSummary objects
281
+ * contained in responses from the listComputedUsageAggregateds operation. This iterator will fetch more data from the
282
+ * server as needed.
283
+ *
284
+ * @param request a request which can be sent to the service operation
285
+ */
286
+ listComputedUsageAggregatedsRecordIterator(request) {
287
+ return oci_common_1.paginateRecords(request, req => this.listComputedUsageAggregateds(req));
288
+ }
289
+ /**
290
+ * Creates a new async iterator which will iterate over the responses received from the listComputedUsageAggregateds operation. This iterator
291
+ * will fetch more data from the server as needed.
292
+ *
293
+ * @param request a request which can be sent to the service operation
294
+ */
295
+ listComputedUsageAggregatedsResponseIterator(request) {
296
+ return oci_common_1.paginateResponses(request, req => this.listComputedUsageAggregateds(req));
297
+ }
298
+ /**
299
+ * This is a collection API which returns a list of Computed Usages for given filters.
300
+ *
301
+ * This operation does not retry by default if the user has not defined a retry configuration.
302
+ * @param ListComputedUsagesRequest
303
+ * @return ListComputedUsagesResponse
304
+ * @throws OciError when an error occurs
305
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.12.0/osubusage/ListComputedUsages.ts.html |here} to see how to use ListComputedUsages API.
306
+ */
307
+ listComputedUsages(listComputedUsagesRequest) {
308
+ return __awaiter(this, void 0, void 0, function* () {
309
+ if (this.logger)
310
+ this.logger.debug("Calling operation ComputedUsageClient#listComputedUsages.");
311
+ const pathParams = {};
312
+ const queryParams = {
313
+ "compartmentId": listComputedUsagesRequest.compartmentId,
314
+ "subscriptionId": listComputedUsagesRequest.subscriptionId,
315
+ "timeFrom": listComputedUsagesRequest.timeFrom,
316
+ "timeTo": listComputedUsagesRequest.timeTo,
317
+ "parentProduct": listComputedUsagesRequest.parentProduct,
318
+ "computedProduct": listComputedUsagesRequest.computedProduct,
319
+ "limit": listComputedUsagesRequest.limit,
320
+ "page": listComputedUsagesRequest.page,
321
+ "sortOrder": listComputedUsagesRequest.sortOrder,
322
+ "sortBy": listComputedUsagesRequest.sortBy
323
+ };
324
+ let headerParams = {
325
+ "Content-Type": common.Constants.APPLICATION_JSON,
326
+ "opc-request-id": listComputedUsagesRequest.opcRequestId,
327
+ "x-one-origin-region": listComputedUsagesRequest.xOneOriginRegion
328
+ };
329
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
330
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listComputedUsagesRequest.retryConfiguration, specRetryConfiguration);
331
+ if (this.logger)
332
+ retrier.logger = this.logger;
333
+ const request = yield oci_common_2.composeRequest({
334
+ baseEndpoint: this._endpoint,
335
+ defaultHeaders: this._defaultHeaders,
336
+ path: "/computedUsages",
337
+ method: "GET",
338
+ pathParams: pathParams,
339
+ headerParams: headerParams,
340
+ queryParams: queryParams
341
+ });
342
+ try {
343
+ const response = yield retrier.makeServiceCall(this._httpClient, request);
344
+ const sdkResponse = oci_common_2.composeResponse({
345
+ responseObject: {},
346
+ body: yield response.json(),
347
+ bodyKey: "items",
348
+ bodyModel: model.ComputedUsageSummary,
349
+ type: "Array<model.ComputedUsageSummary>",
350
+ responseHeaders: [
351
+ {
352
+ value: response.headers.get("opc-next-page"),
353
+ key: "opcNextPage",
354
+ dataType: "string"
355
+ },
356
+ {
357
+ value: response.headers.get("opc-request-id"),
358
+ key: "opcRequestId",
359
+ dataType: "string"
360
+ }
361
+ ]
362
+ });
363
+ return sdkResponse;
364
+ }
365
+ catch (err) {
366
+ throw err;
367
+ }
368
+ });
369
+ }
370
+ /**
371
+ * NOTE: This function is deprecated in favor of listComputedUsagesRecordIterator function.
372
+ * Creates a new async iterator which will iterate over the models.ComputedUsageSummary objects
373
+ * contained in responses from the listComputedUsages operation. This iterator will fetch more data from the
374
+ * server as needed.
375
+ *
376
+ * @param request a request which can be sent to the service operation
377
+ */
378
+ listAllComputedUsages(request) {
379
+ return oci_common_1.paginateRecords(request, req => this.listComputedUsages(req));
380
+ }
381
+ /**
382
+ * NOTE: This function is deprecated in favor of listComputedUsagesResponseIterator function.
383
+ * Creates a new async iterator which will iterate over the responses received from the listComputedUsages operation. This iterator
384
+ * will fetch more data from the server as needed.
385
+ *
386
+ * @param request a request which can be sent to the service operation
387
+ */
388
+ listAllComputedUsagesResponses(request) {
389
+ return oci_common_1.paginateResponses(request, req => this.listComputedUsages(req));
390
+ }
391
+ /**
392
+ * Creates a new async iterator which will iterate over the models.ComputedUsageSummary objects
393
+ * contained in responses from the listComputedUsages operation. This iterator will fetch more data from the
394
+ * server as needed.
395
+ *
396
+ * @param request a request which can be sent to the service operation
397
+ */
398
+ listComputedUsagesRecordIterator(request) {
399
+ return oci_common_1.paginateRecords(request, req => this.listComputedUsages(req));
400
+ }
401
+ /**
402
+ * Creates a new async iterator which will iterate over the responses received from the listComputedUsages operation. This iterator
403
+ * will fetch more data from the server as needed.
404
+ *
405
+ * @param request a request which can be sent to the service operation
406
+ */
407
+ listComputedUsagesResponseIterator(request) {
408
+ return oci_common_1.paginateResponses(request, req => this.listComputedUsages(req));
409
+ }
410
+ }
411
+ exports.ComputedUsageClient = ComputedUsageClient;
412
+ ComputedUsageClient.serviceEndpointTemplate = "https://csaap-e.oracle.com";
413
+ //# sourceMappingURL=client.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client.js","sourceRoot":"","sources":["../../../../lib/osubusage/lib/client.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,qCAAsC;AAEtC,+CAAiC;AAEjC,2CAAgE;AAChE,2CAA6E;AAE7E,kDAAkD;AAClD,kDAAkD;AAClD,kDAAkD;AAElD,IAAY,oBAAuB;AAAnC,WAAY,oBAAoB;AAAE,CAAC,EAAvB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAAG;AACnC;;GAEG;AACH,MAAa,mBAAmB;IAS9B,YAAY,MAAyB,EAAE,mBAAgD;QAP7E,iBAAW,GAAW,EAAE,CAAC;QACzB,uBAAiB,GAAQ,EAAE,CAAC;QAE5B,oBAAe,GAAG,IAAI,CAAC;QAK/B,MAAM,aAAa,GAAG,MAAM,CAAC,6BAA6B;YACxD,CAAC,CAAC,IAAI,MAAM,CAAC,oBAAoB,CAAC,MAAM,CAAC,6BAA6B,CAAC;YACvE,CAAC,CAAC,IAAI,CAAC;QACT,IAAI,mBAAmB,EAAE;YACvB,IAAI,CAAC,oBAAoB,GAAG,mBAAmB,CAAC;YAChD,IAAI,CAAC,eAAe,GAAG,mBAAmB,CAAC,cAAc;gBACvD,CAAC,CAAC,mBAAmB,CAAC,cAAe,CAAC,OAAO;gBAC7C,CAAC,CAAC,IAAI,CAAC;SACV;QACD,+GAA+G;QAC/G,MAAM,yBAAyB,GAAG,IAAI,CAAC;QACvC,IACE,CAAC,IAAI,CAAC,eAAe;YACrB,MAAM,CAAC,KAAK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