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