@aws-sdk/client-account 3.928.0 → 3.929.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.
Files changed (38) hide show
  1. package/dist-cjs/index.js +528 -707
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/AccountClient.js +2 -0
  4. package/dist-es/commands/AcceptPrimaryEmailUpdateCommand.js +3 -10
  5. package/dist-es/commands/DeleteAlternateContactCommand.js +3 -9
  6. package/dist-es/commands/DisableRegionCommand.js +3 -9
  7. package/dist-es/commands/EnableRegionCommand.js +3 -9
  8. package/dist-es/commands/GetAccountInformationCommand.js +3 -10
  9. package/dist-es/commands/GetAlternateContactCommand.js +3 -10
  10. package/dist-es/commands/GetContactInformationCommand.js +3 -10
  11. package/dist-es/commands/GetPrimaryEmailCommand.js +3 -10
  12. package/dist-es/commands/GetRegionOptStatusCommand.js +3 -9
  13. package/dist-es/commands/ListRegionsCommand.js +3 -9
  14. package/dist-es/commands/PutAccountNameCommand.js +3 -10
  15. package/dist-es/commands/PutAlternateContactCommand.js +3 -10
  16. package/dist-es/commands/PutContactInformationCommand.js +3 -10
  17. package/dist-es/commands/StartPrimaryEmailUpdateCommand.js +3 -10
  18. package/dist-es/models/models_0.js +0 -67
  19. package/dist-es/runtimeConfig.shared.js +2 -0
  20. package/dist-es/schemas/schemas_0.js +482 -0
  21. package/dist-types/AccountClient.d.ts +10 -1
  22. package/dist-types/models/models_0.d.ts +0 -48
  23. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  24. package/dist-types/runtimeConfig.d.ts +1 -0
  25. package/dist-types/runtimeConfig.native.d.ts +1 -0
  26. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  27. package/dist-types/schemas/schemas_0.d.ts +70 -0
  28. package/dist-types/ts3.4/AccountClient.d.ts +4 -0
  29. package/dist-types/ts3.4/models/models_0.d.ts +0 -36
  30. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  31. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  32. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  33. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  34. package/dist-types/ts3.4/schemas/schemas_0.d.ts +76 -0
  35. package/package.json +2 -2
  36. package/dist-es/protocols/Aws_restJson1.js +0 -515
  37. package/dist-types/protocols/Aws_restJson1.d.ts +0 -128
  38. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -173
@@ -0,0 +1,482 @@
1
+ const _AC = "AlternateContact";
2
+ const _ACD = "AccountCreatedDate";
3
+ const _ACT = "AlternateContactType";
4
+ const _ADE = "AccessDeniedException";
5
+ const _AI = "AccountId";
6
+ const _AL = "AddressLine";
7
+ const _ALd = "AddressLine1";
8
+ const _ALdd = "AddressLine2";
9
+ const _ALddr = "AddressLine3";
10
+ const _AN = "AccountName";
11
+ const _APEU = "AcceptPrimaryEmailUpdate";
12
+ const _APEUR = "AcceptPrimaryEmailUpdateRequest";
13
+ const _APEURc = "AcceptPrimaryEmailUpdateResponse";
14
+ const _C = "City";
15
+ const _CC = "CountryCode";
16
+ const _CE = "ConflictException";
17
+ const _CI = "ContactInformation";
18
+ const _CIPN = "ContactInformationPhoneNumber";
19
+ const _CN = "CompanyName";
20
+ const _DAC = "DeleteAlternateContact";
21
+ const _DACR = "DeleteAlternateContactRequest";
22
+ const _DOC = "DistrictOrCounty";
23
+ const _DR = "DisableRegion";
24
+ const _DRR = "DisableRegionRequest";
25
+ const _EA = "EmailAddress";
26
+ const _ER = "EnableRegion";
27
+ const _ERR = "EnableRegionRequest";
28
+ const _FN = "FullName";
29
+ const _GAC = "GetAlternateContact";
30
+ const _GACR = "GetAlternateContactRequest";
31
+ const _GACRe = "GetAlternateContactResponse";
32
+ const _GAI = "GetAccountInformation";
33
+ const _GAIR = "GetAccountInformationRequest";
34
+ const _GAIRe = "GetAccountInformationResponse";
35
+ const _GCI = "GetContactInformation";
36
+ const _GCIR = "GetContactInformationRequest";
37
+ const _GCIRe = "GetContactInformationResponse";
38
+ const _GPE = "GetPrimaryEmail";
39
+ const _GPER = "GetPrimaryEmailRequest";
40
+ const _GPERe = "GetPrimaryEmailResponse";
41
+ const _GROS = "GetRegionOptStatus";
42
+ const _GROSR = "GetRegionOptStatusRequest";
43
+ const _GROSRe = "GetRegionOptStatusResponse";
44
+ const _ISE = "InternalServerException";
45
+ const _LR = "ListRegions";
46
+ const _LRR = "ListRegionsRequest";
47
+ const _LRRi = "ListRegionsResponse";
48
+ const _MR = "MaxResults";
49
+ const _N = "Name";
50
+ const _NT = "NextToken";
51
+ const _O = "Otp";
52
+ const _PAC = "PutAlternateContact";
53
+ const _PACR = "PutAlternateContactRequest";
54
+ const _PAN = "PutAccountName";
55
+ const _PANR = "PutAccountNameRequest";
56
+ const _PC = "PostalCode";
57
+ const _PCI = "PutContactInformation";
58
+ const _PCIR = "PutContactInformationRequest";
59
+ const _PE = "PrimaryEmail";
60
+ const _PEA = "PrimaryEmailAddress";
61
+ const _PN = "PhoneNumber";
62
+ const _R = "Regions";
63
+ const _RN = "RegionName";
64
+ const _RNFE = "ResourceNotFoundException";
65
+ const _ROL = "RegionOptList";
66
+ const _ROS = "RegionOptStatus";
67
+ const _ROSC = "RegionOptStatusContains";
68
+ const _Re = "Region";
69
+ const _S = "Status";
70
+ const _SOR = "StateOrRegion";
71
+ const _SPEU = "StartPrimaryEmailUpdate";
72
+ const _SPEUR = "StartPrimaryEmailUpdateRequest";
73
+ const _SPEURt = "StartPrimaryEmailUpdateResponse";
74
+ const _SS = "SensitiveString";
75
+ const _T = "Title";
76
+ const _TMRE = "TooManyRequestsException";
77
+ const _VE = "ValidationException";
78
+ const _VEF = "ValidationExceptionField";
79
+ const _VEFL = "ValidationExceptionFieldList";
80
+ const _WU = "WebsiteUrl";
81
+ const _c = "client";
82
+ const _e = "error";
83
+ const _eT = "errorType";
84
+ const _fL = "fieldList";
85
+ const _h = "http";
86
+ const _hE = "httpError";
87
+ const _hH = "httpHeader";
88
+ const _m = "message";
89
+ const _n = "name";
90
+ const _r = "reason";
91
+ const _s = "server";
92
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.account";
93
+ const _xaE = "x-amzn-ErrorType";
94
+ const n0 = "com.amazonaws.account";
95
+ import { TypeRegistry } from "@smithy/core/schema";
96
+ import { AccountServiceException as __AccountServiceException } from "../models/AccountServiceException";
97
+ import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, TooManyRequestsException as __TooManyRequestsException, ValidationException as __ValidationException, } from "../models/index";
98
+ export var AccountName = [0, n0, _AN, 8, 0];
99
+ export var AddressLine = [0, n0, _AL, 8, 0];
100
+ export var City = [0, n0, _C, 8, 0];
101
+ export var CompanyName = [0, n0, _CN, 8, 0];
102
+ export var ContactInformationPhoneNumber = [0, n0, _CIPN, 8, 0];
103
+ export var CountryCode = [0, n0, _CC, 8, 0];
104
+ export var DistrictOrCounty = [0, n0, _DOC, 8, 0];
105
+ export var EmailAddress = [0, n0, _EA, 8, 0];
106
+ export var FullName = [0, n0, _FN, 8, 0];
107
+ export var Name = [0, n0, _N, 8, 0];
108
+ export var Otp = [0, n0, _O, 8, 0];
109
+ export var PhoneNumber = [0, n0, _PN, 8, 0];
110
+ export var PostalCode = [0, n0, _PC, 8, 0];
111
+ export var PrimaryEmailAddress = [0, n0, _PEA, 8, 0];
112
+ export var SensitiveString = [0, n0, _SS, 8, 0];
113
+ export var StateOrRegion = [0, n0, _SOR, 8, 0];
114
+ export var Title = [0, n0, _T, 8, 0];
115
+ export var WebsiteUrl = [0, n0, _WU, 8, 0];
116
+ export var AcceptPrimaryEmailUpdateRequest = [
117
+ 3,
118
+ n0,
119
+ _APEUR,
120
+ 0,
121
+ [_AI, _PE, _O],
122
+ [0, [() => PrimaryEmailAddress, 0], [() => Otp, 0]],
123
+ ];
124
+ export var AcceptPrimaryEmailUpdateResponse = [3, n0, _APEURc, 0, [_S], [0]];
125
+ export var AccessDeniedException = [
126
+ -3,
127
+ n0,
128
+ _ADE,
129
+ {
130
+ [_e]: _c,
131
+ [_hE]: 403,
132
+ },
133
+ [_m, _eT],
134
+ [
135
+ 0,
136
+ [
137
+ 0,
138
+ {
139
+ [_hH]: _xaE,
140
+ },
141
+ ],
142
+ ],
143
+ ];
144
+ TypeRegistry.for(n0).registerError(AccessDeniedException, __AccessDeniedException);
145
+ export var AlternateContact = [
146
+ 3,
147
+ n0,
148
+ _AC,
149
+ 0,
150
+ [_N, _T, _EA, _PN, _ACT],
151
+ [[() => Name, 0], [() => Title, 0], [() => EmailAddress, 0], [() => PhoneNumber, 0], 0],
152
+ ];
153
+ export var ConflictException = [
154
+ -3,
155
+ n0,
156
+ _CE,
157
+ {
158
+ [_e]: _c,
159
+ [_hE]: 409,
160
+ },
161
+ [_m, _eT],
162
+ [
163
+ 0,
164
+ [
165
+ 0,
166
+ {
167
+ [_hH]: _xaE,
168
+ },
169
+ ],
170
+ ],
171
+ ];
172
+ TypeRegistry.for(n0).registerError(ConflictException, __ConflictException);
173
+ export var ContactInformation = [
174
+ 3,
175
+ n0,
176
+ _CI,
177
+ 0,
178
+ [_FN, _ALd, _ALdd, _ALddr, _C, _SOR, _DOC, _PC, _CC, _PN, _CN, _WU],
179
+ [
180
+ [() => FullName, 0],
181
+ [() => AddressLine, 0],
182
+ [() => AddressLine, 0],
183
+ [() => AddressLine, 0],
184
+ [() => City, 0],
185
+ [() => StateOrRegion, 0],
186
+ [() => DistrictOrCounty, 0],
187
+ [() => PostalCode, 0],
188
+ [() => CountryCode, 0],
189
+ [() => ContactInformationPhoneNumber, 0],
190
+ [() => CompanyName, 0],
191
+ [() => WebsiteUrl, 0],
192
+ ],
193
+ ];
194
+ export var DeleteAlternateContactRequest = [3, n0, _DACR, 0, [_ACT, _AI], [0, 0]];
195
+ export var DisableRegionRequest = [3, n0, _DRR, 0, [_AI, _RN], [0, 0]];
196
+ export var EnableRegionRequest = [3, n0, _ERR, 0, [_AI, _RN], [0, 0]];
197
+ export var GetAccountInformationRequest = [3, n0, _GAIR, 0, [_AI], [0]];
198
+ export var GetAccountInformationResponse = [
199
+ 3,
200
+ n0,
201
+ _GAIRe,
202
+ 0,
203
+ [_AI, _AN, _ACD],
204
+ [0, [() => AccountName, 0], 5],
205
+ ];
206
+ export var GetAlternateContactRequest = [3, n0, _GACR, 0, [_ACT, _AI], [0, 0]];
207
+ export var GetAlternateContactResponse = [
208
+ 3,
209
+ n0,
210
+ _GACRe,
211
+ 0,
212
+ [_AC],
213
+ [[() => AlternateContact, 0]],
214
+ ];
215
+ export var GetContactInformationRequest = [3, n0, _GCIR, 0, [_AI], [0]];
216
+ export var GetContactInformationResponse = [
217
+ 3,
218
+ n0,
219
+ _GCIRe,
220
+ 0,
221
+ [_CI],
222
+ [[() => ContactInformation, 0]],
223
+ ];
224
+ export var GetPrimaryEmailRequest = [3, n0, _GPER, 0, [_AI], [0]];
225
+ export var GetPrimaryEmailResponse = [3, n0, _GPERe, 0, [_PE], [[() => PrimaryEmailAddress, 0]]];
226
+ export var GetRegionOptStatusRequest = [3, n0, _GROSR, 0, [_AI, _RN], [0, 0]];
227
+ export var GetRegionOptStatusResponse = [3, n0, _GROSRe, 0, [_RN, _ROS], [0, 0]];
228
+ export var InternalServerException = [
229
+ -3,
230
+ n0,
231
+ _ISE,
232
+ {
233
+ [_e]: _s,
234
+ [_hE]: 500,
235
+ },
236
+ [_m, _eT],
237
+ [
238
+ 0,
239
+ [
240
+ 0,
241
+ {
242
+ [_hH]: _xaE,
243
+ },
244
+ ],
245
+ ],
246
+ ];
247
+ TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
248
+ export var ListRegionsRequest = [3, n0, _LRR, 0, [_AI, _MR, _NT, _ROSC], [0, 1, 0, 64 | 0]];
249
+ export var ListRegionsResponse = [3, n0, _LRRi, 0, [_NT, _R], [0, () => RegionOptList]];
250
+ export var PutAccountNameRequest = [3, n0, _PANR, 0, [_AN, _AI], [[() => AccountName, 0], 0]];
251
+ export var PutAlternateContactRequest = [
252
+ 3,
253
+ n0,
254
+ _PACR,
255
+ 0,
256
+ [_N, _T, _EA, _PN, _ACT, _AI],
257
+ [[() => Name, 0], [() => Title, 0], [() => EmailAddress, 0], [() => PhoneNumber, 0], 0, 0],
258
+ ];
259
+ export var PutContactInformationRequest = [
260
+ 3,
261
+ n0,
262
+ _PCIR,
263
+ 0,
264
+ [_CI, _AI],
265
+ [[() => ContactInformation, 0], 0],
266
+ ];
267
+ export var Region = [3, n0, _Re, 0, [_RN, _ROS], [0, 0]];
268
+ export var ResourceNotFoundException = [
269
+ -3,
270
+ n0,
271
+ _RNFE,
272
+ {
273
+ [_e]: _c,
274
+ [_hE]: 404,
275
+ },
276
+ [_m, _eT],
277
+ [
278
+ 0,
279
+ [
280
+ 0,
281
+ {
282
+ [_hH]: _xaE,
283
+ },
284
+ ],
285
+ ],
286
+ ];
287
+ TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
288
+ export var StartPrimaryEmailUpdateRequest = [
289
+ 3,
290
+ n0,
291
+ _SPEUR,
292
+ 0,
293
+ [_AI, _PE],
294
+ [0, [() => PrimaryEmailAddress, 0]],
295
+ ];
296
+ export var StartPrimaryEmailUpdateResponse = [3, n0, _SPEURt, 0, [_S], [0]];
297
+ export var TooManyRequestsException = [
298
+ -3,
299
+ n0,
300
+ _TMRE,
301
+ {
302
+ [_e]: _c,
303
+ [_hE]: 429,
304
+ },
305
+ [_m, _eT],
306
+ [
307
+ 0,
308
+ [
309
+ 0,
310
+ {
311
+ [_hH]: _xaE,
312
+ },
313
+ ],
314
+ ],
315
+ ];
316
+ TypeRegistry.for(n0).registerError(TooManyRequestsException, __TooManyRequestsException);
317
+ export var ValidationException = [
318
+ -3,
319
+ n0,
320
+ _VE,
321
+ {
322
+ [_e]: _c,
323
+ [_hE]: 400,
324
+ },
325
+ [_m, _r, _fL],
326
+ [[() => SensitiveString, 0], 0, [() => ValidationExceptionFieldList, 0]],
327
+ ];
328
+ TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
329
+ export var ValidationExceptionField = [
330
+ 3,
331
+ n0,
332
+ _VEF,
333
+ 0,
334
+ [_n, _m],
335
+ [0, [() => SensitiveString, 0]],
336
+ ];
337
+ export var __Unit = "unit";
338
+ export var AccountServiceException = [-3, _sm, "AccountServiceException", 0, [], []];
339
+ TypeRegistry.for(_sm).registerError(AccountServiceException, __AccountServiceException);
340
+ export var RegionOptList = [1, n0, _ROL, 0, () => Region];
341
+ export var RegionOptStatusList = 64 | 0;
342
+ export var ValidationExceptionFieldList = [1, n0, _VEFL, 0, [() => ValidationExceptionField, 0]];
343
+ export var AcceptPrimaryEmailUpdate = [
344
+ 9,
345
+ n0,
346
+ _APEU,
347
+ {
348
+ [_h]: ["POST", "/acceptPrimaryEmailUpdate", 200],
349
+ },
350
+ () => AcceptPrimaryEmailUpdateRequest,
351
+ () => AcceptPrimaryEmailUpdateResponse,
352
+ ];
353
+ export var DeleteAlternateContact = [
354
+ 9,
355
+ n0,
356
+ _DAC,
357
+ {
358
+ [_h]: ["POST", "/deleteAlternateContact", 200],
359
+ },
360
+ () => DeleteAlternateContactRequest,
361
+ () => __Unit,
362
+ ];
363
+ export var DisableRegion = [
364
+ 9,
365
+ n0,
366
+ _DR,
367
+ {
368
+ [_h]: ["POST", "/disableRegion", 200],
369
+ },
370
+ () => DisableRegionRequest,
371
+ () => __Unit,
372
+ ];
373
+ export var EnableRegion = [
374
+ 9,
375
+ n0,
376
+ _ER,
377
+ {
378
+ [_h]: ["POST", "/enableRegion", 200],
379
+ },
380
+ () => EnableRegionRequest,
381
+ () => __Unit,
382
+ ];
383
+ export var GetAccountInformation = [
384
+ 9,
385
+ n0,
386
+ _GAI,
387
+ {
388
+ [_h]: ["POST", "/getAccountInformation", 200],
389
+ },
390
+ () => GetAccountInformationRequest,
391
+ () => GetAccountInformationResponse,
392
+ ];
393
+ export var GetAlternateContact = [
394
+ 9,
395
+ n0,
396
+ _GAC,
397
+ {
398
+ [_h]: ["POST", "/getAlternateContact", 200],
399
+ },
400
+ () => GetAlternateContactRequest,
401
+ () => GetAlternateContactResponse,
402
+ ];
403
+ export var GetContactInformation = [
404
+ 9,
405
+ n0,
406
+ _GCI,
407
+ {
408
+ [_h]: ["POST", "/getContactInformation", 200],
409
+ },
410
+ () => GetContactInformationRequest,
411
+ () => GetContactInformationResponse,
412
+ ];
413
+ export var GetPrimaryEmail = [
414
+ 9,
415
+ n0,
416
+ _GPE,
417
+ {
418
+ [_h]: ["POST", "/getPrimaryEmail", 200],
419
+ },
420
+ () => GetPrimaryEmailRequest,
421
+ () => GetPrimaryEmailResponse,
422
+ ];
423
+ export var GetRegionOptStatus = [
424
+ 9,
425
+ n0,
426
+ _GROS,
427
+ {
428
+ [_h]: ["POST", "/getRegionOptStatus", 200],
429
+ },
430
+ () => GetRegionOptStatusRequest,
431
+ () => GetRegionOptStatusResponse,
432
+ ];
433
+ export var ListRegions = [
434
+ 9,
435
+ n0,
436
+ _LR,
437
+ {
438
+ [_h]: ["POST", "/listRegions", 200],
439
+ },
440
+ () => ListRegionsRequest,
441
+ () => ListRegionsResponse,
442
+ ];
443
+ export var PutAccountName = [
444
+ 9,
445
+ n0,
446
+ _PAN,
447
+ {
448
+ [_h]: ["POST", "/putAccountName", 200],
449
+ },
450
+ () => PutAccountNameRequest,
451
+ () => __Unit,
452
+ ];
453
+ export var PutAlternateContact = [
454
+ 9,
455
+ n0,
456
+ _PAC,
457
+ {
458
+ [_h]: ["POST", "/putAlternateContact", 200],
459
+ },
460
+ () => PutAlternateContactRequest,
461
+ () => __Unit,
462
+ ];
463
+ export var PutContactInformation = [
464
+ 9,
465
+ n0,
466
+ _PCI,
467
+ {
468
+ [_h]: ["POST", "/putContactInformation", 200],
469
+ },
470
+ () => PutContactInformationRequest,
471
+ () => __Unit,
472
+ ];
473
+ export var StartPrimaryEmailUpdate = [
474
+ 9,
475
+ n0,
476
+ _SPEU,
477
+ {
478
+ [_h]: ["POST", "/startPrimaryEmailUpdate", 200],
479
+ },
480
+ () => StartPrimaryEmailUpdateRequest,
481
+ () => StartPrimaryEmailUpdateResponse,
482
+ ];
@@ -5,7 +5,7 @@ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-
5
5
  import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
6
6
  import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
7
  import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
8
- import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
8
+ import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, ClientProtocol, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest, HttpResponse, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { AcceptPrimaryEmailUpdateCommandInput, AcceptPrimaryEmailUpdateCommandOutput } from "./commands/AcceptPrimaryEmailUpdateCommand";
11
11
  import { DeleteAlternateContactCommandInput, DeleteAlternateContactCommandOutput } from "./commands/DeleteAlternateContactCommand";
@@ -155,6 +155,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
155
155
  * Optional extensions
156
156
  */
157
157
  extensions?: RuntimeExtension[];
158
+ /**
159
+ * The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
160
+ * may be overridden. A default will always be set by the client.
161
+ * Available options depend on the service's supported protocols and will not be validated by
162
+ * the client.
163
+ * @alpha
164
+ *
165
+ */
166
+ protocol?: ClientProtocol<HttpRequest, HttpResponse>;
158
167
  /**
159
168
  * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
160
169
  */
@@ -622,51 +622,3 @@ export interface ListRegionsResponse {
622
622
  */
623
623
  Regions?: Region[] | undefined;
624
624
  }
625
- /**
626
- * @internal
627
- */
628
- export declare const AcceptPrimaryEmailUpdateRequestFilterSensitiveLog: (obj: AcceptPrimaryEmailUpdateRequest) => any;
629
- /**
630
- * @internal
631
- */
632
- export declare const ValidationExceptionFieldFilterSensitiveLog: (obj: ValidationExceptionField) => any;
633
- /**
634
- * @internal
635
- */
636
- export declare const GetAccountInformationResponseFilterSensitiveLog: (obj: GetAccountInformationResponse) => any;
637
- /**
638
- * @internal
639
- */
640
- export declare const PutAccountNameRequestFilterSensitiveLog: (obj: PutAccountNameRequest) => any;
641
- /**
642
- * @internal
643
- */
644
- export declare const AlternateContactFilterSensitiveLog: (obj: AlternateContact) => any;
645
- /**
646
- * @internal
647
- */
648
- export declare const GetAlternateContactResponseFilterSensitiveLog: (obj: GetAlternateContactResponse) => any;
649
- /**
650
- * @internal
651
- */
652
- export declare const PutAlternateContactRequestFilterSensitiveLog: (obj: PutAlternateContactRequest) => any;
653
- /**
654
- * @internal
655
- */
656
- export declare const ContactInformationFilterSensitiveLog: (obj: ContactInformation) => any;
657
- /**
658
- * @internal
659
- */
660
- export declare const GetContactInformationResponseFilterSensitiveLog: (obj: GetContactInformationResponse) => any;
661
- /**
662
- * @internal
663
- */
664
- export declare const PutContactInformationRequestFilterSensitiveLog: (obj: PutContactInformationRequest) => any;
665
- /**
666
- * @internal
667
- */
668
- export declare const GetPrimaryEmailResponseFilterSensitiveLog: (obj: GetPrimaryEmailResponse) => any;
669
- /**
670
- * @internal
671
- */
672
- export declare const StartPrimaryEmailUpdateRequestFilterSensitiveLog: (obj: StartPrimaryEmailUpdateRequest) => any;
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (config: AccountClientConfig) => {
29
29
  profile?: string;
30
30
  logger: import("@smithy/types").Logger;
31
31
  extensions: import("./runtimeExtensions").RuntimeExtension[];
32
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
32
33
  customUserAgent?: string | import("@smithy/types").UserAgent;
33
34
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
34
35
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
@@ -31,6 +31,7 @@ export declare const getRuntimeConfig: (config: AccountClientConfig) => {
31
31
  profile?: string;
32
32
  logger: import("@smithy/types").Logger;
33
33
  extensions: import("./runtimeExtensions").RuntimeExtension[];
34
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
34
35
  customUserAgent?: string | import("@smithy/types").UserAgent;
35
36
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
36
37
  endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: AccountClientConfig) => {
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
29
29
  extensions: import("./runtimeExtensions").RuntimeExtension[];
30
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
30
31
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
31
32
  customUserAgent?: string | import("@smithy/types").UserAgent;
32
33
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
@@ -14,6 +14,7 @@ export declare const getRuntimeConfig: (config: AccountClientConfig) => {
14
14
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AccountHttpAuthSchemeProvider;
15
15
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
16
  logger: import("@smithy/types").Logger;
17
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
17
18
  serviceId: string;
18
19
  urlParser: import("@smithy/types").UrlParser;
19
20
  utf8Decoder: import("@smithy/types").Decoder;
@@ -0,0 +1,70 @@
1
+ import { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
2
+ export declare var AccountName: StaticSimpleSchema;
3
+ export declare var AddressLine: StaticSimpleSchema;
4
+ export declare var City: StaticSimpleSchema;
5
+ export declare var CompanyName: StaticSimpleSchema;
6
+ export declare var ContactInformationPhoneNumber: StaticSimpleSchema;
7
+ export declare var CountryCode: StaticSimpleSchema;
8
+ export declare var DistrictOrCounty: StaticSimpleSchema;
9
+ export declare var EmailAddress: StaticSimpleSchema;
10
+ export declare var FullName: StaticSimpleSchema;
11
+ export declare var Name: StaticSimpleSchema;
12
+ export declare var Otp: StaticSimpleSchema;
13
+ export declare var PhoneNumber: StaticSimpleSchema;
14
+ export declare var PostalCode: StaticSimpleSchema;
15
+ export declare var PrimaryEmailAddress: StaticSimpleSchema;
16
+ export declare var SensitiveString: StaticSimpleSchema;
17
+ export declare var StateOrRegion: StaticSimpleSchema;
18
+ export declare var Title: StaticSimpleSchema;
19
+ export declare var WebsiteUrl: StaticSimpleSchema;
20
+ export declare var AcceptPrimaryEmailUpdateRequest: StaticStructureSchema;
21
+ export declare var AcceptPrimaryEmailUpdateResponse: StaticStructureSchema;
22
+ export declare var AccessDeniedException: StaticErrorSchema;
23
+ export declare var AlternateContact: StaticStructureSchema;
24
+ export declare var ConflictException: StaticErrorSchema;
25
+ export declare var ContactInformation: StaticStructureSchema;
26
+ export declare var DeleteAlternateContactRequest: StaticStructureSchema;
27
+ export declare var DisableRegionRequest: StaticStructureSchema;
28
+ export declare var EnableRegionRequest: StaticStructureSchema;
29
+ export declare var GetAccountInformationRequest: StaticStructureSchema;
30
+ export declare var GetAccountInformationResponse: StaticStructureSchema;
31
+ export declare var GetAlternateContactRequest: StaticStructureSchema;
32
+ export declare var GetAlternateContactResponse: StaticStructureSchema;
33
+ export declare var GetContactInformationRequest: StaticStructureSchema;
34
+ export declare var GetContactInformationResponse: StaticStructureSchema;
35
+ export declare var GetPrimaryEmailRequest: StaticStructureSchema;
36
+ export declare var GetPrimaryEmailResponse: StaticStructureSchema;
37
+ export declare var GetRegionOptStatusRequest: StaticStructureSchema;
38
+ export declare var GetRegionOptStatusResponse: StaticStructureSchema;
39
+ export declare var InternalServerException: StaticErrorSchema;
40
+ export declare var ListRegionsRequest: StaticStructureSchema;
41
+ export declare var ListRegionsResponse: StaticStructureSchema;
42
+ export declare var PutAccountNameRequest: StaticStructureSchema;
43
+ export declare var PutAlternateContactRequest: StaticStructureSchema;
44
+ export declare var PutContactInformationRequest: StaticStructureSchema;
45
+ export declare var Region: StaticStructureSchema;
46
+ export declare var ResourceNotFoundException: StaticErrorSchema;
47
+ export declare var StartPrimaryEmailUpdateRequest: StaticStructureSchema;
48
+ export declare var StartPrimaryEmailUpdateResponse: StaticStructureSchema;
49
+ export declare var TooManyRequestsException: StaticErrorSchema;
50
+ export declare var ValidationException: StaticErrorSchema;
51
+ export declare var ValidationExceptionField: StaticStructureSchema;
52
+ export declare var __Unit: "unit";
53
+ export declare var AccountServiceException: StaticErrorSchema;
54
+ export declare var RegionOptList: StaticListSchema;
55
+ export declare var RegionOptStatusList: number;
56
+ export declare var ValidationExceptionFieldList: StaticListSchema;
57
+ export declare var AcceptPrimaryEmailUpdate: StaticOperationSchema;
58
+ export declare var DeleteAlternateContact: StaticOperationSchema;
59
+ export declare var DisableRegion: StaticOperationSchema;
60
+ export declare var EnableRegion: StaticOperationSchema;
61
+ export declare var GetAccountInformation: StaticOperationSchema;
62
+ export declare var GetAlternateContact: StaticOperationSchema;
63
+ export declare var GetContactInformation: StaticOperationSchema;
64
+ export declare var GetPrimaryEmail: StaticOperationSchema;
65
+ export declare var GetRegionOptStatus: StaticOperationSchema;
66
+ export declare var ListRegions: StaticOperationSchema;
67
+ export declare var PutAccountName: StaticOperationSchema;
68
+ export declare var PutAlternateContact: StaticOperationSchema;
69
+ export declare var PutContactInformation: StaticOperationSchema;
70
+ export declare var StartPrimaryEmailUpdate: StaticOperationSchema;
@@ -30,10 +30,13 @@ import {
30
30
  BodyLengthCalculator as __BodyLengthCalculator,
31
31
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
32
32
  ChecksumConstructor as __ChecksumConstructor,
33
+ ClientProtocol,
33
34
  Decoder as __Decoder,
34
35
  Encoder as __Encoder,
35
36
  HashConstructor as __HashConstructor,
36
37
  HttpHandlerOptions as __HttpHandlerOptions,
38
+ HttpRequest,
39
+ HttpResponse,
37
40
  Logger as __Logger,
38
41
  Provider as __Provider,
39
42
  Provider,
@@ -162,6 +165,7 @@ export interface ClientDefaults
162
165
  retryMode?: string | __Provider<string>;
163
166
  logger?: __Logger;
164
167
  extensions?: RuntimeExtension[];
168
+ protocol?: ClientProtocol<HttpRequest, HttpResponse>;
165
169
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
166
170
  }
167
171
  export type AccountClientConfigType = Partial<