# 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::IVS # @api private module Endpoints class BatchGetChannel def self.build(context) Aws::IVS::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class BatchGetStreamKey def self.build(context) Aws::IVS::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class BatchStartViewerSessionRevocation def self.build(context) Aws::IVS::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class CreateChannel def self.build(context) Aws::IVS::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class CreatePlaybackRestrictionPolicy def self.build(context) Aws::IVS::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class CreateRecordingConfiguration def self.build(context) Aws::IVS::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class CreateStreamKey def self.build(context) Aws::IVS::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class DeleteChannel def self.build(context) Aws::IVS::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class DeletePlaybackKeyPair def self.build(context) Aws::IVS::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class DeletePlaybackRestrictionPolicy def self.build(context) Aws::IVS::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class DeleteRecordingConfiguration def self.build(context) Aws::IVS::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class DeleteStreamKey def self.build(context) Aws::IVS::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class GetChannel def self.build(context) Aws::IVS::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class GetPlaybackKeyPair def self.build(context) Aws::IVS::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class GetPlaybackRestrictionPolicy def self.build(context) Aws::IVS::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class GetRecordingConfiguration def self.build(context) Aws::IVS::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class GetStream def self.build(context) Aws::IVS::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class GetStreamKey def self.build(context) Aws::IVS::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class GetStreamSession def self.build(context) Aws::IVS::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class ImportPlaybackKeyPair def self.build(context) Aws::IVS::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class ListChannels def self.build(context) Aws::IVS::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class ListPlaybackKeyPairs def self.build(context) Aws::IVS::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class ListPlaybackRestrictionPolicies def self.build(context) Aws::IVS::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class ListRecordingConfigurations def self.build(context) Aws::IVS::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class ListStreamKeys def self.build(context) Aws::IVS::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class ListStreamSessions def self.build(context) Aws::IVS::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class ListStreams def self.build(context) Aws::IVS::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class ListTagsForResource def self.build(context) Aws::IVS::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class PutMetadata def self.build(context) Aws::IVS::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class StartViewerSessionRevocation def self.build(context) Aws::IVS::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class StopStream def self.build(context) Aws::IVS::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class TagResource def self.build(context) Aws::IVS::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class UntagResource def self.build(context) Aws::IVS::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class UpdateChannel def self.build(context) Aws::IVS::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class UpdatePlaybackRestrictionPolicy def self.build(context) Aws::IVS::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end end end