# 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::MigrationHub # @api private module Endpoints class AssociateCreatedArtifact def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MigrationHub::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 AssociateDiscoveredResource def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MigrationHub::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 CreateProgressUpdateStream def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MigrationHub::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 DeleteProgressUpdateStream def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MigrationHub::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 DescribeApplicationState def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MigrationHub::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 DescribeMigrationTask def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MigrationHub::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 DisassociateCreatedArtifact def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MigrationHub::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 DisassociateDiscoveredResource def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MigrationHub::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 ImportMigrationTask def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MigrationHub::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 ListApplicationStates def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MigrationHub::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 ListCreatedArtifacts def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MigrationHub::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 ListDiscoveredResources def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MigrationHub::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 ListMigrationTasks def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MigrationHub::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 ListProgressUpdateStreams def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MigrationHub::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 NotifyApplicationState def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MigrationHub::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 NotifyMigrationTaskState def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MigrationHub::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 PutResourceAttributes def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::MigrationHub::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