@aws-sdk/client-macie2 3.218.0 → 3.219.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 (155) hide show
  1. package/README.md +1 -1
  2. package/dist-cjs/Macie2.js +195 -0
  3. package/dist-cjs/commands/GetAutomatedDiscoveryConfigurationCommand.js +46 -0
  4. package/dist-cjs/commands/GetClassificationScopeCommand.js +46 -0
  5. package/dist-cjs/commands/GetResourceProfileCommand.js +46 -0
  6. package/dist-cjs/commands/GetSensitivityInspectionTemplateCommand.js +46 -0
  7. package/dist-cjs/commands/ListClassificationScopesCommand.js +46 -0
  8. package/dist-cjs/commands/ListInvitationsCommand.js +3 -3
  9. package/dist-cjs/commands/ListManagedDataIdentifiersCommand.js +3 -3
  10. package/dist-cjs/commands/ListMembersCommand.js +3 -3
  11. package/dist-cjs/commands/ListOrganizationAdminAccountsCommand.js +3 -3
  12. package/dist-cjs/commands/ListResourceProfileArtifactsCommand.js +46 -0
  13. package/dist-cjs/commands/ListResourceProfileDetectionsCommand.js +46 -0
  14. package/dist-cjs/commands/ListSensitivityInspectionTemplatesCommand.js +46 -0
  15. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  16. package/dist-cjs/commands/PutClassificationExportConfigurationCommand.js +3 -3
  17. package/dist-cjs/commands/PutFindingsPublicationConfigurationCommand.js +3 -3
  18. package/dist-cjs/commands/SearchResourcesCommand.js +3 -3
  19. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  20. package/dist-cjs/commands/TestCustomDataIdentifierCommand.js +3 -3
  21. package/dist-cjs/commands/UntagResourceCommand.js +1 -2
  22. package/dist-cjs/commands/UpdateAutomatedDiscoveryConfigurationCommand.js +46 -0
  23. package/dist-cjs/commands/UpdateClassificationScopeCommand.js +46 -0
  24. package/dist-cjs/commands/UpdateResourceProfileCommand.js +46 -0
  25. package/dist-cjs/commands/UpdateResourceProfileDetectionsCommand.js +46 -0
  26. package/dist-cjs/commands/UpdateSensitivityInspectionTemplateCommand.js +46 -0
  27. package/dist-cjs/commands/index.js +13 -0
  28. package/dist-cjs/endpoint/ruleset.js +1 -1
  29. package/dist-cjs/models/models_0.js +113 -109
  30. package/dist-cjs/models/models_1.js +177 -1
  31. package/dist-cjs/pagination/ListAllowListsPaginator.js +36 -0
  32. package/dist-cjs/pagination/ListClassificationScopesPaginator.js +35 -0
  33. package/dist-cjs/pagination/ListManagedDataIdentifiersPaginator.js +35 -0
  34. package/dist-cjs/pagination/ListResourceProfileArtifactsPaginator.js +35 -0
  35. package/dist-cjs/pagination/ListResourceProfileDetectionsPaginator.js +36 -0
  36. package/dist-cjs/pagination/ListSensitivityInspectionTemplatesPaginator.js +36 -0
  37. package/dist-cjs/pagination/index.js +6 -0
  38. package/dist-cjs/protocols/Aws_restJson1.js +1211 -69
  39. package/dist-es/Macie2.js +195 -0
  40. package/dist-es/commands/GetAutomatedDiscoveryConfigurationCommand.js +42 -0
  41. package/dist-es/commands/GetClassificationScopeCommand.js +42 -0
  42. package/dist-es/commands/GetResourceProfileCommand.js +42 -0
  43. package/dist-es/commands/GetSensitivityInspectionTemplateCommand.js +42 -0
  44. package/dist-es/commands/ListClassificationScopesCommand.js +42 -0
  45. package/dist-es/commands/ListInvitationsCommand.js +1 -1
  46. package/dist-es/commands/ListManagedDataIdentifiersCommand.js +1 -1
  47. package/dist-es/commands/ListMembersCommand.js +1 -1
  48. package/dist-es/commands/ListOrganizationAdminAccountsCommand.js +1 -1
  49. package/dist-es/commands/ListResourceProfileArtifactsCommand.js +42 -0
  50. package/dist-es/commands/ListResourceProfileDetectionsCommand.js +42 -0
  51. package/dist-es/commands/ListSensitivityInspectionTemplatesCommand.js +42 -0
  52. package/dist-es/commands/ListTagsForResourceCommand.js +1 -1
  53. package/dist-es/commands/PutClassificationExportConfigurationCommand.js +1 -1
  54. package/dist-es/commands/PutFindingsPublicationConfigurationCommand.js +1 -1
  55. package/dist-es/commands/SearchResourcesCommand.js +1 -1
  56. package/dist-es/commands/TagResourceCommand.js +1 -1
  57. package/dist-es/commands/TestCustomDataIdentifierCommand.js +1 -1
  58. package/dist-es/commands/UntagResourceCommand.js +1 -2
  59. package/dist-es/commands/UpdateAutomatedDiscoveryConfigurationCommand.js +42 -0
  60. package/dist-es/commands/UpdateClassificationScopeCommand.js +42 -0
  61. package/dist-es/commands/UpdateResourceProfileCommand.js +42 -0
  62. package/dist-es/commands/UpdateResourceProfileDetectionsCommand.js +42 -0
  63. package/dist-es/commands/UpdateSensitivityInspectionTemplateCommand.js +42 -0
  64. package/dist-es/commands/index.js +13 -0
  65. package/dist-es/endpoint/ruleset.js +1 -1
  66. package/dist-es/models/models_0.js +85 -79
  67. package/dist-es/models/models_1.js +133 -0
  68. package/dist-es/pagination/ListAllowListsPaginator.js +32 -0
  69. package/dist-es/pagination/ListClassificationScopesPaginator.js +31 -0
  70. package/dist-es/pagination/ListManagedDataIdentifiersPaginator.js +31 -0
  71. package/dist-es/pagination/ListResourceProfileArtifactsPaginator.js +31 -0
  72. package/dist-es/pagination/ListResourceProfileDetectionsPaginator.js +32 -0
  73. package/dist-es/pagination/ListSensitivityInspectionTemplatesPaginator.js +32 -0
  74. package/dist-es/pagination/index.js +6 -0
  75. package/dist-es/protocols/Aws_restJson1.js +1199 -84
  76. package/dist-types/Macie2.d.ts +95 -4
  77. package/dist-types/Macie2Client.d.ts +16 -3
  78. package/dist-types/commands/DescribeBucketsCommand.d.ts +1 -1
  79. package/dist-types/commands/GetAutomatedDiscoveryConfigurationCommand.d.ts +37 -0
  80. package/dist-types/commands/GetBucketStatisticsCommand.d.ts +1 -1
  81. package/dist-types/commands/GetClassificationScopeCommand.d.ts +37 -0
  82. package/dist-types/commands/GetMacieSessionCommand.d.ts +1 -1
  83. package/dist-types/commands/GetResourceProfileCommand.d.ts +37 -0
  84. package/dist-types/commands/GetSensitivityInspectionTemplateCommand.d.ts +37 -0
  85. package/dist-types/commands/ListClassificationScopesCommand.d.ts +37 -0
  86. package/dist-types/commands/ListInvitationsCommand.d.ts +1 -1
  87. package/dist-types/commands/ListManagedDataIdentifiersCommand.d.ts +1 -1
  88. package/dist-types/commands/ListMembersCommand.d.ts +1 -1
  89. package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +1 -1
  90. package/dist-types/commands/ListResourceProfileArtifactsCommand.d.ts +37 -0
  91. package/dist-types/commands/ListResourceProfileDetectionsCommand.d.ts +37 -0
  92. package/dist-types/commands/ListSensitivityInspectionTemplatesCommand.d.ts +37 -0
  93. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  94. package/dist-types/commands/PutClassificationExportConfigurationCommand.d.ts +1 -1
  95. package/dist-types/commands/PutFindingsPublicationConfigurationCommand.d.ts +1 -1
  96. package/dist-types/commands/SearchResourcesCommand.d.ts +1 -1
  97. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  98. package/dist-types/commands/TestCustomDataIdentifierCommand.d.ts +1 -1
  99. package/dist-types/commands/UntagResourceCommand.d.ts +1 -2
  100. package/dist-types/commands/UpdateAutomatedDiscoveryConfigurationCommand.d.ts +37 -0
  101. package/dist-types/commands/UpdateClassificationScopeCommand.d.ts +37 -0
  102. package/dist-types/commands/UpdateResourceProfileCommand.d.ts +37 -0
  103. package/dist-types/commands/UpdateResourceProfileDetectionsCommand.d.ts +37 -0
  104. package/dist-types/commands/UpdateSensitivityInspectionTemplateCommand.d.ts +37 -0
  105. package/dist-types/commands/index.d.ts +13 -0
  106. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  107. package/dist-types/models/models_0.d.ts +501 -372
  108. package/dist-types/models/models_1.d.ts +559 -6
  109. package/dist-types/pagination/ListAllowListsPaginator.d.ts +4 -0
  110. package/dist-types/pagination/ListClassificationScopesPaginator.d.ts +4 -0
  111. package/dist-types/pagination/ListManagedDataIdentifiersPaginator.d.ts +4 -0
  112. package/dist-types/pagination/ListResourceProfileArtifactsPaginator.d.ts +4 -0
  113. package/dist-types/pagination/ListResourceProfileDetectionsPaginator.d.ts +4 -0
  114. package/dist-types/pagination/ListSensitivityInspectionTemplatesPaginator.d.ts +4 -0
  115. package/dist-types/pagination/index.d.ts +6 -0
  116. package/dist-types/protocols/Aws_restJson1.d.ts +39 -0
  117. package/dist-types/ts3.4/Macie2.d.ts +245 -0
  118. package/dist-types/ts3.4/Macie2Client.d.ts +80 -2
  119. package/dist-types/ts3.4/commands/GetAutomatedDiscoveryConfigurationCommand.d.ts +41 -0
  120. package/dist-types/ts3.4/commands/GetClassificationScopeCommand.d.ts +41 -0
  121. package/dist-types/ts3.4/commands/GetResourceProfileCommand.d.ts +38 -0
  122. package/dist-types/ts3.4/commands/GetSensitivityInspectionTemplateCommand.d.ts +41 -0
  123. package/dist-types/ts3.4/commands/ListClassificationScopesCommand.d.ts +41 -0
  124. package/dist-types/ts3.4/commands/ListInvitationsCommand.d.ts +1 -1
  125. package/dist-types/ts3.4/commands/ListManagedDataIdentifiersCommand.d.ts +1 -1
  126. package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +1 -1
  127. package/dist-types/ts3.4/commands/ListOrganizationAdminAccountsCommand.d.ts +1 -1
  128. package/dist-types/ts3.4/commands/ListResourceProfileArtifactsCommand.d.ts +41 -0
  129. package/dist-types/ts3.4/commands/ListResourceProfileDetectionsCommand.d.ts +41 -0
  130. package/dist-types/ts3.4/commands/ListSensitivityInspectionTemplatesCommand.d.ts +41 -0
  131. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  132. package/dist-types/ts3.4/commands/PutClassificationExportConfigurationCommand.d.ts +1 -1
  133. package/dist-types/ts3.4/commands/PutFindingsPublicationConfigurationCommand.d.ts +1 -1
  134. package/dist-types/ts3.4/commands/SearchResourcesCommand.d.ts +1 -1
  135. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  136. package/dist-types/ts3.4/commands/TestCustomDataIdentifierCommand.d.ts +1 -1
  137. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +4 -2
  138. package/dist-types/ts3.4/commands/UpdateAutomatedDiscoveryConfigurationCommand.d.ts +41 -0
  139. package/dist-types/ts3.4/commands/UpdateClassificationScopeCommand.d.ts +41 -0
  140. package/dist-types/ts3.4/commands/UpdateResourceProfileCommand.d.ts +41 -0
  141. package/dist-types/ts3.4/commands/UpdateResourceProfileDetectionsCommand.d.ts +41 -0
  142. package/dist-types/ts3.4/commands/UpdateSensitivityInspectionTemplateCommand.d.ts +41 -0
  143. package/dist-types/ts3.4/commands/index.d.ts +13 -0
  144. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  145. package/dist-types/ts3.4/models/models_0.d.ts +194 -169
  146. package/dist-types/ts3.4/models/models_1.d.ts +297 -1
  147. package/dist-types/ts3.4/pagination/ListAllowListsPaginator.d.ts +11 -0
  148. package/dist-types/ts3.4/pagination/ListClassificationScopesPaginator.d.ts +11 -0
  149. package/dist-types/ts3.4/pagination/ListManagedDataIdentifiersPaginator.d.ts +11 -0
  150. package/dist-types/ts3.4/pagination/ListResourceProfileArtifactsPaginator.d.ts +11 -0
  151. package/dist-types/ts3.4/pagination/ListResourceProfileDetectionsPaginator.d.ts +11 -0
  152. package/dist-types/ts3.4/pagination/ListSensitivityInspectionTemplatesPaginator.d.ts +11 -0
  153. package/dist-types/ts3.4/pagination/index.d.ts +6 -0
  154. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +156 -0
  155. package/package.json +1 -1
@@ -1,4 +1,303 @@
1
- import { AllowListCriteria, FindingCriteria, FindingPublishingFrequency, FindingsFilterAction, JobStatus, MacieStatus, RevealConfiguration } from "./models_0";
1
+ import { AdminAccount, AllowListCriteria, AutomatedDiscoveryStatus, ClassificationExportConfiguration, ClassificationScopeUpdateOperation, Detection, FindingCriteria, FindingPublishingFrequency, FindingsFilterAction, Invitation, JobStatus, MacieStatus, ManagedDataIdentifierSummary, MatchingResource, Member, OrderBy, ResourceProfileArtifact, RevealConfiguration, SearchResourcesCriteria, SecurityHubConfiguration, SensitivityInspectionTemplateExcludes, SensitivityInspectionTemplateIncludes, SensitivityInspectionTemplatesEntry, SuppressDataIdentifier } from "./models_0";
2
+ export interface ListInvitationsRequest {
3
+ /**
4
+ * <p>The maximum number of items to include in each page of a paginated response.</p>
5
+ */
6
+ maxResults?: number;
7
+ /**
8
+ * <p>The nextToken string that specifies which page of results to return in a paginated response.</p>
9
+ */
10
+ nextToken?: string;
11
+ }
12
+ export interface ListInvitationsResponse {
13
+ /**
14
+ * <p>An array of objects, one for each invitation that was received by the account.</p>
15
+ */
16
+ invitations?: Invitation[];
17
+ /**
18
+ * <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>
19
+ */
20
+ nextToken?: string;
21
+ }
22
+ export interface ListManagedDataIdentifiersRequest {
23
+ /**
24
+ * <p>The nextToken string that specifies which page of results to return in a paginated response.</p>
25
+ */
26
+ nextToken?: string;
27
+ }
28
+ export interface ListManagedDataIdentifiersResponse {
29
+ /**
30
+ * <p>An array of objects, one for each managed data identifier.</p>
31
+ */
32
+ items?: ManagedDataIdentifierSummary[];
33
+ /**
34
+ * <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>
35
+ */
36
+ nextToken?: string;
37
+ }
38
+ export interface ListMembersRequest {
39
+ /**
40
+ * <p>The maximum number of items to include in each page of a paginated response.</p>
41
+ */
42
+ maxResults?: number;
43
+ /**
44
+ * <p>The nextToken string that specifies which page of results to return in a paginated response.</p>
45
+ */
46
+ nextToken?: string;
47
+ /**
48
+ * <p>Specifies which accounts to include in the response, based on the status of an account's relationship with the administrator account. By default, the response includes only current member accounts. To include all accounts, set this value to false.</p>
49
+ */
50
+ onlyAssociated?: string;
51
+ }
52
+ export interface ListMembersResponse {
53
+ /**
54
+ * <p>An array of objects, one for each account that's associated with the administrator account and matches the criteria specified in the request.</p>
55
+ */
56
+ members?: Member[];
57
+ /**
58
+ * <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>
59
+ */
60
+ nextToken?: string;
61
+ }
62
+ export interface ListOrganizationAdminAccountsRequest {
63
+ /**
64
+ * <p>The maximum number of items to include in each page of a paginated response.</p>
65
+ */
66
+ maxResults?: number;
67
+ /**
68
+ * <p>The nextToken string that specifies which page of results to return in a paginated response.</p>
69
+ */
70
+ nextToken?: string;
71
+ }
72
+ export interface ListOrganizationAdminAccountsResponse {
73
+ /**
74
+ * <p>An array of objects, one for each delegated Amazon Macie administrator account for the organization. Only one of these accounts can have a status of ENABLED.</p>
75
+ */
76
+ adminAccounts?: AdminAccount[];
77
+ /**
78
+ * <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>
79
+ */
80
+ nextToken?: string;
81
+ }
82
+ export interface ListResourceProfileArtifactsRequest {
83
+ /**
84
+ * <p>The nextToken string that specifies which page of results to return in a paginated response.</p>
85
+ */
86
+ nextToken?: string;
87
+ /**
88
+ * <p>The Amazon Resource Name (ARN) of the S3 bucket that the request applies to.</p>
89
+ */
90
+ resourceArn: string | undefined;
91
+ }
92
+ export interface ListResourceProfileArtifactsResponse {
93
+ /**
94
+ * <p>An array of objects, one for each S3 object that Amazon Macie selected for analysis.</p>
95
+ */
96
+ artifacts?: ResourceProfileArtifact[];
97
+ /**
98
+ * <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>
99
+ */
100
+ nextToken?: string;
101
+ }
102
+ export interface ListResourceProfileDetectionsRequest {
103
+ /**
104
+ * <p>The maximum number of items to include in each page of a paginated response.</p>
105
+ */
106
+ maxResults?: number;
107
+ /**
108
+ * <p>The nextToken string that specifies which page of results to return in a paginated response.</p>
109
+ */
110
+ nextToken?: string;
111
+ /**
112
+ * <p>The Amazon Resource Name (ARN) of the S3 bucket that the request applies to.</p>
113
+ */
114
+ resourceArn: string | undefined;
115
+ }
116
+ export interface ListResourceProfileDetectionsResponse {
117
+ /**
118
+ * <p>An array of objects, one for each type of sensitive data that Amazon Macie found in the bucket. Each object reports the number of occurrences of the specified type and provides information about the custom data identifier or managed data identifier that detected the data.</p>
119
+ */
120
+ detections?: Detection[];
121
+ /**
122
+ * <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>
123
+ */
124
+ nextToken?: string;
125
+ }
126
+ export interface ListSensitivityInspectionTemplatesRequest {
127
+ /**
128
+ * <p>The maximum number of items to include in each page of a paginated response.</p>
129
+ */
130
+ maxResults?: number;
131
+ /**
132
+ * <p>The nextToken string that specifies which page of results to return in a paginated response.</p>
133
+ */
134
+ nextToken?: string;
135
+ }
136
+ export interface ListSensitivityInspectionTemplatesResponse {
137
+ /**
138
+ * <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>
139
+ */
140
+ nextToken?: string;
141
+ /**
142
+ * <p>An array that specifies the unique identifier and name of the sensitivity inspection template for the account.</p>
143
+ */
144
+ sensitivityInspectionTemplates?: SensitivityInspectionTemplatesEntry[];
145
+ }
146
+ export interface ListTagsForResourceRequest {
147
+ /**
148
+ * <p>The Amazon Resource Name (ARN) of the resource.</p>
149
+ */
150
+ resourceArn: string | undefined;
151
+ }
152
+ export interface ListTagsForResourceResponse {
153
+ /**
154
+ * <p>A map of key-value pairs that specifies which tags (keys and values) are associated with the resource.</p>
155
+ */
156
+ tags?: Record<string, string>;
157
+ }
158
+ export interface PutClassificationExportConfigurationRequest {
159
+ /**
160
+ * <p>The location to store data classification results in, and the encryption settings to use when storing results in that location.</p>
161
+ */
162
+ configuration: ClassificationExportConfiguration | undefined;
163
+ }
164
+ export interface PutClassificationExportConfigurationResponse {
165
+ /**
166
+ * <p>The location where the data classification results are stored, and the encryption settings that are used when storing results in that location.</p>
167
+ */
168
+ configuration?: ClassificationExportConfiguration;
169
+ }
170
+ export interface PutFindingsPublicationConfigurationRequest {
171
+ /**
172
+ * <p>A unique, case-sensitive token that you provide to ensure the idempotency of the request.</p>
173
+ */
174
+ clientToken?: string;
175
+ /**
176
+ * <p>The configuration settings that determine which findings to publish to Security Hub.</p>
177
+ */
178
+ securityHubConfiguration?: SecurityHubConfiguration;
179
+ }
180
+ export interface PutFindingsPublicationConfigurationResponse {
181
+ }
182
+ /**
183
+ * <p>Specifies property- and tag-based conditions that define filter criteria for including or excluding Amazon Web Services resources from the query results.</p>
184
+ */
185
+ export interface SearchResourcesCriteriaBlock {
186
+ /**
187
+ * <p>An array of objects, one for each property- or tag-based condition that includes or excludes resources from the query results. If you specify more than one condition, Amazon Macie uses AND logic to join the conditions.</p>
188
+ */
189
+ and?: SearchResourcesCriteria[];
190
+ }
191
+ /**
192
+ * <p>Specifies property- and tag-based conditions that define filter criteria for including or excluding S3 buckets from the query results. Exclude conditions take precedence over include conditions.</p>
193
+ */
194
+ export interface SearchResourcesBucketCriteria {
195
+ /**
196
+ * <p>The property- and tag-based conditions that determine which buckets to exclude from the results.</p>
197
+ */
198
+ excludes?: SearchResourcesCriteriaBlock;
199
+ /**
200
+ * <p>The property- and tag-based conditions that determine which buckets to include in the results.</p>
201
+ */
202
+ includes?: SearchResourcesCriteriaBlock;
203
+ }
204
+ export declare enum SearchResourcesSortAttributeName {
205
+ ACCOUNT_ID = "ACCOUNT_ID",
206
+ RESOURCE_NAME = "RESOURCE_NAME",
207
+ S3_CLASSIFIABLE_OBJECT_COUNT = "S3_CLASSIFIABLE_OBJECT_COUNT",
208
+ S3_CLASSIFIABLE_SIZE_IN_BYTES = "S3_CLASSIFIABLE_SIZE_IN_BYTES"
209
+ }
210
+ /**
211
+ * <p>Specifies criteria for sorting the results of a query for information about Amazon Web Services resources that Amazon Macie monitors and analyzes.</p>
212
+ */
213
+ export interface SearchResourcesSortCriteria {
214
+ /**
215
+ * <p>The property to sort the results by.</p>
216
+ */
217
+ attributeName?: SearchResourcesSortAttributeName | string;
218
+ /**
219
+ * <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>
220
+ */
221
+ orderBy?: OrderBy | string;
222
+ }
223
+ export interface SearchResourcesRequest {
224
+ /**
225
+ * <p>The filter conditions that determine which S3 buckets to include or exclude from the query results.</p>
226
+ */
227
+ bucketCriteria?: SearchResourcesBucketCriteria;
228
+ /**
229
+ * <p>The maximum number of items to include in each page of the response. The default value is 50.</p>
230
+ */
231
+ maxResults?: number;
232
+ /**
233
+ * <p>The nextToken string that specifies which page of results to return in a paginated response.</p>
234
+ */
235
+ nextToken?: string;
236
+ /**
237
+ * <p>The criteria to use to sort the results.</p>
238
+ */
239
+ sortCriteria?: SearchResourcesSortCriteria;
240
+ }
241
+ export interface SearchResourcesResponse {
242
+ /**
243
+ * <p>An array of objects, one for each resource that matches the filter criteria specified in the request.</p>
244
+ */
245
+ matchingResources?: MatchingResource[];
246
+ /**
247
+ * <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>
248
+ */
249
+ nextToken?: string;
250
+ }
251
+ export interface TagResourceRequest {
252
+ /**
253
+ * <p>The Amazon Resource Name (ARN) of the resource.</p>
254
+ */
255
+ resourceArn: string | undefined;
256
+ /**
257
+ * <p>A map of key-value pairs that specifies the tags to associate with the resource.</p> <p>A resource can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.</p>
258
+ */
259
+ tags: Record<string, string> | undefined;
260
+ }
261
+ export interface TagResourceResponse {
262
+ }
263
+ export interface TestCustomDataIdentifierRequest {
264
+ /**
265
+ * <p>An array that lists specific character sequences (<i>ignore words</i>) to exclude from the results. If the text matched by the regular expression contains any string in this array, Amazon Macie ignores it. The array can contain as many as 10 ignore words. Each ignore word can contain 4-90 UTF-8 characters. Ignore words are case sensitive.</p>
266
+ */
267
+ ignoreWords?: string[];
268
+ /**
269
+ * <p>An array that lists specific character sequences (<i>keywords</i>), one of which must precede and be within proximity (maximumMatchDistance) of the regular expression to match. The array can contain as many as 50 keywords. Each keyword can contain 3-90 UTF-8 characters. Keywords aren't case sensitive.</p>
270
+ */
271
+ keywords?: string[];
272
+ /**
273
+ * <p>The maximum number of characters that can exist between the end of at least one complete character sequence specified by the keywords array and the end of the text that matches the regex pattern. If a complete keyword precedes all the text that matches the pattern and the keyword is within the specified distance, Amazon Macie includes the result. The distance can be 1-300 characters. The default value is 50.</p>
274
+ */
275
+ maximumMatchDistance?: number;
276
+ /**
277
+ * <p>The regular expression (<i>regex</i>) that defines the pattern to match. The expression can contain as many as 512 characters.</p>
278
+ */
279
+ regex: string | undefined;
280
+ /**
281
+ * <p>The sample text to inspect by using the custom data identifier. The text can contain as many as 1,000 characters.</p>
282
+ */
283
+ sampleText: string | undefined;
284
+ }
285
+ export interface TestCustomDataIdentifierResponse {
286
+ /**
287
+ * <p>The number of occurrences of sample text that matched the criteria specified by the custom data identifier.</p>
288
+ */
289
+ matchCount?: number;
290
+ }
291
+ export interface UntagResourceRequest {
292
+ /**
293
+ * <p>The Amazon Resource Name (ARN) of the resource.</p>
294
+ */
295
+ resourceArn: string | undefined;
296
+ /**
297
+ * <p>One or more tags (keys) to remove from the resource. In an HTTP request to remove multiple tags, append the tagKeys parameter and argument for each tag to remove, separated by an ampersand (&amp;).</p>
298
+ */
299
+ tagKeys: string[] | undefined;
300
+ }
2
301
  export interface UntagResourceResponse {
3
302
  }
4
303
  export interface UpdateAllowListRequest {
@@ -29,6 +328,14 @@ export interface UpdateAllowListResponse {
29
328
  */
30
329
  id?: string;
31
330
  }
331
+ export interface UpdateAutomatedDiscoveryConfigurationRequest {
332
+ /**
333
+ * <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>
334
+ */
335
+ status: AutomatedDiscoveryStatus | string | undefined;
336
+ }
337
+ export interface UpdateAutomatedDiscoveryConfigurationResponse {
338
+ }
32
339
  export interface UpdateClassificationJobRequest {
33
340
  /**
34
341
  * <p>The unique identifier for the classification job.</p>
@@ -41,11 +348,49 @@ export interface UpdateClassificationJobRequest {
41
348
  }
42
349
  export interface UpdateClassificationJobResponse {
43
350
  }
351
+ /**
352
+ * <p>Specifies S3 buckets to add or remove from the exclusion list defined by the classification scope for an Amazon Macie account.</p>
353
+ */
354
+ export interface S3ClassificationScopeExclusionUpdate {
355
+ /**
356
+ * <p>Depending on the value specified for the update operation (ClassificationScopeUpdateOperation), an array of strings that: lists the names of buckets to add or remove from the list, or specifies a new set of bucket names that overwrites all existing names in the list. Each string must be the full name of an S3 bucket. Values are case sensitive.</p>
357
+ */
358
+ bucketNames: string[] | undefined;
359
+ /**
360
+ * <p>Specifies how to apply the changes to the exclusion list. Valid values are:</p> <ul><li><p>ADD - Append the specified bucket names to the current list.</p></li> <li><p>REMOVE - Remove the specified bucket names from the current list.</p></li> <li><p>REPLACE - Overwrite the current list with the specified list of bucket names. If you specify this value, Amazon Macie removes all existing names from the list and adds all the specified names to the list.</p></li></ul>
361
+ */
362
+ operation: ClassificationScopeUpdateOperation | string | undefined;
363
+ }
364
+ /**
365
+ * <p>Specifies changes to the list of S3 buckets that are excluded from automated sensitive data discovery for an Amazon Macie account.</p>
366
+ */
367
+ export interface S3ClassificationScopeUpdate {
368
+ /**
369
+ * <p>The names of the S3 buckets to add or remove from the list.</p>
370
+ */
371
+ excludes: S3ClassificationScopeExclusionUpdate | undefined;
372
+ }
373
+ export interface UpdateClassificationScopeRequest {
374
+ /**
375
+ * <p>The unique identifier for the Amazon Macie resource that the request applies to.</p>
376
+ */
377
+ id: string | undefined;
378
+ /**
379
+ * <p>The S3 buckets to add or remove from the exclusion list defined by the classification scope.</p>
380
+ */
381
+ s3?: S3ClassificationScopeUpdate;
382
+ }
383
+ export interface UpdateClassificationScopeResponse {
384
+ }
44
385
  export interface UpdateFindingsFilterRequest {
45
386
  /**
46
- * <p>The action to perform on findings that meet the filter criteria (findingCriteria). Valid values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.</p>
387
+ * <p>The action to perform on findings that match the filter criteria (findingCriteria). Valid values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.</p>
47
388
  */
48
389
  action?: FindingsFilterAction | string;
390
+ /**
391
+ * <p>A unique, case-sensitive token that you provide to ensure the idempotency of the request.</p>
392
+ */
393
+ clientToken?: string;
49
394
  /**
50
395
  * <p>A custom description of the filter. The description can contain as many as 512 characters.</p> <p>We strongly recommend that you avoid including any sensitive data in the description of a filter. Other users might be able to see this description, depending on the actions that they're allowed to perform in Amazon Macie.</p>
51
396
  */
@@ -66,10 +411,6 @@ export interface UpdateFindingsFilterRequest {
66
411
  * <p>The position of the filter in the list of saved filters on the Amazon Macie console. This value also determines the order in which the filter is applied to findings, relative to other filters that are also applied to the findings.</p>
67
412
  */
68
413
  position?: number;
69
- /**
70
- * <p>A unique, case-sensitive token that you provide to ensure the idempotency of the request.</p>
71
- */
72
- clientToken?: string;
73
414
  }
74
415
  export interface UpdateFindingsFilterResponse {
75
416
  /**
@@ -113,6 +454,30 @@ export interface UpdateOrganizationConfigurationRequest {
113
454
  }
114
455
  export interface UpdateOrganizationConfigurationResponse {
115
456
  }
457
+ export interface UpdateResourceProfileRequest {
458
+ /**
459
+ * <p>The Amazon Resource Name (ARN) of the S3 bucket that the request applies to.</p>
460
+ */
461
+ resourceArn: string | undefined;
462
+ /**
463
+ * <p>The new sensitivity score for the bucket. Valid values are: 100, assign the maximum score and apply the <i>Sensitive</i> label to the bucket; and, null (empty), assign a score that Amazon Macie calculates automatically after you submit the request.</p>
464
+ */
465
+ sensitivityScoreOverride?: number;
466
+ }
467
+ export interface UpdateResourceProfileResponse {
468
+ }
469
+ export interface UpdateResourceProfileDetectionsRequest {
470
+ /**
471
+ * <p>The Amazon Resource Name (ARN) of the S3 bucket that the request applies to.</p>
472
+ */
473
+ resourceArn: string | undefined;
474
+ /**
475
+ * <p>An array of objects, one for each custom data identifier or managed data identifier that detected the type of sensitive data to start excluding or including in the bucket's score. To start including all sensitive data types in the score, don't specify any values for this array.</p>
476
+ */
477
+ suppressDataIdentifiers?: SuppressDataIdentifier[];
478
+ }
479
+ export interface UpdateResourceProfileDetectionsResponse {
480
+ }
116
481
  export interface UpdateRevealConfigurationRequest {
117
482
  /**
118
483
  * <p>The new configuration settings and the status of the configuration for the account.</p>
@@ -125,6 +490,146 @@ export interface UpdateRevealConfigurationResponse {
125
490
  */
126
491
  configuration?: RevealConfiguration;
127
492
  }
493
+ export interface UpdateSensitivityInspectionTemplateRequest {
494
+ /**
495
+ * <p>A custom description of the template.</p>
496
+ */
497
+ description?: string;
498
+ /**
499
+ * <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>
500
+ */
501
+ excludes?: SensitivityInspectionTemplateExcludes;
502
+ /**
503
+ * <p>The unique identifier for the Amazon Macie resource that the request applies to.</p>
504
+ */
505
+ id: string | undefined;
506
+ /**
507
+ * <p>The allow lists, custom data identifiers, and managed data identifiers to include (use) when analyzing data.</p>
508
+ */
509
+ includes?: SensitivityInspectionTemplateIncludes;
510
+ }
511
+ export interface UpdateSensitivityInspectionTemplateResponse {
512
+ }
513
+ /**
514
+ * @internal
515
+ */
516
+ export declare const ListInvitationsRequestFilterSensitiveLog: (obj: ListInvitationsRequest) => any;
517
+ /**
518
+ * @internal
519
+ */
520
+ export declare const ListInvitationsResponseFilterSensitiveLog: (obj: ListInvitationsResponse) => any;
521
+ /**
522
+ * @internal
523
+ */
524
+ export declare const ListManagedDataIdentifiersRequestFilterSensitiveLog: (obj: ListManagedDataIdentifiersRequest) => any;
525
+ /**
526
+ * @internal
527
+ */
528
+ export declare const ListManagedDataIdentifiersResponseFilterSensitiveLog: (obj: ListManagedDataIdentifiersResponse) => any;
529
+ /**
530
+ * @internal
531
+ */
532
+ export declare const ListMembersRequestFilterSensitiveLog: (obj: ListMembersRequest) => any;
533
+ /**
534
+ * @internal
535
+ */
536
+ export declare const ListMembersResponseFilterSensitiveLog: (obj: ListMembersResponse) => any;
537
+ /**
538
+ * @internal
539
+ */
540
+ export declare const ListOrganizationAdminAccountsRequestFilterSensitiveLog: (obj: ListOrganizationAdminAccountsRequest) => any;
541
+ /**
542
+ * @internal
543
+ */
544
+ export declare const ListOrganizationAdminAccountsResponseFilterSensitiveLog: (obj: ListOrganizationAdminAccountsResponse) => any;
545
+ /**
546
+ * @internal
547
+ */
548
+ export declare const ListResourceProfileArtifactsRequestFilterSensitiveLog: (obj: ListResourceProfileArtifactsRequest) => any;
549
+ /**
550
+ * @internal
551
+ */
552
+ export declare const ListResourceProfileArtifactsResponseFilterSensitiveLog: (obj: ListResourceProfileArtifactsResponse) => any;
553
+ /**
554
+ * @internal
555
+ */
556
+ export declare const ListResourceProfileDetectionsRequestFilterSensitiveLog: (obj: ListResourceProfileDetectionsRequest) => any;
557
+ /**
558
+ * @internal
559
+ */
560
+ export declare const ListResourceProfileDetectionsResponseFilterSensitiveLog: (obj: ListResourceProfileDetectionsResponse) => any;
561
+ /**
562
+ * @internal
563
+ */
564
+ export declare const ListSensitivityInspectionTemplatesRequestFilterSensitiveLog: (obj: ListSensitivityInspectionTemplatesRequest) => any;
565
+ /**
566
+ * @internal
567
+ */
568
+ export declare const ListSensitivityInspectionTemplatesResponseFilterSensitiveLog: (obj: ListSensitivityInspectionTemplatesResponse) => any;
569
+ /**
570
+ * @internal
571
+ */
572
+ export declare const ListTagsForResourceRequestFilterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
573
+ /**
574
+ * @internal
575
+ */
576
+ export declare const ListTagsForResourceResponseFilterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
577
+ /**
578
+ * @internal
579
+ */
580
+ export declare const PutClassificationExportConfigurationRequestFilterSensitiveLog: (obj: PutClassificationExportConfigurationRequest) => any;
581
+ /**
582
+ * @internal
583
+ */
584
+ export declare const PutClassificationExportConfigurationResponseFilterSensitiveLog: (obj: PutClassificationExportConfigurationResponse) => any;
585
+ /**
586
+ * @internal
587
+ */
588
+ export declare const PutFindingsPublicationConfigurationRequestFilterSensitiveLog: (obj: PutFindingsPublicationConfigurationRequest) => any;
589
+ /**
590
+ * @internal
591
+ */
592
+ export declare const PutFindingsPublicationConfigurationResponseFilterSensitiveLog: (obj: PutFindingsPublicationConfigurationResponse) => any;
593
+ /**
594
+ * @internal
595
+ */
596
+ export declare const SearchResourcesCriteriaBlockFilterSensitiveLog: (obj: SearchResourcesCriteriaBlock) => any;
597
+ /**
598
+ * @internal
599
+ */
600
+ export declare const SearchResourcesBucketCriteriaFilterSensitiveLog: (obj: SearchResourcesBucketCriteria) => any;
601
+ /**
602
+ * @internal
603
+ */
604
+ export declare const SearchResourcesSortCriteriaFilterSensitiveLog: (obj: SearchResourcesSortCriteria) => any;
605
+ /**
606
+ * @internal
607
+ */
608
+ export declare const SearchResourcesRequestFilterSensitiveLog: (obj: SearchResourcesRequest) => any;
609
+ /**
610
+ * @internal
611
+ */
612
+ export declare const SearchResourcesResponseFilterSensitiveLog: (obj: SearchResourcesResponse) => any;
613
+ /**
614
+ * @internal
615
+ */
616
+ export declare const TagResourceRequestFilterSensitiveLog: (obj: TagResourceRequest) => any;
617
+ /**
618
+ * @internal
619
+ */
620
+ export declare const TagResourceResponseFilterSensitiveLog: (obj: TagResourceResponse) => any;
621
+ /**
622
+ * @internal
623
+ */
624
+ export declare const TestCustomDataIdentifierRequestFilterSensitiveLog: (obj: TestCustomDataIdentifierRequest) => any;
625
+ /**
626
+ * @internal
627
+ */
628
+ export declare const TestCustomDataIdentifierResponseFilterSensitiveLog: (obj: TestCustomDataIdentifierResponse) => any;
629
+ /**
630
+ * @internal
631
+ */
632
+ export declare const UntagResourceRequestFilterSensitiveLog: (obj: UntagResourceRequest) => any;
128
633
  /**
129
634
  * @internal
130
635
  */
@@ -137,6 +642,14 @@ export declare const UpdateAllowListRequestFilterSensitiveLog: (obj: UpdateAllow
137
642
  * @internal
138
643
  */
139
644
  export declare const UpdateAllowListResponseFilterSensitiveLog: (obj: UpdateAllowListResponse) => any;
645
+ /**
646
+ * @internal
647
+ */
648
+ export declare const UpdateAutomatedDiscoveryConfigurationRequestFilterSensitiveLog: (obj: UpdateAutomatedDiscoveryConfigurationRequest) => any;
649
+ /**
650
+ * @internal
651
+ */
652
+ export declare const UpdateAutomatedDiscoveryConfigurationResponseFilterSensitiveLog: (obj: UpdateAutomatedDiscoveryConfigurationResponse) => any;
140
653
  /**
141
654
  * @internal
142
655
  */
@@ -145,6 +658,22 @@ export declare const UpdateClassificationJobRequestFilterSensitiveLog: (obj: Upd
145
658
  * @internal
146
659
  */
147
660
  export declare const UpdateClassificationJobResponseFilterSensitiveLog: (obj: UpdateClassificationJobResponse) => any;
661
+ /**
662
+ * @internal
663
+ */
664
+ export declare const S3ClassificationScopeExclusionUpdateFilterSensitiveLog: (obj: S3ClassificationScopeExclusionUpdate) => any;
665
+ /**
666
+ * @internal
667
+ */
668
+ export declare const S3ClassificationScopeUpdateFilterSensitiveLog: (obj: S3ClassificationScopeUpdate) => any;
669
+ /**
670
+ * @internal
671
+ */
672
+ export declare const UpdateClassificationScopeRequestFilterSensitiveLog: (obj: UpdateClassificationScopeRequest) => any;
673
+ /**
674
+ * @internal
675
+ */
676
+ export declare const UpdateClassificationScopeResponseFilterSensitiveLog: (obj: UpdateClassificationScopeResponse) => any;
148
677
  /**
149
678
  * @internal
150
679
  */
@@ -177,6 +706,22 @@ export declare const UpdateOrganizationConfigurationRequestFilterSensitiveLog: (
177
706
  * @internal
178
707
  */
179
708
  export declare const UpdateOrganizationConfigurationResponseFilterSensitiveLog: (obj: UpdateOrganizationConfigurationResponse) => any;
709
+ /**
710
+ * @internal
711
+ */
712
+ export declare const UpdateResourceProfileRequestFilterSensitiveLog: (obj: UpdateResourceProfileRequest) => any;
713
+ /**
714
+ * @internal
715
+ */
716
+ export declare const UpdateResourceProfileResponseFilterSensitiveLog: (obj: UpdateResourceProfileResponse) => any;
717
+ /**
718
+ * @internal
719
+ */
720
+ export declare const UpdateResourceProfileDetectionsRequestFilterSensitiveLog: (obj: UpdateResourceProfileDetectionsRequest) => any;
721
+ /**
722
+ * @internal
723
+ */
724
+ export declare const UpdateResourceProfileDetectionsResponseFilterSensitiveLog: (obj: UpdateResourceProfileDetectionsResponse) => any;
180
725
  /**
181
726
  * @internal
182
727
  */
@@ -185,3 +730,11 @@ export declare const UpdateRevealConfigurationRequestFilterSensitiveLog: (obj: U
185
730
  * @internal
186
731
  */
187
732
  export declare const UpdateRevealConfigurationResponseFilterSensitiveLog: (obj: UpdateRevealConfigurationResponse) => any;
733
+ /**
734
+ * @internal
735
+ */
736
+ export declare const UpdateSensitivityInspectionTemplateRequestFilterSensitiveLog: (obj: UpdateSensitivityInspectionTemplateRequest) => any;
737
+ /**
738
+ * @internal
739
+ */
740
+ export declare const UpdateSensitivityInspectionTemplateResponseFilterSensitiveLog: (obj: UpdateSensitivityInspectionTemplateResponse) => any;
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListAllowListsCommandInput, ListAllowListsCommandOutput } from "../commands/ListAllowListsCommand";
3
+ import { Macie2PaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListAllowLists(config: Macie2PaginationConfiguration, input: ListAllowListsCommandInput, ...additionalArguments: any): Paginator<ListAllowListsCommandOutput>;
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListClassificationScopesCommandInput, ListClassificationScopesCommandOutput } from "../commands/ListClassificationScopesCommand";
3
+ import { Macie2PaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListClassificationScopes(config: Macie2PaginationConfiguration, input: ListClassificationScopesCommandInput, ...additionalArguments: any): Paginator<ListClassificationScopesCommandOutput>;
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListManagedDataIdentifiersCommandInput, ListManagedDataIdentifiersCommandOutput } from "../commands/ListManagedDataIdentifiersCommand";
3
+ import { Macie2PaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListManagedDataIdentifiers(config: Macie2PaginationConfiguration, input: ListManagedDataIdentifiersCommandInput, ...additionalArguments: any): Paginator<ListManagedDataIdentifiersCommandOutput>;
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListResourceProfileArtifactsCommandInput, ListResourceProfileArtifactsCommandOutput } from "../commands/ListResourceProfileArtifactsCommand";
3
+ import { Macie2PaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListResourceProfileArtifacts(config: Macie2PaginationConfiguration, input: ListResourceProfileArtifactsCommandInput, ...additionalArguments: any): Paginator<ListResourceProfileArtifactsCommandOutput>;
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListResourceProfileDetectionsCommandInput, ListResourceProfileDetectionsCommandOutput } from "../commands/ListResourceProfileDetectionsCommand";
3
+ import { Macie2PaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListResourceProfileDetections(config: Macie2PaginationConfiguration, input: ListResourceProfileDetectionsCommandInput, ...additionalArguments: any): Paginator<ListResourceProfileDetectionsCommandOutput>;
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListSensitivityInspectionTemplatesCommandInput, ListSensitivityInspectionTemplatesCommandOutput } from "../commands/ListSensitivityInspectionTemplatesCommand";
3
+ import { Macie2PaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListSensitivityInspectionTemplates(config: Macie2PaginationConfiguration, input: ListSensitivityInspectionTemplatesCommandInput, ...additionalArguments: any): Paginator<ListSensitivityInspectionTemplatesCommandOutput>;