@aws-sdk/client-billing 3.957.0 → 3.958.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 Billing Client for Node.js, Browser and React Native.
9
9
  <p> You can use the Billing API to programatically list the billing views available to you for a given time period. A billing view represents a set of billing data. </p> <p>The Billing API provides the following endpoint:</p> <p> <code>https://billing.us-east-1.api.aws</code> </p>
10
10
 
11
11
  ## Installing
12
-
13
12
  To install this package, simply type add or install @aws-sdk/client-billing
14
13
  using your favorite package manager:
15
-
16
14
  - `npm install @aws-sdk/client-billing`
17
15
  - `yarn add @aws-sdk/client-billing`
18
16
  - `pnpm add @aws-sdk/client-billing`
@@ -48,9 +46,7 @@ To send a request, you:
48
46
  // a client can be shared by different commands.
49
47
  const client = new BillingClient({ region: "REGION" });
50
48
 
51
- const params = {
52
- /** input parameters */
53
- };
49
+ const params = { /** input parameters */ };
54
50
  const command = new ListBillingViewsCommand(params);
55
51
  ```
56
52
 
@@ -209,7 +205,6 @@ AssociateSourceViews
209
205
  </summary>
210
206
 
211
207
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/billing/command/AssociateSourceViewsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-billing/Interface/AssociateSourceViewsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-billing/Interface/AssociateSourceViewsCommandOutput/)
212
-
213
208
  </details>
214
209
  <details>
215
210
  <summary>
@@ -217,7 +212,6 @@ CreateBillingView
217
212
  </summary>
218
213
 
219
214
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/billing/command/CreateBillingViewCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-billing/Interface/CreateBillingViewCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-billing/Interface/CreateBillingViewCommandOutput/)
220
-
221
215
  </details>
222
216
  <details>
223
217
  <summary>
@@ -225,7 +219,6 @@ DeleteBillingView
225
219
  </summary>
226
220
 
227
221
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/billing/command/DeleteBillingViewCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-billing/Interface/DeleteBillingViewCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-billing/Interface/DeleteBillingViewCommandOutput/)
228
-
229
222
  </details>
230
223
  <details>
231
224
  <summary>
@@ -233,7 +226,6 @@ DisassociateSourceViews
233
226
  </summary>
234
227
 
235
228
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/billing/command/DisassociateSourceViewsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-billing/Interface/DisassociateSourceViewsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-billing/Interface/DisassociateSourceViewsCommandOutput/)
236
-
237
229
  </details>
238
230
  <details>
239
231
  <summary>
@@ -241,7 +233,6 @@ GetBillingView
241
233
  </summary>
242
234
 
243
235
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/billing/command/GetBillingViewCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-billing/Interface/GetBillingViewCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-billing/Interface/GetBillingViewCommandOutput/)
244
-
245
236
  </details>
246
237
  <details>
247
238
  <summary>
@@ -249,7 +240,6 @@ GetResourcePolicy
249
240
  </summary>
250
241
 
251
242
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/billing/command/GetResourcePolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-billing/Interface/GetResourcePolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-billing/Interface/GetResourcePolicyCommandOutput/)
252
-
253
243
  </details>
254
244
  <details>
255
245
  <summary>
@@ -257,7 +247,6 @@ ListBillingViews
257
247
  </summary>
258
248
 
259
249
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/billing/command/ListBillingViewsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-billing/Interface/ListBillingViewsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-billing/Interface/ListBillingViewsCommandOutput/)
260
-
261
250
  </details>
262
251
  <details>
263
252
  <summary>
@@ -265,7 +254,6 @@ ListSourceViewsForBillingView
265
254
  </summary>
266
255
 
267
256
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/billing/command/ListSourceViewsForBillingViewCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-billing/Interface/ListSourceViewsForBillingViewCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-billing/Interface/ListSourceViewsForBillingViewCommandOutput/)
268
-
269
257
  </details>
270
258
  <details>
271
259
  <summary>
@@ -273,7 +261,6 @@ ListTagsForResource
273
261
  </summary>
274
262
 
275
263
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/billing/command/ListTagsForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-billing/Interface/ListTagsForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-billing/Interface/ListTagsForResourceCommandOutput/)
276
-
277
264
  </details>
278
265
  <details>
279
266
  <summary>
@@ -281,7 +268,6 @@ TagResource
281
268
  </summary>
282
269
 
283
270
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/billing/command/TagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-billing/Interface/TagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-billing/Interface/TagResourceCommandOutput/)
284
-
285
271
  </details>
286
272
  <details>
287
273
  <summary>
@@ -289,7 +275,6 @@ UntagResource
289
275
  </summary>
290
276
 
291
277
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/billing/command/UntagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-billing/Interface/UntagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-billing/Interface/UntagResourceCommandOutput/)
292
-
293
278
  </details>
294
279
  <details>
295
280
  <summary>
@@ -297,5 +282,4 @@ UpdateBillingView
297
282
  </summary>
298
283
 
299
284
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/billing/command/UpdateBillingViewCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-billing/Interface/UpdateBillingViewCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-billing/Interface/UpdateBillingViewCommandOutput/)
300
-
301
285
  </details>
@@ -6,10 +6,9 @@ const util_middleware_1 = require("@smithy/util-middleware");
6
6
  const defaultBillingHttpAuthSchemeParametersProvider = 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.defaultBillingHttpAuthSchemeParametersProvider = defaultBillingHttpAuthSchemeParametersProvider;
package/dist-cjs/index.js CHANGED
@@ -357,291 +357,279 @@ const _va = "value";
357
357
  const n0 = "com.amazonaws.billing";
358
358
  var BillingViewDescription = [0, n0, _BVD, 8, 0];
359
359
  var BillingViewName = [0, n0, _BVN, 8, 0];
360
- var AccessDeniedException$ = [
361
- -3,
362
- n0,
363
- _ADE,
360
+ var AccessDeniedException$ = [-3, n0, _ADE,
364
361
  { [_aQE]: [`BillingAccessDenied`, 403], [_e]: _c, [_hE]: 403 },
365
362
  [_m],
366
- [0],
363
+ [0]
367
364
  ];
368
365
  schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
369
- var ActiveTimeRange$ = [3, n0, _ATR, 0, [_aAI, _aBI], [4, 4]];
370
- var AssociateSourceViewsRequest$ = [3, n0, _ASVR, 0, [_a, _sV], [0, 64 | 0]];
371
- var AssociateSourceViewsResponse$ = [3, n0, _ASVRs, 0, [_a], [0]];
372
- var BillingViewElement$ = [
373
- 3,
374
- n0,
375
- _BVE,
366
+ var ActiveTimeRange$ = [3, n0, _ATR,
367
+ 0,
368
+ [_aAI, _aBI],
369
+ [4, 4]
370
+ ];
371
+ var AssociateSourceViewsRequest$ = [3, n0, _ASVR,
372
+ 0,
373
+ [_a, _sV],
374
+ [0, 64 | 0]
375
+ ];
376
+ var AssociateSourceViewsResponse$ = [3, n0, _ASVRs,
377
+ 0,
378
+ [_a],
379
+ [0]
380
+ ];
381
+ var BillingViewElement$ = [3, n0, _BVE,
376
382
  0,
377
383
  [_a, _n, _d, _bVT, _oAI, _sAI, _dFE, _cA, _uA, _dVC, _sVC, _vDLUA, _hS],
378
- [
379
- 0,
380
- [() => BillingViewName, 0],
381
- [() => BillingViewDescription, 0],
382
- 0,
383
- 0,
384
- 0,
385
- () => Expression$,
386
- 4,
387
- 4,
388
- 1,
389
- 1,
390
- 4,
391
- () => BillingViewHealthStatus$,
392
- ],
393
- ];
394
- var BillingViewHealthStatus$ = [3, n0, _BVHS, 0, [_sC, _sR], [0, 64 | 0]];
395
- var BillingViewHealthStatusException$ = [-3, n0, _BVHSE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
384
+ [0, [() => BillingViewName, 0], [() => BillingViewDescription, 0], 0, 0, 0, () => Expression$, 4, 4, 1, 1, 4, () => BillingViewHealthStatus$]
385
+ ];
386
+ var BillingViewHealthStatus$ = [3, n0, _BVHS,
387
+ 0,
388
+ [_sC, _sR],
389
+ [0, 64 | 0]
390
+ ];
391
+ var BillingViewHealthStatusException$ = [-3, n0, _BVHSE,
392
+ { [_e]: _c, [_hE]: 400 },
393
+ [_m],
394
+ [0]
395
+ ];
396
396
  schema.TypeRegistry.for(n0).registerError(BillingViewHealthStatusException$, BillingViewHealthStatusException);
397
- var BillingViewListElement$ = [
398
- 3,
399
- n0,
400
- _BVLE,
397
+ var BillingViewListElement$ = [3, n0, _BVLE,
401
398
  0,
402
399
  [_a, _n, _d, _oAI, _sAI, _bVT, _hS],
403
- [0, [() => BillingViewName, 0], [() => BillingViewDescription, 0], 0, 0, 0, () => BillingViewHealthStatus$],
400
+ [0, [() => BillingViewName, 0], [() => BillingViewDescription, 0], 0, 0, 0, () => BillingViewHealthStatus$]
404
401
  ];
405
- var ConflictException$ = [
406
- -3,
407
- n0,
408
- _CE,
402
+ var ConflictException$ = [-3, n0, _CE,
409
403
  { [_aQE]: [`BillingConflict`, 409], [_e]: _c, [_hE]: 409 },
410
404
  [_m, _rI, _rT],
411
- [0, 0, 0],
405
+ [0, 0, 0]
412
406
  ];
413
407
  schema.TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
414
- var CreateBillingViewRequest$ = [
415
- 3,
416
- n0,
417
- _CBVR,
408
+ var CreateBillingViewRequest$ = [3, n0, _CBVR,
418
409
  0,
419
410
  [_n, _d, _sV, _dFE, _cT, _rTe],
420
- [
421
- [() => BillingViewName, 0],
422
- [() => BillingViewDescription, 0],
423
- 64 | 0,
424
- () => Expression$,
425
- [0, { [_hH]: _XACT, [_iT]: 1 }],
426
- () => ResourceTagList,
427
- ],
428
- ];
429
- var CreateBillingViewResponse$ = [3, n0, _CBVRr, 0, [_a, _cA], [0, 4]];
430
- var DeleteBillingViewRequest$ = [3, n0, _DBVR, 0, [_a, _f], [0, 2]];
431
- var DeleteBillingViewResponse$ = [3, n0, _DBVRe, 0, [_a], [0]];
432
- var DimensionValues$ = [3, n0, _DV, 0, [_k, _v], [0, 64 | 0]];
433
- var DisassociateSourceViewsRequest$ = [3, n0, _DSVR, 0, [_a, _sV], [0, 64 | 0]];
434
- var DisassociateSourceViewsResponse$ = [3, n0, _DSVRi, 0, [_a], [0]];
435
- var Expression$ = [
436
- 3,
437
- n0,
438
- _E,
411
+ [[() => BillingViewName, 0], [() => BillingViewDescription, 0], 64 | 0, () => Expression$, [0, { [_hH]: _XACT, [_iT]: 1 }], () => ResourceTagList]
412
+ ];
413
+ var CreateBillingViewResponse$ = [3, n0, _CBVRr,
414
+ 0,
415
+ [_a, _cA],
416
+ [0, 4]
417
+ ];
418
+ var DeleteBillingViewRequest$ = [3, n0, _DBVR,
419
+ 0,
420
+ [_a, _f],
421
+ [0, 2]
422
+ ];
423
+ var DeleteBillingViewResponse$ = [3, n0, _DBVRe,
424
+ 0,
425
+ [_a],
426
+ [0]
427
+ ];
428
+ var DimensionValues$ = [3, n0, _DV,
429
+ 0,
430
+ [_k, _v],
431
+ [0, 64 | 0]
432
+ ];
433
+ var DisassociateSourceViewsRequest$ = [3, n0, _DSVR,
434
+ 0,
435
+ [_a, _sV],
436
+ [0, 64 | 0]
437
+ ];
438
+ var DisassociateSourceViewsResponse$ = [3, n0, _DSVRi,
439
+ 0,
440
+ [_a],
441
+ [0]
442
+ ];
443
+ var Expression$ = [3, n0, _E,
439
444
  0,
440
445
  [_di, _t, _tR],
441
- [() => DimensionValues$, () => TagValues$, () => TimeRange$],
442
- ];
443
- var GetBillingViewRequest$ = [3, n0, _GBVR, 0, [_a], [0]];
444
- var GetBillingViewResponse$ = [3, n0, _GBVRe, 0, [_bV], [[() => BillingViewElement$, 0]]];
445
- var GetResourcePolicyRequest$ = [3, n0, _GRPR, 0, [_rA], [0]];
446
- var GetResourcePolicyResponse$ = [3, n0, _GRPRe, 0, [_rA, _p], [0, 0]];
447
- var InternalServerException$ = [
448
- -3,
449
- n0,
450
- _ISE,
446
+ [() => DimensionValues$, () => TagValues$, () => TimeRange$]
447
+ ];
448
+ var GetBillingViewRequest$ = [3, n0, _GBVR,
449
+ 0,
450
+ [_a],
451
+ [0]
452
+ ];
453
+ var GetBillingViewResponse$ = [3, n0, _GBVRe,
454
+ 0,
455
+ [_bV],
456
+ [[() => BillingViewElement$, 0]]
457
+ ];
458
+ var GetResourcePolicyRequest$ = [3, n0, _GRPR,
459
+ 0,
460
+ [_rA],
461
+ [0]
462
+ ];
463
+ var GetResourcePolicyResponse$ = [3, n0, _GRPRe,
464
+ 0,
465
+ [_rA, _p],
466
+ [0, 0]
467
+ ];
468
+ var InternalServerException$ = [-3, n0, _ISE,
451
469
  { [_aQE]: [`BillingInternalServer`, 500], [_e]: _s, [_hE]: 500 },
452
470
  [_m],
453
- [0],
471
+ [0]
454
472
  ];
455
473
  schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
456
- var ListBillingViewsRequest$ = [
457
- 3,
458
- n0,
459
- _LBVR,
474
+ var ListBillingViewsRequest$ = [3, n0, _LBVR,
460
475
  0,
461
476
  [_aTR, _ar, _bVTi, _na, _oAI, _sAI, _mR, _nT],
462
- [() => ActiveTimeRange$, 64 | 0, 64 | 0, () => StringSearches, 0, 0, 1, 0],
477
+ [() => ActiveTimeRange$, 64 | 0, 64 | 0, () => StringSearches, 0, 0, 1, 0]
463
478
  ];
464
- var ListBillingViewsResponse$ = [
465
- 3,
466
- n0,
467
- _LBVRi,
479
+ var ListBillingViewsResponse$ = [3, n0, _LBVRi,
468
480
  0,
469
481
  [_bVi, _nT],
470
- [[() => BillingViewList, 0], 0],
482
+ [[() => BillingViewList, 0], 0]
471
483
  ];
472
- var ListSourceViewsForBillingViewRequest$ = [
473
- 3,
474
- n0,
475
- _LSVFBVR,
484
+ var ListSourceViewsForBillingViewRequest$ = [3, n0, _LSVFBVR,
476
485
  0,
477
486
  [_a, _mR, _nT],
478
- [0, 1, 0],
487
+ [0, 1, 0]
479
488
  ];
480
- var ListSourceViewsForBillingViewResponse$ = [
481
- 3,
482
- n0,
483
- _LSVFBVRi,
489
+ var ListSourceViewsForBillingViewResponse$ = [3, n0, _LSVFBVRi,
484
490
  0,
485
491
  [_sV, _nT],
486
- [64 | 0, 0],
487
- ];
488
- var ListTagsForResourceRequest$ = [3, n0, _LTFRR, 0, [_rA], [0]];
489
- var ListTagsForResourceResponse$ = [3, n0, _LTFRRi, 0, [_rTe], [() => ResourceTagList]];
490
- var ResourceNotFoundException$ = [
491
- -3,
492
- n0,
493
- _RNFE,
492
+ [64 | 0, 0]
493
+ ];
494
+ var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
495
+ 0,
496
+ [_rA],
497
+ [0]
498
+ ];
499
+ var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
500
+ 0,
501
+ [_rTe],
502
+ [() => ResourceTagList]
503
+ ];
504
+ var ResourceNotFoundException$ = [-3, n0, _RNFE,
494
505
  { [_aQE]: [`BillingResourceNotFound`, 404], [_e]: _c, [_hE]: 404 },
495
506
  [_m, _rI, _rT],
496
- [0, 0, 0],
507
+ [0, 0, 0]
497
508
  ];
498
509
  schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
499
- var ResourceTag$ = [3, n0, _RT, 0, [_k, _va], [0, 0]];
500
- var ServiceQuotaExceededException$ = [
501
- -3,
502
- n0,
503
- _SQEE,
510
+ var ResourceTag$ = [3, n0, _RT,
511
+ 0,
512
+ [_k, _va],
513
+ [0, 0]
514
+ ];
515
+ var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
504
516
  { [_aQE]: [`BillingServiceQuotaExceeded`, 402], [_e]: _c, [_hE]: 402 },
505
517
  [_m, _rI, _rT, _sCe, _qC],
506
- [0, 0, 0, 0, 0],
518
+ [0, 0, 0, 0, 0]
507
519
  ];
508
520
  schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
509
- var StringSearch$ = [3, n0, _SS, 0, [_sO, _sVe], [0, 0]];
510
- var TagResourceRequest$ = [3, n0, _TRR, 0, [_rA, _rTe], [0, () => ResourceTagList]];
511
- var TagResourceResponse$ = [3, n0, _TRRa, 0, [], []];
512
- var TagValues$ = [3, n0, _TV, 0, [_k, _v], [0, 64 | 0]];
513
- var ThrottlingException$ = [
514
- -3,
515
- n0,
516
- _TE,
521
+ var StringSearch$ = [3, n0, _SS,
522
+ 0,
523
+ [_sO, _sVe],
524
+ [0, 0]
525
+ ];
526
+ var TagResourceRequest$ = [3, n0, _TRR,
527
+ 0,
528
+ [_rA, _rTe],
529
+ [0, () => ResourceTagList]
530
+ ];
531
+ var TagResourceResponse$ = [3, n0, _TRRa,
532
+ 0,
533
+ [],
534
+ []
535
+ ];
536
+ var TagValues$ = [3, n0, _TV,
537
+ 0,
538
+ [_k, _v],
539
+ [0, 64 | 0]
540
+ ];
541
+ var ThrottlingException$ = [-3, n0, _TE,
517
542
  { [_aQE]: [`BillingThrottling`, 429], [_e]: _c, [_hE]: 429 },
518
543
  [_m],
519
- [0],
544
+ [0]
520
545
  ];
521
546
  schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
522
- var TimeRange$ = [3, n0, _TR, 0, [_bDI, _eDI], [4, 4]];
523
- var UntagResourceRequest$ = [3, n0, _URR, 0, [_rA, _rTK], [0, 64 | 0]];
524
- var UntagResourceResponse$ = [3, n0, _URRn, 0, [], []];
525
- var UpdateBillingViewRequest$ = [
526
- 3,
527
- n0,
528
- _UBVR,
547
+ var TimeRange$ = [3, n0, _TR,
548
+ 0,
549
+ [_bDI, _eDI],
550
+ [4, 4]
551
+ ];
552
+ var UntagResourceRequest$ = [3, n0, _URR,
553
+ 0,
554
+ [_rA, _rTK],
555
+ [0, 64 | 0]
556
+ ];
557
+ var UntagResourceResponse$ = [3, n0, _URRn,
558
+ 0,
559
+ [],
560
+ []
561
+ ];
562
+ var UpdateBillingViewRequest$ = [3, n0, _UBVR,
529
563
  0,
530
564
  [_a, _n, _d, _dFE],
531
- [0, [() => BillingViewName, 0], [() => BillingViewDescription, 0], () => Expression$],
565
+ [0, [() => BillingViewName, 0], [() => BillingViewDescription, 0], () => Expression$]
566
+ ];
567
+ var UpdateBillingViewResponse$ = [3, n0, _UBVRp,
568
+ 0,
569
+ [_a, _uA],
570
+ [0, 4]
532
571
  ];
533
- var UpdateBillingViewResponse$ = [3, n0, _UBVRp, 0, [_a, _uA], [0, 4]];
534
- var ValidationException$ = [
535
- -3,
536
- n0,
537
- _VE,
572
+ var ValidationException$ = [-3, n0, _VE,
538
573
  { [_aQE]: [`BillingValidation`, 400], [_e]: _c, [_hE]: 400 },
539
574
  [_m, _r, _fL],
540
- [0, 0, () => ValidationExceptionFieldList],
575
+ [0, 0, () => ValidationExceptionFieldList]
541
576
  ];
542
577
  schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
543
- var ValidationExceptionField$ = [3, n0, _VEF, 0, [_n, _m], [0, 0]];
578
+ var ValidationExceptionField$ = [3, n0, _VEF,
579
+ 0,
580
+ [_n, _m],
581
+ [0, 0]
582
+ ];
544
583
  var BillingServiceException$ = [-3, _sm, "BillingServiceException", 0, [], []];
545
584
  schema.TypeRegistry.for(_sm).registerError(BillingServiceException$, BillingServiceException);
546
- var BillingViewList = [1, n0, _BVL, 0, [() => BillingViewListElement$, 0]];
547
- var ResourceTagList = [1, n0, _RTL, 0, () => ResourceTag$];
548
- var StringSearches = [1, n0, _SSt, 0, () => StringSearch$];
549
- var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField$];
550
- var AssociateSourceViews$ = [
551
- 9,
552
- n0,
553
- _ASV,
554
- 2,
555
- () => AssociateSourceViewsRequest$,
556
- () => AssociateSourceViewsResponse$,
557
- ];
558
- var CreateBillingView$ = [
559
- 9,
560
- n0,
561
- _CBV,
562
- 2,
563
- () => CreateBillingViewRequest$,
564
- () => CreateBillingViewResponse$,
565
- ];
566
- var DeleteBillingView$ = [
567
- 9,
568
- n0,
569
- _DBV,
570
- 2,
571
- () => DeleteBillingViewRequest$,
572
- () => DeleteBillingViewResponse$,
573
- ];
574
- var DisassociateSourceViews$ = [
575
- 9,
576
- n0,
577
- _DSV,
578
- 2,
579
- () => DisassociateSourceViewsRequest$,
580
- () => DisassociateSourceViewsResponse$,
581
- ];
582
- var GetBillingView$ = [
583
- 9,
584
- n0,
585
- _GBV,
586
- 0,
587
- () => GetBillingViewRequest$,
588
- () => GetBillingViewResponse$,
589
- ];
590
- var GetResourcePolicy$ = [
591
- 9,
592
- n0,
593
- _GRP,
594
- 0,
595
- () => GetResourcePolicyRequest$,
596
- () => GetResourcePolicyResponse$,
597
- ];
598
- var ListBillingViews$ = [
599
- 9,
600
- n0,
601
- _LBV,
602
- { [_h]: ["POST", "/", 200] },
603
- () => ListBillingViewsRequest$,
604
- () => ListBillingViewsResponse$,
605
- ];
606
- var ListSourceViewsForBillingView$ = [
607
- 9,
608
- n0,
609
- _LSVFBV,
610
- 0,
611
- () => ListSourceViewsForBillingViewRequest$,
612
- () => ListSourceViewsForBillingViewResponse$,
613
- ];
614
- var ListTagsForResource$ = [
615
- 9,
616
- n0,
617
- _LTFR,
618
- 0,
619
- () => ListTagsForResourceRequest$,
620
- () => ListTagsForResourceResponse$,
621
- ];
622
- var TagResource$ = [
623
- 9,
624
- n0,
625
- _TRa,
626
- 0,
627
- () => TagResourceRequest$,
628
- () => TagResourceResponse$,
629
- ];
630
- var UntagResource$ = [
631
- 9,
632
- n0,
633
- _UR,
634
- 0,
635
- () => UntagResourceRequest$,
636
- () => UntagResourceResponse$,
637
- ];
638
- var UpdateBillingView$ = [
639
- 9,
640
- n0,
641
- _UBV,
642
- 2,
643
- () => UpdateBillingViewRequest$,
644
- () => UpdateBillingViewResponse$,
585
+ var BillingViewList = [1, n0, _BVL,
586
+ 0, [() => BillingViewListElement$,
587
+ 0]
588
+ ];
589
+ var ResourceTagList = [1, n0, _RTL,
590
+ 0, () => ResourceTag$
591
+ ];
592
+ var StringSearches = [1, n0, _SSt,
593
+ 0, () => StringSearch$
594
+ ];
595
+ var ValidationExceptionFieldList = [1, n0, _VEFL,
596
+ 0, () => ValidationExceptionField$
597
+ ];
598
+ var AssociateSourceViews$ = [9, n0, _ASV,
599
+ 2, () => AssociateSourceViewsRequest$, () => AssociateSourceViewsResponse$
600
+ ];
601
+ var CreateBillingView$ = [9, n0, _CBV,
602
+ 2, () => CreateBillingViewRequest$, () => CreateBillingViewResponse$
603
+ ];
604
+ var DeleteBillingView$ = [9, n0, _DBV,
605
+ 2, () => DeleteBillingViewRequest$, () => DeleteBillingViewResponse$
606
+ ];
607
+ var DisassociateSourceViews$ = [9, n0, _DSV,
608
+ 2, () => DisassociateSourceViewsRequest$, () => DisassociateSourceViewsResponse$
609
+ ];
610
+ var GetBillingView$ = [9, n0, _GBV,
611
+ 0, () => GetBillingViewRequest$, () => GetBillingViewResponse$
612
+ ];
613
+ var GetResourcePolicy$ = [9, n0, _GRP,
614
+ 0, () => GetResourcePolicyRequest$, () => GetResourcePolicyResponse$
615
+ ];
616
+ var ListBillingViews$ = [9, n0, _LBV,
617
+ { [_h]: ["POST", "/", 200] }, () => ListBillingViewsRequest$, () => ListBillingViewsResponse$
618
+ ];
619
+ var ListSourceViewsForBillingView$ = [9, n0, _LSVFBV,
620
+ 0, () => ListSourceViewsForBillingViewRequest$, () => ListSourceViewsForBillingViewResponse$
621
+ ];
622
+ var ListTagsForResource$ = [9, n0, _LTFR,
623
+ 0, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
624
+ ];
625
+ var TagResource$ = [9, n0, _TRa,
626
+ 0, () => TagResourceRequest$, () => TagResourceResponse$
627
+ ];
628
+ var UntagResource$ = [9, n0, _UR,
629
+ 0, () => UntagResourceRequest$, () => UntagResourceResponse$
630
+ ];
631
+ var UpdateBillingView$ = [9, n0, _UBV,
632
+ 2, () => UpdateBillingViewRequest$, () => UpdateBillingViewResponse$
645
633
  ];
646
634
 
647
635
  class AssociateSourceViewsCommand 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 defaultBillingHttpAuthSchemeParametersProvider = 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({
@@ -124,295 +124,283 @@ import { BillingServiceException } from "../models/BillingServiceException";
124
124
  import { AccessDeniedException, BillingViewHealthStatusException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
125
125
  var BillingViewDescription = [0, n0, _BVD, 8, 0];
126
126
  var BillingViewName = [0, n0, _BVN, 8, 0];
127
- export var AccessDeniedException$ = [
128
- -3,
129
- n0,
130
- _ADE,
127
+ export var AccessDeniedException$ = [-3, n0, _ADE,
131
128
  { [_aQE]: [`BillingAccessDenied`, 403], [_e]: _c, [_hE]: 403 },
132
129
  [_m],
133
- [0],
130
+ [0]
134
131
  ];
135
132
  TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
136
- export var ActiveTimeRange$ = [3, n0, _ATR, 0, [_aAI, _aBI], [4, 4]];
137
- export var AssociateSourceViewsRequest$ = [3, n0, _ASVR, 0, [_a, _sV], [0, 64 | 0]];
138
- export var AssociateSourceViewsResponse$ = [3, n0, _ASVRs, 0, [_a], [0]];
139
- export var BillingViewElement$ = [
140
- 3,
141
- n0,
142
- _BVE,
133
+ export var ActiveTimeRange$ = [3, n0, _ATR,
134
+ 0,
135
+ [_aAI, _aBI],
136
+ [4, 4]
137
+ ];
138
+ export var AssociateSourceViewsRequest$ = [3, n0, _ASVR,
139
+ 0,
140
+ [_a, _sV],
141
+ [0, 64 | 0]
142
+ ];
143
+ export var AssociateSourceViewsResponse$ = [3, n0, _ASVRs,
144
+ 0,
145
+ [_a],
146
+ [0]
147
+ ];
148
+ export var BillingViewElement$ = [3, n0, _BVE,
143
149
  0,
144
150
  [_a, _n, _d, _bVT, _oAI, _sAI, _dFE, _cA, _uA, _dVC, _sVC, _vDLUA, _hS],
145
- [
146
- 0,
147
- [() => BillingViewName, 0],
148
- [() => BillingViewDescription, 0],
149
- 0,
150
- 0,
151
- 0,
152
- () => Expression$,
153
- 4,
154
- 4,
155
- 1,
156
- 1,
157
- 4,
158
- () => BillingViewHealthStatus$,
159
- ],
160
- ];
161
- export var BillingViewHealthStatus$ = [3, n0, _BVHS, 0, [_sC, _sR], [0, 64 | 0]];
162
- export var BillingViewHealthStatusException$ = [-3, n0, _BVHSE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
151
+ [0, [() => BillingViewName, 0], [() => BillingViewDescription, 0], 0, 0, 0, () => Expression$, 4, 4, 1, 1, 4, () => BillingViewHealthStatus$]
152
+ ];
153
+ export var BillingViewHealthStatus$ = [3, n0, _BVHS,
154
+ 0,
155
+ [_sC, _sR],
156
+ [0, 64 | 0]
157
+ ];
158
+ export var BillingViewHealthStatusException$ = [-3, n0, _BVHSE,
159
+ { [_e]: _c, [_hE]: 400 },
160
+ [_m],
161
+ [0]
162
+ ];
163
163
  TypeRegistry.for(n0).registerError(BillingViewHealthStatusException$, BillingViewHealthStatusException);
164
- export var BillingViewListElement$ = [
165
- 3,
166
- n0,
167
- _BVLE,
164
+ export var BillingViewListElement$ = [3, n0, _BVLE,
168
165
  0,
169
166
  [_a, _n, _d, _oAI, _sAI, _bVT, _hS],
170
- [0, [() => BillingViewName, 0], [() => BillingViewDescription, 0], 0, 0, 0, () => BillingViewHealthStatus$],
167
+ [0, [() => BillingViewName, 0], [() => BillingViewDescription, 0], 0, 0, 0, () => BillingViewHealthStatus$]
171
168
  ];
172
- export var ConflictException$ = [
173
- -3,
174
- n0,
175
- _CE,
169
+ export var ConflictException$ = [-3, n0, _CE,
176
170
  { [_aQE]: [`BillingConflict`, 409], [_e]: _c, [_hE]: 409 },
177
171
  [_m, _rI, _rT],
178
- [0, 0, 0],
172
+ [0, 0, 0]
179
173
  ];
180
174
  TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
181
- export var CreateBillingViewRequest$ = [
182
- 3,
183
- n0,
184
- _CBVR,
175
+ export var CreateBillingViewRequest$ = [3, n0, _CBVR,
185
176
  0,
186
177
  [_n, _d, _sV, _dFE, _cT, _rTe],
187
- [
188
- [() => BillingViewName, 0],
189
- [() => BillingViewDescription, 0],
190
- 64 | 0,
191
- () => Expression$,
192
- [0, { [_hH]: _XACT, [_iT]: 1 }],
193
- () => ResourceTagList,
194
- ],
195
- ];
196
- export var CreateBillingViewResponse$ = [3, n0, _CBVRr, 0, [_a, _cA], [0, 4]];
197
- export var DeleteBillingViewRequest$ = [3, n0, _DBVR, 0, [_a, _f], [0, 2]];
198
- export var DeleteBillingViewResponse$ = [3, n0, _DBVRe, 0, [_a], [0]];
199
- export var DimensionValues$ = [3, n0, _DV, 0, [_k, _v], [0, 64 | 0]];
200
- export var DisassociateSourceViewsRequest$ = [3, n0, _DSVR, 0, [_a, _sV], [0, 64 | 0]];
201
- export var DisassociateSourceViewsResponse$ = [3, n0, _DSVRi, 0, [_a], [0]];
202
- export var Expression$ = [
203
- 3,
204
- n0,
205
- _E,
178
+ [[() => BillingViewName, 0], [() => BillingViewDescription, 0], 64 | 0, () => Expression$, [0, { [_hH]: _XACT, [_iT]: 1 }], () => ResourceTagList]
179
+ ];
180
+ export var CreateBillingViewResponse$ = [3, n0, _CBVRr,
181
+ 0,
182
+ [_a, _cA],
183
+ [0, 4]
184
+ ];
185
+ export var DeleteBillingViewRequest$ = [3, n0, _DBVR,
186
+ 0,
187
+ [_a, _f],
188
+ [0, 2]
189
+ ];
190
+ export var DeleteBillingViewResponse$ = [3, n0, _DBVRe,
191
+ 0,
192
+ [_a],
193
+ [0]
194
+ ];
195
+ export var DimensionValues$ = [3, n0, _DV,
196
+ 0,
197
+ [_k, _v],
198
+ [0, 64 | 0]
199
+ ];
200
+ export var DisassociateSourceViewsRequest$ = [3, n0, _DSVR,
201
+ 0,
202
+ [_a, _sV],
203
+ [0, 64 | 0]
204
+ ];
205
+ export var DisassociateSourceViewsResponse$ = [3, n0, _DSVRi,
206
+ 0,
207
+ [_a],
208
+ [0]
209
+ ];
210
+ export var Expression$ = [3, n0, _E,
206
211
  0,
207
212
  [_di, _t, _tR],
208
- [() => DimensionValues$, () => TagValues$, () => TimeRange$],
209
- ];
210
- export var GetBillingViewRequest$ = [3, n0, _GBVR, 0, [_a], [0]];
211
- export var GetBillingViewResponse$ = [3, n0, _GBVRe, 0, [_bV], [[() => BillingViewElement$, 0]]];
212
- export var GetResourcePolicyRequest$ = [3, n0, _GRPR, 0, [_rA], [0]];
213
- export var GetResourcePolicyResponse$ = [3, n0, _GRPRe, 0, [_rA, _p], [0, 0]];
214
- export var InternalServerException$ = [
215
- -3,
216
- n0,
217
- _ISE,
213
+ [() => DimensionValues$, () => TagValues$, () => TimeRange$]
214
+ ];
215
+ export var GetBillingViewRequest$ = [3, n0, _GBVR,
216
+ 0,
217
+ [_a],
218
+ [0]
219
+ ];
220
+ export var GetBillingViewResponse$ = [3, n0, _GBVRe,
221
+ 0,
222
+ [_bV],
223
+ [[() => BillingViewElement$, 0]]
224
+ ];
225
+ export var GetResourcePolicyRequest$ = [3, n0, _GRPR,
226
+ 0,
227
+ [_rA],
228
+ [0]
229
+ ];
230
+ export var GetResourcePolicyResponse$ = [3, n0, _GRPRe,
231
+ 0,
232
+ [_rA, _p],
233
+ [0, 0]
234
+ ];
235
+ export var InternalServerException$ = [-3, n0, _ISE,
218
236
  { [_aQE]: [`BillingInternalServer`, 500], [_e]: _s, [_hE]: 500 },
219
237
  [_m],
220
- [0],
238
+ [0]
221
239
  ];
222
240
  TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
223
- export var ListBillingViewsRequest$ = [
224
- 3,
225
- n0,
226
- _LBVR,
241
+ export var ListBillingViewsRequest$ = [3, n0, _LBVR,
227
242
  0,
228
243
  [_aTR, _ar, _bVTi, _na, _oAI, _sAI, _mR, _nT],
229
- [() => ActiveTimeRange$, 64 | 0, 64 | 0, () => StringSearches, 0, 0, 1, 0],
244
+ [() => ActiveTimeRange$, 64 | 0, 64 | 0, () => StringSearches, 0, 0, 1, 0]
230
245
  ];
231
- export var ListBillingViewsResponse$ = [
232
- 3,
233
- n0,
234
- _LBVRi,
246
+ export var ListBillingViewsResponse$ = [3, n0, _LBVRi,
235
247
  0,
236
248
  [_bVi, _nT],
237
- [[() => BillingViewList, 0], 0],
249
+ [[() => BillingViewList, 0], 0]
238
250
  ];
239
- export var ListSourceViewsForBillingViewRequest$ = [
240
- 3,
241
- n0,
242
- _LSVFBVR,
251
+ export var ListSourceViewsForBillingViewRequest$ = [3, n0, _LSVFBVR,
243
252
  0,
244
253
  [_a, _mR, _nT],
245
- [0, 1, 0],
254
+ [0, 1, 0]
246
255
  ];
247
- export var ListSourceViewsForBillingViewResponse$ = [
248
- 3,
249
- n0,
250
- _LSVFBVRi,
256
+ export var ListSourceViewsForBillingViewResponse$ = [3, n0, _LSVFBVRi,
251
257
  0,
252
258
  [_sV, _nT],
253
- [64 | 0, 0],
254
- ];
255
- export var ListTagsForResourceRequest$ = [3, n0, _LTFRR, 0, [_rA], [0]];
256
- export var ListTagsForResourceResponse$ = [3, n0, _LTFRRi, 0, [_rTe], [() => ResourceTagList]];
257
- export var ResourceNotFoundException$ = [
258
- -3,
259
- n0,
260
- _RNFE,
259
+ [64 | 0, 0]
260
+ ];
261
+ export var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
262
+ 0,
263
+ [_rA],
264
+ [0]
265
+ ];
266
+ export var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
267
+ 0,
268
+ [_rTe],
269
+ [() => ResourceTagList]
270
+ ];
271
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
261
272
  { [_aQE]: [`BillingResourceNotFound`, 404], [_e]: _c, [_hE]: 404 },
262
273
  [_m, _rI, _rT],
263
- [0, 0, 0],
274
+ [0, 0, 0]
264
275
  ];
265
276
  TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
266
- export var ResourceTag$ = [3, n0, _RT, 0, [_k, _va], [0, 0]];
267
- export var ServiceQuotaExceededException$ = [
268
- -3,
269
- n0,
270
- _SQEE,
277
+ export var ResourceTag$ = [3, n0, _RT,
278
+ 0,
279
+ [_k, _va],
280
+ [0, 0]
281
+ ];
282
+ export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
271
283
  { [_aQE]: [`BillingServiceQuotaExceeded`, 402], [_e]: _c, [_hE]: 402 },
272
284
  [_m, _rI, _rT, _sCe, _qC],
273
- [0, 0, 0, 0, 0],
285
+ [0, 0, 0, 0, 0]
274
286
  ];
275
287
  TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
276
- export var StringSearch$ = [3, n0, _SS, 0, [_sO, _sVe], [0, 0]];
277
- export var TagResourceRequest$ = [3, n0, _TRR, 0, [_rA, _rTe], [0, () => ResourceTagList]];
278
- export var TagResourceResponse$ = [3, n0, _TRRa, 0, [], []];
279
- export var TagValues$ = [3, n0, _TV, 0, [_k, _v], [0, 64 | 0]];
280
- export var ThrottlingException$ = [
281
- -3,
282
- n0,
283
- _TE,
288
+ export var StringSearch$ = [3, n0, _SS,
289
+ 0,
290
+ [_sO, _sVe],
291
+ [0, 0]
292
+ ];
293
+ export var TagResourceRequest$ = [3, n0, _TRR,
294
+ 0,
295
+ [_rA, _rTe],
296
+ [0, () => ResourceTagList]
297
+ ];
298
+ export var TagResourceResponse$ = [3, n0, _TRRa,
299
+ 0,
300
+ [],
301
+ []
302
+ ];
303
+ export var TagValues$ = [3, n0, _TV,
304
+ 0,
305
+ [_k, _v],
306
+ [0, 64 | 0]
307
+ ];
308
+ export var ThrottlingException$ = [-3, n0, _TE,
284
309
  { [_aQE]: [`BillingThrottling`, 429], [_e]: _c, [_hE]: 429 },
285
310
  [_m],
286
- [0],
311
+ [0]
287
312
  ];
288
313
  TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
289
- export var TimeRange$ = [3, n0, _TR, 0, [_bDI, _eDI], [4, 4]];
290
- export var UntagResourceRequest$ = [3, n0, _URR, 0, [_rA, _rTK], [0, 64 | 0]];
291
- export var UntagResourceResponse$ = [3, n0, _URRn, 0, [], []];
292
- export var UpdateBillingViewRequest$ = [
293
- 3,
294
- n0,
295
- _UBVR,
314
+ export var TimeRange$ = [3, n0, _TR,
315
+ 0,
316
+ [_bDI, _eDI],
317
+ [4, 4]
318
+ ];
319
+ export var UntagResourceRequest$ = [3, n0, _URR,
320
+ 0,
321
+ [_rA, _rTK],
322
+ [0, 64 | 0]
323
+ ];
324
+ export var UntagResourceResponse$ = [3, n0, _URRn,
325
+ 0,
326
+ [],
327
+ []
328
+ ];
329
+ export var UpdateBillingViewRequest$ = [3, n0, _UBVR,
296
330
  0,
297
331
  [_a, _n, _d, _dFE],
298
- [0, [() => BillingViewName, 0], [() => BillingViewDescription, 0], () => Expression$],
332
+ [0, [() => BillingViewName, 0], [() => BillingViewDescription, 0], () => Expression$]
333
+ ];
334
+ export var UpdateBillingViewResponse$ = [3, n0, _UBVRp,
335
+ 0,
336
+ [_a, _uA],
337
+ [0, 4]
299
338
  ];
300
- export var UpdateBillingViewResponse$ = [3, n0, _UBVRp, 0, [_a, _uA], [0, 4]];
301
- export var ValidationException$ = [
302
- -3,
303
- n0,
304
- _VE,
339
+ export var ValidationException$ = [-3, n0, _VE,
305
340
  { [_aQE]: [`BillingValidation`, 400], [_e]: _c, [_hE]: 400 },
306
341
  [_m, _r, _fL],
307
- [0, 0, () => ValidationExceptionFieldList],
342
+ [0, 0, () => ValidationExceptionFieldList]
308
343
  ];
309
344
  TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
310
- export var ValidationExceptionField$ = [3, n0, _VEF, 0, [_n, _m], [0, 0]];
345
+ export var ValidationExceptionField$ = [3, n0, _VEF,
346
+ 0,
347
+ [_n, _m],
348
+ [0, 0]
349
+ ];
311
350
  export var BillingServiceException$ = [-3, _sm, "BillingServiceException", 0, [], []];
312
351
  TypeRegistry.for(_sm).registerError(BillingServiceException$, BillingServiceException);
313
352
  var BillingViewArnList = 64 | 0;
314
- var BillingViewList = [1, n0, _BVL, 0, [() => BillingViewListElement$, 0]];
353
+ var BillingViewList = [1, n0, _BVL,
354
+ 0, [() => BillingViewListElement$,
355
+ 0]
356
+ ];
315
357
  var BillingViewSourceViewsList = 64 | 0;
316
358
  var BillingViewStatusReasons = 64 | 0;
317
359
  var BillingViewTypeList = 64 | 0;
318
360
  var ResourceTagKeyList = 64 | 0;
319
- var ResourceTagList = [1, n0, _RTL, 0, () => ResourceTag$];
320
- var StringSearches = [1, n0, _SSt, 0, () => StringSearch$];
321
- var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField$];
361
+ var ResourceTagList = [1, n0, _RTL,
362
+ 0, () => ResourceTag$
363
+ ];
364
+ var StringSearches = [1, n0, _SSt,
365
+ 0, () => StringSearch$
366
+ ];
367
+ var ValidationExceptionFieldList = [1, n0, _VEFL,
368
+ 0, () => ValidationExceptionField$
369
+ ];
322
370
  var Values = 64 | 0;
323
- export var AssociateSourceViews$ = [
324
- 9,
325
- n0,
326
- _ASV,
327
- 2,
328
- () => AssociateSourceViewsRequest$,
329
- () => AssociateSourceViewsResponse$,
330
- ];
331
- export var CreateBillingView$ = [
332
- 9,
333
- n0,
334
- _CBV,
335
- 2,
336
- () => CreateBillingViewRequest$,
337
- () => CreateBillingViewResponse$,
338
- ];
339
- export var DeleteBillingView$ = [
340
- 9,
341
- n0,
342
- _DBV,
343
- 2,
344
- () => DeleteBillingViewRequest$,
345
- () => DeleteBillingViewResponse$,
346
- ];
347
- export var DisassociateSourceViews$ = [
348
- 9,
349
- n0,
350
- _DSV,
351
- 2,
352
- () => DisassociateSourceViewsRequest$,
353
- () => DisassociateSourceViewsResponse$,
354
- ];
355
- export var GetBillingView$ = [
356
- 9,
357
- n0,
358
- _GBV,
359
- 0,
360
- () => GetBillingViewRequest$,
361
- () => GetBillingViewResponse$,
362
- ];
363
- export var GetResourcePolicy$ = [
364
- 9,
365
- n0,
366
- _GRP,
367
- 0,
368
- () => GetResourcePolicyRequest$,
369
- () => GetResourcePolicyResponse$,
370
- ];
371
- export var ListBillingViews$ = [
372
- 9,
373
- n0,
374
- _LBV,
375
- { [_h]: ["POST", "/", 200] },
376
- () => ListBillingViewsRequest$,
377
- () => ListBillingViewsResponse$,
378
- ];
379
- export var ListSourceViewsForBillingView$ = [
380
- 9,
381
- n0,
382
- _LSVFBV,
383
- 0,
384
- () => ListSourceViewsForBillingViewRequest$,
385
- () => ListSourceViewsForBillingViewResponse$,
386
- ];
387
- export var ListTagsForResource$ = [
388
- 9,
389
- n0,
390
- _LTFR,
391
- 0,
392
- () => ListTagsForResourceRequest$,
393
- () => ListTagsForResourceResponse$,
394
- ];
395
- export var TagResource$ = [
396
- 9,
397
- n0,
398
- _TRa,
399
- 0,
400
- () => TagResourceRequest$,
401
- () => TagResourceResponse$,
402
- ];
403
- export var UntagResource$ = [
404
- 9,
405
- n0,
406
- _UR,
407
- 0,
408
- () => UntagResourceRequest$,
409
- () => UntagResourceResponse$,
410
- ];
411
- export var UpdateBillingView$ = [
412
- 9,
413
- n0,
414
- _UBV,
415
- 2,
416
- () => UpdateBillingViewRequest$,
417
- () => UpdateBillingViewResponse$,
371
+ export var AssociateSourceViews$ = [9, n0, _ASV,
372
+ 2, () => AssociateSourceViewsRequest$, () => AssociateSourceViewsResponse$
373
+ ];
374
+ export var CreateBillingView$ = [9, n0, _CBV,
375
+ 2, () => CreateBillingViewRequest$, () => CreateBillingViewResponse$
376
+ ];
377
+ export var DeleteBillingView$ = [9, n0, _DBV,
378
+ 2, () => DeleteBillingViewRequest$, () => DeleteBillingViewResponse$
379
+ ];
380
+ export var DisassociateSourceViews$ = [9, n0, _DSV,
381
+ 2, () => DisassociateSourceViewsRequest$, () => DisassociateSourceViewsResponse$
382
+ ];
383
+ export var GetBillingView$ = [9, n0, _GBV,
384
+ 0, () => GetBillingViewRequest$, () => GetBillingViewResponse$
385
+ ];
386
+ export var GetResourcePolicy$ = [9, n0, _GRP,
387
+ 0, () => GetResourcePolicyRequest$, () => GetResourcePolicyResponse$
388
+ ];
389
+ export var ListBillingViews$ = [9, n0, _LBV,
390
+ { [_h]: ["POST", "/", 200] }, () => ListBillingViewsRequest$, () => ListBillingViewsResponse$
391
+ ];
392
+ export var ListSourceViewsForBillingView$ = [9, n0, _LSVFBV,
393
+ 0, () => ListSourceViewsForBillingViewRequest$, () => ListSourceViewsForBillingViewResponse$
394
+ ];
395
+ export var ListTagsForResource$ = [9, n0, _LTFR,
396
+ 0, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
397
+ ];
398
+ export var TagResource$ = [9, n0, _TRa,
399
+ 0, () => TagResourceRequest$, () => TagResourceResponse$
400
+ ];
401
+ export var UntagResource$ = [9, n0, _UR,
402
+ 0, () => UntagResourceRequest$, () => UntagResourceResponse$
403
+ ];
404
+ export var UpdateBillingView$ = [9, n0, _UBV,
405
+ 2, () => UpdateBillingViewRequest$, () => UpdateBillingViewResponse$
418
406
  ];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-billing",
3
3
  "description": "AWS SDK for JavaScript Billing Client for Node.js, Browser and React Native",
4
- "version": "3.957.0",
4
+ "version": "3.958.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-billing",
@@ -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.958.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",