aws-sdk-elasticache 1.153.0 → 1.154.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.
@@ -242,6 +242,8 @@ module Aws::ElastiCache
242
242
  LogDeliveryConfigurationStatus = Shapes::StringShape.new(name: 'LogDeliveryConfigurationStatus')
243
243
  LogFormat = Shapes::StringShape.new(name: 'LogFormat')
244
244
  LogType = Shapes::StringShape.new(name: 'LogType')
245
+ MigrationHealthFault = Shapes::StructureShape.new(name: 'MigrationHealthFault', error: {"code" => "MigrationHealthFault", "httpStatusCode" => 400, "senderFault" => true})
246
+ MigrationSummary = Shapes::StructureShape.new(name: 'MigrationSummary')
245
247
  ModifyCacheClusterMessage = Shapes::StructureShape.new(name: 'ModifyCacheClusterMessage')
246
248
  ModifyCacheClusterResult = Shapes::StructureShape.new(name: 'ModifyCacheClusterResult')
247
249
  ModifyCacheParameterGroupMessage = Shapes::StructureShape.new(name: 'ModifyCacheParameterGroupMessage')
@@ -296,6 +298,8 @@ module Aws::ElastiCache
296
298
  PendingModifiedValues = Shapes::StructureShape.new(name: 'PendingModifiedValues')
297
299
  PreferredAvailabilityZoneList = Shapes::ListShape.new(name: 'PreferredAvailabilityZoneList')
298
300
  PreferredOutpostArnList = Shapes::ListShape.new(name: 'PreferredOutpostArnList')
301
+ PrepareMigrationRequest = Shapes::StructureShape.new(name: 'PrepareMigrationRequest')
302
+ PrepareMigrationResponse = Shapes::StructureShape.new(name: 'PrepareMigrationResponse')
299
303
  ProcessedUpdateAction = Shapes::StructureShape.new(name: 'ProcessedUpdateAction')
300
304
  ProcessedUpdateActionList = Shapes::ListShape.new(name: 'ProcessedUpdateActionList')
301
305
  PurchaseReservedCacheNodesOfferingMessage = Shapes::StructureShape.new(name: 'PurchaseReservedCacheNodesOfferingMessage')
@@ -338,14 +342,17 @@ module Aws::ElastiCache
338
342
  RevokeCacheSecurityGroupIngressMessage = Shapes::StructureShape.new(name: 'RevokeCacheSecurityGroupIngressMessage')
339
343
  RevokeCacheSecurityGroupIngressResult = Shapes::StructureShape.new(name: 'RevokeCacheSecurityGroupIngressResult')
340
344
  ScaleConfig = Shapes::StructureShape.new(name: 'ScaleConfig')
345
+ SecretManagerAuthConfig = Shapes::StructureShape.new(name: 'SecretManagerAuthConfig')
341
346
  SecurityGroupIdsList = Shapes::ListShape.new(name: 'SecurityGroupIdsList')
342
347
  SecurityGroupMembership = Shapes::StructureShape.new(name: 'SecurityGroupMembership')
343
348
  SecurityGroupMembershipList = Shapes::ListShape.new(name: 'SecurityGroupMembershipList')
344
349
  ServerlessCache = Shapes::StructureShape.new(name: 'ServerlessCache')
345
350
  ServerlessCacheAlreadyExistsFault = Shapes::StructureShape.new(name: 'ServerlessCacheAlreadyExistsFault', error: {"code" => "ServerlessCacheAlreadyExistsFault", "httpStatusCode" => 400, "senderFault" => true})
351
+ ServerlessCacheAlreadyUnderMigrationFault = Shapes::StructureShape.new(name: 'ServerlessCacheAlreadyUnderMigrationFault', error: {"code" => "ServerlessCacheAlreadyUnderMigrationFault", "httpStatusCode" => 400, "senderFault" => true})
346
352
  ServerlessCacheConfiguration = Shapes::StructureShape.new(name: 'ServerlessCacheConfiguration')
347
353
  ServerlessCacheList = Shapes::ListShape.new(name: 'ServerlessCacheList')
348
354
  ServerlessCacheNotFoundFault = Shapes::StructureShape.new(name: 'ServerlessCacheNotFoundFault', error: {"code" => "ServerlessCacheNotFoundFault", "httpStatusCode" => 404, "senderFault" => true})
355
+ ServerlessCacheNotUnderMigrationFault = Shapes::StructureShape.new(name: 'ServerlessCacheNotUnderMigrationFault', error: {"code" => "ServerlessCacheNotUnderMigrationFault", "httpStatusCode" => 400, "senderFault" => true})
349
356
  ServerlessCacheQuotaForCustomerExceededFault = Shapes::StructureShape.new(name: 'ServerlessCacheQuotaForCustomerExceededFault', error: {"code" => "ServerlessCacheQuotaForCustomerExceededFault", "httpStatusCode" => 400, "senderFault" => true})
350
357
  ServerlessCacheSnapshot = Shapes::StructureShape.new(name: 'ServerlessCacheSnapshot')
351
358
  ServerlessCacheSnapshotAlreadyExistsFault = Shapes::StructureShape.new(name: 'ServerlessCacheSnapshotAlreadyExistsFault', error: {"code" => "ServerlessCacheSnapshotAlreadyExistsFault", "httpStatusCode" => 400, "senderFault" => true})
@@ -370,9 +377,13 @@ module Aws::ElastiCache
370
377
  SnapshotList = Shapes::ListShape.new(name: 'SnapshotList')
371
378
  SnapshotNotFoundFault = Shapes::StructureShape.new(name: 'SnapshotNotFoundFault', error: {"code" => "SnapshotNotFoundFault", "httpStatusCode" => 404, "senderFault" => true})
372
379
  SnapshotQuotaExceededFault = Shapes::StructureShape.new(name: 'SnapshotQuotaExceededFault', error: {"code" => "SnapshotQuotaExceededFault", "httpStatusCode" => 400, "senderFault" => true})
380
+ SourceAuthenticationConfiguration = Shapes::StructureShape.new(name: 'SourceAuthenticationConfiguration')
381
+ SourceTlsConfiguration = Shapes::StructureShape.new(name: 'SourceTlsConfiguration')
373
382
  SourceType = Shapes::StringShape.new(name: 'SourceType')
374
383
  StartMigrationMessage = Shapes::StructureShape.new(name: 'StartMigrationMessage')
375
384
  StartMigrationResponse = Shapes::StructureShape.new(name: 'StartMigrationResponse')
385
+ StopMigrationRequest = Shapes::StructureShape.new(name: 'StopMigrationRequest')
386
+ StopMigrationResponse = Shapes::StructureShape.new(name: 'StopMigrationResponse')
376
387
  StorageEncryptionType = Shapes::StringShape.new(name: 'StorageEncryptionType')
377
388
  String = Shapes::StringShape.new(name: 'String')
378
389
  Subnet = Shapes::StructureShape.new(name: 'Subnet')
@@ -394,6 +405,7 @@ module Aws::ElastiCache
394
405
  TestMigrationMessage = Shapes::StructureShape.new(name: 'TestMigrationMessage')
395
406
  TestMigrationResponse = Shapes::StructureShape.new(name: 'TestMigrationResponse')
396
407
  TimeRangeFilter = Shapes::StructureShape.new(name: 'TimeRangeFilter')
408
+ TlsMode = Shapes::StringShape.new(name: 'TlsMode')
397
409
  TransitEncryptionMode = Shapes::StringShape.new(name: 'TransitEncryptionMode')
398
410
  UGReplicationGroupIdList = Shapes::ListShape.new(name: 'UGReplicationGroupIdList')
399
411
  UGServerlessCacheIdList = Shapes::ListShape.new(name: 'UGServerlessCacheIdList')
@@ -669,11 +681,13 @@ module Aws::ElastiCache
669
681
 
670
682
  ClusterQuotaForCustomerExceededFault.struct_class = Types::ClusterQuotaForCustomerExceededFault
671
683
 
672
- CompleteMigrationMessage.add_member(:replication_group_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReplicationGroupId"))
684
+ CompleteMigrationMessage.add_member(:replication_group_id, Shapes::ShapeRef.new(shape: String, location_name: "ReplicationGroupId"))
685
+ CompleteMigrationMessage.add_member(:serverless_cache_name, Shapes::ShapeRef.new(shape: String, location_name: "ServerlessCacheName"))
673
686
  CompleteMigrationMessage.add_member(:force, Shapes::ShapeRef.new(shape: Boolean, location_name: "Force"))
674
687
  CompleteMigrationMessage.struct_class = Types::CompleteMigrationMessage
675
688
 
676
689
  CompleteMigrationResponse.add_member(:replication_group, Shapes::ShapeRef.new(shape: ReplicationGroup, location_name: "ReplicationGroup"))
690
+ CompleteMigrationResponse.add_member(:serverless_cache, Shapes::ShapeRef.new(shape: ServerlessCache, location_name: "ServerlessCache"))
677
691
  CompleteMigrationResponse.struct_class = Types::CompleteMigrationResponse
678
692
 
679
693
  ConfigureShard.add_member(:node_group_id, Shapes::ShapeRef.new(shape: AllowedNodeGroupId, required: true, location_name: "NodeGroupId"))
@@ -1319,6 +1333,13 @@ module Aws::ElastiCache
1319
1333
 
1320
1334
  LogDeliveryConfigurationRequestList.member = Shapes::ShapeRef.new(shape: LogDeliveryConfigurationRequest, location_name: "LogDeliveryConfigurationRequest")
1321
1335
 
1336
+ MigrationHealthFault.struct_class = Types::MigrationHealthFault
1337
+
1338
+ MigrationSummary.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "Status"))
1339
+ MigrationSummary.add_member(:migration_endpoint, Shapes::ShapeRef.new(shape: Endpoint, location_name: "MigrationEndpoint"))
1340
+ MigrationSummary.add_member(:cutover_mode, Shapes::ShapeRef.new(shape: String, location_name: "CutoverMode"))
1341
+ MigrationSummary.struct_class = Types::MigrationSummary
1342
+
1322
1343
  ModifyCacheClusterMessage.add_member(:cache_cluster_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "CacheClusterId"))
1323
1344
  ModifyCacheClusterMessage.add_member(:num_cache_nodes, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "NumCacheNodes"))
1324
1345
  ModifyCacheClusterMessage.add_member(:cache_node_ids_to_remove, Shapes::ShapeRef.new(shape: CacheNodeIdsList, location_name: "CacheNodeIdsToRemove"))
@@ -1578,6 +1599,15 @@ module Aws::ElastiCache
1578
1599
 
1579
1600
  PreferredOutpostArnList.member = Shapes::ShapeRef.new(shape: String, location_name: "PreferredOutpostArn")
1580
1601
 
1602
+ PrepareMigrationRequest.add_member(:serverless_cache_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ServerlessCacheName"))
1603
+ PrepareMigrationRequest.add_member(:customer_node_endpoint_list, Shapes::ShapeRef.new(shape: CustomerNodeEndpointList, required: true, location_name: "CustomerNodeEndpointList"))
1604
+ PrepareMigrationRequest.add_member(:source_authentication_configuration, Shapes::ShapeRef.new(shape: SourceAuthenticationConfiguration, location_name: "SourceAuthenticationConfiguration"))
1605
+ PrepareMigrationRequest.add_member(:source_tls_configuration, Shapes::ShapeRef.new(shape: SourceTlsConfiguration, location_name: "SourceTlsConfiguration"))
1606
+ PrepareMigrationRequest.struct_class = Types::PrepareMigrationRequest
1607
+
1608
+ PrepareMigrationResponse.add_member(:serverless_cache, Shapes::ShapeRef.new(shape: ServerlessCache, location_name: "ServerlessCache"))
1609
+ PrepareMigrationResponse.struct_class = Types::PrepareMigrationResponse
1610
+
1581
1611
  ProcessedUpdateAction.add_member(:replication_group_id, Shapes::ShapeRef.new(shape: String, location_name: "ReplicationGroupId"))
1582
1612
  ProcessedUpdateAction.add_member(:cache_cluster_id, Shapes::ShapeRef.new(shape: String, location_name: "CacheClusterId"))
1583
1613
  ProcessedUpdateAction.add_member(:service_update_name, Shapes::ShapeRef.new(shape: String, location_name: "ServiceUpdateName"))
@@ -1767,6 +1797,9 @@ module Aws::ElastiCache
1767
1797
  ScaleConfig.add_member(:scale_interval_minutes, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "ScaleIntervalMinutes"))
1768
1798
  ScaleConfig.struct_class = Types::ScaleConfig
1769
1799
 
1800
+ SecretManagerAuthConfig.add_member(:secret_arn, Shapes::ShapeRef.new(shape: String, location_name: "SecretArn"))
1801
+ SecretManagerAuthConfig.struct_class = Types::SecretManagerAuthConfig
1802
+
1770
1803
  SecurityGroupIdsList.member = Shapes::ShapeRef.new(shape: String, location_name: "SecurityGroupId")
1771
1804
 
1772
1805
  SecurityGroupMembership.add_member(:security_group_id, Shapes::ShapeRef.new(shape: String, location_name: "SecurityGroupId"))
@@ -1795,10 +1828,13 @@ module Aws::ElastiCache
1795
1828
  ServerlessCache.add_member(:daily_snapshot_time, Shapes::ShapeRef.new(shape: String, location_name: "DailySnapshotTime"))
1796
1829
  ServerlessCache.add_member(:network_type, Shapes::ShapeRef.new(shape: NetworkType, location_name: "NetworkType"))
1797
1830
  ServerlessCache.add_member(:connection_type, Shapes::ShapeRef.new(shape: ConnectionType, location_name: "ConnectionType"))
1831
+ ServerlessCache.add_member(:migration, Shapes::ShapeRef.new(shape: MigrationSummary, location_name: "Migration"))
1798
1832
  ServerlessCache.struct_class = Types::ServerlessCache
1799
1833
 
1800
1834
  ServerlessCacheAlreadyExistsFault.struct_class = Types::ServerlessCacheAlreadyExistsFault
1801
1835
 
1836
+ ServerlessCacheAlreadyUnderMigrationFault.struct_class = Types::ServerlessCacheAlreadyUnderMigrationFault
1837
+
1802
1838
  ServerlessCacheConfiguration.add_member(:serverless_cache_name, Shapes::ShapeRef.new(shape: String, location_name: "ServerlessCacheName"))
1803
1839
  ServerlessCacheConfiguration.add_member(:engine, Shapes::ShapeRef.new(shape: String, location_name: "Engine"))
1804
1840
  ServerlessCacheConfiguration.add_member(:major_engine_version, Shapes::ShapeRef.new(shape: String, location_name: "MajorEngineVersion"))
@@ -1808,6 +1844,8 @@ module Aws::ElastiCache
1808
1844
 
1809
1845
  ServerlessCacheNotFoundFault.struct_class = Types::ServerlessCacheNotFoundFault
1810
1846
 
1847
+ ServerlessCacheNotUnderMigrationFault.struct_class = Types::ServerlessCacheNotUnderMigrationFault
1848
+
1811
1849
  ServerlessCacheQuotaForCustomerExceededFault.struct_class = Types::ServerlessCacheQuotaForCustomerExceededFault
1812
1850
 
1813
1851
  ServerlessCacheSnapshot.add_member(:serverless_cache_snapshot_name, Shapes::ShapeRef.new(shape: String, location_name: "ServerlessCacheSnapshotName"))
@@ -1901,13 +1939,30 @@ module Aws::ElastiCache
1901
1939
 
1902
1940
  SnapshotQuotaExceededFault.struct_class = Types::SnapshotQuotaExceededFault
1903
1941
 
1904
- StartMigrationMessage.add_member(:replication_group_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReplicationGroupId"))
1905
- StartMigrationMessage.add_member(:customer_node_endpoint_list, Shapes::ShapeRef.new(shape: CustomerNodeEndpointList, required: true, location_name: "CustomerNodeEndpointList"))
1942
+ SourceAuthenticationConfiguration.add_member(:secret_manager_config, Shapes::ShapeRef.new(shape: SecretManagerAuthConfig, location_name: "SecretManagerConfig"))
1943
+ SourceAuthenticationConfiguration.struct_class = Types::SourceAuthenticationConfiguration
1944
+
1945
+ SourceTlsConfiguration.add_member(:source_tls_mode, Shapes::ShapeRef.new(shape: TlsMode, location_name: "SourceTlsMode"))
1946
+ SourceTlsConfiguration.add_member(:source_tls_certificate, Shapes::ShapeRef.new(shape: String, location_name: "SourceTlsCertificate"))
1947
+ SourceTlsConfiguration.struct_class = Types::SourceTlsConfiguration
1948
+
1949
+ StartMigrationMessage.add_member(:serverless_cache_name, Shapes::ShapeRef.new(shape: String, location_name: "ServerlessCacheName"))
1950
+ StartMigrationMessage.add_member(:replication_group_id, Shapes::ShapeRef.new(shape: String, location_name: "ReplicationGroupId"))
1951
+ StartMigrationMessage.add_member(:customer_node_endpoint_list, Shapes::ShapeRef.new(shape: CustomerNodeEndpointList, location_name: "CustomerNodeEndpointList"))
1952
+ StartMigrationMessage.add_member(:auto_cutover, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "AutoCutover"))
1953
+ StartMigrationMessage.add_member(:clear_target_cache_data, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "ClearTargetCacheData"))
1906
1954
  StartMigrationMessage.struct_class = Types::StartMigrationMessage
1907
1955
 
1908
1956
  StartMigrationResponse.add_member(:replication_group, Shapes::ShapeRef.new(shape: ReplicationGroup, location_name: "ReplicationGroup"))
1957
+ StartMigrationResponse.add_member(:serverless_cache, Shapes::ShapeRef.new(shape: ServerlessCache, location_name: "ServerlessCache"))
1909
1958
  StartMigrationResponse.struct_class = Types::StartMigrationResponse
1910
1959
 
1960
+ StopMigrationRequest.add_member(:serverless_cache_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ServerlessCacheName"))
1961
+ StopMigrationRequest.struct_class = Types::StopMigrationRequest
1962
+
1963
+ StopMigrationResponse.add_member(:serverless_cache, Shapes::ShapeRef.new(shape: ServerlessCache, location_name: "ServerlessCache"))
1964
+ StopMigrationResponse.struct_class = Types::StopMigrationResponse
1965
+
1911
1966
  Subnet.add_member(:subnet_identifier, Shapes::ShapeRef.new(shape: String, location_name: "SubnetIdentifier"))
1912
1967
  Subnet.add_member(:subnet_availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZone, location_name: "SubnetAvailabilityZone"))
1913
1968
  Subnet.add_member(:subnet_outpost, Shapes::ShapeRef.new(shape: SubnetOutpost, location_name: "SubnetOutpost"))
@@ -2145,6 +2200,13 @@ module Aws::ElastiCache
2145
2200
  o.errors << Shapes::ShapeRef.new(shape: ReplicationGroupNotFoundFault)
2146
2201
  o.errors << Shapes::ShapeRef.new(shape: InvalidReplicationGroupStateFault)
2147
2202
  o.errors << Shapes::ShapeRef.new(shape: ReplicationGroupNotUnderMigrationFault)
2203
+ o.errors << Shapes::ShapeRef.new(shape: InvalidCacheClusterStateFault)
2204
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2205
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
2206
+ o.errors << Shapes::ShapeRef.new(shape: ServerlessCacheNotFoundFault)
2207
+ o.errors << Shapes::ShapeRef.new(shape: InvalidServerlessCacheStateFault)
2208
+ o.errors << Shapes::ShapeRef.new(shape: ServerlessCacheNotUnderMigrationFault)
2209
+ o.errors << Shapes::ShapeRef.new(shape: MigrationHealthFault)
2148
2210
  end)
2149
2211
 
2150
2212
  api.add_operation(:copy_serverless_cache_snapshot, Seahorse::Model::Operation.new.tap do |o|
@@ -3101,6 +3163,18 @@ module Aws::ElastiCache
3101
3163
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
3102
3164
  end)
3103
3165
 
3166
+ api.add_operation(:prepare_migration, Seahorse::Model::Operation.new.tap do |o|
3167
+ o.name = "PrepareMigration"
3168
+ o.http_method = "POST"
3169
+ o.http_request_uri = "/"
3170
+ o.input = Shapes::ShapeRef.new(shape: PrepareMigrationRequest)
3171
+ o.output = Shapes::ShapeRef.new(shape: PrepareMigrationResponse)
3172
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
3173
+ o.errors << Shapes::ShapeRef.new(shape: ServerlessCacheNotFoundFault)
3174
+ o.errors << Shapes::ShapeRef.new(shape: InvalidServerlessCacheStateFault)
3175
+ o.errors << Shapes::ShapeRef.new(shape: ServerlessCacheAlreadyUnderMigrationFault)
3176
+ end)
3177
+
3104
3178
  api.add_operation(:purchase_reserved_cache_nodes_offering, Seahorse::Model::Operation.new.tap do |o|
3105
3179
  o.name = "PurchaseReservedCacheNodesOffering"
3106
3180
  o.http_method = "POST"
@@ -3197,7 +3271,25 @@ module Aws::ElastiCache
3197
3271
  o.errors << Shapes::ShapeRef.new(shape: ReplicationGroupNotFoundFault)
3198
3272
  o.errors << Shapes::ShapeRef.new(shape: InvalidReplicationGroupStateFault)
3199
3273
  o.errors << Shapes::ShapeRef.new(shape: ReplicationGroupAlreadyUnderMigrationFault)
3274
+ o.errors << Shapes::ShapeRef.new(shape: InvalidCacheClusterStateFault)
3275
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
3276
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
3277
+ o.errors << Shapes::ShapeRef.new(shape: ServerlessCacheNotFoundFault)
3278
+ o.errors << Shapes::ShapeRef.new(shape: InvalidServerlessCacheStateFault)
3279
+ o.errors << Shapes::ShapeRef.new(shape: ServerlessCacheNotUnderMigrationFault)
3280
+ o.errors << Shapes::ShapeRef.new(shape: MigrationHealthFault)
3281
+ end)
3282
+
3283
+ api.add_operation(:stop_migration, Seahorse::Model::Operation.new.tap do |o|
3284
+ o.name = "StopMigration"
3285
+ o.http_method = "POST"
3286
+ o.http_request_uri = "/"
3287
+ o.input = Shapes::ShapeRef.new(shape: StopMigrationRequest)
3288
+ o.output = Shapes::ShapeRef.new(shape: StopMigrationResponse)
3200
3289
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
3290
+ o.errors << Shapes::ShapeRef.new(shape: ServerlessCacheNotFoundFault)
3291
+ o.errors << Shapes::ShapeRef.new(shape: InvalidServerlessCacheStateFault)
3292
+ o.errors << Shapes::ShapeRef.new(shape: ServerlessCacheNotUnderMigrationFault)
3201
3293
  end)
3202
3294
 
3203
3295
  api.add_operation(:test_failover, Seahorse::Model::Operation.new.tap do |o|
@@ -3226,7 +3318,9 @@ module Aws::ElastiCache
3226
3318
  o.errors << Shapes::ShapeRef.new(shape: ReplicationGroupNotFoundFault)
3227
3319
  o.errors << Shapes::ShapeRef.new(shape: InvalidReplicationGroupStateFault)
3228
3320
  o.errors << Shapes::ShapeRef.new(shape: ReplicationGroupAlreadyUnderMigrationFault)
3321
+ o.errors << Shapes::ShapeRef.new(shape: InvalidCacheClusterStateFault)
3229
3322
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
3323
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
3230
3324
  end)
3231
3325
  end
3232
3326
 
@@ -95,6 +95,7 @@ module Aws::ElastiCache
95
95
  # * {InvalidUserStateFault}
96
96
  # * This error class is not used. `InvalidUserState` is used during parsing instead.
97
97
  # * {InvalidVPCNetworkStateFault}
98
+ # * {MigrationHealthFault}
98
99
  # * {NoOperationFault}
99
100
  # * {NodeGroupNotFoundFault}
100
101
  # * {NodeGroupsPerReplicationGroupQuotaExceededFault}
@@ -117,7 +118,9 @@ module Aws::ElastiCache
117
118
  # * {ReservedCacheNodesOfferingNotFoundFault}
118
119
  # * This error class is not used. `ReservedCacheNodesOfferingNotFound` is used during parsing instead.
119
120
  # * {ServerlessCacheAlreadyExistsFault}
121
+ # * {ServerlessCacheAlreadyUnderMigrationFault}
120
122
  # * {ServerlessCacheNotFoundFault}
123
+ # * {ServerlessCacheNotUnderMigrationFault}
121
124
  # * {ServerlessCacheQuotaForCustomerExceededFault}
122
125
  # * {ServerlessCacheSnapshotAlreadyExistsFault}
123
126
  # * {ServerlessCacheSnapshotNotFoundFault}
@@ -619,6 +622,16 @@ module Aws::ElastiCache
619
622
  end
620
623
  end
621
624
 
625
+ class MigrationHealthFault < ServiceError
626
+
627
+ # @param [Seahorse::Client::RequestContext] context
628
+ # @param [String] message
629
+ # @param [Aws::ElastiCache::Types::MigrationHealthFault] data
630
+ def initialize(context, message, data = Aws::EmptyStructure.new)
631
+ super(context, message, data)
632
+ end
633
+ end
634
+
622
635
  class NoOperationFault < ServiceError
623
636
 
624
637
  # @param [Seahorse::Client::RequestContext] context
@@ -775,6 +788,16 @@ module Aws::ElastiCache
775
788
  end
776
789
  end
777
790
 
791
+ class ServerlessCacheAlreadyUnderMigrationFault < ServiceError
792
+
793
+ # @param [Seahorse::Client::RequestContext] context
794
+ # @param [String] message
795
+ # @param [Aws::ElastiCache::Types::ServerlessCacheAlreadyUnderMigrationFault] data
796
+ def initialize(context, message, data = Aws::EmptyStructure.new)
797
+ super(context, message, data)
798
+ end
799
+ end
800
+
778
801
  class ServerlessCacheNotFoundFault < ServiceError
779
802
 
780
803
  # @param [Seahorse::Client::RequestContext] context
@@ -785,6 +808,16 @@ module Aws::ElastiCache
785
808
  end
786
809
  end
787
810
 
811
+ class ServerlessCacheNotUnderMigrationFault < ServiceError
812
+
813
+ # @param [Seahorse::Client::RequestContext] context
814
+ # @param [String] message
815
+ # @param [Aws::ElastiCache::Types::ServerlessCacheNotUnderMigrationFault] data
816
+ def initialize(context, message, data = Aws::EmptyStructure.new)
817
+ super(context, message, data)
818
+ end
819
+ end
820
+
788
821
  class ServerlessCacheQuotaForCustomerExceededFault < ServiceError
789
822
 
790
823
  # @param [Seahorse::Client::RequestContext] context
@@ -1408,6 +1408,10 @@ module Aws::ElastiCache
1408
1408
  # The ID of the replication group to which data is being migrated.
1409
1409
  # @return [String]
1410
1410
  #
1411
+ # @!attribute [rw] serverless_cache_name
1412
+ # The name of the serverless cache to which data is being migrated.
1413
+ # @return [String]
1414
+ #
1411
1415
  # @!attribute [rw] force
1412
1416
  # Forces the migration to stop without ensuring that data is in sync.
1413
1417
  # It is recommended to use this option only to abort the migration and
@@ -1419,6 +1423,7 @@ module Aws::ElastiCache
1419
1423
  #
1420
1424
  class CompleteMigrationMessage < Struct.new(
1421
1425
  :replication_group_id,
1426
+ :serverless_cache_name,
1422
1427
  :force)
1423
1428
  SENSITIVE = []
1424
1429
  include Aws::Structure
@@ -1429,10 +1434,16 @@ module Aws::ElastiCache
1429
1434
  # replication group.
1430
1435
  # @return [Types::ReplicationGroup]
1431
1436
  #
1437
+ # @!attribute [rw] serverless_cache
1438
+ # Provides the details of the serverless cache for which the migration
1439
+ # completed.
1440
+ # @return [Types::ServerlessCache]
1441
+ #
1432
1442
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CompleteMigrationResponse AWS API Documentation
1433
1443
  #
1434
1444
  class CompleteMigrationResponse < Struct.new(
1435
- :replication_group)
1445
+ :replication_group,
1446
+ :serverless_cache)
1436
1447
  SENSITIVE = []
1437
1448
  include Aws::Structure
1438
1449
  end
@@ -5806,6 +5817,42 @@ module Aws::ElastiCache
5806
5817
  include Aws::Structure
5807
5818
  end
5808
5819
 
5820
+ # The migration is not healthy. Check the events for this serverless
5821
+ # cache for more details. For `CompleteMigration`, set `Force` to true
5822
+ # to bypass this check.
5823
+ #
5824
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/MigrationHealthFault AWS API Documentation
5825
+ #
5826
+ class MigrationHealthFault < Aws::EmptyStructure; end
5827
+
5828
+ # Provides a summary of the current migration status for a serverless
5829
+ # cache.
5830
+ #
5831
+ # @!attribute [rw] status
5832
+ # The current status of the migration.
5833
+ # @return [String]
5834
+ #
5835
+ # @!attribute [rw] migration_endpoint
5836
+ # The migration endpoint, which is the standard endpoint of the
5837
+ # serverless cache. Point your application at this endpoint during the
5838
+ # migration. Until cutover, ElastiCache routes requests on this
5839
+ # endpoint to your source.
5840
+ # @return [Types::Endpoint]
5841
+ #
5842
+ # @!attribute [rw] cutover_mode
5843
+ # The cutover configuration for the migration.
5844
+ # @return [String]
5845
+ #
5846
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/MigrationSummary AWS API Documentation
5847
+ #
5848
+ class MigrationSummary < Struct.new(
5849
+ :status,
5850
+ :migration_endpoint,
5851
+ :cutover_mode)
5852
+ SENSITIVE = []
5853
+ include Aws::Structure
5854
+ end
5855
+
5809
5856
  # Represents the input of a `ModifyCacheCluster` operation.
5810
5857
  #
5811
5858
  # @!attribute [rw] cache_cluster_id
@@ -7439,6 +7486,47 @@ module Aws::ElastiCache
7439
7486
  include Aws::Structure
7440
7487
  end
7441
7488
 
7489
+ # @!attribute [rw] serverless_cache_name
7490
+ # The name of the serverless cache to prepare for migration.
7491
+ # @return [String]
7492
+ #
7493
+ # @!attribute [rw] customer_node_endpoint_list
7494
+ # The list of endpoints from which to migrate data. For serverless
7495
+ # cache migrations, the list should have only one element.
7496
+ # @return [Array<Types::CustomerNodeEndpoint>]
7497
+ #
7498
+ # @!attribute [rw] source_authentication_configuration
7499
+ # The authentication configuration for connecting to the source during
7500
+ # migration.
7501
+ # @return [Types::SourceAuthenticationConfiguration]
7502
+ #
7503
+ # @!attribute [rw] source_tls_configuration
7504
+ # The TLS configuration for connecting to the source during migration.
7505
+ # @return [Types::SourceTlsConfiguration]
7506
+ #
7507
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/PrepareMigrationRequest AWS API Documentation
7508
+ #
7509
+ class PrepareMigrationRequest < Struct.new(
7510
+ :serverless_cache_name,
7511
+ :customer_node_endpoint_list,
7512
+ :source_authentication_configuration,
7513
+ :source_tls_configuration)
7514
+ SENSITIVE = []
7515
+ include Aws::Structure
7516
+ end
7517
+
7518
+ # @!attribute [rw] serverless_cache
7519
+ # Provides the details of the serverless cache prepared for migration.
7520
+ # @return [Types::ServerlessCache]
7521
+ #
7522
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/PrepareMigrationResponse AWS API Documentation
7523
+ #
7524
+ class PrepareMigrationResponse < Struct.new(
7525
+ :serverless_cache)
7526
+ SENSITIVE = []
7527
+ include Aws::Structure
7528
+ end
7529
+
7442
7530
  # Update action that has been processed for the corresponding apply/stop
7443
7531
  # request
7444
7532
  #
@@ -8621,6 +8709,22 @@ module Aws::ElastiCache
8621
8709
  include Aws::Structure
8622
8710
  end
8623
8711
 
8712
+ # Configuration for authenticating with the source using Secrets Manager
8713
+ # during migration.
8714
+ #
8715
+ # @!attribute [rw] secret_arn
8716
+ # The ARN of the secret in AWS Secrets Manager that contains the
8717
+ # credentials for authenticating with the source.
8718
+ # @return [String]
8719
+ #
8720
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/SecretManagerAuthConfig AWS API Documentation
8721
+ #
8722
+ class SecretManagerAuthConfig < Struct.new(
8723
+ :secret_arn)
8724
+ SENSITIVE = []
8725
+ include Aws::Structure
8726
+ end
8727
+
8624
8728
  # Represents a single cache security group and its status.
8625
8729
  #
8626
8730
  # @!attribute [rw] security_group_id
@@ -8748,6 +8852,10 @@ module Aws::ElastiCache
8748
8852
  # \| `public`. If not specified, defaults to `vpc`.
8749
8853
  # @return [String]
8750
8854
  #
8855
+ # @!attribute [rw] migration
8856
+ # Provides a summary of the migration status for the serverless cache.
8857
+ # @return [Types::MigrationSummary]
8858
+ #
8751
8859
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ServerlessCache AWS API Documentation
8752
8860
  #
8753
8861
  class ServerlessCache < Struct.new(
@@ -8770,7 +8878,8 @@ module Aws::ElastiCache
8770
8878
  :snapshot_retention_limit,
8771
8879
  :daily_snapshot_time,
8772
8880
  :network_type,
8773
- :connection_type)
8881
+ :connection_type,
8882
+ :migration)
8774
8883
  SENSITIVE = []
8775
8884
  include Aws::Structure
8776
8885
  end
@@ -8781,6 +8890,13 @@ module Aws::ElastiCache
8781
8890
  #
8782
8891
  class ServerlessCacheAlreadyExistsFault < Aws::EmptyStructure; end
8783
8892
 
8893
+ # A migration is already in progress for this serverless cache. You
8894
+ # cannot start another migration until the current one completes.
8895
+ #
8896
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ServerlessCacheAlreadyUnderMigrationFault AWS API Documentation
8897
+ #
8898
+ class ServerlessCacheAlreadyUnderMigrationFault < Aws::EmptyStructure; end
8899
+
8784
8900
  # The configuration settings for a specific serverless cache.
8785
8901
  #
8786
8902
  # @!attribute [rw] serverless_cache_name
@@ -8812,6 +8928,12 @@ module Aws::ElastiCache
8812
8928
  #
8813
8929
  class ServerlessCacheNotFoundFault < Aws::EmptyStructure; end
8814
8930
 
8931
+ # The serverless cache is not currently under migration.
8932
+ #
8933
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ServerlessCacheNotUnderMigrationFault AWS API Documentation
8934
+ #
8935
+ class ServerlessCacheNotUnderMigrationFault < Aws::EmptyStructure; end
8936
+
8815
8937
  # The number of serverless caches exceeds the customer quota.
8816
8938
  #
8817
8939
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ServerlessCacheQuotaForCustomerExceededFault AWS API Documentation
@@ -9396,21 +9518,77 @@ module Aws::ElastiCache
9396
9518
  #
9397
9519
  class SnapshotQuotaExceededFault < Aws::EmptyStructure; end
9398
9520
 
9521
+ # The authentication configuration for connecting to the source during
9522
+ # migration.
9523
+ #
9524
+ # @!attribute [rw] secret_manager_config
9525
+ # The Secrets Manager configuration used for authenticating with the
9526
+ # source during migration.
9527
+ # @return [Types::SecretManagerAuthConfig]
9528
+ #
9529
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/SourceAuthenticationConfiguration AWS API Documentation
9530
+ #
9531
+ class SourceAuthenticationConfiguration < Struct.new(
9532
+ :secret_manager_config)
9533
+ SENSITIVE = []
9534
+ include Aws::Structure
9535
+ end
9536
+
9537
+ # The TLS configuration for connecting to the source during migration.
9538
+ #
9539
+ # @!attribute [rw] source_tls_mode
9540
+ # The TLS mode to use when connecting to the source. Valid values are
9541
+ # `none` and `verify-ca`.
9542
+ # @return [String]
9543
+ #
9544
+ # @!attribute [rw] source_tls_certificate
9545
+ # The TLS certificate used to verify the identity of the source during
9546
+ # migration.
9547
+ # @return [String]
9548
+ #
9549
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/SourceTlsConfiguration AWS API Documentation
9550
+ #
9551
+ class SourceTlsConfiguration < Struct.new(
9552
+ :source_tls_mode,
9553
+ :source_tls_certificate)
9554
+ SENSITIVE = []
9555
+ include Aws::Structure
9556
+ end
9557
+
9558
+ # @!attribute [rw] serverless_cache_name
9559
+ # The name of the serverless cache to which data is being migrated.
9560
+ # @return [String]
9561
+ #
9399
9562
  # @!attribute [rw] replication_group_id
9400
9563
  # The ID of the replication group to which data should be migrated.
9401
9564
  # @return [String]
9402
9565
  #
9403
9566
  # @!attribute [rw] customer_node_endpoint_list
9404
- # List of endpoints from which data should be migrated. For Valkey or
9567
+ # The list of endpoints from which to migrate data. For Valkey or
9405
9568
  # Redis OSS (cluster mode disabled), the list should have only one
9406
- # element.
9569
+ # element. For serverless cache migrations, ElastiCache uses the
9570
+ # endpoint that you provided in `PrepareMigration`.
9407
9571
  # @return [Array<Types::CustomerNodeEndpoint>]
9408
9572
  #
9573
+ # @!attribute [rw] auto_cutover
9574
+ # Specifies whether ElastiCache automatically attempts to complete the
9575
+ # migration after data sync is established.
9576
+ # @return [Boolean]
9577
+ #
9578
+ # @!attribute [rw] clear_target_cache_data
9579
+ # Specifies whether ElastiCache deletes existing data in the
9580
+ # serverless cache before migration begins. After `StopMigration`,
9581
+ # `StartMigration` requires this option to restart the data sync.
9582
+ # @return [Boolean]
9583
+ #
9409
9584
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/StartMigrationMessage AWS API Documentation
9410
9585
  #
9411
9586
  class StartMigrationMessage < Struct.new(
9587
+ :serverless_cache_name,
9412
9588
  :replication_group_id,
9413
- :customer_node_endpoint_list)
9589
+ :customer_node_endpoint_list,
9590
+ :auto_cutover,
9591
+ :clear_target_cache_data)
9414
9592
  SENSITIVE = []
9415
9593
  include Aws::Structure
9416
9594
  end
@@ -9420,10 +9598,41 @@ module Aws::ElastiCache
9420
9598
  # replication group.
9421
9599
  # @return [Types::ReplicationGroup]
9422
9600
  #
9601
+ # @!attribute [rw] serverless_cache
9602
+ # Provides the details of the serverless cache to which ElastiCache is
9603
+ # migrating data.
9604
+ # @return [Types::ServerlessCache]
9605
+ #
9423
9606
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/StartMigrationResponse AWS API Documentation
9424
9607
  #
9425
9608
  class StartMigrationResponse < Struct.new(
9426
- :replication_group)
9609
+ :replication_group,
9610
+ :serverless_cache)
9611
+ SENSITIVE = []
9612
+ include Aws::Structure
9613
+ end
9614
+
9615
+ # @!attribute [rw] serverless_cache_name
9616
+ # The name of the serverless cache for which to stop the data sync.
9617
+ # @return [String]
9618
+ #
9619
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/StopMigrationRequest AWS API Documentation
9620
+ #
9621
+ class StopMigrationRequest < Struct.new(
9622
+ :serverless_cache_name)
9623
+ SENSITIVE = []
9624
+ include Aws::Structure
9625
+ end
9626
+
9627
+ # @!attribute [rw] serverless_cache
9628
+ # Provides the details of the serverless cache for which the data sync
9629
+ # stopped.
9630
+ # @return [Types::ServerlessCache]
9631
+ #
9632
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/StopMigrationResponse AWS API Documentation
9633
+ #
9634
+ class StopMigrationResponse < Struct.new(
9635
+ :serverless_cache)
9427
9636
  SENSITIVE = []
9428
9637
  include Aws::Structure
9429
9638
  end
@@ -55,7 +55,7 @@ module Aws::ElastiCache
55
55
  autoload :EndpointProvider, 'aws-sdk-elasticache/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-elasticache/endpoints'
57
57
 
58
- GEM_VERSION = '1.153.0'
58
+ GEM_VERSION = '1.154.0'
59
59
 
60
60
  end
61
61