@aws-sdk/client-accessanalyzer 3.300.0 → 3.303.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/models/models_0.js +85 -97
- package/dist-es/models/models_0.js +85 -97
- package/dist-types/commands/ApplyArchiveRuleCommand.d.ts +1 -1
- package/dist-types/commands/CancelPolicyGenerationCommand.d.ts +1 -1
- package/dist-types/commands/CreateAccessPreviewCommand.d.ts +36 -36
- package/dist-types/commands/CreateAnalyzerCommand.d.ts +7 -7
- package/dist-types/commands/CreateArchiveRuleCommand.d.ts +4 -4
- package/dist-types/commands/DeleteAnalyzerCommand.d.ts +1 -1
- package/dist-types/commands/DeleteArchiveRuleCommand.d.ts +1 -1
- package/dist-types/commands/GetAccessPreviewCommand.d.ts +1 -1
- package/dist-types/commands/GetAnalyzedResourceCommand.d.ts +1 -1
- package/dist-types/commands/GetAnalyzerCommand.d.ts +1 -1
- package/dist-types/commands/GetArchiveRuleCommand.d.ts +1 -1
- package/dist-types/commands/GetFindingCommand.d.ts +1 -1
- package/dist-types/commands/GetGeneratedPolicyCommand.d.ts +1 -1
- package/dist-types/commands/ListAccessPreviewFindingsCommand.d.ts +4 -4
- package/dist-types/commands/ListAccessPreviewsCommand.d.ts +1 -1
- package/dist-types/commands/ListAnalyzedResourcesCommand.d.ts +1 -1
- package/dist-types/commands/ListAnalyzersCommand.d.ts +1 -1
- package/dist-types/commands/ListArchiveRulesCommand.d.ts +1 -1
- package/dist-types/commands/ListFindingsCommand.d.ts +5 -5
- package/dist-types/commands/ListPolicyGenerationsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/StartPolicyGenerationCommand.d.ts +6 -6
- package/dist-types/commands/StartResourceScanCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateArchiveRuleCommand.d.ts +4 -4
- package/dist-types/commands/UpdateFindingsCommand.d.ts +2 -2
- package/dist-types/commands/ValidatePolicyCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +145 -85
- package/dist-types/ts3.4/models/models_0.d.ts +104 -85
- package/package.json +34 -34
|
@@ -68,12 +68,14 @@ export interface ValidationExceptionField {
|
|
|
68
68
|
name: string | undefined;
|
|
69
69
|
message: string | undefined;
|
|
70
70
|
}
|
|
71
|
-
export declare
|
|
72
|
-
CANNOT_PARSE
|
|
73
|
-
FIELD_VALIDATION_FAILED
|
|
74
|
-
OTHER
|
|
75
|
-
UNKNOWN_OPERATION
|
|
76
|
-
}
|
|
71
|
+
export declare const ValidationExceptionReason: {
|
|
72
|
+
readonly CANNOT_PARSE: "cannotParse";
|
|
73
|
+
readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
|
|
74
|
+
readonly OTHER: "other";
|
|
75
|
+
readonly UNKNOWN_OPERATION: "unknownOperation";
|
|
76
|
+
};
|
|
77
|
+
export type ValidationExceptionReason =
|
|
78
|
+
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
77
79
|
export declare class ValidationException extends __BaseException {
|
|
78
80
|
readonly name: "ValidationException";
|
|
79
81
|
readonly $fault: "client";
|
|
@@ -197,22 +199,24 @@ export interface KmsGrantConstraints {
|
|
|
197
199
|
encryptionContextEquals?: Record<string, string>;
|
|
198
200
|
encryptionContextSubset?: Record<string, string>;
|
|
199
201
|
}
|
|
200
|
-
export declare
|
|
201
|
-
CREATE_GRANT
|
|
202
|
-
DECRYPT
|
|
203
|
-
DESCRIBE_KEY
|
|
204
|
-
ENCRYPT
|
|
205
|
-
GENERATE_DATA_KEY
|
|
206
|
-
GENERATE_DATA_KEY_PAIR
|
|
207
|
-
GENERATE_DATA_KEY_PAIR_WITHOUT_PLAINTEXT
|
|
208
|
-
GENERATE_DATA_KEY_WITHOUT_PLAINTEXT
|
|
209
|
-
GET_PUBLIC_KEY
|
|
210
|
-
REENCRYPT_FROM
|
|
211
|
-
REENCRYPT_TO
|
|
212
|
-
RETIRE_GRANT
|
|
213
|
-
SIGN
|
|
214
|
-
VERIFY
|
|
215
|
-
}
|
|
202
|
+
export declare const KmsGrantOperation: {
|
|
203
|
+
readonly CREATE_GRANT: "CreateGrant";
|
|
204
|
+
readonly DECRYPT: "Decrypt";
|
|
205
|
+
readonly DESCRIBE_KEY: "DescribeKey";
|
|
206
|
+
readonly ENCRYPT: "Encrypt";
|
|
207
|
+
readonly GENERATE_DATA_KEY: "GenerateDataKey";
|
|
208
|
+
readonly GENERATE_DATA_KEY_PAIR: "GenerateDataKeyPair";
|
|
209
|
+
readonly GENERATE_DATA_KEY_PAIR_WITHOUT_PLAINTEXT: "GenerateDataKeyPairWithoutPlaintext";
|
|
210
|
+
readonly GENERATE_DATA_KEY_WITHOUT_PLAINTEXT: "GenerateDataKeyWithoutPlaintext";
|
|
211
|
+
readonly GET_PUBLIC_KEY: "GetPublicKey";
|
|
212
|
+
readonly REENCRYPT_FROM: "ReEncryptFrom";
|
|
213
|
+
readonly REENCRYPT_TO: "ReEncryptTo";
|
|
214
|
+
readonly RETIRE_GRANT: "RetireGrant";
|
|
215
|
+
readonly SIGN: "Sign";
|
|
216
|
+
readonly VERIFY: "Verify";
|
|
217
|
+
};
|
|
218
|
+
export type KmsGrantOperation =
|
|
219
|
+
(typeof KmsGrantOperation)[keyof typeof KmsGrantOperation];
|
|
216
220
|
export interface KmsGrantConfiguration {
|
|
217
221
|
operations: (KmsGrantOperation | string)[] | undefined;
|
|
218
222
|
granteePrincipal: string | undefined;
|
|
@@ -341,13 +345,14 @@ export declare namespace AclGrantee {
|
|
|
341
345
|
}
|
|
342
346
|
const visit: <T>(value: AclGrantee, visitor: Visitor<T>) => T;
|
|
343
347
|
}
|
|
344
|
-
export declare
|
|
345
|
-
FULL_CONTROL
|
|
346
|
-
READ
|
|
347
|
-
READ_ACP
|
|
348
|
-
WRITE
|
|
349
|
-
WRITE_ACP
|
|
350
|
-
}
|
|
348
|
+
export declare const AclPermission: {
|
|
349
|
+
readonly FULL_CONTROL: "FULL_CONTROL";
|
|
350
|
+
readonly READ: "READ";
|
|
351
|
+
readonly READ_ACP: "READ_ACP";
|
|
352
|
+
readonly WRITE: "WRITE";
|
|
353
|
+
readonly WRITE_ACP: "WRITE_ACP";
|
|
354
|
+
};
|
|
355
|
+
export type AclPermission = (typeof AclPermission)[keyof typeof AclPermission];
|
|
351
356
|
export interface S3BucketAclGrantConfiguration {
|
|
352
357
|
permission: AclPermission | string | undefined;
|
|
353
358
|
grantee: AclGrantee | undefined;
|
|
@@ -578,15 +583,19 @@ export interface GetAccessPreviewRequest {
|
|
|
578
583
|
accessPreviewId: string | undefined;
|
|
579
584
|
analyzerArn: string | undefined;
|
|
580
585
|
}
|
|
581
|
-
export declare
|
|
582
|
-
COMPLETED
|
|
583
|
-
CREATING
|
|
584
|
-
FAILED
|
|
585
|
-
}
|
|
586
|
-
export
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
586
|
+
export declare const AccessPreviewStatus: {
|
|
587
|
+
readonly COMPLETED: "COMPLETED";
|
|
588
|
+
readonly CREATING: "CREATING";
|
|
589
|
+
readonly FAILED: "FAILED";
|
|
590
|
+
};
|
|
591
|
+
export type AccessPreviewStatus =
|
|
592
|
+
(typeof AccessPreviewStatus)[keyof typeof AccessPreviewStatus];
|
|
593
|
+
export declare const AccessPreviewStatusReasonCode: {
|
|
594
|
+
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
595
|
+
readonly INVALID_CONFIGURATION: "INVALID_CONFIGURATION";
|
|
596
|
+
};
|
|
597
|
+
export type AccessPreviewStatusReasonCode =
|
|
598
|
+
(typeof AccessPreviewStatusReasonCode)[keyof typeof AccessPreviewStatusReasonCode];
|
|
590
599
|
export interface AccessPreviewStatusReason {
|
|
591
600
|
code: AccessPreviewStatusReasonCode | string | undefined;
|
|
592
601
|
}
|
|
@@ -699,22 +708,24 @@ export interface GeneratedPolicyResult {
|
|
|
699
708
|
properties: GeneratedPolicyProperties | undefined;
|
|
700
709
|
generatedPolicies?: GeneratedPolicy[];
|
|
701
710
|
}
|
|
702
|
-
export declare
|
|
703
|
-
AUTHORIZATION_ERROR
|
|
704
|
-
RESOURCE_NOT_FOUND_ERROR
|
|
705
|
-
SERVICE_ERROR
|
|
706
|
-
SERVICE_QUOTA_EXCEEDED_ERROR
|
|
707
|
-
}
|
|
711
|
+
export declare const JobErrorCode: {
|
|
712
|
+
readonly AUTHORIZATION_ERROR: "AUTHORIZATION_ERROR";
|
|
713
|
+
readonly RESOURCE_NOT_FOUND_ERROR: "RESOURCE_NOT_FOUND_ERROR";
|
|
714
|
+
readonly SERVICE_ERROR: "SERVICE_ERROR";
|
|
715
|
+
readonly SERVICE_QUOTA_EXCEEDED_ERROR: "SERVICE_QUOTA_EXCEEDED_ERROR";
|
|
716
|
+
};
|
|
717
|
+
export type JobErrorCode = (typeof JobErrorCode)[keyof typeof JobErrorCode];
|
|
708
718
|
export interface JobError {
|
|
709
719
|
code: JobErrorCode | string | undefined;
|
|
710
720
|
message: string | undefined;
|
|
711
721
|
}
|
|
712
|
-
export declare
|
|
713
|
-
CANCELED
|
|
714
|
-
FAILED
|
|
715
|
-
IN_PROGRESS
|
|
716
|
-
SUCCEEDED
|
|
717
|
-
}
|
|
722
|
+
export declare const JobStatus: {
|
|
723
|
+
readonly CANCELED: "CANCELED";
|
|
724
|
+
readonly FAILED: "FAILED";
|
|
725
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
726
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
727
|
+
};
|
|
728
|
+
export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
|
|
718
729
|
export interface JobDetails {
|
|
719
730
|
jobId: string | undefined;
|
|
720
731
|
status: JobStatus | string | undefined;
|
|
@@ -733,11 +744,13 @@ export interface ListAccessPreviewFindingsRequest {
|
|
|
733
744
|
nextToken?: string;
|
|
734
745
|
maxResults?: number;
|
|
735
746
|
}
|
|
736
|
-
export declare
|
|
737
|
-
CHANGED
|
|
738
|
-
NEW
|
|
739
|
-
UNCHANGED
|
|
740
|
-
}
|
|
747
|
+
export declare const FindingChangeType: {
|
|
748
|
+
readonly CHANGED: "CHANGED";
|
|
749
|
+
readonly NEW: "NEW";
|
|
750
|
+
readonly UNCHANGED: "UNCHANGED";
|
|
751
|
+
};
|
|
752
|
+
export type FindingChangeType =
|
|
753
|
+
(typeof FindingChangeType)[keyof typeof FindingChangeType];
|
|
741
754
|
export interface AccessPreviewFinding {
|
|
742
755
|
id: string | undefined;
|
|
743
756
|
existingFindingId?: string;
|
|
@@ -889,30 +902,34 @@ export interface UpdateFindingsRequest {
|
|
|
889
902
|
resourceArn?: string;
|
|
890
903
|
clientToken?: string;
|
|
891
904
|
}
|
|
892
|
-
export declare
|
|
893
|
-
DE
|
|
894
|
-
EN
|
|
895
|
-
ES
|
|
896
|
-
FR
|
|
897
|
-
IT
|
|
898
|
-
JA
|
|
899
|
-
KO
|
|
900
|
-
PT_BR
|
|
901
|
-
ZH_CN
|
|
902
|
-
ZH_TW
|
|
903
|
-
}
|
|
904
|
-
export
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
905
|
+
export declare const Locale: {
|
|
906
|
+
readonly DE: "DE";
|
|
907
|
+
readonly EN: "EN";
|
|
908
|
+
readonly ES: "ES";
|
|
909
|
+
readonly FR: "FR";
|
|
910
|
+
readonly IT: "IT";
|
|
911
|
+
readonly JA: "JA";
|
|
912
|
+
readonly KO: "KO";
|
|
913
|
+
readonly PT_BR: "PT_BR";
|
|
914
|
+
readonly ZH_CN: "ZH_CN";
|
|
915
|
+
readonly ZH_TW: "ZH_TW";
|
|
916
|
+
};
|
|
917
|
+
export type Locale = (typeof Locale)[keyof typeof Locale];
|
|
918
|
+
export declare const PolicyType: {
|
|
919
|
+
readonly IDENTITY_POLICY: "IDENTITY_POLICY";
|
|
920
|
+
readonly RESOURCE_POLICY: "RESOURCE_POLICY";
|
|
921
|
+
readonly SERVICE_CONTROL_POLICY: "SERVICE_CONTROL_POLICY";
|
|
922
|
+
};
|
|
923
|
+
export type PolicyType = (typeof PolicyType)[keyof typeof PolicyType];
|
|
924
|
+
export declare const ValidatePolicyResourceType: {
|
|
925
|
+
readonly ROLE_TRUST: "AWS::IAM::AssumeRolePolicyDocument";
|
|
926
|
+
readonly S3_ACCESS_POINT: "AWS::S3::AccessPoint";
|
|
927
|
+
readonly S3_BUCKET: "AWS::S3::Bucket";
|
|
928
|
+
readonly S3_MULTI_REGION_ACCESS_POINT: "AWS::S3::MultiRegionAccessPoint";
|
|
929
|
+
readonly S3_OBJECT_LAMBDA_ACCESS_POINT: "AWS::S3ObjectLambda::AccessPoint";
|
|
930
|
+
};
|
|
931
|
+
export type ValidatePolicyResourceType =
|
|
932
|
+
(typeof ValidatePolicyResourceType)[keyof typeof ValidatePolicyResourceType];
|
|
916
933
|
export interface ValidatePolicyRequest {
|
|
917
934
|
locale?: Locale | string;
|
|
918
935
|
maxResults?: number;
|
|
@@ -921,12 +938,14 @@ export interface ValidatePolicyRequest {
|
|
|
921
938
|
policyType: PolicyType | string | undefined;
|
|
922
939
|
validatePolicyResourceType?: ValidatePolicyResourceType | string;
|
|
923
940
|
}
|
|
924
|
-
export declare
|
|
925
|
-
ERROR
|
|
926
|
-
SECURITY_WARNING
|
|
927
|
-
SUGGESTION
|
|
928
|
-
WARNING
|
|
929
|
-
}
|
|
941
|
+
export declare const ValidatePolicyFindingType: {
|
|
942
|
+
readonly ERROR: "ERROR";
|
|
943
|
+
readonly SECURITY_WARNING: "SECURITY_WARNING";
|
|
944
|
+
readonly SUGGESTION: "SUGGESTION";
|
|
945
|
+
readonly WARNING: "WARNING";
|
|
946
|
+
};
|
|
947
|
+
export type ValidatePolicyFindingType =
|
|
948
|
+
(typeof ValidatePolicyFindingType)[keyof typeof ValidatePolicyFindingType];
|
|
930
949
|
export interface Substring {
|
|
931
950
|
start: number | undefined;
|
|
932
951
|
length: number | 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.303.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,43 +21,43 @@
|
|
|
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/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.303.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.303.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.303.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.303.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.303.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.303.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.303.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.303.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.303.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.303.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.303.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.303.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.303.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.303.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.303.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.303.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.303.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.303.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.303.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.303.0",
|
|
44
|
+
"@aws-sdk/types": "3.303.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.303.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.303.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.303.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.303.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.303.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.303.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.303.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
56
56
|
"tslib": "^2.5.0",
|
|
57
57
|
"uuid": "^8.3.2"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
60
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
61
61
|
"@tsconfig/node14": "1.0.3",
|
|
62
62
|
"@types/node": "^14.14.31",
|
|
63
63
|
"@types/uuid": "^8.3.0",
|