lib/aws-sdk-computeoptimizer/endpoints.rb in aws-sdk-computeoptimizer-1.46.0 vs lib/aws-sdk-computeoptimizer/endpoints.rb in aws-sdk-computeoptimizer-1.47.0

- old
+ new

@@ -108,10 +108,24 @@ endpoint: endpoint, ) end end + class ExportLicenseRecommendations + def self.build(context) + unless context.config.regional_endpoint + endpoint = context.config.endpoint.to_s + end + Aws::ComputeOptimizer::EndpointParameters.new( + region: context.config.region, + use_dual_stack: context.config.use_dualstack_endpoint, + use_fips: context.config.use_fips_endpoint, + endpoint: endpoint, + ) + end + end + class GetAutoScalingGroupRecommendations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end @@ -235,9 +249,23 @@ ) end end class GetLambdaFunctionRecommendations + def self.build(context) + unless context.config.regional_endpoint + endpoint = context.config.endpoint.to_s + end + Aws::ComputeOptimizer::EndpointParameters.new( + region: context.config.region, + use_dual_stack: context.config.use_dualstack_endpoint, + use_fips: context.config.use_fips_endpoint, + endpoint: endpoint, + ) + end + end + + class GetLicenseRecommendations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ComputeOptimizer::EndpointParameters.new(