@aws-sdk/client-cost-optimization-hub 3.819.0 → 3.822.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 +13 -0
- package/dist-es/models/models_0.js +3 -0
- package/dist-es/protocols/Aws_json1_0.js +11 -0
- package/dist-types/commands/GetRecommendationCommand.d.ts +14 -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 +167 -95
- package/dist-types/ts3.4/models/models_0.d.ts +71 -22
- package/package.json +33 -33
package/dist-cjs/index.js
CHANGED
|
@@ -377,6 +377,7 @@ var ResourceDetails;
|
|
|
377
377
|
if (value.sageMakerSavingsPlans !== void 0) return visitor.sageMakerSavingsPlans(value.sageMakerSavingsPlans);
|
|
378
378
|
if (value.rdsDbInstance !== void 0) return visitor.rdsDbInstance(value.rdsDbInstance);
|
|
379
379
|
if (value.rdsDbInstanceStorage !== void 0) return visitor.rdsDbInstanceStorage(value.rdsDbInstanceStorage);
|
|
380
|
+
if (value.auroraDbClusterStorage !== void 0) return visitor.auroraDbClusterStorage(value.auroraDbClusterStorage);
|
|
380
381
|
if (value.dynamoDbReservedCapacity !== void 0)
|
|
381
382
|
return visitor.dynamoDbReservedCapacity(value.dynamoDbReservedCapacity);
|
|
382
383
|
if (value.memoryDbReservedInstances !== void 0)
|
|
@@ -385,6 +386,7 @@ var ResourceDetails;
|
|
|
385
386
|
}, "visit");
|
|
386
387
|
})(ResourceDetails || (ResourceDetails = {}));
|
|
387
388
|
var ResourceType = {
|
|
389
|
+
AURORA_DB_CLUSTER_STORAGE: "AuroraDbClusterStorage",
|
|
388
390
|
COMPUTE_SAVINGS_PLANS: "ComputeSavingsPlans",
|
|
389
391
|
DYNAMO_DB_RESERVED_CAPACITY: "DynamoDbReservedCapacity",
|
|
390
392
|
EBS_VOLUME: "EbsVolume",
|
|
@@ -670,6 +672,12 @@ var de_AccountEnrollmentStatuses = /* @__PURE__ */ __name((output, context) => {
|
|
|
670
672
|
});
|
|
671
673
|
return retVal;
|
|
672
674
|
}, "de_AccountEnrollmentStatuses");
|
|
675
|
+
var de_AuroraDbClusterStorage = /* @__PURE__ */ __name((output, context) => {
|
|
676
|
+
return (0, import_smithy_client.take)(output, {
|
|
677
|
+
configuration: import_smithy_client._json,
|
|
678
|
+
costCalculation: /* @__PURE__ */ __name((_) => de_ResourceCostCalculation(_, context), "costCalculation")
|
|
679
|
+
});
|
|
680
|
+
}, "de_AuroraDbClusterStorage");
|
|
673
681
|
var de_BlockStoragePerformanceConfiguration = /* @__PURE__ */ __name((output, context) => {
|
|
674
682
|
return (0, import_smithy_client.take)(output, {
|
|
675
683
|
iops: import_smithy_client.limitedParseDouble,
|
|
@@ -926,6 +934,11 @@ var de_ResourceCostCalculation = /* @__PURE__ */ __name((output, context) => {
|
|
|
926
934
|
});
|
|
927
935
|
}, "de_ResourceCostCalculation");
|
|
928
936
|
var de_ResourceDetails = /* @__PURE__ */ __name((output, context) => {
|
|
937
|
+
if (output.auroraDbClusterStorage != null) {
|
|
938
|
+
return {
|
|
939
|
+
auroraDbClusterStorage: de_AuroraDbClusterStorage(output.auroraDbClusterStorage, context)
|
|
940
|
+
};
|
|
941
|
+
}
|
|
929
942
|
if (output.computeSavingsPlans != null) {
|
|
930
943
|
return {
|
|
931
944
|
computeSavingsPlans: de_ComputeSavingsPlans(output.computeSavingsPlans, context)
|
|
@@ -127,6 +127,8 @@ export var ResourceDetails;
|
|
|
127
127
|
return visitor.rdsDbInstance(value.rdsDbInstance);
|
|
128
128
|
if (value.rdsDbInstanceStorage !== undefined)
|
|
129
129
|
return visitor.rdsDbInstanceStorage(value.rdsDbInstanceStorage);
|
|
130
|
+
if (value.auroraDbClusterStorage !== undefined)
|
|
131
|
+
return visitor.auroraDbClusterStorage(value.auroraDbClusterStorage);
|
|
130
132
|
if (value.dynamoDbReservedCapacity !== undefined)
|
|
131
133
|
return visitor.dynamoDbReservedCapacity(value.dynamoDbReservedCapacity);
|
|
132
134
|
if (value.memoryDbReservedInstances !== undefined)
|
|
@@ -135,6 +137,7 @@ export var ResourceDetails;
|
|
|
135
137
|
};
|
|
136
138
|
})(ResourceDetails || (ResourceDetails = {}));
|
|
137
139
|
export const ResourceType = {
|
|
140
|
+
AURORA_DB_CLUSTER_STORAGE: "AuroraDbClusterStorage",
|
|
138
141
|
COMPUTE_SAVINGS_PLANS: "ComputeSavingsPlans",
|
|
139
142
|
DYNAMO_DB_RESERVED_CAPACITY: "DynamoDbReservedCapacity",
|
|
140
143
|
EBS_VOLUME: "EbsVolume",
|
|
@@ -228,6 +228,12 @@ const de_AccountEnrollmentStatuses = (output, context) => {
|
|
|
228
228
|
});
|
|
229
229
|
return retVal;
|
|
230
230
|
};
|
|
231
|
+
const de_AuroraDbClusterStorage = (output, context) => {
|
|
232
|
+
return take(output, {
|
|
233
|
+
configuration: _json,
|
|
234
|
+
costCalculation: (_) => de_ResourceCostCalculation(_, context),
|
|
235
|
+
});
|
|
236
|
+
};
|
|
231
237
|
const de_BlockStoragePerformanceConfiguration = (output, context) => {
|
|
232
238
|
return take(output, {
|
|
233
239
|
iops: __limitedParseDouble,
|
|
@@ -488,6 +494,11 @@ const de_ResourceCostCalculation = (output, context) => {
|
|
|
488
494
|
});
|
|
489
495
|
};
|
|
490
496
|
const de_ResourceDetails = (output, context) => {
|
|
497
|
+
if (output.auroraDbClusterStorage != null) {
|
|
498
|
+
return {
|
|
499
|
+
auroraDbClusterStorage: de_AuroraDbClusterStorage(output.auroraDbClusterStorage, context),
|
|
500
|
+
};
|
|
501
|
+
}
|
|
491
502
|
if (output.computeSavingsPlans != null) {
|
|
492
503
|
return {
|
|
493
504
|
computeSavingsPlans: de_ComputeSavingsPlans(output.computeSavingsPlans, context),
|
|
@@ -49,8 +49,8 @@ declare const GetRecommendationCommand_base: {
|
|
|
49
49
|
* // costCalculationLookbackPeriodInDays: Number("int"),
|
|
50
50
|
* // estimatedSavingsPercentage: Number("double"),
|
|
51
51
|
* // estimatedSavingsOverCostCalculationLookbackPeriod: Number("double"),
|
|
52
|
-
* // currentResourceType: "Ec2Instance" || "LambdaFunction" || "EbsVolume" || "EcsService" || "Ec2AutoScalingGroup" || "Ec2InstanceSavingsPlans" || "ComputeSavingsPlans" || "SageMakerSavingsPlans" || "Ec2ReservedInstances" || "RdsReservedInstances" || "OpenSearchReservedInstances" || "RedshiftReservedInstances" || "ElastiCacheReservedInstances" || "RdsDbInstanceStorage" || "RdsDbInstance" || "DynamoDbReservedCapacity" || "MemoryDbReservedInstances",
|
|
53
|
-
* // recommendedResourceType: "Ec2Instance" || "LambdaFunction" || "EbsVolume" || "EcsService" || "Ec2AutoScalingGroup" || "Ec2InstanceSavingsPlans" || "ComputeSavingsPlans" || "SageMakerSavingsPlans" || "Ec2ReservedInstances" || "RdsReservedInstances" || "OpenSearchReservedInstances" || "RedshiftReservedInstances" || "ElastiCacheReservedInstances" || "RdsDbInstanceStorage" || "RdsDbInstance" || "DynamoDbReservedCapacity" || "MemoryDbReservedInstances",
|
|
52
|
+
* // currentResourceType: "Ec2Instance" || "LambdaFunction" || "EbsVolume" || "EcsService" || "Ec2AutoScalingGroup" || "Ec2InstanceSavingsPlans" || "ComputeSavingsPlans" || "SageMakerSavingsPlans" || "Ec2ReservedInstances" || "RdsReservedInstances" || "OpenSearchReservedInstances" || "RedshiftReservedInstances" || "ElastiCacheReservedInstances" || "RdsDbInstanceStorage" || "RdsDbInstance" || "AuroraDbClusterStorage" || "DynamoDbReservedCapacity" || "MemoryDbReservedInstances",
|
|
53
|
+
* // recommendedResourceType: "Ec2Instance" || "LambdaFunction" || "EbsVolume" || "EcsService" || "Ec2AutoScalingGroup" || "Ec2InstanceSavingsPlans" || "ComputeSavingsPlans" || "SageMakerSavingsPlans" || "Ec2ReservedInstances" || "RdsReservedInstances" || "OpenSearchReservedInstances" || "RedshiftReservedInstances" || "ElastiCacheReservedInstances" || "RdsDbInstanceStorage" || "RdsDbInstance" || "AuroraDbClusterStorage" || "DynamoDbReservedCapacity" || "MemoryDbReservedInstances",
|
|
54
54
|
* // region: "STRING_VALUE",
|
|
55
55
|
* // source: "ComputeOptimizer" || "CostExplorer",
|
|
56
56
|
* // lastRefreshTimestamp: new Date("TIMESTAMP"),
|
|
@@ -418,6 +418,12 @@ declare const GetRecommendationCommand_base: {
|
|
|
418
418
|
* // },
|
|
419
419
|
* // costCalculation: "<ResourceCostCalculation>",
|
|
420
420
|
* // },
|
|
421
|
+
* // auroraDbClusterStorage: { // AuroraDbClusterStorage
|
|
422
|
+
* // configuration: { // AuroraDbClusterStorageConfiguration
|
|
423
|
+
* // storageType: "STRING_VALUE",
|
|
424
|
+
* // },
|
|
425
|
+
* // costCalculation: "<ResourceCostCalculation>",
|
|
426
|
+
* // },
|
|
421
427
|
* // dynamoDbReservedCapacity: { // DynamoDbReservedCapacity
|
|
422
428
|
* // configuration: { // DynamoDbReservedCapacityConfiguration
|
|
423
429
|
* // accountScope: "STRING_VALUE",
|
|
@@ -667,6 +673,12 @@ declare const GetRecommendationCommand_base: {
|
|
|
667
673
|
* // },
|
|
668
674
|
* // costCalculation: "<ResourceCostCalculation>",
|
|
669
675
|
* // },
|
|
676
|
+
* // auroraDbClusterStorage: {
|
|
677
|
+
* // configuration: {
|
|
678
|
+
* // storageType: "STRING_VALUE",
|
|
679
|
+
* // },
|
|
680
|
+
* // costCalculation: "<ResourceCostCalculation>",
|
|
681
|
+
* // },
|
|
670
682
|
* // dynamoDbReservedCapacity: {
|
|
671
683
|
* // configuration: {
|
|
672
684
|
* // accountScope: "STRING_VALUE",
|
|
@@ -48,7 +48,7 @@ declare const ListRecommendationSummariesCommand_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" || "DynamoDbReservedCapacity" || "MemoryDbReservedInstances",
|
|
51
|
+
* "Ec2Instance" || "LambdaFunction" || "EbsVolume" || "EcsService" || "Ec2AutoScalingGroup" || "Ec2InstanceSavingsPlans" || "ComputeSavingsPlans" || "SageMakerSavingsPlans" || "Ec2ReservedInstances" || "RdsReservedInstances" || "OpenSearchReservedInstances" || "RedshiftReservedInstances" || "ElastiCacheReservedInstances" || "RdsDbInstanceStorage" || "RdsDbInstance" || "AuroraDbClusterStorage" || "DynamoDbReservedCapacity" || "MemoryDbReservedInstances",
|
|
52
52
|
* ],
|
|
53
53
|
* actionTypes: [ // ActionTypeList
|
|
54
54
|
* "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" || "DynamoDbReservedCapacity" || "MemoryDbReservedInstances",
|
|
51
|
+
* "Ec2Instance" || "LambdaFunction" || "EbsVolume" || "EcsService" || "Ec2AutoScalingGroup" || "Ec2InstanceSavingsPlans" || "ComputeSavingsPlans" || "SageMakerSavingsPlans" || "Ec2ReservedInstances" || "RdsReservedInstances" || "OpenSearchReservedInstances" || "RedshiftReservedInstances" || "ElastiCacheReservedInstances" || "RdsDbInstanceStorage" || "RdsDbInstance" || "AuroraDbClusterStorage" || "DynamoDbReservedCapacity" || "MemoryDbReservedInstances",
|
|
52
52
|
* ],
|
|
53
53
|
* actionTypes: [ // ActionTypeList
|
|
54
54
|
* "Rightsize" || "Stop" || "Upgrade" || "PurchaseSavingsPlans" || "PurchaseReservedInstances" || "MigrateToGraviton" || "Delete" || "ScaleIn",
|
|
@@ -80,6 +80,127 @@ export declare const AllocationStrategy: {
|
|
|
80
80
|
* @public
|
|
81
81
|
*/
|
|
82
82
|
export type AllocationStrategy = (typeof AllocationStrategy)[keyof typeof AllocationStrategy];
|
|
83
|
+
/**
|
|
84
|
+
* <p>The Aurora DB cluster storage configuration used for recommendations.</p>
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
export interface AuroraDbClusterStorageConfiguration {
|
|
88
|
+
/**
|
|
89
|
+
* <p>The storage type to associate with the Aurora DB cluster.</p>
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
storageType?: string | undefined;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* <p>Estimated discount details of the current and recommended resource configuration for a recommendation.</p>
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
export interface EstimatedDiscounts {
|
|
99
|
+
/**
|
|
100
|
+
* <p>Estimated Savings Plans discounts.</p>
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
savingsPlansDiscount?: number | undefined;
|
|
104
|
+
/**
|
|
105
|
+
* <p>Estimated reserved instance discounts.</p>
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
reservedInstancesDiscount?: number | undefined;
|
|
109
|
+
/**
|
|
110
|
+
* <p>Estimated other discounts include all discounts that are not itemized. Itemized discounts include <code>reservedInstanceDiscount</code> and <code>savingsPlansDiscount</code>.</p>
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
otherDiscount?: number | undefined;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* <p>Contains pricing information about the specified resource.</p>
|
|
117
|
+
* @public
|
|
118
|
+
*/
|
|
119
|
+
export interface ResourcePricing {
|
|
120
|
+
/**
|
|
121
|
+
* <p>The savings estimate using Amazon Web Services public pricing without incorporating any discounts.</p>
|
|
122
|
+
* @public
|
|
123
|
+
*/
|
|
124
|
+
estimatedCostBeforeDiscounts?: number | undefined;
|
|
125
|
+
/**
|
|
126
|
+
* <p>The estimated net unused amortized commitment for the recommendation.</p>
|
|
127
|
+
* @public
|
|
128
|
+
*/
|
|
129
|
+
estimatedNetUnusedAmortizedCommitments?: number | undefined;
|
|
130
|
+
/**
|
|
131
|
+
* <p>The estimated discounts for a recommendation.</p>
|
|
132
|
+
* @public
|
|
133
|
+
*/
|
|
134
|
+
estimatedDiscounts?: EstimatedDiscounts | undefined;
|
|
135
|
+
/**
|
|
136
|
+
* <p>The savings estimate incorporating all discounts with Amazon Web Services, such as Reserved Instances and Savings Plans.</p>
|
|
137
|
+
* @public
|
|
138
|
+
*/
|
|
139
|
+
estimatedCostAfterDiscounts?: number | undefined;
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* <p>Details about the usage.</p>
|
|
143
|
+
* @public
|
|
144
|
+
*/
|
|
145
|
+
export interface Usage {
|
|
146
|
+
/**
|
|
147
|
+
* <p>The usage type.</p>
|
|
148
|
+
* @public
|
|
149
|
+
*/
|
|
150
|
+
usageType?: string | undefined;
|
|
151
|
+
/**
|
|
152
|
+
* <p>The usage amount.</p>
|
|
153
|
+
* @public
|
|
154
|
+
*/
|
|
155
|
+
usageAmount?: number | undefined;
|
|
156
|
+
/**
|
|
157
|
+
* <p>The operation value.</p>
|
|
158
|
+
* @public
|
|
159
|
+
*/
|
|
160
|
+
operation?: string | undefined;
|
|
161
|
+
/**
|
|
162
|
+
* <p>The product code.</p>
|
|
163
|
+
* @public
|
|
164
|
+
*/
|
|
165
|
+
productCode?: string | undefined;
|
|
166
|
+
/**
|
|
167
|
+
* <p>The usage unit.</p>
|
|
168
|
+
* @public
|
|
169
|
+
*/
|
|
170
|
+
unit?: string | undefined;
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* <p>Cost impact of the resource recommendation.</p>
|
|
174
|
+
* @public
|
|
175
|
+
*/
|
|
176
|
+
export interface ResourceCostCalculation {
|
|
177
|
+
/**
|
|
178
|
+
* <p>Usage details of the resource recommendation.</p>
|
|
179
|
+
* @public
|
|
180
|
+
*/
|
|
181
|
+
usages?: Usage[] | undefined;
|
|
182
|
+
/**
|
|
183
|
+
* <p>Pricing details of the resource recommendation.</p>
|
|
184
|
+
* @public
|
|
185
|
+
*/
|
|
186
|
+
pricing?: ResourcePricing | undefined;
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* <p>Contains the details of an Aurora DB cluster storage.</p>
|
|
190
|
+
* @public
|
|
191
|
+
*/
|
|
192
|
+
export interface AuroraDbClusterStorage {
|
|
193
|
+
/**
|
|
194
|
+
* <p>The Aurora DB cluster storage configuration used for recommendations.</p>
|
|
195
|
+
* @public
|
|
196
|
+
*/
|
|
197
|
+
configuration?: AuroraDbClusterStorageConfiguration | undefined;
|
|
198
|
+
/**
|
|
199
|
+
* <p>Cost impact of the resource recommendation.</p>
|
|
200
|
+
* @public
|
|
201
|
+
*/
|
|
202
|
+
costCalculation?: ResourceCostCalculation | undefined;
|
|
203
|
+
}
|
|
83
204
|
/**
|
|
84
205
|
* <p>Describes the Amazon Elastic Block Store performance configuration of the current and recommended resource configuration for a recommendation.</p>
|
|
85
206
|
* @public
|
|
@@ -516,100 +637,6 @@ export interface EbsVolumeConfiguration {
|
|
|
516
637
|
*/
|
|
517
638
|
attachmentState?: string | undefined;
|
|
518
639
|
}
|
|
519
|
-
/**
|
|
520
|
-
* <p>Estimated discount details of the current and recommended resource configuration for a recommendation.</p>
|
|
521
|
-
* @public
|
|
522
|
-
*/
|
|
523
|
-
export interface EstimatedDiscounts {
|
|
524
|
-
/**
|
|
525
|
-
* <p>Estimated Savings Plans discounts.</p>
|
|
526
|
-
* @public
|
|
527
|
-
*/
|
|
528
|
-
savingsPlansDiscount?: number | undefined;
|
|
529
|
-
/**
|
|
530
|
-
* <p>Estimated reserved instance discounts.</p>
|
|
531
|
-
* @public
|
|
532
|
-
*/
|
|
533
|
-
reservedInstancesDiscount?: number | undefined;
|
|
534
|
-
/**
|
|
535
|
-
* <p>Estimated other discounts include all discounts that are not itemized. Itemized discounts include <code>reservedInstanceDiscount</code> and <code>savingsPlansDiscount</code>.</p>
|
|
536
|
-
* @public
|
|
537
|
-
*/
|
|
538
|
-
otherDiscount?: number | undefined;
|
|
539
|
-
}
|
|
540
|
-
/**
|
|
541
|
-
* <p>Contains pricing information about the specified resource.</p>
|
|
542
|
-
* @public
|
|
543
|
-
*/
|
|
544
|
-
export interface ResourcePricing {
|
|
545
|
-
/**
|
|
546
|
-
* <p>The savings estimate using Amazon Web Services public pricing without incorporating any discounts.</p>
|
|
547
|
-
* @public
|
|
548
|
-
*/
|
|
549
|
-
estimatedCostBeforeDiscounts?: number | undefined;
|
|
550
|
-
/**
|
|
551
|
-
* <p>The estimated net unused amortized commitment for the recommendation.</p>
|
|
552
|
-
* @public
|
|
553
|
-
*/
|
|
554
|
-
estimatedNetUnusedAmortizedCommitments?: number | undefined;
|
|
555
|
-
/**
|
|
556
|
-
* <p>The estimated discounts for a recommendation.</p>
|
|
557
|
-
* @public
|
|
558
|
-
*/
|
|
559
|
-
estimatedDiscounts?: EstimatedDiscounts | undefined;
|
|
560
|
-
/**
|
|
561
|
-
* <p>The savings estimate incorporating all discounts with Amazon Web Services, such as Reserved Instances and Savings Plans.</p>
|
|
562
|
-
* @public
|
|
563
|
-
*/
|
|
564
|
-
estimatedCostAfterDiscounts?: number | undefined;
|
|
565
|
-
}
|
|
566
|
-
/**
|
|
567
|
-
* <p>Details about the usage.</p>
|
|
568
|
-
* @public
|
|
569
|
-
*/
|
|
570
|
-
export interface Usage {
|
|
571
|
-
/**
|
|
572
|
-
* <p>The usage type.</p>
|
|
573
|
-
* @public
|
|
574
|
-
*/
|
|
575
|
-
usageType?: string | undefined;
|
|
576
|
-
/**
|
|
577
|
-
* <p>The usage amount.</p>
|
|
578
|
-
* @public
|
|
579
|
-
*/
|
|
580
|
-
usageAmount?: number | undefined;
|
|
581
|
-
/**
|
|
582
|
-
* <p>The operation value.</p>
|
|
583
|
-
* @public
|
|
584
|
-
*/
|
|
585
|
-
operation?: string | undefined;
|
|
586
|
-
/**
|
|
587
|
-
* <p>The product code.</p>
|
|
588
|
-
* @public
|
|
589
|
-
*/
|
|
590
|
-
productCode?: string | undefined;
|
|
591
|
-
/**
|
|
592
|
-
* <p>The usage unit.</p>
|
|
593
|
-
* @public
|
|
594
|
-
*/
|
|
595
|
-
unit?: string | undefined;
|
|
596
|
-
}
|
|
597
|
-
/**
|
|
598
|
-
* <p>Cost impact of the resource recommendation.</p>
|
|
599
|
-
* @public
|
|
600
|
-
*/
|
|
601
|
-
export interface ResourceCostCalculation {
|
|
602
|
-
/**
|
|
603
|
-
* <p>Usage details of the resource recommendation.</p>
|
|
604
|
-
* @public
|
|
605
|
-
*/
|
|
606
|
-
usages?: Usage[] | undefined;
|
|
607
|
-
/**
|
|
608
|
-
* <p>Pricing details of the resource recommendation.</p>
|
|
609
|
-
* @public
|
|
610
|
-
*/
|
|
611
|
-
pricing?: ResourcePricing | undefined;
|
|
612
|
-
}
|
|
613
640
|
/**
|
|
614
641
|
* <p>Describes the Amazon Elastic Block Store volume configuration of the current and recommended resource configuration for a recommendation.</p>
|
|
615
642
|
* @public
|
|
@@ -1513,7 +1540,7 @@ export interface SageMakerSavingsPlans {
|
|
|
1513
1540
|
* <p>Contains detailed information about the specified resource.</p>
|
|
1514
1541
|
* @public
|
|
1515
1542
|
*/
|
|
1516
|
-
export type ResourceDetails = ResourceDetails.ComputeSavingsPlansMember | ResourceDetails.DynamoDbReservedCapacityMember | ResourceDetails.EbsVolumeMember | ResourceDetails.Ec2AutoScalingGroupMember | ResourceDetails.Ec2InstanceMember | ResourceDetails.Ec2InstanceSavingsPlansMember | ResourceDetails.Ec2ReservedInstancesMember | ResourceDetails.EcsServiceMember | ResourceDetails.ElastiCacheReservedInstancesMember | ResourceDetails.LambdaFunctionMember | ResourceDetails.MemoryDbReservedInstancesMember | ResourceDetails.OpenSearchReservedInstancesMember | ResourceDetails.RdsDbInstanceMember | ResourceDetails.RdsDbInstanceStorageMember | ResourceDetails.RdsReservedInstancesMember | ResourceDetails.RedshiftReservedInstancesMember | ResourceDetails.SageMakerSavingsPlansMember | ResourceDetails.$UnknownMember;
|
|
1543
|
+
export type ResourceDetails = ResourceDetails.AuroraDbClusterStorageMember | ResourceDetails.ComputeSavingsPlansMember | ResourceDetails.DynamoDbReservedCapacityMember | ResourceDetails.EbsVolumeMember | ResourceDetails.Ec2AutoScalingGroupMember | ResourceDetails.Ec2InstanceMember | ResourceDetails.Ec2InstanceSavingsPlansMember | ResourceDetails.Ec2ReservedInstancesMember | ResourceDetails.EcsServiceMember | ResourceDetails.ElastiCacheReservedInstancesMember | ResourceDetails.LambdaFunctionMember | ResourceDetails.MemoryDbReservedInstancesMember | ResourceDetails.OpenSearchReservedInstancesMember | ResourceDetails.RdsDbInstanceMember | ResourceDetails.RdsDbInstanceStorageMember | ResourceDetails.RdsReservedInstancesMember | ResourceDetails.RedshiftReservedInstancesMember | ResourceDetails.SageMakerSavingsPlansMember | ResourceDetails.$UnknownMember;
|
|
1517
1544
|
/**
|
|
1518
1545
|
* @public
|
|
1519
1546
|
*/
|
|
@@ -1538,6 +1565,7 @@ export declare namespace ResourceDetails {
|
|
|
1538
1565
|
sageMakerSavingsPlans?: never;
|
|
1539
1566
|
rdsDbInstance?: never;
|
|
1540
1567
|
rdsDbInstanceStorage?: never;
|
|
1568
|
+
auroraDbClusterStorage?: never;
|
|
1541
1569
|
dynamoDbReservedCapacity?: never;
|
|
1542
1570
|
memoryDbReservedInstances?: never;
|
|
1543
1571
|
$unknown?: never;
|
|
@@ -1562,6 +1590,7 @@ export declare namespace ResourceDetails {
|
|
|
1562
1590
|
sageMakerSavingsPlans?: never;
|
|
1563
1591
|
rdsDbInstance?: never;
|
|
1564
1592
|
rdsDbInstanceStorage?: never;
|
|
1593
|
+
auroraDbClusterStorage?: never;
|
|
1565
1594
|
dynamoDbReservedCapacity?: never;
|
|
1566
1595
|
memoryDbReservedInstances?: never;
|
|
1567
1596
|
$unknown?: never;
|
|
@@ -1586,6 +1615,7 @@ export declare namespace ResourceDetails {
|
|
|
1586
1615
|
sageMakerSavingsPlans?: never;
|
|
1587
1616
|
rdsDbInstance?: never;
|
|
1588
1617
|
rdsDbInstanceStorage?: never;
|
|
1618
|
+
auroraDbClusterStorage?: never;
|
|
1589
1619
|
dynamoDbReservedCapacity?: never;
|
|
1590
1620
|
memoryDbReservedInstances?: never;
|
|
1591
1621
|
$unknown?: never;
|
|
@@ -1610,6 +1640,7 @@ export declare namespace ResourceDetails {
|
|
|
1610
1640
|
sageMakerSavingsPlans?: never;
|
|
1611
1641
|
rdsDbInstance?: never;
|
|
1612
1642
|
rdsDbInstanceStorage?: never;
|
|
1643
|
+
auroraDbClusterStorage?: never;
|
|
1613
1644
|
dynamoDbReservedCapacity?: never;
|
|
1614
1645
|
memoryDbReservedInstances?: never;
|
|
1615
1646
|
$unknown?: never;
|
|
@@ -1634,6 +1665,7 @@ export declare namespace ResourceDetails {
|
|
|
1634
1665
|
sageMakerSavingsPlans?: never;
|
|
1635
1666
|
rdsDbInstance?: never;
|
|
1636
1667
|
rdsDbInstanceStorage?: never;
|
|
1668
|
+
auroraDbClusterStorage?: never;
|
|
1637
1669
|
dynamoDbReservedCapacity?: never;
|
|
1638
1670
|
memoryDbReservedInstances?: never;
|
|
1639
1671
|
$unknown?: never;
|
|
@@ -1658,6 +1690,7 @@ export declare namespace ResourceDetails {
|
|
|
1658
1690
|
sageMakerSavingsPlans?: never;
|
|
1659
1691
|
rdsDbInstance?: never;
|
|
1660
1692
|
rdsDbInstanceStorage?: never;
|
|
1693
|
+
auroraDbClusterStorage?: never;
|
|
1661
1694
|
dynamoDbReservedCapacity?: never;
|
|
1662
1695
|
memoryDbReservedInstances?: never;
|
|
1663
1696
|
$unknown?: never;
|
|
@@ -1682,6 +1715,7 @@ export declare namespace ResourceDetails {
|
|
|
1682
1715
|
sageMakerSavingsPlans?: never;
|
|
1683
1716
|
rdsDbInstance?: never;
|
|
1684
1717
|
rdsDbInstanceStorage?: never;
|
|
1718
|
+
auroraDbClusterStorage?: never;
|
|
1685
1719
|
dynamoDbReservedCapacity?: never;
|
|
1686
1720
|
memoryDbReservedInstances?: never;
|
|
1687
1721
|
$unknown?: never;
|
|
@@ -1706,6 +1740,7 @@ export declare namespace ResourceDetails {
|
|
|
1706
1740
|
sageMakerSavingsPlans?: never;
|
|
1707
1741
|
rdsDbInstance?: never;
|
|
1708
1742
|
rdsDbInstanceStorage?: never;
|
|
1743
|
+
auroraDbClusterStorage?: never;
|
|
1709
1744
|
dynamoDbReservedCapacity?: never;
|
|
1710
1745
|
memoryDbReservedInstances?: never;
|
|
1711
1746
|
$unknown?: never;
|
|
@@ -1730,6 +1765,7 @@ export declare namespace ResourceDetails {
|
|
|
1730
1765
|
sageMakerSavingsPlans?: never;
|
|
1731
1766
|
rdsDbInstance?: never;
|
|
1732
1767
|
rdsDbInstanceStorage?: never;
|
|
1768
|
+
auroraDbClusterStorage?: never;
|
|
1733
1769
|
dynamoDbReservedCapacity?: never;
|
|
1734
1770
|
memoryDbReservedInstances?: never;
|
|
1735
1771
|
$unknown?: never;
|
|
@@ -1754,6 +1790,7 @@ export declare namespace ResourceDetails {
|
|
|
1754
1790
|
sageMakerSavingsPlans?: never;
|
|
1755
1791
|
rdsDbInstance?: never;
|
|
1756
1792
|
rdsDbInstanceStorage?: never;
|
|
1793
|
+
auroraDbClusterStorage?: never;
|
|
1757
1794
|
dynamoDbReservedCapacity?: never;
|
|
1758
1795
|
memoryDbReservedInstances?: never;
|
|
1759
1796
|
$unknown?: never;
|
|
@@ -1778,6 +1815,7 @@ export declare namespace ResourceDetails {
|
|
|
1778
1815
|
sageMakerSavingsPlans?: never;
|
|
1779
1816
|
rdsDbInstance?: never;
|
|
1780
1817
|
rdsDbInstanceStorage?: never;
|
|
1818
|
+
auroraDbClusterStorage?: never;
|
|
1781
1819
|
dynamoDbReservedCapacity?: never;
|
|
1782
1820
|
memoryDbReservedInstances?: never;
|
|
1783
1821
|
$unknown?: never;
|
|
@@ -1802,6 +1840,7 @@ export declare namespace ResourceDetails {
|
|
|
1802
1840
|
sageMakerSavingsPlans?: never;
|
|
1803
1841
|
rdsDbInstance?: never;
|
|
1804
1842
|
rdsDbInstanceStorage?: never;
|
|
1843
|
+
auroraDbClusterStorage?: never;
|
|
1805
1844
|
dynamoDbReservedCapacity?: never;
|
|
1806
1845
|
memoryDbReservedInstances?: never;
|
|
1807
1846
|
$unknown?: never;
|
|
@@ -1826,6 +1865,7 @@ export declare namespace ResourceDetails {
|
|
|
1826
1865
|
sageMakerSavingsPlans: SageMakerSavingsPlans;
|
|
1827
1866
|
rdsDbInstance?: never;
|
|
1828
1867
|
rdsDbInstanceStorage?: never;
|
|
1868
|
+
auroraDbClusterStorage?: never;
|
|
1829
1869
|
dynamoDbReservedCapacity?: never;
|
|
1830
1870
|
memoryDbReservedInstances?: never;
|
|
1831
1871
|
$unknown?: never;
|
|
@@ -1850,6 +1890,7 @@ export declare namespace ResourceDetails {
|
|
|
1850
1890
|
sageMakerSavingsPlans?: never;
|
|
1851
1891
|
rdsDbInstance: RdsDbInstance;
|
|
1852
1892
|
rdsDbInstanceStorage?: never;
|
|
1893
|
+
auroraDbClusterStorage?: never;
|
|
1853
1894
|
dynamoDbReservedCapacity?: never;
|
|
1854
1895
|
memoryDbReservedInstances?: never;
|
|
1855
1896
|
$unknown?: never;
|
|
@@ -1874,6 +1915,32 @@ export declare namespace ResourceDetails {
|
|
|
1874
1915
|
sageMakerSavingsPlans?: never;
|
|
1875
1916
|
rdsDbInstance?: never;
|
|
1876
1917
|
rdsDbInstanceStorage: RdsDbInstanceStorage;
|
|
1918
|
+
auroraDbClusterStorage?: never;
|
|
1919
|
+
dynamoDbReservedCapacity?: never;
|
|
1920
|
+
memoryDbReservedInstances?: never;
|
|
1921
|
+
$unknown?: never;
|
|
1922
|
+
}
|
|
1923
|
+
/**
|
|
1924
|
+
* <p>The Aurora DB cluster storage recommendation details.</p>
|
|
1925
|
+
* @public
|
|
1926
|
+
*/
|
|
1927
|
+
interface AuroraDbClusterStorageMember {
|
|
1928
|
+
lambdaFunction?: never;
|
|
1929
|
+
ecsService?: never;
|
|
1930
|
+
ec2Instance?: never;
|
|
1931
|
+
ebsVolume?: never;
|
|
1932
|
+
ec2AutoScalingGroup?: never;
|
|
1933
|
+
ec2ReservedInstances?: never;
|
|
1934
|
+
rdsReservedInstances?: never;
|
|
1935
|
+
elastiCacheReservedInstances?: never;
|
|
1936
|
+
openSearchReservedInstances?: never;
|
|
1937
|
+
redshiftReservedInstances?: never;
|
|
1938
|
+
ec2InstanceSavingsPlans?: never;
|
|
1939
|
+
computeSavingsPlans?: never;
|
|
1940
|
+
sageMakerSavingsPlans?: never;
|
|
1941
|
+
rdsDbInstance?: never;
|
|
1942
|
+
rdsDbInstanceStorage?: never;
|
|
1943
|
+
auroraDbClusterStorage: AuroraDbClusterStorage;
|
|
1877
1944
|
dynamoDbReservedCapacity?: never;
|
|
1878
1945
|
memoryDbReservedInstances?: never;
|
|
1879
1946
|
$unknown?: never;
|
|
@@ -1898,6 +1965,7 @@ export declare namespace ResourceDetails {
|
|
|
1898
1965
|
sageMakerSavingsPlans?: never;
|
|
1899
1966
|
rdsDbInstance?: never;
|
|
1900
1967
|
rdsDbInstanceStorage?: never;
|
|
1968
|
+
auroraDbClusterStorage?: never;
|
|
1901
1969
|
dynamoDbReservedCapacity: DynamoDbReservedCapacity;
|
|
1902
1970
|
memoryDbReservedInstances?: never;
|
|
1903
1971
|
$unknown?: never;
|
|
@@ -1922,6 +1990,7 @@ export declare namespace ResourceDetails {
|
|
|
1922
1990
|
sageMakerSavingsPlans?: never;
|
|
1923
1991
|
rdsDbInstance?: never;
|
|
1924
1992
|
rdsDbInstanceStorage?: never;
|
|
1993
|
+
auroraDbClusterStorage?: never;
|
|
1925
1994
|
dynamoDbReservedCapacity?: never;
|
|
1926
1995
|
memoryDbReservedInstances: MemoryDbReservedInstances;
|
|
1927
1996
|
$unknown?: never;
|
|
@@ -1945,6 +2014,7 @@ export declare namespace ResourceDetails {
|
|
|
1945
2014
|
sageMakerSavingsPlans?: never;
|
|
1946
2015
|
rdsDbInstance?: never;
|
|
1947
2016
|
rdsDbInstanceStorage?: never;
|
|
2017
|
+
auroraDbClusterStorage?: never;
|
|
1948
2018
|
dynamoDbReservedCapacity?: never;
|
|
1949
2019
|
memoryDbReservedInstances?: never;
|
|
1950
2020
|
$unknown: [string, any];
|
|
@@ -1965,6 +2035,7 @@ export declare namespace ResourceDetails {
|
|
|
1965
2035
|
sageMakerSavingsPlans: (value: SageMakerSavingsPlans) => T;
|
|
1966
2036
|
rdsDbInstance: (value: RdsDbInstance) => T;
|
|
1967
2037
|
rdsDbInstanceStorage: (value: RdsDbInstanceStorage) => T;
|
|
2038
|
+
auroraDbClusterStorage: (value: AuroraDbClusterStorage) => T;
|
|
1968
2039
|
dynamoDbReservedCapacity: (value: DynamoDbReservedCapacity) => T;
|
|
1969
2040
|
memoryDbReservedInstances: (value: MemoryDbReservedInstances) => T;
|
|
1970
2041
|
_: (name: string, value: any) => T;
|
|
@@ -1976,6 +2047,7 @@ export declare namespace ResourceDetails {
|
|
|
1976
2047
|
* @enum
|
|
1977
2048
|
*/
|
|
1978
2049
|
export declare const ResourceType: {
|
|
2050
|
+
readonly AURORA_DB_CLUSTER_STORAGE: "AuroraDbClusterStorage";
|
|
1979
2051
|
readonly COMPUTE_SAVINGS_PLANS: "ComputeSavingsPlans";
|
|
1980
2052
|
readonly DYNAMO_DB_RESERVED_CAPACITY: "DynamoDbReservedCapacity";
|
|
1981
2053
|
readonly EBS_VOLUME: "EbsVolume";
|
|
@@ -36,6 +36,35 @@ export declare const AllocationStrategy: {
|
|
|
36
36
|
};
|
|
37
37
|
export type AllocationStrategy =
|
|
38
38
|
(typeof AllocationStrategy)[keyof typeof AllocationStrategy];
|
|
39
|
+
export interface AuroraDbClusterStorageConfiguration {
|
|
40
|
+
storageType?: string | undefined;
|
|
41
|
+
}
|
|
42
|
+
export interface EstimatedDiscounts {
|
|
43
|
+
savingsPlansDiscount?: number | undefined;
|
|
44
|
+
reservedInstancesDiscount?: number | undefined;
|
|
45
|
+
otherDiscount?: number | undefined;
|
|
46
|
+
}
|
|
47
|
+
export interface ResourcePricing {
|
|
48
|
+
estimatedCostBeforeDiscounts?: number | undefined;
|
|
49
|
+
estimatedNetUnusedAmortizedCommitments?: number | undefined;
|
|
50
|
+
estimatedDiscounts?: EstimatedDiscounts | undefined;
|
|
51
|
+
estimatedCostAfterDiscounts?: number | undefined;
|
|
52
|
+
}
|
|
53
|
+
export interface Usage {
|
|
54
|
+
usageType?: string | undefined;
|
|
55
|
+
usageAmount?: number | undefined;
|
|
56
|
+
operation?: string | undefined;
|
|
57
|
+
productCode?: string | undefined;
|
|
58
|
+
unit?: string | undefined;
|
|
59
|
+
}
|
|
60
|
+
export interface ResourceCostCalculation {
|
|
61
|
+
usages?: Usage[] | undefined;
|
|
62
|
+
pricing?: ResourcePricing | undefined;
|
|
63
|
+
}
|
|
64
|
+
export interface AuroraDbClusterStorage {
|
|
65
|
+
configuration?: AuroraDbClusterStorageConfiguration | undefined;
|
|
66
|
+
costCalculation?: ResourceCostCalculation | undefined;
|
|
67
|
+
}
|
|
39
68
|
export interface BlockStoragePerformanceConfiguration {
|
|
40
69
|
iops?: number | undefined;
|
|
41
70
|
throughput?: number | undefined;
|
|
@@ -167,28 +196,6 @@ export interface EbsVolumeConfiguration {
|
|
|
167
196
|
performance?: BlockStoragePerformanceConfiguration | undefined;
|
|
168
197
|
attachmentState?: string | undefined;
|
|
169
198
|
}
|
|
170
|
-
export interface EstimatedDiscounts {
|
|
171
|
-
savingsPlansDiscount?: number | undefined;
|
|
172
|
-
reservedInstancesDiscount?: number | undefined;
|
|
173
|
-
otherDiscount?: number | undefined;
|
|
174
|
-
}
|
|
175
|
-
export interface ResourcePricing {
|
|
176
|
-
estimatedCostBeforeDiscounts?: number | undefined;
|
|
177
|
-
estimatedNetUnusedAmortizedCommitments?: number | undefined;
|
|
178
|
-
estimatedDiscounts?: EstimatedDiscounts | undefined;
|
|
179
|
-
estimatedCostAfterDiscounts?: number | undefined;
|
|
180
|
-
}
|
|
181
|
-
export interface Usage {
|
|
182
|
-
usageType?: string | undefined;
|
|
183
|
-
usageAmount?: number | undefined;
|
|
184
|
-
operation?: string | undefined;
|
|
185
|
-
productCode?: string | undefined;
|
|
186
|
-
unit?: string | undefined;
|
|
187
|
-
}
|
|
188
|
-
export interface ResourceCostCalculation {
|
|
189
|
-
usages?: Usage[] | undefined;
|
|
190
|
-
pricing?: ResourcePricing | undefined;
|
|
191
|
-
}
|
|
192
199
|
export interface EbsVolume {
|
|
193
200
|
configuration?: EbsVolumeConfiguration | undefined;
|
|
194
201
|
costCalculation?: ResourceCostCalculation | undefined;
|
|
@@ -399,6 +406,7 @@ export interface SageMakerSavingsPlans {
|
|
|
399
406
|
costCalculation?: SavingsPlansCostCalculation | undefined;
|
|
400
407
|
}
|
|
401
408
|
export type ResourceDetails =
|
|
409
|
+
| ResourceDetails.AuroraDbClusterStorageMember
|
|
402
410
|
| ResourceDetails.ComputeSavingsPlansMember
|
|
403
411
|
| ResourceDetails.DynamoDbReservedCapacityMember
|
|
404
412
|
| ResourceDetails.EbsVolumeMember
|
|
@@ -434,6 +442,7 @@ export declare namespace ResourceDetails {
|
|
|
434
442
|
sageMakerSavingsPlans?: never;
|
|
435
443
|
rdsDbInstance?: never;
|
|
436
444
|
rdsDbInstanceStorage?: never;
|
|
445
|
+
auroraDbClusterStorage?: never;
|
|
437
446
|
dynamoDbReservedCapacity?: never;
|
|
438
447
|
memoryDbReservedInstances?: never;
|
|
439
448
|
$unknown?: never;
|
|
@@ -454,6 +463,7 @@ export declare namespace ResourceDetails {
|
|
|
454
463
|
sageMakerSavingsPlans?: never;
|
|
455
464
|
rdsDbInstance?: never;
|
|
456
465
|
rdsDbInstanceStorage?: never;
|
|
466
|
+
auroraDbClusterStorage?: never;
|
|
457
467
|
dynamoDbReservedCapacity?: never;
|
|
458
468
|
memoryDbReservedInstances?: never;
|
|
459
469
|
$unknown?: never;
|
|
@@ -474,6 +484,7 @@ export declare namespace ResourceDetails {
|
|
|
474
484
|
sageMakerSavingsPlans?: never;
|
|
475
485
|
rdsDbInstance?: never;
|
|
476
486
|
rdsDbInstanceStorage?: never;
|
|
487
|
+
auroraDbClusterStorage?: never;
|
|
477
488
|
dynamoDbReservedCapacity?: never;
|
|
478
489
|
memoryDbReservedInstances?: never;
|
|
479
490
|
$unknown?: never;
|
|
@@ -494,6 +505,7 @@ export declare namespace ResourceDetails {
|
|
|
494
505
|
sageMakerSavingsPlans?: never;
|
|
495
506
|
rdsDbInstance?: never;
|
|
496
507
|
rdsDbInstanceStorage?: never;
|
|
508
|
+
auroraDbClusterStorage?: never;
|
|
497
509
|
dynamoDbReservedCapacity?: never;
|
|
498
510
|
memoryDbReservedInstances?: never;
|
|
499
511
|
$unknown?: never;
|
|
@@ -514,6 +526,7 @@ export declare namespace ResourceDetails {
|
|
|
514
526
|
sageMakerSavingsPlans?: never;
|
|
515
527
|
rdsDbInstance?: never;
|
|
516
528
|
rdsDbInstanceStorage?: never;
|
|
529
|
+
auroraDbClusterStorage?: never;
|
|
517
530
|
dynamoDbReservedCapacity?: never;
|
|
518
531
|
memoryDbReservedInstances?: never;
|
|
519
532
|
$unknown?: never;
|
|
@@ -534,6 +547,7 @@ export declare namespace ResourceDetails {
|
|
|
534
547
|
sageMakerSavingsPlans?: never;
|
|
535
548
|
rdsDbInstance?: never;
|
|
536
549
|
rdsDbInstanceStorage?: never;
|
|
550
|
+
auroraDbClusterStorage?: never;
|
|
537
551
|
dynamoDbReservedCapacity?: never;
|
|
538
552
|
memoryDbReservedInstances?: never;
|
|
539
553
|
$unknown?: never;
|
|
@@ -554,6 +568,7 @@ export declare namespace ResourceDetails {
|
|
|
554
568
|
sageMakerSavingsPlans?: never;
|
|
555
569
|
rdsDbInstance?: never;
|
|
556
570
|
rdsDbInstanceStorage?: never;
|
|
571
|
+
auroraDbClusterStorage?: never;
|
|
557
572
|
dynamoDbReservedCapacity?: never;
|
|
558
573
|
memoryDbReservedInstances?: never;
|
|
559
574
|
$unknown?: never;
|
|
@@ -574,6 +589,7 @@ export declare namespace ResourceDetails {
|
|
|
574
589
|
sageMakerSavingsPlans?: never;
|
|
575
590
|
rdsDbInstance?: never;
|
|
576
591
|
rdsDbInstanceStorage?: never;
|
|
592
|
+
auroraDbClusterStorage?: never;
|
|
577
593
|
dynamoDbReservedCapacity?: never;
|
|
578
594
|
memoryDbReservedInstances?: never;
|
|
579
595
|
$unknown?: never;
|
|
@@ -594,6 +610,7 @@ export declare namespace ResourceDetails {
|
|
|
594
610
|
sageMakerSavingsPlans?: never;
|
|
595
611
|
rdsDbInstance?: never;
|
|
596
612
|
rdsDbInstanceStorage?: never;
|
|
613
|
+
auroraDbClusterStorage?: never;
|
|
597
614
|
dynamoDbReservedCapacity?: never;
|
|
598
615
|
memoryDbReservedInstances?: never;
|
|
599
616
|
$unknown?: never;
|
|
@@ -614,6 +631,7 @@ export declare namespace ResourceDetails {
|
|
|
614
631
|
sageMakerSavingsPlans?: never;
|
|
615
632
|
rdsDbInstance?: never;
|
|
616
633
|
rdsDbInstanceStorage?: never;
|
|
634
|
+
auroraDbClusterStorage?: never;
|
|
617
635
|
dynamoDbReservedCapacity?: never;
|
|
618
636
|
memoryDbReservedInstances?: never;
|
|
619
637
|
$unknown?: never;
|
|
@@ -634,6 +652,7 @@ export declare namespace ResourceDetails {
|
|
|
634
652
|
sageMakerSavingsPlans?: never;
|
|
635
653
|
rdsDbInstance?: never;
|
|
636
654
|
rdsDbInstanceStorage?: never;
|
|
655
|
+
auroraDbClusterStorage?: never;
|
|
637
656
|
dynamoDbReservedCapacity?: never;
|
|
638
657
|
memoryDbReservedInstances?: never;
|
|
639
658
|
$unknown?: never;
|
|
@@ -654,6 +673,7 @@ export declare namespace ResourceDetails {
|
|
|
654
673
|
sageMakerSavingsPlans?: never;
|
|
655
674
|
rdsDbInstance?: never;
|
|
656
675
|
rdsDbInstanceStorage?: never;
|
|
676
|
+
auroraDbClusterStorage?: never;
|
|
657
677
|
dynamoDbReservedCapacity?: never;
|
|
658
678
|
memoryDbReservedInstances?: never;
|
|
659
679
|
$unknown?: never;
|
|
@@ -674,6 +694,7 @@ export declare namespace ResourceDetails {
|
|
|
674
694
|
sageMakerSavingsPlans: SageMakerSavingsPlans;
|
|
675
695
|
rdsDbInstance?: never;
|
|
676
696
|
rdsDbInstanceStorage?: never;
|
|
697
|
+
auroraDbClusterStorage?: never;
|
|
677
698
|
dynamoDbReservedCapacity?: never;
|
|
678
699
|
memoryDbReservedInstances?: never;
|
|
679
700
|
$unknown?: never;
|
|
@@ -694,6 +715,7 @@ export declare namespace ResourceDetails {
|
|
|
694
715
|
sageMakerSavingsPlans?: never;
|
|
695
716
|
rdsDbInstance: RdsDbInstance;
|
|
696
717
|
rdsDbInstanceStorage?: never;
|
|
718
|
+
auroraDbClusterStorage?: never;
|
|
697
719
|
dynamoDbReservedCapacity?: never;
|
|
698
720
|
memoryDbReservedInstances?: never;
|
|
699
721
|
$unknown?: never;
|
|
@@ -714,6 +736,28 @@ export declare namespace ResourceDetails {
|
|
|
714
736
|
sageMakerSavingsPlans?: never;
|
|
715
737
|
rdsDbInstance?: never;
|
|
716
738
|
rdsDbInstanceStorage: RdsDbInstanceStorage;
|
|
739
|
+
auroraDbClusterStorage?: never;
|
|
740
|
+
dynamoDbReservedCapacity?: never;
|
|
741
|
+
memoryDbReservedInstances?: never;
|
|
742
|
+
$unknown?: never;
|
|
743
|
+
}
|
|
744
|
+
interface AuroraDbClusterStorageMember {
|
|
745
|
+
lambdaFunction?: never;
|
|
746
|
+
ecsService?: never;
|
|
747
|
+
ec2Instance?: never;
|
|
748
|
+
ebsVolume?: never;
|
|
749
|
+
ec2AutoScalingGroup?: never;
|
|
750
|
+
ec2ReservedInstances?: never;
|
|
751
|
+
rdsReservedInstances?: never;
|
|
752
|
+
elastiCacheReservedInstances?: never;
|
|
753
|
+
openSearchReservedInstances?: never;
|
|
754
|
+
redshiftReservedInstances?: never;
|
|
755
|
+
ec2InstanceSavingsPlans?: never;
|
|
756
|
+
computeSavingsPlans?: never;
|
|
757
|
+
sageMakerSavingsPlans?: never;
|
|
758
|
+
rdsDbInstance?: never;
|
|
759
|
+
rdsDbInstanceStorage?: never;
|
|
760
|
+
auroraDbClusterStorage: AuroraDbClusterStorage;
|
|
717
761
|
dynamoDbReservedCapacity?: never;
|
|
718
762
|
memoryDbReservedInstances?: never;
|
|
719
763
|
$unknown?: never;
|
|
@@ -734,6 +778,7 @@ export declare namespace ResourceDetails {
|
|
|
734
778
|
sageMakerSavingsPlans?: never;
|
|
735
779
|
rdsDbInstance?: never;
|
|
736
780
|
rdsDbInstanceStorage?: never;
|
|
781
|
+
auroraDbClusterStorage?: never;
|
|
737
782
|
dynamoDbReservedCapacity: DynamoDbReservedCapacity;
|
|
738
783
|
memoryDbReservedInstances?: never;
|
|
739
784
|
$unknown?: never;
|
|
@@ -754,6 +799,7 @@ export declare namespace ResourceDetails {
|
|
|
754
799
|
sageMakerSavingsPlans?: never;
|
|
755
800
|
rdsDbInstance?: never;
|
|
756
801
|
rdsDbInstanceStorage?: never;
|
|
802
|
+
auroraDbClusterStorage?: never;
|
|
757
803
|
dynamoDbReservedCapacity?: never;
|
|
758
804
|
memoryDbReservedInstances: MemoryDbReservedInstances;
|
|
759
805
|
$unknown?: never;
|
|
@@ -774,6 +820,7 @@ export declare namespace ResourceDetails {
|
|
|
774
820
|
sageMakerSavingsPlans?: never;
|
|
775
821
|
rdsDbInstance?: never;
|
|
776
822
|
rdsDbInstanceStorage?: never;
|
|
823
|
+
auroraDbClusterStorage?: never;
|
|
777
824
|
dynamoDbReservedCapacity?: never;
|
|
778
825
|
memoryDbReservedInstances?: never;
|
|
779
826
|
$unknown: [string, any];
|
|
@@ -794,6 +841,7 @@ export declare namespace ResourceDetails {
|
|
|
794
841
|
sageMakerSavingsPlans: (value: SageMakerSavingsPlans) => T;
|
|
795
842
|
rdsDbInstance: (value: RdsDbInstance) => T;
|
|
796
843
|
rdsDbInstanceStorage: (value: RdsDbInstanceStorage) => T;
|
|
844
|
+
auroraDbClusterStorage: (value: AuroraDbClusterStorage) => T;
|
|
797
845
|
dynamoDbReservedCapacity: (value: DynamoDbReservedCapacity) => T;
|
|
798
846
|
memoryDbReservedInstances: (value: MemoryDbReservedInstances) => T;
|
|
799
847
|
_: (name: string, value: any) => T;
|
|
@@ -801,6 +849,7 @@ export declare namespace ResourceDetails {
|
|
|
801
849
|
const visit: <T>(value: ResourceDetails, visitor: Visitor<T>) => T;
|
|
802
850
|
}
|
|
803
851
|
export declare const ResourceType: {
|
|
852
|
+
readonly AURORA_DB_CLUSTER_STORAGE: "AuroraDbClusterStorage";
|
|
804
853
|
readonly COMPUTE_SAVINGS_PLANS: "ComputeSavingsPlans";
|
|
805
854
|
readonly DYNAMO_DB_RESERVED_CAPACITY: "DynamoDbReservedCapacity";
|
|
806
855
|
readonly EBS_VOLUME: "EbsVolume";
|
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.822.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,41 +20,41 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
-
"@smithy/config-resolver": "^4.1.
|
|
35
|
-
"@smithy/core": "^3.
|
|
36
|
-
"@smithy/fetch-http-handler": "^5.0.
|
|
37
|
-
"@smithy/hash-node": "^4.0.
|
|
38
|
-
"@smithy/invalid-dependency": "^4.0.
|
|
39
|
-
"@smithy/middleware-content-length": "^4.0.
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.1.
|
|
41
|
-
"@smithy/middleware-retry": "^4.1.
|
|
42
|
-
"@smithy/middleware-serde": "^4.0.
|
|
43
|
-
"@smithy/middleware-stack": "^4.0.
|
|
44
|
-
"@smithy/node-config-provider": "^4.1.
|
|
45
|
-
"@smithy/node-http-handler": "^4.0.
|
|
46
|
-
"@smithy/protocol-http": "^5.1.
|
|
47
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
-
"@smithy/types": "^4.
|
|
49
|
-
"@smithy/url-parser": "^4.0.
|
|
23
|
+
"@aws-sdk/core": "3.821.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.821.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.821.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.821.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.821.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.821.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.821.0",
|
|
30
|
+
"@aws-sdk/types": "3.821.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.821.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.821.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.821.0",
|
|
34
|
+
"@smithy/config-resolver": "^4.1.4",
|
|
35
|
+
"@smithy/core": "^3.5.1",
|
|
36
|
+
"@smithy/fetch-http-handler": "^5.0.4",
|
|
37
|
+
"@smithy/hash-node": "^4.0.4",
|
|
38
|
+
"@smithy/invalid-dependency": "^4.0.4",
|
|
39
|
+
"@smithy/middleware-content-length": "^4.0.4",
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.1.9",
|
|
41
|
+
"@smithy/middleware-retry": "^4.1.10",
|
|
42
|
+
"@smithy/middleware-serde": "^4.0.8",
|
|
43
|
+
"@smithy/middleware-stack": "^4.0.4",
|
|
44
|
+
"@smithy/node-config-provider": "^4.1.3",
|
|
45
|
+
"@smithy/node-http-handler": "^4.0.6",
|
|
46
|
+
"@smithy/protocol-http": "^5.1.2",
|
|
47
|
+
"@smithy/smithy-client": "^4.4.1",
|
|
48
|
+
"@smithy/types": "^4.3.1",
|
|
49
|
+
"@smithy/url-parser": "^4.0.4",
|
|
50
50
|
"@smithy/util-base64": "^4.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
55
|
-
"@smithy/util-endpoints": "^3.0.
|
|
56
|
-
"@smithy/util-middleware": "^4.0.
|
|
57
|
-
"@smithy/util-retry": "^4.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.0.17",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.0.17",
|
|
55
|
+
"@smithy/util-endpoints": "^3.0.6",
|
|
56
|
+
"@smithy/util-middleware": "^4.0.4",
|
|
57
|
+
"@smithy/util-retry": "^4.0.5",
|
|
58
58
|
"@smithy/util-utf8": "^4.0.0",
|
|
59
59
|
"tslib": "^2.6.2"
|
|
60
60
|
},
|