@aws-sdk/client-accessanalyzer 3.687.0 → 3.692.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/README.md +8 -0
- package/dist-cjs/index.js +58 -0
- package/dist-es/AccessAnalyzer.js +2 -0
- package/dist-es/commands/UpdateAnalyzerCommand.js +22 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +31 -0
- package/dist-types/AccessAnalyzer.d.ts +7 -0
- package/dist-types/AccessAnalyzerClient.d.ts +3 -2
- package/dist-types/commands/CreateAnalyzerCommand.d.ts +14 -0
- package/dist-types/commands/GetAnalyzerCommand.d.ts +14 -0
- package/dist-types/commands/GetFindingCommand.d.ts +1 -0
- package/dist-types/commands/GetFindingV2Command.d.ts +1 -0
- package/dist-types/commands/ListAccessPreviewFindingsCommand.d.ts +1 -0
- package/dist-types/commands/ListAnalyzedResourcesCommand.d.ts +1 -2
- package/dist-types/commands/ListAnalyzersCommand.d.ts +14 -0
- package/dist-types/commands/ListFindingsCommand.d.ts +1 -0
- package/dist-types/commands/UpdateAnalyzerCommand.d.ts +126 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +326 -207
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/AccessAnalyzer.d.ts +17 -0
- package/dist-types/ts3.4/AccessAnalyzerClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/UpdateAnalyzerCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +223 -187
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +35 -35
|
@@ -11,13 +11,15 @@ export interface Access {
|
|
|
11
11
|
* in an IAM policy can be used in the list of actions to check.</p>
|
|
12
12
|
* @public
|
|
13
13
|
*/
|
|
14
|
-
actions?: string[];
|
|
14
|
+
actions?: string[] | undefined;
|
|
15
15
|
/**
|
|
16
|
-
* <p>A list of resources for the access permissions. Any strings that can be used as
|
|
17
|
-
*
|
|
16
|
+
* <p>A list of resources for the access permissions. Any strings that can be used as an
|
|
17
|
+
* Amazon Resource Name (ARN) in an IAM policy can be used in the list of resources to
|
|
18
|
+
* check. You can only use a wildcard in the portion of the ARN that specifies the resource
|
|
19
|
+
* ID.</p>
|
|
18
20
|
* @public
|
|
19
21
|
*/
|
|
20
|
-
resources?: string[];
|
|
22
|
+
resources?: string[] | undefined;
|
|
21
23
|
}
|
|
22
24
|
/**
|
|
23
25
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
@@ -64,22 +66,22 @@ export interface Criterion {
|
|
|
64
66
|
* <p>An "equals" operator to match for the filter used to create the rule.</p>
|
|
65
67
|
* @public
|
|
66
68
|
*/
|
|
67
|
-
eq?: string[];
|
|
69
|
+
eq?: string[] | undefined;
|
|
68
70
|
/**
|
|
69
71
|
* <p>A "not equals" operator to match for the filter used to create the rule.</p>
|
|
70
72
|
* @public
|
|
71
73
|
*/
|
|
72
|
-
neq?: string[];
|
|
74
|
+
neq?: string[] | undefined;
|
|
73
75
|
/**
|
|
74
76
|
* <p>A "contains" operator to match for the filter used to create the rule.</p>
|
|
75
77
|
* @public
|
|
76
78
|
*/
|
|
77
|
-
contains?: string[];
|
|
79
|
+
contains?: string[] | undefined;
|
|
78
80
|
/**
|
|
79
81
|
* <p>An "exists" operator to match for the filter used to create the rule. </p>
|
|
80
82
|
* @public
|
|
81
83
|
*/
|
|
82
|
-
exists?: boolean;
|
|
84
|
+
exists?: boolean | undefined;
|
|
83
85
|
}
|
|
84
86
|
/**
|
|
85
87
|
* <p>Creates an archive rule.</p>
|
|
@@ -105,7 +107,7 @@ export interface CreateArchiveRuleRequest {
|
|
|
105
107
|
* <p>A client token.</p>
|
|
106
108
|
* @public
|
|
107
109
|
*/
|
|
108
|
-
clientToken?: string;
|
|
110
|
+
clientToken?: string | undefined;
|
|
109
111
|
}
|
|
110
112
|
/**
|
|
111
113
|
* <p>Internal server error.</p>
|
|
@@ -119,7 +121,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
119
121
|
* <p>The seconds to wait to retry.</p>
|
|
120
122
|
* @public
|
|
121
123
|
*/
|
|
122
|
-
retryAfterSeconds?: number;
|
|
124
|
+
retryAfterSeconds?: number | undefined;
|
|
123
125
|
/**
|
|
124
126
|
* @internal
|
|
125
127
|
*/
|
|
@@ -183,7 +185,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
183
185
|
* <p>The seconds to wait to retry.</p>
|
|
184
186
|
* @public
|
|
185
187
|
*/
|
|
186
|
-
retryAfterSeconds?: number;
|
|
188
|
+
retryAfterSeconds?: number | undefined;
|
|
187
189
|
/**
|
|
188
190
|
* @internal
|
|
189
191
|
*/
|
|
@@ -236,7 +238,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
236
238
|
* <p>A list of fields that didn't validate.</p>
|
|
237
239
|
* @public
|
|
238
240
|
*/
|
|
239
|
-
fieldList?: ValidationExceptionField[];
|
|
241
|
+
fieldList?: ValidationExceptionField[] | undefined;
|
|
240
242
|
/**
|
|
241
243
|
* @internal
|
|
242
244
|
*/
|
|
@@ -261,7 +263,7 @@ export interface DeleteArchiveRuleRequest {
|
|
|
261
263
|
* <p>A client token.</p>
|
|
262
264
|
* @public
|
|
263
265
|
*/
|
|
264
|
-
clientToken?: string;
|
|
266
|
+
clientToken?: string | undefined;
|
|
265
267
|
}
|
|
266
268
|
/**
|
|
267
269
|
* <p>Retrieves an archive rule.</p>
|
|
@@ -280,7 +282,8 @@ export interface GetArchiveRuleRequest {
|
|
|
280
282
|
ruleName: string | undefined;
|
|
281
283
|
}
|
|
282
284
|
/**
|
|
283
|
-
* <p>Contains information about an archive rule
|
|
285
|
+
* <p>Contains information about an archive rule. Archive rules automatically archive new
|
|
286
|
+
* findings that meet the criteria you define when you create the rule.</p>
|
|
284
287
|
* @public
|
|
285
288
|
*/
|
|
286
289
|
export interface ArchiveRuleSummary {
|
|
@@ -311,7 +314,8 @@ export interface ArchiveRuleSummary {
|
|
|
311
314
|
*/
|
|
312
315
|
export interface GetArchiveRuleResponse {
|
|
313
316
|
/**
|
|
314
|
-
* <p>Contains information about an archive rule
|
|
317
|
+
* <p>Contains information about an archive rule. Archive rules automatically archive new
|
|
318
|
+
* findings that meet the criteria you define when you create the rule.</p>
|
|
315
319
|
* @public
|
|
316
320
|
*/
|
|
317
321
|
archiveRule: ArchiveRuleSummary | undefined;
|
|
@@ -330,12 +334,12 @@ export interface ListArchiveRulesRequest {
|
|
|
330
334
|
* <p>A token used for pagination of results returned.</p>
|
|
331
335
|
* @public
|
|
332
336
|
*/
|
|
333
|
-
nextToken?: string;
|
|
337
|
+
nextToken?: string | undefined;
|
|
334
338
|
/**
|
|
335
339
|
* <p>The maximum number of results to return in the request.</p>
|
|
336
340
|
* @public
|
|
337
341
|
*/
|
|
338
|
-
maxResults?: number;
|
|
342
|
+
maxResults?: number | undefined;
|
|
339
343
|
}
|
|
340
344
|
/**
|
|
341
345
|
* <p>The response to the request.</p>
|
|
@@ -351,7 +355,7 @@ export interface ListArchiveRulesResponse {
|
|
|
351
355
|
* <p>A token used for pagination of results returned.</p>
|
|
352
356
|
* @public
|
|
353
357
|
*/
|
|
354
|
-
nextToken?: string;
|
|
358
|
+
nextToken?: string | undefined;
|
|
355
359
|
}
|
|
356
360
|
/**
|
|
357
361
|
* <p>Updates the specified archive rule.</p>
|
|
@@ -378,7 +382,7 @@ export interface UpdateArchiveRuleRequest {
|
|
|
378
382
|
* <p>A client token.</p>
|
|
379
383
|
* @public
|
|
380
384
|
*/
|
|
381
|
-
clientToken?: string;
|
|
385
|
+
clientToken?: string | undefined;
|
|
382
386
|
}
|
|
383
387
|
/**
|
|
384
388
|
* <p>An criterion statement in an archive rule. Each archive rule may have multiple
|
|
@@ -397,6 +401,47 @@ export interface InlineArchiveRule {
|
|
|
397
401
|
*/
|
|
398
402
|
filter: Record<string, Criterion> | undefined;
|
|
399
403
|
}
|
|
404
|
+
/**
|
|
405
|
+
* <p>The criteria for an analysis rule for an analyzer. The criteria determine which entities
|
|
406
|
+
* will generate findings.</p>
|
|
407
|
+
* @public
|
|
408
|
+
*/
|
|
409
|
+
export interface AnalysisRuleCriteria {
|
|
410
|
+
/**
|
|
411
|
+
* <p>A list of Amazon Web Services account IDs to apply to the analysis rule criteria. The accounts cannot
|
|
412
|
+
* include the organization analyzer owner account. Account IDs can only be applied to the
|
|
413
|
+
* analysis rule criteria for organization-level analyzers. The list cannot include more than
|
|
414
|
+
* 2,000 account IDs.</p>
|
|
415
|
+
* @public
|
|
416
|
+
*/
|
|
417
|
+
accountIds?: string[] | undefined;
|
|
418
|
+
/**
|
|
419
|
+
* <p>An array of key-value pairs to match for your resources. You can use the set of Unicode
|
|
420
|
+
* letters, digits, whitespace, <code>_</code>, <code>.</code>, <code>/</code>,
|
|
421
|
+
* <code>=</code>, <code>+</code>, and <code>-</code>.</p>
|
|
422
|
+
* <p>For the tag key, you can specify a value that is 1 to 128 characters in length and
|
|
423
|
+
* cannot be prefixed with <code>aws:</code>.</p>
|
|
424
|
+
* <p>For the tag value, you can specify a value that is 0 to 256 characters in length. If the
|
|
425
|
+
* specified tag value is 0 characters, the rule is applied to all principals with the
|
|
426
|
+
* specified tag key.</p>
|
|
427
|
+
* @public
|
|
428
|
+
*/
|
|
429
|
+
resourceTags?: Record<string, string>[] | undefined;
|
|
430
|
+
}
|
|
431
|
+
/**
|
|
432
|
+
* <p>Contains information about analysis rules for the analyzer. Analysis rules determine
|
|
433
|
+
* which entities will generate findings based on the criteria you define when you create the
|
|
434
|
+
* rule.</p>
|
|
435
|
+
* @public
|
|
436
|
+
*/
|
|
437
|
+
export interface AnalysisRule {
|
|
438
|
+
/**
|
|
439
|
+
* <p>A list of rules for the analyzer containing criteria to exclude from analysis. Entities
|
|
440
|
+
* that meet the rule criteria will not generate findings.</p>
|
|
441
|
+
* @public
|
|
442
|
+
*/
|
|
443
|
+
exclusions?: AnalysisRuleCriteria[] | undefined;
|
|
444
|
+
}
|
|
400
445
|
/**
|
|
401
446
|
* <p>Contains information about an unused access analyzer.</p>
|
|
402
447
|
* @public
|
|
@@ -406,15 +451,22 @@ export interface UnusedAccessConfiguration {
|
|
|
406
451
|
* <p>The specified access age in days for which to generate findings for unused access. For
|
|
407
452
|
* example, if you specify 90 days, the analyzer will generate findings for IAM entities
|
|
408
453
|
* within the accounts of the selected organization for any access that hasn't been used in 90
|
|
409
|
-
* or more days since the analyzer's last scan. You can choose a value between 1 and
|
|
454
|
+
* or more days since the analyzer's last scan. You can choose a value between 1 and 365
|
|
410
455
|
* days.</p>
|
|
411
456
|
* @public
|
|
412
457
|
*/
|
|
413
|
-
unusedAccessAge?: number;
|
|
458
|
+
unusedAccessAge?: number | undefined;
|
|
459
|
+
/**
|
|
460
|
+
* <p>Contains information about analysis rules for the analyzer. Analysis rules determine
|
|
461
|
+
* which entities will generate findings based on the criteria you define when you create the
|
|
462
|
+
* rule.</p>
|
|
463
|
+
* @public
|
|
464
|
+
*/
|
|
465
|
+
analysisRule?: AnalysisRule | undefined;
|
|
414
466
|
}
|
|
415
467
|
/**
|
|
416
|
-
* <p>Contains information about the configuration of an
|
|
417
|
-
*
|
|
468
|
+
* <p>Contains information about the configuration of an analyzer for an Amazon Web Services organization or
|
|
469
|
+
* account.</p>
|
|
418
470
|
* @public
|
|
419
471
|
*/
|
|
420
472
|
export type AnalyzerConfiguration = AnalyzerConfiguration.UnusedAccessMember | AnalyzerConfiguration.$UnknownMember;
|
|
@@ -424,7 +476,7 @@ export type AnalyzerConfiguration = AnalyzerConfiguration.UnusedAccessMember | A
|
|
|
424
476
|
export declare namespace AnalyzerConfiguration {
|
|
425
477
|
/**
|
|
426
478
|
* <p>Specifies the configuration of an unused access analyzer for an Amazon Web Services organization or
|
|
427
|
-
* account
|
|
479
|
+
* account.</p>
|
|
428
480
|
* @public
|
|
429
481
|
*/
|
|
430
482
|
interface UnusedAccessMember {
|
|
@@ -471,24 +523,28 @@ export interface CreateAnalyzerRequest {
|
|
|
471
523
|
* findings that meet the criteria you define for the rule.</p>
|
|
472
524
|
* @public
|
|
473
525
|
*/
|
|
474
|
-
archiveRules?: InlineArchiveRule[];
|
|
526
|
+
archiveRules?: InlineArchiveRule[] | undefined;
|
|
475
527
|
/**
|
|
476
|
-
* <p>An array of key-value pairs to apply to the analyzer
|
|
528
|
+
* <p>An array of key-value pairs to apply to the analyzer. You can use the set of Unicode
|
|
529
|
+
* letters, digits, whitespace, <code>_</code>, <code>.</code>, <code>/</code>,
|
|
530
|
+
* <code>=</code>, <code>+</code>, and <code>-</code>.</p>
|
|
531
|
+
* <p>For the tag key, you can specify a value that is 1 to 128 characters in length and
|
|
532
|
+
* cannot be prefixed with <code>aws:</code>.</p>
|
|
533
|
+
* <p>For the tag value, you can specify a value that is 0 to 256 characters in length.</p>
|
|
477
534
|
* @public
|
|
478
535
|
*/
|
|
479
|
-
tags?: Record<string, string
|
|
536
|
+
tags?: Record<string, string> | undefined;
|
|
480
537
|
/**
|
|
481
538
|
* <p>A client token.</p>
|
|
482
539
|
* @public
|
|
483
540
|
*/
|
|
484
|
-
clientToken?: string;
|
|
541
|
+
clientToken?: string | undefined;
|
|
485
542
|
/**
|
|
486
543
|
* <p>Specifies the configuration of the analyzer. If the analyzer is an unused access
|
|
487
|
-
* analyzer, the specified scope of unused access is used for the configuration
|
|
488
|
-
* analyzer is an external access analyzer, this field is not used.</p>
|
|
544
|
+
* analyzer, the specified scope of unused access is used for the configuration.</p>
|
|
489
545
|
* @public
|
|
490
546
|
*/
|
|
491
|
-
configuration?: AnalyzerConfiguration;
|
|
547
|
+
configuration?: AnalyzerConfiguration | undefined;
|
|
492
548
|
}
|
|
493
549
|
/**
|
|
494
550
|
* <p>The response to the request to create an analyzer.</p>
|
|
@@ -499,7 +555,7 @@ export interface CreateAnalyzerResponse {
|
|
|
499
555
|
* <p>The ARN of the analyzer that was created by the request.</p>
|
|
500
556
|
* @public
|
|
501
557
|
*/
|
|
502
|
-
arn?: string;
|
|
558
|
+
arn?: string | undefined;
|
|
503
559
|
}
|
|
504
560
|
/**
|
|
505
561
|
* <p>Deletes an analyzer.</p>
|
|
@@ -515,7 +571,7 @@ export interface DeleteAnalyzerRequest {
|
|
|
515
571
|
* <p>A client token.</p>
|
|
516
572
|
* @public
|
|
517
573
|
*/
|
|
518
|
-
clientToken?: string;
|
|
574
|
+
clientToken?: string | undefined;
|
|
519
575
|
}
|
|
520
576
|
/**
|
|
521
577
|
* <p>Retrieves an analyzer.</p>
|
|
@@ -580,17 +636,17 @@ export interface AnalyzerSummary {
|
|
|
580
636
|
* <p>The resource that was most recently analyzed by the analyzer.</p>
|
|
581
637
|
* @public
|
|
582
638
|
*/
|
|
583
|
-
lastResourceAnalyzed?: string;
|
|
639
|
+
lastResourceAnalyzed?: string | undefined;
|
|
584
640
|
/**
|
|
585
641
|
* <p>The time at which the most recently analyzed resource was analyzed.</p>
|
|
586
642
|
* @public
|
|
587
643
|
*/
|
|
588
|
-
lastResourceAnalyzedAt?: Date;
|
|
644
|
+
lastResourceAnalyzedAt?: Date | undefined;
|
|
589
645
|
/**
|
|
590
646
|
* <p>The tags added to the analyzer.</p>
|
|
591
647
|
* @public
|
|
592
648
|
*/
|
|
593
|
-
tags?: Record<string, string
|
|
649
|
+
tags?: Record<string, string> | undefined;
|
|
594
650
|
/**
|
|
595
651
|
* <p>The status of the analyzer. An <code>Active</code> analyzer successfully monitors
|
|
596
652
|
* supported resources and generates new findings. The analyzer is <code>Disabled</code> when
|
|
@@ -609,12 +665,12 @@ export interface AnalyzerSummary {
|
|
|
609
665
|
* organization.</p>
|
|
610
666
|
* @public
|
|
611
667
|
*/
|
|
612
|
-
statusReason?: StatusReason;
|
|
668
|
+
statusReason?: StatusReason | undefined;
|
|
613
669
|
/**
|
|
614
670
|
* <p>Specifies whether the analyzer is an external access or unused access analyzer.</p>
|
|
615
671
|
* @public
|
|
616
672
|
*/
|
|
617
|
-
configuration?: AnalyzerConfiguration;
|
|
673
|
+
configuration?: AnalyzerConfiguration | undefined;
|
|
618
674
|
}
|
|
619
675
|
/**
|
|
620
676
|
* <p>The response to the request.</p>
|
|
@@ -637,17 +693,17 @@ export interface ListAnalyzersRequest {
|
|
|
637
693
|
* <p>A token used for pagination of results returned.</p>
|
|
638
694
|
* @public
|
|
639
695
|
*/
|
|
640
|
-
nextToken?: string;
|
|
696
|
+
nextToken?: string | undefined;
|
|
641
697
|
/**
|
|
642
698
|
* <p>The maximum number of results to return in the response.</p>
|
|
643
699
|
* @public
|
|
644
700
|
*/
|
|
645
|
-
maxResults?: number;
|
|
701
|
+
maxResults?: number | undefined;
|
|
646
702
|
/**
|
|
647
703
|
* <p>The type of analyzer.</p>
|
|
648
704
|
* @public
|
|
649
705
|
*/
|
|
650
|
-
type?: Type;
|
|
706
|
+
type?: Type | undefined;
|
|
651
707
|
}
|
|
652
708
|
/**
|
|
653
709
|
* <p>The response to the request.</p>
|
|
@@ -663,7 +719,34 @@ export interface ListAnalyzersResponse {
|
|
|
663
719
|
* <p>A token used for pagination of results returned.</p>
|
|
664
720
|
* @public
|
|
665
721
|
*/
|
|
666
|
-
nextToken?: string;
|
|
722
|
+
nextToken?: string | undefined;
|
|
723
|
+
}
|
|
724
|
+
/**
|
|
725
|
+
* @public
|
|
726
|
+
*/
|
|
727
|
+
export interface UpdateAnalyzerRequest {
|
|
728
|
+
/**
|
|
729
|
+
* <p>The name of the analyzer to modify.</p>
|
|
730
|
+
* @public
|
|
731
|
+
*/
|
|
732
|
+
analyzerName: string | undefined;
|
|
733
|
+
/**
|
|
734
|
+
* <p>Contains information about the configuration of an analyzer for an Amazon Web Services organization or
|
|
735
|
+
* account.</p>
|
|
736
|
+
* @public
|
|
737
|
+
*/
|
|
738
|
+
configuration?: AnalyzerConfiguration | undefined;
|
|
739
|
+
}
|
|
740
|
+
/**
|
|
741
|
+
* @public
|
|
742
|
+
*/
|
|
743
|
+
export interface UpdateAnalyzerResponse {
|
|
744
|
+
/**
|
|
745
|
+
* <p>Contains information about the configuration of an analyzer for an Amazon Web Services organization or
|
|
746
|
+
* account.</p>
|
|
747
|
+
* @public
|
|
748
|
+
*/
|
|
749
|
+
configuration?: AnalyzerConfiguration | undefined;
|
|
667
750
|
}
|
|
668
751
|
/**
|
|
669
752
|
* <p>Retroactively applies an archive rule.</p>
|
|
@@ -684,7 +767,7 @@ export interface ApplyArchiveRuleRequest {
|
|
|
684
767
|
* <p>A client token.</p>
|
|
685
768
|
* @public
|
|
686
769
|
*/
|
|
687
|
-
clientToken?: string;
|
|
770
|
+
clientToken?: string | undefined;
|
|
688
771
|
}
|
|
689
772
|
/**
|
|
690
773
|
* @public
|
|
@@ -727,11 +810,11 @@ export interface CheckAccessNotGrantedRequest {
|
|
|
727
810
|
policyDocument: string | undefined;
|
|
728
811
|
/**
|
|
729
812
|
* <p>An access object containing the permissions that shouldn't be granted by the specified
|
|
730
|
-
* policy. If only actions are specified, IAM Access Analyzer checks for access
|
|
731
|
-
*
|
|
732
|
-
*
|
|
733
|
-
* specified,
|
|
734
|
-
* specified resources.</p>
|
|
813
|
+
* policy. If only actions are specified, IAM Access Analyzer checks for access to peform at least
|
|
814
|
+
* one of the actions on any resource in the policy. If only resources are specified, then
|
|
815
|
+
* IAM Access Analyzer checks for access to perform any action on at least one of the resources. If
|
|
816
|
+
* both actions and resources are specified, IAM Access Analyzer checks for access to perform at
|
|
817
|
+
* least one of the specified actions on at least one of the specified resources.</p>
|
|
735
818
|
* @public
|
|
736
819
|
*/
|
|
737
820
|
access: Access[] | undefined;
|
|
@@ -739,9 +822,7 @@ export interface CheckAccessNotGrantedRequest {
|
|
|
739
822
|
* <p>The type of policy. Identity policies grant permissions to IAM principals. Identity
|
|
740
823
|
* policies include managed and inline policies for IAM roles, users, and groups.</p>
|
|
741
824
|
* <p>Resource policies grant permissions on Amazon Web Services resources. Resource policies include trust
|
|
742
|
-
* policies for IAM roles and bucket policies for Amazon S3 buckets
|
|
743
|
-
* input such as identity policy or resource policy or a specific input such as managed policy
|
|
744
|
-
* or Amazon S3 bucket policy.</p>
|
|
825
|
+
* policies for IAM roles and bucket policies for Amazon S3 buckets.</p>
|
|
745
826
|
* @public
|
|
746
827
|
*/
|
|
747
828
|
policyType: AccessCheckPolicyType | undefined;
|
|
@@ -755,17 +836,17 @@ export interface ReasonSummary {
|
|
|
755
836
|
* <p>A description of the reasoning of a result of checking for access.</p>
|
|
756
837
|
* @public
|
|
757
838
|
*/
|
|
758
|
-
description?: string;
|
|
839
|
+
description?: string | undefined;
|
|
759
840
|
/**
|
|
760
841
|
* <p>The index number of the reason statement.</p>
|
|
761
842
|
* @public
|
|
762
843
|
*/
|
|
763
|
-
statementIndex?: number;
|
|
844
|
+
statementIndex?: number | undefined;
|
|
764
845
|
/**
|
|
765
846
|
* <p>The identifier for the reason statement.</p>
|
|
766
847
|
* @public
|
|
767
848
|
*/
|
|
768
|
-
statementId?: string;
|
|
849
|
+
statementId?: string | undefined;
|
|
769
850
|
}
|
|
770
851
|
/**
|
|
771
852
|
* @public
|
|
@@ -790,17 +871,17 @@ export interface CheckAccessNotGrantedResponse {
|
|
|
790
871
|
* some or all of the permissions in the access object.</p>
|
|
791
872
|
* @public
|
|
792
873
|
*/
|
|
793
|
-
result?: CheckAccessNotGrantedResult;
|
|
874
|
+
result?: CheckAccessNotGrantedResult | undefined;
|
|
794
875
|
/**
|
|
795
876
|
* <p>The message indicating whether the specified access is allowed.</p>
|
|
796
877
|
* @public
|
|
797
878
|
*/
|
|
798
|
-
message?: string;
|
|
879
|
+
message?: string | undefined;
|
|
799
880
|
/**
|
|
800
881
|
* <p>A description of the reasoning of the result.</p>
|
|
801
882
|
* @public
|
|
802
883
|
*/
|
|
803
|
-
reasons?: ReasonSummary[];
|
|
884
|
+
reasons?: ReasonSummary[] | undefined;
|
|
804
885
|
}
|
|
805
886
|
/**
|
|
806
887
|
* <p>The specified parameter is invalid.</p>
|
|
@@ -875,17 +956,17 @@ export interface CheckNoNewAccessResponse {
|
|
|
875
956
|
* policy might allow new access.</p>
|
|
876
957
|
* @public
|
|
877
958
|
*/
|
|
878
|
-
result?: CheckNoNewAccessResult;
|
|
959
|
+
result?: CheckNoNewAccessResult | undefined;
|
|
879
960
|
/**
|
|
880
961
|
* <p>The message indicating whether the updated policy allows new access.</p>
|
|
881
962
|
* @public
|
|
882
963
|
*/
|
|
883
|
-
message?: string;
|
|
964
|
+
message?: string | undefined;
|
|
884
965
|
/**
|
|
885
966
|
* <p>A description of the reasoning of the result.</p>
|
|
886
967
|
* @public
|
|
887
968
|
*/
|
|
888
|
-
reasons?: ReasonSummary[];
|
|
969
|
+
reasons?: ReasonSummary[] | undefined;
|
|
889
970
|
}
|
|
890
971
|
/**
|
|
891
972
|
* @public
|
|
@@ -957,19 +1038,19 @@ export interface CheckNoPublicAccessResponse {
|
|
|
957
1038
|
* specified resource type.</p>
|
|
958
1039
|
* @public
|
|
959
1040
|
*/
|
|
960
|
-
result?: CheckNoPublicAccessResult;
|
|
1041
|
+
result?: CheckNoPublicAccessResult | undefined;
|
|
961
1042
|
/**
|
|
962
1043
|
* <p>The message indicating whether the specified policy allows public access to
|
|
963
1044
|
* resources.</p>
|
|
964
1045
|
* @public
|
|
965
1046
|
*/
|
|
966
|
-
message?: string;
|
|
1047
|
+
message?: string | undefined;
|
|
967
1048
|
/**
|
|
968
1049
|
* <p>A list of reasons why the specified resource policy grants public access for the
|
|
969
1050
|
* resource type.</p>
|
|
970
1051
|
* @public
|
|
971
1052
|
*/
|
|
972
|
-
reasons?: ReasonSummary[];
|
|
1053
|
+
reasons?: ReasonSummary[] | undefined;
|
|
973
1054
|
}
|
|
974
1055
|
/**
|
|
975
1056
|
* <p>The proposed access control configuration for a DynamoDB stream. You can propose a
|
|
@@ -997,7 +1078,7 @@ export interface DynamodbStreamConfiguration {
|
|
|
997
1078
|
* <p>The proposed resource policy defining who can access or manage the DynamoDB stream.</p>
|
|
998
1079
|
* @public
|
|
999
1080
|
*/
|
|
1000
|
-
streamPolicy?: string;
|
|
1081
|
+
streamPolicy?: string | undefined;
|
|
1001
1082
|
}
|
|
1002
1083
|
/**
|
|
1003
1084
|
* <p>The proposed access control configuration for a DynamoDB table or index. You can propose a
|
|
@@ -1025,7 +1106,7 @@ export interface DynamodbTableConfiguration {
|
|
|
1025
1106
|
* <p>The proposed resource policy defining who can access or manage the DynamoDB table.</p>
|
|
1026
1107
|
* @public
|
|
1027
1108
|
*/
|
|
1028
|
-
tablePolicy?: string;
|
|
1109
|
+
tablePolicy?: string | undefined;
|
|
1029
1110
|
}
|
|
1030
1111
|
/**
|
|
1031
1112
|
* <p>The proposed access control configuration for an Amazon EBS volume snapshot. You can propose
|
|
@@ -1055,7 +1136,7 @@ export interface EbsSnapshotConfiguration {
|
|
|
1055
1136
|
* </ul>
|
|
1056
1137
|
* @public
|
|
1057
1138
|
*/
|
|
1058
|
-
userIds?: string[];
|
|
1139
|
+
userIds?: string[] | undefined;
|
|
1059
1140
|
/**
|
|
1060
1141
|
* <p>The groups that have access to the Amazon EBS volume snapshot. If the value <code>all</code>
|
|
1061
1142
|
* is specified, then the Amazon EBS volume snapshot is public.</p>
|
|
@@ -1077,7 +1158,7 @@ export interface EbsSnapshotConfiguration {
|
|
|
1077
1158
|
* </ul>
|
|
1078
1159
|
* @public
|
|
1079
1160
|
*/
|
|
1080
|
-
groups?: string[];
|
|
1161
|
+
groups?: string[] | undefined;
|
|
1081
1162
|
/**
|
|
1082
1163
|
* <p>The KMS key identifier for an encrypted Amazon EBS volume snapshot. The KMS key
|
|
1083
1164
|
* identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.</p>
|
|
@@ -1095,7 +1176,7 @@ export interface EbsSnapshotConfiguration {
|
|
|
1095
1176
|
* </ul>
|
|
1096
1177
|
* @public
|
|
1097
1178
|
*/
|
|
1098
|
-
kmsKeyId?: string;
|
|
1179
|
+
kmsKeyId?: string | undefined;
|
|
1099
1180
|
}
|
|
1100
1181
|
/**
|
|
1101
1182
|
* <p>The proposed access control configuration for an Amazon ECR repository. You can propose a
|
|
@@ -1125,7 +1206,7 @@ export interface EcrRepositoryConfiguration {
|
|
|
1125
1206
|
* policy examples</a> in the <i>Amazon ECR User Guide</i>.</p>
|
|
1126
1207
|
* @public
|
|
1127
1208
|
*/
|
|
1128
|
-
repositoryPolicy?: string;
|
|
1209
|
+
repositoryPolicy?: string | undefined;
|
|
1129
1210
|
}
|
|
1130
1211
|
/**
|
|
1131
1212
|
* <p>The proposed access control configuration for an Amazon EFS file system. You can propose a
|
|
@@ -1154,7 +1235,7 @@ export interface EfsFileSystemConfiguration {
|
|
|
1154
1235
|
* the elements that make up a file system policy, see <a href="https://docs.aws.amazon.com/efs/latest/ug/access-control-overview.html#access-control-manage-access-intro-resource-policies">Amazon EFS Resource-based policies</a>.</p>
|
|
1155
1236
|
* @public
|
|
1156
1237
|
*/
|
|
1157
|
-
fileSystemPolicy?: string;
|
|
1238
|
+
fileSystemPolicy?: string | undefined;
|
|
1158
1239
|
}
|
|
1159
1240
|
/**
|
|
1160
1241
|
* <p>The proposed access control configuration for an IAM role. You can propose a
|
|
@@ -1172,7 +1253,7 @@ export interface IamRoleConfiguration {
|
|
|
1172
1253
|
* <p>The proposed trust policy for the IAM role.</p>
|
|
1173
1254
|
* @public
|
|
1174
1255
|
*/
|
|
1175
|
-
trustPolicy?: string;
|
|
1256
|
+
trustPolicy?: string | undefined;
|
|
1176
1257
|
}
|
|
1177
1258
|
/**
|
|
1178
1259
|
* <p>Use this structure to propose allowing <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#cryptographic-operations">cryptographic
|
|
@@ -1190,7 +1271,7 @@ export interface KmsGrantConstraints {
|
|
|
1190
1271
|
* constraint.</p>
|
|
1191
1272
|
* @public
|
|
1192
1273
|
*/
|
|
1193
|
-
encryptionContextEquals?: Record<string, string
|
|
1274
|
+
encryptionContextEquals?: Record<string, string> | undefined;
|
|
1194
1275
|
/**
|
|
1195
1276
|
* <p>A list of key-value pairs that must be included in the encryption context of the <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#cryptographic-operations">cryptographic
|
|
1196
1277
|
* operation</a> request. The grant allows the cryptographic operation only when the
|
|
@@ -1198,7 +1279,7 @@ export interface KmsGrantConstraints {
|
|
|
1198
1279
|
* constraint, although it can include additional key-value pairs.</p>
|
|
1199
1280
|
* @public
|
|
1200
1281
|
*/
|
|
1201
|
-
encryptionContextSubset?: Record<string, string
|
|
1282
|
+
encryptionContextSubset?: Record<string, string> | undefined;
|
|
1202
1283
|
}
|
|
1203
1284
|
/**
|
|
1204
1285
|
* @public
|
|
@@ -1244,7 +1325,7 @@ export interface KmsGrantConfiguration {
|
|
|
1244
1325
|
* <p>The principal that is given permission to retire the grant by using <a href="https://docs.aws.amazon.com/kms/latest/APIReference/API_RetireGrant.html">RetireGrant</a> operation.</p>
|
|
1245
1326
|
* @public
|
|
1246
1327
|
*/
|
|
1247
|
-
retiringPrincipal?: string;
|
|
1328
|
+
retiringPrincipal?: string | undefined;
|
|
1248
1329
|
/**
|
|
1249
1330
|
* <p>Use this structure to propose allowing <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#cryptographic-operations">cryptographic
|
|
1250
1331
|
* operations</a> in the grant only when the operation request includes the specified
|
|
@@ -1252,7 +1333,7 @@ export interface KmsGrantConfiguration {
|
|
|
1252
1333
|
* context</a>.</p>
|
|
1253
1334
|
* @public
|
|
1254
1335
|
*/
|
|
1255
|
-
constraints?: KmsGrantConstraints;
|
|
1336
|
+
constraints?: KmsGrantConstraints | undefined;
|
|
1256
1337
|
/**
|
|
1257
1338
|
* <p> The Amazon Web Services account under which the grant was issued. The account is used to propose
|
|
1258
1339
|
* KMS grants issued by accounts other than the owner of the key.</p>
|
|
@@ -1280,7 +1361,7 @@ export interface KmsKeyConfiguration {
|
|
|
1280
1361
|
* policy</a>.</p>
|
|
1281
1362
|
* @public
|
|
1282
1363
|
*/
|
|
1283
|
-
keyPolicies?: Record<string, string
|
|
1364
|
+
keyPolicies?: Record<string, string> | undefined;
|
|
1284
1365
|
/**
|
|
1285
1366
|
* <p>A list of proposed grant configurations for the KMS key. If the proposed grant
|
|
1286
1367
|
* configuration is for an existing key, the access preview uses the proposed list of grant
|
|
@@ -1288,7 +1369,7 @@ export interface KmsKeyConfiguration {
|
|
|
1288
1369
|
* existing grants for the key.</p>
|
|
1289
1370
|
* @public
|
|
1290
1371
|
*/
|
|
1291
|
-
grants?: KmsGrantConfiguration[];
|
|
1372
|
+
grants?: KmsGrantConfiguration[] | undefined;
|
|
1292
1373
|
}
|
|
1293
1374
|
/**
|
|
1294
1375
|
* <p>The values for a manual Amazon RDS DB cluster snapshot attribute.</p>
|
|
@@ -1356,7 +1437,7 @@ export interface RdsDbClusterSnapshotConfiguration {
|
|
|
1356
1437
|
* </p>
|
|
1357
1438
|
* @public
|
|
1358
1439
|
*/
|
|
1359
|
-
attributes?: Record<string, RdsDbClusterSnapshotAttributeValue
|
|
1440
|
+
attributes?: Record<string, RdsDbClusterSnapshotAttributeValue> | undefined;
|
|
1360
1441
|
/**
|
|
1361
1442
|
* <p>The KMS key identifier for an encrypted Amazon RDS DB cluster snapshot. The KMS key
|
|
1362
1443
|
* identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.</p>
|
|
@@ -1374,7 +1455,7 @@ export interface RdsDbClusterSnapshotConfiguration {
|
|
|
1374
1455
|
* </ul>
|
|
1375
1456
|
* @public
|
|
1376
1457
|
*/
|
|
1377
|
-
kmsKeyId?: string;
|
|
1458
|
+
kmsKeyId?: string | undefined;
|
|
1378
1459
|
}
|
|
1379
1460
|
/**
|
|
1380
1461
|
* <p>The name and values of a manual Amazon RDS DB snapshot attribute. Manual DB snapshot
|
|
@@ -1442,7 +1523,7 @@ export interface RdsDbSnapshotConfiguration {
|
|
|
1442
1523
|
* value for <code>attributeName</code> for the attribute map is restore.</p>
|
|
1443
1524
|
* @public
|
|
1444
1525
|
*/
|
|
1445
|
-
attributes?: Record<string, RdsDbSnapshotAttributeValue
|
|
1526
|
+
attributes?: Record<string, RdsDbSnapshotAttributeValue> | undefined;
|
|
1446
1527
|
/**
|
|
1447
1528
|
* <p>The KMS key identifier for an encrypted Amazon RDS DB snapshot. The KMS key identifier is
|
|
1448
1529
|
* the key ARN, key ID, alias ARN, or alias name for the KMS key.</p>
|
|
@@ -1460,7 +1541,7 @@ export interface RdsDbSnapshotConfiguration {
|
|
|
1460
1541
|
* </ul>
|
|
1461
1542
|
* @public
|
|
1462
1543
|
*/
|
|
1463
|
-
kmsKeyId?: string;
|
|
1544
|
+
kmsKeyId?: string | undefined;
|
|
1464
1545
|
}
|
|
1465
1546
|
/**
|
|
1466
1547
|
* <p>This configuration sets the network origin for the Amazon S3 access point or multi-region
|
|
@@ -1573,13 +1654,13 @@ export interface S3AccessPointConfiguration {
|
|
|
1573
1654
|
* <p>The access point or multi-region access point policy.</p>
|
|
1574
1655
|
* @public
|
|
1575
1656
|
*/
|
|
1576
|
-
accessPointPolicy?: string;
|
|
1657
|
+
accessPointPolicy?: string | undefined;
|
|
1577
1658
|
/**
|
|
1578
1659
|
* <p>The proposed <code>S3PublicAccessBlock</code> configuration to apply to this Amazon S3 access
|
|
1579
1660
|
* point or multi-region access point.</p>
|
|
1580
1661
|
* @public
|
|
1581
1662
|
*/
|
|
1582
|
-
publicAccessBlock?: S3PublicAccessBlockConfiguration;
|
|
1663
|
+
publicAccessBlock?: S3PublicAccessBlockConfiguration | undefined;
|
|
1583
1664
|
/**
|
|
1584
1665
|
* <p>The proposed <code>Internet</code> and <code>VpcConfiguration</code> to apply to this
|
|
1585
1666
|
* Amazon S3 access point. <code>VpcConfiguration</code> does not apply to multi-region access
|
|
@@ -1589,7 +1670,7 @@ export interface S3AccessPointConfiguration {
|
|
|
1589
1670
|
* origin.</p>
|
|
1590
1671
|
* @public
|
|
1591
1672
|
*/
|
|
1592
|
-
networkOrigin?: NetworkOriginConfiguration;
|
|
1673
|
+
networkOrigin?: NetworkOriginConfiguration | undefined;
|
|
1593
1674
|
}
|
|
1594
1675
|
/**
|
|
1595
1676
|
* <p>You specify each grantee as a type-value pair using one of these types. You can specify
|
|
@@ -1685,7 +1766,7 @@ export interface S3BucketConfiguration {
|
|
|
1685
1766
|
* <p>The proposed bucket policy for the Amazon S3 bucket.</p>
|
|
1686
1767
|
* @public
|
|
1687
1768
|
*/
|
|
1688
|
-
bucketPolicy?: string;
|
|
1769
|
+
bucketPolicy?: string | undefined;
|
|
1689
1770
|
/**
|
|
1690
1771
|
* <p>The proposed list of ACL grants for the Amazon S3 bucket. You can propose up to 100 ACL
|
|
1691
1772
|
* grants per bucket. If the proposed grant configuration is for an existing bucket, the
|
|
@@ -1693,18 +1774,18 @@ export interface S3BucketConfiguration {
|
|
|
1693
1774
|
* grants. Otherwise, the access preview uses the existing grants for the bucket.</p>
|
|
1694
1775
|
* @public
|
|
1695
1776
|
*/
|
|
1696
|
-
bucketAclGrants?: S3BucketAclGrantConfiguration[];
|
|
1777
|
+
bucketAclGrants?: S3BucketAclGrantConfiguration[] | undefined;
|
|
1697
1778
|
/**
|
|
1698
1779
|
* <p>The proposed block public access configuration for the Amazon S3 bucket.</p>
|
|
1699
1780
|
* @public
|
|
1700
1781
|
*/
|
|
1701
|
-
bucketPublicAccessBlock?: S3PublicAccessBlockConfiguration;
|
|
1782
|
+
bucketPublicAccessBlock?: S3PublicAccessBlockConfiguration | undefined;
|
|
1702
1783
|
/**
|
|
1703
1784
|
* <p>The configuration of Amazon S3 access points or multi-region access points for the bucket.
|
|
1704
1785
|
* You can propose up to 10 new access points per bucket.</p>
|
|
1705
1786
|
* @public
|
|
1706
1787
|
*/
|
|
1707
|
-
accessPoints?: Record<string, S3AccessPointConfiguration
|
|
1788
|
+
accessPoints?: Record<string, S3AccessPointConfiguration> | undefined;
|
|
1708
1789
|
}
|
|
1709
1790
|
/**
|
|
1710
1791
|
* <p>Proposed access control configuration for an Amazon S3 directory bucket. You can propose a
|
|
@@ -1723,7 +1804,7 @@ export interface S3ExpressDirectoryBucketConfiguration {
|
|
|
1723
1804
|
* <p>The proposed bucket policy for the Amazon S3 directory bucket.</p>
|
|
1724
1805
|
* @public
|
|
1725
1806
|
*/
|
|
1726
|
-
bucketPolicy?: string;
|
|
1807
|
+
bucketPolicy?: string | undefined;
|
|
1727
1808
|
}
|
|
1728
1809
|
/**
|
|
1729
1810
|
* <p>The configuration for a Secrets Manager secret. For more information, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/apireference/API_CreateSecret.html">CreateSecret</a>.</p>
|
|
@@ -1745,12 +1826,12 @@ export interface SecretsManagerSecretConfiguration {
|
|
|
1745
1826
|
* <p>The proposed ARN, key ID, or alias of the KMS key.</p>
|
|
1746
1827
|
* @public
|
|
1747
1828
|
*/
|
|
1748
|
-
kmsKeyId?: string;
|
|
1829
|
+
kmsKeyId?: string | undefined;
|
|
1749
1830
|
/**
|
|
1750
1831
|
* <p>The proposed resource policy defining who can access or manage the secret.</p>
|
|
1751
1832
|
* @public
|
|
1752
1833
|
*/
|
|
1753
|
-
secretPolicy?: string;
|
|
1834
|
+
secretPolicy?: string | undefined;
|
|
1754
1835
|
}
|
|
1755
1836
|
/**
|
|
1756
1837
|
* <p>The proposed access control configuration for an Amazon SNS topic. You can propose a
|
|
@@ -1770,7 +1851,7 @@ export interface SnsTopicConfiguration {
|
|
|
1770
1851
|
* Guide</i>.</p>
|
|
1771
1852
|
* @public
|
|
1772
1853
|
*/
|
|
1773
|
-
topicPolicy?: string;
|
|
1854
|
+
topicPolicy?: string | undefined;
|
|
1774
1855
|
}
|
|
1775
1856
|
/**
|
|
1776
1857
|
* <p>The proposed access control configuration for an Amazon SQS queue. You can propose a
|
|
@@ -1789,7 +1870,7 @@ export interface SqsQueueConfiguration {
|
|
|
1789
1870
|
* <p> The proposed resource policy for the Amazon SQS queue. </p>
|
|
1790
1871
|
* @public
|
|
1791
1872
|
*/
|
|
1792
|
-
queuePolicy?: string;
|
|
1873
|
+
queuePolicy?: string | undefined;
|
|
1793
1874
|
}
|
|
1794
1875
|
/**
|
|
1795
1876
|
* <p>Access control configuration structures for your resource. You specify the configuration
|
|
@@ -2158,7 +2239,7 @@ export interface CreateAccessPreviewRequest {
|
|
|
2158
2239
|
* <p>A client token.</p>
|
|
2159
2240
|
* @public
|
|
2160
2241
|
*/
|
|
2161
|
-
clientToken?: string;
|
|
2242
|
+
clientToken?: string | undefined;
|
|
2162
2243
|
}
|
|
2163
2244
|
/**
|
|
2164
2245
|
* @public
|
|
@@ -2293,7 +2374,7 @@ export interface AccessPreview {
|
|
|
2293
2374
|
* invalid resource configuration.</p>
|
|
2294
2375
|
* @public
|
|
2295
2376
|
*/
|
|
2296
|
-
statusReason?: AccessPreviewStatusReason;
|
|
2377
|
+
statusReason?: AccessPreviewStatusReason | undefined;
|
|
2297
2378
|
}
|
|
2298
2379
|
/**
|
|
2299
2380
|
* @public
|
|
@@ -2325,7 +2406,7 @@ export interface GetAnalyzedResourceRequest {
|
|
|
2325
2406
|
/**
|
|
2326
2407
|
* @public
|
|
2327
2408
|
*/
|
|
2328
|
-
export type ResourceType = "AWS::DynamoDB::Stream" | "AWS::DynamoDB::Table" | "AWS::EC2::Snapshot" | "AWS::ECR::Repository" | "AWS::EFS::FileSystem" | "AWS::IAM::Role" | "AWS::KMS::Key" | "AWS::Lambda::Function" | "AWS::Lambda::LayerVersion" | "AWS::RDS::DBClusterSnapshot" | "AWS::RDS::DBSnapshot" | "AWS::S3::Bucket" | "AWS::S3Express::DirectoryBucket" | "AWS::SNS::Topic" | "AWS::SQS::Queue" | "AWS::SecretsManager::Secret";
|
|
2409
|
+
export type ResourceType = "AWS::DynamoDB::Stream" | "AWS::DynamoDB::Table" | "AWS::EC2::Snapshot" | "AWS::ECR::Repository" | "AWS::EFS::FileSystem" | "AWS::IAM::Role" | "AWS::IAM::User" | "AWS::KMS::Key" | "AWS::Lambda::Function" | "AWS::Lambda::LayerVersion" | "AWS::RDS::DBClusterSnapshot" | "AWS::RDS::DBSnapshot" | "AWS::S3::Bucket" | "AWS::S3Express::DirectoryBucket" | "AWS::SNS::Topic" | "AWS::SQS::Queue" | "AWS::SecretsManager::Secret";
|
|
2329
2410
|
/**
|
|
2330
2411
|
* @public
|
|
2331
2412
|
*/
|
|
@@ -2371,18 +2452,18 @@ export interface AnalyzedResource {
|
|
|
2371
2452
|
* generated the finding.</p>
|
|
2372
2453
|
* @public
|
|
2373
2454
|
*/
|
|
2374
|
-
actions?: string[];
|
|
2455
|
+
actions?: string[] | undefined;
|
|
2375
2456
|
/**
|
|
2376
2457
|
* <p>Indicates how the access that generated the finding is granted. This is populated for
|
|
2377
2458
|
* Amazon S3 bucket findings.</p>
|
|
2378
2459
|
* @public
|
|
2379
2460
|
*/
|
|
2380
|
-
sharedVia?: string[];
|
|
2461
|
+
sharedVia?: string[] | undefined;
|
|
2381
2462
|
/**
|
|
2382
2463
|
* <p>The current status of the finding generated from the analyzed resource.</p>
|
|
2383
2464
|
* @public
|
|
2384
2465
|
*/
|
|
2385
|
-
status?: FindingStatus;
|
|
2466
|
+
status?: FindingStatus | undefined;
|
|
2386
2467
|
/**
|
|
2387
2468
|
* <p>The Amazon Web Services account ID that owns the resource.</p>
|
|
2388
2469
|
* @public
|
|
@@ -2392,7 +2473,7 @@ export interface AnalyzedResource {
|
|
|
2392
2473
|
* <p>An error message.</p>
|
|
2393
2474
|
* @public
|
|
2394
2475
|
*/
|
|
2395
|
-
error?: string;
|
|
2476
|
+
error?: string | undefined;
|
|
2396
2477
|
}
|
|
2397
2478
|
/**
|
|
2398
2479
|
* <p>The response to the request.</p>
|
|
@@ -2404,7 +2485,7 @@ export interface GetAnalyzedResourceResponse {
|
|
|
2404
2485
|
* found when it analyzed the resource.</p>
|
|
2405
2486
|
* @public
|
|
2406
2487
|
*/
|
|
2407
|
-
resource?: AnalyzedResource;
|
|
2488
|
+
resource?: AnalyzedResource | undefined;
|
|
2408
2489
|
}
|
|
2409
2490
|
/**
|
|
2410
2491
|
* <p>Retrieves a finding.</p>
|
|
@@ -2423,6 +2504,19 @@ export interface GetFindingRequest {
|
|
|
2423
2504
|
*/
|
|
2424
2505
|
id: string | undefined;
|
|
2425
2506
|
}
|
|
2507
|
+
/**
|
|
2508
|
+
* @public
|
|
2509
|
+
* @enum
|
|
2510
|
+
*/
|
|
2511
|
+
export declare const ResourceControlPolicyRestriction: {
|
|
2512
|
+
readonly APPLICABLE: "APPLICABLE";
|
|
2513
|
+
readonly FAILED_TO_EVALUATE_RCP: "FAILED_TO_EVALUATE_RCP";
|
|
2514
|
+
readonly NOT_APPLICABLE: "NOT_APPLICABLE";
|
|
2515
|
+
};
|
|
2516
|
+
/**
|
|
2517
|
+
* @public
|
|
2518
|
+
*/
|
|
2519
|
+
export type ResourceControlPolicyRestriction = (typeof ResourceControlPolicyRestriction)[keyof typeof ResourceControlPolicyRestriction];
|
|
2426
2520
|
/**
|
|
2427
2521
|
* <p>Includes details about how the access that generated the finding is granted. This is
|
|
2428
2522
|
* populated for Amazon S3 bucket findings.</p>
|
|
@@ -2434,12 +2528,12 @@ export interface FindingSourceDetail {
|
|
|
2434
2528
|
* whether the ARN represents an access point or a multi-region access point.</p>
|
|
2435
2529
|
* @public
|
|
2436
2530
|
*/
|
|
2437
|
-
accessPointArn?: string;
|
|
2531
|
+
accessPointArn?: string | undefined;
|
|
2438
2532
|
/**
|
|
2439
2533
|
* <p>The account of the cross-account access point that generated the finding.</p>
|
|
2440
2534
|
* @public
|
|
2441
2535
|
*/
|
|
2442
|
-
accessPointAccount?: string;
|
|
2536
|
+
accessPointAccount?: string | undefined;
|
|
2443
2537
|
}
|
|
2444
2538
|
/**
|
|
2445
2539
|
* @public
|
|
@@ -2461,7 +2555,7 @@ export interface FindingSource {
|
|
|
2461
2555
|
* populated for Amazon S3 bucket findings.</p>
|
|
2462
2556
|
* @public
|
|
2463
2557
|
*/
|
|
2464
|
-
detail?: FindingSourceDetail;
|
|
2558
|
+
detail?: FindingSourceDetail | undefined;
|
|
2465
2559
|
}
|
|
2466
2560
|
/**
|
|
2467
2561
|
* <p>Contains information about a finding.</p>
|
|
@@ -2477,24 +2571,24 @@ export interface Finding {
|
|
|
2477
2571
|
* <p>The external principal that has access to a resource within the zone of trust.</p>
|
|
2478
2572
|
* @public
|
|
2479
2573
|
*/
|
|
2480
|
-
principal?: Record<string, string
|
|
2574
|
+
principal?: Record<string, string> | undefined;
|
|
2481
2575
|
/**
|
|
2482
2576
|
* <p>The action in the analyzed policy statement that an external principal has permission to
|
|
2483
2577
|
* use.</p>
|
|
2484
2578
|
* @public
|
|
2485
2579
|
*/
|
|
2486
|
-
action?: string[];
|
|
2580
|
+
action?: string[] | undefined;
|
|
2487
2581
|
/**
|
|
2488
2582
|
* <p>The resource that an external principal has access to.</p>
|
|
2489
2583
|
* @public
|
|
2490
2584
|
*/
|
|
2491
|
-
resource?: string;
|
|
2585
|
+
resource?: string | undefined;
|
|
2492
2586
|
/**
|
|
2493
2587
|
* <p>Indicates whether the policy that generated the finding allows public access to the
|
|
2494
2588
|
* resource.</p>
|
|
2495
2589
|
* @public
|
|
2496
2590
|
*/
|
|
2497
|
-
isPublic?: boolean;
|
|
2591
|
+
isPublic?: boolean | undefined;
|
|
2498
2592
|
/**
|
|
2499
2593
|
* <p>The type of the resource identified in the finding.</p>
|
|
2500
2594
|
* @public
|
|
@@ -2534,13 +2628,19 @@ export interface Finding {
|
|
|
2534
2628
|
* <p>An error.</p>
|
|
2535
2629
|
* @public
|
|
2536
2630
|
*/
|
|
2537
|
-
error?: string;
|
|
2631
|
+
error?: string | undefined;
|
|
2538
2632
|
/**
|
|
2539
2633
|
* <p>The sources of the finding. This indicates how the access that generated the finding is
|
|
2540
2634
|
* granted. It is populated for Amazon S3 bucket findings.</p>
|
|
2541
2635
|
* @public
|
|
2542
2636
|
*/
|
|
2543
|
-
sources?: FindingSource[];
|
|
2637
|
+
sources?: FindingSource[] | undefined;
|
|
2638
|
+
/**
|
|
2639
|
+
* <p>The type of restriction applied to the finding by the resource owner with an Organizations
|
|
2640
|
+
* resource control policy (RCP).</p>
|
|
2641
|
+
* @public
|
|
2642
|
+
*/
|
|
2643
|
+
resourceControlPolicyRestriction?: ResourceControlPolicyRestriction | undefined;
|
|
2544
2644
|
}
|
|
2545
2645
|
/**
|
|
2546
2646
|
* <p>The response to the request.</p>
|
|
@@ -2551,7 +2651,7 @@ export interface GetFindingResponse {
|
|
|
2551
2651
|
* <p>A <code>finding</code> object that contains finding details.</p>
|
|
2552
2652
|
* @public
|
|
2553
2653
|
*/
|
|
2554
|
-
finding?: Finding;
|
|
2654
|
+
finding?: Finding | undefined;
|
|
2555
2655
|
}
|
|
2556
2656
|
/**
|
|
2557
2657
|
* @public
|
|
@@ -2572,12 +2672,12 @@ export interface GetFindingRecommendationRequest {
|
|
|
2572
2672
|
* <p>The maximum number of results to return in the response.</p>
|
|
2573
2673
|
* @public
|
|
2574
2674
|
*/
|
|
2575
|
-
maxResults?: number;
|
|
2675
|
+
maxResults?: number | undefined;
|
|
2576
2676
|
/**
|
|
2577
2677
|
* <p>A token used for pagination of results returned.</p>
|
|
2578
2678
|
* @public
|
|
2579
2679
|
*/
|
|
2580
|
-
nextToken?: string;
|
|
2680
|
+
nextToken?: string | undefined;
|
|
2581
2681
|
}
|
|
2582
2682
|
/**
|
|
2583
2683
|
* <p>Contains information about the reason that the retrieval of a recommendation for a
|
|
@@ -2630,7 +2730,7 @@ export interface UnusedPermissionsRecommendedStep {
|
|
|
2630
2730
|
* updated.</p>
|
|
2631
2731
|
* @public
|
|
2632
2732
|
*/
|
|
2633
|
-
policyUpdatedAt?: Date;
|
|
2733
|
+
policyUpdatedAt?: Date | undefined;
|
|
2634
2734
|
/**
|
|
2635
2735
|
* <p>A recommendation of whether to create or detach a policy for an unused permissions
|
|
2636
2736
|
* finding.</p>
|
|
@@ -2643,13 +2743,13 @@ export interface UnusedPermissionsRecommendedStep {
|
|
|
2643
2743
|
* <code>existingPolicyId</code> field.</p>
|
|
2644
2744
|
* @public
|
|
2645
2745
|
*/
|
|
2646
|
-
recommendedPolicy?: string;
|
|
2746
|
+
recommendedPolicy?: string | undefined;
|
|
2647
2747
|
/**
|
|
2648
2748
|
* <p>If the recommended action for the unused permissions finding is to detach a policy, the
|
|
2649
2749
|
* ID of an existing policy to be detached.</p>
|
|
2650
2750
|
* @public
|
|
2651
2751
|
*/
|
|
2652
|
-
existingPolicyId?: string;
|
|
2752
|
+
existingPolicyId?: string | undefined;
|
|
2653
2753
|
}
|
|
2654
2754
|
/**
|
|
2655
2755
|
* <p>Contains information about a recommended step for an unused access analyzer
|
|
@@ -2708,18 +2808,18 @@ export interface GetFindingRecommendationResponse {
|
|
|
2708
2808
|
* <p>The time at which the retrieval of the finding recommendation was completed.</p>
|
|
2709
2809
|
* @public
|
|
2710
2810
|
*/
|
|
2711
|
-
completedAt?: Date;
|
|
2811
|
+
completedAt?: Date | undefined;
|
|
2712
2812
|
/**
|
|
2713
2813
|
* <p>A token used for pagination of results returned.</p>
|
|
2714
2814
|
* @public
|
|
2715
2815
|
*/
|
|
2716
|
-
nextToken?: string;
|
|
2816
|
+
nextToken?: string | undefined;
|
|
2717
2817
|
/**
|
|
2718
2818
|
* <p>Detailed information about the reason that the retrieval of a recommendation for the
|
|
2719
2819
|
* finding failed.</p>
|
|
2720
2820
|
* @public
|
|
2721
2821
|
*/
|
|
2722
|
-
error?: RecommendationError;
|
|
2822
|
+
error?: RecommendationError | undefined;
|
|
2723
2823
|
/**
|
|
2724
2824
|
* <p>The ARN of the resource of the finding.</p>
|
|
2725
2825
|
* @public
|
|
@@ -2729,7 +2829,7 @@ export interface GetFindingRecommendationResponse {
|
|
|
2729
2829
|
* <p>A group of recommended steps for the finding.</p>
|
|
2730
2830
|
* @public
|
|
2731
2831
|
*/
|
|
2732
|
-
recommendedSteps?: RecommendedStep[];
|
|
2832
|
+
recommendedSteps?: RecommendedStep[] | undefined;
|
|
2733
2833
|
/**
|
|
2734
2834
|
* <p>The type of recommendation for the finding.</p>
|
|
2735
2835
|
* @public
|
|
@@ -2760,12 +2860,12 @@ export interface GetFindingV2Request {
|
|
|
2760
2860
|
* <p>The maximum number of results to return in the response.</p>
|
|
2761
2861
|
* @public
|
|
2762
2862
|
*/
|
|
2763
|
-
maxResults?: number;
|
|
2863
|
+
maxResults?: number | undefined;
|
|
2764
2864
|
/**
|
|
2765
2865
|
* <p>A token used for pagination of results returned.</p>
|
|
2766
2866
|
* @public
|
|
2767
2867
|
*/
|
|
2768
|
-
nextToken?: string;
|
|
2868
|
+
nextToken?: string | undefined;
|
|
2769
2869
|
}
|
|
2770
2870
|
/**
|
|
2771
2871
|
* <p>Contains information about an external access finding.</p>
|
|
@@ -2777,7 +2877,7 @@ export interface ExternalAccessDetails {
|
|
|
2777
2877
|
* use.</p>
|
|
2778
2878
|
* @public
|
|
2779
2879
|
*/
|
|
2780
|
-
action?: string[];
|
|
2880
|
+
action?: string[] | undefined;
|
|
2781
2881
|
/**
|
|
2782
2882
|
* <p>The condition in the analyzed policy statement that resulted in an external access
|
|
2783
2883
|
* finding.</p>
|
|
@@ -2788,18 +2888,24 @@ export interface ExternalAccessDetails {
|
|
|
2788
2888
|
* <p>Specifies whether the external access finding is public.</p>
|
|
2789
2889
|
* @public
|
|
2790
2890
|
*/
|
|
2791
|
-
isPublic?: boolean;
|
|
2891
|
+
isPublic?: boolean | undefined;
|
|
2792
2892
|
/**
|
|
2793
2893
|
* <p>The external principal that has access to a resource within the zone of trust.</p>
|
|
2794
2894
|
* @public
|
|
2795
2895
|
*/
|
|
2796
|
-
principal?: Record<string, string
|
|
2896
|
+
principal?: Record<string, string> | undefined;
|
|
2797
2897
|
/**
|
|
2798
2898
|
* <p>The sources of the external access finding. This indicates how the access that generated
|
|
2799
2899
|
* the finding is granted. It is populated for Amazon S3 bucket findings.</p>
|
|
2800
2900
|
* @public
|
|
2801
2901
|
*/
|
|
2802
|
-
sources?: FindingSource[];
|
|
2902
|
+
sources?: FindingSource[] | undefined;
|
|
2903
|
+
/**
|
|
2904
|
+
* <p>The type of restriction applied to the finding by the resource owner with an Organizations
|
|
2905
|
+
* resource control policy (RCP).</p>
|
|
2906
|
+
* @public
|
|
2907
|
+
*/
|
|
2908
|
+
resourceControlPolicyRestriction?: ResourceControlPolicyRestriction | undefined;
|
|
2803
2909
|
}
|
|
2804
2910
|
/**
|
|
2805
2911
|
* <p>Contains information about an unused access finding for an IAM role. IAM Access Analyzer
|
|
@@ -2813,7 +2919,7 @@ export interface UnusedIamRoleDetails {
|
|
|
2813
2919
|
* <p>The time at which the role was last accessed.</p>
|
|
2814
2920
|
* @public
|
|
2815
2921
|
*/
|
|
2816
|
-
lastAccessed?: Date;
|
|
2922
|
+
lastAccessed?: Date | undefined;
|
|
2817
2923
|
}
|
|
2818
2924
|
/**
|
|
2819
2925
|
* <p>Contains information about an unused access finding for an IAM user access key.
|
|
@@ -2832,7 +2938,7 @@ export interface UnusedIamUserAccessKeyDetails {
|
|
|
2832
2938
|
* <p>The time at which the access key was last accessed.</p>
|
|
2833
2939
|
* @public
|
|
2834
2940
|
*/
|
|
2835
|
-
lastAccessed?: Date;
|
|
2941
|
+
lastAccessed?: Date | undefined;
|
|
2836
2942
|
}
|
|
2837
2943
|
/**
|
|
2838
2944
|
* <p>Contains information about an unused access finding for an IAM user password.
|
|
@@ -2846,7 +2952,7 @@ export interface UnusedIamUserPasswordDetails {
|
|
|
2846
2952
|
* <p>The time at which the password was last accessed.</p>
|
|
2847
2953
|
* @public
|
|
2848
2954
|
*/
|
|
2849
|
-
lastAccessed?: Date;
|
|
2955
|
+
lastAccessed?: Date | undefined;
|
|
2850
2956
|
}
|
|
2851
2957
|
/**
|
|
2852
2958
|
* <p>Contains information about an unused access finding for an action. IAM Access Analyzer charges
|
|
@@ -2865,7 +2971,7 @@ export interface UnusedAction {
|
|
|
2865
2971
|
* <p>The time at which the action was last accessed.</p>
|
|
2866
2972
|
* @public
|
|
2867
2973
|
*/
|
|
2868
|
-
lastAccessed?: Date;
|
|
2974
|
+
lastAccessed?: Date | undefined;
|
|
2869
2975
|
}
|
|
2870
2976
|
/**
|
|
2871
2977
|
* <p>Contains information about an unused access finding for a permission. IAM Access Analyzer
|
|
@@ -2879,7 +2985,7 @@ export interface UnusedPermissionDetails {
|
|
|
2879
2985
|
* <p>A list of unused actions for which the unused access finding was generated.</p>
|
|
2880
2986
|
* @public
|
|
2881
2987
|
*/
|
|
2882
|
-
actions?: UnusedAction[];
|
|
2988
|
+
actions?: UnusedAction[] | undefined;
|
|
2883
2989
|
/**
|
|
2884
2990
|
* <p>The namespace of the Amazon Web Services service that contains the unused actions.</p>
|
|
2885
2991
|
* @public
|
|
@@ -2889,7 +2995,7 @@ export interface UnusedPermissionDetails {
|
|
|
2889
2995
|
* <p>The time at which the permission was last accessed.</p>
|
|
2890
2996
|
* @public
|
|
2891
2997
|
*/
|
|
2892
|
-
lastAccessed?: Date;
|
|
2998
|
+
lastAccessed?: Date | undefined;
|
|
2893
2999
|
}
|
|
2894
3000
|
/**
|
|
2895
3001
|
* <p>Contains information about an external access or unused access finding. Only one
|
|
@@ -3020,7 +3126,7 @@ export interface GetFindingV2Response {
|
|
|
3020
3126
|
* <p>An error.</p>
|
|
3021
3127
|
* @public
|
|
3022
3128
|
*/
|
|
3023
|
-
error?: string;
|
|
3129
|
+
error?: string | undefined;
|
|
3024
3130
|
/**
|
|
3025
3131
|
* <p>The ID of the finding to retrieve.</p>
|
|
3026
3132
|
* @public
|
|
@@ -3030,12 +3136,12 @@ export interface GetFindingV2Response {
|
|
|
3030
3136
|
* <p>A token used for pagination of results returned.</p>
|
|
3031
3137
|
* @public
|
|
3032
3138
|
*/
|
|
3033
|
-
nextToken?: string;
|
|
3139
|
+
nextToken?: string | undefined;
|
|
3034
3140
|
/**
|
|
3035
3141
|
* <p>The resource that generated the finding.</p>
|
|
3036
3142
|
* @public
|
|
3037
3143
|
*/
|
|
3038
|
-
resource?: string;
|
|
3144
|
+
resource?: string | undefined;
|
|
3039
3145
|
/**
|
|
3040
3146
|
* <p>The type of the resource identified in the finding.</p>
|
|
3041
3147
|
* @public
|
|
@@ -3069,7 +3175,7 @@ export interface GetFindingV2Response {
|
|
|
3069
3175
|
* <code>UnusedIAMUserPassword</code>, or <code>UnusedPermission</code>.</p>
|
|
3070
3176
|
* @public
|
|
3071
3177
|
*/
|
|
3072
|
-
findingType?: FindingType;
|
|
3178
|
+
findingType?: FindingType | undefined;
|
|
3073
3179
|
}
|
|
3074
3180
|
/**
|
|
3075
3181
|
* @public
|
|
@@ -3091,7 +3197,7 @@ export interface GetGeneratedPolicyRequest {
|
|
|
3091
3197
|
* <code>"Resource":"arn:aws:s3:::$\{BucketName\}"</code> instead of <code>"*"</code>.</p>
|
|
3092
3198
|
* @public
|
|
3093
3199
|
*/
|
|
3094
|
-
includeResourcePlaceholders?: boolean;
|
|
3200
|
+
includeResourcePlaceholders?: boolean | undefined;
|
|
3095
3201
|
/**
|
|
3096
3202
|
* <p>The level of detail that you want to generate. You can specify whether to generate
|
|
3097
3203
|
* service-level policies. </p>
|
|
@@ -3099,7 +3205,7 @@ export interface GetGeneratedPolicyRequest {
|
|
|
3099
3205
|
* been used recently to create this service-level template.</p>
|
|
3100
3206
|
* @public
|
|
3101
3207
|
*/
|
|
3102
|
-
includeServiceLevelTemplate?: boolean;
|
|
3208
|
+
includeServiceLevelTemplate?: boolean | undefined;
|
|
3103
3209
|
}
|
|
3104
3210
|
/**
|
|
3105
3211
|
* <p>Contains the text for the generated policy.</p>
|
|
@@ -3128,14 +3234,14 @@ export interface TrailProperties {
|
|
|
3128
3234
|
* <p>A list of regions to get CloudTrail data from and analyze to generate a policy.</p>
|
|
3129
3235
|
* @public
|
|
3130
3236
|
*/
|
|
3131
|
-
regions?: string[];
|
|
3237
|
+
regions?: string[] | undefined;
|
|
3132
3238
|
/**
|
|
3133
3239
|
* <p>Possible values are <code>true</code> or <code>false</code>. If set to
|
|
3134
3240
|
* <code>true</code>, IAM Access Analyzer retrieves CloudTrail data from all regions to analyze and
|
|
3135
3241
|
* generate a policy.</p>
|
|
3136
3242
|
* @public
|
|
3137
3243
|
*/
|
|
3138
|
-
allRegions?: boolean;
|
|
3244
|
+
allRegions?: boolean | undefined;
|
|
3139
3245
|
}
|
|
3140
3246
|
/**
|
|
3141
3247
|
* <p>Contains information about CloudTrail access.</p>
|
|
@@ -3173,7 +3279,7 @@ export interface GeneratedPolicyProperties {
|
|
|
3173
3279
|
* and <code>false</code> otherwise.</p>
|
|
3174
3280
|
* @public
|
|
3175
3281
|
*/
|
|
3176
|
-
isComplete?: boolean;
|
|
3282
|
+
isComplete?: boolean | undefined;
|
|
3177
3283
|
/**
|
|
3178
3284
|
* <p>The ARN of the IAM entity (user or role) for which you are generating a policy.</p>
|
|
3179
3285
|
* @public
|
|
@@ -3183,7 +3289,7 @@ export interface GeneratedPolicyProperties {
|
|
|
3183
3289
|
* <p>Lists details about the <code>Trail</code> used to generated policy.</p>
|
|
3184
3290
|
* @public
|
|
3185
3291
|
*/
|
|
3186
|
-
cloudTrailProperties?: CloudTrailProperties;
|
|
3292
|
+
cloudTrailProperties?: CloudTrailProperties | undefined;
|
|
3187
3293
|
}
|
|
3188
3294
|
/**
|
|
3189
3295
|
* <p>Contains the text for the generated policy and its details.</p>
|
|
@@ -3201,7 +3307,7 @@ export interface GeneratedPolicyResult {
|
|
|
3201
3307
|
* <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreatePolicy.html">CreatePolicy</a> action.</p>
|
|
3202
3308
|
* @public
|
|
3203
3309
|
*/
|
|
3204
|
-
generatedPolicies?: GeneratedPolicy[];
|
|
3310
|
+
generatedPolicies?: GeneratedPolicy[] | undefined;
|
|
3205
3311
|
}
|
|
3206
3312
|
/**
|
|
3207
3313
|
* @public
|
|
@@ -3275,12 +3381,12 @@ export interface JobDetails {
|
|
|
3275
3381
|
* <p>A timestamp of when the job was completed.</p>
|
|
3276
3382
|
* @public
|
|
3277
3383
|
*/
|
|
3278
|
-
completedOn?: Date;
|
|
3384
|
+
completedOn?: Date | undefined;
|
|
3279
3385
|
/**
|
|
3280
3386
|
* <p>The job error for the policy generation request.</p>
|
|
3281
3387
|
* @public
|
|
3282
3388
|
*/
|
|
3283
|
-
jobError?: JobError;
|
|
3389
|
+
jobError?: JobError | undefined;
|
|
3284
3390
|
}
|
|
3285
3391
|
/**
|
|
3286
3392
|
* @public
|
|
@@ -3318,17 +3424,17 @@ export interface ListAccessPreviewFindingsRequest {
|
|
|
3318
3424
|
* <p>Criteria to filter the returned findings.</p>
|
|
3319
3425
|
* @public
|
|
3320
3426
|
*/
|
|
3321
|
-
filter?: Record<string, Criterion
|
|
3427
|
+
filter?: Record<string, Criterion> | undefined;
|
|
3322
3428
|
/**
|
|
3323
3429
|
* <p>A token used for pagination of results returned.</p>
|
|
3324
3430
|
* @public
|
|
3325
3431
|
*/
|
|
3326
|
-
nextToken?: string;
|
|
3432
|
+
nextToken?: string | undefined;
|
|
3327
3433
|
/**
|
|
3328
3434
|
* <p>The maximum number of results to return in the response.</p>
|
|
3329
3435
|
* @public
|
|
3330
3436
|
*/
|
|
3331
|
-
maxResults?: number;
|
|
3437
|
+
maxResults?: number | undefined;
|
|
3332
3438
|
}
|
|
3333
3439
|
/**
|
|
3334
3440
|
* @public
|
|
@@ -3360,40 +3466,40 @@ export interface AccessPreviewFinding {
|
|
|
3360
3466
|
* findings.</p>
|
|
3361
3467
|
* @public
|
|
3362
3468
|
*/
|
|
3363
|
-
existingFindingId?: string;
|
|
3469
|
+
existingFindingId?: string | undefined;
|
|
3364
3470
|
/**
|
|
3365
3471
|
* <p>The existing status of the finding, provided only for existing findings.</p>
|
|
3366
3472
|
* @public
|
|
3367
3473
|
*/
|
|
3368
|
-
existingFindingStatus?: FindingStatus;
|
|
3474
|
+
existingFindingStatus?: FindingStatus | undefined;
|
|
3369
3475
|
/**
|
|
3370
3476
|
* <p>The external principal that has access to a resource within the zone of trust.</p>
|
|
3371
3477
|
* @public
|
|
3372
3478
|
*/
|
|
3373
|
-
principal?: Record<string, string
|
|
3479
|
+
principal?: Record<string, string> | undefined;
|
|
3374
3480
|
/**
|
|
3375
3481
|
* <p>The action in the analyzed policy statement that an external principal has permission to
|
|
3376
3482
|
* perform.</p>
|
|
3377
3483
|
* @public
|
|
3378
3484
|
*/
|
|
3379
|
-
action?: string[];
|
|
3485
|
+
action?: string[] | undefined;
|
|
3380
3486
|
/**
|
|
3381
3487
|
* <p>The condition in the analyzed policy statement that resulted in a finding.</p>
|
|
3382
3488
|
* @public
|
|
3383
3489
|
*/
|
|
3384
|
-
condition?: Record<string, string
|
|
3490
|
+
condition?: Record<string, string> | undefined;
|
|
3385
3491
|
/**
|
|
3386
3492
|
* <p>The resource that an external principal has access to. This is the resource associated
|
|
3387
3493
|
* with the access preview.</p>
|
|
3388
3494
|
* @public
|
|
3389
3495
|
*/
|
|
3390
|
-
resource?: string;
|
|
3496
|
+
resource?: string | undefined;
|
|
3391
3497
|
/**
|
|
3392
3498
|
* <p>Indicates whether the policy that generated the finding allows public access to the
|
|
3393
3499
|
* resource.</p>
|
|
3394
3500
|
* @public
|
|
3395
3501
|
*/
|
|
3396
|
-
isPublic?: boolean;
|
|
3502
|
+
isPublic?: boolean | undefined;
|
|
3397
3503
|
/**
|
|
3398
3504
|
* <p>The type of the resource that can be accessed in the finding.</p>
|
|
3399
3505
|
* @public
|
|
@@ -3448,13 +3554,19 @@ export interface AccessPreviewFinding {
|
|
|
3448
3554
|
* <p>An error.</p>
|
|
3449
3555
|
* @public
|
|
3450
3556
|
*/
|
|
3451
|
-
error?: string;
|
|
3557
|
+
error?: string | undefined;
|
|
3452
3558
|
/**
|
|
3453
3559
|
* <p>The sources of the finding. This indicates how the access that generated the finding is
|
|
3454
3560
|
* granted. It is populated for Amazon S3 bucket findings.</p>
|
|
3455
3561
|
* @public
|
|
3456
3562
|
*/
|
|
3457
|
-
sources?: FindingSource[];
|
|
3563
|
+
sources?: FindingSource[] | undefined;
|
|
3564
|
+
/**
|
|
3565
|
+
* <p>The type of restriction applied to the finding by the resource owner with an Organizations
|
|
3566
|
+
* resource control policy (RCP).</p>
|
|
3567
|
+
* @public
|
|
3568
|
+
*/
|
|
3569
|
+
resourceControlPolicyRestriction?: ResourceControlPolicyRestriction | undefined;
|
|
3458
3570
|
}
|
|
3459
3571
|
/**
|
|
3460
3572
|
* @public
|
|
@@ -3469,7 +3581,7 @@ export interface ListAccessPreviewFindingsResponse {
|
|
|
3469
3581
|
* <p>A token used for pagination of results returned.</p>
|
|
3470
3582
|
* @public
|
|
3471
3583
|
*/
|
|
3472
|
-
nextToken?: string;
|
|
3584
|
+
nextToken?: string | undefined;
|
|
3473
3585
|
}
|
|
3474
3586
|
/**
|
|
3475
3587
|
* @public
|
|
@@ -3485,12 +3597,12 @@ export interface ListAccessPreviewsRequest {
|
|
|
3485
3597
|
* <p>A token used for pagination of results returned.</p>
|
|
3486
3598
|
* @public
|
|
3487
3599
|
*/
|
|
3488
|
-
nextToken?: string;
|
|
3600
|
+
nextToken?: string | undefined;
|
|
3489
3601
|
/**
|
|
3490
3602
|
* <p>The maximum number of results to return in the response.</p>
|
|
3491
3603
|
* @public
|
|
3492
3604
|
*/
|
|
3493
|
-
maxResults?: number;
|
|
3605
|
+
maxResults?: number | undefined;
|
|
3494
3606
|
}
|
|
3495
3607
|
/**
|
|
3496
3608
|
* <p>Contains a summary of information about an access preview.</p>
|
|
@@ -3539,7 +3651,7 @@ export interface AccessPreviewSummary {
|
|
|
3539
3651
|
* resource configuration.</p>
|
|
3540
3652
|
* @public
|
|
3541
3653
|
*/
|
|
3542
|
-
statusReason?: AccessPreviewStatusReason;
|
|
3654
|
+
statusReason?: AccessPreviewStatusReason | undefined;
|
|
3543
3655
|
}
|
|
3544
3656
|
/**
|
|
3545
3657
|
* @public
|
|
@@ -3554,7 +3666,7 @@ export interface ListAccessPreviewsResponse {
|
|
|
3554
3666
|
* <p>A token used for pagination of results returned.</p>
|
|
3555
3667
|
* @public
|
|
3556
3668
|
*/
|
|
3557
|
-
nextToken?: string;
|
|
3669
|
+
nextToken?: string | undefined;
|
|
3558
3670
|
}
|
|
3559
3671
|
/**
|
|
3560
3672
|
* <p>Retrieves a list of resources that have been analyzed.</p>
|
|
@@ -3571,17 +3683,17 @@ export interface ListAnalyzedResourcesRequest {
|
|
|
3571
3683
|
* <p>The type of resource.</p>
|
|
3572
3684
|
* @public
|
|
3573
3685
|
*/
|
|
3574
|
-
resourceType?: ResourceType;
|
|
3686
|
+
resourceType?: ResourceType | undefined;
|
|
3575
3687
|
/**
|
|
3576
3688
|
* <p>A token used for pagination of results returned.</p>
|
|
3577
3689
|
* @public
|
|
3578
3690
|
*/
|
|
3579
|
-
nextToken?: string;
|
|
3691
|
+
nextToken?: string | undefined;
|
|
3580
3692
|
/**
|
|
3581
3693
|
* <p>The maximum number of results to return in the response.</p>
|
|
3582
3694
|
* @public
|
|
3583
3695
|
*/
|
|
3584
|
-
maxResults?: number;
|
|
3696
|
+
maxResults?: number | undefined;
|
|
3585
3697
|
}
|
|
3586
3698
|
/**
|
|
3587
3699
|
* <p>Contains the ARN of the analyzed resource.</p>
|
|
@@ -3618,7 +3730,7 @@ export interface ListAnalyzedResourcesResponse {
|
|
|
3618
3730
|
* <p>A token used for pagination of results returned.</p>
|
|
3619
3731
|
* @public
|
|
3620
3732
|
*/
|
|
3621
|
-
nextToken?: string;
|
|
3733
|
+
nextToken?: string | undefined;
|
|
3622
3734
|
}
|
|
3623
3735
|
/**
|
|
3624
3736
|
* @public
|
|
@@ -3633,12 +3745,12 @@ export interface SortCriteria {
|
|
|
3633
3745
|
* <p>The name of the attribute to sort on.</p>
|
|
3634
3746
|
* @public
|
|
3635
3747
|
*/
|
|
3636
|
-
attributeName?: string;
|
|
3748
|
+
attributeName?: string | undefined;
|
|
3637
3749
|
/**
|
|
3638
3750
|
* <p>The sort order, ascending or descending.</p>
|
|
3639
3751
|
* @public
|
|
3640
3752
|
*/
|
|
3641
|
-
orderBy?: OrderBy;
|
|
3753
|
+
orderBy?: OrderBy | undefined;
|
|
3642
3754
|
}
|
|
3643
3755
|
/**
|
|
3644
3756
|
* <p>Retrieves a list of findings generated by the specified analyzer.</p>
|
|
@@ -3655,22 +3767,22 @@ export interface ListFindingsRequest {
|
|
|
3655
3767
|
* <p>A filter to match for the findings to return.</p>
|
|
3656
3768
|
* @public
|
|
3657
3769
|
*/
|
|
3658
|
-
filter?: Record<string, Criterion
|
|
3770
|
+
filter?: Record<string, Criterion> | undefined;
|
|
3659
3771
|
/**
|
|
3660
3772
|
* <p>The sort order for the findings returned.</p>
|
|
3661
3773
|
* @public
|
|
3662
3774
|
*/
|
|
3663
|
-
sort?: SortCriteria;
|
|
3775
|
+
sort?: SortCriteria | undefined;
|
|
3664
3776
|
/**
|
|
3665
3777
|
* <p>A token used for pagination of results returned.</p>
|
|
3666
3778
|
* @public
|
|
3667
3779
|
*/
|
|
3668
|
-
nextToken?: string;
|
|
3780
|
+
nextToken?: string | undefined;
|
|
3669
3781
|
/**
|
|
3670
3782
|
* <p>The maximum number of results to return in the response.</p>
|
|
3671
3783
|
* @public
|
|
3672
3784
|
*/
|
|
3673
|
-
maxResults?: number;
|
|
3785
|
+
maxResults?: number | undefined;
|
|
3674
3786
|
}
|
|
3675
3787
|
/**
|
|
3676
3788
|
* <p>Contains information about a finding.</p>
|
|
@@ -3686,24 +3798,24 @@ export interface FindingSummary {
|
|
|
3686
3798
|
* <p>The external principal that has access to a resource within the zone of trust.</p>
|
|
3687
3799
|
* @public
|
|
3688
3800
|
*/
|
|
3689
|
-
principal?: Record<string, string
|
|
3801
|
+
principal?: Record<string, string> | undefined;
|
|
3690
3802
|
/**
|
|
3691
3803
|
* <p>The action in the analyzed policy statement that an external principal has permission to
|
|
3692
3804
|
* use.</p>
|
|
3693
3805
|
* @public
|
|
3694
3806
|
*/
|
|
3695
|
-
action?: string[];
|
|
3807
|
+
action?: string[] | undefined;
|
|
3696
3808
|
/**
|
|
3697
3809
|
* <p>The resource that the external principal has access to.</p>
|
|
3698
3810
|
* @public
|
|
3699
3811
|
*/
|
|
3700
|
-
resource?: string;
|
|
3812
|
+
resource?: string | undefined;
|
|
3701
3813
|
/**
|
|
3702
3814
|
* <p>Indicates whether the finding reports a resource that has a policy that allows public
|
|
3703
3815
|
* access.</p>
|
|
3704
3816
|
* @public
|
|
3705
3817
|
*/
|
|
3706
|
-
isPublic?: boolean;
|
|
3818
|
+
isPublic?: boolean | undefined;
|
|
3707
3819
|
/**
|
|
3708
3820
|
* <p>The type of the resource that the external principal has access to.</p>
|
|
3709
3821
|
* @public
|
|
@@ -3744,13 +3856,19 @@ export interface FindingSummary {
|
|
|
3744
3856
|
* <p>The error that resulted in an Error finding.</p>
|
|
3745
3857
|
* @public
|
|
3746
3858
|
*/
|
|
3747
|
-
error?: string;
|
|
3859
|
+
error?: string | undefined;
|
|
3748
3860
|
/**
|
|
3749
3861
|
* <p>The sources of the finding. This indicates how the access that generated the finding is
|
|
3750
3862
|
* granted. It is populated for Amazon S3 bucket findings.</p>
|
|
3751
3863
|
* @public
|
|
3752
3864
|
*/
|
|
3753
|
-
sources?: FindingSource[];
|
|
3865
|
+
sources?: FindingSource[] | undefined;
|
|
3866
|
+
/**
|
|
3867
|
+
* <p>The type of restriction applied to the finding by the resource owner with an Organizations
|
|
3868
|
+
* resource control policy (RCP).</p>
|
|
3869
|
+
* @public
|
|
3870
|
+
*/
|
|
3871
|
+
resourceControlPolicyRestriction?: ResourceControlPolicyRestriction | undefined;
|
|
3754
3872
|
}
|
|
3755
3873
|
/**
|
|
3756
3874
|
* <p>The response to the request.</p>
|
|
@@ -3767,7 +3885,7 @@ export interface ListFindingsResponse {
|
|
|
3767
3885
|
* <p>A token used for pagination of results returned.</p>
|
|
3768
3886
|
* @public
|
|
3769
3887
|
*/
|
|
3770
|
-
nextToken?: string;
|
|
3888
|
+
nextToken?: string | undefined;
|
|
3771
3889
|
}
|
|
3772
3890
|
/**
|
|
3773
3891
|
* @public
|
|
@@ -3783,22 +3901,22 @@ export interface ListFindingsV2Request {
|
|
|
3783
3901
|
* <p>A filter to match for the findings to return.</p>
|
|
3784
3902
|
* @public
|
|
3785
3903
|
*/
|
|
3786
|
-
filter?: Record<string, Criterion
|
|
3904
|
+
filter?: Record<string, Criterion> | undefined;
|
|
3787
3905
|
/**
|
|
3788
3906
|
* <p>The maximum number of results to return in the response.</p>
|
|
3789
3907
|
* @public
|
|
3790
3908
|
*/
|
|
3791
|
-
maxResults?: number;
|
|
3909
|
+
maxResults?: number | undefined;
|
|
3792
3910
|
/**
|
|
3793
3911
|
* <p>A token used for pagination of results returned.</p>
|
|
3794
3912
|
* @public
|
|
3795
3913
|
*/
|
|
3796
|
-
nextToken?: string;
|
|
3914
|
+
nextToken?: string | undefined;
|
|
3797
3915
|
/**
|
|
3798
3916
|
* <p>The criteria used to sort.</p>
|
|
3799
3917
|
* @public
|
|
3800
3918
|
*/
|
|
3801
|
-
sort?: SortCriteria;
|
|
3919
|
+
sort?: SortCriteria | undefined;
|
|
3802
3920
|
}
|
|
3803
3921
|
/**
|
|
3804
3922
|
* <p>Contains information about a finding.</p>
|
|
@@ -3820,7 +3938,7 @@ export interface FindingSummaryV2 {
|
|
|
3820
3938
|
* <p>The error that resulted in an Error finding.</p>
|
|
3821
3939
|
* @public
|
|
3822
3940
|
*/
|
|
3823
|
-
error?: string;
|
|
3941
|
+
error?: string | undefined;
|
|
3824
3942
|
/**
|
|
3825
3943
|
* <p>The ID of the finding.</p>
|
|
3826
3944
|
* @public
|
|
@@ -3830,7 +3948,7 @@ export interface FindingSummaryV2 {
|
|
|
3830
3948
|
* <p>The resource that the external principal has access to.</p>
|
|
3831
3949
|
* @public
|
|
3832
3950
|
*/
|
|
3833
|
-
resource?: string;
|
|
3951
|
+
resource?: string | undefined;
|
|
3834
3952
|
/**
|
|
3835
3953
|
* <p>The type of the resource that the external principal has access to.</p>
|
|
3836
3954
|
* @public
|
|
@@ -3855,7 +3973,7 @@ export interface FindingSummaryV2 {
|
|
|
3855
3973
|
* <p>The type of the external access or unused access finding.</p>
|
|
3856
3974
|
* @public
|
|
3857
3975
|
*/
|
|
3858
|
-
findingType?: FindingType;
|
|
3976
|
+
findingType?: FindingType | undefined;
|
|
3859
3977
|
}
|
|
3860
3978
|
/**
|
|
3861
3979
|
* @public
|
|
@@ -3871,7 +3989,7 @@ export interface ListFindingsV2Response {
|
|
|
3871
3989
|
* <p>A token used for pagination of results returned.</p>
|
|
3872
3990
|
* @public
|
|
3873
3991
|
*/
|
|
3874
|
-
nextToken?: string;
|
|
3992
|
+
nextToken?: string | undefined;
|
|
3875
3993
|
}
|
|
3876
3994
|
/**
|
|
3877
3995
|
* @public
|
|
@@ -3883,17 +4001,17 @@ export interface ListPolicyGenerationsRequest {
|
|
|
3883
4001
|
* for a specific principal.</p>
|
|
3884
4002
|
* @public
|
|
3885
4003
|
*/
|
|
3886
|
-
principalArn?: string;
|
|
4004
|
+
principalArn?: string | undefined;
|
|
3887
4005
|
/**
|
|
3888
4006
|
* <p>The maximum number of results to return in the response.</p>
|
|
3889
4007
|
* @public
|
|
3890
4008
|
*/
|
|
3891
|
-
maxResults?: number;
|
|
4009
|
+
maxResults?: number | undefined;
|
|
3892
4010
|
/**
|
|
3893
4011
|
* <p>A token used for pagination of results returned.</p>
|
|
3894
4012
|
* @public
|
|
3895
4013
|
*/
|
|
3896
|
-
nextToken?: string;
|
|
4014
|
+
nextToken?: string | undefined;
|
|
3897
4015
|
}
|
|
3898
4016
|
/**
|
|
3899
4017
|
* <p>Contains details about the policy generation status and properties.</p>
|
|
@@ -3927,7 +4045,7 @@ export interface PolicyGeneration {
|
|
|
3927
4045
|
* <p>A timestamp of when the policy generation was completed.</p>
|
|
3928
4046
|
* @public
|
|
3929
4047
|
*/
|
|
3930
|
-
completedOn?: Date;
|
|
4048
|
+
completedOn?: Date | undefined;
|
|
3931
4049
|
}
|
|
3932
4050
|
/**
|
|
3933
4051
|
* @public
|
|
@@ -3943,7 +4061,7 @@ export interface ListPolicyGenerationsResponse {
|
|
|
3943
4061
|
* <p>A token used for pagination of results returned.</p>
|
|
3944
4062
|
* @public
|
|
3945
4063
|
*/
|
|
3946
|
-
nextToken?: string;
|
|
4064
|
+
nextToken?: string | undefined;
|
|
3947
4065
|
}
|
|
3948
4066
|
/**
|
|
3949
4067
|
* <p>Retrieves a list of tags applied to the specified resource.</p>
|
|
@@ -3965,7 +4083,7 @@ export interface ListTagsForResourceResponse {
|
|
|
3965
4083
|
* <p>The tags that are applied to the specified resource.</p>
|
|
3966
4084
|
* @public
|
|
3967
4085
|
*/
|
|
3968
|
-
tags?: Record<string, string
|
|
4086
|
+
tags?: Record<string, string> | undefined;
|
|
3969
4087
|
}
|
|
3970
4088
|
/**
|
|
3971
4089
|
* <p>Contains details about the CloudTrail trail being analyzed to generate a policy.</p>
|
|
@@ -3982,14 +4100,14 @@ export interface Trail {
|
|
|
3982
4100
|
* <p>A list of regions to get CloudTrail data from and analyze to generate a policy.</p>
|
|
3983
4101
|
* @public
|
|
3984
4102
|
*/
|
|
3985
|
-
regions?: string[];
|
|
4103
|
+
regions?: string[] | undefined;
|
|
3986
4104
|
/**
|
|
3987
4105
|
* <p>Possible values are <code>true</code> or <code>false</code>. If set to
|
|
3988
4106
|
* <code>true</code>, IAM Access Analyzer retrieves CloudTrail data from all regions to analyze and
|
|
3989
4107
|
* generate a policy.</p>
|
|
3990
4108
|
* @public
|
|
3991
4109
|
*/
|
|
3992
|
-
allRegions?: boolean;
|
|
4110
|
+
allRegions?: boolean | undefined;
|
|
3993
4111
|
}
|
|
3994
4112
|
/**
|
|
3995
4113
|
* <p>Contains information about CloudTrail access.</p>
|
|
@@ -4019,7 +4137,7 @@ export interface CloudTrailDetails {
|
|
|
4019
4137
|
* included in the request, the default value is the current time.</p>
|
|
4020
4138
|
* @public
|
|
4021
4139
|
*/
|
|
4022
|
-
endTime?: Date;
|
|
4140
|
+
endTime?: Date | undefined;
|
|
4023
4141
|
}
|
|
4024
4142
|
/**
|
|
4025
4143
|
* <p>Contains the ARN details about the IAM entity for which the policy is
|
|
@@ -4048,7 +4166,7 @@ export interface StartPolicyGenerationRequest {
|
|
|
4048
4166
|
* that you want to analyze to generate policies.</p>
|
|
4049
4167
|
* @public
|
|
4050
4168
|
*/
|
|
4051
|
-
cloudTrailDetails?: CloudTrailDetails;
|
|
4169
|
+
cloudTrailDetails?: CloudTrailDetails | undefined;
|
|
4052
4170
|
/**
|
|
4053
4171
|
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
|
|
4054
4172
|
* request. Idempotency ensures that an API request completes only once. With an idempotent
|
|
@@ -4059,7 +4177,7 @@ export interface StartPolicyGenerationRequest {
|
|
|
4059
4177
|
* SDK.</p>
|
|
4060
4178
|
* @public
|
|
4061
4179
|
*/
|
|
4062
|
-
clientToken?: string;
|
|
4180
|
+
clientToken?: string | undefined;
|
|
4063
4181
|
}
|
|
4064
4182
|
/**
|
|
4065
4183
|
* @public
|
|
@@ -4096,7 +4214,7 @@ export interface StartResourceScanRequest {
|
|
|
4096
4214
|
* account is the account in which the resource was created.</p>
|
|
4097
4215
|
* @public
|
|
4098
4216
|
*/
|
|
4099
|
-
resourceOwnerAccount?: string;
|
|
4217
|
+
resourceOwnerAccount?: string | undefined;
|
|
4100
4218
|
}
|
|
4101
4219
|
/**
|
|
4102
4220
|
* <p>Adds a tag to the specified resource.</p>
|
|
@@ -4168,17 +4286,17 @@ export interface UpdateFindingsRequest {
|
|
|
4168
4286
|
* <p>The IDs of the findings to update.</p>
|
|
4169
4287
|
* @public
|
|
4170
4288
|
*/
|
|
4171
|
-
ids?: string[];
|
|
4289
|
+
ids?: string[] | undefined;
|
|
4172
4290
|
/**
|
|
4173
4291
|
* <p>The ARN of the resource identified in the finding.</p>
|
|
4174
4292
|
* @public
|
|
4175
4293
|
*/
|
|
4176
|
-
resourceArn?: string;
|
|
4294
|
+
resourceArn?: string | undefined;
|
|
4177
4295
|
/**
|
|
4178
4296
|
* <p>A client token.</p>
|
|
4179
4297
|
* @public
|
|
4180
4298
|
*/
|
|
4181
|
-
clientToken?: string;
|
|
4299
|
+
clientToken?: string | undefined;
|
|
4182
4300
|
}
|
|
4183
4301
|
/**
|
|
4184
4302
|
* @public
|
|
@@ -4206,6 +4324,7 @@ export type Locale = (typeof Locale)[keyof typeof Locale];
|
|
|
4206
4324
|
*/
|
|
4207
4325
|
export declare const PolicyType: {
|
|
4208
4326
|
readonly IDENTITY_POLICY: "IDENTITY_POLICY";
|
|
4327
|
+
readonly RESOURCE_CONTROL_POLICY: "RESOURCE_CONTROL_POLICY";
|
|
4209
4328
|
readonly RESOURCE_POLICY: "RESOURCE_POLICY";
|
|
4210
4329
|
readonly SERVICE_CONTROL_POLICY: "SERVICE_CONTROL_POLICY";
|
|
4211
4330
|
};
|
|
@@ -4237,17 +4356,17 @@ export interface ValidatePolicyRequest {
|
|
|
4237
4356
|
* <p>The locale to use for localizing the findings.</p>
|
|
4238
4357
|
* @public
|
|
4239
4358
|
*/
|
|
4240
|
-
locale?: Locale;
|
|
4359
|
+
locale?: Locale | undefined;
|
|
4241
4360
|
/**
|
|
4242
4361
|
* <p>The maximum number of results to return in the response.</p>
|
|
4243
4362
|
* @public
|
|
4244
4363
|
*/
|
|
4245
|
-
maxResults?: number;
|
|
4364
|
+
maxResults?: number | undefined;
|
|
4246
4365
|
/**
|
|
4247
4366
|
* <p>A token used for pagination of results returned.</p>
|
|
4248
4367
|
* @public
|
|
4249
4368
|
*/
|
|
4250
|
-
nextToken?: string;
|
|
4369
|
+
nextToken?: string | undefined;
|
|
4251
4370
|
/**
|
|
4252
4371
|
* <p>The JSON policy document to use as the content for the policy.</p>
|
|
4253
4372
|
* @public
|
|
@@ -4277,7 +4396,7 @@ export interface ValidatePolicyRequest {
|
|
|
4277
4396
|
* will run policy checks that apply to all resource policies.</p>
|
|
4278
4397
|
* @public
|
|
4279
4398
|
*/
|
|
4280
|
-
validatePolicyResourceType?: ValidatePolicyResourceType;
|
|
4399
|
+
validatePolicyResourceType?: ValidatePolicyResourceType | undefined;
|
|
4281
4400
|
}
|
|
4282
4401
|
/**
|
|
4283
4402
|
* @public
|
|
@@ -4491,7 +4610,7 @@ export interface ValidatePolicyResponse {
|
|
|
4491
4610
|
* <p>A token used for pagination of results returned.</p>
|
|
4492
4611
|
* @public
|
|
4493
4612
|
*/
|
|
4494
|
-
nextToken?: string;
|
|
4613
|
+
nextToken?: string | undefined;
|
|
4495
4614
|
}
|
|
4496
4615
|
/**
|
|
4497
4616
|
* @internal
|