@aws-sdk/client-rum 3.758.0 → 3.769.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/README.md +24 -0
- package/dist-cjs/index.js +318 -23
- package/dist-es/RUM.js +6 -0
- package/dist-es/commands/DeleteResourcePolicyCommand.js +22 -0
- package/dist-es/commands/GetResourcePolicyCommand.js +22 -0
- package/dist-es/commands/PutResourcePolicyCommand.js +22 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +52 -0
- package/dist-es/protocols/Aws_restJson1.js +154 -1
- package/dist-types/RUM.d.ts +21 -0
- package/dist-types/RUMClient.d.ts +5 -2
- package/dist-types/commands/CreateAppMonitorCommand.d.ts +10 -1
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +96 -0
- package/dist-types/commands/GetAppMonitorCommand.d.ts +9 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +93 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +102 -0
- package/dist-types/commands/PutRumEventsCommand.d.ts +1 -0
- package/dist-types/commands/UpdateAppMonitorCommand.d.ts +9 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +236 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/ts3.4/RUM.d.ts +51 -0
- package/dist-types/ts3.4/RUMClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +81 -1
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -249,6 +249,14 @@ DeleteAppMonitor
|
|
|
249
249
|
|
|
250
250
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/rum/command/DeleteAppMonitorCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rum/Interface/DeleteAppMonitorCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rum/Interface/DeleteAppMonitorCommandOutput/)
|
|
251
251
|
|
|
252
|
+
</details>
|
|
253
|
+
<details>
|
|
254
|
+
<summary>
|
|
255
|
+
DeleteResourcePolicy
|
|
256
|
+
</summary>
|
|
257
|
+
|
|
258
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/rum/command/DeleteResourcePolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rum/Interface/DeleteResourcePolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rum/Interface/DeleteResourcePolicyCommandOutput/)
|
|
259
|
+
|
|
252
260
|
</details>
|
|
253
261
|
<details>
|
|
254
262
|
<summary>
|
|
@@ -273,6 +281,14 @@ GetAppMonitorData
|
|
|
273
281
|
|
|
274
282
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/rum/command/GetAppMonitorDataCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rum/Interface/GetAppMonitorDataCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rum/Interface/GetAppMonitorDataCommandOutput/)
|
|
275
283
|
|
|
284
|
+
</details>
|
|
285
|
+
<details>
|
|
286
|
+
<summary>
|
|
287
|
+
GetResourcePolicy
|
|
288
|
+
</summary>
|
|
289
|
+
|
|
290
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/rum/command/GetResourcePolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rum/Interface/GetResourcePolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rum/Interface/GetResourcePolicyCommandOutput/)
|
|
291
|
+
|
|
276
292
|
</details>
|
|
277
293
|
<details>
|
|
278
294
|
<summary>
|
|
@@ -297,6 +313,14 @@ ListTagsForResource
|
|
|
297
313
|
|
|
298
314
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/rum/command/ListTagsForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rum/Interface/ListTagsForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rum/Interface/ListTagsForResourceCommandOutput/)
|
|
299
315
|
|
|
316
|
+
</details>
|
|
317
|
+
<details>
|
|
318
|
+
<summary>
|
|
319
|
+
PutResourcePolicy
|
|
320
|
+
</summary>
|
|
321
|
+
|
|
322
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/rum/command/PutResourcePolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rum/Interface/PutResourcePolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rum/Interface/PutResourcePolicyCommandOutput/)
|
|
323
|
+
|
|
300
324
|
</details>
|
|
301
325
|
<details>
|
|
302
326
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
|
|
21
21
|
// src/index.ts
|
|
22
|
-
var
|
|
23
|
-
__export(
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
24
|
AccessDeniedException: () => AccessDeniedException,
|
|
25
25
|
BatchCreateRumMetricDefinitionsCommand: () => BatchCreateRumMetricDefinitionsCommand,
|
|
26
26
|
BatchDeleteRumMetricDefinitionsCommand: () => BatchDeleteRumMetricDefinitionsCommand,
|
|
@@ -29,14 +29,22 @@ __export(src_exports, {
|
|
|
29
29
|
CreateAppMonitorCommand: () => CreateAppMonitorCommand,
|
|
30
30
|
CustomEventsStatus: () => CustomEventsStatus,
|
|
31
31
|
DeleteAppMonitorCommand: () => DeleteAppMonitorCommand,
|
|
32
|
+
DeleteResourcePolicyCommand: () => DeleteResourcePolicyCommand,
|
|
32
33
|
DeleteRumMetricsDestinationCommand: () => DeleteRumMetricsDestinationCommand,
|
|
34
|
+
DeobfuscationStatus: () => DeobfuscationStatus,
|
|
33
35
|
GetAppMonitorCommand: () => GetAppMonitorCommand,
|
|
34
36
|
GetAppMonitorDataCommand: () => GetAppMonitorDataCommand,
|
|
37
|
+
GetResourcePolicyCommand: () => GetResourcePolicyCommand,
|
|
35
38
|
InternalServerException: () => InternalServerException,
|
|
39
|
+
InvalidPolicyRevisionIdException: () => InvalidPolicyRevisionIdException,
|
|
36
40
|
ListAppMonitorsCommand: () => ListAppMonitorsCommand,
|
|
37
41
|
ListRumMetricsDestinationsCommand: () => ListRumMetricsDestinationsCommand,
|
|
38
42
|
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
43
|
+
MalformedPolicyDocumentException: () => MalformedPolicyDocumentException,
|
|
39
44
|
MetricDestination: () => MetricDestination,
|
|
45
|
+
PolicyNotFoundException: () => PolicyNotFoundException,
|
|
46
|
+
PolicySizeLimitExceededException: () => PolicySizeLimitExceededException,
|
|
47
|
+
PutResourcePolicyCommand: () => PutResourcePolicyCommand,
|
|
40
48
|
PutRumEventsCommand: () => PutRumEventsCommand,
|
|
41
49
|
PutRumMetricsDestinationCommand: () => PutRumMetricsDestinationCommand,
|
|
42
50
|
RUM: () => RUM,
|
|
@@ -58,7 +66,7 @@ __export(src_exports, {
|
|
|
58
66
|
paginateListAppMonitors: () => paginateListAppMonitors,
|
|
59
67
|
paginateListRumMetricsDestinations: () => paginateListRumMetricsDestinations
|
|
60
68
|
});
|
|
61
|
-
module.exports = __toCommonJS(
|
|
69
|
+
module.exports = __toCommonJS(index_exports);
|
|
62
70
|
|
|
63
71
|
// src/RUMClient.ts
|
|
64
72
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
@@ -185,9 +193,9 @@ var RUMClient = class extends import_smithy_client.Client {
|
|
|
185
193
|
this.middlewareStack.use(
|
|
186
194
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
187
195
|
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultRUMHttpAuthSchemeParametersProvider,
|
|
188
|
-
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
196
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
189
197
|
"aws.auth#sigv4": config.credentials
|
|
190
|
-
})
|
|
198
|
+
}), "identityProviderConfigProvider")
|
|
191
199
|
})
|
|
192
200
|
);
|
|
193
201
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -268,6 +276,10 @@ var CustomEventsStatus = {
|
|
|
268
276
|
DISABLED: "DISABLED",
|
|
269
277
|
ENABLED: "ENABLED"
|
|
270
278
|
};
|
|
279
|
+
var DeobfuscationStatus = {
|
|
280
|
+
DISABLED: "DISABLED",
|
|
281
|
+
ENABLED: "ENABLED"
|
|
282
|
+
};
|
|
271
283
|
var StateEnum = {
|
|
272
284
|
ACTIVE: "ACTIVE",
|
|
273
285
|
CREATED: "CREATED",
|
|
@@ -437,6 +449,78 @@ var ValidationException = class _ValidationException extends RUMServiceException
|
|
|
437
449
|
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
438
450
|
}
|
|
439
451
|
};
|
|
452
|
+
var InvalidPolicyRevisionIdException = class _InvalidPolicyRevisionIdException extends RUMServiceException {
|
|
453
|
+
static {
|
|
454
|
+
__name(this, "InvalidPolicyRevisionIdException");
|
|
455
|
+
}
|
|
456
|
+
name = "InvalidPolicyRevisionIdException";
|
|
457
|
+
$fault = "client";
|
|
458
|
+
/**
|
|
459
|
+
* @internal
|
|
460
|
+
*/
|
|
461
|
+
constructor(opts) {
|
|
462
|
+
super({
|
|
463
|
+
name: "InvalidPolicyRevisionIdException",
|
|
464
|
+
$fault: "client",
|
|
465
|
+
...opts
|
|
466
|
+
});
|
|
467
|
+
Object.setPrototypeOf(this, _InvalidPolicyRevisionIdException.prototype);
|
|
468
|
+
}
|
|
469
|
+
};
|
|
470
|
+
var PolicyNotFoundException = class _PolicyNotFoundException extends RUMServiceException {
|
|
471
|
+
static {
|
|
472
|
+
__name(this, "PolicyNotFoundException");
|
|
473
|
+
}
|
|
474
|
+
name = "PolicyNotFoundException";
|
|
475
|
+
$fault = "client";
|
|
476
|
+
/**
|
|
477
|
+
* @internal
|
|
478
|
+
*/
|
|
479
|
+
constructor(opts) {
|
|
480
|
+
super({
|
|
481
|
+
name: "PolicyNotFoundException",
|
|
482
|
+
$fault: "client",
|
|
483
|
+
...opts
|
|
484
|
+
});
|
|
485
|
+
Object.setPrototypeOf(this, _PolicyNotFoundException.prototype);
|
|
486
|
+
}
|
|
487
|
+
};
|
|
488
|
+
var MalformedPolicyDocumentException = class _MalformedPolicyDocumentException extends RUMServiceException {
|
|
489
|
+
static {
|
|
490
|
+
__name(this, "MalformedPolicyDocumentException");
|
|
491
|
+
}
|
|
492
|
+
name = "MalformedPolicyDocumentException";
|
|
493
|
+
$fault = "client";
|
|
494
|
+
/**
|
|
495
|
+
* @internal
|
|
496
|
+
*/
|
|
497
|
+
constructor(opts) {
|
|
498
|
+
super({
|
|
499
|
+
name: "MalformedPolicyDocumentException",
|
|
500
|
+
$fault: "client",
|
|
501
|
+
...opts
|
|
502
|
+
});
|
|
503
|
+
Object.setPrototypeOf(this, _MalformedPolicyDocumentException.prototype);
|
|
504
|
+
}
|
|
505
|
+
};
|
|
506
|
+
var PolicySizeLimitExceededException = class _PolicySizeLimitExceededException extends RUMServiceException {
|
|
507
|
+
static {
|
|
508
|
+
__name(this, "PolicySizeLimitExceededException");
|
|
509
|
+
}
|
|
510
|
+
name = "PolicySizeLimitExceededException";
|
|
511
|
+
$fault = "client";
|
|
512
|
+
/**
|
|
513
|
+
* @internal
|
|
514
|
+
*/
|
|
515
|
+
constructor(opts) {
|
|
516
|
+
super({
|
|
517
|
+
name: "PolicySizeLimitExceededException",
|
|
518
|
+
$fault: "client",
|
|
519
|
+
...opts
|
|
520
|
+
});
|
|
521
|
+
Object.setPrototypeOf(this, _PolicySizeLimitExceededException.prototype);
|
|
522
|
+
}
|
|
523
|
+
};
|
|
440
524
|
|
|
441
525
|
// src/protocols/Aws_restJson1.ts
|
|
442
526
|
var se_BatchCreateRumMetricDefinitionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
@@ -451,7 +535,7 @@ var se_BatchCreateRumMetricDefinitionsCommand = /* @__PURE__ */ __name(async (in
|
|
|
451
535
|
(0, import_smithy_client.take)(input, {
|
|
452
536
|
Destination: [],
|
|
453
537
|
DestinationArn: [],
|
|
454
|
-
MetricDefinitions: (_) => (0, import_smithy_client._json)(_)
|
|
538
|
+
MetricDefinitions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "MetricDefinitions")
|
|
455
539
|
})
|
|
456
540
|
);
|
|
457
541
|
b.m("POST").h(headers).b(body);
|
|
@@ -495,12 +579,14 @@ var se_CreateAppMonitorCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
495
579
|
let body;
|
|
496
580
|
body = JSON.stringify(
|
|
497
581
|
(0, import_smithy_client.take)(input, {
|
|
498
|
-
AppMonitorConfiguration: (_) => se_AppMonitorConfiguration(_, context),
|
|
499
|
-
CustomEvents: (_) => (0, import_smithy_client._json)(_),
|
|
582
|
+
AppMonitorConfiguration: /* @__PURE__ */ __name((_) => se_AppMonitorConfiguration(_, context), "AppMonitorConfiguration"),
|
|
583
|
+
CustomEvents: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "CustomEvents"),
|
|
500
584
|
CwLogEnabled: [],
|
|
585
|
+
DeobfuscationConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "DeobfuscationConfiguration"),
|
|
501
586
|
Domain: [],
|
|
587
|
+
DomainList: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "DomainList"),
|
|
502
588
|
Name: [],
|
|
503
|
-
Tags: (_) => (0, import_smithy_client._json)(_)
|
|
589
|
+
Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
|
|
504
590
|
})
|
|
505
591
|
);
|
|
506
592
|
b.m("POST").h(headers).b(body);
|
|
@@ -515,6 +601,18 @@ var se_DeleteAppMonitorCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
515
601
|
b.m("DELETE").h(headers).b(body);
|
|
516
602
|
return b.build();
|
|
517
603
|
}, "se_DeleteAppMonitorCommand");
|
|
604
|
+
var se_DeleteResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
605
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
606
|
+
const headers = {};
|
|
607
|
+
b.bp("/appmonitor/{Name}/policy");
|
|
608
|
+
b.p("Name", () => input.Name, "{Name}", false);
|
|
609
|
+
const query = (0, import_smithy_client.map)({
|
|
610
|
+
[_pRI]: [, input[_PRI]]
|
|
611
|
+
});
|
|
612
|
+
let body;
|
|
613
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
614
|
+
return b.build();
|
|
615
|
+
}, "se_DeleteResourcePolicyCommand");
|
|
518
616
|
var se_DeleteRumMetricsDestinationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
519
617
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
520
618
|
const headers = {};
|
|
@@ -547,15 +645,24 @@ var se_GetAppMonitorDataCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
547
645
|
let body;
|
|
548
646
|
body = JSON.stringify(
|
|
549
647
|
(0, import_smithy_client.take)(input, {
|
|
550
|
-
Filters: (_) => (0, import_smithy_client._json)(_),
|
|
648
|
+
Filters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Filters"),
|
|
551
649
|
MaxResults: [],
|
|
552
650
|
NextToken: [],
|
|
553
|
-
TimeRange: (_) => (0, import_smithy_client._json)(_)
|
|
651
|
+
TimeRange: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "TimeRange")
|
|
554
652
|
})
|
|
555
653
|
);
|
|
556
654
|
b.m("POST").h(headers).b(body);
|
|
557
655
|
return b.build();
|
|
558
656
|
}, "se_GetAppMonitorDataCommand");
|
|
657
|
+
var se_GetResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
658
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
659
|
+
const headers = {};
|
|
660
|
+
b.bp("/appmonitor/{Name}/policy");
|
|
661
|
+
b.p("Name", () => input.Name, "{Name}", false);
|
|
662
|
+
let body;
|
|
663
|
+
b.m("GET").h(headers).b(body);
|
|
664
|
+
return b.build();
|
|
665
|
+
}, "se_GetResourcePolicyCommand");
|
|
559
666
|
var se_ListAppMonitorsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
560
667
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
561
668
|
const headers = {};
|
|
@@ -590,6 +697,23 @@ var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context
|
|
|
590
697
|
b.m("GET").h(headers).b(body);
|
|
591
698
|
return b.build();
|
|
592
699
|
}, "se_ListTagsForResourceCommand");
|
|
700
|
+
var se_PutResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
701
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
702
|
+
const headers = {
|
|
703
|
+
"content-type": "application/json"
|
|
704
|
+
};
|
|
705
|
+
b.bp("/appmonitor/{Name}/policy");
|
|
706
|
+
b.p("Name", () => input.Name, "{Name}", false);
|
|
707
|
+
let body;
|
|
708
|
+
body = JSON.stringify(
|
|
709
|
+
(0, import_smithy_client.take)(input, {
|
|
710
|
+
PolicyDocument: [],
|
|
711
|
+
PolicyRevisionId: []
|
|
712
|
+
})
|
|
713
|
+
);
|
|
714
|
+
b.m("PUT").h(headers).b(body);
|
|
715
|
+
return b.build();
|
|
716
|
+
}, "se_PutResourcePolicyCommand");
|
|
593
717
|
var se_PutRumEventsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
594
718
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
595
719
|
const headers = {
|
|
@@ -600,10 +724,11 @@ var se_PutRumEventsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
600
724
|
let body;
|
|
601
725
|
body = JSON.stringify(
|
|
602
726
|
(0, import_smithy_client.take)(input, {
|
|
603
|
-
|
|
727
|
+
Alias: [],
|
|
728
|
+
AppMonitorDetails: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AppMonitorDetails"),
|
|
604
729
|
BatchId: [],
|
|
605
|
-
RumEvents: (_) => se_RumEventList(_, context),
|
|
606
|
-
UserDetails: (_) => (0, import_smithy_client._json)(_)
|
|
730
|
+
RumEvents: /* @__PURE__ */ __name((_) => se_RumEventList(_, context), "RumEvents"),
|
|
731
|
+
UserDetails: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "UserDetails")
|
|
607
732
|
})
|
|
608
733
|
);
|
|
609
734
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -645,7 +770,7 @@ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
645
770
|
let body;
|
|
646
771
|
body = JSON.stringify(
|
|
647
772
|
(0, import_smithy_client.take)(input, {
|
|
648
|
-
Tags: (_) => (0, import_smithy_client._json)(_)
|
|
773
|
+
Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
|
|
649
774
|
})
|
|
650
775
|
);
|
|
651
776
|
b.m("POST").h(headers).b(body);
|
|
@@ -673,10 +798,12 @@ var se_UpdateAppMonitorCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
673
798
|
let body;
|
|
674
799
|
body = JSON.stringify(
|
|
675
800
|
(0, import_smithy_client.take)(input, {
|
|
676
|
-
AppMonitorConfiguration: (_) => se_AppMonitorConfiguration(_, context),
|
|
677
|
-
CustomEvents: (_) => (0, import_smithy_client._json)(_),
|
|
801
|
+
AppMonitorConfiguration: /* @__PURE__ */ __name((_) => se_AppMonitorConfiguration(_, context), "AppMonitorConfiguration"),
|
|
802
|
+
CustomEvents: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "CustomEvents"),
|
|
678
803
|
CwLogEnabled: [],
|
|
679
|
-
|
|
804
|
+
DeobfuscationConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "DeobfuscationConfiguration"),
|
|
805
|
+
Domain: [],
|
|
806
|
+
DomainList: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "DomainList")
|
|
680
807
|
})
|
|
681
808
|
);
|
|
682
809
|
b.m("PATCH").h(headers).b(body);
|
|
@@ -694,7 +821,7 @@ var se_UpdateRumMetricDefinitionCommand = /* @__PURE__ */ __name(async (input, c
|
|
|
694
821
|
(0, import_smithy_client.take)(input, {
|
|
695
822
|
Destination: [],
|
|
696
823
|
DestinationArn: [],
|
|
697
|
-
MetricDefinition: (_) => (0, import_smithy_client._json)(_),
|
|
824
|
+
MetricDefinition: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "MetricDefinition"),
|
|
698
825
|
MetricDefinitionId: []
|
|
699
826
|
})
|
|
700
827
|
);
|
|
@@ -770,6 +897,20 @@ var de_DeleteAppMonitorCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
770
897
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
771
898
|
return contents;
|
|
772
899
|
}, "de_DeleteAppMonitorCommand");
|
|
900
|
+
var de_DeleteResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
901
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
902
|
+
return de_CommandError(output, context);
|
|
903
|
+
}
|
|
904
|
+
const contents = (0, import_smithy_client.map)({
|
|
905
|
+
$metadata: deserializeMetadata(output)
|
|
906
|
+
});
|
|
907
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
908
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
909
|
+
PolicyRevisionId: import_smithy_client.expectString
|
|
910
|
+
});
|
|
911
|
+
Object.assign(contents, doc);
|
|
912
|
+
return contents;
|
|
913
|
+
}, "de_DeleteResourcePolicyCommand");
|
|
773
914
|
var de_DeleteRumMetricsDestinationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
774
915
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
775
916
|
return de_CommandError(output, context);
|
|
@@ -789,7 +930,7 @@ var de_GetAppMonitorCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
789
930
|
});
|
|
790
931
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
791
932
|
const doc = (0, import_smithy_client.take)(data, {
|
|
792
|
-
AppMonitor: (_) => de_AppMonitor(_, context)
|
|
933
|
+
AppMonitor: /* @__PURE__ */ __name((_) => de_AppMonitor(_, context), "AppMonitor")
|
|
793
934
|
});
|
|
794
935
|
Object.assign(contents, doc);
|
|
795
936
|
return contents;
|
|
@@ -809,6 +950,21 @@ var de_GetAppMonitorDataCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
809
950
|
Object.assign(contents, doc);
|
|
810
951
|
return contents;
|
|
811
952
|
}, "de_GetAppMonitorDataCommand");
|
|
953
|
+
var de_GetResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
954
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
955
|
+
return de_CommandError(output, context);
|
|
956
|
+
}
|
|
957
|
+
const contents = (0, import_smithy_client.map)({
|
|
958
|
+
$metadata: deserializeMetadata(output)
|
|
959
|
+
});
|
|
960
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
961
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
962
|
+
PolicyDocument: import_smithy_client.expectString,
|
|
963
|
+
PolicyRevisionId: import_smithy_client.expectString
|
|
964
|
+
});
|
|
965
|
+
Object.assign(contents, doc);
|
|
966
|
+
return contents;
|
|
967
|
+
}, "de_GetResourcePolicyCommand");
|
|
812
968
|
var de_ListAppMonitorsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
813
969
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
814
970
|
return de_CommandError(output, context);
|
|
@@ -854,6 +1010,21 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
854
1010
|
Object.assign(contents, doc);
|
|
855
1011
|
return contents;
|
|
856
1012
|
}, "de_ListTagsForResourceCommand");
|
|
1013
|
+
var de_PutResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1014
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1015
|
+
return de_CommandError(output, context);
|
|
1016
|
+
}
|
|
1017
|
+
const contents = (0, import_smithy_client.map)({
|
|
1018
|
+
$metadata: deserializeMetadata(output)
|
|
1019
|
+
});
|
|
1020
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1021
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1022
|
+
PolicyDocument: import_smithy_client.expectString,
|
|
1023
|
+
PolicyRevisionId: import_smithy_client.expectString
|
|
1024
|
+
});
|
|
1025
|
+
Object.assign(contents, doc);
|
|
1026
|
+
return contents;
|
|
1027
|
+
}, "de_PutResourcePolicyCommand");
|
|
857
1028
|
var de_PutRumEventsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
858
1029
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
859
1030
|
return de_CommandError(output, context);
|
|
@@ -942,6 +1113,18 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
942
1113
|
case "ValidationException":
|
|
943
1114
|
case "com.amazonaws.rum#ValidationException":
|
|
944
1115
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1116
|
+
case "InvalidPolicyRevisionIdException":
|
|
1117
|
+
case "com.amazonaws.rum#InvalidPolicyRevisionIdException":
|
|
1118
|
+
throw await de_InvalidPolicyRevisionIdExceptionRes(parsedOutput, context);
|
|
1119
|
+
case "PolicyNotFoundException":
|
|
1120
|
+
case "com.amazonaws.rum#PolicyNotFoundException":
|
|
1121
|
+
throw await de_PolicyNotFoundExceptionRes(parsedOutput, context);
|
|
1122
|
+
case "MalformedPolicyDocumentException":
|
|
1123
|
+
case "com.amazonaws.rum#MalformedPolicyDocumentException":
|
|
1124
|
+
throw await de_MalformedPolicyDocumentExceptionRes(parsedOutput, context);
|
|
1125
|
+
case "PolicySizeLimitExceededException":
|
|
1126
|
+
case "com.amazonaws.rum#PolicySizeLimitExceededException":
|
|
1127
|
+
throw await de_PolicySizeLimitExceededExceptionRes(parsedOutput, context);
|
|
945
1128
|
default:
|
|
946
1129
|
const parsedBody = parsedOutput.body;
|
|
947
1130
|
return throwDefaultError({
|
|
@@ -995,6 +1178,58 @@ var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput,
|
|
|
995
1178
|
});
|
|
996
1179
|
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
997
1180
|
}, "de_InternalServerExceptionRes");
|
|
1181
|
+
var de_InvalidPolicyRevisionIdExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1182
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1183
|
+
const data = parsedOutput.body;
|
|
1184
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1185
|
+
message: import_smithy_client.expectString
|
|
1186
|
+
});
|
|
1187
|
+
Object.assign(contents, doc);
|
|
1188
|
+
const exception = new InvalidPolicyRevisionIdException({
|
|
1189
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1190
|
+
...contents
|
|
1191
|
+
});
|
|
1192
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1193
|
+
}, "de_InvalidPolicyRevisionIdExceptionRes");
|
|
1194
|
+
var de_MalformedPolicyDocumentExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1195
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1196
|
+
const data = parsedOutput.body;
|
|
1197
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1198
|
+
message: import_smithy_client.expectString
|
|
1199
|
+
});
|
|
1200
|
+
Object.assign(contents, doc);
|
|
1201
|
+
const exception = new MalformedPolicyDocumentException({
|
|
1202
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1203
|
+
...contents
|
|
1204
|
+
});
|
|
1205
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1206
|
+
}, "de_MalformedPolicyDocumentExceptionRes");
|
|
1207
|
+
var de_PolicyNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1208
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1209
|
+
const data = parsedOutput.body;
|
|
1210
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1211
|
+
message: import_smithy_client.expectString
|
|
1212
|
+
});
|
|
1213
|
+
Object.assign(contents, doc);
|
|
1214
|
+
const exception = new PolicyNotFoundException({
|
|
1215
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1216
|
+
...contents
|
|
1217
|
+
});
|
|
1218
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1219
|
+
}, "de_PolicyNotFoundExceptionRes");
|
|
1220
|
+
var de_PolicySizeLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1221
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1222
|
+
const data = parsedOutput.body;
|
|
1223
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1224
|
+
message: import_smithy_client.expectString
|
|
1225
|
+
});
|
|
1226
|
+
Object.assign(contents, doc);
|
|
1227
|
+
const exception = new PolicySizeLimitExceededException({
|
|
1228
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1229
|
+
...contents
|
|
1230
|
+
});
|
|
1231
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1232
|
+
}, "de_PolicySizeLimitExceededExceptionRes");
|
|
998
1233
|
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
999
1234
|
const contents = (0, import_smithy_client.map)({});
|
|
1000
1235
|
const data = parsedOutput.body;
|
|
@@ -1071,7 +1306,7 @@ var se_RumEvent = /* @__PURE__ */ __name((input, context) => {
|
|
|
1071
1306
|
details: import_smithy_client.LazyJsonString.from,
|
|
1072
1307
|
id: [],
|
|
1073
1308
|
metadata: import_smithy_client.LazyJsonString.from,
|
|
1074
|
-
timestamp: (_) => _.getTime() / 1e3,
|
|
1309
|
+
timestamp: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "timestamp"),
|
|
1075
1310
|
type: []
|
|
1076
1311
|
});
|
|
1077
1312
|
}, "se_RumEvent");
|
|
@@ -1082,11 +1317,13 @@ var se_RumEventList = /* @__PURE__ */ __name((input, context) => {
|
|
|
1082
1317
|
}, "se_RumEventList");
|
|
1083
1318
|
var de_AppMonitor = /* @__PURE__ */ __name((output, context) => {
|
|
1084
1319
|
return (0, import_smithy_client.take)(output, {
|
|
1085
|
-
AppMonitorConfiguration: (_) => de_AppMonitorConfiguration(_, context),
|
|
1320
|
+
AppMonitorConfiguration: /* @__PURE__ */ __name((_) => de_AppMonitorConfiguration(_, context), "AppMonitorConfiguration"),
|
|
1086
1321
|
Created: import_smithy_client.expectString,
|
|
1087
1322
|
CustomEvents: import_smithy_client._json,
|
|
1088
1323
|
DataStorage: import_smithy_client._json,
|
|
1324
|
+
DeobfuscationConfiguration: import_smithy_client._json,
|
|
1089
1325
|
Domain: import_smithy_client.expectString,
|
|
1326
|
+
DomainList: import_smithy_client._json,
|
|
1090
1327
|
Id: import_smithy_client.expectString,
|
|
1091
1328
|
LastModified: import_smithy_client.expectString,
|
|
1092
1329
|
Name: import_smithy_client.expectString,
|
|
@@ -1118,12 +1355,14 @@ var _DA = "DestinationArn";
|
|
|
1118
1355
|
var _MDI = "MetricDefinitionIds";
|
|
1119
1356
|
var _MR = "MaxResults";
|
|
1120
1357
|
var _NT = "NextToken";
|
|
1358
|
+
var _PRI = "PolicyRevisionId";
|
|
1121
1359
|
var _TK = "TagKeys";
|
|
1122
1360
|
var _d = "destination";
|
|
1123
1361
|
var _dA = "destinationArn";
|
|
1124
1362
|
var _mDI = "metricDefinitionIds";
|
|
1125
1363
|
var _mR = "maxResults";
|
|
1126
1364
|
var _nT = "nextToken";
|
|
1365
|
+
var _pRI = "policyRevisionId";
|
|
1127
1366
|
var _rAS = "retryAfterSeconds";
|
|
1128
1367
|
var _ra = "retry-after";
|
|
1129
1368
|
var _tK = "tagKeys";
|
|
@@ -1200,6 +1439,21 @@ var DeleteAppMonitorCommand = class extends import_smithy_client.Command.classBu
|
|
|
1200
1439
|
}
|
|
1201
1440
|
};
|
|
1202
1441
|
|
|
1442
|
+
// src/commands/DeleteResourcePolicyCommand.ts
|
|
1443
|
+
|
|
1444
|
+
|
|
1445
|
+
|
|
1446
|
+
var DeleteResourcePolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1447
|
+
return [
|
|
1448
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1449
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1450
|
+
];
|
|
1451
|
+
}).s("RUM", "DeleteResourcePolicy", {}).n("RUMClient", "DeleteResourcePolicyCommand").f(void 0, void 0).ser(se_DeleteResourcePolicyCommand).de(de_DeleteResourcePolicyCommand).build() {
|
|
1452
|
+
static {
|
|
1453
|
+
__name(this, "DeleteResourcePolicyCommand");
|
|
1454
|
+
}
|
|
1455
|
+
};
|
|
1456
|
+
|
|
1203
1457
|
// src/commands/DeleteRumMetricsDestinationCommand.ts
|
|
1204
1458
|
|
|
1205
1459
|
|
|
@@ -1245,6 +1499,21 @@ var GetAppMonitorDataCommand = class extends import_smithy_client.Command.classB
|
|
|
1245
1499
|
}
|
|
1246
1500
|
};
|
|
1247
1501
|
|
|
1502
|
+
// src/commands/GetResourcePolicyCommand.ts
|
|
1503
|
+
|
|
1504
|
+
|
|
1505
|
+
|
|
1506
|
+
var GetResourcePolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1507
|
+
return [
|
|
1508
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1509
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1510
|
+
];
|
|
1511
|
+
}).s("RUM", "GetResourcePolicy", {}).n("RUMClient", "GetResourcePolicyCommand").f(void 0, void 0).ser(se_GetResourcePolicyCommand).de(de_GetResourcePolicyCommand).build() {
|
|
1512
|
+
static {
|
|
1513
|
+
__name(this, "GetResourcePolicyCommand");
|
|
1514
|
+
}
|
|
1515
|
+
};
|
|
1516
|
+
|
|
1248
1517
|
// src/commands/ListAppMonitorsCommand.ts
|
|
1249
1518
|
|
|
1250
1519
|
|
|
@@ -1290,6 +1559,21 @@ var ListTagsForResourceCommand = class extends import_smithy_client.Command.clas
|
|
|
1290
1559
|
}
|
|
1291
1560
|
};
|
|
1292
1561
|
|
|
1562
|
+
// src/commands/PutResourcePolicyCommand.ts
|
|
1563
|
+
|
|
1564
|
+
|
|
1565
|
+
|
|
1566
|
+
var PutResourcePolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1567
|
+
return [
|
|
1568
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1569
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1570
|
+
];
|
|
1571
|
+
}).s("RUM", "PutResourcePolicy", {}).n("RUMClient", "PutResourcePolicyCommand").f(void 0, void 0).ser(se_PutResourcePolicyCommand).de(de_PutResourcePolicyCommand).build() {
|
|
1572
|
+
static {
|
|
1573
|
+
__name(this, "PutResourcePolicyCommand");
|
|
1574
|
+
}
|
|
1575
|
+
};
|
|
1576
|
+
|
|
1293
1577
|
// src/commands/PutRumEventsCommand.ts
|
|
1294
1578
|
|
|
1295
1579
|
|
|
@@ -1387,12 +1671,15 @@ var commands = {
|
|
|
1387
1671
|
BatchGetRumMetricDefinitionsCommand,
|
|
1388
1672
|
CreateAppMonitorCommand,
|
|
1389
1673
|
DeleteAppMonitorCommand,
|
|
1674
|
+
DeleteResourcePolicyCommand,
|
|
1390
1675
|
DeleteRumMetricsDestinationCommand,
|
|
1391
1676
|
GetAppMonitorCommand,
|
|
1392
1677
|
GetAppMonitorDataCommand,
|
|
1678
|
+
GetResourcePolicyCommand,
|
|
1393
1679
|
ListAppMonitorsCommand,
|
|
1394
1680
|
ListRumMetricsDestinationsCommand,
|
|
1395
1681
|
ListTagsForResourceCommand,
|
|
1682
|
+
PutResourcePolicyCommand,
|
|
1396
1683
|
PutRumEventsCommand,
|
|
1397
1684
|
PutRumMetricsDestinationCommand,
|
|
1398
1685
|
TagResourceCommand,
|
|
@@ -1435,12 +1722,15 @@ var paginateListRumMetricsDestinations = (0, import_core.createPaginator)(RUMCli
|
|
|
1435
1722
|
BatchGetRumMetricDefinitionsCommand,
|
|
1436
1723
|
CreateAppMonitorCommand,
|
|
1437
1724
|
DeleteAppMonitorCommand,
|
|
1725
|
+
DeleteResourcePolicyCommand,
|
|
1438
1726
|
DeleteRumMetricsDestinationCommand,
|
|
1439
1727
|
GetAppMonitorCommand,
|
|
1440
1728
|
GetAppMonitorDataCommand,
|
|
1729
|
+
GetResourcePolicyCommand,
|
|
1441
1730
|
ListAppMonitorsCommand,
|
|
1442
1731
|
ListRumMetricsDestinationsCommand,
|
|
1443
1732
|
ListTagsForResourceCommand,
|
|
1733
|
+
PutResourcePolicyCommand,
|
|
1444
1734
|
PutRumEventsCommand,
|
|
1445
1735
|
PutRumMetricsDestinationCommand,
|
|
1446
1736
|
TagResourceCommand,
|
|
@@ -1454,6 +1744,7 @@ var paginateListRumMetricsDestinations = (0, import_core.createPaginator)(RUMCli
|
|
|
1454
1744
|
AccessDeniedException,
|
|
1455
1745
|
Telemetry,
|
|
1456
1746
|
CustomEventsStatus,
|
|
1747
|
+
DeobfuscationStatus,
|
|
1457
1748
|
StateEnum,
|
|
1458
1749
|
MetricDestination,
|
|
1459
1750
|
ConflictException,
|
|
@@ -1461,6 +1752,10 @@ var paginateListRumMetricsDestinations = (0, import_core.createPaginator)(RUMCli
|
|
|
1461
1752
|
ResourceNotFoundException,
|
|
1462
1753
|
ServiceQuotaExceededException,
|
|
1463
1754
|
ThrottlingException,
|
|
1464
|
-
ValidationException
|
|
1755
|
+
ValidationException,
|
|
1756
|
+
InvalidPolicyRevisionIdException,
|
|
1757
|
+
PolicyNotFoundException,
|
|
1758
|
+
MalformedPolicyDocumentException,
|
|
1759
|
+
PolicySizeLimitExceededException
|
|
1465
1760
|
});
|
|
1466
1761
|
|
package/dist-es/RUM.js
CHANGED
|
@@ -4,12 +4,15 @@ import { BatchDeleteRumMetricDefinitionsCommand, } from "./commands/BatchDeleteR
|
|
|
4
4
|
import { BatchGetRumMetricDefinitionsCommand, } from "./commands/BatchGetRumMetricDefinitionsCommand";
|
|
5
5
|
import { CreateAppMonitorCommand, } from "./commands/CreateAppMonitorCommand";
|
|
6
6
|
import { DeleteAppMonitorCommand, } from "./commands/DeleteAppMonitorCommand";
|
|
7
|
+
import { DeleteResourcePolicyCommand, } from "./commands/DeleteResourcePolicyCommand";
|
|
7
8
|
import { DeleteRumMetricsDestinationCommand, } from "./commands/DeleteRumMetricsDestinationCommand";
|
|
8
9
|
import { GetAppMonitorCommand, } from "./commands/GetAppMonitorCommand";
|
|
9
10
|
import { GetAppMonitorDataCommand, } from "./commands/GetAppMonitorDataCommand";
|
|
11
|
+
import { GetResourcePolicyCommand, } from "./commands/GetResourcePolicyCommand";
|
|
10
12
|
import { ListAppMonitorsCommand, } from "./commands/ListAppMonitorsCommand";
|
|
11
13
|
import { ListRumMetricsDestinationsCommand, } from "./commands/ListRumMetricsDestinationsCommand";
|
|
12
14
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
15
|
+
import { PutResourcePolicyCommand, } from "./commands/PutResourcePolicyCommand";
|
|
13
16
|
import { PutRumEventsCommand, } from "./commands/PutRumEventsCommand";
|
|
14
17
|
import { PutRumMetricsDestinationCommand, } from "./commands/PutRumMetricsDestinationCommand";
|
|
15
18
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
@@ -23,12 +26,15 @@ const commands = {
|
|
|
23
26
|
BatchGetRumMetricDefinitionsCommand,
|
|
24
27
|
CreateAppMonitorCommand,
|
|
25
28
|
DeleteAppMonitorCommand,
|
|
29
|
+
DeleteResourcePolicyCommand,
|
|
26
30
|
DeleteRumMetricsDestinationCommand,
|
|
27
31
|
GetAppMonitorCommand,
|
|
28
32
|
GetAppMonitorDataCommand,
|
|
33
|
+
GetResourcePolicyCommand,
|
|
29
34
|
ListAppMonitorsCommand,
|
|
30
35
|
ListRumMetricsDestinationsCommand,
|
|
31
36
|
ListTagsForResourceCommand,
|
|
37
|
+
PutResourcePolicyCommand,
|
|
32
38
|
PutRumEventsCommand,
|
|
33
39
|
PutRumMetricsDestinationCommand,
|
|
34
40
|
TagResourceCommand,
|