|
| 1 | +import { ApplyArchiveRuleCommandInput, ApplyArchiveRuleCommandOutput } from "./commands/ApplyArchiveRuleCommand"; |
| 2 | +import { |
| 3 | + CancelPolicyGenerationCommandInput, |
| 4 | + CancelPolicyGenerationCommandOutput, |
| 5 | +} from "./commands/CancelPolicyGenerationCommand"; |
| 6 | +import { |
| 7 | + CreateAccessPreviewCommandInput, |
| 8 | + CreateAccessPreviewCommandOutput, |
| 9 | +} from "./commands/CreateAccessPreviewCommand"; |
1 | 10 | import { CreateAnalyzerCommandInput, CreateAnalyzerCommandOutput } from "./commands/CreateAnalyzerCommand";
|
2 | 11 | import { CreateArchiveRuleCommandInput, CreateArchiveRuleCommandOutput } from "./commands/CreateArchiveRuleCommand";
|
3 | 12 | import { DeleteAnalyzerCommandInput, DeleteAnalyzerCommandOutput } from "./commands/DeleteAnalyzerCommand";
|
4 | 13 | import { DeleteArchiveRuleCommandInput, DeleteArchiveRuleCommandOutput } from "./commands/DeleteArchiveRuleCommand";
|
| 14 | +import { GetAccessPreviewCommandInput, GetAccessPreviewCommandOutput } from "./commands/GetAccessPreviewCommand"; |
5 | 15 | import {
|
6 | 16 | GetAnalyzedResourceCommandInput,
|
7 | 17 | GetAnalyzedResourceCommandOutput,
|
8 | 18 | } from "./commands/GetAnalyzedResourceCommand";
|
9 | 19 | import { GetAnalyzerCommandInput, GetAnalyzerCommandOutput } from "./commands/GetAnalyzerCommand";
|
10 | 20 | import { GetArchiveRuleCommandInput, GetArchiveRuleCommandOutput } from "./commands/GetArchiveRuleCommand";
|
11 | 21 | import { GetFindingCommandInput, GetFindingCommandOutput } from "./commands/GetFindingCommand";
|
| 22 | +import { GetGeneratedPolicyCommandInput, GetGeneratedPolicyCommandOutput } from "./commands/GetGeneratedPolicyCommand"; |
| 23 | +import { |
| 24 | + ListAccessPreviewFindingsCommandInput, |
| 25 | + ListAccessPreviewFindingsCommandOutput, |
| 26 | +} from "./commands/ListAccessPreviewFindingsCommand"; |
| 27 | +import { ListAccessPreviewsCommandInput, ListAccessPreviewsCommandOutput } from "./commands/ListAccessPreviewsCommand"; |
12 | 28 | import {
|
13 | 29 | ListAnalyzedResourcesCommandInput,
|
14 | 30 | ListAnalyzedResourcesCommandOutput,
|
15 | 31 | } from "./commands/ListAnalyzedResourcesCommand";
|
16 | 32 | import { ListAnalyzersCommandInput, ListAnalyzersCommandOutput } from "./commands/ListAnalyzersCommand";
|
17 | 33 | import { ListArchiveRulesCommandInput, ListArchiveRulesCommandOutput } from "./commands/ListArchiveRulesCommand";
|
18 | 34 | import { ListFindingsCommandInput, ListFindingsCommandOutput } from "./commands/ListFindingsCommand";
|
| 35 | +import { |
| 36 | + ListPolicyGenerationsCommandInput, |
| 37 | + ListPolicyGenerationsCommandOutput, |
| 38 | +} from "./commands/ListPolicyGenerationsCommand"; |
19 | 39 | import {
|
20 | 40 | ListTagsForResourceCommandInput,
|
21 | 41 | ListTagsForResourceCommandOutput,
|
22 | 42 | } from "./commands/ListTagsForResourceCommand";
|
| 43 | +import { |
| 44 | + StartPolicyGenerationCommandInput, |
| 45 | + StartPolicyGenerationCommandOutput, |
| 46 | +} from "./commands/StartPolicyGenerationCommand"; |
23 | 47 | import { StartResourceScanCommandInput, StartResourceScanCommandOutput } from "./commands/StartResourceScanCommand";
|
24 | 48 | import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
25 | 49 | import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
26 | 50 | import { UpdateArchiveRuleCommandInput, UpdateArchiveRuleCommandOutput } from "./commands/UpdateArchiveRuleCommand";
|
27 | 51 | import { UpdateFindingsCommandInput, UpdateFindingsCommandOutput } from "./commands/UpdateFindingsCommand";
|
| 52 | +import { ValidatePolicyCommandInput, ValidatePolicyCommandOutput } from "./commands/ValidatePolicyCommand"; |
28 | 53 | import { ClientDefaultValues as __ClientDefaultValues } from "./runtimeConfig";
|
29 | 54 | import {
|
30 | 55 | EndpointsInputConfig,
|
@@ -77,44 +102,64 @@ import {
|
77 | 102 | } from "@aws-sdk/types";
|
78 | 103 |
|
79 | 104 | export type ServiceInputTypes =
|
| 105 | + | ApplyArchiveRuleCommandInput |
| 106 | + | CancelPolicyGenerationCommandInput |
| 107 | + | CreateAccessPreviewCommandInput |
80 | 108 | | CreateAnalyzerCommandInput
|
81 | 109 | | CreateArchiveRuleCommandInput
|
82 | 110 | | DeleteAnalyzerCommandInput
|
83 | 111 | | DeleteArchiveRuleCommandInput
|
| 112 | + | GetAccessPreviewCommandInput |
84 | 113 | | GetAnalyzedResourceCommandInput
|
85 | 114 | | GetAnalyzerCommandInput
|
86 | 115 | | GetArchiveRuleCommandInput
|
87 | 116 | | GetFindingCommandInput
|
| 117 | + | GetGeneratedPolicyCommandInput |
| 118 | + | ListAccessPreviewFindingsCommandInput |
| 119 | + | ListAccessPreviewsCommandInput |
88 | 120 | | ListAnalyzedResourcesCommandInput
|
89 | 121 | | ListAnalyzersCommandInput
|
90 | 122 | | ListArchiveRulesCommandInput
|
91 | 123 | | ListFindingsCommandInput
|
| 124 | + | ListPolicyGenerationsCommandInput |
92 | 125 | | ListTagsForResourceCommandInput
|
| 126 | + | StartPolicyGenerationCommandInput |
93 | 127 | | StartResourceScanCommandInput
|
94 | 128 | | TagResourceCommandInput
|
95 | 129 | | UntagResourceCommandInput
|
96 | 130 | | UpdateArchiveRuleCommandInput
|
97 |
| - | UpdateFindingsCommandInput; |
| 131 | + | UpdateFindingsCommandInput |
| 132 | + | ValidatePolicyCommandInput; |
98 | 133 |
|
99 | 134 | export type ServiceOutputTypes =
|
| 135 | + | ApplyArchiveRuleCommandOutput |
| 136 | + | CancelPolicyGenerationCommandOutput |
| 137 | + | CreateAccessPreviewCommandOutput |
100 | 138 | | CreateAnalyzerCommandOutput
|
101 | 139 | | CreateArchiveRuleCommandOutput
|
102 | 140 | | DeleteAnalyzerCommandOutput
|
103 | 141 | | DeleteArchiveRuleCommandOutput
|
| 142 | + | GetAccessPreviewCommandOutput |
104 | 143 | | GetAnalyzedResourceCommandOutput
|
105 | 144 | | GetAnalyzerCommandOutput
|
106 | 145 | | GetArchiveRuleCommandOutput
|
107 | 146 | | GetFindingCommandOutput
|
| 147 | + | GetGeneratedPolicyCommandOutput |
| 148 | + | ListAccessPreviewFindingsCommandOutput |
| 149 | + | ListAccessPreviewsCommandOutput |
108 | 150 | | ListAnalyzedResourcesCommandOutput
|
109 | 151 | | ListAnalyzersCommandOutput
|
110 | 152 | | ListArchiveRulesCommandOutput
|
111 | 153 | | ListFindingsCommandOutput
|
| 154 | + | ListPolicyGenerationsCommandOutput |
112 | 155 | | ListTagsForResourceCommandOutput
|
| 156 | + | StartPolicyGenerationCommandOutput |
113 | 157 | | StartResourceScanCommandOutput
|
114 | 158 | | TagResourceCommandOutput
|
115 | 159 | | UntagResourceCommandOutput
|
116 | 160 | | UpdateArchiveRuleCommandOutput
|
117 |
| - | UpdateFindingsCommandOutput; |
| 161 | + | UpdateFindingsCommandOutput |
| 162 | + | ValidatePolicyCommandOutput; |
118 | 163 |
|
119 | 164 | export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
120 | 165 | /**
|
@@ -233,10 +278,12 @@ export type AccessAnalyzerClientResolvedConfig = __SmithyResolvedConfiguration<_
|
233 | 278 | /**
|
234 | 279 | * <p>AWS IAM Access Analyzer helps identify potential resource-access risks by enabling you to identify
|
235 | 280 | * any policies that grant access to an external principal. It does this by using logic-based
|
236 |
| - * reasoning to analyze resource-based policies in your AWS environment. An external principal |
237 |
| - * can be another AWS account, a root user, an IAM user or role, a federated user, an AWS |
238 |
| - * service, or an anonymous user. This guide describes the AWS IAM Access Analyzer operations that you can |
239 |
| - * call programmatically. For general information about Access Analyzer, see the <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/what-is-access-analyzer.html">AWS IAM Access Analyzer section of the IAM User Guide</a>.</p> |
| 281 | + * reasoning to analyze resource-based policies in your AWS environment. An external |
| 282 | + * principal can be another AWS account, a root user, an IAM user or role, a federated |
| 283 | + * user, an AWS service, or an anonymous user. You can also use Access Analyzer to preview and |
| 284 | + * validate public and cross-account access to your resources before deploying permissions |
| 285 | + * changes. This guide describes the AWS IAM Access Analyzer operations that you can call |
| 286 | + * programmatically. For general information about Access Analyzer, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/what-is-access-analyzer.html">AWS IAM Access Analyzer</a> in the <b>IAM User Guide</b>.</p> |
240 | 287 | * <p>To start using Access Analyzer, you first need to create an analyzer.</p>
|
241 | 288 | */
|
242 | 289 | export class AccessAnalyzerClient extends __Client<
|
|
0 commit comments