@aws-sdk/client-rum 3.928.0 → 3.929.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 +987 -992
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/RUMClient.js +2 -0
- package/dist-es/commands/BatchCreateRumMetricDefinitionsCommand.js +3 -9
- package/dist-es/commands/BatchDeleteRumMetricDefinitionsCommand.js +3 -9
- package/dist-es/commands/BatchGetRumMetricDefinitionsCommand.js +3 -9
- package/dist-es/commands/CreateAppMonitorCommand.js +3 -9
- package/dist-es/commands/DeleteAppMonitorCommand.js +3 -9
- package/dist-es/commands/DeleteResourcePolicyCommand.js +3 -9
- package/dist-es/commands/DeleteRumMetricsDestinationCommand.js +3 -9
- package/dist-es/commands/GetAppMonitorCommand.js +3 -9
- package/dist-es/commands/GetAppMonitorDataCommand.js +3 -9
- package/dist-es/commands/GetResourcePolicyCommand.js +3 -9
- package/dist-es/commands/ListAppMonitorsCommand.js +3 -9
- package/dist-es/commands/ListRumMetricsDestinationsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/PutResourcePolicyCommand.js +3 -9
- package/dist-es/commands/PutRumEventsCommand.js +3 -9
- package/dist-es/commands/PutRumMetricsDestinationCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateAppMonitorCommand.js +3 -9
- package/dist-es/commands/UpdateRumMetricDefinitionCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +935 -0
- package/dist-types/RUMClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +110 -0
- package/dist-types/ts3.4/RUMClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +116 -0
- package/package.json +2 -2
- package/dist-es/protocols/Aws_restJson1.js +0 -834
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -182
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -245
package/dist-cjs/index.js
CHANGED
|
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
|
|
|
6
6
|
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
7
|
var configResolver = require('@smithy/config-resolver');
|
|
8
8
|
var core = require('@smithy/core');
|
|
9
|
+
var schema = require('@smithy/core/schema');
|
|
9
10
|
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
11
|
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
12
|
var middlewareRetry = require('@smithy/middleware-retry');
|
|
@@ -14,8 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
14
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
15
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
17
|
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
-
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
-
var core$1 = require('@aws-sdk/core');
|
|
19
18
|
|
|
20
19
|
const resolveClientEndpointParameters = (options) => {
|
|
21
20
|
return Object.assign(options, {
|
|
@@ -91,6 +90,7 @@ class RUMClient extends smithyClient.Client {
|
|
|
91
90
|
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
92
91
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
93
92
|
this.config = _config_8;
|
|
93
|
+
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
94
94
|
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
95
95
|
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
96
96
|
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
@@ -110,14 +110,14 @@ class RUMClient extends smithyClient.Client {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class RUMServiceException extends smithyClient.ServiceException {
|
|
113
|
+
let RUMServiceException$1 = class RUMServiceException extends smithyClient.ServiceException {
|
|
114
114
|
constructor(options) {
|
|
115
115
|
super(options);
|
|
116
116
|
Object.setPrototypeOf(this, RUMServiceException.prototype);
|
|
117
117
|
}
|
|
118
|
-
}
|
|
118
|
+
};
|
|
119
119
|
|
|
120
|
-
class AccessDeniedException extends RUMServiceException {
|
|
120
|
+
let AccessDeniedException$1 = class AccessDeniedException extends RUMServiceException$1 {
|
|
121
121
|
name = "AccessDeniedException";
|
|
122
122
|
$fault = "client";
|
|
123
123
|
constructor(opts) {
|
|
@@ -128,7 +128,7 @@ class AccessDeniedException extends RUMServiceException {
|
|
|
128
128
|
});
|
|
129
129
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
130
130
|
}
|
|
131
|
-
}
|
|
131
|
+
};
|
|
132
132
|
const Telemetry = {
|
|
133
133
|
ERRORS: "errors",
|
|
134
134
|
HTTP: "http",
|
|
@@ -151,7 +151,7 @@ const MetricDestination = {
|
|
|
151
151
|
CloudWatch: "CloudWatch",
|
|
152
152
|
Evidently: "Evidently",
|
|
153
153
|
};
|
|
154
|
-
class ConflictException extends RUMServiceException {
|
|
154
|
+
let ConflictException$1 = class ConflictException extends RUMServiceException$1 {
|
|
155
155
|
name = "ConflictException";
|
|
156
156
|
$fault = "client";
|
|
157
157
|
resourceName;
|
|
@@ -166,8 +166,8 @@ class ConflictException extends RUMServiceException {
|
|
|
166
166
|
this.resourceName = opts.resourceName;
|
|
167
167
|
this.resourceType = opts.resourceType;
|
|
168
168
|
}
|
|
169
|
-
}
|
|
170
|
-
class InternalServerException extends RUMServiceException {
|
|
169
|
+
};
|
|
170
|
+
let InternalServerException$1 = class InternalServerException extends RUMServiceException$1 {
|
|
171
171
|
name = "InternalServerException";
|
|
172
172
|
$fault = "server";
|
|
173
173
|
$retryable = {};
|
|
@@ -181,8 +181,8 @@ class InternalServerException extends RUMServiceException {
|
|
|
181
181
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
182
182
|
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
183
183
|
}
|
|
184
|
-
}
|
|
185
|
-
class ResourceNotFoundException extends RUMServiceException {
|
|
184
|
+
};
|
|
185
|
+
let ResourceNotFoundException$1 = class ResourceNotFoundException extends RUMServiceException$1 {
|
|
186
186
|
name = "ResourceNotFoundException";
|
|
187
187
|
$fault = "client";
|
|
188
188
|
resourceName;
|
|
@@ -197,8 +197,8 @@ class ResourceNotFoundException extends RUMServiceException {
|
|
|
197
197
|
this.resourceName = opts.resourceName;
|
|
198
198
|
this.resourceType = opts.resourceType;
|
|
199
199
|
}
|
|
200
|
-
}
|
|
201
|
-
class ServiceQuotaExceededException extends RUMServiceException {
|
|
200
|
+
};
|
|
201
|
+
let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends RUMServiceException$1 {
|
|
202
202
|
name = "ServiceQuotaExceededException";
|
|
203
203
|
$fault = "client";
|
|
204
204
|
constructor(opts) {
|
|
@@ -209,8 +209,8 @@ class ServiceQuotaExceededException extends RUMServiceException {
|
|
|
209
209
|
});
|
|
210
210
|
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
211
211
|
}
|
|
212
|
-
}
|
|
213
|
-
class ThrottlingException extends RUMServiceException {
|
|
212
|
+
};
|
|
213
|
+
let ThrottlingException$1 = class ThrottlingException extends RUMServiceException$1 {
|
|
214
214
|
name = "ThrottlingException";
|
|
215
215
|
$fault = "client";
|
|
216
216
|
$retryable = {
|
|
@@ -230,8 +230,8 @@ class ThrottlingException extends RUMServiceException {
|
|
|
230
230
|
this.quotaCode = opts.quotaCode;
|
|
231
231
|
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
232
232
|
}
|
|
233
|
-
}
|
|
234
|
-
class ValidationException extends RUMServiceException {
|
|
233
|
+
};
|
|
234
|
+
let ValidationException$1 = class ValidationException extends RUMServiceException$1 {
|
|
235
235
|
name = "ValidationException";
|
|
236
236
|
$fault = "client";
|
|
237
237
|
constructor(opts) {
|
|
@@ -242,8 +242,8 @@ class ValidationException extends RUMServiceException {
|
|
|
242
242
|
});
|
|
243
243
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
244
244
|
}
|
|
245
|
-
}
|
|
246
|
-
class InvalidPolicyRevisionIdException extends RUMServiceException {
|
|
245
|
+
};
|
|
246
|
+
let InvalidPolicyRevisionIdException$1 = class InvalidPolicyRevisionIdException extends RUMServiceException$1 {
|
|
247
247
|
name = "InvalidPolicyRevisionIdException";
|
|
248
248
|
$fault = "client";
|
|
249
249
|
constructor(opts) {
|
|
@@ -254,8 +254,8 @@ class InvalidPolicyRevisionIdException extends RUMServiceException {
|
|
|
254
254
|
});
|
|
255
255
|
Object.setPrototypeOf(this, InvalidPolicyRevisionIdException.prototype);
|
|
256
256
|
}
|
|
257
|
-
}
|
|
258
|
-
class PolicyNotFoundException extends RUMServiceException {
|
|
257
|
+
};
|
|
258
|
+
let PolicyNotFoundException$1 = class PolicyNotFoundException extends RUMServiceException$1 {
|
|
259
259
|
name = "PolicyNotFoundException";
|
|
260
260
|
$fault = "client";
|
|
261
261
|
constructor(opts) {
|
|
@@ -266,8 +266,8 @@ class PolicyNotFoundException extends RUMServiceException {
|
|
|
266
266
|
});
|
|
267
267
|
Object.setPrototypeOf(this, PolicyNotFoundException.prototype);
|
|
268
268
|
}
|
|
269
|
-
}
|
|
270
|
-
class MalformedPolicyDocumentException extends RUMServiceException {
|
|
269
|
+
};
|
|
270
|
+
let MalformedPolicyDocumentException$1 = class MalformedPolicyDocumentException extends RUMServiceException$1 {
|
|
271
271
|
name = "MalformedPolicyDocumentException";
|
|
272
272
|
$fault = "client";
|
|
273
273
|
constructor(opts) {
|
|
@@ -278,8 +278,8 @@ class MalformedPolicyDocumentException extends RUMServiceException {
|
|
|
278
278
|
});
|
|
279
279
|
Object.setPrototypeOf(this, MalformedPolicyDocumentException.prototype);
|
|
280
280
|
}
|
|
281
|
-
}
|
|
282
|
-
class PolicySizeLimitExceededException extends RUMServiceException {
|
|
281
|
+
};
|
|
282
|
+
let PolicySizeLimitExceededException$1 = class PolicySizeLimitExceededException extends RUMServiceException$1 {
|
|
283
283
|
name = "PolicySizeLimitExceededException";
|
|
284
284
|
$fault = "client";
|
|
285
285
|
constructor(opts) {
|
|
@@ -290,850 +290,940 @@ class PolicySizeLimitExceededException extends RUMServiceException {
|
|
|
290
290
|
});
|
|
291
291
|
Object.setPrototypeOf(this, PolicySizeLimitExceededException.prototype);
|
|
292
292
|
}
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
const se_BatchCreateRumMetricDefinitionsCommand = async (input, context) => {
|
|
296
|
-
const b = core.requestBuilder(input, context);
|
|
297
|
-
const headers = {
|
|
298
|
-
"content-type": "application/json",
|
|
299
|
-
};
|
|
300
|
-
b.bp("/rummetrics/{AppMonitorName}/metrics");
|
|
301
|
-
b.p("AppMonitorName", () => input.AppMonitorName, "{AppMonitorName}", false);
|
|
302
|
-
let body;
|
|
303
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
304
|
-
Destination: [],
|
|
305
|
-
DestinationArn: [],
|
|
306
|
-
MetricDefinitions: (_) => smithyClient._json(_),
|
|
307
|
-
}));
|
|
308
|
-
b.m("POST").h(headers).b(body);
|
|
309
|
-
return b.build();
|
|
310
|
-
};
|
|
311
|
-
const se_BatchDeleteRumMetricDefinitionsCommand = async (input, context) => {
|
|
312
|
-
const b = core.requestBuilder(input, context);
|
|
313
|
-
const headers = {};
|
|
314
|
-
b.bp("/rummetrics/{AppMonitorName}/metrics");
|
|
315
|
-
b.p("AppMonitorName", () => input.AppMonitorName, "{AppMonitorName}", false);
|
|
316
|
-
const query = smithyClient.map({
|
|
317
|
-
[_d]: [, smithyClient.expectNonNull(input[_D], `Destination`)],
|
|
318
|
-
[_dA]: [, input[_DA]],
|
|
319
|
-
[_mDI]: [smithyClient.expectNonNull(input.MetricDefinitionIds, `MetricDefinitionIds`) != null, () => input[_MDI] || []],
|
|
320
|
-
});
|
|
321
|
-
let body;
|
|
322
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
323
|
-
return b.build();
|
|
324
|
-
};
|
|
325
|
-
const se_BatchGetRumMetricDefinitionsCommand = async (input, context) => {
|
|
326
|
-
const b = core.requestBuilder(input, context);
|
|
327
|
-
const headers = {};
|
|
328
|
-
b.bp("/rummetrics/{AppMonitorName}/metrics");
|
|
329
|
-
b.p("AppMonitorName", () => input.AppMonitorName, "{AppMonitorName}", false);
|
|
330
|
-
const query = smithyClient.map({
|
|
331
|
-
[_d]: [, smithyClient.expectNonNull(input[_D], `Destination`)],
|
|
332
|
-
[_dA]: [, input[_DA]],
|
|
333
|
-
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
334
|
-
[_nT]: [, input[_NT]],
|
|
335
|
-
});
|
|
336
|
-
let body;
|
|
337
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
338
|
-
return b.build();
|
|
339
|
-
};
|
|
340
|
-
const se_CreateAppMonitorCommand = async (input, context) => {
|
|
341
|
-
const b = core.requestBuilder(input, context);
|
|
342
|
-
const headers = {
|
|
343
|
-
"content-type": "application/json",
|
|
344
|
-
};
|
|
345
|
-
b.bp("/appmonitor");
|
|
346
|
-
let body;
|
|
347
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
348
|
-
AppMonitorConfiguration: (_) => se_AppMonitorConfiguration(_),
|
|
349
|
-
CustomEvents: (_) => smithyClient._json(_),
|
|
350
|
-
CwLogEnabled: [],
|
|
351
|
-
DeobfuscationConfiguration: (_) => smithyClient._json(_),
|
|
352
|
-
Domain: [],
|
|
353
|
-
DomainList: (_) => smithyClient._json(_),
|
|
354
|
-
Name: [],
|
|
355
|
-
Tags: (_) => smithyClient._json(_),
|
|
356
|
-
}));
|
|
357
|
-
b.m("POST").h(headers).b(body);
|
|
358
|
-
return b.build();
|
|
359
|
-
};
|
|
360
|
-
const se_DeleteAppMonitorCommand = async (input, context) => {
|
|
361
|
-
const b = core.requestBuilder(input, context);
|
|
362
|
-
const headers = {};
|
|
363
|
-
b.bp("/appmonitor/{Name}");
|
|
364
|
-
b.p("Name", () => input.Name, "{Name}", false);
|
|
365
|
-
let body;
|
|
366
|
-
b.m("DELETE").h(headers).b(body);
|
|
367
|
-
return b.build();
|
|
368
|
-
};
|
|
369
|
-
const se_DeleteResourcePolicyCommand = async (input, context) => {
|
|
370
|
-
const b = core.requestBuilder(input, context);
|
|
371
|
-
const headers = {};
|
|
372
|
-
b.bp("/appmonitor/{Name}/policy");
|
|
373
|
-
b.p("Name", () => input.Name, "{Name}", false);
|
|
374
|
-
const query = smithyClient.map({
|
|
375
|
-
[_pRI]: [, input[_PRI]],
|
|
376
|
-
});
|
|
377
|
-
let body;
|
|
378
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
379
|
-
return b.build();
|
|
380
|
-
};
|
|
381
|
-
const se_DeleteRumMetricsDestinationCommand = async (input, context) => {
|
|
382
|
-
const b = core.requestBuilder(input, context);
|
|
383
|
-
const headers = {};
|
|
384
|
-
b.bp("/rummetrics/{AppMonitorName}/metricsdestination");
|
|
385
|
-
b.p("AppMonitorName", () => input.AppMonitorName, "{AppMonitorName}", false);
|
|
386
|
-
const query = smithyClient.map({
|
|
387
|
-
[_d]: [, smithyClient.expectNonNull(input[_D], `Destination`)],
|
|
388
|
-
[_dA]: [, input[_DA]],
|
|
389
|
-
});
|
|
390
|
-
let body;
|
|
391
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
392
|
-
return b.build();
|
|
393
|
-
};
|
|
394
|
-
const se_GetAppMonitorCommand = async (input, context) => {
|
|
395
|
-
const b = core.requestBuilder(input, context);
|
|
396
|
-
const headers = {};
|
|
397
|
-
b.bp("/appmonitor/{Name}");
|
|
398
|
-
b.p("Name", () => input.Name, "{Name}", false);
|
|
399
|
-
let body;
|
|
400
|
-
b.m("GET").h(headers).b(body);
|
|
401
|
-
return b.build();
|
|
402
|
-
};
|
|
403
|
-
const se_GetAppMonitorDataCommand = async (input, context) => {
|
|
404
|
-
const b = core.requestBuilder(input, context);
|
|
405
|
-
const headers = {
|
|
406
|
-
"content-type": "application/json",
|
|
407
|
-
};
|
|
408
|
-
b.bp("/appmonitor/{Name}/data");
|
|
409
|
-
b.p("Name", () => input.Name, "{Name}", false);
|
|
410
|
-
let body;
|
|
411
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
412
|
-
Filters: (_) => smithyClient._json(_),
|
|
413
|
-
MaxResults: [],
|
|
414
|
-
NextToken: [],
|
|
415
|
-
TimeRange: (_) => smithyClient._json(_),
|
|
416
|
-
}));
|
|
417
|
-
b.m("POST").h(headers).b(body);
|
|
418
|
-
return b.build();
|
|
419
|
-
};
|
|
420
|
-
const se_GetResourcePolicyCommand = async (input, context) => {
|
|
421
|
-
const b = core.requestBuilder(input, context);
|
|
422
|
-
const headers = {};
|
|
423
|
-
b.bp("/appmonitor/{Name}/policy");
|
|
424
|
-
b.p("Name", () => input.Name, "{Name}", false);
|
|
425
|
-
let body;
|
|
426
|
-
b.m("GET").h(headers).b(body);
|
|
427
|
-
return b.build();
|
|
428
|
-
};
|
|
429
|
-
const se_ListAppMonitorsCommand = async (input, context) => {
|
|
430
|
-
const b = core.requestBuilder(input, context);
|
|
431
|
-
const headers = {};
|
|
432
|
-
b.bp("/appmonitors");
|
|
433
|
-
const query = smithyClient.map({
|
|
434
|
-
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
435
|
-
[_nT]: [, input[_NT]],
|
|
436
|
-
});
|
|
437
|
-
let body;
|
|
438
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
439
|
-
return b.build();
|
|
440
|
-
};
|
|
441
|
-
const se_ListRumMetricsDestinationsCommand = async (input, context) => {
|
|
442
|
-
const b = core.requestBuilder(input, context);
|
|
443
|
-
const headers = {};
|
|
444
|
-
b.bp("/rummetrics/{AppMonitorName}/metricsdestination");
|
|
445
|
-
b.p("AppMonitorName", () => input.AppMonitorName, "{AppMonitorName}", false);
|
|
446
|
-
const query = smithyClient.map({
|
|
447
|
-
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
448
|
-
[_nT]: [, input[_NT]],
|
|
449
|
-
});
|
|
450
|
-
let body;
|
|
451
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
452
|
-
return b.build();
|
|
453
|
-
};
|
|
454
|
-
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
455
|
-
const b = core.requestBuilder(input, context);
|
|
456
|
-
const headers = {};
|
|
457
|
-
b.bp("/tags/{ResourceArn}");
|
|
458
|
-
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
459
|
-
let body;
|
|
460
|
-
b.m("GET").h(headers).b(body);
|
|
461
|
-
return b.build();
|
|
462
|
-
};
|
|
463
|
-
const se_PutResourcePolicyCommand = async (input, context) => {
|
|
464
|
-
const b = core.requestBuilder(input, context);
|
|
465
|
-
const headers = {
|
|
466
|
-
"content-type": "application/json",
|
|
467
|
-
};
|
|
468
|
-
b.bp("/appmonitor/{Name}/policy");
|
|
469
|
-
b.p("Name", () => input.Name, "{Name}", false);
|
|
470
|
-
let body;
|
|
471
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
472
|
-
PolicyDocument: [],
|
|
473
|
-
PolicyRevisionId: [],
|
|
474
|
-
}));
|
|
475
|
-
b.m("PUT").h(headers).b(body);
|
|
476
|
-
return b.build();
|
|
477
|
-
};
|
|
478
|
-
const se_PutRumEventsCommand = async (input, context) => {
|
|
479
|
-
const b = core.requestBuilder(input, context);
|
|
480
|
-
const headers = {
|
|
481
|
-
"content-type": "application/json",
|
|
482
|
-
};
|
|
483
|
-
b.bp("/appmonitors/{Id}");
|
|
484
|
-
b.p("Id", () => input.Id, "{Id}", false);
|
|
485
|
-
let body;
|
|
486
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
487
|
-
Alias: [],
|
|
488
|
-
AppMonitorDetails: (_) => smithyClient._json(_),
|
|
489
|
-
BatchId: [],
|
|
490
|
-
RumEvents: (_) => se_RumEventList(_),
|
|
491
|
-
UserDetails: (_) => smithyClient._json(_),
|
|
492
|
-
}));
|
|
493
|
-
let { hostname: resolvedHostname } = await context.endpoint();
|
|
494
|
-
if (context.disableHostPrefix !== true) {
|
|
495
|
-
resolvedHostname = "dataplane." + resolvedHostname;
|
|
496
|
-
if (!protocolHttp.isValidHostname(resolvedHostname)) {
|
|
497
|
-
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
498
|
-
}
|
|
499
|
-
}
|
|
500
|
-
b.hn(resolvedHostname);
|
|
501
|
-
b.m("POST").h(headers).b(body);
|
|
502
|
-
return b.build();
|
|
503
|
-
};
|
|
504
|
-
const se_PutRumMetricsDestinationCommand = async (input, context) => {
|
|
505
|
-
const b = core.requestBuilder(input, context);
|
|
506
|
-
const headers = {
|
|
507
|
-
"content-type": "application/json",
|
|
508
|
-
};
|
|
509
|
-
b.bp("/rummetrics/{AppMonitorName}/metricsdestination");
|
|
510
|
-
b.p("AppMonitorName", () => input.AppMonitorName, "{AppMonitorName}", false);
|
|
511
|
-
let body;
|
|
512
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
513
|
-
Destination: [],
|
|
514
|
-
DestinationArn: [],
|
|
515
|
-
IamRoleArn: [],
|
|
516
|
-
}));
|
|
517
|
-
b.m("POST").h(headers).b(body);
|
|
518
|
-
return b.build();
|
|
519
|
-
};
|
|
520
|
-
const se_TagResourceCommand = async (input, context) => {
|
|
521
|
-
const b = core.requestBuilder(input, context);
|
|
522
|
-
const headers = {
|
|
523
|
-
"content-type": "application/json",
|
|
524
|
-
};
|
|
525
|
-
b.bp("/tags/{ResourceArn}");
|
|
526
|
-
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
527
|
-
let body;
|
|
528
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
529
|
-
Tags: (_) => smithyClient._json(_),
|
|
530
|
-
}));
|
|
531
|
-
b.m("POST").h(headers).b(body);
|
|
532
|
-
return b.build();
|
|
533
|
-
};
|
|
534
|
-
const se_UntagResourceCommand = async (input, context) => {
|
|
535
|
-
const b = core.requestBuilder(input, context);
|
|
536
|
-
const headers = {};
|
|
537
|
-
b.bp("/tags/{ResourceArn}");
|
|
538
|
-
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
539
|
-
const query = smithyClient.map({
|
|
540
|
-
[_tK]: [smithyClient.expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []],
|
|
541
|
-
});
|
|
542
|
-
let body;
|
|
543
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
544
|
-
return b.build();
|
|
545
|
-
};
|
|
546
|
-
const se_UpdateAppMonitorCommand = async (input, context) => {
|
|
547
|
-
const b = core.requestBuilder(input, context);
|
|
548
|
-
const headers = {
|
|
549
|
-
"content-type": "application/json",
|
|
550
|
-
};
|
|
551
|
-
b.bp("/appmonitor/{Name}");
|
|
552
|
-
b.p("Name", () => input.Name, "{Name}", false);
|
|
553
|
-
let body;
|
|
554
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
555
|
-
AppMonitorConfiguration: (_) => se_AppMonitorConfiguration(_),
|
|
556
|
-
CustomEvents: (_) => smithyClient._json(_),
|
|
557
|
-
CwLogEnabled: [],
|
|
558
|
-
DeobfuscationConfiguration: (_) => smithyClient._json(_),
|
|
559
|
-
Domain: [],
|
|
560
|
-
DomainList: (_) => smithyClient._json(_),
|
|
561
|
-
}));
|
|
562
|
-
b.m("PATCH").h(headers).b(body);
|
|
563
|
-
return b.build();
|
|
564
|
-
};
|
|
565
|
-
const se_UpdateRumMetricDefinitionCommand = async (input, context) => {
|
|
566
|
-
const b = core.requestBuilder(input, context);
|
|
567
|
-
const headers = {
|
|
568
|
-
"content-type": "application/json",
|
|
569
|
-
};
|
|
570
|
-
b.bp("/rummetrics/{AppMonitorName}/metrics");
|
|
571
|
-
b.p("AppMonitorName", () => input.AppMonitorName, "{AppMonitorName}", false);
|
|
572
|
-
let body;
|
|
573
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
574
|
-
Destination: [],
|
|
575
|
-
DestinationArn: [],
|
|
576
|
-
MetricDefinition: (_) => smithyClient._json(_),
|
|
577
|
-
MetricDefinitionId: [],
|
|
578
|
-
}));
|
|
579
|
-
b.m("PATCH").h(headers).b(body);
|
|
580
|
-
return b.build();
|
|
581
|
-
};
|
|
582
|
-
const de_BatchCreateRumMetricDefinitionsCommand = async (output, context) => {
|
|
583
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
584
|
-
return de_CommandError(output, context);
|
|
585
|
-
}
|
|
586
|
-
const contents = smithyClient.map({
|
|
587
|
-
$metadata: deserializeMetadata(output),
|
|
588
|
-
});
|
|
589
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
590
|
-
const doc = smithyClient.take(data, {
|
|
591
|
-
Errors: smithyClient._json,
|
|
592
|
-
MetricDefinitions: smithyClient._json,
|
|
593
|
-
});
|
|
594
|
-
Object.assign(contents, doc);
|
|
595
|
-
return contents;
|
|
596
|
-
};
|
|
597
|
-
const de_BatchDeleteRumMetricDefinitionsCommand = async (output, context) => {
|
|
598
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
599
|
-
return de_CommandError(output, context);
|
|
600
|
-
}
|
|
601
|
-
const contents = smithyClient.map({
|
|
602
|
-
$metadata: deserializeMetadata(output),
|
|
603
|
-
});
|
|
604
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
605
|
-
const doc = smithyClient.take(data, {
|
|
606
|
-
Errors: smithyClient._json,
|
|
607
|
-
MetricDefinitionIds: smithyClient._json,
|
|
608
|
-
});
|
|
609
|
-
Object.assign(contents, doc);
|
|
610
|
-
return contents;
|
|
611
|
-
};
|
|
612
|
-
const de_BatchGetRumMetricDefinitionsCommand = async (output, context) => {
|
|
613
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
614
|
-
return de_CommandError(output, context);
|
|
615
|
-
}
|
|
616
|
-
const contents = smithyClient.map({
|
|
617
|
-
$metadata: deserializeMetadata(output),
|
|
618
|
-
});
|
|
619
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
620
|
-
const doc = smithyClient.take(data, {
|
|
621
|
-
MetricDefinitions: smithyClient._json,
|
|
622
|
-
NextToken: smithyClient.expectString,
|
|
623
|
-
});
|
|
624
|
-
Object.assign(contents, doc);
|
|
625
|
-
return contents;
|
|
626
|
-
};
|
|
627
|
-
const de_CreateAppMonitorCommand = async (output, context) => {
|
|
628
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
629
|
-
return de_CommandError(output, context);
|
|
630
|
-
}
|
|
631
|
-
const contents = smithyClient.map({
|
|
632
|
-
$metadata: deserializeMetadata(output),
|
|
633
|
-
});
|
|
634
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
635
|
-
const doc = smithyClient.take(data, {
|
|
636
|
-
Id: smithyClient.expectString,
|
|
637
|
-
});
|
|
638
|
-
Object.assign(contents, doc);
|
|
639
|
-
return contents;
|
|
640
|
-
};
|
|
641
|
-
const de_DeleteAppMonitorCommand = async (output, context) => {
|
|
642
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
643
|
-
return de_CommandError(output, context);
|
|
644
|
-
}
|
|
645
|
-
const contents = smithyClient.map({
|
|
646
|
-
$metadata: deserializeMetadata(output),
|
|
647
|
-
});
|
|
648
|
-
await smithyClient.collectBody(output.body, context);
|
|
649
|
-
return contents;
|
|
650
|
-
};
|
|
651
|
-
const de_DeleteResourcePolicyCommand = async (output, context) => {
|
|
652
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
653
|
-
return de_CommandError(output, context);
|
|
654
|
-
}
|
|
655
|
-
const contents = smithyClient.map({
|
|
656
|
-
$metadata: deserializeMetadata(output),
|
|
657
|
-
});
|
|
658
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
659
|
-
const doc = smithyClient.take(data, {
|
|
660
|
-
PolicyRevisionId: smithyClient.expectString,
|
|
661
|
-
});
|
|
662
|
-
Object.assign(contents, doc);
|
|
663
|
-
return contents;
|
|
664
|
-
};
|
|
665
|
-
const de_DeleteRumMetricsDestinationCommand = async (output, context) => {
|
|
666
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
667
|
-
return de_CommandError(output, context);
|
|
668
|
-
}
|
|
669
|
-
const contents = smithyClient.map({
|
|
670
|
-
$metadata: deserializeMetadata(output),
|
|
671
|
-
});
|
|
672
|
-
await smithyClient.collectBody(output.body, context);
|
|
673
|
-
return contents;
|
|
674
|
-
};
|
|
675
|
-
const de_GetAppMonitorCommand = async (output, context) => {
|
|
676
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
677
|
-
return de_CommandError(output, context);
|
|
678
|
-
}
|
|
679
|
-
const contents = smithyClient.map({
|
|
680
|
-
$metadata: deserializeMetadata(output),
|
|
681
|
-
});
|
|
682
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
683
|
-
const doc = smithyClient.take(data, {
|
|
684
|
-
AppMonitor: (_) => de_AppMonitor(_),
|
|
685
|
-
});
|
|
686
|
-
Object.assign(contents, doc);
|
|
687
|
-
return contents;
|
|
688
|
-
};
|
|
689
|
-
const de_GetAppMonitorDataCommand = async (output, context) => {
|
|
690
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
691
|
-
return de_CommandError(output, context);
|
|
692
|
-
}
|
|
693
|
-
const contents = smithyClient.map({
|
|
694
|
-
$metadata: deserializeMetadata(output),
|
|
695
|
-
});
|
|
696
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
697
|
-
const doc = smithyClient.take(data, {
|
|
698
|
-
Events: smithyClient._json,
|
|
699
|
-
NextToken: smithyClient.expectString,
|
|
700
|
-
});
|
|
701
|
-
Object.assign(contents, doc);
|
|
702
|
-
return contents;
|
|
703
|
-
};
|
|
704
|
-
const de_GetResourcePolicyCommand = async (output, context) => {
|
|
705
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
706
|
-
return de_CommandError(output, context);
|
|
707
|
-
}
|
|
708
|
-
const contents = smithyClient.map({
|
|
709
|
-
$metadata: deserializeMetadata(output),
|
|
710
|
-
});
|
|
711
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
712
|
-
const doc = smithyClient.take(data, {
|
|
713
|
-
PolicyDocument: smithyClient.expectString,
|
|
714
|
-
PolicyRevisionId: smithyClient.expectString,
|
|
715
|
-
});
|
|
716
|
-
Object.assign(contents, doc);
|
|
717
|
-
return contents;
|
|
718
|
-
};
|
|
719
|
-
const de_ListAppMonitorsCommand = async (output, context) => {
|
|
720
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
721
|
-
return de_CommandError(output, context);
|
|
722
|
-
}
|
|
723
|
-
const contents = smithyClient.map({
|
|
724
|
-
$metadata: deserializeMetadata(output),
|
|
725
|
-
});
|
|
726
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
727
|
-
const doc = smithyClient.take(data, {
|
|
728
|
-
AppMonitorSummaries: smithyClient._json,
|
|
729
|
-
NextToken: smithyClient.expectString,
|
|
730
|
-
});
|
|
731
|
-
Object.assign(contents, doc);
|
|
732
|
-
return contents;
|
|
733
|
-
};
|
|
734
|
-
const de_ListRumMetricsDestinationsCommand = async (output, context) => {
|
|
735
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
736
|
-
return de_CommandError(output, context);
|
|
737
|
-
}
|
|
738
|
-
const contents = smithyClient.map({
|
|
739
|
-
$metadata: deserializeMetadata(output),
|
|
740
|
-
});
|
|
741
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
742
|
-
const doc = smithyClient.take(data, {
|
|
743
|
-
Destinations: smithyClient._json,
|
|
744
|
-
NextToken: smithyClient.expectString,
|
|
745
|
-
});
|
|
746
|
-
Object.assign(contents, doc);
|
|
747
|
-
return contents;
|
|
748
|
-
};
|
|
749
|
-
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
750
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
751
|
-
return de_CommandError(output, context);
|
|
752
|
-
}
|
|
753
|
-
const contents = smithyClient.map({
|
|
754
|
-
$metadata: deserializeMetadata(output),
|
|
755
|
-
});
|
|
756
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
757
|
-
const doc = smithyClient.take(data, {
|
|
758
|
-
ResourceArn: smithyClient.expectString,
|
|
759
|
-
Tags: smithyClient._json,
|
|
760
|
-
});
|
|
761
|
-
Object.assign(contents, doc);
|
|
762
|
-
return contents;
|
|
763
|
-
};
|
|
764
|
-
const de_PutResourcePolicyCommand = async (output, context) => {
|
|
765
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
766
|
-
return de_CommandError(output, context);
|
|
767
|
-
}
|
|
768
|
-
const contents = smithyClient.map({
|
|
769
|
-
$metadata: deserializeMetadata(output),
|
|
770
|
-
});
|
|
771
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
772
|
-
const doc = smithyClient.take(data, {
|
|
773
|
-
PolicyDocument: smithyClient.expectString,
|
|
774
|
-
PolicyRevisionId: smithyClient.expectString,
|
|
775
|
-
});
|
|
776
|
-
Object.assign(contents, doc);
|
|
777
|
-
return contents;
|
|
778
|
-
};
|
|
779
|
-
const de_PutRumEventsCommand = async (output, context) => {
|
|
780
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
781
|
-
return de_CommandError(output, context);
|
|
782
|
-
}
|
|
783
|
-
const contents = smithyClient.map({
|
|
784
|
-
$metadata: deserializeMetadata(output),
|
|
785
|
-
});
|
|
786
|
-
await smithyClient.collectBody(output.body, context);
|
|
787
|
-
return contents;
|
|
788
|
-
};
|
|
789
|
-
const de_PutRumMetricsDestinationCommand = async (output, context) => {
|
|
790
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
791
|
-
return de_CommandError(output, context);
|
|
792
|
-
}
|
|
793
|
-
const contents = smithyClient.map({
|
|
794
|
-
$metadata: deserializeMetadata(output),
|
|
795
|
-
});
|
|
796
|
-
await smithyClient.collectBody(output.body, context);
|
|
797
|
-
return contents;
|
|
798
|
-
};
|
|
799
|
-
const de_TagResourceCommand = async (output, context) => {
|
|
800
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
801
|
-
return de_CommandError(output, context);
|
|
802
|
-
}
|
|
803
|
-
const contents = smithyClient.map({
|
|
804
|
-
$metadata: deserializeMetadata(output),
|
|
805
|
-
});
|
|
806
|
-
await smithyClient.collectBody(output.body, context);
|
|
807
|
-
return contents;
|
|
808
|
-
};
|
|
809
|
-
const de_UntagResourceCommand = async (output, context) => {
|
|
810
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
811
|
-
return de_CommandError(output, context);
|
|
812
|
-
}
|
|
813
|
-
const contents = smithyClient.map({
|
|
814
|
-
$metadata: deserializeMetadata(output),
|
|
815
|
-
});
|
|
816
|
-
await smithyClient.collectBody(output.body, context);
|
|
817
|
-
return contents;
|
|
818
293
|
};
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
const
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
const
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
case "com.amazonaws.rum#ResourceNotFoundException":
|
|
857
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
858
|
-
case "ServiceQuotaExceededException":
|
|
859
|
-
case "com.amazonaws.rum#ServiceQuotaExceededException":
|
|
860
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
|
|
861
|
-
case "ThrottlingException":
|
|
862
|
-
case "com.amazonaws.rum#ThrottlingException":
|
|
863
|
-
throw await de_ThrottlingExceptionRes(parsedOutput);
|
|
864
|
-
case "ValidationException":
|
|
865
|
-
case "com.amazonaws.rum#ValidationException":
|
|
866
|
-
throw await de_ValidationExceptionRes(parsedOutput);
|
|
867
|
-
case "InvalidPolicyRevisionIdException":
|
|
868
|
-
case "com.amazonaws.rum#InvalidPolicyRevisionIdException":
|
|
869
|
-
throw await de_InvalidPolicyRevisionIdExceptionRes(parsedOutput);
|
|
870
|
-
case "PolicyNotFoundException":
|
|
871
|
-
case "com.amazonaws.rum#PolicyNotFoundException":
|
|
872
|
-
throw await de_PolicyNotFoundExceptionRes(parsedOutput);
|
|
873
|
-
case "MalformedPolicyDocumentException":
|
|
874
|
-
case "com.amazonaws.rum#MalformedPolicyDocumentException":
|
|
875
|
-
throw await de_MalformedPolicyDocumentExceptionRes(parsedOutput);
|
|
876
|
-
case "PolicySizeLimitExceededException":
|
|
877
|
-
case "com.amazonaws.rum#PolicySizeLimitExceededException":
|
|
878
|
-
throw await de_PolicySizeLimitExceededExceptionRes(parsedOutput);
|
|
879
|
-
default:
|
|
880
|
-
const parsedBody = parsedOutput.body;
|
|
881
|
-
return throwDefaultError({
|
|
882
|
-
output,
|
|
883
|
-
parsedBody,
|
|
884
|
-
errorCode,
|
|
885
|
-
});
|
|
886
|
-
}
|
|
887
|
-
};
|
|
888
|
-
const throwDefaultError = smithyClient.withBaseException(RUMServiceException);
|
|
889
|
-
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
890
|
-
const contents = smithyClient.map({});
|
|
891
|
-
const data = parsedOutput.body;
|
|
892
|
-
const doc = smithyClient.take(data, {
|
|
893
|
-
message: smithyClient.expectString,
|
|
894
|
-
});
|
|
895
|
-
Object.assign(contents, doc);
|
|
896
|
-
const exception = new AccessDeniedException({
|
|
897
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
898
|
-
...contents,
|
|
899
|
-
});
|
|
900
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
901
|
-
};
|
|
902
|
-
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
903
|
-
const contents = smithyClient.map({});
|
|
904
|
-
const data = parsedOutput.body;
|
|
905
|
-
const doc = smithyClient.take(data, {
|
|
906
|
-
message: smithyClient.expectString,
|
|
907
|
-
resourceName: smithyClient.expectString,
|
|
908
|
-
resourceType: smithyClient.expectString,
|
|
909
|
-
});
|
|
910
|
-
Object.assign(contents, doc);
|
|
911
|
-
const exception = new ConflictException({
|
|
912
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
913
|
-
...contents,
|
|
914
|
-
});
|
|
915
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
916
|
-
};
|
|
917
|
-
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
918
|
-
const contents = smithyClient.map({
|
|
919
|
-
[_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => smithyClient.strictParseInt32(parsedOutput.headers[_ra])],
|
|
920
|
-
});
|
|
921
|
-
const data = parsedOutput.body;
|
|
922
|
-
const doc = smithyClient.take(data, {
|
|
923
|
-
message: smithyClient.expectString,
|
|
924
|
-
});
|
|
925
|
-
Object.assign(contents, doc);
|
|
926
|
-
const exception = new InternalServerException({
|
|
927
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
928
|
-
...contents,
|
|
929
|
-
});
|
|
930
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
931
|
-
};
|
|
932
|
-
const de_InvalidPolicyRevisionIdExceptionRes = async (parsedOutput, context) => {
|
|
933
|
-
const contents = smithyClient.map({});
|
|
934
|
-
const data = parsedOutput.body;
|
|
935
|
-
const doc = smithyClient.take(data, {
|
|
936
|
-
message: smithyClient.expectString,
|
|
937
|
-
});
|
|
938
|
-
Object.assign(contents, doc);
|
|
939
|
-
const exception = new InvalidPolicyRevisionIdException({
|
|
940
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
941
|
-
...contents,
|
|
942
|
-
});
|
|
943
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
944
|
-
};
|
|
945
|
-
const de_MalformedPolicyDocumentExceptionRes = async (parsedOutput, context) => {
|
|
946
|
-
const contents = smithyClient.map({});
|
|
947
|
-
const data = parsedOutput.body;
|
|
948
|
-
const doc = smithyClient.take(data, {
|
|
949
|
-
message: smithyClient.expectString,
|
|
950
|
-
});
|
|
951
|
-
Object.assign(contents, doc);
|
|
952
|
-
const exception = new MalformedPolicyDocumentException({
|
|
953
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
954
|
-
...contents,
|
|
955
|
-
});
|
|
956
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
957
|
-
};
|
|
958
|
-
const de_PolicyNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
959
|
-
const contents = smithyClient.map({});
|
|
960
|
-
const data = parsedOutput.body;
|
|
961
|
-
const doc = smithyClient.take(data, {
|
|
962
|
-
message: smithyClient.expectString,
|
|
963
|
-
});
|
|
964
|
-
Object.assign(contents, doc);
|
|
965
|
-
const exception = new PolicyNotFoundException({
|
|
966
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
967
|
-
...contents,
|
|
968
|
-
});
|
|
969
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
970
|
-
};
|
|
971
|
-
const de_PolicySizeLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
972
|
-
const contents = smithyClient.map({});
|
|
973
|
-
const data = parsedOutput.body;
|
|
974
|
-
const doc = smithyClient.take(data, {
|
|
975
|
-
message: smithyClient.expectString,
|
|
976
|
-
});
|
|
977
|
-
Object.assign(contents, doc);
|
|
978
|
-
const exception = new PolicySizeLimitExceededException({
|
|
979
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
980
|
-
...contents,
|
|
981
|
-
});
|
|
982
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
983
|
-
};
|
|
984
|
-
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
985
|
-
const contents = smithyClient.map({});
|
|
986
|
-
const data = parsedOutput.body;
|
|
987
|
-
const doc = smithyClient.take(data, {
|
|
988
|
-
message: smithyClient.expectString,
|
|
989
|
-
resourceName: smithyClient.expectString,
|
|
990
|
-
resourceType: smithyClient.expectString,
|
|
991
|
-
});
|
|
992
|
-
Object.assign(contents, doc);
|
|
993
|
-
const exception = new ResourceNotFoundException({
|
|
994
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
995
|
-
...contents,
|
|
996
|
-
});
|
|
997
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
998
|
-
};
|
|
999
|
-
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
1000
|
-
const contents = smithyClient.map({});
|
|
1001
|
-
const data = parsedOutput.body;
|
|
1002
|
-
const doc = smithyClient.take(data, {
|
|
1003
|
-
message: smithyClient.expectString,
|
|
1004
|
-
});
|
|
1005
|
-
Object.assign(contents, doc);
|
|
1006
|
-
const exception = new ServiceQuotaExceededException({
|
|
1007
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1008
|
-
...contents,
|
|
1009
|
-
});
|
|
1010
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1011
|
-
};
|
|
1012
|
-
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
1013
|
-
const contents = smithyClient.map({
|
|
1014
|
-
[_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => smithyClient.strictParseInt32(parsedOutput.headers[_ra])],
|
|
1015
|
-
});
|
|
1016
|
-
const data = parsedOutput.body;
|
|
1017
|
-
const doc = smithyClient.take(data, {
|
|
1018
|
-
message: smithyClient.expectString,
|
|
1019
|
-
quotaCode: smithyClient.expectString,
|
|
1020
|
-
serviceCode: smithyClient.expectString,
|
|
1021
|
-
});
|
|
1022
|
-
Object.assign(contents, doc);
|
|
1023
|
-
const exception = new ThrottlingException({
|
|
1024
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1025
|
-
...contents,
|
|
1026
|
-
});
|
|
1027
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1028
|
-
};
|
|
1029
|
-
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
1030
|
-
const contents = smithyClient.map({});
|
|
1031
|
-
const data = parsedOutput.body;
|
|
1032
|
-
const doc = smithyClient.take(data, {
|
|
1033
|
-
message: smithyClient.expectString,
|
|
1034
|
-
});
|
|
1035
|
-
Object.assign(contents, doc);
|
|
1036
|
-
const exception = new ValidationException({
|
|
1037
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1038
|
-
...contents,
|
|
1039
|
-
});
|
|
1040
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1041
|
-
};
|
|
1042
|
-
const se_AppMonitorConfiguration = (input, context) => {
|
|
1043
|
-
return smithyClient.take(input, {
|
|
1044
|
-
AllowCookies: [],
|
|
1045
|
-
EnableXRay: [],
|
|
1046
|
-
ExcludedPages: smithyClient._json,
|
|
1047
|
-
FavoritePages: smithyClient._json,
|
|
1048
|
-
GuestRoleArn: [],
|
|
1049
|
-
IdentityPoolId: [],
|
|
1050
|
-
IncludedPages: smithyClient._json,
|
|
1051
|
-
SessionSampleRate: smithyClient.serializeFloat,
|
|
1052
|
-
Telemetries: smithyClient._json,
|
|
1053
|
-
});
|
|
1054
|
-
};
|
|
1055
|
-
const se_RumEvent = (input, context) => {
|
|
1056
|
-
return smithyClient.take(input, {
|
|
1057
|
-
details: smithyClient.LazyJsonString.from,
|
|
1058
|
-
id: [],
|
|
1059
|
-
metadata: smithyClient.LazyJsonString.from,
|
|
1060
|
-
timestamp: (_) => _.getTime() / 1_000,
|
|
1061
|
-
type: [],
|
|
1062
|
-
});
|
|
1063
|
-
};
|
|
1064
|
-
const se_RumEventList = (input, context) => {
|
|
1065
|
-
return input
|
|
1066
|
-
.filter((e) => e != null)
|
|
1067
|
-
.map((entry) => {
|
|
1068
|
-
return se_RumEvent(entry);
|
|
1069
|
-
});
|
|
1070
|
-
};
|
|
1071
|
-
const de_AppMonitor = (output, context) => {
|
|
1072
|
-
return smithyClient.take(output, {
|
|
1073
|
-
AppMonitorConfiguration: (_) => de_AppMonitorConfiguration(_),
|
|
1074
|
-
Created: smithyClient.expectString,
|
|
1075
|
-
CustomEvents: smithyClient._json,
|
|
1076
|
-
DataStorage: smithyClient._json,
|
|
1077
|
-
DeobfuscationConfiguration: smithyClient._json,
|
|
1078
|
-
Domain: smithyClient.expectString,
|
|
1079
|
-
DomainList: smithyClient._json,
|
|
1080
|
-
Id: smithyClient.expectString,
|
|
1081
|
-
LastModified: smithyClient.expectString,
|
|
1082
|
-
Name: smithyClient.expectString,
|
|
1083
|
-
State: smithyClient.expectString,
|
|
1084
|
-
Tags: smithyClient._json,
|
|
1085
|
-
});
|
|
1086
|
-
};
|
|
1087
|
-
const de_AppMonitorConfiguration = (output, context) => {
|
|
1088
|
-
return smithyClient.take(output, {
|
|
1089
|
-
AllowCookies: smithyClient.expectBoolean,
|
|
1090
|
-
EnableXRay: smithyClient.expectBoolean,
|
|
1091
|
-
ExcludedPages: smithyClient._json,
|
|
1092
|
-
FavoritePages: smithyClient._json,
|
|
1093
|
-
GuestRoleArn: smithyClient.expectString,
|
|
1094
|
-
IdentityPoolId: smithyClient.expectString,
|
|
1095
|
-
IncludedPages: smithyClient._json,
|
|
1096
|
-
SessionSampleRate: smithyClient.limitedParseDouble,
|
|
1097
|
-
Telemetries: smithyClient._json,
|
|
1098
|
-
});
|
|
1099
|
-
};
|
|
1100
|
-
const deserializeMetadata = (output) => ({
|
|
1101
|
-
httpStatusCode: output.statusCode,
|
|
1102
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1103
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1104
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
1105
|
-
});
|
|
1106
|
-
const _D = "Destination";
|
|
294
|
+
|
|
295
|
+
const _A = "Alias";
|
|
296
|
+
const _AC = "AllowCookies";
|
|
297
|
+
const _ADE = "AccessDeniedException";
|
|
298
|
+
const _AM = "AppMonitor";
|
|
299
|
+
const _AMC = "AppMonitorConfiguration";
|
|
300
|
+
const _AMD = "AppMonitorDetails";
|
|
301
|
+
const _AMN = "AppMonitorName";
|
|
302
|
+
const _AMS = "AppMonitorSummary";
|
|
303
|
+
const _AMSL = "AppMonitorSummaryList";
|
|
304
|
+
const _AMSp = "AppMonitorSummaries";
|
|
305
|
+
const _Af = "After";
|
|
306
|
+
const _B = "Before";
|
|
307
|
+
const _BCRMD = "BatchCreateRumMetricDefinitions";
|
|
308
|
+
const _BCRMDE = "BatchCreateRumMetricDefinitionsError";
|
|
309
|
+
const _BCRMDEa = "BatchCreateRumMetricDefinitionsErrors";
|
|
310
|
+
const _BCRMDR = "BatchCreateRumMetricDefinitionsRequest";
|
|
311
|
+
const _BCRMDRa = "BatchCreateRumMetricDefinitionsResponse";
|
|
312
|
+
const _BDRMD = "BatchDeleteRumMetricDefinitions";
|
|
313
|
+
const _BDRMDE = "BatchDeleteRumMetricDefinitionsError";
|
|
314
|
+
const _BDRMDEa = "BatchDeleteRumMetricDefinitionsErrors";
|
|
315
|
+
const _BDRMDR = "BatchDeleteRumMetricDefinitionsRequest";
|
|
316
|
+
const _BDRMDRa = "BatchDeleteRumMetricDefinitionsResponse";
|
|
317
|
+
const _BGRMD = "BatchGetRumMetricDefinitions";
|
|
318
|
+
const _BGRMDR = "BatchGetRumMetricDefinitionsRequest";
|
|
319
|
+
const _BGRMDRa = "BatchGetRumMetricDefinitionsResponse";
|
|
320
|
+
const _BI = "BatchId";
|
|
321
|
+
const _C = "Created";
|
|
322
|
+
const _CAM = "CreateAppMonitor";
|
|
323
|
+
const _CAMR = "CreateAppMonitorRequest";
|
|
324
|
+
const _CAMRr = "CreateAppMonitorResponse";
|
|
325
|
+
const _CE = "CustomEvents";
|
|
326
|
+
const _CEo = "ConflictException";
|
|
327
|
+
const _CL = "CwLog";
|
|
328
|
+
const _CLE = "CwLogEnabled";
|
|
329
|
+
const _CLG = "CwLogGroup";
|
|
330
|
+
const _D = "Domain";
|
|
1107
331
|
const _DA = "DestinationArn";
|
|
1108
|
-
const
|
|
332
|
+
const _DAM = "DeleteAppMonitor";
|
|
333
|
+
const _DAMR = "DeleteAppMonitorRequest";
|
|
334
|
+
const _DAMRe = "DeleteAppMonitorResponse";
|
|
335
|
+
const _DC = "DeobfuscationConfiguration";
|
|
336
|
+
const _DK = "DimensionKeys";
|
|
337
|
+
const _DL = "DomainList";
|
|
338
|
+
const _DRMD = "DeleteRumMetricsDestination";
|
|
339
|
+
const _DRMDR = "DeleteRumMetricsDestinationRequest";
|
|
340
|
+
const _DRMDRe = "DeleteRumMetricsDestinationResponse";
|
|
341
|
+
const _DRP = "DeleteResourcePolicy";
|
|
342
|
+
const _DRPR = "DeleteResourcePolicyRequest";
|
|
343
|
+
const _DRPRe = "DeleteResourcePolicyResponse";
|
|
344
|
+
const _DS = "DataStorage";
|
|
345
|
+
const _De = "Destination";
|
|
346
|
+
const _Des = "Destinations";
|
|
347
|
+
const _E = "Errors";
|
|
348
|
+
const _EC = "ErrorCode";
|
|
349
|
+
const _EM = "ErrorMessage";
|
|
350
|
+
const _EP = "ExcludedPages";
|
|
351
|
+
const _EPv = "EventPattern";
|
|
352
|
+
const _EXR = "EnableXRay";
|
|
353
|
+
const _Ev = "Events";
|
|
354
|
+
const _F = "Filters";
|
|
355
|
+
const _FP = "FavoritePages";
|
|
356
|
+
const _GAM = "GetAppMonitor";
|
|
357
|
+
const _GAMD = "GetAppMonitorData";
|
|
358
|
+
const _GAMDR = "GetAppMonitorDataRequest";
|
|
359
|
+
const _GAMDRe = "GetAppMonitorDataResponse";
|
|
360
|
+
const _GAMR = "GetAppMonitorRequest";
|
|
361
|
+
const _GAMRe = "GetAppMonitorResponse";
|
|
362
|
+
const _GRA = "GuestRoleArn";
|
|
363
|
+
const _GRP = "GetResourcePolicy";
|
|
364
|
+
const _GRPR = "GetResourcePolicyRequest";
|
|
365
|
+
const _GRPRe = "GetResourcePolicyResponse";
|
|
366
|
+
const _I = "Id";
|
|
367
|
+
const _IP = "IncludedPages";
|
|
368
|
+
const _IPI = "IdentityPoolId";
|
|
369
|
+
const _IPRIE = "InvalidPolicyRevisionIdException";
|
|
370
|
+
const _IRA = "IamRoleArn";
|
|
371
|
+
const _ISE = "InternalServerException";
|
|
372
|
+
const _JSSM = "JavaScriptSourceMaps";
|
|
373
|
+
const _JV = "JsonValue";
|
|
374
|
+
const _LAM = "ListAppMonitors";
|
|
375
|
+
const _LAMR = "ListAppMonitorsRequest";
|
|
376
|
+
const _LAMRi = "ListAppMonitorsResponse";
|
|
377
|
+
const _LM = "LastModified";
|
|
378
|
+
const _LRMD = "ListRumMetricsDestinations";
|
|
379
|
+
const _LRMDR = "ListRumMetricsDestinationsRequest";
|
|
380
|
+
const _LRMDRi = "ListRumMetricsDestinationsResponse";
|
|
381
|
+
const _LTFR = "ListTagsForResource";
|
|
382
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
383
|
+
const _LTFRRi = "ListTagsForResourceResponse";
|
|
384
|
+
const _MD = "MetricDefinition";
|
|
385
|
+
const _MDI = "MetricDefinitionId";
|
|
386
|
+
const _MDIe = "MetricDefinitionIds";
|
|
387
|
+
const _MDR = "MetricDefinitionRequest";
|
|
388
|
+
const _MDRe = "MetricDefinitionsRequest";
|
|
389
|
+
const _MDS = "MetricDestinationSummary";
|
|
390
|
+
const _MDSL = "MetricDestinationSummaryList";
|
|
391
|
+
const _MDe = "MetricDefinitions";
|
|
392
|
+
const _MPDE = "MalformedPolicyDocumentException";
|
|
1109
393
|
const _MR = "MaxResults";
|
|
394
|
+
const _N = "Name";
|
|
1110
395
|
const _NT = "NextToken";
|
|
396
|
+
const _Na = "Namespace";
|
|
397
|
+
const _PD = "PolicyDocument";
|
|
398
|
+
const _PNFE = "PolicyNotFoundException";
|
|
399
|
+
const _PRE = "PutRumEvents";
|
|
400
|
+
const _PRER = "PutRumEventsRequest";
|
|
401
|
+
const _PRERu = "PutRumEventsResponse";
|
|
1111
402
|
const _PRI = "PolicyRevisionId";
|
|
403
|
+
const _PRMD = "PutRumMetricsDestination";
|
|
404
|
+
const _PRMDR = "PutRumMetricsDestinationRequest";
|
|
405
|
+
const _PRMDRu = "PutRumMetricsDestinationResponse";
|
|
406
|
+
const _PRP = "PutResourcePolicy";
|
|
407
|
+
const _PRPR = "PutResourcePolicyRequest";
|
|
408
|
+
const _PRPRu = "PutResourcePolicyResponse";
|
|
409
|
+
const _PSLEE = "PolicySizeLimitExceededException";
|
|
410
|
+
const _QF = "QueryFilter";
|
|
411
|
+
const _QFu = "QueryFilters";
|
|
412
|
+
const _RA = "Retry-After";
|
|
413
|
+
const _RAe = "ResourceArn";
|
|
414
|
+
const _RE = "RumEvents";
|
|
415
|
+
const _REL = "RumEventList";
|
|
416
|
+
const _REu = "RumEvent";
|
|
417
|
+
const _RNFE = "ResourceNotFoundException";
|
|
418
|
+
const _S = "State";
|
|
419
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
420
|
+
const _SSR = "SessionSampleRate";
|
|
421
|
+
const _SU = "S3Uri";
|
|
422
|
+
const _St = "Status";
|
|
423
|
+
const _T = "Tags";
|
|
424
|
+
const _TE = "ThrottlingException";
|
|
1112
425
|
const _TK = "TagKeys";
|
|
426
|
+
const _TR = "TimeRange";
|
|
427
|
+
const _TRR = "TagResourceRequest";
|
|
428
|
+
const _TRRa = "TagResourceResponse";
|
|
429
|
+
const _TRa = "TagResource";
|
|
430
|
+
const _Te = "Telemetries";
|
|
431
|
+
const _UAM = "UpdateAppMonitor";
|
|
432
|
+
const _UAMR = "UpdateAppMonitorRequest";
|
|
433
|
+
const _UAMRp = "UpdateAppMonitorResponse";
|
|
434
|
+
const _UD = "UserDetails";
|
|
435
|
+
const _UL = "UnitLabel";
|
|
436
|
+
const _UR = "UntagResource";
|
|
437
|
+
const _URMD = "UpdateRumMetricDefinition";
|
|
438
|
+
const _URMDR = "UpdateRumMetricDefinitionRequest";
|
|
439
|
+
const _URMDRp = "UpdateRumMetricDefinitionResponse";
|
|
440
|
+
const _URR = "UntagResourceRequest";
|
|
441
|
+
const _URRn = "UntagResourceResponse";
|
|
442
|
+
const _V = "Values";
|
|
443
|
+
const _VE = "ValidationException";
|
|
444
|
+
const _VK = "ValueKey";
|
|
445
|
+
const _a = "application/json";
|
|
446
|
+
const _c = "client";
|
|
1113
447
|
const _d = "destination";
|
|
1114
448
|
const _dA = "destinationArn";
|
|
449
|
+
const _de = "details";
|
|
450
|
+
const _e = "error";
|
|
451
|
+
const _en = "endpoint";
|
|
452
|
+
const _h = "http";
|
|
453
|
+
const _hE = "httpError";
|
|
454
|
+
const _hH = "httpHeader";
|
|
455
|
+
const _hQ = "httpQuery";
|
|
456
|
+
const _i = "id";
|
|
457
|
+
const _m = "message";
|
|
1115
458
|
const _mDI = "metricDefinitionIds";
|
|
1116
459
|
const _mR = "maxResults";
|
|
460
|
+
const _mT = "mediaType";
|
|
461
|
+
const _me = "metadata";
|
|
462
|
+
const _n = "name";
|
|
1117
463
|
const _nT = "nextToken";
|
|
1118
464
|
const _pRI = "policyRevisionId";
|
|
465
|
+
const _qC = "quotaCode";
|
|
1119
466
|
const _rAS = "retryAfterSeconds";
|
|
1120
|
-
const
|
|
467
|
+
const _rN = "resourceName";
|
|
468
|
+
const _rT = "resourceType";
|
|
469
|
+
const _s = "server";
|
|
470
|
+
const _sC = "serviceCode";
|
|
471
|
+
const _sI = "sessionId";
|
|
472
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.rum";
|
|
473
|
+
const _t = "timestamp";
|
|
1121
474
|
const _tK = "tagKeys";
|
|
475
|
+
const _ty = "type";
|
|
476
|
+
const _uI = "userId";
|
|
477
|
+
const _v = "version";
|
|
478
|
+
const n0 = "com.amazonaws.rum";
|
|
479
|
+
var JsonValue = [
|
|
480
|
+
0,
|
|
481
|
+
n0,
|
|
482
|
+
_JV,
|
|
483
|
+
{
|
|
484
|
+
[_mT]: _a,
|
|
485
|
+
},
|
|
486
|
+
0,
|
|
487
|
+
];
|
|
488
|
+
var AccessDeniedException = [
|
|
489
|
+
-3,
|
|
490
|
+
n0,
|
|
491
|
+
_ADE,
|
|
492
|
+
{
|
|
493
|
+
[_e]: _c,
|
|
494
|
+
[_hE]: 403,
|
|
495
|
+
},
|
|
496
|
+
[_m],
|
|
497
|
+
[0],
|
|
498
|
+
];
|
|
499
|
+
schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
|
|
500
|
+
var AppMonitor = [
|
|
501
|
+
3,
|
|
502
|
+
n0,
|
|
503
|
+
_AM,
|
|
504
|
+
0,
|
|
505
|
+
[_N, _D, _DL, _I, _C, _LM, _T, _S, _AMC, _DS, _CE, _DC],
|
|
506
|
+
[
|
|
507
|
+
0,
|
|
508
|
+
0,
|
|
509
|
+
64 | 0,
|
|
510
|
+
0,
|
|
511
|
+
0,
|
|
512
|
+
0,
|
|
513
|
+
128 | 0,
|
|
514
|
+
0,
|
|
515
|
+
() => AppMonitorConfiguration,
|
|
516
|
+
() => DataStorage,
|
|
517
|
+
() => CustomEvents,
|
|
518
|
+
() => DeobfuscationConfiguration,
|
|
519
|
+
],
|
|
520
|
+
];
|
|
521
|
+
var AppMonitorConfiguration = [
|
|
522
|
+
3,
|
|
523
|
+
n0,
|
|
524
|
+
_AMC,
|
|
525
|
+
0,
|
|
526
|
+
[_IPI, _EP, _IP, _FP, _SSR, _GRA, _AC, _Te, _EXR],
|
|
527
|
+
[0, 64 | 0, 64 | 0, 64 | 0, 1, 0, 2, 64 | 0, 2],
|
|
528
|
+
];
|
|
529
|
+
var AppMonitorDetails = [3, n0, _AMD, 0, [_n, _i, _v], [0, 0, 0]];
|
|
530
|
+
var AppMonitorSummary = [3, n0, _AMS, 0, [_N, _I, _C, _LM, _S], [0, 0, 0, 0, 0]];
|
|
531
|
+
var BatchCreateRumMetricDefinitionsError = [
|
|
532
|
+
3,
|
|
533
|
+
n0,
|
|
534
|
+
_BCRMDE,
|
|
535
|
+
0,
|
|
536
|
+
[_MD, _EC, _EM],
|
|
537
|
+
[() => MetricDefinitionRequest, 0, 0],
|
|
538
|
+
];
|
|
539
|
+
var BatchCreateRumMetricDefinitionsRequest = [
|
|
540
|
+
3,
|
|
541
|
+
n0,
|
|
542
|
+
_BCRMDR,
|
|
543
|
+
0,
|
|
544
|
+
[_AMN, _De, _DA, _MDe],
|
|
545
|
+
[[0, 1], 0, 0, () => MetricDefinitionsRequest],
|
|
546
|
+
];
|
|
547
|
+
var BatchCreateRumMetricDefinitionsResponse = [
|
|
548
|
+
3,
|
|
549
|
+
n0,
|
|
550
|
+
_BCRMDRa,
|
|
551
|
+
0,
|
|
552
|
+
[_E, _MDe],
|
|
553
|
+
[() => BatchCreateRumMetricDefinitionsErrors, () => MetricDefinitions],
|
|
554
|
+
];
|
|
555
|
+
var BatchDeleteRumMetricDefinitionsError = [
|
|
556
|
+
3,
|
|
557
|
+
n0,
|
|
558
|
+
_BDRMDE,
|
|
559
|
+
0,
|
|
560
|
+
[_MDI, _EC, _EM],
|
|
561
|
+
[0, 0, 0],
|
|
562
|
+
];
|
|
563
|
+
var BatchDeleteRumMetricDefinitionsRequest = [
|
|
564
|
+
3,
|
|
565
|
+
n0,
|
|
566
|
+
_BDRMDR,
|
|
567
|
+
0,
|
|
568
|
+
[_AMN, _De, _DA, _MDIe],
|
|
569
|
+
[
|
|
570
|
+
[0, 1],
|
|
571
|
+
[
|
|
572
|
+
0,
|
|
573
|
+
{
|
|
574
|
+
[_hQ]: _d,
|
|
575
|
+
},
|
|
576
|
+
],
|
|
577
|
+
[
|
|
578
|
+
0,
|
|
579
|
+
{
|
|
580
|
+
[_hQ]: _dA,
|
|
581
|
+
},
|
|
582
|
+
],
|
|
583
|
+
[
|
|
584
|
+
64 | 0,
|
|
585
|
+
{
|
|
586
|
+
[_hQ]: _mDI,
|
|
587
|
+
},
|
|
588
|
+
],
|
|
589
|
+
],
|
|
590
|
+
];
|
|
591
|
+
var BatchDeleteRumMetricDefinitionsResponse = [
|
|
592
|
+
3,
|
|
593
|
+
n0,
|
|
594
|
+
_BDRMDRa,
|
|
595
|
+
0,
|
|
596
|
+
[_E, _MDIe],
|
|
597
|
+
[() => BatchDeleteRumMetricDefinitionsErrors, 64 | 0],
|
|
598
|
+
];
|
|
599
|
+
var BatchGetRumMetricDefinitionsRequest = [
|
|
600
|
+
3,
|
|
601
|
+
n0,
|
|
602
|
+
_BGRMDR,
|
|
603
|
+
0,
|
|
604
|
+
[_AMN, _De, _DA, _MR, _NT],
|
|
605
|
+
[
|
|
606
|
+
[0, 1],
|
|
607
|
+
[
|
|
608
|
+
0,
|
|
609
|
+
{
|
|
610
|
+
[_hQ]: _d,
|
|
611
|
+
},
|
|
612
|
+
],
|
|
613
|
+
[
|
|
614
|
+
0,
|
|
615
|
+
{
|
|
616
|
+
[_hQ]: _dA,
|
|
617
|
+
},
|
|
618
|
+
],
|
|
619
|
+
[
|
|
620
|
+
1,
|
|
621
|
+
{
|
|
622
|
+
[_hQ]: _mR,
|
|
623
|
+
},
|
|
624
|
+
],
|
|
625
|
+
[
|
|
626
|
+
0,
|
|
627
|
+
{
|
|
628
|
+
[_hQ]: _nT,
|
|
629
|
+
},
|
|
630
|
+
],
|
|
631
|
+
],
|
|
632
|
+
];
|
|
633
|
+
var BatchGetRumMetricDefinitionsResponse = [
|
|
634
|
+
3,
|
|
635
|
+
n0,
|
|
636
|
+
_BGRMDRa,
|
|
637
|
+
0,
|
|
638
|
+
[_MDe, _NT],
|
|
639
|
+
[() => MetricDefinitions, 0],
|
|
640
|
+
];
|
|
641
|
+
var ConflictException = [
|
|
642
|
+
-3,
|
|
643
|
+
n0,
|
|
644
|
+
_CEo,
|
|
645
|
+
{
|
|
646
|
+
[_e]: _c,
|
|
647
|
+
[_hE]: 409,
|
|
648
|
+
},
|
|
649
|
+
[_m, _rN, _rT],
|
|
650
|
+
[0, 0, 0],
|
|
651
|
+
];
|
|
652
|
+
schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
|
|
653
|
+
var CreateAppMonitorRequest = [
|
|
654
|
+
3,
|
|
655
|
+
n0,
|
|
656
|
+
_CAMR,
|
|
657
|
+
0,
|
|
658
|
+
[_N, _D, _DL, _T, _AMC, _CLE, _CE, _DC],
|
|
659
|
+
[0, 0, 64 | 0, 128 | 0, () => AppMonitorConfiguration, 2, () => CustomEvents, () => DeobfuscationConfiguration],
|
|
660
|
+
];
|
|
661
|
+
var CreateAppMonitorResponse = [3, n0, _CAMRr, 0, [_I], [0]];
|
|
662
|
+
var CustomEvents = [3, n0, _CE, 0, [_St], [0]];
|
|
663
|
+
var CwLog = [3, n0, _CL, 0, [_CLE, _CLG], [2, 0]];
|
|
664
|
+
var DataStorage = [3, n0, _DS, 0, [_CL], [() => CwLog]];
|
|
665
|
+
var DeleteAppMonitorRequest = [3, n0, _DAMR, 0, [_N], [[0, 1]]];
|
|
666
|
+
var DeleteAppMonitorResponse = [3, n0, _DAMRe, 0, [], []];
|
|
667
|
+
var DeleteResourcePolicyRequest = [
|
|
668
|
+
3,
|
|
669
|
+
n0,
|
|
670
|
+
_DRPR,
|
|
671
|
+
0,
|
|
672
|
+
[_N, _PRI],
|
|
673
|
+
[
|
|
674
|
+
[0, 1],
|
|
675
|
+
[
|
|
676
|
+
0,
|
|
677
|
+
{
|
|
678
|
+
[_hQ]: _pRI,
|
|
679
|
+
},
|
|
680
|
+
],
|
|
681
|
+
],
|
|
682
|
+
];
|
|
683
|
+
var DeleteResourcePolicyResponse = [3, n0, _DRPRe, 0, [_PRI], [0]];
|
|
684
|
+
var DeleteRumMetricsDestinationRequest = [
|
|
685
|
+
3,
|
|
686
|
+
n0,
|
|
687
|
+
_DRMDR,
|
|
688
|
+
0,
|
|
689
|
+
[_AMN, _De, _DA],
|
|
690
|
+
[
|
|
691
|
+
[0, 1],
|
|
692
|
+
[
|
|
693
|
+
0,
|
|
694
|
+
{
|
|
695
|
+
[_hQ]: _d,
|
|
696
|
+
},
|
|
697
|
+
],
|
|
698
|
+
[
|
|
699
|
+
0,
|
|
700
|
+
{
|
|
701
|
+
[_hQ]: _dA,
|
|
702
|
+
},
|
|
703
|
+
],
|
|
704
|
+
],
|
|
705
|
+
];
|
|
706
|
+
var DeleteRumMetricsDestinationResponse = [3, n0, _DRMDRe, 0, [], []];
|
|
707
|
+
var DeobfuscationConfiguration = [3, n0, _DC, 0, [_JSSM], [() => JavaScriptSourceMaps]];
|
|
708
|
+
var GetAppMonitorDataRequest = [
|
|
709
|
+
3,
|
|
710
|
+
n0,
|
|
711
|
+
_GAMDR,
|
|
712
|
+
0,
|
|
713
|
+
[_N, _TR, _F, _MR, _NT],
|
|
714
|
+
[[0, 1], () => TimeRange, () => QueryFilters, 1, 0],
|
|
715
|
+
];
|
|
716
|
+
var GetAppMonitorDataResponse = [3, n0, _GAMDRe, 0, [_Ev, _NT], [64 | 0, 0]];
|
|
717
|
+
var GetAppMonitorRequest = [3, n0, _GAMR, 0, [_N], [[0, 1]]];
|
|
718
|
+
var GetAppMonitorResponse = [3, n0, _GAMRe, 0, [_AM], [() => AppMonitor]];
|
|
719
|
+
var GetResourcePolicyRequest = [3, n0, _GRPR, 0, [_N], [[0, 1]]];
|
|
720
|
+
var GetResourcePolicyResponse = [3, n0, _GRPRe, 0, [_PD, _PRI], [0, 0]];
|
|
721
|
+
var InternalServerException = [
|
|
722
|
+
-3,
|
|
723
|
+
n0,
|
|
724
|
+
_ISE,
|
|
725
|
+
{
|
|
726
|
+
[_e]: _s,
|
|
727
|
+
[_hE]: 500,
|
|
728
|
+
},
|
|
729
|
+
[_m, _rAS],
|
|
730
|
+
[
|
|
731
|
+
0,
|
|
732
|
+
[
|
|
733
|
+
1,
|
|
734
|
+
{
|
|
735
|
+
[_hH]: _RA,
|
|
736
|
+
},
|
|
737
|
+
],
|
|
738
|
+
],
|
|
739
|
+
];
|
|
740
|
+
schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
|
|
741
|
+
var InvalidPolicyRevisionIdException = [
|
|
742
|
+
-3,
|
|
743
|
+
n0,
|
|
744
|
+
_IPRIE,
|
|
745
|
+
{
|
|
746
|
+
[_e]: _c,
|
|
747
|
+
[_hE]: 400,
|
|
748
|
+
},
|
|
749
|
+
[_m],
|
|
750
|
+
[0],
|
|
751
|
+
];
|
|
752
|
+
schema.TypeRegistry.for(n0).registerError(InvalidPolicyRevisionIdException, InvalidPolicyRevisionIdException$1);
|
|
753
|
+
var JavaScriptSourceMaps = [3, n0, _JSSM, 0, [_St, _SU], [0, 0]];
|
|
754
|
+
var ListAppMonitorsRequest = [
|
|
755
|
+
3,
|
|
756
|
+
n0,
|
|
757
|
+
_LAMR,
|
|
758
|
+
0,
|
|
759
|
+
[_MR, _NT],
|
|
760
|
+
[
|
|
761
|
+
[
|
|
762
|
+
1,
|
|
763
|
+
{
|
|
764
|
+
[_hQ]: _mR,
|
|
765
|
+
},
|
|
766
|
+
],
|
|
767
|
+
[
|
|
768
|
+
0,
|
|
769
|
+
{
|
|
770
|
+
[_hQ]: _nT,
|
|
771
|
+
},
|
|
772
|
+
],
|
|
773
|
+
],
|
|
774
|
+
];
|
|
775
|
+
var ListAppMonitorsResponse = [
|
|
776
|
+
3,
|
|
777
|
+
n0,
|
|
778
|
+
_LAMRi,
|
|
779
|
+
0,
|
|
780
|
+
[_NT, _AMSp],
|
|
781
|
+
[0, () => AppMonitorSummaryList],
|
|
782
|
+
];
|
|
783
|
+
var ListRumMetricsDestinationsRequest = [
|
|
784
|
+
3,
|
|
785
|
+
n0,
|
|
786
|
+
_LRMDR,
|
|
787
|
+
0,
|
|
788
|
+
[_AMN, _MR, _NT],
|
|
789
|
+
[
|
|
790
|
+
[0, 1],
|
|
791
|
+
[
|
|
792
|
+
1,
|
|
793
|
+
{
|
|
794
|
+
[_hQ]: _mR,
|
|
795
|
+
},
|
|
796
|
+
],
|
|
797
|
+
[
|
|
798
|
+
0,
|
|
799
|
+
{
|
|
800
|
+
[_hQ]: _nT,
|
|
801
|
+
},
|
|
802
|
+
],
|
|
803
|
+
],
|
|
804
|
+
];
|
|
805
|
+
var ListRumMetricsDestinationsResponse = [
|
|
806
|
+
3,
|
|
807
|
+
n0,
|
|
808
|
+
_LRMDRi,
|
|
809
|
+
0,
|
|
810
|
+
[_Des, _NT],
|
|
811
|
+
[() => MetricDestinationSummaryList, 0],
|
|
812
|
+
];
|
|
813
|
+
var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_RAe], [[0, 1]]];
|
|
814
|
+
var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_RAe, _T], [0, 128 | 0]];
|
|
815
|
+
var MalformedPolicyDocumentException = [
|
|
816
|
+
-3,
|
|
817
|
+
n0,
|
|
818
|
+
_MPDE,
|
|
819
|
+
{
|
|
820
|
+
[_e]: _c,
|
|
821
|
+
[_hE]: 400,
|
|
822
|
+
},
|
|
823
|
+
[_m],
|
|
824
|
+
[0],
|
|
825
|
+
];
|
|
826
|
+
schema.TypeRegistry.for(n0).registerError(MalformedPolicyDocumentException, MalformedPolicyDocumentException$1);
|
|
827
|
+
var MetricDefinition = [
|
|
828
|
+
3,
|
|
829
|
+
n0,
|
|
830
|
+
_MD,
|
|
831
|
+
0,
|
|
832
|
+
[_MDI, _N, _VK, _UL, _DK, _EPv, _Na],
|
|
833
|
+
[0, 0, 0, 0, 128 | 0, 0, 0],
|
|
834
|
+
];
|
|
835
|
+
var MetricDefinitionRequest = [
|
|
836
|
+
3,
|
|
837
|
+
n0,
|
|
838
|
+
_MDR,
|
|
839
|
+
0,
|
|
840
|
+
[_N, _VK, _UL, _DK, _EPv, _Na],
|
|
841
|
+
[0, 0, 0, 128 | 0, 0, 0],
|
|
842
|
+
];
|
|
843
|
+
var MetricDestinationSummary = [3, n0, _MDS, 0, [_De, _DA, _IRA], [0, 0, 0]];
|
|
844
|
+
var PolicyNotFoundException = [
|
|
845
|
+
-3,
|
|
846
|
+
n0,
|
|
847
|
+
_PNFE,
|
|
848
|
+
{
|
|
849
|
+
[_e]: _c,
|
|
850
|
+
[_hE]: 404,
|
|
851
|
+
},
|
|
852
|
+
[_m],
|
|
853
|
+
[0],
|
|
854
|
+
];
|
|
855
|
+
schema.TypeRegistry.for(n0).registerError(PolicyNotFoundException, PolicyNotFoundException$1);
|
|
856
|
+
var PolicySizeLimitExceededException = [
|
|
857
|
+
-3,
|
|
858
|
+
n0,
|
|
859
|
+
_PSLEE,
|
|
860
|
+
{
|
|
861
|
+
[_e]: _c,
|
|
862
|
+
[_hE]: 400,
|
|
863
|
+
},
|
|
864
|
+
[_m],
|
|
865
|
+
[0],
|
|
866
|
+
];
|
|
867
|
+
schema.TypeRegistry.for(n0).registerError(PolicySizeLimitExceededException, PolicySizeLimitExceededException$1);
|
|
868
|
+
var PutResourcePolicyRequest = [3, n0, _PRPR, 0, [_N, _PD, _PRI], [[0, 1], 0, 0]];
|
|
869
|
+
var PutResourcePolicyResponse = [3, n0, _PRPRu, 0, [_PD, _PRI], [0, 0]];
|
|
870
|
+
var PutRumEventsRequest = [
|
|
871
|
+
3,
|
|
872
|
+
n0,
|
|
873
|
+
_PRER,
|
|
874
|
+
0,
|
|
875
|
+
[_I, _BI, _AMD, _UD, _RE, _A],
|
|
876
|
+
[[0, 1], 0, () => AppMonitorDetails, () => UserDetails, [() => RumEventList, 0], 0],
|
|
877
|
+
];
|
|
878
|
+
var PutRumEventsResponse = [3, n0, _PRERu, 0, [], []];
|
|
879
|
+
var PutRumMetricsDestinationRequest = [
|
|
880
|
+
3,
|
|
881
|
+
n0,
|
|
882
|
+
_PRMDR,
|
|
883
|
+
0,
|
|
884
|
+
[_AMN, _De, _DA, _IRA],
|
|
885
|
+
[[0, 1], 0, 0, 0],
|
|
886
|
+
];
|
|
887
|
+
var PutRumMetricsDestinationResponse = [3, n0, _PRMDRu, 0, [], []];
|
|
888
|
+
var QueryFilter = [3, n0, _QF, 0, [_N, _V], [0, 64 | 0]];
|
|
889
|
+
var ResourceNotFoundException = [
|
|
890
|
+
-3,
|
|
891
|
+
n0,
|
|
892
|
+
_RNFE,
|
|
893
|
+
{
|
|
894
|
+
[_e]: _c,
|
|
895
|
+
[_hE]: 404,
|
|
896
|
+
},
|
|
897
|
+
[_m, _rN, _rT],
|
|
898
|
+
[0, 0, 0],
|
|
899
|
+
];
|
|
900
|
+
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
|
|
901
|
+
var RumEvent = [
|
|
902
|
+
3,
|
|
903
|
+
n0,
|
|
904
|
+
_REu,
|
|
905
|
+
0,
|
|
906
|
+
[_i, _t, _ty, _me, _de],
|
|
907
|
+
[0, 4, 0, [() => JsonValue, 0], [() => JsonValue, 0]],
|
|
908
|
+
];
|
|
909
|
+
var ServiceQuotaExceededException = [
|
|
910
|
+
-3,
|
|
911
|
+
n0,
|
|
912
|
+
_SQEE,
|
|
913
|
+
{
|
|
914
|
+
[_e]: _c,
|
|
915
|
+
[_hE]: 402,
|
|
916
|
+
},
|
|
917
|
+
[_m],
|
|
918
|
+
[0],
|
|
919
|
+
];
|
|
920
|
+
schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
|
|
921
|
+
var TagResourceRequest = [3, n0, _TRR, 0, [_RAe, _T], [[0, 1], 128 | 0]];
|
|
922
|
+
var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
|
|
923
|
+
var ThrottlingException = [
|
|
924
|
+
-3,
|
|
925
|
+
n0,
|
|
926
|
+
_TE,
|
|
927
|
+
{
|
|
928
|
+
[_e]: _c,
|
|
929
|
+
[_hE]: 429,
|
|
930
|
+
},
|
|
931
|
+
[_m, _sC, _qC, _rAS],
|
|
932
|
+
[
|
|
933
|
+
0,
|
|
934
|
+
0,
|
|
935
|
+
0,
|
|
936
|
+
[
|
|
937
|
+
1,
|
|
938
|
+
{
|
|
939
|
+
[_hH]: _RA,
|
|
940
|
+
},
|
|
941
|
+
],
|
|
942
|
+
],
|
|
943
|
+
];
|
|
944
|
+
schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
|
|
945
|
+
var TimeRange = [3, n0, _TR, 0, [_Af, _B], [1, 1]];
|
|
946
|
+
var UntagResourceRequest = [
|
|
947
|
+
3,
|
|
948
|
+
n0,
|
|
949
|
+
_URR,
|
|
950
|
+
0,
|
|
951
|
+
[_RAe, _TK],
|
|
952
|
+
[
|
|
953
|
+
[0, 1],
|
|
954
|
+
[
|
|
955
|
+
64 | 0,
|
|
956
|
+
{
|
|
957
|
+
[_hQ]: _tK,
|
|
958
|
+
},
|
|
959
|
+
],
|
|
960
|
+
],
|
|
961
|
+
];
|
|
962
|
+
var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
|
|
963
|
+
var UpdateAppMonitorRequest = [
|
|
964
|
+
3,
|
|
965
|
+
n0,
|
|
966
|
+
_UAMR,
|
|
967
|
+
0,
|
|
968
|
+
[_N, _D, _DL, _AMC, _CLE, _CE, _DC],
|
|
969
|
+
[[0, 1], 0, 64 | 0, () => AppMonitorConfiguration, 2, () => CustomEvents, () => DeobfuscationConfiguration],
|
|
970
|
+
];
|
|
971
|
+
var UpdateAppMonitorResponse = [3, n0, _UAMRp, 0, [], []];
|
|
972
|
+
var UpdateRumMetricDefinitionRequest = [
|
|
973
|
+
3,
|
|
974
|
+
n0,
|
|
975
|
+
_URMDR,
|
|
976
|
+
0,
|
|
977
|
+
[_AMN, _De, _DA, _MD, _MDI],
|
|
978
|
+
[[0, 1], 0, 0, () => MetricDefinitionRequest, 0],
|
|
979
|
+
];
|
|
980
|
+
var UpdateRumMetricDefinitionResponse = [3, n0, _URMDRp, 0, [], []];
|
|
981
|
+
var UserDetails = [3, n0, _UD, 0, [_uI, _sI], [0, 0]];
|
|
982
|
+
var ValidationException = [
|
|
983
|
+
-3,
|
|
984
|
+
n0,
|
|
985
|
+
_VE,
|
|
986
|
+
{
|
|
987
|
+
[_e]: _c,
|
|
988
|
+
[_hE]: 400,
|
|
989
|
+
},
|
|
990
|
+
[_m],
|
|
991
|
+
[0],
|
|
992
|
+
];
|
|
993
|
+
schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
|
|
994
|
+
var RUMServiceException = [-3, _sm, "RUMServiceException", 0, [], []];
|
|
995
|
+
schema.TypeRegistry.for(_sm).registerError(RUMServiceException, RUMServiceException$1);
|
|
996
|
+
var AppMonitorSummaryList = [1, n0, _AMSL, 0, () => AppMonitorSummary];
|
|
997
|
+
var BatchCreateRumMetricDefinitionsErrors = [
|
|
998
|
+
1,
|
|
999
|
+
n0,
|
|
1000
|
+
_BCRMDEa,
|
|
1001
|
+
0,
|
|
1002
|
+
() => BatchCreateRumMetricDefinitionsError,
|
|
1003
|
+
];
|
|
1004
|
+
var BatchDeleteRumMetricDefinitionsErrors = [
|
|
1005
|
+
1,
|
|
1006
|
+
n0,
|
|
1007
|
+
_BDRMDEa,
|
|
1008
|
+
0,
|
|
1009
|
+
() => BatchDeleteRumMetricDefinitionsError,
|
|
1010
|
+
];
|
|
1011
|
+
var MetricDefinitions = [1, n0, _MDe, 0, () => MetricDefinition];
|
|
1012
|
+
var MetricDefinitionsRequest = [1, n0, _MDRe, 0, () => MetricDefinitionRequest];
|
|
1013
|
+
var MetricDestinationSummaryList = [1, n0, _MDSL, 0, () => MetricDestinationSummary];
|
|
1014
|
+
var QueryFilters = [1, n0, _QFu, 0, () => QueryFilter];
|
|
1015
|
+
var RumEventList = [1, n0, _REL, 0, [() => RumEvent, 0]];
|
|
1016
|
+
var BatchCreateRumMetricDefinitions = [
|
|
1017
|
+
9,
|
|
1018
|
+
n0,
|
|
1019
|
+
_BCRMD,
|
|
1020
|
+
{
|
|
1021
|
+
[_h]: ["POST", "/rummetrics/{AppMonitorName}/metrics", 200],
|
|
1022
|
+
},
|
|
1023
|
+
() => BatchCreateRumMetricDefinitionsRequest,
|
|
1024
|
+
() => BatchCreateRumMetricDefinitionsResponse,
|
|
1025
|
+
];
|
|
1026
|
+
var BatchDeleteRumMetricDefinitions = [
|
|
1027
|
+
9,
|
|
1028
|
+
n0,
|
|
1029
|
+
_BDRMD,
|
|
1030
|
+
{
|
|
1031
|
+
[_h]: ["DELETE", "/rummetrics/{AppMonitorName}/metrics", 200],
|
|
1032
|
+
},
|
|
1033
|
+
() => BatchDeleteRumMetricDefinitionsRequest,
|
|
1034
|
+
() => BatchDeleteRumMetricDefinitionsResponse,
|
|
1035
|
+
];
|
|
1036
|
+
var BatchGetRumMetricDefinitions = [
|
|
1037
|
+
9,
|
|
1038
|
+
n0,
|
|
1039
|
+
_BGRMD,
|
|
1040
|
+
{
|
|
1041
|
+
[_h]: ["GET", "/rummetrics/{AppMonitorName}/metrics", 200],
|
|
1042
|
+
},
|
|
1043
|
+
() => BatchGetRumMetricDefinitionsRequest,
|
|
1044
|
+
() => BatchGetRumMetricDefinitionsResponse,
|
|
1045
|
+
];
|
|
1046
|
+
var CreateAppMonitor = [
|
|
1047
|
+
9,
|
|
1048
|
+
n0,
|
|
1049
|
+
_CAM,
|
|
1050
|
+
{
|
|
1051
|
+
[_h]: ["POST", "/appmonitor", 200],
|
|
1052
|
+
},
|
|
1053
|
+
() => CreateAppMonitorRequest,
|
|
1054
|
+
() => CreateAppMonitorResponse,
|
|
1055
|
+
];
|
|
1056
|
+
var DeleteAppMonitor = [
|
|
1057
|
+
9,
|
|
1058
|
+
n0,
|
|
1059
|
+
_DAM,
|
|
1060
|
+
{
|
|
1061
|
+
[_h]: ["DELETE", "/appmonitor/{Name}", 200],
|
|
1062
|
+
},
|
|
1063
|
+
() => DeleteAppMonitorRequest,
|
|
1064
|
+
() => DeleteAppMonitorResponse,
|
|
1065
|
+
];
|
|
1066
|
+
var DeleteResourcePolicy = [
|
|
1067
|
+
9,
|
|
1068
|
+
n0,
|
|
1069
|
+
_DRP,
|
|
1070
|
+
{
|
|
1071
|
+
[_h]: ["DELETE", "/appmonitor/{Name}/policy", 200],
|
|
1072
|
+
},
|
|
1073
|
+
() => DeleteResourcePolicyRequest,
|
|
1074
|
+
() => DeleteResourcePolicyResponse,
|
|
1075
|
+
];
|
|
1076
|
+
var DeleteRumMetricsDestination = [
|
|
1077
|
+
9,
|
|
1078
|
+
n0,
|
|
1079
|
+
_DRMD,
|
|
1080
|
+
{
|
|
1081
|
+
[_h]: ["DELETE", "/rummetrics/{AppMonitorName}/metricsdestination", 200],
|
|
1082
|
+
},
|
|
1083
|
+
() => DeleteRumMetricsDestinationRequest,
|
|
1084
|
+
() => DeleteRumMetricsDestinationResponse,
|
|
1085
|
+
];
|
|
1086
|
+
var GetAppMonitor = [
|
|
1087
|
+
9,
|
|
1088
|
+
n0,
|
|
1089
|
+
_GAM,
|
|
1090
|
+
{
|
|
1091
|
+
[_h]: ["GET", "/appmonitor/{Name}", 200],
|
|
1092
|
+
},
|
|
1093
|
+
() => GetAppMonitorRequest,
|
|
1094
|
+
() => GetAppMonitorResponse,
|
|
1095
|
+
];
|
|
1096
|
+
var GetAppMonitorData = [
|
|
1097
|
+
9,
|
|
1098
|
+
n0,
|
|
1099
|
+
_GAMD,
|
|
1100
|
+
{
|
|
1101
|
+
[_h]: ["POST", "/appmonitor/{Name}/data", 200],
|
|
1102
|
+
},
|
|
1103
|
+
() => GetAppMonitorDataRequest,
|
|
1104
|
+
() => GetAppMonitorDataResponse,
|
|
1105
|
+
];
|
|
1106
|
+
var GetResourcePolicy = [
|
|
1107
|
+
9,
|
|
1108
|
+
n0,
|
|
1109
|
+
_GRP,
|
|
1110
|
+
{
|
|
1111
|
+
[_h]: ["GET", "/appmonitor/{Name}/policy", 200],
|
|
1112
|
+
},
|
|
1113
|
+
() => GetResourcePolicyRequest,
|
|
1114
|
+
() => GetResourcePolicyResponse,
|
|
1115
|
+
];
|
|
1116
|
+
var ListAppMonitors = [
|
|
1117
|
+
9,
|
|
1118
|
+
n0,
|
|
1119
|
+
_LAM,
|
|
1120
|
+
{
|
|
1121
|
+
[_h]: ["POST", "/appmonitors", 200],
|
|
1122
|
+
},
|
|
1123
|
+
() => ListAppMonitorsRequest,
|
|
1124
|
+
() => ListAppMonitorsResponse,
|
|
1125
|
+
];
|
|
1126
|
+
var ListRumMetricsDestinations = [
|
|
1127
|
+
9,
|
|
1128
|
+
n0,
|
|
1129
|
+
_LRMD,
|
|
1130
|
+
{
|
|
1131
|
+
[_h]: ["GET", "/rummetrics/{AppMonitorName}/metricsdestination", 200],
|
|
1132
|
+
},
|
|
1133
|
+
() => ListRumMetricsDestinationsRequest,
|
|
1134
|
+
() => ListRumMetricsDestinationsResponse,
|
|
1135
|
+
];
|
|
1136
|
+
var ListTagsForResource = [
|
|
1137
|
+
9,
|
|
1138
|
+
n0,
|
|
1139
|
+
_LTFR,
|
|
1140
|
+
{
|
|
1141
|
+
[_h]: ["GET", "/tags/{ResourceArn}", 200],
|
|
1142
|
+
},
|
|
1143
|
+
() => ListTagsForResourceRequest,
|
|
1144
|
+
() => ListTagsForResourceResponse,
|
|
1145
|
+
];
|
|
1146
|
+
var PutResourcePolicy = [
|
|
1147
|
+
9,
|
|
1148
|
+
n0,
|
|
1149
|
+
_PRP,
|
|
1150
|
+
{
|
|
1151
|
+
[_h]: ["PUT", "/appmonitor/{Name}/policy", 200],
|
|
1152
|
+
},
|
|
1153
|
+
() => PutResourcePolicyRequest,
|
|
1154
|
+
() => PutResourcePolicyResponse,
|
|
1155
|
+
];
|
|
1156
|
+
var PutRumEvents = [
|
|
1157
|
+
9,
|
|
1158
|
+
n0,
|
|
1159
|
+
_PRE,
|
|
1160
|
+
{
|
|
1161
|
+
[_h]: ["POST", "/appmonitors/{Id}/", 200],
|
|
1162
|
+
[_en]: ["dataplane."],
|
|
1163
|
+
},
|
|
1164
|
+
() => PutRumEventsRequest,
|
|
1165
|
+
() => PutRumEventsResponse,
|
|
1166
|
+
];
|
|
1167
|
+
var PutRumMetricsDestination = [
|
|
1168
|
+
9,
|
|
1169
|
+
n0,
|
|
1170
|
+
_PRMD,
|
|
1171
|
+
{
|
|
1172
|
+
[_h]: ["POST", "/rummetrics/{AppMonitorName}/metricsdestination", 200],
|
|
1173
|
+
},
|
|
1174
|
+
() => PutRumMetricsDestinationRequest,
|
|
1175
|
+
() => PutRumMetricsDestinationResponse,
|
|
1176
|
+
];
|
|
1177
|
+
var TagResource = [
|
|
1178
|
+
9,
|
|
1179
|
+
n0,
|
|
1180
|
+
_TRa,
|
|
1181
|
+
{
|
|
1182
|
+
[_h]: ["POST", "/tags/{ResourceArn}", 200],
|
|
1183
|
+
},
|
|
1184
|
+
() => TagResourceRequest,
|
|
1185
|
+
() => TagResourceResponse,
|
|
1186
|
+
];
|
|
1187
|
+
var UntagResource = [
|
|
1188
|
+
9,
|
|
1189
|
+
n0,
|
|
1190
|
+
_UR,
|
|
1191
|
+
{
|
|
1192
|
+
[_h]: ["DELETE", "/tags/{ResourceArn}", 200],
|
|
1193
|
+
},
|
|
1194
|
+
() => UntagResourceRequest,
|
|
1195
|
+
() => UntagResourceResponse,
|
|
1196
|
+
];
|
|
1197
|
+
var UpdateAppMonitor = [
|
|
1198
|
+
9,
|
|
1199
|
+
n0,
|
|
1200
|
+
_UAM,
|
|
1201
|
+
{
|
|
1202
|
+
[_h]: ["PATCH", "/appmonitor/{Name}", 200],
|
|
1203
|
+
},
|
|
1204
|
+
() => UpdateAppMonitorRequest,
|
|
1205
|
+
() => UpdateAppMonitorResponse,
|
|
1206
|
+
];
|
|
1207
|
+
var UpdateRumMetricDefinition = [
|
|
1208
|
+
9,
|
|
1209
|
+
n0,
|
|
1210
|
+
_URMD,
|
|
1211
|
+
{
|
|
1212
|
+
[_h]: ["PATCH", "/rummetrics/{AppMonitorName}/metrics", 200],
|
|
1213
|
+
},
|
|
1214
|
+
() => UpdateRumMetricDefinitionRequest,
|
|
1215
|
+
() => UpdateRumMetricDefinitionResponse,
|
|
1216
|
+
];
|
|
1122
1217
|
|
|
1123
1218
|
class BatchCreateRumMetricDefinitionsCommand extends smithyClient.Command
|
|
1124
1219
|
.classBuilder()
|
|
1125
1220
|
.ep(commonParams)
|
|
1126
1221
|
.m(function (Command, cs, config, o) {
|
|
1127
|
-
return [
|
|
1128
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1129
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1130
|
-
];
|
|
1222
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1131
1223
|
})
|
|
1132
1224
|
.s("RUM", "BatchCreateRumMetricDefinitions", {})
|
|
1133
1225
|
.n("RUMClient", "BatchCreateRumMetricDefinitionsCommand")
|
|
1134
|
-
.
|
|
1135
|
-
.ser(se_BatchCreateRumMetricDefinitionsCommand)
|
|
1136
|
-
.de(de_BatchCreateRumMetricDefinitionsCommand)
|
|
1226
|
+
.sc(BatchCreateRumMetricDefinitions)
|
|
1137
1227
|
.build() {
|
|
1138
1228
|
}
|
|
1139
1229
|
|
|
@@ -1141,16 +1231,11 @@ class BatchDeleteRumMetricDefinitionsCommand extends smithyClient.Command
|
|
|
1141
1231
|
.classBuilder()
|
|
1142
1232
|
.ep(commonParams)
|
|
1143
1233
|
.m(function (Command, cs, config, o) {
|
|
1144
|
-
return [
|
|
1145
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1146
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1147
|
-
];
|
|
1234
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1148
1235
|
})
|
|
1149
1236
|
.s("RUM", "BatchDeleteRumMetricDefinitions", {})
|
|
1150
1237
|
.n("RUMClient", "BatchDeleteRumMetricDefinitionsCommand")
|
|
1151
|
-
.
|
|
1152
|
-
.ser(se_BatchDeleteRumMetricDefinitionsCommand)
|
|
1153
|
-
.de(de_BatchDeleteRumMetricDefinitionsCommand)
|
|
1238
|
+
.sc(BatchDeleteRumMetricDefinitions)
|
|
1154
1239
|
.build() {
|
|
1155
1240
|
}
|
|
1156
1241
|
|
|
@@ -1158,16 +1243,11 @@ class BatchGetRumMetricDefinitionsCommand extends smithyClient.Command
|
|
|
1158
1243
|
.classBuilder()
|
|
1159
1244
|
.ep(commonParams)
|
|
1160
1245
|
.m(function (Command, cs, config, o) {
|
|
1161
|
-
return [
|
|
1162
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1163
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1164
|
-
];
|
|
1246
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1165
1247
|
})
|
|
1166
1248
|
.s("RUM", "BatchGetRumMetricDefinitions", {})
|
|
1167
1249
|
.n("RUMClient", "BatchGetRumMetricDefinitionsCommand")
|
|
1168
|
-
.
|
|
1169
|
-
.ser(se_BatchGetRumMetricDefinitionsCommand)
|
|
1170
|
-
.de(de_BatchGetRumMetricDefinitionsCommand)
|
|
1250
|
+
.sc(BatchGetRumMetricDefinitions)
|
|
1171
1251
|
.build() {
|
|
1172
1252
|
}
|
|
1173
1253
|
|
|
@@ -1175,16 +1255,11 @@ class CreateAppMonitorCommand extends smithyClient.Command
|
|
|
1175
1255
|
.classBuilder()
|
|
1176
1256
|
.ep(commonParams)
|
|
1177
1257
|
.m(function (Command, cs, config, o) {
|
|
1178
|
-
return [
|
|
1179
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1180
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1181
|
-
];
|
|
1258
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1182
1259
|
})
|
|
1183
1260
|
.s("RUM", "CreateAppMonitor", {})
|
|
1184
1261
|
.n("RUMClient", "CreateAppMonitorCommand")
|
|
1185
|
-
.
|
|
1186
|
-
.ser(se_CreateAppMonitorCommand)
|
|
1187
|
-
.de(de_CreateAppMonitorCommand)
|
|
1262
|
+
.sc(CreateAppMonitor)
|
|
1188
1263
|
.build() {
|
|
1189
1264
|
}
|
|
1190
1265
|
|
|
@@ -1192,16 +1267,11 @@ class DeleteAppMonitorCommand extends smithyClient.Command
|
|
|
1192
1267
|
.classBuilder()
|
|
1193
1268
|
.ep(commonParams)
|
|
1194
1269
|
.m(function (Command, cs, config, o) {
|
|
1195
|
-
return [
|
|
1196
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1197
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1198
|
-
];
|
|
1270
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1199
1271
|
})
|
|
1200
1272
|
.s("RUM", "DeleteAppMonitor", {})
|
|
1201
1273
|
.n("RUMClient", "DeleteAppMonitorCommand")
|
|
1202
|
-
.
|
|
1203
|
-
.ser(se_DeleteAppMonitorCommand)
|
|
1204
|
-
.de(de_DeleteAppMonitorCommand)
|
|
1274
|
+
.sc(DeleteAppMonitor)
|
|
1205
1275
|
.build() {
|
|
1206
1276
|
}
|
|
1207
1277
|
|
|
@@ -1209,16 +1279,11 @@ class DeleteResourcePolicyCommand extends smithyClient.Command
|
|
|
1209
1279
|
.classBuilder()
|
|
1210
1280
|
.ep(commonParams)
|
|
1211
1281
|
.m(function (Command, cs, config, o) {
|
|
1212
|
-
return [
|
|
1213
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1214
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1215
|
-
];
|
|
1282
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1216
1283
|
})
|
|
1217
1284
|
.s("RUM", "DeleteResourcePolicy", {})
|
|
1218
1285
|
.n("RUMClient", "DeleteResourcePolicyCommand")
|
|
1219
|
-
.
|
|
1220
|
-
.ser(se_DeleteResourcePolicyCommand)
|
|
1221
|
-
.de(de_DeleteResourcePolicyCommand)
|
|
1286
|
+
.sc(DeleteResourcePolicy)
|
|
1222
1287
|
.build() {
|
|
1223
1288
|
}
|
|
1224
1289
|
|
|
@@ -1226,16 +1291,11 @@ class DeleteRumMetricsDestinationCommand extends smithyClient.Command
|
|
|
1226
1291
|
.classBuilder()
|
|
1227
1292
|
.ep(commonParams)
|
|
1228
1293
|
.m(function (Command, cs, config, o) {
|
|
1229
|
-
return [
|
|
1230
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1231
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1232
|
-
];
|
|
1294
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1233
1295
|
})
|
|
1234
1296
|
.s("RUM", "DeleteRumMetricsDestination", {})
|
|
1235
1297
|
.n("RUMClient", "DeleteRumMetricsDestinationCommand")
|
|
1236
|
-
.
|
|
1237
|
-
.ser(se_DeleteRumMetricsDestinationCommand)
|
|
1238
|
-
.de(de_DeleteRumMetricsDestinationCommand)
|
|
1298
|
+
.sc(DeleteRumMetricsDestination)
|
|
1239
1299
|
.build() {
|
|
1240
1300
|
}
|
|
1241
1301
|
|
|
@@ -1243,16 +1303,11 @@ class GetAppMonitorCommand extends smithyClient.Command
|
|
|
1243
1303
|
.classBuilder()
|
|
1244
1304
|
.ep(commonParams)
|
|
1245
1305
|
.m(function (Command, cs, config, o) {
|
|
1246
|
-
return [
|
|
1247
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1248
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1249
|
-
];
|
|
1306
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1250
1307
|
})
|
|
1251
1308
|
.s("RUM", "GetAppMonitor", {})
|
|
1252
1309
|
.n("RUMClient", "GetAppMonitorCommand")
|
|
1253
|
-
.
|
|
1254
|
-
.ser(se_GetAppMonitorCommand)
|
|
1255
|
-
.de(de_GetAppMonitorCommand)
|
|
1310
|
+
.sc(GetAppMonitor)
|
|
1256
1311
|
.build() {
|
|
1257
1312
|
}
|
|
1258
1313
|
|
|
@@ -1260,16 +1315,11 @@ class GetAppMonitorDataCommand extends smithyClient.Command
|
|
|
1260
1315
|
.classBuilder()
|
|
1261
1316
|
.ep(commonParams)
|
|
1262
1317
|
.m(function (Command, cs, config, o) {
|
|
1263
|
-
return [
|
|
1264
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1265
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1266
|
-
];
|
|
1318
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1267
1319
|
})
|
|
1268
1320
|
.s("RUM", "GetAppMonitorData", {})
|
|
1269
1321
|
.n("RUMClient", "GetAppMonitorDataCommand")
|
|
1270
|
-
.
|
|
1271
|
-
.ser(se_GetAppMonitorDataCommand)
|
|
1272
|
-
.de(de_GetAppMonitorDataCommand)
|
|
1322
|
+
.sc(GetAppMonitorData)
|
|
1273
1323
|
.build() {
|
|
1274
1324
|
}
|
|
1275
1325
|
|
|
@@ -1277,16 +1327,11 @@ class GetResourcePolicyCommand extends smithyClient.Command
|
|
|
1277
1327
|
.classBuilder()
|
|
1278
1328
|
.ep(commonParams)
|
|
1279
1329
|
.m(function (Command, cs, config, o) {
|
|
1280
|
-
return [
|
|
1281
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1282
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1283
|
-
];
|
|
1330
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1284
1331
|
})
|
|
1285
1332
|
.s("RUM", "GetResourcePolicy", {})
|
|
1286
1333
|
.n("RUMClient", "GetResourcePolicyCommand")
|
|
1287
|
-
.
|
|
1288
|
-
.ser(se_GetResourcePolicyCommand)
|
|
1289
|
-
.de(de_GetResourcePolicyCommand)
|
|
1334
|
+
.sc(GetResourcePolicy)
|
|
1290
1335
|
.build() {
|
|
1291
1336
|
}
|
|
1292
1337
|
|
|
@@ -1294,16 +1339,11 @@ class ListAppMonitorsCommand extends smithyClient.Command
|
|
|
1294
1339
|
.classBuilder()
|
|
1295
1340
|
.ep(commonParams)
|
|
1296
1341
|
.m(function (Command, cs, config, o) {
|
|
1297
|
-
return [
|
|
1298
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1299
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1300
|
-
];
|
|
1342
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1301
1343
|
})
|
|
1302
1344
|
.s("RUM", "ListAppMonitors", {})
|
|
1303
1345
|
.n("RUMClient", "ListAppMonitorsCommand")
|
|
1304
|
-
.
|
|
1305
|
-
.ser(se_ListAppMonitorsCommand)
|
|
1306
|
-
.de(de_ListAppMonitorsCommand)
|
|
1346
|
+
.sc(ListAppMonitors)
|
|
1307
1347
|
.build() {
|
|
1308
1348
|
}
|
|
1309
1349
|
|
|
@@ -1311,16 +1351,11 @@ class ListRumMetricsDestinationsCommand extends smithyClient.Command
|
|
|
1311
1351
|
.classBuilder()
|
|
1312
1352
|
.ep(commonParams)
|
|
1313
1353
|
.m(function (Command, cs, config, o) {
|
|
1314
|
-
return [
|
|
1315
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1316
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1317
|
-
];
|
|
1354
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1318
1355
|
})
|
|
1319
1356
|
.s("RUM", "ListRumMetricsDestinations", {})
|
|
1320
1357
|
.n("RUMClient", "ListRumMetricsDestinationsCommand")
|
|
1321
|
-
.
|
|
1322
|
-
.ser(se_ListRumMetricsDestinationsCommand)
|
|
1323
|
-
.de(de_ListRumMetricsDestinationsCommand)
|
|
1358
|
+
.sc(ListRumMetricsDestinations)
|
|
1324
1359
|
.build() {
|
|
1325
1360
|
}
|
|
1326
1361
|
|
|
@@ -1328,16 +1363,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
|
|
|
1328
1363
|
.classBuilder()
|
|
1329
1364
|
.ep(commonParams)
|
|
1330
1365
|
.m(function (Command, cs, config, o) {
|
|
1331
|
-
return [
|
|
1332
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1333
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1334
|
-
];
|
|
1366
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1335
1367
|
})
|
|
1336
1368
|
.s("RUM", "ListTagsForResource", {})
|
|
1337
1369
|
.n("RUMClient", "ListTagsForResourceCommand")
|
|
1338
|
-
.
|
|
1339
|
-
.ser(se_ListTagsForResourceCommand)
|
|
1340
|
-
.de(de_ListTagsForResourceCommand)
|
|
1370
|
+
.sc(ListTagsForResource)
|
|
1341
1371
|
.build() {
|
|
1342
1372
|
}
|
|
1343
1373
|
|
|
@@ -1345,16 +1375,11 @@ class PutResourcePolicyCommand extends smithyClient.Command
|
|
|
1345
1375
|
.classBuilder()
|
|
1346
1376
|
.ep(commonParams)
|
|
1347
1377
|
.m(function (Command, cs, config, o) {
|
|
1348
|
-
return [
|
|
1349
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1350
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1351
|
-
];
|
|
1378
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1352
1379
|
})
|
|
1353
1380
|
.s("RUM", "PutResourcePolicy", {})
|
|
1354
1381
|
.n("RUMClient", "PutResourcePolicyCommand")
|
|
1355
|
-
.
|
|
1356
|
-
.ser(se_PutResourcePolicyCommand)
|
|
1357
|
-
.de(de_PutResourcePolicyCommand)
|
|
1382
|
+
.sc(PutResourcePolicy)
|
|
1358
1383
|
.build() {
|
|
1359
1384
|
}
|
|
1360
1385
|
|
|
@@ -1362,16 +1387,11 @@ class PutRumEventsCommand extends smithyClient.Command
|
|
|
1362
1387
|
.classBuilder()
|
|
1363
1388
|
.ep(commonParams)
|
|
1364
1389
|
.m(function (Command, cs, config, o) {
|
|
1365
|
-
return [
|
|
1366
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1367
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1368
|
-
];
|
|
1390
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1369
1391
|
})
|
|
1370
1392
|
.s("RUM", "PutRumEvents", {})
|
|
1371
1393
|
.n("RUMClient", "PutRumEventsCommand")
|
|
1372
|
-
.
|
|
1373
|
-
.ser(se_PutRumEventsCommand)
|
|
1374
|
-
.de(de_PutRumEventsCommand)
|
|
1394
|
+
.sc(PutRumEvents)
|
|
1375
1395
|
.build() {
|
|
1376
1396
|
}
|
|
1377
1397
|
|
|
@@ -1379,16 +1399,11 @@ class PutRumMetricsDestinationCommand extends smithyClient.Command
|
|
|
1379
1399
|
.classBuilder()
|
|
1380
1400
|
.ep(commonParams)
|
|
1381
1401
|
.m(function (Command, cs, config, o) {
|
|
1382
|
-
return [
|
|
1383
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1384
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1385
|
-
];
|
|
1402
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1386
1403
|
})
|
|
1387
1404
|
.s("RUM", "PutRumMetricsDestination", {})
|
|
1388
1405
|
.n("RUMClient", "PutRumMetricsDestinationCommand")
|
|
1389
|
-
.
|
|
1390
|
-
.ser(se_PutRumMetricsDestinationCommand)
|
|
1391
|
-
.de(de_PutRumMetricsDestinationCommand)
|
|
1406
|
+
.sc(PutRumMetricsDestination)
|
|
1392
1407
|
.build() {
|
|
1393
1408
|
}
|
|
1394
1409
|
|
|
@@ -1396,16 +1411,11 @@ class TagResourceCommand extends smithyClient.Command
|
|
|
1396
1411
|
.classBuilder()
|
|
1397
1412
|
.ep(commonParams)
|
|
1398
1413
|
.m(function (Command, cs, config, o) {
|
|
1399
|
-
return [
|
|
1400
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1401
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1402
|
-
];
|
|
1414
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1403
1415
|
})
|
|
1404
1416
|
.s("RUM", "TagResource", {})
|
|
1405
1417
|
.n("RUMClient", "TagResourceCommand")
|
|
1406
|
-
.
|
|
1407
|
-
.ser(se_TagResourceCommand)
|
|
1408
|
-
.de(de_TagResourceCommand)
|
|
1418
|
+
.sc(TagResource)
|
|
1409
1419
|
.build() {
|
|
1410
1420
|
}
|
|
1411
1421
|
|
|
@@ -1413,16 +1423,11 @@ class UntagResourceCommand extends smithyClient.Command
|
|
|
1413
1423
|
.classBuilder()
|
|
1414
1424
|
.ep(commonParams)
|
|
1415
1425
|
.m(function (Command, cs, config, o) {
|
|
1416
|
-
return [
|
|
1417
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1418
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1419
|
-
];
|
|
1426
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1420
1427
|
})
|
|
1421
1428
|
.s("RUM", "UntagResource", {})
|
|
1422
1429
|
.n("RUMClient", "UntagResourceCommand")
|
|
1423
|
-
.
|
|
1424
|
-
.ser(se_UntagResourceCommand)
|
|
1425
|
-
.de(de_UntagResourceCommand)
|
|
1430
|
+
.sc(UntagResource)
|
|
1426
1431
|
.build() {
|
|
1427
1432
|
}
|
|
1428
1433
|
|
|
@@ -1430,16 +1435,11 @@ class UpdateAppMonitorCommand extends smithyClient.Command
|
|
|
1430
1435
|
.classBuilder()
|
|
1431
1436
|
.ep(commonParams)
|
|
1432
1437
|
.m(function (Command, cs, config, o) {
|
|
1433
|
-
return [
|
|
1434
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1435
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1436
|
-
];
|
|
1438
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1437
1439
|
})
|
|
1438
1440
|
.s("RUM", "UpdateAppMonitor", {})
|
|
1439
1441
|
.n("RUMClient", "UpdateAppMonitorCommand")
|
|
1440
|
-
.
|
|
1441
|
-
.ser(se_UpdateAppMonitorCommand)
|
|
1442
|
-
.de(de_UpdateAppMonitorCommand)
|
|
1442
|
+
.sc(UpdateAppMonitor)
|
|
1443
1443
|
.build() {
|
|
1444
1444
|
}
|
|
1445
1445
|
|
|
@@ -1447,16 +1447,11 @@ class UpdateRumMetricDefinitionCommand extends smithyClient.Command
|
|
|
1447
1447
|
.classBuilder()
|
|
1448
1448
|
.ep(commonParams)
|
|
1449
1449
|
.m(function (Command, cs, config, o) {
|
|
1450
|
-
return [
|
|
1451
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1452
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1453
|
-
];
|
|
1450
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1454
1451
|
})
|
|
1455
1452
|
.s("RUM", "UpdateRumMetricDefinition", {})
|
|
1456
1453
|
.n("RUMClient", "UpdateRumMetricDefinitionCommand")
|
|
1457
|
-
.
|
|
1458
|
-
.ser(se_UpdateRumMetricDefinitionCommand)
|
|
1459
|
-
.de(de_UpdateRumMetricDefinitionCommand)
|
|
1454
|
+
.sc(UpdateRumMetricDefinition)
|
|
1460
1455
|
.build() {
|
|
1461
1456
|
}
|
|
1462
1457
|
|
|
@@ -1502,11 +1497,11 @@ Object.defineProperty(exports, "__Client", {
|
|
|
1502
1497
|
enumerable: true,
|
|
1503
1498
|
get: function () { return smithyClient.Client; }
|
|
1504
1499
|
});
|
|
1505
|
-
exports.AccessDeniedException = AccessDeniedException;
|
|
1500
|
+
exports.AccessDeniedException = AccessDeniedException$1;
|
|
1506
1501
|
exports.BatchCreateRumMetricDefinitionsCommand = BatchCreateRumMetricDefinitionsCommand;
|
|
1507
1502
|
exports.BatchDeleteRumMetricDefinitionsCommand = BatchDeleteRumMetricDefinitionsCommand;
|
|
1508
1503
|
exports.BatchGetRumMetricDefinitionsCommand = BatchGetRumMetricDefinitionsCommand;
|
|
1509
|
-
exports.ConflictException = ConflictException;
|
|
1504
|
+
exports.ConflictException = ConflictException$1;
|
|
1510
1505
|
exports.CreateAppMonitorCommand = CreateAppMonitorCommand;
|
|
1511
1506
|
exports.CustomEventsStatus = CustomEventsStatus;
|
|
1512
1507
|
exports.DeleteAppMonitorCommand = DeleteAppMonitorCommand;
|
|
@@ -1516,31 +1511,31 @@ exports.DeobfuscationStatus = DeobfuscationStatus;
|
|
|
1516
1511
|
exports.GetAppMonitorCommand = GetAppMonitorCommand;
|
|
1517
1512
|
exports.GetAppMonitorDataCommand = GetAppMonitorDataCommand;
|
|
1518
1513
|
exports.GetResourcePolicyCommand = GetResourcePolicyCommand;
|
|
1519
|
-
exports.InternalServerException = InternalServerException;
|
|
1520
|
-
exports.InvalidPolicyRevisionIdException = InvalidPolicyRevisionIdException;
|
|
1514
|
+
exports.InternalServerException = InternalServerException$1;
|
|
1515
|
+
exports.InvalidPolicyRevisionIdException = InvalidPolicyRevisionIdException$1;
|
|
1521
1516
|
exports.ListAppMonitorsCommand = ListAppMonitorsCommand;
|
|
1522
1517
|
exports.ListRumMetricsDestinationsCommand = ListRumMetricsDestinationsCommand;
|
|
1523
1518
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1524
|
-
exports.MalformedPolicyDocumentException = MalformedPolicyDocumentException;
|
|
1519
|
+
exports.MalformedPolicyDocumentException = MalformedPolicyDocumentException$1;
|
|
1525
1520
|
exports.MetricDestination = MetricDestination;
|
|
1526
|
-
exports.PolicyNotFoundException = PolicyNotFoundException;
|
|
1527
|
-
exports.PolicySizeLimitExceededException = PolicySizeLimitExceededException;
|
|
1521
|
+
exports.PolicyNotFoundException = PolicyNotFoundException$1;
|
|
1522
|
+
exports.PolicySizeLimitExceededException = PolicySizeLimitExceededException$1;
|
|
1528
1523
|
exports.PutResourcePolicyCommand = PutResourcePolicyCommand;
|
|
1529
1524
|
exports.PutRumEventsCommand = PutRumEventsCommand;
|
|
1530
1525
|
exports.PutRumMetricsDestinationCommand = PutRumMetricsDestinationCommand;
|
|
1531
1526
|
exports.RUM = RUM;
|
|
1532
1527
|
exports.RUMClient = RUMClient;
|
|
1533
|
-
exports.RUMServiceException = RUMServiceException;
|
|
1534
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1535
|
-
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
1528
|
+
exports.RUMServiceException = RUMServiceException$1;
|
|
1529
|
+
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
1530
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
|
|
1536
1531
|
exports.StateEnum = StateEnum;
|
|
1537
1532
|
exports.TagResourceCommand = TagResourceCommand;
|
|
1538
1533
|
exports.Telemetry = Telemetry;
|
|
1539
|
-
exports.ThrottlingException = ThrottlingException;
|
|
1534
|
+
exports.ThrottlingException = ThrottlingException$1;
|
|
1540
1535
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1541
1536
|
exports.UpdateAppMonitorCommand = UpdateAppMonitorCommand;
|
|
1542
1537
|
exports.UpdateRumMetricDefinitionCommand = UpdateRumMetricDefinitionCommand;
|
|
1543
|
-
exports.ValidationException = ValidationException;
|
|
1538
|
+
exports.ValidationException = ValidationException$1;
|
|
1544
1539
|
exports.paginateBatchGetRumMetricDefinitions = paginateBatchGetRumMetricDefinitions;
|
|
1545
1540
|
exports.paginateGetAppMonitorData = paginateGetAppMonitorData;
|
|
1546
1541
|
exports.paginateListAppMonitors = paginateListAppMonitors;
|