oci-apmtraces 2.111.3 → 2.112.1

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 (133) hide show
  1. package/index.d.ts +3 -0
  2. package/index.js +4 -1
  3. package/index.js.map +1 -1
  4. package/lib/client.d.ts +145 -4
  5. package/lib/client.js +570 -5
  6. package/lib/client.js.map +1 -1
  7. package/lib/model/attribute-metadata.d.ts +55 -0
  8. package/lib/model/attribute-metadata.js +54 -0
  9. package/lib/model/attribute-metadata.js.map +1 -0
  10. package/lib/model/attribute-response.d.ts +1 -1
  11. package/lib/model/attribute-update-response.d.ts +1 -1
  12. package/lib/model/attribute.d.ts +33 -0
  13. package/lib/model/attribute.js +30 -0
  14. package/lib/model/attribute.js.map +1 -0
  15. package/lib/model/auto-activate-status.d.ts +10 -1
  16. package/lib/model/auto-activate-status.js +10 -0
  17. package/lib/model/auto-activate-status.js.map +1 -1
  18. package/lib/model/auto-activate-toggle-status.d.ts +10 -1
  19. package/lib/model/auto-activate-toggle-status.js +10 -0
  20. package/lib/model/auto-activate-toggle-status.js.map +1 -1
  21. package/lib/model/bulk-activate-attribute-detail.d.ts +10 -3
  22. package/lib/model/bulk-activate-attribute-detail.js +2 -0
  23. package/lib/model/bulk-activate-attribute-detail.js.map +1 -1
  24. package/lib/model/bulk-de-activate-attribute-detail.d.ts +2 -1
  25. package/lib/model/bulk-de-activate-attribute-detail.js +1 -0
  26. package/lib/model/bulk-de-activate-attribute-detail.js.map +1 -1
  27. package/lib/model/bulk-pin-attribute-detail.d.ts +2 -1
  28. package/lib/model/bulk-pin-attribute-detail.js +1 -0
  29. package/lib/model/bulk-pin-attribute-detail.js.map +1 -1
  30. package/lib/model/bulk-unpin-attribute-detail.d.ts +2 -1
  31. package/lib/model/bulk-unpin-attribute-detail.js +1 -0
  32. package/lib/model/bulk-unpin-attribute-detail.js.map +1 -1
  33. package/lib/model/bulk-update-attribute-detail.d.ts +3 -2
  34. package/lib/model/bulk-update-attribute-detail.js +1 -0
  35. package/lib/model/bulk-update-attribute-detail.js.map +1 -1
  36. package/lib/model/bulk-update-attribute-notes-detail.d.ts +2 -1
  37. package/lib/model/bulk-update-attribute-notes-detail.js +1 -0
  38. package/lib/model/bulk-update-attribute-notes-detail.js.map +1 -1
  39. package/lib/model/create-scheduled-query-details.d.ts +88 -0
  40. package/lib/model/create-scheduled-query-details.js +58 -0
  41. package/lib/model/create-scheduled-query-details.js.map +1 -0
  42. package/lib/model/custom-metric.d.ts +67 -0
  43. package/lib/model/custom-metric.js +30 -0
  44. package/lib/model/custom-metric.js.map +1 -0
  45. package/lib/model/index.d.ts +34 -0
  46. package/lib/model/index.js +36 -2
  47. package/lib/model/index.js.map +1 -1
  48. package/lib/model/lifecycle-states.d.ts +33 -0
  49. package/lib/model/lifecycle-states.js +44 -0
  50. package/lib/model/lifecycle-states.js.map +1 -0
  51. package/lib/model/log.d.ts +97 -0
  52. package/lib/model/log.js +69 -0
  53. package/lib/model/log.js.map +1 -0
  54. package/lib/model/object-storage.d.ts +38 -0
  55. package/lib/model/object-storage.js +30 -0
  56. package/lib/model/object-storage.js.map +1 -0
  57. package/lib/model/scheduled-query-collection.d.ts +29 -0
  58. package/lib/model/scheduled-query-collection.js +62 -0
  59. package/lib/model/scheduled-query-collection.js.map +1 -0
  60. package/lib/model/scheduled-query-processing-config.d.ts +27 -0
  61. package/lib/model/scheduled-query-processing-config.js +68 -0
  62. package/lib/model/scheduled-query-processing-config.js.map +1 -0
  63. package/lib/model/scheduled-query-processing-sub-type.d.ts +32 -0
  64. package/lib/model/scheduled-query-processing-sub-type.js +43 -0
  65. package/lib/model/scheduled-query-processing-sub-type.js.map +1 -0
  66. package/lib/model/scheduled-query-processing-type.d.ts +31 -0
  67. package/lib/model/scheduled-query-processing-type.js +42 -0
  68. package/lib/model/scheduled-query-processing-type.js.map +1 -0
  69. package/lib/model/scheduled-query-retention-criteria.d.ts +30 -0
  70. package/lib/model/scheduled-query-retention-criteria.js +41 -0
  71. package/lib/model/scheduled-query-retention-criteria.js.map +1 -0
  72. package/lib/model/scheduled-query-summary.d.ts +103 -0
  73. package/lib/model/scheduled-query-summary.js +58 -0
  74. package/lib/model/scheduled-query-summary.js.map +1 -0
  75. package/lib/model/scheduled-query.d.ts +118 -0
  76. package/lib/model/scheduled-query.js +58 -0
  77. package/lib/model/scheduled-query.js.map +1 -0
  78. package/lib/model/sort-order.d.ts +24 -0
  79. package/lib/model/sort-order.js +35 -0
  80. package/lib/model/sort-order.js.map +1 -0
  81. package/lib/model/streaming.d.ts +28 -0
  82. package/lib/model/streaming.js +30 -0
  83. package/lib/model/streaming.js.map +1 -0
  84. package/lib/model/tag-metadata.d.ts +1 -1
  85. package/lib/model/update-scheduled-query-details.d.ts +88 -0
  86. package/lib/model/update-scheduled-query-details.js +58 -0
  87. package/lib/model/update-scheduled-query-details.js.map +1 -0
  88. package/lib/request/create-scheduled-query-request.d.ts +50 -0
  89. package/lib/request/create-scheduled-query-request.js +15 -0
  90. package/lib/request/create-scheduled-query-request.js.map +1 -0
  91. package/lib/request/delete-scheduled-query-request.d.ts +52 -0
  92. package/lib/request/delete-scheduled-query-request.js +15 -0
  93. package/lib/request/delete-scheduled-query-request.js.map +1 -0
  94. package/lib/request/get-log-request.d.ts +53 -0
  95. package/lib/request/get-log-request.js +15 -0
  96. package/lib/request/get-log-request.js.map +1 -0
  97. package/lib/request/get-scheduled-query-request.d.ts +43 -0
  98. package/lib/request/get-scheduled-query-request.js +15 -0
  99. package/lib/request/get-scheduled-query-request.js.map +1 -0
  100. package/lib/request/get-trace-request.d.ts +2 -2
  101. package/lib/request/index.d.ts +12 -0
  102. package/lib/request/index.js +3 -1
  103. package/lib/request/index.js.map +1 -1
  104. package/lib/request/list-scheduled-queries-request.d.ts +74 -0
  105. package/lib/request/list-scheduled-queries-request.js +27 -0
  106. package/lib/request/list-scheduled-queries-request.js.map +1 -0
  107. package/lib/request/query-request.d.ts +6 -4
  108. package/lib/request/update-scheduled-query-request.d.ts +64 -0
  109. package/lib/request/update-scheduled-query-request.js +15 -0
  110. package/lib/request/update-scheduled-query-request.js.map +1 -0
  111. package/lib/response/create-scheduled-query-response.d.ts +30 -0
  112. package/lib/response/create-scheduled-query-response.js +15 -0
  113. package/lib/response/create-scheduled-query-response.js.map +1 -0
  114. package/lib/response/delete-scheduled-query-response.d.ts +20 -0
  115. package/lib/response/delete-scheduled-query-response.js +15 -0
  116. package/lib/response/delete-scheduled-query-response.js.map +1 -0
  117. package/lib/response/get-log-response.d.ts +30 -0
  118. package/lib/response/get-log-response.js +15 -0
  119. package/lib/response/get-log-response.js.map +1 -0
  120. package/lib/response/get-scheduled-query-response.d.ts +30 -0
  121. package/lib/response/get-scheduled-query-response.js +15 -0
  122. package/lib/response/get-scheduled-query-response.js.map +1 -0
  123. package/lib/response/index.d.ts +12 -0
  124. package/lib/response/list-scheduled-queries-response.d.ts +32 -0
  125. package/lib/response/list-scheduled-queries-response.js +15 -0
  126. package/lib/response/list-scheduled-queries-response.js.map +1 -0
  127. package/lib/response/update-scheduled-query-response.d.ts +30 -0
  128. package/lib/response/update-scheduled-query-response.js +15 -0
  129. package/lib/response/update-scheduled-query-response.js.map +1 -0
  130. package/lib/scheduledquery-waiter.d.ts +30 -0
  131. package/lib/scheduledquery-waiter.js +66 -0
  132. package/lib/scheduledquery-waiter.js.map +1 -0
  133. package/package.json +3 -3
package/index.d.ts CHANGED
@@ -15,9 +15,12 @@ import * as requests from "./lib/request";
15
15
  import * as models from "./lib/model";
16
16
  import * as responses from "./lib/response";
17
17
  import * as client from "./lib/client";
18
+ import * as scheduledquery_waiter from "./lib/scheduledquery-waiter";
18
19
  export { models };
19
20
  export { requests };
20
21
  export { responses };
21
22
  export import AttributesClient = client.AttributesClient;
22
23
  export import QueryClient = client.QueryClient;
24
+ export import ScheduledQueryClient = client.ScheduledQueryClient;
25
+ export import ScheduledQueryWaiter = scheduledquery_waiter.ScheduledQueryWaiter;
23
26
  export import TraceClient = client.TraceClient;
package/index.js CHANGED
@@ -32,7 +32,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
32
32
  return result;
33
33
  };
34
34
  Object.defineProperty(exports, "__esModule", { value: true });
35
- exports.TraceClient = exports.QueryClient = exports.AttributesClient = exports.responses = exports.requests = exports.models = void 0;
35
+ exports.TraceClient = exports.ScheduledQueryWaiter = exports.ScheduledQueryClient = exports.QueryClient = exports.AttributesClient = exports.responses = exports.requests = exports.models = void 0;
36
36
  const requests = __importStar(require("./lib/request"));
37
37
  exports.requests = requests;
38
38
  const models = __importStar(require("./lib/model"));
@@ -40,7 +40,10 @@ exports.models = models;
40
40
  const responses = __importStar(require("./lib/response"));
41
41
  exports.responses = responses;
42
42
  const client = __importStar(require("./lib/client"));
43
+ const scheduledquery_waiter = __importStar(require("./lib/scheduledquery-waiter"));
43
44
  exports.AttributesClient = client.AttributesClient;
44
45
  exports.QueryClient = client.QueryClient;
46
+ exports.ScheduledQueryClient = client.ScheduledQueryClient;
47
+ exports.ScheduledQueryWaiter = scheduledquery_waiter.ScheduledQueryWaiter;
45
48
  exports.TraceClient = client.TraceClient;
46
49
  //# sourceMappingURL=index.js.map
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/apmtraces/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,wDAA0C;AAMjC,4BAAQ;AALjB,oDAAsC;AAI7B,wBAAM;AAHf,0DAA4C;AAKnC,8BAAS;AAJlB,qDAAuC;AAKzB,QAAA,gBAAgB,GAAG,MAAM,CAAC,gBAAgB,CAAC;AAC3C,QAAA,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC;AACjC,QAAA,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/apmtraces/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,wDAA0C;AAOjC,4BAAQ;AANjB,oDAAsC;AAK7B,wBAAM;AAJf,0DAA4C;AAMnC,8BAAS;AALlB,qDAAuC;AACvC,mFAAqE;AAKvD,QAAA,gBAAgB,GAAG,MAAM,CAAC,gBAAgB,CAAC;AAC3C,QAAA,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC;AACjC,QAAA,oBAAoB,GAAG,MAAM,CAAC,oBAAoB,CAAC;AACnD,QAAA,oBAAoB,GAAG,qBAAqB,CAAC,oBAAoB,CAAC;AAClE,QAAA,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC"}
package/lib/client.d.ts CHANGED
@@ -15,6 +15,7 @@ import common = require("oci-common");
15
15
  import * as requests from "./request";
16
16
  import * as model from "./model";
17
17
  import * as responses from "./response";
18
+ import { ScheduledQueryWaiter } from "./scheduledquery-waiter";
18
19
  declare const Breaker: any;
19
20
  export declare enum AttributesApiKeys {
20
21
  }
@@ -82,9 +83,9 @@ export declare class AttributesClient {
82
83
  */
83
84
  close(): void;
84
85
  /**
85
- * Activates a set of attributes for the given APM Domain. The API is not case-sensitive. Any duplicates present in the bulk activation
86
+ * Activates a set of attributes for the given APM Domain. Attribute names are not case-sensitive. Any duplicates present in the bulk activation
86
87
  * request are deduplicated and only unique attributes are activated. A maximum number of 700 string attributes and 100 numeric attributes
87
- * can be activated in an APM Domain subject to the available string and numeric slots. Once an attribute has been activated, it may take sometime
88
+ * can be activated in an APM Domain subject to the available string and numeric slots. Once an attribute has been activated, it may take some time
88
89
  * for it to be appear in searches as ingest might not have picked up the changes or any associated caches might not have refreshed. The
89
90
  * bulk activation operation is atomic, and the operation succeeds only if all the attributes in the request have been processed successfully and they
90
91
  * get a success status back. If the processing of any attribute results in a processing or validation error, then none of the attributes in the bulk
@@ -98,10 +99,10 @@ export declare class AttributesClient {
98
99
  */
99
100
  bulkActivateAttribute(bulkActivateAttributeRequest: requests.BulkActivateAttributeRequest): Promise<responses.BulkActivateAttributeResponse>;
100
101
  /**
101
- * Deactivates a set of attributes for the given APM Domain. The API is case in-sensitive. Any duplicates present in the bulk deactivation
102
+ * Deactivates a set of attributes for the given APM Domain. Attribute names are not case-sensitive. Any duplicates present in the bulk deactivation
102
103
  * request are deduplicated and only unique attributes are deactivated. A maximum number of 700 string attributes and 100 numeric attributes
103
104
  * can be deactivated in an APM Domain subject to the available string and numeric slots. Out of box attributes (Trace and Span) cannot be
104
- * deactivated, and will result in a processing error. Once an attribute has been deactivated, it may take sometime for it to disappear in
105
+ * deactivated, and will result in a processing error. Once an attribute has been deactivated, it may take some time for it to disappear in
105
106
  * searches as ingest might not have picked up the changes or any associated caches might not have refreshed. The bulk deactivation
106
107
  * operation is atomic, and the operation succeeds only if all the attributes in the request have been processed successfully and they get a success
107
108
  * status back. If the processing of any attribute results in a processing or validation error, then none of the attributes in the bulk request
@@ -300,6 +301,136 @@ export declare class QueryClient {
300
301
  */
301
302
  query(queryRequest: requests.QueryRequest): Promise<responses.QueryResponse>;
302
303
  }
304
+ export declare enum ScheduledQueryApiKeys {
305
+ }
306
+ /**
307
+ * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
308
+ */
309
+ export declare class ScheduledQueryClient {
310
+ protected static serviceEndpointTemplate: string;
311
+ protected static endpointServiceName: string;
312
+ protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined;
313
+ protected "_endpoint": string;
314
+ protected "_defaultHeaders": any;
315
+ protected "_waiters": ScheduledQueryWaiter;
316
+ protected "_clientConfiguration": common.ClientConfiguration;
317
+ protected _circuitBreaker: typeof Breaker | null;
318
+ protected _httpOptions: any;
319
+ protected _bodyDuplexMode: any;
320
+ targetService: string;
321
+ protected _regionId: string;
322
+ protected "_region": common.Region;
323
+ protected _lastSetRegionOrRegionId: string;
324
+ protected _httpClient: common.HttpClient;
325
+ protected _authProvider: common.AuthenticationDetailsProvider | undefined;
326
+ constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
327
+ /**
328
+ * Get the endpoint that is being used to call (ex, https://www.example.com).
329
+ */
330
+ get endpoint(): string;
331
+ /**
332
+ * Sets the endpoint to call (ex, https://www.example.com).
333
+ * @param endpoint The endpoint of the service.
334
+ */
335
+ set endpoint(endpoint: string);
336
+ get logger(): import("oci-common/lib/log").Logger;
337
+ /**
338
+ * Determines whether realm specific endpoint should be used or not.
339
+ * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
340
+ * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
341
+ */
342
+ set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled: boolean);
343
+ /**
344
+ * Sets the region to call (ex, Region.US_PHOENIX_1).
345
+ * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
346
+ * @param region The region of the service.
347
+ */
348
+ set region(region: common.Region);
349
+ /**
350
+ * Sets the regionId to call (ex, 'us-phoenix-1').
351
+ *
352
+ * Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
353
+ * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
354
+ * and then call {@link #endpoint(String) endpoint}.
355
+ * @param regionId The public region ID.
356
+ */
357
+ set regionId(regionId: string);
358
+ /**
359
+ * Creates a new ScheduledQueryWaiter for resources for this service.
360
+ *
361
+ * @param config The waiter configuration for termination and delay strategy
362
+ * @return The service waiters.
363
+ */
364
+ createWaiters(config?: common.WaiterConfiguration): ScheduledQueryWaiter;
365
+ /**
366
+ * Gets the waiters available for resources for this service.
367
+ *
368
+ * @return The service waiters.
369
+ */
370
+ getWaiters(): ScheduledQueryWaiter;
371
+ /**
372
+ * Shutdown the circuit breaker used by the client when it is no longer needed
373
+ */
374
+ shutdownCircuitBreaker(): void;
375
+ /**
376
+ * Close the provider if possible which in turn shuts down any associated circuit breaker
377
+ */
378
+ closeProvider(): void;
379
+ /**
380
+ * Close the client once it is no longer needed
381
+ */
382
+ close(): void;
383
+ /**
384
+ * Create a scheduled query in the APM Domain.
385
+ *
386
+ * This operation does not retry by default if the user has not defined a retry configuration.
387
+ * @param CreateScheduledQueryRequest
388
+ * @return CreateScheduledQueryResponse
389
+ * @throws OciError when an error occurs
390
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/apmtraces/CreateScheduledQuery.ts.html |here} to see how to use CreateScheduledQuery API.
391
+ */
392
+ createScheduledQuery(createScheduledQueryRequest: requests.CreateScheduledQueryRequest): Promise<responses.CreateScheduledQueryResponse>;
393
+ /**
394
+ * Delete a scheduled query in the APM Domain.
395
+ *
396
+ * This operation does not retry by default if the user has not defined a retry configuration.
397
+ * @param DeleteScheduledQueryRequest
398
+ * @return DeleteScheduledQueryResponse
399
+ * @throws OciError when an error occurs
400
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/apmtraces/DeleteScheduledQuery.ts.html |here} to see how to use DeleteScheduledQuery API.
401
+ */
402
+ deleteScheduledQuery(deleteScheduledQueryRequest: requests.DeleteScheduledQueryRequest): Promise<responses.DeleteScheduledQueryResponse>;
403
+ /**
404
+ * Retrieve a scheduled query in the APM Domain.
405
+ *
406
+ * This operation does not retry by default if the user has not defined a retry configuration.
407
+ * @param GetScheduledQueryRequest
408
+ * @return GetScheduledQueryResponse
409
+ * @throws OciError when an error occurs
410
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/apmtraces/GetScheduledQuery.ts.html |here} to see how to use GetScheduledQuery API.
411
+ */
412
+ getScheduledQuery(getScheduledQueryRequest: requests.GetScheduledQueryRequest): Promise<responses.GetScheduledQueryResponse>;
413
+ /**
414
+ * Returns a list of all scheduled queries in the APM Domain.
415
+ *
416
+ * This operation does not retry by default if the user has not defined a retry configuration.
417
+ * @param ListScheduledQueriesRequest
418
+ * @return ListScheduledQueriesResponse
419
+ * @throws OciError when an error occurs
420
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/apmtraces/ListScheduledQueries.ts.html |here} to see how to use ListScheduledQueries API.
421
+ */
422
+ listScheduledQueries(listScheduledQueriesRequest: requests.ListScheduledQueriesRequest): Promise<responses.ListScheduledQueriesResponse>;
423
+ /**
424
+ * Update a scheduled query in the APM Domain.
425
+ *
426
+ * This operation does not retry by default if the user has not defined a retry configuration.
427
+ * @param UpdateScheduledQueryRequest
428
+ * @return UpdateScheduledQueryResponse
429
+ * @throws OciError when an error occurs
430
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/apmtraces/UpdateScheduledQuery.ts.html |here} to see how to use UpdateScheduledQuery API.
431
+ */
432
+ updateScheduledQuery(updateScheduledQueryRequest: requests.UpdateScheduledQueryRequest): Promise<responses.UpdateScheduledQueryResponse>;
433
+ }
303
434
  export declare enum TraceApiKeys {
304
435
  }
305
436
  /**
@@ -375,6 +506,16 @@ export declare class TraceClient {
375
506
  * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/apmtraces/GetAggregatedSnapshot.ts.html |here} to see how to use GetAggregatedSnapshot API.
376
507
  */
377
508
  getAggregatedSnapshot(getAggregatedSnapshotRequest: requests.GetAggregatedSnapshotRequest): Promise<responses.GetAggregatedSnapshotResponse>;
509
+ /**
510
+ * Retrieve a log in the APM Domain.
511
+ *
512
+ * This operation does not retry by default if the user has not defined a retry configuration.
513
+ * @param GetLogRequest
514
+ * @return GetLogResponse
515
+ * @throws OciError when an error occurs
516
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/apmtraces/GetLog.ts.html |here} to see how to use GetLog API.
517
+ */
518
+ getLog(getLogRequest: requests.GetLogRequest): Promise<responses.GetLogResponse>;
378
519
  /**
379
520
  * Gets the span details identified by spanId.
380
521
  *