lib/aws-sdk-databasemigrationservice/client.rb in aws-sdk-databasemigrationservice-1.17.0 vs lib/aws-sdk-databasemigrationservice/client.rb in aws-sdk-databasemigrationservice-1.18.0
- old
+ new
@@ -271,10 +271,66 @@
def add_tags_to_resource(params = {}, options = {})
req = build_request(:add_tags_to_resource, params)
req.send_request(options)
end
+ # Applies a pending maintenance action to a resource (for example, to a
+ # replication instance).
+ #
+ # @option params [required, String] :replication_instance_arn
+ # The Amazon Resource Name (ARN) of the AWS DMS resource that the
+ # pending maintenance action applies to.
+ #
+ # @option params [required, String] :apply_action
+ # The pending maintenance action to apply to this resource.
+ #
+ # @option params [required, String] :opt_in_type
+ # A value that specifies the type of opt-in request, or undoes an opt-in
+ # request. An opt-in request of type `immediate` cannot be undone.
+ #
+ # Valid values:
+ #
+ # * `immediate` - Apply the maintenance action immediately.
+ #
+ # * `next-maintenance` - Apply the maintenance action during the next
+ # maintenance window for the resource.
+ #
+ # * `undo-opt-in` - Cancel any existing `next-maintenance` opt-in
+ # requests.
+ #
+ # @return [Types::ApplyPendingMaintenanceActionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::ApplyPendingMaintenanceActionResponse#resource_pending_maintenance_actions #resource_pending_maintenance_actions} => Types::ResourcePendingMaintenanceActions
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.apply_pending_maintenance_action({
+ # replication_instance_arn: "String", # required
+ # apply_action: "String", # required
+ # opt_in_type: "String", # required
+ # })
+ #
+ # @example Response structure
+ #
+ # resp.resource_pending_maintenance_actions.resource_identifier #=> String
+ # resp.resource_pending_maintenance_actions.pending_maintenance_action_details #=> Array
+ # resp.resource_pending_maintenance_actions.pending_maintenance_action_details[0].action #=> String
+ # resp.resource_pending_maintenance_actions.pending_maintenance_action_details[0].auto_applied_after_date #=> Time
+ # resp.resource_pending_maintenance_actions.pending_maintenance_action_details[0].forced_apply_date #=> Time
+ # resp.resource_pending_maintenance_actions.pending_maintenance_action_details[0].opt_in_status #=> String
+ # resp.resource_pending_maintenance_actions.pending_maintenance_action_details[0].current_apply_date #=> Time
+ # resp.resource_pending_maintenance_actions.pending_maintenance_action_details[0].description #=> String
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ApplyPendingMaintenanceAction AWS API Documentation
+ #
+ # @overload apply_pending_maintenance_action(params = {})
+ # @param [Hash] params ({})
+ def apply_pending_maintenance_action(params = {}, options = {})
+ req = build_request(:apply_pending_maintenance_action, params)
+ req.send_request(options)
+ end
+
# Creates an endpoint using the provided settings.
#
# @option params [required, String] :endpoint_identifier
# The database endpoint identifier. Identifiers must begin with a
# letter; must contain only ASCII letters, digits, and hyphens; and must
@@ -338,21 +394,21 @@
# 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
+ # [1]: https://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 [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#CHAP_Target.S3.Configuring
+ # [1]: https://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 of source
# endpoint.
#
@@ -381,32 +437,34 @@
# Migration Service][1] in the *AWS Database Migration Service User
# Guide.*
#
#
#
- # [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.MongoDB.html
+ # [1]: https://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
+ # [1]: https://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
+ # [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Elasticsearch.html#CHAP_Target.Elasticsearch.Configuration
#
+ # @option params [Types::RedshiftSettings] :redshift_settings
+ #
# @return [Types::CreateEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::CreateEndpointResponse#endpoint #endpoint} => Types::Endpoint
#
#
@@ -482,10 +540,20 @@
# csv_row_delimiter: "String",
# csv_delimiter: "String",
# bucket_folder: "String",
# bucket_name: "String",
# compression_type: "none", # accepts none, gzip
+ # encryption_mode: "sse-s3", # accepts sse-s3, sse-kms
+ # server_side_encryption_kms_key_id: "String",
+ # data_format: "csv", # accepts csv, parquet
+ # encoding_type: "plain", # accepts plain, plain-dictionary, rle-dictionary
+ # dict_page_size_limit: 1,
+ # row_group_length: 1,
+ # data_page_size: 1,
+ # parquet_version: "parquet-1-0", # accepts parquet-1-0, parquet-2-0
+ # enable_statistics: false,
+ # cdc_inserts_only: false,
# },
# dms_transfer_settings: {
# service_access_role_arn: "String",
# bucket_name: "String",
# },
@@ -512,10 +580,37 @@
# service_access_role_arn: "String", # required
# endpoint_uri: "String", # required
# full_load_error_percentage: 1,
# error_retry_duration: 1,
# },
+ # redshift_settings: {
+ # accept_any_date: false,
+ # after_connect_script: "String",
+ # bucket_folder: "String",
+ # bucket_name: "String",
+ # connection_timeout: 1,
+ # database_name: "String",
+ # date_format: "String",
+ # empty_as_null: false,
+ # encryption_mode: "sse-s3", # accepts sse-s3, sse-kms
+ # file_transfer_upload_streams: 1,
+ # load_timeout: 1,
+ # max_file_size: 1,
+ # password: "SecretString",
+ # port: 1,
+ # remove_quotes: false,
+ # replace_invalid_chars: "String",
+ # replace_chars: "String",
+ # server_name: "String",
+ # service_access_role_arn: "String",
+ # server_side_encryption_kms_key_id: "String",
+ # time_format: "String",
+ # trim_blanks: false,
+ # truncate_columns: false,
+ # username: "String",
+ # write_buffer_size: 1,
+ # },
# })
#
# @example Response structure
#
# resp.endpoint.endpoint_identifier #=> String
@@ -541,10 +636,20 @@
# resp.endpoint.s3_settings.csv_row_delimiter #=> String
# resp.endpoint.s3_settings.csv_delimiter #=> String
# resp.endpoint.s3_settings.bucket_folder #=> String
# resp.endpoint.s3_settings.bucket_name #=> String
# resp.endpoint.s3_settings.compression_type #=> String, one of "none", "gzip"
+ # resp.endpoint.s3_settings.encryption_mode #=> String, one of "sse-s3", "sse-kms"
+ # resp.endpoint.s3_settings.server_side_encryption_kms_key_id #=> String
+ # resp.endpoint.s3_settings.data_format #=> String, one of "csv", "parquet"
+ # resp.endpoint.s3_settings.encoding_type #=> String, one of "plain", "plain-dictionary", "rle-dictionary"
+ # resp.endpoint.s3_settings.dict_page_size_limit #=> Integer
+ # resp.endpoint.s3_settings.row_group_length #=> Integer
+ # resp.endpoint.s3_settings.data_page_size #=> Integer
+ # resp.endpoint.s3_settings.parquet_version #=> String, one of "parquet-1-0", "parquet-2-0"
+ # resp.endpoint.s3_settings.enable_statistics #=> Boolean
+ # resp.endpoint.s3_settings.cdc_inserts_only #=> Boolean
# resp.endpoint.dms_transfer_settings.service_access_role_arn #=> String
# resp.endpoint.dms_transfer_settings.bucket_name #=> String
# resp.endpoint.mongo_db_settings.username #=> String
# resp.endpoint.mongo_db_settings.password #=> String
# resp.endpoint.mongo_db_settings.server_name #=> String
@@ -562,10 +667,35 @@
# 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
+ # resp.endpoint.redshift_settings.accept_any_date #=> Boolean
+ # resp.endpoint.redshift_settings.after_connect_script #=> String
+ # resp.endpoint.redshift_settings.bucket_folder #=> String
+ # resp.endpoint.redshift_settings.bucket_name #=> String
+ # resp.endpoint.redshift_settings.connection_timeout #=> Integer
+ # resp.endpoint.redshift_settings.database_name #=> String
+ # resp.endpoint.redshift_settings.date_format #=> String
+ # resp.endpoint.redshift_settings.empty_as_null #=> Boolean
+ # resp.endpoint.redshift_settings.encryption_mode #=> String, one of "sse-s3", "sse-kms"
+ # resp.endpoint.redshift_settings.file_transfer_upload_streams #=> Integer
+ # resp.endpoint.redshift_settings.load_timeout #=> Integer
+ # resp.endpoint.redshift_settings.max_file_size #=> Integer
+ # resp.endpoint.redshift_settings.password #=> String
+ # resp.endpoint.redshift_settings.port #=> Integer
+ # resp.endpoint.redshift_settings.remove_quotes #=> Boolean
+ # resp.endpoint.redshift_settings.replace_invalid_chars #=> String
+ # resp.endpoint.redshift_settings.replace_chars #=> String
+ # resp.endpoint.redshift_settings.server_name #=> String
+ # resp.endpoint.redshift_settings.service_access_role_arn #=> String
+ # resp.endpoint.redshift_settings.server_side_encryption_kms_key_id #=> String
+ # resp.endpoint.redshift_settings.time_format #=> String
+ # resp.endpoint.redshift_settings.trim_blanks #=> Boolean
+ # resp.endpoint.redshift_settings.truncate_columns #=> Boolean
+ # resp.endpoint.redshift_settings.username #=> String
+ # resp.endpoint.redshift_settings.write_buffer_size #=> Integer
#
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEndpoint AWS API Documentation
#
# @overload create_endpoint(params = {})
# @param [Hash] params ({})
@@ -593,11 +723,11 @@
# and Notifications][1] in the *AWS Database Migration Service User
# Guide.*
#
#
#
- # [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Events.html
+ # [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Events.html
#
# @option params [required, String] :subscription_name
# The name of the AWS DMS event notification subscription.
#
# Constraints: The name must be less than 255 characters.
@@ -622,11 +752,11 @@
# [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
+ # [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Events.html
#
# @option params [Array<String>] :source_ids
# The list of identifiers of the event sources for which events will be
# returned. If not specified, then all sources are included in the
# response. An identifier must begin with a letter and must contain only
@@ -1059,11 +1189,11 @@
# 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
+ # [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.CustomizingTasks.TaskSettings.html
#
# @option params [Time,DateTime,Date,Integer,String] :cdc_start_time
# Indicates the start time for a change data capture (CDC) operation.
# Use either CdcStartTime or CdcStartPosition to specify when you want a
# CDC operation to start. Specifying both values results in an error.
@@ -1318,10 +1448,20 @@
# resp.endpoint.s3_settings.csv_row_delimiter #=> String
# resp.endpoint.s3_settings.csv_delimiter #=> String
# resp.endpoint.s3_settings.bucket_folder #=> String
# resp.endpoint.s3_settings.bucket_name #=> String
# resp.endpoint.s3_settings.compression_type #=> String, one of "none", "gzip"
+ # resp.endpoint.s3_settings.encryption_mode #=> String, one of "sse-s3", "sse-kms"
+ # resp.endpoint.s3_settings.server_side_encryption_kms_key_id #=> String
+ # resp.endpoint.s3_settings.data_format #=> String, one of "csv", "parquet"
+ # resp.endpoint.s3_settings.encoding_type #=> String, one of "plain", "plain-dictionary", "rle-dictionary"
+ # resp.endpoint.s3_settings.dict_page_size_limit #=> Integer
+ # resp.endpoint.s3_settings.row_group_length #=> Integer
+ # resp.endpoint.s3_settings.data_page_size #=> Integer
+ # resp.endpoint.s3_settings.parquet_version #=> String, one of "parquet-1-0", "parquet-2-0"
+ # resp.endpoint.s3_settings.enable_statistics #=> Boolean
+ # resp.endpoint.s3_settings.cdc_inserts_only #=> Boolean
# resp.endpoint.dms_transfer_settings.service_access_role_arn #=> String
# resp.endpoint.dms_transfer_settings.bucket_name #=> String
# resp.endpoint.mongo_db_settings.username #=> String
# resp.endpoint.mongo_db_settings.password #=> String
# resp.endpoint.mongo_db_settings.server_name #=> String
@@ -1339,10 +1479,35 @@
# 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
+ # resp.endpoint.redshift_settings.accept_any_date #=> Boolean
+ # resp.endpoint.redshift_settings.after_connect_script #=> String
+ # resp.endpoint.redshift_settings.bucket_folder #=> String
+ # resp.endpoint.redshift_settings.bucket_name #=> String
+ # resp.endpoint.redshift_settings.connection_timeout #=> Integer
+ # resp.endpoint.redshift_settings.database_name #=> String
+ # resp.endpoint.redshift_settings.date_format #=> String
+ # resp.endpoint.redshift_settings.empty_as_null #=> Boolean
+ # resp.endpoint.redshift_settings.encryption_mode #=> String, one of "sse-s3", "sse-kms"
+ # resp.endpoint.redshift_settings.file_transfer_upload_streams #=> Integer
+ # resp.endpoint.redshift_settings.load_timeout #=> Integer
+ # resp.endpoint.redshift_settings.max_file_size #=> Integer
+ # resp.endpoint.redshift_settings.password #=> String
+ # resp.endpoint.redshift_settings.port #=> Integer
+ # resp.endpoint.redshift_settings.remove_quotes #=> Boolean
+ # resp.endpoint.redshift_settings.replace_invalid_chars #=> String
+ # resp.endpoint.redshift_settings.replace_chars #=> String
+ # resp.endpoint.redshift_settings.server_name #=> String
+ # resp.endpoint.redshift_settings.service_access_role_arn #=> String
+ # resp.endpoint.redshift_settings.server_side_encryption_kms_key_id #=> String
+ # resp.endpoint.redshift_settings.time_format #=> String
+ # resp.endpoint.redshift_settings.trim_blanks #=> Boolean
+ # resp.endpoint.redshift_settings.truncate_columns #=> Boolean
+ # resp.endpoint.redshift_settings.username #=> String
+ # resp.endpoint.redshift_settings.write_buffer_size #=> Integer
#
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteEndpoint AWS API Documentation
#
# @overload delete_endpoint(params = {})
# @param [Hash] params ({})
@@ -2053,10 +2218,20 @@
# resp.endpoints[0].s3_settings.csv_row_delimiter #=> String
# resp.endpoints[0].s3_settings.csv_delimiter #=> String
# resp.endpoints[0].s3_settings.bucket_folder #=> String
# resp.endpoints[0].s3_settings.bucket_name #=> String
# resp.endpoints[0].s3_settings.compression_type #=> String, one of "none", "gzip"
+ # resp.endpoints[0].s3_settings.encryption_mode #=> String, one of "sse-s3", "sse-kms"
+ # resp.endpoints[0].s3_settings.server_side_encryption_kms_key_id #=> String
+ # resp.endpoints[0].s3_settings.data_format #=> String, one of "csv", "parquet"
+ # resp.endpoints[0].s3_settings.encoding_type #=> String, one of "plain", "plain-dictionary", "rle-dictionary"
+ # resp.endpoints[0].s3_settings.dict_page_size_limit #=> Integer
+ # resp.endpoints[0].s3_settings.row_group_length #=> Integer
+ # resp.endpoints[0].s3_settings.data_page_size #=> Integer
+ # resp.endpoints[0].s3_settings.parquet_version #=> String, one of "parquet-1-0", "parquet-2-0"
+ # resp.endpoints[0].s3_settings.enable_statistics #=> Boolean
+ # resp.endpoints[0].s3_settings.cdc_inserts_only #=> Boolean
# resp.endpoints[0].dms_transfer_settings.service_access_role_arn #=> String
# resp.endpoints[0].dms_transfer_settings.bucket_name #=> String
# resp.endpoints[0].mongo_db_settings.username #=> String
# resp.endpoints[0].mongo_db_settings.password #=> String
# resp.endpoints[0].mongo_db_settings.server_name #=> String
@@ -2074,10 +2249,35 @@
# 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
+ # resp.endpoints[0].redshift_settings.accept_any_date #=> Boolean
+ # resp.endpoints[0].redshift_settings.after_connect_script #=> String
+ # resp.endpoints[0].redshift_settings.bucket_folder #=> String
+ # resp.endpoints[0].redshift_settings.bucket_name #=> String
+ # resp.endpoints[0].redshift_settings.connection_timeout #=> Integer
+ # resp.endpoints[0].redshift_settings.database_name #=> String
+ # resp.endpoints[0].redshift_settings.date_format #=> String
+ # resp.endpoints[0].redshift_settings.empty_as_null #=> Boolean
+ # resp.endpoints[0].redshift_settings.encryption_mode #=> String, one of "sse-s3", "sse-kms"
+ # resp.endpoints[0].redshift_settings.file_transfer_upload_streams #=> Integer
+ # resp.endpoints[0].redshift_settings.load_timeout #=> Integer
+ # resp.endpoints[0].redshift_settings.max_file_size #=> Integer
+ # resp.endpoints[0].redshift_settings.password #=> String
+ # resp.endpoints[0].redshift_settings.port #=> Integer
+ # resp.endpoints[0].redshift_settings.remove_quotes #=> Boolean
+ # resp.endpoints[0].redshift_settings.replace_invalid_chars #=> String
+ # resp.endpoints[0].redshift_settings.replace_chars #=> String
+ # resp.endpoints[0].redshift_settings.server_name #=> String
+ # resp.endpoints[0].redshift_settings.service_access_role_arn #=> String
+ # resp.endpoints[0].redshift_settings.server_side_encryption_kms_key_id #=> String
+ # resp.endpoints[0].redshift_settings.time_format #=> String
+ # resp.endpoints[0].redshift_settings.trim_blanks #=> Boolean
+ # resp.endpoints[0].redshift_settings.truncate_columns #=> Boolean
+ # resp.endpoints[0].redshift_settings.username #=> String
+ # resp.endpoints[0].redshift_settings.write_buffer_size #=> Integer
#
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEndpoints AWS API Documentation
#
# @overload describe_endpoints(params = {})
# @param [Hash] params ({})
@@ -2091,11 +2291,11 @@
# 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
+ # [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Events.html
#
# @option params [String] :source_type
# The type of AWS DMS resource that generates events.
#
# Valid values: replication-instance \| migration-task
@@ -2213,11 +2413,11 @@
# 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
+ # [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Events.html
#
# @option params [String] :source_identifier
# The identifier of the event source. 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.
@@ -2357,10 +2557,12 @@
# resp.orderable_replication_instances[0].storage_type #=> String
# resp.orderable_replication_instances[0].min_allocated_storage #=> Integer
# resp.orderable_replication_instances[0].max_allocated_storage #=> Integer
# resp.orderable_replication_instances[0].default_allocated_storage #=> Integer
# resp.orderable_replication_instances[0].included_allocated_storage #=> Integer
+ # resp.orderable_replication_instances[0].availability_zones #=> Array
+ # resp.orderable_replication_instances[0].availability_zones[0] #=> String
# resp.marker #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeOrderableReplicationInstances AWS API Documentation
#
# @overload describe_orderable_replication_instances(params = {})
@@ -2368,10 +2570,73 @@
def describe_orderable_replication_instances(params = {}, options = {})
req = build_request(:describe_orderable_replication_instances, params)
req.send_request(options)
end
+ # For internal use only
+ #
+ # @option params [String] :replication_instance_arn
+ # The ARN of the replication instance.
+ #
+ # @option params [Array<Types::Filter>] :filters
+ #
+ # @option params [String] :marker
+ # An optional pagination token provided by a previous request. If this
+ # parameter is specified, the response includes only records beyond the
+ # marker, up to the value specified by `MaxRecords`.
+ #
+ # @option params [Integer] :max_records
+ # The maximum number of records to include in the response. If more
+ # records exist than the specified `MaxRecords` value, a pagination
+ # token called a marker is included in the response so that the
+ # remaining results can be retrieved.
+ #
+ # Default: 100
+ #
+ # Constraints: Minimum 20, maximum 100.
+ #
+ # @return [Types::DescribePendingMaintenanceActionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::DescribePendingMaintenanceActionsResponse#pending_maintenance_actions #pending_maintenance_actions} => Array<Types::ResourcePendingMaintenanceActions>
+ # * {Types::DescribePendingMaintenanceActionsResponse#marker #marker} => String
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.describe_pending_maintenance_actions({
+ # replication_instance_arn: "String",
+ # filters: [
+ # {
+ # name: "String", # required
+ # values: ["String"], # required
+ # },
+ # ],
+ # marker: "String",
+ # max_records: 1,
+ # })
+ #
+ # @example Response structure
+ #
+ # resp.pending_maintenance_actions #=> Array
+ # resp.pending_maintenance_actions[0].resource_identifier #=> String
+ # resp.pending_maintenance_actions[0].pending_maintenance_action_details #=> Array
+ # resp.pending_maintenance_actions[0].pending_maintenance_action_details[0].action #=> String
+ # resp.pending_maintenance_actions[0].pending_maintenance_action_details[0].auto_applied_after_date #=> Time
+ # resp.pending_maintenance_actions[0].pending_maintenance_action_details[0].forced_apply_date #=> Time
+ # resp.pending_maintenance_actions[0].pending_maintenance_action_details[0].opt_in_status #=> String
+ # resp.pending_maintenance_actions[0].pending_maintenance_action_details[0].current_apply_date #=> Time
+ # resp.pending_maintenance_actions[0].pending_maintenance_action_details[0].description #=> String
+ # resp.marker #=> String
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribePendingMaintenanceActions AWS API Documentation
+ #
+ # @overload describe_pending_maintenance_actions(params = {})
+ # @param [Hash] params ({})
+ def describe_pending_maintenance_actions(params = {}, options = {})
+ req = build_request(:describe_pending_maintenance_actions, params)
+ req.send_request(options)
+ end
+
# Returns the status of the RefreshSchemas operation.
#
# @option params [required, String] :endpoint_arn
# The Amazon Resource Name (ARN) string that uniquely identifies the
# endpoint.
@@ -2758,10 +3023,15 @@
# @option params [String] :marker
# An optional pagination token provided by a previous request. If this
# parameter is specified, the response includes only records beyond the
# marker, up to the value specified by `MaxRecords`.
#
+ # @option params [Boolean] :without_settings
+ # Set this flag to avoid returning setting information. Use this to
+ # reduce overhead when settings are too large. Choose TRUE to use this
+ # flag, otherwise choose FALSE (default).
+ #
# @return [Types::DescribeReplicationTasksResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::DescribeReplicationTasksResponse#marker #marker} => String
# * {Types::DescribeReplicationTasksResponse#replication_tasks #replication_tasks} => Array<Types::ReplicationTask>
#
@@ -2800,10 +3070,11 @@
# values: ["String"], # required
# },
# ],
# max_records: 1,
# marker: "String",
+ # without_settings: false,
# })
#
# @example Response structure
#
# resp.marker #=> String
@@ -3193,21 +3464,21 @@
# 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
+ # [1]: https://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 [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#CHAP_Target.S3.Configuring
+ # [1]: https://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 of source
# endpoint.
#
@@ -3237,32 +3508,34 @@
# Migration Service][1] in the *AWS Database Migration Service User
# Guide.*
#
#
#
- # [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.MongoDB.html
+ # [1]: https://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
+ # [1]: https://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
+ # [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Elasticsearch.html#CHAP_Target.Elasticsearch.Configuration
#
+ # @option params [Types::RedshiftSettings] :redshift_settings
+ #
# @return [Types::ModifyEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::ModifyEndpointResponse#endpoint #endpoint} => Types::Endpoint
#
#
@@ -3317,10 +3590,20 @@
# csv_row_delimiter: "String",
# csv_delimiter: "String",
# bucket_folder: "String",
# bucket_name: "String",
# compression_type: "none", # accepts none, gzip
+ # encryption_mode: "sse-s3", # accepts sse-s3, sse-kms
+ # server_side_encryption_kms_key_id: "String",
+ # data_format: "csv", # accepts csv, parquet
+ # encoding_type: "plain", # accepts plain, plain-dictionary, rle-dictionary
+ # dict_page_size_limit: 1,
+ # row_group_length: 1,
+ # data_page_size: 1,
+ # parquet_version: "parquet-1-0", # accepts parquet-1-0, parquet-2-0
+ # enable_statistics: false,
+ # cdc_inserts_only: false,
# },
# dms_transfer_settings: {
# service_access_role_arn: "String",
# bucket_name: "String",
# },
@@ -3347,10 +3630,37 @@
# service_access_role_arn: "String", # required
# endpoint_uri: "String", # required
# full_load_error_percentage: 1,
# error_retry_duration: 1,
# },
+ # redshift_settings: {
+ # accept_any_date: false,
+ # after_connect_script: "String",
+ # bucket_folder: "String",
+ # bucket_name: "String",
+ # connection_timeout: 1,
+ # database_name: "String",
+ # date_format: "String",
+ # empty_as_null: false,
+ # encryption_mode: "sse-s3", # accepts sse-s3, sse-kms
+ # file_transfer_upload_streams: 1,
+ # load_timeout: 1,
+ # max_file_size: 1,
+ # password: "SecretString",
+ # port: 1,
+ # remove_quotes: false,
+ # replace_invalid_chars: "String",
+ # replace_chars: "String",
+ # server_name: "String",
+ # service_access_role_arn: "String",
+ # server_side_encryption_kms_key_id: "String",
+ # time_format: "String",
+ # trim_blanks: false,
+ # truncate_columns: false,
+ # username: "String",
+ # write_buffer_size: 1,
+ # },
# })
#
# @example Response structure
#
# resp.endpoint.endpoint_identifier #=> String
@@ -3376,10 +3686,20 @@
# resp.endpoint.s3_settings.csv_row_delimiter #=> String
# resp.endpoint.s3_settings.csv_delimiter #=> String
# resp.endpoint.s3_settings.bucket_folder #=> String
# resp.endpoint.s3_settings.bucket_name #=> String
# resp.endpoint.s3_settings.compression_type #=> String, one of "none", "gzip"
+ # resp.endpoint.s3_settings.encryption_mode #=> String, one of "sse-s3", "sse-kms"
+ # resp.endpoint.s3_settings.server_side_encryption_kms_key_id #=> String
+ # resp.endpoint.s3_settings.data_format #=> String, one of "csv", "parquet"
+ # resp.endpoint.s3_settings.encoding_type #=> String, one of "plain", "plain-dictionary", "rle-dictionary"
+ # resp.endpoint.s3_settings.dict_page_size_limit #=> Integer
+ # resp.endpoint.s3_settings.row_group_length #=> Integer
+ # resp.endpoint.s3_settings.data_page_size #=> Integer
+ # resp.endpoint.s3_settings.parquet_version #=> String, one of "parquet-1-0", "parquet-2-0"
+ # resp.endpoint.s3_settings.enable_statistics #=> Boolean
+ # resp.endpoint.s3_settings.cdc_inserts_only #=> Boolean
# resp.endpoint.dms_transfer_settings.service_access_role_arn #=> String
# resp.endpoint.dms_transfer_settings.bucket_name #=> String
# resp.endpoint.mongo_db_settings.username #=> String
# resp.endpoint.mongo_db_settings.password #=> String
# resp.endpoint.mongo_db_settings.server_name #=> String
@@ -3397,10 +3717,35 @@
# 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
+ # resp.endpoint.redshift_settings.accept_any_date #=> Boolean
+ # resp.endpoint.redshift_settings.after_connect_script #=> String
+ # resp.endpoint.redshift_settings.bucket_folder #=> String
+ # resp.endpoint.redshift_settings.bucket_name #=> String
+ # resp.endpoint.redshift_settings.connection_timeout #=> Integer
+ # resp.endpoint.redshift_settings.database_name #=> String
+ # resp.endpoint.redshift_settings.date_format #=> String
+ # resp.endpoint.redshift_settings.empty_as_null #=> Boolean
+ # resp.endpoint.redshift_settings.encryption_mode #=> String, one of "sse-s3", "sse-kms"
+ # resp.endpoint.redshift_settings.file_transfer_upload_streams #=> Integer
+ # resp.endpoint.redshift_settings.load_timeout #=> Integer
+ # resp.endpoint.redshift_settings.max_file_size #=> Integer
+ # resp.endpoint.redshift_settings.password #=> String
+ # resp.endpoint.redshift_settings.port #=> Integer
+ # resp.endpoint.redshift_settings.remove_quotes #=> Boolean
+ # resp.endpoint.redshift_settings.replace_invalid_chars #=> String
+ # resp.endpoint.redshift_settings.replace_chars #=> String
+ # resp.endpoint.redshift_settings.server_name #=> String
+ # resp.endpoint.redshift_settings.service_access_role_arn #=> String
+ # resp.endpoint.redshift_settings.server_side_encryption_kms_key_id #=> String
+ # resp.endpoint.redshift_settings.time_format #=> String
+ # resp.endpoint.redshift_settings.trim_blanks #=> Boolean
+ # resp.endpoint.redshift_settings.truncate_columns #=> Boolean
+ # resp.endpoint.redshift_settings.username #=> String
+ # resp.endpoint.redshift_settings.write_buffer_size #=> Integer
#
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyEndpoint AWS API Documentation
#
# @overload modify_endpoint(params = {})
# @param [Hash] params ({})
@@ -3760,11 +4105,11 @@
# 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
+ # [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.html
#
# @option params [required, String] :replication_task_arn
# The Amazon Resource Name (ARN) of the replication task.
#
# @option params [String] :replication_task_identifier
@@ -4101,11 +4446,11 @@
# 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
+ # [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.html
#
# @option params [required, String] :replication_task_arn
# The Amazon Resource Name (ARN) of the replication task to be started.
#
# @option params [required, String] :start_replication_task_type
@@ -4408,10 +4753,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-databasemigrationservice'
- context[:gem_version] = '1.17.0'
+ context[:gem_version] = '1.18.0'
Seahorse::Client::Request.new(handlers, context)
end
# Polls an API operation until a resource enters a desired state.
#