@aws-sdk/client-rum 3.721.0 → 3.726.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/dist-cjs/index.js +171 -100
- package/dist-es/RUMClient.js +1 -0
- package/dist-es/models/models_0.js +26 -18
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/package.json +43 -43
package/dist-cjs/index.js
CHANGED
|
@@ -156,7 +156,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
|
|
|
156
156
|
}, "resolveRuntimeExtensions");
|
|
157
157
|
|
|
158
158
|
// src/RUMClient.ts
|
|
159
|
-
var
|
|
159
|
+
var RUMClient = class extends import_smithy_client.Client {
|
|
160
|
+
static {
|
|
161
|
+
__name(this, "RUMClient");
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* The resolved configuration of RUMClient class. This is resolved and normalized from the {@link RUMClientConfig | constructor configuration interface}.
|
|
165
|
+
*/
|
|
166
|
+
config;
|
|
160
167
|
constructor(...[configuration]) {
|
|
161
168
|
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
162
169
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -166,7 +173,7 @@ var _RUMClient = class _RUMClient extends import_smithy_client.Client {
|
|
|
166
173
|
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
167
174
|
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
168
175
|
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
169
|
-
const _config_8 = resolveRuntimeExtensions(_config_7,
|
|
176
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
170
177
|
super(_config_8);
|
|
171
178
|
this.config = _config_8;
|
|
172
179
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
@@ -194,8 +201,6 @@ var _RUMClient = class _RUMClient extends import_smithy_client.Client {
|
|
|
194
201
|
super.destroy();
|
|
195
202
|
}
|
|
196
203
|
};
|
|
197
|
-
__name(_RUMClient, "RUMClient");
|
|
198
|
-
var RUMClient = _RUMClient;
|
|
199
204
|
|
|
200
205
|
// src/RUM.ts
|
|
201
206
|
|
|
@@ -213,7 +218,10 @@ var import_core2 = require("@aws-sdk/core");
|
|
|
213
218
|
|
|
214
219
|
// src/models/RUMServiceException.ts
|
|
215
220
|
|
|
216
|
-
var
|
|
221
|
+
var RUMServiceException = class _RUMServiceException extends import_smithy_client.ServiceException {
|
|
222
|
+
static {
|
|
223
|
+
__name(this, "RUMServiceException");
|
|
224
|
+
}
|
|
217
225
|
/**
|
|
218
226
|
* @internal
|
|
219
227
|
*/
|
|
@@ -222,11 +230,14 @@ var _RUMServiceException = class _RUMServiceException extends import_smithy_clie
|
|
|
222
230
|
Object.setPrototypeOf(this, _RUMServiceException.prototype);
|
|
223
231
|
}
|
|
224
232
|
};
|
|
225
|
-
__name(_RUMServiceException, "RUMServiceException");
|
|
226
|
-
var RUMServiceException = _RUMServiceException;
|
|
227
233
|
|
|
228
234
|
// src/models/models_0.ts
|
|
229
|
-
var
|
|
235
|
+
var AccessDeniedException = class _AccessDeniedException extends RUMServiceException {
|
|
236
|
+
static {
|
|
237
|
+
__name(this, "AccessDeniedException");
|
|
238
|
+
}
|
|
239
|
+
name = "AccessDeniedException";
|
|
240
|
+
$fault = "client";
|
|
230
241
|
/**
|
|
231
242
|
* @internal
|
|
232
243
|
*/
|
|
@@ -236,13 +247,9 @@ var _AccessDeniedException = class _AccessDeniedException extends RUMServiceExce
|
|
|
236
247
|
$fault: "client",
|
|
237
248
|
...opts
|
|
238
249
|
});
|
|
239
|
-
this.name = "AccessDeniedException";
|
|
240
|
-
this.$fault = "client";
|
|
241
250
|
Object.setPrototypeOf(this, _AccessDeniedException.prototype);
|
|
242
251
|
}
|
|
243
252
|
};
|
|
244
|
-
__name(_AccessDeniedException, "AccessDeniedException");
|
|
245
|
-
var AccessDeniedException = _AccessDeniedException;
|
|
246
253
|
var Telemetry = {
|
|
247
254
|
/**
|
|
248
255
|
* Includes JS error event plugin
|
|
@@ -270,7 +277,22 @@ var MetricDestination = {
|
|
|
270
277
|
CloudWatch: "CloudWatch",
|
|
271
278
|
Evidently: "Evidently"
|
|
272
279
|
};
|
|
273
|
-
var
|
|
280
|
+
var ConflictException = class _ConflictException extends RUMServiceException {
|
|
281
|
+
static {
|
|
282
|
+
__name(this, "ConflictException");
|
|
283
|
+
}
|
|
284
|
+
name = "ConflictException";
|
|
285
|
+
$fault = "client";
|
|
286
|
+
/**
|
|
287
|
+
* <p>The name of the resource that is associated with the error.</p>
|
|
288
|
+
* @public
|
|
289
|
+
*/
|
|
290
|
+
resourceName;
|
|
291
|
+
/**
|
|
292
|
+
* <p>The type of the resource that is associated with the error.</p>
|
|
293
|
+
* @public
|
|
294
|
+
*/
|
|
295
|
+
resourceType;
|
|
274
296
|
/**
|
|
275
297
|
* @internal
|
|
276
298
|
*/
|
|
@@ -280,16 +302,23 @@ var _ConflictException = class _ConflictException extends RUMServiceException {
|
|
|
280
302
|
$fault: "client",
|
|
281
303
|
...opts
|
|
282
304
|
});
|
|
283
|
-
this.name = "ConflictException";
|
|
284
|
-
this.$fault = "client";
|
|
285
305
|
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
286
306
|
this.resourceName = opts.resourceName;
|
|
287
307
|
this.resourceType = opts.resourceType;
|
|
288
308
|
}
|
|
289
309
|
};
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
310
|
+
var InternalServerException = class _InternalServerException extends RUMServiceException {
|
|
311
|
+
static {
|
|
312
|
+
__name(this, "InternalServerException");
|
|
313
|
+
}
|
|
314
|
+
name = "InternalServerException";
|
|
315
|
+
$fault = "server";
|
|
316
|
+
$retryable = {};
|
|
317
|
+
/**
|
|
318
|
+
* <p>The value of a parameter in the request caused an error.</p>
|
|
319
|
+
* @public
|
|
320
|
+
*/
|
|
321
|
+
retryAfterSeconds;
|
|
293
322
|
/**
|
|
294
323
|
* @internal
|
|
295
324
|
*/
|
|
@@ -299,16 +328,26 @@ var _InternalServerException = class _InternalServerException extends RUMService
|
|
|
299
328
|
$fault: "server",
|
|
300
329
|
...opts
|
|
301
330
|
});
|
|
302
|
-
this.name = "InternalServerException";
|
|
303
|
-
this.$fault = "server";
|
|
304
|
-
this.$retryable = {};
|
|
305
331
|
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
306
332
|
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
307
333
|
}
|
|
308
334
|
};
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
335
|
+
var ResourceNotFoundException = class _ResourceNotFoundException extends RUMServiceException {
|
|
336
|
+
static {
|
|
337
|
+
__name(this, "ResourceNotFoundException");
|
|
338
|
+
}
|
|
339
|
+
name = "ResourceNotFoundException";
|
|
340
|
+
$fault = "client";
|
|
341
|
+
/**
|
|
342
|
+
* <p>The name of the resource that is associated with the error.</p>
|
|
343
|
+
* @public
|
|
344
|
+
*/
|
|
345
|
+
resourceName;
|
|
346
|
+
/**
|
|
347
|
+
* <p>The type of the resource that is associated with the error.</p>
|
|
348
|
+
* @public
|
|
349
|
+
*/
|
|
350
|
+
resourceType;
|
|
312
351
|
/**
|
|
313
352
|
* @internal
|
|
314
353
|
*/
|
|
@@ -318,16 +357,17 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends RUMSer
|
|
|
318
357
|
$fault: "client",
|
|
319
358
|
...opts
|
|
320
359
|
});
|
|
321
|
-
this.name = "ResourceNotFoundException";
|
|
322
|
-
this.$fault = "client";
|
|
323
360
|
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
324
361
|
this.resourceName = opts.resourceName;
|
|
325
362
|
this.resourceType = opts.resourceType;
|
|
326
363
|
}
|
|
327
364
|
};
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
365
|
+
var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends RUMServiceException {
|
|
366
|
+
static {
|
|
367
|
+
__name(this, "ServiceQuotaExceededException");
|
|
368
|
+
}
|
|
369
|
+
name = "ServiceQuotaExceededException";
|
|
370
|
+
$fault = "client";
|
|
331
371
|
/**
|
|
332
372
|
* @internal
|
|
333
373
|
*/
|
|
@@ -337,14 +377,33 @@ var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extend
|
|
|
337
377
|
$fault: "client",
|
|
338
378
|
...opts
|
|
339
379
|
});
|
|
340
|
-
this.name = "ServiceQuotaExceededException";
|
|
341
|
-
this.$fault = "client";
|
|
342
380
|
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
|
|
343
381
|
}
|
|
344
382
|
};
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
383
|
+
var ThrottlingException = class _ThrottlingException extends RUMServiceException {
|
|
384
|
+
static {
|
|
385
|
+
__name(this, "ThrottlingException");
|
|
386
|
+
}
|
|
387
|
+
name = "ThrottlingException";
|
|
388
|
+
$fault = "client";
|
|
389
|
+
$retryable = {
|
|
390
|
+
throttling: true
|
|
391
|
+
};
|
|
392
|
+
/**
|
|
393
|
+
* <p>The ID of the service that is associated with the error.</p>
|
|
394
|
+
* @public
|
|
395
|
+
*/
|
|
396
|
+
serviceCode;
|
|
397
|
+
/**
|
|
398
|
+
* <p>The ID of the service quota that was exceeded.</p>
|
|
399
|
+
* @public
|
|
400
|
+
*/
|
|
401
|
+
quotaCode;
|
|
402
|
+
/**
|
|
403
|
+
* <p>The value of a parameter in the request caused an error.</p>
|
|
404
|
+
* @public
|
|
405
|
+
*/
|
|
406
|
+
retryAfterSeconds;
|
|
348
407
|
/**
|
|
349
408
|
* @internal
|
|
350
409
|
*/
|
|
@@ -354,20 +413,18 @@ var _ThrottlingException = class _ThrottlingException extends RUMServiceExceptio
|
|
|
354
413
|
$fault: "client",
|
|
355
414
|
...opts
|
|
356
415
|
});
|
|
357
|
-
this.name = "ThrottlingException";
|
|
358
|
-
this.$fault = "client";
|
|
359
|
-
this.$retryable = {
|
|
360
|
-
throttling: true
|
|
361
|
-
};
|
|
362
416
|
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
363
417
|
this.serviceCode = opts.serviceCode;
|
|
364
418
|
this.quotaCode = opts.quotaCode;
|
|
365
419
|
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
366
420
|
}
|
|
367
421
|
};
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
422
|
+
var ValidationException = class _ValidationException extends RUMServiceException {
|
|
423
|
+
static {
|
|
424
|
+
__name(this, "ValidationException");
|
|
425
|
+
}
|
|
426
|
+
name = "ValidationException";
|
|
427
|
+
$fault = "client";
|
|
371
428
|
/**
|
|
372
429
|
* @internal
|
|
373
430
|
*/
|
|
@@ -377,13 +434,9 @@ var _ValidationException = class _ValidationException extends RUMServiceExceptio
|
|
|
377
434
|
$fault: "client",
|
|
378
435
|
...opts
|
|
379
436
|
});
|
|
380
|
-
this.name = "ValidationException";
|
|
381
|
-
this.$fault = "client";
|
|
382
437
|
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
383
438
|
}
|
|
384
439
|
};
|
|
385
|
-
__name(_ValidationException, "ValidationException");
|
|
386
|
-
var ValidationException = _ValidationException;
|
|
387
440
|
|
|
388
441
|
// src/protocols/Aws_restJson1.ts
|
|
389
442
|
var se_BatchCreateRumMetricDefinitionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
@@ -1076,239 +1129,256 @@ var _ra = "retry-after";
|
|
|
1076
1129
|
var _tK = "tagKeys";
|
|
1077
1130
|
|
|
1078
1131
|
// src/commands/BatchCreateRumMetricDefinitionsCommand.ts
|
|
1079
|
-
var
|
|
1132
|
+
var BatchCreateRumMetricDefinitionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1080
1133
|
return [
|
|
1081
1134
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1082
1135
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1083
1136
|
];
|
|
1084
1137
|
}).s("RUM", "BatchCreateRumMetricDefinitions", {}).n("RUMClient", "BatchCreateRumMetricDefinitionsCommand").f(void 0, void 0).ser(se_BatchCreateRumMetricDefinitionsCommand).de(de_BatchCreateRumMetricDefinitionsCommand).build() {
|
|
1138
|
+
static {
|
|
1139
|
+
__name(this, "BatchCreateRumMetricDefinitionsCommand");
|
|
1140
|
+
}
|
|
1085
1141
|
};
|
|
1086
|
-
__name(_BatchCreateRumMetricDefinitionsCommand, "BatchCreateRumMetricDefinitionsCommand");
|
|
1087
|
-
var BatchCreateRumMetricDefinitionsCommand = _BatchCreateRumMetricDefinitionsCommand;
|
|
1088
1142
|
|
|
1089
1143
|
// src/commands/BatchDeleteRumMetricDefinitionsCommand.ts
|
|
1090
1144
|
|
|
1091
1145
|
|
|
1092
1146
|
|
|
1093
|
-
var
|
|
1147
|
+
var BatchDeleteRumMetricDefinitionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1094
1148
|
return [
|
|
1095
1149
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1096
1150
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1097
1151
|
];
|
|
1098
1152
|
}).s("RUM", "BatchDeleteRumMetricDefinitions", {}).n("RUMClient", "BatchDeleteRumMetricDefinitionsCommand").f(void 0, void 0).ser(se_BatchDeleteRumMetricDefinitionsCommand).de(de_BatchDeleteRumMetricDefinitionsCommand).build() {
|
|
1153
|
+
static {
|
|
1154
|
+
__name(this, "BatchDeleteRumMetricDefinitionsCommand");
|
|
1155
|
+
}
|
|
1099
1156
|
};
|
|
1100
|
-
__name(_BatchDeleteRumMetricDefinitionsCommand, "BatchDeleteRumMetricDefinitionsCommand");
|
|
1101
|
-
var BatchDeleteRumMetricDefinitionsCommand = _BatchDeleteRumMetricDefinitionsCommand;
|
|
1102
1157
|
|
|
1103
1158
|
// src/commands/BatchGetRumMetricDefinitionsCommand.ts
|
|
1104
1159
|
|
|
1105
1160
|
|
|
1106
1161
|
|
|
1107
|
-
var
|
|
1162
|
+
var BatchGetRumMetricDefinitionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1108
1163
|
return [
|
|
1109
1164
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1110
1165
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1111
1166
|
];
|
|
1112
1167
|
}).s("RUM", "BatchGetRumMetricDefinitions", {}).n("RUMClient", "BatchGetRumMetricDefinitionsCommand").f(void 0, void 0).ser(se_BatchGetRumMetricDefinitionsCommand).de(de_BatchGetRumMetricDefinitionsCommand).build() {
|
|
1168
|
+
static {
|
|
1169
|
+
__name(this, "BatchGetRumMetricDefinitionsCommand");
|
|
1170
|
+
}
|
|
1113
1171
|
};
|
|
1114
|
-
__name(_BatchGetRumMetricDefinitionsCommand, "BatchGetRumMetricDefinitionsCommand");
|
|
1115
|
-
var BatchGetRumMetricDefinitionsCommand = _BatchGetRumMetricDefinitionsCommand;
|
|
1116
1172
|
|
|
1117
1173
|
// src/commands/CreateAppMonitorCommand.ts
|
|
1118
1174
|
|
|
1119
1175
|
|
|
1120
1176
|
|
|
1121
|
-
var
|
|
1177
|
+
var CreateAppMonitorCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1122
1178
|
return [
|
|
1123
1179
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1124
1180
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1125
1181
|
];
|
|
1126
1182
|
}).s("RUM", "CreateAppMonitor", {}).n("RUMClient", "CreateAppMonitorCommand").f(void 0, void 0).ser(se_CreateAppMonitorCommand).de(de_CreateAppMonitorCommand).build() {
|
|
1183
|
+
static {
|
|
1184
|
+
__name(this, "CreateAppMonitorCommand");
|
|
1185
|
+
}
|
|
1127
1186
|
};
|
|
1128
|
-
__name(_CreateAppMonitorCommand, "CreateAppMonitorCommand");
|
|
1129
|
-
var CreateAppMonitorCommand = _CreateAppMonitorCommand;
|
|
1130
1187
|
|
|
1131
1188
|
// src/commands/DeleteAppMonitorCommand.ts
|
|
1132
1189
|
|
|
1133
1190
|
|
|
1134
1191
|
|
|
1135
|
-
var
|
|
1192
|
+
var DeleteAppMonitorCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1136
1193
|
return [
|
|
1137
1194
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1138
1195
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1139
1196
|
];
|
|
1140
1197
|
}).s("RUM", "DeleteAppMonitor", {}).n("RUMClient", "DeleteAppMonitorCommand").f(void 0, void 0).ser(se_DeleteAppMonitorCommand).de(de_DeleteAppMonitorCommand).build() {
|
|
1198
|
+
static {
|
|
1199
|
+
__name(this, "DeleteAppMonitorCommand");
|
|
1200
|
+
}
|
|
1141
1201
|
};
|
|
1142
|
-
__name(_DeleteAppMonitorCommand, "DeleteAppMonitorCommand");
|
|
1143
|
-
var DeleteAppMonitorCommand = _DeleteAppMonitorCommand;
|
|
1144
1202
|
|
|
1145
1203
|
// src/commands/DeleteRumMetricsDestinationCommand.ts
|
|
1146
1204
|
|
|
1147
1205
|
|
|
1148
1206
|
|
|
1149
|
-
var
|
|
1207
|
+
var DeleteRumMetricsDestinationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1150
1208
|
return [
|
|
1151
1209
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1152
1210
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1153
1211
|
];
|
|
1154
1212
|
}).s("RUM", "DeleteRumMetricsDestination", {}).n("RUMClient", "DeleteRumMetricsDestinationCommand").f(void 0, void 0).ser(se_DeleteRumMetricsDestinationCommand).de(de_DeleteRumMetricsDestinationCommand).build() {
|
|
1213
|
+
static {
|
|
1214
|
+
__name(this, "DeleteRumMetricsDestinationCommand");
|
|
1215
|
+
}
|
|
1155
1216
|
};
|
|
1156
|
-
__name(_DeleteRumMetricsDestinationCommand, "DeleteRumMetricsDestinationCommand");
|
|
1157
|
-
var DeleteRumMetricsDestinationCommand = _DeleteRumMetricsDestinationCommand;
|
|
1158
1217
|
|
|
1159
1218
|
// src/commands/GetAppMonitorCommand.ts
|
|
1160
1219
|
|
|
1161
1220
|
|
|
1162
1221
|
|
|
1163
|
-
var
|
|
1222
|
+
var GetAppMonitorCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1164
1223
|
return [
|
|
1165
1224
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1166
1225
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1167
1226
|
];
|
|
1168
1227
|
}).s("RUM", "GetAppMonitor", {}).n("RUMClient", "GetAppMonitorCommand").f(void 0, void 0).ser(se_GetAppMonitorCommand).de(de_GetAppMonitorCommand).build() {
|
|
1228
|
+
static {
|
|
1229
|
+
__name(this, "GetAppMonitorCommand");
|
|
1230
|
+
}
|
|
1169
1231
|
};
|
|
1170
|
-
__name(_GetAppMonitorCommand, "GetAppMonitorCommand");
|
|
1171
|
-
var GetAppMonitorCommand = _GetAppMonitorCommand;
|
|
1172
1232
|
|
|
1173
1233
|
// src/commands/GetAppMonitorDataCommand.ts
|
|
1174
1234
|
|
|
1175
1235
|
|
|
1176
1236
|
|
|
1177
|
-
var
|
|
1237
|
+
var GetAppMonitorDataCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1178
1238
|
return [
|
|
1179
1239
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1180
1240
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1181
1241
|
];
|
|
1182
1242
|
}).s("RUM", "GetAppMonitorData", {}).n("RUMClient", "GetAppMonitorDataCommand").f(void 0, void 0).ser(se_GetAppMonitorDataCommand).de(de_GetAppMonitorDataCommand).build() {
|
|
1243
|
+
static {
|
|
1244
|
+
__name(this, "GetAppMonitorDataCommand");
|
|
1245
|
+
}
|
|
1183
1246
|
};
|
|
1184
|
-
__name(_GetAppMonitorDataCommand, "GetAppMonitorDataCommand");
|
|
1185
|
-
var GetAppMonitorDataCommand = _GetAppMonitorDataCommand;
|
|
1186
1247
|
|
|
1187
1248
|
// src/commands/ListAppMonitorsCommand.ts
|
|
1188
1249
|
|
|
1189
1250
|
|
|
1190
1251
|
|
|
1191
|
-
var
|
|
1252
|
+
var ListAppMonitorsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1192
1253
|
return [
|
|
1193
1254
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1194
1255
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1195
1256
|
];
|
|
1196
1257
|
}).s("RUM", "ListAppMonitors", {}).n("RUMClient", "ListAppMonitorsCommand").f(void 0, void 0).ser(se_ListAppMonitorsCommand).de(de_ListAppMonitorsCommand).build() {
|
|
1258
|
+
static {
|
|
1259
|
+
__name(this, "ListAppMonitorsCommand");
|
|
1260
|
+
}
|
|
1197
1261
|
};
|
|
1198
|
-
__name(_ListAppMonitorsCommand, "ListAppMonitorsCommand");
|
|
1199
|
-
var ListAppMonitorsCommand = _ListAppMonitorsCommand;
|
|
1200
1262
|
|
|
1201
1263
|
// src/commands/ListRumMetricsDestinationsCommand.ts
|
|
1202
1264
|
|
|
1203
1265
|
|
|
1204
1266
|
|
|
1205
|
-
var
|
|
1267
|
+
var ListRumMetricsDestinationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1206
1268
|
return [
|
|
1207
1269
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1208
1270
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1209
1271
|
];
|
|
1210
1272
|
}).s("RUM", "ListRumMetricsDestinations", {}).n("RUMClient", "ListRumMetricsDestinationsCommand").f(void 0, void 0).ser(se_ListRumMetricsDestinationsCommand).de(de_ListRumMetricsDestinationsCommand).build() {
|
|
1273
|
+
static {
|
|
1274
|
+
__name(this, "ListRumMetricsDestinationsCommand");
|
|
1275
|
+
}
|
|
1211
1276
|
};
|
|
1212
|
-
__name(_ListRumMetricsDestinationsCommand, "ListRumMetricsDestinationsCommand");
|
|
1213
|
-
var ListRumMetricsDestinationsCommand = _ListRumMetricsDestinationsCommand;
|
|
1214
1277
|
|
|
1215
1278
|
// src/commands/ListTagsForResourceCommand.ts
|
|
1216
1279
|
|
|
1217
1280
|
|
|
1218
1281
|
|
|
1219
|
-
var
|
|
1282
|
+
var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1220
1283
|
return [
|
|
1221
1284
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1222
1285
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1223
1286
|
];
|
|
1224
1287
|
}).s("RUM", "ListTagsForResource", {}).n("RUMClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
1288
|
+
static {
|
|
1289
|
+
__name(this, "ListTagsForResourceCommand");
|
|
1290
|
+
}
|
|
1225
1291
|
};
|
|
1226
|
-
__name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
|
|
1227
|
-
var ListTagsForResourceCommand = _ListTagsForResourceCommand;
|
|
1228
1292
|
|
|
1229
1293
|
// src/commands/PutRumEventsCommand.ts
|
|
1230
1294
|
|
|
1231
1295
|
|
|
1232
1296
|
|
|
1233
|
-
var
|
|
1297
|
+
var PutRumEventsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1234
1298
|
return [
|
|
1235
1299
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1236
1300
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1237
1301
|
];
|
|
1238
1302
|
}).s("RUM", "PutRumEvents", {}).n("RUMClient", "PutRumEventsCommand").f(void 0, void 0).ser(se_PutRumEventsCommand).de(de_PutRumEventsCommand).build() {
|
|
1303
|
+
static {
|
|
1304
|
+
__name(this, "PutRumEventsCommand");
|
|
1305
|
+
}
|
|
1239
1306
|
};
|
|
1240
|
-
__name(_PutRumEventsCommand, "PutRumEventsCommand");
|
|
1241
|
-
var PutRumEventsCommand = _PutRumEventsCommand;
|
|
1242
1307
|
|
|
1243
1308
|
// src/commands/PutRumMetricsDestinationCommand.ts
|
|
1244
1309
|
|
|
1245
1310
|
|
|
1246
1311
|
|
|
1247
|
-
var
|
|
1312
|
+
var PutRumMetricsDestinationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1248
1313
|
return [
|
|
1249
1314
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1250
1315
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1251
1316
|
];
|
|
1252
1317
|
}).s("RUM", "PutRumMetricsDestination", {}).n("RUMClient", "PutRumMetricsDestinationCommand").f(void 0, void 0).ser(se_PutRumMetricsDestinationCommand).de(de_PutRumMetricsDestinationCommand).build() {
|
|
1318
|
+
static {
|
|
1319
|
+
__name(this, "PutRumMetricsDestinationCommand");
|
|
1320
|
+
}
|
|
1253
1321
|
};
|
|
1254
|
-
__name(_PutRumMetricsDestinationCommand, "PutRumMetricsDestinationCommand");
|
|
1255
|
-
var PutRumMetricsDestinationCommand = _PutRumMetricsDestinationCommand;
|
|
1256
1322
|
|
|
1257
1323
|
// src/commands/TagResourceCommand.ts
|
|
1258
1324
|
|
|
1259
1325
|
|
|
1260
1326
|
|
|
1261
|
-
var
|
|
1327
|
+
var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1262
1328
|
return [
|
|
1263
1329
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1264
1330
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1265
1331
|
];
|
|
1266
1332
|
}).s("RUM", "TagResource", {}).n("RUMClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
1333
|
+
static {
|
|
1334
|
+
__name(this, "TagResourceCommand");
|
|
1335
|
+
}
|
|
1267
1336
|
};
|
|
1268
|
-
__name(_TagResourceCommand, "TagResourceCommand");
|
|
1269
|
-
var TagResourceCommand = _TagResourceCommand;
|
|
1270
1337
|
|
|
1271
1338
|
// src/commands/UntagResourceCommand.ts
|
|
1272
1339
|
|
|
1273
1340
|
|
|
1274
1341
|
|
|
1275
|
-
var
|
|
1342
|
+
var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1276
1343
|
return [
|
|
1277
1344
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1278
1345
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1279
1346
|
];
|
|
1280
1347
|
}).s("RUM", "UntagResource", {}).n("RUMClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
1348
|
+
static {
|
|
1349
|
+
__name(this, "UntagResourceCommand");
|
|
1350
|
+
}
|
|
1281
1351
|
};
|
|
1282
|
-
__name(_UntagResourceCommand, "UntagResourceCommand");
|
|
1283
|
-
var UntagResourceCommand = _UntagResourceCommand;
|
|
1284
1352
|
|
|
1285
1353
|
// src/commands/UpdateAppMonitorCommand.ts
|
|
1286
1354
|
|
|
1287
1355
|
|
|
1288
1356
|
|
|
1289
|
-
var
|
|
1357
|
+
var UpdateAppMonitorCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1290
1358
|
return [
|
|
1291
1359
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1292
1360
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1293
1361
|
];
|
|
1294
1362
|
}).s("RUM", "UpdateAppMonitor", {}).n("RUMClient", "UpdateAppMonitorCommand").f(void 0, void 0).ser(se_UpdateAppMonitorCommand).de(de_UpdateAppMonitorCommand).build() {
|
|
1363
|
+
static {
|
|
1364
|
+
__name(this, "UpdateAppMonitorCommand");
|
|
1365
|
+
}
|
|
1295
1366
|
};
|
|
1296
|
-
__name(_UpdateAppMonitorCommand, "UpdateAppMonitorCommand");
|
|
1297
|
-
var UpdateAppMonitorCommand = _UpdateAppMonitorCommand;
|
|
1298
1367
|
|
|
1299
1368
|
// src/commands/UpdateRumMetricDefinitionCommand.ts
|
|
1300
1369
|
|
|
1301
1370
|
|
|
1302
1371
|
|
|
1303
|
-
var
|
|
1372
|
+
var UpdateRumMetricDefinitionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1304
1373
|
return [
|
|
1305
1374
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1306
1375
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1307
1376
|
];
|
|
1308
1377
|
}).s("RUM", "UpdateRumMetricDefinition", {}).n("RUMClient", "UpdateRumMetricDefinitionCommand").f(void 0, void 0).ser(se_UpdateRumMetricDefinitionCommand).de(de_UpdateRumMetricDefinitionCommand).build() {
|
|
1378
|
+
static {
|
|
1379
|
+
__name(this, "UpdateRumMetricDefinitionCommand");
|
|
1380
|
+
}
|
|
1309
1381
|
};
|
|
1310
|
-
__name(_UpdateRumMetricDefinitionCommand, "UpdateRumMetricDefinitionCommand");
|
|
1311
|
-
var UpdateRumMetricDefinitionCommand = _UpdateRumMetricDefinitionCommand;
|
|
1312
1382
|
|
|
1313
1383
|
// src/RUM.ts
|
|
1314
1384
|
var commands = {
|
|
@@ -1330,10 +1400,11 @@ var commands = {
|
|
|
1330
1400
|
UpdateAppMonitorCommand,
|
|
1331
1401
|
UpdateRumMetricDefinitionCommand
|
|
1332
1402
|
};
|
|
1333
|
-
var
|
|
1403
|
+
var RUM = class extends RUMClient {
|
|
1404
|
+
static {
|
|
1405
|
+
__name(this, "RUM");
|
|
1406
|
+
}
|
|
1334
1407
|
};
|
|
1335
|
-
__name(_RUM, "RUM");
|
|
1336
|
-
var RUM = _RUM;
|
|
1337
1408
|
(0, import_smithy_client.createAggregatedClient)(commands, RUM);
|
|
1338
1409
|
|
|
1339
1410
|
// src/pagination/BatchGetRumMetricDefinitionsPaginator.ts
|
package/dist-es/RUMClient.js
CHANGED
|
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
|
14
14
|
import { resolveRuntimeExtensions } from "./runtimeExtensions";
|
|
15
15
|
export { __Client };
|
|
16
16
|
export class RUMClient extends __Client {
|
|
17
|
+
config;
|
|
17
18
|
constructor(...[configuration]) {
|
|
18
19
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
19
20
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { RUMServiceException as __BaseException } from "./RUMServiceException";
|
|
2
2
|
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
3
5
|
constructor(opts) {
|
|
4
6
|
super({
|
|
5
7
|
name: "AccessDeniedException",
|
|
6
8
|
$fault: "client",
|
|
7
9
|
...opts,
|
|
8
10
|
});
|
|
9
|
-
this.name = "AccessDeniedException";
|
|
10
|
-
this.$fault = "client";
|
|
11
11
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -30,71 +30,79 @@ export const MetricDestination = {
|
|
|
30
30
|
Evidently: "Evidently",
|
|
31
31
|
};
|
|
32
32
|
export class ConflictException extends __BaseException {
|
|
33
|
+
name = "ConflictException";
|
|
34
|
+
$fault = "client";
|
|
35
|
+
resourceName;
|
|
36
|
+
resourceType;
|
|
33
37
|
constructor(opts) {
|
|
34
38
|
super({
|
|
35
39
|
name: "ConflictException",
|
|
36
40
|
$fault: "client",
|
|
37
41
|
...opts,
|
|
38
42
|
});
|
|
39
|
-
this.name = "ConflictException";
|
|
40
|
-
this.$fault = "client";
|
|
41
43
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
42
44
|
this.resourceName = opts.resourceName;
|
|
43
45
|
this.resourceType = opts.resourceType;
|
|
44
46
|
}
|
|
45
47
|
}
|
|
46
48
|
export class InternalServerException extends __BaseException {
|
|
49
|
+
name = "InternalServerException";
|
|
50
|
+
$fault = "server";
|
|
51
|
+
$retryable = {};
|
|
52
|
+
retryAfterSeconds;
|
|
47
53
|
constructor(opts) {
|
|
48
54
|
super({
|
|
49
55
|
name: "InternalServerException",
|
|
50
56
|
$fault: "server",
|
|
51
57
|
...opts,
|
|
52
58
|
});
|
|
53
|
-
this.name = "InternalServerException";
|
|
54
|
-
this.$fault = "server";
|
|
55
|
-
this.$retryable = {};
|
|
56
59
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
57
60
|
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
58
61
|
}
|
|
59
62
|
}
|
|
60
63
|
export class ResourceNotFoundException extends __BaseException {
|
|
64
|
+
name = "ResourceNotFoundException";
|
|
65
|
+
$fault = "client";
|
|
66
|
+
resourceName;
|
|
67
|
+
resourceType;
|
|
61
68
|
constructor(opts) {
|
|
62
69
|
super({
|
|
63
70
|
name: "ResourceNotFoundException",
|
|
64
71
|
$fault: "client",
|
|
65
72
|
...opts,
|
|
66
73
|
});
|
|
67
|
-
this.name = "ResourceNotFoundException";
|
|
68
|
-
this.$fault = "client";
|
|
69
74
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
70
75
|
this.resourceName = opts.resourceName;
|
|
71
76
|
this.resourceType = opts.resourceType;
|
|
72
77
|
}
|
|
73
78
|
}
|
|
74
79
|
export class ServiceQuotaExceededException extends __BaseException {
|
|
80
|
+
name = "ServiceQuotaExceededException";
|
|
81
|
+
$fault = "client";
|
|
75
82
|
constructor(opts) {
|
|
76
83
|
super({
|
|
77
84
|
name: "ServiceQuotaExceededException",
|
|
78
85
|
$fault: "client",
|
|
79
86
|
...opts,
|
|
80
87
|
});
|
|
81
|
-
this.name = "ServiceQuotaExceededException";
|
|
82
|
-
this.$fault = "client";
|
|
83
88
|
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
84
89
|
}
|
|
85
90
|
}
|
|
86
91
|
export class ThrottlingException extends __BaseException {
|
|
92
|
+
name = "ThrottlingException";
|
|
93
|
+
$fault = "client";
|
|
94
|
+
$retryable = {
|
|
95
|
+
throttling: true,
|
|
96
|
+
};
|
|
97
|
+
serviceCode;
|
|
98
|
+
quotaCode;
|
|
99
|
+
retryAfterSeconds;
|
|
87
100
|
constructor(opts) {
|
|
88
101
|
super({
|
|
89
102
|
name: "ThrottlingException",
|
|
90
103
|
$fault: "client",
|
|
91
104
|
...opts,
|
|
92
105
|
});
|
|
93
|
-
this.name = "ThrottlingException";
|
|
94
|
-
this.$fault = "client";
|
|
95
|
-
this.$retryable = {
|
|
96
|
-
throttling: true,
|
|
97
|
-
};
|
|
98
106
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
99
107
|
this.serviceCode = opts.serviceCode;
|
|
100
108
|
this.quotaCode = opts.quotaCode;
|
|
@@ -102,14 +110,14 @@ export class ThrottlingException extends __BaseException {
|
|
|
102
110
|
}
|
|
103
111
|
}
|
|
104
112
|
export class ValidationException extends __BaseException {
|
|
113
|
+
name = "ValidationException";
|
|
114
|
+
$fault = "client";
|
|
105
115
|
constructor(opts) {
|
|
106
116
|
super({
|
|
107
117
|
name: "ValidationException",
|
|
108
118
|
$fault: "client",
|
|
109
119
|
...opts,
|
|
110
120
|
});
|
|
111
|
-
this.name = "ValidationException";
|
|
112
|
-
this.$fault = "client";
|
|
113
121
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
114
122
|
}
|
|
115
123
|
}
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: RUMClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: RUMClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<string>;
|
|
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: RUMClientConfig) => {
|
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
23
|
profile?: string | undefined;
|
|
24
24
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
25
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
25
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
26
26
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
27
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: RUMClientConfig) => {
|
|
|
31
31
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
32
32
|
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
33
33
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
34
|
-
endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
|
|
34
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
35
35
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
36
36
|
logger?: import("@smithy/types").Logger | undefined;
|
|
37
37
|
}) => import("@smithy/types").EndpointV2;
|
|
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: RUMClientConfig) => {
|
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
-
credentialDefaultProvider:
|
|
10
|
-
input: any
|
|
11
|
-
|
|
9
|
+
credentialDefaultProvider:
|
|
10
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
+
| ((
|
|
12
|
+
_: unknown
|
|
13
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
12
14
|
defaultUserAgentProvider: (
|
|
13
15
|
config?:
|
|
14
16
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: RUMClientConfig) => {
|
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
-
credentialDefaultProvider:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
credentialDefaultProvider:
|
|
10
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
+
| ((
|
|
12
|
+
init?:
|
|
13
|
+
| import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
14
|
+
| undefined
|
|
15
|
+
) => import("@smithy/types").MemoizedProvider<
|
|
16
|
+
import("@smithy/types").AwsCredentialIdentity
|
|
17
|
+
>);
|
|
16
18
|
defaultUserAgentProvider: (
|
|
17
19
|
config?:
|
|
18
20
|
| import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: RUMClientConfig) => {
|
|
|
28
28
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
29
29
|
| undefined
|
|
30
30
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
31
|
-
credentialDefaultProvider:
|
|
32
|
-
input: any
|
|
33
|
-
|
|
31
|
+
credentialDefaultProvider:
|
|
32
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
33
|
+
| ((
|
|
34
|
+
_: unknown
|
|
35
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
34
36
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
35
37
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
36
38
|
logger: import("@smithy/types").Logger;
|
|
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: RUMClientConfig) => {
|
|
|
50
52
|
| import("@smithy/types").RetryStrategyV2
|
|
51
53
|
| undefined;
|
|
52
54
|
endpoint?:
|
|
53
|
-
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
| ((
|
|
56
|
+
| string
|
|
57
|
+
| import("@smithy/types").Endpoint
|
|
58
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
59
|
+
| import("@smithy/types").EndpointV2
|
|
60
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
61
|
+
) &
|
|
62
|
+
(
|
|
63
|
+
| string
|
|
64
|
+
| import("@smithy/types").Provider<string>
|
|
65
|
+
| import("@smithy/types").Endpoint
|
|
66
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
67
|
+
| import("@smithy/types").EndpointV2
|
|
68
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
69
|
+
))
|
|
58
70
|
| undefined;
|
|
59
71
|
endpointProvider: (
|
|
60
72
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-rum",
|
|
3
3
|
"description": "AWS SDK for JavaScript Rum Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.726.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-rum",
|
|
@@ -20,56 +20,56 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^
|
|
37
|
-
"@smithy/core": "^
|
|
38
|
-
"@smithy/fetch-http-handler": "^
|
|
39
|
-
"@smithy/hash-node": "^
|
|
40
|
-
"@smithy/invalid-dependency": "^
|
|
41
|
-
"@smithy/middleware-content-length": "^
|
|
42
|
-
"@smithy/middleware-endpoint": "^
|
|
43
|
-
"@smithy/middleware-retry": "^
|
|
44
|
-
"@smithy/middleware-serde": "^
|
|
45
|
-
"@smithy/middleware-stack": "^
|
|
46
|
-
"@smithy/node-config-provider": "^
|
|
47
|
-
"@smithy/node-http-handler": "^
|
|
48
|
-
"@smithy/protocol-http": "^
|
|
49
|
-
"@smithy/smithy-client": "^
|
|
50
|
-
"@smithy/types": "^
|
|
51
|
-
"@smithy/url-parser": "^
|
|
52
|
-
"@smithy/util-base64": "^
|
|
53
|
-
"@smithy/util-body-length-browser": "^
|
|
54
|
-
"@smithy/util-body-length-node": "^
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^
|
|
57
|
-
"@smithy/util-endpoints": "^
|
|
58
|
-
"@smithy/util-middleware": "^
|
|
59
|
-
"@smithy/util-retry": "^
|
|
60
|
-
"@smithy/util-utf8": "^
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.726.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.726.0",
|
|
25
|
+
"@aws-sdk/core": "3.723.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.726.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.723.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.723.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.723.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.726.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.723.0",
|
|
32
|
+
"@aws-sdk/types": "3.723.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.726.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.723.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.726.0",
|
|
36
|
+
"@smithy/config-resolver": "^4.0.0",
|
|
37
|
+
"@smithy/core": "^3.0.0",
|
|
38
|
+
"@smithy/fetch-http-handler": "^5.0.0",
|
|
39
|
+
"@smithy/hash-node": "^4.0.0",
|
|
40
|
+
"@smithy/invalid-dependency": "^4.0.0",
|
|
41
|
+
"@smithy/middleware-content-length": "^4.0.0",
|
|
42
|
+
"@smithy/middleware-endpoint": "^4.0.0",
|
|
43
|
+
"@smithy/middleware-retry": "^4.0.0",
|
|
44
|
+
"@smithy/middleware-serde": "^4.0.0",
|
|
45
|
+
"@smithy/middleware-stack": "^4.0.0",
|
|
46
|
+
"@smithy/node-config-provider": "^4.0.0",
|
|
47
|
+
"@smithy/node-http-handler": "^4.0.0",
|
|
48
|
+
"@smithy/protocol-http": "^5.0.0",
|
|
49
|
+
"@smithy/smithy-client": "^4.0.0",
|
|
50
|
+
"@smithy/types": "^4.0.0",
|
|
51
|
+
"@smithy/url-parser": "^4.0.0",
|
|
52
|
+
"@smithy/util-base64": "^4.0.0",
|
|
53
|
+
"@smithy/util-body-length-browser": "^4.0.0",
|
|
54
|
+
"@smithy/util-body-length-node": "^4.0.0",
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^4.0.0",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^4.0.0",
|
|
57
|
+
"@smithy/util-endpoints": "^3.0.0",
|
|
58
|
+
"@smithy/util-middleware": "^4.0.0",
|
|
59
|
+
"@smithy/util-retry": "^4.0.0",
|
|
60
|
+
"@smithy/util-utf8": "^4.0.0",
|
|
61
61
|
"tslib": "^2.6.2"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@tsconfig/
|
|
65
|
-
"@types/node": "^
|
|
64
|
+
"@tsconfig/node18": "18.2.4",
|
|
65
|
+
"@types/node": "^18.19.69",
|
|
66
66
|
"concurrently": "7.0.0",
|
|
67
67
|
"downlevel-dts": "0.10.1",
|
|
68
68
|
"rimraf": "3.0.2",
|
|
69
|
-
"typescript": "~
|
|
69
|
+
"typescript": "~5.2.2"
|
|
70
70
|
},
|
|
71
71
|
"engines": {
|
|
72
|
-
"node": ">=
|
|
72
|
+
"node": ">=18.0.0"
|
|
73
73
|
},
|
|
74
74
|
"typesVersions": {
|
|
75
75
|
"<4.0": {
|