@aws-sdk/client-accessanalyzer 3.590.0 → 3.595.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -0
- package/dist-cjs/index.js +241 -33
- package/dist-es/AccessAnalyzer.js +6 -0
- package/dist-es/commands/CheckNoPublicAccessCommand.js +25 -0
- package/dist-es/commands/GenerateFindingRecommendationCommand.js +24 -0
- package/dist-es/commands/GetFindingRecommendationCommand.js +24 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +49 -0
- package/dist-es/pagination/GetFindingRecommendationPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +111 -0
- package/dist-types/AccessAnalyzer.d.ts +21 -0
- package/dist-types/AccessAnalyzerClient.d.ts +5 -2
- package/dist-types/commands/ApplyArchiveRuleCommand.d.ts +2 -1
- package/dist-types/commands/CancelPolicyGenerationCommand.d.ts +2 -1
- package/dist-types/commands/CheckAccessNotGrantedCommand.d.ts +6 -2
- package/dist-types/commands/CheckNoNewAccessCommand.d.ts +2 -1
- package/dist-types/commands/CheckNoPublicAccessCommand.d.ts +88 -0
- package/dist-types/commands/CreateAccessPreviewCommand.d.ts +2 -1
- package/dist-types/commands/CreateAnalyzerCommand.d.ts +2 -1
- package/dist-types/commands/CreateArchiveRuleCommand.d.ts +2 -1
- package/dist-types/commands/DeleteAnalyzerCommand.d.ts +2 -1
- package/dist-types/commands/DeleteArchiveRuleCommand.d.ts +2 -1
- package/dist-types/commands/GenerateFindingRecommendationCommand.d.ts +71 -0
- package/dist-types/commands/GetAccessPreviewCommand.d.ts +2 -1
- package/dist-types/commands/GetAnalyzedResourceCommand.d.ts +2 -1
- package/dist-types/commands/GetAnalyzerCommand.d.ts +2 -1
- package/dist-types/commands/GetArchiveRuleCommand.d.ts +2 -1
- package/dist-types/commands/GetFindingCommand.d.ts +2 -1
- package/dist-types/commands/GetFindingRecommendationCommand.d.ts +97 -0
- package/dist-types/commands/GetFindingV2Command.d.ts +2 -1
- package/dist-types/commands/GetGeneratedPolicyCommand.d.ts +2 -1
- package/dist-types/commands/ListAccessPreviewFindingsCommand.d.ts +2 -1
- package/dist-types/commands/ListAccessPreviewsCommand.d.ts +2 -1
- package/dist-types/commands/ListAnalyzedResourcesCommand.d.ts +2 -1
- package/dist-types/commands/ListAnalyzersCommand.d.ts +2 -1
- package/dist-types/commands/ListArchiveRulesCommand.d.ts +2 -1
- package/dist-types/commands/ListFindingsCommand.d.ts +2 -1
- package/dist-types/commands/ListFindingsV2Command.d.ts +2 -1
- package/dist-types/commands/ListPolicyGenerationsCommand.d.ts +2 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
- package/dist-types/commands/StartPolicyGenerationCommand.d.ts +2 -1
- package/dist-types/commands/StartResourceScanCommand.d.ts +2 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UpdateArchiveRuleCommand.d.ts +2 -1
- package/dist-types/commands/UpdateFindingsCommand.d.ts +2 -1
- package/dist-types/commands/ValidatePolicyCommand.d.ts +2 -1
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/index.d.ts +2 -2
- package/dist-types/models/AccessAnalyzerServiceException.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +308 -5
- package/dist-types/pagination/GetFindingRecommendationPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/ts3.4/AccessAnalyzer.d.ts +51 -0
- package/dist-types/ts3.4/AccessAnalyzerClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/ApplyArchiveRuleCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/CancelPolicyGenerationCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/CheckAccessNotGrantedCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/CheckNoNewAccessCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/CheckNoPublicAccessCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/CreateAccessPreviewCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/CreateAnalyzerCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/CreateArchiveRuleCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DeleteAnalyzerCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DeleteArchiveRuleCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GenerateFindingRecommendationCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/GetAccessPreviewCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetAnalyzedResourceCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetAnalyzerCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetArchiveRuleCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetFindingCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetFindingRecommendationCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/GetFindingV2Command.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetGeneratedPolicyCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListAccessPreviewFindingsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListAccessPreviewsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListAnalyzedResourcesCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListAnalyzersCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListArchiveRulesCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListFindingsV2Command.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListPolicyGenerationsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/StartPolicyGenerationCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/StartResourceScanCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/UpdateArchiveRuleCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/UpdateFindingsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ValidatePolicyCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/AccessAnalyzerServiceException.d.ts +2 -1
- package/dist-types/ts3.4/models/models_0.d.ts +110 -1
- package/dist-types/ts3.4/pagination/GetFindingRecommendationPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
- package/package.json +6 -6
package/dist-cjs/index.js
CHANGED
|
@@ -25,6 +25,7 @@ __export(src_exports, {
|
|
|
25
25
|
AccessAnalyzerClient: () => AccessAnalyzerClient,
|
|
26
26
|
AccessAnalyzerServiceException: () => AccessAnalyzerServiceException,
|
|
27
27
|
AccessCheckPolicyType: () => AccessCheckPolicyType,
|
|
28
|
+
AccessCheckResourceType: () => AccessCheckResourceType,
|
|
28
29
|
AccessDeniedException: () => AccessDeniedException,
|
|
29
30
|
AccessPreviewStatus: () => AccessPreviewStatus,
|
|
30
31
|
AccessPreviewStatusReasonCode: () => AccessPreviewStatusReasonCode,
|
|
@@ -39,6 +40,9 @@ __export(src_exports, {
|
|
|
39
40
|
CheckNoNewAccessCommand: () => CheckNoNewAccessCommand,
|
|
40
41
|
CheckNoNewAccessRequestFilterSensitiveLog: () => CheckNoNewAccessRequestFilterSensitiveLog,
|
|
41
42
|
CheckNoNewAccessResult: () => CheckNoNewAccessResult,
|
|
43
|
+
CheckNoPublicAccessCommand: () => CheckNoPublicAccessCommand,
|
|
44
|
+
CheckNoPublicAccessRequestFilterSensitiveLog: () => CheckNoPublicAccessRequestFilterSensitiveLog,
|
|
45
|
+
CheckNoPublicAccessResult: () => CheckNoPublicAccessResult,
|
|
42
46
|
Configuration: () => Configuration,
|
|
43
47
|
ConflictException: () => ConflictException,
|
|
44
48
|
CreateAccessPreviewCommand: () => CreateAccessPreviewCommand,
|
|
@@ -49,11 +53,13 @@ __export(src_exports, {
|
|
|
49
53
|
FindingChangeType: () => FindingChangeType,
|
|
50
54
|
FindingDetails: () => FindingDetails,
|
|
51
55
|
FindingType: () => FindingType,
|
|
56
|
+
GenerateFindingRecommendationCommand: () => GenerateFindingRecommendationCommand,
|
|
52
57
|
GetAccessPreviewCommand: () => GetAccessPreviewCommand,
|
|
53
58
|
GetAnalyzedResourceCommand: () => GetAnalyzedResourceCommand,
|
|
54
59
|
GetAnalyzerCommand: () => GetAnalyzerCommand,
|
|
55
60
|
GetArchiveRuleCommand: () => GetArchiveRuleCommand,
|
|
56
61
|
GetFindingCommand: () => GetFindingCommand,
|
|
62
|
+
GetFindingRecommendationCommand: () => GetFindingRecommendationCommand,
|
|
57
63
|
GetFindingV2Command: () => GetFindingV2Command,
|
|
58
64
|
GetGeneratedPolicyCommand: () => GetGeneratedPolicyCommand,
|
|
59
65
|
InternalServerException: () => InternalServerException,
|
|
@@ -76,10 +82,14 @@ __export(src_exports, {
|
|
|
76
82
|
PolicyType: () => PolicyType,
|
|
77
83
|
RdsDbClusterSnapshotAttributeValue: () => RdsDbClusterSnapshotAttributeValue,
|
|
78
84
|
RdsDbSnapshotAttributeValue: () => RdsDbSnapshotAttributeValue,
|
|
85
|
+
RecommendationType: () => RecommendationType,
|
|
86
|
+
RecommendedRemediationAction: () => RecommendedRemediationAction,
|
|
87
|
+
RecommendedStep: () => RecommendedStep,
|
|
79
88
|
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
80
89
|
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
81
90
|
StartPolicyGenerationCommand: () => StartPolicyGenerationCommand,
|
|
82
91
|
StartResourceScanCommand: () => StartResourceScanCommand,
|
|
92
|
+
Status: () => Status,
|
|
83
93
|
TagResourceCommand: () => TagResourceCommand,
|
|
84
94
|
ThrottlingException: () => ThrottlingException,
|
|
85
95
|
UnprocessableEntityException: () => UnprocessableEntityException,
|
|
@@ -92,6 +102,7 @@ __export(src_exports, {
|
|
|
92
102
|
ValidationException: () => ValidationException,
|
|
93
103
|
ValidationExceptionReason: () => ValidationExceptionReason,
|
|
94
104
|
__Client: () => import_smithy_client.Client,
|
|
105
|
+
paginateGetFindingRecommendation: () => paginateGetFindingRecommendation,
|
|
95
106
|
paginateGetFindingV2: () => paginateGetFindingV2,
|
|
96
107
|
paginateListAccessPreviewFindings: () => paginateListAccessPreviewFindings,
|
|
97
108
|
paginateListAccessPreviews: () => paginateListAccessPreviews,
|
|
@@ -255,7 +266,6 @@ var AccessAnalyzerClient = _AccessAnalyzerClient;
|
|
|
255
266
|
|
|
256
267
|
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
257
268
|
|
|
258
|
-
var import_types = require("@smithy/types");
|
|
259
269
|
|
|
260
270
|
// src/protocols/Aws_restJson1.ts
|
|
261
271
|
var import_core2 = require("@aws-sdk/core");
|
|
@@ -396,6 +406,7 @@ var ThrottlingException = _ThrottlingException;
|
|
|
396
406
|
var ValidationExceptionReason = {
|
|
397
407
|
CANNOT_PARSE: "cannotParse",
|
|
398
408
|
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
409
|
+
NOT_SUPPORTED: "notSupported",
|
|
399
410
|
OTHER: "other",
|
|
400
411
|
UNKNOWN_OPERATION: "unknownOperation"
|
|
401
412
|
};
|
|
@@ -473,6 +484,30 @@ var CheckNoNewAccessResult = {
|
|
|
473
484
|
FAIL: "FAIL",
|
|
474
485
|
PASS: "PASS"
|
|
475
486
|
};
|
|
487
|
+
var AccessCheckResourceType = {
|
|
488
|
+
DYNAMODB_STREAM: "AWS::DynamoDB::Stream",
|
|
489
|
+
DYNAMODB_TABLE: "AWS::DynamoDB::Table",
|
|
490
|
+
EFS_FILESYSTEM: "AWS::EFS::FileSystem",
|
|
491
|
+
KINESIS_DATA_STREAM: "AWS::Kinesis::Stream",
|
|
492
|
+
KINESIS_STREAM_CONSUMER: "AWS::Kinesis::StreamConsumer",
|
|
493
|
+
KMS_KEY: "AWS::KMS::Key",
|
|
494
|
+
LAMBDA_FUNCTION: "AWS::Lambda::Function",
|
|
495
|
+
OPENSEARCHSERVICE_DOMAIN: "AWS::OpenSearchService::Domain",
|
|
496
|
+
ROLE_TRUST: "AWS::IAM::AssumeRolePolicyDocument",
|
|
497
|
+
S3EXPRESS_DIRECTORYBUCKET: "AWS::S3Express::DirectoryBucket",
|
|
498
|
+
S3_ACCESS_POINT: "AWS::S3::AccessPoint",
|
|
499
|
+
S3_BUCKET: "AWS::S3::Bucket",
|
|
500
|
+
S3_GLACIER: "AWS::S3::Glacier",
|
|
501
|
+
S3_OUTPOSTS_ACCESS_POINT: "AWS::S3Outposts::AccessPoint",
|
|
502
|
+
S3_OUTPOSTS_BUCKET: "AWS::S3Outposts::Bucket",
|
|
503
|
+
SECRETSMANAGER_SECRET: "AWS::SecretsManager::Secret",
|
|
504
|
+
SNS_TOPIC: "AWS::SNS::Topic",
|
|
505
|
+
SQS_QUEUE: "AWS::SQS::Queue"
|
|
506
|
+
};
|
|
507
|
+
var CheckNoPublicAccessResult = {
|
|
508
|
+
FAIL: "FAIL",
|
|
509
|
+
PASS: "PASS"
|
|
510
|
+
};
|
|
476
511
|
var KmsGrantOperation = {
|
|
477
512
|
CREATE_GRANT: "CreateGrant",
|
|
478
513
|
DECRYPT: "Decrypt",
|
|
@@ -575,6 +610,26 @@ var AccessPreviewStatusReasonCode = {
|
|
|
575
610
|
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
576
611
|
INVALID_CONFIGURATION: "INVALID_CONFIGURATION"
|
|
577
612
|
};
|
|
613
|
+
var RecommendationType = {
|
|
614
|
+
UNUSED_PERMISSION_RECOMMENDATION: "UnusedPermissionRecommendation"
|
|
615
|
+
};
|
|
616
|
+
var RecommendedRemediationAction = {
|
|
617
|
+
CREATE_POLICY: "CREATE_POLICY",
|
|
618
|
+
DETACH_POLICY: "DETACH_POLICY"
|
|
619
|
+
};
|
|
620
|
+
var RecommendedStep;
|
|
621
|
+
((RecommendedStep3) => {
|
|
622
|
+
RecommendedStep3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
623
|
+
if (value.unusedPermissionsRecommendedStep !== void 0)
|
|
624
|
+
return visitor.unusedPermissionsRecommendedStep(value.unusedPermissionsRecommendedStep);
|
|
625
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
626
|
+
}, "visit");
|
|
627
|
+
})(RecommendedStep || (RecommendedStep = {}));
|
|
628
|
+
var Status = {
|
|
629
|
+
FAILED: "FAILED",
|
|
630
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
631
|
+
SUCCEEDED: "SUCCEEDED"
|
|
632
|
+
};
|
|
578
633
|
var FindingDetails;
|
|
579
634
|
((FindingDetails3) => {
|
|
580
635
|
FindingDetails3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
@@ -669,6 +724,10 @@ var CheckNoNewAccessRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) =>
|
|
|
669
724
|
...obj.newPolicyDocument && { newPolicyDocument: import_smithy_client.SENSITIVE_STRING },
|
|
670
725
|
...obj.existingPolicyDocument && { existingPolicyDocument: import_smithy_client.SENSITIVE_STRING }
|
|
671
726
|
}), "CheckNoNewAccessRequestFilterSensitiveLog");
|
|
727
|
+
var CheckNoPublicAccessRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
728
|
+
...obj,
|
|
729
|
+
...obj.policyDocument && { policyDocument: import_smithy_client.SENSITIVE_STRING }
|
|
730
|
+
}), "CheckNoPublicAccessRequestFilterSensitiveLog");
|
|
672
731
|
|
|
673
732
|
// src/protocols/Aws_restJson1.ts
|
|
674
733
|
var se_ApplyArchiveRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
@@ -731,6 +790,22 @@ var se_CheckNoNewAccessCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
731
790
|
b.m("POST").h(headers).b(body);
|
|
732
791
|
return b.build();
|
|
733
792
|
}, "se_CheckNoNewAccessCommand");
|
|
793
|
+
var se_CheckNoPublicAccessCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
794
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
795
|
+
const headers = {
|
|
796
|
+
"content-type": "application/json"
|
|
797
|
+
};
|
|
798
|
+
b.bp("/policy/check-no-public-access");
|
|
799
|
+
let body;
|
|
800
|
+
body = JSON.stringify(
|
|
801
|
+
(0, import_smithy_client.take)(input, {
|
|
802
|
+
policyDocument: [],
|
|
803
|
+
resourceType: []
|
|
804
|
+
})
|
|
805
|
+
);
|
|
806
|
+
b.m("POST").h(headers).b(body);
|
|
807
|
+
return b.build();
|
|
808
|
+
}, "se_CheckNoPublicAccessCommand");
|
|
734
809
|
var se_CreateAccessPreviewCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
735
810
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
736
811
|
const headers = {
|
|
@@ -811,6 +886,18 @@ var se_DeleteArchiveRuleCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
811
886
|
b.m("DELETE").h(headers).q(query).b(body);
|
|
812
887
|
return b.build();
|
|
813
888
|
}, "se_DeleteArchiveRuleCommand");
|
|
889
|
+
var se_GenerateFindingRecommendationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
890
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
891
|
+
const headers = {};
|
|
892
|
+
b.bp("/recommendation/{id}");
|
|
893
|
+
b.p("id", () => input.id, "{id}", false);
|
|
894
|
+
const query = (0, import_smithy_client.map)({
|
|
895
|
+
[_aA]: [, (0, import_smithy_client.expectNonNull)(input[_aA], `analyzerArn`)]
|
|
896
|
+
});
|
|
897
|
+
let body;
|
|
898
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
899
|
+
return b.build();
|
|
900
|
+
}, "se_GenerateFindingRecommendationCommand");
|
|
814
901
|
var se_GetAccessPreviewCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
815
902
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
816
903
|
const headers = {};
|
|
@@ -866,6 +953,20 @@ var se_GetFindingCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
866
953
|
b.m("GET").h(headers).q(query).b(body);
|
|
867
954
|
return b.build();
|
|
868
955
|
}, "se_GetFindingCommand");
|
|
956
|
+
var se_GetFindingRecommendationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
957
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
958
|
+
const headers = {};
|
|
959
|
+
b.bp("/recommendation/{id}");
|
|
960
|
+
b.p("id", () => input.id, "{id}", false);
|
|
961
|
+
const query = (0, import_smithy_client.map)({
|
|
962
|
+
[_aA]: [, (0, import_smithy_client.expectNonNull)(input[_aA], `analyzerArn`)],
|
|
963
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
964
|
+
[_nT]: [, input[_nT]]
|
|
965
|
+
});
|
|
966
|
+
let body;
|
|
967
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
968
|
+
return b.build();
|
|
969
|
+
}, "se_GetFindingRecommendationCommand");
|
|
869
970
|
var se_GetFindingV2Command = /* @__PURE__ */ __name(async (input, context) => {
|
|
870
971
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
871
972
|
const headers = {};
|
|
@@ -1205,6 +1306,22 @@ var de_CheckNoNewAccessCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1205
1306
|
Object.assign(contents, doc);
|
|
1206
1307
|
return contents;
|
|
1207
1308
|
}, "de_CheckNoNewAccessCommand");
|
|
1309
|
+
var de_CheckNoPublicAccessCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1310
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1311
|
+
return de_CommandError(output, context);
|
|
1312
|
+
}
|
|
1313
|
+
const contents = (0, import_smithy_client.map)({
|
|
1314
|
+
$metadata: deserializeMetadata(output)
|
|
1315
|
+
});
|
|
1316
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1317
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1318
|
+
message: import_smithy_client.expectString,
|
|
1319
|
+
reasons: import_smithy_client._json,
|
|
1320
|
+
result: import_smithy_client.expectString
|
|
1321
|
+
});
|
|
1322
|
+
Object.assign(contents, doc);
|
|
1323
|
+
return contents;
|
|
1324
|
+
}, "de_CheckNoPublicAccessCommand");
|
|
1208
1325
|
var de_CreateAccessPreviewCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1209
1326
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1210
1327
|
return de_CommandError(output, context);
|
|
@@ -1263,6 +1380,16 @@ var de_DeleteArchiveRuleCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1263
1380
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1264
1381
|
return contents;
|
|
1265
1382
|
}, "de_DeleteArchiveRuleCommand");
|
|
1383
|
+
var de_GenerateFindingRecommendationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1384
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1385
|
+
return de_CommandError(output, context);
|
|
1386
|
+
}
|
|
1387
|
+
const contents = (0, import_smithy_client.map)({
|
|
1388
|
+
$metadata: deserializeMetadata(output)
|
|
1389
|
+
});
|
|
1390
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1391
|
+
return contents;
|
|
1392
|
+
}, "de_GenerateFindingRecommendationCommand");
|
|
1266
1393
|
var de_GetAccessPreviewCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1267
1394
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1268
1395
|
return de_CommandError(output, context);
|
|
@@ -1333,6 +1460,27 @@ var de_GetFindingCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1333
1460
|
Object.assign(contents, doc);
|
|
1334
1461
|
return contents;
|
|
1335
1462
|
}, "de_GetFindingCommand");
|
|
1463
|
+
var de_GetFindingRecommendationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1464
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1465
|
+
return de_CommandError(output, context);
|
|
1466
|
+
}
|
|
1467
|
+
const contents = (0, import_smithy_client.map)({
|
|
1468
|
+
$metadata: deserializeMetadata(output)
|
|
1469
|
+
});
|
|
1470
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1471
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1472
|
+
completedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1473
|
+
error: import_smithy_client._json,
|
|
1474
|
+
nextToken: import_smithy_client.expectString,
|
|
1475
|
+
recommendationType: import_smithy_client.expectString,
|
|
1476
|
+
recommendedSteps: (_) => de_RecommendedStepList(_, context),
|
|
1477
|
+
resourceArn: import_smithy_client.expectString,
|
|
1478
|
+
startedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1479
|
+
status: import_smithy_client.expectString
|
|
1480
|
+
});
|
|
1481
|
+
Object.assign(contents, doc);
|
|
1482
|
+
return contents;
|
|
1483
|
+
}, "de_GetFindingRecommendationCommand");
|
|
1336
1484
|
var de_GetFindingV2Command = /* @__PURE__ */ __name(async (output, context) => {
|
|
1337
1485
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1338
1486
|
return de_CommandError(output, context);
|
|
@@ -2006,6 +2154,23 @@ var de_PolicyGenerationList = /* @__PURE__ */ __name((output, context) => {
|
|
|
2006
2154
|
});
|
|
2007
2155
|
return retVal;
|
|
2008
2156
|
}, "de_PolicyGenerationList");
|
|
2157
|
+
var de_RecommendedStep = /* @__PURE__ */ __name((output, context) => {
|
|
2158
|
+
if (output.unusedPermissionsRecommendedStep != null) {
|
|
2159
|
+
return {
|
|
2160
|
+
unusedPermissionsRecommendedStep: de_UnusedPermissionsRecommendedStep(
|
|
2161
|
+
output.unusedPermissionsRecommendedStep,
|
|
2162
|
+
context
|
|
2163
|
+
)
|
|
2164
|
+
};
|
|
2165
|
+
}
|
|
2166
|
+
return { $unknown: Object.entries(output)[0] };
|
|
2167
|
+
}, "de_RecommendedStep");
|
|
2168
|
+
var de_RecommendedStepList = /* @__PURE__ */ __name((output, context) => {
|
|
2169
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2170
|
+
return de_RecommendedStep((0, import_core2.awsExpectUnion)(entry), context);
|
|
2171
|
+
});
|
|
2172
|
+
return retVal;
|
|
2173
|
+
}, "de_RecommendedStepList");
|
|
2009
2174
|
var de_UnusedAction = /* @__PURE__ */ __name((output, context) => {
|
|
2010
2175
|
return (0, import_smithy_client.take)(output, {
|
|
2011
2176
|
action: import_smithy_client.expectString,
|
|
@@ -2041,6 +2206,14 @@ var de_UnusedPermissionDetails = /* @__PURE__ */ __name((output, context) => {
|
|
|
2041
2206
|
serviceNamespace: import_smithy_client.expectString
|
|
2042
2207
|
});
|
|
2043
2208
|
}, "de_UnusedPermissionDetails");
|
|
2209
|
+
var de_UnusedPermissionsRecommendedStep = /* @__PURE__ */ __name((output, context) => {
|
|
2210
|
+
return (0, import_smithy_client.take)(output, {
|
|
2211
|
+
existingPolicyId: import_smithy_client.expectString,
|
|
2212
|
+
policyUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2213
|
+
recommendedAction: import_smithy_client.expectString,
|
|
2214
|
+
recommendedPolicy: import_smithy_client.expectString
|
|
2215
|
+
});
|
|
2216
|
+
}, "de_UnusedPermissionsRecommendedStep");
|
|
2044
2217
|
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
2045
2218
|
httpStatusCode: output.statusCode,
|
|
2046
2219
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
@@ -2077,7 +2250,6 @@ var ApplyArchiveRuleCommand = _ApplyArchiveRuleCommand;
|
|
|
2077
2250
|
|
|
2078
2251
|
|
|
2079
2252
|
|
|
2080
|
-
|
|
2081
2253
|
var _CancelPolicyGenerationCommand = class _CancelPolicyGenerationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2082
2254
|
...commonParams
|
|
2083
2255
|
}).m(function(Command, cs, config, o) {
|
|
@@ -2094,7 +2266,6 @@ var CancelPolicyGenerationCommand = _CancelPolicyGenerationCommand;
|
|
|
2094
2266
|
|
|
2095
2267
|
|
|
2096
2268
|
|
|
2097
|
-
|
|
2098
2269
|
var _CheckAccessNotGrantedCommand = class _CheckAccessNotGrantedCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2099
2270
|
...commonParams
|
|
2100
2271
|
}).m(function(Command, cs, config, o) {
|
|
@@ -2111,7 +2282,6 @@ var CheckAccessNotGrantedCommand = _CheckAccessNotGrantedCommand;
|
|
|
2111
2282
|
|
|
2112
2283
|
|
|
2113
2284
|
|
|
2114
|
-
|
|
2115
2285
|
var _CheckNoNewAccessCommand = class _CheckNoNewAccessCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2116
2286
|
...commonParams
|
|
2117
2287
|
}).m(function(Command, cs, config, o) {
|
|
@@ -2124,8 +2294,23 @@ var _CheckNoNewAccessCommand = class _CheckNoNewAccessCommand extends import_smi
|
|
|
2124
2294
|
__name(_CheckNoNewAccessCommand, "CheckNoNewAccessCommand");
|
|
2125
2295
|
var CheckNoNewAccessCommand = _CheckNoNewAccessCommand;
|
|
2126
2296
|
|
|
2127
|
-
// src/commands/
|
|
2297
|
+
// src/commands/CheckNoPublicAccessCommand.ts
|
|
2298
|
+
|
|
2299
|
+
|
|
2128
2300
|
|
|
2301
|
+
var _CheckNoPublicAccessCommand = class _CheckNoPublicAccessCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2302
|
+
...commonParams
|
|
2303
|
+
}).m(function(Command, cs, config, o) {
|
|
2304
|
+
return [
|
|
2305
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2306
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2307
|
+
];
|
|
2308
|
+
}).s("AccessAnalyzer", "CheckNoPublicAccess", {}).n("AccessAnalyzerClient", "CheckNoPublicAccessCommand").f(CheckNoPublicAccessRequestFilterSensitiveLog, void 0).ser(se_CheckNoPublicAccessCommand).de(de_CheckNoPublicAccessCommand).build() {
|
|
2309
|
+
};
|
|
2310
|
+
__name(_CheckNoPublicAccessCommand, "CheckNoPublicAccessCommand");
|
|
2311
|
+
var CheckNoPublicAccessCommand = _CheckNoPublicAccessCommand;
|
|
2312
|
+
|
|
2313
|
+
// src/commands/CreateAccessPreviewCommand.ts
|
|
2129
2314
|
|
|
2130
2315
|
|
|
2131
2316
|
|
|
@@ -2145,7 +2330,6 @@ var CreateAccessPreviewCommand = _CreateAccessPreviewCommand;
|
|
|
2145
2330
|
|
|
2146
2331
|
|
|
2147
2332
|
|
|
2148
|
-
|
|
2149
2333
|
var _CreateAnalyzerCommand = class _CreateAnalyzerCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2150
2334
|
...commonParams
|
|
2151
2335
|
}).m(function(Command, cs, config, o) {
|
|
@@ -2162,7 +2346,6 @@ var CreateAnalyzerCommand = _CreateAnalyzerCommand;
|
|
|
2162
2346
|
|
|
2163
2347
|
|
|
2164
2348
|
|
|
2165
|
-
|
|
2166
2349
|
var _CreateArchiveRuleCommand = class _CreateArchiveRuleCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2167
2350
|
...commonParams
|
|
2168
2351
|
}).m(function(Command, cs, config, o) {
|
|
@@ -2179,7 +2362,6 @@ var CreateArchiveRuleCommand = _CreateArchiveRuleCommand;
|
|
|
2179
2362
|
|
|
2180
2363
|
|
|
2181
2364
|
|
|
2182
|
-
|
|
2183
2365
|
var _DeleteAnalyzerCommand = class _DeleteAnalyzerCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2184
2366
|
...commonParams
|
|
2185
2367
|
}).m(function(Command, cs, config, o) {
|
|
@@ -2196,7 +2378,6 @@ var DeleteAnalyzerCommand = _DeleteAnalyzerCommand;
|
|
|
2196
2378
|
|
|
2197
2379
|
|
|
2198
2380
|
|
|
2199
|
-
|
|
2200
2381
|
var _DeleteArchiveRuleCommand = class _DeleteArchiveRuleCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2201
2382
|
...commonParams
|
|
2202
2383
|
}).m(function(Command, cs, config, o) {
|
|
@@ -2209,8 +2390,23 @@ var _DeleteArchiveRuleCommand = class _DeleteArchiveRuleCommand extends import_s
|
|
|
2209
2390
|
__name(_DeleteArchiveRuleCommand, "DeleteArchiveRuleCommand");
|
|
2210
2391
|
var DeleteArchiveRuleCommand = _DeleteArchiveRuleCommand;
|
|
2211
2392
|
|
|
2212
|
-
// src/commands/
|
|
2393
|
+
// src/commands/GenerateFindingRecommendationCommand.ts
|
|
2394
|
+
|
|
2395
|
+
|
|
2396
|
+
|
|
2397
|
+
var _GenerateFindingRecommendationCommand = class _GenerateFindingRecommendationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2398
|
+
...commonParams
|
|
2399
|
+
}).m(function(Command, cs, config, o) {
|
|
2400
|
+
return [
|
|
2401
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2402
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2403
|
+
];
|
|
2404
|
+
}).s("AccessAnalyzer", "GenerateFindingRecommendation", {}).n("AccessAnalyzerClient", "GenerateFindingRecommendationCommand").f(void 0, void 0).ser(se_GenerateFindingRecommendationCommand).de(de_GenerateFindingRecommendationCommand).build() {
|
|
2405
|
+
};
|
|
2406
|
+
__name(_GenerateFindingRecommendationCommand, "GenerateFindingRecommendationCommand");
|
|
2407
|
+
var GenerateFindingRecommendationCommand = _GenerateFindingRecommendationCommand;
|
|
2213
2408
|
|
|
2409
|
+
// src/commands/GetAccessPreviewCommand.ts
|
|
2214
2410
|
|
|
2215
2411
|
|
|
2216
2412
|
|
|
@@ -2230,7 +2426,6 @@ var GetAccessPreviewCommand = _GetAccessPreviewCommand;
|
|
|
2230
2426
|
|
|
2231
2427
|
|
|
2232
2428
|
|
|
2233
|
-
|
|
2234
2429
|
var _GetAnalyzedResourceCommand = class _GetAnalyzedResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2235
2430
|
...commonParams
|
|
2236
2431
|
}).m(function(Command, cs, config, o) {
|
|
@@ -2247,7 +2442,6 @@ var GetAnalyzedResourceCommand = _GetAnalyzedResourceCommand;
|
|
|
2247
2442
|
|
|
2248
2443
|
|
|
2249
2444
|
|
|
2250
|
-
|
|
2251
2445
|
var _GetAnalyzerCommand = class _GetAnalyzerCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2252
2446
|
...commonParams
|
|
2253
2447
|
}).m(function(Command, cs, config, o) {
|
|
@@ -2264,7 +2458,6 @@ var GetAnalyzerCommand = _GetAnalyzerCommand;
|
|
|
2264
2458
|
|
|
2265
2459
|
|
|
2266
2460
|
|
|
2267
|
-
|
|
2268
2461
|
var _GetArchiveRuleCommand = class _GetArchiveRuleCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2269
2462
|
...commonParams
|
|
2270
2463
|
}).m(function(Command, cs, config, o) {
|
|
@@ -2281,7 +2474,6 @@ var GetArchiveRuleCommand = _GetArchiveRuleCommand;
|
|
|
2281
2474
|
|
|
2282
2475
|
|
|
2283
2476
|
|
|
2284
|
-
|
|
2285
2477
|
var _GetFindingCommand = class _GetFindingCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2286
2478
|
...commonParams
|
|
2287
2479
|
}).m(function(Command, cs, config, o) {
|
|
@@ -2294,8 +2486,23 @@ var _GetFindingCommand = class _GetFindingCommand extends import_smithy_client.C
|
|
|
2294
2486
|
__name(_GetFindingCommand, "GetFindingCommand");
|
|
2295
2487
|
var GetFindingCommand = _GetFindingCommand;
|
|
2296
2488
|
|
|
2297
|
-
// src/commands/
|
|
2489
|
+
// src/commands/GetFindingRecommendationCommand.ts
|
|
2490
|
+
|
|
2491
|
+
|
|
2492
|
+
|
|
2493
|
+
var _GetFindingRecommendationCommand = class _GetFindingRecommendationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2494
|
+
...commonParams
|
|
2495
|
+
}).m(function(Command, cs, config, o) {
|
|
2496
|
+
return [
|
|
2497
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2498
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2499
|
+
];
|
|
2500
|
+
}).s("AccessAnalyzer", "GetFindingRecommendation", {}).n("AccessAnalyzerClient", "GetFindingRecommendationCommand").f(void 0, void 0).ser(se_GetFindingRecommendationCommand).de(de_GetFindingRecommendationCommand).build() {
|
|
2501
|
+
};
|
|
2502
|
+
__name(_GetFindingRecommendationCommand, "GetFindingRecommendationCommand");
|
|
2503
|
+
var GetFindingRecommendationCommand = _GetFindingRecommendationCommand;
|
|
2298
2504
|
|
|
2505
|
+
// src/commands/GetFindingV2Command.ts
|
|
2299
2506
|
|
|
2300
2507
|
|
|
2301
2508
|
|
|
@@ -2315,7 +2522,6 @@ var GetFindingV2Command = _GetFindingV2Command;
|
|
|
2315
2522
|
|
|
2316
2523
|
|
|
2317
2524
|
|
|
2318
|
-
|
|
2319
2525
|
var _GetGeneratedPolicyCommand = class _GetGeneratedPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2320
2526
|
...commonParams
|
|
2321
2527
|
}).m(function(Command, cs, config, o) {
|
|
@@ -2332,7 +2538,6 @@ var GetGeneratedPolicyCommand = _GetGeneratedPolicyCommand;
|
|
|
2332
2538
|
|
|
2333
2539
|
|
|
2334
2540
|
|
|
2335
|
-
|
|
2336
2541
|
var _ListAccessPreviewFindingsCommand = class _ListAccessPreviewFindingsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2337
2542
|
...commonParams
|
|
2338
2543
|
}).m(function(Command, cs, config, o) {
|
|
@@ -2349,7 +2554,6 @@ var ListAccessPreviewFindingsCommand = _ListAccessPreviewFindingsCommand;
|
|
|
2349
2554
|
|
|
2350
2555
|
|
|
2351
2556
|
|
|
2352
|
-
|
|
2353
2557
|
var _ListAccessPreviewsCommand = class _ListAccessPreviewsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2354
2558
|
...commonParams
|
|
2355
2559
|
}).m(function(Command, cs, config, o) {
|
|
@@ -2366,7 +2570,6 @@ var ListAccessPreviewsCommand = _ListAccessPreviewsCommand;
|
|
|
2366
2570
|
|
|
2367
2571
|
|
|
2368
2572
|
|
|
2369
|
-
|
|
2370
2573
|
var _ListAnalyzedResourcesCommand = class _ListAnalyzedResourcesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2371
2574
|
...commonParams
|
|
2372
2575
|
}).m(function(Command, cs, config, o) {
|
|
@@ -2383,7 +2586,6 @@ var ListAnalyzedResourcesCommand = _ListAnalyzedResourcesCommand;
|
|
|
2383
2586
|
|
|
2384
2587
|
|
|
2385
2588
|
|
|
2386
|
-
|
|
2387
2589
|
var _ListAnalyzersCommand = class _ListAnalyzersCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2388
2590
|
...commonParams
|
|
2389
2591
|
}).m(function(Command, cs, config, o) {
|
|
@@ -2400,7 +2602,6 @@ var ListAnalyzersCommand = _ListAnalyzersCommand;
|
|
|
2400
2602
|
|
|
2401
2603
|
|
|
2402
2604
|
|
|
2403
|
-
|
|
2404
2605
|
var _ListArchiveRulesCommand = class _ListArchiveRulesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2405
2606
|
...commonParams
|
|
2406
2607
|
}).m(function(Command, cs, config, o) {
|
|
@@ -2417,7 +2618,6 @@ var ListArchiveRulesCommand = _ListArchiveRulesCommand;
|
|
|
2417
2618
|
|
|
2418
2619
|
|
|
2419
2620
|
|
|
2420
|
-
|
|
2421
2621
|
var _ListFindingsCommand = class _ListFindingsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2422
2622
|
...commonParams
|
|
2423
2623
|
}).m(function(Command, cs, config, o) {
|
|
@@ -2434,7 +2634,6 @@ var ListFindingsCommand = _ListFindingsCommand;
|
|
|
2434
2634
|
|
|
2435
2635
|
|
|
2436
2636
|
|
|
2437
|
-
|
|
2438
2637
|
var _ListFindingsV2Command = class _ListFindingsV2Command extends import_smithy_client.Command.classBuilder().ep({
|
|
2439
2638
|
...commonParams
|
|
2440
2639
|
}).m(function(Command, cs, config, o) {
|
|
@@ -2451,7 +2650,6 @@ var ListFindingsV2Command = _ListFindingsV2Command;
|
|
|
2451
2650
|
|
|
2452
2651
|
|
|
2453
2652
|
|
|
2454
|
-
|
|
2455
2653
|
var _ListPolicyGenerationsCommand = class _ListPolicyGenerationsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2456
2654
|
...commonParams
|
|
2457
2655
|
}).m(function(Command, cs, config, o) {
|
|
@@ -2468,7 +2666,6 @@ var ListPolicyGenerationsCommand = _ListPolicyGenerationsCommand;
|
|
|
2468
2666
|
|
|
2469
2667
|
|
|
2470
2668
|
|
|
2471
|
-
|
|
2472
2669
|
var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2473
2670
|
...commonParams
|
|
2474
2671
|
}).m(function(Command, cs, config, o) {
|
|
@@ -2485,7 +2682,6 @@ var ListTagsForResourceCommand = _ListTagsForResourceCommand;
|
|
|
2485
2682
|
|
|
2486
2683
|
|
|
2487
2684
|
|
|
2488
|
-
|
|
2489
2685
|
var _StartPolicyGenerationCommand = class _StartPolicyGenerationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2490
2686
|
...commonParams
|
|
2491
2687
|
}).m(function(Command, cs, config, o) {
|
|
@@ -2502,7 +2698,6 @@ var StartPolicyGenerationCommand = _StartPolicyGenerationCommand;
|
|
|
2502
2698
|
|
|
2503
2699
|
|
|
2504
2700
|
|
|
2505
|
-
|
|
2506
2701
|
var _StartResourceScanCommand = class _StartResourceScanCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2507
2702
|
...commonParams
|
|
2508
2703
|
}).m(function(Command, cs, config, o) {
|
|
@@ -2519,7 +2714,6 @@ var StartResourceScanCommand = _StartResourceScanCommand;
|
|
|
2519
2714
|
|
|
2520
2715
|
|
|
2521
2716
|
|
|
2522
|
-
|
|
2523
2717
|
var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2524
2718
|
...commonParams
|
|
2525
2719
|
}).m(function(Command, cs, config, o) {
|
|
@@ -2536,7 +2730,6 @@ var TagResourceCommand = _TagResourceCommand;
|
|
|
2536
2730
|
|
|
2537
2731
|
|
|
2538
2732
|
|
|
2539
|
-
|
|
2540
2733
|
var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2541
2734
|
...commonParams
|
|
2542
2735
|
}).m(function(Command, cs, config, o) {
|
|
@@ -2553,7 +2746,6 @@ var UntagResourceCommand = _UntagResourceCommand;
|
|
|
2553
2746
|
|
|
2554
2747
|
|
|
2555
2748
|
|
|
2556
|
-
|
|
2557
2749
|
var _UpdateArchiveRuleCommand = class _UpdateArchiveRuleCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2558
2750
|
...commonParams
|
|
2559
2751
|
}).m(function(Command, cs, config, o) {
|
|
@@ -2570,7 +2762,6 @@ var UpdateArchiveRuleCommand = _UpdateArchiveRuleCommand;
|
|
|
2570
2762
|
|
|
2571
2763
|
|
|
2572
2764
|
|
|
2573
|
-
|
|
2574
2765
|
var _UpdateFindingsCommand = class _UpdateFindingsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2575
2766
|
...commonParams
|
|
2576
2767
|
}).m(function(Command, cs, config, o) {
|
|
@@ -2587,7 +2778,6 @@ var UpdateFindingsCommand = _UpdateFindingsCommand;
|
|
|
2587
2778
|
|
|
2588
2779
|
|
|
2589
2780
|
|
|
2590
|
-
|
|
2591
2781
|
var _ValidatePolicyCommand = class _ValidatePolicyCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2592
2782
|
...commonParams
|
|
2593
2783
|
}).m(function(Command, cs, config, o) {
|
|
@@ -2606,16 +2796,19 @@ var commands = {
|
|
|
2606
2796
|
CancelPolicyGenerationCommand,
|
|
2607
2797
|
CheckAccessNotGrantedCommand,
|
|
2608
2798
|
CheckNoNewAccessCommand,
|
|
2799
|
+
CheckNoPublicAccessCommand,
|
|
2609
2800
|
CreateAccessPreviewCommand,
|
|
2610
2801
|
CreateAnalyzerCommand,
|
|
2611
2802
|
CreateArchiveRuleCommand,
|
|
2612
2803
|
DeleteAnalyzerCommand,
|
|
2613
2804
|
DeleteArchiveRuleCommand,
|
|
2805
|
+
GenerateFindingRecommendationCommand,
|
|
2614
2806
|
GetAccessPreviewCommand,
|
|
2615
2807
|
GetAnalyzedResourceCommand,
|
|
2616
2808
|
GetAnalyzerCommand,
|
|
2617
2809
|
GetArchiveRuleCommand,
|
|
2618
2810
|
GetFindingCommand,
|
|
2811
|
+
GetFindingRecommendationCommand,
|
|
2619
2812
|
GetFindingV2Command,
|
|
2620
2813
|
GetGeneratedPolicyCommand,
|
|
2621
2814
|
ListAccessPreviewFindingsCommand,
|
|
@@ -2641,6 +2834,10 @@ __name(_AccessAnalyzer, "AccessAnalyzer");
|
|
|
2641
2834
|
var AccessAnalyzer = _AccessAnalyzer;
|
|
2642
2835
|
(0, import_smithy_client.createAggregatedClient)(commands, AccessAnalyzer);
|
|
2643
2836
|
|
|
2837
|
+
// src/pagination/GetFindingRecommendationPaginator.ts
|
|
2838
|
+
|
|
2839
|
+
var paginateGetFindingRecommendation = (0, import_core.createPaginator)(AccessAnalyzerClient, GetFindingRecommendationCommand, "nextToken", "nextToken", "maxResults");
|
|
2840
|
+
|
|
2644
2841
|
// src/pagination/GetFindingV2Paginator.ts
|
|
2645
2842
|
|
|
2646
2843
|
var paginateGetFindingV2 = (0, import_core.createPaginator)(AccessAnalyzerClient, GetFindingV2Command, "nextToken", "nextToken", "maxResults");
|
|
@@ -2692,16 +2889,19 @@ var paginateValidatePolicy = (0, import_core.createPaginator)(AccessAnalyzerClie
|
|
|
2692
2889
|
CancelPolicyGenerationCommand,
|
|
2693
2890
|
CheckAccessNotGrantedCommand,
|
|
2694
2891
|
CheckNoNewAccessCommand,
|
|
2892
|
+
CheckNoPublicAccessCommand,
|
|
2695
2893
|
CreateAccessPreviewCommand,
|
|
2696
2894
|
CreateAnalyzerCommand,
|
|
2697
2895
|
CreateArchiveRuleCommand,
|
|
2698
2896
|
DeleteAnalyzerCommand,
|
|
2699
2897
|
DeleteArchiveRuleCommand,
|
|
2898
|
+
GenerateFindingRecommendationCommand,
|
|
2700
2899
|
GetAccessPreviewCommand,
|
|
2701
2900
|
GetAnalyzedResourceCommand,
|
|
2702
2901
|
GetAnalyzerCommand,
|
|
2703
2902
|
GetArchiveRuleCommand,
|
|
2704
2903
|
GetFindingCommand,
|
|
2904
|
+
GetFindingRecommendationCommand,
|
|
2705
2905
|
GetFindingV2Command,
|
|
2706
2906
|
GetGeneratedPolicyCommand,
|
|
2707
2907
|
ListAccessPreviewFindingsCommand,
|
|
@@ -2720,6 +2920,7 @@ var paginateValidatePolicy = (0, import_core.createPaginator)(AccessAnalyzerClie
|
|
|
2720
2920
|
UpdateArchiveRuleCommand,
|
|
2721
2921
|
UpdateFindingsCommand,
|
|
2722
2922
|
ValidatePolicyCommand,
|
|
2923
|
+
paginateGetFindingRecommendation,
|
|
2723
2924
|
paginateGetFindingV2,
|
|
2724
2925
|
paginateListAccessPreviewFindings,
|
|
2725
2926
|
paginateListAccessPreviews,
|
|
@@ -2744,6 +2945,8 @@ var paginateValidatePolicy = (0, import_core.createPaginator)(AccessAnalyzerClie
|
|
|
2744
2945
|
InvalidParameterException,
|
|
2745
2946
|
UnprocessableEntityException,
|
|
2746
2947
|
CheckNoNewAccessResult,
|
|
2948
|
+
AccessCheckResourceType,
|
|
2949
|
+
CheckNoPublicAccessResult,
|
|
2747
2950
|
KmsGrantOperation,
|
|
2748
2951
|
RdsDbClusterSnapshotAttributeValue,
|
|
2749
2952
|
RdsDbSnapshotAttributeValue,
|
|
@@ -2753,6 +2956,10 @@ var paginateValidatePolicy = (0, import_core.createPaginator)(AccessAnalyzerClie
|
|
|
2753
2956
|
Configuration,
|
|
2754
2957
|
AccessPreviewStatus,
|
|
2755
2958
|
AccessPreviewStatusReasonCode,
|
|
2959
|
+
RecommendationType,
|
|
2960
|
+
RecommendedRemediationAction,
|
|
2961
|
+
RecommendedStep,
|
|
2962
|
+
Status,
|
|
2756
2963
|
FindingDetails,
|
|
2757
2964
|
FindingType,
|
|
2758
2965
|
JobErrorCode,
|
|
@@ -2764,6 +2971,7 @@ var paginateValidatePolicy = (0, import_core.createPaginator)(AccessAnalyzerClie
|
|
|
2764
2971
|
ValidatePolicyFindingType,
|
|
2765
2972
|
PathElement,
|
|
2766
2973
|
CheckAccessNotGrantedRequestFilterSensitiveLog,
|
|
2767
|
-
CheckNoNewAccessRequestFilterSensitiveLog
|
|
2974
|
+
CheckNoNewAccessRequestFilterSensitiveLog,
|
|
2975
|
+
CheckNoPublicAccessRequestFilterSensitiveLog
|
|
2768
2976
|
});
|
|
2769
2977
|
|