@aws-sdk/client-cost-optimization-hub 3.458.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/LICENSE +201 -0
- package/README.md +268 -0
- package/dist-cjs/CostOptimizationHub.js +25 -0
- package/dist-cjs/CostOptimizationHubClient.js +43 -0
- package/dist-cjs/commands/GetPreferencesCommand.js +51 -0
- package/dist-cjs/commands/GetRecommendationCommand.js +51 -0
- package/dist-cjs/commands/ListEnrollmentStatusesCommand.js +51 -0
- package/dist-cjs/commands/ListRecommendationSummariesCommand.js +51 -0
- package/dist-cjs/commands/ListRecommendationsCommand.js +51 -0
- package/dist-cjs/commands/UpdateEnrollmentStatusCommand.js +51 -0
- package/dist-cjs/commands/UpdatePreferencesCommand.js +51 -0
- package/dist-cjs/commands/index.js +10 -0
- package/dist-cjs/endpoint/EndpointParameters.js +12 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +12 -0
- package/dist-cjs/models/CostOptimizationHubServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +158 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListEnrollmentStatusesPaginator.js +29 -0
- package/dist-cjs/pagination/ListRecommendationSummariesPaginator.js +29 -0
- package/dist-cjs/pagination/ListRecommendationsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +7 -0
- package/dist-cjs/protocols/Aws_json1_0.js +830 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +24 -0
- package/dist-cjs/runtimeExtensions.js +22 -0
- package/dist-es/CostOptimizationHub.js +21 -0
- package/dist-es/CostOptimizationHubClient.js +39 -0
- package/dist-es/commands/GetPreferencesCommand.js +47 -0
- package/dist-es/commands/GetRecommendationCommand.js +47 -0
- package/dist-es/commands/ListEnrollmentStatusesCommand.js +47 -0
- package/dist-es/commands/ListRecommendationSummariesCommand.js +47 -0
- package/dist-es/commands/ListRecommendationsCommand.js +47 -0
- package/dist-es/commands/UpdateEnrollmentStatusCommand.js +47 -0
- package/dist-es/commands/UpdatePreferencesCommand.js +47 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +7 -0
- package/dist-es/models/CostOptimizationHubServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +150 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListEnrollmentStatusesPaginator.js +25 -0
- package/dist-es/pagination/ListRecommendationSummariesPaginator.js +25 -0
- package/dist-es/pagination/ListRecommendationsPaginator.js +25 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_json1_0.js +813 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +20 -0
- package/dist-es/runtimeExtensions.js +18 -0
- package/dist-types/CostOptimizationHub.d.ts +66 -0
- package/dist-types/CostOptimizationHubClient.d.ts +183 -0
- package/dist-types/commands/GetPreferencesCommand.d.ts +89 -0
- package/dist-types/commands/GetRecommendationCommand.d.ts +647 -0
- package/dist-types/commands/ListEnrollmentStatusesCommand.d.ts +99 -0
- package/dist-types/commands/ListRecommendationSummariesCommand.d.ts +138 -0
- package/dist-types/commands/ListRecommendationsCommand.d.ts +157 -0
- package/dist-types/commands/UpdateEnrollmentStatusCommand.d.ts +94 -0
- package/dist-types/commands/UpdatePreferencesCommand.d.ts +91 -0
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +22 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +8 -0
- package/dist-types/index.d.ts +22 -0
- package/dist-types/models/CostOptimizationHubServiceException.d.ts +13 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +2141 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListEnrollmentStatusesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListRecommendationSummariesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListRecommendationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +65 -0
- package/dist-types/runtimeConfig.browser.d.ts +46 -0
- package/dist-types/runtimeConfig.d.ts +46 -0
- package/dist-types/runtimeConfig.native.d.ts +45 -0
- package/dist-types/runtimeConfig.shared.d.ts +19 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/CostOptimizationHub.d.ts +126 -0
- package/dist-types/ts3.4/CostOptimizationHubClient.d.ts +163 -0
- package/dist-types/ts3.4/commands/GetPreferencesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetRecommendationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListEnrollmentStatusesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListRecommendationSummariesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListRecommendationsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateEnrollmentStatusCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdatePreferencesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
- package/dist-types/ts3.4/index.d.ts +10 -0
- package/dist-types/ts3.4/models/CostOptimizationHubServiceException.d.ts +8 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +734 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListEnrollmentStatusesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRecommendationSummariesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRecommendationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +89 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +99 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +99 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +90 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
- package/package.json +102 -0
|
@@ -0,0 +1,734 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { CostOptimizationHubServiceException as __BaseException } from "./CostOptimizationHubServiceException";
|
|
3
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
+
readonly name: "AccessDeniedException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
constructor(
|
|
7
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
8
|
+
);
|
|
9
|
+
}
|
|
10
|
+
export declare const EnrollmentStatus: {
|
|
11
|
+
readonly ACTIVE: "Active";
|
|
12
|
+
readonly INACTIVE: "Inactive";
|
|
13
|
+
};
|
|
14
|
+
export type EnrollmentStatus =
|
|
15
|
+
(typeof EnrollmentStatus)[keyof typeof EnrollmentStatus];
|
|
16
|
+
export interface AccountEnrollmentStatus {
|
|
17
|
+
accountId?: string;
|
|
18
|
+
status?: EnrollmentStatus;
|
|
19
|
+
lastUpdatedTimestamp?: Date;
|
|
20
|
+
createdTimestamp?: Date;
|
|
21
|
+
}
|
|
22
|
+
export declare const ActionType: {
|
|
23
|
+
readonly MIGRATE_TO_GRAVITON: "MigrateToGraviton";
|
|
24
|
+
readonly PURCHASE_RESERVED_INSTANCES: "PurchaseReservedInstances";
|
|
25
|
+
readonly PURCHASE_SAVINGS_PLANS: "PurchaseSavingsPlans";
|
|
26
|
+
readonly RIGHTSIZE: "Rightsize";
|
|
27
|
+
readonly STOP: "Stop";
|
|
28
|
+
readonly UPGRADE: "Upgrade";
|
|
29
|
+
};
|
|
30
|
+
export type ActionType = (typeof ActionType)[keyof typeof ActionType];
|
|
31
|
+
export interface BlockStoragePerformanceConfiguration {
|
|
32
|
+
iops?: number;
|
|
33
|
+
throughput?: number;
|
|
34
|
+
}
|
|
35
|
+
export interface ComputeConfiguration {
|
|
36
|
+
vCpu?: number;
|
|
37
|
+
memorySizeInMB?: number;
|
|
38
|
+
architecture?: string;
|
|
39
|
+
platform?: string;
|
|
40
|
+
}
|
|
41
|
+
export interface ComputeSavingsPlansConfiguration {
|
|
42
|
+
accountScope?: string;
|
|
43
|
+
term?: string;
|
|
44
|
+
paymentOption?: string;
|
|
45
|
+
hourlyCommitment?: string;
|
|
46
|
+
}
|
|
47
|
+
export interface SavingsPlansPricing {
|
|
48
|
+
monthlySavingsPlansEligibleCost?: number;
|
|
49
|
+
estimatedMonthlyCommitment?: number;
|
|
50
|
+
savingsPercentage?: number;
|
|
51
|
+
estimatedOnDemandCost?: number;
|
|
52
|
+
}
|
|
53
|
+
export interface SavingsPlansCostCalculation {
|
|
54
|
+
pricing?: SavingsPlansPricing;
|
|
55
|
+
}
|
|
56
|
+
export interface ComputeSavingsPlans {
|
|
57
|
+
configuration?: ComputeSavingsPlansConfiguration;
|
|
58
|
+
costCalculation?: SavingsPlansCostCalculation;
|
|
59
|
+
}
|
|
60
|
+
export interface GetPreferencesRequest {}
|
|
61
|
+
export declare const MemberAccountDiscountVisibility: {
|
|
62
|
+
readonly ALL: "All";
|
|
63
|
+
readonly NONE: "None";
|
|
64
|
+
};
|
|
65
|
+
export type MemberAccountDiscountVisibility =
|
|
66
|
+
(typeof MemberAccountDiscountVisibility)[keyof typeof MemberAccountDiscountVisibility];
|
|
67
|
+
export declare const SavingsEstimationMode: {
|
|
68
|
+
readonly AFTER_DISCOUNTS: "AfterDiscounts";
|
|
69
|
+
readonly BEFORE_DISCOUNTS: "BeforeDiscounts";
|
|
70
|
+
};
|
|
71
|
+
export type SavingsEstimationMode =
|
|
72
|
+
(typeof SavingsEstimationMode)[keyof typeof SavingsEstimationMode];
|
|
73
|
+
export interface GetPreferencesResponse {
|
|
74
|
+
savingsEstimationMode?: SavingsEstimationMode;
|
|
75
|
+
memberAccountDiscountVisibility?: MemberAccountDiscountVisibility;
|
|
76
|
+
}
|
|
77
|
+
export declare class InternalServerException extends __BaseException {
|
|
78
|
+
readonly name: "InternalServerException";
|
|
79
|
+
readonly $fault: "server";
|
|
80
|
+
constructor(
|
|
81
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
82
|
+
);
|
|
83
|
+
}
|
|
84
|
+
export declare class ThrottlingException extends __BaseException {
|
|
85
|
+
readonly name: "ThrottlingException";
|
|
86
|
+
readonly $fault: "client";
|
|
87
|
+
constructor(
|
|
88
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
89
|
+
);
|
|
90
|
+
}
|
|
91
|
+
export interface ValidationExceptionDetail {
|
|
92
|
+
fieldName: string | undefined;
|
|
93
|
+
message: string | undefined;
|
|
94
|
+
}
|
|
95
|
+
export declare const ValidationExceptionReason: {
|
|
96
|
+
readonly FIELD_VALIDATION_FAILED: "FieldValidationFailed";
|
|
97
|
+
readonly OTHER: "Other";
|
|
98
|
+
};
|
|
99
|
+
export type ValidationExceptionReason =
|
|
100
|
+
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
101
|
+
export declare class ValidationException extends __BaseException {
|
|
102
|
+
readonly name: "ValidationException";
|
|
103
|
+
readonly $fault: "client";
|
|
104
|
+
reason?: ValidationExceptionReason;
|
|
105
|
+
fields?: ValidationExceptionDetail[];
|
|
106
|
+
constructor(
|
|
107
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
108
|
+
);
|
|
109
|
+
}
|
|
110
|
+
export interface GetRecommendationRequest {
|
|
111
|
+
recommendationId: string | undefined;
|
|
112
|
+
}
|
|
113
|
+
export interface StorageConfiguration {
|
|
114
|
+
type?: string;
|
|
115
|
+
sizeInGb?: number;
|
|
116
|
+
}
|
|
117
|
+
export interface EbsVolumeConfiguration {
|
|
118
|
+
storage?: StorageConfiguration;
|
|
119
|
+
performance?: BlockStoragePerformanceConfiguration;
|
|
120
|
+
attachmentState?: string;
|
|
121
|
+
}
|
|
122
|
+
export interface EstimatedDiscounts {
|
|
123
|
+
savingsPlansDiscount?: number;
|
|
124
|
+
reservedInstancesDiscount?: number;
|
|
125
|
+
otherDiscount?: number;
|
|
126
|
+
}
|
|
127
|
+
export interface ResourcePricing {
|
|
128
|
+
estimatedCostBeforeDiscounts?: number;
|
|
129
|
+
estimatedNetUnusedAmortizedCommitments?: number;
|
|
130
|
+
estimatedDiscounts?: EstimatedDiscounts;
|
|
131
|
+
estimatedCostAfterDiscounts?: number;
|
|
132
|
+
}
|
|
133
|
+
export interface Usage {
|
|
134
|
+
usageType?: string;
|
|
135
|
+
usageAmount?: number;
|
|
136
|
+
operation?: string;
|
|
137
|
+
productCode?: string;
|
|
138
|
+
unit?: string;
|
|
139
|
+
}
|
|
140
|
+
export interface ResourceCostCalculation {
|
|
141
|
+
usages?: Usage[];
|
|
142
|
+
pricing?: ResourcePricing;
|
|
143
|
+
}
|
|
144
|
+
export interface EbsVolume {
|
|
145
|
+
configuration?: EbsVolumeConfiguration;
|
|
146
|
+
costCalculation?: ResourceCostCalculation;
|
|
147
|
+
}
|
|
148
|
+
export interface InstanceConfiguration {
|
|
149
|
+
type?: string;
|
|
150
|
+
}
|
|
151
|
+
export interface Ec2AutoScalingGroupConfiguration {
|
|
152
|
+
instance?: InstanceConfiguration;
|
|
153
|
+
}
|
|
154
|
+
export interface Ec2AutoScalingGroup {
|
|
155
|
+
configuration?: Ec2AutoScalingGroupConfiguration;
|
|
156
|
+
costCalculation?: ResourceCostCalculation;
|
|
157
|
+
}
|
|
158
|
+
export interface Ec2InstanceConfiguration {
|
|
159
|
+
instance?: InstanceConfiguration;
|
|
160
|
+
}
|
|
161
|
+
export interface Ec2Instance {
|
|
162
|
+
configuration?: Ec2InstanceConfiguration;
|
|
163
|
+
costCalculation?: ResourceCostCalculation;
|
|
164
|
+
}
|
|
165
|
+
export interface Ec2InstanceSavingsPlansConfiguration {
|
|
166
|
+
accountScope?: string;
|
|
167
|
+
term?: string;
|
|
168
|
+
paymentOption?: string;
|
|
169
|
+
hourlyCommitment?: string;
|
|
170
|
+
instanceFamily?: string;
|
|
171
|
+
savingsPlansRegion?: string;
|
|
172
|
+
}
|
|
173
|
+
export interface Ec2InstanceSavingsPlans {
|
|
174
|
+
configuration?: Ec2InstanceSavingsPlansConfiguration;
|
|
175
|
+
costCalculation?: SavingsPlansCostCalculation;
|
|
176
|
+
}
|
|
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;
|
|
194
|
+
}
|
|
195
|
+
export interface ReservedInstancesPricing {
|
|
196
|
+
estimatedOnDemandCost?: number;
|
|
197
|
+
monthlyReservationEligibleCost?: number;
|
|
198
|
+
savingsPercentage?: number;
|
|
199
|
+
estimatedMonthlyAmortizedReservationCost?: number;
|
|
200
|
+
}
|
|
201
|
+
export interface ReservedInstancesCostCalculation {
|
|
202
|
+
pricing?: ReservedInstancesPricing;
|
|
203
|
+
}
|
|
204
|
+
export interface Ec2ReservedInstances {
|
|
205
|
+
configuration?: Ec2ReservedInstancesConfiguration;
|
|
206
|
+
costCalculation?: ReservedInstancesCostCalculation;
|
|
207
|
+
}
|
|
208
|
+
export interface EcsServiceConfiguration {
|
|
209
|
+
compute?: ComputeConfiguration;
|
|
210
|
+
}
|
|
211
|
+
export interface EcsService {
|
|
212
|
+
configuration?: EcsServiceConfiguration;
|
|
213
|
+
costCalculation?: ResourceCostCalculation;
|
|
214
|
+
}
|
|
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;
|
|
229
|
+
}
|
|
230
|
+
export interface ElastiCacheReservedInstances {
|
|
231
|
+
configuration?: ElastiCacheReservedInstancesConfiguration;
|
|
232
|
+
costCalculation?: ReservedInstancesCostCalculation;
|
|
233
|
+
}
|
|
234
|
+
export interface LambdaFunctionConfiguration {
|
|
235
|
+
compute?: ComputeConfiguration;
|
|
236
|
+
}
|
|
237
|
+
export interface LambdaFunction {
|
|
238
|
+
configuration?: LambdaFunctionConfiguration;
|
|
239
|
+
costCalculation?: ResourceCostCalculation;
|
|
240
|
+
}
|
|
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;
|
|
254
|
+
}
|
|
255
|
+
export interface OpenSearchReservedInstances {
|
|
256
|
+
configuration?: OpenSearchReservedInstancesConfiguration;
|
|
257
|
+
costCalculation?: ReservedInstancesCostCalculation;
|
|
258
|
+
}
|
|
259
|
+
export interface RdsReservedInstancesConfiguration {
|
|
260
|
+
accountScope?: string;
|
|
261
|
+
service?: string;
|
|
262
|
+
normalizedUnitsToPurchase?: string;
|
|
263
|
+
term?: string;
|
|
264
|
+
paymentOption?: string;
|
|
265
|
+
numberOfInstancesToPurchase?: string;
|
|
266
|
+
instanceFamily?: string;
|
|
267
|
+
instanceType?: string;
|
|
268
|
+
reservedInstancesRegion?: string;
|
|
269
|
+
sizeFlexEligible?: boolean;
|
|
270
|
+
currentGeneration?: string;
|
|
271
|
+
upfrontCost?: string;
|
|
272
|
+
monthlyRecurringCost?: string;
|
|
273
|
+
licenseModel?: string;
|
|
274
|
+
databaseEdition?: string;
|
|
275
|
+
databaseEngine?: string;
|
|
276
|
+
deploymentOption?: string;
|
|
277
|
+
}
|
|
278
|
+
export interface RdsReservedInstances {
|
|
279
|
+
configuration?: RdsReservedInstancesConfiguration;
|
|
280
|
+
costCalculation?: ReservedInstancesCostCalculation;
|
|
281
|
+
}
|
|
282
|
+
export interface RedshiftReservedInstancesConfiguration {
|
|
283
|
+
accountScope?: string;
|
|
284
|
+
service?: string;
|
|
285
|
+
normalizedUnitsToPurchase?: string;
|
|
286
|
+
term?: string;
|
|
287
|
+
paymentOption?: string;
|
|
288
|
+
numberOfInstancesToPurchase?: string;
|
|
289
|
+
instanceFamily?: string;
|
|
290
|
+
instanceType?: string;
|
|
291
|
+
reservedInstancesRegion?: string;
|
|
292
|
+
sizeFlexEligible?: boolean;
|
|
293
|
+
currentGeneration?: string;
|
|
294
|
+
upfrontCost?: string;
|
|
295
|
+
monthlyRecurringCost?: string;
|
|
296
|
+
}
|
|
297
|
+
export interface RedshiftReservedInstances {
|
|
298
|
+
configuration?: RedshiftReservedInstancesConfiguration;
|
|
299
|
+
costCalculation?: ReservedInstancesCostCalculation;
|
|
300
|
+
}
|
|
301
|
+
export interface SageMakerSavingsPlansConfiguration {
|
|
302
|
+
accountScope?: string;
|
|
303
|
+
term?: string;
|
|
304
|
+
paymentOption?: string;
|
|
305
|
+
hourlyCommitment?: string;
|
|
306
|
+
}
|
|
307
|
+
export interface SageMakerSavingsPlans {
|
|
308
|
+
configuration?: SageMakerSavingsPlansConfiguration;
|
|
309
|
+
costCalculation?: SavingsPlansCostCalculation;
|
|
310
|
+
}
|
|
311
|
+
export type ResourceDetails =
|
|
312
|
+
| ResourceDetails.ComputeSavingsPlansMember
|
|
313
|
+
| ResourceDetails.EbsVolumeMember
|
|
314
|
+
| ResourceDetails.Ec2AutoScalingGroupMember
|
|
315
|
+
| ResourceDetails.Ec2InstanceMember
|
|
316
|
+
| ResourceDetails.Ec2InstanceSavingsPlansMember
|
|
317
|
+
| ResourceDetails.Ec2ReservedInstancesMember
|
|
318
|
+
| ResourceDetails.EcsServiceMember
|
|
319
|
+
| ResourceDetails.ElastiCacheReservedInstancesMember
|
|
320
|
+
| ResourceDetails.LambdaFunctionMember
|
|
321
|
+
| ResourceDetails.OpenSearchReservedInstancesMember
|
|
322
|
+
| ResourceDetails.RdsReservedInstancesMember
|
|
323
|
+
| ResourceDetails.RedshiftReservedInstancesMember
|
|
324
|
+
| ResourceDetails.SageMakerSavingsPlansMember
|
|
325
|
+
| ResourceDetails.$UnknownMember;
|
|
326
|
+
export declare namespace ResourceDetails {
|
|
327
|
+
interface LambdaFunctionMember {
|
|
328
|
+
lambdaFunction: LambdaFunction;
|
|
329
|
+
ecsService?: never;
|
|
330
|
+
ec2Instance?: never;
|
|
331
|
+
ebsVolume?: never;
|
|
332
|
+
ec2AutoScalingGroup?: never;
|
|
333
|
+
ec2ReservedInstances?: never;
|
|
334
|
+
rdsReservedInstances?: never;
|
|
335
|
+
elastiCacheReservedInstances?: never;
|
|
336
|
+
openSearchReservedInstances?: never;
|
|
337
|
+
redshiftReservedInstances?: never;
|
|
338
|
+
ec2InstanceSavingsPlans?: never;
|
|
339
|
+
computeSavingsPlans?: never;
|
|
340
|
+
sageMakerSavingsPlans?: never;
|
|
341
|
+
$unknown?: never;
|
|
342
|
+
}
|
|
343
|
+
interface EcsServiceMember {
|
|
344
|
+
lambdaFunction?: never;
|
|
345
|
+
ecsService: EcsService;
|
|
346
|
+
ec2Instance?: never;
|
|
347
|
+
ebsVolume?: never;
|
|
348
|
+
ec2AutoScalingGroup?: never;
|
|
349
|
+
ec2ReservedInstances?: never;
|
|
350
|
+
rdsReservedInstances?: never;
|
|
351
|
+
elastiCacheReservedInstances?: never;
|
|
352
|
+
openSearchReservedInstances?: never;
|
|
353
|
+
redshiftReservedInstances?: never;
|
|
354
|
+
ec2InstanceSavingsPlans?: never;
|
|
355
|
+
computeSavingsPlans?: never;
|
|
356
|
+
sageMakerSavingsPlans?: never;
|
|
357
|
+
$unknown?: never;
|
|
358
|
+
}
|
|
359
|
+
interface Ec2InstanceMember {
|
|
360
|
+
lambdaFunction?: never;
|
|
361
|
+
ecsService?: never;
|
|
362
|
+
ec2Instance: Ec2Instance;
|
|
363
|
+
ebsVolume?: never;
|
|
364
|
+
ec2AutoScalingGroup?: never;
|
|
365
|
+
ec2ReservedInstances?: never;
|
|
366
|
+
rdsReservedInstances?: never;
|
|
367
|
+
elastiCacheReservedInstances?: never;
|
|
368
|
+
openSearchReservedInstances?: never;
|
|
369
|
+
redshiftReservedInstances?: never;
|
|
370
|
+
ec2InstanceSavingsPlans?: never;
|
|
371
|
+
computeSavingsPlans?: never;
|
|
372
|
+
sageMakerSavingsPlans?: never;
|
|
373
|
+
$unknown?: never;
|
|
374
|
+
}
|
|
375
|
+
interface EbsVolumeMember {
|
|
376
|
+
lambdaFunction?: never;
|
|
377
|
+
ecsService?: never;
|
|
378
|
+
ec2Instance?: never;
|
|
379
|
+
ebsVolume: EbsVolume;
|
|
380
|
+
ec2AutoScalingGroup?: never;
|
|
381
|
+
ec2ReservedInstances?: never;
|
|
382
|
+
rdsReservedInstances?: never;
|
|
383
|
+
elastiCacheReservedInstances?: never;
|
|
384
|
+
openSearchReservedInstances?: never;
|
|
385
|
+
redshiftReservedInstances?: never;
|
|
386
|
+
ec2InstanceSavingsPlans?: never;
|
|
387
|
+
computeSavingsPlans?: never;
|
|
388
|
+
sageMakerSavingsPlans?: never;
|
|
389
|
+
$unknown?: never;
|
|
390
|
+
}
|
|
391
|
+
interface Ec2AutoScalingGroupMember {
|
|
392
|
+
lambdaFunction?: never;
|
|
393
|
+
ecsService?: never;
|
|
394
|
+
ec2Instance?: never;
|
|
395
|
+
ebsVolume?: never;
|
|
396
|
+
ec2AutoScalingGroup: Ec2AutoScalingGroup;
|
|
397
|
+
ec2ReservedInstances?: never;
|
|
398
|
+
rdsReservedInstances?: never;
|
|
399
|
+
elastiCacheReservedInstances?: never;
|
|
400
|
+
openSearchReservedInstances?: never;
|
|
401
|
+
redshiftReservedInstances?: never;
|
|
402
|
+
ec2InstanceSavingsPlans?: never;
|
|
403
|
+
computeSavingsPlans?: never;
|
|
404
|
+
sageMakerSavingsPlans?: never;
|
|
405
|
+
$unknown?: never;
|
|
406
|
+
}
|
|
407
|
+
interface Ec2ReservedInstancesMember {
|
|
408
|
+
lambdaFunction?: never;
|
|
409
|
+
ecsService?: never;
|
|
410
|
+
ec2Instance?: never;
|
|
411
|
+
ebsVolume?: never;
|
|
412
|
+
ec2AutoScalingGroup?: never;
|
|
413
|
+
ec2ReservedInstances: Ec2ReservedInstances;
|
|
414
|
+
rdsReservedInstances?: never;
|
|
415
|
+
elastiCacheReservedInstances?: never;
|
|
416
|
+
openSearchReservedInstances?: never;
|
|
417
|
+
redshiftReservedInstances?: never;
|
|
418
|
+
ec2InstanceSavingsPlans?: never;
|
|
419
|
+
computeSavingsPlans?: never;
|
|
420
|
+
sageMakerSavingsPlans?: never;
|
|
421
|
+
$unknown?: never;
|
|
422
|
+
}
|
|
423
|
+
interface RdsReservedInstancesMember {
|
|
424
|
+
lambdaFunction?: never;
|
|
425
|
+
ecsService?: never;
|
|
426
|
+
ec2Instance?: never;
|
|
427
|
+
ebsVolume?: never;
|
|
428
|
+
ec2AutoScalingGroup?: never;
|
|
429
|
+
ec2ReservedInstances?: never;
|
|
430
|
+
rdsReservedInstances: RdsReservedInstances;
|
|
431
|
+
elastiCacheReservedInstances?: never;
|
|
432
|
+
openSearchReservedInstances?: never;
|
|
433
|
+
redshiftReservedInstances?: never;
|
|
434
|
+
ec2InstanceSavingsPlans?: never;
|
|
435
|
+
computeSavingsPlans?: never;
|
|
436
|
+
sageMakerSavingsPlans?: never;
|
|
437
|
+
$unknown?: never;
|
|
438
|
+
}
|
|
439
|
+
interface ElastiCacheReservedInstancesMember {
|
|
440
|
+
lambdaFunction?: never;
|
|
441
|
+
ecsService?: never;
|
|
442
|
+
ec2Instance?: never;
|
|
443
|
+
ebsVolume?: never;
|
|
444
|
+
ec2AutoScalingGroup?: never;
|
|
445
|
+
ec2ReservedInstances?: never;
|
|
446
|
+
rdsReservedInstances?: never;
|
|
447
|
+
elastiCacheReservedInstances: ElastiCacheReservedInstances;
|
|
448
|
+
openSearchReservedInstances?: never;
|
|
449
|
+
redshiftReservedInstances?: never;
|
|
450
|
+
ec2InstanceSavingsPlans?: never;
|
|
451
|
+
computeSavingsPlans?: never;
|
|
452
|
+
sageMakerSavingsPlans?: never;
|
|
453
|
+
$unknown?: never;
|
|
454
|
+
}
|
|
455
|
+
interface OpenSearchReservedInstancesMember {
|
|
456
|
+
lambdaFunction?: never;
|
|
457
|
+
ecsService?: never;
|
|
458
|
+
ec2Instance?: never;
|
|
459
|
+
ebsVolume?: never;
|
|
460
|
+
ec2AutoScalingGroup?: never;
|
|
461
|
+
ec2ReservedInstances?: never;
|
|
462
|
+
rdsReservedInstances?: never;
|
|
463
|
+
elastiCacheReservedInstances?: never;
|
|
464
|
+
openSearchReservedInstances: OpenSearchReservedInstances;
|
|
465
|
+
redshiftReservedInstances?: never;
|
|
466
|
+
ec2InstanceSavingsPlans?: never;
|
|
467
|
+
computeSavingsPlans?: never;
|
|
468
|
+
sageMakerSavingsPlans?: never;
|
|
469
|
+
$unknown?: never;
|
|
470
|
+
}
|
|
471
|
+
interface RedshiftReservedInstancesMember {
|
|
472
|
+
lambdaFunction?: never;
|
|
473
|
+
ecsService?: never;
|
|
474
|
+
ec2Instance?: never;
|
|
475
|
+
ebsVolume?: never;
|
|
476
|
+
ec2AutoScalingGroup?: never;
|
|
477
|
+
ec2ReservedInstances?: never;
|
|
478
|
+
rdsReservedInstances?: never;
|
|
479
|
+
elastiCacheReservedInstances?: never;
|
|
480
|
+
openSearchReservedInstances?: never;
|
|
481
|
+
redshiftReservedInstances: RedshiftReservedInstances;
|
|
482
|
+
ec2InstanceSavingsPlans?: never;
|
|
483
|
+
computeSavingsPlans?: never;
|
|
484
|
+
sageMakerSavingsPlans?: never;
|
|
485
|
+
$unknown?: never;
|
|
486
|
+
}
|
|
487
|
+
interface Ec2InstanceSavingsPlansMember {
|
|
488
|
+
lambdaFunction?: never;
|
|
489
|
+
ecsService?: never;
|
|
490
|
+
ec2Instance?: never;
|
|
491
|
+
ebsVolume?: never;
|
|
492
|
+
ec2AutoScalingGroup?: never;
|
|
493
|
+
ec2ReservedInstances?: never;
|
|
494
|
+
rdsReservedInstances?: never;
|
|
495
|
+
elastiCacheReservedInstances?: never;
|
|
496
|
+
openSearchReservedInstances?: never;
|
|
497
|
+
redshiftReservedInstances?: never;
|
|
498
|
+
ec2InstanceSavingsPlans: Ec2InstanceSavingsPlans;
|
|
499
|
+
computeSavingsPlans?: never;
|
|
500
|
+
sageMakerSavingsPlans?: never;
|
|
501
|
+
$unknown?: never;
|
|
502
|
+
}
|
|
503
|
+
interface ComputeSavingsPlansMember {
|
|
504
|
+
lambdaFunction?: never;
|
|
505
|
+
ecsService?: never;
|
|
506
|
+
ec2Instance?: never;
|
|
507
|
+
ebsVolume?: never;
|
|
508
|
+
ec2AutoScalingGroup?: never;
|
|
509
|
+
ec2ReservedInstances?: never;
|
|
510
|
+
rdsReservedInstances?: never;
|
|
511
|
+
elastiCacheReservedInstances?: never;
|
|
512
|
+
openSearchReservedInstances?: never;
|
|
513
|
+
redshiftReservedInstances?: never;
|
|
514
|
+
ec2InstanceSavingsPlans?: never;
|
|
515
|
+
computeSavingsPlans: ComputeSavingsPlans;
|
|
516
|
+
sageMakerSavingsPlans?: never;
|
|
517
|
+
$unknown?: never;
|
|
518
|
+
}
|
|
519
|
+
interface SageMakerSavingsPlansMember {
|
|
520
|
+
lambdaFunction?: never;
|
|
521
|
+
ecsService?: never;
|
|
522
|
+
ec2Instance?: never;
|
|
523
|
+
ebsVolume?: never;
|
|
524
|
+
ec2AutoScalingGroup?: never;
|
|
525
|
+
ec2ReservedInstances?: never;
|
|
526
|
+
rdsReservedInstances?: never;
|
|
527
|
+
elastiCacheReservedInstances?: never;
|
|
528
|
+
openSearchReservedInstances?: never;
|
|
529
|
+
redshiftReservedInstances?: never;
|
|
530
|
+
ec2InstanceSavingsPlans?: never;
|
|
531
|
+
computeSavingsPlans?: never;
|
|
532
|
+
sageMakerSavingsPlans: SageMakerSavingsPlans;
|
|
533
|
+
$unknown?: never;
|
|
534
|
+
}
|
|
535
|
+
interface $UnknownMember {
|
|
536
|
+
lambdaFunction?: never;
|
|
537
|
+
ecsService?: never;
|
|
538
|
+
ec2Instance?: never;
|
|
539
|
+
ebsVolume?: never;
|
|
540
|
+
ec2AutoScalingGroup?: never;
|
|
541
|
+
ec2ReservedInstances?: never;
|
|
542
|
+
rdsReservedInstances?: never;
|
|
543
|
+
elastiCacheReservedInstances?: never;
|
|
544
|
+
openSearchReservedInstances?: never;
|
|
545
|
+
redshiftReservedInstances?: never;
|
|
546
|
+
ec2InstanceSavingsPlans?: never;
|
|
547
|
+
computeSavingsPlans?: never;
|
|
548
|
+
sageMakerSavingsPlans?: never;
|
|
549
|
+
$unknown: [string, any];
|
|
550
|
+
}
|
|
551
|
+
interface Visitor<T> {
|
|
552
|
+
lambdaFunction: (value: LambdaFunction) => T;
|
|
553
|
+
ecsService: (value: EcsService) => T;
|
|
554
|
+
ec2Instance: (value: Ec2Instance) => T;
|
|
555
|
+
ebsVolume: (value: EbsVolume) => T;
|
|
556
|
+
ec2AutoScalingGroup: (value: Ec2AutoScalingGroup) => T;
|
|
557
|
+
ec2ReservedInstances: (value: Ec2ReservedInstances) => T;
|
|
558
|
+
rdsReservedInstances: (value: RdsReservedInstances) => T;
|
|
559
|
+
elastiCacheReservedInstances: (value: ElastiCacheReservedInstances) => T;
|
|
560
|
+
openSearchReservedInstances: (value: OpenSearchReservedInstances) => T;
|
|
561
|
+
redshiftReservedInstances: (value: RedshiftReservedInstances) => T;
|
|
562
|
+
ec2InstanceSavingsPlans: (value: Ec2InstanceSavingsPlans) => T;
|
|
563
|
+
computeSavingsPlans: (value: ComputeSavingsPlans) => T;
|
|
564
|
+
sageMakerSavingsPlans: (value: SageMakerSavingsPlans) => T;
|
|
565
|
+
_: (name: string, value: any) => T;
|
|
566
|
+
}
|
|
567
|
+
const visit: <T>(value: ResourceDetails, visitor: Visitor<T>) => T;
|
|
568
|
+
}
|
|
569
|
+
export declare const ResourceType: {
|
|
570
|
+
readonly COMPUTE_SAVINGS_PLANS: "ComputeSavingsPlans";
|
|
571
|
+
readonly EBS_VOLUME: "EbsVolume";
|
|
572
|
+
readonly EC2_AUTO_SCALING_GROUP: "Ec2AutoScalingGroup";
|
|
573
|
+
readonly EC2_INSTANCE: "Ec2Instance";
|
|
574
|
+
readonly EC2_INSTANCE_SAVINGS_PLANS: "Ec2InstanceSavingsPlans";
|
|
575
|
+
readonly EC2_RESERVED_INSTANCES: "Ec2ReservedInstances";
|
|
576
|
+
readonly ECS_SERVICE: "EcsService";
|
|
577
|
+
readonly ELASTI_CACHE_RESERVED_INSTANCES: "ElastiCacheReservedInstances";
|
|
578
|
+
readonly LAMBDA_FUNCTION: "LambdaFunction";
|
|
579
|
+
readonly OPEN_SEARCH_RESERVED_INSTANCES: "OpenSearchReservedInstances";
|
|
580
|
+
readonly RDS_RESERVED_INSTANCES: "RdsReservedInstances";
|
|
581
|
+
readonly REDSHIFT_RESERVED_INSTANCES: "RedshiftReservedInstances";
|
|
582
|
+
readonly SAGE_MAKER_SAVINGS_PLANS: "SageMakerSavingsPlans";
|
|
583
|
+
};
|
|
584
|
+
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
585
|
+
export declare const ImplementationEffort: {
|
|
586
|
+
readonly HIGH: "High";
|
|
587
|
+
readonly LOW: "Low";
|
|
588
|
+
readonly MEDIUM: "Medium";
|
|
589
|
+
readonly VERY_HIGH: "VeryHigh";
|
|
590
|
+
readonly VERY_LOW: "VeryLow";
|
|
591
|
+
};
|
|
592
|
+
export type ImplementationEffort =
|
|
593
|
+
(typeof ImplementationEffort)[keyof typeof ImplementationEffort];
|
|
594
|
+
export declare const Source: {
|
|
595
|
+
readonly COMPUTE_OPTIMIZER: "ComputeOptimizer";
|
|
596
|
+
readonly COST_EXPLORER: "CostExplorer";
|
|
597
|
+
};
|
|
598
|
+
export type Source = (typeof Source)[keyof typeof Source];
|
|
599
|
+
export interface Tag {
|
|
600
|
+
key?: string;
|
|
601
|
+
value?: string;
|
|
602
|
+
}
|
|
603
|
+
export interface GetRecommendationResponse {
|
|
604
|
+
recommendationId?: string;
|
|
605
|
+
resourceId?: string;
|
|
606
|
+
resourceArn?: string;
|
|
607
|
+
accountId?: string;
|
|
608
|
+
currencyCode?: string;
|
|
609
|
+
recommendationLookbackPeriodInDays?: number;
|
|
610
|
+
costCalculationLookbackPeriodInDays?: number;
|
|
611
|
+
estimatedSavingsPercentage?: number;
|
|
612
|
+
estimatedSavingsOverCostCalculationLookbackPeriod?: number;
|
|
613
|
+
currentResourceType?: ResourceType;
|
|
614
|
+
recommendedResourceType?: ResourceType;
|
|
615
|
+
region?: string;
|
|
616
|
+
source?: Source;
|
|
617
|
+
lastRefreshTimestamp?: Date;
|
|
618
|
+
estimatedMonthlySavings?: number;
|
|
619
|
+
estimatedMonthlyCost?: number;
|
|
620
|
+
implementationEffort?: ImplementationEffort;
|
|
621
|
+
restartNeeded?: boolean;
|
|
622
|
+
actionType?: ActionType;
|
|
623
|
+
rollbackPossible?: boolean;
|
|
624
|
+
currentResourceDetails?: ResourceDetails;
|
|
625
|
+
recommendedResourceDetails?: ResourceDetails;
|
|
626
|
+
tags?: Tag[];
|
|
627
|
+
}
|
|
628
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
629
|
+
readonly name: "ResourceNotFoundException";
|
|
630
|
+
readonly $fault: "client";
|
|
631
|
+
resourceId: string | undefined;
|
|
632
|
+
constructor(
|
|
633
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
634
|
+
);
|
|
635
|
+
}
|
|
636
|
+
export interface ListEnrollmentStatusesRequest {
|
|
637
|
+
includeOrganizationInfo?: boolean;
|
|
638
|
+
accountId?: string;
|
|
639
|
+
nextToken?: string;
|
|
640
|
+
maxResults?: number;
|
|
641
|
+
}
|
|
642
|
+
export interface ListEnrollmentStatusesResponse {
|
|
643
|
+
items?: AccountEnrollmentStatus[];
|
|
644
|
+
nextToken?: string;
|
|
645
|
+
}
|
|
646
|
+
export interface Filter {
|
|
647
|
+
restartNeeded?: boolean;
|
|
648
|
+
rollbackPossible?: boolean;
|
|
649
|
+
implementationEfforts?: ImplementationEffort[];
|
|
650
|
+
accountIds?: string[];
|
|
651
|
+
regions?: string[];
|
|
652
|
+
resourceTypes?: ResourceType[];
|
|
653
|
+
actionTypes?: ActionType[];
|
|
654
|
+
tags?: Tag[];
|
|
655
|
+
resourceIds?: string[];
|
|
656
|
+
resourceArns?: string[];
|
|
657
|
+
recommendationIds?: string[];
|
|
658
|
+
}
|
|
659
|
+
export declare const Order: {
|
|
660
|
+
readonly ASC: "Asc";
|
|
661
|
+
readonly DESC: "Desc";
|
|
662
|
+
};
|
|
663
|
+
export type Order = (typeof Order)[keyof typeof Order];
|
|
664
|
+
export interface OrderBy {
|
|
665
|
+
dimension?: string;
|
|
666
|
+
order?: Order;
|
|
667
|
+
}
|
|
668
|
+
export interface ListRecommendationsRequest {
|
|
669
|
+
filter?: Filter;
|
|
670
|
+
orderBy?: OrderBy;
|
|
671
|
+
includeAllRecommendations?: boolean;
|
|
672
|
+
maxResults?: number;
|
|
673
|
+
nextToken?: string;
|
|
674
|
+
}
|
|
675
|
+
export interface Recommendation {
|
|
676
|
+
recommendationId?: string;
|
|
677
|
+
accountId?: string;
|
|
678
|
+
region?: string;
|
|
679
|
+
resourceId?: string;
|
|
680
|
+
resourceArn?: string;
|
|
681
|
+
currentResourceType?: string;
|
|
682
|
+
recommendedResourceType?: string;
|
|
683
|
+
estimatedMonthlySavings?: number;
|
|
684
|
+
estimatedSavingsPercentage?: number;
|
|
685
|
+
estimatedMonthlyCost?: number;
|
|
686
|
+
currencyCode?: string;
|
|
687
|
+
implementationEffort?: string;
|
|
688
|
+
restartNeeded?: boolean;
|
|
689
|
+
actionType?: string;
|
|
690
|
+
rollbackPossible?: boolean;
|
|
691
|
+
currentResourceSummary?: string;
|
|
692
|
+
recommendedResourceSummary?: string;
|
|
693
|
+
lastRefreshTimestamp?: Date;
|
|
694
|
+
recommendationLookbackPeriodInDays?: number;
|
|
695
|
+
source?: Source;
|
|
696
|
+
tags?: Tag[];
|
|
697
|
+
}
|
|
698
|
+
export interface ListRecommendationsResponse {
|
|
699
|
+
items?: Recommendation[];
|
|
700
|
+
nextToken?: string;
|
|
701
|
+
}
|
|
702
|
+
export interface ListRecommendationSummariesRequest {
|
|
703
|
+
filter?: Filter;
|
|
704
|
+
groupBy: string | undefined;
|
|
705
|
+
maxResults?: number;
|
|
706
|
+
nextToken?: string;
|
|
707
|
+
}
|
|
708
|
+
export interface RecommendationSummary {
|
|
709
|
+
group?: string;
|
|
710
|
+
estimatedMonthlySavings?: number;
|
|
711
|
+
recommendationCount?: number;
|
|
712
|
+
}
|
|
713
|
+
export interface ListRecommendationSummariesResponse {
|
|
714
|
+
estimatedTotalDedupedSavings?: number;
|
|
715
|
+
items?: RecommendationSummary[];
|
|
716
|
+
groupBy?: string;
|
|
717
|
+
currencyCode?: string;
|
|
718
|
+
nextToken?: string;
|
|
719
|
+
}
|
|
720
|
+
export interface UpdateEnrollmentStatusRequest {
|
|
721
|
+
status: EnrollmentStatus | undefined;
|
|
722
|
+
includeMemberAccounts?: boolean;
|
|
723
|
+
}
|
|
724
|
+
export interface UpdateEnrollmentStatusResponse {
|
|
725
|
+
status?: string;
|
|
726
|
+
}
|
|
727
|
+
export interface UpdatePreferencesRequest {
|
|
728
|
+
savingsEstimationMode?: SavingsEstimationMode;
|
|
729
|
+
memberAccountDiscountVisibility?: MemberAccountDiscountVisibility;
|
|
730
|
+
}
|
|
731
|
+
export interface UpdatePreferencesResponse {
|
|
732
|
+
savingsEstimationMode?: SavingsEstimationMode;
|
|
733
|
+
memberAccountDiscountVisibility?: MemberAccountDiscountVisibility;
|
|
734
|
+
}
|