@aws-sdk/client-budgets 3.927.0 → 3.929.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/dist-cjs/index.js +1045 -1442
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/BudgetsClient.js +2 -0
  4. package/dist-es/commands/CreateBudgetActionCommand.js +3 -10
  5. package/dist-es/commands/CreateBudgetCommand.js +3 -10
  6. package/dist-es/commands/CreateNotificationCommand.js +3 -10
  7. package/dist-es/commands/CreateSubscriberCommand.js +3 -10
  8. package/dist-es/commands/DeleteBudgetActionCommand.js +3 -10
  9. package/dist-es/commands/DeleteBudgetCommand.js +3 -9
  10. package/dist-es/commands/DeleteNotificationCommand.js +3 -9
  11. package/dist-es/commands/DeleteSubscriberCommand.js +3 -10
  12. package/dist-es/commands/DescribeBudgetActionCommand.js +3 -10
  13. package/dist-es/commands/DescribeBudgetActionHistoriesCommand.js +3 -10
  14. package/dist-es/commands/DescribeBudgetActionsForAccountCommand.js +3 -10
  15. package/dist-es/commands/DescribeBudgetActionsForBudgetCommand.js +3 -10
  16. package/dist-es/commands/DescribeBudgetCommand.js +3 -9
  17. package/dist-es/commands/DescribeBudgetNotificationsForAccountCommand.js +3 -9
  18. package/dist-es/commands/DescribeBudgetPerformanceHistoryCommand.js +3 -9
  19. package/dist-es/commands/DescribeBudgetsCommand.js +3 -9
  20. package/dist-es/commands/DescribeNotificationsForBudgetCommand.js +3 -9
  21. package/dist-es/commands/DescribeSubscribersForNotificationCommand.js +3 -10
  22. package/dist-es/commands/ExecuteBudgetActionCommand.js +3 -9
  23. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  24. package/dist-es/commands/TagResourceCommand.js +3 -9
  25. package/dist-es/commands/UntagResourceCommand.js +3 -9
  26. package/dist-es/commands/UpdateBudgetActionCommand.js +3 -10
  27. package/dist-es/commands/UpdateBudgetCommand.js +3 -9
  28. package/dist-es/commands/UpdateNotificationCommand.js +3 -9
  29. package/dist-es/commands/UpdateSubscriberCommand.js +3 -10
  30. package/dist-es/models/models_0.js +0 -77
  31. package/dist-es/runtimeConfig.shared.js +7 -0
  32. package/dist-es/schemas/schemas_0.js +967 -0
  33. package/dist-types/BudgetsClient.d.ts +10 -1
  34. package/dist-types/models/models_0.d.ts +0 -76
  35. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  36. package/dist-types/runtimeConfig.d.ts +1 -0
  37. package/dist-types/runtimeConfig.native.d.ts +1 -0
  38. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  39. package/dist-types/schemas/schemas_0.d.ts +143 -0
  40. package/dist-types/ts3.4/BudgetsClient.d.ts +4 -0
  41. package/dist-types/ts3.4/models/models_0.d.ts +0 -53
  42. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  43. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  44. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  45. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  46. package/dist-types/ts3.4/schemas/schemas_0.d.ts +150 -0
  47. package/package.json +5 -5
  48. package/dist-es/protocols/Aws_json1_1.js +0 -1133
  49. package/dist-types/protocols/Aws_json1_1.d.ts +0 -236
  50. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -317
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,8 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
18
 
20
19
  const resolveClientEndpointParameters = (options) => {
21
20
  return Object.assign(options, {
@@ -91,6 +90,7 @@ class BudgetsClient extends smithyClient.Client {
91
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
92
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
93
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
94
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
95
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
96
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -110,14 +110,14 @@ class BudgetsClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- class BudgetsServiceException extends smithyClient.ServiceException {
113
+ let BudgetsServiceException$1 = class BudgetsServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, BudgetsServiceException.prototype);
117
117
  }
118
- }
118
+ };
119
119
 
120
- class AccessDeniedException extends BudgetsServiceException {
120
+ let AccessDeniedException$1 = class AccessDeniedException extends BudgetsServiceException$1 {
121
121
  name = "AccessDeniedException";
122
122
  $fault = "client";
123
123
  Message;
@@ -130,7 +130,7 @@ class AccessDeniedException extends BudgetsServiceException {
130
130
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
131
131
  this.Message = opts.Message;
132
132
  }
133
- }
133
+ };
134
134
  const ThresholdType = {
135
135
  ABSOLUTE_VALUE: "ABSOLUTE_VALUE",
136
136
  PERCENTAGE: "PERCENTAGE",
@@ -179,7 +179,7 @@ const AutoAdjustType = {
179
179
  FORECAST: "FORECAST",
180
180
  HISTORICAL: "HISTORICAL",
181
181
  };
182
- class BillingViewHealthStatusException extends BudgetsServiceException {
182
+ let BillingViewHealthStatusException$1 = class BillingViewHealthStatusException extends BudgetsServiceException$1 {
183
183
  name = "BillingViewHealthStatusException";
184
184
  $fault = "client";
185
185
  Message;
@@ -192,7 +192,7 @@ class BillingViewHealthStatusException extends BudgetsServiceException {
192
192
  Object.setPrototypeOf(this, BillingViewHealthStatusException.prototype);
193
193
  this.Message = opts.Message;
194
194
  }
195
- }
195
+ };
196
196
  const BudgetType = {
197
197
  Cost: "COST",
198
198
  RICoverage: "RI_COVERAGE",
@@ -282,7 +282,7 @@ const NotificationState = {
282
282
  ALARM: "ALARM",
283
283
  OK: "OK",
284
284
  };
285
- class CreationLimitExceededException extends BudgetsServiceException {
285
+ let CreationLimitExceededException$1 = class CreationLimitExceededException extends BudgetsServiceException$1 {
286
286
  name = "CreationLimitExceededException";
287
287
  $fault = "client";
288
288
  Message;
@@ -295,8 +295,8 @@ class CreationLimitExceededException extends BudgetsServiceException {
295
295
  Object.setPrototypeOf(this, CreationLimitExceededException.prototype);
296
296
  this.Message = opts.Message;
297
297
  }
298
- }
299
- class DuplicateRecordException extends BudgetsServiceException {
298
+ };
299
+ let DuplicateRecordException$1 = class DuplicateRecordException extends BudgetsServiceException$1 {
300
300
  name = "DuplicateRecordException";
301
301
  $fault = "client";
302
302
  Message;
@@ -309,8 +309,8 @@ class DuplicateRecordException extends BudgetsServiceException {
309
309
  Object.setPrototypeOf(this, DuplicateRecordException.prototype);
310
310
  this.Message = opts.Message;
311
311
  }
312
- }
313
- class InternalErrorException extends BudgetsServiceException {
312
+ };
313
+ let InternalErrorException$1 = class InternalErrorException extends BudgetsServiceException$1 {
314
314
  name = "InternalErrorException";
315
315
  $fault = "server";
316
316
  Message;
@@ -323,8 +323,8 @@ class InternalErrorException extends BudgetsServiceException {
323
323
  Object.setPrototypeOf(this, InternalErrorException.prototype);
324
324
  this.Message = opts.Message;
325
325
  }
326
- }
327
- class InvalidParameterException extends BudgetsServiceException {
326
+ };
327
+ let InvalidParameterException$1 = class InvalidParameterException extends BudgetsServiceException$1 {
328
328
  name = "InvalidParameterException";
329
329
  $fault = "client";
330
330
  Message;
@@ -337,8 +337,8 @@ class InvalidParameterException extends BudgetsServiceException {
337
337
  Object.setPrototypeOf(this, InvalidParameterException.prototype);
338
338
  this.Message = opts.Message;
339
339
  }
340
- }
341
- class NotFoundException extends BudgetsServiceException {
340
+ };
341
+ let NotFoundException$1 = class NotFoundException extends BudgetsServiceException$1 {
342
342
  name = "NotFoundException";
343
343
  $fault = "client";
344
344
  Message;
@@ -351,8 +351,8 @@ class NotFoundException extends BudgetsServiceException {
351
351
  Object.setPrototypeOf(this, NotFoundException.prototype);
352
352
  this.Message = opts.Message;
353
353
  }
354
- }
355
- class ServiceQuotaExceededException extends BudgetsServiceException {
354
+ };
355
+ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends BudgetsServiceException$1 {
356
356
  name = "ServiceQuotaExceededException";
357
357
  $fault = "client";
358
358
  Message;
@@ -365,8 +365,8 @@ class ServiceQuotaExceededException extends BudgetsServiceException {
365
365
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
366
366
  this.Message = opts.Message;
367
367
  }
368
- }
369
- class ThrottlingException extends BudgetsServiceException {
368
+ };
369
+ let ThrottlingException$1 = class ThrottlingException extends BudgetsServiceException$1 {
370
370
  name = "ThrottlingException";
371
371
  $fault = "client";
372
372
  Message;
@@ -379,8 +379,8 @@ class ThrottlingException extends BudgetsServiceException {
379
379
  Object.setPrototypeOf(this, ThrottlingException.prototype);
380
380
  this.Message = opts.Message;
381
381
  }
382
- }
383
- class ResourceLockedException extends BudgetsServiceException {
382
+ };
383
+ let ResourceLockedException$1 = class ResourceLockedException extends BudgetsServiceException$1 {
384
384
  name = "ResourceLockedException";
385
385
  $fault = "client";
386
386
  Message;
@@ -393,8 +393,8 @@ class ResourceLockedException extends BudgetsServiceException {
393
393
  Object.setPrototypeOf(this, ResourceLockedException.prototype);
394
394
  this.Message = opts.Message;
395
395
  }
396
- }
397
- class InvalidNextTokenException extends BudgetsServiceException {
396
+ };
397
+ let InvalidNextTokenException$1 = class InvalidNextTokenException extends BudgetsServiceException$1 {
398
398
  name = "InvalidNextTokenException";
399
399
  $fault = "client";
400
400
  Message;
@@ -407,8 +407,8 @@ class InvalidNextTokenException extends BudgetsServiceException {
407
407
  Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
408
408
  this.Message = opts.Message;
409
409
  }
410
- }
411
- class ExpiredNextTokenException extends BudgetsServiceException {
410
+ };
411
+ let ExpiredNextTokenException$1 = class ExpiredNextTokenException extends BudgetsServiceException$1 {
412
412
  name = "ExpiredNextTokenException";
413
413
  $fault = "client";
414
414
  Message;
@@ -421,1229 +421,976 @@ class ExpiredNextTokenException extends BudgetsServiceException {
421
421
  Object.setPrototypeOf(this, ExpiredNextTokenException.prototype);
422
422
  this.Message = opts.Message;
423
423
  }
424
- }
424
+ };
425
425
  const ExecutionType = {
426
426
  ApproveBudgetAction: "APPROVE_BUDGET_ACTION",
427
427
  ResetBudgetAction: "RESET_BUDGET_ACTION",
428
428
  RetryBudgetAction: "RETRY_BUDGET_ACTION",
429
429
  ReverseBudgetAction: "REVERSE_BUDGET_ACTION",
430
430
  };
431
- const SubscriberFilterSensitiveLog = (obj) => ({
432
- ...obj,
433
- ...(obj.Address && { Address: smithyClient.SENSITIVE_STRING }),
434
- });
435
- const ActionFilterSensitiveLog = (obj) => ({
436
- ...obj,
437
- ...(obj.Subscribers && { Subscribers: obj.Subscribers.map((item) => SubscriberFilterSensitiveLog(item)) }),
438
- });
439
- const ActionHistoryDetailsFilterSensitiveLog = (obj) => ({
440
- ...obj,
441
- ...(obj.Action && { Action: ActionFilterSensitiveLog(obj.Action) }),
442
- });
443
- const ActionHistoryFilterSensitiveLog = (obj) => ({
444
- ...obj,
445
- ...(obj.ActionHistoryDetails && {
446
- ActionHistoryDetails: ActionHistoryDetailsFilterSensitiveLog(obj.ActionHistoryDetails),
447
- }),
448
- });
449
- const NotificationWithSubscribersFilterSensitiveLog = (obj) => ({
450
- ...obj,
451
- ...(obj.Subscribers && { Subscribers: obj.Subscribers.map((item) => SubscriberFilterSensitiveLog(item)) }),
452
- });
453
- const CreateBudgetActionRequestFilterSensitiveLog = (obj) => ({
454
- ...obj,
455
- ...(obj.Subscribers && { Subscribers: obj.Subscribers.map((item) => SubscriberFilterSensitiveLog(item)) }),
456
- });
457
- const CreateNotificationRequestFilterSensitiveLog = (obj) => ({
458
- ...obj,
459
- ...(obj.Subscribers && { Subscribers: obj.Subscribers.map((item) => SubscriberFilterSensitiveLog(item)) }),
460
- });
461
- const CreateSubscriberRequestFilterSensitiveLog = (obj) => ({
462
- ...obj,
463
- ...(obj.Subscriber && { Subscriber: SubscriberFilterSensitiveLog(obj.Subscriber) }),
464
- });
465
- const DeleteBudgetActionResponseFilterSensitiveLog = (obj) => ({
466
- ...obj,
467
- ...(obj.Action && { Action: ActionFilterSensitiveLog(obj.Action) }),
468
- });
469
- const DeleteSubscriberRequestFilterSensitiveLog = (obj) => ({
470
- ...obj,
471
- ...(obj.Subscriber && { Subscriber: SubscriberFilterSensitiveLog(obj.Subscriber) }),
472
- });
473
- const DescribeBudgetActionResponseFilterSensitiveLog = (obj) => ({
474
- ...obj,
475
- ...(obj.Action && { Action: ActionFilterSensitiveLog(obj.Action) }),
476
- });
477
- const DescribeBudgetActionHistoriesResponseFilterSensitiveLog = (obj) => ({
478
- ...obj,
479
- });
480
- const DescribeBudgetActionsForAccountResponseFilterSensitiveLog = (obj) => ({
481
- ...obj,
482
- });
483
- const DescribeBudgetActionsForBudgetResponseFilterSensitiveLog = (obj) => ({
484
- ...obj,
485
- });
486
- const DescribeSubscribersForNotificationResponseFilterSensitiveLog = (obj) => ({
487
- ...obj,
488
- ...(obj.Subscribers && { Subscribers: obj.Subscribers.map((item) => SubscriberFilterSensitiveLog(item)) }),
489
- });
490
- const UpdateBudgetActionRequestFilterSensitiveLog = (obj) => ({
491
- ...obj,
492
- ...(obj.Subscribers && { Subscribers: obj.Subscribers.map((item) => SubscriberFilterSensitiveLog(item)) }),
493
- });
494
- const UpdateBudgetActionResponseFilterSensitiveLog = (obj) => ({
495
- ...obj,
496
- ...(obj.OldAction && { OldAction: ActionFilterSensitiveLog(obj.OldAction) }),
497
- ...(obj.NewAction && { NewAction: ActionFilterSensitiveLog(obj.NewAction) }),
498
- });
499
- const UpdateSubscriberRequestFilterSensitiveLog = (obj) => ({
500
- ...obj,
501
- ...(obj.OldSubscriber && { OldSubscriber: SubscriberFilterSensitiveLog(obj.OldSubscriber) }),
502
- ...(obj.NewSubscriber && { NewSubscriber: SubscriberFilterSensitiveLog(obj.NewSubscriber) }),
503
- });
504
- const CreateBudgetRequestFilterSensitiveLog = (obj) => ({
505
- ...obj,
506
- });
507
431
 
508
- const se_CreateBudgetCommand = async (input, context) => {
509
- const headers = sharedHeaders("CreateBudget");
510
- let body;
511
- body = JSON.stringify(se_CreateBudgetRequest(input));
512
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
513
- };
514
- const se_CreateBudgetActionCommand = async (input, context) => {
515
- const headers = sharedHeaders("CreateBudgetAction");
516
- let body;
517
- body = JSON.stringify(se_CreateBudgetActionRequest(input));
518
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
519
- };
520
- const se_CreateNotificationCommand = async (input, context) => {
521
- const headers = sharedHeaders("CreateNotification");
522
- let body;
523
- body = JSON.stringify(se_CreateNotificationRequest(input));
524
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
525
- };
526
- const se_CreateSubscriberCommand = async (input, context) => {
527
- const headers = sharedHeaders("CreateSubscriber");
528
- let body;
529
- body = JSON.stringify(se_CreateSubscriberRequest(input));
530
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
531
- };
532
- const se_DeleteBudgetCommand = async (input, context) => {
533
- const headers = sharedHeaders("DeleteBudget");
534
- let body;
535
- body = JSON.stringify(smithyClient._json(input));
536
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
537
- };
538
- const se_DeleteBudgetActionCommand = async (input, context) => {
539
- const headers = sharedHeaders("DeleteBudgetAction");
540
- let body;
541
- body = JSON.stringify(smithyClient._json(input));
542
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
543
- };
544
- const se_DeleteNotificationCommand = async (input, context) => {
545
- const headers = sharedHeaders("DeleteNotification");
546
- let body;
547
- body = JSON.stringify(se_DeleteNotificationRequest(input));
548
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
549
- };
550
- const se_DeleteSubscriberCommand = async (input, context) => {
551
- const headers = sharedHeaders("DeleteSubscriber");
552
- let body;
553
- body = JSON.stringify(se_DeleteSubscriberRequest(input));
554
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
555
- };
556
- const se_DescribeBudgetCommand = async (input, context) => {
557
- const headers = sharedHeaders("DescribeBudget");
558
- let body;
559
- body = JSON.stringify(smithyClient._json(input));
560
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
561
- };
562
- const se_DescribeBudgetActionCommand = async (input, context) => {
563
- const headers = sharedHeaders("DescribeBudgetAction");
564
- let body;
565
- body = JSON.stringify(smithyClient._json(input));
566
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
567
- };
568
- const se_DescribeBudgetActionHistoriesCommand = async (input, context) => {
569
- const headers = sharedHeaders("DescribeBudgetActionHistories");
570
- let body;
571
- body = JSON.stringify(se_DescribeBudgetActionHistoriesRequest(input));
572
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
573
- };
574
- const se_DescribeBudgetActionsForAccountCommand = async (input, context) => {
575
- const headers = sharedHeaders("DescribeBudgetActionsForAccount");
576
- let body;
577
- body = JSON.stringify(smithyClient._json(input));
578
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
579
- };
580
- const se_DescribeBudgetActionsForBudgetCommand = async (input, context) => {
581
- const headers = sharedHeaders("DescribeBudgetActionsForBudget");
582
- let body;
583
- body = JSON.stringify(smithyClient._json(input));
584
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
585
- };
586
- const se_DescribeBudgetNotificationsForAccountCommand = async (input, context) => {
587
- const headers = sharedHeaders("DescribeBudgetNotificationsForAccount");
588
- let body;
589
- body = JSON.stringify(smithyClient._json(input));
590
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
591
- };
592
- const se_DescribeBudgetPerformanceHistoryCommand = async (input, context) => {
593
- const headers = sharedHeaders("DescribeBudgetPerformanceHistory");
594
- let body;
595
- body = JSON.stringify(se_DescribeBudgetPerformanceHistoryRequest(input));
596
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
597
- };
598
- const se_DescribeBudgetsCommand = async (input, context) => {
599
- const headers = sharedHeaders("DescribeBudgets");
600
- let body;
601
- body = JSON.stringify(smithyClient._json(input));
602
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
603
- };
604
- const se_DescribeNotificationsForBudgetCommand = async (input, context) => {
605
- const headers = sharedHeaders("DescribeNotificationsForBudget");
606
- let body;
607
- body = JSON.stringify(smithyClient._json(input));
608
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
609
- };
610
- const se_DescribeSubscribersForNotificationCommand = async (input, context) => {
611
- const headers = sharedHeaders("DescribeSubscribersForNotification");
612
- let body;
613
- body = JSON.stringify(se_DescribeSubscribersForNotificationRequest(input));
614
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
615
- };
616
- const se_ExecuteBudgetActionCommand = async (input, context) => {
617
- const headers = sharedHeaders("ExecuteBudgetAction");
618
- let body;
619
- body = JSON.stringify(smithyClient._json(input));
620
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
621
- };
622
- const se_ListTagsForResourceCommand = async (input, context) => {
623
- const headers = sharedHeaders("ListTagsForResource");
624
- let body;
625
- body = JSON.stringify(smithyClient._json(input));
626
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
627
- };
628
- const se_TagResourceCommand = async (input, context) => {
629
- const headers = sharedHeaders("TagResource");
630
- let body;
631
- body = JSON.stringify(smithyClient._json(input));
632
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
633
- };
634
- const se_UntagResourceCommand = async (input, context) => {
635
- const headers = sharedHeaders("UntagResource");
636
- let body;
637
- body = JSON.stringify(smithyClient._json(input));
638
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
639
- };
640
- const se_UpdateBudgetCommand = async (input, context) => {
641
- const headers = sharedHeaders("UpdateBudget");
642
- let body;
643
- body = JSON.stringify(se_UpdateBudgetRequest(input));
644
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
645
- };
646
- const se_UpdateBudgetActionCommand = async (input, context) => {
647
- const headers = sharedHeaders("UpdateBudgetAction");
648
- let body;
649
- body = JSON.stringify(se_UpdateBudgetActionRequest(input));
650
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
651
- };
652
- const se_UpdateNotificationCommand = async (input, context) => {
653
- const headers = sharedHeaders("UpdateNotification");
654
- let body;
655
- body = JSON.stringify(se_UpdateNotificationRequest(input));
656
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
657
- };
658
- const se_UpdateSubscriberCommand = async (input, context) => {
659
- const headers = sharedHeaders("UpdateSubscriber");
660
- let body;
661
- body = JSON.stringify(se_UpdateSubscriberRequest(input));
662
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
663
- };
664
- const de_CreateBudgetCommand = async (output, context) => {
665
- if (output.statusCode >= 300) {
666
- return de_CommandError(output, context);
667
- }
668
- const data = await core$1.parseJsonBody(output.body, context);
669
- let contents = {};
670
- contents = smithyClient._json(data);
671
- const response = {
672
- $metadata: deserializeMetadata(output),
673
- ...contents,
674
- };
675
- return response;
676
- };
677
- const de_CreateBudgetActionCommand = async (output, context) => {
678
- if (output.statusCode >= 300) {
679
- return de_CommandError(output, context);
680
- }
681
- const data = await core$1.parseJsonBody(output.body, context);
682
- let contents = {};
683
- contents = smithyClient._json(data);
684
- const response = {
685
- $metadata: deserializeMetadata(output),
686
- ...contents,
687
- };
688
- return response;
689
- };
690
- const de_CreateNotificationCommand = async (output, context) => {
691
- if (output.statusCode >= 300) {
692
- return de_CommandError(output, context);
693
- }
694
- const data = await core$1.parseJsonBody(output.body, context);
695
- let contents = {};
696
- contents = smithyClient._json(data);
697
- const response = {
698
- $metadata: deserializeMetadata(output),
699
- ...contents,
700
- };
701
- return response;
702
- };
703
- const de_CreateSubscriberCommand = async (output, context) => {
704
- if (output.statusCode >= 300) {
705
- return de_CommandError(output, context);
706
- }
707
- const data = await core$1.parseJsonBody(output.body, context);
708
- let contents = {};
709
- contents = smithyClient._json(data);
710
- const response = {
711
- $metadata: deserializeMetadata(output),
712
- ...contents,
713
- };
714
- return response;
715
- };
716
- const de_DeleteBudgetCommand = async (output, context) => {
717
- if (output.statusCode >= 300) {
718
- return de_CommandError(output, context);
719
- }
720
- const data = await core$1.parseJsonBody(output.body, context);
721
- let contents = {};
722
- contents = smithyClient._json(data);
723
- const response = {
724
- $metadata: deserializeMetadata(output),
725
- ...contents,
726
- };
727
- return response;
728
- };
729
- const de_DeleteBudgetActionCommand = async (output, context) => {
730
- if (output.statusCode >= 300) {
731
- return de_CommandError(output, context);
732
- }
733
- const data = await core$1.parseJsonBody(output.body, context);
734
- let contents = {};
735
- contents = de_DeleteBudgetActionResponse(data);
736
- const response = {
737
- $metadata: deserializeMetadata(output),
738
- ...contents,
739
- };
740
- return response;
741
- };
742
- const de_DeleteNotificationCommand = async (output, context) => {
743
- if (output.statusCode >= 300) {
744
- return de_CommandError(output, context);
745
- }
746
- const data = await core$1.parseJsonBody(output.body, context);
747
- let contents = {};
748
- contents = smithyClient._json(data);
749
- const response = {
750
- $metadata: deserializeMetadata(output),
751
- ...contents,
752
- };
753
- return response;
754
- };
755
- const de_DeleteSubscriberCommand = async (output, context) => {
756
- if (output.statusCode >= 300) {
757
- return de_CommandError(output, context);
758
- }
759
- const data = await core$1.parseJsonBody(output.body, context);
760
- let contents = {};
761
- contents = smithyClient._json(data);
762
- const response = {
763
- $metadata: deserializeMetadata(output),
764
- ...contents,
765
- };
766
- return response;
767
- };
768
- const de_DescribeBudgetCommand = async (output, context) => {
769
- if (output.statusCode >= 300) {
770
- return de_CommandError(output, context);
771
- }
772
- const data = await core$1.parseJsonBody(output.body, context);
773
- let contents = {};
774
- contents = de_DescribeBudgetResponse(data);
775
- const response = {
776
- $metadata: deserializeMetadata(output),
777
- ...contents,
778
- };
779
- return response;
780
- };
781
- const de_DescribeBudgetActionCommand = async (output, context) => {
782
- if (output.statusCode >= 300) {
783
- return de_CommandError(output, context);
784
- }
785
- const data = await core$1.parseJsonBody(output.body, context);
786
- let contents = {};
787
- contents = de_DescribeBudgetActionResponse(data);
788
- const response = {
789
- $metadata: deserializeMetadata(output),
790
- ...contents,
791
- };
792
- return response;
793
- };
794
- const de_DescribeBudgetActionHistoriesCommand = async (output, context) => {
795
- if (output.statusCode >= 300) {
796
- return de_CommandError(output, context);
797
- }
798
- const data = await core$1.parseJsonBody(output.body, context);
799
- let contents = {};
800
- contents = de_DescribeBudgetActionHistoriesResponse(data);
801
- const response = {
802
- $metadata: deserializeMetadata(output),
803
- ...contents,
804
- };
805
- return response;
806
- };
807
- const de_DescribeBudgetActionsForAccountCommand = async (output, context) => {
808
- if (output.statusCode >= 300) {
809
- return de_CommandError(output, context);
810
- }
811
- const data = await core$1.parseJsonBody(output.body, context);
812
- let contents = {};
813
- contents = de_DescribeBudgetActionsForAccountResponse(data);
814
- const response = {
815
- $metadata: deserializeMetadata(output),
816
- ...contents,
817
- };
818
- return response;
819
- };
820
- const de_DescribeBudgetActionsForBudgetCommand = async (output, context) => {
821
- if (output.statusCode >= 300) {
822
- return de_CommandError(output, context);
823
- }
824
- const data = await core$1.parseJsonBody(output.body, context);
825
- let contents = {};
826
- contents = de_DescribeBudgetActionsForBudgetResponse(data);
827
- const response = {
828
- $metadata: deserializeMetadata(output),
829
- ...contents,
830
- };
831
- return response;
832
- };
833
- const de_DescribeBudgetNotificationsForAccountCommand = async (output, context) => {
834
- if (output.statusCode >= 300) {
835
- return de_CommandError(output, context);
836
- }
837
- const data = await core$1.parseJsonBody(output.body, context);
838
- let contents = {};
839
- contents = de_DescribeBudgetNotificationsForAccountResponse(data);
840
- const response = {
841
- $metadata: deserializeMetadata(output),
842
- ...contents,
843
- };
844
- return response;
845
- };
846
- const de_DescribeBudgetPerformanceHistoryCommand = async (output, context) => {
847
- if (output.statusCode >= 300) {
848
- return de_CommandError(output, context);
849
- }
850
- const data = await core$1.parseJsonBody(output.body, context);
851
- let contents = {};
852
- contents = de_DescribeBudgetPerformanceHistoryResponse(data);
853
- const response = {
854
- $metadata: deserializeMetadata(output),
855
- ...contents,
856
- };
857
- return response;
858
- };
859
- const de_DescribeBudgetsCommand = async (output, context) => {
860
- if (output.statusCode >= 300) {
861
- return de_CommandError(output, context);
862
- }
863
- const data = await core$1.parseJsonBody(output.body, context);
864
- let contents = {};
865
- contents = de_DescribeBudgetsResponse(data);
866
- const response = {
867
- $metadata: deserializeMetadata(output),
868
- ...contents,
869
- };
870
- return response;
871
- };
872
- const de_DescribeNotificationsForBudgetCommand = async (output, context) => {
873
- if (output.statusCode >= 300) {
874
- return de_CommandError(output, context);
875
- }
876
- const data = await core$1.parseJsonBody(output.body, context);
877
- let contents = {};
878
- contents = de_DescribeNotificationsForBudgetResponse(data);
879
- const response = {
880
- $metadata: deserializeMetadata(output),
881
- ...contents,
882
- };
883
- return response;
884
- };
885
- const de_DescribeSubscribersForNotificationCommand = async (output, context) => {
886
- if (output.statusCode >= 300) {
887
- return de_CommandError(output, context);
888
- }
889
- const data = await core$1.parseJsonBody(output.body, context);
890
- let contents = {};
891
- contents = smithyClient._json(data);
892
- const response = {
893
- $metadata: deserializeMetadata(output),
894
- ...contents,
895
- };
896
- return response;
897
- };
898
- const de_ExecuteBudgetActionCommand = async (output, context) => {
899
- if (output.statusCode >= 300) {
900
- return de_CommandError(output, context);
901
- }
902
- const data = await core$1.parseJsonBody(output.body, context);
903
- let contents = {};
904
- contents = smithyClient._json(data);
905
- const response = {
906
- $metadata: deserializeMetadata(output),
907
- ...contents,
908
- };
909
- return response;
910
- };
911
- const de_ListTagsForResourceCommand = async (output, context) => {
912
- if (output.statusCode >= 300) {
913
- return de_CommandError(output, context);
914
- }
915
- const data = await core$1.parseJsonBody(output.body, context);
916
- let contents = {};
917
- contents = smithyClient._json(data);
918
- const response = {
919
- $metadata: deserializeMetadata(output),
920
- ...contents,
921
- };
922
- return response;
923
- };
924
- const de_TagResourceCommand = async (output, context) => {
925
- if (output.statusCode >= 300) {
926
- return de_CommandError(output, context);
927
- }
928
- const data = await core$1.parseJsonBody(output.body, context);
929
- let contents = {};
930
- contents = smithyClient._json(data);
931
- const response = {
932
- $metadata: deserializeMetadata(output),
933
- ...contents,
934
- };
935
- return response;
936
- };
937
- const de_UntagResourceCommand = async (output, context) => {
938
- if (output.statusCode >= 300) {
939
- return de_CommandError(output, context);
940
- }
941
- const data = await core$1.parseJsonBody(output.body, context);
942
- let contents = {};
943
- contents = smithyClient._json(data);
944
- const response = {
945
- $metadata: deserializeMetadata(output),
946
- ...contents,
947
- };
948
- return response;
949
- };
950
- const de_UpdateBudgetCommand = async (output, context) => {
951
- if (output.statusCode >= 300) {
952
- return de_CommandError(output, context);
953
- }
954
- const data = await core$1.parseJsonBody(output.body, context);
955
- let contents = {};
956
- contents = smithyClient._json(data);
957
- const response = {
958
- $metadata: deserializeMetadata(output),
959
- ...contents,
960
- };
961
- return response;
962
- };
963
- const de_UpdateBudgetActionCommand = async (output, context) => {
964
- if (output.statusCode >= 300) {
965
- return de_CommandError(output, context);
966
- }
967
- const data = await core$1.parseJsonBody(output.body, context);
968
- let contents = {};
969
- contents = de_UpdateBudgetActionResponse(data);
970
- const response = {
971
- $metadata: deserializeMetadata(output),
972
- ...contents,
973
- };
974
- return response;
975
- };
976
- const de_UpdateNotificationCommand = async (output, context) => {
977
- if (output.statusCode >= 300) {
978
- return de_CommandError(output, context);
979
- }
980
- const data = await core$1.parseJsonBody(output.body, context);
981
- let contents = {};
982
- contents = smithyClient._json(data);
983
- const response = {
984
- $metadata: deserializeMetadata(output),
985
- ...contents,
986
- };
987
- return response;
988
- };
989
- const de_UpdateSubscriberCommand = async (output, context) => {
990
- if (output.statusCode >= 300) {
991
- return de_CommandError(output, context);
992
- }
993
- const data = await core$1.parseJsonBody(output.body, context);
994
- let contents = {};
995
- contents = smithyClient._json(data);
996
- const response = {
997
- $metadata: deserializeMetadata(output),
998
- ...contents,
999
- };
1000
- return response;
1001
- };
1002
- const de_CommandError = async (output, context) => {
1003
- const parsedOutput = {
1004
- ...output,
1005
- body: await core$1.parseJsonErrorBody(output.body, context),
1006
- };
1007
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
1008
- switch (errorCode) {
1009
- case "AccessDeniedException":
1010
- case "com.amazonaws.budgets#AccessDeniedException":
1011
- throw await de_AccessDeniedExceptionRes(parsedOutput);
1012
- case "BillingViewHealthStatusException":
1013
- case "com.amazonaws.budgets#BillingViewHealthStatusException":
1014
- throw await de_BillingViewHealthStatusExceptionRes(parsedOutput);
1015
- case "CreationLimitExceededException":
1016
- case "com.amazonaws.budgets#CreationLimitExceededException":
1017
- throw await de_CreationLimitExceededExceptionRes(parsedOutput);
1018
- case "DuplicateRecordException":
1019
- case "com.amazonaws.budgets#DuplicateRecordException":
1020
- throw await de_DuplicateRecordExceptionRes(parsedOutput);
1021
- case "InternalErrorException":
1022
- case "com.amazonaws.budgets#InternalErrorException":
1023
- throw await de_InternalErrorExceptionRes(parsedOutput);
1024
- case "InvalidParameterException":
1025
- case "com.amazonaws.budgets#InvalidParameterException":
1026
- throw await de_InvalidParameterExceptionRes(parsedOutput);
1027
- case "NotFoundException":
1028
- case "com.amazonaws.budgets#NotFoundException":
1029
- throw await de_NotFoundExceptionRes(parsedOutput);
1030
- case "ServiceQuotaExceededException":
1031
- case "com.amazonaws.budgets#ServiceQuotaExceededException":
1032
- throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
1033
- case "ThrottlingException":
1034
- case "com.amazonaws.budgets#ThrottlingException":
1035
- throw await de_ThrottlingExceptionRes(parsedOutput);
1036
- case "ResourceLockedException":
1037
- case "com.amazonaws.budgets#ResourceLockedException":
1038
- throw await de_ResourceLockedExceptionRes(parsedOutput);
1039
- case "InvalidNextTokenException":
1040
- case "com.amazonaws.budgets#InvalidNextTokenException":
1041
- throw await de_InvalidNextTokenExceptionRes(parsedOutput);
1042
- case "ExpiredNextTokenException":
1043
- case "com.amazonaws.budgets#ExpiredNextTokenException":
1044
- throw await de_ExpiredNextTokenExceptionRes(parsedOutput);
1045
- default:
1046
- const parsedBody = parsedOutput.body;
1047
- return throwDefaultError({
1048
- output,
1049
- parsedBody,
1050
- errorCode,
1051
- });
1052
- }
1053
- };
1054
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1055
- const body = parsedOutput.body;
1056
- const deserialized = smithyClient._json(body);
1057
- const exception = new AccessDeniedException({
1058
- $metadata: deserializeMetadata(parsedOutput),
1059
- ...deserialized,
1060
- });
1061
- return smithyClient.decorateServiceException(exception, body);
1062
- };
1063
- const de_BillingViewHealthStatusExceptionRes = async (parsedOutput, context) => {
1064
- const body = parsedOutput.body;
1065
- const deserialized = smithyClient._json(body);
1066
- const exception = new BillingViewHealthStatusException({
1067
- $metadata: deserializeMetadata(parsedOutput),
1068
- ...deserialized,
1069
- });
1070
- return smithyClient.decorateServiceException(exception, body);
1071
- };
1072
- const de_CreationLimitExceededExceptionRes = async (parsedOutput, context) => {
1073
- const body = parsedOutput.body;
1074
- const deserialized = smithyClient._json(body);
1075
- const exception = new CreationLimitExceededException({
1076
- $metadata: deserializeMetadata(parsedOutput),
1077
- ...deserialized,
1078
- });
1079
- return smithyClient.decorateServiceException(exception, body);
1080
- };
1081
- const de_DuplicateRecordExceptionRes = async (parsedOutput, context) => {
1082
- const body = parsedOutput.body;
1083
- const deserialized = smithyClient._json(body);
1084
- const exception = new DuplicateRecordException({
1085
- $metadata: deserializeMetadata(parsedOutput),
1086
- ...deserialized,
1087
- });
1088
- return smithyClient.decorateServiceException(exception, body);
1089
- };
1090
- const de_ExpiredNextTokenExceptionRes = async (parsedOutput, context) => {
1091
- const body = parsedOutput.body;
1092
- const deserialized = smithyClient._json(body);
1093
- const exception = new ExpiredNextTokenException({
1094
- $metadata: deserializeMetadata(parsedOutput),
1095
- ...deserialized,
1096
- });
1097
- return smithyClient.decorateServiceException(exception, body);
1098
- };
1099
- const de_InternalErrorExceptionRes = async (parsedOutput, context) => {
1100
- const body = parsedOutput.body;
1101
- const deserialized = smithyClient._json(body);
1102
- const exception = new InternalErrorException({
1103
- $metadata: deserializeMetadata(parsedOutput),
1104
- ...deserialized,
1105
- });
1106
- return smithyClient.decorateServiceException(exception, body);
1107
- };
1108
- const de_InvalidNextTokenExceptionRes = async (parsedOutput, context) => {
1109
- const body = parsedOutput.body;
1110
- const deserialized = smithyClient._json(body);
1111
- const exception = new InvalidNextTokenException({
1112
- $metadata: deserializeMetadata(parsedOutput),
1113
- ...deserialized,
1114
- });
1115
- return smithyClient.decorateServiceException(exception, body);
1116
- };
1117
- const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
1118
- const body = parsedOutput.body;
1119
- const deserialized = smithyClient._json(body);
1120
- const exception = new InvalidParameterException({
1121
- $metadata: deserializeMetadata(parsedOutput),
1122
- ...deserialized,
1123
- });
1124
- return smithyClient.decorateServiceException(exception, body);
1125
- };
1126
- const de_NotFoundExceptionRes = async (parsedOutput, context) => {
1127
- const body = parsedOutput.body;
1128
- const deserialized = smithyClient._json(body);
1129
- const exception = new NotFoundException({
1130
- $metadata: deserializeMetadata(parsedOutput),
1131
- ...deserialized,
1132
- });
1133
- return smithyClient.decorateServiceException(exception, body);
1134
- };
1135
- const de_ResourceLockedExceptionRes = async (parsedOutput, context) => {
1136
- const body = parsedOutput.body;
1137
- const deserialized = smithyClient._json(body);
1138
- const exception = new ResourceLockedException({
1139
- $metadata: deserializeMetadata(parsedOutput),
1140
- ...deserialized,
1141
- });
1142
- return smithyClient.decorateServiceException(exception, body);
1143
- };
1144
- const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
1145
- const body = parsedOutput.body;
1146
- const deserialized = smithyClient._json(body);
1147
- const exception = new ServiceQuotaExceededException({
1148
- $metadata: deserializeMetadata(parsedOutput),
1149
- ...deserialized,
1150
- });
1151
- return smithyClient.decorateServiceException(exception, body);
1152
- };
1153
- const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1154
- const body = parsedOutput.body;
1155
- const deserialized = smithyClient._json(body);
1156
- const exception = new ThrottlingException({
1157
- $metadata: deserializeMetadata(parsedOutput),
1158
- ...deserialized,
1159
- });
1160
- return smithyClient.decorateServiceException(exception, body);
1161
- };
1162
- const se_ActionThreshold = (input, context) => {
1163
- return smithyClient.take(input, {
1164
- ActionThresholdType: [],
1165
- ActionThresholdValue: smithyClient.serializeFloat,
1166
- });
1167
- };
1168
- const se_AutoAdjustData = (input, context) => {
1169
- return smithyClient.take(input, {
1170
- AutoAdjustType: [],
1171
- HistoricalOptions: smithyClient._json,
1172
- LastAutoAdjustTime: (_) => _.getTime() / 1_000,
1173
- });
1174
- };
1175
- const se_Budget = (input, context) => {
1176
- return smithyClient.take(input, {
1177
- AutoAdjustData: (_) => se_AutoAdjustData(_),
1178
- BillingViewArn: [],
1179
- BudgetLimit: smithyClient._json,
1180
- BudgetName: [],
1181
- BudgetType: [],
1182
- CalculatedSpend: smithyClient._json,
1183
- CostFilters: smithyClient._json,
1184
- CostTypes: smithyClient._json,
1185
- FilterExpression: (_) => se_Expression(_),
1186
- HealthStatus: (_) => se_HealthStatus(_),
1187
- LastUpdatedTime: (_) => _.getTime() / 1_000,
1188
- Metrics: smithyClient._json,
1189
- PlannedBudgetLimits: smithyClient._json,
1190
- TimePeriod: (_) => se_TimePeriod(_),
1191
- TimeUnit: [],
1192
- });
1193
- };
1194
- const se_CreateBudgetActionRequest = (input, context) => {
1195
- return smithyClient.take(input, {
1196
- AccountId: [],
1197
- ActionThreshold: (_) => se_ActionThreshold(_),
1198
- ActionType: [],
1199
- ApprovalModel: [],
1200
- BudgetName: [],
1201
- Definition: smithyClient._json,
1202
- ExecutionRoleArn: [],
1203
- NotificationType: [],
1204
- ResourceTags: smithyClient._json,
1205
- Subscribers: smithyClient._json,
1206
- });
1207
- };
1208
- const se_CreateBudgetRequest = (input, context) => {
1209
- return smithyClient.take(input, {
1210
- AccountId: [],
1211
- Budget: (_) => se_Budget(_),
1212
- NotificationsWithSubscribers: (_) => se_NotificationWithSubscribersList(_),
1213
- ResourceTags: smithyClient._json,
1214
- });
1215
- };
1216
- const se_CreateNotificationRequest = (input, context) => {
1217
- return smithyClient.take(input, {
1218
- AccountId: [],
1219
- BudgetName: [],
1220
- Notification: (_) => se_Notification(_),
1221
- Subscribers: smithyClient._json,
1222
- });
1223
- };
1224
- const se_CreateSubscriberRequest = (input, context) => {
1225
- return smithyClient.take(input, {
1226
- AccountId: [],
1227
- BudgetName: [],
1228
- Notification: (_) => se_Notification(_),
1229
- Subscriber: smithyClient._json,
1230
- });
1231
- };
1232
- const se_DeleteNotificationRequest = (input, context) => {
1233
- return smithyClient.take(input, {
1234
- AccountId: [],
1235
- BudgetName: [],
1236
- Notification: (_) => se_Notification(_),
1237
- });
1238
- };
1239
- const se_DeleteSubscriberRequest = (input, context) => {
1240
- return smithyClient.take(input, {
1241
- AccountId: [],
1242
- BudgetName: [],
1243
- Notification: (_) => se_Notification(_),
1244
- Subscriber: smithyClient._json,
1245
- });
1246
- };
1247
- const se_DescribeBudgetActionHistoriesRequest = (input, context) => {
1248
- return smithyClient.take(input, {
1249
- AccountId: [],
1250
- ActionId: [],
1251
- BudgetName: [],
1252
- MaxResults: [],
1253
- NextToken: [],
1254
- TimePeriod: (_) => se_TimePeriod(_),
1255
- });
1256
- };
1257
- const se_DescribeBudgetPerformanceHistoryRequest = (input, context) => {
1258
- return smithyClient.take(input, {
1259
- AccountId: [],
1260
- BudgetName: [],
1261
- MaxResults: [],
1262
- NextToken: [],
1263
- TimePeriod: (_) => se_TimePeriod(_),
1264
- });
1265
- };
1266
- const se_DescribeSubscribersForNotificationRequest = (input, context) => {
1267
- return smithyClient.take(input, {
1268
- AccountId: [],
1269
- BudgetName: [],
1270
- MaxResults: [],
1271
- NextToken: [],
1272
- Notification: (_) => se_Notification(_),
1273
- });
1274
- };
1275
- const se_Expression = (input, context) => {
1276
- return smithyClient.take(input, {
1277
- And: (_) => se_Expressions(_),
1278
- CostCategories: smithyClient._json,
1279
- Dimensions: smithyClient._json,
1280
- Not: (_) => se_Expression(_),
1281
- Or: (_) => se_Expressions(_),
1282
- Tags: smithyClient._json,
1283
- });
1284
- };
1285
- const se_Expressions = (input, context) => {
1286
- return input
1287
- .filter((e) => e != null)
1288
- .map((entry) => {
1289
- return se_Expression(entry);
1290
- });
1291
- };
1292
- const se_HealthStatus = (input, context) => {
1293
- return smithyClient.take(input, {
1294
- LastUpdatedTime: (_) => _.getTime() / 1_000,
1295
- Status: [],
1296
- StatusReason: [],
1297
- });
1298
- };
1299
- const se_Notification = (input, context) => {
1300
- return smithyClient.take(input, {
1301
- ComparisonOperator: [],
1302
- NotificationState: [],
1303
- NotificationType: [],
1304
- Threshold: smithyClient.serializeFloat,
1305
- ThresholdType: [],
1306
- });
1307
- };
1308
- const se_NotificationWithSubscribers = (input, context) => {
1309
- return smithyClient.take(input, {
1310
- Notification: (_) => se_Notification(_),
1311
- Subscribers: smithyClient._json,
1312
- });
1313
- };
1314
- const se_NotificationWithSubscribersList = (input, context) => {
1315
- return input
1316
- .filter((e) => e != null)
1317
- .map((entry) => {
1318
- return se_NotificationWithSubscribers(entry);
1319
- });
1320
- };
1321
- const se_TimePeriod = (input, context) => {
1322
- return smithyClient.take(input, {
1323
- End: (_) => _.getTime() / 1_000,
1324
- Start: (_) => _.getTime() / 1_000,
1325
- });
1326
- };
1327
- const se_UpdateBudgetActionRequest = (input, context) => {
1328
- return smithyClient.take(input, {
1329
- AccountId: [],
1330
- ActionId: [],
1331
- ActionThreshold: (_) => se_ActionThreshold(_),
1332
- ApprovalModel: [],
1333
- BudgetName: [],
1334
- Definition: smithyClient._json,
1335
- ExecutionRoleArn: [],
1336
- NotificationType: [],
1337
- Subscribers: smithyClient._json,
1338
- });
1339
- };
1340
- const se_UpdateBudgetRequest = (input, context) => {
1341
- return smithyClient.take(input, {
1342
- AccountId: [],
1343
- NewBudget: (_) => se_Budget(_),
1344
- });
1345
- };
1346
- const se_UpdateNotificationRequest = (input, context) => {
1347
- return smithyClient.take(input, {
1348
- AccountId: [],
1349
- BudgetName: [],
1350
- NewNotification: (_) => se_Notification(_),
1351
- OldNotification: (_) => se_Notification(_),
1352
- });
1353
- };
1354
- const se_UpdateSubscriberRequest = (input, context) => {
1355
- return smithyClient.take(input, {
1356
- AccountId: [],
1357
- BudgetName: [],
1358
- NewSubscriber: smithyClient._json,
1359
- Notification: (_) => se_Notification(_),
1360
- OldSubscriber: smithyClient._json,
1361
- });
1362
- };
1363
- const de_Action = (output, context) => {
1364
- return smithyClient.take(output, {
1365
- ActionId: smithyClient.expectString,
1366
- ActionThreshold: (_) => de_ActionThreshold(_),
1367
- ActionType: smithyClient.expectString,
1368
- ApprovalModel: smithyClient.expectString,
1369
- BudgetName: smithyClient.expectString,
1370
- Definition: smithyClient._json,
1371
- ExecutionRoleArn: smithyClient.expectString,
1372
- NotificationType: smithyClient.expectString,
1373
- Status: smithyClient.expectString,
1374
- Subscribers: smithyClient._json,
1375
- });
1376
- };
1377
- const de_ActionHistories = (output, context) => {
1378
- const retVal = (output || [])
1379
- .filter((e) => e != null)
1380
- .map((entry) => {
1381
- return de_ActionHistory(entry);
1382
- });
1383
- return retVal;
1384
- };
1385
- const de_ActionHistory = (output, context) => {
1386
- return smithyClient.take(output, {
1387
- ActionHistoryDetails: (_) => de_ActionHistoryDetails(_),
1388
- EventType: smithyClient.expectString,
1389
- Status: smithyClient.expectString,
1390
- Timestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1391
- });
1392
- };
1393
- const de_ActionHistoryDetails = (output, context) => {
1394
- return smithyClient.take(output, {
1395
- Action: (_) => de_Action(_),
1396
- Message: smithyClient.expectString,
1397
- });
1398
- };
1399
- const de_Actions = (output, context) => {
1400
- const retVal = (output || [])
1401
- .filter((e) => e != null)
1402
- .map((entry) => {
1403
- return de_Action(entry);
1404
- });
1405
- return retVal;
1406
- };
1407
- const de_ActionThreshold = (output, context) => {
1408
- return smithyClient.take(output, {
1409
- ActionThresholdType: smithyClient.expectString,
1410
- ActionThresholdValue: smithyClient.limitedParseDouble,
1411
- });
1412
- };
1413
- const de_AutoAdjustData = (output, context) => {
1414
- return smithyClient.take(output, {
1415
- AutoAdjustType: smithyClient.expectString,
1416
- HistoricalOptions: smithyClient._json,
1417
- LastAutoAdjustTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1418
- });
1419
- };
1420
- const de_Budget = (output, context) => {
1421
- return smithyClient.take(output, {
1422
- AutoAdjustData: (_) => de_AutoAdjustData(_),
1423
- BillingViewArn: smithyClient.expectString,
1424
- BudgetLimit: smithyClient._json,
1425
- BudgetName: smithyClient.expectString,
1426
- BudgetType: smithyClient.expectString,
1427
- CalculatedSpend: smithyClient._json,
1428
- CostFilters: smithyClient._json,
1429
- CostTypes: smithyClient._json,
1430
- FilterExpression: (_) => de_Expression(_),
1431
- HealthStatus: (_) => de_HealthStatus(_),
1432
- LastUpdatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1433
- Metrics: smithyClient._json,
1434
- PlannedBudgetLimits: smithyClient._json,
1435
- TimePeriod: (_) => de_TimePeriod(_),
1436
- TimeUnit: smithyClient.expectString,
1437
- });
1438
- };
1439
- const de_BudgetedAndActualAmounts = (output, context) => {
1440
- return smithyClient.take(output, {
1441
- ActualAmount: smithyClient._json,
1442
- BudgetedAmount: smithyClient._json,
1443
- TimePeriod: (_) => de_TimePeriod(_),
1444
- });
1445
- };
1446
- const de_BudgetedAndActualAmountsList = (output, context) => {
1447
- const retVal = (output || [])
1448
- .filter((e) => e != null)
1449
- .map((entry) => {
1450
- return de_BudgetedAndActualAmounts(entry);
1451
- });
1452
- return retVal;
1453
- };
1454
- const de_BudgetNotificationsForAccount = (output, context) => {
1455
- return smithyClient.take(output, {
1456
- BudgetName: smithyClient.expectString,
1457
- Notifications: (_) => de_Notifications(_),
1458
- });
1459
- };
1460
- const de_BudgetNotificationsForAccountList = (output, context) => {
1461
- const retVal = (output || [])
1462
- .filter((e) => e != null)
1463
- .map((entry) => {
1464
- return de_BudgetNotificationsForAccount(entry);
1465
- });
1466
- return retVal;
1467
- };
1468
- const de_BudgetPerformanceHistory = (output, context) => {
1469
- return smithyClient.take(output, {
1470
- BillingViewArn: smithyClient.expectString,
1471
- BudgetName: smithyClient.expectString,
1472
- BudgetType: smithyClient.expectString,
1473
- BudgetedAndActualAmountsList: (_) => de_BudgetedAndActualAmountsList(_),
1474
- CostFilters: smithyClient._json,
1475
- CostTypes: smithyClient._json,
1476
- TimeUnit: smithyClient.expectString,
1477
- });
1478
- };
1479
- const de_Budgets = (output, context) => {
1480
- const retVal = (output || [])
1481
- .filter((e) => e != null)
1482
- .map((entry) => {
1483
- return de_Budget(entry);
1484
- });
1485
- return retVal;
1486
- };
1487
- const de_DeleteBudgetActionResponse = (output, context) => {
1488
- return smithyClient.take(output, {
1489
- AccountId: smithyClient.expectString,
1490
- Action: (_) => de_Action(_),
1491
- BudgetName: smithyClient.expectString,
1492
- });
1493
- };
1494
- const de_DescribeBudgetActionHistoriesResponse = (output, context) => {
1495
- return smithyClient.take(output, {
1496
- ActionHistories: (_) => de_ActionHistories(_),
1497
- NextToken: smithyClient.expectString,
1498
- });
1499
- };
1500
- const de_DescribeBudgetActionResponse = (output, context) => {
1501
- return smithyClient.take(output, {
1502
- AccountId: smithyClient.expectString,
1503
- Action: (_) => de_Action(_),
1504
- BudgetName: smithyClient.expectString,
1505
- });
1506
- };
1507
- const de_DescribeBudgetActionsForAccountResponse = (output, context) => {
1508
- return smithyClient.take(output, {
1509
- Actions: (_) => de_Actions(_),
1510
- NextToken: smithyClient.expectString,
1511
- });
1512
- };
1513
- const de_DescribeBudgetActionsForBudgetResponse = (output, context) => {
1514
- return smithyClient.take(output, {
1515
- Actions: (_) => de_Actions(_),
1516
- NextToken: smithyClient.expectString,
1517
- });
1518
- };
1519
- const de_DescribeBudgetNotificationsForAccountResponse = (output, context) => {
1520
- return smithyClient.take(output, {
1521
- BudgetNotificationsForAccount: (_) => de_BudgetNotificationsForAccountList(_),
1522
- NextToken: smithyClient.expectString,
1523
- });
1524
- };
1525
- const de_DescribeBudgetPerformanceHistoryResponse = (output, context) => {
1526
- return smithyClient.take(output, {
1527
- BudgetPerformanceHistory: (_) => de_BudgetPerformanceHistory(_),
1528
- NextToken: smithyClient.expectString,
1529
- });
1530
- };
1531
- const de_DescribeBudgetResponse = (output, context) => {
1532
- return smithyClient.take(output, {
1533
- Budget: (_) => de_Budget(_),
1534
- });
1535
- };
1536
- const de_DescribeBudgetsResponse = (output, context) => {
1537
- return smithyClient.take(output, {
1538
- Budgets: (_) => de_Budgets(_),
1539
- NextToken: smithyClient.expectString,
1540
- });
1541
- };
1542
- const de_DescribeNotificationsForBudgetResponse = (output, context) => {
1543
- return smithyClient.take(output, {
1544
- NextToken: smithyClient.expectString,
1545
- Notifications: (_) => de_Notifications(_),
1546
- });
1547
- };
1548
- const de_Expression = (output, context) => {
1549
- return smithyClient.take(output, {
1550
- And: (_) => de_Expressions(_),
1551
- CostCategories: smithyClient._json,
1552
- Dimensions: smithyClient._json,
1553
- Not: (_) => de_Expression(_),
1554
- Or: (_) => de_Expressions(_),
1555
- Tags: smithyClient._json,
1556
- });
1557
- };
1558
- const de_Expressions = (output, context) => {
1559
- const retVal = (output || [])
1560
- .filter((e) => e != null)
1561
- .map((entry) => {
1562
- return de_Expression(entry);
1563
- });
1564
- return retVal;
1565
- };
1566
- const de_HealthStatus = (output, context) => {
1567
- return smithyClient.take(output, {
1568
- LastUpdatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1569
- Status: smithyClient.expectString,
1570
- StatusReason: smithyClient.expectString,
1571
- });
1572
- };
1573
- const de_Notification = (output, context) => {
1574
- return smithyClient.take(output, {
1575
- ComparisonOperator: smithyClient.expectString,
1576
- NotificationState: smithyClient.expectString,
1577
- NotificationType: smithyClient.expectString,
1578
- Threshold: smithyClient.limitedParseDouble,
1579
- ThresholdType: smithyClient.expectString,
1580
- });
1581
- };
1582
- const de_Notifications = (output, context) => {
1583
- const retVal = (output || [])
1584
- .filter((e) => e != null)
1585
- .map((entry) => {
1586
- return de_Notification(entry);
1587
- });
1588
- return retVal;
1589
- };
1590
- const de_TimePeriod = (output, context) => {
1591
- return smithyClient.take(output, {
1592
- End: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1593
- Start: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1594
- });
1595
- };
1596
- const de_UpdateBudgetActionResponse = (output, context) => {
1597
- return smithyClient.take(output, {
1598
- AccountId: smithyClient.expectString,
1599
- BudgetName: smithyClient.expectString,
1600
- NewAction: (_) => de_Action(_),
1601
- OldAction: (_) => de_Action(_),
1602
- });
1603
- };
1604
- const deserializeMetadata = (output) => ({
1605
- httpStatusCode: output.statusCode,
1606
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1607
- extendedRequestId: output.headers["x-amz-id-2"],
1608
- cfId: output.headers["x-amz-cf-id"],
1609
- });
1610
- const throwDefaultError = smithyClient.withBaseException(BudgetsServiceException);
1611
- const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
1612
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1613
- const contents = {
1614
- protocol,
1615
- hostname,
1616
- port,
1617
- method: "POST",
1618
- path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
1619
- headers,
1620
- };
1621
- if (body !== undefined) {
1622
- contents.body = body;
1623
- }
1624
- return new protocolHttp.HttpRequest(contents);
1625
- };
1626
- function sharedHeaders(operation) {
1627
- return {
1628
- "content-type": "application/x-amz-json-1.1",
1629
- "x-amz-target": `AWSBudgetServiceGateway.${operation}`,
1630
- };
1631
- }
432
+ const _A = "Action";
433
+ const _AA = "ActualAmount";
434
+ const _AAD = "AutoAdjustData";
435
+ const _AAT = "AutoAdjustType";
436
+ const _ADE = "AccessDeniedException";
437
+ const _AH = "ActionHistory";
438
+ const _AHD = "ActionHistoryDetails";
439
+ const _AHc = "ActionHistories";
440
+ const _AI = "ActionId";
441
+ const _AIc = "AccountId";
442
+ const _AM = "ApprovalModel";
443
+ const _AS = "ActualSpend";
444
+ const _AST = "ActionSubType";
445
+ const _AT = "ActionType";
446
+ const _ATT = "ActionThresholdType";
447
+ const _ATV = "ActionThresholdValue";
448
+ const _ATc = "ActionThreshold";
449
+ const _Ac = "Actions";
450
+ const _Ad = "Address";
451
+ const _Am = "Amount";
452
+ const _An = "And";
453
+ const _B = "Budget";
454
+ const _BA = "BudgetedAmount";
455
+ const _BAAA = "BudgetedAndActualAmounts";
456
+ const _BAAAL = "BudgetedAndActualAmountsList";
457
+ const _BAP = "BudgetAdjustmentPeriod";
458
+ const _BL = "BudgetLimit";
459
+ const _BN = "BudgetName";
460
+ const _BNFA = "BudgetNotificationsForAccount";
461
+ const _BNFAL = "BudgetNotificationsForAccountList";
462
+ const _BPH = "BudgetPerformanceHistory";
463
+ const _BT = "BudgetType";
464
+ const _BVA = "BillingViewArn";
465
+ const _BVHSE = "BillingViewHealthStatusException";
466
+ const _Bu = "Budgets";
467
+ const _CB = "CreateBudget";
468
+ const _CBA = "CreateBudgetAction";
469
+ const _CBAR = "CreateBudgetActionRequest";
470
+ const _CBARr = "CreateBudgetActionResponse";
471
+ const _CBR = "CreateBudgetRequest";
472
+ const _CBRr = "CreateBudgetResponse";
473
+ const _CC = "CostCategories";
474
+ const _CCV = "CostCategoryValues";
475
+ const _CF = "CostFilters";
476
+ const _CLEE = "CreationLimitExceededException";
477
+ const _CN = "CreateNotification";
478
+ const _CNR = "CreateNotificationRequest";
479
+ const _CNRr = "CreateNotificationResponse";
480
+ const _CO = "ComparisonOperator";
481
+ const _CS = "CalculatedSpend";
482
+ const _CSR = "CreateSubscriberRequest";
483
+ const _CSRr = "CreateSubscriberResponse";
484
+ const _CSr = "CreateSubscriber";
485
+ const _CT = "CostTypes";
486
+ const _D = "Definition";
487
+ const _DB = "DeleteBudget";
488
+ const _DBA = "DeleteBudgetAction";
489
+ const _DBAFA = "DescribeBudgetActionsForAccount";
490
+ const _DBAFAR = "DescribeBudgetActionsForAccountRequest";
491
+ const _DBAFARe = "DescribeBudgetActionsForAccountResponse";
492
+ const _DBAFB = "DescribeBudgetActionsForBudget";
493
+ const _DBAFBR = "DescribeBudgetActionsForBudgetRequest";
494
+ const _DBAFBRe = "DescribeBudgetActionsForBudgetResponse";
495
+ const _DBAH = "DescribeBudgetActionHistories";
496
+ const _DBAHR = "DescribeBudgetActionHistoriesRequest";
497
+ const _DBAHRe = "DescribeBudgetActionHistoriesResponse";
498
+ const _DBAR = "DeleteBudgetActionRequest";
499
+ const _DBARe = "DeleteBudgetActionResponse";
500
+ const _DBARes = "DescribeBudgetActionRequest";
501
+ const _DBAResc = "DescribeBudgetActionResponse";
502
+ const _DBAe = "DescribeBudgetAction";
503
+ const _DBNFA = "DescribeBudgetNotificationsForAccount";
504
+ const _DBNFAR = "DescribeBudgetNotificationsForAccountRequest";
505
+ const _DBNFARe = "DescribeBudgetNotificationsForAccountResponse";
506
+ const _DBPH = "DescribeBudgetPerformanceHistory";
507
+ const _DBPHR = "DescribeBudgetPerformanceHistoryRequest";
508
+ const _DBPHRe = "DescribeBudgetPerformanceHistoryResponse";
509
+ const _DBR = "DeleteBudgetRequest";
510
+ const _DBRe = "DeleteBudgetResponse";
511
+ const _DBRes = "DescribeBudgetRequest";
512
+ const _DBResc = "DescribeBudgetResponse";
513
+ const _DBRescr = "DescribeBudgetsRequest";
514
+ const _DBRescri = "DescribeBudgetsResponse";
515
+ const _DBe = "DescribeBudget";
516
+ const _DBes = "DescribeBudgets";
517
+ const _DN = "DeleteNotification";
518
+ const _DNFB = "DescribeNotificationsForBudget";
519
+ const _DNFBR = "DescribeNotificationsForBudgetRequest";
520
+ const _DNFBRe = "DescribeNotificationsForBudgetResponse";
521
+ const _DNR = "DeleteNotificationRequest";
522
+ const _DNRe = "DeleteNotificationResponse";
523
+ const _DRE = "DuplicateRecordException";
524
+ const _DS = "DeleteSubscriber";
525
+ const _DSFN = "DescribeSubscribersForNotification";
526
+ const _DSFNR = "DescribeSubscribersForNotificationRequest";
527
+ const _DSFNRe = "DescribeSubscribersForNotificationResponse";
528
+ const _DSR = "DeleteSubscriberRequest";
529
+ const _DSRe = "DeleteSubscriberResponse";
530
+ const _Di = "Dimensions";
531
+ const _E = "Expression";
532
+ const _EBA = "ExecuteBudgetAction";
533
+ const _EBAR = "ExecuteBudgetActionRequest";
534
+ const _EBARx = "ExecuteBudgetActionResponse";
535
+ const _EDV = "ExpressionDimensionValues";
536
+ const _ENTE = "ExpiredNextTokenException";
537
+ const _ERA = "ExecutionRoleArn";
538
+ const _ET = "EventType";
539
+ const _ETx = "ExecutionType";
540
+ const _En = "End";
541
+ const _Ex = "Expressions";
542
+ const _FE = "FilterExpression";
543
+ const _FS = "ForecastedSpend";
544
+ const _G = "Groups";
545
+ const _HO = "HistoricalOptions";
546
+ const _HS = "HealthStatus";
547
+ const _IAD = "IamActionDefinition";
548
+ const _IC = "IncludeCredit";
549
+ const _ID = "IncludeDiscount";
550
+ const _IEE = "InternalErrorException";
551
+ const _II = "InstanceIds";
552
+ const _INTE = "InvalidNextTokenException";
553
+ const _IOS = "IncludeOtherSubscription";
554
+ const _IPE = "InvalidParameterException";
555
+ const _IR = "IncludeRefund";
556
+ const _IRn = "IncludeRecurring";
557
+ const _IS = "IncludeSubscription";
558
+ const _ISn = "IncludeSupport";
559
+ const _IT = "IncludeTax";
560
+ const _IU = "IncludeUpfront";
561
+ const _K = "Key";
562
+ const _LAAT = "LastAutoAdjustTime";
563
+ const _LBAP = "LookBackAvailablePeriods";
564
+ const _LTFR = "ListTagsForResource";
565
+ const _LTFRR = "ListTagsForResourceRequest";
566
+ const _LTFRRi = "ListTagsForResourceResponse";
567
+ const _LUT = "LastUpdatedTime";
568
+ const _M = "Message";
569
+ const _MO = "MatchOptions";
570
+ const _MR = "MaxResults";
571
+ const _Me = "Metrics";
572
+ const _N = "Notifications";
573
+ const _NA = "NewAction";
574
+ const _NB = "NewBudget";
575
+ const _NFE = "NotFoundException";
576
+ const _NN = "NewNotification";
577
+ const _NS = "NotificationState";
578
+ const _NSe = "NewSubscriber";
579
+ const _NT = "NotificationType";
580
+ const _NTe = "NextToken";
581
+ const _NWS = "NotificationsWithSubscribers";
582
+ const _NWSL = "NotificationWithSubscribersList";
583
+ const _NWSo = "NotificationWithSubscribers";
584
+ const _No = "Notification";
585
+ const _Not = "Not";
586
+ const _O = "Or";
587
+ const _OA = "OldAction";
588
+ const _ON = "OldNotification";
589
+ const _OS = "OldSubscriber";
590
+ const _PA = "PolicyArn";
591
+ const _PBL = "PlannedBudgetLimits";
592
+ const _PI = "PolicyId";
593
+ const _R = "Roles";
594
+ const _RARN = "ResourceARN";
595
+ const _RLE = "ResourceLockedException";
596
+ const _RT = "ResourceTags";
597
+ const _RTK = "ResourceTagKeys";
598
+ const _RTL = "ResourceTagList";
599
+ const _RTe = "ResourceTag";
600
+ const _Re = "Region";
601
+ const _S = "Status";
602
+ const _SA = "SubscriberAddress";
603
+ const _SAD = "ScpActionDefinition";
604
+ const _SADs = "SsmActionDefinition";
605
+ const _SFE = "ShowFilterExpression";
606
+ const _SQEE = "ServiceQuotaExceededException";
607
+ const _SR = "StatusReason";
608
+ const _ST = "SubscriptionType";
609
+ const _Sp = "Spend";
610
+ const _St = "Start";
611
+ const _Su = "Subscribers";
612
+ const _Sub = "Subscriber";
613
+ const _T = "Timestamp";
614
+ const _TE = "ThrottlingException";
615
+ const _TI = "TargetIds";
616
+ const _TP = "TimePeriod";
617
+ const _TR = "TagResource";
618
+ const _TRR = "TagResourceRequest";
619
+ const _TRRa = "TagResourceResponse";
620
+ const _TT = "ThresholdType";
621
+ const _TU = "TimeUnit";
622
+ const _TV = "TagValues";
623
+ const _Ta = "Tags";
624
+ const _Th = "Threshold";
625
+ const _U = "Users";
626
+ const _UA = "UseAmortized";
627
+ const _UB = "UseBlended";
628
+ const _UBA = "UpdateBudgetAction";
629
+ const _UBAR = "UpdateBudgetActionRequest";
630
+ const _UBARp = "UpdateBudgetActionResponse";
631
+ const _UBR = "UpdateBudgetRequest";
632
+ const _UBRp = "UpdateBudgetResponse";
633
+ const _UBp = "UpdateBudget";
634
+ const _UN = "UpdateNotification";
635
+ const _UNR = "UpdateNotificationRequest";
636
+ const _UNRp = "UpdateNotificationResponse";
637
+ const _UR = "UntagResource";
638
+ const _URR = "UntagResourceRequest";
639
+ const _URRn = "UntagResourceResponse";
640
+ const _US = "UpdateSubscriber";
641
+ const _USR = "UpdateSubscriberRequest";
642
+ const _USRp = "UpdateSubscriberResponse";
643
+ const _Un = "Unit";
644
+ const _V = "Values";
645
+ const _Va = "Value";
646
+ const _c = "client";
647
+ const _e = "error";
648
+ const _hE = "httpError";
649
+ const _s = "server";
650
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.budgets";
651
+ const n0 = "com.amazonaws.budgets";
652
+ var SubscriberAddress = [0, n0, _SA, 8, 0];
653
+ var AccessDeniedException = [
654
+ -3,
655
+ n0,
656
+ _ADE,
657
+ {
658
+ [_e]: _c,
659
+ [_hE]: 403,
660
+ },
661
+ [_M],
662
+ [0],
663
+ ];
664
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
665
+ var Action = [
666
+ 3,
667
+ n0,
668
+ _A,
669
+ 0,
670
+ [_AI, _BN, _NT, _AT, _ATc, _D, _ERA, _AM, _S, _Su],
671
+ [0, 0, 0, 0, () => ActionThreshold, () => Definition, 0, 0, 0, [() => Subscribers, 0]],
672
+ ];
673
+ var ActionHistory = [
674
+ 3,
675
+ n0,
676
+ _AH,
677
+ 0,
678
+ [_T, _S, _ET, _AHD],
679
+ [4, 0, 0, [() => ActionHistoryDetails, 0]],
680
+ ];
681
+ var ActionHistoryDetails = [3, n0, _AHD, 0, [_M, _A], [0, [() => Action, 0]]];
682
+ var ActionThreshold = [3, n0, _ATc, 0, [_ATV, _ATT], [1, 0]];
683
+ var AutoAdjustData = [
684
+ 3,
685
+ n0,
686
+ _AAD,
687
+ 0,
688
+ [_AAT, _HO, _LAAT],
689
+ [0, () => HistoricalOptions, 4],
690
+ ];
691
+ var BillingViewHealthStatusException = [
692
+ -3,
693
+ n0,
694
+ _BVHSE,
695
+ {
696
+ [_e]: _c,
697
+ [_hE]: 400,
698
+ },
699
+ [_M],
700
+ [0],
701
+ ];
702
+ schema.TypeRegistry.for(n0).registerError(BillingViewHealthStatusException, BillingViewHealthStatusException$1);
703
+ var Budget = [
704
+ 3,
705
+ n0,
706
+ _B,
707
+ 0,
708
+ [_BN, _BL, _PBL, _CF, _CT, _TU, _TP, _CS, _BT, _LUT, _AAD, _FE, _Me, _BVA, _HS],
709
+ [
710
+ 0,
711
+ () => Spend,
712
+ () => PlannedBudgetLimits,
713
+ [2, n0, _CF, 0, 0, 64 | 0],
714
+ () => CostTypes,
715
+ 0,
716
+ () => TimePeriod,
717
+ () => CalculatedSpend,
718
+ 0,
719
+ 4,
720
+ () => AutoAdjustData,
721
+ () => Expression,
722
+ 64 | 0,
723
+ 0,
724
+ () => HealthStatus,
725
+ ],
726
+ ];
727
+ var BudgetedAndActualAmounts = [
728
+ 3,
729
+ n0,
730
+ _BAAA,
731
+ 0,
732
+ [_BA, _AA, _TP],
733
+ [() => Spend, () => Spend, () => TimePeriod],
734
+ ];
735
+ var BudgetNotificationsForAccount = [
736
+ 3,
737
+ n0,
738
+ _BNFA,
739
+ 0,
740
+ [_N, _BN],
741
+ [() => Notifications, 0],
742
+ ];
743
+ var BudgetPerformanceHistory = [
744
+ 3,
745
+ n0,
746
+ _BPH,
747
+ 0,
748
+ [_BN, _BT, _CF, _CT, _TU, _BVA, _BAAAL],
749
+ [0, 0, [2, n0, _CF, 0, 0, 64 | 0], () => CostTypes, 0, 0, () => BudgetedAndActualAmountsList],
750
+ ];
751
+ var CalculatedSpend = [3, n0, _CS, 0, [_AS, _FS], [() => Spend, () => Spend]];
752
+ var CostCategoryValues = [3, n0, _CCV, 0, [_K, _V, _MO], [0, 64 | 0, 64 | 0]];
753
+ var CostTypes = [
754
+ 3,
755
+ n0,
756
+ _CT,
757
+ 0,
758
+ [_IT, _IS, _UB, _IR, _IC, _IU, _IRn, _IOS, _ISn, _ID, _UA],
759
+ [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2],
760
+ ];
761
+ var CreateBudgetActionRequest = [
762
+ 3,
763
+ n0,
764
+ _CBAR,
765
+ 0,
766
+ [_AIc, _BN, _NT, _AT, _ATc, _D, _ERA, _AM, _Su, _RT],
767
+ [0, 0, 0, 0, () => ActionThreshold, () => Definition, 0, 0, [() => Subscribers, 0], () => ResourceTagList],
768
+ ];
769
+ var CreateBudgetActionResponse = [3, n0, _CBARr, 0, [_AIc, _BN, _AI], [0, 0, 0]];
770
+ var CreateBudgetRequest = [
771
+ 3,
772
+ n0,
773
+ _CBR,
774
+ 0,
775
+ [_AIc, _B, _NWS, _RT],
776
+ [0, () => Budget, [() => NotificationWithSubscribersList, 0], () => ResourceTagList],
777
+ ];
778
+ var CreateBudgetResponse = [3, n0, _CBRr, 0, [], []];
779
+ var CreateNotificationRequest = [
780
+ 3,
781
+ n0,
782
+ _CNR,
783
+ 0,
784
+ [_AIc, _BN, _No, _Su],
785
+ [0, 0, () => Notification, [() => Subscribers, 0]],
786
+ ];
787
+ var CreateNotificationResponse = [3, n0, _CNRr, 0, [], []];
788
+ var CreateSubscriberRequest = [
789
+ 3,
790
+ n0,
791
+ _CSR,
792
+ 0,
793
+ [_AIc, _BN, _No, _Sub],
794
+ [0, 0, () => Notification, [() => Subscriber, 0]],
795
+ ];
796
+ var CreateSubscriberResponse = [3, n0, _CSRr, 0, [], []];
797
+ var CreationLimitExceededException = [
798
+ -3,
799
+ n0,
800
+ _CLEE,
801
+ {
802
+ [_e]: _c,
803
+ [_hE]: 405,
804
+ },
805
+ [_M],
806
+ [0],
807
+ ];
808
+ schema.TypeRegistry.for(n0).registerError(CreationLimitExceededException, CreationLimitExceededException$1);
809
+ var Definition = [
810
+ 3,
811
+ n0,
812
+ _D,
813
+ 0,
814
+ [_IAD, _SAD, _SADs],
815
+ [() => IamActionDefinition, () => ScpActionDefinition, () => SsmActionDefinition],
816
+ ];
817
+ var DeleteBudgetActionRequest = [3, n0, _DBAR, 0, [_AIc, _BN, _AI], [0, 0, 0]];
818
+ var DeleteBudgetActionResponse = [
819
+ 3,
820
+ n0,
821
+ _DBARe,
822
+ 0,
823
+ [_AIc, _BN, _A],
824
+ [0, 0, [() => Action, 0]],
825
+ ];
826
+ var DeleteBudgetRequest = [3, n0, _DBR, 0, [_AIc, _BN], [0, 0]];
827
+ var DeleteBudgetResponse = [3, n0, _DBRe, 0, [], []];
828
+ var DeleteNotificationRequest = [
829
+ 3,
830
+ n0,
831
+ _DNR,
832
+ 0,
833
+ [_AIc, _BN, _No],
834
+ [0, 0, () => Notification],
835
+ ];
836
+ var DeleteNotificationResponse = [3, n0, _DNRe, 0, [], []];
837
+ var DeleteSubscriberRequest = [
838
+ 3,
839
+ n0,
840
+ _DSR,
841
+ 0,
842
+ [_AIc, _BN, _No, _Sub],
843
+ [0, 0, () => Notification, [() => Subscriber, 0]],
844
+ ];
845
+ var DeleteSubscriberResponse = [3, n0, _DSRe, 0, [], []];
846
+ var DescribeBudgetActionHistoriesRequest = [
847
+ 3,
848
+ n0,
849
+ _DBAHR,
850
+ 0,
851
+ [_AIc, _BN, _AI, _TP, _MR, _NTe],
852
+ [0, 0, 0, () => TimePeriod, 1, 0],
853
+ ];
854
+ var DescribeBudgetActionHistoriesResponse = [
855
+ 3,
856
+ n0,
857
+ _DBAHRe,
858
+ 0,
859
+ [_AHc, _NTe],
860
+ [[() => ActionHistories, 0], 0],
861
+ ];
862
+ var DescribeBudgetActionRequest = [3, n0, _DBARes, 0, [_AIc, _BN, _AI], [0, 0, 0]];
863
+ var DescribeBudgetActionResponse = [
864
+ 3,
865
+ n0,
866
+ _DBAResc,
867
+ 0,
868
+ [_AIc, _BN, _A],
869
+ [0, 0, [() => Action, 0]],
870
+ ];
871
+ var DescribeBudgetActionsForAccountRequest = [
872
+ 3,
873
+ n0,
874
+ _DBAFAR,
875
+ 0,
876
+ [_AIc, _MR, _NTe],
877
+ [0, 1, 0],
878
+ ];
879
+ var DescribeBudgetActionsForAccountResponse = [
880
+ 3,
881
+ n0,
882
+ _DBAFARe,
883
+ 0,
884
+ [_Ac, _NTe],
885
+ [[() => Actions, 0], 0],
886
+ ];
887
+ var DescribeBudgetActionsForBudgetRequest = [
888
+ 3,
889
+ n0,
890
+ _DBAFBR,
891
+ 0,
892
+ [_AIc, _BN, _MR, _NTe],
893
+ [0, 0, 1, 0],
894
+ ];
895
+ var DescribeBudgetActionsForBudgetResponse = [
896
+ 3,
897
+ n0,
898
+ _DBAFBRe,
899
+ 0,
900
+ [_Ac, _NTe],
901
+ [[() => Actions, 0], 0],
902
+ ];
903
+ var DescribeBudgetNotificationsForAccountRequest = [
904
+ 3,
905
+ n0,
906
+ _DBNFAR,
907
+ 0,
908
+ [_AIc, _MR, _NTe],
909
+ [0, 1, 0],
910
+ ];
911
+ var DescribeBudgetNotificationsForAccountResponse = [
912
+ 3,
913
+ n0,
914
+ _DBNFARe,
915
+ 0,
916
+ [_BNFA, _NTe],
917
+ [() => BudgetNotificationsForAccountList, 0],
918
+ ];
919
+ var DescribeBudgetPerformanceHistoryRequest = [
920
+ 3,
921
+ n0,
922
+ _DBPHR,
923
+ 0,
924
+ [_AIc, _BN, _TP, _MR, _NTe],
925
+ [0, 0, () => TimePeriod, 1, 0],
926
+ ];
927
+ var DescribeBudgetPerformanceHistoryResponse = [
928
+ 3,
929
+ n0,
930
+ _DBPHRe,
931
+ 0,
932
+ [_BPH, _NTe],
933
+ [() => BudgetPerformanceHistory, 0],
934
+ ];
935
+ var DescribeBudgetRequest = [3, n0, _DBRes, 0, [_AIc, _BN, _SFE], [0, 0, 2]];
936
+ var DescribeBudgetResponse = [3, n0, _DBResc, 0, [_B], [() => Budget]];
937
+ var DescribeBudgetsRequest = [3, n0, _DBRescr, 0, [_AIc, _MR, _NTe, _SFE], [0, 1, 0, 2]];
938
+ var DescribeBudgetsResponse = [3, n0, _DBRescri, 0, [_Bu, _NTe], [() => Budgets$1, 0]];
939
+ var DescribeNotificationsForBudgetRequest = [
940
+ 3,
941
+ n0,
942
+ _DNFBR,
943
+ 0,
944
+ [_AIc, _BN, _MR, _NTe],
945
+ [0, 0, 1, 0],
946
+ ];
947
+ var DescribeNotificationsForBudgetResponse = [
948
+ 3,
949
+ n0,
950
+ _DNFBRe,
951
+ 0,
952
+ [_N, _NTe],
953
+ [() => Notifications, 0],
954
+ ];
955
+ var DescribeSubscribersForNotificationRequest = [
956
+ 3,
957
+ n0,
958
+ _DSFNR,
959
+ 0,
960
+ [_AIc, _BN, _No, _MR, _NTe],
961
+ [0, 0, () => Notification, 1, 0],
962
+ ];
963
+ var DescribeSubscribersForNotificationResponse = [
964
+ 3,
965
+ n0,
966
+ _DSFNRe,
967
+ 0,
968
+ [_Su, _NTe],
969
+ [[() => Subscribers, 0], 0],
970
+ ];
971
+ var DuplicateRecordException = [
972
+ -3,
973
+ n0,
974
+ _DRE,
975
+ {
976
+ [_e]: _c,
977
+ [_hE]: 409,
978
+ },
979
+ [_M],
980
+ [0],
981
+ ];
982
+ schema.TypeRegistry.for(n0).registerError(DuplicateRecordException, DuplicateRecordException$1);
983
+ var ExecuteBudgetActionRequest = [3, n0, _EBAR, 0, [_AIc, _BN, _AI, _ETx], [0, 0, 0, 0]];
984
+ var ExecuteBudgetActionResponse = [
985
+ 3,
986
+ n0,
987
+ _EBARx,
988
+ 0,
989
+ [_AIc, _BN, _AI, _ETx],
990
+ [0, 0, 0, 0],
991
+ ];
992
+ var ExpiredNextTokenException = [
993
+ -3,
994
+ n0,
995
+ _ENTE,
996
+ {
997
+ [_e]: _c,
998
+ [_hE]: 400,
999
+ },
1000
+ [_M],
1001
+ [0],
1002
+ ];
1003
+ schema.TypeRegistry.for(n0).registerError(ExpiredNextTokenException, ExpiredNextTokenException$1);
1004
+ var Expression = [
1005
+ 3,
1006
+ n0,
1007
+ _E,
1008
+ 0,
1009
+ [_O, _An, _Not, _Di, _Ta, _CC],
1010
+ [
1011
+ () => Expressions,
1012
+ () => Expressions,
1013
+ () => Expression,
1014
+ () => ExpressionDimensionValues,
1015
+ () => TagValues,
1016
+ () => CostCategoryValues,
1017
+ ],
1018
+ ];
1019
+ var ExpressionDimensionValues = [3, n0, _EDV, 0, [_K, _V, _MO], [0, 64 | 0, 64 | 0]];
1020
+ var HealthStatus = [3, n0, _HS, 0, [_S, _SR, _LUT], [0, 0, 4]];
1021
+ var HistoricalOptions = [3, n0, _HO, 0, [_BAP, _LBAP], [1, 1]];
1022
+ var IamActionDefinition = [
1023
+ 3,
1024
+ n0,
1025
+ _IAD,
1026
+ 0,
1027
+ [_PA, _R, _G, _U],
1028
+ [0, 64 | 0, 64 | 0, 64 | 0],
1029
+ ];
1030
+ var InternalErrorException = [
1031
+ -3,
1032
+ n0,
1033
+ _IEE,
1034
+ {
1035
+ [_e]: _s,
1036
+ [_hE]: 500,
1037
+ },
1038
+ [_M],
1039
+ [0],
1040
+ ];
1041
+ schema.TypeRegistry.for(n0).registerError(InternalErrorException, InternalErrorException$1);
1042
+ var InvalidNextTokenException = [
1043
+ -3,
1044
+ n0,
1045
+ _INTE,
1046
+ {
1047
+ [_e]: _c,
1048
+ [_hE]: 400,
1049
+ },
1050
+ [_M],
1051
+ [0],
1052
+ ];
1053
+ schema.TypeRegistry.for(n0).registerError(InvalidNextTokenException, InvalidNextTokenException$1);
1054
+ var InvalidParameterException = [
1055
+ -3,
1056
+ n0,
1057
+ _IPE,
1058
+ {
1059
+ [_e]: _c,
1060
+ [_hE]: 400,
1061
+ },
1062
+ [_M],
1063
+ [0],
1064
+ ];
1065
+ schema.TypeRegistry.for(n0).registerError(InvalidParameterException, InvalidParameterException$1);
1066
+ var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_RARN], [0]];
1067
+ var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_RT], [() => ResourceTagList]];
1068
+ var NotFoundException = [
1069
+ -3,
1070
+ n0,
1071
+ _NFE,
1072
+ {
1073
+ [_e]: _c,
1074
+ [_hE]: 404,
1075
+ },
1076
+ [_M],
1077
+ [0],
1078
+ ];
1079
+ schema.TypeRegistry.for(n0).registerError(NotFoundException, NotFoundException$1);
1080
+ var Notification = [3, n0, _No, 0, [_NT, _CO, _Th, _TT, _NS], [0, 0, 1, 0, 0]];
1081
+ var NotificationWithSubscribers = [
1082
+ 3,
1083
+ n0,
1084
+ _NWSo,
1085
+ 0,
1086
+ [_No, _Su],
1087
+ [() => Notification, [() => Subscribers, 0]],
1088
+ ];
1089
+ var ResourceLockedException = [
1090
+ -3,
1091
+ n0,
1092
+ _RLE,
1093
+ {
1094
+ [_e]: _c,
1095
+ [_hE]: 423,
1096
+ },
1097
+ [_M],
1098
+ [0],
1099
+ ];
1100
+ schema.TypeRegistry.for(n0).registerError(ResourceLockedException, ResourceLockedException$1);
1101
+ var ResourceTag = [3, n0, _RTe, 0, [_K, _Va], [0, 0]];
1102
+ var ScpActionDefinition = [3, n0, _SAD, 0, [_PI, _TI], [0, 64 | 0]];
1103
+ var ServiceQuotaExceededException = [
1104
+ -3,
1105
+ n0,
1106
+ _SQEE,
1107
+ {
1108
+ [_e]: _c,
1109
+ [_hE]: 402,
1110
+ },
1111
+ [_M],
1112
+ [0],
1113
+ ];
1114
+ schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
1115
+ var Spend = [3, n0, _Sp, 0, [_Am, _Un], [0, 0]];
1116
+ var SsmActionDefinition = [3, n0, _SADs, 0, [_AST, _Re, _II], [0, 0, 64 | 0]];
1117
+ var Subscriber = [3, n0, _Sub, 0, [_ST, _Ad], [0, [() => SubscriberAddress, 0]]];
1118
+ var TagResourceRequest = [3, n0, _TRR, 0, [_RARN, _RT], [0, () => ResourceTagList]];
1119
+ var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
1120
+ var TagValues = [3, n0, _TV, 0, [_K, _V, _MO], [0, 64 | 0, 64 | 0]];
1121
+ var ThrottlingException = [
1122
+ -3,
1123
+ n0,
1124
+ _TE,
1125
+ {
1126
+ [_e]: _c,
1127
+ [_hE]: 400,
1128
+ },
1129
+ [_M],
1130
+ [0],
1131
+ ];
1132
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
1133
+ var TimePeriod = [3, n0, _TP, 0, [_St, _En], [4, 4]];
1134
+ var UntagResourceRequest = [3, n0, _URR, 0, [_RARN, _RTK], [0, 64 | 0]];
1135
+ var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
1136
+ var UpdateBudgetActionRequest = [
1137
+ 3,
1138
+ n0,
1139
+ _UBAR,
1140
+ 0,
1141
+ [_AIc, _BN, _AI, _NT, _ATc, _D, _ERA, _AM, _Su],
1142
+ [0, 0, 0, 0, () => ActionThreshold, () => Definition, 0, 0, [() => Subscribers, 0]],
1143
+ ];
1144
+ var UpdateBudgetActionResponse = [
1145
+ 3,
1146
+ n0,
1147
+ _UBARp,
1148
+ 0,
1149
+ [_AIc, _BN, _OA, _NA],
1150
+ [0, 0, [() => Action, 0], [() => Action, 0]],
1151
+ ];
1152
+ var UpdateBudgetRequest = [3, n0, _UBR, 0, [_AIc, _NB], [0, () => Budget]];
1153
+ var UpdateBudgetResponse = [3, n0, _UBRp, 0, [], []];
1154
+ var UpdateNotificationRequest = [
1155
+ 3,
1156
+ n0,
1157
+ _UNR,
1158
+ 0,
1159
+ [_AIc, _BN, _ON, _NN],
1160
+ [0, 0, () => Notification, () => Notification],
1161
+ ];
1162
+ var UpdateNotificationResponse = [3, n0, _UNRp, 0, [], []];
1163
+ var UpdateSubscriberRequest = [
1164
+ 3,
1165
+ n0,
1166
+ _USR,
1167
+ 0,
1168
+ [_AIc, _BN, _No, _OS, _NSe],
1169
+ [0, 0, () => Notification, [() => Subscriber, 0], [() => Subscriber, 0]],
1170
+ ];
1171
+ var UpdateSubscriberResponse = [3, n0, _USRp, 0, [], []];
1172
+ var BudgetsServiceException = [-3, _sm, "BudgetsServiceException", 0, [], []];
1173
+ schema.TypeRegistry.for(_sm).registerError(BudgetsServiceException, BudgetsServiceException$1);
1174
+ var ActionHistories = [1, n0, _AHc, 0, [() => ActionHistory, 0]];
1175
+ var Actions = [1, n0, _Ac, 0, [() => Action, 0]];
1176
+ var BudgetedAndActualAmountsList = [1, n0, _BAAAL, 0, () => BudgetedAndActualAmounts];
1177
+ var BudgetNotificationsForAccountList = [
1178
+ 1,
1179
+ n0,
1180
+ _BNFAL,
1181
+ 0,
1182
+ () => BudgetNotificationsForAccount,
1183
+ ];
1184
+ var Budgets$1 = [1, n0, _Bu, 0, () => Budget];
1185
+ var Expressions = [1, n0, _Ex, 0, () => Expression];
1186
+ var Notifications = [1, n0, _N, 0, () => Notification];
1187
+ var NotificationWithSubscribersList = [
1188
+ 1,
1189
+ n0,
1190
+ _NWSL,
1191
+ 0,
1192
+ [() => NotificationWithSubscribers, 0],
1193
+ ];
1194
+ var ResourceTagList = [1, n0, _RTL, 0, () => ResourceTag];
1195
+ var Subscribers = [1, n0, _Su, 0, [() => Subscriber, 0]];
1196
+ var PlannedBudgetLimits = [2, n0, _PBL, 0, 0, () => Spend];
1197
+ var CreateBudget = [9, n0, _CB, 0, () => CreateBudgetRequest, () => CreateBudgetResponse];
1198
+ var CreateBudgetAction = [
1199
+ 9,
1200
+ n0,
1201
+ _CBA,
1202
+ 0,
1203
+ () => CreateBudgetActionRequest,
1204
+ () => CreateBudgetActionResponse,
1205
+ ];
1206
+ var CreateNotification = [
1207
+ 9,
1208
+ n0,
1209
+ _CN,
1210
+ 0,
1211
+ () => CreateNotificationRequest,
1212
+ () => CreateNotificationResponse,
1213
+ ];
1214
+ var CreateSubscriber = [
1215
+ 9,
1216
+ n0,
1217
+ _CSr,
1218
+ 0,
1219
+ () => CreateSubscriberRequest,
1220
+ () => CreateSubscriberResponse,
1221
+ ];
1222
+ var DeleteBudget = [9, n0, _DB, 0, () => DeleteBudgetRequest, () => DeleteBudgetResponse];
1223
+ var DeleteBudgetAction = [
1224
+ 9,
1225
+ n0,
1226
+ _DBA,
1227
+ 0,
1228
+ () => DeleteBudgetActionRequest,
1229
+ () => DeleteBudgetActionResponse,
1230
+ ];
1231
+ var DeleteNotification = [
1232
+ 9,
1233
+ n0,
1234
+ _DN,
1235
+ 0,
1236
+ () => DeleteNotificationRequest,
1237
+ () => DeleteNotificationResponse,
1238
+ ];
1239
+ var DeleteSubscriber = [
1240
+ 9,
1241
+ n0,
1242
+ _DS,
1243
+ 0,
1244
+ () => DeleteSubscriberRequest,
1245
+ () => DeleteSubscriberResponse,
1246
+ ];
1247
+ var DescribeBudget = [
1248
+ 9,
1249
+ n0,
1250
+ _DBe,
1251
+ 0,
1252
+ () => DescribeBudgetRequest,
1253
+ () => DescribeBudgetResponse,
1254
+ ];
1255
+ var DescribeBudgetAction = [
1256
+ 9,
1257
+ n0,
1258
+ _DBAe,
1259
+ 0,
1260
+ () => DescribeBudgetActionRequest,
1261
+ () => DescribeBudgetActionResponse,
1262
+ ];
1263
+ var DescribeBudgetActionHistories = [
1264
+ 9,
1265
+ n0,
1266
+ _DBAH,
1267
+ 0,
1268
+ () => DescribeBudgetActionHistoriesRequest,
1269
+ () => DescribeBudgetActionHistoriesResponse,
1270
+ ];
1271
+ var DescribeBudgetActionsForAccount = [
1272
+ 9,
1273
+ n0,
1274
+ _DBAFA,
1275
+ 0,
1276
+ () => DescribeBudgetActionsForAccountRequest,
1277
+ () => DescribeBudgetActionsForAccountResponse,
1278
+ ];
1279
+ var DescribeBudgetActionsForBudget = [
1280
+ 9,
1281
+ n0,
1282
+ _DBAFB,
1283
+ 0,
1284
+ () => DescribeBudgetActionsForBudgetRequest,
1285
+ () => DescribeBudgetActionsForBudgetResponse,
1286
+ ];
1287
+ var DescribeBudgetNotificationsForAccount = [
1288
+ 9,
1289
+ n0,
1290
+ _DBNFA,
1291
+ 0,
1292
+ () => DescribeBudgetNotificationsForAccountRequest,
1293
+ () => DescribeBudgetNotificationsForAccountResponse,
1294
+ ];
1295
+ var DescribeBudgetPerformanceHistory = [
1296
+ 9,
1297
+ n0,
1298
+ _DBPH,
1299
+ 0,
1300
+ () => DescribeBudgetPerformanceHistoryRequest,
1301
+ () => DescribeBudgetPerformanceHistoryResponse,
1302
+ ];
1303
+ var DescribeBudgets = [
1304
+ 9,
1305
+ n0,
1306
+ _DBes,
1307
+ 0,
1308
+ () => DescribeBudgetsRequest,
1309
+ () => DescribeBudgetsResponse,
1310
+ ];
1311
+ var DescribeNotificationsForBudget = [
1312
+ 9,
1313
+ n0,
1314
+ _DNFB,
1315
+ 0,
1316
+ () => DescribeNotificationsForBudgetRequest,
1317
+ () => DescribeNotificationsForBudgetResponse,
1318
+ ];
1319
+ var DescribeSubscribersForNotification = [
1320
+ 9,
1321
+ n0,
1322
+ _DSFN,
1323
+ 0,
1324
+ () => DescribeSubscribersForNotificationRequest,
1325
+ () => DescribeSubscribersForNotificationResponse,
1326
+ ];
1327
+ var ExecuteBudgetAction = [
1328
+ 9,
1329
+ n0,
1330
+ _EBA,
1331
+ 0,
1332
+ () => ExecuteBudgetActionRequest,
1333
+ () => ExecuteBudgetActionResponse,
1334
+ ];
1335
+ var ListTagsForResource = [
1336
+ 9,
1337
+ n0,
1338
+ _LTFR,
1339
+ 0,
1340
+ () => ListTagsForResourceRequest,
1341
+ () => ListTagsForResourceResponse,
1342
+ ];
1343
+ var TagResource = [9, n0, _TR, 0, () => TagResourceRequest, () => TagResourceResponse];
1344
+ var UntagResource = [
1345
+ 9,
1346
+ n0,
1347
+ _UR,
1348
+ 0,
1349
+ () => UntagResourceRequest,
1350
+ () => UntagResourceResponse,
1351
+ ];
1352
+ var UpdateBudget = [
1353
+ 9,
1354
+ n0,
1355
+ _UBp,
1356
+ 0,
1357
+ () => UpdateBudgetRequest,
1358
+ () => UpdateBudgetResponse,
1359
+ ];
1360
+ var UpdateBudgetAction = [
1361
+ 9,
1362
+ n0,
1363
+ _UBA,
1364
+ 0,
1365
+ () => UpdateBudgetActionRequest,
1366
+ () => UpdateBudgetActionResponse,
1367
+ ];
1368
+ var UpdateNotification = [
1369
+ 9,
1370
+ n0,
1371
+ _UN,
1372
+ 0,
1373
+ () => UpdateNotificationRequest,
1374
+ () => UpdateNotificationResponse,
1375
+ ];
1376
+ var UpdateSubscriber = [
1377
+ 9,
1378
+ n0,
1379
+ _US,
1380
+ 0,
1381
+ () => UpdateSubscriberRequest,
1382
+ () => UpdateSubscriberResponse,
1383
+ ];
1632
1384
 
1633
1385
  class CreateBudgetActionCommand extends smithyClient.Command
1634
1386
  .classBuilder()
1635
1387
  .ep(commonParams)
1636
1388
  .m(function (Command, cs, config, o) {
1637
- return [
1638
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1639
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1640
- ];
1389
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1641
1390
  })
1642
1391
  .s("AWSBudgetServiceGateway", "CreateBudgetAction", {})
1643
1392
  .n("BudgetsClient", "CreateBudgetActionCommand")
1644
- .f(CreateBudgetActionRequestFilterSensitiveLog, void 0)
1645
- .ser(se_CreateBudgetActionCommand)
1646
- .de(de_CreateBudgetActionCommand)
1393
+ .sc(CreateBudgetAction)
1647
1394
  .build() {
1648
1395
  }
1649
1396
 
@@ -1651,16 +1398,11 @@ class CreateBudgetCommand extends smithyClient.Command
1651
1398
  .classBuilder()
1652
1399
  .ep(commonParams)
1653
1400
  .m(function (Command, cs, config, o) {
1654
- return [
1655
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1656
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1657
- ];
1401
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1658
1402
  })
1659
1403
  .s("AWSBudgetServiceGateway", "CreateBudget", {})
1660
1404
  .n("BudgetsClient", "CreateBudgetCommand")
1661
- .f(CreateBudgetRequestFilterSensitiveLog, void 0)
1662
- .ser(se_CreateBudgetCommand)
1663
- .de(de_CreateBudgetCommand)
1405
+ .sc(CreateBudget)
1664
1406
  .build() {
1665
1407
  }
1666
1408
 
@@ -1668,16 +1410,11 @@ class CreateNotificationCommand extends smithyClient.Command
1668
1410
  .classBuilder()
1669
1411
  .ep(commonParams)
1670
1412
  .m(function (Command, cs, config, o) {
1671
- return [
1672
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1673
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1674
- ];
1413
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1675
1414
  })
1676
1415
  .s("AWSBudgetServiceGateway", "CreateNotification", {})
1677
1416
  .n("BudgetsClient", "CreateNotificationCommand")
1678
- .f(CreateNotificationRequestFilterSensitiveLog, void 0)
1679
- .ser(se_CreateNotificationCommand)
1680
- .de(de_CreateNotificationCommand)
1417
+ .sc(CreateNotification)
1681
1418
  .build() {
1682
1419
  }
1683
1420
 
@@ -1685,16 +1422,11 @@ class CreateSubscriberCommand extends smithyClient.Command
1685
1422
  .classBuilder()
1686
1423
  .ep(commonParams)
1687
1424
  .m(function (Command, cs, config, o) {
1688
- return [
1689
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1690
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1691
- ];
1425
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1692
1426
  })
1693
1427
  .s("AWSBudgetServiceGateway", "CreateSubscriber", {})
1694
1428
  .n("BudgetsClient", "CreateSubscriberCommand")
1695
- .f(CreateSubscriberRequestFilterSensitiveLog, void 0)
1696
- .ser(se_CreateSubscriberCommand)
1697
- .de(de_CreateSubscriberCommand)
1429
+ .sc(CreateSubscriber)
1698
1430
  .build() {
1699
1431
  }
1700
1432
 
@@ -1702,16 +1434,11 @@ class DeleteBudgetActionCommand extends smithyClient.Command
1702
1434
  .classBuilder()
1703
1435
  .ep(commonParams)
1704
1436
  .m(function (Command, cs, config, o) {
1705
- return [
1706
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1707
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1708
- ];
1437
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1709
1438
  })
1710
1439
  .s("AWSBudgetServiceGateway", "DeleteBudgetAction", {})
1711
1440
  .n("BudgetsClient", "DeleteBudgetActionCommand")
1712
- .f(void 0, DeleteBudgetActionResponseFilterSensitiveLog)
1713
- .ser(se_DeleteBudgetActionCommand)
1714
- .de(de_DeleteBudgetActionCommand)
1441
+ .sc(DeleteBudgetAction)
1715
1442
  .build() {
1716
1443
  }
1717
1444
 
@@ -1719,16 +1446,11 @@ class DeleteBudgetCommand extends smithyClient.Command
1719
1446
  .classBuilder()
1720
1447
  .ep(commonParams)
1721
1448
  .m(function (Command, cs, config, o) {
1722
- return [
1723
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1724
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1725
- ];
1449
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1726
1450
  })
1727
1451
  .s("AWSBudgetServiceGateway", "DeleteBudget", {})
1728
1452
  .n("BudgetsClient", "DeleteBudgetCommand")
1729
- .f(void 0, void 0)
1730
- .ser(se_DeleteBudgetCommand)
1731
- .de(de_DeleteBudgetCommand)
1453
+ .sc(DeleteBudget)
1732
1454
  .build() {
1733
1455
  }
1734
1456
 
@@ -1736,16 +1458,11 @@ class DeleteNotificationCommand extends smithyClient.Command
1736
1458
  .classBuilder()
1737
1459
  .ep(commonParams)
1738
1460
  .m(function (Command, cs, config, o) {
1739
- return [
1740
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1741
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1742
- ];
1461
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1743
1462
  })
1744
1463
  .s("AWSBudgetServiceGateway", "DeleteNotification", {})
1745
1464
  .n("BudgetsClient", "DeleteNotificationCommand")
1746
- .f(void 0, void 0)
1747
- .ser(se_DeleteNotificationCommand)
1748
- .de(de_DeleteNotificationCommand)
1465
+ .sc(DeleteNotification)
1749
1466
  .build() {
1750
1467
  }
1751
1468
 
@@ -1753,16 +1470,11 @@ class DeleteSubscriberCommand extends smithyClient.Command
1753
1470
  .classBuilder()
1754
1471
  .ep(commonParams)
1755
1472
  .m(function (Command, cs, config, o) {
1756
- return [
1757
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1758
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1759
- ];
1473
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1760
1474
  })
1761
1475
  .s("AWSBudgetServiceGateway", "DeleteSubscriber", {})
1762
1476
  .n("BudgetsClient", "DeleteSubscriberCommand")
1763
- .f(DeleteSubscriberRequestFilterSensitiveLog, void 0)
1764
- .ser(se_DeleteSubscriberCommand)
1765
- .de(de_DeleteSubscriberCommand)
1477
+ .sc(DeleteSubscriber)
1766
1478
  .build() {
1767
1479
  }
1768
1480
 
@@ -1770,16 +1482,11 @@ class DescribeBudgetActionCommand extends smithyClient.Command
1770
1482
  .classBuilder()
1771
1483
  .ep(commonParams)
1772
1484
  .m(function (Command, cs, config, o) {
1773
- return [
1774
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1775
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1776
- ];
1485
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1777
1486
  })
1778
1487
  .s("AWSBudgetServiceGateway", "DescribeBudgetAction", {})
1779
1488
  .n("BudgetsClient", "DescribeBudgetActionCommand")
1780
- .f(void 0, DescribeBudgetActionResponseFilterSensitiveLog)
1781
- .ser(se_DescribeBudgetActionCommand)
1782
- .de(de_DescribeBudgetActionCommand)
1489
+ .sc(DescribeBudgetAction)
1783
1490
  .build() {
1784
1491
  }
1785
1492
 
@@ -1787,16 +1494,11 @@ class DescribeBudgetActionHistoriesCommand extends smithyClient.Command
1787
1494
  .classBuilder()
1788
1495
  .ep(commonParams)
1789
1496
  .m(function (Command, cs, config, o) {
1790
- return [
1791
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1792
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1793
- ];
1497
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1794
1498
  })
1795
1499
  .s("AWSBudgetServiceGateway", "DescribeBudgetActionHistories", {})
1796
1500
  .n("BudgetsClient", "DescribeBudgetActionHistoriesCommand")
1797
- .f(void 0, DescribeBudgetActionHistoriesResponseFilterSensitiveLog)
1798
- .ser(se_DescribeBudgetActionHistoriesCommand)
1799
- .de(de_DescribeBudgetActionHistoriesCommand)
1501
+ .sc(DescribeBudgetActionHistories)
1800
1502
  .build() {
1801
1503
  }
1802
1504
 
@@ -1804,16 +1506,11 @@ class DescribeBudgetActionsForAccountCommand extends smithyClient.Command
1804
1506
  .classBuilder()
1805
1507
  .ep(commonParams)
1806
1508
  .m(function (Command, cs, config, o) {
1807
- return [
1808
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1809
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1810
- ];
1509
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1811
1510
  })
1812
1511
  .s("AWSBudgetServiceGateway", "DescribeBudgetActionsForAccount", {})
1813
1512
  .n("BudgetsClient", "DescribeBudgetActionsForAccountCommand")
1814
- .f(void 0, DescribeBudgetActionsForAccountResponseFilterSensitiveLog)
1815
- .ser(se_DescribeBudgetActionsForAccountCommand)
1816
- .de(de_DescribeBudgetActionsForAccountCommand)
1513
+ .sc(DescribeBudgetActionsForAccount)
1817
1514
  .build() {
1818
1515
  }
1819
1516
 
@@ -1821,16 +1518,11 @@ class DescribeBudgetActionsForBudgetCommand extends smithyClient.Command
1821
1518
  .classBuilder()
1822
1519
  .ep(commonParams)
1823
1520
  .m(function (Command, cs, config, o) {
1824
- return [
1825
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1826
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1827
- ];
1521
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1828
1522
  })
1829
1523
  .s("AWSBudgetServiceGateway", "DescribeBudgetActionsForBudget", {})
1830
1524
  .n("BudgetsClient", "DescribeBudgetActionsForBudgetCommand")
1831
- .f(void 0, DescribeBudgetActionsForBudgetResponseFilterSensitiveLog)
1832
- .ser(se_DescribeBudgetActionsForBudgetCommand)
1833
- .de(de_DescribeBudgetActionsForBudgetCommand)
1525
+ .sc(DescribeBudgetActionsForBudget)
1834
1526
  .build() {
1835
1527
  }
1836
1528
 
@@ -1838,16 +1530,11 @@ class DescribeBudgetCommand extends smithyClient.Command
1838
1530
  .classBuilder()
1839
1531
  .ep(commonParams)
1840
1532
  .m(function (Command, cs, config, o) {
1841
- return [
1842
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1843
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1844
- ];
1533
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1845
1534
  })
1846
1535
  .s("AWSBudgetServiceGateway", "DescribeBudget", {})
1847
1536
  .n("BudgetsClient", "DescribeBudgetCommand")
1848
- .f(void 0, void 0)
1849
- .ser(se_DescribeBudgetCommand)
1850
- .de(de_DescribeBudgetCommand)
1537
+ .sc(DescribeBudget)
1851
1538
  .build() {
1852
1539
  }
1853
1540
 
@@ -1855,16 +1542,11 @@ class DescribeBudgetNotificationsForAccountCommand extends smithyClient.Command
1855
1542
  .classBuilder()
1856
1543
  .ep(commonParams)
1857
1544
  .m(function (Command, cs, config, o) {
1858
- return [
1859
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1860
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1861
- ];
1545
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1862
1546
  })
1863
1547
  .s("AWSBudgetServiceGateway", "DescribeBudgetNotificationsForAccount", {})
1864
1548
  .n("BudgetsClient", "DescribeBudgetNotificationsForAccountCommand")
1865
- .f(void 0, void 0)
1866
- .ser(se_DescribeBudgetNotificationsForAccountCommand)
1867
- .de(de_DescribeBudgetNotificationsForAccountCommand)
1549
+ .sc(DescribeBudgetNotificationsForAccount)
1868
1550
  .build() {
1869
1551
  }
1870
1552
 
@@ -1872,16 +1554,11 @@ class DescribeBudgetPerformanceHistoryCommand extends smithyClient.Command
1872
1554
  .classBuilder()
1873
1555
  .ep(commonParams)
1874
1556
  .m(function (Command, cs, config, o) {
1875
- return [
1876
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1877
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1878
- ];
1557
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1879
1558
  })
1880
1559
  .s("AWSBudgetServiceGateway", "DescribeBudgetPerformanceHistory", {})
1881
1560
  .n("BudgetsClient", "DescribeBudgetPerformanceHistoryCommand")
1882
- .f(void 0, void 0)
1883
- .ser(se_DescribeBudgetPerformanceHistoryCommand)
1884
- .de(de_DescribeBudgetPerformanceHistoryCommand)
1561
+ .sc(DescribeBudgetPerformanceHistory)
1885
1562
  .build() {
1886
1563
  }
1887
1564
 
@@ -1889,16 +1566,11 @@ class DescribeBudgetsCommand extends smithyClient.Command
1889
1566
  .classBuilder()
1890
1567
  .ep(commonParams)
1891
1568
  .m(function (Command, cs, config, o) {
1892
- return [
1893
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1894
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1895
- ];
1569
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1896
1570
  })
1897
1571
  .s("AWSBudgetServiceGateway", "DescribeBudgets", {})
1898
1572
  .n("BudgetsClient", "DescribeBudgetsCommand")
1899
- .f(void 0, void 0)
1900
- .ser(se_DescribeBudgetsCommand)
1901
- .de(de_DescribeBudgetsCommand)
1573
+ .sc(DescribeBudgets)
1902
1574
  .build() {
1903
1575
  }
1904
1576
 
@@ -1906,16 +1578,11 @@ class DescribeNotificationsForBudgetCommand extends smithyClient.Command
1906
1578
  .classBuilder()
1907
1579
  .ep(commonParams)
1908
1580
  .m(function (Command, cs, config, o) {
1909
- return [
1910
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1911
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1912
- ];
1581
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1913
1582
  })
1914
1583
  .s("AWSBudgetServiceGateway", "DescribeNotificationsForBudget", {})
1915
1584
  .n("BudgetsClient", "DescribeNotificationsForBudgetCommand")
1916
- .f(void 0, void 0)
1917
- .ser(se_DescribeNotificationsForBudgetCommand)
1918
- .de(de_DescribeNotificationsForBudgetCommand)
1585
+ .sc(DescribeNotificationsForBudget)
1919
1586
  .build() {
1920
1587
  }
1921
1588
 
@@ -1923,16 +1590,11 @@ class DescribeSubscribersForNotificationCommand extends smithyClient.Command
1923
1590
  .classBuilder()
1924
1591
  .ep(commonParams)
1925
1592
  .m(function (Command, cs, config, o) {
1926
- return [
1927
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1928
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1929
- ];
1593
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1930
1594
  })
1931
1595
  .s("AWSBudgetServiceGateway", "DescribeSubscribersForNotification", {})
1932
1596
  .n("BudgetsClient", "DescribeSubscribersForNotificationCommand")
1933
- .f(void 0, DescribeSubscribersForNotificationResponseFilterSensitiveLog)
1934
- .ser(se_DescribeSubscribersForNotificationCommand)
1935
- .de(de_DescribeSubscribersForNotificationCommand)
1597
+ .sc(DescribeSubscribersForNotification)
1936
1598
  .build() {
1937
1599
  }
1938
1600
 
@@ -1940,16 +1602,11 @@ class ExecuteBudgetActionCommand extends smithyClient.Command
1940
1602
  .classBuilder()
1941
1603
  .ep(commonParams)
1942
1604
  .m(function (Command, cs, config, o) {
1943
- return [
1944
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1945
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1946
- ];
1605
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1947
1606
  })
1948
1607
  .s("AWSBudgetServiceGateway", "ExecuteBudgetAction", {})
1949
1608
  .n("BudgetsClient", "ExecuteBudgetActionCommand")
1950
- .f(void 0, void 0)
1951
- .ser(se_ExecuteBudgetActionCommand)
1952
- .de(de_ExecuteBudgetActionCommand)
1609
+ .sc(ExecuteBudgetAction)
1953
1610
  .build() {
1954
1611
  }
1955
1612
 
@@ -1957,16 +1614,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
1957
1614
  .classBuilder()
1958
1615
  .ep(commonParams)
1959
1616
  .m(function (Command, cs, config, o) {
1960
- return [
1961
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1962
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1963
- ];
1617
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1964
1618
  })
1965
1619
  .s("AWSBudgetServiceGateway", "ListTagsForResource", {})
1966
1620
  .n("BudgetsClient", "ListTagsForResourceCommand")
1967
- .f(void 0, void 0)
1968
- .ser(se_ListTagsForResourceCommand)
1969
- .de(de_ListTagsForResourceCommand)
1621
+ .sc(ListTagsForResource)
1970
1622
  .build() {
1971
1623
  }
1972
1624
 
@@ -1974,16 +1626,11 @@ class TagResourceCommand extends smithyClient.Command
1974
1626
  .classBuilder()
1975
1627
  .ep(commonParams)
1976
1628
  .m(function (Command, cs, config, o) {
1977
- return [
1978
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1979
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1980
- ];
1629
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1981
1630
  })
1982
1631
  .s("AWSBudgetServiceGateway", "TagResource", {})
1983
1632
  .n("BudgetsClient", "TagResourceCommand")
1984
- .f(void 0, void 0)
1985
- .ser(se_TagResourceCommand)
1986
- .de(de_TagResourceCommand)
1633
+ .sc(TagResource)
1987
1634
  .build() {
1988
1635
  }
1989
1636
 
@@ -1991,16 +1638,11 @@ class UntagResourceCommand extends smithyClient.Command
1991
1638
  .classBuilder()
1992
1639
  .ep(commonParams)
1993
1640
  .m(function (Command, cs, config, o) {
1994
- return [
1995
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1996
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1997
- ];
1641
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1998
1642
  })
1999
1643
  .s("AWSBudgetServiceGateway", "UntagResource", {})
2000
1644
  .n("BudgetsClient", "UntagResourceCommand")
2001
- .f(void 0, void 0)
2002
- .ser(se_UntagResourceCommand)
2003
- .de(de_UntagResourceCommand)
1645
+ .sc(UntagResource)
2004
1646
  .build() {
2005
1647
  }
2006
1648
 
@@ -2008,16 +1650,11 @@ class UpdateBudgetActionCommand extends smithyClient.Command
2008
1650
  .classBuilder()
2009
1651
  .ep(commonParams)
2010
1652
  .m(function (Command, cs, config, o) {
2011
- return [
2012
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2013
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2014
- ];
1653
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2015
1654
  })
2016
1655
  .s("AWSBudgetServiceGateway", "UpdateBudgetAction", {})
2017
1656
  .n("BudgetsClient", "UpdateBudgetActionCommand")
2018
- .f(UpdateBudgetActionRequestFilterSensitiveLog, UpdateBudgetActionResponseFilterSensitiveLog)
2019
- .ser(se_UpdateBudgetActionCommand)
2020
- .de(de_UpdateBudgetActionCommand)
1657
+ .sc(UpdateBudgetAction)
2021
1658
  .build() {
2022
1659
  }
2023
1660
 
@@ -2025,16 +1662,11 @@ class UpdateBudgetCommand extends smithyClient.Command
2025
1662
  .classBuilder()
2026
1663
  .ep(commonParams)
2027
1664
  .m(function (Command, cs, config, o) {
2028
- return [
2029
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2030
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2031
- ];
1665
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2032
1666
  })
2033
1667
  .s("AWSBudgetServiceGateway", "UpdateBudget", {})
2034
1668
  .n("BudgetsClient", "UpdateBudgetCommand")
2035
- .f(void 0, void 0)
2036
- .ser(se_UpdateBudgetCommand)
2037
- .de(de_UpdateBudgetCommand)
1669
+ .sc(UpdateBudget)
2038
1670
  .build() {
2039
1671
  }
2040
1672
 
@@ -2042,16 +1674,11 @@ class UpdateNotificationCommand extends smithyClient.Command
2042
1674
  .classBuilder()
2043
1675
  .ep(commonParams)
2044
1676
  .m(function (Command, cs, config, o) {
2045
- return [
2046
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2047
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2048
- ];
1677
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2049
1678
  })
2050
1679
  .s("AWSBudgetServiceGateway", "UpdateNotification", {})
2051
1680
  .n("BudgetsClient", "UpdateNotificationCommand")
2052
- .f(void 0, void 0)
2053
- .ser(se_UpdateNotificationCommand)
2054
- .de(de_UpdateNotificationCommand)
1681
+ .sc(UpdateNotification)
2055
1682
  .build() {
2056
1683
  }
2057
1684
 
@@ -2059,16 +1686,11 @@ class UpdateSubscriberCommand extends smithyClient.Command
2059
1686
  .classBuilder()
2060
1687
  .ep(commonParams)
2061
1688
  .m(function (Command, cs, config, o) {
2062
- return [
2063
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2064
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2065
- ];
1689
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2066
1690
  })
2067
1691
  .s("AWSBudgetServiceGateway", "UpdateSubscriber", {})
2068
1692
  .n("BudgetsClient", "UpdateSubscriberCommand")
2069
- .f(UpdateSubscriberRequestFilterSensitiveLog, void 0)
2070
- .ser(se_UpdateSubscriberCommand)
2071
- .de(de_UpdateSubscriberCommand)
1693
+ .sc(UpdateSubscriber)
2072
1694
  .build() {
2073
1695
  }
2074
1696
 
@@ -2128,85 +1750,66 @@ Object.defineProperty(exports, "__Client", {
2128
1750
  enumerable: true,
2129
1751
  get: function () { return smithyClient.Client; }
2130
1752
  });
2131
- exports.AccessDeniedException = AccessDeniedException;
2132
- exports.ActionFilterSensitiveLog = ActionFilterSensitiveLog;
2133
- exports.ActionHistoryDetailsFilterSensitiveLog = ActionHistoryDetailsFilterSensitiveLog;
2134
- exports.ActionHistoryFilterSensitiveLog = ActionHistoryFilterSensitiveLog;
1753
+ exports.AccessDeniedException = AccessDeniedException$1;
2135
1754
  exports.ActionStatus = ActionStatus;
2136
1755
  exports.ActionSubType = ActionSubType;
2137
1756
  exports.ActionType = ActionType;
2138
1757
  exports.ApprovalModel = ApprovalModel;
2139
1758
  exports.AutoAdjustType = AutoAdjustType;
2140
- exports.BillingViewHealthStatusException = BillingViewHealthStatusException;
1759
+ exports.BillingViewHealthStatusException = BillingViewHealthStatusException$1;
2141
1760
  exports.BudgetType = BudgetType;
2142
1761
  exports.Budgets = Budgets;
2143
1762
  exports.BudgetsClient = BudgetsClient;
2144
- exports.BudgetsServiceException = BudgetsServiceException;
1763
+ exports.BudgetsServiceException = BudgetsServiceException$1;
2145
1764
  exports.ComparisonOperator = ComparisonOperator;
2146
1765
  exports.CreateBudgetActionCommand = CreateBudgetActionCommand;
2147
- exports.CreateBudgetActionRequestFilterSensitiveLog = CreateBudgetActionRequestFilterSensitiveLog;
2148
1766
  exports.CreateBudgetCommand = CreateBudgetCommand;
2149
- exports.CreateBudgetRequestFilterSensitiveLog = CreateBudgetRequestFilterSensitiveLog;
2150
1767
  exports.CreateNotificationCommand = CreateNotificationCommand;
2151
- exports.CreateNotificationRequestFilterSensitiveLog = CreateNotificationRequestFilterSensitiveLog;
2152
1768
  exports.CreateSubscriberCommand = CreateSubscriberCommand;
2153
- exports.CreateSubscriberRequestFilterSensitiveLog = CreateSubscriberRequestFilterSensitiveLog;
2154
- exports.CreationLimitExceededException = CreationLimitExceededException;
1769
+ exports.CreationLimitExceededException = CreationLimitExceededException$1;
2155
1770
  exports.DeleteBudgetActionCommand = DeleteBudgetActionCommand;
2156
- exports.DeleteBudgetActionResponseFilterSensitiveLog = DeleteBudgetActionResponseFilterSensitiveLog;
2157
1771
  exports.DeleteBudgetCommand = DeleteBudgetCommand;
2158
1772
  exports.DeleteNotificationCommand = DeleteNotificationCommand;
2159
1773
  exports.DeleteSubscriberCommand = DeleteSubscriberCommand;
2160
- exports.DeleteSubscriberRequestFilterSensitiveLog = DeleteSubscriberRequestFilterSensitiveLog;
2161
1774
  exports.DescribeBudgetActionCommand = DescribeBudgetActionCommand;
2162
1775
  exports.DescribeBudgetActionHistoriesCommand = DescribeBudgetActionHistoriesCommand;
2163
- exports.DescribeBudgetActionHistoriesResponseFilterSensitiveLog = DescribeBudgetActionHistoriesResponseFilterSensitiveLog;
2164
- exports.DescribeBudgetActionResponseFilterSensitiveLog = DescribeBudgetActionResponseFilterSensitiveLog;
2165
1776
  exports.DescribeBudgetActionsForAccountCommand = DescribeBudgetActionsForAccountCommand;
2166
- exports.DescribeBudgetActionsForAccountResponseFilterSensitiveLog = DescribeBudgetActionsForAccountResponseFilterSensitiveLog;
2167
1777
  exports.DescribeBudgetActionsForBudgetCommand = DescribeBudgetActionsForBudgetCommand;
2168
- exports.DescribeBudgetActionsForBudgetResponseFilterSensitiveLog = DescribeBudgetActionsForBudgetResponseFilterSensitiveLog;
2169
1778
  exports.DescribeBudgetCommand = DescribeBudgetCommand;
2170
1779
  exports.DescribeBudgetNotificationsForAccountCommand = DescribeBudgetNotificationsForAccountCommand;
2171
1780
  exports.DescribeBudgetPerformanceHistoryCommand = DescribeBudgetPerformanceHistoryCommand;
2172
1781
  exports.DescribeBudgetsCommand = DescribeBudgetsCommand;
2173
1782
  exports.DescribeNotificationsForBudgetCommand = DescribeNotificationsForBudgetCommand;
2174
1783
  exports.DescribeSubscribersForNotificationCommand = DescribeSubscribersForNotificationCommand;
2175
- exports.DescribeSubscribersForNotificationResponseFilterSensitiveLog = DescribeSubscribersForNotificationResponseFilterSensitiveLog;
2176
1784
  exports.Dimension = Dimension;
2177
- exports.DuplicateRecordException = DuplicateRecordException;
1785
+ exports.DuplicateRecordException = DuplicateRecordException$1;
2178
1786
  exports.EventType = EventType;
2179
1787
  exports.ExecuteBudgetActionCommand = ExecuteBudgetActionCommand;
2180
1788
  exports.ExecutionType = ExecutionType;
2181
- exports.ExpiredNextTokenException = ExpiredNextTokenException;
1789
+ exports.ExpiredNextTokenException = ExpiredNextTokenException$1;
2182
1790
  exports.HealthStatusReason = HealthStatusReason;
2183
1791
  exports.HealthStatusValue = HealthStatusValue;
2184
- exports.InternalErrorException = InternalErrorException;
2185
- exports.InvalidNextTokenException = InvalidNextTokenException;
2186
- exports.InvalidParameterException = InvalidParameterException;
1792
+ exports.InternalErrorException = InternalErrorException$1;
1793
+ exports.InvalidNextTokenException = InvalidNextTokenException$1;
1794
+ exports.InvalidParameterException = InvalidParameterException$1;
2187
1795
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
2188
1796
  exports.MatchOption = MatchOption;
2189
1797
  exports.Metric = Metric;
2190
- exports.NotFoundException = NotFoundException;
1798
+ exports.NotFoundException = NotFoundException$1;
2191
1799
  exports.NotificationState = NotificationState;
2192
1800
  exports.NotificationType = NotificationType;
2193
- exports.NotificationWithSubscribersFilterSensitiveLog = NotificationWithSubscribersFilterSensitiveLog;
2194
- exports.ResourceLockedException = ResourceLockedException;
2195
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
2196
- exports.SubscriberFilterSensitiveLog = SubscriberFilterSensitiveLog;
1801
+ exports.ResourceLockedException = ResourceLockedException$1;
1802
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
2197
1803
  exports.SubscriptionType = SubscriptionType;
2198
1804
  exports.TagResourceCommand = TagResourceCommand;
2199
1805
  exports.ThresholdType = ThresholdType;
2200
- exports.ThrottlingException = ThrottlingException;
1806
+ exports.ThrottlingException = ThrottlingException$1;
2201
1807
  exports.TimeUnit = TimeUnit;
2202
1808
  exports.UntagResourceCommand = UntagResourceCommand;
2203
1809
  exports.UpdateBudgetActionCommand = UpdateBudgetActionCommand;
2204
- exports.UpdateBudgetActionRequestFilterSensitiveLog = UpdateBudgetActionRequestFilterSensitiveLog;
2205
- exports.UpdateBudgetActionResponseFilterSensitiveLog = UpdateBudgetActionResponseFilterSensitiveLog;
2206
1810
  exports.UpdateBudgetCommand = UpdateBudgetCommand;
2207
1811
  exports.UpdateNotificationCommand = UpdateNotificationCommand;
2208
1812
  exports.UpdateSubscriberCommand = UpdateSubscriberCommand;
2209
- exports.UpdateSubscriberRequestFilterSensitiveLog = UpdateSubscriberRequestFilterSensitiveLog;
2210
1813
  exports.paginateDescribeBudgetActionHistories = paginateDescribeBudgetActionHistories;
2211
1814
  exports.paginateDescribeBudgetActionsForAccount = paginateDescribeBudgetActionsForAccount;
2212
1815
  exports.paginateDescribeBudgetActionsForBudget = paginateDescribeBudgetActionsForBudget;