@aws-sdk/client-macie2 3.315.0 → 3.316.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.
@@ -53,7 +53,7 @@ export const se_CreateAllowListCommand = async (input, context) => {
53
53
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/allow-lists";
54
54
  let body;
55
55
  body = JSON.stringify(take(input, {
56
- clientToken: [, (_) => _ ?? generateIdempotencyToken(), `clientToken`],
56
+ clientToken: [true, (_) => _ ?? generateIdempotencyToken(), `clientToken`],
57
57
  criteria: [, (_) => se_AllowListCriteria(_, context), `criteria`],
58
58
  description: [, , `description`],
59
59
  name: [, , `name`],
@@ -78,7 +78,7 @@ export const se_CreateClassificationJobCommand = async (input, context) => {
78
78
  let body;
79
79
  body = JSON.stringify(take(input, {
80
80
  allowListIds: [, (_) => _json(_), `allowListIds`],
81
- clientToken: [, (_) => _ ?? generateIdempotencyToken(), `clientToken`],
81
+ clientToken: [true, (_) => _ ?? generateIdempotencyToken(), `clientToken`],
82
82
  customDataIdentifierIds: [, (_) => _json(_), `customDataIdentifierIds`],
83
83
  description: [, , `description`],
84
84
  initialRun: [, , `initialRun`],
@@ -109,7 +109,7 @@ export const se_CreateCustomDataIdentifierCommand = async (input, context) => {
109
109
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/custom-data-identifiers";
110
110
  let body;
111
111
  body = JSON.stringify(take(input, {
112
- clientToken: [, (_) => _ ?? generateIdempotencyToken(), `clientToken`],
112
+ clientToken: [true, (_) => _ ?? generateIdempotencyToken(), `clientToken`],
113
113
  description: [, , `description`],
114
114
  ignoreWords: [, (_) => _json(_), `ignoreWords`],
115
115
  keywords: [, (_) => _json(_), `keywords`],
@@ -138,7 +138,7 @@ export const se_CreateFindingsFilterCommand = async (input, context) => {
138
138
  let body;
139
139
  body = JSON.stringify(take(input, {
140
140
  action: [, , `action`],
141
- clientToken: [, (_) => _ ?? generateIdempotencyToken(), `clientToken`],
141
+ clientToken: [true, (_) => _ ?? generateIdempotencyToken(), `clientToken`],
142
142
  description: [, , `description`],
143
143
  findingCriteria: [, (_) => se_FindingCriteria(_, context), `findingCriteria`],
144
144
  name: [, , `name`],
@@ -480,7 +480,7 @@ export const se_EnableMacieCommand = async (input, context) => {
480
480
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/macie";
481
481
  let body;
482
482
  body = JSON.stringify(take(input, {
483
- clientToken: [, (_) => _ ?? generateIdempotencyToken(), `clientToken`],
483
+ clientToken: [true, (_) => _ ?? generateIdempotencyToken(), `clientToken`],
484
484
  findingPublishingFrequency: [, , `findingPublishingFrequency`],
485
485
  status: [, , `status`],
486
486
  }));
@@ -503,7 +503,7 @@ export const se_EnableOrganizationAdminAccountCommand = async (input, context) =
503
503
  let body;
504
504
  body = JSON.stringify(take(input, {
505
505
  adminAccountId: [, , `adminAccountId`],
506
- clientToken: [, (_) => _ ?? generateIdempotencyToken(), `clientToken`],
506
+ clientToken: [true, (_) => _ ?? generateIdempotencyToken(), `clientToken`],
507
507
  }));
508
508
  return new __HttpRequest({
509
509
  protocol,
@@ -1226,7 +1226,7 @@ export const se_PutFindingsPublicationConfigurationCommand = async (input, conte
1226
1226
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/findings-publication-configuration";
1227
1227
  let body;
1228
1228
  body = JSON.stringify(take(input, {
1229
- clientToken: [, (_) => _ ?? generateIdempotencyToken(), `clientToken`],
1229
+ clientToken: [true, (_) => _ ?? generateIdempotencyToken(), `clientToken`],
1230
1230
  securityHubConfiguration: [, (_) => se_SecurityHubConfiguration(_, context), `securityHubConfiguration`],
1231
1231
  }));
1232
1232
  return new __HttpRequest({
@@ -1425,7 +1425,7 @@ export const se_UpdateFindingsFilterCommand = async (input, context) => {
1425
1425
  let body;
1426
1426
  body = JSON.stringify(take(input, {
1427
1427
  action: [, , `action`],
1428
- clientToken: [, (_) => _ ?? generateIdempotencyToken(), `clientToken`],
1428
+ clientToken: [true, (_) => _ ?? generateIdempotencyToken(), `clientToken`],
1429
1429
  description: [, , `description`],
1430
1430
  findingCriteria: [, (_) => se_FindingCriteria(_, context), `findingCriteria`],
1431
1431
  name: [, , `name`],