@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
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
AccessAnalyzerClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../AccessAnalyzerClient";
|
|
8
|
+
import {
|
|
9
|
+
CheckNoPublicAccessRequest,
|
|
10
|
+
CheckNoPublicAccessResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface CheckNoPublicAccessCommandInput
|
|
15
|
+
extends CheckNoPublicAccessRequest {}
|
|
16
|
+
export interface CheckNoPublicAccessCommandOutput
|
|
17
|
+
extends CheckNoPublicAccessResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const CheckNoPublicAccessCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: CheckNoPublicAccessCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
CheckNoPublicAccessCommandInput,
|
|
24
|
+
CheckNoPublicAccessCommandOutput,
|
|
25
|
+
AccessAnalyzerClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: CheckNoPublicAccessCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
CheckNoPublicAccessCommandInput,
|
|
33
|
+
CheckNoPublicAccessCommandOutput,
|
|
34
|
+
AccessAnalyzerClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class CheckNoPublicAccessCommand extends CheckNoPublicAccessCommand_base {}
|
|
@@ -9,7 +9,8 @@ import {
|
|
|
9
9
|
CreateAccessPreviewRequest,
|
|
10
10
|
CreateAccessPreviewResponse,
|
|
11
11
|
} from "../models/models_0";
|
|
12
|
-
export { __MetadataBearer
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
13
14
|
export interface CreateAccessPreviewCommandInput
|
|
14
15
|
extends CreateAccessPreviewRequest {}
|
|
15
16
|
export interface CreateAccessPreviewCommandOutput
|
|
@@ -9,7 +9,8 @@ import {
|
|
|
9
9
|
CreateAnalyzerRequest,
|
|
10
10
|
CreateAnalyzerResponse,
|
|
11
11
|
} from "../models/models_0";
|
|
12
|
-
export { __MetadataBearer
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
13
14
|
export interface CreateAnalyzerCommandInput extends CreateAnalyzerRequest {}
|
|
14
15
|
export interface CreateAnalyzerCommandOutput
|
|
15
16
|
extends CreateAnalyzerResponse,
|
|
@@ -6,7 +6,8 @@ import {
|
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../AccessAnalyzerClient";
|
|
8
8
|
import { CreateArchiveRuleRequest } from "../models/models_0";
|
|
9
|
-
export { __MetadataBearer
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
10
11
|
export interface CreateArchiveRuleCommandInput
|
|
11
12
|
extends CreateArchiveRuleRequest {}
|
|
12
13
|
export interface CreateArchiveRuleCommandOutput extends __MetadataBearer {}
|
|
@@ -6,7 +6,8 @@ import {
|
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../AccessAnalyzerClient";
|
|
8
8
|
import { DeleteAnalyzerRequest } from "../models/models_0";
|
|
9
|
-
export { __MetadataBearer
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
10
11
|
export interface DeleteAnalyzerCommandInput extends DeleteAnalyzerRequest {}
|
|
11
12
|
export interface DeleteAnalyzerCommandOutput extends __MetadataBearer {}
|
|
12
13
|
declare const DeleteAnalyzerCommand_base: {
|
|
@@ -6,7 +6,8 @@ import {
|
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../AccessAnalyzerClient";
|
|
8
8
|
import { DeleteArchiveRuleRequest } from "../models/models_0";
|
|
9
|
-
export { __MetadataBearer
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
10
11
|
export interface DeleteArchiveRuleCommandInput
|
|
11
12
|
extends DeleteArchiveRuleRequest {}
|
|
12
13
|
export interface DeleteArchiveRuleCommandOutput extends __MetadataBearer {}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
AccessAnalyzerClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../AccessAnalyzerClient";
|
|
8
|
+
import { GenerateFindingRecommendationRequest } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface GenerateFindingRecommendationCommandInput
|
|
12
|
+
extends GenerateFindingRecommendationRequest {}
|
|
13
|
+
export interface GenerateFindingRecommendationCommandOutput
|
|
14
|
+
extends __MetadataBearer {}
|
|
15
|
+
declare const GenerateFindingRecommendationCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: GenerateFindingRecommendationCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
GenerateFindingRecommendationCommandInput,
|
|
20
|
+
GenerateFindingRecommendationCommandOutput,
|
|
21
|
+
AccessAnalyzerClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
__0_0: GenerateFindingRecommendationCommandInput
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
GenerateFindingRecommendationCommandInput,
|
|
29
|
+
GenerateFindingRecommendationCommandOutput,
|
|
30
|
+
AccessAnalyzerClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class GenerateFindingRecommendationCommand extends GenerateFindingRecommendationCommand_base {}
|
|
@@ -9,7 +9,8 @@ import {
|
|
|
9
9
|
GetAccessPreviewRequest,
|
|
10
10
|
GetAccessPreviewResponse,
|
|
11
11
|
} from "../models/models_0";
|
|
12
|
-
export { __MetadataBearer
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
13
14
|
export interface GetAccessPreviewCommandInput extends GetAccessPreviewRequest {}
|
|
14
15
|
export interface GetAccessPreviewCommandOutput
|
|
15
16
|
extends GetAccessPreviewResponse,
|
|
@@ -9,7 +9,8 @@ import {
|
|
|
9
9
|
GetAnalyzedResourceRequest,
|
|
10
10
|
GetAnalyzedResourceResponse,
|
|
11
11
|
} from "../models/models_0";
|
|
12
|
-
export { __MetadataBearer
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
13
14
|
export interface GetAnalyzedResourceCommandInput
|
|
14
15
|
extends GetAnalyzedResourceRequest {}
|
|
15
16
|
export interface GetAnalyzedResourceCommandOutput
|
|
@@ -6,7 +6,8 @@ import {
|
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../AccessAnalyzerClient";
|
|
8
8
|
import { GetAnalyzerRequest, GetAnalyzerResponse } from "../models/models_0";
|
|
9
|
-
export { __MetadataBearer
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
10
11
|
export interface GetAnalyzerCommandInput extends GetAnalyzerRequest {}
|
|
11
12
|
export interface GetAnalyzerCommandOutput
|
|
12
13
|
extends GetAnalyzerResponse,
|
|
@@ -9,7 +9,8 @@ import {
|
|
|
9
9
|
GetArchiveRuleRequest,
|
|
10
10
|
GetArchiveRuleResponse,
|
|
11
11
|
} from "../models/models_0";
|
|
12
|
-
export { __MetadataBearer
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
13
14
|
export interface GetArchiveRuleCommandInput extends GetArchiveRuleRequest {}
|
|
14
15
|
export interface GetArchiveRuleCommandOutput
|
|
15
16
|
extends GetArchiveRuleResponse,
|
|
@@ -6,7 +6,8 @@ import {
|
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../AccessAnalyzerClient";
|
|
8
8
|
import { GetFindingRequest, GetFindingResponse } from "../models/models_0";
|
|
9
|
-
export { __MetadataBearer
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
10
11
|
export interface GetFindingCommandInput extends GetFindingRequest {}
|
|
11
12
|
export interface GetFindingCommandOutput
|
|
12
13
|
extends GetFindingResponse,
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
AccessAnalyzerClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../AccessAnalyzerClient";
|
|
8
|
+
import {
|
|
9
|
+
GetFindingRecommendationRequest,
|
|
10
|
+
GetFindingRecommendationResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface GetFindingRecommendationCommandInput
|
|
15
|
+
extends GetFindingRecommendationRequest {}
|
|
16
|
+
export interface GetFindingRecommendationCommandOutput
|
|
17
|
+
extends GetFindingRecommendationResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const GetFindingRecommendationCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: GetFindingRecommendationCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
GetFindingRecommendationCommandInput,
|
|
24
|
+
GetFindingRecommendationCommandOutput,
|
|
25
|
+
AccessAnalyzerClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: GetFindingRecommendationCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
GetFindingRecommendationCommandInput,
|
|
33
|
+
GetFindingRecommendationCommandOutput,
|
|
34
|
+
AccessAnalyzerClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class GetFindingRecommendationCommand extends GetFindingRecommendationCommand_base {}
|
|
@@ -6,7 +6,8 @@ import {
|
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../AccessAnalyzerClient";
|
|
8
8
|
import { GetFindingV2Request, GetFindingV2Response } from "../models/models_0";
|
|
9
|
-
export { __MetadataBearer
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
10
11
|
export interface GetFindingV2CommandInput extends GetFindingV2Request {}
|
|
11
12
|
export interface GetFindingV2CommandOutput
|
|
12
13
|
extends GetFindingV2Response,
|
|
@@ -9,7 +9,8 @@ import {
|
|
|
9
9
|
GetGeneratedPolicyRequest,
|
|
10
10
|
GetGeneratedPolicyResponse,
|
|
11
11
|
} from "../models/models_0";
|
|
12
|
-
export { __MetadataBearer
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
13
14
|
export interface GetGeneratedPolicyCommandInput
|
|
14
15
|
extends GetGeneratedPolicyRequest {}
|
|
15
16
|
export interface GetGeneratedPolicyCommandOutput
|
|
@@ -9,7 +9,8 @@ import {
|
|
|
9
9
|
ListAccessPreviewFindingsRequest,
|
|
10
10
|
ListAccessPreviewFindingsResponse,
|
|
11
11
|
} from "../models/models_0";
|
|
12
|
-
export { __MetadataBearer
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
13
14
|
export interface ListAccessPreviewFindingsCommandInput
|
|
14
15
|
extends ListAccessPreviewFindingsRequest {}
|
|
15
16
|
export interface ListAccessPreviewFindingsCommandOutput
|
|
@@ -9,7 +9,8 @@ import {
|
|
|
9
9
|
ListAccessPreviewsRequest,
|
|
10
10
|
ListAccessPreviewsResponse,
|
|
11
11
|
} from "../models/models_0";
|
|
12
|
-
export { __MetadataBearer
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
13
14
|
export interface ListAccessPreviewsCommandInput
|
|
14
15
|
extends ListAccessPreviewsRequest {}
|
|
15
16
|
export interface ListAccessPreviewsCommandOutput
|
|
@@ -9,7 +9,8 @@ import {
|
|
|
9
9
|
ListAnalyzedResourcesRequest,
|
|
10
10
|
ListAnalyzedResourcesResponse,
|
|
11
11
|
} from "../models/models_0";
|
|
12
|
-
export { __MetadataBearer
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
13
14
|
export interface ListAnalyzedResourcesCommandInput
|
|
14
15
|
extends ListAnalyzedResourcesRequest {}
|
|
15
16
|
export interface ListAnalyzedResourcesCommandOutput
|
|
@@ -9,7 +9,8 @@ import {
|
|
|
9
9
|
ListAnalyzersRequest,
|
|
10
10
|
ListAnalyzersResponse,
|
|
11
11
|
} from "../models/models_0";
|
|
12
|
-
export { __MetadataBearer
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
13
14
|
export interface ListAnalyzersCommandInput extends ListAnalyzersRequest {}
|
|
14
15
|
export interface ListAnalyzersCommandOutput
|
|
15
16
|
extends ListAnalyzersResponse,
|
|
@@ -9,7 +9,8 @@ import {
|
|
|
9
9
|
ListArchiveRulesRequest,
|
|
10
10
|
ListArchiveRulesResponse,
|
|
11
11
|
} from "../models/models_0";
|
|
12
|
-
export { __MetadataBearer
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
13
14
|
export interface ListArchiveRulesCommandInput extends ListArchiveRulesRequest {}
|
|
14
15
|
export interface ListArchiveRulesCommandOutput
|
|
15
16
|
extends ListArchiveRulesResponse,
|
|
@@ -6,7 +6,8 @@ import {
|
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../AccessAnalyzerClient";
|
|
8
8
|
import { ListFindingsRequest, ListFindingsResponse } from "../models/models_0";
|
|
9
|
-
export { __MetadataBearer
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
10
11
|
export interface ListFindingsCommandInput extends ListFindingsRequest {}
|
|
11
12
|
export interface ListFindingsCommandOutput
|
|
12
13
|
extends ListFindingsResponse,
|
|
@@ -9,7 +9,8 @@ import {
|
|
|
9
9
|
ListFindingsV2Request,
|
|
10
10
|
ListFindingsV2Response,
|
|
11
11
|
} from "../models/models_0";
|
|
12
|
-
export { __MetadataBearer
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
13
14
|
export interface ListFindingsV2CommandInput extends ListFindingsV2Request {}
|
|
14
15
|
export interface ListFindingsV2CommandOutput
|
|
15
16
|
extends ListFindingsV2Response,
|
|
@@ -9,7 +9,8 @@ import {
|
|
|
9
9
|
ListPolicyGenerationsRequest,
|
|
10
10
|
ListPolicyGenerationsResponse,
|
|
11
11
|
} from "../models/models_0";
|
|
12
|
-
export { __MetadataBearer
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
13
14
|
export interface ListPolicyGenerationsCommandInput
|
|
14
15
|
extends ListPolicyGenerationsRequest {}
|
|
15
16
|
export interface ListPolicyGenerationsCommandOutput
|
|
@@ -9,7 +9,8 @@ import {
|
|
|
9
9
|
ListTagsForResourceRequest,
|
|
10
10
|
ListTagsForResourceResponse,
|
|
11
11
|
} from "../models/models_0";
|
|
12
|
-
export { __MetadataBearer
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
13
14
|
export interface ListTagsForResourceCommandInput
|
|
14
15
|
extends ListTagsForResourceRequest {}
|
|
15
16
|
export interface ListTagsForResourceCommandOutput
|
|
@@ -9,7 +9,8 @@ import {
|
|
|
9
9
|
StartPolicyGenerationRequest,
|
|
10
10
|
StartPolicyGenerationResponse,
|
|
11
11
|
} from "../models/models_0";
|
|
12
|
-
export { __MetadataBearer
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
13
14
|
export interface StartPolicyGenerationCommandInput
|
|
14
15
|
extends StartPolicyGenerationRequest {}
|
|
15
16
|
export interface StartPolicyGenerationCommandOutput
|
|
@@ -6,7 +6,8 @@ import {
|
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../AccessAnalyzerClient";
|
|
8
8
|
import { StartResourceScanRequest } from "../models/models_0";
|
|
9
|
-
export { __MetadataBearer
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
10
11
|
export interface StartResourceScanCommandInput
|
|
11
12
|
extends StartResourceScanRequest {}
|
|
12
13
|
export interface StartResourceScanCommandOutput extends __MetadataBearer {}
|
|
@@ -6,7 +6,8 @@ import {
|
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../AccessAnalyzerClient";
|
|
8
8
|
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
9
|
-
export { __MetadataBearer
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
10
11
|
export interface TagResourceCommandInput extends TagResourceRequest {}
|
|
11
12
|
export interface TagResourceCommandOutput
|
|
12
13
|
extends TagResourceResponse,
|
|
@@ -9,7 +9,8 @@ import {
|
|
|
9
9
|
UntagResourceRequest,
|
|
10
10
|
UntagResourceResponse,
|
|
11
11
|
} from "../models/models_0";
|
|
12
|
-
export { __MetadataBearer
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
13
14
|
export interface UntagResourceCommandInput extends UntagResourceRequest {}
|
|
14
15
|
export interface UntagResourceCommandOutput
|
|
15
16
|
extends UntagResourceResponse,
|
|
@@ -6,7 +6,8 @@ import {
|
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../AccessAnalyzerClient";
|
|
8
8
|
import { UpdateArchiveRuleRequest } from "../models/models_0";
|
|
9
|
-
export { __MetadataBearer
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
10
11
|
export interface UpdateArchiveRuleCommandInput
|
|
11
12
|
extends UpdateArchiveRuleRequest {}
|
|
12
13
|
export interface UpdateArchiveRuleCommandOutput extends __MetadataBearer {}
|
|
@@ -6,7 +6,8 @@ import {
|
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../AccessAnalyzerClient";
|
|
8
8
|
import { UpdateFindingsRequest } from "../models/models_0";
|
|
9
|
-
export { __MetadataBearer
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
10
11
|
export interface UpdateFindingsCommandInput extends UpdateFindingsRequest {}
|
|
11
12
|
export interface UpdateFindingsCommandOutput extends __MetadataBearer {}
|
|
12
13
|
declare const UpdateFindingsCommand_base: {
|
|
@@ -9,7 +9,8 @@ import {
|
|
|
9
9
|
ValidatePolicyRequest,
|
|
10
10
|
ValidatePolicyResponse,
|
|
11
11
|
} from "../models/models_0";
|
|
12
|
-
export { __MetadataBearer
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
13
14
|
export interface ValidatePolicyCommandInput extends ValidatePolicyRequest {}
|
|
14
15
|
export interface ValidatePolicyCommandOutput
|
|
15
16
|
extends ValidatePolicyResponse,
|
|
@@ -2,16 +2,19 @@ export * from "./ApplyArchiveRuleCommand";
|
|
|
2
2
|
export * from "./CancelPolicyGenerationCommand";
|
|
3
3
|
export * from "./CheckAccessNotGrantedCommand";
|
|
4
4
|
export * from "./CheckNoNewAccessCommand";
|
|
5
|
+
export * from "./CheckNoPublicAccessCommand";
|
|
5
6
|
export * from "./CreateAccessPreviewCommand";
|
|
6
7
|
export * from "./CreateAnalyzerCommand";
|
|
7
8
|
export * from "./CreateArchiveRuleCommand";
|
|
8
9
|
export * from "./DeleteAnalyzerCommand";
|
|
9
10
|
export * from "./DeleteArchiveRuleCommand";
|
|
11
|
+
export * from "./GenerateFindingRecommendationCommand";
|
|
10
12
|
export * from "./GetAccessPreviewCommand";
|
|
11
13
|
export * from "./GetAnalyzedResourceCommand";
|
|
12
14
|
export * from "./GetAnalyzerCommand";
|
|
13
15
|
export * from "./GetArchiveRuleCommand";
|
|
14
16
|
export * from "./GetFindingCommand";
|
|
17
|
+
export * from "./GetFindingRecommendationCommand";
|
|
15
18
|
export * from "./GetFindingV2Command";
|
|
16
19
|
export * from "./GetGeneratedPolicyCommand";
|
|
17
20
|
export * from "./ListAccessPreviewFindingsCommand";
|
|
@@ -2,7 +2,8 @@ import {
|
|
|
2
2
|
ServiceException as __ServiceException,
|
|
3
3
|
ServiceExceptionOptions as __ServiceExceptionOptions,
|
|
4
4
|
} from "@smithy/smithy-client";
|
|
5
|
-
export {
|
|
5
|
+
export { __ServiceExceptionOptions };
|
|
6
|
+
export { __ServiceException };
|
|
6
7
|
export declare class AccessAnalyzerServiceException extends __ServiceException {
|
|
7
8
|
constructor(options: __ServiceExceptionOptions);
|
|
8
9
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { AccessAnalyzerServiceException as __BaseException } from "./AccessAnalyzerServiceException";
|
|
3
3
|
export interface Access {
|
|
4
|
-
actions
|
|
4
|
+
actions?: string[];
|
|
5
|
+
resources?: string[];
|
|
5
6
|
}
|
|
6
7
|
export declare class AccessDeniedException extends __BaseException {
|
|
7
8
|
readonly name: "AccessDeniedException";
|
|
@@ -74,6 +75,7 @@ export interface ValidationExceptionField {
|
|
|
74
75
|
export declare const ValidationExceptionReason: {
|
|
75
76
|
readonly CANNOT_PARSE: "cannotParse";
|
|
76
77
|
readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
|
|
78
|
+
readonly NOT_SUPPORTED: "notSupported";
|
|
77
79
|
readonly OTHER: "other";
|
|
78
80
|
readonly UNKNOWN_OPERATION: "unknownOperation";
|
|
79
81
|
};
|
|
@@ -269,6 +271,43 @@ export interface CheckNoNewAccessResponse {
|
|
|
269
271
|
message?: string;
|
|
270
272
|
reasons?: ReasonSummary[];
|
|
271
273
|
}
|
|
274
|
+
export declare const AccessCheckResourceType: {
|
|
275
|
+
readonly DYNAMODB_STREAM: "AWS::DynamoDB::Stream";
|
|
276
|
+
readonly DYNAMODB_TABLE: "AWS::DynamoDB::Table";
|
|
277
|
+
readonly EFS_FILESYSTEM: "AWS::EFS::FileSystem";
|
|
278
|
+
readonly KINESIS_DATA_STREAM: "AWS::Kinesis::Stream";
|
|
279
|
+
readonly KINESIS_STREAM_CONSUMER: "AWS::Kinesis::StreamConsumer";
|
|
280
|
+
readonly KMS_KEY: "AWS::KMS::Key";
|
|
281
|
+
readonly LAMBDA_FUNCTION: "AWS::Lambda::Function";
|
|
282
|
+
readonly OPENSEARCHSERVICE_DOMAIN: "AWS::OpenSearchService::Domain";
|
|
283
|
+
readonly ROLE_TRUST: "AWS::IAM::AssumeRolePolicyDocument";
|
|
284
|
+
readonly S3EXPRESS_DIRECTORYBUCKET: "AWS::S3Express::DirectoryBucket";
|
|
285
|
+
readonly S3_ACCESS_POINT: "AWS::S3::AccessPoint";
|
|
286
|
+
readonly S3_BUCKET: "AWS::S3::Bucket";
|
|
287
|
+
readonly S3_GLACIER: "AWS::S3::Glacier";
|
|
288
|
+
readonly S3_OUTPOSTS_ACCESS_POINT: "AWS::S3Outposts::AccessPoint";
|
|
289
|
+
readonly S3_OUTPOSTS_BUCKET: "AWS::S3Outposts::Bucket";
|
|
290
|
+
readonly SECRETSMANAGER_SECRET: "AWS::SecretsManager::Secret";
|
|
291
|
+
readonly SNS_TOPIC: "AWS::SNS::Topic";
|
|
292
|
+
readonly SQS_QUEUE: "AWS::SQS::Queue";
|
|
293
|
+
};
|
|
294
|
+
export type AccessCheckResourceType =
|
|
295
|
+
(typeof AccessCheckResourceType)[keyof typeof AccessCheckResourceType];
|
|
296
|
+
export interface CheckNoPublicAccessRequest {
|
|
297
|
+
policyDocument: string | undefined;
|
|
298
|
+
resourceType: AccessCheckResourceType | undefined;
|
|
299
|
+
}
|
|
300
|
+
export declare const CheckNoPublicAccessResult: {
|
|
301
|
+
readonly FAIL: "FAIL";
|
|
302
|
+
readonly PASS: "PASS";
|
|
303
|
+
};
|
|
304
|
+
export type CheckNoPublicAccessResult =
|
|
305
|
+
(typeof CheckNoPublicAccessResult)[keyof typeof CheckNoPublicAccessResult];
|
|
306
|
+
export interface CheckNoPublicAccessResponse {
|
|
307
|
+
result?: CheckNoPublicAccessResult;
|
|
308
|
+
message?: string;
|
|
309
|
+
reasons?: ReasonSummary[];
|
|
310
|
+
}
|
|
272
311
|
export interface DynamodbStreamConfiguration {
|
|
273
312
|
streamPolicy?: string;
|
|
274
313
|
}
|
|
@@ -771,6 +810,10 @@ export interface CreateAccessPreviewRequest {
|
|
|
771
810
|
export interface CreateAccessPreviewResponse {
|
|
772
811
|
id: string | undefined;
|
|
773
812
|
}
|
|
813
|
+
export interface GenerateFindingRecommendationRequest {
|
|
814
|
+
analyzerArn: string | undefined;
|
|
815
|
+
id: string | undefined;
|
|
816
|
+
}
|
|
774
817
|
export interface GetAccessPreviewRequest {
|
|
775
818
|
accessPreviewId: string | undefined;
|
|
776
819
|
analyzerArn: string | undefined;
|
|
@@ -876,6 +919,69 @@ export interface Finding {
|
|
|
876
919
|
export interface GetFindingResponse {
|
|
877
920
|
finding?: Finding;
|
|
878
921
|
}
|
|
922
|
+
export interface GetFindingRecommendationRequest {
|
|
923
|
+
analyzerArn: string | undefined;
|
|
924
|
+
id: string | undefined;
|
|
925
|
+
maxResults?: number;
|
|
926
|
+
nextToken?: string;
|
|
927
|
+
}
|
|
928
|
+
export interface RecommendationError {
|
|
929
|
+
code: string | undefined;
|
|
930
|
+
message: string | undefined;
|
|
931
|
+
}
|
|
932
|
+
export declare const RecommendationType: {
|
|
933
|
+
readonly UNUSED_PERMISSION_RECOMMENDATION: "UnusedPermissionRecommendation";
|
|
934
|
+
};
|
|
935
|
+
export type RecommendationType =
|
|
936
|
+
(typeof RecommendationType)[keyof typeof RecommendationType];
|
|
937
|
+
export declare const RecommendedRemediationAction: {
|
|
938
|
+
readonly CREATE_POLICY: "CREATE_POLICY";
|
|
939
|
+
readonly DETACH_POLICY: "DETACH_POLICY";
|
|
940
|
+
};
|
|
941
|
+
export type RecommendedRemediationAction =
|
|
942
|
+
(typeof RecommendedRemediationAction)[keyof typeof RecommendedRemediationAction];
|
|
943
|
+
export interface UnusedPermissionsRecommendedStep {
|
|
944
|
+
policyUpdatedAt?: Date;
|
|
945
|
+
recommendedAction: RecommendedRemediationAction | undefined;
|
|
946
|
+
recommendedPolicy?: string;
|
|
947
|
+
existingPolicyId?: string;
|
|
948
|
+
}
|
|
949
|
+
export type RecommendedStep =
|
|
950
|
+
| RecommendedStep.UnusedPermissionsRecommendedStepMember
|
|
951
|
+
| RecommendedStep.$UnknownMember;
|
|
952
|
+
export declare namespace RecommendedStep {
|
|
953
|
+
interface UnusedPermissionsRecommendedStepMember {
|
|
954
|
+
unusedPermissionsRecommendedStep: UnusedPermissionsRecommendedStep;
|
|
955
|
+
$unknown?: never;
|
|
956
|
+
}
|
|
957
|
+
interface $UnknownMember {
|
|
958
|
+
unusedPermissionsRecommendedStep?: never;
|
|
959
|
+
$unknown: [string, any];
|
|
960
|
+
}
|
|
961
|
+
interface Visitor<T> {
|
|
962
|
+
unusedPermissionsRecommendedStep: (
|
|
963
|
+
value: UnusedPermissionsRecommendedStep
|
|
964
|
+
) => T;
|
|
965
|
+
_: (name: string, value: any) => T;
|
|
966
|
+
}
|
|
967
|
+
const visit: <T>(value: RecommendedStep, visitor: Visitor<T>) => T;
|
|
968
|
+
}
|
|
969
|
+
export declare const Status: {
|
|
970
|
+
readonly FAILED: "FAILED";
|
|
971
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
972
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
973
|
+
};
|
|
974
|
+
export type Status = (typeof Status)[keyof typeof Status];
|
|
975
|
+
export interface GetFindingRecommendationResponse {
|
|
976
|
+
startedAt: Date | undefined;
|
|
977
|
+
completedAt?: Date;
|
|
978
|
+
nextToken?: string;
|
|
979
|
+
error?: RecommendationError;
|
|
980
|
+
resourceArn: string | undefined;
|
|
981
|
+
recommendedSteps?: RecommendedStep[];
|
|
982
|
+
recommendationType: RecommendationType | undefined;
|
|
983
|
+
status: Status | undefined;
|
|
984
|
+
}
|
|
879
985
|
export interface GetFindingV2Request {
|
|
880
986
|
analyzerArn: string | undefined;
|
|
881
987
|
id: string | undefined;
|
|
@@ -1370,3 +1476,6 @@ export declare const CheckAccessNotGrantedRequestFilterSensitiveLog: (
|
|
|
1370
1476
|
export declare const CheckNoNewAccessRequestFilterSensitiveLog: (
|
|
1371
1477
|
obj: CheckNoNewAccessRequest
|
|
1372
1478
|
) => any;
|
|
1479
|
+
export declare const CheckNoPublicAccessRequestFilterSensitiveLog: (
|
|
1480
|
+
obj: CheckNoPublicAccessRequest
|
|
1481
|
+
) => any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
GetFindingRecommendationCommandInput,
|
|
4
|
+
GetFindingRecommendationCommandOutput,
|
|
5
|
+
} from "../commands/GetFindingRecommendationCommand";
|
|
6
|
+
import { AccessAnalyzerPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateGetFindingRecommendation: (
|
|
8
|
+
config: AccessAnalyzerPaginationConfiguration,
|
|
9
|
+
input: GetFindingRecommendationCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<GetFindingRecommendationCommandOutput>;
|