@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
@@ -4,11 +4,14 @@ import { DescribeRecommendationExportJobsCommandInput, DescribeRecommendationExp
4
4
  import { ExportAutoScalingGroupRecommendationsCommandInput, ExportAutoScalingGroupRecommendationsCommandOutput } from "./commands/ExportAutoScalingGroupRecommendationsCommand";
5
5
  import { ExportEBSVolumeRecommendationsCommandInput, ExportEBSVolumeRecommendationsCommandOutput } from "./commands/ExportEBSVolumeRecommendationsCommand";
6
6
  import { ExportEC2InstanceRecommendationsCommandInput, ExportEC2InstanceRecommendationsCommandOutput } from "./commands/ExportEC2InstanceRecommendationsCommand";
7
+ import { ExportECSServiceRecommendationsCommandInput, ExportECSServiceRecommendationsCommandOutput } from "./commands/ExportECSServiceRecommendationsCommand";
7
8
  import { ExportLambdaFunctionRecommendationsCommandInput, ExportLambdaFunctionRecommendationsCommandOutput } from "./commands/ExportLambdaFunctionRecommendationsCommand";
8
9
  import { GetAutoScalingGroupRecommendationsCommandInput, GetAutoScalingGroupRecommendationsCommandOutput } from "./commands/GetAutoScalingGroupRecommendationsCommand";
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 { GetECSServiceRecommendationProjectedMetricsCommandInput, GetECSServiceRecommendationProjectedMetricsCommandOutput } from "./commands/GetECSServiceRecommendationProjectedMetricsCommand";
14
+ import { GetECSServiceRecommendationsCommandInput, GetECSServiceRecommendationsCommandOutput } from "./commands/GetECSServiceRecommendationsCommand";
12
15
  import { GetEffectiveRecommendationPreferencesCommandInput, GetEffectiveRecommendationPreferencesCommandOutput } from "./commands/GetEffectiveRecommendationPreferencesCommand";
13
16
  import { GetEnrollmentStatusCommandInput, GetEnrollmentStatusCommandOutput } from "./commands/GetEnrollmentStatusCommand";
14
17
  import { GetEnrollmentStatusesForOrganizationCommandInput, GetEnrollmentStatusesForOrganizationCommandOutput } from "./commands/GetEnrollmentStatusesForOrganizationCommand";
@@ -21,7 +24,8 @@ import { ComputeOptimizerClient } from "./ComputeOptimizerClient";
21
24
  /**
22
25
  * <p>Compute Optimizer is a service that analyzes the configuration and utilization
23
26
  * metrics of your Amazon Web Services compute resources, such as Amazon EC2
24
- * instances, Amazon EC2 Auto Scaling groups, Lambda functions, and Amazon EBS volumes. It reports whether your resources are optimal, and generates
27
+ * instances, Amazon EC2 Auto Scaling groups, Lambda functions, Amazon EBS volumes, and Amazon ECS services on Fargate.
28
+ * It reports whether your resources are optimal, and generates
25
29
  * optimization recommendations to reduce the cost and improve the performance of your
26
30
  * workloads. Compute Optimizer also provides recent utilization metric data, in addition
27
31
  * to projected utilization metric data for the recommendations, which you can use to
@@ -34,7 +38,7 @@ import { ComputeOptimizerClient } from "./ComputeOptimizerClient";
34
38
  export declare class ComputeOptimizer extends ComputeOptimizerClient {
35
39
  /**
36
40
  * <p>Deletes a recommendation preference, such as enhanced infrastructure metrics.</p>
37
- * <p>For more information, see <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html">Activating
41
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html">Activating
38
42
  * enhanced infrastructure metrics</a> in the <i>Compute Optimizer User
39
43
  * Guide</i>.</p>
40
44
  */
@@ -43,7 +47,7 @@ export declare class ComputeOptimizer extends ComputeOptimizerClient {
43
47
  deleteRecommendationPreferences(args: DeleteRecommendationPreferencesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRecommendationPreferencesCommandOutput) => void): void;
44
48
  /**
45
49
  * <p>Describes recommendation export jobs created in the last seven days.</p>
46
- * <p>Use the <a>ExportAutoScalingGroupRecommendations</a> or <a>ExportEC2InstanceRecommendations</a> actions to request an export of your
50
+ * <p>Use the <a>ExportAutoScalingGroupRecommendations</a> or <a>ExportEC2InstanceRecommendations</a> actions to request an export of your
47
51
  * recommendations. Then use the <a>DescribeRecommendationExportJobs</a> action
48
52
  * to view your export jobs.</p>
49
53
  */
@@ -52,51 +56,64 @@ export declare class ComputeOptimizer extends ComputeOptimizerClient {
52
56
  describeRecommendationExportJobs(args: DescribeRecommendationExportJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeRecommendationExportJobsCommandOutput) => void): void;
53
57
  /**
54
58
  * <p>Exports optimization recommendations for Auto Scaling groups.</p>
55
- * <p>Recommendations are exported in a comma-separated values (.csv) file, and its metadata
59
+ * <p>Recommendations are exported in a comma-separated values (.csv) file, and its metadata
56
60
  * in a JavaScript Object Notation (JSON) (.json) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html">Exporting
57
61
  * Recommendations</a> in the <i>Compute Optimizer User
58
62
  * Guide</i>.</p>
59
- * <p>You can have only one Auto Scaling group export job in progress per Amazon Web Services Region.</p>
63
+ * <p>You can have only one Auto Scaling group export job in progress per Amazon Web Services Region.</p>
60
64
  */
61
65
  exportAutoScalingGroupRecommendations(args: ExportAutoScalingGroupRecommendationsCommandInput, options?: __HttpHandlerOptions): Promise<ExportAutoScalingGroupRecommendationsCommandOutput>;
62
66
  exportAutoScalingGroupRecommendations(args: ExportAutoScalingGroupRecommendationsCommandInput, cb: (err: any, data?: ExportAutoScalingGroupRecommendationsCommandOutput) => void): void;
63
67
  exportAutoScalingGroupRecommendations(args: ExportAutoScalingGroupRecommendationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExportAutoScalingGroupRecommendationsCommandOutput) => void): void;
64
68
  /**
65
69
  * <p>Exports optimization recommendations for Amazon EBS volumes.</p>
66
- * <p>Recommendations are exported in a comma-separated values (.csv) file, and its metadata
70
+ * <p>Recommendations are exported in a comma-separated values (.csv) file, and its metadata
67
71
  * in a JavaScript Object Notation (JSON) (.json) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html">Exporting
68
72
  * Recommendations</a> in the <i>Compute Optimizer User
69
73
  * Guide</i>.</p>
70
- * <p>You can have only one Amazon EBS volume export job in progress per Amazon Web Services Region.</p>
74
+ * <p>You can have only one Amazon EBS volume export job in progress per Amazon Web Services Region.</p>
71
75
  */
72
76
  exportEBSVolumeRecommendations(args: ExportEBSVolumeRecommendationsCommandInput, options?: __HttpHandlerOptions): Promise<ExportEBSVolumeRecommendationsCommandOutput>;
73
77
  exportEBSVolumeRecommendations(args: ExportEBSVolumeRecommendationsCommandInput, cb: (err: any, data?: ExportEBSVolumeRecommendationsCommandOutput) => void): void;
74
78
  exportEBSVolumeRecommendations(args: ExportEBSVolumeRecommendationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExportEBSVolumeRecommendationsCommandOutput) => void): void;
75
79
  /**
76
80
  * <p>Exports optimization recommendations for Amazon EC2 instances.</p>
77
- * <p>Recommendations are exported in a comma-separated values (.csv) file, and its metadata
81
+ * <p>Recommendations are exported in a comma-separated values (.csv) file, and its metadata
78
82
  * in a JavaScript Object Notation (JSON) (.json) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html">Exporting
79
83
  * Recommendations</a> in the <i>Compute Optimizer User
80
84
  * Guide</i>.</p>
81
- * <p>You can have only one Amazon EC2 instance export job in progress per Amazon Web Services Region.</p>
85
+ * <p>You can have only one Amazon EC2 instance export job in progress per Amazon Web Services Region.</p>
82
86
  */
83
87
  exportEC2InstanceRecommendations(args: ExportEC2InstanceRecommendationsCommandInput, options?: __HttpHandlerOptions): Promise<ExportEC2InstanceRecommendationsCommandOutput>;
84
88
  exportEC2InstanceRecommendations(args: ExportEC2InstanceRecommendationsCommandInput, cb: (err: any, data?: ExportEC2InstanceRecommendationsCommandOutput) => void): void;
85
89
  exportEC2InstanceRecommendations(args: ExportEC2InstanceRecommendationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExportEC2InstanceRecommendationsCommandOutput) => void): void;
90
+ /**
91
+ * <p>
92
+ * Exports optimization recommendations for Amazon ECS services on Fargate.
93
+ * </p>
94
+ * <p>Recommendations are exported in a CSV file, and its metadata
95
+ * in a JSON file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html">Exporting
96
+ * Recommendations</a> in the <i>Compute Optimizer User
97
+ * Guide</i>.</p>
98
+ * <p>You can only have one Amazon ECS service export job in progress per Amazon Web Services Region.</p>
99
+ */
100
+ exportECSServiceRecommendations(args: ExportECSServiceRecommendationsCommandInput, options?: __HttpHandlerOptions): Promise<ExportECSServiceRecommendationsCommandOutput>;
101
+ exportECSServiceRecommendations(args: ExportECSServiceRecommendationsCommandInput, cb: (err: any, data?: ExportECSServiceRecommendationsCommandOutput) => void): void;
102
+ exportECSServiceRecommendations(args: ExportECSServiceRecommendationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExportECSServiceRecommendationsCommandOutput) => void): void;
86
103
  /**
87
104
  * <p>Exports optimization recommendations for Lambda functions.</p>
88
- * <p>Recommendations are exported in a comma-separated values (.csv) file, and its metadata
105
+ * <p>Recommendations are exported in a comma-separated values (.csv) file, and its metadata
89
106
  * in a JavaScript Object Notation (JSON) (.json) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html">Exporting
90
107
  * Recommendations</a> in the <i>Compute Optimizer User
91
108
  * Guide</i>.</p>
92
- * <p>You can have only one Lambda function export job in progress per Amazon Web Services Region.</p>
109
+ * <p>You can have only one Lambda function export job in progress per Amazon Web Services Region.</p>
93
110
  */
94
111
  exportLambdaFunctionRecommendations(args: ExportLambdaFunctionRecommendationsCommandInput, options?: __HttpHandlerOptions): Promise<ExportLambdaFunctionRecommendationsCommandOutput>;
95
112
  exportLambdaFunctionRecommendations(args: ExportLambdaFunctionRecommendationsCommandInput, cb: (err: any, data?: ExportLambdaFunctionRecommendationsCommandOutput) => void): void;
96
113
  exportLambdaFunctionRecommendations(args: ExportLambdaFunctionRecommendationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExportLambdaFunctionRecommendationsCommandOutput) => void): void;
97
114
  /**
98
115
  * <p>Returns Auto Scaling group recommendations.</p>
99
- * <p>Compute Optimizer generates recommendations for Amazon EC2 Auto Scaling groups that
116
+ * <p>Compute Optimizer generates recommendations for Amazon EC2 Auto Scaling groups that
100
117
  * meet a specific set of requirements. For more information, see the <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/requirements.html">Supported
101
118
  * resources and requirements</a> in the <i>Compute Optimizer User
102
119
  * Guide</i>.</p>
@@ -106,7 +123,7 @@ export declare class ComputeOptimizer extends ComputeOptimizerClient {
106
123
  getAutoScalingGroupRecommendations(args: GetAutoScalingGroupRecommendationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAutoScalingGroupRecommendationsCommandOutput) => void): void;
107
124
  /**
108
125
  * <p>Returns Amazon Elastic Block Store (Amazon EBS) volume recommendations.</p>
109
- * <p>Compute Optimizer generates recommendations for Amazon EBS volumes that
126
+ * <p>Compute Optimizer generates recommendations for Amazon EBS volumes that
110
127
  * meet a specific set of requirements. For more information, see the <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/requirements.html">Supported
111
128
  * resources and requirements</a> in the <i>Compute Optimizer User
112
129
  * Guide</i>.</p>
@@ -116,7 +133,7 @@ export declare class ComputeOptimizer extends ComputeOptimizerClient {
116
133
  getEBSVolumeRecommendations(args: GetEBSVolumeRecommendationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEBSVolumeRecommendationsCommandOutput) => void): void;
117
134
  /**
118
135
  * <p>Returns Amazon EC2 instance recommendations.</p>
119
- * <p>Compute Optimizer generates recommendations for Amazon Elastic Compute Cloud (Amazon EC2) instances that meet a specific set of requirements. For more
136
+ * <p>Compute Optimizer generates recommendations for Amazon Elastic Compute Cloud (Amazon EC2) instances that meet a specific set of requirements. For more
120
137
  * information, see the <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/requirements.html">Supported resources and
121
138
  * requirements</a> in the <i>Compute Optimizer User
122
139
  * Guide</i>.</p>
@@ -127,21 +144,44 @@ export declare class ComputeOptimizer extends ComputeOptimizerClient {
127
144
  /**
128
145
  * <p>Returns the projected utilization metrics of Amazon EC2 instance
129
146
  * recommendations.</p>
130
- * <note>
147
+ * <note>
131
148
  * <p>The <code>Cpu</code> and <code>Memory</code> metrics are the only projected
132
149
  * utilization metrics returned when you run this action. Additionally, the
133
150
  * <code>Memory</code> metric is returned only for resources that have the unified
134
151
  * CloudWatch agent installed on them. For more information, see <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/metrics.html#cw-agent">Enabling Memory Utilization with the CloudWatch Agent</a>.</p>
135
- * </note>
152
+ * </note>
136
153
  */
137
154
  getEC2RecommendationProjectedMetrics(args: GetEC2RecommendationProjectedMetricsCommandInput, options?: __HttpHandlerOptions): Promise<GetEC2RecommendationProjectedMetricsCommandOutput>;
138
155
  getEC2RecommendationProjectedMetrics(args: GetEC2RecommendationProjectedMetricsCommandInput, cb: (err: any, data?: GetEC2RecommendationProjectedMetricsCommandOutput) => void): void;
139
156
  getEC2RecommendationProjectedMetrics(args: GetEC2RecommendationProjectedMetricsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEC2RecommendationProjectedMetricsCommandOutput) => void): void;
157
+ /**
158
+ * <p>
159
+ * Returns the projected metrics of Amazon ECS service recommendations.
160
+ * </p>
161
+ */
162
+ getECSServiceRecommendationProjectedMetrics(args: GetECSServiceRecommendationProjectedMetricsCommandInput, options?: __HttpHandlerOptions): Promise<GetECSServiceRecommendationProjectedMetricsCommandOutput>;
163
+ getECSServiceRecommendationProjectedMetrics(args: GetECSServiceRecommendationProjectedMetricsCommandInput, cb: (err: any, data?: GetECSServiceRecommendationProjectedMetricsCommandOutput) => void): void;
164
+ getECSServiceRecommendationProjectedMetrics(args: GetECSServiceRecommendationProjectedMetricsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetECSServiceRecommendationProjectedMetricsCommandOutput) => void): void;
165
+ /**
166
+ * <p>
167
+ * Returns Amazon ECS service recommendations.
168
+ * </p>
169
+ * <p>
170
+ * Compute Optimizer generates recommendations for Amazon ECS services on
171
+ * Fargate that meet a specific set of requirements. For more
172
+ * information, see the <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/requirements.html">Supported resources and
173
+ * requirements</a> in the <i>Compute Optimizer User
174
+ * Guide</i>.
175
+ * </p>
176
+ */
177
+ getECSServiceRecommendations(args: GetECSServiceRecommendationsCommandInput, options?: __HttpHandlerOptions): Promise<GetECSServiceRecommendationsCommandOutput>;
178
+ getECSServiceRecommendations(args: GetECSServiceRecommendationsCommandInput, cb: (err: any, data?: GetECSServiceRecommendationsCommandOutput) => void): void;
179
+ getECSServiceRecommendations(args: GetECSServiceRecommendationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetECSServiceRecommendationsCommandOutput) => void): void;
140
180
  /**
141
181
  * <p>Returns the recommendation preferences that are in effect for a given resource, such
142
182
  * as enhanced infrastructure metrics. Considers all applicable preferences that you might
143
183
  * have set at the resource, account, and organization level.</p>
144
- * <p>When you create a recommendation preference, you can set its status to
184
+ * <p>When you create a recommendation preference, you can set its status to
145
185
  * <code>Active</code> or <code>Inactive</code>. Use this action to view the
146
186
  * recommendation preferences that are in effect, or <code>Active</code>.</p>
147
187
  */
@@ -151,7 +191,7 @@ export declare class ComputeOptimizer extends ComputeOptimizerClient {
151
191
  /**
152
192
  * <p>Returns the enrollment (opt in) status of an account to the Compute Optimizer
153
193
  * service.</p>
154
- * <p>If the account is the management account of an organization, this action also confirms
194
+ * <p>If the account is the management account of an organization, this action also confirms
155
195
  * the enrollment status of member accounts of the organization. Use the <a>GetEnrollmentStatusesForOrganization</a> action to get detailed information
156
196
  * about the enrollment status of member accounts of an organization.</p>
157
197
  */
@@ -161,14 +201,14 @@ export declare class ComputeOptimizer extends ComputeOptimizerClient {
161
201
  /**
162
202
  * <p>Returns the Compute Optimizer enrollment (opt-in) status of organization member
163
203
  * accounts, if your account is an organization management account.</p>
164
- * <p>To get the enrollment status of standalone accounts, use the <a>GetEnrollmentStatus</a> action.</p>
204
+ * <p>To get the enrollment status of standalone accounts, use the <a>GetEnrollmentStatus</a> action.</p>
165
205
  */
166
206
  getEnrollmentStatusesForOrganization(args: GetEnrollmentStatusesForOrganizationCommandInput, options?: __HttpHandlerOptions): Promise<GetEnrollmentStatusesForOrganizationCommandOutput>;
167
207
  getEnrollmentStatusesForOrganization(args: GetEnrollmentStatusesForOrganizationCommandInput, cb: (err: any, data?: GetEnrollmentStatusesForOrganizationCommandOutput) => void): void;
168
208
  getEnrollmentStatusesForOrganization(args: GetEnrollmentStatusesForOrganizationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEnrollmentStatusesForOrganizationCommandOutput) => void): void;
169
209
  /**
170
210
  * <p>Returns Lambda function recommendations.</p>
171
- * <p>Compute Optimizer generates recommendations for functions that meet a specific set
211
+ * <p>Compute Optimizer generates recommendations for functions that meet a specific set
172
212
  * of requirements. For more information, see the <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/requirements.html">Supported resources and
173
213
  * requirements</a> in the <i>Compute Optimizer User
174
214
  * Guide</i>.</p>
@@ -179,10 +219,10 @@ export declare class ComputeOptimizer extends ComputeOptimizerClient {
179
219
  /**
180
220
  * <p>Returns existing recommendation preferences, such as enhanced infrastructure
181
221
  * metrics.</p>
182
- * <p>Use the <code>scope</code> parameter to specify which preferences to return. You can
222
+ * <p>Use the <code>scope</code> parameter to specify which preferences to return. You can
183
223
  * specify to return preferences for an organization, a specific account ID, or a specific
184
224
  * EC2 instance or Auto Scaling group Amazon Resource Name (ARN).</p>
185
- * <p>For more information, see <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html">Activating
225
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html">Activating
186
226
  * enhanced infrastructure metrics</a> in the <i>Compute Optimizer User
187
227
  * Guide</i>.</p>
188
228
  */
@@ -191,25 +231,29 @@ export declare class ComputeOptimizer extends ComputeOptimizerClient {
191
231
  getRecommendationPreferences(args: GetRecommendationPreferencesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRecommendationPreferencesCommandOutput) => void): void;
192
232
  /**
193
233
  * <p>Returns the optimization findings for an account.</p>
194
- * <p>It returns the number of:</p>
195
- * <ul>
234
+ * <p>It returns the number of:</p>
235
+ * <ul>
196
236
  * <li>
197
- * <p>Amazon EC2 instances in an account that are
237
+ * <p>Amazon EC2 instances in an account that are
198
238
  * <code>Underprovisioned</code>, <code>Overprovisioned</code>, or
199
239
  * <code>Optimized</code>.</p>
200
240
  * </li>
201
241
  * <li>
202
- * <p>Auto Scaling groups in an account that are <code>NotOptimized</code>, or
242
+ * <p>Auto Scaling groups in an account that are <code>NotOptimized</code>, or
203
243
  * <code>Optimized</code>.</p>
204
244
  * </li>
205
245
  * <li>
206
- * <p>Amazon EBS volumes in an account that are <code>NotOptimized</code>,
246
+ * <p>Amazon EBS volumes in an account that are <code>NotOptimized</code>,
207
247
  * or <code>Optimized</code>.</p>
208
248
  * </li>
209
249
  * <li>
210
- * <p>Lambda functions in an account that are <code>NotOptimized</code>,
250
+ * <p>Lambda functions in an account that are <code>NotOptimized</code>,
211
251
  * or <code>Optimized</code>.</p>
212
252
  * </li>
253
+ * <li>
254
+ * <p>Amazon ECS services in an account that are <code>Underprovisioned</code>,
255
+ * <code>Overprovisioned</code>, or <code>Optimized</code>.</p>
256
+ * </li>
213
257
  * </ul>
214
258
  */
215
259
  getRecommendationSummaries(args: GetRecommendationSummariesCommandInput, options?: __HttpHandlerOptions): Promise<GetRecommendationSummariesCommandOutput>;
@@ -218,7 +262,7 @@ export declare class ComputeOptimizer extends ComputeOptimizerClient {
218
262
  /**
219
263
  * <p>Creates a new recommendation preference or updates an existing recommendation
220
264
  * preference, such as enhanced infrastructure metrics.</p>
221
- * <p>For more information, see <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html">Activating
265
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html">Activating
222
266
  * enhanced infrastructure metrics</a> in the <i>Compute Optimizer User
223
267
  * Guide</i>.</p>
224
268
  */
@@ -227,11 +271,11 @@ export declare class ComputeOptimizer extends ComputeOptimizerClient {
227
271
  putRecommendationPreferences(args: PutRecommendationPreferencesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutRecommendationPreferencesCommandOutput) => void): void;
228
272
  /**
229
273
  * <p>Updates the enrollment (opt in and opt out) status of an account to the Compute Optimizer service.</p>
230
- * <p>If the account is a management account of an organization, this action can also be
274
+ * <p>If the account is a management account of an organization, this action can also be
231
275
  * used to enroll member accounts of the organization.</p>
232
- * <p>You must have the appropriate permissions to opt in to Compute Optimizer, to view its
276
+ * <p>You must have the appropriate permissions to opt in to Compute Optimizer, to view its
233
277
  * 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>
234
- * <p>When you opt in, Compute Optimizer automatically creates a service-linked role in your
278
+ * <p>When you opt in, Compute Optimizer automatically creates a service-linked role in your
235
279
  * 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
236
280
  * Service-Linked Roles for Compute Optimizer</a> in the <i>Compute Optimizer User Guide</i>.</p>
237
281
  */
@@ -12,11 +12,14 @@ import { DescribeRecommendationExportJobsCommandInput, DescribeRecommendationExp
12
12
  import { ExportAutoScalingGroupRecommendationsCommandInput, ExportAutoScalingGroupRecommendationsCommandOutput } from "./commands/ExportAutoScalingGroupRecommendationsCommand";
13
13
  import { ExportEBSVolumeRecommendationsCommandInput, ExportEBSVolumeRecommendationsCommandOutput } from "./commands/ExportEBSVolumeRecommendationsCommand";
14
14
  import { ExportEC2InstanceRecommendationsCommandInput, ExportEC2InstanceRecommendationsCommandOutput } from "./commands/ExportEC2InstanceRecommendationsCommand";
15
+ import { ExportECSServiceRecommendationsCommandInput, ExportECSServiceRecommendationsCommandOutput } from "./commands/ExportECSServiceRecommendationsCommand";
15
16
  import { ExportLambdaFunctionRecommendationsCommandInput, ExportLambdaFunctionRecommendationsCommandOutput } from "./commands/ExportLambdaFunctionRecommendationsCommand";
16
17
  import { GetAutoScalingGroupRecommendationsCommandInput, GetAutoScalingGroupRecommendationsCommandOutput } from "./commands/GetAutoScalingGroupRecommendationsCommand";
17
18
  import { GetEBSVolumeRecommendationsCommandInput, GetEBSVolumeRecommendationsCommandOutput } from "./commands/GetEBSVolumeRecommendationsCommand";
18
19
  import { GetEC2InstanceRecommendationsCommandInput, GetEC2InstanceRecommendationsCommandOutput } from "./commands/GetEC2InstanceRecommendationsCommand";
19
20
  import { GetEC2RecommendationProjectedMetricsCommandInput, GetEC2RecommendationProjectedMetricsCommandOutput } from "./commands/GetEC2RecommendationProjectedMetricsCommand";
21
+ import { GetECSServiceRecommendationProjectedMetricsCommandInput, GetECSServiceRecommendationProjectedMetricsCommandOutput } from "./commands/GetECSServiceRecommendationProjectedMetricsCommand";
22
+ import { GetECSServiceRecommendationsCommandInput, GetECSServiceRecommendationsCommandOutput } from "./commands/GetECSServiceRecommendationsCommand";
20
23
  import { GetEffectiveRecommendationPreferencesCommandInput, GetEffectiveRecommendationPreferencesCommandOutput } from "./commands/GetEffectiveRecommendationPreferencesCommand";
21
24
  import { GetEnrollmentStatusCommandInput, GetEnrollmentStatusCommandOutput } from "./commands/GetEnrollmentStatusCommand";
22
25
  import { GetEnrollmentStatusesForOrganizationCommandInput, GetEnrollmentStatusesForOrganizationCommandOutput } from "./commands/GetEnrollmentStatusesForOrganizationCommand";
@@ -26,8 +29,8 @@ import { GetRecommendationSummariesCommandInput, GetRecommendationSummariesComma
26
29
  import { PutRecommendationPreferencesCommandInput, PutRecommendationPreferencesCommandOutput } from "./commands/PutRecommendationPreferencesCommand";
27
30
  import { UpdateEnrollmentStatusCommandInput, UpdateEnrollmentStatusCommandOutput } from "./commands/UpdateEnrollmentStatusCommand";
28
31
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
29
- export declare type ServiceInputTypes = DeleteRecommendationPreferencesCommandInput | DescribeRecommendationExportJobsCommandInput | ExportAutoScalingGroupRecommendationsCommandInput | ExportEBSVolumeRecommendationsCommandInput | ExportEC2InstanceRecommendationsCommandInput | ExportLambdaFunctionRecommendationsCommandInput | GetAutoScalingGroupRecommendationsCommandInput | GetEBSVolumeRecommendationsCommandInput | GetEC2InstanceRecommendationsCommandInput | GetEC2RecommendationProjectedMetricsCommandInput | GetEffectiveRecommendationPreferencesCommandInput | GetEnrollmentStatusCommandInput | GetEnrollmentStatusesForOrganizationCommandInput | GetLambdaFunctionRecommendationsCommandInput | GetRecommendationPreferencesCommandInput | GetRecommendationSummariesCommandInput | PutRecommendationPreferencesCommandInput | UpdateEnrollmentStatusCommandInput;
30
- export declare type ServiceOutputTypes = DeleteRecommendationPreferencesCommandOutput | DescribeRecommendationExportJobsCommandOutput | ExportAutoScalingGroupRecommendationsCommandOutput | ExportEBSVolumeRecommendationsCommandOutput | ExportEC2InstanceRecommendationsCommandOutput | ExportLambdaFunctionRecommendationsCommandOutput | GetAutoScalingGroupRecommendationsCommandOutput | GetEBSVolumeRecommendationsCommandOutput | GetEC2InstanceRecommendationsCommandOutput | GetEC2RecommendationProjectedMetricsCommandOutput | GetEffectiveRecommendationPreferencesCommandOutput | GetEnrollmentStatusCommandOutput | GetEnrollmentStatusesForOrganizationCommandOutput | GetLambdaFunctionRecommendationsCommandOutput | GetRecommendationPreferencesCommandOutput | GetRecommendationSummariesCommandOutput | PutRecommendationPreferencesCommandOutput | UpdateEnrollmentStatusCommandOutput;
32
+ export declare type ServiceInputTypes = DeleteRecommendationPreferencesCommandInput | DescribeRecommendationExportJobsCommandInput | ExportAutoScalingGroupRecommendationsCommandInput | ExportEBSVolumeRecommendationsCommandInput | ExportEC2InstanceRecommendationsCommandInput | ExportECSServiceRecommendationsCommandInput | ExportLambdaFunctionRecommendationsCommandInput | GetAutoScalingGroupRecommendationsCommandInput | GetEBSVolumeRecommendationsCommandInput | GetEC2InstanceRecommendationsCommandInput | GetEC2RecommendationProjectedMetricsCommandInput | GetECSServiceRecommendationProjectedMetricsCommandInput | GetECSServiceRecommendationsCommandInput | GetEffectiveRecommendationPreferencesCommandInput | GetEnrollmentStatusCommandInput | GetEnrollmentStatusesForOrganizationCommandInput | GetLambdaFunctionRecommendationsCommandInput | GetRecommendationPreferencesCommandInput | GetRecommendationSummariesCommandInput | PutRecommendationPreferencesCommandInput | UpdateEnrollmentStatusCommandInput;
33
+ export declare type ServiceOutputTypes = DeleteRecommendationPreferencesCommandOutput | DescribeRecommendationExportJobsCommandOutput | ExportAutoScalingGroupRecommendationsCommandOutput | ExportEBSVolumeRecommendationsCommandOutput | ExportEC2InstanceRecommendationsCommandOutput | ExportECSServiceRecommendationsCommandOutput | ExportLambdaFunctionRecommendationsCommandOutput | GetAutoScalingGroupRecommendationsCommandOutput | GetEBSVolumeRecommendationsCommandOutput | GetEC2InstanceRecommendationsCommandOutput | GetEC2RecommendationProjectedMetricsCommandOutput | GetECSServiceRecommendationProjectedMetricsCommandOutput | GetECSServiceRecommendationsCommandOutput | GetEffectiveRecommendationPreferencesCommandOutput | GetEnrollmentStatusCommandOutput | GetEnrollmentStatusesForOrganizationCommandOutput | GetLambdaFunctionRecommendationsCommandOutput | GetRecommendationPreferencesCommandOutput | GetRecommendationSummariesCommandOutput | PutRecommendationPreferencesCommandOutput | UpdateEnrollmentStatusCommandOutput;
31
34
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
32
35
  /**
33
36
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -143,7 +146,8 @@ export interface ComputeOptimizerClientResolvedConfig extends ComputeOptimizerCl
143
146
  /**
144
147
  * <p>Compute Optimizer is a service that analyzes the configuration and utilization
145
148
  * metrics of your Amazon Web Services compute resources, such as Amazon EC2
146
- * instances, Amazon EC2 Auto Scaling groups, Lambda functions, and Amazon EBS volumes. It reports whether your resources are optimal, and generates
149
+ * instances, Amazon EC2 Auto Scaling groups, Lambda functions, Amazon EBS volumes, and Amazon ECS services on Fargate.
150
+ * It reports whether your resources are optimal, and generates
147
151
  * optimization recommendations to reduce the cost and improve the performance of your
148
152
  * workloads. Compute Optimizer also provides recent utilization metric data, in addition
149
153
  * to projected utilization metric data for the recommendations, which you can use to
@@ -9,7 +9,7 @@ export interface DeleteRecommendationPreferencesCommandOutput extends DeleteReco
9
9
  }
10
10
  /**
11
11
  * <p>Deletes a recommendation preference, such as enhanced infrastructure metrics.</p>
12
- * <p>For more information, see <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html">Activating
12
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html">Activating
13
13
  * enhanced infrastructure metrics</a> in the <i>Compute Optimizer User
14
14
  * Guide</i>.</p>
15
15
  * @example
@@ -9,7 +9,7 @@ export interface DescribeRecommendationExportJobsCommandOutput extends DescribeR
9
9
  }
10
10
  /**
11
11
  * <p>Describes recommendation export jobs created in the last seven days.</p>
12
- * <p>Use the <a>ExportAutoScalingGroupRecommendations</a> or <a>ExportEC2InstanceRecommendations</a> actions to request an export of your
12
+ * <p>Use the <a>ExportAutoScalingGroupRecommendations</a> or <a>ExportEC2InstanceRecommendations</a> actions to request an export of your
13
13
  * recommendations. Then use the <a>DescribeRecommendationExportJobs</a> action
14
14
  * to view your export jobs.</p>
15
15
  * @example
@@ -9,11 +9,11 @@ export interface ExportAutoScalingGroupRecommendationsCommandOutput extends Expo
9
9
  }
10
10
  /**
11
11
  * <p>Exports optimization recommendations for Auto Scaling groups.</p>
12
- * <p>Recommendations are exported in a comma-separated values (.csv) file, and its metadata
12
+ * <p>Recommendations are exported in a comma-separated values (.csv) file, and its metadata
13
13
  * in a JavaScript Object Notation (JSON) (.json) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html">Exporting
14
14
  * Recommendations</a> in the <i>Compute Optimizer User
15
15
  * Guide</i>.</p>
16
- * <p>You can have only one Auto Scaling group export job in progress per Amazon Web Services Region.</p>
16
+ * <p>You can have only one Auto Scaling group export job in progress per Amazon Web Services Region.</p>
17
17
  * @example
18
18
  * Use a bare-bones client and the command you need to make an API call.
19
19
  * ```javascript
@@ -9,11 +9,11 @@ export interface ExportEBSVolumeRecommendationsCommandOutput extends ExportEBSVo
9
9
  }
10
10
  /**
11
11
  * <p>Exports optimization recommendations for Amazon EBS volumes.</p>
12
- * <p>Recommendations are exported in a comma-separated values (.csv) file, and its metadata
12
+ * <p>Recommendations are exported in a comma-separated values (.csv) file, and its metadata
13
13
  * in a JavaScript Object Notation (JSON) (.json) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html">Exporting
14
14
  * Recommendations</a> in the <i>Compute Optimizer User
15
15
  * Guide</i>.</p>
16
- * <p>You can have only one Amazon EBS volume export job in progress per Amazon Web Services Region.</p>
16
+ * <p>You can have only one Amazon EBS volume export job in progress per Amazon Web Services Region.</p>
17
17
  * @example
18
18
  * Use a bare-bones client and the command you need to make an API call.
19
19
  * ```javascript
@@ -9,11 +9,11 @@ export interface ExportEC2InstanceRecommendationsCommandOutput extends ExportEC2
9
9
  }
10
10
  /**
11
11
  * <p>Exports optimization recommendations for Amazon EC2 instances.</p>
12
- * <p>Recommendations are exported in a comma-separated values (.csv) file, and its metadata
12
+ * <p>Recommendations are exported in a comma-separated values (.csv) file, and its metadata
13
13
  * in a JavaScript Object Notation (JSON) (.json) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html">Exporting
14
14
  * Recommendations</a> in the <i>Compute Optimizer User
15
15
  * Guide</i>.</p>
16
- * <p>You can have only one Amazon EC2 instance export job in progress per Amazon Web Services Region.</p>
16
+ * <p>You can have only one Amazon EC2 instance export job in progress per Amazon Web Services Region.</p>
17
17
  * @example
18
18
  * Use a bare-bones client and the command you need to make an API call.
19
19
  * ```javascript
@@ -0,0 +1,44 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { ComputeOptimizerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerClient";
5
+ import { ExportECSServiceRecommendationsRequest, ExportECSServiceRecommendationsResponse } from "../models/models_0";
6
+ export interface ExportECSServiceRecommendationsCommandInput extends ExportECSServiceRecommendationsRequest {
7
+ }
8
+ export interface ExportECSServiceRecommendationsCommandOutput extends ExportECSServiceRecommendationsResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>
12
+ * Exports optimization recommendations for Amazon ECS services on Fargate.
13
+ * </p>
14
+ * <p>Recommendations are exported in a CSV file, and its metadata
15
+ * in a JSON file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html">Exporting
16
+ * Recommendations</a> in the <i>Compute Optimizer User
17
+ * Guide</i>.</p>
18
+ * <p>You can only have one Amazon ECS service export job in progress per Amazon Web Services Region.</p>
19
+ * @example
20
+ * Use a bare-bones client and the command you need to make an API call.
21
+ * ```javascript
22
+ * import { ComputeOptimizerClient, ExportECSServiceRecommendationsCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
23
+ * // const { ComputeOptimizerClient, ExportECSServiceRecommendationsCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
24
+ * const client = new ComputeOptimizerClient(config);
25
+ * const command = new ExportECSServiceRecommendationsCommand(input);
26
+ * const response = await client.send(command);
27
+ * ```
28
+ *
29
+ * @see {@link ExportECSServiceRecommendationsCommandInput} for command's `input` shape.
30
+ * @see {@link ExportECSServiceRecommendationsCommandOutput} for command's `response` shape.
31
+ * @see {@link ComputeOptimizerClientResolvedConfig | config} for ComputeOptimizerClient's `config` shape.
32
+ *
33
+ */
34
+ export declare class ExportECSServiceRecommendationsCommand extends $Command<ExportECSServiceRecommendationsCommandInput, ExportECSServiceRecommendationsCommandOutput, ComputeOptimizerClientResolvedConfig> {
35
+ readonly input: ExportECSServiceRecommendationsCommandInput;
36
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
37
+ constructor(input: ExportECSServiceRecommendationsCommandInput);
38
+ /**
39
+ * @internal
40
+ */
41
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ComputeOptimizerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ExportECSServiceRecommendationsCommandInput, ExportECSServiceRecommendationsCommandOutput>;
42
+ private serialize;
43
+ private deserialize;
44
+ }
@@ -9,11 +9,11 @@ export interface ExportLambdaFunctionRecommendationsCommandOutput extends Export
9
9
  }
10
10
  /**
11
11
  * <p>Exports optimization recommendations for Lambda functions.</p>
12
- * <p>Recommendations are exported in a comma-separated values (.csv) file, and its metadata
12
+ * <p>Recommendations are exported in a comma-separated values (.csv) file, and its metadata
13
13
  * in a JavaScript Object Notation (JSON) (.json) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html">Exporting
14
14
  * Recommendations</a> in the <i>Compute Optimizer User
15
15
  * Guide</i>.</p>
16
- * <p>You can have only one Lambda function export job in progress per Amazon Web Services Region.</p>
16
+ * <p>You can have only one Lambda function export job in progress per Amazon Web Services Region.</p>
17
17
  * @example
18
18
  * Use a bare-bones client and the command you need to make an API call.
19
19
  * ```javascript
@@ -9,7 +9,7 @@ export interface GetAutoScalingGroupRecommendationsCommandOutput extends GetAuto
9
9
  }
10
10
  /**
11
11
  * <p>Returns Auto Scaling group recommendations.</p>
12
- * <p>Compute Optimizer generates recommendations for Amazon EC2 Auto Scaling groups that
12
+ * <p>Compute Optimizer generates recommendations for Amazon EC2 Auto Scaling groups that
13
13
  * meet a specific set of requirements. For more information, see the <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/requirements.html">Supported
14
14
  * resources and requirements</a> in the <i>Compute Optimizer User
15
15
  * Guide</i>.</p>
@@ -9,7 +9,7 @@ export interface GetEBSVolumeRecommendationsCommandOutput extends GetEBSVolumeRe
9
9
  }
10
10
  /**
11
11
  * <p>Returns Amazon Elastic Block Store (Amazon EBS) volume recommendations.</p>
12
- * <p>Compute Optimizer generates recommendations for Amazon EBS volumes that
12
+ * <p>Compute Optimizer generates recommendations for Amazon EBS volumes that
13
13
  * meet a specific set of requirements. For more information, see the <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/requirements.html">Supported
14
14
  * resources and requirements</a> in the <i>Compute Optimizer User
15
15
  * Guide</i>.</p>
@@ -9,7 +9,7 @@ export interface GetEC2InstanceRecommendationsCommandOutput extends GetEC2Instan
9
9
  }
10
10
  /**
11
11
  * <p>Returns Amazon EC2 instance recommendations.</p>
12
- * <p>Compute Optimizer generates recommendations for Amazon Elastic Compute Cloud (Amazon EC2) instances that meet a specific set of requirements. For more
12
+ * <p>Compute Optimizer generates recommendations for Amazon Elastic Compute Cloud (Amazon EC2) instances that meet a specific set of requirements. For more
13
13
  * 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,12 +10,12 @@ export interface GetEC2RecommendationProjectedMetricsCommandOutput extends GetEC
10
10
  /**
11
11
  * <p>Returns the projected utilization metrics of Amazon EC2 instance
12
12
  * recommendations.</p>
13
- * <note>
13
+ * <note>
14
14
  * <p>The <code>Cpu</code> and <code>Memory</code> metrics are the only projected
15
15
  * utilization metrics returned when you run this action. Additionally, the
16
16
  * <code>Memory</code> metric is returned only for resources that have the unified
17
17
  * CloudWatch agent installed on them. For more information, see <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/metrics.html#cw-agent">Enabling Memory Utilization with the CloudWatch Agent</a>.</p>
18
- * </note>
18
+ * </note>
19
19
  * @example
20
20
  * Use a bare-bones client and the command you need to make an API call.
21
21
  * ```javascript
@@ -0,0 +1,39 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { ComputeOptimizerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerClient";
5
+ import { GetECSServiceRecommendationProjectedMetricsRequest, GetECSServiceRecommendationProjectedMetricsResponse } from "../models/models_0";
6
+ export interface GetECSServiceRecommendationProjectedMetricsCommandInput extends GetECSServiceRecommendationProjectedMetricsRequest {
7
+ }
8
+ export interface GetECSServiceRecommendationProjectedMetricsCommandOutput extends GetECSServiceRecommendationProjectedMetricsResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>
12
+ * Returns the projected metrics of Amazon ECS service recommendations.
13
+ * </p>
14
+ * @example
15
+ * Use a bare-bones client and the command you need to make an API call.
16
+ * ```javascript
17
+ * import { ComputeOptimizerClient, GetECSServiceRecommendationProjectedMetricsCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
18
+ * // const { ComputeOptimizerClient, GetECSServiceRecommendationProjectedMetricsCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
19
+ * const client = new ComputeOptimizerClient(config);
20
+ * const command = new GetECSServiceRecommendationProjectedMetricsCommand(input);
21
+ * const response = await client.send(command);
22
+ * ```
23
+ *
24
+ * @see {@link GetECSServiceRecommendationProjectedMetricsCommandInput} for command's `input` shape.
25
+ * @see {@link GetECSServiceRecommendationProjectedMetricsCommandOutput} for command's `response` shape.
26
+ * @see {@link ComputeOptimizerClientResolvedConfig | config} for ComputeOptimizerClient's `config` shape.
27
+ *
28
+ */
29
+ export declare class GetECSServiceRecommendationProjectedMetricsCommand extends $Command<GetECSServiceRecommendationProjectedMetricsCommandInput, GetECSServiceRecommendationProjectedMetricsCommandOutput, ComputeOptimizerClientResolvedConfig> {
30
+ readonly input: GetECSServiceRecommendationProjectedMetricsCommandInput;
31
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
32
+ constructor(input: GetECSServiceRecommendationProjectedMetricsCommandInput);
33
+ /**
34
+ * @internal
35
+ */
36
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ComputeOptimizerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetECSServiceRecommendationProjectedMetricsCommandInput, GetECSServiceRecommendationProjectedMetricsCommandOutput>;
37
+ private serialize;
38
+ private deserialize;
39
+ }
@@ -0,0 +1,46 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { ComputeOptimizerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerClient";
5
+ import { GetECSServiceRecommendationsRequest, GetECSServiceRecommendationsResponse } from "../models/models_0";
6
+ export interface GetECSServiceRecommendationsCommandInput extends GetECSServiceRecommendationsRequest {
7
+ }
8
+ export interface GetECSServiceRecommendationsCommandOutput extends GetECSServiceRecommendationsResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>
12
+ * Returns Amazon ECS service recommendations.
13
+ * </p>
14
+ * <p>
15
+ * Compute Optimizer generates recommendations for Amazon ECS services on
16
+ * Fargate that meet a specific set of requirements. For more
17
+ * information, see the <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/requirements.html">Supported resources and
18
+ * requirements</a> in the <i>Compute Optimizer User
19
+ * Guide</i>.
20
+ * </p>
21
+ * @example
22
+ * Use a bare-bones client and the command you need to make an API call.
23
+ * ```javascript
24
+ * import { ComputeOptimizerClient, GetECSServiceRecommendationsCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import
25
+ * // const { ComputeOptimizerClient, GetECSServiceRecommendationsCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import
26
+ * const client = new ComputeOptimizerClient(config);
27
+ * const command = new GetECSServiceRecommendationsCommand(input);
28
+ * const response = await client.send(command);
29
+ * ```
30
+ *
31
+ * @see {@link GetECSServiceRecommendationsCommandInput} for command's `input` shape.
32
+ * @see {@link GetECSServiceRecommendationsCommandOutput} for command's `response` shape.
33
+ * @see {@link ComputeOptimizerClientResolvedConfig | config} for ComputeOptimizerClient's `config` shape.
34
+ *
35
+ */
36
+ export declare class GetECSServiceRecommendationsCommand extends $Command<GetECSServiceRecommendationsCommandInput, GetECSServiceRecommendationsCommandOutput, ComputeOptimizerClientResolvedConfig> {
37
+ readonly input: GetECSServiceRecommendationsCommandInput;
38
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
39
+ constructor(input: GetECSServiceRecommendationsCommandInput);
40
+ /**
41
+ * @internal
42
+ */
43
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ComputeOptimizerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetECSServiceRecommendationsCommandInput, GetECSServiceRecommendationsCommandOutput>;
44
+ private serialize;
45
+ private deserialize;
46
+ }