@aws-sdk/client-cost-explorer 3.948.0 → 3.953.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 +880 -601
  2. package/dist-cjs/runtimeConfig.shared.js +6 -6
  3. package/dist-es/commands/CreateAnomalyMonitorCommand.js +2 -2
  4. package/dist-es/commands/CreateAnomalySubscriptionCommand.js +2 -2
  5. package/dist-es/commands/CreateCostCategoryDefinitionCommand.js +2 -2
  6. package/dist-es/commands/DeleteAnomalyMonitorCommand.js +2 -2
  7. package/dist-es/commands/DeleteAnomalySubscriptionCommand.js +2 -2
  8. package/dist-es/commands/DeleteCostCategoryDefinitionCommand.js +2 -2
  9. package/dist-es/commands/DescribeCostCategoryDefinitionCommand.js +2 -2
  10. package/dist-es/commands/GetAnomaliesCommand.js +2 -2
  11. package/dist-es/commands/GetAnomalyMonitorsCommand.js +2 -2
  12. package/dist-es/commands/GetAnomalySubscriptionsCommand.js +2 -2
  13. package/dist-es/commands/GetApproximateUsageRecordsCommand.js +2 -2
  14. package/dist-es/commands/GetCommitmentPurchaseAnalysisCommand.js +2 -2
  15. package/dist-es/commands/GetCostAndUsageCommand.js +2 -2
  16. package/dist-es/commands/GetCostAndUsageComparisonsCommand.js +2 -2
  17. package/dist-es/commands/GetCostAndUsageWithResourcesCommand.js +2 -2
  18. package/dist-es/commands/GetCostCategoriesCommand.js +2 -2
  19. package/dist-es/commands/GetCostComparisonDriversCommand.js +2 -2
  20. package/dist-es/commands/GetCostForecastCommand.js +2 -2
  21. package/dist-es/commands/GetDimensionValuesCommand.js +2 -2
  22. package/dist-es/commands/GetReservationCoverageCommand.js +2 -2
  23. package/dist-es/commands/GetReservationPurchaseRecommendationCommand.js +2 -2
  24. package/dist-es/commands/GetReservationUtilizationCommand.js +2 -2
  25. package/dist-es/commands/GetRightsizingRecommendationCommand.js +2 -2
  26. package/dist-es/commands/GetSavingsPlanPurchaseRecommendationDetailsCommand.js +2 -2
  27. package/dist-es/commands/GetSavingsPlansCoverageCommand.js +2 -2
  28. package/dist-es/commands/GetSavingsPlansPurchaseRecommendationCommand.js +2 -2
  29. package/dist-es/commands/GetSavingsPlansUtilizationCommand.js +2 -2
  30. package/dist-es/commands/GetSavingsPlansUtilizationDetailsCommand.js +2 -2
  31. package/dist-es/commands/GetTagsCommand.js +2 -2
  32. package/dist-es/commands/GetUsageForecastCommand.js +2 -2
  33. package/dist-es/commands/ListCommitmentPurchaseAnalysesCommand.js +2 -2
  34. package/dist-es/commands/ListCostAllocationTagBackfillHistoryCommand.js +2 -2
  35. package/dist-es/commands/ListCostAllocationTagsCommand.js +2 -2
  36. package/dist-es/commands/ListCostCategoryDefinitionsCommand.js +2 -2
  37. package/dist-es/commands/ListCostCategoryResourceAssociationsCommand.js +2 -2
  38. package/dist-es/commands/ListSavingsPlansPurchaseRecommendationGenerationCommand.js +2 -2
  39. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  40. package/dist-es/commands/ProvideAnomalyFeedbackCommand.js +2 -2
  41. package/dist-es/commands/StartCommitmentPurchaseAnalysisCommand.js +2 -2
  42. package/dist-es/commands/StartCostAllocationTagBackfillCommand.js +2 -2
  43. package/dist-es/commands/StartSavingsPlansPurchaseRecommendationGenerationCommand.js +2 -2
  44. package/dist-es/commands/TagResourceCommand.js +2 -2
  45. package/dist-es/commands/UntagResourceCommand.js +2 -2
  46. package/dist-es/commands/UpdateAnomalyMonitorCommand.js +2 -2
  47. package/dist-es/commands/UpdateAnomalySubscriptionCommand.js +2 -2
  48. package/dist-es/commands/UpdateCostAllocationTagsStatusCommand.js +2 -2
  49. package/dist-es/commands/UpdateCostCategoryDefinitionCommand.js +2 -2
  50. package/dist-es/index.js +1 -0
  51. package/dist-es/runtimeConfig.shared.js +6 -6
  52. package/dist-es/schemas/schemas_0.js +561 -539
  53. package/dist-types/CostExplorerClient.d.ts +1 -10
  54. package/dist-types/index.d.ts +1 -0
  55. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  56. package/dist-types/runtimeConfig.d.ts +6 -2
  57. package/dist-types/runtimeConfig.native.d.ts +6 -2
  58. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  59. package/dist-types/schemas/schemas_0.d.ts +258 -326
  60. package/dist-types/ts3.4/CostExplorerClient.d.ts +0 -4
  61. package/dist-types/ts3.4/index.d.ts +1 -0
  62. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  63. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  64. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  65. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  66. package/dist-types/ts3.4/schemas/schemas_0.d.ts +257 -327
  67. package/package.json +34 -34
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListCostCategoryResourceAssociations } from "../schemas/schemas_0";
4
+ import { ListCostCategoryResourceAssociations$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListCostCategoryResourceAssociationsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListCostCategoryResourceAssociationsCommand extends $Command
11
11
  })
12
12
  .s("AWSInsightsIndexService", "ListCostCategoryResourceAssociations", {})
13
13
  .n("CostExplorerClient", "ListCostCategoryResourceAssociationsCommand")
14
- .sc(ListCostCategoryResourceAssociations)
14
+ .sc(ListCostCategoryResourceAssociations$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListSavingsPlansPurchaseRecommendationGeneration } from "../schemas/schemas_0";
4
+ import { ListSavingsPlansPurchaseRecommendationGeneration$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListSavingsPlansPurchaseRecommendationGenerationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListSavingsPlansPurchaseRecommendationGenerationCommand extends $Co
11
11
  })
12
12
  .s("AWSInsightsIndexService", "ListSavingsPlansPurchaseRecommendationGeneration", {})
13
13
  .n("CostExplorerClient", "ListSavingsPlansPurchaseRecommendationGenerationCommand")
14
- .sc(ListSavingsPlansPurchaseRecommendationGeneration)
14
+ .sc(ListSavingsPlansPurchaseRecommendationGeneration$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListTagsForResource } from "../schemas/schemas_0";
4
+ import { ListTagsForResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListTagsForResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListTagsForResourceCommand extends $Command
11
11
  })
12
12
  .s("AWSInsightsIndexService", "ListTagsForResource", {})
13
13
  .n("CostExplorerClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource)
14
+ .sc(ListTagsForResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ProvideAnomalyFeedback } from "../schemas/schemas_0";
4
+ import { ProvideAnomalyFeedback$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ProvideAnomalyFeedbackCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ProvideAnomalyFeedbackCommand extends $Command
11
11
  })
12
12
  .s("AWSInsightsIndexService", "ProvideAnomalyFeedback", {})
13
13
  .n("CostExplorerClient", "ProvideAnomalyFeedbackCommand")
14
- .sc(ProvideAnomalyFeedback)
14
+ .sc(ProvideAnomalyFeedback$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { StartCommitmentPurchaseAnalysis } from "../schemas/schemas_0";
4
+ import { StartCommitmentPurchaseAnalysis$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StartCommitmentPurchaseAnalysisCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StartCommitmentPurchaseAnalysisCommand extends $Command
11
11
  })
12
12
  .s("AWSInsightsIndexService", "StartCommitmentPurchaseAnalysis", {})
13
13
  .n("CostExplorerClient", "StartCommitmentPurchaseAnalysisCommand")
14
- .sc(StartCommitmentPurchaseAnalysis)
14
+ .sc(StartCommitmentPurchaseAnalysis$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { StartCostAllocationTagBackfill } from "../schemas/schemas_0";
4
+ import { StartCostAllocationTagBackfill$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StartCostAllocationTagBackfillCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StartCostAllocationTagBackfillCommand extends $Command
11
11
  })
12
12
  .s("AWSInsightsIndexService", "StartCostAllocationTagBackfill", {})
13
13
  .n("CostExplorerClient", "StartCostAllocationTagBackfillCommand")
14
- .sc(StartCostAllocationTagBackfill)
14
+ .sc(StartCostAllocationTagBackfill$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { StartSavingsPlansPurchaseRecommendationGeneration } from "../schemas/schemas_0";
4
+ import { StartSavingsPlansPurchaseRecommendationGeneration$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StartSavingsPlansPurchaseRecommendationGenerationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StartSavingsPlansPurchaseRecommendationGenerationCommand extends $C
11
11
  })
12
12
  .s("AWSInsightsIndexService", "StartSavingsPlansPurchaseRecommendationGeneration", {})
13
13
  .n("CostExplorerClient", "StartSavingsPlansPurchaseRecommendationGenerationCommand")
14
- .sc(StartSavingsPlansPurchaseRecommendationGeneration)
14
+ .sc(StartSavingsPlansPurchaseRecommendationGeneration$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { TagResource } from "../schemas/schemas_0";
4
+ import { TagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class TagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class TagResourceCommand extends $Command
11
11
  })
12
12
  .s("AWSInsightsIndexService", "TagResource", {})
13
13
  .n("CostExplorerClient", "TagResourceCommand")
14
- .sc(TagResource)
14
+ .sc(TagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UntagResource } from "../schemas/schemas_0";
4
+ import { UntagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UntagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
11
11
  })
12
12
  .s("AWSInsightsIndexService", "UntagResource", {})
13
13
  .n("CostExplorerClient", "UntagResourceCommand")
14
- .sc(UntagResource)
14
+ .sc(UntagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateAnomalyMonitor } from "../schemas/schemas_0";
4
+ import { UpdateAnomalyMonitor$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateAnomalyMonitorCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateAnomalyMonitorCommand extends $Command
11
11
  })
12
12
  .s("AWSInsightsIndexService", "UpdateAnomalyMonitor", {})
13
13
  .n("CostExplorerClient", "UpdateAnomalyMonitorCommand")
14
- .sc(UpdateAnomalyMonitor)
14
+ .sc(UpdateAnomalyMonitor$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateAnomalySubscription } from "../schemas/schemas_0";
4
+ import { UpdateAnomalySubscription$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateAnomalySubscriptionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateAnomalySubscriptionCommand extends $Command
11
11
  })
12
12
  .s("AWSInsightsIndexService", "UpdateAnomalySubscription", {})
13
13
  .n("CostExplorerClient", "UpdateAnomalySubscriptionCommand")
14
- .sc(UpdateAnomalySubscription)
14
+ .sc(UpdateAnomalySubscription$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateCostAllocationTagsStatus } from "../schemas/schemas_0";
4
+ import { UpdateCostAllocationTagsStatus$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateCostAllocationTagsStatusCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateCostAllocationTagsStatusCommand extends $Command
11
11
  })
12
12
  .s("AWSInsightsIndexService", "UpdateCostAllocationTagsStatus", {})
13
13
  .n("CostExplorerClient", "UpdateCostAllocationTagsStatusCommand")
14
- .sc(UpdateCostAllocationTagsStatus)
14
+ .sc(UpdateCostAllocationTagsStatus$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateCostCategoryDefinition } from "../schemas/schemas_0";
4
+ import { UpdateCostCategoryDefinition$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateCostCategoryDefinitionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateCostCategoryDefinitionCommand extends $Command
11
11
  })
12
12
  .s("AWSInsightsIndexService", "UpdateCostCategoryDefinition", {})
13
13
  .n("CostExplorerClient", "UpdateCostCategoryDefinitionCommand")
14
- .sc(UpdateCostCategoryDefinition)
14
+ .sc(UpdateCostCategoryDefinition$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./CostExplorerClient";
2
2
  export * from "./CostExplorer";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -23,12 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ??
27
- new AwsJson1_1Protocol({
28
- defaultNamespace: "com.amazonaws.costexplorer",
29
- serviceTarget: "AWSInsightsIndexService",
30
- awsQueryCompatible: false,
31
- }),
26
+ protocol: config?.protocol ?? AwsJson1_1Protocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.costexplorer",
29
+ version: "2017-10-25",
30
+ serviceTarget: "AWSInsightsIndexService",
31
+ },
32
32
  serviceId: config?.serviceId ?? "Cost Explorer",
33
33
  urlParser: config?.urlParser ?? parseUrl,
34
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,