aws-sdk-databasemigrationservice 1.132.0 → 1.134.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -667,6 +667,96 @@ module Aws::DatabaseMigrationService
667
667
  req.send_request(options)
668
668
  end
669
669
 
670
+ # Cancels a single metadata model conversion operation that was started
671
+ # with `StartMetadataModelConversion`.
672
+ #
673
+ # @option params [required, String] :migration_project_identifier
674
+ # The migration project name or Amazon Resource Name (ARN).
675
+ #
676
+ # @option params [required, String] :request_identifier
677
+ # The identifier for the metadata model conversion operation to cancel.
678
+ # This operation was initiated by StartMetadataModelConversion.
679
+ #
680
+ # @return [Types::CancelMetadataModelConversionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
681
+ #
682
+ # * {Types::CancelMetadataModelConversionResponse#request #request} => Types::SchemaConversionRequest
683
+ #
684
+ # @example Request syntax with placeholder values
685
+ #
686
+ # resp = client.cancel_metadata_model_conversion({
687
+ # migration_project_identifier: "MigrationProjectIdentifier", # required
688
+ # request_identifier: "String", # required
689
+ # })
690
+ #
691
+ # @example Response structure
692
+ #
693
+ # resp.request.status #=> String
694
+ # resp.request.request_identifier #=> String
695
+ # resp.request.migration_project_arn #=> String
696
+ # resp.request.error.default_error_details.message #=> String
697
+ # resp.request.export_sql_details.s3_object_key #=> String
698
+ # resp.request.export_sql_details.object_url #=> String
699
+ # resp.request.progress.progress_percent #=> Float
700
+ # resp.request.progress.total_objects #=> Integer
701
+ # resp.request.progress.progress_step #=> String
702
+ # resp.request.progress.processed_object.name #=> String
703
+ # resp.request.progress.processed_object.type #=> String
704
+ # resp.request.progress.processed_object.endpoint_type #=> String
705
+ #
706
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CancelMetadataModelConversion AWS API Documentation
707
+ #
708
+ # @overload cancel_metadata_model_conversion(params = {})
709
+ # @param [Hash] params ({})
710
+ def cancel_metadata_model_conversion(params = {}, options = {})
711
+ req = build_request(:cancel_metadata_model_conversion, params)
712
+ req.send_request(options)
713
+ end
714
+
715
+ # Cancels a single metadata model creation operation that was started
716
+ # with `StartMetadataModelCreation`.
717
+ #
718
+ # @option params [required, String] :migration_project_identifier
719
+ # The migration project name or Amazon Resource Name (ARN).
720
+ #
721
+ # @option params [required, String] :request_identifier
722
+ # The identifier for the metadata model creation operation to cancel.
723
+ # This operation was initiated by `StartMetadataModelCreation`.
724
+ #
725
+ # @return [Types::CancelMetadataModelCreationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
726
+ #
727
+ # * {Types::CancelMetadataModelCreationResponse#request #request} => Types::SchemaConversionRequest
728
+ #
729
+ # @example Request syntax with placeholder values
730
+ #
731
+ # resp = client.cancel_metadata_model_creation({
732
+ # migration_project_identifier: "MigrationProjectIdentifier", # required
733
+ # request_identifier: "String", # required
734
+ # })
735
+ #
736
+ # @example Response structure
737
+ #
738
+ # resp.request.status #=> String
739
+ # resp.request.request_identifier #=> String
740
+ # resp.request.migration_project_arn #=> String
741
+ # resp.request.error.default_error_details.message #=> String
742
+ # resp.request.export_sql_details.s3_object_key #=> String
743
+ # resp.request.export_sql_details.object_url #=> String
744
+ # resp.request.progress.progress_percent #=> Float
745
+ # resp.request.progress.total_objects #=> Integer
746
+ # resp.request.progress.progress_step #=> String
747
+ # resp.request.progress.processed_object.name #=> String
748
+ # resp.request.progress.processed_object.type #=> String
749
+ # resp.request.progress.processed_object.endpoint_type #=> String
750
+ #
751
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CancelMetadataModelCreation AWS API Documentation
752
+ #
753
+ # @overload cancel_metadata_model_creation(params = {})
754
+ # @param [Hash] params ({})
755
+ def cancel_metadata_model_creation(params = {}, options = {})
756
+ req = build_request(:cancel_metadata_model_creation, params)
757
+ req.send_request(options)
758
+ end
759
+
670
760
  # Cancels a single premigration assessment run.
671
761
  #
672
762
  # This operation prevents any individual assessments from running if
@@ -785,7 +875,7 @@ module Aws::DatabaseMigrationService
785
875
  # ],
786
876
  # target_data_settings: [
787
877
  # {
788
- # table_preparation_mode: "do-nothing", # accepts do-nothing, truncate, drop-tables-on-target
878
+ # table_preparation_mode: "drop-tables-on-target", # accepts drop-tables-on-target, truncate, do-nothing
789
879
  # },
790
880
  # ],
791
881
  # number_of_jobs: 1,
@@ -818,7 +908,7 @@ module Aws::DatabaseMigrationService
818
908
  # resp.data_migration.source_data_settings[0].cdc_stop_time #=> Time
819
909
  # resp.data_migration.source_data_settings[0].slot_name #=> String
820
910
  # resp.data_migration.target_data_settings #=> Array
821
- # resp.data_migration.target_data_settings[0].table_preparation_mode #=> String, one of "do-nothing", "truncate", "drop-tables-on-target"
911
+ # resp.data_migration.target_data_settings[0].table_preparation_mode #=> String, one of "drop-tables-on-target", "truncate", "do-nothing"
822
912
  # resp.data_migration.data_migration_statistics.tables_loaded #=> Integer
823
913
  # resp.data_migration.data_migration_statistics.elapsed_time_millis #=> Integer
824
914
  # resp.data_migration.data_migration_statistics.tables_loading #=> Integer
@@ -858,8 +948,8 @@ module Aws::DatabaseMigrationService
858
948
  # The type of database engine for the data provider. Valid values
859
949
  # include `"aurora"`, `"aurora-postgresql"`, `"mysql"`, `"oracle"`,
860
950
  # `"postgres"`, `"sqlserver"`, `redshift`, `mariadb`, `mongodb`, `db2`,
861
- # `db2-zos` and `docdb`. A value of `"aurora"` represents Amazon Aurora
862
- # MySQL-Compatible Edition.
951
+ # `db2-zos`, `docdb`, and `sybase`. A value of `"aurora"` represents
952
+ # Amazon Aurora MySQL-Compatible Edition.
863
953
  #
864
954
  # @option params [Boolean] :virtual
865
955
  # Indicates whether the data provider is virtual.
@@ -963,6 +1053,14 @@ module Aws::DatabaseMigrationService
963
1053
  # s3_path: "String",
964
1054
  # s3_access_role_arn: "String",
965
1055
  # },
1056
+ # sybase_ase_settings: {
1057
+ # server_name: "String",
1058
+ # port: 1,
1059
+ # database_name: "String",
1060
+ # ssl_mode: "none", # accepts none, require, verify-ca, verify-full
1061
+ # encrypt_password: false,
1062
+ # certificate_arn: "String",
1063
+ # },
966
1064
  # microsoft_sql_server_settings: {
967
1065
  # server_name: "String",
968
1066
  # port: 1,
@@ -1063,6 +1161,12 @@ module Aws::DatabaseMigrationService
1063
1161
  # resp.data_provider.settings.oracle_settings.secrets_manager_security_db_encryption_access_role_arn #=> String
1064
1162
  # resp.data_provider.settings.oracle_settings.s3_path #=> String
1065
1163
  # resp.data_provider.settings.oracle_settings.s3_access_role_arn #=> String
1164
+ # resp.data_provider.settings.sybase_ase_settings.server_name #=> String
1165
+ # resp.data_provider.settings.sybase_ase_settings.port #=> Integer
1166
+ # resp.data_provider.settings.sybase_ase_settings.database_name #=> String
1167
+ # resp.data_provider.settings.sybase_ase_settings.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
1168
+ # resp.data_provider.settings.sybase_ase_settings.encrypt_password #=> Boolean
1169
+ # resp.data_provider.settings.sybase_ase_settings.certificate_arn #=> String
1066
1170
  # resp.data_provider.settings.microsoft_sql_server_settings.server_name #=> String
1067
1171
  # resp.data_provider.settings.microsoft_sql_server_settings.port #=> Integer
1068
1172
  # resp.data_provider.settings.microsoft_sql_server_settings.database_name #=> String
@@ -3556,7 +3660,7 @@ module Aws::DatabaseMigrationService
3556
3660
  # resp.data_migration.source_data_settings[0].cdc_stop_time #=> Time
3557
3661
  # resp.data_migration.source_data_settings[0].slot_name #=> String
3558
3662
  # resp.data_migration.target_data_settings #=> Array
3559
- # resp.data_migration.target_data_settings[0].table_preparation_mode #=> String, one of "do-nothing", "truncate", "drop-tables-on-target"
3663
+ # resp.data_migration.target_data_settings[0].table_preparation_mode #=> String, one of "drop-tables-on-target", "truncate", "do-nothing"
3560
3664
  # resp.data_migration.data_migration_statistics.tables_loaded #=> Integer
3561
3665
  # resp.data_migration.data_migration_statistics.elapsed_time_millis #=> Integer
3562
3666
  # resp.data_migration.data_migration_statistics.tables_loading #=> Integer
@@ -3668,6 +3772,12 @@ module Aws::DatabaseMigrationService
3668
3772
  # resp.data_provider.settings.oracle_settings.secrets_manager_security_db_encryption_access_role_arn #=> String
3669
3773
  # resp.data_provider.settings.oracle_settings.s3_path #=> String
3670
3774
  # resp.data_provider.settings.oracle_settings.s3_access_role_arn #=> String
3775
+ # resp.data_provider.settings.sybase_ase_settings.server_name #=> String
3776
+ # resp.data_provider.settings.sybase_ase_settings.port #=> Integer
3777
+ # resp.data_provider.settings.sybase_ase_settings.database_name #=> String
3778
+ # resp.data_provider.settings.sybase_ase_settings.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
3779
+ # resp.data_provider.settings.sybase_ase_settings.encrypt_password #=> Boolean
3780
+ # resp.data_provider.settings.sybase_ase_settings.certificate_arn #=> String
3671
3781
  # resp.data_provider.settings.microsoft_sql_server_settings.server_name #=> String
3672
3782
  # resp.data_provider.settings.microsoft_sql_server_settings.port #=> Integer
3673
3783
  # resp.data_provider.settings.microsoft_sql_server_settings.database_name #=> String
@@ -5191,7 +5301,7 @@ module Aws::DatabaseMigrationService
5191
5301
  # resp.data_migrations[0].source_data_settings[0].cdc_stop_time #=> Time
5192
5302
  # resp.data_migrations[0].source_data_settings[0].slot_name #=> String
5193
5303
  # resp.data_migrations[0].target_data_settings #=> Array
5194
- # resp.data_migrations[0].target_data_settings[0].table_preparation_mode #=> String, one of "do-nothing", "truncate", "drop-tables-on-target"
5304
+ # resp.data_migrations[0].target_data_settings[0].table_preparation_mode #=> String, one of "drop-tables-on-target", "truncate", "do-nothing"
5195
5305
  # resp.data_migrations[0].data_migration_statistics.tables_loaded #=> Integer
5196
5306
  # resp.data_migrations[0].data_migration_statistics.elapsed_time_millis #=> Integer
5197
5307
  # resp.data_migrations[0].data_migration_statistics.tables_loading #=> Integer
@@ -5343,6 +5453,12 @@ module Aws::DatabaseMigrationService
5343
5453
  # resp.data_providers[0].settings.oracle_settings.secrets_manager_security_db_encryption_access_role_arn #=> String
5344
5454
  # resp.data_providers[0].settings.oracle_settings.s3_path #=> String
5345
5455
  # resp.data_providers[0].settings.oracle_settings.s3_access_role_arn #=> String
5456
+ # resp.data_providers[0].settings.sybase_ase_settings.server_name #=> String
5457
+ # resp.data_providers[0].settings.sybase_ase_settings.port #=> Integer
5458
+ # resp.data_providers[0].settings.sybase_ase_settings.database_name #=> String
5459
+ # resp.data_providers[0].settings.sybase_ase_settings.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
5460
+ # resp.data_providers[0].settings.sybase_ase_settings.encrypt_password #=> Boolean
5461
+ # resp.data_providers[0].settings.sybase_ase_settings.certificate_arn #=> String
5346
5462
  # resp.data_providers[0].settings.microsoft_sql_server_settings.server_name #=> String
5347
5463
  # resp.data_providers[0].settings.microsoft_sql_server_settings.port #=> Integer
5348
5464
  # resp.data_providers[0].settings.microsoft_sql_server_settings.database_name #=> String
@@ -6307,6 +6423,12 @@ module Aws::DatabaseMigrationService
6307
6423
  # resp.requests[0].error.default_error_details.message #=> String
6308
6424
  # resp.requests[0].export_sql_details.s3_object_key #=> String
6309
6425
  # resp.requests[0].export_sql_details.object_url #=> String
6426
+ # resp.requests[0].progress.progress_percent #=> Float
6427
+ # resp.requests[0].progress.total_objects #=> Integer
6428
+ # resp.requests[0].progress.progress_step #=> String
6429
+ # resp.requests[0].progress.processed_object.name #=> String
6430
+ # resp.requests[0].progress.processed_object.type #=> String
6431
+ # resp.requests[0].progress.processed_object.endpoint_type #=> String
6310
6432
  #
6311
6433
  # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeExtensionPackAssociations AWS API Documentation
6312
6434
  #
@@ -6841,6 +6963,59 @@ module Aws::DatabaseMigrationService
6841
6963
  req.send_request(options)
6842
6964
  end
6843
6965
 
6966
+ # Gets detailed information about the specified metadata model,
6967
+ # including its definition and corresponding converted objects in the
6968
+ # target database if applicable.
6969
+ #
6970
+ # @option params [required, String] :selection_rules
6971
+ # The JSON string that specifies which metadata model to retrieve. Only
6972
+ # one selection rule with "rule-action": "explicit" can be provided.
6973
+ # For more information, see [Selection Rules][1] in the DMS User Guide.
6974
+ #
6975
+ #
6976
+ #
6977
+ # [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.CustomizingTasks.TableMapping.SelectionTransformation.Selections.html
6978
+ #
6979
+ # @option params [required, String] :migration_project_identifier
6980
+ # The migration project name or Amazon Resource Name (ARN).
6981
+ #
6982
+ # @option params [required, String] :origin
6983
+ # Specifies whether to retrieve metadata from the source or target tree.
6984
+ # Valid values: SOURCE \| TARGET
6985
+ #
6986
+ # @return [Types::DescribeMetadataModelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6987
+ #
6988
+ # * {Types::DescribeMetadataModelResponse#metadata_model_name #metadata_model_name} => String
6989
+ # * {Types::DescribeMetadataModelResponse#metadata_model_type #metadata_model_type} => String
6990
+ # * {Types::DescribeMetadataModelResponse#target_metadata_models #target_metadata_models} => Array<Types::MetadataModelReference>
6991
+ # * {Types::DescribeMetadataModelResponse#definition #definition} => String
6992
+ #
6993
+ # @example Request syntax with placeholder values
6994
+ #
6995
+ # resp = client.describe_metadata_model({
6996
+ # selection_rules: "String", # required
6997
+ # migration_project_identifier: "MigrationProjectIdentifier", # required
6998
+ # origin: "SOURCE", # required, accepts SOURCE, TARGET
6999
+ # })
7000
+ #
7001
+ # @example Response structure
7002
+ #
7003
+ # resp.metadata_model_name #=> String
7004
+ # resp.metadata_model_type #=> String
7005
+ # resp.target_metadata_models #=> Array
7006
+ # resp.target_metadata_models[0].metadata_model_name #=> String
7007
+ # resp.target_metadata_models[0].selection_rules #=> String
7008
+ # resp.definition #=> String
7009
+ #
7010
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeMetadataModel AWS API Documentation
7011
+ #
7012
+ # @overload describe_metadata_model(params = {})
7013
+ # @param [Hash] params ({})
7014
+ def describe_metadata_model(params = {}, options = {})
7015
+ req = build_request(:describe_metadata_model, params)
7016
+ req.send_request(options)
7017
+ end
7018
+
6844
7019
  # Returns a paginated list of metadata model assessments for your
6845
7020
  # account in the current region.
6846
7021
  #
@@ -6930,6 +7105,12 @@ module Aws::DatabaseMigrationService
6930
7105
  # resp.requests[0].error.default_error_details.message #=> String
6931
7106
  # resp.requests[0].export_sql_details.s3_object_key #=> String
6932
7107
  # resp.requests[0].export_sql_details.object_url #=> String
7108
+ # resp.requests[0].progress.progress_percent #=> Float
7109
+ # resp.requests[0].progress.total_objects #=> Integer
7110
+ # resp.requests[0].progress.progress_step #=> String
7111
+ # resp.requests[0].progress.processed_object.name #=> String
7112
+ # resp.requests[0].progress.processed_object.type #=> String
7113
+ # resp.requests[0].progress.processed_object.endpoint_type #=> String
6933
7114
  #
6934
7115
  # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeMetadataModelAssessments AWS API Documentation
6935
7116
  #
@@ -6940,6 +7121,71 @@ module Aws::DatabaseMigrationService
6940
7121
  req.send_request(options)
6941
7122
  end
6942
7123
 
7124
+ # Gets a list of child metadata models for the specified metadata model
7125
+ # in the database hierarchy.
7126
+ #
7127
+ # @option params [required, String] :selection_rules
7128
+ # The JSON string that specifies which metadata model's children to
7129
+ # retrieve. Only one selection rule with "rule-action": "explicit"
7130
+ # can be provided. For more information, see [Selection Rules][1] in the
7131
+ # DMS User Guide.
7132
+ #
7133
+ #
7134
+ #
7135
+ # [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.CustomizingTasks.TableMapping.SelectionTransformation.Selections.html
7136
+ #
7137
+ # @option params [required, String] :migration_project_identifier
7138
+ # The migration project name or Amazon Resource Name (ARN).
7139
+ #
7140
+ # @option params [required, String] :origin
7141
+ # Specifies whether to retrieve metadata from the source or target tree.
7142
+ # Valid values: SOURCE \| TARGET
7143
+ #
7144
+ # @option params [String] :marker
7145
+ # Specifies the unique pagination token that indicates where the next
7146
+ # page should start. If this parameter is specified, the response
7147
+ # includes only records beyond the marker, up to the value specified by
7148
+ # MaxRecords.
7149
+ #
7150
+ # @option params [Integer] :max_records
7151
+ # The maximum number of metadata model children to include in the
7152
+ # response. If more items exist than the specified MaxRecords value, a
7153
+ # marker is included in the response so that the remaining results can
7154
+ # be retrieved.
7155
+ #
7156
+ # @return [Types::DescribeMetadataModelChildrenResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7157
+ #
7158
+ # * {Types::DescribeMetadataModelChildrenResponse#marker #marker} => String
7159
+ # * {Types::DescribeMetadataModelChildrenResponse#metadata_model_children #metadata_model_children} => Array<Types::MetadataModelReference>
7160
+ #
7161
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7162
+ #
7163
+ # @example Request syntax with placeholder values
7164
+ #
7165
+ # resp = client.describe_metadata_model_children({
7166
+ # selection_rules: "String", # required
7167
+ # migration_project_identifier: "MigrationProjectIdentifier", # required
7168
+ # origin: "SOURCE", # required, accepts SOURCE, TARGET
7169
+ # marker: "String",
7170
+ # max_records: 1,
7171
+ # })
7172
+ #
7173
+ # @example Response structure
7174
+ #
7175
+ # resp.marker #=> String
7176
+ # resp.metadata_model_children #=> Array
7177
+ # resp.metadata_model_children[0].metadata_model_name #=> String
7178
+ # resp.metadata_model_children[0].selection_rules #=> String
7179
+ #
7180
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeMetadataModelChildren AWS API Documentation
7181
+ #
7182
+ # @overload describe_metadata_model_children(params = {})
7183
+ # @param [Hash] params ({})
7184
+ def describe_metadata_model_children(params = {}, options = {})
7185
+ req = build_request(:describe_metadata_model_children, params)
7186
+ req.send_request(options)
7187
+ end
7188
+
6943
7189
  # Returns a paginated list of metadata model conversions for a migration
6944
7190
  # project.
6945
7191
  #
@@ -7029,6 +7275,12 @@ module Aws::DatabaseMigrationService
7029
7275
  # resp.requests[0].error.default_error_details.message #=> String
7030
7276
  # resp.requests[0].export_sql_details.s3_object_key #=> String
7031
7277
  # resp.requests[0].export_sql_details.object_url #=> String
7278
+ # resp.requests[0].progress.progress_percent #=> Float
7279
+ # resp.requests[0].progress.total_objects #=> Integer
7280
+ # resp.requests[0].progress.progress_step #=> String
7281
+ # resp.requests[0].progress.processed_object.name #=> String
7282
+ # resp.requests[0].progress.processed_object.type #=> String
7283
+ # resp.requests[0].progress.processed_object.endpoint_type #=> String
7032
7284
  #
7033
7285
  # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeMetadataModelConversions AWS API Documentation
7034
7286
  #
@@ -7039,6 +7291,76 @@ module Aws::DatabaseMigrationService
7039
7291
  req.send_request(options)
7040
7292
  end
7041
7293
 
7294
+ # Returns a paginated list of metadata model creation requests for a
7295
+ # migration project.
7296
+ #
7297
+ # @option params [Array<Types::Filter>] :filters
7298
+ # Filters applied to the metadata model creation requests described in
7299
+ # the form of key-value pairs. The supported filters are request-id and
7300
+ # status.
7301
+ #
7302
+ # @option params [String] :marker
7303
+ # Specifies the unique pagination token that makes it possible to
7304
+ # display the next page of metadata model creation requests. If Marker
7305
+ # is returned by a previous response, there are more metadata model
7306
+ # creation requests available.
7307
+ #
7308
+ # @option params [Integer] :max_records
7309
+ # The maximum number of metadata model creation requests to include in
7310
+ # the response. If more requests exist than the specified MaxRecords
7311
+ # value, a pagination token is provided in the response so that you can
7312
+ # retrieve the remaining results.
7313
+ #
7314
+ # @option params [required, String] :migration_project_identifier
7315
+ # The migration project name or Amazon Resource Name (ARN).
7316
+ #
7317
+ # @return [Types::DescribeMetadataModelCreationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7318
+ #
7319
+ # * {Types::DescribeMetadataModelCreationsResponse#marker #marker} => String
7320
+ # * {Types::DescribeMetadataModelCreationsResponse#requests #requests} => Array&lt;Types::SchemaConversionRequest&gt;
7321
+ #
7322
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7323
+ #
7324
+ # @example Request syntax with placeholder values
7325
+ #
7326
+ # resp = client.describe_metadata_model_creations({
7327
+ # filters: [
7328
+ # {
7329
+ # name: "String", # required
7330
+ # values: ["String"], # required
7331
+ # },
7332
+ # ],
7333
+ # marker: "String",
7334
+ # max_records: 1,
7335
+ # migration_project_identifier: "MigrationProjectIdentifier", # required
7336
+ # })
7337
+ #
7338
+ # @example Response structure
7339
+ #
7340
+ # resp.marker #=> String
7341
+ # resp.requests #=> Array
7342
+ # resp.requests[0].status #=> String
7343
+ # resp.requests[0].request_identifier #=> String
7344
+ # resp.requests[0].migration_project_arn #=> String
7345
+ # resp.requests[0].error.default_error_details.message #=> String
7346
+ # resp.requests[0].export_sql_details.s3_object_key #=> String
7347
+ # resp.requests[0].export_sql_details.object_url #=> String
7348
+ # resp.requests[0].progress.progress_percent #=> Float
7349
+ # resp.requests[0].progress.total_objects #=> Integer
7350
+ # resp.requests[0].progress.progress_step #=> String
7351
+ # resp.requests[0].progress.processed_object.name #=> String
7352
+ # resp.requests[0].progress.processed_object.type #=> String
7353
+ # resp.requests[0].progress.processed_object.endpoint_type #=> String
7354
+ #
7355
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeMetadataModelCreations AWS API Documentation
7356
+ #
7357
+ # @overload describe_metadata_model_creations(params = {})
7358
+ # @param [Hash] params ({})
7359
+ def describe_metadata_model_creations(params = {}, options = {})
7360
+ req = build_request(:describe_metadata_model_creations, params)
7361
+ req.send_request(options)
7362
+ end
7363
+
7042
7364
  # Returns a paginated list of metadata model exports.
7043
7365
  #
7044
7366
  # @option params [required, String] :migration_project_identifier
@@ -7127,6 +7449,12 @@ module Aws::DatabaseMigrationService
7127
7449
  # resp.requests[0].error.default_error_details.message #=> String
7128
7450
  # resp.requests[0].export_sql_details.s3_object_key #=> String
7129
7451
  # resp.requests[0].export_sql_details.object_url #=> String
7452
+ # resp.requests[0].progress.progress_percent #=> Float
7453
+ # resp.requests[0].progress.total_objects #=> Integer
7454
+ # resp.requests[0].progress.progress_step #=> String
7455
+ # resp.requests[0].progress.processed_object.name #=> String
7456
+ # resp.requests[0].progress.processed_object.type #=> String
7457
+ # resp.requests[0].progress.processed_object.endpoint_type #=> String
7130
7458
  #
7131
7459
  # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeMetadataModelExportsAsScript AWS API Documentation
7132
7460
  #
@@ -7225,6 +7553,12 @@ module Aws::DatabaseMigrationService
7225
7553
  # resp.requests[0].error.default_error_details.message #=> String
7226
7554
  # resp.requests[0].export_sql_details.s3_object_key #=> String
7227
7555
  # resp.requests[0].export_sql_details.object_url #=> String
7556
+ # resp.requests[0].progress.progress_percent #=> Float
7557
+ # resp.requests[0].progress.total_objects #=> Integer
7558
+ # resp.requests[0].progress.progress_step #=> String
7559
+ # resp.requests[0].progress.processed_object.name #=> String
7560
+ # resp.requests[0].progress.processed_object.type #=> String
7561
+ # resp.requests[0].progress.processed_object.endpoint_type #=> String
7228
7562
  #
7229
7563
  # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeMetadataModelExportsToTarget AWS API Documentation
7230
7564
  #
@@ -7320,6 +7654,12 @@ module Aws::DatabaseMigrationService
7320
7654
  # resp.requests[0].error.default_error_details.message #=> String
7321
7655
  # resp.requests[0].export_sql_details.s3_object_key #=> String
7322
7656
  # resp.requests[0].export_sql_details.object_url #=> String
7657
+ # resp.requests[0].progress.progress_percent #=> Float
7658
+ # resp.requests[0].progress.total_objects #=> Integer
7659
+ # resp.requests[0].progress.progress_step #=> String
7660
+ # resp.requests[0].progress.processed_object.name #=> String
7661
+ # resp.requests[0].progress.processed_object.type #=> String
7662
+ # resp.requests[0].progress.processed_object.endpoint_type #=> String
7323
7663
  #
7324
7664
  # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeMetadataModelImports AWS API Documentation
7325
7665
  #
@@ -8977,6 +9317,42 @@ module Aws::DatabaseMigrationService
8977
9317
  req.send_request(options)
8978
9318
  end
8979
9319
 
9320
+ # Converts source selection rules into their target counterparts for
9321
+ # schema conversion operations.
9322
+ #
9323
+ # @option params [required, String] :migration_project_identifier
9324
+ # The migration project name or Amazon Resource Name (ARN).
9325
+ #
9326
+ # @option params [required, String] :selection_rules
9327
+ # The JSON string representing the source selection rules for
9328
+ # conversion. Selection rules must contain only supported metadata model
9329
+ # types. For more information, see Selection Rules in the DMS User
9330
+ # Guide.
9331
+ #
9332
+ # @return [Types::GetTargetSelectionRulesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9333
+ #
9334
+ # * {Types::GetTargetSelectionRulesResponse#target_selection_rules #target_selection_rules} => String
9335
+ #
9336
+ # @example Request syntax with placeholder values
9337
+ #
9338
+ # resp = client.get_target_selection_rules({
9339
+ # migration_project_identifier: "MigrationProjectIdentifier", # required
9340
+ # selection_rules: "String", # required
9341
+ # })
9342
+ #
9343
+ # @example Response structure
9344
+ #
9345
+ # resp.target_selection_rules #=> String
9346
+ #
9347
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/GetTargetSelectionRules AWS API Documentation
9348
+ #
9349
+ # @overload get_target_selection_rules(params = {})
9350
+ # @param [Hash] params ({})
9351
+ def get_target_selection_rules(params = {}, options = {})
9352
+ req = build_request(:get_target_selection_rules, params)
9353
+ req.send_request(options)
9354
+ end
9355
+
8980
9356
  # Uploads the specified certificate.
8981
9357
  #
8982
9358
  # @option params [required, String] :certificate_identifier
@@ -9220,7 +9596,7 @@ module Aws::DatabaseMigrationService
9220
9596
  # ],
9221
9597
  # target_data_settings: [
9222
9598
  # {
9223
- # table_preparation_mode: "do-nothing", # accepts do-nothing, truncate, drop-tables-on-target
9599
+ # table_preparation_mode: "drop-tables-on-target", # accepts drop-tables-on-target, truncate, do-nothing
9224
9600
  # },
9225
9601
  # ],
9226
9602
  # number_of_jobs: 1,
@@ -9246,7 +9622,7 @@ module Aws::DatabaseMigrationService
9246
9622
  # resp.data_migration.source_data_settings[0].cdc_stop_time #=> Time
9247
9623
  # resp.data_migration.source_data_settings[0].slot_name #=> String
9248
9624
  # resp.data_migration.target_data_settings #=> Array
9249
- # resp.data_migration.target_data_settings[0].table_preparation_mode #=> String, one of "do-nothing", "truncate", "drop-tables-on-target"
9625
+ # resp.data_migration.target_data_settings[0].table_preparation_mode #=> String, one of "drop-tables-on-target", "truncate", "do-nothing"
9250
9626
  # resp.data_migration.data_migration_statistics.tables_loaded #=> Integer
9251
9627
  # resp.data_migration.data_migration_statistics.elapsed_time_millis #=> Integer
9252
9628
  # resp.data_migration.data_migration_statistics.tables_loading #=> Integer
@@ -9295,8 +9671,8 @@ module Aws::DatabaseMigrationService
9295
9671
  # The type of database engine for the data provider. Valid values
9296
9672
  # include `"aurora"`, `"aurora-postgresql"`, `"mysql"`, `"oracle"`,
9297
9673
  # `"postgres"`, `"sqlserver"`, `redshift`, `mariadb`, `mongodb`, `db2`,
9298
- # `db2-zos` and `docdb`. A value of `"aurora"` represents Amazon Aurora
9299
- # MySQL-Compatible Edition.
9674
+ # `db2-zos`, `docdb`, and `sybase`. A value of `"aurora"` represents
9675
+ # Amazon Aurora MySQL-Compatible Edition.
9300
9676
  #
9301
9677
  # @option params [Boolean] :virtual
9302
9678
  # Indicates whether the data provider is virtual.
@@ -9406,6 +9782,14 @@ module Aws::DatabaseMigrationService
9406
9782
  # s3_path: "String",
9407
9783
  # s3_access_role_arn: "String",
9408
9784
  # },
9785
+ # sybase_ase_settings: {
9786
+ # server_name: "String",
9787
+ # port: 1,
9788
+ # database_name: "String",
9789
+ # ssl_mode: "none", # accepts none, require, verify-ca, verify-full
9790
+ # encrypt_password: false,
9791
+ # certificate_arn: "String",
9792
+ # },
9409
9793
  # microsoft_sql_server_settings: {
9410
9794
  # server_name: "String",
9411
9795
  # port: 1,
@@ -9499,6 +9883,12 @@ module Aws::DatabaseMigrationService
9499
9883
  # resp.data_provider.settings.oracle_settings.secrets_manager_security_db_encryption_access_role_arn #=> String
9500
9884
  # resp.data_provider.settings.oracle_settings.s3_path #=> String
9501
9885
  # resp.data_provider.settings.oracle_settings.s3_access_role_arn #=> String
9886
+ # resp.data_provider.settings.sybase_ase_settings.server_name #=> String
9887
+ # resp.data_provider.settings.sybase_ase_settings.port #=> Integer
9888
+ # resp.data_provider.settings.sybase_ase_settings.database_name #=> String
9889
+ # resp.data_provider.settings.sybase_ase_settings.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
9890
+ # resp.data_provider.settings.sybase_ase_settings.encrypt_password #=> Boolean
9891
+ # resp.data_provider.settings.sybase_ase_settings.certificate_arn #=> String
9502
9892
  # resp.data_provider.settings.microsoft_sql_server_settings.server_name #=> String
9503
9893
  # resp.data_provider.settings.microsoft_sql_server_settings.port #=> Integer
9504
9894
  # resp.data_provider.settings.microsoft_sql_server_settings.database_name #=> String
@@ -11901,7 +12291,7 @@ module Aws::DatabaseMigrationService
11901
12291
  # resp.data_migration.source_data_settings[0].cdc_stop_time #=> Time
11902
12292
  # resp.data_migration.source_data_settings[0].slot_name #=> String
11903
12293
  # resp.data_migration.target_data_settings #=> Array
11904
- # resp.data_migration.target_data_settings[0].table_preparation_mode #=> String, one of "do-nothing", "truncate", "drop-tables-on-target"
12294
+ # resp.data_migration.target_data_settings[0].table_preparation_mode #=> String, one of "drop-tables-on-target", "truncate", "do-nothing"
11905
12295
  # resp.data_migration.data_migration_statistics.tables_loaded #=> Integer
11906
12296
  # resp.data_migration.data_migration_statistics.elapsed_time_millis #=> Integer
11907
12297
  # resp.data_migration.data_migration_statistics.tables_loading #=> Integer
@@ -12073,6 +12463,59 @@ module Aws::DatabaseMigrationService
12073
12463
  req.send_request(options)
12074
12464
  end
12075
12465
 
12466
+ # Creates source metadata model of the given type with the specified
12467
+ # properties for schema conversion operations.
12468
+ #
12469
+ # <note markdown="1"> This action supports only these directions: from SQL Server to Aurora
12470
+ # PostgreSQL, or from SQL Server to RDS for PostgreSQL.
12471
+ #
12472
+ # </note>
12473
+ #
12474
+ # @option params [required, String] :migration_project_identifier
12475
+ # The migration project name or Amazon Resource Name (ARN).
12476
+ #
12477
+ # @option params [required, String] :selection_rules
12478
+ # The JSON string that specifies the location where the metadata model
12479
+ # will be created. Selection rules must specify a single schema. For
12480
+ # more information, see Selection Rules in the DMS User Guide.
12481
+ #
12482
+ # @option params [required, String] :metadata_model_name
12483
+ # The name of the metadata model.
12484
+ #
12485
+ # @option params [required, Types::MetadataModelProperties] :properties
12486
+ # The properties of metadata model in JSON format. This object is a
12487
+ # Union. Only one member of this object can be specified or returned.
12488
+ #
12489
+ # @return [Types::StartMetadataModelCreationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
12490
+ #
12491
+ # * {Types::StartMetadataModelCreationResponse#request_identifier #request_identifier} => String
12492
+ #
12493
+ # @example Request syntax with placeholder values
12494
+ #
12495
+ # resp = client.start_metadata_model_creation({
12496
+ # migration_project_identifier: "MigrationProjectIdentifier", # required
12497
+ # selection_rules: "String", # required
12498
+ # metadata_model_name: "String", # required
12499
+ # properties: { # required
12500
+ # statement_properties: {
12501
+ # definition: "String", # required
12502
+ # },
12503
+ # },
12504
+ # })
12505
+ #
12506
+ # @example Response structure
12507
+ #
12508
+ # resp.request_identifier #=> String
12509
+ #
12510
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StartMetadataModelCreation AWS API Documentation
12511
+ #
12512
+ # @overload start_metadata_model_creation(params = {})
12513
+ # @param [Hash] params ({})
12514
+ def start_metadata_model_creation(params = {}, options = {})
12515
+ req = build_request(:start_metadata_model_creation, params)
12516
+ req.send_request(options)
12517
+ end
12518
+
12076
12519
  # Saves your converted code to a file as a SQL script, and stores this
12077
12520
  # file on your Amazon S3 bucket.
12078
12521
  #
@@ -12882,7 +13325,7 @@ module Aws::DatabaseMigrationService
12882
13325
  # resp.data_migration.source_data_settings[0].cdc_stop_time #=> Time
12883
13326
  # resp.data_migration.source_data_settings[0].slot_name #=> String
12884
13327
  # resp.data_migration.target_data_settings #=> Array
12885
- # resp.data_migration.target_data_settings[0].table_preparation_mode #=> String, one of "do-nothing", "truncate", "drop-tables-on-target"
13328
+ # resp.data_migration.target_data_settings[0].table_preparation_mode #=> String, one of "drop-tables-on-target", "truncate", "do-nothing"
12886
13329
  # resp.data_migration.data_migration_statistics.tables_loaded #=> Integer
12887
13330
  # resp.data_migration.data_migration_statistics.elapsed_time_millis #=> Integer
12888
13331
  # resp.data_migration.data_migration_statistics.tables_loading #=> Integer
@@ -13194,7 +13637,7 @@ module Aws::DatabaseMigrationService
13194
13637
  tracer: tracer
13195
13638
  )
13196
13639
  context[:gem_name] = 'aws-sdk-databasemigrationservice'
13197
- context[:gem_version] = '1.132.0'
13640
+ context[:gem_version] = '1.134.0'
13198
13641
  Seahorse::Client::Request.new(handlers, context)
13199
13642
  end
13200
13643