Skip to content

Commit 7f8c031

Browse files
authored
chore(codegen): differentiate type imports (#7897)
1 parent a84cde6 commit 7f8c031

6,242 files changed

Lines changed: 81524 additions & 68717 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

clients/client-accessanalyzer/src/AccessAnalyzer.ts

Lines changed: 83 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -4,177 +4,189 @@ import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguratio
44

55
import { AccessAnalyzerClient } from "./AccessAnalyzerClient";
66
import {
7+
type ApplyArchiveRuleCommandInput,
8+
type ApplyArchiveRuleCommandOutput,
79
ApplyArchiveRuleCommand,
8-
ApplyArchiveRuleCommandInput,
9-
ApplyArchiveRuleCommandOutput,
1010
} from "./commands/ApplyArchiveRuleCommand";
1111
import {
12+
type CancelPolicyGenerationCommandInput,
13+
type CancelPolicyGenerationCommandOutput,
1214
CancelPolicyGenerationCommand,
13-
CancelPolicyGenerationCommandInput,
14-
CancelPolicyGenerationCommandOutput,
1515
} from "./commands/CancelPolicyGenerationCommand";
1616
import {
17+
type CheckAccessNotGrantedCommandInput,
18+
type CheckAccessNotGrantedCommandOutput,
1719
CheckAccessNotGrantedCommand,
18-
CheckAccessNotGrantedCommandInput,
19-
CheckAccessNotGrantedCommandOutput,
2020
} from "./commands/CheckAccessNotGrantedCommand";
2121
import {
22+
type CheckNoNewAccessCommandInput,
23+
type CheckNoNewAccessCommandOutput,
2224
CheckNoNewAccessCommand,
23-
CheckNoNewAccessCommandInput,
24-
CheckNoNewAccessCommandOutput,
2525
} from "./commands/CheckNoNewAccessCommand";
2626
import {
27+
type CheckNoPublicAccessCommandInput,
28+
type CheckNoPublicAccessCommandOutput,
2729
CheckNoPublicAccessCommand,
28-
CheckNoPublicAccessCommandInput,
29-
CheckNoPublicAccessCommandOutput,
3030
} from "./commands/CheckNoPublicAccessCommand";
3131
import {
32+
type CreateAccessPreviewCommandInput,
33+
type CreateAccessPreviewCommandOutput,
3234
CreateAccessPreviewCommand,
33-
CreateAccessPreviewCommandInput,
34-
CreateAccessPreviewCommandOutput,
3535
} from "./commands/CreateAccessPreviewCommand";
3636
import {
37+
type CreateAnalyzerCommandInput,
38+
type CreateAnalyzerCommandOutput,
3739
CreateAnalyzerCommand,
38-
CreateAnalyzerCommandInput,
39-
CreateAnalyzerCommandOutput,
4040
} from "./commands/CreateAnalyzerCommand";
4141
import {
42+
type CreateArchiveRuleCommandInput,
43+
type CreateArchiveRuleCommandOutput,
4244
CreateArchiveRuleCommand,
43-
CreateArchiveRuleCommandInput,
44-
CreateArchiveRuleCommandOutput,
4545
} from "./commands/CreateArchiveRuleCommand";
4646
import {
47+
type DeleteAnalyzerCommandInput,
48+
type DeleteAnalyzerCommandOutput,
4749
DeleteAnalyzerCommand,
48-
DeleteAnalyzerCommandInput,
49-
DeleteAnalyzerCommandOutput,
5050
} from "./commands/DeleteAnalyzerCommand";
5151
import {
52+
type DeleteArchiveRuleCommandInput,
53+
type DeleteArchiveRuleCommandOutput,
5254
DeleteArchiveRuleCommand,
53-
DeleteArchiveRuleCommandInput,
54-
DeleteArchiveRuleCommandOutput,
5555
} from "./commands/DeleteArchiveRuleCommand";
5656
import {
57+
type GenerateFindingRecommendationCommandInput,
58+
type GenerateFindingRecommendationCommandOutput,
5759
GenerateFindingRecommendationCommand,
58-
GenerateFindingRecommendationCommandInput,
59-
GenerateFindingRecommendationCommandOutput,
6060
} from "./commands/GenerateFindingRecommendationCommand";
6161
import {
62+
type GetAccessPreviewCommandInput,
63+
type GetAccessPreviewCommandOutput,
6264
GetAccessPreviewCommand,
63-
GetAccessPreviewCommandInput,
64-
GetAccessPreviewCommandOutput,
6565
} from "./commands/GetAccessPreviewCommand";
6666
import {
67+
type GetAnalyzedResourceCommandInput,
68+
type GetAnalyzedResourceCommandOutput,
6769
GetAnalyzedResourceCommand,
68-
GetAnalyzedResourceCommandInput,
69-
GetAnalyzedResourceCommandOutput,
7070
} from "./commands/GetAnalyzedResourceCommand";
71-
import { GetAnalyzerCommand, GetAnalyzerCommandInput, GetAnalyzerCommandOutput } from "./commands/GetAnalyzerCommand";
7271
import {
72+
type GetAnalyzerCommandInput,
73+
type GetAnalyzerCommandOutput,
74+
GetAnalyzerCommand,
75+
} from "./commands/GetAnalyzerCommand";
76+
import {
77+
type GetArchiveRuleCommandInput,
78+
type GetArchiveRuleCommandOutput,
7379
GetArchiveRuleCommand,
74-
GetArchiveRuleCommandInput,
75-
GetArchiveRuleCommandOutput,
7680
} from "./commands/GetArchiveRuleCommand";
77-
import { GetFindingCommand, GetFindingCommandInput, GetFindingCommandOutput } from "./commands/GetFindingCommand";
7881
import {
82+
type GetFindingCommandInput,
83+
type GetFindingCommandOutput,
84+
GetFindingCommand,
85+
} from "./commands/GetFindingCommand";
86+
import {
87+
type GetFindingRecommendationCommandInput,
88+
type GetFindingRecommendationCommandOutput,
7989
GetFindingRecommendationCommand,
80-
GetFindingRecommendationCommandInput,
81-
GetFindingRecommendationCommandOutput,
8290
} from "./commands/GetFindingRecommendationCommand";
8391
import {
92+
type GetFindingsStatisticsCommandInput,
93+
type GetFindingsStatisticsCommandOutput,
8494
GetFindingsStatisticsCommand,
85-
GetFindingsStatisticsCommandInput,
86-
GetFindingsStatisticsCommandOutput,
8795
} from "./commands/GetFindingsStatisticsCommand";
8896
import {
97+
type GetFindingV2CommandInput,
98+
type GetFindingV2CommandOutput,
8999
GetFindingV2Command,
90-
GetFindingV2CommandInput,
91-
GetFindingV2CommandOutput,
92100
} from "./commands/GetFindingV2Command";
93101
import {
102+
type GetGeneratedPolicyCommandInput,
103+
type GetGeneratedPolicyCommandOutput,
94104
GetGeneratedPolicyCommand,
95-
GetGeneratedPolicyCommandInput,
96-
GetGeneratedPolicyCommandOutput,
97105
} from "./commands/GetGeneratedPolicyCommand";
98106
import {
107+
type ListAccessPreviewFindingsCommandInput,
108+
type ListAccessPreviewFindingsCommandOutput,
99109
ListAccessPreviewFindingsCommand,
100-
ListAccessPreviewFindingsCommandInput,
101-
ListAccessPreviewFindingsCommandOutput,
102110
} from "./commands/ListAccessPreviewFindingsCommand";
103111
import {
112+
type ListAccessPreviewsCommandInput,
113+
type ListAccessPreviewsCommandOutput,
104114
ListAccessPreviewsCommand,
105-
ListAccessPreviewsCommandInput,
106-
ListAccessPreviewsCommandOutput,
107115
} from "./commands/ListAccessPreviewsCommand";
108116
import {
117+
type ListAnalyzedResourcesCommandInput,
118+
type ListAnalyzedResourcesCommandOutput,
109119
ListAnalyzedResourcesCommand,
110-
ListAnalyzedResourcesCommandInput,
111-
ListAnalyzedResourcesCommandOutput,
112120
} from "./commands/ListAnalyzedResourcesCommand";
113121
import {
122+
type ListAnalyzersCommandInput,
123+
type ListAnalyzersCommandOutput,
114124
ListAnalyzersCommand,
115-
ListAnalyzersCommandInput,
116-
ListAnalyzersCommandOutput,
117125
} from "./commands/ListAnalyzersCommand";
118126
import {
127+
type ListArchiveRulesCommandInput,
128+
type ListArchiveRulesCommandOutput,
119129
ListArchiveRulesCommand,
120-
ListArchiveRulesCommandInput,
121-
ListArchiveRulesCommandOutput,
122130
} from "./commands/ListArchiveRulesCommand";
123131
import {
132+
type ListFindingsCommandInput,
133+
type ListFindingsCommandOutput,
124134
ListFindingsCommand,
125-
ListFindingsCommandInput,
126-
ListFindingsCommandOutput,
127135
} from "./commands/ListFindingsCommand";
128136
import {
137+
type ListFindingsV2CommandInput,
138+
type ListFindingsV2CommandOutput,
129139
ListFindingsV2Command,
130-
ListFindingsV2CommandInput,
131-
ListFindingsV2CommandOutput,
132140
} from "./commands/ListFindingsV2Command";
133141
import {
142+
type ListPolicyGenerationsCommandInput,
143+
type ListPolicyGenerationsCommandOutput,
134144
ListPolicyGenerationsCommand,
135-
ListPolicyGenerationsCommandInput,
136-
ListPolicyGenerationsCommandOutput,
137145
} from "./commands/ListPolicyGenerationsCommand";
138146
import {
147+
type ListTagsForResourceCommandInput,
148+
type ListTagsForResourceCommandOutput,
139149
ListTagsForResourceCommand,
140-
ListTagsForResourceCommandInput,
141-
ListTagsForResourceCommandOutput,
142150
} from "./commands/ListTagsForResourceCommand";
143151
import {
152+
type StartPolicyGenerationCommandInput,
153+
type StartPolicyGenerationCommandOutput,
144154
StartPolicyGenerationCommand,
145-
StartPolicyGenerationCommandInput,
146-
StartPolicyGenerationCommandOutput,
147155
} from "./commands/StartPolicyGenerationCommand";
148156
import {
157+
type StartResourceScanCommandInput,
158+
type StartResourceScanCommandOutput,
149159
StartResourceScanCommand,
150-
StartResourceScanCommandInput,
151-
StartResourceScanCommandOutput,
152160
} from "./commands/StartResourceScanCommand";
153-
import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
154161
import {
162+
type TagResourceCommandInput,
163+
type TagResourceCommandOutput,
164+
TagResourceCommand,
165+
} from "./commands/TagResourceCommand";
166+
import {
167+
type UntagResourceCommandInput,
168+
type UntagResourceCommandOutput,
155169
UntagResourceCommand,
156-
UntagResourceCommandInput,
157-
UntagResourceCommandOutput,
158170
} from "./commands/UntagResourceCommand";
159171
import {
172+
type UpdateAnalyzerCommandInput,
173+
type UpdateAnalyzerCommandOutput,
160174
UpdateAnalyzerCommand,
161-
UpdateAnalyzerCommandInput,
162-
UpdateAnalyzerCommandOutput,
163175
} from "./commands/UpdateAnalyzerCommand";
164176
import {
177+
type UpdateArchiveRuleCommandInput,
178+
type UpdateArchiveRuleCommandOutput,
165179
UpdateArchiveRuleCommand,
166-
UpdateArchiveRuleCommandInput,
167-
UpdateArchiveRuleCommandOutput,
168180
} from "./commands/UpdateArchiveRuleCommand";
169181
import {
182+
type UpdateFindingsCommandInput,
183+
type UpdateFindingsCommandOutput,
170184
UpdateFindingsCommand,
171-
UpdateFindingsCommandInput,
172-
UpdateFindingsCommandOutput,
173185
} from "./commands/UpdateFindingsCommand";
174186
import {
187+
type ValidatePolicyCommandInput,
188+
type ValidatePolicyCommandOutput,
175189
ValidatePolicyCommand,
176-
ValidatePolicyCommandInput,
177-
ValidatePolicyCommandOutput,
178190
} from "./commands/ValidatePolicyCommand";
179191
import { paginateGetFindingRecommendation } from "./pagination/GetFindingRecommendationPaginator";
180192
import { paginateGetFindingV2 } from "./pagination/GetFindingV2Paginator";

0 commit comments

Comments
 (0)