aws-sdk-databasemigrationservice 1.75.0 → 1.76.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-databasemigrationservice/client.rb +281 -15
- data/lib/aws-sdk-databasemigrationservice/client_api.rb +165 -0
- data/lib/aws-sdk-databasemigrationservice/endpoint_provider.rb +34 -43
- data/lib/aws-sdk-databasemigrationservice/endpoints.rb +56 -0
- data/lib/aws-sdk-databasemigrationservice/plugins/endpoints.rb +8 -0
- data/lib/aws-sdk-databasemigrationservice/types.rb +581 -22
- data/lib/aws-sdk-databasemigrationservice.rb +1 -1
- metadata +2 -2
@@ -25,6 +25,10 @@ module Aws::DatabaseMigrationService
|
|
25
25
|
AuthTypeValue = Shapes::StringShape.new(name: 'AuthTypeValue')
|
26
26
|
AvailabilityZone = Shapes::StructureShape.new(name: 'AvailabilityZone')
|
27
27
|
AvailabilityZonesList = Shapes::ListShape.new(name: 'AvailabilityZonesList')
|
28
|
+
BatchStartRecommendationsErrorEntry = Shapes::StructureShape.new(name: 'BatchStartRecommendationsErrorEntry')
|
29
|
+
BatchStartRecommendationsErrorEntryList = Shapes::ListShape.new(name: 'BatchStartRecommendationsErrorEntryList')
|
30
|
+
BatchStartRecommendationsRequest = Shapes::StructureShape.new(name: 'BatchStartRecommendationsRequest')
|
31
|
+
BatchStartRecommendationsResponse = Shapes::StructureShape.new(name: 'BatchStartRecommendationsResponse')
|
28
32
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
29
33
|
BooleanOptional = Shapes::BooleanShape.new(name: 'BooleanOptional')
|
30
34
|
CancelReplicationTaskAssessmentRunMessage = Shapes::StructureShape.new(name: 'CancelReplicationTaskAssessmentRunMessage')
|
@@ -116,6 +120,10 @@ module Aws::DatabaseMigrationService
|
|
116
120
|
DescribeOrderableReplicationInstancesResponse = Shapes::StructureShape.new(name: 'DescribeOrderableReplicationInstancesResponse')
|
117
121
|
DescribePendingMaintenanceActionsMessage = Shapes::StructureShape.new(name: 'DescribePendingMaintenanceActionsMessage')
|
118
122
|
DescribePendingMaintenanceActionsResponse = Shapes::StructureShape.new(name: 'DescribePendingMaintenanceActionsResponse')
|
123
|
+
DescribeRecommendationLimitationsRequest = Shapes::StructureShape.new(name: 'DescribeRecommendationLimitationsRequest')
|
124
|
+
DescribeRecommendationLimitationsResponse = Shapes::StructureShape.new(name: 'DescribeRecommendationLimitationsResponse')
|
125
|
+
DescribeRecommendationsRequest = Shapes::StructureShape.new(name: 'DescribeRecommendationsRequest')
|
126
|
+
DescribeRecommendationsResponse = Shapes::StructureShape.new(name: 'DescribeRecommendationsResponse')
|
119
127
|
DescribeRefreshSchemasStatusMessage = Shapes::StructureShape.new(name: 'DescribeRefreshSchemasStatusMessage')
|
120
128
|
DescribeRefreshSchemasStatusResponse = Shapes::StructureShape.new(name: 'DescribeRefreshSchemasStatusResponse')
|
121
129
|
DescribeReplicationInstanceTaskLogsMessage = Shapes::StructureShape.new(name: 'DescribeReplicationInstanceTaskLogsMessage')
|
@@ -193,6 +201,8 @@ module Aws::DatabaseMigrationService
|
|
193
201
|
KafkaSettings = Shapes::StructureShape.new(name: 'KafkaSettings')
|
194
202
|
KeyList = Shapes::ListShape.new(name: 'KeyList')
|
195
203
|
KinesisSettings = Shapes::StructureShape.new(name: 'KinesisSettings')
|
204
|
+
Limitation = Shapes::StructureShape.new(name: 'Limitation')
|
205
|
+
LimitationList = Shapes::ListShape.new(name: 'LimitationList')
|
196
206
|
ListTagsForResourceMessage = Shapes::StructureShape.new(name: 'ListTagsForResourceMessage')
|
197
207
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
198
208
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
@@ -225,8 +235,15 @@ module Aws::DatabaseMigrationService
|
|
225
235
|
PendingMaintenanceActions = Shapes::ListShape.new(name: 'PendingMaintenanceActions')
|
226
236
|
PluginNameValue = Shapes::StringShape.new(name: 'PluginNameValue')
|
227
237
|
PostgreSQLSettings = Shapes::StructureShape.new(name: 'PostgreSQLSettings')
|
238
|
+
RdsConfiguration = Shapes::StructureShape.new(name: 'RdsConfiguration')
|
239
|
+
RdsRecommendation = Shapes::StructureShape.new(name: 'RdsRecommendation')
|
240
|
+
RdsRequirements = Shapes::StructureShape.new(name: 'RdsRequirements')
|
228
241
|
RebootReplicationInstanceMessage = Shapes::StructureShape.new(name: 'RebootReplicationInstanceMessage')
|
229
242
|
RebootReplicationInstanceResponse = Shapes::StructureShape.new(name: 'RebootReplicationInstanceResponse')
|
243
|
+
Recommendation = Shapes::StructureShape.new(name: 'Recommendation')
|
244
|
+
RecommendationData = Shapes::StructureShape.new(name: 'RecommendationData')
|
245
|
+
RecommendationList = Shapes::ListShape.new(name: 'RecommendationList')
|
246
|
+
RecommendationSettings = Shapes::StructureShape.new(name: 'RecommendationSettings')
|
230
247
|
RedisAuthTypeValue = Shapes::StringShape.new(name: 'RedisAuthTypeValue')
|
231
248
|
RedisSettings = Shapes::StructureShape.new(name: 'RedisSettings')
|
232
249
|
RedshiftSettings = Shapes::StructureShape.new(name: 'RedshiftSettings')
|
@@ -282,6 +299,9 @@ module Aws::DatabaseMigrationService
|
|
282
299
|
SourceIdsList = Shapes::ListShape.new(name: 'SourceIdsList')
|
283
300
|
SourceType = Shapes::StringShape.new(name: 'SourceType')
|
284
301
|
SslSecurityProtocolValue = Shapes::StringShape.new(name: 'SslSecurityProtocolValue')
|
302
|
+
StartRecommendationsRequest = Shapes::StructureShape.new(name: 'StartRecommendationsRequest')
|
303
|
+
StartRecommendationsRequestEntry = Shapes::StructureShape.new(name: 'StartRecommendationsRequestEntry')
|
304
|
+
StartRecommendationsRequestEntryList = Shapes::ListShape.new(name: 'StartRecommendationsRequestEntryList')
|
285
305
|
StartReplicationTaskAssessmentMessage = Shapes::StructureShape.new(name: 'StartReplicationTaskAssessmentMessage')
|
286
306
|
StartReplicationTaskAssessmentResponse = Shapes::StructureShape.new(name: 'StartReplicationTaskAssessmentResponse')
|
287
307
|
StartReplicationTaskAssessmentRunMessage = Shapes::StructureShape.new(name: 'StartReplicationTaskAssessmentRunMessage')
|
@@ -350,6 +370,19 @@ module Aws::DatabaseMigrationService
|
|
350
370
|
|
351
371
|
AvailabilityZonesList.member = Shapes::ShapeRef.new(shape: String)
|
352
372
|
|
373
|
+
BatchStartRecommendationsErrorEntry.add_member(:database_id, Shapes::ShapeRef.new(shape: String, location_name: "DatabaseId"))
|
374
|
+
BatchStartRecommendationsErrorEntry.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
375
|
+
BatchStartRecommendationsErrorEntry.add_member(:code, Shapes::ShapeRef.new(shape: String, location_name: "Code"))
|
376
|
+
BatchStartRecommendationsErrorEntry.struct_class = Types::BatchStartRecommendationsErrorEntry
|
377
|
+
|
378
|
+
BatchStartRecommendationsErrorEntryList.member = Shapes::ShapeRef.new(shape: BatchStartRecommendationsErrorEntry)
|
379
|
+
|
380
|
+
BatchStartRecommendationsRequest.add_member(:data, Shapes::ShapeRef.new(shape: StartRecommendationsRequestEntryList, location_name: "Data"))
|
381
|
+
BatchStartRecommendationsRequest.struct_class = Types::BatchStartRecommendationsRequest
|
382
|
+
|
383
|
+
BatchStartRecommendationsResponse.add_member(:error_entries, Shapes::ShapeRef.new(shape: BatchStartRecommendationsErrorEntryList, location_name: "ErrorEntries"))
|
384
|
+
BatchStartRecommendationsResponse.struct_class = Types::BatchStartRecommendationsResponse
|
385
|
+
|
353
386
|
CancelReplicationTaskAssessmentRunMessage.add_member(:replication_task_assessment_run_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReplicationTaskAssessmentRunArn"))
|
354
387
|
CancelReplicationTaskAssessmentRunMessage.struct_class = Types::CancelReplicationTaskAssessmentRunMessage
|
355
388
|
|
@@ -765,6 +798,24 @@ module Aws::DatabaseMigrationService
|
|
765
798
|
DescribePendingMaintenanceActionsResponse.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
|
766
799
|
DescribePendingMaintenanceActionsResponse.struct_class = Types::DescribePendingMaintenanceActionsResponse
|
767
800
|
|
801
|
+
DescribeRecommendationLimitationsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filters"))
|
802
|
+
DescribeRecommendationLimitationsRequest.add_member(:max_records, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxRecords"))
|
803
|
+
DescribeRecommendationLimitationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
804
|
+
DescribeRecommendationLimitationsRequest.struct_class = Types::DescribeRecommendationLimitationsRequest
|
805
|
+
|
806
|
+
DescribeRecommendationLimitationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
807
|
+
DescribeRecommendationLimitationsResponse.add_member(:limitations, Shapes::ShapeRef.new(shape: LimitationList, location_name: "Limitations"))
|
808
|
+
DescribeRecommendationLimitationsResponse.struct_class = Types::DescribeRecommendationLimitationsResponse
|
809
|
+
|
810
|
+
DescribeRecommendationsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filters"))
|
811
|
+
DescribeRecommendationsRequest.add_member(:max_records, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxRecords"))
|
812
|
+
DescribeRecommendationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
813
|
+
DescribeRecommendationsRequest.struct_class = Types::DescribeRecommendationsRequest
|
814
|
+
|
815
|
+
DescribeRecommendationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
816
|
+
DescribeRecommendationsResponse.add_member(:recommendations, Shapes::ShapeRef.new(shape: RecommendationList, location_name: "Recommendations"))
|
817
|
+
DescribeRecommendationsResponse.struct_class = Types::DescribeRecommendationsResponse
|
818
|
+
|
768
819
|
DescribeRefreshSchemasStatusMessage.add_member(:endpoint_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "EndpointArn"))
|
769
820
|
DescribeRefreshSchemasStatusMessage.struct_class = Types::DescribeRefreshSchemasStatusMessage
|
770
821
|
|
@@ -1112,6 +1163,16 @@ module Aws::DatabaseMigrationService
|
|
1112
1163
|
KinesisSettings.add_member(:no_hex_prefix, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "NoHexPrefix"))
|
1113
1164
|
KinesisSettings.struct_class = Types::KinesisSettings
|
1114
1165
|
|
1166
|
+
Limitation.add_member(:database_id, Shapes::ShapeRef.new(shape: String, location_name: "DatabaseId"))
|
1167
|
+
Limitation.add_member(:engine_name, Shapes::ShapeRef.new(shape: String, location_name: "EngineName"))
|
1168
|
+
Limitation.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
|
1169
|
+
Limitation.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
1170
|
+
Limitation.add_member(:impact, Shapes::ShapeRef.new(shape: String, location_name: "Impact"))
|
1171
|
+
Limitation.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
1172
|
+
Limitation.struct_class = Types::Limitation
|
1173
|
+
|
1174
|
+
LimitationList.member = Shapes::ShapeRef.new(shape: Limitation)
|
1175
|
+
|
1115
1176
|
ListTagsForResourceMessage.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, location_name: "ResourceArn"))
|
1116
1177
|
ListTagsForResourceMessage.add_member(:resource_arn_list, Shapes::ShapeRef.new(shape: ArnList, location_name: "ResourceArnList"))
|
1117
1178
|
ListTagsForResourceMessage.struct_class = Types::ListTagsForResourceMessage
|
@@ -1360,6 +1421,28 @@ module Aws::DatabaseMigrationService
|
|
1360
1421
|
PostgreSQLSettings.add_member(:trim_space_in_char, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "TrimSpaceInChar"))
|
1361
1422
|
PostgreSQLSettings.struct_class = Types::PostgreSQLSettings
|
1362
1423
|
|
1424
|
+
RdsConfiguration.add_member(:engine_edition, Shapes::ShapeRef.new(shape: String, location_name: "EngineEdition"))
|
1425
|
+
RdsConfiguration.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, location_name: "InstanceType"))
|
1426
|
+
RdsConfiguration.add_member(:instance_vcpu, Shapes::ShapeRef.new(shape: DoubleOptional, location_name: "InstanceVcpu"))
|
1427
|
+
RdsConfiguration.add_member(:instance_memory, Shapes::ShapeRef.new(shape: DoubleOptional, location_name: "InstanceMemory"))
|
1428
|
+
RdsConfiguration.add_member(:storage_type, Shapes::ShapeRef.new(shape: String, location_name: "StorageType"))
|
1429
|
+
RdsConfiguration.add_member(:storage_size, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "StorageSize"))
|
1430
|
+
RdsConfiguration.add_member(:storage_iops, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "StorageIops"))
|
1431
|
+
RdsConfiguration.add_member(:deployment_option, Shapes::ShapeRef.new(shape: String, location_name: "DeploymentOption"))
|
1432
|
+
RdsConfiguration.struct_class = Types::RdsConfiguration
|
1433
|
+
|
1434
|
+
RdsRecommendation.add_member(:requirements_to_target, Shapes::ShapeRef.new(shape: RdsRequirements, location_name: "RequirementsToTarget"))
|
1435
|
+
RdsRecommendation.add_member(:target_configuration, Shapes::ShapeRef.new(shape: RdsConfiguration, location_name: "TargetConfiguration"))
|
1436
|
+
RdsRecommendation.struct_class = Types::RdsRecommendation
|
1437
|
+
|
1438
|
+
RdsRequirements.add_member(:engine_edition, Shapes::ShapeRef.new(shape: String, location_name: "EngineEdition"))
|
1439
|
+
RdsRequirements.add_member(:instance_vcpu, Shapes::ShapeRef.new(shape: DoubleOptional, location_name: "InstanceVcpu"))
|
1440
|
+
RdsRequirements.add_member(:instance_memory, Shapes::ShapeRef.new(shape: DoubleOptional, location_name: "InstanceMemory"))
|
1441
|
+
RdsRequirements.add_member(:storage_size, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "StorageSize"))
|
1442
|
+
RdsRequirements.add_member(:storage_iops, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "StorageIops"))
|
1443
|
+
RdsRequirements.add_member(:deployment_option, Shapes::ShapeRef.new(shape: String, location_name: "DeploymentOption"))
|
1444
|
+
RdsRequirements.struct_class = Types::RdsRequirements
|
1445
|
+
|
1363
1446
|
RebootReplicationInstanceMessage.add_member(:replication_instance_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReplicationInstanceArn"))
|
1364
1447
|
RebootReplicationInstanceMessage.add_member(:force_failover, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "ForceFailover"))
|
1365
1448
|
RebootReplicationInstanceMessage.add_member(:force_planned_failover, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "ForcePlannedFailover"))
|
@@ -1368,6 +1451,24 @@ module Aws::DatabaseMigrationService
|
|
1368
1451
|
RebootReplicationInstanceResponse.add_member(:replication_instance, Shapes::ShapeRef.new(shape: ReplicationInstance, location_name: "ReplicationInstance"))
|
1369
1452
|
RebootReplicationInstanceResponse.struct_class = Types::RebootReplicationInstanceResponse
|
1370
1453
|
|
1454
|
+
Recommendation.add_member(:database_id, Shapes::ShapeRef.new(shape: String, location_name: "DatabaseId"))
|
1455
|
+
Recommendation.add_member(:engine_name, Shapes::ShapeRef.new(shape: String, location_name: "EngineName"))
|
1456
|
+
Recommendation.add_member(:created_date, Shapes::ShapeRef.new(shape: String, location_name: "CreatedDate"))
|
1457
|
+
Recommendation.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "Status"))
|
1458
|
+
Recommendation.add_member(:preferred, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "Preferred"))
|
1459
|
+
Recommendation.add_member(:settings, Shapes::ShapeRef.new(shape: RecommendationSettings, location_name: "Settings"))
|
1460
|
+
Recommendation.add_member(:data, Shapes::ShapeRef.new(shape: RecommendationData, location_name: "Data"))
|
1461
|
+
Recommendation.struct_class = Types::Recommendation
|
1462
|
+
|
1463
|
+
RecommendationData.add_member(:rds_engine, Shapes::ShapeRef.new(shape: RdsRecommendation, location_name: "RdsEngine"))
|
1464
|
+
RecommendationData.struct_class = Types::RecommendationData
|
1465
|
+
|
1466
|
+
RecommendationList.member = Shapes::ShapeRef.new(shape: Recommendation)
|
1467
|
+
|
1468
|
+
RecommendationSettings.add_member(:instance_sizing_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "InstanceSizingType"))
|
1469
|
+
RecommendationSettings.add_member(:workload_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "WorkloadType"))
|
1470
|
+
RecommendationSettings.struct_class = Types::RecommendationSettings
|
1471
|
+
|
1371
1472
|
RedisSettings.add_member(:server_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ServerName"))
|
1372
1473
|
RedisSettings.add_member(:port, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "Port"))
|
1373
1474
|
RedisSettings.add_member(:ssl_security_protocol, Shapes::ShapeRef.new(shape: SslSecurityProtocolValue, location_name: "SslSecurityProtocol"))
|
@@ -1674,6 +1775,16 @@ module Aws::DatabaseMigrationService
|
|
1674
1775
|
|
1675
1776
|
SourceIdsList.member = Shapes::ShapeRef.new(shape: String)
|
1676
1777
|
|
1778
|
+
StartRecommendationsRequest.add_member(:database_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DatabaseId"))
|
1779
|
+
StartRecommendationsRequest.add_member(:settings, Shapes::ShapeRef.new(shape: RecommendationSettings, required: true, location_name: "Settings"))
|
1780
|
+
StartRecommendationsRequest.struct_class = Types::StartRecommendationsRequest
|
1781
|
+
|
1782
|
+
StartRecommendationsRequestEntry.add_member(:database_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DatabaseId"))
|
1783
|
+
StartRecommendationsRequestEntry.add_member(:settings, Shapes::ShapeRef.new(shape: RecommendationSettings, required: true, location_name: "Settings"))
|
1784
|
+
StartRecommendationsRequestEntry.struct_class = Types::StartRecommendationsRequestEntry
|
1785
|
+
|
1786
|
+
StartRecommendationsRequestEntryList.member = Shapes::ShapeRef.new(shape: StartRecommendationsRequestEntry)
|
1787
|
+
|
1677
1788
|
StartReplicationTaskAssessmentMessage.add_member(:replication_task_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReplicationTaskArn"))
|
1678
1789
|
StartReplicationTaskAssessmentMessage.struct_class = Types::StartReplicationTaskAssessmentMessage
|
1679
1790
|
|
@@ -1845,6 +1956,17 @@ module Aws::DatabaseMigrationService
|
|
1845
1956
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundFault)
|
1846
1957
|
end)
|
1847
1958
|
|
1959
|
+
api.add_operation(:batch_start_recommendations, Seahorse::Model::Operation.new.tap do |o|
|
1960
|
+
o.name = "BatchStartRecommendations"
|
1961
|
+
o.http_method = "POST"
|
1962
|
+
o.http_request_uri = "/"
|
1963
|
+
o.input = Shapes::ShapeRef.new(shape: BatchStartRecommendationsRequest)
|
1964
|
+
o.output = Shapes::ShapeRef.new(shape: BatchStartRecommendationsResponse)
|
1965
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidResourceStateFault)
|
1966
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedFault)
|
1967
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundFault)
|
1968
|
+
end)
|
1969
|
+
|
1848
1970
|
api.add_operation(:cancel_replication_task_assessment_run, Seahorse::Model::Operation.new.tap do |o|
|
1849
1971
|
o.name = "CancelReplicationTaskAssessmentRun"
|
1850
1972
|
o.http_method = "POST"
|
@@ -2289,6 +2411,38 @@ module Aws::DatabaseMigrationService
|
|
2289
2411
|
)
|
2290
2412
|
end)
|
2291
2413
|
|
2414
|
+
api.add_operation(:describe_recommendation_limitations, Seahorse::Model::Operation.new.tap do |o|
|
2415
|
+
o.name = "DescribeRecommendationLimitations"
|
2416
|
+
o.http_method = "POST"
|
2417
|
+
o.http_request_uri = "/"
|
2418
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeRecommendationLimitationsRequest)
|
2419
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeRecommendationLimitationsResponse)
|
2420
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidResourceStateFault)
|
2421
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedFault)
|
2422
|
+
o[:pager] = Aws::Pager.new(
|
2423
|
+
limit_key: "max_records",
|
2424
|
+
tokens: {
|
2425
|
+
"next_token" => "next_token"
|
2426
|
+
}
|
2427
|
+
)
|
2428
|
+
end)
|
2429
|
+
|
2430
|
+
api.add_operation(:describe_recommendations, Seahorse::Model::Operation.new.tap do |o|
|
2431
|
+
o.name = "DescribeRecommendations"
|
2432
|
+
o.http_method = "POST"
|
2433
|
+
o.http_request_uri = "/"
|
2434
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeRecommendationsRequest)
|
2435
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeRecommendationsResponse)
|
2436
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidResourceStateFault)
|
2437
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedFault)
|
2438
|
+
o[:pager] = Aws::Pager.new(
|
2439
|
+
limit_key: "max_records",
|
2440
|
+
tokens: {
|
2441
|
+
"next_token" => "next_token"
|
2442
|
+
}
|
2443
|
+
)
|
2444
|
+
end)
|
2445
|
+
|
2292
2446
|
api.add_operation(:describe_refresh_schemas_status, Seahorse::Model::Operation.new.tap do |o|
|
2293
2447
|
o.name = "DescribeRefreshSchemasStatus"
|
2294
2448
|
o.http_method = "POST"
|
@@ -2592,6 +2746,17 @@ module Aws::DatabaseMigrationService
|
|
2592
2746
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundFault)
|
2593
2747
|
end)
|
2594
2748
|
|
2749
|
+
api.add_operation(:start_recommendations, Seahorse::Model::Operation.new.tap do |o|
|
2750
|
+
o.name = "StartRecommendations"
|
2751
|
+
o.http_method = "POST"
|
2752
|
+
o.http_request_uri = "/"
|
2753
|
+
o.input = Shapes::ShapeRef.new(shape: StartRecommendationsRequest)
|
2754
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
2755
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidResourceStateFault)
|
2756
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedFault)
|
2757
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundFault)
|
2758
|
+
end)
|
2759
|
+
|
2595
2760
|
api.add_operation(:start_replication_task, Seahorse::Model::Operation.new.tap do |o|
|
2596
2761
|
o.name = "StartReplicationTask"
|
2597
2762
|
o.http_method = "POST"
|
@@ -14,57 +14,48 @@ module Aws::DatabaseMigrationService
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
|
-
if
|
18
|
-
if Aws::Endpoints::Matchers.
|
19
|
-
|
20
|
-
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
-
end
|
22
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
-
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
-
end
|
25
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
18
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
26
20
|
end
|
27
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
28
|
-
|
29
|
-
return Aws::Endpoints::Endpoint.new(url: "https://dms-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
-
end
|
31
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
21
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
32
23
|
end
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
if Aws::Endpoints::Matchers.
|
39
|
-
return Aws::Endpoints::Endpoint.new(url: "https://dms
|
40
|
-
end
|
41
|
-
if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
42
|
-
return Aws::Endpoints::Endpoint.new(url: "https://dms.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
43
|
-
end
|
44
|
-
if Aws::Endpoints::Matchers.string_equals?(region, "dms")
|
45
|
-
return Aws::Endpoints::Endpoint.new(url: "https://dms.us-iso-east-1.c2s.ic.gov", headers: {}, properties: {})
|
46
|
-
end
|
47
|
-
if Aws::Endpoints::Matchers.string_equals?("aws-iso", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
48
|
-
return Aws::Endpoints::Endpoint.new(url: "https://dms.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
49
|
-
end
|
50
|
-
if Aws::Endpoints::Matchers.string_equals?(region, "dms")
|
51
|
-
return Aws::Endpoints::Endpoint.new(url: "https://dms.us-isob-east-1.sc2s.sgov.gov", headers: {}, properties: {})
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
25
|
+
end
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
29
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://dms-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
52
31
|
end
|
53
|
-
|
54
|
-
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
|
+
end
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
36
|
+
if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
37
|
+
return Aws::Endpoints::Endpoint.new(url: "https://dms.#{region}.amazonaws.com", headers: {}, properties: {})
|
38
|
+
end
|
39
|
+
if Aws::Endpoints::Matchers.string_equals?("aws-iso", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
40
|
+
return Aws::Endpoints::Endpoint.new(url: "https://dms.#{region}.c2s.ic.gov", headers: {}, properties: {})
|
41
|
+
end
|
42
|
+
if Aws::Endpoints::Matchers.string_equals?("aws-iso-b", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
43
|
+
return Aws::Endpoints::Endpoint.new(url: "https://dms.#{region}.sc2s.sgov.gov", headers: {}, properties: {})
|
44
|
+
end
|
45
|
+
return Aws::Endpoints::Endpoint.new(url: "https://dms-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
55
46
|
end
|
56
|
-
|
47
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
57
48
|
end
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
49
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
50
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
51
|
+
return Aws::Endpoints::Endpoint.new(url: "https://dms.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
52
|
+
end
|
53
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
63
54
|
end
|
64
|
-
|
55
|
+
return Aws::Endpoints::Endpoint.new(url: "https://dms.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
65
56
|
end
|
66
|
-
return Aws::Endpoints::Endpoint.new(url: "https://dms.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
67
57
|
end
|
58
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
68
59
|
raise ArgumentError, 'No endpoint could be resolved'
|
69
60
|
|
70
61
|
end
|
@@ -39,6 +39,20 @@ module Aws::DatabaseMigrationService
|
|
39
39
|
end
|
40
40
|
end
|
41
41
|
|
42
|
+
class BatchStartRecommendations
|
43
|
+
def self.build(context)
|
44
|
+
unless context.config.regional_endpoint
|
45
|
+
endpoint = context.config.endpoint.to_s
|
46
|
+
end
|
47
|
+
Aws::DatabaseMigrationService::EndpointParameters.new(
|
48
|
+
region: context.config.region,
|
49
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
50
|
+
use_fips: context.config.use_fips_endpoint,
|
51
|
+
endpoint: endpoint,
|
52
|
+
)
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
42
56
|
class CancelReplicationTaskAssessmentRun
|
43
57
|
def self.build(context)
|
44
58
|
unless context.config.regional_endpoint
|
@@ -515,6 +529,34 @@ module Aws::DatabaseMigrationService
|
|
515
529
|
end
|
516
530
|
end
|
517
531
|
|
532
|
+
class DescribeRecommendationLimitations
|
533
|
+
def self.build(context)
|
534
|
+
unless context.config.regional_endpoint
|
535
|
+
endpoint = context.config.endpoint.to_s
|
536
|
+
end
|
537
|
+
Aws::DatabaseMigrationService::EndpointParameters.new(
|
538
|
+
region: context.config.region,
|
539
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
540
|
+
use_fips: context.config.use_fips_endpoint,
|
541
|
+
endpoint: endpoint,
|
542
|
+
)
|
543
|
+
end
|
544
|
+
end
|
545
|
+
|
546
|
+
class DescribeRecommendations
|
547
|
+
def self.build(context)
|
548
|
+
unless context.config.regional_endpoint
|
549
|
+
endpoint = context.config.endpoint.to_s
|
550
|
+
end
|
551
|
+
Aws::DatabaseMigrationService::EndpointParameters.new(
|
552
|
+
region: context.config.region,
|
553
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
554
|
+
use_fips: context.config.use_fips_endpoint,
|
555
|
+
endpoint: endpoint,
|
556
|
+
)
|
557
|
+
end
|
558
|
+
end
|
559
|
+
|
518
560
|
class DescribeRefreshSchemasStatus
|
519
561
|
def self.build(context)
|
520
562
|
unless context.config.regional_endpoint
|
@@ -837,6 +879,20 @@ module Aws::DatabaseMigrationService
|
|
837
879
|
end
|
838
880
|
end
|
839
881
|
|
882
|
+
class StartRecommendations
|
883
|
+
def self.build(context)
|
884
|
+
unless context.config.regional_endpoint
|
885
|
+
endpoint = context.config.endpoint.to_s
|
886
|
+
end
|
887
|
+
Aws::DatabaseMigrationService::EndpointParameters.new(
|
888
|
+
region: context.config.region,
|
889
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
890
|
+
use_fips: context.config.use_fips_endpoint,
|
891
|
+
endpoint: endpoint,
|
892
|
+
)
|
893
|
+
end
|
894
|
+
end
|
895
|
+
|
840
896
|
class StartReplicationTask
|
841
897
|
def self.build(context)
|
842
898
|
unless context.config.regional_endpoint
|
@@ -60,6 +60,8 @@ module Aws::DatabaseMigrationService
|
|
60
60
|
Aws::DatabaseMigrationService::Endpoints::AddTagsToResource.build(context)
|
61
61
|
when :apply_pending_maintenance_action
|
62
62
|
Aws::DatabaseMigrationService::Endpoints::ApplyPendingMaintenanceAction.build(context)
|
63
|
+
when :batch_start_recommendations
|
64
|
+
Aws::DatabaseMigrationService::Endpoints::BatchStartRecommendations.build(context)
|
63
65
|
when :cancel_replication_task_assessment_run
|
64
66
|
Aws::DatabaseMigrationService::Endpoints::CancelReplicationTaskAssessmentRun.build(context)
|
65
67
|
when :create_endpoint
|
@@ -128,6 +130,10 @@ module Aws::DatabaseMigrationService
|
|
128
130
|
Aws::DatabaseMigrationService::Endpoints::DescribeOrderableReplicationInstances.build(context)
|
129
131
|
when :describe_pending_maintenance_actions
|
130
132
|
Aws::DatabaseMigrationService::Endpoints::DescribePendingMaintenanceActions.build(context)
|
133
|
+
when :describe_recommendation_limitations
|
134
|
+
Aws::DatabaseMigrationService::Endpoints::DescribeRecommendationLimitations.build(context)
|
135
|
+
when :describe_recommendations
|
136
|
+
Aws::DatabaseMigrationService::Endpoints::DescribeRecommendations.build(context)
|
131
137
|
when :describe_refresh_schemas_status
|
132
138
|
Aws::DatabaseMigrationService::Endpoints::DescribeRefreshSchemasStatus.build(context)
|
133
139
|
when :describe_replication_instance_task_logs
|
@@ -174,6 +180,8 @@ module Aws::DatabaseMigrationService
|
|
174
180
|
Aws::DatabaseMigrationService::Endpoints::RemoveTagsFromResource.build(context)
|
175
181
|
when :run_fleet_advisor_lsa_analysis
|
176
182
|
Aws::DatabaseMigrationService::Endpoints::RunFleetAdvisorLsaAnalysis.build(context)
|
183
|
+
when :start_recommendations
|
184
|
+
Aws::DatabaseMigrationService::Endpoints::StartRecommendations.build(context)
|
177
185
|
when :start_replication_task
|
178
186
|
Aws::DatabaseMigrationService::Endpoints::StartReplicationTask.build(context)
|
179
187
|
when :start_replication_task_assessment
|