@aws-sdk/client-bcm-pricing-calculator 3.893.0 → 3.894.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 (61) hide show
  1. package/dist-cjs/index.js +3001 -10
  2. package/package.json +6 -6
  3. package/dist-cjs/BCMPricingCalculator.js +0 -83
  4. package/dist-cjs/BCMPricingCalculatorClient.js +0 -52
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -43
  6. package/dist-cjs/commands/BatchCreateBillScenarioCommitmentModificationCommand.js +0 -26
  7. package/dist-cjs/commands/BatchCreateBillScenarioUsageModificationCommand.js +0 -26
  8. package/dist-cjs/commands/BatchCreateWorkloadEstimateUsageCommand.js +0 -26
  9. package/dist-cjs/commands/BatchDeleteBillScenarioCommitmentModificationCommand.js +0 -26
  10. package/dist-cjs/commands/BatchDeleteBillScenarioUsageModificationCommand.js +0 -26
  11. package/dist-cjs/commands/BatchDeleteWorkloadEstimateUsageCommand.js +0 -26
  12. package/dist-cjs/commands/BatchUpdateBillScenarioCommitmentModificationCommand.js +0 -26
  13. package/dist-cjs/commands/BatchUpdateBillScenarioUsageModificationCommand.js +0 -26
  14. package/dist-cjs/commands/BatchUpdateWorkloadEstimateUsageCommand.js +0 -26
  15. package/dist-cjs/commands/CreateBillEstimateCommand.js +0 -26
  16. package/dist-cjs/commands/CreateBillScenarioCommand.js +0 -26
  17. package/dist-cjs/commands/CreateWorkloadEstimateCommand.js +0 -26
  18. package/dist-cjs/commands/DeleteBillEstimateCommand.js +0 -26
  19. package/dist-cjs/commands/DeleteBillScenarioCommand.js +0 -26
  20. package/dist-cjs/commands/DeleteWorkloadEstimateCommand.js +0 -26
  21. package/dist-cjs/commands/GetBillEstimateCommand.js +0 -26
  22. package/dist-cjs/commands/GetBillScenarioCommand.js +0 -26
  23. package/dist-cjs/commands/GetPreferencesCommand.js +0 -26
  24. package/dist-cjs/commands/GetWorkloadEstimateCommand.js +0 -26
  25. package/dist-cjs/commands/ListBillEstimateCommitmentsCommand.js +0 -26
  26. package/dist-cjs/commands/ListBillEstimateInputCommitmentModificationsCommand.js +0 -26
  27. package/dist-cjs/commands/ListBillEstimateInputUsageModificationsCommand.js +0 -26
  28. package/dist-cjs/commands/ListBillEstimateLineItemsCommand.js +0 -26
  29. package/dist-cjs/commands/ListBillEstimatesCommand.js +0 -26
  30. package/dist-cjs/commands/ListBillScenarioCommitmentModificationsCommand.js +0 -26
  31. package/dist-cjs/commands/ListBillScenarioUsageModificationsCommand.js +0 -26
  32. package/dist-cjs/commands/ListBillScenariosCommand.js +0 -26
  33. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -26
  34. package/dist-cjs/commands/ListWorkloadEstimateUsageCommand.js +0 -26
  35. package/dist-cjs/commands/ListWorkloadEstimatesCommand.js +0 -26
  36. package/dist-cjs/commands/TagResourceCommand.js +0 -26
  37. package/dist-cjs/commands/UntagResourceCommand.js +0 -26
  38. package/dist-cjs/commands/UpdateBillEstimateCommand.js +0 -26
  39. package/dist-cjs/commands/UpdateBillScenarioCommand.js +0 -26
  40. package/dist-cjs/commands/UpdatePreferencesCommand.js +0 -26
  41. package/dist-cjs/commands/UpdateWorkloadEstimateCommand.js +0 -26
  42. package/dist-cjs/commands/index.js +0 -39
  43. package/dist-cjs/endpoint/EndpointParameters.js +0 -15
  44. package/dist-cjs/extensionConfiguration.js +0 -2
  45. package/dist-cjs/models/BCMPricingCalculatorServiceException.js +0 -12
  46. package/dist-cjs/models/index.js +0 -4
  47. package/dist-cjs/models/models_0.js +0 -280
  48. package/dist-cjs/pagination/Interfaces.js +0 -2
  49. package/dist-cjs/pagination/ListBillEstimateCommitmentsPaginator.js +0 -7
  50. package/dist-cjs/pagination/ListBillEstimateInputCommitmentModificationsPaginator.js +0 -7
  51. package/dist-cjs/pagination/ListBillEstimateInputUsageModificationsPaginator.js +0 -7
  52. package/dist-cjs/pagination/ListBillEstimateLineItemsPaginator.js +0 -7
  53. package/dist-cjs/pagination/ListBillEstimatesPaginator.js +0 -7
  54. package/dist-cjs/pagination/ListBillScenarioCommitmentModificationsPaginator.js +0 -7
  55. package/dist-cjs/pagination/ListBillScenarioUsageModificationsPaginator.js +0 -7
  56. package/dist-cjs/pagination/ListBillScenariosPaginator.js +0 -7
  57. package/dist-cjs/pagination/ListWorkloadEstimateUsagePaginator.js +0 -7
  58. package/dist-cjs/pagination/ListWorkloadEstimatesPaginator.js +0 -7
  59. package/dist-cjs/pagination/index.js +0 -14
  60. package/dist-cjs/protocols/Aws_json1_0.js +0 -1761
  61. package/dist-cjs/runtimeExtensions.js +0 -13
package/dist-cjs/index.js CHANGED
@@ -1,11 +1,3002 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BCMPricingCalculatorServiceException = void 0;
4
- const tslib_1 = require("tslib");
5
- tslib_1.__exportStar(require("./BCMPricingCalculatorClient"), exports);
6
- tslib_1.__exportStar(require("./BCMPricingCalculator"), exports);
7
- tslib_1.__exportStar(require("./commands"), exports);
8
- tslib_1.__exportStar(require("./pagination"), exports);
9
- tslib_1.__exportStar(require("./models"), exports);
10
- var BCMPricingCalculatorServiceException_1 = require("./models/BCMPricingCalculatorServiceException");
11
- Object.defineProperty(exports, "BCMPricingCalculatorServiceException", { enumerable: true, get: function () { return BCMPricingCalculatorServiceException_1.BCMPricingCalculatorServiceException; } });
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+
21
+ // src/index.ts
22
+ var index_exports = {};
23
+ __export(index_exports, {
24
+ AccessDeniedException: () => AccessDeniedException,
25
+ BCMPricingCalculator: () => BCMPricingCalculator,
26
+ BCMPricingCalculatorClient: () => BCMPricingCalculatorClient,
27
+ BCMPricingCalculatorServiceException: () => BCMPricingCalculatorServiceException,
28
+ BatchCreateBillScenarioCommitmentModificationCommand: () => BatchCreateBillScenarioCommitmentModificationCommand,
29
+ BatchCreateBillScenarioCommitmentModificationErrorCode: () => BatchCreateBillScenarioCommitmentModificationErrorCode,
30
+ BatchCreateBillScenarioUsageModificationCommand: () => BatchCreateBillScenarioUsageModificationCommand,
31
+ BatchCreateBillScenarioUsageModificationErrorCode: () => BatchCreateBillScenarioUsageModificationErrorCode,
32
+ BatchCreateWorkloadEstimateUsageCode: () => BatchCreateWorkloadEstimateUsageCode,
33
+ BatchCreateWorkloadEstimateUsageCommand: () => BatchCreateWorkloadEstimateUsageCommand,
34
+ BatchDeleteBillScenarioCommitmentModificationCommand: () => BatchDeleteBillScenarioCommitmentModificationCommand,
35
+ BatchDeleteBillScenarioCommitmentModificationErrorCode: () => BatchDeleteBillScenarioCommitmentModificationErrorCode,
36
+ BatchDeleteBillScenarioUsageModificationCommand: () => BatchDeleteBillScenarioUsageModificationCommand,
37
+ BatchDeleteBillScenarioUsageModificationErrorCode: () => BatchDeleteBillScenarioUsageModificationErrorCode,
38
+ BatchDeleteWorkloadEstimateUsageCommand: () => BatchDeleteWorkloadEstimateUsageCommand,
39
+ BatchUpdateBillScenarioCommitmentModificationCommand: () => BatchUpdateBillScenarioCommitmentModificationCommand,
40
+ BatchUpdateBillScenarioCommitmentModificationErrorCode: () => BatchUpdateBillScenarioCommitmentModificationErrorCode,
41
+ BatchUpdateBillScenarioUsageModificationCommand: () => BatchUpdateBillScenarioUsageModificationCommand,
42
+ BatchUpdateBillScenarioUsageModificationErrorCode: () => BatchUpdateBillScenarioUsageModificationErrorCode,
43
+ BatchUpdateWorkloadEstimateUsageCommand: () => BatchUpdateWorkloadEstimateUsageCommand,
44
+ BillEstimateStatus: () => BillEstimateStatus,
45
+ BillScenarioCommitmentModificationAction: () => BillScenarioCommitmentModificationAction,
46
+ BillScenarioStatus: () => BillScenarioStatus,
47
+ ConflictException: () => ConflictException,
48
+ CreateBillEstimateCommand: () => CreateBillEstimateCommand,
49
+ CreateBillScenarioCommand: () => CreateBillScenarioCommand,
50
+ CreateWorkloadEstimateCommand: () => CreateWorkloadEstimateCommand,
51
+ CurrencyCode: () => CurrencyCode,
52
+ DataUnavailableException: () => DataUnavailableException,
53
+ DeleteBillEstimateCommand: () => DeleteBillEstimateCommand,
54
+ DeleteBillScenarioCommand: () => DeleteBillScenarioCommand,
55
+ DeleteWorkloadEstimateCommand: () => DeleteWorkloadEstimateCommand,
56
+ GetBillEstimateCommand: () => GetBillEstimateCommand,
57
+ GetBillScenarioCommand: () => GetBillScenarioCommand,
58
+ GetPreferencesCommand: () => GetPreferencesCommand,
59
+ GetWorkloadEstimateCommand: () => GetWorkloadEstimateCommand,
60
+ InternalServerException: () => InternalServerException,
61
+ ListBillEstimateCommitmentsCommand: () => ListBillEstimateCommitmentsCommand,
62
+ ListBillEstimateInputCommitmentModificationsCommand: () => ListBillEstimateInputCommitmentModificationsCommand,
63
+ ListBillEstimateInputUsageModificationsCommand: () => ListBillEstimateInputUsageModificationsCommand,
64
+ ListBillEstimateLineItemsCommand: () => ListBillEstimateLineItemsCommand,
65
+ ListBillEstimateLineItemsFilterName: () => ListBillEstimateLineItemsFilterName,
66
+ ListBillEstimatesCommand: () => ListBillEstimatesCommand,
67
+ ListBillEstimatesFilterName: () => ListBillEstimatesFilterName,
68
+ ListBillScenarioCommitmentModificationsCommand: () => ListBillScenarioCommitmentModificationsCommand,
69
+ ListBillScenarioUsageModificationsCommand: () => ListBillScenarioUsageModificationsCommand,
70
+ ListBillScenariosCommand: () => ListBillScenariosCommand,
71
+ ListBillScenariosFilterName: () => ListBillScenariosFilterName,
72
+ ListTagsForResourceCommand: () => ListTagsForResourceCommand,
73
+ ListUsageFilterName: () => ListUsageFilterName,
74
+ ListWorkloadEstimateUsageCommand: () => ListWorkloadEstimateUsageCommand,
75
+ ListWorkloadEstimatesCommand: () => ListWorkloadEstimatesCommand,
76
+ ListWorkloadEstimatesFilterName: () => ListWorkloadEstimatesFilterName,
77
+ MatchOption: () => MatchOption,
78
+ PurchaseAgreementType: () => PurchaseAgreementType,
79
+ RateType: () => RateType,
80
+ ResourceNotFoundException: () => ResourceNotFoundException,
81
+ ServiceQuotaExceededException: () => ServiceQuotaExceededException,
82
+ TagResourceCommand: () => TagResourceCommand,
83
+ ThrottlingException: () => ThrottlingException,
84
+ UntagResourceCommand: () => UntagResourceCommand,
85
+ UpdateBillEstimateCommand: () => UpdateBillEstimateCommand,
86
+ UpdateBillScenarioCommand: () => UpdateBillScenarioCommand,
87
+ UpdatePreferencesCommand: () => UpdatePreferencesCommand,
88
+ UpdateWorkloadEstimateCommand: () => UpdateWorkloadEstimateCommand,
89
+ ValidationException: () => ValidationException,
90
+ ValidationExceptionReason: () => ValidationExceptionReason,
91
+ WorkloadEstimateCostStatus: () => WorkloadEstimateCostStatus,
92
+ WorkloadEstimateRateType: () => WorkloadEstimateRateType,
93
+ WorkloadEstimateStatus: () => WorkloadEstimateStatus,
94
+ WorkloadEstimateUpdateUsageErrorCode: () => WorkloadEstimateUpdateUsageErrorCode,
95
+ __Client: () => import_smithy_client.Client,
96
+ paginateListBillEstimateCommitments: () => paginateListBillEstimateCommitments,
97
+ paginateListBillEstimateInputCommitmentModifications: () => paginateListBillEstimateInputCommitmentModifications,
98
+ paginateListBillEstimateInputUsageModifications: () => paginateListBillEstimateInputUsageModifications,
99
+ paginateListBillEstimateLineItems: () => paginateListBillEstimateLineItems,
100
+ paginateListBillEstimates: () => paginateListBillEstimates,
101
+ paginateListBillScenarioCommitmentModifications: () => paginateListBillScenarioCommitmentModifications,
102
+ paginateListBillScenarioUsageModifications: () => paginateListBillScenarioUsageModifications,
103
+ paginateListBillScenarios: () => paginateListBillScenarios,
104
+ paginateListWorkloadEstimateUsage: () => paginateListWorkloadEstimateUsage,
105
+ paginateListWorkloadEstimates: () => paginateListWorkloadEstimates
106
+ });
107
+ module.exports = __toCommonJS(index_exports);
108
+
109
+ // src/BCMPricingCalculatorClient.ts
110
+ var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
111
+ var import_middleware_logger = require("@aws-sdk/middleware-logger");
112
+ var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
113
+ var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
114
+ var import_config_resolver = require("@smithy/config-resolver");
115
+ var import_core = require("@smithy/core");
116
+ var import_middleware_content_length = require("@smithy/middleware-content-length");
117
+ var import_middleware_endpoint = require("@smithy/middleware-endpoint");
118
+ var import_middleware_retry = require("@smithy/middleware-retry");
119
+
120
+ var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
121
+
122
+ // src/endpoint/EndpointParameters.ts
123
+ var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
124
+ return Object.assign(options, {
125
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
126
+ defaultSigningName: "bcm-pricing-calculator"
127
+ });
128
+ }, "resolveClientEndpointParameters");
129
+ var commonParams = {
130
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
131
+ Endpoint: { type: "builtInParams", name: "endpoint" },
132
+ Region: { type: "builtInParams", name: "region" }
133
+ };
134
+
135
+ // src/BCMPricingCalculatorClient.ts
136
+ var import_runtimeConfig = require("././runtimeConfig");
137
+
138
+ // src/runtimeExtensions.ts
139
+ var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
140
+ var import_protocol_http = require("@smithy/protocol-http");
141
+ var import_smithy_client = require("@smithy/smithy-client");
142
+
143
+ // src/auth/httpAuthExtensionConfiguration.ts
144
+ var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
145
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
146
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
147
+ let _credentials = runtimeConfig.credentials;
148
+ return {
149
+ setHttpAuthScheme(httpAuthScheme) {
150
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
151
+ if (index === -1) {
152
+ _httpAuthSchemes.push(httpAuthScheme);
153
+ } else {
154
+ _httpAuthSchemes.splice(index, 1, httpAuthScheme);
155
+ }
156
+ },
157
+ httpAuthSchemes() {
158
+ return _httpAuthSchemes;
159
+ },
160
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
161
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
162
+ },
163
+ httpAuthSchemeProvider() {
164
+ return _httpAuthSchemeProvider;
165
+ },
166
+ setCredentials(credentials) {
167
+ _credentials = credentials;
168
+ },
169
+ credentials() {
170
+ return _credentials;
171
+ }
172
+ };
173
+ }, "getHttpAuthExtensionConfiguration");
174
+ var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
175
+ return {
176
+ httpAuthSchemes: config.httpAuthSchemes(),
177
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
178
+ credentials: config.credentials()
179
+ };
180
+ }, "resolveHttpAuthRuntimeConfig");
181
+
182
+ // src/runtimeExtensions.ts
183
+ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
184
+ const extensionConfiguration = Object.assign(
185
+ (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
186
+ (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
187
+ (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
188
+ getHttpAuthExtensionConfiguration(runtimeConfig)
189
+ );
190
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
191
+ return Object.assign(
192
+ runtimeConfig,
193
+ (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
194
+ (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
195
+ (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
196
+ resolveHttpAuthRuntimeConfig(extensionConfiguration)
197
+ );
198
+ }, "resolveRuntimeExtensions");
199
+
200
+ // src/BCMPricingCalculatorClient.ts
201
+ var BCMPricingCalculatorClient = class extends import_smithy_client.Client {
202
+ static {
203
+ __name(this, "BCMPricingCalculatorClient");
204
+ }
205
+ /**
206
+ * The resolved configuration of BCMPricingCalculatorClient class. This is resolved and normalized from the {@link BCMPricingCalculatorClientConfig | constructor configuration interface}.
207
+ */
208
+ config;
209
+ constructor(...[configuration]) {
210
+ const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
211
+ super(_config_0);
212
+ this.initConfig = _config_0;
213
+ const _config_1 = resolveClientEndpointParameters(_config_0);
214
+ const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
215
+ const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
216
+ const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
217
+ const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
218
+ const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
219
+ const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
220
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
221
+ this.config = _config_8;
222
+ this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
223
+ this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
224
+ this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
225
+ this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
226
+ this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
227
+ this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
228
+ this.middlewareStack.use(
229
+ (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
230
+ httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultBCMPricingCalculatorHttpAuthSchemeParametersProvider,
231
+ identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
232
+ "aws.auth#sigv4": config.credentials
233
+ }), "identityProviderConfigProvider")
234
+ })
235
+ );
236
+ this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
237
+ }
238
+ /**
239
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
240
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
241
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
242
+ */
243
+ destroy() {
244
+ super.destroy();
245
+ }
246
+ };
247
+
248
+ // src/BCMPricingCalculator.ts
249
+
250
+
251
+ // src/commands/BatchCreateBillScenarioCommitmentModificationCommand.ts
252
+
253
+ var import_middleware_serde = require("@smithy/middleware-serde");
254
+
255
+
256
+ // src/protocols/Aws_json1_0.ts
257
+ var import_core2 = require("@aws-sdk/core");
258
+
259
+
260
+ var import_uuid = require("uuid");
261
+
262
+ // src/models/BCMPricingCalculatorServiceException.ts
263
+
264
+ var BCMPricingCalculatorServiceException = class _BCMPricingCalculatorServiceException extends import_smithy_client.ServiceException {
265
+ static {
266
+ __name(this, "BCMPricingCalculatorServiceException");
267
+ }
268
+ /**
269
+ * @internal
270
+ */
271
+ constructor(options) {
272
+ super(options);
273
+ Object.setPrototypeOf(this, _BCMPricingCalculatorServiceException.prototype);
274
+ }
275
+ };
276
+
277
+ // src/models/models_0.ts
278
+ var AccessDeniedException = class _AccessDeniedException extends BCMPricingCalculatorServiceException {
279
+ static {
280
+ __name(this, "AccessDeniedException");
281
+ }
282
+ name = "AccessDeniedException";
283
+ $fault = "client";
284
+ /**
285
+ * @internal
286
+ */
287
+ constructor(opts) {
288
+ super({
289
+ name: "AccessDeniedException",
290
+ $fault: "client",
291
+ ...opts
292
+ });
293
+ Object.setPrototypeOf(this, _AccessDeniedException.prototype);
294
+ }
295
+ };
296
+ var DataUnavailableException = class _DataUnavailableException extends BCMPricingCalculatorServiceException {
297
+ static {
298
+ __name(this, "DataUnavailableException");
299
+ }
300
+ name = "DataUnavailableException";
301
+ $fault = "client";
302
+ /**
303
+ * @internal
304
+ */
305
+ constructor(opts) {
306
+ super({
307
+ name: "DataUnavailableException",
308
+ $fault: "client",
309
+ ...opts
310
+ });
311
+ Object.setPrototypeOf(this, _DataUnavailableException.prototype);
312
+ }
313
+ };
314
+ var InternalServerException = class _InternalServerException extends BCMPricingCalculatorServiceException {
315
+ static {
316
+ __name(this, "InternalServerException");
317
+ }
318
+ name = "InternalServerException";
319
+ $fault = "server";
320
+ /**
321
+ * <p> An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support. </p>
322
+ * @public
323
+ */
324
+ retryAfterSeconds;
325
+ /**
326
+ * @internal
327
+ */
328
+ constructor(opts) {
329
+ super({
330
+ name: "InternalServerException",
331
+ $fault: "server",
332
+ ...opts
333
+ });
334
+ Object.setPrototypeOf(this, _InternalServerException.prototype);
335
+ this.retryAfterSeconds = opts.retryAfterSeconds;
336
+ }
337
+ };
338
+ var CurrencyCode = {
339
+ USD: "USD"
340
+ };
341
+ var PurchaseAgreementType = {
342
+ RESERVED_INSTANCE: "RESERVED_INSTANCE",
343
+ SAVINGS_PLANS: "SAVINGS_PLANS"
344
+ };
345
+ var ResourceNotFoundException = class _ResourceNotFoundException extends BCMPricingCalculatorServiceException {
346
+ static {
347
+ __name(this, "ResourceNotFoundException");
348
+ }
349
+ name = "ResourceNotFoundException";
350
+ $fault = "client";
351
+ /**
352
+ * <p> The identifier of the resource that was not found. </p>
353
+ * @public
354
+ */
355
+ resourceId;
356
+ /**
357
+ * <p> The type of the resource that was not found. </p>
358
+ * @public
359
+ */
360
+ resourceType;
361
+ /**
362
+ * @internal
363
+ */
364
+ constructor(opts) {
365
+ super({
366
+ name: "ResourceNotFoundException",
367
+ $fault: "client",
368
+ ...opts
369
+ });
370
+ Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
371
+ this.resourceId = opts.resourceId;
372
+ this.resourceType = opts.resourceType;
373
+ }
374
+ };
375
+ var ThrottlingException = class _ThrottlingException extends BCMPricingCalculatorServiceException {
376
+ static {
377
+ __name(this, "ThrottlingException");
378
+ }
379
+ name = "ThrottlingException";
380
+ $fault = "client";
381
+ /**
382
+ * <p>The service code that exceeded the throttling limit.</p>
383
+ * @public
384
+ */
385
+ serviceCode;
386
+ /**
387
+ * <p>The quota code that exceeded the throttling limit.</p>
388
+ * @public
389
+ */
390
+ quotaCode;
391
+ /**
392
+ * <p>The service code that exceeded the throttling limit. Retry your request, but if the problem persists, contact Amazon Web Services support.</p>
393
+ * @public
394
+ */
395
+ retryAfterSeconds;
396
+ /**
397
+ * @internal
398
+ */
399
+ constructor(opts) {
400
+ super({
401
+ name: "ThrottlingException",
402
+ $fault: "client",
403
+ ...opts
404
+ });
405
+ Object.setPrototypeOf(this, _ThrottlingException.prototype);
406
+ this.serviceCode = opts.serviceCode;
407
+ this.quotaCode = opts.quotaCode;
408
+ this.retryAfterSeconds = opts.retryAfterSeconds;
409
+ }
410
+ };
411
+ var ValidationExceptionReason = {
412
+ CANNOT_PARSE: "cannotParse",
413
+ DISALLOWED_RATE: "disallowedRate",
414
+ FIELD_VALIDATION_FAILED: "fieldValidationFailed",
415
+ INVALID_REQUEST_FROM_MEMBER: "invalidRequestFromMember",
416
+ OTHER: "other",
417
+ UNKNOWN_OPERATION: "unknownOperation"
418
+ };
419
+ var ValidationException = class _ValidationException extends BCMPricingCalculatorServiceException {
420
+ static {
421
+ __name(this, "ValidationException");
422
+ }
423
+ name = "ValidationException";
424
+ $fault = "client";
425
+ /**
426
+ * <p> The reason for the validation exception. </p>
427
+ * @public
428
+ */
429
+ reason;
430
+ /**
431
+ * <p> The list of fields that are invalid. </p>
432
+ * @public
433
+ */
434
+ fieldList;
435
+ /**
436
+ * @internal
437
+ */
438
+ constructor(opts) {
439
+ super({
440
+ name: "ValidationException",
441
+ $fault: "client",
442
+ ...opts
443
+ });
444
+ Object.setPrototypeOf(this, _ValidationException.prototype);
445
+ this.reason = opts.reason;
446
+ this.fieldList = opts.fieldList;
447
+ }
448
+ };
449
+ var BillScenarioCommitmentModificationAction;
450
+ ((BillScenarioCommitmentModificationAction2) => {
451
+ BillScenarioCommitmentModificationAction2.visit = /* @__PURE__ */ __name((value, visitor) => {
452
+ if (value.addReservedInstanceAction !== void 0)
453
+ return visitor.addReservedInstanceAction(value.addReservedInstanceAction);
454
+ if (value.addSavingsPlanAction !== void 0) return visitor.addSavingsPlanAction(value.addSavingsPlanAction);
455
+ if (value.negateReservedInstanceAction !== void 0)
456
+ return visitor.negateReservedInstanceAction(value.negateReservedInstanceAction);
457
+ if (value.negateSavingsPlanAction !== void 0)
458
+ return visitor.negateSavingsPlanAction(value.negateSavingsPlanAction);
459
+ return visitor._(value.$unknown[0], value.$unknown[1]);
460
+ }, "visit");
461
+ })(BillScenarioCommitmentModificationAction || (BillScenarioCommitmentModificationAction = {}));
462
+ var MatchOption = {
463
+ CONTAINS: "CONTAINS",
464
+ EQUALS: "EQUALS",
465
+ STARTS_WITH: "STARTS_WITH"
466
+ };
467
+ var ListUsageFilterName = {
468
+ HISTORICAL_LOCATION: "HISTORICAL_LOCATION",
469
+ HISTORICAL_OPERATION: "HISTORICAL_OPERATION",
470
+ HISTORICAL_SERVICE_CODE: "HISTORICAL_SERVICE_CODE",
471
+ HISTORICAL_USAGE_ACCOUNT_ID: "HISTORICAL_USAGE_ACCOUNT_ID",
472
+ HISTORICAL_USAGE_TYPE: "HISTORICAL_USAGE_TYPE",
473
+ LOCATION: "LOCATION",
474
+ OPERATION: "OPERATION",
475
+ SERVICE_CODE: "SERVICE_CODE",
476
+ USAGE_ACCOUNT_ID: "USAGE_ACCOUNT_ID",
477
+ USAGE_GROUP: "USAGE_GROUP",
478
+ USAGE_TYPE: "USAGE_TYPE"
479
+ };
480
+ var ListBillEstimateLineItemsFilterName = {
481
+ LINE_ITEM_TYPE: "LINE_ITEM_TYPE",
482
+ LOCATION: "LOCATION",
483
+ OPERATION: "OPERATION",
484
+ SERVICE_CODE: "SERVICE_CODE",
485
+ USAGE_ACCOUNT_ID: "USAGE_ACCOUNT_ID",
486
+ USAGE_TYPE: "USAGE_TYPE"
487
+ };
488
+ var BillEstimateStatus = {
489
+ COMPLETE: "COMPLETE",
490
+ FAILED: "FAILED",
491
+ IN_PROGRESS: "IN_PROGRESS"
492
+ };
493
+ var ConflictException = class _ConflictException extends BCMPricingCalculatorServiceException {
494
+ static {
495
+ __name(this, "ConflictException");
496
+ }
497
+ name = "ConflictException";
498
+ $fault = "client";
499
+ /**
500
+ * <p> The identifier of the resource that was not found. </p>
501
+ * @public
502
+ */
503
+ resourceId;
504
+ /**
505
+ * <p> The type of the resource that was not found. </p>
506
+ * @public
507
+ */
508
+ resourceType;
509
+ /**
510
+ * @internal
511
+ */
512
+ constructor(opts) {
513
+ super({
514
+ name: "ConflictException",
515
+ $fault: "client",
516
+ ...opts
517
+ });
518
+ Object.setPrototypeOf(this, _ConflictException.prototype);
519
+ this.resourceId = opts.resourceId;
520
+ this.resourceType = opts.resourceType;
521
+ }
522
+ };
523
+ var ListBillEstimatesFilterName = {
524
+ NAME: "NAME",
525
+ STATUS: "STATUS"
526
+ };
527
+ var BatchCreateBillScenarioCommitmentModificationErrorCode = {
528
+ CONFLICT: "CONFLICT",
529
+ INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR",
530
+ INVALID_ACCOUNT: "INVALID_ACCOUNT"
531
+ };
532
+ var BatchDeleteBillScenarioCommitmentModificationErrorCode = {
533
+ BAD_REQUEST: "BAD_REQUEST",
534
+ CONFLICT: "CONFLICT",
535
+ INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR"
536
+ };
537
+ var BatchUpdateBillScenarioCommitmentModificationErrorCode = {
538
+ BAD_REQUEST: "BAD_REQUEST",
539
+ CONFLICT: "CONFLICT",
540
+ INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR",
541
+ NOT_FOUND: "NOT_FOUND"
542
+ };
543
+ var BillScenarioStatus = {
544
+ FAILED: "FAILED",
545
+ LOCKED: "LOCKED",
546
+ READY: "READY",
547
+ STALE: "STALE"
548
+ };
549
+ var BatchCreateBillScenarioUsageModificationErrorCode = {
550
+ BAD_REQUEST: "BAD_REQUEST",
551
+ CONFLICT: "CONFLICT",
552
+ INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR",
553
+ NOT_FOUND: "NOT_FOUND"
554
+ };
555
+ var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends BCMPricingCalculatorServiceException {
556
+ static {
557
+ __name(this, "ServiceQuotaExceededException");
558
+ }
559
+ name = "ServiceQuotaExceededException";
560
+ $fault = "client";
561
+ /**
562
+ * <p> The identifier of the resource that exceeded quota. </p>
563
+ * @public
564
+ */
565
+ resourceId;
566
+ /**
567
+ * <p> The type of the resource that exceeded quota. </p>
568
+ * @public
569
+ */
570
+ resourceType;
571
+ /**
572
+ * <p> The service code that exceeded quota. </p>
573
+ * @public
574
+ */
575
+ serviceCode;
576
+ /**
577
+ * <p> The quota code that was exceeded. </p>
578
+ * @public
579
+ */
580
+ quotaCode;
581
+ /**
582
+ * @internal
583
+ */
584
+ constructor(opts) {
585
+ super({
586
+ name: "ServiceQuotaExceededException",
587
+ $fault: "client",
588
+ ...opts
589
+ });
590
+ Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
591
+ this.resourceId = opts.resourceId;
592
+ this.resourceType = opts.resourceType;
593
+ this.serviceCode = opts.serviceCode;
594
+ this.quotaCode = opts.quotaCode;
595
+ }
596
+ };
597
+ var BatchDeleteBillScenarioUsageModificationErrorCode = {
598
+ BAD_REQUEST: "BAD_REQUEST",
599
+ CONFLICT: "CONFLICT",
600
+ INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR"
601
+ };
602
+ var BatchUpdateBillScenarioUsageModificationErrorCode = {
603
+ BAD_REQUEST: "BAD_REQUEST",
604
+ CONFLICT: "CONFLICT",
605
+ INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR",
606
+ NOT_FOUND: "NOT_FOUND"
607
+ };
608
+ var ListBillScenariosFilterName = {
609
+ NAME: "NAME",
610
+ STATUS: "STATUS"
611
+ };
612
+ var RateType = {
613
+ AFTER_DISCOUNTS: "AFTER_DISCOUNTS",
614
+ AFTER_DISCOUNTS_AND_COMMITMENTS: "AFTER_DISCOUNTS_AND_COMMITMENTS",
615
+ BEFORE_DISCOUNTS: "BEFORE_DISCOUNTS"
616
+ };
617
+ var WorkloadEstimateRateType = {
618
+ AFTER_DISCOUNTS: "AFTER_DISCOUNTS",
619
+ AFTER_DISCOUNTS_AND_COMMITMENTS: "AFTER_DISCOUNTS_AND_COMMITMENTS",
620
+ BEFORE_DISCOUNTS: "BEFORE_DISCOUNTS"
621
+ };
622
+ var WorkloadEstimateStatus = {
623
+ ACTION_NEEDED: "ACTION_NEEDED",
624
+ INVALID: "INVALID",
625
+ UPDATING: "UPDATING",
626
+ VALID: "VALID"
627
+ };
628
+ var ListWorkloadEstimatesFilterName = {
629
+ NAME: "NAME",
630
+ STATUS: "STATUS"
631
+ };
632
+ var BatchCreateWorkloadEstimateUsageCode = {
633
+ BAD_REQUEST: "BAD_REQUEST",
634
+ CONFLICT: "CONFLICT",
635
+ INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR",
636
+ NOT_FOUND: "NOT_FOUND"
637
+ };
638
+ var WorkloadEstimateCostStatus = {
639
+ INVALID: "INVALID",
640
+ STALE: "STALE",
641
+ VALID: "VALID"
642
+ };
643
+ var WorkloadEstimateUpdateUsageErrorCode = {
644
+ BAD_REQUEST: "BAD_REQUEST",
645
+ CONFLICT: "CONFLICT",
646
+ INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR",
647
+ NOT_FOUND: "NOT_FOUND"
648
+ };
649
+
650
+ // src/protocols/Aws_json1_0.ts
651
+ var se_BatchCreateBillScenarioCommitmentModificationCommand = /* @__PURE__ */ __name(async (input, context) => {
652
+ const headers = sharedHeaders("BatchCreateBillScenarioCommitmentModification");
653
+ let body;
654
+ body = JSON.stringify(se_BatchCreateBillScenarioCommitmentModificationRequest(input, context));
655
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
656
+ }, "se_BatchCreateBillScenarioCommitmentModificationCommand");
657
+ var se_BatchCreateBillScenarioUsageModificationCommand = /* @__PURE__ */ __name(async (input, context) => {
658
+ const headers = sharedHeaders("BatchCreateBillScenarioUsageModification");
659
+ let body;
660
+ body = JSON.stringify(se_BatchCreateBillScenarioUsageModificationRequest(input, context));
661
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
662
+ }, "se_BatchCreateBillScenarioUsageModificationCommand");
663
+ var se_BatchCreateWorkloadEstimateUsageCommand = /* @__PURE__ */ __name(async (input, context) => {
664
+ const headers = sharedHeaders("BatchCreateWorkloadEstimateUsage");
665
+ let body;
666
+ body = JSON.stringify(se_BatchCreateWorkloadEstimateUsageRequest(input, context));
667
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
668
+ }, "se_BatchCreateWorkloadEstimateUsageCommand");
669
+ var se_BatchDeleteBillScenarioCommitmentModificationCommand = /* @__PURE__ */ __name(async (input, context) => {
670
+ const headers = sharedHeaders("BatchDeleteBillScenarioCommitmentModification");
671
+ let body;
672
+ body = JSON.stringify((0, import_smithy_client._json)(input));
673
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
674
+ }, "se_BatchDeleteBillScenarioCommitmentModificationCommand");
675
+ var se_BatchDeleteBillScenarioUsageModificationCommand = /* @__PURE__ */ __name(async (input, context) => {
676
+ const headers = sharedHeaders("BatchDeleteBillScenarioUsageModification");
677
+ let body;
678
+ body = JSON.stringify((0, import_smithy_client._json)(input));
679
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
680
+ }, "se_BatchDeleteBillScenarioUsageModificationCommand");
681
+ var se_BatchDeleteWorkloadEstimateUsageCommand = /* @__PURE__ */ __name(async (input, context) => {
682
+ const headers = sharedHeaders("BatchDeleteWorkloadEstimateUsage");
683
+ let body;
684
+ body = JSON.stringify((0, import_smithy_client._json)(input));
685
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
686
+ }, "se_BatchDeleteWorkloadEstimateUsageCommand");
687
+ var se_BatchUpdateBillScenarioCommitmentModificationCommand = /* @__PURE__ */ __name(async (input, context) => {
688
+ const headers = sharedHeaders("BatchUpdateBillScenarioCommitmentModification");
689
+ let body;
690
+ body = JSON.stringify((0, import_smithy_client._json)(input));
691
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
692
+ }, "se_BatchUpdateBillScenarioCommitmentModificationCommand");
693
+ var se_BatchUpdateBillScenarioUsageModificationCommand = /* @__PURE__ */ __name(async (input, context) => {
694
+ const headers = sharedHeaders("BatchUpdateBillScenarioUsageModification");
695
+ let body;
696
+ body = JSON.stringify(se_BatchUpdateBillScenarioUsageModificationRequest(input, context));
697
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
698
+ }, "se_BatchUpdateBillScenarioUsageModificationCommand");
699
+ var se_BatchUpdateWorkloadEstimateUsageCommand = /* @__PURE__ */ __name(async (input, context) => {
700
+ const headers = sharedHeaders("BatchUpdateWorkloadEstimateUsage");
701
+ let body;
702
+ body = JSON.stringify(se_BatchUpdateWorkloadEstimateUsageRequest(input, context));
703
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
704
+ }, "se_BatchUpdateWorkloadEstimateUsageCommand");
705
+ var se_CreateBillEstimateCommand = /* @__PURE__ */ __name(async (input, context) => {
706
+ const headers = sharedHeaders("CreateBillEstimate");
707
+ let body;
708
+ body = JSON.stringify(se_CreateBillEstimateRequest(input, context));
709
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
710
+ }, "se_CreateBillEstimateCommand");
711
+ var se_CreateBillScenarioCommand = /* @__PURE__ */ __name(async (input, context) => {
712
+ const headers = sharedHeaders("CreateBillScenario");
713
+ let body;
714
+ body = JSON.stringify(se_CreateBillScenarioRequest(input, context));
715
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
716
+ }, "se_CreateBillScenarioCommand");
717
+ var se_CreateWorkloadEstimateCommand = /* @__PURE__ */ __name(async (input, context) => {
718
+ const headers = sharedHeaders("CreateWorkloadEstimate");
719
+ let body;
720
+ body = JSON.stringify(se_CreateWorkloadEstimateRequest(input, context));
721
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
722
+ }, "se_CreateWorkloadEstimateCommand");
723
+ var se_DeleteBillEstimateCommand = /* @__PURE__ */ __name(async (input, context) => {
724
+ const headers = sharedHeaders("DeleteBillEstimate");
725
+ let body;
726
+ body = JSON.stringify((0, import_smithy_client._json)(input));
727
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
728
+ }, "se_DeleteBillEstimateCommand");
729
+ var se_DeleteBillScenarioCommand = /* @__PURE__ */ __name(async (input, context) => {
730
+ const headers = sharedHeaders("DeleteBillScenario");
731
+ let body;
732
+ body = JSON.stringify((0, import_smithy_client._json)(input));
733
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
734
+ }, "se_DeleteBillScenarioCommand");
735
+ var se_DeleteWorkloadEstimateCommand = /* @__PURE__ */ __name(async (input, context) => {
736
+ const headers = sharedHeaders("DeleteWorkloadEstimate");
737
+ let body;
738
+ body = JSON.stringify((0, import_smithy_client._json)(input));
739
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
740
+ }, "se_DeleteWorkloadEstimateCommand");
741
+ var se_GetBillEstimateCommand = /* @__PURE__ */ __name(async (input, context) => {
742
+ const headers = sharedHeaders("GetBillEstimate");
743
+ let body;
744
+ body = JSON.stringify((0, import_smithy_client._json)(input));
745
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
746
+ }, "se_GetBillEstimateCommand");
747
+ var se_GetBillScenarioCommand = /* @__PURE__ */ __name(async (input, context) => {
748
+ const headers = sharedHeaders("GetBillScenario");
749
+ let body;
750
+ body = JSON.stringify((0, import_smithy_client._json)(input));
751
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
752
+ }, "se_GetBillScenarioCommand");
753
+ var se_GetPreferencesCommand = /* @__PURE__ */ __name(async (input, context) => {
754
+ const headers = sharedHeaders("GetPreferences");
755
+ let body;
756
+ body = JSON.stringify((0, import_smithy_client._json)(input));
757
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
758
+ }, "se_GetPreferencesCommand");
759
+ var se_GetWorkloadEstimateCommand = /* @__PURE__ */ __name(async (input, context) => {
760
+ const headers = sharedHeaders("GetWorkloadEstimate");
761
+ let body;
762
+ body = JSON.stringify((0, import_smithy_client._json)(input));
763
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
764
+ }, "se_GetWorkloadEstimateCommand");
765
+ var se_ListBillEstimateCommitmentsCommand = /* @__PURE__ */ __name(async (input, context) => {
766
+ const headers = sharedHeaders("ListBillEstimateCommitments");
767
+ let body;
768
+ body = JSON.stringify((0, import_smithy_client._json)(input));
769
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
770
+ }, "se_ListBillEstimateCommitmentsCommand");
771
+ var se_ListBillEstimateInputCommitmentModificationsCommand = /* @__PURE__ */ __name(async (input, context) => {
772
+ const headers = sharedHeaders("ListBillEstimateInputCommitmentModifications");
773
+ let body;
774
+ body = JSON.stringify((0, import_smithy_client._json)(input));
775
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
776
+ }, "se_ListBillEstimateInputCommitmentModificationsCommand");
777
+ var se_ListBillEstimateInputUsageModificationsCommand = /* @__PURE__ */ __name(async (input, context) => {
778
+ const headers = sharedHeaders("ListBillEstimateInputUsageModifications");
779
+ let body;
780
+ body = JSON.stringify((0, import_smithy_client._json)(input));
781
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
782
+ }, "se_ListBillEstimateInputUsageModificationsCommand");
783
+ var se_ListBillEstimateLineItemsCommand = /* @__PURE__ */ __name(async (input, context) => {
784
+ const headers = sharedHeaders("ListBillEstimateLineItems");
785
+ let body;
786
+ body = JSON.stringify((0, import_smithy_client._json)(input));
787
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
788
+ }, "se_ListBillEstimateLineItemsCommand");
789
+ var se_ListBillEstimatesCommand = /* @__PURE__ */ __name(async (input, context) => {
790
+ const headers = sharedHeaders("ListBillEstimates");
791
+ let body;
792
+ body = JSON.stringify(se_ListBillEstimatesRequest(input, context));
793
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
794
+ }, "se_ListBillEstimatesCommand");
795
+ var se_ListBillScenarioCommitmentModificationsCommand = /* @__PURE__ */ __name(async (input, context) => {
796
+ const headers = sharedHeaders("ListBillScenarioCommitmentModifications");
797
+ let body;
798
+ body = JSON.stringify((0, import_smithy_client._json)(input));
799
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
800
+ }, "se_ListBillScenarioCommitmentModificationsCommand");
801
+ var se_ListBillScenariosCommand = /* @__PURE__ */ __name(async (input, context) => {
802
+ const headers = sharedHeaders("ListBillScenarios");
803
+ let body;
804
+ body = JSON.stringify(se_ListBillScenariosRequest(input, context));
805
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
806
+ }, "se_ListBillScenariosCommand");
807
+ var se_ListBillScenarioUsageModificationsCommand = /* @__PURE__ */ __name(async (input, context) => {
808
+ const headers = sharedHeaders("ListBillScenarioUsageModifications");
809
+ let body;
810
+ body = JSON.stringify((0, import_smithy_client._json)(input));
811
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
812
+ }, "se_ListBillScenarioUsageModificationsCommand");
813
+ var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
814
+ const headers = sharedHeaders("ListTagsForResource");
815
+ let body;
816
+ body = JSON.stringify((0, import_smithy_client._json)(input));
817
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
818
+ }, "se_ListTagsForResourceCommand");
819
+ var se_ListWorkloadEstimatesCommand = /* @__PURE__ */ __name(async (input, context) => {
820
+ const headers = sharedHeaders("ListWorkloadEstimates");
821
+ let body;
822
+ body = JSON.stringify(se_ListWorkloadEstimatesRequest(input, context));
823
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
824
+ }, "se_ListWorkloadEstimatesCommand");
825
+ var se_ListWorkloadEstimateUsageCommand = /* @__PURE__ */ __name(async (input, context) => {
826
+ const headers = sharedHeaders("ListWorkloadEstimateUsage");
827
+ let body;
828
+ body = JSON.stringify((0, import_smithy_client._json)(input));
829
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
830
+ }, "se_ListWorkloadEstimateUsageCommand");
831
+ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
832
+ const headers = sharedHeaders("TagResource");
833
+ let body;
834
+ body = JSON.stringify((0, import_smithy_client._json)(input));
835
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
836
+ }, "se_TagResourceCommand");
837
+ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
838
+ const headers = sharedHeaders("UntagResource");
839
+ let body;
840
+ body = JSON.stringify((0, import_smithy_client._json)(input));
841
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
842
+ }, "se_UntagResourceCommand");
843
+ var se_UpdateBillEstimateCommand = /* @__PURE__ */ __name(async (input, context) => {
844
+ const headers = sharedHeaders("UpdateBillEstimate");
845
+ let body;
846
+ body = JSON.stringify(se_UpdateBillEstimateRequest(input, context));
847
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
848
+ }, "se_UpdateBillEstimateCommand");
849
+ var se_UpdateBillScenarioCommand = /* @__PURE__ */ __name(async (input, context) => {
850
+ const headers = sharedHeaders("UpdateBillScenario");
851
+ let body;
852
+ body = JSON.stringify(se_UpdateBillScenarioRequest(input, context));
853
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
854
+ }, "se_UpdateBillScenarioCommand");
855
+ var se_UpdatePreferencesCommand = /* @__PURE__ */ __name(async (input, context) => {
856
+ const headers = sharedHeaders("UpdatePreferences");
857
+ let body;
858
+ body = JSON.stringify((0, import_smithy_client._json)(input));
859
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
860
+ }, "se_UpdatePreferencesCommand");
861
+ var se_UpdateWorkloadEstimateCommand = /* @__PURE__ */ __name(async (input, context) => {
862
+ const headers = sharedHeaders("UpdateWorkloadEstimate");
863
+ let body;
864
+ body = JSON.stringify(se_UpdateWorkloadEstimateRequest(input, context));
865
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
866
+ }, "se_UpdateWorkloadEstimateCommand");
867
+ var de_BatchCreateBillScenarioCommitmentModificationCommand = /* @__PURE__ */ __name(async (output, context) => {
868
+ if (output.statusCode >= 300) {
869
+ return de_CommandError(output, context);
870
+ }
871
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
872
+ let contents = {};
873
+ contents = de_BatchCreateBillScenarioCommitmentModificationResponse(data, context);
874
+ const response = {
875
+ $metadata: deserializeMetadata(output),
876
+ ...contents
877
+ };
878
+ return response;
879
+ }, "de_BatchCreateBillScenarioCommitmentModificationCommand");
880
+ var de_BatchCreateBillScenarioUsageModificationCommand = /* @__PURE__ */ __name(async (output, context) => {
881
+ if (output.statusCode >= 300) {
882
+ return de_CommandError(output, context);
883
+ }
884
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
885
+ let contents = {};
886
+ contents = de_BatchCreateBillScenarioUsageModificationResponse(data, context);
887
+ const response = {
888
+ $metadata: deserializeMetadata(output),
889
+ ...contents
890
+ };
891
+ return response;
892
+ }, "de_BatchCreateBillScenarioUsageModificationCommand");
893
+ var de_BatchCreateWorkloadEstimateUsageCommand = /* @__PURE__ */ __name(async (output, context) => {
894
+ if (output.statusCode >= 300) {
895
+ return de_CommandError(output, context);
896
+ }
897
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
898
+ let contents = {};
899
+ contents = de_BatchCreateWorkloadEstimateUsageResponse(data, context);
900
+ const response = {
901
+ $metadata: deserializeMetadata(output),
902
+ ...contents
903
+ };
904
+ return response;
905
+ }, "de_BatchCreateWorkloadEstimateUsageCommand");
906
+ var de_BatchDeleteBillScenarioCommitmentModificationCommand = /* @__PURE__ */ __name(async (output, context) => {
907
+ if (output.statusCode >= 300) {
908
+ return de_CommandError(output, context);
909
+ }
910
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
911
+ let contents = {};
912
+ contents = (0, import_smithy_client._json)(data);
913
+ const response = {
914
+ $metadata: deserializeMetadata(output),
915
+ ...contents
916
+ };
917
+ return response;
918
+ }, "de_BatchDeleteBillScenarioCommitmentModificationCommand");
919
+ var de_BatchDeleteBillScenarioUsageModificationCommand = /* @__PURE__ */ __name(async (output, context) => {
920
+ if (output.statusCode >= 300) {
921
+ return de_CommandError(output, context);
922
+ }
923
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
924
+ let contents = {};
925
+ contents = (0, import_smithy_client._json)(data);
926
+ const response = {
927
+ $metadata: deserializeMetadata(output),
928
+ ...contents
929
+ };
930
+ return response;
931
+ }, "de_BatchDeleteBillScenarioUsageModificationCommand");
932
+ var de_BatchDeleteWorkloadEstimateUsageCommand = /* @__PURE__ */ __name(async (output, context) => {
933
+ if (output.statusCode >= 300) {
934
+ return de_CommandError(output, context);
935
+ }
936
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
937
+ let contents = {};
938
+ contents = (0, import_smithy_client._json)(data);
939
+ const response = {
940
+ $metadata: deserializeMetadata(output),
941
+ ...contents
942
+ };
943
+ return response;
944
+ }, "de_BatchDeleteWorkloadEstimateUsageCommand");
945
+ var de_BatchUpdateBillScenarioCommitmentModificationCommand = /* @__PURE__ */ __name(async (output, context) => {
946
+ if (output.statusCode >= 300) {
947
+ return de_CommandError(output, context);
948
+ }
949
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
950
+ let contents = {};
951
+ contents = de_BatchUpdateBillScenarioCommitmentModificationResponse(data, context);
952
+ const response = {
953
+ $metadata: deserializeMetadata(output),
954
+ ...contents
955
+ };
956
+ return response;
957
+ }, "de_BatchUpdateBillScenarioCommitmentModificationCommand");
958
+ var de_BatchUpdateBillScenarioUsageModificationCommand = /* @__PURE__ */ __name(async (output, context) => {
959
+ if (output.statusCode >= 300) {
960
+ return de_CommandError(output, context);
961
+ }
962
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
963
+ let contents = {};
964
+ contents = de_BatchUpdateBillScenarioUsageModificationResponse(data, context);
965
+ const response = {
966
+ $metadata: deserializeMetadata(output),
967
+ ...contents
968
+ };
969
+ return response;
970
+ }, "de_BatchUpdateBillScenarioUsageModificationCommand");
971
+ var de_BatchUpdateWorkloadEstimateUsageCommand = /* @__PURE__ */ __name(async (output, context) => {
972
+ if (output.statusCode >= 300) {
973
+ return de_CommandError(output, context);
974
+ }
975
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
976
+ let contents = {};
977
+ contents = de_BatchUpdateWorkloadEstimateUsageResponse(data, context);
978
+ const response = {
979
+ $metadata: deserializeMetadata(output),
980
+ ...contents
981
+ };
982
+ return response;
983
+ }, "de_BatchUpdateWorkloadEstimateUsageCommand");
984
+ var de_CreateBillEstimateCommand = /* @__PURE__ */ __name(async (output, context) => {
985
+ if (output.statusCode >= 300) {
986
+ return de_CommandError(output, context);
987
+ }
988
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
989
+ let contents = {};
990
+ contents = de_CreateBillEstimateResponse(data, context);
991
+ const response = {
992
+ $metadata: deserializeMetadata(output),
993
+ ...contents
994
+ };
995
+ return response;
996
+ }, "de_CreateBillEstimateCommand");
997
+ var de_CreateBillScenarioCommand = /* @__PURE__ */ __name(async (output, context) => {
998
+ if (output.statusCode >= 300) {
999
+ return de_CommandError(output, context);
1000
+ }
1001
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1002
+ let contents = {};
1003
+ contents = de_CreateBillScenarioResponse(data, context);
1004
+ const response = {
1005
+ $metadata: deserializeMetadata(output),
1006
+ ...contents
1007
+ };
1008
+ return response;
1009
+ }, "de_CreateBillScenarioCommand");
1010
+ var de_CreateWorkloadEstimateCommand = /* @__PURE__ */ __name(async (output, context) => {
1011
+ if (output.statusCode >= 300) {
1012
+ return de_CommandError(output, context);
1013
+ }
1014
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1015
+ let contents = {};
1016
+ contents = de_CreateWorkloadEstimateResponse(data, context);
1017
+ const response = {
1018
+ $metadata: deserializeMetadata(output),
1019
+ ...contents
1020
+ };
1021
+ return response;
1022
+ }, "de_CreateWorkloadEstimateCommand");
1023
+ var de_DeleteBillEstimateCommand = /* @__PURE__ */ __name(async (output, context) => {
1024
+ if (output.statusCode >= 300) {
1025
+ return de_CommandError(output, context);
1026
+ }
1027
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1028
+ let contents = {};
1029
+ contents = (0, import_smithy_client._json)(data);
1030
+ const response = {
1031
+ $metadata: deserializeMetadata(output),
1032
+ ...contents
1033
+ };
1034
+ return response;
1035
+ }, "de_DeleteBillEstimateCommand");
1036
+ var de_DeleteBillScenarioCommand = /* @__PURE__ */ __name(async (output, context) => {
1037
+ if (output.statusCode >= 300) {
1038
+ return de_CommandError(output, context);
1039
+ }
1040
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1041
+ let contents = {};
1042
+ contents = (0, import_smithy_client._json)(data);
1043
+ const response = {
1044
+ $metadata: deserializeMetadata(output),
1045
+ ...contents
1046
+ };
1047
+ return response;
1048
+ }, "de_DeleteBillScenarioCommand");
1049
+ var de_DeleteWorkloadEstimateCommand = /* @__PURE__ */ __name(async (output, context) => {
1050
+ if (output.statusCode >= 300) {
1051
+ return de_CommandError(output, context);
1052
+ }
1053
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1054
+ let contents = {};
1055
+ contents = (0, import_smithy_client._json)(data);
1056
+ const response = {
1057
+ $metadata: deserializeMetadata(output),
1058
+ ...contents
1059
+ };
1060
+ return response;
1061
+ }, "de_DeleteWorkloadEstimateCommand");
1062
+ var de_GetBillEstimateCommand = /* @__PURE__ */ __name(async (output, context) => {
1063
+ if (output.statusCode >= 300) {
1064
+ return de_CommandError(output, context);
1065
+ }
1066
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1067
+ let contents = {};
1068
+ contents = de_GetBillEstimateResponse(data, context);
1069
+ const response = {
1070
+ $metadata: deserializeMetadata(output),
1071
+ ...contents
1072
+ };
1073
+ return response;
1074
+ }, "de_GetBillEstimateCommand");
1075
+ var de_GetBillScenarioCommand = /* @__PURE__ */ __name(async (output, context) => {
1076
+ if (output.statusCode >= 300) {
1077
+ return de_CommandError(output, context);
1078
+ }
1079
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1080
+ let contents = {};
1081
+ contents = de_GetBillScenarioResponse(data, context);
1082
+ const response = {
1083
+ $metadata: deserializeMetadata(output),
1084
+ ...contents
1085
+ };
1086
+ return response;
1087
+ }, "de_GetBillScenarioCommand");
1088
+ var de_GetPreferencesCommand = /* @__PURE__ */ __name(async (output, context) => {
1089
+ if (output.statusCode >= 300) {
1090
+ return de_CommandError(output, context);
1091
+ }
1092
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1093
+ let contents = {};
1094
+ contents = (0, import_smithy_client._json)(data);
1095
+ const response = {
1096
+ $metadata: deserializeMetadata(output),
1097
+ ...contents
1098
+ };
1099
+ return response;
1100
+ }, "de_GetPreferencesCommand");
1101
+ var de_GetWorkloadEstimateCommand = /* @__PURE__ */ __name(async (output, context) => {
1102
+ if (output.statusCode >= 300) {
1103
+ return de_CommandError(output, context);
1104
+ }
1105
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1106
+ let contents = {};
1107
+ contents = de_GetWorkloadEstimateResponse(data, context);
1108
+ const response = {
1109
+ $metadata: deserializeMetadata(output),
1110
+ ...contents
1111
+ };
1112
+ return response;
1113
+ }, "de_GetWorkloadEstimateCommand");
1114
+ var de_ListBillEstimateCommitmentsCommand = /* @__PURE__ */ __name(async (output, context) => {
1115
+ if (output.statusCode >= 300) {
1116
+ return de_CommandError(output, context);
1117
+ }
1118
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1119
+ let contents = {};
1120
+ contents = de_ListBillEstimateCommitmentsResponse(data, context);
1121
+ const response = {
1122
+ $metadata: deserializeMetadata(output),
1123
+ ...contents
1124
+ };
1125
+ return response;
1126
+ }, "de_ListBillEstimateCommitmentsCommand");
1127
+ var de_ListBillEstimateInputCommitmentModificationsCommand = /* @__PURE__ */ __name(async (output, context) => {
1128
+ if (output.statusCode >= 300) {
1129
+ return de_CommandError(output, context);
1130
+ }
1131
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1132
+ let contents = {};
1133
+ contents = de_ListBillEstimateInputCommitmentModificationsResponse(data, context);
1134
+ const response = {
1135
+ $metadata: deserializeMetadata(output),
1136
+ ...contents
1137
+ };
1138
+ return response;
1139
+ }, "de_ListBillEstimateInputCommitmentModificationsCommand");
1140
+ var de_ListBillEstimateInputUsageModificationsCommand = /* @__PURE__ */ __name(async (output, context) => {
1141
+ if (output.statusCode >= 300) {
1142
+ return de_CommandError(output, context);
1143
+ }
1144
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1145
+ let contents = {};
1146
+ contents = de_ListBillEstimateInputUsageModificationsResponse(data, context);
1147
+ const response = {
1148
+ $metadata: deserializeMetadata(output),
1149
+ ...contents
1150
+ };
1151
+ return response;
1152
+ }, "de_ListBillEstimateInputUsageModificationsCommand");
1153
+ var de_ListBillEstimateLineItemsCommand = /* @__PURE__ */ __name(async (output, context) => {
1154
+ if (output.statusCode >= 300) {
1155
+ return de_CommandError(output, context);
1156
+ }
1157
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1158
+ let contents = {};
1159
+ contents = de_ListBillEstimateLineItemsResponse(data, context);
1160
+ const response = {
1161
+ $metadata: deserializeMetadata(output),
1162
+ ...contents
1163
+ };
1164
+ return response;
1165
+ }, "de_ListBillEstimateLineItemsCommand");
1166
+ var de_ListBillEstimatesCommand = /* @__PURE__ */ __name(async (output, context) => {
1167
+ if (output.statusCode >= 300) {
1168
+ return de_CommandError(output, context);
1169
+ }
1170
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1171
+ let contents = {};
1172
+ contents = de_ListBillEstimatesResponse(data, context);
1173
+ const response = {
1174
+ $metadata: deserializeMetadata(output),
1175
+ ...contents
1176
+ };
1177
+ return response;
1178
+ }, "de_ListBillEstimatesCommand");
1179
+ var de_ListBillScenarioCommitmentModificationsCommand = /* @__PURE__ */ __name(async (output, context) => {
1180
+ if (output.statusCode >= 300) {
1181
+ return de_CommandError(output, context);
1182
+ }
1183
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1184
+ let contents = {};
1185
+ contents = de_ListBillScenarioCommitmentModificationsResponse(data, context);
1186
+ const response = {
1187
+ $metadata: deserializeMetadata(output),
1188
+ ...contents
1189
+ };
1190
+ return response;
1191
+ }, "de_ListBillScenarioCommitmentModificationsCommand");
1192
+ var de_ListBillScenariosCommand = /* @__PURE__ */ __name(async (output, context) => {
1193
+ if (output.statusCode >= 300) {
1194
+ return de_CommandError(output, context);
1195
+ }
1196
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1197
+ let contents = {};
1198
+ contents = de_ListBillScenariosResponse(data, context);
1199
+ const response = {
1200
+ $metadata: deserializeMetadata(output),
1201
+ ...contents
1202
+ };
1203
+ return response;
1204
+ }, "de_ListBillScenariosCommand");
1205
+ var de_ListBillScenarioUsageModificationsCommand = /* @__PURE__ */ __name(async (output, context) => {
1206
+ if (output.statusCode >= 300) {
1207
+ return de_CommandError(output, context);
1208
+ }
1209
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1210
+ let contents = {};
1211
+ contents = de_ListBillScenarioUsageModificationsResponse(data, context);
1212
+ const response = {
1213
+ $metadata: deserializeMetadata(output),
1214
+ ...contents
1215
+ };
1216
+ return response;
1217
+ }, "de_ListBillScenarioUsageModificationsCommand");
1218
+ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1219
+ if (output.statusCode >= 300) {
1220
+ return de_CommandError(output, context);
1221
+ }
1222
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1223
+ let contents = {};
1224
+ contents = (0, import_smithy_client._json)(data);
1225
+ const response = {
1226
+ $metadata: deserializeMetadata(output),
1227
+ ...contents
1228
+ };
1229
+ return response;
1230
+ }, "de_ListTagsForResourceCommand");
1231
+ var de_ListWorkloadEstimatesCommand = /* @__PURE__ */ __name(async (output, context) => {
1232
+ if (output.statusCode >= 300) {
1233
+ return de_CommandError(output, context);
1234
+ }
1235
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1236
+ let contents = {};
1237
+ contents = de_ListWorkloadEstimatesResponse(data, context);
1238
+ const response = {
1239
+ $metadata: deserializeMetadata(output),
1240
+ ...contents
1241
+ };
1242
+ return response;
1243
+ }, "de_ListWorkloadEstimatesCommand");
1244
+ var de_ListWorkloadEstimateUsageCommand = /* @__PURE__ */ __name(async (output, context) => {
1245
+ if (output.statusCode >= 300) {
1246
+ return de_CommandError(output, context);
1247
+ }
1248
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1249
+ let contents = {};
1250
+ contents = de_ListWorkloadEstimateUsageResponse(data, context);
1251
+ const response = {
1252
+ $metadata: deserializeMetadata(output),
1253
+ ...contents
1254
+ };
1255
+ return response;
1256
+ }, "de_ListWorkloadEstimateUsageCommand");
1257
+ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1258
+ if (output.statusCode >= 300) {
1259
+ return de_CommandError(output, context);
1260
+ }
1261
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1262
+ let contents = {};
1263
+ contents = (0, import_smithy_client._json)(data);
1264
+ const response = {
1265
+ $metadata: deserializeMetadata(output),
1266
+ ...contents
1267
+ };
1268
+ return response;
1269
+ }, "de_TagResourceCommand");
1270
+ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1271
+ if (output.statusCode >= 300) {
1272
+ return de_CommandError(output, context);
1273
+ }
1274
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1275
+ let contents = {};
1276
+ contents = (0, import_smithy_client._json)(data);
1277
+ const response = {
1278
+ $metadata: deserializeMetadata(output),
1279
+ ...contents
1280
+ };
1281
+ return response;
1282
+ }, "de_UntagResourceCommand");
1283
+ var de_UpdateBillEstimateCommand = /* @__PURE__ */ __name(async (output, context) => {
1284
+ if (output.statusCode >= 300) {
1285
+ return de_CommandError(output, context);
1286
+ }
1287
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1288
+ let contents = {};
1289
+ contents = de_UpdateBillEstimateResponse(data, context);
1290
+ const response = {
1291
+ $metadata: deserializeMetadata(output),
1292
+ ...contents
1293
+ };
1294
+ return response;
1295
+ }, "de_UpdateBillEstimateCommand");
1296
+ var de_UpdateBillScenarioCommand = /* @__PURE__ */ __name(async (output, context) => {
1297
+ if (output.statusCode >= 300) {
1298
+ return de_CommandError(output, context);
1299
+ }
1300
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1301
+ let contents = {};
1302
+ contents = de_UpdateBillScenarioResponse(data, context);
1303
+ const response = {
1304
+ $metadata: deserializeMetadata(output),
1305
+ ...contents
1306
+ };
1307
+ return response;
1308
+ }, "de_UpdateBillScenarioCommand");
1309
+ var de_UpdatePreferencesCommand = /* @__PURE__ */ __name(async (output, context) => {
1310
+ if (output.statusCode >= 300) {
1311
+ return de_CommandError(output, context);
1312
+ }
1313
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1314
+ let contents = {};
1315
+ contents = (0, import_smithy_client._json)(data);
1316
+ const response = {
1317
+ $metadata: deserializeMetadata(output),
1318
+ ...contents
1319
+ };
1320
+ return response;
1321
+ }, "de_UpdatePreferencesCommand");
1322
+ var de_UpdateWorkloadEstimateCommand = /* @__PURE__ */ __name(async (output, context) => {
1323
+ if (output.statusCode >= 300) {
1324
+ return de_CommandError(output, context);
1325
+ }
1326
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1327
+ let contents = {};
1328
+ contents = de_UpdateWorkloadEstimateResponse(data, context);
1329
+ const response = {
1330
+ $metadata: deserializeMetadata(output),
1331
+ ...contents
1332
+ };
1333
+ return response;
1334
+ }, "de_UpdateWorkloadEstimateCommand");
1335
+ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
1336
+ const parsedOutput = {
1337
+ ...output,
1338
+ body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
1339
+ };
1340
+ const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
1341
+ switch (errorCode) {
1342
+ case "AccessDeniedException":
1343
+ case "com.amazonaws.bcmpricingcalculator#AccessDeniedException":
1344
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1345
+ case "ConflictException":
1346
+ case "com.amazonaws.bcmpricingcalculator#ConflictException":
1347
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1348
+ case "DataUnavailableException":
1349
+ case "com.amazonaws.bcmpricingcalculator#DataUnavailableException":
1350
+ throw await de_DataUnavailableExceptionRes(parsedOutput, context);
1351
+ case "InternalServerException":
1352
+ case "com.amazonaws.bcmpricingcalculator#InternalServerException":
1353
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1354
+ case "ResourceNotFoundException":
1355
+ case "com.amazonaws.bcmpricingcalculator#ResourceNotFoundException":
1356
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1357
+ case "ThrottlingException":
1358
+ case "com.amazonaws.bcmpricingcalculator#ThrottlingException":
1359
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1360
+ case "ValidationException":
1361
+ case "com.amazonaws.bcmpricingcalculator#ValidationException":
1362
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1363
+ case "ServiceQuotaExceededException":
1364
+ case "com.amazonaws.bcmpricingcalculator#ServiceQuotaExceededException":
1365
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1366
+ default:
1367
+ const parsedBody = parsedOutput.body;
1368
+ return throwDefaultError({
1369
+ output,
1370
+ parsedBody,
1371
+ errorCode
1372
+ });
1373
+ }
1374
+ }, "de_CommandError");
1375
+ var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1376
+ const body = parsedOutput.body;
1377
+ const deserialized = (0, import_smithy_client._json)(body);
1378
+ const exception = new AccessDeniedException({
1379
+ $metadata: deserializeMetadata(parsedOutput),
1380
+ ...deserialized
1381
+ });
1382
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1383
+ }, "de_AccessDeniedExceptionRes");
1384
+ var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1385
+ const body = parsedOutput.body;
1386
+ const deserialized = (0, import_smithy_client._json)(body);
1387
+ const exception = new ConflictException({
1388
+ $metadata: deserializeMetadata(parsedOutput),
1389
+ ...deserialized
1390
+ });
1391
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1392
+ }, "de_ConflictExceptionRes");
1393
+ var de_DataUnavailableExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1394
+ const body = parsedOutput.body;
1395
+ const deserialized = (0, import_smithy_client._json)(body);
1396
+ const exception = new DataUnavailableException({
1397
+ $metadata: deserializeMetadata(parsedOutput),
1398
+ ...deserialized
1399
+ });
1400
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1401
+ }, "de_DataUnavailableExceptionRes");
1402
+ var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1403
+ const body = parsedOutput.body;
1404
+ const deserialized = (0, import_smithy_client._json)(body);
1405
+ const exception = new InternalServerException({
1406
+ $metadata: deserializeMetadata(parsedOutput),
1407
+ ...deserialized
1408
+ });
1409
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1410
+ }, "de_InternalServerExceptionRes");
1411
+ var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1412
+ const body = parsedOutput.body;
1413
+ const deserialized = (0, import_smithy_client._json)(body);
1414
+ const exception = new ResourceNotFoundException({
1415
+ $metadata: deserializeMetadata(parsedOutput),
1416
+ ...deserialized
1417
+ });
1418
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1419
+ }, "de_ResourceNotFoundExceptionRes");
1420
+ var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1421
+ const body = parsedOutput.body;
1422
+ const deserialized = (0, import_smithy_client._json)(body);
1423
+ const exception = new ServiceQuotaExceededException({
1424
+ $metadata: deserializeMetadata(parsedOutput),
1425
+ ...deserialized
1426
+ });
1427
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1428
+ }, "de_ServiceQuotaExceededExceptionRes");
1429
+ var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1430
+ const body = parsedOutput.body;
1431
+ const deserialized = (0, import_smithy_client._json)(body);
1432
+ const exception = new ThrottlingException({
1433
+ $metadata: deserializeMetadata(parsedOutput),
1434
+ ...deserialized
1435
+ });
1436
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1437
+ }, "de_ThrottlingExceptionRes");
1438
+ var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1439
+ const body = parsedOutput.body;
1440
+ const deserialized = (0, import_smithy_client._json)(body);
1441
+ const exception = new ValidationException({
1442
+ $metadata: deserializeMetadata(parsedOutput),
1443
+ ...deserialized
1444
+ });
1445
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1446
+ }, "de_ValidationExceptionRes");
1447
+ var se_AddSavingsPlanAction = /* @__PURE__ */ __name((input, context) => {
1448
+ return (0, import_smithy_client.take)(input, {
1449
+ commitment: import_smithy_client.serializeFloat,
1450
+ savingsPlanOfferingId: []
1451
+ });
1452
+ }, "se_AddSavingsPlanAction");
1453
+ var se_BatchCreateBillScenarioCommitmentModificationEntries = /* @__PURE__ */ __name((input, context) => {
1454
+ return input.filter((e) => e != null).map((entry) => {
1455
+ return se_BatchCreateBillScenarioCommitmentModificationEntry(entry, context);
1456
+ });
1457
+ }, "se_BatchCreateBillScenarioCommitmentModificationEntries");
1458
+ var se_BatchCreateBillScenarioCommitmentModificationEntry = /* @__PURE__ */ __name((input, context) => {
1459
+ return (0, import_smithy_client.take)(input, {
1460
+ commitmentAction: /* @__PURE__ */ __name((_) => se_BillScenarioCommitmentModificationAction(_, context), "commitmentAction"),
1461
+ group: [],
1462
+ key: [],
1463
+ usageAccountId: []
1464
+ });
1465
+ }, "se_BatchCreateBillScenarioCommitmentModificationEntry");
1466
+ var se_BatchCreateBillScenarioCommitmentModificationRequest = /* @__PURE__ */ __name((input, context) => {
1467
+ return (0, import_smithy_client.take)(input, {
1468
+ billScenarioId: [],
1469
+ clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1470
+ commitmentModifications: /* @__PURE__ */ __name((_) => se_BatchCreateBillScenarioCommitmentModificationEntries(_, context), "commitmentModifications")
1471
+ });
1472
+ }, "se_BatchCreateBillScenarioCommitmentModificationRequest");
1473
+ var se_BatchCreateBillScenarioUsageModificationEntries = /* @__PURE__ */ __name((input, context) => {
1474
+ return input.filter((e) => e != null).map((entry) => {
1475
+ return se_BatchCreateBillScenarioUsageModificationEntry(entry, context);
1476
+ });
1477
+ }, "se_BatchCreateBillScenarioUsageModificationEntries");
1478
+ var se_BatchCreateBillScenarioUsageModificationEntry = /* @__PURE__ */ __name((input, context) => {
1479
+ return (0, import_smithy_client.take)(input, {
1480
+ amounts: /* @__PURE__ */ __name((_) => se_UsageAmounts(_, context), "amounts"),
1481
+ availabilityZone: [],
1482
+ group: [],
1483
+ historicalUsage: /* @__PURE__ */ __name((_) => se_HistoricalUsageEntity(_, context), "historicalUsage"),
1484
+ key: [],
1485
+ operation: [],
1486
+ serviceCode: [],
1487
+ usageAccountId: [],
1488
+ usageType: []
1489
+ });
1490
+ }, "se_BatchCreateBillScenarioUsageModificationEntry");
1491
+ var se_BatchCreateBillScenarioUsageModificationRequest = /* @__PURE__ */ __name((input, context) => {
1492
+ return (0, import_smithy_client.take)(input, {
1493
+ billScenarioId: [],
1494
+ clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1495
+ usageModifications: /* @__PURE__ */ __name((_) => se_BatchCreateBillScenarioUsageModificationEntries(_, context), "usageModifications")
1496
+ });
1497
+ }, "se_BatchCreateBillScenarioUsageModificationRequest");
1498
+ var se_BatchCreateWorkloadEstimateUsageEntries = /* @__PURE__ */ __name((input, context) => {
1499
+ return input.filter((e) => e != null).map((entry) => {
1500
+ return se_BatchCreateWorkloadEstimateUsageEntry(entry, context);
1501
+ });
1502
+ }, "se_BatchCreateWorkloadEstimateUsageEntries");
1503
+ var se_BatchCreateWorkloadEstimateUsageEntry = /* @__PURE__ */ __name((input, context) => {
1504
+ return (0, import_smithy_client.take)(input, {
1505
+ amount: import_smithy_client.serializeFloat,
1506
+ group: [],
1507
+ historicalUsage: /* @__PURE__ */ __name((_) => se_HistoricalUsageEntity(_, context), "historicalUsage"),
1508
+ key: [],
1509
+ operation: [],
1510
+ serviceCode: [],
1511
+ usageAccountId: [],
1512
+ usageType: []
1513
+ });
1514
+ }, "se_BatchCreateWorkloadEstimateUsageEntry");
1515
+ var se_BatchCreateWorkloadEstimateUsageRequest = /* @__PURE__ */ __name((input, context) => {
1516
+ return (0, import_smithy_client.take)(input, {
1517
+ clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1518
+ usage: /* @__PURE__ */ __name((_) => se_BatchCreateWorkloadEstimateUsageEntries(_, context), "usage"),
1519
+ workloadEstimateId: []
1520
+ });
1521
+ }, "se_BatchCreateWorkloadEstimateUsageRequest");
1522
+ var se_BatchUpdateBillScenarioUsageModificationEntries = /* @__PURE__ */ __name((input, context) => {
1523
+ return input.filter((e) => e != null).map((entry) => {
1524
+ return se_BatchUpdateBillScenarioUsageModificationEntry(entry, context);
1525
+ });
1526
+ }, "se_BatchUpdateBillScenarioUsageModificationEntries");
1527
+ var se_BatchUpdateBillScenarioUsageModificationEntry = /* @__PURE__ */ __name((input, context) => {
1528
+ return (0, import_smithy_client.take)(input, {
1529
+ amounts: /* @__PURE__ */ __name((_) => se_UsageAmounts(_, context), "amounts"),
1530
+ group: [],
1531
+ id: []
1532
+ });
1533
+ }, "se_BatchUpdateBillScenarioUsageModificationEntry");
1534
+ var se_BatchUpdateBillScenarioUsageModificationRequest = /* @__PURE__ */ __name((input, context) => {
1535
+ return (0, import_smithy_client.take)(input, {
1536
+ billScenarioId: [],
1537
+ usageModifications: /* @__PURE__ */ __name((_) => se_BatchUpdateBillScenarioUsageModificationEntries(_, context), "usageModifications")
1538
+ });
1539
+ }, "se_BatchUpdateBillScenarioUsageModificationRequest");
1540
+ var se_BatchUpdateWorkloadEstimateUsageEntries = /* @__PURE__ */ __name((input, context) => {
1541
+ return input.filter((e) => e != null).map((entry) => {
1542
+ return se_BatchUpdateWorkloadEstimateUsageEntry(entry, context);
1543
+ });
1544
+ }, "se_BatchUpdateWorkloadEstimateUsageEntries");
1545
+ var se_BatchUpdateWorkloadEstimateUsageEntry = /* @__PURE__ */ __name((input, context) => {
1546
+ return (0, import_smithy_client.take)(input, {
1547
+ amount: import_smithy_client.serializeFloat,
1548
+ group: [],
1549
+ id: []
1550
+ });
1551
+ }, "se_BatchUpdateWorkloadEstimateUsageEntry");
1552
+ var se_BatchUpdateWorkloadEstimateUsageRequest = /* @__PURE__ */ __name((input, context) => {
1553
+ return (0, import_smithy_client.take)(input, {
1554
+ usage: /* @__PURE__ */ __name((_) => se_BatchUpdateWorkloadEstimateUsageEntries(_, context), "usage"),
1555
+ workloadEstimateId: []
1556
+ });
1557
+ }, "se_BatchUpdateWorkloadEstimateUsageRequest");
1558
+ var se_BillInterval = /* @__PURE__ */ __name((input, context) => {
1559
+ return (0, import_smithy_client.take)(input, {
1560
+ end: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "end"),
1561
+ start: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "start")
1562
+ });
1563
+ }, "se_BillInterval");
1564
+ var se_BillScenarioCommitmentModificationAction = /* @__PURE__ */ __name((input, context) => {
1565
+ return BillScenarioCommitmentModificationAction.visit(input, {
1566
+ addReservedInstanceAction: /* @__PURE__ */ __name((value) => ({ addReservedInstanceAction: (0, import_smithy_client._json)(value) }), "addReservedInstanceAction"),
1567
+ addSavingsPlanAction: /* @__PURE__ */ __name((value) => ({ addSavingsPlanAction: se_AddSavingsPlanAction(value, context) }), "addSavingsPlanAction"),
1568
+ negateReservedInstanceAction: /* @__PURE__ */ __name((value) => ({ negateReservedInstanceAction: (0, import_smithy_client._json)(value) }), "negateReservedInstanceAction"),
1569
+ negateSavingsPlanAction: /* @__PURE__ */ __name((value) => ({ negateSavingsPlanAction: (0, import_smithy_client._json)(value) }), "negateSavingsPlanAction"),
1570
+ _: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")
1571
+ });
1572
+ }, "se_BillScenarioCommitmentModificationAction");
1573
+ var se_CreateBillEstimateRequest = /* @__PURE__ */ __name((input, context) => {
1574
+ return (0, import_smithy_client.take)(input, {
1575
+ billScenarioId: [],
1576
+ clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1577
+ name: [],
1578
+ tags: import_smithy_client._json
1579
+ });
1580
+ }, "se_CreateBillEstimateRequest");
1581
+ var se_CreateBillScenarioRequest = /* @__PURE__ */ __name((input, context) => {
1582
+ return (0, import_smithy_client.take)(input, {
1583
+ clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1584
+ name: [],
1585
+ tags: import_smithy_client._json
1586
+ });
1587
+ }, "se_CreateBillScenarioRequest");
1588
+ var se_CreateWorkloadEstimateRequest = /* @__PURE__ */ __name((input, context) => {
1589
+ return (0, import_smithy_client.take)(input, {
1590
+ clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1591
+ name: [],
1592
+ rateType: [],
1593
+ tags: import_smithy_client._json
1594
+ });
1595
+ }, "se_CreateWorkloadEstimateRequest");
1596
+ var se_Expression = /* @__PURE__ */ __name((input, context) => {
1597
+ return (0, import_smithy_client.take)(input, {
1598
+ and: /* @__PURE__ */ __name((_) => se_ExpressionList(_, context), "and"),
1599
+ costCategories: import_smithy_client._json,
1600
+ dimensions: import_smithy_client._json,
1601
+ not: /* @__PURE__ */ __name((_) => se_Expression(_, context), "not"),
1602
+ or: /* @__PURE__ */ __name((_) => se_ExpressionList(_, context), "or"),
1603
+ tags: import_smithy_client._json
1604
+ });
1605
+ }, "se_Expression");
1606
+ var se_ExpressionList = /* @__PURE__ */ __name((input, context) => {
1607
+ return input.filter((e) => e != null).map((entry) => {
1608
+ return se_Expression(entry, context);
1609
+ });
1610
+ }, "se_ExpressionList");
1611
+ var se_FilterTimestamp = /* @__PURE__ */ __name((input, context) => {
1612
+ return (0, import_smithy_client.take)(input, {
1613
+ afterTimestamp: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "afterTimestamp"),
1614
+ beforeTimestamp: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "beforeTimestamp")
1615
+ });
1616
+ }, "se_FilterTimestamp");
1617
+ var se_HistoricalUsageEntity = /* @__PURE__ */ __name((input, context) => {
1618
+ return (0, import_smithy_client.take)(input, {
1619
+ billInterval: /* @__PURE__ */ __name((_) => se_BillInterval(_, context), "billInterval"),
1620
+ filterExpression: /* @__PURE__ */ __name((_) => se_Expression(_, context), "filterExpression"),
1621
+ location: [],
1622
+ operation: [],
1623
+ serviceCode: [],
1624
+ usageAccountId: [],
1625
+ usageType: []
1626
+ });
1627
+ }, "se_HistoricalUsageEntity");
1628
+ var se_ListBillEstimatesRequest = /* @__PURE__ */ __name((input, context) => {
1629
+ return (0, import_smithy_client.take)(input, {
1630
+ createdAtFilter: /* @__PURE__ */ __name((_) => se_FilterTimestamp(_, context), "createdAtFilter"),
1631
+ expiresAtFilter: /* @__PURE__ */ __name((_) => se_FilterTimestamp(_, context), "expiresAtFilter"),
1632
+ filters: import_smithy_client._json,
1633
+ maxResults: [],
1634
+ nextToken: []
1635
+ });
1636
+ }, "se_ListBillEstimatesRequest");
1637
+ var se_ListBillScenariosRequest = /* @__PURE__ */ __name((input, context) => {
1638
+ return (0, import_smithy_client.take)(input, {
1639
+ createdAtFilter: /* @__PURE__ */ __name((_) => se_FilterTimestamp(_, context), "createdAtFilter"),
1640
+ expiresAtFilter: /* @__PURE__ */ __name((_) => se_FilterTimestamp(_, context), "expiresAtFilter"),
1641
+ filters: import_smithy_client._json,
1642
+ maxResults: [],
1643
+ nextToken: []
1644
+ });
1645
+ }, "se_ListBillScenariosRequest");
1646
+ var se_ListWorkloadEstimatesRequest = /* @__PURE__ */ __name((input, context) => {
1647
+ return (0, import_smithy_client.take)(input, {
1648
+ createdAtFilter: /* @__PURE__ */ __name((_) => se_FilterTimestamp(_, context), "createdAtFilter"),
1649
+ expiresAtFilter: /* @__PURE__ */ __name((_) => se_FilterTimestamp(_, context), "expiresAtFilter"),
1650
+ filters: import_smithy_client._json,
1651
+ maxResults: [],
1652
+ nextToken: []
1653
+ });
1654
+ }, "se_ListWorkloadEstimatesRequest");
1655
+ var se_UpdateBillEstimateRequest = /* @__PURE__ */ __name((input, context) => {
1656
+ return (0, import_smithy_client.take)(input, {
1657
+ expiresAt: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "expiresAt"),
1658
+ identifier: [],
1659
+ name: []
1660
+ });
1661
+ }, "se_UpdateBillEstimateRequest");
1662
+ var se_UpdateBillScenarioRequest = /* @__PURE__ */ __name((input, context) => {
1663
+ return (0, import_smithy_client.take)(input, {
1664
+ expiresAt: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "expiresAt"),
1665
+ identifier: [],
1666
+ name: []
1667
+ });
1668
+ }, "se_UpdateBillScenarioRequest");
1669
+ var se_UpdateWorkloadEstimateRequest = /* @__PURE__ */ __name((input, context) => {
1670
+ return (0, import_smithy_client.take)(input, {
1671
+ expiresAt: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "expiresAt"),
1672
+ identifier: [],
1673
+ name: []
1674
+ });
1675
+ }, "se_UpdateWorkloadEstimateRequest");
1676
+ var se_UsageAmount = /* @__PURE__ */ __name((input, context) => {
1677
+ return (0, import_smithy_client.take)(input, {
1678
+ amount: import_smithy_client.serializeFloat,
1679
+ startHour: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "startHour")
1680
+ });
1681
+ }, "se_UsageAmount");
1682
+ var se_UsageAmounts = /* @__PURE__ */ __name((input, context) => {
1683
+ return input.filter((e) => e != null).map((entry) => {
1684
+ return se_UsageAmount(entry, context);
1685
+ });
1686
+ }, "se_UsageAmounts");
1687
+ var de_AddSavingsPlanAction = /* @__PURE__ */ __name((output, context) => {
1688
+ return (0, import_smithy_client.take)(output, {
1689
+ commitment: import_smithy_client.limitedParseDouble,
1690
+ savingsPlanOfferingId: import_smithy_client.expectString
1691
+ });
1692
+ }, "de_AddSavingsPlanAction");
1693
+ var de_BatchCreateBillScenarioCommitmentModificationItem = /* @__PURE__ */ __name((output, context) => {
1694
+ return (0, import_smithy_client.take)(output, {
1695
+ commitmentAction: /* @__PURE__ */ __name((_) => de_BillScenarioCommitmentModificationAction((0, import_core2.awsExpectUnion)(_), context), "commitmentAction"),
1696
+ group: import_smithy_client.expectString,
1697
+ id: import_smithy_client.expectString,
1698
+ key: import_smithy_client.expectString,
1699
+ usageAccountId: import_smithy_client.expectString
1700
+ });
1701
+ }, "de_BatchCreateBillScenarioCommitmentModificationItem");
1702
+ var de_BatchCreateBillScenarioCommitmentModificationItems = /* @__PURE__ */ __name((output, context) => {
1703
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
1704
+ return de_BatchCreateBillScenarioCommitmentModificationItem(entry, context);
1705
+ });
1706
+ return retVal;
1707
+ }, "de_BatchCreateBillScenarioCommitmentModificationItems");
1708
+ var de_BatchCreateBillScenarioCommitmentModificationResponse = /* @__PURE__ */ __name((output, context) => {
1709
+ return (0, import_smithy_client.take)(output, {
1710
+ errors: import_smithy_client._json,
1711
+ items: /* @__PURE__ */ __name((_) => de_BatchCreateBillScenarioCommitmentModificationItems(_, context), "items")
1712
+ });
1713
+ }, "de_BatchCreateBillScenarioCommitmentModificationResponse");
1714
+ var de_BatchCreateBillScenarioUsageModificationItem = /* @__PURE__ */ __name((output, context) => {
1715
+ return (0, import_smithy_client.take)(output, {
1716
+ availabilityZone: import_smithy_client.expectString,
1717
+ group: import_smithy_client.expectString,
1718
+ historicalUsage: /* @__PURE__ */ __name((_) => de_HistoricalUsageEntity(_, context), "historicalUsage"),
1719
+ id: import_smithy_client.expectString,
1720
+ key: import_smithy_client.expectString,
1721
+ location: import_smithy_client.expectString,
1722
+ operation: import_smithy_client.expectString,
1723
+ quantities: /* @__PURE__ */ __name((_) => de_UsageQuantities(_, context), "quantities"),
1724
+ serviceCode: import_smithy_client.expectString,
1725
+ usageAccountId: import_smithy_client.expectString,
1726
+ usageType: import_smithy_client.expectString
1727
+ });
1728
+ }, "de_BatchCreateBillScenarioUsageModificationItem");
1729
+ var de_BatchCreateBillScenarioUsageModificationItems = /* @__PURE__ */ __name((output, context) => {
1730
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
1731
+ return de_BatchCreateBillScenarioUsageModificationItem(entry, context);
1732
+ });
1733
+ return retVal;
1734
+ }, "de_BatchCreateBillScenarioUsageModificationItems");
1735
+ var de_BatchCreateBillScenarioUsageModificationResponse = /* @__PURE__ */ __name((output, context) => {
1736
+ return (0, import_smithy_client.take)(output, {
1737
+ errors: import_smithy_client._json,
1738
+ items: /* @__PURE__ */ __name((_) => de_BatchCreateBillScenarioUsageModificationItems(_, context), "items")
1739
+ });
1740
+ }, "de_BatchCreateBillScenarioUsageModificationResponse");
1741
+ var de_BatchCreateWorkloadEstimateUsageItem = /* @__PURE__ */ __name((output, context) => {
1742
+ return (0, import_smithy_client.take)(output, {
1743
+ cost: import_smithy_client.limitedParseDouble,
1744
+ currency: import_smithy_client.expectString,
1745
+ group: import_smithy_client.expectString,
1746
+ historicalUsage: /* @__PURE__ */ __name((_) => de_HistoricalUsageEntity(_, context), "historicalUsage"),
1747
+ id: import_smithy_client.expectString,
1748
+ key: import_smithy_client.expectString,
1749
+ location: import_smithy_client.expectString,
1750
+ operation: import_smithy_client.expectString,
1751
+ quantity: /* @__PURE__ */ __name((_) => de_WorkloadEstimateUsageQuantity(_, context), "quantity"),
1752
+ serviceCode: import_smithy_client.expectString,
1753
+ status: import_smithy_client.expectString,
1754
+ usageAccountId: import_smithy_client.expectString,
1755
+ usageType: import_smithy_client.expectString
1756
+ });
1757
+ }, "de_BatchCreateWorkloadEstimateUsageItem");
1758
+ var de_BatchCreateWorkloadEstimateUsageItems = /* @__PURE__ */ __name((output, context) => {
1759
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
1760
+ return de_BatchCreateWorkloadEstimateUsageItem(entry, context);
1761
+ });
1762
+ return retVal;
1763
+ }, "de_BatchCreateWorkloadEstimateUsageItems");
1764
+ var de_BatchCreateWorkloadEstimateUsageResponse = /* @__PURE__ */ __name((output, context) => {
1765
+ return (0, import_smithy_client.take)(output, {
1766
+ errors: import_smithy_client._json,
1767
+ items: /* @__PURE__ */ __name((_) => de_BatchCreateWorkloadEstimateUsageItems(_, context), "items")
1768
+ });
1769
+ }, "de_BatchCreateWorkloadEstimateUsageResponse");
1770
+ var de_BatchUpdateBillScenarioCommitmentModificationResponse = /* @__PURE__ */ __name((output, context) => {
1771
+ return (0, import_smithy_client.take)(output, {
1772
+ errors: import_smithy_client._json,
1773
+ items: /* @__PURE__ */ __name((_) => de_BillScenarioCommitmentModificationItems(_, context), "items")
1774
+ });
1775
+ }, "de_BatchUpdateBillScenarioCommitmentModificationResponse");
1776
+ var de_BatchUpdateBillScenarioUsageModificationResponse = /* @__PURE__ */ __name((output, context) => {
1777
+ return (0, import_smithy_client.take)(output, {
1778
+ errors: import_smithy_client._json,
1779
+ items: /* @__PURE__ */ __name((_) => de_BillScenarioUsageModificationItems(_, context), "items")
1780
+ });
1781
+ }, "de_BatchUpdateBillScenarioUsageModificationResponse");
1782
+ var de_BatchUpdateWorkloadEstimateUsageResponse = /* @__PURE__ */ __name((output, context) => {
1783
+ return (0, import_smithy_client.take)(output, {
1784
+ errors: import_smithy_client._json,
1785
+ items: /* @__PURE__ */ __name((_) => de_WorkloadEstimateUsageItems(_, context), "items")
1786
+ });
1787
+ }, "de_BatchUpdateWorkloadEstimateUsageResponse");
1788
+ var de_BillEstimateCommitmentSummaries = /* @__PURE__ */ __name((output, context) => {
1789
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
1790
+ return de_BillEstimateCommitmentSummary(entry, context);
1791
+ });
1792
+ return retVal;
1793
+ }, "de_BillEstimateCommitmentSummaries");
1794
+ var de_BillEstimateCommitmentSummary = /* @__PURE__ */ __name((output, context) => {
1795
+ return (0, import_smithy_client.take)(output, {
1796
+ id: import_smithy_client.expectString,
1797
+ monthlyPayment: /* @__PURE__ */ __name((_) => de_CostAmount(_, context), "monthlyPayment"),
1798
+ offeringId: import_smithy_client.expectString,
1799
+ paymentOption: import_smithy_client.expectString,
1800
+ purchaseAgreementType: import_smithy_client.expectString,
1801
+ region: import_smithy_client.expectString,
1802
+ termLength: import_smithy_client.expectString,
1803
+ upfrontPayment: /* @__PURE__ */ __name((_) => de_CostAmount(_, context), "upfrontPayment"),
1804
+ usageAccountId: import_smithy_client.expectString
1805
+ });
1806
+ }, "de_BillEstimateCommitmentSummary");
1807
+ var de_BillEstimateCostSummary = /* @__PURE__ */ __name((output, context) => {
1808
+ return (0, import_smithy_client.take)(output, {
1809
+ serviceCostDifferences: /* @__PURE__ */ __name((_) => de_ServiceCostDifferenceMap(_, context), "serviceCostDifferences"),
1810
+ totalCostDifference: /* @__PURE__ */ __name((_) => de_CostDifference(_, context), "totalCostDifference")
1811
+ });
1812
+ }, "de_BillEstimateCostSummary");
1813
+ var de_BillEstimateInputCommitmentModificationSummaries = /* @__PURE__ */ __name((output, context) => {
1814
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
1815
+ return de_BillEstimateInputCommitmentModificationSummary(entry, context);
1816
+ });
1817
+ return retVal;
1818
+ }, "de_BillEstimateInputCommitmentModificationSummaries");
1819
+ var de_BillEstimateInputCommitmentModificationSummary = /* @__PURE__ */ __name((output, context) => {
1820
+ return (0, import_smithy_client.take)(output, {
1821
+ commitmentAction: /* @__PURE__ */ __name((_) => de_BillScenarioCommitmentModificationAction((0, import_core2.awsExpectUnion)(_), context), "commitmentAction"),
1822
+ group: import_smithy_client.expectString,
1823
+ id: import_smithy_client.expectString,
1824
+ usageAccountId: import_smithy_client.expectString
1825
+ });
1826
+ }, "de_BillEstimateInputCommitmentModificationSummary");
1827
+ var de_BillEstimateInputUsageModificationSummaries = /* @__PURE__ */ __name((output, context) => {
1828
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
1829
+ return de_BillEstimateInputUsageModificationSummary(entry, context);
1830
+ });
1831
+ return retVal;
1832
+ }, "de_BillEstimateInputUsageModificationSummaries");
1833
+ var de_BillEstimateInputUsageModificationSummary = /* @__PURE__ */ __name((output, context) => {
1834
+ return (0, import_smithy_client.take)(output, {
1835
+ availabilityZone: import_smithy_client.expectString,
1836
+ group: import_smithy_client.expectString,
1837
+ historicalUsage: /* @__PURE__ */ __name((_) => de_HistoricalUsageEntity(_, context), "historicalUsage"),
1838
+ id: import_smithy_client.expectString,
1839
+ location: import_smithy_client.expectString,
1840
+ operation: import_smithy_client.expectString,
1841
+ quantities: /* @__PURE__ */ __name((_) => de_UsageQuantities(_, context), "quantities"),
1842
+ serviceCode: import_smithy_client.expectString,
1843
+ usageAccountId: import_smithy_client.expectString,
1844
+ usageType: import_smithy_client.expectString
1845
+ });
1846
+ }, "de_BillEstimateInputUsageModificationSummary");
1847
+ var de_BillEstimateLineItemSummaries = /* @__PURE__ */ __name((output, context) => {
1848
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
1849
+ return de_BillEstimateLineItemSummary(entry, context);
1850
+ });
1851
+ return retVal;
1852
+ }, "de_BillEstimateLineItemSummaries");
1853
+ var de_BillEstimateLineItemSummary = /* @__PURE__ */ __name((output, context) => {
1854
+ return (0, import_smithy_client.take)(output, {
1855
+ availabilityZone: import_smithy_client.expectString,
1856
+ estimatedCost: /* @__PURE__ */ __name((_) => de_CostAmount(_, context), "estimatedCost"),
1857
+ estimatedUsageQuantity: /* @__PURE__ */ __name((_) => de_UsageQuantityResult(_, context), "estimatedUsageQuantity"),
1858
+ historicalCost: /* @__PURE__ */ __name((_) => de_CostAmount(_, context), "historicalCost"),
1859
+ historicalUsageQuantity: /* @__PURE__ */ __name((_) => de_UsageQuantityResult(_, context), "historicalUsageQuantity"),
1860
+ id: import_smithy_client.expectString,
1861
+ lineItemId: import_smithy_client.expectString,
1862
+ lineItemType: import_smithy_client.expectString,
1863
+ location: import_smithy_client.expectString,
1864
+ operation: import_smithy_client.expectString,
1865
+ payerAccountId: import_smithy_client.expectString,
1866
+ savingsPlanArns: import_smithy_client._json,
1867
+ serviceCode: import_smithy_client.expectString,
1868
+ usageAccountId: import_smithy_client.expectString,
1869
+ usageType: import_smithy_client.expectString
1870
+ });
1871
+ }, "de_BillEstimateLineItemSummary");
1872
+ var de_BillEstimateSummaries = /* @__PURE__ */ __name((output, context) => {
1873
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
1874
+ return de_BillEstimateSummary(entry, context);
1875
+ });
1876
+ return retVal;
1877
+ }, "de_BillEstimateSummaries");
1878
+ var de_BillEstimateSummary = /* @__PURE__ */ __name((output, context) => {
1879
+ return (0, import_smithy_client.take)(output, {
1880
+ billInterval: /* @__PURE__ */ __name((_) => de_BillInterval(_, context), "billInterval"),
1881
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
1882
+ expiresAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "expiresAt"),
1883
+ id: import_smithy_client.expectString,
1884
+ name: import_smithy_client.expectString,
1885
+ status: import_smithy_client.expectString
1886
+ });
1887
+ }, "de_BillEstimateSummary");
1888
+ var de_BillInterval = /* @__PURE__ */ __name((output, context) => {
1889
+ return (0, import_smithy_client.take)(output, {
1890
+ end: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "end"),
1891
+ start: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "start")
1892
+ });
1893
+ }, "de_BillInterval");
1894
+ var de_BillScenarioCommitmentModificationAction = /* @__PURE__ */ __name((output, context) => {
1895
+ if (output.addReservedInstanceAction != null) {
1896
+ return {
1897
+ addReservedInstanceAction: (0, import_smithy_client._json)(output.addReservedInstanceAction)
1898
+ };
1899
+ }
1900
+ if (output.addSavingsPlanAction != null) {
1901
+ return {
1902
+ addSavingsPlanAction: de_AddSavingsPlanAction(output.addSavingsPlanAction, context)
1903
+ };
1904
+ }
1905
+ if (output.negateReservedInstanceAction != null) {
1906
+ return {
1907
+ negateReservedInstanceAction: (0, import_smithy_client._json)(output.negateReservedInstanceAction)
1908
+ };
1909
+ }
1910
+ if (output.negateSavingsPlanAction != null) {
1911
+ return {
1912
+ negateSavingsPlanAction: (0, import_smithy_client._json)(output.negateSavingsPlanAction)
1913
+ };
1914
+ }
1915
+ return { $unknown: Object.entries(output)[0] };
1916
+ }, "de_BillScenarioCommitmentModificationAction");
1917
+ var de_BillScenarioCommitmentModificationItem = /* @__PURE__ */ __name((output, context) => {
1918
+ return (0, import_smithy_client.take)(output, {
1919
+ commitmentAction: /* @__PURE__ */ __name((_) => de_BillScenarioCommitmentModificationAction((0, import_core2.awsExpectUnion)(_), context), "commitmentAction"),
1920
+ group: import_smithy_client.expectString,
1921
+ id: import_smithy_client.expectString,
1922
+ usageAccountId: import_smithy_client.expectString
1923
+ });
1924
+ }, "de_BillScenarioCommitmentModificationItem");
1925
+ var de_BillScenarioCommitmentModificationItems = /* @__PURE__ */ __name((output, context) => {
1926
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
1927
+ return de_BillScenarioCommitmentModificationItem(entry, context);
1928
+ });
1929
+ return retVal;
1930
+ }, "de_BillScenarioCommitmentModificationItems");
1931
+ var de_BillScenarioSummaries = /* @__PURE__ */ __name((output, context) => {
1932
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
1933
+ return de_BillScenarioSummary(entry, context);
1934
+ });
1935
+ return retVal;
1936
+ }, "de_BillScenarioSummaries");
1937
+ var de_BillScenarioSummary = /* @__PURE__ */ __name((output, context) => {
1938
+ return (0, import_smithy_client.take)(output, {
1939
+ billInterval: /* @__PURE__ */ __name((_) => de_BillInterval(_, context), "billInterval"),
1940
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
1941
+ expiresAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "expiresAt"),
1942
+ failureMessage: import_smithy_client.expectString,
1943
+ id: import_smithy_client.expectString,
1944
+ name: import_smithy_client.expectString,
1945
+ status: import_smithy_client.expectString
1946
+ });
1947
+ }, "de_BillScenarioSummary");
1948
+ var de_BillScenarioUsageModificationItem = /* @__PURE__ */ __name((output, context) => {
1949
+ return (0, import_smithy_client.take)(output, {
1950
+ availabilityZone: import_smithy_client.expectString,
1951
+ group: import_smithy_client.expectString,
1952
+ historicalUsage: /* @__PURE__ */ __name((_) => de_HistoricalUsageEntity(_, context), "historicalUsage"),
1953
+ id: import_smithy_client.expectString,
1954
+ location: import_smithy_client.expectString,
1955
+ operation: import_smithy_client.expectString,
1956
+ quantities: /* @__PURE__ */ __name((_) => de_UsageQuantities(_, context), "quantities"),
1957
+ serviceCode: import_smithy_client.expectString,
1958
+ usageAccountId: import_smithy_client.expectString,
1959
+ usageType: import_smithy_client.expectString
1960
+ });
1961
+ }, "de_BillScenarioUsageModificationItem");
1962
+ var de_BillScenarioUsageModificationItems = /* @__PURE__ */ __name((output, context) => {
1963
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
1964
+ return de_BillScenarioUsageModificationItem(entry, context);
1965
+ });
1966
+ return retVal;
1967
+ }, "de_BillScenarioUsageModificationItems");
1968
+ var de_CostAmount = /* @__PURE__ */ __name((output, context) => {
1969
+ return (0, import_smithy_client.take)(output, {
1970
+ amount: import_smithy_client.limitedParseDouble,
1971
+ currency: import_smithy_client.expectString
1972
+ });
1973
+ }, "de_CostAmount");
1974
+ var de_CostDifference = /* @__PURE__ */ __name((output, context) => {
1975
+ return (0, import_smithy_client.take)(output, {
1976
+ estimatedCost: /* @__PURE__ */ __name((_) => de_CostAmount(_, context), "estimatedCost"),
1977
+ historicalCost: /* @__PURE__ */ __name((_) => de_CostAmount(_, context), "historicalCost")
1978
+ });
1979
+ }, "de_CostDifference");
1980
+ var de_CreateBillEstimateResponse = /* @__PURE__ */ __name((output, context) => {
1981
+ return (0, import_smithy_client.take)(output, {
1982
+ billInterval: /* @__PURE__ */ __name((_) => de_BillInterval(_, context), "billInterval"),
1983
+ costSummary: /* @__PURE__ */ __name((_) => de_BillEstimateCostSummary(_, context), "costSummary"),
1984
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
1985
+ expiresAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "expiresAt"),
1986
+ failureMessage: import_smithy_client.expectString,
1987
+ id: import_smithy_client.expectString,
1988
+ name: import_smithy_client.expectString,
1989
+ status: import_smithy_client.expectString
1990
+ });
1991
+ }, "de_CreateBillEstimateResponse");
1992
+ var de_CreateBillScenarioResponse = /* @__PURE__ */ __name((output, context) => {
1993
+ return (0, import_smithy_client.take)(output, {
1994
+ billInterval: /* @__PURE__ */ __name((_) => de_BillInterval(_, context), "billInterval"),
1995
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
1996
+ expiresAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "expiresAt"),
1997
+ failureMessage: import_smithy_client.expectString,
1998
+ id: import_smithy_client.expectString,
1999
+ name: import_smithy_client.expectString,
2000
+ status: import_smithy_client.expectString
2001
+ });
2002
+ }, "de_CreateBillScenarioResponse");
2003
+ var de_CreateWorkloadEstimateResponse = /* @__PURE__ */ __name((output, context) => {
2004
+ return (0, import_smithy_client.take)(output, {
2005
+ costCurrency: import_smithy_client.expectString,
2006
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
2007
+ expiresAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "expiresAt"),
2008
+ failureMessage: import_smithy_client.expectString,
2009
+ id: import_smithy_client.expectString,
2010
+ name: import_smithy_client.expectString,
2011
+ rateTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "rateTimestamp"),
2012
+ rateType: import_smithy_client.expectString,
2013
+ status: import_smithy_client.expectString,
2014
+ totalCost: import_smithy_client.limitedParseDouble
2015
+ });
2016
+ }, "de_CreateWorkloadEstimateResponse");
2017
+ var de_Expression = /* @__PURE__ */ __name((output, context) => {
2018
+ return (0, import_smithy_client.take)(output, {
2019
+ and: /* @__PURE__ */ __name((_) => de_ExpressionList(_, context), "and"),
2020
+ costCategories: import_smithy_client._json,
2021
+ dimensions: import_smithy_client._json,
2022
+ not: /* @__PURE__ */ __name((_) => de_Expression(_, context), "not"),
2023
+ or: /* @__PURE__ */ __name((_) => de_ExpressionList(_, context), "or"),
2024
+ tags: import_smithy_client._json
2025
+ });
2026
+ }, "de_Expression");
2027
+ var de_ExpressionList = /* @__PURE__ */ __name((output, context) => {
2028
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2029
+ return de_Expression(entry, context);
2030
+ });
2031
+ return retVal;
2032
+ }, "de_ExpressionList");
2033
+ var de_GetBillEstimateResponse = /* @__PURE__ */ __name((output, context) => {
2034
+ return (0, import_smithy_client.take)(output, {
2035
+ billInterval: /* @__PURE__ */ __name((_) => de_BillInterval(_, context), "billInterval"),
2036
+ costSummary: /* @__PURE__ */ __name((_) => de_BillEstimateCostSummary(_, context), "costSummary"),
2037
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
2038
+ expiresAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "expiresAt"),
2039
+ failureMessage: import_smithy_client.expectString,
2040
+ id: import_smithy_client.expectString,
2041
+ name: import_smithy_client.expectString,
2042
+ status: import_smithy_client.expectString
2043
+ });
2044
+ }, "de_GetBillEstimateResponse");
2045
+ var de_GetBillScenarioResponse = /* @__PURE__ */ __name((output, context) => {
2046
+ return (0, import_smithy_client.take)(output, {
2047
+ billInterval: /* @__PURE__ */ __name((_) => de_BillInterval(_, context), "billInterval"),
2048
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
2049
+ expiresAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "expiresAt"),
2050
+ failureMessage: import_smithy_client.expectString,
2051
+ id: import_smithy_client.expectString,
2052
+ name: import_smithy_client.expectString,
2053
+ status: import_smithy_client.expectString
2054
+ });
2055
+ }, "de_GetBillScenarioResponse");
2056
+ var de_GetWorkloadEstimateResponse = /* @__PURE__ */ __name((output, context) => {
2057
+ return (0, import_smithy_client.take)(output, {
2058
+ costCurrency: import_smithy_client.expectString,
2059
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
2060
+ expiresAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "expiresAt"),
2061
+ failureMessage: import_smithy_client.expectString,
2062
+ id: import_smithy_client.expectString,
2063
+ name: import_smithy_client.expectString,
2064
+ rateTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "rateTimestamp"),
2065
+ rateType: import_smithy_client.expectString,
2066
+ status: import_smithy_client.expectString,
2067
+ totalCost: import_smithy_client.limitedParseDouble
2068
+ });
2069
+ }, "de_GetWorkloadEstimateResponse");
2070
+ var de_HistoricalUsageEntity = /* @__PURE__ */ __name((output, context) => {
2071
+ return (0, import_smithy_client.take)(output, {
2072
+ billInterval: /* @__PURE__ */ __name((_) => de_BillInterval(_, context), "billInterval"),
2073
+ filterExpression: /* @__PURE__ */ __name((_) => de_Expression(_, context), "filterExpression"),
2074
+ location: import_smithy_client.expectString,
2075
+ operation: import_smithy_client.expectString,
2076
+ serviceCode: import_smithy_client.expectString,
2077
+ usageAccountId: import_smithy_client.expectString,
2078
+ usageType: import_smithy_client.expectString
2079
+ });
2080
+ }, "de_HistoricalUsageEntity");
2081
+ var de_ListBillEstimateCommitmentsResponse = /* @__PURE__ */ __name((output, context) => {
2082
+ return (0, import_smithy_client.take)(output, {
2083
+ items: /* @__PURE__ */ __name((_) => de_BillEstimateCommitmentSummaries(_, context), "items"),
2084
+ nextToken: import_smithy_client.expectString
2085
+ });
2086
+ }, "de_ListBillEstimateCommitmentsResponse");
2087
+ var de_ListBillEstimateInputCommitmentModificationsResponse = /* @__PURE__ */ __name((output, context) => {
2088
+ return (0, import_smithy_client.take)(output, {
2089
+ items: /* @__PURE__ */ __name((_) => de_BillEstimateInputCommitmentModificationSummaries(_, context), "items"),
2090
+ nextToken: import_smithy_client.expectString
2091
+ });
2092
+ }, "de_ListBillEstimateInputCommitmentModificationsResponse");
2093
+ var de_ListBillEstimateInputUsageModificationsResponse = /* @__PURE__ */ __name((output, context) => {
2094
+ return (0, import_smithy_client.take)(output, {
2095
+ items: /* @__PURE__ */ __name((_) => de_BillEstimateInputUsageModificationSummaries(_, context), "items"),
2096
+ nextToken: import_smithy_client.expectString
2097
+ });
2098
+ }, "de_ListBillEstimateInputUsageModificationsResponse");
2099
+ var de_ListBillEstimateLineItemsResponse = /* @__PURE__ */ __name((output, context) => {
2100
+ return (0, import_smithy_client.take)(output, {
2101
+ items: /* @__PURE__ */ __name((_) => de_BillEstimateLineItemSummaries(_, context), "items"),
2102
+ nextToken: import_smithy_client.expectString
2103
+ });
2104
+ }, "de_ListBillEstimateLineItemsResponse");
2105
+ var de_ListBillEstimatesResponse = /* @__PURE__ */ __name((output, context) => {
2106
+ return (0, import_smithy_client.take)(output, {
2107
+ items: /* @__PURE__ */ __name((_) => de_BillEstimateSummaries(_, context), "items"),
2108
+ nextToken: import_smithy_client.expectString
2109
+ });
2110
+ }, "de_ListBillEstimatesResponse");
2111
+ var de_ListBillScenarioCommitmentModificationsResponse = /* @__PURE__ */ __name((output, context) => {
2112
+ return (0, import_smithy_client.take)(output, {
2113
+ items: /* @__PURE__ */ __name((_) => de_BillScenarioCommitmentModificationItems(_, context), "items"),
2114
+ nextToken: import_smithy_client.expectString
2115
+ });
2116
+ }, "de_ListBillScenarioCommitmentModificationsResponse");
2117
+ var de_ListBillScenariosResponse = /* @__PURE__ */ __name((output, context) => {
2118
+ return (0, import_smithy_client.take)(output, {
2119
+ items: /* @__PURE__ */ __name((_) => de_BillScenarioSummaries(_, context), "items"),
2120
+ nextToken: import_smithy_client.expectString
2121
+ });
2122
+ }, "de_ListBillScenariosResponse");
2123
+ var de_ListBillScenarioUsageModificationsResponse = /* @__PURE__ */ __name((output, context) => {
2124
+ return (0, import_smithy_client.take)(output, {
2125
+ items: /* @__PURE__ */ __name((_) => de_BillScenarioUsageModificationItems(_, context), "items"),
2126
+ nextToken: import_smithy_client.expectString
2127
+ });
2128
+ }, "de_ListBillScenarioUsageModificationsResponse");
2129
+ var de_ListWorkloadEstimatesResponse = /* @__PURE__ */ __name((output, context) => {
2130
+ return (0, import_smithy_client.take)(output, {
2131
+ items: /* @__PURE__ */ __name((_) => de_WorkloadEstimateSummaries(_, context), "items"),
2132
+ nextToken: import_smithy_client.expectString
2133
+ });
2134
+ }, "de_ListWorkloadEstimatesResponse");
2135
+ var de_ListWorkloadEstimateUsageResponse = /* @__PURE__ */ __name((output, context) => {
2136
+ return (0, import_smithy_client.take)(output, {
2137
+ items: /* @__PURE__ */ __name((_) => de_WorkloadEstimateUsageItems(_, context), "items"),
2138
+ nextToken: import_smithy_client.expectString
2139
+ });
2140
+ }, "de_ListWorkloadEstimateUsageResponse");
2141
+ var de_ServiceCostDifferenceMap = /* @__PURE__ */ __name((output, context) => {
2142
+ return Object.entries(output).reduce((acc, [key, value]) => {
2143
+ if (value === null) {
2144
+ return acc;
2145
+ }
2146
+ acc[key] = de_CostDifference(value, context);
2147
+ return acc;
2148
+ }, {});
2149
+ }, "de_ServiceCostDifferenceMap");
2150
+ var de_UpdateBillEstimateResponse = /* @__PURE__ */ __name((output, context) => {
2151
+ return (0, import_smithy_client.take)(output, {
2152
+ billInterval: /* @__PURE__ */ __name((_) => de_BillInterval(_, context), "billInterval"),
2153
+ costSummary: /* @__PURE__ */ __name((_) => de_BillEstimateCostSummary(_, context), "costSummary"),
2154
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
2155
+ expiresAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "expiresAt"),
2156
+ failureMessage: import_smithy_client.expectString,
2157
+ id: import_smithy_client.expectString,
2158
+ name: import_smithy_client.expectString,
2159
+ status: import_smithy_client.expectString
2160
+ });
2161
+ }, "de_UpdateBillEstimateResponse");
2162
+ var de_UpdateBillScenarioResponse = /* @__PURE__ */ __name((output, context) => {
2163
+ return (0, import_smithy_client.take)(output, {
2164
+ billInterval: /* @__PURE__ */ __name((_) => de_BillInterval(_, context), "billInterval"),
2165
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
2166
+ expiresAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "expiresAt"),
2167
+ failureMessage: import_smithy_client.expectString,
2168
+ id: import_smithy_client.expectString,
2169
+ name: import_smithy_client.expectString,
2170
+ status: import_smithy_client.expectString
2171
+ });
2172
+ }, "de_UpdateBillScenarioResponse");
2173
+ var de_UpdateWorkloadEstimateResponse = /* @__PURE__ */ __name((output, context) => {
2174
+ return (0, import_smithy_client.take)(output, {
2175
+ costCurrency: import_smithy_client.expectString,
2176
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
2177
+ expiresAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "expiresAt"),
2178
+ failureMessage: import_smithy_client.expectString,
2179
+ id: import_smithy_client.expectString,
2180
+ name: import_smithy_client.expectString,
2181
+ rateTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "rateTimestamp"),
2182
+ rateType: import_smithy_client.expectString,
2183
+ status: import_smithy_client.expectString,
2184
+ totalCost: import_smithy_client.limitedParseDouble
2185
+ });
2186
+ }, "de_UpdateWorkloadEstimateResponse");
2187
+ var de_UsageQuantities = /* @__PURE__ */ __name((output, context) => {
2188
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2189
+ return de_UsageQuantity(entry, context);
2190
+ });
2191
+ return retVal;
2192
+ }, "de_UsageQuantities");
2193
+ var de_UsageQuantity = /* @__PURE__ */ __name((output, context) => {
2194
+ return (0, import_smithy_client.take)(output, {
2195
+ amount: import_smithy_client.limitedParseDouble,
2196
+ startHour: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "startHour"),
2197
+ unit: import_smithy_client.expectString
2198
+ });
2199
+ }, "de_UsageQuantity");
2200
+ var de_UsageQuantityResult = /* @__PURE__ */ __name((output, context) => {
2201
+ return (0, import_smithy_client.take)(output, {
2202
+ amount: import_smithy_client.limitedParseDouble,
2203
+ unit: import_smithy_client.expectString
2204
+ });
2205
+ }, "de_UsageQuantityResult");
2206
+ var de_WorkloadEstimateSummaries = /* @__PURE__ */ __name((output, context) => {
2207
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2208
+ return de_WorkloadEstimateSummary(entry, context);
2209
+ });
2210
+ return retVal;
2211
+ }, "de_WorkloadEstimateSummaries");
2212
+ var de_WorkloadEstimateSummary = /* @__PURE__ */ __name((output, context) => {
2213
+ return (0, import_smithy_client.take)(output, {
2214
+ costCurrency: import_smithy_client.expectString,
2215
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
2216
+ expiresAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "expiresAt"),
2217
+ failureMessage: import_smithy_client.expectString,
2218
+ id: import_smithy_client.expectString,
2219
+ name: import_smithy_client.expectString,
2220
+ rateTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "rateTimestamp"),
2221
+ rateType: import_smithy_client.expectString,
2222
+ status: import_smithy_client.expectString,
2223
+ totalCost: import_smithy_client.limitedParseDouble
2224
+ });
2225
+ }, "de_WorkloadEstimateSummary");
2226
+ var de_WorkloadEstimateUsageItem = /* @__PURE__ */ __name((output, context) => {
2227
+ return (0, import_smithy_client.take)(output, {
2228
+ cost: import_smithy_client.limitedParseDouble,
2229
+ currency: import_smithy_client.expectString,
2230
+ group: import_smithy_client.expectString,
2231
+ historicalUsage: /* @__PURE__ */ __name((_) => de_HistoricalUsageEntity(_, context), "historicalUsage"),
2232
+ id: import_smithy_client.expectString,
2233
+ location: import_smithy_client.expectString,
2234
+ operation: import_smithy_client.expectString,
2235
+ quantity: /* @__PURE__ */ __name((_) => de_WorkloadEstimateUsageQuantity(_, context), "quantity"),
2236
+ serviceCode: import_smithy_client.expectString,
2237
+ status: import_smithy_client.expectString,
2238
+ usageAccountId: import_smithy_client.expectString,
2239
+ usageType: import_smithy_client.expectString
2240
+ });
2241
+ }, "de_WorkloadEstimateUsageItem");
2242
+ var de_WorkloadEstimateUsageItems = /* @__PURE__ */ __name((output, context) => {
2243
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2244
+ return de_WorkloadEstimateUsageItem(entry, context);
2245
+ });
2246
+ return retVal;
2247
+ }, "de_WorkloadEstimateUsageItems");
2248
+ var de_WorkloadEstimateUsageQuantity = /* @__PURE__ */ __name((output, context) => {
2249
+ return (0, import_smithy_client.take)(output, {
2250
+ amount: import_smithy_client.limitedParseDouble,
2251
+ unit: import_smithy_client.expectString
2252
+ });
2253
+ }, "de_WorkloadEstimateUsageQuantity");
2254
+ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
2255
+ httpStatusCode: output.statusCode,
2256
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
2257
+ extendedRequestId: output.headers["x-amz-id-2"],
2258
+ cfId: output.headers["x-amz-cf-id"]
2259
+ }), "deserializeMetadata");
2260
+ var throwDefaultError = (0, import_smithy_client.withBaseException)(BCMPricingCalculatorServiceException);
2261
+ var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
2262
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
2263
+ const contents = {
2264
+ protocol,
2265
+ hostname,
2266
+ port,
2267
+ method: "POST",
2268
+ path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
2269
+ headers
2270
+ };
2271
+ if (resolvedHostname !== void 0) {
2272
+ contents.hostname = resolvedHostname;
2273
+ }
2274
+ if (body !== void 0) {
2275
+ contents.body = body;
2276
+ }
2277
+ return new import_protocol_http.HttpRequest(contents);
2278
+ }, "buildHttpRpcRequest");
2279
+ function sharedHeaders(operation) {
2280
+ return {
2281
+ "content-type": "application/x-amz-json-1.0",
2282
+ "x-amz-target": `AWSBCMPricingCalculator.${operation}`
2283
+ };
2284
+ }
2285
+ __name(sharedHeaders, "sharedHeaders");
2286
+
2287
+ // src/commands/BatchCreateBillScenarioCommitmentModificationCommand.ts
2288
+ var BatchCreateBillScenarioCommitmentModificationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2289
+ return [
2290
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2291
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2292
+ ];
2293
+ }).s("AWSBCMPricingCalculator", "BatchCreateBillScenarioCommitmentModification", {}).n("BCMPricingCalculatorClient", "BatchCreateBillScenarioCommitmentModificationCommand").f(void 0, void 0).ser(se_BatchCreateBillScenarioCommitmentModificationCommand).de(de_BatchCreateBillScenarioCommitmentModificationCommand).build() {
2294
+ static {
2295
+ __name(this, "BatchCreateBillScenarioCommitmentModificationCommand");
2296
+ }
2297
+ };
2298
+
2299
+ // src/commands/BatchCreateBillScenarioUsageModificationCommand.ts
2300
+
2301
+
2302
+
2303
+ var BatchCreateBillScenarioUsageModificationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2304
+ return [
2305
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2306
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2307
+ ];
2308
+ }).s("AWSBCMPricingCalculator", "BatchCreateBillScenarioUsageModification", {}).n("BCMPricingCalculatorClient", "BatchCreateBillScenarioUsageModificationCommand").f(void 0, void 0).ser(se_BatchCreateBillScenarioUsageModificationCommand).de(de_BatchCreateBillScenarioUsageModificationCommand).build() {
2309
+ static {
2310
+ __name(this, "BatchCreateBillScenarioUsageModificationCommand");
2311
+ }
2312
+ };
2313
+
2314
+ // src/commands/BatchCreateWorkloadEstimateUsageCommand.ts
2315
+
2316
+
2317
+
2318
+ var BatchCreateWorkloadEstimateUsageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2319
+ return [
2320
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2321
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2322
+ ];
2323
+ }).s("AWSBCMPricingCalculator", "BatchCreateWorkloadEstimateUsage", {}).n("BCMPricingCalculatorClient", "BatchCreateWorkloadEstimateUsageCommand").f(void 0, void 0).ser(se_BatchCreateWorkloadEstimateUsageCommand).de(de_BatchCreateWorkloadEstimateUsageCommand).build() {
2324
+ static {
2325
+ __name(this, "BatchCreateWorkloadEstimateUsageCommand");
2326
+ }
2327
+ };
2328
+
2329
+ // src/commands/BatchDeleteBillScenarioCommitmentModificationCommand.ts
2330
+
2331
+
2332
+
2333
+ var BatchDeleteBillScenarioCommitmentModificationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2334
+ return [
2335
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2336
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2337
+ ];
2338
+ }).s("AWSBCMPricingCalculator", "BatchDeleteBillScenarioCommitmentModification", {}).n("BCMPricingCalculatorClient", "BatchDeleteBillScenarioCommitmentModificationCommand").f(void 0, void 0).ser(se_BatchDeleteBillScenarioCommitmentModificationCommand).de(de_BatchDeleteBillScenarioCommitmentModificationCommand).build() {
2339
+ static {
2340
+ __name(this, "BatchDeleteBillScenarioCommitmentModificationCommand");
2341
+ }
2342
+ };
2343
+
2344
+ // src/commands/BatchDeleteBillScenarioUsageModificationCommand.ts
2345
+
2346
+
2347
+
2348
+ var BatchDeleteBillScenarioUsageModificationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2349
+ return [
2350
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2351
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2352
+ ];
2353
+ }).s("AWSBCMPricingCalculator", "BatchDeleteBillScenarioUsageModification", {}).n("BCMPricingCalculatorClient", "BatchDeleteBillScenarioUsageModificationCommand").f(void 0, void 0).ser(se_BatchDeleteBillScenarioUsageModificationCommand).de(de_BatchDeleteBillScenarioUsageModificationCommand).build() {
2354
+ static {
2355
+ __name(this, "BatchDeleteBillScenarioUsageModificationCommand");
2356
+ }
2357
+ };
2358
+
2359
+ // src/commands/BatchDeleteWorkloadEstimateUsageCommand.ts
2360
+
2361
+
2362
+
2363
+ var BatchDeleteWorkloadEstimateUsageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2364
+ return [
2365
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2366
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2367
+ ];
2368
+ }).s("AWSBCMPricingCalculator", "BatchDeleteWorkloadEstimateUsage", {}).n("BCMPricingCalculatorClient", "BatchDeleteWorkloadEstimateUsageCommand").f(void 0, void 0).ser(se_BatchDeleteWorkloadEstimateUsageCommand).de(de_BatchDeleteWorkloadEstimateUsageCommand).build() {
2369
+ static {
2370
+ __name(this, "BatchDeleteWorkloadEstimateUsageCommand");
2371
+ }
2372
+ };
2373
+
2374
+ // src/commands/BatchUpdateBillScenarioCommitmentModificationCommand.ts
2375
+
2376
+
2377
+
2378
+ var BatchUpdateBillScenarioCommitmentModificationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2379
+ return [
2380
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2381
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2382
+ ];
2383
+ }).s("AWSBCMPricingCalculator", "BatchUpdateBillScenarioCommitmentModification", {}).n("BCMPricingCalculatorClient", "BatchUpdateBillScenarioCommitmentModificationCommand").f(void 0, void 0).ser(se_BatchUpdateBillScenarioCommitmentModificationCommand).de(de_BatchUpdateBillScenarioCommitmentModificationCommand).build() {
2384
+ static {
2385
+ __name(this, "BatchUpdateBillScenarioCommitmentModificationCommand");
2386
+ }
2387
+ };
2388
+
2389
+ // src/commands/BatchUpdateBillScenarioUsageModificationCommand.ts
2390
+
2391
+
2392
+
2393
+ var BatchUpdateBillScenarioUsageModificationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2394
+ return [
2395
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2396
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2397
+ ];
2398
+ }).s("AWSBCMPricingCalculator", "BatchUpdateBillScenarioUsageModification", {}).n("BCMPricingCalculatorClient", "BatchUpdateBillScenarioUsageModificationCommand").f(void 0, void 0).ser(se_BatchUpdateBillScenarioUsageModificationCommand).de(de_BatchUpdateBillScenarioUsageModificationCommand).build() {
2399
+ static {
2400
+ __name(this, "BatchUpdateBillScenarioUsageModificationCommand");
2401
+ }
2402
+ };
2403
+
2404
+ // src/commands/BatchUpdateWorkloadEstimateUsageCommand.ts
2405
+
2406
+
2407
+
2408
+ var BatchUpdateWorkloadEstimateUsageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2409
+ return [
2410
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2411
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2412
+ ];
2413
+ }).s("AWSBCMPricingCalculator", "BatchUpdateWorkloadEstimateUsage", {}).n("BCMPricingCalculatorClient", "BatchUpdateWorkloadEstimateUsageCommand").f(void 0, void 0).ser(se_BatchUpdateWorkloadEstimateUsageCommand).de(de_BatchUpdateWorkloadEstimateUsageCommand).build() {
2414
+ static {
2415
+ __name(this, "BatchUpdateWorkloadEstimateUsageCommand");
2416
+ }
2417
+ };
2418
+
2419
+ // src/commands/CreateBillEstimateCommand.ts
2420
+
2421
+
2422
+
2423
+ var CreateBillEstimateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2424
+ return [
2425
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2426
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2427
+ ];
2428
+ }).s("AWSBCMPricingCalculator", "CreateBillEstimate", {}).n("BCMPricingCalculatorClient", "CreateBillEstimateCommand").f(void 0, void 0).ser(se_CreateBillEstimateCommand).de(de_CreateBillEstimateCommand).build() {
2429
+ static {
2430
+ __name(this, "CreateBillEstimateCommand");
2431
+ }
2432
+ };
2433
+
2434
+ // src/commands/CreateBillScenarioCommand.ts
2435
+
2436
+
2437
+
2438
+ var CreateBillScenarioCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2439
+ return [
2440
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2441
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2442
+ ];
2443
+ }).s("AWSBCMPricingCalculator", "CreateBillScenario", {}).n("BCMPricingCalculatorClient", "CreateBillScenarioCommand").f(void 0, void 0).ser(se_CreateBillScenarioCommand).de(de_CreateBillScenarioCommand).build() {
2444
+ static {
2445
+ __name(this, "CreateBillScenarioCommand");
2446
+ }
2447
+ };
2448
+
2449
+ // src/commands/CreateWorkloadEstimateCommand.ts
2450
+
2451
+
2452
+
2453
+ var CreateWorkloadEstimateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2454
+ return [
2455
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2456
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2457
+ ];
2458
+ }).s("AWSBCMPricingCalculator", "CreateWorkloadEstimate", {}).n("BCMPricingCalculatorClient", "CreateWorkloadEstimateCommand").f(void 0, void 0).ser(se_CreateWorkloadEstimateCommand).de(de_CreateWorkloadEstimateCommand).build() {
2459
+ static {
2460
+ __name(this, "CreateWorkloadEstimateCommand");
2461
+ }
2462
+ };
2463
+
2464
+ // src/commands/DeleteBillEstimateCommand.ts
2465
+
2466
+
2467
+
2468
+ var DeleteBillEstimateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2469
+ return [
2470
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2471
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2472
+ ];
2473
+ }).s("AWSBCMPricingCalculator", "DeleteBillEstimate", {}).n("BCMPricingCalculatorClient", "DeleteBillEstimateCommand").f(void 0, void 0).ser(se_DeleteBillEstimateCommand).de(de_DeleteBillEstimateCommand).build() {
2474
+ static {
2475
+ __name(this, "DeleteBillEstimateCommand");
2476
+ }
2477
+ };
2478
+
2479
+ // src/commands/DeleteBillScenarioCommand.ts
2480
+
2481
+
2482
+
2483
+ var DeleteBillScenarioCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2484
+ return [
2485
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2486
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2487
+ ];
2488
+ }).s("AWSBCMPricingCalculator", "DeleteBillScenario", {}).n("BCMPricingCalculatorClient", "DeleteBillScenarioCommand").f(void 0, void 0).ser(se_DeleteBillScenarioCommand).de(de_DeleteBillScenarioCommand).build() {
2489
+ static {
2490
+ __name(this, "DeleteBillScenarioCommand");
2491
+ }
2492
+ };
2493
+
2494
+ // src/commands/DeleteWorkloadEstimateCommand.ts
2495
+
2496
+
2497
+
2498
+ var DeleteWorkloadEstimateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2499
+ return [
2500
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2501
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2502
+ ];
2503
+ }).s("AWSBCMPricingCalculator", "DeleteWorkloadEstimate", {}).n("BCMPricingCalculatorClient", "DeleteWorkloadEstimateCommand").f(void 0, void 0).ser(se_DeleteWorkloadEstimateCommand).de(de_DeleteWorkloadEstimateCommand).build() {
2504
+ static {
2505
+ __name(this, "DeleteWorkloadEstimateCommand");
2506
+ }
2507
+ };
2508
+
2509
+ // src/commands/GetBillEstimateCommand.ts
2510
+
2511
+
2512
+
2513
+ var GetBillEstimateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2514
+ return [
2515
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2516
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2517
+ ];
2518
+ }).s("AWSBCMPricingCalculator", "GetBillEstimate", {}).n("BCMPricingCalculatorClient", "GetBillEstimateCommand").f(void 0, void 0).ser(se_GetBillEstimateCommand).de(de_GetBillEstimateCommand).build() {
2519
+ static {
2520
+ __name(this, "GetBillEstimateCommand");
2521
+ }
2522
+ };
2523
+
2524
+ // src/commands/GetBillScenarioCommand.ts
2525
+
2526
+
2527
+
2528
+ var GetBillScenarioCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2529
+ return [
2530
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2531
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2532
+ ];
2533
+ }).s("AWSBCMPricingCalculator", "GetBillScenario", {}).n("BCMPricingCalculatorClient", "GetBillScenarioCommand").f(void 0, void 0).ser(se_GetBillScenarioCommand).de(de_GetBillScenarioCommand).build() {
2534
+ static {
2535
+ __name(this, "GetBillScenarioCommand");
2536
+ }
2537
+ };
2538
+
2539
+ // src/commands/GetPreferencesCommand.ts
2540
+
2541
+
2542
+
2543
+ var GetPreferencesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2544
+ return [
2545
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2546
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2547
+ ];
2548
+ }).s("AWSBCMPricingCalculator", "GetPreferences", {}).n("BCMPricingCalculatorClient", "GetPreferencesCommand").f(void 0, void 0).ser(se_GetPreferencesCommand).de(de_GetPreferencesCommand).build() {
2549
+ static {
2550
+ __name(this, "GetPreferencesCommand");
2551
+ }
2552
+ };
2553
+
2554
+ // src/commands/GetWorkloadEstimateCommand.ts
2555
+
2556
+
2557
+
2558
+ var GetWorkloadEstimateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2559
+ return [
2560
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2561
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2562
+ ];
2563
+ }).s("AWSBCMPricingCalculator", "GetWorkloadEstimate", {}).n("BCMPricingCalculatorClient", "GetWorkloadEstimateCommand").f(void 0, void 0).ser(se_GetWorkloadEstimateCommand).de(de_GetWorkloadEstimateCommand).build() {
2564
+ static {
2565
+ __name(this, "GetWorkloadEstimateCommand");
2566
+ }
2567
+ };
2568
+
2569
+ // src/commands/ListBillEstimateCommitmentsCommand.ts
2570
+
2571
+
2572
+
2573
+ var ListBillEstimateCommitmentsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2574
+ return [
2575
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2576
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2577
+ ];
2578
+ }).s("AWSBCMPricingCalculator", "ListBillEstimateCommitments", {}).n("BCMPricingCalculatorClient", "ListBillEstimateCommitmentsCommand").f(void 0, void 0).ser(se_ListBillEstimateCommitmentsCommand).de(de_ListBillEstimateCommitmentsCommand).build() {
2579
+ static {
2580
+ __name(this, "ListBillEstimateCommitmentsCommand");
2581
+ }
2582
+ };
2583
+
2584
+ // src/commands/ListBillEstimateInputCommitmentModificationsCommand.ts
2585
+
2586
+
2587
+
2588
+ var ListBillEstimateInputCommitmentModificationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2589
+ return [
2590
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2591
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2592
+ ];
2593
+ }).s("AWSBCMPricingCalculator", "ListBillEstimateInputCommitmentModifications", {}).n("BCMPricingCalculatorClient", "ListBillEstimateInputCommitmentModificationsCommand").f(void 0, void 0).ser(se_ListBillEstimateInputCommitmentModificationsCommand).de(de_ListBillEstimateInputCommitmentModificationsCommand).build() {
2594
+ static {
2595
+ __name(this, "ListBillEstimateInputCommitmentModificationsCommand");
2596
+ }
2597
+ };
2598
+
2599
+ // src/commands/ListBillEstimateInputUsageModificationsCommand.ts
2600
+
2601
+
2602
+
2603
+ var ListBillEstimateInputUsageModificationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2604
+ return [
2605
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2606
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2607
+ ];
2608
+ }).s("AWSBCMPricingCalculator", "ListBillEstimateInputUsageModifications", {}).n("BCMPricingCalculatorClient", "ListBillEstimateInputUsageModificationsCommand").f(void 0, void 0).ser(se_ListBillEstimateInputUsageModificationsCommand).de(de_ListBillEstimateInputUsageModificationsCommand).build() {
2609
+ static {
2610
+ __name(this, "ListBillEstimateInputUsageModificationsCommand");
2611
+ }
2612
+ };
2613
+
2614
+ // src/commands/ListBillEstimateLineItemsCommand.ts
2615
+
2616
+
2617
+
2618
+ var ListBillEstimateLineItemsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2619
+ return [
2620
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2621
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2622
+ ];
2623
+ }).s("AWSBCMPricingCalculator", "ListBillEstimateLineItems", {}).n("BCMPricingCalculatorClient", "ListBillEstimateLineItemsCommand").f(void 0, void 0).ser(se_ListBillEstimateLineItemsCommand).de(de_ListBillEstimateLineItemsCommand).build() {
2624
+ static {
2625
+ __name(this, "ListBillEstimateLineItemsCommand");
2626
+ }
2627
+ };
2628
+
2629
+ // src/commands/ListBillEstimatesCommand.ts
2630
+
2631
+
2632
+
2633
+ var ListBillEstimatesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2634
+ return [
2635
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2636
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2637
+ ];
2638
+ }).s("AWSBCMPricingCalculator", "ListBillEstimates", {}).n("BCMPricingCalculatorClient", "ListBillEstimatesCommand").f(void 0, void 0).ser(se_ListBillEstimatesCommand).de(de_ListBillEstimatesCommand).build() {
2639
+ static {
2640
+ __name(this, "ListBillEstimatesCommand");
2641
+ }
2642
+ };
2643
+
2644
+ // src/commands/ListBillScenarioCommitmentModificationsCommand.ts
2645
+
2646
+
2647
+
2648
+ var ListBillScenarioCommitmentModificationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2649
+ return [
2650
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2651
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2652
+ ];
2653
+ }).s("AWSBCMPricingCalculator", "ListBillScenarioCommitmentModifications", {}).n("BCMPricingCalculatorClient", "ListBillScenarioCommitmentModificationsCommand").f(void 0, void 0).ser(se_ListBillScenarioCommitmentModificationsCommand).de(de_ListBillScenarioCommitmentModificationsCommand).build() {
2654
+ static {
2655
+ __name(this, "ListBillScenarioCommitmentModificationsCommand");
2656
+ }
2657
+ };
2658
+
2659
+ // src/commands/ListBillScenariosCommand.ts
2660
+
2661
+
2662
+
2663
+ var ListBillScenariosCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2664
+ return [
2665
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2666
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2667
+ ];
2668
+ }).s("AWSBCMPricingCalculator", "ListBillScenarios", {}).n("BCMPricingCalculatorClient", "ListBillScenariosCommand").f(void 0, void 0).ser(se_ListBillScenariosCommand).de(de_ListBillScenariosCommand).build() {
2669
+ static {
2670
+ __name(this, "ListBillScenariosCommand");
2671
+ }
2672
+ };
2673
+
2674
+ // src/commands/ListBillScenarioUsageModificationsCommand.ts
2675
+
2676
+
2677
+
2678
+ var ListBillScenarioUsageModificationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2679
+ return [
2680
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2681
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2682
+ ];
2683
+ }).s("AWSBCMPricingCalculator", "ListBillScenarioUsageModifications", {}).n("BCMPricingCalculatorClient", "ListBillScenarioUsageModificationsCommand").f(void 0, void 0).ser(se_ListBillScenarioUsageModificationsCommand).de(de_ListBillScenarioUsageModificationsCommand).build() {
2684
+ static {
2685
+ __name(this, "ListBillScenarioUsageModificationsCommand");
2686
+ }
2687
+ };
2688
+
2689
+ // src/commands/ListTagsForResourceCommand.ts
2690
+
2691
+
2692
+
2693
+ var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2694
+ return [
2695
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2696
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2697
+ ];
2698
+ }).s("AWSBCMPricingCalculator", "ListTagsForResource", {}).n("BCMPricingCalculatorClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
2699
+ static {
2700
+ __name(this, "ListTagsForResourceCommand");
2701
+ }
2702
+ };
2703
+
2704
+ // src/commands/ListWorkloadEstimatesCommand.ts
2705
+
2706
+
2707
+
2708
+ var ListWorkloadEstimatesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2709
+ return [
2710
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2711
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2712
+ ];
2713
+ }).s("AWSBCMPricingCalculator", "ListWorkloadEstimates", {}).n("BCMPricingCalculatorClient", "ListWorkloadEstimatesCommand").f(void 0, void 0).ser(se_ListWorkloadEstimatesCommand).de(de_ListWorkloadEstimatesCommand).build() {
2714
+ static {
2715
+ __name(this, "ListWorkloadEstimatesCommand");
2716
+ }
2717
+ };
2718
+
2719
+ // src/commands/ListWorkloadEstimateUsageCommand.ts
2720
+
2721
+
2722
+
2723
+ var ListWorkloadEstimateUsageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2724
+ return [
2725
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2726
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2727
+ ];
2728
+ }).s("AWSBCMPricingCalculator", "ListWorkloadEstimateUsage", {}).n("BCMPricingCalculatorClient", "ListWorkloadEstimateUsageCommand").f(void 0, void 0).ser(se_ListWorkloadEstimateUsageCommand).de(de_ListWorkloadEstimateUsageCommand).build() {
2729
+ static {
2730
+ __name(this, "ListWorkloadEstimateUsageCommand");
2731
+ }
2732
+ };
2733
+
2734
+ // src/commands/TagResourceCommand.ts
2735
+
2736
+
2737
+
2738
+ var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2739
+ return [
2740
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2741
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2742
+ ];
2743
+ }).s("AWSBCMPricingCalculator", "TagResource", {}).n("BCMPricingCalculatorClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
2744
+ static {
2745
+ __name(this, "TagResourceCommand");
2746
+ }
2747
+ };
2748
+
2749
+ // src/commands/UntagResourceCommand.ts
2750
+
2751
+
2752
+
2753
+ var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2754
+ return [
2755
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2756
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2757
+ ];
2758
+ }).s("AWSBCMPricingCalculator", "UntagResource", {}).n("BCMPricingCalculatorClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
2759
+ static {
2760
+ __name(this, "UntagResourceCommand");
2761
+ }
2762
+ };
2763
+
2764
+ // src/commands/UpdateBillEstimateCommand.ts
2765
+
2766
+
2767
+
2768
+ var UpdateBillEstimateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2769
+ return [
2770
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2771
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2772
+ ];
2773
+ }).s("AWSBCMPricingCalculator", "UpdateBillEstimate", {}).n("BCMPricingCalculatorClient", "UpdateBillEstimateCommand").f(void 0, void 0).ser(se_UpdateBillEstimateCommand).de(de_UpdateBillEstimateCommand).build() {
2774
+ static {
2775
+ __name(this, "UpdateBillEstimateCommand");
2776
+ }
2777
+ };
2778
+
2779
+ // src/commands/UpdateBillScenarioCommand.ts
2780
+
2781
+
2782
+
2783
+ var UpdateBillScenarioCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2784
+ return [
2785
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2786
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2787
+ ];
2788
+ }).s("AWSBCMPricingCalculator", "UpdateBillScenario", {}).n("BCMPricingCalculatorClient", "UpdateBillScenarioCommand").f(void 0, void 0).ser(se_UpdateBillScenarioCommand).de(de_UpdateBillScenarioCommand).build() {
2789
+ static {
2790
+ __name(this, "UpdateBillScenarioCommand");
2791
+ }
2792
+ };
2793
+
2794
+ // src/commands/UpdatePreferencesCommand.ts
2795
+
2796
+
2797
+
2798
+ var UpdatePreferencesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2799
+ return [
2800
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2801
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2802
+ ];
2803
+ }).s("AWSBCMPricingCalculator", "UpdatePreferences", {}).n("BCMPricingCalculatorClient", "UpdatePreferencesCommand").f(void 0, void 0).ser(se_UpdatePreferencesCommand).de(de_UpdatePreferencesCommand).build() {
2804
+ static {
2805
+ __name(this, "UpdatePreferencesCommand");
2806
+ }
2807
+ };
2808
+
2809
+ // src/commands/UpdateWorkloadEstimateCommand.ts
2810
+
2811
+
2812
+
2813
+ var UpdateWorkloadEstimateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2814
+ return [
2815
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2816
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2817
+ ];
2818
+ }).s("AWSBCMPricingCalculator", "UpdateWorkloadEstimate", {}).n("BCMPricingCalculatorClient", "UpdateWorkloadEstimateCommand").f(void 0, void 0).ser(se_UpdateWorkloadEstimateCommand).de(de_UpdateWorkloadEstimateCommand).build() {
2819
+ static {
2820
+ __name(this, "UpdateWorkloadEstimateCommand");
2821
+ }
2822
+ };
2823
+
2824
+ // src/BCMPricingCalculator.ts
2825
+ var commands = {
2826
+ BatchCreateBillScenarioCommitmentModificationCommand,
2827
+ BatchCreateBillScenarioUsageModificationCommand,
2828
+ BatchCreateWorkloadEstimateUsageCommand,
2829
+ BatchDeleteBillScenarioCommitmentModificationCommand,
2830
+ BatchDeleteBillScenarioUsageModificationCommand,
2831
+ BatchDeleteWorkloadEstimateUsageCommand,
2832
+ BatchUpdateBillScenarioCommitmentModificationCommand,
2833
+ BatchUpdateBillScenarioUsageModificationCommand,
2834
+ BatchUpdateWorkloadEstimateUsageCommand,
2835
+ CreateBillEstimateCommand,
2836
+ CreateBillScenarioCommand,
2837
+ CreateWorkloadEstimateCommand,
2838
+ DeleteBillEstimateCommand,
2839
+ DeleteBillScenarioCommand,
2840
+ DeleteWorkloadEstimateCommand,
2841
+ GetBillEstimateCommand,
2842
+ GetBillScenarioCommand,
2843
+ GetPreferencesCommand,
2844
+ GetWorkloadEstimateCommand,
2845
+ ListBillEstimateCommitmentsCommand,
2846
+ ListBillEstimateInputCommitmentModificationsCommand,
2847
+ ListBillEstimateInputUsageModificationsCommand,
2848
+ ListBillEstimateLineItemsCommand,
2849
+ ListBillEstimatesCommand,
2850
+ ListBillScenarioCommitmentModificationsCommand,
2851
+ ListBillScenariosCommand,
2852
+ ListBillScenarioUsageModificationsCommand,
2853
+ ListTagsForResourceCommand,
2854
+ ListWorkloadEstimatesCommand,
2855
+ ListWorkloadEstimateUsageCommand,
2856
+ TagResourceCommand,
2857
+ UntagResourceCommand,
2858
+ UpdateBillEstimateCommand,
2859
+ UpdateBillScenarioCommand,
2860
+ UpdatePreferencesCommand,
2861
+ UpdateWorkloadEstimateCommand
2862
+ };
2863
+ var BCMPricingCalculator = class extends BCMPricingCalculatorClient {
2864
+ static {
2865
+ __name(this, "BCMPricingCalculator");
2866
+ }
2867
+ };
2868
+ (0, import_smithy_client.createAggregatedClient)(commands, BCMPricingCalculator);
2869
+
2870
+ // src/pagination/ListBillEstimateCommitmentsPaginator.ts
2871
+
2872
+ var paginateListBillEstimateCommitments = (0, import_core.createPaginator)(BCMPricingCalculatorClient, ListBillEstimateCommitmentsCommand, "nextToken", "nextToken", "maxResults");
2873
+
2874
+ // src/pagination/ListBillEstimateInputCommitmentModificationsPaginator.ts
2875
+
2876
+ var paginateListBillEstimateInputCommitmentModifications = (0, import_core.createPaginator)(
2877
+ BCMPricingCalculatorClient,
2878
+ ListBillEstimateInputCommitmentModificationsCommand,
2879
+ "nextToken",
2880
+ "nextToken",
2881
+ "maxResults"
2882
+ );
2883
+
2884
+ // src/pagination/ListBillEstimateInputUsageModificationsPaginator.ts
2885
+
2886
+ var paginateListBillEstimateInputUsageModifications = (0, import_core.createPaginator)(BCMPricingCalculatorClient, ListBillEstimateInputUsageModificationsCommand, "nextToken", "nextToken", "maxResults");
2887
+
2888
+ // src/pagination/ListBillEstimateLineItemsPaginator.ts
2889
+
2890
+ var paginateListBillEstimateLineItems = (0, import_core.createPaginator)(BCMPricingCalculatorClient, ListBillEstimateLineItemsCommand, "nextToken", "nextToken", "maxResults");
2891
+
2892
+ // src/pagination/ListBillEstimatesPaginator.ts
2893
+
2894
+ var paginateListBillEstimates = (0, import_core.createPaginator)(BCMPricingCalculatorClient, ListBillEstimatesCommand, "nextToken", "nextToken", "maxResults");
2895
+
2896
+ // src/pagination/ListBillScenarioCommitmentModificationsPaginator.ts
2897
+
2898
+ var paginateListBillScenarioCommitmentModifications = (0, import_core.createPaginator)(BCMPricingCalculatorClient, ListBillScenarioCommitmentModificationsCommand, "nextToken", "nextToken", "maxResults");
2899
+
2900
+ // src/pagination/ListBillScenarioUsageModificationsPaginator.ts
2901
+
2902
+ var paginateListBillScenarioUsageModifications = (0, import_core.createPaginator)(BCMPricingCalculatorClient, ListBillScenarioUsageModificationsCommand, "nextToken", "nextToken", "maxResults");
2903
+
2904
+ // src/pagination/ListBillScenariosPaginator.ts
2905
+
2906
+ var paginateListBillScenarios = (0, import_core.createPaginator)(BCMPricingCalculatorClient, ListBillScenariosCommand, "nextToken", "nextToken", "maxResults");
2907
+
2908
+ // src/pagination/ListWorkloadEstimateUsagePaginator.ts
2909
+
2910
+ var paginateListWorkloadEstimateUsage = (0, import_core.createPaginator)(BCMPricingCalculatorClient, ListWorkloadEstimateUsageCommand, "nextToken", "nextToken", "maxResults");
2911
+
2912
+ // src/pagination/ListWorkloadEstimatesPaginator.ts
2913
+
2914
+ var paginateListWorkloadEstimates = (0, import_core.createPaginator)(BCMPricingCalculatorClient, ListWorkloadEstimatesCommand, "nextToken", "nextToken", "maxResults");
2915
+ // Annotate the CommonJS export names for ESM import in node:
2916
+
2917
+ 0 && (module.exports = {
2918
+ BCMPricingCalculatorServiceException,
2919
+ __Client,
2920
+ BCMPricingCalculatorClient,
2921
+ BCMPricingCalculator,
2922
+ $Command,
2923
+ BatchCreateBillScenarioCommitmentModificationCommand,
2924
+ BatchCreateBillScenarioUsageModificationCommand,
2925
+ BatchCreateWorkloadEstimateUsageCommand,
2926
+ BatchDeleteBillScenarioCommitmentModificationCommand,
2927
+ BatchDeleteBillScenarioUsageModificationCommand,
2928
+ BatchDeleteWorkloadEstimateUsageCommand,
2929
+ BatchUpdateBillScenarioCommitmentModificationCommand,
2930
+ BatchUpdateBillScenarioUsageModificationCommand,
2931
+ BatchUpdateWorkloadEstimateUsageCommand,
2932
+ CreateBillEstimateCommand,
2933
+ CreateBillScenarioCommand,
2934
+ CreateWorkloadEstimateCommand,
2935
+ DeleteBillEstimateCommand,
2936
+ DeleteBillScenarioCommand,
2937
+ DeleteWorkloadEstimateCommand,
2938
+ GetBillEstimateCommand,
2939
+ GetBillScenarioCommand,
2940
+ GetPreferencesCommand,
2941
+ GetWorkloadEstimateCommand,
2942
+ ListBillEstimateCommitmentsCommand,
2943
+ ListBillEstimateInputCommitmentModificationsCommand,
2944
+ ListBillEstimateInputUsageModificationsCommand,
2945
+ ListBillEstimateLineItemsCommand,
2946
+ ListBillEstimatesCommand,
2947
+ ListBillScenarioCommitmentModificationsCommand,
2948
+ ListBillScenarioUsageModificationsCommand,
2949
+ ListBillScenariosCommand,
2950
+ ListTagsForResourceCommand,
2951
+ ListWorkloadEstimateUsageCommand,
2952
+ ListWorkloadEstimatesCommand,
2953
+ TagResourceCommand,
2954
+ UntagResourceCommand,
2955
+ UpdateBillEstimateCommand,
2956
+ UpdateBillScenarioCommand,
2957
+ UpdatePreferencesCommand,
2958
+ UpdateWorkloadEstimateCommand,
2959
+ paginateListBillEstimateCommitments,
2960
+ paginateListBillEstimateInputCommitmentModifications,
2961
+ paginateListBillEstimateInputUsageModifications,
2962
+ paginateListBillEstimateLineItems,
2963
+ paginateListBillEstimates,
2964
+ paginateListBillScenarioCommitmentModifications,
2965
+ paginateListBillScenarioUsageModifications,
2966
+ paginateListBillScenarios,
2967
+ paginateListWorkloadEstimateUsage,
2968
+ paginateListWorkloadEstimates,
2969
+ AccessDeniedException,
2970
+ DataUnavailableException,
2971
+ InternalServerException,
2972
+ CurrencyCode,
2973
+ PurchaseAgreementType,
2974
+ ResourceNotFoundException,
2975
+ ThrottlingException,
2976
+ ValidationExceptionReason,
2977
+ ValidationException,
2978
+ BillScenarioCommitmentModificationAction,
2979
+ MatchOption,
2980
+ ListUsageFilterName,
2981
+ ListBillEstimateLineItemsFilterName,
2982
+ BillEstimateStatus,
2983
+ ConflictException,
2984
+ ListBillEstimatesFilterName,
2985
+ BatchCreateBillScenarioCommitmentModificationErrorCode,
2986
+ BatchDeleteBillScenarioCommitmentModificationErrorCode,
2987
+ BatchUpdateBillScenarioCommitmentModificationErrorCode,
2988
+ BillScenarioStatus,
2989
+ BatchCreateBillScenarioUsageModificationErrorCode,
2990
+ ServiceQuotaExceededException,
2991
+ BatchDeleteBillScenarioUsageModificationErrorCode,
2992
+ BatchUpdateBillScenarioUsageModificationErrorCode,
2993
+ ListBillScenariosFilterName,
2994
+ RateType,
2995
+ WorkloadEstimateRateType,
2996
+ WorkloadEstimateStatus,
2997
+ ListWorkloadEstimatesFilterName,
2998
+ BatchCreateWorkloadEstimateUsageCode,
2999
+ WorkloadEstimateCostStatus,
3000
+ WorkloadEstimateUpdateUsageErrorCode
3001
+ });
3002
+