aws-sdk-databasemigrationservice 1.2.0 → 1.3.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: 6714d48430c56200b55e5b4798eb7798739e645b
4
- data.tar.gz: 9126264db576b1717d2a9a45f41eb63f3c08e352
3
+ metadata.gz: 85ece83219d42b115f090de9ee098f5ccbbbf625
4
+ data.tar.gz: 4bb2439917b50270d58ef2e19241bc3839726921
5
5
  SHA512:
6
- metadata.gz: 78771ff76378c2c984fdc6fed186e9bd1b54e4003aaeba7fe5257e68dcf3c053f8fb343444e06420970c3497a4bc60ddb903367578b536119dfd02ab7c7355d7
7
- data.tar.gz: 8f0fd4cc77b9e262effaa0a1be658cbfb95136f3f631314340bed1086b4439dc26f353504839cd6f9e9d61cca50e5f12208871d36788d4fb6a393fb695c034c1
6
+ metadata.gz: b6a0a6acad526d595ea0e517059830eba40bb44e155ffd23d529f3a8c115fa436d8ae4fbeb90c6afc4bae0234042ab8f7084164016986960edc1a916df56ceb5
7
+ data.tar.gz: 688e2e9f3f0d479fd3e5017cae33a60097efc188f79472cafb9ca04945fda65526d898c2da9a41fa9a25171adcd2b2e5940a570504e842e8411c94d1dc2483ae
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-databasemigrationservice/customizations'
42
42
  # @service
43
43
  module Aws::DatabaseMigrationService
44
44
 
45
- GEM_VERSION = '1.2.0'
45
+ GEM_VERSION = '1.3.0'
46
46
 
47
47
  end
@@ -256,7 +256,7 @@ module Aws::DatabaseMigrationService
256
256
  # Tags to be added to the endpoint.
257
257
  #
258
258
  # @option params [String] :certificate_arn
259
- # The Amazon Resource Number (ARN) for the certificate.
259
+ # The Amazon Resource Name (ARN) for the certificate.
260
260
  #
261
261
  # @option params [String] :ssl_mode
262
262
  # The SSL mode to use for the SSL connection.
@@ -2409,6 +2409,66 @@ module Aws::DatabaseMigrationService
2409
2409
  req.send_request(options)
2410
2410
  end
2411
2411
 
2412
+ # Returns the task assessment results from Amazon S3. This action always
2413
+ # returns the latest results.
2414
+ #
2415
+ # @option params [String] :replication_task_arn
2416
+ # \- The Amazon Resource Name (ARN) string that uniquely identifies the
2417
+ # task. When this input parameter is specified the API will return only
2418
+ # one result and ignore the values of the max-records and marker
2419
+ # parameters.
2420
+ #
2421
+ # @option params [Integer] :max_records
2422
+ # The maximum number of records to include in the response. If more
2423
+ # records exist than the specified `MaxRecords` value, a pagination
2424
+ # token called a marker is included in the response so that the
2425
+ # remaining results can be retrieved.
2426
+ #
2427
+ # Default: 100
2428
+ #
2429
+ # Constraints: Minimum 20, maximum 100.
2430
+ #
2431
+ # @option params [String] :marker
2432
+ # An optional pagination token provided by a previous request. If this
2433
+ # parameter is specified, the response includes only records beyond the
2434
+ # marker, up to the value specified by `MaxRecords`.
2435
+ #
2436
+ # @return [Types::DescribeReplicationTaskAssessmentResultsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2437
+ #
2438
+ # * {Types::DescribeReplicationTaskAssessmentResultsResponse#marker #marker} => String
2439
+ # * {Types::DescribeReplicationTaskAssessmentResultsResponse#bucket_name #bucket_name} => String
2440
+ # * {Types::DescribeReplicationTaskAssessmentResultsResponse#replication_task_assessment_results #replication_task_assessment_results} => Array<Types::ReplicationTaskAssessmentResult>
2441
+ #
2442
+ # @example Request syntax with placeholder values
2443
+ #
2444
+ # resp = client.describe_replication_task_assessment_results({
2445
+ # replication_task_arn: "String",
2446
+ # max_records: 1,
2447
+ # marker: "String",
2448
+ # })
2449
+ #
2450
+ # @example Response structure
2451
+ #
2452
+ # resp.marker #=> String
2453
+ # resp.bucket_name #=> String
2454
+ # resp.replication_task_assessment_results #=> Array
2455
+ # resp.replication_task_assessment_results[0].replication_task_identifier #=> String
2456
+ # resp.replication_task_assessment_results[0].replication_task_arn #=> String
2457
+ # resp.replication_task_assessment_results[0].replication_task_last_assessment_date #=> Time
2458
+ # resp.replication_task_assessment_results[0].assessment_status #=> String
2459
+ # resp.replication_task_assessment_results[0].assessment_results_file #=> String
2460
+ # resp.replication_task_assessment_results[0].assessment_results #=> String
2461
+ # resp.replication_task_assessment_results[0].s3_object_url #=> String
2462
+ #
2463
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationTaskAssessmentResults AWS API Documentation
2464
+ #
2465
+ # @overload describe_replication_task_assessment_results(params = {})
2466
+ # @param [Hash] params ({})
2467
+ def describe_replication_task_assessment_results(params = {}, options = {})
2468
+ req = build_request(:describe_replication_task_assessment_results, params)
2469
+ req.send_request(options)
2470
+ end
2471
+
2412
2472
  # Returns information about replication tasks for your account in the
2413
2473
  # current region.
2414
2474
  #
@@ -2665,6 +2725,10 @@ module Aws::DatabaseMigrationService
2665
2725
  # resp.table_statistics[0].full_load_error_rows #=> Integer
2666
2726
  # resp.table_statistics[0].last_update_time #=> Time
2667
2727
  # resp.table_statistics[0].table_state #=> String
2728
+ # resp.table_statistics[0].validation_pending_records #=> Integer
2729
+ # resp.table_statistics[0].validation_failed_records #=> Integer
2730
+ # resp.table_statistics[0].validation_suspended_records #=> Integer
2731
+ # resp.table_statistics[0].validation_state #=> String
2668
2732
  # resp.marker #=> String
2669
2733
  #
2670
2734
  # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeTableStatistics AWS API Documentation
@@ -3571,8 +3635,7 @@ module Aws::DatabaseMigrationService
3571
3635
  # [1]: http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.html
3572
3636
  #
3573
3637
  # @option params [required, String] :replication_task_arn
3574
- # The Amazon Resource Number (ARN) of the replication task to be
3575
- # started.
3638
+ # The Amazon Resource Name (ARN) of the replication task to be started.
3576
3639
  #
3577
3640
  # @option params [required, String] :start_replication_task_type
3578
3641
  # The type of replication task.
@@ -3650,10 +3713,57 @@ module Aws::DatabaseMigrationService
3650
3713
  req.send_request(options)
3651
3714
  end
3652
3715
 
3716
+ # Starts the replication task assessment for unsupported data types in
3717
+ # the source database.
3718
+ #
3719
+ # @option params [required, String] :replication_task_arn
3720
+ # The Amazon Resource Name (ARN) of the replication task.
3721
+ #
3722
+ # @return [Types::StartReplicationTaskAssessmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3723
+ #
3724
+ # * {Types::StartReplicationTaskAssessmentResponse#replication_task #replication_task} => Types::ReplicationTask
3725
+ #
3726
+ # @example Request syntax with placeholder values
3727
+ #
3728
+ # resp = client.start_replication_task_assessment({
3729
+ # replication_task_arn: "String", # required
3730
+ # })
3731
+ #
3732
+ # @example Response structure
3733
+ #
3734
+ # resp.replication_task.replication_task_identifier #=> String
3735
+ # resp.replication_task.source_endpoint_arn #=> String
3736
+ # resp.replication_task.target_endpoint_arn #=> String
3737
+ # resp.replication_task.replication_instance_arn #=> String
3738
+ # resp.replication_task.migration_type #=> String, one of "full-load", "cdc", "full-load-and-cdc"
3739
+ # resp.replication_task.table_mappings #=> String
3740
+ # resp.replication_task.replication_task_settings #=> String
3741
+ # resp.replication_task.status #=> String
3742
+ # resp.replication_task.last_failure_message #=> String
3743
+ # resp.replication_task.stop_reason #=> String
3744
+ # resp.replication_task.replication_task_creation_date #=> Time
3745
+ # resp.replication_task.replication_task_start_date #=> Time
3746
+ # resp.replication_task.replication_task_arn #=> String
3747
+ # resp.replication_task.replication_task_stats.full_load_progress_percent #=> Integer
3748
+ # resp.replication_task.replication_task_stats.elapsed_time_millis #=> Integer
3749
+ # resp.replication_task.replication_task_stats.tables_loaded #=> Integer
3750
+ # resp.replication_task.replication_task_stats.tables_loading #=> Integer
3751
+ # resp.replication_task.replication_task_stats.tables_queued #=> Integer
3752
+ # resp.replication_task.replication_task_stats.tables_errored #=> Integer
3753
+ #
3754
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StartReplicationTaskAssessment AWS API Documentation
3755
+ #
3756
+ # @overload start_replication_task_assessment(params = {})
3757
+ # @param [Hash] params ({})
3758
+ def start_replication_task_assessment(params = {}, options = {})
3759
+ req = build_request(:start_replication_task_assessment, params)
3760
+ req.send_request(options)
3761
+ end
3762
+
3653
3763
  # Stops the replication task.
3654
3764
  #
3655
3765
  # @option params [required, String] :replication_task_arn
3656
- # The Amazon Resource Number(ARN) of the replication task to be stopped.
3766
+ # The Amazon Resource Name(ARN) of the replication task to be stopped.
3657
3767
  #
3658
3768
  # @return [Types::StopReplicationTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3659
3769
  #
@@ -3789,7 +3899,7 @@ module Aws::DatabaseMigrationService
3789
3899
  params: params,
3790
3900
  config: config)
3791
3901
  context[:gem_name] = 'aws-sdk-databasemigrationservice'
3792
- context[:gem_version] = '1.2.0'
3902
+ context[:gem_version] = '1.3.0'
3793
3903
  Seahorse::Client::Request.new(handlers, context)
3794
3904
  end
3795
3905
 
@@ -73,6 +73,8 @@ module Aws::DatabaseMigrationService
73
73
  DescribeReplicationInstancesResponse = Shapes::StructureShape.new(name: 'DescribeReplicationInstancesResponse')
74
74
  DescribeReplicationSubnetGroupsMessage = Shapes::StructureShape.new(name: 'DescribeReplicationSubnetGroupsMessage')
75
75
  DescribeReplicationSubnetGroupsResponse = Shapes::StructureShape.new(name: 'DescribeReplicationSubnetGroupsResponse')
76
+ DescribeReplicationTaskAssessmentResultsMessage = Shapes::StructureShape.new(name: 'DescribeReplicationTaskAssessmentResultsMessage')
77
+ DescribeReplicationTaskAssessmentResultsResponse = Shapes::StructureShape.new(name: 'DescribeReplicationTaskAssessmentResultsResponse')
76
78
  DescribeReplicationTasksMessage = Shapes::StructureShape.new(name: 'DescribeReplicationTasksMessage')
77
79
  DescribeReplicationTasksResponse = Shapes::StructureShape.new(name: 'DescribeReplicationTasksResponse')
78
80
  DescribeSchemasMessage = Shapes::StructureShape.new(name: 'DescribeSchemasMessage')
@@ -140,6 +142,8 @@ module Aws::DatabaseMigrationService
140
142
  ReplicationSubnetGroupDoesNotCoverEnoughAZs = Shapes::StructureShape.new(name: 'ReplicationSubnetGroupDoesNotCoverEnoughAZs')
141
143
  ReplicationSubnetGroups = Shapes::ListShape.new(name: 'ReplicationSubnetGroups')
142
144
  ReplicationTask = Shapes::StructureShape.new(name: 'ReplicationTask')
145
+ ReplicationTaskAssessmentResult = Shapes::StructureShape.new(name: 'ReplicationTaskAssessmentResult')
146
+ ReplicationTaskAssessmentResultList = Shapes::ListShape.new(name: 'ReplicationTaskAssessmentResultList')
143
147
  ReplicationTaskList = Shapes::ListShape.new(name: 'ReplicationTaskList')
144
148
  ReplicationTaskStats = Shapes::StructureShape.new(name: 'ReplicationTaskStats')
145
149
  ResourceAlreadyExistsFault = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsFault')
@@ -152,6 +156,8 @@ module Aws::DatabaseMigrationService
152
156
  SecretString = Shapes::StringShape.new(name: 'SecretString')
153
157
  SourceIdsList = Shapes::ListShape.new(name: 'SourceIdsList')
154
158
  SourceType = Shapes::StringShape.new(name: 'SourceType')
159
+ StartReplicationTaskAssessmentMessage = Shapes::StructureShape.new(name: 'StartReplicationTaskAssessmentMessage')
160
+ StartReplicationTaskAssessmentResponse = Shapes::StructureShape.new(name: 'StartReplicationTaskAssessmentResponse')
155
161
  StartReplicationTaskMessage = Shapes::StructureShape.new(name: 'StartReplicationTaskMessage')
156
162
  StartReplicationTaskResponse = Shapes::StructureShape.new(name: 'StartReplicationTaskResponse')
157
163
  StartReplicationTaskTypeValue = Shapes::StringShape.new(name: 'StartReplicationTaskTypeValue')
@@ -184,7 +190,7 @@ module Aws::DatabaseMigrationService
184
190
  AccountQuota.add_member(:max, Shapes::ShapeRef.new(shape: Long, location_name: "Max"))
185
191
  AccountQuota.struct_class = Types::AccountQuota
186
192
 
187
- AccountQuotaList.member = Shapes::ShapeRef.new(shape: AccountQuota, location_name: "AccountQuota")
193
+ AccountQuotaList.member = Shapes::ShapeRef.new(shape: AccountQuota)
188
194
 
189
195
  AddTagsToResourceMessage.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceArn"))
190
196
  AddTagsToResourceMessage.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
@@ -207,7 +213,7 @@ module Aws::DatabaseMigrationService
207
213
  Certificate.add_member(:key_length, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "KeyLength"))
208
214
  Certificate.struct_class = Types::Certificate
209
215
 
210
- CertificateList.member = Shapes::ShapeRef.new(shape: Certificate, location_name: "Certificate")
216
+ CertificateList.member = Shapes::ShapeRef.new(shape: Certificate)
211
217
 
212
218
  Connection.add_member(:replication_instance_arn, Shapes::ShapeRef.new(shape: String, location_name: "ReplicationInstanceArn"))
213
219
  Connection.add_member(:endpoint_arn, Shapes::ShapeRef.new(shape: String, location_name: "EndpointArn"))
@@ -217,7 +223,7 @@ module Aws::DatabaseMigrationService
217
223
  Connection.add_member(:replication_instance_identifier, Shapes::ShapeRef.new(shape: String, location_name: "ReplicationInstanceIdentifier"))
218
224
  Connection.struct_class = Types::Connection
219
225
 
220
- ConnectionList.member = Shapes::ShapeRef.new(shape: Connection, location_name: "Connection")
226
+ ConnectionList.member = Shapes::ShapeRef.new(shape: Connection)
221
227
 
222
228
  CreateEndpointMessage.add_member(:endpoint_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "EndpointIdentifier"))
223
229
  CreateEndpointMessage.add_member(:endpoint_type, Shapes::ShapeRef.new(shape: ReplicationEndpointTypeValue, required: true, location_name: "EndpointType"))
@@ -433,6 +439,16 @@ module Aws::DatabaseMigrationService
433
439
  DescribeReplicationSubnetGroupsResponse.add_member(:replication_subnet_groups, Shapes::ShapeRef.new(shape: ReplicationSubnetGroups, location_name: "ReplicationSubnetGroups"))
434
440
  DescribeReplicationSubnetGroupsResponse.struct_class = Types::DescribeReplicationSubnetGroupsResponse
435
441
 
442
+ DescribeReplicationTaskAssessmentResultsMessage.add_member(:replication_task_arn, Shapes::ShapeRef.new(shape: String, location_name: "ReplicationTaskArn"))
443
+ DescribeReplicationTaskAssessmentResultsMessage.add_member(:max_records, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxRecords"))
444
+ DescribeReplicationTaskAssessmentResultsMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
445
+ DescribeReplicationTaskAssessmentResultsMessage.struct_class = Types::DescribeReplicationTaskAssessmentResultsMessage
446
+
447
+ DescribeReplicationTaskAssessmentResultsResponse.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
448
+ DescribeReplicationTaskAssessmentResultsResponse.add_member(:bucket_name, Shapes::ShapeRef.new(shape: String, location_name: "BucketName"))
449
+ DescribeReplicationTaskAssessmentResultsResponse.add_member(:replication_task_assessment_results, Shapes::ShapeRef.new(shape: ReplicationTaskAssessmentResultList, location_name: "ReplicationTaskAssessmentResults"))
450
+ DescribeReplicationTaskAssessmentResultsResponse.struct_class = Types::DescribeReplicationTaskAssessmentResultsResponse
451
+
436
452
  DescribeReplicationTasksMessage.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filters"))
437
453
  DescribeReplicationTasksMessage.add_member(:max_records, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxRecords"))
438
454
  DescribeReplicationTasksMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
@@ -484,7 +500,7 @@ module Aws::DatabaseMigrationService
484
500
  Endpoint.add_member(:mongo_db_settings, Shapes::ShapeRef.new(shape: MongoDbSettings, location_name: "MongoDbSettings"))
485
501
  Endpoint.struct_class = Types::Endpoint
486
502
 
487
- EndpointList.member = Shapes::ShapeRef.new(shape: Endpoint, location_name: "Endpoint")
503
+ EndpointList.member = Shapes::ShapeRef.new(shape: Endpoint)
488
504
 
489
505
  Event.add_member(:source_identifier, Shapes::ShapeRef.new(shape: String, location_name: "SourceIdentifier"))
490
506
  Event.add_member(:source_type, Shapes::ShapeRef.new(shape: SourceType, location_name: "SourceType"))
@@ -493,15 +509,15 @@ module Aws::DatabaseMigrationService
493
509
  Event.add_member(:date, Shapes::ShapeRef.new(shape: TStamp, location_name: "Date"))
494
510
  Event.struct_class = Types::Event
495
511
 
496
- EventCategoriesList.member = Shapes::ShapeRef.new(shape: String, location_name: "EventCategory")
512
+ EventCategoriesList.member = Shapes::ShapeRef.new(shape: String)
497
513
 
498
514
  EventCategoryGroup.add_member(:source_type, Shapes::ShapeRef.new(shape: String, location_name: "SourceType"))
499
515
  EventCategoryGroup.add_member(:event_categories, Shapes::ShapeRef.new(shape: EventCategoriesList, location_name: "EventCategories"))
500
516
  EventCategoryGroup.struct_class = Types::EventCategoryGroup
501
517
 
502
- EventCategoryGroupList.member = Shapes::ShapeRef.new(shape: EventCategoryGroup, location_name: "EventCategoryGroup")
518
+ EventCategoryGroupList.member = Shapes::ShapeRef.new(shape: EventCategoryGroup)
503
519
 
504
- EventList.member = Shapes::ShapeRef.new(shape: Event, location_name: "Event")
520
+ EventList.member = Shapes::ShapeRef.new(shape: Event)
505
521
 
506
522
  EventSubscription.add_member(:customer_aws_id, Shapes::ShapeRef.new(shape: String, location_name: "CustomerAwsId"))
507
523
  EventSubscription.add_member(:cust_subscription_id, Shapes::ShapeRef.new(shape: String, location_name: "CustSubscriptionId"))
@@ -514,15 +530,15 @@ module Aws::DatabaseMigrationService
514
530
  EventSubscription.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled"))
515
531
  EventSubscription.struct_class = Types::EventSubscription
516
532
 
517
- EventSubscriptionsList.member = Shapes::ShapeRef.new(shape: EventSubscription, location_name: "EventSubscription")
533
+ EventSubscriptionsList.member = Shapes::ShapeRef.new(shape: EventSubscription)
518
534
 
519
535
  Filter.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
520
536
  Filter.add_member(:values, Shapes::ShapeRef.new(shape: FilterValueList, required: true, location_name: "Values"))
521
537
  Filter.struct_class = Types::Filter
522
538
 
523
- FilterList.member = Shapes::ShapeRef.new(shape: Filter, location_name: "Filter")
539
+ FilterList.member = Shapes::ShapeRef.new(shape: Filter)
524
540
 
525
- FilterValueList.member = Shapes::ShapeRef.new(shape: String, location_name: "Value")
541
+ FilterValueList.member = Shapes::ShapeRef.new(shape: String)
526
542
 
527
543
  ImportCertificateMessage.add_member(:certificate_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "CertificateIdentifier"))
528
544
  ImportCertificateMessage.add_member(:certificate_pem, Shapes::ShapeRef.new(shape: String, location_name: "CertificatePem"))
@@ -628,7 +644,7 @@ module Aws::DatabaseMigrationService
628
644
  OrderableReplicationInstance.add_member(:included_allocated_storage, Shapes::ShapeRef.new(shape: Integer, location_name: "IncludedAllocatedStorage"))
629
645
  OrderableReplicationInstance.struct_class = Types::OrderableReplicationInstance
630
646
 
631
- OrderableReplicationInstanceList.member = Shapes::ShapeRef.new(shape: OrderableReplicationInstance, location_name: "OrderableReplicationInstance")
647
+ OrderableReplicationInstanceList.member = Shapes::ShapeRef.new(shape: OrderableReplicationInstance)
632
648
 
633
649
  RefreshSchemasMessage.add_member(:endpoint_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "EndpointArn"))
634
650
  RefreshSchemasMessage.add_member(:replication_instance_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReplicationInstanceArn"))
@@ -680,7 +696,7 @@ module Aws::DatabaseMigrationService
680
696
  ReplicationInstance.add_member(:secondary_availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "SecondaryAvailabilityZone"))
681
697
  ReplicationInstance.struct_class = Types::ReplicationInstance
682
698
 
683
- ReplicationInstanceList.member = Shapes::ShapeRef.new(shape: ReplicationInstance, location_name: "ReplicationInstance")
699
+ ReplicationInstanceList.member = Shapes::ShapeRef.new(shape: ReplicationInstance)
684
700
 
685
701
  ReplicationInstancePrivateIpAddressList.member = Shapes::ShapeRef.new(shape: String)
686
702
 
@@ -699,7 +715,7 @@ module Aws::DatabaseMigrationService
699
715
  ReplicationSubnetGroup.add_member(:subnets, Shapes::ShapeRef.new(shape: SubnetList, location_name: "Subnets"))
700
716
  ReplicationSubnetGroup.struct_class = Types::ReplicationSubnetGroup
701
717
 
702
- ReplicationSubnetGroups.member = Shapes::ShapeRef.new(shape: ReplicationSubnetGroup, location_name: "ReplicationSubnetGroup")
718
+ ReplicationSubnetGroups.member = Shapes::ShapeRef.new(shape: ReplicationSubnetGroup)
703
719
 
704
720
  ReplicationTask.add_member(:replication_task_identifier, Shapes::ShapeRef.new(shape: String, location_name: "ReplicationTaskIdentifier"))
705
721
  ReplicationTask.add_member(:source_endpoint_arn, Shapes::ShapeRef.new(shape: String, location_name: "SourceEndpointArn"))
@@ -717,7 +733,18 @@ module Aws::DatabaseMigrationService
717
733
  ReplicationTask.add_member(:replication_task_stats, Shapes::ShapeRef.new(shape: ReplicationTaskStats, location_name: "ReplicationTaskStats"))
718
734
  ReplicationTask.struct_class = Types::ReplicationTask
719
735
 
720
- ReplicationTaskList.member = Shapes::ShapeRef.new(shape: ReplicationTask, location_name: "ReplicationTask")
736
+ ReplicationTaskAssessmentResult.add_member(:replication_task_identifier, Shapes::ShapeRef.new(shape: String, location_name: "ReplicationTaskIdentifier"))
737
+ ReplicationTaskAssessmentResult.add_member(:replication_task_arn, Shapes::ShapeRef.new(shape: String, location_name: "ReplicationTaskArn"))
738
+ ReplicationTaskAssessmentResult.add_member(:replication_task_last_assessment_date, Shapes::ShapeRef.new(shape: TStamp, location_name: "ReplicationTaskLastAssessmentDate"))
739
+ ReplicationTaskAssessmentResult.add_member(:assessment_status, Shapes::ShapeRef.new(shape: String, location_name: "AssessmentStatus"))
740
+ ReplicationTaskAssessmentResult.add_member(:assessment_results_file, Shapes::ShapeRef.new(shape: String, location_name: "AssessmentResultsFile"))
741
+ ReplicationTaskAssessmentResult.add_member(:assessment_results, Shapes::ShapeRef.new(shape: String, location_name: "AssessmentResults"))
742
+ ReplicationTaskAssessmentResult.add_member(:s3_object_url, Shapes::ShapeRef.new(shape: String, location_name: "S3ObjectUrl"))
743
+ ReplicationTaskAssessmentResult.struct_class = Types::ReplicationTaskAssessmentResult
744
+
745
+ ReplicationTaskAssessmentResultList.member = Shapes::ShapeRef.new(shape: ReplicationTaskAssessmentResult)
746
+
747
+ ReplicationTaskList.member = Shapes::ShapeRef.new(shape: ReplicationTask)
721
748
 
722
749
  ReplicationTaskStats.add_member(:full_load_progress_percent, Shapes::ShapeRef.new(shape: Integer, location_name: "FullLoadProgressPercent"))
723
750
  ReplicationTaskStats.add_member(:elapsed_time_millis, Shapes::ShapeRef.new(shape: Long, location_name: "ElapsedTimeMillis"))
@@ -738,7 +765,13 @@ module Aws::DatabaseMigrationService
738
765
 
739
766
  SchemaList.member = Shapes::ShapeRef.new(shape: String)
740
767
 
741
- SourceIdsList.member = Shapes::ShapeRef.new(shape: String, location_name: "SourceId")
768
+ SourceIdsList.member = Shapes::ShapeRef.new(shape: String)
769
+
770
+ StartReplicationTaskAssessmentMessage.add_member(:replication_task_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReplicationTaskArn"))
771
+ StartReplicationTaskAssessmentMessage.struct_class = Types::StartReplicationTaskAssessmentMessage
772
+
773
+ StartReplicationTaskAssessmentResponse.add_member(:replication_task, Shapes::ShapeRef.new(shape: ReplicationTask, location_name: "ReplicationTask"))
774
+ StartReplicationTaskAssessmentResponse.struct_class = Types::StartReplicationTaskAssessmentResponse
742
775
 
743
776
  StartReplicationTaskMessage.add_member(:replication_task_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReplicationTaskArn"))
744
777
  StartReplicationTaskMessage.add_member(:start_replication_task_type, Shapes::ShapeRef.new(shape: StartReplicationTaskTypeValue, required: true, location_name: "StartReplicationTaskType"))
@@ -759,16 +792,16 @@ module Aws::DatabaseMigrationService
759
792
  Subnet.add_member(:subnet_status, Shapes::ShapeRef.new(shape: String, location_name: "SubnetStatus"))
760
793
  Subnet.struct_class = Types::Subnet
761
794
 
762
- SubnetIdentifierList.member = Shapes::ShapeRef.new(shape: String, location_name: "SubnetIdentifier")
795
+ SubnetIdentifierList.member = Shapes::ShapeRef.new(shape: String)
763
796
 
764
- SubnetList.member = Shapes::ShapeRef.new(shape: Subnet, location_name: "Subnet")
797
+ SubnetList.member = Shapes::ShapeRef.new(shape: Subnet)
765
798
 
766
799
  SupportedEndpointType.add_member(:engine_name, Shapes::ShapeRef.new(shape: String, location_name: "EngineName"))
767
800
  SupportedEndpointType.add_member(:supports_cdc, Shapes::ShapeRef.new(shape: Boolean, location_name: "SupportsCDC"))
768
801
  SupportedEndpointType.add_member(:endpoint_type, Shapes::ShapeRef.new(shape: ReplicationEndpointTypeValue, location_name: "EndpointType"))
769
802
  SupportedEndpointType.struct_class = Types::SupportedEndpointType
770
803
 
771
- SupportedEndpointTypeList.member = Shapes::ShapeRef.new(shape: SupportedEndpointType, location_name: "SupportedEndpointType")
804
+ SupportedEndpointTypeList.member = Shapes::ShapeRef.new(shape: SupportedEndpointType)
772
805
 
773
806
  TableListToReload.member = Shapes::ShapeRef.new(shape: TableToReload)
774
807
 
@@ -783,6 +816,10 @@ module Aws::DatabaseMigrationService
783
816
  TableStatistics.add_member(:full_load_error_rows, Shapes::ShapeRef.new(shape: Long, location_name: "FullLoadErrorRows"))
784
817
  TableStatistics.add_member(:last_update_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "LastUpdateTime"))
785
818
  TableStatistics.add_member(:table_state, Shapes::ShapeRef.new(shape: String, location_name: "TableState"))
819
+ TableStatistics.add_member(:validation_pending_records, Shapes::ShapeRef.new(shape: Long, location_name: "ValidationPendingRecords"))
820
+ TableStatistics.add_member(:validation_failed_records, Shapes::ShapeRef.new(shape: Long, location_name: "ValidationFailedRecords"))
821
+ TableStatistics.add_member(:validation_suspended_records, Shapes::ShapeRef.new(shape: Long, location_name: "ValidationSuspendedRecords"))
822
+ TableStatistics.add_member(:validation_state, Shapes::ShapeRef.new(shape: String, location_name: "ValidationState"))
786
823
  TableStatistics.struct_class = Types::TableStatistics
787
824
 
788
825
  TableStatisticsList.member = Shapes::ShapeRef.new(shape: TableStatistics)
@@ -795,7 +832,7 @@ module Aws::DatabaseMigrationService
795
832
  Tag.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "Value"))
796
833
  Tag.struct_class = Types::Tag
797
834
 
798
- TagList.member = Shapes::ShapeRef.new(shape: Tag, location_name: "Tag")
835
+ TagList.member = Shapes::ShapeRef.new(shape: Tag)
799
836
 
800
837
  TestConnectionMessage.add_member(:replication_instance_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReplicationInstanceArn"))
801
838
  TestConnectionMessage.add_member(:endpoint_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "EndpointArn"))
@@ -804,13 +841,13 @@ module Aws::DatabaseMigrationService
804
841
  TestConnectionResponse.add_member(:connection, Shapes::ShapeRef.new(shape: Connection, location_name: "Connection"))
805
842
  TestConnectionResponse.struct_class = Types::TestConnectionResponse
806
843
 
807
- VpcSecurityGroupIdList.member = Shapes::ShapeRef.new(shape: String, location_name: "VpcSecurityGroupId")
844
+ VpcSecurityGroupIdList.member = Shapes::ShapeRef.new(shape: String)
808
845
 
809
846
  VpcSecurityGroupMembership.add_member(:vpc_security_group_id, Shapes::ShapeRef.new(shape: String, location_name: "VpcSecurityGroupId"))
810
847
  VpcSecurityGroupMembership.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "Status"))
811
848
  VpcSecurityGroupMembership.struct_class = Types::VpcSecurityGroupMembership
812
849
 
813
- VpcSecurityGroupMembershipList.member = Shapes::ShapeRef.new(shape: VpcSecurityGroupMembership, location_name: "VpcSecurityGroupMembership")
850
+ VpcSecurityGroupMembershipList.member = Shapes::ShapeRef.new(shape: VpcSecurityGroupMembership)
814
851
 
815
852
 
816
853
  # @api private
@@ -1127,6 +1164,21 @@ module Aws::DatabaseMigrationService
1127
1164
  )
1128
1165
  end)
1129
1166
 
1167
+ api.add_operation(:describe_replication_task_assessment_results, Seahorse::Model::Operation.new.tap do |o|
1168
+ o.name = "DescribeReplicationTaskAssessmentResults"
1169
+ o.http_method = "POST"
1170
+ o.http_request_uri = "/"
1171
+ o.input = Shapes::ShapeRef.new(shape: DescribeReplicationTaskAssessmentResultsMessage)
1172
+ o.output = Shapes::ShapeRef.new(shape: DescribeReplicationTaskAssessmentResultsResponse)
1173
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundFault)
1174
+ o[:pager] = Aws::Pager.new(
1175
+ limit_key: "max_records",
1176
+ tokens: {
1177
+ "marker" => "marker"
1178
+ }
1179
+ )
1180
+ end)
1181
+
1130
1182
  api.add_operation(:describe_replication_tasks, Seahorse::Model::Operation.new.tap do |o|
1131
1183
  o.name = "DescribeReplicationTasks"
1132
1184
  o.http_method = "POST"
@@ -1299,6 +1351,16 @@ module Aws::DatabaseMigrationService
1299
1351
  o.errors << Shapes::ShapeRef.new(shape: InvalidResourceStateFault)
1300
1352
  end)
1301
1353
 
1354
+ api.add_operation(:start_replication_task_assessment, Seahorse::Model::Operation.new.tap do |o|
1355
+ o.name = "StartReplicationTaskAssessment"
1356
+ o.http_method = "POST"
1357
+ o.http_request_uri = "/"
1358
+ o.input = Shapes::ShapeRef.new(shape: StartReplicationTaskAssessmentMessage)
1359
+ o.output = Shapes::ShapeRef.new(shape: StartReplicationTaskAssessmentResponse)
1360
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResourceStateFault)
1361
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundFault)
1362
+ end)
1363
+
1302
1364
  api.add_operation(:stop_replication_task, Seahorse::Model::Operation.new.tap do |o|
1303
1365
  o.name = "StopReplicationTask"
1304
1366
  o.http_method = "POST"
@@ -282,7 +282,7 @@ module Aws::DatabaseMigrationService
282
282
  # @return [Array<Types::Tag>]
283
283
  #
284
284
  # @!attribute [rw] certificate_arn
285
- # The Amazon Resource Number (ARN) for the certificate.
285
+ # The Amazon Resource Name (ARN) for the certificate.
286
286
  # @return [String]
287
287
  #
288
288
  # @!attribute [rw] ssl_mode
@@ -1631,6 +1631,71 @@ module Aws::DatabaseMigrationService
1631
1631
  include Aws::Structure
1632
1632
  end
1633
1633
 
1634
+ # @note When making an API call, you may pass DescribeReplicationTaskAssessmentResultsMessage
1635
+ # data as a hash:
1636
+ #
1637
+ # {
1638
+ # replication_task_arn: "String",
1639
+ # max_records: 1,
1640
+ # marker: "String",
1641
+ # }
1642
+ #
1643
+ # @!attribute [rw] replication_task_arn
1644
+ # \- The Amazon Resource Name (ARN) string that uniquely identifies the
1645
+ # task. When this input parameter is specified the API will return
1646
+ # only one result and ignore the values of the max-records and marker
1647
+ # parameters.
1648
+ # @return [String]
1649
+ #
1650
+ # @!attribute [rw] max_records
1651
+ # The maximum number of records to include in the response. If more
1652
+ # records exist than the specified `MaxRecords` value, a pagination
1653
+ # token called a marker is included in the response so that the
1654
+ # remaining results can be retrieved.
1655
+ #
1656
+ # Default: 100
1657
+ #
1658
+ # Constraints: Minimum 20, maximum 100.
1659
+ # @return [Integer]
1660
+ #
1661
+ # @!attribute [rw] marker
1662
+ # An optional pagination token provided by a previous request. If this
1663
+ # parameter is specified, the response includes only records beyond
1664
+ # the marker, up to the value specified by `MaxRecords`.
1665
+ # @return [String]
1666
+ #
1667
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationTaskAssessmentResultsMessage AWS API Documentation
1668
+ #
1669
+ class DescribeReplicationTaskAssessmentResultsMessage < Struct.new(
1670
+ :replication_task_arn,
1671
+ :max_records,
1672
+ :marker)
1673
+ include Aws::Structure
1674
+ end
1675
+
1676
+ # @!attribute [rw] marker
1677
+ # An optional pagination token provided by a previous request. If this
1678
+ # parameter is specified, the response includes only records beyond
1679
+ # the marker, up to the value specified by `MaxRecords`.
1680
+ # @return [String]
1681
+ #
1682
+ # @!attribute [rw] bucket_name
1683
+ # \- The Amazon S3 bucket where the task assessment report is located.
1684
+ # @return [String]
1685
+ #
1686
+ # @!attribute [rw] replication_task_assessment_results
1687
+ # The task assessment report.
1688
+ # @return [Array<Types::ReplicationTaskAssessmentResult>]
1689
+ #
1690
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationTaskAssessmentResultsResponse AWS API Documentation
1691
+ #
1692
+ class DescribeReplicationTaskAssessmentResultsResponse < Struct.new(
1693
+ :marker,
1694
+ :bucket_name,
1695
+ :replication_task_assessment_results)
1696
+ include Aws::Structure
1697
+ end
1698
+
1634
1699
  # @note When making an API call, you may pass DescribeReplicationTasksMessage
1635
1700
  # data as a hash:
1636
1701
  #
@@ -3249,6 +3314,50 @@ module Aws::DatabaseMigrationService
3249
3314
  include Aws::Structure
3250
3315
  end
3251
3316
 
3317
+ # The task assessment report in JSON format.
3318
+ #
3319
+ # @!attribute [rw] replication_task_identifier
3320
+ # The replication task identifier of the task on which the task
3321
+ # assessment was run.
3322
+ # @return [String]
3323
+ #
3324
+ # @!attribute [rw] replication_task_arn
3325
+ # The Amazon Resource Name (ARN) of the replication task.
3326
+ # @return [String]
3327
+ #
3328
+ # @!attribute [rw] replication_task_last_assessment_date
3329
+ # The date the task assessment was completed.
3330
+ # @return [Time]
3331
+ #
3332
+ # @!attribute [rw] assessment_status
3333
+ # The status of the task assessment.
3334
+ # @return [String]
3335
+ #
3336
+ # @!attribute [rw] assessment_results_file
3337
+ # The file containing the results of the task assessment.
3338
+ # @return [String]
3339
+ #
3340
+ # @!attribute [rw] assessment_results
3341
+ # The task assessment results in JSON format.
3342
+ # @return [String]
3343
+ #
3344
+ # @!attribute [rw] s3_object_url
3345
+ # The URL of the S3 object containing the task assessment results.
3346
+ # @return [String]
3347
+ #
3348
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ReplicationTaskAssessmentResult AWS API Documentation
3349
+ #
3350
+ class ReplicationTaskAssessmentResult < Struct.new(
3351
+ :replication_task_identifier,
3352
+ :replication_task_arn,
3353
+ :replication_task_last_assessment_date,
3354
+ :assessment_status,
3355
+ :assessment_results_file,
3356
+ :assessment_results,
3357
+ :s3_object_url)
3358
+ include Aws::Structure
3359
+ end
3360
+
3252
3361
  # @!attribute [rw] full_load_progress_percent
3253
3362
  # The percent complete for the full load migration task.
3254
3363
  # @return [Integer]
@@ -3346,6 +3455,35 @@ module Aws::DatabaseMigrationService
3346
3455
  include Aws::Structure
3347
3456
  end
3348
3457
 
3458
+ # @note When making an API call, you may pass StartReplicationTaskAssessmentMessage
3459
+ # data as a hash:
3460
+ #
3461
+ # {
3462
+ # replication_task_arn: "String", # required
3463
+ # }
3464
+ #
3465
+ # @!attribute [rw] replication_task_arn
3466
+ # The Amazon Resource Name (ARN) of the replication task.
3467
+ # @return [String]
3468
+ #
3469
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StartReplicationTaskAssessmentMessage AWS API Documentation
3470
+ #
3471
+ class StartReplicationTaskAssessmentMessage < Struct.new(
3472
+ :replication_task_arn)
3473
+ include Aws::Structure
3474
+ end
3475
+
3476
+ # @!attribute [rw] replication_task
3477
+ # The assessed replication task.
3478
+ # @return [Types::ReplicationTask]
3479
+ #
3480
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StartReplicationTaskAssessmentResponse AWS API Documentation
3481
+ #
3482
+ class StartReplicationTaskAssessmentResponse < Struct.new(
3483
+ :replication_task)
3484
+ include Aws::Structure
3485
+ end
3486
+
3349
3487
  # @note When making an API call, you may pass StartReplicationTaskMessage
3350
3488
  # data as a hash:
3351
3489
  #
@@ -3356,7 +3494,7 @@ module Aws::DatabaseMigrationService
3356
3494
  # }
3357
3495
  #
3358
3496
  # @!attribute [rw] replication_task_arn
3359
- # The Amazon Resource Number (ARN) of the replication task to be
3497
+ # The Amazon Resource Name (ARN) of the replication task to be
3360
3498
  # started.
3361
3499
  # @return [String]
3362
3500
  #
@@ -3396,8 +3534,7 @@ module Aws::DatabaseMigrationService
3396
3534
  # }
3397
3535
  #
3398
3536
  # @!attribute [rw] replication_task_arn
3399
- # The Amazon Resource Number(ARN) of the replication task to be
3400
- # stopped.
3537
+ # The Amazon Resource Name(ARN) of the replication task to be stopped.
3401
3538
  # @return [String]
3402
3539
  #
3403
3540
  # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StopReplicationTaskMessage AWS API Documentation
@@ -3513,6 +3650,48 @@ module Aws::DatabaseMigrationService
3513
3650
  # Table updates \| Table is being reloaded
3514
3651
  # @return [String]
3515
3652
  #
3653
+ # @!attribute [rw] validation_pending_records
3654
+ # The number of records that have yet to be validated.
3655
+ # @return [Integer]
3656
+ #
3657
+ # @!attribute [rw] validation_failed_records
3658
+ # The number of records that failed validation.
3659
+ # @return [Integer]
3660
+ #
3661
+ # @!attribute [rw] validation_suspended_records
3662
+ # The number of records that could not be validated.
3663
+ # @return [Integer]
3664
+ #
3665
+ # @!attribute [rw] validation_state
3666
+ # The validation state of the table.
3667
+ #
3668
+ # The parameter can have the following values
3669
+ #
3670
+ # * Not enabled—Validation is not enabled for the table in the
3671
+ # migration task.
3672
+ #
3673
+ # * Pending records—Some records in the table are waiting for
3674
+ # validation.
3675
+ #
3676
+ # * Mismatched records—Some records in the table do not match between
3677
+ # the source and target.
3678
+ #
3679
+ # * Suspended records—Some records in the table could not be
3680
+ # validated.
3681
+ #
3682
+ # * No primary key—The table could not be validated because it had no
3683
+ # primary key.
3684
+ #
3685
+ # * Table error—The table was not validated because it was in an error
3686
+ # state and some data was not migrated.
3687
+ #
3688
+ # * Validated—All rows in the table were validated. If the table is
3689
+ # updated, the status can change from Validated.
3690
+ #
3691
+ # * Error—The table could not be validated because of an unexpected
3692
+ # error.
3693
+ # @return [String]
3694
+ #
3516
3695
  # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/TableStatistics AWS API Documentation
3517
3696
  #
3518
3697
  class TableStatistics < Struct.new(
@@ -3526,7 +3705,11 @@ module Aws::DatabaseMigrationService
3526
3705
  :full_load_condtnl_chk_failed_rows,
3527
3706
  :full_load_error_rows,
3528
3707
  :last_update_time,
3529
- :table_state)
3708
+ :table_state,
3709
+ :validation_pending_records,
3710
+ :validation_failed_records,
3711
+ :validation_suspended_records,
3712
+ :validation_state)
3530
3713
  include Aws::Structure
3531
3714
  end
3532
3715
 
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.2.0
4
+ version: 1.3.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: 2017-10-12 00:00:00.000000000 Z
11
+ date: 2017-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core