@aws-sdk/client-compute-optimizer 3.236.0 → 3.237.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 (84) hide show
  1. package/README.md +2 -1
  2. package/dist-cjs/ComputeOptimizer.js +45 -0
  3. package/dist-cjs/commands/ExportECSServiceRecommendationsCommand.js +46 -0
  4. package/dist-cjs/commands/GetECSServiceRecommendationProjectedMetricsCommand.js +46 -0
  5. package/dist-cjs/commands/GetECSServiceRecommendationsCommand.js +46 -0
  6. package/dist-cjs/commands/index.js +3 -0
  7. package/dist-cjs/endpoint/ruleset.js +3 -3
  8. package/dist-cjs/index.js +1 -0
  9. package/dist-cjs/models/models_0.js +137 -3
  10. package/dist-cjs/pagination/DescribeRecommendationExportJobsPaginator.js +36 -0
  11. package/dist-cjs/pagination/GetEnrollmentStatusesForOrganizationPaginator.js +36 -0
  12. package/dist-cjs/pagination/GetLambdaFunctionRecommendationsPaginator.js +36 -0
  13. package/dist-cjs/pagination/GetRecommendationPreferencesPaginator.js +36 -0
  14. package/dist-cjs/pagination/GetRecommendationSummariesPaginator.js +36 -0
  15. package/dist-cjs/pagination/Interfaces.js +2 -0
  16. package/dist-cjs/pagination/index.js +9 -0
  17. package/dist-cjs/protocols/Aws_json1_0.js +491 -1
  18. package/dist-es/ComputeOptimizer.js +45 -0
  19. package/dist-es/commands/ExportECSServiceRecommendationsCommand.js +42 -0
  20. package/dist-es/commands/GetECSServiceRecommendationProjectedMetricsCommand.js +42 -0
  21. package/dist-es/commands/GetECSServiceRecommendationsCommand.js +42 -0
  22. package/dist-es/commands/index.js +3 -0
  23. package/dist-es/endpoint/ruleset.js +3 -3
  24. package/dist-es/index.js +1 -0
  25. package/dist-es/models/models_0.js +117 -0
  26. package/dist-es/pagination/DescribeRecommendationExportJobsPaginator.js +32 -0
  27. package/dist-es/pagination/GetEnrollmentStatusesForOrganizationPaginator.js +32 -0
  28. package/dist-es/pagination/GetLambdaFunctionRecommendationsPaginator.js +32 -0
  29. package/dist-es/pagination/GetRecommendationPreferencesPaginator.js +32 -0
  30. package/dist-es/pagination/GetRecommendationSummariesPaginator.js +32 -0
  31. package/dist-es/pagination/Interfaces.js +1 -0
  32. package/dist-es/pagination/index.js +6 -0
  33. package/dist-es/protocols/Aws_json1_0.js +484 -0
  34. package/dist-types/ComputeOptimizer.d.ts +76 -32
  35. package/dist-types/ComputeOptimizerClient.d.ts +7 -3
  36. package/dist-types/commands/DeleteRecommendationPreferencesCommand.d.ts +1 -1
  37. package/dist-types/commands/DescribeRecommendationExportJobsCommand.d.ts +1 -1
  38. package/dist-types/commands/ExportAutoScalingGroupRecommendationsCommand.d.ts +2 -2
  39. package/dist-types/commands/ExportEBSVolumeRecommendationsCommand.d.ts +2 -2
  40. package/dist-types/commands/ExportEC2InstanceRecommendationsCommand.d.ts +2 -2
  41. package/dist-types/commands/ExportECSServiceRecommendationsCommand.d.ts +44 -0
  42. package/dist-types/commands/ExportLambdaFunctionRecommendationsCommand.d.ts +2 -2
  43. package/dist-types/commands/GetAutoScalingGroupRecommendationsCommand.d.ts +1 -1
  44. package/dist-types/commands/GetEBSVolumeRecommendationsCommand.d.ts +1 -1
  45. package/dist-types/commands/GetEC2InstanceRecommendationsCommand.d.ts +1 -1
  46. package/dist-types/commands/GetEC2RecommendationProjectedMetricsCommand.d.ts +2 -2
  47. package/dist-types/commands/GetECSServiceRecommendationProjectedMetricsCommand.d.ts +39 -0
  48. package/dist-types/commands/GetECSServiceRecommendationsCommand.d.ts +46 -0
  49. package/dist-types/commands/GetEffectiveRecommendationPreferencesCommand.d.ts +1 -1
  50. package/dist-types/commands/GetEnrollmentStatusCommand.d.ts +1 -1
  51. package/dist-types/commands/GetEnrollmentStatusesForOrganizationCommand.d.ts +1 -1
  52. package/dist-types/commands/GetLambdaFunctionRecommendationsCommand.d.ts +1 -1
  53. package/dist-types/commands/GetRecommendationPreferencesCommand.d.ts +2 -2
  54. package/dist-types/commands/GetRecommendationSummariesCommand.d.ts +10 -6
  55. package/dist-types/commands/PutRecommendationPreferencesCommand.d.ts +1 -1
  56. package/dist-types/commands/UpdateEnrollmentStatusCommand.d.ts +3 -3
  57. package/dist-types/commands/index.d.ts +3 -0
  58. package/dist-types/index.d.ts +1 -0
  59. package/dist-types/models/models_0.d.ts +1353 -519
  60. package/dist-types/pagination/DescribeRecommendationExportJobsPaginator.d.ts +4 -0
  61. package/dist-types/pagination/GetEnrollmentStatusesForOrganizationPaginator.d.ts +4 -0
  62. package/dist-types/pagination/GetLambdaFunctionRecommendationsPaginator.d.ts +4 -0
  63. package/dist-types/pagination/GetRecommendationPreferencesPaginator.d.ts +4 -0
  64. package/dist-types/pagination/GetRecommendationSummariesPaginator.d.ts +4 -0
  65. package/dist-types/pagination/Interfaces.d.ts +6 -0
  66. package/dist-types/pagination/index.d.ts +6 -0
  67. package/dist-types/protocols/Aws_json1_0.d.ts +9 -0
  68. package/dist-types/ts3.4/ComputeOptimizer.d.ts +57 -0
  69. package/dist-types/ts3.4/ComputeOptimizerClient.d.ts +18 -0
  70. package/dist-types/ts3.4/commands/ExportECSServiceRecommendationsCommand.d.ts +41 -0
  71. package/dist-types/ts3.4/commands/GetECSServiceRecommendationProjectedMetricsCommand.d.ts +41 -0
  72. package/dist-types/ts3.4/commands/GetECSServiceRecommendationsCommand.d.ts +41 -0
  73. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  74. package/dist-types/ts3.4/index.d.ts +1 -0
  75. package/dist-types/ts3.4/models/models_0.d.ts +210 -0
  76. package/dist-types/ts3.4/pagination/DescribeRecommendationExportJobsPaginator.d.ts +11 -0
  77. package/dist-types/ts3.4/pagination/GetEnrollmentStatusesForOrganizationPaginator.d.ts +11 -0
  78. package/dist-types/ts3.4/pagination/GetLambdaFunctionRecommendationsPaginator.d.ts +11 -0
  79. package/dist-types/ts3.4/pagination/GetRecommendationPreferencesPaginator.d.ts +11 -0
  80. package/dist-types/ts3.4/pagination/GetRecommendationSummariesPaginator.d.ts +11 -0
  81. package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -0
  82. package/dist-types/ts3.4/pagination/index.d.ts +6 -0
  83. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +36 -0
  84. package/package.json +1 -1
@@ -11,7 +11,7 @@ export interface GetEffectiveRecommendationPreferencesCommandOutput extends GetE
11
11
  * <p>Returns the recommendation preferences that are in effect for a given resource, such
12
12
  * as enhanced infrastructure metrics. Considers all applicable preferences that you might
13
13
  * have set at the resource, account, and organization level.</p>
14
- * <p>When you create a recommendation preference, you can set its status to
14
+ * <p>When you create a recommendation preference, you can set its status to
15
15
  * <code>Active</code> or <code>Inactive</code>. Use this action to view the
16
16
  * recommendation preferences that are in effect, or <code>Active</code>.</p>
17
17
  * @example
@@ -10,7 +10,7 @@ export interface GetEnrollmentStatusCommandOutput extends GetEnrollmentStatusRes
10
10
  /**
11
11
  * <p>Returns the enrollment (opt in) status of an account to the Compute Optimizer
12
12
  * service.</p>
13
- * <p>If the account is the management account of an organization, this action also confirms
13
+ * <p>If the account is the management account of an organization, this action also confirms
14
14
  * the enrollment status of member accounts of the organization. Use the <a>GetEnrollmentStatusesForOrganization</a> action to get detailed information
15
15
  * about the enrollment status of member accounts of an organization.</p>
16
16
  * @example
@@ -10,7 +10,7 @@ export interface GetEnrollmentStatusesForOrganizationCommandOutput extends GetEn
10
10
  /**
11
11
  * <p>Returns the Compute Optimizer enrollment (opt-in) status of organization member
12
12
  * accounts, if your account is an organization management account.</p>
13
- * <p>To get the enrollment status of standalone accounts, use the <a>GetEnrollmentStatus</a> action.</p>
13
+ * <p>To get the enrollment status of standalone accounts, use the <a>GetEnrollmentStatus</a> action.</p>
14
14
  * @example
15
15
  * Use a bare-bones client and the command you need to make an API call.
16
16
  * ```javascript
@@ -9,7 +9,7 @@ export interface GetLambdaFunctionRecommendationsCommandOutput extends GetLambda
9
9
  }
10
10
  /**
11
11
  * <p>Returns Lambda function recommendations.</p>
12
- * <p>Compute Optimizer generates recommendations for functions that meet a specific set
12
+ * <p>Compute Optimizer generates recommendations for functions that meet a specific set
13
13
  * of requirements. For more information, see the <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/requirements.html">Supported resources and
14
14
  * requirements</a> in the <i>Compute Optimizer User
15
15
  * Guide</i>.</p>
@@ -10,10 +10,10 @@ export interface GetRecommendationPreferencesCommandOutput extends GetRecommenda
10
10
  /**
11
11
  * <p>Returns existing recommendation preferences, such as enhanced infrastructure
12
12
  * metrics.</p>
13
- * <p>Use the <code>scope</code> parameter to specify which preferences to return. You can
13
+ * <p>Use the <code>scope</code> parameter to specify which preferences to return. You can
14
14
  * specify to return preferences for an organization, a specific account ID, or a specific
15
15
  * EC2 instance or Auto Scaling group Amazon Resource Name (ARN).</p>
16
- * <p>For more information, see <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html">Activating
16
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html">Activating
17
17
  * enhanced infrastructure metrics</a> in the <i>Compute Optimizer User
18
18
  * Guide</i>.</p>
19
19
  * @example
@@ -9,25 +9,29 @@ export interface GetRecommendationSummariesCommandOutput extends GetRecommendati
9
9
  }
10
10
  /**
11
11
  * <p>Returns the optimization findings for an account.</p>
12
- * <p>It returns the number of:</p>
13
- * <ul>
12
+ * <p>It returns the number of:</p>
13
+ * <ul>
14
14
  * <li>
15
- * <p>Amazon EC2 instances in an account that are
15
+ * <p>Amazon EC2 instances in an account that are
16
16
  * <code>Underprovisioned</code>, <code>Overprovisioned</code>, or
17
17
  * <code>Optimized</code>.</p>
18
18
  * </li>
19
19
  * <li>
20
- * <p>Auto Scaling groups in an account that are <code>NotOptimized</code>, or
20
+ * <p>Auto Scaling groups in an account that are <code>NotOptimized</code>, or
21
21
  * <code>Optimized</code>.</p>
22
22
  * </li>
23
23
  * <li>
24
- * <p>Amazon EBS volumes in an account that are <code>NotOptimized</code>,
24
+ * <p>Amazon EBS volumes in an account that are <code>NotOptimized</code>,
25
25
  * or <code>Optimized</code>.</p>
26
26
  * </li>
27
27
  * <li>
28
- * <p>Lambda functions in an account that are <code>NotOptimized</code>,
28
+ * <p>Lambda functions in an account that are <code>NotOptimized</code>,
29
29
  * or <code>Optimized</code>.</p>
30
30
  * </li>
31
+ * <li>
32
+ * <p>Amazon ECS services in an account that are <code>Underprovisioned</code>,
33
+ * <code>Overprovisioned</code>, or <code>Optimized</code>.</p>
34
+ * </li>
31
35
  * </ul>
32
36
  * @example
33
37
  * Use a bare-bones client and the command you need to make an API call.
@@ -10,7 +10,7 @@ export interface PutRecommendationPreferencesCommandOutput extends PutRecommenda
10
10
  /**
11
11
  * <p>Creates a new recommendation preference or updates an existing recommendation
12
12
  * preference, such as enhanced infrastructure metrics.</p>
13
- * <p>For more information, see <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html">Activating
13
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html">Activating
14
14
  * enhanced infrastructure metrics</a> in the <i>Compute Optimizer User
15
15
  * Guide</i>.</p>
16
16
  * @example
@@ -9,11 +9,11 @@ export interface UpdateEnrollmentStatusCommandOutput extends UpdateEnrollmentSta
9
9
  }
10
10
  /**
11
11
  * <p>Updates the enrollment (opt in and opt out) status of an account to the Compute Optimizer service.</p>
12
- * <p>If the account is a management account of an organization, this action can also be
12
+ * <p>If the account is a management account of an organization, this action can also be
13
13
  * used to enroll member accounts of the organization.</p>
14
- * <p>You must have the appropriate permissions to opt in to Compute Optimizer, to view its
14
+ * <p>You must have the appropriate permissions to opt in to Compute Optimizer, to view its
15
15
  * recommendations, and to opt out. For more information, see <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/security-iam.html">Controlling access with Amazon Web Services Identity and Access Management</a> in the <i>Compute Optimizer User Guide</i>.</p>
16
- * <p>When you opt in, Compute Optimizer automatically creates a service-linked role in your
16
+ * <p>When you opt in, Compute Optimizer automatically creates a service-linked role in your
17
17
  * account to access its data. For more information, see <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/using-service-linked-roles.html">Using
18
18
  * Service-Linked Roles for Compute Optimizer</a> in the <i>Compute Optimizer User Guide</i>.</p>
19
19
  * @example
@@ -3,11 +3,14 @@ export * from "./DescribeRecommendationExportJobsCommand";
3
3
  export * from "./ExportAutoScalingGroupRecommendationsCommand";
4
4
  export * from "./ExportEBSVolumeRecommendationsCommand";
5
5
  export * from "./ExportEC2InstanceRecommendationsCommand";
6
+ export * from "./ExportECSServiceRecommendationsCommand";
6
7
  export * from "./ExportLambdaFunctionRecommendationsCommand";
7
8
  export * from "./GetAutoScalingGroupRecommendationsCommand";
8
9
  export * from "./GetEBSVolumeRecommendationsCommand";
9
10
  export * from "./GetEC2InstanceRecommendationsCommand";
10
11
  export * from "./GetEC2RecommendationProjectedMetricsCommand";
12
+ export * from "./GetECSServiceRecommendationProjectedMetricsCommand";
13
+ export * from "./GetECSServiceRecommendationsCommand";
11
14
  export * from "./GetEffectiveRecommendationPreferencesCommand";
12
15
  export * from "./GetEnrollmentStatusCommand";
13
16
  export * from "./GetEnrollmentStatusesForOrganizationCommand";
@@ -2,4 +2,5 @@ export * from "./ComputeOptimizer";
2
2
  export * from "./ComputeOptimizerClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
+ export * from "./pagination";
5
6
  export { ComputeOptimizerServiceException } from "./models/ComputeOptimizerServiceException";