aws-sdk-databasemigrationservice 1.0.0.rc1 → 1.0.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  # WARNING ABOUT GENERATED CODE
2
2
  #
3
- # This file is generated. See the contributing for info on making contributions:
3
+ # This file is generated. See the contributing guide for more information:
4
4
  # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
5
  #
6
6
  # WARNING ABOUT GENERATED CODE
@@ -23,1777 +23,2130 @@ require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
23
23
 
24
24
  Aws::Plugins::GlobalConfiguration.add_identifier(:databasemigrationservice)
25
25
 
26
- module Aws
27
- module DatabaseMigrationService
28
- class Client < Seahorse::Client::Base
26
+ module Aws::DatabaseMigrationService
27
+ class Client < Seahorse::Client::Base
29
28
 
30
- include Aws::ClientStubs
29
+ include Aws::ClientStubs
31
30
 
32
- @identifier = :databasemigrationservice
31
+ @identifier = :databasemigrationservice
33
32
 
34
- set_api(ClientApi::API)
33
+ set_api(ClientApi::API)
35
34
 
36
- add_plugin(Seahorse::Client::Plugins::ContentLength)
37
- add_plugin(Aws::Plugins::CredentialsConfiguration)
38
- add_plugin(Aws::Plugins::Logging)
39
- add_plugin(Aws::Plugins::ParamConverter)
40
- add_plugin(Aws::Plugins::ParamValidator)
41
- add_plugin(Aws::Plugins::UserAgent)
42
- add_plugin(Aws::Plugins::HelpfulSocketErrors)
43
- add_plugin(Aws::Plugins::RetryErrors)
44
- add_plugin(Aws::Plugins::GlobalConfiguration)
45
- add_plugin(Aws::Plugins::RegionalEndpoint)
46
- add_plugin(Aws::Plugins::ResponsePaging)
47
- add_plugin(Aws::Plugins::StubResponses)
48
- add_plugin(Aws::Plugins::IdempotencyToken)
49
- add_plugin(Aws::Plugins::SignatureV4)
50
- add_plugin(Aws::Plugins::Protocols::JsonRpc)
35
+ add_plugin(Seahorse::Client::Plugins::ContentLength)
36
+ add_plugin(Aws::Plugins::CredentialsConfiguration)
37
+ add_plugin(Aws::Plugins::Logging)
38
+ add_plugin(Aws::Plugins::ParamConverter)
39
+ add_plugin(Aws::Plugins::ParamValidator)
40
+ add_plugin(Aws::Plugins::UserAgent)
41
+ add_plugin(Aws::Plugins::HelpfulSocketErrors)
42
+ add_plugin(Aws::Plugins::RetryErrors)
43
+ add_plugin(Aws::Plugins::GlobalConfiguration)
44
+ add_plugin(Aws::Plugins::RegionalEndpoint)
45
+ add_plugin(Aws::Plugins::ResponsePaging)
46
+ add_plugin(Aws::Plugins::StubResponses)
47
+ add_plugin(Aws::Plugins::IdempotencyToken)
48
+ add_plugin(Aws::Plugins::SignatureV4)
49
+ add_plugin(Aws::Plugins::Protocols::JsonRpc)
51
50
 
52
- # @option options [required, Aws::CredentialProvider] :credentials
53
- # Your AWS credentials. This can be an instance of any one of the
54
- # following classes:
55
- #
56
- # * `Aws::Credentials` - Used for configuring static, non-refreshing
57
- # credentials.
58
- #
59
- # * `Aws::InstanceProfileCredentials` - Used for loading credentials
60
- # from an EC2 IMDS on an EC2 instance.
61
- #
62
- # * `Aws::SharedCredentials` - Used for loading credentials from a
63
- # shared file, such as `~/.aws/config`.
64
- #
65
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
66
- #
67
- # When `:credentials` are not configured directly, the following
68
- # locations will be searched for credentials:
69
- #
70
- # * `Aws.config[:credentials]`
71
- # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
72
- # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
73
- # * `~/.aws/credentials`
74
- # * `~/.aws/config`
75
- # * EC2 IMDS instance profile - When used by default, the timeouts are
76
- # very aggressive. Construct and pass an instance of
77
- # `Aws::InstanceProfileCredentails` to enable retries and extended
78
- # timeouts.
79
- # @option options [required, String] :region
80
- # The AWS region to connect to. The configured `:region` is
81
- # used to determine the service `:endpoint`. When not passed,
82
- # a default `:region` is search for in the following locations:
83
- #
84
- # * `Aws.config[:region]`
85
- # * `ENV['AWS_REGION']`
86
- # * `ENV['AMAZON_REGION']`
87
- # * `ENV['AWS_DEFAULT_REGION']`
88
- # * `~/.aws/credentials`
89
- # * `~/.aws/config`
90
- # @option options [String] :access_key_id
91
- # @option options [Boolean] :convert_params (true)
92
- # When `true`, an attempt is made to coerce request parameters into
93
- # the required types.
94
- # @option options [String] :endpoint
95
- # The client endpoint is normally constructed from the `:region`
96
- # option. You should only configure an `:endpoint` when connecting
97
- # to test endpoints. This should be avalid HTTP(S) URI.
98
- # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
99
- # The log formatter.
100
- # @option options [Symbol] :log_level (:info)
101
- # The log level to send messages to the `:logger` at.
102
- # @option options [Logger] :logger
103
- # The Logger instance to send log messages to. If this option
104
- # is not set, logging will be disabled.
105
- # @option options [String] :profile ("default")
106
- # Used when loading credentials from the shared credentials file
107
- # at HOME/.aws/credentials. When not specified, 'default' is used.
108
- # @option options [Integer] :retry_limit (3)
109
- # The maximum number of times to retry failed requests. Only
110
- # ~ 500 level server errors and certain ~ 400 level client errors
111
- # are retried. Generally, these are throttling errors, data
112
- # checksum errors, networking errors, timeout errors and auth
113
- # errors from expired credentials.
114
- # @option options [String] :secret_access_key
115
- # @option options [String] :session_token
116
- # @option options [Boolean] :simple_json (false)
117
- # Disables request parameter conversion, validation, and formatting.
118
- # Also disable response data type conversions. This option is useful
119
- # when you want to ensure the highest level of performance by
120
- # avoiding overhead of walking request parameters and response data
121
- # structures.
122
- #
123
- # When `:simple_json` is enabled, the request parameters hash must
124
- # be formatted exactly as the DynamoDB API expects.
125
- # @option options [Boolean] :stub_responses (false)
126
- # Causes the client to return stubbed responses. By default
127
- # fake responses are generated and returned. You can specify
128
- # the response data to return or errors to raise by calling
129
- # {ClientStubs#stub_responses}. See {ClientStubs} for more information.
130
- #
131
- # ** Please note ** When response stubbing is enabled, no HTTP
132
- # requests are made, and retries are disabled.
133
- # @option options [Boolean] :validate_params (true)
134
- # When `true`, request parameters are validated before
135
- # sending the request.
136
- def initialize(*args)
137
- super
138
- end
51
+ # @option options [required, Aws::CredentialProvider] :credentials
52
+ # Your AWS credentials. This can be an instance of any one of the
53
+ # following classes:
54
+ #
55
+ # * `Aws::Credentials` - Used for configuring static, non-refreshing
56
+ # credentials.
57
+ #
58
+ # * `Aws::InstanceProfileCredentials` - Used for loading credentials
59
+ # from an EC2 IMDS on an EC2 instance.
60
+ #
61
+ # * `Aws::SharedCredentials` - Used for loading credentials from a
62
+ # shared file, such as `~/.aws/config`.
63
+ #
64
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
65
+ #
66
+ # When `:credentials` are not configured directly, the following
67
+ # locations will be searched for credentials:
68
+ #
69
+ # * `Aws.config[:credentials]`
70
+ # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
71
+ # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
72
+ # * `~/.aws/credentials`
73
+ # * `~/.aws/config`
74
+ # * EC2 IMDS instance profile - When used by default, the timeouts are
75
+ # very aggressive. Construct and pass an instance of
76
+ # `Aws::InstanceProfileCredentails` to enable retries and extended
77
+ # timeouts.
78
+ #
79
+ # @option options [required, String] :region
80
+ # The AWS region to connect to. The configured `:region` is
81
+ # used to determine the service `:endpoint`. When not passed,
82
+ # a default `:region` is search for in the following locations:
83
+ #
84
+ # * `Aws.config[:region]`
85
+ # * `ENV['AWS_REGION']`
86
+ # * `ENV['AMAZON_REGION']`
87
+ # * `ENV['AWS_DEFAULT_REGION']`
88
+ # * `~/.aws/credentials`
89
+ # * `~/.aws/config`
90
+ #
91
+ # @option options [String] :access_key_id
92
+ #
93
+ # @option options [Boolean] :convert_params (true)
94
+ # When `true`, an attempt is made to coerce request parameters into
95
+ # the required types.
96
+ #
97
+ # @option options [String] :endpoint
98
+ # The client endpoint is normally constructed from the `:region`
99
+ # option. You should only configure an `:endpoint` when connecting
100
+ # to test endpoints. This should be avalid HTTP(S) URI.
101
+ #
102
+ # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
103
+ # The log formatter.
104
+ #
105
+ # @option options [Symbol] :log_level (:info)
106
+ # The log level to send messages to the `:logger` at.
107
+ #
108
+ # @option options [Logger] :logger
109
+ # The Logger instance to send log messages to. If this option
110
+ # is not set, logging will be disabled.
111
+ #
112
+ # @option options [String] :profile ("default")
113
+ # Used when loading credentials from the shared credentials file
114
+ # at HOME/.aws/credentials. When not specified, 'default' is used.
115
+ #
116
+ # @option options [Integer] :retry_limit (3)
117
+ # The maximum number of times to retry failed requests. Only
118
+ # ~ 500 level server errors and certain ~ 400 level client errors
119
+ # are retried. Generally, these are throttling errors, data
120
+ # checksum errors, networking errors, timeout errors and auth
121
+ # errors from expired credentials.
122
+ #
123
+ # @option options [String] :secret_access_key
124
+ #
125
+ # @option options [String] :session_token
126
+ #
127
+ # @option options [Boolean] :simple_json (false)
128
+ # Disables request parameter conversion, validation, and formatting.
129
+ # Also disable response data type conversions. This option is useful
130
+ # when you want to ensure the highest level of performance by
131
+ # avoiding overhead of walking request parameters and response data
132
+ # structures.
133
+ #
134
+ # When `:simple_json` is enabled, the request parameters hash must
135
+ # be formatted exactly as the DynamoDB API expects.
136
+ #
137
+ # @option options [Boolean] :stub_responses (false)
138
+ # Causes the client to return stubbed responses. By default
139
+ # fake responses are generated and returned. You can specify
140
+ # the response data to return or errors to raise by calling
141
+ # {ClientStubs#stub_responses}. See {ClientStubs} for more information.
142
+ #
143
+ # ** Please note ** When response stubbing is enabled, no HTTP
144
+ # requests are made, and retries are disabled.
145
+ #
146
+ # @option options [Boolean] :validate_params (true)
147
+ # When `true`, request parameters are validated before
148
+ # sending the request.
149
+ #
150
+ def initialize(*args)
151
+ super
152
+ end
139
153
 
140
- # @!group API Operations
154
+ # @!group API Operations
141
155
 
142
- # Adds metadata tags to a DMS resource, including replication instance,
143
- # endpoint, security group, and migration task. These tags can also be
144
- # used with cost allocation reporting to track cost associated with DMS
145
- # resources, or used in a Condition statement in an IAM policy for DMS.
146
- # @option params [required, String] :resource_arn
147
- # The Amazon Resource Name (ARN) of the AWS DMS resource the tag is to
148
- # be added to. AWS DMS resources include a replication instance,
149
- # endpoint, and a replication task.
150
- # @option params [required, Array<Types::Tag>] :tags
151
- # The tag to be assigned to the DMS resource.
152
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
153
- #
154
- # @example Request syntax with placeholder values
155
- # resp = client.add_tags_to_resource({
156
- # resource_arn: "String", # required
157
- # tags: [ # required
158
- # {
159
- # key: "String",
160
- # value: "String",
161
- # },
162
- # ],
163
- # })
164
- # @overload add_tags_to_resource(params = {})
165
- # @param [Hash] params ({})
166
- def add_tags_to_resource(params = {}, options = {})
167
- req = build_request(:add_tags_to_resource, params)
168
- req.send_request(options)
169
- end
156
+ # Adds metadata tags to a DMS resource, including replication instance,
157
+ # endpoint, security group, and migration task. These tags can also be
158
+ # used with cost allocation reporting to track cost associated with DMS
159
+ # resources, or used in a Condition statement in an IAM policy for DMS.
160
+ #
161
+ # @option params [required, String] :resource_arn
162
+ # The Amazon Resource Name (ARN) of the AWS DMS resource the tag is to
163
+ # be added to. AWS DMS resources include a replication instance,
164
+ # endpoint, and a replication task.
165
+ #
166
+ # @option params [required, Array<Types::Tag>] :tags
167
+ # The tag to be assigned to the DMS resource.
168
+ #
169
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
170
+ #
171
+ # @example Request syntax with placeholder values
172
+ #
173
+ # resp = client.add_tags_to_resource({
174
+ # resource_arn: "String", # required
175
+ # tags: [ # required
176
+ # {
177
+ # key: "String",
178
+ # value: "String",
179
+ # },
180
+ # ],
181
+ # })
182
+ #
183
+ # @overload add_tags_to_resource(params = {})
184
+ # @param [Hash] params ({})
185
+ def add_tags_to_resource(params = {}, options = {})
186
+ req = build_request(:add_tags_to_resource, params)
187
+ req.send_request(options)
188
+ end
170
189
 
171
- # Creates an endpoint using the provided settings.
172
- # @option params [required, String] :endpoint_identifier
173
- # The database endpoint identifier. Identifiers must begin with a
174
- # letter; must contain only ASCII letters, digits, and hyphens; and must
175
- # not end with a hyphen or contain two consecutive hyphens.
176
- # @option params [required, String] :endpoint_type
177
- # The type of endpoint.
178
- # @option params [required, String] :engine_name
179
- # The type of engine for the endpoint. Valid values include MYSQL,
180
- # ORACLE, POSTGRES, MARIADB, AURORA, REDSHIFT, and SQLSERVER.
181
- # @option params [required, String] :username
182
- # The user name to be used to login to the endpoint database.
183
- # @option params [required, String] :password
184
- # The password to be used to login to the endpoint database.
185
- # @option params [required, String] :server_name
186
- # The name of the server where the endpoint database resides.
187
- # @option params [required, Integer] :port
188
- # The port used by the endpoint database.
189
- # @option params [String] :database_name
190
- # The name of the endpoint database.
191
- # @option params [String] :extra_connection_attributes
192
- # Additional attributes associated with the connection.
193
- # @option params [String] :kms_key_id
194
- # The KMS key identifier that will be used to encrypt the connection
195
- # parameters. If you do not specify a value for the KmsKeyId parameter,
196
- # then AWS DMS will use your default encryption key. AWS KMS creates the
197
- # default encryption key for your AWS account. Your AWS account has a
198
- # different default encryption key for each AWS region.
199
- # @option params [Array<Types::Tag>] :tags
200
- # Tags to be added to the endpoint.
201
- # @option params [String] :certificate_arn
202
- # The Amazon Resource Number (ARN) for the certificate.
203
- # @option params [String] :ssl_mode
204
- # The SSL mode to use for the SSL connection.
205
- #
206
- # SSL mode can be one of four values: none, require, verify-ca,
207
- # verify-full.
208
- #
209
- # The default value is none.
210
- # @return [Types::CreateEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
211
- #
212
- # * {Types::CreateEndpointResponse#endpoint #Endpoint} => Types::Endpoint
213
- #
214
- # @example Request syntax with placeholder values
215
- # resp = client.create_endpoint({
216
- # endpoint_identifier: "String", # required
217
- # endpoint_type: "source", # required, accepts source, target
218
- # engine_name: "String", # required
219
- # username: "String", # required
220
- # password: "SecretString", # required
221
- # server_name: "String", # required
222
- # port: 1, # required
223
- # database_name: "String",
224
- # extra_connection_attributes: "String",
225
- # kms_key_id: "String",
226
- # tags: [
227
- # {
228
- # key: "String",
229
- # value: "String",
230
- # },
231
- # ],
232
- # certificate_arn: "String",
233
- # ssl_mode: "none", # accepts none, require, verify-ca, verify-full
234
- # })
235
- #
236
- # @example Response structure
237
- # resp.endpoint.endpoint_identifier #=> String
238
- # resp.endpoint.endpoint_type #=> String, one of "source", "target"
239
- # resp.endpoint.engine_name #=> String
240
- # resp.endpoint.username #=> String
241
- # resp.endpoint.server_name #=> String
242
- # resp.endpoint.port #=> Integer
243
- # resp.endpoint.database_name #=> String
244
- # resp.endpoint.extra_connection_attributes #=> String
245
- # resp.endpoint.status #=> String
246
- # resp.endpoint.kms_key_id #=> String
247
- # resp.endpoint.endpoint_arn #=> String
248
- # resp.endpoint.certificate_arn #=> String
249
- # resp.endpoint.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
250
- # @overload create_endpoint(params = {})
251
- # @param [Hash] params ({})
252
- def create_endpoint(params = {}, options = {})
253
- req = build_request(:create_endpoint, params)
254
- req.send_request(options)
255
- end
190
+ # Creates an endpoint using the provided settings.
191
+ #
192
+ # @option params [required, String] :endpoint_identifier
193
+ # The database endpoint identifier. Identifiers must begin with a
194
+ # letter; must contain only ASCII letters, digits, and hyphens; and must
195
+ # not end with a hyphen or contain two consecutive hyphens.
196
+ #
197
+ # @option params [required, String] :endpoint_type
198
+ # The type of endpoint.
199
+ #
200
+ # @option params [required, String] :engine_name
201
+ # The type of engine for the endpoint. Valid values include MYSQL,
202
+ # ORACLE, POSTGRES, MARIADB, AURORA, REDSHIFT, SYBASE, and SQLSERVER.
203
+ #
204
+ # @option params [String] :username
205
+ # The user name to be used to login to the endpoint database.
206
+ #
207
+ # @option params [String] :password
208
+ # The password to be used to login to the endpoint database.
209
+ #
210
+ # @option params [String] :server_name
211
+ # The name of the server where the endpoint database resides.
212
+ #
213
+ # @option params [Integer] :port
214
+ # The port used by the endpoint database.
215
+ #
216
+ # @option params [String] :database_name
217
+ # The name of the endpoint database.
218
+ #
219
+ # @option params [String] :extra_connection_attributes
220
+ # Additional attributes associated with the connection.
221
+ #
222
+ # @option params [String] :kms_key_id
223
+ # The KMS key identifier that will be used to encrypt the connection
224
+ # parameters. If you do not specify a value for the KmsKeyId parameter,
225
+ # then AWS DMS will use your default encryption key. AWS KMS creates the
226
+ # default encryption key for your AWS account. Your AWS account has a
227
+ # different default encryption key for each AWS region.
228
+ #
229
+ # @option params [Array<Types::Tag>] :tags
230
+ # Tags to be added to the endpoint.
231
+ #
232
+ # @option params [String] :certificate_arn
233
+ # The Amazon Resource Number (ARN) for the certificate.
234
+ #
235
+ # @option params [String] :ssl_mode
236
+ # The SSL mode to use for the SSL connection.
237
+ #
238
+ # SSL mode can be one of four values: none, require, verify-ca,
239
+ # verify-full.
240
+ #
241
+ # The default value is none.
242
+ #
243
+ # @return [Types::CreateEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
244
+ #
245
+ # * {Types::CreateEndpointResponse#endpoint #endpoint} => Types::Endpoint
246
+ #
247
+ # @example Request syntax with placeholder values
248
+ #
249
+ # resp = client.create_endpoint({
250
+ # endpoint_identifier: "String", # required
251
+ # endpoint_type: "source", # required, accepts source, target
252
+ # engine_name: "String", # required
253
+ # username: "String",
254
+ # password: "SecretString",
255
+ # server_name: "String",
256
+ # port: 1,
257
+ # database_name: "String",
258
+ # extra_connection_attributes: "String",
259
+ # kms_key_id: "String",
260
+ # tags: [
261
+ # {
262
+ # key: "String",
263
+ # value: "String",
264
+ # },
265
+ # ],
266
+ # certificate_arn: "String",
267
+ # ssl_mode: "none", # accepts none, require, verify-ca, verify-full
268
+ # })
269
+ #
270
+ # @example Response structure
271
+ #
272
+ # resp.endpoint.endpoint_identifier #=> String
273
+ # resp.endpoint.endpoint_type #=> String, one of "source", "target"
274
+ # resp.endpoint.engine_name #=> String
275
+ # resp.endpoint.username #=> String
276
+ # resp.endpoint.server_name #=> String
277
+ # resp.endpoint.port #=> Integer
278
+ # resp.endpoint.database_name #=> String
279
+ # resp.endpoint.extra_connection_attributes #=> String
280
+ # resp.endpoint.status #=> String
281
+ # resp.endpoint.kms_key_id #=> String
282
+ # resp.endpoint.endpoint_arn #=> String
283
+ # resp.endpoint.certificate_arn #=> String
284
+ # resp.endpoint.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
285
+ #
286
+ # @overload create_endpoint(params = {})
287
+ # @param [Hash] params ({})
288
+ def create_endpoint(params = {}, options = {})
289
+ req = build_request(:create_endpoint, params)
290
+ req.send_request(options)
291
+ end
256
292
 
257
- # Creates the replication instance using the specified parameters.
258
- # @option params [required, String] :replication_instance_identifier
259
- # The replication instance identifier. This parameter is stored as a
260
- # lowercase string.
261
- #
262
- # Constraints:
263
- #
264
- # * Must contain from 1 to 63 alphanumeric characters or hyphens.
265
- #
266
- # * First character must be a letter.
267
- #
268
- # * Cannot end with a hyphen or contain two consecutive hyphens.
269
- #
270
- # Example: `myrepinstance`
271
- # @option params [Integer] :allocated_storage
272
- # The amount of storage (in gigabytes) to be initially allocated for the
273
- # replication instance.
274
- # @option params [required, String] :replication_instance_class
275
- # The compute and memory capacity of the replication instance as
276
- # specified by the replication instance class.
277
- #
278
- # Valid Values: `dms.t2.micro | dms.t2.small | dms.t2.medium |
279
- # dms.t2.large | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge |
280
- # dms.c4.4xlarge `
281
- # @option params [Array<String>] :vpc_security_group_ids
282
- # Specifies the VPC security group to be used with the replication
283
- # instance. The VPC security group must work with the VPC containing the
284
- # replication instance.
285
- # @option params [String] :availability_zone
286
- # The EC2 Availability Zone that the replication instance will be
287
- # created in.
288
- #
289
- # Default: A random, system-chosen Availability Zone in the endpoint's
290
- # region.
291
- #
292
- # Example: `us-east-1d`
293
- # @option params [String] :replication_subnet_group_identifier
294
- # A subnet group to associate with the replication instance.
295
- # @option params [String] :preferred_maintenance_window
296
- # The weekly time range during which system maintenance can occur, in
297
- # Universal Coordinated Time (UTC).
298
- #
299
- # Format: `ddd:hh24:mi-ddd:hh24:mi`
300
- #
301
- # Default: A 30-minute window selected at random from an 8-hour block of
302
- # time per region, occurring on a random day of the week.
303
- #
304
- # Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
305
- #
306
- # Constraints: Minimum 30-minute window.
307
- # @option params [Boolean] :multi_az
308
- # Specifies if the replication instance is a Multi-AZ deployment. You
309
- # cannot set the `AvailabilityZone` parameter if the Multi-AZ parameter
310
- # is set to `true`.
311
- # @option params [String] :engine_version
312
- # The engine version number of the replication instance.
313
- # @option params [Boolean] :auto_minor_version_upgrade
314
- # Indicates that minor engine upgrades will be applied automatically to
315
- # the replication instance during the maintenance window.
316
- #
317
- # Default: `true`
318
- # @option params [Array<Types::Tag>] :tags
319
- # Tags to be associated with the replication instance.
320
- # @option params [String] :kms_key_id
321
- # The KMS key identifier that will be used to encrypt the content on the
322
- # replication instance. If you do not specify a value for the KmsKeyId
323
- # parameter, then AWS DMS will use your default encryption key. AWS KMS
324
- # creates the default encryption key for your AWS account. Your AWS
325
- # account has a different default encryption key for each AWS region.
326
- # @option params [Boolean] :publicly_accessible
327
- # Specifies the accessibility options for the replication instance. A
328
- # value of `true` represents an instance with a public IP address. A
329
- # value of `false` represents an instance with a private IP address. The
330
- # default value is `true`.
331
- # @return [Types::CreateReplicationInstanceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
332
- #
333
- # * {Types::CreateReplicationInstanceResponse#replication_instance #ReplicationInstance} => Types::ReplicationInstance
334
- #
335
- # @example Request syntax with placeholder values
336
- # resp = client.create_replication_instance({
337
- # replication_instance_identifier: "String", # required
338
- # allocated_storage: 1,
339
- # replication_instance_class: "String", # required
340
- # vpc_security_group_ids: ["String"],
341
- # availability_zone: "String",
342
- # replication_subnet_group_identifier: "String",
343
- # preferred_maintenance_window: "String",
344
- # multi_az: false,
345
- # engine_version: "String",
346
- # auto_minor_version_upgrade: false,
347
- # tags: [
348
- # {
349
- # key: "String",
350
- # value: "String",
351
- # },
352
- # ],
353
- # kms_key_id: "String",
354
- # publicly_accessible: false,
355
- # })
356
- #
357
- # @example Response structure
358
- # resp.replication_instance.replication_instance_identifier #=> String
359
- # resp.replication_instance.replication_instance_class #=> String
360
- # resp.replication_instance.replication_instance_status #=> String
361
- # resp.replication_instance.allocated_storage #=> Integer
362
- # resp.replication_instance.instance_create_time #=> Time
363
- # resp.replication_instance.vpc_security_groups #=> Array
364
- # resp.replication_instance.vpc_security_groups[0].vpc_security_group_id #=> String
365
- # resp.replication_instance.vpc_security_groups[0].status #=> String
366
- # resp.replication_instance.availability_zone #=> String
367
- # resp.replication_instance.replication_subnet_group.replication_subnet_group_identifier #=> String
368
- # resp.replication_instance.replication_subnet_group.replication_subnet_group_description #=> String
369
- # resp.replication_instance.replication_subnet_group.vpc_id #=> String
370
- # resp.replication_instance.replication_subnet_group.subnet_group_status #=> String
371
- # resp.replication_instance.replication_subnet_group.subnets #=> Array
372
- # resp.replication_instance.replication_subnet_group.subnets[0].subnet_identifier #=> String
373
- # resp.replication_instance.replication_subnet_group.subnets[0].subnet_availability_zone.name #=> String
374
- # resp.replication_instance.replication_subnet_group.subnets[0].subnet_status #=> String
375
- # resp.replication_instance.preferred_maintenance_window #=> String
376
- # resp.replication_instance.pending_modified_values.replication_instance_class #=> String
377
- # resp.replication_instance.pending_modified_values.allocated_storage #=> Integer
378
- # resp.replication_instance.pending_modified_values.multi_az #=> Boolean
379
- # resp.replication_instance.pending_modified_values.engine_version #=> String
380
- # resp.replication_instance.multi_az #=> Boolean
381
- # resp.replication_instance.engine_version #=> String
382
- # resp.replication_instance.auto_minor_version_upgrade #=> Boolean
383
- # resp.replication_instance.kms_key_id #=> String
384
- # resp.replication_instance.replication_instance_arn #=> String
385
- # resp.replication_instance.replication_instance_public_ip_address #=> String
386
- # resp.replication_instance.replication_instance_private_ip_address #=> String
387
- # resp.replication_instance.replication_instance_public_ip_addresses #=> Array
388
- # resp.replication_instance.replication_instance_public_ip_addresses[0] #=> String
389
- # resp.replication_instance.replication_instance_private_ip_addresses #=> Array
390
- # resp.replication_instance.replication_instance_private_ip_addresses[0] #=> String
391
- # resp.replication_instance.publicly_accessible #=> Boolean
392
- # @overload create_replication_instance(params = {})
393
- # @param [Hash] params ({})
394
- def create_replication_instance(params = {}, options = {})
395
- req = build_request(:create_replication_instance, params)
396
- req.send_request(options)
397
- end
293
+ # Creates the replication instance using the specified parameters.
294
+ #
295
+ # @option params [required, String] :replication_instance_identifier
296
+ # The replication instance identifier. This parameter is stored as a
297
+ # lowercase string.
298
+ #
299
+ # Constraints:
300
+ #
301
+ # * Must contain from 1 to 63 alphanumeric characters or hyphens.
302
+ #
303
+ # * First character must be a letter.
304
+ #
305
+ # * Cannot end with a hyphen or contain two consecutive hyphens.
306
+ #
307
+ # Example: `myrepinstance`
308
+ #
309
+ # @option params [Integer] :allocated_storage
310
+ # The amount of storage (in gigabytes) to be initially allocated for the
311
+ # replication instance.
312
+ #
313
+ # @option params [required, String] :replication_instance_class
314
+ # The compute and memory capacity of the replication instance as
315
+ # specified by the replication instance class.
316
+ #
317
+ # Valid Values: `dms.t2.micro | dms.t2.small | dms.t2.medium |
318
+ # dms.t2.large | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge |
319
+ # dms.c4.4xlarge `
320
+ #
321
+ # @option params [Array<String>] :vpc_security_group_ids
322
+ # Specifies the VPC security group to be used with the replication
323
+ # instance. The VPC security group must work with the VPC containing the
324
+ # replication instance.
325
+ #
326
+ # @option params [String] :availability_zone
327
+ # The EC2 Availability Zone that the replication instance will be
328
+ # created in.
329
+ #
330
+ # Default: A random, system-chosen Availability Zone in the endpoint's
331
+ # region.
332
+ #
333
+ # Example: `us-east-1d`
334
+ #
335
+ # @option params [String] :replication_subnet_group_identifier
336
+ # A subnet group to associate with the replication instance.
337
+ #
338
+ # @option params [String] :preferred_maintenance_window
339
+ # The weekly time range during which system maintenance can occur, in
340
+ # Universal Coordinated Time (UTC).
341
+ #
342
+ # Format: `ddd:hh24:mi-ddd:hh24:mi`
343
+ #
344
+ # Default: A 30-minute window selected at random from an 8-hour block of
345
+ # time per region, occurring on a random day of the week.
346
+ #
347
+ # Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
348
+ #
349
+ # Constraints: Minimum 30-minute window.
350
+ #
351
+ # @option params [Boolean] :multi_az
352
+ # Specifies if the replication instance is a Multi-AZ deployment. You
353
+ # cannot set the `AvailabilityZone` parameter if the Multi-AZ parameter
354
+ # is set to `true`.
355
+ #
356
+ # @option params [String] :engine_version
357
+ # The engine version number of the replication instance.
358
+ #
359
+ # @option params [Boolean] :auto_minor_version_upgrade
360
+ # Indicates that minor engine upgrades will be applied automatically to
361
+ # the replication instance during the maintenance window.
362
+ #
363
+ # Default: `true`
364
+ #
365
+ # @option params [Array<Types::Tag>] :tags
366
+ # Tags to be associated with the replication instance.
367
+ #
368
+ # @option params [String] :kms_key_id
369
+ # The KMS key identifier that will be used to encrypt the content on the
370
+ # replication instance. If you do not specify a value for the KmsKeyId
371
+ # parameter, then AWS DMS will use your default encryption key. AWS KMS
372
+ # creates the default encryption key for your AWS account. Your AWS
373
+ # account has a different default encryption key for each AWS region.
374
+ #
375
+ # @option params [Boolean] :publicly_accessible
376
+ # Specifies the accessibility options for the replication instance. A
377
+ # value of `true` represents an instance with a public IP address. A
378
+ # value of `false` represents an instance with a private IP address. The
379
+ # default value is `true`.
380
+ #
381
+ # @return [Types::CreateReplicationInstanceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
382
+ #
383
+ # * {Types::CreateReplicationInstanceResponse#replication_instance #replication_instance} => Types::ReplicationInstance
384
+ #
385
+ # @example Request syntax with placeholder values
386
+ #
387
+ # resp = client.create_replication_instance({
388
+ # replication_instance_identifier: "String", # required
389
+ # allocated_storage: 1,
390
+ # replication_instance_class: "String", # required
391
+ # vpc_security_group_ids: ["String"],
392
+ # availability_zone: "String",
393
+ # replication_subnet_group_identifier: "String",
394
+ # preferred_maintenance_window: "String",
395
+ # multi_az: false,
396
+ # engine_version: "String",
397
+ # auto_minor_version_upgrade: false,
398
+ # tags: [
399
+ # {
400
+ # key: "String",
401
+ # value: "String",
402
+ # },
403
+ # ],
404
+ # kms_key_id: "String",
405
+ # publicly_accessible: false,
406
+ # })
407
+ #
408
+ # @example Response structure
409
+ #
410
+ # resp.replication_instance.replication_instance_identifier #=> String
411
+ # resp.replication_instance.replication_instance_class #=> String
412
+ # resp.replication_instance.replication_instance_status #=> String
413
+ # resp.replication_instance.allocated_storage #=> Integer
414
+ # resp.replication_instance.instance_create_time #=> Time
415
+ # resp.replication_instance.vpc_security_groups #=> Array
416
+ # resp.replication_instance.vpc_security_groups[0].vpc_security_group_id #=> String
417
+ # resp.replication_instance.vpc_security_groups[0].status #=> String
418
+ # resp.replication_instance.availability_zone #=> String
419
+ # resp.replication_instance.replication_subnet_group.replication_subnet_group_identifier #=> String
420
+ # resp.replication_instance.replication_subnet_group.replication_subnet_group_description #=> String
421
+ # resp.replication_instance.replication_subnet_group.vpc_id #=> String
422
+ # resp.replication_instance.replication_subnet_group.subnet_group_status #=> String
423
+ # resp.replication_instance.replication_subnet_group.subnets #=> Array
424
+ # resp.replication_instance.replication_subnet_group.subnets[0].subnet_identifier #=> String
425
+ # resp.replication_instance.replication_subnet_group.subnets[0].subnet_availability_zone.name #=> String
426
+ # resp.replication_instance.replication_subnet_group.subnets[0].subnet_status #=> String
427
+ # resp.replication_instance.preferred_maintenance_window #=> String
428
+ # resp.replication_instance.pending_modified_values.replication_instance_class #=> String
429
+ # resp.replication_instance.pending_modified_values.allocated_storage #=> Integer
430
+ # resp.replication_instance.pending_modified_values.multi_az #=> Boolean
431
+ # resp.replication_instance.pending_modified_values.engine_version #=> String
432
+ # resp.replication_instance.multi_az #=> Boolean
433
+ # resp.replication_instance.engine_version #=> String
434
+ # resp.replication_instance.auto_minor_version_upgrade #=> Boolean
435
+ # resp.replication_instance.kms_key_id #=> String
436
+ # resp.replication_instance.replication_instance_arn #=> String
437
+ # resp.replication_instance.replication_instance_public_ip_address #=> String
438
+ # resp.replication_instance.replication_instance_private_ip_address #=> String
439
+ # resp.replication_instance.replication_instance_public_ip_addresses #=> Array
440
+ # resp.replication_instance.replication_instance_public_ip_addresses[0] #=> String
441
+ # resp.replication_instance.replication_instance_private_ip_addresses #=> Array
442
+ # resp.replication_instance.replication_instance_private_ip_addresses[0] #=> String
443
+ # resp.replication_instance.publicly_accessible #=> Boolean
444
+ # resp.replication_instance.secondary_availability_zone #=> String
445
+ #
446
+ # @overload create_replication_instance(params = {})
447
+ # @param [Hash] params ({})
448
+ def create_replication_instance(params = {}, options = {})
449
+ req = build_request(:create_replication_instance, params)
450
+ req.send_request(options)
451
+ end
398
452
 
399
- # Creates a replication subnet group given a list of the subnet IDs in a
400
- # VPC.
401
- # @option params [required, String] :replication_subnet_group_identifier
402
- # The name for the replication subnet group. This value is stored as a
403
- # lowercase string.
404
- #
405
- # Constraints: Must contain no more than 255 alphanumeric characters,
406
- # periods, spaces, underscores, or hyphens. Must not be "default".
407
- #
408
- # Example: `mySubnetgroup`
409
- # @option params [required, String] :replication_subnet_group_description
410
- # The description for the subnet group.
411
- # @option params [required, Array<String>] :subnet_ids
412
- # The EC2 subnet IDs for the subnet group.
413
- # @option params [Array<Types::Tag>] :tags
414
- # The tag to be assigned to the subnet group.
415
- # @return [Types::CreateReplicationSubnetGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
416
- #
417
- # * {Types::CreateReplicationSubnetGroupResponse#replication_subnet_group #ReplicationSubnetGroup} => Types::ReplicationSubnetGroup
418
- #
419
- # @example Request syntax with placeholder values
420
- # resp = client.create_replication_subnet_group({
421
- # replication_subnet_group_identifier: "String", # required
422
- # replication_subnet_group_description: "String", # required
423
- # subnet_ids: ["String"], # required
424
- # tags: [
425
- # {
426
- # key: "String",
427
- # value: "String",
428
- # },
429
- # ],
430
- # })
431
- #
432
- # @example Response structure
433
- # resp.replication_subnet_group.replication_subnet_group_identifier #=> String
434
- # resp.replication_subnet_group.replication_subnet_group_description #=> String
435
- # resp.replication_subnet_group.vpc_id #=> String
436
- # resp.replication_subnet_group.subnet_group_status #=> String
437
- # resp.replication_subnet_group.subnets #=> Array
438
- # resp.replication_subnet_group.subnets[0].subnet_identifier #=> String
439
- # resp.replication_subnet_group.subnets[0].subnet_availability_zone.name #=> String
440
- # resp.replication_subnet_group.subnets[0].subnet_status #=> String
441
- # @overload create_replication_subnet_group(params = {})
442
- # @param [Hash] params ({})
443
- def create_replication_subnet_group(params = {}, options = {})
444
- req = build_request(:create_replication_subnet_group, params)
445
- req.send_request(options)
446
- end
453
+ # Creates a replication subnet group given a list of the subnet IDs in a
454
+ # VPC.
455
+ #
456
+ # @option params [required, String] :replication_subnet_group_identifier
457
+ # The name for the replication subnet group. This value is stored as a
458
+ # lowercase string.
459
+ #
460
+ # Constraints: Must contain no more than 255 alphanumeric characters,
461
+ # periods, spaces, underscores, or hyphens. Must not be "default".
462
+ #
463
+ # Example: `mySubnetgroup`
464
+ #
465
+ # @option params [required, String] :replication_subnet_group_description
466
+ # The description for the subnet group.
467
+ #
468
+ # @option params [required, Array<String>] :subnet_ids
469
+ # The EC2 subnet IDs for the subnet group.
470
+ #
471
+ # @option params [Array<Types::Tag>] :tags
472
+ # The tag to be assigned to the subnet group.
473
+ #
474
+ # @return [Types::CreateReplicationSubnetGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
475
+ #
476
+ # * {Types::CreateReplicationSubnetGroupResponse#replication_subnet_group #replication_subnet_group} => Types::ReplicationSubnetGroup
477
+ #
478
+ # @example Request syntax with placeholder values
479
+ #
480
+ # resp = client.create_replication_subnet_group({
481
+ # replication_subnet_group_identifier: "String", # required
482
+ # replication_subnet_group_description: "String", # required
483
+ # subnet_ids: ["String"], # required
484
+ # tags: [
485
+ # {
486
+ # key: "String",
487
+ # value: "String",
488
+ # },
489
+ # ],
490
+ # })
491
+ #
492
+ # @example Response structure
493
+ #
494
+ # resp.replication_subnet_group.replication_subnet_group_identifier #=> String
495
+ # resp.replication_subnet_group.replication_subnet_group_description #=> String
496
+ # resp.replication_subnet_group.vpc_id #=> String
497
+ # resp.replication_subnet_group.subnet_group_status #=> String
498
+ # resp.replication_subnet_group.subnets #=> Array
499
+ # resp.replication_subnet_group.subnets[0].subnet_identifier #=> String
500
+ # resp.replication_subnet_group.subnets[0].subnet_availability_zone.name #=> String
501
+ # resp.replication_subnet_group.subnets[0].subnet_status #=> String
502
+ #
503
+ # @overload create_replication_subnet_group(params = {})
504
+ # @param [Hash] params ({})
505
+ def create_replication_subnet_group(params = {}, options = {})
506
+ req = build_request(:create_replication_subnet_group, params)
507
+ req.send_request(options)
508
+ end
447
509
 
448
- # Creates a replication task using the specified parameters.
449
- # @option params [required, String] :replication_task_identifier
450
- # The replication task identifier.
451
- #
452
- # Constraints:
453
- #
454
- # * Must contain from 1 to 63 alphanumeric characters or hyphens.
455
- #
456
- # * First character must be a letter.
457
- #
458
- # * Cannot end with a hyphen or contain two consecutive hyphens.
459
- # @option params [required, String] :source_endpoint_arn
460
- # The Amazon Resource Name (ARN) string that uniquely identifies the
461
- # endpoint.
462
- # @option params [required, String] :target_endpoint_arn
463
- # The Amazon Resource Name (ARN) string that uniquely identifies the
464
- # endpoint.
465
- # @option params [required, String] :replication_instance_arn
466
- # The Amazon Resource Name (ARN) of the replication instance.
467
- # @option params [required, String] :migration_type
468
- # The migration type.
469
- # @option params [required, String] :table_mappings
470
- # The path of the JSON file that contains the table mappings. Preceed
471
- # the path with "file://".
472
- #
473
- # For example, --table-mappings file://mappingfile.json
474
- # @option params [String] :replication_task_settings
475
- # Settings for the task, such as target metadata settings.
476
- # @option params [Time,DateTime,Date,Integer,String] :cdc_start_time
477
- # The start time for the Change Data Capture (CDC) operation.
478
- # @option params [Array<Types::Tag>] :tags
479
- # Tags to be added to the replication instance.
480
- # @return [Types::CreateReplicationTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
481
- #
482
- # * {Types::CreateReplicationTaskResponse#replication_task #ReplicationTask} => Types::ReplicationTask
483
- #
484
- # @example Request syntax with placeholder values
485
- # resp = client.create_replication_task({
486
- # replication_task_identifier: "String", # required
487
- # source_endpoint_arn: "String", # required
488
- # target_endpoint_arn: "String", # required
489
- # replication_instance_arn: "String", # required
490
- # migration_type: "full-load", # required, accepts full-load, cdc, full-load-and-cdc
491
- # table_mappings: "String", # required
492
- # replication_task_settings: "String",
493
- # cdc_start_time: Time.now,
494
- # tags: [
495
- # {
496
- # key: "String",
497
- # value: "String",
498
- # },
499
- # ],
500
- # })
501
- #
502
- # @example Response structure
503
- # resp.replication_task.replication_task_identifier #=> String
504
- # resp.replication_task.source_endpoint_arn #=> String
505
- # resp.replication_task.target_endpoint_arn #=> String
506
- # resp.replication_task.replication_instance_arn #=> String
507
- # resp.replication_task.migration_type #=> String, one of "full-load", "cdc", "full-load-and-cdc"
508
- # resp.replication_task.table_mappings #=> String
509
- # resp.replication_task.replication_task_settings #=> String
510
- # resp.replication_task.status #=> String
511
- # resp.replication_task.last_failure_message #=> String
512
- # resp.replication_task.replication_task_creation_date #=> Time
513
- # resp.replication_task.replication_task_start_date #=> Time
514
- # resp.replication_task.replication_task_arn #=> String
515
- # resp.replication_task.replication_task_stats.full_load_progress_percent #=> Integer
516
- # resp.replication_task.replication_task_stats.elapsed_time_millis #=> Integer
517
- # resp.replication_task.replication_task_stats.tables_loaded #=> Integer
518
- # resp.replication_task.replication_task_stats.tables_loading #=> Integer
519
- # resp.replication_task.replication_task_stats.tables_queued #=> Integer
520
- # resp.replication_task.replication_task_stats.tables_errored #=> Integer
521
- # @overload create_replication_task(params = {})
522
- # @param [Hash] params ({})
523
- def create_replication_task(params = {}, options = {})
524
- req = build_request(:create_replication_task, params)
525
- req.send_request(options)
526
- end
510
+ # Creates a replication task using the specified parameters.
511
+ #
512
+ # @option params [required, String] :replication_task_identifier
513
+ # The replication task identifier.
514
+ #
515
+ # Constraints:
516
+ #
517
+ # * Must contain from 1 to 63 alphanumeric characters or hyphens.
518
+ #
519
+ # * First character must be a letter.
520
+ #
521
+ # * Cannot end with a hyphen or contain two consecutive hyphens.
522
+ #
523
+ # @option params [required, String] :source_endpoint_arn
524
+ # The Amazon Resource Name (ARN) string that uniquely identifies the
525
+ # endpoint.
526
+ #
527
+ # @option params [required, String] :target_endpoint_arn
528
+ # The Amazon Resource Name (ARN) string that uniquely identifies the
529
+ # endpoint.
530
+ #
531
+ # @option params [required, String] :replication_instance_arn
532
+ # The Amazon Resource Name (ARN) of the replication instance.
533
+ #
534
+ # @option params [required, String] :migration_type
535
+ # The migration type.
536
+ #
537
+ # @option params [required, String] :table_mappings
538
+ # The path of the JSON file that contains the table mappings. Preceed
539
+ # the path with "file://".
540
+ #
541
+ # For example, --table-mappings file://mappingfile.json
542
+ #
543
+ # @option params [String] :replication_task_settings
544
+ # Settings for the task, such as target metadata settings. For a
545
+ # complete list of task settings, see [Task Settings for AWS Database
546
+ # Migration Service Tasks][1].
547
+ #
548
+ #
549
+ #
550
+ # [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.CustomizingTasks.TaskSettings.html
551
+ #
552
+ # @option params [Time,DateTime,Date,Integer,String] :cdc_start_time
553
+ # The start time for the Change Data Capture (CDC) operation.
554
+ #
555
+ # @option params [Array<Types::Tag>] :tags
556
+ # Tags to be added to the replication instance.
557
+ #
558
+ # @return [Types::CreateReplicationTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
559
+ #
560
+ # * {Types::CreateReplicationTaskResponse#replication_task #replication_task} => Types::ReplicationTask
561
+ #
562
+ # @example Request syntax with placeholder values
563
+ #
564
+ # resp = client.create_replication_task({
565
+ # replication_task_identifier: "String", # required
566
+ # source_endpoint_arn: "String", # required
567
+ # target_endpoint_arn: "String", # required
568
+ # replication_instance_arn: "String", # required
569
+ # migration_type: "full-load", # required, accepts full-load, cdc, full-load-and-cdc
570
+ # table_mappings: "String", # required
571
+ # replication_task_settings: "String",
572
+ # cdc_start_time: Time.now,
573
+ # tags: [
574
+ # {
575
+ # key: "String",
576
+ # value: "String",
577
+ # },
578
+ # ],
579
+ # })
580
+ #
581
+ # @example Response structure
582
+ #
583
+ # resp.replication_task.replication_task_identifier #=> String
584
+ # resp.replication_task.source_endpoint_arn #=> String
585
+ # resp.replication_task.target_endpoint_arn #=> String
586
+ # resp.replication_task.replication_instance_arn #=> String
587
+ # resp.replication_task.migration_type #=> String, one of "full-load", "cdc", "full-load-and-cdc"
588
+ # resp.replication_task.table_mappings #=> String
589
+ # resp.replication_task.replication_task_settings #=> String
590
+ # resp.replication_task.status #=> String
591
+ # resp.replication_task.last_failure_message #=> String
592
+ # resp.replication_task.stop_reason #=> String
593
+ # resp.replication_task.replication_task_creation_date #=> Time
594
+ # resp.replication_task.replication_task_start_date #=> Time
595
+ # resp.replication_task.replication_task_arn #=> String
596
+ # resp.replication_task.replication_task_stats.full_load_progress_percent #=> Integer
597
+ # resp.replication_task.replication_task_stats.elapsed_time_millis #=> Integer
598
+ # resp.replication_task.replication_task_stats.tables_loaded #=> Integer
599
+ # resp.replication_task.replication_task_stats.tables_loading #=> Integer
600
+ # resp.replication_task.replication_task_stats.tables_queued #=> Integer
601
+ # resp.replication_task.replication_task_stats.tables_errored #=> Integer
602
+ #
603
+ # @overload create_replication_task(params = {})
604
+ # @param [Hash] params ({})
605
+ def create_replication_task(params = {}, options = {})
606
+ req = build_request(:create_replication_task, params)
607
+ req.send_request(options)
608
+ end
527
609
 
528
- # Deletes the specified certificate.
529
- # @option params [required, String] :certificate_arn
530
- # the Amazon Resource Name (ARN) of the deleted certificate.
531
- # @return [Types::DeleteCertificateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
532
- #
533
- # * {Types::DeleteCertificateResponse#certificate #Certificate} => Types::Certificate
534
- #
535
- # @example Request syntax with placeholder values
536
- # resp = client.delete_certificate({
537
- # certificate_arn: "String", # required
538
- # })
539
- #
540
- # @example Response structure
541
- # resp.certificate.certificate_identifier #=> String
542
- # resp.certificate.certificate_creation_date #=> Time
543
- # resp.certificate.certificate_pem #=> String
544
- # resp.certificate.certificate_arn #=> String
545
- # resp.certificate.certificate_owner #=> String
546
- # resp.certificate.valid_from_date #=> Time
547
- # resp.certificate.valid_to_date #=> Time
548
- # resp.certificate.signing_algorithm #=> String
549
- # resp.certificate.key_length #=> Integer
550
- # @overload delete_certificate(params = {})
551
- # @param [Hash] params ({})
552
- def delete_certificate(params = {}, options = {})
553
- req = build_request(:delete_certificate, params)
554
- req.send_request(options)
555
- end
610
+ # Deletes the specified certificate.
611
+ #
612
+ # @option params [required, String] :certificate_arn
613
+ # The Amazon Resource Name (ARN) of the deleted certificate.
614
+ #
615
+ # @return [Types::DeleteCertificateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
616
+ #
617
+ # * {Types::DeleteCertificateResponse#certificate #certificate} => Types::Certificate
618
+ #
619
+ # @example Request syntax with placeholder values
620
+ #
621
+ # resp = client.delete_certificate({
622
+ # certificate_arn: "String", # required
623
+ # })
624
+ #
625
+ # @example Response structure
626
+ #
627
+ # resp.certificate.certificate_identifier #=> String
628
+ # resp.certificate.certificate_creation_date #=> Time
629
+ # resp.certificate.certificate_pem #=> String
630
+ # resp.certificate.certificate_wallet #=> String
631
+ # resp.certificate.certificate_arn #=> String
632
+ # resp.certificate.certificate_owner #=> String
633
+ # resp.certificate.valid_from_date #=> Time
634
+ # resp.certificate.valid_to_date #=> Time
635
+ # resp.certificate.signing_algorithm #=> String
636
+ # resp.certificate.key_length #=> Integer
637
+ #
638
+ # @overload delete_certificate(params = {})
639
+ # @param [Hash] params ({})
640
+ def delete_certificate(params = {}, options = {})
641
+ req = build_request(:delete_certificate, params)
642
+ req.send_request(options)
643
+ end
556
644
 
557
- # Deletes the specified endpoint.
558
- #
559
- # <note markdown="1"> All tasks associated with the endpoint must be deleted before you can
560
- # delete the endpoint.
561
- #
562
- # </note>
563
- # @option params [required, String] :endpoint_arn
564
- # The Amazon Resource Name (ARN) string that uniquely identifies the
565
- # endpoint.
566
- # @return [Types::DeleteEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
567
- #
568
- # * {Types::DeleteEndpointResponse#endpoint #Endpoint} => Types::Endpoint
569
- #
570
- # @example Request syntax with placeholder values
571
- # resp = client.delete_endpoint({
572
- # endpoint_arn: "String", # required
573
- # })
574
- #
575
- # @example Response structure
576
- # resp.endpoint.endpoint_identifier #=> String
577
- # resp.endpoint.endpoint_type #=> String, one of "source", "target"
578
- # resp.endpoint.engine_name #=> String
579
- # resp.endpoint.username #=> String
580
- # resp.endpoint.server_name #=> String
581
- # resp.endpoint.port #=> Integer
582
- # resp.endpoint.database_name #=> String
583
- # resp.endpoint.extra_connection_attributes #=> String
584
- # resp.endpoint.status #=> String
585
- # resp.endpoint.kms_key_id #=> String
586
- # resp.endpoint.endpoint_arn #=> String
587
- # resp.endpoint.certificate_arn #=> String
588
- # resp.endpoint.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
589
- # @overload delete_endpoint(params = {})
590
- # @param [Hash] params ({})
591
- def delete_endpoint(params = {}, options = {})
592
- req = build_request(:delete_endpoint, params)
593
- req.send_request(options)
594
- end
645
+ # Deletes the specified endpoint.
646
+ #
647
+ # <note markdown="1"> All tasks associated with the endpoint must be deleted before you can
648
+ # delete the endpoint.
649
+ #
650
+ # </note>
651
+ #
652
+ # @option params [required, String] :endpoint_arn
653
+ # The Amazon Resource Name (ARN) string that uniquely identifies the
654
+ # endpoint.
655
+ #
656
+ # @return [Types::DeleteEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
657
+ #
658
+ # * {Types::DeleteEndpointResponse#endpoint #endpoint} => Types::Endpoint
659
+ #
660
+ # @example Request syntax with placeholder values
661
+ #
662
+ # resp = client.delete_endpoint({
663
+ # endpoint_arn: "String", # required
664
+ # })
665
+ #
666
+ # @example Response structure
667
+ #
668
+ # resp.endpoint.endpoint_identifier #=> String
669
+ # resp.endpoint.endpoint_type #=> String, one of "source", "target"
670
+ # resp.endpoint.engine_name #=> String
671
+ # resp.endpoint.username #=> String
672
+ # resp.endpoint.server_name #=> String
673
+ # resp.endpoint.port #=> Integer
674
+ # resp.endpoint.database_name #=> String
675
+ # resp.endpoint.extra_connection_attributes #=> String
676
+ # resp.endpoint.status #=> String
677
+ # resp.endpoint.kms_key_id #=> String
678
+ # resp.endpoint.endpoint_arn #=> String
679
+ # resp.endpoint.certificate_arn #=> String
680
+ # resp.endpoint.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
681
+ #
682
+ # @overload delete_endpoint(params = {})
683
+ # @param [Hash] params ({})
684
+ def delete_endpoint(params = {}, options = {})
685
+ req = build_request(:delete_endpoint, params)
686
+ req.send_request(options)
687
+ end
595
688
 
596
- # Deletes the specified replication instance.
597
- #
598
- # <note markdown="1"> You must delete any migration tasks that are associated with the
599
- # replication instance before you can delete it.
600
- #
601
- # </note>
602
- # @option params [required, String] :replication_instance_arn
603
- # The Amazon Resource Name (ARN) of the replication instance to be
604
- # deleted.
605
- # @return [Types::DeleteReplicationInstanceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
606
- #
607
- # * {Types::DeleteReplicationInstanceResponse#replication_instance #ReplicationInstance} => Types::ReplicationInstance
608
- #
609
- # @example Request syntax with placeholder values
610
- # resp = client.delete_replication_instance({
611
- # replication_instance_arn: "String", # required
612
- # })
613
- #
614
- # @example Response structure
615
- # resp.replication_instance.replication_instance_identifier #=> String
616
- # resp.replication_instance.replication_instance_class #=> String
617
- # resp.replication_instance.replication_instance_status #=> String
618
- # resp.replication_instance.allocated_storage #=> Integer
619
- # resp.replication_instance.instance_create_time #=> Time
620
- # resp.replication_instance.vpc_security_groups #=> Array
621
- # resp.replication_instance.vpc_security_groups[0].vpc_security_group_id #=> String
622
- # resp.replication_instance.vpc_security_groups[0].status #=> String
623
- # resp.replication_instance.availability_zone #=> String
624
- # resp.replication_instance.replication_subnet_group.replication_subnet_group_identifier #=> String
625
- # resp.replication_instance.replication_subnet_group.replication_subnet_group_description #=> String
626
- # resp.replication_instance.replication_subnet_group.vpc_id #=> String
627
- # resp.replication_instance.replication_subnet_group.subnet_group_status #=> String
628
- # resp.replication_instance.replication_subnet_group.subnets #=> Array
629
- # resp.replication_instance.replication_subnet_group.subnets[0].subnet_identifier #=> String
630
- # resp.replication_instance.replication_subnet_group.subnets[0].subnet_availability_zone.name #=> String
631
- # resp.replication_instance.replication_subnet_group.subnets[0].subnet_status #=> String
632
- # resp.replication_instance.preferred_maintenance_window #=> String
633
- # resp.replication_instance.pending_modified_values.replication_instance_class #=> String
634
- # resp.replication_instance.pending_modified_values.allocated_storage #=> Integer
635
- # resp.replication_instance.pending_modified_values.multi_az #=> Boolean
636
- # resp.replication_instance.pending_modified_values.engine_version #=> String
637
- # resp.replication_instance.multi_az #=> Boolean
638
- # resp.replication_instance.engine_version #=> String
639
- # resp.replication_instance.auto_minor_version_upgrade #=> Boolean
640
- # resp.replication_instance.kms_key_id #=> String
641
- # resp.replication_instance.replication_instance_arn #=> String
642
- # resp.replication_instance.replication_instance_public_ip_address #=> String
643
- # resp.replication_instance.replication_instance_private_ip_address #=> String
644
- # resp.replication_instance.replication_instance_public_ip_addresses #=> Array
645
- # resp.replication_instance.replication_instance_public_ip_addresses[0] #=> String
646
- # resp.replication_instance.replication_instance_private_ip_addresses #=> Array
647
- # resp.replication_instance.replication_instance_private_ip_addresses[0] #=> String
648
- # resp.replication_instance.publicly_accessible #=> Boolean
649
- # @overload delete_replication_instance(params = {})
650
- # @param [Hash] params ({})
651
- def delete_replication_instance(params = {}, options = {})
652
- req = build_request(:delete_replication_instance, params)
653
- req.send_request(options)
654
- end
689
+ # Deletes the specified replication instance.
690
+ #
691
+ # <note markdown="1"> You must delete any migration tasks that are associated with the
692
+ # replication instance before you can delete it.
693
+ #
694
+ # </note>
695
+ #
696
+ # @option params [required, String] :replication_instance_arn
697
+ # The Amazon Resource Name (ARN) of the replication instance to be
698
+ # deleted.
699
+ #
700
+ # @return [Types::DeleteReplicationInstanceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
701
+ #
702
+ # * {Types::DeleteReplicationInstanceResponse#replication_instance #replication_instance} => Types::ReplicationInstance
703
+ #
704
+ # @example Request syntax with placeholder values
705
+ #
706
+ # resp = client.delete_replication_instance({
707
+ # replication_instance_arn: "String", # required
708
+ # })
709
+ #
710
+ # @example Response structure
711
+ #
712
+ # resp.replication_instance.replication_instance_identifier #=> String
713
+ # resp.replication_instance.replication_instance_class #=> String
714
+ # resp.replication_instance.replication_instance_status #=> String
715
+ # resp.replication_instance.allocated_storage #=> Integer
716
+ # resp.replication_instance.instance_create_time #=> Time
717
+ # resp.replication_instance.vpc_security_groups #=> Array
718
+ # resp.replication_instance.vpc_security_groups[0].vpc_security_group_id #=> String
719
+ # resp.replication_instance.vpc_security_groups[0].status #=> String
720
+ # resp.replication_instance.availability_zone #=> String
721
+ # resp.replication_instance.replication_subnet_group.replication_subnet_group_identifier #=> String
722
+ # resp.replication_instance.replication_subnet_group.replication_subnet_group_description #=> String
723
+ # resp.replication_instance.replication_subnet_group.vpc_id #=> String
724
+ # resp.replication_instance.replication_subnet_group.subnet_group_status #=> String
725
+ # resp.replication_instance.replication_subnet_group.subnets #=> Array
726
+ # resp.replication_instance.replication_subnet_group.subnets[0].subnet_identifier #=> String
727
+ # resp.replication_instance.replication_subnet_group.subnets[0].subnet_availability_zone.name #=> String
728
+ # resp.replication_instance.replication_subnet_group.subnets[0].subnet_status #=> String
729
+ # resp.replication_instance.preferred_maintenance_window #=> String
730
+ # resp.replication_instance.pending_modified_values.replication_instance_class #=> String
731
+ # resp.replication_instance.pending_modified_values.allocated_storage #=> Integer
732
+ # resp.replication_instance.pending_modified_values.multi_az #=> Boolean
733
+ # resp.replication_instance.pending_modified_values.engine_version #=> String
734
+ # resp.replication_instance.multi_az #=> Boolean
735
+ # resp.replication_instance.engine_version #=> String
736
+ # resp.replication_instance.auto_minor_version_upgrade #=> Boolean
737
+ # resp.replication_instance.kms_key_id #=> String
738
+ # resp.replication_instance.replication_instance_arn #=> String
739
+ # resp.replication_instance.replication_instance_public_ip_address #=> String
740
+ # resp.replication_instance.replication_instance_private_ip_address #=> String
741
+ # resp.replication_instance.replication_instance_public_ip_addresses #=> Array
742
+ # resp.replication_instance.replication_instance_public_ip_addresses[0] #=> String
743
+ # resp.replication_instance.replication_instance_private_ip_addresses #=> Array
744
+ # resp.replication_instance.replication_instance_private_ip_addresses[0] #=> String
745
+ # resp.replication_instance.publicly_accessible #=> Boolean
746
+ # resp.replication_instance.secondary_availability_zone #=> String
747
+ #
748
+ # @overload delete_replication_instance(params = {})
749
+ # @param [Hash] params ({})
750
+ def delete_replication_instance(params = {}, options = {})
751
+ req = build_request(:delete_replication_instance, params)
752
+ req.send_request(options)
753
+ end
655
754
 
656
- # Deletes a subnet group.
657
- # @option params [required, String] :replication_subnet_group_identifier
658
- # The subnet group name of the replication instance.
659
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
660
- #
661
- # @example Request syntax with placeholder values
662
- # resp = client.delete_replication_subnet_group({
663
- # replication_subnet_group_identifier: "String", # required
664
- # })
665
- # @overload delete_replication_subnet_group(params = {})
666
- # @param [Hash] params ({})
667
- def delete_replication_subnet_group(params = {}, options = {})
668
- req = build_request(:delete_replication_subnet_group, params)
669
- req.send_request(options)
670
- end
755
+ # Deletes a subnet group.
756
+ #
757
+ # @option params [required, String] :replication_subnet_group_identifier
758
+ # The subnet group name of the replication instance.
759
+ #
760
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
761
+ #
762
+ # @example Request syntax with placeholder values
763
+ #
764
+ # resp = client.delete_replication_subnet_group({
765
+ # replication_subnet_group_identifier: "String", # required
766
+ # })
767
+ #
768
+ # @overload delete_replication_subnet_group(params = {})
769
+ # @param [Hash] params ({})
770
+ def delete_replication_subnet_group(params = {}, options = {})
771
+ req = build_request(:delete_replication_subnet_group, params)
772
+ req.send_request(options)
773
+ end
671
774
 
672
- # Deletes the specified replication task.
673
- # @option params [required, String] :replication_task_arn
674
- # The Amazon Resource Name (ARN) of the replication task to be deleted.
675
- # @return [Types::DeleteReplicationTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
676
- #
677
- # * {Types::DeleteReplicationTaskResponse#replication_task #ReplicationTask} => Types::ReplicationTask
678
- #
679
- # @example Request syntax with placeholder values
680
- # resp = client.delete_replication_task({
681
- # replication_task_arn: "String", # required
682
- # })
683
- #
684
- # @example Response structure
685
- # resp.replication_task.replication_task_identifier #=> String
686
- # resp.replication_task.source_endpoint_arn #=> String
687
- # resp.replication_task.target_endpoint_arn #=> String
688
- # resp.replication_task.replication_instance_arn #=> String
689
- # resp.replication_task.migration_type #=> String, one of "full-load", "cdc", "full-load-and-cdc"
690
- # resp.replication_task.table_mappings #=> String
691
- # resp.replication_task.replication_task_settings #=> String
692
- # resp.replication_task.status #=> String
693
- # resp.replication_task.last_failure_message #=> String
694
- # resp.replication_task.replication_task_creation_date #=> Time
695
- # resp.replication_task.replication_task_start_date #=> Time
696
- # resp.replication_task.replication_task_arn #=> String
697
- # resp.replication_task.replication_task_stats.full_load_progress_percent #=> Integer
698
- # resp.replication_task.replication_task_stats.elapsed_time_millis #=> Integer
699
- # resp.replication_task.replication_task_stats.tables_loaded #=> Integer
700
- # resp.replication_task.replication_task_stats.tables_loading #=> Integer
701
- # resp.replication_task.replication_task_stats.tables_queued #=> Integer
702
- # resp.replication_task.replication_task_stats.tables_errored #=> Integer
703
- # @overload delete_replication_task(params = {})
704
- # @param [Hash] params ({})
705
- def delete_replication_task(params = {}, options = {})
706
- req = build_request(:delete_replication_task, params)
707
- req.send_request(options)
708
- end
775
+ # Deletes the specified replication task.
776
+ #
777
+ # @option params [required, String] :replication_task_arn
778
+ # The Amazon Resource Name (ARN) of the replication task to be deleted.
779
+ #
780
+ # @return [Types::DeleteReplicationTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
781
+ #
782
+ # * {Types::DeleteReplicationTaskResponse#replication_task #replication_task} => Types::ReplicationTask
783
+ #
784
+ # @example Request syntax with placeholder values
785
+ #
786
+ # resp = client.delete_replication_task({
787
+ # replication_task_arn: "String", # required
788
+ # })
789
+ #
790
+ # @example Response structure
791
+ #
792
+ # resp.replication_task.replication_task_identifier #=> String
793
+ # resp.replication_task.source_endpoint_arn #=> String
794
+ # resp.replication_task.target_endpoint_arn #=> String
795
+ # resp.replication_task.replication_instance_arn #=> String
796
+ # resp.replication_task.migration_type #=> String, one of "full-load", "cdc", "full-load-and-cdc"
797
+ # resp.replication_task.table_mappings #=> String
798
+ # resp.replication_task.replication_task_settings #=> String
799
+ # resp.replication_task.status #=> String
800
+ # resp.replication_task.last_failure_message #=> String
801
+ # resp.replication_task.stop_reason #=> String
802
+ # resp.replication_task.replication_task_creation_date #=> Time
803
+ # resp.replication_task.replication_task_start_date #=> Time
804
+ # resp.replication_task.replication_task_arn #=> String
805
+ # resp.replication_task.replication_task_stats.full_load_progress_percent #=> Integer
806
+ # resp.replication_task.replication_task_stats.elapsed_time_millis #=> Integer
807
+ # resp.replication_task.replication_task_stats.tables_loaded #=> Integer
808
+ # resp.replication_task.replication_task_stats.tables_loading #=> Integer
809
+ # resp.replication_task.replication_task_stats.tables_queued #=> Integer
810
+ # resp.replication_task.replication_task_stats.tables_errored #=> Integer
811
+ #
812
+ # @overload delete_replication_task(params = {})
813
+ # @param [Hash] params ({})
814
+ def delete_replication_task(params = {}, options = {})
815
+ req = build_request(:delete_replication_task, params)
816
+ req.send_request(options)
817
+ end
709
818
 
710
- # Lists all of the AWS DMS attributes for a customer account. The
711
- # attributes include AWS DMS quotas for the account, such as the number
712
- # of replication instances allowed. The description for a quota includes
713
- # the quota name, current usage toward that quota, and the quota's
714
- # maximum value.
715
- #
716
- # This command does not take any parameters.
717
- # @return [Types::DescribeAccountAttributesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
718
- #
719
- # * {Types::DescribeAccountAttributesResponse#account_quotas #AccountQuotas} => Array&lt;Types::AccountQuota&gt;
720
- #
721
- # @example Request syntax with placeholder values
722
- # resp = client.describe_account_attributes()
723
- #
724
- # @example Response structure
725
- # resp.account_quotas #=> Array
726
- # resp.account_quotas[0].account_quota_name #=> String
727
- # resp.account_quotas[0].used #=> Integer
728
- # resp.account_quotas[0].max #=> Integer
729
- # @overload describe_account_attributes(params = {})
730
- # @param [Hash] params ({})
731
- def describe_account_attributes(params = {}, options = {})
732
- req = build_request(:describe_account_attributes, params)
733
- req.send_request(options)
734
- end
819
+ # Lists all of the AWS DMS attributes for a customer account. The
820
+ # attributes include AWS DMS quotas for the account, such as the number
821
+ # of replication instances allowed. The description for a quota includes
822
+ # the quota name, current usage toward that quota, and the quota's
823
+ # maximum value.
824
+ #
825
+ # This command does not take any parameters.
826
+ #
827
+ # @return [Types::DescribeAccountAttributesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
828
+ #
829
+ # * {Types::DescribeAccountAttributesResponse#account_quotas #account_quotas} => Array&lt;Types::AccountQuota&gt;
830
+ #
831
+ # @example Response structure
832
+ #
833
+ # resp.account_quotas #=> Array
834
+ # resp.account_quotas[0].account_quota_name #=> String
835
+ # resp.account_quotas[0].used #=> Integer
836
+ # resp.account_quotas[0].max #=> Integer
837
+ #
838
+ # @overload describe_account_attributes(params = {})
839
+ # @param [Hash] params ({})
840
+ def describe_account_attributes(params = {}, options = {})
841
+ req = build_request(:describe_account_attributes, params)
842
+ req.send_request(options)
843
+ end
735
844
 
736
- # Provides a description of the certificate.
737
- # @option params [Array<Types::Filter>] :filters
738
- # Filters applied to the certificate described in the form of key-value
739
- # pairs.
740
- # @option params [Integer] :max_records
741
- # The maximum number of records to include in the response. If more
742
- # records exist than the specified `MaxRecords` value, a pagination
743
- # token called a marker is included in the response so that the
744
- # remaining results can be retrieved.
745
- #
746
- # Default: 10
747
- # @option params [String] :marker
748
- # An optional pagination token provided by a previous request. If this
749
- # parameter is specified, the response includes only records beyond the
750
- # marker, up to the value specified by `MaxRecords`.
751
- # @return [Types::DescribeCertificatesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
752
- #
753
- # * {Types::DescribeCertificatesResponse#marker #Marker} => String
754
- # * {Types::DescribeCertificatesResponse#certificates #Certificates} => Array&lt;Types::Certificate&gt;
755
- #
756
- # @example Request syntax with placeholder values
757
- # resp = client.describe_certificates({
758
- # filters: [
759
- # {
760
- # name: "String", # required
761
- # values: ["String"], # required
762
- # },
763
- # ],
764
- # max_records: 1,
765
- # marker: "String",
766
- # })
767
- #
768
- # @example Response structure
769
- # resp.marker #=> String
770
- # resp.certificates #=> Array
771
- # resp.certificates[0].certificate_identifier #=> String
772
- # resp.certificates[0].certificate_creation_date #=> Time
773
- # resp.certificates[0].certificate_pem #=> String
774
- # resp.certificates[0].certificate_arn #=> String
775
- # resp.certificates[0].certificate_owner #=> String
776
- # resp.certificates[0].valid_from_date #=> Time
777
- # resp.certificates[0].valid_to_date #=> Time
778
- # resp.certificates[0].signing_algorithm #=> String
779
- # resp.certificates[0].key_length #=> Integer
780
- # @overload describe_certificates(params = {})
781
- # @param [Hash] params ({})
782
- def describe_certificates(params = {}, options = {})
783
- req = build_request(:describe_certificates, params)
784
- req.send_request(options)
785
- end
845
+ # Provides a description of the certificate.
846
+ #
847
+ # @option params [Array<Types::Filter>] :filters
848
+ # Filters applied to the certificate described in the form of key-value
849
+ # pairs.
850
+ #
851
+ # @option params [Integer] :max_records
852
+ # The maximum number of records to include in the response. If more
853
+ # records exist than the specified `MaxRecords` value, a pagination
854
+ # token called a marker is included in the response so that the
855
+ # remaining results can be retrieved.
856
+ #
857
+ # Default: 10
858
+ #
859
+ # @option params [String] :marker
860
+ # An optional pagination token provided by a previous request. If this
861
+ # parameter is specified, the response includes only records beyond the
862
+ # marker, up to the value specified by `MaxRecords`.
863
+ #
864
+ # @return [Types::DescribeCertificatesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
865
+ #
866
+ # * {Types::DescribeCertificatesResponse#marker #marker} => String
867
+ # * {Types::DescribeCertificatesResponse#certificates #certificates} => Array&lt;Types::Certificate&gt;
868
+ #
869
+ # @example Request syntax with placeholder values
870
+ #
871
+ # resp = client.describe_certificates({
872
+ # filters: [
873
+ # {
874
+ # name: "String", # required
875
+ # values: ["String"], # required
876
+ # },
877
+ # ],
878
+ # max_records: 1,
879
+ # marker: "String",
880
+ # })
881
+ #
882
+ # @example Response structure
883
+ #
884
+ # resp.marker #=> String
885
+ # resp.certificates #=> Array
886
+ # resp.certificates[0].certificate_identifier #=> String
887
+ # resp.certificates[0].certificate_creation_date #=> Time
888
+ # resp.certificates[0].certificate_pem #=> String
889
+ # resp.certificates[0].certificate_wallet #=> String
890
+ # resp.certificates[0].certificate_arn #=> String
891
+ # resp.certificates[0].certificate_owner #=> String
892
+ # resp.certificates[0].valid_from_date #=> Time
893
+ # resp.certificates[0].valid_to_date #=> Time
894
+ # resp.certificates[0].signing_algorithm #=> String
895
+ # resp.certificates[0].key_length #=> Integer
896
+ #
897
+ # @overload describe_certificates(params = {})
898
+ # @param [Hash] params ({})
899
+ def describe_certificates(params = {}, options = {})
900
+ req = build_request(:describe_certificates, params)
901
+ req.send_request(options)
902
+ end
786
903
 
787
- # Describes the status of the connections that have been made between
788
- # the replication instance and an endpoint. Connections are created when
789
- # you test an endpoint.
790
- # @option params [Array<Types::Filter>] :filters
791
- # The filters applied to the connection.
792
- #
793
- # Valid filter names: endpoint-arn \| replication-instance-arn
794
- # @option params [Integer] :max_records
795
- # The maximum number of records to include in the response. If more
796
- # records exist than the specified `MaxRecords` value, a pagination
797
- # token called a marker is included in the response so that the
798
- # remaining results can be retrieved.
799
- #
800
- # Default: 100
801
- #
802
- # Constraints: Minimum 20, maximum 100.
803
- # @option params [String] :marker
804
- # An optional pagination token provided by a previous request. If this
805
- # parameter is specified, the response includes only records beyond the
806
- # marker, up to the value specified by `MaxRecords`.
807
- # @return [Types::DescribeConnectionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
808
- #
809
- # * {Types::DescribeConnectionsResponse#marker #Marker} => String
810
- # * {Types::DescribeConnectionsResponse#connections #Connections} => Array&lt;Types::Connection&gt;
811
- #
812
- # @example Request syntax with placeholder values
813
- # resp = client.describe_connections({
814
- # filters: [
815
- # {
816
- # name: "String", # required
817
- # values: ["String"], # required
818
- # },
819
- # ],
820
- # max_records: 1,
821
- # marker: "String",
822
- # })
823
- #
824
- # @example Response structure
825
- # resp.marker #=> String
826
- # resp.connections #=> Array
827
- # resp.connections[0].replication_instance_arn #=> String
828
- # resp.connections[0].endpoint_arn #=> String
829
- # resp.connections[0].status #=> String
830
- # resp.connections[0].last_failure_message #=> String
831
- # resp.connections[0].endpoint_identifier #=> String
832
- # resp.connections[0].replication_instance_identifier #=> String
833
- # @overload describe_connections(params = {})
834
- # @param [Hash] params ({})
835
- def describe_connections(params = {}, options = {})
836
- req = build_request(:describe_connections, params)
837
- req.send_request(options)
838
- end
904
+ # Describes the status of the connections that have been made between
905
+ # the replication instance and an endpoint. Connections are created when
906
+ # you test an endpoint.
907
+ #
908
+ # @option params [Array<Types::Filter>] :filters
909
+ # The filters applied to the connection.
910
+ #
911
+ # Valid filter names: endpoint-arn \| replication-instance-arn
912
+ #
913
+ # @option params [Integer] :max_records
914
+ # The maximum number of records to include in the response. If more
915
+ # records exist than the specified `MaxRecords` value, a pagination
916
+ # token called a marker is included in the response so that the
917
+ # remaining results can be retrieved.
918
+ #
919
+ # Default: 100
920
+ #
921
+ # Constraints: Minimum 20, maximum 100.
922
+ #
923
+ # @option params [String] :marker
924
+ # An optional pagination token provided by a previous request. If this
925
+ # parameter is specified, the response includes only records beyond the
926
+ # marker, up to the value specified by `MaxRecords`.
927
+ #
928
+ # @return [Types::DescribeConnectionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
929
+ #
930
+ # * {Types::DescribeConnectionsResponse#marker #marker} => String
931
+ # * {Types::DescribeConnectionsResponse#connections #connections} => Array&lt;Types::Connection&gt;
932
+ #
933
+ # @example Request syntax with placeholder values
934
+ #
935
+ # resp = client.describe_connections({
936
+ # filters: [
937
+ # {
938
+ # name: "String", # required
939
+ # values: ["String"], # required
940
+ # },
941
+ # ],
942
+ # max_records: 1,
943
+ # marker: "String",
944
+ # })
945
+ #
946
+ # @example Response structure
947
+ #
948
+ # resp.marker #=> String
949
+ # resp.connections #=> Array
950
+ # resp.connections[0].replication_instance_arn #=> String
951
+ # resp.connections[0].endpoint_arn #=> String
952
+ # resp.connections[0].status #=> String
953
+ # resp.connections[0].last_failure_message #=> String
954
+ # resp.connections[0].endpoint_identifier #=> String
955
+ # resp.connections[0].replication_instance_identifier #=> String
956
+ #
957
+ # @overload describe_connections(params = {})
958
+ # @param [Hash] params ({})
959
+ def describe_connections(params = {}, options = {})
960
+ req = build_request(:describe_connections, params)
961
+ req.send_request(options)
962
+ end
839
963
 
840
- # Returns information about the type of endpoints available.
841
- # @option params [Array<Types::Filter>] :filters
842
- # Filters applied to the describe action.
843
- #
844
- # Valid filter names: engine-name \| endpoint-type
845
- # @option params [Integer] :max_records
846
- # The maximum number of records to include in the response. If more
847
- # records exist than the specified `MaxRecords` value, a pagination
848
- # token called a marker is included in the response so that the
849
- # remaining results can be retrieved.
850
- #
851
- # Default: 100
852
- #
853
- # Constraints: Minimum 20, maximum 100.
854
- # @option params [String] :marker
855
- # An optional pagination token provided by a previous request. If this
856
- # parameter is specified, the response includes only records beyond the
857
- # marker, up to the value specified by `MaxRecords`.
858
- # @return [Types::DescribeEndpointTypesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
859
- #
860
- # * {Types::DescribeEndpointTypesResponse#marker #Marker} => String
861
- # * {Types::DescribeEndpointTypesResponse#supported_endpoint_types #SupportedEndpointTypes} => Array&lt;Types::SupportedEndpointType&gt;
862
- #
863
- # @example Request syntax with placeholder values
864
- # resp = client.describe_endpoint_types({
865
- # filters: [
866
- # {
867
- # name: "String", # required
868
- # values: ["String"], # required
869
- # },
870
- # ],
871
- # max_records: 1,
872
- # marker: "String",
873
- # })
874
- #
875
- # @example Response structure
876
- # resp.marker #=> String
877
- # resp.supported_endpoint_types #=> Array
878
- # resp.supported_endpoint_types[0].engine_name #=> String
879
- # resp.supported_endpoint_types[0].supports_cdc #=> Boolean
880
- # resp.supported_endpoint_types[0].endpoint_type #=> String, one of "source", "target"
881
- # @overload describe_endpoint_types(params = {})
882
- # @param [Hash] params ({})
883
- def describe_endpoint_types(params = {}, options = {})
884
- req = build_request(:describe_endpoint_types, params)
885
- req.send_request(options)
886
- end
964
+ # Returns information about the type of endpoints available.
965
+ #
966
+ # @option params [Array<Types::Filter>] :filters
967
+ # Filters applied to the describe action.
968
+ #
969
+ # Valid filter names: engine-name \| endpoint-type
970
+ #
971
+ # @option params [Integer] :max_records
972
+ # The maximum number of records to include in the response. If more
973
+ # records exist than the specified `MaxRecords` value, a pagination
974
+ # token called a marker is included in the response so that the
975
+ # remaining results can be retrieved.
976
+ #
977
+ # Default: 100
978
+ #
979
+ # Constraints: Minimum 20, maximum 100.
980
+ #
981
+ # @option params [String] :marker
982
+ # An optional pagination token provided by a previous request. If this
983
+ # parameter is specified, the response includes only records beyond the
984
+ # marker, up to the value specified by `MaxRecords`.
985
+ #
986
+ # @return [Types::DescribeEndpointTypesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
987
+ #
988
+ # * {Types::DescribeEndpointTypesResponse#marker #marker} => String
989
+ # * {Types::DescribeEndpointTypesResponse#supported_endpoint_types #supported_endpoint_types} => Array&lt;Types::SupportedEndpointType&gt;
990
+ #
991
+ # @example Request syntax with placeholder values
992
+ #
993
+ # resp = client.describe_endpoint_types({
994
+ # filters: [
995
+ # {
996
+ # name: "String", # required
997
+ # values: ["String"], # required
998
+ # },
999
+ # ],
1000
+ # max_records: 1,
1001
+ # marker: "String",
1002
+ # })
1003
+ #
1004
+ # @example Response structure
1005
+ #
1006
+ # resp.marker #=> String
1007
+ # resp.supported_endpoint_types #=> Array
1008
+ # resp.supported_endpoint_types[0].engine_name #=> String
1009
+ # resp.supported_endpoint_types[0].supports_cdc #=> Boolean
1010
+ # resp.supported_endpoint_types[0].endpoint_type #=> String, one of "source", "target"
1011
+ #
1012
+ # @overload describe_endpoint_types(params = {})
1013
+ # @param [Hash] params ({})
1014
+ def describe_endpoint_types(params = {}, options = {})
1015
+ req = build_request(:describe_endpoint_types, params)
1016
+ req.send_request(options)
1017
+ end
887
1018
 
888
- # Returns information about the endpoints for your account in the
889
- # current region.
890
- # @option params [Array<Types::Filter>] :filters
891
- # Filters applied to the describe action.
892
- #
893
- # Valid filter names: endpoint-arn \| endpoint-type \| endpoint-id \|
894
- # engine-name
895
- # @option params [Integer] :max_records
896
- # The maximum number of records to include in the response. If more
897
- # records exist than the specified `MaxRecords` value, a pagination
898
- # token called a marker is included in the response so that the
899
- # remaining results can be retrieved.
900
- #
901
- # Default: 100
902
- #
903
- # Constraints: Minimum 20, maximum 100.
904
- # @option params [String] :marker
905
- # An optional pagination token provided by a previous request. If this
906
- # parameter is specified, the response includes only records beyond the
907
- # marker, up to the value specified by `MaxRecords`.
908
- # @return [Types::DescribeEndpointsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
909
- #
910
- # * {Types::DescribeEndpointsResponse#marker #Marker} => String
911
- # * {Types::DescribeEndpointsResponse#endpoints #Endpoints} => Array&lt;Types::Endpoint&gt;
912
- #
913
- # @example Request syntax with placeholder values
914
- # resp = client.describe_endpoints({
915
- # filters: [
916
- # {
917
- # name: "String", # required
918
- # values: ["String"], # required
919
- # },
920
- # ],
921
- # max_records: 1,
922
- # marker: "String",
923
- # })
924
- #
925
- # @example Response structure
926
- # resp.marker #=> String
927
- # resp.endpoints #=> Array
928
- # resp.endpoints[0].endpoint_identifier #=> String
929
- # resp.endpoints[0].endpoint_type #=> String, one of "source", "target"
930
- # resp.endpoints[0].engine_name #=> String
931
- # resp.endpoints[0].username #=> String
932
- # resp.endpoints[0].server_name #=> String
933
- # resp.endpoints[0].port #=> Integer
934
- # resp.endpoints[0].database_name #=> String
935
- # resp.endpoints[0].extra_connection_attributes #=> String
936
- # resp.endpoints[0].status #=> String
937
- # resp.endpoints[0].kms_key_id #=> String
938
- # resp.endpoints[0].endpoint_arn #=> String
939
- # resp.endpoints[0].certificate_arn #=> String
940
- # resp.endpoints[0].ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
941
- # @overload describe_endpoints(params = {})
942
- # @param [Hash] params ({})
943
- def describe_endpoints(params = {}, options = {})
944
- req = build_request(:describe_endpoints, params)
945
- req.send_request(options)
946
- end
1019
+ # Returns information about the endpoints for your account in the
1020
+ # current region.
1021
+ #
1022
+ # @option params [Array<Types::Filter>] :filters
1023
+ # Filters applied to the describe action.
1024
+ #
1025
+ # Valid filter names: endpoint-arn \| endpoint-type \| endpoint-id \|
1026
+ # engine-name
1027
+ #
1028
+ # @option params [Integer] :max_records
1029
+ # The maximum number of records to include in the response. If more
1030
+ # records exist than the specified `MaxRecords` value, a pagination
1031
+ # token called a marker is included in the response so that the
1032
+ # remaining results can be retrieved.
1033
+ #
1034
+ # Default: 100
1035
+ #
1036
+ # Constraints: Minimum 20, maximum 100.
1037
+ #
1038
+ # @option params [String] :marker
1039
+ # An optional pagination token provided by a previous request. If this
1040
+ # parameter is specified, the response includes only records beyond the
1041
+ # marker, up to the value specified by `MaxRecords`.
1042
+ #
1043
+ # @return [Types::DescribeEndpointsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1044
+ #
1045
+ # * {Types::DescribeEndpointsResponse#marker #marker} => String
1046
+ # * {Types::DescribeEndpointsResponse#endpoints #endpoints} => Array&lt;Types::Endpoint&gt;
1047
+ #
1048
+ # @example Request syntax with placeholder values
1049
+ #
1050
+ # resp = client.describe_endpoints({
1051
+ # filters: [
1052
+ # {
1053
+ # name: "String", # required
1054
+ # values: ["String"], # required
1055
+ # },
1056
+ # ],
1057
+ # max_records: 1,
1058
+ # marker: "String",
1059
+ # })
1060
+ #
1061
+ # @example Response structure
1062
+ #
1063
+ # resp.marker #=> String
1064
+ # resp.endpoints #=> Array
1065
+ # resp.endpoints[0].endpoint_identifier #=> String
1066
+ # resp.endpoints[0].endpoint_type #=> String, one of "source", "target"
1067
+ # resp.endpoints[0].engine_name #=> String
1068
+ # resp.endpoints[0].username #=> String
1069
+ # resp.endpoints[0].server_name #=> String
1070
+ # resp.endpoints[0].port #=> Integer
1071
+ # resp.endpoints[0].database_name #=> String
1072
+ # resp.endpoints[0].extra_connection_attributes #=> String
1073
+ # resp.endpoints[0].status #=> String
1074
+ # resp.endpoints[0].kms_key_id #=> String
1075
+ # resp.endpoints[0].endpoint_arn #=> String
1076
+ # resp.endpoints[0].certificate_arn #=> String
1077
+ # resp.endpoints[0].ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
1078
+ #
1079
+ # @overload describe_endpoints(params = {})
1080
+ # @param [Hash] params ({})
1081
+ def describe_endpoints(params = {}, options = {})
1082
+ req = build_request(:describe_endpoints, params)
1083
+ req.send_request(options)
1084
+ end
947
1085
 
948
- # Returns information about the replication instance types that can be
949
- # created in the specified region.
950
- # @option params [Integer] :max_records
951
- # The maximum number of records to include in the response. If more
952
- # records exist than the specified `MaxRecords` value, a pagination
953
- # token called a marker is included in the response so that the
954
- # remaining results can be retrieved.
955
- #
956
- # Default: 100
957
- #
958
- # Constraints: Minimum 20, maximum 100.
959
- # @option params [String] :marker
960
- # An optional pagination token provided by a previous request. If this
961
- # parameter is specified, the response includes only records beyond the
962
- # marker, up to the value specified by `MaxRecords`.
963
- # @return [Types::DescribeOrderableReplicationInstancesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
964
- #
965
- # * {Types::DescribeOrderableReplicationInstancesResponse#orderable_replication_instances #OrderableReplicationInstances} => Array&lt;Types::OrderableReplicationInstance&gt;
966
- # * {Types::DescribeOrderableReplicationInstancesResponse#marker #Marker} => String
967
- #
968
- # @example Request syntax with placeholder values
969
- # resp = client.describe_orderable_replication_instances({
970
- # max_records: 1,
971
- # marker: "String",
972
- # })
973
- #
974
- # @example Response structure
975
- # resp.orderable_replication_instances #=> Array
976
- # resp.orderable_replication_instances[0].engine_version #=> String
977
- # resp.orderable_replication_instances[0].replication_instance_class #=> String
978
- # resp.orderable_replication_instances[0].storage_type #=> String
979
- # resp.orderable_replication_instances[0].min_allocated_storage #=> Integer
980
- # resp.orderable_replication_instances[0].max_allocated_storage #=> Integer
981
- # resp.orderable_replication_instances[0].default_allocated_storage #=> Integer
982
- # resp.orderable_replication_instances[0].included_allocated_storage #=> Integer
983
- # resp.marker #=> String
984
- # @overload describe_orderable_replication_instances(params = {})
985
- # @param [Hash] params ({})
986
- def describe_orderable_replication_instances(params = {}, options = {})
987
- req = build_request(:describe_orderable_replication_instances, params)
988
- req.send_request(options)
989
- end
1086
+ # Returns information about the replication instance types that can be
1087
+ # created in the specified region.
1088
+ #
1089
+ # @option params [Integer] :max_records
1090
+ # The maximum number of records to include in the response. If more
1091
+ # records exist than the specified `MaxRecords` value, a pagination
1092
+ # token called a marker is included in the response so that the
1093
+ # remaining results can be retrieved.
1094
+ #
1095
+ # Default: 100
1096
+ #
1097
+ # Constraints: Minimum 20, maximum 100.
1098
+ #
1099
+ # @option params [String] :marker
1100
+ # An optional pagination token provided by a previous request. If this
1101
+ # parameter is specified, the response includes only records beyond the
1102
+ # marker, up to the value specified by `MaxRecords`.
1103
+ #
1104
+ # @return [Types::DescribeOrderableReplicationInstancesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1105
+ #
1106
+ # * {Types::DescribeOrderableReplicationInstancesResponse#orderable_replication_instances #orderable_replication_instances} => Array&lt;Types::OrderableReplicationInstance&gt;
1107
+ # * {Types::DescribeOrderableReplicationInstancesResponse#marker #marker} => String
1108
+ #
1109
+ # @example Request syntax with placeholder values
1110
+ #
1111
+ # resp = client.describe_orderable_replication_instances({
1112
+ # max_records: 1,
1113
+ # marker: "String",
1114
+ # })
1115
+ #
1116
+ # @example Response structure
1117
+ #
1118
+ # resp.orderable_replication_instances #=> Array
1119
+ # resp.orderable_replication_instances[0].engine_version #=> String
1120
+ # resp.orderable_replication_instances[0].replication_instance_class #=> String
1121
+ # resp.orderable_replication_instances[0].storage_type #=> String
1122
+ # resp.orderable_replication_instances[0].min_allocated_storage #=> Integer
1123
+ # resp.orderable_replication_instances[0].max_allocated_storage #=> Integer
1124
+ # resp.orderable_replication_instances[0].default_allocated_storage #=> Integer
1125
+ # resp.orderable_replication_instances[0].included_allocated_storage #=> Integer
1126
+ # resp.marker #=> String
1127
+ #
1128
+ # @overload describe_orderable_replication_instances(params = {})
1129
+ # @param [Hash] params ({})
1130
+ def describe_orderable_replication_instances(params = {}, options = {})
1131
+ req = build_request(:describe_orderable_replication_instances, params)
1132
+ req.send_request(options)
1133
+ end
990
1134
 
991
- # Returns the status of the RefreshSchemas operation.
992
- # @option params [required, String] :endpoint_arn
993
- # The Amazon Resource Name (ARN) string that uniquely identifies the
994
- # endpoint.
995
- # @return [Types::DescribeRefreshSchemasStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
996
- #
997
- # * {Types::DescribeRefreshSchemasStatusResponse#refresh_schemas_status #RefreshSchemasStatus} => Types::RefreshSchemasStatus
998
- #
999
- # @example Request syntax with placeholder values
1000
- # resp = client.describe_refresh_schemas_status({
1001
- # endpoint_arn: "String", # required
1002
- # })
1003
- #
1004
- # @example Response structure
1005
- # resp.refresh_schemas_status.endpoint_arn #=> String
1006
- # resp.refresh_schemas_status.replication_instance_arn #=> String
1007
- # resp.refresh_schemas_status.status #=> String, one of "successful", "failed", "refreshing"
1008
- # resp.refresh_schemas_status.last_refresh_date #=> Time
1009
- # resp.refresh_schemas_status.last_failure_message #=> String
1010
- # @overload describe_refresh_schemas_status(params = {})
1011
- # @param [Hash] params ({})
1012
- def describe_refresh_schemas_status(params = {}, options = {})
1013
- req = build_request(:describe_refresh_schemas_status, params)
1014
- req.send_request(options)
1015
- end
1135
+ # Returns the status of the RefreshSchemas operation.
1136
+ #
1137
+ # @option params [required, String] :endpoint_arn
1138
+ # The Amazon Resource Name (ARN) string that uniquely identifies the
1139
+ # endpoint.
1140
+ #
1141
+ # @return [Types::DescribeRefreshSchemasStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1142
+ #
1143
+ # * {Types::DescribeRefreshSchemasStatusResponse#refresh_schemas_status #refresh_schemas_status} => Types::RefreshSchemasStatus
1144
+ #
1145
+ # @example Request syntax with placeholder values
1146
+ #
1147
+ # resp = client.describe_refresh_schemas_status({
1148
+ # endpoint_arn: "String", # required
1149
+ # })
1150
+ #
1151
+ # @example Response structure
1152
+ #
1153
+ # resp.refresh_schemas_status.endpoint_arn #=> String
1154
+ # resp.refresh_schemas_status.replication_instance_arn #=> String
1155
+ # resp.refresh_schemas_status.status #=> String, one of "successful", "failed", "refreshing"
1156
+ # resp.refresh_schemas_status.last_refresh_date #=> Time
1157
+ # resp.refresh_schemas_status.last_failure_message #=> String
1158
+ #
1159
+ # @overload describe_refresh_schemas_status(params = {})
1160
+ # @param [Hash] params ({})
1161
+ def describe_refresh_schemas_status(params = {}, options = {})
1162
+ req = build_request(:describe_refresh_schemas_status, params)
1163
+ req.send_request(options)
1164
+ end
1016
1165
 
1017
- # Returns information about replication instances for your account in
1018
- # the current region.
1019
- # @option params [Array<Types::Filter>] :filters
1020
- # Filters applied to the describe action.
1021
- #
1022
- # Valid filter names: replication-instance-arn \|
1023
- # replication-instance-id \| replication-instance-class \|
1024
- # engine-version
1025
- # @option params [Integer] :max_records
1026
- # The maximum number of records to include in the response. If more
1027
- # records exist than the specified `MaxRecords` value, a pagination
1028
- # token called a marker is included in the response so that the
1029
- # remaining results can be retrieved.
1030
- #
1031
- # Default: 100
1032
- #
1033
- # Constraints: Minimum 20, maximum 100.
1034
- # @option params [String] :marker
1035
- # An optional pagination token provided by a previous request. If this
1036
- # parameter is specified, the response includes only records beyond the
1037
- # marker, up to the value specified by `MaxRecords`.
1038
- # @return [Types::DescribeReplicationInstancesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1039
- #
1040
- # * {Types::DescribeReplicationInstancesResponse#marker #Marker} => String
1041
- # * {Types::DescribeReplicationInstancesResponse#replication_instances #ReplicationInstances} => Array&lt;Types::ReplicationInstance&gt;
1042
- #
1043
- # @example Request syntax with placeholder values
1044
- # resp = client.describe_replication_instances({
1045
- # filters: [
1046
- # {
1047
- # name: "String", # required
1048
- # values: ["String"], # required
1049
- # },
1050
- # ],
1051
- # max_records: 1,
1052
- # marker: "String",
1053
- # })
1054
- #
1055
- # @example Response structure
1056
- # resp.marker #=> String
1057
- # resp.replication_instances #=> Array
1058
- # resp.replication_instances[0].replication_instance_identifier #=> String
1059
- # resp.replication_instances[0].replication_instance_class #=> String
1060
- # resp.replication_instances[0].replication_instance_status #=> String
1061
- # resp.replication_instances[0].allocated_storage #=> Integer
1062
- # resp.replication_instances[0].instance_create_time #=> Time
1063
- # resp.replication_instances[0].vpc_security_groups #=> Array
1064
- # resp.replication_instances[0].vpc_security_groups[0].vpc_security_group_id #=> String
1065
- # resp.replication_instances[0].vpc_security_groups[0].status #=> String
1066
- # resp.replication_instances[0].availability_zone #=> String
1067
- # resp.replication_instances[0].replication_subnet_group.replication_subnet_group_identifier #=> String
1068
- # resp.replication_instances[0].replication_subnet_group.replication_subnet_group_description #=> String
1069
- # resp.replication_instances[0].replication_subnet_group.vpc_id #=> String
1070
- # resp.replication_instances[0].replication_subnet_group.subnet_group_status #=> String
1071
- # resp.replication_instances[0].replication_subnet_group.subnets #=> Array
1072
- # resp.replication_instances[0].replication_subnet_group.subnets[0].subnet_identifier #=> String
1073
- # resp.replication_instances[0].replication_subnet_group.subnets[0].subnet_availability_zone.name #=> String
1074
- # resp.replication_instances[0].replication_subnet_group.subnets[0].subnet_status #=> String
1075
- # resp.replication_instances[0].preferred_maintenance_window #=> String
1076
- # resp.replication_instances[0].pending_modified_values.replication_instance_class #=> String
1077
- # resp.replication_instances[0].pending_modified_values.allocated_storage #=> Integer
1078
- # resp.replication_instances[0].pending_modified_values.multi_az #=> Boolean
1079
- # resp.replication_instances[0].pending_modified_values.engine_version #=> String
1080
- # resp.replication_instances[0].multi_az #=> Boolean
1081
- # resp.replication_instances[0].engine_version #=> String
1082
- # resp.replication_instances[0].auto_minor_version_upgrade #=> Boolean
1083
- # resp.replication_instances[0].kms_key_id #=> String
1084
- # resp.replication_instances[0].replication_instance_arn #=> String
1085
- # resp.replication_instances[0].replication_instance_public_ip_address #=> String
1086
- # resp.replication_instances[0].replication_instance_private_ip_address #=> String
1087
- # resp.replication_instances[0].replication_instance_public_ip_addresses #=> Array
1088
- # resp.replication_instances[0].replication_instance_public_ip_addresses[0] #=> String
1089
- # resp.replication_instances[0].replication_instance_private_ip_addresses #=> Array
1090
- # resp.replication_instances[0].replication_instance_private_ip_addresses[0] #=> String
1091
- # resp.replication_instances[0].publicly_accessible #=> Boolean
1092
- # @overload describe_replication_instances(params = {})
1093
- # @param [Hash] params ({})
1094
- def describe_replication_instances(params = {}, options = {})
1095
- req = build_request(:describe_replication_instances, params)
1096
- req.send_request(options)
1097
- end
1166
+ # Returns information about replication instances for your account in
1167
+ # the current region.
1168
+ #
1169
+ # @option params [Array<Types::Filter>] :filters
1170
+ # Filters applied to the describe action.
1171
+ #
1172
+ # Valid filter names: replication-instance-arn \|
1173
+ # replication-instance-id \| replication-instance-class \|
1174
+ # engine-version
1175
+ #
1176
+ # @option params [Integer] :max_records
1177
+ # The maximum number of records to include in the response. If more
1178
+ # records exist than the specified `MaxRecords` value, a pagination
1179
+ # token called a marker is included in the response so that the
1180
+ # remaining results can be retrieved.
1181
+ #
1182
+ # Default: 100
1183
+ #
1184
+ # Constraints: Minimum 20, maximum 100.
1185
+ #
1186
+ # @option params [String] :marker
1187
+ # An optional pagination token provided by a previous request. If this
1188
+ # parameter is specified, the response includes only records beyond the
1189
+ # marker, up to the value specified by `MaxRecords`.
1190
+ #
1191
+ # @return [Types::DescribeReplicationInstancesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1192
+ #
1193
+ # * {Types::DescribeReplicationInstancesResponse#marker #marker} => String
1194
+ # * {Types::DescribeReplicationInstancesResponse#replication_instances #replication_instances} => Array&lt;Types::ReplicationInstance&gt;
1195
+ #
1196
+ # @example Request syntax with placeholder values
1197
+ #
1198
+ # resp = client.describe_replication_instances({
1199
+ # filters: [
1200
+ # {
1201
+ # name: "String", # required
1202
+ # values: ["String"], # required
1203
+ # },
1204
+ # ],
1205
+ # max_records: 1,
1206
+ # marker: "String",
1207
+ # })
1208
+ #
1209
+ # @example Response structure
1210
+ #
1211
+ # resp.marker #=> String
1212
+ # resp.replication_instances #=> Array
1213
+ # resp.replication_instances[0].replication_instance_identifier #=> String
1214
+ # resp.replication_instances[0].replication_instance_class #=> String
1215
+ # resp.replication_instances[0].replication_instance_status #=> String
1216
+ # resp.replication_instances[0].allocated_storage #=> Integer
1217
+ # resp.replication_instances[0].instance_create_time #=> Time
1218
+ # resp.replication_instances[0].vpc_security_groups #=> Array
1219
+ # resp.replication_instances[0].vpc_security_groups[0].vpc_security_group_id #=> String
1220
+ # resp.replication_instances[0].vpc_security_groups[0].status #=> String
1221
+ # resp.replication_instances[0].availability_zone #=> String
1222
+ # resp.replication_instances[0].replication_subnet_group.replication_subnet_group_identifier #=> String
1223
+ # resp.replication_instances[0].replication_subnet_group.replication_subnet_group_description #=> String
1224
+ # resp.replication_instances[0].replication_subnet_group.vpc_id #=> String
1225
+ # resp.replication_instances[0].replication_subnet_group.subnet_group_status #=> String
1226
+ # resp.replication_instances[0].replication_subnet_group.subnets #=> Array
1227
+ # resp.replication_instances[0].replication_subnet_group.subnets[0].subnet_identifier #=> String
1228
+ # resp.replication_instances[0].replication_subnet_group.subnets[0].subnet_availability_zone.name #=> String
1229
+ # resp.replication_instances[0].replication_subnet_group.subnets[0].subnet_status #=> String
1230
+ # resp.replication_instances[0].preferred_maintenance_window #=> String
1231
+ # resp.replication_instances[0].pending_modified_values.replication_instance_class #=> String
1232
+ # resp.replication_instances[0].pending_modified_values.allocated_storage #=> Integer
1233
+ # resp.replication_instances[0].pending_modified_values.multi_az #=> Boolean
1234
+ # resp.replication_instances[0].pending_modified_values.engine_version #=> String
1235
+ # resp.replication_instances[0].multi_az #=> Boolean
1236
+ # resp.replication_instances[0].engine_version #=> String
1237
+ # resp.replication_instances[0].auto_minor_version_upgrade #=> Boolean
1238
+ # resp.replication_instances[0].kms_key_id #=> String
1239
+ # resp.replication_instances[0].replication_instance_arn #=> String
1240
+ # resp.replication_instances[0].replication_instance_public_ip_address #=> String
1241
+ # resp.replication_instances[0].replication_instance_private_ip_address #=> String
1242
+ # resp.replication_instances[0].replication_instance_public_ip_addresses #=> Array
1243
+ # resp.replication_instances[0].replication_instance_public_ip_addresses[0] #=> String
1244
+ # resp.replication_instances[0].replication_instance_private_ip_addresses #=> Array
1245
+ # resp.replication_instances[0].replication_instance_private_ip_addresses[0] #=> String
1246
+ # resp.replication_instances[0].publicly_accessible #=> Boolean
1247
+ # resp.replication_instances[0].secondary_availability_zone #=> String
1248
+ #
1249
+ # @overload describe_replication_instances(params = {})
1250
+ # @param [Hash] params ({})
1251
+ def describe_replication_instances(params = {}, options = {})
1252
+ req = build_request(:describe_replication_instances, params)
1253
+ req.send_request(options)
1254
+ end
1098
1255
 
1099
- # Returns information about the replication subnet groups.
1100
- # @option params [Array<Types::Filter>] :filters
1101
- # Filters applied to the describe action.
1102
- # @option params [Integer] :max_records
1103
- # The maximum number of records to include in the response. If more
1104
- # records exist than the specified `MaxRecords` value, a pagination
1105
- # token called a marker is included in the response so that the
1106
- # remaining results can be retrieved.
1107
- #
1108
- # Default: 100
1109
- #
1110
- # Constraints: Minimum 20, maximum 100.
1111
- # @option params [String] :marker
1112
- # An optional pagination token provided by a previous request. If this
1113
- # parameter is specified, the response includes only records beyond the
1114
- # marker, up to the value specified by `MaxRecords`.
1115
- # @return [Types::DescribeReplicationSubnetGroupsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1116
- #
1117
- # * {Types::DescribeReplicationSubnetGroupsResponse#marker #Marker} => String
1118
- # * {Types::DescribeReplicationSubnetGroupsResponse#replication_subnet_groups #ReplicationSubnetGroups} => Array&lt;Types::ReplicationSubnetGroup&gt;
1119
- #
1120
- # @example Request syntax with placeholder values
1121
- # resp = client.describe_replication_subnet_groups({
1122
- # filters: [
1123
- # {
1124
- # name: "String", # required
1125
- # values: ["String"], # required
1126
- # },
1127
- # ],
1128
- # max_records: 1,
1129
- # marker: "String",
1130
- # })
1131
- #
1132
- # @example Response structure
1133
- # resp.marker #=> String
1134
- # resp.replication_subnet_groups #=> Array
1135
- # resp.replication_subnet_groups[0].replication_subnet_group_identifier #=> String
1136
- # resp.replication_subnet_groups[0].replication_subnet_group_description #=> String
1137
- # resp.replication_subnet_groups[0].vpc_id #=> String
1138
- # resp.replication_subnet_groups[0].subnet_group_status #=> String
1139
- # resp.replication_subnet_groups[0].subnets #=> Array
1140
- # resp.replication_subnet_groups[0].subnets[0].subnet_identifier #=> String
1141
- # resp.replication_subnet_groups[0].subnets[0].subnet_availability_zone.name #=> String
1142
- # resp.replication_subnet_groups[0].subnets[0].subnet_status #=> String
1143
- # @overload describe_replication_subnet_groups(params = {})
1144
- # @param [Hash] params ({})
1145
- def describe_replication_subnet_groups(params = {}, options = {})
1146
- req = build_request(:describe_replication_subnet_groups, params)
1147
- req.send_request(options)
1148
- end
1256
+ # Returns information about the replication subnet groups.
1257
+ #
1258
+ # @option params [Array<Types::Filter>] :filters
1259
+ # Filters applied to the describe action.
1260
+ #
1261
+ # @option params [Integer] :max_records
1262
+ # The maximum number of records to include in the response. If more
1263
+ # records exist than the specified `MaxRecords` value, a pagination
1264
+ # token called a marker is included in the response so that the
1265
+ # remaining results can be retrieved.
1266
+ #
1267
+ # Default: 100
1268
+ #
1269
+ # Constraints: Minimum 20, maximum 100.
1270
+ #
1271
+ # @option params [String] :marker
1272
+ # An optional pagination token provided by a previous request. If this
1273
+ # parameter is specified, the response includes only records beyond the
1274
+ # marker, up to the value specified by `MaxRecords`.
1275
+ #
1276
+ # @return [Types::DescribeReplicationSubnetGroupsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1277
+ #
1278
+ # * {Types::DescribeReplicationSubnetGroupsResponse#marker #marker} => String
1279
+ # * {Types::DescribeReplicationSubnetGroupsResponse#replication_subnet_groups #replication_subnet_groups} => Array&lt;Types::ReplicationSubnetGroup&gt;
1280
+ #
1281
+ # @example Request syntax with placeholder values
1282
+ #
1283
+ # resp = client.describe_replication_subnet_groups({
1284
+ # filters: [
1285
+ # {
1286
+ # name: "String", # required
1287
+ # values: ["String"], # required
1288
+ # },
1289
+ # ],
1290
+ # max_records: 1,
1291
+ # marker: "String",
1292
+ # })
1293
+ #
1294
+ # @example Response structure
1295
+ #
1296
+ # resp.marker #=> String
1297
+ # resp.replication_subnet_groups #=> Array
1298
+ # resp.replication_subnet_groups[0].replication_subnet_group_identifier #=> String
1299
+ # resp.replication_subnet_groups[0].replication_subnet_group_description #=> String
1300
+ # resp.replication_subnet_groups[0].vpc_id #=> String
1301
+ # resp.replication_subnet_groups[0].subnet_group_status #=> String
1302
+ # resp.replication_subnet_groups[0].subnets #=> Array
1303
+ # resp.replication_subnet_groups[0].subnets[0].subnet_identifier #=> String
1304
+ # resp.replication_subnet_groups[0].subnets[0].subnet_availability_zone.name #=> String
1305
+ # resp.replication_subnet_groups[0].subnets[0].subnet_status #=> String
1306
+ #
1307
+ # @overload describe_replication_subnet_groups(params = {})
1308
+ # @param [Hash] params ({})
1309
+ def describe_replication_subnet_groups(params = {}, options = {})
1310
+ req = build_request(:describe_replication_subnet_groups, params)
1311
+ req.send_request(options)
1312
+ end
1149
1313
 
1150
- # Returns information about replication tasks for your account in the
1151
- # current region.
1152
- # @option params [Array<Types::Filter>] :filters
1153
- # Filters applied to the describe action.
1154
- #
1155
- # Valid filter names: replication-task-arn \| replication-task-id \|
1156
- # migration-type \| endpoint-arn \| replication-instance-arn
1157
- # @option params [Integer] :max_records
1158
- # The maximum number of records to include in the response. If more
1159
- # records exist than the specified `MaxRecords` value, a pagination
1160
- # token called a marker is included in the response so that the
1161
- # remaining results can be retrieved.
1162
- #
1163
- # Default: 100
1164
- #
1165
- # Constraints: Minimum 20, maximum 100.
1166
- # @option params [String] :marker
1167
- # An optional pagination token provided by a previous request. If this
1168
- # parameter is specified, the response includes only records beyond the
1169
- # marker, up to the value specified by `MaxRecords`.
1170
- # @return [Types::DescribeReplicationTasksResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1171
- #
1172
- # * {Types::DescribeReplicationTasksResponse#marker #Marker} => String
1173
- # * {Types::DescribeReplicationTasksResponse#replication_tasks #ReplicationTasks} => Array&lt;Types::ReplicationTask&gt;
1174
- #
1175
- # @example Request syntax with placeholder values
1176
- # resp = client.describe_replication_tasks({
1177
- # filters: [
1178
- # {
1179
- # name: "String", # required
1180
- # values: ["String"], # required
1181
- # },
1182
- # ],
1183
- # max_records: 1,
1184
- # marker: "String",
1185
- # })
1186
- #
1187
- # @example Response structure
1188
- # resp.marker #=> String
1189
- # resp.replication_tasks #=> Array
1190
- # resp.replication_tasks[0].replication_task_identifier #=> String
1191
- # resp.replication_tasks[0].source_endpoint_arn #=> String
1192
- # resp.replication_tasks[0].target_endpoint_arn #=> String
1193
- # resp.replication_tasks[0].replication_instance_arn #=> String
1194
- # resp.replication_tasks[0].migration_type #=> String, one of "full-load", "cdc", "full-load-and-cdc"
1195
- # resp.replication_tasks[0].table_mappings #=> String
1196
- # resp.replication_tasks[0].replication_task_settings #=> String
1197
- # resp.replication_tasks[0].status #=> String
1198
- # resp.replication_tasks[0].last_failure_message #=> String
1199
- # resp.replication_tasks[0].replication_task_creation_date #=> Time
1200
- # resp.replication_tasks[0].replication_task_start_date #=> Time
1201
- # resp.replication_tasks[0].replication_task_arn #=> String
1202
- # resp.replication_tasks[0].replication_task_stats.full_load_progress_percent #=> Integer
1203
- # resp.replication_tasks[0].replication_task_stats.elapsed_time_millis #=> Integer
1204
- # resp.replication_tasks[0].replication_task_stats.tables_loaded #=> Integer
1205
- # resp.replication_tasks[0].replication_task_stats.tables_loading #=> Integer
1206
- # resp.replication_tasks[0].replication_task_stats.tables_queued #=> Integer
1207
- # resp.replication_tasks[0].replication_task_stats.tables_errored #=> Integer
1208
- # @overload describe_replication_tasks(params = {})
1209
- # @param [Hash] params ({})
1210
- def describe_replication_tasks(params = {}, options = {})
1211
- req = build_request(:describe_replication_tasks, params)
1212
- req.send_request(options)
1213
- end
1314
+ # Returns information about replication tasks for your account in the
1315
+ # current region.
1316
+ #
1317
+ # @option params [Array<Types::Filter>] :filters
1318
+ # Filters applied to the describe action.
1319
+ #
1320
+ # Valid filter names: replication-task-arn \| replication-task-id \|
1321
+ # migration-type \| endpoint-arn \| replication-instance-arn
1322
+ #
1323
+ # @option params [Integer] :max_records
1324
+ # The maximum number of records to include in the response. If more
1325
+ # records exist than the specified `MaxRecords` value, a pagination
1326
+ # token called a marker is included in the response so that the
1327
+ # remaining results can be retrieved.
1328
+ #
1329
+ # Default: 100
1330
+ #
1331
+ # Constraints: Minimum 20, maximum 100.
1332
+ #
1333
+ # @option params [String] :marker
1334
+ # An optional pagination token provided by a previous request. If this
1335
+ # parameter is specified, the response includes only records beyond the
1336
+ # marker, up to the value specified by `MaxRecords`.
1337
+ #
1338
+ # @return [Types::DescribeReplicationTasksResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1339
+ #
1340
+ # * {Types::DescribeReplicationTasksResponse#marker #marker} => String
1341
+ # * {Types::DescribeReplicationTasksResponse#replication_tasks #replication_tasks} => Array&lt;Types::ReplicationTask&gt;
1342
+ #
1343
+ # @example Request syntax with placeholder values
1344
+ #
1345
+ # resp = client.describe_replication_tasks({
1346
+ # filters: [
1347
+ # {
1348
+ # name: "String", # required
1349
+ # values: ["String"], # required
1350
+ # },
1351
+ # ],
1352
+ # max_records: 1,
1353
+ # marker: "String",
1354
+ # })
1355
+ #
1356
+ # @example Response structure
1357
+ #
1358
+ # resp.marker #=> String
1359
+ # resp.replication_tasks #=> Array
1360
+ # resp.replication_tasks[0].replication_task_identifier #=> String
1361
+ # resp.replication_tasks[0].source_endpoint_arn #=> String
1362
+ # resp.replication_tasks[0].target_endpoint_arn #=> String
1363
+ # resp.replication_tasks[0].replication_instance_arn #=> String
1364
+ # resp.replication_tasks[0].migration_type #=> String, one of "full-load", "cdc", "full-load-and-cdc"
1365
+ # resp.replication_tasks[0].table_mappings #=> String
1366
+ # resp.replication_tasks[0].replication_task_settings #=> String
1367
+ # resp.replication_tasks[0].status #=> String
1368
+ # resp.replication_tasks[0].last_failure_message #=> String
1369
+ # resp.replication_tasks[0].stop_reason #=> String
1370
+ # resp.replication_tasks[0].replication_task_creation_date #=> Time
1371
+ # resp.replication_tasks[0].replication_task_start_date #=> Time
1372
+ # resp.replication_tasks[0].replication_task_arn #=> String
1373
+ # resp.replication_tasks[0].replication_task_stats.full_load_progress_percent #=> Integer
1374
+ # resp.replication_tasks[0].replication_task_stats.elapsed_time_millis #=> Integer
1375
+ # resp.replication_tasks[0].replication_task_stats.tables_loaded #=> Integer
1376
+ # resp.replication_tasks[0].replication_task_stats.tables_loading #=> Integer
1377
+ # resp.replication_tasks[0].replication_task_stats.tables_queued #=> Integer
1378
+ # resp.replication_tasks[0].replication_task_stats.tables_errored #=> Integer
1379
+ #
1380
+ # @overload describe_replication_tasks(params = {})
1381
+ # @param [Hash] params ({})
1382
+ def describe_replication_tasks(params = {}, options = {})
1383
+ req = build_request(:describe_replication_tasks, params)
1384
+ req.send_request(options)
1385
+ end
1214
1386
 
1215
- # Returns information about the schema for the specified endpoint.
1216
- # @option params [required, String] :endpoint_arn
1217
- # The Amazon Resource Name (ARN) string that uniquely identifies the
1218
- # endpoint.
1219
- # @option params [Integer] :max_records
1220
- # The maximum number of records to include in the response. If more
1221
- # records exist than the specified `MaxRecords` value, a pagination
1222
- # token called a marker is included in the response so that the
1223
- # remaining results can be retrieved.
1224
- #
1225
- # Default: 100
1226
- #
1227
- # Constraints: Minimum 20, maximum 100.
1228
- # @option params [String] :marker
1229
- # An optional pagination token provided by a previous request. If this
1230
- # parameter is specified, the response includes only records beyond the
1231
- # marker, up to the value specified by `MaxRecords`.
1232
- # @return [Types::DescribeSchemasResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1233
- #
1234
- # * {Types::DescribeSchemasResponse#marker #Marker} => String
1235
- # * {Types::DescribeSchemasResponse#schemas #Schemas} => Array&lt;String&gt;
1236
- #
1237
- # @example Request syntax with placeholder values
1238
- # resp = client.describe_schemas({
1239
- # endpoint_arn: "String", # required
1240
- # max_records: 1,
1241
- # marker: "String",
1242
- # })
1243
- #
1244
- # @example Response structure
1245
- # resp.marker #=> String
1246
- # resp.schemas #=> Array
1247
- # resp.schemas[0] #=> String
1248
- # @overload describe_schemas(params = {})
1249
- # @param [Hash] params ({})
1250
- def describe_schemas(params = {}, options = {})
1251
- req = build_request(:describe_schemas, params)
1252
- req.send_request(options)
1253
- end
1387
+ # Returns information about the schema for the specified endpoint.
1388
+ #
1389
+ # @option params [required, String] :endpoint_arn
1390
+ # The Amazon Resource Name (ARN) string that uniquely identifies the
1391
+ # endpoint.
1392
+ #
1393
+ # @option params [Integer] :max_records
1394
+ # The maximum number of records to include in the response. If more
1395
+ # records exist than the specified `MaxRecords` value, a pagination
1396
+ # token called a marker is included in the response so that the
1397
+ # remaining results can be retrieved.
1398
+ #
1399
+ # Default: 100
1400
+ #
1401
+ # Constraints: Minimum 20, maximum 100.
1402
+ #
1403
+ # @option params [String] :marker
1404
+ # An optional pagination token provided by a previous request. If this
1405
+ # parameter is specified, the response includes only records beyond the
1406
+ # marker, up to the value specified by `MaxRecords`.
1407
+ #
1408
+ # @return [Types::DescribeSchemasResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1409
+ #
1410
+ # * {Types::DescribeSchemasResponse#marker #marker} => String
1411
+ # * {Types::DescribeSchemasResponse#schemas #schemas} => Array&lt;String&gt;
1412
+ #
1413
+ # @example Request syntax with placeholder values
1414
+ #
1415
+ # resp = client.describe_schemas({
1416
+ # endpoint_arn: "String", # required
1417
+ # max_records: 1,
1418
+ # marker: "String",
1419
+ # })
1420
+ #
1421
+ # @example Response structure
1422
+ #
1423
+ # resp.marker #=> String
1424
+ # resp.schemas #=> Array
1425
+ # resp.schemas[0] #=> String
1426
+ #
1427
+ # @overload describe_schemas(params = {})
1428
+ # @param [Hash] params ({})
1429
+ def describe_schemas(params = {}, options = {})
1430
+ req = build_request(:describe_schemas, params)
1431
+ req.send_request(options)
1432
+ end
1254
1433
 
1255
- # Returns table statistics on the database migration task, including
1256
- # table name, rows inserted, rows updated, and rows deleted.
1257
- # @option params [required, String] :replication_task_arn
1258
- # The Amazon Resource Name (ARN) of the replication task.
1259
- # @option params [Integer] :max_records
1260
- # The maximum number of records to include in the response. If more
1261
- # records exist than the specified `MaxRecords` value, a pagination
1262
- # token called a marker is included in the response so that the
1263
- # remaining results can be retrieved.
1264
- #
1265
- # Default: 100
1266
- #
1267
- # Constraints: Minimum 20, maximum 100.
1268
- # @option params [String] :marker
1269
- # An optional pagination token provided by a previous request. If this
1270
- # parameter is specified, the response includes only records beyond the
1271
- # marker, up to the value specified by `MaxRecords`.
1272
- # @return [Types::DescribeTableStatisticsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1273
- #
1274
- # * {Types::DescribeTableStatisticsResponse#replication_task_arn #ReplicationTaskArn} => String
1275
- # * {Types::DescribeTableStatisticsResponse#table_statistics #TableStatistics} => Array&lt;Types::TableStatistics&gt;
1276
- # * {Types::DescribeTableStatisticsResponse#marker #Marker} => String
1277
- #
1278
- # @example Request syntax with placeholder values
1279
- # resp = client.describe_table_statistics({
1280
- # replication_task_arn: "String", # required
1281
- # max_records: 1,
1282
- # marker: "String",
1283
- # })
1284
- #
1285
- # @example Response structure
1286
- # resp.replication_task_arn #=> String
1287
- # resp.table_statistics #=> Array
1288
- # resp.table_statistics[0].schema_name #=> String
1289
- # resp.table_statistics[0].table_name #=> String
1290
- # resp.table_statistics[0].inserts #=> Integer
1291
- # resp.table_statistics[0].deletes #=> Integer
1292
- # resp.table_statistics[0].updates #=> Integer
1293
- # resp.table_statistics[0].ddls #=> Integer
1294
- # resp.table_statistics[0].full_load_rows #=> Integer
1295
- # resp.table_statistics[0].last_update_time #=> Time
1296
- # resp.table_statistics[0].table_state #=> String
1297
- # resp.marker #=> String
1298
- # @overload describe_table_statistics(params = {})
1299
- # @param [Hash] params ({})
1300
- def describe_table_statistics(params = {}, options = {})
1301
- req = build_request(:describe_table_statistics, params)
1302
- req.send_request(options)
1303
- end
1434
+ # Returns table statistics on the database migration task, including
1435
+ # table name, rows inserted, rows updated, and rows deleted.
1436
+ #
1437
+ # @option params [required, String] :replication_task_arn
1438
+ # The Amazon Resource Name (ARN) of the replication task.
1439
+ #
1440
+ # @option params [Integer] :max_records
1441
+ # The maximum number of records to include in the response. If more
1442
+ # records exist than the specified `MaxRecords` value, a pagination
1443
+ # token called a marker is included in the response so that the
1444
+ # remaining results can be retrieved.
1445
+ #
1446
+ # Default: 100
1447
+ #
1448
+ # Constraints: Minimum 20, maximum 100.
1449
+ #
1450
+ # @option params [String] :marker
1451
+ # An optional pagination token provided by a previous request. If this
1452
+ # parameter is specified, the response includes only records beyond the
1453
+ # marker, up to the value specified by `MaxRecords`.
1454
+ #
1455
+ # @return [Types::DescribeTableStatisticsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1456
+ #
1457
+ # * {Types::DescribeTableStatisticsResponse#replication_task_arn #replication_task_arn} => String
1458
+ # * {Types::DescribeTableStatisticsResponse#table_statistics #table_statistics} => Array&lt;Types::TableStatistics&gt;
1459
+ # * {Types::DescribeTableStatisticsResponse#marker #marker} => String
1460
+ #
1461
+ # @example Request syntax with placeholder values
1462
+ #
1463
+ # resp = client.describe_table_statistics({
1464
+ # replication_task_arn: "String", # required
1465
+ # max_records: 1,
1466
+ # marker: "String",
1467
+ # })
1468
+ #
1469
+ # @example Response structure
1470
+ #
1471
+ # resp.replication_task_arn #=> String
1472
+ # resp.table_statistics #=> Array
1473
+ # resp.table_statistics[0].schema_name #=> String
1474
+ # resp.table_statistics[0].table_name #=> String
1475
+ # resp.table_statistics[0].inserts #=> Integer
1476
+ # resp.table_statistics[0].deletes #=> Integer
1477
+ # resp.table_statistics[0].updates #=> Integer
1478
+ # resp.table_statistics[0].ddls #=> Integer
1479
+ # resp.table_statistics[0].full_load_rows #=> Integer
1480
+ # resp.table_statistics[0].last_update_time #=> Time
1481
+ # resp.table_statistics[0].table_state #=> String
1482
+ # resp.marker #=> String
1483
+ #
1484
+ # @overload describe_table_statistics(params = {})
1485
+ # @param [Hash] params ({})
1486
+ def describe_table_statistics(params = {}, options = {})
1487
+ req = build_request(:describe_table_statistics, params)
1488
+ req.send_request(options)
1489
+ end
1304
1490
 
1305
- # Uploads the specified certificate.
1306
- # @option params [required, String] :certificate_identifier
1307
- # The customer-assigned name of the certificate. Valid characters are
1308
- # \[A-z\_0-9\].
1309
- # @option params [String] :certificate_pem
1310
- # The contents of the .pem X.509 certificate file.
1311
- # @return [Types::ImportCertificateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1312
- #
1313
- # * {Types::ImportCertificateResponse#certificate #Certificate} => Types::Certificate
1314
- #
1315
- # @example Request syntax with placeholder values
1316
- # resp = client.import_certificate({
1317
- # certificate_identifier: "String", # required
1318
- # certificate_pem: "String",
1319
- # })
1320
- #
1321
- # @example Response structure
1322
- # resp.certificate.certificate_identifier #=> String
1323
- # resp.certificate.certificate_creation_date #=> Time
1324
- # resp.certificate.certificate_pem #=> String
1325
- # resp.certificate.certificate_arn #=> String
1326
- # resp.certificate.certificate_owner #=> String
1327
- # resp.certificate.valid_from_date #=> Time
1328
- # resp.certificate.valid_to_date #=> Time
1329
- # resp.certificate.signing_algorithm #=> String
1330
- # resp.certificate.key_length #=> Integer
1331
- # @overload import_certificate(params = {})
1332
- # @param [Hash] params ({})
1333
- def import_certificate(params = {}, options = {})
1334
- req = build_request(:import_certificate, params)
1335
- req.send_request(options)
1336
- end
1491
+ # Uploads the specified certificate.
1492
+ #
1493
+ # @option params [required, String] :certificate_identifier
1494
+ # The customer-assigned name of the certificate. Valid characters are
1495
+ # A-z and 0-9.
1496
+ #
1497
+ # @option params [String] :certificate_pem
1498
+ # The contents of the .pem X.509 certificate file for the certificate.
1499
+ #
1500
+ # @option params [String, IO] :certificate_wallet
1501
+ # The location of the imported Oracle Wallet certificate for use with
1502
+ # SSL.
1503
+ #
1504
+ # @return [Types::ImportCertificateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1505
+ #
1506
+ # * {Types::ImportCertificateResponse#certificate #certificate} => Types::Certificate
1507
+ #
1508
+ # @example Request syntax with placeholder values
1509
+ #
1510
+ # resp = client.import_certificate({
1511
+ # certificate_identifier: "String", # required
1512
+ # certificate_pem: "String",
1513
+ # certificate_wallet: "data",
1514
+ # })
1515
+ #
1516
+ # @example Response structure
1517
+ #
1518
+ # resp.certificate.certificate_identifier #=> String
1519
+ # resp.certificate.certificate_creation_date #=> Time
1520
+ # resp.certificate.certificate_pem #=> String
1521
+ # resp.certificate.certificate_wallet #=> String
1522
+ # resp.certificate.certificate_arn #=> String
1523
+ # resp.certificate.certificate_owner #=> String
1524
+ # resp.certificate.valid_from_date #=> Time
1525
+ # resp.certificate.valid_to_date #=> Time
1526
+ # resp.certificate.signing_algorithm #=> String
1527
+ # resp.certificate.key_length #=> Integer
1528
+ #
1529
+ # @overload import_certificate(params = {})
1530
+ # @param [Hash] params ({})
1531
+ def import_certificate(params = {}, options = {})
1532
+ req = build_request(:import_certificate, params)
1533
+ req.send_request(options)
1534
+ end
1337
1535
 
1338
- # Lists all tags for an AWS DMS resource.
1339
- # @option params [required, String] :resource_arn
1340
- # The Amazon Resource Name (ARN) string that uniquely identifies the AWS
1341
- # DMS resource.
1342
- # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1343
- #
1344
- # * {Types::ListTagsForResourceResponse#tag_list #TagList} => Array&lt;Types::Tag&gt;
1345
- #
1346
- # @example Request syntax with placeholder values
1347
- # resp = client.list_tags_for_resource({
1348
- # resource_arn: "String", # required
1349
- # })
1350
- #
1351
- # @example Response structure
1352
- # resp.tag_list #=> Array
1353
- # resp.tag_list[0].key #=> String
1354
- # resp.tag_list[0].value #=> String
1355
- # @overload list_tags_for_resource(params = {})
1356
- # @param [Hash] params ({})
1357
- def list_tags_for_resource(params = {}, options = {})
1358
- req = build_request(:list_tags_for_resource, params)
1359
- req.send_request(options)
1360
- end
1536
+ # Lists all tags for an AWS DMS resource.
1537
+ #
1538
+ # @option params [required, String] :resource_arn
1539
+ # The Amazon Resource Name (ARN) string that uniquely identifies the AWS
1540
+ # DMS resource.
1541
+ #
1542
+ # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1543
+ #
1544
+ # * {Types::ListTagsForResourceResponse#tag_list #tag_list} => Array&lt;Types::Tag&gt;
1545
+ #
1546
+ # @example Request syntax with placeholder values
1547
+ #
1548
+ # resp = client.list_tags_for_resource({
1549
+ # resource_arn: "String", # required
1550
+ # })
1551
+ #
1552
+ # @example Response structure
1553
+ #
1554
+ # resp.tag_list #=> Array
1555
+ # resp.tag_list[0].key #=> String
1556
+ # resp.tag_list[0].value #=> String
1557
+ #
1558
+ # @overload list_tags_for_resource(params = {})
1559
+ # @param [Hash] params ({})
1560
+ def list_tags_for_resource(params = {}, options = {})
1561
+ req = build_request(:list_tags_for_resource, params)
1562
+ req.send_request(options)
1563
+ end
1361
1564
 
1362
- # Modifies the specified endpoint.
1363
- # @option params [required, String] :endpoint_arn
1364
- # The Amazon Resource Name (ARN) string that uniquely identifies the
1365
- # endpoint.
1366
- # @option params [String] :endpoint_identifier
1367
- # The database endpoint identifier. Identifiers must begin with a
1368
- # letter; must contain only ASCII letters, digits, and hyphens; and must
1369
- # not end with a hyphen or contain two consecutive hyphens.
1370
- # @option params [String] :endpoint_type
1371
- # The type of endpoint.
1372
- # @option params [String] :engine_name
1373
- # The type of engine for the endpoint. Valid values include MYSQL,
1374
- # ORACLE, POSTGRES, MARIADB, AURORA, REDSHIFT, and SQLSERVER.
1375
- # @option params [String] :username
1376
- # The user name to be used to login to the endpoint database.
1377
- # @option params [String] :password
1378
- # The password to be used to login to the endpoint database.
1379
- # @option params [String] :server_name
1380
- # The name of the server where the endpoint database resides.
1381
- # @option params [Integer] :port
1382
- # The port used by the endpoint database.
1383
- # @option params [String] :database_name
1384
- # The name of the endpoint database.
1385
- # @option params [String] :extra_connection_attributes
1386
- # Additional attributes associated with the connection.
1387
- # @option params [String] :certificate_arn
1388
- # The Amazon Resource Name (ARN) of the certificate used for SSL
1389
- # connection.
1390
- # @option params [String] :ssl_mode
1391
- # The SSL mode to be used.
1392
- #
1393
- # SSL mode can be one of four values: none, require, verify-ca,
1394
- # verify-full.
1395
- #
1396
- # The default value is none.
1397
- # @return [Types::ModifyEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1398
- #
1399
- # * {Types::ModifyEndpointResponse#endpoint #Endpoint} => Types::Endpoint
1400
- #
1401
- # @example Request syntax with placeholder values
1402
- # resp = client.modify_endpoint({
1403
- # endpoint_arn: "String", # required
1404
- # endpoint_identifier: "String",
1405
- # endpoint_type: "source", # accepts source, target
1406
- # engine_name: "String",
1407
- # username: "String",
1408
- # password: "SecretString",
1409
- # server_name: "String",
1410
- # port: 1,
1411
- # database_name: "String",
1412
- # extra_connection_attributes: "String",
1413
- # certificate_arn: "String",
1414
- # ssl_mode: "none", # accepts none, require, verify-ca, verify-full
1415
- # })
1416
- #
1417
- # @example Response structure
1418
- # resp.endpoint.endpoint_identifier #=> String
1419
- # resp.endpoint.endpoint_type #=> String, one of "source", "target"
1420
- # resp.endpoint.engine_name #=> String
1421
- # resp.endpoint.username #=> String
1422
- # resp.endpoint.server_name #=> String
1423
- # resp.endpoint.port #=> Integer
1424
- # resp.endpoint.database_name #=> String
1425
- # resp.endpoint.extra_connection_attributes #=> String
1426
- # resp.endpoint.status #=> String
1427
- # resp.endpoint.kms_key_id #=> String
1428
- # resp.endpoint.endpoint_arn #=> String
1429
- # resp.endpoint.certificate_arn #=> String
1430
- # resp.endpoint.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
1431
- # @overload modify_endpoint(params = {})
1432
- # @param [Hash] params ({})
1433
- def modify_endpoint(params = {}, options = {})
1434
- req = build_request(:modify_endpoint, params)
1435
- req.send_request(options)
1436
- end
1565
+ # Modifies the specified endpoint.
1566
+ #
1567
+ # @option params [required, String] :endpoint_arn
1568
+ # The Amazon Resource Name (ARN) string that uniquely identifies the
1569
+ # endpoint.
1570
+ #
1571
+ # @option params [String] :endpoint_identifier
1572
+ # The database endpoint identifier. Identifiers must begin with a
1573
+ # letter; must contain only ASCII letters, digits, and hyphens; and must
1574
+ # not end with a hyphen or contain two consecutive hyphens.
1575
+ #
1576
+ # @option params [String] :endpoint_type
1577
+ # The type of endpoint.
1578
+ #
1579
+ # @option params [String] :engine_name
1580
+ # The type of engine for the endpoint. Valid values include MYSQL,
1581
+ # ORACLE, POSTGRES, MARIADB, AURORA, REDSHIFT, SYBASE, and SQLSERVER.
1582
+ #
1583
+ # @option params [String] :username
1584
+ # The user name to be used to login to the endpoint database.
1585
+ #
1586
+ # @option params [String] :password
1587
+ # The password to be used to login to the endpoint database.
1588
+ #
1589
+ # @option params [String] :server_name
1590
+ # The name of the server where the endpoint database resides.
1591
+ #
1592
+ # @option params [Integer] :port
1593
+ # The port used by the endpoint database.
1594
+ #
1595
+ # @option params [String] :database_name
1596
+ # The name of the endpoint database.
1597
+ #
1598
+ # @option params [String] :extra_connection_attributes
1599
+ # Additional attributes associated with the connection.
1600
+ #
1601
+ # @option params [String] :certificate_arn
1602
+ # The Amazon Resource Name (ARN) of the certificate used for SSL
1603
+ # connection.
1604
+ #
1605
+ # @option params [String] :ssl_mode
1606
+ # The SSL mode to be used.
1607
+ #
1608
+ # SSL mode can be one of four values: none, require, verify-ca,
1609
+ # verify-full.
1610
+ #
1611
+ # The default value is none.
1612
+ #
1613
+ # @return [Types::ModifyEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1614
+ #
1615
+ # * {Types::ModifyEndpointResponse#endpoint #endpoint} => Types::Endpoint
1616
+ #
1617
+ # @example Request syntax with placeholder values
1618
+ #
1619
+ # resp = client.modify_endpoint({
1620
+ # endpoint_arn: "String", # required
1621
+ # endpoint_identifier: "String",
1622
+ # endpoint_type: "source", # accepts source, target
1623
+ # engine_name: "String",
1624
+ # username: "String",
1625
+ # password: "SecretString",
1626
+ # server_name: "String",
1627
+ # port: 1,
1628
+ # database_name: "String",
1629
+ # extra_connection_attributes: "String",
1630
+ # certificate_arn: "String",
1631
+ # ssl_mode: "none", # accepts none, require, verify-ca, verify-full
1632
+ # })
1633
+ #
1634
+ # @example Response structure
1635
+ #
1636
+ # resp.endpoint.endpoint_identifier #=> String
1637
+ # resp.endpoint.endpoint_type #=> String, one of "source", "target"
1638
+ # resp.endpoint.engine_name #=> String
1639
+ # resp.endpoint.username #=> String
1640
+ # resp.endpoint.server_name #=> String
1641
+ # resp.endpoint.port #=> Integer
1642
+ # resp.endpoint.database_name #=> String
1643
+ # resp.endpoint.extra_connection_attributes #=> String
1644
+ # resp.endpoint.status #=> String
1645
+ # resp.endpoint.kms_key_id #=> String
1646
+ # resp.endpoint.endpoint_arn #=> String
1647
+ # resp.endpoint.certificate_arn #=> String
1648
+ # resp.endpoint.ssl_mode #=> String, one of "none", "require", "verify-ca", "verify-full"
1649
+ #
1650
+ # @overload modify_endpoint(params = {})
1651
+ # @param [Hash] params ({})
1652
+ def modify_endpoint(params = {}, options = {})
1653
+ req = build_request(:modify_endpoint, params)
1654
+ req.send_request(options)
1655
+ end
1437
1656
 
1438
- # Modifies the replication instance to apply new settings. You can
1439
- # change one or more parameters by specifying these parameters and the
1440
- # new values in the request.
1441
- #
1442
- # Some settings are applied during the maintenance window.
1443
- # @option params [required, String] :replication_instance_arn
1444
- # The Amazon Resource Name (ARN) of the replication instance.
1445
- # @option params [Integer] :allocated_storage
1446
- # The amount of storage (in gigabytes) to be allocated for the
1447
- # replication instance.
1448
- # @option params [Boolean] :apply_immediately
1449
- # Indicates whether the changes should be applied immediately or during
1450
- # the next maintenance window.
1451
- # @option params [String] :replication_instance_class
1452
- # The compute and memory capacity of the replication instance.
1453
- #
1454
- # Valid Values: `dms.t2.micro | dms.t2.small | dms.t2.medium |
1455
- # dms.t2.large | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge |
1456
- # dms.c4.4xlarge `
1457
- # @option params [Array<String>] :vpc_security_group_ids
1458
- # Specifies the VPC security group to be used with the replication
1459
- # instance. The VPC security group must work with the VPC containing the
1460
- # replication instance.
1461
- # @option params [String] :preferred_maintenance_window
1462
- # The weekly time range (in UTC) during which system maintenance can
1463
- # occur, which might result in an outage. Changing this parameter does
1464
- # not result in an outage, except in the following situation, and the
1465
- # change is asynchronously applied as soon as possible. If moving this
1466
- # window to the current time, there must be at least 30 minutes between
1467
- # the current time and end of the window to ensure pending changes are
1468
- # applied.
1469
- #
1470
- # Default: Uses existing setting
1471
- #
1472
- # Format: ddd:hh24:mi-ddd:hh24:mi
1473
- #
1474
- # Valid Days: Mon \| Tue \| Wed \| Thu \| Fri \| Sat \| Sun
1475
- #
1476
- # Constraints: Must be at least 30 minutes
1477
- # @option params [Boolean] :multi_az
1478
- # Specifies if the replication instance is a Multi-AZ deployment. You
1479
- # cannot set the `AvailabilityZone` parameter if the Multi-AZ parameter
1480
- # is set to `true`.
1481
- # @option params [String] :engine_version
1482
- # The engine version number of the replication instance.
1483
- # @option params [Boolean] :allow_major_version_upgrade
1484
- # Indicates that major version upgrades are allowed. Changing this
1485
- # parameter does not result in an outage and the change is
1486
- # asynchronously applied as soon as possible.
1487
- #
1488
- # Constraints: This parameter must be set to true when specifying a
1489
- # value for the `EngineVersion` parameter that is a different major
1490
- # version than the replication instance's current version.
1491
- # @option params [Boolean] :auto_minor_version_upgrade
1492
- # Indicates that minor version upgrades will be applied automatically to
1493
- # the replication instance during the maintenance window. Changing this
1494
- # parameter does not result in an outage except in the following case
1495
- # and the change is asynchronously applied as soon as possible. An
1496
- # outage will result if this parameter is set to `true` during the
1497
- # maintenance window, and a newer minor version is available, and AWS
1498
- # DMS has enabled auto patching for that engine version.
1499
- # @option params [String] :replication_instance_identifier
1500
- # The replication instance identifier. This parameter is stored as a
1501
- # lowercase string.
1502
- # @return [Types::ModifyReplicationInstanceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1503
- #
1504
- # * {Types::ModifyReplicationInstanceResponse#replication_instance #ReplicationInstance} => Types::ReplicationInstance
1505
- #
1506
- # @example Request syntax with placeholder values
1507
- # resp = client.modify_replication_instance({
1508
- # replication_instance_arn: "String", # required
1509
- # allocated_storage: 1,
1510
- # apply_immediately: false,
1511
- # replication_instance_class: "String",
1512
- # vpc_security_group_ids: ["String"],
1513
- # preferred_maintenance_window: "String",
1514
- # multi_az: false,
1515
- # engine_version: "String",
1516
- # allow_major_version_upgrade: false,
1517
- # auto_minor_version_upgrade: false,
1518
- # replication_instance_identifier: "String",
1519
- # })
1520
- #
1521
- # @example Response structure
1522
- # resp.replication_instance.replication_instance_identifier #=> String
1523
- # resp.replication_instance.replication_instance_class #=> String
1524
- # resp.replication_instance.replication_instance_status #=> String
1525
- # resp.replication_instance.allocated_storage #=> Integer
1526
- # resp.replication_instance.instance_create_time #=> Time
1527
- # resp.replication_instance.vpc_security_groups #=> Array
1528
- # resp.replication_instance.vpc_security_groups[0].vpc_security_group_id #=> String
1529
- # resp.replication_instance.vpc_security_groups[0].status #=> String
1530
- # resp.replication_instance.availability_zone #=> String
1531
- # resp.replication_instance.replication_subnet_group.replication_subnet_group_identifier #=> String
1532
- # resp.replication_instance.replication_subnet_group.replication_subnet_group_description #=> String
1533
- # resp.replication_instance.replication_subnet_group.vpc_id #=> String
1534
- # resp.replication_instance.replication_subnet_group.subnet_group_status #=> String
1535
- # resp.replication_instance.replication_subnet_group.subnets #=> Array
1536
- # resp.replication_instance.replication_subnet_group.subnets[0].subnet_identifier #=> String
1537
- # resp.replication_instance.replication_subnet_group.subnets[0].subnet_availability_zone.name #=> String
1538
- # resp.replication_instance.replication_subnet_group.subnets[0].subnet_status #=> String
1539
- # resp.replication_instance.preferred_maintenance_window #=> String
1540
- # resp.replication_instance.pending_modified_values.replication_instance_class #=> String
1541
- # resp.replication_instance.pending_modified_values.allocated_storage #=> Integer
1542
- # resp.replication_instance.pending_modified_values.multi_az #=> Boolean
1543
- # resp.replication_instance.pending_modified_values.engine_version #=> String
1544
- # resp.replication_instance.multi_az #=> Boolean
1545
- # resp.replication_instance.engine_version #=> String
1546
- # resp.replication_instance.auto_minor_version_upgrade #=> Boolean
1547
- # resp.replication_instance.kms_key_id #=> String
1548
- # resp.replication_instance.replication_instance_arn #=> String
1549
- # resp.replication_instance.replication_instance_public_ip_address #=> String
1550
- # resp.replication_instance.replication_instance_private_ip_address #=> String
1551
- # resp.replication_instance.replication_instance_public_ip_addresses #=> Array
1552
- # resp.replication_instance.replication_instance_public_ip_addresses[0] #=> String
1553
- # resp.replication_instance.replication_instance_private_ip_addresses #=> Array
1554
- # resp.replication_instance.replication_instance_private_ip_addresses[0] #=> String
1555
- # resp.replication_instance.publicly_accessible #=> Boolean
1556
- # @overload modify_replication_instance(params = {})
1557
- # @param [Hash] params ({})
1558
- def modify_replication_instance(params = {}, options = {})
1559
- req = build_request(:modify_replication_instance, params)
1560
- req.send_request(options)
1561
- end
1657
+ # Modifies the replication instance to apply new settings. You can
1658
+ # change one or more parameters by specifying these parameters and the
1659
+ # new values in the request.
1660
+ #
1661
+ # Some settings are applied during the maintenance window.
1662
+ #
1663
+ # @option params [required, String] :replication_instance_arn
1664
+ # The Amazon Resource Name (ARN) of the replication instance.
1665
+ #
1666
+ # @option params [Integer] :allocated_storage
1667
+ # The amount of storage (in gigabytes) to be allocated for the
1668
+ # replication instance.
1669
+ #
1670
+ # @option params [Boolean] :apply_immediately
1671
+ # Indicates whether the changes should be applied immediately or during
1672
+ # the next maintenance window.
1673
+ #
1674
+ # @option params [String] :replication_instance_class
1675
+ # The compute and memory capacity of the replication instance.
1676
+ #
1677
+ # Valid Values: `dms.t2.micro | dms.t2.small | dms.t2.medium |
1678
+ # dms.t2.large | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge |
1679
+ # dms.c4.4xlarge `
1680
+ #
1681
+ # @option params [Array<String>] :vpc_security_group_ids
1682
+ # Specifies the VPC security group to be used with the replication
1683
+ # instance. The VPC security group must work with the VPC containing the
1684
+ # replication instance.
1685
+ #
1686
+ # @option params [String] :preferred_maintenance_window
1687
+ # The weekly time range (in UTC) during which system maintenance can
1688
+ # occur, which might result in an outage. Changing this parameter does
1689
+ # not result in an outage, except in the following situation, and the
1690
+ # change is asynchronously applied as soon as possible. If moving this
1691
+ # window to the current time, there must be at least 30 minutes between
1692
+ # the current time and end of the window to ensure pending changes are
1693
+ # applied.
1694
+ #
1695
+ # Default: Uses existing setting
1696
+ #
1697
+ # Format: ddd:hh24:mi-ddd:hh24:mi
1698
+ #
1699
+ # Valid Days: Mon \| Tue \| Wed \| Thu \| Fri \| Sat \| Sun
1700
+ #
1701
+ # Constraints: Must be at least 30 minutes
1702
+ #
1703
+ # @option params [Boolean] :multi_az
1704
+ # Specifies if the replication instance is a Multi-AZ deployment. You
1705
+ # cannot set the `AvailabilityZone` parameter if the Multi-AZ parameter
1706
+ # is set to `true`.
1707
+ #
1708
+ # @option params [String] :engine_version
1709
+ # The engine version number of the replication instance.
1710
+ #
1711
+ # @option params [Boolean] :allow_major_version_upgrade
1712
+ # Indicates that major version upgrades are allowed. Changing this
1713
+ # parameter does not result in an outage and the change is
1714
+ # asynchronously applied as soon as possible.
1715
+ #
1716
+ # Constraints: This parameter must be set to true when specifying a
1717
+ # value for the `EngineVersion` parameter that is a different major
1718
+ # version than the replication instance's current version.
1719
+ #
1720
+ # @option params [Boolean] :auto_minor_version_upgrade
1721
+ # Indicates that minor version upgrades will be applied automatically to
1722
+ # the replication instance during the maintenance window. Changing this
1723
+ # parameter does not result in an outage except in the following case
1724
+ # and the change is asynchronously applied as soon as possible. An
1725
+ # outage will result if this parameter is set to `true` during the
1726
+ # maintenance window, and a newer minor version is available, and AWS
1727
+ # DMS has enabled auto patching for that engine version.
1728
+ #
1729
+ # @option params [String] :replication_instance_identifier
1730
+ # The replication instance identifier. This parameter is stored as a
1731
+ # lowercase string.
1732
+ #
1733
+ # @return [Types::ModifyReplicationInstanceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1734
+ #
1735
+ # * {Types::ModifyReplicationInstanceResponse#replication_instance #replication_instance} => Types::ReplicationInstance
1736
+ #
1737
+ # @example Request syntax with placeholder values
1738
+ #
1739
+ # resp = client.modify_replication_instance({
1740
+ # replication_instance_arn: "String", # required
1741
+ # allocated_storage: 1,
1742
+ # apply_immediately: false,
1743
+ # replication_instance_class: "String",
1744
+ # vpc_security_group_ids: ["String"],
1745
+ # preferred_maintenance_window: "String",
1746
+ # multi_az: false,
1747
+ # engine_version: "String",
1748
+ # allow_major_version_upgrade: false,
1749
+ # auto_minor_version_upgrade: false,
1750
+ # replication_instance_identifier: "String",
1751
+ # })
1752
+ #
1753
+ # @example Response structure
1754
+ #
1755
+ # resp.replication_instance.replication_instance_identifier #=> String
1756
+ # resp.replication_instance.replication_instance_class #=> String
1757
+ # resp.replication_instance.replication_instance_status #=> String
1758
+ # resp.replication_instance.allocated_storage #=> Integer
1759
+ # resp.replication_instance.instance_create_time #=> Time
1760
+ # resp.replication_instance.vpc_security_groups #=> Array
1761
+ # resp.replication_instance.vpc_security_groups[0].vpc_security_group_id #=> String
1762
+ # resp.replication_instance.vpc_security_groups[0].status #=> String
1763
+ # resp.replication_instance.availability_zone #=> String
1764
+ # resp.replication_instance.replication_subnet_group.replication_subnet_group_identifier #=> String
1765
+ # resp.replication_instance.replication_subnet_group.replication_subnet_group_description #=> String
1766
+ # resp.replication_instance.replication_subnet_group.vpc_id #=> String
1767
+ # resp.replication_instance.replication_subnet_group.subnet_group_status #=> String
1768
+ # resp.replication_instance.replication_subnet_group.subnets #=> Array
1769
+ # resp.replication_instance.replication_subnet_group.subnets[0].subnet_identifier #=> String
1770
+ # resp.replication_instance.replication_subnet_group.subnets[0].subnet_availability_zone.name #=> String
1771
+ # resp.replication_instance.replication_subnet_group.subnets[0].subnet_status #=> String
1772
+ # resp.replication_instance.preferred_maintenance_window #=> String
1773
+ # resp.replication_instance.pending_modified_values.replication_instance_class #=> String
1774
+ # resp.replication_instance.pending_modified_values.allocated_storage #=> Integer
1775
+ # resp.replication_instance.pending_modified_values.multi_az #=> Boolean
1776
+ # resp.replication_instance.pending_modified_values.engine_version #=> String
1777
+ # resp.replication_instance.multi_az #=> Boolean
1778
+ # resp.replication_instance.engine_version #=> String
1779
+ # resp.replication_instance.auto_minor_version_upgrade #=> Boolean
1780
+ # resp.replication_instance.kms_key_id #=> String
1781
+ # resp.replication_instance.replication_instance_arn #=> String
1782
+ # resp.replication_instance.replication_instance_public_ip_address #=> String
1783
+ # resp.replication_instance.replication_instance_private_ip_address #=> String
1784
+ # resp.replication_instance.replication_instance_public_ip_addresses #=> Array
1785
+ # resp.replication_instance.replication_instance_public_ip_addresses[0] #=> String
1786
+ # resp.replication_instance.replication_instance_private_ip_addresses #=> Array
1787
+ # resp.replication_instance.replication_instance_private_ip_addresses[0] #=> String
1788
+ # resp.replication_instance.publicly_accessible #=> Boolean
1789
+ # resp.replication_instance.secondary_availability_zone #=> String
1790
+ #
1791
+ # @overload modify_replication_instance(params = {})
1792
+ # @param [Hash] params ({})
1793
+ def modify_replication_instance(params = {}, options = {})
1794
+ req = build_request(:modify_replication_instance, params)
1795
+ req.send_request(options)
1796
+ end
1562
1797
 
1563
- # Modifies the settings for the specified replication subnet group.
1564
- # @option params [required, String] :replication_subnet_group_identifier
1565
- # The name of the replication instance subnet group.
1566
- # @option params [String] :replication_subnet_group_description
1567
- # The description of the replication instance subnet group.
1568
- # @option params [required, Array<String>] :subnet_ids
1569
- # A list of subnet IDs.
1570
- # @return [Types::ModifyReplicationSubnetGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1571
- #
1572
- # * {Types::ModifyReplicationSubnetGroupResponse#replication_subnet_group #ReplicationSubnetGroup} => Types::ReplicationSubnetGroup
1573
- #
1574
- # @example Request syntax with placeholder values
1575
- # resp = client.modify_replication_subnet_group({
1576
- # replication_subnet_group_identifier: "String", # required
1577
- # replication_subnet_group_description: "String",
1578
- # subnet_ids: ["String"], # required
1579
- # })
1580
- #
1581
- # @example Response structure
1582
- # resp.replication_subnet_group.replication_subnet_group_identifier #=> String
1583
- # resp.replication_subnet_group.replication_subnet_group_description #=> String
1584
- # resp.replication_subnet_group.vpc_id #=> String
1585
- # resp.replication_subnet_group.subnet_group_status #=> String
1586
- # resp.replication_subnet_group.subnets #=> Array
1587
- # resp.replication_subnet_group.subnets[0].subnet_identifier #=> String
1588
- # resp.replication_subnet_group.subnets[0].subnet_availability_zone.name #=> String
1589
- # resp.replication_subnet_group.subnets[0].subnet_status #=> String
1590
- # @overload modify_replication_subnet_group(params = {})
1591
- # @param [Hash] params ({})
1592
- def modify_replication_subnet_group(params = {}, options = {})
1593
- req = build_request(:modify_replication_subnet_group, params)
1594
- req.send_request(options)
1595
- end
1798
+ # Modifies the settings for the specified replication subnet group.
1799
+ #
1800
+ # @option params [required, String] :replication_subnet_group_identifier
1801
+ # The name of the replication instance subnet group.
1802
+ #
1803
+ # @option params [String] :replication_subnet_group_description
1804
+ # The description of the replication instance subnet group.
1805
+ #
1806
+ # @option params [required, Array<String>] :subnet_ids
1807
+ # A list of subnet IDs.
1808
+ #
1809
+ # @return [Types::ModifyReplicationSubnetGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1810
+ #
1811
+ # * {Types::ModifyReplicationSubnetGroupResponse#replication_subnet_group #replication_subnet_group} => Types::ReplicationSubnetGroup
1812
+ #
1813
+ # @example Request syntax with placeholder values
1814
+ #
1815
+ # resp = client.modify_replication_subnet_group({
1816
+ # replication_subnet_group_identifier: "String", # required
1817
+ # replication_subnet_group_description: "String",
1818
+ # subnet_ids: ["String"], # required
1819
+ # })
1820
+ #
1821
+ # @example Response structure
1822
+ #
1823
+ # resp.replication_subnet_group.replication_subnet_group_identifier #=> String
1824
+ # resp.replication_subnet_group.replication_subnet_group_description #=> String
1825
+ # resp.replication_subnet_group.vpc_id #=> String
1826
+ # resp.replication_subnet_group.subnet_group_status #=> String
1827
+ # resp.replication_subnet_group.subnets #=> Array
1828
+ # resp.replication_subnet_group.subnets[0].subnet_identifier #=> String
1829
+ # resp.replication_subnet_group.subnets[0].subnet_availability_zone.name #=> String
1830
+ # resp.replication_subnet_group.subnets[0].subnet_status #=> String
1831
+ #
1832
+ # @overload modify_replication_subnet_group(params = {})
1833
+ # @param [Hash] params ({})
1834
+ def modify_replication_subnet_group(params = {}, options = {})
1835
+ req = build_request(:modify_replication_subnet_group, params)
1836
+ req.send_request(options)
1837
+ end
1596
1838
 
1597
- # Populates the schema for the specified endpoint. This is an
1598
- # asynchronous operation and can take several minutes. You can check the
1599
- # status of this operation by calling the DescribeRefreshSchemasStatus
1600
- # operation.
1601
- # @option params [required, String] :endpoint_arn
1602
- # The Amazon Resource Name (ARN) string that uniquely identifies the
1603
- # endpoint.
1604
- # @option params [required, String] :replication_instance_arn
1605
- # The Amazon Resource Name (ARN) of the replication instance.
1606
- # @return [Types::RefreshSchemasResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1607
- #
1608
- # * {Types::RefreshSchemasResponse#refresh_schemas_status #RefreshSchemasStatus} => Types::RefreshSchemasStatus
1609
- #
1610
- # @example Request syntax with placeholder values
1611
- # resp = client.refresh_schemas({
1612
- # endpoint_arn: "String", # required
1613
- # replication_instance_arn: "String", # required
1614
- # })
1615
- #
1616
- # @example Response structure
1617
- # resp.refresh_schemas_status.endpoint_arn #=> String
1618
- # resp.refresh_schemas_status.replication_instance_arn #=> String
1619
- # resp.refresh_schemas_status.status #=> String, one of "successful", "failed", "refreshing"
1620
- # resp.refresh_schemas_status.last_refresh_date #=> Time
1621
- # resp.refresh_schemas_status.last_failure_message #=> String
1622
- # @overload refresh_schemas(params = {})
1623
- # @param [Hash] params ({})
1624
- def refresh_schemas(params = {}, options = {})
1625
- req = build_request(:refresh_schemas, params)
1626
- req.send_request(options)
1627
- end
1839
+ # Modifies the specified replication task.
1840
+ #
1841
+ # You can't modify the task endpoints. The task must be stopped before
1842
+ # you can modify it.
1843
+ #
1844
+ # @option params [required, String] :replication_task_arn
1845
+ # The Amazon Resource Name (ARN) of the replication task.
1846
+ #
1847
+ # @option params [String] :replication_task_identifier
1848
+ # The replication task identifier.
1849
+ #
1850
+ # Constraints:
1851
+ #
1852
+ # * Must contain from 1 to 63 alphanumeric characters or hyphens.
1853
+ #
1854
+ # * First character must be a letter.
1855
+ #
1856
+ # * Cannot end with a hyphen or contain two consecutive hyphens.
1857
+ #
1858
+ # @option params [String] :migration_type
1859
+ # The migration type.
1860
+ #
1861
+ # Valid values: full-load \| cdc \| full-load-and-cdc
1862
+ #
1863
+ # @option params [String] :table_mappings
1864
+ # The path of the JSON file that contains the table mappings. Preceed
1865
+ # the path with "file://".
1866
+ #
1867
+ # For example, --table-mappings file://mappingfile.json
1868
+ #
1869
+ # @option params [String] :replication_task_settings
1870
+ # JSON file that contains settings for the task, such as target metadata
1871
+ # settings.
1872
+ #
1873
+ # @option params [Time,DateTime,Date,Integer,String] :cdc_start_time
1874
+ # The start time for the Change Data Capture (CDC) operation.
1875
+ #
1876
+ # @return [Types::ModifyReplicationTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1877
+ #
1878
+ # * {Types::ModifyReplicationTaskResponse#replication_task #replication_task} => Types::ReplicationTask
1879
+ #
1880
+ # @example Request syntax with placeholder values
1881
+ #
1882
+ # resp = client.modify_replication_task({
1883
+ # replication_task_arn: "String", # required
1884
+ # replication_task_identifier: "String",
1885
+ # migration_type: "full-load", # accepts full-load, cdc, full-load-and-cdc
1886
+ # table_mappings: "String",
1887
+ # replication_task_settings: "String",
1888
+ # cdc_start_time: Time.now,
1889
+ # })
1890
+ #
1891
+ # @example Response structure
1892
+ #
1893
+ # resp.replication_task.replication_task_identifier #=> String
1894
+ # resp.replication_task.source_endpoint_arn #=> String
1895
+ # resp.replication_task.target_endpoint_arn #=> String
1896
+ # resp.replication_task.replication_instance_arn #=> String
1897
+ # resp.replication_task.migration_type #=> String, one of "full-load", "cdc", "full-load-and-cdc"
1898
+ # resp.replication_task.table_mappings #=> String
1899
+ # resp.replication_task.replication_task_settings #=> String
1900
+ # resp.replication_task.status #=> String
1901
+ # resp.replication_task.last_failure_message #=> String
1902
+ # resp.replication_task.stop_reason #=> String
1903
+ # resp.replication_task.replication_task_creation_date #=> Time
1904
+ # resp.replication_task.replication_task_start_date #=> Time
1905
+ # resp.replication_task.replication_task_arn #=> String
1906
+ # resp.replication_task.replication_task_stats.full_load_progress_percent #=> Integer
1907
+ # resp.replication_task.replication_task_stats.elapsed_time_millis #=> Integer
1908
+ # resp.replication_task.replication_task_stats.tables_loaded #=> Integer
1909
+ # resp.replication_task.replication_task_stats.tables_loading #=> Integer
1910
+ # resp.replication_task.replication_task_stats.tables_queued #=> Integer
1911
+ # resp.replication_task.replication_task_stats.tables_errored #=> Integer
1912
+ #
1913
+ # @overload modify_replication_task(params = {})
1914
+ # @param [Hash] params ({})
1915
+ def modify_replication_task(params = {}, options = {})
1916
+ req = build_request(:modify_replication_task, params)
1917
+ req.send_request(options)
1918
+ end
1628
1919
 
1629
- # Removes metadata tags from a DMS resource.
1630
- # @option params [required, String] :resource_arn
1631
- # &gt;The Amazon Resource Name (ARN) of the AWS DMS resource the tag is
1632
- # to be removed from.
1633
- # @option params [required, Array<String>] :tag_keys
1634
- # The tag key (name) of the tag to be removed.
1635
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1636
- #
1637
- # @example Request syntax with placeholder values
1638
- # resp = client.remove_tags_from_resource({
1639
- # resource_arn: "String", # required
1640
- # tag_keys: ["String"], # required
1641
- # })
1642
- # @overload remove_tags_from_resource(params = {})
1643
- # @param [Hash] params ({})
1644
- def remove_tags_from_resource(params = {}, options = {})
1645
- req = build_request(:remove_tags_from_resource, params)
1646
- req.send_request(options)
1647
- end
1920
+ # Populates the schema for the specified endpoint. This is an
1921
+ # asynchronous operation and can take several minutes. You can check the
1922
+ # status of this operation by calling the DescribeRefreshSchemasStatus
1923
+ # operation.
1924
+ #
1925
+ # @option params [required, String] :endpoint_arn
1926
+ # The Amazon Resource Name (ARN) string that uniquely identifies the
1927
+ # endpoint.
1928
+ #
1929
+ # @option params [required, String] :replication_instance_arn
1930
+ # The Amazon Resource Name (ARN) of the replication instance.
1931
+ #
1932
+ # @return [Types::RefreshSchemasResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1933
+ #
1934
+ # * {Types::RefreshSchemasResponse#refresh_schemas_status #refresh_schemas_status} => Types::RefreshSchemasStatus
1935
+ #
1936
+ # @example Request syntax with placeholder values
1937
+ #
1938
+ # resp = client.refresh_schemas({
1939
+ # endpoint_arn: "String", # required
1940
+ # replication_instance_arn: "String", # required
1941
+ # })
1942
+ #
1943
+ # @example Response structure
1944
+ #
1945
+ # resp.refresh_schemas_status.endpoint_arn #=> String
1946
+ # resp.refresh_schemas_status.replication_instance_arn #=> String
1947
+ # resp.refresh_schemas_status.status #=> String, one of "successful", "failed", "refreshing"
1948
+ # resp.refresh_schemas_status.last_refresh_date #=> Time
1949
+ # resp.refresh_schemas_status.last_failure_message #=> String
1950
+ #
1951
+ # @overload refresh_schemas(params = {})
1952
+ # @param [Hash] params ({})
1953
+ def refresh_schemas(params = {}, options = {})
1954
+ req = build_request(:refresh_schemas, params)
1955
+ req.send_request(options)
1956
+ end
1648
1957
 
1649
- # Starts the replication task.
1650
- # @option params [required, String] :replication_task_arn
1651
- # The Amazon Resource Number (ARN) of the replication task to be
1652
- # started.
1653
- # @option params [required, String] :start_replication_task_type
1654
- # The type of replication task.
1655
- # @option params [Time,DateTime,Date,Integer,String] :cdc_start_time
1656
- # The start time for the Change Data Capture (CDC) operation.
1657
- # @return [Types::StartReplicationTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1658
- #
1659
- # * {Types::StartReplicationTaskResponse#replication_task #ReplicationTask} => Types::ReplicationTask
1660
- #
1661
- # @example Request syntax with placeholder values
1662
- # resp = client.start_replication_task({
1663
- # replication_task_arn: "String", # required
1664
- # start_replication_task_type: "start-replication", # required, accepts start-replication, resume-processing, reload-target
1665
- # cdc_start_time: Time.now,
1666
- # })
1667
- #
1668
- # @example Response structure
1669
- # resp.replication_task.replication_task_identifier #=> String
1670
- # resp.replication_task.source_endpoint_arn #=> String
1671
- # resp.replication_task.target_endpoint_arn #=> String
1672
- # resp.replication_task.replication_instance_arn #=> String
1673
- # resp.replication_task.migration_type #=> String, one of "full-load", "cdc", "full-load-and-cdc"
1674
- # resp.replication_task.table_mappings #=> String
1675
- # resp.replication_task.replication_task_settings #=> String
1676
- # resp.replication_task.status #=> String
1677
- # resp.replication_task.last_failure_message #=> String
1678
- # resp.replication_task.replication_task_creation_date #=> Time
1679
- # resp.replication_task.replication_task_start_date #=> Time
1680
- # resp.replication_task.replication_task_arn #=> String
1681
- # resp.replication_task.replication_task_stats.full_load_progress_percent #=> Integer
1682
- # resp.replication_task.replication_task_stats.elapsed_time_millis #=> Integer
1683
- # resp.replication_task.replication_task_stats.tables_loaded #=> Integer
1684
- # resp.replication_task.replication_task_stats.tables_loading #=> Integer
1685
- # resp.replication_task.replication_task_stats.tables_queued #=> Integer
1686
- # resp.replication_task.replication_task_stats.tables_errored #=> Integer
1687
- # @overload start_replication_task(params = {})
1688
- # @param [Hash] params ({})
1689
- def start_replication_task(params = {}, options = {})
1690
- req = build_request(:start_replication_task, params)
1691
- req.send_request(options)
1692
- end
1958
+ # Removes metadata tags from a DMS resource.
1959
+ #
1960
+ # @option params [required, String] :resource_arn
1961
+ # &gt;The Amazon Resource Name (ARN) of the AWS DMS resource the tag is
1962
+ # to be removed from.
1963
+ #
1964
+ # @option params [required, Array<String>] :tag_keys
1965
+ # The tag key (name) of the tag to be removed.
1966
+ #
1967
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1968
+ #
1969
+ # @example Request syntax with placeholder values
1970
+ #
1971
+ # resp = client.remove_tags_from_resource({
1972
+ # resource_arn: "String", # required
1973
+ # tag_keys: ["String"], # required
1974
+ # })
1975
+ #
1976
+ # @overload remove_tags_from_resource(params = {})
1977
+ # @param [Hash] params ({})
1978
+ def remove_tags_from_resource(params = {}, options = {})
1979
+ req = build_request(:remove_tags_from_resource, params)
1980
+ req.send_request(options)
1981
+ end
1693
1982
 
1694
- # Stops the replication task.
1695
- # @option params [required, String] :replication_task_arn
1696
- # The Amazon Resource Number(ARN) of the replication task to be stopped.
1697
- # @return [Types::StopReplicationTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1698
- #
1699
- # * {Types::StopReplicationTaskResponse#replication_task #ReplicationTask} => Types::ReplicationTask
1700
- #
1701
- # @example Request syntax with placeholder values
1702
- # resp = client.stop_replication_task({
1703
- # replication_task_arn: "String", # required
1704
- # })
1705
- #
1706
- # @example Response structure
1707
- # resp.replication_task.replication_task_identifier #=> String
1708
- # resp.replication_task.source_endpoint_arn #=> String
1709
- # resp.replication_task.target_endpoint_arn #=> String
1710
- # resp.replication_task.replication_instance_arn #=> String
1711
- # resp.replication_task.migration_type #=> String, one of "full-load", "cdc", "full-load-and-cdc"
1712
- # resp.replication_task.table_mappings #=> String
1713
- # resp.replication_task.replication_task_settings #=> String
1714
- # resp.replication_task.status #=> String
1715
- # resp.replication_task.last_failure_message #=> String
1716
- # resp.replication_task.replication_task_creation_date #=> Time
1717
- # resp.replication_task.replication_task_start_date #=> Time
1718
- # resp.replication_task.replication_task_arn #=> String
1719
- # resp.replication_task.replication_task_stats.full_load_progress_percent #=> Integer
1720
- # resp.replication_task.replication_task_stats.elapsed_time_millis #=> Integer
1721
- # resp.replication_task.replication_task_stats.tables_loaded #=> Integer
1722
- # resp.replication_task.replication_task_stats.tables_loading #=> Integer
1723
- # resp.replication_task.replication_task_stats.tables_queued #=> Integer
1724
- # resp.replication_task.replication_task_stats.tables_errored #=> Integer
1725
- # @overload stop_replication_task(params = {})
1726
- # @param [Hash] params ({})
1727
- def stop_replication_task(params = {}, options = {})
1728
- req = build_request(:stop_replication_task, params)
1729
- req.send_request(options)
1730
- end
1983
+ # Starts the replication task.
1984
+ #
1985
+ # @option params [required, String] :replication_task_arn
1986
+ # The Amazon Resource Number (ARN) of the replication task to be
1987
+ # started.
1988
+ #
1989
+ # @option params [required, String] :start_replication_task_type
1990
+ # The type of replication task.
1991
+ #
1992
+ # @option params [Time,DateTime,Date,Integer,String] :cdc_start_time
1993
+ # The start time for the Change Data Capture (CDC) operation.
1994
+ #
1995
+ # @return [Types::StartReplicationTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1996
+ #
1997
+ # * {Types::StartReplicationTaskResponse#replication_task #replication_task} => Types::ReplicationTask
1998
+ #
1999
+ # @example Request syntax with placeholder values
2000
+ #
2001
+ # resp = client.start_replication_task({
2002
+ # replication_task_arn: "String", # required
2003
+ # start_replication_task_type: "start-replication", # required, accepts start-replication, resume-processing, reload-target
2004
+ # cdc_start_time: Time.now,
2005
+ # })
2006
+ #
2007
+ # @example Response structure
2008
+ #
2009
+ # resp.replication_task.replication_task_identifier #=> String
2010
+ # resp.replication_task.source_endpoint_arn #=> String
2011
+ # resp.replication_task.target_endpoint_arn #=> String
2012
+ # resp.replication_task.replication_instance_arn #=> String
2013
+ # resp.replication_task.migration_type #=> String, one of "full-load", "cdc", "full-load-and-cdc"
2014
+ # resp.replication_task.table_mappings #=> String
2015
+ # resp.replication_task.replication_task_settings #=> String
2016
+ # resp.replication_task.status #=> String
2017
+ # resp.replication_task.last_failure_message #=> String
2018
+ # resp.replication_task.stop_reason #=> String
2019
+ # resp.replication_task.replication_task_creation_date #=> Time
2020
+ # resp.replication_task.replication_task_start_date #=> Time
2021
+ # resp.replication_task.replication_task_arn #=> String
2022
+ # resp.replication_task.replication_task_stats.full_load_progress_percent #=> Integer
2023
+ # resp.replication_task.replication_task_stats.elapsed_time_millis #=> Integer
2024
+ # resp.replication_task.replication_task_stats.tables_loaded #=> Integer
2025
+ # resp.replication_task.replication_task_stats.tables_loading #=> Integer
2026
+ # resp.replication_task.replication_task_stats.tables_queued #=> Integer
2027
+ # resp.replication_task.replication_task_stats.tables_errored #=> Integer
2028
+ #
2029
+ # @overload start_replication_task(params = {})
2030
+ # @param [Hash] params ({})
2031
+ def start_replication_task(params = {}, options = {})
2032
+ req = build_request(:start_replication_task, params)
2033
+ req.send_request(options)
2034
+ end
1731
2035
 
1732
- # Tests the connection between the replication instance and the
1733
- # endpoint.
1734
- # @option params [required, String] :replication_instance_arn
1735
- # The Amazon Resource Name (ARN) of the replication instance.
1736
- # @option params [required, String] :endpoint_arn
1737
- # The Amazon Resource Name (ARN) string that uniquely identifies the
1738
- # endpoint.
1739
- # @return [Types::TestConnectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1740
- #
1741
- # * {Types::TestConnectionResponse#connection #Connection} => Types::Connection
1742
- #
1743
- # @example Request syntax with placeholder values
1744
- # resp = client.test_connection({
1745
- # replication_instance_arn: "String", # required
1746
- # endpoint_arn: "String", # required
1747
- # })
1748
- #
1749
- # @example Response structure
1750
- # resp.connection.replication_instance_arn #=> String
1751
- # resp.connection.endpoint_arn #=> String
1752
- # resp.connection.status #=> String
1753
- # resp.connection.last_failure_message #=> String
1754
- # resp.connection.endpoint_identifier #=> String
1755
- # resp.connection.replication_instance_identifier #=> String
1756
- # @overload test_connection(params = {})
1757
- # @param [Hash] params ({})
1758
- def test_connection(params = {}, options = {})
1759
- req = build_request(:test_connection, params)
1760
- req.send_request(options)
1761
- end
2036
+ # Stops the replication task.
2037
+ #
2038
+ # @option params [required, String] :replication_task_arn
2039
+ # The Amazon Resource Number(ARN) of the replication task to be stopped.
2040
+ #
2041
+ # @return [Types::StopReplicationTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2042
+ #
2043
+ # * {Types::StopReplicationTaskResponse#replication_task #replication_task} => Types::ReplicationTask
2044
+ #
2045
+ # @example Request syntax with placeholder values
2046
+ #
2047
+ # resp = client.stop_replication_task({
2048
+ # replication_task_arn: "String", # required
2049
+ # })
2050
+ #
2051
+ # @example Response structure
2052
+ #
2053
+ # resp.replication_task.replication_task_identifier #=> String
2054
+ # resp.replication_task.source_endpoint_arn #=> String
2055
+ # resp.replication_task.target_endpoint_arn #=> String
2056
+ # resp.replication_task.replication_instance_arn #=> String
2057
+ # resp.replication_task.migration_type #=> String, one of "full-load", "cdc", "full-load-and-cdc"
2058
+ # resp.replication_task.table_mappings #=> String
2059
+ # resp.replication_task.replication_task_settings #=> String
2060
+ # resp.replication_task.status #=> String
2061
+ # resp.replication_task.last_failure_message #=> String
2062
+ # resp.replication_task.stop_reason #=> String
2063
+ # resp.replication_task.replication_task_creation_date #=> Time
2064
+ # resp.replication_task.replication_task_start_date #=> Time
2065
+ # resp.replication_task.replication_task_arn #=> String
2066
+ # resp.replication_task.replication_task_stats.full_load_progress_percent #=> Integer
2067
+ # resp.replication_task.replication_task_stats.elapsed_time_millis #=> Integer
2068
+ # resp.replication_task.replication_task_stats.tables_loaded #=> Integer
2069
+ # resp.replication_task.replication_task_stats.tables_loading #=> Integer
2070
+ # resp.replication_task.replication_task_stats.tables_queued #=> Integer
2071
+ # resp.replication_task.replication_task_stats.tables_errored #=> Integer
2072
+ #
2073
+ # @overload stop_replication_task(params = {})
2074
+ # @param [Hash] params ({})
2075
+ def stop_replication_task(params = {}, options = {})
2076
+ req = build_request(:stop_replication_task, params)
2077
+ req.send_request(options)
2078
+ end
1762
2079
 
1763
- # @!endgroup
2080
+ # Tests the connection between the replication instance and the
2081
+ # endpoint.
2082
+ #
2083
+ # @option params [required, String] :replication_instance_arn
2084
+ # The Amazon Resource Name (ARN) of the replication instance.
2085
+ #
2086
+ # @option params [required, String] :endpoint_arn
2087
+ # The Amazon Resource Name (ARN) string that uniquely identifies the
2088
+ # endpoint.
2089
+ #
2090
+ # @return [Types::TestConnectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2091
+ #
2092
+ # * {Types::TestConnectionResponse#connection #connection} => Types::Connection
2093
+ #
2094
+ # @example Request syntax with placeholder values
2095
+ #
2096
+ # resp = client.test_connection({
2097
+ # replication_instance_arn: "String", # required
2098
+ # endpoint_arn: "String", # required
2099
+ # })
2100
+ #
2101
+ # @example Response structure
2102
+ #
2103
+ # resp.connection.replication_instance_arn #=> String
2104
+ # resp.connection.endpoint_arn #=> String
2105
+ # resp.connection.status #=> String
2106
+ # resp.connection.last_failure_message #=> String
2107
+ # resp.connection.endpoint_identifier #=> String
2108
+ # resp.connection.replication_instance_identifier #=> String
2109
+ #
2110
+ # @overload test_connection(params = {})
2111
+ # @param [Hash] params ({})
2112
+ def test_connection(params = {}, options = {})
2113
+ req = build_request(:test_connection, params)
2114
+ req.send_request(options)
2115
+ end
1764
2116
 
1765
- # @param params ({})
1766
- # @api private
1767
- def build_request(operation_name, params = {})
1768
- handlers = @handlers.for(operation_name)
1769
- context = Seahorse::Client::RequestContext.new(
1770
- operation_name: operation_name,
1771
- operation: config.api.operation(operation_name),
1772
- client: self,
1773
- params: params,
1774
- config: config)
1775
- context[:gem_name] = 'aws-sdk-databasemigrationservice'
1776
- context[:gem_version] = '1.0.0.rc1'
1777
- Seahorse::Client::Request.new(handlers, context)
1778
- end
2117
+ # @!endgroup
1779
2118
 
1780
- # @api private
1781
- # @deprecated
1782
- def waiter_names
1783
- []
1784
- end
2119
+ # @param params ({})
2120
+ # @api private
2121
+ def build_request(operation_name, params = {})
2122
+ handlers = @handlers.for(operation_name)
2123
+ context = Seahorse::Client::RequestContext.new(
2124
+ operation_name: operation_name,
2125
+ operation: config.api.operation(operation_name),
2126
+ client: self,
2127
+ params: params,
2128
+ config: config)
2129
+ context[:gem_name] = 'aws-sdk-databasemigrationservice'
2130
+ context[:gem_version] = '1.0.0.rc1'
2131
+ Seahorse::Client::Request.new(handlers, context)
2132
+ end
1785
2133
 
1786
- class << self
2134
+ # @api private
2135
+ # @deprecated
2136
+ def waiter_names
2137
+ []
2138
+ end
1787
2139
 
1788
- # @api private
1789
- attr_reader :identifier
2140
+ class << self
1790
2141
 
1791
- # @api private
1792
- def errors_module
1793
- Errors
1794
- end
2142
+ # @api private
2143
+ attr_reader :identifier
1795
2144
 
2145
+ # @api private
2146
+ def errors_module
2147
+ Errors
1796
2148
  end
2149
+
1797
2150
  end
1798
2151
  end
1799
2152
  end