@aws-sdk/client-cost-optimization-hub 3.686.0 → 3.691.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-types/models/models_0.d.ts +262 -262
- package/dist-types/ts3.4/models/models_0.d.ts +262 -262
- package/package.json +7 -7
|
@@ -14,10 +14,10 @@ export declare const EnrollmentStatus: {
|
|
|
14
14
|
export type EnrollmentStatus =
|
|
15
15
|
(typeof EnrollmentStatus)[keyof typeof EnrollmentStatus];
|
|
16
16
|
export interface AccountEnrollmentStatus {
|
|
17
|
-
accountId?: string;
|
|
18
|
-
status?: EnrollmentStatus;
|
|
19
|
-
lastUpdatedTimestamp?: Date;
|
|
20
|
-
createdTimestamp?: Date;
|
|
17
|
+
accountId?: string | undefined;
|
|
18
|
+
status?: EnrollmentStatus | undefined;
|
|
19
|
+
lastUpdatedTimestamp?: Date | undefined;
|
|
20
|
+
createdTimestamp?: Date | undefined;
|
|
21
21
|
}
|
|
22
22
|
export declare const ActionType: {
|
|
23
23
|
readonly MIGRATE_TO_GRAVITON: "MigrateToGraviton";
|
|
@@ -29,33 +29,33 @@ export declare const ActionType: {
|
|
|
29
29
|
};
|
|
30
30
|
export type ActionType = (typeof ActionType)[keyof typeof ActionType];
|
|
31
31
|
export interface BlockStoragePerformanceConfiguration {
|
|
32
|
-
iops?: number;
|
|
33
|
-
throughput?: number;
|
|
32
|
+
iops?: number | undefined;
|
|
33
|
+
throughput?: number | undefined;
|
|
34
34
|
}
|
|
35
35
|
export interface ComputeConfiguration {
|
|
36
|
-
vCpu?: number;
|
|
37
|
-
memorySizeInMB?: number;
|
|
38
|
-
architecture?: string;
|
|
39
|
-
platform?: string;
|
|
36
|
+
vCpu?: number | undefined;
|
|
37
|
+
memorySizeInMB?: number | undefined;
|
|
38
|
+
architecture?: string | undefined;
|
|
39
|
+
platform?: string | undefined;
|
|
40
40
|
}
|
|
41
41
|
export interface ComputeSavingsPlansConfiguration {
|
|
42
|
-
accountScope?: string;
|
|
43
|
-
term?: string;
|
|
44
|
-
paymentOption?: string;
|
|
45
|
-
hourlyCommitment?: string;
|
|
42
|
+
accountScope?: string | undefined;
|
|
43
|
+
term?: string | undefined;
|
|
44
|
+
paymentOption?: string | undefined;
|
|
45
|
+
hourlyCommitment?: string | undefined;
|
|
46
46
|
}
|
|
47
47
|
export interface SavingsPlansPricing {
|
|
48
|
-
monthlySavingsPlansEligibleCost?: number;
|
|
49
|
-
estimatedMonthlyCommitment?: number;
|
|
50
|
-
savingsPercentage?: number;
|
|
51
|
-
estimatedOnDemandCost?: number;
|
|
48
|
+
monthlySavingsPlansEligibleCost?: number | undefined;
|
|
49
|
+
estimatedMonthlyCommitment?: number | undefined;
|
|
50
|
+
savingsPercentage?: number | undefined;
|
|
51
|
+
estimatedOnDemandCost?: number | undefined;
|
|
52
52
|
}
|
|
53
53
|
export interface SavingsPlansCostCalculation {
|
|
54
|
-
pricing?: SavingsPlansPricing;
|
|
54
|
+
pricing?: SavingsPlansPricing | undefined;
|
|
55
55
|
}
|
|
56
56
|
export interface ComputeSavingsPlans {
|
|
57
|
-
configuration?: ComputeSavingsPlansConfiguration;
|
|
58
|
-
costCalculation?: SavingsPlansCostCalculation;
|
|
57
|
+
configuration?: ComputeSavingsPlansConfiguration | undefined;
|
|
58
|
+
costCalculation?: SavingsPlansCostCalculation | undefined;
|
|
59
59
|
}
|
|
60
60
|
export interface GetPreferencesRequest {}
|
|
61
61
|
export declare const MemberAccountDiscountVisibility: {
|
|
@@ -71,8 +71,8 @@ export declare const SavingsEstimationMode: {
|
|
|
71
71
|
export type SavingsEstimationMode =
|
|
72
72
|
(typeof SavingsEstimationMode)[keyof typeof SavingsEstimationMode];
|
|
73
73
|
export interface GetPreferencesResponse {
|
|
74
|
-
savingsEstimationMode?: SavingsEstimationMode;
|
|
75
|
-
memberAccountDiscountVisibility?: MemberAccountDiscountVisibility;
|
|
74
|
+
savingsEstimationMode?: SavingsEstimationMode | undefined;
|
|
75
|
+
memberAccountDiscountVisibility?: MemberAccountDiscountVisibility | undefined;
|
|
76
76
|
}
|
|
77
77
|
export declare class InternalServerException extends __BaseException {
|
|
78
78
|
readonly name: "InternalServerException";
|
|
@@ -101,8 +101,8 @@ export type ValidationExceptionReason =
|
|
|
101
101
|
export declare class ValidationException extends __BaseException {
|
|
102
102
|
readonly name: "ValidationException";
|
|
103
103
|
readonly $fault: "client";
|
|
104
|
-
reason?: ValidationExceptionReason;
|
|
105
|
-
fields?: ValidationExceptionDetail[];
|
|
104
|
+
reason?: ValidationExceptionReason | undefined;
|
|
105
|
+
fields?: ValidationExceptionDetail[] | undefined;
|
|
106
106
|
constructor(
|
|
107
107
|
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
108
108
|
);
|
|
@@ -111,222 +111,222 @@ export interface GetRecommendationRequest {
|
|
|
111
111
|
recommendationId: string | undefined;
|
|
112
112
|
}
|
|
113
113
|
export interface StorageConfiguration {
|
|
114
|
-
type?: string;
|
|
115
|
-
sizeInGb?: number;
|
|
114
|
+
type?: string | undefined;
|
|
115
|
+
sizeInGb?: number | undefined;
|
|
116
116
|
}
|
|
117
117
|
export interface EbsVolumeConfiguration {
|
|
118
|
-
storage?: StorageConfiguration;
|
|
119
|
-
performance?: BlockStoragePerformanceConfiguration;
|
|
120
|
-
attachmentState?: string;
|
|
118
|
+
storage?: StorageConfiguration | undefined;
|
|
119
|
+
performance?: BlockStoragePerformanceConfiguration | undefined;
|
|
120
|
+
attachmentState?: string | undefined;
|
|
121
121
|
}
|
|
122
122
|
export interface EstimatedDiscounts {
|
|
123
|
-
savingsPlansDiscount?: number;
|
|
124
|
-
reservedInstancesDiscount?: number;
|
|
125
|
-
otherDiscount?: number;
|
|
123
|
+
savingsPlansDiscount?: number | undefined;
|
|
124
|
+
reservedInstancesDiscount?: number | undefined;
|
|
125
|
+
otherDiscount?: number | undefined;
|
|
126
126
|
}
|
|
127
127
|
export interface ResourcePricing {
|
|
128
|
-
estimatedCostBeforeDiscounts?: number;
|
|
129
|
-
estimatedNetUnusedAmortizedCommitments?: number;
|
|
130
|
-
estimatedDiscounts?: EstimatedDiscounts;
|
|
131
|
-
estimatedCostAfterDiscounts?: number;
|
|
128
|
+
estimatedCostBeforeDiscounts?: number | undefined;
|
|
129
|
+
estimatedNetUnusedAmortizedCommitments?: number | undefined;
|
|
130
|
+
estimatedDiscounts?: EstimatedDiscounts | undefined;
|
|
131
|
+
estimatedCostAfterDiscounts?: number | undefined;
|
|
132
132
|
}
|
|
133
133
|
export interface Usage {
|
|
134
|
-
usageType?: string;
|
|
135
|
-
usageAmount?: number;
|
|
136
|
-
operation?: string;
|
|
137
|
-
productCode?: string;
|
|
138
|
-
unit?: string;
|
|
134
|
+
usageType?: string | undefined;
|
|
135
|
+
usageAmount?: number | undefined;
|
|
136
|
+
operation?: string | undefined;
|
|
137
|
+
productCode?: string | undefined;
|
|
138
|
+
unit?: string | undefined;
|
|
139
139
|
}
|
|
140
140
|
export interface ResourceCostCalculation {
|
|
141
|
-
usages?: Usage[];
|
|
142
|
-
pricing?: ResourcePricing;
|
|
141
|
+
usages?: Usage[] | undefined;
|
|
142
|
+
pricing?: ResourcePricing | undefined;
|
|
143
143
|
}
|
|
144
144
|
export interface EbsVolume {
|
|
145
|
-
configuration?: EbsVolumeConfiguration;
|
|
146
|
-
costCalculation?: ResourceCostCalculation;
|
|
145
|
+
configuration?: EbsVolumeConfiguration | undefined;
|
|
146
|
+
costCalculation?: ResourceCostCalculation | undefined;
|
|
147
147
|
}
|
|
148
148
|
export interface InstanceConfiguration {
|
|
149
|
-
type?: string;
|
|
149
|
+
type?: string | undefined;
|
|
150
150
|
}
|
|
151
151
|
export interface Ec2AutoScalingGroupConfiguration {
|
|
152
|
-
instance?: InstanceConfiguration;
|
|
152
|
+
instance?: InstanceConfiguration | undefined;
|
|
153
153
|
}
|
|
154
154
|
export interface Ec2AutoScalingGroup {
|
|
155
|
-
configuration?: Ec2AutoScalingGroupConfiguration;
|
|
156
|
-
costCalculation?: ResourceCostCalculation;
|
|
155
|
+
configuration?: Ec2AutoScalingGroupConfiguration | undefined;
|
|
156
|
+
costCalculation?: ResourceCostCalculation | undefined;
|
|
157
157
|
}
|
|
158
158
|
export interface Ec2InstanceConfiguration {
|
|
159
|
-
instance?: InstanceConfiguration;
|
|
159
|
+
instance?: InstanceConfiguration | undefined;
|
|
160
160
|
}
|
|
161
161
|
export interface Ec2Instance {
|
|
162
|
-
configuration?: Ec2InstanceConfiguration;
|
|
163
|
-
costCalculation?: ResourceCostCalculation;
|
|
162
|
+
configuration?: Ec2InstanceConfiguration | undefined;
|
|
163
|
+
costCalculation?: ResourceCostCalculation | undefined;
|
|
164
164
|
}
|
|
165
165
|
export interface Ec2InstanceSavingsPlansConfiguration {
|
|
166
|
-
accountScope?: string;
|
|
167
|
-
term?: string;
|
|
168
|
-
paymentOption?: string;
|
|
169
|
-
hourlyCommitment?: string;
|
|
170
|
-
instanceFamily?: string;
|
|
171
|
-
savingsPlansRegion?: string;
|
|
166
|
+
accountScope?: string | undefined;
|
|
167
|
+
term?: string | undefined;
|
|
168
|
+
paymentOption?: string | undefined;
|
|
169
|
+
hourlyCommitment?: string | undefined;
|
|
170
|
+
instanceFamily?: string | undefined;
|
|
171
|
+
savingsPlansRegion?: string | undefined;
|
|
172
172
|
}
|
|
173
173
|
export interface Ec2InstanceSavingsPlans {
|
|
174
|
-
configuration?: Ec2InstanceSavingsPlansConfiguration;
|
|
175
|
-
costCalculation?: SavingsPlansCostCalculation;
|
|
174
|
+
configuration?: Ec2InstanceSavingsPlansConfiguration | undefined;
|
|
175
|
+
costCalculation?: SavingsPlansCostCalculation | undefined;
|
|
176
176
|
}
|
|
177
177
|
export interface Ec2ReservedInstancesConfiguration {
|
|
178
|
-
accountScope?: string;
|
|
179
|
-
service?: string;
|
|
180
|
-
normalizedUnitsToPurchase?: string;
|
|
181
|
-
term?: string;
|
|
182
|
-
paymentOption?: string;
|
|
183
|
-
numberOfInstancesToPurchase?: string;
|
|
184
|
-
offeringClass?: string;
|
|
185
|
-
instanceFamily?: string;
|
|
186
|
-
instanceType?: string;
|
|
187
|
-
reservedInstancesRegion?: string;
|
|
188
|
-
currentGeneration?: string;
|
|
189
|
-
platform?: string;
|
|
190
|
-
tenancy?: string;
|
|
191
|
-
sizeFlexEligible?: boolean;
|
|
192
|
-
upfrontCost?: string;
|
|
193
|
-
monthlyRecurringCost?: string;
|
|
178
|
+
accountScope?: string | undefined;
|
|
179
|
+
service?: string | undefined;
|
|
180
|
+
normalizedUnitsToPurchase?: string | undefined;
|
|
181
|
+
term?: string | undefined;
|
|
182
|
+
paymentOption?: string | undefined;
|
|
183
|
+
numberOfInstancesToPurchase?: string | undefined;
|
|
184
|
+
offeringClass?: string | undefined;
|
|
185
|
+
instanceFamily?: string | undefined;
|
|
186
|
+
instanceType?: string | undefined;
|
|
187
|
+
reservedInstancesRegion?: string | undefined;
|
|
188
|
+
currentGeneration?: string | undefined;
|
|
189
|
+
platform?: string | undefined;
|
|
190
|
+
tenancy?: string | undefined;
|
|
191
|
+
sizeFlexEligible?: boolean | undefined;
|
|
192
|
+
upfrontCost?: string | undefined;
|
|
193
|
+
monthlyRecurringCost?: string | undefined;
|
|
194
194
|
}
|
|
195
195
|
export interface ReservedInstancesPricing {
|
|
196
|
-
estimatedOnDemandCost?: number;
|
|
197
|
-
monthlyReservationEligibleCost?: number;
|
|
198
|
-
savingsPercentage?: number;
|
|
199
|
-
estimatedMonthlyAmortizedReservationCost?: number;
|
|
196
|
+
estimatedOnDemandCost?: number | undefined;
|
|
197
|
+
monthlyReservationEligibleCost?: number | undefined;
|
|
198
|
+
savingsPercentage?: number | undefined;
|
|
199
|
+
estimatedMonthlyAmortizedReservationCost?: number | undefined;
|
|
200
200
|
}
|
|
201
201
|
export interface ReservedInstancesCostCalculation {
|
|
202
|
-
pricing?: ReservedInstancesPricing;
|
|
202
|
+
pricing?: ReservedInstancesPricing | undefined;
|
|
203
203
|
}
|
|
204
204
|
export interface Ec2ReservedInstances {
|
|
205
|
-
configuration?: Ec2ReservedInstancesConfiguration;
|
|
206
|
-
costCalculation?: ReservedInstancesCostCalculation;
|
|
205
|
+
configuration?: Ec2ReservedInstancesConfiguration | undefined;
|
|
206
|
+
costCalculation?: ReservedInstancesCostCalculation | undefined;
|
|
207
207
|
}
|
|
208
208
|
export interface EcsServiceConfiguration {
|
|
209
|
-
compute?: ComputeConfiguration;
|
|
209
|
+
compute?: ComputeConfiguration | undefined;
|
|
210
210
|
}
|
|
211
211
|
export interface EcsService {
|
|
212
|
-
configuration?: EcsServiceConfiguration;
|
|
213
|
-
costCalculation?: ResourceCostCalculation;
|
|
212
|
+
configuration?: EcsServiceConfiguration | undefined;
|
|
213
|
+
costCalculation?: ResourceCostCalculation | undefined;
|
|
214
214
|
}
|
|
215
215
|
export interface ElastiCacheReservedInstancesConfiguration {
|
|
216
|
-
accountScope?: string;
|
|
217
|
-
service?: string;
|
|
218
|
-
normalizedUnitsToPurchase?: string;
|
|
219
|
-
term?: string;
|
|
220
|
-
paymentOption?: string;
|
|
221
|
-
numberOfInstancesToPurchase?: string;
|
|
222
|
-
instanceFamily?: string;
|
|
223
|
-
instanceType?: string;
|
|
224
|
-
reservedInstancesRegion?: string;
|
|
225
|
-
currentGeneration?: string;
|
|
226
|
-
sizeFlexEligible?: boolean;
|
|
227
|
-
upfrontCost?: string;
|
|
228
|
-
monthlyRecurringCost?: string;
|
|
216
|
+
accountScope?: string | undefined;
|
|
217
|
+
service?: string | undefined;
|
|
218
|
+
normalizedUnitsToPurchase?: string | undefined;
|
|
219
|
+
term?: string | undefined;
|
|
220
|
+
paymentOption?: string | undefined;
|
|
221
|
+
numberOfInstancesToPurchase?: string | undefined;
|
|
222
|
+
instanceFamily?: string | undefined;
|
|
223
|
+
instanceType?: string | undefined;
|
|
224
|
+
reservedInstancesRegion?: string | undefined;
|
|
225
|
+
currentGeneration?: string | undefined;
|
|
226
|
+
sizeFlexEligible?: boolean | undefined;
|
|
227
|
+
upfrontCost?: string | undefined;
|
|
228
|
+
monthlyRecurringCost?: string | undefined;
|
|
229
229
|
}
|
|
230
230
|
export interface ElastiCacheReservedInstances {
|
|
231
|
-
configuration?: ElastiCacheReservedInstancesConfiguration;
|
|
232
|
-
costCalculation?: ReservedInstancesCostCalculation;
|
|
231
|
+
configuration?: ElastiCacheReservedInstancesConfiguration | undefined;
|
|
232
|
+
costCalculation?: ReservedInstancesCostCalculation | undefined;
|
|
233
233
|
}
|
|
234
234
|
export interface LambdaFunctionConfiguration {
|
|
235
|
-
compute?: ComputeConfiguration;
|
|
235
|
+
compute?: ComputeConfiguration | undefined;
|
|
236
236
|
}
|
|
237
237
|
export interface LambdaFunction {
|
|
238
|
-
configuration?: LambdaFunctionConfiguration;
|
|
239
|
-
costCalculation?: ResourceCostCalculation;
|
|
238
|
+
configuration?: LambdaFunctionConfiguration | undefined;
|
|
239
|
+
costCalculation?: ResourceCostCalculation | undefined;
|
|
240
240
|
}
|
|
241
241
|
export interface OpenSearchReservedInstancesConfiguration {
|
|
242
|
-
accountScope?: string;
|
|
243
|
-
service?: string;
|
|
244
|
-
normalizedUnitsToPurchase?: string;
|
|
245
|
-
term?: string;
|
|
246
|
-
paymentOption?: string;
|
|
247
|
-
numberOfInstancesToPurchase?: string;
|
|
248
|
-
instanceType?: string;
|
|
249
|
-
reservedInstancesRegion?: string;
|
|
250
|
-
currentGeneration?: string;
|
|
251
|
-
sizeFlexEligible?: boolean;
|
|
252
|
-
upfrontCost?: string;
|
|
253
|
-
monthlyRecurringCost?: string;
|
|
242
|
+
accountScope?: string | undefined;
|
|
243
|
+
service?: string | undefined;
|
|
244
|
+
normalizedUnitsToPurchase?: string | undefined;
|
|
245
|
+
term?: string | undefined;
|
|
246
|
+
paymentOption?: string | undefined;
|
|
247
|
+
numberOfInstancesToPurchase?: string | undefined;
|
|
248
|
+
instanceType?: string | undefined;
|
|
249
|
+
reservedInstancesRegion?: string | undefined;
|
|
250
|
+
currentGeneration?: string | undefined;
|
|
251
|
+
sizeFlexEligible?: boolean | undefined;
|
|
252
|
+
upfrontCost?: string | undefined;
|
|
253
|
+
monthlyRecurringCost?: string | undefined;
|
|
254
254
|
}
|
|
255
255
|
export interface OpenSearchReservedInstances {
|
|
256
|
-
configuration?: OpenSearchReservedInstancesConfiguration;
|
|
257
|
-
costCalculation?: ReservedInstancesCostCalculation;
|
|
256
|
+
configuration?: OpenSearchReservedInstancesConfiguration | undefined;
|
|
257
|
+
costCalculation?: ReservedInstancesCostCalculation | undefined;
|
|
258
258
|
}
|
|
259
259
|
export interface DbInstanceConfiguration {
|
|
260
|
-
dbInstanceClass?: string;
|
|
260
|
+
dbInstanceClass?: string | undefined;
|
|
261
261
|
}
|
|
262
262
|
export interface RdsDbInstanceConfiguration {
|
|
263
|
-
instance?: DbInstanceConfiguration;
|
|
263
|
+
instance?: DbInstanceConfiguration | undefined;
|
|
264
264
|
}
|
|
265
265
|
export interface RdsDbInstance {
|
|
266
|
-
configuration?: RdsDbInstanceConfiguration;
|
|
267
|
-
costCalculation?: ResourceCostCalculation;
|
|
266
|
+
configuration?: RdsDbInstanceConfiguration | undefined;
|
|
267
|
+
costCalculation?: ResourceCostCalculation | undefined;
|
|
268
268
|
}
|
|
269
269
|
export interface RdsDbInstanceStorageConfiguration {
|
|
270
|
-
storageType?: string;
|
|
271
|
-
allocatedStorageInGb?: number;
|
|
272
|
-
iops?: number;
|
|
273
|
-
storageThroughput?: number;
|
|
270
|
+
storageType?: string | undefined;
|
|
271
|
+
allocatedStorageInGb?: number | undefined;
|
|
272
|
+
iops?: number | undefined;
|
|
273
|
+
storageThroughput?: number | undefined;
|
|
274
274
|
}
|
|
275
275
|
export interface RdsDbInstanceStorage {
|
|
276
|
-
configuration?: RdsDbInstanceStorageConfiguration;
|
|
277
|
-
costCalculation?: ResourceCostCalculation;
|
|
276
|
+
configuration?: RdsDbInstanceStorageConfiguration | undefined;
|
|
277
|
+
costCalculation?: ResourceCostCalculation | undefined;
|
|
278
278
|
}
|
|
279
279
|
export interface RdsReservedInstancesConfiguration {
|
|
280
|
-
accountScope?: string;
|
|
281
|
-
service?: string;
|
|
282
|
-
normalizedUnitsToPurchase?: string;
|
|
283
|
-
term?: string;
|
|
284
|
-
paymentOption?: string;
|
|
285
|
-
numberOfInstancesToPurchase?: string;
|
|
286
|
-
instanceFamily?: string;
|
|
287
|
-
instanceType?: string;
|
|
288
|
-
reservedInstancesRegion?: string;
|
|
289
|
-
sizeFlexEligible?: boolean;
|
|
290
|
-
currentGeneration?: string;
|
|
291
|
-
upfrontCost?: string;
|
|
292
|
-
monthlyRecurringCost?: string;
|
|
293
|
-
licenseModel?: string;
|
|
294
|
-
databaseEdition?: string;
|
|
295
|
-
databaseEngine?: string;
|
|
296
|
-
deploymentOption?: string;
|
|
280
|
+
accountScope?: string | undefined;
|
|
281
|
+
service?: string | undefined;
|
|
282
|
+
normalizedUnitsToPurchase?: string | undefined;
|
|
283
|
+
term?: string | undefined;
|
|
284
|
+
paymentOption?: string | undefined;
|
|
285
|
+
numberOfInstancesToPurchase?: string | undefined;
|
|
286
|
+
instanceFamily?: string | undefined;
|
|
287
|
+
instanceType?: string | undefined;
|
|
288
|
+
reservedInstancesRegion?: string | undefined;
|
|
289
|
+
sizeFlexEligible?: boolean | undefined;
|
|
290
|
+
currentGeneration?: string | undefined;
|
|
291
|
+
upfrontCost?: string | undefined;
|
|
292
|
+
monthlyRecurringCost?: string | undefined;
|
|
293
|
+
licenseModel?: string | undefined;
|
|
294
|
+
databaseEdition?: string | undefined;
|
|
295
|
+
databaseEngine?: string | undefined;
|
|
296
|
+
deploymentOption?: string | undefined;
|
|
297
297
|
}
|
|
298
298
|
export interface RdsReservedInstances {
|
|
299
|
-
configuration?: RdsReservedInstancesConfiguration;
|
|
300
|
-
costCalculation?: ReservedInstancesCostCalculation;
|
|
299
|
+
configuration?: RdsReservedInstancesConfiguration | undefined;
|
|
300
|
+
costCalculation?: ReservedInstancesCostCalculation | undefined;
|
|
301
301
|
}
|
|
302
302
|
export interface RedshiftReservedInstancesConfiguration {
|
|
303
|
-
accountScope?: string;
|
|
304
|
-
service?: string;
|
|
305
|
-
normalizedUnitsToPurchase?: string;
|
|
306
|
-
term?: string;
|
|
307
|
-
paymentOption?: string;
|
|
308
|
-
numberOfInstancesToPurchase?: string;
|
|
309
|
-
instanceFamily?: string;
|
|
310
|
-
instanceType?: string;
|
|
311
|
-
reservedInstancesRegion?: string;
|
|
312
|
-
sizeFlexEligible?: boolean;
|
|
313
|
-
currentGeneration?: string;
|
|
314
|
-
upfrontCost?: string;
|
|
315
|
-
monthlyRecurringCost?: string;
|
|
303
|
+
accountScope?: string | undefined;
|
|
304
|
+
service?: string | undefined;
|
|
305
|
+
normalizedUnitsToPurchase?: string | undefined;
|
|
306
|
+
term?: string | undefined;
|
|
307
|
+
paymentOption?: string | undefined;
|
|
308
|
+
numberOfInstancesToPurchase?: string | undefined;
|
|
309
|
+
instanceFamily?: string | undefined;
|
|
310
|
+
instanceType?: string | undefined;
|
|
311
|
+
reservedInstancesRegion?: string | undefined;
|
|
312
|
+
sizeFlexEligible?: boolean | undefined;
|
|
313
|
+
currentGeneration?: string | undefined;
|
|
314
|
+
upfrontCost?: string | undefined;
|
|
315
|
+
monthlyRecurringCost?: string | undefined;
|
|
316
316
|
}
|
|
317
317
|
export interface RedshiftReservedInstances {
|
|
318
|
-
configuration?: RedshiftReservedInstancesConfiguration;
|
|
319
|
-
costCalculation?: ReservedInstancesCostCalculation;
|
|
318
|
+
configuration?: RedshiftReservedInstancesConfiguration | undefined;
|
|
319
|
+
costCalculation?: ReservedInstancesCostCalculation | undefined;
|
|
320
320
|
}
|
|
321
321
|
export interface SageMakerSavingsPlansConfiguration {
|
|
322
|
-
accountScope?: string;
|
|
323
|
-
term?: string;
|
|
324
|
-
paymentOption?: string;
|
|
325
|
-
hourlyCommitment?: string;
|
|
322
|
+
accountScope?: string | undefined;
|
|
323
|
+
term?: string | undefined;
|
|
324
|
+
paymentOption?: string | undefined;
|
|
325
|
+
hourlyCommitment?: string | undefined;
|
|
326
326
|
}
|
|
327
327
|
export interface SageMakerSavingsPlans {
|
|
328
|
-
configuration?: SageMakerSavingsPlansConfiguration;
|
|
329
|
-
costCalculation?: SavingsPlansCostCalculation;
|
|
328
|
+
configuration?: SageMakerSavingsPlansConfiguration | undefined;
|
|
329
|
+
costCalculation?: SavingsPlansCostCalculation | undefined;
|
|
330
330
|
}
|
|
331
331
|
export type ResourceDetails =
|
|
332
332
|
| ResourceDetails.ComputeSavingsPlansMember
|
|
@@ -687,33 +687,33 @@ export declare const Source: {
|
|
|
687
687
|
};
|
|
688
688
|
export type Source = (typeof Source)[keyof typeof Source];
|
|
689
689
|
export interface Tag {
|
|
690
|
-
key?: string;
|
|
691
|
-
value?: string;
|
|
690
|
+
key?: string | undefined;
|
|
691
|
+
value?: string | undefined;
|
|
692
692
|
}
|
|
693
693
|
export interface GetRecommendationResponse {
|
|
694
|
-
recommendationId?: string;
|
|
695
|
-
resourceId?: string;
|
|
696
|
-
resourceArn?: string;
|
|
697
|
-
accountId?: string;
|
|
698
|
-
currencyCode?: string;
|
|
699
|
-
recommendationLookbackPeriodInDays?: number;
|
|
700
|
-
costCalculationLookbackPeriodInDays?: number;
|
|
701
|
-
estimatedSavingsPercentage?: number;
|
|
702
|
-
estimatedSavingsOverCostCalculationLookbackPeriod?: number;
|
|
703
|
-
currentResourceType?: ResourceType;
|
|
704
|
-
recommendedResourceType?: ResourceType;
|
|
705
|
-
region?: string;
|
|
706
|
-
source?: Source;
|
|
707
|
-
lastRefreshTimestamp?: Date;
|
|
708
|
-
estimatedMonthlySavings?: number;
|
|
709
|
-
estimatedMonthlyCost?: number;
|
|
710
|
-
implementationEffort?: ImplementationEffort;
|
|
711
|
-
restartNeeded?: boolean;
|
|
712
|
-
actionType?: ActionType;
|
|
713
|
-
rollbackPossible?: boolean;
|
|
714
|
-
currentResourceDetails?: ResourceDetails;
|
|
715
|
-
recommendedResourceDetails?: ResourceDetails;
|
|
716
|
-
tags?: Tag[];
|
|
694
|
+
recommendationId?: string | undefined;
|
|
695
|
+
resourceId?: string | undefined;
|
|
696
|
+
resourceArn?: string | undefined;
|
|
697
|
+
accountId?: string | undefined;
|
|
698
|
+
currencyCode?: string | undefined;
|
|
699
|
+
recommendationLookbackPeriodInDays?: number | undefined;
|
|
700
|
+
costCalculationLookbackPeriodInDays?: number | undefined;
|
|
701
|
+
estimatedSavingsPercentage?: number | undefined;
|
|
702
|
+
estimatedSavingsOverCostCalculationLookbackPeriod?: number | undefined;
|
|
703
|
+
currentResourceType?: ResourceType | undefined;
|
|
704
|
+
recommendedResourceType?: ResourceType | undefined;
|
|
705
|
+
region?: string | undefined;
|
|
706
|
+
source?: Source | undefined;
|
|
707
|
+
lastRefreshTimestamp?: Date | undefined;
|
|
708
|
+
estimatedMonthlySavings?: number | undefined;
|
|
709
|
+
estimatedMonthlyCost?: number | undefined;
|
|
710
|
+
implementationEffort?: ImplementationEffort | undefined;
|
|
711
|
+
restartNeeded?: boolean | undefined;
|
|
712
|
+
actionType?: ActionType | undefined;
|
|
713
|
+
rollbackPossible?: boolean | undefined;
|
|
714
|
+
currentResourceDetails?: ResourceDetails | undefined;
|
|
715
|
+
recommendedResourceDetails?: ResourceDetails | undefined;
|
|
716
|
+
tags?: Tag[] | undefined;
|
|
717
717
|
}
|
|
718
718
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
719
719
|
readonly name: "ResourceNotFoundException";
|
|
@@ -724,28 +724,28 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
724
724
|
);
|
|
725
725
|
}
|
|
726
726
|
export interface ListEnrollmentStatusesRequest {
|
|
727
|
-
includeOrganizationInfo?: boolean;
|
|
728
|
-
accountId?: string;
|
|
729
|
-
nextToken?: string;
|
|
730
|
-
maxResults?: number;
|
|
727
|
+
includeOrganizationInfo?: boolean | undefined;
|
|
728
|
+
accountId?: string | undefined;
|
|
729
|
+
nextToken?: string | undefined;
|
|
730
|
+
maxResults?: number | undefined;
|
|
731
731
|
}
|
|
732
732
|
export interface ListEnrollmentStatusesResponse {
|
|
733
|
-
items?: AccountEnrollmentStatus[];
|
|
734
|
-
includeMemberAccounts?: boolean;
|
|
735
|
-
nextToken?: string;
|
|
733
|
+
items?: AccountEnrollmentStatus[] | undefined;
|
|
734
|
+
includeMemberAccounts?: boolean | undefined;
|
|
735
|
+
nextToken?: string | undefined;
|
|
736
736
|
}
|
|
737
737
|
export interface Filter {
|
|
738
|
-
restartNeeded?: boolean;
|
|
739
|
-
rollbackPossible?: boolean;
|
|
740
|
-
implementationEfforts?: ImplementationEffort[];
|
|
741
|
-
accountIds?: string[];
|
|
742
|
-
regions?: string[];
|
|
743
|
-
resourceTypes?: ResourceType[];
|
|
744
|
-
actionTypes?: ActionType[];
|
|
745
|
-
tags?: Tag[];
|
|
746
|
-
resourceIds?: string[];
|
|
747
|
-
resourceArns?: string[];
|
|
748
|
-
recommendationIds?: string[];
|
|
738
|
+
restartNeeded?: boolean | undefined;
|
|
739
|
+
rollbackPossible?: boolean | undefined;
|
|
740
|
+
implementationEfforts?: ImplementationEffort[] | undefined;
|
|
741
|
+
accountIds?: string[] | undefined;
|
|
742
|
+
regions?: string[] | undefined;
|
|
743
|
+
resourceTypes?: ResourceType[] | undefined;
|
|
744
|
+
actionTypes?: ActionType[] | undefined;
|
|
745
|
+
tags?: Tag[] | undefined;
|
|
746
|
+
resourceIds?: string[] | undefined;
|
|
747
|
+
resourceArns?: string[] | undefined;
|
|
748
|
+
recommendationIds?: string[] | undefined;
|
|
749
749
|
}
|
|
750
750
|
export declare const Order: {
|
|
751
751
|
readonly ASC: "Asc";
|
|
@@ -753,42 +753,42 @@ export declare const Order: {
|
|
|
753
753
|
};
|
|
754
754
|
export type Order = (typeof Order)[keyof typeof Order];
|
|
755
755
|
export interface OrderBy {
|
|
756
|
-
dimension?: string;
|
|
757
|
-
order?: Order;
|
|
756
|
+
dimension?: string | undefined;
|
|
757
|
+
order?: Order | undefined;
|
|
758
758
|
}
|
|
759
759
|
export interface ListRecommendationsRequest {
|
|
760
|
-
filter?: Filter;
|
|
761
|
-
orderBy?: OrderBy;
|
|
762
|
-
includeAllRecommendations?: boolean;
|
|
763
|
-
maxResults?: number;
|
|
764
|
-
nextToken?: string;
|
|
760
|
+
filter?: Filter | undefined;
|
|
761
|
+
orderBy?: OrderBy | undefined;
|
|
762
|
+
includeAllRecommendations?: boolean | undefined;
|
|
763
|
+
maxResults?: number | undefined;
|
|
764
|
+
nextToken?: string | undefined;
|
|
765
765
|
}
|
|
766
766
|
export interface Recommendation {
|
|
767
|
-
recommendationId?: string;
|
|
768
|
-
accountId?: string;
|
|
769
|
-
region?: string;
|
|
770
|
-
resourceId?: string;
|
|
771
|
-
resourceArn?: string;
|
|
772
|
-
currentResourceType?: string;
|
|
773
|
-
recommendedResourceType?: string;
|
|
774
|
-
estimatedMonthlySavings?: number;
|
|
775
|
-
estimatedSavingsPercentage?: number;
|
|
776
|
-
estimatedMonthlyCost?: number;
|
|
777
|
-
currencyCode?: string;
|
|
778
|
-
implementationEffort?: string;
|
|
779
|
-
restartNeeded?: boolean;
|
|
780
|
-
actionType?: string;
|
|
781
|
-
rollbackPossible?: boolean;
|
|
782
|
-
currentResourceSummary?: string;
|
|
783
|
-
recommendedResourceSummary?: string;
|
|
784
|
-
lastRefreshTimestamp?: Date;
|
|
785
|
-
recommendationLookbackPeriodInDays?: number;
|
|
786
|
-
source?: Source;
|
|
787
|
-
tags?: Tag[];
|
|
767
|
+
recommendationId?: string | undefined;
|
|
768
|
+
accountId?: string | undefined;
|
|
769
|
+
region?: string | undefined;
|
|
770
|
+
resourceId?: string | undefined;
|
|
771
|
+
resourceArn?: string | undefined;
|
|
772
|
+
currentResourceType?: string | undefined;
|
|
773
|
+
recommendedResourceType?: string | undefined;
|
|
774
|
+
estimatedMonthlySavings?: number | undefined;
|
|
775
|
+
estimatedSavingsPercentage?: number | undefined;
|
|
776
|
+
estimatedMonthlyCost?: number | undefined;
|
|
777
|
+
currencyCode?: string | undefined;
|
|
778
|
+
implementationEffort?: string | undefined;
|
|
779
|
+
restartNeeded?: boolean | undefined;
|
|
780
|
+
actionType?: string | undefined;
|
|
781
|
+
rollbackPossible?: boolean | undefined;
|
|
782
|
+
currentResourceSummary?: string | undefined;
|
|
783
|
+
recommendedResourceSummary?: string | undefined;
|
|
784
|
+
lastRefreshTimestamp?: Date | undefined;
|
|
785
|
+
recommendationLookbackPeriodInDays?: number | undefined;
|
|
786
|
+
source?: Source | undefined;
|
|
787
|
+
tags?: Tag[] | undefined;
|
|
788
788
|
}
|
|
789
789
|
export interface ListRecommendationsResponse {
|
|
790
|
-
items?: Recommendation[];
|
|
791
|
-
nextToken?: string;
|
|
790
|
+
items?: Recommendation[] | undefined;
|
|
791
|
+
nextToken?: string | undefined;
|
|
792
792
|
}
|
|
793
793
|
export declare const SummaryMetrics: {
|
|
794
794
|
readonly SAVINGS_PERCENTAGE: "SavingsPercentage";
|
|
@@ -796,40 +796,40 @@ export declare const SummaryMetrics: {
|
|
|
796
796
|
export type SummaryMetrics =
|
|
797
797
|
(typeof SummaryMetrics)[keyof typeof SummaryMetrics];
|
|
798
798
|
export interface ListRecommendationSummariesRequest {
|
|
799
|
-
filter?: Filter;
|
|
799
|
+
filter?: Filter | undefined;
|
|
800
800
|
groupBy: string | undefined;
|
|
801
|
-
maxResults?: number;
|
|
802
|
-
metrics?: SummaryMetrics[];
|
|
803
|
-
nextToken?: string;
|
|
801
|
+
maxResults?: number | undefined;
|
|
802
|
+
metrics?: SummaryMetrics[] | undefined;
|
|
803
|
+
nextToken?: string | undefined;
|
|
804
804
|
}
|
|
805
805
|
export interface RecommendationSummary {
|
|
806
|
-
group?: string;
|
|
807
|
-
estimatedMonthlySavings?: number;
|
|
808
|
-
recommendationCount?: number;
|
|
806
|
+
group?: string | undefined;
|
|
807
|
+
estimatedMonthlySavings?: number | undefined;
|
|
808
|
+
recommendationCount?: number | undefined;
|
|
809
809
|
}
|
|
810
810
|
export interface SummaryMetricsResult {
|
|
811
|
-
savingsPercentage?: string;
|
|
811
|
+
savingsPercentage?: string | undefined;
|
|
812
812
|
}
|
|
813
813
|
export interface ListRecommendationSummariesResponse {
|
|
814
|
-
estimatedTotalDedupedSavings?: number;
|
|
815
|
-
items?: RecommendationSummary[];
|
|
816
|
-
groupBy?: string;
|
|
817
|
-
currencyCode?: string;
|
|
818
|
-
metrics?: SummaryMetricsResult;
|
|
819
|
-
nextToken?: string;
|
|
814
|
+
estimatedTotalDedupedSavings?: number | undefined;
|
|
815
|
+
items?: RecommendationSummary[] | undefined;
|
|
816
|
+
groupBy?: string | undefined;
|
|
817
|
+
currencyCode?: string | undefined;
|
|
818
|
+
metrics?: SummaryMetricsResult | undefined;
|
|
819
|
+
nextToken?: string | undefined;
|
|
820
820
|
}
|
|
821
821
|
export interface UpdateEnrollmentStatusRequest {
|
|
822
822
|
status: EnrollmentStatus | undefined;
|
|
823
|
-
includeMemberAccounts?: boolean;
|
|
823
|
+
includeMemberAccounts?: boolean | undefined;
|
|
824
824
|
}
|
|
825
825
|
export interface UpdateEnrollmentStatusResponse {
|
|
826
|
-
status?: string;
|
|
826
|
+
status?: string | undefined;
|
|
827
827
|
}
|
|
828
828
|
export interface UpdatePreferencesRequest {
|
|
829
|
-
savingsEstimationMode?: SavingsEstimationMode;
|
|
830
|
-
memberAccountDiscountVisibility?: MemberAccountDiscountVisibility;
|
|
829
|
+
savingsEstimationMode?: SavingsEstimationMode | undefined;
|
|
830
|
+
memberAccountDiscountVisibility?: MemberAccountDiscountVisibility | undefined;
|
|
831
831
|
}
|
|
832
832
|
export interface UpdatePreferencesResponse {
|
|
833
|
-
savingsEstimationMode?: SavingsEstimationMode;
|
|
834
|
-
memberAccountDiscountVisibility?: MemberAccountDiscountVisibility;
|
|
833
|
+
savingsEstimationMode?: SavingsEstimationMode | undefined;
|
|
834
|
+
memberAccountDiscountVisibility?: MemberAccountDiscountVisibility | undefined;
|
|
835
835
|
}
|