# 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::LookoutMetrics # @api private module Endpoints class ActivateAnomalyDetector def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LookoutMetrics::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 BackTestAnomalyDetector def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LookoutMetrics::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 CreateAlert def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LookoutMetrics::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 CreateAnomalyDetector def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LookoutMetrics::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 CreateMetricSet def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LookoutMetrics::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 DeactivateAnomalyDetector def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LookoutMetrics::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 DeleteAlert def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LookoutMetrics::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 DeleteAnomalyDetector def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LookoutMetrics::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 DescribeAlert def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LookoutMetrics::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 DescribeAnomalyDetectionExecutions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LookoutMetrics::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 DescribeAnomalyDetector def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LookoutMetrics::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 DescribeMetricSet def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LookoutMetrics::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 DetectMetricSetConfig def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LookoutMetrics::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 GetAnomalyGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LookoutMetrics::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 GetDataQualityMetrics def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LookoutMetrics::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 GetFeedback def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LookoutMetrics::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 GetSampleData def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LookoutMetrics::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 ListAlerts def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LookoutMetrics::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 ListAnomalyDetectors def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LookoutMetrics::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 ListAnomalyGroupRelatedMetrics def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LookoutMetrics::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 ListAnomalyGroupSummaries def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LookoutMetrics::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 ListAnomalyGroupTimeSeries def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LookoutMetrics::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 ListMetricSets def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LookoutMetrics::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::LookoutMetrics::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 PutFeedback def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LookoutMetrics::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::LookoutMetrics::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::LookoutMetrics::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 UpdateAlert def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LookoutMetrics::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 UpdateAnomalyDetector def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LookoutMetrics::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 UpdateMetricSet def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::LookoutMetrics::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