aws-sdk-elasticache 1.27.0 → 1.28.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
  SHA1:
3
- metadata.gz: 553110110b52d161aa43153dca167c6a29bb077a
4
- data.tar.gz: aee31773dc64027592f5406f842262a5fd0e272b
3
+ metadata.gz: bc469f1b8d509aa2f75d9787fc3b48072aaaf1c8
4
+ data.tar.gz: 449b73a1820256b186831fbc58162931c417a6c5
5
5
  SHA512:
6
- metadata.gz: efddfd6a37f793229f70f78414336c5aaf9845ba6804ba74d93c007499def8d394c3aa485d45f446615efee48538159b71d697a8ab056b1573ce6d9d20814cb6
7
- data.tar.gz: 2e67e35707f868b2611c323c58c1d79bc14f2e00b3605e2d58a1912c0583d0c34fb4e6ff45c6f7c5f1a709ce051e02888ec5f29e6dc5be2c167858714e4df101
6
+ metadata.gz: 4d4742d316e4e31235c2d02b68d202e31e2cddc673c5a2f2f5d9a417bdcb29c422485e8cfe11c642c5cd61472dd3243ce2331af346cd1f7ddc026b99bd901e09
7
+ data.tar.gz: 95f500cc6e3a3a611223553e96dab876945fe437f59196117c948080b120501bff39f9171f1447000f635b0915777a28c42e02efb30fc4059aaecbbd8d0cc84a
@@ -43,6 +43,6 @@ require_relative 'aws-sdk-elasticache/customizations'
43
43
  # @service
44
44
  module Aws::ElastiCache
45
45
 
46
- GEM_VERSION = '1.27.0'
46
+ GEM_VERSION = '1.28.0'
47
47
 
48
48
  end
@@ -521,6 +521,75 @@ module Aws::ElastiCache
521
521
  req.send_request(options)
522
522
  end
523
523
 
524
+ # Complete the migration of data.
525
+ #
526
+ # @option params [required, String] :replication_group_id
527
+ # The ID of the replication group to which data is being migrated.
528
+ #
529
+ # @option params [Boolean] :force
530
+ # Forces the migration to stop without ensuring that data is in sync. It
531
+ # is recommended to use this option only to abort the migration and not
532
+ # recommended when application wants to continue migration to
533
+ # ElastiCache.
534
+ #
535
+ # @return [Types::CompleteMigrationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
536
+ #
537
+ # * {Types::CompleteMigrationResponse#replication_group #replication_group} => Types::ReplicationGroup
538
+ #
539
+ # @example Request syntax with placeholder values
540
+ #
541
+ # resp = client.complete_migration({
542
+ # replication_group_id: "String", # required
543
+ # force: false,
544
+ # })
545
+ #
546
+ # @example Response structure
547
+ #
548
+ # resp.replication_group.replication_group_id #=> String
549
+ # resp.replication_group.description #=> String
550
+ # resp.replication_group.status #=> String
551
+ # resp.replication_group.pending_modified_values.primary_cluster_id #=> String
552
+ # resp.replication_group.pending_modified_values.automatic_failover_status #=> String, one of "enabled", "disabled"
553
+ # resp.replication_group.pending_modified_values.resharding.slot_migration.progress_percentage #=> Float
554
+ # resp.replication_group.member_clusters #=> Array
555
+ # resp.replication_group.member_clusters[0] #=> String
556
+ # resp.replication_group.node_groups #=> Array
557
+ # resp.replication_group.node_groups[0].node_group_id #=> String
558
+ # resp.replication_group.node_groups[0].status #=> String
559
+ # resp.replication_group.node_groups[0].primary_endpoint.address #=> String
560
+ # resp.replication_group.node_groups[0].primary_endpoint.port #=> Integer
561
+ # resp.replication_group.node_groups[0].reader_endpoint.address #=> String
562
+ # resp.replication_group.node_groups[0].reader_endpoint.port #=> Integer
563
+ # resp.replication_group.node_groups[0].slots #=> String
564
+ # resp.replication_group.node_groups[0].node_group_members #=> Array
565
+ # resp.replication_group.node_groups[0].node_group_members[0].cache_cluster_id #=> String
566
+ # resp.replication_group.node_groups[0].node_group_members[0].cache_node_id #=> String
567
+ # resp.replication_group.node_groups[0].node_group_members[0].read_endpoint.address #=> String
568
+ # resp.replication_group.node_groups[0].node_group_members[0].read_endpoint.port #=> Integer
569
+ # resp.replication_group.node_groups[0].node_group_members[0].preferred_availability_zone #=> String
570
+ # resp.replication_group.node_groups[0].node_group_members[0].current_role #=> String
571
+ # resp.replication_group.snapshotting_cluster_id #=> String
572
+ # resp.replication_group.automatic_failover #=> String, one of "enabled", "disabled", "enabling", "disabling"
573
+ # resp.replication_group.configuration_endpoint.address #=> String
574
+ # resp.replication_group.configuration_endpoint.port #=> Integer
575
+ # resp.replication_group.snapshot_retention_limit #=> Integer
576
+ # resp.replication_group.snapshot_window #=> String
577
+ # resp.replication_group.cluster_enabled #=> Boolean
578
+ # resp.replication_group.cache_node_type #=> String
579
+ # resp.replication_group.auth_token_enabled #=> Boolean
580
+ # resp.replication_group.transit_encryption_enabled #=> Boolean
581
+ # resp.replication_group.at_rest_encryption_enabled #=> Boolean
582
+ # resp.replication_group.kms_key_id #=> String
583
+ #
584
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CompleteMigration AWS API Documentation
585
+ #
586
+ # @overload complete_migration(params = {})
587
+ # @param [Hash] params ({})
588
+ def complete_migration(params = {}, options = {})
589
+ req = build_request(:complete_migration, params)
590
+ req.send_request(options)
591
+ end
592
+
524
593
  # Makes a copy of an existing snapshot.
525
594
  #
526
595
  # <note markdown="1"> This operation is valid for Redis only.
@@ -7786,6 +7855,78 @@ module Aws::ElastiCache
7786
7855
  req.send_request(options)
7787
7856
  end
7788
7857
 
7858
+ # Start the migration of data.
7859
+ #
7860
+ # @option params [required, String] :replication_group_id
7861
+ # The ID of the replication group to which data should be migrated.
7862
+ #
7863
+ # @option params [required, Array<Types::CustomerNodeEndpoint>] :customer_node_endpoint_list
7864
+ # List of endpoints from which data should be migrated. For Redis
7865
+ # (cluster mode disabled), list should have only one element.
7866
+ #
7867
+ # @return [Types::StartMigrationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7868
+ #
7869
+ # * {Types::StartMigrationResponse#replication_group #replication_group} => Types::ReplicationGroup
7870
+ #
7871
+ # @example Request syntax with placeholder values
7872
+ #
7873
+ # resp = client.start_migration({
7874
+ # replication_group_id: "String", # required
7875
+ # customer_node_endpoint_list: [ # required
7876
+ # {
7877
+ # address: "String",
7878
+ # port: 1,
7879
+ # },
7880
+ # ],
7881
+ # })
7882
+ #
7883
+ # @example Response structure
7884
+ #
7885
+ # resp.replication_group.replication_group_id #=> String
7886
+ # resp.replication_group.description #=> String
7887
+ # resp.replication_group.status #=> String
7888
+ # resp.replication_group.pending_modified_values.primary_cluster_id #=> String
7889
+ # resp.replication_group.pending_modified_values.automatic_failover_status #=> String, one of "enabled", "disabled"
7890
+ # resp.replication_group.pending_modified_values.resharding.slot_migration.progress_percentage #=> Float
7891
+ # resp.replication_group.member_clusters #=> Array
7892
+ # resp.replication_group.member_clusters[0] #=> String
7893
+ # resp.replication_group.node_groups #=> Array
7894
+ # resp.replication_group.node_groups[0].node_group_id #=> String
7895
+ # resp.replication_group.node_groups[0].status #=> String
7896
+ # resp.replication_group.node_groups[0].primary_endpoint.address #=> String
7897
+ # resp.replication_group.node_groups[0].primary_endpoint.port #=> Integer
7898
+ # resp.replication_group.node_groups[0].reader_endpoint.address #=> String
7899
+ # resp.replication_group.node_groups[0].reader_endpoint.port #=> Integer
7900
+ # resp.replication_group.node_groups[0].slots #=> String
7901
+ # resp.replication_group.node_groups[0].node_group_members #=> Array
7902
+ # resp.replication_group.node_groups[0].node_group_members[0].cache_cluster_id #=> String
7903
+ # resp.replication_group.node_groups[0].node_group_members[0].cache_node_id #=> String
7904
+ # resp.replication_group.node_groups[0].node_group_members[0].read_endpoint.address #=> String
7905
+ # resp.replication_group.node_groups[0].node_group_members[0].read_endpoint.port #=> Integer
7906
+ # resp.replication_group.node_groups[0].node_group_members[0].preferred_availability_zone #=> String
7907
+ # resp.replication_group.node_groups[0].node_group_members[0].current_role #=> String
7908
+ # resp.replication_group.snapshotting_cluster_id #=> String
7909
+ # resp.replication_group.automatic_failover #=> String, one of "enabled", "disabled", "enabling", "disabling"
7910
+ # resp.replication_group.configuration_endpoint.address #=> String
7911
+ # resp.replication_group.configuration_endpoint.port #=> Integer
7912
+ # resp.replication_group.snapshot_retention_limit #=> Integer
7913
+ # resp.replication_group.snapshot_window #=> String
7914
+ # resp.replication_group.cluster_enabled #=> Boolean
7915
+ # resp.replication_group.cache_node_type #=> String
7916
+ # resp.replication_group.auth_token_enabled #=> Boolean
7917
+ # resp.replication_group.transit_encryption_enabled #=> Boolean
7918
+ # resp.replication_group.at_rest_encryption_enabled #=> Boolean
7919
+ # resp.replication_group.kms_key_id #=> String
7920
+ #
7921
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/StartMigration AWS API Documentation
7922
+ #
7923
+ # @overload start_migration(params = {})
7924
+ # @param [Hash] params ({})
7925
+ def start_migration(params = {}, options = {})
7926
+ req = build_request(:start_migration, params)
7927
+ req.send_request(options)
7928
+ end
7929
+
7789
7930
  # Represents the input of a `TestFailover` operation which test
7790
7931
  # automatic failover on a specified node group (called shard in the
7791
7932
  # console) in a replication group (called cluster in the console).
@@ -7921,7 +8062,7 @@ module Aws::ElastiCache
7921
8062
  params: params,
7922
8063
  config: config)
7923
8064
  context[:gem_name] = 'aws-sdk-elasticache'
7924
- context[:gem_version] = '1.27.0'
8065
+ context[:gem_version] = '1.28.0'
7925
8066
  Seahorse::Client::Request.new(handlers, context)
7926
8067
  end
7927
8068
 
@@ -75,6 +75,8 @@ module Aws::ElastiCache
75
75
  ChangeType = Shapes::StringShape.new(name: 'ChangeType')
76
76
  ClusterIdList = Shapes::ListShape.new(name: 'ClusterIdList')
77
77
  ClusterQuotaForCustomerExceededFault = Shapes::StructureShape.new(name: 'ClusterQuotaForCustomerExceededFault')
78
+ CompleteMigrationMessage = Shapes::StructureShape.new(name: 'CompleteMigrationMessage')
79
+ CompleteMigrationResponse = Shapes::StructureShape.new(name: 'CompleteMigrationResponse')
78
80
  ConfigureShard = Shapes::StructureShape.new(name: 'ConfigureShard')
79
81
  CopySnapshotMessage = Shapes::StructureShape.new(name: 'CopySnapshotMessage')
80
82
  CopySnapshotResult = Shapes::StructureShape.new(name: 'CopySnapshotResult')
@@ -90,6 +92,8 @@ module Aws::ElastiCache
90
92
  CreateReplicationGroupResult = Shapes::StructureShape.new(name: 'CreateReplicationGroupResult')
91
93
  CreateSnapshotMessage = Shapes::StructureShape.new(name: 'CreateSnapshotMessage')
92
94
  CreateSnapshotResult = Shapes::StructureShape.new(name: 'CreateSnapshotResult')
95
+ CustomerNodeEndpoint = Shapes::StructureShape.new(name: 'CustomerNodeEndpoint')
96
+ CustomerNodeEndpointList = Shapes::ListShape.new(name: 'CustomerNodeEndpointList')
93
97
  DecreaseReplicaCountMessage = Shapes::StructureShape.new(name: 'DecreaseReplicaCountMessage')
94
98
  DecreaseReplicaCountResult = Shapes::StructureShape.new(name: 'DecreaseReplicaCountResult')
95
99
  DeleteCacheClusterMessage = Shapes::StructureShape.new(name: 'DeleteCacheClusterMessage')
@@ -196,10 +200,12 @@ module Aws::ElastiCache
196
200
  ReplicaConfigurationList = Shapes::ListShape.new(name: 'ReplicaConfigurationList')
197
201
  ReplicationGroup = Shapes::StructureShape.new(name: 'ReplicationGroup')
198
202
  ReplicationGroupAlreadyExistsFault = Shapes::StructureShape.new(name: 'ReplicationGroupAlreadyExistsFault')
203
+ ReplicationGroupAlreadyUnderMigrationFault = Shapes::StructureShape.new(name: 'ReplicationGroupAlreadyUnderMigrationFault')
199
204
  ReplicationGroupIdList = Shapes::ListShape.new(name: 'ReplicationGroupIdList')
200
205
  ReplicationGroupList = Shapes::ListShape.new(name: 'ReplicationGroupList')
201
206
  ReplicationGroupMessage = Shapes::StructureShape.new(name: 'ReplicationGroupMessage')
202
207
  ReplicationGroupNotFoundFault = Shapes::StructureShape.new(name: 'ReplicationGroupNotFoundFault')
208
+ ReplicationGroupNotUnderMigrationFault = Shapes::StructureShape.new(name: 'ReplicationGroupNotUnderMigrationFault')
203
209
  ReplicationGroupPendingModifiedValues = Shapes::StructureShape.new(name: 'ReplicationGroupPendingModifiedValues')
204
210
  ReservedCacheNode = Shapes::StructureShape.new(name: 'ReservedCacheNode')
205
211
  ReservedCacheNodeAlreadyExistsFault = Shapes::StructureShape.new(name: 'ReservedCacheNodeAlreadyExistsFault')
@@ -239,6 +245,8 @@ module Aws::ElastiCache
239
245
  SnapshotNotFoundFault = Shapes::StructureShape.new(name: 'SnapshotNotFoundFault')
240
246
  SnapshotQuotaExceededFault = Shapes::StructureShape.new(name: 'SnapshotQuotaExceededFault')
241
247
  SourceType = Shapes::StringShape.new(name: 'SourceType')
248
+ StartMigrationMessage = Shapes::StructureShape.new(name: 'StartMigrationMessage')
249
+ StartMigrationResponse = Shapes::StructureShape.new(name: 'StartMigrationResponse')
242
250
  String = Shapes::StringShape.new(name: 'String')
243
251
  Subnet = Shapes::StructureShape.new(name: 'Subnet')
244
252
  SubnetIdentifierList = Shapes::ListShape.new(name: 'SubnetIdentifierList')
@@ -444,6 +452,13 @@ module Aws::ElastiCache
444
452
 
445
453
  ClusterIdList.member = Shapes::ShapeRef.new(shape: String, location_name: "ClusterId")
446
454
 
455
+ CompleteMigrationMessage.add_member(:replication_group_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReplicationGroupId"))
456
+ CompleteMigrationMessage.add_member(:force, Shapes::ShapeRef.new(shape: Boolean, location_name: "Force"))
457
+ CompleteMigrationMessage.struct_class = Types::CompleteMigrationMessage
458
+
459
+ CompleteMigrationResponse.add_member(:replication_group, Shapes::ShapeRef.new(shape: ReplicationGroup, location_name: "ReplicationGroup"))
460
+ CompleteMigrationResponse.struct_class = Types::CompleteMigrationResponse
461
+
447
462
  ConfigureShard.add_member(:node_group_id, Shapes::ShapeRef.new(shape: AllowedNodeGroupId, required: true, location_name: "NodeGroupId"))
448
463
  ConfigureShard.add_member(:new_replica_count, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "NewReplicaCount"))
449
464
  ConfigureShard.add_member(:preferred_availability_zones, Shapes::ShapeRef.new(shape: PreferredAvailabilityZoneList, location_name: "PreferredAvailabilityZones"))
@@ -552,6 +567,12 @@ module Aws::ElastiCache
552
567
  CreateSnapshotResult.add_member(:snapshot, Shapes::ShapeRef.new(shape: Snapshot, location_name: "Snapshot"))
553
568
  CreateSnapshotResult.struct_class = Types::CreateSnapshotResult
554
569
 
570
+ CustomerNodeEndpoint.add_member(:address, Shapes::ShapeRef.new(shape: String, location_name: "Address"))
571
+ CustomerNodeEndpoint.add_member(:port, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "Port"))
572
+ CustomerNodeEndpoint.struct_class = Types::CustomerNodeEndpoint
573
+
574
+ CustomerNodeEndpointList.member = Shapes::ShapeRef.new(shape: CustomerNodeEndpoint)
575
+
555
576
  DecreaseReplicaCountMessage.add_member(:replication_group_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReplicationGroupId"))
556
577
  DecreaseReplicaCountMessage.add_member(:new_replica_count, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "NewReplicaCount"))
557
578
  DecreaseReplicaCountMessage.add_member(:replica_configuration, Shapes::ShapeRef.new(shape: ReplicaConfigurationList, location_name: "ReplicaConfiguration"))
@@ -1108,6 +1129,13 @@ module Aws::ElastiCache
1108
1129
 
1109
1130
  SnapshotList.member = Shapes::ShapeRef.new(shape: Snapshot, location_name: "Snapshot")
1110
1131
 
1132
+ StartMigrationMessage.add_member(:replication_group_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReplicationGroupId"))
1133
+ StartMigrationMessage.add_member(:customer_node_endpoint_list, Shapes::ShapeRef.new(shape: CustomerNodeEndpointList, required: true, location_name: "CustomerNodeEndpointList"))
1134
+ StartMigrationMessage.struct_class = Types::StartMigrationMessage
1135
+
1136
+ StartMigrationResponse.add_member(:replication_group, Shapes::ShapeRef.new(shape: ReplicationGroup, location_name: "ReplicationGroup"))
1137
+ StartMigrationResponse.struct_class = Types::StartMigrationResponse
1138
+
1111
1139
  Subnet.add_member(:subnet_identifier, Shapes::ShapeRef.new(shape: String, location_name: "SubnetIdentifier"))
1112
1140
  Subnet.add_member(:subnet_availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZone, location_name: "SubnetAvailabilityZone"))
1113
1141
  Subnet.struct_class = Types::Subnet
@@ -1238,6 +1266,17 @@ module Aws::ElastiCache
1238
1266
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1239
1267
  end)
1240
1268
 
1269
+ api.add_operation(:complete_migration, Seahorse::Model::Operation.new.tap do |o|
1270
+ o.name = "CompleteMigration"
1271
+ o.http_method = "POST"
1272
+ o.http_request_uri = "/"
1273
+ o.input = Shapes::ShapeRef.new(shape: CompleteMigrationMessage)
1274
+ o.output = Shapes::ShapeRef.new(shape: CompleteMigrationResponse)
1275
+ o.errors << Shapes::ShapeRef.new(shape: ReplicationGroupNotFoundFault)
1276
+ o.errors << Shapes::ShapeRef.new(shape: InvalidReplicationGroupStateFault)
1277
+ o.errors << Shapes::ShapeRef.new(shape: ReplicationGroupNotUnderMigrationFault)
1278
+ end)
1279
+
1241
1280
  api.add_operation(:copy_snapshot, Seahorse::Model::Operation.new.tap do |o|
1242
1281
  o.name = "CopySnapshot"
1243
1282
  o.http_method = "POST"
@@ -1864,6 +1903,18 @@ module Aws::ElastiCache
1864
1903
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
1865
1904
  end)
1866
1905
 
1906
+ api.add_operation(:start_migration, Seahorse::Model::Operation.new.tap do |o|
1907
+ o.name = "StartMigration"
1908
+ o.http_method = "POST"
1909
+ o.http_request_uri = "/"
1910
+ o.input = Shapes::ShapeRef.new(shape: StartMigrationMessage)
1911
+ o.output = Shapes::ShapeRef.new(shape: StartMigrationResponse)
1912
+ o.errors << Shapes::ShapeRef.new(shape: ReplicationGroupNotFoundFault)
1913
+ o.errors << Shapes::ShapeRef.new(shape: InvalidReplicationGroupStateFault)
1914
+ o.errors << Shapes::ShapeRef.new(shape: ReplicationGroupAlreadyUnderMigrationFault)
1915
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1916
+ end)
1917
+
1867
1918
  api.add_operation(:test_failover, Seahorse::Model::Operation.new.tap do |o|
1868
1919
  o.name = "TestFailover"
1869
1920
  o.http_method = "POST"
@@ -1049,6 +1049,45 @@ module Aws::ElastiCache
1049
1049
  include Aws::Structure
1050
1050
  end
1051
1051
 
1052
+ # @note When making an API call, you may pass CompleteMigrationMessage
1053
+ # data as a hash:
1054
+ #
1055
+ # {
1056
+ # replication_group_id: "String", # required
1057
+ # force: false,
1058
+ # }
1059
+ #
1060
+ # @!attribute [rw] replication_group_id
1061
+ # The ID of the replication group to which data is being migrated.
1062
+ # @return [String]
1063
+ #
1064
+ # @!attribute [rw] force
1065
+ # Forces the migration to stop without ensuring that data is in sync.
1066
+ # It is recommended to use this option only to abort the migration and
1067
+ # not recommended when application wants to continue migration to
1068
+ # ElastiCache.
1069
+ # @return [Boolean]
1070
+ #
1071
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CompleteMigrationMessage AWS API Documentation
1072
+ #
1073
+ class CompleteMigrationMessage < Struct.new(
1074
+ :replication_group_id,
1075
+ :force)
1076
+ include Aws::Structure
1077
+ end
1078
+
1079
+ # @!attribute [rw] replication_group
1080
+ # Contains all of the attributes of a specific Redis replication
1081
+ # group.
1082
+ # @return [Types::ReplicationGroup]
1083
+ #
1084
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CompleteMigrationResponse AWS API Documentation
1085
+ #
1086
+ class CompleteMigrationResponse < Struct.new(
1087
+ :replication_group)
1088
+ include Aws::Structure
1089
+ end
1090
+
1052
1091
  # Node group (shard) configuration options when adding or removing
1053
1092
  # replicas. Each node group (shard) configuration has the following
1054
1093
  # members: NodeGroupId, NewReplicaCount, and PreferredAvailabilityZones.
@@ -2321,6 +2360,32 @@ module Aws::ElastiCache
2321
2360
  include Aws::Structure
2322
2361
  end
2323
2362
 
2363
+ # The endpoint from which data should be migrated.
2364
+ #
2365
+ # @note When making an API call, you may pass CustomerNodeEndpoint
2366
+ # data as a hash:
2367
+ #
2368
+ # {
2369
+ # address: "String",
2370
+ # port: 1,
2371
+ # }
2372
+ #
2373
+ # @!attribute [rw] address
2374
+ # The address of the node endpoint
2375
+ # @return [String]
2376
+ #
2377
+ # @!attribute [rw] port
2378
+ # The port of the node endpoint
2379
+ # @return [Integer]
2380
+ #
2381
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CustomerNodeEndpoint AWS API Documentation
2382
+ #
2383
+ class CustomerNodeEndpoint < Struct.new(
2384
+ :address,
2385
+ :port)
2386
+ include Aws::Structure
2387
+ end
2388
+
2324
2389
  # @note When making an API call, you may pass DecreaseReplicaCountMessage
2325
2390
  # data as a hash:
2326
2391
  #
@@ -6285,6 +6350,48 @@ module Aws::ElastiCache
6285
6350
  include Aws::Structure
6286
6351
  end
6287
6352
 
6353
+ # @note When making an API call, you may pass StartMigrationMessage
6354
+ # data as a hash:
6355
+ #
6356
+ # {
6357
+ # replication_group_id: "String", # required
6358
+ # customer_node_endpoint_list: [ # required
6359
+ # {
6360
+ # address: "String",
6361
+ # port: 1,
6362
+ # },
6363
+ # ],
6364
+ # }
6365
+ #
6366
+ # @!attribute [rw] replication_group_id
6367
+ # The ID of the replication group to which data should be migrated.
6368
+ # @return [String]
6369
+ #
6370
+ # @!attribute [rw] customer_node_endpoint_list
6371
+ # List of endpoints from which data should be migrated. For Redis
6372
+ # (cluster mode disabled), list should have only one element.
6373
+ # @return [Array<Types::CustomerNodeEndpoint>]
6374
+ #
6375
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/StartMigrationMessage AWS API Documentation
6376
+ #
6377
+ class StartMigrationMessage < Struct.new(
6378
+ :replication_group_id,
6379
+ :customer_node_endpoint_list)
6380
+ include Aws::Structure
6381
+ end
6382
+
6383
+ # @!attribute [rw] replication_group
6384
+ # Contains all of the attributes of a specific Redis replication
6385
+ # group.
6386
+ # @return [Types::ReplicationGroup]
6387
+ #
6388
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/StartMigrationResponse AWS API Documentation
6389
+ #
6390
+ class StartMigrationResponse < Struct.new(
6391
+ :replication_group)
6392
+ include Aws::Structure
6393
+ end
6394
+
6288
6395
  # Represents the subnet associated with a cluster. This parameter refers
6289
6396
  # to subnets defined in Amazon Virtual Private Cloud (Amazon VPC) and
6290
6397
  # used with ElastiCache.
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.27.0
4
+ version: 1.28.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-23 00:00:00.000000000 Z
11
+ date: 2019-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core