@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.
- package/dist-cjs/index.js +306 -216
- package/dist-cjs/runtimeConfig.shared.js +6 -1
- package/dist-es/commands/BatchCreateRumMetricDefinitionsCommand.js +2 -2
- package/dist-es/commands/BatchDeleteRumMetricDefinitionsCommand.js +2 -2
- package/dist-es/commands/BatchGetRumMetricDefinitionsCommand.js +2 -2
- package/dist-es/commands/CreateAppMonitorCommand.js +2 -2
- package/dist-es/commands/DeleteAppMonitorCommand.js +2 -2
- package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -2
- package/dist-es/commands/DeleteRumMetricsDestinationCommand.js +2 -2
- package/dist-es/commands/GetAppMonitorCommand.js +2 -2
- package/dist-es/commands/GetAppMonitorDataCommand.js +2 -2
- package/dist-es/commands/GetResourcePolicyCommand.js +2 -2
- package/dist-es/commands/ListAppMonitorsCommand.js +2 -2
- package/dist-es/commands/ListRumMetricsDestinationsCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/PutResourcePolicyCommand.js +2 -2
- package/dist-es/commands/PutRumEventsCommand.js +2 -2
- package/dist-es/commands/PutRumMetricsDestinationCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateAppMonitorCommand.js +2 -2
- package/dist-es/commands/UpdateRumMetricDefinitionCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +6 -1
- package/dist-es/schemas/schemas_0.js +179 -179
- package/dist-types/RUMClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +91 -110
- package/dist-types/ts3.4/RUMClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +90 -111
- 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 ??
|
|
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
|
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
23
|
},
|
|
24
24
|
],
|
|
25
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
-
protocol: config?.protocol ??
|
|
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,
|