aws-sdk-databasemigrationservice 1.75.0 → 1.76.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
  SHA256:
3
- metadata.gz: cd828cb6a48b5228cd361076b9b93ee2ce835934867120cab5cdbed6d574b1ab
4
- data.tar.gz: 30afc2dbe376351db2da8f11320c77ea677bb50c4ef7867d37e204d3fb45b766
3
+ metadata.gz: eeac53194db418b8b6af53029e6a3e31ba9b8102a0367376c19d4cb6085a8df1
4
+ data.tar.gz: d7bdd5cfad09618598a09a9804b825e2885bdc35f86fa9d8cfc017b760eb94f1
5
5
  SHA512:
6
- metadata.gz: 321c92483cd9173bdd05f3524d677ff898d6a2383ec992445dfbe9b21a5ecb70a2dd7a46ef047fc7b4e6e7d919a941d80ac8db49773f9000adfe89f1bc13da16
7
- data.tar.gz: 3bb16a5a3aa37e17d8e7ccc714bc0198fb0539cbf04c7c1b121f2a24e2eaeed68a44f10b0bef80d8c70b6dacd40bd210e93a256b55f4018f8c92ce236457e294
6
+ metadata.gz: 33417d1f6c836555b380a5a3bb615f3a3208756ea86c052e8239161b1b20f6ed1c01353c13a2be9293b55232ee3a1e9b473c793108bd376821d46bcb9488c3cf
7
+ data.tar.gz: c3c646416d9fed70d9958fb72145cecf4666edb93c12e3b393ae78038375de7dec085cf1c64201f0db98b73e60d5944a97dfed44ea8c3f68a24d3e023ff7e35d
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.76.0 (2023-03-07)
5
+ ------------------
6
+
7
+ * Feature - This release adds DMS Fleet Advisor Target Recommendation APIs and exposes functionality for DMS Fleet Advisor. It adds functionality to start Target Recommendation calculation.
8
+
4
9
  1.75.0 (2023-01-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.75.0
1
+ 1.76.0
@@ -379,7 +379,7 @@ module Aws::DatabaseMigrationService
379
379
  # @!group API Operations
380
380
 
381
381
  # Adds metadata tags to an DMS resource, including replication instance,
382
- # endpoint, security group, and migration task. These tags can also be
382
+ # endpoint, subnet group, and migration task. These tags can also be
383
383
  # used with cost allocation reporting to track cost associated with DMS
384
384
  # resources, or used in a Condition statement in an IAM policy for DMS.
385
385
  # For more information, see [ `Tag` ][1] data type description.
@@ -501,6 +501,59 @@ module Aws::DatabaseMigrationService
501
501
  req.send_request(options)
502
502
  end
503
503
 
504
+ # Starts the analysis of up to 20 source databases to recommend target
505
+ # engines for each source database. This is a batch version of
506
+ # [StartRecommendations][1].
507
+ #
508
+ # The result of analysis of each source database is reported
509
+ # individually in the response. Because the batch request can result in
510
+ # a combination of successful and unsuccessful actions, you should check
511
+ # for batch errors even when the call returns an HTTP status code of
512
+ # `200`.
513
+ #
514
+ #
515
+ #
516
+ # [1]: https://docs.aws.amazon.com/dms/latest/APIReference/API_StartRecommendations.html
517
+ #
518
+ # @option params [Array<Types::StartRecommendationsRequestEntry>] :data
519
+ # Provides information about source databases to analyze. After this
520
+ # analysis, Fleet Advisor recommends target engines for each source
521
+ # database.
522
+ #
523
+ # @return [Types::BatchStartRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
524
+ #
525
+ # * {Types::BatchStartRecommendationsResponse#error_entries #error_entries} => Array&lt;Types::BatchStartRecommendationsErrorEntry&gt;
526
+ #
527
+ # @example Request syntax with placeholder values
528
+ #
529
+ # resp = client.batch_start_recommendations({
530
+ # data: [
531
+ # {
532
+ # database_id: "String", # required
533
+ # settings: { # required
534
+ # instance_sizing_type: "String", # required
535
+ # workload_type: "String", # required
536
+ # },
537
+ # },
538
+ # ],
539
+ # })
540
+ #
541
+ # @example Response structure
542
+ #
543
+ # resp.error_entries #=> Array
544
+ # resp.error_entries[0].database_id #=> String
545
+ # resp.error_entries[0].message #=> String
546
+ # resp.error_entries[0].code #=> String
547
+ #
548
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/BatchStartRecommendations AWS API Documentation
549
+ #
550
+ # @overload batch_start_recommendations(params = {})
551
+ # @param [Hash] params ({})
552
+ def batch_start_recommendations(params = {}, options = {})
553
+ req = build_request(:batch_start_recommendations, params)
554
+ req.send_request(options)
555
+ end
556
+
504
557
  # Cancels a single premigration assessment run.
505
558
  #
506
559
  # This operation prevents any individual assessments from running if
@@ -1733,6 +1786,15 @@ module Aws::DatabaseMigrationService
1733
1786
  #
1734
1787
  # Default: `true`
1735
1788
  #
1789
+ # When `AutoMinorVersionUpgrade` is enabled, DMS uses the current
1790
+ # default engine version when you create a replication instance. For
1791
+ # example, if you set `EngineVersion` to a lower version number than the
1792
+ # current default version, DMS uses the default version.
1793
+ #
1794
+ # If `AutoMinorVersionUpgrade` *isn’t* enabled when you create a
1795
+ # replication instance, DMS uses the engine version specified by the
1796
+ # `EngineVersion` parameter.
1797
+ #
1736
1798
  # @option params [Array<Types::Tag>] :tags
1737
1799
  # One or more tags to be assigned to the replication instance.
1738
1800
  #
@@ -2126,7 +2188,7 @@ module Aws::DatabaseMigrationService
2126
2188
  # “server\_time:2018-02-09T12:12:12”
2127
2189
  #
2128
2190
  # Commit time example: --cdc-stop-position “commit\_time:
2129
- # 2018-02-09T12:12:12
2191
+ # 2018-02-09T12:12:12“
2130
2192
  #
2131
2193
  # @option params [Array<Types::Tag>] :tags
2132
2194
  # One or more tags to be assigned to the replication task.
@@ -4591,7 +4653,7 @@ module Aws::DatabaseMigrationService
4591
4653
  # resp.orderable_replication_instances[0].included_allocated_storage #=> Integer
4592
4654
  # resp.orderable_replication_instances[0].availability_zones #=> Array
4593
4655
  # resp.orderable_replication_instances[0].availability_zones[0] #=> String
4594
- # resp.orderable_replication_instances[0].release_status #=> String, one of "beta"
4656
+ # resp.orderable_replication_instances[0].release_status #=> String, one of "beta", "prod"
4595
4657
  # resp.marker #=> String
4596
4658
  #
4597
4659
  # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeOrderableReplicationInstances AWS API Documentation
@@ -4668,6 +4730,149 @@ module Aws::DatabaseMigrationService
4668
4730
  req.send_request(options)
4669
4731
  end
4670
4732
 
4733
+ # Returns a paginated list of limitations for recommendations of target
4734
+ # Amazon Web Services engines.
4735
+ #
4736
+ # @option params [Array<Types::Filter>] :filters
4737
+ # Filters applied to the limitations described in the form of key-value
4738
+ # pairs.
4739
+ #
4740
+ # @option params [Integer] :max_records
4741
+ # The maximum number of records to include in the response. If more
4742
+ # records exist than the specified `MaxRecords` value, Fleet Advisor
4743
+ # includes a pagination token in the response so that you can retrieve
4744
+ # the remaining results.
4745
+ #
4746
+ # @option params [String] :next_token
4747
+ # Specifies the unique pagination token that makes it possible to
4748
+ # display the next page of results. If this parameter is specified, the
4749
+ # response includes only records beyond the marker, up to the value
4750
+ # specified by `MaxRecords`.
4751
+ #
4752
+ # If `NextToken` is returned by a previous response, there are more
4753
+ # results available. The value of `NextToken` is a unique pagination
4754
+ # token for each page. Make the call again using the returned token to
4755
+ # retrieve the next page. Keep all other arguments unchanged.
4756
+ #
4757
+ # @return [Types::DescribeRecommendationLimitationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4758
+ #
4759
+ # * {Types::DescribeRecommendationLimitationsResponse#next_token #next_token} => String
4760
+ # * {Types::DescribeRecommendationLimitationsResponse#limitations #limitations} => Array&lt;Types::Limitation&gt;
4761
+ #
4762
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4763
+ #
4764
+ # @example Request syntax with placeholder values
4765
+ #
4766
+ # resp = client.describe_recommendation_limitations({
4767
+ # filters: [
4768
+ # {
4769
+ # name: "String", # required
4770
+ # values: ["String"], # required
4771
+ # },
4772
+ # ],
4773
+ # max_records: 1,
4774
+ # next_token: "String",
4775
+ # })
4776
+ #
4777
+ # @example Response structure
4778
+ #
4779
+ # resp.next_token #=> String
4780
+ # resp.limitations #=> Array
4781
+ # resp.limitations[0].database_id #=> String
4782
+ # resp.limitations[0].engine_name #=> String
4783
+ # resp.limitations[0].name #=> String
4784
+ # resp.limitations[0].description #=> String
4785
+ # resp.limitations[0].impact #=> String
4786
+ # resp.limitations[0].type #=> String
4787
+ #
4788
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeRecommendationLimitations AWS API Documentation
4789
+ #
4790
+ # @overload describe_recommendation_limitations(params = {})
4791
+ # @param [Hash] params ({})
4792
+ def describe_recommendation_limitations(params = {}, options = {})
4793
+ req = build_request(:describe_recommendation_limitations, params)
4794
+ req.send_request(options)
4795
+ end
4796
+
4797
+ # Returns a paginated list of target engine recommendations for your
4798
+ # source databases.
4799
+ #
4800
+ # @option params [Array<Types::Filter>] :filters
4801
+ # Filters applied to the target engine recommendations described in the
4802
+ # form of key-value pairs.
4803
+ #
4804
+ # @option params [Integer] :max_records
4805
+ # The maximum number of records to include in the response. If more
4806
+ # records exist than the specified `MaxRecords` value, Fleet Advisor
4807
+ # includes a pagination token in the response so that you can retrieve
4808
+ # the remaining results.
4809
+ #
4810
+ # @option params [String] :next_token
4811
+ # Specifies the unique pagination token that makes it possible to
4812
+ # display the next page of results. If this parameter is specified, the
4813
+ # response includes only records beyond the marker, up to the value
4814
+ # specified by `MaxRecords`.
4815
+ #
4816
+ # If `NextToken` is returned by a previous response, there are more
4817
+ # results available. The value of `NextToken` is a unique pagination
4818
+ # token for each page. Make the call again using the returned token to
4819
+ # retrieve the next page. Keep all other arguments unchanged.
4820
+ #
4821
+ # @return [Types::DescribeRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4822
+ #
4823
+ # * {Types::DescribeRecommendationsResponse#next_token #next_token} => String
4824
+ # * {Types::DescribeRecommendationsResponse#recommendations #recommendations} => Array&lt;Types::Recommendation&gt;
4825
+ #
4826
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4827
+ #
4828
+ # @example Request syntax with placeholder values
4829
+ #
4830
+ # resp = client.describe_recommendations({
4831
+ # filters: [
4832
+ # {
4833
+ # name: "String", # required
4834
+ # values: ["String"], # required
4835
+ # },
4836
+ # ],
4837
+ # max_records: 1,
4838
+ # next_token: "String",
4839
+ # })
4840
+ #
4841
+ # @example Response structure
4842
+ #
4843
+ # resp.next_token #=> String
4844
+ # resp.recommendations #=> Array
4845
+ # resp.recommendations[0].database_id #=> String
4846
+ # resp.recommendations[0].engine_name #=> String
4847
+ # resp.recommendations[0].created_date #=> String
4848
+ # resp.recommendations[0].status #=> String
4849
+ # resp.recommendations[0].preferred #=> Boolean
4850
+ # resp.recommendations[0].settings.instance_sizing_type #=> String
4851
+ # resp.recommendations[0].settings.workload_type #=> String
4852
+ # resp.recommendations[0].data.rds_engine.requirements_to_target.engine_edition #=> String
4853
+ # resp.recommendations[0].data.rds_engine.requirements_to_target.instance_vcpu #=> Float
4854
+ # resp.recommendations[0].data.rds_engine.requirements_to_target.instance_memory #=> Float
4855
+ # resp.recommendations[0].data.rds_engine.requirements_to_target.storage_size #=> Integer
4856
+ # resp.recommendations[0].data.rds_engine.requirements_to_target.storage_iops #=> Integer
4857
+ # resp.recommendations[0].data.rds_engine.requirements_to_target.deployment_option #=> String
4858
+ # resp.recommendations[0].data.rds_engine.target_configuration.engine_edition #=> String
4859
+ # resp.recommendations[0].data.rds_engine.target_configuration.instance_type #=> String
4860
+ # resp.recommendations[0].data.rds_engine.target_configuration.instance_vcpu #=> Float
4861
+ # resp.recommendations[0].data.rds_engine.target_configuration.instance_memory #=> Float
4862
+ # resp.recommendations[0].data.rds_engine.target_configuration.storage_type #=> String
4863
+ # resp.recommendations[0].data.rds_engine.target_configuration.storage_size #=> Integer
4864
+ # resp.recommendations[0].data.rds_engine.target_configuration.storage_iops #=> Integer
4865
+ # resp.recommendations[0].data.rds_engine.target_configuration.deployment_option #=> String
4866
+ #
4867
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeRecommendations AWS API Documentation
4868
+ #
4869
+ # @overload describe_recommendations(params = {})
4870
+ # @param [Hash] params ({})
4871
+ def describe_recommendations(params = {}, options = {})
4872
+ req = build_request(:describe_recommendations, params)
4873
+ req.send_request(options)
4874
+ end
4875
+
4671
4876
  # Returns the status of the RefreshSchemas operation.
4672
4877
  #
4673
4878
  # @option params [required, String] :endpoint_arn
@@ -5595,8 +5800,8 @@ module Aws::DatabaseMigrationService
5595
5800
  end
5596
5801
 
5597
5802
  # Lists all metadata tags attached to an DMS resource, including
5598
- # replication instance, endpoint, security group, and migration task.
5599
- # For more information, see [ `Tag` ][1] data type description.
5803
+ # replication instance, endpoint, subnet group, and migration task. For
5804
+ # more information, see [ `Tag` ][1] data type description.
5600
5805
  #
5601
5806
  #
5602
5807
  #
@@ -6719,6 +6924,15 @@ module Aws::DatabaseMigrationService
6719
6924
  #
6720
6925
  # * DMS has enabled automatic patching for the given engine version.
6721
6926
  #
6927
+ # When `AutoMinorVersionUpgrade` is enabled, DMS uses the current
6928
+ # default engine version when you modify a replication instance. For
6929
+ # example, if you set `EngineVersion` to a lower version number than the
6930
+ # current default version, DMS uses the default version.
6931
+ #
6932
+ # If `AutoMinorVersionUpgrade` *isn’t* enabled when you modify a
6933
+ # replication instance, DMS uses the engine version specified by the
6934
+ # `EngineVersion` parameter.
6935
+ #
6722
6936
  # @option params [String] :replication_instance_identifier
6723
6937
  # The replication instance identifier. This parameter is stored as a
6724
6938
  # lowercase string.
@@ -7025,7 +7239,7 @@ module Aws::DatabaseMigrationService
7025
7239
  # “server\_time:2018-02-09T12:12:12”
7026
7240
  #
7027
7241
  # Commit time example: --cdc-stop-position “commit\_time:
7028
- # 2018-02-09T12:12:12
7242
+ # 2018-02-09T12:12:12“
7029
7243
  #
7030
7244
  # @option params [String] :task_data
7031
7245
  # Supplemental information that the task requires to migrate the data
@@ -7356,7 +7570,7 @@ module Aws::DatabaseMigrationService
7356
7570
  end
7357
7571
 
7358
7572
  # Removes metadata tags from an DMS resource, including replication
7359
- # instance, endpoint, security group, and migration task. For more
7573
+ # instance, endpoint, subnet group, and migration task. For more
7360
7574
  # information, see [ `Tag` ][1] data type description.
7361
7575
  #
7362
7576
  #
@@ -7425,6 +7639,51 @@ module Aws::DatabaseMigrationService
7425
7639
  req.send_request(options)
7426
7640
  end
7427
7641
 
7642
+ # Starts the analysis of your source database to provide recommendations
7643
+ # of target engines.
7644
+ #
7645
+ # You can create recommendations for multiple source databases using
7646
+ # [BatchStartRecommendations][1].
7647
+ #
7648
+ #
7649
+ #
7650
+ # [1]: https://docs.aws.amazon.com/dms/latest/APIReference/API_BatchStartRecommendations.html
7651
+ #
7652
+ # @option params [required, String] :database_id
7653
+ # The identifier of the source database to analyze and provide
7654
+ # recommendations for.
7655
+ #
7656
+ # @option params [required, Types::RecommendationSettings] :settings
7657
+ # The settings in JSON format that Fleet Advisor uses to determine
7658
+ # target engine recommendations. These parameters include target
7659
+ # instance sizing and availability and durability settings. For target
7660
+ # instance sizing, Fleet Advisor supports the following two options:
7661
+ # total capacity and resource utilization. For availability and
7662
+ # durability, Fleet Advisor supports the following two options:
7663
+ # production (Multi-AZ deployments) and Dev/Test (Single-AZ
7664
+ # deployments).
7665
+ #
7666
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
7667
+ #
7668
+ # @example Request syntax with placeholder values
7669
+ #
7670
+ # resp = client.start_recommendations({
7671
+ # database_id: "String", # required
7672
+ # settings: { # required
7673
+ # instance_sizing_type: "String", # required
7674
+ # workload_type: "String", # required
7675
+ # },
7676
+ # })
7677
+ #
7678
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StartRecommendations AWS API Documentation
7679
+ #
7680
+ # @overload start_recommendations(params = {})
7681
+ # @param [Hash] params ({})
7682
+ def start_recommendations(params = {}, options = {})
7683
+ req = build_request(:start_recommendations, params)
7684
+ req.send_request(options)
7685
+ end
7686
+
7428
7687
  # Starts the replication task.
7429
7688
  #
7430
7689
  # For more information about DMS tasks, see [Working with Migration
@@ -7442,13 +7701,20 @@ module Aws::DatabaseMigrationService
7442
7701
  #
7443
7702
  # When the migration type is `full-load` or `full-load-and-cdc`, the
7444
7703
  # only valid value for the first run of the task is `start-replication`.
7445
- # You use `reload-target` to restart the task and `resume-processing` to
7446
- # resume the task.
7704
+ # This option will start the migration.
7705
+ #
7706
+ # You can also use ReloadTables to reload specific tables that failed
7707
+ # during migration instead of restarting the task.
7708
+ #
7709
+ # The `resume-processing` option isn't applicable for a full-load task,
7710
+ # because you can't resume partially loaded tables during the full load
7711
+ # phase.
7447
7712
  #
7448
- # When the migration type is `cdc`, you use `start-replication` to start
7449
- # or restart the task, and `resume-processing` to resume the task.
7450
- # `reload-target` is not a valid value for a task with migration type of
7451
- # `cdc`.
7713
+ # For a `full-load-and-cdc` task, DMS migrates table data, and then
7714
+ # applies data changes that occur on the source. To load all the tables
7715
+ # again, and start capturing source changes, use `reload-target`.
7716
+ # Otherwise use `resume-processing`, to replicate the changes from the
7717
+ # last stop position.
7452
7718
  #
7453
7719
  # @option params [Time,DateTime,Date,Integer,String] :cdc_start_time
7454
7720
  # Indicates the start time for a change data capture (CDC) operation.
@@ -7493,7 +7759,7 @@ module Aws::DatabaseMigrationService
7493
7759
  # “server\_time:2018-02-09T12:12:12”
7494
7760
  #
7495
7761
  # Commit time example: --cdc-stop-position “commit\_time:
7496
- # 2018-02-09T12:12:12
7762
+ # 2018-02-09T12:12:12“
7497
7763
  #
7498
7764
  # @return [Types::StartReplicationTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7499
7765
  #
@@ -7970,7 +8236,7 @@ module Aws::DatabaseMigrationService
7970
8236
  params: params,
7971
8237
  config: config)
7972
8238
  context[:gem_name] = 'aws-sdk-databasemigrationservice'
7973
- context[:gem_version] = '1.75.0'
8239
+ context[:gem_version] = '1.76.0'
7974
8240
  Seahorse::Client::Request.new(handlers, context)
7975
8241
  end
7976
8242