aws-sdk 2.801.0 → 2.805.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.
Files changed (44) hide show
  1. package/CHANGELOG.md +25 -1
  2. package/README.md +1 -1
  3. package/apis/amplifybackend-2020-08-11.min.json +0 -8
  4. package/apis/batch-2016-08-10.min.json +81 -21
  5. package/apis/compute-optimizer-2019-11-01.min.json +110 -0
  6. package/apis/{profile-2020-08-15.examples.json → customer-profiles-2020-08-15.examples.json} +0 -0
  7. package/apis/{profile-2020-08-15.min.json → customer-profiles-2020-08-15.min.json} +3 -3
  8. package/apis/{profile-2020-08-15.paginators.json → customer-profiles-2020-08-15.paginators.json} +0 -0
  9. package/apis/dms-2016-01-01.min.json +9 -1
  10. package/apis/ec2-2016-11-15.min.json +4 -0
  11. package/apis/lambda-2015-03-31.examples.json +6 -6
  12. package/apis/license-manager-2018-08-01.min.json +957 -51
  13. package/apis/medialive-2017-10-14.min.json +240 -158
  14. package/apis/metadata.json +4 -3
  15. package/apis/rds-2014-10-31.min.json +200 -132
  16. package/apis/servicecatalog-appregistry-2020-06-24.min.json +80 -0
  17. package/apis/ssm-2014-11-06.min.json +348 -203
  18. package/clients/all.d.ts +1 -1
  19. package/clients/all.js +2 -2
  20. package/clients/amplifybackend.d.ts +74 -74
  21. package/clients/batch.d.ts +200 -133
  22. package/clients/computeoptimizer.d.ts +179 -22
  23. package/clients/{profile.d.ts → customerprofiles.d.ts} +63 -63
  24. package/clients/customerprofiles.js +18 -0
  25. package/clients/directoryservice.d.ts +24 -21
  26. package/clients/dms.d.ts +16 -0
  27. package/clients/ec2.d.ts +6 -2
  28. package/clients/kafka.d.ts +4 -4
  29. package/clients/lambda.d.ts +10 -10
  30. package/clients/licensemanager.d.ts +1350 -72
  31. package/clients/medialive.d.ts +80 -1
  32. package/clients/rds.d.ts +128 -43
  33. package/clients/servicecatalogappregistry.d.ts +61 -0
  34. package/clients/ssm.d.ts +197 -10
  35. package/clients/workspaces.d.ts +10 -10
  36. package/dist/aws-sdk-core-react-native.js +2 -2
  37. package/dist/aws-sdk-react-native.js +31 -27
  38. package/dist/aws-sdk.js +565 -343
  39. package/dist/aws-sdk.min.js +60 -60
  40. package/lib/config_service_placeholders.d.ts +2 -2
  41. package/lib/core.js +1 -1
  42. package/lib/services/s3.js +6 -2
  43. package/package.json +1 -1
  44. package/clients/profile.js +0 -18
@@ -43,6 +43,14 @@ declare class ComputeOptimizer extends Service {
43
43
  * Returns Auto Scaling group recommendations. AWS Compute Optimizer generates recommendations for Amazon EC2 Auto Scaling groups that meet a specific set of requirements. For more information, see the Supported resources and requirements in the AWS Compute Optimizer User Guide.
44
44
  */
45
45
  getAutoScalingGroupRecommendations(callback?: (err: AWSError, data: ComputeOptimizer.Types.GetAutoScalingGroupRecommendationsResponse) => void): Request<ComputeOptimizer.Types.GetAutoScalingGroupRecommendationsResponse, AWSError>;
46
+ /**
47
+ * Returns Amazon Elastic Block Store (Amazon EBS) volume recommendations. AWS Compute Optimizer generates recommendations for Amazon EBS volumes that meet a specific set of requirements. For more information, see the Supported resources and requirements in the AWS Compute Optimizer User Guide.
48
+ */
49
+ getEBSVolumeRecommendations(params: ComputeOptimizer.Types.GetEBSVolumeRecommendationsRequest, callback?: (err: AWSError, data: ComputeOptimizer.Types.GetEBSVolumeRecommendationsResponse) => void): Request<ComputeOptimizer.Types.GetEBSVolumeRecommendationsResponse, AWSError>;
50
+ /**
51
+ * Returns Amazon Elastic Block Store (Amazon EBS) volume recommendations. AWS Compute Optimizer generates recommendations for Amazon EBS volumes that meet a specific set of requirements. For more information, see the Supported resources and requirements in the AWS Compute Optimizer User Guide.
52
+ */
53
+ getEBSVolumeRecommendations(callback?: (err: AWSError, data: ComputeOptimizer.Types.GetEBSVolumeRecommendationsResponse) => void): Request<ComputeOptimizer.Types.GetEBSVolumeRecommendationsResponse, AWSError>;
46
54
  /**
47
55
  * Returns Amazon EC2 instance recommendations. AWS Compute Optimizer generates recommendations for Amazon Elastic Compute Cloud (Amazon EC2) instances that meet a specific set of requirements. For more information, see the Supported resources and requirements in the AWS Compute Optimizer User Guide.
48
56
  */
@@ -60,11 +68,11 @@ declare class ComputeOptimizer extends Service {
60
68
  */
61
69
  getEC2RecommendationProjectedMetrics(callback?: (err: AWSError, data: ComputeOptimizer.Types.GetEC2RecommendationProjectedMetricsResponse) => void): Request<ComputeOptimizer.Types.GetEC2RecommendationProjectedMetricsResponse, AWSError>;
62
70
  /**
63
- * Returns the enrollment (opt in) status of an account to the AWS Compute Optimizer service. If the account is the master account of an organization, this action also confirms the enrollment status of member accounts within the organization.
71
+ * Returns the enrollment (opt in) status of an account to the AWS Compute Optimizer service. If the account is the management account of an organization, this action also confirms the enrollment status of member accounts within the organization.
64
72
  */
65
73
  getEnrollmentStatus(params: ComputeOptimizer.Types.GetEnrollmentStatusRequest, callback?: (err: AWSError, data: ComputeOptimizer.Types.GetEnrollmentStatusResponse) => void): Request<ComputeOptimizer.Types.GetEnrollmentStatusResponse, AWSError>;
66
74
  /**
67
- * Returns the enrollment (opt in) status of an account to the AWS Compute Optimizer service. If the account is the master account of an organization, this action also confirms the enrollment status of member accounts within the organization.
75
+ * Returns the enrollment (opt in) status of an account to the AWS Compute Optimizer service. If the account is the management account of an organization, this action also confirms the enrollment status of member accounts within the organization.
68
76
  */
69
77
  getEnrollmentStatus(callback?: (err: AWSError, data: ComputeOptimizer.Types.GetEnrollmentStatusResponse) => void): Request<ComputeOptimizer.Types.GetEnrollmentStatusResponse, AWSError>;
70
78
  /**
@@ -76,11 +84,11 @@ declare class ComputeOptimizer extends Service {
76
84
  */
77
85
  getRecommendationSummaries(callback?: (err: AWSError, data: ComputeOptimizer.Types.GetRecommendationSummariesResponse) => void): Request<ComputeOptimizer.Types.GetRecommendationSummariesResponse, AWSError>;
78
86
  /**
79
- * 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 action can also be used to enroll member accounts within the organization.
87
+ * Updates the enrollment (opt in) status of an account to the AWS Compute Optimizer service. If the account is a management account of an organization, this action can also be used to enroll member accounts within the organization.
80
88
  */
81
89
  updateEnrollmentStatus(params: ComputeOptimizer.Types.UpdateEnrollmentStatusRequest, callback?: (err: AWSError, data: ComputeOptimizer.Types.UpdateEnrollmentStatusResponse) => void): Request<ComputeOptimizer.Types.UpdateEnrollmentStatusResponse, AWSError>;
82
90
  /**
83
- * 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 action can also be used to enroll member accounts within the organization.
91
+ * Updates the enrollment (opt in) status of an account to the AWS Compute Optimizer service. If the account is a management account of an organization, this action can also be used to enroll member accounts within the organization.
84
92
  */
85
93
  updateEnrollmentStatus(callback?: (err: AWSError, data: ComputeOptimizer.Types.UpdateEnrollmentStatusResponse) => void): Request<ComputeOptimizer.Types.UpdateEnrollmentStatusResponse, AWSError>;
86
94
  }
@@ -122,7 +130,7 @@ declare namespace ComputeOptimizer {
122
130
  */
123
131
  autoScalingGroupName?: AutoScalingGroupName;
124
132
  /**
125
- * 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.
133
+ * 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.
126
134
  */
127
135
  finding?: Finding;
128
136
  /**
@@ -201,9 +209,38 @@ declare namespace ComputeOptimizer {
201
209
  export type DestinationBucket = string;
202
210
  export type DestinationKey = string;
203
211
  export type DestinationKeyPrefix = string;
212
+ export interface EBSFilter {
213
+ /**
214
+ * The name of the filter. Specify Finding to return recommendations with a specific finding classification (e.g., Optimized).
215
+ */
216
+ name?: EBSFilterName;
217
+ /**
218
+ * The value of the filter. The valid values are Optimized, or NotOptimized.
219
+ */
220
+ values?: FilterValues;
221
+ }
222
+ export type EBSFilterName = "Finding"|string;
223
+ export type EBSFilters = EBSFilter[];
224
+ export type EBSFinding = "Optimized"|"NotOptimized"|string;
225
+ export type EBSMetricName = "VolumeReadOpsPerSecond"|"VolumeWriteOpsPerSecond"|"VolumeReadBytesPerSecond"|"VolumeWriteBytesPerSecond"|string;
226
+ export interface EBSUtilizationMetric {
227
+ /**
228
+ * The name of the utilization metric. The following utilization metrics are available: VolumeReadOpsPerSecond - The completed read operations per second from the volume in a specified period of time. Unit: Count VolumeWriteOpsPerSecond - The completed write operations per second to the volume in a specified period of time. Unit: Count VolumeReadBytesPerSecond - The bytes read per second from the volume in a specified period of time. Unit: Bytes VolumeWriteBytesPerSecond - The bytes written to the volume in a specified period of time. Unit: Bytes
229
+ */
230
+ name?: EBSMetricName;
231
+ /**
232
+ * The statistic of the utilization metric. The following statistics are available: Average - This is the value of Sum / SampleCount during the specified period, or the average value observed during the specified period. Maximum - The highest value observed during the specified period. Use this value to determine high volumes of activity for your application.
233
+ */
234
+ statistic?: MetricStatistic;
235
+ /**
236
+ * The value of the utilization metric.
237
+ */
238
+ value?: MetricValue;
239
+ }
240
+ export type EBSUtilizationMetrics = EBSUtilizationMetric[];
204
241
  export interface ExportAutoScalingGroupRecommendationsRequest {
205
242
  /**
206
- * The IDs of the AWS accounts for which to export Auto Scaling group recommendations. If your account is the master account of an organization, use this parameter to specify the member accounts for which you want to export recommendations. This parameter cannot be specified together with the include member accounts parameter. The parameters are mutually exclusive. Recommendations for member accounts are not included in the export if this parameter, or the include member accounts parameter, is omitted. You can specify multiple account IDs per request.
243
+ * The IDs of the AWS accounts for which to export Auto Scaling group recommendations. If your account is the management account of an organization, use this parameter to specify the member accounts for which you want to export recommendations. This parameter cannot be specified together with the include member accounts parameter. The parameters are mutually exclusive. Recommendations for member accounts are not included in the export if this parameter, or the include member accounts parameter, is omitted. You can specify multiple account IDs per request.
207
244
  */
208
245
  accountIds?: AccountIds;
209
246
  /**
@@ -223,7 +260,7 @@ declare namespace ComputeOptimizer {
223
260
  */
224
261
  fileFormat?: FileFormat;
225
262
  /**
226
- * Indicates whether to include recommendations for resources in all member accounts of the organization if your account is the master account of an organization. The member accounts must also be opted in to Compute Optimizer. Recommendations for member accounts of the organization are not included in the export file if this parameter is omitted. This parameter cannot be specified together with the account IDs parameter. The parameters are mutually exclusive. Recommendations for member accounts are not included in the export if this parameter, or the account IDs parameter, is omitted.
263
+ * Indicates whether to include recommendations for resources in all member accounts of the organization if your account is the management account of an organization. The member accounts must also be opted in to Compute Optimizer. Recommendations for member accounts of the organization are not included in the export file if this parameter is omitted. This parameter cannot be specified together with the account IDs parameter. The parameters are mutually exclusive. Recommendations for member accounts are not included in the export if this parameter, or the account IDs parameter, is omitted.
227
264
  */
228
265
  includeMemberAccounts?: IncludeMemberAccounts;
229
266
  }
@@ -245,7 +282,7 @@ declare namespace ComputeOptimizer {
245
282
  }
246
283
  export interface ExportEC2InstanceRecommendationsRequest {
247
284
  /**
248
- * The IDs of the AWS accounts for which to export instance recommendations. If your account is the master account of an organization, use this parameter to specify the member accounts for which you want to export recommendations. This parameter cannot be specified together with the include member accounts parameter. The parameters are mutually exclusive. Recommendations for member accounts are not included in the export if this parameter, or the include member accounts parameter, is omitted. You can specify multiple account IDs per request.
285
+ * The IDs of the AWS accounts for which to export instance recommendations. If your account is the management account of an organization, use this parameter to specify the member accounts for which you want to export recommendations. This parameter cannot be specified together with the include member accounts parameter. The parameters are mutually exclusive. Recommendations for member accounts are not included in the export if this parameter, or the include member accounts parameter, is omitted. You can specify multiple account IDs per request.
249
286
  */
250
287
  accountIds?: AccountIds;
251
288
  /**
@@ -265,7 +302,7 @@ declare namespace ComputeOptimizer {
265
302
  */
266
303
  fileFormat?: FileFormat;
267
304
  /**
268
- * Indicates whether to include recommendations for resources in all member accounts of the organization if your account is the master account of an organization. The member accounts must also be opted in to Compute Optimizer. Recommendations for member accounts of the organization are not included in the export file if this parameter is omitted. Recommendations for member accounts are not included in the export if this parameter, or the account IDs parameter, is omitted.
305
+ * Indicates whether to include recommendations for resources in all member accounts of the organization if your account is the management account of an organization. The member accounts must also be opted in to Compute Optimizer. Recommendations for member accounts of the organization are not included in the export file if this parameter is omitted. Recommendations for member accounts are not included in the export if this parameter, or the account IDs parameter, is omitted.
269
306
  */
270
307
  includeMemberAccounts?: IncludeMemberAccounts;
271
308
  }
@@ -287,11 +324,11 @@ declare namespace ComputeOptimizer {
287
324
  export type FileFormat = "Csv"|string;
288
325
  export interface Filter {
289
326
  /**
290
- * The name of the filter. Specify Finding to return recommendations with a specific findings classification (e.g., Overprovisioned). Specify RecommendationSourceType to return recommendations of a specific resource type (e.g., AutoScalingGroup).
327
+ * The name of the filter. Specify Finding to return recommendations with a specific finding classification (e.g., Overprovisioned). Specify RecommendationSourceType to return recommendations of a specific resource type (e.g., AutoScalingGroup).
291
328
  */
292
329
  name?: FilterName;
293
330
  /**
294
- * The value of the filter. If you specify the name parameter as Finding, and you request recommendations for an instance, then the valid values are Underprovisioned, Overprovisioned, NotOptimized, or Optimized. If you specify the name parameter as Finding, and you request 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.
331
+ * The value of the filter. The valid values for this parameter are as follows, depending on what you specify for the name parameter and the resource type that you wish to filter results for: Specify Optimized or NotOptimized if you specified the name parameter as Finding and you want to filter results for Auto Scaling groups. Specify Underprovisioned, Overprovisioned, or Optimized if you specified the name parameter as Finding and you want to filter results for EC2 instances. Specify Ec2Instance or AutoScalingGroup if you specified the name parameter as RecommendationSourceType.
295
332
  */
296
333
  values?: FilterValues;
297
334
  }
@@ -302,7 +339,7 @@ declare namespace ComputeOptimizer {
302
339
  export type Finding = "Underprovisioned"|"Overprovisioned"|"Optimized"|"NotOptimized"|string;
303
340
  export interface GetAutoScalingGroupRecommendationsRequest {
304
341
  /**
305
- * The IDs of the AWS accounts for which to return Auto Scaling group recommendations. If your account is the master account of an organization, use this parameter to specify the member accounts for which you want to return Auto Scaling group recommendations. Only one account ID can be specified per request.
342
+ * The IDs of the AWS accounts for which to return Auto Scaling group recommendations. If your account is the management account of an organization, use this parameter to specify the member accounts for which you want to return Auto Scaling group recommendations. Only one account ID can be specified per request.
306
343
  */
307
344
  accountIds?: AccountIds;
308
345
  /**
@@ -336,6 +373,42 @@ declare namespace ComputeOptimizer {
336
373
  */
337
374
  errors?: GetRecommendationErrors;
338
375
  }
376
+ export interface GetEBSVolumeRecommendationsRequest {
377
+ /**
378
+ * The Amazon Resource Name (ARN) of the volumes for which to return recommendations.
379
+ */
380
+ volumeArns?: VolumeArns;
381
+ /**
382
+ * The token to advance to the next page of volume recommendations.
383
+ */
384
+ nextToken?: NextToken;
385
+ /**
386
+ * The maximum number of volume recommendations to return with a single request. To retrieve the remaining results, make another request with the returned NextToken value.
387
+ */
388
+ maxResults?: MaxResults;
389
+ /**
390
+ * An array of objects that describe a filter that returns a more specific list of volume recommendations.
391
+ */
392
+ filters?: EBSFilters;
393
+ /**
394
+ * The IDs of the AWS accounts for which to return volume recommendations. If your account is the management account of an organization, use this parameter to specify the member accounts for which you want to return volume recommendations. Only one account ID can be specified per request.
395
+ */
396
+ accountIds?: AccountIds;
397
+ }
398
+ export interface GetEBSVolumeRecommendationsResponse {
399
+ /**
400
+ * The token to use to advance to the next page of volume recommendations. This value is null when there are no more pages of volume recommendations to return.
401
+ */
402
+ nextToken?: NextToken;
403
+ /**
404
+ * An array of objects that describe volume recommendations.
405
+ */
406
+ volumeRecommendations?: VolumeRecommendations;
407
+ /**
408
+ * An array of objects that describe errors of the request. For example, an error is returned if you request recommendations for an unsupported volume.
409
+ */
410
+ errors?: GetRecommendationErrors;
411
+ }
339
412
  export interface GetEC2InstanceRecommendationsRequest {
340
413
  /**
341
414
  * The Amazon Resource Name (ARN) of the instances for which to return recommendations.
@@ -354,7 +427,7 @@ declare namespace ComputeOptimizer {
354
427
  */
355
428
  filters?: Filters;
356
429
  /**
357
- * The IDs of the AWS accounts for which to return instance recommendations. If your account is the master account of an organization, use this parameter to specify the member accounts for which you want to return instance recommendations. Only one account ID can be specified per request.
430
+ * The IDs of the AWS accounts for which to return instance recommendations. If your account is the management account of an organization, use this parameter to specify the member accounts for which you want to return instance recommendations. Only one account ID can be specified per request.
358
431
  */
359
432
  accountIds?: AccountIds;
360
433
  }
@@ -412,7 +485,7 @@ declare namespace ComputeOptimizer {
412
485
  */
413
486
  statusReason?: StatusReason;
414
487
  /**
415
- * Confirms the enrollment status of member accounts within the organization, if the account is a master account of an organization.
488
+ * Confirms the enrollment status of member accounts within the organization, if the account is a management account of an organization.
416
489
  */
417
490
  memberAccountsEnrolled?: MemberAccountsEnrolled;
418
491
  }
@@ -433,7 +506,7 @@ declare namespace ComputeOptimizer {
433
506
  export type GetRecommendationErrors = GetRecommendationError[];
434
507
  export interface GetRecommendationSummariesRequest {
435
508
  /**
436
- * The IDs of the AWS accounts for which to return recommendation summaries. If your account is the master account of an organization, use this parameter to specify the member accounts for which you want to return recommendation summaries. Only one account ID can be specified per request.
509
+ * The IDs of the AWS accounts for which to return recommendation summaries. If your account is the management account of an organization, use this parameter to specify the member accounts for which you want to return recommendation summaries. Only one account ID can be specified per request.
437
510
  */
438
511
  accountIds?: AccountIds;
439
512
  /**
@@ -478,7 +551,7 @@ declare namespace ComputeOptimizer {
478
551
  */
479
552
  currentInstanceType?: CurrentInstanceType;
480
553
  /**
481
- * 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.
554
+ * 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.
482
555
  */
483
556
  finding?: Finding;
484
557
  /**
@@ -528,7 +601,7 @@ declare namespace ComputeOptimizer {
528
601
  */
529
602
  name?: JobFilterName;
530
603
  /**
531
- * The value of the filter. If you specify the name parameter as ResourceType, the valid values are Ec2Instance or AutoScalingGroup. If you specify the name parameter as JobStatus, the valid values are Queued, InProgress, Complete, or Failed.
604
+ * The value of the filter. The valid values for this parameter are as follows, depending on what you specify for the name parameter: Specify Ec2Instance or AutoScalingGroup if you specified the name parameter as ResourceType. There is no filter for EBS volumes because volume recommendations cannot be exported at this time. Specify Queued, InProgress, Complete, or Failed if you specified the name parameter as JobStatus.
532
605
  */
533
606
  values?: FilterValues;
534
607
  }
@@ -555,7 +628,7 @@ declare namespace ComputeOptimizer {
555
628
  export type Period = number;
556
629
  export interface ProjectedMetric {
557
630
  /**
558
- * The name of the projected utilization metric.
631
+ * The name of the projected utilization metric. The following projected utilization metrics are returned: Cpu - The projected percentage of allocated EC2 compute units that would be in use on the recommendation option had you used that resource during the analyzed period. This metric identifies the processing power required to run an application on the recommendation option. Depending on the instance type, tools in your operating system can show a lower percentage than CloudWatch when the instance is not allocated a full processor core. Units: Percent Memory - The percentage of memory that would be in use on the recommendation option had you used that resource during the analyzed period. This metric identifies the amount of memory required to run an application on the recommendation option. Units: Percent The Memory metric is returned only for resources that have the unified CloudWatch agent installed on them. For more information, see Enabling Memory Utilization with the CloudWatch Agent.
559
632
  */
560
633
  name?: MetricName;
561
634
  /**
@@ -613,7 +686,7 @@ declare namespace ComputeOptimizer {
613
686
  recommendationSourceType?: RecommendationSourceType;
614
687
  }
615
688
  export type RecommendationSourceArn = string;
616
- export type RecommendationSourceType = "Ec2Instance"|"AutoScalingGroup"|string;
689
+ export type RecommendationSourceType = "Ec2Instance"|"AutoScalingGroup"|"EbsVolume"|string;
617
690
  export type RecommendationSources = RecommendationSource[];
618
691
  export type RecommendationSummaries = RecommendationSummary[];
619
692
  export interface RecommendationSummary {
@@ -693,7 +766,7 @@ declare namespace ComputeOptimizer {
693
766
  */
694
767
  status: Status;
695
768
  /**
696
- * Indicates whether to enroll member accounts of the organization if the your account is the master account of an organization.
769
+ * Indicates whether to enroll member accounts of the organization if the your account is the management account of an organization.
697
770
  */
698
771
  includeMemberAccounts?: IncludeMemberAccounts;
699
772
  }
@@ -709,11 +782,11 @@ declare namespace ComputeOptimizer {
709
782
  }
710
783
  export interface UtilizationMetric {
711
784
  /**
712
- * The name of the utilization metric. The Memory metric is returned only for resources that have the unified CloudWatch agent installed on them. For more information, see Enabling Memory Utilization with the CloudWatch Agent.
785
+ * The name of the utilization metric. The following utilization metrics are available: Cpu - The percentage of allocated EC2 compute units that are currently in use on the instance. This metric identifies the processing power required to run an application on the instance. Depending on the instance type, tools in your operating system can show a lower percentage than CloudWatch when the instance is not allocated a full processor core. Units: Percent Memory - The percentage of memory that is currently in use on the instance. This metric identifies the amount of memory required to run an application on the instance. Units: Percent The Memory metric is returned only for resources that have the unified CloudWatch agent installed on them. For more information, see Enabling Memory Utilization with the CloudWatch Agent. EBS_READ_OPS_PER_SECOND - The completed read operations from all EBS volumes attached to the instance in a specified period of time. Unit: Count EBS_WRITE_OPS_PER_SECOND - The completed write operations to all EBS volumes attached to the instance in a specified period of time. Unit: Count EBS_READ_BYTES_PER_SECOND - The bytes read from all EBS volumes attached to the instance in a specified period of time. Unit: Bytes EBS_WRITE_BYTES_PER_SECOND - The bytes written to all EBS volumes attached to the instance in a specified period of time. Unit: Bytes
713
786
  */
714
787
  name?: MetricName;
715
788
  /**
716
- * The statistic of the utilization metric.
789
+ * The statistic of the utilization metric. The following statistics are available: Average - This is the value of Sum / SampleCount during the specified period, or the average value observed during the specified period. Maximum - The highest value observed during the specified period. Use this value to determine high volumes of activity for your application.
717
790
  */
718
791
  statistic?: MetricStatistic;
719
792
  /**
@@ -722,6 +795,90 @@ declare namespace ComputeOptimizer {
722
795
  value?: MetricValue;
723
796
  }
724
797
  export type UtilizationMetrics = UtilizationMetric[];
798
+ export type VolumeArn = string;
799
+ export type VolumeArns = VolumeArn[];
800
+ export type VolumeBaselineIOPS = number;
801
+ export type VolumeBaselineThroughput = number;
802
+ export type VolumeBurstIOPS = number;
803
+ export type VolumeBurstThroughput = number;
804
+ export interface VolumeConfiguration {
805
+ /**
806
+ * The volume type. This can be gp2 for General Purpose SSD, io1 or io2 for Provisioned IOPS SSD, st1 for Throughput Optimized HDD, sc1 for Cold HDD, or standard for Magnetic volumes.
807
+ */
808
+ volumeType?: VolumeType;
809
+ /**
810
+ * The size of the volume, in GiB.
811
+ */
812
+ volumeSize?: VolumeSize;
813
+ /**
814
+ * The baseline IOPS of the volume.
815
+ */
816
+ volumeBaselineIOPS?: VolumeBaselineIOPS;
817
+ /**
818
+ * The burst IOPS of the volume.
819
+ */
820
+ volumeBurstIOPS?: VolumeBurstIOPS;
821
+ /**
822
+ * The baseline throughput of the volume.
823
+ */
824
+ volumeBaselineThroughput?: VolumeBaselineThroughput;
825
+ /**
826
+ * The burst throughput of the volume.
827
+ */
828
+ volumeBurstThroughput?: VolumeBurstThroughput;
829
+ }
830
+ export interface VolumeRecommendation {
831
+ /**
832
+ * The Amazon Resource Name (ARN) of the current volume.
833
+ */
834
+ volumeArn?: VolumeArn;
835
+ /**
836
+ * The AWS account ID of the volume.
837
+ */
838
+ accountId?: AccountId;
839
+ /**
840
+ * An array of objects that describe the current configuration of the volume.
841
+ */
842
+ currentConfiguration?: VolumeConfiguration;
843
+ /**
844
+ * The finding classification for the volume. Findings for volumes include: NotOptimized —A volume is considered not optimized when AWS Compute Optimizer identifies a recommendation that can provide better performance for your workload. Optimized —An volume is considered optimized when Compute Optimizer determines that the volume is correctly provisioned to run your workload based on the chosen volume type. For optimized resources, Compute Optimizer might recommend a new generation volume type.
845
+ */
846
+ finding?: EBSFinding;
847
+ /**
848
+ * An array of objects that describe the utilization metrics of the volume.
849
+ */
850
+ utilizationMetrics?: EBSUtilizationMetrics;
851
+ /**
852
+ * The number of days for which utilization metrics were analyzed for the volume.
853
+ */
854
+ lookBackPeriodInDays?: LookBackPeriodInDays;
855
+ /**
856
+ * An array of objects that describe the recommendation options for the volume.
857
+ */
858
+ volumeRecommendationOptions?: VolumeRecommendationOptions;
859
+ /**
860
+ * The time stamp of when the volume recommendation was last refreshed.
861
+ */
862
+ lastRefreshTimestamp?: LastRefreshTimestamp;
863
+ }
864
+ export interface VolumeRecommendationOption {
865
+ /**
866
+ * An array of objects that describe a volume configuration.
867
+ */
868
+ configuration?: VolumeConfiguration;
869
+ /**
870
+ * The performance risk of the volume recommendation option. Performance risk is the likelihood of the recommended volume type not meeting the performance requirement of your workload. The lowest performance risk is categorized as 0, and the highest as 5.
871
+ */
872
+ performanceRisk?: PerformanceRisk;
873
+ /**
874
+ * The rank of the volume recommendation option. The top recommendation option is ranked as 1.
875
+ */
876
+ rank?: Rank;
877
+ }
878
+ export type VolumeRecommendationOptions = VolumeRecommendationOption[];
879
+ export type VolumeRecommendations = VolumeRecommendation[];
880
+ export type VolumeSize = number;
881
+ export type VolumeType = string;
725
882
  /**
726
883
  * 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.
727
884
  */