oci-audit 2.4.0 → 2.6.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/LICENSE.txt +6 -0
- package/lib/client.d.ts +26 -3
- package/lib/client.js +43 -6
- package/lib/client.js.map +1 -1
- package/lib/request/get-configuration-request.d.ts +1 -1
- package/lib/request/list-events-request.d.ts +1 -1
- package/lib/request/update-configuration-request.d.ts +1 -1
- package/package.json +3 -3
package/LICENSE.txt
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
|
|
2
|
+
|
|
3
|
+
This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 or Apache License 2.0. See below for license terms. You may choose either license.
|
|
4
|
+
|
|
5
|
+
____________________________
|
|
6
|
+
|
|
1
7
|
The Universal Permissive License (UPL), Version 1.0
|
|
2
8
|
|
|
3
9
|
Subject to the condition set forth below, permission is hereby granted to any
|
package/lib/client.d.ts
CHANGED
|
@@ -20,6 +20,9 @@ import * as model from "./model";
|
|
|
20
20
|
import * as responses from "./response";
|
|
21
21
|
export declare enum AuditApiKeys {
|
|
22
22
|
}
|
|
23
|
+
/**
|
|
24
|
+
* This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration.
|
|
25
|
+
*/
|
|
23
26
|
export declare class AuditClient {
|
|
24
27
|
protected static serviceEndpointTemplate: string;
|
|
25
28
|
protected "_endpoint": string;
|
|
@@ -55,23 +58,26 @@ export declare class AuditClient {
|
|
|
55
58
|
set regionId(regionId: string);
|
|
56
59
|
/**
|
|
57
60
|
* Get the configuration
|
|
61
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
58
62
|
* @param GetConfigurationRequest
|
|
59
63
|
* @return GetConfigurationResponse
|
|
60
64
|
* @throws OciError when an error occurs
|
|
61
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
65
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/audit/GetConfiguration.ts.html |here} to see how to use GetConfiguration API.
|
|
62
66
|
*/
|
|
63
67
|
getConfiguration(getConfigurationRequest: requests.GetConfigurationRequest): Promise<responses.GetConfigurationResponse>;
|
|
64
68
|
/**
|
|
65
69
|
* Returns all the audit events processed for the specified compartment within the specified
|
|
66
70
|
* time range.
|
|
67
71
|
*
|
|
72
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
68
73
|
* @param ListEventsRequest
|
|
69
74
|
* @return ListEventsResponse
|
|
70
75
|
* @throws OciError when an error occurs
|
|
71
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
76
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/audit/ListEvents.ts.html |here} to see how to use ListEvents API.
|
|
72
77
|
*/
|
|
73
78
|
listEvents(listEventsRequest: requests.ListEventsRequest): Promise<responses.ListEventsResponse>;
|
|
74
79
|
/**
|
|
80
|
+
* NOTE: This function is deprecated in favor of listEventsRecordIterator function.
|
|
75
81
|
* Creates a new async iterator which will iterate over the models.AuditEvent objects
|
|
76
82
|
* contained in responses from the listEvents operation. This iterator will fetch more data from the
|
|
77
83
|
* server as needed.
|
|
@@ -80,18 +86,35 @@ export declare class AuditClient {
|
|
|
80
86
|
*/
|
|
81
87
|
listAllEvents(request: requests.ListEventsRequest): AsyncIterableIterator<model.AuditEvent>;
|
|
82
88
|
/**
|
|
89
|
+
* NOTE: This function is deprecated in favor of listEventsResponseIterator function.
|
|
83
90
|
* Creates a new async iterator which will iterate over the responses received from the listEvents operation. This iterator
|
|
84
91
|
* will fetch more data from the server as needed.
|
|
85
92
|
*
|
|
86
93
|
* @param request a request which can be sent to the service operation
|
|
87
94
|
*/
|
|
88
95
|
listAllEventsResponses(request: requests.ListEventsRequest): AsyncIterableIterator<responses.ListEventsResponse>;
|
|
96
|
+
/**
|
|
97
|
+
* Creates a new async iterator which will iterate over the models.AuditEvent objects
|
|
98
|
+
* contained in responses from the listEvents operation. This iterator will fetch more data from the
|
|
99
|
+
* server as needed.
|
|
100
|
+
*
|
|
101
|
+
* @param request a request which can be sent to the service operation
|
|
102
|
+
*/
|
|
103
|
+
listEventsRecordIterator(request: requests.ListEventsRequest): AsyncIterableIterator<model.AuditEvent>;
|
|
104
|
+
/**
|
|
105
|
+
* Creates a new async iterator which will iterate over the responses received from the listEvents operation. This iterator
|
|
106
|
+
* will fetch more data from the server as needed.
|
|
107
|
+
*
|
|
108
|
+
* @param request a request which can be sent to the service operation
|
|
109
|
+
*/
|
|
110
|
+
listEventsResponseIterator(request: requests.ListEventsRequest): AsyncIterableIterator<responses.ListEventsResponse>;
|
|
89
111
|
/**
|
|
90
112
|
* Update the configuration
|
|
113
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
91
114
|
* @param UpdateConfigurationRequest
|
|
92
115
|
* @return UpdateConfigurationResponse
|
|
93
116
|
* @throws OciError when an error occurs
|
|
94
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
117
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/audit/UpdateConfiguration.ts.html |here} to see how to use UpdateConfiguration API.
|
|
95
118
|
*/
|
|
96
119
|
updateConfiguration(updateConfigurationRequest: requests.UpdateConfigurationRequest): Promise<responses.UpdateConfigurationResponse>;
|
|
97
120
|
}
|
package/lib/client.js
CHANGED
|
@@ -55,6 +55,9 @@ const oci_common_2 = require("oci-common");
|
|
|
55
55
|
var AuditApiKeys;
|
|
56
56
|
(function (AuditApiKeys) {
|
|
57
57
|
})(AuditApiKeys = exports.AuditApiKeys || (exports.AuditApiKeys = {}));
|
|
58
|
+
/**
|
|
59
|
+
* This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration.
|
|
60
|
+
*/
|
|
58
61
|
class AuditClient {
|
|
59
62
|
constructor(params, clientConfiguration) {
|
|
60
63
|
this["_endpoint"] = "";
|
|
@@ -69,6 +72,13 @@ class AuditClient {
|
|
|
69
72
|
? clientConfiguration.circuitBreaker.circuit
|
|
70
73
|
: null;
|
|
71
74
|
}
|
|
75
|
+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
76
|
+
const specCircuitBreakerEnabled = false;
|
|
77
|
+
if (!this._circuitBreaker &&
|
|
78
|
+
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
79
|
+
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
80
|
+
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
81
|
+
}
|
|
72
82
|
this._httpClient =
|
|
73
83
|
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
|
|
74
84
|
if (params.authenticationDetailsProvider &&
|
|
@@ -119,10 +129,11 @@ class AuditClient {
|
|
|
119
129
|
}
|
|
120
130
|
/**
|
|
121
131
|
* Get the configuration
|
|
132
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
122
133
|
* @param GetConfigurationRequest
|
|
123
134
|
* @return GetConfigurationResponse
|
|
124
135
|
* @throws OciError when an error occurs
|
|
125
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
136
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/audit/GetConfiguration.ts.html |here} to see how to use GetConfiguration API.
|
|
126
137
|
*/
|
|
127
138
|
getConfiguration(getConfigurationRequest) {
|
|
128
139
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -135,7 +146,8 @@ class AuditClient {
|
|
|
135
146
|
let headerParams = {
|
|
136
147
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
137
148
|
};
|
|
138
|
-
const
|
|
149
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
150
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
139
151
|
if (this.logger)
|
|
140
152
|
retrier.logger = this.logger;
|
|
141
153
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -168,10 +180,11 @@ class AuditClient {
|
|
|
168
180
|
* Returns all the audit events processed for the specified compartment within the specified
|
|
169
181
|
* time range.
|
|
170
182
|
*
|
|
183
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
171
184
|
* @param ListEventsRequest
|
|
172
185
|
* @return ListEventsResponse
|
|
173
186
|
* @throws OciError when an error occurs
|
|
174
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
187
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/audit/ListEvents.ts.html |here} to see how to use ListEvents API.
|
|
175
188
|
*/
|
|
176
189
|
listEvents(listEventsRequest) {
|
|
177
190
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -188,7 +201,8 @@ class AuditClient {
|
|
|
188
201
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
189
202
|
"opc-request-id": listEventsRequest.opcRequestId
|
|
190
203
|
};
|
|
191
|
-
const
|
|
204
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
205
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listEventsRequest.retryConfiguration, specRetryConfiguration);
|
|
192
206
|
if (this.logger)
|
|
193
207
|
retrier.logger = this.logger;
|
|
194
208
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -229,6 +243,7 @@ class AuditClient {
|
|
|
229
243
|
});
|
|
230
244
|
}
|
|
231
245
|
/**
|
|
246
|
+
* NOTE: This function is deprecated in favor of listEventsRecordIterator function.
|
|
232
247
|
* Creates a new async iterator which will iterate over the models.AuditEvent objects
|
|
233
248
|
* contained in responses from the listEvents operation. This iterator will fetch more data from the
|
|
234
249
|
* server as needed.
|
|
@@ -239,6 +254,7 @@ class AuditClient {
|
|
|
239
254
|
return oci_common_1.paginateRecords(request, req => this.listEvents(req));
|
|
240
255
|
}
|
|
241
256
|
/**
|
|
257
|
+
* NOTE: This function is deprecated in favor of listEventsResponseIterator function.
|
|
242
258
|
* Creates a new async iterator which will iterate over the responses received from the listEvents operation. This iterator
|
|
243
259
|
* will fetch more data from the server as needed.
|
|
244
260
|
*
|
|
@@ -247,12 +263,32 @@ class AuditClient {
|
|
|
247
263
|
listAllEventsResponses(request) {
|
|
248
264
|
return oci_common_1.paginateResponses(request, req => this.listEvents(req));
|
|
249
265
|
}
|
|
266
|
+
/**
|
|
267
|
+
* Creates a new async iterator which will iterate over the models.AuditEvent objects
|
|
268
|
+
* contained in responses from the listEvents operation. This iterator will fetch more data from the
|
|
269
|
+
* server as needed.
|
|
270
|
+
*
|
|
271
|
+
* @param request a request which can be sent to the service operation
|
|
272
|
+
*/
|
|
273
|
+
listEventsRecordIterator(request) {
|
|
274
|
+
return oci_common_1.paginateRecords(request, req => this.listEvents(req));
|
|
275
|
+
}
|
|
276
|
+
/**
|
|
277
|
+
* Creates a new async iterator which will iterate over the responses received from the listEvents operation. This iterator
|
|
278
|
+
* will fetch more data from the server as needed.
|
|
279
|
+
*
|
|
280
|
+
* @param request a request which can be sent to the service operation
|
|
281
|
+
*/
|
|
282
|
+
listEventsResponseIterator(request) {
|
|
283
|
+
return oci_common_1.paginateResponses(request, req => this.listEvents(req));
|
|
284
|
+
}
|
|
250
285
|
/**
|
|
251
286
|
* Update the configuration
|
|
287
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
252
288
|
* @param UpdateConfigurationRequest
|
|
253
289
|
* @return UpdateConfigurationResponse
|
|
254
290
|
* @throws OciError when an error occurs
|
|
255
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
291
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/audit/UpdateConfiguration.ts.html |here} to see how to use UpdateConfiguration API.
|
|
256
292
|
*/
|
|
257
293
|
updateConfiguration(updateConfigurationRequest) {
|
|
258
294
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -265,7 +301,8 @@ class AuditClient {
|
|
|
265
301
|
let headerParams = {
|
|
266
302
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
267
303
|
};
|
|
268
|
-
const
|
|
304
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
305
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
269
306
|
if (this.logger)
|
|
270
307
|
retrier.logger = this.logger;
|
|
271
308
|
const request = yield oci_common_2.composeRequest({
|
package/lib/client.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../../../lib/audit/lib/client.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,qCAAsC;AAEtC,+CAAiC;AAEjC,2CAAgE;AAChE,2CAA6E;AAE7E,kDAAkD;AAClD,kDAAkD;AAClD,kDAAkD;AAElD,IAAY,YAAe;AAA3B,WAAY,YAAY;AAAE,CAAC,EAAf,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAAG;
|
|
1
|
+
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../../../lib/audit/lib/client.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,qCAAsC;AAEtC,+CAAiC;AAEjC,2CAAgE;AAChE,2CAA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;wBACf;4BACE,KAAK,EAAE,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,gBAAgB,CAAC;4BAC7C,GAAG,EAAE,cAAc;4BACnB,QAAQ,EAAE,QAAQ;yBACnB;wBACD;4BACE,KAAK,EAAE,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,qBAAqB,CAAC;4BAClD,GAAG,EAAE,kBAAkB;4BACvB,QAAQ,EAAE,QAAQ;yBACnB;qBACF;iBACF,CAAC,CAAC;gBAEH,OAAO,WAAW,CAAC;aACpB;YAAC,OAAO,GAAG,EAAE;gBACZ,MAAM,GAAG,CAAC;aACX;QACH,CAAC;KAAA;;AA9UH,kCA+UC;AA9UkB,mCAAuB,GAAG,4CAA4C,CAAC"}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import common = require("oci-common");
|
|
14
14
|
/**
|
|
15
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/audit/GetConfiguration.ts.html |here} to see how to use GetConfigurationRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface GetConfigurationRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import common = require("oci-common");
|
|
14
14
|
/**
|
|
15
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/audit/ListEvents.ts.html |here} to see how to use ListEventsRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface ListEventsRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
import common = require("oci-common");
|
|
15
15
|
/**
|
|
16
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/audit/UpdateConfiguration.ts.html |here} to see how to use UpdateConfigurationRequest.
|
|
17
17
|
*/
|
|
18
18
|
export interface UpdateConfigurationRequest extends common.BaseRequest {
|
|
19
19
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oci-audit",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.0",
|
|
4
4
|
"description": "OCI NodeJS client for Audit Service",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
},
|
|
16
16
|
"license": "(UPL-1.0 OR Apache-2.0)",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"oci-common": "2.
|
|
19
|
-
"oci-workrequests": "2.
|
|
18
|
+
"oci-common": "2.6.0",
|
|
19
|
+
"oci-workrequests": "2.6.0"
|
|
20
20
|
},
|
|
21
21
|
"publishConfig": {
|
|
22
22
|
"registry": "https://registry.npmjs.org"
|