@aws-sdk/client-macie2 3.687.0 → 3.691.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/models/models_0.d.ts +632 -632
- package/dist-types/models/models_1.d.ts +98 -98
- package/dist-types/ts3.4/models/models_0.d.ts +640 -632
- package/dist-types/ts3.4/models/models_1.d.ts +100 -98
- package/package.json +7 -7
|
@@ -34,8 +34,8 @@ import {
|
|
|
34
34
|
SuppressDataIdentifier,
|
|
35
35
|
} from "./models_0";
|
|
36
36
|
export interface ListJobsFilterCriteria {
|
|
37
|
-
excludes?: ListJobsFilterTerm[];
|
|
38
|
-
includes?: ListJobsFilterTerm[];
|
|
37
|
+
excludes?: ListJobsFilterTerm[] | undefined;
|
|
38
|
+
includes?: ListJobsFilterTerm[] | undefined;
|
|
39
39
|
}
|
|
40
40
|
export declare const ListJobsSortAttributeName: {
|
|
41
41
|
readonly createdAt: "createdAt";
|
|
@@ -46,133 +46,135 @@ export declare const ListJobsSortAttributeName: {
|
|
|
46
46
|
export type ListJobsSortAttributeName =
|
|
47
47
|
(typeof ListJobsSortAttributeName)[keyof typeof ListJobsSortAttributeName];
|
|
48
48
|
export interface ListJobsSortCriteria {
|
|
49
|
-
attributeName?: ListJobsSortAttributeName;
|
|
50
|
-
orderBy?: OrderBy;
|
|
49
|
+
attributeName?: ListJobsSortAttributeName | undefined;
|
|
50
|
+
orderBy?: OrderBy | undefined;
|
|
51
51
|
}
|
|
52
52
|
export interface ListClassificationJobsRequest {
|
|
53
|
-
filterCriteria?: ListJobsFilterCriteria;
|
|
54
|
-
maxResults?: number;
|
|
55
|
-
nextToken?: string;
|
|
56
|
-
sortCriteria?: ListJobsSortCriteria;
|
|
53
|
+
filterCriteria?: ListJobsFilterCriteria | undefined;
|
|
54
|
+
maxResults?: number | undefined;
|
|
55
|
+
nextToken?: string | undefined;
|
|
56
|
+
sortCriteria?: ListJobsSortCriteria | undefined;
|
|
57
57
|
}
|
|
58
58
|
export interface ListClassificationJobsResponse {
|
|
59
|
-
items?: JobSummary[];
|
|
60
|
-
nextToken?: string;
|
|
59
|
+
items?: JobSummary[] | undefined;
|
|
60
|
+
nextToken?: string | undefined;
|
|
61
61
|
}
|
|
62
62
|
export interface ListClassificationScopesRequest {
|
|
63
|
-
name?: string;
|
|
64
|
-
nextToken?: string;
|
|
63
|
+
name?: string | undefined;
|
|
64
|
+
nextToken?: string | undefined;
|
|
65
65
|
}
|
|
66
66
|
export interface ListClassificationScopesResponse {
|
|
67
|
-
classificationScopes?: ClassificationScopeSummary[];
|
|
68
|
-
nextToken?: string;
|
|
67
|
+
classificationScopes?: ClassificationScopeSummary[] | undefined;
|
|
68
|
+
nextToken?: string | undefined;
|
|
69
69
|
}
|
|
70
70
|
export interface ListCustomDataIdentifiersRequest {
|
|
71
|
-
maxResults?: number;
|
|
72
|
-
nextToken?: string;
|
|
71
|
+
maxResults?: number | undefined;
|
|
72
|
+
nextToken?: string | undefined;
|
|
73
73
|
}
|
|
74
74
|
export interface ListCustomDataIdentifiersResponse {
|
|
75
|
-
items?: CustomDataIdentifierSummary[];
|
|
76
|
-
nextToken?: string;
|
|
75
|
+
items?: CustomDataIdentifierSummary[] | undefined;
|
|
76
|
+
nextToken?: string | undefined;
|
|
77
77
|
}
|
|
78
78
|
export interface ListFindingsRequest {
|
|
79
|
-
findingCriteria?: FindingCriteria;
|
|
80
|
-
maxResults?: number;
|
|
81
|
-
nextToken?: string;
|
|
82
|
-
sortCriteria?: SortCriteria;
|
|
79
|
+
findingCriteria?: FindingCriteria | undefined;
|
|
80
|
+
maxResults?: number | undefined;
|
|
81
|
+
nextToken?: string | undefined;
|
|
82
|
+
sortCriteria?: SortCriteria | undefined;
|
|
83
83
|
}
|
|
84
84
|
export interface ListFindingsResponse {
|
|
85
|
-
findingIds?: string[];
|
|
86
|
-
nextToken?: string;
|
|
85
|
+
findingIds?: string[] | undefined;
|
|
86
|
+
nextToken?: string | undefined;
|
|
87
87
|
}
|
|
88
88
|
export interface ListFindingsFiltersRequest {
|
|
89
|
-
maxResults?: number;
|
|
90
|
-
nextToken?: string;
|
|
89
|
+
maxResults?: number | undefined;
|
|
90
|
+
nextToken?: string | undefined;
|
|
91
91
|
}
|
|
92
92
|
export interface ListFindingsFiltersResponse {
|
|
93
|
-
findingsFilterListItems?: FindingsFilterListItem[];
|
|
94
|
-
nextToken?: string;
|
|
93
|
+
findingsFilterListItems?: FindingsFilterListItem[] | undefined;
|
|
94
|
+
nextToken?: string | undefined;
|
|
95
95
|
}
|
|
96
96
|
export interface ListInvitationsRequest {
|
|
97
|
-
maxResults?: number;
|
|
98
|
-
nextToken?: string;
|
|
97
|
+
maxResults?: number | undefined;
|
|
98
|
+
nextToken?: string | undefined;
|
|
99
99
|
}
|
|
100
100
|
export interface ListInvitationsResponse {
|
|
101
|
-
invitations?: Invitation[];
|
|
102
|
-
nextToken?: string;
|
|
101
|
+
invitations?: Invitation[] | undefined;
|
|
102
|
+
nextToken?: string | undefined;
|
|
103
103
|
}
|
|
104
104
|
export interface ListManagedDataIdentifiersRequest {
|
|
105
|
-
nextToken?: string;
|
|
105
|
+
nextToken?: string | undefined;
|
|
106
106
|
}
|
|
107
107
|
export interface ListManagedDataIdentifiersResponse {
|
|
108
|
-
items?: ManagedDataIdentifierSummary[];
|
|
109
|
-
nextToken?: string;
|
|
108
|
+
items?: ManagedDataIdentifierSummary[] | undefined;
|
|
109
|
+
nextToken?: string | undefined;
|
|
110
110
|
}
|
|
111
111
|
export interface ListMembersRequest {
|
|
112
|
-
maxResults?: number;
|
|
113
|
-
nextToken?: string;
|
|
114
|
-
onlyAssociated?: string;
|
|
112
|
+
maxResults?: number | undefined;
|
|
113
|
+
nextToken?: string | undefined;
|
|
114
|
+
onlyAssociated?: string | undefined;
|
|
115
115
|
}
|
|
116
116
|
export interface ListMembersResponse {
|
|
117
|
-
members?: Member[];
|
|
118
|
-
nextToken?: string;
|
|
117
|
+
members?: Member[] | undefined;
|
|
118
|
+
nextToken?: string | undefined;
|
|
119
119
|
}
|
|
120
120
|
export interface ListOrganizationAdminAccountsRequest {
|
|
121
|
-
maxResults?: number;
|
|
122
|
-
nextToken?: string;
|
|
121
|
+
maxResults?: number | undefined;
|
|
122
|
+
nextToken?: string | undefined;
|
|
123
123
|
}
|
|
124
124
|
export interface ListOrganizationAdminAccountsResponse {
|
|
125
|
-
adminAccounts?: AdminAccount[];
|
|
126
|
-
nextToken?: string;
|
|
125
|
+
adminAccounts?: AdminAccount[] | undefined;
|
|
126
|
+
nextToken?: string | undefined;
|
|
127
127
|
}
|
|
128
128
|
export interface ListResourceProfileArtifactsRequest {
|
|
129
|
-
nextToken?: string;
|
|
129
|
+
nextToken?: string | undefined;
|
|
130
130
|
resourceArn: string | undefined;
|
|
131
131
|
}
|
|
132
132
|
export interface ListResourceProfileArtifactsResponse {
|
|
133
|
-
artifacts?: ResourceProfileArtifact[];
|
|
134
|
-
nextToken?: string;
|
|
133
|
+
artifacts?: ResourceProfileArtifact[] | undefined;
|
|
134
|
+
nextToken?: string | undefined;
|
|
135
135
|
}
|
|
136
136
|
export interface ListResourceProfileDetectionsRequest {
|
|
137
|
-
maxResults?: number;
|
|
138
|
-
nextToken?: string;
|
|
137
|
+
maxResults?: number | undefined;
|
|
138
|
+
nextToken?: string | undefined;
|
|
139
139
|
resourceArn: string | undefined;
|
|
140
140
|
}
|
|
141
141
|
export interface ListResourceProfileDetectionsResponse {
|
|
142
|
-
detections?: Detection[];
|
|
143
|
-
nextToken?: string;
|
|
142
|
+
detections?: Detection[] | undefined;
|
|
143
|
+
nextToken?: string | undefined;
|
|
144
144
|
}
|
|
145
145
|
export interface ListSensitivityInspectionTemplatesRequest {
|
|
146
|
-
maxResults?: number;
|
|
147
|
-
nextToken?: string;
|
|
146
|
+
maxResults?: number | undefined;
|
|
147
|
+
nextToken?: string | undefined;
|
|
148
148
|
}
|
|
149
149
|
export interface ListSensitivityInspectionTemplatesResponse {
|
|
150
|
-
nextToken?: string;
|
|
151
|
-
sensitivityInspectionTemplates?:
|
|
150
|
+
nextToken?: string | undefined;
|
|
151
|
+
sensitivityInspectionTemplates?:
|
|
152
|
+
| SensitivityInspectionTemplatesEntry[]
|
|
153
|
+
| undefined;
|
|
152
154
|
}
|
|
153
155
|
export interface ListTagsForResourceRequest {
|
|
154
156
|
resourceArn: string | undefined;
|
|
155
157
|
}
|
|
156
158
|
export interface ListTagsForResourceResponse {
|
|
157
|
-
tags?: Record<string, string
|
|
159
|
+
tags?: Record<string, string> | undefined;
|
|
158
160
|
}
|
|
159
161
|
export interface PutClassificationExportConfigurationRequest {
|
|
160
162
|
configuration: ClassificationExportConfiguration | undefined;
|
|
161
163
|
}
|
|
162
164
|
export interface PutClassificationExportConfigurationResponse {
|
|
163
|
-
configuration?: ClassificationExportConfiguration;
|
|
165
|
+
configuration?: ClassificationExportConfiguration | undefined;
|
|
164
166
|
}
|
|
165
167
|
export interface PutFindingsPublicationConfigurationRequest {
|
|
166
|
-
clientToken?: string;
|
|
167
|
-
securityHubConfiguration?: SecurityHubConfiguration;
|
|
168
|
+
clientToken?: string | undefined;
|
|
169
|
+
securityHubConfiguration?: SecurityHubConfiguration | undefined;
|
|
168
170
|
}
|
|
169
171
|
export interface PutFindingsPublicationConfigurationResponse {}
|
|
170
172
|
export interface SearchResourcesCriteriaBlock {
|
|
171
|
-
and?: SearchResourcesCriteria[];
|
|
173
|
+
and?: SearchResourcesCriteria[] | undefined;
|
|
172
174
|
}
|
|
173
175
|
export interface SearchResourcesBucketCriteria {
|
|
174
|
-
excludes?: SearchResourcesCriteriaBlock;
|
|
175
|
-
includes?: SearchResourcesCriteriaBlock;
|
|
176
|
+
excludes?: SearchResourcesCriteriaBlock | undefined;
|
|
177
|
+
includes?: SearchResourcesCriteriaBlock | undefined;
|
|
176
178
|
}
|
|
177
179
|
export declare const SearchResourcesSortAttributeName: {
|
|
178
180
|
readonly ACCOUNT_ID: "ACCOUNT_ID";
|
|
@@ -183,18 +185,18 @@ export declare const SearchResourcesSortAttributeName: {
|
|
|
183
185
|
export type SearchResourcesSortAttributeName =
|
|
184
186
|
(typeof SearchResourcesSortAttributeName)[keyof typeof SearchResourcesSortAttributeName];
|
|
185
187
|
export interface SearchResourcesSortCriteria {
|
|
186
|
-
attributeName?: SearchResourcesSortAttributeName;
|
|
187
|
-
orderBy?: OrderBy;
|
|
188
|
+
attributeName?: SearchResourcesSortAttributeName | undefined;
|
|
189
|
+
orderBy?: OrderBy | undefined;
|
|
188
190
|
}
|
|
189
191
|
export interface SearchResourcesRequest {
|
|
190
|
-
bucketCriteria?: SearchResourcesBucketCriteria;
|
|
191
|
-
maxResults?: number;
|
|
192
|
-
nextToken?: string;
|
|
193
|
-
sortCriteria?: SearchResourcesSortCriteria;
|
|
192
|
+
bucketCriteria?: SearchResourcesBucketCriteria | undefined;
|
|
193
|
+
maxResults?: number | undefined;
|
|
194
|
+
nextToken?: string | undefined;
|
|
195
|
+
sortCriteria?: SearchResourcesSortCriteria | undefined;
|
|
194
196
|
}
|
|
195
197
|
export interface SearchResourcesResponse {
|
|
196
|
-
matchingResources?: MatchingResource[];
|
|
197
|
-
nextToken?: string;
|
|
198
|
+
matchingResources?: MatchingResource[] | undefined;
|
|
199
|
+
nextToken?: string | undefined;
|
|
198
200
|
}
|
|
199
201
|
export interface TagResourceRequest {
|
|
200
202
|
resourceArn: string | undefined;
|
|
@@ -202,14 +204,14 @@ export interface TagResourceRequest {
|
|
|
202
204
|
}
|
|
203
205
|
export interface TagResourceResponse {}
|
|
204
206
|
export interface TestCustomDataIdentifierRequest {
|
|
205
|
-
ignoreWords?: string[];
|
|
206
|
-
keywords?: string[];
|
|
207
|
-
maximumMatchDistance?: number;
|
|
207
|
+
ignoreWords?: string[] | undefined;
|
|
208
|
+
keywords?: string[] | undefined;
|
|
209
|
+
maximumMatchDistance?: number | undefined;
|
|
208
210
|
regex: string | undefined;
|
|
209
211
|
sampleText: string | undefined;
|
|
210
212
|
}
|
|
211
213
|
export interface TestCustomDataIdentifierResponse {
|
|
212
|
-
matchCount?: number;
|
|
214
|
+
matchCount?: number | undefined;
|
|
213
215
|
}
|
|
214
216
|
export interface UntagResourceRequest {
|
|
215
217
|
resourceArn: string | undefined;
|
|
@@ -218,16 +220,16 @@ export interface UntagResourceRequest {
|
|
|
218
220
|
export interface UntagResourceResponse {}
|
|
219
221
|
export interface UpdateAllowListRequest {
|
|
220
222
|
criteria: AllowListCriteria | undefined;
|
|
221
|
-
description?: string;
|
|
223
|
+
description?: string | undefined;
|
|
222
224
|
id: string | undefined;
|
|
223
225
|
name: string | undefined;
|
|
224
226
|
}
|
|
225
227
|
export interface UpdateAllowListResponse {
|
|
226
|
-
arn?: string;
|
|
227
|
-
id?: string;
|
|
228
|
+
arn?: string | undefined;
|
|
229
|
+
id?: string | undefined;
|
|
228
230
|
}
|
|
229
231
|
export interface UpdateAutomatedDiscoveryConfigurationRequest {
|
|
230
|
-
autoEnableOrganizationMembers?: AutoEnableMode;
|
|
232
|
+
autoEnableOrganizationMembers?: AutoEnableMode | undefined;
|
|
231
233
|
status: AutomatedDiscoveryStatus | undefined;
|
|
232
234
|
}
|
|
233
235
|
export interface UpdateAutomatedDiscoveryConfigurationResponse {}
|
|
@@ -245,25 +247,25 @@ export interface S3ClassificationScopeUpdate {
|
|
|
245
247
|
}
|
|
246
248
|
export interface UpdateClassificationScopeRequest {
|
|
247
249
|
id: string | undefined;
|
|
248
|
-
s3?: S3ClassificationScopeUpdate;
|
|
250
|
+
s3?: S3ClassificationScopeUpdate | undefined;
|
|
249
251
|
}
|
|
250
252
|
export interface UpdateClassificationScopeResponse {}
|
|
251
253
|
export interface UpdateFindingsFilterRequest {
|
|
252
|
-
action?: FindingsFilterAction;
|
|
253
|
-
clientToken?: string;
|
|
254
|
-
description?: string;
|
|
255
|
-
findingCriteria?: FindingCriteria;
|
|
254
|
+
action?: FindingsFilterAction | undefined;
|
|
255
|
+
clientToken?: string | undefined;
|
|
256
|
+
description?: string | undefined;
|
|
257
|
+
findingCriteria?: FindingCriteria | undefined;
|
|
256
258
|
id: string | undefined;
|
|
257
|
-
name?: string;
|
|
258
|
-
position?: number;
|
|
259
|
+
name?: string | undefined;
|
|
260
|
+
position?: number | undefined;
|
|
259
261
|
}
|
|
260
262
|
export interface UpdateFindingsFilterResponse {
|
|
261
|
-
arn?: string;
|
|
262
|
-
id?: string;
|
|
263
|
+
arn?: string | undefined;
|
|
264
|
+
id?: string | undefined;
|
|
263
265
|
}
|
|
264
266
|
export interface UpdateMacieSessionRequest {
|
|
265
|
-
findingPublishingFrequency?: FindingPublishingFrequency;
|
|
266
|
-
status?: MacieStatus;
|
|
267
|
+
findingPublishingFrequency?: FindingPublishingFrequency | undefined;
|
|
268
|
+
status?: MacieStatus | undefined;
|
|
267
269
|
}
|
|
268
270
|
export interface UpdateMacieSessionResponse {}
|
|
269
271
|
export interface UpdateMemberSessionRequest {
|
|
@@ -277,30 +279,30 @@ export interface UpdateOrganizationConfigurationRequest {
|
|
|
277
279
|
export interface UpdateOrganizationConfigurationResponse {}
|
|
278
280
|
export interface UpdateResourceProfileRequest {
|
|
279
281
|
resourceArn: string | undefined;
|
|
280
|
-
sensitivityScoreOverride?: number;
|
|
282
|
+
sensitivityScoreOverride?: number | undefined;
|
|
281
283
|
}
|
|
282
284
|
export interface UpdateResourceProfileResponse {}
|
|
283
285
|
export interface UpdateResourceProfileDetectionsRequest {
|
|
284
286
|
resourceArn: string | undefined;
|
|
285
|
-
suppressDataIdentifiers?: SuppressDataIdentifier[];
|
|
287
|
+
suppressDataIdentifiers?: SuppressDataIdentifier[] | undefined;
|
|
286
288
|
}
|
|
287
289
|
export interface UpdateResourceProfileDetectionsResponse {}
|
|
288
290
|
export interface UpdateRetrievalConfiguration {
|
|
289
291
|
retrievalMode: RetrievalMode | undefined;
|
|
290
|
-
roleName?: string;
|
|
292
|
+
roleName?: string | undefined;
|
|
291
293
|
}
|
|
292
294
|
export interface UpdateRevealConfigurationRequest {
|
|
293
295
|
configuration: RevealConfiguration | undefined;
|
|
294
|
-
retrievalConfiguration?: UpdateRetrievalConfiguration;
|
|
296
|
+
retrievalConfiguration?: UpdateRetrievalConfiguration | undefined;
|
|
295
297
|
}
|
|
296
298
|
export interface UpdateRevealConfigurationResponse {
|
|
297
|
-
configuration?: RevealConfiguration;
|
|
298
|
-
retrievalConfiguration?: RetrievalConfiguration;
|
|
299
|
+
configuration?: RevealConfiguration | undefined;
|
|
300
|
+
retrievalConfiguration?: RetrievalConfiguration | undefined;
|
|
299
301
|
}
|
|
300
302
|
export interface UpdateSensitivityInspectionTemplateRequest {
|
|
301
|
-
description?: string;
|
|
302
|
-
excludes?: SensitivityInspectionTemplateExcludes;
|
|
303
|
+
description?: string | undefined;
|
|
304
|
+
excludes?: SensitivityInspectionTemplateExcludes | undefined;
|
|
303
305
|
id: string | undefined;
|
|
304
|
-
includes?: SensitivityInspectionTemplateIncludes;
|
|
306
|
+
includes?: SensitivityInspectionTemplateIncludes | undefined;
|
|
305
307
|
}
|
|
306
308
|
export interface UpdateSensitivityInspectionTemplateResponse {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-macie2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Macie2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.691.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-macie2",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.691.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.691.0",
|
|
25
|
+
"@aws-sdk/core": "3.691.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.691.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.686.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.686.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.686.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.691.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.686.0",
|
|
32
32
|
"@aws-sdk/types": "3.686.0",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.686.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.686.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.691.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.10",
|
|
37
37
|
"@smithy/core": "^2.5.1",
|
|
38
38
|
"@smithy/fetch-http-handler": "^4.0.0",
|