@aws-sdk/client-rum 3.216.0 → 3.218.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.
|
@@ -37,10 +37,10 @@ const serializeAws_restJson1BatchDeleteRumMetricDefinitionsCommand = async (inpu
|
|
|
37
37
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/rummetrics/{AppMonitorName}/metrics";
|
|
38
38
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AppMonitorName", () => input.AppMonitorName, "{AppMonitorName}", false);
|
|
39
39
|
const query = map({
|
|
40
|
-
destination: [, input.Destination],
|
|
40
|
+
destination: [, (0, smithy_client_1.expectNonNull)(input.Destination, `Destination`)],
|
|
41
41
|
destinationArn: [, input.DestinationArn],
|
|
42
42
|
metricDefinitionIds: [
|
|
43
|
-
()
|
|
43
|
+
(0, smithy_client_1.expectNonNull)(input.MetricDefinitionIds, `MetricDefinitionIds`) != null,
|
|
44
44
|
() => (input.MetricDefinitionIds || []).map((_entry) => _entry),
|
|
45
45
|
],
|
|
46
46
|
});
|
|
@@ -63,7 +63,7 @@ const serializeAws_restJson1BatchGetRumMetricDefinitionsCommand = async (input,
|
|
|
63
63
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/rummetrics/{AppMonitorName}/metrics";
|
|
64
64
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AppMonitorName", () => input.AppMonitorName, "{AppMonitorName}", false);
|
|
65
65
|
const query = map({
|
|
66
|
-
destination: [, input.Destination],
|
|
66
|
+
destination: [, (0, smithy_client_1.expectNonNull)(input.Destination, `Destination`)],
|
|
67
67
|
destinationArn: [, input.DestinationArn],
|
|
68
68
|
maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
69
69
|
nextToken: [, input.NextToken],
|
|
@@ -135,7 +135,7 @@ const serializeAws_restJson1DeleteRumMetricsDestinationCommand = async (input, c
|
|
|
135
135
|
"/rummetrics/{AppMonitorName}/metricsdestination";
|
|
136
136
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AppMonitorName", () => input.AppMonitorName, "{AppMonitorName}", false);
|
|
137
137
|
const query = map({
|
|
138
|
-
destination: [, input.Destination],
|
|
138
|
+
destination: [, (0, smithy_client_1.expectNonNull)(input.Destination, `Destination`)],
|
|
139
139
|
destinationArn: [, input.DestinationArn],
|
|
140
140
|
});
|
|
141
141
|
let body;
|
|
@@ -341,7 +341,10 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
341
341
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
|
|
342
342
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
343
343
|
const query = map({
|
|
344
|
-
tagKeys: [
|
|
344
|
+
tagKeys: [
|
|
345
|
+
(0, smithy_client_1.expectNonNull)(input.TagKeys, `TagKeys`) != null,
|
|
346
|
+
() => (input.TagKeys || []).map((_entry) => _entry),
|
|
347
|
+
],
|
|
345
348
|
});
|
|
346
349
|
let body;
|
|
347
350
|
return new protocol_http_1.HttpRequest({
|
|
@@ -33,10 +33,10 @@ export const serializeAws_restJson1BatchDeleteRumMetricDefinitionsCommand = asyn
|
|
|
33
33
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/rummetrics/{AppMonitorName}/metrics";
|
|
34
34
|
resolvedPath = __resolvedPath(resolvedPath, input, "AppMonitorName", () => input.AppMonitorName, "{AppMonitorName}", false);
|
|
35
35
|
const query = map({
|
|
36
|
-
destination: [, input.Destination],
|
|
36
|
+
destination: [, __expectNonNull(input.Destination, `Destination`)],
|
|
37
37
|
destinationArn: [, input.DestinationArn],
|
|
38
38
|
metricDefinitionIds: [
|
|
39
|
-
(
|
|
39
|
+
__expectNonNull(input.MetricDefinitionIds, `MetricDefinitionIds`) != null,
|
|
40
40
|
() => (input.MetricDefinitionIds || []).map((_entry) => _entry),
|
|
41
41
|
],
|
|
42
42
|
});
|
|
@@ -58,7 +58,7 @@ export const serializeAws_restJson1BatchGetRumMetricDefinitionsCommand = async (
|
|
|
58
58
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/rummetrics/{AppMonitorName}/metrics";
|
|
59
59
|
resolvedPath = __resolvedPath(resolvedPath, input, "AppMonitorName", () => input.AppMonitorName, "{AppMonitorName}", false);
|
|
60
60
|
const query = map({
|
|
61
|
-
destination: [, input.Destination],
|
|
61
|
+
destination: [, __expectNonNull(input.Destination, `Destination`)],
|
|
62
62
|
destinationArn: [, input.DestinationArn],
|
|
63
63
|
maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
64
64
|
nextToken: [, input.NextToken],
|
|
@@ -127,7 +127,7 @@ export const serializeAws_restJson1DeleteRumMetricsDestinationCommand = async (i
|
|
|
127
127
|
"/rummetrics/{AppMonitorName}/metricsdestination";
|
|
128
128
|
resolvedPath = __resolvedPath(resolvedPath, input, "AppMonitorName", () => input.AppMonitorName, "{AppMonitorName}", false);
|
|
129
129
|
const query = map({
|
|
130
|
-
destination: [, input.Destination],
|
|
130
|
+
destination: [, __expectNonNull(input.Destination, `Destination`)],
|
|
131
131
|
destinationArn: [, input.DestinationArn],
|
|
132
132
|
});
|
|
133
133
|
let body;
|
|
@@ -324,7 +324,10 @@ export const serializeAws_restJson1UntagResourceCommand = async (input, context)
|
|
|
324
324
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
|
|
325
325
|
resolvedPath = __resolvedPath(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
326
326
|
const query = map({
|
|
327
|
-
tagKeys: [
|
|
327
|
+
tagKeys: [
|
|
328
|
+
__expectNonNull(input.TagKeys, `TagKeys`) != null,
|
|
329
|
+
() => (input.TagKeys || []).map((_entry) => _entry),
|
|
330
|
+
],
|
|
328
331
|
});
|
|
329
332
|
let body;
|
|
330
333
|
return new __HttpRequest({
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-rum",
|
|
3
3
|
"description": "AWS SDK for JavaScript Rum Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.218.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",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.218.0",
|
|
23
23
|
"@aws-sdk/config-resolver": "3.215.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.218.0",
|
|
25
25
|
"@aws-sdk/fetch-http-handler": "3.215.0",
|
|
26
26
|
"@aws-sdk/hash-node": "3.215.0",
|
|
27
27
|
"@aws-sdk/invalid-dependency": "3.215.0",
|