aws-sdk-computeoptimizer 1.34.0 → 1.36.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -81,6 +81,20 @@ module Aws::ComputeOptimizer
81
81
  end
82
82
  end
83
83
 
84
+ class ExportECSServiceRecommendations
85
+ def self.build(context)
86
+ unless context.config.regional_endpoint
87
+ endpoint = context.config.endpoint.to_s
88
+ end
89
+ Aws::ComputeOptimizer::EndpointParameters.new(
90
+ region: context.config.region,
91
+ use_dual_stack: context.config.use_dualstack_endpoint,
92
+ use_fips: context.config.use_fips_endpoint,
93
+ endpoint: endpoint,
94
+ )
95
+ end
96
+ end
97
+
84
98
  class ExportLambdaFunctionRecommendations
85
99
  def self.build(context)
86
100
  unless context.config.regional_endpoint
@@ -151,6 +165,34 @@ module Aws::ComputeOptimizer
151
165
  end
152
166
  end
153
167
 
168
+ class GetECSServiceRecommendationProjectedMetrics
169
+ def self.build(context)
170
+ unless context.config.regional_endpoint
171
+ endpoint = context.config.endpoint.to_s
172
+ end
173
+ Aws::ComputeOptimizer::EndpointParameters.new(
174
+ region: context.config.region,
175
+ use_dual_stack: context.config.use_dualstack_endpoint,
176
+ use_fips: context.config.use_fips_endpoint,
177
+ endpoint: endpoint,
178
+ )
179
+ end
180
+ end
181
+
182
+ class GetECSServiceRecommendations
183
+ def self.build(context)
184
+ unless context.config.regional_endpoint
185
+ endpoint = context.config.endpoint.to_s
186
+ end
187
+ Aws::ComputeOptimizer::EndpointParameters.new(
188
+ region: context.config.region,
189
+ use_dual_stack: context.config.use_dualstack_endpoint,
190
+ use_fips: context.config.use_fips_endpoint,
191
+ endpoint: endpoint,
192
+ )
193
+ end
194
+ end
195
+
154
196
  class GetEffectiveRecommendationPreferences
155
197
  def self.build(context)
156
198
  unless context.config.regional_endpoint
@@ -66,6 +66,8 @@ module Aws::ComputeOptimizer
66
66
  Aws::ComputeOptimizer::Endpoints::ExportEBSVolumeRecommendations.build(context)
67
67
  when :export_ec2_instance_recommendations
68
68
  Aws::ComputeOptimizer::Endpoints::ExportEC2InstanceRecommendations.build(context)
69
+ when :export_ecs_service_recommendations
70
+ Aws::ComputeOptimizer::Endpoints::ExportECSServiceRecommendations.build(context)
69
71
  when :export_lambda_function_recommendations
70
72
  Aws::ComputeOptimizer::Endpoints::ExportLambdaFunctionRecommendations.build(context)
71
73
  when :get_auto_scaling_group_recommendations
@@ -76,6 +78,10 @@ module Aws::ComputeOptimizer
76
78
  Aws::ComputeOptimizer::Endpoints::GetEC2InstanceRecommendations.build(context)
77
79
  when :get_ec2_recommendation_projected_metrics
78
80
  Aws::ComputeOptimizer::Endpoints::GetEC2RecommendationProjectedMetrics.build(context)
81
+ when :get_ecs_service_recommendation_projected_metrics
82
+ Aws::ComputeOptimizer::Endpoints::GetECSServiceRecommendationProjectedMetrics.build(context)
83
+ when :get_ecs_service_recommendations
84
+ Aws::ComputeOptimizer::Endpoints::GetECSServiceRecommendations.build(context)
79
85
  when :get_effective_recommendation_preferences
80
86
  Aws::ComputeOptimizer::Endpoints::GetEffectiveRecommendationPreferences.build(context)
81
87
  when :get_enrollment_status