@aws-sdk/client-rum 3.44.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/CHANGELOG.md +11 -0
- package/LICENSE +201 -0
- package/README.md +211 -0
- package/dist-cjs/RUM.js +157 -0
- package/dist-cjs/RUMClient.js +35 -0
- package/dist-cjs/commands/CreateAppMonitorCommand.js +36 -0
- package/dist-cjs/commands/DeleteAppMonitorCommand.js +36 -0
- package/dist-cjs/commands/GetAppMonitorCommand.js +36 -0
- package/dist-cjs/commands/GetAppMonitorDataCommand.js +36 -0
- package/dist-cjs/commands/ListAppMonitorsCommand.js +36 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
- package/dist-cjs/commands/PutRumEventsCommand.js +36 -0
- package/dist-cjs/commands/TagResourceCommand.js +36 -0
- package/dist-cjs/commands/UntagResourceCommand.js +36 -0
- package/dist-cjs/commands/UpdateAppMonitorCommand.js +36 -0
- package/dist-cjs/commands/index.js +13 -0
- package/dist-cjs/endpoints.js +130 -0
- package/dist-cjs/index.js +8 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +237 -0
- package/dist-cjs/pagination/GetAppMonitorDataPaginator.js +35 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListAppMonitorsPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +6 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1502 -0
- package/dist-cjs/runtimeConfig.browser.js +40 -0
- package/dist-cjs/runtimeConfig.js +44 -0
- package/dist-cjs/runtimeConfig.native.js +16 -0
- package/dist-cjs/runtimeConfig.shared.js +17 -0
- package/dist-es/RUM.js +160 -0
- package/dist-es/RUMClient.js +37 -0
- package/dist-es/commands/CreateAppMonitorCommand.js +39 -0
- package/dist-es/commands/DeleteAppMonitorCommand.js +39 -0
- package/dist-es/commands/GetAppMonitorCommand.js +39 -0
- package/dist-es/commands/GetAppMonitorDataCommand.js +39 -0
- package/dist-es/commands/ListAppMonitorsCommand.js +39 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
- package/dist-es/commands/PutRumEventsCommand.js +39 -0
- package/dist-es/commands/TagResourceCommand.js +39 -0
- package/dist-es/commands/UntagResourceCommand.js +39 -0
- package/dist-es/commands/UpdateAppMonitorCommand.js +39 -0
- package/dist-es/commands/index.js +10 -0
- package/dist-es/endpoints.js +126 -0
- package/dist-es/index.js +5 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +161 -0
- package/dist-es/pagination/GetAppMonitorDataPaginator.js +74 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListAppMonitorsPaginator.js +74 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +1652 -0
- package/dist-es/runtimeConfig.browser.js +17 -0
- package/dist-es/runtimeConfig.js +21 -0
- package/dist-es/runtimeConfig.native.js +8 -0
- package/dist-es/runtimeConfig.shared.js +13 -0
- package/dist-types/RUM.d.ts +120 -0
- package/dist-types/RUMClient.d.ts +158 -0
- package/dist-types/commands/CreateAppMonitorCommand.d.ts +43 -0
- package/dist-types/commands/DeleteAppMonitorCommand.d.ts +35 -0
- package/dist-types/commands/GetAppMonitorCommand.d.ts +35 -0
- package/dist-types/commands/GetAppMonitorDataCommand.d.ts +36 -0
- package/dist-types/commands/ListAppMonitorsCommand.d.ts +35 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -0
- package/dist-types/commands/PutRumEventsCommand.d.ts +38 -0
- package/dist-types/commands/TagResourceCommand.d.ts +48 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +35 -0
- package/dist-types/commands/UpdateAppMonitorCommand.d.ts +45 -0
- package/dist-types/commands/index.d.ts +10 -0
- package/dist-types/endpoints.d.ts +2 -0
- package/dist-types/index.d.ts +5 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +824 -0
- package/dist-types/pagination/GetAppMonitorDataPaginator.d.ts +4 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListAppMonitorsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +32 -0
- package/dist-types/runtimeConfig.browser.d.ts +39 -0
- package/dist-types/runtimeConfig.d.ts +39 -0
- package/dist-types/runtimeConfig.native.d.ts +38 -0
- package/dist-types/runtimeConfig.shared.d.ts +13 -0
- package/dist-types/ts3.4/RUM.d.ts +55 -0
- package/dist-types/ts3.4/RUMClient.d.ts +81 -0
- package/dist-types/ts3.4/commands/CreateAppMonitorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteAppMonitorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetAppMonitorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetAppMonitorDataCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListAppMonitorsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutRumEventsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateAppMonitorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +10 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +5 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +455 -0
- package/dist-types/ts3.4/pagination/GetAppMonitorDataPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListAppMonitorsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +32 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +36 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +94 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var UntagResourceCommand = (function (_super) {
|
|
7
|
+
__extends(UntagResourceCommand, _super);
|
|
8
|
+
function UntagResourceCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
UntagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "RUMClient";
|
|
18
|
+
var commandName = "UntagResourceCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: UntagResourceRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: UntagResourceResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UntagResourceCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1UntagResourceCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
UntagResourceCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1UntagResourceCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return UntagResourceCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UntagResourceCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { UpdateAppMonitorRequest, UpdateAppMonitorResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1UpdateAppMonitorCommand, serializeAws_restJson1UpdateAppMonitorCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var UpdateAppMonitorCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateAppMonitorCommand, _super);
|
|
8
|
+
function UpdateAppMonitorCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
UpdateAppMonitorCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "RUMClient";
|
|
18
|
+
var commandName = "UpdateAppMonitorCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: UpdateAppMonitorRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: UpdateAppMonitorResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateAppMonitorCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1UpdateAppMonitorCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
UpdateAppMonitorCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1UpdateAppMonitorCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return UpdateAppMonitorCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateAppMonitorCommand };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from "./CreateAppMonitorCommand";
|
|
2
|
+
export * from "./DeleteAppMonitorCommand";
|
|
3
|
+
export * from "./GetAppMonitorCommand";
|
|
4
|
+
export * from "./GetAppMonitorDataCommand";
|
|
5
|
+
export * from "./ListAppMonitorsCommand";
|
|
6
|
+
export * from "./ListTagsForResourceCommand";
|
|
7
|
+
export * from "./PutRumEventsCommand";
|
|
8
|
+
export * from "./TagResourceCommand";
|
|
9
|
+
export * from "./UntagResourceCommand";
|
|
10
|
+
export * from "./UpdateAppMonitorCommand";
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
|
+
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
3
|
+
var regionHash = {};
|
|
4
|
+
var partitionHash = {
|
|
5
|
+
aws: {
|
|
6
|
+
regions: [
|
|
7
|
+
"af-south-1",
|
|
8
|
+
"ap-east-1",
|
|
9
|
+
"ap-northeast-1",
|
|
10
|
+
"ap-northeast-2",
|
|
11
|
+
"ap-northeast-3",
|
|
12
|
+
"ap-south-1",
|
|
13
|
+
"ap-southeast-1",
|
|
14
|
+
"ap-southeast-2",
|
|
15
|
+
"ca-central-1",
|
|
16
|
+
"eu-central-1",
|
|
17
|
+
"eu-north-1",
|
|
18
|
+
"eu-south-1",
|
|
19
|
+
"eu-west-1",
|
|
20
|
+
"eu-west-2",
|
|
21
|
+
"eu-west-3",
|
|
22
|
+
"me-south-1",
|
|
23
|
+
"sa-east-1",
|
|
24
|
+
"us-east-1",
|
|
25
|
+
"us-east-2",
|
|
26
|
+
"us-west-1",
|
|
27
|
+
"us-west-2",
|
|
28
|
+
],
|
|
29
|
+
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
30
|
+
variants: [
|
|
31
|
+
{
|
|
32
|
+
hostname: "rum.{region}.amazonaws.com",
|
|
33
|
+
tags: [],
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
hostname: "rum-fips.{region}.amazonaws.com",
|
|
37
|
+
tags: ["fips"],
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
hostname: "rum-fips.{region}.api.aws",
|
|
41
|
+
tags: ["dualstack", "fips"],
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
hostname: "rum.{region}.api.aws",
|
|
45
|
+
tags: ["dualstack"],
|
|
46
|
+
},
|
|
47
|
+
],
|
|
48
|
+
},
|
|
49
|
+
"aws-cn": {
|
|
50
|
+
regions: ["cn-north-1", "cn-northwest-1"],
|
|
51
|
+
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
52
|
+
variants: [
|
|
53
|
+
{
|
|
54
|
+
hostname: "rum.{region}.amazonaws.com.cn",
|
|
55
|
+
tags: [],
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
hostname: "rum-fips.{region}.amazonaws.com.cn",
|
|
59
|
+
tags: ["fips"],
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
hostname: "rum-fips.{region}.api.amazonwebservices.com.cn",
|
|
63
|
+
tags: ["dualstack", "fips"],
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
hostname: "rum.{region}.api.amazonwebservices.com.cn",
|
|
67
|
+
tags: ["dualstack"],
|
|
68
|
+
},
|
|
69
|
+
],
|
|
70
|
+
},
|
|
71
|
+
"aws-iso": {
|
|
72
|
+
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
73
|
+
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
74
|
+
variants: [
|
|
75
|
+
{
|
|
76
|
+
hostname: "rum.{region}.c2s.ic.gov",
|
|
77
|
+
tags: [],
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
hostname: "rum-fips.{region}.c2s.ic.gov",
|
|
81
|
+
tags: ["fips"],
|
|
82
|
+
},
|
|
83
|
+
],
|
|
84
|
+
},
|
|
85
|
+
"aws-iso-b": {
|
|
86
|
+
regions: ["us-isob-east-1"],
|
|
87
|
+
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
88
|
+
variants: [
|
|
89
|
+
{
|
|
90
|
+
hostname: "rum.{region}.sc2s.sgov.gov",
|
|
91
|
+
tags: [],
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
hostname: "rum-fips.{region}.sc2s.sgov.gov",
|
|
95
|
+
tags: ["fips"],
|
|
96
|
+
},
|
|
97
|
+
],
|
|
98
|
+
},
|
|
99
|
+
"aws-us-gov": {
|
|
100
|
+
regions: ["us-gov-east-1", "us-gov-west-1"],
|
|
101
|
+
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
102
|
+
variants: [
|
|
103
|
+
{
|
|
104
|
+
hostname: "rum.{region}.amazonaws.com",
|
|
105
|
+
tags: [],
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
hostname: "rum-fips.{region}.amazonaws.com",
|
|
109
|
+
tags: ["fips"],
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
hostname: "rum-fips.{region}.api.aws",
|
|
113
|
+
tags: ["dualstack", "fips"],
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
hostname: "rum.{region}.api.aws",
|
|
117
|
+
tags: ["dualstack"],
|
|
118
|
+
},
|
|
119
|
+
],
|
|
120
|
+
},
|
|
121
|
+
};
|
|
122
|
+
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
123
|
+
return __generator(this, function (_a) {
|
|
124
|
+
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "rum", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
125
|
+
});
|
|
126
|
+
}); };
|
package/dist-es/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import { __assign } from "tslib";
|
|
2
|
+
export var AccessDeniedException;
|
|
3
|
+
(function (AccessDeniedException) {
|
|
4
|
+
AccessDeniedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
5
|
+
})(AccessDeniedException || (AccessDeniedException = {}));
|
|
6
|
+
export var Telemetry;
|
|
7
|
+
(function (Telemetry) {
|
|
8
|
+
Telemetry["ERRORS"] = "errors";
|
|
9
|
+
Telemetry["HTTP"] = "http";
|
|
10
|
+
Telemetry["PERFORMANCE"] = "performance";
|
|
11
|
+
})(Telemetry || (Telemetry = {}));
|
|
12
|
+
export var AppMonitorConfiguration;
|
|
13
|
+
(function (AppMonitorConfiguration) {
|
|
14
|
+
AppMonitorConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
15
|
+
})(AppMonitorConfiguration || (AppMonitorConfiguration = {}));
|
|
16
|
+
export var CwLog;
|
|
17
|
+
(function (CwLog) {
|
|
18
|
+
CwLog.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
19
|
+
})(CwLog || (CwLog = {}));
|
|
20
|
+
export var DataStorage;
|
|
21
|
+
(function (DataStorage) {
|
|
22
|
+
DataStorage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
23
|
+
})(DataStorage || (DataStorage = {}));
|
|
24
|
+
export var StateEnum;
|
|
25
|
+
(function (StateEnum) {
|
|
26
|
+
StateEnum["ACTIVE"] = "ACTIVE";
|
|
27
|
+
StateEnum["CREATED"] = "CREATED";
|
|
28
|
+
StateEnum["DELETING"] = "DELETING";
|
|
29
|
+
})(StateEnum || (StateEnum = {}));
|
|
30
|
+
export var AppMonitor;
|
|
31
|
+
(function (AppMonitor) {
|
|
32
|
+
AppMonitor.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
33
|
+
})(AppMonitor || (AppMonitor = {}));
|
|
34
|
+
export var AppMonitorDetails;
|
|
35
|
+
(function (AppMonitorDetails) {
|
|
36
|
+
AppMonitorDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
37
|
+
})(AppMonitorDetails || (AppMonitorDetails = {}));
|
|
38
|
+
export var ConflictException;
|
|
39
|
+
(function (ConflictException) {
|
|
40
|
+
ConflictException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
41
|
+
})(ConflictException || (ConflictException = {}));
|
|
42
|
+
export var CreateAppMonitorRequest;
|
|
43
|
+
(function (CreateAppMonitorRequest) {
|
|
44
|
+
CreateAppMonitorRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
45
|
+
})(CreateAppMonitorRequest || (CreateAppMonitorRequest = {}));
|
|
46
|
+
export var CreateAppMonitorResponse;
|
|
47
|
+
(function (CreateAppMonitorResponse) {
|
|
48
|
+
CreateAppMonitorResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
49
|
+
})(CreateAppMonitorResponse || (CreateAppMonitorResponse = {}));
|
|
50
|
+
export var InternalServerException;
|
|
51
|
+
(function (InternalServerException) {
|
|
52
|
+
InternalServerException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
53
|
+
})(InternalServerException || (InternalServerException = {}));
|
|
54
|
+
export var ServiceQuotaExceededException;
|
|
55
|
+
(function (ServiceQuotaExceededException) {
|
|
56
|
+
ServiceQuotaExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
57
|
+
})(ServiceQuotaExceededException || (ServiceQuotaExceededException = {}));
|
|
58
|
+
export var ThrottlingException;
|
|
59
|
+
(function (ThrottlingException) {
|
|
60
|
+
ThrottlingException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
61
|
+
})(ThrottlingException || (ThrottlingException = {}));
|
|
62
|
+
export var ValidationException;
|
|
63
|
+
(function (ValidationException) {
|
|
64
|
+
ValidationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
65
|
+
})(ValidationException || (ValidationException = {}));
|
|
66
|
+
export var DeleteAppMonitorRequest;
|
|
67
|
+
(function (DeleteAppMonitorRequest) {
|
|
68
|
+
DeleteAppMonitorRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
69
|
+
})(DeleteAppMonitorRequest || (DeleteAppMonitorRequest = {}));
|
|
70
|
+
export var DeleteAppMonitorResponse;
|
|
71
|
+
(function (DeleteAppMonitorResponse) {
|
|
72
|
+
DeleteAppMonitorResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
73
|
+
})(DeleteAppMonitorResponse || (DeleteAppMonitorResponse = {}));
|
|
74
|
+
export var ResourceNotFoundException;
|
|
75
|
+
(function (ResourceNotFoundException) {
|
|
76
|
+
ResourceNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
77
|
+
})(ResourceNotFoundException || (ResourceNotFoundException = {}));
|
|
78
|
+
export var GetAppMonitorRequest;
|
|
79
|
+
(function (GetAppMonitorRequest) {
|
|
80
|
+
GetAppMonitorRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
81
|
+
})(GetAppMonitorRequest || (GetAppMonitorRequest = {}));
|
|
82
|
+
export var GetAppMonitorResponse;
|
|
83
|
+
(function (GetAppMonitorResponse) {
|
|
84
|
+
GetAppMonitorResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
85
|
+
})(GetAppMonitorResponse || (GetAppMonitorResponse = {}));
|
|
86
|
+
export var QueryFilter;
|
|
87
|
+
(function (QueryFilter) {
|
|
88
|
+
QueryFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
89
|
+
})(QueryFilter || (QueryFilter = {}));
|
|
90
|
+
export var TimeRange;
|
|
91
|
+
(function (TimeRange) {
|
|
92
|
+
TimeRange.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
93
|
+
})(TimeRange || (TimeRange = {}));
|
|
94
|
+
export var GetAppMonitorDataRequest;
|
|
95
|
+
(function (GetAppMonitorDataRequest) {
|
|
96
|
+
GetAppMonitorDataRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
97
|
+
})(GetAppMonitorDataRequest || (GetAppMonitorDataRequest = {}));
|
|
98
|
+
export var GetAppMonitorDataResponse;
|
|
99
|
+
(function (GetAppMonitorDataResponse) {
|
|
100
|
+
GetAppMonitorDataResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
101
|
+
})(GetAppMonitorDataResponse || (GetAppMonitorDataResponse = {}));
|
|
102
|
+
export var ListAppMonitorsRequest;
|
|
103
|
+
(function (ListAppMonitorsRequest) {
|
|
104
|
+
ListAppMonitorsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
105
|
+
})(ListAppMonitorsRequest || (ListAppMonitorsRequest = {}));
|
|
106
|
+
export var AppMonitorSummary;
|
|
107
|
+
(function (AppMonitorSummary) {
|
|
108
|
+
AppMonitorSummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
109
|
+
})(AppMonitorSummary || (AppMonitorSummary = {}));
|
|
110
|
+
export var ListAppMonitorsResponse;
|
|
111
|
+
(function (ListAppMonitorsResponse) {
|
|
112
|
+
ListAppMonitorsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
113
|
+
})(ListAppMonitorsResponse || (ListAppMonitorsResponse = {}));
|
|
114
|
+
export var UpdateAppMonitorRequest;
|
|
115
|
+
(function (UpdateAppMonitorRequest) {
|
|
116
|
+
UpdateAppMonitorRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
117
|
+
})(UpdateAppMonitorRequest || (UpdateAppMonitorRequest = {}));
|
|
118
|
+
export var UpdateAppMonitorResponse;
|
|
119
|
+
(function (UpdateAppMonitorResponse) {
|
|
120
|
+
UpdateAppMonitorResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
121
|
+
})(UpdateAppMonitorResponse || (UpdateAppMonitorResponse = {}));
|
|
122
|
+
export var ListTagsForResourceRequest;
|
|
123
|
+
(function (ListTagsForResourceRequest) {
|
|
124
|
+
ListTagsForResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
125
|
+
})(ListTagsForResourceRequest || (ListTagsForResourceRequest = {}));
|
|
126
|
+
export var ListTagsForResourceResponse;
|
|
127
|
+
(function (ListTagsForResourceResponse) {
|
|
128
|
+
ListTagsForResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
129
|
+
})(ListTagsForResourceResponse || (ListTagsForResourceResponse = {}));
|
|
130
|
+
export var RumEvent;
|
|
131
|
+
(function (RumEvent) {
|
|
132
|
+
RumEvent.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
133
|
+
})(RumEvent || (RumEvent = {}));
|
|
134
|
+
export var UserDetails;
|
|
135
|
+
(function (UserDetails) {
|
|
136
|
+
UserDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
137
|
+
})(UserDetails || (UserDetails = {}));
|
|
138
|
+
export var PutRumEventsRequest;
|
|
139
|
+
(function (PutRumEventsRequest) {
|
|
140
|
+
PutRumEventsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
141
|
+
})(PutRumEventsRequest || (PutRumEventsRequest = {}));
|
|
142
|
+
export var PutRumEventsResponse;
|
|
143
|
+
(function (PutRumEventsResponse) {
|
|
144
|
+
PutRumEventsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
145
|
+
})(PutRumEventsResponse || (PutRumEventsResponse = {}));
|
|
146
|
+
export var TagResourceRequest;
|
|
147
|
+
(function (TagResourceRequest) {
|
|
148
|
+
TagResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
149
|
+
})(TagResourceRequest || (TagResourceRequest = {}));
|
|
150
|
+
export var TagResourceResponse;
|
|
151
|
+
(function (TagResourceResponse) {
|
|
152
|
+
TagResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
153
|
+
})(TagResourceResponse || (TagResourceResponse = {}));
|
|
154
|
+
export var UntagResourceRequest;
|
|
155
|
+
(function (UntagResourceRequest) {
|
|
156
|
+
UntagResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
157
|
+
})(UntagResourceRequest || (UntagResourceRequest = {}));
|
|
158
|
+
export var UntagResourceResponse;
|
|
159
|
+
(function (UntagResourceResponse) {
|
|
160
|
+
UntagResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
161
|
+
})(UntagResourceResponse || (UntagResourceResponse = {}));
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { GetAppMonitorDataCommand, } from "../commands/GetAppMonitorDataCommand";
|
|
3
|
+
import { RUM } from "../RUM";
|
|
4
|
+
import { RUMClient } from "../RUMClient";
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new GetAppMonitorDataCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.getAppMonitorData.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateGetAppMonitorData(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
37
|
+
}
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateGetAppMonitorData_1() {
|
|
39
|
+
var token, hasNext, page;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.NextToken = token;
|
|
49
|
+
input["MaxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof RUM)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof RUMClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected RUM | RUMClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
token = page.NextToken;
|
|
67
|
+
hasNext = !!token;
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListAppMonitorsCommand, } from "../commands/ListAppMonitorsCommand";
|
|
3
|
+
import { RUM } from "../RUM";
|
|
4
|
+
import { RUMClient } from "../RUMClient";
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListAppMonitorsCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listAppMonitors.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateListAppMonitors(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
37
|
+
}
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListAppMonitors_1() {
|
|
39
|
+
var token, hasNext, page;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.NextToken = token;
|
|
49
|
+
input["MaxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof RUM)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof RUMClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected RUM | RUMClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
token = page.NextToken;
|
|
67
|
+
hasNext = !!token;
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
}
|