aws-sdk-databasemigrationservice 1.0.0.rc1 → 1.0.0.rc2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-databasemigrationservice/client.rb +2079 -1726
- data/lib/aws-sdk-databasemigrationservice/client_api.rb +992 -963
- data/lib/aws-sdk-databasemigrationservice/errors.rb +4 -13
- data/lib/aws-sdk-databasemigrationservice/resource.rb +12 -14
- data/lib/aws-sdk-databasemigrationservice/types.rb +2496 -2282
- data/lib/aws-sdk-databasemigrationservice.rb +1 -1
- metadata +2 -2
@@ -1,6 +1,6 @@
|
|
1
1
|
# WARNING ABOUT GENERATED CODE
|
2
2
|
#
|
3
|
-
# This file is generated. See the contributing for
|
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
|
-
|
28
|
-
class Client < Seahorse::Client::Base
|
26
|
+
module Aws::DatabaseMigrationService
|
27
|
+
class Client < Seahorse::Client::Base
|
29
28
|
|
30
|
-
|
29
|
+
include Aws::ClientStubs
|
31
30
|
|
32
|
-
|
31
|
+
@identifier = :databasemigrationservice
|
33
32
|
|
34
|
-
|
33
|
+
set_api(ClientApi::API)
|
35
34
|
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
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
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
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
|
-
|
154
|
+
# @!group API Operations
|
141
155
|
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
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
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
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
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
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
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
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
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
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
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
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
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
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
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
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
|
-
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
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
|
-
|
673
|
-
|
674
|
-
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
|
683
|
-
|
684
|
-
|
685
|
-
|
686
|
-
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
|
694
|
-
|
695
|
-
|
696
|
-
|
697
|
-
|
698
|
-
|
699
|
-
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
|
708
|
-
|
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
|
-
|
711
|
-
|
712
|
-
|
713
|
-
|
714
|
-
|
715
|
-
|
716
|
-
|
717
|
-
|
718
|
-
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
|
734
|
-
|
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<Types::AccountQuota>
|
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
|
-
|
737
|
-
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
|
742
|
-
|
743
|
-
|
744
|
-
|
745
|
-
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
|
751
|
-
|
752
|
-
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
|
761
|
-
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
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<Types::Certificate>
|
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
|
-
|
788
|
-
|
789
|
-
|
790
|
-
|
791
|
-
|
792
|
-
|
793
|
-
|
794
|
-
|
795
|
-
|
796
|
-
|
797
|
-
|
798
|
-
|
799
|
-
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
|
806
|
-
|
807
|
-
|
808
|
-
|
809
|
-
|
810
|
-
|
811
|
-
|
812
|
-
|
813
|
-
|
814
|
-
|
815
|
-
|
816
|
-
|
817
|
-
|
818
|
-
|
819
|
-
|
820
|
-
|
821
|
-
|
822
|
-
|
823
|
-
|
824
|
-
|
825
|
-
|
826
|
-
|
827
|
-
|
828
|
-
|
829
|
-
|
830
|
-
|
831
|
-
|
832
|
-
|
833
|
-
|
834
|
-
|
835
|
-
|
836
|
-
|
837
|
-
|
838
|
-
|
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<Types::Connection>
|
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
|
-
|
841
|
-
|
842
|
-
|
843
|
-
|
844
|
-
|
845
|
-
|
846
|
-
|
847
|
-
|
848
|
-
|
849
|
-
|
850
|
-
|
851
|
-
|
852
|
-
|
853
|
-
|
854
|
-
|
855
|
-
|
856
|
-
|
857
|
-
|
858
|
-
|
859
|
-
|
860
|
-
|
861
|
-
|
862
|
-
|
863
|
-
|
864
|
-
|
865
|
-
|
866
|
-
|
867
|
-
|
868
|
-
|
869
|
-
|
870
|
-
|
871
|
-
|
872
|
-
|
873
|
-
|
874
|
-
|
875
|
-
|
876
|
-
|
877
|
-
|
878
|
-
|
879
|
-
|
880
|
-
|
881
|
-
|
882
|
-
|
883
|
-
|
884
|
-
|
885
|
-
|
886
|
-
|
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<Types::SupportedEndpointType>
|
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
|
-
|
889
|
-
|
890
|
-
|
891
|
-
|
892
|
-
|
893
|
-
|
894
|
-
|
895
|
-
|
896
|
-
|
897
|
-
|
898
|
-
|
899
|
-
|
900
|
-
|
901
|
-
|
902
|
-
|
903
|
-
|
904
|
-
|
905
|
-
|
906
|
-
|
907
|
-
|
908
|
-
|
909
|
-
|
910
|
-
|
911
|
-
|
912
|
-
|
913
|
-
|
914
|
-
|
915
|
-
|
916
|
-
|
917
|
-
|
918
|
-
|
919
|
-
|
920
|
-
|
921
|
-
|
922
|
-
|
923
|
-
|
924
|
-
|
925
|
-
|
926
|
-
|
927
|
-
|
928
|
-
|
929
|
-
|
930
|
-
|
931
|
-
|
932
|
-
|
933
|
-
|
934
|
-
|
935
|
-
|
936
|
-
|
937
|
-
|
938
|
-
|
939
|
-
|
940
|
-
|
941
|
-
|
942
|
-
|
943
|
-
|
944
|
-
|
945
|
-
|
946
|
-
|
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<Types::Endpoint>
|
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
|
-
|
949
|
-
|
950
|
-
|
951
|
-
|
952
|
-
|
953
|
-
|
954
|
-
|
955
|
-
|
956
|
-
|
957
|
-
|
958
|
-
|
959
|
-
|
960
|
-
|
961
|
-
|
962
|
-
|
963
|
-
|
964
|
-
|
965
|
-
|
966
|
-
|
967
|
-
|
968
|
-
|
969
|
-
|
970
|
-
|
971
|
-
|
972
|
-
|
973
|
-
|
974
|
-
|
975
|
-
|
976
|
-
|
977
|
-
|
978
|
-
|
979
|
-
|
980
|
-
|
981
|
-
|
982
|
-
|
983
|
-
|
984
|
-
|
985
|
-
|
986
|
-
|
987
|
-
|
988
|
-
|
989
|
-
|
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<Types::OrderableReplicationInstance>
|
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
|
-
|
992
|
-
|
993
|
-
|
994
|
-
|
995
|
-
|
996
|
-
|
997
|
-
|
998
|
-
|
999
|
-
|
1000
|
-
|
1001
|
-
|
1002
|
-
|
1003
|
-
|
1004
|
-
|
1005
|
-
|
1006
|
-
|
1007
|
-
|
1008
|
-
|
1009
|
-
|
1010
|
-
|
1011
|
-
|
1012
|
-
|
1013
|
-
|
1014
|
-
|
1015
|
-
|
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
|
-
|
1018
|
-
|
1019
|
-
|
1020
|
-
|
1021
|
-
|
1022
|
-
|
1023
|
-
|
1024
|
-
|
1025
|
-
|
1026
|
-
|
1027
|
-
|
1028
|
-
|
1029
|
-
|
1030
|
-
|
1031
|
-
|
1032
|
-
|
1033
|
-
|
1034
|
-
|
1035
|
-
|
1036
|
-
|
1037
|
-
|
1038
|
-
|
1039
|
-
|
1040
|
-
|
1041
|
-
|
1042
|
-
|
1043
|
-
|
1044
|
-
|
1045
|
-
|
1046
|
-
|
1047
|
-
|
1048
|
-
|
1049
|
-
|
1050
|
-
|
1051
|
-
|
1052
|
-
|
1053
|
-
|
1054
|
-
|
1055
|
-
|
1056
|
-
|
1057
|
-
|
1058
|
-
|
1059
|
-
|
1060
|
-
|
1061
|
-
|
1062
|
-
|
1063
|
-
|
1064
|
-
|
1065
|
-
|
1066
|
-
|
1067
|
-
|
1068
|
-
|
1069
|
-
|
1070
|
-
|
1071
|
-
|
1072
|
-
|
1073
|
-
|
1074
|
-
|
1075
|
-
|
1076
|
-
|
1077
|
-
|
1078
|
-
|
1079
|
-
|
1080
|
-
|
1081
|
-
|
1082
|
-
|
1083
|
-
|
1084
|
-
|
1085
|
-
|
1086
|
-
|
1087
|
-
|
1088
|
-
|
1089
|
-
|
1090
|
-
|
1091
|
-
|
1092
|
-
|
1093
|
-
|
1094
|
-
|
1095
|
-
|
1096
|
-
|
1097
|
-
|
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<Types::ReplicationInstance>
|
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
|
-
|
1100
|
-
|
1101
|
-
|
1102
|
-
|
1103
|
-
|
1104
|
-
|
1105
|
-
|
1106
|
-
|
1107
|
-
|
1108
|
-
|
1109
|
-
|
1110
|
-
|
1111
|
-
|
1112
|
-
|
1113
|
-
|
1114
|
-
|
1115
|
-
|
1116
|
-
|
1117
|
-
|
1118
|
-
|
1119
|
-
|
1120
|
-
|
1121
|
-
|
1122
|
-
|
1123
|
-
|
1124
|
-
|
1125
|
-
|
1126
|
-
|
1127
|
-
|
1128
|
-
|
1129
|
-
|
1130
|
-
|
1131
|
-
|
1132
|
-
|
1133
|
-
|
1134
|
-
|
1135
|
-
|
1136
|
-
|
1137
|
-
|
1138
|
-
|
1139
|
-
|
1140
|
-
|
1141
|
-
|
1142
|
-
|
1143
|
-
|
1144
|
-
|
1145
|
-
|
1146
|
-
|
1147
|
-
|
1148
|
-
|
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<Types::ReplicationSubnetGroup>
|
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
|
-
|
1151
|
-
|
1152
|
-
|
1153
|
-
|
1154
|
-
|
1155
|
-
|
1156
|
-
|
1157
|
-
|
1158
|
-
|
1159
|
-
|
1160
|
-
|
1161
|
-
|
1162
|
-
|
1163
|
-
|
1164
|
-
|
1165
|
-
|
1166
|
-
|
1167
|
-
|
1168
|
-
|
1169
|
-
|
1170
|
-
|
1171
|
-
|
1172
|
-
|
1173
|
-
|
1174
|
-
|
1175
|
-
|
1176
|
-
|
1177
|
-
|
1178
|
-
|
1179
|
-
|
1180
|
-
|
1181
|
-
|
1182
|
-
|
1183
|
-
|
1184
|
-
|
1185
|
-
|
1186
|
-
|
1187
|
-
|
1188
|
-
|
1189
|
-
|
1190
|
-
|
1191
|
-
|
1192
|
-
|
1193
|
-
|
1194
|
-
|
1195
|
-
|
1196
|
-
|
1197
|
-
|
1198
|
-
|
1199
|
-
|
1200
|
-
|
1201
|
-
|
1202
|
-
|
1203
|
-
|
1204
|
-
|
1205
|
-
|
1206
|
-
|
1207
|
-
|
1208
|
-
|
1209
|
-
|
1210
|
-
|
1211
|
-
|
1212
|
-
|
1213
|
-
|
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<Types::ReplicationTask>
|
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
|
-
|
1216
|
-
|
1217
|
-
|
1218
|
-
|
1219
|
-
|
1220
|
-
|
1221
|
-
|
1222
|
-
|
1223
|
-
|
1224
|
-
|
1225
|
-
|
1226
|
-
|
1227
|
-
|
1228
|
-
|
1229
|
-
|
1230
|
-
|
1231
|
-
|
1232
|
-
|
1233
|
-
|
1234
|
-
|
1235
|
-
|
1236
|
-
|
1237
|
-
|
1238
|
-
|
1239
|
-
|
1240
|
-
|
1241
|
-
|
1242
|
-
|
1243
|
-
|
1244
|
-
|
1245
|
-
|
1246
|
-
|
1247
|
-
|
1248
|
-
|
1249
|
-
|
1250
|
-
|
1251
|
-
|
1252
|
-
|
1253
|
-
|
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<String>
|
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
|
-
|
1256
|
-
|
1257
|
-
|
1258
|
-
|
1259
|
-
|
1260
|
-
|
1261
|
-
|
1262
|
-
|
1263
|
-
|
1264
|
-
|
1265
|
-
|
1266
|
-
|
1267
|
-
|
1268
|
-
|
1269
|
-
|
1270
|
-
|
1271
|
-
|
1272
|
-
|
1273
|
-
|
1274
|
-
|
1275
|
-
|
1276
|
-
|
1277
|
-
|
1278
|
-
|
1279
|
-
|
1280
|
-
|
1281
|
-
|
1282
|
-
|
1283
|
-
|
1284
|
-
|
1285
|
-
|
1286
|
-
|
1287
|
-
|
1288
|
-
|
1289
|
-
|
1290
|
-
|
1291
|
-
|
1292
|
-
|
1293
|
-
|
1294
|
-
|
1295
|
-
|
1296
|
-
|
1297
|
-
|
1298
|
-
|
1299
|
-
|
1300
|
-
|
1301
|
-
|
1302
|
-
|
1303
|
-
|
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<Types::TableStatistics>
|
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
|
-
|
1306
|
-
|
1307
|
-
|
1308
|
-
|
1309
|
-
|
1310
|
-
|
1311
|
-
|
1312
|
-
|
1313
|
-
|
1314
|
-
|
1315
|
-
|
1316
|
-
|
1317
|
-
|
1318
|
-
|
1319
|
-
|
1320
|
-
|
1321
|
-
|
1322
|
-
|
1323
|
-
|
1324
|
-
|
1325
|
-
|
1326
|
-
|
1327
|
-
|
1328
|
-
|
1329
|
-
|
1330
|
-
|
1331
|
-
|
1332
|
-
|
1333
|
-
|
1334
|
-
|
1335
|
-
|
1336
|
-
|
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
|
-
|
1339
|
-
|
1340
|
-
|
1341
|
-
|
1342
|
-
|
1343
|
-
|
1344
|
-
|
1345
|
-
|
1346
|
-
|
1347
|
-
|
1348
|
-
|
1349
|
-
|
1350
|
-
|
1351
|
-
|
1352
|
-
|
1353
|
-
|
1354
|
-
|
1355
|
-
|
1356
|
-
|
1357
|
-
|
1358
|
-
|
1359
|
-
|
1360
|
-
|
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<Types::Tag>
|
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
|
-
|
1363
|
-
|
1364
|
-
|
1365
|
-
|
1366
|
-
|
1367
|
-
|
1368
|
-
|
1369
|
-
|
1370
|
-
|
1371
|
-
|
1372
|
-
|
1373
|
-
|
1374
|
-
|
1375
|
-
|
1376
|
-
|
1377
|
-
|
1378
|
-
|
1379
|
-
|
1380
|
-
|
1381
|
-
|
1382
|
-
|
1383
|
-
|
1384
|
-
|
1385
|
-
|
1386
|
-
|
1387
|
-
|
1388
|
-
|
1389
|
-
|
1390
|
-
|
1391
|
-
|
1392
|
-
|
1393
|
-
|
1394
|
-
|
1395
|
-
|
1396
|
-
|
1397
|
-
|
1398
|
-
|
1399
|
-
|
1400
|
-
|
1401
|
-
|
1402
|
-
|
1403
|
-
|
1404
|
-
|
1405
|
-
|
1406
|
-
|
1407
|
-
|
1408
|
-
|
1409
|
-
|
1410
|
-
|
1411
|
-
|
1412
|
-
|
1413
|
-
|
1414
|
-
|
1415
|
-
|
1416
|
-
|
1417
|
-
|
1418
|
-
|
1419
|
-
|
1420
|
-
|
1421
|
-
|
1422
|
-
|
1423
|
-
|
1424
|
-
|
1425
|
-
|
1426
|
-
|
1427
|
-
|
1428
|
-
|
1429
|
-
|
1430
|
-
|
1431
|
-
|
1432
|
-
|
1433
|
-
|
1434
|
-
|
1435
|
-
|
1436
|
-
|
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
|
-
|
1439
|
-
|
1440
|
-
|
1441
|
-
|
1442
|
-
|
1443
|
-
|
1444
|
-
|
1445
|
-
|
1446
|
-
|
1447
|
-
|
1448
|
-
|
1449
|
-
|
1450
|
-
|
1451
|
-
|
1452
|
-
|
1453
|
-
|
1454
|
-
|
1455
|
-
|
1456
|
-
|
1457
|
-
|
1458
|
-
|
1459
|
-
|
1460
|
-
|
1461
|
-
|
1462
|
-
|
1463
|
-
|
1464
|
-
|
1465
|
-
|
1466
|
-
|
1467
|
-
|
1468
|
-
|
1469
|
-
|
1470
|
-
|
1471
|
-
|
1472
|
-
|
1473
|
-
|
1474
|
-
|
1475
|
-
|
1476
|
-
|
1477
|
-
|
1478
|
-
|
1479
|
-
|
1480
|
-
|
1481
|
-
|
1482
|
-
|
1483
|
-
|
1484
|
-
|
1485
|
-
|
1486
|
-
|
1487
|
-
|
1488
|
-
|
1489
|
-
|
1490
|
-
|
1491
|
-
|
1492
|
-
|
1493
|
-
|
1494
|
-
|
1495
|
-
|
1496
|
-
|
1497
|
-
|
1498
|
-
|
1499
|
-
|
1500
|
-
|
1501
|
-
|
1502
|
-
|
1503
|
-
|
1504
|
-
|
1505
|
-
|
1506
|
-
|
1507
|
-
|
1508
|
-
|
1509
|
-
|
1510
|
-
|
1511
|
-
|
1512
|
-
|
1513
|
-
|
1514
|
-
|
1515
|
-
|
1516
|
-
|
1517
|
-
|
1518
|
-
|
1519
|
-
|
1520
|
-
|
1521
|
-
|
1522
|
-
|
1523
|
-
|
1524
|
-
|
1525
|
-
|
1526
|
-
|
1527
|
-
|
1528
|
-
|
1529
|
-
|
1530
|
-
|
1531
|
-
|
1532
|
-
|
1533
|
-
|
1534
|
-
|
1535
|
-
|
1536
|
-
|
1537
|
-
|
1538
|
-
|
1539
|
-
|
1540
|
-
|
1541
|
-
|
1542
|
-
|
1543
|
-
|
1544
|
-
|
1545
|
-
|
1546
|
-
|
1547
|
-
|
1548
|
-
|
1549
|
-
|
1550
|
-
|
1551
|
-
|
1552
|
-
|
1553
|
-
|
1554
|
-
|
1555
|
-
|
1556
|
-
|
1557
|
-
|
1558
|
-
|
1559
|
-
|
1560
|
-
|
1561
|
-
|
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
|
-
|
1564
|
-
|
1565
|
-
|
1566
|
-
|
1567
|
-
|
1568
|
-
|
1569
|
-
|
1570
|
-
|
1571
|
-
|
1572
|
-
|
1573
|
-
|
1574
|
-
|
1575
|
-
|
1576
|
-
|
1577
|
-
|
1578
|
-
|
1579
|
-
|
1580
|
-
|
1581
|
-
|
1582
|
-
|
1583
|
-
|
1584
|
-
|
1585
|
-
|
1586
|
-
|
1587
|
-
|
1588
|
-
|
1589
|
-
|
1590
|
-
|
1591
|
-
|
1592
|
-
|
1593
|
-
|
1594
|
-
|
1595
|
-
|
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
|
-
|
1598
|
-
|
1599
|
-
|
1600
|
-
|
1601
|
-
|
1602
|
-
|
1603
|
-
|
1604
|
-
|
1605
|
-
|
1606
|
-
|
1607
|
-
|
1608
|
-
|
1609
|
-
|
1610
|
-
|
1611
|
-
|
1612
|
-
|
1613
|
-
|
1614
|
-
|
1615
|
-
|
1616
|
-
|
1617
|
-
|
1618
|
-
|
1619
|
-
|
1620
|
-
|
1621
|
-
|
1622
|
-
|
1623
|
-
|
1624
|
-
|
1625
|
-
|
1626
|
-
|
1627
|
-
|
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
|
-
|
1630
|
-
|
1631
|
-
|
1632
|
-
|
1633
|
-
|
1634
|
-
|
1635
|
-
|
1636
|
-
|
1637
|
-
|
1638
|
-
|
1639
|
-
|
1640
|
-
|
1641
|
-
|
1642
|
-
|
1643
|
-
|
1644
|
-
|
1645
|
-
|
1646
|
-
|
1647
|
-
|
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
|
-
|
1650
|
-
|
1651
|
-
|
1652
|
-
|
1653
|
-
|
1654
|
-
|
1655
|
-
|
1656
|
-
|
1657
|
-
|
1658
|
-
|
1659
|
-
|
1660
|
-
|
1661
|
-
|
1662
|
-
|
1663
|
-
|
1664
|
-
|
1665
|
-
|
1666
|
-
|
1667
|
-
|
1668
|
-
|
1669
|
-
|
1670
|
-
|
1671
|
-
|
1672
|
-
|
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
|
+
# >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
|
-
|
1695
|
-
|
1696
|
-
|
1697
|
-
|
1698
|
-
|
1699
|
-
|
1700
|
-
|
1701
|
-
|
1702
|
-
|
1703
|
-
|
1704
|
-
|
1705
|
-
|
1706
|
-
|
1707
|
-
|
1708
|
-
|
1709
|
-
|
1710
|
-
|
1711
|
-
|
1712
|
-
|
1713
|
-
|
1714
|
-
|
1715
|
-
|
1716
|
-
|
1717
|
-
|
1718
|
-
|
1719
|
-
|
1720
|
-
|
1721
|
-
|
1722
|
-
|
1723
|
-
|
1724
|
-
|
1725
|
-
|
1726
|
-
|
1727
|
-
|
1728
|
-
|
1729
|
-
|
1730
|
-
|
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
|
-
|
1733
|
-
|
1734
|
-
|
1735
|
-
|
1736
|
-
|
1737
|
-
|
1738
|
-
|
1739
|
-
|
1740
|
-
|
1741
|
-
|
1742
|
-
|
1743
|
-
|
1744
|
-
|
1745
|
-
|
1746
|
-
|
1747
|
-
|
1748
|
-
|
1749
|
-
|
1750
|
-
|
1751
|
-
|
1752
|
-
|
1753
|
-
|
1754
|
-
|
1755
|
-
|
1756
|
-
|
1757
|
-
|
1758
|
-
|
1759
|
-
|
1760
|
-
|
1761
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
1781
|
-
|
1782
|
-
|
1783
|
-
|
1784
|
-
|
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
|
-
|
2134
|
+
# @api private
|
2135
|
+
# @deprecated
|
2136
|
+
def waiter_names
|
2137
|
+
[]
|
2138
|
+
end
|
1787
2139
|
|
1788
|
-
|
1789
|
-
attr_reader :identifier
|
2140
|
+
class << self
|
1790
2141
|
|
1791
|
-
|
1792
|
-
|
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
|