aws-sdk-databasemigrationservice 1.85.0 → 1.87.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-databasemigrationservice/client.rb +2747 -140
- data/lib/aws-sdk-databasemigrationservice/client_api.rb +872 -0
- data/lib/aws-sdk-databasemigrationservice/endpoints.rb +378 -0
- data/lib/aws-sdk-databasemigrationservice/plugins/endpoints.rb +54 -0
- data/lib/aws-sdk-databasemigrationservice/types.rb +2182 -60
- data/lib/aws-sdk-databasemigrationservice.rb +1 -1
- metadata +2 -2
@@ -619,6 +619,212 @@ module Aws::DatabaseMigrationService
|
|
619
619
|
req.send_request(options)
|
620
620
|
end
|
621
621
|
|
622
|
+
# Creates a data provider using the provided settings. A data provider
|
623
|
+
# stores a data store type and location information about your database.
|
624
|
+
#
|
625
|
+
# @option params [String] :data_provider_name
|
626
|
+
# A user-friendly name for the data provider.
|
627
|
+
#
|
628
|
+
# @option params [String] :description
|
629
|
+
# A user-friendly description of the data provider.
|
630
|
+
#
|
631
|
+
# @option params [required, String] :engine
|
632
|
+
# The type of database engine for the data provider. Valid values
|
633
|
+
# include `"aurora"`, `"aurora_postgresql"`, `"mysql"`, `"oracle"`,
|
634
|
+
# `"postgres"`, and `"sqlserver"`. A value of `"aurora"` represents
|
635
|
+
# Amazon Aurora MySQL-Compatible Edition.
|
636
|
+
#
|
637
|
+
# @option params [required, Types::DataProviderSettings] :settings
|
638
|
+
# The settings in JSON format for a data provider.
|
639
|
+
#
|
640
|
+
# @option params [Array<Types::Tag>] :tags
|
641
|
+
# One or more tags to be assigned to the data provider.
|
642
|
+
#
|
643
|
+
# @return [Types::CreateDataProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
644
|
+
#
|
645
|
+
# * {Types::CreateDataProviderResponse#data_provider #data_provider} => Types::DataProvider
|
646
|
+
#
|
647
|
+
#
|
648
|
+
# @example Example: Create Data Provider
|
649
|
+
#
|
650
|
+
# # Creates the data provider with the specified parameters.
|
651
|
+
#
|
652
|
+
# resp = client.create_data_provider({
|
653
|
+
# data_provider_name: "sqlServer-dev",
|
654
|
+
# description: "description",
|
655
|
+
# engine: "sqlserver",
|
656
|
+
# settings: {
|
657
|
+
# microsoft_sql_server_settings: {
|
658
|
+
# database_name: "DatabaseName",
|
659
|
+
# port: 11112,
|
660
|
+
# server_name: "ServerName2",
|
661
|
+
# ssl_mode: "none",
|
662
|
+
# },
|
663
|
+
# },
|
664
|
+
# tags: [
|
665
|
+
# {
|
666
|
+
# key: "access",
|
667
|
+
# value: "authorizedusers",
|
668
|
+
# },
|
669
|
+
# ],
|
670
|
+
# })
|
671
|
+
#
|
672
|
+
# resp.to_h outputs the following:
|
673
|
+
# {
|
674
|
+
# data_provider: {
|
675
|
+
# data_provider_arn: "arn:aws:dms:us-east-1:012345678901:data-provider:my-target-dataprovider",
|
676
|
+
# data_provider_creation_time: Time.parse("2023-05-12T10:50:41.988561Z"),
|
677
|
+
# data_provider_name: "my-target-dataprovider",
|
678
|
+
# engine: "postgres",
|
679
|
+
# settings: {
|
680
|
+
# postgre_sql_settings: {
|
681
|
+
# database_name: "target",
|
682
|
+
# port: 5432,
|
683
|
+
# server_name: "postrgesql.a1b2c3d4e5f6.us-east-1.rds.amazonaws.com",
|
684
|
+
# ssl_mode: "none",
|
685
|
+
# },
|
686
|
+
# },
|
687
|
+
# },
|
688
|
+
# }
|
689
|
+
#
|
690
|
+
# @example Request syntax with placeholder values
|
691
|
+
#
|
692
|
+
# resp = client.create_data_provider({
|
693
|
+
# data_provider_name: "String",
|
694
|
+
# description: "String",
|
695
|
+
# engine: "String", # required
|
696
|
+
# settings: { # required
|
697
|
+
# redshift_settings: {
|
698
|
+
# server_name: "String",
|
699
|
+
# port: 1,
|
700
|
+
# database_name: "String",
|
701
|
+
# },
|
702
|
+
# postgre_sql_settings: {
|
703
|
+
# server_name: "String",
|
704
|
+
# port: 1,
|
705
|
+
# database_name: "String",
|
706
|
+
# ssl_mode: "none", # accepts none, require, verify-ca, verify-full
|
707
|
+
# certificate_arn: "String",
|
708
|
+
# },
|
709
|
+
# my_sql_settings: {
|
710
|
+
# server_name: "String",
|
711
|
+
# port: 1,
|
712
|
+
# ssl_mode: "none", # accepts none, require, verify-ca, verify-full
|
713
|
+
# certificate_arn: "String",
|
714
|
+
# },
|
715
|
+
# oracle_settings: {
|
716
|
+
# server_name: "String",
|
717
|
+
# port: 1,
|
718
|
+
# database_name: "String",
|
719
|
+
# ssl_mode: "none", # accepts none, require, verify-ca, verify-full
|
720
|
+
# certificate_arn: "String",
|
721
|
+
# asm_server: "String",
|
722
|
+
# secrets_manager_oracle_asm_secret_id: "String",
|
723
|
+
# secrets_manager_oracle_asm_access_role_arn: "String",
|
724
|
+
# secrets_manager_security_db_encryption_secret_id: "String",
|
725
|
+
# secrets_manager_security_db_encryption_access_role_arn: "String",
|
726
|
+
# },
|
727
|
+
# microsoft_sql_server_settings: {
|
728
|
+
# server_name: "String",
|
729
|
+
# port: 1,
|
730
|
+
# database_name: "String",
|
731
|
+
# ssl_mode: "none", # accepts none, require, verify-ca, verify-full
|
732
|
+
# certificate_arn: "String",
|
733
|
+
# },
|
734
|
+
# doc_db_settings: {
|
735
|
+
# server_name: "String",
|
736
|
+
# port: 1,
|
737
|
+
# database_name: "String",
|
738
|
+
# ssl_mode: "none", # accepts none, require, verify-ca, verify-full
|
739
|
+
# certificate_arn: "String",
|
740
|
+
# },
|
741
|
+
# maria_db_settings: {
|
742
|
+
# server_name: "String",
|
743
|
+
# port: 1,
|
744
|
+
# ssl_mode: "none", # accepts none, require, verify-ca, verify-full
|
745
|
+
# certificate_arn: "String",
|
746
|
+
# },
|
747
|
+
# mongo_db_settings: {
|
748
|
+
# server_name: "String",
|
749
|
+
# port: 1,
|
750
|
+
# database_name: "String",
|
751
|
+
# ssl_mode: "none", # accepts none, require, verify-ca, verify-full
|
752
|
+
# certificate_arn: "String",
|
753
|
+
# auth_type: "no", # accepts no, password
|
754
|
+
# auth_source: "String",
|
755
|
+
# auth_mechanism: "default", # accepts default, mongodb_cr, scram_sha_1
|
756
|
+
# },
|
757
|
+
# },
|
758
|
+
# tags: [
|
759
|
+
# {
|
760
|
+
# key: "String",
|
761
|
+
# value: "String",
|
762
|
+
# resource_arn: "String",
|
763
|
+
# },
|
764
|
+
# ],
|
765
|
+
# })
|
766
|
+
#
|
767
|
+
# @example Response structure
|
768
|
+
#
|
769
|
+
# resp.data_provider.data_provider_name #=> String
|
770
|
+
# resp.data_provider.data_provider_arn #=> String
|
771
|
+
# resp.data_provider.data_provider_creation_time #=> Time
|
772
|
+
# resp.data_provider.description #=> String
|
773
|
+
# resp.data_provider.engine #=> String
|
774
|
+
# resp.data_provider.settings.redshift_settings.server_name #=> String
|
775
|
+
# resp.data_provider.settings.redshift_settings.port #=> Integer
|
776
|
+
# resp.data_provider.settings.redshift_settings.database_name #=> String
|
777
|
+
# resp.data_provider.settings.postgre_sql_settings.server_name #=> String
|
778
|
+
# resp.data_provider.settings.postgre_sql_settings.port #=> Integer
|
779
|
+
# resp.data_provider.settings.postgre_sql_settings.database_name #=> String
|
780
|
+
# resp.data_provider.settings.postgre_sql_settings.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
|
781
|
+
# resp.data_provider.settings.postgre_sql_settings.certificate_arn #=> String
|
782
|
+
# resp.data_provider.settings.my_sql_settings.server_name #=> String
|
783
|
+
# resp.data_provider.settings.my_sql_settings.port #=> Integer
|
784
|
+
# resp.data_provider.settings.my_sql_settings.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
|
785
|
+
# resp.data_provider.settings.my_sql_settings.certificate_arn #=> String
|
786
|
+
# resp.data_provider.settings.oracle_settings.server_name #=> String
|
787
|
+
# resp.data_provider.settings.oracle_settings.port #=> Integer
|
788
|
+
# resp.data_provider.settings.oracle_settings.database_name #=> String
|
789
|
+
# resp.data_provider.settings.oracle_settings.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
|
790
|
+
# resp.data_provider.settings.oracle_settings.certificate_arn #=> String
|
791
|
+
# resp.data_provider.settings.oracle_settings.asm_server #=> String
|
792
|
+
# resp.data_provider.settings.oracle_settings.secrets_manager_oracle_asm_secret_id #=> String
|
793
|
+
# resp.data_provider.settings.oracle_settings.secrets_manager_oracle_asm_access_role_arn #=> String
|
794
|
+
# resp.data_provider.settings.oracle_settings.secrets_manager_security_db_encryption_secret_id #=> String
|
795
|
+
# resp.data_provider.settings.oracle_settings.secrets_manager_security_db_encryption_access_role_arn #=> String
|
796
|
+
# resp.data_provider.settings.microsoft_sql_server_settings.server_name #=> String
|
797
|
+
# resp.data_provider.settings.microsoft_sql_server_settings.port #=> Integer
|
798
|
+
# resp.data_provider.settings.microsoft_sql_server_settings.database_name #=> String
|
799
|
+
# resp.data_provider.settings.microsoft_sql_server_settings.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
|
800
|
+
# resp.data_provider.settings.microsoft_sql_server_settings.certificate_arn #=> String
|
801
|
+
# resp.data_provider.settings.doc_db_settings.server_name #=> String
|
802
|
+
# resp.data_provider.settings.doc_db_settings.port #=> Integer
|
803
|
+
# resp.data_provider.settings.doc_db_settings.database_name #=> String
|
804
|
+
# resp.data_provider.settings.doc_db_settings.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
|
805
|
+
# resp.data_provider.settings.doc_db_settings.certificate_arn #=> String
|
806
|
+
# resp.data_provider.settings.maria_db_settings.server_name #=> String
|
807
|
+
# resp.data_provider.settings.maria_db_settings.port #=> Integer
|
808
|
+
# resp.data_provider.settings.maria_db_settings.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
|
809
|
+
# resp.data_provider.settings.maria_db_settings.certificate_arn #=> String
|
810
|
+
# resp.data_provider.settings.mongo_db_settings.server_name #=> String
|
811
|
+
# resp.data_provider.settings.mongo_db_settings.port #=> Integer
|
812
|
+
# resp.data_provider.settings.mongo_db_settings.database_name #=> String
|
813
|
+
# resp.data_provider.settings.mongo_db_settings.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
|
814
|
+
# resp.data_provider.settings.mongo_db_settings.certificate_arn #=> String
|
815
|
+
# resp.data_provider.settings.mongo_db_settings.auth_type #=> String, one of "no", "password"
|
816
|
+
# resp.data_provider.settings.mongo_db_settings.auth_source #=> String
|
817
|
+
# resp.data_provider.settings.mongo_db_settings.auth_mechanism #=> String, one of "default", "mongodb_cr", "scram_sha_1"
|
818
|
+
#
|
819
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateDataProvider AWS API Documentation
|
820
|
+
#
|
821
|
+
# @overload create_data_provider(params = {})
|
822
|
+
# @param [Hash] params ({})
|
823
|
+
def create_data_provider(params = {}, options = {})
|
824
|
+
req = build_request(:create_data_provider, params)
|
825
|
+
req.send_request(options)
|
826
|
+
end
|
827
|
+
|
622
828
|
# Creates an endpoint using the provided settings.
|
623
829
|
#
|
624
830
|
# <note markdown="1"> For a MySQL source or target endpoint, don't explicitly specify the
|
@@ -1764,6 +1970,284 @@ module Aws::DatabaseMigrationService
|
|
1764
1970
|
req.send_request(options)
|
1765
1971
|
end
|
1766
1972
|
|
1973
|
+
# Creates the instance profile using the specified parameters.
|
1974
|
+
#
|
1975
|
+
# @option params [String] :availability_zone
|
1976
|
+
# The Availability Zone where the instance profile will be created. The
|
1977
|
+
# default value is a random, system-chosen Availability Zone in the
|
1978
|
+
# Amazon Web Services Region where your data provider is created, for
|
1979
|
+
# examplem `us-east-1d`.
|
1980
|
+
#
|
1981
|
+
# @option params [String] :kms_key_arn
|
1982
|
+
# The Amazon Resource Name (ARN) of the KMS key that is used to encrypt
|
1983
|
+
# the connection parameters for the instance profile.
|
1984
|
+
#
|
1985
|
+
# If you don't specify a value for the `KmsKeyArn` parameter, then DMS
|
1986
|
+
# uses your default encryption key.
|
1987
|
+
#
|
1988
|
+
# KMS creates the default encryption key for your Amazon Web Services
|
1989
|
+
# account. Your Amazon Web Services account has a different default
|
1990
|
+
# encryption key for each Amazon Web Services Region.
|
1991
|
+
#
|
1992
|
+
# @option params [Boolean] :publicly_accessible
|
1993
|
+
# Specifies the accessibility options for the instance profile. A value
|
1994
|
+
# of `true` represents an instance profile with a public IP address. A
|
1995
|
+
# value of `false` represents an instance profile with a private IP
|
1996
|
+
# address. The default value is `true`.
|
1997
|
+
#
|
1998
|
+
# @option params [Array<Types::Tag>] :tags
|
1999
|
+
# One or more tags to be assigned to the instance profile.
|
2000
|
+
#
|
2001
|
+
# @option params [String] :network_type
|
2002
|
+
# Specifies the network type for the instance profile. A value of `IPV4`
|
2003
|
+
# represents an instance profile with IPv4 network type and only
|
2004
|
+
# supports IPv4 addressing. A value of `IPV6` represents an instance
|
2005
|
+
# profile with IPv6 network type and only supports IPv6 addressing. A
|
2006
|
+
# value of `DUAL` represents an instance profile with dual network type
|
2007
|
+
# that supports IPv4 and IPv6 addressing.
|
2008
|
+
#
|
2009
|
+
# @option params [String] :instance_profile_name
|
2010
|
+
# A user-friendly name for the instance profile.
|
2011
|
+
#
|
2012
|
+
# @option params [String] :description
|
2013
|
+
# A user-friendly description of the instance profile.
|
2014
|
+
#
|
2015
|
+
# @option params [String] :subnet_group_identifier
|
2016
|
+
# A subnet group to associate with the instance profile.
|
2017
|
+
#
|
2018
|
+
# @option params [Array<String>] :vpc_security_groups
|
2019
|
+
# Specifies the VPC security group names to be used with the instance
|
2020
|
+
# profile. The VPC security group must work with the VPC containing the
|
2021
|
+
# instance profile.
|
2022
|
+
#
|
2023
|
+
# @return [Types::CreateInstanceProfileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2024
|
+
#
|
2025
|
+
# * {Types::CreateInstanceProfileResponse#instance_profile #instance_profile} => Types::InstanceProfile
|
2026
|
+
#
|
2027
|
+
# @example Request syntax with placeholder values
|
2028
|
+
#
|
2029
|
+
# resp = client.create_instance_profile({
|
2030
|
+
# availability_zone: "String",
|
2031
|
+
# kms_key_arn: "String",
|
2032
|
+
# publicly_accessible: false,
|
2033
|
+
# tags: [
|
2034
|
+
# {
|
2035
|
+
# key: "String",
|
2036
|
+
# value: "String",
|
2037
|
+
# resource_arn: "String",
|
2038
|
+
# },
|
2039
|
+
# ],
|
2040
|
+
# network_type: "String",
|
2041
|
+
# instance_profile_name: "String",
|
2042
|
+
# description: "String",
|
2043
|
+
# subnet_group_identifier: "String",
|
2044
|
+
# vpc_security_groups: ["String"],
|
2045
|
+
# })
|
2046
|
+
#
|
2047
|
+
# @example Response structure
|
2048
|
+
#
|
2049
|
+
# resp.instance_profile.instance_profile_arn #=> String
|
2050
|
+
# resp.instance_profile.availability_zone #=> String
|
2051
|
+
# resp.instance_profile.kms_key_arn #=> String
|
2052
|
+
# resp.instance_profile.publicly_accessible #=> Boolean
|
2053
|
+
# resp.instance_profile.network_type #=> String
|
2054
|
+
# resp.instance_profile.instance_profile_name #=> String
|
2055
|
+
# resp.instance_profile.description #=> String
|
2056
|
+
# resp.instance_profile.instance_profile_creation_time #=> Time
|
2057
|
+
# resp.instance_profile.subnet_group_identifier #=> String
|
2058
|
+
# resp.instance_profile.vpc_security_groups #=> Array
|
2059
|
+
# resp.instance_profile.vpc_security_groups[0] #=> String
|
2060
|
+
#
|
2061
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateInstanceProfile AWS API Documentation
|
2062
|
+
#
|
2063
|
+
# @overload create_instance_profile(params = {})
|
2064
|
+
# @param [Hash] params ({})
|
2065
|
+
def create_instance_profile(params = {}, options = {})
|
2066
|
+
req = build_request(:create_instance_profile, params)
|
2067
|
+
req.send_request(options)
|
2068
|
+
end
|
2069
|
+
|
2070
|
+
# Creates the migration project using the specified parameters.
|
2071
|
+
#
|
2072
|
+
# You can run this action only after you create an instance profile and
|
2073
|
+
# data providers using [CreateInstanceProfile][1] and
|
2074
|
+
# [CreateDataProvider][2].
|
2075
|
+
#
|
2076
|
+
#
|
2077
|
+
#
|
2078
|
+
# [1]: https://docs.aws.amazon.com/dms/latest/APIReference/API_CreateInstanceProfile.html
|
2079
|
+
# [2]: https://docs.aws.amazon.com/dms/latest/APIReference/API_CreateDataProvider.html
|
2080
|
+
#
|
2081
|
+
# @option params [String] :migration_project_name
|
2082
|
+
# A user-friendly name for the migration project.
|
2083
|
+
#
|
2084
|
+
# @option params [required, Array<Types::DataProviderDescriptorDefinition>] :source_data_provider_descriptors
|
2085
|
+
# Information about the source data provider, including the name, ARN,
|
2086
|
+
# and Secrets Manager parameters.
|
2087
|
+
#
|
2088
|
+
# @option params [required, Array<Types::DataProviderDescriptorDefinition>] :target_data_provider_descriptors
|
2089
|
+
# Information about the target data provider, including the name, ARN,
|
2090
|
+
# and Amazon Web Services Secrets Manager parameters.
|
2091
|
+
#
|
2092
|
+
# @option params [required, String] :instance_profile_identifier
|
2093
|
+
# The identifier of the associated instance profile. Identifiers must
|
2094
|
+
# begin with a letter and must contain only ASCII letters, digits, and
|
2095
|
+
# hyphens. They can't end with a hyphen, or contain two consecutive
|
2096
|
+
# hyphens.
|
2097
|
+
#
|
2098
|
+
# @option params [String] :transformation_rules
|
2099
|
+
# The settings in JSON format for migration rules. Migration rules make
|
2100
|
+
# it possible for you to change the object names according to the rules
|
2101
|
+
# that you specify. For example, you can change an object name to
|
2102
|
+
# lowercase or uppercase, add or remove a prefix or suffix, or rename
|
2103
|
+
# objects.
|
2104
|
+
#
|
2105
|
+
# @option params [String] :description
|
2106
|
+
# A user-friendly description of the migration project.
|
2107
|
+
#
|
2108
|
+
# @option params [Array<Types::Tag>] :tags
|
2109
|
+
# One or more tags to be assigned to the migration project.
|
2110
|
+
#
|
2111
|
+
# @option params [Types::SCApplicationAttributes] :schema_conversion_application_attributes
|
2112
|
+
# The schema conversion application attributes, including the Amazon S3
|
2113
|
+
# bucket name and Amazon S3 role ARN.
|
2114
|
+
#
|
2115
|
+
# @return [Types::CreateMigrationProjectResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2116
|
+
#
|
2117
|
+
# * {Types::CreateMigrationProjectResponse#migration_project #migration_project} => Types::MigrationProject
|
2118
|
+
#
|
2119
|
+
#
|
2120
|
+
# @example Example: Create Migration Project
|
2121
|
+
#
|
2122
|
+
# # Creates the migration project with the specified parameters.
|
2123
|
+
#
|
2124
|
+
# resp = client.create_migration_project({
|
2125
|
+
# description: "description",
|
2126
|
+
# instance_profile_identifier: "ip-au-17",
|
2127
|
+
# migration_project_name: "my-migration-project",
|
2128
|
+
# schema_conversion_application_attributes: {
|
2129
|
+
# s3_bucket_path: "arn:aws:s3:::mylogin-bucket",
|
2130
|
+
# s3_bucket_role_arn: "arn:aws:iam::012345678901:role/Admin",
|
2131
|
+
# },
|
2132
|
+
# source_data_provider_descriptors: [
|
2133
|
+
# {
|
2134
|
+
# data_provider_identifier: "arn:aws:dms:us-east-1:012345678901:data-provider:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345",
|
2135
|
+
# secrets_manager_access_role_arn: "arn:aws:iam::012345678901:role/myuser-admin-access",
|
2136
|
+
# secrets_manager_secret_id: "arn:aws:secretsmanager:us-east-1:012345678901:secret:myorg/example1/ALL.SOURCE.ORACLE_12-A1B2C3",
|
2137
|
+
# },
|
2138
|
+
# ],
|
2139
|
+
# tags: [
|
2140
|
+
# {
|
2141
|
+
# key: "access",
|
2142
|
+
# value: "authorizedusers",
|
2143
|
+
# },
|
2144
|
+
# ],
|
2145
|
+
# target_data_provider_descriptors: [
|
2146
|
+
# {
|
2147
|
+
# data_provider_identifier: "arn:aws:dms:us-east-1:012345678901:data-provider:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345",
|
2148
|
+
# secrets_manager_access_role_arn: "arn:aws:iam::012345678901:role/myuser-admin-access",
|
2149
|
+
# secrets_manager_secret_id: "arn:aws:secretsmanager:us-east-1:012345678901:secret:myorg/example1/TARGET.postgresql-A1B2C3",
|
2150
|
+
# },
|
2151
|
+
# ],
|
2152
|
+
# transformation_rules: "{\"key0\":\"value0\",\"key1\":\"value1\",\"key2\":\"value2\"}",
|
2153
|
+
# })
|
2154
|
+
#
|
2155
|
+
# resp.to_h outputs the following:
|
2156
|
+
# {
|
2157
|
+
# migration_project: {
|
2158
|
+
# instance_profile_arn: "arn:aws:dms:us-east-1:012345678901:instance-profile:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
2159
|
+
# instance_profile_name: "my-instance-profile",
|
2160
|
+
# migration_project_arn: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
2161
|
+
# migration_project_creation_time: Time.parse("2023-04-19T11:45:15.805253Z"),
|
2162
|
+
# migration_project_name: "my-migration-project",
|
2163
|
+
# schema_conversion_application_attributes: {
|
2164
|
+
# s3_bucket_path: "my-s3-bucket/my_folder",
|
2165
|
+
# s3_bucket_role_arn: "arn:aws:iam::012345678901:role/my-s3role",
|
2166
|
+
# },
|
2167
|
+
# source_data_provider_descriptors: [
|
2168
|
+
# {
|
2169
|
+
# data_provider_arn: "arn:aws:dms:us-east-1:012345678901:data-provider:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
2170
|
+
# data_provider_name: "source-oracle-12",
|
2171
|
+
# secrets_manager_access_role_arn: "arn:aws:iam::012345678901:role/my-access-role",
|
2172
|
+
# secrets_manager_secret_id: "arn:aws:secretsmanager:us-east-1:012345678901:secret:myuser/ALL.SOURCE.ORACLE_12-0123456",
|
2173
|
+
# },
|
2174
|
+
# ],
|
2175
|
+
# target_data_provider_descriptors: [
|
2176
|
+
# {
|
2177
|
+
# data_provider_arn: "arn:aws:dms:us-east-1:012345678901:data-provider:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
2178
|
+
# data_provider_name: "target-dataprovider-3",
|
2179
|
+
# secrets_manager_access_role_arn: "arn:aws:iam::012345678901:role/dmytbon-admin-access",
|
2180
|
+
# secrets_manager_secret_id: "arn:aws:secretsmanager:us-east-1:012345678901:secret:myuser/TARGET.postgresql-0123456",
|
2181
|
+
# },
|
2182
|
+
# ],
|
2183
|
+
# },
|
2184
|
+
# }
|
2185
|
+
#
|
2186
|
+
# @example Request syntax with placeholder values
|
2187
|
+
#
|
2188
|
+
# resp = client.create_migration_project({
|
2189
|
+
# migration_project_name: "String",
|
2190
|
+
# source_data_provider_descriptors: [ # required
|
2191
|
+
# {
|
2192
|
+
# data_provider_identifier: "String", # required
|
2193
|
+
# secrets_manager_secret_id: "String",
|
2194
|
+
# secrets_manager_access_role_arn: "String",
|
2195
|
+
# },
|
2196
|
+
# ],
|
2197
|
+
# target_data_provider_descriptors: [ # required
|
2198
|
+
# {
|
2199
|
+
# data_provider_identifier: "String", # required
|
2200
|
+
# secrets_manager_secret_id: "String",
|
2201
|
+
# secrets_manager_access_role_arn: "String",
|
2202
|
+
# },
|
2203
|
+
# ],
|
2204
|
+
# instance_profile_identifier: "String", # required
|
2205
|
+
# transformation_rules: "String",
|
2206
|
+
# description: "String",
|
2207
|
+
# tags: [
|
2208
|
+
# {
|
2209
|
+
# key: "String",
|
2210
|
+
# value: "String",
|
2211
|
+
# resource_arn: "String",
|
2212
|
+
# },
|
2213
|
+
# ],
|
2214
|
+
# schema_conversion_application_attributes: {
|
2215
|
+
# s3_bucket_path: "String",
|
2216
|
+
# s3_bucket_role_arn: "String",
|
2217
|
+
# },
|
2218
|
+
# })
|
2219
|
+
#
|
2220
|
+
# @example Response structure
|
2221
|
+
#
|
2222
|
+
# resp.migration_project.migration_project_name #=> String
|
2223
|
+
# resp.migration_project.migration_project_arn #=> String
|
2224
|
+
# resp.migration_project.migration_project_creation_time #=> Time
|
2225
|
+
# resp.migration_project.source_data_provider_descriptors #=> Array
|
2226
|
+
# resp.migration_project.source_data_provider_descriptors[0].secrets_manager_secret_id #=> String
|
2227
|
+
# resp.migration_project.source_data_provider_descriptors[0].secrets_manager_access_role_arn #=> String
|
2228
|
+
# resp.migration_project.source_data_provider_descriptors[0].data_provider_name #=> String
|
2229
|
+
# resp.migration_project.source_data_provider_descriptors[0].data_provider_arn #=> String
|
2230
|
+
# resp.migration_project.target_data_provider_descriptors #=> Array
|
2231
|
+
# resp.migration_project.target_data_provider_descriptors[0].secrets_manager_secret_id #=> String
|
2232
|
+
# resp.migration_project.target_data_provider_descriptors[0].secrets_manager_access_role_arn #=> String
|
2233
|
+
# resp.migration_project.target_data_provider_descriptors[0].data_provider_name #=> String
|
2234
|
+
# resp.migration_project.target_data_provider_descriptors[0].data_provider_arn #=> String
|
2235
|
+
# resp.migration_project.instance_profile_arn #=> String
|
2236
|
+
# resp.migration_project.instance_profile_name #=> String
|
2237
|
+
# resp.migration_project.transformation_rules #=> String
|
2238
|
+
# resp.migration_project.description #=> String
|
2239
|
+
# resp.migration_project.schema_conversion_application_attributes.s3_bucket_path #=> String
|
2240
|
+
# resp.migration_project.schema_conversion_application_attributes.s3_bucket_role_arn #=> String
|
2241
|
+
#
|
2242
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateMigrationProject AWS API Documentation
|
2243
|
+
#
|
2244
|
+
# @overload create_migration_project(params = {})
|
2245
|
+
# @param [Hash] params ({})
|
2246
|
+
def create_migration_project(params = {}, options = {})
|
2247
|
+
req = build_request(:create_migration_project, params)
|
2248
|
+
req.send_request(options)
|
2249
|
+
end
|
2250
|
+
|
1767
2251
|
# Creates a configuration that you can later provide to configure and
|
1768
2252
|
# start an DMS Serverless replication. You can also provide options to
|
1769
2253
|
# validate the configuration inputs before you start the replication.
|
@@ -1924,10 +2408,17 @@ module Aws::DatabaseMigrationService
|
|
1924
2408
|
# With the CLI and DMS API][1]. For information on the required
|
1925
2409
|
# permissions, see [IAM Permissions Needed to Use DMS][2].
|
1926
2410
|
#
|
2411
|
+
# <note markdown="1"> If you don't specify a version when creating a replication instance,
|
2412
|
+
# DMS will create the instance using the default engine version. For
|
2413
|
+
# information about the default engine version, see [Release Notes][3].
|
2414
|
+
#
|
2415
|
+
# </note>
|
2416
|
+
#
|
1927
2417
|
#
|
1928
2418
|
#
|
1929
2419
|
# [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Security.html#CHAP_Security.APIRole
|
1930
2420
|
# [2]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Security.html#CHAP_Security.IAMPermissions
|
2421
|
+
# [3]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_ReleaseNotes.html
|
1931
2422
|
#
|
1932
2423
|
# @option params [required, String] :replication_instance_identifier
|
1933
2424
|
# The replication instance identifier. This parameter is stored as a
|
@@ -2009,15 +2500,6 @@ module Aws::DatabaseMigrationService
|
|
2009
2500
|
#
|
2010
2501
|
# Default: `true`
|
2011
2502
|
#
|
2012
|
-
# When `AutoMinorVersionUpgrade` is enabled, DMS uses the current
|
2013
|
-
# default engine version when you create a replication instance. For
|
2014
|
-
# example, if you set `EngineVersion` to a lower version number than the
|
2015
|
-
# current default version, DMS uses the default version.
|
2016
|
-
#
|
2017
|
-
# If `AutoMinorVersionUpgrade` *isn’t* enabled when you create a
|
2018
|
-
# replication instance, DMS uses the engine version specified by the
|
2019
|
-
# `EngineVersion` parameter.
|
2020
|
-
#
|
2021
2503
|
# @option params [Array<Types::Tag>] :tags
|
2022
2504
|
# One or more tags to be assigned to the replication instance.
|
2023
2505
|
#
|
@@ -2422,8 +2904,8 @@ module Aws::DatabaseMigrationService
|
|
2422
2904
|
# Server time example: --cdc-stop-position
|
2423
2905
|
# “server\_time:2018-02-09T12:12:12”
|
2424
2906
|
#
|
2425
|
-
# Commit time example: --cdc-stop-position
|
2426
|
-
# 2018-02-09T12:12:12“
|
2907
|
+
# Commit time example: --cdc-stop-position
|
2908
|
+
# “commit\_time:2018-02-09T12:12:12“
|
2427
2909
|
#
|
2428
2910
|
# @option params [Array<Types::Tag>] :tags
|
2429
2911
|
# One or more tags to be assigned to the replication task.
|
@@ -2663,6 +3145,114 @@ module Aws::DatabaseMigrationService
|
|
2663
3145
|
req.send_request(options)
|
2664
3146
|
end
|
2665
3147
|
|
3148
|
+
# Deletes the specified data provider.
|
3149
|
+
#
|
3150
|
+
# <note markdown="1"> All migration projects associated with the data provider must be
|
3151
|
+
# deleted or modified before you can delete the data provider.
|
3152
|
+
#
|
3153
|
+
# </note>
|
3154
|
+
#
|
3155
|
+
# @option params [required, String] :data_provider_identifier
|
3156
|
+
# The identifier of the data provider to delete.
|
3157
|
+
#
|
3158
|
+
# @return [Types::DeleteDataProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3159
|
+
#
|
3160
|
+
# * {Types::DeleteDataProviderResponse#data_provider #data_provider} => Types::DataProvider
|
3161
|
+
#
|
3162
|
+
#
|
3163
|
+
# @example Example: Delete Data Provider
|
3164
|
+
#
|
3165
|
+
# # Deletes the specified data provider.
|
3166
|
+
#
|
3167
|
+
# resp = client.delete_data_provider({
|
3168
|
+
# data_provider_identifier: "arn:aws:dms:us-east-1:012345678901:data-provider:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345",
|
3169
|
+
# })
|
3170
|
+
#
|
3171
|
+
# resp.to_h outputs the following:
|
3172
|
+
# {
|
3173
|
+
# data_provider: {
|
3174
|
+
# data_provider_arn: "arn:aws:dms:us-east-1:012345678901:data-provider:my-target-data-provider",
|
3175
|
+
# data_provider_creation_time: Time.parse("2023-05-12T10:50:41.988561Z"),
|
3176
|
+
# data_provider_name: "my-target-data-provider",
|
3177
|
+
# engine: "postgres",
|
3178
|
+
# settings: {
|
3179
|
+
# postgre_sql_settings: {
|
3180
|
+
# database_name: "target",
|
3181
|
+
# port: 5432,
|
3182
|
+
# server_name: "postrgesql.0a1b2c3d4e5f.us-east-1.rds.amazonaws.com",
|
3183
|
+
# ssl_mode: "none",
|
3184
|
+
# },
|
3185
|
+
# },
|
3186
|
+
# },
|
3187
|
+
# }
|
3188
|
+
#
|
3189
|
+
# @example Request syntax with placeholder values
|
3190
|
+
#
|
3191
|
+
# resp = client.delete_data_provider({
|
3192
|
+
# data_provider_identifier: "String", # required
|
3193
|
+
# })
|
3194
|
+
#
|
3195
|
+
# @example Response structure
|
3196
|
+
#
|
3197
|
+
# resp.data_provider.data_provider_name #=> String
|
3198
|
+
# resp.data_provider.data_provider_arn #=> String
|
3199
|
+
# resp.data_provider.data_provider_creation_time #=> Time
|
3200
|
+
# resp.data_provider.description #=> String
|
3201
|
+
# resp.data_provider.engine #=> String
|
3202
|
+
# resp.data_provider.settings.redshift_settings.server_name #=> String
|
3203
|
+
# resp.data_provider.settings.redshift_settings.port #=> Integer
|
3204
|
+
# resp.data_provider.settings.redshift_settings.database_name #=> String
|
3205
|
+
# resp.data_provider.settings.postgre_sql_settings.server_name #=> String
|
3206
|
+
# resp.data_provider.settings.postgre_sql_settings.port #=> Integer
|
3207
|
+
# resp.data_provider.settings.postgre_sql_settings.database_name #=> String
|
3208
|
+
# resp.data_provider.settings.postgre_sql_settings.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
|
3209
|
+
# resp.data_provider.settings.postgre_sql_settings.certificate_arn #=> String
|
3210
|
+
# resp.data_provider.settings.my_sql_settings.server_name #=> String
|
3211
|
+
# resp.data_provider.settings.my_sql_settings.port #=> Integer
|
3212
|
+
# resp.data_provider.settings.my_sql_settings.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
|
3213
|
+
# resp.data_provider.settings.my_sql_settings.certificate_arn #=> String
|
3214
|
+
# resp.data_provider.settings.oracle_settings.server_name #=> String
|
3215
|
+
# resp.data_provider.settings.oracle_settings.port #=> Integer
|
3216
|
+
# resp.data_provider.settings.oracle_settings.database_name #=> String
|
3217
|
+
# resp.data_provider.settings.oracle_settings.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
|
3218
|
+
# resp.data_provider.settings.oracle_settings.certificate_arn #=> String
|
3219
|
+
# resp.data_provider.settings.oracle_settings.asm_server #=> String
|
3220
|
+
# resp.data_provider.settings.oracle_settings.secrets_manager_oracle_asm_secret_id #=> String
|
3221
|
+
# resp.data_provider.settings.oracle_settings.secrets_manager_oracle_asm_access_role_arn #=> String
|
3222
|
+
# resp.data_provider.settings.oracle_settings.secrets_manager_security_db_encryption_secret_id #=> String
|
3223
|
+
# resp.data_provider.settings.oracle_settings.secrets_manager_security_db_encryption_access_role_arn #=> String
|
3224
|
+
# resp.data_provider.settings.microsoft_sql_server_settings.server_name #=> String
|
3225
|
+
# resp.data_provider.settings.microsoft_sql_server_settings.port #=> Integer
|
3226
|
+
# resp.data_provider.settings.microsoft_sql_server_settings.database_name #=> String
|
3227
|
+
# resp.data_provider.settings.microsoft_sql_server_settings.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
|
3228
|
+
# resp.data_provider.settings.microsoft_sql_server_settings.certificate_arn #=> String
|
3229
|
+
# resp.data_provider.settings.doc_db_settings.server_name #=> String
|
3230
|
+
# resp.data_provider.settings.doc_db_settings.port #=> Integer
|
3231
|
+
# resp.data_provider.settings.doc_db_settings.database_name #=> String
|
3232
|
+
# resp.data_provider.settings.doc_db_settings.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
|
3233
|
+
# resp.data_provider.settings.doc_db_settings.certificate_arn #=> String
|
3234
|
+
# resp.data_provider.settings.maria_db_settings.server_name #=> String
|
3235
|
+
# resp.data_provider.settings.maria_db_settings.port #=> Integer
|
3236
|
+
# resp.data_provider.settings.maria_db_settings.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
|
3237
|
+
# resp.data_provider.settings.maria_db_settings.certificate_arn #=> String
|
3238
|
+
# resp.data_provider.settings.mongo_db_settings.server_name #=> String
|
3239
|
+
# resp.data_provider.settings.mongo_db_settings.port #=> Integer
|
3240
|
+
# resp.data_provider.settings.mongo_db_settings.database_name #=> String
|
3241
|
+
# resp.data_provider.settings.mongo_db_settings.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
|
3242
|
+
# resp.data_provider.settings.mongo_db_settings.certificate_arn #=> String
|
3243
|
+
# resp.data_provider.settings.mongo_db_settings.auth_type #=> String, one of "no", "password"
|
3244
|
+
# resp.data_provider.settings.mongo_db_settings.auth_source #=> String
|
3245
|
+
# resp.data_provider.settings.mongo_db_settings.auth_mechanism #=> String, one of "default", "mongodb_cr", "scram_sha_1"
|
3246
|
+
#
|
3247
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteDataProvider AWS API Documentation
|
3248
|
+
#
|
3249
|
+
# @overload delete_data_provider(params = {})
|
3250
|
+
# @param [Hash] params ({})
|
3251
|
+
def delete_data_provider(params = {}, options = {})
|
3252
|
+
req = build_request(:delete_data_provider, params)
|
3253
|
+
req.send_request(options)
|
3254
|
+
end
|
3255
|
+
|
2666
3256
|
# Deletes the specified endpoint.
|
2667
3257
|
#
|
2668
3258
|
# <note markdown="1"> All tasks associated with the endpoint must be deleted before you can
|
@@ -3115,6 +3705,140 @@ module Aws::DatabaseMigrationService
|
|
3115
3705
|
req.send_request(options)
|
3116
3706
|
end
|
3117
3707
|
|
3708
|
+
# Deletes the specified instance profile.
|
3709
|
+
#
|
3710
|
+
# <note markdown="1"> All migration projects associated with the instance profile must be
|
3711
|
+
# deleted or modified before you can delete the instance profile.
|
3712
|
+
#
|
3713
|
+
# </note>
|
3714
|
+
#
|
3715
|
+
# @option params [required, String] :instance_profile_identifier
|
3716
|
+
# The identifier of the instance profile to delete.
|
3717
|
+
#
|
3718
|
+
# @return [Types::DeleteInstanceProfileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3719
|
+
#
|
3720
|
+
# * {Types::DeleteInstanceProfileResponse#instance_profile #instance_profile} => Types::InstanceProfile
|
3721
|
+
#
|
3722
|
+
# @example Request syntax with placeholder values
|
3723
|
+
#
|
3724
|
+
# resp = client.delete_instance_profile({
|
3725
|
+
# instance_profile_identifier: "String", # required
|
3726
|
+
# })
|
3727
|
+
#
|
3728
|
+
# @example Response structure
|
3729
|
+
#
|
3730
|
+
# resp.instance_profile.instance_profile_arn #=> String
|
3731
|
+
# resp.instance_profile.availability_zone #=> String
|
3732
|
+
# resp.instance_profile.kms_key_arn #=> String
|
3733
|
+
# resp.instance_profile.publicly_accessible #=> Boolean
|
3734
|
+
# resp.instance_profile.network_type #=> String
|
3735
|
+
# resp.instance_profile.instance_profile_name #=> String
|
3736
|
+
# resp.instance_profile.description #=> String
|
3737
|
+
# resp.instance_profile.instance_profile_creation_time #=> Time
|
3738
|
+
# resp.instance_profile.subnet_group_identifier #=> String
|
3739
|
+
# resp.instance_profile.vpc_security_groups #=> Array
|
3740
|
+
# resp.instance_profile.vpc_security_groups[0] #=> String
|
3741
|
+
#
|
3742
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteInstanceProfile AWS API Documentation
|
3743
|
+
#
|
3744
|
+
# @overload delete_instance_profile(params = {})
|
3745
|
+
# @param [Hash] params ({})
|
3746
|
+
def delete_instance_profile(params = {}, options = {})
|
3747
|
+
req = build_request(:delete_instance_profile, params)
|
3748
|
+
req.send_request(options)
|
3749
|
+
end
|
3750
|
+
|
3751
|
+
# Deletes the specified migration project.
|
3752
|
+
#
|
3753
|
+
# <note markdown="1"> The migration project must be closed before you can delete it.
|
3754
|
+
#
|
3755
|
+
# </note>
|
3756
|
+
#
|
3757
|
+
# @option params [required, String] :migration_project_identifier
|
3758
|
+
# The name or Amazon Resource Name (ARN) of the migration project to
|
3759
|
+
# delete.
|
3760
|
+
#
|
3761
|
+
# @return [Types::DeleteMigrationProjectResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3762
|
+
#
|
3763
|
+
# * {Types::DeleteMigrationProjectResponse#migration_project #migration_project} => Types::MigrationProject
|
3764
|
+
#
|
3765
|
+
#
|
3766
|
+
# @example Example: Delete Migration Project
|
3767
|
+
#
|
3768
|
+
# # Deletes the specified migration project.
|
3769
|
+
#
|
3770
|
+
# resp = client.delete_migration_project({
|
3771
|
+
# migration_project_identifier: "arn:aws:dms:us-east-1:012345678901:migration-project:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345",
|
3772
|
+
# })
|
3773
|
+
#
|
3774
|
+
# resp.to_h outputs the following:
|
3775
|
+
# {
|
3776
|
+
# migration_project: {
|
3777
|
+
# instance_profile_arn: "arn:aws:dms:us-east-1:012345678901:instance-profile:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
3778
|
+
# instance_profile_name: "my-instance-profile",
|
3779
|
+
# migration_project_arn: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
3780
|
+
# migration_project_creation_time: Time.parse("2023-04-19T11:45:15.805253Z"),
|
3781
|
+
# migration_project_name: "my-migration-project",
|
3782
|
+
# schema_conversion_application_attributes: {
|
3783
|
+
# s3_bucket_path: "my-s3-bucket/my_folder",
|
3784
|
+
# s3_bucket_role_arn: "arn:aws:iam::012345678901:role/my-s3role",
|
3785
|
+
# },
|
3786
|
+
# source_data_provider_descriptors: [
|
3787
|
+
# {
|
3788
|
+
# data_provider_arn: "arn:aws:dms:us-east-1:012345678901:data-provider:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
3789
|
+
# data_provider_name: "all-source-oracle-12",
|
3790
|
+
# secrets_manager_access_role_arn: "arn:aws:iam::012345678901:role/my-access-role",
|
3791
|
+
# secrets_manager_secret_id: "arn:aws:secretsmanager:us-east-1:012345678901:secret:myuser/ALL.SOURCE.ORACLE_12-0123456",
|
3792
|
+
# },
|
3793
|
+
# ],
|
3794
|
+
# target_data_provider_descriptors: [
|
3795
|
+
# {
|
3796
|
+
# data_provider_arn: "arn:aws:dms:us-east-1:012345678901:data-provider:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
3797
|
+
# data_provider_name: "sde-obilyns-dataprovider-3",
|
3798
|
+
# secrets_manager_access_role_arn: "arn:aws:iam::437223687239:role/dmytbon-admin-access",
|
3799
|
+
# secrets_manager_secret_id: "arn:aws:secretsmanager:us-east-1:012345678901:secret:myuser/TARGET.postgresql-0123456",
|
3800
|
+
# },
|
3801
|
+
# ],
|
3802
|
+
# },
|
3803
|
+
# }
|
3804
|
+
#
|
3805
|
+
# @example Request syntax with placeholder values
|
3806
|
+
#
|
3807
|
+
# resp = client.delete_migration_project({
|
3808
|
+
# migration_project_identifier: "String", # required
|
3809
|
+
# })
|
3810
|
+
#
|
3811
|
+
# @example Response structure
|
3812
|
+
#
|
3813
|
+
# resp.migration_project.migration_project_name #=> String
|
3814
|
+
# resp.migration_project.migration_project_arn #=> String
|
3815
|
+
# resp.migration_project.migration_project_creation_time #=> Time
|
3816
|
+
# resp.migration_project.source_data_provider_descriptors #=> Array
|
3817
|
+
# resp.migration_project.source_data_provider_descriptors[0].secrets_manager_secret_id #=> String
|
3818
|
+
# resp.migration_project.source_data_provider_descriptors[0].secrets_manager_access_role_arn #=> String
|
3819
|
+
# resp.migration_project.source_data_provider_descriptors[0].data_provider_name #=> String
|
3820
|
+
# resp.migration_project.source_data_provider_descriptors[0].data_provider_arn #=> String
|
3821
|
+
# resp.migration_project.target_data_provider_descriptors #=> Array
|
3822
|
+
# resp.migration_project.target_data_provider_descriptors[0].secrets_manager_secret_id #=> String
|
3823
|
+
# resp.migration_project.target_data_provider_descriptors[0].secrets_manager_access_role_arn #=> String
|
3824
|
+
# resp.migration_project.target_data_provider_descriptors[0].data_provider_name #=> String
|
3825
|
+
# resp.migration_project.target_data_provider_descriptors[0].data_provider_arn #=> String
|
3826
|
+
# resp.migration_project.instance_profile_arn #=> String
|
3827
|
+
# resp.migration_project.instance_profile_name #=> String
|
3828
|
+
# resp.migration_project.transformation_rules #=> String
|
3829
|
+
# resp.migration_project.description #=> String
|
3830
|
+
# resp.migration_project.schema_conversion_application_attributes.s3_bucket_path #=> String
|
3831
|
+
# resp.migration_project.schema_conversion_application_attributes.s3_bucket_role_arn #=> String
|
3832
|
+
#
|
3833
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteMigrationProject AWS API Documentation
|
3834
|
+
#
|
3835
|
+
# @overload delete_migration_project(params = {})
|
3836
|
+
# @param [Hash] params ({})
|
3837
|
+
def delete_migration_project(params = {}, options = {})
|
3838
|
+
req = build_request(:delete_migration_project, params)
|
3839
|
+
req.send_request(options)
|
3840
|
+
end
|
3841
|
+
|
3118
3842
|
# Deletes an DMS Serverless replication configuration. This effectively
|
3119
3843
|
# deprovisions any and all replications that use this configuration. You
|
3120
3844
|
# can't delete the configuration for an DMS Serverless replication that
|
@@ -3812,24 +4536,214 @@ module Aws::DatabaseMigrationService
|
|
3812
4536
|
req.send_request(options)
|
3813
4537
|
end
|
3814
4538
|
|
3815
|
-
# Returns
|
3816
|
-
# when you create an endpoint for a specific database engine.
|
4539
|
+
# Returns configuration parameters for a schema conversion project.
|
3817
4540
|
#
|
3818
|
-
# @option params [required, String] :
|
3819
|
-
# The
|
4541
|
+
# @option params [required, String] :migration_project_identifier
|
4542
|
+
# The name or Amazon Resource Name (ARN) for the schema conversion
|
4543
|
+
# project to describe.
|
3820
4544
|
#
|
3821
|
-
# @
|
3822
|
-
# The maximum number of records to include in the response. If more
|
3823
|
-
# records exist than the specified `MaxRecords` value, a pagination
|
3824
|
-
# token called a marker is included in the response so that the
|
3825
|
-
# remaining results can be retrieved.
|
4545
|
+
# @return [Types::DescribeConversionConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3826
4546
|
#
|
3827
|
-
#
|
3828
|
-
#
|
3829
|
-
# parameter is specified, the response includes only records beyond the
|
3830
|
-
# marker, up to the value specified by `MaxRecords`.
|
4547
|
+
# * {Types::DescribeConversionConfigurationResponse#migration_project_identifier #migration_project_identifier} => String
|
4548
|
+
# * {Types::DescribeConversionConfigurationResponse#conversion_configuration #conversion_configuration} => String
|
3831
4549
|
#
|
3832
|
-
#
|
4550
|
+
#
|
4551
|
+
# @example Example: Describe Conversion Configuration
|
4552
|
+
#
|
4553
|
+
# # Returns configuration parameters for a schema conversion project.
|
4554
|
+
#
|
4555
|
+
# resp = client.describe_conversion_configuration({
|
4556
|
+
# migration_project_identifier: "arn:aws:dms:us-east-1:012345678901:migration-project:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345",
|
4557
|
+
# })
|
4558
|
+
#
|
4559
|
+
# resp.to_h outputs the following:
|
4560
|
+
# {
|
4561
|
+
# conversion_configuration: "{\"Common project settings\":{\"ShowSeverityLevelInSql\":\"CRITICAL\"},\"ORACLE_TO_POSTGRESQL\" : {\"ToTimeZone\":false,\"LastDayBuiltinFunctionOracle\":false, \"NextDayBuiltinFunctionOracle\":false,\"ConvertProceduresToFunction\":false,\"NvlBuiltinFunctionOracle\":false,\"DbmsAssertBuiltinFunctionOracle\":false}}",
|
4562
|
+
# migration_project_identifier: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
4563
|
+
# }
|
4564
|
+
#
|
4565
|
+
# @example Request syntax with placeholder values
|
4566
|
+
#
|
4567
|
+
# resp = client.describe_conversion_configuration({
|
4568
|
+
# migration_project_identifier: "String", # required
|
4569
|
+
# })
|
4570
|
+
#
|
4571
|
+
# @example Response structure
|
4572
|
+
#
|
4573
|
+
# resp.migration_project_identifier #=> String
|
4574
|
+
# resp.conversion_configuration #=> String
|
4575
|
+
#
|
4576
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeConversionConfiguration AWS API Documentation
|
4577
|
+
#
|
4578
|
+
# @overload describe_conversion_configuration(params = {})
|
4579
|
+
# @param [Hash] params ({})
|
4580
|
+
def describe_conversion_configuration(params = {}, options = {})
|
4581
|
+
req = build_request(:describe_conversion_configuration, params)
|
4582
|
+
req.send_request(options)
|
4583
|
+
end
|
4584
|
+
|
4585
|
+
# Returns a paginated list of data providers for your account in the
|
4586
|
+
# current region.
|
4587
|
+
#
|
4588
|
+
# @option params [Array<Types::Filter>] :filters
|
4589
|
+
# Filters applied to the data providers described in the form of
|
4590
|
+
# key-value pairs.
|
4591
|
+
#
|
4592
|
+
# @option params [Integer] :max_records
|
4593
|
+
# The maximum number of records to include in the response. If more
|
4594
|
+
# records exist than the specified `MaxRecords` value, DMS includes a
|
4595
|
+
# pagination token in the response so that you can retrieve the
|
4596
|
+
# remaining results.
|
4597
|
+
#
|
4598
|
+
# @option params [String] :marker
|
4599
|
+
# Specifies the unique pagination token that makes it possible to
|
4600
|
+
# display the next page of results. If this parameter is specified, the
|
4601
|
+
# response includes only records beyond the marker, up to the value
|
4602
|
+
# specified by `MaxRecords`.
|
4603
|
+
#
|
4604
|
+
# If `Marker` is returned by a previous response, there are more results
|
4605
|
+
# available. The value of `Marker` is a unique pagination token for each
|
4606
|
+
# page. To retrieve the next page, make the call again using the
|
4607
|
+
# returned token and keeping all other arguments unchanged.
|
4608
|
+
#
|
4609
|
+
# @return [Types::DescribeDataProvidersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4610
|
+
#
|
4611
|
+
# * {Types::DescribeDataProvidersResponse#marker #marker} => String
|
4612
|
+
# * {Types::DescribeDataProvidersResponse#data_providers #data_providers} => Array<Types::DataProvider>
|
4613
|
+
#
|
4614
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4615
|
+
#
|
4616
|
+
#
|
4617
|
+
# @example Example: Describe Data Providers
|
4618
|
+
#
|
4619
|
+
# resp = client.describe_data_providers({
|
4620
|
+
# filters: [
|
4621
|
+
# {
|
4622
|
+
# name: "data-provider-identifier",
|
4623
|
+
# values: [
|
4624
|
+
# "arn:aws:dms:us-east-1:012345678901:data-provider:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345",
|
4625
|
+
# ],
|
4626
|
+
# },
|
4627
|
+
# ],
|
4628
|
+
# marker: "EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345",
|
4629
|
+
# max_records: 20,
|
4630
|
+
# })
|
4631
|
+
#
|
4632
|
+
# resp.to_h outputs the following:
|
4633
|
+
# {
|
4634
|
+
# data_providers: [
|
4635
|
+
# {
|
4636
|
+
# data_provider_arn: "arn:aws:dms:us-east-1:012345678901:data-provider:my-target-data-provider",
|
4637
|
+
# data_provider_creation_time: Time.parse("2023-05-12T10:50:41.988561Z"),
|
4638
|
+
# data_provider_name: "my-target-data-provider",
|
4639
|
+
# engine: "postgres",
|
4640
|
+
# settings: {
|
4641
|
+
# postgre_sql_settings: {
|
4642
|
+
# database_name: "target",
|
4643
|
+
# port: 5432,
|
4644
|
+
# server_name: "postrgesql.0a1b2c3d4e5f.us-east-1.rds.amazonaws.com",
|
4645
|
+
# ssl_mode: "none",
|
4646
|
+
# },
|
4647
|
+
# },
|
4648
|
+
# },
|
4649
|
+
# ],
|
4650
|
+
# marker: "EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345",
|
4651
|
+
# }
|
4652
|
+
#
|
4653
|
+
# @example Request syntax with placeholder values
|
4654
|
+
#
|
4655
|
+
# resp = client.describe_data_providers({
|
4656
|
+
# filters: [
|
4657
|
+
# {
|
4658
|
+
# name: "String", # required
|
4659
|
+
# values: ["String"], # required
|
4660
|
+
# },
|
4661
|
+
# ],
|
4662
|
+
# max_records: 1,
|
4663
|
+
# marker: "String",
|
4664
|
+
# })
|
4665
|
+
#
|
4666
|
+
# @example Response structure
|
4667
|
+
#
|
4668
|
+
# resp.marker #=> String
|
4669
|
+
# resp.data_providers #=> Array
|
4670
|
+
# resp.data_providers[0].data_provider_name #=> String
|
4671
|
+
# resp.data_providers[0].data_provider_arn #=> String
|
4672
|
+
# resp.data_providers[0].data_provider_creation_time #=> Time
|
4673
|
+
# resp.data_providers[0].description #=> String
|
4674
|
+
# resp.data_providers[0].engine #=> String
|
4675
|
+
# resp.data_providers[0].settings.redshift_settings.server_name #=> String
|
4676
|
+
# resp.data_providers[0].settings.redshift_settings.port #=> Integer
|
4677
|
+
# resp.data_providers[0].settings.redshift_settings.database_name #=> String
|
4678
|
+
# resp.data_providers[0].settings.postgre_sql_settings.server_name #=> String
|
4679
|
+
# resp.data_providers[0].settings.postgre_sql_settings.port #=> Integer
|
4680
|
+
# resp.data_providers[0].settings.postgre_sql_settings.database_name #=> String
|
4681
|
+
# resp.data_providers[0].settings.postgre_sql_settings.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
|
4682
|
+
# resp.data_providers[0].settings.postgre_sql_settings.certificate_arn #=> String
|
4683
|
+
# resp.data_providers[0].settings.my_sql_settings.server_name #=> String
|
4684
|
+
# resp.data_providers[0].settings.my_sql_settings.port #=> Integer
|
4685
|
+
# resp.data_providers[0].settings.my_sql_settings.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
|
4686
|
+
# resp.data_providers[0].settings.my_sql_settings.certificate_arn #=> String
|
4687
|
+
# resp.data_providers[0].settings.oracle_settings.server_name #=> String
|
4688
|
+
# resp.data_providers[0].settings.oracle_settings.port #=> Integer
|
4689
|
+
# resp.data_providers[0].settings.oracle_settings.database_name #=> String
|
4690
|
+
# resp.data_providers[0].settings.oracle_settings.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
|
4691
|
+
# resp.data_providers[0].settings.oracle_settings.certificate_arn #=> String
|
4692
|
+
# resp.data_providers[0].settings.oracle_settings.asm_server #=> String
|
4693
|
+
# resp.data_providers[0].settings.oracle_settings.secrets_manager_oracle_asm_secret_id #=> String
|
4694
|
+
# resp.data_providers[0].settings.oracle_settings.secrets_manager_oracle_asm_access_role_arn #=> String
|
4695
|
+
# resp.data_providers[0].settings.oracle_settings.secrets_manager_security_db_encryption_secret_id #=> String
|
4696
|
+
# resp.data_providers[0].settings.oracle_settings.secrets_manager_security_db_encryption_access_role_arn #=> String
|
4697
|
+
# resp.data_providers[0].settings.microsoft_sql_server_settings.server_name #=> String
|
4698
|
+
# resp.data_providers[0].settings.microsoft_sql_server_settings.port #=> Integer
|
4699
|
+
# resp.data_providers[0].settings.microsoft_sql_server_settings.database_name #=> String
|
4700
|
+
# resp.data_providers[0].settings.microsoft_sql_server_settings.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
|
4701
|
+
# resp.data_providers[0].settings.microsoft_sql_server_settings.certificate_arn #=> String
|
4702
|
+
# resp.data_providers[0].settings.doc_db_settings.server_name #=> String
|
4703
|
+
# resp.data_providers[0].settings.doc_db_settings.port #=> Integer
|
4704
|
+
# resp.data_providers[0].settings.doc_db_settings.database_name #=> String
|
4705
|
+
# resp.data_providers[0].settings.doc_db_settings.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
|
4706
|
+
# resp.data_providers[0].settings.doc_db_settings.certificate_arn #=> String
|
4707
|
+
# resp.data_providers[0].settings.maria_db_settings.server_name #=> String
|
4708
|
+
# resp.data_providers[0].settings.maria_db_settings.port #=> Integer
|
4709
|
+
# resp.data_providers[0].settings.maria_db_settings.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
|
4710
|
+
# resp.data_providers[0].settings.maria_db_settings.certificate_arn #=> String
|
4711
|
+
# resp.data_providers[0].settings.mongo_db_settings.server_name #=> String
|
4712
|
+
# resp.data_providers[0].settings.mongo_db_settings.port #=> Integer
|
4713
|
+
# resp.data_providers[0].settings.mongo_db_settings.database_name #=> String
|
4714
|
+
# resp.data_providers[0].settings.mongo_db_settings.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
|
4715
|
+
# resp.data_providers[0].settings.mongo_db_settings.certificate_arn #=> String
|
4716
|
+
# resp.data_providers[0].settings.mongo_db_settings.auth_type #=> String, one of "no", "password"
|
4717
|
+
# resp.data_providers[0].settings.mongo_db_settings.auth_source #=> String
|
4718
|
+
# resp.data_providers[0].settings.mongo_db_settings.auth_mechanism #=> String, one of "default", "mongodb_cr", "scram_sha_1"
|
4719
|
+
#
|
4720
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeDataProviders AWS API Documentation
|
4721
|
+
#
|
4722
|
+
# @overload describe_data_providers(params = {})
|
4723
|
+
# @param [Hash] params ({})
|
4724
|
+
def describe_data_providers(params = {}, options = {})
|
4725
|
+
req = build_request(:describe_data_providers, params)
|
4726
|
+
req.send_request(options)
|
4727
|
+
end
|
4728
|
+
|
4729
|
+
# Returns information about the possible endpoint settings available
|
4730
|
+
# when you create an endpoint for a specific database engine.
|
4731
|
+
#
|
4732
|
+
# @option params [required, String] :engine_name
|
4733
|
+
# The database engine used for your source or target endpoint.
|
4734
|
+
#
|
4735
|
+
# @option params [Integer] :max_records
|
4736
|
+
# The maximum number of records to include in the response. If more
|
4737
|
+
# records exist than the specified `MaxRecords` value, a pagination
|
4738
|
+
# token called a marker is included in the response so that the
|
4739
|
+
# remaining results can be retrieved.
|
4740
|
+
#
|
4741
|
+
# @option params [String] :marker
|
4742
|
+
# An optional pagination token provided by a previous request. If this
|
4743
|
+
# parameter is specified, the response includes only records beyond the
|
4744
|
+
# marker, up to the value specified by `MaxRecords`.
|
4745
|
+
#
|
4746
|
+
# @return [Types::DescribeEndpointSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3833
4747
|
#
|
3834
4748
|
# * {Types::DescribeEndpointSettingsResponse#marker #marker} => String
|
3835
4749
|
# * {Types::DescribeEndpointSettingsResponse#endpoint_settings #endpoint_settings} => Array<Types::EndpointSetting>
|
@@ -4620,6 +5534,107 @@ module Aws::DatabaseMigrationService
|
|
4620
5534
|
req.send_request(options)
|
4621
5535
|
end
|
4622
5536
|
|
5537
|
+
# Returns a paginated list of extension pack associations for the
|
5538
|
+
# specified migration project. An extension pack is an add-on module
|
5539
|
+
# that emulates functions present in a source database that are required
|
5540
|
+
# when converting objects to the target database.
|
5541
|
+
#
|
5542
|
+
# @option params [required, String] :migration_project_identifier
|
5543
|
+
# The name or Amazon Resource Name (ARN) for the migration project.
|
5544
|
+
#
|
5545
|
+
# @option params [Array<Types::Filter>] :filters
|
5546
|
+
# Filters applied to the extension pack associations described in the
|
5547
|
+
# form of key-value pairs.
|
5548
|
+
#
|
5549
|
+
# @option params [String] :marker
|
5550
|
+
# Specifies the unique pagination token that makes it possible to
|
5551
|
+
# display the next page of results. If this parameter is specified, the
|
5552
|
+
# response includes only records beyond the marker, up to the value
|
5553
|
+
# specified by `MaxRecords`.
|
5554
|
+
#
|
5555
|
+
# If `Marker` is returned by a previous response, there are more results
|
5556
|
+
# available. The value of `Marker` is a unique pagination token for each
|
5557
|
+
# page. To retrieve the next page, make the call again using the
|
5558
|
+
# returned token and keeping all other arguments unchanged.
|
5559
|
+
#
|
5560
|
+
# @option params [Integer] :max_records
|
5561
|
+
# The maximum number of records to include in the response. If more
|
5562
|
+
# records exist than the specified `MaxRecords` value, DMS includes a
|
5563
|
+
# pagination token in the response so that you can retrieve the
|
5564
|
+
# remaining results.
|
5565
|
+
#
|
5566
|
+
# @return [Types::DescribeExtensionPackAssociationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5567
|
+
#
|
5568
|
+
# * {Types::DescribeExtensionPackAssociationsResponse#marker #marker} => String
|
5569
|
+
# * {Types::DescribeExtensionPackAssociationsResponse#requests #requests} => Array<Types::SchemaConversionRequest>
|
5570
|
+
#
|
5571
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
5572
|
+
#
|
5573
|
+
#
|
5574
|
+
# @example Example: Describe Extension Pack Associations
|
5575
|
+
#
|
5576
|
+
# # Returns a paginated list of extension pack associations for the specified migration project.
|
5577
|
+
#
|
5578
|
+
# resp = client.describe_extension_pack_associations({
|
5579
|
+
# filters: [
|
5580
|
+
# {
|
5581
|
+
# name: "instance-profile-identifier",
|
5582
|
+
# values: [
|
5583
|
+
# "arn:aws:dms:us-east-1:012345678901:instance-profile:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345",
|
5584
|
+
# ],
|
5585
|
+
# },
|
5586
|
+
# ],
|
5587
|
+
# marker: "0123456789abcdefghijklmnopqrs",
|
5588
|
+
# max_records: 20,
|
5589
|
+
# migration_project_identifier: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
5590
|
+
# })
|
5591
|
+
#
|
5592
|
+
# resp.to_h outputs the following:
|
5593
|
+
# {
|
5594
|
+
# marker: "0123456789abcdefghijklmnopqrs",
|
5595
|
+
# requests: [
|
5596
|
+
# {
|
5597
|
+
# migration_project_arn: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
5598
|
+
# request_identifier: "01234567-89ab-cdef-0123-456789abcdef",
|
5599
|
+
# status: "SUCCESS",
|
5600
|
+
# },
|
5601
|
+
# ],
|
5602
|
+
# }
|
5603
|
+
#
|
5604
|
+
# @example Request syntax with placeholder values
|
5605
|
+
#
|
5606
|
+
# resp = client.describe_extension_pack_associations({
|
5607
|
+
# migration_project_identifier: "String", # required
|
5608
|
+
# filters: [
|
5609
|
+
# {
|
5610
|
+
# name: "String", # required
|
5611
|
+
# values: ["String"], # required
|
5612
|
+
# },
|
5613
|
+
# ],
|
5614
|
+
# marker: "String",
|
5615
|
+
# max_records: 1,
|
5616
|
+
# })
|
5617
|
+
#
|
5618
|
+
# @example Response structure
|
5619
|
+
#
|
5620
|
+
# resp.marker #=> String
|
5621
|
+
# resp.requests #=> Array
|
5622
|
+
# resp.requests[0].status #=> String
|
5623
|
+
# resp.requests[0].request_identifier #=> String
|
5624
|
+
# resp.requests[0].migration_project_arn #=> String
|
5625
|
+
# resp.requests[0].error.default_error_details.message #=> String
|
5626
|
+
# resp.requests[0].export_sql_details.s3_object_key #=> String
|
5627
|
+
# resp.requests[0].export_sql_details.object_url #=> String
|
5628
|
+
#
|
5629
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeExtensionPackAssociations AWS API Documentation
|
5630
|
+
#
|
5631
|
+
# @overload describe_extension_pack_associations(params = {})
|
5632
|
+
# @param [Hash] params ({})
|
5633
|
+
def describe_extension_pack_associations(params = {}, options = {})
|
5634
|
+
req = build_request(:describe_extension_pack_associations, params)
|
5635
|
+
req.send_request(options)
|
5636
|
+
end
|
5637
|
+
|
4623
5638
|
# Returns a list of the Fleet Advisor collectors in your account.
|
4624
5639
|
#
|
4625
5640
|
# @option params [Array<Types::Filter>] :filters
|
@@ -4821,116 +5836,802 @@ module Aws::DatabaseMigrationService
|
|
4821
5836
|
# Provides descriptions of the schemas discovered by your Fleet Advisor
|
4822
5837
|
# collectors.
|
4823
5838
|
#
|
4824
|
-
# @option params [Array<Types::Filter>] :filters
|
4825
|
-
# If you specify any of the following filters, the output includes
|
4826
|
-
# information for only those schema objects that meet the filter
|
4827
|
-
# criteria:
|
5839
|
+
# @option params [Array<Types::Filter>] :filters
|
5840
|
+
# If you specify any of the following filters, the output includes
|
5841
|
+
# information for only those schema objects that meet the filter
|
5842
|
+
# criteria:
|
5843
|
+
#
|
5844
|
+
# * `schema-id` – The ID of the schema, for example
|
5845
|
+
# `d4610ac5-e323-4ad9-bc50-eaf7249dfe9d`.
|
5846
|
+
#
|
5847
|
+
# ^
|
5848
|
+
#
|
5849
|
+
# Example: `describe-fleet-advisor-schema-object-summary --filter
|
5850
|
+
# Name="schema-id",Values="50"`
|
5851
|
+
#
|
5852
|
+
# @option params [Integer] :max_records
|
5853
|
+
# Sets the maximum number of records returned in the response.
|
5854
|
+
#
|
5855
|
+
# @option params [String] :next_token
|
5856
|
+
# If `NextToken` is returned by a previous response, there are more
|
5857
|
+
# results available. The value of `NextToken` is a unique pagination
|
5858
|
+
# token for each page. Make the call again using the returned token to
|
5859
|
+
# retrieve the next page. Keep all other arguments unchanged.
|
5860
|
+
#
|
5861
|
+
# @return [Types::DescribeFleetAdvisorSchemaObjectSummaryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5862
|
+
#
|
5863
|
+
# * {Types::DescribeFleetAdvisorSchemaObjectSummaryResponse#fleet_advisor_schema_objects #fleet_advisor_schema_objects} => Array<Types::FleetAdvisorSchemaObjectResponse>
|
5864
|
+
# * {Types::DescribeFleetAdvisorSchemaObjectSummaryResponse#next_token #next_token} => String
|
5865
|
+
#
|
5866
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
5867
|
+
#
|
5868
|
+
# @example Request syntax with placeholder values
|
5869
|
+
#
|
5870
|
+
# resp = client.describe_fleet_advisor_schema_object_summary({
|
5871
|
+
# filters: [
|
5872
|
+
# {
|
5873
|
+
# name: "String", # required
|
5874
|
+
# values: ["String"], # required
|
5875
|
+
# },
|
5876
|
+
# ],
|
5877
|
+
# max_records: 1,
|
5878
|
+
# next_token: "String",
|
5879
|
+
# })
|
5880
|
+
#
|
5881
|
+
# @example Response structure
|
5882
|
+
#
|
5883
|
+
# resp.fleet_advisor_schema_objects #=> Array
|
5884
|
+
# resp.fleet_advisor_schema_objects[0].schema_id #=> String
|
5885
|
+
# resp.fleet_advisor_schema_objects[0].object_type #=> String
|
5886
|
+
# resp.fleet_advisor_schema_objects[0].number_of_objects #=> Integer
|
5887
|
+
# resp.fleet_advisor_schema_objects[0].code_line_count #=> Integer
|
5888
|
+
# resp.fleet_advisor_schema_objects[0].code_size #=> Integer
|
5889
|
+
# resp.next_token #=> String
|
5890
|
+
#
|
5891
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeFleetAdvisorSchemaObjectSummary AWS API Documentation
|
5892
|
+
#
|
5893
|
+
# @overload describe_fleet_advisor_schema_object_summary(params = {})
|
5894
|
+
# @param [Hash] params ({})
|
5895
|
+
def describe_fleet_advisor_schema_object_summary(params = {}, options = {})
|
5896
|
+
req = build_request(:describe_fleet_advisor_schema_object_summary, params)
|
5897
|
+
req.send_request(options)
|
5898
|
+
end
|
5899
|
+
|
5900
|
+
# Returns a list of schemas detected by Fleet Advisor Collectors in your
|
5901
|
+
# account.
|
5902
|
+
#
|
5903
|
+
# @option params [Array<Types::Filter>] :filters
|
5904
|
+
# If you specify any of the following filters, the output includes
|
5905
|
+
# information for only those schemas that meet the filter criteria:
|
5906
|
+
#
|
5907
|
+
# * `complexity` – The schema's complexity, for example `Simple`.
|
5908
|
+
#
|
5909
|
+
# * `database-id` – The ID of the schema's database.
|
5910
|
+
#
|
5911
|
+
# * `database-ip-address` – The IP address of the schema's database.
|
5912
|
+
#
|
5913
|
+
# * `database-name` – The name of the schema's database.
|
5914
|
+
#
|
5915
|
+
# * `database-engine` – The name of the schema database's engine.
|
5916
|
+
#
|
5917
|
+
# * `original-schema-name` – The name of the schema's database's main
|
5918
|
+
# schema.
|
5919
|
+
#
|
5920
|
+
# * `schema-id` – The ID of the schema, for example `15`.
|
5921
|
+
#
|
5922
|
+
# * `schema-name` – The name of the schema.
|
5923
|
+
#
|
5924
|
+
# * `server-ip-address` – The IP address of the schema database's
|
5925
|
+
# server.
|
5926
|
+
#
|
5927
|
+
# An example is: `describe-fleet-advisor-schemas --filter
|
5928
|
+
# Name="schema-id",Values="50"`
|
5929
|
+
#
|
5930
|
+
# @option params [Integer] :max_records
|
5931
|
+
# Sets the maximum number of records returned in the response.
|
5932
|
+
#
|
5933
|
+
# @option params [String] :next_token
|
5934
|
+
# If `NextToken` is returned by a previous response, there are more
|
5935
|
+
# results available. The value of `NextToken` is a unique pagination
|
5936
|
+
# token for each page. Make the call again using the returned token to
|
5937
|
+
# retrieve the next page. Keep all other arguments unchanged.
|
5938
|
+
#
|
5939
|
+
# @return [Types::DescribeFleetAdvisorSchemasResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5940
|
+
#
|
5941
|
+
# * {Types::DescribeFleetAdvisorSchemasResponse#fleet_advisor_schemas #fleet_advisor_schemas} => Array<Types::SchemaResponse>
|
5942
|
+
# * {Types::DescribeFleetAdvisorSchemasResponse#next_token #next_token} => String
|
5943
|
+
#
|
5944
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
5945
|
+
#
|
5946
|
+
# @example Request syntax with placeholder values
|
5947
|
+
#
|
5948
|
+
# resp = client.describe_fleet_advisor_schemas({
|
5949
|
+
# filters: [
|
5950
|
+
# {
|
5951
|
+
# name: "String", # required
|
5952
|
+
# values: ["String"], # required
|
5953
|
+
# },
|
5954
|
+
# ],
|
5955
|
+
# max_records: 1,
|
5956
|
+
# next_token: "String",
|
5957
|
+
# })
|
5958
|
+
#
|
5959
|
+
# @example Response structure
|
5960
|
+
#
|
5961
|
+
# resp.fleet_advisor_schemas #=> Array
|
5962
|
+
# resp.fleet_advisor_schemas[0].code_line_count #=> Integer
|
5963
|
+
# resp.fleet_advisor_schemas[0].code_size #=> Integer
|
5964
|
+
# resp.fleet_advisor_schemas[0].complexity #=> String
|
5965
|
+
# resp.fleet_advisor_schemas[0].server.server_id #=> String
|
5966
|
+
# resp.fleet_advisor_schemas[0].server.ip_address #=> String
|
5967
|
+
# resp.fleet_advisor_schemas[0].server.server_name #=> String
|
5968
|
+
# resp.fleet_advisor_schemas[0].database_instance.database_id #=> String
|
5969
|
+
# resp.fleet_advisor_schemas[0].database_instance.database_name #=> String
|
5970
|
+
# resp.fleet_advisor_schemas[0].database_instance.database_ip_address #=> String
|
5971
|
+
# resp.fleet_advisor_schemas[0].database_instance.database_engine #=> String
|
5972
|
+
# resp.fleet_advisor_schemas[0].schema_id #=> String
|
5973
|
+
# resp.fleet_advisor_schemas[0].schema_name #=> String
|
5974
|
+
# resp.fleet_advisor_schemas[0].original_schema.schema_id #=> String
|
5975
|
+
# resp.fleet_advisor_schemas[0].original_schema.schema_name #=> String
|
5976
|
+
# resp.fleet_advisor_schemas[0].original_schema.database_id #=> String
|
5977
|
+
# resp.fleet_advisor_schemas[0].original_schema.database_name #=> String
|
5978
|
+
# resp.fleet_advisor_schemas[0].original_schema.database_ip_address #=> String
|
5979
|
+
# resp.fleet_advisor_schemas[0].similarity #=> Float
|
5980
|
+
# resp.next_token #=> String
|
5981
|
+
#
|
5982
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeFleetAdvisorSchemas AWS API Documentation
|
5983
|
+
#
|
5984
|
+
# @overload describe_fleet_advisor_schemas(params = {})
|
5985
|
+
# @param [Hash] params ({})
|
5986
|
+
def describe_fleet_advisor_schemas(params = {}, options = {})
|
5987
|
+
req = build_request(:describe_fleet_advisor_schemas, params)
|
5988
|
+
req.send_request(options)
|
5989
|
+
end
|
5990
|
+
|
5991
|
+
# Returns a paginated list of instance profiles for your account in the
|
5992
|
+
# current region.
|
5993
|
+
#
|
5994
|
+
# @option params [Array<Types::Filter>] :filters
|
5995
|
+
# Filters applied to the instance profiles described in the form of
|
5996
|
+
# key-value pairs.
|
5997
|
+
#
|
5998
|
+
# @option params [Integer] :max_records
|
5999
|
+
# The maximum number of records to include in the response. If more
|
6000
|
+
# records exist than the specified `MaxRecords` value, DMS includes a
|
6001
|
+
# pagination token in the response so that you can retrieve the
|
6002
|
+
# remaining results.
|
6003
|
+
#
|
6004
|
+
# @option params [String] :marker
|
6005
|
+
# Specifies the unique pagination token that makes it possible to
|
6006
|
+
# display the next page of results. If this parameter is specified, the
|
6007
|
+
# response includes only records beyond the marker, up to the value
|
6008
|
+
# specified by `MaxRecords`.
|
6009
|
+
#
|
6010
|
+
# If `Marker` is returned by a previous response, there are more results
|
6011
|
+
# available. The value of `Marker` is a unique pagination token for each
|
6012
|
+
# page. To retrieve the next page, make the call again using the
|
6013
|
+
# returned token and keeping all other arguments unchanged.
|
6014
|
+
#
|
6015
|
+
# @return [Types::DescribeInstanceProfilesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6016
|
+
#
|
6017
|
+
# * {Types::DescribeInstanceProfilesResponse#marker #marker} => String
|
6018
|
+
# * {Types::DescribeInstanceProfilesResponse#instance_profiles #instance_profiles} => Array<Types::InstanceProfile>
|
6019
|
+
#
|
6020
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6021
|
+
#
|
6022
|
+
# @example Request syntax with placeholder values
|
6023
|
+
#
|
6024
|
+
# resp = client.describe_instance_profiles({
|
6025
|
+
# filters: [
|
6026
|
+
# {
|
6027
|
+
# name: "String", # required
|
6028
|
+
# values: ["String"], # required
|
6029
|
+
# },
|
6030
|
+
# ],
|
6031
|
+
# max_records: 1,
|
6032
|
+
# marker: "String",
|
6033
|
+
# })
|
6034
|
+
#
|
6035
|
+
# @example Response structure
|
6036
|
+
#
|
6037
|
+
# resp.marker #=> String
|
6038
|
+
# resp.instance_profiles #=> Array
|
6039
|
+
# resp.instance_profiles[0].instance_profile_arn #=> String
|
6040
|
+
# resp.instance_profiles[0].availability_zone #=> String
|
6041
|
+
# resp.instance_profiles[0].kms_key_arn #=> String
|
6042
|
+
# resp.instance_profiles[0].publicly_accessible #=> Boolean
|
6043
|
+
# resp.instance_profiles[0].network_type #=> String
|
6044
|
+
# resp.instance_profiles[0].instance_profile_name #=> String
|
6045
|
+
# resp.instance_profiles[0].description #=> String
|
6046
|
+
# resp.instance_profiles[0].instance_profile_creation_time #=> Time
|
6047
|
+
# resp.instance_profiles[0].subnet_group_identifier #=> String
|
6048
|
+
# resp.instance_profiles[0].vpc_security_groups #=> Array
|
6049
|
+
# resp.instance_profiles[0].vpc_security_groups[0] #=> String
|
6050
|
+
#
|
6051
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeInstanceProfiles AWS API Documentation
|
6052
|
+
#
|
6053
|
+
# @overload describe_instance_profiles(params = {})
|
6054
|
+
# @param [Hash] params ({})
|
6055
|
+
def describe_instance_profiles(params = {}, options = {})
|
6056
|
+
req = build_request(:describe_instance_profiles, params)
|
6057
|
+
req.send_request(options)
|
6058
|
+
end
|
6059
|
+
|
6060
|
+
# Returns a paginated list of metadata model assessments for your
|
6061
|
+
# account in the current region.
|
6062
|
+
#
|
6063
|
+
# @option params [required, String] :migration_project_identifier
|
6064
|
+
# The name or Amazon Resource Name (ARN) of the migration project.
|
6065
|
+
#
|
6066
|
+
# @option params [Array<Types::Filter>] :filters
|
6067
|
+
# Filters applied to the metadata model assessments described in the
|
6068
|
+
# form of key-value pairs.
|
6069
|
+
#
|
6070
|
+
# @option params [String] :marker
|
6071
|
+
# Specifies the unique pagination token that makes it possible to
|
6072
|
+
# display the next page of results. If this parameter is specified, the
|
6073
|
+
# response includes only records beyond the marker, up to the value
|
6074
|
+
# specified by `MaxRecords`.
|
6075
|
+
#
|
6076
|
+
# If `Marker` is returned by a previous response, there are more results
|
6077
|
+
# available. The value of `Marker` is a unique pagination token for each
|
6078
|
+
# page. To retrieve the next page, make the call again using the
|
6079
|
+
# returned token and keeping all other arguments unchanged.
|
6080
|
+
#
|
6081
|
+
# @option params [Integer] :max_records
|
6082
|
+
# The maximum number of records to include in the response. If more
|
6083
|
+
# records exist than the specified `MaxRecords` value, DMS includes a
|
6084
|
+
# pagination token in the response so that you can retrieve the
|
6085
|
+
# remaining results.
|
6086
|
+
#
|
6087
|
+
# @return [Types::DescribeMetadataModelAssessmentsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6088
|
+
#
|
6089
|
+
# * {Types::DescribeMetadataModelAssessmentsResponse#marker #marker} => String
|
6090
|
+
# * {Types::DescribeMetadataModelAssessmentsResponse#requests #requests} => Array<Types::SchemaConversionRequest>
|
6091
|
+
#
|
6092
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6093
|
+
#
|
6094
|
+
#
|
6095
|
+
# @example Example: Describe Metadata Model Assessments
|
6096
|
+
#
|
6097
|
+
# # Returns a paginated list of metadata model assessments for your account in the current region.
|
6098
|
+
#
|
6099
|
+
# resp = client.describe_metadata_model_assessments({
|
6100
|
+
# filters: [
|
6101
|
+
# {
|
6102
|
+
# name: "my-migration-project",
|
6103
|
+
# values: [
|
6104
|
+
# "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
6105
|
+
# ],
|
6106
|
+
# },
|
6107
|
+
# ],
|
6108
|
+
# marker: "0123456789abcdefghijklmnopqrs",
|
6109
|
+
# max_records: 20,
|
6110
|
+
# migration_project_identifier: "",
|
6111
|
+
# })
|
6112
|
+
#
|
6113
|
+
# resp.to_h outputs the following:
|
6114
|
+
# {
|
6115
|
+
# marker: "ASDLKJASDJKHDFHGDNBGDASKJHGFK",
|
6116
|
+
# requests: [
|
6117
|
+
# {
|
6118
|
+
# migration_project_arn: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
6119
|
+
# request_identifier: "01234567-89ab-cdef-0123-456789abcdef",
|
6120
|
+
# status: "SUCCESS",
|
6121
|
+
# },
|
6122
|
+
# ],
|
6123
|
+
# }
|
6124
|
+
#
|
6125
|
+
# @example Request syntax with placeholder values
|
6126
|
+
#
|
6127
|
+
# resp = client.describe_metadata_model_assessments({
|
6128
|
+
# migration_project_identifier: "String", # required
|
6129
|
+
# filters: [
|
6130
|
+
# {
|
6131
|
+
# name: "String", # required
|
6132
|
+
# values: ["String"], # required
|
6133
|
+
# },
|
6134
|
+
# ],
|
6135
|
+
# marker: "String",
|
6136
|
+
# max_records: 1,
|
6137
|
+
# })
|
6138
|
+
#
|
6139
|
+
# @example Response structure
|
6140
|
+
#
|
6141
|
+
# resp.marker #=> String
|
6142
|
+
# resp.requests #=> Array
|
6143
|
+
# resp.requests[0].status #=> String
|
6144
|
+
# resp.requests[0].request_identifier #=> String
|
6145
|
+
# resp.requests[0].migration_project_arn #=> String
|
6146
|
+
# resp.requests[0].error.default_error_details.message #=> String
|
6147
|
+
# resp.requests[0].export_sql_details.s3_object_key #=> String
|
6148
|
+
# resp.requests[0].export_sql_details.object_url #=> String
|
6149
|
+
#
|
6150
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeMetadataModelAssessments AWS API Documentation
|
6151
|
+
#
|
6152
|
+
# @overload describe_metadata_model_assessments(params = {})
|
6153
|
+
# @param [Hash] params ({})
|
6154
|
+
def describe_metadata_model_assessments(params = {}, options = {})
|
6155
|
+
req = build_request(:describe_metadata_model_assessments, params)
|
6156
|
+
req.send_request(options)
|
6157
|
+
end
|
6158
|
+
|
6159
|
+
# Returns a paginated list of metadata model conversions for a migration
|
6160
|
+
# project.
|
6161
|
+
#
|
6162
|
+
# @option params [required, String] :migration_project_identifier
|
6163
|
+
# The migration project name or Amazon Resource Name (ARN).
|
6164
|
+
#
|
6165
|
+
# @option params [Array<Types::Filter>] :filters
|
6166
|
+
# Filters applied to the metadata model conversions described in the
|
6167
|
+
# form of key-value pairs.
|
6168
|
+
#
|
6169
|
+
# @option params [String] :marker
|
6170
|
+
# Specifies the unique pagination token that makes it possible to
|
6171
|
+
# display the next page of results. If this parameter is specified, the
|
6172
|
+
# response includes only records beyond the marker, up to the value
|
6173
|
+
# specified by `MaxRecords`.
|
6174
|
+
#
|
6175
|
+
# If `Marker` is returned by a previous response, there are more results
|
6176
|
+
# available. The value of `Marker` is a unique pagination token for each
|
6177
|
+
# page. To retrieve the next page, make the call again using the
|
6178
|
+
# returned token and keeping all other arguments unchanged.
|
6179
|
+
#
|
6180
|
+
# @option params [Integer] :max_records
|
6181
|
+
# The maximum number of records to include in the response. If more
|
6182
|
+
# records exist than the specified `MaxRecords` value, DMS includes a
|
6183
|
+
# pagination token in the response so that you can retrieve the
|
6184
|
+
# remaining results.
|
6185
|
+
#
|
6186
|
+
# @return [Types::DescribeMetadataModelConversionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6187
|
+
#
|
6188
|
+
# * {Types::DescribeMetadataModelConversionsResponse#marker #marker} => String
|
6189
|
+
# * {Types::DescribeMetadataModelConversionsResponse#requests #requests} => Array<Types::SchemaConversionRequest>
|
6190
|
+
#
|
6191
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6192
|
+
#
|
6193
|
+
#
|
6194
|
+
# @example Example: Describe Metadata Model Conversions
|
6195
|
+
#
|
6196
|
+
# # Returns a paginated list of metadata model conversions for a migration project.
|
6197
|
+
#
|
6198
|
+
# resp = client.describe_metadata_model_conversions({
|
6199
|
+
# filters: [
|
6200
|
+
# {
|
6201
|
+
# name: "request-id",
|
6202
|
+
# values: [
|
6203
|
+
# "01234567-89ab-cdef-0123-456789abcdef",
|
6204
|
+
# ],
|
6205
|
+
# },
|
6206
|
+
# ],
|
6207
|
+
# marker: "EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ123456",
|
6208
|
+
# max_records: 123,
|
6209
|
+
# migration_project_identifier: "arn:aws:dms:us-east-1:012345678901:migration-project:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345",
|
6210
|
+
# })
|
6211
|
+
#
|
6212
|
+
# resp.to_h outputs the following:
|
6213
|
+
# {
|
6214
|
+
# marker: "0123456789abcdefghijklmnopqrs",
|
6215
|
+
# requests: [
|
6216
|
+
# {
|
6217
|
+
# migration_project_arn: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
6218
|
+
# request_identifier: "01234567-89ab-cdef-0123-456789abcdef",
|
6219
|
+
# status: "SUCCESS",
|
6220
|
+
# },
|
6221
|
+
# ],
|
6222
|
+
# }
|
6223
|
+
#
|
6224
|
+
# @example Request syntax with placeholder values
|
6225
|
+
#
|
6226
|
+
# resp = client.describe_metadata_model_conversions({
|
6227
|
+
# migration_project_identifier: "String", # required
|
6228
|
+
# filters: [
|
6229
|
+
# {
|
6230
|
+
# name: "String", # required
|
6231
|
+
# values: ["String"], # required
|
6232
|
+
# },
|
6233
|
+
# ],
|
6234
|
+
# marker: "String",
|
6235
|
+
# max_records: 1,
|
6236
|
+
# })
|
6237
|
+
#
|
6238
|
+
# @example Response structure
|
6239
|
+
#
|
6240
|
+
# resp.marker #=> String
|
6241
|
+
# resp.requests #=> Array
|
6242
|
+
# resp.requests[0].status #=> String
|
6243
|
+
# resp.requests[0].request_identifier #=> String
|
6244
|
+
# resp.requests[0].migration_project_arn #=> String
|
6245
|
+
# resp.requests[0].error.default_error_details.message #=> String
|
6246
|
+
# resp.requests[0].export_sql_details.s3_object_key #=> String
|
6247
|
+
# resp.requests[0].export_sql_details.object_url #=> String
|
6248
|
+
#
|
6249
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeMetadataModelConversions AWS API Documentation
|
6250
|
+
#
|
6251
|
+
# @overload describe_metadata_model_conversions(params = {})
|
6252
|
+
# @param [Hash] params ({})
|
6253
|
+
def describe_metadata_model_conversions(params = {}, options = {})
|
6254
|
+
req = build_request(:describe_metadata_model_conversions, params)
|
6255
|
+
req.send_request(options)
|
6256
|
+
end
|
6257
|
+
|
6258
|
+
# Returns a paginated list of metadata model exports.
|
6259
|
+
#
|
6260
|
+
# @option params [required, String] :migration_project_identifier
|
6261
|
+
# The migration project name or Amazon Resource Name (ARN).
|
6262
|
+
#
|
6263
|
+
# @option params [Array<Types::Filter>] :filters
|
6264
|
+
# Filters applied to the metadata model exports described in the form of
|
6265
|
+
# key-value pairs.
|
6266
|
+
#
|
6267
|
+
# @option params [String] :marker
|
6268
|
+
# Specifies the unique pagination token that makes it possible to
|
6269
|
+
# display the next page of results. If this parameter is specified, the
|
6270
|
+
# response includes only records beyond the marker, up to the value
|
6271
|
+
# specified by `MaxRecords`.
|
6272
|
+
#
|
6273
|
+
# If `Marker` is returned by a previous response, there are more results
|
6274
|
+
# available. The value of `Marker` is a unique pagination token for each
|
6275
|
+
# page. To retrieve the next page, make the call again using the
|
6276
|
+
# returned token and keeping all other arguments unchanged.
|
6277
|
+
#
|
6278
|
+
# @option params [Integer] :max_records
|
6279
|
+
# The maximum number of records to include in the response. If more
|
6280
|
+
# records exist than the specified `MaxRecords` value, DMS includes a
|
6281
|
+
# pagination token in the response so that you can retrieve the
|
6282
|
+
# remaining results.
|
6283
|
+
#
|
6284
|
+
# @return [Types::DescribeMetadataModelExportsAsScriptResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6285
|
+
#
|
6286
|
+
# * {Types::DescribeMetadataModelExportsAsScriptResponse#marker #marker} => String
|
6287
|
+
# * {Types::DescribeMetadataModelExportsAsScriptResponse#requests #requests} => Array<Types::SchemaConversionRequest>
|
6288
|
+
#
|
6289
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6290
|
+
#
|
6291
|
+
#
|
6292
|
+
# @example Example: Describe Metadata Model Exports As Script
|
6293
|
+
#
|
6294
|
+
# # Returns a paginated list of metadata model exports.
|
6295
|
+
#
|
6296
|
+
# resp = client.describe_metadata_model_exports_as_script({
|
6297
|
+
# filters: [
|
6298
|
+
# {
|
6299
|
+
# name: "request-id",
|
6300
|
+
# values: [
|
6301
|
+
# "01234567-89ab-cdef-0123-456789abcdef",
|
6302
|
+
# ],
|
6303
|
+
# },
|
6304
|
+
# ],
|
6305
|
+
# marker: "0123456789abcdefghijklmnopqrs",
|
6306
|
+
# max_records: 20,
|
6307
|
+
# migration_project_identifier: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
6308
|
+
# })
|
6309
|
+
#
|
6310
|
+
# resp.to_h outputs the following:
|
6311
|
+
# {
|
6312
|
+
# marker: "0123456789abcdefghijklmnopqrs",
|
6313
|
+
# requests: [
|
6314
|
+
# {
|
6315
|
+
# migration_project_arn: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
6316
|
+
# request_identifier: "01234567-89ab-cdef-0123-456789abcdef",
|
6317
|
+
# status: "SUCCESS",
|
6318
|
+
# },
|
6319
|
+
# ],
|
6320
|
+
# }
|
6321
|
+
#
|
6322
|
+
# @example Request syntax with placeholder values
|
6323
|
+
#
|
6324
|
+
# resp = client.describe_metadata_model_exports_as_script({
|
6325
|
+
# migration_project_identifier: "String", # required
|
6326
|
+
# filters: [
|
6327
|
+
# {
|
6328
|
+
# name: "String", # required
|
6329
|
+
# values: ["String"], # required
|
6330
|
+
# },
|
6331
|
+
# ],
|
6332
|
+
# marker: "String",
|
6333
|
+
# max_records: 1,
|
6334
|
+
# })
|
6335
|
+
#
|
6336
|
+
# @example Response structure
|
6337
|
+
#
|
6338
|
+
# resp.marker #=> String
|
6339
|
+
# resp.requests #=> Array
|
6340
|
+
# resp.requests[0].status #=> String
|
6341
|
+
# resp.requests[0].request_identifier #=> String
|
6342
|
+
# resp.requests[0].migration_project_arn #=> String
|
6343
|
+
# resp.requests[0].error.default_error_details.message #=> String
|
6344
|
+
# resp.requests[0].export_sql_details.s3_object_key #=> String
|
6345
|
+
# resp.requests[0].export_sql_details.object_url #=> String
|
6346
|
+
#
|
6347
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeMetadataModelExportsAsScript AWS API Documentation
|
6348
|
+
#
|
6349
|
+
# @overload describe_metadata_model_exports_as_script(params = {})
|
6350
|
+
# @param [Hash] params ({})
|
6351
|
+
def describe_metadata_model_exports_as_script(params = {}, options = {})
|
6352
|
+
req = build_request(:describe_metadata_model_exports_as_script, params)
|
6353
|
+
req.send_request(options)
|
6354
|
+
end
|
6355
|
+
|
6356
|
+
# Returns a paginated list of metadata model exports.
|
6357
|
+
#
|
6358
|
+
# @option params [required, String] :migration_project_identifier
|
6359
|
+
# The migration project name or Amazon Resource Name (ARN).
|
6360
|
+
#
|
6361
|
+
# @option params [Array<Types::Filter>] :filters
|
6362
|
+
# Filters applied to the metadata model exports described in the form of
|
6363
|
+
# key-value pairs.
|
6364
|
+
#
|
6365
|
+
# @option params [String] :marker
|
6366
|
+
# Specifies the unique pagination token that makes it possible to
|
6367
|
+
# display the next page of results. If this parameter is specified, the
|
6368
|
+
# response includes only records beyond the marker, up to the value
|
6369
|
+
# specified by `MaxRecords`.
|
6370
|
+
#
|
6371
|
+
# If `Marker` is returned by a previous response, there are more results
|
6372
|
+
# available. The value of `Marker` is a unique pagination token for each
|
6373
|
+
# page. To retrieve the next page, make the call again using the
|
6374
|
+
# returned token and keeping all other arguments unchanged.
|
6375
|
+
#
|
6376
|
+
# @option params [Integer] :max_records
|
6377
|
+
# The maximum number of records to include in the response. If more
|
6378
|
+
# records exist than the specified `MaxRecords` value, DMS includes a
|
6379
|
+
# pagination token in the response so that you can retrieve the
|
6380
|
+
# remaining results.
|
6381
|
+
#
|
6382
|
+
# @return [Types::DescribeMetadataModelExportsToTargetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6383
|
+
#
|
6384
|
+
# * {Types::DescribeMetadataModelExportsToTargetResponse#marker #marker} => String
|
6385
|
+
# * {Types::DescribeMetadataModelExportsToTargetResponse#requests #requests} => Array<Types::SchemaConversionRequest>
|
6386
|
+
#
|
6387
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6388
|
+
#
|
6389
|
+
#
|
6390
|
+
# @example Example: Describe Metadata Model Exports To Target
|
6391
|
+
#
|
6392
|
+
# # Returns a paginated list of metadata model exports.
|
6393
|
+
#
|
6394
|
+
# resp = client.describe_metadata_model_exports_to_target({
|
6395
|
+
# filters: [
|
6396
|
+
# {
|
6397
|
+
# name: "request-id",
|
6398
|
+
# values: [
|
6399
|
+
# "01234567-89ab-cdef-0123-456789abcdef",
|
6400
|
+
# ],
|
6401
|
+
# },
|
6402
|
+
# ],
|
6403
|
+
# marker: "0123456789abcdefghijklmnopqrs",
|
6404
|
+
# max_records: 20,
|
6405
|
+
# migration_project_identifier: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
6406
|
+
# })
|
6407
|
+
#
|
6408
|
+
# resp.to_h outputs the following:
|
6409
|
+
# {
|
6410
|
+
# marker: "0123456789abcdefghijklmnopqrs",
|
6411
|
+
# requests: [
|
6412
|
+
# {
|
6413
|
+
# migration_project_arn: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
6414
|
+
# request_identifier: "01234567-89ab-cdef-0123-456789abcdef",
|
6415
|
+
# status: "SUCCESS",
|
6416
|
+
# },
|
6417
|
+
# ],
|
6418
|
+
# }
|
6419
|
+
#
|
6420
|
+
# @example Request syntax with placeholder values
|
6421
|
+
#
|
6422
|
+
# resp = client.describe_metadata_model_exports_to_target({
|
6423
|
+
# migration_project_identifier: "String", # required
|
6424
|
+
# filters: [
|
6425
|
+
# {
|
6426
|
+
# name: "String", # required
|
6427
|
+
# values: ["String"], # required
|
6428
|
+
# },
|
6429
|
+
# ],
|
6430
|
+
# marker: "String",
|
6431
|
+
# max_records: 1,
|
6432
|
+
# })
|
6433
|
+
#
|
6434
|
+
# @example Response structure
|
6435
|
+
#
|
6436
|
+
# resp.marker #=> String
|
6437
|
+
# resp.requests #=> Array
|
6438
|
+
# resp.requests[0].status #=> String
|
6439
|
+
# resp.requests[0].request_identifier #=> String
|
6440
|
+
# resp.requests[0].migration_project_arn #=> String
|
6441
|
+
# resp.requests[0].error.default_error_details.message #=> String
|
6442
|
+
# resp.requests[0].export_sql_details.s3_object_key #=> String
|
6443
|
+
# resp.requests[0].export_sql_details.object_url #=> String
|
6444
|
+
#
|
6445
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeMetadataModelExportsToTarget AWS API Documentation
|
6446
|
+
#
|
6447
|
+
# @overload describe_metadata_model_exports_to_target(params = {})
|
6448
|
+
# @param [Hash] params ({})
|
6449
|
+
def describe_metadata_model_exports_to_target(params = {}, options = {})
|
6450
|
+
req = build_request(:describe_metadata_model_exports_to_target, params)
|
6451
|
+
req.send_request(options)
|
6452
|
+
end
|
6453
|
+
|
6454
|
+
# Returns a paginated list of metadata model imports.
|
6455
|
+
#
|
6456
|
+
# @option params [required, String] :migration_project_identifier
|
6457
|
+
# The migration project name or Amazon Resource Name (ARN).
|
6458
|
+
#
|
6459
|
+
# @option params [Array<Types::Filter>] :filters
|
6460
|
+
# Filters applied to the metadata model imports described in the form of
|
6461
|
+
# key-value pairs.
|
6462
|
+
#
|
6463
|
+
# @option params [String] :marker
|
6464
|
+
# Specifies the unique pagination token that makes it possible to
|
6465
|
+
# display the next page of results. If this parameter is specified, the
|
6466
|
+
# response includes only records beyond the marker, up to the value
|
6467
|
+
# specified by `MaxRecords`.
|
6468
|
+
#
|
6469
|
+
# If `Marker` is returned by a previous response, there are more results
|
6470
|
+
# available. The value of `Marker` is a unique pagination token for each
|
6471
|
+
# page. To retrieve the next page, make the call again using the
|
6472
|
+
# returned token and keeping all other arguments unchanged.
|
4828
6473
|
#
|
4829
|
-
#
|
4830
|
-
#
|
6474
|
+
# @option params [Integer] :max_records
|
6475
|
+
# A paginated list of metadata model imports.
|
4831
6476
|
#
|
4832
|
-
#
|
6477
|
+
# @return [Types::DescribeMetadataModelImportsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4833
6478
|
#
|
4834
|
-
#
|
4835
|
-
#
|
6479
|
+
# * {Types::DescribeMetadataModelImportsResponse#marker #marker} => String
|
6480
|
+
# * {Types::DescribeMetadataModelImportsResponse#requests #requests} => Array<Types::SchemaConversionRequest>
|
4836
6481
|
#
|
4837
|
-
#
|
4838
|
-
# Sets the maximum number of records returned in the response.
|
6482
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4839
6483
|
#
|
4840
|
-
# @option params [String] :next_token
|
4841
|
-
# If `NextToken` is returned by a previous response, there are more
|
4842
|
-
# results available. The value of `NextToken` is a unique pagination
|
4843
|
-
# token for each page. Make the call again using the returned token to
|
4844
|
-
# retrieve the next page. Keep all other arguments unchanged.
|
4845
6484
|
#
|
4846
|
-
# @
|
6485
|
+
# @example Example: Describe Metadata Model Imports
|
4847
6486
|
#
|
4848
|
-
#
|
4849
|
-
# * {Types::DescribeFleetAdvisorSchemaObjectSummaryResponse#next_token #next_token} => String
|
6487
|
+
# # Returns a paginated list of metadata model imports.
|
4850
6488
|
#
|
4851
|
-
#
|
6489
|
+
# resp = client.describe_metadata_model_imports({
|
6490
|
+
# filters: [
|
6491
|
+
# {
|
6492
|
+
# name: "request-id",
|
6493
|
+
# values: [
|
6494
|
+
# "01234567-89ab-cdef-0123-456789abcdef",
|
6495
|
+
# ],
|
6496
|
+
# },
|
6497
|
+
# ],
|
6498
|
+
# marker: "0123456789abcdefghijklmnopqrs",
|
6499
|
+
# max_records: 20,
|
6500
|
+
# migration_project_identifier: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
6501
|
+
# })
|
6502
|
+
#
|
6503
|
+
# resp.to_h outputs the following:
|
6504
|
+
# {
|
6505
|
+
# marker: "0123456789abcdefghijklmnopqrs",
|
6506
|
+
# requests: [
|
6507
|
+
# {
|
6508
|
+
# migration_project_arn: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
6509
|
+
# request_identifier: "01234567-89ab-cdef-0123-456789abcdef",
|
6510
|
+
# status: "SUCCESS",
|
6511
|
+
# },
|
6512
|
+
# ],
|
6513
|
+
# }
|
4852
6514
|
#
|
4853
6515
|
# @example Request syntax with placeholder values
|
4854
6516
|
#
|
4855
|
-
# resp = client.
|
6517
|
+
# resp = client.describe_metadata_model_imports({
|
6518
|
+
# migration_project_identifier: "String", # required
|
4856
6519
|
# filters: [
|
4857
6520
|
# {
|
4858
6521
|
# name: "String", # required
|
4859
6522
|
# values: ["String"], # required
|
4860
6523
|
# },
|
4861
6524
|
# ],
|
6525
|
+
# marker: "String",
|
4862
6526
|
# max_records: 1,
|
4863
|
-
# next_token: "String",
|
4864
6527
|
# })
|
4865
6528
|
#
|
4866
6529
|
# @example Response structure
|
4867
6530
|
#
|
4868
|
-
# resp.
|
4869
|
-
# resp.
|
4870
|
-
# resp.
|
4871
|
-
# resp.
|
4872
|
-
# resp.
|
4873
|
-
# resp.
|
4874
|
-
# resp.
|
6531
|
+
# resp.marker #=> String
|
6532
|
+
# resp.requests #=> Array
|
6533
|
+
# resp.requests[0].status #=> String
|
6534
|
+
# resp.requests[0].request_identifier #=> String
|
6535
|
+
# resp.requests[0].migration_project_arn #=> String
|
6536
|
+
# resp.requests[0].error.default_error_details.message #=> String
|
6537
|
+
# resp.requests[0].export_sql_details.s3_object_key #=> String
|
6538
|
+
# resp.requests[0].export_sql_details.object_url #=> String
|
4875
6539
|
#
|
4876
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/
|
6540
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeMetadataModelImports AWS API Documentation
|
4877
6541
|
#
|
4878
|
-
# @overload
|
6542
|
+
# @overload describe_metadata_model_imports(params = {})
|
4879
6543
|
# @param [Hash] params ({})
|
4880
|
-
def
|
4881
|
-
req = build_request(:
|
6544
|
+
def describe_metadata_model_imports(params = {}, options = {})
|
6545
|
+
req = build_request(:describe_metadata_model_imports, params)
|
4882
6546
|
req.send_request(options)
|
4883
6547
|
end
|
4884
6548
|
|
4885
|
-
# Returns a list of
|
4886
|
-
#
|
6549
|
+
# Returns a paginated list of migration projects for your account in the
|
6550
|
+
# current region.
|
4887
6551
|
#
|
4888
6552
|
# @option params [Array<Types::Filter>] :filters
|
4889
|
-
#
|
4890
|
-
#
|
4891
|
-
#
|
4892
|
-
# * `complexity` – The schema's complexity, for example `Simple`.
|
4893
|
-
#
|
4894
|
-
# * `database-id` – The ID of the schema's database.
|
4895
|
-
#
|
4896
|
-
# * `database-ip-address` – The IP address of the schema's database.
|
4897
|
-
#
|
4898
|
-
# * `database-name` – The name of the schema's database.
|
6553
|
+
# Filters applied to the migration projects described in the form of
|
6554
|
+
# key-value pairs.
|
4899
6555
|
#
|
4900
|
-
#
|
6556
|
+
# @option params [Integer] :max_records
|
6557
|
+
# The maximum number of records to include in the response. If more
|
6558
|
+
# records exist than the specified `MaxRecords` value, DMS includes a
|
6559
|
+
# pagination token in the response so that you can retrieve the
|
6560
|
+
# remaining results.
|
4901
6561
|
#
|
4902
|
-
#
|
4903
|
-
#
|
6562
|
+
# @option params [String] :marker
|
6563
|
+
# Specifies the unique pagination token that makes it possible to
|
6564
|
+
# display the next page of results. If this parameter is specified, the
|
6565
|
+
# response includes only records beyond the marker, up to the value
|
6566
|
+
# specified by `MaxRecords`.
|
4904
6567
|
#
|
4905
|
-
#
|
6568
|
+
# If `Marker` is returned by a previous response, there are more results
|
6569
|
+
# available. The value of `Marker` is a unique pagination token for each
|
6570
|
+
# page. To retrieve the next page, make the call again using the
|
6571
|
+
# returned token and keeping all other arguments unchanged.
|
4906
6572
|
#
|
4907
|
-
#
|
6573
|
+
# @return [Types::DescribeMigrationProjectsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4908
6574
|
#
|
4909
|
-
# *
|
4910
|
-
#
|
6575
|
+
# * {Types::DescribeMigrationProjectsResponse#marker #marker} => String
|
6576
|
+
# * {Types::DescribeMigrationProjectsResponse#migration_projects #migration_projects} => Array<Types::MigrationProject>
|
4911
6577
|
#
|
4912
|
-
#
|
4913
|
-
# Name="schema-id",Values="50"`
|
6578
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4914
6579
|
#
|
4915
|
-
# @option params [Integer] :max_records
|
4916
|
-
# Sets the maximum number of records returned in the response.
|
4917
6580
|
#
|
4918
|
-
# @
|
4919
|
-
# If `NextToken` is returned by a previous response, there are more
|
4920
|
-
# results available. The value of `NextToken` is a unique pagination
|
4921
|
-
# token for each page. Make the call again using the returned token to
|
4922
|
-
# retrieve the next page. Keep all other arguments unchanged.
|
6581
|
+
# @example Example: Describe Migration Projects
|
4923
6582
|
#
|
4924
|
-
#
|
6583
|
+
# # Returns a paginated list of migration projects for your account in the current region.
|
4925
6584
|
#
|
4926
|
-
#
|
4927
|
-
#
|
6585
|
+
# resp = client.describe_migration_projects({
|
6586
|
+
# filters: [
|
6587
|
+
# {
|
6588
|
+
# name: "migration-project-identifier",
|
6589
|
+
# values: [
|
6590
|
+
# "arn:aws:dms:us-east-1:012345678901:migration-project:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ12345678901",
|
6591
|
+
# ],
|
6592
|
+
# },
|
6593
|
+
# ],
|
6594
|
+
# marker: "EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ123456",
|
6595
|
+
# max_records: 20,
|
6596
|
+
# })
|
4928
6597
|
#
|
4929
|
-
#
|
6598
|
+
# resp.to_h outputs the following:
|
6599
|
+
# {
|
6600
|
+
# marker: "0123456789abcdefghijklmnopqrs",
|
6601
|
+
# migration_projects: [
|
6602
|
+
# {
|
6603
|
+
# instance_profile_arn: "arn:aws:dms:us-east-1:012345678901:instance-profile:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
6604
|
+
# instance_profile_name: "my-instance-profile",
|
6605
|
+
# migration_project_arn: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
6606
|
+
# migration_project_creation_time: Time.parse("2023-04-19T11:45:15.805253Z"),
|
6607
|
+
# migration_project_name: "my-migration-project",
|
6608
|
+
# schema_conversion_application_attributes: {
|
6609
|
+
# s3_bucket_path: "my-s3-bucket/my_folder",
|
6610
|
+
# s3_bucket_role_arn: "arn:aws:iam::012345678901:role/my-s3role",
|
6611
|
+
# },
|
6612
|
+
# source_data_provider_descriptors: [
|
6613
|
+
# {
|
6614
|
+
# data_provider_arn: "arn:aws:dms:us-east-1:012345678901:data-provider:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
6615
|
+
# data_provider_name: "all-source-oracle-12",
|
6616
|
+
# secrets_manager_access_role_arn: "arn:aws:iam::012345678901:role/my-access-role",
|
6617
|
+
# secrets_manager_secret_id: "arn:aws:secretsmanager:us-east-1:012345678901:secret:mygroup/myalias/ALL.SOURCE.ORACLE_12-012345",
|
6618
|
+
# },
|
6619
|
+
# ],
|
6620
|
+
# target_data_provider_descriptors: [
|
6621
|
+
# {
|
6622
|
+
# data_provider_arn: "arn:aws:dms:us-east-1:012345678901:data-provider:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
6623
|
+
# data_provider_name: "my-data-provider",
|
6624
|
+
# secrets_manager_access_role_arn: "arn:aws:iam::012345678901:role/dmytbon-admin-access",
|
6625
|
+
# secrets_manager_secret_id: "arn:aws:secretsmanager:us-east-1:012345678901:secret:mygroup/myalias/TARGET.postgresql-012345",
|
6626
|
+
# },
|
6627
|
+
# ],
|
6628
|
+
# },
|
6629
|
+
# ],
|
6630
|
+
# }
|
4930
6631
|
#
|
4931
6632
|
# @example Request syntax with placeholder values
|
4932
6633
|
#
|
4933
|
-
# resp = client.
|
6634
|
+
# resp = client.describe_migration_projects({
|
4934
6635
|
# filters: [
|
4935
6636
|
# {
|
4936
6637
|
# name: "String", # required
|
@@ -4938,38 +6639,39 @@ module Aws::DatabaseMigrationService
|
|
4938
6639
|
# },
|
4939
6640
|
# ],
|
4940
6641
|
# max_records: 1,
|
4941
|
-
#
|
6642
|
+
# marker: "String",
|
4942
6643
|
# })
|
4943
6644
|
#
|
4944
6645
|
# @example Response structure
|
4945
6646
|
#
|
4946
|
-
# resp.
|
4947
|
-
# resp.
|
4948
|
-
# resp.
|
4949
|
-
# resp.
|
4950
|
-
# resp.
|
4951
|
-
# resp.
|
4952
|
-
# resp.
|
4953
|
-
# resp.
|
4954
|
-
# resp.
|
4955
|
-
# resp.
|
4956
|
-
# resp.
|
4957
|
-
# resp.
|
4958
|
-
# resp.
|
4959
|
-
# resp.
|
4960
|
-
# resp.
|
4961
|
-
# resp.
|
4962
|
-
# resp.
|
4963
|
-
# resp.
|
4964
|
-
# resp.
|
4965
|
-
# resp.
|
4966
|
-
#
|
4967
|
-
#
|
4968
|
-
#
|
4969
|
-
#
|
6647
|
+
# resp.marker #=> String
|
6648
|
+
# resp.migration_projects #=> Array
|
6649
|
+
# resp.migration_projects[0].migration_project_name #=> String
|
6650
|
+
# resp.migration_projects[0].migration_project_arn #=> String
|
6651
|
+
# resp.migration_projects[0].migration_project_creation_time #=> Time
|
6652
|
+
# resp.migration_projects[0].source_data_provider_descriptors #=> Array
|
6653
|
+
# resp.migration_projects[0].source_data_provider_descriptors[0].secrets_manager_secret_id #=> String
|
6654
|
+
# resp.migration_projects[0].source_data_provider_descriptors[0].secrets_manager_access_role_arn #=> String
|
6655
|
+
# resp.migration_projects[0].source_data_provider_descriptors[0].data_provider_name #=> String
|
6656
|
+
# resp.migration_projects[0].source_data_provider_descriptors[0].data_provider_arn #=> String
|
6657
|
+
# resp.migration_projects[0].target_data_provider_descriptors #=> Array
|
6658
|
+
# resp.migration_projects[0].target_data_provider_descriptors[0].secrets_manager_secret_id #=> String
|
6659
|
+
# resp.migration_projects[0].target_data_provider_descriptors[0].secrets_manager_access_role_arn #=> String
|
6660
|
+
# resp.migration_projects[0].target_data_provider_descriptors[0].data_provider_name #=> String
|
6661
|
+
# resp.migration_projects[0].target_data_provider_descriptors[0].data_provider_arn #=> String
|
6662
|
+
# resp.migration_projects[0].instance_profile_arn #=> String
|
6663
|
+
# resp.migration_projects[0].instance_profile_name #=> String
|
6664
|
+
# resp.migration_projects[0].transformation_rules #=> String
|
6665
|
+
# resp.migration_projects[0].description #=> String
|
6666
|
+
# resp.migration_projects[0].schema_conversion_application_attributes.s3_bucket_path #=> String
|
6667
|
+
# resp.migration_projects[0].schema_conversion_application_attributes.s3_bucket_role_arn #=> String
|
6668
|
+
#
|
6669
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeMigrationProjects AWS API Documentation
|
6670
|
+
#
|
6671
|
+
# @overload describe_migration_projects(params = {})
|
4970
6672
|
# @param [Hash] params ({})
|
4971
|
-
def
|
4972
|
-
req = build_request(:
|
6673
|
+
def describe_migration_projects(params = {}, options = {})
|
6674
|
+
req = build_request(:describe_migration_projects, params)
|
4973
6675
|
req.send_request(options)
|
4974
6676
|
end
|
4975
6677
|
|
@@ -6341,6 +8043,79 @@ module Aws::DatabaseMigrationService
|
|
6341
8043
|
req.send_request(options)
|
6342
8044
|
end
|
6343
8045
|
|
8046
|
+
# Saves a copy of a database migration assessment report to your Amazon
|
8047
|
+
# S3 bucket. DMS can save your assessment report as a comma-separated
|
8048
|
+
# value (CSV) or a PDF file.
|
8049
|
+
#
|
8050
|
+
# @option params [required, String] :migration_project_identifier
|
8051
|
+
# The migration project name or Amazon Resource Name (ARN).
|
8052
|
+
#
|
8053
|
+
# @option params [required, String] :selection_rules
|
8054
|
+
# A value that specifies the database objects to assess.
|
8055
|
+
#
|
8056
|
+
# @option params [String] :file_name
|
8057
|
+
# The name of the assessment file to create in your Amazon S3 bucket.
|
8058
|
+
#
|
8059
|
+
# @option params [Array<String>] :assessment_report_types
|
8060
|
+
# The file format of the assessment file.
|
8061
|
+
#
|
8062
|
+
# @return [Types::ExportMetadataModelAssessmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8063
|
+
#
|
8064
|
+
# * {Types::ExportMetadataModelAssessmentResponse#pdf_report #pdf_report} => Types::ExportMetadataModelAssessmentResultEntry
|
8065
|
+
# * {Types::ExportMetadataModelAssessmentResponse#csv_report #csv_report} => Types::ExportMetadataModelAssessmentResultEntry
|
8066
|
+
#
|
8067
|
+
#
|
8068
|
+
# @example Example: Export Metadata Model Assessment
|
8069
|
+
#
|
8070
|
+
# # Saves a copy of a database migration assessment report to your S3 bucket. DMS can save your assessment report as a
|
8071
|
+
# # comma-separated value (CSV) or a PDF file.
|
8072
|
+
#
|
8073
|
+
# resp = client.export_metadata_model_assessment({
|
8074
|
+
# assessment_report_types: [
|
8075
|
+
# "pdf",
|
8076
|
+
# ],
|
8077
|
+
# file_name: "file",
|
8078
|
+
# migration_project_identifier: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
8079
|
+
# selection_rules: "{\"rules\": [{\"rule-type\": \"selection\",\"rule-id\": \"1\",\"rule-name\": \"1\",\"object-locator\": {\"server-name\": \"aurora-pg.cluster-a1b2c3d4e5f6.us-east-1.rds.amazonaws.com\", \"schema-name\": \"schema1\", \"table-name\": \"Cities\"},\"rule-action\": \"explicit\"} ]}",
|
8080
|
+
# })
|
8081
|
+
#
|
8082
|
+
# resp.to_h outputs the following:
|
8083
|
+
# {
|
8084
|
+
# csv_report: {
|
8085
|
+
# object_url: "url",
|
8086
|
+
# s3_object_key: "object-name",
|
8087
|
+
# },
|
8088
|
+
# pdf_report: {
|
8089
|
+
# object_url: "url",
|
8090
|
+
# s3_object_key: "object-name",
|
8091
|
+
# },
|
8092
|
+
# }
|
8093
|
+
#
|
8094
|
+
# @example Request syntax with placeholder values
|
8095
|
+
#
|
8096
|
+
# resp = client.export_metadata_model_assessment({
|
8097
|
+
# migration_project_identifier: "String", # required
|
8098
|
+
# selection_rules: "String", # required
|
8099
|
+
# file_name: "String",
|
8100
|
+
# assessment_report_types: ["pdf"], # accepts pdf, csv
|
8101
|
+
# })
|
8102
|
+
#
|
8103
|
+
# @example Response structure
|
8104
|
+
#
|
8105
|
+
# resp.pdf_report.s3_object_key #=> String
|
8106
|
+
# resp.pdf_report.object_url #=> String
|
8107
|
+
# resp.csv_report.s3_object_key #=> String
|
8108
|
+
# resp.csv_report.object_url #=> String
|
8109
|
+
#
|
8110
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ExportMetadataModelAssessment AWS API Documentation
|
8111
|
+
#
|
8112
|
+
# @overload export_metadata_model_assessment(params = {})
|
8113
|
+
# @param [Hash] params ({})
|
8114
|
+
def export_metadata_model_assessment(params = {}, options = {})
|
8115
|
+
req = build_request(:export_metadata_model_assessment, params)
|
8116
|
+
req.send_request(options)
|
8117
|
+
end
|
8118
|
+
|
6344
8119
|
# Uploads the specified certificate.
|
6345
8120
|
#
|
6346
8121
|
# @option params [required, String] :certificate_identifier
|
@@ -6474,10 +8249,272 @@ module Aws::DatabaseMigrationService
|
|
6474
8249
|
#
|
6475
8250
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ListTagsForResource AWS API Documentation
|
6476
8251
|
#
|
6477
|
-
# @overload list_tags_for_resource(params = {})
|
8252
|
+
# @overload list_tags_for_resource(params = {})
|
8253
|
+
# @param [Hash] params ({})
|
8254
|
+
def list_tags_for_resource(params = {}, options = {})
|
8255
|
+
req = build_request(:list_tags_for_resource, params)
|
8256
|
+
req.send_request(options)
|
8257
|
+
end
|
8258
|
+
|
8259
|
+
# Modifies the specified schema conversion configuration using the
|
8260
|
+
# provided parameters.
|
8261
|
+
#
|
8262
|
+
# @option params [required, String] :migration_project_identifier
|
8263
|
+
# The migration project name or Amazon Resource Name (ARN).
|
8264
|
+
#
|
8265
|
+
# @option params [required, String] :conversion_configuration
|
8266
|
+
# The new conversion configuration.
|
8267
|
+
#
|
8268
|
+
# @return [Types::ModifyConversionConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8269
|
+
#
|
8270
|
+
# * {Types::ModifyConversionConfigurationResponse#migration_project_identifier #migration_project_identifier} => String
|
8271
|
+
#
|
8272
|
+
#
|
8273
|
+
# @example Example: Modify Conversion Configuration
|
8274
|
+
#
|
8275
|
+
# # Modifies the specified schema conversion configuration using the provided parameters.
|
8276
|
+
#
|
8277
|
+
# resp = client.modify_conversion_configuration({
|
8278
|
+
# conversion_configuration: "{\"Common project settings\":{\"ShowSeverityLevelInSql\":\"CRITICAL\"},\"ORACLE_TO_POSTGRESQL\" : {\"ToTimeZone\":false,\"LastDayBuiltinFunctionOracle\":false, \"NextDayBuiltinFunctionOracle\":false,\"ConvertProceduresToFunction\":false,\"NvlBuiltinFunctionOracle\":false,\"DbmsAssertBuiltinFunctionOracle\":false}}",
|
8279
|
+
# migration_project_identifier: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
8280
|
+
# })
|
8281
|
+
#
|
8282
|
+
# resp.to_h outputs the following:
|
8283
|
+
# {
|
8284
|
+
# migration_project_identifier: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
8285
|
+
# }
|
8286
|
+
#
|
8287
|
+
# @example Request syntax with placeholder values
|
8288
|
+
#
|
8289
|
+
# resp = client.modify_conversion_configuration({
|
8290
|
+
# migration_project_identifier: "String", # required
|
8291
|
+
# conversion_configuration: "String", # required
|
8292
|
+
# })
|
8293
|
+
#
|
8294
|
+
# @example Response structure
|
8295
|
+
#
|
8296
|
+
# resp.migration_project_identifier #=> String
|
8297
|
+
#
|
8298
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyConversionConfiguration AWS API Documentation
|
8299
|
+
#
|
8300
|
+
# @overload modify_conversion_configuration(params = {})
|
8301
|
+
# @param [Hash] params ({})
|
8302
|
+
def modify_conversion_configuration(params = {}, options = {})
|
8303
|
+
req = build_request(:modify_conversion_configuration, params)
|
8304
|
+
req.send_request(options)
|
8305
|
+
end
|
8306
|
+
|
8307
|
+
# Modifies the specified data provider using the provided settings.
|
8308
|
+
#
|
8309
|
+
# <note markdown="1"> You must remove the data provider from all migration projects before
|
8310
|
+
# you can modify it.
|
8311
|
+
#
|
8312
|
+
# </note>
|
8313
|
+
#
|
8314
|
+
# @option params [required, String] :data_provider_identifier
|
8315
|
+
# The identifier of the data provider. Identifiers must begin with a
|
8316
|
+
# letter and must contain only ASCII letters, digits, and hyphens. They
|
8317
|
+
# can't end with a hyphen, or contain two consecutive hyphens.
|
8318
|
+
#
|
8319
|
+
# @option params [String] :data_provider_name
|
8320
|
+
# The name of the data provider.
|
8321
|
+
#
|
8322
|
+
# @option params [String] :description
|
8323
|
+
# A user-friendly description of the data provider.
|
8324
|
+
#
|
8325
|
+
# @option params [String] :engine
|
8326
|
+
# The type of database engine for the data provider. Valid values
|
8327
|
+
# include `"aurora"`, `"aurora_postgresql"`, `"mysql"`, `"oracle"`,
|
8328
|
+
# `"postgres"`, and `"sqlserver"`. A value of `"aurora"` represents
|
8329
|
+
# Amazon Aurora MySQL-Compatible Edition.
|
8330
|
+
#
|
8331
|
+
# @option params [Boolean] :exact_settings
|
8332
|
+
# If this attribute is Y, the current call to `ModifyDataProvider`
|
8333
|
+
# replaces all existing data provider settings with the exact settings
|
8334
|
+
# that you specify in this call. If this attribute is N, the current
|
8335
|
+
# call to `ModifyDataProvider` does two things:
|
8336
|
+
#
|
8337
|
+
# * It replaces any data provider settings that already exist with new
|
8338
|
+
# values, for settings with the same names.
|
8339
|
+
#
|
8340
|
+
# * It creates new data provider settings that you specify in the call,
|
8341
|
+
# for settings with different names.
|
8342
|
+
#
|
8343
|
+
# @option params [Types::DataProviderSettings] :settings
|
8344
|
+
# The settings in JSON format for a data provider.
|
8345
|
+
#
|
8346
|
+
# @return [Types::ModifyDataProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8347
|
+
#
|
8348
|
+
# * {Types::ModifyDataProviderResponse#data_provider #data_provider} => Types::DataProvider
|
8349
|
+
#
|
8350
|
+
#
|
8351
|
+
# @example Example: Modify Data Provider
|
8352
|
+
#
|
8353
|
+
# # Modifies the specified data provider using the provided settings.
|
8354
|
+
#
|
8355
|
+
# resp = client.modify_data_provider({
|
8356
|
+
# data_provider_identifier: "arn:aws:dms:us-east-1:012345678901:data-provider:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345",
|
8357
|
+
# data_provider_name: "new-name",
|
8358
|
+
# description: "description",
|
8359
|
+
# engine: "sqlserver",
|
8360
|
+
# settings: {
|
8361
|
+
# microsoft_sql_server_settings: {
|
8362
|
+
# database_name: "DatabaseName",
|
8363
|
+
# port: 11112,
|
8364
|
+
# server_name: "ServerName2",
|
8365
|
+
# ssl_mode: "none",
|
8366
|
+
# },
|
8367
|
+
# },
|
8368
|
+
# })
|
8369
|
+
#
|
8370
|
+
# resp.to_h outputs the following:
|
8371
|
+
# {
|
8372
|
+
# data_provider: {
|
8373
|
+
# data_provider_arn: "arn:aws:dms:us-east-1:012345678901:data-provider:my-target-data-provider",
|
8374
|
+
# data_provider_creation_time: Time.parse("2023-05-12T10:50:41.988561Z"),
|
8375
|
+
# data_provider_name: "my-target-data-provider",
|
8376
|
+
# engine: "postgres",
|
8377
|
+
# settings: {
|
8378
|
+
# postgre_sql_settings: {
|
8379
|
+
# database_name: "target",
|
8380
|
+
# port: 5432,
|
8381
|
+
# server_name: "postrgesql.0a1b2c3d4e5f.us-east-1.rds.amazonaws.com",
|
8382
|
+
# ssl_mode: "none",
|
8383
|
+
# },
|
8384
|
+
# },
|
8385
|
+
# },
|
8386
|
+
# }
|
8387
|
+
#
|
8388
|
+
# @example Request syntax with placeholder values
|
8389
|
+
#
|
8390
|
+
# resp = client.modify_data_provider({
|
8391
|
+
# data_provider_identifier: "String", # required
|
8392
|
+
# data_provider_name: "String",
|
8393
|
+
# description: "String",
|
8394
|
+
# engine: "String",
|
8395
|
+
# exact_settings: false,
|
8396
|
+
# settings: {
|
8397
|
+
# redshift_settings: {
|
8398
|
+
# server_name: "String",
|
8399
|
+
# port: 1,
|
8400
|
+
# database_name: "String",
|
8401
|
+
# },
|
8402
|
+
# postgre_sql_settings: {
|
8403
|
+
# server_name: "String",
|
8404
|
+
# port: 1,
|
8405
|
+
# database_name: "String",
|
8406
|
+
# ssl_mode: "none", # accepts none, require, verify-ca, verify-full
|
8407
|
+
# certificate_arn: "String",
|
8408
|
+
# },
|
8409
|
+
# my_sql_settings: {
|
8410
|
+
# server_name: "String",
|
8411
|
+
# port: 1,
|
8412
|
+
# ssl_mode: "none", # accepts none, require, verify-ca, verify-full
|
8413
|
+
# certificate_arn: "String",
|
8414
|
+
# },
|
8415
|
+
# oracle_settings: {
|
8416
|
+
# server_name: "String",
|
8417
|
+
# port: 1,
|
8418
|
+
# database_name: "String",
|
8419
|
+
# ssl_mode: "none", # accepts none, require, verify-ca, verify-full
|
8420
|
+
# certificate_arn: "String",
|
8421
|
+
# asm_server: "String",
|
8422
|
+
# secrets_manager_oracle_asm_secret_id: "String",
|
8423
|
+
# secrets_manager_oracle_asm_access_role_arn: "String",
|
8424
|
+
# secrets_manager_security_db_encryption_secret_id: "String",
|
8425
|
+
# secrets_manager_security_db_encryption_access_role_arn: "String",
|
8426
|
+
# },
|
8427
|
+
# microsoft_sql_server_settings: {
|
8428
|
+
# server_name: "String",
|
8429
|
+
# port: 1,
|
8430
|
+
# database_name: "String",
|
8431
|
+
# ssl_mode: "none", # accepts none, require, verify-ca, verify-full
|
8432
|
+
# certificate_arn: "String",
|
8433
|
+
# },
|
8434
|
+
# doc_db_settings: {
|
8435
|
+
# server_name: "String",
|
8436
|
+
# port: 1,
|
8437
|
+
# database_name: "String",
|
8438
|
+
# ssl_mode: "none", # accepts none, require, verify-ca, verify-full
|
8439
|
+
# certificate_arn: "String",
|
8440
|
+
# },
|
8441
|
+
# maria_db_settings: {
|
8442
|
+
# server_name: "String",
|
8443
|
+
# port: 1,
|
8444
|
+
# ssl_mode: "none", # accepts none, require, verify-ca, verify-full
|
8445
|
+
# certificate_arn: "String",
|
8446
|
+
# },
|
8447
|
+
# mongo_db_settings: {
|
8448
|
+
# server_name: "String",
|
8449
|
+
# port: 1,
|
8450
|
+
# database_name: "String",
|
8451
|
+
# ssl_mode: "none", # accepts none, require, verify-ca, verify-full
|
8452
|
+
# certificate_arn: "String",
|
8453
|
+
# auth_type: "no", # accepts no, password
|
8454
|
+
# auth_source: "String",
|
8455
|
+
# auth_mechanism: "default", # accepts default, mongodb_cr, scram_sha_1
|
8456
|
+
# },
|
8457
|
+
# },
|
8458
|
+
# })
|
8459
|
+
#
|
8460
|
+
# @example Response structure
|
8461
|
+
#
|
8462
|
+
# resp.data_provider.data_provider_name #=> String
|
8463
|
+
# resp.data_provider.data_provider_arn #=> String
|
8464
|
+
# resp.data_provider.data_provider_creation_time #=> Time
|
8465
|
+
# resp.data_provider.description #=> String
|
8466
|
+
# resp.data_provider.engine #=> String
|
8467
|
+
# resp.data_provider.settings.redshift_settings.server_name #=> String
|
8468
|
+
# resp.data_provider.settings.redshift_settings.port #=> Integer
|
8469
|
+
# resp.data_provider.settings.redshift_settings.database_name #=> String
|
8470
|
+
# resp.data_provider.settings.postgre_sql_settings.server_name #=> String
|
8471
|
+
# resp.data_provider.settings.postgre_sql_settings.port #=> Integer
|
8472
|
+
# resp.data_provider.settings.postgre_sql_settings.database_name #=> String
|
8473
|
+
# resp.data_provider.settings.postgre_sql_settings.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
|
8474
|
+
# resp.data_provider.settings.postgre_sql_settings.certificate_arn #=> String
|
8475
|
+
# resp.data_provider.settings.my_sql_settings.server_name #=> String
|
8476
|
+
# resp.data_provider.settings.my_sql_settings.port #=> Integer
|
8477
|
+
# resp.data_provider.settings.my_sql_settings.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
|
8478
|
+
# resp.data_provider.settings.my_sql_settings.certificate_arn #=> String
|
8479
|
+
# resp.data_provider.settings.oracle_settings.server_name #=> String
|
8480
|
+
# resp.data_provider.settings.oracle_settings.port #=> Integer
|
8481
|
+
# resp.data_provider.settings.oracle_settings.database_name #=> String
|
8482
|
+
# resp.data_provider.settings.oracle_settings.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
|
8483
|
+
# resp.data_provider.settings.oracle_settings.certificate_arn #=> String
|
8484
|
+
# resp.data_provider.settings.oracle_settings.asm_server #=> String
|
8485
|
+
# resp.data_provider.settings.oracle_settings.secrets_manager_oracle_asm_secret_id #=> String
|
8486
|
+
# resp.data_provider.settings.oracle_settings.secrets_manager_oracle_asm_access_role_arn #=> String
|
8487
|
+
# resp.data_provider.settings.oracle_settings.secrets_manager_security_db_encryption_secret_id #=> String
|
8488
|
+
# resp.data_provider.settings.oracle_settings.secrets_manager_security_db_encryption_access_role_arn #=> String
|
8489
|
+
# resp.data_provider.settings.microsoft_sql_server_settings.server_name #=> String
|
8490
|
+
# resp.data_provider.settings.microsoft_sql_server_settings.port #=> Integer
|
8491
|
+
# resp.data_provider.settings.microsoft_sql_server_settings.database_name #=> String
|
8492
|
+
# resp.data_provider.settings.microsoft_sql_server_settings.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
|
8493
|
+
# resp.data_provider.settings.microsoft_sql_server_settings.certificate_arn #=> String
|
8494
|
+
# resp.data_provider.settings.doc_db_settings.server_name #=> String
|
8495
|
+
# resp.data_provider.settings.doc_db_settings.port #=> Integer
|
8496
|
+
# resp.data_provider.settings.doc_db_settings.database_name #=> String
|
8497
|
+
# resp.data_provider.settings.doc_db_settings.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
|
8498
|
+
# resp.data_provider.settings.doc_db_settings.certificate_arn #=> String
|
8499
|
+
# resp.data_provider.settings.maria_db_settings.server_name #=> String
|
8500
|
+
# resp.data_provider.settings.maria_db_settings.port #=> Integer
|
8501
|
+
# resp.data_provider.settings.maria_db_settings.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
|
8502
|
+
# resp.data_provider.settings.maria_db_settings.certificate_arn #=> String
|
8503
|
+
# resp.data_provider.settings.mongo_db_settings.server_name #=> String
|
8504
|
+
# resp.data_provider.settings.mongo_db_settings.port #=> Integer
|
8505
|
+
# resp.data_provider.settings.mongo_db_settings.database_name #=> String
|
8506
|
+
# resp.data_provider.settings.mongo_db_settings.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
|
8507
|
+
# resp.data_provider.settings.mongo_db_settings.certificate_arn #=> String
|
8508
|
+
# resp.data_provider.settings.mongo_db_settings.auth_type #=> String, one of "no", "password"
|
8509
|
+
# resp.data_provider.settings.mongo_db_settings.auth_source #=> String
|
8510
|
+
# resp.data_provider.settings.mongo_db_settings.auth_mechanism #=> String, one of "default", "mongodb_cr", "scram_sha_1"
|
8511
|
+
#
|
8512
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyDataProvider AWS API Documentation
|
8513
|
+
#
|
8514
|
+
# @overload modify_data_provider(params = {})
|
6478
8515
|
# @param [Hash] params ({})
|
6479
|
-
def
|
6480
|
-
req = build_request(:
|
8516
|
+
def modify_data_provider(params = {}, options = {})
|
8517
|
+
req = build_request(:modify_data_provider, params)
|
6481
8518
|
req.send_request(options)
|
6482
8519
|
end
|
6483
8520
|
|
@@ -7505,6 +9542,265 @@ module Aws::DatabaseMigrationService
|
|
7505
9542
|
req.send_request(options)
|
7506
9543
|
end
|
7507
9544
|
|
9545
|
+
# Modifies the specified instance profile using the provided parameters.
|
9546
|
+
#
|
9547
|
+
# <note markdown="1"> All migration projects associated with the instance profile must be
|
9548
|
+
# deleted or modified before you can modify the instance profile.
|
9549
|
+
#
|
9550
|
+
# </note>
|
9551
|
+
#
|
9552
|
+
# @option params [required, String] :instance_profile_identifier
|
9553
|
+
# The identifier of the instance profile. Identifiers must begin with a
|
9554
|
+
# letter and must contain only ASCII letters, digits, and hyphens. They
|
9555
|
+
# can't end with a hyphen, or contain two consecutive hyphens.
|
9556
|
+
#
|
9557
|
+
# @option params [String] :availability_zone
|
9558
|
+
# The Availability Zone where the instance profile runs.
|
9559
|
+
#
|
9560
|
+
# @option params [String] :kms_key_arn
|
9561
|
+
# The Amazon Resource Name (ARN) of the KMS key that is used to encrypt
|
9562
|
+
# the connection parameters for the instance profile.
|
9563
|
+
#
|
9564
|
+
# If you don't specify a value for the `KmsKeyArn` parameter, then DMS
|
9565
|
+
# uses your default encryption key.
|
9566
|
+
#
|
9567
|
+
# KMS creates the default encryption key for your Amazon Web Services
|
9568
|
+
# account. Your Amazon Web Services account has a different default
|
9569
|
+
# encryption key for each Amazon Web Services Region.
|
9570
|
+
#
|
9571
|
+
# @option params [Boolean] :publicly_accessible
|
9572
|
+
# Specifies the accessibility options for the instance profile. A value
|
9573
|
+
# of `true` represents an instance profile with a public IP address. A
|
9574
|
+
# value of `false` represents an instance profile with a private IP
|
9575
|
+
# address. The default value is `true`.
|
9576
|
+
#
|
9577
|
+
# @option params [String] :network_type
|
9578
|
+
# Specifies the network type for the instance profile. A value of `IPV4`
|
9579
|
+
# represents an instance profile with IPv4 network type and only
|
9580
|
+
# supports IPv4 addressing. A value of `IPV6` represents an instance
|
9581
|
+
# profile with IPv6 network type and only supports IPv6 addressing. A
|
9582
|
+
# value of `DUAL` represents an instance profile with dual network type
|
9583
|
+
# that supports IPv4 and IPv6 addressing.
|
9584
|
+
#
|
9585
|
+
# @option params [String] :instance_profile_name
|
9586
|
+
# A user-friendly name for the instance profile.
|
9587
|
+
#
|
9588
|
+
# @option params [String] :description
|
9589
|
+
# A user-friendly description for the instance profile.
|
9590
|
+
#
|
9591
|
+
# @option params [String] :subnet_group_identifier
|
9592
|
+
# A subnet group to associate with the instance profile.
|
9593
|
+
#
|
9594
|
+
# @option params [Array<String>] :vpc_security_groups
|
9595
|
+
# Specifies the VPC security groups to be used with the instance
|
9596
|
+
# profile. The VPC security group must work with the VPC containing the
|
9597
|
+
# instance profile.
|
9598
|
+
#
|
9599
|
+
# @return [Types::ModifyInstanceProfileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
9600
|
+
#
|
9601
|
+
# * {Types::ModifyInstanceProfileResponse#instance_profile #instance_profile} => Types::InstanceProfile
|
9602
|
+
#
|
9603
|
+
# @example Request syntax with placeholder values
|
9604
|
+
#
|
9605
|
+
# resp = client.modify_instance_profile({
|
9606
|
+
# instance_profile_identifier: "String", # required
|
9607
|
+
# availability_zone: "String",
|
9608
|
+
# kms_key_arn: "String",
|
9609
|
+
# publicly_accessible: false,
|
9610
|
+
# network_type: "String",
|
9611
|
+
# instance_profile_name: "String",
|
9612
|
+
# description: "String",
|
9613
|
+
# subnet_group_identifier: "String",
|
9614
|
+
# vpc_security_groups: ["String"],
|
9615
|
+
# })
|
9616
|
+
#
|
9617
|
+
# @example Response structure
|
9618
|
+
#
|
9619
|
+
# resp.instance_profile.instance_profile_arn #=> String
|
9620
|
+
# resp.instance_profile.availability_zone #=> String
|
9621
|
+
# resp.instance_profile.kms_key_arn #=> String
|
9622
|
+
# resp.instance_profile.publicly_accessible #=> Boolean
|
9623
|
+
# resp.instance_profile.network_type #=> String
|
9624
|
+
# resp.instance_profile.instance_profile_name #=> String
|
9625
|
+
# resp.instance_profile.description #=> String
|
9626
|
+
# resp.instance_profile.instance_profile_creation_time #=> Time
|
9627
|
+
# resp.instance_profile.subnet_group_identifier #=> String
|
9628
|
+
# resp.instance_profile.vpc_security_groups #=> Array
|
9629
|
+
# resp.instance_profile.vpc_security_groups[0] #=> String
|
9630
|
+
#
|
9631
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyInstanceProfile AWS API Documentation
|
9632
|
+
#
|
9633
|
+
# @overload modify_instance_profile(params = {})
|
9634
|
+
# @param [Hash] params ({})
|
9635
|
+
def modify_instance_profile(params = {}, options = {})
|
9636
|
+
req = build_request(:modify_instance_profile, params)
|
9637
|
+
req.send_request(options)
|
9638
|
+
end
|
9639
|
+
|
9640
|
+
# Modifies the specified migration project using the provided
|
9641
|
+
# parameters.
|
9642
|
+
#
|
9643
|
+
# <note markdown="1"> The migration project must be closed before you can modify it.
|
9644
|
+
#
|
9645
|
+
# </note>
|
9646
|
+
#
|
9647
|
+
# @option params [required, String] :migration_project_identifier
|
9648
|
+
# The identifier of the migration project. Identifiers must begin with a
|
9649
|
+
# letter and must contain only ASCII letters, digits, and hyphens. They
|
9650
|
+
# can't end with a hyphen, or contain two consecutive hyphens.
|
9651
|
+
#
|
9652
|
+
# @option params [String] :migration_project_name
|
9653
|
+
# A user-friendly name for the migration project.
|
9654
|
+
#
|
9655
|
+
# @option params [Array<Types::DataProviderDescriptorDefinition>] :source_data_provider_descriptors
|
9656
|
+
# Information about the source data provider, including the name, ARN,
|
9657
|
+
# and Amazon Web Services Secrets Manager parameters.
|
9658
|
+
#
|
9659
|
+
# @option params [Array<Types::DataProviderDescriptorDefinition>] :target_data_provider_descriptors
|
9660
|
+
# Information about the target data provider, including the name, ARN,
|
9661
|
+
# and Amazon Web Services Secrets Manager parameters.
|
9662
|
+
#
|
9663
|
+
# @option params [String] :instance_profile_identifier
|
9664
|
+
# The name or Amazon Resource Name (ARN) for the instance profile.
|
9665
|
+
#
|
9666
|
+
# @option params [String] :transformation_rules
|
9667
|
+
# The settings in JSON format for migration rules. Migration rules make
|
9668
|
+
# it possible for you to change the object names according to the rules
|
9669
|
+
# that you specify. For example, you can change an object name to
|
9670
|
+
# lowercase or uppercase, add or remove a prefix or suffix, or rename
|
9671
|
+
# objects.
|
9672
|
+
#
|
9673
|
+
# @option params [String] :description
|
9674
|
+
# A user-friendly description of the migration project.
|
9675
|
+
#
|
9676
|
+
# @option params [Types::SCApplicationAttributes] :schema_conversion_application_attributes
|
9677
|
+
# The schema conversion application attributes, including the Amazon S3
|
9678
|
+
# bucket name and Amazon S3 role ARN.
|
9679
|
+
#
|
9680
|
+
# @return [Types::ModifyMigrationProjectResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
9681
|
+
#
|
9682
|
+
# * {Types::ModifyMigrationProjectResponse#migration_project #migration_project} => Types::MigrationProject
|
9683
|
+
#
|
9684
|
+
#
|
9685
|
+
# @example Example: Modify Migration Project
|
9686
|
+
#
|
9687
|
+
# # Modifies the specified migration project using the provided parameters.
|
9688
|
+
#
|
9689
|
+
# resp = client.modify_migration_project({
|
9690
|
+
# description: "description",
|
9691
|
+
# instance_profile_identifier: "my-instance-profile",
|
9692
|
+
# migration_project_identifier: "arn:aws:dms:us-east-1:012345678901:migration-project:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345",
|
9693
|
+
# migration_project_name: "new-name",
|
9694
|
+
# schema_conversion_application_attributes: {
|
9695
|
+
# s3_bucket_path: "arn:aws:s3:::myuser-bucket",
|
9696
|
+
# s3_bucket_role_arn: "arn:aws:iam::012345678901:role/Admin",
|
9697
|
+
# },
|
9698
|
+
# source_data_provider_descriptors: [
|
9699
|
+
# {
|
9700
|
+
# data_provider_identifier: "arn:aws:dms:us-east-1:012345678901:data-provider:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345",
|
9701
|
+
# secrets_manager_access_role_arn: "arn:aws:iam::012345678901:role/myuser-admin-access",
|
9702
|
+
# secrets_manager_secret_id: "arn:aws:secretsmanager:us-east-1:012345678901:secret:myorg/myuser/ALL.SOURCE.ORACLE_12-A1B2C3",
|
9703
|
+
# },
|
9704
|
+
# ],
|
9705
|
+
# target_data_provider_descriptors: [
|
9706
|
+
# {
|
9707
|
+
# data_provider_identifier: "arn:aws:dms:us-east-1:012345678901:data-provider:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345",
|
9708
|
+
# secrets_manager_access_role_arn: "arn:aws:iam::012345678901:role/myuser-admin-access",
|
9709
|
+
# secrets_manager_secret_id: "arn:aws:secretsmanager:us-east-1:012345678901:secret:myorg/myuser/TARGET.postgresql-A1B2C3",
|
9710
|
+
# },
|
9711
|
+
# ],
|
9712
|
+
# })
|
9713
|
+
#
|
9714
|
+
# resp.to_h outputs the following:
|
9715
|
+
# {
|
9716
|
+
# migration_project: {
|
9717
|
+
# instance_profile_arn: "arn:aws:dms:us-east-1:012345678901:instance-profile:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
9718
|
+
# instance_profile_name: "my-instance-profile",
|
9719
|
+
# migration_project_arn: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
9720
|
+
# migration_project_creation_time: Time.parse("2023-04-19T11:45:15.805253Z"),
|
9721
|
+
# migration_project_name: "my-migration-project",
|
9722
|
+
# schema_conversion_application_attributes: {
|
9723
|
+
# s3_bucket_path: "my-s3-bucket/my_folder",
|
9724
|
+
# s3_bucket_role_arn: "arn:aws:iam::012345678901:role/my-s3role",
|
9725
|
+
# },
|
9726
|
+
# source_data_provider_descriptors: [
|
9727
|
+
# {
|
9728
|
+
# data_provider_arn: "arn:aws:dms:us-east-1:012345678901:data-provider:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
9729
|
+
# data_provider_name: "all-source-oracle-12",
|
9730
|
+
# secrets_manager_access_role_arn: "arn:aws:iam::012345678901:role/my-access-role",
|
9731
|
+
# secrets_manager_secret_id: "arn:aws:secretsmanager:us-east-1:012345678901:secret:mygroup/myalias/ALL.SOURCE.ORACLE_12-TP5rA9",
|
9732
|
+
# },
|
9733
|
+
# ],
|
9734
|
+
# target_data_provider_descriptors: [
|
9735
|
+
# {
|
9736
|
+
# data_provider_arn: "arn:aws:dms:us-east-1:012345678901:data-provider:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
9737
|
+
# data_provider_name: "my-dataprovider",
|
9738
|
+
# secrets_manager_access_role_arn: "arn:aws:iam::012345678901:role/my-access-role",
|
9739
|
+
# secrets_manager_secret_id: "arn:aws:secretsmanager:us-east-1:012345678901:secret:mygroup/myalias/TARGET.postgresql-mysecret",
|
9740
|
+
# },
|
9741
|
+
# ],
|
9742
|
+
# },
|
9743
|
+
# }
|
9744
|
+
#
|
9745
|
+
# @example Request syntax with placeholder values
|
9746
|
+
#
|
9747
|
+
# resp = client.modify_migration_project({
|
9748
|
+
# migration_project_identifier: "String", # required
|
9749
|
+
# migration_project_name: "String",
|
9750
|
+
# source_data_provider_descriptors: [
|
9751
|
+
# {
|
9752
|
+
# data_provider_identifier: "String", # required
|
9753
|
+
# secrets_manager_secret_id: "String",
|
9754
|
+
# secrets_manager_access_role_arn: "String",
|
9755
|
+
# },
|
9756
|
+
# ],
|
9757
|
+
# target_data_provider_descriptors: [
|
9758
|
+
# {
|
9759
|
+
# data_provider_identifier: "String", # required
|
9760
|
+
# secrets_manager_secret_id: "String",
|
9761
|
+
# secrets_manager_access_role_arn: "String",
|
9762
|
+
# },
|
9763
|
+
# ],
|
9764
|
+
# instance_profile_identifier: "String",
|
9765
|
+
# transformation_rules: "String",
|
9766
|
+
# description: "String",
|
9767
|
+
# schema_conversion_application_attributes: {
|
9768
|
+
# s3_bucket_path: "String",
|
9769
|
+
# s3_bucket_role_arn: "String",
|
9770
|
+
# },
|
9771
|
+
# })
|
9772
|
+
#
|
9773
|
+
# @example Response structure
|
9774
|
+
#
|
9775
|
+
# resp.migration_project.migration_project_name #=> String
|
9776
|
+
# resp.migration_project.migration_project_arn #=> String
|
9777
|
+
# resp.migration_project.migration_project_creation_time #=> Time
|
9778
|
+
# resp.migration_project.source_data_provider_descriptors #=> Array
|
9779
|
+
# resp.migration_project.source_data_provider_descriptors[0].secrets_manager_secret_id #=> String
|
9780
|
+
# resp.migration_project.source_data_provider_descriptors[0].secrets_manager_access_role_arn #=> String
|
9781
|
+
# resp.migration_project.source_data_provider_descriptors[0].data_provider_name #=> String
|
9782
|
+
# resp.migration_project.source_data_provider_descriptors[0].data_provider_arn #=> String
|
9783
|
+
# resp.migration_project.target_data_provider_descriptors #=> Array
|
9784
|
+
# resp.migration_project.target_data_provider_descriptors[0].secrets_manager_secret_id #=> String
|
9785
|
+
# resp.migration_project.target_data_provider_descriptors[0].secrets_manager_access_role_arn #=> String
|
9786
|
+
# resp.migration_project.target_data_provider_descriptors[0].data_provider_name #=> String
|
9787
|
+
# resp.migration_project.target_data_provider_descriptors[0].data_provider_arn #=> String
|
9788
|
+
# resp.migration_project.instance_profile_arn #=> String
|
9789
|
+
# resp.migration_project.instance_profile_name #=> String
|
9790
|
+
# resp.migration_project.transformation_rules #=> String
|
9791
|
+
# resp.migration_project.description #=> String
|
9792
|
+
# resp.migration_project.schema_conversion_application_attributes.s3_bucket_path #=> String
|
9793
|
+
# resp.migration_project.schema_conversion_application_attributes.s3_bucket_role_arn #=> String
|
9794
|
+
#
|
9795
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyMigrationProject AWS API Documentation
|
9796
|
+
#
|
9797
|
+
# @overload modify_migration_project(params = {})
|
9798
|
+
# @param [Hash] params ({})
|
9799
|
+
def modify_migration_project(params = {}, options = {})
|
9800
|
+
req = build_request(:modify_migration_project, params)
|
9801
|
+
req.send_request(options)
|
9802
|
+
end
|
9803
|
+
|
7508
9804
|
# Modifies an existing DMS Serverless replication configuration that you
|
7509
9805
|
# can use to start a replication. This command includes input validation
|
7510
9806
|
# and logic to check the state of any replication that uses this
|
@@ -7695,15 +9991,6 @@ module Aws::DatabaseMigrationService
|
|
7695
9991
|
#
|
7696
9992
|
# * DMS has enabled automatic patching for the given engine version.
|
7697
9993
|
#
|
7698
|
-
# When `AutoMinorVersionUpgrade` is enabled, DMS uses the current
|
7699
|
-
# default engine version when you modify a replication instance. For
|
7700
|
-
# example, if you set `EngineVersion` to a lower version number than the
|
7701
|
-
# current default version, DMS uses the default version.
|
7702
|
-
#
|
7703
|
-
# If `AutoMinorVersionUpgrade` *isn’t* enabled when you modify a
|
7704
|
-
# replication instance, DMS uses the engine version specified by the
|
7705
|
-
# `EngineVersion` parameter.
|
7706
|
-
#
|
7707
9994
|
# @option params [String] :replication_instance_identifier
|
7708
9995
|
# The replication instance identifier. This parameter is stored as a
|
7709
9996
|
# lowercase string.
|
@@ -8009,8 +10296,8 @@ module Aws::DatabaseMigrationService
|
|
8009
10296
|
# Server time example: --cdc-stop-position
|
8010
10297
|
# “server\_time:2018-02-09T12:12:12”
|
8011
10298
|
#
|
8012
|
-
# Commit time example: --cdc-stop-position
|
8013
|
-
# 2018-02-09T12:12:12“
|
10299
|
+
# Commit time example: --cdc-stop-position
|
10300
|
+
# “commit\_time:2018-02-09T12:12:12“
|
8014
10301
|
#
|
8015
10302
|
# @option params [String] :task_data
|
8016
10303
|
# Supplemental information that the task requires to migrate the data
|
@@ -8460,6 +10747,326 @@ module Aws::DatabaseMigrationService
|
|
8460
10747
|
req.send_request(options)
|
8461
10748
|
end
|
8462
10749
|
|
10750
|
+
# Applies the extension pack to your target database. An extension pack
|
10751
|
+
# is an add-on module that emulates functions present in a source
|
10752
|
+
# database that are required when converting objects to the target
|
10753
|
+
# database.
|
10754
|
+
#
|
10755
|
+
# @option params [required, String] :migration_project_identifier
|
10756
|
+
# The migration project name or Amazon Resource Name (ARN).
|
10757
|
+
#
|
10758
|
+
# @return [Types::StartExtensionPackAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
10759
|
+
#
|
10760
|
+
# * {Types::StartExtensionPackAssociationResponse#request_identifier #request_identifier} => String
|
10761
|
+
#
|
10762
|
+
#
|
10763
|
+
# @example Example: Start Extension Pack Association
|
10764
|
+
#
|
10765
|
+
# # Applies the extension pack to your target database.
|
10766
|
+
#
|
10767
|
+
# resp = client.start_extension_pack_association({
|
10768
|
+
# migration_project_identifier: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
10769
|
+
# })
|
10770
|
+
#
|
10771
|
+
# resp.to_h outputs the following:
|
10772
|
+
# {
|
10773
|
+
# request_identifier: "01234567-89ab-cdef-0123-456789abcdef",
|
10774
|
+
# }
|
10775
|
+
#
|
10776
|
+
# @example Request syntax with placeholder values
|
10777
|
+
#
|
10778
|
+
# resp = client.start_extension_pack_association({
|
10779
|
+
# migration_project_identifier: "String", # required
|
10780
|
+
# })
|
10781
|
+
#
|
10782
|
+
# @example Response structure
|
10783
|
+
#
|
10784
|
+
# resp.request_identifier #=> String
|
10785
|
+
#
|
10786
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StartExtensionPackAssociation AWS API Documentation
|
10787
|
+
#
|
10788
|
+
# @overload start_extension_pack_association(params = {})
|
10789
|
+
# @param [Hash] params ({})
|
10790
|
+
def start_extension_pack_association(params = {}, options = {})
|
10791
|
+
req = build_request(:start_extension_pack_association, params)
|
10792
|
+
req.send_request(options)
|
10793
|
+
end
|
10794
|
+
|
10795
|
+
# Creates a database migration assessment report by assessing the
|
10796
|
+
# migration complexity for your source database. A database migration
|
10797
|
+
# assessment report summarizes all of the schema conversion tasks. It
|
10798
|
+
# also details the action items for database objects that can't be
|
10799
|
+
# converted to the database engine of your target database instance.
|
10800
|
+
#
|
10801
|
+
# @option params [required, String] :migration_project_identifier
|
10802
|
+
# The migration project name or Amazon Resource Name (ARN).
|
10803
|
+
#
|
10804
|
+
# @option params [required, String] :selection_rules
|
10805
|
+
# A value that specifies the database objects to assess.
|
10806
|
+
#
|
10807
|
+
# @return [Types::StartMetadataModelAssessmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
10808
|
+
#
|
10809
|
+
# * {Types::StartMetadataModelAssessmentResponse#request_identifier #request_identifier} => String
|
10810
|
+
#
|
10811
|
+
#
|
10812
|
+
# @example Example: Start Metadata Model Assessment
|
10813
|
+
#
|
10814
|
+
# # Creates a database migration assessment report by assessing the migration complexity for
|
10815
|
+
# # your source database.
|
10816
|
+
#
|
10817
|
+
# resp = client.start_metadata_model_assessment({
|
10818
|
+
# migration_project_identifier: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
10819
|
+
# selection_rules: "{\"rules\": [{\"rule-type\": \"selection\",\"rule-id\": \"1\",\"rule-name\": \"1\",\"object-locator\": {\"server-name\": \"aurora-pg.cluster-0a1b2c3d4e5f.us-east-1.rds.amazonaws.com\", \"schema-name\": \"schema1\", \"table-name\": \"Cities\"},\"rule-action\": \"explicit\"} ]}",
|
10820
|
+
# })
|
10821
|
+
#
|
10822
|
+
# resp.to_h outputs the following:
|
10823
|
+
# {
|
10824
|
+
# request_identifier: "01234567-89ab-cdef-0123-456789abcdef",
|
10825
|
+
# }
|
10826
|
+
#
|
10827
|
+
# @example Request syntax with placeholder values
|
10828
|
+
#
|
10829
|
+
# resp = client.start_metadata_model_assessment({
|
10830
|
+
# migration_project_identifier: "String", # required
|
10831
|
+
# selection_rules: "String", # required
|
10832
|
+
# })
|
10833
|
+
#
|
10834
|
+
# @example Response structure
|
10835
|
+
#
|
10836
|
+
# resp.request_identifier #=> String
|
10837
|
+
#
|
10838
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StartMetadataModelAssessment AWS API Documentation
|
10839
|
+
#
|
10840
|
+
# @overload start_metadata_model_assessment(params = {})
|
10841
|
+
# @param [Hash] params ({})
|
10842
|
+
def start_metadata_model_assessment(params = {}, options = {})
|
10843
|
+
req = build_request(:start_metadata_model_assessment, params)
|
10844
|
+
req.send_request(options)
|
10845
|
+
end
|
10846
|
+
|
10847
|
+
# Converts your source database objects to a format compatible with the
|
10848
|
+
# target database.
|
10849
|
+
#
|
10850
|
+
# @option params [required, String] :migration_project_identifier
|
10851
|
+
# The migration project name or Amazon Resource Name (ARN).
|
10852
|
+
#
|
10853
|
+
# @option params [required, String] :selection_rules
|
10854
|
+
# A value that specifies the database objects to convert.
|
10855
|
+
#
|
10856
|
+
# @return [Types::StartMetadataModelConversionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
10857
|
+
#
|
10858
|
+
# * {Types::StartMetadataModelConversionResponse#request_identifier #request_identifier} => String
|
10859
|
+
#
|
10860
|
+
#
|
10861
|
+
# @example Example: Start Metadata Model Conversion
|
10862
|
+
#
|
10863
|
+
# # Converts your source database objects to a format compatible with the target database.
|
10864
|
+
#
|
10865
|
+
# resp = client.start_metadata_model_conversion({
|
10866
|
+
# migration_project_identifier: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
10867
|
+
# selection_rules: "{\"rules\": [{\"rule-type\": \"selection\",\"rule-id\": \"1\",\"rule-name\": \"1\",\"object-locator\": {\"server-name\": \"aurora-pg.cluster-0a1b2c3d4e5f.us-east-1.rds.amazonaws.com\", \"schema-name\": \"schema1\", \"table-name\": \"Cities\"},\"rule-action\": \"explicit\"} ]}",
|
10868
|
+
# })
|
10869
|
+
#
|
10870
|
+
# resp.to_h outputs the following:
|
10871
|
+
# {
|
10872
|
+
# request_identifier: "01234567-89ab-cdef-0123-456789abcdef",
|
10873
|
+
# }
|
10874
|
+
#
|
10875
|
+
# @example Request syntax with placeholder values
|
10876
|
+
#
|
10877
|
+
# resp = client.start_metadata_model_conversion({
|
10878
|
+
# migration_project_identifier: "String", # required
|
10879
|
+
# selection_rules: "String", # required
|
10880
|
+
# })
|
10881
|
+
#
|
10882
|
+
# @example Response structure
|
10883
|
+
#
|
10884
|
+
# resp.request_identifier #=> String
|
10885
|
+
#
|
10886
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StartMetadataModelConversion AWS API Documentation
|
10887
|
+
#
|
10888
|
+
# @overload start_metadata_model_conversion(params = {})
|
10889
|
+
# @param [Hash] params ({})
|
10890
|
+
def start_metadata_model_conversion(params = {}, options = {})
|
10891
|
+
req = build_request(:start_metadata_model_conversion, params)
|
10892
|
+
req.send_request(options)
|
10893
|
+
end
|
10894
|
+
|
10895
|
+
# Saves your converted code to a file as a SQL script, and stores this
|
10896
|
+
# file on your Amazon S3 bucket.
|
10897
|
+
#
|
10898
|
+
# @option params [required, String] :migration_project_identifier
|
10899
|
+
# The migration project name or Amazon Resource Name (ARN).
|
10900
|
+
#
|
10901
|
+
# @option params [required, String] :selection_rules
|
10902
|
+
# A value that specifies the database objects to export.
|
10903
|
+
#
|
10904
|
+
# @option params [required, String] :origin
|
10905
|
+
# Whether to export the metadata model from the source or the target.
|
10906
|
+
#
|
10907
|
+
# @option params [String] :file_name
|
10908
|
+
# The name of the model file to create in the Amazon S3 bucket.
|
10909
|
+
#
|
10910
|
+
# @return [Types::StartMetadataModelExportAsScriptResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
10911
|
+
#
|
10912
|
+
# * {Types::StartMetadataModelExportAsScriptResponse#request_identifier #request_identifier} => String
|
10913
|
+
#
|
10914
|
+
#
|
10915
|
+
# @example Example: Start Metadata Model Export As Script
|
10916
|
+
#
|
10917
|
+
# # Saves your converted code to a file as a SQL script, and stores this file on your S3 bucket.
|
10918
|
+
#
|
10919
|
+
# resp = client.start_metadata_model_export_as_script({
|
10920
|
+
# file_name: "FILE",
|
10921
|
+
# migration_project_identifier: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
10922
|
+
# origin: "SOURCE",
|
10923
|
+
# selection_rules: "{\"rules\": [{\"rule-type\": \"selection\",\"rule-id\": \"1\",\"rule-name\": \"1\",\"object-locator\": {\"server-name\": \"aurora-pg.cluster-0a1b2c3d4e5f.us-east-1.rds.amazonaws.com\", \"schema-name\": \"schema1\", \"table-name\": \"Cities\"},\"rule-action\": \"explicit\"} ]}",
|
10924
|
+
# })
|
10925
|
+
#
|
10926
|
+
# resp.to_h outputs the following:
|
10927
|
+
# {
|
10928
|
+
# request_identifier: "01234567-89ab-cdef-0123-456789abcdef",
|
10929
|
+
# }
|
10930
|
+
#
|
10931
|
+
# @example Request syntax with placeholder values
|
10932
|
+
#
|
10933
|
+
# resp = client.start_metadata_model_export_as_script({
|
10934
|
+
# migration_project_identifier: "String", # required
|
10935
|
+
# selection_rules: "String", # required
|
10936
|
+
# origin: "SOURCE", # required, accepts SOURCE, TARGET
|
10937
|
+
# file_name: "String",
|
10938
|
+
# })
|
10939
|
+
#
|
10940
|
+
# @example Response structure
|
10941
|
+
#
|
10942
|
+
# resp.request_identifier #=> String
|
10943
|
+
#
|
10944
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StartMetadataModelExportAsScript AWS API Documentation
|
10945
|
+
#
|
10946
|
+
# @overload start_metadata_model_export_as_script(params = {})
|
10947
|
+
# @param [Hash] params ({})
|
10948
|
+
def start_metadata_model_export_as_script(params = {}, options = {})
|
10949
|
+
req = build_request(:start_metadata_model_export_as_script, params)
|
10950
|
+
req.send_request(options)
|
10951
|
+
end
|
10952
|
+
|
10953
|
+
# Applies converted database objects to your target database.
|
10954
|
+
#
|
10955
|
+
# @option params [required, String] :migration_project_identifier
|
10956
|
+
# The migration project name or Amazon Resource Name (ARN).
|
10957
|
+
#
|
10958
|
+
# @option params [required, String] :selection_rules
|
10959
|
+
# A value that specifies the database objects to export.
|
10960
|
+
#
|
10961
|
+
# @option params [Boolean] :overwrite_extension_pack
|
10962
|
+
# Whether to overwrite the migration project extension pack. An
|
10963
|
+
# extension pack is an add-on module that emulates functions present in
|
10964
|
+
# a source database that are required when converting objects to the
|
10965
|
+
# target database.
|
10966
|
+
#
|
10967
|
+
# @return [Types::StartMetadataModelExportToTargetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
10968
|
+
#
|
10969
|
+
# * {Types::StartMetadataModelExportToTargetResponse#request_identifier #request_identifier} => String
|
10970
|
+
#
|
10971
|
+
#
|
10972
|
+
# @example Example: Start Metadata Model Export To Target
|
10973
|
+
#
|
10974
|
+
# # Applies converted database objects to your target database.
|
10975
|
+
#
|
10976
|
+
# resp = client.start_metadata_model_export_to_target({
|
10977
|
+
# migration_project_identifier: "arn:aws:dms:us-east-1:012345678901:migration-project:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345",
|
10978
|
+
# overwrite_extension_pack: true,
|
10979
|
+
# selection_rules: "{\"rules\": [{\"rule-type\": \"selection\",\"rule-id\": \"1\",\"rule-name\": \"1\",\"object-locator\": {\"server-name\": \"aurora-pg.cluster-a1b2c3d4e5f6.us-east-1.rds.amazonaws.com\", \"schema-name\": \"schema1\", \"table-name\": \"Cities\"},\"rule-action\": \"explicit\"} ]}",
|
10980
|
+
# })
|
10981
|
+
#
|
10982
|
+
# resp.to_h outputs the following:
|
10983
|
+
# {
|
10984
|
+
# request_identifier: "01234567-89ab-cdef-0123-456789abcdef",
|
10985
|
+
# }
|
10986
|
+
#
|
10987
|
+
# @example Request syntax with placeholder values
|
10988
|
+
#
|
10989
|
+
# resp = client.start_metadata_model_export_to_target({
|
10990
|
+
# migration_project_identifier: "String", # required
|
10991
|
+
# selection_rules: "String", # required
|
10992
|
+
# overwrite_extension_pack: false,
|
10993
|
+
# })
|
10994
|
+
#
|
10995
|
+
# @example Response structure
|
10996
|
+
#
|
10997
|
+
# resp.request_identifier #=> String
|
10998
|
+
#
|
10999
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StartMetadataModelExportToTarget AWS API Documentation
|
11000
|
+
#
|
11001
|
+
# @overload start_metadata_model_export_to_target(params = {})
|
11002
|
+
# @param [Hash] params ({})
|
11003
|
+
def start_metadata_model_export_to_target(params = {}, options = {})
|
11004
|
+
req = build_request(:start_metadata_model_export_to_target, params)
|
11005
|
+
req.send_request(options)
|
11006
|
+
end
|
11007
|
+
|
11008
|
+
# Loads the metadata for all the dependent database objects of the
|
11009
|
+
# parent object.
|
11010
|
+
#
|
11011
|
+
# This operation uses your project's Amazon S3 bucket as a metadata
|
11012
|
+
# cache to improve performance.
|
11013
|
+
#
|
11014
|
+
# @option params [required, String] :migration_project_identifier
|
11015
|
+
# The migration project name or Amazon Resource Name (ARN).
|
11016
|
+
#
|
11017
|
+
# @option params [required, String] :selection_rules
|
11018
|
+
# A value that specifies the database objects to import.
|
11019
|
+
#
|
11020
|
+
# @option params [required, String] :origin
|
11021
|
+
# Whether to load metadata to the source or target database.
|
11022
|
+
#
|
11023
|
+
# @option params [Boolean] :refresh
|
11024
|
+
# If `true`, DMS loads metadata for the specified objects from the
|
11025
|
+
# source database.
|
11026
|
+
#
|
11027
|
+
# @return [Types::StartMetadataModelImportResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
11028
|
+
#
|
11029
|
+
# * {Types::StartMetadataModelImportResponse#request_identifier #request_identifier} => String
|
11030
|
+
#
|
11031
|
+
#
|
11032
|
+
# @example Example: Start Metadata Model Import
|
11033
|
+
#
|
11034
|
+
# # Loads the metadata for all the dependent database objects of the parent object.
|
11035
|
+
#
|
11036
|
+
# resp = client.start_metadata_model_import({
|
11037
|
+
# migration_project_identifier: "arn:aws:dms:us-east-1:012345678901:migration-project:0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ012",
|
11038
|
+
# origin: "SOURCE",
|
11039
|
+
# refresh: false,
|
11040
|
+
# selection_rules: "{\"rules\": [{\"rule-type\": \"selection\",\"rule-id\": \"1\",\"rule-name\": \"1\",\"object-locator\": {\"server-name\": \"aurora-pg.cluster-0a1b2c3d4e5f.us-east-1.rds.amazonaws.com\", \"schema-name\": \"schema1\", \"table-name\": \"Cities\"},\"rule-action\": \"explicit\"} ]}",
|
11041
|
+
# })
|
11042
|
+
#
|
11043
|
+
# resp.to_h outputs the following:
|
11044
|
+
# {
|
11045
|
+
# request_identifier: "01234567-89ab-cdef-0123-456789abcdef",
|
11046
|
+
# }
|
11047
|
+
#
|
11048
|
+
# @example Request syntax with placeholder values
|
11049
|
+
#
|
11050
|
+
# resp = client.start_metadata_model_import({
|
11051
|
+
# migration_project_identifier: "String", # required
|
11052
|
+
# selection_rules: "String", # required
|
11053
|
+
# origin: "SOURCE", # required, accepts SOURCE, TARGET
|
11054
|
+
# refresh: false,
|
11055
|
+
# })
|
11056
|
+
#
|
11057
|
+
# @example Response structure
|
11058
|
+
#
|
11059
|
+
# resp.request_identifier #=> String
|
11060
|
+
#
|
11061
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StartMetadataModelImport AWS API Documentation
|
11062
|
+
#
|
11063
|
+
# @overload start_metadata_model_import(params = {})
|
11064
|
+
# @param [Hash] params ({})
|
11065
|
+
def start_metadata_model_import(params = {}, options = {})
|
11066
|
+
req = build_request(:start_metadata_model_import, params)
|
11067
|
+
req.send_request(options)
|
11068
|
+
end
|
11069
|
+
|
8463
11070
|
# Starts the analysis of your source database to provide recommendations
|
8464
11071
|
# of target engines.
|
8465
11072
|
#
|
@@ -8671,8 +11278,8 @@ module Aws::DatabaseMigrationService
|
|
8671
11278
|
# Server time example: --cdc-stop-position
|
8672
11279
|
# “server\_time:2018-02-09T12:12:12”
|
8673
11280
|
#
|
8674
|
-
# Commit time example: --cdc-stop-position
|
8675
|
-
# 2018-02-09T12:12:12“
|
11281
|
+
# Commit time example: --cdc-stop-position
|
11282
|
+
# “commit\_time:2018-02-09T12:12:12“
|
8676
11283
|
#
|
8677
11284
|
# @return [Types::StartReplicationTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8678
11285
|
#
|
@@ -9153,12 +11760,12 @@ module Aws::DatabaseMigrationService
|
|
9153
11760
|
# Migrates 10 active and enabled Amazon SNS subscriptions at a time and
|
9154
11761
|
# converts them to corresponding Amazon EventBridge rules. By default,
|
9155
11762
|
# this operation migrates subscriptions only when all your replication
|
9156
|
-
# instance versions are 3.4.
|
9157
|
-
# are from versions earlier than 3.4.
|
9158
|
-
# and tells you to upgrade these instances to version 3.4.
|
11763
|
+
# instance versions are 3.4.5 or higher. If any replication instances
|
11764
|
+
# are from versions earlier than 3.4.5, the operation raises an error
|
11765
|
+
# and tells you to upgrade these instances to version 3.4.5 or higher.
|
9159
11766
|
# To enable migration regardless of version, set the `Force` option to
|
9160
11767
|
# true. However, if you don't upgrade instances earlier than version
|
9161
|
-
# 3.4.
|
11768
|
+
# 3.4.5, some types of events might not be available when you use Amazon
|
9162
11769
|
# EventBridge.
|
9163
11770
|
#
|
9164
11771
|
# To call this operation, make sure that you have certain permissions
|
@@ -9174,7 +11781,7 @@ module Aws::DatabaseMigrationService
|
|
9174
11781
|
# When set to true, this operation migrates DMS subscriptions for Amazon
|
9175
11782
|
# SNS notifications no matter what your replication instance version is.
|
9176
11783
|
# If not set or set to false, this operation runs only when all your
|
9177
|
-
# replication instances are from DMS version 3.4.
|
11784
|
+
# replication instances are from DMS version 3.4.5 or higher.
|
9178
11785
|
#
|
9179
11786
|
# @return [Types::UpdateSubscriptionsToEventBridgeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
9180
11787
|
#
|
@@ -9212,7 +11819,7 @@ module Aws::DatabaseMigrationService
|
|
9212
11819
|
params: params,
|
9213
11820
|
config: config)
|
9214
11821
|
context[:gem_name] = 'aws-sdk-databasemigrationservice'
|
9215
|
-
context[:gem_version] = '1.
|
11822
|
+
context[:gem_version] = '1.87.0'
|
9216
11823
|
Seahorse::Client::Request.new(handlers, context)
|
9217
11824
|
end
|
9218
11825
|
|