UNPKG

27.2 kBTypeScriptView Raw
1import {Request} from '../lib/request';
2import {Response} from '../lib/response';
3import {AWSError} from '../lib/error';
4import {Service} from '../lib/service';
5import {ServiceConfigurationOptions} from '../lib/service';
6import {ConfigBase as Config} from '../lib/config';
7interface Blob {}
8declare class ComputeOptimizer extends Service {
9 /**
10 * Constructs a service object. This object has one method for each API operation.
11 */
12 constructor(options?: ComputeOptimizer.Types.ClientConfiguration)
13 config: Config & ComputeOptimizer.Types.ClientConfiguration;
14 /**
15 * Returns Auto Scaling group recommendations. AWS Compute Optimizer currently generates recommendations for Auto Scaling groups that are configured to run instances of the M, C, R, T, and X instance families. The service does not generate recommendations for Auto Scaling groups that have a scaling policy attached to them, or that do not have the same values for desired, minimum, and maximum capacity. In order for Compute Optimizer to analyze your Auto Scaling groups, they must be of a fixed size. For more information, see the AWS Compute Optimizer User Guide.
16 */
17 getAutoScalingGroupRecommendations(params: ComputeOptimizer.Types.GetAutoScalingGroupRecommendationsRequest, callback?: (err: AWSError, data: ComputeOptimizer.Types.GetAutoScalingGroupRecommendationsResponse) => void): Request<ComputeOptimizer.Types.GetAutoScalingGroupRecommendationsResponse, AWSError>;
18 /**
19 * Returns Auto Scaling group recommendations. AWS Compute Optimizer currently generates recommendations for Auto Scaling groups that are configured to run instances of the M, C, R, T, and X instance families. The service does not generate recommendations for Auto Scaling groups that have a scaling policy attached to them, or that do not have the same values for desired, minimum, and maximum capacity. In order for Compute Optimizer to analyze your Auto Scaling groups, they must be of a fixed size. For more information, see the AWS Compute Optimizer User Guide.
20 */
21 getAutoScalingGroupRecommendations(callback?: (err: AWSError, data: ComputeOptimizer.Types.GetAutoScalingGroupRecommendationsResponse) => void): Request<ComputeOptimizer.Types.GetAutoScalingGroupRecommendationsResponse, AWSError>;
22 /**
23 * Returns Amazon EC2 instance recommendations. AWS Compute Optimizer currently generates recommendations for Amazon Elastic Compute Cloud (Amazon EC2) and Amazon EC2 Auto Scaling. It generates recommendations for M, C, R, T, and X instance families. For more information, see the AWS Compute Optimizer User Guide.
24 */
25 getEC2InstanceRecommendations(params: ComputeOptimizer.Types.GetEC2InstanceRecommendationsRequest, callback?: (err: AWSError, data: ComputeOptimizer.Types.GetEC2InstanceRecommendationsResponse) => void): Request<ComputeOptimizer.Types.GetEC2InstanceRecommendationsResponse, AWSError>;
26 /**
27 * Returns Amazon EC2 instance recommendations. AWS Compute Optimizer currently generates recommendations for Amazon Elastic Compute Cloud (Amazon EC2) and Amazon EC2 Auto Scaling. It generates recommendations for M, C, R, T, and X instance families. For more information, see the AWS Compute Optimizer User Guide.
28 */
29 getEC2InstanceRecommendations(callback?: (err: AWSError, data: ComputeOptimizer.Types.GetEC2InstanceRecommendationsResponse) => void): Request<ComputeOptimizer.Types.GetEC2InstanceRecommendationsResponse, AWSError>;
30 /**
31 * Returns the projected utilization metrics of Amazon EC2 instance recommendations.
32 */
33 getEC2RecommendationProjectedMetrics(params: ComputeOptimizer.Types.GetEC2RecommendationProjectedMetricsRequest, callback?: (err: AWSError, data: ComputeOptimizer.Types.GetEC2RecommendationProjectedMetricsResponse) => void): Request<ComputeOptimizer.Types.GetEC2RecommendationProjectedMetricsResponse, AWSError>;
34 /**
35 * Returns the projected utilization metrics of Amazon EC2 instance recommendations.
36 */
37 getEC2RecommendationProjectedMetrics(callback?: (err: AWSError, data: ComputeOptimizer.Types.GetEC2RecommendationProjectedMetricsResponse) => void): Request<ComputeOptimizer.Types.GetEC2RecommendationProjectedMetricsResponse, AWSError>;
38 /**
39 * Returns the enrollment (opt in) status of an account to the AWS Compute Optimizer service. If the account is a master account of an organization, this operation also confirms the enrollment status of member accounts within the organization.
40 */
41 getEnrollmentStatus(params: ComputeOptimizer.Types.GetEnrollmentStatusRequest, callback?: (err: AWSError, data: ComputeOptimizer.Types.GetEnrollmentStatusResponse) => void): Request<ComputeOptimizer.Types.GetEnrollmentStatusResponse, AWSError>;
42 /**
43 * Returns the enrollment (opt in) status of an account to the AWS Compute Optimizer service. If the account is a master account of an organization, this operation also confirms the enrollment status of member accounts within the organization.
44 */
45 getEnrollmentStatus(callback?: (err: AWSError, data: ComputeOptimizer.Types.GetEnrollmentStatusResponse) => void): Request<ComputeOptimizer.Types.GetEnrollmentStatusResponse, AWSError>;
46 /**
47 * Returns the optimization findings for an account. For example, it returns the number of Amazon EC2 instances in an account that are under-provisioned, over-provisioned, or optimized. It also returns the number of Auto Scaling groups in an account that are not optimized, or optimized.
48 */
49 getRecommendationSummaries(params: ComputeOptimizer.Types.GetRecommendationSummariesRequest, callback?: (err: AWSError, data: ComputeOptimizer.Types.GetRecommendationSummariesResponse) => void): Request<ComputeOptimizer.Types.GetRecommendationSummariesResponse, AWSError>;
50 /**
51 * Returns the optimization findings for an account. For example, it returns the number of Amazon EC2 instances in an account that are under-provisioned, over-provisioned, or optimized. It also returns the number of Auto Scaling groups in an account that are not optimized, or optimized.
52 */
53 getRecommendationSummaries(callback?: (err: AWSError, data: ComputeOptimizer.Types.GetRecommendationSummariesResponse) => void): Request<ComputeOptimizer.Types.GetRecommendationSummariesResponse, AWSError>;
54 /**
55 * Updates the enrollment (opt in) status of an account to the AWS Compute Optimizer service. If the account is a master account of an organization, this operation can also enroll member accounts within the organization.
56 */
57 updateEnrollmentStatus(params: ComputeOptimizer.Types.UpdateEnrollmentStatusRequest, callback?: (err: AWSError, data: ComputeOptimizer.Types.UpdateEnrollmentStatusResponse) => void): Request<ComputeOptimizer.Types.UpdateEnrollmentStatusResponse, AWSError>;
58 /**
59 * Updates the enrollment (opt in) status of an account to the AWS Compute Optimizer service. If the account is a master account of an organization, this operation can also enroll member accounts within the organization.
60 */
61 updateEnrollmentStatus(callback?: (err: AWSError, data: ComputeOptimizer.Types.UpdateEnrollmentStatusResponse) => void): Request<ComputeOptimizer.Types.UpdateEnrollmentStatusResponse, AWSError>;
62}
63declare namespace ComputeOptimizer {
64 export type AccountId = string;
65 export type AccountIds = AccountId[];
66 export type AutoScalingGroupArn = string;
67 export type AutoScalingGroupArns = AutoScalingGroupArn[];
68 export interface AutoScalingGroupConfiguration {
69 /**
70 * The desired capacity, or number of instances, for the Auto Scaling group.
71 */
72 desiredCapacity?: DesiredCapacity;
73 /**
74 * The minimum size, or minimum number of instances, for the Auto Scaling group.
75 */
76 minSize?: MinSize;
77 /**
78 * The maximum size, or maximum number of instances, for the Auto Scaling group.
79 */
80 maxSize?: MaxSize;
81 /**
82 * The instance type for the Auto Scaling group.
83 */
84 instanceType?: InstanceType;
85 }
86 export type AutoScalingGroupName = string;
87 export interface AutoScalingGroupRecommendation {
88 /**
89 * The AWS account ID of the Auto Scaling group.
90 */
91 accountId?: AccountId;
92 /**
93 * The Amazon Resource Name (ARN) of the Auto Scaling group.
94 */
95 autoScalingGroupArn?: AutoScalingGroupArn;
96 /**
97 * The name of the Auto Scaling group.
98 */
99 autoScalingGroupName?: AutoScalingGroupName;
100 /**
101 * The finding classification for the Auto Scaling group. Findings for Auto Scaling groups include: NotOptimized —An Auto Scaling group is considered not optimized when AWS Compute Optimizer identifies a recommendation that can provide better performance for your workload. Optimized —An Auto Scaling group is considered optimized when Compute Optimizer determines that the group is correctly provisioned to run your workload based on the chosen instance type. For optimized resources, Compute Optimizer might recommend a new generation instance type. The values that are returned might be NOT_OPTIMIZED or OPTIMIZED.
102 */
103 finding?: Finding;
104 /**
105 * An array of objects that describe the utilization metrics of the Auto Scaling group.
106 */
107 utilizationMetrics?: UtilizationMetrics;
108 /**
109 * The number of days for which utilization metrics were analyzed for the Auto Scaling group.
110 */
111 lookBackPeriodInDays?: LookBackPeriodInDays;
112 /**
113 * An array of objects that describe the current configuration of the Auto Scaling group.
114 */
115 currentConfiguration?: AutoScalingGroupConfiguration;
116 /**
117 * An array of objects that describe the recommendation options for the Auto Scaling group.
118 */
119 recommendationOptions?: AutoScalingGroupRecommendationOptions;
120 /**
121 * The time stamp of when the Auto Scaling group recommendation was last refreshed.
122 */
123 lastRefreshTimestamp?: LastRefreshTimestamp;
124 }
125 export interface AutoScalingGroupRecommendationOption {
126 /**
127 * An array of objects that describe an Auto Scaling group configuration.
128 */
129 configuration?: AutoScalingGroupConfiguration;
130 /**
131 * An array of objects that describe the projected utilization metrics of the Auto Scaling group recommendation option.
132 */
133 projectedUtilizationMetrics?: ProjectedUtilizationMetrics;
134 /**
135 * The performance risk of the Auto Scaling group configuration recommendation. Performance risk is the likelihood of the recommended instance type not meeting the performance requirement of your workload. The lowest performance risk is categorized as 0, and the highest as 5.
136 */
137 performanceRisk?: PerformanceRisk;
138 /**
139 * The rank of the Auto Scaling group recommendation option. The top recommendation option is ranked as 1.
140 */
141 rank?: Rank;
142 }
143 export type AutoScalingGroupRecommendationOptions = AutoScalingGroupRecommendationOption[];
144 export type AutoScalingGroupRecommendations = AutoScalingGroupRecommendation[];
145 export type Code = string;
146 export type CurrentInstanceType = string;
147 export type DesiredCapacity = number;
148 export interface Filter {
149 /**
150 * The name of the filter. Specify Finding to filter the results to a specific findings classification. Specify RecommendationSourceType to filter the results to a specific resource type.
151 */
152 name?: FilterName;
153 /**
154 * The value of the filter. If you specify the name parameter as Finding, and you're recommendations for an instance, then the valid values are Underprovisioned, Overprovisioned, NotOptimized, or Optimized. If you specify the name parameter as Finding, and you're recommendations for an Auto Scaling group, then the valid values are Optimized, or NotOptimized. If you specify the name parameter as RecommendationSourceType, then the valid values are EC2Instance, or AutoScalingGroup.
155 */
156 values?: FilterValues;
157 }
158 export type FilterName = "Finding"|"RecommendationSourceType"|string;
159 export type FilterValue = string;
160 export type FilterValues = FilterValue[];
161 export type Filters = Filter[];
162 export type Finding = "Underprovisioned"|"Overprovisioned"|"Optimized"|"NotOptimized"|string;
163 export interface GetAutoScalingGroupRecommendationsRequest {
164 /**
165 * The AWS account IDs for which to return Auto Scaling group recommendations. Only one account ID can be specified per request.
166 */
167 accountIds?: AccountIds;
168 /**
169 * The Amazon Resource Name (ARN) of the Auto Scaling groups for which to return recommendations.
170 */
171 autoScalingGroupArns?: AutoScalingGroupArns;
172 /**
173 * The token to advance to the next page of Auto Scaling group recommendations.
174 */
175 nextToken?: NextToken;
176 /**
177 * The maximum number of Auto Scaling group recommendations to return with a single call. To retrieve the remaining results, make another call with the returned NextToken value.
178 */
179 maxResults?: MaxResults;
180 /**
181 * An array of objects that describe a filter that returns a more specific list of Auto Scaling group recommendations.
182 */
183 filters?: Filters;
184 }
185 export interface GetAutoScalingGroupRecommendationsResponse {
186 /**
187 * The token to use to advance to the next page of Auto Scaling group recommendations. This value is null when there are no more pages of Auto Scaling group recommendations to return.
188 */
189 nextToken?: NextToken;
190 /**
191 * An array of objects that describe Auto Scaling group recommendations.
192 */
193 autoScalingGroupRecommendations?: AutoScalingGroupRecommendations;
194 /**
195 * An array of objects that describe errors of the request. For example, an error is returned if you request recommendations for an unsupported Auto Scaling group.
196 */
197 errors?: GetRecommendationErrors;
198 }
199 export interface GetEC2InstanceRecommendationsRequest {
200 /**
201 * The Amazon Resource Name (ARN) of the instances for which to return recommendations.
202 */
203 instanceArns?: InstanceArns;
204 /**
205 * The token to advance to the next page of instance recommendations.
206 */
207 nextToken?: NextToken;
208 /**
209 * The maximum number of instance recommendations to return with a single call. To retrieve the remaining results, make another call with the returned NextToken value.
210 */
211 maxResults?: MaxResults;
212 /**
213 * An array of objects that describe a filter that returns a more specific list of instance recommendations.
214 */
215 filters?: Filters;
216 /**
217 * The AWS account IDs for which to return instance recommendations. Only one account ID can be specified per request.
218 */
219 accountIds?: AccountIds;
220 }
221 export interface GetEC2InstanceRecommendationsResponse {
222 /**
223 * The token to use to advance to the next page of instance recommendations. This value is null when there are no more pages of instance recommendations to return.
224 */
225 nextToken?: NextToken;
226 /**
227 * An array of objects that describe instance recommendations.
228 */
229 instanceRecommendations?: InstanceRecommendations;
230 /**
231 * An array of objects that describe errors of the request. For example, an error is returned if you request recommendations for an instance of an unsupported instance family.
232 */
233 errors?: GetRecommendationErrors;
234 }
235 export interface GetEC2RecommendationProjectedMetricsRequest {
236 /**
237 * The Amazon Resource Name (ARN) of the instances for which to return recommendation projected metrics.
238 */
239 instanceArn: InstanceArn;
240 /**
241 * The statistic of the projected metrics.
242 */
243 stat: MetricStatistic;
244 /**
245 * The granularity, in seconds, of the projected metrics data points.
246 */
247 period: Period;
248 /**
249 * The time stamp of the first projected metrics data point to return.
250 */
251 startTime: Timestamp;
252 /**
253 * The time stamp of the last projected metrics data point to return.
254 */
255 endTime: Timestamp;
256 }
257 export interface GetEC2RecommendationProjectedMetricsResponse {
258 /**
259 * An array of objects that describe a projected metrics.
260 */
261 recommendedOptionProjectedMetrics?: RecommendedOptionProjectedMetrics;
262 }
263 export interface GetEnrollmentStatusRequest {
264 }
265 export interface GetEnrollmentStatusResponse {
266 /**
267 * The enrollment status of the account.
268 */
269 status?: Status;
270 /**
271 * The reason for the enrollment status of the account. For example, an account might show a status of Pending because member accounts of an organization require more time to be enrolled in the service.
272 */
273 statusReason?: StatusReason;
274 /**
275 * Confirms the enrollment status of member accounts within the organization, if the account is a master account of an organization.
276 */
277 memberAccountsEnrolled?: MemberAccountsEnrolled;
278 }
279 export interface GetRecommendationError {
280 /**
281 * The ID of the error.
282 */
283 identifier?: Identifier;
284 /**
285 * The error code.
286 */
287 code?: Code;
288 /**
289 * The message, or reason, for the error.
290 */
291 message?: Message;
292 }
293 export type GetRecommendationErrors = GetRecommendationError[];
294 export interface GetRecommendationSummariesRequest {
295 /**
296 * The AWS account IDs for which to return recommendation summaries. Only one account ID can be specified per request.
297 */
298 accountIds?: AccountIds;
299 /**
300 * The token to advance to the next page of recommendation summaries.
301 */
302 nextToken?: NextToken;
303 /**
304 * The maximum number of recommendation summaries to return with a single call. To retrieve the remaining results, make another call with the returned NextToken value.
305 */
306 maxResults?: MaxResults;
307 }
308 export interface GetRecommendationSummariesResponse {
309 /**
310 * The token to use to advance to the next page of recommendation summaries. This value is null when there are no more pages of recommendation summaries to return.
311 */
312 nextToken?: NextToken;
313 /**
314 * An array of objects that summarize a recommendation.
315 */
316 recommendationSummaries?: RecommendationSummaries;
317 }
318 export type Identifier = string;
319 export type IncludeMemberAccounts = boolean;
320 export type InstanceArn = string;
321 export type InstanceArns = InstanceArn[];
322 export type InstanceName = string;
323 export interface InstanceRecommendation {
324 /**
325 * The Amazon Resource Name (ARN) of the current instance.
326 */
327 instanceArn?: InstanceArn;
328 /**
329 * The AWS account ID of the instance recommendation.
330 */
331 accountId?: AccountId;
332 /**
333 * The name of the current instance.
334 */
335 instanceName?: InstanceName;
336 /**
337 * The instance type of the current instance.
338 */
339 currentInstanceType?: CurrentInstanceType;
340 /**
341 * The finding classification for the instance. Findings for instances include: Underprovisioned —An instance is considered under-provisioned when at least one specification of your instance, such as CPU, memory, or network, does not meet the performance requirements of your workload. Under-provisioned instances may lead to poor application performance. Overprovisioned —An instance is considered over-provisioned when at least one specification of your instance, such as CPU, memory, or network, can be sized down while still meeting the performance requirements of your workload, and no specification is under-provisioned. Over-provisioned instances may lead to unnecessary infrastructure cost. Optimized —An instance is considered optimized when all specifications of your instance, such as CPU, memory, and network, meet the performance requirements of your workload and is not over provisioned. An optimized instance runs your workloads with optimal performance and infrastructure cost. For optimized resources, AWS Compute Optimizer might recommend a new generation instance type. The values that are returned might be UNDER_PROVISIONED, OVER_PROVISIONED, or OPTIMIZED.
342 */
343 finding?: Finding;
344 /**
345 * An array of objects that describe the utilization metrics of the instance.
346 */
347 utilizationMetrics?: UtilizationMetrics;
348 /**
349 * The number of days for which utilization metrics were analyzed for the instance.
350 */
351 lookBackPeriodInDays?: LookBackPeriodInDays;
352 /**
353 * An array of objects that describe the recommendation options for the instance.
354 */
355 recommendationOptions?: RecommendationOptions;
356 /**
357 * An array of objects that describe the source resource of the recommendation.
358 */
359 recommendationSources?: RecommendationSources;
360 /**
361 * The time stamp of when the instance recommendation was last refreshed.
362 */
363 lastRefreshTimestamp?: LastRefreshTimestamp;
364 }
365 export interface InstanceRecommendationOption {
366 /**
367 * The instance type of the instance recommendation.
368 */
369 instanceType?: InstanceType;
370 /**
371 * An array of objects that describe the projected utilization metrics of the instance recommendation option.
372 */
373 projectedUtilizationMetrics?: ProjectedUtilizationMetrics;
374 /**
375 * The performance risk of the instance recommendation option. Performance risk is the likelihood of the recommended instance type not meeting the performance requirement of your workload. The lowest performance risk is categorized as 0, and the highest as 5.
376 */
377 performanceRisk?: PerformanceRisk;
378 /**
379 * The rank of the instance recommendation option. The top recommendation option is ranked as 1.
380 */
381 rank?: Rank;
382 }
383 export type InstanceRecommendations = InstanceRecommendation[];
384 export type InstanceType = string;
385 export type LastRefreshTimestamp = Date;
386 export type LookBackPeriodInDays = number;
387 export type MaxResults = number;
388 export type MaxSize = number;
389 export type MemberAccountsEnrolled = boolean;
390 export type Message = string;
391 export type MetricName = "Cpu"|"Memory"|string;
392 export type MetricStatistic = "Maximum"|"Average"|string;
393 export type MetricValue = number;
394 export type MetricValues = MetricValue[];
395 export type MinSize = number;
396 export type NextToken = string;
397 export type PerformanceRisk = number;
398 export type Period = number;
399 export interface ProjectedMetric {
400 /**
401 * The name of the projected utilization metric. Memory metrics are only returned for resources that have the unified CloudWatch agent installed on them. For more information, see Enabling Memory Utilization with the CloudWatch Agent.
402 */
403 name?: MetricName;
404 /**
405 * The time stamps of the projected utilization metric.
406 */
407 timestamps?: Timestamps;
408 /**
409 * The values of the projected utilization metrics.
410 */
411 values?: MetricValues;
412 }
413 export type ProjectedMetrics = ProjectedMetric[];
414 export type ProjectedUtilizationMetrics = UtilizationMetric[];
415 export type Rank = number;
416 export type RecommendationOptions = InstanceRecommendationOption[];
417 export interface RecommendationSource {
418 /**
419 * The Amazon Resource Name (ARN) of the recommendation source.
420 */
421 recommendationSourceArn?: RecommendationSourceArn;
422 /**
423 * The resource type of the recommendation source.
424 */
425 recommendationSourceType?: RecommendationSourceType;
426 }
427 export type RecommendationSourceArn = string;
428 export type RecommendationSourceType = "Ec2Instance"|"AutoScalingGroup"|string;
429 export type RecommendationSources = RecommendationSource[];
430 export type RecommendationSummaries = RecommendationSummary[];
431 export interface RecommendationSummary {
432 /**
433 * An array of objects that describe a recommendation summary.
434 */
435 summaries?: Summaries;
436 /**
437 * The resource type of the recommendation.
438 */
439 recommendationResourceType?: RecommendationSourceType;
440 /**
441 * The AWS account ID of the recommendation summary.
442 */
443 accountId?: AccountId;
444 }
445 export type RecommendedInstanceType = string;
446 export interface RecommendedOptionProjectedMetric {
447 /**
448 * The recommended instance type.
449 */
450 recommendedInstanceType?: RecommendedInstanceType;
451 /**
452 * The rank of the recommendation option projected metric. The top recommendation option is ranked as 1. The projected metric rank correlates to the recommendation option rank. For example, the projected metric ranked as 1 is related to the recommendation option that is also ranked as 1 in the same response.
453 */
454 rank?: Rank;
455 /**
456 * An array of objects that describe a projected utilization metric.
457 */
458 projectedMetrics?: ProjectedMetrics;
459 }
460 export type RecommendedOptionProjectedMetrics = RecommendedOptionProjectedMetric[];
461 export type Status = "Active"|"Inactive"|"Pending"|"Failed"|string;
462 export type StatusReason = string;
463 export type Summaries = Summary[];
464 export interface Summary {
465 /**
466 * The finding classification of the recommendation.
467 */
468 name?: Finding;
469 /**
470 * The value of the recommendation summary.
471 */
472 value?: SummaryValue;
473 }
474 export type SummaryValue = number;
475 export type Timestamp = Date;
476 export type Timestamps = Timestamp[];
477 export interface UpdateEnrollmentStatusRequest {
478 /**
479 * The new enrollment status of the account. Accepted options are Active or Inactive. You will get an error if Pending or Failed are specified.
480 */
481 status: Status;
482 /**
483 * Indicates whether to enroll member accounts within the organization, if the account is a master account of an organization.
484 */
485 includeMemberAccounts?: IncludeMemberAccounts;
486 }
487 export interface UpdateEnrollmentStatusResponse {
488 /**
489 * The enrollment status of the account.
490 */
491 status?: Status;
492 /**
493 * The reason for the enrollment status of the account. For example, an account might show a status of Pending because member accounts of an organization require more time to be enrolled in the service.
494 */
495 statusReason?: StatusReason;
496 }
497 export interface UtilizationMetric {
498 /**
499 * The name of the utilization metric. Memory metrics are only returned for resources that have the unified CloudWatch agent installed on them. For more information, see Enabling Memory Utilization with the CloudWatch Agent.
500 */
501 name?: MetricName;
502 /**
503 * The statistic of the utilization metric.
504 */
505 statistic?: MetricStatistic;
506 /**
507 * The value of the utilization metric.
508 */
509 value?: MetricValue;
510 }
511 export type UtilizationMetrics = UtilizationMetric[];
512 /**
513 * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
514 */
515 export type apiVersion = "2019-11-01"|"latest"|string;
516 export interface ClientApiVersions {
517 /**
518 * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
519 */
520 apiVersion?: apiVersion;
521 }
522 export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
523 /**
524 * Contains interfaces for use with the ComputeOptimizer client.
525 */
526 export import Types = ComputeOptimizer;
527}
528export = ComputeOptimizer;