# 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::EMR # @api private module Endpoints class AddInstanceFleet def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 AddInstanceGroups def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 AddJobFlowSteps def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 AddTags def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 CancelSteps def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 CreateSecurityConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 CreateStudio def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 CreateStudioSessionMapping def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 DeleteSecurityConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 DeleteStudio def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 DeleteStudioSessionMapping def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 DescribeCluster def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 DescribeJobFlows def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 DescribeNotebookExecution def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 DescribeReleaseLabel def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 DescribeSecurityConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 DescribeStep def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 DescribeStudio def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 GetAutoTerminationPolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 GetBlockPublicAccessConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 GetClusterSessionCredentials def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 GetManagedScalingPolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 GetStudioSessionMapping def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 ListBootstrapActions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 ListClusters def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 ListInstanceFleets def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 ListInstanceGroups def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 ListInstances def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 ListNotebookExecutions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 ListReleaseLabels def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 ListSecurityConfigurations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 ListSteps def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 ListStudioSessionMappings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 ListStudios def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 ListSupportedInstanceTypes def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 ModifyCluster def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 ModifyInstanceFleet def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 ModifyInstanceGroups def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 PutAutoScalingPolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 PutAutoTerminationPolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 PutBlockPublicAccessConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 PutManagedScalingPolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 RemoveAutoScalingPolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 RemoveAutoTerminationPolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 RemoveManagedScalingPolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 RemoveTags def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 RunJobFlow def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 SetKeepJobFlowAliveWhenNoSteps def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 SetTerminationProtection def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 SetUnhealthyNodeReplacement def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 SetVisibleToAllUsers def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 StartNotebookExecution def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 StopNotebookExecution def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 TerminateJobFlows def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 UpdateStudio def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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 UpdateStudioSessionMapping def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::EMR::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