oci-apmtraces 2.82.1 → 2.83.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 (191) hide show
  1. package/index.d.ts +1 -0
  2. package/index.js +2 -1
  3. package/index.js.map +1 -1
  4. package/lib/client.d.ts +159 -6
  5. package/lib/client.js +641 -10
  6. package/lib/client.js.map +1 -1
  7. package/lib/model/attribute-pin-response.d.ts +95 -0
  8. package/lib/model/attribute-pin-response.js +63 -0
  9. package/lib/model/attribute-pin-response.js.map +1 -0
  10. package/lib/model/attribute-response.d.ts +142 -0
  11. package/lib/model/attribute-response.js +94 -0
  12. package/lib/model/attribute-response.js.map +1 -0
  13. package/lib/model/attribute-unpin-response.d.ts +88 -0
  14. package/lib/model/attribute-unpin-response.js +62 -0
  15. package/lib/model/attribute-unpin-response.js.map +1 -0
  16. package/lib/model/attribute-update-notes-response.d.ts +95 -0
  17. package/lib/model/attribute-update-notes-response.js +63 -0
  18. package/lib/model/attribute-update-notes-response.js.map +1 -0
  19. package/lib/model/attribute-update-response.d.ts +128 -0
  20. package/lib/model/attribute-update-response.js +88 -0
  21. package/lib/model/attribute-update-response.js.map +1 -0
  22. package/lib/model/auto-activate-status.d.ts +42 -0
  23. package/lib/model/auto-activate-status.js +40 -0
  24. package/lib/model/auto-activate-status.js.map +1 -0
  25. package/lib/model/auto-activate-toggle-status.d.ts +55 -0
  26. package/lib/model/auto-activate-toggle-status.js +49 -0
  27. package/lib/model/auto-activate-toggle-status.js.map +1 -0
  28. package/lib/model/bulk-activate-attribute-detail.d.ts +62 -0
  29. package/lib/model/bulk-activate-attribute-detail.js +50 -0
  30. package/lib/model/bulk-activate-attribute-detail.js.map +1 -0
  31. package/lib/model/bulk-activate-attribute-details.d.ts +29 -0
  32. package/lib/model/bulk-activate-attribute-details.js +62 -0
  33. package/lib/model/bulk-activate-attribute-details.js.map +1 -0
  34. package/lib/model/bulk-activation-metadata.d.ts +112 -0
  35. package/lib/model/bulk-activation-metadata.js +54 -0
  36. package/lib/model/bulk-activation-metadata.js.map +1 -0
  37. package/lib/model/bulk-activation-status.d.ts +33 -0
  38. package/lib/model/bulk-activation-status.js +68 -0
  39. package/lib/model/bulk-activation-status.js.map +1 -0
  40. package/lib/model/bulk-de-activate-attribute-detail.d.ts +38 -0
  41. package/lib/model/bulk-de-activate-attribute-detail.js +35 -0
  42. package/lib/model/bulk-de-activate-attribute-detail.js.map +1 -0
  43. package/lib/model/bulk-de-activate-attribute-details.d.ts +29 -0
  44. package/lib/model/bulk-de-activate-attribute-details.js +62 -0
  45. package/lib/model/bulk-de-activate-attribute-details.js.map +1 -0
  46. package/lib/model/bulk-de-activation-metadata.d.ts +95 -0
  47. package/lib/model/bulk-de-activation-metadata.js +52 -0
  48. package/lib/model/bulk-de-activation-metadata.js.map +1 -0
  49. package/lib/model/bulk-de-activation-status.d.ts +33 -0
  50. package/lib/model/bulk-de-activation-status.js +68 -0
  51. package/lib/model/bulk-de-activation-status.js.map +1 -0
  52. package/lib/model/bulk-pin-attribute-detail.d.ts +38 -0
  53. package/lib/model/bulk-pin-attribute-detail.js +35 -0
  54. package/lib/model/bulk-pin-attribute-detail.js.map +1 -0
  55. package/lib/model/bulk-pin-attribute-details.d.ts +29 -0
  56. package/lib/model/bulk-pin-attribute-details.js +62 -0
  57. package/lib/model/bulk-pin-attribute-details.js.map +1 -0
  58. package/lib/model/bulk-pin-metadata.d.ts +67 -0
  59. package/lib/model/bulk-pin-metadata.js +50 -0
  60. package/lib/model/bulk-pin-metadata.js.map +1 -0
  61. package/lib/model/bulk-pin-status.d.ts +33 -0
  62. package/lib/model/bulk-pin-status.js +68 -0
  63. package/lib/model/bulk-pin-status.js.map +1 -0
  64. package/lib/model/bulk-unpin-attribute-detail.d.ts +38 -0
  65. package/lib/model/bulk-unpin-attribute-detail.js +35 -0
  66. package/lib/model/bulk-unpin-attribute-detail.js.map +1 -0
  67. package/lib/model/bulk-unpin-attribute-details.d.ts +29 -0
  68. package/lib/model/bulk-unpin-attribute-details.js +62 -0
  69. package/lib/model/bulk-unpin-attribute-details.js.map +1 -0
  70. package/lib/model/bulk-unpin-metadata.d.ts +67 -0
  71. package/lib/model/bulk-unpin-metadata.js +50 -0
  72. package/lib/model/bulk-unpin-metadata.js.map +1 -0
  73. package/lib/model/bulk-unpin-status.d.ts +33 -0
  74. package/lib/model/bulk-unpin-status.js +68 -0
  75. package/lib/model/bulk-unpin-status.js.map +1 -0
  76. package/lib/model/bulk-update-attribute-detail.d.ts +51 -0
  77. package/lib/model/bulk-update-attribute-detail.js +45 -0
  78. package/lib/model/bulk-update-attribute-detail.js.map +1 -0
  79. package/lib/model/bulk-update-attribute-details.d.ts +29 -0
  80. package/lib/model/bulk-update-attribute-details.js +62 -0
  81. package/lib/model/bulk-update-attribute-details.js.map +1 -0
  82. package/lib/model/bulk-update-attribute-metadata.d.ts +67 -0
  83. package/lib/model/bulk-update-attribute-metadata.js +50 -0
  84. package/lib/model/bulk-update-attribute-metadata.js.map +1 -0
  85. package/lib/model/bulk-update-attribute-notes-detail.d.ts +43 -0
  86. package/lib/model/bulk-update-attribute-notes-detail.js +35 -0
  87. package/lib/model/bulk-update-attribute-notes-detail.js.map +1 -0
  88. package/lib/model/bulk-update-attribute-notes-details.d.ts +29 -0
  89. package/lib/model/bulk-update-attribute-notes-details.js +62 -0
  90. package/lib/model/bulk-update-attribute-notes-details.js.map +1 -0
  91. package/lib/model/bulk-update-attribute-status.d.ts +33 -0
  92. package/lib/model/bulk-update-attribute-status.js +68 -0
  93. package/lib/model/bulk-update-attribute-status.js.map +1 -0
  94. package/lib/model/bulk-update-notes-metadata.d.ts +67 -0
  95. package/lib/model/bulk-update-notes-metadata.js +50 -0
  96. package/lib/model/bulk-update-notes-metadata.js.map +1 -0
  97. package/lib/model/bulk-update-notes-status.d.ts +33 -0
  98. package/lib/model/bulk-update-notes-status.js +68 -0
  99. package/lib/model/bulk-update-notes-status.js.map +1 -0
  100. package/lib/model/index.d.ts +70 -0
  101. package/lib/model/index.js +72 -1
  102. package/lib/model/index.js.map +1 -1
  103. package/lib/model/query-result-metadata-summary.d.ts +1 -0
  104. package/lib/model/query-result-metadata-summary.js +6 -0
  105. package/lib/model/query-result-metadata-summary.js.map +1 -1
  106. package/lib/model/query-result-response.d.ts +12 -0
  107. package/lib/model/query-result-response.js +10 -0
  108. package/lib/model/query-result-response.js.map +1 -1
  109. package/lib/model/query-result-warning.d.ts +28 -0
  110. package/lib/model/query-result-warning.js +30 -0
  111. package/lib/model/query-result-warning.js.map +1 -0
  112. package/lib/model/query-results-topology-info.d.ts +29 -0
  113. package/lib/model/query-results-topology-info.js +62 -0
  114. package/lib/model/query-results-topology-info.js.map +1 -0
  115. package/lib/model/query-results-topology-node-info.d.ts +27 -0
  116. package/lib/model/query-results-topology-node-info.js +30 -0
  117. package/lib/model/query-results-topology-node-info.js.map +1 -0
  118. package/lib/model/span-log-collection.d.ts +5 -0
  119. package/lib/model/span-log-collection.js.map +1 -1
  120. package/lib/model/span.d.ts +21 -0
  121. package/lib/model/span.js +17 -0
  122. package/lib/model/span.js.map +1 -1
  123. package/lib/model/tag-metadata.d.ts +56 -0
  124. package/lib/model/tag-metadata.js +55 -0
  125. package/lib/model/tag-metadata.js.map +1 -0
  126. package/lib/model/trace.d.ts +14 -0
  127. package/lib/model/trace.js +10 -0
  128. package/lib/model/trace.js.map +1 -1
  129. package/lib/request/bulk-activate-attribute-request.d.ts +35 -0
  130. package/lib/request/bulk-activate-attribute-request.js +15 -0
  131. package/lib/request/bulk-activate-attribute-request.js.map +1 -0
  132. package/lib/request/bulk-de-activate-attribute-request.d.ts +35 -0
  133. package/lib/request/bulk-de-activate-attribute-request.js +15 -0
  134. package/lib/request/bulk-de-activate-attribute-request.js.map +1 -0
  135. package/lib/request/bulk-pin-attribute-request.d.ts +35 -0
  136. package/lib/request/bulk-pin-attribute-request.js +15 -0
  137. package/lib/request/bulk-pin-attribute-request.js.map +1 -0
  138. package/lib/request/bulk-unpin-attribute-request.d.ts +35 -0
  139. package/lib/request/bulk-unpin-attribute-request.js +15 -0
  140. package/lib/request/bulk-unpin-attribute-request.js.map +1 -0
  141. package/lib/request/bulk-update-attribute-notes-request.d.ts +35 -0
  142. package/lib/request/bulk-update-attribute-notes-request.js +15 -0
  143. package/lib/request/bulk-update-attribute-notes-request.js.map +1 -0
  144. package/lib/request/bulk-update-attribute-request.d.ts +35 -0
  145. package/lib/request/bulk-update-attribute-request.js +15 -0
  146. package/lib/request/bulk-update-attribute-request.js.map +1 -0
  147. package/lib/request/get-aggregated-snapshot-request.d.ts +22 -2
  148. package/lib/request/get-span-request.d.ts +23 -2
  149. package/lib/request/get-span-request.js +9 -0
  150. package/lib/request/get-span-request.js.map +1 -1
  151. package/lib/request/get-status-auto-activate-request.d.ts +40 -0
  152. package/lib/request/get-status-auto-activate-request.js +24 -0
  153. package/lib/request/get-status-auto-activate-request.js.map +1 -0
  154. package/lib/request/get-trace-request.d.ts +23 -2
  155. package/lib/request/get-trace-request.js +9 -0
  156. package/lib/request/get-trace-request.js.map +1 -1
  157. package/lib/request/get-trace-snapshot-request.d.ts +4 -4
  158. package/lib/request/index.d.ts +16 -0
  159. package/lib/request/index.js +28 -0
  160. package/lib/request/index.js.map +1 -1
  161. package/lib/request/list-quick-picks-request.d.ts +3 -3
  162. package/lib/request/put-toggle-auto-activate-request.d.ts +45 -0
  163. package/lib/request/put-toggle-auto-activate-request.js +24 -0
  164. package/lib/request/put-toggle-auto-activate-request.js.map +1 -0
  165. package/lib/request/query-request.d.ts +3 -3
  166. package/lib/response/bulk-activate-attribute-response.d.ts +25 -0
  167. package/lib/response/bulk-activate-attribute-response.js +15 -0
  168. package/lib/response/bulk-activate-attribute-response.js.map +1 -0
  169. package/lib/response/bulk-de-activate-attribute-response.d.ts +25 -0
  170. package/lib/response/bulk-de-activate-attribute-response.js +15 -0
  171. package/lib/response/bulk-de-activate-attribute-response.js.map +1 -0
  172. package/lib/response/bulk-pin-attribute-response.d.ts +25 -0
  173. package/lib/response/bulk-pin-attribute-response.js +15 -0
  174. package/lib/response/bulk-pin-attribute-response.js.map +1 -0
  175. package/lib/response/bulk-unpin-attribute-response.d.ts +25 -0
  176. package/lib/response/bulk-unpin-attribute-response.js +15 -0
  177. package/lib/response/bulk-unpin-attribute-response.js.map +1 -0
  178. package/lib/response/bulk-update-attribute-notes-response.d.ts +25 -0
  179. package/lib/response/bulk-update-attribute-notes-response.js +15 -0
  180. package/lib/response/bulk-update-attribute-notes-response.js.map +1 -0
  181. package/lib/response/bulk-update-attribute-response.d.ts +25 -0
  182. package/lib/response/bulk-update-attribute-response.js +15 -0
  183. package/lib/response/bulk-update-attribute-response.js.map +1 -0
  184. package/lib/response/get-status-auto-activate-response.d.ts +25 -0
  185. package/lib/response/get-status-auto-activate-response.js +15 -0
  186. package/lib/response/get-status-auto-activate-response.js.map +1 -0
  187. package/lib/response/index.d.ts +16 -0
  188. package/lib/response/put-toggle-auto-activate-response.d.ts +25 -0
  189. package/lib/response/put-toggle-auto-activate-response.js +15 -0
  190. package/lib/response/put-toggle-auto-activate-response.js.map +1 -0
  191. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -41,7 +41,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
41
41
  });
42
42
  };
43
43
  Object.defineProperty(exports, "__esModule", { value: true });
44
- exports.TraceClient = exports.TraceApiKeys = exports.QueryClient = exports.QueryApiKeys = void 0;
44
+ exports.TraceClient = exports.TraceApiKeys = exports.QueryClient = exports.QueryApiKeys = exports.AttributesClient = exports.AttributesApiKeys = void 0;
45
45
  const common = require("oci-common");
46
46
  const model = __importStar(require("./model"));
47
47
  const oci_common_1 = require("oci-common");
@@ -50,6 +50,627 @@ const Breaker = require("opossum");
50
50
  // ===============================================
51
51
  // This file is autogenerated - Please do not edit
52
52
  // ===============================================
53
+ var AttributesApiKeys;
54
+ (function (AttributesApiKeys) {
55
+ })(AttributesApiKeys = exports.AttributesApiKeys || (exports.AttributesApiKeys = {}));
56
+ /**
57
+ * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
58
+ */
59
+ class AttributesClient {
60
+ constructor(params, clientConfiguration) {
61
+ this["_realmSpecificEndpointTemplateEnabled"] = undefined;
62
+ this["_endpoint"] = "";
63
+ this["_defaultHeaders"] = {};
64
+ this._circuitBreaker = null;
65
+ this._httpOptions = undefined;
66
+ this._bodyDuplexMode = undefined;
67
+ this.targetService = "Attributes";
68
+ this._regionId = "";
69
+ this._lastSetRegionOrRegionId = "";
70
+ const requestSigner = params.authenticationDetailsProvider
71
+ ? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
72
+ : null;
73
+ if (clientConfiguration) {
74
+ this._clientConfiguration = clientConfiguration;
75
+ this._circuitBreaker = clientConfiguration.circuitBreaker
76
+ ? clientConfiguration.circuitBreaker.circuit
77
+ : null;
78
+ this._httpOptions = clientConfiguration.httpOptions
79
+ ? clientConfiguration.httpOptions
80
+ : undefined;
81
+ this._bodyDuplexMode = clientConfiguration.bodyDuplexMode
82
+ ? clientConfiguration.bodyDuplexMode
83
+ : undefined;
84
+ }
85
+ if (!oci_common_2.developerToolConfiguration.isServiceEnabled("apmtraces")) {
86
+ let errmsg = "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : ";
87
+ throw errmsg.concat("apmtraces");
88
+ }
89
+ // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
90
+ const specCircuitBreakerEnabled = true;
91
+ if (!this._circuitBreaker &&
92
+ common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
93
+ (specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
94
+ this._circuitBreaker = new common.CircuitBreaker().circuit;
95
+ }
96
+ this._httpClient =
97
+ params.httpClient ||
98
+ new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions, this._bodyDuplexMode);
99
+ if (params.authenticationDetailsProvider &&
100
+ common.isRegionProvider(params.authenticationDetailsProvider)) {
101
+ const provider = params.authenticationDetailsProvider;
102
+ if (provider.getRegion()) {
103
+ this.region = provider.getRegion();
104
+ }
105
+ }
106
+ }
107
+ /**
108
+ * Get the endpoint that is being used to call (ex, https://www.example.com).
109
+ */
110
+ get endpoint() {
111
+ return this._endpoint;
112
+ }
113
+ /**
114
+ * Sets the endpoint to call (ex, https://www.example.com).
115
+ * @param endpoint The endpoint of the service.
116
+ */
117
+ set endpoint(endpoint) {
118
+ this._endpoint = endpoint;
119
+ this._endpoint = this._endpoint + "/20200630";
120
+ if (this.logger)
121
+ this.logger.info(`AttributesClient endpoint set to ${this._endpoint}`);
122
+ }
123
+ get logger() {
124
+ return common.LOG.logger;
125
+ }
126
+ /**
127
+ * Determines whether realm specific endpoint should be used or not.
128
+ * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
129
+ * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
130
+ */
131
+ set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
132
+ this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
133
+ if (this.logger)
134
+ this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
135
+ if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
136
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegion(AttributesClient.serviceEndpointTemplate, this._region, AttributesClient.endpointServiceName);
137
+ }
138
+ else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) {
139
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(AttributesClient.serviceEndpointTemplate, this._regionId, AttributesClient.endpointServiceName);
140
+ }
141
+ }
142
+ /**
143
+ * Sets the region to call (ex, Region.US_PHOENIX_1).
144
+ * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
145
+ * @param region The region of the service.
146
+ */
147
+ set region(region) {
148
+ this._region = region;
149
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegion(AttributesClient.serviceEndpointTemplate, region, AttributesClient.endpointServiceName);
150
+ this._lastSetRegionOrRegionId = common.Region.REGION_STRING;
151
+ }
152
+ /**
153
+ * Sets the regionId to call (ex, 'us-phoenix-1').
154
+ *
155
+ * Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
156
+ * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
157
+ * and then call {@link #endpoint(String) endpoint}.
158
+ * @param regionId The public region ID.
159
+ */
160
+ set regionId(regionId) {
161
+ this._regionId = regionId;
162
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(AttributesClient.serviceEndpointTemplate, regionId, AttributesClient.endpointServiceName);
163
+ this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING;
164
+ }
165
+ /**
166
+ * Shutdown the circuit breaker used by the client when it is no longer needed
167
+ */
168
+ shutdownCircuitBreaker() {
169
+ if (this._circuitBreaker) {
170
+ this._circuitBreaker.shutdown();
171
+ }
172
+ }
173
+ /**
174
+ * Activates a set of attributes for the given APM Domain. The API is not case-sensitive. Any duplicates present in the bulk activation
175
+ * request are deduplicated and only unique attributes are activated. A maximum number of 700 string attributes and 100 numeric attributes
176
+ * 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
177
+ * 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
178
+ * bulk activation operation is atomic, and the operation succeeds only if all the attributes in the request have been processed successfully and they
179
+ * 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
180
+ * request are activated. Attributes that are activated are unpinned by default if they are pinned.
181
+ *
182
+ * This operation does not retry by default if the user has not defined a retry configuration.
183
+ * @param BulkActivateAttributeRequest
184
+ * @return BulkActivateAttributeResponse
185
+ * @throws OciError when an error occurs
186
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.83.0/apmtraces/BulkActivateAttribute.ts.html |here} to see how to use BulkActivateAttribute API.
187
+ */
188
+ bulkActivateAttribute(bulkActivateAttributeRequest) {
189
+ return __awaiter(this, void 0, void 0, function* () {
190
+ if (this.logger)
191
+ this.logger.debug("Calling operation AttributesClient#bulkActivateAttribute.");
192
+ const operationName = "bulkActivateAttribute";
193
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/apm-trace-explorer/20200630/BulkActivationStatus/BulkActivateAttribute";
194
+ const pathParams = {};
195
+ const queryParams = {
196
+ "apmDomainId": bulkActivateAttributeRequest.apmDomainId
197
+ };
198
+ let headerParams = {
199
+ "Content-Type": common.Constants.APPLICATION_JSON,
200
+ "opc-request-id": bulkActivateAttributeRequest.opcRequestId
201
+ };
202
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
203
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, bulkActivateAttributeRequest.retryConfiguration, specRetryConfiguration);
204
+ if (this.logger)
205
+ retrier.logger = this.logger;
206
+ const request = yield oci_common_2.composeRequest({
207
+ baseEndpoint: this._endpoint,
208
+ defaultHeaders: this._defaultHeaders,
209
+ path: "/attributes/actions/activateAttributes",
210
+ method: "POST",
211
+ bodyContent: common.ObjectSerializer.serialize(bulkActivateAttributeRequest.bulkActivateAttributeDetails, "BulkActivateAttributeDetails", model.BulkActivateAttributeDetails.getJsonObj),
212
+ pathParams: pathParams,
213
+ headerParams: headerParams,
214
+ queryParams: queryParams
215
+ });
216
+ try {
217
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
218
+ const sdkResponse = oci_common_2.composeResponse({
219
+ responseObject: {},
220
+ body: yield response.json(),
221
+ bodyKey: "bulkActivationStatus",
222
+ bodyModel: model.BulkActivationStatus,
223
+ type: "model.BulkActivationStatus",
224
+ responseHeaders: [
225
+ {
226
+ value: response.headers.get("opc-request-id"),
227
+ key: "opcRequestId",
228
+ dataType: "string"
229
+ }
230
+ ]
231
+ });
232
+ return sdkResponse;
233
+ }
234
+ catch (err) {
235
+ throw err;
236
+ }
237
+ });
238
+ }
239
+ /**
240
+ * Deactivates a set of attributes for the given APM Domain. The API is case in-sensitive. Any duplicates present in the bulk deactivation
241
+ * request are deduplicated and only unique attributes are deactivated. A maximum number of 700 string attributes and 100 numeric attributes
242
+ * can be deactivated in an APM Domain subject to the available string and numeric slots. Out of box attributes (Trace and Span) cannot be
243
+ * deactivated, and will result in a processing error. Once an attribute has been deactivated, it may take sometime for it to disappear in
244
+ * searches as ingest might not have picked up the changes or any associated caches might not have refreshed. The bulk deactivation
245
+ * operation is atomic, and the operation succeeds only if all the attributes in the request have been processed successfully and they get a success
246
+ * status back. If the processing of any attribute results in a processing or validation error, then none of the attributes in the bulk request
247
+ * are deactivated.
248
+ *
249
+ * This operation does not retry by default if the user has not defined a retry configuration.
250
+ * @param BulkDeActivateAttributeRequest
251
+ * @return BulkDeActivateAttributeResponse
252
+ * @throws OciError when an error occurs
253
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.83.0/apmtraces/BulkDeActivateAttribute.ts.html |here} to see how to use BulkDeActivateAttribute API.
254
+ */
255
+ bulkDeActivateAttribute(bulkDeActivateAttributeRequest) {
256
+ return __awaiter(this, void 0, void 0, function* () {
257
+ if (this.logger)
258
+ this.logger.debug("Calling operation AttributesClient#bulkDeActivateAttribute.");
259
+ const operationName = "bulkDeActivateAttribute";
260
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/apm-trace-explorer/20200630/BulkDeActivationStatus/BulkDeActivateAttribute";
261
+ const pathParams = {};
262
+ const queryParams = {
263
+ "apmDomainId": bulkDeActivateAttributeRequest.apmDomainId
264
+ };
265
+ let headerParams = {
266
+ "Content-Type": common.Constants.APPLICATION_JSON,
267
+ "opc-request-id": bulkDeActivateAttributeRequest.opcRequestId
268
+ };
269
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
270
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, bulkDeActivateAttributeRequest.retryConfiguration, specRetryConfiguration);
271
+ if (this.logger)
272
+ retrier.logger = this.logger;
273
+ const request = yield oci_common_2.composeRequest({
274
+ baseEndpoint: this._endpoint,
275
+ defaultHeaders: this._defaultHeaders,
276
+ path: "/attributes/actions/deActivateAttributes",
277
+ method: "POST",
278
+ bodyContent: common.ObjectSerializer.serialize(bulkDeActivateAttributeRequest.bulkDeActivateAttributeDetails, "BulkDeActivateAttributeDetails", model.BulkDeActivateAttributeDetails.getJsonObj),
279
+ pathParams: pathParams,
280
+ headerParams: headerParams,
281
+ queryParams: queryParams
282
+ });
283
+ try {
284
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
285
+ const sdkResponse = oci_common_2.composeResponse({
286
+ responseObject: {},
287
+ body: yield response.json(),
288
+ bodyKey: "bulkDeActivationStatus",
289
+ bodyModel: model.BulkDeActivationStatus,
290
+ type: "model.BulkDeActivationStatus",
291
+ responseHeaders: [
292
+ {
293
+ value: response.headers.get("opc-request-id"),
294
+ key: "opcRequestId",
295
+ dataType: "string"
296
+ }
297
+ ]
298
+ });
299
+ return sdkResponse;
300
+ }
301
+ catch (err) {
302
+ throw err;
303
+ }
304
+ });
305
+ }
306
+ /**
307
+ * Pin a set of attributes in the APM Domain. Attributes that are marked pinned are not autoactivated by ingest.
308
+ * Attributes that are deactivated are pinned by default.
309
+ *
310
+ * This operation does not retry by default if the user has not defined a retry configuration.
311
+ * @param BulkPinAttributeRequest
312
+ * @return BulkPinAttributeResponse
313
+ * @throws OciError when an error occurs
314
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.83.0/apmtraces/BulkPinAttribute.ts.html |here} to see how to use BulkPinAttribute API.
315
+ */
316
+ bulkPinAttribute(bulkPinAttributeRequest) {
317
+ return __awaiter(this, void 0, void 0, function* () {
318
+ if (this.logger)
319
+ this.logger.debug("Calling operation AttributesClient#bulkPinAttribute.");
320
+ const operationName = "bulkPinAttribute";
321
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/apm-trace-explorer/20200630/BulkPinStatus/BulkPinAttribute";
322
+ const pathParams = {};
323
+ const queryParams = {
324
+ "apmDomainId": bulkPinAttributeRequest.apmDomainId
325
+ };
326
+ let headerParams = {
327
+ "Content-Type": common.Constants.APPLICATION_JSON,
328
+ "opc-request-id": bulkPinAttributeRequest.opcRequestId
329
+ };
330
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
331
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, bulkPinAttributeRequest.retryConfiguration, specRetryConfiguration);
332
+ if (this.logger)
333
+ retrier.logger = this.logger;
334
+ const request = yield oci_common_2.composeRequest({
335
+ baseEndpoint: this._endpoint,
336
+ defaultHeaders: this._defaultHeaders,
337
+ path: "/attributes/actions/pinAttributes",
338
+ method: "POST",
339
+ bodyContent: common.ObjectSerializer.serialize(bulkPinAttributeRequest.bulkPinAttributeDetails, "BulkPinAttributeDetails", model.BulkPinAttributeDetails.getJsonObj),
340
+ pathParams: pathParams,
341
+ headerParams: headerParams,
342
+ queryParams: queryParams
343
+ });
344
+ try {
345
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
346
+ const sdkResponse = oci_common_2.composeResponse({
347
+ responseObject: {},
348
+ body: yield response.json(),
349
+ bodyKey: "bulkPinStatus",
350
+ bodyModel: model.BulkPinStatus,
351
+ type: "model.BulkPinStatus",
352
+ responseHeaders: [
353
+ {
354
+ value: response.headers.get("opc-request-id"),
355
+ key: "opcRequestId",
356
+ dataType: "string"
357
+ }
358
+ ]
359
+ });
360
+ return sdkResponse;
361
+ }
362
+ catch (err) {
363
+ throw err;
364
+ }
365
+ });
366
+ }
367
+ /**
368
+ * Unpin a set of attributes in the APM Domain.
369
+ *
370
+ * This operation does not retry by default if the user has not defined a retry configuration.
371
+ * @param BulkUnpinAttributeRequest
372
+ * @return BulkUnpinAttributeResponse
373
+ * @throws OciError when an error occurs
374
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.83.0/apmtraces/BulkUnpinAttribute.ts.html |here} to see how to use BulkUnpinAttribute API.
375
+ */
376
+ bulkUnpinAttribute(bulkUnpinAttributeRequest) {
377
+ return __awaiter(this, void 0, void 0, function* () {
378
+ if (this.logger)
379
+ this.logger.debug("Calling operation AttributesClient#bulkUnpinAttribute.");
380
+ const operationName = "bulkUnpinAttribute";
381
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/apm-trace-explorer/20200630/BulkUnpinStatus/BulkUnpinAttribute";
382
+ const pathParams = {};
383
+ const queryParams = {
384
+ "apmDomainId": bulkUnpinAttributeRequest.apmDomainId
385
+ };
386
+ let headerParams = {
387
+ "Content-Type": common.Constants.APPLICATION_JSON,
388
+ "opc-request-id": bulkUnpinAttributeRequest.opcRequestId
389
+ };
390
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
391
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, bulkUnpinAttributeRequest.retryConfiguration, specRetryConfiguration);
392
+ if (this.logger)
393
+ retrier.logger = this.logger;
394
+ const request = yield oci_common_2.composeRequest({
395
+ baseEndpoint: this._endpoint,
396
+ defaultHeaders: this._defaultHeaders,
397
+ path: "/attributes/actions/unPinAttributes",
398
+ method: "POST",
399
+ bodyContent: common.ObjectSerializer.serialize(bulkUnpinAttributeRequest.bulkUnpinAttributeDetails, "BulkUnpinAttributeDetails", model.BulkUnpinAttributeDetails.getJsonObj),
400
+ pathParams: pathParams,
401
+ headerParams: headerParams,
402
+ queryParams: queryParams
403
+ });
404
+ try {
405
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
406
+ const sdkResponse = oci_common_2.composeResponse({
407
+ responseObject: {},
408
+ body: yield response.json(),
409
+ bodyKey: "bulkUnpinStatus",
410
+ bodyModel: model.BulkUnpinStatus,
411
+ type: "model.BulkUnpinStatus",
412
+ responseHeaders: [
413
+ {
414
+ value: response.headers.get("opc-request-id"),
415
+ key: "opcRequestId",
416
+ dataType: "string"
417
+ }
418
+ ]
419
+ });
420
+ return sdkResponse;
421
+ }
422
+ catch (err) {
423
+ throw err;
424
+ }
425
+ });
426
+ }
427
+ /**
428
+ * Update a set of attribute properties in the APM Domain.
429
+ *
430
+ * This operation does not retry by default if the user has not defined a retry configuration.
431
+ * @param BulkUpdateAttributeRequest
432
+ * @return BulkUpdateAttributeResponse
433
+ * @throws OciError when an error occurs
434
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.83.0/apmtraces/BulkUpdateAttribute.ts.html |here} to see how to use BulkUpdateAttribute API.
435
+ */
436
+ bulkUpdateAttribute(bulkUpdateAttributeRequest) {
437
+ return __awaiter(this, void 0, void 0, function* () {
438
+ if (this.logger)
439
+ this.logger.debug("Calling operation AttributesClient#bulkUpdateAttribute.");
440
+ const operationName = "bulkUpdateAttribute";
441
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/apm-trace-explorer/20200630/BulkUpdateAttributeStatus/BulkUpdateAttribute";
442
+ const pathParams = {};
443
+ const queryParams = {
444
+ "apmDomainId": bulkUpdateAttributeRequest.apmDomainId
445
+ };
446
+ let headerParams = {
447
+ "Content-Type": common.Constants.APPLICATION_JSON,
448
+ "opc-request-id": bulkUpdateAttributeRequest.opcRequestId
449
+ };
450
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
451
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, bulkUpdateAttributeRequest.retryConfiguration, specRetryConfiguration);
452
+ if (this.logger)
453
+ retrier.logger = this.logger;
454
+ const request = yield oci_common_2.composeRequest({
455
+ baseEndpoint: this._endpoint,
456
+ defaultHeaders: this._defaultHeaders,
457
+ path: "/attributes/actions/updateAttributes",
458
+ method: "POST",
459
+ bodyContent: common.ObjectSerializer.serialize(bulkUpdateAttributeRequest.bulkUpdateAttributeDetails, "BulkUpdateAttributeDetails", model.BulkUpdateAttributeDetails.getJsonObj),
460
+ pathParams: pathParams,
461
+ headerParams: headerParams,
462
+ queryParams: queryParams
463
+ });
464
+ try {
465
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
466
+ const sdkResponse = oci_common_2.composeResponse({
467
+ responseObject: {},
468
+ body: yield response.json(),
469
+ bodyKey: "bulkUpdateAttributeStatus",
470
+ bodyModel: model.BulkUpdateAttributeStatus,
471
+ type: "model.BulkUpdateAttributeStatus",
472
+ responseHeaders: [
473
+ {
474
+ value: response.headers.get("opc-request-id"),
475
+ key: "opcRequestId",
476
+ dataType: "string"
477
+ }
478
+ ]
479
+ });
480
+ return sdkResponse;
481
+ }
482
+ catch (err) {
483
+ throw err;
484
+ }
485
+ });
486
+ }
487
+ /**
488
+ * Add or edit notes to a set of attributes in the APM Domain. Notes can be added to either an active or an inactive attribute. The
489
+ * notes will be preserved even if the attribute changes state (when an active attribute is deactivated or when an inactive attribute
490
+ * is activated).
491
+ *
492
+ * This operation does not retry by default if the user has not defined a retry configuration.
493
+ * @param BulkUpdateAttributeNotesRequest
494
+ * @return BulkUpdateAttributeNotesResponse
495
+ * @throws OciError when an error occurs
496
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.83.0/apmtraces/BulkUpdateAttributeNotes.ts.html |here} to see how to use BulkUpdateAttributeNotes API.
497
+ */
498
+ bulkUpdateAttributeNotes(bulkUpdateAttributeNotesRequest) {
499
+ return __awaiter(this, void 0, void 0, function* () {
500
+ if (this.logger)
501
+ this.logger.debug("Calling operation AttributesClient#bulkUpdateAttributeNotes.");
502
+ const operationName = "bulkUpdateAttributeNotes";
503
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/apm-trace-explorer/20200630/BulkUpdateNotesStatus/BulkUpdateAttributeNotes";
504
+ const pathParams = {};
505
+ const queryParams = {
506
+ "apmDomainId": bulkUpdateAttributeNotesRequest.apmDomainId
507
+ };
508
+ let headerParams = {
509
+ "Content-Type": common.Constants.APPLICATION_JSON,
510
+ "opc-request-id": bulkUpdateAttributeNotesRequest.opcRequestId
511
+ };
512
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
513
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, bulkUpdateAttributeNotesRequest.retryConfiguration, specRetryConfiguration);
514
+ if (this.logger)
515
+ retrier.logger = this.logger;
516
+ const request = yield oci_common_2.composeRequest({
517
+ baseEndpoint: this._endpoint,
518
+ defaultHeaders: this._defaultHeaders,
519
+ path: "/attributes/actions/updateNotes",
520
+ method: "POST",
521
+ bodyContent: common.ObjectSerializer.serialize(bulkUpdateAttributeNotesRequest.bulkUpdateAttributeNotesDetails, "BulkUpdateAttributeNotesDetails", model.BulkUpdateAttributeNotesDetails.getJsonObj),
522
+ pathParams: pathParams,
523
+ headerParams: headerParams,
524
+ queryParams: queryParams
525
+ });
526
+ try {
527
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
528
+ const sdkResponse = oci_common_2.composeResponse({
529
+ responseObject: {},
530
+ body: yield response.json(),
531
+ bodyKey: "bulkUpdateNotesStatus",
532
+ bodyModel: model.BulkUpdateNotesStatus,
533
+ type: "model.BulkUpdateNotesStatus",
534
+ responseHeaders: [
535
+ {
536
+ value: response.headers.get("opc-request-id"),
537
+ key: "opcRequestId",
538
+ dataType: "string"
539
+ }
540
+ ]
541
+ });
542
+ return sdkResponse;
543
+ }
544
+ catch (err) {
545
+ throw err;
546
+ }
547
+ });
548
+ }
549
+ /**
550
+ * Get autoactivation status for a private data key or public data key in the APM Domain.
551
+ *
552
+ * This operation does not retry by default if the user has not defined a retry configuration.
553
+ * @param GetStatusAutoActivateRequest
554
+ * @return GetStatusAutoActivateResponse
555
+ * @throws OciError when an error occurs
556
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.83.0/apmtraces/GetStatusAutoActivate.ts.html |here} to see how to use GetStatusAutoActivate API.
557
+ */
558
+ getStatusAutoActivate(getStatusAutoActivateRequest) {
559
+ return __awaiter(this, void 0, void 0, function* () {
560
+ if (this.logger)
561
+ this.logger.debug("Calling operation AttributesClient#getStatusAutoActivate.");
562
+ const operationName = "getStatusAutoActivate";
563
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/apm-trace-explorer/20200630/AutoActivateStatus/GetStatusAutoActivate";
564
+ const pathParams = {};
565
+ const queryParams = {
566
+ "apmDomainId": getStatusAutoActivateRequest.apmDomainId,
567
+ "dataKeyType": getStatusAutoActivateRequest.dataKeyType
568
+ };
569
+ let headerParams = {
570
+ "Content-Type": common.Constants.APPLICATION_JSON,
571
+ "opc-request-id": getStatusAutoActivateRequest.opcRequestId
572
+ };
573
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
574
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getStatusAutoActivateRequest.retryConfiguration, specRetryConfiguration);
575
+ if (this.logger)
576
+ retrier.logger = this.logger;
577
+ const request = yield oci_common_2.composeRequest({
578
+ baseEndpoint: this._endpoint,
579
+ defaultHeaders: this._defaultHeaders,
580
+ path: "/attributes/autoActivateStatus",
581
+ method: "GET",
582
+ pathParams: pathParams,
583
+ headerParams: headerParams,
584
+ queryParams: queryParams
585
+ });
586
+ try {
587
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
588
+ const sdkResponse = oci_common_2.composeResponse({
589
+ responseObject: {},
590
+ body: yield response.json(),
591
+ bodyKey: "autoActivateStatus",
592
+ bodyModel: model.AutoActivateStatus,
593
+ type: "model.AutoActivateStatus",
594
+ responseHeaders: [
595
+ {
596
+ value: response.headers.get("opc-request-id"),
597
+ key: "opcRequestId",
598
+ dataType: "string"
599
+ }
600
+ ]
601
+ });
602
+ return sdkResponse;
603
+ }
604
+ catch (err) {
605
+ throw err;
606
+ }
607
+ });
608
+ }
609
+ /**
610
+ * Turn on or off autoactivate for private data key or public data key traffic a given APM Domain.
611
+ *
612
+ * This operation does not retry by default if the user has not defined a retry configuration.
613
+ * @param PutToggleAutoActivateRequest
614
+ * @return PutToggleAutoActivateResponse
615
+ * @throws OciError when an error occurs
616
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.83.0/apmtraces/PutToggleAutoActivate.ts.html |here} to see how to use PutToggleAutoActivate API.
617
+ */
618
+ putToggleAutoActivate(putToggleAutoActivateRequest) {
619
+ return __awaiter(this, void 0, void 0, function* () {
620
+ if (this.logger)
621
+ this.logger.debug("Calling operation AttributesClient#putToggleAutoActivate.");
622
+ const operationName = "putToggleAutoActivate";
623
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/apm-trace-explorer/20200630/AutoActivateToggleStatus/PutToggleAutoActivate";
624
+ const pathParams = {};
625
+ const queryParams = {
626
+ "apmDomainId": putToggleAutoActivateRequest.apmDomainId,
627
+ "isAutoActivateOn": putToggleAutoActivateRequest.isAutoActivateOn,
628
+ "dataKeyType": putToggleAutoActivateRequest.dataKeyType
629
+ };
630
+ let headerParams = {
631
+ "Content-Type": common.Constants.APPLICATION_JSON,
632
+ "opc-request-id": putToggleAutoActivateRequest.opcRequestId
633
+ };
634
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
635
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, putToggleAutoActivateRequest.retryConfiguration, specRetryConfiguration);
636
+ if (this.logger)
637
+ retrier.logger = this.logger;
638
+ const request = yield oci_common_2.composeRequest({
639
+ baseEndpoint: this._endpoint,
640
+ defaultHeaders: this._defaultHeaders,
641
+ path: "/attributes/actions/autoActivate",
642
+ method: "POST",
643
+ pathParams: pathParams,
644
+ headerParams: headerParams,
645
+ queryParams: queryParams
646
+ });
647
+ try {
648
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
649
+ const sdkResponse = oci_common_2.composeResponse({
650
+ responseObject: {},
651
+ body: yield response.json(),
652
+ bodyKey: "autoActivateToggleStatus",
653
+ bodyModel: model.AutoActivateToggleStatus,
654
+ type: "model.AutoActivateToggleStatus",
655
+ responseHeaders: [
656
+ {
657
+ value: response.headers.get("opc-request-id"),
658
+ key: "opcRequestId",
659
+ dataType: "string"
660
+ }
661
+ ]
662
+ });
663
+ return sdkResponse;
664
+ }
665
+ catch (err) {
666
+ throw err;
667
+ }
668
+ });
669
+ }
670
+ }
671
+ exports.AttributesClient = AttributesClient;
672
+ AttributesClient.serviceEndpointTemplate = "https://apm-trace.{region}.oci.{secondLevelDomain}";
673
+ AttributesClient.endpointServiceName = "";
53
674
  var QueryApiKeys;
54
675
  (function (QueryApiKeys) {
55
676
  })(QueryApiKeys = exports.QueryApiKeys || (exports.QueryApiKeys = {}));
@@ -178,7 +799,7 @@ class QueryClient {
178
799
  * @param ListQuickPicksRequest
179
800
  * @return ListQuickPicksResponse
180
801
  * @throws OciError when an error occurs
181
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.82.1/apmtraces/ListQuickPicks.ts.html |here} to see how to use ListQuickPicks API.
802
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.83.0/apmtraces/ListQuickPicks.ts.html |here} to see how to use ListQuickPicks API.
182
803
  */
183
804
  listQuickPicks(listQuickPicksRequest) {
184
805
  return __awaiter(this, void 0, void 0, function* () {
@@ -292,7 +913,7 @@ class QueryClient {
292
913
  * @param QueryRequest
293
914
  * @return QueryResponse
294
915
  * @throws OciError when an error occurs
295
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.82.1/apmtraces/Query.ts.html |here} to see how to use Query API.
916
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.83.0/apmtraces/Query.ts.html |here} to see how to use Query API.
296
917
  */
297
918
  query(queryRequest) {
298
919
  return __awaiter(this, void 0, void 0, function* () {
@@ -490,7 +1111,7 @@ class TraceClient {
490
1111
  * @param GetAggregatedSnapshotRequest
491
1112
  * @return GetAggregatedSnapshotResponse
492
1113
  * @throws OciError when an error occurs
493
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.82.1/apmtraces/GetAggregatedSnapshot.ts.html |here} to see how to use GetAggregatedSnapshot API.
1114
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.83.0/apmtraces/GetAggregatedSnapshot.ts.html |here} to see how to use GetAggregatedSnapshot API.
494
1115
  */
495
1116
  getAggregatedSnapshot(getAggregatedSnapshotRequest) {
496
1117
  return __awaiter(this, void 0, void 0, function* () {
@@ -502,7 +1123,11 @@ class TraceClient {
502
1123
  "{traceKey}": getAggregatedSnapshotRequest.traceKey
503
1124
  };
504
1125
  const queryParams = {
505
- "apmDomainId": getAggregatedSnapshotRequest.apmDomainId
1126
+ "apmDomainId": getAggregatedSnapshotRequest.apmDomainId,
1127
+ "serviceName": getAggregatedSnapshotRequest.serviceName,
1128
+ "serverName": getAggregatedSnapshotRequest.serverName,
1129
+ "spanKey": getAggregatedSnapshotRequest.spanKey,
1130
+ "spanName": getAggregatedSnapshotRequest.spanName
506
1131
  };
507
1132
  let headerParams = {
508
1133
  "Content-Type": common.Constants.APPLICATION_JSON,
@@ -551,7 +1176,7 @@ class TraceClient {
551
1176
  * @param GetSpanRequest
552
1177
  * @return GetSpanResponse
553
1178
  * @throws OciError when an error occurs
554
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.82.1/apmtraces/GetSpan.ts.html |here} to see how to use GetSpan API.
1179
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.83.0/apmtraces/GetSpan.ts.html |here} to see how to use GetSpan API.
555
1180
  */
556
1181
  getSpan(getSpanRequest) {
557
1182
  return __awaiter(this, void 0, void 0, function* () {
@@ -564,7 +1189,10 @@ class TraceClient {
564
1189
  "{traceKey}": getSpanRequest.traceKey
565
1190
  };
566
1191
  const queryParams = {
567
- "apmDomainId": getSpanRequest.apmDomainId
1192
+ "apmDomainId": getSpanRequest.apmDomainId,
1193
+ "timeSpanStartedGreaterThanOrEqualTo": getSpanRequest.timeSpanStartedGreaterThanOrEqualTo,
1194
+ "timeSpanStartedLessThan": getSpanRequest.timeSpanStartedLessThan,
1195
+ "spanNamespace": getSpanRequest.spanNamespace
568
1196
  };
569
1197
  let headerParams = {
570
1198
  "Content-Type": common.Constants.APPLICATION_JSON,
@@ -613,7 +1241,7 @@ class TraceClient {
613
1241
  * @param GetTraceRequest
614
1242
  * @return GetTraceResponse
615
1243
  * @throws OciError when an error occurs
616
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.82.1/apmtraces/GetTrace.ts.html |here} to see how to use GetTrace API.
1244
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.83.0/apmtraces/GetTrace.ts.html |here} to see how to use GetTrace API.
617
1245
  */
618
1246
  getTrace(getTraceRequest) {
619
1247
  return __awaiter(this, void 0, void 0, function* () {
@@ -625,7 +1253,10 @@ class TraceClient {
625
1253
  "{traceKey}": getTraceRequest.traceKey
626
1254
  };
627
1255
  const queryParams = {
628
- "apmDomainId": getTraceRequest.apmDomainId
1256
+ "apmDomainId": getTraceRequest.apmDomainId,
1257
+ "timeTraceStartedGreaterThanOrEqualTo": getTraceRequest.timeTraceStartedGreaterThanOrEqualTo,
1258
+ "timeTraceStartedLessThan": getTraceRequest.timeTraceStartedLessThan,
1259
+ "traceNamespace": getTraceRequest.traceNamespace
629
1260
  };
630
1261
  let headerParams = {
631
1262
  "Content-Type": common.Constants.APPLICATION_JSON,
@@ -674,7 +1305,7 @@ class TraceClient {
674
1305
  * @param GetTraceSnapshotRequest
675
1306
  * @return GetTraceSnapshotResponse
676
1307
  * @throws OciError when an error occurs
677
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.82.1/apmtraces/GetTraceSnapshot.ts.html |here} to see how to use GetTraceSnapshot API.
1308
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.83.0/apmtraces/GetTraceSnapshot.ts.html |here} to see how to use GetTraceSnapshot API.
678
1309
  */
679
1310
  getTraceSnapshot(getTraceSnapshotRequest) {
680
1311
  return __awaiter(this, void 0, void 0, function* () {