@aws-sdk/client-cost-optimization-hub 3.777.0 → 3.785.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 +28 -0
- package/dist-es/models/models_0.js +6 -0
- package/dist-es/protocols/Aws_json1_0.js +22 -0
- package/dist-types/commands/GetRecommendationCommand.d.ts +106 -42
- 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 +404 -154
- package/dist-types/ts3.4/models/models_0.d.ts +141 -29
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -366,11 +366,16 @@ var ResourceDetails;
|
|
|
366
366
|
if (value.sageMakerSavingsPlans !== void 0) return visitor.sageMakerSavingsPlans(value.sageMakerSavingsPlans);
|
|
367
367
|
if (value.rdsDbInstance !== void 0) return visitor.rdsDbInstance(value.rdsDbInstance);
|
|
368
368
|
if (value.rdsDbInstanceStorage !== void 0) return visitor.rdsDbInstanceStorage(value.rdsDbInstanceStorage);
|
|
369
|
+
if (value.dynamoDbReservedCapacity !== void 0)
|
|
370
|
+
return visitor.dynamoDbReservedCapacity(value.dynamoDbReservedCapacity);
|
|
371
|
+
if (value.memoryDbReservedInstances !== void 0)
|
|
372
|
+
return visitor.memoryDbReservedInstances(value.memoryDbReservedInstances);
|
|
369
373
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
370
374
|
}, "visit");
|
|
371
375
|
})(ResourceDetails || (ResourceDetails = {}));
|
|
372
376
|
var ResourceType = {
|
|
373
377
|
COMPUTE_SAVINGS_PLANS: "ComputeSavingsPlans",
|
|
378
|
+
DYNAMO_DB_RESERVED_CAPACITY: "DynamoDbReservedCapacity",
|
|
374
379
|
EBS_VOLUME: "EbsVolume",
|
|
375
380
|
EC2_AUTO_SCALING_GROUP: "Ec2AutoScalingGroup",
|
|
376
381
|
EC2_INSTANCE: "Ec2Instance",
|
|
@@ -379,6 +384,7 @@ var ResourceType = {
|
|
|
379
384
|
ECS_SERVICE: "EcsService",
|
|
380
385
|
ELASTI_CACHE_RESERVED_INSTANCES: "ElastiCacheReservedInstances",
|
|
381
386
|
LAMBDA_FUNCTION: "LambdaFunction",
|
|
387
|
+
MEMORY_DB_RESERVED_INSTANCES: "MemoryDbReservedInstances",
|
|
382
388
|
OPEN_SEARCH_RESERVED_INSTANCES: "OpenSearchReservedInstances",
|
|
383
389
|
RDS_DB_INSTANCE: "RdsDbInstance",
|
|
384
390
|
RDS_DB_INSTANCE_STORAGE: "RdsDbInstanceStorage",
|
|
@@ -673,6 +679,12 @@ var de_ComputeSavingsPlans = /* @__PURE__ */ __name((output, context) => {
|
|
|
673
679
|
costCalculation: /* @__PURE__ */ __name((_) => de_SavingsPlansCostCalculation(_, context), "costCalculation")
|
|
674
680
|
});
|
|
675
681
|
}, "de_ComputeSavingsPlans");
|
|
682
|
+
var de_DynamoDbReservedCapacity = /* @__PURE__ */ __name((output, context) => {
|
|
683
|
+
return (0, import_smithy_client.take)(output, {
|
|
684
|
+
configuration: import_smithy_client._json,
|
|
685
|
+
costCalculation: /* @__PURE__ */ __name((_) => de_ReservedInstancesCostCalculation(_, context), "costCalculation")
|
|
686
|
+
});
|
|
687
|
+
}, "de_DynamoDbReservedCapacity");
|
|
676
688
|
var de_EbsVolume = /* @__PURE__ */ __name((output, context) => {
|
|
677
689
|
return (0, import_smithy_client.take)(output, {
|
|
678
690
|
configuration: /* @__PURE__ */ __name((_) => de_EbsVolumeConfiguration(_, context), "configuration"),
|
|
@@ -795,6 +807,12 @@ var de_ListRecommendationSummariesResponse = /* @__PURE__ */ __name((output, con
|
|
|
795
807
|
nextToken: import_smithy_client.expectString
|
|
796
808
|
});
|
|
797
809
|
}, "de_ListRecommendationSummariesResponse");
|
|
810
|
+
var de_MemoryDbReservedInstances = /* @__PURE__ */ __name((output, context) => {
|
|
811
|
+
return (0, import_smithy_client.take)(output, {
|
|
812
|
+
configuration: import_smithy_client._json,
|
|
813
|
+
costCalculation: /* @__PURE__ */ __name((_) => de_ReservedInstancesCostCalculation(_, context), "costCalculation")
|
|
814
|
+
});
|
|
815
|
+
}, "de_MemoryDbReservedInstances");
|
|
798
816
|
var de_OpenSearchReservedInstances = /* @__PURE__ */ __name((output, context) => {
|
|
799
817
|
return (0, import_smithy_client.take)(output, {
|
|
800
818
|
configuration: import_smithy_client._json,
|
|
@@ -902,6 +920,11 @@ var de_ResourceDetails = /* @__PURE__ */ __name((output, context) => {
|
|
|
902
920
|
computeSavingsPlans: de_ComputeSavingsPlans(output.computeSavingsPlans, context)
|
|
903
921
|
};
|
|
904
922
|
}
|
|
923
|
+
if (output.dynamoDbReservedCapacity != null) {
|
|
924
|
+
return {
|
|
925
|
+
dynamoDbReservedCapacity: de_DynamoDbReservedCapacity(output.dynamoDbReservedCapacity, context)
|
|
926
|
+
};
|
|
927
|
+
}
|
|
905
928
|
if (output.ebsVolume != null) {
|
|
906
929
|
return {
|
|
907
930
|
ebsVolume: de_EbsVolume(output.ebsVolume, context)
|
|
@@ -942,6 +965,11 @@ var de_ResourceDetails = /* @__PURE__ */ __name((output, context) => {
|
|
|
942
965
|
lambdaFunction: de_LambdaFunction(output.lambdaFunction, context)
|
|
943
966
|
};
|
|
944
967
|
}
|
|
968
|
+
if (output.memoryDbReservedInstances != null) {
|
|
969
|
+
return {
|
|
970
|
+
memoryDbReservedInstances: de_MemoryDbReservedInstances(output.memoryDbReservedInstances, context)
|
|
971
|
+
};
|
|
972
|
+
}
|
|
945
973
|
if (output.openSearchReservedInstances != null) {
|
|
946
974
|
return {
|
|
947
975
|
openSearchReservedInstances: de_OpenSearchReservedInstances(output.openSearchReservedInstances, context)
|
|
@@ -118,11 +118,16 @@ export var ResourceDetails;
|
|
|
118
118
|
return visitor.rdsDbInstance(value.rdsDbInstance);
|
|
119
119
|
if (value.rdsDbInstanceStorage !== undefined)
|
|
120
120
|
return visitor.rdsDbInstanceStorage(value.rdsDbInstanceStorage);
|
|
121
|
+
if (value.dynamoDbReservedCapacity !== undefined)
|
|
122
|
+
return visitor.dynamoDbReservedCapacity(value.dynamoDbReservedCapacity);
|
|
123
|
+
if (value.memoryDbReservedInstances !== undefined)
|
|
124
|
+
return visitor.memoryDbReservedInstances(value.memoryDbReservedInstances);
|
|
121
125
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
122
126
|
};
|
|
123
127
|
})(ResourceDetails || (ResourceDetails = {}));
|
|
124
128
|
export const ResourceType = {
|
|
125
129
|
COMPUTE_SAVINGS_PLANS: "ComputeSavingsPlans",
|
|
130
|
+
DYNAMO_DB_RESERVED_CAPACITY: "DynamoDbReservedCapacity",
|
|
126
131
|
EBS_VOLUME: "EbsVolume",
|
|
127
132
|
EC2_AUTO_SCALING_GROUP: "Ec2AutoScalingGroup",
|
|
128
133
|
EC2_INSTANCE: "Ec2Instance",
|
|
@@ -131,6 +136,7 @@ export const ResourceType = {
|
|
|
131
136
|
ECS_SERVICE: "EcsService",
|
|
132
137
|
ELASTI_CACHE_RESERVED_INSTANCES: "ElastiCacheReservedInstances",
|
|
133
138
|
LAMBDA_FUNCTION: "LambdaFunction",
|
|
139
|
+
MEMORY_DB_RESERVED_INSTANCES: "MemoryDbReservedInstances",
|
|
134
140
|
OPEN_SEARCH_RESERVED_INSTANCES: "OpenSearchReservedInstances",
|
|
135
141
|
RDS_DB_INSTANCE: "RdsDbInstance",
|
|
136
142
|
RDS_DB_INSTANCE_STORAGE: "RdsDbInstanceStorage",
|
|
@@ -248,6 +248,12 @@ const de_ComputeSavingsPlans = (output, context) => {
|
|
|
248
248
|
costCalculation: (_) => de_SavingsPlansCostCalculation(_, context),
|
|
249
249
|
});
|
|
250
250
|
};
|
|
251
|
+
const de_DynamoDbReservedCapacity = (output, context) => {
|
|
252
|
+
return take(output, {
|
|
253
|
+
configuration: _json,
|
|
254
|
+
costCalculation: (_) => de_ReservedInstancesCostCalculation(_, context),
|
|
255
|
+
});
|
|
256
|
+
};
|
|
251
257
|
const de_EbsVolume = (output, context) => {
|
|
252
258
|
return take(output, {
|
|
253
259
|
configuration: (_) => de_EbsVolumeConfiguration(_, context),
|
|
@@ -370,6 +376,12 @@ const de_ListRecommendationSummariesResponse = (output, context) => {
|
|
|
370
376
|
nextToken: __expectString,
|
|
371
377
|
});
|
|
372
378
|
};
|
|
379
|
+
const de_MemoryDbReservedInstances = (output, context) => {
|
|
380
|
+
return take(output, {
|
|
381
|
+
configuration: _json,
|
|
382
|
+
costCalculation: (_) => de_ReservedInstancesCostCalculation(_, context),
|
|
383
|
+
});
|
|
384
|
+
};
|
|
373
385
|
const de_OpenSearchReservedInstances = (output, context) => {
|
|
374
386
|
return take(output, {
|
|
375
387
|
configuration: _json,
|
|
@@ -481,6 +493,11 @@ const de_ResourceDetails = (output, context) => {
|
|
|
481
493
|
computeSavingsPlans: de_ComputeSavingsPlans(output.computeSavingsPlans, context),
|
|
482
494
|
};
|
|
483
495
|
}
|
|
496
|
+
if (output.dynamoDbReservedCapacity != null) {
|
|
497
|
+
return {
|
|
498
|
+
dynamoDbReservedCapacity: de_DynamoDbReservedCapacity(output.dynamoDbReservedCapacity, context),
|
|
499
|
+
};
|
|
500
|
+
}
|
|
484
501
|
if (output.ebsVolume != null) {
|
|
485
502
|
return {
|
|
486
503
|
ebsVolume: de_EbsVolume(output.ebsVolume, context),
|
|
@@ -521,6 +538,11 @@ const de_ResourceDetails = (output, context) => {
|
|
|
521
538
|
lambdaFunction: de_LambdaFunction(output.lambdaFunction, context),
|
|
522
539
|
};
|
|
523
540
|
}
|
|
541
|
+
if (output.memoryDbReservedInstances != null) {
|
|
542
|
+
return {
|
|
543
|
+
memoryDbReservedInstances: de_MemoryDbReservedInstances(output.memoryDbReservedInstances, context),
|
|
544
|
+
};
|
|
545
|
+
}
|
|
524
546
|
if (output.openSearchReservedInstances != null) {
|
|
525
547
|
return {
|
|
526
548
|
openSearchReservedInstances: de_OpenSearchReservedInstances(output.openSearchReservedInstances, 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" || "RdsDbInstanceStorage" || "RdsDbInstance",
|
|
57
|
-
* // recommendedResourceType: "Ec2Instance" || "LambdaFunction" || "EbsVolume" || "EcsService" || "Ec2AutoScalingGroup" || "Ec2InstanceSavingsPlans" || "ComputeSavingsPlans" || "SageMakerSavingsPlans" || "Ec2ReservedInstances" || "RdsReservedInstances" || "OpenSearchReservedInstances" || "RedshiftReservedInstances" || "ElastiCacheReservedInstances" || "RdsDbInstanceStorage" || "RdsDbInstance",
|
|
56
|
+
* // currentResourceType: "Ec2Instance" || "LambdaFunction" || "EbsVolume" || "EcsService" || "Ec2AutoScalingGroup" || "Ec2InstanceSavingsPlans" || "ComputeSavingsPlans" || "SageMakerSavingsPlans" || "Ec2ReservedInstances" || "RdsReservedInstances" || "OpenSearchReservedInstances" || "RedshiftReservedInstances" || "ElastiCacheReservedInstances" || "RdsDbInstanceStorage" || "RdsDbInstance" || "DynamoDbReservedCapacity" || "MemoryDbReservedInstances",
|
|
57
|
+
* // recommendedResourceType: "Ec2Instance" || "LambdaFunction" || "EbsVolume" || "EcsService" || "Ec2AutoScalingGroup" || "Ec2InstanceSavingsPlans" || "ComputeSavingsPlans" || "SageMakerSavingsPlans" || "Ec2ReservedInstances" || "RdsReservedInstances" || "OpenSearchReservedInstances" || "RedshiftReservedInstances" || "ElastiCacheReservedInstances" || "RdsDbInstanceStorage" || "RdsDbInstance" || "DynamoDbReservedCapacity" || "MemoryDbReservedInstances",
|
|
58
58
|
* // region: "STRING_VALUE",
|
|
59
59
|
* // source: "ComputeOptimizer" || "CostExplorer",
|
|
60
60
|
* // lastRefreshTimestamp: new Date("TIMESTAMP"),
|
|
@@ -228,20 +228,20 @@ declare const GetRecommendationCommand_base: {
|
|
|
228
228
|
* // configuration: { // Ec2ReservedInstancesConfiguration
|
|
229
229
|
* // accountScope: "STRING_VALUE",
|
|
230
230
|
* // service: "STRING_VALUE",
|
|
231
|
-
* // normalizedUnitsToPurchase: "STRING_VALUE",
|
|
232
231
|
* // term: "STRING_VALUE",
|
|
233
232
|
* // paymentOption: "STRING_VALUE",
|
|
233
|
+
* // reservedInstancesRegion: "STRING_VALUE",
|
|
234
|
+
* // upfrontCost: "STRING_VALUE",
|
|
235
|
+
* // monthlyRecurringCost: "STRING_VALUE",
|
|
236
|
+
* // normalizedUnitsToPurchase: "STRING_VALUE",
|
|
234
237
|
* // numberOfInstancesToPurchase: "STRING_VALUE",
|
|
235
238
|
* // offeringClass: "STRING_VALUE",
|
|
236
239
|
* // instanceFamily: "STRING_VALUE",
|
|
237
240
|
* // instanceType: "STRING_VALUE",
|
|
238
|
-
* // reservedInstancesRegion: "STRING_VALUE",
|
|
239
241
|
* // currentGeneration: "STRING_VALUE",
|
|
240
242
|
* // platform: "STRING_VALUE",
|
|
241
243
|
* // tenancy: "STRING_VALUE",
|
|
242
244
|
* // sizeFlexEligible: true || false,
|
|
243
|
-
* // upfrontCost: "STRING_VALUE",
|
|
244
|
-
* // monthlyRecurringCost: "STRING_VALUE",
|
|
245
245
|
* // },
|
|
246
246
|
* // costCalculation: { // ReservedInstancesCostCalculation
|
|
247
247
|
* // pricing: { // ReservedInstancesPricing
|
|
@@ -256,17 +256,17 @@ declare const GetRecommendationCommand_base: {
|
|
|
256
256
|
* // configuration: { // RdsReservedInstancesConfiguration
|
|
257
257
|
* // accountScope: "STRING_VALUE",
|
|
258
258
|
* // service: "STRING_VALUE",
|
|
259
|
-
* // normalizedUnitsToPurchase: "STRING_VALUE",
|
|
260
259
|
* // term: "STRING_VALUE",
|
|
261
260
|
* // paymentOption: "STRING_VALUE",
|
|
261
|
+
* // reservedInstancesRegion: "STRING_VALUE",
|
|
262
|
+
* // upfrontCost: "STRING_VALUE",
|
|
263
|
+
* // monthlyRecurringCost: "STRING_VALUE",
|
|
264
|
+
* // normalizedUnitsToPurchase: "STRING_VALUE",
|
|
262
265
|
* // numberOfInstancesToPurchase: "STRING_VALUE",
|
|
263
266
|
* // instanceFamily: "STRING_VALUE",
|
|
264
267
|
* // instanceType: "STRING_VALUE",
|
|
265
|
-
* // reservedInstancesRegion: "STRING_VALUE",
|
|
266
268
|
* // sizeFlexEligible: true || false,
|
|
267
269
|
* // currentGeneration: "STRING_VALUE",
|
|
268
|
-
* // upfrontCost: "STRING_VALUE",
|
|
269
|
-
* // monthlyRecurringCost: "STRING_VALUE",
|
|
270
270
|
* // licenseModel: "STRING_VALUE",
|
|
271
271
|
* // databaseEdition: "STRING_VALUE",
|
|
272
272
|
* // databaseEngine: "STRING_VALUE",
|
|
@@ -285,17 +285,17 @@ declare const GetRecommendationCommand_base: {
|
|
|
285
285
|
* // configuration: { // ElastiCacheReservedInstancesConfiguration
|
|
286
286
|
* // accountScope: "STRING_VALUE",
|
|
287
287
|
* // service: "STRING_VALUE",
|
|
288
|
-
* // normalizedUnitsToPurchase: "STRING_VALUE",
|
|
289
288
|
* // term: "STRING_VALUE",
|
|
290
289
|
* // paymentOption: "STRING_VALUE",
|
|
290
|
+
* // reservedInstancesRegion: "STRING_VALUE",
|
|
291
|
+
* // upfrontCost: "STRING_VALUE",
|
|
292
|
+
* // monthlyRecurringCost: "STRING_VALUE",
|
|
293
|
+
* // normalizedUnitsToPurchase: "STRING_VALUE",
|
|
291
294
|
* // numberOfInstancesToPurchase: "STRING_VALUE",
|
|
292
295
|
* // instanceFamily: "STRING_VALUE",
|
|
293
296
|
* // instanceType: "STRING_VALUE",
|
|
294
|
-
* // reservedInstancesRegion: "STRING_VALUE",
|
|
295
297
|
* // currentGeneration: "STRING_VALUE",
|
|
296
298
|
* // sizeFlexEligible: true || false,
|
|
297
|
-
* // upfrontCost: "STRING_VALUE",
|
|
298
|
-
* // monthlyRecurringCost: "STRING_VALUE",
|
|
299
299
|
* // },
|
|
300
300
|
* // costCalculation: {
|
|
301
301
|
* // pricing: {
|
|
@@ -310,16 +310,16 @@ declare const GetRecommendationCommand_base: {
|
|
|
310
310
|
* // configuration: { // OpenSearchReservedInstancesConfiguration
|
|
311
311
|
* // accountScope: "STRING_VALUE",
|
|
312
312
|
* // service: "STRING_VALUE",
|
|
313
|
-
* // normalizedUnitsToPurchase: "STRING_VALUE",
|
|
314
313
|
* // term: "STRING_VALUE",
|
|
315
314
|
* // paymentOption: "STRING_VALUE",
|
|
315
|
+
* // reservedInstancesRegion: "STRING_VALUE",
|
|
316
|
+
* // upfrontCost: "STRING_VALUE",
|
|
317
|
+
* // monthlyRecurringCost: "STRING_VALUE",
|
|
318
|
+
* // normalizedUnitsToPurchase: "STRING_VALUE",
|
|
316
319
|
* // numberOfInstancesToPurchase: "STRING_VALUE",
|
|
317
320
|
* // instanceType: "STRING_VALUE",
|
|
318
|
-
* // reservedInstancesRegion: "STRING_VALUE",
|
|
319
321
|
* // currentGeneration: "STRING_VALUE",
|
|
320
322
|
* // sizeFlexEligible: true || false,
|
|
321
|
-
* // upfrontCost: "STRING_VALUE",
|
|
322
|
-
* // monthlyRecurringCost: "STRING_VALUE",
|
|
323
323
|
* // },
|
|
324
324
|
* // costCalculation: {
|
|
325
325
|
* // pricing: {
|
|
@@ -334,17 +334,17 @@ declare const GetRecommendationCommand_base: {
|
|
|
334
334
|
* // configuration: { // RedshiftReservedInstancesConfiguration
|
|
335
335
|
* // accountScope: "STRING_VALUE",
|
|
336
336
|
* // service: "STRING_VALUE",
|
|
337
|
-
* // normalizedUnitsToPurchase: "STRING_VALUE",
|
|
338
337
|
* // term: "STRING_VALUE",
|
|
339
338
|
* // paymentOption: "STRING_VALUE",
|
|
339
|
+
* // reservedInstancesRegion: "STRING_VALUE",
|
|
340
|
+
* // upfrontCost: "STRING_VALUE",
|
|
341
|
+
* // monthlyRecurringCost: "STRING_VALUE",
|
|
342
|
+
* // normalizedUnitsToPurchase: "STRING_VALUE",
|
|
340
343
|
* // numberOfInstancesToPurchase: "STRING_VALUE",
|
|
341
344
|
* // instanceFamily: "STRING_VALUE",
|
|
342
345
|
* // instanceType: "STRING_VALUE",
|
|
343
|
-
* // reservedInstancesRegion: "STRING_VALUE",
|
|
344
346
|
* // sizeFlexEligible: true || false,
|
|
345
347
|
* // currentGeneration: "STRING_VALUE",
|
|
346
|
-
* // upfrontCost: "STRING_VALUE",
|
|
347
|
-
* // monthlyRecurringCost: "STRING_VALUE",
|
|
348
348
|
* // },
|
|
349
349
|
* // costCalculation: {
|
|
350
350
|
* // pricing: {
|
|
@@ -422,6 +422,38 @@ declare const GetRecommendationCommand_base: {
|
|
|
422
422
|
* // },
|
|
423
423
|
* // costCalculation: "<ResourceCostCalculation>",
|
|
424
424
|
* // },
|
|
425
|
+
* // dynamoDbReservedCapacity: { // DynamoDbReservedCapacity
|
|
426
|
+
* // configuration: { // DynamoDbReservedCapacityConfiguration
|
|
427
|
+
* // accountScope: "STRING_VALUE",
|
|
428
|
+
* // service: "STRING_VALUE",
|
|
429
|
+
* // term: "STRING_VALUE",
|
|
430
|
+
* // paymentOption: "STRING_VALUE",
|
|
431
|
+
* // reservedInstancesRegion: "STRING_VALUE",
|
|
432
|
+
* // upfrontCost: "STRING_VALUE",
|
|
433
|
+
* // monthlyRecurringCost: "STRING_VALUE",
|
|
434
|
+
* // numberOfCapacityUnitsToPurchase: "STRING_VALUE",
|
|
435
|
+
* // capacityUnits: "STRING_VALUE",
|
|
436
|
+
* // },
|
|
437
|
+
* // costCalculation: "<ReservedInstancesCostCalculation>",
|
|
438
|
+
* // },
|
|
439
|
+
* // memoryDbReservedInstances: { // MemoryDbReservedInstances
|
|
440
|
+
* // configuration: { // MemoryDbReservedInstancesConfiguration
|
|
441
|
+
* // accountScope: "STRING_VALUE",
|
|
442
|
+
* // service: "STRING_VALUE",
|
|
443
|
+
* // term: "STRING_VALUE",
|
|
444
|
+
* // paymentOption: "STRING_VALUE",
|
|
445
|
+
* // reservedInstancesRegion: "STRING_VALUE",
|
|
446
|
+
* // upfrontCost: "STRING_VALUE",
|
|
447
|
+
* // monthlyRecurringCost: "STRING_VALUE",
|
|
448
|
+
* // normalizedUnitsToPurchase: "STRING_VALUE",
|
|
449
|
+
* // numberOfInstancesToPurchase: "STRING_VALUE",
|
|
450
|
+
* // instanceType: "STRING_VALUE",
|
|
451
|
+
* // instanceFamily: "STRING_VALUE",
|
|
452
|
+
* // sizeFlexEligible: true || false,
|
|
453
|
+
* // currentGeneration: "STRING_VALUE",
|
|
454
|
+
* // },
|
|
455
|
+
* // costCalculation: "<ReservedInstancesCostCalculation>",
|
|
456
|
+
* // },
|
|
425
457
|
* // },
|
|
426
458
|
* // recommendedResourceDetails: {// Union: only one key present
|
|
427
459
|
* // lambdaFunction: {
|
|
@@ -487,20 +519,20 @@ declare const GetRecommendationCommand_base: {
|
|
|
487
519
|
* // configuration: {
|
|
488
520
|
* // accountScope: "STRING_VALUE",
|
|
489
521
|
* // service: "STRING_VALUE",
|
|
490
|
-
* // normalizedUnitsToPurchase: "STRING_VALUE",
|
|
491
522
|
* // term: "STRING_VALUE",
|
|
492
523
|
* // paymentOption: "STRING_VALUE",
|
|
524
|
+
* // reservedInstancesRegion: "STRING_VALUE",
|
|
525
|
+
* // upfrontCost: "STRING_VALUE",
|
|
526
|
+
* // monthlyRecurringCost: "STRING_VALUE",
|
|
527
|
+
* // normalizedUnitsToPurchase: "STRING_VALUE",
|
|
493
528
|
* // numberOfInstancesToPurchase: "STRING_VALUE",
|
|
494
529
|
* // offeringClass: "STRING_VALUE",
|
|
495
530
|
* // instanceFamily: "STRING_VALUE",
|
|
496
531
|
* // instanceType: "STRING_VALUE",
|
|
497
|
-
* // reservedInstancesRegion: "STRING_VALUE",
|
|
498
532
|
* // currentGeneration: "STRING_VALUE",
|
|
499
533
|
* // platform: "STRING_VALUE",
|
|
500
534
|
* // tenancy: "STRING_VALUE",
|
|
501
535
|
* // sizeFlexEligible: true || false,
|
|
502
|
-
* // upfrontCost: "STRING_VALUE",
|
|
503
|
-
* // monthlyRecurringCost: "STRING_VALUE",
|
|
504
536
|
* // },
|
|
505
537
|
* // costCalculation: "<ReservedInstancesCostCalculation>",
|
|
506
538
|
* // },
|
|
@@ -508,17 +540,17 @@ declare const GetRecommendationCommand_base: {
|
|
|
508
540
|
* // configuration: {
|
|
509
541
|
* // accountScope: "STRING_VALUE",
|
|
510
542
|
* // service: "STRING_VALUE",
|
|
511
|
-
* // normalizedUnitsToPurchase: "STRING_VALUE",
|
|
512
543
|
* // term: "STRING_VALUE",
|
|
513
544
|
* // paymentOption: "STRING_VALUE",
|
|
545
|
+
* // reservedInstancesRegion: "STRING_VALUE",
|
|
546
|
+
* // upfrontCost: "STRING_VALUE",
|
|
547
|
+
* // monthlyRecurringCost: "STRING_VALUE",
|
|
548
|
+
* // normalizedUnitsToPurchase: "STRING_VALUE",
|
|
514
549
|
* // numberOfInstancesToPurchase: "STRING_VALUE",
|
|
515
550
|
* // instanceFamily: "STRING_VALUE",
|
|
516
551
|
* // instanceType: "STRING_VALUE",
|
|
517
|
-
* // reservedInstancesRegion: "STRING_VALUE",
|
|
518
552
|
* // sizeFlexEligible: true || false,
|
|
519
553
|
* // currentGeneration: "STRING_VALUE",
|
|
520
|
-
* // upfrontCost: "STRING_VALUE",
|
|
521
|
-
* // monthlyRecurringCost: "STRING_VALUE",
|
|
522
554
|
* // licenseModel: "STRING_VALUE",
|
|
523
555
|
* // databaseEdition: "STRING_VALUE",
|
|
524
556
|
* // databaseEngine: "STRING_VALUE",
|
|
@@ -530,17 +562,17 @@ declare const GetRecommendationCommand_base: {
|
|
|
530
562
|
* // configuration: {
|
|
531
563
|
* // accountScope: "STRING_VALUE",
|
|
532
564
|
* // service: "STRING_VALUE",
|
|
533
|
-
* // normalizedUnitsToPurchase: "STRING_VALUE",
|
|
534
565
|
* // term: "STRING_VALUE",
|
|
535
566
|
* // paymentOption: "STRING_VALUE",
|
|
567
|
+
* // reservedInstancesRegion: "STRING_VALUE",
|
|
568
|
+
* // upfrontCost: "STRING_VALUE",
|
|
569
|
+
* // monthlyRecurringCost: "STRING_VALUE",
|
|
570
|
+
* // normalizedUnitsToPurchase: "STRING_VALUE",
|
|
536
571
|
* // numberOfInstancesToPurchase: "STRING_VALUE",
|
|
537
572
|
* // instanceFamily: "STRING_VALUE",
|
|
538
573
|
* // instanceType: "STRING_VALUE",
|
|
539
|
-
* // reservedInstancesRegion: "STRING_VALUE",
|
|
540
574
|
* // currentGeneration: "STRING_VALUE",
|
|
541
575
|
* // sizeFlexEligible: true || false,
|
|
542
|
-
* // upfrontCost: "STRING_VALUE",
|
|
543
|
-
* // monthlyRecurringCost: "STRING_VALUE",
|
|
544
576
|
* // },
|
|
545
577
|
* // costCalculation: "<ReservedInstancesCostCalculation>",
|
|
546
578
|
* // },
|
|
@@ -548,16 +580,16 @@ declare const GetRecommendationCommand_base: {
|
|
|
548
580
|
* // configuration: {
|
|
549
581
|
* // accountScope: "STRING_VALUE",
|
|
550
582
|
* // service: "STRING_VALUE",
|
|
551
|
-
* // normalizedUnitsToPurchase: "STRING_VALUE",
|
|
552
583
|
* // term: "STRING_VALUE",
|
|
553
584
|
* // paymentOption: "STRING_VALUE",
|
|
585
|
+
* // reservedInstancesRegion: "STRING_VALUE",
|
|
586
|
+
* // upfrontCost: "STRING_VALUE",
|
|
587
|
+
* // monthlyRecurringCost: "STRING_VALUE",
|
|
588
|
+
* // normalizedUnitsToPurchase: "STRING_VALUE",
|
|
554
589
|
* // numberOfInstancesToPurchase: "STRING_VALUE",
|
|
555
590
|
* // instanceType: "STRING_VALUE",
|
|
556
|
-
* // reservedInstancesRegion: "STRING_VALUE",
|
|
557
591
|
* // currentGeneration: "STRING_VALUE",
|
|
558
592
|
* // sizeFlexEligible: true || false,
|
|
559
|
-
* // upfrontCost: "STRING_VALUE",
|
|
560
|
-
* // monthlyRecurringCost: "STRING_VALUE",
|
|
561
593
|
* // },
|
|
562
594
|
* // costCalculation: "<ReservedInstancesCostCalculation>",
|
|
563
595
|
* // },
|
|
@@ -565,17 +597,17 @@ declare const GetRecommendationCommand_base: {
|
|
|
565
597
|
* // configuration: {
|
|
566
598
|
* // accountScope: "STRING_VALUE",
|
|
567
599
|
* // service: "STRING_VALUE",
|
|
568
|
-
* // normalizedUnitsToPurchase: "STRING_VALUE",
|
|
569
600
|
* // term: "STRING_VALUE",
|
|
570
601
|
* // paymentOption: "STRING_VALUE",
|
|
602
|
+
* // reservedInstancesRegion: "STRING_VALUE",
|
|
603
|
+
* // upfrontCost: "STRING_VALUE",
|
|
604
|
+
* // monthlyRecurringCost: "STRING_VALUE",
|
|
605
|
+
* // normalizedUnitsToPurchase: "STRING_VALUE",
|
|
571
606
|
* // numberOfInstancesToPurchase: "STRING_VALUE",
|
|
572
607
|
* // instanceFamily: "STRING_VALUE",
|
|
573
608
|
* // instanceType: "STRING_VALUE",
|
|
574
|
-
* // reservedInstancesRegion: "STRING_VALUE",
|
|
575
609
|
* // sizeFlexEligible: true || false,
|
|
576
610
|
* // currentGeneration: "STRING_VALUE",
|
|
577
|
-
* // upfrontCost: "STRING_VALUE",
|
|
578
|
-
* // monthlyRecurringCost: "STRING_VALUE",
|
|
579
611
|
* // },
|
|
580
612
|
* // costCalculation: "<ReservedInstancesCostCalculation>",
|
|
581
613
|
* // },
|
|
@@ -639,6 +671,38 @@ declare const GetRecommendationCommand_base: {
|
|
|
639
671
|
* // },
|
|
640
672
|
* // costCalculation: "<ResourceCostCalculation>",
|
|
641
673
|
* // },
|
|
674
|
+
* // dynamoDbReservedCapacity: {
|
|
675
|
+
* // configuration: {
|
|
676
|
+
* // accountScope: "STRING_VALUE",
|
|
677
|
+
* // service: "STRING_VALUE",
|
|
678
|
+
* // term: "STRING_VALUE",
|
|
679
|
+
* // paymentOption: "STRING_VALUE",
|
|
680
|
+
* // reservedInstancesRegion: "STRING_VALUE",
|
|
681
|
+
* // upfrontCost: "STRING_VALUE",
|
|
682
|
+
* // monthlyRecurringCost: "STRING_VALUE",
|
|
683
|
+
* // numberOfCapacityUnitsToPurchase: "STRING_VALUE",
|
|
684
|
+
* // capacityUnits: "STRING_VALUE",
|
|
685
|
+
* // },
|
|
686
|
+
* // costCalculation: "<ReservedInstancesCostCalculation>",
|
|
687
|
+
* // },
|
|
688
|
+
* // memoryDbReservedInstances: {
|
|
689
|
+
* // configuration: {
|
|
690
|
+
* // accountScope: "STRING_VALUE",
|
|
691
|
+
* // service: "STRING_VALUE",
|
|
692
|
+
* // term: "STRING_VALUE",
|
|
693
|
+
* // paymentOption: "STRING_VALUE",
|
|
694
|
+
* // reservedInstancesRegion: "STRING_VALUE",
|
|
695
|
+
* // upfrontCost: "STRING_VALUE",
|
|
696
|
+
* // monthlyRecurringCost: "STRING_VALUE",
|
|
697
|
+
* // normalizedUnitsToPurchase: "STRING_VALUE",
|
|
698
|
+
* // numberOfInstancesToPurchase: "STRING_VALUE",
|
|
699
|
+
* // instanceType: "STRING_VALUE",
|
|
700
|
+
* // instanceFamily: "STRING_VALUE",
|
|
701
|
+
* // sizeFlexEligible: true || false,
|
|
702
|
+
* // currentGeneration: "STRING_VALUE",
|
|
703
|
+
* // },
|
|
704
|
+
* // costCalculation: "<ReservedInstancesCostCalculation>",
|
|
705
|
+
* // },
|
|
642
706
|
* // },
|
|
643
707
|
* // tags: [ // TagList
|
|
644
708
|
* // { // 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" || "RdsDbInstanceStorage" || "RdsDbInstance",
|
|
56
|
+
* "Ec2Instance" || "LambdaFunction" || "EbsVolume" || "EcsService" || "Ec2AutoScalingGroup" || "Ec2InstanceSavingsPlans" || "ComputeSavingsPlans" || "SageMakerSavingsPlans" || "Ec2ReservedInstances" || "RdsReservedInstances" || "OpenSearchReservedInstances" || "RedshiftReservedInstances" || "ElastiCacheReservedInstances" || "RdsDbInstanceStorage" || "RdsDbInstance" || "DynamoDbReservedCapacity" || "MemoryDbReservedInstances",
|
|
57
57
|
* ],
|
|
58
58
|
* actionTypes: [ // ActionTypeList
|
|
59
59
|
* "Rightsize" || "Stop" || "Upgrade" || "PurchaseSavingsPlans" || "PurchaseReservedInstances" || "MigrateToGraviton" || "Delete" || "ScaleIn",
|
|
@@ -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" || "RdsDbInstanceStorage" || "RdsDbInstance",
|
|
51
|
+
* "Ec2Instance" || "LambdaFunction" || "EbsVolume" || "EcsService" || "Ec2AutoScalingGroup" || "Ec2InstanceSavingsPlans" || "ComputeSavingsPlans" || "SageMakerSavingsPlans" || "Ec2ReservedInstances" || "RdsReservedInstances" || "OpenSearchReservedInstances" || "RedshiftReservedInstances" || "ElastiCacheReservedInstances" || "RdsDbInstanceStorage" || "RdsDbInstance" || "DynamoDbReservedCapacity" || "MemoryDbReservedInstances",
|
|
52
52
|
* ],
|
|
53
53
|
* actionTypes: [ // ActionTypeList
|
|
54
54
|
* "Rightsize" || "Stop" || "Upgrade" || "PurchaseSavingsPlans" || "PurchaseReservedInstances" || "MigrateToGraviton" || "Delete" || "ScaleIn",
|