lib/aws-sdk-databasemigrationservice/endpoints.rb in aws-sdk-databasemigrationservice-1.107.0 vs lib/aws-sdk-databasemigrationservice/endpoints.rb in aws-sdk-databasemigrationservice-1.108.0

- old
+ new

@@ -10,1239 +10,11 @@ module Aws::DatabaseMigrationService # @api private module Endpoints - class AddTagsToResource - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - class ApplyPendingMaintenanceAction - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end + def self.parameters_for_operation(context) + Aws::DatabaseMigrationService::EndpointParameters.create(context.config) end - - class BatchStartRecommendations - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class CancelReplicationTaskAssessmentRun - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class CreateDataMigration - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class CreateDataProvider - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class CreateEndpoint - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class CreateEventSubscription - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class CreateFleetAdvisorCollector - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class CreateInstanceProfile - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class CreateMigrationProject - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class CreateReplicationConfig - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class CreateReplicationInstance - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class CreateReplicationSubnetGroup - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class CreateReplicationTask - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DeleteCertificate - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DeleteConnection - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DeleteDataMigration - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DeleteDataProvider - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DeleteEndpoint - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DeleteEventSubscription - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DeleteFleetAdvisorCollector - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DeleteFleetAdvisorDatabases - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DeleteInstanceProfile - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DeleteMigrationProject - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DeleteReplicationConfig - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DeleteReplicationInstance - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DeleteReplicationSubnetGroup - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DeleteReplicationTask - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DeleteReplicationTaskAssessmentRun - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeAccountAttributes - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeApplicableIndividualAssessments - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeCertificates - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeConnections - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeConversionConfiguration - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeDataMigrations - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeDataProviders - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeEndpointSettings - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeEndpointTypes - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeEndpoints - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeEngineVersions - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeEventCategories - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeEventSubscriptions - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeEvents - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeExtensionPackAssociations - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeFleetAdvisorCollectors - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeFleetAdvisorDatabases - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeFleetAdvisorLsaAnalysis - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeFleetAdvisorSchemaObjectSummary - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeFleetAdvisorSchemas - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeInstanceProfiles - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeMetadataModelAssessments - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeMetadataModelConversions - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeMetadataModelExportsAsScript - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeMetadataModelExportsToTarget - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeMetadataModelImports - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeMigrationProjects - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeOrderableReplicationInstances - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribePendingMaintenanceActions - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeRecommendationLimitations - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeRecommendations - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeRefreshSchemasStatus - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeReplicationConfigs - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeReplicationInstanceTaskLogs - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeReplicationInstances - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeReplicationSubnetGroups - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeReplicationTableStatistics - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeReplicationTaskAssessmentResults - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeReplicationTaskAssessmentRuns - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeReplicationTaskIndividualAssessments - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeReplicationTasks - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeReplications - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeSchemas - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class DescribeTableStatistics - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class ExportMetadataModelAssessment - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class ImportCertificate - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class ListTagsForResource - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class ModifyConversionConfiguration - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class ModifyDataMigration - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class ModifyDataProvider - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class ModifyEndpoint - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class ModifyEventSubscription - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class ModifyInstanceProfile - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class ModifyMigrationProject - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class ModifyReplicationConfig - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class ModifyReplicationInstance - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class ModifyReplicationSubnetGroup - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class ModifyReplicationTask - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class MoveReplicationTask - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class RebootReplicationInstance - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class RefreshSchemas - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class ReloadReplicationTables - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class ReloadTables - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class RemoveTagsFromResource - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class RunFleetAdvisorLsaAnalysis - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class StartDataMigration - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class StartExtensionPackAssociation - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class StartMetadataModelAssessment - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class StartMetadataModelConversion - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class StartMetadataModelExportAsScript - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class StartMetadataModelExportToTarget - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class StartMetadataModelImport - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class StartRecommendations - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class StartReplication - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class StartReplicationTask - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class StartReplicationTaskAssessment - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class StartReplicationTaskAssessmentRun - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class StopDataMigration - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class StopReplication - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class StopReplicationTask - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class TestConnection - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - - class UpdateSubscriptionsToEventBridge - def self.build(context) - Aws::DatabaseMigrationService::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, - ) - end - end - end end