# frozen_string_literal: true # WARNING ABOUT GENERATED CODE # # This file is generated. See the contributing guide for more information: # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md # # WARNING ABOUT GENERATED CODE module Aws::CostExplorer # @api private module Endpoints class CreateAnomalyMonitor def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CostExplorer::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 CreateAnomalySubscription def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CostExplorer::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 CreateCostCategoryDefinition def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CostExplorer::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 DeleteAnomalyMonitor def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CostExplorer::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 DeleteAnomalySubscription def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CostExplorer::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 DeleteCostCategoryDefinition def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CostExplorer::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 DescribeCostCategoryDefinition def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CostExplorer::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 GetAnomalies def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CostExplorer::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 GetAnomalyMonitors def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CostExplorer::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 GetAnomalySubscriptions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CostExplorer::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 GetCostAndUsage def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CostExplorer::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 GetCostAndUsageWithResources def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CostExplorer::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 GetCostCategories def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CostExplorer::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 GetCostForecast def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CostExplorer::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 GetDimensionValues def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CostExplorer::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 GetReservationCoverage def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CostExplorer::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 GetReservationPurchaseRecommendation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CostExplorer::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 GetReservationUtilization def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CostExplorer::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 GetRightsizingRecommendation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CostExplorer::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 GetSavingsPlansCoverage def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CostExplorer::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 GetSavingsPlansPurchaseRecommendation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CostExplorer::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 GetSavingsPlansUtilization def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CostExplorer::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 GetSavingsPlansUtilizationDetails def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CostExplorer::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 GetTags def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CostExplorer::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 GetUsageForecast def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CostExplorer::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 ListCostAllocationTags def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CostExplorer::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 ListCostCategoryDefinitions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CostExplorer::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 ListSavingsPlansPurchaseRecommendationGeneration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CostExplorer::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 ListTagsForResource def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CostExplorer::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 ProvideAnomalyFeedback def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CostExplorer::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 StartSavingsPlansPurchaseRecommendationGeneration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CostExplorer::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 TagResource def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CostExplorer::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 UntagResource def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CostExplorer::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 UpdateAnomalyMonitor def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CostExplorer::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 UpdateAnomalySubscription def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CostExplorer::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 UpdateCostAllocationTagsStatus def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CostExplorer::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 UpdateCostCategoryDefinition def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CostExplorer::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 end end