@aws-sdk/client-macie2 3.592.0 → 3.598.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.
Files changed (48) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +173 -6
  3. package/dist-es/Macie2.js +4 -0
  4. package/dist-es/commands/BatchUpdateAutomatedDiscoveryAccountsCommand.js +24 -0
  5. package/dist-es/commands/ListAutomatedDiscoveryAccountsCommand.js +24 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/models_0.js +18 -6
  8. package/dist-es/models/models_1.js +6 -0
  9. package/dist-es/pagination/ListAutomatedDiscoveryAccountsPaginator.js +4 -0
  10. package/dist-es/pagination/index.js +1 -0
  11. package/dist-es/protocols/Aws_restJson1.js +101 -0
  12. package/dist-types/Macie2.d.ts +16 -0
  13. package/dist-types/Macie2Client.d.ts +4 -2
  14. package/dist-types/commands/BatchUpdateAutomatedDiscoveryAccountsCommand.d.ts +85 -0
  15. package/dist-types/commands/DescribeBucketsCommand.d.ts +1 -0
  16. package/dist-types/commands/GetAutomatedDiscoveryConfigurationCommand.d.ts +2 -1
  17. package/dist-types/commands/ListAutomatedDiscoveryAccountsCommand.d.ts +85 -0
  18. package/dist-types/commands/ListClassificationJobsCommand.d.ts +1 -1
  19. package/dist-types/commands/ListClassificationScopesCommand.d.ts +1 -1
  20. package/dist-types/commands/ListCustomDataIdentifiersCommand.d.ts +1 -1
  21. package/dist-types/commands/ListFindingsCommand.d.ts +1 -1
  22. package/dist-types/commands/ListInvitationsCommand.d.ts +1 -1
  23. package/dist-types/commands/ListResourceProfileArtifactsCommand.d.ts +1 -1
  24. package/dist-types/commands/PutClassificationExportConfigurationCommand.d.ts +1 -1
  25. package/dist-types/commands/SearchResourcesCommand.d.ts +3 -2
  26. package/dist-types/commands/TestCustomDataIdentifierCommand.d.ts +1 -1
  27. package/dist-types/commands/UpdateAutomatedDiscoveryConfigurationCommand.d.ts +2 -1
  28. package/dist-types/commands/index.d.ts +2 -0
  29. package/dist-types/models/models_0.d.ts +175 -193
  30. package/dist-types/models/models_1.d.ts +196 -5
  31. package/dist-types/pagination/ListAutomatedDiscoveryAccountsPaginator.d.ts +7 -0
  32. package/dist-types/pagination/index.d.ts +1 -0
  33. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  34. package/dist-types/ts3.4/Macie2.d.ts +42 -0
  35. package/dist-types/ts3.4/Macie2Client.d.ts +12 -0
  36. package/dist-types/ts3.4/commands/BatchUpdateAutomatedDiscoveryAccountsCommand.d.ts +40 -0
  37. package/dist-types/ts3.4/commands/ListAutomatedDiscoveryAccountsCommand.d.ts +40 -0
  38. package/dist-types/ts3.4/commands/ListClassificationJobsCommand.d.ts +1 -1
  39. package/dist-types/ts3.4/commands/ListClassificationScopesCommand.d.ts +1 -1
  40. package/dist-types/ts3.4/commands/ListCustomDataIdentifiersCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +1 -1
  42. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  43. package/dist-types/ts3.4/models/models_0.d.ts +51 -47
  44. package/dist-types/ts3.4/models/models_1.d.ts +59 -0
  45. package/dist-types/ts3.4/pagination/ListAutomatedDiscoveryAccountsPaginator.d.ts +11 -0
  46. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  47. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  48. package/package.json +38 -38
@@ -32,6 +32,19 @@ export const se_BatchGetCustomDataIdentifiersCommand = async (input, context) =>
32
32
  b.m("POST").h(headers).b(body);
33
33
  return b.build();
34
34
  };
35
+ export const se_BatchUpdateAutomatedDiscoveryAccountsCommand = async (input, context) => {
36
+ const b = rb(input, context);
37
+ const headers = {
38
+ "content-type": "application/json",
39
+ };
40
+ b.bp("/automated-discovery/accounts");
41
+ let body;
42
+ body = JSON.stringify(take(input, {
43
+ accounts: [, (_) => se___listOfAutomatedDiscoveryAccountUpdate(_, context), `accounts`],
44
+ }));
45
+ b.m("PATCH").h(headers).b(body);
46
+ return b.build();
47
+ };
35
48
  export const se_CreateAllowListCommand = async (input, context) => {
36
49
  const b = rb(input, context);
37
50
  const headers = {
@@ -593,6 +606,19 @@ export const se_ListAllowListsCommand = async (input, context) => {
593
606
  b.m("GET").h(headers).q(query).b(body);
594
607
  return b.build();
595
608
  };
609
+ export const se_ListAutomatedDiscoveryAccountsCommand = async (input, context) => {
610
+ const b = rb(input, context);
611
+ const headers = {};
612
+ b.bp("/automated-discovery/accounts");
613
+ const query = map({
614
+ [_aI]: [() => input.accountIds !== void 0, () => (input[_aI] || []).map((_entry) => _entry)],
615
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
616
+ [_nT]: [, input[_nT]],
617
+ });
618
+ let body;
619
+ b.m("GET").h(headers).q(query).b(body);
620
+ return b.build();
621
+ };
596
622
  export const se_ListClassificationJobsCommand = async (input, context) => {
597
623
  const b = rb(input, context);
598
624
  const headers = {
@@ -872,6 +898,7 @@ export const se_UpdateAutomatedDiscoveryConfigurationCommand = async (input, con
872
898
  b.bp("/automated-discovery/configuration");
873
899
  let body;
874
900
  body = JSON.stringify(take(input, {
901
+ autoEnableOrganizationMembers: [, , `autoEnableOrganizationMembers`],
875
902
  status: [, , `status`],
876
903
  }));
877
904
  b.m("PUT").h(headers).b(body);
@@ -1056,6 +1083,20 @@ export const de_BatchGetCustomDataIdentifiersCommand = async (output, context) =
1056
1083
  Object.assign(contents, doc);
1057
1084
  return contents;
1058
1085
  };
1086
+ export const de_BatchUpdateAutomatedDiscoveryAccountsCommand = async (output, context) => {
1087
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1088
+ return de_CommandError(output, context);
1089
+ }
1090
+ const contents = map({
1091
+ $metadata: deserializeMetadata(output),
1092
+ });
1093
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1094
+ const doc = take(data, {
1095
+ errors: [, (_) => de___listOfAutomatedDiscoveryAccountUpdateError(_, context), `errors`],
1096
+ });
1097
+ Object.assign(contents, doc);
1098
+ return contents;
1099
+ };
1059
1100
  export const de_CreateAllowListCommand = async (output, context) => {
1060
1101
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1061
1102
  return de_CommandError(output, context);
@@ -1400,6 +1441,7 @@ export const de_GetAutomatedDiscoveryConfigurationCommand = async (output, conte
1400
1441
  });
1401
1442
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1402
1443
  const doc = take(data, {
1444
+ autoEnableOrganizationMembers: [, __expectString, `autoEnableOrganizationMembers`],
1403
1445
  classificationScopeId: [, __expectString, `classificationScopeId`],
1404
1446
  disabledAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `disabledAt`],
1405
1447
  firstEnabledAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `firstEnabledAt`],
@@ -1766,6 +1808,21 @@ export const de_ListAllowListsCommand = async (output, context) => {
1766
1808
  Object.assign(contents, doc);
1767
1809
  return contents;
1768
1810
  };
1811
+ export const de_ListAutomatedDiscoveryAccountsCommand = async (output, context) => {
1812
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1813
+ return de_CommandError(output, context);
1814
+ }
1815
+ const contents = map({
1816
+ $metadata: deserializeMetadata(output),
1817
+ });
1818
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1819
+ const doc = take(data, {
1820
+ items: [, (_) => de___listOfAutomatedDiscoveryAccount(_, context), `items`],
1821
+ nextToken: [, __expectString, `nextToken`],
1822
+ });
1823
+ Object.assign(contents, doc);
1824
+ return contents;
1825
+ };
1769
1826
  export const de_ListClassificationJobsCommand = async (output, context) => {
1770
1827
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1771
1828
  return de_CommandError(output, context);
@@ -2317,6 +2374,13 @@ const de_ValidationExceptionRes = async (parsedOutput, context) => {
2317
2374
  });
2318
2375
  return __decorateServiceException(exception, parsedOutput.body);
2319
2376
  };
2377
+ const se___listOfAutomatedDiscoveryAccountUpdate = (input, context) => {
2378
+ return input
2379
+ .filter((e) => e != null)
2380
+ .map((entry) => {
2381
+ return se_AutomatedDiscoveryAccountUpdate(entry, context);
2382
+ });
2383
+ };
2320
2384
  const se___listOfCriteriaForJob = (input, context) => {
2321
2385
  return input
2322
2386
  .filter((e) => e != null)
@@ -2399,6 +2463,12 @@ const se_AllowListCriteria = (input, context) => {
2399
2463
  s3WordsList: [, (_) => se_S3WordsList(_, context), `s3WordsList`],
2400
2464
  });
2401
2465
  };
2466
+ const se_AutomatedDiscoveryAccountUpdate = (input, context) => {
2467
+ return take(input, {
2468
+ accountId: [, , `accountId`],
2469
+ status: [, , `status`],
2470
+ });
2471
+ };
2402
2472
  const se_BucketCriteria = (input, context) => {
2403
2473
  return Object.entries(input).reduce((acc, [key, value]) => {
2404
2474
  if (value === null) {
@@ -2734,6 +2804,22 @@ const de___listOfAllowListSummary = (output, context) => {
2734
2804
  });
2735
2805
  return retVal;
2736
2806
  };
2807
+ const de___listOfAutomatedDiscoveryAccount = (output, context) => {
2808
+ const retVal = (output || [])
2809
+ .filter((e) => e != null)
2810
+ .map((entry) => {
2811
+ return de_AutomatedDiscoveryAccount(entry, context);
2812
+ });
2813
+ return retVal;
2814
+ };
2815
+ const de___listOfAutomatedDiscoveryAccountUpdateError = (output, context) => {
2816
+ const retVal = (output || [])
2817
+ .filter((e) => e != null)
2818
+ .map((entry) => {
2819
+ return de_AutomatedDiscoveryAccountUpdateError(entry, context);
2820
+ });
2821
+ return retVal;
2822
+ };
2737
2823
  const de___listOfBatchGetCustomDataIdentifierSummary = (output, context) => {
2738
2824
  const retVal = (output || [])
2739
2825
  .filter((e) => e != null)
@@ -2998,6 +3084,18 @@ const de_AssumedRole = (output, context) => {
2998
3084
  sessionContext: [, (_) => de_SessionContext(_, context), `sessionContext`],
2999
3085
  });
3000
3086
  };
3087
+ const de_AutomatedDiscoveryAccount = (output, context) => {
3088
+ return take(output, {
3089
+ accountId: [, __expectString, `accountId`],
3090
+ status: [, __expectString, `status`],
3091
+ });
3092
+ };
3093
+ const de_AutomatedDiscoveryAccountUpdateError = (output, context) => {
3094
+ return take(output, {
3095
+ accountId: [, __expectString, `accountId`],
3096
+ errorCode: [, __expectString, `errorCode`],
3097
+ });
3098
+ };
3001
3099
  const de_AwsAccount = (output, context) => {
3002
3100
  return take(output, {
3003
3101
  accountId: [, __expectString, `accountId`],
@@ -3069,6 +3167,7 @@ const de_BucketMetadata = (output, context) => {
3069
3167
  return take(output, {
3070
3168
  accountId: [, __expectString, `accountId`],
3071
3169
  allowsUnencryptedObjectUploads: [, __expectString, `allowsUnencryptedObjectUploads`],
3170
+ automatedDiscoveryMonitoringStatus: [, __expectString, `automatedDiscoveryMonitoringStatus`],
3072
3171
  bucketArn: [, __expectString, `bucketArn`],
3073
3172
  bucketCreatedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `bucketCreatedAt`],
3074
3173
  bucketName: [, __expectString, `bucketName`],
@@ -3469,6 +3568,7 @@ const de_ManagedDataIdentifierSummary = (output, context) => {
3469
3568
  const de_MatchingBucket = (output, context) => {
3470
3569
  return take(output, {
3471
3570
  accountId: [, __expectString, `accountId`],
3571
+ automatedDiscoveryMonitoringStatus: [, __expectString, `automatedDiscoveryMonitoringStatus`],
3472
3572
  bucketName: [, __expectString, `bucketName`],
3473
3573
  classifiableObjectCount: [, __expectLong, `classifiableObjectCount`],
3474
3574
  classifiableSizeInBytes: [, __expectLong, `classifiableSizeInBytes`],
@@ -3956,6 +4056,7 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
3956
4056
  (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
3957
4057
  (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
3958
4058
  const _aAI = "adminAccountId";
4059
+ const _aI = "accountIds";
3959
4060
  const _iJC = "ignoreJobChecks";
3960
4061
  const _mR = "maxResults";
3961
4062
  const _n = "name";
@@ -1,6 +1,7 @@
1
1
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
2
  import { AcceptInvitationCommandInput, AcceptInvitationCommandOutput } from "./commands/AcceptInvitationCommand";
3
3
  import { BatchGetCustomDataIdentifiersCommandInput, BatchGetCustomDataIdentifiersCommandOutput } from "./commands/BatchGetCustomDataIdentifiersCommand";
4
+ import { BatchUpdateAutomatedDiscoveryAccountsCommandInput, BatchUpdateAutomatedDiscoveryAccountsCommandOutput } from "./commands/BatchUpdateAutomatedDiscoveryAccountsCommand";
4
5
  import { CreateAllowListCommandInput, CreateAllowListCommandOutput } from "./commands/CreateAllowListCommand";
5
6
  import { CreateClassificationJobCommandInput, CreateClassificationJobCommandOutput } from "./commands/CreateClassificationJobCommand";
6
7
  import { CreateCustomDataIdentifierCommandInput, CreateCustomDataIdentifierCommandOutput } from "./commands/CreateCustomDataIdentifierCommand";
@@ -47,6 +48,7 @@ import { GetSensitivityInspectionTemplateCommandInput, GetSensitivityInspectionT
47
48
  import { GetUsageStatisticsCommandInput, GetUsageStatisticsCommandOutput } from "./commands/GetUsageStatisticsCommand";
48
49
  import { GetUsageTotalsCommandInput, GetUsageTotalsCommandOutput } from "./commands/GetUsageTotalsCommand";
49
50
  import { ListAllowListsCommandInput, ListAllowListsCommandOutput } from "./commands/ListAllowListsCommand";
51
+ import { ListAutomatedDiscoveryAccountsCommandInput, ListAutomatedDiscoveryAccountsCommandOutput } from "./commands/ListAutomatedDiscoveryAccountsCommand";
50
52
  import { ListClassificationJobsCommandInput, ListClassificationJobsCommandOutput } from "./commands/ListClassificationJobsCommand";
51
53
  import { ListClassificationScopesCommandInput, ListClassificationScopesCommandOutput } from "./commands/ListClassificationScopesCommand";
52
54
  import { ListCustomDataIdentifiersCommandInput, ListCustomDataIdentifiersCommandOutput } from "./commands/ListCustomDataIdentifiersCommand";
@@ -93,6 +95,13 @@ export interface Macie2 {
93
95
  batchGetCustomDataIdentifiers(args: BatchGetCustomDataIdentifiersCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetCustomDataIdentifiersCommandOutput>;
94
96
  batchGetCustomDataIdentifiers(args: BatchGetCustomDataIdentifiersCommandInput, cb: (err: any, data?: BatchGetCustomDataIdentifiersCommandOutput) => void): void;
95
97
  batchGetCustomDataIdentifiers(args: BatchGetCustomDataIdentifiersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetCustomDataIdentifiersCommandOutput) => void): void;
98
+ /**
99
+ * @see {@link BatchUpdateAutomatedDiscoveryAccountsCommand}
100
+ */
101
+ batchUpdateAutomatedDiscoveryAccounts(): Promise<BatchUpdateAutomatedDiscoveryAccountsCommandOutput>;
102
+ batchUpdateAutomatedDiscoveryAccounts(args: BatchUpdateAutomatedDiscoveryAccountsCommandInput, options?: __HttpHandlerOptions): Promise<BatchUpdateAutomatedDiscoveryAccountsCommandOutput>;
103
+ batchUpdateAutomatedDiscoveryAccounts(args: BatchUpdateAutomatedDiscoveryAccountsCommandInput, cb: (err: any, data?: BatchUpdateAutomatedDiscoveryAccountsCommandOutput) => void): void;
104
+ batchUpdateAutomatedDiscoveryAccounts(args: BatchUpdateAutomatedDiscoveryAccountsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchUpdateAutomatedDiscoveryAccountsCommandOutput) => void): void;
96
105
  /**
97
106
  * @see {@link CreateAllowListCommand}
98
107
  */
@@ -388,6 +397,13 @@ export interface Macie2 {
388
397
  listAllowLists(args: ListAllowListsCommandInput, options?: __HttpHandlerOptions): Promise<ListAllowListsCommandOutput>;
389
398
  listAllowLists(args: ListAllowListsCommandInput, cb: (err: any, data?: ListAllowListsCommandOutput) => void): void;
390
399
  listAllowLists(args: ListAllowListsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAllowListsCommandOutput) => void): void;
400
+ /**
401
+ * @see {@link ListAutomatedDiscoveryAccountsCommand}
402
+ */
403
+ listAutomatedDiscoveryAccounts(): Promise<ListAutomatedDiscoveryAccountsCommandOutput>;
404
+ listAutomatedDiscoveryAccounts(args: ListAutomatedDiscoveryAccountsCommandInput, options?: __HttpHandlerOptions): Promise<ListAutomatedDiscoveryAccountsCommandOutput>;
405
+ listAutomatedDiscoveryAccounts(args: ListAutomatedDiscoveryAccountsCommandInput, cb: (err: any, data?: ListAutomatedDiscoveryAccountsCommandOutput) => void): void;
406
+ listAutomatedDiscoveryAccounts(args: ListAutomatedDiscoveryAccountsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAutomatedDiscoveryAccountsCommandOutput) => void): void;
391
407
  /**
392
408
  * @see {@link ListClassificationJobsCommand}
393
409
  */
@@ -9,6 +9,7 @@ import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalc
9
9
  import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { AcceptInvitationCommandInput, AcceptInvitationCommandOutput } from "./commands/AcceptInvitationCommand";
11
11
  import { BatchGetCustomDataIdentifiersCommandInput, BatchGetCustomDataIdentifiersCommandOutput } from "./commands/BatchGetCustomDataIdentifiersCommand";
12
+ import { BatchUpdateAutomatedDiscoveryAccountsCommandInput, BatchUpdateAutomatedDiscoveryAccountsCommandOutput } from "./commands/BatchUpdateAutomatedDiscoveryAccountsCommand";
12
13
  import { CreateAllowListCommandInput, CreateAllowListCommandOutput } from "./commands/CreateAllowListCommand";
13
14
  import { CreateClassificationJobCommandInput, CreateClassificationJobCommandOutput } from "./commands/CreateClassificationJobCommand";
14
15
  import { CreateCustomDataIdentifierCommandInput, CreateCustomDataIdentifierCommandOutput } from "./commands/CreateCustomDataIdentifierCommand";
@@ -55,6 +56,7 @@ import { GetSensitivityInspectionTemplateCommandInput, GetSensitivityInspectionT
55
56
  import { GetUsageStatisticsCommandInput, GetUsageStatisticsCommandOutput } from "./commands/GetUsageStatisticsCommand";
56
57
  import { GetUsageTotalsCommandInput, GetUsageTotalsCommandOutput } from "./commands/GetUsageTotalsCommand";
57
58
  import { ListAllowListsCommandInput, ListAllowListsCommandOutput } from "./commands/ListAllowListsCommand";
59
+ import { ListAutomatedDiscoveryAccountsCommandInput, ListAutomatedDiscoveryAccountsCommandOutput } from "./commands/ListAutomatedDiscoveryAccountsCommand";
58
60
  import { ListClassificationJobsCommandInput, ListClassificationJobsCommandOutput } from "./commands/ListClassificationJobsCommand";
59
61
  import { ListClassificationScopesCommandInput, ListClassificationScopesCommandOutput } from "./commands/ListClassificationScopesCommand";
60
62
  import { ListCustomDataIdentifiersCommandInput, ListCustomDataIdentifiersCommandOutput } from "./commands/ListCustomDataIdentifiersCommand";
@@ -92,11 +94,11 @@ export { __Client };
92
94
  /**
93
95
  * @public
94
96
  */
95
- export type ServiceInputTypes = AcceptInvitationCommandInput | BatchGetCustomDataIdentifiersCommandInput | CreateAllowListCommandInput | CreateClassificationJobCommandInput | CreateCustomDataIdentifierCommandInput | CreateFindingsFilterCommandInput | CreateInvitationsCommandInput | CreateMemberCommandInput | CreateSampleFindingsCommandInput | DeclineInvitationsCommandInput | DeleteAllowListCommandInput | DeleteCustomDataIdentifierCommandInput | DeleteFindingsFilterCommandInput | DeleteInvitationsCommandInput | DeleteMemberCommandInput | DescribeBucketsCommandInput | DescribeClassificationJobCommandInput | DescribeOrganizationConfigurationCommandInput | DisableMacieCommandInput | DisableOrganizationAdminAccountCommandInput | DisassociateFromAdministratorAccountCommandInput | DisassociateFromMasterAccountCommandInput | DisassociateMemberCommandInput | EnableMacieCommandInput | EnableOrganizationAdminAccountCommandInput | GetAdministratorAccountCommandInput | GetAllowListCommandInput | GetAutomatedDiscoveryConfigurationCommandInput | GetBucketStatisticsCommandInput | GetClassificationExportConfigurationCommandInput | GetClassificationScopeCommandInput | GetCustomDataIdentifierCommandInput | GetFindingStatisticsCommandInput | GetFindingsCommandInput | GetFindingsFilterCommandInput | GetFindingsPublicationConfigurationCommandInput | GetInvitationsCountCommandInput | GetMacieSessionCommandInput | GetMasterAccountCommandInput | GetMemberCommandInput | GetResourceProfileCommandInput | GetRevealConfigurationCommandInput | GetSensitiveDataOccurrencesAvailabilityCommandInput | GetSensitiveDataOccurrencesCommandInput | GetSensitivityInspectionTemplateCommandInput | GetUsageStatisticsCommandInput | GetUsageTotalsCommandInput | ListAllowListsCommandInput | ListClassificationJobsCommandInput | ListClassificationScopesCommandInput | ListCustomDataIdentifiersCommandInput | ListFindingsCommandInput | ListFindingsFiltersCommandInput | ListInvitationsCommandInput | ListManagedDataIdentifiersCommandInput | ListMembersCommandInput | ListOrganizationAdminAccountsCommandInput | ListResourceProfileArtifactsCommandInput | ListResourceProfileDetectionsCommandInput | ListSensitivityInspectionTemplatesCommandInput | ListTagsForResourceCommandInput | PutClassificationExportConfigurationCommandInput | PutFindingsPublicationConfigurationCommandInput | SearchResourcesCommandInput | TagResourceCommandInput | TestCustomDataIdentifierCommandInput | UntagResourceCommandInput | UpdateAllowListCommandInput | UpdateAutomatedDiscoveryConfigurationCommandInput | UpdateClassificationJobCommandInput | UpdateClassificationScopeCommandInput | UpdateFindingsFilterCommandInput | UpdateMacieSessionCommandInput | UpdateMemberSessionCommandInput | UpdateOrganizationConfigurationCommandInput | UpdateResourceProfileCommandInput | UpdateResourceProfileDetectionsCommandInput | UpdateRevealConfigurationCommandInput | UpdateSensitivityInspectionTemplateCommandInput;
97
+ export type ServiceInputTypes = AcceptInvitationCommandInput | BatchGetCustomDataIdentifiersCommandInput | BatchUpdateAutomatedDiscoveryAccountsCommandInput | CreateAllowListCommandInput | CreateClassificationJobCommandInput | CreateCustomDataIdentifierCommandInput | CreateFindingsFilterCommandInput | CreateInvitationsCommandInput | CreateMemberCommandInput | CreateSampleFindingsCommandInput | DeclineInvitationsCommandInput | DeleteAllowListCommandInput | DeleteCustomDataIdentifierCommandInput | DeleteFindingsFilterCommandInput | DeleteInvitationsCommandInput | DeleteMemberCommandInput | DescribeBucketsCommandInput | DescribeClassificationJobCommandInput | DescribeOrganizationConfigurationCommandInput | DisableMacieCommandInput | DisableOrganizationAdminAccountCommandInput | DisassociateFromAdministratorAccountCommandInput | DisassociateFromMasterAccountCommandInput | DisassociateMemberCommandInput | EnableMacieCommandInput | EnableOrganizationAdminAccountCommandInput | GetAdministratorAccountCommandInput | GetAllowListCommandInput | GetAutomatedDiscoveryConfigurationCommandInput | GetBucketStatisticsCommandInput | GetClassificationExportConfigurationCommandInput | GetClassificationScopeCommandInput | GetCustomDataIdentifierCommandInput | GetFindingStatisticsCommandInput | GetFindingsCommandInput | GetFindingsFilterCommandInput | GetFindingsPublicationConfigurationCommandInput | GetInvitationsCountCommandInput | GetMacieSessionCommandInput | GetMasterAccountCommandInput | GetMemberCommandInput | GetResourceProfileCommandInput | GetRevealConfigurationCommandInput | GetSensitiveDataOccurrencesAvailabilityCommandInput | GetSensitiveDataOccurrencesCommandInput | GetSensitivityInspectionTemplateCommandInput | GetUsageStatisticsCommandInput | GetUsageTotalsCommandInput | ListAllowListsCommandInput | ListAutomatedDiscoveryAccountsCommandInput | ListClassificationJobsCommandInput | ListClassificationScopesCommandInput | ListCustomDataIdentifiersCommandInput | ListFindingsCommandInput | ListFindingsFiltersCommandInput | ListInvitationsCommandInput | ListManagedDataIdentifiersCommandInput | ListMembersCommandInput | ListOrganizationAdminAccountsCommandInput | ListResourceProfileArtifactsCommandInput | ListResourceProfileDetectionsCommandInput | ListSensitivityInspectionTemplatesCommandInput | ListTagsForResourceCommandInput | PutClassificationExportConfigurationCommandInput | PutFindingsPublicationConfigurationCommandInput | SearchResourcesCommandInput | TagResourceCommandInput | TestCustomDataIdentifierCommandInput | UntagResourceCommandInput | UpdateAllowListCommandInput | UpdateAutomatedDiscoveryConfigurationCommandInput | UpdateClassificationJobCommandInput | UpdateClassificationScopeCommandInput | UpdateFindingsFilterCommandInput | UpdateMacieSessionCommandInput | UpdateMemberSessionCommandInput | UpdateOrganizationConfigurationCommandInput | UpdateResourceProfileCommandInput | UpdateResourceProfileDetectionsCommandInput | UpdateRevealConfigurationCommandInput | UpdateSensitivityInspectionTemplateCommandInput;
96
98
  /**
97
99
  * @public
98
100
  */
99
- export type ServiceOutputTypes = AcceptInvitationCommandOutput | BatchGetCustomDataIdentifiersCommandOutput | CreateAllowListCommandOutput | CreateClassificationJobCommandOutput | CreateCustomDataIdentifierCommandOutput | CreateFindingsFilterCommandOutput | CreateInvitationsCommandOutput | CreateMemberCommandOutput | CreateSampleFindingsCommandOutput | DeclineInvitationsCommandOutput | DeleteAllowListCommandOutput | DeleteCustomDataIdentifierCommandOutput | DeleteFindingsFilterCommandOutput | DeleteInvitationsCommandOutput | DeleteMemberCommandOutput | DescribeBucketsCommandOutput | DescribeClassificationJobCommandOutput | DescribeOrganizationConfigurationCommandOutput | DisableMacieCommandOutput | DisableOrganizationAdminAccountCommandOutput | DisassociateFromAdministratorAccountCommandOutput | DisassociateFromMasterAccountCommandOutput | DisassociateMemberCommandOutput | EnableMacieCommandOutput | EnableOrganizationAdminAccountCommandOutput | GetAdministratorAccountCommandOutput | GetAllowListCommandOutput | GetAutomatedDiscoveryConfigurationCommandOutput | GetBucketStatisticsCommandOutput | GetClassificationExportConfigurationCommandOutput | GetClassificationScopeCommandOutput | GetCustomDataIdentifierCommandOutput | GetFindingStatisticsCommandOutput | GetFindingsCommandOutput | GetFindingsFilterCommandOutput | GetFindingsPublicationConfigurationCommandOutput | GetInvitationsCountCommandOutput | GetMacieSessionCommandOutput | GetMasterAccountCommandOutput | GetMemberCommandOutput | GetResourceProfileCommandOutput | GetRevealConfigurationCommandOutput | GetSensitiveDataOccurrencesAvailabilityCommandOutput | GetSensitiveDataOccurrencesCommandOutput | GetSensitivityInspectionTemplateCommandOutput | GetUsageStatisticsCommandOutput | GetUsageTotalsCommandOutput | ListAllowListsCommandOutput | ListClassificationJobsCommandOutput | ListClassificationScopesCommandOutput | ListCustomDataIdentifiersCommandOutput | ListFindingsCommandOutput | ListFindingsFiltersCommandOutput | ListInvitationsCommandOutput | ListManagedDataIdentifiersCommandOutput | ListMembersCommandOutput | ListOrganizationAdminAccountsCommandOutput | ListResourceProfileArtifactsCommandOutput | ListResourceProfileDetectionsCommandOutput | ListSensitivityInspectionTemplatesCommandOutput | ListTagsForResourceCommandOutput | PutClassificationExportConfigurationCommandOutput | PutFindingsPublicationConfigurationCommandOutput | SearchResourcesCommandOutput | TagResourceCommandOutput | TestCustomDataIdentifierCommandOutput | UntagResourceCommandOutput | UpdateAllowListCommandOutput | UpdateAutomatedDiscoveryConfigurationCommandOutput | UpdateClassificationJobCommandOutput | UpdateClassificationScopeCommandOutput | UpdateFindingsFilterCommandOutput | UpdateMacieSessionCommandOutput | UpdateMemberSessionCommandOutput | UpdateOrganizationConfigurationCommandOutput | UpdateResourceProfileCommandOutput | UpdateResourceProfileDetectionsCommandOutput | UpdateRevealConfigurationCommandOutput | UpdateSensitivityInspectionTemplateCommandOutput;
101
+ export type ServiceOutputTypes = AcceptInvitationCommandOutput | BatchGetCustomDataIdentifiersCommandOutput | BatchUpdateAutomatedDiscoveryAccountsCommandOutput | CreateAllowListCommandOutput | CreateClassificationJobCommandOutput | CreateCustomDataIdentifierCommandOutput | CreateFindingsFilterCommandOutput | CreateInvitationsCommandOutput | CreateMemberCommandOutput | CreateSampleFindingsCommandOutput | DeclineInvitationsCommandOutput | DeleteAllowListCommandOutput | DeleteCustomDataIdentifierCommandOutput | DeleteFindingsFilterCommandOutput | DeleteInvitationsCommandOutput | DeleteMemberCommandOutput | DescribeBucketsCommandOutput | DescribeClassificationJobCommandOutput | DescribeOrganizationConfigurationCommandOutput | DisableMacieCommandOutput | DisableOrganizationAdminAccountCommandOutput | DisassociateFromAdministratorAccountCommandOutput | DisassociateFromMasterAccountCommandOutput | DisassociateMemberCommandOutput | EnableMacieCommandOutput | EnableOrganizationAdminAccountCommandOutput | GetAdministratorAccountCommandOutput | GetAllowListCommandOutput | GetAutomatedDiscoveryConfigurationCommandOutput | GetBucketStatisticsCommandOutput | GetClassificationExportConfigurationCommandOutput | GetClassificationScopeCommandOutput | GetCustomDataIdentifierCommandOutput | GetFindingStatisticsCommandOutput | GetFindingsCommandOutput | GetFindingsFilterCommandOutput | GetFindingsPublicationConfigurationCommandOutput | GetInvitationsCountCommandOutput | GetMacieSessionCommandOutput | GetMasterAccountCommandOutput | GetMemberCommandOutput | GetResourceProfileCommandOutput | GetRevealConfigurationCommandOutput | GetSensitiveDataOccurrencesAvailabilityCommandOutput | GetSensitiveDataOccurrencesCommandOutput | GetSensitivityInspectionTemplateCommandOutput | GetUsageStatisticsCommandOutput | GetUsageTotalsCommandOutput | ListAllowListsCommandOutput | ListAutomatedDiscoveryAccountsCommandOutput | ListClassificationJobsCommandOutput | ListClassificationScopesCommandOutput | ListCustomDataIdentifiersCommandOutput | ListFindingsCommandOutput | ListFindingsFiltersCommandOutput | ListInvitationsCommandOutput | ListManagedDataIdentifiersCommandOutput | ListMembersCommandOutput | ListOrganizationAdminAccountsCommandOutput | ListResourceProfileArtifactsCommandOutput | ListResourceProfileDetectionsCommandOutput | ListSensitivityInspectionTemplatesCommandOutput | ListTagsForResourceCommandOutput | PutClassificationExportConfigurationCommandOutput | PutFindingsPublicationConfigurationCommandOutput | SearchResourcesCommandOutput | TagResourceCommandOutput | TestCustomDataIdentifierCommandOutput | UntagResourceCommandOutput | UpdateAllowListCommandOutput | UpdateAutomatedDiscoveryConfigurationCommandOutput | UpdateClassificationJobCommandOutput | UpdateClassificationScopeCommandOutput | UpdateFindingsFilterCommandOutput | UpdateMacieSessionCommandOutput | UpdateMemberSessionCommandOutput | UpdateOrganizationConfigurationCommandOutput | UpdateResourceProfileCommandOutput | UpdateResourceProfileDetectionsCommandOutput | UpdateRevealConfigurationCommandOutput | UpdateSensitivityInspectionTemplateCommandOutput;
100
102
  /**
101
103
  * @public
102
104
  */
@@ -0,0 +1,85 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { Macie2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Macie2Client";
4
+ import { BatchUpdateAutomatedDiscoveryAccountsRequest, BatchUpdateAutomatedDiscoveryAccountsResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link BatchUpdateAutomatedDiscoveryAccountsCommand}.
14
+ */
15
+ export interface BatchUpdateAutomatedDiscoveryAccountsCommandInput extends BatchUpdateAutomatedDiscoveryAccountsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link BatchUpdateAutomatedDiscoveryAccountsCommand}.
21
+ */
22
+ export interface BatchUpdateAutomatedDiscoveryAccountsCommandOutput extends BatchUpdateAutomatedDiscoveryAccountsResponse, __MetadataBearer {
23
+ }
24
+ declare const BatchUpdateAutomatedDiscoveryAccountsCommand_base: {
25
+ new (input: BatchUpdateAutomatedDiscoveryAccountsCommandInput): import("@smithy/smithy-client").CommandImpl<BatchUpdateAutomatedDiscoveryAccountsCommandInput, BatchUpdateAutomatedDiscoveryAccountsCommandOutput, Macie2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [BatchUpdateAutomatedDiscoveryAccountsCommandInput]): import("@smithy/smithy-client").CommandImpl<BatchUpdateAutomatedDiscoveryAccountsCommandInput, BatchUpdateAutomatedDiscoveryAccountsCommandOutput, Macie2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Changes the status of automated sensitive data discovery for one or more accounts.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { Macie2Client, BatchUpdateAutomatedDiscoveryAccountsCommand } from "@aws-sdk/client-macie2"; // ES Modules import
35
+ * // const { Macie2Client, BatchUpdateAutomatedDiscoveryAccountsCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
36
+ * const client = new Macie2Client(config);
37
+ * const input = { // BatchUpdateAutomatedDiscoveryAccountsRequest
38
+ * accounts: [ // __listOfAutomatedDiscoveryAccountUpdate
39
+ * { // AutomatedDiscoveryAccountUpdate
40
+ * accountId: "STRING_VALUE",
41
+ * status: "ENABLED" || "DISABLED",
42
+ * },
43
+ * ],
44
+ * };
45
+ * const command = new BatchUpdateAutomatedDiscoveryAccountsCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // BatchUpdateAutomatedDiscoveryAccountsResponse
48
+ * // errors: [ // __listOfAutomatedDiscoveryAccountUpdateError
49
+ * // { // AutomatedDiscoveryAccountUpdateError
50
+ * // accountId: "STRING_VALUE",
51
+ * // errorCode: "ACCOUNT_PAUSED" || "ACCOUNT_NOT_FOUND",
52
+ * // },
53
+ * // ],
54
+ * // };
55
+ *
56
+ * ```
57
+ *
58
+ * @param BatchUpdateAutomatedDiscoveryAccountsCommandInput - {@link BatchUpdateAutomatedDiscoveryAccountsCommandInput}
59
+ * @returns {@link BatchUpdateAutomatedDiscoveryAccountsCommandOutput}
60
+ * @see {@link BatchUpdateAutomatedDiscoveryAccountsCommandInput} for command's `input` shape.
61
+ * @see {@link BatchUpdateAutomatedDiscoveryAccountsCommandOutput} for command's `response` shape.
62
+ * @see {@link Macie2ClientResolvedConfig | config} for Macie2Client's `config` shape.
63
+ *
64
+ * @throws {@link AccessDeniedException} (client fault)
65
+ * <p>Provides information about an error that occurred due to insufficient access to a specified resource.</p>
66
+ *
67
+ * @throws {@link ConflictException} (client fault)
68
+ * <p>Provides information about an error that occurred due to a versioning conflict for a specified resource.</p>
69
+ *
70
+ * @throws {@link InternalServerException} (server fault)
71
+ * <p>Provides information about an error that occurred due to an unknown internal server error, exception, or failure.</p>
72
+ *
73
+ * @throws {@link ThrottlingException} (client fault)
74
+ * <p>Provides information about an error that occurred because too many requests were sent during a certain amount of time.</p>
75
+ *
76
+ * @throws {@link ValidationException} (client fault)
77
+ * <p>Provides information about an error that occurred due to a syntax error in a request.</p>
78
+ *
79
+ * @throws {@link Macie2ServiceException}
80
+ * <p>Base exception class for all service exceptions from Macie2 service.</p>
81
+ *
82
+ * @public
83
+ */
84
+ export declare class BatchUpdateAutomatedDiscoveryAccountsCommand extends BatchUpdateAutomatedDiscoveryAccountsCommand_base {
85
+ }
@@ -64,6 +64,7 @@ declare const DescribeBucketsCommand_base: {
64
64
  * // { // BucketMetadata
65
65
  * // accountId: "STRING_VALUE",
66
66
  * // allowsUnencryptedObjectUploads: "TRUE" || "FALSE" || "UNKNOWN",
67
+ * // automatedDiscoveryMonitoringStatus: "MONITORED" || "NOT_MONITORED",
67
68
  * // bucketArn: "STRING_VALUE",
68
69
  * // bucketCreatedAt: new Date("TIMESTAMP"),
69
70
  * // bucketName: "STRING_VALUE",
@@ -27,7 +27,7 @@ declare const GetAutomatedDiscoveryConfigurationCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Retrieves the configuration settings and status of automated sensitive data discovery for an account.</p>
30
+ * <p>Retrieves the configuration settings and status of automated sensitive data discovery for an organization or standalone account.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -38,6 +38,7 @@ declare const GetAutomatedDiscoveryConfigurationCommand_base: {
38
38
  * const command = new GetAutomatedDiscoveryConfigurationCommand(input);
39
39
  * const response = await client.send(command);
40
40
  * // { // GetAutomatedDiscoveryConfigurationResponse
41
+ * // autoEnableOrganizationMembers: "ALL" || "NEW" || "NONE",
41
42
  * // classificationScopeId: "STRING_VALUE",
42
43
  * // disabledAt: new Date("TIMESTAMP"),
43
44
  * // firstEnabledAt: new Date("TIMESTAMP"),
@@ -0,0 +1,85 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { Macie2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Macie2Client";
4
+ import { ListAutomatedDiscoveryAccountsRequest, ListAutomatedDiscoveryAccountsResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListAutomatedDiscoveryAccountsCommand}.
14
+ */
15
+ export interface ListAutomatedDiscoveryAccountsCommandInput extends ListAutomatedDiscoveryAccountsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListAutomatedDiscoveryAccountsCommand}.
21
+ */
22
+ export interface ListAutomatedDiscoveryAccountsCommandOutput extends ListAutomatedDiscoveryAccountsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListAutomatedDiscoveryAccountsCommand_base: {
25
+ new (input: ListAutomatedDiscoveryAccountsCommandInput): import("@smithy/smithy-client").CommandImpl<ListAutomatedDiscoveryAccountsCommandInput, ListAutomatedDiscoveryAccountsCommandOutput, Macie2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListAutomatedDiscoveryAccountsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListAutomatedDiscoveryAccountsCommandInput, ListAutomatedDiscoveryAccountsCommandOutput, Macie2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves the status of automated sensitive data discovery for one or more accounts.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { Macie2Client, ListAutomatedDiscoveryAccountsCommand } from "@aws-sdk/client-macie2"; // ES Modules import
35
+ * // const { Macie2Client, ListAutomatedDiscoveryAccountsCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
36
+ * const client = new Macie2Client(config);
37
+ * const input = { // ListAutomatedDiscoveryAccountsRequest
38
+ * accountIds: [ // __listOf__string
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * maxResults: Number("int"),
42
+ * nextToken: "STRING_VALUE",
43
+ * };
44
+ * const command = new ListAutomatedDiscoveryAccountsCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // ListAutomatedDiscoveryAccountsResponse
47
+ * // items: [ // __listOfAutomatedDiscoveryAccount
48
+ * // { // AutomatedDiscoveryAccount
49
+ * // accountId: "STRING_VALUE",
50
+ * // status: "ENABLED" || "DISABLED",
51
+ * // },
52
+ * // ],
53
+ * // nextToken: "STRING_VALUE",
54
+ * // };
55
+ *
56
+ * ```
57
+ *
58
+ * @param ListAutomatedDiscoveryAccountsCommandInput - {@link ListAutomatedDiscoveryAccountsCommandInput}
59
+ * @returns {@link ListAutomatedDiscoveryAccountsCommandOutput}
60
+ * @see {@link ListAutomatedDiscoveryAccountsCommandInput} for command's `input` shape.
61
+ * @see {@link ListAutomatedDiscoveryAccountsCommandOutput} for command's `response` shape.
62
+ * @see {@link Macie2ClientResolvedConfig | config} for Macie2Client's `config` shape.
63
+ *
64
+ * @throws {@link AccessDeniedException} (client fault)
65
+ * <p>Provides information about an error that occurred due to insufficient access to a specified resource.</p>
66
+ *
67
+ * @throws {@link InternalServerException} (server fault)
68
+ * <p>Provides information about an error that occurred due to an unknown internal server error, exception, or failure.</p>
69
+ *
70
+ * @throws {@link ResourceNotFoundException} (client fault)
71
+ * <p>Provides information about an error that occurred because a specified resource wasn't found.</p>
72
+ *
73
+ * @throws {@link ThrottlingException} (client fault)
74
+ * <p>Provides information about an error that occurred because too many requests were sent during a certain amount of time.</p>
75
+ *
76
+ * @throws {@link ValidationException} (client fault)
77
+ * <p>Provides information about an error that occurred due to a syntax error in a request.</p>
78
+ *
79
+ * @throws {@link Macie2ServiceException}
80
+ * <p>Base exception class for all service exceptions from Macie2 service.</p>
81
+ *
82
+ * @public
83
+ */
84
+ export declare class ListAutomatedDiscoveryAccountsCommand extends ListAutomatedDiscoveryAccountsCommand_base {
85
+ }
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { Macie2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Macie2Client";
4
- import { ListClassificationJobsRequest, ListClassificationJobsResponse } from "../models/models_0";
4
+ import { ListClassificationJobsRequest, ListClassificationJobsResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { Macie2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Macie2Client";
4
- import { ListClassificationScopesRequest, ListClassificationScopesResponse } from "../models/models_0";
4
+ import { ListClassificationScopesRequest, ListClassificationScopesResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { Macie2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Macie2Client";
4
- import { ListCustomDataIdentifiersRequest, ListCustomDataIdentifiersResponse } from "../models/models_0";
4
+ import { ListCustomDataIdentifiersRequest, ListCustomDataIdentifiersResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { Macie2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Macie2Client";
4
- import { ListFindingsRequest, ListFindingsResponse } from "../models/models_0";
4
+ import { ListFindingsRequest, ListFindingsResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -27,7 +27,7 @@ declare const ListInvitationsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Retrieves information about the Amazon Macie membership invitations that were received by an account.</p>
30
+ * <p>Retrieves information about Amazon Macie membership invitations that were received by an account.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -27,7 +27,7 @@ declare const ListResourceProfileArtifactsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Retrieves information about objects that were selected from an S3 bucket for automated sensitive data discovery.</p>
30
+ * <p>Retrieves information about objects that Amazon Macie selected from an S3 bucket for automated sensitive data discovery.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -27,7 +27,7 @@ declare const PutClassificationExportConfigurationCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Creates or updates the configuration settings for storing data classification results.</p>
30
+ * <p>Adds or updates the configuration settings for storing data classification results.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -41,7 +41,7 @@ declare const SearchResourcesCommand_base: {
41
41
  * { // SearchResourcesCriteria
42
42
  * simpleCriterion: { // SearchResourcesSimpleCriterion
43
43
  * comparator: "EQ" || "NE",
44
- * key: "ACCOUNT_ID" || "S3_BUCKET_NAME" || "S3_BUCKET_EFFECTIVE_PERMISSION" || "S3_BUCKET_SHARED_ACCESS",
44
+ * key: "ACCOUNT_ID" || "S3_BUCKET_NAME" || "S3_BUCKET_EFFECTIVE_PERMISSION" || "S3_BUCKET_SHARED_ACCESS" || "AUTOMATED_DISCOVERY_MONITORING_STATUS",
45
45
  * values: [ // __listOf__string
46
46
  * "STRING_VALUE",
47
47
  * ],
@@ -63,7 +63,7 @@ declare const SearchResourcesCommand_base: {
63
63
  * {
64
64
  * simpleCriterion: {
65
65
  * comparator: "EQ" || "NE",
66
- * key: "ACCOUNT_ID" || "S3_BUCKET_NAME" || "S3_BUCKET_EFFECTIVE_PERMISSION" || "S3_BUCKET_SHARED_ACCESS",
66
+ * key: "ACCOUNT_ID" || "S3_BUCKET_NAME" || "S3_BUCKET_EFFECTIVE_PERMISSION" || "S3_BUCKET_SHARED_ACCESS" || "AUTOMATED_DISCOVERY_MONITORING_STATUS",
67
67
  * values: [
68
68
  * "STRING_VALUE",
69
69
  * ],
@@ -95,6 +95,7 @@ declare const SearchResourcesCommand_base: {
95
95
  * // { // MatchingResource
96
96
  * // matchingBucket: { // MatchingBucket
97
97
  * // accountId: "STRING_VALUE",
98
+ * // automatedDiscoveryMonitoringStatus: "MONITORED" || "NOT_MONITORED",
98
99
  * // bucketName: "STRING_VALUE",
99
100
  * // classifiableObjectCount: Number("long"),
100
101
  * // classifiableSizeInBytes: Number("long"),
@@ -27,7 +27,7 @@ declare const TestCustomDataIdentifierCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Tests a custom data identifier.</p>
30
+ * <p>Tests criteria for a custom data identifier.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -27,7 +27,7 @@ declare const UpdateAutomatedDiscoveryConfigurationCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Enables or disables automated sensitive data discovery for an account.</p>
30
+ * <p>Changes the configuration settings and status of automated sensitive data discovery for an organization or standalone account.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -35,6 +35,7 @@ declare const UpdateAutomatedDiscoveryConfigurationCommand_base: {
35
35
  * // const { Macie2Client, UpdateAutomatedDiscoveryConfigurationCommand } = require("@aws-sdk/client-macie2"); // CommonJS import
36
36
  * const client = new Macie2Client(config);
37
37
  * const input = { // UpdateAutomatedDiscoveryConfigurationRequest
38
+ * autoEnableOrganizationMembers: "ALL" || "NEW" || "NONE",
38
39
  * status: "ENABLED" || "DISABLED", // required
39
40
  * };
40
41
  * const command = new UpdateAutomatedDiscoveryConfigurationCommand(input);
@@ -1,5 +1,6 @@
1
1
  export * from "./AcceptInvitationCommand";
2
2
  export * from "./BatchGetCustomDataIdentifiersCommand";
3
+ export * from "./BatchUpdateAutomatedDiscoveryAccountsCommand";
3
4
  export * from "./CreateAllowListCommand";
4
5
  export * from "./CreateClassificationJobCommand";
5
6
  export * from "./CreateCustomDataIdentifierCommand";
@@ -46,6 +47,7 @@ export * from "./GetSensitivityInspectionTemplateCommand";
46
47
  export * from "./GetUsageStatisticsCommand";
47
48
  export * from "./GetUsageTotalsCommand";
48
49
  export * from "./ListAllowListsCommand";
50
+ export * from "./ListAutomatedDiscoveryAccountsCommand";
49
51
  export * from "./ListClassificationJobsCommand";
50
52
  export * from "./ListClassificationScopesCommand";
51
53
  export * from "./ListCustomDataIdentifiersCommand";