@aws-sdk/client-macie2 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.
|
@@ -452,7 +452,7 @@ const serializeAws_restJson1DisableOrganizationAdminAccountCommand = async (inpu
|
|
|
452
452
|
const headers = {};
|
|
453
453
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/admin";
|
|
454
454
|
const query = map({
|
|
455
|
-
adminAccountId: [, input.adminAccountId],
|
|
455
|
+
adminAccountId: [, (0, smithy_client_1.expectNonNull)(input.adminAccountId, `adminAccountId`)],
|
|
456
456
|
});
|
|
457
457
|
let body;
|
|
458
458
|
return new protocol_http_1.HttpRequest({
|
|
@@ -1274,7 +1274,10 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
1274
1274
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
|
|
1275
1275
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
1276
1276
|
const query = map({
|
|
1277
|
-
tagKeys: [
|
|
1277
|
+
tagKeys: [
|
|
1278
|
+
(0, smithy_client_1.expectNonNull)(input.tagKeys, `tagKeys`) != null,
|
|
1279
|
+
() => (input.tagKeys || []).map((_entry) => _entry),
|
|
1280
|
+
],
|
|
1278
1281
|
});
|
|
1279
1282
|
let body;
|
|
1280
1283
|
return new protocol_http_1.HttpRequest({
|
|
@@ -428,7 +428,7 @@ export const serializeAws_restJson1DisableOrganizationAdminAccountCommand = asyn
|
|
|
428
428
|
const headers = {};
|
|
429
429
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/admin";
|
|
430
430
|
const query = map({
|
|
431
|
-
adminAccountId: [, input.adminAccountId],
|
|
431
|
+
adminAccountId: [, __expectNonNull(input.adminAccountId, `adminAccountId`)],
|
|
432
432
|
});
|
|
433
433
|
let body;
|
|
434
434
|
return new __HttpRequest({
|
|
@@ -1211,7 +1211,10 @@ export const serializeAws_restJson1UntagResourceCommand = async (input, context)
|
|
|
1211
1211
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
|
|
1212
1212
|
resolvedPath = __resolvedPath(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
1213
1213
|
const query = map({
|
|
1214
|
-
tagKeys: [
|
|
1214
|
+
tagKeys: [
|
|
1215
|
+
__expectNonNull(input.tagKeys, `tagKeys`) != null,
|
|
1216
|
+
() => (input.tagKeys || []).map((_entry) => _entry),
|
|
1217
|
+
],
|
|
1215
1218
|
});
|
|
1216
1219
|
let body;
|
|
1217
1220
|
return new __HttpRequest({
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-macie2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Macie2 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",
|