aws-sdk-computeoptimizer 1.34.0 → 1.36.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-computeoptimizer/client.rb +355 -14
- data/lib/aws-sdk-computeoptimizer/client_api.rb +258 -0
- data/lib/aws-sdk-computeoptimizer/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-computeoptimizer/endpoint_provider.rb +75 -76
- data/lib/aws-sdk-computeoptimizer/endpoints.rb +42 -0
- data/lib/aws-sdk-computeoptimizer/plugins/endpoints.rb +6 -0
- data/lib/aws-sdk-computeoptimizer/types.rb +898 -388
- data/lib/aws-sdk-computeoptimizer.rb +1 -1
- metadata +2 -2
| @@ -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
         |