@aws-sdk/client-accessanalyzer 3.940.0 → 3.943.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -2785,6 +2785,45 @@ const ValidationExceptionReason = {
2785
2785
  OTHER: "other",
2786
2786
  UNKNOWN_OPERATION: "unknownOperation",
2787
2787
  };
2788
+ const ResourceType = {
2789
+ AWS_DYNAMODB_STREAM: "AWS::DynamoDB::Stream",
2790
+ AWS_DYNAMODB_TABLE: "AWS::DynamoDB::Table",
2791
+ AWS_EC2_SNAPSHOT: "AWS::EC2::Snapshot",
2792
+ AWS_ECR_REPOSITORY: "AWS::ECR::Repository",
2793
+ AWS_EFS_FILESYSTEM: "AWS::EFS::FileSystem",
2794
+ AWS_IAM_ROLE: "AWS::IAM::Role",
2795
+ AWS_IAM_USER: "AWS::IAM::User",
2796
+ AWS_KMS_KEY: "AWS::KMS::Key",
2797
+ AWS_LAMBDA_FUNCTION: "AWS::Lambda::Function",
2798
+ AWS_LAMBDA_LAYERVERSION: "AWS::Lambda::LayerVersion",
2799
+ AWS_RDS_DBCLUSTERSNAPSHOT: "AWS::RDS::DBClusterSnapshot",
2800
+ AWS_RDS_DBSNAPSHOT: "AWS::RDS::DBSnapshot",
2801
+ AWS_S3EXPRESS_DIRECTORYBUCKET: "AWS::S3Express::DirectoryBucket",
2802
+ AWS_S3_BUCKET: "AWS::S3::Bucket",
2803
+ AWS_SECRETSMANAGER_SECRET: "AWS::SecretsManager::Secret",
2804
+ AWS_SNS_TOPIC: "AWS::SNS::Topic",
2805
+ AWS_SQS_QUEUE: "AWS::SQS::Queue",
2806
+ };
2807
+ const Type = {
2808
+ ACCOUNT: "ACCOUNT",
2809
+ ACCOUNT_INTERNAL_ACCESS: "ACCOUNT_INTERNAL_ACCESS",
2810
+ ACCOUNT_UNUSED_ACCESS: "ACCOUNT_UNUSED_ACCESS",
2811
+ ORGANIZATION: "ORGANIZATION",
2812
+ ORGANIZATION_INTERNAL_ACCESS: "ORGANIZATION_INTERNAL_ACCESS",
2813
+ ORGANIZATION_UNUSED_ACCESS: "ORGANIZATION_UNUSED_ACCESS",
2814
+ };
2815
+ const AnalyzerStatus = {
2816
+ ACTIVE: "ACTIVE",
2817
+ CREATING: "CREATING",
2818
+ DISABLED: "DISABLED",
2819
+ FAILED: "FAILED",
2820
+ };
2821
+ const ReasonCode = {
2822
+ AWS_SERVICE_ACCESS_DISABLED: "AWS_SERVICE_ACCESS_DISABLED",
2823
+ DELEGATED_ADMINISTRATOR_DEREGISTERED: "DELEGATED_ADMINISTRATOR_DEREGISTERED",
2824
+ ORGANIZATION_DELETED: "ORGANIZATION_DELETED",
2825
+ SERVICE_LINKED_ROLE_CREATION_FAILED: "SERVICE_LINKED_ROLE_CREATION_FAILED",
2826
+ };
2788
2827
  const AccessCheckPolicyType = {
2789
2828
  IDENTITY_POLICY: "IDENTITY_POLICY",
2790
2829
  RESOURCE_POLICY: "RESOURCE_POLICY",
@@ -2861,12 +2900,23 @@ const AccessPreviewStatusReasonCode = {
2861
2900
  INTERNAL_ERROR: "INTERNAL_ERROR",
2862
2901
  INVALID_CONFIGURATION: "INVALID_CONFIGURATION",
2863
2902
  };
2903
+ const FindingStatus = {
2904
+ ACTIVE: "ACTIVE",
2905
+ ARCHIVED: "ARCHIVED",
2906
+ RESOLVED: "RESOLVED",
2907
+ };
2864
2908
  const ResourceControlPolicyRestriction = {
2865
2909
  APPLICABLE: "APPLICABLE",
2866
2910
  APPLIED: "APPLIED",
2867
2911
  FAILED_TO_EVALUATE_RCP: "FAILED_TO_EVALUATE_RCP",
2868
2912
  NOT_APPLICABLE: "NOT_APPLICABLE",
2869
2913
  };
2914
+ const FindingSourceType = {
2915
+ BUCKET_ACL: "BUCKET_ACL",
2916
+ POLICY: "POLICY",
2917
+ S3_ACCESS_POINT: "S3_ACCESS_POINT",
2918
+ S3_ACCESS_POINT_ACCOUNT: "S3_ACCESS_POINT_ACCOUNT",
2919
+ };
2870
2920
  const RecommendationType = {
2871
2921
  UNUSED_PERMISSION_RECOMMENDATION: "UnusedPermissionRecommendation",
2872
2922
  };
@@ -2918,6 +2968,14 @@ const FindingChangeType = {
2918
2968
  NEW: "NEW",
2919
2969
  UNCHANGED: "UNCHANGED",
2920
2970
  };
2971
+ const OrderBy = {
2972
+ ASC: "ASC",
2973
+ DESC: "DESC",
2974
+ };
2975
+ const FindingStatusUpdate = {
2976
+ ACTIVE: "ACTIVE",
2977
+ ARCHIVED: "ARCHIVED",
2978
+ };
2921
2979
  const Locale = {
2922
2980
  DE: "DE",
2923
2981
  EN: "EN",
@@ -2968,6 +3026,7 @@ exports.AccessDeniedException = AccessDeniedException$1;
2968
3026
  exports.AccessPreviewStatus = AccessPreviewStatus;
2969
3027
  exports.AccessPreviewStatusReasonCode = AccessPreviewStatusReasonCode;
2970
3028
  exports.AclPermission = AclPermission;
3029
+ exports.AnalyzerStatus = AnalyzerStatus;
2971
3030
  exports.ApplyArchiveRuleCommand = ApplyArchiveRuleCommand;
2972
3031
  exports.CancelPolicyGenerationCommand = CancelPolicyGenerationCommand;
2973
3032
  exports.CheckAccessNotGrantedCommand = CheckAccessNotGrantedCommand;
@@ -2983,6 +3042,9 @@ exports.CreateArchiveRuleCommand = CreateArchiveRuleCommand;
2983
3042
  exports.DeleteAnalyzerCommand = DeleteAnalyzerCommand;
2984
3043
  exports.DeleteArchiveRuleCommand = DeleteArchiveRuleCommand;
2985
3044
  exports.FindingChangeType = FindingChangeType;
3045
+ exports.FindingSourceType = FindingSourceType;
3046
+ exports.FindingStatus = FindingStatus;
3047
+ exports.FindingStatusUpdate = FindingStatusUpdate;
2986
3048
  exports.FindingType = FindingType;
2987
3049
  exports.GenerateFindingRecommendationCommand = GenerateFindingRecommendationCommand;
2988
3050
  exports.GetAccessPreviewCommand = GetAccessPreviewCommand;
@@ -3010,12 +3072,15 @@ exports.ListFindingsV2Command = ListFindingsV2Command;
3010
3072
  exports.ListPolicyGenerationsCommand = ListPolicyGenerationsCommand;
3011
3073
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
3012
3074
  exports.Locale = Locale;
3075
+ exports.OrderBy = OrderBy;
3013
3076
  exports.PolicyType = PolicyType;
3014
3077
  exports.PrincipalType = PrincipalType;
3078
+ exports.ReasonCode = ReasonCode;
3015
3079
  exports.RecommendationType = RecommendationType;
3016
3080
  exports.RecommendedRemediationAction = RecommendedRemediationAction;
3017
3081
  exports.ResourceControlPolicyRestriction = ResourceControlPolicyRestriction;
3018
3082
  exports.ResourceNotFoundException = ResourceNotFoundException$1;
3083
+ exports.ResourceType = ResourceType;
3019
3084
  exports.ServiceControlPolicyRestriction = ServiceControlPolicyRestriction;
3020
3085
  exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
3021
3086
  exports.StartPolicyGenerationCommand = StartPolicyGenerationCommand;
@@ -3023,6 +3088,7 @@ exports.StartResourceScanCommand = StartResourceScanCommand;
3023
3088
  exports.Status = Status;
3024
3089
  exports.TagResourceCommand = TagResourceCommand;
3025
3090
  exports.ThrottlingException = ThrottlingException$1;
3091
+ exports.Type = Type;
3026
3092
  exports.UnprocessableEntityException = UnprocessableEntityException$1;
3027
3093
  exports.UntagResourceCommand = UntagResourceCommand;
3028
3094
  exports.UpdateAnalyzerCommand = UpdateAnalyzerCommand;
@@ -5,6 +5,45 @@ export const ValidationExceptionReason = {
5
5
  OTHER: "other",
6
6
  UNKNOWN_OPERATION: "unknownOperation",
7
7
  };
8
+ export const ResourceType = {
9
+ AWS_DYNAMODB_STREAM: "AWS::DynamoDB::Stream",
10
+ AWS_DYNAMODB_TABLE: "AWS::DynamoDB::Table",
11
+ AWS_EC2_SNAPSHOT: "AWS::EC2::Snapshot",
12
+ AWS_ECR_REPOSITORY: "AWS::ECR::Repository",
13
+ AWS_EFS_FILESYSTEM: "AWS::EFS::FileSystem",
14
+ AWS_IAM_ROLE: "AWS::IAM::Role",
15
+ AWS_IAM_USER: "AWS::IAM::User",
16
+ AWS_KMS_KEY: "AWS::KMS::Key",
17
+ AWS_LAMBDA_FUNCTION: "AWS::Lambda::Function",
18
+ AWS_LAMBDA_LAYERVERSION: "AWS::Lambda::LayerVersion",
19
+ AWS_RDS_DBCLUSTERSNAPSHOT: "AWS::RDS::DBClusterSnapshot",
20
+ AWS_RDS_DBSNAPSHOT: "AWS::RDS::DBSnapshot",
21
+ AWS_S3EXPRESS_DIRECTORYBUCKET: "AWS::S3Express::DirectoryBucket",
22
+ AWS_S3_BUCKET: "AWS::S3::Bucket",
23
+ AWS_SECRETSMANAGER_SECRET: "AWS::SecretsManager::Secret",
24
+ AWS_SNS_TOPIC: "AWS::SNS::Topic",
25
+ AWS_SQS_QUEUE: "AWS::SQS::Queue",
26
+ };
27
+ export const Type = {
28
+ ACCOUNT: "ACCOUNT",
29
+ ACCOUNT_INTERNAL_ACCESS: "ACCOUNT_INTERNAL_ACCESS",
30
+ ACCOUNT_UNUSED_ACCESS: "ACCOUNT_UNUSED_ACCESS",
31
+ ORGANIZATION: "ORGANIZATION",
32
+ ORGANIZATION_INTERNAL_ACCESS: "ORGANIZATION_INTERNAL_ACCESS",
33
+ ORGANIZATION_UNUSED_ACCESS: "ORGANIZATION_UNUSED_ACCESS",
34
+ };
35
+ export const AnalyzerStatus = {
36
+ ACTIVE: "ACTIVE",
37
+ CREATING: "CREATING",
38
+ DISABLED: "DISABLED",
39
+ FAILED: "FAILED",
40
+ };
41
+ export const ReasonCode = {
42
+ AWS_SERVICE_ACCESS_DISABLED: "AWS_SERVICE_ACCESS_DISABLED",
43
+ DELEGATED_ADMINISTRATOR_DEREGISTERED: "DELEGATED_ADMINISTRATOR_DEREGISTERED",
44
+ ORGANIZATION_DELETED: "ORGANIZATION_DELETED",
45
+ SERVICE_LINKED_ROLE_CREATION_FAILED: "SERVICE_LINKED_ROLE_CREATION_FAILED",
46
+ };
8
47
  export const AccessCheckPolicyType = {
9
48
  IDENTITY_POLICY: "IDENTITY_POLICY",
10
49
  RESOURCE_POLICY: "RESOURCE_POLICY",
@@ -81,12 +120,23 @@ export const AccessPreviewStatusReasonCode = {
81
120
  INTERNAL_ERROR: "INTERNAL_ERROR",
82
121
  INVALID_CONFIGURATION: "INVALID_CONFIGURATION",
83
122
  };
123
+ export const FindingStatus = {
124
+ ACTIVE: "ACTIVE",
125
+ ARCHIVED: "ARCHIVED",
126
+ RESOLVED: "RESOLVED",
127
+ };
84
128
  export const ResourceControlPolicyRestriction = {
85
129
  APPLICABLE: "APPLICABLE",
86
130
  APPLIED: "APPLIED",
87
131
  FAILED_TO_EVALUATE_RCP: "FAILED_TO_EVALUATE_RCP",
88
132
  NOT_APPLICABLE: "NOT_APPLICABLE",
89
133
  };
134
+ export const FindingSourceType = {
135
+ BUCKET_ACL: "BUCKET_ACL",
136
+ POLICY: "POLICY",
137
+ S3_ACCESS_POINT: "S3_ACCESS_POINT",
138
+ S3_ACCESS_POINT_ACCOUNT: "S3_ACCESS_POINT_ACCOUNT",
139
+ };
90
140
  export const RecommendationType = {
91
141
  UNUSED_PERMISSION_RECOMMENDATION: "UnusedPermissionRecommendation",
92
142
  };
@@ -138,6 +188,14 @@ export const FindingChangeType = {
138
188
  NEW: "NEW",
139
189
  UNCHANGED: "UNCHANGED",
140
190
  };
191
+ export const OrderBy = {
192
+ ASC: "ASC",
193
+ DESC: "DESC",
194
+ };
195
+ export const FindingStatusUpdate = {
196
+ ACTIVE: "ACTIVE",
197
+ ARCHIVED: "ARCHIVED",
198
+ };
141
199
  export const Locale = {
142
200
  DE: "DE",
143
201
  EN: "EN",
@@ -15,20 +15,75 @@ export declare const ValidationExceptionReason: {
15
15
  export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
16
16
  /**
17
17
  * @public
18
+ * @enum
18
19
  */
19
- 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";
20
+ export declare const ResourceType: {
21
+ readonly AWS_DYNAMODB_STREAM: "AWS::DynamoDB::Stream";
22
+ readonly AWS_DYNAMODB_TABLE: "AWS::DynamoDB::Table";
23
+ readonly AWS_EC2_SNAPSHOT: "AWS::EC2::Snapshot";
24
+ readonly AWS_ECR_REPOSITORY: "AWS::ECR::Repository";
25
+ readonly AWS_EFS_FILESYSTEM: "AWS::EFS::FileSystem";
26
+ readonly AWS_IAM_ROLE: "AWS::IAM::Role";
27
+ readonly AWS_IAM_USER: "AWS::IAM::User";
28
+ readonly AWS_KMS_KEY: "AWS::KMS::Key";
29
+ readonly AWS_LAMBDA_FUNCTION: "AWS::Lambda::Function";
30
+ readonly AWS_LAMBDA_LAYERVERSION: "AWS::Lambda::LayerVersion";
31
+ readonly AWS_RDS_DBCLUSTERSNAPSHOT: "AWS::RDS::DBClusterSnapshot";
32
+ readonly AWS_RDS_DBSNAPSHOT: "AWS::RDS::DBSnapshot";
33
+ readonly AWS_S3EXPRESS_DIRECTORYBUCKET: "AWS::S3Express::DirectoryBucket";
34
+ readonly AWS_S3_BUCKET: "AWS::S3::Bucket";
35
+ readonly AWS_SECRETSMANAGER_SECRET: "AWS::SecretsManager::Secret";
36
+ readonly AWS_SNS_TOPIC: "AWS::SNS::Topic";
37
+ readonly AWS_SQS_QUEUE: "AWS::SQS::Queue";
38
+ };
20
39
  /**
21
40
  * @public
22
41
  */
23
- export type Type = "ACCOUNT" | "ACCOUNT_INTERNAL_ACCESS" | "ACCOUNT_UNUSED_ACCESS" | "ORGANIZATION" | "ORGANIZATION_INTERNAL_ACCESS" | "ORGANIZATION_UNUSED_ACCESS";
42
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
24
43
  /**
25
44
  * @public
45
+ * @enum
46
+ */
47
+ export declare const Type: {
48
+ readonly ACCOUNT: "ACCOUNT";
49
+ readonly ACCOUNT_INTERNAL_ACCESS: "ACCOUNT_INTERNAL_ACCESS";
50
+ readonly ACCOUNT_UNUSED_ACCESS: "ACCOUNT_UNUSED_ACCESS";
51
+ readonly ORGANIZATION: "ORGANIZATION";
52
+ readonly ORGANIZATION_INTERNAL_ACCESS: "ORGANIZATION_INTERNAL_ACCESS";
53
+ readonly ORGANIZATION_UNUSED_ACCESS: "ORGANIZATION_UNUSED_ACCESS";
54
+ };
55
+ /**
56
+ * @public
57
+ */
58
+ export type Type = (typeof Type)[keyof typeof Type];
59
+ /**
60
+ * @public
61
+ * @enum
62
+ */
63
+ export declare const AnalyzerStatus: {
64
+ readonly ACTIVE: "ACTIVE";
65
+ readonly CREATING: "CREATING";
66
+ readonly DISABLED: "DISABLED";
67
+ readonly FAILED: "FAILED";
68
+ };
69
+ /**
70
+ * @public
71
+ */
72
+ export type AnalyzerStatus = (typeof AnalyzerStatus)[keyof typeof AnalyzerStatus];
73
+ /**
74
+ * @public
75
+ * @enum
26
76
  */
27
- export type AnalyzerStatus = "ACTIVE" | "CREATING" | "DISABLED" | "FAILED";
77
+ export declare const ReasonCode: {
78
+ readonly AWS_SERVICE_ACCESS_DISABLED: "AWS_SERVICE_ACCESS_DISABLED";
79
+ readonly DELEGATED_ADMINISTRATOR_DEREGISTERED: "DELEGATED_ADMINISTRATOR_DEREGISTERED";
80
+ readonly ORGANIZATION_DELETED: "ORGANIZATION_DELETED";
81
+ readonly SERVICE_LINKED_ROLE_CREATION_FAILED: "SERVICE_LINKED_ROLE_CREATION_FAILED";
82
+ };
28
83
  /**
29
84
  * @public
30
85
  */
31
- export type ReasonCode = "AWS_SERVICE_ACCESS_DISABLED" | "DELEGATED_ADMINISTRATOR_DEREGISTERED" | "ORGANIZATION_DELETED" | "SERVICE_LINKED_ROLE_CREATION_FAILED";
86
+ export type ReasonCode = (typeof ReasonCode)[keyof typeof ReasonCode];
32
87
  /**
33
88
  * @public
34
89
  * @enum
@@ -177,10 +232,19 @@ export declare const AccessPreviewStatusReasonCode: {
177
232
  * @public
178
233
  */
179
234
  export type AccessPreviewStatusReasonCode = (typeof AccessPreviewStatusReasonCode)[keyof typeof AccessPreviewStatusReasonCode];
235
+ /**
236
+ * @public
237
+ * @enum
238
+ */
239
+ export declare const FindingStatus: {
240
+ readonly ACTIVE: "ACTIVE";
241
+ readonly ARCHIVED: "ARCHIVED";
242
+ readonly RESOLVED: "RESOLVED";
243
+ };
180
244
  /**
181
245
  * @public
182
246
  */
183
- export type FindingStatus = "ACTIVE" | "ARCHIVED" | "RESOLVED";
247
+ export type FindingStatus = (typeof FindingStatus)[keyof typeof FindingStatus];
184
248
  /**
185
249
  * @public
186
250
  * @enum
@@ -195,10 +259,20 @@ export declare const ResourceControlPolicyRestriction: {
195
259
  * @public
196
260
  */
197
261
  export type ResourceControlPolicyRestriction = (typeof ResourceControlPolicyRestriction)[keyof typeof ResourceControlPolicyRestriction];
262
+ /**
263
+ * @public
264
+ * @enum
265
+ */
266
+ export declare const FindingSourceType: {
267
+ readonly BUCKET_ACL: "BUCKET_ACL";
268
+ readonly POLICY: "POLICY";
269
+ readonly S3_ACCESS_POINT: "S3_ACCESS_POINT";
270
+ readonly S3_ACCESS_POINT_ACCOUNT: "S3_ACCESS_POINT_ACCOUNT";
271
+ };
198
272
  /**
199
273
  * @public
200
274
  */
201
- export type FindingSourceType = "BUCKET_ACL" | "POLICY" | "S3_ACCESS_POINT" | "S3_ACCESS_POINT_ACCOUNT";
275
+ export type FindingSourceType = (typeof FindingSourceType)[keyof typeof FindingSourceType];
202
276
  /**
203
277
  * @public
204
278
  * @enum
@@ -330,14 +404,30 @@ export declare const FindingChangeType: {
330
404
  * @public
331
405
  */
332
406
  export type FindingChangeType = (typeof FindingChangeType)[keyof typeof FindingChangeType];
407
+ /**
408
+ * @public
409
+ * @enum
410
+ */
411
+ export declare const OrderBy: {
412
+ readonly ASC: "ASC";
413
+ readonly DESC: "DESC";
414
+ };
333
415
  /**
334
416
  * @public
335
417
  */
336
- export type OrderBy = "ASC" | "DESC";
418
+ export type OrderBy = (typeof OrderBy)[keyof typeof OrderBy];
419
+ /**
420
+ * @public
421
+ * @enum
422
+ */
423
+ export declare const FindingStatusUpdate: {
424
+ readonly ACTIVE: "ACTIVE";
425
+ readonly ARCHIVED: "ARCHIVED";
426
+ };
337
427
  /**
338
428
  * @public
339
429
  */
340
- export type FindingStatusUpdate = "ACTIVE" | "ARCHIVED";
430
+ export type FindingStatusUpdate = (typeof FindingStatusUpdate)[keyof typeof FindingStatusUpdate];
341
431
  /**
342
432
  * @public
343
433
  * @enum
@@ -7,37 +7,50 @@ export declare const ValidationExceptionReason: {
7
7
  };
8
8
  export type ValidationExceptionReason =
9
9
  (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
10
- export type ResourceType =
11
- | "AWS::DynamoDB::Stream"
12
- | "AWS::DynamoDB::Table"
13
- | "AWS::EC2::Snapshot"
14
- | "AWS::ECR::Repository"
15
- | "AWS::EFS::FileSystem"
16
- | "AWS::IAM::Role"
17
- | "AWS::IAM::User"
18
- | "AWS::KMS::Key"
19
- | "AWS::Lambda::Function"
20
- | "AWS::Lambda::LayerVersion"
21
- | "AWS::RDS::DBClusterSnapshot"
22
- | "AWS::RDS::DBSnapshot"
23
- | "AWS::S3::Bucket"
24
- | "AWS::S3Express::DirectoryBucket"
25
- | "AWS::SNS::Topic"
26
- | "AWS::SQS::Queue"
27
- | "AWS::SecretsManager::Secret";
28
- export type Type =
29
- | "ACCOUNT"
30
- | "ACCOUNT_INTERNAL_ACCESS"
31
- | "ACCOUNT_UNUSED_ACCESS"
32
- | "ORGANIZATION"
33
- | "ORGANIZATION_INTERNAL_ACCESS"
34
- | "ORGANIZATION_UNUSED_ACCESS";
35
- export type AnalyzerStatus = "ACTIVE" | "CREATING" | "DISABLED" | "FAILED";
36
- export type ReasonCode =
37
- | "AWS_SERVICE_ACCESS_DISABLED"
38
- | "DELEGATED_ADMINISTRATOR_DEREGISTERED"
39
- | "ORGANIZATION_DELETED"
40
- | "SERVICE_LINKED_ROLE_CREATION_FAILED";
10
+ export declare const ResourceType: {
11
+ readonly AWS_DYNAMODB_STREAM: "AWS::DynamoDB::Stream";
12
+ readonly AWS_DYNAMODB_TABLE: "AWS::DynamoDB::Table";
13
+ readonly AWS_EC2_SNAPSHOT: "AWS::EC2::Snapshot";
14
+ readonly AWS_ECR_REPOSITORY: "AWS::ECR::Repository";
15
+ readonly AWS_EFS_FILESYSTEM: "AWS::EFS::FileSystem";
16
+ readonly AWS_IAM_ROLE: "AWS::IAM::Role";
17
+ readonly AWS_IAM_USER: "AWS::IAM::User";
18
+ readonly AWS_KMS_KEY: "AWS::KMS::Key";
19
+ readonly AWS_LAMBDA_FUNCTION: "AWS::Lambda::Function";
20
+ readonly AWS_LAMBDA_LAYERVERSION: "AWS::Lambda::LayerVersion";
21
+ readonly AWS_RDS_DBCLUSTERSNAPSHOT: "AWS::RDS::DBClusterSnapshot";
22
+ readonly AWS_RDS_DBSNAPSHOT: "AWS::RDS::DBSnapshot";
23
+ readonly AWS_S3EXPRESS_DIRECTORYBUCKET: "AWS::S3Express::DirectoryBucket";
24
+ readonly AWS_S3_BUCKET: "AWS::S3::Bucket";
25
+ readonly AWS_SECRETSMANAGER_SECRET: "AWS::SecretsManager::Secret";
26
+ readonly AWS_SNS_TOPIC: "AWS::SNS::Topic";
27
+ readonly AWS_SQS_QUEUE: "AWS::SQS::Queue";
28
+ };
29
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
30
+ export declare const Type: {
31
+ readonly ACCOUNT: "ACCOUNT";
32
+ readonly ACCOUNT_INTERNAL_ACCESS: "ACCOUNT_INTERNAL_ACCESS";
33
+ readonly ACCOUNT_UNUSED_ACCESS: "ACCOUNT_UNUSED_ACCESS";
34
+ readonly ORGANIZATION: "ORGANIZATION";
35
+ readonly ORGANIZATION_INTERNAL_ACCESS: "ORGANIZATION_INTERNAL_ACCESS";
36
+ readonly ORGANIZATION_UNUSED_ACCESS: "ORGANIZATION_UNUSED_ACCESS";
37
+ };
38
+ export type Type = (typeof Type)[keyof typeof Type];
39
+ export declare const AnalyzerStatus: {
40
+ readonly ACTIVE: "ACTIVE";
41
+ readonly CREATING: "CREATING";
42
+ readonly DISABLED: "DISABLED";
43
+ readonly FAILED: "FAILED";
44
+ };
45
+ export type AnalyzerStatus =
46
+ (typeof AnalyzerStatus)[keyof typeof AnalyzerStatus];
47
+ export declare const ReasonCode: {
48
+ readonly AWS_SERVICE_ACCESS_DISABLED: "AWS_SERVICE_ACCESS_DISABLED";
49
+ readonly DELEGATED_ADMINISTRATOR_DEREGISTERED: "DELEGATED_ADMINISTRATOR_DEREGISTERED";
50
+ readonly ORGANIZATION_DELETED: "ORGANIZATION_DELETED";
51
+ readonly SERVICE_LINKED_ROLE_CREATION_FAILED: "SERVICE_LINKED_ROLE_CREATION_FAILED";
52
+ };
53
+ export type ReasonCode = (typeof ReasonCode)[keyof typeof ReasonCode];
41
54
  export declare const AccessCheckPolicyType: {
42
55
  readonly IDENTITY_POLICY: "IDENTITY_POLICY";
43
56
  readonly RESOURCE_POLICY: "RESOURCE_POLICY";
@@ -131,7 +144,12 @@ export declare const AccessPreviewStatusReasonCode: {
131
144
  };
132
145
  export type AccessPreviewStatusReasonCode =
133
146
  (typeof AccessPreviewStatusReasonCode)[keyof typeof AccessPreviewStatusReasonCode];
134
- export type FindingStatus = "ACTIVE" | "ARCHIVED" | "RESOLVED";
147
+ export declare const FindingStatus: {
148
+ readonly ACTIVE: "ACTIVE";
149
+ readonly ARCHIVED: "ARCHIVED";
150
+ readonly RESOLVED: "RESOLVED";
151
+ };
152
+ export type FindingStatus = (typeof FindingStatus)[keyof typeof FindingStatus];
135
153
  export declare const ResourceControlPolicyRestriction: {
136
154
  readonly APPLICABLE: "APPLICABLE";
137
155
  readonly APPLIED: "APPLIED";
@@ -140,11 +158,14 @@ export declare const ResourceControlPolicyRestriction: {
140
158
  };
141
159
  export type ResourceControlPolicyRestriction =
142
160
  (typeof ResourceControlPolicyRestriction)[keyof typeof ResourceControlPolicyRestriction];
161
+ export declare const FindingSourceType: {
162
+ readonly BUCKET_ACL: "BUCKET_ACL";
163
+ readonly POLICY: "POLICY";
164
+ readonly S3_ACCESS_POINT: "S3_ACCESS_POINT";
165
+ readonly S3_ACCESS_POINT_ACCOUNT: "S3_ACCESS_POINT_ACCOUNT";
166
+ };
143
167
  export type FindingSourceType =
144
- | "BUCKET_ACL"
145
- | "POLICY"
146
- | "S3_ACCESS_POINT"
147
- | "S3_ACCESS_POINT_ACCOUNT";
168
+ (typeof FindingSourceType)[keyof typeof FindingSourceType];
148
169
  export declare const RecommendationType: {
149
170
  readonly UNUSED_PERMISSION_RECOMMENDATION: "UnusedPermissionRecommendation";
150
171
  };
@@ -211,8 +232,17 @@ export declare const FindingChangeType: {
211
232
  };
212
233
  export type FindingChangeType =
213
234
  (typeof FindingChangeType)[keyof typeof FindingChangeType];
214
- export type OrderBy = "ASC" | "DESC";
215
- export type FindingStatusUpdate = "ACTIVE" | "ARCHIVED";
235
+ export declare const OrderBy: {
236
+ readonly ASC: "ASC";
237
+ readonly DESC: "DESC";
238
+ };
239
+ export type OrderBy = (typeof OrderBy)[keyof typeof OrderBy];
240
+ export declare const FindingStatusUpdate: {
241
+ readonly ACTIVE: "ACTIVE";
242
+ readonly ARCHIVED: "ARCHIVED";
243
+ };
244
+ export type FindingStatusUpdate =
245
+ (typeof FindingStatusUpdate)[keyof typeof FindingStatusUpdate];
216
246
  export declare const Locale: {
217
247
  readonly DE: "DE";
218
248
  readonly EN: "EN";
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.940.0",
4
+ "version": "3.943.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-accessanalyzer",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.940.0",
24
- "@aws-sdk/credential-provider-node": "3.940.0",
23
+ "@aws-sdk/core": "3.943.0",
24
+ "@aws-sdk/credential-provider-node": "3.943.0",
25
25
  "@aws-sdk/middleware-host-header": "3.936.0",
26
26
  "@aws-sdk/middleware-logger": "3.936.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
- "@aws-sdk/middleware-user-agent": "3.940.0",
28
+ "@aws-sdk/middleware-user-agent": "3.943.0",
29
29
  "@aws-sdk/region-config-resolver": "3.936.0",
30
30
  "@aws-sdk/types": "3.936.0",
31
31
  "@aws-sdk/util-endpoints": "3.936.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.936.0",
33
- "@aws-sdk/util-user-agent-node": "3.940.0",
33
+ "@aws-sdk/util-user-agent-node": "3.943.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
35
  "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",