@aws-sdk/client-macie2 3.315.0 → 3.319.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/Macie2.js +83 -1106
- package/dist-cjs/protocols/Aws_restJson1.js +8 -8
- package/dist-es/Macie2.js +83 -1106
- package/dist-es/protocols/Aws_restJson1.js +8 -8
- package/dist-types/Macie2.d.ts +86 -163
- package/dist-types/ts3.4/Macie2.d.ts +2 -1
- package/package.json +8 -8
|
@@ -61,7 +61,7 @@ const se_CreateAllowListCommand = async (input, context) => {
|
|
|
61
61
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/allow-lists";
|
|
62
62
|
let body;
|
|
63
63
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
64
|
-
clientToken: [, (_) => _ ?? (0, uuid_1.v4)(), `clientToken`],
|
|
64
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)(), `clientToken`],
|
|
65
65
|
criteria: [, (_) => se_AllowListCriteria(_, context), `criteria`],
|
|
66
66
|
description: [, , `description`],
|
|
67
67
|
name: [, , `name`],
|
|
@@ -87,7 +87,7 @@ const se_CreateClassificationJobCommand = async (input, context) => {
|
|
|
87
87
|
let body;
|
|
88
88
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
89
89
|
allowListIds: [, (_) => (0, smithy_client_1._json)(_), `allowListIds`],
|
|
90
|
-
clientToken: [, (_) => _ ?? (0, uuid_1.v4)(), `clientToken`],
|
|
90
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)(), `clientToken`],
|
|
91
91
|
customDataIdentifierIds: [, (_) => (0, smithy_client_1._json)(_), `customDataIdentifierIds`],
|
|
92
92
|
description: [, , `description`],
|
|
93
93
|
initialRun: [, , `initialRun`],
|
|
@@ -119,7 +119,7 @@ const se_CreateCustomDataIdentifierCommand = async (input, context) => {
|
|
|
119
119
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/custom-data-identifiers";
|
|
120
120
|
let body;
|
|
121
121
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
122
|
-
clientToken: [, (_) => _ ?? (0, uuid_1.v4)(), `clientToken`],
|
|
122
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)(), `clientToken`],
|
|
123
123
|
description: [, , `description`],
|
|
124
124
|
ignoreWords: [, (_) => (0, smithy_client_1._json)(_), `ignoreWords`],
|
|
125
125
|
keywords: [, (_) => (0, smithy_client_1._json)(_), `keywords`],
|
|
@@ -149,7 +149,7 @@ const se_CreateFindingsFilterCommand = async (input, context) => {
|
|
|
149
149
|
let body;
|
|
150
150
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
151
151
|
action: [, , `action`],
|
|
152
|
-
clientToken: [, (_) => _ ?? (0, uuid_1.v4)(), `clientToken`],
|
|
152
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)(), `clientToken`],
|
|
153
153
|
description: [, , `description`],
|
|
154
154
|
findingCriteria: [, (_) => se_FindingCriteria(_, context), `findingCriteria`],
|
|
155
155
|
name: [, , `name`],
|
|
@@ -509,7 +509,7 @@ const se_EnableMacieCommand = async (input, context) => {
|
|
|
509
509
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/macie";
|
|
510
510
|
let body;
|
|
511
511
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
512
|
-
clientToken: [, (_) => _ ?? (0, uuid_1.v4)(), `clientToken`],
|
|
512
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)(), `clientToken`],
|
|
513
513
|
findingPublishingFrequency: [, , `findingPublishingFrequency`],
|
|
514
514
|
status: [, , `status`],
|
|
515
515
|
}));
|
|
@@ -533,7 +533,7 @@ const se_EnableOrganizationAdminAccountCommand = async (input, context) => {
|
|
|
533
533
|
let body;
|
|
534
534
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
535
535
|
adminAccountId: [, , `adminAccountId`],
|
|
536
|
-
clientToken: [, (_) => _ ?? (0, uuid_1.v4)(), `clientToken`],
|
|
536
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)(), `clientToken`],
|
|
537
537
|
}));
|
|
538
538
|
return new protocol_http_1.HttpRequest({
|
|
539
539
|
protocol,
|
|
@@ -1294,7 +1294,7 @@ const se_PutFindingsPublicationConfigurationCommand = async (input, context) =>
|
|
|
1294
1294
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/findings-publication-configuration";
|
|
1295
1295
|
let body;
|
|
1296
1296
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1297
|
-
clientToken: [, (_) => _ ?? (0, uuid_1.v4)(), `clientToken`],
|
|
1297
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)(), `clientToken`],
|
|
1298
1298
|
securityHubConfiguration: [, (_) => se_SecurityHubConfiguration(_, context), `securityHubConfiguration`],
|
|
1299
1299
|
}));
|
|
1300
1300
|
return new protocol_http_1.HttpRequest({
|
|
@@ -1502,7 +1502,7 @@ const se_UpdateFindingsFilterCommand = async (input, context) => {
|
|
|
1502
1502
|
let body;
|
|
1503
1503
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1504
1504
|
action: [, , `action`],
|
|
1505
|
-
clientToken: [, (_) => _ ?? (0, uuid_1.v4)(), `clientToken`],
|
|
1505
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)(), `clientToken`],
|
|
1506
1506
|
description: [, , `description`],
|
|
1507
1507
|
findingCriteria: [, (_) => se_FindingCriteria(_, context), `findingCriteria`],
|
|
1508
1508
|
name: [, , `name`],
|