@aws-sdk/client-compute-optimizer 3.43.0 → 3.47.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/CHANGELOG.md +50 -0
- package/README.md +7 -10
- package/dist-cjs/ComputeOptimizer.js +60 -0
- package/dist-cjs/commands/DeleteRecommendationPreferencesCommand.js +36 -0
- package/dist-cjs/commands/GetEffectiveRecommendationPreferencesCommand.js +36 -0
- package/dist-cjs/commands/GetRecommendationPreferencesCommand.js +36 -0
- package/dist-cjs/commands/PutRecommendationPreferencesCommand.js +36 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/endpoints.js +1 -0
- package/dist-cjs/models/models_0.js +146 -68
- package/dist-cjs/protocols/Aws_json1_0.js +617 -1
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/ComputeOptimizer.js +60 -0
- package/dist-es/commands/DeleteRecommendationPreferencesCommand.js +39 -0
- package/dist-es/commands/GetEffectiveRecommendationPreferencesCommand.js +39 -0
- package/dist-es/commands/GetRecommendationPreferencesCommand.js +39 -0
- package/dist-es/commands/PutRecommendationPreferencesCommand.js +39 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/endpoints.js +1 -0
- package/dist-es/models/models_0.js +115 -48
- package/dist-es/protocols/Aws_json1_0.js +646 -8
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/ComputeOptimizer.d.ts +50 -27
- package/dist-types/ComputeOptimizerClient.d.ts +11 -3
- package/dist-types/commands/DeleteRecommendationPreferencesCommand.d.ts +38 -0
- package/dist-types/commands/DescribeRecommendationExportJobsCommand.d.ts +0 -1
- package/dist-types/commands/ExportAutoScalingGroupRecommendationsCommand.d.ts +0 -2
- package/dist-types/commands/ExportEBSVolumeRecommendationsCommand.d.ts +1 -4
- package/dist-types/commands/ExportEC2InstanceRecommendationsCommand.d.ts +1 -4
- package/dist-types/commands/ExportLambdaFunctionRecommendationsCommand.d.ts +1 -4
- package/dist-types/commands/GetAutoScalingGroupRecommendationsCommand.d.ts +0 -1
- package/dist-types/commands/GetEBSVolumeRecommendationsCommand.d.ts +0 -1
- package/dist-types/commands/GetEC2InstanceRecommendationsCommand.d.ts +0 -1
- package/dist-types/commands/GetEC2RecommendationProjectedMetricsCommand.d.ts +0 -1
- package/dist-types/commands/GetEffectiveRecommendationPreferencesCommand.d.ts +40 -0
- package/dist-types/commands/GetEnrollmentStatusCommand.d.ts +0 -1
- package/dist-types/commands/GetEnrollmentStatusesForOrganizationCommand.d.ts +0 -1
- package/dist-types/commands/GetLambdaFunctionRecommendationsCommand.d.ts +0 -1
- package/dist-types/commands/GetRecommendationPreferencesCommand.d.ts +42 -0
- package/dist-types/commands/GetRecommendationSummariesCommand.d.ts +0 -2
- package/dist-types/commands/PutRecommendationPreferencesCommand.d.ts +39 -0
- package/dist-types/commands/UpdateEnrollmentStatusCommand.d.ts +0 -3
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +603 -293
- package/dist-types/protocols/Aws_json1_0.d.ts +12 -0
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/ComputeOptimizer.d.ts +20 -0
- package/dist-types/ts3.4/ComputeOptimizerClient.d.ts +9 -3
- package/dist-types/ts3.4/commands/DeleteRecommendationPreferencesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetEffectiveRecommendationPreferencesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetRecommendationPreferencesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutRecommendationPreferencesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +266 -88
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +12 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +38 -45
|
@@ -5,10 +5,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
|
|
|
5
5
|
$fault: "client";
|
|
6
6
|
message?: string;
|
|
7
7
|
}
|
|
8
|
-
export declare namespace AccessDeniedException {
|
|
9
|
-
|
|
10
|
-
const filterSensitiveLog: (obj: AccessDeniedException) => any;
|
|
11
|
-
}
|
|
12
8
|
export declare enum Status {
|
|
13
9
|
ACTIVE = "Active",
|
|
14
10
|
FAILED = "Failed",
|
|
@@ -45,6 +41,31 @@ export declare namespace AutoScalingGroupConfiguration {
|
|
|
45
41
|
|
|
46
42
|
const filterSensitiveLog: (obj: AutoScalingGroupConfiguration) => any;
|
|
47
43
|
}
|
|
44
|
+
export declare enum CurrentPerformanceRisk {
|
|
45
|
+
HIGH = "High",
|
|
46
|
+
LOW = "Low",
|
|
47
|
+
MEDIUM = "Medium",
|
|
48
|
+
VERY_LOW = "VeryLow"
|
|
49
|
+
}
|
|
50
|
+
export declare enum CpuVendorArchitecture {
|
|
51
|
+
AWS_ARM64 = "AWS_ARM64",
|
|
52
|
+
CURRENT = "CURRENT"
|
|
53
|
+
}
|
|
54
|
+
export declare enum EnhancedInfrastructureMetrics {
|
|
55
|
+
ACTIVE = "Active",
|
|
56
|
+
INACTIVE = "Inactive"
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export interface EffectiveRecommendationPreferences {
|
|
60
|
+
|
|
61
|
+
cpuVendorArchitectures?: (CpuVendorArchitecture | string)[];
|
|
62
|
+
|
|
63
|
+
enhancedInfrastructureMetrics?: EnhancedInfrastructureMetrics | string;
|
|
64
|
+
}
|
|
65
|
+
export declare namespace EffectiveRecommendationPreferences {
|
|
66
|
+
|
|
67
|
+
const filterSensitiveLog: (obj: EffectiveRecommendationPreferences) => any;
|
|
68
|
+
}
|
|
48
69
|
export declare enum Finding {
|
|
49
70
|
NOT_OPTIMIZED = "NotOptimized",
|
|
50
71
|
OPTIMIZED = "Optimized",
|
|
@@ -84,6 +105,32 @@ export declare namespace UtilizationMetric {
|
|
|
84
105
|
|
|
85
106
|
const filterSensitiveLog: (obj: UtilizationMetric) => any;
|
|
86
107
|
}
|
|
108
|
+
export declare enum Currency {
|
|
109
|
+
CNY = "CNY",
|
|
110
|
+
USD = "USD"
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
export interface EstimatedMonthlySavings {
|
|
114
|
+
|
|
115
|
+
currency?: Currency | string;
|
|
116
|
+
|
|
117
|
+
value?: number;
|
|
118
|
+
}
|
|
119
|
+
export declare namespace EstimatedMonthlySavings {
|
|
120
|
+
|
|
121
|
+
const filterSensitiveLog: (obj: EstimatedMonthlySavings) => any;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export interface SavingsOpportunity {
|
|
125
|
+
|
|
126
|
+
savingsOpportunityPercentage?: number;
|
|
127
|
+
|
|
128
|
+
estimatedMonthlySavings?: EstimatedMonthlySavings;
|
|
129
|
+
}
|
|
130
|
+
export declare namespace SavingsOpportunity {
|
|
131
|
+
|
|
132
|
+
const filterSensitiveLog: (obj: SavingsOpportunity) => any;
|
|
133
|
+
}
|
|
87
134
|
|
|
88
135
|
export interface AutoScalingGroupRecommendationOption {
|
|
89
136
|
|
|
@@ -94,6 +141,8 @@ export interface AutoScalingGroupRecommendationOption {
|
|
|
94
141
|
performanceRisk?: number;
|
|
95
142
|
|
|
96
143
|
rank?: number;
|
|
144
|
+
|
|
145
|
+
savingsOpportunity?: SavingsOpportunity;
|
|
97
146
|
}
|
|
98
147
|
export declare namespace AutoScalingGroupRecommendationOption {
|
|
99
148
|
|
|
@@ -119,11 +168,100 @@ export interface AutoScalingGroupRecommendation {
|
|
|
119
168
|
recommendationOptions?: AutoScalingGroupRecommendationOption[];
|
|
120
169
|
|
|
121
170
|
lastRefreshTimestamp?: Date;
|
|
171
|
+
|
|
172
|
+
currentPerformanceRisk?: CurrentPerformanceRisk | string;
|
|
173
|
+
|
|
174
|
+
effectiveRecommendationPreferences?: EffectiveRecommendationPreferences;
|
|
122
175
|
}
|
|
123
176
|
export declare namespace AutoScalingGroupRecommendation {
|
|
124
177
|
|
|
125
178
|
const filterSensitiveLog: (obj: AutoScalingGroupRecommendation) => any;
|
|
126
179
|
}
|
|
180
|
+
export declare enum RecommendationPreferenceName {
|
|
181
|
+
ENHANCED_INFRASTRUCTURE_METRICS = "EnhancedInfrastructureMetrics"
|
|
182
|
+
}
|
|
183
|
+
export declare enum ResourceType {
|
|
184
|
+
AUTO_SCALING_GROUP = "AutoScalingGroup",
|
|
185
|
+
EBS_VOLUME = "EbsVolume",
|
|
186
|
+
EC2_INSTANCE = "Ec2Instance",
|
|
187
|
+
LAMBDA_FUNCTION = "LambdaFunction"
|
|
188
|
+
}
|
|
189
|
+
export declare enum ScopeName {
|
|
190
|
+
ACCOUNT_ID = "AccountId",
|
|
191
|
+
ORGANIZATION = "Organization",
|
|
192
|
+
RESOURCE_ARN = "ResourceArn"
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
export interface Scope {
|
|
196
|
+
|
|
197
|
+
name?: ScopeName | string;
|
|
198
|
+
|
|
199
|
+
value?: string;
|
|
200
|
+
}
|
|
201
|
+
export declare namespace Scope {
|
|
202
|
+
|
|
203
|
+
const filterSensitiveLog: (obj: Scope) => any;
|
|
204
|
+
}
|
|
205
|
+
export interface DeleteRecommendationPreferencesRequest {
|
|
206
|
+
|
|
207
|
+
resourceType: ResourceType | string | undefined;
|
|
208
|
+
|
|
209
|
+
scope?: Scope;
|
|
210
|
+
|
|
211
|
+
recommendationPreferenceNames: (RecommendationPreferenceName | string)[] | undefined;
|
|
212
|
+
}
|
|
213
|
+
export declare namespace DeleteRecommendationPreferencesRequest {
|
|
214
|
+
|
|
215
|
+
const filterSensitiveLog: (obj: DeleteRecommendationPreferencesRequest) => any;
|
|
216
|
+
}
|
|
217
|
+
export interface DeleteRecommendationPreferencesResponse {
|
|
218
|
+
}
|
|
219
|
+
export declare namespace DeleteRecommendationPreferencesResponse {
|
|
220
|
+
|
|
221
|
+
const filterSensitiveLog: (obj: DeleteRecommendationPreferencesResponse) => any;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
export interface InternalServerException extends __SmithyException, $MetadataBearer {
|
|
225
|
+
name: "InternalServerException";
|
|
226
|
+
$fault: "server";
|
|
227
|
+
message?: string;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
export interface InvalidParameterValueException extends __SmithyException, $MetadataBearer {
|
|
231
|
+
name: "InvalidParameterValueException";
|
|
232
|
+
$fault: "client";
|
|
233
|
+
message?: string;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
export interface MissingAuthenticationToken extends __SmithyException, $MetadataBearer {
|
|
237
|
+
name: "MissingAuthenticationToken";
|
|
238
|
+
$fault: "client";
|
|
239
|
+
message?: string;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
export interface OptInRequiredException extends __SmithyException, $MetadataBearer {
|
|
243
|
+
name: "OptInRequiredException";
|
|
244
|
+
$fault: "client";
|
|
245
|
+
message?: string;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
|
|
249
|
+
name: "ResourceNotFoundException";
|
|
250
|
+
$fault: "client";
|
|
251
|
+
message?: string;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
|
|
255
|
+
name: "ServiceUnavailableException";
|
|
256
|
+
$fault: "server";
|
|
257
|
+
message?: string;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
export interface ThrottlingException extends __SmithyException, $MetadataBearer {
|
|
261
|
+
name: "ThrottlingException";
|
|
262
|
+
$fault: "client";
|
|
263
|
+
message: string | undefined;
|
|
264
|
+
}
|
|
127
265
|
export declare enum JobFilterName {
|
|
128
266
|
JOB_STATUS = "JobStatus",
|
|
129
267
|
RESOURCE_TYPE = "ResourceType"
|
|
@@ -175,12 +313,6 @@ export declare namespace ExportDestination {
|
|
|
175
313
|
|
|
176
314
|
const filterSensitiveLog: (obj: ExportDestination) => any;
|
|
177
315
|
}
|
|
178
|
-
export declare enum ResourceType {
|
|
179
|
-
AUTO_SCALING_GROUP = "AutoScalingGroup",
|
|
180
|
-
EBS_VOLUME = "EbsVolume",
|
|
181
|
-
EC2_INSTANCE = "Ec2Instance",
|
|
182
|
-
LAMBDA_FUNCTION = "LambdaFunction"
|
|
183
|
-
}
|
|
184
316
|
export declare enum JobStatus {
|
|
185
317
|
COMPLETE = "Complete",
|
|
186
318
|
FAILED = "Failed",
|
|
@@ -218,76 +350,6 @@ export declare namespace DescribeRecommendationExportJobsResponse {
|
|
|
218
350
|
|
|
219
351
|
const filterSensitiveLog: (obj: DescribeRecommendationExportJobsResponse) => any;
|
|
220
352
|
}
|
|
221
|
-
|
|
222
|
-
export interface InternalServerException extends __SmithyException, $MetadataBearer {
|
|
223
|
-
name: "InternalServerException";
|
|
224
|
-
$fault: "server";
|
|
225
|
-
message?: string;
|
|
226
|
-
}
|
|
227
|
-
export declare namespace InternalServerException {
|
|
228
|
-
|
|
229
|
-
const filterSensitiveLog: (obj: InternalServerException) => any;
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
export interface InvalidParameterValueException extends __SmithyException, $MetadataBearer {
|
|
233
|
-
name: "InvalidParameterValueException";
|
|
234
|
-
$fault: "client";
|
|
235
|
-
message?: string;
|
|
236
|
-
}
|
|
237
|
-
export declare namespace InvalidParameterValueException {
|
|
238
|
-
|
|
239
|
-
const filterSensitiveLog: (obj: InvalidParameterValueException) => any;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
export interface MissingAuthenticationToken extends __SmithyException, $MetadataBearer {
|
|
243
|
-
name: "MissingAuthenticationToken";
|
|
244
|
-
$fault: "client";
|
|
245
|
-
message?: string;
|
|
246
|
-
}
|
|
247
|
-
export declare namespace MissingAuthenticationToken {
|
|
248
|
-
|
|
249
|
-
const filterSensitiveLog: (obj: MissingAuthenticationToken) => any;
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
export interface OptInRequiredException extends __SmithyException, $MetadataBearer {
|
|
253
|
-
name: "OptInRequiredException";
|
|
254
|
-
$fault: "client";
|
|
255
|
-
message?: string;
|
|
256
|
-
}
|
|
257
|
-
export declare namespace OptInRequiredException {
|
|
258
|
-
|
|
259
|
-
const filterSensitiveLog: (obj: OptInRequiredException) => any;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
|
|
263
|
-
name: "ResourceNotFoundException";
|
|
264
|
-
$fault: "client";
|
|
265
|
-
message?: string;
|
|
266
|
-
}
|
|
267
|
-
export declare namespace ResourceNotFoundException {
|
|
268
|
-
|
|
269
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
|
|
273
|
-
name: "ServiceUnavailableException";
|
|
274
|
-
$fault: "server";
|
|
275
|
-
message?: string;
|
|
276
|
-
}
|
|
277
|
-
export declare namespace ServiceUnavailableException {
|
|
278
|
-
|
|
279
|
-
const filterSensitiveLog: (obj: ServiceUnavailableException) => any;
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
export interface ThrottlingException extends __SmithyException, $MetadataBearer {
|
|
283
|
-
name: "ThrottlingException";
|
|
284
|
-
$fault: "client";
|
|
285
|
-
message: string | undefined;
|
|
286
|
-
}
|
|
287
|
-
export declare namespace ThrottlingException {
|
|
288
|
-
|
|
289
|
-
const filterSensitiveLog: (obj: ThrottlingException) => any;
|
|
290
|
-
}
|
|
291
353
|
export declare enum ExportableAutoScalingGroupField {
|
|
292
354
|
ACCOUNT_ID = "AccountId",
|
|
293
355
|
AUTO_SCALING_GROUP_ARN = "AutoScalingGroupArn",
|
|
@@ -299,10 +361,13 @@ export declare enum ExportableAutoScalingGroupField {
|
|
|
299
361
|
CURRENT_MEMORY = "CurrentMemory",
|
|
300
362
|
CURRENT_NETWORK = "CurrentNetwork",
|
|
301
363
|
CURRENT_ON_DEMAND_PRICE = "CurrentOnDemandPrice",
|
|
364
|
+
CURRENT_PERFORMANCE_RISK = "CurrentPerformanceRisk",
|
|
302
365
|
CURRENT_STANDARD_ONE_YEAR_NO_UPFRONT_RESERVED_PRICE = "CurrentStandardOneYearNoUpfrontReservedPrice",
|
|
303
366
|
CURRENT_STANDARD_THREE_YEAR_NO_UPFRONT_RESERVED_PRICE = "CurrentStandardThreeYearNoUpfrontReservedPrice",
|
|
304
367
|
CURRENT_STORAGE = "CurrentStorage",
|
|
305
368
|
CURRENT_VCPUS = "CurrentVCpus",
|
|
369
|
+
EFFECTIVE_RECOMMENDATION_PREFERENCES_CPU_VENDOR_ARCHITECTURES = "EffectiveRecommendationPreferencesCpuVendorArchitectures",
|
|
370
|
+
EFFECTIVE_RECOMMENDATION_PREFERENCES_ENHANCED_INFRASTRUCTURE_METRICS = "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics",
|
|
306
371
|
FINDING = "Finding",
|
|
307
372
|
LAST_REFRESH_TIMESTAMP = "LastRefreshTimestamp",
|
|
308
373
|
LOOKBACK_PERIOD_IN_DAYS = "LookbackPeriodInDays",
|
|
@@ -310,12 +375,15 @@ export declare enum ExportableAutoScalingGroupField {
|
|
|
310
375
|
RECOMMENDATION_OPTIONS_CONFIGURATION_INSTANCE_TYPE = "RecommendationOptionsConfigurationInstanceType",
|
|
311
376
|
RECOMMENDATION_OPTIONS_CONFIGURATION_MAX_SIZE = "RecommendationOptionsConfigurationMaxSize",
|
|
312
377
|
RECOMMENDATION_OPTIONS_CONFIGURATION_MIN_SIZE = "RecommendationOptionsConfigurationMinSize",
|
|
378
|
+
RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_CURRENCY = "RecommendationOptionsEstimatedMonthlySavingsCurrency",
|
|
379
|
+
RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE = "RecommendationOptionsEstimatedMonthlySavingsValue",
|
|
313
380
|
RECOMMENDATION_OPTIONS_MEMORY = "RecommendationOptionsMemory",
|
|
314
381
|
RECOMMENDATION_OPTIONS_NETWORK = "RecommendationOptionsNetwork",
|
|
315
382
|
RECOMMENDATION_OPTIONS_ON_DEMAND_PRICE = "RecommendationOptionsOnDemandPrice",
|
|
316
383
|
RECOMMENDATION_OPTIONS_PERFORMANCE_RISK = "RecommendationOptionsPerformanceRisk",
|
|
317
384
|
RECOMMENDATION_OPTIONS_PROJECTED_UTILIZATION_METRICS_CPU_MAXIMUM = "RecommendationOptionsProjectedUtilizationMetricsCpuMaximum",
|
|
318
385
|
RECOMMENDATION_OPTIONS_PROJECTED_UTILIZATION_METRICS_MEMORY_MAXIMUM = "RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum",
|
|
386
|
+
RECOMMENDATION_OPTIONS_SAVINGS_OPPORTUNITY_PERCENTAGE = "RecommendationOptionsSavingsOpportunityPercentage",
|
|
319
387
|
RECOMMENDATION_OPTIONS_STANDARD_ONE_YEAR_NO_UPFRONT_RESERVED_PRICE = "RecommendationOptionsStandardOneYearNoUpfrontReservedPrice",
|
|
320
388
|
RECOMMENDATION_OPTIONS_STANDARD_THREE_YEAR_NO_UPFRONT_RESERVED_PRICE = "RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice",
|
|
321
389
|
RECOMMENDATION_OPTIONS_STORAGE = "RecommendationOptionsStorage",
|
|
@@ -354,10 +422,6 @@ export declare namespace Filter {
|
|
|
354
422
|
|
|
355
423
|
const filterSensitiveLog: (obj: Filter) => any;
|
|
356
424
|
}
|
|
357
|
-
export declare enum CpuVendorArchitecture {
|
|
358
|
-
AWS_ARM64 = "AWS_ARM64",
|
|
359
|
-
CURRENT = "CURRENT"
|
|
360
|
-
}
|
|
361
425
|
|
|
362
426
|
export interface RecommendationPreferences {
|
|
363
427
|
|
|
@@ -414,10 +478,6 @@ export interface LimitExceededException extends __SmithyException, $MetadataBear
|
|
|
414
478
|
$fault: "client";
|
|
415
479
|
message?: string;
|
|
416
480
|
}
|
|
417
|
-
export declare namespace LimitExceededException {
|
|
418
|
-
|
|
419
|
-
const filterSensitiveLog: (obj: LimitExceededException) => any;
|
|
420
|
-
}
|
|
421
481
|
export declare enum ExportableVolumeField {
|
|
422
482
|
ACCOUNT_ID = "AccountId",
|
|
423
483
|
CURRENT_CONFIGURATION_VOLUME_BASELINE_IOPS = "CurrentConfigurationVolumeBaselineIOPS",
|
|
@@ -427,6 +487,7 @@ export declare enum ExportableVolumeField {
|
|
|
427
487
|
CURRENT_CONFIGURATION_VOLUME_SIZE = "CurrentConfigurationVolumeSize",
|
|
428
488
|
CURRENT_CONFIGURATION_VOLUME_TYPE = "CurrentConfigurationVolumeType",
|
|
429
489
|
CURRENT_MONTHLY_PRICE = "CurrentMonthlyPrice",
|
|
490
|
+
CURRENT_PERFORMANCE_RISK = "CurrentPerformanceRisk",
|
|
430
491
|
FINDING = "Finding",
|
|
431
492
|
LAST_REFRESH_TIMESTAMP = "LastRefreshTimestamp",
|
|
432
493
|
LOOKBACK_PERIOD_IN_DAYS = "LookbackPeriodInDays",
|
|
@@ -436,8 +497,11 @@ export declare enum ExportableVolumeField {
|
|
|
436
497
|
RECOMMENDATION_OPTIONS_CONFIGURATION_VOLUME_BURST_THROUGHPUT = "RecommendationOptionsConfigurationVolumeBurstThroughput",
|
|
437
498
|
RECOMMENDATION_OPTIONS_CONFIGURATION_VOLUME_SIZE = "RecommendationOptionsConfigurationVolumeSize",
|
|
438
499
|
RECOMMENDATION_OPTIONS_CONFIGURATION_VOLUME_TYPE = "RecommendationOptionsConfigurationVolumeType",
|
|
500
|
+
RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_CURRENCY = "RecommendationOptionsEstimatedMonthlySavingsCurrency",
|
|
501
|
+
RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE = "RecommendationOptionsEstimatedMonthlySavingsValue",
|
|
439
502
|
RECOMMENDATION_OPTIONS_MONTHLY_PRICE = "RecommendationOptionsMonthlyPrice",
|
|
440
503
|
RECOMMENDATION_OPTIONS_PERFORMANCE_RISK = "RecommendationOptionsPerformanceRisk",
|
|
504
|
+
RECOMMENDATION_OPTIONS_SAVINGS_OPPORTUNITY_PERCENTAGE = "RecommendationOptionsSavingsOpportunityPercentage",
|
|
441
505
|
UTILIZATION_METRICS_VOLUME_READ_BYTES_PER_SECOND_MAXIMUM = "UtilizationMetricsVolumeReadBytesPerSecondMaximum",
|
|
442
506
|
UTILIZATION_METRICS_VOLUME_READ_OPS_PER_SECOND_MAXIMUM = "UtilizationMetricsVolumeReadOpsPerSecondMaximum",
|
|
443
507
|
UTILIZATION_METRICS_VOLUME_WRITE_BYTES_PER_SECOND_MAXIMUM = "UtilizationMetricsVolumeWriteBytesPerSecondMaximum",
|
|
@@ -492,10 +556,13 @@ export declare enum ExportableInstanceField {
|
|
|
492
556
|
CURRENT_MEMORY = "CurrentMemory",
|
|
493
557
|
CURRENT_NETWORK = "CurrentNetwork",
|
|
494
558
|
CURRENT_ON_DEMAND_PRICE = "CurrentOnDemandPrice",
|
|
559
|
+
CURRENT_PERFORMANCE_RISK = "CurrentPerformanceRisk",
|
|
495
560
|
CURRENT_STANDARD_ONE_YEAR_NO_UPFRONT_RESERVED_PRICE = "CurrentStandardOneYearNoUpfrontReservedPrice",
|
|
496
561
|
CURRENT_STANDARD_THREE_YEAR_NO_UPFRONT_RESERVED_PRICE = "CurrentStandardThreeYearNoUpfrontReservedPrice",
|
|
497
562
|
CURRENT_STORAGE = "CurrentStorage",
|
|
498
563
|
CURRENT_VCPUS = "CurrentVCpus",
|
|
564
|
+
EFFECTIVE_RECOMMENDATION_PREFERENCES_CPU_VENDOR_ARCHITECTURES = "EffectiveRecommendationPreferencesCpuVendorArchitectures",
|
|
565
|
+
EFFECTIVE_RECOMMENDATION_PREFERENCES_ENHANCED_INFRASTRUCTURE_METRICS = "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics",
|
|
499
566
|
FINDING = "Finding",
|
|
500
567
|
Finding_Reason_Codes = "FindingReasonCodes",
|
|
501
568
|
INSTANCE_ARN = "InstanceArn",
|
|
@@ -504,6 +571,8 @@ export declare enum ExportableInstanceField {
|
|
|
504
571
|
LOOKBACK_PERIOD_IN_DAYS = "LookbackPeriodInDays",
|
|
505
572
|
RECOMMENDATIONS_SOURCES_RECOMMENDATION_SOURCE_ARN = "RecommendationsSourcesRecommendationSourceArn",
|
|
506
573
|
RECOMMENDATIONS_SOURCES_RECOMMENDATION_SOURCE_TYPE = "RecommendationsSourcesRecommendationSourceType",
|
|
574
|
+
RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_CURRENCY = "RecommendationOptionsEstimatedMonthlySavingsCurrency",
|
|
575
|
+
RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE = "RecommendationOptionsEstimatedMonthlySavingsValue",
|
|
507
576
|
RECOMMENDATION_OPTIONS_INSTANCE_TYPE = "RecommendationOptionsInstanceType",
|
|
508
577
|
RECOMMENDATION_OPTIONS_MEMORY = "RecommendationOptionsMemory",
|
|
509
578
|
RECOMMENDATION_OPTIONS_NETWORK = "RecommendationOptionsNetwork",
|
|
@@ -512,6 +581,7 @@ export declare enum ExportableInstanceField {
|
|
|
512
581
|
RECOMMENDATION_OPTIONS_PLATFORM_DIFFERENCES = "RecommendationOptionsPlatformDifferences",
|
|
513
582
|
RECOMMENDATION_OPTIONS_PROJECTED_UTILIZATION_METRICS_CPU_MAXIMUM = "RecommendationOptionsProjectedUtilizationMetricsCpuMaximum",
|
|
514
583
|
RECOMMENDATION_OPTIONS_PROJECTED_UTILIZATION_METRICS_MEMORY_MAXIMUM = "RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum",
|
|
584
|
+
RECOMMENDATION_OPTIONS_SAVINGS_OPPORTUNITY_PERCENTAGE = "RecommendationOptionsSavingsOpportunityPercentage",
|
|
515
585
|
RECOMMENDATION_OPTIONS_STANDARD_ONE_YEAR_NO_UPFRONT_RESERVED_PRICE = "RecommendationOptionsStandardOneYearNoUpfrontReservedPrice",
|
|
516
586
|
RECOMMENDATION_OPTIONS_STANDARD_THREE_YEAR_NO_UPFRONT_RESERVED_PRICE = "RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice",
|
|
517
587
|
RECOMMENDATION_OPTIONS_STORAGE = "RecommendationOptionsStorage",
|
|
@@ -567,6 +637,7 @@ export declare enum ExportableLambdaFunctionField {
|
|
|
567
637
|
CURRENT_CONFIGURATION_TIMEOUT = "CurrentConfigurationTimeout",
|
|
568
638
|
CURRENT_COST_AVERAGE = "CurrentCostAverage",
|
|
569
639
|
CURRENT_COST_TOTAL = "CurrentCostTotal",
|
|
640
|
+
CURRENT_PERFORMANCE_RISK = "CurrentPerformanceRisk",
|
|
570
641
|
FINDING = "Finding",
|
|
571
642
|
FINDING_REASON_CODES = "FindingReasonCodes",
|
|
572
643
|
FUNCTION_ARN = "FunctionArn",
|
|
@@ -577,9 +648,12 @@ export declare enum ExportableLambdaFunctionField {
|
|
|
577
648
|
RECOMMENDATION_OPTIONS_CONFIGURATION_MEMORY_SIZE = "RecommendationOptionsConfigurationMemorySize",
|
|
578
649
|
RECOMMENDATION_OPTIONS_COST_HIGH = "RecommendationOptionsCostHigh",
|
|
579
650
|
RECOMMENDATION_OPTIONS_COST_LOW = "RecommendationOptionsCostLow",
|
|
651
|
+
RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_CURRENCY = "RecommendationOptionsEstimatedMonthlySavingsCurrency",
|
|
652
|
+
RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE = "RecommendationOptionsEstimatedMonthlySavingsValue",
|
|
580
653
|
RECOMMENDATION_OPTIONS_PROJECTED_UTILIZATION_METRICS_DURATION_EXPECTED = "RecommendationOptionsProjectedUtilizationMetricsDurationExpected",
|
|
581
654
|
RECOMMENDATION_OPTIONS_PROJECTED_UTILIZATION_METRICS_DURATION_LOWER_BOUND = "RecommendationOptionsProjectedUtilizationMetricsDurationLowerBound",
|
|
582
655
|
RECOMMENDATION_OPTIONS_PROJECTED_UTILIZATION_METRICS_DURATION_UPPER_BOUND = "RecommendationOptionsProjectedUtilizationMetricsDurationUpperBound",
|
|
656
|
+
RECOMMENDATION_OPTIONS_SAVINGS_OPPORTUNITY_PERCENTAGE = "RecommendationOptionsSavingsOpportunityPercentage",
|
|
583
657
|
UTILIZATION_METRICS_DURATION_AVERAGE = "UtilizationMetricsDurationAverage",
|
|
584
658
|
UTILIZATION_METRICS_DURATION_MAXIMUM = "UtilizationMetricsDurationMaximum",
|
|
585
659
|
UTILIZATION_METRICS_MEMORY_AVERAGE = "UtilizationMetricsMemoryAverage",
|
|
@@ -737,6 +811,8 @@ export interface VolumeRecommendationOption {
|
|
|
737
811
|
performanceRisk?: number;
|
|
738
812
|
|
|
739
813
|
rank?: number;
|
|
814
|
+
|
|
815
|
+
savingsOpportunity?: SavingsOpportunity;
|
|
740
816
|
}
|
|
741
817
|
export declare namespace VolumeRecommendationOption {
|
|
742
818
|
|
|
@@ -760,6 +836,8 @@ export interface VolumeRecommendation {
|
|
|
760
836
|
volumeRecommendationOptions?: VolumeRecommendationOption[];
|
|
761
837
|
|
|
762
838
|
lastRefreshTimestamp?: Date;
|
|
839
|
+
|
|
840
|
+
currentPerformanceRisk?: CurrentPerformanceRisk | string;
|
|
763
841
|
}
|
|
764
842
|
export declare namespace VolumeRecommendation {
|
|
765
843
|
|
|
@@ -833,6 +911,8 @@ export interface InstanceRecommendationOption {
|
|
|
833
911
|
performanceRisk?: number;
|
|
834
912
|
|
|
835
913
|
rank?: number;
|
|
914
|
+
|
|
915
|
+
savingsOpportunity?: SavingsOpportunity;
|
|
836
916
|
}
|
|
837
917
|
export declare namespace InstanceRecommendationOption {
|
|
838
918
|
|
|
@@ -879,6 +959,10 @@ export interface InstanceRecommendation {
|
|
|
879
959
|
recommendationSources?: RecommendationSource[];
|
|
880
960
|
|
|
881
961
|
lastRefreshTimestamp?: Date;
|
|
962
|
+
|
|
963
|
+
currentPerformanceRisk?: CurrentPerformanceRisk | string;
|
|
964
|
+
|
|
965
|
+
effectiveRecommendationPreferences?: EffectiveRecommendationPreferences;
|
|
882
966
|
}
|
|
883
967
|
export declare namespace InstanceRecommendation {
|
|
884
968
|
|
|
@@ -948,6 +1032,22 @@ export declare namespace GetEC2RecommendationProjectedMetricsResponse {
|
|
|
948
1032
|
|
|
949
1033
|
const filterSensitiveLog: (obj: GetEC2RecommendationProjectedMetricsResponse) => any;
|
|
950
1034
|
}
|
|
1035
|
+
export interface GetEffectiveRecommendationPreferencesRequest {
|
|
1036
|
+
|
|
1037
|
+
resourceArn: string | undefined;
|
|
1038
|
+
}
|
|
1039
|
+
export declare namespace GetEffectiveRecommendationPreferencesRequest {
|
|
1040
|
+
|
|
1041
|
+
const filterSensitiveLog: (obj: GetEffectiveRecommendationPreferencesRequest) => any;
|
|
1042
|
+
}
|
|
1043
|
+
export interface GetEffectiveRecommendationPreferencesResponse {
|
|
1044
|
+
|
|
1045
|
+
enhancedInfrastructureMetrics?: EnhancedInfrastructureMetrics | string;
|
|
1046
|
+
}
|
|
1047
|
+
export declare namespace GetEffectiveRecommendationPreferencesResponse {
|
|
1048
|
+
|
|
1049
|
+
const filterSensitiveLog: (obj: GetEffectiveRecommendationPreferencesResponse) => any;
|
|
1050
|
+
}
|
|
951
1051
|
export interface GetEnrollmentStatusRequest {
|
|
952
1052
|
}
|
|
953
1053
|
export declare namespace GetEnrollmentStatusRequest {
|
|
@@ -1062,6 +1162,8 @@ export interface LambdaFunctionMemoryRecommendationOption {
|
|
|
1062
1162
|
memorySize?: number;
|
|
1063
1163
|
|
|
1064
1164
|
projectedUtilizationMetrics?: LambdaFunctionMemoryProjectedMetric[];
|
|
1165
|
+
|
|
1166
|
+
savingsOpportunity?: SavingsOpportunity;
|
|
1065
1167
|
}
|
|
1066
1168
|
export declare namespace LambdaFunctionMemoryRecommendationOption {
|
|
1067
1169
|
|
|
@@ -1112,6 +1214,8 @@ export interface LambdaFunctionRecommendation {
|
|
|
1112
1214
|
findingReasonCodes?: (LambdaFunctionRecommendationFindingReasonCode | string)[];
|
|
1113
1215
|
|
|
1114
1216
|
memorySizeRecommendationOptions?: LambdaFunctionMemoryRecommendationOption[];
|
|
1217
|
+
|
|
1218
|
+
currentPerformanceRisk?: CurrentPerformanceRisk | string;
|
|
1115
1219
|
}
|
|
1116
1220
|
export declare namespace LambdaFunctionRecommendation {
|
|
1117
1221
|
|
|
@@ -1127,6 +1231,43 @@ export declare namespace GetLambdaFunctionRecommendationsResponse {
|
|
|
1127
1231
|
|
|
1128
1232
|
const filterSensitiveLog: (obj: GetLambdaFunctionRecommendationsResponse) => any;
|
|
1129
1233
|
}
|
|
1234
|
+
export interface GetRecommendationPreferencesRequest {
|
|
1235
|
+
|
|
1236
|
+
resourceType: ResourceType | string | undefined;
|
|
1237
|
+
|
|
1238
|
+
scope?: Scope;
|
|
1239
|
+
|
|
1240
|
+
nextToken?: string;
|
|
1241
|
+
|
|
1242
|
+
maxResults?: number;
|
|
1243
|
+
}
|
|
1244
|
+
export declare namespace GetRecommendationPreferencesRequest {
|
|
1245
|
+
|
|
1246
|
+
const filterSensitiveLog: (obj: GetRecommendationPreferencesRequest) => any;
|
|
1247
|
+
}
|
|
1248
|
+
|
|
1249
|
+
export interface RecommendationPreferencesDetail {
|
|
1250
|
+
|
|
1251
|
+
scope?: Scope;
|
|
1252
|
+
|
|
1253
|
+
resourceType?: ResourceType | string;
|
|
1254
|
+
|
|
1255
|
+
enhancedInfrastructureMetrics?: EnhancedInfrastructureMetrics | string;
|
|
1256
|
+
}
|
|
1257
|
+
export declare namespace RecommendationPreferencesDetail {
|
|
1258
|
+
|
|
1259
|
+
const filterSensitiveLog: (obj: RecommendationPreferencesDetail) => any;
|
|
1260
|
+
}
|
|
1261
|
+
export interface GetRecommendationPreferencesResponse {
|
|
1262
|
+
|
|
1263
|
+
nextToken?: string;
|
|
1264
|
+
|
|
1265
|
+
recommendationPreferencesDetails?: RecommendationPreferencesDetail[];
|
|
1266
|
+
}
|
|
1267
|
+
export declare namespace GetRecommendationPreferencesResponse {
|
|
1268
|
+
|
|
1269
|
+
const filterSensitiveLog: (obj: GetRecommendationPreferencesResponse) => any;
|
|
1270
|
+
}
|
|
1130
1271
|
export interface GetRecommendationSummariesRequest {
|
|
1131
1272
|
|
|
1132
1273
|
accountIds?: string[];
|
|
@@ -1139,6 +1280,21 @@ export declare namespace GetRecommendationSummariesRequest {
|
|
|
1139
1280
|
|
|
1140
1281
|
const filterSensitiveLog: (obj: GetRecommendationSummariesRequest) => any;
|
|
1141
1282
|
}
|
|
1283
|
+
|
|
1284
|
+
export interface CurrentPerformanceRiskRatings {
|
|
1285
|
+
|
|
1286
|
+
high?: number;
|
|
1287
|
+
|
|
1288
|
+
medium?: number;
|
|
1289
|
+
|
|
1290
|
+
low?: number;
|
|
1291
|
+
|
|
1292
|
+
veryLow?: number;
|
|
1293
|
+
}
|
|
1294
|
+
export declare namespace CurrentPerformanceRiskRatings {
|
|
1295
|
+
|
|
1296
|
+
const filterSensitiveLog: (obj: CurrentPerformanceRiskRatings) => any;
|
|
1297
|
+
}
|
|
1142
1298
|
export declare enum FindingReasonCode {
|
|
1143
1299
|
MEMORY_OVER_PROVISIONED = "MemoryOverprovisioned",
|
|
1144
1300
|
MEMORY_UNDER_PROVISIONED = "MemoryUnderprovisioned"
|
|
@@ -1175,6 +1331,10 @@ export interface RecommendationSummary {
|
|
|
1175
1331
|
recommendationResourceType?: RecommendationSourceType | string;
|
|
1176
1332
|
|
|
1177
1333
|
accountId?: string;
|
|
1334
|
+
|
|
1335
|
+
savingsOpportunity?: SavingsOpportunity;
|
|
1336
|
+
|
|
1337
|
+
currentPerformanceRiskRatings?: CurrentPerformanceRiskRatings;
|
|
1178
1338
|
}
|
|
1179
1339
|
export declare namespace RecommendationSummary {
|
|
1180
1340
|
|
|
@@ -1190,6 +1350,24 @@ export declare namespace GetRecommendationSummariesResponse {
|
|
|
1190
1350
|
|
|
1191
1351
|
const filterSensitiveLog: (obj: GetRecommendationSummariesResponse) => any;
|
|
1192
1352
|
}
|
|
1353
|
+
export interface PutRecommendationPreferencesRequest {
|
|
1354
|
+
|
|
1355
|
+
resourceType: ResourceType | string | undefined;
|
|
1356
|
+
|
|
1357
|
+
scope?: Scope;
|
|
1358
|
+
|
|
1359
|
+
enhancedInfrastructureMetrics?: EnhancedInfrastructureMetrics | string;
|
|
1360
|
+
}
|
|
1361
|
+
export declare namespace PutRecommendationPreferencesRequest {
|
|
1362
|
+
|
|
1363
|
+
const filterSensitiveLog: (obj: PutRecommendationPreferencesRequest) => any;
|
|
1364
|
+
}
|
|
1365
|
+
export interface PutRecommendationPreferencesResponse {
|
|
1366
|
+
}
|
|
1367
|
+
export declare namespace PutRecommendationPreferencesResponse {
|
|
1368
|
+
|
|
1369
|
+
const filterSensitiveLog: (obj: PutRecommendationPreferencesResponse) => any;
|
|
1370
|
+
}
|
|
1193
1371
|
export interface UpdateEnrollmentStatusRequest {
|
|
1194
1372
|
|
|
1195
1373
|
status: Status | string | undefined;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
2
2
|
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
3
|
+
import { DeleteRecommendationPreferencesCommandInput, DeleteRecommendationPreferencesCommandOutput } from "../commands/DeleteRecommendationPreferencesCommand";
|
|
3
4
|
import { DescribeRecommendationExportJobsCommandInput, DescribeRecommendationExportJobsCommandOutput } from "../commands/DescribeRecommendationExportJobsCommand";
|
|
4
5
|
import { ExportAutoScalingGroupRecommendationsCommandInput, ExportAutoScalingGroupRecommendationsCommandOutput } from "../commands/ExportAutoScalingGroupRecommendationsCommand";
|
|
5
6
|
import { ExportEBSVolumeRecommendationsCommandInput, ExportEBSVolumeRecommendationsCommandOutput } from "../commands/ExportEBSVolumeRecommendationsCommand";
|
|
@@ -9,11 +10,15 @@ import { GetAutoScalingGroupRecommendationsCommandInput, GetAutoScalingGroupReco
|
|
|
9
10
|
import { GetEBSVolumeRecommendationsCommandInput, GetEBSVolumeRecommendationsCommandOutput } from "../commands/GetEBSVolumeRecommendationsCommand";
|
|
10
11
|
import { GetEC2InstanceRecommendationsCommandInput, GetEC2InstanceRecommendationsCommandOutput } from "../commands/GetEC2InstanceRecommendationsCommand";
|
|
11
12
|
import { GetEC2RecommendationProjectedMetricsCommandInput, GetEC2RecommendationProjectedMetricsCommandOutput } from "../commands/GetEC2RecommendationProjectedMetricsCommand";
|
|
13
|
+
import { GetEffectiveRecommendationPreferencesCommandInput, GetEffectiveRecommendationPreferencesCommandOutput } from "../commands/GetEffectiveRecommendationPreferencesCommand";
|
|
12
14
|
import { GetEnrollmentStatusCommandInput, GetEnrollmentStatusCommandOutput } from "../commands/GetEnrollmentStatusCommand";
|
|
13
15
|
import { GetEnrollmentStatusesForOrganizationCommandInput, GetEnrollmentStatusesForOrganizationCommandOutput } from "../commands/GetEnrollmentStatusesForOrganizationCommand";
|
|
14
16
|
import { GetLambdaFunctionRecommendationsCommandInput, GetLambdaFunctionRecommendationsCommandOutput } from "../commands/GetLambdaFunctionRecommendationsCommand";
|
|
17
|
+
import { GetRecommendationPreferencesCommandInput, GetRecommendationPreferencesCommandOutput } from "../commands/GetRecommendationPreferencesCommand";
|
|
15
18
|
import { GetRecommendationSummariesCommandInput, GetRecommendationSummariesCommandOutput } from "../commands/GetRecommendationSummariesCommand";
|
|
19
|
+
import { PutRecommendationPreferencesCommandInput, PutRecommendationPreferencesCommandOutput } from "../commands/PutRecommendationPreferencesCommand";
|
|
16
20
|
import { UpdateEnrollmentStatusCommandInput, UpdateEnrollmentStatusCommandOutput } from "../commands/UpdateEnrollmentStatusCommand";
|
|
21
|
+
export declare const serializeAws_json1_0DeleteRecommendationPreferencesCommand: (input: DeleteRecommendationPreferencesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
17
22
|
export declare const serializeAws_json1_0DescribeRecommendationExportJobsCommand: (input: DescribeRecommendationExportJobsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
18
23
|
export declare const serializeAws_json1_0ExportAutoScalingGroupRecommendationsCommand: (input: ExportAutoScalingGroupRecommendationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
19
24
|
export declare const serializeAws_json1_0ExportEBSVolumeRecommendationsCommand: (input: ExportEBSVolumeRecommendationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -23,11 +28,15 @@ export declare const serializeAws_json1_0GetAutoScalingGroupRecommendationsComma
|
|
|
23
28
|
export declare const serializeAws_json1_0GetEBSVolumeRecommendationsCommand: (input: GetEBSVolumeRecommendationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
24
29
|
export declare const serializeAws_json1_0GetEC2InstanceRecommendationsCommand: (input: GetEC2InstanceRecommendationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
25
30
|
export declare const serializeAws_json1_0GetEC2RecommendationProjectedMetricsCommand: (input: GetEC2RecommendationProjectedMetricsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
31
|
+
export declare const serializeAws_json1_0GetEffectiveRecommendationPreferencesCommand: (input: GetEffectiveRecommendationPreferencesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
26
32
|
export declare const serializeAws_json1_0GetEnrollmentStatusCommand: (input: GetEnrollmentStatusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
27
33
|
export declare const serializeAws_json1_0GetEnrollmentStatusesForOrganizationCommand: (input: GetEnrollmentStatusesForOrganizationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
28
34
|
export declare const serializeAws_json1_0GetLambdaFunctionRecommendationsCommand: (input: GetLambdaFunctionRecommendationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
35
|
+
export declare const serializeAws_json1_0GetRecommendationPreferencesCommand: (input: GetRecommendationPreferencesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
29
36
|
export declare const serializeAws_json1_0GetRecommendationSummariesCommand: (input: GetRecommendationSummariesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
37
|
+
export declare const serializeAws_json1_0PutRecommendationPreferencesCommand: (input: PutRecommendationPreferencesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
30
38
|
export declare const serializeAws_json1_0UpdateEnrollmentStatusCommand: (input: UpdateEnrollmentStatusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
39
|
+
export declare const deserializeAws_json1_0DeleteRecommendationPreferencesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteRecommendationPreferencesCommandOutput>;
|
|
31
40
|
export declare const deserializeAws_json1_0DescribeRecommendationExportJobsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeRecommendationExportJobsCommandOutput>;
|
|
32
41
|
export declare const deserializeAws_json1_0ExportAutoScalingGroupRecommendationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ExportAutoScalingGroupRecommendationsCommandOutput>;
|
|
33
42
|
export declare const deserializeAws_json1_0ExportEBSVolumeRecommendationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ExportEBSVolumeRecommendationsCommandOutput>;
|
|
@@ -37,8 +46,11 @@ export declare const deserializeAws_json1_0GetAutoScalingGroupRecommendationsCom
|
|
|
37
46
|
export declare const deserializeAws_json1_0GetEBSVolumeRecommendationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetEBSVolumeRecommendationsCommandOutput>;
|
|
38
47
|
export declare const deserializeAws_json1_0GetEC2InstanceRecommendationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetEC2InstanceRecommendationsCommandOutput>;
|
|
39
48
|
export declare const deserializeAws_json1_0GetEC2RecommendationProjectedMetricsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetEC2RecommendationProjectedMetricsCommandOutput>;
|
|
49
|
+
export declare const deserializeAws_json1_0GetEffectiveRecommendationPreferencesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetEffectiveRecommendationPreferencesCommandOutput>;
|
|
40
50
|
export declare const deserializeAws_json1_0GetEnrollmentStatusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetEnrollmentStatusCommandOutput>;
|
|
41
51
|
export declare const deserializeAws_json1_0GetEnrollmentStatusesForOrganizationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetEnrollmentStatusesForOrganizationCommandOutput>;
|
|
42
52
|
export declare const deserializeAws_json1_0GetLambdaFunctionRecommendationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetLambdaFunctionRecommendationsCommandOutput>;
|
|
53
|
+
export declare const deserializeAws_json1_0GetRecommendationPreferencesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetRecommendationPreferencesCommandOutput>;
|
|
43
54
|
export declare const deserializeAws_json1_0GetRecommendationSummariesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetRecommendationSummariesCommandOutput>;
|
|
55
|
+
export declare const deserializeAws_json1_0PutRecommendationPreferencesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutRecommendationPreferencesCommandOutput>;
|
|
44
56
|
export declare const deserializeAws_json1_0UpdateEnrollmentStatusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateEnrollmentStatusCommandOutput>;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { ComputeOptimizerClientConfig } from "./ComputeOptimizerClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: ComputeOptimizerClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -10,7 +11,7 @@ export declare const getRuntimeConfig: (config: ComputeOptimizerClientConfig) =>
|
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { ComputeOptimizerClientConfig } from "./ComputeOptimizerClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: ComputeOptimizerClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
9
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|