aws-sdk-databasemigrationservice 1.106.0 → 1.108.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -29,6 +29,7 @@ module Aws::DatabaseMigrationService
29
29
  # ## Error Classes
30
30
  # * {AccessDeniedFault}
31
31
  # * {CollectorNotFoundFault}
32
+ # * {FailedDependencyFault}
32
33
  # * {InsufficientResourceCapacityFault}
33
34
  # * {InvalidCertificateFault}
34
35
  # * {InvalidOperationFault}
@@ -89,6 +90,21 @@ module Aws::DatabaseMigrationService
89
90
  end
90
91
  end
91
92
 
93
+ class FailedDependencyFault < ServiceError
94
+
95
+ # @param [Seahorse::Client::RequestContext] context
96
+ # @param [String] message
97
+ # @param [Aws::DatabaseMigrationService::Types::FailedDependencyFault] data
98
+ def initialize(context, message, data = Aws::EmptyStructure.new)
99
+ super(context, message, data)
100
+ end
101
+
102
+ # @return [String]
103
+ def message
104
+ @message || @data[:message]
105
+ end
106
+ end
107
+
92
108
  class InsufficientResourceCapacityFault < ServiceError
93
109
 
94
110
  # @param [Seahorse::Client::RequestContext] context
@@ -27,7 +27,7 @@ The endpoint provider used to resolve endpoints. Any object that responds to
27
27
  class Handler < Seahorse::Client::Handler
28
28
  def call(context)
29
29
  unless context[:discovered_endpoint]
30
- params = parameters_for_operation(context)
30
+ params = Aws::DatabaseMigrationService::Endpoints.parameters_for_operation(context)
31
31
  endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
32
 
33
33
  context.http_request.endpoint = endpoint.url
@@ -67,223 +67,6 @@ The endpoint provider used to resolve endpoints. Any object that responds to
67
67
  context.http_request.headers[key] = value
68
68
  end
69
69
  end
70
-
71
- def parameters_for_operation(context)
72
- case context.operation_name
73
- when :add_tags_to_resource
74
- Aws::DatabaseMigrationService::Endpoints::AddTagsToResource.build(context)
75
- when :apply_pending_maintenance_action
76
- Aws::DatabaseMigrationService::Endpoints::ApplyPendingMaintenanceAction.build(context)
77
- when :batch_start_recommendations
78
- Aws::DatabaseMigrationService::Endpoints::BatchStartRecommendations.build(context)
79
- when :cancel_replication_task_assessment_run
80
- Aws::DatabaseMigrationService::Endpoints::CancelReplicationTaskAssessmentRun.build(context)
81
- when :create_data_provider
82
- Aws::DatabaseMigrationService::Endpoints::CreateDataProvider.build(context)
83
- when :create_endpoint
84
- Aws::DatabaseMigrationService::Endpoints::CreateEndpoint.build(context)
85
- when :create_event_subscription
86
- Aws::DatabaseMigrationService::Endpoints::CreateEventSubscription.build(context)
87
- when :create_fleet_advisor_collector
88
- Aws::DatabaseMigrationService::Endpoints::CreateFleetAdvisorCollector.build(context)
89
- when :create_instance_profile
90
- Aws::DatabaseMigrationService::Endpoints::CreateInstanceProfile.build(context)
91
- when :create_migration_project
92
- Aws::DatabaseMigrationService::Endpoints::CreateMigrationProject.build(context)
93
- when :create_replication_config
94
- Aws::DatabaseMigrationService::Endpoints::CreateReplicationConfig.build(context)
95
- when :create_replication_instance
96
- Aws::DatabaseMigrationService::Endpoints::CreateReplicationInstance.build(context)
97
- when :create_replication_subnet_group
98
- Aws::DatabaseMigrationService::Endpoints::CreateReplicationSubnetGroup.build(context)
99
- when :create_replication_task
100
- Aws::DatabaseMigrationService::Endpoints::CreateReplicationTask.build(context)
101
- when :delete_certificate
102
- Aws::DatabaseMigrationService::Endpoints::DeleteCertificate.build(context)
103
- when :delete_connection
104
- Aws::DatabaseMigrationService::Endpoints::DeleteConnection.build(context)
105
- when :delete_data_provider
106
- Aws::DatabaseMigrationService::Endpoints::DeleteDataProvider.build(context)
107
- when :delete_endpoint
108
- Aws::DatabaseMigrationService::Endpoints::DeleteEndpoint.build(context)
109
- when :delete_event_subscription
110
- Aws::DatabaseMigrationService::Endpoints::DeleteEventSubscription.build(context)
111
- when :delete_fleet_advisor_collector
112
- Aws::DatabaseMigrationService::Endpoints::DeleteFleetAdvisorCollector.build(context)
113
- when :delete_fleet_advisor_databases
114
- Aws::DatabaseMigrationService::Endpoints::DeleteFleetAdvisorDatabases.build(context)
115
- when :delete_instance_profile
116
- Aws::DatabaseMigrationService::Endpoints::DeleteInstanceProfile.build(context)
117
- when :delete_migration_project
118
- Aws::DatabaseMigrationService::Endpoints::DeleteMigrationProject.build(context)
119
- when :delete_replication_config
120
- Aws::DatabaseMigrationService::Endpoints::DeleteReplicationConfig.build(context)
121
- when :delete_replication_instance
122
- Aws::DatabaseMigrationService::Endpoints::DeleteReplicationInstance.build(context)
123
- when :delete_replication_subnet_group
124
- Aws::DatabaseMigrationService::Endpoints::DeleteReplicationSubnetGroup.build(context)
125
- when :delete_replication_task
126
- Aws::DatabaseMigrationService::Endpoints::DeleteReplicationTask.build(context)
127
- when :delete_replication_task_assessment_run
128
- Aws::DatabaseMigrationService::Endpoints::DeleteReplicationTaskAssessmentRun.build(context)
129
- when :describe_account_attributes
130
- Aws::DatabaseMigrationService::Endpoints::DescribeAccountAttributes.build(context)
131
- when :describe_applicable_individual_assessments
132
- Aws::DatabaseMigrationService::Endpoints::DescribeApplicableIndividualAssessments.build(context)
133
- when :describe_certificates
134
- Aws::DatabaseMigrationService::Endpoints::DescribeCertificates.build(context)
135
- when :describe_connections
136
- Aws::DatabaseMigrationService::Endpoints::DescribeConnections.build(context)
137
- when :describe_conversion_configuration
138
- Aws::DatabaseMigrationService::Endpoints::DescribeConversionConfiguration.build(context)
139
- when :describe_data_providers
140
- Aws::DatabaseMigrationService::Endpoints::DescribeDataProviders.build(context)
141
- when :describe_endpoint_settings
142
- Aws::DatabaseMigrationService::Endpoints::DescribeEndpointSettings.build(context)
143
- when :describe_endpoint_types
144
- Aws::DatabaseMigrationService::Endpoints::DescribeEndpointTypes.build(context)
145
- when :describe_endpoints
146
- Aws::DatabaseMigrationService::Endpoints::DescribeEndpoints.build(context)
147
- when :describe_engine_versions
148
- Aws::DatabaseMigrationService::Endpoints::DescribeEngineVersions.build(context)
149
- when :describe_event_categories
150
- Aws::DatabaseMigrationService::Endpoints::DescribeEventCategories.build(context)
151
- when :describe_event_subscriptions
152
- Aws::DatabaseMigrationService::Endpoints::DescribeEventSubscriptions.build(context)
153
- when :describe_events
154
- Aws::DatabaseMigrationService::Endpoints::DescribeEvents.build(context)
155
- when :describe_extension_pack_associations
156
- Aws::DatabaseMigrationService::Endpoints::DescribeExtensionPackAssociations.build(context)
157
- when :describe_fleet_advisor_collectors
158
- Aws::DatabaseMigrationService::Endpoints::DescribeFleetAdvisorCollectors.build(context)
159
- when :describe_fleet_advisor_databases
160
- Aws::DatabaseMigrationService::Endpoints::DescribeFleetAdvisorDatabases.build(context)
161
- when :describe_fleet_advisor_lsa_analysis
162
- Aws::DatabaseMigrationService::Endpoints::DescribeFleetAdvisorLsaAnalysis.build(context)
163
- when :describe_fleet_advisor_schema_object_summary
164
- Aws::DatabaseMigrationService::Endpoints::DescribeFleetAdvisorSchemaObjectSummary.build(context)
165
- when :describe_fleet_advisor_schemas
166
- Aws::DatabaseMigrationService::Endpoints::DescribeFleetAdvisorSchemas.build(context)
167
- when :describe_instance_profiles
168
- Aws::DatabaseMigrationService::Endpoints::DescribeInstanceProfiles.build(context)
169
- when :describe_metadata_model_assessments
170
- Aws::DatabaseMigrationService::Endpoints::DescribeMetadataModelAssessments.build(context)
171
- when :describe_metadata_model_conversions
172
- Aws::DatabaseMigrationService::Endpoints::DescribeMetadataModelConversions.build(context)
173
- when :describe_metadata_model_exports_as_script
174
- Aws::DatabaseMigrationService::Endpoints::DescribeMetadataModelExportsAsScript.build(context)
175
- when :describe_metadata_model_exports_to_target
176
- Aws::DatabaseMigrationService::Endpoints::DescribeMetadataModelExportsToTarget.build(context)
177
- when :describe_metadata_model_imports
178
- Aws::DatabaseMigrationService::Endpoints::DescribeMetadataModelImports.build(context)
179
- when :describe_migration_projects
180
- Aws::DatabaseMigrationService::Endpoints::DescribeMigrationProjects.build(context)
181
- when :describe_orderable_replication_instances
182
- Aws::DatabaseMigrationService::Endpoints::DescribeOrderableReplicationInstances.build(context)
183
- when :describe_pending_maintenance_actions
184
- Aws::DatabaseMigrationService::Endpoints::DescribePendingMaintenanceActions.build(context)
185
- when :describe_recommendation_limitations
186
- Aws::DatabaseMigrationService::Endpoints::DescribeRecommendationLimitations.build(context)
187
- when :describe_recommendations
188
- Aws::DatabaseMigrationService::Endpoints::DescribeRecommendations.build(context)
189
- when :describe_refresh_schemas_status
190
- Aws::DatabaseMigrationService::Endpoints::DescribeRefreshSchemasStatus.build(context)
191
- when :describe_replication_configs
192
- Aws::DatabaseMigrationService::Endpoints::DescribeReplicationConfigs.build(context)
193
- when :describe_replication_instance_task_logs
194
- Aws::DatabaseMigrationService::Endpoints::DescribeReplicationInstanceTaskLogs.build(context)
195
- when :describe_replication_instances
196
- Aws::DatabaseMigrationService::Endpoints::DescribeReplicationInstances.build(context)
197
- when :describe_replication_subnet_groups
198
- Aws::DatabaseMigrationService::Endpoints::DescribeReplicationSubnetGroups.build(context)
199
- when :describe_replication_table_statistics
200
- Aws::DatabaseMigrationService::Endpoints::DescribeReplicationTableStatistics.build(context)
201
- when :describe_replication_task_assessment_results
202
- Aws::DatabaseMigrationService::Endpoints::DescribeReplicationTaskAssessmentResults.build(context)
203
- when :describe_replication_task_assessment_runs
204
- Aws::DatabaseMigrationService::Endpoints::DescribeReplicationTaskAssessmentRuns.build(context)
205
- when :describe_replication_task_individual_assessments
206
- Aws::DatabaseMigrationService::Endpoints::DescribeReplicationTaskIndividualAssessments.build(context)
207
- when :describe_replication_tasks
208
- Aws::DatabaseMigrationService::Endpoints::DescribeReplicationTasks.build(context)
209
- when :describe_replications
210
- Aws::DatabaseMigrationService::Endpoints::DescribeReplications.build(context)
211
- when :describe_schemas
212
- Aws::DatabaseMigrationService::Endpoints::DescribeSchemas.build(context)
213
- when :describe_table_statistics
214
- Aws::DatabaseMigrationService::Endpoints::DescribeTableStatistics.build(context)
215
- when :export_metadata_model_assessment
216
- Aws::DatabaseMigrationService::Endpoints::ExportMetadataModelAssessment.build(context)
217
- when :import_certificate
218
- Aws::DatabaseMigrationService::Endpoints::ImportCertificate.build(context)
219
- when :list_tags_for_resource
220
- Aws::DatabaseMigrationService::Endpoints::ListTagsForResource.build(context)
221
- when :modify_conversion_configuration
222
- Aws::DatabaseMigrationService::Endpoints::ModifyConversionConfiguration.build(context)
223
- when :modify_data_provider
224
- Aws::DatabaseMigrationService::Endpoints::ModifyDataProvider.build(context)
225
- when :modify_endpoint
226
- Aws::DatabaseMigrationService::Endpoints::ModifyEndpoint.build(context)
227
- when :modify_event_subscription
228
- Aws::DatabaseMigrationService::Endpoints::ModifyEventSubscription.build(context)
229
- when :modify_instance_profile
230
- Aws::DatabaseMigrationService::Endpoints::ModifyInstanceProfile.build(context)
231
- when :modify_migration_project
232
- Aws::DatabaseMigrationService::Endpoints::ModifyMigrationProject.build(context)
233
- when :modify_replication_config
234
- Aws::DatabaseMigrationService::Endpoints::ModifyReplicationConfig.build(context)
235
- when :modify_replication_instance
236
- Aws::DatabaseMigrationService::Endpoints::ModifyReplicationInstance.build(context)
237
- when :modify_replication_subnet_group
238
- Aws::DatabaseMigrationService::Endpoints::ModifyReplicationSubnetGroup.build(context)
239
- when :modify_replication_task
240
- Aws::DatabaseMigrationService::Endpoints::ModifyReplicationTask.build(context)
241
- when :move_replication_task
242
- Aws::DatabaseMigrationService::Endpoints::MoveReplicationTask.build(context)
243
- when :reboot_replication_instance
244
- Aws::DatabaseMigrationService::Endpoints::RebootReplicationInstance.build(context)
245
- when :refresh_schemas
246
- Aws::DatabaseMigrationService::Endpoints::RefreshSchemas.build(context)
247
- when :reload_replication_tables
248
- Aws::DatabaseMigrationService::Endpoints::ReloadReplicationTables.build(context)
249
- when :reload_tables
250
- Aws::DatabaseMigrationService::Endpoints::ReloadTables.build(context)
251
- when :remove_tags_from_resource
252
- Aws::DatabaseMigrationService::Endpoints::RemoveTagsFromResource.build(context)
253
- when :run_fleet_advisor_lsa_analysis
254
- Aws::DatabaseMigrationService::Endpoints::RunFleetAdvisorLsaAnalysis.build(context)
255
- when :start_extension_pack_association
256
- Aws::DatabaseMigrationService::Endpoints::StartExtensionPackAssociation.build(context)
257
- when :start_metadata_model_assessment
258
- Aws::DatabaseMigrationService::Endpoints::StartMetadataModelAssessment.build(context)
259
- when :start_metadata_model_conversion
260
- Aws::DatabaseMigrationService::Endpoints::StartMetadataModelConversion.build(context)
261
- when :start_metadata_model_export_as_script
262
- Aws::DatabaseMigrationService::Endpoints::StartMetadataModelExportAsScript.build(context)
263
- when :start_metadata_model_export_to_target
264
- Aws::DatabaseMigrationService::Endpoints::StartMetadataModelExportToTarget.build(context)
265
- when :start_metadata_model_import
266
- Aws::DatabaseMigrationService::Endpoints::StartMetadataModelImport.build(context)
267
- when :start_recommendations
268
- Aws::DatabaseMigrationService::Endpoints::StartRecommendations.build(context)
269
- when :start_replication
270
- Aws::DatabaseMigrationService::Endpoints::StartReplication.build(context)
271
- when :start_replication_task
272
- Aws::DatabaseMigrationService::Endpoints::StartReplicationTask.build(context)
273
- when :start_replication_task_assessment
274
- Aws::DatabaseMigrationService::Endpoints::StartReplicationTaskAssessment.build(context)
275
- when :start_replication_task_assessment_run
276
- Aws::DatabaseMigrationService::Endpoints::StartReplicationTaskAssessmentRun.build(context)
277
- when :stop_replication
278
- Aws::DatabaseMigrationService::Endpoints::StopReplication.build(context)
279
- when :stop_replication_task
280
- Aws::DatabaseMigrationService::Endpoints::StopReplicationTask.build(context)
281
- when :test_connection
282
- Aws::DatabaseMigrationService::Endpoints::TestConnection.build(context)
283
- when :update_subscriptions_to_event_bridge
284
- Aws::DatabaseMigrationService::Endpoints::UpdateSubscriptionsToEventBridge.build(context)
285
- end
286
- end
287
70
  end
288
71
 
289
72
  def add_handlers(handlers, _config)