aws-sdk-databasemigrationservice 1.13.0 → 1.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-databasemigrationservice.rb +1 -1
- data/lib/aws-sdk-databasemigrationservice/client.rb +198 -78
- data/lib/aws-sdk-databasemigrationservice/client_api.rb +22 -0
- data/lib/aws-sdk-databasemigrationservice/types.rb +267 -109
- data/lib/aws-sdk-databasemigrationservice/waiters.rb +7 -7
- metadata +2 -2
@@ -86,6 +86,7 @@ module Aws::DatabaseMigrationService
|
|
86
86
|
DmsSslModeValue = Shapes::StringShape.new(name: 'DmsSslModeValue')
|
87
87
|
DmsTransferSettings = Shapes::StructureShape.new(name: 'DmsTransferSettings')
|
88
88
|
DynamoDbSettings = Shapes::StructureShape.new(name: 'DynamoDbSettings')
|
89
|
+
ElasticsearchSettings = Shapes::StructureShape.new(name: 'ElasticsearchSettings')
|
89
90
|
Endpoint = Shapes::StructureShape.new(name: 'Endpoint')
|
90
91
|
EndpointList = Shapes::ListShape.new(name: 'EndpointList')
|
91
92
|
Event = Shapes::StructureShape.new(name: 'Event')
|
@@ -109,9 +110,11 @@ module Aws::DatabaseMigrationService
|
|
109
110
|
InvalidSubnet = Shapes::StructureShape.new(name: 'InvalidSubnet')
|
110
111
|
KMSKeyNotAccessibleFault = Shapes::StructureShape.new(name: 'KMSKeyNotAccessibleFault')
|
111
112
|
KeyList = Shapes::ListShape.new(name: 'KeyList')
|
113
|
+
KinesisSettings = Shapes::StructureShape.new(name: 'KinesisSettings')
|
112
114
|
ListTagsForResourceMessage = Shapes::StructureShape.new(name: 'ListTagsForResourceMessage')
|
113
115
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
114
116
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
117
|
+
MessageFormatValue = Shapes::StringShape.new(name: 'MessageFormatValue')
|
115
118
|
MigrationTypeValue = Shapes::StringShape.new(name: 'MigrationTypeValue')
|
116
119
|
ModifyEndpointMessage = Shapes::StructureShape.new(name: 'ModifyEndpointMessage')
|
117
120
|
ModifyEndpointResponse = Shapes::StructureShape.new(name: 'ModifyEndpointResponse')
|
@@ -252,6 +255,8 @@ module Aws::DatabaseMigrationService
|
|
252
255
|
CreateEndpointMessage.add_member(:s3_settings, Shapes::ShapeRef.new(shape: S3Settings, location_name: "S3Settings"))
|
253
256
|
CreateEndpointMessage.add_member(:dms_transfer_settings, Shapes::ShapeRef.new(shape: DmsTransferSettings, location_name: "DmsTransferSettings"))
|
254
257
|
CreateEndpointMessage.add_member(:mongo_db_settings, Shapes::ShapeRef.new(shape: MongoDbSettings, location_name: "MongoDbSettings"))
|
258
|
+
CreateEndpointMessage.add_member(:kinesis_settings, Shapes::ShapeRef.new(shape: KinesisSettings, location_name: "KinesisSettings"))
|
259
|
+
CreateEndpointMessage.add_member(:elasticsearch_settings, Shapes::ShapeRef.new(shape: ElasticsearchSettings, location_name: "ElasticsearchSettings"))
|
255
260
|
CreateEndpointMessage.struct_class = Types::CreateEndpointMessage
|
256
261
|
|
257
262
|
CreateEndpointResponse.add_member(:endpoint, Shapes::ShapeRef.new(shape: Endpoint, location_name: "Endpoint"))
|
@@ -282,6 +287,7 @@ module Aws::DatabaseMigrationService
|
|
282
287
|
CreateReplicationInstanceMessage.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
283
288
|
CreateReplicationInstanceMessage.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
|
284
289
|
CreateReplicationInstanceMessage.add_member(:publicly_accessible, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "PubliclyAccessible"))
|
290
|
+
CreateReplicationInstanceMessage.add_member(:dns_name_servers, Shapes::ShapeRef.new(shape: String, location_name: "DnsNameServers"))
|
285
291
|
CreateReplicationInstanceMessage.struct_class = Types::CreateReplicationInstanceMessage
|
286
292
|
|
287
293
|
CreateReplicationInstanceResponse.add_member(:replication_instance, Shapes::ShapeRef.new(shape: ReplicationInstance, location_name: "ReplicationInstance"))
|
@@ -508,6 +514,12 @@ module Aws::DatabaseMigrationService
|
|
508
514
|
DynamoDbSettings.add_member(:service_access_role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ServiceAccessRoleArn"))
|
509
515
|
DynamoDbSettings.struct_class = Types::DynamoDbSettings
|
510
516
|
|
517
|
+
ElasticsearchSettings.add_member(:service_access_role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ServiceAccessRoleArn"))
|
518
|
+
ElasticsearchSettings.add_member(:endpoint_uri, Shapes::ShapeRef.new(shape: String, required: true, location_name: "EndpointUri"))
|
519
|
+
ElasticsearchSettings.add_member(:full_load_error_percentage, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "FullLoadErrorPercentage"))
|
520
|
+
ElasticsearchSettings.add_member(:error_retry_duration, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "ErrorRetryDuration"))
|
521
|
+
ElasticsearchSettings.struct_class = Types::ElasticsearchSettings
|
522
|
+
|
511
523
|
Endpoint.add_member(:endpoint_identifier, Shapes::ShapeRef.new(shape: String, location_name: "EndpointIdentifier"))
|
512
524
|
Endpoint.add_member(:endpoint_type, Shapes::ShapeRef.new(shape: ReplicationEndpointTypeValue, location_name: "EndpointType"))
|
513
525
|
Endpoint.add_member(:engine_name, Shapes::ShapeRef.new(shape: String, location_name: "EngineName"))
|
@@ -529,6 +541,8 @@ module Aws::DatabaseMigrationService
|
|
529
541
|
Endpoint.add_member(:s3_settings, Shapes::ShapeRef.new(shape: S3Settings, location_name: "S3Settings"))
|
530
542
|
Endpoint.add_member(:dms_transfer_settings, Shapes::ShapeRef.new(shape: DmsTransferSettings, location_name: "DmsTransferSettings"))
|
531
543
|
Endpoint.add_member(:mongo_db_settings, Shapes::ShapeRef.new(shape: MongoDbSettings, location_name: "MongoDbSettings"))
|
544
|
+
Endpoint.add_member(:kinesis_settings, Shapes::ShapeRef.new(shape: KinesisSettings, location_name: "KinesisSettings"))
|
545
|
+
Endpoint.add_member(:elasticsearch_settings, Shapes::ShapeRef.new(shape: ElasticsearchSettings, location_name: "ElasticsearchSettings"))
|
532
546
|
Endpoint.struct_class = Types::Endpoint
|
533
547
|
|
534
548
|
EndpointList.member = Shapes::ShapeRef.new(shape: Endpoint)
|
@@ -582,6 +596,11 @@ module Aws::DatabaseMigrationService
|
|
582
596
|
|
583
597
|
KeyList.member = Shapes::ShapeRef.new(shape: String)
|
584
598
|
|
599
|
+
KinesisSettings.add_member(:stream_arn, Shapes::ShapeRef.new(shape: String, location_name: "StreamArn"))
|
600
|
+
KinesisSettings.add_member(:message_format, Shapes::ShapeRef.new(shape: MessageFormatValue, location_name: "MessageFormat"))
|
601
|
+
KinesisSettings.add_member(:service_access_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "ServiceAccessRoleArn"))
|
602
|
+
KinesisSettings.struct_class = Types::KinesisSettings
|
603
|
+
|
585
604
|
ListTagsForResourceMessage.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceArn"))
|
586
605
|
ListTagsForResourceMessage.struct_class = Types::ListTagsForResourceMessage
|
587
606
|
|
@@ -606,6 +625,8 @@ module Aws::DatabaseMigrationService
|
|
606
625
|
ModifyEndpointMessage.add_member(:s3_settings, Shapes::ShapeRef.new(shape: S3Settings, location_name: "S3Settings"))
|
607
626
|
ModifyEndpointMessage.add_member(:dms_transfer_settings, Shapes::ShapeRef.new(shape: DmsTransferSettings, location_name: "DmsTransferSettings"))
|
608
627
|
ModifyEndpointMessage.add_member(:mongo_db_settings, Shapes::ShapeRef.new(shape: MongoDbSettings, location_name: "MongoDbSettings"))
|
628
|
+
ModifyEndpointMessage.add_member(:kinesis_settings, Shapes::ShapeRef.new(shape: KinesisSettings, location_name: "KinesisSettings"))
|
629
|
+
ModifyEndpointMessage.add_member(:elasticsearch_settings, Shapes::ShapeRef.new(shape: ElasticsearchSettings, location_name: "ElasticsearchSettings"))
|
609
630
|
ModifyEndpointMessage.struct_class = Types::ModifyEndpointMessage
|
610
631
|
|
611
632
|
ModifyEndpointResponse.add_member(:endpoint, Shapes::ShapeRef.new(shape: Endpoint, location_name: "Endpoint"))
|
@@ -740,6 +761,7 @@ module Aws::DatabaseMigrationService
|
|
740
761
|
ReplicationInstance.add_member(:publicly_accessible, Shapes::ShapeRef.new(shape: Boolean, location_name: "PubliclyAccessible"))
|
741
762
|
ReplicationInstance.add_member(:secondary_availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "SecondaryAvailabilityZone"))
|
742
763
|
ReplicationInstance.add_member(:free_until, Shapes::ShapeRef.new(shape: TStamp, location_name: "FreeUntil"))
|
764
|
+
ReplicationInstance.add_member(:dns_name_servers, Shapes::ShapeRef.new(shape: String, location_name: "DnsNameServers"))
|
743
765
|
ReplicationInstance.struct_class = Types::ReplicationInstance
|
744
766
|
|
745
767
|
ReplicationInstanceList.member = Shapes::ShapeRef.new(shape: ReplicationInstance)
|
@@ -233,6 +233,17 @@ module Aws::DatabaseMigrationService
|
|
233
233
|
# auth_source: "String",
|
234
234
|
# kms_key_id: "String",
|
235
235
|
# },
|
236
|
+
# kinesis_settings: {
|
237
|
+
# stream_arn: "String",
|
238
|
+
# message_format: "json", # accepts json
|
239
|
+
# service_access_role_arn: "String",
|
240
|
+
# },
|
241
|
+
# elasticsearch_settings: {
|
242
|
+
# service_access_role_arn: "String", # required
|
243
|
+
# endpoint_uri: "String", # required
|
244
|
+
# full_load_error_percentage: 1,
|
245
|
+
# error_retry_duration: 1,
|
246
|
+
# },
|
236
247
|
# }
|
237
248
|
#
|
238
249
|
# @!attribute [rw] endpoint_identifier
|
@@ -247,17 +258,17 @@ module Aws::DatabaseMigrationService
|
|
247
258
|
#
|
248
259
|
# @!attribute [rw] engine_name
|
249
260
|
# The type of engine for the endpoint. Valid values, depending on the
|
250
|
-
# EndPointType, include mysql
|
251
|
-
# aurora-postgresql
|
252
|
-
# mongodb
|
261
|
+
# `EndPointType` value, include `mysql`, `oracle`, `postgres`,
|
262
|
+
# `mariadb`, `aurora`, `aurora-postgresql`, `redshift`, `s3`, `db2`,
|
263
|
+
# `azuredb`, `sybase`, `dynamodb`, `mongodb`, and `sqlserver`.
|
253
264
|
# @return [String]
|
254
265
|
#
|
255
266
|
# @!attribute [rw] username
|
256
|
-
# The user name to be used to
|
267
|
+
# The user name to be used to log in to the endpoint database.
|
257
268
|
# @return [String]
|
258
269
|
#
|
259
270
|
# @!attribute [rw] password
|
260
|
-
# The password to be used to
|
271
|
+
# The password to be used to log in to the endpoint database.
|
261
272
|
# @return [String]
|
262
273
|
#
|
263
274
|
# @!attribute [rw] server_name
|
@@ -277,12 +288,11 @@ module Aws::DatabaseMigrationService
|
|
277
288
|
# @return [String]
|
278
289
|
#
|
279
290
|
# @!attribute [rw] kms_key_id
|
280
|
-
# The KMS key identifier
|
281
|
-
# parameters. If you
|
282
|
-
# parameter, then AWS DMS
|
283
|
-
#
|
284
|
-
#
|
285
|
-
# region.
|
291
|
+
# The AWS KMS key identifier to use to encrypt the connection
|
292
|
+
# parameters. If you don't specify a value for the `KmsKeyId`
|
293
|
+
# parameter, then AWS DMS uses your default encryption key. AWS KMS
|
294
|
+
# creates the default encryption key for your AWS account. Your AWS
|
295
|
+
# account has a different default encryption key for each AWS Region.
|
286
296
|
# @return [String]
|
287
297
|
#
|
288
298
|
# @!attribute [rw] tags
|
@@ -294,17 +304,14 @@ module Aws::DatabaseMigrationService
|
|
294
304
|
# @return [String]
|
295
305
|
#
|
296
306
|
# @!attribute [rw] ssl_mode
|
297
|
-
# The SSL mode to use for the SSL connection.
|
298
|
-
#
|
299
|
-
#
|
300
|
-
# verify-full.
|
301
|
-
#
|
302
|
-
# The default value is none.
|
307
|
+
# The Secure Sockets Layer (SSL) mode to use for the SSL connection.
|
308
|
+
# The SSL mode can be one of four values: `none`, `require`,
|
309
|
+
# `verify-ca`, `verify-full`. The default value is `none`.
|
303
310
|
# @return [String]
|
304
311
|
#
|
305
312
|
# @!attribute [rw] service_access_role_arn
|
306
|
-
# The Amazon Resource Name (ARN) for the service access role you
|
307
|
-
# to use to create the endpoint.
|
313
|
+
# The Amazon Resource Name (ARN) for the service access role that you
|
314
|
+
# want to use to create the endpoint.
|
308
315
|
# @return [String]
|
309
316
|
#
|
310
317
|
# @!attribute [rw] external_table_definition
|
@@ -313,10 +320,9 @@ module Aws::DatabaseMigrationService
|
|
313
320
|
#
|
314
321
|
# @!attribute [rw] dynamo_db_settings
|
315
322
|
# Settings in JSON format for the target Amazon DynamoDB endpoint. For
|
316
|
-
# more information about the available settings, see
|
317
|
-
#
|
318
|
-
#
|
319
|
-
# Service][1].
|
323
|
+
# more information about the available settings, see [Using Object
|
324
|
+
# Mapping to Migrate Data to DynamoDB][1] in the *AWS Database
|
325
|
+
# Migration Service User Guide.*
|
320
326
|
#
|
321
327
|
#
|
322
328
|
#
|
@@ -325,51 +331,72 @@ module Aws::DatabaseMigrationService
|
|
325
331
|
#
|
326
332
|
# @!attribute [rw] s3_settings
|
327
333
|
# Settings in JSON format for the target Amazon S3 endpoint. For more
|
328
|
-
# information about the available settings, see
|
329
|
-
# Attributes
|
330
|
-
# Database Migration Service
|
334
|
+
# information about the available settings, see [Extra Connection
|
335
|
+
# Attributes When Using Amazon S3 as a Target for AWS DMS][1] in the
|
336
|
+
# *AWS Database Migration Service User Guide.*
|
331
337
|
#
|
332
338
|
#
|
333
339
|
#
|
334
|
-
# [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.S3.html
|
340
|
+
# [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.S3.html#CHAP_Target.S3.Configuring
|
335
341
|
# @return [Types::S3Settings]
|
336
342
|
#
|
337
343
|
# @!attribute [rw] dms_transfer_settings
|
338
|
-
# The settings in JSON format for the DMS
|
344
|
+
# The settings in JSON format for the DMS transfer type of source
|
339
345
|
# endpoint.
|
340
346
|
#
|
341
|
-
#
|
347
|
+
# Possible attributes include the following:
|
342
348
|
#
|
343
|
-
# * serviceAccessRoleArn - The IAM role that has permission to
|
344
|
-
# the Amazon S3 bucket.
|
349
|
+
# * `serviceAccessRoleArn` - The IAM role that has permission to
|
350
|
+
# access the Amazon S3 bucket.
|
345
351
|
#
|
346
|
-
# * bucketName - The name of the S3 bucket to use.
|
352
|
+
# * `bucketName` - The name of the S3 bucket to use.
|
347
353
|
#
|
348
|
-
# * compressionType - An optional parameter to use GZIP to compress
|
349
|
-
# the target files.
|
350
|
-
# the files uncompressed.
|
354
|
+
# * `compressionType` - An optional parameter to use GZIP to compress
|
355
|
+
# the target files. To use GZIP, set this value to `NONE` (the
|
356
|
+
# default). To keep the files uncompressed, don't use this value.
|
351
357
|
#
|
352
|
-
# Shorthand syntax:
|
353
|
-
# ,BucketName=string,CompressionType=string
|
358
|
+
# Shorthand syntax for these attributes is as follows:
|
359
|
+
# `ServiceAccessRoleArn=string,BucketName=string,CompressionType=string`
|
354
360
|
#
|
355
|
-
# JSON syntax:
|
356
|
-
#
|
357
|
-
#
|
358
|
-
# "string", "CompressionType": "none"\|"gzip" \\}
|
361
|
+
# JSON syntax for these attributes is as follows: `\{
|
362
|
+
# "ServiceAccessRoleArn": "string", "BucketName": "string",
|
363
|
+
# "CompressionType": "none"|"gzip" \} `
|
359
364
|
# @return [Types::DmsTransferSettings]
|
360
365
|
#
|
361
366
|
# @!attribute [rw] mongo_db_settings
|
362
367
|
# Settings in JSON format for the source MongoDB endpoint. For more
|
363
|
-
# information about the available settings, see the
|
364
|
-
#
|
365
|
-
# Service
|
366
|
-
#
|
368
|
+
# information about the available settings, see the configuration
|
369
|
+
# properties section in [ Using MongoDB as a Target for AWS Database
|
370
|
+
# Migration Service][1] in the *AWS Database Migration Service User
|
371
|
+
# Guide.*
|
367
372
|
#
|
368
373
|
#
|
369
374
|
#
|
370
375
|
# [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.MongoDB.html
|
371
376
|
# @return [Types::MongoDbSettings]
|
372
377
|
#
|
378
|
+
# @!attribute [rw] kinesis_settings
|
379
|
+
# Settings in JSON format for the target Amazon Kinesis Data Streams
|
380
|
+
# endpoint. For more information about the available settings, see
|
381
|
+
# [Using Object Mapping to Migrate Data to a Kinesis Data Stream][1]
|
382
|
+
# in the *AWS Database Migration User Guide.*
|
383
|
+
#
|
384
|
+
#
|
385
|
+
#
|
386
|
+
# [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Kinesis.html#CHAP_Target.Kinesis.ObjectMapping
|
387
|
+
# @return [Types::KinesisSettings]
|
388
|
+
#
|
389
|
+
# @!attribute [rw] elasticsearch_settings
|
390
|
+
# Settings in JSON format for the target Elasticsearch endpoint. For
|
391
|
+
# more information about the available settings, see [Extra Connection
|
392
|
+
# Attributes When Using Elasticsearch as a Target for AWS DMS][1] in
|
393
|
+
# the *AWS Database Migration User Guide.*
|
394
|
+
#
|
395
|
+
#
|
396
|
+
#
|
397
|
+
# [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Elasticsearch.html#CHAP_Target.Elasticsearch.Configuration
|
398
|
+
# @return [Types::ElasticsearchSettings]
|
399
|
+
#
|
373
400
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEndpointMessage AWS API Documentation
|
374
401
|
#
|
375
402
|
class CreateEndpointMessage < Struct.new(
|
@@ -391,7 +418,9 @@ module Aws::DatabaseMigrationService
|
|
391
418
|
:dynamo_db_settings,
|
392
419
|
:s3_settings,
|
393
420
|
:dms_transfer_settings,
|
394
|
-
:mongo_db_settings
|
421
|
+
:mongo_db_settings,
|
422
|
+
:kinesis_settings,
|
423
|
+
:elasticsearch_settings)
|
395
424
|
include Aws::Structure
|
396
425
|
end
|
397
426
|
|
@@ -448,9 +477,9 @@ module Aws::DatabaseMigrationService
|
|
448
477
|
# @!attribute [rw] event_categories
|
449
478
|
# A list of event categories for a source type that you want to
|
450
479
|
# subscribe to. You can see a list of the categories for a given
|
451
|
-
# source type by calling the
|
452
|
-
# the topic [
|
453
|
-
# Database Migration Service User Guide
|
480
|
+
# source type by calling the `DescribeEventCategories` action or in
|
481
|
+
# the topic [Working with Events and Notifications][1] in the *AWS
|
482
|
+
# Database Migration Service User Guide.*
|
454
483
|
#
|
455
484
|
#
|
456
485
|
#
|
@@ -466,8 +495,8 @@ module Aws::DatabaseMigrationService
|
|
466
495
|
# @return [Array<String>]
|
467
496
|
#
|
468
497
|
# @!attribute [rw] enabled
|
469
|
-
# A Boolean value; set to
|
470
|
-
#
|
498
|
+
# A Boolean value; set to `true` to activate the subscription, or set
|
499
|
+
# to `false` to create the subscription but not activate it.
|
471
500
|
# @return [Boolean]
|
472
501
|
#
|
473
502
|
# @!attribute [rw] tags
|
@@ -520,6 +549,7 @@ module Aws::DatabaseMigrationService
|
|
520
549
|
# ],
|
521
550
|
# kms_key_id: "String",
|
522
551
|
# publicly_accessible: false,
|
552
|
+
# dns_name_servers: "String",
|
523
553
|
# }
|
524
554
|
#
|
525
555
|
# @!attribute [rw] replication_instance_identifier
|
@@ -607,12 +637,12 @@ module Aws::DatabaseMigrationService
|
|
607
637
|
# @return [Array<Types::Tag>]
|
608
638
|
#
|
609
639
|
# @!attribute [rw] kms_key_id
|
610
|
-
# The KMS key identifier that
|
611
|
-
# the replication instance. If you
|
612
|
-
# KmsKeyId parameter, then AWS DMS
|
613
|
-
#
|
614
|
-
#
|
615
|
-
#
|
640
|
+
# The AWS KMS key identifier that is used to encrypt the content on
|
641
|
+
# the replication instance. If you don't specify a value for the
|
642
|
+
# `KmsKeyId` parameter, then AWS DMS uses your default encryption key.
|
643
|
+
# AWS KMS creates the default encryption key for your AWS account.
|
644
|
+
# Your AWS account has a different default encryption key for each AWS
|
645
|
+
# Region.
|
616
646
|
# @return [String]
|
617
647
|
#
|
618
648
|
# @!attribute [rw] publicly_accessible
|
@@ -622,6 +652,10 @@ module Aws::DatabaseMigrationService
|
|
622
652
|
# The default value is `true`.
|
623
653
|
# @return [Boolean]
|
624
654
|
#
|
655
|
+
# @!attribute [rw] dns_name_servers
|
656
|
+
# A list of DNS name servers supported for the replication instance.
|
657
|
+
# @return [String]
|
658
|
+
#
|
625
659
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationInstanceMessage AWS API Documentation
|
626
660
|
#
|
627
661
|
class CreateReplicationInstanceMessage < Struct.new(
|
@@ -637,7 +671,8 @@ module Aws::DatabaseMigrationService
|
|
637
671
|
:auto_minor_version_upgrade,
|
638
672
|
:tags,
|
639
673
|
:kms_key_id,
|
640
|
-
:publicly_accessible
|
674
|
+
:publicly_accessible,
|
675
|
+
:dns_name_servers)
|
641
676
|
include Aws::Structure
|
642
677
|
end
|
643
678
|
|
@@ -774,7 +809,8 @@ module Aws::DatabaseMigrationService
|
|
774
809
|
# @!attribute [rw] replication_task_settings
|
775
810
|
# Settings for the task, such as target metadata settings. For a
|
776
811
|
# complete list of task settings, see [Task Settings for AWS Database
|
777
|
-
# Migration Service Tasks][1]
|
812
|
+
# Migration Service Tasks][1] in the *AWS Database Migration User
|
813
|
+
# Guide.*
|
778
814
|
#
|
779
815
|
#
|
780
816
|
#
|
@@ -2085,6 +2121,45 @@ module Aws::DatabaseMigrationService
|
|
2085
2121
|
include Aws::Structure
|
2086
2122
|
end
|
2087
2123
|
|
2124
|
+
# @note When making an API call, you may pass ElasticsearchSettings
|
2125
|
+
# data as a hash:
|
2126
|
+
#
|
2127
|
+
# {
|
2128
|
+
# service_access_role_arn: "String", # required
|
2129
|
+
# endpoint_uri: "String", # required
|
2130
|
+
# full_load_error_percentage: 1,
|
2131
|
+
# error_retry_duration: 1,
|
2132
|
+
# }
|
2133
|
+
#
|
2134
|
+
# @!attribute [rw] service_access_role_arn
|
2135
|
+
# The Amazon Resource Name (ARN) used by service to access the IAM
|
2136
|
+
# role.
|
2137
|
+
# @return [String]
|
2138
|
+
#
|
2139
|
+
# @!attribute [rw] endpoint_uri
|
2140
|
+
# The endpoint for the ElasticSearch cluster.
|
2141
|
+
# @return [String]
|
2142
|
+
#
|
2143
|
+
# @!attribute [rw] full_load_error_percentage
|
2144
|
+
# The maximum percentage of records that can fail to be written before
|
2145
|
+
# a full load operation stops.
|
2146
|
+
# @return [Integer]
|
2147
|
+
#
|
2148
|
+
# @!attribute [rw] error_retry_duration
|
2149
|
+
# The maximum number of seconds that DMS retries failed API requests
|
2150
|
+
# to the Elasticsearch cluster.
|
2151
|
+
# @return [Integer]
|
2152
|
+
#
|
2153
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ElasticsearchSettings AWS API Documentation
|
2154
|
+
#
|
2155
|
+
class ElasticsearchSettings < Struct.new(
|
2156
|
+
:service_access_role_arn,
|
2157
|
+
:endpoint_uri,
|
2158
|
+
:full_load_error_percentage,
|
2159
|
+
:error_retry_duration)
|
2160
|
+
include Aws::Structure
|
2161
|
+
end
|
2162
|
+
|
2088
2163
|
# @!attribute [rw] endpoint_identifier
|
2089
2164
|
# The database endpoint identifier. Identifiers must begin with a
|
2090
2165
|
# letter; must contain only ASCII letters, digits, and hyphens; and
|
@@ -2133,12 +2208,12 @@ module Aws::DatabaseMigrationService
|
|
2133
2208
|
# @return [String]
|
2134
2209
|
#
|
2135
2210
|
# @!attribute [rw] kms_key_id
|
2136
|
-
# The KMS key identifier that
|
2137
|
-
#
|
2138
|
-
# parameter, then AWS DMS
|
2139
|
-
# KMS creates the default encryption key for your AWS account.
|
2140
|
-
# AWS account has a different default encryption key for each AWS
|
2141
|
-
#
|
2211
|
+
# The AWS KMS key identifier that is used to encrypt the content on
|
2212
|
+
# the replication instance. If you don't specify a value for the
|
2213
|
+
# `KmsKeyId` parameter, then AWS DMS uses your default encryption key.
|
2214
|
+
# AWS KMS creates the default encryption key for your AWS account.
|
2215
|
+
# Your AWS account has a different default encryption key for each AWS
|
2216
|
+
# Region.
|
2142
2217
|
# @return [String]
|
2143
2218
|
#
|
2144
2219
|
# @!attribute [rw] endpoint_arn
|
@@ -2185,27 +2260,26 @@ module Aws::DatabaseMigrationService
|
|
2185
2260
|
# @return [Types::S3Settings]
|
2186
2261
|
#
|
2187
2262
|
# @!attribute [rw] dms_transfer_settings
|
2188
|
-
# The settings in JSON format for the DMS
|
2263
|
+
# The settings in JSON format for the DMS transfer type of source
|
2189
2264
|
# endpoint.
|
2190
2265
|
#
|
2191
|
-
#
|
2266
|
+
# Possible attributes include the following:
|
2192
2267
|
#
|
2193
|
-
# * serviceAccessRoleArn - The IAM role that has permission to
|
2194
|
-
# the Amazon S3 bucket.
|
2268
|
+
# * `serviceAccessRoleArn` - The IAM role that has permission to
|
2269
|
+
# access the Amazon S3 bucket.
|
2195
2270
|
#
|
2196
|
-
# * bucketName - The name of the S3 bucket to use.
|
2271
|
+
# * `bucketName` - The name of the S3 bucket to use.
|
2197
2272
|
#
|
2198
|
-
# * compressionType - An optional parameter to use GZIP to compress
|
2199
|
-
# the target files.
|
2200
|
-
# the files uncompressed.
|
2201
|
-
#
|
2202
|
-
# Shorthand syntax: ServiceAccessRoleArn=string
|
2203
|
-
# ,BucketName=string,CompressionType=string
|
2273
|
+
# * `compressionType` - An optional parameter to use GZIP to compress
|
2274
|
+
# the target files. To use GZIP, set this value to `NONE` (the
|
2275
|
+
# default). To keep the files uncompressed, don't use this value.
|
2204
2276
|
#
|
2205
|
-
#
|
2277
|
+
# Shorthand syntax for these attributes is as follows:
|
2278
|
+
# `ServiceAccessRoleArn=string,BucketName=string,CompressionType=string`
|
2206
2279
|
#
|
2207
|
-
#
|
2208
|
-
# "string", "
|
2280
|
+
# JSON syntax for these attributes is as follows: `\{
|
2281
|
+
# "ServiceAccessRoleArn": "string", "BucketName": "string",
|
2282
|
+
# "CompressionType": "none"|"gzip" \} `
|
2209
2283
|
# @return [Types::DmsTransferSettings]
|
2210
2284
|
#
|
2211
2285
|
# @!attribute [rw] mongo_db_settings
|
@@ -2213,6 +2287,16 @@ module Aws::DatabaseMigrationService
|
|
2213
2287
|
# see the `MongoDbSettings` structure.
|
2214
2288
|
# @return [Types::MongoDbSettings]
|
2215
2289
|
#
|
2290
|
+
# @!attribute [rw] kinesis_settings
|
2291
|
+
# The settings for the Amazon Kinesis source endpoint. For more
|
2292
|
+
# information, see the `KinesisSettings` structure.
|
2293
|
+
# @return [Types::KinesisSettings]
|
2294
|
+
#
|
2295
|
+
# @!attribute [rw] elasticsearch_settings
|
2296
|
+
# The settings for the Elasticsearch source endpoint. For more
|
2297
|
+
# information, see the `ElasticsearchSettings` structure.
|
2298
|
+
# @return [Types::ElasticsearchSettings]
|
2299
|
+
#
|
2216
2300
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/Endpoint AWS API Documentation
|
2217
2301
|
#
|
2218
2302
|
class Endpoint < Struct.new(
|
@@ -2236,7 +2320,9 @@ module Aws::DatabaseMigrationService
|
|
2236
2320
|
:dynamo_db_settings,
|
2237
2321
|
:s3_settings,
|
2238
2322
|
:dms_transfer_settings,
|
2239
|
-
:mongo_db_settings
|
2323
|
+
:mongo_db_settings,
|
2324
|
+
:kinesis_settings,
|
2325
|
+
:elasticsearch_settings)
|
2240
2326
|
include Aws::Structure
|
2241
2327
|
end
|
2242
2328
|
|
@@ -2440,6 +2526,39 @@ module Aws::DatabaseMigrationService
|
|
2440
2526
|
include Aws::Structure
|
2441
2527
|
end
|
2442
2528
|
|
2529
|
+
# @note When making an API call, you may pass KinesisSettings
|
2530
|
+
# data as a hash:
|
2531
|
+
#
|
2532
|
+
# {
|
2533
|
+
# stream_arn: "String",
|
2534
|
+
# message_format: "json", # accepts json
|
2535
|
+
# service_access_role_arn: "String",
|
2536
|
+
# }
|
2537
|
+
#
|
2538
|
+
# @!attribute [rw] stream_arn
|
2539
|
+
# The Amazon Resource Name (ARN) for the Amazon Kinesis Data Streams
|
2540
|
+
# endpoint.
|
2541
|
+
# @return [String]
|
2542
|
+
#
|
2543
|
+
# @!attribute [rw] message_format
|
2544
|
+
# The output format for the records created on the endpoint. The
|
2545
|
+
# message format is `JSON`.
|
2546
|
+
# @return [String]
|
2547
|
+
#
|
2548
|
+
# @!attribute [rw] service_access_role_arn
|
2549
|
+
# The Amazon Resource Name (ARN) for the IAM role that DMS uses to
|
2550
|
+
# write to the Amazon Kinesis data stream.
|
2551
|
+
# @return [String]
|
2552
|
+
#
|
2553
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/KinesisSettings AWS API Documentation
|
2554
|
+
#
|
2555
|
+
class KinesisSettings < Struct.new(
|
2556
|
+
:stream_arn,
|
2557
|
+
:message_format,
|
2558
|
+
:service_access_role_arn)
|
2559
|
+
include Aws::Structure
|
2560
|
+
end
|
2561
|
+
|
2443
2562
|
# @note When making an API call, you may pass ListTagsForResourceMessage
|
2444
2563
|
# data as a hash:
|
2445
2564
|
#
|
@@ -2518,6 +2637,17 @@ module Aws::DatabaseMigrationService
|
|
2518
2637
|
# auth_source: "String",
|
2519
2638
|
# kms_key_id: "String",
|
2520
2639
|
# },
|
2640
|
+
# kinesis_settings: {
|
2641
|
+
# stream_arn: "String",
|
2642
|
+
# message_format: "json", # accepts json
|
2643
|
+
# service_access_role_arn: "String",
|
2644
|
+
# },
|
2645
|
+
# elasticsearch_settings: {
|
2646
|
+
# service_access_role_arn: "String", # required
|
2647
|
+
# endpoint_uri: "String", # required
|
2648
|
+
# full_load_error_percentage: 1,
|
2649
|
+
# error_retry_duration: 1,
|
2650
|
+
# },
|
2521
2651
|
# }
|
2522
2652
|
#
|
2523
2653
|
# @!attribute [rw] endpoint_arn
|
@@ -2592,10 +2722,9 @@ module Aws::DatabaseMigrationService
|
|
2592
2722
|
#
|
2593
2723
|
# @!attribute [rw] dynamo_db_settings
|
2594
2724
|
# Settings in JSON format for the target Amazon DynamoDB endpoint. For
|
2595
|
-
# more information about the available settings, see
|
2596
|
-
#
|
2597
|
-
#
|
2598
|
-
# Service][1].
|
2725
|
+
# more information about the available settings, see [Using Object
|
2726
|
+
# Mapping to Migrate Data to DynamoDB][1] in the *AWS Database
|
2727
|
+
# Migration Service User Guide.*
|
2599
2728
|
#
|
2600
2729
|
#
|
2601
2730
|
#
|
@@ -2603,21 +2732,21 @@ module Aws::DatabaseMigrationService
|
|
2603
2732
|
# @return [Types::DynamoDbSettings]
|
2604
2733
|
#
|
2605
2734
|
# @!attribute [rw] s3_settings
|
2606
|
-
# Settings in JSON format for the target S3 endpoint. For more
|
2607
|
-
# information about the available settings, see
|
2608
|
-
# Attributes
|
2609
|
-
# Database Migration Service
|
2735
|
+
# Settings in JSON format for the target Amazon S3 endpoint. For more
|
2736
|
+
# information about the available settings, see [Extra Connection
|
2737
|
+
# Attributes When Using Amazon S3 as a Target for AWS DMS][1] in the
|
2738
|
+
# *AWS Database Migration Service User Guide.*
|
2610
2739
|
#
|
2611
2740
|
#
|
2612
2741
|
#
|
2613
|
-
# [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.S3.html
|
2742
|
+
# [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.S3.html#CHAP_Target.S3.Configuring
|
2614
2743
|
# @return [Types::S3Settings]
|
2615
2744
|
#
|
2616
2745
|
# @!attribute [rw] dms_transfer_settings
|
2617
|
-
# The settings in JSON format for the DMS
|
2746
|
+
# The settings in JSON format for the DMS transfer type of source
|
2618
2747
|
# endpoint.
|
2619
2748
|
#
|
2620
|
-
# Attributes include:
|
2749
|
+
# Attributes include the following:
|
2621
2750
|
#
|
2622
2751
|
# * serviceAccessRoleArn - The IAM role that has permission to access
|
2623
2752
|
# the Amazon S3 bucket.
|
@@ -2639,16 +2768,38 @@ module Aws::DatabaseMigrationService
|
|
2639
2768
|
#
|
2640
2769
|
# @!attribute [rw] mongo_db_settings
|
2641
2770
|
# Settings in JSON format for the source MongoDB endpoint. For more
|
2642
|
-
# information about the available settings, see the
|
2643
|
-
#
|
2644
|
-
# Service
|
2645
|
-
#
|
2771
|
+
# information about the available settings, see the configuration
|
2772
|
+
# properties section in [ Using MongoDB as a Target for AWS Database
|
2773
|
+
# Migration Service][1] in the *AWS Database Migration Service User
|
2774
|
+
# Guide.*
|
2646
2775
|
#
|
2647
2776
|
#
|
2648
2777
|
#
|
2649
2778
|
# [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.MongoDB.html
|
2650
2779
|
# @return [Types::MongoDbSettings]
|
2651
2780
|
#
|
2781
|
+
# @!attribute [rw] kinesis_settings
|
2782
|
+
# Settings in JSON format for the target Amazon Kinesis Data Streams
|
2783
|
+
# endpoint. For more information about the available settings, see
|
2784
|
+
# [Using Object Mapping to Migrate Data to a Kinesis Data Stream][1]
|
2785
|
+
# in the *AWS Database Migration User Guide.*
|
2786
|
+
#
|
2787
|
+
#
|
2788
|
+
#
|
2789
|
+
# [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Kinesis.html#CHAP_Target.Kinesis.ObjectMapping
|
2790
|
+
# @return [Types::KinesisSettings]
|
2791
|
+
#
|
2792
|
+
# @!attribute [rw] elasticsearch_settings
|
2793
|
+
# Settings in JSON format for the target Elasticsearch endpoint. For
|
2794
|
+
# more information about the available settings, see [Extra Connection
|
2795
|
+
# Attributes When Using Elasticsearch as a Target for AWS DMS][1] in
|
2796
|
+
# the *AWS Database Migration User Guide.*
|
2797
|
+
#
|
2798
|
+
#
|
2799
|
+
#
|
2800
|
+
# [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Elasticsearch.html#CHAP_Target.Elasticsearch.Configuration
|
2801
|
+
# @return [Types::ElasticsearchSettings]
|
2802
|
+
#
|
2652
2803
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyEndpointMessage AWS API Documentation
|
2653
2804
|
#
|
2654
2805
|
class ModifyEndpointMessage < Struct.new(
|
@@ -2669,7 +2820,9 @@ module Aws::DatabaseMigrationService
|
|
2669
2820
|
:dynamo_db_settings,
|
2670
2821
|
:s3_settings,
|
2671
2822
|
:dms_transfer_settings,
|
2672
|
-
:mongo_db_settings
|
2823
|
+
:mongo_db_settings,
|
2824
|
+
:kinesis_settings,
|
2825
|
+
:elasticsearch_settings)
|
2673
2826
|
include Aws::Structure
|
2674
2827
|
end
|
2675
2828
|
|
@@ -3115,12 +3268,12 @@ module Aws::DatabaseMigrationService
|
|
3115
3268
|
# @return [String]
|
3116
3269
|
#
|
3117
3270
|
# @!attribute [rw] kms_key_id
|
3118
|
-
# The KMS key identifier that
|
3119
|
-
#
|
3120
|
-
# parameter, then AWS DMS
|
3121
|
-
# KMS creates the default encryption key for your AWS account.
|
3122
|
-
# AWS account has a different default encryption key for each AWS
|
3123
|
-
#
|
3271
|
+
# The AWS KMS key identifier that is used to encrypt the content on
|
3272
|
+
# the replication instance. If you don't specify a value for the
|
3273
|
+
# `KmsKeyId` parameter, then AWS DMS uses your default encryption key.
|
3274
|
+
# AWS KMS creates the default encryption key for your AWS account.
|
3275
|
+
# Your AWS account has a different default encryption key for each AWS
|
3276
|
+
# Region.
|
3124
3277
|
# @return [String]
|
3125
3278
|
#
|
3126
3279
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/MongoDbSettings AWS API Documentation
|
@@ -3449,12 +3602,12 @@ module Aws::DatabaseMigrationService
|
|
3449
3602
|
# @return [Boolean]
|
3450
3603
|
#
|
3451
3604
|
# @!attribute [rw] kms_key_id
|
3452
|
-
# The KMS key identifier that is used to encrypt the content on
|
3453
|
-
# replication instance. If you
|
3454
|
-
# parameter, then AWS DMS
|
3455
|
-
# KMS creates the default encryption key for your AWS account.
|
3456
|
-
# AWS account has a different default encryption key for each AWS
|
3457
|
-
#
|
3605
|
+
# The AWS KMS key identifier that is used to encrypt the content on
|
3606
|
+
# the replication instance. If you don't specify a value for the
|
3607
|
+
# `KmsKeyId` parameter, then AWS DMS uses your default encryption key.
|
3608
|
+
# AWS KMS creates the default encryption key for your AWS account.
|
3609
|
+
# Your AWS account has a different default encryption key for each AWS
|
3610
|
+
# Region.
|
3458
3611
|
# @return [String]
|
3459
3612
|
#
|
3460
3613
|
# @!attribute [rw] replication_instance_arn
|
@@ -3494,6 +3647,10 @@ module Aws::DatabaseMigrationService
|
|
3494
3647
|
# the Free DMS program.
|
3495
3648
|
# @return [Time]
|
3496
3649
|
#
|
3650
|
+
# @!attribute [rw] dns_name_servers
|
3651
|
+
# The DNS name servers for the replication instance.
|
3652
|
+
# @return [String]
|
3653
|
+
#
|
3497
3654
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ReplicationInstance AWS API Documentation
|
3498
3655
|
#
|
3499
3656
|
class ReplicationInstance < Struct.new(
|
@@ -3518,7 +3675,8 @@ module Aws::DatabaseMigrationService
|
|
3518
3675
|
:replication_instance_private_ip_addresses,
|
3519
3676
|
:publicly_accessible,
|
3520
3677
|
:secondary_availability_zone,
|
3521
|
-
:free_until
|
3678
|
+
:free_until,
|
3679
|
+
:dns_name_servers)
|
3522
3680
|
include Aws::Structure
|
3523
3681
|
end
|
3524
3682
|
|