# 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::DatabaseMigrationService # @api private module Endpoints class AddTagsToResource def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 ApplyPendingMaintenanceAction def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 BatchStartRecommendations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 CancelReplicationTaskAssessmentRun def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 CreateEndpoint def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 CreateEventSubscription def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 CreateFleetAdvisorCollector def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 CreateReplicationConfig def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 CreateReplicationInstance def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 CreateReplicationSubnetGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 CreateReplicationTask def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 DeleteCertificate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 DeleteConnection def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 DeleteEndpoint def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 DeleteEventSubscription def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 DeleteFleetAdvisorCollector def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 DeleteFleetAdvisorDatabases def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 DeleteReplicationConfig def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 DeleteReplicationInstance def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 DeleteReplicationSubnetGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 DeleteReplicationTask def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 DeleteReplicationTaskAssessmentRun def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 DescribeAccountAttributes def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 DescribeApplicableIndividualAssessments def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 DescribeCertificates def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 DescribeConnections def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 DescribeEndpointSettings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 DescribeEndpointTypes def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 DescribeEndpoints def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 DescribeEventCategories def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 DescribeEventSubscriptions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 DescribeEvents def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 DescribeFleetAdvisorCollectors def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 DescribeFleetAdvisorDatabases def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 DescribeFleetAdvisorLsaAnalysis def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 DescribeFleetAdvisorSchemaObjectSummary def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 DescribeFleetAdvisorSchemas def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 DescribeOrderableReplicationInstances def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 DescribePendingMaintenanceActions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 DescribeRecommendationLimitations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 DescribeRecommendations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 DescribeRefreshSchemasStatus def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 DescribeReplicationConfigs def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 DescribeReplicationInstanceTaskLogs def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 DescribeReplicationInstances def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 DescribeReplicationSubnetGroups def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 DescribeReplicationTableStatistics def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 DescribeReplicationTaskAssessmentResults def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 DescribeReplicationTaskAssessmentRuns def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 DescribeReplicationTaskIndividualAssessments def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 DescribeReplicationTasks def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 DescribeReplications def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 DescribeSchemas def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 DescribeTableStatistics def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 ImportCertificate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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::DatabaseMigrationService::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 ModifyEndpoint def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 ModifyEventSubscription def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 ModifyReplicationConfig def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 ModifyReplicationInstance def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 ModifyReplicationSubnetGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 ModifyReplicationTask def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 MoveReplicationTask def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 RebootReplicationInstance def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 RefreshSchemas def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 ReloadReplicationTables def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 ReloadTables def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 RemoveTagsFromResource def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 RunFleetAdvisorLsaAnalysis def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 StartRecommendations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 StartReplication def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 StartReplicationTask def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 StartReplicationTaskAssessment def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 StartReplicationTaskAssessmentRun def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 StopReplication def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 StopReplicationTask def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 TestConnection def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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 UpdateSubscriptionsToEventBridge def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::DatabaseMigrationService::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