aws-sdk-databasemigrationservice 1.0.0.rc1

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