@aws-sdk/client-cost-optimization-hub 3.600.0 → 3.606.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 +36 -0
- package/dist-es/models/models_0.js +6 -0
- package/dist-es/protocols/Aws_json1_0.js +30 -0
- package/dist-types/commands/GetRecommendationCommand.d.ts +36 -2
- package/dist-types/commands/ListRecommendationSummariesCommand.d.ts +1 -1
- package/dist-types/commands/ListRecommendationsCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +160 -3
- package/dist-types/ts3.4/models/models_0.d.ts +90 -0
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -347,6 +347,10 @@ var ResourceDetails;
|
|
|
347
347
|
return visitor.computeSavingsPlans(value.computeSavingsPlans);
|
|
348
348
|
if (value.sageMakerSavingsPlans !== void 0)
|
|
349
349
|
return visitor.sageMakerSavingsPlans(value.sageMakerSavingsPlans);
|
|
350
|
+
if (value.rdsDbInstance !== void 0)
|
|
351
|
+
return visitor.rdsDbInstance(value.rdsDbInstance);
|
|
352
|
+
if (value.rdsDbInstanceStorage !== void 0)
|
|
353
|
+
return visitor.rdsDbInstanceStorage(value.rdsDbInstanceStorage);
|
|
350
354
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
351
355
|
}, "visit");
|
|
352
356
|
})(ResourceDetails || (ResourceDetails = {}));
|
|
@@ -361,6 +365,8 @@ var ResourceType = {
|
|
|
361
365
|
ELASTI_CACHE_RESERVED_INSTANCES: "ElastiCacheReservedInstances",
|
|
362
366
|
LAMBDA_FUNCTION: "LambdaFunction",
|
|
363
367
|
OPEN_SEARCH_RESERVED_INSTANCES: "OpenSearchReservedInstances",
|
|
368
|
+
RDS_DB_INSTANCE: "RdsDbInstance",
|
|
369
|
+
RDS_DB_INSTANCE_STORAGE: "RdsDbInstanceStorage",
|
|
364
370
|
RDS_RESERVED_INSTANCES: "RdsReservedInstances",
|
|
365
371
|
REDSHIFT_RESERVED_INSTANCES: "RedshiftReservedInstances",
|
|
366
372
|
SAGE_MAKER_SAVINGS_PLANS: "SageMakerSavingsPlans"
|
|
@@ -770,6 +776,26 @@ var de_OpenSearchReservedInstances = /* @__PURE__ */ __name((output, context) =>
|
|
|
770
776
|
costCalculation: (_) => de_ReservedInstancesCostCalculation(_, context)
|
|
771
777
|
});
|
|
772
778
|
}, "de_OpenSearchReservedInstances");
|
|
779
|
+
var de_RdsDbInstance = /* @__PURE__ */ __name((output, context) => {
|
|
780
|
+
return (0, import_smithy_client.take)(output, {
|
|
781
|
+
configuration: import_smithy_client._json,
|
|
782
|
+
costCalculation: (_) => de_ResourceCostCalculation(_, context)
|
|
783
|
+
});
|
|
784
|
+
}, "de_RdsDbInstance");
|
|
785
|
+
var de_RdsDbInstanceStorage = /* @__PURE__ */ __name((output, context) => {
|
|
786
|
+
return (0, import_smithy_client.take)(output, {
|
|
787
|
+
configuration: (_) => de_RdsDbInstanceStorageConfiguration(_, context),
|
|
788
|
+
costCalculation: (_) => de_ResourceCostCalculation(_, context)
|
|
789
|
+
});
|
|
790
|
+
}, "de_RdsDbInstanceStorage");
|
|
791
|
+
var de_RdsDbInstanceStorageConfiguration = /* @__PURE__ */ __name((output, context) => {
|
|
792
|
+
return (0, import_smithy_client.take)(output, {
|
|
793
|
+
allocatedStorageInGb: import_smithy_client.limitedParseDouble,
|
|
794
|
+
iops: import_smithy_client.limitedParseDouble,
|
|
795
|
+
storageThroughput: import_smithy_client.limitedParseDouble,
|
|
796
|
+
storageType: import_smithy_client.expectString
|
|
797
|
+
});
|
|
798
|
+
}, "de_RdsDbInstanceStorageConfiguration");
|
|
773
799
|
var de_RdsReservedInstances = /* @__PURE__ */ __name((output, context) => {
|
|
774
800
|
return (0, import_smithy_client.take)(output, {
|
|
775
801
|
configuration: import_smithy_client._json,
|
|
@@ -896,6 +922,16 @@ var de_ResourceDetails = /* @__PURE__ */ __name((output, context) => {
|
|
|
896
922
|
openSearchReservedInstances: de_OpenSearchReservedInstances(output.openSearchReservedInstances, context)
|
|
897
923
|
};
|
|
898
924
|
}
|
|
925
|
+
if (output.rdsDbInstance != null) {
|
|
926
|
+
return {
|
|
927
|
+
rdsDbInstance: de_RdsDbInstance(output.rdsDbInstance, context)
|
|
928
|
+
};
|
|
929
|
+
}
|
|
930
|
+
if (output.rdsDbInstanceStorage != null) {
|
|
931
|
+
return {
|
|
932
|
+
rdsDbInstanceStorage: de_RdsDbInstanceStorage(output.rdsDbInstanceStorage, context)
|
|
933
|
+
};
|
|
934
|
+
}
|
|
899
935
|
if (output.rdsReservedInstances != null) {
|
|
900
936
|
return {
|
|
901
937
|
rdsReservedInstances: de_RdsReservedInstances(output.rdsReservedInstances, context)
|
|
@@ -102,6 +102,10 @@ export var ResourceDetails;
|
|
|
102
102
|
return visitor.computeSavingsPlans(value.computeSavingsPlans);
|
|
103
103
|
if (value.sageMakerSavingsPlans !== undefined)
|
|
104
104
|
return visitor.sageMakerSavingsPlans(value.sageMakerSavingsPlans);
|
|
105
|
+
if (value.rdsDbInstance !== undefined)
|
|
106
|
+
return visitor.rdsDbInstance(value.rdsDbInstance);
|
|
107
|
+
if (value.rdsDbInstanceStorage !== undefined)
|
|
108
|
+
return visitor.rdsDbInstanceStorage(value.rdsDbInstanceStorage);
|
|
105
109
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
106
110
|
};
|
|
107
111
|
})(ResourceDetails || (ResourceDetails = {}));
|
|
@@ -116,6 +120,8 @@ export const ResourceType = {
|
|
|
116
120
|
ELASTI_CACHE_RESERVED_INSTANCES: "ElastiCacheReservedInstances",
|
|
117
121
|
LAMBDA_FUNCTION: "LambdaFunction",
|
|
118
122
|
OPEN_SEARCH_RESERVED_INSTANCES: "OpenSearchReservedInstances",
|
|
123
|
+
RDS_DB_INSTANCE: "RdsDbInstance",
|
|
124
|
+
RDS_DB_INSTANCE_STORAGE: "RdsDbInstanceStorage",
|
|
119
125
|
RDS_RESERVED_INSTANCES: "RdsReservedInstances",
|
|
120
126
|
REDSHIFT_RESERVED_INSTANCES: "RedshiftReservedInstances",
|
|
121
127
|
SAGE_MAKER_SAVINGS_PLANS: "SageMakerSavingsPlans",
|
|
@@ -375,6 +375,26 @@ const de_OpenSearchReservedInstances = (output, context) => {
|
|
|
375
375
|
costCalculation: (_) => de_ReservedInstancesCostCalculation(_, context),
|
|
376
376
|
});
|
|
377
377
|
};
|
|
378
|
+
const de_RdsDbInstance = (output, context) => {
|
|
379
|
+
return take(output, {
|
|
380
|
+
configuration: _json,
|
|
381
|
+
costCalculation: (_) => de_ResourceCostCalculation(_, context),
|
|
382
|
+
});
|
|
383
|
+
};
|
|
384
|
+
const de_RdsDbInstanceStorage = (output, context) => {
|
|
385
|
+
return take(output, {
|
|
386
|
+
configuration: (_) => de_RdsDbInstanceStorageConfiguration(_, context),
|
|
387
|
+
costCalculation: (_) => de_ResourceCostCalculation(_, context),
|
|
388
|
+
});
|
|
389
|
+
};
|
|
390
|
+
const de_RdsDbInstanceStorageConfiguration = (output, context) => {
|
|
391
|
+
return take(output, {
|
|
392
|
+
allocatedStorageInGb: __limitedParseDouble,
|
|
393
|
+
iops: __limitedParseDouble,
|
|
394
|
+
storageThroughput: __limitedParseDouble,
|
|
395
|
+
storageType: __expectString,
|
|
396
|
+
});
|
|
397
|
+
};
|
|
378
398
|
const de_RdsReservedInstances = (output, context) => {
|
|
379
399
|
return take(output, {
|
|
380
400
|
configuration: _json,
|
|
@@ -505,6 +525,16 @@ const de_ResourceDetails = (output, context) => {
|
|
|
505
525
|
openSearchReservedInstances: de_OpenSearchReservedInstances(output.openSearchReservedInstances, context),
|
|
506
526
|
};
|
|
507
527
|
}
|
|
528
|
+
if (output.rdsDbInstance != null) {
|
|
529
|
+
return {
|
|
530
|
+
rdsDbInstance: de_RdsDbInstance(output.rdsDbInstance, context),
|
|
531
|
+
};
|
|
532
|
+
}
|
|
533
|
+
if (output.rdsDbInstanceStorage != null) {
|
|
534
|
+
return {
|
|
535
|
+
rdsDbInstanceStorage: de_RdsDbInstanceStorage(output.rdsDbInstanceStorage, context),
|
|
536
|
+
};
|
|
537
|
+
}
|
|
508
538
|
if (output.rdsReservedInstances != null) {
|
|
509
539
|
return {
|
|
510
540
|
rdsReservedInstances: de_RdsReservedInstances(output.rdsReservedInstances, context),
|
|
@@ -53,8 +53,8 @@ declare const GetRecommendationCommand_base: {
|
|
|
53
53
|
* // costCalculationLookbackPeriodInDays: Number("int"),
|
|
54
54
|
* // estimatedSavingsPercentage: Number("double"),
|
|
55
55
|
* // estimatedSavingsOverCostCalculationLookbackPeriod: Number("double"),
|
|
56
|
-
* // currentResourceType: "Ec2Instance" || "LambdaFunction" || "EbsVolume" || "EcsService" || "Ec2AutoScalingGroup" || "Ec2InstanceSavingsPlans" || "ComputeSavingsPlans" || "SageMakerSavingsPlans" || "Ec2ReservedInstances" || "RdsReservedInstances" || "OpenSearchReservedInstances" || "RedshiftReservedInstances" || "ElastiCacheReservedInstances",
|
|
57
|
-
* // recommendedResourceType: "Ec2Instance" || "LambdaFunction" || "EbsVolume" || "EcsService" || "Ec2AutoScalingGroup" || "Ec2InstanceSavingsPlans" || "ComputeSavingsPlans" || "SageMakerSavingsPlans" || "Ec2ReservedInstances" || "RdsReservedInstances" || "OpenSearchReservedInstances" || "RedshiftReservedInstances" || "ElastiCacheReservedInstances",
|
|
56
|
+
* // currentResourceType: "Ec2Instance" || "LambdaFunction" || "EbsVolume" || "EcsService" || "Ec2AutoScalingGroup" || "Ec2InstanceSavingsPlans" || "ComputeSavingsPlans" || "SageMakerSavingsPlans" || "Ec2ReservedInstances" || "RdsReservedInstances" || "OpenSearchReservedInstances" || "RedshiftReservedInstances" || "ElastiCacheReservedInstances" || "RdsDbInstanceStorage" || "RdsDbInstance",
|
|
57
|
+
* // recommendedResourceType: "Ec2Instance" || "LambdaFunction" || "EbsVolume" || "EcsService" || "Ec2AutoScalingGroup" || "Ec2InstanceSavingsPlans" || "ComputeSavingsPlans" || "SageMakerSavingsPlans" || "Ec2ReservedInstances" || "RdsReservedInstances" || "OpenSearchReservedInstances" || "RedshiftReservedInstances" || "ElastiCacheReservedInstances" || "RdsDbInstanceStorage" || "RdsDbInstance",
|
|
58
58
|
* // region: "STRING_VALUE",
|
|
59
59
|
* // source: "ComputeOptimizer" || "CostExplorer",
|
|
60
60
|
* // lastRefreshTimestamp: new Date("TIMESTAMP"),
|
|
@@ -398,6 +398,23 @@ declare const GetRecommendationCommand_base: {
|
|
|
398
398
|
* // },
|
|
399
399
|
* // },
|
|
400
400
|
* // },
|
|
401
|
+
* // rdsDbInstance: { // RdsDbInstance
|
|
402
|
+
* // configuration: { // RdsDbInstanceConfiguration
|
|
403
|
+
* // instance: { // DbInstanceConfiguration
|
|
404
|
+
* // dbInstanceClass: "STRING_VALUE",
|
|
405
|
+
* // },
|
|
406
|
+
* // },
|
|
407
|
+
* // costCalculation: "<ResourceCostCalculation>",
|
|
408
|
+
* // },
|
|
409
|
+
* // rdsDbInstanceStorage: { // RdsDbInstanceStorage
|
|
410
|
+
* // configuration: { // RdsDbInstanceStorageConfiguration
|
|
411
|
+
* // storageType: "STRING_VALUE",
|
|
412
|
+
* // allocatedStorageInGb: Number("double"),
|
|
413
|
+
* // iops: Number("double"),
|
|
414
|
+
* // storageThroughput: Number("double"),
|
|
415
|
+
* // },
|
|
416
|
+
* // costCalculation: "<ResourceCostCalculation>",
|
|
417
|
+
* // },
|
|
401
418
|
* // },
|
|
402
419
|
* // recommendedResourceDetails: {// Union: only one key present
|
|
403
420
|
* // lambdaFunction: {
|
|
@@ -591,6 +608,23 @@ declare const GetRecommendationCommand_base: {
|
|
|
591
608
|
* // },
|
|
592
609
|
* // costCalculation: "<SavingsPlansCostCalculation>",
|
|
593
610
|
* // },
|
|
611
|
+
* // rdsDbInstance: {
|
|
612
|
+
* // configuration: {
|
|
613
|
+
* // instance: {
|
|
614
|
+
* // dbInstanceClass: "STRING_VALUE",
|
|
615
|
+
* // },
|
|
616
|
+
* // },
|
|
617
|
+
* // costCalculation: "<ResourceCostCalculation>",
|
|
618
|
+
* // },
|
|
619
|
+
* // rdsDbInstanceStorage: {
|
|
620
|
+
* // configuration: {
|
|
621
|
+
* // storageType: "STRING_VALUE",
|
|
622
|
+
* // allocatedStorageInGb: Number("double"),
|
|
623
|
+
* // iops: Number("double"),
|
|
624
|
+
* // storageThroughput: Number("double"),
|
|
625
|
+
* // },
|
|
626
|
+
* // costCalculation: "<ResourceCostCalculation>",
|
|
627
|
+
* // },
|
|
594
628
|
* // },
|
|
595
629
|
* // tags: [ // TagList
|
|
596
630
|
* // { // Tag
|
|
@@ -53,7 +53,7 @@ declare const ListRecommendationSummariesCommand_base: {
|
|
|
53
53
|
* "STRING_VALUE",
|
|
54
54
|
* ],
|
|
55
55
|
* resourceTypes: [ // ResourceTypeList
|
|
56
|
-
* "Ec2Instance" || "LambdaFunction" || "EbsVolume" || "EcsService" || "Ec2AutoScalingGroup" || "Ec2InstanceSavingsPlans" || "ComputeSavingsPlans" || "SageMakerSavingsPlans" || "Ec2ReservedInstances" || "RdsReservedInstances" || "OpenSearchReservedInstances" || "RedshiftReservedInstances" || "ElastiCacheReservedInstances",
|
|
56
|
+
* "Ec2Instance" || "LambdaFunction" || "EbsVolume" || "EcsService" || "Ec2AutoScalingGroup" || "Ec2InstanceSavingsPlans" || "ComputeSavingsPlans" || "SageMakerSavingsPlans" || "Ec2ReservedInstances" || "RdsReservedInstances" || "OpenSearchReservedInstances" || "RedshiftReservedInstances" || "ElastiCacheReservedInstances" || "RdsDbInstanceStorage" || "RdsDbInstance",
|
|
57
57
|
* ],
|
|
58
58
|
* actionTypes: [ // ActionTypeList
|
|
59
59
|
* "Rightsize" || "Stop" || "Upgrade" || "PurchaseSavingsPlans" || "PurchaseReservedInstances" || "MigrateToGraviton",
|
|
@@ -48,7 +48,7 @@ declare const ListRecommendationsCommand_base: {
|
|
|
48
48
|
* "STRING_VALUE",
|
|
49
49
|
* ],
|
|
50
50
|
* resourceTypes: [ // ResourceTypeList
|
|
51
|
-
* "Ec2Instance" || "LambdaFunction" || "EbsVolume" || "EcsService" || "Ec2AutoScalingGroup" || "Ec2InstanceSavingsPlans" || "ComputeSavingsPlans" || "SageMakerSavingsPlans" || "Ec2ReservedInstances" || "RdsReservedInstances" || "OpenSearchReservedInstances" || "RedshiftReservedInstances" || "ElastiCacheReservedInstances",
|
|
51
|
+
* "Ec2Instance" || "LambdaFunction" || "EbsVolume" || "EcsService" || "Ec2AutoScalingGroup" || "Ec2InstanceSavingsPlans" || "ComputeSavingsPlans" || "SageMakerSavingsPlans" || "Ec2ReservedInstances" || "RdsReservedInstances" || "OpenSearchReservedInstances" || "RedshiftReservedInstances" || "ElastiCacheReservedInstances" || "RdsDbInstanceStorage" || "RdsDbInstance",
|
|
52
52
|
* ],
|
|
53
53
|
* actionTypes: [ // ActionTypeList
|
|
54
54
|
* "Rightsize" || "Stop" || "Upgrade" || "PurchaseSavingsPlans" || "PurchaseReservedInstances" || "MigrateToGraviton",
|
|
@@ -966,6 +966,87 @@ export interface OpenSearchReservedInstances {
|
|
|
966
966
|
*/
|
|
967
967
|
costCalculation?: ReservedInstancesCostCalculation;
|
|
968
968
|
}
|
|
969
|
+
/**
|
|
970
|
+
* <p>The DB instance configuration used for recommendations.</p>
|
|
971
|
+
* @public
|
|
972
|
+
*/
|
|
973
|
+
export interface DbInstanceConfiguration {
|
|
974
|
+
/**
|
|
975
|
+
* <p>The DB instance class of the DB instance.</p>
|
|
976
|
+
* @public
|
|
977
|
+
*/
|
|
978
|
+
dbInstanceClass?: string;
|
|
979
|
+
}
|
|
980
|
+
/**
|
|
981
|
+
* <p>The Amazon RDS DB instance configuration used for recommendations.</p>
|
|
982
|
+
* @public
|
|
983
|
+
*/
|
|
984
|
+
export interface RdsDbInstanceConfiguration {
|
|
985
|
+
/**
|
|
986
|
+
* <p>Details about the instance configuration.</p>
|
|
987
|
+
* @public
|
|
988
|
+
*/
|
|
989
|
+
instance?: DbInstanceConfiguration;
|
|
990
|
+
}
|
|
991
|
+
/**
|
|
992
|
+
* <p>Contains the details of an Amazon RDS DB instance.</p>
|
|
993
|
+
* @public
|
|
994
|
+
*/
|
|
995
|
+
export interface RdsDbInstance {
|
|
996
|
+
/**
|
|
997
|
+
* <p>The Amazon RDS DB instance configuration used for recommendations.</p>
|
|
998
|
+
* @public
|
|
999
|
+
*/
|
|
1000
|
+
configuration?: RdsDbInstanceConfiguration;
|
|
1001
|
+
/**
|
|
1002
|
+
* <p>Cost impact of the resource recommendation.</p>
|
|
1003
|
+
* @public
|
|
1004
|
+
*/
|
|
1005
|
+
costCalculation?: ResourceCostCalculation;
|
|
1006
|
+
}
|
|
1007
|
+
/**
|
|
1008
|
+
* <p>The Amazon RDS DB instance storage configuration used for recommendations.</p>
|
|
1009
|
+
* @public
|
|
1010
|
+
*/
|
|
1011
|
+
export interface RdsDbInstanceStorageConfiguration {
|
|
1012
|
+
/**
|
|
1013
|
+
* <p>The storage type to associate with the DB instance.</p>
|
|
1014
|
+
* @public
|
|
1015
|
+
*/
|
|
1016
|
+
storageType?: string;
|
|
1017
|
+
/**
|
|
1018
|
+
* <p>The new amount of storage in GB to allocate for the DB instance.</p>
|
|
1019
|
+
* @public
|
|
1020
|
+
*/
|
|
1021
|
+
allocatedStorageInGb?: number;
|
|
1022
|
+
/**
|
|
1023
|
+
* <p>The amount of Provisioned IOPS (input/output operations per second) to be initially
|
|
1024
|
+
* allocated for the DB instance.</p>
|
|
1025
|
+
* @public
|
|
1026
|
+
*/
|
|
1027
|
+
iops?: number;
|
|
1028
|
+
/**
|
|
1029
|
+
* <p>The storage throughput for the DB instance.</p>
|
|
1030
|
+
* @public
|
|
1031
|
+
*/
|
|
1032
|
+
storageThroughput?: number;
|
|
1033
|
+
}
|
|
1034
|
+
/**
|
|
1035
|
+
* <p>Contains the details of an Amazon RDS DB instance storage.</p>
|
|
1036
|
+
* @public
|
|
1037
|
+
*/
|
|
1038
|
+
export interface RdsDbInstanceStorage {
|
|
1039
|
+
/**
|
|
1040
|
+
* <p>The Amazon RDS DB instance storage configuration used for recommendations.</p>
|
|
1041
|
+
* @public
|
|
1042
|
+
*/
|
|
1043
|
+
configuration?: RdsDbInstanceStorageConfiguration;
|
|
1044
|
+
/**
|
|
1045
|
+
* <p>Cost impact of the resource recommendation.</p>
|
|
1046
|
+
* @public
|
|
1047
|
+
*/
|
|
1048
|
+
costCalculation?: ResourceCostCalculation;
|
|
1049
|
+
}
|
|
969
1050
|
/**
|
|
970
1051
|
* <p>The RDS reserved instances configuration used for recommendations.</p>
|
|
971
1052
|
* @public
|
|
@@ -1209,7 +1290,7 @@ export interface SageMakerSavingsPlans {
|
|
|
1209
1290
|
* <p>Contains detailed information about the specified resource.</p>
|
|
1210
1291
|
* @public
|
|
1211
1292
|
*/
|
|
1212
|
-
export type ResourceDetails = ResourceDetails.ComputeSavingsPlansMember | ResourceDetails.EbsVolumeMember | ResourceDetails.Ec2AutoScalingGroupMember | ResourceDetails.Ec2InstanceMember | ResourceDetails.Ec2InstanceSavingsPlansMember | ResourceDetails.Ec2ReservedInstancesMember | ResourceDetails.EcsServiceMember | ResourceDetails.ElastiCacheReservedInstancesMember | ResourceDetails.LambdaFunctionMember | ResourceDetails.OpenSearchReservedInstancesMember | ResourceDetails.RdsReservedInstancesMember | ResourceDetails.RedshiftReservedInstancesMember | ResourceDetails.SageMakerSavingsPlansMember | ResourceDetails.$UnknownMember;
|
|
1293
|
+
export type ResourceDetails = ResourceDetails.ComputeSavingsPlansMember | ResourceDetails.EbsVolumeMember | ResourceDetails.Ec2AutoScalingGroupMember | ResourceDetails.Ec2InstanceMember | ResourceDetails.Ec2InstanceSavingsPlansMember | ResourceDetails.Ec2ReservedInstancesMember | ResourceDetails.EcsServiceMember | ResourceDetails.ElastiCacheReservedInstancesMember | ResourceDetails.LambdaFunctionMember | ResourceDetails.OpenSearchReservedInstancesMember | ResourceDetails.RdsDbInstanceMember | ResourceDetails.RdsDbInstanceStorageMember | ResourceDetails.RdsReservedInstancesMember | ResourceDetails.RedshiftReservedInstancesMember | ResourceDetails.SageMakerSavingsPlansMember | ResourceDetails.$UnknownMember;
|
|
1213
1294
|
/**
|
|
1214
1295
|
* @public
|
|
1215
1296
|
*/
|
|
@@ -1232,6 +1313,8 @@ export declare namespace ResourceDetails {
|
|
|
1232
1313
|
ec2InstanceSavingsPlans?: never;
|
|
1233
1314
|
computeSavingsPlans?: never;
|
|
1234
1315
|
sageMakerSavingsPlans?: never;
|
|
1316
|
+
rdsDbInstance?: never;
|
|
1317
|
+
rdsDbInstanceStorage?: never;
|
|
1235
1318
|
$unknown?: never;
|
|
1236
1319
|
}
|
|
1237
1320
|
/**
|
|
@@ -1252,6 +1335,8 @@ export declare namespace ResourceDetails {
|
|
|
1252
1335
|
ec2InstanceSavingsPlans?: never;
|
|
1253
1336
|
computeSavingsPlans?: never;
|
|
1254
1337
|
sageMakerSavingsPlans?: never;
|
|
1338
|
+
rdsDbInstance?: never;
|
|
1339
|
+
rdsDbInstanceStorage?: never;
|
|
1255
1340
|
$unknown?: never;
|
|
1256
1341
|
}
|
|
1257
1342
|
/**
|
|
@@ -1272,6 +1357,8 @@ export declare namespace ResourceDetails {
|
|
|
1272
1357
|
ec2InstanceSavingsPlans?: never;
|
|
1273
1358
|
computeSavingsPlans?: never;
|
|
1274
1359
|
sageMakerSavingsPlans?: never;
|
|
1360
|
+
rdsDbInstance?: never;
|
|
1361
|
+
rdsDbInstanceStorage?: never;
|
|
1275
1362
|
$unknown?: never;
|
|
1276
1363
|
}
|
|
1277
1364
|
/**
|
|
@@ -1292,6 +1379,8 @@ export declare namespace ResourceDetails {
|
|
|
1292
1379
|
ec2InstanceSavingsPlans?: never;
|
|
1293
1380
|
computeSavingsPlans?: never;
|
|
1294
1381
|
sageMakerSavingsPlans?: never;
|
|
1382
|
+
rdsDbInstance?: never;
|
|
1383
|
+
rdsDbInstanceStorage?: never;
|
|
1295
1384
|
$unknown?: never;
|
|
1296
1385
|
}
|
|
1297
1386
|
/**
|
|
@@ -1312,6 +1401,8 @@ export declare namespace ResourceDetails {
|
|
|
1312
1401
|
ec2InstanceSavingsPlans?: never;
|
|
1313
1402
|
computeSavingsPlans?: never;
|
|
1314
1403
|
sageMakerSavingsPlans?: never;
|
|
1404
|
+
rdsDbInstance?: never;
|
|
1405
|
+
rdsDbInstanceStorage?: never;
|
|
1315
1406
|
$unknown?: never;
|
|
1316
1407
|
}
|
|
1317
1408
|
/**
|
|
@@ -1332,6 +1423,8 @@ export declare namespace ResourceDetails {
|
|
|
1332
1423
|
ec2InstanceSavingsPlans?: never;
|
|
1333
1424
|
computeSavingsPlans?: never;
|
|
1334
1425
|
sageMakerSavingsPlans?: never;
|
|
1426
|
+
rdsDbInstance?: never;
|
|
1427
|
+
rdsDbInstanceStorage?: never;
|
|
1335
1428
|
$unknown?: never;
|
|
1336
1429
|
}
|
|
1337
1430
|
/**
|
|
@@ -1352,6 +1445,8 @@ export declare namespace ResourceDetails {
|
|
|
1352
1445
|
ec2InstanceSavingsPlans?: never;
|
|
1353
1446
|
computeSavingsPlans?: never;
|
|
1354
1447
|
sageMakerSavingsPlans?: never;
|
|
1448
|
+
rdsDbInstance?: never;
|
|
1449
|
+
rdsDbInstanceStorage?: never;
|
|
1355
1450
|
$unknown?: never;
|
|
1356
1451
|
}
|
|
1357
1452
|
/**
|
|
@@ -1372,6 +1467,8 @@ export declare namespace ResourceDetails {
|
|
|
1372
1467
|
ec2InstanceSavingsPlans?: never;
|
|
1373
1468
|
computeSavingsPlans?: never;
|
|
1374
1469
|
sageMakerSavingsPlans?: never;
|
|
1470
|
+
rdsDbInstance?: never;
|
|
1471
|
+
rdsDbInstanceStorage?: never;
|
|
1375
1472
|
$unknown?: never;
|
|
1376
1473
|
}
|
|
1377
1474
|
/**
|
|
@@ -1392,6 +1489,8 @@ export declare namespace ResourceDetails {
|
|
|
1392
1489
|
ec2InstanceSavingsPlans?: never;
|
|
1393
1490
|
computeSavingsPlans?: never;
|
|
1394
1491
|
sageMakerSavingsPlans?: never;
|
|
1492
|
+
rdsDbInstance?: never;
|
|
1493
|
+
rdsDbInstanceStorage?: never;
|
|
1395
1494
|
$unknown?: never;
|
|
1396
1495
|
}
|
|
1397
1496
|
/**
|
|
@@ -1412,6 +1511,8 @@ export declare namespace ResourceDetails {
|
|
|
1412
1511
|
ec2InstanceSavingsPlans?: never;
|
|
1413
1512
|
computeSavingsPlans?: never;
|
|
1414
1513
|
sageMakerSavingsPlans?: never;
|
|
1514
|
+
rdsDbInstance?: never;
|
|
1515
|
+
rdsDbInstanceStorage?: never;
|
|
1415
1516
|
$unknown?: never;
|
|
1416
1517
|
}
|
|
1417
1518
|
/**
|
|
@@ -1432,6 +1533,8 @@ export declare namespace ResourceDetails {
|
|
|
1432
1533
|
ec2InstanceSavingsPlans: Ec2InstanceSavingsPlans;
|
|
1433
1534
|
computeSavingsPlans?: never;
|
|
1434
1535
|
sageMakerSavingsPlans?: never;
|
|
1536
|
+
rdsDbInstance?: never;
|
|
1537
|
+
rdsDbInstanceStorage?: never;
|
|
1435
1538
|
$unknown?: never;
|
|
1436
1539
|
}
|
|
1437
1540
|
/**
|
|
@@ -1452,6 +1555,8 @@ export declare namespace ResourceDetails {
|
|
|
1452
1555
|
ec2InstanceSavingsPlans?: never;
|
|
1453
1556
|
computeSavingsPlans: ComputeSavingsPlans;
|
|
1454
1557
|
sageMakerSavingsPlans?: never;
|
|
1558
|
+
rdsDbInstance?: never;
|
|
1559
|
+
rdsDbInstanceStorage?: never;
|
|
1455
1560
|
$unknown?: never;
|
|
1456
1561
|
}
|
|
1457
1562
|
/**
|
|
@@ -1472,6 +1577,52 @@ export declare namespace ResourceDetails {
|
|
|
1472
1577
|
ec2InstanceSavingsPlans?: never;
|
|
1473
1578
|
computeSavingsPlans?: never;
|
|
1474
1579
|
sageMakerSavingsPlans: SageMakerSavingsPlans;
|
|
1580
|
+
rdsDbInstance?: never;
|
|
1581
|
+
rdsDbInstanceStorage?: never;
|
|
1582
|
+
$unknown?: never;
|
|
1583
|
+
}
|
|
1584
|
+
/**
|
|
1585
|
+
* <p>The DB instance recommendation details.</p>
|
|
1586
|
+
* @public
|
|
1587
|
+
*/
|
|
1588
|
+
interface RdsDbInstanceMember {
|
|
1589
|
+
lambdaFunction?: never;
|
|
1590
|
+
ecsService?: never;
|
|
1591
|
+
ec2Instance?: never;
|
|
1592
|
+
ebsVolume?: never;
|
|
1593
|
+
ec2AutoScalingGroup?: never;
|
|
1594
|
+
ec2ReservedInstances?: never;
|
|
1595
|
+
rdsReservedInstances?: never;
|
|
1596
|
+
elastiCacheReservedInstances?: never;
|
|
1597
|
+
openSearchReservedInstances?: never;
|
|
1598
|
+
redshiftReservedInstances?: never;
|
|
1599
|
+
ec2InstanceSavingsPlans?: never;
|
|
1600
|
+
computeSavingsPlans?: never;
|
|
1601
|
+
sageMakerSavingsPlans?: never;
|
|
1602
|
+
rdsDbInstance: RdsDbInstance;
|
|
1603
|
+
rdsDbInstanceStorage?: never;
|
|
1604
|
+
$unknown?: never;
|
|
1605
|
+
}
|
|
1606
|
+
/**
|
|
1607
|
+
* <p>The DB instance storage recommendation details.</p>
|
|
1608
|
+
* @public
|
|
1609
|
+
*/
|
|
1610
|
+
interface RdsDbInstanceStorageMember {
|
|
1611
|
+
lambdaFunction?: never;
|
|
1612
|
+
ecsService?: never;
|
|
1613
|
+
ec2Instance?: never;
|
|
1614
|
+
ebsVolume?: never;
|
|
1615
|
+
ec2AutoScalingGroup?: never;
|
|
1616
|
+
ec2ReservedInstances?: never;
|
|
1617
|
+
rdsReservedInstances?: never;
|
|
1618
|
+
elastiCacheReservedInstances?: never;
|
|
1619
|
+
openSearchReservedInstances?: never;
|
|
1620
|
+
redshiftReservedInstances?: never;
|
|
1621
|
+
ec2InstanceSavingsPlans?: never;
|
|
1622
|
+
computeSavingsPlans?: never;
|
|
1623
|
+
sageMakerSavingsPlans?: never;
|
|
1624
|
+
rdsDbInstance?: never;
|
|
1625
|
+
rdsDbInstanceStorage: RdsDbInstanceStorage;
|
|
1475
1626
|
$unknown?: never;
|
|
1476
1627
|
}
|
|
1477
1628
|
/**
|
|
@@ -1491,6 +1642,8 @@ export declare namespace ResourceDetails {
|
|
|
1491
1642
|
ec2InstanceSavingsPlans?: never;
|
|
1492
1643
|
computeSavingsPlans?: never;
|
|
1493
1644
|
sageMakerSavingsPlans?: never;
|
|
1645
|
+
rdsDbInstance?: never;
|
|
1646
|
+
rdsDbInstanceStorage?: never;
|
|
1494
1647
|
$unknown: [string, any];
|
|
1495
1648
|
}
|
|
1496
1649
|
interface Visitor<T> {
|
|
@@ -1507,6 +1660,8 @@ export declare namespace ResourceDetails {
|
|
|
1507
1660
|
ec2InstanceSavingsPlans: (value: Ec2InstanceSavingsPlans) => T;
|
|
1508
1661
|
computeSavingsPlans: (value: ComputeSavingsPlans) => T;
|
|
1509
1662
|
sageMakerSavingsPlans: (value: SageMakerSavingsPlans) => T;
|
|
1663
|
+
rdsDbInstance: (value: RdsDbInstance) => T;
|
|
1664
|
+
rdsDbInstanceStorage: (value: RdsDbInstanceStorage) => T;
|
|
1510
1665
|
_: (name: string, value: any) => T;
|
|
1511
1666
|
}
|
|
1512
1667
|
const visit: <T>(value: ResourceDetails, visitor: Visitor<T>) => T;
|
|
@@ -1526,6 +1681,8 @@ export declare const ResourceType: {
|
|
|
1526
1681
|
readonly ELASTI_CACHE_RESERVED_INSTANCES: "ElastiCacheReservedInstances";
|
|
1527
1682
|
readonly LAMBDA_FUNCTION: "LambdaFunction";
|
|
1528
1683
|
readonly OPEN_SEARCH_RESERVED_INSTANCES: "OpenSearchReservedInstances";
|
|
1684
|
+
readonly RDS_DB_INSTANCE: "RdsDbInstance";
|
|
1685
|
+
readonly RDS_DB_INSTANCE_STORAGE: "RdsDbInstanceStorage";
|
|
1529
1686
|
readonly RDS_RESERVED_INSTANCES: "RdsReservedInstances";
|
|
1530
1687
|
readonly REDSHIFT_RESERVED_INSTANCES: "RedshiftReservedInstances";
|
|
1531
1688
|
readonly SAGE_MAKER_SAVINGS_PLANS: "SageMakerSavingsPlans";
|
|
@@ -1660,7 +1817,7 @@ export interface GetRecommendationResponse {
|
|
|
1660
1817
|
*/
|
|
1661
1818
|
estimatedMonthlySavings?: number;
|
|
1662
1819
|
/**
|
|
1663
|
-
* <p>The estimated monthly cost of the
|
|
1820
|
+
* <p>The estimated monthly cost of the current resource. For Reserved Instances and Savings Plans, it refers to the cost for eligible usage.</p>
|
|
1664
1821
|
* @public
|
|
1665
1822
|
*/
|
|
1666
1823
|
estimatedMonthlyCost?: number;
|
|
@@ -1937,7 +2094,7 @@ export interface Recommendation {
|
|
|
1937
2094
|
*/
|
|
1938
2095
|
estimatedSavingsPercentage?: number;
|
|
1939
2096
|
/**
|
|
1940
|
-
* <p>The estimated monthly cost
|
|
2097
|
+
* <p>The estimated monthly cost of the current resource. For Reserved Instances and Savings Plans, it refers to the cost for eligible usage.</p>
|
|
1941
2098
|
* @public
|
|
1942
2099
|
*/
|
|
1943
2100
|
estimatedMonthlyCost?: number;
|
|
@@ -256,6 +256,26 @@ export interface OpenSearchReservedInstances {
|
|
|
256
256
|
configuration?: OpenSearchReservedInstancesConfiguration;
|
|
257
257
|
costCalculation?: ReservedInstancesCostCalculation;
|
|
258
258
|
}
|
|
259
|
+
export interface DbInstanceConfiguration {
|
|
260
|
+
dbInstanceClass?: string;
|
|
261
|
+
}
|
|
262
|
+
export interface RdsDbInstanceConfiguration {
|
|
263
|
+
instance?: DbInstanceConfiguration;
|
|
264
|
+
}
|
|
265
|
+
export interface RdsDbInstance {
|
|
266
|
+
configuration?: RdsDbInstanceConfiguration;
|
|
267
|
+
costCalculation?: ResourceCostCalculation;
|
|
268
|
+
}
|
|
269
|
+
export interface RdsDbInstanceStorageConfiguration {
|
|
270
|
+
storageType?: string;
|
|
271
|
+
allocatedStorageInGb?: number;
|
|
272
|
+
iops?: number;
|
|
273
|
+
storageThroughput?: number;
|
|
274
|
+
}
|
|
275
|
+
export interface RdsDbInstanceStorage {
|
|
276
|
+
configuration?: RdsDbInstanceStorageConfiguration;
|
|
277
|
+
costCalculation?: ResourceCostCalculation;
|
|
278
|
+
}
|
|
259
279
|
export interface RdsReservedInstancesConfiguration {
|
|
260
280
|
accountScope?: string;
|
|
261
281
|
service?: string;
|
|
@@ -319,6 +339,8 @@ export type ResourceDetails =
|
|
|
319
339
|
| ResourceDetails.ElastiCacheReservedInstancesMember
|
|
320
340
|
| ResourceDetails.LambdaFunctionMember
|
|
321
341
|
| ResourceDetails.OpenSearchReservedInstancesMember
|
|
342
|
+
| ResourceDetails.RdsDbInstanceMember
|
|
343
|
+
| ResourceDetails.RdsDbInstanceStorageMember
|
|
322
344
|
| ResourceDetails.RdsReservedInstancesMember
|
|
323
345
|
| ResourceDetails.RedshiftReservedInstancesMember
|
|
324
346
|
| ResourceDetails.SageMakerSavingsPlansMember
|
|
@@ -338,6 +360,8 @@ export declare namespace ResourceDetails {
|
|
|
338
360
|
ec2InstanceSavingsPlans?: never;
|
|
339
361
|
computeSavingsPlans?: never;
|
|
340
362
|
sageMakerSavingsPlans?: never;
|
|
363
|
+
rdsDbInstance?: never;
|
|
364
|
+
rdsDbInstanceStorage?: never;
|
|
341
365
|
$unknown?: never;
|
|
342
366
|
}
|
|
343
367
|
interface EcsServiceMember {
|
|
@@ -354,6 +378,8 @@ export declare namespace ResourceDetails {
|
|
|
354
378
|
ec2InstanceSavingsPlans?: never;
|
|
355
379
|
computeSavingsPlans?: never;
|
|
356
380
|
sageMakerSavingsPlans?: never;
|
|
381
|
+
rdsDbInstance?: never;
|
|
382
|
+
rdsDbInstanceStorage?: never;
|
|
357
383
|
$unknown?: never;
|
|
358
384
|
}
|
|
359
385
|
interface Ec2InstanceMember {
|
|
@@ -370,6 +396,8 @@ export declare namespace ResourceDetails {
|
|
|
370
396
|
ec2InstanceSavingsPlans?: never;
|
|
371
397
|
computeSavingsPlans?: never;
|
|
372
398
|
sageMakerSavingsPlans?: never;
|
|
399
|
+
rdsDbInstance?: never;
|
|
400
|
+
rdsDbInstanceStorage?: never;
|
|
373
401
|
$unknown?: never;
|
|
374
402
|
}
|
|
375
403
|
interface EbsVolumeMember {
|
|
@@ -386,6 +414,8 @@ export declare namespace ResourceDetails {
|
|
|
386
414
|
ec2InstanceSavingsPlans?: never;
|
|
387
415
|
computeSavingsPlans?: never;
|
|
388
416
|
sageMakerSavingsPlans?: never;
|
|
417
|
+
rdsDbInstance?: never;
|
|
418
|
+
rdsDbInstanceStorage?: never;
|
|
389
419
|
$unknown?: never;
|
|
390
420
|
}
|
|
391
421
|
interface Ec2AutoScalingGroupMember {
|
|
@@ -402,6 +432,8 @@ export declare namespace ResourceDetails {
|
|
|
402
432
|
ec2InstanceSavingsPlans?: never;
|
|
403
433
|
computeSavingsPlans?: never;
|
|
404
434
|
sageMakerSavingsPlans?: never;
|
|
435
|
+
rdsDbInstance?: never;
|
|
436
|
+
rdsDbInstanceStorage?: never;
|
|
405
437
|
$unknown?: never;
|
|
406
438
|
}
|
|
407
439
|
interface Ec2ReservedInstancesMember {
|
|
@@ -418,6 +450,8 @@ export declare namespace ResourceDetails {
|
|
|
418
450
|
ec2InstanceSavingsPlans?: never;
|
|
419
451
|
computeSavingsPlans?: never;
|
|
420
452
|
sageMakerSavingsPlans?: never;
|
|
453
|
+
rdsDbInstance?: never;
|
|
454
|
+
rdsDbInstanceStorage?: never;
|
|
421
455
|
$unknown?: never;
|
|
422
456
|
}
|
|
423
457
|
interface RdsReservedInstancesMember {
|
|
@@ -434,6 +468,8 @@ export declare namespace ResourceDetails {
|
|
|
434
468
|
ec2InstanceSavingsPlans?: never;
|
|
435
469
|
computeSavingsPlans?: never;
|
|
436
470
|
sageMakerSavingsPlans?: never;
|
|
471
|
+
rdsDbInstance?: never;
|
|
472
|
+
rdsDbInstanceStorage?: never;
|
|
437
473
|
$unknown?: never;
|
|
438
474
|
}
|
|
439
475
|
interface ElastiCacheReservedInstancesMember {
|
|
@@ -450,6 +486,8 @@ export declare namespace ResourceDetails {
|
|
|
450
486
|
ec2InstanceSavingsPlans?: never;
|
|
451
487
|
computeSavingsPlans?: never;
|
|
452
488
|
sageMakerSavingsPlans?: never;
|
|
489
|
+
rdsDbInstance?: never;
|
|
490
|
+
rdsDbInstanceStorage?: never;
|
|
453
491
|
$unknown?: never;
|
|
454
492
|
}
|
|
455
493
|
interface OpenSearchReservedInstancesMember {
|
|
@@ -466,6 +504,8 @@ export declare namespace ResourceDetails {
|
|
|
466
504
|
ec2InstanceSavingsPlans?: never;
|
|
467
505
|
computeSavingsPlans?: never;
|
|
468
506
|
sageMakerSavingsPlans?: never;
|
|
507
|
+
rdsDbInstance?: never;
|
|
508
|
+
rdsDbInstanceStorage?: never;
|
|
469
509
|
$unknown?: never;
|
|
470
510
|
}
|
|
471
511
|
interface RedshiftReservedInstancesMember {
|
|
@@ -482,6 +522,8 @@ export declare namespace ResourceDetails {
|
|
|
482
522
|
ec2InstanceSavingsPlans?: never;
|
|
483
523
|
computeSavingsPlans?: never;
|
|
484
524
|
sageMakerSavingsPlans?: never;
|
|
525
|
+
rdsDbInstance?: never;
|
|
526
|
+
rdsDbInstanceStorage?: never;
|
|
485
527
|
$unknown?: never;
|
|
486
528
|
}
|
|
487
529
|
interface Ec2InstanceSavingsPlansMember {
|
|
@@ -498,6 +540,8 @@ export declare namespace ResourceDetails {
|
|
|
498
540
|
ec2InstanceSavingsPlans: Ec2InstanceSavingsPlans;
|
|
499
541
|
computeSavingsPlans?: never;
|
|
500
542
|
sageMakerSavingsPlans?: never;
|
|
543
|
+
rdsDbInstance?: never;
|
|
544
|
+
rdsDbInstanceStorage?: never;
|
|
501
545
|
$unknown?: never;
|
|
502
546
|
}
|
|
503
547
|
interface ComputeSavingsPlansMember {
|
|
@@ -514,6 +558,8 @@ export declare namespace ResourceDetails {
|
|
|
514
558
|
ec2InstanceSavingsPlans?: never;
|
|
515
559
|
computeSavingsPlans: ComputeSavingsPlans;
|
|
516
560
|
sageMakerSavingsPlans?: never;
|
|
561
|
+
rdsDbInstance?: never;
|
|
562
|
+
rdsDbInstanceStorage?: never;
|
|
517
563
|
$unknown?: never;
|
|
518
564
|
}
|
|
519
565
|
interface SageMakerSavingsPlansMember {
|
|
@@ -530,6 +576,44 @@ export declare namespace ResourceDetails {
|
|
|
530
576
|
ec2InstanceSavingsPlans?: never;
|
|
531
577
|
computeSavingsPlans?: never;
|
|
532
578
|
sageMakerSavingsPlans: SageMakerSavingsPlans;
|
|
579
|
+
rdsDbInstance?: never;
|
|
580
|
+
rdsDbInstanceStorage?: never;
|
|
581
|
+
$unknown?: never;
|
|
582
|
+
}
|
|
583
|
+
interface RdsDbInstanceMember {
|
|
584
|
+
lambdaFunction?: never;
|
|
585
|
+
ecsService?: never;
|
|
586
|
+
ec2Instance?: never;
|
|
587
|
+
ebsVolume?: never;
|
|
588
|
+
ec2AutoScalingGroup?: never;
|
|
589
|
+
ec2ReservedInstances?: never;
|
|
590
|
+
rdsReservedInstances?: never;
|
|
591
|
+
elastiCacheReservedInstances?: never;
|
|
592
|
+
openSearchReservedInstances?: never;
|
|
593
|
+
redshiftReservedInstances?: never;
|
|
594
|
+
ec2InstanceSavingsPlans?: never;
|
|
595
|
+
computeSavingsPlans?: never;
|
|
596
|
+
sageMakerSavingsPlans?: never;
|
|
597
|
+
rdsDbInstance: RdsDbInstance;
|
|
598
|
+
rdsDbInstanceStorage?: never;
|
|
599
|
+
$unknown?: never;
|
|
600
|
+
}
|
|
601
|
+
interface RdsDbInstanceStorageMember {
|
|
602
|
+
lambdaFunction?: never;
|
|
603
|
+
ecsService?: never;
|
|
604
|
+
ec2Instance?: never;
|
|
605
|
+
ebsVolume?: never;
|
|
606
|
+
ec2AutoScalingGroup?: never;
|
|
607
|
+
ec2ReservedInstances?: never;
|
|
608
|
+
rdsReservedInstances?: never;
|
|
609
|
+
elastiCacheReservedInstances?: never;
|
|
610
|
+
openSearchReservedInstances?: never;
|
|
611
|
+
redshiftReservedInstances?: never;
|
|
612
|
+
ec2InstanceSavingsPlans?: never;
|
|
613
|
+
computeSavingsPlans?: never;
|
|
614
|
+
sageMakerSavingsPlans?: never;
|
|
615
|
+
rdsDbInstance?: never;
|
|
616
|
+
rdsDbInstanceStorage: RdsDbInstanceStorage;
|
|
533
617
|
$unknown?: never;
|
|
534
618
|
}
|
|
535
619
|
interface $UnknownMember {
|
|
@@ -546,6 +630,8 @@ export declare namespace ResourceDetails {
|
|
|
546
630
|
ec2InstanceSavingsPlans?: never;
|
|
547
631
|
computeSavingsPlans?: never;
|
|
548
632
|
sageMakerSavingsPlans?: never;
|
|
633
|
+
rdsDbInstance?: never;
|
|
634
|
+
rdsDbInstanceStorage?: never;
|
|
549
635
|
$unknown: [string, any];
|
|
550
636
|
}
|
|
551
637
|
interface Visitor<T> {
|
|
@@ -562,6 +648,8 @@ export declare namespace ResourceDetails {
|
|
|
562
648
|
ec2InstanceSavingsPlans: (value: Ec2InstanceSavingsPlans) => T;
|
|
563
649
|
computeSavingsPlans: (value: ComputeSavingsPlans) => T;
|
|
564
650
|
sageMakerSavingsPlans: (value: SageMakerSavingsPlans) => T;
|
|
651
|
+
rdsDbInstance: (value: RdsDbInstance) => T;
|
|
652
|
+
rdsDbInstanceStorage: (value: RdsDbInstanceStorage) => T;
|
|
565
653
|
_: (name: string, value: any) => T;
|
|
566
654
|
}
|
|
567
655
|
const visit: <T>(value: ResourceDetails, visitor: Visitor<T>) => T;
|
|
@@ -577,6 +665,8 @@ export declare const ResourceType: {
|
|
|
577
665
|
readonly ELASTI_CACHE_RESERVED_INSTANCES: "ElastiCacheReservedInstances";
|
|
578
666
|
readonly LAMBDA_FUNCTION: "LambdaFunction";
|
|
579
667
|
readonly OPEN_SEARCH_RESERVED_INSTANCES: "OpenSearchReservedInstances";
|
|
668
|
+
readonly RDS_DB_INSTANCE: "RdsDbInstance";
|
|
669
|
+
readonly RDS_DB_INSTANCE_STORAGE: "RdsDbInstanceStorage";
|
|
580
670
|
readonly RDS_RESERVED_INSTANCES: "RdsReservedInstances";
|
|
581
671
|
readonly REDSHIFT_RESERVED_INSTANCES: "RedshiftReservedInstances";
|
|
582
672
|
readonly SAGE_MAKER_SAVINGS_PLANS: "SageMakerSavingsPlans";
|
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.606.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",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.606.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.606.0",
|
|
25
25
|
"@aws-sdk/core": "3.598.0",
|
|
26
26
|
"@aws-sdk/credential-provider-node": "3.600.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.598.0",
|