aws-sdk-elasticache 1.90.0 → 1.92.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: 483aee56375b1b10baf8d11359975d69d8793574d975f9305a57f5341512fa09
4
- data.tar.gz: 5d942db9c96f71bc0f7127afeccca1fda1fdd692d019fd723cd3d57a9571bfd4
3
+ metadata.gz: a6856fab29cf6103fd6d8a6286b6521b01f9f300cd887a15375c1ec9a0710d77
4
+ data.tar.gz: 27db198f299a8a41e552b8562cc92d6c02aff78f60ac4a017cec9deec84b5e68
5
5
  SHA512:
6
- metadata.gz: bd5c8c616476e79e5bca83bf2b4f161e6f86352f004923be2a05392448346806402425e98dc62f77103994d80adcb3199156e17cb66d815a31516868d110738c
7
- data.tar.gz: 4eceb2c5fa6120fef2732dd17ee315843a202e2421040d0843dab1749dac89d16a34fb4c55f089bb122a4ce7bd3cbe1a3ba28ae5572f12227e1eb115b3a86d21
6
+ metadata.gz: 9deda43e1fe7e5a3e84e461b64385bb115cd2cde2f68542e01e43f1477ade8c6bef9a260f9685d397c98bca4fe77b54d1e08b3e5de030ebc927b8aa1b07d86ca
7
+ data.tar.gz: 01c42822864c6a51ae327f2815f88cb39787cbd6324c4132f4bacbb2ceb5c4e8cf6a1344e41ece885656ba4102ed8aa78de02bdbde0e7cf691c2b1e311635d64
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.92.0 (2023-09-27)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.91.0 (2023-08-08)
10
+ ------------------
11
+
12
+ * Feature - Added support for cluster mode in online migration and test migration API
13
+
4
14
  1.90.0 (2023-07-11)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.90.0
1
+ 1.92.0
@@ -7827,7 +7827,7 @@ module Aws::ElastiCache
7827
7827
  # The name of the Global datastore
7828
7828
  #
7829
7829
  # @option params [required, Integer] :node_group_count
7830
- # The number of node groups you wish to add
7830
+ # Total number of node groups you want
7831
7831
  #
7832
7832
  # @option params [Array<Types::RegionalConfiguration>] :regional_configurations
7833
7833
  # Describes the replication group IDs, the Amazon regions where they are
@@ -10487,6 +10487,118 @@ module Aws::ElastiCache
10487
10487
  req.send_request(options)
10488
10488
  end
10489
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
+
10490
10602
  # @!endgroup
10491
10603
 
10492
10604
  # @param params ({})
@@ -10500,7 +10612,7 @@ module Aws::ElastiCache
10500
10612
  params: params,
10501
10613
  config: config)
10502
10614
  context[:gem_name] = 'aws-sdk-elasticache'
10503
- context[:gem_version] = '1.90.0'
10615
+ context[:gem_version] = '1.92.0'
10504
10616
  Seahorse::Client::Request.new(handlers, context)
10505
10617
  end
10506
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.90.0'
56
+ GEM_VERSION = '1.92.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.90.0
4
+ version: 1.92.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-11 00:00:00.000000000 Z
11
+ date: 2023-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.177.0
22
+ version: 3.184.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.177.0
32
+ version: 3.184.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement