@aws-sdk/client-accessanalyzer 3.428.0 → 3.429.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.
|
@@ -211,7 +211,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
211
211
|
* @public
|
|
212
212
|
* <p>The reason for the exception.</p>
|
|
213
213
|
*/
|
|
214
|
-
reason: ValidationExceptionReason |
|
|
214
|
+
reason: ValidationExceptionReason | undefined;
|
|
215
215
|
/**
|
|
216
216
|
* @public
|
|
217
217
|
* <p>A list of fields that didn't validate.</p>
|
|
@@ -397,7 +397,7 @@ export interface CreateAnalyzerRequest {
|
|
|
397
397
|
* You can create only one analyzer per account per Region. You can create up to 5 analyzers
|
|
398
398
|
* per organization per Region.</p>
|
|
399
399
|
*/
|
|
400
|
-
type: Type |
|
|
400
|
+
type: Type | undefined;
|
|
401
401
|
/**
|
|
402
402
|
* @public
|
|
403
403
|
* <p>Specifies the archive rules to add for the analyzer. Archive rules automatically archive
|
|
@@ -473,7 +473,7 @@ export interface StatusReason {
|
|
|
473
473
|
* @public
|
|
474
474
|
* <p>The reason code for the current status of the analyzer.</p>
|
|
475
475
|
*/
|
|
476
|
-
code: ReasonCode |
|
|
476
|
+
code: ReasonCode | undefined;
|
|
477
477
|
}
|
|
478
478
|
/**
|
|
479
479
|
* @public
|
|
@@ -495,7 +495,7 @@ export interface AnalyzerSummary {
|
|
|
495
495
|
* <p>The type of analyzer, which corresponds to the zone of trust chosen for the
|
|
496
496
|
* analyzer.</p>
|
|
497
497
|
*/
|
|
498
|
-
type: Type |
|
|
498
|
+
type: Type | undefined;
|
|
499
499
|
/**
|
|
500
500
|
* @public
|
|
501
501
|
* <p>A timestamp for the time at which the analyzer was created.</p>
|
|
@@ -525,7 +525,7 @@ export interface AnalyzerSummary {
|
|
|
525
525
|
* analyzer creation is in progress and <code>Failed</code> when the analyzer creation has
|
|
526
526
|
* failed. </p>
|
|
527
527
|
*/
|
|
528
|
-
status: AnalyzerStatus |
|
|
528
|
+
status: AnalyzerStatus | undefined;
|
|
529
529
|
/**
|
|
530
530
|
* @public
|
|
531
531
|
* <p>The <code>statusReason</code> provides more details about the current status of the
|
|
@@ -567,7 +567,7 @@ export interface ListAnalyzersRequest {
|
|
|
567
567
|
* @public
|
|
568
568
|
* <p>The type of analyzer.</p>
|
|
569
569
|
*/
|
|
570
|
-
type?: Type
|
|
570
|
+
type?: Type;
|
|
571
571
|
}
|
|
572
572
|
/**
|
|
573
573
|
* @public
|
|
@@ -830,7 +830,7 @@ export interface KmsGrantConfiguration {
|
|
|
830
830
|
* @public
|
|
831
831
|
* <p>A list of operations that the grant permits.</p>
|
|
832
832
|
*/
|
|
833
|
-
operations:
|
|
833
|
+
operations: KmsGrantOperation[] | undefined;
|
|
834
834
|
/**
|
|
835
835
|
* @public
|
|
836
836
|
* <p>The principal that is given permission to perform the operations that the grant
|
|
@@ -1257,7 +1257,7 @@ export interface S3BucketAclGrantConfiguration {
|
|
|
1257
1257
|
* @public
|
|
1258
1258
|
* <p>The permissions being granted.</p>
|
|
1259
1259
|
*/
|
|
1260
|
-
permission: AclPermission |
|
|
1260
|
+
permission: AclPermission | undefined;
|
|
1261
1261
|
/**
|
|
1262
1262
|
* @public
|
|
1263
1263
|
* <p>The grantee to whom you’re assigning access rights.</p>
|
|
@@ -1699,7 +1699,7 @@ export interface AccessPreviewStatusReason {
|
|
|
1699
1699
|
* @public
|
|
1700
1700
|
* <p>The reason code for the current status of the access preview.</p>
|
|
1701
1701
|
*/
|
|
1702
|
-
code: AccessPreviewStatusReasonCode |
|
|
1702
|
+
code: AccessPreviewStatusReasonCode | undefined;
|
|
1703
1703
|
}
|
|
1704
1704
|
/**
|
|
1705
1705
|
* @public
|
|
@@ -1745,7 +1745,7 @@ export interface AccessPreview {
|
|
|
1745
1745
|
* </li>
|
|
1746
1746
|
* </ul>
|
|
1747
1747
|
*/
|
|
1748
|
-
status: AccessPreviewStatus |
|
|
1748
|
+
status: AccessPreviewStatus | undefined;
|
|
1749
1749
|
/**
|
|
1750
1750
|
* @public
|
|
1751
1751
|
* <p>Provides more details about the current status of the access preview.</p>
|
|
@@ -1804,7 +1804,7 @@ export interface AnalyzedResource {
|
|
|
1804
1804
|
* @public
|
|
1805
1805
|
* <p>The type of the resource that was analyzed.</p>
|
|
1806
1806
|
*/
|
|
1807
|
-
resourceType: ResourceType |
|
|
1807
|
+
resourceType: ResourceType | undefined;
|
|
1808
1808
|
/**
|
|
1809
1809
|
* @public
|
|
1810
1810
|
* <p>The time at which the finding was created.</p>
|
|
@@ -1842,7 +1842,7 @@ export interface AnalyzedResource {
|
|
|
1842
1842
|
* @public
|
|
1843
1843
|
* <p>The current status of the finding generated from the analyzed resource.</p>
|
|
1844
1844
|
*/
|
|
1845
|
-
status?: FindingStatus
|
|
1845
|
+
status?: FindingStatus;
|
|
1846
1846
|
/**
|
|
1847
1847
|
* @public
|
|
1848
1848
|
* <p>The Amazon Web Services account ID that owns the resource.</p>
|
|
@@ -1915,7 +1915,7 @@ export interface FindingSource {
|
|
|
1915
1915
|
* @public
|
|
1916
1916
|
* <p>Indicates the type of access that generated the finding.</p>
|
|
1917
1917
|
*/
|
|
1918
|
-
type: FindingSourceType |
|
|
1918
|
+
type: FindingSourceType | undefined;
|
|
1919
1919
|
/**
|
|
1920
1920
|
* @public
|
|
1921
1921
|
* <p>Includes details about how the access that generated the finding is granted. This is
|
|
@@ -1959,7 +1959,7 @@ export interface Finding {
|
|
|
1959
1959
|
* @public
|
|
1960
1960
|
* <p>The type of the resource identified in the finding.</p>
|
|
1961
1961
|
*/
|
|
1962
|
-
resourceType: ResourceType |
|
|
1962
|
+
resourceType: ResourceType | undefined;
|
|
1963
1963
|
/**
|
|
1964
1964
|
* @public
|
|
1965
1965
|
* <p>The condition in the analyzed policy statement that resulted in a finding.</p>
|
|
@@ -1984,7 +1984,7 @@ export interface Finding {
|
|
|
1984
1984
|
* @public
|
|
1985
1985
|
* <p>The current status of the finding.</p>
|
|
1986
1986
|
*/
|
|
1987
|
-
status: FindingStatus |
|
|
1987
|
+
status: FindingStatus | undefined;
|
|
1988
1988
|
/**
|
|
1989
1989
|
* @public
|
|
1990
1990
|
* <p>The Amazon Web Services account ID that owns the resource.</p>
|
|
@@ -2168,7 +2168,7 @@ export interface JobError {
|
|
|
2168
2168
|
* @public
|
|
2169
2169
|
* <p>The job error code.</p>
|
|
2170
2170
|
*/
|
|
2171
|
-
code: JobErrorCode |
|
|
2171
|
+
code: JobErrorCode | undefined;
|
|
2172
2172
|
/**
|
|
2173
2173
|
* @public
|
|
2174
2174
|
* <p>Specific information about the error. For example, which service quota was exceeded or
|
|
@@ -2207,7 +2207,7 @@ export interface JobDetails {
|
|
|
2207
2207
|
* @public
|
|
2208
2208
|
* <p>The status of the job request.</p>
|
|
2209
2209
|
*/
|
|
2210
|
-
status: JobStatus |
|
|
2210
|
+
status: JobStatus | undefined;
|
|
2211
2211
|
/**
|
|
2212
2212
|
* @public
|
|
2213
2213
|
* <p>A timestamp of when the job was started.</p>
|
|
@@ -2307,7 +2307,7 @@ export interface AccessPreviewFinding {
|
|
|
2307
2307
|
* @public
|
|
2308
2308
|
* <p>The existing status of the finding, provided only for existing findings.</p>
|
|
2309
2309
|
*/
|
|
2310
|
-
existingFindingStatus?: FindingStatus
|
|
2310
|
+
existingFindingStatus?: FindingStatus;
|
|
2311
2311
|
/**
|
|
2312
2312
|
* @public
|
|
2313
2313
|
* <p>The external principal that has access to a resource within the zone of trust.</p>
|
|
@@ -2340,7 +2340,7 @@ export interface AccessPreviewFinding {
|
|
|
2340
2340
|
* @public
|
|
2341
2341
|
* <p>The type of the resource that can be accessed in the finding.</p>
|
|
2342
2342
|
*/
|
|
2343
|
-
resourceType: ResourceType |
|
|
2343
|
+
resourceType: ResourceType | undefined;
|
|
2344
2344
|
/**
|
|
2345
2345
|
* @public
|
|
2346
2346
|
* <p>The time at which the access preview finding was created.</p>
|
|
@@ -2370,7 +2370,7 @@ export interface AccessPreviewFinding {
|
|
|
2370
2370
|
* and existing status <code>Active</code> indicates the existing <code>Active</code> finding
|
|
2371
2371
|
* would become <code>Resolved</code> as a result of the proposed permissions change.</p>
|
|
2372
2372
|
*/
|
|
2373
|
-
changeType: FindingChangeType |
|
|
2373
|
+
changeType: FindingChangeType | undefined;
|
|
2374
2374
|
/**
|
|
2375
2375
|
* @public
|
|
2376
2376
|
* <p>The preview status of the finding. This is what the status of the finding would be after
|
|
@@ -2379,7 +2379,7 @@ export interface AccessPreviewFinding {
|
|
|
2379
2379
|
* <code>Active</code> finding would become <code>Resolved</code> as a result of the
|
|
2380
2380
|
* proposed permissions change.</p>
|
|
2381
2381
|
*/
|
|
2382
|
-
status: FindingStatus |
|
|
2382
|
+
status: FindingStatus | undefined;
|
|
2383
2383
|
/**
|
|
2384
2384
|
* @public
|
|
2385
2385
|
* <p>The Amazon Web Services account ID that owns the resource. For most Amazon Web Services resources, the owning
|
|
@@ -2473,7 +2473,7 @@ export interface AccessPreviewSummary {
|
|
|
2473
2473
|
* </li>
|
|
2474
2474
|
* </ul>
|
|
2475
2475
|
*/
|
|
2476
|
-
status: AccessPreviewStatus |
|
|
2476
|
+
status: AccessPreviewStatus | undefined;
|
|
2477
2477
|
/**
|
|
2478
2478
|
* @public
|
|
2479
2479
|
* <p>Provides more details about the current status of the access preview. For example, if
|
|
@@ -2513,7 +2513,7 @@ export interface ListAnalyzedResourcesRequest {
|
|
|
2513
2513
|
* @public
|
|
2514
2514
|
* <p>The type of resource.</p>
|
|
2515
2515
|
*/
|
|
2516
|
-
resourceType?: ResourceType
|
|
2516
|
+
resourceType?: ResourceType;
|
|
2517
2517
|
/**
|
|
2518
2518
|
* @public
|
|
2519
2519
|
* <p>A token used for pagination of results returned.</p>
|
|
@@ -2544,7 +2544,7 @@ export interface AnalyzedResourceSummary {
|
|
|
2544
2544
|
* @public
|
|
2545
2545
|
* <p>The type of resource that was analyzed.</p>
|
|
2546
2546
|
*/
|
|
2547
|
-
resourceType: ResourceType |
|
|
2547
|
+
resourceType: ResourceType | undefined;
|
|
2548
2548
|
}
|
|
2549
2549
|
/**
|
|
2550
2550
|
* @public
|
|
@@ -2580,7 +2580,7 @@ export interface SortCriteria {
|
|
|
2580
2580
|
* @public
|
|
2581
2581
|
* <p>The sort order, ascending or descending.</p>
|
|
2582
2582
|
*/
|
|
2583
|
-
orderBy?: OrderBy
|
|
2583
|
+
orderBy?: OrderBy;
|
|
2584
2584
|
}
|
|
2585
2585
|
/**
|
|
2586
2586
|
* @public
|
|
@@ -2650,7 +2650,7 @@ export interface FindingSummary {
|
|
|
2650
2650
|
* @public
|
|
2651
2651
|
* <p>The type of the resource that the external principal has access to.</p>
|
|
2652
2652
|
*/
|
|
2653
|
-
resourceType: ResourceType |
|
|
2653
|
+
resourceType: ResourceType | undefined;
|
|
2654
2654
|
/**
|
|
2655
2655
|
* @public
|
|
2656
2656
|
* <p>The condition in the analyzed policy statement that resulted in a finding.</p>
|
|
@@ -2676,7 +2676,7 @@ export interface FindingSummary {
|
|
|
2676
2676
|
* @public
|
|
2677
2677
|
* <p>The status of the finding.</p>
|
|
2678
2678
|
*/
|
|
2679
|
-
status: FindingStatus |
|
|
2679
|
+
status: FindingStatus | undefined;
|
|
2680
2680
|
/**
|
|
2681
2681
|
* @public
|
|
2682
2682
|
* <p>The Amazon Web Services account ID that owns the resource.</p>
|
|
@@ -2755,7 +2755,7 @@ export interface PolicyGeneration {
|
|
|
2755
2755
|
* @public
|
|
2756
2756
|
* <p>The status of the policy generation request.</p>
|
|
2757
2757
|
*/
|
|
2758
|
-
status: JobStatus |
|
|
2758
|
+
status: JobStatus | undefined;
|
|
2759
2759
|
/**
|
|
2760
2760
|
* @public
|
|
2761
2761
|
* <p>A timestamp of when the policy generation started.</p>
|
|
@@ -3001,7 +3001,7 @@ export interface UpdateFindingsRequest {
|
|
|
3001
3001
|
* <code>ARCHIVE</code> to change an Active finding to an Archived finding. Use
|
|
3002
3002
|
* <code>ACTIVE</code> to change an Archived finding to an Active finding.</p>
|
|
3003
3003
|
*/
|
|
3004
|
-
status: FindingStatusUpdate |
|
|
3004
|
+
status: FindingStatusUpdate | undefined;
|
|
3005
3005
|
/**
|
|
3006
3006
|
* @public
|
|
3007
3007
|
* <p>The IDs of the findings to update.</p>
|
|
@@ -3074,7 +3074,7 @@ export interface ValidatePolicyRequest {
|
|
|
3074
3074
|
* @public
|
|
3075
3075
|
* <p>The locale to use for localizing the findings.</p>
|
|
3076
3076
|
*/
|
|
3077
|
-
locale?: Locale
|
|
3077
|
+
locale?: Locale;
|
|
3078
3078
|
/**
|
|
3079
3079
|
* @public
|
|
3080
3080
|
* <p>The maximum number of results to return in the response.</p>
|
|
@@ -3101,7 +3101,7 @@ export interface ValidatePolicyRequest {
|
|
|
3101
3101
|
* input such as identity policy or resource policy or a specific input such as managed policy
|
|
3102
3102
|
* or Amazon S3 bucket policy. </p>
|
|
3103
3103
|
*/
|
|
3104
|
-
policyType: PolicyType |
|
|
3104
|
+
policyType: PolicyType | undefined;
|
|
3105
3105
|
/**
|
|
3106
3106
|
* @public
|
|
3107
3107
|
* <p>The type of resource to attach to your resource policy. Specify a value for the policy
|
|
@@ -3113,7 +3113,7 @@ export interface ValidatePolicyRequest {
|
|
|
3113
3113
|
* KMS key, do not specify a value for the policy validation resource type and IAM Access Analyzer
|
|
3114
3114
|
* will run policy checks that apply to all resource policies.</p>
|
|
3115
3115
|
*/
|
|
3116
|
-
validatePolicyResourceType?: ValidatePolicyResourceType
|
|
3116
|
+
validatePolicyResourceType?: ValidatePolicyResourceType;
|
|
3117
3117
|
}
|
|
3118
3118
|
/**
|
|
3119
3119
|
* @public
|
|
@@ -3295,7 +3295,7 @@ export interface ValidatePolicyFinding {
|
|
|
3295
3295
|
* <p>Suggestions recommend stylistic improvements in the policy that do not impact
|
|
3296
3296
|
* access.</p>
|
|
3297
3297
|
*/
|
|
3298
|
-
findingType: ValidatePolicyFindingType |
|
|
3298
|
+
findingType: ValidatePolicyFindingType | undefined;
|
|
3299
3299
|
/**
|
|
3300
3300
|
* @public
|
|
3301
3301
|
* <p>The issue code provides an identifier of the issue associated with this finding.</p>
|
|
@@ -79,7 +79,7 @@ export type ValidationExceptionReason =
|
|
|
79
79
|
export declare class ValidationException extends __BaseException {
|
|
80
80
|
readonly name: "ValidationException";
|
|
81
81
|
readonly $fault: "client";
|
|
82
|
-
reason: ValidationExceptionReason |
|
|
82
|
+
reason: ValidationExceptionReason | undefined;
|
|
83
83
|
fieldList?: ValidationExceptionField[];
|
|
84
84
|
constructor(
|
|
85
85
|
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
@@ -125,7 +125,7 @@ export interface InlineArchiveRule {
|
|
|
125
125
|
export type Type = "ACCOUNT" | "ORGANIZATION";
|
|
126
126
|
export interface CreateAnalyzerRequest {
|
|
127
127
|
analyzerName: string | undefined;
|
|
128
|
-
type: Type |
|
|
128
|
+
type: Type | undefined;
|
|
129
129
|
archiveRules?: InlineArchiveRule[];
|
|
130
130
|
tags?: Record<string, string>;
|
|
131
131
|
clientToken?: string;
|
|
@@ -147,17 +147,17 @@ export type ReasonCode =
|
|
|
147
147
|
| "ORGANIZATION_DELETED"
|
|
148
148
|
| "SERVICE_LINKED_ROLE_CREATION_FAILED";
|
|
149
149
|
export interface StatusReason {
|
|
150
|
-
code: ReasonCode |
|
|
150
|
+
code: ReasonCode | undefined;
|
|
151
151
|
}
|
|
152
152
|
export interface AnalyzerSummary {
|
|
153
153
|
arn: string | undefined;
|
|
154
154
|
name: string | undefined;
|
|
155
|
-
type: Type |
|
|
155
|
+
type: Type | undefined;
|
|
156
156
|
createdAt: Date | undefined;
|
|
157
157
|
lastResourceAnalyzed?: string;
|
|
158
158
|
lastResourceAnalyzedAt?: Date;
|
|
159
159
|
tags?: Record<string, string>;
|
|
160
|
-
status: AnalyzerStatus |
|
|
160
|
+
status: AnalyzerStatus | undefined;
|
|
161
161
|
statusReason?: StatusReason;
|
|
162
162
|
}
|
|
163
163
|
export interface GetAnalyzerResponse {
|
|
@@ -166,7 +166,7 @@ export interface GetAnalyzerResponse {
|
|
|
166
166
|
export interface ListAnalyzersRequest {
|
|
167
167
|
nextToken?: string;
|
|
168
168
|
maxResults?: number;
|
|
169
|
-
type?: Type
|
|
169
|
+
type?: Type;
|
|
170
170
|
}
|
|
171
171
|
export interface ListAnalyzersResponse {
|
|
172
172
|
analyzers: AnalyzerSummary[] | undefined;
|
|
@@ -218,7 +218,7 @@ export declare const KmsGrantOperation: {
|
|
|
218
218
|
export type KmsGrantOperation =
|
|
219
219
|
(typeof KmsGrantOperation)[keyof typeof KmsGrantOperation];
|
|
220
220
|
export interface KmsGrantConfiguration {
|
|
221
|
-
operations:
|
|
221
|
+
operations: KmsGrantOperation[] | undefined;
|
|
222
222
|
granteePrincipal: string | undefined;
|
|
223
223
|
retiringPrincipal?: string;
|
|
224
224
|
constraints?: KmsGrantConstraints;
|
|
@@ -354,7 +354,7 @@ export declare const AclPermission: {
|
|
|
354
354
|
};
|
|
355
355
|
export type AclPermission = (typeof AclPermission)[keyof typeof AclPermission];
|
|
356
356
|
export interface S3BucketAclGrantConfiguration {
|
|
357
|
-
permission: AclPermission |
|
|
357
|
+
permission: AclPermission | undefined;
|
|
358
358
|
grantee: AclGrantee | undefined;
|
|
359
359
|
}
|
|
360
360
|
export interface S3BucketConfiguration {
|
|
@@ -597,14 +597,14 @@ export declare const AccessPreviewStatusReasonCode: {
|
|
|
597
597
|
export type AccessPreviewStatusReasonCode =
|
|
598
598
|
(typeof AccessPreviewStatusReasonCode)[keyof typeof AccessPreviewStatusReasonCode];
|
|
599
599
|
export interface AccessPreviewStatusReason {
|
|
600
|
-
code: AccessPreviewStatusReasonCode |
|
|
600
|
+
code: AccessPreviewStatusReasonCode | undefined;
|
|
601
601
|
}
|
|
602
602
|
export interface AccessPreview {
|
|
603
603
|
id: string | undefined;
|
|
604
604
|
analyzerArn: string | undefined;
|
|
605
605
|
configurations: Record<string, Configuration> | undefined;
|
|
606
606
|
createdAt: Date | undefined;
|
|
607
|
-
status: AccessPreviewStatus |
|
|
607
|
+
status: AccessPreviewStatus | undefined;
|
|
608
608
|
statusReason?: AccessPreviewStatusReason;
|
|
609
609
|
}
|
|
610
610
|
export interface GetAccessPreviewResponse {
|
|
@@ -631,14 +631,14 @@ export type ResourceType =
|
|
|
631
631
|
export type FindingStatus = "ACTIVE" | "ARCHIVED" | "RESOLVED";
|
|
632
632
|
export interface AnalyzedResource {
|
|
633
633
|
resourceArn: string | undefined;
|
|
634
|
-
resourceType: ResourceType |
|
|
634
|
+
resourceType: ResourceType | undefined;
|
|
635
635
|
createdAt: Date | undefined;
|
|
636
636
|
analyzedAt: Date | undefined;
|
|
637
637
|
updatedAt: Date | undefined;
|
|
638
638
|
isPublic: boolean | undefined;
|
|
639
639
|
actions?: string[];
|
|
640
640
|
sharedVia?: string[];
|
|
641
|
-
status?: FindingStatus
|
|
641
|
+
status?: FindingStatus;
|
|
642
642
|
resourceOwnerAccount: string | undefined;
|
|
643
643
|
error?: string;
|
|
644
644
|
}
|
|
@@ -659,7 +659,7 @@ export type FindingSourceType =
|
|
|
659
659
|
| "S3_ACCESS_POINT"
|
|
660
660
|
| "S3_ACCESS_POINT_ACCOUNT";
|
|
661
661
|
export interface FindingSource {
|
|
662
|
-
type: FindingSourceType |
|
|
662
|
+
type: FindingSourceType | undefined;
|
|
663
663
|
detail?: FindingSourceDetail;
|
|
664
664
|
}
|
|
665
665
|
export interface Finding {
|
|
@@ -668,12 +668,12 @@ export interface Finding {
|
|
|
668
668
|
action?: string[];
|
|
669
669
|
resource?: string;
|
|
670
670
|
isPublic?: boolean;
|
|
671
|
-
resourceType: ResourceType |
|
|
671
|
+
resourceType: ResourceType | undefined;
|
|
672
672
|
condition: Record<string, string> | undefined;
|
|
673
673
|
createdAt: Date | undefined;
|
|
674
674
|
analyzedAt: Date | undefined;
|
|
675
675
|
updatedAt: Date | undefined;
|
|
676
|
-
status: FindingStatus |
|
|
676
|
+
status: FindingStatus | undefined;
|
|
677
677
|
resourceOwnerAccount: string | undefined;
|
|
678
678
|
error?: string;
|
|
679
679
|
sources?: FindingSource[];
|
|
@@ -716,7 +716,7 @@ export declare const JobErrorCode: {
|
|
|
716
716
|
};
|
|
717
717
|
export type JobErrorCode = (typeof JobErrorCode)[keyof typeof JobErrorCode];
|
|
718
718
|
export interface JobError {
|
|
719
|
-
code: JobErrorCode |
|
|
719
|
+
code: JobErrorCode | undefined;
|
|
720
720
|
message: string | undefined;
|
|
721
721
|
}
|
|
722
722
|
export declare const JobStatus: {
|
|
@@ -728,7 +728,7 @@ export declare const JobStatus: {
|
|
|
728
728
|
export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
|
|
729
729
|
export interface JobDetails {
|
|
730
730
|
jobId: string | undefined;
|
|
731
|
-
status: JobStatus |
|
|
731
|
+
status: JobStatus | undefined;
|
|
732
732
|
startedOn: Date | undefined;
|
|
733
733
|
completedOn?: Date;
|
|
734
734
|
jobError?: JobError;
|
|
@@ -754,16 +754,16 @@ export type FindingChangeType =
|
|
|
754
754
|
export interface AccessPreviewFinding {
|
|
755
755
|
id: string | undefined;
|
|
756
756
|
existingFindingId?: string;
|
|
757
|
-
existingFindingStatus?: FindingStatus
|
|
757
|
+
existingFindingStatus?: FindingStatus;
|
|
758
758
|
principal?: Record<string, string>;
|
|
759
759
|
action?: string[];
|
|
760
760
|
condition?: Record<string, string>;
|
|
761
761
|
resource?: string;
|
|
762
762
|
isPublic?: boolean;
|
|
763
|
-
resourceType: ResourceType |
|
|
763
|
+
resourceType: ResourceType | undefined;
|
|
764
764
|
createdAt: Date | undefined;
|
|
765
|
-
changeType: FindingChangeType |
|
|
766
|
-
status: FindingStatus |
|
|
765
|
+
changeType: FindingChangeType | undefined;
|
|
766
|
+
status: FindingStatus | undefined;
|
|
767
767
|
resourceOwnerAccount: string | undefined;
|
|
768
768
|
error?: string;
|
|
769
769
|
sources?: FindingSource[];
|
|
@@ -781,7 +781,7 @@ export interface AccessPreviewSummary {
|
|
|
781
781
|
id: string | undefined;
|
|
782
782
|
analyzerArn: string | undefined;
|
|
783
783
|
createdAt: Date | undefined;
|
|
784
|
-
status: AccessPreviewStatus |
|
|
784
|
+
status: AccessPreviewStatus | undefined;
|
|
785
785
|
statusReason?: AccessPreviewStatusReason;
|
|
786
786
|
}
|
|
787
787
|
export interface ListAccessPreviewsResponse {
|
|
@@ -790,14 +790,14 @@ export interface ListAccessPreviewsResponse {
|
|
|
790
790
|
}
|
|
791
791
|
export interface ListAnalyzedResourcesRequest {
|
|
792
792
|
analyzerArn: string | undefined;
|
|
793
|
-
resourceType?: ResourceType
|
|
793
|
+
resourceType?: ResourceType;
|
|
794
794
|
nextToken?: string;
|
|
795
795
|
maxResults?: number;
|
|
796
796
|
}
|
|
797
797
|
export interface AnalyzedResourceSummary {
|
|
798
798
|
resourceArn: string | undefined;
|
|
799
799
|
resourceOwnerAccount: string | undefined;
|
|
800
|
-
resourceType: ResourceType |
|
|
800
|
+
resourceType: ResourceType | undefined;
|
|
801
801
|
}
|
|
802
802
|
export interface ListAnalyzedResourcesResponse {
|
|
803
803
|
analyzedResources: AnalyzedResourceSummary[] | undefined;
|
|
@@ -806,7 +806,7 @@ export interface ListAnalyzedResourcesResponse {
|
|
|
806
806
|
export type OrderBy = "ASC" | "DESC";
|
|
807
807
|
export interface SortCriteria {
|
|
808
808
|
attributeName?: string;
|
|
809
|
-
orderBy?: OrderBy
|
|
809
|
+
orderBy?: OrderBy;
|
|
810
810
|
}
|
|
811
811
|
export interface ListFindingsRequest {
|
|
812
812
|
analyzerArn: string | undefined;
|
|
@@ -821,12 +821,12 @@ export interface FindingSummary {
|
|
|
821
821
|
action?: string[];
|
|
822
822
|
resource?: string;
|
|
823
823
|
isPublic?: boolean;
|
|
824
|
-
resourceType: ResourceType |
|
|
824
|
+
resourceType: ResourceType | undefined;
|
|
825
825
|
condition: Record<string, string> | undefined;
|
|
826
826
|
createdAt: Date | undefined;
|
|
827
827
|
analyzedAt: Date | undefined;
|
|
828
828
|
updatedAt: Date | undefined;
|
|
829
|
-
status: FindingStatus |
|
|
829
|
+
status: FindingStatus | undefined;
|
|
830
830
|
resourceOwnerAccount: string | undefined;
|
|
831
831
|
error?: string;
|
|
832
832
|
sources?: FindingSource[];
|
|
@@ -843,7 +843,7 @@ export interface ListPolicyGenerationsRequest {
|
|
|
843
843
|
export interface PolicyGeneration {
|
|
844
844
|
jobId: string | undefined;
|
|
845
845
|
principalArn: string | undefined;
|
|
846
|
-
status: JobStatus |
|
|
846
|
+
status: JobStatus | undefined;
|
|
847
847
|
startedOn: Date | undefined;
|
|
848
848
|
completedOn?: Date;
|
|
849
849
|
}
|
|
@@ -897,7 +897,7 @@ export interface UntagResourceResponse {}
|
|
|
897
897
|
export type FindingStatusUpdate = "ACTIVE" | "ARCHIVED";
|
|
898
898
|
export interface UpdateFindingsRequest {
|
|
899
899
|
analyzerArn: string | undefined;
|
|
900
|
-
status: FindingStatusUpdate |
|
|
900
|
+
status: FindingStatusUpdate | undefined;
|
|
901
901
|
ids?: string[];
|
|
902
902
|
resourceArn?: string;
|
|
903
903
|
clientToken?: string;
|
|
@@ -931,12 +931,12 @@ export declare const ValidatePolicyResourceType: {
|
|
|
931
931
|
export type ValidatePolicyResourceType =
|
|
932
932
|
(typeof ValidatePolicyResourceType)[keyof typeof ValidatePolicyResourceType];
|
|
933
933
|
export interface ValidatePolicyRequest {
|
|
934
|
-
locale?: Locale
|
|
934
|
+
locale?: Locale;
|
|
935
935
|
maxResults?: number;
|
|
936
936
|
nextToken?: string;
|
|
937
937
|
policyDocument: string | undefined;
|
|
938
|
-
policyType: PolicyType |
|
|
939
|
-
validatePolicyResourceType?: ValidatePolicyResourceType
|
|
938
|
+
policyType: PolicyType | undefined;
|
|
939
|
+
validatePolicyResourceType?: ValidatePolicyResourceType;
|
|
940
940
|
}
|
|
941
941
|
export declare const ValidatePolicyFindingType: {
|
|
942
942
|
readonly ERROR: "ERROR";
|
|
@@ -1016,7 +1016,7 @@ export interface Location {
|
|
|
1016
1016
|
}
|
|
1017
1017
|
export interface ValidatePolicyFinding {
|
|
1018
1018
|
findingDetails: string | undefined;
|
|
1019
|
-
findingType: ValidatePolicyFindingType |
|
|
1019
|
+
findingType: ValidatePolicyFindingType | undefined;
|
|
1020
1020
|
issueCode: string | undefined;
|
|
1021
1021
|
learnMoreLink: string | undefined;
|
|
1022
1022
|
locations: Location[] | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-accessanalyzer",
|
|
3
3
|
"description": "AWS SDK for JavaScript Accessanalyzer Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.429.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.429.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.429.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.429.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.428.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.428.0",
|
|
29
29
|
"@aws-sdk/middleware-signing": "3.428.0",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@smithy/hash-node": "^2.0.11",
|
|
39
39
|
"@smithy/invalid-dependency": "^2.0.11",
|
|
40
40
|
"@smithy/middleware-content-length": "^2.0.13",
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.1.
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.1.1",
|
|
42
42
|
"@smithy/middleware-retry": "^2.0.16",
|
|
43
43
|
"@smithy/middleware-serde": "^2.0.11",
|
|
44
44
|
"@smithy/middleware-stack": "^2.0.5",
|