aws-sdk-databasemigrationservice 1.27.0 → 1.28.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 95367c444393bee5587c5798550884b908ecb8f1
4
- data.tar.gz: 61b9d6f6d0060db1aeaf75a76c8bde9b266b9ae8
3
+ metadata.gz: cdd8df796934c845608372dc75e1f84049152b5d
4
+ data.tar.gz: d6998e9b1f5e6fadb2f003136f182b9c274ac7dd
5
5
  SHA512:
6
- metadata.gz: 8b2b9c4ccff328cc9d56c60d24d0cdf5ddb36183d6be4ad78f165daf2d2749417c51e42cf7b6ded53b218d40a2867528566b73136616df4f22deb24471d63c79
7
- data.tar.gz: 65d53e8c99d8c168b8b9dfcbea71d3431b3060b56210d7d6c12dd4816a053d3740783d15c9f1f20b392b29e92c11cb8effab87a8349893c5e593476ddcb9533a
6
+ metadata.gz: 3e5076e67ce57679ca0720c6b388f16de1fbe16e3c97e99230fa70f81e2f5c4545c3073dc9c2e543c0f85ffacc87b304c8f7e09b693b98a8d011635c502269a5
7
+ data.tar.gz: d749a71808ddf450b1a7e26e4f2c8110ca401a5e03c1c95569c1aa3af8ef5f52a1573cfa821d096136547149f8823eaa93584b092965de7fff57dff1fd91ef22
@@ -43,6 +43,6 @@ require_relative 'aws-sdk-databasemigrationservice/customizations'
43
43
  # @service
44
44
  module Aws::DatabaseMigrationService
45
45
 
46
- GEM_VERSION = '1.27.0'
46
+ GEM_VERSION = '1.28.0'
47
47
 
48
48
  end
@@ -475,21 +475,21 @@ module Aws::DatabaseMigrationService
475
475
  # The settings in JSON format for the DMS transfer type of source
476
476
  # endpoint.
477
477
  #
478
- # Possible attributes include the following:
478
+ # Possible settings include the following:
479
479
  #
480
- # * `serviceAccessRoleArn` - The IAM role that has permission to access
480
+ # * `ServiceAccessRoleArn` - The IAM role that has permission to access
481
481
  # the Amazon S3 bucket.
482
482
  #
483
- # * `bucketName` - The name of the S3 bucket to use.
483
+ # * `BucketName` - The name of the S3 bucket to use.
484
484
  #
485
- # * `compressionType` - An optional parameter to use GZIP to compress
485
+ # * `CompressionType` - An optional parameter to use GZIP to compress
486
486
  # the target files. To use GZIP, set this value to `NONE` (the
487
487
  # default). To keep the files uncompressed, don't use this value.
488
488
  #
489
- # Shorthand syntax for these attributes is as follows:
489
+ # Shorthand syntax for these settings is as follows:
490
490
  # `ServiceAccessRoleArn=string,BucketName=string,CompressionType=string`
491
491
  #
492
- # JSON syntax for these attributes is as follows: `\{
492
+ # JSON syntax for these settings is as follows: `\{
493
493
  # "ServiceAccessRoleArn": "string", "BucketName": "string",
494
494
  # "CompressionType": "none"|"gzip" \} `
495
495
  #
@@ -617,6 +617,7 @@ module Aws::DatabaseMigrationService
617
617
  # include_op_for_full_load: false,
618
618
  # cdc_inserts_only: false,
619
619
  # timestamp_column_name: "String",
620
+ # parquet_timestamp_in_millisecond: false,
620
621
  # },
621
622
  # dms_transfer_settings: {
622
623
  # service_access_role_arn: "String",
@@ -715,6 +716,7 @@ module Aws::DatabaseMigrationService
715
716
  # resp.endpoint.s3_settings.include_op_for_full_load #=> Boolean
716
717
  # resp.endpoint.s3_settings.cdc_inserts_only #=> Boolean
717
718
  # resp.endpoint.s3_settings.timestamp_column_name #=> String
719
+ # resp.endpoint.s3_settings.parquet_timestamp_in_millisecond #=> Boolean
718
720
  # resp.endpoint.dms_transfer_settings.service_access_role_arn #=> String
719
721
  # resp.endpoint.dms_transfer_settings.bucket_name #=> String
720
722
  # resp.endpoint.mongo_db_settings.username #=> String
@@ -1444,6 +1446,60 @@ module Aws::DatabaseMigrationService
1444
1446
  req.send_request(options)
1445
1447
  end
1446
1448
 
1449
+ # Deletes the connection between a replication instance and an endpoint.
1450
+ #
1451
+ # @option params [required, String] :endpoint_arn
1452
+ # The Amazon Resource Name (ARN) string that uniquely identifies the
1453
+ # endpoint.
1454
+ #
1455
+ # @option params [required, String] :replication_instance_arn
1456
+ # The Amazon Resource Name (ARN) of the replication instance.
1457
+ #
1458
+ # @return [Types::DeleteConnectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1459
+ #
1460
+ # * {Types::DeleteConnectionResponse#connection #connection} => Types::Connection
1461
+ #
1462
+ #
1463
+ # @example Example: Delete Connection
1464
+ #
1465
+ # # Deletes the connection between the replication instance and the endpoint.
1466
+ #
1467
+ # resp = client.delete_connection({
1468
+ # endpoint_arn: "arn:aws:dms:us-east-1:123456789012:endpoint:RAAR3R22XSH46S3PWLC3NJAWKM",
1469
+ # replication_instance_arn: "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ",
1470
+ # })
1471
+ #
1472
+ # resp.to_h outputs the following:
1473
+ # {
1474
+ # connection: {
1475
+ # },
1476
+ # }
1477
+ #
1478
+ # @example Request syntax with placeholder values
1479
+ #
1480
+ # resp = client.delete_connection({
1481
+ # endpoint_arn: "String", # required
1482
+ # replication_instance_arn: "String", # required
1483
+ # })
1484
+ #
1485
+ # @example Response structure
1486
+ #
1487
+ # resp.connection.replication_instance_arn #=> String
1488
+ # resp.connection.endpoint_arn #=> String
1489
+ # resp.connection.status #=> String
1490
+ # resp.connection.last_failure_message #=> String
1491
+ # resp.connection.endpoint_identifier #=> String
1492
+ # resp.connection.replication_instance_identifier #=> String
1493
+ #
1494
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteConnection AWS API Documentation
1495
+ #
1496
+ # @overload delete_connection(params = {})
1497
+ # @param [Hash] params ({})
1498
+ def delete_connection(params = {}, options = {})
1499
+ req = build_request(:delete_connection, params)
1500
+ req.send_request(options)
1501
+ end
1502
+
1447
1503
  # Deletes the specified endpoint.
1448
1504
  #
1449
1505
  # <note markdown="1"> All tasks associated with the endpoint must be deleted before you can
@@ -1529,6 +1585,7 @@ module Aws::DatabaseMigrationService
1529
1585
  # resp.endpoint.s3_settings.include_op_for_full_load #=> Boolean
1530
1586
  # resp.endpoint.s3_settings.cdc_inserts_only #=> Boolean
1531
1587
  # resp.endpoint.s3_settings.timestamp_column_name #=> String
1588
+ # resp.endpoint.s3_settings.parquet_timestamp_in_millisecond #=> Boolean
1532
1589
  # resp.endpoint.dms_transfer_settings.service_access_role_arn #=> String
1533
1590
  # resp.endpoint.dms_transfer_settings.bucket_name #=> String
1534
1591
  # resp.endpoint.mongo_db_settings.username #=> String
@@ -2306,6 +2363,7 @@ module Aws::DatabaseMigrationService
2306
2363
  # resp.endpoints[0].s3_settings.include_op_for_full_load #=> Boolean
2307
2364
  # resp.endpoints[0].s3_settings.cdc_inserts_only #=> Boolean
2308
2365
  # resp.endpoints[0].s3_settings.timestamp_column_name #=> String
2366
+ # resp.endpoints[0].s3_settings.parquet_timestamp_in_millisecond #=> Boolean
2309
2367
  # resp.endpoints[0].dms_transfer_settings.service_access_role_arn #=> String
2310
2368
  # resp.endpoints[0].dms_transfer_settings.bucket_name #=> String
2311
2369
  # resp.endpoints[0].mongo_db_settings.username #=> String
@@ -3675,6 +3733,7 @@ module Aws::DatabaseMigrationService
3675
3733
  # include_op_for_full_load: false,
3676
3734
  # cdc_inserts_only: false,
3677
3735
  # timestamp_column_name: "String",
3736
+ # parquet_timestamp_in_millisecond: false,
3678
3737
  # },
3679
3738
  # dms_transfer_settings: {
3680
3739
  # service_access_role_arn: "String",
@@ -3773,6 +3832,7 @@ module Aws::DatabaseMigrationService
3773
3832
  # resp.endpoint.s3_settings.include_op_for_full_load #=> Boolean
3774
3833
  # resp.endpoint.s3_settings.cdc_inserts_only #=> Boolean
3775
3834
  # resp.endpoint.s3_settings.timestamp_column_name #=> String
3835
+ # resp.endpoint.s3_settings.parquet_timestamp_in_millisecond #=> Boolean
3776
3836
  # resp.endpoint.dms_transfer_settings.service_access_role_arn #=> String
3777
3837
  # resp.endpoint.dms_transfer_settings.bucket_name #=> String
3778
3838
  # resp.endpoint.mongo_db_settings.username #=> String
@@ -4827,7 +4887,7 @@ module Aws::DatabaseMigrationService
4827
4887
  params: params,
4828
4888
  config: config)
4829
4889
  context[:gem_name] = 'aws-sdk-databasemigrationservice'
4830
- context[:gem_version] = '1.27.0'
4890
+ context[:gem_version] = '1.28.0'
4831
4891
  Seahorse::Client::Request.new(handlers, context)
4832
4892
  end
4833
4893
 
@@ -43,6 +43,8 @@ module Aws::DatabaseMigrationService
43
43
  DataFormatValue = Shapes::StringShape.new(name: 'DataFormatValue')
44
44
  DeleteCertificateMessage = Shapes::StructureShape.new(name: 'DeleteCertificateMessage')
45
45
  DeleteCertificateResponse = Shapes::StructureShape.new(name: 'DeleteCertificateResponse')
46
+ DeleteConnectionMessage = Shapes::StructureShape.new(name: 'DeleteConnectionMessage')
47
+ DeleteConnectionResponse = Shapes::StructureShape.new(name: 'DeleteConnectionResponse')
46
48
  DeleteEndpointMessage = Shapes::StructureShape.new(name: 'DeleteEndpointMessage')
47
49
  DeleteEndpointResponse = Shapes::StructureShape.new(name: 'DeleteEndpointResponse')
48
50
  DeleteEventSubscriptionMessage = Shapes::StructureShape.new(name: 'DeleteEventSubscriptionMessage')
@@ -359,6 +361,13 @@ module Aws::DatabaseMigrationService
359
361
  DeleteCertificateResponse.add_member(:certificate, Shapes::ShapeRef.new(shape: Certificate, location_name: "Certificate"))
360
362
  DeleteCertificateResponse.struct_class = Types::DeleteCertificateResponse
361
363
 
364
+ DeleteConnectionMessage.add_member(:endpoint_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "EndpointArn"))
365
+ DeleteConnectionMessage.add_member(:replication_instance_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReplicationInstanceArn"))
366
+ DeleteConnectionMessage.struct_class = Types::DeleteConnectionMessage
367
+
368
+ DeleteConnectionResponse.add_member(:connection, Shapes::ShapeRef.new(shape: Connection, location_name: "Connection"))
369
+ DeleteConnectionResponse.struct_class = Types::DeleteConnectionResponse
370
+
362
371
  DeleteEndpointMessage.add_member(:endpoint_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "EndpointArn"))
363
372
  DeleteEndpointMessage.struct_class = Types::DeleteEndpointMessage
364
373
 
@@ -988,6 +997,7 @@ module Aws::DatabaseMigrationService
988
997
  S3Settings.add_member(:include_op_for_full_load, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "IncludeOpForFullLoad"))
989
998
  S3Settings.add_member(:cdc_inserts_only, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "CdcInsertsOnly"))
990
999
  S3Settings.add_member(:timestamp_column_name, Shapes::ShapeRef.new(shape: String, location_name: "TimestampColumnName"))
1000
+ S3Settings.add_member(:parquet_timestamp_in_millisecond, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "ParquetTimestampInMillisecond"))
991
1001
  S3Settings.struct_class = Types::S3Settings
992
1002
 
993
1003
  SNSInvalidTopicFault.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
@@ -1219,6 +1229,17 @@ module Aws::DatabaseMigrationService
1219
1229
  o.errors << Shapes::ShapeRef.new(shape: InvalidResourceStateFault)
1220
1230
  end)
1221
1231
 
1232
+ api.add_operation(:delete_connection, Seahorse::Model::Operation.new.tap do |o|
1233
+ o.name = "DeleteConnection"
1234
+ o.http_method = "POST"
1235
+ o.http_request_uri = "/"
1236
+ o.input = Shapes::ShapeRef.new(shape: DeleteConnectionMessage)
1237
+ o.output = Shapes::ShapeRef.new(shape: DeleteConnectionResponse)
1238
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedFault)
1239
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundFault)
1240
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResourceStateFault)
1241
+ end)
1242
+
1222
1243
  api.add_operation(:delete_endpoint, Seahorse::Model::Operation.new.tap do |o|
1223
1244
  o.name = "DeleteEndpoint"
1224
1245
  o.http_method = "POST"
@@ -299,6 +299,7 @@ module Aws::DatabaseMigrationService
299
299
  # include_op_for_full_load: false,
300
300
  # cdc_inserts_only: false,
301
301
  # timestamp_column_name: "String",
302
+ # parquet_timestamp_in_millisecond: false,
302
303
  # },
303
304
  # dms_transfer_settings: {
304
305
  # service_access_role_arn: "String",
@@ -469,21 +470,21 @@ module Aws::DatabaseMigrationService
469
470
  # The settings in JSON format for the DMS transfer type of source
470
471
  # endpoint.
471
472
  #
472
- # Possible attributes include the following:
473
+ # Possible settings include the following:
473
474
  #
474
- # * `serviceAccessRoleArn` - The IAM role that has permission to
475
+ # * `ServiceAccessRoleArn` - The IAM role that has permission to
475
476
  # access the Amazon S3 bucket.
476
477
  #
477
- # * `bucketName` - The name of the S3 bucket to use.
478
+ # * `BucketName` - The name of the S3 bucket to use.
478
479
  #
479
- # * `compressionType` - An optional parameter to use GZIP to compress
480
+ # * `CompressionType` - An optional parameter to use GZIP to compress
480
481
  # the target files. To use GZIP, set this value to `NONE` (the
481
482
  # default). To keep the files uncompressed, don't use this value.
482
483
  #
483
- # Shorthand syntax for these attributes is as follows:
484
+ # Shorthand syntax for these settings is as follows:
484
485
  # `ServiceAccessRoleArn=string,BucketName=string,CompressionType=string`
485
486
  #
486
- # JSON syntax for these attributes is as follows: `\{
487
+ # JSON syntax for these settings is as follows: `\{
487
488
  # "ServiceAccessRoleArn": "string", "BucketName": "string",
488
489
  # "CompressionType": "none"|"gzip" \} `
489
490
  # @return [Types::DmsTransferSettings]
@@ -1045,6 +1046,42 @@ module Aws::DatabaseMigrationService
1045
1046
  include Aws::Structure
1046
1047
  end
1047
1048
 
1049
+ # @note When making an API call, you may pass DeleteConnectionMessage
1050
+ # data as a hash:
1051
+ #
1052
+ # {
1053
+ # endpoint_arn: "String", # required
1054
+ # replication_instance_arn: "String", # required
1055
+ # }
1056
+ #
1057
+ # @!attribute [rw] endpoint_arn
1058
+ # The Amazon Resource Name (ARN) string that uniquely identifies the
1059
+ # endpoint.
1060
+ # @return [String]
1061
+ #
1062
+ # @!attribute [rw] replication_instance_arn
1063
+ # The Amazon Resource Name (ARN) of the replication instance.
1064
+ # @return [String]
1065
+ #
1066
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteConnectionMessage AWS API Documentation
1067
+ #
1068
+ class DeleteConnectionMessage < Struct.new(
1069
+ :endpoint_arn,
1070
+ :replication_instance_arn)
1071
+ include Aws::Structure
1072
+ end
1073
+
1074
+ # @!attribute [rw] connection
1075
+ # The connection that is being deleted.
1076
+ # @return [Types::Connection]
1077
+ #
1078
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteConnectionResponse AWS API Documentation
1079
+ #
1080
+ class DeleteConnectionResponse < Struct.new(
1081
+ :connection)
1082
+ include Aws::Structure
1083
+ end
1084
+
1048
1085
  # @note When making an API call, you may pass DeleteEndpointMessage
1049
1086
  # data as a hash:
1050
1087
  #
@@ -1206,8 +1243,8 @@ module Aws::DatabaseMigrationService
1206
1243
  # `dms-AccountNumber-UniqueAccountIdentifier.` Here is an example name
1207
1244
  # for this default S3 bucket: `dms-111122223333-c44445555666`.
1208
1245
  #
1209
- # <note markdown="1"> AWS DMS supports `UniqueAccountIdentifier` in versions 3.1.4 and
1210
- # later.
1246
+ # <note markdown="1"> AWS DMS supports the `UniqueAccountIdentifier` parameter in versions
1247
+ # 3.1.4 and later.
1211
1248
  #
1212
1249
  # </note>
1213
1250
  # @return [String]
@@ -2483,21 +2520,21 @@ module Aws::DatabaseMigrationService
2483
2520
  # The settings in JSON format for the DMS transfer type of source
2484
2521
  # endpoint.
2485
2522
  #
2486
- # Possible attributes include the following:
2523
+ # Possible settings include the following:
2487
2524
  #
2488
- # * `serviceAccessRoleArn` - The IAM role that has permission to
2525
+ # * `ServiceAccessRoleArn` - The IAM role that has permission to
2489
2526
  # access the Amazon S3 bucket.
2490
2527
  #
2491
- # * `bucketName` - The name of the S3 bucket to use.
2528
+ # * `BucketName` - The name of the S3 bucket to use.
2492
2529
  #
2493
- # * `compressionType` - An optional parameter to use GZIP to compress
2530
+ # * `CompressionType` - An optional parameter to use GZIP to compress
2494
2531
  # the target files. To use GZIP, set this value to `NONE` (the
2495
2532
  # default). To keep the files uncompressed, don't use this value.
2496
2533
  #
2497
- # Shorthand syntax for these attributes is as follows:
2534
+ # Shorthand syntax for these settings is as follows:
2498
2535
  # `ServiceAccessRoleArn=string,BucketName=string,CompressionType=string`
2499
2536
  #
2500
- # JSON syntax for these attributes is as follows: `\{
2537
+ # JSON syntax for these settings is as follows: `\{
2501
2538
  # "ServiceAccessRoleArn": "string", "BucketName": "string",
2502
2539
  # "CompressionType": "none"|"gzip" \} `
2503
2540
  # @return [Types::DmsTransferSettings]
@@ -2974,6 +3011,7 @@ module Aws::DatabaseMigrationService
2974
3011
  # include_op_for_full_load: false,
2975
3012
  # cdc_inserts_only: false,
2976
3013
  # timestamp_column_name: "String",
3014
+ # parquet_timestamp_in_millisecond: false,
2977
3015
  # },
2978
3016
  # dms_transfer_settings: {
2979
3017
  # service_access_role_arn: "String",
@@ -3612,7 +3650,7 @@ module Aws::DatabaseMigrationService
3612
3650
  # Valid values: DEFAULT, MONGODB\_CR, SCRAM\_SHA\_1
3613
3651
  #
3614
3652
  # DEFAULT – For MongoDB version 2.x, use MONGODB\_CR. For MongoDB
3615
- # version 3.x, use SCRAM\_SHA\_1. This attribute is not used when
3653
+ # version 3.x, use SCRAM\_SHA\_1. This setting is not used when
3616
3654
  # authType=No.
3617
3655
  # @return [String]
3618
3656
  #
@@ -3626,7 +3664,7 @@ module Aws::DatabaseMigrationService
3626
3664
  # @return [String]
3627
3665
  #
3628
3666
  # @!attribute [rw] extract_doc_id
3629
- # Specifies the document ID. Use this attribute when `NestingLevel` is
3667
+ # Specifies the document ID. Use this setting when `NestingLevel` is
3630
3668
  # set to NONE.
3631
3669
  #
3632
3670
  # Default value is false.
@@ -3634,14 +3672,14 @@ module Aws::DatabaseMigrationService
3634
3672
  #
3635
3673
  # @!attribute [rw] docs_to_investigate
3636
3674
  # Indicates the number of documents to preview to determine the
3637
- # document organization. Use this attribute when `NestingLevel` is set
3675
+ # document organization. Use this setting when `NestingLevel` is set
3638
3676
  # to ONE.
3639
3677
  #
3640
3678
  # Must be a positive value greater than 0. Default value is 1000.
3641
3679
  # @return [String]
3642
3680
  #
3643
3681
  # @!attribute [rw] auth_source
3644
- # The MongoDB database name. This attribute is not used when
3682
+ # The MongoDB database name. This setting is not used when
3645
3683
  # `authType=NO`.
3646
3684
  #
3647
3685
  # The default is admin.
@@ -3719,7 +3757,8 @@ module Aws::DatabaseMigrationService
3719
3757
  # replication instance is in Beta or test mode. This indicates some
3720
3758
  # features might not work as expected.
3721
3759
  #
3722
- # <note markdown="1"> AWS DMS supports `ReleaseStatus` in versions 3.1.4 and later.
3760
+ # <note markdown="1"> AWS DMS supports the `ReleaseStatus` parameter in versions 3.1.4 and
3761
+ # later.
3723
3762
  #
3724
3763
  # </note>
3725
3764
  # @return [String]
@@ -4742,6 +4781,7 @@ module Aws::DatabaseMigrationService
4742
4781
  # include_op_for_full_load: false,
4743
4782
  # cdc_inserts_only: false,
4744
4783
  # timestamp_column_name: "String",
4784
+ # parquet_timestamp_in_millisecond: false,
4745
4785
  # }
4746
4786
  #
4747
4787
  # @!attribute [rw] service_access_role_arn
@@ -4894,7 +4934,8 @@ module Aws::DatabaseMigrationService
4894
4934
  # comma-separated value (.csv) output files only to indicate how the
4895
4935
  # rows were added to the source database.
4896
4936
  #
4897
- # <note markdown="1"> AWS DMS supports `IncludeOpForFullLoad` in versions 3.1.4 and later.
4937
+ # <note markdown="1"> AWS DMS supports the `IncludeOpForFullLoad` parameter in versions
4938
+ # 3.1.4 and later.
4898
4939
  #
4899
4940
  # </note>
4900
4941
  #
@@ -4906,10 +4947,11 @@ module Aws::DatabaseMigrationService
4906
4947
  # file. This allows the format of your target records from a full load
4907
4948
  # to be consistent with the target records from a CDC load.
4908
4949
  #
4909
- # <note markdown="1"> This setting works together with `CdcInsertsOnly` for output to .csv
4910
- # files only. For more information about how these settings work
4911
- # together, see [Indicating Source DB Operations in Migrated S3
4912
- # Data][1] in the *AWS Database Migration Service User Guide.*.
4950
+ # <note markdown="1"> This setting works together with the `CdcInsertsOnly` parameter for
4951
+ # output to .csv files only. For more information about how these
4952
+ # settings work together, see [Indicating Source DB Operations in
4953
+ # Migrated S3 Data][1] in the *AWS Database Migration Service User
4954
+ # Guide.*.
4913
4955
  #
4914
4956
  # </note>
4915
4957
  #
@@ -4927,7 +4969,7 @@ module Aws::DatabaseMigrationService
4927
4969
  # updated, or deleted at the source database for a CDC load to the
4928
4970
  # target.
4929
4971
  #
4930
- # If `cdcInsertsOnly` is set to `true` or `y`, only INSERTs from the
4972
+ # If `CdcInsertsOnly` is set to `true` or `y`, only INSERTs from the
4931
4973
  # source database are migrated to the .csv or .parquet file. For .csv
4932
4974
  # format only, how these INSERTs are recorded depends on the value of
4933
4975
  # `IncludeOpForFullLoad`. If `IncludeOpForFullLoad` is set to `true`,
@@ -4939,8 +4981,8 @@ module Aws::DatabaseMigrationService
4939
4981
  # Operations in Migrated S3 Data][1] in the *AWS Database Migration
4940
4982
  # Service User Guide.*.
4941
4983
  #
4942
- # <note markdown="1"> AWS DMS supports this interaction between `CdcInsertsOnly` and
4943
- # `IncludeOpForFullLoad` in versions 3.1.4 and later.
4984
+ # <note markdown="1"> AWS DMS supports this interaction between the `CdcInsertsOnly` and
4985
+ # `IncludeOpForFullLoad` parameters in versions 3.1.4 and later.
4944
4986
  #
4945
4987
  # </note>
4946
4988
  #
@@ -4950,26 +4992,66 @@ module Aws::DatabaseMigrationService
4950
4992
  # @return [Boolean]
4951
4993
  #
4952
4994
  # @!attribute [rw] timestamp_column_name
4953
- # A value that includes a timestamp column in the Amazon S3 target
4954
- # endpoint data. AWS DMS includes an additional column in the migrated
4955
- # data when you set `timestampColumnName` to a non-blank value.
4995
+ # A value that when nonblank causes AWS DMS to add a column with
4996
+ # timestamp information to the endpoint data for an Amazon S3 target.
4956
4997
  #
4957
- # <note markdown="1"> AWS DMS supports `TimestampColumnName` in versions 3.1.4 and later.
4998
+ # <note markdown="1"> AWS DMS supports the `TimestampColumnName` parameter in versions
4999
+ # 3.1.4 and later.
4958
5000
  #
4959
5001
  # </note>
4960
5002
  #
4961
- # For a full load, each row of the timestamp column contains a
5003
+ # DMS includes an additional `STRING` column in the .csv or .parquet
5004
+ # object files of your migrated data when you set
5005
+ # `TimestampColumnName` to a nonblank value.
5006
+ #
5007
+ # For a full load, each row of this timestamp column contains a
4962
5008
  # timestamp for when the data was transferred from the source to the
4963
- # target by DMS. For a CDC load, each row of the timestamp column
4964
- # contains the timestamp for the commit of that row in the source
4965
- # database. The format for the timestamp column value is `yyyy-MM-dd
4966
- # HH:mm:ss.SSSSSS`. For CDC, the microsecond precision depends on the
4967
- # commit timestamp supported by DMS for the source database. When the
4968
- # `AddColumnName` setting is set to `true`, DMS also includes the name
4969
- # for the timestamp column that you set as the nonblank value of
4970
- # `timestampColumnName`.
5009
+ # target by DMS.
5010
+ #
5011
+ # For a change data capture (CDC) load, each row of the timestamp
5012
+ # column contains the timestamp for the commit of that row in the
5013
+ # source database.
5014
+ #
5015
+ # The string format for this timestamp column value is `yyyy-MM-dd
5016
+ # HH:mm:ss.SSSSSS`. By default, the precision of this value is in
5017
+ # microseconds. For a CDC load, the rounding of the precision depends
5018
+ # on the commit timestamp supported by DMS for the source database.
5019
+ #
5020
+ # When the `AddColumnName` parameter is set to `true`, DMS also
5021
+ # includes a name for the timestamp column that you set with
5022
+ # `TimestampColumnName`.
4971
5023
  # @return [String]
4972
5024
  #
5025
+ # @!attribute [rw] parquet_timestamp_in_millisecond
5026
+ # A value that specifies the precision of any `TIMESTAMP` column
5027
+ # values that are written to an Amazon S3 object file in .parquet
5028
+ # format.
5029
+ #
5030
+ # <note markdown="1"> AWS DMS supports the `ParquetTimestampInMillisecond` parameter in
5031
+ # versions 3.1.4 and later.
5032
+ #
5033
+ # </note>
5034
+ #
5035
+ # When `ParquetTimestampInMillisecond` is set to `true` or `y`, AWS
5036
+ # DMS writes all `TIMESTAMP` columns in a .parquet formatted file with
5037
+ # millisecond precision. Otherwise, DMS writes them with microsecond
5038
+ # precision.
5039
+ #
5040
+ # Currently, Amazon Athena and AWS Glue can handle only millisecond
5041
+ # precision for `TIMESTAMP` values. Set this parameter to `true` for
5042
+ # S3 endpoint object files that are .parquet formatted only if you
5043
+ # plan to query or process the data with Athena or AWS Glue.
5044
+ #
5045
+ # <note markdown="1"> AWS DMS writes any `TIMESTAMP` column values written to an S3 file
5046
+ # in .csv format with microsecond precision.
5047
+ #
5048
+ # Setting `ParquetTimestampInMillisecond` has no effect on the string
5049
+ # format of the timestamp column value that is inserted by setting the
5050
+ # `TimestampColumnName` parameter.
5051
+ #
5052
+ # </note>
5053
+ # @return [Boolean]
5054
+ #
4973
5055
  # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/S3Settings AWS API Documentation
4974
5056
  #
4975
5057
  class S3Settings < Struct.new(
@@ -4991,7 +5073,8 @@ module Aws::DatabaseMigrationService
4991
5073
  :enable_statistics,
4992
5074
  :include_op_for_full_load,
4993
5075
  :cdc_inserts_only,
4994
- :timestamp_column_name)
5076
+ :timestamp_column_name,
5077
+ :parquet_timestamp_in_millisecond)
4995
5078
  include Aws::Structure
4996
5079
  end
4997
5080
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-databasemigrationservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.27.0
4
+ version: 1.28.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-25 00:00:00.000000000 Z
11
+ date: 2019-09-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core