@aws-sdk/client-wellarchitected 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.
|
@@ -178,8 +178,8 @@ const serializeAws_restJson1DeleteLensCommand = async (input, context) => {
|
|
|
178
178
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/lenses/{LensAlias}";
|
|
179
179
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "LensAlias", () => input.LensAlias, "{LensAlias}", false);
|
|
180
180
|
const query = map({
|
|
181
|
-
ClientRequestToken: [, input.ClientRequestToken],
|
|
182
|
-
LensStatus: [, input.LensStatus],
|
|
181
|
+
ClientRequestToken: [, (0, smithy_client_1.expectNonNull)(input.ClientRequestToken, `ClientRequestToken`)],
|
|
182
|
+
LensStatus: [, (0, smithy_client_1.expectNonNull)(input.LensStatus, `LensStatus`)],
|
|
183
183
|
});
|
|
184
184
|
let body;
|
|
185
185
|
return new protocol_http_1.HttpRequest({
|
|
@@ -201,7 +201,7 @@ const serializeAws_restJson1DeleteLensShareCommand = async (input, context) => {
|
|
|
201
201
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ShareId", () => input.ShareId, "{ShareId}", false);
|
|
202
202
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "LensAlias", () => input.LensAlias, "{LensAlias}", false);
|
|
203
203
|
const query = map({
|
|
204
|
-
ClientRequestToken: [, input.ClientRequestToken],
|
|
204
|
+
ClientRequestToken: [, (0, smithy_client_1.expectNonNull)(input.ClientRequestToken, `ClientRequestToken`)],
|
|
205
205
|
});
|
|
206
206
|
let body;
|
|
207
207
|
return new protocol_http_1.HttpRequest({
|
|
@@ -222,7 +222,7 @@ const serializeAws_restJson1DeleteWorkloadCommand = async (input, context) => {
|
|
|
222
222
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/workloads/{WorkloadId}";
|
|
223
223
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "WorkloadId", () => input.WorkloadId, "{WorkloadId}", false);
|
|
224
224
|
const query = map({
|
|
225
|
-
ClientRequestToken: [, input.ClientRequestToken],
|
|
225
|
+
ClientRequestToken: [, (0, smithy_client_1.expectNonNull)(input.ClientRequestToken, `ClientRequestToken`)],
|
|
226
226
|
});
|
|
227
227
|
let body;
|
|
228
228
|
return new protocol_http_1.HttpRequest({
|
|
@@ -244,7 +244,7 @@ const serializeAws_restJson1DeleteWorkloadShareCommand = async (input, context)
|
|
|
244
244
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ShareId", () => input.ShareId, "{ShareId}", false);
|
|
245
245
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "WorkloadId", () => input.WorkloadId, "{WorkloadId}", false);
|
|
246
246
|
const query = map({
|
|
247
|
-
ClientRequestToken: [, input.ClientRequestToken],
|
|
247
|
+
ClientRequestToken: [, (0, smithy_client_1.expectNonNull)(input.ClientRequestToken, `ClientRequestToken`)],
|
|
248
248
|
});
|
|
249
249
|
let body;
|
|
250
250
|
return new protocol_http_1.HttpRequest({
|
|
@@ -816,7 +816,10 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
816
816
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{WorkloadArn}";
|
|
817
817
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "WorkloadArn", () => input.WorkloadArn, "{WorkloadArn}", false);
|
|
818
818
|
const query = map({
|
|
819
|
-
tagKeys: [
|
|
819
|
+
tagKeys: [
|
|
820
|
+
(0, smithy_client_1.expectNonNull)(input.TagKeys, `TagKeys`) != null,
|
|
821
|
+
() => (input.TagKeys || []).map((_entry) => _entry),
|
|
822
|
+
],
|
|
820
823
|
});
|
|
821
824
|
let body;
|
|
822
825
|
return new protocol_http_1.HttpRequest({
|
|
@@ -168,8 +168,8 @@ export const serializeAws_restJson1DeleteLensCommand = async (input, context) =>
|
|
|
168
168
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/lenses/{LensAlias}";
|
|
169
169
|
resolvedPath = __resolvedPath(resolvedPath, input, "LensAlias", () => input.LensAlias, "{LensAlias}", false);
|
|
170
170
|
const query = map({
|
|
171
|
-
ClientRequestToken: [, input.ClientRequestToken],
|
|
172
|
-
LensStatus: [, input.LensStatus],
|
|
171
|
+
ClientRequestToken: [, __expectNonNull(input.ClientRequestToken, `ClientRequestToken`)],
|
|
172
|
+
LensStatus: [, __expectNonNull(input.LensStatus, `LensStatus`)],
|
|
173
173
|
});
|
|
174
174
|
let body;
|
|
175
175
|
return new __HttpRequest({
|
|
@@ -190,7 +190,7 @@ export const serializeAws_restJson1DeleteLensShareCommand = async (input, contex
|
|
|
190
190
|
resolvedPath = __resolvedPath(resolvedPath, input, "ShareId", () => input.ShareId, "{ShareId}", false);
|
|
191
191
|
resolvedPath = __resolvedPath(resolvedPath, input, "LensAlias", () => input.LensAlias, "{LensAlias}", false);
|
|
192
192
|
const query = map({
|
|
193
|
-
ClientRequestToken: [, input.ClientRequestToken],
|
|
193
|
+
ClientRequestToken: [, __expectNonNull(input.ClientRequestToken, `ClientRequestToken`)],
|
|
194
194
|
});
|
|
195
195
|
let body;
|
|
196
196
|
return new __HttpRequest({
|
|
@@ -210,7 +210,7 @@ export const serializeAws_restJson1DeleteWorkloadCommand = async (input, context
|
|
|
210
210
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/workloads/{WorkloadId}";
|
|
211
211
|
resolvedPath = __resolvedPath(resolvedPath, input, "WorkloadId", () => input.WorkloadId, "{WorkloadId}", false);
|
|
212
212
|
const query = map({
|
|
213
|
-
ClientRequestToken: [, input.ClientRequestToken],
|
|
213
|
+
ClientRequestToken: [, __expectNonNull(input.ClientRequestToken, `ClientRequestToken`)],
|
|
214
214
|
});
|
|
215
215
|
let body;
|
|
216
216
|
return new __HttpRequest({
|
|
@@ -231,7 +231,7 @@ export const serializeAws_restJson1DeleteWorkloadShareCommand = async (input, co
|
|
|
231
231
|
resolvedPath = __resolvedPath(resolvedPath, input, "ShareId", () => input.ShareId, "{ShareId}", false);
|
|
232
232
|
resolvedPath = __resolvedPath(resolvedPath, input, "WorkloadId", () => input.WorkloadId, "{WorkloadId}", false);
|
|
233
233
|
const query = map({
|
|
234
|
-
ClientRequestToken: [, input.ClientRequestToken],
|
|
234
|
+
ClientRequestToken: [, __expectNonNull(input.ClientRequestToken, `ClientRequestToken`)],
|
|
235
235
|
});
|
|
236
236
|
let body;
|
|
237
237
|
return new __HttpRequest({
|
|
@@ -778,7 +778,10 @@ export const serializeAws_restJson1UntagResourceCommand = async (input, context)
|
|
|
778
778
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{WorkloadArn}";
|
|
779
779
|
resolvedPath = __resolvedPath(resolvedPath, input, "WorkloadArn", () => input.WorkloadArn, "{WorkloadArn}", false);
|
|
780
780
|
const query = map({
|
|
781
|
-
tagKeys: [
|
|
781
|
+
tagKeys: [
|
|
782
|
+
__expectNonNull(input.TagKeys, `TagKeys`) != null,
|
|
783
|
+
() => (input.TagKeys || []).map((_entry) => _entry),
|
|
784
|
+
],
|
|
782
785
|
});
|
|
783
786
|
let body;
|
|
784
787
|
return new __HttpRequest({
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-wellarchitected",
|
|
3
3
|
"description": "AWS SDK for JavaScript Wellarchitected 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",
|