lib/aws-sdk-databasemigrationservice/client.rb in aws-sdk-databasemigrationservice-1.13.0 vs lib/aws-sdk-databasemigrationservice/client.rb in aws-sdk-databasemigrationservice-1.14.0
- old
+ new
@@ -13,10 +13,11 @@
require 'aws-sdk-core/plugins/user_agent.rb'
require 'aws-sdk-core/plugins/helpful_socket_errors.rb'
require 'aws-sdk-core/plugins/retry_errors.rb'
require 'aws-sdk-core/plugins/global_configuration.rb'
require 'aws-sdk-core/plugins/regional_endpoint.rb'
+require 'aws-sdk-core/plugins/endpoint_discovery.rb'
require 'aws-sdk-core/plugins/response_paging.rb'
require 'aws-sdk-core/plugins/stub_responses.rb'
require 'aws-sdk-core/plugins/idempotency_token.rb'
require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
@@ -43,10 +44,11 @@
add_plugin(Aws::Plugins::UserAgent)
add_plugin(Aws::Plugins::HelpfulSocketErrors)
add_plugin(Aws::Plugins::RetryErrors)
add_plugin(Aws::Plugins::GlobalConfiguration)
add_plugin(Aws::Plugins::RegionalEndpoint)
+ add_plugin(Aws::Plugins::EndpointDiscovery)
add_plugin(Aws::Plugins::ResponsePaging)
add_plugin(Aws::Plugins::StubResponses)
add_plugin(Aws::Plugins::IdempotencyToken)
add_plugin(Aws::Plugins::JsonvalueConverter)
add_plugin(Aws::Plugins::ClientMetricsPlugin)
@@ -96,10 +98,14 @@
# * `~/.aws/credentials`
# * `~/.aws/config`
#
# @option options [String] :access_key_id
#
+ # @option options [Boolean] :active_endpoint_cache (false)
+ # When set to `true`, a thread polling for endpoints will be running in
+ # the background every 60 secs (default). Defaults to `false`.
+ #
# @option options [Boolean] :client_side_monitoring (false)
# When `true`, client-side metrics will be collected for all API requests from
# this client.
#
# @option options [String] :client_side_monitoring_client_id ("")
@@ -121,10 +127,25 @@
# @option options [String] :endpoint
# The client endpoint is normally constructed from the `:region`
# option. You should only configure an `:endpoint` when connecting
# to test endpoints. This should be avalid HTTP(S) URI.
#
+ # @option options [Integer] :endpoint_cache_max_entries (1000)
+ # Used for the maximum size limit of the LRU cache storing endpoints data
+ # for endpoint discovery enabled operations. Defaults to 1000.
+ #
+ # @option options [Integer] :endpoint_cache_max_threads (10)
+ # Used for the maximum threads in use for polling endpoints to be cached, defaults to 10.
+ #
+ # @option options [Integer] :endpoint_cache_poll_interval (60)
+ # When :endpoint_discovery and :active_endpoint_cache is enabled,
+ # Use this option to config the time interval in seconds for making
+ # requests fetching endpoints information. Defaults to 60 sec.
+ #
+ # @option options [Boolean] :endpoint_discovery (false)
+ # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
+ #
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
# The log formatter.
#
# @option options [Symbol] :log_level (:info)
# The log level to send messages to the `:logger` at.
@@ -256,19 +277,19 @@
# @option params [required, String] :endpoint_type
# The type of endpoint.
#
# @option params [required, String] :engine_name
# The type of engine for the endpoint. Valid values, depending on the
- # EndPointType, include mysql, oracle, postgres, mariadb, aurora,
- # aurora-postgresql, redshift, s3, db2, azuredb, sybase, dynamodb,
- # mongodb, and sqlserver.
+ # `EndPointType` value, include `mysql`, `oracle`, `postgres`,
+ # `mariadb`, `aurora`, `aurora-postgresql`, `redshift`, `s3`, `db2`,
+ # `azuredb`, `sybase`, `dynamodb`, `mongodb`, and `sqlserver`.
#
# @option params [String] :username
- # The user name to be used to login to the endpoint database.
+ # The user name to be used to log in to the endpoint database.
#
# @option params [String] :password
- # The password to be used to login to the endpoint database.
+ # The password to be used to log in to the endpoint database.
#
# @option params [String] :server_name
# The name of the server where the endpoint database resides.
#
# @option params [Integer] :port
@@ -279,90 +300,107 @@
#
# @option params [String] :extra_connection_attributes
# Additional attributes associated with the connection.
#
# @option params [String] :kms_key_id
- # The KMS key identifier that will be used to encrypt the connection
- # parameters. If you do not specify a value for the KmsKeyId parameter,
- # then AWS DMS will use your default encryption key. AWS KMS creates the
- # default encryption key for your AWS account. Your AWS account has a
- # different default encryption key for each AWS region.
+ # The AWS KMS key identifier to use to encrypt the connection
+ # parameters. If you don't specify a value for the `KmsKeyId`
+ # parameter, then AWS DMS uses your default encryption key. AWS KMS
+ # creates the default encryption key for your AWS account. Your AWS
+ # account has a different default encryption key for each AWS Region.
#
# @option params [Array<Types::Tag>] :tags
# Tags to be added to the endpoint.
#
# @option params [String] :certificate_arn
# The Amazon Resource Name (ARN) for the certificate.
#
# @option params [String] :ssl_mode
- # The SSL mode to use for the SSL connection.
+ # The Secure Sockets Layer (SSL) mode to use for the SSL connection. The
+ # SSL mode can be one of four values: `none`, `require`, `verify-ca`,
+ # `verify-full`. The default value is `none`.
#
- # SSL mode can be one of four values: none, require, verify-ca,
- # verify-full.
- #
- # The default value is none.
- #
# @option params [String] :service_access_role_arn
- # The Amazon Resource Name (ARN) for the service access role you want to
- # use to create the endpoint.
+ # The Amazon Resource Name (ARN) for the service access role that you
+ # want to use to create the endpoint.
#
# @option params [String] :external_table_definition
# The external table definition.
#
# @option params [Types::DynamoDbSettings] :dynamo_db_settings
# Settings in JSON format for the target Amazon DynamoDB endpoint. For
- # more information about the available settings, see the **Using Object
- # Mapping to Migrate Data to DynamoDB** section at [ Using an Amazon
- # DynamoDB Database as a Target for AWS Database Migration Service][1].
+ # more information about the available settings, see [Using Object
+ # Mapping to Migrate Data to DynamoDB][1] in the *AWS Database Migration
+ # Service User Guide.*
#
#
#
# [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.DynamoDB.html
#
# @option params [Types::S3Settings] :s3_settings
# Settings in JSON format for the target Amazon S3 endpoint. For more
- # information about the available settings, see the **Extra Connection
- # Attributes** section at [ Using Amazon S3 as a Target for AWS Database
- # Migration Service][1].
+ # information about the available settings, see [Extra Connection
+ # Attributes When Using Amazon S3 as a Target for AWS DMS][1] in the
+ # *AWS Database Migration Service User Guide.*
#
#
#
- # [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.S3.html
+ # [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.S3.html#CHAP_Target.S3.Configuring
#
# @option params [Types::DmsTransferSettings] :dms_transfer_settings
- # The settings in JSON format for the DMS Transfer type source endpoint.
+ # The settings in JSON format for the DMS transfer type of source
+ # endpoint.
#
- # Attributes include:
+ # Possible attributes include the following:
#
- # * serviceAccessRoleArn - The IAM role that has permission to access
+ # * `serviceAccessRoleArn` - The IAM role that has permission to access
# the Amazon S3 bucket.
#
- # * bucketName - The name of the S3 bucket to use.
+ # * `bucketName` - The name of the S3 bucket to use.
#
- # * compressionType - An optional parameter to use GZIP to compress the
- # target files. Set to NONE (the default) or do not use to leave the
- # files uncompressed.
+ # * `compressionType` - An optional parameter to use GZIP to compress
+ # the target files. To use GZIP, set this value to `NONE` (the
+ # default). To keep the files uncompressed, don't use this value.
#
- # Shorthand syntax: ServiceAccessRoleArn=string
- # ,BucketName=string,CompressionType=string
+ # Shorthand syntax for these attributes is as follows:
+ # `ServiceAccessRoleArn=string,BucketName=string,CompressionType=string`
#
- # JSON syntax:
+ # JSON syntax for these attributes is as follows: `\{
+ # "ServiceAccessRoleArn": "string", "BucketName": "string",
+ # "CompressionType": "none"|"gzip" \} `
#
- # \\\{ "ServiceAccessRoleArn": "string", "BucketName": "string",
- # "CompressionType": "none"\|"gzip" \\}
- #
# @option params [Types::MongoDbSettings] :mongo_db_settings
# Settings in JSON format for the source MongoDB endpoint. For more
- # information about the available settings, see the **Configuration
- # Properties When Using MongoDB as a Source for AWS Database Migration
- # Service** section at [ Using MongoDB as a Target for AWS Database
- # Migration Service][1].
+ # information about the available settings, see the configuration
+ # properties section in [ Using MongoDB as a Target for AWS Database
+ # Migration Service][1] in the *AWS Database Migration Service User
+ # Guide.*
#
#
#
# [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.MongoDB.html
#
+ # @option params [Types::KinesisSettings] :kinesis_settings
+ # Settings in JSON format for the target Amazon Kinesis Data Streams
+ # endpoint. For more information about the available settings, see
+ # [Using Object Mapping to Migrate Data to a Kinesis Data Stream][1] in
+ # the *AWS Database Migration User Guide.*
+ #
+ #
+ #
+ # [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Kinesis.html#CHAP_Target.Kinesis.ObjectMapping
+ #
+ # @option params [Types::ElasticsearchSettings] :elasticsearch_settings
+ # Settings in JSON format for the target Elasticsearch endpoint. For
+ # more information about the available settings, see [Extra Connection
+ # Attributes When Using Elasticsearch as a Target for AWS DMS][1] in the
+ # *AWS Database Migration User Guide.*
+ #
+ #
+ #
+ # [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Elasticsearch.html#CHAP_Target.Elasticsearch.Configuration
+ #
# @return [Types::CreateEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::CreateEndpointResponse#endpoint #endpoint} => Types::Endpoint
#
#
@@ -457,10 +495,21 @@
# extract_doc_id: "String",
# docs_to_investigate: "String",
# auth_source: "String",
# kms_key_id: "String",
# },
+ # kinesis_settings: {
+ # stream_arn: "String",
+ # message_format: "json", # accepts json
+ # service_access_role_arn: "String",
+ # },
+ # elasticsearch_settings: {
+ # service_access_role_arn: "String", # required
+ # endpoint_uri: "String", # required
+ # full_load_error_percentage: 1,
+ # error_retry_duration: 1,
+ # },
# })
#
# @example Response structure
#
# resp.endpoint.endpoint_identifier #=> String
@@ -500,10 +549,17 @@
# resp.endpoint.mongo_db_settings.nesting_level #=> String, one of "none", "one"
# resp.endpoint.mongo_db_settings.extract_doc_id #=> String
# resp.endpoint.mongo_db_settings.docs_to_investigate #=> String
# resp.endpoint.mongo_db_settings.auth_source #=> String
# resp.endpoint.mongo_db_settings.kms_key_id #=> String
+ # resp.endpoint.kinesis_settings.stream_arn #=> String
+ # resp.endpoint.kinesis_settings.message_format #=> String, one of "json"
+ # resp.endpoint.kinesis_settings.service_access_role_arn #=> String
+ # resp.endpoint.elasticsearch_settings.service_access_role_arn #=> String
+ # resp.endpoint.elasticsearch_settings.endpoint_uri #=> String
+ # resp.endpoint.elasticsearch_settings.full_load_error_percentage #=> Integer
+ # resp.endpoint.elasticsearch_settings.error_retry_duration #=> Integer
#
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEndpoint AWS API Documentation
#
# @overload create_endpoint(params = {})
# @param [Hash] params ({})
@@ -525,13 +581,13 @@
# `SourceIdentifier`, you receive notice of the events for that source
# type for all your AWS DMS sources. If you don't specify either
# `SourceType` nor `SourceIdentifier`, you will be notified of events
# generated from all AWS DMS sources belonging to your customer account.
#
- # For more information about AWS DMS events, see [ Working with Events
- # and Notifications ][1] in the AWS Database MIgration Service User
- # Guide.
+ # For more information about AWS DMS events, see [Working with Events
+ # and Notifications][1] in the *AWS Database Migration Service User
+ # Guide.*
#
#
#
# [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Events.html
#
@@ -554,13 +610,13 @@
# Valid values: replication-instance \| migration-task
#
# @option params [Array<String>] :event_categories
# A list of event categories for a source type that you want to
# subscribe to. You can see a list of the categories for a given source
- # type by calling the **DescribeEventCategories** action or in the topic
- # [ Working with Events and Notifications][1] in the AWS Database
- # Migration Service User Guide.
+ # type by calling the `DescribeEventCategories` action or in the topic
+ # [Working with Events and Notifications][1] in the *AWS Database
+ # Migration Service User Guide.*
#
#
#
# [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Events.html
#
@@ -570,12 +626,12 @@
# response. An identifier must begin with a letter and must contain only
# ASCII letters, digits, and hyphens; it cannot end with a hyphen or
# contain two consecutive hyphens.
#
# @option params [Boolean] :enabled
- # A Boolean value; set to **true** to activate the subscription, or set
- # to **false** to create the subscription but not activate it.
+ # A Boolean value; set to `true` to activate the subscription, or set to
+ # `false` to create the subscription but not activate it.
#
# @option params [Array<Types::Tag>] :tags
# A tag to be attached to the event subscription.
#
# @return [Types::CreateEventSubscriptionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -696,22 +752,25 @@
#
# @option params [Array<Types::Tag>] :tags
# Tags to be associated with the replication instance.
#
# @option params [String] :kms_key_id
- # The KMS key identifier that will be used to encrypt the content on the
- # replication instance. If you do not specify a value for the KmsKeyId
- # parameter, then AWS DMS will use your default encryption key. AWS KMS
+ # The AWS KMS key identifier that is used to encrypt the content on the
+ # replication instance. If you don't specify a value for the `KmsKeyId`
+ # parameter, then AWS DMS uses your default encryption key. AWS KMS
# creates the default encryption key for your AWS account. Your AWS
- # account has a different default encryption key for each AWS region.
+ # account has a different default encryption key for each AWS Region.
#
# @option params [Boolean] :publicly_accessible
# Specifies the accessibility options for the replication instance. A
# value of `true` represents an instance with a public IP address. A
# value of `false` represents an instance with a private IP address. The
# default value is `true`.
#
+ # @option params [String] :dns_name_servers
+ # A list of DNS name servers supported for the replication instance.
+ #
# @return [Types::CreateReplicationInstanceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::CreateReplicationInstanceResponse#replication_instance #replication_instance} => Types::ReplicationInstance
#
#
@@ -814,10 +873,11 @@
# value: "String",
# },
# ],
# kms_key_id: "String",
# publicly_accessible: false,
+ # dns_name_servers: "String",
# })
#
# @example Response structure
#
# resp.replication_instance.replication_instance_identifier #=> String
@@ -854,10 +914,11 @@
# resp.replication_instance.replication_instance_private_ip_addresses #=> Array
# resp.replication_instance.replication_instance_private_ip_addresses[0] #=> String
# resp.replication_instance.publicly_accessible #=> Boolean
# resp.replication_instance.secondary_availability_zone #=> String
# resp.replication_instance.free_until #=> Time
+ # resp.replication_instance.dns_name_servers #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationInstance AWS API Documentation
#
# @overload create_replication_instance(params = {})
# @param [Hash] params ({})
@@ -987,11 +1048,12 @@
# For example, --table-mappings file://mappingfile.json
#
# @option params [String] :replication_task_settings
# Settings for the task, such as target metadata settings. For a
# complete list of task settings, see [Task Settings for AWS Database
- # Migration Service Tasks][1].
+ # Migration Service Tasks][1] in the *AWS Database Migration User
+ # Guide.*
#
#
#
# [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.CustomizingTasks.TaskSettings.html
#
@@ -1264,10 +1326,17 @@
# resp.endpoint.mongo_db_settings.nesting_level #=> String, one of "none", "one"
# resp.endpoint.mongo_db_settings.extract_doc_id #=> String
# resp.endpoint.mongo_db_settings.docs_to_investigate #=> String
# resp.endpoint.mongo_db_settings.auth_source #=> String
# resp.endpoint.mongo_db_settings.kms_key_id #=> String
+ # resp.endpoint.kinesis_settings.stream_arn #=> String
+ # resp.endpoint.kinesis_settings.message_format #=> String, one of "json"
+ # resp.endpoint.kinesis_settings.service_access_role_arn #=> String
+ # resp.endpoint.elasticsearch_settings.service_access_role_arn #=> String
+ # resp.endpoint.elasticsearch_settings.endpoint_uri #=> String
+ # resp.endpoint.elasticsearch_settings.full_load_error_percentage #=> Integer
+ # resp.endpoint.elasticsearch_settings.error_retry_duration #=> Integer
#
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteEndpoint AWS API Documentation
#
# @overload delete_endpoint(params = {})
# @param [Hash] params ({})
@@ -1435,10 +1504,11 @@
# resp.replication_instance.replication_instance_private_ip_addresses #=> Array
# resp.replication_instance.replication_instance_private_ip_addresses[0] #=> String
# resp.replication_instance.publicly_accessible #=> Boolean
# resp.replication_instance.secondary_availability_zone #=> String
# resp.replication_instance.free_until #=> Time
+ # resp.replication_instance.dns_name_servers #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationInstance AWS API Documentation
#
# @overload delete_replication_instance(params = {})
# @param [Hash] params ({})
@@ -1991,10 +2061,17 @@
# resp.endpoints[0].mongo_db_settings.nesting_level #=> String, one of "none", "one"
# resp.endpoints[0].mongo_db_settings.extract_doc_id #=> String
# resp.endpoints[0].mongo_db_settings.docs_to_investigate #=> String
# resp.endpoints[0].mongo_db_settings.auth_source #=> String
# resp.endpoints[0].mongo_db_settings.kms_key_id #=> String
+ # resp.endpoints[0].kinesis_settings.stream_arn #=> String
+ # resp.endpoints[0].kinesis_settings.message_format #=> String, one of "json"
+ # resp.endpoints[0].kinesis_settings.service_access_role_arn #=> String
+ # resp.endpoints[0].elasticsearch_settings.service_access_role_arn #=> String
+ # resp.endpoints[0].elasticsearch_settings.endpoint_uri #=> String
+ # resp.endpoints[0].elasticsearch_settings.full_load_error_percentage #=> Integer
+ # resp.endpoints[0].elasticsearch_settings.error_retry_duration #=> Integer
#
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEndpoints AWS API Documentation
#
# @overload describe_endpoints(params = {})
# @param [Hash] params ({})
@@ -2003,12 +2080,12 @@
req.send_request(options)
end
# Lists categories for all event source types, or, if specified, for a
# specified source type. You can see a list of the event categories and
- # source types in [ Working with Events and Notifications ][1] in the
- # AWS Database Migration Service User Guide.
+ # source types in [Working with Events and Notifications][1] in the *AWS
+ # Database Migration Service User Guide.*
#
#
#
# [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Events.html
#
@@ -2125,11 +2202,12 @@
req.send_request(options)
end
# Lists events for a given source identifier and source type. You can
# also specify a start and end time. For more information on AWS DMS
- # events, see [ Working with Events and Notifications ][1].
+ # events, see [Working with Events and Notifications][1] in the *AWS
+ # Database Migration User Guide.*
#
#
#
# [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Events.html
#
@@ -2493,10 +2571,11 @@
# resp.replication_instances[0].replication_instance_private_ip_addresses #=> Array
# resp.replication_instances[0].replication_instance_private_ip_addresses[0] #=> String
# resp.replication_instances[0].publicly_accessible #=> Boolean
# resp.replication_instances[0].secondary_availability_zone #=> String
# resp.replication_instances[0].free_until #=> Time
+ # resp.replication_instances[0].dns_name_servers #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationInstances AWS API Documentation
#
# @overload describe_replication_instances(params = {})
# @param [Hash] params ({})
@@ -3102,32 +3181,33 @@
# @option params [String] :external_table_definition
# The external table definition.
#
# @option params [Types::DynamoDbSettings] :dynamo_db_settings
# Settings in JSON format for the target Amazon DynamoDB endpoint. For
- # more information about the available settings, see the **Using Object
- # Mapping to Migrate Data to DynamoDB** section at [ Using an Amazon
- # DynamoDB Database as a Target for AWS Database Migration Service][1].
+ # more information about the available settings, see [Using Object
+ # Mapping to Migrate Data to DynamoDB][1] in the *AWS Database Migration
+ # Service User Guide.*
#
#
#
# [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.DynamoDB.html
#
# @option params [Types::S3Settings] :s3_settings
- # Settings in JSON format for the target S3 endpoint. For more
- # information about the available settings, see the **Extra Connection
- # Attributes** section at [ Using Amazon S3 as a Target for AWS Database
- # Migration Service][1].
+ # Settings in JSON format for the target Amazon S3 endpoint. For more
+ # information about the available settings, see [Extra Connection
+ # Attributes When Using Amazon S3 as a Target for AWS DMS][1] in the
+ # *AWS Database Migration Service User Guide.*
#
#
#
- # [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.S3.html
+ # [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.S3.html#CHAP_Target.S3.Configuring
#
# @option params [Types::DmsTransferSettings] :dms_transfer_settings
- # The settings in JSON format for the DMS Transfer type source endpoint.
+ # The settings in JSON format for the DMS transfer type of source
+ # endpoint.
#
- # Attributes include:
+ # Attributes include the following:
#
# * serviceAccessRoleArn - The IAM role that has permission to access
# the Amazon S3 bucket.
#
# * BucketName - The name of the S3 bucket to use.
@@ -3144,19 +3224,39 @@
# \\\{ "ServiceAccessRoleArn": "string", "BucketName": "string",
# "CompressionType": "none"\|"gzip" \\}
#
# @option params [Types::MongoDbSettings] :mongo_db_settings
# Settings in JSON format for the source MongoDB endpoint. For more
- # information about the available settings, see the **Configuration
- # Properties When Using MongoDB as a Source for AWS Database Migration
- # Service** section at [ Using Amazon S3 as a Target for AWS Database
- # Migration Service][1].
+ # information about the available settings, see the configuration
+ # properties section in [ Using MongoDB as a Target for AWS Database
+ # Migration Service][1] in the *AWS Database Migration Service User
+ # Guide.*
#
#
#
# [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.MongoDB.html
#
+ # @option params [Types::KinesisSettings] :kinesis_settings
+ # Settings in JSON format for the target Amazon Kinesis Data Streams
+ # endpoint. For more information about the available settings, see
+ # [Using Object Mapping to Migrate Data to a Kinesis Data Stream][1] in
+ # the *AWS Database Migration User Guide.*
+ #
+ #
+ #
+ # [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Kinesis.html#CHAP_Target.Kinesis.ObjectMapping
+ #
+ # @option params [Types::ElasticsearchSettings] :elasticsearch_settings
+ # Settings in JSON format for the target Elasticsearch endpoint. For
+ # more information about the available settings, see [Extra Connection
+ # Attributes When Using Elasticsearch as a Target for AWS DMS][1] in the
+ # *AWS Database Migration User Guide.*
+ #
+ #
+ #
+ # [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Elasticsearch.html#CHAP_Target.Elasticsearch.Configuration
+ #
# @return [Types::ModifyEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::ModifyEndpointResponse#endpoint #endpoint} => Types::Endpoint
#
#
@@ -3230,10 +3330,21 @@
# extract_doc_id: "String",
# docs_to_investigate: "String",
# auth_source: "String",
# kms_key_id: "String",
# },
+ # kinesis_settings: {
+ # stream_arn: "String",
+ # message_format: "json", # accepts json
+ # service_access_role_arn: "String",
+ # },
+ # elasticsearch_settings: {
+ # service_access_role_arn: "String", # required
+ # endpoint_uri: "String", # required
+ # full_load_error_percentage: 1,
+ # error_retry_duration: 1,
+ # },
# })
#
# @example Response structure
#
# resp.endpoint.endpoint_identifier #=> String
@@ -3273,10 +3384,17 @@
# resp.endpoint.mongo_db_settings.nesting_level #=> String, one of "none", "one"
# resp.endpoint.mongo_db_settings.extract_doc_id #=> String
# resp.endpoint.mongo_db_settings.docs_to_investigate #=> String
# resp.endpoint.mongo_db_settings.auth_source #=> String
# resp.endpoint.mongo_db_settings.kms_key_id #=> String
+ # resp.endpoint.kinesis_settings.stream_arn #=> String
+ # resp.endpoint.kinesis_settings.message_format #=> String, one of "json"
+ # resp.endpoint.kinesis_settings.service_access_role_arn #=> String
+ # resp.endpoint.elasticsearch_settings.service_access_role_arn #=> String
+ # resp.endpoint.elasticsearch_settings.endpoint_uri #=> String
+ # resp.endpoint.elasticsearch_settings.full_load_error_percentage #=> Integer
+ # resp.endpoint.elasticsearch_settings.error_retry_duration #=> Integer
#
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyEndpoint AWS API Documentation
#
# @overload modify_endpoint(params = {})
# @param [Hash] params ({})
@@ -3554,10 +3672,11 @@
# resp.replication_instance.replication_instance_private_ip_addresses #=> Array
# resp.replication_instance.replication_instance_private_ip_addresses[0] #=> String
# resp.replication_instance.publicly_accessible #=> Boolean
# resp.replication_instance.secondary_availability_zone #=> String
# resp.replication_instance.free_until #=> Time
+ # resp.replication_instance.dns_name_servers #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationInstance AWS API Documentation
#
# @overload modify_replication_instance(params = {})
# @param [Hash] params ({})
@@ -3630,12 +3749,12 @@
# Modifies the specified replication task.
#
# You can't modify the task endpoints. The task must be stopped before
# you can modify it.
#
- # For more information about AWS DMS tasks, see the AWS DMS user guide
- # at [ Working with Migration Tasks ][1]
+ # For more information about AWS DMS tasks, see [Working with Migration
+ # Tasks][1] in the *AWS Database Migration Service User Guide*.
#
#
#
# [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.html
#
@@ -3811,10 +3930,11 @@
# resp.replication_instance.replication_instance_private_ip_addresses #=> Array
# resp.replication_instance.replication_instance_private_ip_addresses[0] #=> String
# resp.replication_instance.publicly_accessible #=> Boolean
# resp.replication_instance.secondary_availability_zone #=> String
# resp.replication_instance.free_until #=> Time
+ # resp.replication_instance.dns_name_servers #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/RebootReplicationInstance AWS API Documentation
#
# @overload reboot_replication_instance(params = {})
# @param [Hash] params ({})
@@ -3970,12 +4090,12 @@
req.send_request(options)
end
# Starts the replication task.
#
- # For more information about AWS DMS tasks, see the AWS DMS user guide
- # at [ Working with Migration Tasks ][1]
+ # For more information about AWS DMS tasks, see [Working with Migration
+ # Tasks ][1] in the *AWS Database Migration Service User Guide.*
#
#
#
# [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.html
#
@@ -4282,11 +4402,11 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-databasemigrationservice'
- context[:gem_version] = '1.13.0'
+ context[:gem_version] = '1.14.0'
Seahorse::Client::Request.new(handlers, context)
end
# Polls an API operation until a resource enters a desired state.
#
@@ -4357,10 +4477,10 @@
# | replication_instance_deleted | {#describe_replication_instances} | 15 | 60 |
# | replication_task_deleted | {#describe_replication_tasks} | 15 | 60 |
# | replication_task_ready | {#describe_replication_tasks} | 15 | 60 |
# | replication_task_running | {#describe_replication_tasks} | 15 | 60 |
# | replication_task_stopped | {#describe_replication_tasks} | 15 | 60 |
- # | test_connection_succeeds | {#describe_connections} | 5 | 60 |
+ # | test_connection_succeeds | {#test_connection} | 5 | 60 |
#
# @raise [Errors::FailureStateError] Raised when the waiter terminates
# because the waiter has entered a state that it will not transition
# out of, preventing success.
#