@aws-sdk/client-rum 3.952.0 → 3.953.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/dist-cjs/index.js +306 -216
  2. package/dist-cjs/runtimeConfig.shared.js +6 -1
  3. package/dist-es/commands/BatchCreateRumMetricDefinitionsCommand.js +2 -2
  4. package/dist-es/commands/BatchDeleteRumMetricDefinitionsCommand.js +2 -2
  5. package/dist-es/commands/BatchGetRumMetricDefinitionsCommand.js +2 -2
  6. package/dist-es/commands/CreateAppMonitorCommand.js +2 -2
  7. package/dist-es/commands/DeleteAppMonitorCommand.js +2 -2
  8. package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -2
  9. package/dist-es/commands/DeleteRumMetricsDestinationCommand.js +2 -2
  10. package/dist-es/commands/GetAppMonitorCommand.js +2 -2
  11. package/dist-es/commands/GetAppMonitorDataCommand.js +2 -2
  12. package/dist-es/commands/GetResourcePolicyCommand.js +2 -2
  13. package/dist-es/commands/ListAppMonitorsCommand.js +2 -2
  14. package/dist-es/commands/ListRumMetricsDestinationsCommand.js +2 -2
  15. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  16. package/dist-es/commands/PutResourcePolicyCommand.js +2 -2
  17. package/dist-es/commands/PutRumEventsCommand.js +2 -2
  18. package/dist-es/commands/PutRumMetricsDestinationCommand.js +2 -2
  19. package/dist-es/commands/TagResourceCommand.js +2 -2
  20. package/dist-es/commands/UntagResourceCommand.js +2 -2
  21. package/dist-es/commands/UpdateAppMonitorCommand.js +2 -2
  22. package/dist-es/commands/UpdateRumMetricDefinitionCommand.js +2 -2
  23. package/dist-es/index.js +1 -0
  24. package/dist-es/runtimeConfig.shared.js +6 -1
  25. package/dist-es/schemas/schemas_0.js +179 -179
  26. package/dist-types/RUMClient.d.ts +1 -10
  27. package/dist-types/index.d.ts +1 -0
  28. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  29. package/dist-types/runtimeConfig.d.ts +6 -2
  30. package/dist-types/runtimeConfig.native.d.ts +6 -2
  31. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  32. package/dist-types/schemas/schemas_0.d.ts +91 -110
  33. package/dist-types/ts3.4/RUMClient.d.ts +0 -4
  34. package/dist-types/ts3.4/index.d.ts +1 -0
  35. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  36. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  37. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  38. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  39. package/dist-types/ts3.4/schemas/schemas_0.d.ts +90 -111
  40. package/package.json +34 -34
@@ -26,7 +26,12 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.rum" }),
29
+ protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.rum",
32
+ version: "2018-05-10",
33
+ serviceTarget: "RUM",
34
+ },
30
35
  serviceId: config?.serviceId ?? "RUM",
31
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
32
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { BatchCreateRumMetricDefinitions } from "../schemas/schemas_0";
4
+ import { BatchCreateRumMetricDefinitions$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class BatchCreateRumMetricDefinitionsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class BatchCreateRumMetricDefinitionsCommand extends $Command
11
11
  })
12
12
  .s("RUM", "BatchCreateRumMetricDefinitions", {})
13
13
  .n("RUMClient", "BatchCreateRumMetricDefinitionsCommand")
14
- .sc(BatchCreateRumMetricDefinitions)
14
+ .sc(BatchCreateRumMetricDefinitions$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { BatchDeleteRumMetricDefinitions } from "../schemas/schemas_0";
4
+ import { BatchDeleteRumMetricDefinitions$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class BatchDeleteRumMetricDefinitionsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class BatchDeleteRumMetricDefinitionsCommand extends $Command
11
11
  })
12
12
  .s("RUM", "BatchDeleteRumMetricDefinitions", {})
13
13
  .n("RUMClient", "BatchDeleteRumMetricDefinitionsCommand")
14
- .sc(BatchDeleteRumMetricDefinitions)
14
+ .sc(BatchDeleteRumMetricDefinitions$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { BatchGetRumMetricDefinitions } from "../schemas/schemas_0";
4
+ import { BatchGetRumMetricDefinitions$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class BatchGetRumMetricDefinitionsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class BatchGetRumMetricDefinitionsCommand extends $Command
11
11
  })
12
12
  .s("RUM", "BatchGetRumMetricDefinitions", {})
13
13
  .n("RUMClient", "BatchGetRumMetricDefinitionsCommand")
14
- .sc(BatchGetRumMetricDefinitions)
14
+ .sc(BatchGetRumMetricDefinitions$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateAppMonitor } from "../schemas/schemas_0";
4
+ import { CreateAppMonitor$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateAppMonitorCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateAppMonitorCommand extends $Command
11
11
  })
12
12
  .s("RUM", "CreateAppMonitor", {})
13
13
  .n("RUMClient", "CreateAppMonitorCommand")
14
- .sc(CreateAppMonitor)
14
+ .sc(CreateAppMonitor$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteAppMonitor } from "../schemas/schemas_0";
4
+ import { DeleteAppMonitor$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteAppMonitorCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteAppMonitorCommand extends $Command
11
11
  })
12
12
  .s("RUM", "DeleteAppMonitor", {})
13
13
  .n("RUMClient", "DeleteAppMonitorCommand")
14
- .sc(DeleteAppMonitor)
14
+ .sc(DeleteAppMonitor$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteResourcePolicy } from "../schemas/schemas_0";
4
+ import { DeleteResourcePolicy$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteResourcePolicyCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteResourcePolicyCommand extends $Command
11
11
  })
12
12
  .s("RUM", "DeleteResourcePolicy", {})
13
13
  .n("RUMClient", "DeleteResourcePolicyCommand")
14
- .sc(DeleteResourcePolicy)
14
+ .sc(DeleteResourcePolicy$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteRumMetricsDestination } from "../schemas/schemas_0";
4
+ import { DeleteRumMetricsDestination$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteRumMetricsDestinationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteRumMetricsDestinationCommand extends $Command
11
11
  })
12
12
  .s("RUM", "DeleteRumMetricsDestination", {})
13
13
  .n("RUMClient", "DeleteRumMetricsDestinationCommand")
14
- .sc(DeleteRumMetricsDestination)
14
+ .sc(DeleteRumMetricsDestination$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetAppMonitor } from "../schemas/schemas_0";
4
+ import { GetAppMonitor$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetAppMonitorCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetAppMonitorCommand extends $Command
11
11
  })
12
12
  .s("RUM", "GetAppMonitor", {})
13
13
  .n("RUMClient", "GetAppMonitorCommand")
14
- .sc(GetAppMonitor)
14
+ .sc(GetAppMonitor$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetAppMonitorData } from "../schemas/schemas_0";
4
+ import { GetAppMonitorData$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetAppMonitorDataCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetAppMonitorDataCommand extends $Command
11
11
  })
12
12
  .s("RUM", "GetAppMonitorData", {})
13
13
  .n("RUMClient", "GetAppMonitorDataCommand")
14
- .sc(GetAppMonitorData)
14
+ .sc(GetAppMonitorData$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetResourcePolicy } from "../schemas/schemas_0";
4
+ import { GetResourcePolicy$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetResourcePolicyCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetResourcePolicyCommand extends $Command
11
11
  })
12
12
  .s("RUM", "GetResourcePolicy", {})
13
13
  .n("RUMClient", "GetResourcePolicyCommand")
14
- .sc(GetResourcePolicy)
14
+ .sc(GetResourcePolicy$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListAppMonitors } from "../schemas/schemas_0";
4
+ import { ListAppMonitors$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListAppMonitorsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListAppMonitorsCommand extends $Command
11
11
  })
12
12
  .s("RUM", "ListAppMonitors", {})
13
13
  .n("RUMClient", "ListAppMonitorsCommand")
14
- .sc(ListAppMonitors)
14
+ .sc(ListAppMonitors$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListRumMetricsDestinations } from "../schemas/schemas_0";
4
+ import { ListRumMetricsDestinations$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListRumMetricsDestinationsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListRumMetricsDestinationsCommand extends $Command
11
11
  })
12
12
  .s("RUM", "ListRumMetricsDestinations", {})
13
13
  .n("RUMClient", "ListRumMetricsDestinationsCommand")
14
- .sc(ListRumMetricsDestinations)
14
+ .sc(ListRumMetricsDestinations$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListTagsForResource } from "../schemas/schemas_0";
4
+ import { ListTagsForResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListTagsForResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListTagsForResourceCommand extends $Command
11
11
  })
12
12
  .s("RUM", "ListTagsForResource", {})
13
13
  .n("RUMClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource)
14
+ .sc(ListTagsForResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutResourcePolicy } from "../schemas/schemas_0";
4
+ import { PutResourcePolicy$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutResourcePolicyCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutResourcePolicyCommand extends $Command
11
11
  })
12
12
  .s("RUM", "PutResourcePolicy", {})
13
13
  .n("RUMClient", "PutResourcePolicyCommand")
14
- .sc(PutResourcePolicy)
14
+ .sc(PutResourcePolicy$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutRumEvents } from "../schemas/schemas_0";
4
+ import { PutRumEvents$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutRumEventsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutRumEventsCommand extends $Command
11
11
  })
12
12
  .s("RUM", "PutRumEvents", {})
13
13
  .n("RUMClient", "PutRumEventsCommand")
14
- .sc(PutRumEvents)
14
+ .sc(PutRumEvents$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutRumMetricsDestination } from "../schemas/schemas_0";
4
+ import { PutRumMetricsDestination$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutRumMetricsDestinationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutRumMetricsDestinationCommand extends $Command
11
11
  })
12
12
  .s("RUM", "PutRumMetricsDestination", {})
13
13
  .n("RUMClient", "PutRumMetricsDestinationCommand")
14
- .sc(PutRumMetricsDestination)
14
+ .sc(PutRumMetricsDestination$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { TagResource } from "../schemas/schemas_0";
4
+ import { TagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class TagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class TagResourceCommand extends $Command
11
11
  })
12
12
  .s("RUM", "TagResource", {})
13
13
  .n("RUMClient", "TagResourceCommand")
14
- .sc(TagResource)
14
+ .sc(TagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UntagResource } from "../schemas/schemas_0";
4
+ import { UntagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UntagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
11
11
  })
12
12
  .s("RUM", "UntagResource", {})
13
13
  .n("RUMClient", "UntagResourceCommand")
14
- .sc(UntagResource)
14
+ .sc(UntagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateAppMonitor } from "../schemas/schemas_0";
4
+ import { UpdateAppMonitor$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateAppMonitorCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateAppMonitorCommand extends $Command
11
11
  })
12
12
  .s("RUM", "UpdateAppMonitor", {})
13
13
  .n("RUMClient", "UpdateAppMonitorCommand")
14
- .sc(UpdateAppMonitor)
14
+ .sc(UpdateAppMonitor$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateRumMetricDefinition } from "../schemas/schemas_0";
4
+ import { UpdateRumMetricDefinition$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateRumMetricDefinitionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateRumMetricDefinitionCommand extends $Command
11
11
  })
12
12
  .s("RUM", "UpdateRumMetricDefinition", {})
13
13
  .n("RUMClient", "UpdateRumMetricDefinitionCommand")
14
- .sc(UpdateRumMetricDefinition)
14
+ .sc(UpdateRumMetricDefinition$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./RUMClient";
2
2
  export * from "./RUM";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.rum" }),
26
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.rum",
29
+ version: "2018-05-10",
30
+ serviceTarget: "RUM",
31
+ },
27
32
  serviceId: config?.serviceId ?? "RUM",
28
33
  urlParser: config?.urlParser ?? parseUrl,
29
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,