# 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::MainframeModernization # @api private module Endpoints class CancelBatchJobExecution def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MainframeModernization::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 CreateApplication def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MainframeModernization::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 CreateDataSetImportTask def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MainframeModernization::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 CreateDeployment def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MainframeModernization::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 CreateEnvironment def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MainframeModernization::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 DeleteApplication def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MainframeModernization::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 DeleteApplicationFromEnvironment def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MainframeModernization::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 DeleteEnvironment def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MainframeModernization::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 GetApplication def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MainframeModernization::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 GetApplicationVersion def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MainframeModernization::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 GetBatchJobExecution def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MainframeModernization::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 GetDataSetDetails def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MainframeModernization::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 GetDataSetImportTask def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MainframeModernization::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 GetDeployment def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MainframeModernization::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 GetEnvironment def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MainframeModernization::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 GetSignedBluinsightsUrl def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MainframeModernization::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 ListApplicationVersions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MainframeModernization::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 ListApplications def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MainframeModernization::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 ListBatchJobDefinitions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MainframeModernization::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 ListBatchJobExecutions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MainframeModernization::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 ListDataSetImportHistory def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MainframeModernization::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 ListDataSets def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MainframeModernization::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 ListDeployments def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MainframeModernization::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 ListEngineVersions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MainframeModernization::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 ListEnvironments def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MainframeModernization::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::MainframeModernization::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 StartApplication def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MainframeModernization::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 StartBatchJob def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MainframeModernization::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 StopApplication def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MainframeModernization::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::MainframeModernization::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::MainframeModernization::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 UpdateApplication def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MainframeModernization::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 UpdateEnvironment def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MainframeModernization::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