@aws-sdk/client-accessanalyzer 3.49.0 → 3.50.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/CHANGELOG.md +8 -0
- package/package.json +25 -25
- package/dist-types/ts3.4/AccessAnalyzer.d.ts +0 -145
- package/dist-types/ts3.4/AccessAnalyzerClient.d.ts +0 -101
- package/dist-types/ts3.4/commands/ApplyArchiveRuleCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/CancelPolicyGenerationCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/CreateAccessPreviewCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/CreateAnalyzerCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/CreateArchiveRuleCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DeleteAnalyzerCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DeleteArchiveRuleCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/GetAccessPreviewCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/GetAnalyzedResourceCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/GetAnalyzerCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/GetArchiveRuleCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/GetFindingCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/GetGeneratedPolicyCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListAccessPreviewFindingsCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListAccessPreviewsCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListAnalyzedResourcesCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListAnalyzersCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListArchiveRulesCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListPolicyGenerationsCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/StartPolicyGenerationCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/StartResourceScanCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/UpdateArchiveRuleCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/UpdateFindingsCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ValidatePolicyCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/index.d.ts +0 -28
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/index.d.ts +0 -5
- package/dist-types/ts3.4/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/models_0.d.ts +0 -1590
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +0 -6
- package/dist-types/ts3.4/pagination/ListAccessPreviewFindingsPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListAccessPreviewsPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListAnalyzedResourcesPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListAnalyzersPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListArchiveRulesPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListFindingsPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListPolicyGenerationsPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ValidatePolicyPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/index.d.ts +0 -9
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -86
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +0 -38
- package/dist-types/ts3.4/runtimeConfig.d.ts +0 -38
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +0 -37
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +0 -11
|
@@ -1,1590 +0,0 @@
|
|
|
1
|
-
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
|
|
4
|
-
name: "AccessDeniedException";
|
|
5
|
-
$fault: "client";
|
|
6
|
-
message: string | undefined;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
10
|
-
name: "ConflictException";
|
|
11
|
-
$fault: "client";
|
|
12
|
-
message: string | undefined;
|
|
13
|
-
|
|
14
|
-
resourceId: string | undefined;
|
|
15
|
-
|
|
16
|
-
resourceType: string | undefined;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export interface Criterion {
|
|
20
|
-
|
|
21
|
-
eq?: string[];
|
|
22
|
-
|
|
23
|
-
neq?: string[];
|
|
24
|
-
|
|
25
|
-
contains?: string[];
|
|
26
|
-
|
|
27
|
-
exists?: boolean;
|
|
28
|
-
}
|
|
29
|
-
export declare namespace Criterion {
|
|
30
|
-
|
|
31
|
-
const filterSensitiveLog: (obj: Criterion) => any;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
export interface CreateArchiveRuleRequest {
|
|
35
|
-
|
|
36
|
-
analyzerName: string | undefined;
|
|
37
|
-
|
|
38
|
-
ruleName: string | undefined;
|
|
39
|
-
|
|
40
|
-
filter: {
|
|
41
|
-
[key: string]: Criterion;
|
|
42
|
-
} | undefined;
|
|
43
|
-
|
|
44
|
-
clientToken?: string;
|
|
45
|
-
}
|
|
46
|
-
export declare namespace CreateArchiveRuleRequest {
|
|
47
|
-
|
|
48
|
-
const filterSensitiveLog: (obj: CreateArchiveRuleRequest) => any;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export interface InternalServerException extends __SmithyException, $MetadataBearer {
|
|
52
|
-
name: "InternalServerException";
|
|
53
|
-
$fault: "server";
|
|
54
|
-
$retryable: {};
|
|
55
|
-
message: string | undefined;
|
|
56
|
-
|
|
57
|
-
retryAfterSeconds?: number;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
|
|
61
|
-
name: "ResourceNotFoundException";
|
|
62
|
-
$fault: "client";
|
|
63
|
-
message: string | undefined;
|
|
64
|
-
|
|
65
|
-
resourceId: string | undefined;
|
|
66
|
-
|
|
67
|
-
resourceType: string | undefined;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
|
|
71
|
-
name: "ServiceQuotaExceededException";
|
|
72
|
-
$fault: "client";
|
|
73
|
-
message: string | undefined;
|
|
74
|
-
|
|
75
|
-
resourceId: string | undefined;
|
|
76
|
-
|
|
77
|
-
resourceType: string | undefined;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
export interface ThrottlingException extends __SmithyException, $MetadataBearer {
|
|
81
|
-
name: "ThrottlingException";
|
|
82
|
-
$fault: "client";
|
|
83
|
-
$retryable: {
|
|
84
|
-
throttling: true;
|
|
85
|
-
};
|
|
86
|
-
message: string | undefined;
|
|
87
|
-
|
|
88
|
-
retryAfterSeconds?: number;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
export interface ValidationExceptionField {
|
|
92
|
-
|
|
93
|
-
name: string | undefined;
|
|
94
|
-
|
|
95
|
-
message: string | undefined;
|
|
96
|
-
}
|
|
97
|
-
export declare namespace ValidationExceptionField {
|
|
98
|
-
|
|
99
|
-
const filterSensitiveLog: (obj: ValidationExceptionField) => any;
|
|
100
|
-
}
|
|
101
|
-
export declare enum ValidationExceptionReason {
|
|
102
|
-
CANNOT_PARSE = "cannotParse",
|
|
103
|
-
FIELD_VALIDATION_FAILED = "fieldValidationFailed",
|
|
104
|
-
OTHER = "other",
|
|
105
|
-
UNKNOWN_OPERATION = "unknownOperation"
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
export interface ValidationException extends __SmithyException, $MetadataBearer {
|
|
109
|
-
name: "ValidationException";
|
|
110
|
-
$fault: "client";
|
|
111
|
-
message: string | undefined;
|
|
112
|
-
|
|
113
|
-
reason: ValidationExceptionReason | string | undefined;
|
|
114
|
-
|
|
115
|
-
fieldList?: ValidationExceptionField[];
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
export interface DeleteArchiveRuleRequest {
|
|
119
|
-
|
|
120
|
-
analyzerName: string | undefined;
|
|
121
|
-
|
|
122
|
-
ruleName: string | undefined;
|
|
123
|
-
|
|
124
|
-
clientToken?: string;
|
|
125
|
-
}
|
|
126
|
-
export declare namespace DeleteArchiveRuleRequest {
|
|
127
|
-
|
|
128
|
-
const filterSensitiveLog: (obj: DeleteArchiveRuleRequest) => any;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
export interface GetArchiveRuleRequest {
|
|
132
|
-
|
|
133
|
-
analyzerName: string | undefined;
|
|
134
|
-
|
|
135
|
-
ruleName: string | undefined;
|
|
136
|
-
}
|
|
137
|
-
export declare namespace GetArchiveRuleRequest {
|
|
138
|
-
|
|
139
|
-
const filterSensitiveLog: (obj: GetArchiveRuleRequest) => any;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
export interface ArchiveRuleSummary {
|
|
143
|
-
|
|
144
|
-
ruleName: string | undefined;
|
|
145
|
-
|
|
146
|
-
filter: {
|
|
147
|
-
[key: string]: Criterion;
|
|
148
|
-
} | undefined;
|
|
149
|
-
|
|
150
|
-
createdAt: Date | undefined;
|
|
151
|
-
|
|
152
|
-
updatedAt: Date | undefined;
|
|
153
|
-
}
|
|
154
|
-
export declare namespace ArchiveRuleSummary {
|
|
155
|
-
|
|
156
|
-
const filterSensitiveLog: (obj: ArchiveRuleSummary) => any;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
export interface GetArchiveRuleResponse {
|
|
160
|
-
|
|
161
|
-
archiveRule: ArchiveRuleSummary | undefined;
|
|
162
|
-
}
|
|
163
|
-
export declare namespace GetArchiveRuleResponse {
|
|
164
|
-
|
|
165
|
-
const filterSensitiveLog: (obj: GetArchiveRuleResponse) => any;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
export interface ListArchiveRulesRequest {
|
|
169
|
-
|
|
170
|
-
analyzerName: string | undefined;
|
|
171
|
-
|
|
172
|
-
nextToken?: string;
|
|
173
|
-
|
|
174
|
-
maxResults?: number;
|
|
175
|
-
}
|
|
176
|
-
export declare namespace ListArchiveRulesRequest {
|
|
177
|
-
|
|
178
|
-
const filterSensitiveLog: (obj: ListArchiveRulesRequest) => any;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
export interface ListArchiveRulesResponse {
|
|
182
|
-
|
|
183
|
-
archiveRules: ArchiveRuleSummary[] | undefined;
|
|
184
|
-
|
|
185
|
-
nextToken?: string;
|
|
186
|
-
}
|
|
187
|
-
export declare namespace ListArchiveRulesResponse {
|
|
188
|
-
|
|
189
|
-
const filterSensitiveLog: (obj: ListArchiveRulesResponse) => any;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
export interface UpdateArchiveRuleRequest {
|
|
193
|
-
|
|
194
|
-
analyzerName: string | undefined;
|
|
195
|
-
|
|
196
|
-
ruleName: string | undefined;
|
|
197
|
-
|
|
198
|
-
filter: {
|
|
199
|
-
[key: string]: Criterion;
|
|
200
|
-
} | undefined;
|
|
201
|
-
|
|
202
|
-
clientToken?: string;
|
|
203
|
-
}
|
|
204
|
-
export declare namespace UpdateArchiveRuleRequest {
|
|
205
|
-
|
|
206
|
-
const filterSensitiveLog: (obj: UpdateArchiveRuleRequest) => any;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
export interface InlineArchiveRule {
|
|
210
|
-
|
|
211
|
-
ruleName: string | undefined;
|
|
212
|
-
|
|
213
|
-
filter: {
|
|
214
|
-
[key: string]: Criterion;
|
|
215
|
-
} | undefined;
|
|
216
|
-
}
|
|
217
|
-
export declare namespace InlineArchiveRule {
|
|
218
|
-
|
|
219
|
-
const filterSensitiveLog: (obj: InlineArchiveRule) => any;
|
|
220
|
-
}
|
|
221
|
-
export declare type Type = "ACCOUNT" | "ORGANIZATION";
|
|
222
|
-
|
|
223
|
-
export interface CreateAnalyzerRequest {
|
|
224
|
-
|
|
225
|
-
analyzerName: string | undefined;
|
|
226
|
-
|
|
227
|
-
type: Type | string | undefined;
|
|
228
|
-
|
|
229
|
-
archiveRules?: InlineArchiveRule[];
|
|
230
|
-
|
|
231
|
-
tags?: {
|
|
232
|
-
[key: string]: string;
|
|
233
|
-
};
|
|
234
|
-
|
|
235
|
-
clientToken?: string;
|
|
236
|
-
}
|
|
237
|
-
export declare namespace CreateAnalyzerRequest {
|
|
238
|
-
|
|
239
|
-
const filterSensitiveLog: (obj: CreateAnalyzerRequest) => any;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
export interface CreateAnalyzerResponse {
|
|
243
|
-
|
|
244
|
-
arn?: string;
|
|
245
|
-
}
|
|
246
|
-
export declare namespace CreateAnalyzerResponse {
|
|
247
|
-
|
|
248
|
-
const filterSensitiveLog: (obj: CreateAnalyzerResponse) => any;
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
export interface DeleteAnalyzerRequest {
|
|
252
|
-
|
|
253
|
-
analyzerName: string | undefined;
|
|
254
|
-
|
|
255
|
-
clientToken?: string;
|
|
256
|
-
}
|
|
257
|
-
export declare namespace DeleteAnalyzerRequest {
|
|
258
|
-
|
|
259
|
-
const filterSensitiveLog: (obj: DeleteAnalyzerRequest) => any;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
export interface GetAnalyzerRequest {
|
|
263
|
-
|
|
264
|
-
analyzerName: string | undefined;
|
|
265
|
-
}
|
|
266
|
-
export declare namespace GetAnalyzerRequest {
|
|
267
|
-
|
|
268
|
-
const filterSensitiveLog: (obj: GetAnalyzerRequest) => any;
|
|
269
|
-
}
|
|
270
|
-
export declare type AnalyzerStatus = "ACTIVE" | "CREATING" | "DISABLED" | "FAILED";
|
|
271
|
-
export declare type ReasonCode = "AWS_SERVICE_ACCESS_DISABLED" | "DELEGATED_ADMINISTRATOR_DEREGISTERED" | "ORGANIZATION_DELETED" | "SERVICE_LINKED_ROLE_CREATION_FAILED";
|
|
272
|
-
|
|
273
|
-
export interface StatusReason {
|
|
274
|
-
|
|
275
|
-
code: ReasonCode | string | undefined;
|
|
276
|
-
}
|
|
277
|
-
export declare namespace StatusReason {
|
|
278
|
-
|
|
279
|
-
const filterSensitiveLog: (obj: StatusReason) => any;
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
export interface AnalyzerSummary {
|
|
283
|
-
|
|
284
|
-
arn: string | undefined;
|
|
285
|
-
|
|
286
|
-
name: string | undefined;
|
|
287
|
-
|
|
288
|
-
type: Type | string | undefined;
|
|
289
|
-
|
|
290
|
-
createdAt: Date | undefined;
|
|
291
|
-
|
|
292
|
-
lastResourceAnalyzed?: string;
|
|
293
|
-
|
|
294
|
-
lastResourceAnalyzedAt?: Date;
|
|
295
|
-
|
|
296
|
-
tags?: {
|
|
297
|
-
[key: string]: string;
|
|
298
|
-
};
|
|
299
|
-
|
|
300
|
-
status: AnalyzerStatus | string | undefined;
|
|
301
|
-
|
|
302
|
-
statusReason?: StatusReason;
|
|
303
|
-
}
|
|
304
|
-
export declare namespace AnalyzerSummary {
|
|
305
|
-
|
|
306
|
-
const filterSensitiveLog: (obj: AnalyzerSummary) => any;
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
export interface GetAnalyzerResponse {
|
|
310
|
-
|
|
311
|
-
analyzer: AnalyzerSummary | undefined;
|
|
312
|
-
}
|
|
313
|
-
export declare namespace GetAnalyzerResponse {
|
|
314
|
-
|
|
315
|
-
const filterSensitiveLog: (obj: GetAnalyzerResponse) => any;
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
export interface ListAnalyzersRequest {
|
|
319
|
-
|
|
320
|
-
nextToken?: string;
|
|
321
|
-
|
|
322
|
-
maxResults?: number;
|
|
323
|
-
|
|
324
|
-
type?: Type | string;
|
|
325
|
-
}
|
|
326
|
-
export declare namespace ListAnalyzersRequest {
|
|
327
|
-
|
|
328
|
-
const filterSensitiveLog: (obj: ListAnalyzersRequest) => any;
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
export interface ListAnalyzersResponse {
|
|
332
|
-
|
|
333
|
-
analyzers: AnalyzerSummary[] | undefined;
|
|
334
|
-
|
|
335
|
-
nextToken?: string;
|
|
336
|
-
}
|
|
337
|
-
export declare namespace ListAnalyzersResponse {
|
|
338
|
-
|
|
339
|
-
const filterSensitiveLog: (obj: ListAnalyzersResponse) => any;
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
export interface ApplyArchiveRuleRequest {
|
|
343
|
-
|
|
344
|
-
analyzerArn: string | undefined;
|
|
345
|
-
|
|
346
|
-
ruleName: string | undefined;
|
|
347
|
-
|
|
348
|
-
clientToken?: string;
|
|
349
|
-
}
|
|
350
|
-
export declare namespace ApplyArchiveRuleRequest {
|
|
351
|
-
|
|
352
|
-
const filterSensitiveLog: (obj: ApplyArchiveRuleRequest) => any;
|
|
353
|
-
}
|
|
354
|
-
export interface CancelPolicyGenerationRequest {
|
|
355
|
-
|
|
356
|
-
jobId: string | undefined;
|
|
357
|
-
}
|
|
358
|
-
export declare namespace CancelPolicyGenerationRequest {
|
|
359
|
-
|
|
360
|
-
const filterSensitiveLog: (obj: CancelPolicyGenerationRequest) => any;
|
|
361
|
-
}
|
|
362
|
-
export interface CancelPolicyGenerationResponse {
|
|
363
|
-
}
|
|
364
|
-
export declare namespace CancelPolicyGenerationResponse {
|
|
365
|
-
|
|
366
|
-
const filterSensitiveLog: (obj: CancelPolicyGenerationResponse) => any;
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
export interface IamRoleConfiguration {
|
|
370
|
-
|
|
371
|
-
trustPolicy?: string;
|
|
372
|
-
}
|
|
373
|
-
export declare namespace IamRoleConfiguration {
|
|
374
|
-
|
|
375
|
-
const filterSensitiveLog: (obj: IamRoleConfiguration) => any;
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
export interface KmsGrantConstraints {
|
|
379
|
-
|
|
380
|
-
encryptionContextEquals?: {
|
|
381
|
-
[key: string]: string;
|
|
382
|
-
};
|
|
383
|
-
|
|
384
|
-
encryptionContextSubset?: {
|
|
385
|
-
[key: string]: string;
|
|
386
|
-
};
|
|
387
|
-
}
|
|
388
|
-
export declare namespace KmsGrantConstraints {
|
|
389
|
-
|
|
390
|
-
const filterSensitiveLog: (obj: KmsGrantConstraints) => any;
|
|
391
|
-
}
|
|
392
|
-
export declare enum KmsGrantOperation {
|
|
393
|
-
CREATE_GRANT = "CreateGrant",
|
|
394
|
-
DECRYPT = "Decrypt",
|
|
395
|
-
DESCRIBE_KEY = "DescribeKey",
|
|
396
|
-
ENCRYPT = "Encrypt",
|
|
397
|
-
GENERATE_DATA_KEY = "GenerateDataKey",
|
|
398
|
-
GENERATE_DATA_KEY_PAIR = "GenerateDataKeyPair",
|
|
399
|
-
GENERATE_DATA_KEY_PAIR_WITHOUT_PLAINTEXT = "GenerateDataKeyPairWithoutPlaintext",
|
|
400
|
-
GENERATE_DATA_KEY_WITHOUT_PLAINTEXT = "GenerateDataKeyWithoutPlaintext",
|
|
401
|
-
GET_PUBLIC_KEY = "GetPublicKey",
|
|
402
|
-
REENCRYPT_FROM = "ReEncryptFrom",
|
|
403
|
-
REENCRYPT_TO = "ReEncryptTo",
|
|
404
|
-
RETIRE_GRANT = "RetireGrant",
|
|
405
|
-
SIGN = "Sign",
|
|
406
|
-
VERIFY = "Verify"
|
|
407
|
-
}
|
|
408
|
-
|
|
409
|
-
export interface KmsGrantConfiguration {
|
|
410
|
-
|
|
411
|
-
operations: (KmsGrantOperation | string)[] | undefined;
|
|
412
|
-
|
|
413
|
-
granteePrincipal: string | undefined;
|
|
414
|
-
|
|
415
|
-
retiringPrincipal?: string;
|
|
416
|
-
|
|
417
|
-
constraints?: KmsGrantConstraints;
|
|
418
|
-
|
|
419
|
-
issuingAccount: string | undefined;
|
|
420
|
-
}
|
|
421
|
-
export declare namespace KmsGrantConfiguration {
|
|
422
|
-
|
|
423
|
-
const filterSensitiveLog: (obj: KmsGrantConfiguration) => any;
|
|
424
|
-
}
|
|
425
|
-
|
|
426
|
-
export interface KmsKeyConfiguration {
|
|
427
|
-
|
|
428
|
-
keyPolicies?: {
|
|
429
|
-
[key: string]: string;
|
|
430
|
-
};
|
|
431
|
-
|
|
432
|
-
grants?: KmsGrantConfiguration[];
|
|
433
|
-
}
|
|
434
|
-
export declare namespace KmsKeyConfiguration {
|
|
435
|
-
|
|
436
|
-
const filterSensitiveLog: (obj: KmsKeyConfiguration) => any;
|
|
437
|
-
}
|
|
438
|
-
|
|
439
|
-
export interface InternetConfiguration {
|
|
440
|
-
}
|
|
441
|
-
export declare namespace InternetConfiguration {
|
|
442
|
-
|
|
443
|
-
const filterSensitiveLog: (obj: InternetConfiguration) => any;
|
|
444
|
-
}
|
|
445
|
-
|
|
446
|
-
export interface VpcConfiguration {
|
|
447
|
-
|
|
448
|
-
vpcId: string | undefined;
|
|
449
|
-
}
|
|
450
|
-
export declare namespace VpcConfiguration {
|
|
451
|
-
|
|
452
|
-
const filterSensitiveLog: (obj: VpcConfiguration) => any;
|
|
453
|
-
}
|
|
454
|
-
|
|
455
|
-
export declare type NetworkOriginConfiguration = NetworkOriginConfiguration.InternetConfigurationMember | NetworkOriginConfiguration.VpcConfigurationMember | NetworkOriginConfiguration.$UnknownMember;
|
|
456
|
-
export declare namespace NetworkOriginConfiguration {
|
|
457
|
-
|
|
458
|
-
interface VpcConfigurationMember {
|
|
459
|
-
vpcConfiguration: VpcConfiguration;
|
|
460
|
-
internetConfiguration?: never;
|
|
461
|
-
$unknown?: never;
|
|
462
|
-
}
|
|
463
|
-
|
|
464
|
-
interface InternetConfigurationMember {
|
|
465
|
-
vpcConfiguration?: never;
|
|
466
|
-
internetConfiguration: InternetConfiguration;
|
|
467
|
-
$unknown?: never;
|
|
468
|
-
}
|
|
469
|
-
interface $UnknownMember {
|
|
470
|
-
vpcConfiguration?: never;
|
|
471
|
-
internetConfiguration?: never;
|
|
472
|
-
$unknown: [
|
|
473
|
-
string,
|
|
474
|
-
any
|
|
475
|
-
];
|
|
476
|
-
}
|
|
477
|
-
interface Visitor<T> {
|
|
478
|
-
vpcConfiguration: (value: VpcConfiguration) => T;
|
|
479
|
-
internetConfiguration: (value: InternetConfiguration) => T;
|
|
480
|
-
_: (name: string, value: any) => T;
|
|
481
|
-
}
|
|
482
|
-
const visit: <T>(value: NetworkOriginConfiguration, visitor: Visitor<T>) => T;
|
|
483
|
-
|
|
484
|
-
const filterSensitiveLog: (obj: NetworkOriginConfiguration) => any;
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
export interface S3PublicAccessBlockConfiguration {
|
|
488
|
-
|
|
489
|
-
ignorePublicAcls: boolean | undefined;
|
|
490
|
-
|
|
491
|
-
restrictPublicBuckets: boolean | undefined;
|
|
492
|
-
}
|
|
493
|
-
export declare namespace S3PublicAccessBlockConfiguration {
|
|
494
|
-
|
|
495
|
-
const filterSensitiveLog: (obj: S3PublicAccessBlockConfiguration) => any;
|
|
496
|
-
}
|
|
497
|
-
|
|
498
|
-
export interface S3AccessPointConfiguration {
|
|
499
|
-
|
|
500
|
-
accessPointPolicy?: string;
|
|
501
|
-
|
|
502
|
-
publicAccessBlock?: S3PublicAccessBlockConfiguration;
|
|
503
|
-
|
|
504
|
-
networkOrigin?: NetworkOriginConfiguration;
|
|
505
|
-
}
|
|
506
|
-
export declare namespace S3AccessPointConfiguration {
|
|
507
|
-
|
|
508
|
-
const filterSensitiveLog: (obj: S3AccessPointConfiguration) => any;
|
|
509
|
-
}
|
|
510
|
-
|
|
511
|
-
export declare type AclGrantee = AclGrantee.IdMember | AclGrantee.UriMember | AclGrantee.$UnknownMember;
|
|
512
|
-
export declare namespace AclGrantee {
|
|
513
|
-
|
|
514
|
-
interface IdMember {
|
|
515
|
-
id: string;
|
|
516
|
-
uri?: never;
|
|
517
|
-
$unknown?: never;
|
|
518
|
-
}
|
|
519
|
-
|
|
520
|
-
interface UriMember {
|
|
521
|
-
id?: never;
|
|
522
|
-
uri: string;
|
|
523
|
-
$unknown?: never;
|
|
524
|
-
}
|
|
525
|
-
interface $UnknownMember {
|
|
526
|
-
id?: never;
|
|
527
|
-
uri?: never;
|
|
528
|
-
$unknown: [
|
|
529
|
-
string,
|
|
530
|
-
any
|
|
531
|
-
];
|
|
532
|
-
}
|
|
533
|
-
interface Visitor<T> {
|
|
534
|
-
id: (value: string) => T;
|
|
535
|
-
uri: (value: string) => T;
|
|
536
|
-
_: (name: string, value: any) => T;
|
|
537
|
-
}
|
|
538
|
-
const visit: <T>(value: AclGrantee, visitor: Visitor<T>) => T;
|
|
539
|
-
|
|
540
|
-
const filterSensitiveLog: (obj: AclGrantee) => any;
|
|
541
|
-
}
|
|
542
|
-
export declare enum AclPermission {
|
|
543
|
-
FULL_CONTROL = "FULL_CONTROL",
|
|
544
|
-
READ = "READ",
|
|
545
|
-
READ_ACP = "READ_ACP",
|
|
546
|
-
WRITE = "WRITE",
|
|
547
|
-
WRITE_ACP = "WRITE_ACP"
|
|
548
|
-
}
|
|
549
|
-
|
|
550
|
-
export interface S3BucketAclGrantConfiguration {
|
|
551
|
-
|
|
552
|
-
permission: AclPermission | string | undefined;
|
|
553
|
-
|
|
554
|
-
grantee: AclGrantee | undefined;
|
|
555
|
-
}
|
|
556
|
-
export declare namespace S3BucketAclGrantConfiguration {
|
|
557
|
-
|
|
558
|
-
const filterSensitiveLog: (obj: S3BucketAclGrantConfiguration) => any;
|
|
559
|
-
}
|
|
560
|
-
|
|
561
|
-
export interface S3BucketConfiguration {
|
|
562
|
-
|
|
563
|
-
bucketPolicy?: string;
|
|
564
|
-
|
|
565
|
-
bucketAclGrants?: S3BucketAclGrantConfiguration[];
|
|
566
|
-
|
|
567
|
-
bucketPublicAccessBlock?: S3PublicAccessBlockConfiguration;
|
|
568
|
-
|
|
569
|
-
accessPoints?: {
|
|
570
|
-
[key: string]: S3AccessPointConfiguration;
|
|
571
|
-
};
|
|
572
|
-
}
|
|
573
|
-
export declare namespace S3BucketConfiguration {
|
|
574
|
-
|
|
575
|
-
const filterSensitiveLog: (obj: S3BucketConfiguration) => any;
|
|
576
|
-
}
|
|
577
|
-
|
|
578
|
-
export interface SecretsManagerSecretConfiguration {
|
|
579
|
-
|
|
580
|
-
kmsKeyId?: string;
|
|
581
|
-
|
|
582
|
-
secretPolicy?: string;
|
|
583
|
-
}
|
|
584
|
-
export declare namespace SecretsManagerSecretConfiguration {
|
|
585
|
-
|
|
586
|
-
const filterSensitiveLog: (obj: SecretsManagerSecretConfiguration) => any;
|
|
587
|
-
}
|
|
588
|
-
|
|
589
|
-
export interface SqsQueueConfiguration {
|
|
590
|
-
|
|
591
|
-
queuePolicy?: string;
|
|
592
|
-
}
|
|
593
|
-
export declare namespace SqsQueueConfiguration {
|
|
594
|
-
|
|
595
|
-
const filterSensitiveLog: (obj: SqsQueueConfiguration) => any;
|
|
596
|
-
}
|
|
597
|
-
|
|
598
|
-
export declare type Configuration = Configuration.IamRoleMember | Configuration.KmsKeyMember | Configuration.S3BucketMember | Configuration.SecretsManagerSecretMember | Configuration.SqsQueueMember | Configuration.$UnknownMember;
|
|
599
|
-
export declare namespace Configuration {
|
|
600
|
-
|
|
601
|
-
interface IamRoleMember {
|
|
602
|
-
iamRole: IamRoleConfiguration;
|
|
603
|
-
kmsKey?: never;
|
|
604
|
-
secretsManagerSecret?: never;
|
|
605
|
-
s3Bucket?: never;
|
|
606
|
-
sqsQueue?: never;
|
|
607
|
-
$unknown?: never;
|
|
608
|
-
}
|
|
609
|
-
|
|
610
|
-
interface KmsKeyMember {
|
|
611
|
-
iamRole?: never;
|
|
612
|
-
kmsKey: KmsKeyConfiguration;
|
|
613
|
-
secretsManagerSecret?: never;
|
|
614
|
-
s3Bucket?: never;
|
|
615
|
-
sqsQueue?: never;
|
|
616
|
-
$unknown?: never;
|
|
617
|
-
}
|
|
618
|
-
|
|
619
|
-
interface SecretsManagerSecretMember {
|
|
620
|
-
iamRole?: never;
|
|
621
|
-
kmsKey?: never;
|
|
622
|
-
secretsManagerSecret: SecretsManagerSecretConfiguration;
|
|
623
|
-
s3Bucket?: never;
|
|
624
|
-
sqsQueue?: never;
|
|
625
|
-
$unknown?: never;
|
|
626
|
-
}
|
|
627
|
-
|
|
628
|
-
interface S3BucketMember {
|
|
629
|
-
iamRole?: never;
|
|
630
|
-
kmsKey?: never;
|
|
631
|
-
secretsManagerSecret?: never;
|
|
632
|
-
s3Bucket: S3BucketConfiguration;
|
|
633
|
-
sqsQueue?: never;
|
|
634
|
-
$unknown?: never;
|
|
635
|
-
}
|
|
636
|
-
|
|
637
|
-
interface SqsQueueMember {
|
|
638
|
-
iamRole?: never;
|
|
639
|
-
kmsKey?: never;
|
|
640
|
-
secretsManagerSecret?: never;
|
|
641
|
-
s3Bucket?: never;
|
|
642
|
-
sqsQueue: SqsQueueConfiguration;
|
|
643
|
-
$unknown?: never;
|
|
644
|
-
}
|
|
645
|
-
interface $UnknownMember {
|
|
646
|
-
iamRole?: never;
|
|
647
|
-
kmsKey?: never;
|
|
648
|
-
secretsManagerSecret?: never;
|
|
649
|
-
s3Bucket?: never;
|
|
650
|
-
sqsQueue?: never;
|
|
651
|
-
$unknown: [
|
|
652
|
-
string,
|
|
653
|
-
any
|
|
654
|
-
];
|
|
655
|
-
}
|
|
656
|
-
interface Visitor<T> {
|
|
657
|
-
iamRole: (value: IamRoleConfiguration) => T;
|
|
658
|
-
kmsKey: (value: KmsKeyConfiguration) => T;
|
|
659
|
-
secretsManagerSecret: (value: SecretsManagerSecretConfiguration) => T;
|
|
660
|
-
s3Bucket: (value: S3BucketConfiguration) => T;
|
|
661
|
-
sqsQueue: (value: SqsQueueConfiguration) => T;
|
|
662
|
-
_: (name: string, value: any) => T;
|
|
663
|
-
}
|
|
664
|
-
const visit: <T>(value: Configuration, visitor: Visitor<T>) => T;
|
|
665
|
-
|
|
666
|
-
const filterSensitiveLog: (obj: Configuration) => any;
|
|
667
|
-
}
|
|
668
|
-
export interface CreateAccessPreviewRequest {
|
|
669
|
-
|
|
670
|
-
analyzerArn: string | undefined;
|
|
671
|
-
|
|
672
|
-
configurations: {
|
|
673
|
-
[key: string]: Configuration;
|
|
674
|
-
} | undefined;
|
|
675
|
-
|
|
676
|
-
clientToken?: string;
|
|
677
|
-
}
|
|
678
|
-
export declare namespace CreateAccessPreviewRequest {
|
|
679
|
-
|
|
680
|
-
const filterSensitiveLog: (obj: CreateAccessPreviewRequest) => any;
|
|
681
|
-
}
|
|
682
|
-
export interface CreateAccessPreviewResponse {
|
|
683
|
-
|
|
684
|
-
id: string | undefined;
|
|
685
|
-
}
|
|
686
|
-
export declare namespace CreateAccessPreviewResponse {
|
|
687
|
-
|
|
688
|
-
const filterSensitiveLog: (obj: CreateAccessPreviewResponse) => any;
|
|
689
|
-
}
|
|
690
|
-
export interface GetAccessPreviewRequest {
|
|
691
|
-
|
|
692
|
-
accessPreviewId: string | undefined;
|
|
693
|
-
|
|
694
|
-
analyzerArn: string | undefined;
|
|
695
|
-
}
|
|
696
|
-
export declare namespace GetAccessPreviewRequest {
|
|
697
|
-
|
|
698
|
-
const filterSensitiveLog: (obj: GetAccessPreviewRequest) => any;
|
|
699
|
-
}
|
|
700
|
-
export declare enum AccessPreviewStatus {
|
|
701
|
-
COMPLETED = "COMPLETED",
|
|
702
|
-
CREATING = "CREATING",
|
|
703
|
-
FAILED = "FAILED"
|
|
704
|
-
}
|
|
705
|
-
export declare enum AccessPreviewStatusReasonCode {
|
|
706
|
-
INTERNAL_ERROR = "INTERNAL_ERROR",
|
|
707
|
-
INVALID_CONFIGURATION = "INVALID_CONFIGURATION"
|
|
708
|
-
}
|
|
709
|
-
|
|
710
|
-
export interface AccessPreviewStatusReason {
|
|
711
|
-
|
|
712
|
-
code: AccessPreviewStatusReasonCode | string | undefined;
|
|
713
|
-
}
|
|
714
|
-
export declare namespace AccessPreviewStatusReason {
|
|
715
|
-
|
|
716
|
-
const filterSensitiveLog: (obj: AccessPreviewStatusReason) => any;
|
|
717
|
-
}
|
|
718
|
-
|
|
719
|
-
export interface AccessPreview {
|
|
720
|
-
|
|
721
|
-
id: string | undefined;
|
|
722
|
-
|
|
723
|
-
analyzerArn: string | undefined;
|
|
724
|
-
|
|
725
|
-
configurations: {
|
|
726
|
-
[key: string]: Configuration;
|
|
727
|
-
} | undefined;
|
|
728
|
-
|
|
729
|
-
createdAt: Date | undefined;
|
|
730
|
-
|
|
731
|
-
status: AccessPreviewStatus | string | undefined;
|
|
732
|
-
|
|
733
|
-
statusReason?: AccessPreviewStatusReason;
|
|
734
|
-
}
|
|
735
|
-
export declare namespace AccessPreview {
|
|
736
|
-
|
|
737
|
-
const filterSensitiveLog: (obj: AccessPreview) => any;
|
|
738
|
-
}
|
|
739
|
-
export interface GetAccessPreviewResponse {
|
|
740
|
-
|
|
741
|
-
accessPreview: AccessPreview | undefined;
|
|
742
|
-
}
|
|
743
|
-
export declare namespace GetAccessPreviewResponse {
|
|
744
|
-
|
|
745
|
-
const filterSensitiveLog: (obj: GetAccessPreviewResponse) => any;
|
|
746
|
-
}
|
|
747
|
-
|
|
748
|
-
export interface GetAnalyzedResourceRequest {
|
|
749
|
-
|
|
750
|
-
analyzerArn: string | undefined;
|
|
751
|
-
|
|
752
|
-
resourceArn: string | undefined;
|
|
753
|
-
}
|
|
754
|
-
export declare namespace GetAnalyzedResourceRequest {
|
|
755
|
-
|
|
756
|
-
const filterSensitiveLog: (obj: GetAnalyzedResourceRequest) => any;
|
|
757
|
-
}
|
|
758
|
-
export declare type ResourceType = "AWS::IAM::Role" | "AWS::KMS::Key" | "AWS::Lambda::Function" | "AWS::Lambda::LayerVersion" | "AWS::S3::Bucket" | "AWS::SQS::Queue" | "AWS::SecretsManager::Secret";
|
|
759
|
-
export declare type FindingStatus = "ACTIVE" | "ARCHIVED" | "RESOLVED";
|
|
760
|
-
|
|
761
|
-
export interface AnalyzedResource {
|
|
762
|
-
|
|
763
|
-
resourceArn: string | undefined;
|
|
764
|
-
|
|
765
|
-
resourceType: ResourceType | string | undefined;
|
|
766
|
-
|
|
767
|
-
createdAt: Date | undefined;
|
|
768
|
-
|
|
769
|
-
analyzedAt: Date | undefined;
|
|
770
|
-
|
|
771
|
-
updatedAt: Date | undefined;
|
|
772
|
-
|
|
773
|
-
isPublic: boolean | undefined;
|
|
774
|
-
|
|
775
|
-
actions?: string[];
|
|
776
|
-
|
|
777
|
-
sharedVia?: string[];
|
|
778
|
-
|
|
779
|
-
status?: FindingStatus | string;
|
|
780
|
-
|
|
781
|
-
resourceOwnerAccount: string | undefined;
|
|
782
|
-
|
|
783
|
-
error?: string;
|
|
784
|
-
}
|
|
785
|
-
export declare namespace AnalyzedResource {
|
|
786
|
-
|
|
787
|
-
const filterSensitiveLog: (obj: AnalyzedResource) => any;
|
|
788
|
-
}
|
|
789
|
-
|
|
790
|
-
export interface GetAnalyzedResourceResponse {
|
|
791
|
-
|
|
792
|
-
resource?: AnalyzedResource;
|
|
793
|
-
}
|
|
794
|
-
export declare namespace GetAnalyzedResourceResponse {
|
|
795
|
-
|
|
796
|
-
const filterSensitiveLog: (obj: GetAnalyzedResourceResponse) => any;
|
|
797
|
-
}
|
|
798
|
-
|
|
799
|
-
export interface GetFindingRequest {
|
|
800
|
-
|
|
801
|
-
analyzerArn: string | undefined;
|
|
802
|
-
|
|
803
|
-
id: string | undefined;
|
|
804
|
-
}
|
|
805
|
-
export declare namespace GetFindingRequest {
|
|
806
|
-
|
|
807
|
-
const filterSensitiveLog: (obj: GetFindingRequest) => any;
|
|
808
|
-
}
|
|
809
|
-
|
|
810
|
-
export interface FindingSourceDetail {
|
|
811
|
-
|
|
812
|
-
accessPointArn?: string;
|
|
813
|
-
}
|
|
814
|
-
export declare namespace FindingSourceDetail {
|
|
815
|
-
|
|
816
|
-
const filterSensitiveLog: (obj: FindingSourceDetail) => any;
|
|
817
|
-
}
|
|
818
|
-
export declare type FindingSourceType = "BUCKET_ACL" | "POLICY" | "S3_ACCESS_POINT";
|
|
819
|
-
|
|
820
|
-
export interface FindingSource {
|
|
821
|
-
|
|
822
|
-
type: FindingSourceType | string | undefined;
|
|
823
|
-
|
|
824
|
-
detail?: FindingSourceDetail;
|
|
825
|
-
}
|
|
826
|
-
export declare namespace FindingSource {
|
|
827
|
-
|
|
828
|
-
const filterSensitiveLog: (obj: FindingSource) => any;
|
|
829
|
-
}
|
|
830
|
-
|
|
831
|
-
export interface Finding {
|
|
832
|
-
|
|
833
|
-
id: string | undefined;
|
|
834
|
-
|
|
835
|
-
principal?: {
|
|
836
|
-
[key: string]: string;
|
|
837
|
-
};
|
|
838
|
-
|
|
839
|
-
action?: string[];
|
|
840
|
-
|
|
841
|
-
resource?: string;
|
|
842
|
-
|
|
843
|
-
isPublic?: boolean;
|
|
844
|
-
|
|
845
|
-
resourceType: ResourceType | string | undefined;
|
|
846
|
-
|
|
847
|
-
condition: {
|
|
848
|
-
[key: string]: string;
|
|
849
|
-
} | undefined;
|
|
850
|
-
|
|
851
|
-
createdAt: Date | undefined;
|
|
852
|
-
|
|
853
|
-
analyzedAt: Date | undefined;
|
|
854
|
-
|
|
855
|
-
updatedAt: Date | undefined;
|
|
856
|
-
|
|
857
|
-
status: FindingStatus | string | undefined;
|
|
858
|
-
|
|
859
|
-
resourceOwnerAccount: string | undefined;
|
|
860
|
-
|
|
861
|
-
error?: string;
|
|
862
|
-
|
|
863
|
-
sources?: FindingSource[];
|
|
864
|
-
}
|
|
865
|
-
export declare namespace Finding {
|
|
866
|
-
|
|
867
|
-
const filterSensitiveLog: (obj: Finding) => any;
|
|
868
|
-
}
|
|
869
|
-
|
|
870
|
-
export interface GetFindingResponse {
|
|
871
|
-
|
|
872
|
-
finding?: Finding;
|
|
873
|
-
}
|
|
874
|
-
export declare namespace GetFindingResponse {
|
|
875
|
-
|
|
876
|
-
const filterSensitiveLog: (obj: GetFindingResponse) => any;
|
|
877
|
-
}
|
|
878
|
-
export interface GetGeneratedPolicyRequest {
|
|
879
|
-
|
|
880
|
-
jobId: string | undefined;
|
|
881
|
-
|
|
882
|
-
includeResourcePlaceholders?: boolean;
|
|
883
|
-
|
|
884
|
-
includeServiceLevelTemplate?: boolean;
|
|
885
|
-
}
|
|
886
|
-
export declare namespace GetGeneratedPolicyRequest {
|
|
887
|
-
|
|
888
|
-
const filterSensitiveLog: (obj: GetGeneratedPolicyRequest) => any;
|
|
889
|
-
}
|
|
890
|
-
|
|
891
|
-
export interface GeneratedPolicy {
|
|
892
|
-
|
|
893
|
-
policy: string | undefined;
|
|
894
|
-
}
|
|
895
|
-
export declare namespace GeneratedPolicy {
|
|
896
|
-
|
|
897
|
-
const filterSensitiveLog: (obj: GeneratedPolicy) => any;
|
|
898
|
-
}
|
|
899
|
-
|
|
900
|
-
export interface TrailProperties {
|
|
901
|
-
|
|
902
|
-
cloudTrailArn: string | undefined;
|
|
903
|
-
|
|
904
|
-
regions?: string[];
|
|
905
|
-
|
|
906
|
-
allRegions?: boolean;
|
|
907
|
-
}
|
|
908
|
-
export declare namespace TrailProperties {
|
|
909
|
-
|
|
910
|
-
const filterSensitiveLog: (obj: TrailProperties) => any;
|
|
911
|
-
}
|
|
912
|
-
|
|
913
|
-
export interface CloudTrailProperties {
|
|
914
|
-
|
|
915
|
-
trailProperties: TrailProperties[] | undefined;
|
|
916
|
-
|
|
917
|
-
startTime: Date | undefined;
|
|
918
|
-
|
|
919
|
-
endTime: Date | undefined;
|
|
920
|
-
}
|
|
921
|
-
export declare namespace CloudTrailProperties {
|
|
922
|
-
|
|
923
|
-
const filterSensitiveLog: (obj: CloudTrailProperties) => any;
|
|
924
|
-
}
|
|
925
|
-
|
|
926
|
-
export interface GeneratedPolicyProperties {
|
|
927
|
-
|
|
928
|
-
isComplete?: boolean;
|
|
929
|
-
|
|
930
|
-
principalArn: string | undefined;
|
|
931
|
-
|
|
932
|
-
cloudTrailProperties?: CloudTrailProperties;
|
|
933
|
-
}
|
|
934
|
-
export declare namespace GeneratedPolicyProperties {
|
|
935
|
-
|
|
936
|
-
const filterSensitiveLog: (obj: GeneratedPolicyProperties) => any;
|
|
937
|
-
}
|
|
938
|
-
|
|
939
|
-
export interface GeneratedPolicyResult {
|
|
940
|
-
|
|
941
|
-
properties: GeneratedPolicyProperties | undefined;
|
|
942
|
-
|
|
943
|
-
generatedPolicies?: GeneratedPolicy[];
|
|
944
|
-
}
|
|
945
|
-
export declare namespace GeneratedPolicyResult {
|
|
946
|
-
|
|
947
|
-
const filterSensitiveLog: (obj: GeneratedPolicyResult) => any;
|
|
948
|
-
}
|
|
949
|
-
export declare enum JobErrorCode {
|
|
950
|
-
AUTHORIZATION_ERROR = "AUTHORIZATION_ERROR",
|
|
951
|
-
RESOURCE_NOT_FOUND_ERROR = "RESOURCE_NOT_FOUND_ERROR",
|
|
952
|
-
SERVICE_ERROR = "SERVICE_ERROR",
|
|
953
|
-
SERVICE_QUOTA_EXCEEDED_ERROR = "SERVICE_QUOTA_EXCEEDED_ERROR"
|
|
954
|
-
}
|
|
955
|
-
|
|
956
|
-
export interface JobError {
|
|
957
|
-
|
|
958
|
-
code: JobErrorCode | string | undefined;
|
|
959
|
-
|
|
960
|
-
message: string | undefined;
|
|
961
|
-
}
|
|
962
|
-
export declare namespace JobError {
|
|
963
|
-
|
|
964
|
-
const filterSensitiveLog: (obj: JobError) => any;
|
|
965
|
-
}
|
|
966
|
-
export declare enum JobStatus {
|
|
967
|
-
CANCELED = "CANCELED",
|
|
968
|
-
FAILED = "FAILED",
|
|
969
|
-
IN_PROGRESS = "IN_PROGRESS",
|
|
970
|
-
SUCCEEDED = "SUCCEEDED"
|
|
971
|
-
}
|
|
972
|
-
|
|
973
|
-
export interface JobDetails {
|
|
974
|
-
|
|
975
|
-
jobId: string | undefined;
|
|
976
|
-
|
|
977
|
-
status: JobStatus | string | undefined;
|
|
978
|
-
|
|
979
|
-
startedOn: Date | undefined;
|
|
980
|
-
|
|
981
|
-
completedOn?: Date;
|
|
982
|
-
|
|
983
|
-
jobError?: JobError;
|
|
984
|
-
}
|
|
985
|
-
export declare namespace JobDetails {
|
|
986
|
-
|
|
987
|
-
const filterSensitiveLog: (obj: JobDetails) => any;
|
|
988
|
-
}
|
|
989
|
-
export interface GetGeneratedPolicyResponse {
|
|
990
|
-
|
|
991
|
-
jobDetails: JobDetails | undefined;
|
|
992
|
-
|
|
993
|
-
generatedPolicyResult: GeneratedPolicyResult | undefined;
|
|
994
|
-
}
|
|
995
|
-
export declare namespace GetGeneratedPolicyResponse {
|
|
996
|
-
|
|
997
|
-
const filterSensitiveLog: (obj: GetGeneratedPolicyResponse) => any;
|
|
998
|
-
}
|
|
999
|
-
export interface ListAccessPreviewFindingsRequest {
|
|
1000
|
-
|
|
1001
|
-
accessPreviewId: string | undefined;
|
|
1002
|
-
|
|
1003
|
-
analyzerArn: string | undefined;
|
|
1004
|
-
|
|
1005
|
-
filter?: {
|
|
1006
|
-
[key: string]: Criterion;
|
|
1007
|
-
};
|
|
1008
|
-
|
|
1009
|
-
nextToken?: string;
|
|
1010
|
-
|
|
1011
|
-
maxResults?: number;
|
|
1012
|
-
}
|
|
1013
|
-
export declare namespace ListAccessPreviewFindingsRequest {
|
|
1014
|
-
|
|
1015
|
-
const filterSensitiveLog: (obj: ListAccessPreviewFindingsRequest) => any;
|
|
1016
|
-
}
|
|
1017
|
-
export declare enum FindingChangeType {
|
|
1018
|
-
CHANGED = "CHANGED",
|
|
1019
|
-
NEW = "NEW",
|
|
1020
|
-
UNCHANGED = "UNCHANGED"
|
|
1021
|
-
}
|
|
1022
|
-
|
|
1023
|
-
export interface AccessPreviewFinding {
|
|
1024
|
-
|
|
1025
|
-
id: string | undefined;
|
|
1026
|
-
|
|
1027
|
-
existingFindingId?: string;
|
|
1028
|
-
|
|
1029
|
-
existingFindingStatus?: FindingStatus | string;
|
|
1030
|
-
|
|
1031
|
-
principal?: {
|
|
1032
|
-
[key: string]: string;
|
|
1033
|
-
};
|
|
1034
|
-
|
|
1035
|
-
action?: string[];
|
|
1036
|
-
|
|
1037
|
-
condition?: {
|
|
1038
|
-
[key: string]: string;
|
|
1039
|
-
};
|
|
1040
|
-
|
|
1041
|
-
resource?: string;
|
|
1042
|
-
|
|
1043
|
-
isPublic?: boolean;
|
|
1044
|
-
|
|
1045
|
-
resourceType: ResourceType | string | undefined;
|
|
1046
|
-
|
|
1047
|
-
createdAt: Date | undefined;
|
|
1048
|
-
|
|
1049
|
-
changeType: FindingChangeType | string | undefined;
|
|
1050
|
-
|
|
1051
|
-
status: FindingStatus | string | undefined;
|
|
1052
|
-
|
|
1053
|
-
resourceOwnerAccount: string | undefined;
|
|
1054
|
-
|
|
1055
|
-
error?: string;
|
|
1056
|
-
|
|
1057
|
-
sources?: FindingSource[];
|
|
1058
|
-
}
|
|
1059
|
-
export declare namespace AccessPreviewFinding {
|
|
1060
|
-
|
|
1061
|
-
const filterSensitiveLog: (obj: AccessPreviewFinding) => any;
|
|
1062
|
-
}
|
|
1063
|
-
export interface ListAccessPreviewFindingsResponse {
|
|
1064
|
-
|
|
1065
|
-
findings: AccessPreviewFinding[] | undefined;
|
|
1066
|
-
|
|
1067
|
-
nextToken?: string;
|
|
1068
|
-
}
|
|
1069
|
-
export declare namespace ListAccessPreviewFindingsResponse {
|
|
1070
|
-
|
|
1071
|
-
const filterSensitiveLog: (obj: ListAccessPreviewFindingsResponse) => any;
|
|
1072
|
-
}
|
|
1073
|
-
export interface ListAccessPreviewsRequest {
|
|
1074
|
-
|
|
1075
|
-
analyzerArn: string | undefined;
|
|
1076
|
-
|
|
1077
|
-
nextToken?: string;
|
|
1078
|
-
|
|
1079
|
-
maxResults?: number;
|
|
1080
|
-
}
|
|
1081
|
-
export declare namespace ListAccessPreviewsRequest {
|
|
1082
|
-
|
|
1083
|
-
const filterSensitiveLog: (obj: ListAccessPreviewsRequest) => any;
|
|
1084
|
-
}
|
|
1085
|
-
|
|
1086
|
-
export interface AccessPreviewSummary {
|
|
1087
|
-
|
|
1088
|
-
id: string | undefined;
|
|
1089
|
-
|
|
1090
|
-
analyzerArn: string | undefined;
|
|
1091
|
-
|
|
1092
|
-
createdAt: Date | undefined;
|
|
1093
|
-
|
|
1094
|
-
status: AccessPreviewStatus | string | undefined;
|
|
1095
|
-
|
|
1096
|
-
statusReason?: AccessPreviewStatusReason;
|
|
1097
|
-
}
|
|
1098
|
-
export declare namespace AccessPreviewSummary {
|
|
1099
|
-
|
|
1100
|
-
const filterSensitiveLog: (obj: AccessPreviewSummary) => any;
|
|
1101
|
-
}
|
|
1102
|
-
export interface ListAccessPreviewsResponse {
|
|
1103
|
-
|
|
1104
|
-
accessPreviews: AccessPreviewSummary[] | undefined;
|
|
1105
|
-
|
|
1106
|
-
nextToken?: string;
|
|
1107
|
-
}
|
|
1108
|
-
export declare namespace ListAccessPreviewsResponse {
|
|
1109
|
-
|
|
1110
|
-
const filterSensitiveLog: (obj: ListAccessPreviewsResponse) => any;
|
|
1111
|
-
}
|
|
1112
|
-
|
|
1113
|
-
export interface ListAnalyzedResourcesRequest {
|
|
1114
|
-
|
|
1115
|
-
analyzerArn: string | undefined;
|
|
1116
|
-
|
|
1117
|
-
resourceType?: ResourceType | string;
|
|
1118
|
-
|
|
1119
|
-
nextToken?: string;
|
|
1120
|
-
|
|
1121
|
-
maxResults?: number;
|
|
1122
|
-
}
|
|
1123
|
-
export declare namespace ListAnalyzedResourcesRequest {
|
|
1124
|
-
|
|
1125
|
-
const filterSensitiveLog: (obj: ListAnalyzedResourcesRequest) => any;
|
|
1126
|
-
}
|
|
1127
|
-
|
|
1128
|
-
export interface AnalyzedResourceSummary {
|
|
1129
|
-
|
|
1130
|
-
resourceArn: string | undefined;
|
|
1131
|
-
|
|
1132
|
-
resourceOwnerAccount: string | undefined;
|
|
1133
|
-
|
|
1134
|
-
resourceType: ResourceType | string | undefined;
|
|
1135
|
-
}
|
|
1136
|
-
export declare namespace AnalyzedResourceSummary {
|
|
1137
|
-
|
|
1138
|
-
const filterSensitiveLog: (obj: AnalyzedResourceSummary) => any;
|
|
1139
|
-
}
|
|
1140
|
-
|
|
1141
|
-
export interface ListAnalyzedResourcesResponse {
|
|
1142
|
-
|
|
1143
|
-
analyzedResources: AnalyzedResourceSummary[] | undefined;
|
|
1144
|
-
|
|
1145
|
-
nextToken?: string;
|
|
1146
|
-
}
|
|
1147
|
-
export declare namespace ListAnalyzedResourcesResponse {
|
|
1148
|
-
|
|
1149
|
-
const filterSensitiveLog: (obj: ListAnalyzedResourcesResponse) => any;
|
|
1150
|
-
}
|
|
1151
|
-
export declare type OrderBy = "ASC" | "DESC";
|
|
1152
|
-
|
|
1153
|
-
export interface SortCriteria {
|
|
1154
|
-
|
|
1155
|
-
attributeName?: string;
|
|
1156
|
-
|
|
1157
|
-
orderBy?: OrderBy | string;
|
|
1158
|
-
}
|
|
1159
|
-
export declare namespace SortCriteria {
|
|
1160
|
-
|
|
1161
|
-
const filterSensitiveLog: (obj: SortCriteria) => any;
|
|
1162
|
-
}
|
|
1163
|
-
|
|
1164
|
-
export interface ListFindingsRequest {
|
|
1165
|
-
|
|
1166
|
-
analyzerArn: string | undefined;
|
|
1167
|
-
|
|
1168
|
-
filter?: {
|
|
1169
|
-
[key: string]: Criterion;
|
|
1170
|
-
};
|
|
1171
|
-
|
|
1172
|
-
sort?: SortCriteria;
|
|
1173
|
-
|
|
1174
|
-
nextToken?: string;
|
|
1175
|
-
|
|
1176
|
-
maxResults?: number;
|
|
1177
|
-
}
|
|
1178
|
-
export declare namespace ListFindingsRequest {
|
|
1179
|
-
|
|
1180
|
-
const filterSensitiveLog: (obj: ListFindingsRequest) => any;
|
|
1181
|
-
}
|
|
1182
|
-
|
|
1183
|
-
export interface FindingSummary {
|
|
1184
|
-
|
|
1185
|
-
id: string | undefined;
|
|
1186
|
-
|
|
1187
|
-
principal?: {
|
|
1188
|
-
[key: string]: string;
|
|
1189
|
-
};
|
|
1190
|
-
|
|
1191
|
-
action?: string[];
|
|
1192
|
-
|
|
1193
|
-
resource?: string;
|
|
1194
|
-
|
|
1195
|
-
isPublic?: boolean;
|
|
1196
|
-
|
|
1197
|
-
resourceType: ResourceType | string | undefined;
|
|
1198
|
-
|
|
1199
|
-
condition: {
|
|
1200
|
-
[key: string]: string;
|
|
1201
|
-
} | undefined;
|
|
1202
|
-
|
|
1203
|
-
createdAt: Date | undefined;
|
|
1204
|
-
|
|
1205
|
-
analyzedAt: Date | undefined;
|
|
1206
|
-
|
|
1207
|
-
updatedAt: Date | undefined;
|
|
1208
|
-
|
|
1209
|
-
status: FindingStatus | string | undefined;
|
|
1210
|
-
|
|
1211
|
-
resourceOwnerAccount: string | undefined;
|
|
1212
|
-
|
|
1213
|
-
error?: string;
|
|
1214
|
-
|
|
1215
|
-
sources?: FindingSource[];
|
|
1216
|
-
}
|
|
1217
|
-
export declare namespace FindingSummary {
|
|
1218
|
-
|
|
1219
|
-
const filterSensitiveLog: (obj: FindingSummary) => any;
|
|
1220
|
-
}
|
|
1221
|
-
|
|
1222
|
-
export interface ListFindingsResponse {
|
|
1223
|
-
|
|
1224
|
-
findings: FindingSummary[] | undefined;
|
|
1225
|
-
|
|
1226
|
-
nextToken?: string;
|
|
1227
|
-
}
|
|
1228
|
-
export declare namespace ListFindingsResponse {
|
|
1229
|
-
|
|
1230
|
-
const filterSensitiveLog: (obj: ListFindingsResponse) => any;
|
|
1231
|
-
}
|
|
1232
|
-
export interface ListPolicyGenerationsRequest {
|
|
1233
|
-
|
|
1234
|
-
principalArn?: string;
|
|
1235
|
-
|
|
1236
|
-
maxResults?: number;
|
|
1237
|
-
|
|
1238
|
-
nextToken?: string;
|
|
1239
|
-
}
|
|
1240
|
-
export declare namespace ListPolicyGenerationsRequest {
|
|
1241
|
-
|
|
1242
|
-
const filterSensitiveLog: (obj: ListPolicyGenerationsRequest) => any;
|
|
1243
|
-
}
|
|
1244
|
-
|
|
1245
|
-
export interface PolicyGeneration {
|
|
1246
|
-
|
|
1247
|
-
jobId: string | undefined;
|
|
1248
|
-
|
|
1249
|
-
principalArn: string | undefined;
|
|
1250
|
-
|
|
1251
|
-
status: JobStatus | string | undefined;
|
|
1252
|
-
|
|
1253
|
-
startedOn: Date | undefined;
|
|
1254
|
-
|
|
1255
|
-
completedOn?: Date;
|
|
1256
|
-
}
|
|
1257
|
-
export declare namespace PolicyGeneration {
|
|
1258
|
-
|
|
1259
|
-
const filterSensitiveLog: (obj: PolicyGeneration) => any;
|
|
1260
|
-
}
|
|
1261
|
-
export interface ListPolicyGenerationsResponse {
|
|
1262
|
-
|
|
1263
|
-
policyGenerations: PolicyGeneration[] | undefined;
|
|
1264
|
-
|
|
1265
|
-
nextToken?: string;
|
|
1266
|
-
}
|
|
1267
|
-
export declare namespace ListPolicyGenerationsResponse {
|
|
1268
|
-
|
|
1269
|
-
const filterSensitiveLog: (obj: ListPolicyGenerationsResponse) => any;
|
|
1270
|
-
}
|
|
1271
|
-
|
|
1272
|
-
export interface ListTagsForResourceRequest {
|
|
1273
|
-
|
|
1274
|
-
resourceArn: string | undefined;
|
|
1275
|
-
}
|
|
1276
|
-
export declare namespace ListTagsForResourceRequest {
|
|
1277
|
-
|
|
1278
|
-
const filterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
|
|
1279
|
-
}
|
|
1280
|
-
|
|
1281
|
-
export interface ListTagsForResourceResponse {
|
|
1282
|
-
|
|
1283
|
-
tags?: {
|
|
1284
|
-
[key: string]: string;
|
|
1285
|
-
};
|
|
1286
|
-
}
|
|
1287
|
-
export declare namespace ListTagsForResourceResponse {
|
|
1288
|
-
|
|
1289
|
-
const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
|
|
1290
|
-
}
|
|
1291
|
-
|
|
1292
|
-
export interface Trail {
|
|
1293
|
-
|
|
1294
|
-
cloudTrailArn: string | undefined;
|
|
1295
|
-
|
|
1296
|
-
regions?: string[];
|
|
1297
|
-
|
|
1298
|
-
allRegions?: boolean;
|
|
1299
|
-
}
|
|
1300
|
-
export declare namespace Trail {
|
|
1301
|
-
|
|
1302
|
-
const filterSensitiveLog: (obj: Trail) => any;
|
|
1303
|
-
}
|
|
1304
|
-
|
|
1305
|
-
export interface CloudTrailDetails {
|
|
1306
|
-
|
|
1307
|
-
trails: Trail[] | undefined;
|
|
1308
|
-
|
|
1309
|
-
accessRole: string | undefined;
|
|
1310
|
-
|
|
1311
|
-
startTime: Date | undefined;
|
|
1312
|
-
|
|
1313
|
-
endTime?: Date;
|
|
1314
|
-
}
|
|
1315
|
-
export declare namespace CloudTrailDetails {
|
|
1316
|
-
|
|
1317
|
-
const filterSensitiveLog: (obj: CloudTrailDetails) => any;
|
|
1318
|
-
}
|
|
1319
|
-
|
|
1320
|
-
export interface PolicyGenerationDetails {
|
|
1321
|
-
|
|
1322
|
-
principalArn: string | undefined;
|
|
1323
|
-
}
|
|
1324
|
-
export declare namespace PolicyGenerationDetails {
|
|
1325
|
-
|
|
1326
|
-
const filterSensitiveLog: (obj: PolicyGenerationDetails) => any;
|
|
1327
|
-
}
|
|
1328
|
-
export interface StartPolicyGenerationRequest {
|
|
1329
|
-
|
|
1330
|
-
policyGenerationDetails: PolicyGenerationDetails | undefined;
|
|
1331
|
-
|
|
1332
|
-
cloudTrailDetails?: CloudTrailDetails;
|
|
1333
|
-
|
|
1334
|
-
clientToken?: string;
|
|
1335
|
-
}
|
|
1336
|
-
export declare namespace StartPolicyGenerationRequest {
|
|
1337
|
-
|
|
1338
|
-
const filterSensitiveLog: (obj: StartPolicyGenerationRequest) => any;
|
|
1339
|
-
}
|
|
1340
|
-
export interface StartPolicyGenerationResponse {
|
|
1341
|
-
|
|
1342
|
-
jobId: string | undefined;
|
|
1343
|
-
}
|
|
1344
|
-
export declare namespace StartPolicyGenerationResponse {
|
|
1345
|
-
|
|
1346
|
-
const filterSensitiveLog: (obj: StartPolicyGenerationResponse) => any;
|
|
1347
|
-
}
|
|
1348
|
-
|
|
1349
|
-
export interface StartResourceScanRequest {
|
|
1350
|
-
|
|
1351
|
-
analyzerArn: string | undefined;
|
|
1352
|
-
|
|
1353
|
-
resourceArn: string | undefined;
|
|
1354
|
-
}
|
|
1355
|
-
export declare namespace StartResourceScanRequest {
|
|
1356
|
-
|
|
1357
|
-
const filterSensitiveLog: (obj: StartResourceScanRequest) => any;
|
|
1358
|
-
}
|
|
1359
|
-
|
|
1360
|
-
export interface TagResourceRequest {
|
|
1361
|
-
|
|
1362
|
-
resourceArn: string | undefined;
|
|
1363
|
-
|
|
1364
|
-
tags: {
|
|
1365
|
-
[key: string]: string;
|
|
1366
|
-
} | undefined;
|
|
1367
|
-
}
|
|
1368
|
-
export declare namespace TagResourceRequest {
|
|
1369
|
-
|
|
1370
|
-
const filterSensitiveLog: (obj: TagResourceRequest) => any;
|
|
1371
|
-
}
|
|
1372
|
-
|
|
1373
|
-
export interface TagResourceResponse {
|
|
1374
|
-
}
|
|
1375
|
-
export declare namespace TagResourceResponse {
|
|
1376
|
-
|
|
1377
|
-
const filterSensitiveLog: (obj: TagResourceResponse) => any;
|
|
1378
|
-
}
|
|
1379
|
-
|
|
1380
|
-
export interface UntagResourceRequest {
|
|
1381
|
-
|
|
1382
|
-
resourceArn: string | undefined;
|
|
1383
|
-
|
|
1384
|
-
tagKeys: string[] | undefined;
|
|
1385
|
-
}
|
|
1386
|
-
export declare namespace UntagResourceRequest {
|
|
1387
|
-
|
|
1388
|
-
const filterSensitiveLog: (obj: UntagResourceRequest) => any;
|
|
1389
|
-
}
|
|
1390
|
-
|
|
1391
|
-
export interface UntagResourceResponse {
|
|
1392
|
-
}
|
|
1393
|
-
export declare namespace UntagResourceResponse {
|
|
1394
|
-
|
|
1395
|
-
const filterSensitiveLog: (obj: UntagResourceResponse) => any;
|
|
1396
|
-
}
|
|
1397
|
-
export declare type FindingStatusUpdate = "ACTIVE" | "ARCHIVED";
|
|
1398
|
-
|
|
1399
|
-
export interface UpdateFindingsRequest {
|
|
1400
|
-
|
|
1401
|
-
analyzerArn: string | undefined;
|
|
1402
|
-
|
|
1403
|
-
status: FindingStatusUpdate | string | undefined;
|
|
1404
|
-
|
|
1405
|
-
ids?: string[];
|
|
1406
|
-
|
|
1407
|
-
resourceArn?: string;
|
|
1408
|
-
|
|
1409
|
-
clientToken?: string;
|
|
1410
|
-
}
|
|
1411
|
-
export declare namespace UpdateFindingsRequest {
|
|
1412
|
-
|
|
1413
|
-
const filterSensitiveLog: (obj: UpdateFindingsRequest) => any;
|
|
1414
|
-
}
|
|
1415
|
-
export declare enum Locale {
|
|
1416
|
-
DE = "DE",
|
|
1417
|
-
EN = "EN",
|
|
1418
|
-
ES = "ES",
|
|
1419
|
-
FR = "FR",
|
|
1420
|
-
IT = "IT",
|
|
1421
|
-
JA = "JA",
|
|
1422
|
-
KO = "KO",
|
|
1423
|
-
PT_BR = "PT_BR",
|
|
1424
|
-
ZH_CN = "ZH_CN",
|
|
1425
|
-
ZH_TW = "ZH_TW"
|
|
1426
|
-
}
|
|
1427
|
-
export declare enum PolicyType {
|
|
1428
|
-
IDENTITY_POLICY = "IDENTITY_POLICY",
|
|
1429
|
-
RESOURCE_POLICY = "RESOURCE_POLICY",
|
|
1430
|
-
SERVICE_CONTROL_POLICY = "SERVICE_CONTROL_POLICY"
|
|
1431
|
-
}
|
|
1432
|
-
export declare enum ValidatePolicyResourceType {
|
|
1433
|
-
S3_ACCESS_POINT = "AWS::S3::AccessPoint",
|
|
1434
|
-
S3_BUCKET = "AWS::S3::Bucket",
|
|
1435
|
-
S3_MULTI_REGION_ACCESS_POINT = "AWS::S3::MultiRegionAccessPoint",
|
|
1436
|
-
S3_OBJECT_LAMBDA_ACCESS_POINT = "AWS::S3ObjectLambda::AccessPoint"
|
|
1437
|
-
}
|
|
1438
|
-
export interface ValidatePolicyRequest {
|
|
1439
|
-
|
|
1440
|
-
locale?: Locale | string;
|
|
1441
|
-
|
|
1442
|
-
maxResults?: number;
|
|
1443
|
-
|
|
1444
|
-
nextToken?: string;
|
|
1445
|
-
|
|
1446
|
-
policyDocument: string | undefined;
|
|
1447
|
-
|
|
1448
|
-
policyType: PolicyType | string | undefined;
|
|
1449
|
-
|
|
1450
|
-
validatePolicyResourceType?: ValidatePolicyResourceType | string;
|
|
1451
|
-
}
|
|
1452
|
-
export declare namespace ValidatePolicyRequest {
|
|
1453
|
-
|
|
1454
|
-
const filterSensitiveLog: (obj: ValidatePolicyRequest) => any;
|
|
1455
|
-
}
|
|
1456
|
-
export declare enum ValidatePolicyFindingType {
|
|
1457
|
-
ERROR = "ERROR",
|
|
1458
|
-
SECURITY_WARNING = "SECURITY_WARNING",
|
|
1459
|
-
SUGGESTION = "SUGGESTION",
|
|
1460
|
-
WARNING = "WARNING"
|
|
1461
|
-
}
|
|
1462
|
-
|
|
1463
|
-
export interface Substring {
|
|
1464
|
-
|
|
1465
|
-
start: number | undefined;
|
|
1466
|
-
|
|
1467
|
-
length: number | undefined;
|
|
1468
|
-
}
|
|
1469
|
-
export declare namespace Substring {
|
|
1470
|
-
|
|
1471
|
-
const filterSensitiveLog: (obj: Substring) => any;
|
|
1472
|
-
}
|
|
1473
|
-
|
|
1474
|
-
export declare type PathElement = PathElement.IndexMember | PathElement.KeyMember | PathElement.SubstringMember | PathElement.ValueMember | PathElement.$UnknownMember;
|
|
1475
|
-
export declare namespace PathElement {
|
|
1476
|
-
|
|
1477
|
-
interface IndexMember {
|
|
1478
|
-
index: number;
|
|
1479
|
-
key?: never;
|
|
1480
|
-
substring?: never;
|
|
1481
|
-
value?: never;
|
|
1482
|
-
$unknown?: never;
|
|
1483
|
-
}
|
|
1484
|
-
|
|
1485
|
-
interface KeyMember {
|
|
1486
|
-
index?: never;
|
|
1487
|
-
key: string;
|
|
1488
|
-
substring?: never;
|
|
1489
|
-
value?: never;
|
|
1490
|
-
$unknown?: never;
|
|
1491
|
-
}
|
|
1492
|
-
|
|
1493
|
-
interface SubstringMember {
|
|
1494
|
-
index?: never;
|
|
1495
|
-
key?: never;
|
|
1496
|
-
substring: Substring;
|
|
1497
|
-
value?: never;
|
|
1498
|
-
$unknown?: never;
|
|
1499
|
-
}
|
|
1500
|
-
|
|
1501
|
-
interface ValueMember {
|
|
1502
|
-
index?: never;
|
|
1503
|
-
key?: never;
|
|
1504
|
-
substring?: never;
|
|
1505
|
-
value: string;
|
|
1506
|
-
$unknown?: never;
|
|
1507
|
-
}
|
|
1508
|
-
interface $UnknownMember {
|
|
1509
|
-
index?: never;
|
|
1510
|
-
key?: never;
|
|
1511
|
-
substring?: never;
|
|
1512
|
-
value?: never;
|
|
1513
|
-
$unknown: [
|
|
1514
|
-
string,
|
|
1515
|
-
any
|
|
1516
|
-
];
|
|
1517
|
-
}
|
|
1518
|
-
interface Visitor<T> {
|
|
1519
|
-
index: (value: number) => T;
|
|
1520
|
-
key: (value: string) => T;
|
|
1521
|
-
substring: (value: Substring) => T;
|
|
1522
|
-
value: (value: string) => T;
|
|
1523
|
-
_: (name: string, value: any) => T;
|
|
1524
|
-
}
|
|
1525
|
-
const visit: <T>(value: PathElement, visitor: Visitor<T>) => T;
|
|
1526
|
-
|
|
1527
|
-
const filterSensitiveLog: (obj: PathElement) => any;
|
|
1528
|
-
}
|
|
1529
|
-
|
|
1530
|
-
export interface Position {
|
|
1531
|
-
|
|
1532
|
-
line: number | undefined;
|
|
1533
|
-
|
|
1534
|
-
column: number | undefined;
|
|
1535
|
-
|
|
1536
|
-
offset: number | undefined;
|
|
1537
|
-
}
|
|
1538
|
-
export declare namespace Position {
|
|
1539
|
-
|
|
1540
|
-
const filterSensitiveLog: (obj: Position) => any;
|
|
1541
|
-
}
|
|
1542
|
-
|
|
1543
|
-
export interface Span {
|
|
1544
|
-
|
|
1545
|
-
start: Position | undefined;
|
|
1546
|
-
|
|
1547
|
-
end: Position | undefined;
|
|
1548
|
-
}
|
|
1549
|
-
export declare namespace Span {
|
|
1550
|
-
|
|
1551
|
-
const filterSensitiveLog: (obj: Span) => any;
|
|
1552
|
-
}
|
|
1553
|
-
|
|
1554
|
-
export interface Location {
|
|
1555
|
-
|
|
1556
|
-
path: PathElement[] | undefined;
|
|
1557
|
-
|
|
1558
|
-
span: Span | undefined;
|
|
1559
|
-
}
|
|
1560
|
-
export declare namespace Location {
|
|
1561
|
-
|
|
1562
|
-
const filterSensitiveLog: (obj: Location) => any;
|
|
1563
|
-
}
|
|
1564
|
-
|
|
1565
|
-
export interface ValidatePolicyFinding {
|
|
1566
|
-
|
|
1567
|
-
findingDetails: string | undefined;
|
|
1568
|
-
|
|
1569
|
-
findingType: ValidatePolicyFindingType | string | undefined;
|
|
1570
|
-
|
|
1571
|
-
issueCode: string | undefined;
|
|
1572
|
-
|
|
1573
|
-
learnMoreLink: string | undefined;
|
|
1574
|
-
|
|
1575
|
-
locations: Location[] | undefined;
|
|
1576
|
-
}
|
|
1577
|
-
export declare namespace ValidatePolicyFinding {
|
|
1578
|
-
|
|
1579
|
-
const filterSensitiveLog: (obj: ValidatePolicyFinding) => any;
|
|
1580
|
-
}
|
|
1581
|
-
export interface ValidatePolicyResponse {
|
|
1582
|
-
|
|
1583
|
-
findings: ValidatePolicyFinding[] | undefined;
|
|
1584
|
-
|
|
1585
|
-
nextToken?: string;
|
|
1586
|
-
}
|
|
1587
|
-
export declare namespace ValidatePolicyResponse {
|
|
1588
|
-
|
|
1589
|
-
const filterSensitiveLog: (obj: ValidatePolicyResponse) => any;
|
|
1590
|
-
}
|