@aws-sdk/client-elasticache 3.1152.0 → 3.1154.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.
Files changed (37) hide show
  1. package/README.md +14 -0
  2. package/dist-cjs/index.js +187 -31
  3. package/dist-es/ElastiCache.js +4 -0
  4. package/dist-es/commands/PrepareMigrationCommand.js +4 -0
  5. package/dist-es/commands/StopMigrationCommand.js +4 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/enums.js +11 -7
  8. package/dist-es/models/errors.js +52 -13
  9. package/dist-es/schemas/schemas_0.js +97 -11
  10. package/dist-types/ElastiCache.d.ts +16 -0
  11. package/dist-types/ElastiCacheClient.d.ts +4 -2
  12. package/dist-types/commands/CompleteMigrationCommand.d.ts +67 -3
  13. package/dist-types/commands/CreateServerlessCacheCommand.d.ts +8 -0
  14. package/dist-types/commands/DeleteServerlessCacheCommand.d.ts +8 -0
  15. package/dist-types/commands/DescribeServerlessCachesCommand.d.ts +8 -0
  16. package/dist-types/commands/ModifyServerlessCacheCommand.d.ts +8 -0
  17. package/dist-types/commands/PrepareMigrationCommand.d.ts +147 -0
  18. package/dist-types/commands/StartMigrationCommand.d.ts +67 -4
  19. package/dist-types/commands/StopMigrationCommand.d.ts +135 -0
  20. package/dist-types/commands/TestMigrationCommand.d.ts +6 -0
  21. package/dist-types/commands/index.d.ts +2 -0
  22. package/dist-types/models/enums.d.ts +27 -15
  23. package/dist-types/models/errors.d.ts +53 -13
  24. package/dist-types/models/models_0.d.ts +348 -191
  25. package/dist-types/schemas/schemas_0.d.ts +13 -0
  26. package/dist-types/ts3.4/ElastiCache.d.ts +36 -0
  27. package/dist-types/ts3.4/ElastiCacheClient.d.ts +12 -0
  28. package/dist-types/ts3.4/commands/CompleteMigrationCommand.d.ts +1 -1
  29. package/dist-types/ts3.4/commands/PrepareMigrationCommand.d.ts +38 -0
  30. package/dist-types/ts3.4/commands/StartMigrationCommand.d.ts +1 -1
  31. package/dist-types/ts3.4/commands/StopMigrationCommand.d.ts +38 -0
  32. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  33. package/dist-types/ts3.4/models/enums.d.ts +14 -9
  34. package/dist-types/ts3.4/models/errors.d.ts +26 -6
  35. package/dist-types/ts3.4/models/models_0.d.ts +80 -42
  36. package/dist-types/ts3.4/schemas/schemas_0.d.ts +13 -0
  37. package/package.json +4 -4
package/README.md CHANGED
@@ -652,6 +652,13 @@ ModifyUserGroup
652
652
  </details>
653
653
  <details>
654
654
  <summary>
655
+ PrepareMigration
656
+ </summary>
657
+
658
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/elasticache/command/PrepareMigrationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-elasticache/Interface/PrepareMigrationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-elasticache/Interface/PrepareMigrationCommandOutput/)
659
+ </details>
660
+ <details>
661
+ <summary>
655
662
  PurchaseReservedCacheNodesOffering
656
663
  </summary>
657
664
 
@@ -701,6 +708,13 @@ StartMigration
701
708
  </details>
702
709
  <details>
703
710
  <summary>
711
+ StopMigration
712
+ </summary>
713
+
714
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/elasticache/command/StopMigrationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-elasticache/Interface/StopMigrationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-elasticache/Interface/StopMigrationCommandOutput/)
715
+ </details>
716
+ <details>
717
+ <summary>
704
718
  TestFailover
705
719
  </summary>
706
720
 
package/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1151.0";
72
+ var version = "3.1153.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -428,6 +428,32 @@ class ServiceUpdateNotFoundFault extends ElastiCacheServiceException {
428
428
  Object.setPrototypeOf(this, ServiceUpdateNotFoundFault.prototype);
429
429
  }
430
430
  }
431
+ class InvalidCacheClusterStateFault extends ElastiCacheServiceException {
432
+ static shapeId = "com.amazonaws.elasticache#InvalidCacheClusterStateFault";
433
+ name = "InvalidCacheClusterStateFault";
434
+ $fault = "client";
435
+ constructor(opts) {
436
+ super({
437
+ name: "InvalidCacheClusterStateFault",
438
+ $fault: "client",
439
+ ...opts,
440
+ });
441
+ Object.setPrototypeOf(this, InvalidCacheClusterStateFault.prototype);
442
+ }
443
+ }
444
+ class MigrationHealthFault extends ElastiCacheServiceException {
445
+ static shapeId = "com.amazonaws.elasticache#MigrationHealthFault";
446
+ name = "MigrationHealthFault";
447
+ $fault = "client";
448
+ constructor(opts) {
449
+ super({
450
+ name: "MigrationHealthFault",
451
+ $fault: "client",
452
+ ...opts,
453
+ });
454
+ Object.setPrototypeOf(this, MigrationHealthFault.prototype);
455
+ }
456
+ }
431
457
  class ReplicationGroupNotUnderMigrationFault extends ElastiCacheServiceException {
432
458
  static shapeId = "com.amazonaws.elasticache#ReplicationGroupNotUnderMigrationFault";
433
459
  name = "ReplicationGroupNotUnderMigrationFault";
@@ -441,6 +467,19 @@ class ReplicationGroupNotUnderMigrationFault extends ElastiCacheServiceException
441
467
  Object.setPrototypeOf(this, ReplicationGroupNotUnderMigrationFault.prototype);
442
468
  }
443
469
  }
470
+ class ServerlessCacheNotUnderMigrationFault extends ElastiCacheServiceException {
471
+ static shapeId = "com.amazonaws.elasticache#ServerlessCacheNotUnderMigrationFault";
472
+ name = "ServerlessCacheNotUnderMigrationFault";
473
+ $fault = "client";
474
+ constructor(opts) {
475
+ super({
476
+ name: "ServerlessCacheNotUnderMigrationFault",
477
+ $fault: "client",
478
+ ...opts,
479
+ });
480
+ Object.setPrototypeOf(this, ServerlessCacheNotUnderMigrationFault.prototype);
481
+ }
482
+ }
444
483
  class ServerlessCacheSnapshotAlreadyExistsFault extends ElastiCacheServiceException {
445
484
  static shapeId = "com.amazonaws.elasticache#ServerlessCacheSnapshotAlreadyExistsFault";
446
485
  name = "ServerlessCacheSnapshotAlreadyExistsFault";
@@ -740,19 +779,6 @@ class GlobalReplicationGroupAlreadyExistsFault extends ElastiCacheServiceExcepti
740
779
  Object.setPrototypeOf(this, GlobalReplicationGroupAlreadyExistsFault.prototype);
741
780
  }
742
781
  }
743
- class InvalidCacheClusterStateFault extends ElastiCacheServiceException {
744
- static shapeId = "com.amazonaws.elasticache#InvalidCacheClusterStateFault";
745
- name = "InvalidCacheClusterStateFault";
746
- $fault = "client";
747
- constructor(opts) {
748
- super({
749
- name: "InvalidCacheClusterStateFault",
750
- $fault: "client",
751
- ...opts,
752
- });
753
- Object.setPrototypeOf(this, InvalidCacheClusterStateFault.prototype);
754
- }
755
- }
756
782
  class InvalidGlobalReplicationGroupStateFault extends ElastiCacheServiceException {
757
783
  static shapeId = "com.amazonaws.elasticache#InvalidGlobalReplicationGroupStateFault";
758
784
  name = "InvalidGlobalReplicationGroupStateFault";
@@ -1026,6 +1052,19 @@ class SubnetInUse extends ElastiCacheServiceException {
1026
1052
  Object.setPrototypeOf(this, SubnetInUse.prototype);
1027
1053
  }
1028
1054
  }
1055
+ class ServerlessCacheAlreadyUnderMigrationFault extends ElastiCacheServiceException {
1056
+ static shapeId = "com.amazonaws.elasticache#ServerlessCacheAlreadyUnderMigrationFault";
1057
+ name = "ServerlessCacheAlreadyUnderMigrationFault";
1058
+ $fault = "client";
1059
+ constructor(opts) {
1060
+ super({
1061
+ name: "ServerlessCacheAlreadyUnderMigrationFault",
1062
+ $fault: "client",
1063
+ ...opts,
1064
+ });
1065
+ Object.setPrototypeOf(this, ServerlessCacheAlreadyUnderMigrationFault.prototype);
1066
+ }
1067
+ }
1029
1068
  class ReservedCacheNodeAlreadyExistsFault extends ElastiCacheServiceException {
1030
1069
  static shapeId = "com.amazonaws.elasticache#ReservedCacheNodeAlreadyExistsFault";
1031
1070
  name = "ReservedCacheNodeAlreadyExistsFault";
@@ -1134,6 +1173,7 @@ class TestFailoverNotAvailableFault extends ElastiCacheServiceException {
1134
1173
  const _A = "Authentication";
1135
1174
  const _AAEF = "AuthorizationAlreadyExistsFault";
1136
1175
  const _AAS = "AppendAccessString";
1176
+ const _AC = "AutoCutover";
1137
1177
  const _ACSGI = "AuthorizeCacheSecurityGroupIngress";
1138
1178
  const _ACSGIM = "AuthorizeCacheSecurityGroupIngressMessage";
1139
1179
  const _ACSGIR = "AuthorizeCacheSecurityGroupIngressResult";
@@ -1208,6 +1248,7 @@ const _CM = "ClusterMode";
1208
1248
  const _CMM = "CompleteMigrationMessage";
1209
1249
  const _CMR = "CompleteMigrationResponse";
1210
1250
  const _CMo = "CompleteMigration";
1251
+ const _CMu = "CutoverMode";
1211
1252
  const _CN = "CacheNodes";
1212
1253
  const _CNC = "CacheNodeCount";
1213
1254
  const _CNCT = "CacheNodeCreateTime";
@@ -1286,6 +1327,7 @@ const _CSa = "CacheSize";
1286
1327
  const _CSo = "CopySnapshot";
1287
1328
  const _CSr = "CreateSnapshot";
1288
1329
  const _CT = "ChangeType";
1330
+ const _CTCD = "ClearTargetCacheData";
1289
1331
  const _CTo = "ConnectionType";
1290
1332
  const _CTr = "CreateTime";
1291
1333
  const _CU = "CreateUser";
@@ -1503,11 +1545,13 @@ const _MCPGM = "ModifyCacheParameterGroupMessage";
1503
1545
  const _MCSG = "ModifyCacheSubnetGroup";
1504
1546
  const _MCSGM = "ModifyCacheSubnetGroupMessage";
1505
1547
  const _MCSGR = "ModifyCacheSubnetGroupResult";
1548
+ const _ME = "MigrationEndpoint";
1506
1549
  const _MEV = "MinimumEngineVersion";
1507
1550
  const _MEVa = "MajorEngineVersion";
1508
1551
  const _MGRG = "ModifyGlobalReplicationGroup";
1509
1552
  const _MGRGM = "ModifyGlobalReplicationGroupMessage";
1510
1553
  const _MGRGR = "ModifyGlobalReplicationGroupResult";
1554
+ const _MHF = "MigrationHealthFault";
1511
1555
  const _MR = "MaxRecords";
1512
1556
  const _MRG = "ModifyReplicationGroup";
1513
1557
  const _MRGM = "ModifyReplicationGroupMessage";
@@ -1516,6 +1560,7 @@ const _MRGSC = "ModifyReplicationGroupShardConfiguration";
1516
1560
  const _MRGSCM = "ModifyReplicationGroupShardConfigurationMessage";
1517
1561
  const _MRGSCR = "ModifyReplicationGroupShardConfigurationResult";
1518
1562
  const _MRa = "MaxResults";
1563
+ const _MS = "MigrationSummary";
1519
1564
  const _MSC = "ModifyServerlessCache";
1520
1565
  const _MSCR = "ModifyServerlessCacheRequest";
1521
1566
  const _MSCRo = "ModifyServerlessCacheResponse";
@@ -1527,6 +1572,7 @@ const _Ma = "Maximum";
1527
1572
  const _Me = "Message";
1528
1573
  const _Mem = "Members";
1529
1574
  const _Mi = "Minimum";
1575
+ const _Mig = "Migration";
1530
1576
  const _N = "Name";
1531
1577
  const _NAZ = "NewAvailabilityZones";
1532
1578
  const _NC = "NotificationConfiguration";
@@ -1596,6 +1642,9 @@ const _PGS = "ParameterGroupStatus";
1596
1642
  const _PL = "ParametersList";
1597
1643
  const _PLDC = "PendingLogDeliveryConfiguration";
1598
1644
  const _PLDCL = "PendingLogDeliveryConfigurationList";
1645
+ const _PM = "PrepareMigration";
1646
+ const _PMR = "PrepareMigrationRequest";
1647
+ const _PMRr = "PrepareMigrationResponse";
1599
1648
  const _PMV = "PendingModifiedValues";
1600
1649
  const _PMW = "PreferredMaintenanceWindow";
1601
1650
  const _PN = "ParameterName";
@@ -1694,14 +1743,17 @@ const _RUGe = "RemoveUserGroup";
1694
1743
  const _Re = "Resharding";
1695
1744
  const _S = "Source";
1696
1745
  const _SA = "SnapshotArns";
1746
+ const _SAC = "SourceAuthenticationConfiguration";
1697
1747
  const _SAEF = "SnapshotAlreadyExistsFault";
1698
1748
  const _SAL = "SnapshotArnsList";
1699
1749
  const _SATR = "SnapshotArnsToRestore";
1700
1750
  const _SAZ = "SubnetAvailabilityZone";
1751
+ const _SAe = "SecretArn";
1701
1752
  const _SAn = "SnapshotArn";
1702
1753
  const _SBN = "S3BucketName";
1703
1754
  const _SC = "ServerlessCache";
1704
1755
  const _SCAEF = "ServerlessCacheAlreadyExistsFault";
1756
+ const _SCAUMF = "ServerlessCacheAlreadyUnderMigrationFault";
1705
1757
  const _SCC = "ServerlessCacheConfiguration";
1706
1758
  const _SCCNIRG = "ShowCacheClustersNotInReplicationGroups";
1707
1759
  const _SCI = "SnapshottingClusterId";
@@ -1710,6 +1762,7 @@ const _SCN = "ServerlessCacheName";
1710
1762
  const _SCNFF = "ServerlessCacheNotFoundFault";
1711
1763
  const _SCNI = "SourceCacheNodeId";
1712
1764
  const _SCNIh = "ShowCacheNodeInfo";
1765
+ const _SCNUMF = "ServerlessCacheNotUnderMigrationFault";
1713
1766
  const _SCQFCEF = "ServerlessCacheQuotaForCustomerExceededFault";
1714
1767
  const _SCS = "ServerlessCacheSnapshot";
1715
1768
  const _SCSAEF = "ServerlessCacheSnapshotAlreadyExistsFault";
@@ -1742,11 +1795,16 @@ const _SL = "SnapshotList";
1742
1795
  const _SLRNFF = "ServiceLinkedRoleNotFoundFault";
1743
1796
  const _SLu = "SubnetList";
1744
1797
  const _SM = "SlotMigration";
1798
+ const _SMAC = "SecretManagerAuthConfig";
1799
+ const _SMC = "SecretManagerConfig";
1745
1800
  const _SMI = "ShowMemberInfo";
1746
1801
  const _SMM = "StartMigrationMessage";
1747
1802
  const _SMR = "StartMigrationResponse";
1803
+ const _SMRt = "StopMigrationRequest";
1804
+ const _SMRto = "StopMigrationResponse";
1748
1805
  const _SMl = "SlaMet";
1749
1806
  const _SMt = "StartMigration";
1807
+ const _SMto = "StopMigration";
1750
1808
  const _SN = "SnapshotName";
1751
1809
  const _SNAF = "SubnetNotAllowedFault";
1752
1810
  const _SNFF = "SnapshotNotFoundFault";
@@ -1763,6 +1821,9 @@ const _SSCSN = "SourceServerlessCacheSnapshotName";
1763
1821
  const _SSN = "SourceSnapshotName";
1764
1822
  const _SSn = "SnapshotStatus";
1765
1823
  const _ST = "SourceType";
1824
+ const _STC = "SourceTlsConfiguration";
1825
+ const _STCo = "SourceTlsCertificate";
1826
+ const _STM = "SourceTlsMode";
1766
1827
  const _STn = "SnapshotType";
1767
1828
  const _STt = "StartTime";
1768
1829
  const _SU = "ServiceUpdate";
@@ -2102,6 +2163,12 @@ var InvalidVPCNetworkStateFault$ = [-3, n0, _IVPCNSF,
2102
2163
  [0]
2103
2164
  ];
2104
2165
  n0_registry.registerError(InvalidVPCNetworkStateFault$, InvalidVPCNetworkStateFault);
2166
+ var MigrationHealthFault$ = [-3, n0, _MHF,
2167
+ { [_aQE]: [`MigrationHealthFault`, 400], [_e]: _c, [_hE]: 400 },
2168
+ [_m],
2169
+ [0]
2170
+ ];
2171
+ n0_registry.registerError(MigrationHealthFault$, MigrationHealthFault);
2105
2172
  var NodeGroupNotFoundFault$ = [-3, n0, _NGNFF,
2106
2173
  { [_aQE]: [`NodeGroupNotFoundFault`, 404], [_e]: _c, [_hE]: 404 },
2107
2174
  [_m],
@@ -2186,12 +2253,24 @@ var ServerlessCacheAlreadyExistsFault$ = [-3, n0, _SCAEF,
2186
2253
  [0]
2187
2254
  ];
2188
2255
  n0_registry.registerError(ServerlessCacheAlreadyExistsFault$, ServerlessCacheAlreadyExistsFault);
2256
+ var ServerlessCacheAlreadyUnderMigrationFault$ = [-3, n0, _SCAUMF,
2257
+ { [_aQE]: [`ServerlessCacheAlreadyUnderMigrationFault`, 400], [_e]: _c, [_hE]: 400 },
2258
+ [_m],
2259
+ [0]
2260
+ ];
2261
+ n0_registry.registerError(ServerlessCacheAlreadyUnderMigrationFault$, ServerlessCacheAlreadyUnderMigrationFault);
2189
2262
  var ServerlessCacheNotFoundFault$ = [-3, n0, _SCNFF,
2190
2263
  { [_aQE]: [`ServerlessCacheNotFoundFault`, 404], [_e]: _c, [_hE]: 404 },
2191
2264
  [_m],
2192
2265
  [0]
2193
2266
  ];
2194
2267
  n0_registry.registerError(ServerlessCacheNotFoundFault$, ServerlessCacheNotFoundFault);
2268
+ var ServerlessCacheNotUnderMigrationFault$ = [-3, n0, _SCNUMF,
2269
+ { [_aQE]: [`ServerlessCacheNotUnderMigrationFault`, 400], [_e]: _c, [_hE]: 400 },
2270
+ [_m],
2271
+ [0]
2272
+ ];
2273
+ n0_registry.registerError(ServerlessCacheNotUnderMigrationFault$, ServerlessCacheNotUnderMigrationFault);
2195
2274
  var ServerlessCacheQuotaForCustomerExceededFault$ = [-3, n0, _SCQFCEF,
2196
2275
  { [_aQE]: [`ServerlessCacheQuotaForCustomerExceededFault`, 400], [_e]: _c, [_hE]: 400 },
2197
2276
  [_m],
@@ -2469,13 +2548,13 @@ var CloudWatchLogsDestinationDetails$ = [3, n0, _CWLDD,
2469
2548
  ];
2470
2549
  var CompleteMigrationMessage$ = [3, n0, _CMM,
2471
2550
  0,
2472
- [_RGIe, _F],
2473
- [0, 2], 1
2551
+ [_RGIe, _SCN, _F],
2552
+ [0, 0, 2]
2474
2553
  ];
2475
2554
  var CompleteMigrationResponse$ = [3, n0, _CMR,
2476
2555
  0,
2477
- [_RG],
2478
- [[() => ReplicationGroup$, 0]]
2556
+ [_RG, _SC],
2557
+ [[() => ReplicationGroup$, 0], [() => ServerlessCache$, 0]]
2479
2558
  ];
2480
2559
  var ConfigureShard$ = [3, n0, _CS,
2481
2560
  0,
@@ -2982,6 +3061,11 @@ var LogDeliveryConfigurationRequest$ = [3, n0, _LDCR,
2982
3061
  [_LT, _DTe, _DD, _LF, _Ena],
2983
3062
  [0, 0, () => DestinationDetails$, 0, 2]
2984
3063
  ];
3064
+ var MigrationSummary$ = [3, n0, _MS,
3065
+ 0,
3066
+ [_St, _ME, _CMu],
3067
+ [0, () => Endpoint$, 0]
3068
+ ];
2985
3069
  var ModifyCacheClusterMessage$ = [3, n0, _MCCM,
2986
3070
  0,
2987
3071
  [_CCIa, _NCN, _CNITRa, _AZM, _NAZ, _CSGNac, _SGI, _PMW, _NTA, _CPGN, _NTS, _AI, _E, _EV, _AMVU, _SRL, _SW, _CNT, _AT, _ATUS, _LDC, _ID, _SCc],
@@ -3112,6 +3196,16 @@ var PendingModifiedValues$ = [3, n0, _PMV,
3112
3196
  [_NCN, _CNITRa, _EV, _CNT, _ATS, _LDC, _TEE, _TEM, _SCc],
3113
3197
  [1, [() => CacheNodeIdsList, 0], 0, 0, 0, () => PendingLogDeliveryConfigurationList, 2, 0, () => ScaleConfig$]
3114
3198
  ];
3199
+ var PrepareMigrationRequest$ = [3, n0, _PMR,
3200
+ 0,
3201
+ [_SCN, _CNEL, _SAC, _STC],
3202
+ [0, () => CustomerNodeEndpointList, () => SourceAuthenticationConfiguration$, () => SourceTlsConfiguration$], 2
3203
+ ];
3204
+ var PrepareMigrationResponse$ = [3, n0, _PMRr,
3205
+ 0,
3206
+ [_SC],
3207
+ [[() => ServerlessCache$, 0]]
3208
+ ];
3115
3209
  var ProcessedUpdateAction$ = [3, n0, _PUA,
3116
3210
  0,
3117
3211
  [_RGIe, _CCIa, _SUN, _UAS],
@@ -3227,6 +3321,11 @@ var ScaleConfig$ = [3, n0, _SCc,
3227
3321
  [_SP, _SIM],
3228
3322
  [1, 1]
3229
3323
  ];
3324
+ var SecretManagerAuthConfig$ = [3, n0, _SMAC,
3325
+ 0,
3326
+ [_SAe],
3327
+ [0]
3328
+ ];
3230
3329
  var SecurityGroupMembership$ = [3, n0, _SGM,
3231
3330
  0,
3232
3331
  [_SGIe, _St],
@@ -3234,8 +3333,8 @@ var SecurityGroupMembership$ = [3, n0, _SGM,
3234
3333
  ];
3235
3334
  var ServerlessCache$ = [3, n0, _SC,
3236
3335
  0,
3237
- [_SCN, _D, _CTr, _St, _E, _MEVa, _FEV, _CUL, _KKI, _SET, _SGI, _En, _RE, _ARN, _UGIs, _SI, _SRL, _DST, _NT, _CTo],
3238
- [0, 0, 4, 0, 0, 0, 0, () => CacheUsageLimits$, 0, 0, [() => SecurityGroupIdsList, 0], () => Endpoint$, () => Endpoint$, 0, 0, [() => SubnetIdsList, 0], 1, 0, 0, 0]
3336
+ [_SCN, _D, _CTr, _St, _E, _MEVa, _FEV, _CUL, _KKI, _SET, _SGI, _En, _RE, _ARN, _UGIs, _SI, _SRL, _DST, _NT, _CTo, _Mig],
3337
+ [0, 0, 4, 0, 0, 0, 0, () => CacheUsageLimits$, 0, 0, [() => SecurityGroupIdsList, 0], () => Endpoint$, () => Endpoint$, 0, 0, [() => SubnetIdsList, 0], 1, 0, 0, 0, () => MigrationSummary$]
3239
3338
  ];
3240
3339
  var ServerlessCacheConfiguration$ = [3, n0, _SCC,
3241
3340
  0,
@@ -3267,15 +3366,35 @@ var Snapshot$ = [3, n0, _Sn,
3267
3366
  [_SN, _RGIe, _RGD, _CCIa, _SSn, _SS, _CNT, _E, _EV, _NCN, _PAZ, _POA, _CCCT, _PMW, _TA, _Po, _CPGN, _CSGNa, _VI, _AMVU, _SRL, _SW, _NNG, _AF, _NSo, _KKI, _ARN, _DTa, _Du],
3268
3367
  [0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 4, 0, 0, 1, 0, 0, 0, 2, 1, 0, 1, 0, [() => NodeSnapshotList, 0], 0, 0, 0, 0]
3269
3368
  ];
3369
+ var SourceAuthenticationConfiguration$ = [3, n0, _SAC,
3370
+ 0,
3371
+ [_SMC],
3372
+ [() => SecretManagerAuthConfig$]
3373
+ ];
3374
+ var SourceTlsConfiguration$ = [3, n0, _STC,
3375
+ 0,
3376
+ [_STM, _STCo],
3377
+ [0, 0]
3378
+ ];
3270
3379
  var StartMigrationMessage$ = [3, n0, _SMM,
3271
3380
  0,
3272
- [_RGIe, _CNEL],
3273
- [0, () => CustomerNodeEndpointList], 2
3381
+ [_SCN, _RGIe, _CNEL, _AC, _CTCD],
3382
+ [0, 0, () => CustomerNodeEndpointList, 2, 2]
3274
3383
  ];
3275
3384
  var StartMigrationResponse$ = [3, n0, _SMR,
3276
3385
  0,
3277
- [_RG],
3278
- [[() => ReplicationGroup$, 0]]
3386
+ [_RG, _SC],
3387
+ [[() => ReplicationGroup$, 0], [() => ServerlessCache$, 0]]
3388
+ ];
3389
+ var StopMigrationRequest$ = [3, n0, _SMRt,
3390
+ 0,
3391
+ [_SCN],
3392
+ [0], 1
3393
+ ];
3394
+ var StopMigrationResponse$ = [3, n0, _SMRto,
3395
+ 0,
3396
+ [_SC],
3397
+ [[() => ServerlessCache$, 0]]
3279
3398
  ];
3280
3399
  var Subnet$ = [3, n0, _Sub,
3281
3400
  0,
@@ -3803,6 +3922,9 @@ var ModifyUser$ = [9, n0, _MU,
3803
3922
  var ModifyUserGroup$ = [9, n0, _MUG,
3804
3923
  0, () => ModifyUserGroupMessage$, () => UserGroup$
3805
3924
  ];
3925
+ var PrepareMigration$ = [9, n0, _PM,
3926
+ 0, () => PrepareMigrationRequest$, () => PrepareMigrationResponse$
3927
+ ];
3806
3928
  var PurchaseReservedCacheNodesOffering$ = [9, n0, _PRCNO,
3807
3929
  0, () => PurchaseReservedCacheNodesOfferingMessage$, () => PurchaseReservedCacheNodesOfferingResult$
3808
3930
  ];
@@ -3824,6 +3946,9 @@ var RevokeCacheSecurityGroupIngress$ = [9, n0, _RCSGI,
3824
3946
  var StartMigration$ = [9, n0, _SMt,
3825
3947
  0, () => StartMigrationMessage$, () => StartMigrationResponse$
3826
3948
  ];
3949
+ var StopMigration$ = [9, n0, _SMto,
3950
+ 0, () => StopMigrationRequest$, () => StopMigrationResponse$
3951
+ ];
3827
3952
  var TestFailover$ = [9, n0, _TF,
3828
3953
  0, () => TestFailoverMessage$, () => TestFailoverResult$
3829
3954
  ];
@@ -4180,6 +4305,9 @@ class ModifyUserCommand extends command(_ep0, _mw0, "ModifyUser", ModifyUser$) {
4180
4305
  class ModifyUserGroupCommand extends command(_ep0, _mw0, "ModifyUserGroup", ModifyUserGroup$) {
4181
4306
  }
4182
4307
 
4308
+ class PrepareMigrationCommand extends command(_ep0, _mw0, "PrepareMigration", PrepareMigration$) {
4309
+ }
4310
+
4183
4311
  class PurchaseReservedCacheNodesOfferingCommand extends command(_ep0, _mw0, "PurchaseReservedCacheNodesOffering", PurchaseReservedCacheNodesOffering$) {
4184
4312
  }
4185
4313
 
@@ -4201,6 +4329,9 @@ class RevokeCacheSecurityGroupIngressCommand extends command(_ep0, _mw0, "Revoke
4201
4329
  class StartMigrationCommand extends command(_ep0, _mw0, "StartMigration", StartMigration$) {
4202
4330
  }
4203
4331
 
4332
+ class StopMigrationCommand extends command(_ep0, _mw0, "StopMigration", StopMigration$) {
4333
+ }
4334
+
4204
4335
  class TestFailoverCommand extends command(_ep0, _mw0, "TestFailover", TestFailover$) {
4205
4336
  }
4206
4337
 
@@ -4650,6 +4781,7 @@ const commands = {
4650
4781
  ModifyServerlessCacheCommand,
4651
4782
  ModifyUserCommand,
4652
4783
  ModifyUserGroupCommand,
4784
+ PrepareMigrationCommand,
4653
4785
  PurchaseReservedCacheNodesOfferingCommand,
4654
4786
  RebalanceSlotsInGlobalReplicationGroupCommand,
4655
4787
  RebootCacheClusterCommand,
@@ -4657,6 +4789,7 @@ const commands = {
4657
4789
  ResetCacheParameterGroupCommand,
4658
4790
  RevokeCacheSecurityGroupIngressCommand,
4659
4791
  StartMigrationCommand,
4792
+ StopMigrationCommand,
4660
4793
  TestFailoverCommand,
4661
4794
  TestMigrationCommand,
4662
4795
  };
@@ -4777,6 +4910,13 @@ const StorageEncryptionType = {
4777
4910
  SSE_ELASTICACHE: "sse-elasticache",
4778
4911
  SSE_KMS: "sse-kms",
4779
4912
  };
4913
+ const DataStorageUnit = {
4914
+ GB: "GB",
4915
+ };
4916
+ const ConnectionType = {
4917
+ PUBLIC: "public",
4918
+ VPC: "vpc",
4919
+ };
4780
4920
  const AZMode = {
4781
4921
  CROSS_AZ: "cross-az",
4782
4922
  SINGLE_AZ: "single-az",
@@ -4785,13 +4925,6 @@ const OutpostMode = {
4785
4925
  CROSS_OUTPOST: "cross-outpost",
4786
4926
  SINGLE_OUTPOST: "single-outpost",
4787
4927
  };
4788
- const DataStorageUnit = {
4789
- GB: "GB",
4790
- };
4791
- const ConnectionType = {
4792
- PUBLIC: "public",
4793
- VPC: "vpc",
4794
- };
4795
4928
  const InputAuthenticationType = {
4796
4929
  IAM: "iam",
4797
4930
  NO_PASSWORD: "no-password-required",
@@ -4853,6 +4986,10 @@ const AuthTokenUpdateStrategyType = {
4853
4986
  ROTATE: "ROTATE",
4854
4987
  SET: "SET",
4855
4988
  };
4989
+ const TlsMode = {
4990
+ none: "none",
4991
+ verify_ca: "verify-ca",
4992
+ };
4856
4993
 
4857
4994
  exports.APICallRateForCustomerExceededFault = APICallRateForCustomerExceededFault;
4858
4995
  exports.APICallRateForCustomerExceededFault$ = APICallRateForCustomerExceededFault$;
@@ -5202,6 +5339,9 @@ exports.LogDeliveryConfigurationRequest$ = LogDeliveryConfigurationRequest$;
5202
5339
  exports.LogDeliveryConfigurationStatus = LogDeliveryConfigurationStatus;
5203
5340
  exports.LogFormat = LogFormat;
5204
5341
  exports.LogType = LogType;
5342
+ exports.MigrationHealthFault = MigrationHealthFault;
5343
+ exports.MigrationHealthFault$ = MigrationHealthFault$;
5344
+ exports.MigrationSummary$ = MigrationSummary$;
5205
5345
  exports.ModifyCacheCluster$ = ModifyCacheCluster$;
5206
5346
  exports.ModifyCacheClusterCommand = ModifyCacheClusterCommand;
5207
5347
  exports.ModifyCacheClusterMessage$ = ModifyCacheClusterMessage$;
@@ -5262,6 +5402,10 @@ exports.ParameterNameValue$ = ParameterNameValue$;
5262
5402
  exports.PendingAutomaticFailoverStatus = PendingAutomaticFailoverStatus;
5263
5403
  exports.PendingLogDeliveryConfiguration$ = PendingLogDeliveryConfiguration$;
5264
5404
  exports.PendingModifiedValues$ = PendingModifiedValues$;
5405
+ exports.PrepareMigration$ = PrepareMigration$;
5406
+ exports.PrepareMigrationCommand = PrepareMigrationCommand;
5407
+ exports.PrepareMigrationRequest$ = PrepareMigrationRequest$;
5408
+ exports.PrepareMigrationResponse$ = PrepareMigrationResponse$;
5265
5409
  exports.ProcessedUpdateAction$ = ProcessedUpdateAction$;
5266
5410
  exports.PurchaseReservedCacheNodesOffering$ = PurchaseReservedCacheNodesOffering$;
5267
5411
  exports.PurchaseReservedCacheNodesOfferingCommand = PurchaseReservedCacheNodesOfferingCommand;
@@ -5313,13 +5457,18 @@ exports.RevokeCacheSecurityGroupIngressCommand = RevokeCacheSecurityGroupIngress
5313
5457
  exports.RevokeCacheSecurityGroupIngressMessage$ = RevokeCacheSecurityGroupIngressMessage$;
5314
5458
  exports.RevokeCacheSecurityGroupIngressResult$ = RevokeCacheSecurityGroupIngressResult$;
5315
5459
  exports.ScaleConfig$ = ScaleConfig$;
5460
+ exports.SecretManagerAuthConfig$ = SecretManagerAuthConfig$;
5316
5461
  exports.SecurityGroupMembership$ = SecurityGroupMembership$;
5317
5462
  exports.ServerlessCache$ = ServerlessCache$;
5318
5463
  exports.ServerlessCacheAlreadyExistsFault = ServerlessCacheAlreadyExistsFault;
5319
5464
  exports.ServerlessCacheAlreadyExistsFault$ = ServerlessCacheAlreadyExistsFault$;
5465
+ exports.ServerlessCacheAlreadyUnderMigrationFault = ServerlessCacheAlreadyUnderMigrationFault;
5466
+ exports.ServerlessCacheAlreadyUnderMigrationFault$ = ServerlessCacheAlreadyUnderMigrationFault$;
5320
5467
  exports.ServerlessCacheConfiguration$ = ServerlessCacheConfiguration$;
5321
5468
  exports.ServerlessCacheNotFoundFault = ServerlessCacheNotFoundFault;
5322
5469
  exports.ServerlessCacheNotFoundFault$ = ServerlessCacheNotFoundFault$;
5470
+ exports.ServerlessCacheNotUnderMigrationFault = ServerlessCacheNotUnderMigrationFault;
5471
+ exports.ServerlessCacheNotUnderMigrationFault$ = ServerlessCacheNotUnderMigrationFault$;
5323
5472
  exports.ServerlessCacheQuotaForCustomerExceededFault = ServerlessCacheQuotaForCustomerExceededFault;
5324
5473
  exports.ServerlessCacheQuotaForCustomerExceededFault$ = ServerlessCacheQuotaForCustomerExceededFault$;
5325
5474
  exports.ServerlessCacheSnapshot$ = ServerlessCacheSnapshot$;
@@ -5349,11 +5498,17 @@ exports.SnapshotNotFoundFault = SnapshotNotFoundFault;
5349
5498
  exports.SnapshotNotFoundFault$ = SnapshotNotFoundFault$;
5350
5499
  exports.SnapshotQuotaExceededFault = SnapshotQuotaExceededFault;
5351
5500
  exports.SnapshotQuotaExceededFault$ = SnapshotQuotaExceededFault$;
5501
+ exports.SourceAuthenticationConfiguration$ = SourceAuthenticationConfiguration$;
5502
+ exports.SourceTlsConfiguration$ = SourceTlsConfiguration$;
5352
5503
  exports.SourceType = SourceType;
5353
5504
  exports.StartMigration$ = StartMigration$;
5354
5505
  exports.StartMigrationCommand = StartMigrationCommand;
5355
5506
  exports.StartMigrationMessage$ = StartMigrationMessage$;
5356
5507
  exports.StartMigrationResponse$ = StartMigrationResponse$;
5508
+ exports.StopMigration$ = StopMigration$;
5509
+ exports.StopMigrationCommand = StopMigrationCommand;
5510
+ exports.StopMigrationRequest$ = StopMigrationRequest$;
5511
+ exports.StopMigrationResponse$ = StopMigrationResponse$;
5357
5512
  exports.StorageEncryptionType = StorageEncryptionType;
5358
5513
  exports.Subnet$ = Subnet$;
5359
5514
  exports.SubnetInUse = SubnetInUse;
@@ -5378,6 +5533,7 @@ exports.TestMigrationCommand = TestMigrationCommand;
5378
5533
  exports.TestMigrationMessage$ = TestMigrationMessage$;
5379
5534
  exports.TestMigrationResponse$ = TestMigrationResponse$;
5380
5535
  exports.TimeRangeFilter$ = TimeRangeFilter$;
5536
+ exports.TlsMode = TlsMode;
5381
5537
  exports.TransitEncryptionMode = TransitEncryptionMode;
5382
5538
  exports.UnprocessedUpdateAction$ = UnprocessedUpdateAction$;
5383
5539
  exports.UpdateAction$ = UpdateAction$;
@@ -65,6 +65,7 @@ import { ModifyReplicationGroupShardConfigurationCommand, } from "./commands/Mod
65
65
  import { ModifyServerlessCacheCommand, } from "./commands/ModifyServerlessCacheCommand";
66
66
  import { ModifyUserCommand, } from "./commands/ModifyUserCommand";
67
67
  import { ModifyUserGroupCommand, } from "./commands/ModifyUserGroupCommand";
68
+ import { PrepareMigrationCommand, } from "./commands/PrepareMigrationCommand";
68
69
  import { PurchaseReservedCacheNodesOfferingCommand, } from "./commands/PurchaseReservedCacheNodesOfferingCommand";
69
70
  import { RebalanceSlotsInGlobalReplicationGroupCommand, } from "./commands/RebalanceSlotsInGlobalReplicationGroupCommand";
70
71
  import { RebootCacheClusterCommand, } from "./commands/RebootCacheClusterCommand";
@@ -72,6 +73,7 @@ import { RemoveTagsFromResourceCommand, } from "./commands/RemoveTagsFromResourc
72
73
  import { ResetCacheParameterGroupCommand, } from "./commands/ResetCacheParameterGroupCommand";
73
74
  import { RevokeCacheSecurityGroupIngressCommand, } from "./commands/RevokeCacheSecurityGroupIngressCommand";
74
75
  import { StartMigrationCommand, } from "./commands/StartMigrationCommand";
76
+ import { StopMigrationCommand, } from "./commands/StopMigrationCommand";
75
77
  import { TestFailoverCommand, } from "./commands/TestFailoverCommand";
76
78
  import { TestMigrationCommand, } from "./commands/TestMigrationCommand";
77
79
  import { ElastiCacheClient } from "./ElastiCacheClient";
@@ -165,6 +167,7 @@ const commands = {
165
167
  ModifyServerlessCacheCommand,
166
168
  ModifyUserCommand,
167
169
  ModifyUserGroupCommand,
170
+ PrepareMigrationCommand,
168
171
  PurchaseReservedCacheNodesOfferingCommand,
169
172
  RebalanceSlotsInGlobalReplicationGroupCommand,
170
173
  RebootCacheClusterCommand,
@@ -172,6 +175,7 @@ const commands = {
172
175
  ResetCacheParameterGroupCommand,
173
176
  RevokeCacheSecurityGroupIngressCommand,
174
177
  StartMigrationCommand,
178
+ StopMigrationCommand,
175
179
  TestFailoverCommand,
176
180
  TestMigrationCommand,
177
181
  };
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { PrepareMigration$ } from "../schemas/schemas_0";
3
+ export class PrepareMigrationCommand extends command(_ep0, _mw0, "PrepareMigration", PrepareMigration$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { StopMigration$ } from "../schemas/schemas_0";
3
+ export class StopMigrationCommand extends command(_ep0, _mw0, "StopMigration", StopMigration$) {
4
+ }
@@ -64,6 +64,7 @@ export * from "./ModifyReplicationGroupShardConfigurationCommand";
64
64
  export * from "./ModifyServerlessCacheCommand";
65
65
  export * from "./ModifyUserCommand";
66
66
  export * from "./ModifyUserGroupCommand";
67
+ export * from "./PrepareMigrationCommand";
67
68
  export * from "./PurchaseReservedCacheNodesOfferingCommand";
68
69
  export * from "./RebalanceSlotsInGlobalReplicationGroupCommand";
69
70
  export * from "./RebootCacheClusterCommand";
@@ -71,5 +72,6 @@ export * from "./RemoveTagsFromResourceCommand";
71
72
  export * from "./ResetCacheParameterGroupCommand";
72
73
  export * from "./RevokeCacheSecurityGroupIngressCommand";
73
74
  export * from "./StartMigrationCommand";
75
+ export * from "./StopMigrationCommand";
74
76
  export * from "./TestFailoverCommand";
75
77
  export * from "./TestMigrationCommand";
@@ -84,6 +84,13 @@ export const StorageEncryptionType = {
84
84
  SSE_ELASTICACHE: "sse-elasticache",
85
85
  SSE_KMS: "sse-kms",
86
86
  };
87
+ export const DataStorageUnit = {
88
+ GB: "GB",
89
+ };
90
+ export const ConnectionType = {
91
+ PUBLIC: "public",
92
+ VPC: "vpc",
93
+ };
87
94
  export const AZMode = {
88
95
  CROSS_AZ: "cross-az",
89
96
  SINGLE_AZ: "single-az",
@@ -92,13 +99,6 @@ export const OutpostMode = {
92
99
  CROSS_OUTPOST: "cross-outpost",
93
100
  SINGLE_OUTPOST: "single-outpost",
94
101
  };
95
- export const DataStorageUnit = {
96
- GB: "GB",
97
- };
98
- export const ConnectionType = {
99
- PUBLIC: "public",
100
- VPC: "vpc",
101
- };
102
102
  export const InputAuthenticationType = {
103
103
  IAM: "iam",
104
104
  NO_PASSWORD: "no-password-required",
@@ -160,3 +160,7 @@ export const AuthTokenUpdateStrategyType = {
160
160
  ROTATE: "ROTATE",
161
161
  SET: "SET",
162
162
  };
163
+ export const TlsMode = {
164
+ none: "none",
165
+ verify_ca: "verify-ca",
166
+ };