@aws-sdk/client-rum 3.298.0 → 3.300.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.
@@ -65,6 +65,23 @@ export interface BatchCreateRumMetricDefinitionsCommandOutput extends BatchCreat
65
65
  * import { RUMClient, BatchCreateRumMetricDefinitionsCommand } from "@aws-sdk/client-rum"; // ES Modules import
66
66
  * // const { RUMClient, BatchCreateRumMetricDefinitionsCommand } = require("@aws-sdk/client-rum"); // CommonJS import
67
67
  * const client = new RUMClient(config);
68
+ * const input = {
69
+ * AppMonitorName: "STRING_VALUE", // required
70
+ * Destination: "STRING_VALUE", // required
71
+ * DestinationArn: "STRING_VALUE",
72
+ * MetricDefinitions: [ // required
73
+ * {
74
+ * Name: "STRING_VALUE", // required
75
+ * ValueKey: "STRING_VALUE",
76
+ * UnitLabel: "STRING_VALUE",
77
+ * DimensionKeys: {
78
+ * "<keys>": "STRING_VALUE",
79
+ * },
80
+ * EventPattern: "STRING_VALUE",
81
+ * Namespace: "STRING_VALUE",
82
+ * },
83
+ * ],
84
+ * };
68
85
  * const command = new BatchCreateRumMetricDefinitionsCommand(input);
69
86
  * const response = await client.send(command);
70
87
  * ```
@@ -31,6 +31,14 @@ export interface BatchDeleteRumMetricDefinitionsCommandOutput extends BatchDelet
31
31
  * import { RUMClient, BatchDeleteRumMetricDefinitionsCommand } from "@aws-sdk/client-rum"; // ES Modules import
32
32
  * // const { RUMClient, BatchDeleteRumMetricDefinitionsCommand } = require("@aws-sdk/client-rum"); // CommonJS import
33
33
  * const client = new RUMClient(config);
34
+ * const input = {
35
+ * AppMonitorName: "STRING_VALUE", // required
36
+ * Destination: "STRING_VALUE", // required
37
+ * DestinationArn: "STRING_VALUE",
38
+ * MetricDefinitionIds: [ // required
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * };
34
42
  * const command = new BatchDeleteRumMetricDefinitionsCommand(input);
35
43
  * const response = await client.send(command);
36
44
  * ```
@@ -26,6 +26,13 @@ export interface BatchGetRumMetricDefinitionsCommandOutput extends BatchGetRumMe
26
26
  * import { RUMClient, BatchGetRumMetricDefinitionsCommand } from "@aws-sdk/client-rum"; // ES Modules import
27
27
  * // const { RUMClient, BatchGetRumMetricDefinitionsCommand } = require("@aws-sdk/client-rum"); // CommonJS import
28
28
  * const client = new RUMClient(config);
29
+ * const input = {
30
+ * AppMonitorName: "STRING_VALUE", // required
31
+ * Destination: "STRING_VALUE", // required
32
+ * DestinationArn: "STRING_VALUE",
33
+ * MaxResults: Number("int"),
34
+ * NextToken: "STRING_VALUE",
35
+ * };
29
36
  * const command = new BatchGetRumMetricDefinitionsCommand(input);
30
37
  * const response = await client.send(command);
31
38
  * ```
@@ -34,6 +34,36 @@ export interface CreateAppMonitorCommandOutput extends CreateAppMonitorResponse,
34
34
  * import { RUMClient, CreateAppMonitorCommand } from "@aws-sdk/client-rum"; // ES Modules import
35
35
  * // const { RUMClient, CreateAppMonitorCommand } = require("@aws-sdk/client-rum"); // CommonJS import
36
36
  * const client = new RUMClient(config);
37
+ * const input = {
38
+ * Name: "STRING_VALUE", // required
39
+ * Domain: "STRING_VALUE", // required
40
+ * Tags: {
41
+ * "<keys>": "STRING_VALUE",
42
+ * },
43
+ * AppMonitorConfiguration: {
44
+ * IdentityPoolId: "STRING_VALUE",
45
+ * ExcludedPages: [
46
+ * "STRING_VALUE",
47
+ * ],
48
+ * IncludedPages: [
49
+ * "STRING_VALUE",
50
+ * ],
51
+ * FavoritePages: [
52
+ * "STRING_VALUE",
53
+ * ],
54
+ * SessionSampleRate: Number("double"),
55
+ * GuestRoleArn: "STRING_VALUE",
56
+ * AllowCookies: true || false,
57
+ * Telemetries: [
58
+ * "STRING_VALUE",
59
+ * ],
60
+ * EnableXRay: true || false,
61
+ * },
62
+ * CwLogEnabled: true || false,
63
+ * CustomEvents: {
64
+ * Status: "STRING_VALUE",
65
+ * },
66
+ * };
37
67
  * const command = new CreateAppMonitorCommand(input);
38
68
  * const response = await client.send(command);
39
69
  * ```
@@ -26,6 +26,9 @@ export interface DeleteAppMonitorCommandOutput extends DeleteAppMonitorResponse,
26
26
  * import { RUMClient, DeleteAppMonitorCommand } from "@aws-sdk/client-rum"; // ES Modules import
27
27
  * // const { RUMClient, DeleteAppMonitorCommand } = require("@aws-sdk/client-rum"); // CommonJS import
28
28
  * const client = new RUMClient(config);
29
+ * const input = {
30
+ * Name: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DeleteAppMonitorCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -27,6 +27,11 @@ export interface DeleteRumMetricsDestinationCommandOutput extends DeleteRumMetri
27
27
  * import { RUMClient, DeleteRumMetricsDestinationCommand } from "@aws-sdk/client-rum"; // ES Modules import
28
28
  * // const { RUMClient, DeleteRumMetricsDestinationCommand } = require("@aws-sdk/client-rum"); // CommonJS import
29
29
  * const client = new RUMClient(config);
30
+ * const input = {
31
+ * AppMonitorName: "STRING_VALUE", // required
32
+ * Destination: "STRING_VALUE", // required
33
+ * DestinationArn: "STRING_VALUE",
34
+ * };
30
35
  * const command = new DeleteRumMetricsDestinationCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -26,6 +26,9 @@ export interface GetAppMonitorCommandOutput extends GetAppMonitorResponse, __Met
26
26
  * import { RUMClient, GetAppMonitorCommand } from "@aws-sdk/client-rum"; // ES Modules import
27
27
  * // const { RUMClient, GetAppMonitorCommand } = require("@aws-sdk/client-rum"); // CommonJS import
28
28
  * const client = new RUMClient(config);
29
+ * const input = {
30
+ * Name: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new GetAppMonitorCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -27,6 +27,23 @@ export interface GetAppMonitorDataCommandOutput extends GetAppMonitorDataRespons
27
27
  * import { RUMClient, GetAppMonitorDataCommand } from "@aws-sdk/client-rum"; // ES Modules import
28
28
  * // const { RUMClient, GetAppMonitorDataCommand } = require("@aws-sdk/client-rum"); // CommonJS import
29
29
  * const client = new RUMClient(config);
30
+ * const input = {
31
+ * Name: "STRING_VALUE", // required
32
+ * TimeRange: {
33
+ * After: Number("long"), // required
34
+ * Before: Number("long"),
35
+ * },
36
+ * Filters: [
37
+ * {
38
+ * Name: "STRING_VALUE",
39
+ * Values: [
40
+ * "STRING_VALUE",
41
+ * ],
42
+ * },
43
+ * ],
44
+ * MaxResults: Number("int"),
45
+ * NextToken: "STRING_VALUE",
46
+ * };
30
47
  * const command = new GetAppMonitorDataCommand(input);
31
48
  * const response = await client.send(command);
32
49
  * ```
@@ -26,6 +26,10 @@ export interface ListAppMonitorsCommandOutput extends ListAppMonitorsResponse, _
26
26
  * import { RUMClient, ListAppMonitorsCommand } from "@aws-sdk/client-rum"; // ES Modules import
27
27
  * // const { RUMClient, ListAppMonitorsCommand } = require("@aws-sdk/client-rum"); // CommonJS import
28
28
  * const client = new RUMClient(config);
29
+ * const input = {
30
+ * MaxResults: Number("int"),
31
+ * NextToken: "STRING_VALUE",
32
+ * };
29
33
  * const command = new ListAppMonitorsCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -28,6 +28,11 @@ export interface ListRumMetricsDestinationsCommandOutput extends ListRumMetricsD
28
28
  * import { RUMClient, ListRumMetricsDestinationsCommand } from "@aws-sdk/client-rum"; // ES Modules import
29
29
  * // const { RUMClient, ListRumMetricsDestinationsCommand } = require("@aws-sdk/client-rum"); // CommonJS import
30
30
  * const client = new RUMClient(config);
31
+ * const input = {
32
+ * AppMonitorName: "STRING_VALUE", // required
33
+ * MaxResults: Number("int"),
34
+ * NextToken: "STRING_VALUE",
35
+ * };
31
36
  * const command = new ListRumMetricsDestinationsCommand(input);
32
37
  * const response = await client.send(command);
33
38
  * ```
@@ -26,6 +26,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
26
26
  * import { RUMClient, ListTagsForResourceCommand } from "@aws-sdk/client-rum"; // ES Modules import
27
27
  * // const { RUMClient, ListTagsForResourceCommand } = require("@aws-sdk/client-rum"); // CommonJS import
28
28
  * const client = new RUMClient(config);
29
+ * const input = {
30
+ * ResourceArn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new ListTagsForResourceCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -29,6 +29,28 @@ export interface PutRumEventsCommandOutput extends PutRumEventsResponse, __Metad
29
29
  * import { RUMClient, PutRumEventsCommand } from "@aws-sdk/client-rum"; // ES Modules import
30
30
  * // const { RUMClient, PutRumEventsCommand } = require("@aws-sdk/client-rum"); // CommonJS import
31
31
  * const client = new RUMClient(config);
32
+ * const input = {
33
+ * Id: "STRING_VALUE", // required
34
+ * BatchId: "STRING_VALUE", // required
35
+ * AppMonitorDetails: {
36
+ * name: "STRING_VALUE",
37
+ * id: "STRING_VALUE",
38
+ * version: "STRING_VALUE",
39
+ * },
40
+ * UserDetails: {
41
+ * userId: "STRING_VALUE",
42
+ * sessionId: "STRING_VALUE",
43
+ * },
44
+ * RumEvents: [ // required
45
+ * {
46
+ * id: "STRING_VALUE", // required
47
+ * timestamp: new Date("TIMESTAMP"), // required
48
+ * type: "STRING_VALUE", // required
49
+ * metadata: "STRING_VALUE",
50
+ * details: "STRING_VALUE", // required
51
+ * },
52
+ * ],
53
+ * };
32
54
  * const command = new PutRumEventsCommand(input);
33
55
  * const response = await client.send(command);
34
56
  * ```
@@ -28,6 +28,12 @@ export interface PutRumMetricsDestinationCommandOutput extends PutRumMetricsDest
28
28
  * import { RUMClient, PutRumMetricsDestinationCommand } from "@aws-sdk/client-rum"; // ES Modules import
29
29
  * // const { RUMClient, PutRumMetricsDestinationCommand } = require("@aws-sdk/client-rum"); // CommonJS import
30
30
  * const client = new RUMClient(config);
31
+ * const input = {
32
+ * AppMonitorName: "STRING_VALUE", // required
33
+ * Destination: "STRING_VALUE", // required
34
+ * DestinationArn: "STRING_VALUE",
35
+ * IamRoleArn: "STRING_VALUE",
36
+ * };
31
37
  * const command = new PutRumMetricsDestinationCommand(input);
32
38
  * const response = await client.send(command);
33
39
  * ```
@@ -39,6 +39,12 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
39
39
  * import { RUMClient, TagResourceCommand } from "@aws-sdk/client-rum"; // ES Modules import
40
40
  * // const { RUMClient, TagResourceCommand } = require("@aws-sdk/client-rum"); // CommonJS import
41
41
  * const client = new RUMClient(config);
42
+ * const input = {
43
+ * ResourceArn: "STRING_VALUE", // required
44
+ * Tags: { // required
45
+ * "<keys>": "STRING_VALUE",
46
+ * },
47
+ * };
42
48
  * const command = new TagResourceCommand(input);
43
49
  * const response = await client.send(command);
44
50
  * ```
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
26
26
  * import { RUMClient, UntagResourceCommand } from "@aws-sdk/client-rum"; // ES Modules import
27
27
  * // const { RUMClient, UntagResourceCommand } = require("@aws-sdk/client-rum"); // CommonJS import
28
28
  * const client = new RUMClient(config);
29
+ * const input = {
30
+ * ResourceArn: "STRING_VALUE", // required
31
+ * TagKeys: [ // required
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * };
29
35
  * const command = new UntagResourceCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -36,6 +36,33 @@ export interface UpdateAppMonitorCommandOutput extends UpdateAppMonitorResponse,
36
36
  * import { RUMClient, UpdateAppMonitorCommand } from "@aws-sdk/client-rum"; // ES Modules import
37
37
  * // const { RUMClient, UpdateAppMonitorCommand } = require("@aws-sdk/client-rum"); // CommonJS import
38
38
  * const client = new RUMClient(config);
39
+ * const input = {
40
+ * Name: "STRING_VALUE", // required
41
+ * Domain: "STRING_VALUE",
42
+ * AppMonitorConfiguration: {
43
+ * IdentityPoolId: "STRING_VALUE",
44
+ * ExcludedPages: [
45
+ * "STRING_VALUE",
46
+ * ],
47
+ * IncludedPages: [
48
+ * "STRING_VALUE",
49
+ * ],
50
+ * FavoritePages: [
51
+ * "STRING_VALUE",
52
+ * ],
53
+ * SessionSampleRate: Number("double"),
54
+ * GuestRoleArn: "STRING_VALUE",
55
+ * AllowCookies: true || false,
56
+ * Telemetries: [
57
+ * "STRING_VALUE",
58
+ * ],
59
+ * EnableXRay: true || false,
60
+ * },
61
+ * CwLogEnabled: true || false,
62
+ * CustomEvents: {
63
+ * Status: "STRING_VALUE",
64
+ * },
65
+ * };
39
66
  * const command = new UpdateAppMonitorCommand(input);
40
67
  * const response = await client.send(command);
41
68
  * ```
@@ -27,6 +27,22 @@ export interface UpdateRumMetricDefinitionCommandOutput extends UpdateRumMetricD
27
27
  * import { RUMClient, UpdateRumMetricDefinitionCommand } from "@aws-sdk/client-rum"; // ES Modules import
28
28
  * // const { RUMClient, UpdateRumMetricDefinitionCommand } = require("@aws-sdk/client-rum"); // CommonJS import
29
29
  * const client = new RUMClient(config);
30
+ * const input = {
31
+ * AppMonitorName: "STRING_VALUE", // required
32
+ * Destination: "STRING_VALUE", // required
33
+ * DestinationArn: "STRING_VALUE",
34
+ * MetricDefinition: {
35
+ * Name: "STRING_VALUE", // required
36
+ * ValueKey: "STRING_VALUE",
37
+ * UnitLabel: "STRING_VALUE",
38
+ * DimensionKeys: {
39
+ * "<keys>": "STRING_VALUE",
40
+ * },
41
+ * EventPattern: "STRING_VALUE",
42
+ * Namespace: "STRING_VALUE",
43
+ * },
44
+ * MetricDefinitionId: "STRING_VALUE", // required
45
+ * };
30
46
  * const command = new UpdateRumMetricDefinitionCommand(input);
31
47
  * const response = await client.send(command);
32
48
  * ```
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.298.0",
4
+ "version": "3.300.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,23 +21,23 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.298.0",
25
- "@aws-sdk/config-resolver": "3.296.0",
26
- "@aws-sdk/credential-provider-node": "3.298.0",
24
+ "@aws-sdk/client-sts": "3.300.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.300.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",
30
30
  "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.296.0",
31
+ "@aws-sdk/middleware-endpoint": "3.299.0",
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.296.0",
37
+ "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.296.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
39
+ "@aws-sdk/middleware-user-agent": "3.299.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.296.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.296.0",
54
- "@aws-sdk/util-user-agent-node": "3.296.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "tslib": "^2.5.0"
57
57
  },