# 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::MediaConnect # @api private module Endpoints class AddBridgeOutputs def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaConnect::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 AddBridgeSources def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaConnect::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 AddFlowMediaStreams def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaConnect::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 AddFlowOutputs def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaConnect::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 AddFlowSources def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaConnect::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 AddFlowVpcInterfaces def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaConnect::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 CreateBridge def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaConnect::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 CreateFlow def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaConnect::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 CreateGateway def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaConnect::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 DeleteBridge def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaConnect::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 DeleteFlow def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaConnect::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 DeleteGateway def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaConnect::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 DeregisterGatewayInstance def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaConnect::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 DescribeBridge def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaConnect::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 DescribeFlow def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaConnect::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 DescribeGateway def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaConnect::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 DescribeGatewayInstance def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaConnect::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::MediaConnect::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::MediaConnect::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 GrantFlowEntitlements def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaConnect::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 ListBridges def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaConnect::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 ListEntitlements def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaConnect::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 ListFlows def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaConnect::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 ListGatewayInstances def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaConnect::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 ListGateways def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaConnect::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::MediaConnect::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::MediaConnect::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::MediaConnect::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::MediaConnect::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 RemoveBridgeOutput def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaConnect::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 RemoveBridgeSource def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaConnect::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 RemoveFlowMediaStream def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaConnect::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 RemoveFlowOutput def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaConnect::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 RemoveFlowSource def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaConnect::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 RemoveFlowVpcInterface def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaConnect::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 RevokeFlowEntitlement def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaConnect::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 StartFlow def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaConnect::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 StopFlow def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaConnect::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::MediaConnect::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::MediaConnect::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 UpdateBridge def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaConnect::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 UpdateBridgeOutput def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaConnect::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 UpdateBridgeSource def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaConnect::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 UpdateBridgeState def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaConnect::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 UpdateFlow def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaConnect::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 UpdateFlowEntitlement def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaConnect::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 UpdateFlowMediaStream def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaConnect::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 UpdateFlowOutput def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaConnect::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 UpdateFlowSource def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaConnect::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 UpdateGatewayInstance def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MediaConnect::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