# 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::EMRContainers module Endpoints class CancelJobRun def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMRContainers::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 CreateManagedEndpoint def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMRContainers::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 CreateVirtualCluster def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMRContainers::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 DeleteManagedEndpoint def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMRContainers::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 DeleteVirtualCluster def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMRContainers::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 DescribeJobRun def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMRContainers::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 DescribeManagedEndpoint def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMRContainers::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 DescribeVirtualCluster def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMRContainers::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 ListJobRuns def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMRContainers::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 ListManagedEndpoints def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMRContainers::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::EMRContainers::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 ListVirtualClusters def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMRContainers::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 StartJobRun def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMRContainers::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::EMRContainers::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::EMRContainers::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