@aws-sdk/client-rum 3.975.0 → 3.980.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 +15 -9
- package/dist-es/RUM.js +11 -1
- package/dist-types/RUM.d.ts +29 -1
- package/dist-types/ts3.4/RUM.d.ts +33 -1
- package/package.json +18 -18
package/dist-cjs/index.js
CHANGED
|
@@ -1140,6 +1140,14 @@ class UpdateRumMetricDefinitionCommand extends smithyClient.Command
|
|
|
1140
1140
|
.build() {
|
|
1141
1141
|
}
|
|
1142
1142
|
|
|
1143
|
+
const paginateBatchGetRumMetricDefinitions = core.createPaginator(RUMClient, BatchGetRumMetricDefinitionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1144
|
+
|
|
1145
|
+
const paginateGetAppMonitorData = core.createPaginator(RUMClient, GetAppMonitorDataCommand, "NextToken", "NextToken", "MaxResults");
|
|
1146
|
+
|
|
1147
|
+
const paginateListAppMonitors = core.createPaginator(RUMClient, ListAppMonitorsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1148
|
+
|
|
1149
|
+
const paginateListRumMetricsDestinations = core.createPaginator(RUMClient, ListRumMetricsDestinationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1150
|
+
|
|
1143
1151
|
const commands = {
|
|
1144
1152
|
BatchCreateRumMetricDefinitionsCommand,
|
|
1145
1153
|
BatchDeleteRumMetricDefinitionsCommand,
|
|
@@ -1162,17 +1170,15 @@ const commands = {
|
|
|
1162
1170
|
UpdateAppMonitorCommand,
|
|
1163
1171
|
UpdateRumMetricDefinitionCommand,
|
|
1164
1172
|
};
|
|
1173
|
+
const paginators = {
|
|
1174
|
+
paginateBatchGetRumMetricDefinitions,
|
|
1175
|
+
paginateGetAppMonitorData,
|
|
1176
|
+
paginateListAppMonitors,
|
|
1177
|
+
paginateListRumMetricsDestinations,
|
|
1178
|
+
};
|
|
1165
1179
|
class RUM extends RUMClient {
|
|
1166
1180
|
}
|
|
1167
|
-
smithyClient.createAggregatedClient(commands, RUM);
|
|
1168
|
-
|
|
1169
|
-
const paginateBatchGetRumMetricDefinitions = core.createPaginator(RUMClient, BatchGetRumMetricDefinitionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1170
|
-
|
|
1171
|
-
const paginateGetAppMonitorData = core.createPaginator(RUMClient, GetAppMonitorDataCommand, "NextToken", "NextToken", "MaxResults");
|
|
1172
|
-
|
|
1173
|
-
const paginateListAppMonitors = core.createPaginator(RUMClient, ListAppMonitorsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1174
|
-
|
|
1175
|
-
const paginateListRumMetricsDestinations = core.createPaginator(RUMClient, ListRumMetricsDestinationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1181
|
+
smithyClient.createAggregatedClient(commands, RUM, { paginators });
|
|
1176
1182
|
|
|
1177
1183
|
const Telemetry = {
|
|
1178
1184
|
ERRORS: "errors",
|
package/dist-es/RUM.js
CHANGED
|
@@ -19,6 +19,10 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
|
19
19
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
20
20
|
import { UpdateAppMonitorCommand, } from "./commands/UpdateAppMonitorCommand";
|
|
21
21
|
import { UpdateRumMetricDefinitionCommand, } from "./commands/UpdateRumMetricDefinitionCommand";
|
|
22
|
+
import { paginateBatchGetRumMetricDefinitions } from "./pagination/BatchGetRumMetricDefinitionsPaginator";
|
|
23
|
+
import { paginateGetAppMonitorData } from "./pagination/GetAppMonitorDataPaginator";
|
|
24
|
+
import { paginateListAppMonitors } from "./pagination/ListAppMonitorsPaginator";
|
|
25
|
+
import { paginateListRumMetricsDestinations } from "./pagination/ListRumMetricsDestinationsPaginator";
|
|
22
26
|
import { RUMClient } from "./RUMClient";
|
|
23
27
|
const commands = {
|
|
24
28
|
BatchCreateRumMetricDefinitionsCommand,
|
|
@@ -42,6 +46,12 @@ const commands = {
|
|
|
42
46
|
UpdateAppMonitorCommand,
|
|
43
47
|
UpdateRumMetricDefinitionCommand,
|
|
44
48
|
};
|
|
49
|
+
const paginators = {
|
|
50
|
+
paginateBatchGetRumMetricDefinitions,
|
|
51
|
+
paginateGetAppMonitorData,
|
|
52
|
+
paginateListAppMonitors,
|
|
53
|
+
paginateListRumMetricsDestinations,
|
|
54
|
+
};
|
|
45
55
|
export class RUM extends RUMClient {
|
|
46
56
|
}
|
|
47
|
-
createAggregatedClient(commands, RUM);
|
|
57
|
+
createAggregatedClient(commands, RUM, { paginators });
|
package/dist-types/RUM.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { BatchCreateRumMetricDefinitionsCommandInput, BatchCreateRumMetricDefinitionsCommandOutput } from "./commands/BatchCreateRumMetricDefinitionsCommand";
|
|
3
3
|
import { BatchDeleteRumMetricDefinitionsCommandInput, BatchDeleteRumMetricDefinitionsCommandOutput } from "./commands/BatchDeleteRumMetricDefinitionsCommand";
|
|
4
4
|
import { BatchGetRumMetricDefinitionsCommandInput, BatchGetRumMetricDefinitionsCommandOutput } from "./commands/BatchGetRumMetricDefinitionsCommand";
|
|
@@ -142,6 +142,34 @@ export interface RUM {
|
|
|
142
142
|
updateRumMetricDefinition(args: UpdateRumMetricDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRumMetricDefinitionCommandOutput>;
|
|
143
143
|
updateRumMetricDefinition(args: UpdateRumMetricDefinitionCommandInput, cb: (err: any, data?: UpdateRumMetricDefinitionCommandOutput) => void): void;
|
|
144
144
|
updateRumMetricDefinition(args: UpdateRumMetricDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRumMetricDefinitionCommandOutput) => void): void;
|
|
145
|
+
/**
|
|
146
|
+
* @see {@link BatchGetRumMetricDefinitionsCommand}
|
|
147
|
+
* @param args - command input.
|
|
148
|
+
* @param paginationConfig - optional pagination config.
|
|
149
|
+
* @returns AsyncIterable of {@link BatchGetRumMetricDefinitionsCommandOutput}.
|
|
150
|
+
*/
|
|
151
|
+
paginateBatchGetRumMetricDefinitions(args: BatchGetRumMetricDefinitionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<BatchGetRumMetricDefinitionsCommandOutput>;
|
|
152
|
+
/**
|
|
153
|
+
* @see {@link GetAppMonitorDataCommand}
|
|
154
|
+
* @param args - command input.
|
|
155
|
+
* @param paginationConfig - optional pagination config.
|
|
156
|
+
* @returns AsyncIterable of {@link GetAppMonitorDataCommandOutput}.
|
|
157
|
+
*/
|
|
158
|
+
paginateGetAppMonitorData(args: GetAppMonitorDataCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetAppMonitorDataCommandOutput>;
|
|
159
|
+
/**
|
|
160
|
+
* @see {@link ListAppMonitorsCommand}
|
|
161
|
+
* @param args - command input.
|
|
162
|
+
* @param paginationConfig - optional pagination config.
|
|
163
|
+
* @returns AsyncIterable of {@link ListAppMonitorsCommandOutput}.
|
|
164
|
+
*/
|
|
165
|
+
paginateListAppMonitors(args?: ListAppMonitorsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAppMonitorsCommandOutput>;
|
|
166
|
+
/**
|
|
167
|
+
* @see {@link ListRumMetricsDestinationsCommand}
|
|
168
|
+
* @param args - command input.
|
|
169
|
+
* @param paginationConfig - optional pagination config.
|
|
170
|
+
* @returns AsyncIterable of {@link ListRumMetricsDestinationsCommandOutput}.
|
|
171
|
+
*/
|
|
172
|
+
paginateListRumMetricsDestinations(args: ListRumMetricsDestinationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListRumMetricsDestinationsCommandOutput>;
|
|
145
173
|
}
|
|
146
174
|
/**
|
|
147
175
|
* <p>With Amazon CloudWatch RUM, you can perform real-user monitoring to collect client-side data about your web application performance from actual user sessions in real time. The data collected includes page load times, client-side errors, and user behavior. When you view this data, you can see it all aggregated together and also see breakdowns by the browsers and devices that your customers use.</p> <p>You can use the collected data to quickly identify and debug client-side performance issues. CloudWatch RUM helps you visualize anomalies in your application performance and find relevant debugging data such as error messages, stack traces, and user sessions. You can also use RUM to understand the range of end-user impact including the number of users, geolocations, and browsers used.</p>
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import {
|
|
3
7
|
BatchCreateRumMetricDefinitionsCommandInput,
|
|
4
8
|
BatchCreateRumMetricDefinitionsCommandOutput,
|
|
@@ -342,5 +346,33 @@ export interface RUM {
|
|
|
342
346
|
options: __HttpHandlerOptions,
|
|
343
347
|
cb: (err: any, data?: UpdateRumMetricDefinitionCommandOutput) => void
|
|
344
348
|
): void;
|
|
349
|
+
paginateBatchGetRumMetricDefinitions(
|
|
350
|
+
args: BatchGetRumMetricDefinitionsCommandInput,
|
|
351
|
+
paginationConfig?: Pick<
|
|
352
|
+
PaginationConfiguration,
|
|
353
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
354
|
+
>
|
|
355
|
+
): Paginator<BatchGetRumMetricDefinitionsCommandOutput>;
|
|
356
|
+
paginateGetAppMonitorData(
|
|
357
|
+
args: GetAppMonitorDataCommandInput,
|
|
358
|
+
paginationConfig?: Pick<
|
|
359
|
+
PaginationConfiguration,
|
|
360
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
361
|
+
>
|
|
362
|
+
): Paginator<GetAppMonitorDataCommandOutput>;
|
|
363
|
+
paginateListAppMonitors(
|
|
364
|
+
args?: ListAppMonitorsCommandInput,
|
|
365
|
+
paginationConfig?: Pick<
|
|
366
|
+
PaginationConfiguration,
|
|
367
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
368
|
+
>
|
|
369
|
+
): Paginator<ListAppMonitorsCommandOutput>;
|
|
370
|
+
paginateListRumMetricsDestinations(
|
|
371
|
+
args: ListRumMetricsDestinationsCommandInput,
|
|
372
|
+
paginationConfig?: Pick<
|
|
373
|
+
PaginationConfiguration,
|
|
374
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
375
|
+
>
|
|
376
|
+
): Paginator<ListRumMetricsDestinationsCommandOutput>;
|
|
345
377
|
}
|
|
346
378
|
export declare class RUM extends RUMClient implements RUM {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-rum",
|
|
3
3
|
"description": "AWS SDK for JavaScript Rum Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.980.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-rum",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.5",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.4",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.5",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.980.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.3",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.22.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
46
|
"@smithy/node-http-handler": "^4.4.8",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|