@aws-sdk/client-bcm-pricing-calculator 3.927.0 → 3.928.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 (57) hide show
  1. package/dist-cjs/index.js +1797 -1957
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/BCMPricingCalculatorClient.js +2 -0
  4. package/dist-es/commands/BatchCreateBillScenarioCommitmentModificationCommand.js +3 -9
  5. package/dist-es/commands/BatchCreateBillScenarioUsageModificationCommand.js +3 -9
  6. package/dist-es/commands/BatchCreateWorkloadEstimateUsageCommand.js +3 -9
  7. package/dist-es/commands/BatchDeleteBillScenarioCommitmentModificationCommand.js +3 -9
  8. package/dist-es/commands/BatchDeleteBillScenarioUsageModificationCommand.js +3 -9
  9. package/dist-es/commands/BatchDeleteWorkloadEstimateUsageCommand.js +3 -9
  10. package/dist-es/commands/BatchUpdateBillScenarioCommitmentModificationCommand.js +3 -9
  11. package/dist-es/commands/BatchUpdateBillScenarioUsageModificationCommand.js +3 -9
  12. package/dist-es/commands/BatchUpdateWorkloadEstimateUsageCommand.js +3 -9
  13. package/dist-es/commands/CreateBillEstimateCommand.js +3 -9
  14. package/dist-es/commands/CreateBillScenarioCommand.js +3 -9
  15. package/dist-es/commands/CreateWorkloadEstimateCommand.js +3 -9
  16. package/dist-es/commands/DeleteBillEstimateCommand.js +3 -9
  17. package/dist-es/commands/DeleteBillScenarioCommand.js +3 -9
  18. package/dist-es/commands/DeleteWorkloadEstimateCommand.js +3 -9
  19. package/dist-es/commands/GetBillEstimateCommand.js +3 -9
  20. package/dist-es/commands/GetBillScenarioCommand.js +3 -9
  21. package/dist-es/commands/GetPreferencesCommand.js +3 -9
  22. package/dist-es/commands/GetWorkloadEstimateCommand.js +3 -9
  23. package/dist-es/commands/ListBillEstimateCommitmentsCommand.js +3 -9
  24. package/dist-es/commands/ListBillEstimateInputCommitmentModificationsCommand.js +3 -9
  25. package/dist-es/commands/ListBillEstimateInputUsageModificationsCommand.js +3 -9
  26. package/dist-es/commands/ListBillEstimateLineItemsCommand.js +3 -9
  27. package/dist-es/commands/ListBillEstimatesCommand.js +3 -9
  28. package/dist-es/commands/ListBillScenarioCommitmentModificationsCommand.js +3 -9
  29. package/dist-es/commands/ListBillScenarioUsageModificationsCommand.js +3 -9
  30. package/dist-es/commands/ListBillScenariosCommand.js +3 -9
  31. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  32. package/dist-es/commands/ListWorkloadEstimateUsageCommand.js +3 -9
  33. package/dist-es/commands/ListWorkloadEstimatesCommand.js +3 -9
  34. package/dist-es/commands/TagResourceCommand.js +3 -9
  35. package/dist-es/commands/UntagResourceCommand.js +3 -9
  36. package/dist-es/commands/UpdateBillEstimateCommand.js +3 -9
  37. package/dist-es/commands/UpdateBillScenarioCommand.js +3 -9
  38. package/dist-es/commands/UpdatePreferencesCommand.js +3 -9
  39. package/dist-es/commands/UpdateWorkloadEstimateCommand.js +3 -9
  40. package/dist-es/runtimeConfig.shared.js +7 -0
  41. package/dist-es/schemas/schemas_0.js +1713 -0
  42. package/dist-types/BCMPricingCalculatorClient.d.ts +10 -1
  43. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  44. package/dist-types/runtimeConfig.d.ts +1 -0
  45. package/dist-types/runtimeConfig.native.d.ts +1 -0
  46. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  47. package/dist-types/schemas/schemas_0.d.ts +221 -0
  48. package/dist-types/ts3.4/BCMPricingCalculatorClient.d.ts +4 -0
  49. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  50. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  51. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  52. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  53. package/dist-types/ts3.4/schemas/schemas_0.d.ts +227 -0
  54. package/package.json +5 -6
  55. package/dist-es/protocols/Aws_json1_0.js +0 -1685
  56. package/dist-types/protocols/Aws_json1_0.d.ts +0 -326
  57. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +0 -437
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,9 +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
- var uuid = require('@smithy/uuid');
20
18
 
21
19
  const resolveClientEndpointParameters = (options) => {
22
20
  return Object.assign(options, {
@@ -90,6 +88,7 @@ class BCMPricingCalculatorClient extends smithyClient.Client {
90
88
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
91
89
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
92
90
  this.config = _config_8;
91
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
93
92
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
94
93
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
95
94
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -109,14 +108,14 @@ class BCMPricingCalculatorClient extends smithyClient.Client {
109
108
  }
110
109
  }
111
110
 
112
- class BCMPricingCalculatorServiceException extends smithyClient.ServiceException {
111
+ let BCMPricingCalculatorServiceException$1 = class BCMPricingCalculatorServiceException extends smithyClient.ServiceException {
113
112
  constructor(options) {
114
113
  super(options);
115
114
  Object.setPrototypeOf(this, BCMPricingCalculatorServiceException.prototype);
116
115
  }
117
- }
116
+ };
118
117
 
119
- class AccessDeniedException extends BCMPricingCalculatorServiceException {
118
+ let AccessDeniedException$1 = class AccessDeniedException extends BCMPricingCalculatorServiceException$1 {
120
119
  name = "AccessDeniedException";
121
120
  $fault = "client";
122
121
  constructor(opts) {
@@ -127,8 +126,8 @@ class AccessDeniedException extends BCMPricingCalculatorServiceException {
127
126
  });
128
127
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
129
128
  }
130
- }
131
- class DataUnavailableException extends BCMPricingCalculatorServiceException {
129
+ };
130
+ let DataUnavailableException$1 = class DataUnavailableException extends BCMPricingCalculatorServiceException$1 {
132
131
  name = "DataUnavailableException";
133
132
  $fault = "client";
134
133
  constructor(opts) {
@@ -139,8 +138,8 @@ class DataUnavailableException extends BCMPricingCalculatorServiceException {
139
138
  });
140
139
  Object.setPrototypeOf(this, DataUnavailableException.prototype);
141
140
  }
142
- }
143
- class InternalServerException extends BCMPricingCalculatorServiceException {
141
+ };
142
+ let InternalServerException$1 = class InternalServerException extends BCMPricingCalculatorServiceException$1 {
144
143
  name = "InternalServerException";
145
144
  $fault = "server";
146
145
  retryAfterSeconds;
@@ -153,7 +152,7 @@ class InternalServerException extends BCMPricingCalculatorServiceException {
153
152
  Object.setPrototypeOf(this, InternalServerException.prototype);
154
153
  this.retryAfterSeconds = opts.retryAfterSeconds;
155
154
  }
156
- }
155
+ };
157
156
  const CurrencyCode = {
158
157
  USD: "USD",
159
158
  };
@@ -161,7 +160,7 @@ const PurchaseAgreementType = {
161
160
  RESERVED_INSTANCE: "RESERVED_INSTANCE",
162
161
  SAVINGS_PLANS: "SAVINGS_PLANS",
163
162
  };
164
- class ResourceNotFoundException extends BCMPricingCalculatorServiceException {
163
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends BCMPricingCalculatorServiceException$1 {
165
164
  name = "ResourceNotFoundException";
166
165
  $fault = "client";
167
166
  resourceId;
@@ -176,8 +175,8 @@ class ResourceNotFoundException extends BCMPricingCalculatorServiceException {
176
175
  this.resourceId = opts.resourceId;
177
176
  this.resourceType = opts.resourceType;
178
177
  }
179
- }
180
- class ThrottlingException extends BCMPricingCalculatorServiceException {
178
+ };
179
+ let ThrottlingException$1 = class ThrottlingException extends BCMPricingCalculatorServiceException$1 {
181
180
  name = "ThrottlingException";
182
181
  $fault = "client";
183
182
  serviceCode;
@@ -194,7 +193,7 @@ class ThrottlingException extends BCMPricingCalculatorServiceException {
194
193
  this.quotaCode = opts.quotaCode;
195
194
  this.retryAfterSeconds = opts.retryAfterSeconds;
196
195
  }
197
- }
196
+ };
198
197
  const ValidationExceptionReason = {
199
198
  CANNOT_PARSE: "cannotParse",
200
199
  DISALLOWED_RATE: "disallowedRate",
@@ -203,7 +202,7 @@ const ValidationExceptionReason = {
203
202
  OTHER: "other",
204
203
  UNKNOWN_OPERATION: "unknownOperation",
205
204
  };
206
- class ValidationException extends BCMPricingCalculatorServiceException {
205
+ let ValidationException$1 = class ValidationException extends BCMPricingCalculatorServiceException$1 {
207
206
  name = "ValidationException";
208
207
  $fault = "client";
209
208
  reason;
@@ -218,7 +217,7 @@ class ValidationException extends BCMPricingCalculatorServiceException {
218
217
  this.reason = opts.reason;
219
218
  this.fieldList = opts.fieldList;
220
219
  }
221
- }
220
+ };
222
221
  exports.BillScenarioCommitmentModificationAction = void 0;
223
222
  (function (BillScenarioCommitmentModificationAction) {
224
223
  BillScenarioCommitmentModificationAction.visit = (value, visitor) => {
@@ -264,7 +263,7 @@ const BillEstimateStatus = {
264
263
  FAILED: "FAILED",
265
264
  IN_PROGRESS: "IN_PROGRESS",
266
265
  };
267
- class ConflictException extends BCMPricingCalculatorServiceException {
266
+ let ConflictException$1 = class ConflictException extends BCMPricingCalculatorServiceException$1 {
268
267
  name = "ConflictException";
269
268
  $fault = "client";
270
269
  resourceId;
@@ -279,7 +278,7 @@ class ConflictException extends BCMPricingCalculatorServiceException {
279
278
  this.resourceId = opts.resourceId;
280
279
  this.resourceType = opts.resourceType;
281
280
  }
282
- }
281
+ };
283
282
  const ListBillEstimatesFilterName = {
284
283
  NAME: "NAME",
285
284
  STATUS: "STATUS",
@@ -312,7 +311,7 @@ const BatchCreateBillScenarioUsageModificationErrorCode = {
312
311
  INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR",
313
312
  NOT_FOUND: "NOT_FOUND",
314
313
  };
315
- class ServiceQuotaExceededException extends BCMPricingCalculatorServiceException {
314
+ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends BCMPricingCalculatorServiceException$1 {
316
315
  name = "ServiceQuotaExceededException";
317
316
  $fault = "client";
318
317
  resourceId;
@@ -331,7 +330,7 @@ class ServiceQuotaExceededException extends BCMPricingCalculatorServiceException
331
330
  this.serviceCode = opts.serviceCode;
332
331
  this.quotaCode = opts.quotaCode;
333
332
  }
334
- }
333
+ };
335
334
  const BatchDeleteBillScenarioUsageModificationErrorCode = {
336
335
  BAD_REQUEST: "BAD_REQUEST",
337
336
  CONFLICT: "CONFLICT",
@@ -385,1696 +384,1712 @@ const WorkloadEstimateUpdateUsageErrorCode = {
385
384
  NOT_FOUND: "NOT_FOUND",
386
385
  };
387
386
 
388
- const se_BatchCreateBillScenarioCommitmentModificationCommand = async (input, context) => {
389
- const headers = sharedHeaders("BatchCreateBillScenarioCommitmentModification");
390
- let body;
391
- body = JSON.stringify(se_BatchCreateBillScenarioCommitmentModificationRequest(input));
392
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
393
- };
394
- const se_BatchCreateBillScenarioUsageModificationCommand = async (input, context) => {
395
- const headers = sharedHeaders("BatchCreateBillScenarioUsageModification");
396
- let body;
397
- body = JSON.stringify(se_BatchCreateBillScenarioUsageModificationRequest(input));
398
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
399
- };
400
- const se_BatchCreateWorkloadEstimateUsageCommand = async (input, context) => {
401
- const headers = sharedHeaders("BatchCreateWorkloadEstimateUsage");
402
- let body;
403
- body = JSON.stringify(se_BatchCreateWorkloadEstimateUsageRequest(input));
404
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
405
- };
406
- const se_BatchDeleteBillScenarioCommitmentModificationCommand = async (input, context) => {
407
- const headers = sharedHeaders("BatchDeleteBillScenarioCommitmentModification");
408
- let body;
409
- body = JSON.stringify(smithyClient._json(input));
410
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
411
- };
412
- const se_BatchDeleteBillScenarioUsageModificationCommand = async (input, context) => {
413
- const headers = sharedHeaders("BatchDeleteBillScenarioUsageModification");
414
- let body;
415
- body = JSON.stringify(smithyClient._json(input));
416
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
417
- };
418
- const se_BatchDeleteWorkloadEstimateUsageCommand = async (input, context) => {
419
- const headers = sharedHeaders("BatchDeleteWorkloadEstimateUsage");
420
- let body;
421
- body = JSON.stringify(smithyClient._json(input));
422
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
423
- };
424
- const se_BatchUpdateBillScenarioCommitmentModificationCommand = async (input, context) => {
425
- const headers = sharedHeaders("BatchUpdateBillScenarioCommitmentModification");
426
- let body;
427
- body = JSON.stringify(smithyClient._json(input));
428
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
429
- };
430
- const se_BatchUpdateBillScenarioUsageModificationCommand = async (input, context) => {
431
- const headers = sharedHeaders("BatchUpdateBillScenarioUsageModification");
432
- let body;
433
- body = JSON.stringify(se_BatchUpdateBillScenarioUsageModificationRequest(input));
434
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
435
- };
436
- const se_BatchUpdateWorkloadEstimateUsageCommand = async (input, context) => {
437
- const headers = sharedHeaders("BatchUpdateWorkloadEstimateUsage");
438
- let body;
439
- body = JSON.stringify(se_BatchUpdateWorkloadEstimateUsageRequest(input));
440
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
441
- };
442
- const se_CreateBillEstimateCommand = async (input, context) => {
443
- const headers = sharedHeaders("CreateBillEstimate");
444
- let body;
445
- body = JSON.stringify(se_CreateBillEstimateRequest(input));
446
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
447
- };
448
- const se_CreateBillScenarioCommand = async (input, context) => {
449
- const headers = sharedHeaders("CreateBillScenario");
450
- let body;
451
- body = JSON.stringify(se_CreateBillScenarioRequest(input));
452
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
453
- };
454
- const se_CreateWorkloadEstimateCommand = async (input, context) => {
455
- const headers = sharedHeaders("CreateWorkloadEstimate");
456
- let body;
457
- body = JSON.stringify(se_CreateWorkloadEstimateRequest(input));
458
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
459
- };
460
- const se_DeleteBillEstimateCommand = async (input, context) => {
461
- const headers = sharedHeaders("DeleteBillEstimate");
462
- let body;
463
- body = JSON.stringify(smithyClient._json(input));
464
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
465
- };
466
- const se_DeleteBillScenarioCommand = async (input, context) => {
467
- const headers = sharedHeaders("DeleteBillScenario");
468
- let body;
469
- body = JSON.stringify(smithyClient._json(input));
470
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
471
- };
472
- const se_DeleteWorkloadEstimateCommand = async (input, context) => {
473
- const headers = sharedHeaders("DeleteWorkloadEstimate");
474
- let body;
475
- body = JSON.stringify(smithyClient._json(input));
476
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
477
- };
478
- const se_GetBillEstimateCommand = async (input, context) => {
479
- const headers = sharedHeaders("GetBillEstimate");
480
- let body;
481
- body = JSON.stringify(smithyClient._json(input));
482
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
483
- };
484
- const se_GetBillScenarioCommand = async (input, context) => {
485
- const headers = sharedHeaders("GetBillScenario");
486
- let body;
487
- body = JSON.stringify(smithyClient._json(input));
488
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
489
- };
490
- const se_GetPreferencesCommand = async (input, context) => {
491
- const headers = sharedHeaders("GetPreferences");
492
- let body;
493
- body = JSON.stringify(smithyClient._json(input));
494
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
495
- };
496
- const se_GetWorkloadEstimateCommand = async (input, context) => {
497
- const headers = sharedHeaders("GetWorkloadEstimate");
498
- let body;
499
- body = JSON.stringify(smithyClient._json(input));
500
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
501
- };
502
- const se_ListBillEstimateCommitmentsCommand = async (input, context) => {
503
- const headers = sharedHeaders("ListBillEstimateCommitments");
504
- let body;
505
- body = JSON.stringify(smithyClient._json(input));
506
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
507
- };
508
- const se_ListBillEstimateInputCommitmentModificationsCommand = async (input, context) => {
509
- const headers = sharedHeaders("ListBillEstimateInputCommitmentModifications");
510
- let body;
511
- body = JSON.stringify(smithyClient._json(input));
512
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
513
- };
514
- const se_ListBillEstimateInputUsageModificationsCommand = async (input, context) => {
515
- const headers = sharedHeaders("ListBillEstimateInputUsageModifications");
516
- let body;
517
- body = JSON.stringify(smithyClient._json(input));
518
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
519
- };
520
- const se_ListBillEstimateLineItemsCommand = async (input, context) => {
521
- const headers = sharedHeaders("ListBillEstimateLineItems");
522
- let body;
523
- body = JSON.stringify(smithyClient._json(input));
524
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
525
- };
526
- const se_ListBillEstimatesCommand = async (input, context) => {
527
- const headers = sharedHeaders("ListBillEstimates");
528
- let body;
529
- body = JSON.stringify(se_ListBillEstimatesRequest(input));
530
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
531
- };
532
- const se_ListBillScenarioCommitmentModificationsCommand = async (input, context) => {
533
- const headers = sharedHeaders("ListBillScenarioCommitmentModifications");
534
- let body;
535
- body = JSON.stringify(smithyClient._json(input));
536
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
537
- };
538
- const se_ListBillScenariosCommand = async (input, context) => {
539
- const headers = sharedHeaders("ListBillScenarios");
540
- let body;
541
- body = JSON.stringify(se_ListBillScenariosRequest(input));
542
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
543
- };
544
- const se_ListBillScenarioUsageModificationsCommand = async (input, context) => {
545
- const headers = sharedHeaders("ListBillScenarioUsageModifications");
546
- let body;
547
- body = JSON.stringify(smithyClient._json(input));
548
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
549
- };
550
- const se_ListTagsForResourceCommand = async (input, context) => {
551
- const headers = sharedHeaders("ListTagsForResource");
552
- let body;
553
- body = JSON.stringify(smithyClient._json(input));
554
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
555
- };
556
- const se_ListWorkloadEstimatesCommand = async (input, context) => {
557
- const headers = sharedHeaders("ListWorkloadEstimates");
558
- let body;
559
- body = JSON.stringify(se_ListWorkloadEstimatesRequest(input));
560
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
561
- };
562
- const se_ListWorkloadEstimateUsageCommand = async (input, context) => {
563
- const headers = sharedHeaders("ListWorkloadEstimateUsage");
564
- let body;
565
- body = JSON.stringify(smithyClient._json(input));
566
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
567
- };
568
- const se_TagResourceCommand = async (input, context) => {
569
- const headers = sharedHeaders("TagResource");
570
- let body;
571
- body = JSON.stringify(smithyClient._json(input));
572
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
573
- };
574
- const se_UntagResourceCommand = async (input, context) => {
575
- const headers = sharedHeaders("UntagResource");
576
- let body;
577
- body = JSON.stringify(smithyClient._json(input));
578
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
579
- };
580
- const se_UpdateBillEstimateCommand = async (input, context) => {
581
- const headers = sharedHeaders("UpdateBillEstimate");
582
- let body;
583
- body = JSON.stringify(se_UpdateBillEstimateRequest(input));
584
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
585
- };
586
- const se_UpdateBillScenarioCommand = async (input, context) => {
587
- const headers = sharedHeaders("UpdateBillScenario");
588
- let body;
589
- body = JSON.stringify(se_UpdateBillScenarioRequest(input));
590
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
591
- };
592
- const se_UpdatePreferencesCommand = async (input, context) => {
593
- const headers = sharedHeaders("UpdatePreferences");
594
- let body;
595
- body = JSON.stringify(smithyClient._json(input));
596
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
597
- };
598
- const se_UpdateWorkloadEstimateCommand = async (input, context) => {
599
- const headers = sharedHeaders("UpdateWorkloadEstimate");
600
- let body;
601
- body = JSON.stringify(se_UpdateWorkloadEstimateRequest(input));
602
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
603
- };
604
- const de_BatchCreateBillScenarioCommitmentModificationCommand = async (output, context) => {
605
- if (output.statusCode >= 300) {
606
- return de_CommandError(output, context);
607
- }
608
- const data = await core$1.parseJsonBody(output.body, context);
609
- let contents = {};
610
- contents = de_BatchCreateBillScenarioCommitmentModificationResponse(data);
611
- const response = {
612
- $metadata: deserializeMetadata(output),
613
- ...contents,
614
- };
615
- return response;
616
- };
617
- const de_BatchCreateBillScenarioUsageModificationCommand = async (output, context) => {
618
- if (output.statusCode >= 300) {
619
- return de_CommandError(output, context);
620
- }
621
- const data = await core$1.parseJsonBody(output.body, context);
622
- let contents = {};
623
- contents = de_BatchCreateBillScenarioUsageModificationResponse(data);
624
- const response = {
625
- $metadata: deserializeMetadata(output),
626
- ...contents,
627
- };
628
- return response;
629
- };
630
- const de_BatchCreateWorkloadEstimateUsageCommand = async (output, context) => {
631
- if (output.statusCode >= 300) {
632
- return de_CommandError(output, context);
633
- }
634
- const data = await core$1.parseJsonBody(output.body, context);
635
- let contents = {};
636
- contents = de_BatchCreateWorkloadEstimateUsageResponse(data);
637
- const response = {
638
- $metadata: deserializeMetadata(output),
639
- ...contents,
640
- };
641
- return response;
642
- };
643
- const de_BatchDeleteBillScenarioCommitmentModificationCommand = async (output, context) => {
644
- if (output.statusCode >= 300) {
645
- return de_CommandError(output, context);
646
- }
647
- const data = await core$1.parseJsonBody(output.body, context);
648
- let contents = {};
649
- contents = smithyClient._json(data);
650
- const response = {
651
- $metadata: deserializeMetadata(output),
652
- ...contents,
653
- };
654
- return response;
655
- };
656
- const de_BatchDeleteBillScenarioUsageModificationCommand = async (output, context) => {
657
- if (output.statusCode >= 300) {
658
- return de_CommandError(output, context);
659
- }
660
- const data = await core$1.parseJsonBody(output.body, context);
661
- let contents = {};
662
- contents = smithyClient._json(data);
663
- const response = {
664
- $metadata: deserializeMetadata(output),
665
- ...contents,
666
- };
667
- return response;
668
- };
669
- const de_BatchDeleteWorkloadEstimateUsageCommand = async (output, context) => {
670
- if (output.statusCode >= 300) {
671
- return de_CommandError(output, context);
672
- }
673
- const data = await core$1.parseJsonBody(output.body, context);
674
- let contents = {};
675
- contents = smithyClient._json(data);
676
- const response = {
677
- $metadata: deserializeMetadata(output),
678
- ...contents,
679
- };
680
- return response;
681
- };
682
- const de_BatchUpdateBillScenarioCommitmentModificationCommand = async (output, context) => {
683
- if (output.statusCode >= 300) {
684
- return de_CommandError(output, context);
685
- }
686
- const data = await core$1.parseJsonBody(output.body, context);
687
- let contents = {};
688
- contents = de_BatchUpdateBillScenarioCommitmentModificationResponse(data);
689
- const response = {
690
- $metadata: deserializeMetadata(output),
691
- ...contents,
692
- };
693
- return response;
694
- };
695
- const de_BatchUpdateBillScenarioUsageModificationCommand = async (output, context) => {
696
- if (output.statusCode >= 300) {
697
- return de_CommandError(output, context);
698
- }
699
- const data = await core$1.parseJsonBody(output.body, context);
700
- let contents = {};
701
- contents = de_BatchUpdateBillScenarioUsageModificationResponse(data);
702
- const response = {
703
- $metadata: deserializeMetadata(output),
704
- ...contents,
705
- };
706
- return response;
707
- };
708
- const de_BatchUpdateWorkloadEstimateUsageCommand = async (output, context) => {
709
- if (output.statusCode >= 300) {
710
- return de_CommandError(output, context);
711
- }
712
- const data = await core$1.parseJsonBody(output.body, context);
713
- let contents = {};
714
- contents = de_BatchUpdateWorkloadEstimateUsageResponse(data);
715
- const response = {
716
- $metadata: deserializeMetadata(output),
717
- ...contents,
718
- };
719
- return response;
720
- };
721
- const de_CreateBillEstimateCommand = async (output, context) => {
722
- if (output.statusCode >= 300) {
723
- return de_CommandError(output, context);
724
- }
725
- const data = await core$1.parseJsonBody(output.body, context);
726
- let contents = {};
727
- contents = de_CreateBillEstimateResponse(data);
728
- const response = {
729
- $metadata: deserializeMetadata(output),
730
- ...contents,
731
- };
732
- return response;
733
- };
734
- const de_CreateBillScenarioCommand = async (output, context) => {
735
- if (output.statusCode >= 300) {
736
- return de_CommandError(output, context);
737
- }
738
- const data = await core$1.parseJsonBody(output.body, context);
739
- let contents = {};
740
- contents = de_CreateBillScenarioResponse(data);
741
- const response = {
742
- $metadata: deserializeMetadata(output),
743
- ...contents,
744
- };
745
- return response;
746
- };
747
- const de_CreateWorkloadEstimateCommand = async (output, context) => {
748
- if (output.statusCode >= 300) {
749
- return de_CommandError(output, context);
750
- }
751
- const data = await core$1.parseJsonBody(output.body, context);
752
- let contents = {};
753
- contents = de_CreateWorkloadEstimateResponse(data);
754
- const response = {
755
- $metadata: deserializeMetadata(output),
756
- ...contents,
757
- };
758
- return response;
759
- };
760
- const de_DeleteBillEstimateCommand = async (output, context) => {
761
- if (output.statusCode >= 300) {
762
- return de_CommandError(output, context);
763
- }
764
- const data = await core$1.parseJsonBody(output.body, context);
765
- let contents = {};
766
- contents = smithyClient._json(data);
767
- const response = {
768
- $metadata: deserializeMetadata(output),
769
- ...contents,
770
- };
771
- return response;
772
- };
773
- const de_DeleteBillScenarioCommand = async (output, context) => {
774
- if (output.statusCode >= 300) {
775
- return de_CommandError(output, context);
776
- }
777
- const data = await core$1.parseJsonBody(output.body, context);
778
- let contents = {};
779
- contents = smithyClient._json(data);
780
- const response = {
781
- $metadata: deserializeMetadata(output),
782
- ...contents,
783
- };
784
- return response;
785
- };
786
- const de_DeleteWorkloadEstimateCommand = async (output, context) => {
787
- if (output.statusCode >= 300) {
788
- return de_CommandError(output, context);
789
- }
790
- const data = await core$1.parseJsonBody(output.body, context);
791
- let contents = {};
792
- contents = smithyClient._json(data);
793
- const response = {
794
- $metadata: deserializeMetadata(output),
795
- ...contents,
796
- };
797
- return response;
798
- };
799
- const de_GetBillEstimateCommand = async (output, context) => {
800
- if (output.statusCode >= 300) {
801
- return de_CommandError(output, context);
802
- }
803
- const data = await core$1.parseJsonBody(output.body, context);
804
- let contents = {};
805
- contents = de_GetBillEstimateResponse(data);
806
- const response = {
807
- $metadata: deserializeMetadata(output),
808
- ...contents,
809
- };
810
- return response;
811
- };
812
- const de_GetBillScenarioCommand = async (output, context) => {
813
- if (output.statusCode >= 300) {
814
- return de_CommandError(output, context);
815
- }
816
- const data = await core$1.parseJsonBody(output.body, context);
817
- let contents = {};
818
- contents = de_GetBillScenarioResponse(data);
819
- const response = {
820
- $metadata: deserializeMetadata(output),
821
- ...contents,
822
- };
823
- return response;
824
- };
825
- const de_GetPreferencesCommand = async (output, context) => {
826
- if (output.statusCode >= 300) {
827
- return de_CommandError(output, context);
828
- }
829
- const data = await core$1.parseJsonBody(output.body, context);
830
- let contents = {};
831
- contents = smithyClient._json(data);
832
- const response = {
833
- $metadata: deserializeMetadata(output),
834
- ...contents,
835
- };
836
- return response;
837
- };
838
- const de_GetWorkloadEstimateCommand = async (output, context) => {
839
- if (output.statusCode >= 300) {
840
- return de_CommandError(output, context);
841
- }
842
- const data = await core$1.parseJsonBody(output.body, context);
843
- let contents = {};
844
- contents = de_GetWorkloadEstimateResponse(data);
845
- const response = {
846
- $metadata: deserializeMetadata(output),
847
- ...contents,
848
- };
849
- return response;
850
- };
851
- const de_ListBillEstimateCommitmentsCommand = async (output, context) => {
852
- if (output.statusCode >= 300) {
853
- return de_CommandError(output, context);
854
- }
855
- const data = await core$1.parseJsonBody(output.body, context);
856
- let contents = {};
857
- contents = de_ListBillEstimateCommitmentsResponse(data);
858
- const response = {
859
- $metadata: deserializeMetadata(output),
860
- ...contents,
861
- };
862
- return response;
863
- };
864
- const de_ListBillEstimateInputCommitmentModificationsCommand = async (output, context) => {
865
- if (output.statusCode >= 300) {
866
- return de_CommandError(output, context);
867
- }
868
- const data = await core$1.parseJsonBody(output.body, context);
869
- let contents = {};
870
- contents = de_ListBillEstimateInputCommitmentModificationsResponse(data);
871
- const response = {
872
- $metadata: deserializeMetadata(output),
873
- ...contents,
874
- };
875
- return response;
876
- };
877
- const de_ListBillEstimateInputUsageModificationsCommand = async (output, context) => {
878
- if (output.statusCode >= 300) {
879
- return de_CommandError(output, context);
880
- }
881
- const data = await core$1.parseJsonBody(output.body, context);
882
- let contents = {};
883
- contents = de_ListBillEstimateInputUsageModificationsResponse(data);
884
- const response = {
885
- $metadata: deserializeMetadata(output),
886
- ...contents,
887
- };
888
- return response;
889
- };
890
- const de_ListBillEstimateLineItemsCommand = async (output, context) => {
891
- if (output.statusCode >= 300) {
892
- return de_CommandError(output, context);
893
- }
894
- const data = await core$1.parseJsonBody(output.body, context);
895
- let contents = {};
896
- contents = de_ListBillEstimateLineItemsResponse(data);
897
- const response = {
898
- $metadata: deserializeMetadata(output),
899
- ...contents,
900
- };
901
- return response;
902
- };
903
- const de_ListBillEstimatesCommand = async (output, context) => {
904
- if (output.statusCode >= 300) {
905
- return de_CommandError(output, context);
906
- }
907
- const data = await core$1.parseJsonBody(output.body, context);
908
- let contents = {};
909
- contents = de_ListBillEstimatesResponse(data);
910
- const response = {
911
- $metadata: deserializeMetadata(output),
912
- ...contents,
913
- };
914
- return response;
915
- };
916
- const de_ListBillScenarioCommitmentModificationsCommand = async (output, context) => {
917
- if (output.statusCode >= 300) {
918
- return de_CommandError(output, context);
919
- }
920
- const data = await core$1.parseJsonBody(output.body, context);
921
- let contents = {};
922
- contents = de_ListBillScenarioCommitmentModificationsResponse(data);
923
- const response = {
924
- $metadata: deserializeMetadata(output),
925
- ...contents,
926
- };
927
- return response;
928
- };
929
- const de_ListBillScenariosCommand = async (output, context) => {
930
- if (output.statusCode >= 300) {
931
- return de_CommandError(output, context);
932
- }
933
- const data = await core$1.parseJsonBody(output.body, context);
934
- let contents = {};
935
- contents = de_ListBillScenariosResponse(data);
936
- const response = {
937
- $metadata: deserializeMetadata(output),
938
- ...contents,
939
- };
940
- return response;
941
- };
942
- const de_ListBillScenarioUsageModificationsCommand = async (output, context) => {
943
- if (output.statusCode >= 300) {
944
- return de_CommandError(output, context);
945
- }
946
- const data = await core$1.parseJsonBody(output.body, context);
947
- let contents = {};
948
- contents = de_ListBillScenarioUsageModificationsResponse(data);
949
- const response = {
950
- $metadata: deserializeMetadata(output),
951
- ...contents,
952
- };
953
- return response;
954
- };
955
- const de_ListTagsForResourceCommand = async (output, context) => {
956
- if (output.statusCode >= 300) {
957
- return de_CommandError(output, context);
958
- }
959
- const data = await core$1.parseJsonBody(output.body, context);
960
- let contents = {};
961
- contents = smithyClient._json(data);
962
- const response = {
963
- $metadata: deserializeMetadata(output),
964
- ...contents,
965
- };
966
- return response;
967
- };
968
- const de_ListWorkloadEstimatesCommand = async (output, context) => {
969
- if (output.statusCode >= 300) {
970
- return de_CommandError(output, context);
971
- }
972
- const data = await core$1.parseJsonBody(output.body, context);
973
- let contents = {};
974
- contents = de_ListWorkloadEstimatesResponse(data);
975
- const response = {
976
- $metadata: deserializeMetadata(output),
977
- ...contents,
978
- };
979
- return response;
980
- };
981
- const de_ListWorkloadEstimateUsageCommand = async (output, context) => {
982
- if (output.statusCode >= 300) {
983
- return de_CommandError(output, context);
984
- }
985
- const data = await core$1.parseJsonBody(output.body, context);
986
- let contents = {};
987
- contents = de_ListWorkloadEstimateUsageResponse(data);
988
- const response = {
989
- $metadata: deserializeMetadata(output),
990
- ...contents,
991
- };
992
- return response;
993
- };
994
- const de_TagResourceCommand = async (output, context) => {
995
- if (output.statusCode >= 300) {
996
- return de_CommandError(output, context);
997
- }
998
- const data = await core$1.parseJsonBody(output.body, context);
999
- let contents = {};
1000
- contents = smithyClient._json(data);
1001
- const response = {
1002
- $metadata: deserializeMetadata(output),
1003
- ...contents,
1004
- };
1005
- return response;
1006
- };
1007
- const de_UntagResourceCommand = async (output, context) => {
1008
- if (output.statusCode >= 300) {
1009
- return de_CommandError(output, context);
1010
- }
1011
- const data = await core$1.parseJsonBody(output.body, context);
1012
- let contents = {};
1013
- contents = smithyClient._json(data);
1014
- const response = {
1015
- $metadata: deserializeMetadata(output),
1016
- ...contents,
1017
- };
1018
- return response;
1019
- };
1020
- const de_UpdateBillEstimateCommand = async (output, context) => {
1021
- if (output.statusCode >= 300) {
1022
- return de_CommandError(output, context);
1023
- }
1024
- const data = await core$1.parseJsonBody(output.body, context);
1025
- let contents = {};
1026
- contents = de_UpdateBillEstimateResponse(data);
1027
- const response = {
1028
- $metadata: deserializeMetadata(output),
1029
- ...contents,
1030
- };
1031
- return response;
1032
- };
1033
- const de_UpdateBillScenarioCommand = async (output, context) => {
1034
- if (output.statusCode >= 300) {
1035
- return de_CommandError(output, context);
1036
- }
1037
- const data = await core$1.parseJsonBody(output.body, context);
1038
- let contents = {};
1039
- contents = de_UpdateBillScenarioResponse(data);
1040
- const response = {
1041
- $metadata: deserializeMetadata(output),
1042
- ...contents,
1043
- };
1044
- return response;
1045
- };
1046
- const de_UpdatePreferencesCommand = async (output, context) => {
1047
- if (output.statusCode >= 300) {
1048
- return de_CommandError(output, context);
1049
- }
1050
- const data = await core$1.parseJsonBody(output.body, context);
1051
- let contents = {};
1052
- contents = smithyClient._json(data);
1053
- const response = {
1054
- $metadata: deserializeMetadata(output),
1055
- ...contents,
1056
- };
1057
- return response;
1058
- };
1059
- const de_UpdateWorkloadEstimateCommand = async (output, context) => {
1060
- if (output.statusCode >= 300) {
1061
- return de_CommandError(output, context);
1062
- }
1063
- const data = await core$1.parseJsonBody(output.body, context);
1064
- let contents = {};
1065
- contents = de_UpdateWorkloadEstimateResponse(data);
1066
- const response = {
1067
- $metadata: deserializeMetadata(output),
1068
- ...contents,
1069
- };
1070
- return response;
1071
- };
1072
- const de_CommandError = async (output, context) => {
1073
- const parsedOutput = {
1074
- ...output,
1075
- body: await core$1.parseJsonErrorBody(output.body, context),
1076
- };
1077
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
1078
- switch (errorCode) {
1079
- case "AccessDeniedException":
1080
- case "com.amazonaws.bcmpricingcalculator#AccessDeniedException":
1081
- throw await de_AccessDeniedExceptionRes(parsedOutput);
1082
- case "ConflictException":
1083
- case "com.amazonaws.bcmpricingcalculator#ConflictException":
1084
- throw await de_ConflictExceptionRes(parsedOutput);
1085
- case "DataUnavailableException":
1086
- case "com.amazonaws.bcmpricingcalculator#DataUnavailableException":
1087
- throw await de_DataUnavailableExceptionRes(parsedOutput);
1088
- case "InternalServerException":
1089
- case "com.amazonaws.bcmpricingcalculator#InternalServerException":
1090
- throw await de_InternalServerExceptionRes(parsedOutput);
1091
- case "ResourceNotFoundException":
1092
- case "com.amazonaws.bcmpricingcalculator#ResourceNotFoundException":
1093
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
1094
- case "ThrottlingException":
1095
- case "com.amazonaws.bcmpricingcalculator#ThrottlingException":
1096
- throw await de_ThrottlingExceptionRes(parsedOutput);
1097
- case "ValidationException":
1098
- case "com.amazonaws.bcmpricingcalculator#ValidationException":
1099
- throw await de_ValidationExceptionRes(parsedOutput);
1100
- case "ServiceQuotaExceededException":
1101
- case "com.amazonaws.bcmpricingcalculator#ServiceQuotaExceededException":
1102
- throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
1103
- default:
1104
- const parsedBody = parsedOutput.body;
1105
- return throwDefaultError({
1106
- output,
1107
- parsedBody,
1108
- errorCode,
1109
- });
1110
- }
1111
- };
1112
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1113
- const body = parsedOutput.body;
1114
- const deserialized = smithyClient._json(body);
1115
- const exception = new AccessDeniedException({
1116
- $metadata: deserializeMetadata(parsedOutput),
1117
- ...deserialized,
1118
- });
1119
- return smithyClient.decorateServiceException(exception, body);
1120
- };
1121
- const de_ConflictExceptionRes = async (parsedOutput, context) => {
1122
- const body = parsedOutput.body;
1123
- const deserialized = smithyClient._json(body);
1124
- const exception = new ConflictException({
1125
- $metadata: deserializeMetadata(parsedOutput),
1126
- ...deserialized,
1127
- });
1128
- return smithyClient.decorateServiceException(exception, body);
1129
- };
1130
- const de_DataUnavailableExceptionRes = async (parsedOutput, context) => {
1131
- const body = parsedOutput.body;
1132
- const deserialized = smithyClient._json(body);
1133
- const exception = new DataUnavailableException({
1134
- $metadata: deserializeMetadata(parsedOutput),
1135
- ...deserialized,
1136
- });
1137
- return smithyClient.decorateServiceException(exception, body);
1138
- };
1139
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
1140
- const body = parsedOutput.body;
1141
- const deserialized = smithyClient._json(body);
1142
- const exception = new InternalServerException({
1143
- $metadata: deserializeMetadata(parsedOutput),
1144
- ...deserialized,
1145
- });
1146
- return smithyClient.decorateServiceException(exception, body);
1147
- };
1148
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1149
- const body = parsedOutput.body;
1150
- const deserialized = smithyClient._json(body);
1151
- const exception = new ResourceNotFoundException({
1152
- $metadata: deserializeMetadata(parsedOutput),
1153
- ...deserialized,
1154
- });
1155
- return smithyClient.decorateServiceException(exception, body);
1156
- };
1157
- const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
1158
- const body = parsedOutput.body;
1159
- const deserialized = smithyClient._json(body);
1160
- const exception = new ServiceQuotaExceededException({
1161
- $metadata: deserializeMetadata(parsedOutput),
1162
- ...deserialized,
1163
- });
1164
- return smithyClient.decorateServiceException(exception, body);
1165
- };
1166
- const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1167
- const body = parsedOutput.body;
1168
- const deserialized = smithyClient._json(body);
1169
- const exception = new ThrottlingException({
1170
- $metadata: deserializeMetadata(parsedOutput),
1171
- ...deserialized,
1172
- });
1173
- return smithyClient.decorateServiceException(exception, body);
1174
- };
1175
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
1176
- const body = parsedOutput.body;
1177
- const deserialized = smithyClient._json(body);
1178
- const exception = new ValidationException({
1179
- $metadata: deserializeMetadata(parsedOutput),
1180
- ...deserialized,
1181
- });
1182
- return smithyClient.decorateServiceException(exception, body);
1183
- };
1184
- const se_AddSavingsPlanAction = (input, context) => {
1185
- return smithyClient.take(input, {
1186
- commitment: smithyClient.serializeFloat,
1187
- savingsPlanOfferingId: [],
1188
- });
1189
- };
1190
- const se_BatchCreateBillScenarioCommitmentModificationEntries = (input, context) => {
1191
- return input
1192
- .filter((e) => e != null)
1193
- .map((entry) => {
1194
- return se_BatchCreateBillScenarioCommitmentModificationEntry(entry);
1195
- });
1196
- };
1197
- const se_BatchCreateBillScenarioCommitmentModificationEntry = (input, context) => {
1198
- return smithyClient.take(input, {
1199
- commitmentAction: (_) => se_BillScenarioCommitmentModificationAction(_),
1200
- group: [],
1201
- key: [],
1202
- usageAccountId: [],
1203
- });
1204
- };
1205
- const se_BatchCreateBillScenarioCommitmentModificationRequest = (input, context) => {
1206
- return smithyClient.take(input, {
1207
- billScenarioId: [],
1208
- clientToken: [true, (_) => _ ?? uuid.v4()],
1209
- commitmentModifications: (_) => se_BatchCreateBillScenarioCommitmentModificationEntries(_),
1210
- });
1211
- };
1212
- const se_BatchCreateBillScenarioUsageModificationEntries = (input, context) => {
1213
- return input
1214
- .filter((e) => e != null)
1215
- .map((entry) => {
1216
- return se_BatchCreateBillScenarioUsageModificationEntry(entry);
1217
- });
1218
- };
1219
- const se_BatchCreateBillScenarioUsageModificationEntry = (input, context) => {
1220
- return smithyClient.take(input, {
1221
- amounts: (_) => se_UsageAmounts(_),
1222
- availabilityZone: [],
1223
- group: [],
1224
- historicalUsage: (_) => se_HistoricalUsageEntity(_),
1225
- key: [],
1226
- operation: [],
1227
- serviceCode: [],
1228
- usageAccountId: [],
1229
- usageType: [],
1230
- });
1231
- };
1232
- const se_BatchCreateBillScenarioUsageModificationRequest = (input, context) => {
1233
- return smithyClient.take(input, {
1234
- billScenarioId: [],
1235
- clientToken: [true, (_) => _ ?? uuid.v4()],
1236
- usageModifications: (_) => se_BatchCreateBillScenarioUsageModificationEntries(_),
1237
- });
1238
- };
1239
- const se_BatchCreateWorkloadEstimateUsageEntries = (input, context) => {
1240
- return input
1241
- .filter((e) => e != null)
1242
- .map((entry) => {
1243
- return se_BatchCreateWorkloadEstimateUsageEntry(entry);
1244
- });
1245
- };
1246
- const se_BatchCreateWorkloadEstimateUsageEntry = (input, context) => {
1247
- return smithyClient.take(input, {
1248
- amount: smithyClient.serializeFloat,
1249
- group: [],
1250
- historicalUsage: (_) => se_HistoricalUsageEntity(_),
1251
- key: [],
1252
- operation: [],
1253
- serviceCode: [],
1254
- usageAccountId: [],
1255
- usageType: [],
1256
- });
1257
- };
1258
- const se_BatchCreateWorkloadEstimateUsageRequest = (input, context) => {
1259
- return smithyClient.take(input, {
1260
- clientToken: [true, (_) => _ ?? uuid.v4()],
1261
- usage: (_) => se_BatchCreateWorkloadEstimateUsageEntries(_),
1262
- workloadEstimateId: [],
1263
- });
1264
- };
1265
- const se_BatchUpdateBillScenarioUsageModificationEntries = (input, context) => {
1266
- return input
1267
- .filter((e) => e != null)
1268
- .map((entry) => {
1269
- return se_BatchUpdateBillScenarioUsageModificationEntry(entry);
1270
- });
1271
- };
1272
- const se_BatchUpdateBillScenarioUsageModificationEntry = (input, context) => {
1273
- return smithyClient.take(input, {
1274
- amounts: (_) => se_UsageAmounts(_),
1275
- group: [],
1276
- id: [],
1277
- });
1278
- };
1279
- const se_BatchUpdateBillScenarioUsageModificationRequest = (input, context) => {
1280
- return smithyClient.take(input, {
1281
- billScenarioId: [],
1282
- usageModifications: (_) => se_BatchUpdateBillScenarioUsageModificationEntries(_),
1283
- });
1284
- };
1285
- const se_BatchUpdateWorkloadEstimateUsageEntries = (input, context) => {
1286
- return input
1287
- .filter((e) => e != null)
1288
- .map((entry) => {
1289
- return se_BatchUpdateWorkloadEstimateUsageEntry(entry);
1290
- });
1291
- };
1292
- const se_BatchUpdateWorkloadEstimateUsageEntry = (input, context) => {
1293
- return smithyClient.take(input, {
1294
- amount: smithyClient.serializeFloat,
1295
- group: [],
1296
- id: [],
1297
- });
1298
- };
1299
- const se_BatchUpdateWorkloadEstimateUsageRequest = (input, context) => {
1300
- return smithyClient.take(input, {
1301
- usage: (_) => se_BatchUpdateWorkloadEstimateUsageEntries(_),
1302
- workloadEstimateId: [],
1303
- });
1304
- };
1305
- const se_BillInterval = (input, context) => {
1306
- return smithyClient.take(input, {
1307
- end: (_) => _.getTime() / 1_000,
1308
- start: (_) => _.getTime() / 1_000,
1309
- });
1310
- };
1311
- const se_BillScenarioCommitmentModificationAction = (input, context) => {
1312
- return exports.BillScenarioCommitmentModificationAction.visit(input, {
1313
- addReservedInstanceAction: (value) => ({ addReservedInstanceAction: smithyClient._json(value) }),
1314
- addSavingsPlanAction: (value) => ({ addSavingsPlanAction: se_AddSavingsPlanAction(value) }),
1315
- negateReservedInstanceAction: (value) => ({ negateReservedInstanceAction: smithyClient._json(value) }),
1316
- negateSavingsPlanAction: (value) => ({ negateSavingsPlanAction: smithyClient._json(value) }),
1317
- _: (name, value) => ({ [name]: value }),
1318
- });
1319
- };
1320
- const se_CreateBillEstimateRequest = (input, context) => {
1321
- return smithyClient.take(input, {
1322
- billScenarioId: [],
1323
- clientToken: [true, (_) => _ ?? uuid.v4()],
1324
- name: [],
1325
- tags: smithyClient._json,
1326
- });
1327
- };
1328
- const se_CreateBillScenarioRequest = (input, context) => {
1329
- return smithyClient.take(input, {
1330
- clientToken: [true, (_) => _ ?? uuid.v4()],
1331
- name: [],
1332
- tags: smithyClient._json,
1333
- });
1334
- };
1335
- const se_CreateWorkloadEstimateRequest = (input, context) => {
1336
- return smithyClient.take(input, {
1337
- clientToken: [true, (_) => _ ?? uuid.v4()],
1338
- name: [],
1339
- rateType: [],
1340
- tags: smithyClient._json,
1341
- });
1342
- };
1343
- const se_Expression = (input, context) => {
1344
- return smithyClient.take(input, {
1345
- and: (_) => se_ExpressionList(_),
1346
- costCategories: smithyClient._json,
1347
- dimensions: smithyClient._json,
1348
- not: (_) => se_Expression(_),
1349
- or: (_) => se_ExpressionList(_),
1350
- tags: smithyClient._json,
1351
- });
1352
- };
1353
- const se_ExpressionList = (input, context) => {
1354
- return input
1355
- .filter((e) => e != null)
1356
- .map((entry) => {
1357
- return se_Expression(entry);
1358
- });
1359
- };
1360
- const se_FilterTimestamp = (input, context) => {
1361
- return smithyClient.take(input, {
1362
- afterTimestamp: (_) => _.getTime() / 1_000,
1363
- beforeTimestamp: (_) => _.getTime() / 1_000,
1364
- });
1365
- };
1366
- const se_HistoricalUsageEntity = (input, context) => {
1367
- return smithyClient.take(input, {
1368
- billInterval: (_) => se_BillInterval(_),
1369
- filterExpression: (_) => se_Expression(_),
1370
- location: [],
1371
- operation: [],
1372
- serviceCode: [],
1373
- usageAccountId: [],
1374
- usageType: [],
1375
- });
1376
- };
1377
- const se_ListBillEstimatesRequest = (input, context) => {
1378
- return smithyClient.take(input, {
1379
- createdAtFilter: (_) => se_FilterTimestamp(_),
1380
- expiresAtFilter: (_) => se_FilterTimestamp(_),
1381
- filters: smithyClient._json,
1382
- maxResults: [],
1383
- nextToken: [],
1384
- });
1385
- };
1386
- const se_ListBillScenariosRequest = (input, context) => {
1387
- return smithyClient.take(input, {
1388
- createdAtFilter: (_) => se_FilterTimestamp(_),
1389
- expiresAtFilter: (_) => se_FilterTimestamp(_),
1390
- filters: smithyClient._json,
1391
- maxResults: [],
1392
- nextToken: [],
1393
- });
1394
- };
1395
- const se_ListWorkloadEstimatesRequest = (input, context) => {
1396
- return smithyClient.take(input, {
1397
- createdAtFilter: (_) => se_FilterTimestamp(_),
1398
- expiresAtFilter: (_) => se_FilterTimestamp(_),
1399
- filters: smithyClient._json,
1400
- maxResults: [],
1401
- nextToken: [],
1402
- });
1403
- };
1404
- const se_UpdateBillEstimateRequest = (input, context) => {
1405
- return smithyClient.take(input, {
1406
- expiresAt: (_) => _.getTime() / 1_000,
1407
- identifier: [],
1408
- name: [],
1409
- });
1410
- };
1411
- const se_UpdateBillScenarioRequest = (input, context) => {
1412
- return smithyClient.take(input, {
1413
- expiresAt: (_) => _.getTime() / 1_000,
1414
- identifier: [],
1415
- name: [],
1416
- });
1417
- };
1418
- const se_UpdateWorkloadEstimateRequest = (input, context) => {
1419
- return smithyClient.take(input, {
1420
- expiresAt: (_) => _.getTime() / 1_000,
1421
- identifier: [],
1422
- name: [],
1423
- });
1424
- };
1425
- const se_UsageAmount = (input, context) => {
1426
- return smithyClient.take(input, {
1427
- amount: smithyClient.serializeFloat,
1428
- startHour: (_) => _.getTime() / 1_000,
1429
- });
1430
- };
1431
- const se_UsageAmounts = (input, context) => {
1432
- return input
1433
- .filter((e) => e != null)
1434
- .map((entry) => {
1435
- return se_UsageAmount(entry);
1436
- });
1437
- };
1438
- const de_AddSavingsPlanAction = (output, context) => {
1439
- return smithyClient.take(output, {
1440
- commitment: smithyClient.limitedParseDouble,
1441
- savingsPlanOfferingId: smithyClient.expectString,
1442
- });
1443
- };
1444
- const de_BatchCreateBillScenarioCommitmentModificationItem = (output, context) => {
1445
- return smithyClient.take(output, {
1446
- commitmentAction: (_) => de_BillScenarioCommitmentModificationAction(core$1.awsExpectUnion(_)),
1447
- group: smithyClient.expectString,
1448
- id: smithyClient.expectString,
1449
- key: smithyClient.expectString,
1450
- usageAccountId: smithyClient.expectString,
1451
- });
1452
- };
1453
- const de_BatchCreateBillScenarioCommitmentModificationItems = (output, context) => {
1454
- const retVal = (output || [])
1455
- .filter((e) => e != null)
1456
- .map((entry) => {
1457
- return de_BatchCreateBillScenarioCommitmentModificationItem(entry);
1458
- });
1459
- return retVal;
1460
- };
1461
- const de_BatchCreateBillScenarioCommitmentModificationResponse = (output, context) => {
1462
- return smithyClient.take(output, {
1463
- errors: smithyClient._json,
1464
- items: (_) => de_BatchCreateBillScenarioCommitmentModificationItems(_),
1465
- });
1466
- };
1467
- const de_BatchCreateBillScenarioUsageModificationItem = (output, context) => {
1468
- return smithyClient.take(output, {
1469
- availabilityZone: smithyClient.expectString,
1470
- group: smithyClient.expectString,
1471
- historicalUsage: (_) => de_HistoricalUsageEntity(_),
1472
- id: smithyClient.expectString,
1473
- key: smithyClient.expectString,
1474
- location: smithyClient.expectString,
1475
- operation: smithyClient.expectString,
1476
- quantities: (_) => de_UsageQuantities(_),
1477
- serviceCode: smithyClient.expectString,
1478
- usageAccountId: smithyClient.expectString,
1479
- usageType: smithyClient.expectString,
1480
- });
1481
- };
1482
- const de_BatchCreateBillScenarioUsageModificationItems = (output, context) => {
1483
- const retVal = (output || [])
1484
- .filter((e) => e != null)
1485
- .map((entry) => {
1486
- return de_BatchCreateBillScenarioUsageModificationItem(entry);
1487
- });
1488
- return retVal;
1489
- };
1490
- const de_BatchCreateBillScenarioUsageModificationResponse = (output, context) => {
1491
- return smithyClient.take(output, {
1492
- errors: smithyClient._json,
1493
- items: (_) => de_BatchCreateBillScenarioUsageModificationItems(_),
1494
- });
1495
- };
1496
- const de_BatchCreateWorkloadEstimateUsageItem = (output, context) => {
1497
- return smithyClient.take(output, {
1498
- cost: smithyClient.limitedParseDouble,
1499
- currency: smithyClient.expectString,
1500
- group: smithyClient.expectString,
1501
- historicalUsage: (_) => de_HistoricalUsageEntity(_),
1502
- id: smithyClient.expectString,
1503
- key: smithyClient.expectString,
1504
- location: smithyClient.expectString,
1505
- operation: smithyClient.expectString,
1506
- quantity: (_) => de_WorkloadEstimateUsageQuantity(_),
1507
- serviceCode: smithyClient.expectString,
1508
- status: smithyClient.expectString,
1509
- usageAccountId: smithyClient.expectString,
1510
- usageType: smithyClient.expectString,
1511
- });
1512
- };
1513
- const de_BatchCreateWorkloadEstimateUsageItems = (output, context) => {
1514
- const retVal = (output || [])
1515
- .filter((e) => e != null)
1516
- .map((entry) => {
1517
- return de_BatchCreateWorkloadEstimateUsageItem(entry);
1518
- });
1519
- return retVal;
1520
- };
1521
- const de_BatchCreateWorkloadEstimateUsageResponse = (output, context) => {
1522
- return smithyClient.take(output, {
1523
- errors: smithyClient._json,
1524
- items: (_) => de_BatchCreateWorkloadEstimateUsageItems(_),
1525
- });
1526
- };
1527
- const de_BatchUpdateBillScenarioCommitmentModificationResponse = (output, context) => {
1528
- return smithyClient.take(output, {
1529
- errors: smithyClient._json,
1530
- items: (_) => de_BillScenarioCommitmentModificationItems(_),
1531
- });
1532
- };
1533
- const de_BatchUpdateBillScenarioUsageModificationResponse = (output, context) => {
1534
- return smithyClient.take(output, {
1535
- errors: smithyClient._json,
1536
- items: (_) => de_BillScenarioUsageModificationItems(_),
1537
- });
1538
- };
1539
- const de_BatchUpdateWorkloadEstimateUsageResponse = (output, context) => {
1540
- return smithyClient.take(output, {
1541
- errors: smithyClient._json,
1542
- items: (_) => de_WorkloadEstimateUsageItems(_),
1543
- });
1544
- };
1545
- const de_BillEstimateCommitmentSummaries = (output, context) => {
1546
- const retVal = (output || [])
1547
- .filter((e) => e != null)
1548
- .map((entry) => {
1549
- return de_BillEstimateCommitmentSummary(entry);
1550
- });
1551
- return retVal;
1552
- };
1553
- const de_BillEstimateCommitmentSummary = (output, context) => {
1554
- return smithyClient.take(output, {
1555
- id: smithyClient.expectString,
1556
- monthlyPayment: (_) => de_CostAmount(_),
1557
- offeringId: smithyClient.expectString,
1558
- paymentOption: smithyClient.expectString,
1559
- purchaseAgreementType: smithyClient.expectString,
1560
- region: smithyClient.expectString,
1561
- termLength: smithyClient.expectString,
1562
- upfrontPayment: (_) => de_CostAmount(_),
1563
- usageAccountId: smithyClient.expectString,
1564
- });
1565
- };
1566
- const de_BillEstimateCostSummary = (output, context) => {
1567
- return smithyClient.take(output, {
1568
- serviceCostDifferences: (_) => de_ServiceCostDifferenceMap(_),
1569
- totalCostDifference: (_) => de_CostDifference(_),
1570
- });
1571
- };
1572
- const de_BillEstimateInputCommitmentModificationSummaries = (output, context) => {
1573
- const retVal = (output || [])
1574
- .filter((e) => e != null)
1575
- .map((entry) => {
1576
- return de_BillEstimateInputCommitmentModificationSummary(entry);
1577
- });
1578
- return retVal;
1579
- };
1580
- const de_BillEstimateInputCommitmentModificationSummary = (output, context) => {
1581
- return smithyClient.take(output, {
1582
- commitmentAction: (_) => de_BillScenarioCommitmentModificationAction(core$1.awsExpectUnion(_)),
1583
- group: smithyClient.expectString,
1584
- id: smithyClient.expectString,
1585
- usageAccountId: smithyClient.expectString,
1586
- });
1587
- };
1588
- const de_BillEstimateInputUsageModificationSummaries = (output, context) => {
1589
- const retVal = (output || [])
1590
- .filter((e) => e != null)
1591
- .map((entry) => {
1592
- return de_BillEstimateInputUsageModificationSummary(entry);
1593
- });
1594
- return retVal;
1595
- };
1596
- const de_BillEstimateInputUsageModificationSummary = (output, context) => {
1597
- return smithyClient.take(output, {
1598
- availabilityZone: smithyClient.expectString,
1599
- group: smithyClient.expectString,
1600
- historicalUsage: (_) => de_HistoricalUsageEntity(_),
1601
- id: smithyClient.expectString,
1602
- location: smithyClient.expectString,
1603
- operation: smithyClient.expectString,
1604
- quantities: (_) => de_UsageQuantities(_),
1605
- serviceCode: smithyClient.expectString,
1606
- usageAccountId: smithyClient.expectString,
1607
- usageType: smithyClient.expectString,
1608
- });
1609
- };
1610
- const de_BillEstimateLineItemSummaries = (output, context) => {
1611
- const retVal = (output || [])
1612
- .filter((e) => e != null)
1613
- .map((entry) => {
1614
- return de_BillEstimateLineItemSummary(entry);
1615
- });
1616
- return retVal;
1617
- };
1618
- const de_BillEstimateLineItemSummary = (output, context) => {
1619
- return smithyClient.take(output, {
1620
- availabilityZone: smithyClient.expectString,
1621
- estimatedCost: (_) => de_CostAmount(_),
1622
- estimatedUsageQuantity: (_) => de_UsageQuantityResult(_),
1623
- historicalCost: (_) => de_CostAmount(_),
1624
- historicalUsageQuantity: (_) => de_UsageQuantityResult(_),
1625
- id: smithyClient.expectString,
1626
- lineItemId: smithyClient.expectString,
1627
- lineItemType: smithyClient.expectString,
1628
- location: smithyClient.expectString,
1629
- operation: smithyClient.expectString,
1630
- payerAccountId: smithyClient.expectString,
1631
- savingsPlanArns: smithyClient._json,
1632
- serviceCode: smithyClient.expectString,
1633
- usageAccountId: smithyClient.expectString,
1634
- usageType: smithyClient.expectString,
1635
- });
1636
- };
1637
- const de_BillEstimateSummaries = (output, context) => {
1638
- const retVal = (output || [])
1639
- .filter((e) => e != null)
1640
- .map((entry) => {
1641
- return de_BillEstimateSummary(entry);
1642
- });
1643
- return retVal;
1644
- };
1645
- const de_BillEstimateSummary = (output, context) => {
1646
- return smithyClient.take(output, {
1647
- billInterval: (_) => de_BillInterval(_),
1648
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1649
- expiresAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1650
- id: smithyClient.expectString,
1651
- name: smithyClient.expectString,
1652
- status: smithyClient.expectString,
1653
- });
1654
- };
1655
- const de_BillInterval = (output, context) => {
1656
- return smithyClient.take(output, {
1657
- end: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1658
- start: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1659
- });
1660
- };
1661
- const de_BillScenarioCommitmentModificationAction = (output, context) => {
1662
- if (output.addReservedInstanceAction != null) {
1663
- return {
1664
- addReservedInstanceAction: smithyClient._json(output.addReservedInstanceAction),
1665
- };
1666
- }
1667
- if (output.addSavingsPlanAction != null) {
1668
- return {
1669
- addSavingsPlanAction: de_AddSavingsPlanAction(output.addSavingsPlanAction),
1670
- };
1671
- }
1672
- if (output.negateReservedInstanceAction != null) {
1673
- return {
1674
- negateReservedInstanceAction: smithyClient._json(output.negateReservedInstanceAction),
1675
- };
1676
- }
1677
- if (output.negateSavingsPlanAction != null) {
1678
- return {
1679
- negateSavingsPlanAction: smithyClient._json(output.negateSavingsPlanAction),
1680
- };
1681
- }
1682
- return { $unknown: Object.entries(output)[0] };
1683
- };
1684
- const de_BillScenarioCommitmentModificationItem = (output, context) => {
1685
- return smithyClient.take(output, {
1686
- commitmentAction: (_) => de_BillScenarioCommitmentModificationAction(core$1.awsExpectUnion(_)),
1687
- group: smithyClient.expectString,
1688
- id: smithyClient.expectString,
1689
- usageAccountId: smithyClient.expectString,
1690
- });
1691
- };
1692
- const de_BillScenarioCommitmentModificationItems = (output, context) => {
1693
- const retVal = (output || [])
1694
- .filter((e) => e != null)
1695
- .map((entry) => {
1696
- return de_BillScenarioCommitmentModificationItem(entry);
1697
- });
1698
- return retVal;
1699
- };
1700
- const de_BillScenarioSummaries = (output, context) => {
1701
- const retVal = (output || [])
1702
- .filter((e) => e != null)
1703
- .map((entry) => {
1704
- return de_BillScenarioSummary(entry);
1705
- });
1706
- return retVal;
1707
- };
1708
- const de_BillScenarioSummary = (output, context) => {
1709
- return smithyClient.take(output, {
1710
- billInterval: (_) => de_BillInterval(_),
1711
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1712
- expiresAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1713
- failureMessage: smithyClient.expectString,
1714
- id: smithyClient.expectString,
1715
- name: smithyClient.expectString,
1716
- status: smithyClient.expectString,
1717
- });
1718
- };
1719
- const de_BillScenarioUsageModificationItem = (output, context) => {
1720
- return smithyClient.take(output, {
1721
- availabilityZone: smithyClient.expectString,
1722
- group: smithyClient.expectString,
1723
- historicalUsage: (_) => de_HistoricalUsageEntity(_),
1724
- id: smithyClient.expectString,
1725
- location: smithyClient.expectString,
1726
- operation: smithyClient.expectString,
1727
- quantities: (_) => de_UsageQuantities(_),
1728
- serviceCode: smithyClient.expectString,
1729
- usageAccountId: smithyClient.expectString,
1730
- usageType: smithyClient.expectString,
1731
- });
1732
- };
1733
- const de_BillScenarioUsageModificationItems = (output, context) => {
1734
- const retVal = (output || [])
1735
- .filter((e) => e != null)
1736
- .map((entry) => {
1737
- return de_BillScenarioUsageModificationItem(entry);
1738
- });
1739
- return retVal;
1740
- };
1741
- const de_CostAmount = (output, context) => {
1742
- return smithyClient.take(output, {
1743
- amount: smithyClient.limitedParseDouble,
1744
- currency: smithyClient.expectString,
1745
- });
1746
- };
1747
- const de_CostDifference = (output, context) => {
1748
- return smithyClient.take(output, {
1749
- estimatedCost: (_) => de_CostAmount(_),
1750
- historicalCost: (_) => de_CostAmount(_),
1751
- });
1752
- };
1753
- const de_CreateBillEstimateResponse = (output, context) => {
1754
- return smithyClient.take(output, {
1755
- billInterval: (_) => de_BillInterval(_),
1756
- costSummary: (_) => de_BillEstimateCostSummary(_),
1757
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1758
- expiresAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1759
- failureMessage: smithyClient.expectString,
1760
- id: smithyClient.expectString,
1761
- name: smithyClient.expectString,
1762
- status: smithyClient.expectString,
1763
- });
1764
- };
1765
- const de_CreateBillScenarioResponse = (output, context) => {
1766
- return smithyClient.take(output, {
1767
- billInterval: (_) => de_BillInterval(_),
1768
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1769
- expiresAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1770
- failureMessage: smithyClient.expectString,
1771
- id: smithyClient.expectString,
1772
- name: smithyClient.expectString,
1773
- status: smithyClient.expectString,
1774
- });
1775
- };
1776
- const de_CreateWorkloadEstimateResponse = (output, context) => {
1777
- return smithyClient.take(output, {
1778
- costCurrency: smithyClient.expectString,
1779
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1780
- expiresAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1781
- failureMessage: smithyClient.expectString,
1782
- id: smithyClient.expectString,
1783
- name: smithyClient.expectString,
1784
- rateTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1785
- rateType: smithyClient.expectString,
1786
- status: smithyClient.expectString,
1787
- totalCost: smithyClient.limitedParseDouble,
1788
- });
1789
- };
1790
- const de_Expression = (output, context) => {
1791
- return smithyClient.take(output, {
1792
- and: (_) => de_ExpressionList(_),
1793
- costCategories: smithyClient._json,
1794
- dimensions: smithyClient._json,
1795
- not: (_) => de_Expression(_),
1796
- or: (_) => de_ExpressionList(_),
1797
- tags: smithyClient._json,
1798
- });
1799
- };
1800
- const de_ExpressionList = (output, context) => {
1801
- const retVal = (output || [])
1802
- .filter((e) => e != null)
1803
- .map((entry) => {
1804
- return de_Expression(entry);
1805
- });
1806
- return retVal;
1807
- };
1808
- const de_GetBillEstimateResponse = (output, context) => {
1809
- return smithyClient.take(output, {
1810
- billInterval: (_) => de_BillInterval(_),
1811
- costSummary: (_) => de_BillEstimateCostSummary(_),
1812
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1813
- expiresAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1814
- failureMessage: smithyClient.expectString,
1815
- id: smithyClient.expectString,
1816
- name: smithyClient.expectString,
1817
- status: smithyClient.expectString,
1818
- });
1819
- };
1820
- const de_GetBillScenarioResponse = (output, context) => {
1821
- return smithyClient.take(output, {
1822
- billInterval: (_) => de_BillInterval(_),
1823
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1824
- expiresAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1825
- failureMessage: smithyClient.expectString,
1826
- id: smithyClient.expectString,
1827
- name: smithyClient.expectString,
1828
- status: smithyClient.expectString,
1829
- });
1830
- };
1831
- const de_GetWorkloadEstimateResponse = (output, context) => {
1832
- return smithyClient.take(output, {
1833
- costCurrency: smithyClient.expectString,
1834
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1835
- expiresAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1836
- failureMessage: smithyClient.expectString,
1837
- id: smithyClient.expectString,
1838
- name: smithyClient.expectString,
1839
- rateTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1840
- rateType: smithyClient.expectString,
1841
- status: smithyClient.expectString,
1842
- totalCost: smithyClient.limitedParseDouble,
1843
- });
1844
- };
1845
- const de_HistoricalUsageEntity = (output, context) => {
1846
- return smithyClient.take(output, {
1847
- billInterval: (_) => de_BillInterval(_),
1848
- filterExpression: (_) => de_Expression(_),
1849
- location: smithyClient.expectString,
1850
- operation: smithyClient.expectString,
1851
- serviceCode: smithyClient.expectString,
1852
- usageAccountId: smithyClient.expectString,
1853
- usageType: smithyClient.expectString,
1854
- });
1855
- };
1856
- const de_ListBillEstimateCommitmentsResponse = (output, context) => {
1857
- return smithyClient.take(output, {
1858
- items: (_) => de_BillEstimateCommitmentSummaries(_),
1859
- nextToken: smithyClient.expectString,
1860
- });
1861
- };
1862
- const de_ListBillEstimateInputCommitmentModificationsResponse = (output, context) => {
1863
- return smithyClient.take(output, {
1864
- items: (_) => de_BillEstimateInputCommitmentModificationSummaries(_),
1865
- nextToken: smithyClient.expectString,
1866
- });
1867
- };
1868
- const de_ListBillEstimateInputUsageModificationsResponse = (output, context) => {
1869
- return smithyClient.take(output, {
1870
- items: (_) => de_BillEstimateInputUsageModificationSummaries(_),
1871
- nextToken: smithyClient.expectString,
1872
- });
1873
- };
1874
- const de_ListBillEstimateLineItemsResponse = (output, context) => {
1875
- return smithyClient.take(output, {
1876
- items: (_) => de_BillEstimateLineItemSummaries(_),
1877
- nextToken: smithyClient.expectString,
1878
- });
1879
- };
1880
- const de_ListBillEstimatesResponse = (output, context) => {
1881
- return smithyClient.take(output, {
1882
- items: (_) => de_BillEstimateSummaries(_),
1883
- nextToken: smithyClient.expectString,
1884
- });
1885
- };
1886
- const de_ListBillScenarioCommitmentModificationsResponse = (output, context) => {
1887
- return smithyClient.take(output, {
1888
- items: (_) => de_BillScenarioCommitmentModificationItems(_),
1889
- nextToken: smithyClient.expectString,
1890
- });
1891
- };
1892
- const de_ListBillScenariosResponse = (output, context) => {
1893
- return smithyClient.take(output, {
1894
- items: (_) => de_BillScenarioSummaries(_),
1895
- nextToken: smithyClient.expectString,
1896
- });
1897
- };
1898
- const de_ListBillScenarioUsageModificationsResponse = (output, context) => {
1899
- return smithyClient.take(output, {
1900
- items: (_) => de_BillScenarioUsageModificationItems(_),
1901
- nextToken: smithyClient.expectString,
1902
- });
1903
- };
1904
- const de_ListWorkloadEstimatesResponse = (output, context) => {
1905
- return smithyClient.take(output, {
1906
- items: (_) => de_WorkloadEstimateSummaries(_),
1907
- nextToken: smithyClient.expectString,
1908
- });
1909
- };
1910
- const de_ListWorkloadEstimateUsageResponse = (output, context) => {
1911
- return smithyClient.take(output, {
1912
- items: (_) => de_WorkloadEstimateUsageItems(_),
1913
- nextToken: smithyClient.expectString,
1914
- });
1915
- };
1916
- const de_ServiceCostDifferenceMap = (output, context) => {
1917
- return Object.entries(output).reduce((acc, [key, value]) => {
1918
- if (value === null) {
1919
- return acc;
1920
- }
1921
- acc[key] = de_CostDifference(value);
1922
- return acc;
1923
- }, {});
1924
- };
1925
- const de_UpdateBillEstimateResponse = (output, context) => {
1926
- return smithyClient.take(output, {
1927
- billInterval: (_) => de_BillInterval(_),
1928
- costSummary: (_) => de_BillEstimateCostSummary(_),
1929
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1930
- expiresAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1931
- failureMessage: smithyClient.expectString,
1932
- id: smithyClient.expectString,
1933
- name: smithyClient.expectString,
1934
- status: smithyClient.expectString,
1935
- });
1936
- };
1937
- const de_UpdateBillScenarioResponse = (output, context) => {
1938
- return smithyClient.take(output, {
1939
- billInterval: (_) => de_BillInterval(_),
1940
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1941
- expiresAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1942
- failureMessage: smithyClient.expectString,
1943
- id: smithyClient.expectString,
1944
- name: smithyClient.expectString,
1945
- status: smithyClient.expectString,
1946
- });
1947
- };
1948
- const de_UpdateWorkloadEstimateResponse = (output, context) => {
1949
- return smithyClient.take(output, {
1950
- costCurrency: smithyClient.expectString,
1951
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1952
- expiresAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1953
- failureMessage: smithyClient.expectString,
1954
- id: smithyClient.expectString,
1955
- name: smithyClient.expectString,
1956
- rateTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1957
- rateType: smithyClient.expectString,
1958
- status: smithyClient.expectString,
1959
- totalCost: smithyClient.limitedParseDouble,
1960
- });
1961
- };
1962
- const de_UsageQuantities = (output, context) => {
1963
- const retVal = (output || [])
1964
- .filter((e) => e != null)
1965
- .map((entry) => {
1966
- return de_UsageQuantity(entry);
1967
- });
1968
- return retVal;
1969
- };
1970
- const de_UsageQuantity = (output, context) => {
1971
- return smithyClient.take(output, {
1972
- amount: smithyClient.limitedParseDouble,
1973
- startHour: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1974
- unit: smithyClient.expectString,
1975
- });
1976
- };
1977
- const de_UsageQuantityResult = (output, context) => {
1978
- return smithyClient.take(output, {
1979
- amount: smithyClient.limitedParseDouble,
1980
- unit: smithyClient.expectString,
1981
- });
1982
- };
1983
- const de_WorkloadEstimateSummaries = (output, context) => {
1984
- const retVal = (output || [])
1985
- .filter((e) => e != null)
1986
- .map((entry) => {
1987
- return de_WorkloadEstimateSummary(entry);
1988
- });
1989
- return retVal;
1990
- };
1991
- const de_WorkloadEstimateSummary = (output, context) => {
1992
- return smithyClient.take(output, {
1993
- costCurrency: smithyClient.expectString,
1994
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1995
- expiresAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1996
- failureMessage: smithyClient.expectString,
1997
- id: smithyClient.expectString,
1998
- name: smithyClient.expectString,
1999
- rateTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
2000
- rateType: smithyClient.expectString,
2001
- status: smithyClient.expectString,
2002
- totalCost: smithyClient.limitedParseDouble,
2003
- });
2004
- };
2005
- const de_WorkloadEstimateUsageItem = (output, context) => {
2006
- return smithyClient.take(output, {
2007
- cost: smithyClient.limitedParseDouble,
2008
- currency: smithyClient.expectString,
2009
- group: smithyClient.expectString,
2010
- historicalUsage: (_) => de_HistoricalUsageEntity(_),
2011
- id: smithyClient.expectString,
2012
- location: smithyClient.expectString,
2013
- operation: smithyClient.expectString,
2014
- quantity: (_) => de_WorkloadEstimateUsageQuantity(_),
2015
- serviceCode: smithyClient.expectString,
2016
- status: smithyClient.expectString,
2017
- usageAccountId: smithyClient.expectString,
2018
- usageType: smithyClient.expectString,
2019
- });
2020
- };
2021
- const de_WorkloadEstimateUsageItems = (output, context) => {
2022
- const retVal = (output || [])
2023
- .filter((e) => e != null)
2024
- .map((entry) => {
2025
- return de_WorkloadEstimateUsageItem(entry);
2026
- });
2027
- return retVal;
2028
- };
2029
- const de_WorkloadEstimateUsageQuantity = (output, context) => {
2030
- return smithyClient.take(output, {
2031
- amount: smithyClient.limitedParseDouble,
2032
- unit: smithyClient.expectString,
2033
- });
2034
- };
2035
- const deserializeMetadata = (output) => ({
2036
- httpStatusCode: output.statusCode,
2037
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
2038
- extendedRequestId: output.headers["x-amz-id-2"],
2039
- cfId: output.headers["x-amz-cf-id"],
2040
- });
2041
- const throwDefaultError = smithyClient.withBaseException(BCMPricingCalculatorServiceException);
2042
- const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
2043
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
2044
- const contents = {
2045
- protocol,
2046
- hostname,
2047
- port,
2048
- method: "POST",
2049
- path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
2050
- headers,
2051
- };
2052
- if (body !== undefined) {
2053
- contents.body = body;
2054
- }
2055
- return new protocolHttp.HttpRequest(contents);
2056
- };
2057
- function sharedHeaders(operation) {
2058
- return {
2059
- "content-type": "application/x-amz-json-1.0",
2060
- "x-amz-target": `AWSBCMPricingCalculator.${operation}`,
2061
- };
2062
- }
387
+ const _ADE = "AccessDeniedException";
388
+ const _ARIA = "AddReservedInstanceAction";
389
+ const _ASPA = "AddSavingsPlanAction";
390
+ const _BCBSCM = "BatchCreateBillScenarioCommitmentModification";
391
+ const _BCBSCME = "BatchCreateBillScenarioCommitmentModificationEntry";
392
+ const _BCBSCMEa = "BatchCreateBillScenarioCommitmentModificationError";
393
+ const _BCBSCMEat = "BatchCreateBillScenarioCommitmentModificationEntries";
394
+ const _BCBSCMEatc = "BatchCreateBillScenarioCommitmentModificationErrors";
395
+ const _BCBSCMI = "BatchCreateBillScenarioCommitmentModificationItem";
396
+ const _BCBSCMIa = "BatchCreateBillScenarioCommitmentModificationItems";
397
+ const _BCBSCMR = "BatchCreateBillScenarioCommitmentModificationRequest";
398
+ const _BCBSCMRa = "BatchCreateBillScenarioCommitmentModificationResponse";
399
+ const _BCBSUM = "BatchCreateBillScenarioUsageModification";
400
+ const _BCBSUME = "BatchCreateBillScenarioUsageModificationEntry";
401
+ const _BCBSUMEa = "BatchCreateBillScenarioUsageModificationError";
402
+ const _BCBSUMEat = "BatchCreateBillScenarioUsageModificationEntries";
403
+ const _BCBSUMEatc = "BatchCreateBillScenarioUsageModificationErrors";
404
+ const _BCBSUMI = "BatchCreateBillScenarioUsageModificationItem";
405
+ const _BCBSUMIa = "BatchCreateBillScenarioUsageModificationItems";
406
+ const _BCBSUMR = "BatchCreateBillScenarioUsageModificationRequest";
407
+ const _BCBSUMRa = "BatchCreateBillScenarioUsageModificationResponse";
408
+ const _BCWEU = "BatchCreateWorkloadEstimateUsage";
409
+ const _BCWEUE = "BatchCreateWorkloadEstimateUsageEntry";
410
+ const _BCWEUEa = "BatchCreateWorkloadEstimateUsageError";
411
+ const _BCWEUEat = "BatchCreateWorkloadEstimateUsageEntries";
412
+ const _BCWEUEatc = "BatchCreateWorkloadEstimateUsageErrors";
413
+ const _BCWEUI = "BatchCreateWorkloadEstimateUsageItem";
414
+ const _BCWEUIa = "BatchCreateWorkloadEstimateUsageItems";
415
+ const _BCWEUR = "BatchCreateWorkloadEstimateUsageRequest";
416
+ const _BCWEURa = "BatchCreateWorkloadEstimateUsageResponse";
417
+ const _BDBSCM = "BatchDeleteBillScenarioCommitmentModification";
418
+ const _BDBSCME = "BatchDeleteBillScenarioCommitmentModificationError";
419
+ const _BDBSCMEa = "BatchDeleteBillScenarioCommitmentModificationErrors";
420
+ const _BDBSCMR = "BatchDeleteBillScenarioCommitmentModificationRequest";
421
+ const _BDBSCMRa = "BatchDeleteBillScenarioCommitmentModificationResponse";
422
+ const _BDBSUM = "BatchDeleteBillScenarioUsageModification";
423
+ const _BDBSUME = "BatchDeleteBillScenarioUsageModificationError";
424
+ const _BDBSUMEa = "BatchDeleteBillScenarioUsageModificationErrors";
425
+ const _BDBSUMR = "BatchDeleteBillScenarioUsageModificationRequest";
426
+ const _BDBSUMRa = "BatchDeleteBillScenarioUsageModificationResponse";
427
+ const _BDWEU = "BatchDeleteWorkloadEstimateUsage";
428
+ const _BDWEUE = "BatchDeleteWorkloadEstimateUsageError";
429
+ const _BDWEUEa = "BatchDeleteWorkloadEstimateUsageErrors";
430
+ const _BDWEUR = "BatchDeleteWorkloadEstimateUsageRequest";
431
+ const _BDWEURa = "BatchDeleteWorkloadEstimateUsageResponse";
432
+ const _BECS = "BillEstimateCommitmentSummary";
433
+ const _BECSi = "BillEstimateCostSummary";
434
+ const _BECSil = "BillEstimateCommitmentSummaries";
435
+ const _BEICMS = "BillEstimateInputCommitmentModificationSummary";
436
+ const _BEICMSi = "BillEstimateInputCommitmentModificationSummaries";
437
+ const _BEIUMS = "BillEstimateInputUsageModificationSummary";
438
+ const _BEIUMSi = "BillEstimateInputUsageModificationSummaries";
439
+ const _BELIS = "BillEstimateLineItemSummary";
440
+ const _BELISi = "BillEstimateLineItemSummaries";
441
+ const _BES = "BillEstimateSummary";
442
+ const _BESi = "BillEstimateSummaries";
443
+ const _BI = "BillInterval";
444
+ const _BSCMA = "BillScenarioCommitmentModificationAction";
445
+ const _BSCMI = "BillScenarioCommitmentModificationItem";
446
+ const _BSCMIi = "BillScenarioCommitmentModificationItems";
447
+ const _BSS = "BillScenarioSummary";
448
+ const _BSSi = "BillScenarioSummaries";
449
+ const _BSUMI = "BillScenarioUsageModificationItem";
450
+ const _BSUMIi = "BillScenarioUsageModificationItems";
451
+ const _BUBSCM = "BatchUpdateBillScenarioCommitmentModification";
452
+ const _BUBSCME = "BatchUpdateBillScenarioCommitmentModificationEntry";
453
+ const _BUBSCMEa = "BatchUpdateBillScenarioCommitmentModificationError";
454
+ const _BUBSCMEat = "BatchUpdateBillScenarioCommitmentModificationEntries";
455
+ const _BUBSCMEatc = "BatchUpdateBillScenarioCommitmentModificationErrors";
456
+ const _BUBSCMR = "BatchUpdateBillScenarioCommitmentModificationRequest";
457
+ const _BUBSCMRa = "BatchUpdateBillScenarioCommitmentModificationResponse";
458
+ const _BUBSUM = "BatchUpdateBillScenarioUsageModification";
459
+ const _BUBSUME = "BatchUpdateBillScenarioUsageModificationEntry";
460
+ const _BUBSUMEa = "BatchUpdateBillScenarioUsageModificationError";
461
+ const _BUBSUMEat = "BatchUpdateBillScenarioUsageModificationEntries";
462
+ const _BUBSUMEatc = "BatchUpdateBillScenarioUsageModificationErrors";
463
+ const _BUBSUMR = "BatchUpdateBillScenarioUsageModificationRequest";
464
+ const _BUBSUMRa = "BatchUpdateBillScenarioUsageModificationResponse";
465
+ const _BUWEU = "BatchUpdateWorkloadEstimateUsage";
466
+ const _BUWEUE = "BatchUpdateWorkloadEstimateUsageEntry";
467
+ const _BUWEUEa = "BatchUpdateWorkloadEstimateUsageError";
468
+ const _BUWEUEat = "BatchUpdateWorkloadEstimateUsageEntries";
469
+ const _BUWEUEatc = "BatchUpdateWorkloadEstimateUsageErrors";
470
+ const _BUWEUR = "BatchUpdateWorkloadEstimateUsageRequest";
471
+ const _BUWEURa = "BatchUpdateWorkloadEstimateUsageResponse";
472
+ const _CA = "CostAmount";
473
+ const _CBE = "CreateBillEstimate";
474
+ const _CBER = "CreateBillEstimateRequest";
475
+ const _CBERr = "CreateBillEstimateResponse";
476
+ const _CBS = "CreateBillScenario";
477
+ const _CBSR = "CreateBillScenarioRequest";
478
+ const _CBSRr = "CreateBillScenarioResponse";
479
+ const _CD = "CostDifference";
480
+ const _CE = "ConflictException";
481
+ const _CWE = "CreateWorkloadEstimate";
482
+ const _CWER = "CreateWorkloadEstimateRequest";
483
+ const _CWERr = "CreateWorkloadEstimateResponse";
484
+ const _DBE = "DeleteBillEstimate";
485
+ const _DBER = "DeleteBillEstimateRequest";
486
+ const _DBERe = "DeleteBillEstimateResponse";
487
+ const _DBS = "DeleteBillScenario";
488
+ const _DBSR = "DeleteBillScenarioRequest";
489
+ const _DBSRe = "DeleteBillScenarioResponse";
490
+ const _DUE = "DataUnavailableException";
491
+ const _DWE = "DeleteWorkloadEstimate";
492
+ const _DWER = "DeleteWorkloadEstimateRequest";
493
+ const _DWERe = "DeleteWorkloadEstimateResponse";
494
+ const _E = "Expression";
495
+ const _EF = "ExpressionFilter";
496
+ const _EL = "ExpressionList";
497
+ const _FT = "FilterTimestamp";
498
+ const _GBE = "GetBillEstimate";
499
+ const _GBER = "GetBillEstimateRequest";
500
+ const _GBERe = "GetBillEstimateResponse";
501
+ const _GBS = "GetBillScenario";
502
+ const _GBSR = "GetBillScenarioRequest";
503
+ const _GBSRe = "GetBillScenarioResponse";
504
+ const _GP = "GetPreferences";
505
+ const _GPR = "GetPreferencesRequest";
506
+ const _GPRe = "GetPreferencesResponse";
507
+ const _GWE = "GetWorkloadEstimate";
508
+ const _GWER = "GetWorkloadEstimateRequest";
509
+ const _GWERe = "GetWorkloadEstimateResponse";
510
+ const _HUE = "HistoricalUsageEntity";
511
+ const _ISE = "InternalServerException";
512
+ const _LBE = "ListBillEstimates";
513
+ const _LBEC = "ListBillEstimateCommitments";
514
+ const _LBECR = "ListBillEstimateCommitmentsRequest";
515
+ const _LBECRi = "ListBillEstimateCommitmentsResponse";
516
+ const _LBEF = "ListBillEstimatesFilter";
517
+ const _LBEFi = "ListBillEstimatesFilters";
518
+ const _LBEICM = "ListBillEstimateInputCommitmentModifications";
519
+ const _LBEICMR = "ListBillEstimateInputCommitmentModificationsRequest";
520
+ const _LBEICMRi = "ListBillEstimateInputCommitmentModificationsResponse";
521
+ const _LBEIUM = "ListBillEstimateInputUsageModifications";
522
+ const _LBEIUMR = "ListBillEstimateInputUsageModificationsRequest";
523
+ const _LBEIUMRi = "ListBillEstimateInputUsageModificationsResponse";
524
+ const _LBELI = "ListBillEstimateLineItems";
525
+ const _LBELIF = "ListBillEstimateLineItemsFilter";
526
+ const _LBELIFi = "ListBillEstimateLineItemsFilters";
527
+ const _LBELIR = "ListBillEstimateLineItemsRequest";
528
+ const _LBELIRi = "ListBillEstimateLineItemsResponse";
529
+ const _LBER = "ListBillEstimatesRequest";
530
+ const _LBERi = "ListBillEstimatesResponse";
531
+ const _LBS = "ListBillScenarios";
532
+ const _LBSCM = "ListBillScenarioCommitmentModifications";
533
+ const _LBSCMR = "ListBillScenarioCommitmentModificationsRequest";
534
+ const _LBSCMRi = "ListBillScenarioCommitmentModificationsResponse";
535
+ const _LBSF = "ListBillScenariosFilter";
536
+ const _LBSFi = "ListBillScenariosFilters";
537
+ const _LBSR = "ListBillScenariosRequest";
538
+ const _LBSRi = "ListBillScenariosResponse";
539
+ const _LBSUM = "ListBillScenarioUsageModifications";
540
+ const _LBSUMR = "ListBillScenarioUsageModificationsRequest";
541
+ const _LBSUMRi = "ListBillScenarioUsageModificationsResponse";
542
+ const _LTFR = "ListTagsForResource";
543
+ const _LTFRR = "ListTagsForResourceRequest";
544
+ const _LTFRRi = "ListTagsForResourceResponse";
545
+ const _LUF = "ListUsageFilter";
546
+ const _LUFi = "ListUsageFilters";
547
+ const _LWE = "ListWorkloadEstimates";
548
+ const _LWEF = "ListWorkloadEstimatesFilter";
549
+ const _LWEFi = "ListWorkloadEstimatesFilters";
550
+ const _LWER = "ListWorkloadEstimatesRequest";
551
+ const _LWERi = "ListWorkloadEstimatesResponse";
552
+ const _LWEU = "ListWorkloadEstimateUsage";
553
+ const _LWEUR = "ListWorkloadEstimateUsageRequest";
554
+ const _LWEURi = "ListWorkloadEstimateUsageResponse";
555
+ const _NRIA = "NegateReservedInstanceAction";
556
+ const _NSPA = "NegateSavingsPlanAction";
557
+ const _RA = "Retry-After";
558
+ const _RNFE = "ResourceNotFoundException";
559
+ const _SCDM = "ServiceCostDifferenceMap";
560
+ const _SQEE = "ServiceQuotaExceededException";
561
+ const _TE = "ThrottlingException";
562
+ const _TR = "TagResource";
563
+ const _TRR = "TagResourceRequest";
564
+ const _TRRa = "TagResourceResponse";
565
+ const _UA = "UsageAmount";
566
+ const _UAs = "UsageAmounts";
567
+ const _UBE = "UpdateBillEstimate";
568
+ const _UBER = "UpdateBillEstimateRequest";
569
+ const _UBERp = "UpdateBillEstimateResponse";
570
+ const _UBS = "UpdateBillScenario";
571
+ const _UBSR = "UpdateBillScenarioRequest";
572
+ const _UBSRp = "UpdateBillScenarioResponse";
573
+ const _UP = "UpdatePreferences";
574
+ const _UPR = "UpdatePreferencesRequest";
575
+ const _UPRp = "UpdatePreferencesResponse";
576
+ const _UQ = "UsageQuantity";
577
+ const _UQR = "UsageQuantityResult";
578
+ const _UQs = "UsageQuantities";
579
+ const _UR = "UntagResource";
580
+ const _URR = "UntagResourceRequest";
581
+ const _URRn = "UntagResourceResponse";
582
+ const _UWE = "UpdateWorkloadEstimate";
583
+ const _UWER = "UpdateWorkloadEstimateRequest";
584
+ const _UWERp = "UpdateWorkloadEstimateResponse";
585
+ const _VE = "ValidationException";
586
+ const _VEF = "ValidationExceptionField";
587
+ const _VEFL = "ValidationExceptionFieldList";
588
+ const _WES = "WorkloadEstimateSummary";
589
+ const _WESo = "WorkloadEstimateSummaries";
590
+ const _WEUI = "WorkloadEstimateUsageItem";
591
+ const _WEUIo = "WorkloadEstimateUsageItems";
592
+ const _WEUQ = "WorkloadEstimateUsageQuantity";
593
+ const _XACT = "X-Amzn-Client-Token";
594
+ const _a = "amounts";
595
+ const _aQE = "awsQueryError";
596
+ const _aRIA = "addReservedInstanceAction";
597
+ const _aSPA = "addSavingsPlanAction";
598
+ const _aT = "afterTimestamp";
599
+ const _aZ = "availabilityZone";
600
+ const _am = "amount";
601
+ const _an = "and";
602
+ const _ar = "arn";
603
+ const _bEI = "billEstimateId";
604
+ const _bI = "billInterval";
605
+ const _bSI = "billScenarioId";
606
+ const _bT = "beforeTimestamp";
607
+ const _c = "client";
608
+ const _cA = "commitmentAction";
609
+ const _cAF = "createdAtFilter";
610
+ const _cAr = "createdAt";
611
+ const _cC = "costCurrency";
612
+ const _cCo = "costCategories";
613
+ const _cM = "commitmentModifications";
614
+ const _cS = "costSummary";
615
+ const _cT = "clientToken";
616
+ const _co = "commitment";
617
+ const _cos = "cost";
618
+ const _cu = "currency";
619
+ const _d = "dimensions";
620
+ const _e = "error";
621
+ const _eA = "expiresAt";
622
+ const _eAF = "expiresAtFilter";
623
+ const _eC = "errorCode";
624
+ const _eCs = "estimatedCost";
625
+ const _eM = "errorMessage";
626
+ const _eUQ = "estimatedUsageQuantity";
627
+ const _en = "end";
628
+ const _er = "errors";
629
+ const _f = "filters";
630
+ const _fE = "filterExpression";
631
+ const _fL = "fieldList";
632
+ const _fM = "failureMessage";
633
+ const _g = "group";
634
+ const _hC = "historicalCost";
635
+ const _hE = "httpError";
636
+ const _hH = "httpHeader";
637
+ const _hU = "historicalUsage";
638
+ const _hUQ = "historicalUsageQuantity";
639
+ const _i = "id";
640
+ const _iC = "instanceCount";
641
+ const _iT = "idempotencyToken";
642
+ const _id = "ids";
643
+ const _ide = "identifier";
644
+ const _it = "items";
645
+ const _k = "key";
646
+ const _l = "location";
647
+ const _lII = "lineItemId";
648
+ const _lIT = "lineItemType";
649
+ const _m = "message";
650
+ const _mARTS = "managementAccountRateTypeSelections";
651
+ const _mARTSe = "memberAccountRateTypeSelections";
652
+ const _mO = "matchOptions";
653
+ const _mOa = "matchOption";
654
+ const _mP = "monthlyPayment";
655
+ const _mR = "maxResults";
656
+ const _n = "name";
657
+ const _nRIA = "negateReservedInstanceAction";
658
+ const _nSPA = "negateSavingsPlanAction";
659
+ const _nT = "nextToken";
660
+ const _no = "not";
661
+ const _o = "operation";
662
+ const _oI = "offeringId";
663
+ const _or = "or";
664
+ const _pAI = "payerAccountId";
665
+ const _pAT = "purchaseAgreementType";
666
+ const _pO = "paymentOption";
667
+ const _q = "quantities";
668
+ const _qC = "quotaCode";
669
+ const _qu = "quantity";
670
+ const _r = "region";
671
+ const _rAS = "retryAfterSeconds";
672
+ const _rI = "resourceId";
673
+ const _rII = "reservedInstancesId";
674
+ const _rIOI = "reservedInstancesOfferingId";
675
+ const _rT = "resourceType";
676
+ const _rTa = "rateType";
677
+ const _rTat = "rateTimestamp";
678
+ const _re = "reason";
679
+ const _s = "status";
680
+ const _sARTS = "standaloneAccountRateTypeSelections";
681
+ const _sC = "serviceCode";
682
+ const _sCD = "serviceCostDifferences";
683
+ const _sH = "startHour";
684
+ const _sPA = "savingsPlanArns";
685
+ const _sPI = "savingsPlanId";
686
+ const _sPOI = "savingsPlanOfferingId";
687
+ const _se = "server";
688
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.bcmpricingcalculator";
689
+ const _st = "start";
690
+ const _t = "tags";
691
+ const _tC = "totalCost";
692
+ const _tCD = "totalCostDifference";
693
+ const _tK = "tagKeys";
694
+ const _tL = "termLength";
695
+ const _u = "usage";
696
+ const _uAI = "usageAccountId";
697
+ const _uM = "usageModifications";
698
+ const _uP = "upfrontPayment";
699
+ const _uT = "usageType";
700
+ const _un = "unit";
701
+ const _v = "values";
702
+ const _wEI = "workloadEstimateId";
703
+ const n0 = "com.amazonaws.bcmpricingcalculator";
704
+ var AccessDeniedException = [
705
+ -3,
706
+ n0,
707
+ _ADE,
708
+ {
709
+ [_e]: _c,
710
+ [_hE]: 403,
711
+ [_aQE]: [`AccessDeniedCode`, 403],
712
+ },
713
+ [_m],
714
+ [0],
715
+ ];
716
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
717
+ var AddReservedInstanceAction = [3, n0, _ARIA, 0, [_rIOI, _iC], [0, 1]];
718
+ var AddSavingsPlanAction = [3, n0, _ASPA, 0, [_sPOI, _co], [0, 1]];
719
+ var BatchCreateBillScenarioCommitmentModificationEntry = [
720
+ 3,
721
+ n0,
722
+ _BCBSCME,
723
+ 0,
724
+ [_k, _g, _uAI, _cA],
725
+ [0, 0, 0, () => BillScenarioCommitmentModificationAction],
726
+ ];
727
+ var BatchCreateBillScenarioCommitmentModificationError = [
728
+ 3,
729
+ n0,
730
+ _BCBSCMEa,
731
+ 0,
732
+ [_k, _eM, _eC],
733
+ [0, 0, 0],
734
+ ];
735
+ var BatchCreateBillScenarioCommitmentModificationItem = [
736
+ 3,
737
+ n0,
738
+ _BCBSCMI,
739
+ 0,
740
+ [_k, _i, _g, _uAI, _cA],
741
+ [0, 0, 0, 0, () => BillScenarioCommitmentModificationAction],
742
+ ];
743
+ var BatchCreateBillScenarioCommitmentModificationRequest = [
744
+ 3,
745
+ n0,
746
+ _BCBSCMR,
747
+ 0,
748
+ [_bSI, _cM, _cT],
749
+ [
750
+ 0,
751
+ () => BatchCreateBillScenarioCommitmentModificationEntries,
752
+ [
753
+ 0,
754
+ {
755
+ [_hH]: _XACT,
756
+ [_iT]: 1,
757
+ },
758
+ ],
759
+ ],
760
+ ];
761
+ var BatchCreateBillScenarioCommitmentModificationResponse = [
762
+ 3,
763
+ n0,
764
+ _BCBSCMRa,
765
+ 0,
766
+ [_it, _er],
767
+ [() => BatchCreateBillScenarioCommitmentModificationItems, () => BatchCreateBillScenarioCommitmentModificationErrors],
768
+ ];
769
+ var BatchCreateBillScenarioUsageModificationEntry = [
770
+ 3,
771
+ n0,
772
+ _BCBSUME,
773
+ 0,
774
+ [_sC, _uT, _o, _aZ, _k, _g, _uAI, _a, _hU],
775
+ [0, 0, 0, 0, 0, 0, 0, () => UsageAmounts, () => HistoricalUsageEntity],
776
+ ];
777
+ var BatchCreateBillScenarioUsageModificationError = [
778
+ 3,
779
+ n0,
780
+ _BCBSUMEa,
781
+ 0,
782
+ [_k, _eM, _eC],
783
+ [0, 0, 0],
784
+ ];
785
+ var BatchCreateBillScenarioUsageModificationItem = [
786
+ 3,
787
+ n0,
788
+ _BCBSUMI,
789
+ 0,
790
+ [_sC, _uT, _o, _l, _aZ, _i, _g, _uAI, _q, _hU, _k],
791
+ [0, 0, 0, 0, 0, 0, 0, 0, () => UsageQuantities, () => HistoricalUsageEntity, 0],
792
+ ];
793
+ var BatchCreateBillScenarioUsageModificationRequest = [
794
+ 3,
795
+ n0,
796
+ _BCBSUMR,
797
+ 0,
798
+ [_bSI, _uM, _cT],
799
+ [
800
+ 0,
801
+ () => BatchCreateBillScenarioUsageModificationEntries,
802
+ [
803
+ 0,
804
+ {
805
+ [_hH]: _XACT,
806
+ [_iT]: 1,
807
+ },
808
+ ],
809
+ ],
810
+ ];
811
+ var BatchCreateBillScenarioUsageModificationResponse = [
812
+ 3,
813
+ n0,
814
+ _BCBSUMRa,
815
+ 0,
816
+ [_it, _er],
817
+ [() => BatchCreateBillScenarioUsageModificationItems, () => BatchCreateBillScenarioUsageModificationErrors],
818
+ ];
819
+ var BatchCreateWorkloadEstimateUsageEntry = [
820
+ 3,
821
+ n0,
822
+ _BCWEUE,
823
+ 0,
824
+ [_sC, _uT, _o, _k, _g, _uAI, _am, _hU],
825
+ [0, 0, 0, 0, 0, 0, 1, () => HistoricalUsageEntity],
826
+ ];
827
+ var BatchCreateWorkloadEstimateUsageError = [
828
+ 3,
829
+ n0,
830
+ _BCWEUEa,
831
+ 0,
832
+ [_k, _eC, _eM],
833
+ [0, 0, 0],
834
+ ];
835
+ var BatchCreateWorkloadEstimateUsageItem = [
836
+ 3,
837
+ n0,
838
+ _BCWEUI,
839
+ 0,
840
+ [_sC, _uT, _o, _l, _i, _uAI, _g, _qu, _cos, _cu, _s, _hU, _k],
841
+ [0, 0, 0, 0, 0, 0, 0, () => WorkloadEstimateUsageQuantity, 1, 0, 0, () => HistoricalUsageEntity, 0],
842
+ ];
843
+ var BatchCreateWorkloadEstimateUsageRequest = [
844
+ 3,
845
+ n0,
846
+ _BCWEUR,
847
+ 0,
848
+ [_wEI, _u, _cT],
849
+ [
850
+ 0,
851
+ () => BatchCreateWorkloadEstimateUsageEntries,
852
+ [
853
+ 0,
854
+ {
855
+ [_hH]: _XACT,
856
+ [_iT]: 1,
857
+ },
858
+ ],
859
+ ],
860
+ ];
861
+ var BatchCreateWorkloadEstimateUsageResponse = [
862
+ 3,
863
+ n0,
864
+ _BCWEURa,
865
+ 0,
866
+ [_it, _er],
867
+ [() => BatchCreateWorkloadEstimateUsageItems, () => BatchCreateWorkloadEstimateUsageErrors],
868
+ ];
869
+ var BatchDeleteBillScenarioCommitmentModificationError = [
870
+ 3,
871
+ n0,
872
+ _BDBSCME,
873
+ 0,
874
+ [_i, _eC, _eM],
875
+ [0, 0, 0],
876
+ ];
877
+ var BatchDeleteBillScenarioCommitmentModificationRequest = [
878
+ 3,
879
+ n0,
880
+ _BDBSCMR,
881
+ 0,
882
+ [_bSI, _id],
883
+ [0, 64 | 0],
884
+ ];
885
+ var BatchDeleteBillScenarioCommitmentModificationResponse = [
886
+ 3,
887
+ n0,
888
+ _BDBSCMRa,
889
+ 0,
890
+ [_er],
891
+ [() => BatchDeleteBillScenarioCommitmentModificationErrors],
892
+ ];
893
+ var BatchDeleteBillScenarioUsageModificationError = [
894
+ 3,
895
+ n0,
896
+ _BDBSUME,
897
+ 0,
898
+ [_i, _eM, _eC],
899
+ [0, 0, 0],
900
+ ];
901
+ var BatchDeleteBillScenarioUsageModificationRequest = [
902
+ 3,
903
+ n0,
904
+ _BDBSUMR,
905
+ 0,
906
+ [_bSI, _id],
907
+ [0, 64 | 0],
908
+ ];
909
+ var BatchDeleteBillScenarioUsageModificationResponse = [
910
+ 3,
911
+ n0,
912
+ _BDBSUMRa,
913
+ 0,
914
+ [_er],
915
+ [() => BatchDeleteBillScenarioUsageModificationErrors],
916
+ ];
917
+ var BatchDeleteWorkloadEstimateUsageError = [
918
+ 3,
919
+ n0,
920
+ _BDWEUE,
921
+ 0,
922
+ [_i, _eM, _eC],
923
+ [0, 0, 0],
924
+ ];
925
+ var BatchDeleteWorkloadEstimateUsageRequest = [
926
+ 3,
927
+ n0,
928
+ _BDWEUR,
929
+ 0,
930
+ [_wEI, _id],
931
+ [0, 64 | 0],
932
+ ];
933
+ var BatchDeleteWorkloadEstimateUsageResponse = [
934
+ 3,
935
+ n0,
936
+ _BDWEURa,
937
+ 0,
938
+ [_er],
939
+ [() => BatchDeleteWorkloadEstimateUsageErrors],
940
+ ];
941
+ var BatchUpdateBillScenarioCommitmentModificationEntry = [
942
+ 3,
943
+ n0,
944
+ _BUBSCME,
945
+ 0,
946
+ [_i, _g],
947
+ [0, 0],
948
+ ];
949
+ var BatchUpdateBillScenarioCommitmentModificationError = [
950
+ 3,
951
+ n0,
952
+ _BUBSCMEa,
953
+ 0,
954
+ [_i, _eC, _eM],
955
+ [0, 0, 0],
956
+ ];
957
+ var BatchUpdateBillScenarioCommitmentModificationRequest = [
958
+ 3,
959
+ n0,
960
+ _BUBSCMR,
961
+ 0,
962
+ [_bSI, _cM],
963
+ [0, () => BatchUpdateBillScenarioCommitmentModificationEntries],
964
+ ];
965
+ var BatchUpdateBillScenarioCommitmentModificationResponse = [
966
+ 3,
967
+ n0,
968
+ _BUBSCMRa,
969
+ 0,
970
+ [_it, _er],
971
+ [() => BillScenarioCommitmentModificationItems, () => BatchUpdateBillScenarioCommitmentModificationErrors],
972
+ ];
973
+ var BatchUpdateBillScenarioUsageModificationEntry = [
974
+ 3,
975
+ n0,
976
+ _BUBSUME,
977
+ 0,
978
+ [_i, _g, _a],
979
+ [0, 0, () => UsageAmounts],
980
+ ];
981
+ var BatchUpdateBillScenarioUsageModificationError = [
982
+ 3,
983
+ n0,
984
+ _BUBSUMEa,
985
+ 0,
986
+ [_i, _eM, _eC],
987
+ [0, 0, 0],
988
+ ];
989
+ var BatchUpdateBillScenarioUsageModificationRequest = [
990
+ 3,
991
+ n0,
992
+ _BUBSUMR,
993
+ 0,
994
+ [_bSI, _uM],
995
+ [0, () => BatchUpdateBillScenarioUsageModificationEntries],
996
+ ];
997
+ var BatchUpdateBillScenarioUsageModificationResponse = [
998
+ 3,
999
+ n0,
1000
+ _BUBSUMRa,
1001
+ 0,
1002
+ [_it, _er],
1003
+ [() => BillScenarioUsageModificationItems, () => BatchUpdateBillScenarioUsageModificationErrors],
1004
+ ];
1005
+ var BatchUpdateWorkloadEstimateUsageEntry = [3, n0, _BUWEUE, 0, [_i, _g, _am], [0, 0, 1]];
1006
+ var BatchUpdateWorkloadEstimateUsageError = [
1007
+ 3,
1008
+ n0,
1009
+ _BUWEUEa,
1010
+ 0,
1011
+ [_i, _eM, _eC],
1012
+ [0, 0, 0],
1013
+ ];
1014
+ var BatchUpdateWorkloadEstimateUsageRequest = [
1015
+ 3,
1016
+ n0,
1017
+ _BUWEUR,
1018
+ 0,
1019
+ [_wEI, _u],
1020
+ [0, () => BatchUpdateWorkloadEstimateUsageEntries],
1021
+ ];
1022
+ var BatchUpdateWorkloadEstimateUsageResponse = [
1023
+ 3,
1024
+ n0,
1025
+ _BUWEURa,
1026
+ 0,
1027
+ [_it, _er],
1028
+ [() => WorkloadEstimateUsageItems, () => BatchUpdateWorkloadEstimateUsageErrors],
1029
+ ];
1030
+ var BillEstimateCommitmentSummary = [
1031
+ 3,
1032
+ n0,
1033
+ _BECS,
1034
+ 0,
1035
+ [_i, _pAT, _oI, _uAI, _r, _tL, _pO, _uP, _mP],
1036
+ [0, 0, 0, 0, 0, 0, 0, () => CostAmount, () => CostAmount],
1037
+ ];
1038
+ var BillEstimateCostSummary = [
1039
+ 3,
1040
+ n0,
1041
+ _BECSi,
1042
+ 0,
1043
+ [_tCD, _sCD],
1044
+ [() => CostDifference, () => ServiceCostDifferenceMap],
1045
+ ];
1046
+ var BillEstimateInputCommitmentModificationSummary = [
1047
+ 3,
1048
+ n0,
1049
+ _BEICMS,
1050
+ 0,
1051
+ [_i, _g, _uAI, _cA],
1052
+ [0, 0, 0, () => BillScenarioCommitmentModificationAction],
1053
+ ];
1054
+ var BillEstimateInputUsageModificationSummary = [
1055
+ 3,
1056
+ n0,
1057
+ _BEIUMS,
1058
+ 0,
1059
+ [_sC, _uT, _o, _l, _aZ, _i, _g, _uAI, _q, _hU],
1060
+ [0, 0, 0, 0, 0, 0, 0, 0, () => UsageQuantities, () => HistoricalUsageEntity],
1061
+ ];
1062
+ var BillEstimateLineItemSummary = [
1063
+ 3,
1064
+ n0,
1065
+ _BELIS,
1066
+ 0,
1067
+ [_sC, _uT, _o, _l, _aZ, _i, _lII, _lIT, _pAI, _uAI, _eUQ, _eCs, _hUQ, _hC, _sPA],
1068
+ [
1069
+ 0,
1070
+ 0,
1071
+ 0,
1072
+ 0,
1073
+ 0,
1074
+ 0,
1075
+ 0,
1076
+ 0,
1077
+ 0,
1078
+ 0,
1079
+ () => UsageQuantityResult,
1080
+ () => CostAmount,
1081
+ () => UsageQuantityResult,
1082
+ () => CostAmount,
1083
+ 64 | 0,
1084
+ ],
1085
+ ];
1086
+ var BillEstimateSummary = [
1087
+ 3,
1088
+ n0,
1089
+ _BES,
1090
+ 0,
1091
+ [_i, _n, _s, _bI, _cAr, _eA],
1092
+ [0, 0, 0, () => BillInterval, 4, 4],
1093
+ ];
1094
+ var BillInterval = [3, n0, _BI, 0, [_st, _en], [4, 4]];
1095
+ var BillScenarioCommitmentModificationItem = [
1096
+ 3,
1097
+ n0,
1098
+ _BSCMI,
1099
+ 0,
1100
+ [_i, _uAI, _g, _cA],
1101
+ [0, 0, 0, () => BillScenarioCommitmentModificationAction],
1102
+ ];
1103
+ var BillScenarioSummary = [
1104
+ 3,
1105
+ n0,
1106
+ _BSS,
1107
+ 0,
1108
+ [_i, _n, _bI, _s, _cAr, _eA, _fM],
1109
+ [0, 0, () => BillInterval, 0, 4, 4, 0],
1110
+ ];
1111
+ var BillScenarioUsageModificationItem = [
1112
+ 3,
1113
+ n0,
1114
+ _BSUMI,
1115
+ 0,
1116
+ [_sC, _uT, _o, _l, _aZ, _i, _g, _uAI, _q, _hU],
1117
+ [0, 0, 0, 0, 0, 0, 0, 0, () => UsageQuantities, () => HistoricalUsageEntity],
1118
+ ];
1119
+ var ConflictException = [
1120
+ -3,
1121
+ n0,
1122
+ _CE,
1123
+ {
1124
+ [_e]: _c,
1125
+ [_hE]: 409,
1126
+ [_aQE]: [`ConflictCode`, 409],
1127
+ },
1128
+ [_m, _rI, _rT],
1129
+ [0, 0, 0],
1130
+ ];
1131
+ schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
1132
+ var CostAmount = [3, n0, _CA, 0, [_am, _cu], [1, 0]];
1133
+ var CostDifference = [3, n0, _CD, 0, [_hC, _eCs], [() => CostAmount, () => CostAmount]];
1134
+ var CreateBillEstimateRequest = [
1135
+ 3,
1136
+ n0,
1137
+ _CBER,
1138
+ 0,
1139
+ [_bSI, _n, _cT, _t],
1140
+ [
1141
+ 0,
1142
+ 0,
1143
+ [
1144
+ 0,
1145
+ {
1146
+ [_hH]: _XACT,
1147
+ [_iT]: 1,
1148
+ },
1149
+ ],
1150
+ 128 | 0,
1151
+ ],
1152
+ ];
1153
+ var CreateBillEstimateResponse = [
1154
+ 3,
1155
+ n0,
1156
+ _CBERr,
1157
+ 0,
1158
+ [_i, _n, _s, _fM, _bI, _cS, _cAr, _eA],
1159
+ [0, 0, 0, 0, () => BillInterval, () => BillEstimateCostSummary, 4, 4],
1160
+ ];
1161
+ var CreateBillScenarioRequest = [
1162
+ 3,
1163
+ n0,
1164
+ _CBSR,
1165
+ 0,
1166
+ [_n, _cT, _t],
1167
+ [
1168
+ 0,
1169
+ [
1170
+ 0,
1171
+ {
1172
+ [_hH]: _XACT,
1173
+ [_iT]: 1,
1174
+ },
1175
+ ],
1176
+ 128 | 0,
1177
+ ],
1178
+ ];
1179
+ var CreateBillScenarioResponse = [
1180
+ 3,
1181
+ n0,
1182
+ _CBSRr,
1183
+ 0,
1184
+ [_i, _n, _bI, _s, _cAr, _eA, _fM],
1185
+ [0, 0, () => BillInterval, 0, 4, 4, 0],
1186
+ ];
1187
+ var CreateWorkloadEstimateRequest = [
1188
+ 3,
1189
+ n0,
1190
+ _CWER,
1191
+ 0,
1192
+ [_n, _cT, _rTa, _t],
1193
+ [
1194
+ 0,
1195
+ [
1196
+ 0,
1197
+ {
1198
+ [_hH]: _XACT,
1199
+ [_iT]: 1,
1200
+ },
1201
+ ],
1202
+ 0,
1203
+ 128 | 0,
1204
+ ],
1205
+ ];
1206
+ var CreateWorkloadEstimateResponse = [
1207
+ 3,
1208
+ n0,
1209
+ _CWERr,
1210
+ 0,
1211
+ [_i, _n, _cAr, _eA, _rTa, _rTat, _s, _tC, _cC, _fM],
1212
+ [0, 0, 4, 4, 0, 4, 0, 1, 0, 0],
1213
+ ];
1214
+ var DataUnavailableException = [
1215
+ -3,
1216
+ n0,
1217
+ _DUE,
1218
+ {
1219
+ [_e]: _c,
1220
+ [_hE]: 400,
1221
+ },
1222
+ [_m],
1223
+ [0],
1224
+ ];
1225
+ schema.TypeRegistry.for(n0).registerError(DataUnavailableException, DataUnavailableException$1);
1226
+ var DeleteBillEstimateRequest = [3, n0, _DBER, 0, [_ide], [0]];
1227
+ var DeleteBillEstimateResponse = [3, n0, _DBERe, 0, [], []];
1228
+ var DeleteBillScenarioRequest = [3, n0, _DBSR, 0, [_ide], [0]];
1229
+ var DeleteBillScenarioResponse = [3, n0, _DBSRe, 0, [], []];
1230
+ var DeleteWorkloadEstimateRequest = [3, n0, _DWER, 0, [_ide], [0]];
1231
+ var DeleteWorkloadEstimateResponse = [3, n0, _DWERe, 0, [], []];
1232
+ var Expression = [
1233
+ 3,
1234
+ n0,
1235
+ _E,
1236
+ 0,
1237
+ [_an, _or, _no, _cCo, _d, _t],
1238
+ [
1239
+ () => ExpressionList,
1240
+ () => ExpressionList,
1241
+ () => Expression,
1242
+ () => ExpressionFilter,
1243
+ () => ExpressionFilter,
1244
+ () => ExpressionFilter,
1245
+ ],
1246
+ ];
1247
+ var ExpressionFilter = [3, n0, _EF, 0, [_k, _mO, _v], [0, 64 | 0, 64 | 0]];
1248
+ var FilterTimestamp = [3, n0, _FT, 0, [_aT, _bT], [4, 4]];
1249
+ var GetBillEstimateRequest = [3, n0, _GBER, 0, [_ide], [0]];
1250
+ var GetBillEstimateResponse = [
1251
+ 3,
1252
+ n0,
1253
+ _GBERe,
1254
+ 0,
1255
+ [_i, _n, _s, _fM, _bI, _cS, _cAr, _eA],
1256
+ [0, 0, 0, 0, () => BillInterval, () => BillEstimateCostSummary, 4, 4],
1257
+ ];
1258
+ var GetBillScenarioRequest = [3, n0, _GBSR, 0, [_ide], [0]];
1259
+ var GetBillScenarioResponse = [
1260
+ 3,
1261
+ n0,
1262
+ _GBSRe,
1263
+ 0,
1264
+ [_i, _n, _bI, _s, _cAr, _eA, _fM],
1265
+ [0, 0, () => BillInterval, 0, 4, 4, 0],
1266
+ ];
1267
+ var GetPreferencesRequest = [3, n0, _GPR, 0, [], []];
1268
+ var GetPreferencesResponse = [
1269
+ 3,
1270
+ n0,
1271
+ _GPRe,
1272
+ 0,
1273
+ [_mARTS, _mARTSe, _sARTS],
1274
+ [64 | 0, 64 | 0, 64 | 0],
1275
+ ];
1276
+ var GetWorkloadEstimateRequest = [3, n0, _GWER, 0, [_ide], [0]];
1277
+ var GetWorkloadEstimateResponse = [
1278
+ 3,
1279
+ n0,
1280
+ _GWERe,
1281
+ 0,
1282
+ [_i, _n, _cAr, _eA, _rTa, _rTat, _s, _tC, _cC, _fM],
1283
+ [0, 0, 4, 4, 0, 4, 0, 1, 0, 0],
1284
+ ];
1285
+ var HistoricalUsageEntity = [
1286
+ 3,
1287
+ n0,
1288
+ _HUE,
1289
+ 0,
1290
+ [_sC, _uT, _o, _l, _uAI, _bI, _fE],
1291
+ [0, 0, 0, 0, 0, () => BillInterval, () => Expression],
1292
+ ];
1293
+ var InternalServerException = [
1294
+ -3,
1295
+ n0,
1296
+ _ISE,
1297
+ {
1298
+ [_e]: _se,
1299
+ [_hE]: 500,
1300
+ },
1301
+ [_m, _rAS],
1302
+ [
1303
+ 0,
1304
+ [
1305
+ 1,
1306
+ {
1307
+ [_hH]: _RA,
1308
+ },
1309
+ ],
1310
+ ],
1311
+ ];
1312
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
1313
+ var ListBillEstimateCommitmentsRequest = [3, n0, _LBECR, 0, [_bEI, _nT, _mR], [0, 0, 1]];
1314
+ var ListBillEstimateCommitmentsResponse = [
1315
+ 3,
1316
+ n0,
1317
+ _LBECRi,
1318
+ 0,
1319
+ [_it, _nT],
1320
+ [() => BillEstimateCommitmentSummaries, 0],
1321
+ ];
1322
+ var ListBillEstimateInputCommitmentModificationsRequest = [
1323
+ 3,
1324
+ n0,
1325
+ _LBEICMR,
1326
+ 0,
1327
+ [_bEI, _nT, _mR],
1328
+ [0, 0, 1],
1329
+ ];
1330
+ var ListBillEstimateInputCommitmentModificationsResponse = [
1331
+ 3,
1332
+ n0,
1333
+ _LBEICMRi,
1334
+ 0,
1335
+ [_it, _nT],
1336
+ [() => BillEstimateInputCommitmentModificationSummaries, 0],
1337
+ ];
1338
+ var ListBillEstimateInputUsageModificationsRequest = [
1339
+ 3,
1340
+ n0,
1341
+ _LBEIUMR,
1342
+ 0,
1343
+ [_bEI, _f, _nT, _mR],
1344
+ [0, () => ListUsageFilters, 0, 1],
1345
+ ];
1346
+ var ListBillEstimateInputUsageModificationsResponse = [
1347
+ 3,
1348
+ n0,
1349
+ _LBEIUMRi,
1350
+ 0,
1351
+ [_it, _nT],
1352
+ [() => BillEstimateInputUsageModificationSummaries, 0],
1353
+ ];
1354
+ var ListBillEstimateLineItemsFilter = [3, n0, _LBELIF, 0, [_n, _v, _mOa], [0, 64 | 0, 0]];
1355
+ var ListBillEstimateLineItemsRequest = [
1356
+ 3,
1357
+ n0,
1358
+ _LBELIR,
1359
+ 0,
1360
+ [_bEI, _f, _nT, _mR],
1361
+ [0, () => ListBillEstimateLineItemsFilters, 0, 1],
1362
+ ];
1363
+ var ListBillEstimateLineItemsResponse = [
1364
+ 3,
1365
+ n0,
1366
+ _LBELIRi,
1367
+ 0,
1368
+ [_it, _nT],
1369
+ [() => BillEstimateLineItemSummaries, 0],
1370
+ ];
1371
+ var ListBillEstimatesFilter = [3, n0, _LBEF, 0, [_n, _v, _mOa], [0, 64 | 0, 0]];
1372
+ var ListBillEstimatesRequest = [
1373
+ 3,
1374
+ n0,
1375
+ _LBER,
1376
+ 0,
1377
+ [_f, _cAF, _eAF, _nT, _mR],
1378
+ [() => ListBillEstimatesFilters, () => FilterTimestamp, () => FilterTimestamp, 0, 1],
1379
+ ];
1380
+ var ListBillEstimatesResponse = [
1381
+ 3,
1382
+ n0,
1383
+ _LBERi,
1384
+ 0,
1385
+ [_it, _nT],
1386
+ [() => BillEstimateSummaries, 0],
1387
+ ];
1388
+ var ListBillScenarioCommitmentModificationsRequest = [
1389
+ 3,
1390
+ n0,
1391
+ _LBSCMR,
1392
+ 0,
1393
+ [_bSI, _nT, _mR],
1394
+ [0, 0, 1],
1395
+ ];
1396
+ var ListBillScenarioCommitmentModificationsResponse = [
1397
+ 3,
1398
+ n0,
1399
+ _LBSCMRi,
1400
+ 0,
1401
+ [_it, _nT],
1402
+ [() => BillScenarioCommitmentModificationItems, 0],
1403
+ ];
1404
+ var ListBillScenariosFilter = [3, n0, _LBSF, 0, [_n, _v, _mOa], [0, 64 | 0, 0]];
1405
+ var ListBillScenariosRequest = [
1406
+ 3,
1407
+ n0,
1408
+ _LBSR,
1409
+ 0,
1410
+ [_f, _cAF, _eAF, _nT, _mR],
1411
+ [() => ListBillScenariosFilters, () => FilterTimestamp, () => FilterTimestamp, 0, 1],
1412
+ ];
1413
+ var ListBillScenariosResponse = [
1414
+ 3,
1415
+ n0,
1416
+ _LBSRi,
1417
+ 0,
1418
+ [_it, _nT],
1419
+ [() => BillScenarioSummaries, 0],
1420
+ ];
1421
+ var ListBillScenarioUsageModificationsRequest = [
1422
+ 3,
1423
+ n0,
1424
+ _LBSUMR,
1425
+ 0,
1426
+ [_bSI, _f, _nT, _mR],
1427
+ [0, () => ListUsageFilters, 0, 1],
1428
+ ];
1429
+ var ListBillScenarioUsageModificationsResponse = [
1430
+ 3,
1431
+ n0,
1432
+ _LBSUMRi,
1433
+ 0,
1434
+ [_it, _nT],
1435
+ [() => BillScenarioUsageModificationItems, 0],
1436
+ ];
1437
+ var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_ar], [0]];
1438
+ var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_t], [128 | 0]];
1439
+ var ListUsageFilter = [3, n0, _LUF, 0, [_n, _v, _mOa], [0, 64 | 0, 0]];
1440
+ var ListWorkloadEstimatesFilter = [3, n0, _LWEF, 0, [_n, _v, _mOa], [0, 64 | 0, 0]];
1441
+ var ListWorkloadEstimatesRequest = [
1442
+ 3,
1443
+ n0,
1444
+ _LWER,
1445
+ 0,
1446
+ [_cAF, _eAF, _f, _nT, _mR],
1447
+ [() => FilterTimestamp, () => FilterTimestamp, () => ListWorkloadEstimatesFilters, 0, 1],
1448
+ ];
1449
+ var ListWorkloadEstimatesResponse = [
1450
+ 3,
1451
+ n0,
1452
+ _LWERi,
1453
+ 0,
1454
+ [_it, _nT],
1455
+ [() => WorkloadEstimateSummaries, 0],
1456
+ ];
1457
+ var ListWorkloadEstimateUsageRequest = [
1458
+ 3,
1459
+ n0,
1460
+ _LWEUR,
1461
+ 0,
1462
+ [_wEI, _f, _nT, _mR],
1463
+ [0, () => ListUsageFilters, 0, 1],
1464
+ ];
1465
+ var ListWorkloadEstimateUsageResponse = [
1466
+ 3,
1467
+ n0,
1468
+ _LWEURi,
1469
+ 0,
1470
+ [_it, _nT],
1471
+ [() => WorkloadEstimateUsageItems, 0],
1472
+ ];
1473
+ var NegateReservedInstanceAction = [3, n0, _NRIA, 0, [_rII], [0]];
1474
+ var NegateSavingsPlanAction = [3, n0, _NSPA, 0, [_sPI], [0]];
1475
+ var ResourceNotFoundException = [
1476
+ -3,
1477
+ n0,
1478
+ _RNFE,
1479
+ {
1480
+ [_e]: _c,
1481
+ [_hE]: 404,
1482
+ [_aQE]: [`ResourceNotFoundCode`, 404],
1483
+ },
1484
+ [_m, _rI, _rT],
1485
+ [0, 0, 0],
1486
+ ];
1487
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
1488
+ var ServiceQuotaExceededException = [
1489
+ -3,
1490
+ n0,
1491
+ _SQEE,
1492
+ {
1493
+ [_e]: _c,
1494
+ [_hE]: 402,
1495
+ [_aQE]: [`ServiceQuotaCode`, 402],
1496
+ },
1497
+ [_m, _rI, _rT, _sC, _qC],
1498
+ [0, 0, 0, 0, 0],
1499
+ ];
1500
+ schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
1501
+ var TagResourceRequest = [3, n0, _TRR, 0, [_ar, _t], [0, 128 | 0]];
1502
+ var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
1503
+ var ThrottlingException = [
1504
+ -3,
1505
+ n0,
1506
+ _TE,
1507
+ {
1508
+ [_e]: _c,
1509
+ [_hE]: 429,
1510
+ [_aQE]: [`ThrottlingCode`, 429],
1511
+ },
1512
+ [_m, _sC, _qC, _rAS],
1513
+ [
1514
+ 0,
1515
+ 0,
1516
+ 0,
1517
+ [
1518
+ 1,
1519
+ {
1520
+ [_hH]: _RA,
1521
+ },
1522
+ ],
1523
+ ],
1524
+ ];
1525
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
1526
+ var UntagResourceRequest = [3, n0, _URR, 0, [_ar, _tK], [0, 64 | 0]];
1527
+ var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
1528
+ var UpdateBillEstimateRequest = [3, n0, _UBER, 0, [_ide, _n, _eA], [0, 0, 4]];
1529
+ var UpdateBillEstimateResponse = [
1530
+ 3,
1531
+ n0,
1532
+ _UBERp,
1533
+ 0,
1534
+ [_i, _n, _s, _fM, _bI, _cS, _cAr, _eA],
1535
+ [0, 0, 0, 0, () => BillInterval, () => BillEstimateCostSummary, 4, 4],
1536
+ ];
1537
+ var UpdateBillScenarioRequest = [3, n0, _UBSR, 0, [_ide, _n, _eA], [0, 0, 4]];
1538
+ var UpdateBillScenarioResponse = [
1539
+ 3,
1540
+ n0,
1541
+ _UBSRp,
1542
+ 0,
1543
+ [_i, _n, _bI, _s, _cAr, _eA, _fM],
1544
+ [0, 0, () => BillInterval, 0, 4, 4, 0],
1545
+ ];
1546
+ var UpdatePreferencesRequest = [
1547
+ 3,
1548
+ n0,
1549
+ _UPR,
1550
+ 0,
1551
+ [_mARTS, _mARTSe, _sARTS],
1552
+ [64 | 0, 64 | 0, 64 | 0],
1553
+ ];
1554
+ var UpdatePreferencesResponse = [
1555
+ 3,
1556
+ n0,
1557
+ _UPRp,
1558
+ 0,
1559
+ [_mARTS, _mARTSe, _sARTS],
1560
+ [64 | 0, 64 | 0, 64 | 0],
1561
+ ];
1562
+ var UpdateWorkloadEstimateRequest = [3, n0, _UWER, 0, [_ide, _n, _eA], [0, 0, 4]];
1563
+ var UpdateWorkloadEstimateResponse = [
1564
+ 3,
1565
+ n0,
1566
+ _UWERp,
1567
+ 0,
1568
+ [_i, _n, _cAr, _eA, _rTa, _rTat, _s, _tC, _cC, _fM],
1569
+ [0, 0, 4, 4, 0, 4, 0, 1, 0, 0],
1570
+ ];
1571
+ var UsageAmount = [3, n0, _UA, 0, [_sH, _am], [4, 1]];
1572
+ var UsageQuantity = [3, n0, _UQ, 0, [_sH, _un, _am], [4, 0, 1]];
1573
+ var UsageQuantityResult = [3, n0, _UQR, 0, [_am, _un], [1, 0]];
1574
+ var ValidationException = [
1575
+ -3,
1576
+ n0,
1577
+ _VE,
1578
+ {
1579
+ [_e]: _c,
1580
+ [_hE]: 400,
1581
+ },
1582
+ [_m, _re, _fL],
1583
+ [0, 0, () => ValidationExceptionFieldList],
1584
+ ];
1585
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
1586
+ var ValidationExceptionField = [3, n0, _VEF, 0, [_n, _m], [0, 0]];
1587
+ var WorkloadEstimateSummary = [
1588
+ 3,
1589
+ n0,
1590
+ _WES,
1591
+ 0,
1592
+ [_i, _n, _cAr, _eA, _rTa, _rTat, _s, _tC, _cC, _fM],
1593
+ [0, 0, 4, 4, 0, 4, 0, 1, 0, 0],
1594
+ ];
1595
+ var WorkloadEstimateUsageItem = [
1596
+ 3,
1597
+ n0,
1598
+ _WEUI,
1599
+ 0,
1600
+ [_sC, _uT, _o, _l, _i, _uAI, _g, _qu, _cos, _cu, _s, _hU],
1601
+ [0, 0, 0, 0, 0, 0, 0, () => WorkloadEstimateUsageQuantity, 1, 0, 0, () => HistoricalUsageEntity],
1602
+ ];
1603
+ var WorkloadEstimateUsageQuantity = [3, n0, _WEUQ, 0, [_un, _am], [0, 1]];
1604
+ var BCMPricingCalculatorServiceException = [
1605
+ -3,
1606
+ _sm,
1607
+ "BCMPricingCalculatorServiceException",
1608
+ 0,
1609
+ [],
1610
+ [],
1611
+ ];
1612
+ schema.TypeRegistry.for(_sm).registerError(BCMPricingCalculatorServiceException, BCMPricingCalculatorServiceException$1);
1613
+ var BatchCreateBillScenarioCommitmentModificationEntries = [
1614
+ 1,
1615
+ n0,
1616
+ _BCBSCMEat,
1617
+ 0,
1618
+ () => BatchCreateBillScenarioCommitmentModificationEntry,
1619
+ ];
1620
+ var BatchCreateBillScenarioCommitmentModificationErrors = [
1621
+ 1,
1622
+ n0,
1623
+ _BCBSCMEatc,
1624
+ 0,
1625
+ () => BatchCreateBillScenarioCommitmentModificationError,
1626
+ ];
1627
+ var BatchCreateBillScenarioCommitmentModificationItems = [
1628
+ 1,
1629
+ n0,
1630
+ _BCBSCMIa,
1631
+ 0,
1632
+ () => BatchCreateBillScenarioCommitmentModificationItem,
1633
+ ];
1634
+ var BatchCreateBillScenarioUsageModificationEntries = [
1635
+ 1,
1636
+ n0,
1637
+ _BCBSUMEat,
1638
+ 0,
1639
+ () => BatchCreateBillScenarioUsageModificationEntry,
1640
+ ];
1641
+ var BatchCreateBillScenarioUsageModificationErrors = [
1642
+ 1,
1643
+ n0,
1644
+ _BCBSUMEatc,
1645
+ 0,
1646
+ () => BatchCreateBillScenarioUsageModificationError,
1647
+ ];
1648
+ var BatchCreateBillScenarioUsageModificationItems = [
1649
+ 1,
1650
+ n0,
1651
+ _BCBSUMIa,
1652
+ 0,
1653
+ () => BatchCreateBillScenarioUsageModificationItem,
1654
+ ];
1655
+ var BatchCreateWorkloadEstimateUsageEntries = [
1656
+ 1,
1657
+ n0,
1658
+ _BCWEUEat,
1659
+ 0,
1660
+ () => BatchCreateWorkloadEstimateUsageEntry,
1661
+ ];
1662
+ var BatchCreateWorkloadEstimateUsageErrors = [
1663
+ 1,
1664
+ n0,
1665
+ _BCWEUEatc,
1666
+ 0,
1667
+ () => BatchCreateWorkloadEstimateUsageError,
1668
+ ];
1669
+ var BatchCreateWorkloadEstimateUsageItems = [
1670
+ 1,
1671
+ n0,
1672
+ _BCWEUIa,
1673
+ 0,
1674
+ () => BatchCreateWorkloadEstimateUsageItem,
1675
+ ];
1676
+ var BatchDeleteBillScenarioCommitmentModificationErrors = [
1677
+ 1,
1678
+ n0,
1679
+ _BDBSCMEa,
1680
+ 0,
1681
+ () => BatchDeleteBillScenarioCommitmentModificationError,
1682
+ ];
1683
+ var BatchDeleteBillScenarioUsageModificationErrors = [
1684
+ 1,
1685
+ n0,
1686
+ _BDBSUMEa,
1687
+ 0,
1688
+ () => BatchDeleteBillScenarioUsageModificationError,
1689
+ ];
1690
+ var BatchDeleteWorkloadEstimateUsageErrors = [
1691
+ 1,
1692
+ n0,
1693
+ _BDWEUEa,
1694
+ 0,
1695
+ () => BatchDeleteWorkloadEstimateUsageError,
1696
+ ];
1697
+ var BatchUpdateBillScenarioCommitmentModificationEntries = [
1698
+ 1,
1699
+ n0,
1700
+ _BUBSCMEat,
1701
+ 0,
1702
+ () => BatchUpdateBillScenarioCommitmentModificationEntry,
1703
+ ];
1704
+ var BatchUpdateBillScenarioCommitmentModificationErrors = [
1705
+ 1,
1706
+ n0,
1707
+ _BUBSCMEatc,
1708
+ 0,
1709
+ () => BatchUpdateBillScenarioCommitmentModificationError,
1710
+ ];
1711
+ var BatchUpdateBillScenarioUsageModificationEntries = [
1712
+ 1,
1713
+ n0,
1714
+ _BUBSUMEat,
1715
+ 0,
1716
+ () => BatchUpdateBillScenarioUsageModificationEntry,
1717
+ ];
1718
+ var BatchUpdateBillScenarioUsageModificationErrors = [
1719
+ 1,
1720
+ n0,
1721
+ _BUBSUMEatc,
1722
+ 0,
1723
+ () => BatchUpdateBillScenarioUsageModificationError,
1724
+ ];
1725
+ var BatchUpdateWorkloadEstimateUsageEntries = [
1726
+ 1,
1727
+ n0,
1728
+ _BUWEUEat,
1729
+ 0,
1730
+ () => BatchUpdateWorkloadEstimateUsageEntry,
1731
+ ];
1732
+ var BatchUpdateWorkloadEstimateUsageErrors = [
1733
+ 1,
1734
+ n0,
1735
+ _BUWEUEatc,
1736
+ 0,
1737
+ () => BatchUpdateWorkloadEstimateUsageError,
1738
+ ];
1739
+ var BillEstimateCommitmentSummaries = [1, n0, _BECSil, 0, () => BillEstimateCommitmentSummary];
1740
+ var BillEstimateInputCommitmentModificationSummaries = [
1741
+ 1,
1742
+ n0,
1743
+ _BEICMSi,
1744
+ 0,
1745
+ () => BillEstimateInputCommitmentModificationSummary,
1746
+ ];
1747
+ var BillEstimateInputUsageModificationSummaries = [
1748
+ 1,
1749
+ n0,
1750
+ _BEIUMSi,
1751
+ 0,
1752
+ () => BillEstimateInputUsageModificationSummary,
1753
+ ];
1754
+ var BillEstimateLineItemSummaries = [1, n0, _BELISi, 0, () => BillEstimateLineItemSummary];
1755
+ var BillEstimateSummaries = [1, n0, _BESi, 0, () => BillEstimateSummary];
1756
+ var BillScenarioCommitmentModificationItems = [
1757
+ 1,
1758
+ n0,
1759
+ _BSCMIi,
1760
+ 0,
1761
+ () => BillScenarioCommitmentModificationItem,
1762
+ ];
1763
+ var BillScenarioSummaries = [1, n0, _BSSi, 0, () => BillScenarioSummary];
1764
+ var BillScenarioUsageModificationItems = [
1765
+ 1,
1766
+ n0,
1767
+ _BSUMIi,
1768
+ 0,
1769
+ () => BillScenarioUsageModificationItem,
1770
+ ];
1771
+ var ExpressionList = [1, n0, _EL, 0, () => Expression];
1772
+ var ListBillEstimateLineItemsFilters = [
1773
+ 1,
1774
+ n0,
1775
+ _LBELIFi,
1776
+ 0,
1777
+ () => ListBillEstimateLineItemsFilter,
1778
+ ];
1779
+ var ListBillEstimatesFilters = [1, n0, _LBEFi, 0, () => ListBillEstimatesFilter];
1780
+ var ListBillScenariosFilters = [1, n0, _LBSFi, 0, () => ListBillScenariosFilter];
1781
+ var ListUsageFilters = [1, n0, _LUFi, 0, () => ListUsageFilter];
1782
+ var ListWorkloadEstimatesFilters = [1, n0, _LWEFi, 0, () => ListWorkloadEstimatesFilter];
1783
+ var UsageAmounts = [1, n0, _UAs, 0, () => UsageAmount];
1784
+ var UsageQuantities = [1, n0, _UQs, 0, () => UsageQuantity];
1785
+ var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField];
1786
+ var WorkloadEstimateSummaries = [1, n0, _WESo, 0, () => WorkloadEstimateSummary];
1787
+ var WorkloadEstimateUsageItems = [1, n0, _WEUIo, 0, () => WorkloadEstimateUsageItem];
1788
+ var ServiceCostDifferenceMap = [2, n0, _SCDM, 0, 0, () => CostDifference];
1789
+ var BillScenarioCommitmentModificationAction = [
1790
+ 3,
1791
+ n0,
1792
+ _BSCMA,
1793
+ 0,
1794
+ [_aRIA, _aSPA, _nRIA, _nSPA],
1795
+ [
1796
+ () => AddReservedInstanceAction,
1797
+ () => AddSavingsPlanAction,
1798
+ () => NegateReservedInstanceAction,
1799
+ () => NegateSavingsPlanAction,
1800
+ ],
1801
+ ];
1802
+ var BatchCreateBillScenarioCommitmentModification = [
1803
+ 9,
1804
+ n0,
1805
+ _BCBSCM,
1806
+ 2,
1807
+ () => BatchCreateBillScenarioCommitmentModificationRequest,
1808
+ () => BatchCreateBillScenarioCommitmentModificationResponse,
1809
+ ];
1810
+ var BatchCreateBillScenarioUsageModification = [
1811
+ 9,
1812
+ n0,
1813
+ _BCBSUM,
1814
+ 2,
1815
+ () => BatchCreateBillScenarioUsageModificationRequest,
1816
+ () => BatchCreateBillScenarioUsageModificationResponse,
1817
+ ];
1818
+ var BatchCreateWorkloadEstimateUsage = [
1819
+ 9,
1820
+ n0,
1821
+ _BCWEU,
1822
+ 2,
1823
+ () => BatchCreateWorkloadEstimateUsageRequest,
1824
+ () => BatchCreateWorkloadEstimateUsageResponse,
1825
+ ];
1826
+ var BatchDeleteBillScenarioCommitmentModification = [
1827
+ 9,
1828
+ n0,
1829
+ _BDBSCM,
1830
+ 2,
1831
+ () => BatchDeleteBillScenarioCommitmentModificationRequest,
1832
+ () => BatchDeleteBillScenarioCommitmentModificationResponse,
1833
+ ];
1834
+ var BatchDeleteBillScenarioUsageModification = [
1835
+ 9,
1836
+ n0,
1837
+ _BDBSUM,
1838
+ 2,
1839
+ () => BatchDeleteBillScenarioUsageModificationRequest,
1840
+ () => BatchDeleteBillScenarioUsageModificationResponse,
1841
+ ];
1842
+ var BatchDeleteWorkloadEstimateUsage = [
1843
+ 9,
1844
+ n0,
1845
+ _BDWEU,
1846
+ 2,
1847
+ () => BatchDeleteWorkloadEstimateUsageRequest,
1848
+ () => BatchDeleteWorkloadEstimateUsageResponse,
1849
+ ];
1850
+ var BatchUpdateBillScenarioCommitmentModification = [
1851
+ 9,
1852
+ n0,
1853
+ _BUBSCM,
1854
+ 2,
1855
+ () => BatchUpdateBillScenarioCommitmentModificationRequest,
1856
+ () => BatchUpdateBillScenarioCommitmentModificationResponse,
1857
+ ];
1858
+ var BatchUpdateBillScenarioUsageModification = [
1859
+ 9,
1860
+ n0,
1861
+ _BUBSUM,
1862
+ 2,
1863
+ () => BatchUpdateBillScenarioUsageModificationRequest,
1864
+ () => BatchUpdateBillScenarioUsageModificationResponse,
1865
+ ];
1866
+ var BatchUpdateWorkloadEstimateUsage = [
1867
+ 9,
1868
+ n0,
1869
+ _BUWEU,
1870
+ 2,
1871
+ () => BatchUpdateWorkloadEstimateUsageRequest,
1872
+ () => BatchUpdateWorkloadEstimateUsageResponse,
1873
+ ];
1874
+ var CreateBillEstimate = [
1875
+ 9,
1876
+ n0,
1877
+ _CBE,
1878
+ 2,
1879
+ () => CreateBillEstimateRequest,
1880
+ () => CreateBillEstimateResponse,
1881
+ ];
1882
+ var CreateBillScenario = [
1883
+ 9,
1884
+ n0,
1885
+ _CBS,
1886
+ 2,
1887
+ () => CreateBillScenarioRequest,
1888
+ () => CreateBillScenarioResponse,
1889
+ ];
1890
+ var CreateWorkloadEstimate = [
1891
+ 9,
1892
+ n0,
1893
+ _CWE,
1894
+ 2,
1895
+ () => CreateWorkloadEstimateRequest,
1896
+ () => CreateWorkloadEstimateResponse,
1897
+ ];
1898
+ var DeleteBillEstimate = [
1899
+ 9,
1900
+ n0,
1901
+ _DBE,
1902
+ 2,
1903
+ () => DeleteBillEstimateRequest,
1904
+ () => DeleteBillEstimateResponse,
1905
+ ];
1906
+ var DeleteBillScenario = [
1907
+ 9,
1908
+ n0,
1909
+ _DBS,
1910
+ 2,
1911
+ () => DeleteBillScenarioRequest,
1912
+ () => DeleteBillScenarioResponse,
1913
+ ];
1914
+ var DeleteWorkloadEstimate = [
1915
+ 9,
1916
+ n0,
1917
+ _DWE,
1918
+ 2,
1919
+ () => DeleteWorkloadEstimateRequest,
1920
+ () => DeleteWorkloadEstimateResponse,
1921
+ ];
1922
+ var GetBillEstimate = [
1923
+ 9,
1924
+ n0,
1925
+ _GBE,
1926
+ 0,
1927
+ () => GetBillEstimateRequest,
1928
+ () => GetBillEstimateResponse,
1929
+ ];
1930
+ var GetBillScenario = [
1931
+ 9,
1932
+ n0,
1933
+ _GBS,
1934
+ 0,
1935
+ () => GetBillScenarioRequest,
1936
+ () => GetBillScenarioResponse,
1937
+ ];
1938
+ var GetPreferences = [
1939
+ 9,
1940
+ n0,
1941
+ _GP,
1942
+ 0,
1943
+ () => GetPreferencesRequest,
1944
+ () => GetPreferencesResponse,
1945
+ ];
1946
+ var GetWorkloadEstimate = [
1947
+ 9,
1948
+ n0,
1949
+ _GWE,
1950
+ 0,
1951
+ () => GetWorkloadEstimateRequest,
1952
+ () => GetWorkloadEstimateResponse,
1953
+ ];
1954
+ var ListBillEstimateCommitments = [
1955
+ 9,
1956
+ n0,
1957
+ _LBEC,
1958
+ 0,
1959
+ () => ListBillEstimateCommitmentsRequest,
1960
+ () => ListBillEstimateCommitmentsResponse,
1961
+ ];
1962
+ var ListBillEstimateInputCommitmentModifications = [
1963
+ 9,
1964
+ n0,
1965
+ _LBEICM,
1966
+ 0,
1967
+ () => ListBillEstimateInputCommitmentModificationsRequest,
1968
+ () => ListBillEstimateInputCommitmentModificationsResponse,
1969
+ ];
1970
+ var ListBillEstimateInputUsageModifications = [
1971
+ 9,
1972
+ n0,
1973
+ _LBEIUM,
1974
+ 0,
1975
+ () => ListBillEstimateInputUsageModificationsRequest,
1976
+ () => ListBillEstimateInputUsageModificationsResponse,
1977
+ ];
1978
+ var ListBillEstimateLineItems = [
1979
+ 9,
1980
+ n0,
1981
+ _LBELI,
1982
+ 0,
1983
+ () => ListBillEstimateLineItemsRequest,
1984
+ () => ListBillEstimateLineItemsResponse,
1985
+ ];
1986
+ var ListBillEstimates = [
1987
+ 9,
1988
+ n0,
1989
+ _LBE,
1990
+ 0,
1991
+ () => ListBillEstimatesRequest,
1992
+ () => ListBillEstimatesResponse,
1993
+ ];
1994
+ var ListBillScenarioCommitmentModifications = [
1995
+ 9,
1996
+ n0,
1997
+ _LBSCM,
1998
+ 0,
1999
+ () => ListBillScenarioCommitmentModificationsRequest,
2000
+ () => ListBillScenarioCommitmentModificationsResponse,
2001
+ ];
2002
+ var ListBillScenarios = [
2003
+ 9,
2004
+ n0,
2005
+ _LBS,
2006
+ 0,
2007
+ () => ListBillScenariosRequest,
2008
+ () => ListBillScenariosResponse,
2009
+ ];
2010
+ var ListBillScenarioUsageModifications = [
2011
+ 9,
2012
+ n0,
2013
+ _LBSUM,
2014
+ 0,
2015
+ () => ListBillScenarioUsageModificationsRequest,
2016
+ () => ListBillScenarioUsageModificationsResponse,
2017
+ ];
2018
+ var ListTagsForResource = [
2019
+ 9,
2020
+ n0,
2021
+ _LTFR,
2022
+ 0,
2023
+ () => ListTagsForResourceRequest,
2024
+ () => ListTagsForResourceResponse,
2025
+ ];
2026
+ var ListWorkloadEstimates = [
2027
+ 9,
2028
+ n0,
2029
+ _LWE,
2030
+ 0,
2031
+ () => ListWorkloadEstimatesRequest,
2032
+ () => ListWorkloadEstimatesResponse,
2033
+ ];
2034
+ var ListWorkloadEstimateUsage = [
2035
+ 9,
2036
+ n0,
2037
+ _LWEU,
2038
+ 0,
2039
+ () => ListWorkloadEstimateUsageRequest,
2040
+ () => ListWorkloadEstimateUsageResponse,
2041
+ ];
2042
+ var TagResource = [9, n0, _TR, 0, () => TagResourceRequest, () => TagResourceResponse];
2043
+ var UntagResource = [
2044
+ 9,
2045
+ n0,
2046
+ _UR,
2047
+ 0,
2048
+ () => UntagResourceRequest,
2049
+ () => UntagResourceResponse,
2050
+ ];
2051
+ var UpdateBillEstimate = [
2052
+ 9,
2053
+ n0,
2054
+ _UBE,
2055
+ 2,
2056
+ () => UpdateBillEstimateRequest,
2057
+ () => UpdateBillEstimateResponse,
2058
+ ];
2059
+ var UpdateBillScenario = [
2060
+ 9,
2061
+ n0,
2062
+ _UBS,
2063
+ 2,
2064
+ () => UpdateBillScenarioRequest,
2065
+ () => UpdateBillScenarioResponse,
2066
+ ];
2067
+ var UpdatePreferences = [
2068
+ 9,
2069
+ n0,
2070
+ _UP,
2071
+ 2,
2072
+ () => UpdatePreferencesRequest,
2073
+ () => UpdatePreferencesResponse,
2074
+ ];
2075
+ var UpdateWorkloadEstimate = [
2076
+ 9,
2077
+ n0,
2078
+ _UWE,
2079
+ 2,
2080
+ () => UpdateWorkloadEstimateRequest,
2081
+ () => UpdateWorkloadEstimateResponse,
2082
+ ];
2063
2083
 
2064
2084
  class BatchCreateBillScenarioCommitmentModificationCommand extends smithyClient.Command
2065
2085
  .classBuilder()
2066
2086
  .ep(commonParams)
2067
2087
  .m(function (Command, cs, config, o) {
2068
- return [
2069
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2070
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2071
- ];
2088
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2072
2089
  })
2073
2090
  .s("AWSBCMPricingCalculator", "BatchCreateBillScenarioCommitmentModification", {})
2074
2091
  .n("BCMPricingCalculatorClient", "BatchCreateBillScenarioCommitmentModificationCommand")
2075
- .f(void 0, void 0)
2076
- .ser(se_BatchCreateBillScenarioCommitmentModificationCommand)
2077
- .de(de_BatchCreateBillScenarioCommitmentModificationCommand)
2092
+ .sc(BatchCreateBillScenarioCommitmentModification)
2078
2093
  .build() {
2079
2094
  }
2080
2095
 
@@ -2082,16 +2097,11 @@ class BatchCreateBillScenarioUsageModificationCommand extends smithyClient.Comma
2082
2097
  .classBuilder()
2083
2098
  .ep(commonParams)
2084
2099
  .m(function (Command, cs, config, o) {
2085
- return [
2086
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2087
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2088
- ];
2100
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2089
2101
  })
2090
2102
  .s("AWSBCMPricingCalculator", "BatchCreateBillScenarioUsageModification", {})
2091
2103
  .n("BCMPricingCalculatorClient", "BatchCreateBillScenarioUsageModificationCommand")
2092
- .f(void 0, void 0)
2093
- .ser(se_BatchCreateBillScenarioUsageModificationCommand)
2094
- .de(de_BatchCreateBillScenarioUsageModificationCommand)
2104
+ .sc(BatchCreateBillScenarioUsageModification)
2095
2105
  .build() {
2096
2106
  }
2097
2107
 
@@ -2099,16 +2109,11 @@ class BatchCreateWorkloadEstimateUsageCommand extends smithyClient.Command
2099
2109
  .classBuilder()
2100
2110
  .ep(commonParams)
2101
2111
  .m(function (Command, cs, config, o) {
2102
- return [
2103
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2104
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2105
- ];
2112
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2106
2113
  })
2107
2114
  .s("AWSBCMPricingCalculator", "BatchCreateWorkloadEstimateUsage", {})
2108
2115
  .n("BCMPricingCalculatorClient", "BatchCreateWorkloadEstimateUsageCommand")
2109
- .f(void 0, void 0)
2110
- .ser(se_BatchCreateWorkloadEstimateUsageCommand)
2111
- .de(de_BatchCreateWorkloadEstimateUsageCommand)
2116
+ .sc(BatchCreateWorkloadEstimateUsage)
2112
2117
  .build() {
2113
2118
  }
2114
2119
 
@@ -2116,16 +2121,11 @@ class BatchDeleteBillScenarioCommitmentModificationCommand extends smithyClient.
2116
2121
  .classBuilder()
2117
2122
  .ep(commonParams)
2118
2123
  .m(function (Command, cs, config, o) {
2119
- return [
2120
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2121
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2122
- ];
2124
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2123
2125
  })
2124
2126
  .s("AWSBCMPricingCalculator", "BatchDeleteBillScenarioCommitmentModification", {})
2125
2127
  .n("BCMPricingCalculatorClient", "BatchDeleteBillScenarioCommitmentModificationCommand")
2126
- .f(void 0, void 0)
2127
- .ser(se_BatchDeleteBillScenarioCommitmentModificationCommand)
2128
- .de(de_BatchDeleteBillScenarioCommitmentModificationCommand)
2128
+ .sc(BatchDeleteBillScenarioCommitmentModification)
2129
2129
  .build() {
2130
2130
  }
2131
2131
 
@@ -2133,16 +2133,11 @@ class BatchDeleteBillScenarioUsageModificationCommand extends smithyClient.Comma
2133
2133
  .classBuilder()
2134
2134
  .ep(commonParams)
2135
2135
  .m(function (Command, cs, config, o) {
2136
- return [
2137
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2138
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2139
- ];
2136
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2140
2137
  })
2141
2138
  .s("AWSBCMPricingCalculator", "BatchDeleteBillScenarioUsageModification", {})
2142
2139
  .n("BCMPricingCalculatorClient", "BatchDeleteBillScenarioUsageModificationCommand")
2143
- .f(void 0, void 0)
2144
- .ser(se_BatchDeleteBillScenarioUsageModificationCommand)
2145
- .de(de_BatchDeleteBillScenarioUsageModificationCommand)
2140
+ .sc(BatchDeleteBillScenarioUsageModification)
2146
2141
  .build() {
2147
2142
  }
2148
2143
 
@@ -2150,16 +2145,11 @@ class BatchDeleteWorkloadEstimateUsageCommand extends smithyClient.Command
2150
2145
  .classBuilder()
2151
2146
  .ep(commonParams)
2152
2147
  .m(function (Command, cs, config, o) {
2153
- return [
2154
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2155
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2156
- ];
2148
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2157
2149
  })
2158
2150
  .s("AWSBCMPricingCalculator", "BatchDeleteWorkloadEstimateUsage", {})
2159
2151
  .n("BCMPricingCalculatorClient", "BatchDeleteWorkloadEstimateUsageCommand")
2160
- .f(void 0, void 0)
2161
- .ser(se_BatchDeleteWorkloadEstimateUsageCommand)
2162
- .de(de_BatchDeleteWorkloadEstimateUsageCommand)
2152
+ .sc(BatchDeleteWorkloadEstimateUsage)
2163
2153
  .build() {
2164
2154
  }
2165
2155
 
@@ -2167,16 +2157,11 @@ class BatchUpdateBillScenarioCommitmentModificationCommand extends smithyClient.
2167
2157
  .classBuilder()
2168
2158
  .ep(commonParams)
2169
2159
  .m(function (Command, cs, config, o) {
2170
- return [
2171
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2172
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2173
- ];
2160
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2174
2161
  })
2175
2162
  .s("AWSBCMPricingCalculator", "BatchUpdateBillScenarioCommitmentModification", {})
2176
2163
  .n("BCMPricingCalculatorClient", "BatchUpdateBillScenarioCommitmentModificationCommand")
2177
- .f(void 0, void 0)
2178
- .ser(se_BatchUpdateBillScenarioCommitmentModificationCommand)
2179
- .de(de_BatchUpdateBillScenarioCommitmentModificationCommand)
2164
+ .sc(BatchUpdateBillScenarioCommitmentModification)
2180
2165
  .build() {
2181
2166
  }
2182
2167
 
@@ -2184,16 +2169,11 @@ class BatchUpdateBillScenarioUsageModificationCommand extends smithyClient.Comma
2184
2169
  .classBuilder()
2185
2170
  .ep(commonParams)
2186
2171
  .m(function (Command, cs, config, o) {
2187
- return [
2188
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2189
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2190
- ];
2172
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2191
2173
  })
2192
2174
  .s("AWSBCMPricingCalculator", "BatchUpdateBillScenarioUsageModification", {})
2193
2175
  .n("BCMPricingCalculatorClient", "BatchUpdateBillScenarioUsageModificationCommand")
2194
- .f(void 0, void 0)
2195
- .ser(se_BatchUpdateBillScenarioUsageModificationCommand)
2196
- .de(de_BatchUpdateBillScenarioUsageModificationCommand)
2176
+ .sc(BatchUpdateBillScenarioUsageModification)
2197
2177
  .build() {
2198
2178
  }
2199
2179
 
@@ -2201,16 +2181,11 @@ class BatchUpdateWorkloadEstimateUsageCommand extends smithyClient.Command
2201
2181
  .classBuilder()
2202
2182
  .ep(commonParams)
2203
2183
  .m(function (Command, cs, config, o) {
2204
- return [
2205
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2206
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2207
- ];
2184
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2208
2185
  })
2209
2186
  .s("AWSBCMPricingCalculator", "BatchUpdateWorkloadEstimateUsage", {})
2210
2187
  .n("BCMPricingCalculatorClient", "BatchUpdateWorkloadEstimateUsageCommand")
2211
- .f(void 0, void 0)
2212
- .ser(se_BatchUpdateWorkloadEstimateUsageCommand)
2213
- .de(de_BatchUpdateWorkloadEstimateUsageCommand)
2188
+ .sc(BatchUpdateWorkloadEstimateUsage)
2214
2189
  .build() {
2215
2190
  }
2216
2191
 
@@ -2218,16 +2193,11 @@ class CreateBillEstimateCommand extends smithyClient.Command
2218
2193
  .classBuilder()
2219
2194
  .ep(commonParams)
2220
2195
  .m(function (Command, cs, config, o) {
2221
- return [
2222
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2223
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2224
- ];
2196
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2225
2197
  })
2226
2198
  .s("AWSBCMPricingCalculator", "CreateBillEstimate", {})
2227
2199
  .n("BCMPricingCalculatorClient", "CreateBillEstimateCommand")
2228
- .f(void 0, void 0)
2229
- .ser(se_CreateBillEstimateCommand)
2230
- .de(de_CreateBillEstimateCommand)
2200
+ .sc(CreateBillEstimate)
2231
2201
  .build() {
2232
2202
  }
2233
2203
 
@@ -2235,16 +2205,11 @@ class CreateBillScenarioCommand extends smithyClient.Command
2235
2205
  .classBuilder()
2236
2206
  .ep(commonParams)
2237
2207
  .m(function (Command, cs, config, o) {
2238
- return [
2239
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2240
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2241
- ];
2208
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2242
2209
  })
2243
2210
  .s("AWSBCMPricingCalculator", "CreateBillScenario", {})
2244
2211
  .n("BCMPricingCalculatorClient", "CreateBillScenarioCommand")
2245
- .f(void 0, void 0)
2246
- .ser(se_CreateBillScenarioCommand)
2247
- .de(de_CreateBillScenarioCommand)
2212
+ .sc(CreateBillScenario)
2248
2213
  .build() {
2249
2214
  }
2250
2215
 
@@ -2252,16 +2217,11 @@ class CreateWorkloadEstimateCommand extends smithyClient.Command
2252
2217
  .classBuilder()
2253
2218
  .ep(commonParams)
2254
2219
  .m(function (Command, cs, config, o) {
2255
- return [
2256
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2257
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2258
- ];
2220
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2259
2221
  })
2260
2222
  .s("AWSBCMPricingCalculator", "CreateWorkloadEstimate", {})
2261
2223
  .n("BCMPricingCalculatorClient", "CreateWorkloadEstimateCommand")
2262
- .f(void 0, void 0)
2263
- .ser(se_CreateWorkloadEstimateCommand)
2264
- .de(de_CreateWorkloadEstimateCommand)
2224
+ .sc(CreateWorkloadEstimate)
2265
2225
  .build() {
2266
2226
  }
2267
2227
 
@@ -2269,16 +2229,11 @@ class DeleteBillEstimateCommand extends smithyClient.Command
2269
2229
  .classBuilder()
2270
2230
  .ep(commonParams)
2271
2231
  .m(function (Command, cs, config, o) {
2272
- return [
2273
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2274
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2275
- ];
2232
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2276
2233
  })
2277
2234
  .s("AWSBCMPricingCalculator", "DeleteBillEstimate", {})
2278
2235
  .n("BCMPricingCalculatorClient", "DeleteBillEstimateCommand")
2279
- .f(void 0, void 0)
2280
- .ser(se_DeleteBillEstimateCommand)
2281
- .de(de_DeleteBillEstimateCommand)
2236
+ .sc(DeleteBillEstimate)
2282
2237
  .build() {
2283
2238
  }
2284
2239
 
@@ -2286,16 +2241,11 @@ class DeleteBillScenarioCommand extends smithyClient.Command
2286
2241
  .classBuilder()
2287
2242
  .ep(commonParams)
2288
2243
  .m(function (Command, cs, config, o) {
2289
- return [
2290
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2291
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2292
- ];
2244
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2293
2245
  })
2294
2246
  .s("AWSBCMPricingCalculator", "DeleteBillScenario", {})
2295
2247
  .n("BCMPricingCalculatorClient", "DeleteBillScenarioCommand")
2296
- .f(void 0, void 0)
2297
- .ser(se_DeleteBillScenarioCommand)
2298
- .de(de_DeleteBillScenarioCommand)
2248
+ .sc(DeleteBillScenario)
2299
2249
  .build() {
2300
2250
  }
2301
2251
 
@@ -2303,16 +2253,11 @@ class DeleteWorkloadEstimateCommand extends smithyClient.Command
2303
2253
  .classBuilder()
2304
2254
  .ep(commonParams)
2305
2255
  .m(function (Command, cs, config, o) {
2306
- return [
2307
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2308
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2309
- ];
2256
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2310
2257
  })
2311
2258
  .s("AWSBCMPricingCalculator", "DeleteWorkloadEstimate", {})
2312
2259
  .n("BCMPricingCalculatorClient", "DeleteWorkloadEstimateCommand")
2313
- .f(void 0, void 0)
2314
- .ser(se_DeleteWorkloadEstimateCommand)
2315
- .de(de_DeleteWorkloadEstimateCommand)
2260
+ .sc(DeleteWorkloadEstimate)
2316
2261
  .build() {
2317
2262
  }
2318
2263
 
@@ -2320,16 +2265,11 @@ class GetBillEstimateCommand extends smithyClient.Command
2320
2265
  .classBuilder()
2321
2266
  .ep(commonParams)
2322
2267
  .m(function (Command, cs, config, o) {
2323
- return [
2324
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2325
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2326
- ];
2268
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2327
2269
  })
2328
2270
  .s("AWSBCMPricingCalculator", "GetBillEstimate", {})
2329
2271
  .n("BCMPricingCalculatorClient", "GetBillEstimateCommand")
2330
- .f(void 0, void 0)
2331
- .ser(se_GetBillEstimateCommand)
2332
- .de(de_GetBillEstimateCommand)
2272
+ .sc(GetBillEstimate)
2333
2273
  .build() {
2334
2274
  }
2335
2275
 
@@ -2337,16 +2277,11 @@ class GetBillScenarioCommand extends smithyClient.Command
2337
2277
  .classBuilder()
2338
2278
  .ep(commonParams)
2339
2279
  .m(function (Command, cs, config, o) {
2340
- return [
2341
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2342
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2343
- ];
2280
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2344
2281
  })
2345
2282
  .s("AWSBCMPricingCalculator", "GetBillScenario", {})
2346
2283
  .n("BCMPricingCalculatorClient", "GetBillScenarioCommand")
2347
- .f(void 0, void 0)
2348
- .ser(se_GetBillScenarioCommand)
2349
- .de(de_GetBillScenarioCommand)
2284
+ .sc(GetBillScenario)
2350
2285
  .build() {
2351
2286
  }
2352
2287
 
@@ -2354,16 +2289,11 @@ class GetPreferencesCommand extends smithyClient.Command
2354
2289
  .classBuilder()
2355
2290
  .ep(commonParams)
2356
2291
  .m(function (Command, cs, config, o) {
2357
- return [
2358
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2359
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2360
- ];
2292
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2361
2293
  })
2362
2294
  .s("AWSBCMPricingCalculator", "GetPreferences", {})
2363
2295
  .n("BCMPricingCalculatorClient", "GetPreferencesCommand")
2364
- .f(void 0, void 0)
2365
- .ser(se_GetPreferencesCommand)
2366
- .de(de_GetPreferencesCommand)
2296
+ .sc(GetPreferences)
2367
2297
  .build() {
2368
2298
  }
2369
2299
 
@@ -2371,16 +2301,11 @@ class GetWorkloadEstimateCommand extends smithyClient.Command
2371
2301
  .classBuilder()
2372
2302
  .ep(commonParams)
2373
2303
  .m(function (Command, cs, config, o) {
2374
- return [
2375
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2376
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2377
- ];
2304
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2378
2305
  })
2379
2306
  .s("AWSBCMPricingCalculator", "GetWorkloadEstimate", {})
2380
2307
  .n("BCMPricingCalculatorClient", "GetWorkloadEstimateCommand")
2381
- .f(void 0, void 0)
2382
- .ser(se_GetWorkloadEstimateCommand)
2383
- .de(de_GetWorkloadEstimateCommand)
2308
+ .sc(GetWorkloadEstimate)
2384
2309
  .build() {
2385
2310
  }
2386
2311
 
@@ -2388,16 +2313,11 @@ class ListBillEstimateCommitmentsCommand extends smithyClient.Command
2388
2313
  .classBuilder()
2389
2314
  .ep(commonParams)
2390
2315
  .m(function (Command, cs, config, o) {
2391
- return [
2392
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2393
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2394
- ];
2316
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2395
2317
  })
2396
2318
  .s("AWSBCMPricingCalculator", "ListBillEstimateCommitments", {})
2397
2319
  .n("BCMPricingCalculatorClient", "ListBillEstimateCommitmentsCommand")
2398
- .f(void 0, void 0)
2399
- .ser(se_ListBillEstimateCommitmentsCommand)
2400
- .de(de_ListBillEstimateCommitmentsCommand)
2320
+ .sc(ListBillEstimateCommitments)
2401
2321
  .build() {
2402
2322
  }
2403
2323
 
@@ -2405,16 +2325,11 @@ class ListBillEstimateInputCommitmentModificationsCommand extends smithyClient.C
2405
2325
  .classBuilder()
2406
2326
  .ep(commonParams)
2407
2327
  .m(function (Command, cs, config, o) {
2408
- return [
2409
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2410
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2411
- ];
2328
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2412
2329
  })
2413
2330
  .s("AWSBCMPricingCalculator", "ListBillEstimateInputCommitmentModifications", {})
2414
2331
  .n("BCMPricingCalculatorClient", "ListBillEstimateInputCommitmentModificationsCommand")
2415
- .f(void 0, void 0)
2416
- .ser(se_ListBillEstimateInputCommitmentModificationsCommand)
2417
- .de(de_ListBillEstimateInputCommitmentModificationsCommand)
2332
+ .sc(ListBillEstimateInputCommitmentModifications)
2418
2333
  .build() {
2419
2334
  }
2420
2335
 
@@ -2422,16 +2337,11 @@ class ListBillEstimateInputUsageModificationsCommand extends smithyClient.Comman
2422
2337
  .classBuilder()
2423
2338
  .ep(commonParams)
2424
2339
  .m(function (Command, cs, config, o) {
2425
- return [
2426
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2427
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2428
- ];
2340
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2429
2341
  })
2430
2342
  .s("AWSBCMPricingCalculator", "ListBillEstimateInputUsageModifications", {})
2431
2343
  .n("BCMPricingCalculatorClient", "ListBillEstimateInputUsageModificationsCommand")
2432
- .f(void 0, void 0)
2433
- .ser(se_ListBillEstimateInputUsageModificationsCommand)
2434
- .de(de_ListBillEstimateInputUsageModificationsCommand)
2344
+ .sc(ListBillEstimateInputUsageModifications)
2435
2345
  .build() {
2436
2346
  }
2437
2347
 
@@ -2439,16 +2349,11 @@ class ListBillEstimateLineItemsCommand extends smithyClient.Command
2439
2349
  .classBuilder()
2440
2350
  .ep(commonParams)
2441
2351
  .m(function (Command, cs, config, o) {
2442
- return [
2443
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2444
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2445
- ];
2352
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2446
2353
  })
2447
2354
  .s("AWSBCMPricingCalculator", "ListBillEstimateLineItems", {})
2448
2355
  .n("BCMPricingCalculatorClient", "ListBillEstimateLineItemsCommand")
2449
- .f(void 0, void 0)
2450
- .ser(se_ListBillEstimateLineItemsCommand)
2451
- .de(de_ListBillEstimateLineItemsCommand)
2356
+ .sc(ListBillEstimateLineItems)
2452
2357
  .build() {
2453
2358
  }
2454
2359
 
@@ -2456,16 +2361,11 @@ class ListBillEstimatesCommand extends smithyClient.Command
2456
2361
  .classBuilder()
2457
2362
  .ep(commonParams)
2458
2363
  .m(function (Command, cs, config, o) {
2459
- return [
2460
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2461
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2462
- ];
2364
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2463
2365
  })
2464
2366
  .s("AWSBCMPricingCalculator", "ListBillEstimates", {})
2465
2367
  .n("BCMPricingCalculatorClient", "ListBillEstimatesCommand")
2466
- .f(void 0, void 0)
2467
- .ser(se_ListBillEstimatesCommand)
2468
- .de(de_ListBillEstimatesCommand)
2368
+ .sc(ListBillEstimates)
2469
2369
  .build() {
2470
2370
  }
2471
2371
 
@@ -2473,16 +2373,11 @@ class ListBillScenarioCommitmentModificationsCommand extends smithyClient.Comman
2473
2373
  .classBuilder()
2474
2374
  .ep(commonParams)
2475
2375
  .m(function (Command, cs, config, o) {
2476
- return [
2477
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2478
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2479
- ];
2376
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2480
2377
  })
2481
2378
  .s("AWSBCMPricingCalculator", "ListBillScenarioCommitmentModifications", {})
2482
2379
  .n("BCMPricingCalculatorClient", "ListBillScenarioCommitmentModificationsCommand")
2483
- .f(void 0, void 0)
2484
- .ser(se_ListBillScenarioCommitmentModificationsCommand)
2485
- .de(de_ListBillScenarioCommitmentModificationsCommand)
2380
+ .sc(ListBillScenarioCommitmentModifications)
2486
2381
  .build() {
2487
2382
  }
2488
2383
 
@@ -2490,16 +2385,11 @@ class ListBillScenariosCommand extends smithyClient.Command
2490
2385
  .classBuilder()
2491
2386
  .ep(commonParams)
2492
2387
  .m(function (Command, cs, config, o) {
2493
- return [
2494
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2495
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2496
- ];
2388
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2497
2389
  })
2498
2390
  .s("AWSBCMPricingCalculator", "ListBillScenarios", {})
2499
2391
  .n("BCMPricingCalculatorClient", "ListBillScenariosCommand")
2500
- .f(void 0, void 0)
2501
- .ser(se_ListBillScenariosCommand)
2502
- .de(de_ListBillScenariosCommand)
2392
+ .sc(ListBillScenarios)
2503
2393
  .build() {
2504
2394
  }
2505
2395
 
@@ -2507,16 +2397,11 @@ class ListBillScenarioUsageModificationsCommand extends smithyClient.Command
2507
2397
  .classBuilder()
2508
2398
  .ep(commonParams)
2509
2399
  .m(function (Command, cs, config, o) {
2510
- return [
2511
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2512
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2513
- ];
2400
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2514
2401
  })
2515
2402
  .s("AWSBCMPricingCalculator", "ListBillScenarioUsageModifications", {})
2516
2403
  .n("BCMPricingCalculatorClient", "ListBillScenarioUsageModificationsCommand")
2517
- .f(void 0, void 0)
2518
- .ser(se_ListBillScenarioUsageModificationsCommand)
2519
- .de(de_ListBillScenarioUsageModificationsCommand)
2404
+ .sc(ListBillScenarioUsageModifications)
2520
2405
  .build() {
2521
2406
  }
2522
2407
 
@@ -2524,16 +2409,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
2524
2409
  .classBuilder()
2525
2410
  .ep(commonParams)
2526
2411
  .m(function (Command, cs, config, o) {
2527
- return [
2528
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2529
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2530
- ];
2412
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2531
2413
  })
2532
2414
  .s("AWSBCMPricingCalculator", "ListTagsForResource", {})
2533
2415
  .n("BCMPricingCalculatorClient", "ListTagsForResourceCommand")
2534
- .f(void 0, void 0)
2535
- .ser(se_ListTagsForResourceCommand)
2536
- .de(de_ListTagsForResourceCommand)
2416
+ .sc(ListTagsForResource)
2537
2417
  .build() {
2538
2418
  }
2539
2419
 
@@ -2541,16 +2421,11 @@ class ListWorkloadEstimatesCommand extends smithyClient.Command
2541
2421
  .classBuilder()
2542
2422
  .ep(commonParams)
2543
2423
  .m(function (Command, cs, config, o) {
2544
- return [
2545
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2546
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2547
- ];
2424
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2548
2425
  })
2549
2426
  .s("AWSBCMPricingCalculator", "ListWorkloadEstimates", {})
2550
2427
  .n("BCMPricingCalculatorClient", "ListWorkloadEstimatesCommand")
2551
- .f(void 0, void 0)
2552
- .ser(se_ListWorkloadEstimatesCommand)
2553
- .de(de_ListWorkloadEstimatesCommand)
2428
+ .sc(ListWorkloadEstimates)
2554
2429
  .build() {
2555
2430
  }
2556
2431
 
@@ -2558,16 +2433,11 @@ class ListWorkloadEstimateUsageCommand extends smithyClient.Command
2558
2433
  .classBuilder()
2559
2434
  .ep(commonParams)
2560
2435
  .m(function (Command, cs, config, o) {
2561
- return [
2562
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2563
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2564
- ];
2436
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2565
2437
  })
2566
2438
  .s("AWSBCMPricingCalculator", "ListWorkloadEstimateUsage", {})
2567
2439
  .n("BCMPricingCalculatorClient", "ListWorkloadEstimateUsageCommand")
2568
- .f(void 0, void 0)
2569
- .ser(se_ListWorkloadEstimateUsageCommand)
2570
- .de(de_ListWorkloadEstimateUsageCommand)
2440
+ .sc(ListWorkloadEstimateUsage)
2571
2441
  .build() {
2572
2442
  }
2573
2443
 
@@ -2575,16 +2445,11 @@ class TagResourceCommand extends smithyClient.Command
2575
2445
  .classBuilder()
2576
2446
  .ep(commonParams)
2577
2447
  .m(function (Command, cs, config, o) {
2578
- return [
2579
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2580
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2581
- ];
2448
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2582
2449
  })
2583
2450
  .s("AWSBCMPricingCalculator", "TagResource", {})
2584
2451
  .n("BCMPricingCalculatorClient", "TagResourceCommand")
2585
- .f(void 0, void 0)
2586
- .ser(se_TagResourceCommand)
2587
- .de(de_TagResourceCommand)
2452
+ .sc(TagResource)
2588
2453
  .build() {
2589
2454
  }
2590
2455
 
@@ -2592,16 +2457,11 @@ class UntagResourceCommand extends smithyClient.Command
2592
2457
  .classBuilder()
2593
2458
  .ep(commonParams)
2594
2459
  .m(function (Command, cs, config, o) {
2595
- return [
2596
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2597
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2598
- ];
2460
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2599
2461
  })
2600
2462
  .s("AWSBCMPricingCalculator", "UntagResource", {})
2601
2463
  .n("BCMPricingCalculatorClient", "UntagResourceCommand")
2602
- .f(void 0, void 0)
2603
- .ser(se_UntagResourceCommand)
2604
- .de(de_UntagResourceCommand)
2464
+ .sc(UntagResource)
2605
2465
  .build() {
2606
2466
  }
2607
2467
 
@@ -2609,16 +2469,11 @@ class UpdateBillEstimateCommand extends smithyClient.Command
2609
2469
  .classBuilder()
2610
2470
  .ep(commonParams)
2611
2471
  .m(function (Command, cs, config, o) {
2612
- return [
2613
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2614
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2615
- ];
2472
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2616
2473
  })
2617
2474
  .s("AWSBCMPricingCalculator", "UpdateBillEstimate", {})
2618
2475
  .n("BCMPricingCalculatorClient", "UpdateBillEstimateCommand")
2619
- .f(void 0, void 0)
2620
- .ser(se_UpdateBillEstimateCommand)
2621
- .de(de_UpdateBillEstimateCommand)
2476
+ .sc(UpdateBillEstimate)
2622
2477
  .build() {
2623
2478
  }
2624
2479
 
@@ -2626,16 +2481,11 @@ class UpdateBillScenarioCommand extends smithyClient.Command
2626
2481
  .classBuilder()
2627
2482
  .ep(commonParams)
2628
2483
  .m(function (Command, cs, config, o) {
2629
- return [
2630
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2631
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2632
- ];
2484
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2633
2485
  })
2634
2486
  .s("AWSBCMPricingCalculator", "UpdateBillScenario", {})
2635
2487
  .n("BCMPricingCalculatorClient", "UpdateBillScenarioCommand")
2636
- .f(void 0, void 0)
2637
- .ser(se_UpdateBillScenarioCommand)
2638
- .de(de_UpdateBillScenarioCommand)
2488
+ .sc(UpdateBillScenario)
2639
2489
  .build() {
2640
2490
  }
2641
2491
 
@@ -2643,16 +2493,11 @@ class UpdatePreferencesCommand extends smithyClient.Command
2643
2493
  .classBuilder()
2644
2494
  .ep(commonParams)
2645
2495
  .m(function (Command, cs, config, o) {
2646
- return [
2647
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2648
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2649
- ];
2496
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2650
2497
  })
2651
2498
  .s("AWSBCMPricingCalculator", "UpdatePreferences", {})
2652
2499
  .n("BCMPricingCalculatorClient", "UpdatePreferencesCommand")
2653
- .f(void 0, void 0)
2654
- .ser(se_UpdatePreferencesCommand)
2655
- .de(de_UpdatePreferencesCommand)
2500
+ .sc(UpdatePreferences)
2656
2501
  .build() {
2657
2502
  }
2658
2503
 
@@ -2660,16 +2505,11 @@ class UpdateWorkloadEstimateCommand extends smithyClient.Command
2660
2505
  .classBuilder()
2661
2506
  .ep(commonParams)
2662
2507
  .m(function (Command, cs, config, o) {
2663
- return [
2664
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2665
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2666
- ];
2508
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2667
2509
  })
2668
2510
  .s("AWSBCMPricingCalculator", "UpdateWorkloadEstimate", {})
2669
2511
  .n("BCMPricingCalculatorClient", "UpdateWorkloadEstimateCommand")
2670
- .f(void 0, void 0)
2671
- .ser(se_UpdateWorkloadEstimateCommand)
2672
- .de(de_UpdateWorkloadEstimateCommand)
2512
+ .sc(UpdateWorkloadEstimate)
2673
2513
  .build() {
2674
2514
  }
2675
2515
 
@@ -2743,10 +2583,10 @@ Object.defineProperty(exports, "__Client", {
2743
2583
  enumerable: true,
2744
2584
  get: function () { return smithyClient.Client; }
2745
2585
  });
2746
- exports.AccessDeniedException = AccessDeniedException;
2586
+ exports.AccessDeniedException = AccessDeniedException$1;
2747
2587
  exports.BCMPricingCalculator = BCMPricingCalculator;
2748
2588
  exports.BCMPricingCalculatorClient = BCMPricingCalculatorClient;
2749
- exports.BCMPricingCalculatorServiceException = BCMPricingCalculatorServiceException;
2589
+ exports.BCMPricingCalculatorServiceException = BCMPricingCalculatorServiceException$1;
2750
2590
  exports.BatchCreateBillScenarioCommitmentModificationCommand = BatchCreateBillScenarioCommitmentModificationCommand;
2751
2591
  exports.BatchCreateBillScenarioCommitmentModificationErrorCode = BatchCreateBillScenarioCommitmentModificationErrorCode;
2752
2592
  exports.BatchCreateBillScenarioUsageModificationCommand = BatchCreateBillScenarioUsageModificationCommand;
@@ -2765,12 +2605,12 @@ exports.BatchUpdateBillScenarioUsageModificationErrorCode = BatchUpdateBillScena
2765
2605
  exports.BatchUpdateWorkloadEstimateUsageCommand = BatchUpdateWorkloadEstimateUsageCommand;
2766
2606
  exports.BillEstimateStatus = BillEstimateStatus;
2767
2607
  exports.BillScenarioStatus = BillScenarioStatus;
2768
- exports.ConflictException = ConflictException;
2608
+ exports.ConflictException = ConflictException$1;
2769
2609
  exports.CreateBillEstimateCommand = CreateBillEstimateCommand;
2770
2610
  exports.CreateBillScenarioCommand = CreateBillScenarioCommand;
2771
2611
  exports.CreateWorkloadEstimateCommand = CreateWorkloadEstimateCommand;
2772
2612
  exports.CurrencyCode = CurrencyCode;
2773
- exports.DataUnavailableException = DataUnavailableException;
2613
+ exports.DataUnavailableException = DataUnavailableException$1;
2774
2614
  exports.DeleteBillEstimateCommand = DeleteBillEstimateCommand;
2775
2615
  exports.DeleteBillScenarioCommand = DeleteBillScenarioCommand;
2776
2616
  exports.DeleteWorkloadEstimateCommand = DeleteWorkloadEstimateCommand;
@@ -2778,7 +2618,7 @@ exports.GetBillEstimateCommand = GetBillEstimateCommand;
2778
2618
  exports.GetBillScenarioCommand = GetBillScenarioCommand;
2779
2619
  exports.GetPreferencesCommand = GetPreferencesCommand;
2780
2620
  exports.GetWorkloadEstimateCommand = GetWorkloadEstimateCommand;
2781
- exports.InternalServerException = InternalServerException;
2621
+ exports.InternalServerException = InternalServerException$1;
2782
2622
  exports.ListBillEstimateCommitmentsCommand = ListBillEstimateCommitmentsCommand;
2783
2623
  exports.ListBillEstimateInputCommitmentModificationsCommand = ListBillEstimateInputCommitmentModificationsCommand;
2784
2624
  exports.ListBillEstimateInputUsageModificationsCommand = ListBillEstimateInputUsageModificationsCommand;
@@ -2798,16 +2638,16 @@ exports.ListWorkloadEstimatesFilterName = ListWorkloadEstimatesFilterName;
2798
2638
  exports.MatchOption = MatchOption;
2799
2639
  exports.PurchaseAgreementType = PurchaseAgreementType;
2800
2640
  exports.RateType = RateType;
2801
- exports.ResourceNotFoundException = ResourceNotFoundException;
2802
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
2641
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
2642
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
2803
2643
  exports.TagResourceCommand = TagResourceCommand;
2804
- exports.ThrottlingException = ThrottlingException;
2644
+ exports.ThrottlingException = ThrottlingException$1;
2805
2645
  exports.UntagResourceCommand = UntagResourceCommand;
2806
2646
  exports.UpdateBillEstimateCommand = UpdateBillEstimateCommand;
2807
2647
  exports.UpdateBillScenarioCommand = UpdateBillScenarioCommand;
2808
2648
  exports.UpdatePreferencesCommand = UpdatePreferencesCommand;
2809
2649
  exports.UpdateWorkloadEstimateCommand = UpdateWorkloadEstimateCommand;
2810
- exports.ValidationException = ValidationException;
2650
+ exports.ValidationException = ValidationException$1;
2811
2651
  exports.ValidationExceptionReason = ValidationExceptionReason;
2812
2652
  exports.WorkloadEstimateCostStatus = WorkloadEstimateCostStatus;
2813
2653
  exports.WorkloadEstimateRateType = WorkloadEstimateRateType;