@aws-sdk/client-cost-optimization-hub 3.758.0 → 3.772.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.
- package/dist-cjs/index.js +53 -64
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
|
|
21
21
|
// src/index.ts
|
|
22
|
-
var
|
|
23
|
-
__export(
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
24
|
AccessDeniedException: () => AccessDeniedException,
|
|
25
25
|
ActionType: () => ActionType,
|
|
26
26
|
AllocationStrategy: () => AllocationStrategy,
|
|
@@ -54,7 +54,7 @@ __export(src_exports, {
|
|
|
54
54
|
paginateListRecommendationSummaries: () => paginateListRecommendationSummaries,
|
|
55
55
|
paginateListRecommendations: () => paginateListRecommendations
|
|
56
56
|
});
|
|
57
|
-
module.exports = __toCommonJS(
|
|
57
|
+
module.exports = __toCommonJS(index_exports);
|
|
58
58
|
|
|
59
59
|
// src/CostOptimizationHubClient.ts
|
|
60
60
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
@@ -181,9 +181,9 @@ var CostOptimizationHubClient = class extends import_smithy_client.Client {
|
|
|
181
181
|
this.middlewareStack.use(
|
|
182
182
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
183
183
|
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultCostOptimizationHubHttpAuthSchemeParametersProvider,
|
|
184
|
-
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
184
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
185
185
|
"aws.auth#sigv4": config.credentials
|
|
186
|
-
})
|
|
186
|
+
}), "identityProviderConfigProvider")
|
|
187
187
|
})
|
|
188
188
|
);
|
|
189
189
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -348,20 +348,13 @@ var Ec2AutoScalingGroupType = {
|
|
|
348
348
|
var ResourceDetails;
|
|
349
349
|
((ResourceDetails3) => {
|
|
350
350
|
ResourceDetails3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
351
|
-
if (value.lambdaFunction !== void 0)
|
|
352
|
-
|
|
353
|
-
if (value.
|
|
354
|
-
|
|
355
|
-
if (value.
|
|
356
|
-
|
|
357
|
-
if (value.
|
|
358
|
-
return visitor.ebsVolume(value.ebsVolume);
|
|
359
|
-
if (value.ec2AutoScalingGroup !== void 0)
|
|
360
|
-
return visitor.ec2AutoScalingGroup(value.ec2AutoScalingGroup);
|
|
361
|
-
if (value.ec2ReservedInstances !== void 0)
|
|
362
|
-
return visitor.ec2ReservedInstances(value.ec2ReservedInstances);
|
|
363
|
-
if (value.rdsReservedInstances !== void 0)
|
|
364
|
-
return visitor.rdsReservedInstances(value.rdsReservedInstances);
|
|
351
|
+
if (value.lambdaFunction !== void 0) return visitor.lambdaFunction(value.lambdaFunction);
|
|
352
|
+
if (value.ecsService !== void 0) return visitor.ecsService(value.ecsService);
|
|
353
|
+
if (value.ec2Instance !== void 0) return visitor.ec2Instance(value.ec2Instance);
|
|
354
|
+
if (value.ebsVolume !== void 0) return visitor.ebsVolume(value.ebsVolume);
|
|
355
|
+
if (value.ec2AutoScalingGroup !== void 0) return visitor.ec2AutoScalingGroup(value.ec2AutoScalingGroup);
|
|
356
|
+
if (value.ec2ReservedInstances !== void 0) return visitor.ec2ReservedInstances(value.ec2ReservedInstances);
|
|
357
|
+
if (value.rdsReservedInstances !== void 0) return visitor.rdsReservedInstances(value.rdsReservedInstances);
|
|
365
358
|
if (value.elastiCacheReservedInstances !== void 0)
|
|
366
359
|
return visitor.elastiCacheReservedInstances(value.elastiCacheReservedInstances);
|
|
367
360
|
if (value.openSearchReservedInstances !== void 0)
|
|
@@ -370,14 +363,10 @@ var ResourceDetails;
|
|
|
370
363
|
return visitor.redshiftReservedInstances(value.redshiftReservedInstances);
|
|
371
364
|
if (value.ec2InstanceSavingsPlans !== void 0)
|
|
372
365
|
return visitor.ec2InstanceSavingsPlans(value.ec2InstanceSavingsPlans);
|
|
373
|
-
if (value.computeSavingsPlans !== void 0)
|
|
374
|
-
|
|
375
|
-
if (value.
|
|
376
|
-
|
|
377
|
-
if (value.rdsDbInstance !== void 0)
|
|
378
|
-
return visitor.rdsDbInstance(value.rdsDbInstance);
|
|
379
|
-
if (value.rdsDbInstanceStorage !== void 0)
|
|
380
|
-
return visitor.rdsDbInstanceStorage(value.rdsDbInstanceStorage);
|
|
366
|
+
if (value.computeSavingsPlans !== void 0) return visitor.computeSavingsPlans(value.computeSavingsPlans);
|
|
367
|
+
if (value.sageMakerSavingsPlans !== void 0) return visitor.sageMakerSavingsPlans(value.sageMakerSavingsPlans);
|
|
368
|
+
if (value.rdsDbInstance !== void 0) return visitor.rdsDbInstance(value.rdsDbInstance);
|
|
369
|
+
if (value.rdsDbInstanceStorage !== void 0) return visitor.rdsDbInstanceStorage(value.rdsDbInstanceStorage);
|
|
381
370
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
382
371
|
}, "visit");
|
|
383
372
|
})(ResourceDetails || (ResourceDetails = {}));
|
|
@@ -654,8 +643,8 @@ var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, cont
|
|
|
654
643
|
var de_AccountEnrollmentStatus = /* @__PURE__ */ __name((output, context) => {
|
|
655
644
|
return (0, import_smithy_client.take)(output, {
|
|
656
645
|
accountId: import_smithy_client.expectString,
|
|
657
|
-
createdTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
658
|
-
lastUpdatedTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
646
|
+
createdTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdTimestamp"),
|
|
647
|
+
lastUpdatedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastUpdatedTimestamp"),
|
|
659
648
|
status: import_smithy_client.expectString
|
|
660
649
|
});
|
|
661
650
|
}, "de_AccountEnrollmentStatus");
|
|
@@ -682,61 +671,61 @@ var de_ComputeConfiguration = /* @__PURE__ */ __name((output, context) => {
|
|
|
682
671
|
var de_ComputeSavingsPlans = /* @__PURE__ */ __name((output, context) => {
|
|
683
672
|
return (0, import_smithy_client.take)(output, {
|
|
684
673
|
configuration: import_smithy_client._json,
|
|
685
|
-
costCalculation: (_) => de_SavingsPlansCostCalculation(_, context)
|
|
674
|
+
costCalculation: /* @__PURE__ */ __name((_) => de_SavingsPlansCostCalculation(_, context), "costCalculation")
|
|
686
675
|
});
|
|
687
676
|
}, "de_ComputeSavingsPlans");
|
|
688
677
|
var de_EbsVolume = /* @__PURE__ */ __name((output, context) => {
|
|
689
678
|
return (0, import_smithy_client.take)(output, {
|
|
690
|
-
configuration: (_) => de_EbsVolumeConfiguration(_, context),
|
|
691
|
-
costCalculation: (_) => de_ResourceCostCalculation(_, context)
|
|
679
|
+
configuration: /* @__PURE__ */ __name((_) => de_EbsVolumeConfiguration(_, context), "configuration"),
|
|
680
|
+
costCalculation: /* @__PURE__ */ __name((_) => de_ResourceCostCalculation(_, context), "costCalculation")
|
|
692
681
|
});
|
|
693
682
|
}, "de_EbsVolume");
|
|
694
683
|
var de_EbsVolumeConfiguration = /* @__PURE__ */ __name((output, context) => {
|
|
695
684
|
return (0, import_smithy_client.take)(output, {
|
|
696
685
|
attachmentState: import_smithy_client.expectString,
|
|
697
|
-
performance: (_) => de_BlockStoragePerformanceConfiguration(_, context),
|
|
698
|
-
storage: (_) => de_StorageConfiguration(_, context)
|
|
686
|
+
performance: /* @__PURE__ */ __name((_) => de_BlockStoragePerformanceConfiguration(_, context), "performance"),
|
|
687
|
+
storage: /* @__PURE__ */ __name((_) => de_StorageConfiguration(_, context), "storage")
|
|
699
688
|
});
|
|
700
689
|
}, "de_EbsVolumeConfiguration");
|
|
701
690
|
var de_Ec2AutoScalingGroup = /* @__PURE__ */ __name((output, context) => {
|
|
702
691
|
return (0, import_smithy_client.take)(output, {
|
|
703
692
|
configuration: import_smithy_client._json,
|
|
704
|
-
costCalculation: (_) => de_ResourceCostCalculation(_, context)
|
|
693
|
+
costCalculation: /* @__PURE__ */ __name((_) => de_ResourceCostCalculation(_, context), "costCalculation")
|
|
705
694
|
});
|
|
706
695
|
}, "de_Ec2AutoScalingGroup");
|
|
707
696
|
var de_Ec2Instance = /* @__PURE__ */ __name((output, context) => {
|
|
708
697
|
return (0, import_smithy_client.take)(output, {
|
|
709
698
|
configuration: import_smithy_client._json,
|
|
710
|
-
costCalculation: (_) => de_ResourceCostCalculation(_, context)
|
|
699
|
+
costCalculation: /* @__PURE__ */ __name((_) => de_ResourceCostCalculation(_, context), "costCalculation")
|
|
711
700
|
});
|
|
712
701
|
}, "de_Ec2Instance");
|
|
713
702
|
var de_Ec2InstanceSavingsPlans = /* @__PURE__ */ __name((output, context) => {
|
|
714
703
|
return (0, import_smithy_client.take)(output, {
|
|
715
704
|
configuration: import_smithy_client._json,
|
|
716
|
-
costCalculation: (_) => de_SavingsPlansCostCalculation(_, context)
|
|
705
|
+
costCalculation: /* @__PURE__ */ __name((_) => de_SavingsPlansCostCalculation(_, context), "costCalculation")
|
|
717
706
|
});
|
|
718
707
|
}, "de_Ec2InstanceSavingsPlans");
|
|
719
708
|
var de_Ec2ReservedInstances = /* @__PURE__ */ __name((output, context) => {
|
|
720
709
|
return (0, import_smithy_client.take)(output, {
|
|
721
710
|
configuration: import_smithy_client._json,
|
|
722
|
-
costCalculation: (_) => de_ReservedInstancesCostCalculation(_, context)
|
|
711
|
+
costCalculation: /* @__PURE__ */ __name((_) => de_ReservedInstancesCostCalculation(_, context), "costCalculation")
|
|
723
712
|
});
|
|
724
713
|
}, "de_Ec2ReservedInstances");
|
|
725
714
|
var de_EcsService = /* @__PURE__ */ __name((output, context) => {
|
|
726
715
|
return (0, import_smithy_client.take)(output, {
|
|
727
|
-
configuration: (_) => de_EcsServiceConfiguration(_, context),
|
|
728
|
-
costCalculation: (_) => de_ResourceCostCalculation(_, context)
|
|
716
|
+
configuration: /* @__PURE__ */ __name((_) => de_EcsServiceConfiguration(_, context), "configuration"),
|
|
717
|
+
costCalculation: /* @__PURE__ */ __name((_) => de_ResourceCostCalculation(_, context), "costCalculation")
|
|
729
718
|
});
|
|
730
719
|
}, "de_EcsService");
|
|
731
720
|
var de_EcsServiceConfiguration = /* @__PURE__ */ __name((output, context) => {
|
|
732
721
|
return (0, import_smithy_client.take)(output, {
|
|
733
|
-
compute: (_) => de_ComputeConfiguration(_, context)
|
|
722
|
+
compute: /* @__PURE__ */ __name((_) => de_ComputeConfiguration(_, context), "compute")
|
|
734
723
|
});
|
|
735
724
|
}, "de_EcsServiceConfiguration");
|
|
736
725
|
var de_ElastiCacheReservedInstances = /* @__PURE__ */ __name((output, context) => {
|
|
737
726
|
return (0, import_smithy_client.take)(output, {
|
|
738
727
|
configuration: import_smithy_client._json,
|
|
739
|
-
costCalculation: (_) => de_ReservedInstancesCostCalculation(_, context)
|
|
728
|
+
costCalculation: /* @__PURE__ */ __name((_) => de_ReservedInstancesCostCalculation(_, context), "costCalculation")
|
|
740
729
|
});
|
|
741
730
|
}, "de_ElastiCacheReservedInstances");
|
|
742
731
|
var de_EstimatedDiscounts = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -752,17 +741,17 @@ var de_GetRecommendationResponse = /* @__PURE__ */ __name((output, context) => {
|
|
|
752
741
|
actionType: import_smithy_client.expectString,
|
|
753
742
|
costCalculationLookbackPeriodInDays: import_smithy_client.expectInt32,
|
|
754
743
|
currencyCode: import_smithy_client.expectString,
|
|
755
|
-
currentResourceDetails: (_) => de_ResourceDetails((0, import_core2.awsExpectUnion)(_), context),
|
|
744
|
+
currentResourceDetails: /* @__PURE__ */ __name((_) => de_ResourceDetails((0, import_core2.awsExpectUnion)(_), context), "currentResourceDetails"),
|
|
756
745
|
currentResourceType: import_smithy_client.expectString,
|
|
757
746
|
estimatedMonthlyCost: import_smithy_client.limitedParseDouble,
|
|
758
747
|
estimatedMonthlySavings: import_smithy_client.limitedParseDouble,
|
|
759
748
|
estimatedSavingsOverCostCalculationLookbackPeriod: import_smithy_client.limitedParseDouble,
|
|
760
749
|
estimatedSavingsPercentage: import_smithy_client.limitedParseDouble,
|
|
761
750
|
implementationEffort: import_smithy_client.expectString,
|
|
762
|
-
lastRefreshTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
751
|
+
lastRefreshTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastRefreshTimestamp"),
|
|
763
752
|
recommendationId: import_smithy_client.expectString,
|
|
764
753
|
recommendationLookbackPeriodInDays: import_smithy_client.expectInt32,
|
|
765
|
-
recommendedResourceDetails: (_) => de_ResourceDetails((0, import_core2.awsExpectUnion)(_), context),
|
|
754
|
+
recommendedResourceDetails: /* @__PURE__ */ __name((_) => de_ResourceDetails((0, import_core2.awsExpectUnion)(_), context), "recommendedResourceDetails"),
|
|
766
755
|
recommendedResourceType: import_smithy_client.expectString,
|
|
767
756
|
region: import_smithy_client.expectString,
|
|
768
757
|
resourceArn: import_smithy_client.expectString,
|
|
@@ -775,25 +764,25 @@ var de_GetRecommendationResponse = /* @__PURE__ */ __name((output, context) => {
|
|
|
775
764
|
}, "de_GetRecommendationResponse");
|
|
776
765
|
var de_LambdaFunction = /* @__PURE__ */ __name((output, context) => {
|
|
777
766
|
return (0, import_smithy_client.take)(output, {
|
|
778
|
-
configuration: (_) => de_LambdaFunctionConfiguration(_, context),
|
|
779
|
-
costCalculation: (_) => de_ResourceCostCalculation(_, context)
|
|
767
|
+
configuration: /* @__PURE__ */ __name((_) => de_LambdaFunctionConfiguration(_, context), "configuration"),
|
|
768
|
+
costCalculation: /* @__PURE__ */ __name((_) => de_ResourceCostCalculation(_, context), "costCalculation")
|
|
780
769
|
});
|
|
781
770
|
}, "de_LambdaFunction");
|
|
782
771
|
var de_LambdaFunctionConfiguration = /* @__PURE__ */ __name((output, context) => {
|
|
783
772
|
return (0, import_smithy_client.take)(output, {
|
|
784
|
-
compute: (_) => de_ComputeConfiguration(_, context)
|
|
773
|
+
compute: /* @__PURE__ */ __name((_) => de_ComputeConfiguration(_, context), "compute")
|
|
785
774
|
});
|
|
786
775
|
}, "de_LambdaFunctionConfiguration");
|
|
787
776
|
var de_ListEnrollmentStatusesResponse = /* @__PURE__ */ __name((output, context) => {
|
|
788
777
|
return (0, import_smithy_client.take)(output, {
|
|
789
778
|
includeMemberAccounts: import_smithy_client.expectBoolean,
|
|
790
|
-
items: (_) => de_AccountEnrollmentStatuses(_, context),
|
|
779
|
+
items: /* @__PURE__ */ __name((_) => de_AccountEnrollmentStatuses(_, context), "items"),
|
|
791
780
|
nextToken: import_smithy_client.expectString
|
|
792
781
|
});
|
|
793
782
|
}, "de_ListEnrollmentStatusesResponse");
|
|
794
783
|
var de_ListRecommendationsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
795
784
|
return (0, import_smithy_client.take)(output, {
|
|
796
|
-
items: (_) => de_RecommendationList(_, context),
|
|
785
|
+
items: /* @__PURE__ */ __name((_) => de_RecommendationList(_, context), "items"),
|
|
797
786
|
nextToken: import_smithy_client.expectString
|
|
798
787
|
});
|
|
799
788
|
}, "de_ListRecommendationsResponse");
|
|
@@ -802,7 +791,7 @@ var de_ListRecommendationSummariesResponse = /* @__PURE__ */ __name((output, con
|
|
|
802
791
|
currencyCode: import_smithy_client.expectString,
|
|
803
792
|
estimatedTotalDedupedSavings: import_smithy_client.limitedParseDouble,
|
|
804
793
|
groupBy: import_smithy_client.expectString,
|
|
805
|
-
items: (_) => de_RecommendationSummariesList(_, context),
|
|
794
|
+
items: /* @__PURE__ */ __name((_) => de_RecommendationSummariesList(_, context), "items"),
|
|
806
795
|
metrics: import_smithy_client._json,
|
|
807
796
|
nextToken: import_smithy_client.expectString
|
|
808
797
|
});
|
|
@@ -810,19 +799,19 @@ var de_ListRecommendationSummariesResponse = /* @__PURE__ */ __name((output, con
|
|
|
810
799
|
var de_OpenSearchReservedInstances = /* @__PURE__ */ __name((output, context) => {
|
|
811
800
|
return (0, import_smithy_client.take)(output, {
|
|
812
801
|
configuration: import_smithy_client._json,
|
|
813
|
-
costCalculation: (_) => de_ReservedInstancesCostCalculation(_, context)
|
|
802
|
+
costCalculation: /* @__PURE__ */ __name((_) => de_ReservedInstancesCostCalculation(_, context), "costCalculation")
|
|
814
803
|
});
|
|
815
804
|
}, "de_OpenSearchReservedInstances");
|
|
816
805
|
var de_RdsDbInstance = /* @__PURE__ */ __name((output, context) => {
|
|
817
806
|
return (0, import_smithy_client.take)(output, {
|
|
818
807
|
configuration: import_smithy_client._json,
|
|
819
|
-
costCalculation: (_) => de_ResourceCostCalculation(_, context)
|
|
808
|
+
costCalculation: /* @__PURE__ */ __name((_) => de_ResourceCostCalculation(_, context), "costCalculation")
|
|
820
809
|
});
|
|
821
810
|
}, "de_RdsDbInstance");
|
|
822
811
|
var de_RdsDbInstanceStorage = /* @__PURE__ */ __name((output, context) => {
|
|
823
812
|
return (0, import_smithy_client.take)(output, {
|
|
824
|
-
configuration: (_) => de_RdsDbInstanceStorageConfiguration(_, context),
|
|
825
|
-
costCalculation: (_) => de_ResourceCostCalculation(_, context)
|
|
813
|
+
configuration: /* @__PURE__ */ __name((_) => de_RdsDbInstanceStorageConfiguration(_, context), "configuration"),
|
|
814
|
+
costCalculation: /* @__PURE__ */ __name((_) => de_ResourceCostCalculation(_, context), "costCalculation")
|
|
826
815
|
});
|
|
827
816
|
}, "de_RdsDbInstanceStorage");
|
|
828
817
|
var de_RdsDbInstanceStorageConfiguration = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -836,7 +825,7 @@ var de_RdsDbInstanceStorageConfiguration = /* @__PURE__ */ __name((output, conte
|
|
|
836
825
|
var de_RdsReservedInstances = /* @__PURE__ */ __name((output, context) => {
|
|
837
826
|
return (0, import_smithy_client.take)(output, {
|
|
838
827
|
configuration: import_smithy_client._json,
|
|
839
|
-
costCalculation: (_) => de_ReservedInstancesCostCalculation(_, context)
|
|
828
|
+
costCalculation: /* @__PURE__ */ __name((_) => de_ReservedInstancesCostCalculation(_, context), "costCalculation")
|
|
840
829
|
});
|
|
841
830
|
}, "de_RdsReservedInstances");
|
|
842
831
|
var de_Recommendation = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -850,7 +839,7 @@ var de_Recommendation = /* @__PURE__ */ __name((output, context) => {
|
|
|
850
839
|
estimatedMonthlySavings: import_smithy_client.limitedParseDouble,
|
|
851
840
|
estimatedSavingsPercentage: import_smithy_client.limitedParseDouble,
|
|
852
841
|
implementationEffort: import_smithy_client.expectString,
|
|
853
|
-
lastRefreshTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
842
|
+
lastRefreshTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastRefreshTimestamp"),
|
|
854
843
|
recommendationId: import_smithy_client.expectString,
|
|
855
844
|
recommendationLookbackPeriodInDays: import_smithy_client.expectInt32,
|
|
856
845
|
recommendedResourceSummary: import_smithy_client.expectString,
|
|
@@ -886,12 +875,12 @@ var de_RecommendationSummary = /* @__PURE__ */ __name((output, context) => {
|
|
|
886
875
|
var de_RedshiftReservedInstances = /* @__PURE__ */ __name((output, context) => {
|
|
887
876
|
return (0, import_smithy_client.take)(output, {
|
|
888
877
|
configuration: import_smithy_client._json,
|
|
889
|
-
costCalculation: (_) => de_ReservedInstancesCostCalculation(_, context)
|
|
878
|
+
costCalculation: /* @__PURE__ */ __name((_) => de_ReservedInstancesCostCalculation(_, context), "costCalculation")
|
|
890
879
|
});
|
|
891
880
|
}, "de_RedshiftReservedInstances");
|
|
892
881
|
var de_ReservedInstancesCostCalculation = /* @__PURE__ */ __name((output, context) => {
|
|
893
882
|
return (0, import_smithy_client.take)(output, {
|
|
894
|
-
pricing: (_) => de_ReservedInstancesPricing(_, context)
|
|
883
|
+
pricing: /* @__PURE__ */ __name((_) => de_ReservedInstancesPricing(_, context), "pricing")
|
|
895
884
|
});
|
|
896
885
|
}, "de_ReservedInstancesCostCalculation");
|
|
897
886
|
var de_ReservedInstancesPricing = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -904,8 +893,8 @@ var de_ReservedInstancesPricing = /* @__PURE__ */ __name((output, context) => {
|
|
|
904
893
|
}, "de_ReservedInstancesPricing");
|
|
905
894
|
var de_ResourceCostCalculation = /* @__PURE__ */ __name((output, context) => {
|
|
906
895
|
return (0, import_smithy_client.take)(output, {
|
|
907
|
-
pricing: (_) => de_ResourcePricing(_, context),
|
|
908
|
-
usages: (_) => de_UsageList(_, context)
|
|
896
|
+
pricing: /* @__PURE__ */ __name((_) => de_ResourcePricing(_, context), "pricing"),
|
|
897
|
+
usages: /* @__PURE__ */ __name((_) => de_UsageList(_, context), "usages")
|
|
909
898
|
});
|
|
910
899
|
}, "de_ResourceCostCalculation");
|
|
911
900
|
var de_ResourceDetails = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -990,19 +979,19 @@ var de_ResourcePricing = /* @__PURE__ */ __name((output, context) => {
|
|
|
990
979
|
return (0, import_smithy_client.take)(output, {
|
|
991
980
|
estimatedCostAfterDiscounts: import_smithy_client.limitedParseDouble,
|
|
992
981
|
estimatedCostBeforeDiscounts: import_smithy_client.limitedParseDouble,
|
|
993
|
-
estimatedDiscounts: (_) => de_EstimatedDiscounts(_, context),
|
|
982
|
+
estimatedDiscounts: /* @__PURE__ */ __name((_) => de_EstimatedDiscounts(_, context), "estimatedDiscounts"),
|
|
994
983
|
estimatedNetUnusedAmortizedCommitments: import_smithy_client.limitedParseDouble
|
|
995
984
|
});
|
|
996
985
|
}, "de_ResourcePricing");
|
|
997
986
|
var de_SageMakerSavingsPlans = /* @__PURE__ */ __name((output, context) => {
|
|
998
987
|
return (0, import_smithy_client.take)(output, {
|
|
999
988
|
configuration: import_smithy_client._json,
|
|
1000
|
-
costCalculation: (_) => de_SavingsPlansCostCalculation(_, context)
|
|
989
|
+
costCalculation: /* @__PURE__ */ __name((_) => de_SavingsPlansCostCalculation(_, context), "costCalculation")
|
|
1001
990
|
});
|
|
1002
991
|
}, "de_SageMakerSavingsPlans");
|
|
1003
992
|
var de_SavingsPlansCostCalculation = /* @__PURE__ */ __name((output, context) => {
|
|
1004
993
|
return (0, import_smithy_client.take)(output, {
|
|
1005
|
-
pricing: (_) => de_SavingsPlansPricing(_, context)
|
|
994
|
+
pricing: /* @__PURE__ */ __name((_) => de_SavingsPlansPricing(_, context), "pricing")
|
|
1006
995
|
});
|
|
1007
996
|
}, "de_SavingsPlansCostCalculation");
|
|
1008
997
|
var de_SavingsPlansPricing = /* @__PURE__ */ __name((output, context) => {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cost-optimization-hub",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cost Optimization Hub Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.772.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-cost-optimization-hub",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.758.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.772.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.734.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.772.0",
|
|
28
28
|
"@aws-sdk/middleware-user-agent": "3.758.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.734.0",
|
|
30
30
|
"@aws-sdk/types": "3.734.0",
|