@aws-sdk/client-cost-explorer 3.927.0 → 3.929.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/dist-cjs/index.js +2554 -2100
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/CostExplorerClient.js +2 -0
  4. package/dist-es/commands/CreateAnomalyMonitorCommand.js +3 -9
  5. package/dist-es/commands/CreateAnomalySubscriptionCommand.js +3 -9
  6. package/dist-es/commands/CreateCostCategoryDefinitionCommand.js +3 -9
  7. package/dist-es/commands/DeleteAnomalyMonitorCommand.js +3 -9
  8. package/dist-es/commands/DeleteAnomalySubscriptionCommand.js +3 -9
  9. package/dist-es/commands/DeleteCostCategoryDefinitionCommand.js +3 -9
  10. package/dist-es/commands/DescribeCostCategoryDefinitionCommand.js +3 -9
  11. package/dist-es/commands/GetAnomaliesCommand.js +3 -9
  12. package/dist-es/commands/GetAnomalyMonitorsCommand.js +3 -9
  13. package/dist-es/commands/GetAnomalySubscriptionsCommand.js +3 -9
  14. package/dist-es/commands/GetApproximateUsageRecordsCommand.js +3 -9
  15. package/dist-es/commands/GetCommitmentPurchaseAnalysisCommand.js +3 -9
  16. package/dist-es/commands/GetCostAndUsageCommand.js +3 -9
  17. package/dist-es/commands/GetCostAndUsageComparisonsCommand.js +3 -9
  18. package/dist-es/commands/GetCostAndUsageWithResourcesCommand.js +3 -9
  19. package/dist-es/commands/GetCostCategoriesCommand.js +3 -9
  20. package/dist-es/commands/GetCostComparisonDriversCommand.js +3 -9
  21. package/dist-es/commands/GetCostForecastCommand.js +3 -9
  22. package/dist-es/commands/GetDimensionValuesCommand.js +3 -9
  23. package/dist-es/commands/GetReservationCoverageCommand.js +3 -9
  24. package/dist-es/commands/GetReservationPurchaseRecommendationCommand.js +3 -9
  25. package/dist-es/commands/GetReservationUtilizationCommand.js +3 -9
  26. package/dist-es/commands/GetRightsizingRecommendationCommand.js +3 -9
  27. package/dist-es/commands/GetSavingsPlanPurchaseRecommendationDetailsCommand.js +3 -9
  28. package/dist-es/commands/GetSavingsPlansCoverageCommand.js +3 -9
  29. package/dist-es/commands/GetSavingsPlansPurchaseRecommendationCommand.js +3 -9
  30. package/dist-es/commands/GetSavingsPlansUtilizationCommand.js +3 -9
  31. package/dist-es/commands/GetSavingsPlansUtilizationDetailsCommand.js +3 -9
  32. package/dist-es/commands/GetTagsCommand.js +3 -9
  33. package/dist-es/commands/GetUsageForecastCommand.js +3 -9
  34. package/dist-es/commands/ListCommitmentPurchaseAnalysesCommand.js +3 -9
  35. package/dist-es/commands/ListCostAllocationTagBackfillHistoryCommand.js +3 -9
  36. package/dist-es/commands/ListCostAllocationTagsCommand.js +3 -9
  37. package/dist-es/commands/ListCostCategoryDefinitionsCommand.js +3 -9
  38. package/dist-es/commands/ListSavingsPlansPurchaseRecommendationGenerationCommand.js +3 -9
  39. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  40. package/dist-es/commands/ProvideAnomalyFeedbackCommand.js +3 -9
  41. package/dist-es/commands/StartCommitmentPurchaseAnalysisCommand.js +3 -9
  42. package/dist-es/commands/StartCostAllocationTagBackfillCommand.js +3 -9
  43. package/dist-es/commands/StartSavingsPlansPurchaseRecommendationGenerationCommand.js +3 -9
  44. package/dist-es/commands/TagResourceCommand.js +3 -9
  45. package/dist-es/commands/UntagResourceCommand.js +3 -9
  46. package/dist-es/commands/UpdateAnomalyMonitorCommand.js +3 -9
  47. package/dist-es/commands/UpdateAnomalySubscriptionCommand.js +3 -9
  48. package/dist-es/commands/UpdateCostAllocationTagsStatusCommand.js +3 -9
  49. package/dist-es/commands/UpdateCostCategoryDefinitionCommand.js +3 -9
  50. package/dist-es/runtimeConfig.shared.js +7 -0
  51. package/dist-es/schemas/schemas_0.js +2437 -0
  52. package/dist-types/CostExplorerClient.d.ts +10 -1
  53. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  54. package/dist-types/runtimeConfig.d.ts +1 -0
  55. package/dist-types/runtimeConfig.native.d.ts +1 -0
  56. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  57. package/dist-types/schemas/schemas_0.d.ts +320 -0
  58. package/dist-types/ts3.4/CostExplorerClient.d.ts +4 -0
  59. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  60. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  61. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  62. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  63. package/dist-types/ts3.4/schemas/schemas_0.d.ts +326 -0
  64. package/package.json +5 -5
  65. package/dist-es/protocols/Aws_json1_1.js +0 -1737
  66. package/dist-types/protocols/Aws_json1_1.d.ts +0 -416
  67. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -557
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,12 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ??
30
+ new protocols_1.AwsJson1_1Protocol({
31
+ defaultNamespace: "com.amazonaws.costexplorer",
32
+ serviceTarget: "AWSInsightsIndexService",
33
+ awsQueryCompatible: false,
34
+ }),
28
35
  serviceId: config?.serviceId ?? "Cost Explorer",
29
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class CostExplorerClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateAnomalyMonitorCommand, se_CreateAnomalyMonitorCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateAnomalyMonitor } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateAnomalyMonitorCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSInsightsIndexService", "CreateAnomalyMonitor", {})
17
13
  .n("CostExplorerClient", "CreateAnomalyMonitorCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateAnomalyMonitorCommand)
20
- .de(de_CreateAnomalyMonitorCommand)
14
+ .sc(CreateAnomalyMonitor)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateAnomalySubscriptionCommand, se_CreateAnomalySubscriptionCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateAnomalySubscription } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateAnomalySubscriptionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSInsightsIndexService", "CreateAnomalySubscription", {})
17
13
  .n("CostExplorerClient", "CreateAnomalySubscriptionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateAnomalySubscriptionCommand)
20
- .de(de_CreateAnomalySubscriptionCommand)
14
+ .sc(CreateAnomalySubscription)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateCostCategoryDefinitionCommand, se_CreateCostCategoryDefinitionCommand, } from "../protocols/Aws_json1_1";
4
+ import { CreateCostCategoryDefinition } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateCostCategoryDefinitionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSInsightsIndexService", "CreateCostCategoryDefinition", {})
17
13
  .n("CostExplorerClient", "CreateCostCategoryDefinitionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateCostCategoryDefinitionCommand)
20
- .de(de_CreateCostCategoryDefinitionCommand)
14
+ .sc(CreateCostCategoryDefinition)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteAnomalyMonitorCommand, se_DeleteAnomalyMonitorCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteAnomalyMonitor } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteAnomalyMonitorCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSInsightsIndexService", "DeleteAnomalyMonitor", {})
17
13
  .n("CostExplorerClient", "DeleteAnomalyMonitorCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteAnomalyMonitorCommand)
20
- .de(de_DeleteAnomalyMonitorCommand)
14
+ .sc(DeleteAnomalyMonitor)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteAnomalySubscriptionCommand, se_DeleteAnomalySubscriptionCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteAnomalySubscription } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteAnomalySubscriptionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSInsightsIndexService", "DeleteAnomalySubscription", {})
17
13
  .n("CostExplorerClient", "DeleteAnomalySubscriptionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteAnomalySubscriptionCommand)
20
- .de(de_DeleteAnomalySubscriptionCommand)
14
+ .sc(DeleteAnomalySubscription)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteCostCategoryDefinitionCommand, se_DeleteCostCategoryDefinitionCommand, } from "../protocols/Aws_json1_1";
4
+ import { DeleteCostCategoryDefinition } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteCostCategoryDefinitionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSInsightsIndexService", "DeleteCostCategoryDefinition", {})
17
13
  .n("CostExplorerClient", "DeleteCostCategoryDefinitionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteCostCategoryDefinitionCommand)
20
- .de(de_DeleteCostCategoryDefinitionCommand)
14
+ .sc(DeleteCostCategoryDefinition)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribeCostCategoryDefinitionCommand, se_DescribeCostCategoryDefinitionCommand, } from "../protocols/Aws_json1_1";
4
+ import { DescribeCostCategoryDefinition } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeCostCategoryDefinitionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSInsightsIndexService", "DescribeCostCategoryDefinition", {})
17
13
  .n("CostExplorerClient", "DescribeCostCategoryDefinitionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeCostCategoryDefinitionCommand)
20
- .de(de_DescribeCostCategoryDefinitionCommand)
14
+ .sc(DescribeCostCategoryDefinition)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetAnomaliesCommand, se_GetAnomaliesCommand } from "../protocols/Aws_json1_1";
4
+ import { GetAnomalies } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetAnomaliesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSInsightsIndexService", "GetAnomalies", {})
17
13
  .n("CostExplorerClient", "GetAnomaliesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetAnomaliesCommand)
20
- .de(de_GetAnomaliesCommand)
14
+ .sc(GetAnomalies)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetAnomalyMonitorsCommand, se_GetAnomalyMonitorsCommand } from "../protocols/Aws_json1_1";
4
+ import { GetAnomalyMonitors } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetAnomalyMonitorsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSInsightsIndexService", "GetAnomalyMonitors", {})
17
13
  .n("CostExplorerClient", "GetAnomalyMonitorsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetAnomalyMonitorsCommand)
20
- .de(de_GetAnomalyMonitorsCommand)
14
+ .sc(GetAnomalyMonitors)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetAnomalySubscriptionsCommand, se_GetAnomalySubscriptionsCommand } from "../protocols/Aws_json1_1";
4
+ import { GetAnomalySubscriptions } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetAnomalySubscriptionsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSInsightsIndexService", "GetAnomalySubscriptions", {})
17
13
  .n("CostExplorerClient", "GetAnomalySubscriptionsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetAnomalySubscriptionsCommand)
20
- .de(de_GetAnomalySubscriptionsCommand)
14
+ .sc(GetAnomalySubscriptions)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetApproximateUsageRecordsCommand, se_GetApproximateUsageRecordsCommand } from "../protocols/Aws_json1_1";
4
+ import { GetApproximateUsageRecords } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetApproximateUsageRecordsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSInsightsIndexService", "GetApproximateUsageRecords", {})
17
13
  .n("CostExplorerClient", "GetApproximateUsageRecordsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetApproximateUsageRecordsCommand)
20
- .de(de_GetApproximateUsageRecordsCommand)
14
+ .sc(GetApproximateUsageRecords)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetCommitmentPurchaseAnalysisCommand, se_GetCommitmentPurchaseAnalysisCommand, } from "../protocols/Aws_json1_1";
4
+ import { GetCommitmentPurchaseAnalysis } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetCommitmentPurchaseAnalysisCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSInsightsIndexService", "GetCommitmentPurchaseAnalysis", {})
17
13
  .n("CostExplorerClient", "GetCommitmentPurchaseAnalysisCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetCommitmentPurchaseAnalysisCommand)
20
- .de(de_GetCommitmentPurchaseAnalysisCommand)
14
+ .sc(GetCommitmentPurchaseAnalysis)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetCostAndUsageCommand, se_GetCostAndUsageCommand } from "../protocols/Aws_json1_1";
4
+ import { GetCostAndUsage } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetCostAndUsageCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSInsightsIndexService", "GetCostAndUsage", {})
17
13
  .n("CostExplorerClient", "GetCostAndUsageCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetCostAndUsageCommand)
20
- .de(de_GetCostAndUsageCommand)
14
+ .sc(GetCostAndUsage)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetCostAndUsageComparisonsCommand, se_GetCostAndUsageComparisonsCommand } from "../protocols/Aws_json1_1";
4
+ import { GetCostAndUsageComparisons } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetCostAndUsageComparisonsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSInsightsIndexService", "GetCostAndUsageComparisons", {})
17
13
  .n("CostExplorerClient", "GetCostAndUsageComparisonsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetCostAndUsageComparisonsCommand)
20
- .de(de_GetCostAndUsageComparisonsCommand)
14
+ .sc(GetCostAndUsageComparisons)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetCostAndUsageWithResourcesCommand, se_GetCostAndUsageWithResourcesCommand, } from "../protocols/Aws_json1_1";
4
+ import { GetCostAndUsageWithResources } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetCostAndUsageWithResourcesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSInsightsIndexService", "GetCostAndUsageWithResources", {})
17
13
  .n("CostExplorerClient", "GetCostAndUsageWithResourcesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetCostAndUsageWithResourcesCommand)
20
- .de(de_GetCostAndUsageWithResourcesCommand)
14
+ .sc(GetCostAndUsageWithResources)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetCostCategoriesCommand, se_GetCostCategoriesCommand } from "../protocols/Aws_json1_1";
4
+ import { GetCostCategories } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetCostCategoriesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSInsightsIndexService", "GetCostCategories", {})
17
13
  .n("CostExplorerClient", "GetCostCategoriesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetCostCategoriesCommand)
20
- .de(de_GetCostCategoriesCommand)
14
+ .sc(GetCostCategories)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetCostComparisonDriversCommand, se_GetCostComparisonDriversCommand } from "../protocols/Aws_json1_1";
4
+ import { GetCostComparisonDrivers } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetCostComparisonDriversCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSInsightsIndexService", "GetCostComparisonDrivers", {})
17
13
  .n("CostExplorerClient", "GetCostComparisonDriversCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetCostComparisonDriversCommand)
20
- .de(de_GetCostComparisonDriversCommand)
14
+ .sc(GetCostComparisonDrivers)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetCostForecastCommand, se_GetCostForecastCommand } from "../protocols/Aws_json1_1";
4
+ import { GetCostForecast } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetCostForecastCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSInsightsIndexService", "GetCostForecast", {})
17
13
  .n("CostExplorerClient", "GetCostForecastCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetCostForecastCommand)
20
- .de(de_GetCostForecastCommand)
14
+ .sc(GetCostForecast)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetDimensionValuesCommand, se_GetDimensionValuesCommand } from "../protocols/Aws_json1_1";
4
+ import { GetDimensionValues } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetDimensionValuesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSInsightsIndexService", "GetDimensionValues", {})
17
13
  .n("CostExplorerClient", "GetDimensionValuesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetDimensionValuesCommand)
20
- .de(de_GetDimensionValuesCommand)
14
+ .sc(GetDimensionValues)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetReservationCoverageCommand, se_GetReservationCoverageCommand } from "../protocols/Aws_json1_1";
4
+ import { GetReservationCoverage } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetReservationCoverageCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSInsightsIndexService", "GetReservationCoverage", {})
17
13
  .n("CostExplorerClient", "GetReservationCoverageCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetReservationCoverageCommand)
20
- .de(de_GetReservationCoverageCommand)
14
+ .sc(GetReservationCoverage)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetReservationPurchaseRecommendationCommand, se_GetReservationPurchaseRecommendationCommand, } from "../protocols/Aws_json1_1";
4
+ import { GetReservationPurchaseRecommendation } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetReservationPurchaseRecommendationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSInsightsIndexService", "GetReservationPurchaseRecommendation", {})
17
13
  .n("CostExplorerClient", "GetReservationPurchaseRecommendationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetReservationPurchaseRecommendationCommand)
20
- .de(de_GetReservationPurchaseRecommendationCommand)
14
+ .sc(GetReservationPurchaseRecommendation)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetReservationUtilizationCommand, se_GetReservationUtilizationCommand } from "../protocols/Aws_json1_1";
4
+ import { GetReservationUtilization } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetReservationUtilizationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSInsightsIndexService", "GetReservationUtilization", {})
17
13
  .n("CostExplorerClient", "GetReservationUtilizationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetReservationUtilizationCommand)
20
- .de(de_GetReservationUtilizationCommand)
14
+ .sc(GetReservationUtilization)
21
15
  .build() {
22
16
  }