@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
@@ -1,4 +1,190 @@
1
- import { AdminAccount, AllowListCriteria, AutomatedDiscoveryStatus, ClassificationExportConfiguration, ClassificationScopeUpdateOperation, Detection, FindingCriteria, FindingPublishingFrequency, FindingsFilterAction, FindingsFilterListItem, Invitation, JobStatus, MacieStatus, ManagedDataIdentifierSummary, MatchingResource, Member, OrderBy, ResourceProfileArtifact, RetrievalConfiguration, RetrievalMode, RevealConfiguration, SearchResourcesCriteria, SecurityHubConfiguration, SensitivityInspectionTemplateExcludes, SensitivityInspectionTemplateIncludes, SensitivityInspectionTemplatesEntry, SuppressDataIdentifier } from "./models_0";
1
+ import { AdminAccount, AllowListCriteria, AutoEnableMode, AutomatedDiscoveryStatus, ClassificationExportConfiguration, ClassificationScopeSummary, ClassificationScopeUpdateOperation, CustomDataIdentifierSummary, Detection, FindingCriteria, FindingPublishingFrequency, FindingsFilterAction, FindingsFilterListItem, Invitation, JobStatus, JobSummary, ListJobsFilterTerm, MacieStatus, ManagedDataIdentifierSummary, MatchingResource, Member, OrderBy, ResourceProfileArtifact, RetrievalConfiguration, RetrievalMode, RevealConfiguration, SearchResourcesCriteria, SecurityHubConfiguration, SensitivityInspectionTemplateExcludes, SensitivityInspectionTemplateIncludes, SensitivityInspectionTemplatesEntry, SortCriteria, SuppressDataIdentifier } from "./models_0";
2
+ /**
3
+ * <p>Specifies criteria for filtering the results of a request for information about classification jobs.</p>
4
+ * @public
5
+ */
6
+ export interface ListJobsFilterCriteria {
7
+ /**
8
+ * <p>An array of objects, one for each condition that determines which jobs to exclude from the results.</p>
9
+ * @public
10
+ */
11
+ excludes?: ListJobsFilterTerm[];
12
+ /**
13
+ * <p>An array of objects, one for each condition that determines which jobs to include in the results.</p>
14
+ * @public
15
+ */
16
+ includes?: ListJobsFilterTerm[];
17
+ }
18
+ /**
19
+ * @public
20
+ * @enum
21
+ */
22
+ export declare const ListJobsSortAttributeName: {
23
+ readonly createdAt: "createdAt";
24
+ readonly jobStatus: "jobStatus";
25
+ readonly jobType: "jobType";
26
+ readonly name: "name";
27
+ };
28
+ /**
29
+ * @public
30
+ */
31
+ export type ListJobsSortAttributeName = (typeof ListJobsSortAttributeName)[keyof typeof ListJobsSortAttributeName];
32
+ /**
33
+ * <p>Specifies criteria for sorting the results of a request for information about classification jobs.</p>
34
+ * @public
35
+ */
36
+ export interface ListJobsSortCriteria {
37
+ /**
38
+ * <p>The property to sort the results by.</p>
39
+ * @public
40
+ */
41
+ attributeName?: ListJobsSortAttributeName;
42
+ /**
43
+ * <p>The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.</p>
44
+ * @public
45
+ */
46
+ orderBy?: OrderBy;
47
+ }
48
+ /**
49
+ * @public
50
+ */
51
+ export interface ListClassificationJobsRequest {
52
+ /**
53
+ * <p>The criteria to use to filter the results.</p>
54
+ * @public
55
+ */
56
+ filterCriteria?: ListJobsFilterCriteria;
57
+ /**
58
+ * <p>The maximum number of items to include in each page of the response.</p>
59
+ * @public
60
+ */
61
+ maxResults?: number;
62
+ /**
63
+ * <p>The nextToken string that specifies which page of results to return in a paginated response.</p>
64
+ * @public
65
+ */
66
+ nextToken?: string;
67
+ /**
68
+ * <p>The criteria to use to sort the results.</p>
69
+ * @public
70
+ */
71
+ sortCriteria?: ListJobsSortCriteria;
72
+ }
73
+ /**
74
+ * @public
75
+ */
76
+ export interface ListClassificationJobsResponse {
77
+ /**
78
+ * <p>An array of objects, one for each job that matches the filter criteria specified in the request.</p>
79
+ * @public
80
+ */
81
+ items?: JobSummary[];
82
+ /**
83
+ * <p>The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.</p>
84
+ * @public
85
+ */
86
+ nextToken?: string;
87
+ }
88
+ /**
89
+ * @public
90
+ */
91
+ export interface ListClassificationScopesRequest {
92
+ /**
93
+ * <p>The name of the classification scope to retrieve the unique identifier for.</p>
94
+ * @public
95
+ */
96
+ name?: string;
97
+ /**
98
+ * <p>The nextToken string that specifies which page of results to return in a paginated response.</p>
99
+ * @public
100
+ */
101
+ nextToken?: string;
102
+ }
103
+ /**
104
+ * @public
105
+ */
106
+ export interface ListClassificationScopesResponse {
107
+ /**
108
+ * <p>An array that specifies the unique identifier and name of the classification scope for the account.</p>
109
+ * @public
110
+ */
111
+ classificationScopes?: ClassificationScopeSummary[];
112
+ /**
113
+ * <p>The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.</p>
114
+ * @public
115
+ */
116
+ nextToken?: string;
117
+ }
118
+ /**
119
+ * @public
120
+ */
121
+ export interface ListCustomDataIdentifiersRequest {
122
+ /**
123
+ * <p>The maximum number of items to include in each page of the response.</p>
124
+ * @public
125
+ */
126
+ maxResults?: number;
127
+ /**
128
+ * <p>The nextToken string that specifies which page of results to return in a paginated response.</p>
129
+ * @public
130
+ */
131
+ nextToken?: string;
132
+ }
133
+ /**
134
+ * @public
135
+ */
136
+ export interface ListCustomDataIdentifiersResponse {
137
+ /**
138
+ * <p>An array of objects, one for each custom data identifier.</p>
139
+ * @public
140
+ */
141
+ items?: CustomDataIdentifierSummary[];
142
+ /**
143
+ * <p>The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.</p>
144
+ * @public
145
+ */
146
+ nextToken?: string;
147
+ }
148
+ /**
149
+ * @public
150
+ */
151
+ export interface ListFindingsRequest {
152
+ /**
153
+ * <p>The criteria to use to filter the results.</p>
154
+ * @public
155
+ */
156
+ findingCriteria?: FindingCriteria;
157
+ /**
158
+ * <p>The maximum number of items to include in each page of the response.</p>
159
+ * @public
160
+ */
161
+ maxResults?: number;
162
+ /**
163
+ * <p>The nextToken string that specifies which page of results to return in a paginated response.</p>
164
+ * @public
165
+ */
166
+ nextToken?: string;
167
+ /**
168
+ * <p>The criteria to use to sort the results.</p>
169
+ * @public
170
+ */
171
+ sortCriteria?: SortCriteria;
172
+ }
173
+ /**
174
+ * @public
175
+ */
176
+ export interface ListFindingsResponse {
177
+ /**
178
+ * <p>An array of strings, where each string is the unique identifier for a finding that matches the filter criteria specified in the request.</p>
179
+ * @public
180
+ */
181
+ findingIds?: string[];
182
+ /**
183
+ * <p>The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.</p>
184
+ * @public
185
+ */
186
+ nextToken?: string;
187
+ }
2
188
  /**
3
189
  * @public
4
190
  */
@@ -526,7 +712,12 @@ export interface UpdateAllowListResponse {
526
712
  */
527
713
  export interface UpdateAutomatedDiscoveryConfigurationRequest {
528
714
  /**
529
- * <p>The new status of automated sensitive data discovery for the account. Valid values are: ENABLED, start or resume automated sensitive data discovery activities for the account; and, DISABLED, stop performing automated sensitive data discovery activities for the account.</p> <p>When you enable automated sensitive data discovery for the first time, Amazon Macie uses default configuration settings to determine which data sources to analyze and which managed data identifiers to use. To change these settings, use the UpdateClassificationScope and UpdateSensitivityInspectionTemplate operations, respectively. If you change the settings and subsequently disable the configuration, Amazon Macie retains your changes.</p>
715
+ * <p>Specifies whether to automatically enable automated sensitive data discovery for accounts in the organization. Valid values are: ALL (default), enable it for all existing accounts and new member accounts; NEW, enable it only for new member accounts; and, NONE, don't enable it for any accounts.</p> <p>If you specify NEW or NONE, automated sensitive data discovery continues to be enabled for any existing accounts that it's currently enabled for. To enable or disable it for individual member accounts, specify NEW or NONE, and then enable or disable it for each account by using the BatchUpdateAutomatedDiscoveryAccounts operation.</p>
716
+ * @public
717
+ */
718
+ autoEnableOrganizationMembers?: AutoEnableMode;
719
+ /**
720
+ * <p>The new status of automated sensitive data discovery for the organization or account. Valid values are: ENABLED, start or resume all automated sensitive data discovery activities; and, DISABLED, stop performing all automated sensitive data discovery activities.</p> <p>If you specify DISABLED for an administrator account, you also disable automated sensitive data discovery for all member accounts in the organization.</p>
530
721
  * @public
531
722
  */
532
723
  status: AutomatedDiscoveryStatus | undefined;
@@ -703,7 +894,7 @@ export interface UpdateMemberSessionResponse {
703
894
  */
704
895
  export interface UpdateOrganizationConfigurationRequest {
705
896
  /**
706
- * <p>Specifies whether to enable Amazon Macie automatically for an account when the account is added to the organization in Organizations.</p>
897
+ * <p>Specifies whether to enable Amazon Macie automatically for accounts that are added to the organization in Organizations.</p>
707
898
  * @public
708
899
  */
709
900
  autoEnable: boolean | undefined;
@@ -809,7 +1000,7 @@ export interface UpdateSensitivityInspectionTemplateRequest {
809
1000
  */
810
1001
  description?: string;
811
1002
  /**
812
- * <p>The managed data identifiers to explicitly exclude (not use) when analyzing data.</p> <p>To exclude an allow list or custom data identifier that's currently included by the template, update the values for the SensitivityInspectionTemplateIncludes.allowListIds and SensitivityInspectionTemplateIncludes.customDataIdentifierIds properties, respectively.</p>
1003
+ * <p>The managed data identifiers to explicitly exclude (not use) when performing automated sensitive data discovery.</p> <p>To exclude an allow list or custom data identifier that's currently included by the template, update the values for the SensitivityInspectionTemplateIncludes.allowListIds and SensitivityInspectionTemplateIncludes.customDataIdentifierIds properties, respectively.</p>
813
1004
  * @public
814
1005
  */
815
1006
  excludes?: SensitivityInspectionTemplateExcludes;
@@ -819,7 +1010,7 @@ export interface UpdateSensitivityInspectionTemplateRequest {
819
1010
  */
820
1011
  id: string | undefined;
821
1012
  /**
822
- * <p>The allow lists, custom data identifiers, and managed data identifiers to explicitly include (use) when analyzing data.</p>
1013
+ * <p>The allow lists, custom data identifiers, and managed data identifiers to explicitly include (use) when performing automated sensitive data discovery.</p>
823
1014
  * @public
824
1015
  */
825
1016
  includes?: SensitivityInspectionTemplateIncludes;
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListAutomatedDiscoveryAccountsCommandInput, ListAutomatedDiscoveryAccountsCommandOutput } from "../commands/ListAutomatedDiscoveryAccountsCommand";
3
+ import { Macie2PaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListAutomatedDiscoveryAccounts: (config: Macie2PaginationConfiguration, input: ListAutomatedDiscoveryAccountsCommandInput, ...rest: any[]) => Paginator<ListAutomatedDiscoveryAccountsCommandOutput>;
@@ -2,6 +2,7 @@ export * from "./DescribeBucketsPaginator";
2
2
  export * from "./GetUsageStatisticsPaginator";
3
3
  export * from "./Interfaces";
4
4
  export * from "./ListAllowListsPaginator";
5
+ export * from "./ListAutomatedDiscoveryAccountsPaginator";
5
6
  export * from "./ListClassificationJobsPaginator";
6
7
  export * from "./ListClassificationScopesPaginator";
7
8
  export * from "./ListCustomDataIdentifiersPaginator";
@@ -2,6 +2,7 @@ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@s
2
2
  import { SerdeContext as __SerdeContext } from "@smithy/types";
3
3
  import { AcceptInvitationCommandInput, AcceptInvitationCommandOutput } from "../commands/AcceptInvitationCommand";
4
4
  import { BatchGetCustomDataIdentifiersCommandInput, BatchGetCustomDataIdentifiersCommandOutput } from "../commands/BatchGetCustomDataIdentifiersCommand";
5
+ import { BatchUpdateAutomatedDiscoveryAccountsCommandInput, BatchUpdateAutomatedDiscoveryAccountsCommandOutput } from "../commands/BatchUpdateAutomatedDiscoveryAccountsCommand";
5
6
  import { CreateAllowListCommandInput, CreateAllowListCommandOutput } from "../commands/CreateAllowListCommand";
6
7
  import { CreateClassificationJobCommandInput, CreateClassificationJobCommandOutput } from "../commands/CreateClassificationJobCommand";
7
8
  import { CreateCustomDataIdentifierCommandInput, CreateCustomDataIdentifierCommandOutput } from "../commands/CreateCustomDataIdentifierCommand";
@@ -48,6 +49,7 @@ import { GetSensitivityInspectionTemplateCommandInput, GetSensitivityInspectionT
48
49
  import { GetUsageStatisticsCommandInput, GetUsageStatisticsCommandOutput } from "../commands/GetUsageStatisticsCommand";
49
50
  import { GetUsageTotalsCommandInput, GetUsageTotalsCommandOutput } from "../commands/GetUsageTotalsCommand";
50
51
  import { ListAllowListsCommandInput, ListAllowListsCommandOutput } from "../commands/ListAllowListsCommand";
52
+ import { ListAutomatedDiscoveryAccountsCommandInput, ListAutomatedDiscoveryAccountsCommandOutput } from "../commands/ListAutomatedDiscoveryAccountsCommand";
51
53
  import { ListClassificationJobsCommandInput, ListClassificationJobsCommandOutput } from "../commands/ListClassificationJobsCommand";
52
54
  import { ListClassificationScopesCommandInput, ListClassificationScopesCommandOutput } from "../commands/ListClassificationScopesCommand";
53
55
  import { ListCustomDataIdentifiersCommandInput, ListCustomDataIdentifiersCommandOutput } from "../commands/ListCustomDataIdentifiersCommand";
@@ -87,6 +89,10 @@ export declare const se_AcceptInvitationCommand: (input: AcceptInvitationCommand
87
89
  * serializeAws_restJson1BatchGetCustomDataIdentifiersCommand
88
90
  */
89
91
  export declare const se_BatchGetCustomDataIdentifiersCommand: (input: BatchGetCustomDataIdentifiersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
92
+ /**
93
+ * serializeAws_restJson1BatchUpdateAutomatedDiscoveryAccountsCommand
94
+ */
95
+ export declare const se_BatchUpdateAutomatedDiscoveryAccountsCommand: (input: BatchUpdateAutomatedDiscoveryAccountsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
90
96
  /**
91
97
  * serializeAws_restJson1CreateAllowListCommand
92
98
  */
@@ -271,6 +277,10 @@ export declare const se_GetUsageTotalsCommand: (input: GetUsageTotalsCommandInpu
271
277
  * serializeAws_restJson1ListAllowListsCommand
272
278
  */
273
279
  export declare const se_ListAllowListsCommand: (input: ListAllowListsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
280
+ /**
281
+ * serializeAws_restJson1ListAutomatedDiscoveryAccountsCommand
282
+ */
283
+ export declare const se_ListAutomatedDiscoveryAccountsCommand: (input: ListAutomatedDiscoveryAccountsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
274
284
  /**
275
285
  * serializeAws_restJson1ListClassificationJobsCommand
276
286
  */
@@ -403,6 +413,10 @@ export declare const de_AcceptInvitationCommand: (output: __HttpResponse, contex
403
413
  * deserializeAws_restJson1BatchGetCustomDataIdentifiersCommand
404
414
  */
405
415
  export declare const de_BatchGetCustomDataIdentifiersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchGetCustomDataIdentifiersCommandOutput>;
416
+ /**
417
+ * deserializeAws_restJson1BatchUpdateAutomatedDiscoveryAccountsCommand
418
+ */
419
+ export declare const de_BatchUpdateAutomatedDiscoveryAccountsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchUpdateAutomatedDiscoveryAccountsCommandOutput>;
406
420
  /**
407
421
  * deserializeAws_restJson1CreateAllowListCommand
408
422
  */
@@ -587,6 +601,10 @@ export declare const de_GetUsageTotalsCommand: (output: __HttpResponse, context:
587
601
  * deserializeAws_restJson1ListAllowListsCommand
588
602
  */
589
603
  export declare const de_ListAllowListsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAllowListsCommandOutput>;
604
+ /**
605
+ * deserializeAws_restJson1ListAutomatedDiscoveryAccountsCommand
606
+ */
607
+ export declare const de_ListAutomatedDiscoveryAccountsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAutomatedDiscoveryAccountsCommandOutput>;
590
608
  /**
591
609
  * deserializeAws_restJson1ListClassificationJobsCommand
592
610
  */
@@ -7,6 +7,10 @@ import {
7
7
  BatchGetCustomDataIdentifiersCommandInput,
8
8
  BatchGetCustomDataIdentifiersCommandOutput,
9
9
  } from "./commands/BatchGetCustomDataIdentifiersCommand";
10
+ import {
11
+ BatchUpdateAutomatedDiscoveryAccountsCommandInput,
12
+ BatchUpdateAutomatedDiscoveryAccountsCommandOutput,
13
+ } from "./commands/BatchUpdateAutomatedDiscoveryAccountsCommand";
10
14
  import {
11
15
  CreateAllowListCommandInput,
12
16
  CreateAllowListCommandOutput,
@@ -191,6 +195,10 @@ import {
191
195
  ListAllowListsCommandInput,
192
196
  ListAllowListsCommandOutput,
193
197
  } from "./commands/ListAllowListsCommand";
198
+ import {
199
+ ListAutomatedDiscoveryAccountsCommandInput,
200
+ ListAutomatedDiscoveryAccountsCommandOutput,
201
+ } from "./commands/ListAutomatedDiscoveryAccountsCommand";
194
202
  import {
195
203
  ListClassificationJobsCommandInput,
196
204
  ListClassificationJobsCommandOutput,
@@ -344,6 +352,26 @@ export interface Macie2 {
344
352
  options: __HttpHandlerOptions,
345
353
  cb: (err: any, data?: BatchGetCustomDataIdentifiersCommandOutput) => void
346
354
  ): void;
355
+ batchUpdateAutomatedDiscoveryAccounts(): Promise<BatchUpdateAutomatedDiscoveryAccountsCommandOutput>;
356
+ batchUpdateAutomatedDiscoveryAccounts(
357
+ args: BatchUpdateAutomatedDiscoveryAccountsCommandInput,
358
+ options?: __HttpHandlerOptions
359
+ ): Promise<BatchUpdateAutomatedDiscoveryAccountsCommandOutput>;
360
+ batchUpdateAutomatedDiscoveryAccounts(
361
+ args: BatchUpdateAutomatedDiscoveryAccountsCommandInput,
362
+ cb: (
363
+ err: any,
364
+ data?: BatchUpdateAutomatedDiscoveryAccountsCommandOutput
365
+ ) => void
366
+ ): void;
367
+ batchUpdateAutomatedDiscoveryAccounts(
368
+ args: BatchUpdateAutomatedDiscoveryAccountsCommandInput,
369
+ options: __HttpHandlerOptions,
370
+ cb: (
371
+ err: any,
372
+ data?: BatchUpdateAutomatedDiscoveryAccountsCommandOutput
373
+ ) => void
374
+ ): void;
347
375
  createAllowList(
348
376
  args: CreateAllowListCommandInput,
349
377
  options?: __HttpHandlerOptions
@@ -997,6 +1025,20 @@ export interface Macie2 {
997
1025
  options: __HttpHandlerOptions,
998
1026
  cb: (err: any, data?: ListAllowListsCommandOutput) => void
999
1027
  ): void;
1028
+ listAutomatedDiscoveryAccounts(): Promise<ListAutomatedDiscoveryAccountsCommandOutput>;
1029
+ listAutomatedDiscoveryAccounts(
1030
+ args: ListAutomatedDiscoveryAccountsCommandInput,
1031
+ options?: __HttpHandlerOptions
1032
+ ): Promise<ListAutomatedDiscoveryAccountsCommandOutput>;
1033
+ listAutomatedDiscoveryAccounts(
1034
+ args: ListAutomatedDiscoveryAccountsCommandInput,
1035
+ cb: (err: any, data?: ListAutomatedDiscoveryAccountsCommandOutput) => void
1036
+ ): void;
1037
+ listAutomatedDiscoveryAccounts(
1038
+ args: ListAutomatedDiscoveryAccountsCommandInput,
1039
+ options: __HttpHandlerOptions,
1040
+ cb: (err: any, data?: ListAutomatedDiscoveryAccountsCommandOutput) => void
1041
+ ): void;
1000
1042
  listClassificationJobs(): Promise<ListClassificationJobsCommandOutput>;
1001
1043
  listClassificationJobs(
1002
1044
  args: ListClassificationJobsCommandInput,
@@ -53,6 +53,10 @@ import {
53
53
  BatchGetCustomDataIdentifiersCommandInput,
54
54
  BatchGetCustomDataIdentifiersCommandOutput,
55
55
  } from "./commands/BatchGetCustomDataIdentifiersCommand";
56
+ import {
57
+ BatchUpdateAutomatedDiscoveryAccountsCommandInput,
58
+ BatchUpdateAutomatedDiscoveryAccountsCommandOutput,
59
+ } from "./commands/BatchUpdateAutomatedDiscoveryAccountsCommand";
56
60
  import {
57
61
  CreateAllowListCommandInput,
58
62
  CreateAllowListCommandOutput,
@@ -237,6 +241,10 @@ import {
237
241
  ListAllowListsCommandInput,
238
242
  ListAllowListsCommandOutput,
239
243
  } from "./commands/ListAllowListsCommand";
244
+ import {
245
+ ListAutomatedDiscoveryAccountsCommandInput,
246
+ ListAutomatedDiscoveryAccountsCommandOutput,
247
+ } from "./commands/ListAutomatedDiscoveryAccountsCommand";
240
248
  import {
241
249
  ListClassificationJobsCommandInput,
242
250
  ListClassificationJobsCommandOutput,
@@ -371,6 +379,7 @@ export { __Client };
371
379
  export type ServiceInputTypes =
372
380
  | AcceptInvitationCommandInput
373
381
  | BatchGetCustomDataIdentifiersCommandInput
382
+ | BatchUpdateAutomatedDiscoveryAccountsCommandInput
374
383
  | CreateAllowListCommandInput
375
384
  | CreateClassificationJobCommandInput
376
385
  | CreateCustomDataIdentifierCommandInput
@@ -417,6 +426,7 @@ export type ServiceInputTypes =
417
426
  | GetUsageStatisticsCommandInput
418
427
  | GetUsageTotalsCommandInput
419
428
  | ListAllowListsCommandInput
429
+ | ListAutomatedDiscoveryAccountsCommandInput
420
430
  | ListClassificationJobsCommandInput
421
431
  | ListClassificationScopesCommandInput
422
432
  | ListCustomDataIdentifiersCommandInput
@@ -451,6 +461,7 @@ export type ServiceInputTypes =
451
461
  export type ServiceOutputTypes =
452
462
  | AcceptInvitationCommandOutput
453
463
  | BatchGetCustomDataIdentifiersCommandOutput
464
+ | BatchUpdateAutomatedDiscoveryAccountsCommandOutput
454
465
  | CreateAllowListCommandOutput
455
466
  | CreateClassificationJobCommandOutput
456
467
  | CreateCustomDataIdentifierCommandOutput
@@ -497,6 +508,7 @@ export type ServiceOutputTypes =
497
508
  | GetUsageStatisticsCommandOutput
498
509
  | GetUsageTotalsCommandOutput
499
510
  | ListAllowListsCommandOutput
511
+ | ListAutomatedDiscoveryAccountsCommandOutput
500
512
  | ListClassificationJobsCommandOutput
501
513
  | ListClassificationScopesCommandOutput
502
514
  | ListCustomDataIdentifiersCommandOutput
@@ -0,0 +1,40 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ Macie2ClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../Macie2Client";
8
+ import {
9
+ BatchUpdateAutomatedDiscoveryAccountsRequest,
10
+ BatchUpdateAutomatedDiscoveryAccountsResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface BatchUpdateAutomatedDiscoveryAccountsCommandInput
15
+ extends BatchUpdateAutomatedDiscoveryAccountsRequest {}
16
+ export interface BatchUpdateAutomatedDiscoveryAccountsCommandOutput
17
+ extends BatchUpdateAutomatedDiscoveryAccountsResponse,
18
+ __MetadataBearer {}
19
+ declare const BatchUpdateAutomatedDiscoveryAccountsCommand_base: {
20
+ new (
21
+ input: BatchUpdateAutomatedDiscoveryAccountsCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ BatchUpdateAutomatedDiscoveryAccountsCommandInput,
24
+ BatchUpdateAutomatedDiscoveryAccountsCommandOutput,
25
+ Macie2ClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ ...[input]: [] | [BatchUpdateAutomatedDiscoveryAccountsCommandInput]
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ BatchUpdateAutomatedDiscoveryAccountsCommandInput,
33
+ BatchUpdateAutomatedDiscoveryAccountsCommandOutput,
34
+ Macie2ClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class BatchUpdateAutomatedDiscoveryAccountsCommand extends BatchUpdateAutomatedDiscoveryAccountsCommand_base {}
@@ -0,0 +1,40 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ Macie2ClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../Macie2Client";
8
+ import {
9
+ ListAutomatedDiscoveryAccountsRequest,
10
+ ListAutomatedDiscoveryAccountsResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface ListAutomatedDiscoveryAccountsCommandInput
15
+ extends ListAutomatedDiscoveryAccountsRequest {}
16
+ export interface ListAutomatedDiscoveryAccountsCommandOutput
17
+ extends ListAutomatedDiscoveryAccountsResponse,
18
+ __MetadataBearer {}
19
+ declare const ListAutomatedDiscoveryAccountsCommand_base: {
20
+ new (
21
+ input: ListAutomatedDiscoveryAccountsCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ ListAutomatedDiscoveryAccountsCommandInput,
24
+ ListAutomatedDiscoveryAccountsCommandOutput,
25
+ Macie2ClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ ...[input]: [] | [ListAutomatedDiscoveryAccountsCommandInput]
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ ListAutomatedDiscoveryAccountsCommandInput,
33
+ ListAutomatedDiscoveryAccountsCommandOutput,
34
+ Macie2ClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class ListAutomatedDiscoveryAccountsCommand extends ListAutomatedDiscoveryAccountsCommand_base {}
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  ListClassificationJobsRequest,
10
10
  ListClassificationJobsResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface ListClassificationJobsCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  ListClassificationScopesRequest,
10
10
  ListClassificationScopesResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface ListClassificationScopesCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  ListCustomDataIdentifiersRequest,
10
10
  ListCustomDataIdentifiersResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface ListCustomDataIdentifiersCommandInput
@@ -5,7 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../Macie2Client";
8
- import { ListFindingsRequest, ListFindingsResponse } from "../models/models_0";
8
+ import { ListFindingsRequest, ListFindingsResponse } from "../models/models_1";
9
9
  export { __MetadataBearer };
10
10
  export { $Command };
11
11
  export interface ListFindingsCommandInput extends ListFindingsRequest {}
@@ -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";