@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.
Files changed (33) hide show
  1. package/dist-cjs/models/models_0.js +85 -97
  2. package/dist-es/models/models_0.js +85 -97
  3. package/dist-types/commands/ApplyArchiveRuleCommand.d.ts +1 -1
  4. package/dist-types/commands/CancelPolicyGenerationCommand.d.ts +1 -1
  5. package/dist-types/commands/CreateAccessPreviewCommand.d.ts +36 -36
  6. package/dist-types/commands/CreateAnalyzerCommand.d.ts +7 -7
  7. package/dist-types/commands/CreateArchiveRuleCommand.d.ts +4 -4
  8. package/dist-types/commands/DeleteAnalyzerCommand.d.ts +1 -1
  9. package/dist-types/commands/DeleteArchiveRuleCommand.d.ts +1 -1
  10. package/dist-types/commands/GetAccessPreviewCommand.d.ts +1 -1
  11. package/dist-types/commands/GetAnalyzedResourceCommand.d.ts +1 -1
  12. package/dist-types/commands/GetAnalyzerCommand.d.ts +1 -1
  13. package/dist-types/commands/GetArchiveRuleCommand.d.ts +1 -1
  14. package/dist-types/commands/GetFindingCommand.d.ts +1 -1
  15. package/dist-types/commands/GetGeneratedPolicyCommand.d.ts +1 -1
  16. package/dist-types/commands/ListAccessPreviewFindingsCommand.d.ts +4 -4
  17. package/dist-types/commands/ListAccessPreviewsCommand.d.ts +1 -1
  18. package/dist-types/commands/ListAnalyzedResourcesCommand.d.ts +1 -1
  19. package/dist-types/commands/ListAnalyzersCommand.d.ts +1 -1
  20. package/dist-types/commands/ListArchiveRulesCommand.d.ts +1 -1
  21. package/dist-types/commands/ListFindingsCommand.d.ts +5 -5
  22. package/dist-types/commands/ListPolicyGenerationsCommand.d.ts +1 -1
  23. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  24. package/dist-types/commands/StartPolicyGenerationCommand.d.ts +6 -6
  25. package/dist-types/commands/StartResourceScanCommand.d.ts +1 -1
  26. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  27. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  28. package/dist-types/commands/UpdateArchiveRuleCommand.d.ts +4 -4
  29. package/dist-types/commands/UpdateFindingsCommand.d.ts +2 -2
  30. package/dist-types/commands/ValidatePolicyCommand.d.ts +1 -1
  31. package/dist-types/models/models_0.d.ts +145 -85
  32. package/dist-types/ts3.4/models/models_0.d.ts +104 -85
  33. package/package.json +34 -34
@@ -28,12 +28,12 @@ export interface CreateArchiveRuleCommandOutput extends __MetadataBearer {
28
28
  * import { AccessAnalyzerClient, CreateArchiveRuleCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
29
29
  * // const { AccessAnalyzerClient, CreateArchiveRuleCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
30
30
  * const client = new AccessAnalyzerClient(config);
31
- * const input = {
31
+ * const input = { // CreateArchiveRuleRequest
32
32
  * analyzerName: "STRING_VALUE", // required
33
33
  * ruleName: "STRING_VALUE", // required
34
- * filter: { // required
35
- * "<keys>": {
36
- * eq: [
34
+ * filter: { // FilterCriteriaMap // required
35
+ * "<keys>": { // Criterion
36
+ * eq: [ // ValueList
37
37
  * "STRING_VALUE",
38
38
  * ],
39
39
  * neq: [
@@ -28,7 +28,7 @@ export interface DeleteAnalyzerCommandOutput extends __MetadataBearer {
28
28
  * import { AccessAnalyzerClient, DeleteAnalyzerCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
29
29
  * // const { AccessAnalyzerClient, DeleteAnalyzerCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
30
30
  * const client = new AccessAnalyzerClient(config);
31
- * const input = {
31
+ * const input = { // DeleteAnalyzerRequest
32
32
  * analyzerName: "STRING_VALUE", // required
33
33
  * clientToken: "STRING_VALUE",
34
34
  * };
@@ -26,7 +26,7 @@ export interface DeleteArchiveRuleCommandOutput extends __MetadataBearer {
26
26
  * import { AccessAnalyzerClient, DeleteArchiveRuleCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
27
27
  * // const { AccessAnalyzerClient, DeleteArchiveRuleCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
28
28
  * const client = new AccessAnalyzerClient(config);
29
- * const input = {
29
+ * const input = { // DeleteArchiveRuleRequest
30
30
  * analyzerName: "STRING_VALUE", // required
31
31
  * ruleName: "STRING_VALUE", // required
32
32
  * clientToken: "STRING_VALUE",
@@ -26,7 +26,7 @@ export interface GetAccessPreviewCommandOutput extends GetAccessPreviewResponse,
26
26
  * import { AccessAnalyzerClient, GetAccessPreviewCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
27
27
  * // const { AccessAnalyzerClient, GetAccessPreviewCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
28
28
  * const client = new AccessAnalyzerClient(config);
29
- * const input = {
29
+ * const input = { // GetAccessPreviewRequest
30
30
  * accessPreviewId: "STRING_VALUE", // required
31
31
  * analyzerArn: "STRING_VALUE", // required
32
32
  * };
@@ -26,7 +26,7 @@ export interface GetAnalyzedResourceCommandOutput extends GetAnalyzedResourceRes
26
26
  * import { AccessAnalyzerClient, GetAnalyzedResourceCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
27
27
  * // const { AccessAnalyzerClient, GetAnalyzedResourceCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
28
28
  * const client = new AccessAnalyzerClient(config);
29
- * const input = {
29
+ * const input = { // GetAnalyzedResourceRequest
30
30
  * analyzerArn: "STRING_VALUE", // required
31
31
  * resourceArn: "STRING_VALUE", // required
32
32
  * };
@@ -26,7 +26,7 @@ export interface GetAnalyzerCommandOutput extends GetAnalyzerResponse, __Metadat
26
26
  * import { AccessAnalyzerClient, GetAnalyzerCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
27
27
  * // const { AccessAnalyzerClient, GetAnalyzerCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
28
28
  * const client = new AccessAnalyzerClient(config);
29
- * const input = {
29
+ * const input = { // GetAnalyzerRequest
30
30
  * analyzerName: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new GetAnalyzerCommand(input);
@@ -27,7 +27,7 @@ export interface GetArchiveRuleCommandOutput extends GetArchiveRuleResponse, __M
27
27
  * import { AccessAnalyzerClient, GetArchiveRuleCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
28
28
  * // const { AccessAnalyzerClient, GetArchiveRuleCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
29
29
  * const client = new AccessAnalyzerClient(config);
30
- * const input = {
30
+ * const input = { // GetArchiveRuleRequest
31
31
  * analyzerName: "STRING_VALUE", // required
32
32
  * ruleName: "STRING_VALUE", // required
33
33
  * };
@@ -26,7 +26,7 @@ export interface GetFindingCommandOutput extends GetFindingResponse, __MetadataB
26
26
  * import { AccessAnalyzerClient, GetFindingCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
27
27
  * // const { AccessAnalyzerClient, GetFindingCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
28
28
  * const client = new AccessAnalyzerClient(config);
29
- * const input = {
29
+ * const input = { // GetFindingRequest
30
30
  * analyzerArn: "STRING_VALUE", // required
31
31
  * id: "STRING_VALUE", // required
32
32
  * };
@@ -27,7 +27,7 @@ export interface GetGeneratedPolicyCommandOutput extends GetGeneratedPolicyRespo
27
27
  * import { AccessAnalyzerClient, GetGeneratedPolicyCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
28
28
  * // const { AccessAnalyzerClient, GetGeneratedPolicyCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
29
29
  * const client = new AccessAnalyzerClient(config);
30
- * const input = {
30
+ * const input = { // GetGeneratedPolicyRequest
31
31
  * jobId: "STRING_VALUE", // required
32
32
  * includeResourcePlaceholders: true || false,
33
33
  * includeServiceLevelTemplate: true || false,
@@ -27,12 +27,12 @@ export interface ListAccessPreviewFindingsCommandOutput extends ListAccessPrevie
27
27
  * import { AccessAnalyzerClient, ListAccessPreviewFindingsCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
28
28
  * // const { AccessAnalyzerClient, ListAccessPreviewFindingsCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
29
29
  * const client = new AccessAnalyzerClient(config);
30
- * const input = {
30
+ * const input = { // ListAccessPreviewFindingsRequest
31
31
  * accessPreviewId: "STRING_VALUE", // required
32
32
  * analyzerArn: "STRING_VALUE", // required
33
- * filter: {
34
- * "<keys>": {
35
- * eq: [
33
+ * filter: { // FilterCriteriaMap
34
+ * "<keys>": { // Criterion
35
+ * eq: [ // ValueList
36
36
  * "STRING_VALUE",
37
37
  * ],
38
38
  * neq: [
@@ -26,7 +26,7 @@ export interface ListAccessPreviewsCommandOutput extends ListAccessPreviewsRespo
26
26
  * import { AccessAnalyzerClient, ListAccessPreviewsCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
27
27
  * // const { AccessAnalyzerClient, ListAccessPreviewsCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
28
28
  * const client = new AccessAnalyzerClient(config);
29
- * const input = {
29
+ * const input = { // ListAccessPreviewsRequest
30
30
  * analyzerArn: "STRING_VALUE", // required
31
31
  * nextToken: "STRING_VALUE",
32
32
  * maxResults: Number("int"),
@@ -27,7 +27,7 @@ export interface ListAnalyzedResourcesCommandOutput extends ListAnalyzedResource
27
27
  * import { AccessAnalyzerClient, ListAnalyzedResourcesCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
28
28
  * // const { AccessAnalyzerClient, ListAnalyzedResourcesCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
29
29
  * const client = new AccessAnalyzerClient(config);
30
- * const input = {
30
+ * const input = { // ListAnalyzedResourcesRequest
31
31
  * analyzerArn: "STRING_VALUE", // required
32
32
  * resourceType: "STRING_VALUE",
33
33
  * nextToken: "STRING_VALUE",
@@ -26,7 +26,7 @@ export interface ListAnalyzersCommandOutput extends ListAnalyzersResponse, __Met
26
26
  * import { AccessAnalyzerClient, ListAnalyzersCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
27
27
  * // const { AccessAnalyzerClient, ListAnalyzersCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
28
28
  * const client = new AccessAnalyzerClient(config);
29
- * const input = {
29
+ * const input = { // ListAnalyzersRequest
30
30
  * nextToken: "STRING_VALUE",
31
31
  * maxResults: Number("int"),
32
32
  * type: "STRING_VALUE",
@@ -26,7 +26,7 @@ export interface ListArchiveRulesCommandOutput extends ListArchiveRulesResponse,
26
26
  * import { AccessAnalyzerClient, ListArchiveRulesCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
27
27
  * // const { AccessAnalyzerClient, ListArchiveRulesCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
28
28
  * const client = new AccessAnalyzerClient(config);
29
- * const input = {
29
+ * const input = { // ListArchiveRulesRequest
30
30
  * analyzerName: "STRING_VALUE", // required
31
31
  * nextToken: "STRING_VALUE",
32
32
  * maxResults: Number("int"),
@@ -27,11 +27,11 @@ export interface ListFindingsCommandOutput extends ListFindingsResponse, __Metad
27
27
  * import { AccessAnalyzerClient, ListFindingsCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
28
28
  * // const { AccessAnalyzerClient, ListFindingsCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
29
29
  * const client = new AccessAnalyzerClient(config);
30
- * const input = {
30
+ * const input = { // ListFindingsRequest
31
31
  * analyzerArn: "STRING_VALUE", // required
32
- * filter: {
33
- * "<keys>": {
34
- * eq: [
32
+ * filter: { // FilterCriteriaMap
33
+ * "<keys>": { // Criterion
34
+ * eq: [ // ValueList
35
35
  * "STRING_VALUE",
36
36
  * ],
37
37
  * neq: [
@@ -43,7 +43,7 @@ export interface ListFindingsCommandOutput extends ListFindingsResponse, __Metad
43
43
  * exists: true || false,
44
44
  * },
45
45
  * },
46
- * sort: {
46
+ * sort: { // SortCriteria
47
47
  * attributeName: "STRING_VALUE",
48
48
  * orderBy: "STRING_VALUE",
49
49
  * },
@@ -26,7 +26,7 @@ export interface ListPolicyGenerationsCommandOutput extends ListPolicyGeneration
26
26
  * import { AccessAnalyzerClient, ListPolicyGenerationsCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
27
27
  * // const { AccessAnalyzerClient, ListPolicyGenerationsCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
28
28
  * const client = new AccessAnalyzerClient(config);
29
- * const input = {
29
+ * const input = { // ListPolicyGenerationsRequest
30
30
  * principalArn: "STRING_VALUE",
31
31
  * maxResults: Number("int"),
32
32
  * nextToken: "STRING_VALUE",
@@ -26,7 +26,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
26
26
  * import { AccessAnalyzerClient, ListTagsForResourceCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
27
27
  * // const { AccessAnalyzerClient, ListTagsForResourceCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
28
28
  * const client = new AccessAnalyzerClient(config);
29
- * const input = {
29
+ * const input = { // ListTagsForResourceRequest
30
30
  * resourceArn: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new ListTagsForResourceCommand(input);
@@ -26,15 +26,15 @@ export interface StartPolicyGenerationCommandOutput extends StartPolicyGeneratio
26
26
  * import { AccessAnalyzerClient, StartPolicyGenerationCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
27
27
  * // const { AccessAnalyzerClient, StartPolicyGenerationCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
28
28
  * const client = new AccessAnalyzerClient(config);
29
- * const input = {
30
- * policyGenerationDetails: {
29
+ * const input = { // StartPolicyGenerationRequest
30
+ * policyGenerationDetails: { // PolicyGenerationDetails
31
31
  * principalArn: "STRING_VALUE", // required
32
32
  * },
33
- * cloudTrailDetails: {
34
- * trails: [ // required
35
- * {
33
+ * cloudTrailDetails: { // CloudTrailDetails
34
+ * trails: [ // TrailList // required
35
+ * { // Trail
36
36
  * cloudTrailArn: "STRING_VALUE", // required
37
- * regions: [
37
+ * regions: [ // RegionList
38
38
  * "STRING_VALUE",
39
39
  * ],
40
40
  * allRegions: true || false,
@@ -26,7 +26,7 @@ export interface StartResourceScanCommandOutput extends __MetadataBearer {
26
26
  * import { AccessAnalyzerClient, StartResourceScanCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
27
27
  * // const { AccessAnalyzerClient, StartResourceScanCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
28
28
  * const client = new AccessAnalyzerClient(config);
29
- * const input = {
29
+ * const input = { // StartResourceScanRequest
30
30
  * analyzerArn: "STRING_VALUE", // required
31
31
  * resourceArn: "STRING_VALUE", // required
32
32
  * resourceOwnerAccount: "STRING_VALUE",
@@ -26,9 +26,9 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
26
26
  * import { AccessAnalyzerClient, TagResourceCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
27
27
  * // const { AccessAnalyzerClient, TagResourceCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
28
28
  * const client = new AccessAnalyzerClient(config);
29
- * const input = {
29
+ * const input = { // TagResourceRequest
30
30
  * resourceArn: "STRING_VALUE", // required
31
- * tags: { // required
31
+ * tags: { // TagsMap // required
32
32
  * "<keys>": "STRING_VALUE",
33
33
  * },
34
34
  * };
@@ -26,9 +26,9 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
26
26
  * import { AccessAnalyzerClient, UntagResourceCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
27
27
  * // const { AccessAnalyzerClient, UntagResourceCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
28
28
  * const client = new AccessAnalyzerClient(config);
29
- * const input = {
29
+ * const input = { // UntagResourceRequest
30
30
  * resourceArn: "STRING_VALUE", // required
31
- * tagKeys: [ // required
31
+ * tagKeys: [ // TagKeys // required
32
32
  * "STRING_VALUE",
33
33
  * ],
34
34
  * };
@@ -26,12 +26,12 @@ export interface UpdateArchiveRuleCommandOutput extends __MetadataBearer {
26
26
  * import { AccessAnalyzerClient, UpdateArchiveRuleCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
27
27
  * // const { AccessAnalyzerClient, UpdateArchiveRuleCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
28
28
  * const client = new AccessAnalyzerClient(config);
29
- * const input = {
29
+ * const input = { // UpdateArchiveRuleRequest
30
30
  * analyzerName: "STRING_VALUE", // required
31
31
  * ruleName: "STRING_VALUE", // required
32
- * filter: { // required
33
- * "<keys>": {
34
- * eq: [
32
+ * filter: { // FilterCriteriaMap // required
33
+ * "<keys>": { // Criterion
34
+ * eq: [ // ValueList
35
35
  * "STRING_VALUE",
36
36
  * ],
37
37
  * neq: [
@@ -26,10 +26,10 @@ export interface UpdateFindingsCommandOutput extends __MetadataBearer {
26
26
  * import { AccessAnalyzerClient, UpdateFindingsCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
27
27
  * // const { AccessAnalyzerClient, UpdateFindingsCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
28
28
  * const client = new AccessAnalyzerClient(config);
29
- * const input = {
29
+ * const input = { // UpdateFindingsRequest
30
30
  * analyzerArn: "STRING_VALUE", // required
31
31
  * status: "STRING_VALUE", // required
32
- * ids: [
32
+ * ids: [ // FindingIdList
33
33
  * "STRING_VALUE",
34
34
  * ],
35
35
  * resourceArn: "STRING_VALUE",
@@ -28,7 +28,7 @@ export interface ValidatePolicyCommandOutput extends ValidatePolicyResponse, __M
28
28
  * import { AccessAnalyzerClient, ValidatePolicyCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
29
29
  * // const { AccessAnalyzerClient, ValidatePolicyCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
30
30
  * const client = new AccessAnalyzerClient(config);
31
- * const input = {
31
+ * const input = { // ValidatePolicyRequest
32
32
  * locale: "STRING_VALUE",
33
33
  * maxResults: Number("int"),
34
34
  * nextToken: "STRING_VALUE",
@@ -170,13 +170,18 @@ export interface ValidationExceptionField {
170
170
  }
171
171
  /**
172
172
  * @public
173
+ * @enum
173
174
  */
174
- export declare enum ValidationExceptionReason {
175
- CANNOT_PARSE = "cannotParse",
176
- FIELD_VALIDATION_FAILED = "fieldValidationFailed",
177
- OTHER = "other",
178
- UNKNOWN_OPERATION = "unknownOperation"
179
- }
175
+ export declare const ValidationExceptionReason: {
176
+ readonly CANNOT_PARSE: "cannotParse";
177
+ readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
178
+ readonly OTHER: "other";
179
+ readonly UNKNOWN_OPERATION: "unknownOperation";
180
+ };
181
+ /**
182
+ * @public
183
+ */
184
+ export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
180
185
  /**
181
186
  * @public
182
187
  * <p>Validation exception error.</p>
@@ -716,23 +721,28 @@ export interface KmsGrantConstraints {
716
721
  }
717
722
  /**
718
723
  * @public
724
+ * @enum
719
725
  */
720
- export declare enum KmsGrantOperation {
721
- CREATE_GRANT = "CreateGrant",
722
- DECRYPT = "Decrypt",
723
- DESCRIBE_KEY = "DescribeKey",
724
- ENCRYPT = "Encrypt",
725
- GENERATE_DATA_KEY = "GenerateDataKey",
726
- GENERATE_DATA_KEY_PAIR = "GenerateDataKeyPair",
727
- GENERATE_DATA_KEY_PAIR_WITHOUT_PLAINTEXT = "GenerateDataKeyPairWithoutPlaintext",
728
- GENERATE_DATA_KEY_WITHOUT_PLAINTEXT = "GenerateDataKeyWithoutPlaintext",
729
- GET_PUBLIC_KEY = "GetPublicKey",
730
- REENCRYPT_FROM = "ReEncryptFrom",
731
- REENCRYPT_TO = "ReEncryptTo",
732
- RETIRE_GRANT = "RetireGrant",
733
- SIGN = "Sign",
734
- VERIFY = "Verify"
735
- }
726
+ export declare const KmsGrantOperation: {
727
+ readonly CREATE_GRANT: "CreateGrant";
728
+ readonly DECRYPT: "Decrypt";
729
+ readonly DESCRIBE_KEY: "DescribeKey";
730
+ readonly ENCRYPT: "Encrypt";
731
+ readonly GENERATE_DATA_KEY: "GenerateDataKey";
732
+ readonly GENERATE_DATA_KEY_PAIR: "GenerateDataKeyPair";
733
+ readonly GENERATE_DATA_KEY_PAIR_WITHOUT_PLAINTEXT: "GenerateDataKeyPairWithoutPlaintext";
734
+ readonly GENERATE_DATA_KEY_WITHOUT_PLAINTEXT: "GenerateDataKeyWithoutPlaintext";
735
+ readonly GET_PUBLIC_KEY: "GetPublicKey";
736
+ readonly REENCRYPT_FROM: "ReEncryptFrom";
737
+ readonly REENCRYPT_TO: "ReEncryptTo";
738
+ readonly RETIRE_GRANT: "RetireGrant";
739
+ readonly SIGN: "Sign";
740
+ readonly VERIFY: "Verify";
741
+ };
742
+ /**
743
+ * @public
744
+ */
745
+ export type KmsGrantOperation = (typeof KmsGrantOperation)[keyof typeof KmsGrantOperation];
736
746
  /**
737
747
  * @public
738
748
  * <p>A proposed grant configuration for a KMS key. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/APIReference/API_CreateGrant.html">CreateGrant</a>.</p>
@@ -1110,14 +1120,19 @@ export declare namespace AclGrantee {
1110
1120
  }
1111
1121
  /**
1112
1122
  * @public
1123
+ * @enum
1113
1124
  */
1114
- export declare enum AclPermission {
1115
- FULL_CONTROL = "FULL_CONTROL",
1116
- READ = "READ",
1117
- READ_ACP = "READ_ACP",
1118
- WRITE = "WRITE",
1119
- WRITE_ACP = "WRITE_ACP"
1120
- }
1125
+ export declare const AclPermission: {
1126
+ readonly FULL_CONTROL: "FULL_CONTROL";
1127
+ readonly READ: "READ";
1128
+ readonly READ_ACP: "READ_ACP";
1129
+ readonly WRITE: "WRITE";
1130
+ readonly WRITE_ACP: "WRITE_ACP";
1131
+ };
1132
+ /**
1133
+ * @public
1134
+ */
1135
+ export type AclPermission = (typeof AclPermission)[keyof typeof AclPermission];
1121
1136
  /**
1122
1137
  * @public
1123
1138
  * <p>A proposed access control list grant configuration for an Amazon S3 bucket. For more
@@ -1506,19 +1521,29 @@ export interface GetAccessPreviewRequest {
1506
1521
  }
1507
1522
  /**
1508
1523
  * @public
1524
+ * @enum
1509
1525
  */
1510
- export declare enum AccessPreviewStatus {
1511
- COMPLETED = "COMPLETED",
1512
- CREATING = "CREATING",
1513
- FAILED = "FAILED"
1514
- }
1526
+ export declare const AccessPreviewStatus: {
1527
+ readonly COMPLETED: "COMPLETED";
1528
+ readonly CREATING: "CREATING";
1529
+ readonly FAILED: "FAILED";
1530
+ };
1515
1531
  /**
1516
1532
  * @public
1517
1533
  */
1518
- export declare enum AccessPreviewStatusReasonCode {
1519
- INTERNAL_ERROR = "INTERNAL_ERROR",
1520
- INVALID_CONFIGURATION = "INVALID_CONFIGURATION"
1521
- }
1534
+ export type AccessPreviewStatus = (typeof AccessPreviewStatus)[keyof typeof AccessPreviewStatus];
1535
+ /**
1536
+ * @public
1537
+ * @enum
1538
+ */
1539
+ export declare const AccessPreviewStatusReasonCode: {
1540
+ readonly INTERNAL_ERROR: "INTERNAL_ERROR";
1541
+ readonly INVALID_CONFIGURATION: "INVALID_CONFIGURATION";
1542
+ };
1543
+ /**
1544
+ * @public
1545
+ */
1546
+ export type AccessPreviewStatusReasonCode = (typeof AccessPreviewStatusReasonCode)[keyof typeof AccessPreviewStatusReasonCode];
1522
1547
  /**
1523
1548
  * @public
1524
1549
  * <p>Provides more details about the current status of the access preview. For example, if
@@ -1921,13 +1946,18 @@ export interface GeneratedPolicyResult {
1921
1946
  }
1922
1947
  /**
1923
1948
  * @public
1949
+ * @enum
1924
1950
  */
1925
- export declare enum JobErrorCode {
1926
- AUTHORIZATION_ERROR = "AUTHORIZATION_ERROR",
1927
- RESOURCE_NOT_FOUND_ERROR = "RESOURCE_NOT_FOUND_ERROR",
1928
- SERVICE_ERROR = "SERVICE_ERROR",
1929
- SERVICE_QUOTA_EXCEEDED_ERROR = "SERVICE_QUOTA_EXCEEDED_ERROR"
1930
- }
1951
+ export declare const JobErrorCode: {
1952
+ readonly AUTHORIZATION_ERROR: "AUTHORIZATION_ERROR";
1953
+ readonly RESOURCE_NOT_FOUND_ERROR: "RESOURCE_NOT_FOUND_ERROR";
1954
+ readonly SERVICE_ERROR: "SERVICE_ERROR";
1955
+ readonly SERVICE_QUOTA_EXCEEDED_ERROR: "SERVICE_QUOTA_EXCEEDED_ERROR";
1956
+ };
1957
+ /**
1958
+ * @public
1959
+ */
1960
+ export type JobErrorCode = (typeof JobErrorCode)[keyof typeof JobErrorCode];
1931
1961
  /**
1932
1962
  * @public
1933
1963
  * <p>Contains the details about the policy generation error.</p>
@@ -1945,13 +1975,18 @@ export interface JobError {
1945
1975
  }
1946
1976
  /**
1947
1977
  * @public
1978
+ * @enum
1948
1979
  */
1949
- export declare enum JobStatus {
1950
- CANCELED = "CANCELED",
1951
- FAILED = "FAILED",
1952
- IN_PROGRESS = "IN_PROGRESS",
1953
- SUCCEEDED = "SUCCEEDED"
1954
- }
1980
+ export declare const JobStatus: {
1981
+ readonly CANCELED: "CANCELED";
1982
+ readonly FAILED: "FAILED";
1983
+ readonly IN_PROGRESS: "IN_PROGRESS";
1984
+ readonly SUCCEEDED: "SUCCEEDED";
1985
+ };
1986
+ /**
1987
+ * @public
1988
+ */
1989
+ export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
1955
1990
  /**
1956
1991
  * @public
1957
1992
  * <p>Contains details about the policy generation request.</p>
@@ -2024,12 +2059,17 @@ export interface ListAccessPreviewFindingsRequest {
2024
2059
  }
2025
2060
  /**
2026
2061
  * @public
2062
+ * @enum
2027
2063
  */
2028
- export declare enum FindingChangeType {
2029
- CHANGED = "CHANGED",
2030
- NEW = "NEW",
2031
- UNCHANGED = "UNCHANGED"
2032
- }
2064
+ export declare const FindingChangeType: {
2065
+ readonly CHANGED: "CHANGED";
2066
+ readonly NEW: "NEW";
2067
+ readonly UNCHANGED: "UNCHANGED";
2068
+ };
2069
+ /**
2070
+ * @public
2071
+ */
2072
+ export type FindingChangeType = (typeof FindingChangeType)[keyof typeof FindingChangeType];
2033
2073
  /**
2034
2074
  * @public
2035
2075
  * <p>An access preview finding generated by the access preview.</p>
@@ -2670,37 +2710,52 @@ export interface UpdateFindingsRequest {
2670
2710
  }
2671
2711
  /**
2672
2712
  * @public
2713
+ * @enum
2673
2714
  */
2674
- export declare enum Locale {
2675
- DE = "DE",
2676
- EN = "EN",
2677
- ES = "ES",
2678
- FR = "FR",
2679
- IT = "IT",
2680
- JA = "JA",
2681
- KO = "KO",
2682
- PT_BR = "PT_BR",
2683
- ZH_CN = "ZH_CN",
2684
- ZH_TW = "ZH_TW"
2685
- }
2715
+ export declare const Locale: {
2716
+ readonly DE: "DE";
2717
+ readonly EN: "EN";
2718
+ readonly ES: "ES";
2719
+ readonly FR: "FR";
2720
+ readonly IT: "IT";
2721
+ readonly JA: "JA";
2722
+ readonly KO: "KO";
2723
+ readonly PT_BR: "PT_BR";
2724
+ readonly ZH_CN: "ZH_CN";
2725
+ readonly ZH_TW: "ZH_TW";
2726
+ };
2686
2727
  /**
2687
2728
  * @public
2688
2729
  */
2689
- export declare enum PolicyType {
2690
- IDENTITY_POLICY = "IDENTITY_POLICY",
2691
- RESOURCE_POLICY = "RESOURCE_POLICY",
2692
- SERVICE_CONTROL_POLICY = "SERVICE_CONTROL_POLICY"
2693
- }
2730
+ export type Locale = (typeof Locale)[keyof typeof Locale];
2694
2731
  /**
2695
2732
  * @public
2733
+ * @enum
2696
2734
  */
2697
- export declare enum ValidatePolicyResourceType {
2698
- ROLE_TRUST = "AWS::IAM::AssumeRolePolicyDocument",
2699
- S3_ACCESS_POINT = "AWS::S3::AccessPoint",
2700
- S3_BUCKET = "AWS::S3::Bucket",
2701
- S3_MULTI_REGION_ACCESS_POINT = "AWS::S3::MultiRegionAccessPoint",
2702
- S3_OBJECT_LAMBDA_ACCESS_POINT = "AWS::S3ObjectLambda::AccessPoint"
2703
- }
2735
+ export declare const PolicyType: {
2736
+ readonly IDENTITY_POLICY: "IDENTITY_POLICY";
2737
+ readonly RESOURCE_POLICY: "RESOURCE_POLICY";
2738
+ readonly SERVICE_CONTROL_POLICY: "SERVICE_CONTROL_POLICY";
2739
+ };
2740
+ /**
2741
+ * @public
2742
+ */
2743
+ export type PolicyType = (typeof PolicyType)[keyof typeof PolicyType];
2744
+ /**
2745
+ * @public
2746
+ * @enum
2747
+ */
2748
+ export declare const ValidatePolicyResourceType: {
2749
+ readonly ROLE_TRUST: "AWS::IAM::AssumeRolePolicyDocument";
2750
+ readonly S3_ACCESS_POINT: "AWS::S3::AccessPoint";
2751
+ readonly S3_BUCKET: "AWS::S3::Bucket";
2752
+ readonly S3_MULTI_REGION_ACCESS_POINT: "AWS::S3::MultiRegionAccessPoint";
2753
+ readonly S3_OBJECT_LAMBDA_ACCESS_POINT: "AWS::S3ObjectLambda::AccessPoint";
2754
+ };
2755
+ /**
2756
+ * @public
2757
+ */
2758
+ export type ValidatePolicyResourceType = (typeof ValidatePolicyResourceType)[keyof typeof ValidatePolicyResourceType];
2704
2759
  /**
2705
2760
  * @public
2706
2761
  */
@@ -2746,13 +2801,18 @@ export interface ValidatePolicyRequest {
2746
2801
  }
2747
2802
  /**
2748
2803
  * @public
2804
+ * @enum
2749
2805
  */
2750
- export declare enum ValidatePolicyFindingType {
2751
- ERROR = "ERROR",
2752
- SECURITY_WARNING = "SECURITY_WARNING",
2753
- SUGGESTION = "SUGGESTION",
2754
- WARNING = "WARNING"
2755
- }
2806
+ export declare const ValidatePolicyFindingType: {
2807
+ readonly ERROR: "ERROR";
2808
+ readonly SECURITY_WARNING: "SECURITY_WARNING";
2809
+ readonly SUGGESTION: "SUGGESTION";
2810
+ readonly WARNING: "WARNING";
2811
+ };
2812
+ /**
2813
+ * @public
2814
+ */
2815
+ export type ValidatePolicyFindingType = (typeof ValidatePolicyFindingType)[keyof typeof ValidatePolicyFindingType];
2756
2816
  /**
2757
2817
  * @public
2758
2818
  * <p>A reference to a substring of a literal string in a JSON document.</p>