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.
@@ -53,6 +53,8 @@ module Aws::DatabaseMigrationService
53
53
  ComputeConfig = Shapes::StructureShape.new(name: 'ComputeConfig')
54
54
  Connection = Shapes::StructureShape.new(name: 'Connection')
55
55
  ConnectionList = Shapes::ListShape.new(name: 'ConnectionList')
56
+ CreateDataMigrationMessage = Shapes::StructureShape.new(name: 'CreateDataMigrationMessage')
57
+ CreateDataMigrationResponse = Shapes::StructureShape.new(name: 'CreateDataMigrationResponse')
56
58
  CreateDataProviderMessage = Shapes::StructureShape.new(name: 'CreateDataProviderMessage')
57
59
  CreateDataProviderResponse = Shapes::StructureShape.new(name: 'CreateDataProviderResponse')
58
60
  CreateEndpointMessage = Shapes::StructureShape.new(name: 'CreateEndpointMessage')
@@ -74,6 +76,10 @@ module Aws::DatabaseMigrationService
74
76
  CreateReplicationTaskMessage = Shapes::StructureShape.new(name: 'CreateReplicationTaskMessage')
75
77
  CreateReplicationTaskResponse = Shapes::StructureShape.new(name: 'CreateReplicationTaskResponse')
76
78
  DataFormatValue = Shapes::StringShape.new(name: 'DataFormatValue')
79
+ DataMigration = Shapes::StructureShape.new(name: 'DataMigration')
80
+ DataMigrationSettings = Shapes::StructureShape.new(name: 'DataMigrationSettings')
81
+ DataMigrationStatistics = Shapes::StructureShape.new(name: 'DataMigrationStatistics')
82
+ DataMigrations = Shapes::ListShape.new(name: 'DataMigrations')
77
83
  DataProvider = Shapes::StructureShape.new(name: 'DataProvider')
78
84
  DataProviderDescriptor = Shapes::StructureShape.new(name: 'DataProviderDescriptor')
79
85
  DataProviderDescriptorDefinition = Shapes::StructureShape.new(name: 'DataProviderDescriptorDefinition')
@@ -94,6 +100,8 @@ module Aws::DatabaseMigrationService
94
100
  DeleteCollectorRequest = Shapes::StructureShape.new(name: 'DeleteCollectorRequest')
95
101
  DeleteConnectionMessage = Shapes::StructureShape.new(name: 'DeleteConnectionMessage')
96
102
  DeleteConnectionResponse = Shapes::StructureShape.new(name: 'DeleteConnectionResponse')
103
+ DeleteDataMigrationMessage = Shapes::StructureShape.new(name: 'DeleteDataMigrationMessage')
104
+ DeleteDataMigrationResponse = Shapes::StructureShape.new(name: 'DeleteDataMigrationResponse')
97
105
  DeleteDataProviderMessage = Shapes::StructureShape.new(name: 'DeleteDataProviderMessage')
98
106
  DeleteDataProviderResponse = Shapes::StructureShape.new(name: 'DeleteDataProviderResponse')
99
107
  DeleteEndpointMessage = Shapes::StructureShape.new(name: 'DeleteEndpointMessage')
@@ -126,6 +134,8 @@ module Aws::DatabaseMigrationService
126
134
  DescribeConnectionsResponse = Shapes::StructureShape.new(name: 'DescribeConnectionsResponse')
127
135
  DescribeConversionConfigurationMessage = Shapes::StructureShape.new(name: 'DescribeConversionConfigurationMessage')
128
136
  DescribeConversionConfigurationResponse = Shapes::StructureShape.new(name: 'DescribeConversionConfigurationResponse')
137
+ DescribeDataMigrationsMessage = Shapes::StructureShape.new(name: 'DescribeDataMigrationsMessage')
138
+ DescribeDataMigrationsResponse = Shapes::StructureShape.new(name: 'DescribeDataMigrationsResponse')
129
139
  DescribeDataProvidersMessage = Shapes::StructureShape.new(name: 'DescribeDataProvidersMessage')
130
140
  DescribeDataProvidersResponse = Shapes::StructureShape.new(name: 'DescribeDataProvidersResponse')
131
141
  DescribeEndpointSettingsMessage = Shapes::StructureShape.new(name: 'DescribeEndpointSettingsMessage')
@@ -233,6 +243,7 @@ module Aws::DatabaseMigrationService
233
243
  ExportMetadataModelAssessmentResponse = Shapes::StructureShape.new(name: 'ExportMetadataModelAssessmentResponse')
234
244
  ExportMetadataModelAssessmentResultEntry = Shapes::StructureShape.new(name: 'ExportMetadataModelAssessmentResultEntry')
235
245
  ExportSqlDetails = Shapes::StructureShape.new(name: 'ExportSqlDetails')
246
+ FailedDependencyFault = Shapes::StructureShape.new(name: 'FailedDependencyFault')
236
247
  Filter = Shapes::StructureShape.new(name: 'Filter')
237
248
  FilterList = Shapes::ListShape.new(name: 'FilterList')
238
249
  FilterValueList = Shapes::ListShape.new(name: 'FilterValueList')
@@ -280,6 +291,7 @@ module Aws::DatabaseMigrationService
280
291
  LongOptional = Shapes::IntegerShape.new(name: 'LongOptional')
281
292
  LongVarcharMappingType = Shapes::StringShape.new(name: 'LongVarcharMappingType')
282
293
  MariaDbDataProviderSettings = Shapes::StructureShape.new(name: 'MariaDbDataProviderSettings')
294
+ Marker = Shapes::StringShape.new(name: 'Marker')
283
295
  MessageFormatValue = Shapes::StringShape.new(name: 'MessageFormatValue')
284
296
  MicrosoftSQLServerSettings = Shapes::StructureShape.new(name: 'MicrosoftSQLServerSettings')
285
297
  MicrosoftSqlServerDataProviderSettings = Shapes::StructureShape.new(name: 'MicrosoftSqlServerDataProviderSettings')
@@ -288,6 +300,8 @@ module Aws::DatabaseMigrationService
288
300
  MigrationTypeValue = Shapes::StringShape.new(name: 'MigrationTypeValue')
289
301
  ModifyConversionConfigurationMessage = Shapes::StructureShape.new(name: 'ModifyConversionConfigurationMessage')
290
302
  ModifyConversionConfigurationResponse = Shapes::StructureShape.new(name: 'ModifyConversionConfigurationResponse')
303
+ ModifyDataMigrationMessage = Shapes::StructureShape.new(name: 'ModifyDataMigrationMessage')
304
+ ModifyDataMigrationResponse = Shapes::StructureShape.new(name: 'ModifyDataMigrationResponse')
291
305
  ModifyDataProviderMessage = Shapes::StructureShape.new(name: 'ModifyDataProviderMessage')
292
306
  ModifyDataProviderResponse = Shapes::StructureShape.new(name: 'ModifyDataProviderResponse')
293
307
  ModifyEndpointMessage = Shapes::StructureShape.new(name: 'ModifyEndpointMessage')
@@ -327,6 +341,7 @@ module Aws::DatabaseMigrationService
327
341
  PostgreSQLSettings = Shapes::StructureShape.new(name: 'PostgreSQLSettings')
328
342
  PostgreSqlDataProviderSettings = Shapes::StructureShape.new(name: 'PostgreSqlDataProviderSettings')
329
343
  ProvisionData = Shapes::StructureShape.new(name: 'ProvisionData')
344
+ PublicIpAddressList = Shapes::ListShape.new(name: 'PublicIpAddressList')
330
345
  RdsConfiguration = Shapes::StructureShape.new(name: 'RdsConfiguration')
331
346
  RdsRecommendation = Shapes::StructureShape.new(name: 'RdsRecommendation')
332
347
  RdsRequirements = Shapes::StructureShape.new(name: 'RdsRequirements')
@@ -400,9 +415,13 @@ module Aws::DatabaseMigrationService
400
415
  SchemaShortInfoResponse = Shapes::StructureShape.new(name: 'SchemaShortInfoResponse')
401
416
  SecretString = Shapes::StringShape.new(name: 'SecretString')
402
417
  ServerShortInfoResponse = Shapes::StructureShape.new(name: 'ServerShortInfoResponse')
418
+ SourceDataSetting = Shapes::StructureShape.new(name: 'SourceDataSetting')
419
+ SourceDataSettings = Shapes::ListShape.new(name: 'SourceDataSettings')
403
420
  SourceIdsList = Shapes::ListShape.new(name: 'SourceIdsList')
404
421
  SourceType = Shapes::StringShape.new(name: 'SourceType')
405
422
  SslSecurityProtocolValue = Shapes::StringShape.new(name: 'SslSecurityProtocolValue')
423
+ StartDataMigrationMessage = Shapes::StructureShape.new(name: 'StartDataMigrationMessage')
424
+ StartDataMigrationResponse = Shapes::StructureShape.new(name: 'StartDataMigrationResponse')
406
425
  StartExtensionPackAssociationMessage = Shapes::StructureShape.new(name: 'StartExtensionPackAssociationMessage')
407
426
  StartExtensionPackAssociationResponse = Shapes::StructureShape.new(name: 'StartExtensionPackAssociationResponse')
408
427
  StartMetadataModelAssessmentMessage = Shapes::StructureShape.new(name: 'StartMetadataModelAssessmentMessage')
@@ -419,6 +438,7 @@ module Aws::DatabaseMigrationService
419
438
  StartRecommendationsRequestEntry = Shapes::StructureShape.new(name: 'StartRecommendationsRequestEntry')
420
439
  StartRecommendationsRequestEntryList = Shapes::ListShape.new(name: 'StartRecommendationsRequestEntryList')
421
440
  StartReplicationMessage = Shapes::StructureShape.new(name: 'StartReplicationMessage')
441
+ StartReplicationMigrationTypeValue = Shapes::StringShape.new(name: 'StartReplicationMigrationTypeValue')
422
442
  StartReplicationResponse = Shapes::StructureShape.new(name: 'StartReplicationResponse')
423
443
  StartReplicationTaskAssessmentMessage = Shapes::StructureShape.new(name: 'StartReplicationTaskAssessmentMessage')
424
444
  StartReplicationTaskAssessmentResponse = Shapes::StructureShape.new(name: 'StartReplicationTaskAssessmentResponse')
@@ -427,6 +447,8 @@ module Aws::DatabaseMigrationService
427
447
  StartReplicationTaskMessage = Shapes::StructureShape.new(name: 'StartReplicationTaskMessage')
428
448
  StartReplicationTaskResponse = Shapes::StructureShape.new(name: 'StartReplicationTaskResponse')
429
449
  StartReplicationTaskTypeValue = Shapes::StringShape.new(name: 'StartReplicationTaskTypeValue')
450
+ StopDataMigrationMessage = Shapes::StructureShape.new(name: 'StopDataMigrationMessage')
451
+ StopDataMigrationResponse = Shapes::StructureShape.new(name: 'StopDataMigrationResponse')
430
452
  StopReplicationMessage = Shapes::StructureShape.new(name: 'StopReplicationMessage')
431
453
  StopReplicationResponse = Shapes::StructureShape.new(name: 'StopReplicationResponse')
432
454
  StopReplicationTaskMessage = Shapes::StructureShape.new(name: 'StopReplicationTaskMessage')
@@ -582,6 +604,20 @@ module Aws::DatabaseMigrationService
582
604
 
583
605
  ConnectionList.member = Shapes::ShapeRef.new(shape: Connection)
584
606
 
607
+ CreateDataMigrationMessage.add_member(:data_migration_name, Shapes::ShapeRef.new(shape: String, location_name: "DataMigrationName"))
608
+ CreateDataMigrationMessage.add_member(:migration_project_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "MigrationProjectIdentifier"))
609
+ CreateDataMigrationMessage.add_member(:data_migration_type, Shapes::ShapeRef.new(shape: MigrationTypeValue, required: true, location_name: "DataMigrationType"))
610
+ CreateDataMigrationMessage.add_member(:service_access_role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ServiceAccessRoleArn"))
611
+ CreateDataMigrationMessage.add_member(:enable_cloudwatch_logs, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableCloudwatchLogs"))
612
+ CreateDataMigrationMessage.add_member(:source_data_settings, Shapes::ShapeRef.new(shape: SourceDataSettings, location_name: "SourceDataSettings"))
613
+ CreateDataMigrationMessage.add_member(:number_of_jobs, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "NumberOfJobs"))
614
+ CreateDataMigrationMessage.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
615
+ CreateDataMigrationMessage.add_member(:selection_rules, Shapes::ShapeRef.new(shape: SecretString, location_name: "SelectionRules"))
616
+ CreateDataMigrationMessage.struct_class = Types::CreateDataMigrationMessage
617
+
618
+ CreateDataMigrationResponse.add_member(:data_migration, Shapes::ShapeRef.new(shape: DataMigration, location_name: "DataMigration"))
619
+ CreateDataMigrationResponse.struct_class = Types::CreateDataMigrationResponse
620
+
585
621
  CreateDataProviderMessage.add_member(:data_provider_name, Shapes::ShapeRef.new(shape: String, location_name: "DataProviderName"))
586
622
  CreateDataProviderMessage.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
587
623
  CreateDataProviderMessage.add_member(:engine, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Engine"))
@@ -747,6 +783,41 @@ module Aws::DatabaseMigrationService
747
783
  CreateReplicationTaskResponse.add_member(:replication_task, Shapes::ShapeRef.new(shape: ReplicationTask, location_name: "ReplicationTask"))
748
784
  CreateReplicationTaskResponse.struct_class = Types::CreateReplicationTaskResponse
749
785
 
786
+ DataMigration.add_member(:data_migration_name, Shapes::ShapeRef.new(shape: String, location_name: "DataMigrationName"))
787
+ DataMigration.add_member(:data_migration_arn, Shapes::ShapeRef.new(shape: String, location_name: "DataMigrationArn"))
788
+ DataMigration.add_member(:data_migration_create_time, Shapes::ShapeRef.new(shape: Iso8601DateTime, location_name: "DataMigrationCreateTime"))
789
+ DataMigration.add_member(:data_migration_start_time, Shapes::ShapeRef.new(shape: Iso8601DateTime, location_name: "DataMigrationStartTime"))
790
+ DataMigration.add_member(:data_migration_end_time, Shapes::ShapeRef.new(shape: Iso8601DateTime, location_name: "DataMigrationEndTime"))
791
+ DataMigration.add_member(:service_access_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "ServiceAccessRoleArn"))
792
+ DataMigration.add_member(:migration_project_arn, Shapes::ShapeRef.new(shape: String, location_name: "MigrationProjectArn"))
793
+ DataMigration.add_member(:data_migration_type, Shapes::ShapeRef.new(shape: MigrationTypeValue, location_name: "DataMigrationType"))
794
+ DataMigration.add_member(:data_migration_settings, Shapes::ShapeRef.new(shape: DataMigrationSettings, location_name: "DataMigrationSettings"))
795
+ DataMigration.add_member(:source_data_settings, Shapes::ShapeRef.new(shape: SourceDataSettings, location_name: "SourceDataSettings"))
796
+ DataMigration.add_member(:data_migration_statistics, Shapes::ShapeRef.new(shape: DataMigrationStatistics, location_name: "DataMigrationStatistics"))
797
+ DataMigration.add_member(:data_migration_status, Shapes::ShapeRef.new(shape: String, location_name: "DataMigrationStatus"))
798
+ DataMigration.add_member(:public_ip_addresses, Shapes::ShapeRef.new(shape: PublicIpAddressList, location_name: "PublicIpAddresses"))
799
+ DataMigration.add_member(:last_failure_message, Shapes::ShapeRef.new(shape: String, location_name: "LastFailureMessage"))
800
+ DataMigration.add_member(:stop_reason, Shapes::ShapeRef.new(shape: String, location_name: "StopReason"))
801
+ DataMigration.struct_class = Types::DataMigration
802
+
803
+ DataMigrationSettings.add_member(:number_of_jobs, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "NumberOfJobs"))
804
+ DataMigrationSettings.add_member(:cloudwatch_logs_enabled, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "CloudwatchLogsEnabled"))
805
+ DataMigrationSettings.add_member(:selection_rules, Shapes::ShapeRef.new(shape: SecretString, location_name: "SelectionRules"))
806
+ DataMigrationSettings.struct_class = Types::DataMigrationSettings
807
+
808
+ DataMigrationStatistics.add_member(:tables_loaded, Shapes::ShapeRef.new(shape: Integer, location_name: "TablesLoaded"))
809
+ DataMigrationStatistics.add_member(:elapsed_time_millis, Shapes::ShapeRef.new(shape: Long, location_name: "ElapsedTimeMillis"))
810
+ DataMigrationStatistics.add_member(:tables_loading, Shapes::ShapeRef.new(shape: Integer, location_name: "TablesLoading"))
811
+ DataMigrationStatistics.add_member(:full_load_percentage, Shapes::ShapeRef.new(shape: Integer, location_name: "FullLoadPercentage"))
812
+ DataMigrationStatistics.add_member(:cdc_latency, Shapes::ShapeRef.new(shape: Integer, location_name: "CDCLatency"))
813
+ DataMigrationStatistics.add_member(:tables_queued, Shapes::ShapeRef.new(shape: Integer, location_name: "TablesQueued"))
814
+ DataMigrationStatistics.add_member(:tables_errored, Shapes::ShapeRef.new(shape: Integer, location_name: "TablesErrored"))
815
+ DataMigrationStatistics.add_member(:start_time, Shapes::ShapeRef.new(shape: Iso8601DateTime, location_name: "StartTime"))
816
+ DataMigrationStatistics.add_member(:stop_time, Shapes::ShapeRef.new(shape: Iso8601DateTime, location_name: "StopTime"))
817
+ DataMigrationStatistics.struct_class = Types::DataMigrationStatistics
818
+
819
+ DataMigrations.member = Shapes::ShapeRef.new(shape: DataMigration)
820
+
750
821
  DataProvider.add_member(:data_provider_name, Shapes::ShapeRef.new(shape: String, location_name: "DataProviderName"))
751
822
  DataProvider.add_member(:data_provider_arn, Shapes::ShapeRef.new(shape: String, location_name: "DataProviderArn"))
752
823
  DataProvider.add_member(:data_provider_creation_time, Shapes::ShapeRef.new(shape: Iso8601DateTime, location_name: "DataProviderCreationTime"))
@@ -837,6 +908,12 @@ module Aws::DatabaseMigrationService
837
908
  DeleteConnectionResponse.add_member(:connection, Shapes::ShapeRef.new(shape: Connection, location_name: "Connection"))
838
909
  DeleteConnectionResponse.struct_class = Types::DeleteConnectionResponse
839
910
 
911
+ DeleteDataMigrationMessage.add_member(:data_migration_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataMigrationIdentifier"))
912
+ DeleteDataMigrationMessage.struct_class = Types::DeleteDataMigrationMessage
913
+
914
+ DeleteDataMigrationResponse.add_member(:data_migration, Shapes::ShapeRef.new(shape: DataMigration, location_name: "DataMigration"))
915
+ DeleteDataMigrationResponse.struct_class = Types::DeleteDataMigrationResponse
916
+
840
917
  DeleteDataProviderMessage.add_member(:data_provider_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataProviderIdentifier"))
841
918
  DeleteDataProviderMessage.struct_class = Types::DeleteDataProviderMessage
842
919
 
@@ -946,6 +1023,17 @@ module Aws::DatabaseMigrationService
946
1023
  DescribeConversionConfigurationResponse.add_member(:conversion_configuration, Shapes::ShapeRef.new(shape: String, location_name: "ConversionConfiguration"))
947
1024
  DescribeConversionConfigurationResponse.struct_class = Types::DescribeConversionConfigurationResponse
948
1025
 
1026
+ DescribeDataMigrationsMessage.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filters"))
1027
+ DescribeDataMigrationsMessage.add_member(:max_records, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxRecords"))
1028
+ DescribeDataMigrationsMessage.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location_name: "Marker"))
1029
+ DescribeDataMigrationsMessage.add_member(:without_settings, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "WithoutSettings"))
1030
+ DescribeDataMigrationsMessage.add_member(:without_statistics, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "WithoutStatistics"))
1031
+ DescribeDataMigrationsMessage.struct_class = Types::DescribeDataMigrationsMessage
1032
+
1033
+ DescribeDataMigrationsResponse.add_member(:data_migrations, Shapes::ShapeRef.new(shape: DataMigrations, location_name: "DataMigrations"))
1034
+ DescribeDataMigrationsResponse.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location_name: "Marker"))
1035
+ DescribeDataMigrationsResponse.struct_class = Types::DescribeDataMigrationsResponse
1036
+
949
1037
  DescribeDataProvidersMessage.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filters"))
950
1038
  DescribeDataProvidersMessage.add_member(:max_records, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxRecords"))
951
1039
  DescribeDataProvidersMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
@@ -1460,6 +1548,9 @@ module Aws::DatabaseMigrationService
1460
1548
  ExportSqlDetails.add_member(:object_url, Shapes::ShapeRef.new(shape: String, location_name: "ObjectURL"))
1461
1549
  ExportSqlDetails.struct_class = Types::ExportSqlDetails
1462
1550
 
1551
+ FailedDependencyFault.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
1552
+ FailedDependencyFault.struct_class = Types::FailedDependencyFault
1553
+
1463
1554
  Filter.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
1464
1555
  Filter.add_member(:values, Shapes::ShapeRef.new(shape: FilterValueList, required: true, location_name: "Values"))
1465
1556
  Filter.struct_class = Types::Filter
@@ -1692,6 +1783,19 @@ module Aws::DatabaseMigrationService
1692
1783
  ModifyConversionConfigurationResponse.add_member(:migration_project_identifier, Shapes::ShapeRef.new(shape: String, location_name: "MigrationProjectIdentifier"))
1693
1784
  ModifyConversionConfigurationResponse.struct_class = Types::ModifyConversionConfigurationResponse
1694
1785
 
1786
+ ModifyDataMigrationMessage.add_member(:data_migration_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataMigrationIdentifier"))
1787
+ ModifyDataMigrationMessage.add_member(:data_migration_name, Shapes::ShapeRef.new(shape: String, location_name: "DataMigrationName"))
1788
+ ModifyDataMigrationMessage.add_member(:enable_cloudwatch_logs, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableCloudwatchLogs"))
1789
+ ModifyDataMigrationMessage.add_member(:service_access_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "ServiceAccessRoleArn"))
1790
+ ModifyDataMigrationMessage.add_member(:data_migration_type, Shapes::ShapeRef.new(shape: MigrationTypeValue, location_name: "DataMigrationType"))
1791
+ ModifyDataMigrationMessage.add_member(:source_data_settings, Shapes::ShapeRef.new(shape: SourceDataSettings, location_name: "SourceDataSettings"))
1792
+ ModifyDataMigrationMessage.add_member(:number_of_jobs, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "NumberOfJobs"))
1793
+ ModifyDataMigrationMessage.add_member(:selection_rules, Shapes::ShapeRef.new(shape: SecretString, location_name: "SelectionRules"))
1794
+ ModifyDataMigrationMessage.struct_class = Types::ModifyDataMigrationMessage
1795
+
1796
+ ModifyDataMigrationResponse.add_member(:data_migration, Shapes::ShapeRef.new(shape: DataMigration, location_name: "DataMigration"))
1797
+ ModifyDataMigrationResponse.struct_class = Types::ModifyDataMigrationResponse
1798
+
1695
1799
  ModifyDataProviderMessage.add_member(:data_provider_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataProviderIdentifier"))
1696
1800
  ModifyDataProviderMessage.add_member(:data_provider_name, Shapes::ShapeRef.new(shape: String, location_name: "DataProviderName"))
1697
1801
  ModifyDataProviderMessage.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
@@ -2022,6 +2126,8 @@ module Aws::DatabaseMigrationService
2022
2126
  ProvisionData.add_member(:reason_for_new_provisioning_data, Shapes::ShapeRef.new(shape: String, location_name: "ReasonForNewProvisioningData"))
2023
2127
  ProvisionData.struct_class = Types::ProvisionData
2024
2128
 
2129
+ PublicIpAddressList.member = Shapes::ShapeRef.new(shape: String)
2130
+
2025
2131
  RdsConfiguration.add_member(:engine_edition, Shapes::ShapeRef.new(shape: String, location_name: "EngineEdition"))
2026
2132
  RdsConfiguration.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, location_name: "InstanceType"))
2027
2133
  RdsConfiguration.add_member(:instance_vcpu, Shapes::ShapeRef.new(shape: DoubleOptional, location_name: "InstanceVcpu"))
@@ -2457,8 +2563,23 @@ module Aws::DatabaseMigrationService
2457
2563
  ServerShortInfoResponse.add_member(:server_name, Shapes::ShapeRef.new(shape: String, location_name: "ServerName"))
2458
2564
  ServerShortInfoResponse.struct_class = Types::ServerShortInfoResponse
2459
2565
 
2566
+ SourceDataSetting.add_member(:cdc_start_position, Shapes::ShapeRef.new(shape: String, location_name: "CDCStartPosition"))
2567
+ SourceDataSetting.add_member(:cdc_start_time, Shapes::ShapeRef.new(shape: Iso8601DateTime, location_name: "CDCStartTime"))
2568
+ SourceDataSetting.add_member(:cdc_stop_time, Shapes::ShapeRef.new(shape: Iso8601DateTime, location_name: "CDCStopTime"))
2569
+ SourceDataSetting.add_member(:slot_name, Shapes::ShapeRef.new(shape: String, location_name: "SlotName"))
2570
+ SourceDataSetting.struct_class = Types::SourceDataSetting
2571
+
2572
+ SourceDataSettings.member = Shapes::ShapeRef.new(shape: SourceDataSetting)
2573
+
2460
2574
  SourceIdsList.member = Shapes::ShapeRef.new(shape: String)
2461
2575
 
2576
+ StartDataMigrationMessage.add_member(:data_migration_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataMigrationIdentifier"))
2577
+ StartDataMigrationMessage.add_member(:start_type, Shapes::ShapeRef.new(shape: StartReplicationMigrationTypeValue, required: true, location_name: "StartType"))
2578
+ StartDataMigrationMessage.struct_class = Types::StartDataMigrationMessage
2579
+
2580
+ StartDataMigrationResponse.add_member(:data_migration, Shapes::ShapeRef.new(shape: DataMigration, location_name: "DataMigration"))
2581
+ StartDataMigrationResponse.struct_class = Types::StartDataMigrationResponse
2582
+
2462
2583
  StartExtensionPackAssociationMessage.add_member(:migration_project_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "MigrationProjectIdentifier"))
2463
2584
  StartExtensionPackAssociationMessage.struct_class = Types::StartExtensionPackAssociationMessage
2464
2585
 
@@ -2555,6 +2676,12 @@ module Aws::DatabaseMigrationService
2555
2676
  StartReplicationTaskResponse.add_member(:replication_task, Shapes::ShapeRef.new(shape: ReplicationTask, location_name: "ReplicationTask"))
2556
2677
  StartReplicationTaskResponse.struct_class = Types::StartReplicationTaskResponse
2557
2678
 
2679
+ StopDataMigrationMessage.add_member(:data_migration_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataMigrationIdentifier"))
2680
+ StopDataMigrationMessage.struct_class = Types::StopDataMigrationMessage
2681
+
2682
+ StopDataMigrationResponse.add_member(:data_migration, Shapes::ShapeRef.new(shape: DataMigration, location_name: "DataMigration"))
2683
+ StopDataMigrationResponse.struct_class = Types::StopDataMigrationResponse
2684
+
2558
2685
  StopReplicationMessage.add_member(:replication_config_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReplicationConfigArn"))
2559
2686
  StopReplicationMessage.struct_class = Types::StopReplicationMessage
2560
2687
 
@@ -2700,6 +2827,7 @@ module Aws::DatabaseMigrationService
2700
2827
  o.input = Shapes::ShapeRef.new(shape: AddTagsToResourceMessage)
2701
2828
  o.output = Shapes::ShapeRef.new(shape: AddTagsToResourceResponse)
2702
2829
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundFault)
2830
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResourceStateFault)
2703
2831
  end)
2704
2832
 
2705
2833
  api.add_operation(:apply_pending_maintenance_action, Seahorse::Model::Operation.new.tap do |o|
@@ -2733,6 +2861,19 @@ module Aws::DatabaseMigrationService
2733
2861
  o.errors << Shapes::ShapeRef.new(shape: InvalidResourceStateFault)
2734
2862
  end)
2735
2863
 
2864
+ api.add_operation(:create_data_migration, Seahorse::Model::Operation.new.tap do |o|
2865
+ o.name = "CreateDataMigration"
2866
+ o.http_method = "POST"
2867
+ o.http_request_uri = "/"
2868
+ o.input = Shapes::ShapeRef.new(shape: CreateDataMigrationMessage)
2869
+ o.output = Shapes::ShapeRef.new(shape: CreateDataMigrationResponse)
2870
+ o.errors << Shapes::ShapeRef.new(shape: ResourceQuotaExceededFault)
2871
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundFault)
2872
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsFault)
2873
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOperationFault)
2874
+ o.errors << Shapes::ShapeRef.new(shape: FailedDependencyFault)
2875
+ end)
2876
+
2736
2877
  api.add_operation(:create_data_provider, Seahorse::Model::Operation.new.tap do |o|
2737
2878
  o.name = "CreateDataProvider"
2738
2879
  o.http_method = "POST"
@@ -2742,6 +2883,7 @@ module Aws::DatabaseMigrationService
2742
2883
  o.errors << Shapes::ShapeRef.new(shape: ResourceQuotaExceededFault)
2743
2884
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedFault)
2744
2885
  o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsFault)
2886
+ o.errors << Shapes::ShapeRef.new(shape: FailedDependencyFault)
2745
2887
  end)
2746
2888
 
2747
2889
  api.add_operation(:create_endpoint, Seahorse::Model::Operation.new.tap do |o|
@@ -2804,6 +2946,7 @@ module Aws::DatabaseMigrationService
2804
2946
  o.errors << Shapes::ShapeRef.new(shape: KMSKeyNotAccessibleFault)
2805
2947
  o.errors << Shapes::ShapeRef.new(shape: S3ResourceNotFoundFault)
2806
2948
  o.errors << Shapes::ShapeRef.new(shape: S3AccessDeniedFault)
2949
+ o.errors << Shapes::ShapeRef.new(shape: FailedDependencyFault)
2807
2950
  end)
2808
2951
 
2809
2952
  api.add_operation(:create_migration_project, Seahorse::Model::Operation.new.tap do |o|
@@ -2818,6 +2961,7 @@ module Aws::DatabaseMigrationService
2818
2961
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundFault)
2819
2962
  o.errors << Shapes::ShapeRef.new(shape: S3ResourceNotFoundFault)
2820
2963
  o.errors << Shapes::ShapeRef.new(shape: S3AccessDeniedFault)
2964
+ o.errors << Shapes::ShapeRef.new(shape: FailedDependencyFault)
2821
2965
  end)
2822
2966
 
2823
2967
  api.add_operation(:create_replication_config, Seahorse::Model::Operation.new.tap do |o|
@@ -2903,6 +3047,17 @@ module Aws::DatabaseMigrationService
2903
3047
  o.errors << Shapes::ShapeRef.new(shape: InvalidResourceStateFault)
2904
3048
  end)
2905
3049
 
3050
+ api.add_operation(:delete_data_migration, Seahorse::Model::Operation.new.tap do |o|
3051
+ o.name = "DeleteDataMigration"
3052
+ o.http_method = "POST"
3053
+ o.http_request_uri = "/"
3054
+ o.input = Shapes::ShapeRef.new(shape: DeleteDataMigrationMessage)
3055
+ o.output = Shapes::ShapeRef.new(shape: DeleteDataMigrationResponse)
3056
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResourceStateFault)
3057
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundFault)
3058
+ o.errors << Shapes::ShapeRef.new(shape: FailedDependencyFault)
3059
+ end)
3060
+
2906
3061
  api.add_operation(:delete_data_provider, Seahorse::Model::Operation.new.tap do |o|
2907
3062
  o.name = "DeleteDataProvider"
2908
3063
  o.http_method = "POST"
@@ -2912,6 +3067,7 @@ module Aws::DatabaseMigrationService
2912
3067
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedFault)
2913
3068
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundFault)
2914
3069
  o.errors << Shapes::ShapeRef.new(shape: InvalidResourceStateFault)
3070
+ o.errors << Shapes::ShapeRef.new(shape: FailedDependencyFault)
2915
3071
  end)
2916
3072
 
2917
3073
  api.add_operation(:delete_endpoint, Seahorse::Model::Operation.new.tap do |o|
@@ -2942,6 +3098,7 @@ module Aws::DatabaseMigrationService
2942
3098
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2943
3099
  o.errors << Shapes::ShapeRef.new(shape: InvalidResourceStateFault)
2944
3100
  o.errors << Shapes::ShapeRef.new(shape: CollectorNotFoundFault)
3101
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedFault)
2945
3102
  end)
2946
3103
 
2947
3104
  api.add_operation(:delete_fleet_advisor_databases, Seahorse::Model::Operation.new.tap do |o|
@@ -2952,6 +3109,7 @@ module Aws::DatabaseMigrationService
2952
3109
  o.output = Shapes::ShapeRef.new(shape: DeleteFleetAdvisorDatabasesResponse)
2953
3110
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundFault)
2954
3111
  o.errors << Shapes::ShapeRef.new(shape: InvalidOperationFault)
3112
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedFault)
2955
3113
  end)
2956
3114
 
2957
3115
  api.add_operation(:delete_instance_profile, Seahorse::Model::Operation.new.tap do |o|
@@ -2963,6 +3121,7 @@ module Aws::DatabaseMigrationService
2963
3121
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedFault)
2964
3122
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundFault)
2965
3123
  o.errors << Shapes::ShapeRef.new(shape: InvalidResourceStateFault)
3124
+ o.errors << Shapes::ShapeRef.new(shape: FailedDependencyFault)
2966
3125
  end)
2967
3126
 
2968
3127
  api.add_operation(:delete_migration_project, Seahorse::Model::Operation.new.tap do |o|
@@ -2973,7 +3132,9 @@ module Aws::DatabaseMigrationService
2973
3132
  o.output = Shapes::ShapeRef.new(shape: DeleteMigrationProjectResponse)
2974
3133
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedFault)
2975
3134
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundFault)
3135
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedFault)
2976
3136
  o.errors << Shapes::ShapeRef.new(shape: InvalidResourceStateFault)
3137
+ o.errors << Shapes::ShapeRef.new(shape: FailedDependencyFault)
2977
3138
  end)
2978
3139
 
2979
3140
  api.add_operation(:delete_replication_config, Seahorse::Model::Operation.new.tap do |o|
@@ -3092,6 +3253,23 @@ module Aws::DatabaseMigrationService
3092
3253
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundFault)
3093
3254
  end)
3094
3255
 
3256
+ api.add_operation(:describe_data_migrations, Seahorse::Model::Operation.new.tap do |o|
3257
+ o.name = "DescribeDataMigrations"
3258
+ o.http_method = "POST"
3259
+ o.http_request_uri = "/"
3260
+ o.input = Shapes::ShapeRef.new(shape: DescribeDataMigrationsMessage)
3261
+ o.output = Shapes::ShapeRef.new(shape: DescribeDataMigrationsResponse)
3262
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResourceStateFault)
3263
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundFault)
3264
+ o.errors << Shapes::ShapeRef.new(shape: FailedDependencyFault)
3265
+ o[:pager] = Aws::Pager.new(
3266
+ limit_key: "max_records",
3267
+ tokens: {
3268
+ "marker" => "marker"
3269
+ }
3270
+ )
3271
+ end)
3272
+
3095
3273
  api.add_operation(:describe_data_providers, Seahorse::Model::Operation.new.tap do |o|
3096
3274
  o.name = "DescribeDataProviders"
3097
3275
  o.http_method = "POST"
@@ -3100,6 +3278,7 @@ module Aws::DatabaseMigrationService
3100
3278
  o.output = Shapes::ShapeRef.new(shape: DescribeDataProvidersResponse)
3101
3279
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundFault)
3102
3280
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedFault)
3281
+ o.errors << Shapes::ShapeRef.new(shape: FailedDependencyFault)
3103
3282
  o[:pager] = Aws::Pager.new(
3104
3283
  limit_key: "max_records",
3105
3284
  tokens: {
@@ -3299,6 +3478,7 @@ module Aws::DatabaseMigrationService
3299
3478
  o.output = Shapes::ShapeRef.new(shape: DescribeInstanceProfilesResponse)
3300
3479
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundFault)
3301
3480
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedFault)
3481
+ o.errors << Shapes::ShapeRef.new(shape: FailedDependencyFault)
3302
3482
  o[:pager] = Aws::Pager.new(
3303
3483
  limit_key: "max_records",
3304
3484
  tokens: {
@@ -3390,6 +3570,7 @@ module Aws::DatabaseMigrationService
3390
3570
  o.output = Shapes::ShapeRef.new(shape: DescribeMigrationProjectsResponse)
3391
3571
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundFault)
3392
3572
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedFault)
3573
+ o.errors << Shapes::ShapeRef.new(shape: FailedDependencyFault)
3393
3574
  o[:pager] = Aws::Pager.new(
3394
3575
  limit_key: "max_records",
3395
3576
  tokens: {
@@ -3680,6 +3861,7 @@ module Aws::DatabaseMigrationService
3680
3861
  o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceMessage)
3681
3862
  o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
3682
3863
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundFault)
3864
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResourceStateFault)
3683
3865
  end)
3684
3866
 
3685
3867
  api.add_operation(:modify_conversion_configuration, Seahorse::Model::Operation.new.tap do |o|
@@ -3692,6 +3874,17 @@ module Aws::DatabaseMigrationService
3692
3874
  o.errors << Shapes::ShapeRef.new(shape: InvalidResourceStateFault)
3693
3875
  end)
3694
3876
 
3877
+ api.add_operation(:modify_data_migration, Seahorse::Model::Operation.new.tap do |o|
3878
+ o.name = "ModifyDataMigration"
3879
+ o.http_method = "POST"
3880
+ o.http_request_uri = "/"
3881
+ o.input = Shapes::ShapeRef.new(shape: ModifyDataMigrationMessage)
3882
+ o.output = Shapes::ShapeRef.new(shape: ModifyDataMigrationResponse)
3883
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResourceStateFault)
3884
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundFault)
3885
+ o.errors << Shapes::ShapeRef.new(shape: FailedDependencyFault)
3886
+ end)
3887
+
3695
3888
  api.add_operation(:modify_data_provider, Seahorse::Model::Operation.new.tap do |o|
3696
3889
  o.name = "ModifyDataProvider"
3697
3890
  o.http_method = "POST"
@@ -3701,6 +3894,7 @@ module Aws::DatabaseMigrationService
3701
3894
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedFault)
3702
3895
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundFault)
3703
3896
  o.errors << Shapes::ShapeRef.new(shape: InvalidResourceStateFault)
3897
+ o.errors << Shapes::ShapeRef.new(shape: FailedDependencyFault)
3704
3898
  end)
3705
3899
 
3706
3900
  api.add_operation(:modify_endpoint, Seahorse::Model::Operation.new.tap do |o|
@@ -3745,6 +3939,7 @@ module Aws::DatabaseMigrationService
3745
3939
  o.errors << Shapes::ShapeRef.new(shape: KMSKeyNotAccessibleFault)
3746
3940
  o.errors << Shapes::ShapeRef.new(shape: S3ResourceNotFoundFault)
3747
3941
  o.errors << Shapes::ShapeRef.new(shape: S3AccessDeniedFault)
3942
+ o.errors << Shapes::ShapeRef.new(shape: FailedDependencyFault)
3748
3943
  end)
3749
3944
 
3750
3945
  api.add_operation(:modify_migration_project, Seahorse::Model::Operation.new.tap do |o|
@@ -3758,6 +3953,7 @@ module Aws::DatabaseMigrationService
3758
3953
  o.errors << Shapes::ShapeRef.new(shape: InvalidResourceStateFault)
3759
3954
  o.errors << Shapes::ShapeRef.new(shape: S3ResourceNotFoundFault)
3760
3955
  o.errors << Shapes::ShapeRef.new(shape: S3AccessDeniedFault)
3956
+ o.errors << Shapes::ShapeRef.new(shape: FailedDependencyFault)
3761
3957
  end)
3762
3958
 
3763
3959
  api.add_operation(:modify_replication_config, Seahorse::Model::Operation.new.tap do |o|
@@ -3877,6 +4073,7 @@ module Aws::DatabaseMigrationService
3877
4073
  o.input = Shapes::ShapeRef.new(shape: RemoveTagsFromResourceMessage)
3878
4074
  o.output = Shapes::ShapeRef.new(shape: RemoveTagsFromResourceResponse)
3879
4075
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundFault)
4076
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResourceStateFault)
3880
4077
  end)
3881
4078
 
3882
4079
  api.add_operation(:run_fleet_advisor_lsa_analysis, Seahorse::Model::Operation.new.tap do |o|
@@ -3889,6 +4086,19 @@ module Aws::DatabaseMigrationService
3889
4086
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundFault)
3890
4087
  end)
3891
4088
 
4089
+ api.add_operation(:start_data_migration, Seahorse::Model::Operation.new.tap do |o|
4090
+ o.name = "StartDataMigration"
4091
+ o.http_method = "POST"
4092
+ o.http_request_uri = "/"
4093
+ o.input = Shapes::ShapeRef.new(shape: StartDataMigrationMessage)
4094
+ o.output = Shapes::ShapeRef.new(shape: StartDataMigrationResponse)
4095
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResourceStateFault)
4096
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOperationFault)
4097
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundFault)
4098
+ o.errors << Shapes::ShapeRef.new(shape: ResourceQuotaExceededFault)
4099
+ o.errors << Shapes::ShapeRef.new(shape: FailedDependencyFault)
4100
+ end)
4101
+
3892
4102
  api.add_operation(:start_extension_pack_association, Seahorse::Model::Operation.new.tap do |o|
3893
4103
  o.name = "StartExtensionPackAssociation"
3894
4104
  o.http_method = "POST"
@@ -4048,6 +4258,17 @@ module Aws::DatabaseMigrationService
4048
4258
  o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsFault)
4049
4259
  end)
4050
4260
 
4261
+ api.add_operation(:stop_data_migration, Seahorse::Model::Operation.new.tap do |o|
4262
+ o.name = "StopDataMigration"
4263
+ o.http_method = "POST"
4264
+ o.http_request_uri = "/"
4265
+ o.input = Shapes::ShapeRef.new(shape: StopDataMigrationMessage)
4266
+ o.output = Shapes::ShapeRef.new(shape: StopDataMigrationResponse)
4267
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundFault)
4268
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResourceStateFault)
4269
+ o.errors << Shapes::ShapeRef.new(shape: FailedDependencyFault)
4270
+ end)
4271
+
4051
4272
  api.add_operation(:stop_replication, Seahorse::Model::Operation.new.tap do |o|
4052
4273
  o.name = "StopReplication"
4053
4274
  o.http_method = "POST"
@@ -52,15 +52,18 @@ module Aws::DatabaseMigrationService
52
52
  self[:region] = options[:region]
53
53
  self[:use_dual_stack] = options[:use_dual_stack]
54
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
- if self[:use_dual_stack].nil?
56
- raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
- end
58
55
  self[:use_fips] = options[:use_fips]
59
56
  self[:use_fips] = false if self[:use_fips].nil?
60
- if self[:use_fips].nil?
61
- raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
- end
63
57
  self[:endpoint] = options[:endpoint]
64
58
  end
59
+
60
+ def self.create(config, options={})
61
+ new({
62
+ region: config.region,
63
+ use_dual_stack: config.use_dualstack_endpoint,
64
+ use_fips: config.use_fips_endpoint,
65
+ endpoint: (config.endpoint.to_s unless config.regional_endpoint),
66
+ }.merge(options))
67
+ end
65
68
  end
66
69
  end