aws-sdk-elasticache 1.89.0 → 1.91.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e11cd194f800e81ce12c69e9eb76041a48cc3dd6b444f90627b6a478ee757831
4
- data.tar.gz: 81503af0003df37250e3b7169bc1c0209c34e015acab4f776a6aa02de1e3f1ea
3
+ metadata.gz: 62b1c3f69b0c24d8da7f71e98e235ef3e413c0069ad20fe7f6ce7d13fda7951e
4
+ data.tar.gz: 530e19099058774027afadaaff36df8436cf484173451aaaee6cedf001658955
5
5
  SHA512:
6
- metadata.gz: 30d47a8edd2e28c91838afc10cb1989ad42567c44a4f6557913e5dd8b0663c152b0a00376791a6b4a8ef531213647b5ab4970972c510fa685503ccad4b4906c2
7
- data.tar.gz: a311d835e3fc6ca55b96f5bfe58ce0fe98eb8d34913eafb22d6fefb1167498fa926936c593e8c5a84076b61c14143a9281386b49b5ce92a9eb6546c9a625d614
6
+ metadata.gz: 28f2c70998c4f7ea130ed47d4fa80f8bae15a6d88f5bd5c2cdb2af90b9e57f3cac11e94666434889664e3bdd5b8b46372462ce949f8d432c7b365c29c83e079c
7
+ data.tar.gz: 8f96a2cfb6bea47e2e892d9faa10e5b6199c280352f72f39b71397afe30578ead841b5b3e397e16ea6490ed2ebfbaf85e80871a1874ec3dd2e9b4668aa92a60d
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.91.0 (2023-08-08)
5
+ ------------------
6
+
7
+ * Feature - Added support for cluster mode in online migration and test migration API
8
+
9
+ 1.90.0 (2023-07-11)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.89.0 (2023-07-06)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.89.0
1
+ 1.91.0
@@ -216,6 +216,10 @@ module Aws::ElastiCache
216
216
  # @option options [Boolean] :endpoint_discovery (false)
217
217
  # When set to `true`, endpoint discovery will be enabled for operations when available.
218
218
  #
219
+ # @option options [Boolean] :ignore_configured_endpoint_urls
220
+ # Setting to true disables use of endpoint URLs provided via environment
221
+ # variables and the shared configuration file.
222
+ #
219
223
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
220
224
  # The log formatter.
221
225
  #
@@ -7823,7 +7827,7 @@ module Aws::ElastiCache
7823
7827
  # The name of the Global datastore
7824
7828
  #
7825
7829
  # @option params [required, Integer] :node_group_count
7826
- # The number of node groups you wish to add
7830
+ # Total number of node groups you want
7827
7831
  #
7828
7832
  # @option params [Array<Types::RegionalConfiguration>] :regional_configurations
7829
7833
  # Describes the replication group IDs, the Amazon regions where they are
@@ -10483,6 +10487,118 @@ module Aws::ElastiCache
10483
10487
  req.send_request(options)
10484
10488
  end
10485
10489
 
10490
+ # Async API to test connection between source and target replication
10491
+ # group.
10492
+ #
10493
+ # @option params [required, String] :replication_group_id
10494
+ # The ID of the replication group to which data is to be migrated.
10495
+ #
10496
+ # @option params [required, Array<Types::CustomerNodeEndpoint>] :customer_node_endpoint_list
10497
+ # List of endpoints from which data should be migrated. List should have
10498
+ # only one element.
10499
+ #
10500
+ # @return [Types::TestMigrationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
10501
+ #
10502
+ # * {Types::TestMigrationResponse#replication_group #replication_group} => Types::ReplicationGroup
10503
+ #
10504
+ # @example Request syntax with placeholder values
10505
+ #
10506
+ # resp = client.test_migration({
10507
+ # replication_group_id: "String", # required
10508
+ # customer_node_endpoint_list: [ # required
10509
+ # {
10510
+ # address: "String",
10511
+ # port: 1,
10512
+ # },
10513
+ # ],
10514
+ # })
10515
+ #
10516
+ # @example Response structure
10517
+ #
10518
+ # resp.replication_group.replication_group_id #=> String
10519
+ # resp.replication_group.description #=> String
10520
+ # resp.replication_group.global_replication_group_info.global_replication_group_id #=> String
10521
+ # resp.replication_group.global_replication_group_info.global_replication_group_member_role #=> String
10522
+ # resp.replication_group.status #=> String
10523
+ # resp.replication_group.pending_modified_values.primary_cluster_id #=> String
10524
+ # resp.replication_group.pending_modified_values.automatic_failover_status #=> String, one of "enabled", "disabled"
10525
+ # resp.replication_group.pending_modified_values.resharding.slot_migration.progress_percentage #=> Float
10526
+ # resp.replication_group.pending_modified_values.auth_token_status #=> String, one of "SETTING", "ROTATING"
10527
+ # resp.replication_group.pending_modified_values.user_groups.user_group_ids_to_add #=> Array
10528
+ # resp.replication_group.pending_modified_values.user_groups.user_group_ids_to_add[0] #=> String
10529
+ # resp.replication_group.pending_modified_values.user_groups.user_group_ids_to_remove #=> Array
10530
+ # resp.replication_group.pending_modified_values.user_groups.user_group_ids_to_remove[0] #=> String
10531
+ # resp.replication_group.pending_modified_values.log_delivery_configurations #=> Array
10532
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].log_type #=> String, one of "slow-log", "engine-log"
10533
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].destination_type #=> String, one of "cloudwatch-logs", "kinesis-firehose"
10534
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].destination_details.cloud_watch_logs_details.log_group #=> String
10535
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].destination_details.kinesis_firehose_details.delivery_stream #=> String
10536
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].log_format #=> String, one of "text", "json"
10537
+ # resp.replication_group.pending_modified_values.transit_encryption_enabled #=> Boolean
10538
+ # resp.replication_group.pending_modified_values.transit_encryption_mode #=> String, one of "preferred", "required"
10539
+ # resp.replication_group.pending_modified_values.cluster_mode #=> String, one of "enabled", "disabled", "compatible"
10540
+ # resp.replication_group.member_clusters #=> Array
10541
+ # resp.replication_group.member_clusters[0] #=> String
10542
+ # resp.replication_group.node_groups #=> Array
10543
+ # resp.replication_group.node_groups[0].node_group_id #=> String
10544
+ # resp.replication_group.node_groups[0].status #=> String
10545
+ # resp.replication_group.node_groups[0].primary_endpoint.address #=> String
10546
+ # resp.replication_group.node_groups[0].primary_endpoint.port #=> Integer
10547
+ # resp.replication_group.node_groups[0].reader_endpoint.address #=> String
10548
+ # resp.replication_group.node_groups[0].reader_endpoint.port #=> Integer
10549
+ # resp.replication_group.node_groups[0].slots #=> String
10550
+ # resp.replication_group.node_groups[0].node_group_members #=> Array
10551
+ # resp.replication_group.node_groups[0].node_group_members[0].cache_cluster_id #=> String
10552
+ # resp.replication_group.node_groups[0].node_group_members[0].cache_node_id #=> String
10553
+ # resp.replication_group.node_groups[0].node_group_members[0].read_endpoint.address #=> String
10554
+ # resp.replication_group.node_groups[0].node_group_members[0].read_endpoint.port #=> Integer
10555
+ # resp.replication_group.node_groups[0].node_group_members[0].preferred_availability_zone #=> String
10556
+ # resp.replication_group.node_groups[0].node_group_members[0].preferred_outpost_arn #=> String
10557
+ # resp.replication_group.node_groups[0].node_group_members[0].current_role #=> String
10558
+ # resp.replication_group.snapshotting_cluster_id #=> String
10559
+ # resp.replication_group.automatic_failover #=> String, one of "enabled", "disabled", "enabling", "disabling"
10560
+ # resp.replication_group.multi_az #=> String, one of "enabled", "disabled"
10561
+ # resp.replication_group.configuration_endpoint.address #=> String
10562
+ # resp.replication_group.configuration_endpoint.port #=> Integer
10563
+ # resp.replication_group.snapshot_retention_limit #=> Integer
10564
+ # resp.replication_group.snapshot_window #=> String
10565
+ # resp.replication_group.cluster_enabled #=> Boolean
10566
+ # resp.replication_group.cache_node_type #=> String
10567
+ # resp.replication_group.auth_token_enabled #=> Boolean
10568
+ # resp.replication_group.auth_token_last_modified_date #=> Time
10569
+ # resp.replication_group.transit_encryption_enabled #=> Boolean
10570
+ # resp.replication_group.at_rest_encryption_enabled #=> Boolean
10571
+ # resp.replication_group.member_clusters_outpost_arns #=> Array
10572
+ # resp.replication_group.member_clusters_outpost_arns[0] #=> String
10573
+ # resp.replication_group.kms_key_id #=> String
10574
+ # resp.replication_group.arn #=> String
10575
+ # resp.replication_group.user_group_ids #=> Array
10576
+ # resp.replication_group.user_group_ids[0] #=> String
10577
+ # resp.replication_group.log_delivery_configurations #=> Array
10578
+ # resp.replication_group.log_delivery_configurations[0].log_type #=> String, one of "slow-log", "engine-log"
10579
+ # resp.replication_group.log_delivery_configurations[0].destination_type #=> String, one of "cloudwatch-logs", "kinesis-firehose"
10580
+ # resp.replication_group.log_delivery_configurations[0].destination_details.cloud_watch_logs_details.log_group #=> String
10581
+ # resp.replication_group.log_delivery_configurations[0].destination_details.kinesis_firehose_details.delivery_stream #=> String
10582
+ # resp.replication_group.log_delivery_configurations[0].log_format #=> String, one of "text", "json"
10583
+ # resp.replication_group.log_delivery_configurations[0].status #=> String, one of "active", "enabling", "modifying", "disabling", "error"
10584
+ # resp.replication_group.log_delivery_configurations[0].message #=> String
10585
+ # resp.replication_group.replication_group_create_time #=> Time
10586
+ # resp.replication_group.data_tiering #=> String, one of "enabled", "disabled"
10587
+ # resp.replication_group.auto_minor_version_upgrade #=> Boolean
10588
+ # resp.replication_group.network_type #=> String, one of "ipv4", "ipv6", "dual_stack"
10589
+ # resp.replication_group.ip_discovery #=> String, one of "ipv4", "ipv6"
10590
+ # resp.replication_group.transit_encryption_mode #=> String, one of "preferred", "required"
10591
+ # resp.replication_group.cluster_mode #=> String, one of "enabled", "disabled", "compatible"
10592
+ #
10593
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/TestMigration AWS API Documentation
10594
+ #
10595
+ # @overload test_migration(params = {})
10596
+ # @param [Hash] params ({})
10597
+ def test_migration(params = {}, options = {})
10598
+ req = build_request(:test_migration, params)
10599
+ req.send_request(options)
10600
+ end
10601
+
10486
10602
  # @!endgroup
10487
10603
 
10488
10604
  # @param params ({})
@@ -10496,7 +10612,7 @@ module Aws::ElastiCache
10496
10612
  params: params,
10497
10613
  config: config)
10498
10614
  context[:gem_name] = 'aws-sdk-elasticache'
10499
- context[:gem_version] = '1.89.0'
10615
+ context[:gem_version] = '1.91.0'
10500
10616
  Seahorse::Client::Request.new(handlers, context)
10501
10617
  end
10502
10618
 
@@ -348,6 +348,8 @@ module Aws::ElastiCache
348
348
  TestFailoverMessage = Shapes::StructureShape.new(name: 'TestFailoverMessage')
349
349
  TestFailoverNotAvailableFault = Shapes::StructureShape.new(name: 'TestFailoverNotAvailableFault')
350
350
  TestFailoverResult = Shapes::StructureShape.new(name: 'TestFailoverResult')
351
+ TestMigrationMessage = Shapes::StructureShape.new(name: 'TestMigrationMessage')
352
+ TestMigrationResponse = Shapes::StructureShape.new(name: 'TestMigrationResponse')
351
353
  TimeRangeFilter = Shapes::StructureShape.new(name: 'TimeRangeFilter')
352
354
  TransitEncryptionMode = Shapes::StringShape.new(name: 'TransitEncryptionMode')
353
355
  UGReplicationGroupIdList = Shapes::ListShape.new(name: 'UGReplicationGroupIdList')
@@ -1715,6 +1717,13 @@ module Aws::ElastiCache
1715
1717
  TestFailoverResult.add_member(:replication_group, Shapes::ShapeRef.new(shape: ReplicationGroup, location_name: "ReplicationGroup"))
1716
1718
  TestFailoverResult.struct_class = Types::TestFailoverResult
1717
1719
 
1720
+ TestMigrationMessage.add_member(:replication_group_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReplicationGroupId"))
1721
+ TestMigrationMessage.add_member(:customer_node_endpoint_list, Shapes::ShapeRef.new(shape: CustomerNodeEndpointList, required: true, location_name: "CustomerNodeEndpointList"))
1722
+ TestMigrationMessage.struct_class = Types::TestMigrationMessage
1723
+
1724
+ TestMigrationResponse.add_member(:replication_group, Shapes::ShapeRef.new(shape: ReplicationGroup, location_name: "ReplicationGroup"))
1725
+ TestMigrationResponse.struct_class = Types::TestMigrationResponse
1726
+
1718
1727
  TimeRangeFilter.add_member(:start_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "StartTime"))
1719
1728
  TimeRangeFilter.add_member(:end_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "EndTime"))
1720
1729
  TimeRangeFilter.struct_class = Types::TimeRangeFilter
@@ -2810,6 +2819,18 @@ module Aws::ElastiCache
2810
2819
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2811
2820
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
2812
2821
  end)
2822
+
2823
+ api.add_operation(:test_migration, Seahorse::Model::Operation.new.tap do |o|
2824
+ o.name = "TestMigration"
2825
+ o.http_method = "POST"
2826
+ o.http_request_uri = "/"
2827
+ o.input = Shapes::ShapeRef.new(shape: TestMigrationMessage)
2828
+ o.output = Shapes::ShapeRef.new(shape: TestMigrationResponse)
2829
+ o.errors << Shapes::ShapeRef.new(shape: ReplicationGroupNotFoundFault)
2830
+ o.errors << Shapes::ShapeRef.new(shape: InvalidReplicationGroupStateFault)
2831
+ o.errors << Shapes::ShapeRef.new(shape: ReplicationGroupAlreadyUnderMigrationFault)
2832
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2833
+ end)
2813
2834
  end
2814
2835
 
2815
2836
  end
@@ -922,5 +922,19 @@ module Aws::ElastiCache
922
922
  end
923
923
  end
924
924
 
925
+ class TestMigration
926
+ def self.build(context)
927
+ unless context.config.regional_endpoint
928
+ endpoint = context.config.endpoint.to_s
929
+ end
930
+ Aws::ElastiCache::EndpointParameters.new(
931
+ region: context.config.region,
932
+ use_dual_stack: context.config.use_dualstack_endpoint,
933
+ use_fips: context.config.use_fips_endpoint,
934
+ endpoint: endpoint,
935
+ )
936
+ end
937
+ end
938
+
925
939
  end
926
940
  end
@@ -186,6 +186,8 @@ module Aws::ElastiCache
186
186
  Aws::ElastiCache::Endpoints::StartMigration.build(context)
187
187
  when :test_failover
188
188
  Aws::ElastiCache::Endpoints::TestFailover.build(context)
189
+ when :test_migration
190
+ Aws::ElastiCache::Endpoints::TestMigration.build(context)
189
191
  end
190
192
  end
191
193
  end
@@ -4861,7 +4861,7 @@ module Aws::ElastiCache
4861
4861
  # @return [String]
4862
4862
  #
4863
4863
  # @!attribute [rw] node_group_count
4864
- # The number of node groups you wish to add
4864
+ # Total number of node groups you want
4865
4865
  # @return [Integer]
4866
4866
  #
4867
4867
  # @!attribute [rw] regional_configurations
@@ -8502,6 +8502,37 @@ module Aws::ElastiCache
8502
8502
  include Aws::Structure
8503
8503
  end
8504
8504
 
8505
+ # @!attribute [rw] replication_group_id
8506
+ # The ID of the replication group to which data is to be migrated.
8507
+ # @return [String]
8508
+ #
8509
+ # @!attribute [rw] customer_node_endpoint_list
8510
+ # List of endpoints from which data should be migrated. List should
8511
+ # have only one element.
8512
+ # @return [Array<Types::CustomerNodeEndpoint>]
8513
+ #
8514
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/TestMigrationMessage AWS API Documentation
8515
+ #
8516
+ class TestMigrationMessage < Struct.new(
8517
+ :replication_group_id,
8518
+ :customer_node_endpoint_list)
8519
+ SENSITIVE = []
8520
+ include Aws::Structure
8521
+ end
8522
+
8523
+ # @!attribute [rw] replication_group
8524
+ # Contains all of the attributes of a specific Redis replication
8525
+ # group.
8526
+ # @return [Types::ReplicationGroup]
8527
+ #
8528
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/TestMigrationResponse AWS API Documentation
8529
+ #
8530
+ class TestMigrationResponse < Struct.new(
8531
+ :replication_group)
8532
+ SENSITIVE = []
8533
+ include Aws::Structure
8534
+ end
8535
+
8505
8536
  # Filters update actions from the service updates that are in available
8506
8537
  # status during the time range.
8507
8538
  #
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-elasticache/customizations'
53
53
  # @!group service
54
54
  module Aws::ElastiCache
55
55
 
56
- GEM_VERSION = '1.89.0'
56
+ GEM_VERSION = '1.91.0'
57
57
 
58
58
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-elasticache
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.89.0
4
+ version: 1.91.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: 2023-07-06 00:00:00.000000000 Z
11
+ date: 2023-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core