@aws-sdk/client-rum 3.490.0 → 3.496.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist-cjs/RUM.js +1 -45
  2. package/dist-cjs/RUMClient.js +1 -43
  3. package/dist-cjs/commands/BatchCreateRumMetricDefinitionsCommand.js +1 -28
  4. package/dist-cjs/commands/BatchDeleteRumMetricDefinitionsCommand.js +1 -28
  5. package/dist-cjs/commands/BatchGetRumMetricDefinitionsCommand.js +1 -28
  6. package/dist-cjs/commands/CreateAppMonitorCommand.js +1 -28
  7. package/dist-cjs/commands/DeleteAppMonitorCommand.js +1 -28
  8. package/dist-cjs/commands/DeleteRumMetricsDestinationCommand.js +1 -28
  9. package/dist-cjs/commands/GetAppMonitorCommand.js +1 -28
  10. package/dist-cjs/commands/GetAppMonitorDataCommand.js +1 -28
  11. package/dist-cjs/commands/ListAppMonitorsCommand.js +1 -28
  12. package/dist-cjs/commands/ListRumMetricsDestinationsCommand.js +1 -28
  13. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  14. package/dist-cjs/commands/PutRumEventsCommand.js +1 -28
  15. package/dist-cjs/commands/PutRumMetricsDestinationCommand.js +1 -28
  16. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  17. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  18. package/dist-cjs/commands/UpdateAppMonitorCommand.js +1 -28
  19. package/dist-cjs/commands/UpdateRumMetricDefinitionCommand.js +1 -28
  20. package/dist-cjs/commands/index.js +1 -20
  21. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  22. package/dist-cjs/extensionConfiguration.js +1 -2
  23. package/dist-cjs/index.js +1937 -11
  24. package/dist-cjs/models/RUMServiceException.js +1 -12
  25. package/dist-cjs/models/index.js +1 -4
  26. package/dist-cjs/models/models_0.js +1 -125
  27. package/dist-cjs/pagination/BatchGetRumMetricDefinitionsPaginator.js +1 -7
  28. package/dist-cjs/pagination/GetAppMonitorDataPaginator.js +1 -7
  29. package/dist-cjs/pagination/Interfaces.js +1 -2
  30. package/dist-cjs/pagination/ListAppMonitorsPaginator.js +1 -7
  31. package/dist-cjs/pagination/ListRumMetricsDestinationsPaginator.js +1 -7
  32. package/dist-cjs/pagination/index.js +1 -8
  33. package/dist-cjs/protocols/Aws_restJson1.js +1 -1264
  34. package/dist-cjs/runtimeExtensions.js +1 -22
  35. package/package.json +40 -40
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RUMServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class RUMServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, RUMServiceException.prototype);
10
- }
11
- }
12
- exports.RUMServiceException = RUMServiceException;
1
+ module.exports = require("../index.js");
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
1
+ module.exports = require("../index.js");
@@ -1,125 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.MetricDestination = exports.StateEnum = exports.CustomEventsStatus = exports.Telemetry = exports.AccessDeniedException = void 0;
4
- const RUMServiceException_1 = require("./RUMServiceException");
5
- class AccessDeniedException extends RUMServiceException_1.RUMServiceException {
6
- constructor(opts) {
7
- super({
8
- name: "AccessDeniedException",
9
- $fault: "client",
10
- ...opts,
11
- });
12
- this.name = "AccessDeniedException";
13
- this.$fault = "client";
14
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
15
- }
16
- }
17
- exports.AccessDeniedException = AccessDeniedException;
18
- exports.Telemetry = {
19
- ERRORS: "errors",
20
- HTTP: "http",
21
- PERFORMANCE: "performance",
22
- };
23
- exports.CustomEventsStatus = {
24
- DISABLED: "DISABLED",
25
- ENABLED: "ENABLED",
26
- };
27
- exports.StateEnum = {
28
- ACTIVE: "ACTIVE",
29
- CREATED: "CREATED",
30
- DELETING: "DELETING",
31
- };
32
- exports.MetricDestination = {
33
- CloudWatch: "CloudWatch",
34
- Evidently: "Evidently",
35
- };
36
- class ConflictException extends RUMServiceException_1.RUMServiceException {
37
- constructor(opts) {
38
- super({
39
- name: "ConflictException",
40
- $fault: "client",
41
- ...opts,
42
- });
43
- this.name = "ConflictException";
44
- this.$fault = "client";
45
- Object.setPrototypeOf(this, ConflictException.prototype);
46
- this.resourceName = opts.resourceName;
47
- this.resourceType = opts.resourceType;
48
- }
49
- }
50
- exports.ConflictException = ConflictException;
51
- class InternalServerException extends RUMServiceException_1.RUMServiceException {
52
- constructor(opts) {
53
- super({
54
- name: "InternalServerException",
55
- $fault: "server",
56
- ...opts,
57
- });
58
- this.name = "InternalServerException";
59
- this.$fault = "server";
60
- this.$retryable = {};
61
- Object.setPrototypeOf(this, InternalServerException.prototype);
62
- this.retryAfterSeconds = opts.retryAfterSeconds;
63
- }
64
- }
65
- exports.InternalServerException = InternalServerException;
66
- class ResourceNotFoundException extends RUMServiceException_1.RUMServiceException {
67
- constructor(opts) {
68
- super({
69
- name: "ResourceNotFoundException",
70
- $fault: "client",
71
- ...opts,
72
- });
73
- this.name = "ResourceNotFoundException";
74
- this.$fault = "client";
75
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
76
- this.resourceName = opts.resourceName;
77
- this.resourceType = opts.resourceType;
78
- }
79
- }
80
- exports.ResourceNotFoundException = ResourceNotFoundException;
81
- class ServiceQuotaExceededException extends RUMServiceException_1.RUMServiceException {
82
- constructor(opts) {
83
- super({
84
- name: "ServiceQuotaExceededException",
85
- $fault: "client",
86
- ...opts,
87
- });
88
- this.name = "ServiceQuotaExceededException";
89
- this.$fault = "client";
90
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
91
- }
92
- }
93
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
94
- class ThrottlingException extends RUMServiceException_1.RUMServiceException {
95
- constructor(opts) {
96
- super({
97
- name: "ThrottlingException",
98
- $fault: "client",
99
- ...opts,
100
- });
101
- this.name = "ThrottlingException";
102
- this.$fault = "client";
103
- this.$retryable = {
104
- throttling: true,
105
- };
106
- Object.setPrototypeOf(this, ThrottlingException.prototype);
107
- this.serviceCode = opts.serviceCode;
108
- this.quotaCode = opts.quotaCode;
109
- this.retryAfterSeconds = opts.retryAfterSeconds;
110
- }
111
- }
112
- exports.ThrottlingException = ThrottlingException;
113
- class ValidationException extends RUMServiceException_1.RUMServiceException {
114
- constructor(opts) {
115
- super({
116
- name: "ValidationException",
117
- $fault: "client",
118
- ...opts,
119
- });
120
- this.name = "ValidationException";
121
- this.$fault = "client";
122
- Object.setPrototypeOf(this, ValidationException.prototype);
123
- }
124
- }
125
- exports.ValidationException = ValidationException;
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateBatchGetRumMetricDefinitions = void 0;
4
- const core_1 = require("@smithy/core");
5
- const BatchGetRumMetricDefinitionsCommand_1 = require("../commands/BatchGetRumMetricDefinitionsCommand");
6
- const RUMClient_1 = require("../RUMClient");
7
- exports.paginateBatchGetRumMetricDefinitions = (0, core_1.createPaginator)(RUMClient_1.RUMClient, BatchGetRumMetricDefinitionsCommand_1.BatchGetRumMetricDefinitionsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateGetAppMonitorData = void 0;
4
- const core_1 = require("@smithy/core");
5
- const GetAppMonitorDataCommand_1 = require("../commands/GetAppMonitorDataCommand");
6
- const RUMClient_1 = require("../RUMClient");
7
- exports.paginateGetAppMonitorData = (0, core_1.createPaginator)(RUMClient_1.RUMClient, GetAppMonitorDataCommand_1.GetAppMonitorDataCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListAppMonitors = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListAppMonitorsCommand_1 = require("../commands/ListAppMonitorsCommand");
6
- const RUMClient_1 = require("../RUMClient");
7
- exports.paginateListAppMonitors = (0, core_1.createPaginator)(RUMClient_1.RUMClient, ListAppMonitorsCommand_1.ListAppMonitorsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListRumMetricsDestinations = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListRumMetricsDestinationsCommand_1 = require("../commands/ListRumMetricsDestinationsCommand");
6
- const RUMClient_1 = require("../RUMClient");
7
- exports.paginateListRumMetricsDestinations = (0, core_1.createPaginator)(RUMClient_1.RUMClient, ListRumMetricsDestinationsCommand_1.ListRumMetricsDestinationsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,8 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./BatchGetRumMetricDefinitionsPaginator"), exports);
5
- tslib_1.__exportStar(require("./GetAppMonitorDataPaginator"), exports);
6
- tslib_1.__exportStar(require("./Interfaces"), exports);
7
- tslib_1.__exportStar(require("./ListAppMonitorsPaginator"), exports);
8
- tslib_1.__exportStar(require("./ListRumMetricsDestinationsPaginator"), exports);
1
+ module.exports = require("../index.js");