@aws-sdk/client-rum 3.190.0 → 3.193.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 +19 -0
- package/README.md +7 -7
- package/dist-cjs/RUM.js +105 -0
- package/dist-cjs/RUMClient.js +11 -8
- package/dist-cjs/commands/BatchCreateRumMetricDefinitionsCommand.js +46 -0
- package/dist-cjs/commands/BatchDeleteRumMetricDefinitionsCommand.js +46 -0
- package/dist-cjs/commands/BatchGetRumMetricDefinitionsCommand.js +46 -0
- package/dist-cjs/commands/CreateAppMonitorCommand.js +10 -0
- package/dist-cjs/commands/DeleteAppMonitorCommand.js +10 -0
- package/dist-cjs/commands/DeleteRumMetricsDestinationCommand.js +46 -0
- package/dist-cjs/commands/GetAppMonitorCommand.js +10 -0
- package/dist-cjs/commands/GetAppMonitorDataCommand.js +10 -0
- package/dist-cjs/commands/ListAppMonitorsCommand.js +10 -0
- package/dist-cjs/commands/ListRumMetricsDestinationsCommand.js +46 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-cjs/commands/PutRumEventsCommand.js +10 -0
- package/dist-cjs/commands/PutRumMetricsDestinationCommand.js +46 -0
- package/dist-cjs/commands/TagResourceCommand.js +10 -0
- package/dist-cjs/commands/UntagResourceCommand.js +10 -0
- package/dist-cjs/commands/UpdateAppMonitorCommand.js +10 -0
- package/dist-cjs/commands/UpdateRumMetricDefinitionCommand.js +46 -0
- package/dist-cjs/commands/index.js +7 -0
- package/dist-cjs/endpoint/EndpointParameters.js +13 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +318 -0
- package/dist-cjs/models/models_0.js +98 -16
- package/dist-cjs/pagination/BatchGetRumMetricDefinitionsPaginator.js +36 -0
- package/dist-cjs/pagination/ListRumMetricsDestinationsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +675 -17
- package/dist-cjs/runtimeConfig.shared.js +3 -3
- package/dist-es/RUM.js +105 -0
- package/dist-es/RUMClient.js +12 -9
- package/dist-es/commands/BatchCreateRumMetricDefinitionsCommand.js +42 -0
- package/dist-es/commands/BatchDeleteRumMetricDefinitionsCommand.js +42 -0
- package/dist-es/commands/BatchGetRumMetricDefinitionsCommand.js +42 -0
- package/dist-es/commands/CreateAppMonitorCommand.js +10 -0
- package/dist-es/commands/DeleteAppMonitorCommand.js +10 -0
- package/dist-es/commands/DeleteRumMetricsDestinationCommand.js +42 -0
- package/dist-es/commands/GetAppMonitorCommand.js +10 -0
- package/dist-es/commands/GetAppMonitorDataCommand.js +10 -0
- package/dist-es/commands/ListAppMonitorsCommand.js +10 -0
- package/dist-es/commands/ListRumMetricsDestinationsCommand.js +42 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-es/commands/PutRumEventsCommand.js +10 -0
- package/dist-es/commands/PutRumMetricsDestinationCommand.js +42 -0
- package/dist-es/commands/TagResourceCommand.js +10 -0
- package/dist-es/commands/UntagResourceCommand.js +10 -0
- package/dist-es/commands/UpdateAppMonitorCommand.js +10 -0
- package/dist-es/commands/UpdateRumMetricDefinitionCommand.js +42 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +315 -0
- package/dist-es/models/models_0.js +76 -14
- package/dist-es/pagination/BatchGetRumMetricDefinitionsPaginator.js +32 -0
- package/dist-es/pagination/ListRumMetricsDestinationsPaginator.js +32 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +657 -13
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-types/RUM.d.ts +83 -0
- package/dist-types/RUMClient.d.ts +15 -11
- package/dist-types/commands/BatchCreateRumMetricDefinitionsCommand.d.ts +60 -0
- package/dist-types/commands/BatchDeleteRumMetricDefinitionsCommand.d.ts +42 -0
- package/dist-types/commands/BatchGetRumMetricDefinitionsCommand.d.ts +37 -0
- package/dist-types/commands/CreateAppMonitorCommand.d.ts +2 -0
- package/dist-types/commands/DeleteAppMonitorCommand.d.ts +2 -0
- package/dist-types/commands/DeleteRumMetricsDestinationCommand.d.ts +38 -0
- package/dist-types/commands/GetAppMonitorCommand.d.ts +2 -0
- package/dist-types/commands/GetAppMonitorDataCommand.d.ts +2 -0
- package/dist-types/commands/ListAppMonitorsCommand.d.ts +2 -0
- package/dist-types/commands/ListRumMetricsDestinationsCommand.d.ts +39 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/commands/PutRumEventsCommand.d.ts +2 -0
- package/dist-types/commands/PutRumMetricsDestinationCommand.d.ts +39 -0
- package/dist-types/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateAppMonitorCommand.d.ts +2 -0
- package/dist-types/commands/UpdateRumMetricDefinitionCommand.d.ts +38 -0
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +719 -57
- package/dist-types/pagination/BatchGetRumMetricDefinitionsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListRumMetricsDestinationsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +21 -0
- package/dist-types/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/runtimeConfig.d.ts +4 -2
- package/dist-types/runtimeConfig.native.d.ts +4 -2
- package/dist-types/runtimeConfig.shared.d.ts +3 -1
- package/dist-types/ts3.4/RUM.d.ts +119 -0
- package/dist-types/ts3.4/RUMClient.d.ts +59 -10
- package/dist-types/ts3.4/commands/BatchCreateRumMetricDefinitionsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/BatchDeleteRumMetricDefinitionsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/BatchGetRumMetricDefinitionsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateAppMonitorCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteAppMonitorCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteRumMetricsDestinationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetAppMonitorCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetAppMonitorDataCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListAppMonitorsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListRumMetricsDestinationsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutRumEventsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutRumMetricsDestinationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateAppMonitorCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateRumMetricDefinitionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +170 -18
- package/dist-types/ts3.4/pagination/BatchGetRumMetricDefinitionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRumMetricsDestinationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +84 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
- package/package.json +28 -26
- package/dist-cjs/endpoints.js +0 -132
- package/dist-es/endpoints.js +0 -128
- package/dist-types/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { parseUrl } from "@aws-sdk/url-parser";
|
|
2
|
-
import {
|
|
2
|
+
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
3
3
|
export const getRuntimeConfig = (config) => ({
|
|
4
4
|
apiVersion: "2018-05-10",
|
|
5
5
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
6
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
6
7
|
logger: config?.logger ?? {},
|
|
7
|
-
regionInfoProvider: config?.regionInfoProvider ?? defaultRegionInfoProvider,
|
|
8
8
|
serviceId: config?.serviceId ?? "RUM",
|
|
9
9
|
urlParser: config?.urlParser ?? parseUrl,
|
|
10
10
|
});
|
package/dist-types/RUM.d.ts
CHANGED
|
@@ -1,14 +1,21 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
+
import { BatchCreateRumMetricDefinitionsCommandInput, BatchCreateRumMetricDefinitionsCommandOutput } from "./commands/BatchCreateRumMetricDefinitionsCommand";
|
|
3
|
+
import { BatchDeleteRumMetricDefinitionsCommandInput, BatchDeleteRumMetricDefinitionsCommandOutput } from "./commands/BatchDeleteRumMetricDefinitionsCommand";
|
|
4
|
+
import { BatchGetRumMetricDefinitionsCommandInput, BatchGetRumMetricDefinitionsCommandOutput } from "./commands/BatchGetRumMetricDefinitionsCommand";
|
|
2
5
|
import { CreateAppMonitorCommandInput, CreateAppMonitorCommandOutput } from "./commands/CreateAppMonitorCommand";
|
|
3
6
|
import { DeleteAppMonitorCommandInput, DeleteAppMonitorCommandOutput } from "./commands/DeleteAppMonitorCommand";
|
|
7
|
+
import { DeleteRumMetricsDestinationCommandInput, DeleteRumMetricsDestinationCommandOutput } from "./commands/DeleteRumMetricsDestinationCommand";
|
|
4
8
|
import { GetAppMonitorCommandInput, GetAppMonitorCommandOutput } from "./commands/GetAppMonitorCommand";
|
|
5
9
|
import { GetAppMonitorDataCommandInput, GetAppMonitorDataCommandOutput } from "./commands/GetAppMonitorDataCommand";
|
|
6
10
|
import { ListAppMonitorsCommandInput, ListAppMonitorsCommandOutput } from "./commands/ListAppMonitorsCommand";
|
|
11
|
+
import { ListRumMetricsDestinationsCommandInput, ListRumMetricsDestinationsCommandOutput } from "./commands/ListRumMetricsDestinationsCommand";
|
|
7
12
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
8
13
|
import { PutRumEventsCommandInput, PutRumEventsCommandOutput } from "./commands/PutRumEventsCommand";
|
|
14
|
+
import { PutRumMetricsDestinationCommandInput, PutRumMetricsDestinationCommandOutput } from "./commands/PutRumMetricsDestinationCommand";
|
|
9
15
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
10
16
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
11
17
|
import { UpdateAppMonitorCommandInput, UpdateAppMonitorCommandOutput } from "./commands/UpdateAppMonitorCommand";
|
|
18
|
+
import { UpdateRumMetricDefinitionCommandInput, UpdateRumMetricDefinitionCommandOutput } from "./commands/UpdateRumMetricDefinitionCommand";
|
|
12
19
|
import { RUMClient } from "./RUMClient";
|
|
13
20
|
/**
|
|
14
21
|
* <p>With Amazon CloudWatch RUM, you can perform real-user monitoring to collect client-side data about
|
|
@@ -22,6 +29,52 @@ import { RUMClient } from "./RUMClient";
|
|
|
22
29
|
* understand the range of end-user impact including the number of users, geolocations, and browsers used.</p>
|
|
23
30
|
*/
|
|
24
31
|
export declare class RUM extends RUMClient {
|
|
32
|
+
/**
|
|
33
|
+
* <p>Specifies the extended metrics that you want a CloudWatch RUM app monitor to send to a destination. Valid
|
|
34
|
+
* destinations include CloudWatch and Evidently.</p>
|
|
35
|
+
* <p>By default, RUM app monitors send some metrics to CloudWatch. These default metrics
|
|
36
|
+
* are listed in <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-metrics.html">CloudWatch metrics that you can collect
|
|
37
|
+
* with CloudWatch RUM</a>.</p>
|
|
38
|
+
* <p>If you also send extended metrics, you can send metrics to Evidently as well as CloudWatch, and you can also
|
|
39
|
+
* optionally
|
|
40
|
+
* send the metrics with additional dimensions. The valid dimension names for the additional dimensions are
|
|
41
|
+
* <code>BrowserName</code>, <code>CountryCode</code>, <code>DeviceType</code>,
|
|
42
|
+
* <code>FileType</code>, <code>OSName</code>, and <code>PageId</code>. For more information, see
|
|
43
|
+
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-vended-metrics.html">
|
|
44
|
+
* Extended metrics that you can send to CloudWatch and CloudWatch Evidently</a>.</p>
|
|
45
|
+
* <p>The maximum number of metric definitions that you can specify in one
|
|
46
|
+
* <code>BatchCreateRumMetricDefinitions</code> operation is 200.</p>
|
|
47
|
+
*
|
|
48
|
+
* <p>The maximum number of metric definitions that one destination can contain is 2000.</p>
|
|
49
|
+
* <p>Extended metrics sent are charged as CloudWatch custom metrics. Each combination of additional dimension name and dimension
|
|
50
|
+
* value counts as a custom metric. For more information, see
|
|
51
|
+
* <a href="https://aws.amazon.com/cloudwatch/pricing/">Amazon CloudWatch Pricing</a>.</p>
|
|
52
|
+
* <p>You must have
|
|
53
|
+
* already created a destination for the metrics before you send them. For more information, see
|
|
54
|
+
* <a href="https://docs.aws.amazon.com/cloudwatchrum/latest/APIReference/API_PutRumMetricsDestination.html">PutRumMetricsDestination</a>.</p>
|
|
55
|
+
* <p>If some metric definitions specified in a <code>BatchCreateRumMetricDefinitions</code> operations are not valid,
|
|
56
|
+
* those metric definitions fail and return errors, but all valid metric definitions in the same operation still succeed.</p>
|
|
57
|
+
*/
|
|
58
|
+
batchCreateRumMetricDefinitions(args: BatchCreateRumMetricDefinitionsCommandInput, options?: __HttpHandlerOptions): Promise<BatchCreateRumMetricDefinitionsCommandOutput>;
|
|
59
|
+
batchCreateRumMetricDefinitions(args: BatchCreateRumMetricDefinitionsCommandInput, cb: (err: any, data?: BatchCreateRumMetricDefinitionsCommandOutput) => void): void;
|
|
60
|
+
batchCreateRumMetricDefinitions(args: BatchCreateRumMetricDefinitionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchCreateRumMetricDefinitionsCommandOutput) => void): void;
|
|
61
|
+
/**
|
|
62
|
+
* <p>Removes the specified metrics from being sent to an extended metrics destination.</p>
|
|
63
|
+
* <p>If some metric definition IDs specified in a <code>BatchDeleteRumMetricDefinitions</code> operations are not valid,
|
|
64
|
+
* those metric definitions fail and return errors, but all valid metric definition IDs in the same operation are still
|
|
65
|
+
* deleted.</p>
|
|
66
|
+
* <p>The maximum number of metric definitions that you can specify in one
|
|
67
|
+
* <code>BatchDeleteRumMetricDefinitions</code> operation is 200.</p>
|
|
68
|
+
*/
|
|
69
|
+
batchDeleteRumMetricDefinitions(args: BatchDeleteRumMetricDefinitionsCommandInput, options?: __HttpHandlerOptions): Promise<BatchDeleteRumMetricDefinitionsCommandOutput>;
|
|
70
|
+
batchDeleteRumMetricDefinitions(args: BatchDeleteRumMetricDefinitionsCommandInput, cb: (err: any, data?: BatchDeleteRumMetricDefinitionsCommandOutput) => void): void;
|
|
71
|
+
batchDeleteRumMetricDefinitions(args: BatchDeleteRumMetricDefinitionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchDeleteRumMetricDefinitionsCommandOutput) => void): void;
|
|
72
|
+
/**
|
|
73
|
+
* <p>Retrieves the list of metrics and dimensions that a RUM app monitor is sending to a single destination.</p>
|
|
74
|
+
*/
|
|
75
|
+
batchGetRumMetricDefinitions(args: BatchGetRumMetricDefinitionsCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetRumMetricDefinitionsCommandOutput>;
|
|
76
|
+
batchGetRumMetricDefinitions(args: BatchGetRumMetricDefinitionsCommandInput, cb: (err: any, data?: BatchGetRumMetricDefinitionsCommandOutput) => void): void;
|
|
77
|
+
batchGetRumMetricDefinitions(args: BatchGetRumMetricDefinitionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetRumMetricDefinitionsCommandOutput) => void): void;
|
|
25
78
|
/**
|
|
26
79
|
* <p>Creates a Amazon CloudWatch RUM app monitor, which collects telemetry data from your application and sends that
|
|
27
80
|
* data to RUM. The data includes performance and reliability information such as page load time, client-side errors,
|
|
@@ -42,6 +95,13 @@ export declare class RUM extends RUMClient {
|
|
|
42
95
|
deleteAppMonitor(args: DeleteAppMonitorCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAppMonitorCommandOutput>;
|
|
43
96
|
deleteAppMonitor(args: DeleteAppMonitorCommandInput, cb: (err: any, data?: DeleteAppMonitorCommandOutput) => void): void;
|
|
44
97
|
deleteAppMonitor(args: DeleteAppMonitorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAppMonitorCommandOutput) => void): void;
|
|
98
|
+
/**
|
|
99
|
+
* <p>Deletes a destination for CloudWatch RUM extended metrics, so that the specified app monitor stops
|
|
100
|
+
* sending extended metrics to that destination.</p>
|
|
101
|
+
*/
|
|
102
|
+
deleteRumMetricsDestination(args: DeleteRumMetricsDestinationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRumMetricsDestinationCommandOutput>;
|
|
103
|
+
deleteRumMetricsDestination(args: DeleteRumMetricsDestinationCommandInput, cb: (err: any, data?: DeleteRumMetricsDestinationCommandOutput) => void): void;
|
|
104
|
+
deleteRumMetricsDestination(args: DeleteRumMetricsDestinationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRumMetricsDestinationCommandOutput) => void): void;
|
|
45
105
|
/**
|
|
46
106
|
* <p>Retrieves the complete configuration information for one app monitor.</p>
|
|
47
107
|
*/
|
|
@@ -61,6 +121,14 @@ export declare class RUM extends RUMClient {
|
|
|
61
121
|
listAppMonitors(args: ListAppMonitorsCommandInput, options?: __HttpHandlerOptions): Promise<ListAppMonitorsCommandOutput>;
|
|
62
122
|
listAppMonitors(args: ListAppMonitorsCommandInput, cb: (err: any, data?: ListAppMonitorsCommandOutput) => void): void;
|
|
63
123
|
listAppMonitors(args: ListAppMonitorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAppMonitorsCommandOutput) => void): void;
|
|
124
|
+
/**
|
|
125
|
+
* <p>Returns a list of destinations that you have created to receive RUM extended metrics,
|
|
126
|
+
* for the specified app monitor.</p>
|
|
127
|
+
* <p>For more information about extended metrics, see <a href="https://docs.aws.amazon.com/cloudwatchrum/latest/APIReference/API_AddRumMetrcs.html">AddRumMetrics</a>.</p>
|
|
128
|
+
*/
|
|
129
|
+
listRumMetricsDestinations(args: ListRumMetricsDestinationsCommandInput, options?: __HttpHandlerOptions): Promise<ListRumMetricsDestinationsCommandOutput>;
|
|
130
|
+
listRumMetricsDestinations(args: ListRumMetricsDestinationsCommandInput, cb: (err: any, data?: ListRumMetricsDestinationsCommandOutput) => void): void;
|
|
131
|
+
listRumMetricsDestinations(args: ListRumMetricsDestinationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRumMetricsDestinationsCommandOutput) => void): void;
|
|
64
132
|
/**
|
|
65
133
|
* <p>Displays the tags associated with a CloudWatch RUM resource.</p>
|
|
66
134
|
*/
|
|
@@ -76,6 +144,14 @@ export declare class RUM extends RUMClient {
|
|
|
76
144
|
putRumEvents(args: PutRumEventsCommandInput, options?: __HttpHandlerOptions): Promise<PutRumEventsCommandOutput>;
|
|
77
145
|
putRumEvents(args: PutRumEventsCommandInput, cb: (err: any, data?: PutRumEventsCommandOutput) => void): void;
|
|
78
146
|
putRumEvents(args: PutRumEventsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutRumEventsCommandOutput) => void): void;
|
|
147
|
+
/**
|
|
148
|
+
* <p>Creates or updates a destination to receive extended metrics from CloudWatch RUM. You can send
|
|
149
|
+
* extended metrics to CloudWatch or to a CloudWatch Evidently experiment.</p>
|
|
150
|
+
* <p>For more information about extended metrics, see <a href="https://docs.aws.amazon.com/cloudwatchrum/latest/APIReference/API_AddRumMetrics.html">AddRumMetrics</a>.</p>
|
|
151
|
+
*/
|
|
152
|
+
putRumMetricsDestination(args: PutRumMetricsDestinationCommandInput, options?: __HttpHandlerOptions): Promise<PutRumMetricsDestinationCommandOutput>;
|
|
153
|
+
putRumMetricsDestination(args: PutRumMetricsDestinationCommandInput, cb: (err: any, data?: PutRumMetricsDestinationCommandOutput) => void): void;
|
|
154
|
+
putRumMetricsDestination(args: PutRumMetricsDestinationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutRumMetricsDestinationCommandOutput) => void): void;
|
|
79
155
|
/**
|
|
80
156
|
* <p>Assigns one or more tags (key-value pairs) to the specified CloudWatch RUM resource. Currently,
|
|
81
157
|
* the only resources that
|
|
@@ -117,4 +193,11 @@ export declare class RUM extends RUMClient {
|
|
|
117
193
|
updateAppMonitor(args: UpdateAppMonitorCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAppMonitorCommandOutput>;
|
|
118
194
|
updateAppMonitor(args: UpdateAppMonitorCommandInput, cb: (err: any, data?: UpdateAppMonitorCommandOutput) => void): void;
|
|
119
195
|
updateAppMonitor(args: UpdateAppMonitorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAppMonitorCommandOutput) => void): void;
|
|
196
|
+
/**
|
|
197
|
+
* <p>Modifies one existing metric definition for CloudWatch RUM extended metrics. For
|
|
198
|
+
* more information about extended metrics, see <a href="https://docs.aws.amazon.com/cloudwatchrum/latest/APIReference/API_BatchCreateRumMetricsDefinitions.html">BatchCreateRumMetricsDefinitions</a>.</p>
|
|
199
|
+
*/
|
|
200
|
+
updateRumMetricDefinition(args: UpdateRumMetricDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRumMetricDefinitionCommandOutput>;
|
|
201
|
+
updateRumMetricDefinition(args: UpdateRumMetricDefinitionCommandInput, cb: (err: any, data?: UpdateRumMetricDefinitionCommandOutput) => void): void;
|
|
202
|
+
updateRumMetricDefinition(args: UpdateRumMetricDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRumMetricDefinitionCommandOutput) => void): void;
|
|
120
203
|
}
|
|
@@ -1,23 +1,32 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
2
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@aws-sdk/middleware-endpoint";
|
|
2
3
|
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
3
4
|
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
4
5
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
6
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
7
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
8
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider,
|
|
9
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
10
|
+
import { BatchCreateRumMetricDefinitionsCommandInput, BatchCreateRumMetricDefinitionsCommandOutput } from "./commands/BatchCreateRumMetricDefinitionsCommand";
|
|
11
|
+
import { BatchDeleteRumMetricDefinitionsCommandInput, BatchDeleteRumMetricDefinitionsCommandOutput } from "./commands/BatchDeleteRumMetricDefinitionsCommand";
|
|
12
|
+
import { BatchGetRumMetricDefinitionsCommandInput, BatchGetRumMetricDefinitionsCommandOutput } from "./commands/BatchGetRumMetricDefinitionsCommand";
|
|
9
13
|
import { CreateAppMonitorCommandInput, CreateAppMonitorCommandOutput } from "./commands/CreateAppMonitorCommand";
|
|
10
14
|
import { DeleteAppMonitorCommandInput, DeleteAppMonitorCommandOutput } from "./commands/DeleteAppMonitorCommand";
|
|
15
|
+
import { DeleteRumMetricsDestinationCommandInput, DeleteRumMetricsDestinationCommandOutput } from "./commands/DeleteRumMetricsDestinationCommand";
|
|
11
16
|
import { GetAppMonitorCommandInput, GetAppMonitorCommandOutput } from "./commands/GetAppMonitorCommand";
|
|
12
17
|
import { GetAppMonitorDataCommandInput, GetAppMonitorDataCommandOutput } from "./commands/GetAppMonitorDataCommand";
|
|
13
18
|
import { ListAppMonitorsCommandInput, ListAppMonitorsCommandOutput } from "./commands/ListAppMonitorsCommand";
|
|
19
|
+
import { ListRumMetricsDestinationsCommandInput, ListRumMetricsDestinationsCommandOutput } from "./commands/ListRumMetricsDestinationsCommand";
|
|
14
20
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
15
21
|
import { PutRumEventsCommandInput, PutRumEventsCommandOutput } from "./commands/PutRumEventsCommand";
|
|
22
|
+
import { PutRumMetricsDestinationCommandInput, PutRumMetricsDestinationCommandOutput } from "./commands/PutRumMetricsDestinationCommand";
|
|
16
23
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
17
24
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
18
25
|
import { UpdateAppMonitorCommandInput, UpdateAppMonitorCommandOutput } from "./commands/UpdateAppMonitorCommand";
|
|
19
|
-
|
|
20
|
-
|
|
26
|
+
import { UpdateRumMetricDefinitionCommandInput, UpdateRumMetricDefinitionCommandOutput } from "./commands/UpdateRumMetricDefinitionCommand";
|
|
27
|
+
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
28
|
+
export declare type ServiceInputTypes = BatchCreateRumMetricDefinitionsCommandInput | BatchDeleteRumMetricDefinitionsCommandInput | BatchGetRumMetricDefinitionsCommandInput | CreateAppMonitorCommandInput | DeleteAppMonitorCommandInput | DeleteRumMetricsDestinationCommandInput | GetAppMonitorCommandInput | GetAppMonitorDataCommandInput | ListAppMonitorsCommandInput | ListRumMetricsDestinationsCommandInput | ListTagsForResourceCommandInput | PutRumEventsCommandInput | PutRumMetricsDestinationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAppMonitorCommandInput | UpdateRumMetricDefinitionCommandInput;
|
|
29
|
+
export declare type ServiceOutputTypes = BatchCreateRumMetricDefinitionsCommandOutput | BatchDeleteRumMetricDefinitionsCommandOutput | BatchGetRumMetricDefinitionsCommandOutput | CreateAppMonitorCommandOutput | DeleteAppMonitorCommandOutput | DeleteRumMetricsDestinationCommandOutput | GetAppMonitorCommandOutput | GetAppMonitorDataCommandOutput | ListAppMonitorsCommandOutput | ListRumMetricsDestinationsCommandOutput | ListTagsForResourceCommandOutput | PutRumEventsCommandOutput | PutRumMetricsDestinationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAppMonitorCommandOutput | UpdateRumMetricDefinitionCommandOutput;
|
|
21
30
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
22
31
|
/**
|
|
23
32
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -108,11 +117,6 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
108
117
|
* @internal
|
|
109
118
|
*/
|
|
110
119
|
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
111
|
-
/**
|
|
112
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
113
|
-
* @internal
|
|
114
|
-
*/
|
|
115
|
-
regionInfoProvider?: RegionInfoProvider;
|
|
116
120
|
/**
|
|
117
121
|
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
118
122
|
* @internal
|
|
@@ -123,13 +127,13 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
123
127
|
*/
|
|
124
128
|
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
125
129
|
}
|
|
126
|
-
declare type RUMClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig &
|
|
130
|
+
declare type RUMClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
127
131
|
/**
|
|
128
132
|
* The configuration interface of RUMClient class constructor that set the region, credentials and other options.
|
|
129
133
|
*/
|
|
130
134
|
export interface RUMClientConfig extends RUMClientConfigType {
|
|
131
135
|
}
|
|
132
|
-
declare type RUMClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig &
|
|
136
|
+
declare type RUMClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
133
137
|
/**
|
|
134
138
|
* The resolved configuration interface of RUMClient class. This is resolved and normalized from the {@link RUMClientConfig | constructor configuration interface}.
|
|
135
139
|
*/
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { BatchCreateRumMetricDefinitionsRequest, BatchCreateRumMetricDefinitionsResponse } from "../models/models_0";
|
|
5
|
+
import { RUMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RUMClient";
|
|
6
|
+
export interface BatchCreateRumMetricDefinitionsCommandInput extends BatchCreateRumMetricDefinitionsRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface BatchCreateRumMetricDefinitionsCommandOutput extends BatchCreateRumMetricDefinitionsResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Specifies the extended metrics that you want a CloudWatch RUM app monitor to send to a destination. Valid
|
|
12
|
+
* destinations include CloudWatch and Evidently.</p>
|
|
13
|
+
* <p>By default, RUM app monitors send some metrics to CloudWatch. These default metrics
|
|
14
|
+
* are listed in <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-metrics.html">CloudWatch metrics that you can collect
|
|
15
|
+
* with CloudWatch RUM</a>.</p>
|
|
16
|
+
* <p>If you also send extended metrics, you can send metrics to Evidently as well as CloudWatch, and you can also
|
|
17
|
+
* optionally
|
|
18
|
+
* send the metrics with additional dimensions. The valid dimension names for the additional dimensions are
|
|
19
|
+
* <code>BrowserName</code>, <code>CountryCode</code>, <code>DeviceType</code>,
|
|
20
|
+
* <code>FileType</code>, <code>OSName</code>, and <code>PageId</code>. For more information, see
|
|
21
|
+
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-vended-metrics.html">
|
|
22
|
+
* Extended metrics that you can send to CloudWatch and CloudWatch Evidently</a>.</p>
|
|
23
|
+
* <p>The maximum number of metric definitions that you can specify in one
|
|
24
|
+
* <code>BatchCreateRumMetricDefinitions</code> operation is 200.</p>
|
|
25
|
+
*
|
|
26
|
+
* <p>The maximum number of metric definitions that one destination can contain is 2000.</p>
|
|
27
|
+
* <p>Extended metrics sent are charged as CloudWatch custom metrics. Each combination of additional dimension name and dimension
|
|
28
|
+
* value counts as a custom metric. For more information, see
|
|
29
|
+
* <a href="https://aws.amazon.com/cloudwatch/pricing/">Amazon CloudWatch Pricing</a>.</p>
|
|
30
|
+
* <p>You must have
|
|
31
|
+
* already created a destination for the metrics before you send them. For more information, see
|
|
32
|
+
* <a href="https://docs.aws.amazon.com/cloudwatchrum/latest/APIReference/API_PutRumMetricsDestination.html">PutRumMetricsDestination</a>.</p>
|
|
33
|
+
* <p>If some metric definitions specified in a <code>BatchCreateRumMetricDefinitions</code> operations are not valid,
|
|
34
|
+
* those metric definitions fail and return errors, but all valid metric definitions in the same operation still succeed.</p>
|
|
35
|
+
* @example
|
|
36
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
37
|
+
* ```javascript
|
|
38
|
+
* import { RUMClient, BatchCreateRumMetricDefinitionsCommand } from "@aws-sdk/client-rum"; // ES Modules import
|
|
39
|
+
* // const { RUMClient, BatchCreateRumMetricDefinitionsCommand } = require("@aws-sdk/client-rum"); // CommonJS import
|
|
40
|
+
* const client = new RUMClient(config);
|
|
41
|
+
* const command = new BatchCreateRumMetricDefinitionsCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* @see {@link BatchCreateRumMetricDefinitionsCommandInput} for command's `input` shape.
|
|
46
|
+
* @see {@link BatchCreateRumMetricDefinitionsCommandOutput} for command's `response` shape.
|
|
47
|
+
* @see {@link RUMClientResolvedConfig | config} for RUMClient's `config` shape.
|
|
48
|
+
*
|
|
49
|
+
*/
|
|
50
|
+
export declare class BatchCreateRumMetricDefinitionsCommand extends $Command<BatchCreateRumMetricDefinitionsCommandInput, BatchCreateRumMetricDefinitionsCommandOutput, RUMClientResolvedConfig> {
|
|
51
|
+
readonly input: BatchCreateRumMetricDefinitionsCommandInput;
|
|
52
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
53
|
+
constructor(input: BatchCreateRumMetricDefinitionsCommandInput);
|
|
54
|
+
/**
|
|
55
|
+
* @internal
|
|
56
|
+
*/
|
|
57
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RUMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchCreateRumMetricDefinitionsCommandInput, BatchCreateRumMetricDefinitionsCommandOutput>;
|
|
58
|
+
private serialize;
|
|
59
|
+
private deserialize;
|
|
60
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { BatchDeleteRumMetricDefinitionsRequest, BatchDeleteRumMetricDefinitionsResponse } from "../models/models_0";
|
|
5
|
+
import { RUMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RUMClient";
|
|
6
|
+
export interface BatchDeleteRumMetricDefinitionsCommandInput extends BatchDeleteRumMetricDefinitionsRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface BatchDeleteRumMetricDefinitionsCommandOutput extends BatchDeleteRumMetricDefinitionsResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Removes the specified metrics from being sent to an extended metrics destination.</p>
|
|
12
|
+
* <p>If some metric definition IDs specified in a <code>BatchDeleteRumMetricDefinitions</code> operations are not valid,
|
|
13
|
+
* those metric definitions fail and return errors, but all valid metric definition IDs in the same operation are still
|
|
14
|
+
* deleted.</p>
|
|
15
|
+
* <p>The maximum number of metric definitions that you can specify in one
|
|
16
|
+
* <code>BatchDeleteRumMetricDefinitions</code> operation is 200.</p>
|
|
17
|
+
* @example
|
|
18
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
19
|
+
* ```javascript
|
|
20
|
+
* import { RUMClient, BatchDeleteRumMetricDefinitionsCommand } from "@aws-sdk/client-rum"; // ES Modules import
|
|
21
|
+
* // const { RUMClient, BatchDeleteRumMetricDefinitionsCommand } = require("@aws-sdk/client-rum"); // CommonJS import
|
|
22
|
+
* const client = new RUMClient(config);
|
|
23
|
+
* const command = new BatchDeleteRumMetricDefinitionsCommand(input);
|
|
24
|
+
* const response = await client.send(command);
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* @see {@link BatchDeleteRumMetricDefinitionsCommandInput} for command's `input` shape.
|
|
28
|
+
* @see {@link BatchDeleteRumMetricDefinitionsCommandOutput} for command's `response` shape.
|
|
29
|
+
* @see {@link RUMClientResolvedConfig | config} for RUMClient's `config` shape.
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
export declare class BatchDeleteRumMetricDefinitionsCommand extends $Command<BatchDeleteRumMetricDefinitionsCommandInput, BatchDeleteRumMetricDefinitionsCommandOutput, RUMClientResolvedConfig> {
|
|
33
|
+
readonly input: BatchDeleteRumMetricDefinitionsCommandInput;
|
|
34
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
35
|
+
constructor(input: BatchDeleteRumMetricDefinitionsCommandInput);
|
|
36
|
+
/**
|
|
37
|
+
* @internal
|
|
38
|
+
*/
|
|
39
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RUMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchDeleteRumMetricDefinitionsCommandInput, BatchDeleteRumMetricDefinitionsCommandOutput>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { BatchGetRumMetricDefinitionsRequest, BatchGetRumMetricDefinitionsResponse } from "../models/models_0";
|
|
5
|
+
import { RUMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RUMClient";
|
|
6
|
+
export interface BatchGetRumMetricDefinitionsCommandInput extends BatchGetRumMetricDefinitionsRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface BatchGetRumMetricDefinitionsCommandOutput extends BatchGetRumMetricDefinitionsResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Retrieves the list of metrics and dimensions that a RUM app monitor is sending to a single destination.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { RUMClient, BatchGetRumMetricDefinitionsCommand } from "@aws-sdk/client-rum"; // ES Modules import
|
|
16
|
+
* // const { RUMClient, BatchGetRumMetricDefinitionsCommand } = require("@aws-sdk/client-rum"); // CommonJS import
|
|
17
|
+
* const client = new RUMClient(config);
|
|
18
|
+
* const command = new BatchGetRumMetricDefinitionsCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link BatchGetRumMetricDefinitionsCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link BatchGetRumMetricDefinitionsCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link RUMClientResolvedConfig | config} for RUMClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class BatchGetRumMetricDefinitionsCommand extends $Command<BatchGetRumMetricDefinitionsCommandInput, BatchGetRumMetricDefinitionsCommandOutput, RUMClientResolvedConfig> {
|
|
28
|
+
readonly input: BatchGetRumMetricDefinitionsCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: BatchGetRumMetricDefinitionsCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RUMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchGetRumMetricDefinitionsCommandInput, BatchGetRumMetricDefinitionsCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { CreateAppMonitorRequest, CreateAppMonitorResponse } from "../models/models_0";
|
|
@@ -33,6 +34,7 @@ export interface CreateAppMonitorCommandOutput extends CreateAppMonitorResponse,
|
|
|
33
34
|
*/
|
|
34
35
|
export declare class CreateAppMonitorCommand extends $Command<CreateAppMonitorCommandInput, CreateAppMonitorCommandOutput, RUMClientResolvedConfig> {
|
|
35
36
|
readonly input: CreateAppMonitorCommandInput;
|
|
37
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
36
38
|
constructor(input: CreateAppMonitorCommandInput);
|
|
37
39
|
/**
|
|
38
40
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { DeleteAppMonitorRequest, DeleteAppMonitorResponse } from "../models/models_0";
|
|
@@ -25,6 +26,7 @@ export interface DeleteAppMonitorCommandOutput extends DeleteAppMonitorResponse,
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class DeleteAppMonitorCommand extends $Command<DeleteAppMonitorCommandInput, DeleteAppMonitorCommandOutput, RUMClientResolvedConfig> {
|
|
27
28
|
readonly input: DeleteAppMonitorCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: DeleteAppMonitorCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { DeleteRumMetricsDestinationRequest, DeleteRumMetricsDestinationResponse } from "../models/models_0";
|
|
5
|
+
import { RUMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RUMClient";
|
|
6
|
+
export interface DeleteRumMetricsDestinationCommandInput extends DeleteRumMetricsDestinationRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface DeleteRumMetricsDestinationCommandOutput extends DeleteRumMetricsDestinationResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Deletes a destination for CloudWatch RUM extended metrics, so that the specified app monitor stops
|
|
12
|
+
* sending extended metrics to that destination.</p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { RUMClient, DeleteRumMetricsDestinationCommand } from "@aws-sdk/client-rum"; // ES Modules import
|
|
17
|
+
* // const { RUMClient, DeleteRumMetricsDestinationCommand } = require("@aws-sdk/client-rum"); // CommonJS import
|
|
18
|
+
* const client = new RUMClient(config);
|
|
19
|
+
* const command = new DeleteRumMetricsDestinationCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link DeleteRumMetricsDestinationCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link DeleteRumMetricsDestinationCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link RUMClientResolvedConfig | config} for RUMClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class DeleteRumMetricsDestinationCommand extends $Command<DeleteRumMetricsDestinationCommandInput, DeleteRumMetricsDestinationCommandOutput, RUMClientResolvedConfig> {
|
|
29
|
+
readonly input: DeleteRumMetricsDestinationCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: DeleteRumMetricsDestinationCommandInput);
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RUMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteRumMetricsDestinationCommandInput, DeleteRumMetricsDestinationCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { GetAppMonitorRequest, GetAppMonitorResponse } from "../models/models_0";
|
|
@@ -25,6 +26,7 @@ export interface GetAppMonitorCommandOutput extends GetAppMonitorResponse, __Met
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class GetAppMonitorCommand extends $Command<GetAppMonitorCommandInput, GetAppMonitorCommandOutput, RUMClientResolvedConfig> {
|
|
27
28
|
readonly input: GetAppMonitorCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: GetAppMonitorCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { GetAppMonitorDataRequest, GetAppMonitorDataResponse } from "../models/models_0";
|
|
@@ -26,6 +27,7 @@ export interface GetAppMonitorDataCommandOutput extends GetAppMonitorDataRespons
|
|
|
26
27
|
*/
|
|
27
28
|
export declare class GetAppMonitorDataCommand extends $Command<GetAppMonitorDataCommandInput, GetAppMonitorDataCommandOutput, RUMClientResolvedConfig> {
|
|
28
29
|
readonly input: GetAppMonitorDataCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
29
31
|
constructor(input: GetAppMonitorDataCommandInput);
|
|
30
32
|
/**
|
|
31
33
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ListAppMonitorsRequest, ListAppMonitorsResponse } from "../models/models_0";
|
|
@@ -25,6 +26,7 @@ export interface ListAppMonitorsCommandOutput extends ListAppMonitorsResponse, _
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class ListAppMonitorsCommand extends $Command<ListAppMonitorsCommandInput, ListAppMonitorsCommandOutput, RUMClientResolvedConfig> {
|
|
27
28
|
readonly input: ListAppMonitorsCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: ListAppMonitorsCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { ListRumMetricsDestinationsRequest, ListRumMetricsDestinationsResponse } from "../models/models_0";
|
|
5
|
+
import { RUMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RUMClient";
|
|
6
|
+
export interface ListRumMetricsDestinationsCommandInput extends ListRumMetricsDestinationsRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface ListRumMetricsDestinationsCommandOutput extends ListRumMetricsDestinationsResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Returns a list of destinations that you have created to receive RUM extended metrics,
|
|
12
|
+
* for the specified app monitor.</p>
|
|
13
|
+
* <p>For more information about extended metrics, see <a href="https://docs.aws.amazon.com/cloudwatchrum/latest/APIReference/API_AddRumMetrcs.html">AddRumMetrics</a>.</p>
|
|
14
|
+
* @example
|
|
15
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
+
* ```javascript
|
|
17
|
+
* import { RUMClient, ListRumMetricsDestinationsCommand } from "@aws-sdk/client-rum"; // ES Modules import
|
|
18
|
+
* // const { RUMClient, ListRumMetricsDestinationsCommand } = require("@aws-sdk/client-rum"); // CommonJS import
|
|
19
|
+
* const client = new RUMClient(config);
|
|
20
|
+
* const command = new ListRumMetricsDestinationsCommand(input);
|
|
21
|
+
* const response = await client.send(command);
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* @see {@link ListRumMetricsDestinationsCommandInput} for command's `input` shape.
|
|
25
|
+
* @see {@link ListRumMetricsDestinationsCommandOutput} for command's `response` shape.
|
|
26
|
+
* @see {@link RUMClientResolvedConfig | config} for RUMClient's `config` shape.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
export declare class ListRumMetricsDestinationsCommand extends $Command<ListRumMetricsDestinationsCommandInput, ListRumMetricsDestinationsCommandOutput, RUMClientResolvedConfig> {
|
|
30
|
+
readonly input: ListRumMetricsDestinationsCommandInput;
|
|
31
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
32
|
+
constructor(input: ListRumMetricsDestinationsCommandInput);
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RUMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListRumMetricsDestinationsCommandInput, ListRumMetricsDestinationsCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
@@ -25,6 +26,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, RUMClientResolvedConfig> {
|
|
27
28
|
readonly input: ListTagsForResourceCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: ListTagsForResourceCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { PutRumEventsRequest, PutRumEventsResponse } from "../models/models_0";
|
|
@@ -28,6 +29,7 @@ export interface PutRumEventsCommandOutput extends PutRumEventsResponse, __Metad
|
|
|
28
29
|
*/
|
|
29
30
|
export declare class PutRumEventsCommand extends $Command<PutRumEventsCommandInput, PutRumEventsCommandOutput, RUMClientResolvedConfig> {
|
|
30
31
|
readonly input: PutRumEventsCommandInput;
|
|
32
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
33
|
constructor(input: PutRumEventsCommandInput);
|
|
32
34
|
/**
|
|
33
35
|
* @internal
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { PutRumMetricsDestinationRequest, PutRumMetricsDestinationResponse } from "../models/models_0";
|
|
5
|
+
import { RUMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RUMClient";
|
|
6
|
+
export interface PutRumMetricsDestinationCommandInput extends PutRumMetricsDestinationRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface PutRumMetricsDestinationCommandOutput extends PutRumMetricsDestinationResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Creates or updates a destination to receive extended metrics from CloudWatch RUM. You can send
|
|
12
|
+
* extended metrics to CloudWatch or to a CloudWatch Evidently experiment.</p>
|
|
13
|
+
* <p>For more information about extended metrics, see <a href="https://docs.aws.amazon.com/cloudwatchrum/latest/APIReference/API_AddRumMetrics.html">AddRumMetrics</a>.</p>
|
|
14
|
+
* @example
|
|
15
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
+
* ```javascript
|
|
17
|
+
* import { RUMClient, PutRumMetricsDestinationCommand } from "@aws-sdk/client-rum"; // ES Modules import
|
|
18
|
+
* // const { RUMClient, PutRumMetricsDestinationCommand } = require("@aws-sdk/client-rum"); // CommonJS import
|
|
19
|
+
* const client = new RUMClient(config);
|
|
20
|
+
* const command = new PutRumMetricsDestinationCommand(input);
|
|
21
|
+
* const response = await client.send(command);
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* @see {@link PutRumMetricsDestinationCommandInput} for command's `input` shape.
|
|
25
|
+
* @see {@link PutRumMetricsDestinationCommandOutput} for command's `response` shape.
|
|
26
|
+
* @see {@link RUMClientResolvedConfig | config} for RUMClient's `config` shape.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
export declare class PutRumMetricsDestinationCommand extends $Command<PutRumMetricsDestinationCommandInput, PutRumMetricsDestinationCommandOutput, RUMClientResolvedConfig> {
|
|
30
|
+
readonly input: PutRumMetricsDestinationCommandInput;
|
|
31
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
32
|
+
constructor(input: PutRumMetricsDestinationCommandInput);
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RUMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutRumMetricsDestinationCommandInput, PutRumMetricsDestinationCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
@@ -38,6 +39,7 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
38
39
|
*/
|
|
39
40
|
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, RUMClientResolvedConfig> {
|
|
40
41
|
readonly input: TagResourceCommandInput;
|
|
42
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
41
43
|
constructor(input: TagResourceCommandInput);
|
|
42
44
|
/**
|
|
43
45
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
@@ -25,6 +26,7 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, RUMClientResolvedConfig> {
|
|
27
28
|
readonly input: UntagResourceCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: UntagResourceCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|