@aws-sdk/client-account 3.957.0 → 3.962.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 CHANGED
@@ -9,10 +9,8 @@ AWS SDK for JavaScript Account Client for Node.js, Browser and React Native.
9
9
  <p>Operations for Amazon Web Services Account Management</p>
10
10
 
11
11
  ## Installing
12
-
13
12
  To install this package, simply type add or install @aws-sdk/client-account
14
13
  using your favorite package manager:
15
-
16
14
  - `npm install @aws-sdk/client-account`
17
15
  - `yarn add @aws-sdk/client-account`
18
16
  - `pnpm add @aws-sdk/client-account`
@@ -48,9 +46,7 @@ To send a request, you:
48
46
  // a client can be shared by different commands.
49
47
  const client = new AccountClient({ region: "REGION" });
50
48
 
51
- const params = {
52
- /** input parameters */
53
- };
49
+ const params = { /** input parameters */ };
54
50
  const command = new ListRegionsCommand(params);
55
51
  ```
56
52
 
@@ -209,7 +205,6 @@ AcceptPrimaryEmailUpdate
209
205
  </summary>
210
206
 
211
207
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/account/command/AcceptPrimaryEmailUpdateCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-account/Interface/AcceptPrimaryEmailUpdateCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-account/Interface/AcceptPrimaryEmailUpdateCommandOutput/)
212
-
213
208
  </details>
214
209
  <details>
215
210
  <summary>
@@ -217,7 +212,6 @@ DeleteAlternateContact
217
212
  </summary>
218
213
 
219
214
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/account/command/DeleteAlternateContactCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-account/Interface/DeleteAlternateContactCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-account/Interface/DeleteAlternateContactCommandOutput/)
220
-
221
215
  </details>
222
216
  <details>
223
217
  <summary>
@@ -225,7 +219,6 @@ DisableRegion
225
219
  </summary>
226
220
 
227
221
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/account/command/DisableRegionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-account/Interface/DisableRegionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-account/Interface/DisableRegionCommandOutput/)
228
-
229
222
  </details>
230
223
  <details>
231
224
  <summary>
@@ -233,7 +226,6 @@ EnableRegion
233
226
  </summary>
234
227
 
235
228
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/account/command/EnableRegionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-account/Interface/EnableRegionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-account/Interface/EnableRegionCommandOutput/)
236
-
237
229
  </details>
238
230
  <details>
239
231
  <summary>
@@ -241,7 +233,6 @@ GetAccountInformation
241
233
  </summary>
242
234
 
243
235
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/account/command/GetAccountInformationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-account/Interface/GetAccountInformationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-account/Interface/GetAccountInformationCommandOutput/)
244
-
245
236
  </details>
246
237
  <details>
247
238
  <summary>
@@ -249,7 +240,6 @@ GetAlternateContact
249
240
  </summary>
250
241
 
251
242
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/account/command/GetAlternateContactCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-account/Interface/GetAlternateContactCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-account/Interface/GetAlternateContactCommandOutput/)
252
-
253
243
  </details>
254
244
  <details>
255
245
  <summary>
@@ -257,7 +247,6 @@ GetContactInformation
257
247
  </summary>
258
248
 
259
249
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/account/command/GetContactInformationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-account/Interface/GetContactInformationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-account/Interface/GetContactInformationCommandOutput/)
260
-
261
250
  </details>
262
251
  <details>
263
252
  <summary>
@@ -265,7 +254,6 @@ GetGovCloudAccountInformation
265
254
  </summary>
266
255
 
267
256
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/account/command/GetGovCloudAccountInformationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-account/Interface/GetGovCloudAccountInformationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-account/Interface/GetGovCloudAccountInformationCommandOutput/)
268
-
269
257
  </details>
270
258
  <details>
271
259
  <summary>
@@ -273,7 +261,6 @@ GetPrimaryEmail
273
261
  </summary>
274
262
 
275
263
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/account/command/GetPrimaryEmailCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-account/Interface/GetPrimaryEmailCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-account/Interface/GetPrimaryEmailCommandOutput/)
276
-
277
264
  </details>
278
265
  <details>
279
266
  <summary>
@@ -281,7 +268,6 @@ GetRegionOptStatus
281
268
  </summary>
282
269
 
283
270
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/account/command/GetRegionOptStatusCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-account/Interface/GetRegionOptStatusCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-account/Interface/GetRegionOptStatusCommandOutput/)
284
-
285
271
  </details>
286
272
  <details>
287
273
  <summary>
@@ -289,7 +275,6 @@ ListRegions
289
275
  </summary>
290
276
 
291
277
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/account/command/ListRegionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-account/Interface/ListRegionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-account/Interface/ListRegionsCommandOutput/)
292
-
293
278
  </details>
294
279
  <details>
295
280
  <summary>
@@ -297,7 +282,6 @@ PutAccountName
297
282
  </summary>
298
283
 
299
284
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/account/command/PutAccountNameCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-account/Interface/PutAccountNameCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-account/Interface/PutAccountNameCommandOutput/)
300
-
301
285
  </details>
302
286
  <details>
303
287
  <summary>
@@ -305,7 +289,6 @@ PutAlternateContact
305
289
  </summary>
306
290
 
307
291
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/account/command/PutAlternateContactCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-account/Interface/PutAlternateContactCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-account/Interface/PutAlternateContactCommandOutput/)
308
-
309
292
  </details>
310
293
  <details>
311
294
  <summary>
@@ -313,7 +296,6 @@ PutContactInformation
313
296
  </summary>
314
297
 
315
298
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/account/command/PutContactInformationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-account/Interface/PutContactInformationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-account/Interface/PutContactInformationCommandOutput/)
316
-
317
299
  </details>
318
300
  <details>
319
301
  <summary>
@@ -321,5 +303,4 @@ StartPrimaryEmailUpdate
321
303
  </summary>
322
304
 
323
305
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/account/command/StartPrimaryEmailUpdateCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-account/Interface/StartPrimaryEmailUpdateCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-account/Interface/StartPrimaryEmailUpdateCommandOutput/)
324
-
325
306
  </details>
@@ -6,10 +6,9 @@ const util_middleware_1 = require("@smithy/util-middleware");
6
6
  const defaultAccountHttpAuthSchemeParametersProvider = async (config, context, input) => {
7
7
  return {
8
8
  operation: (0, util_middleware_1.getSmithyContext)(context).operation,
9
- region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||
10
- (() => {
11
- throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
12
- })(),
9
+ region: await (0, util_middleware_1.normalizeProvider)(config.region)() || (() => {
10
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
11
+ })(),
13
12
  };
14
13
  };
15
14
  exports.defaultAccountHttpAuthSchemeParametersProvider = defaultAccountHttpAuthSchemeParametersProvider;
package/dist-cjs/index.js CHANGED
@@ -341,311 +341,242 @@ var SensitiveString = [0, n0, _SS, 8, 0];
341
341
  var StateOrRegion = [0, n0, _SOR, 8, 0];
342
342
  var Title = [0, n0, _T, 8, 0];
343
343
  var WebsiteUrl = [0, n0, _WU, 8, 0];
344
- var AcceptPrimaryEmailUpdateRequest$ = [
345
- 3,
346
- n0,
347
- _APEUR,
344
+ var AcceptPrimaryEmailUpdateRequest$ = [3, n0, _APEUR,
348
345
  0,
349
346
  [_AI, _PE, _O],
350
- [0, [() => PrimaryEmailAddress, 0], [() => Otp, 0]],
347
+ [0, [() => PrimaryEmailAddress, 0], [() => Otp, 0]]
351
348
  ];
352
- var AcceptPrimaryEmailUpdateResponse$ = [3, n0, _APEURc, 0, [_S], [0]];
353
- var AccessDeniedException$ = [
354
- -3,
355
- n0,
356
- _ADE,
349
+ var AcceptPrimaryEmailUpdateResponse$ = [3, n0, _APEURc,
350
+ 0,
351
+ [_S],
352
+ [0]
353
+ ];
354
+ var AccessDeniedException$ = [-3, n0, _ADE,
357
355
  { [_e]: _c, [_hE]: 403 },
358
356
  [_m, _eT],
359
- [0, [0, { [_hH]: _xaE }]],
357
+ [0, [0, { [_hH]: _xaE }]]
360
358
  ];
361
359
  schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
362
- var AlternateContact$ = [
363
- 3,
364
- n0,
365
- _AC,
360
+ var AlternateContact$ = [3, n0, _AC,
366
361
  0,
367
362
  [_N, _T, _EA, _PN, _ACT],
368
- [[() => Name, 0], [() => Title, 0], [() => EmailAddress, 0], [() => PhoneNumber, 0], 0],
363
+ [[() => Name, 0], [() => Title, 0], [() => EmailAddress, 0], [() => PhoneNumber, 0], 0]
369
364
  ];
370
- var ConflictException$ = [
371
- -3,
372
- n0,
373
- _CE,
365
+ var ConflictException$ = [-3, n0, _CE,
374
366
  { [_e]: _c, [_hE]: 409 },
375
367
  [_m, _eT],
376
- [0, [0, { [_hH]: _xaE }]],
368
+ [0, [0, { [_hH]: _xaE }]]
377
369
  ];
378
370
  schema.TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
379
- var ContactInformation$ = [
380
- 3,
381
- n0,
382
- _CI,
371
+ var ContactInformation$ = [3, n0, _CI,
383
372
  0,
384
373
  [_FN, _ALd, _ALdd, _ALddr, _C, _SOR, _DOC, _PC, _CC, _PN, _CN, _WU],
385
- [
386
- [() => FullName, 0],
387
- [() => AddressLine, 0],
388
- [() => AddressLine, 0],
389
- [() => AddressLine, 0],
390
- [() => City, 0],
391
- [() => StateOrRegion, 0],
392
- [() => DistrictOrCounty, 0],
393
- [() => PostalCode, 0],
394
- [() => CountryCode, 0],
395
- [() => ContactInformationPhoneNumber, 0],
396
- [() => CompanyName, 0],
397
- [() => WebsiteUrl, 0],
398
- ],
399
- ];
400
- var DeleteAlternateContactRequest$ = [3, n0, _DACR, 0, [_ACT, _AI], [0, 0]];
401
- var DisableRegionRequest$ = [3, n0, _DRR, 0, [_AI, _RN], [0, 0]];
402
- var EnableRegionRequest$ = [3, n0, _ERR, 0, [_AI, _RN], [0, 0]];
403
- var GetAccountInformationRequest$ = [3, n0, _GAIR, 0, [_AI], [0]];
404
- var GetAccountInformationResponse$ = [
405
- 3,
406
- n0,
407
- _GAIRe,
374
+ [[() => FullName, 0], [() => AddressLine, 0], [() => AddressLine, 0], [() => AddressLine, 0], [() => City, 0], [() => StateOrRegion, 0], [() => DistrictOrCounty, 0], [() => PostalCode, 0], [() => CountryCode, 0], [() => ContactInformationPhoneNumber, 0], [() => CompanyName, 0], [() => WebsiteUrl, 0]]
375
+ ];
376
+ var DeleteAlternateContactRequest$ = [3, n0, _DACR,
377
+ 0,
378
+ [_ACT, _AI],
379
+ [0, 0]
380
+ ];
381
+ var DisableRegionRequest$ = [3, n0, _DRR,
382
+ 0,
383
+ [_AI, _RN],
384
+ [0, 0]
385
+ ];
386
+ var EnableRegionRequest$ = [3, n0, _ERR,
387
+ 0,
388
+ [_AI, _RN],
389
+ [0, 0]
390
+ ];
391
+ var GetAccountInformationRequest$ = [3, n0, _GAIR,
392
+ 0,
393
+ [_AI],
394
+ [0]
395
+ ];
396
+ var GetAccountInformationResponse$ = [3, n0, _GAIRe,
408
397
  0,
409
398
  [_AI, _AN, _ACD],
410
- [0, [() => AccountName, 0], 5],
399
+ [0, [() => AccountName, 0], 5]
411
400
  ];
412
- var GetAlternateContactRequest$ = [3, n0, _GACR, 0, [_ACT, _AI], [0, 0]];
413
- var GetAlternateContactResponse$ = [
414
- 3,
415
- n0,
416
- _GACRe,
401
+ var GetAlternateContactRequest$ = [3, n0, _GACR,
402
+ 0,
403
+ [_ACT, _AI],
404
+ [0, 0]
405
+ ];
406
+ var GetAlternateContactResponse$ = [3, n0, _GACRe,
417
407
  0,
418
408
  [_AC],
419
- [[() => AlternateContact$, 0]],
409
+ [[() => AlternateContact$, 0]]
420
410
  ];
421
- var GetContactInformationRequest$ = [3, n0, _GCIR, 0, [_AI], [0]];
422
- var GetContactInformationResponse$ = [
423
- 3,
424
- n0,
425
- _GCIRe,
411
+ var GetContactInformationRequest$ = [3, n0, _GCIR,
412
+ 0,
413
+ [_AI],
414
+ [0]
415
+ ];
416
+ var GetContactInformationResponse$ = [3, n0, _GCIRe,
426
417
  0,
427
418
  [_CI],
428
- [[() => ContactInformation$, 0]],
429
- ];
430
- var GetGovCloudAccountInformationRequest$ = [3, n0, _GGCAIR, 0, [_SAI], [0]];
431
- var GetGovCloudAccountInformationResponse$ = [3, n0, _GGCAIRe, 0, [_GCAI, _AS], [0, 0]];
432
- var GetPrimaryEmailRequest$ = [3, n0, _GPER, 0, [_AI], [0]];
433
- var GetPrimaryEmailResponse$ = [
434
- 3,
435
- n0,
436
- _GPERe,
419
+ [[() => ContactInformation$, 0]]
420
+ ];
421
+ var GetGovCloudAccountInformationRequest$ = [3, n0, _GGCAIR,
422
+ 0,
423
+ [_SAI],
424
+ [0]
425
+ ];
426
+ var GetGovCloudAccountInformationResponse$ = [3, n0, _GGCAIRe,
427
+ 0,
428
+ [_GCAI, _AS],
429
+ [0, 0]
430
+ ];
431
+ var GetPrimaryEmailRequest$ = [3, n0, _GPER,
432
+ 0,
433
+ [_AI],
434
+ [0]
435
+ ];
436
+ var GetPrimaryEmailResponse$ = [3, n0, _GPERe,
437
437
  0,
438
438
  [_PE],
439
- [[() => PrimaryEmailAddress, 0]],
440
- ];
441
- var GetRegionOptStatusRequest$ = [3, n0, _GROSR, 0, [_AI, _RN], [0, 0]];
442
- var GetRegionOptStatusResponse$ = [3, n0, _GROSRe, 0, [_RN, _ROS], [0, 0]];
443
- var InternalServerException$ = [
444
- -3,
445
- n0,
446
- _ISE,
439
+ [[() => PrimaryEmailAddress, 0]]
440
+ ];
441
+ var GetRegionOptStatusRequest$ = [3, n0, _GROSR,
442
+ 0,
443
+ [_AI, _RN],
444
+ [0, 0]
445
+ ];
446
+ var GetRegionOptStatusResponse$ = [3, n0, _GROSRe,
447
+ 0,
448
+ [_RN, _ROS],
449
+ [0, 0]
450
+ ];
451
+ var InternalServerException$ = [-3, n0, _ISE,
447
452
  { [_e]: _s, [_hE]: 500 },
448
453
  [_m, _eT],
449
- [0, [0, { [_hH]: _xaE }]],
454
+ [0, [0, { [_hH]: _xaE }]]
450
455
  ];
451
456
  schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
452
- var ListRegionsRequest$ = [3, n0, _LRR, 0, [_AI, _MR, _NT, _ROSC], [0, 1, 0, 64 | 0]];
453
- var ListRegionsResponse$ = [3, n0, _LRRi, 0, [_NT, _R], [0, () => RegionOptList]];
454
- var PutAccountNameRequest$ = [3, n0, _PANR, 0, [_AN, _AI], [[() => AccountName, 0], 0]];
455
- var PutAlternateContactRequest$ = [
456
- 3,
457
- n0,
458
- _PACR,
457
+ var ListRegionsRequest$ = [3, n0, _LRR,
458
+ 0,
459
+ [_AI, _MR, _NT, _ROSC],
460
+ [0, 1, 0, 64 | 0]
461
+ ];
462
+ var ListRegionsResponse$ = [3, n0, _LRRi,
463
+ 0,
464
+ [_NT, _R],
465
+ [0, () => RegionOptList]
466
+ ];
467
+ var PutAccountNameRequest$ = [3, n0, _PANR,
468
+ 0,
469
+ [_AN, _AI],
470
+ [[() => AccountName, 0], 0]
471
+ ];
472
+ var PutAlternateContactRequest$ = [3, n0, _PACR,
459
473
  0,
460
474
  [_N, _T, _EA, _PN, _ACT, _AI],
461
- [[() => Name, 0], [() => Title, 0], [() => EmailAddress, 0], [() => PhoneNumber, 0], 0, 0],
475
+ [[() => Name, 0], [() => Title, 0], [() => EmailAddress, 0], [() => PhoneNumber, 0], 0, 0]
462
476
  ];
463
- var PutContactInformationRequest$ = [
464
- 3,
465
- n0,
466
- _PCIR,
477
+ var PutContactInformationRequest$ = [3, n0, _PCIR,
467
478
  0,
468
479
  [_CI, _AI],
469
- [[() => ContactInformation$, 0], 0],
480
+ [[() => ContactInformation$, 0], 0]
470
481
  ];
471
- var Region$ = [3, n0, _Re, 0, [_RN, _ROS], [0, 0]];
472
- var ResourceNotFoundException$ = [
473
- -3,
474
- n0,
475
- _RNFE,
482
+ var Region$ = [3, n0, _Re,
483
+ 0,
484
+ [_RN, _ROS],
485
+ [0, 0]
486
+ ];
487
+ var ResourceNotFoundException$ = [-3, n0, _RNFE,
476
488
  { [_e]: _c, [_hE]: 404 },
477
489
  [_m, _eT],
478
- [0, [0, { [_hH]: _xaE }]],
490
+ [0, [0, { [_hH]: _xaE }]]
479
491
  ];
480
492
  schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
481
- var ResourceUnavailableException$ = [
482
- -3,
483
- n0,
484
- _RUE,
493
+ var ResourceUnavailableException$ = [-3, n0, _RUE,
485
494
  { [_e]: _c, [_hE]: 424 },
486
495
  [_m, _eT],
487
- [0, [0, { [_hH]: _xaE }]],
496
+ [0, [0, { [_hH]: _xaE }]]
488
497
  ];
489
498
  schema.TypeRegistry.for(n0).registerError(ResourceUnavailableException$, ResourceUnavailableException);
490
- var StartPrimaryEmailUpdateRequest$ = [
491
- 3,
492
- n0,
493
- _SPEUR,
499
+ var StartPrimaryEmailUpdateRequest$ = [3, n0, _SPEUR,
494
500
  0,
495
501
  [_AI, _PE],
496
- [0, [() => PrimaryEmailAddress, 0]],
502
+ [0, [() => PrimaryEmailAddress, 0]]
503
+ ];
504
+ var StartPrimaryEmailUpdateResponse$ = [3, n0, _SPEURt,
505
+ 0,
506
+ [_S],
507
+ [0]
497
508
  ];
498
- var StartPrimaryEmailUpdateResponse$ = [3, n0, _SPEURt, 0, [_S], [0]];
499
- var TooManyRequestsException$ = [
500
- -3,
501
- n0,
502
- _TMRE,
509
+ var TooManyRequestsException$ = [-3, n0, _TMRE,
503
510
  { [_e]: _c, [_hE]: 429 },
504
511
  [_m, _eT],
505
- [0, [0, { [_hH]: _xaE }]],
512
+ [0, [0, { [_hH]: _xaE }]]
506
513
  ];
507
514
  schema.TypeRegistry.for(n0).registerError(TooManyRequestsException$, TooManyRequestsException);
508
- var ValidationException$ = [
509
- -3,
510
- n0,
511
- _VE,
515
+ var ValidationException$ = [-3, n0, _VE,
512
516
  { [_e]: _c, [_hE]: 400 },
513
517
  [_m, _r, _fL],
514
- [[() => SensitiveString, 0], 0, [() => ValidationExceptionFieldList, 0]],
518
+ [[() => SensitiveString, 0], 0, [() => ValidationExceptionFieldList, 0]]
515
519
  ];
516
520
  schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
517
- var ValidationExceptionField$ = [
518
- 3,
519
- n0,
520
- _VEF,
521
+ var ValidationExceptionField$ = [3, n0, _VEF,
521
522
  0,
522
523
  [_n, _m],
523
- [0, [() => SensitiveString, 0]],
524
+ [0, [() => SensitiveString, 0]]
524
525
  ];
525
526
  var __Unit = "unit";
526
527
  var AccountServiceException$ = [-3, _sm, "AccountServiceException", 0, [], []];
527
528
  schema.TypeRegistry.for(_sm).registerError(AccountServiceException$, AccountServiceException);
528
- var RegionOptList = [1, n0, _ROL, 0, () => Region$];
529
- var ValidationExceptionFieldList = [1, n0, _VEFL, 0, [() => ValidationExceptionField$, 0]];
530
- var AcceptPrimaryEmailUpdate$ = [
531
- 9,
532
- n0,
533
- _APEU,
534
- { [_h]: ["POST", "/acceptPrimaryEmailUpdate", 200] },
535
- () => AcceptPrimaryEmailUpdateRequest$,
536
- () => AcceptPrimaryEmailUpdateResponse$,
537
- ];
538
- var DeleteAlternateContact$ = [
539
- 9,
540
- n0,
541
- _DAC,
542
- { [_h]: ["POST", "/deleteAlternateContact", 200] },
543
- () => DeleteAlternateContactRequest$,
544
- () => __Unit,
545
- ];
546
- var DisableRegion$ = [
547
- 9,
548
- n0,
549
- _DR,
550
- { [_h]: ["POST", "/disableRegion", 200] },
551
- () => DisableRegionRequest$,
552
- () => __Unit,
553
- ];
554
- var EnableRegion$ = [
555
- 9,
556
- n0,
557
- _ER,
558
- { [_h]: ["POST", "/enableRegion", 200] },
559
- () => EnableRegionRequest$,
560
- () => __Unit,
561
- ];
562
- var GetAccountInformation$ = [
563
- 9,
564
- n0,
565
- _GAI,
566
- { [_h]: ["POST", "/getAccountInformation", 200] },
567
- () => GetAccountInformationRequest$,
568
- () => GetAccountInformationResponse$,
569
- ];
570
- var GetAlternateContact$ = [
571
- 9,
572
- n0,
573
- _GAC,
574
- { [_h]: ["POST", "/getAlternateContact", 200] },
575
- () => GetAlternateContactRequest$,
576
- () => GetAlternateContactResponse$,
577
- ];
578
- var GetContactInformation$ = [
579
- 9,
580
- n0,
581
- _GCI,
582
- { [_h]: ["POST", "/getContactInformation", 200] },
583
- () => GetContactInformationRequest$,
584
- () => GetContactInformationResponse$,
585
- ];
586
- var GetGovCloudAccountInformation$ = [
587
- 9,
588
- n0,
589
- _GGCAI,
590
- { [_h]: ["POST", "/getGovCloudAccountInformation", 200] },
591
- () => GetGovCloudAccountInformationRequest$,
592
- () => GetGovCloudAccountInformationResponse$,
593
- ];
594
- var GetPrimaryEmail$ = [
595
- 9,
596
- n0,
597
- _GPE,
598
- { [_h]: ["POST", "/getPrimaryEmail", 200] },
599
- () => GetPrimaryEmailRequest$,
600
- () => GetPrimaryEmailResponse$,
601
- ];
602
- var GetRegionOptStatus$ = [
603
- 9,
604
- n0,
605
- _GROS,
606
- { [_h]: ["POST", "/getRegionOptStatus", 200] },
607
- () => GetRegionOptStatusRequest$,
608
- () => GetRegionOptStatusResponse$,
609
- ];
610
- var ListRegions$ = [
611
- 9,
612
- n0,
613
- _LR,
614
- { [_h]: ["POST", "/listRegions", 200] },
615
- () => ListRegionsRequest$,
616
- () => ListRegionsResponse$,
617
- ];
618
- var PutAccountName$ = [
619
- 9,
620
- n0,
621
- _PAN,
622
- { [_h]: ["POST", "/putAccountName", 200] },
623
- () => PutAccountNameRequest$,
624
- () => __Unit,
625
- ];
626
- var PutAlternateContact$ = [
627
- 9,
628
- n0,
629
- _PAC,
630
- { [_h]: ["POST", "/putAlternateContact", 200] },
631
- () => PutAlternateContactRequest$,
632
- () => __Unit,
633
- ];
634
- var PutContactInformation$ = [
635
- 9,
636
- n0,
637
- _PCI,
638
- { [_h]: ["POST", "/putContactInformation", 200] },
639
- () => PutContactInformationRequest$,
640
- () => __Unit,
641
- ];
642
- var StartPrimaryEmailUpdate$ = [
643
- 9,
644
- n0,
645
- _SPEU,
646
- { [_h]: ["POST", "/startPrimaryEmailUpdate", 200] },
647
- () => StartPrimaryEmailUpdateRequest$,
648
- () => StartPrimaryEmailUpdateResponse$,
529
+ var RegionOptList = [1, n0, _ROL,
530
+ 0, () => Region$
531
+ ];
532
+ var ValidationExceptionFieldList = [1, n0, _VEFL,
533
+ 0, [() => ValidationExceptionField$,
534
+ 0]
535
+ ];
536
+ var AcceptPrimaryEmailUpdate$ = [9, n0, _APEU,
537
+ { [_h]: ["POST", "/acceptPrimaryEmailUpdate", 200] }, () => AcceptPrimaryEmailUpdateRequest$, () => AcceptPrimaryEmailUpdateResponse$
538
+ ];
539
+ var DeleteAlternateContact$ = [9, n0, _DAC,
540
+ { [_h]: ["POST", "/deleteAlternateContact", 200] }, () => DeleteAlternateContactRequest$, () => __Unit
541
+ ];
542
+ var DisableRegion$ = [9, n0, _DR,
543
+ { [_h]: ["POST", "/disableRegion", 200] }, () => DisableRegionRequest$, () => __Unit
544
+ ];
545
+ var EnableRegion$ = [9, n0, _ER,
546
+ { [_h]: ["POST", "/enableRegion", 200] }, () => EnableRegionRequest$, () => __Unit
547
+ ];
548
+ var GetAccountInformation$ = [9, n0, _GAI,
549
+ { [_h]: ["POST", "/getAccountInformation", 200] }, () => GetAccountInformationRequest$, () => GetAccountInformationResponse$
550
+ ];
551
+ var GetAlternateContact$ = [9, n0, _GAC,
552
+ { [_h]: ["POST", "/getAlternateContact", 200] }, () => GetAlternateContactRequest$, () => GetAlternateContactResponse$
553
+ ];
554
+ var GetContactInformation$ = [9, n0, _GCI,
555
+ { [_h]: ["POST", "/getContactInformation", 200] }, () => GetContactInformationRequest$, () => GetContactInformationResponse$
556
+ ];
557
+ var GetGovCloudAccountInformation$ = [9, n0, _GGCAI,
558
+ { [_h]: ["POST", "/getGovCloudAccountInformation", 200] }, () => GetGovCloudAccountInformationRequest$, () => GetGovCloudAccountInformationResponse$
559
+ ];
560
+ var GetPrimaryEmail$ = [9, n0, _GPE,
561
+ { [_h]: ["POST", "/getPrimaryEmail", 200] }, () => GetPrimaryEmailRequest$, () => GetPrimaryEmailResponse$
562
+ ];
563
+ var GetRegionOptStatus$ = [9, n0, _GROS,
564
+ { [_h]: ["POST", "/getRegionOptStatus", 200] }, () => GetRegionOptStatusRequest$, () => GetRegionOptStatusResponse$
565
+ ];
566
+ var ListRegions$ = [9, n0, _LR,
567
+ { [_h]: ["POST", "/listRegions", 200] }, () => ListRegionsRequest$, () => ListRegionsResponse$
568
+ ];
569
+ var PutAccountName$ = [9, n0, _PAN,
570
+ { [_h]: ["POST", "/putAccountName", 200] }, () => PutAccountNameRequest$, () => __Unit
571
+ ];
572
+ var PutAlternateContact$ = [9, n0, _PAC,
573
+ { [_h]: ["POST", "/putAlternateContact", 200] }, () => PutAlternateContactRequest$, () => __Unit
574
+ ];
575
+ var PutContactInformation$ = [9, n0, _PCI,
576
+ { [_h]: ["POST", "/putContactInformation", 200] }, () => PutContactInformationRequest$, () => __Unit
577
+ ];
578
+ var StartPrimaryEmailUpdate$ = [9, n0, _SPEU,
579
+ { [_h]: ["POST", "/startPrimaryEmailUpdate", 200] }, () => StartPrimaryEmailUpdateRequest$, () => StartPrimaryEmailUpdateResponse$
649
580
  ];
650
581
 
651
582
  class AcceptPrimaryEmailUpdateCommand extends smithyClient.Command
@@ -24,8 +24,7 @@ const getRuntimeConfig = (config) => {
24
24
  defaultsMode,
25
25
  bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
26
26
  credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
27
- defaultUserAgentProvider: config?.defaultUserAgentProvider ??
28
- (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
27
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
29
28
  maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
30
29
  region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
31
30
  requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
@@ -34,11 +34,9 @@ const getRuntimeConfig = (config) => {
34
34
  authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
35
35
  bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
36
36
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
37
- defaultUserAgentProvider: config?.defaultUserAgentProvider ??
38
- (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
37
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
39
38
  maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
40
- region: config?.region ??
41
- (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
39
+ region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
42
40
  requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
43
41
  retryMode: config?.retryMode ??
44
42
  (0, node_config_provider_1.loadConfig)({
@@ -3,10 +3,9 @@ import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
3
3
  export const defaultAccountHttpAuthSchemeParametersProvider = async (config, context, input) => {
4
4
  return {
5
5
  operation: getSmithyContext(context).operation,
6
- region: (await normalizeProvider(config.region)()) ||
7
- (() => {
8
- throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
9
- })(),
6
+ region: await normalizeProvider(config.region)() || (() => {
7
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
8
+ })(),
10
9
  };
11
10
  };
12
11
  function createAwsAuthSigv4HttpAuthOption(authParameters) {
@@ -20,8 +20,7 @@ export const getRuntimeConfig = (config) => {
20
20
  defaultsMode,
21
21
  bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
22
22
  credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
23
- defaultUserAgentProvider: config?.defaultUserAgentProvider ??
24
- createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
23
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
25
24
  maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
26
25
  region: config?.region ?? invalidProvider("Region is missing"),
27
26
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
@@ -1,7 +1,7 @@
1
1
  import packageInfo from "../package.json";
2
- import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
2
+ import { emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core";
3
3
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
4
- import { NODE_APP_ID_CONFIG_OPTIONS, createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-node";
4
+ import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
5
5
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
6
6
  import { Hash } from "@smithy/hash-node";
7
7
  import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
@@ -30,11 +30,9 @@ export const getRuntimeConfig = (config) => {
30
30
  authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
31
31
  bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
32
32
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
33
- defaultUserAgentProvider: config?.defaultUserAgentProvider ??
34
- createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
33
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
35
34
  maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
36
- region: config?.region ??
37
- loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
35
+ region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
38
36
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
39
37
  retryMode: config?.retryMode ??
40
38
  loadNodeConfig({
@@ -120,310 +120,241 @@ var SensitiveString = [0, n0, _SS, 8, 0];
120
120
  var StateOrRegion = [0, n0, _SOR, 8, 0];
121
121
  var Title = [0, n0, _T, 8, 0];
122
122
  var WebsiteUrl = [0, n0, _WU, 8, 0];
123
- export var AcceptPrimaryEmailUpdateRequest$ = [
124
- 3,
125
- n0,
126
- _APEUR,
123
+ export var AcceptPrimaryEmailUpdateRequest$ = [3, n0, _APEUR,
127
124
  0,
128
125
  [_AI, _PE, _O],
129
- [0, [() => PrimaryEmailAddress, 0], [() => Otp, 0]],
126
+ [0, [() => PrimaryEmailAddress, 0], [() => Otp, 0]]
130
127
  ];
131
- export var AcceptPrimaryEmailUpdateResponse$ = [3, n0, _APEURc, 0, [_S], [0]];
132
- export var AccessDeniedException$ = [
133
- -3,
134
- n0,
135
- _ADE,
128
+ export var AcceptPrimaryEmailUpdateResponse$ = [3, n0, _APEURc,
129
+ 0,
130
+ [_S],
131
+ [0]
132
+ ];
133
+ export var AccessDeniedException$ = [-3, n0, _ADE,
136
134
  { [_e]: _c, [_hE]: 403 },
137
135
  [_m, _eT],
138
- [0, [0, { [_hH]: _xaE }]],
136
+ [0, [0, { [_hH]: _xaE }]]
139
137
  ];
140
138
  TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
141
- export var AlternateContact$ = [
142
- 3,
143
- n0,
144
- _AC,
139
+ export var AlternateContact$ = [3, n0, _AC,
145
140
  0,
146
141
  [_N, _T, _EA, _PN, _ACT],
147
- [[() => Name, 0], [() => Title, 0], [() => EmailAddress, 0], [() => PhoneNumber, 0], 0],
142
+ [[() => Name, 0], [() => Title, 0], [() => EmailAddress, 0], [() => PhoneNumber, 0], 0]
148
143
  ];
149
- export var ConflictException$ = [
150
- -3,
151
- n0,
152
- _CE,
144
+ export var ConflictException$ = [-3, n0, _CE,
153
145
  { [_e]: _c, [_hE]: 409 },
154
146
  [_m, _eT],
155
- [0, [0, { [_hH]: _xaE }]],
147
+ [0, [0, { [_hH]: _xaE }]]
156
148
  ];
157
149
  TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
158
- export var ContactInformation$ = [
159
- 3,
160
- n0,
161
- _CI,
150
+ export var ContactInformation$ = [3, n0, _CI,
162
151
  0,
163
152
  [_FN, _ALd, _ALdd, _ALddr, _C, _SOR, _DOC, _PC, _CC, _PN, _CN, _WU],
164
- [
165
- [() => FullName, 0],
166
- [() => AddressLine, 0],
167
- [() => AddressLine, 0],
168
- [() => AddressLine, 0],
169
- [() => City, 0],
170
- [() => StateOrRegion, 0],
171
- [() => DistrictOrCounty, 0],
172
- [() => PostalCode, 0],
173
- [() => CountryCode, 0],
174
- [() => ContactInformationPhoneNumber, 0],
175
- [() => CompanyName, 0],
176
- [() => WebsiteUrl, 0],
177
- ],
178
- ];
179
- export var DeleteAlternateContactRequest$ = [3, n0, _DACR, 0, [_ACT, _AI], [0, 0]];
180
- export var DisableRegionRequest$ = [3, n0, _DRR, 0, [_AI, _RN], [0, 0]];
181
- export var EnableRegionRequest$ = [3, n0, _ERR, 0, [_AI, _RN], [0, 0]];
182
- export var GetAccountInformationRequest$ = [3, n0, _GAIR, 0, [_AI], [0]];
183
- export var GetAccountInformationResponse$ = [
184
- 3,
185
- n0,
186
- _GAIRe,
153
+ [[() => FullName, 0], [() => AddressLine, 0], [() => AddressLine, 0], [() => AddressLine, 0], [() => City, 0], [() => StateOrRegion, 0], [() => DistrictOrCounty, 0], [() => PostalCode, 0], [() => CountryCode, 0], [() => ContactInformationPhoneNumber, 0], [() => CompanyName, 0], [() => WebsiteUrl, 0]]
154
+ ];
155
+ export var DeleteAlternateContactRequest$ = [3, n0, _DACR,
156
+ 0,
157
+ [_ACT, _AI],
158
+ [0, 0]
159
+ ];
160
+ export var DisableRegionRequest$ = [3, n0, _DRR,
161
+ 0,
162
+ [_AI, _RN],
163
+ [0, 0]
164
+ ];
165
+ export var EnableRegionRequest$ = [3, n0, _ERR,
166
+ 0,
167
+ [_AI, _RN],
168
+ [0, 0]
169
+ ];
170
+ export var GetAccountInformationRequest$ = [3, n0, _GAIR,
171
+ 0,
172
+ [_AI],
173
+ [0]
174
+ ];
175
+ export var GetAccountInformationResponse$ = [3, n0, _GAIRe,
187
176
  0,
188
177
  [_AI, _AN, _ACD],
189
- [0, [() => AccountName, 0], 5],
178
+ [0, [() => AccountName, 0], 5]
190
179
  ];
191
- export var GetAlternateContactRequest$ = [3, n0, _GACR, 0, [_ACT, _AI], [0, 0]];
192
- export var GetAlternateContactResponse$ = [
193
- 3,
194
- n0,
195
- _GACRe,
180
+ export var GetAlternateContactRequest$ = [3, n0, _GACR,
181
+ 0,
182
+ [_ACT, _AI],
183
+ [0, 0]
184
+ ];
185
+ export var GetAlternateContactResponse$ = [3, n0, _GACRe,
196
186
  0,
197
187
  [_AC],
198
- [[() => AlternateContact$, 0]],
188
+ [[() => AlternateContact$, 0]]
199
189
  ];
200
- export var GetContactInformationRequest$ = [3, n0, _GCIR, 0, [_AI], [0]];
201
- export var GetContactInformationResponse$ = [
202
- 3,
203
- n0,
204
- _GCIRe,
190
+ export var GetContactInformationRequest$ = [3, n0, _GCIR,
191
+ 0,
192
+ [_AI],
193
+ [0]
194
+ ];
195
+ export var GetContactInformationResponse$ = [3, n0, _GCIRe,
205
196
  0,
206
197
  [_CI],
207
- [[() => ContactInformation$, 0]],
208
- ];
209
- export var GetGovCloudAccountInformationRequest$ = [3, n0, _GGCAIR, 0, [_SAI], [0]];
210
- export var GetGovCloudAccountInformationResponse$ = [3, n0, _GGCAIRe, 0, [_GCAI, _AS], [0, 0]];
211
- export var GetPrimaryEmailRequest$ = [3, n0, _GPER, 0, [_AI], [0]];
212
- export var GetPrimaryEmailResponse$ = [
213
- 3,
214
- n0,
215
- _GPERe,
198
+ [[() => ContactInformation$, 0]]
199
+ ];
200
+ export var GetGovCloudAccountInformationRequest$ = [3, n0, _GGCAIR,
201
+ 0,
202
+ [_SAI],
203
+ [0]
204
+ ];
205
+ export var GetGovCloudAccountInformationResponse$ = [3, n0, _GGCAIRe,
206
+ 0,
207
+ [_GCAI, _AS],
208
+ [0, 0]
209
+ ];
210
+ export var GetPrimaryEmailRequest$ = [3, n0, _GPER,
211
+ 0,
212
+ [_AI],
213
+ [0]
214
+ ];
215
+ export var GetPrimaryEmailResponse$ = [3, n0, _GPERe,
216
216
  0,
217
217
  [_PE],
218
- [[() => PrimaryEmailAddress, 0]],
219
- ];
220
- export var GetRegionOptStatusRequest$ = [3, n0, _GROSR, 0, [_AI, _RN], [0, 0]];
221
- export var GetRegionOptStatusResponse$ = [3, n0, _GROSRe, 0, [_RN, _ROS], [0, 0]];
222
- export var InternalServerException$ = [
223
- -3,
224
- n0,
225
- _ISE,
218
+ [[() => PrimaryEmailAddress, 0]]
219
+ ];
220
+ export var GetRegionOptStatusRequest$ = [3, n0, _GROSR,
221
+ 0,
222
+ [_AI, _RN],
223
+ [0, 0]
224
+ ];
225
+ export var GetRegionOptStatusResponse$ = [3, n0, _GROSRe,
226
+ 0,
227
+ [_RN, _ROS],
228
+ [0, 0]
229
+ ];
230
+ export var InternalServerException$ = [-3, n0, _ISE,
226
231
  { [_e]: _s, [_hE]: 500 },
227
232
  [_m, _eT],
228
- [0, [0, { [_hH]: _xaE }]],
233
+ [0, [0, { [_hH]: _xaE }]]
229
234
  ];
230
235
  TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
231
- export var ListRegionsRequest$ = [3, n0, _LRR, 0, [_AI, _MR, _NT, _ROSC], [0, 1, 0, 64 | 0]];
232
- export var ListRegionsResponse$ = [3, n0, _LRRi, 0, [_NT, _R], [0, () => RegionOptList]];
233
- export var PutAccountNameRequest$ = [3, n0, _PANR, 0, [_AN, _AI], [[() => AccountName, 0], 0]];
234
- export var PutAlternateContactRequest$ = [
235
- 3,
236
- n0,
237
- _PACR,
236
+ export var ListRegionsRequest$ = [3, n0, _LRR,
237
+ 0,
238
+ [_AI, _MR, _NT, _ROSC],
239
+ [0, 1, 0, 64 | 0]
240
+ ];
241
+ export var ListRegionsResponse$ = [3, n0, _LRRi,
242
+ 0,
243
+ [_NT, _R],
244
+ [0, () => RegionOptList]
245
+ ];
246
+ export var PutAccountNameRequest$ = [3, n0, _PANR,
247
+ 0,
248
+ [_AN, _AI],
249
+ [[() => AccountName, 0], 0]
250
+ ];
251
+ export var PutAlternateContactRequest$ = [3, n0, _PACR,
238
252
  0,
239
253
  [_N, _T, _EA, _PN, _ACT, _AI],
240
- [[() => Name, 0], [() => Title, 0], [() => EmailAddress, 0], [() => PhoneNumber, 0], 0, 0],
254
+ [[() => Name, 0], [() => Title, 0], [() => EmailAddress, 0], [() => PhoneNumber, 0], 0, 0]
241
255
  ];
242
- export var PutContactInformationRequest$ = [
243
- 3,
244
- n0,
245
- _PCIR,
256
+ export var PutContactInformationRequest$ = [3, n0, _PCIR,
246
257
  0,
247
258
  [_CI, _AI],
248
- [[() => ContactInformation$, 0], 0],
259
+ [[() => ContactInformation$, 0], 0]
249
260
  ];
250
- export var Region$ = [3, n0, _Re, 0, [_RN, _ROS], [0, 0]];
251
- export var ResourceNotFoundException$ = [
252
- -3,
253
- n0,
254
- _RNFE,
261
+ export var Region$ = [3, n0, _Re,
262
+ 0,
263
+ [_RN, _ROS],
264
+ [0, 0]
265
+ ];
266
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
255
267
  { [_e]: _c, [_hE]: 404 },
256
268
  [_m, _eT],
257
- [0, [0, { [_hH]: _xaE }]],
269
+ [0, [0, { [_hH]: _xaE }]]
258
270
  ];
259
271
  TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
260
- export var ResourceUnavailableException$ = [
261
- -3,
262
- n0,
263
- _RUE,
272
+ export var ResourceUnavailableException$ = [-3, n0, _RUE,
264
273
  { [_e]: _c, [_hE]: 424 },
265
274
  [_m, _eT],
266
- [0, [0, { [_hH]: _xaE }]],
275
+ [0, [0, { [_hH]: _xaE }]]
267
276
  ];
268
277
  TypeRegistry.for(n0).registerError(ResourceUnavailableException$, ResourceUnavailableException);
269
- export var StartPrimaryEmailUpdateRequest$ = [
270
- 3,
271
- n0,
272
- _SPEUR,
278
+ export var StartPrimaryEmailUpdateRequest$ = [3, n0, _SPEUR,
273
279
  0,
274
280
  [_AI, _PE],
275
- [0, [() => PrimaryEmailAddress, 0]],
281
+ [0, [() => PrimaryEmailAddress, 0]]
282
+ ];
283
+ export var StartPrimaryEmailUpdateResponse$ = [3, n0, _SPEURt,
284
+ 0,
285
+ [_S],
286
+ [0]
276
287
  ];
277
- export var StartPrimaryEmailUpdateResponse$ = [3, n0, _SPEURt, 0, [_S], [0]];
278
- export var TooManyRequestsException$ = [
279
- -3,
280
- n0,
281
- _TMRE,
288
+ export var TooManyRequestsException$ = [-3, n0, _TMRE,
282
289
  { [_e]: _c, [_hE]: 429 },
283
290
  [_m, _eT],
284
- [0, [0, { [_hH]: _xaE }]],
291
+ [0, [0, { [_hH]: _xaE }]]
285
292
  ];
286
293
  TypeRegistry.for(n0).registerError(TooManyRequestsException$, TooManyRequestsException);
287
- export var ValidationException$ = [
288
- -3,
289
- n0,
290
- _VE,
294
+ export var ValidationException$ = [-3, n0, _VE,
291
295
  { [_e]: _c, [_hE]: 400 },
292
296
  [_m, _r, _fL],
293
- [[() => SensitiveString, 0], 0, [() => ValidationExceptionFieldList, 0]],
297
+ [[() => SensitiveString, 0], 0, [() => ValidationExceptionFieldList, 0]]
294
298
  ];
295
299
  TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
296
- export var ValidationExceptionField$ = [
297
- 3,
298
- n0,
299
- _VEF,
300
+ export var ValidationExceptionField$ = [3, n0, _VEF,
300
301
  0,
301
302
  [_n, _m],
302
- [0, [() => SensitiveString, 0]],
303
+ [0, [() => SensitiveString, 0]]
303
304
  ];
304
305
  var __Unit = "unit";
305
306
  export var AccountServiceException$ = [-3, _sm, "AccountServiceException", 0, [], []];
306
307
  TypeRegistry.for(_sm).registerError(AccountServiceException$, AccountServiceException);
307
- var RegionOptList = [1, n0, _ROL, 0, () => Region$];
308
+ var RegionOptList = [1, n0, _ROL,
309
+ 0, () => Region$
310
+ ];
308
311
  var RegionOptStatusList = 64 | 0;
309
- var ValidationExceptionFieldList = [1, n0, _VEFL, 0, [() => ValidationExceptionField$, 0]];
310
- export var AcceptPrimaryEmailUpdate$ = [
311
- 9,
312
- n0,
313
- _APEU,
314
- { [_h]: ["POST", "/acceptPrimaryEmailUpdate", 200] },
315
- () => AcceptPrimaryEmailUpdateRequest$,
316
- () => AcceptPrimaryEmailUpdateResponse$,
317
- ];
318
- export var DeleteAlternateContact$ = [
319
- 9,
320
- n0,
321
- _DAC,
322
- { [_h]: ["POST", "/deleteAlternateContact", 200] },
323
- () => DeleteAlternateContactRequest$,
324
- () => __Unit,
325
- ];
326
- export var DisableRegion$ = [
327
- 9,
328
- n0,
329
- _DR,
330
- { [_h]: ["POST", "/disableRegion", 200] },
331
- () => DisableRegionRequest$,
332
- () => __Unit,
333
- ];
334
- export var EnableRegion$ = [
335
- 9,
336
- n0,
337
- _ER,
338
- { [_h]: ["POST", "/enableRegion", 200] },
339
- () => EnableRegionRequest$,
340
- () => __Unit,
341
- ];
342
- export var GetAccountInformation$ = [
343
- 9,
344
- n0,
345
- _GAI,
346
- { [_h]: ["POST", "/getAccountInformation", 200] },
347
- () => GetAccountInformationRequest$,
348
- () => GetAccountInformationResponse$,
349
- ];
350
- export var GetAlternateContact$ = [
351
- 9,
352
- n0,
353
- _GAC,
354
- { [_h]: ["POST", "/getAlternateContact", 200] },
355
- () => GetAlternateContactRequest$,
356
- () => GetAlternateContactResponse$,
357
- ];
358
- export var GetContactInformation$ = [
359
- 9,
360
- n0,
361
- _GCI,
362
- { [_h]: ["POST", "/getContactInformation", 200] },
363
- () => GetContactInformationRequest$,
364
- () => GetContactInformationResponse$,
365
- ];
366
- export var GetGovCloudAccountInformation$ = [
367
- 9,
368
- n0,
369
- _GGCAI,
370
- { [_h]: ["POST", "/getGovCloudAccountInformation", 200] },
371
- () => GetGovCloudAccountInformationRequest$,
372
- () => GetGovCloudAccountInformationResponse$,
373
- ];
374
- export var GetPrimaryEmail$ = [
375
- 9,
376
- n0,
377
- _GPE,
378
- { [_h]: ["POST", "/getPrimaryEmail", 200] },
379
- () => GetPrimaryEmailRequest$,
380
- () => GetPrimaryEmailResponse$,
381
- ];
382
- export var GetRegionOptStatus$ = [
383
- 9,
384
- n0,
385
- _GROS,
386
- { [_h]: ["POST", "/getRegionOptStatus", 200] },
387
- () => GetRegionOptStatusRequest$,
388
- () => GetRegionOptStatusResponse$,
389
- ];
390
- export var ListRegions$ = [
391
- 9,
392
- n0,
393
- _LR,
394
- { [_h]: ["POST", "/listRegions", 200] },
395
- () => ListRegionsRequest$,
396
- () => ListRegionsResponse$,
397
- ];
398
- export var PutAccountName$ = [
399
- 9,
400
- n0,
401
- _PAN,
402
- { [_h]: ["POST", "/putAccountName", 200] },
403
- () => PutAccountNameRequest$,
404
- () => __Unit,
405
- ];
406
- export var PutAlternateContact$ = [
407
- 9,
408
- n0,
409
- _PAC,
410
- { [_h]: ["POST", "/putAlternateContact", 200] },
411
- () => PutAlternateContactRequest$,
412
- () => __Unit,
413
- ];
414
- export var PutContactInformation$ = [
415
- 9,
416
- n0,
417
- _PCI,
418
- { [_h]: ["POST", "/putContactInformation", 200] },
419
- () => PutContactInformationRequest$,
420
- () => __Unit,
421
- ];
422
- export var StartPrimaryEmailUpdate$ = [
423
- 9,
424
- n0,
425
- _SPEU,
426
- { [_h]: ["POST", "/startPrimaryEmailUpdate", 200] },
427
- () => StartPrimaryEmailUpdateRequest$,
428
- () => StartPrimaryEmailUpdateResponse$,
312
+ var ValidationExceptionFieldList = [1, n0, _VEFL,
313
+ 0, [() => ValidationExceptionField$,
314
+ 0]
315
+ ];
316
+ export var AcceptPrimaryEmailUpdate$ = [9, n0, _APEU,
317
+ { [_h]: ["POST", "/acceptPrimaryEmailUpdate", 200] }, () => AcceptPrimaryEmailUpdateRequest$, () => AcceptPrimaryEmailUpdateResponse$
318
+ ];
319
+ export var DeleteAlternateContact$ = [9, n0, _DAC,
320
+ { [_h]: ["POST", "/deleteAlternateContact", 200] }, () => DeleteAlternateContactRequest$, () => __Unit
321
+ ];
322
+ export var DisableRegion$ = [9, n0, _DR,
323
+ { [_h]: ["POST", "/disableRegion", 200] }, () => DisableRegionRequest$, () => __Unit
324
+ ];
325
+ export var EnableRegion$ = [9, n0, _ER,
326
+ { [_h]: ["POST", "/enableRegion", 200] }, () => EnableRegionRequest$, () => __Unit
327
+ ];
328
+ export var GetAccountInformation$ = [9, n0, _GAI,
329
+ { [_h]: ["POST", "/getAccountInformation", 200] }, () => GetAccountInformationRequest$, () => GetAccountInformationResponse$
330
+ ];
331
+ export var GetAlternateContact$ = [9, n0, _GAC,
332
+ { [_h]: ["POST", "/getAlternateContact", 200] }, () => GetAlternateContactRequest$, () => GetAlternateContactResponse$
333
+ ];
334
+ export var GetContactInformation$ = [9, n0, _GCI,
335
+ { [_h]: ["POST", "/getContactInformation", 200] }, () => GetContactInformationRequest$, () => GetContactInformationResponse$
336
+ ];
337
+ export var GetGovCloudAccountInformation$ = [9, n0, _GGCAI,
338
+ { [_h]: ["POST", "/getGovCloudAccountInformation", 200] }, () => GetGovCloudAccountInformationRequest$, () => GetGovCloudAccountInformationResponse$
339
+ ];
340
+ export var GetPrimaryEmail$ = [9, n0, _GPE,
341
+ { [_h]: ["POST", "/getPrimaryEmail", 200] }, () => GetPrimaryEmailRequest$, () => GetPrimaryEmailResponse$
342
+ ];
343
+ export var GetRegionOptStatus$ = [9, n0, _GROS,
344
+ { [_h]: ["POST", "/getRegionOptStatus", 200] }, () => GetRegionOptStatusRequest$, () => GetRegionOptStatusResponse$
345
+ ];
346
+ export var ListRegions$ = [9, n0, _LR,
347
+ { [_h]: ["POST", "/listRegions", 200] }, () => ListRegionsRequest$, () => ListRegionsResponse$
348
+ ];
349
+ export var PutAccountName$ = [9, n0, _PAN,
350
+ { [_h]: ["POST", "/putAccountName", 200] }, () => PutAccountNameRequest$, () => __Unit
351
+ ];
352
+ export var PutAlternateContact$ = [9, n0, _PAC,
353
+ { [_h]: ["POST", "/putAlternateContact", 200] }, () => PutAlternateContactRequest$, () => __Unit
354
+ ];
355
+ export var PutContactInformation$ = [9, n0, _PCI,
356
+ { [_h]: ["POST", "/putContactInformation", 200] }, () => PutContactInformationRequest$, () => __Unit
357
+ ];
358
+ export var StartPrimaryEmailUpdate$ = [9, n0, _SPEU,
359
+ { [_h]: ["POST", "/startPrimaryEmailUpdate", 200] }, () => StartPrimaryEmailUpdateRequest$, () => StartPrimaryEmailUpdateResponse$
429
360
  ];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-account",
3
3
  "description": "AWS SDK for JavaScript Account Client for Node.js, Browser and React Native",
4
- "version": "3.957.0",
4
+ "version": "3.962.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-account",
@@ -22,7 +22,7 @@
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
24
  "@aws-sdk/core": "3.957.0",
25
- "@aws-sdk/credential-provider-node": "3.957.0",
25
+ "@aws-sdk/credential-provider-node": "3.962.0",
26
26
  "@aws-sdk/middleware-host-header": "3.957.0",
27
27
  "@aws-sdk/middleware-logger": "3.957.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.957.0",