# 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::MediaTailor module Endpoints class ConfigureLogsForChannel def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaTailor::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 ConfigureLogsForPlaybackConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaTailor::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 CreateChannel def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaTailor::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 CreateLiveSource def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaTailor::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 CreatePrefetchSchedule def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaTailor::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 CreateProgram def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaTailor::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 CreateSourceLocation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaTailor::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 CreateVodSource def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaTailor::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 DeleteChannel def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaTailor::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 DeleteChannelPolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaTailor::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 DeleteLiveSource def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaTailor::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 DeletePlaybackConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaTailor::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 DeletePrefetchSchedule def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaTailor::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 DeleteProgram def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaTailor::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 DeleteSourceLocation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaTailor::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 DeleteVodSource def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaTailor::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 DescribeChannel def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaTailor::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 DescribeLiveSource def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaTailor::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 DescribeProgram def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaTailor::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 DescribeSourceLocation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaTailor::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 DescribeVodSource def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaTailor::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 GetChannelPolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaTailor::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 GetChannelSchedule def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaTailor::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 GetPlaybackConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaTailor::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 GetPrefetchSchedule def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaTailor::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::MediaTailor::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 ListChannels def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaTailor::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 ListLiveSources def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaTailor::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 ListPlaybackConfigurations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaTailor::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 ListPrefetchSchedules def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaTailor::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 ListSourceLocations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaTailor::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::MediaTailor::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 ListVodSources def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaTailor::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 PutChannelPolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaTailor::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 PutPlaybackConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaTailor::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 StartChannel def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaTailor::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 StopChannel def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaTailor::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::MediaTailor::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::MediaTailor::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 UpdateChannel def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaTailor::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 UpdateLiveSource def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaTailor::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 UpdateProgram def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaTailor::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 UpdateSourceLocation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaTailor::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 UpdateVodSource def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaTailor::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