# 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::MediaLive # @api private module Endpoints class AcceptInputDeviceTransfer def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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 BatchDelete def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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 BatchStart def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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 BatchStop def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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 BatchUpdateSchedule def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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 CancelInputDeviceTransfer def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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 ClaimDevice def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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::MediaLive::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 CreateInput def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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 CreateInputSecurityGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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 CreateMultiplex def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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 CreateMultiplexProgram def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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 CreatePartnerInput def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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 CreateTags def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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::MediaLive::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 DeleteInput def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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 DeleteInputSecurityGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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 DeleteMultiplex def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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 DeleteMultiplexProgram def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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 DeleteReservation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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 DeleteSchedule def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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 DeleteTags def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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 DescribeAccountConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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::MediaLive::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 DescribeInput def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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 DescribeInputDevice def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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 DescribeInputDeviceThumbnail def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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 DescribeInputSecurityGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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 DescribeMultiplex def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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 DescribeMultiplexProgram def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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 DescribeOffering def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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 DescribeReservation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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 DescribeSchedule def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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 DescribeThumbnails def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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::MediaLive::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 ListInputDeviceTransfers def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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 ListInputDevices def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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 ListInputSecurityGroups def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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 ListInputs def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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 ListMultiplexPrograms def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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 ListMultiplexes def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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 ListOfferings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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 ListReservations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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::MediaLive::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 PurchaseOffering def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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 RebootInputDevice def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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 RejectInputDeviceTransfer def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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::MediaLive::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 StartInputDevice def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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 StartInputDeviceMaintenanceWindow def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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 StartMultiplex def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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::MediaLive::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 StopInputDevice def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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 StopMultiplex def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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 TransferInputDevice def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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 UpdateAccountConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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::MediaLive::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 UpdateChannelClass def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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 UpdateInput def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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 UpdateInputDevice def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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 UpdateInputSecurityGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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 UpdateMultiplex def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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 UpdateMultiplexProgram def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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 UpdateReservation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaLive::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