Skip to content

Commit 0254e00

Browse files
authored
chore(codegen): refactor generic client configs to separate file (#2535)
1 parent a51c2f4 commit 0254e00

File tree

281 files changed

+3299
-3119
lines changed

Some content is hidden

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

281 files changed

+3299
-3119
lines changed

clients/client-accessanalyzer/AccessAnalyzerClient.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -228,17 +228,6 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
228228
*/
229229
disableHostPrefix?: boolean;
230230

231-
/**
232-
* Unique service identifier.
233-
* @internal
234-
*/
235-
serviceId?: string;
236-
237-
/**
238-
* The AWS region to which this client will send requests
239-
*/
240-
region?: string | __Provider<string>;
241-
242231
/**
243232
* Value for how many times a request will be made at most in case of retry.
244233
*/
@@ -255,6 +244,17 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
255244
*/
256245
logger?: __Logger;
257246

247+
/**
248+
* Unique service identifier.
249+
* @internal
250+
*/
251+
serviceId?: string;
252+
253+
/**
254+
* The AWS region to which this client will send requests
255+
*/
256+
region?: string | __Provider<string>;
257+
258258
/**
259259
* Default credentials provider; Not available in browser runtime.
260260
* @internal

clients/client-acm-pca/ACMPCAClient.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -228,17 +228,6 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
228228
*/
229229
disableHostPrefix?: boolean;
230230

231-
/**
232-
* Unique service identifier.
233-
* @internal
234-
*/
235-
serviceId?: string;
236-
237-
/**
238-
* The AWS region to which this client will send requests
239-
*/
240-
region?: string | __Provider<string>;
241-
242231
/**
243232
* Value for how many times a request will be made at most in case of retry.
244233
*/
@@ -255,6 +244,17 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
255244
*/
256245
logger?: __Logger;
257246

247+
/**
248+
* Unique service identifier.
249+
* @internal
250+
*/
251+
serviceId?: string;
252+
253+
/**
254+
* The AWS region to which this client will send requests
255+
*/
256+
region?: string | __Provider<string>;
257+
258258
/**
259259
* Default credentials provider; Not available in browser runtime.
260260
* @internal

clients/client-acm/ACMClient.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -189,17 +189,6 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
189189
*/
190190
disableHostPrefix?: boolean;
191191

192-
/**
193-
* Unique service identifier.
194-
* @internal
195-
*/
196-
serviceId?: string;
197-
198-
/**
199-
* The AWS region to which this client will send requests
200-
*/
201-
region?: string | __Provider<string>;
202-
203192
/**
204193
* Value for how many times a request will be made at most in case of retry.
205194
*/
@@ -216,6 +205,17 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
216205
*/
217206
logger?: __Logger;
218207

208+
/**
209+
* Unique service identifier.
210+
* @internal
211+
*/
212+
serviceId?: string;
213+
214+
/**
215+
* The AWS region to which this client will send requests
216+
*/
217+
region?: string | __Provider<string>;
218+
219219
/**
220220
* Default credentials provider; Not available in browser runtime.
221221
* @internal

clients/client-alexa-for-business/AlexaForBusinessClient.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -516,17 +516,6 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
516516
*/
517517
disableHostPrefix?: boolean;
518518

519-
/**
520-
* Unique service identifier.
521-
* @internal
522-
*/
523-
serviceId?: string;
524-
525-
/**
526-
* The AWS region to which this client will send requests
527-
*/
528-
region?: string | __Provider<string>;
529-
530519
/**
531520
* Value for how many times a request will be made at most in case of retry.
532521
*/
@@ -543,6 +532,17 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
543532
*/
544533
logger?: __Logger;
545534

535+
/**
536+
* Unique service identifier.
537+
* @internal
538+
*/
539+
serviceId?: string;
540+
541+
/**
542+
* The AWS region to which this client will send requests
543+
*/
544+
region?: string | __Provider<string>;
545+
546546
/**
547547
* Default credentials provider; Not available in browser runtime.
548548
* @internal

clients/client-amp/AmpClient.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -138,17 +138,6 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
138138
*/
139139
disableHostPrefix?: boolean;
140140

141-
/**
142-
* Unique service identifier.
143-
* @internal
144-
*/
145-
serviceId?: string;
146-
147-
/**
148-
* The AWS region to which this client will send requests
149-
*/
150-
region?: string | __Provider<string>;
151-
152141
/**
153142
* Value for how many times a request will be made at most in case of retry.
154143
*/
@@ -165,6 +154,17 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
165154
*/
166155
logger?: __Logger;
167156

157+
/**
158+
* Unique service identifier.
159+
* @internal
160+
*/
161+
serviceId?: string;
162+
163+
/**
164+
* The AWS region to which this client will send requests
165+
*/
166+
region?: string | __Provider<string>;
167+
168168
/**
169169
* Default credentials provider; Not available in browser runtime.
170170
* @internal

clients/client-amplify/AmplifyClient.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -261,17 +261,6 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
261261
*/
262262
disableHostPrefix?: boolean;
263263

264-
/**
265-
* Unique service identifier.
266-
* @internal
267-
*/
268-
serviceId?: string;
269-
270-
/**
271-
* The AWS region to which this client will send requests
272-
*/
273-
region?: string | __Provider<string>;
274-
275264
/**
276265
* Value for how many times a request will be made at most in case of retry.
277266
*/
@@ -288,6 +277,17 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
288277
*/
289278
logger?: __Logger;
290279

280+
/**
281+
* Unique service identifier.
282+
* @internal
283+
*/
284+
serviceId?: string;
285+
286+
/**
287+
* The AWS region to which this client will send requests
288+
*/
289+
region?: string | __Provider<string>;
290+
291291
/**
292292
* Default credentials provider; Not available in browser runtime.
293293
* @internal

clients/client-amplifybackend/AmplifyBackendClient.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -210,17 +210,6 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
210210
*/
211211
disableHostPrefix?: boolean;
212212

213-
/**
214-
* Unique service identifier.
215-
* @internal
216-
*/
217-
serviceId?: string;
218-
219-
/**
220-
* The AWS region to which this client will send requests
221-
*/
222-
region?: string | __Provider<string>;
223-
224213
/**
225214
* Value for how many times a request will be made at most in case of retry.
226215
*/
@@ -237,6 +226,17 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
237226
*/
238227
logger?: __Logger;
239228

229+
/**
230+
* Unique service identifier.
231+
* @internal
232+
*/
233+
serviceId?: string;
234+
235+
/**
236+
* The AWS region to which this client will send requests
237+
*/
238+
region?: string | __Provider<string>;
239+
240240
/**
241241
* Default credentials provider; Not available in browser runtime.
242242
* @internal

clients/client-api-gateway/APIGatewayClient.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -589,17 +589,6 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
589589
*/
590590
disableHostPrefix?: boolean;
591591

592-
/**
593-
* Unique service identifier.
594-
* @internal
595-
*/
596-
serviceId?: string;
597-
598-
/**
599-
* The AWS region to which this client will send requests
600-
*/
601-
region?: string | __Provider<string>;
602-
603592
/**
604593
* Value for how many times a request will be made at most in case of retry.
605594
*/
@@ -616,6 +605,17 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
616605
*/
617606
logger?: __Logger;
618607

608+
/**
609+
* Unique service identifier.
610+
* @internal
611+
*/
612+
serviceId?: string;
613+
614+
/**
615+
* The AWS region to which this client will send requests
616+
*/
617+
region?: string | __Provider<string>;
618+
619619
/**
620620
* Default credentials provider; Not available in browser runtime.
621621
* @internal

clients/client-apigatewaymanagementapi/ApiGatewayManagementApiClient.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -126,17 +126,6 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
126126
*/
127127
disableHostPrefix?: boolean;
128128

129-
/**
130-
* Unique service identifier.
131-
* @internal
132-
*/
133-
serviceId?: string;
134-
135-
/**
136-
* The AWS region to which this client will send requests
137-
*/
138-
region?: string | __Provider<string>;
139-
140129
/**
141130
* Value for how many times a request will be made at most in case of retry.
142131
*/
@@ -153,6 +142,17 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
153142
*/
154143
logger?: __Logger;
155144

145+
/**
146+
* Unique service identifier.
147+
* @internal
148+
*/
149+
serviceId?: string;
150+
151+
/**
152+
* The AWS region to which this client will send requests
153+
*/
154+
region?: string | __Provider<string>;
155+
156156
/**
157157
* Default credentials provider; Not available in browser runtime.
158158
* @internal

clients/client-apigatewayv2/ApiGatewayV2Client.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -375,17 +375,6 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
375375
*/
376376
disableHostPrefix?: boolean;
377377

378-
/**
379-
* Unique service identifier.
380-
* @internal
381-
*/
382-
serviceId?: string;
383-
384-
/**
385-
* The AWS region to which this client will send requests
386-
*/
387-
region?: string | __Provider<string>;
388-
389378
/**
390379
* Value for how many times a request will be made at most in case of retry.
391380
*/
@@ -402,6 +391,17 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
402391
*/
403392
logger?: __Logger;
404393

394+
/**
395+
* Unique service identifier.
396+
* @internal
397+
*/
398+
serviceId?: string;
399+
400+
/**
401+
* The AWS region to which this client will send requests
402+
*/
403+
region?: string | __Provider<string>;
404+
405405
/**
406406
* Default credentials provider; Not available in browser runtime.
407407
* @internal

clients/client-app-mesh/AppMeshClient.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -285,17 +285,6 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
285285
*/
286286
disableHostPrefix?: boolean;
287287

288-
/**
289-
* Unique service identifier.
290-
* @internal
291-
*/
292-
serviceId?: string;
293-
294-
/**
295-
* The AWS region to which this client will send requests
296-
*/
297-
region?: string | __Provider<string>;
298-
299288
/**
300289
* Value for how many times a request will be made at most in case of retry.
301290
*/
@@ -312,6 +301,17 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
312301
*/
313302
logger?: __Logger;
314303

304+
/**
305+
* Unique service identifier.
306+
* @internal
307+
*/
308+
serviceId?: string;
309+
310+
/**
311+
* The AWS region to which this client will send requests
312+
*/
313+
region?: string | __Provider<string>;
314+
315315
/**
316316
* Default credentials provider; Not available in browser runtime.
317317
* @internal

0 commit comments

Comments
 (0)