@aws-sdk/client-elasticache 3.1153.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.
- package/README.md +14 -0
- package/dist-cjs/index.js +187 -31
- package/dist-es/ElastiCache.js +4 -0
- package/dist-es/commands/PrepareMigrationCommand.js +4 -0
- package/dist-es/commands/StopMigrationCommand.js +4 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/enums.js +11 -7
- package/dist-es/models/errors.js +52 -13
- package/dist-es/schemas/schemas_0.js +97 -11
- package/dist-types/ElastiCache.d.ts +16 -0
- package/dist-types/ElastiCacheClient.d.ts +4 -2
- package/dist-types/commands/CompleteMigrationCommand.d.ts +67 -3
- package/dist-types/commands/CreateServerlessCacheCommand.d.ts +8 -0
- package/dist-types/commands/DeleteServerlessCacheCommand.d.ts +8 -0
- package/dist-types/commands/DescribeServerlessCachesCommand.d.ts +8 -0
- package/dist-types/commands/ModifyServerlessCacheCommand.d.ts +8 -0
- package/dist-types/commands/PrepareMigrationCommand.d.ts +147 -0
- package/dist-types/commands/StartMigrationCommand.d.ts +67 -4
- package/dist-types/commands/StopMigrationCommand.d.ts +135 -0
- package/dist-types/commands/TestMigrationCommand.d.ts +6 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/enums.d.ts +27 -15
- package/dist-types/models/errors.d.ts +53 -13
- package/dist-types/models/models_0.d.ts +348 -191
- package/dist-types/schemas/schemas_0.d.ts +13 -0
- package/dist-types/ts3.4/ElastiCache.d.ts +36 -0
- package/dist-types/ts3.4/ElastiCacheClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/CompleteMigrationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PrepareMigrationCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/StartMigrationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopMigrationCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +14 -9
- package/dist-types/ts3.4/models/errors.d.ts +26 -6
- package/dist-types/ts3.4/models/models_0.d.ts +80 -42
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +13 -0
- package/package.json +1 -1
package/dist-es/models/errors.js
CHANGED
|
@@ -285,6 +285,32 @@ export class ServiceUpdateNotFoundFault extends __BaseException {
|
|
|
285
285
|
Object.setPrototypeOf(this, ServiceUpdateNotFoundFault.prototype);
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
|
+
export class InvalidCacheClusterStateFault extends __BaseException {
|
|
289
|
+
static shapeId = "com.amazonaws.elasticache#InvalidCacheClusterStateFault";
|
|
290
|
+
name = "InvalidCacheClusterStateFault";
|
|
291
|
+
$fault = "client";
|
|
292
|
+
constructor(opts) {
|
|
293
|
+
super({
|
|
294
|
+
name: "InvalidCacheClusterStateFault",
|
|
295
|
+
$fault: "client",
|
|
296
|
+
...opts,
|
|
297
|
+
});
|
|
298
|
+
Object.setPrototypeOf(this, InvalidCacheClusterStateFault.prototype);
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
export class MigrationHealthFault extends __BaseException {
|
|
302
|
+
static shapeId = "com.amazonaws.elasticache#MigrationHealthFault";
|
|
303
|
+
name = "MigrationHealthFault";
|
|
304
|
+
$fault = "client";
|
|
305
|
+
constructor(opts) {
|
|
306
|
+
super({
|
|
307
|
+
name: "MigrationHealthFault",
|
|
308
|
+
$fault: "client",
|
|
309
|
+
...opts,
|
|
310
|
+
});
|
|
311
|
+
Object.setPrototypeOf(this, MigrationHealthFault.prototype);
|
|
312
|
+
}
|
|
313
|
+
}
|
|
288
314
|
export class ReplicationGroupNotUnderMigrationFault extends __BaseException {
|
|
289
315
|
static shapeId = "com.amazonaws.elasticache#ReplicationGroupNotUnderMigrationFault";
|
|
290
316
|
name = "ReplicationGroupNotUnderMigrationFault";
|
|
@@ -298,6 +324,19 @@ export class ReplicationGroupNotUnderMigrationFault extends __BaseException {
|
|
|
298
324
|
Object.setPrototypeOf(this, ReplicationGroupNotUnderMigrationFault.prototype);
|
|
299
325
|
}
|
|
300
326
|
}
|
|
327
|
+
export class ServerlessCacheNotUnderMigrationFault extends __BaseException {
|
|
328
|
+
static shapeId = "com.amazonaws.elasticache#ServerlessCacheNotUnderMigrationFault";
|
|
329
|
+
name = "ServerlessCacheNotUnderMigrationFault";
|
|
330
|
+
$fault = "client";
|
|
331
|
+
constructor(opts) {
|
|
332
|
+
super({
|
|
333
|
+
name: "ServerlessCacheNotUnderMigrationFault",
|
|
334
|
+
$fault: "client",
|
|
335
|
+
...opts,
|
|
336
|
+
});
|
|
337
|
+
Object.setPrototypeOf(this, ServerlessCacheNotUnderMigrationFault.prototype);
|
|
338
|
+
}
|
|
339
|
+
}
|
|
301
340
|
export class ServerlessCacheSnapshotAlreadyExistsFault extends __BaseException {
|
|
302
341
|
static shapeId = "com.amazonaws.elasticache#ServerlessCacheSnapshotAlreadyExistsFault";
|
|
303
342
|
name = "ServerlessCacheSnapshotAlreadyExistsFault";
|
|
@@ -597,19 +636,6 @@ export class GlobalReplicationGroupAlreadyExistsFault extends __BaseException {
|
|
|
597
636
|
Object.setPrototypeOf(this, GlobalReplicationGroupAlreadyExistsFault.prototype);
|
|
598
637
|
}
|
|
599
638
|
}
|
|
600
|
-
export class InvalidCacheClusterStateFault extends __BaseException {
|
|
601
|
-
static shapeId = "com.amazonaws.elasticache#InvalidCacheClusterStateFault";
|
|
602
|
-
name = "InvalidCacheClusterStateFault";
|
|
603
|
-
$fault = "client";
|
|
604
|
-
constructor(opts) {
|
|
605
|
-
super({
|
|
606
|
-
name: "InvalidCacheClusterStateFault",
|
|
607
|
-
$fault: "client",
|
|
608
|
-
...opts,
|
|
609
|
-
});
|
|
610
|
-
Object.setPrototypeOf(this, InvalidCacheClusterStateFault.prototype);
|
|
611
|
-
}
|
|
612
|
-
}
|
|
613
639
|
export class InvalidGlobalReplicationGroupStateFault extends __BaseException {
|
|
614
640
|
static shapeId = "com.amazonaws.elasticache#InvalidGlobalReplicationGroupStateFault";
|
|
615
641
|
name = "InvalidGlobalReplicationGroupStateFault";
|
|
@@ -883,6 +909,19 @@ export class SubnetInUse extends __BaseException {
|
|
|
883
909
|
Object.setPrototypeOf(this, SubnetInUse.prototype);
|
|
884
910
|
}
|
|
885
911
|
}
|
|
912
|
+
export class ServerlessCacheAlreadyUnderMigrationFault extends __BaseException {
|
|
913
|
+
static shapeId = "com.amazonaws.elasticache#ServerlessCacheAlreadyUnderMigrationFault";
|
|
914
|
+
name = "ServerlessCacheAlreadyUnderMigrationFault";
|
|
915
|
+
$fault = "client";
|
|
916
|
+
constructor(opts) {
|
|
917
|
+
super({
|
|
918
|
+
name: "ServerlessCacheAlreadyUnderMigrationFault",
|
|
919
|
+
$fault: "client",
|
|
920
|
+
...opts,
|
|
921
|
+
});
|
|
922
|
+
Object.setPrototypeOf(this, ServerlessCacheAlreadyUnderMigrationFault.prototype);
|
|
923
|
+
}
|
|
924
|
+
}
|
|
886
925
|
export class ReservedCacheNodeAlreadyExistsFault extends __BaseException {
|
|
887
926
|
static shapeId = "com.amazonaws.elasticache#ReservedCacheNodeAlreadyExistsFault";
|
|
888
927
|
name = "ReservedCacheNodeAlreadyExistsFault";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
const _A = "Authentication";
|
|
2
2
|
const _AAEF = "AuthorizationAlreadyExistsFault";
|
|
3
3
|
const _AAS = "AppendAccessString";
|
|
4
|
+
const _AC = "AutoCutover";
|
|
4
5
|
const _ACSGI = "AuthorizeCacheSecurityGroupIngress";
|
|
5
6
|
const _ACSGIM = "AuthorizeCacheSecurityGroupIngressMessage";
|
|
6
7
|
const _ACSGIR = "AuthorizeCacheSecurityGroupIngressResult";
|
|
@@ -75,6 +76,7 @@ const _CM = "ClusterMode";
|
|
|
75
76
|
const _CMM = "CompleteMigrationMessage";
|
|
76
77
|
const _CMR = "CompleteMigrationResponse";
|
|
77
78
|
const _CMo = "CompleteMigration";
|
|
79
|
+
const _CMu = "CutoverMode";
|
|
78
80
|
const _CN = "CacheNodes";
|
|
79
81
|
const _CNC = "CacheNodeCount";
|
|
80
82
|
const _CNCT = "CacheNodeCreateTime";
|
|
@@ -153,6 +155,7 @@ const _CSa = "CacheSize";
|
|
|
153
155
|
const _CSo = "CopySnapshot";
|
|
154
156
|
const _CSr = "CreateSnapshot";
|
|
155
157
|
const _CT = "ChangeType";
|
|
158
|
+
const _CTCD = "ClearTargetCacheData";
|
|
156
159
|
const _CTo = "ConnectionType";
|
|
157
160
|
const _CTr = "CreateTime";
|
|
158
161
|
const _CU = "CreateUser";
|
|
@@ -370,11 +373,13 @@ const _MCPGM = "ModifyCacheParameterGroupMessage";
|
|
|
370
373
|
const _MCSG = "ModifyCacheSubnetGroup";
|
|
371
374
|
const _MCSGM = "ModifyCacheSubnetGroupMessage";
|
|
372
375
|
const _MCSGR = "ModifyCacheSubnetGroupResult";
|
|
376
|
+
const _ME = "MigrationEndpoint";
|
|
373
377
|
const _MEV = "MinimumEngineVersion";
|
|
374
378
|
const _MEVa = "MajorEngineVersion";
|
|
375
379
|
const _MGRG = "ModifyGlobalReplicationGroup";
|
|
376
380
|
const _MGRGM = "ModifyGlobalReplicationGroupMessage";
|
|
377
381
|
const _MGRGR = "ModifyGlobalReplicationGroupResult";
|
|
382
|
+
const _MHF = "MigrationHealthFault";
|
|
378
383
|
const _MR = "MaxRecords";
|
|
379
384
|
const _MRG = "ModifyReplicationGroup";
|
|
380
385
|
const _MRGM = "ModifyReplicationGroupMessage";
|
|
@@ -383,6 +388,7 @@ const _MRGSC = "ModifyReplicationGroupShardConfiguration";
|
|
|
383
388
|
const _MRGSCM = "ModifyReplicationGroupShardConfigurationMessage";
|
|
384
389
|
const _MRGSCR = "ModifyReplicationGroupShardConfigurationResult";
|
|
385
390
|
const _MRa = "MaxResults";
|
|
391
|
+
const _MS = "MigrationSummary";
|
|
386
392
|
const _MSC = "ModifyServerlessCache";
|
|
387
393
|
const _MSCR = "ModifyServerlessCacheRequest";
|
|
388
394
|
const _MSCRo = "ModifyServerlessCacheResponse";
|
|
@@ -394,6 +400,7 @@ const _Ma = "Maximum";
|
|
|
394
400
|
const _Me = "Message";
|
|
395
401
|
const _Mem = "Members";
|
|
396
402
|
const _Mi = "Minimum";
|
|
403
|
+
const _Mig = "Migration";
|
|
397
404
|
const _N = "Name";
|
|
398
405
|
const _NAZ = "NewAvailabilityZones";
|
|
399
406
|
const _NC = "NotificationConfiguration";
|
|
@@ -463,6 +470,9 @@ const _PGS = "ParameterGroupStatus";
|
|
|
463
470
|
const _PL = "ParametersList";
|
|
464
471
|
const _PLDC = "PendingLogDeliveryConfiguration";
|
|
465
472
|
const _PLDCL = "PendingLogDeliveryConfigurationList";
|
|
473
|
+
const _PM = "PrepareMigration";
|
|
474
|
+
const _PMR = "PrepareMigrationRequest";
|
|
475
|
+
const _PMRr = "PrepareMigrationResponse";
|
|
466
476
|
const _PMV = "PendingModifiedValues";
|
|
467
477
|
const _PMW = "PreferredMaintenanceWindow";
|
|
468
478
|
const _PN = "ParameterName";
|
|
@@ -561,14 +571,17 @@ const _RUGe = "RemoveUserGroup";
|
|
|
561
571
|
const _Re = "Resharding";
|
|
562
572
|
const _S = "Source";
|
|
563
573
|
const _SA = "SnapshotArns";
|
|
574
|
+
const _SAC = "SourceAuthenticationConfiguration";
|
|
564
575
|
const _SAEF = "SnapshotAlreadyExistsFault";
|
|
565
576
|
const _SAL = "SnapshotArnsList";
|
|
566
577
|
const _SATR = "SnapshotArnsToRestore";
|
|
567
578
|
const _SAZ = "SubnetAvailabilityZone";
|
|
579
|
+
const _SAe = "SecretArn";
|
|
568
580
|
const _SAn = "SnapshotArn";
|
|
569
581
|
const _SBN = "S3BucketName";
|
|
570
582
|
const _SC = "ServerlessCache";
|
|
571
583
|
const _SCAEF = "ServerlessCacheAlreadyExistsFault";
|
|
584
|
+
const _SCAUMF = "ServerlessCacheAlreadyUnderMigrationFault";
|
|
572
585
|
const _SCC = "ServerlessCacheConfiguration";
|
|
573
586
|
const _SCCNIRG = "ShowCacheClustersNotInReplicationGroups";
|
|
574
587
|
const _SCI = "SnapshottingClusterId";
|
|
@@ -577,6 +590,7 @@ const _SCN = "ServerlessCacheName";
|
|
|
577
590
|
const _SCNFF = "ServerlessCacheNotFoundFault";
|
|
578
591
|
const _SCNI = "SourceCacheNodeId";
|
|
579
592
|
const _SCNIh = "ShowCacheNodeInfo";
|
|
593
|
+
const _SCNUMF = "ServerlessCacheNotUnderMigrationFault";
|
|
580
594
|
const _SCQFCEF = "ServerlessCacheQuotaForCustomerExceededFault";
|
|
581
595
|
const _SCS = "ServerlessCacheSnapshot";
|
|
582
596
|
const _SCSAEF = "ServerlessCacheSnapshotAlreadyExistsFault";
|
|
@@ -609,11 +623,16 @@ const _SL = "SnapshotList";
|
|
|
609
623
|
const _SLRNFF = "ServiceLinkedRoleNotFoundFault";
|
|
610
624
|
const _SLu = "SubnetList";
|
|
611
625
|
const _SM = "SlotMigration";
|
|
626
|
+
const _SMAC = "SecretManagerAuthConfig";
|
|
627
|
+
const _SMC = "SecretManagerConfig";
|
|
612
628
|
const _SMI = "ShowMemberInfo";
|
|
613
629
|
const _SMM = "StartMigrationMessage";
|
|
614
630
|
const _SMR = "StartMigrationResponse";
|
|
631
|
+
const _SMRt = "StopMigrationRequest";
|
|
632
|
+
const _SMRto = "StopMigrationResponse";
|
|
615
633
|
const _SMl = "SlaMet";
|
|
616
634
|
const _SMt = "StartMigration";
|
|
635
|
+
const _SMto = "StopMigration";
|
|
617
636
|
const _SN = "SnapshotName";
|
|
618
637
|
const _SNAF = "SubnetNotAllowedFault";
|
|
619
638
|
const _SNFF = "SnapshotNotFoundFault";
|
|
@@ -630,6 +649,9 @@ const _SSCSN = "SourceServerlessCacheSnapshotName";
|
|
|
630
649
|
const _SSN = "SourceSnapshotName";
|
|
631
650
|
const _SSn = "SnapshotStatus";
|
|
632
651
|
const _ST = "SourceType";
|
|
652
|
+
const _STC = "SourceTlsConfiguration";
|
|
653
|
+
const _STCo = "SourceTlsCertificate";
|
|
654
|
+
const _STM = "SourceTlsMode";
|
|
633
655
|
const _STn = "SnapshotType";
|
|
634
656
|
const _STt = "StartTime";
|
|
635
657
|
const _SU = "ServiceUpdate";
|
|
@@ -727,7 +749,7 @@ const _xN = "xmlName";
|
|
|
727
749
|
const n0 = "com.amazonaws.elasticache";
|
|
728
750
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
729
751
|
import { ElastiCacheServiceException } from "../models/ElastiCacheServiceException";
|
|
730
|
-
import { APICallRateForCustomerExceededFault, AuthorizationAlreadyExistsFault, AuthorizationNotFoundFault, CacheClusterAlreadyExistsFault, CacheClusterNotFoundFault, CacheParameterGroupAlreadyExistsFault, CacheParameterGroupNotFoundFault, CacheParameterGroupQuotaExceededFault, CacheSecurityGroupAlreadyExistsFault, CacheSecurityGroupNotFoundFault, CacheSecurityGroupQuotaExceededFault, CacheSubnetGroupAlreadyExistsFault, CacheSubnetGroupInUse, CacheSubnetGroupNotFoundFault, CacheSubnetGroupQuotaExceededFault, CacheSubnetQuotaExceededFault, ClusterQuotaForCustomerExceededFault, DefaultUserAssociatedToUserGroupFault, DefaultUserRequired, DuplicateUserNameFault, GlobalReplicationGroupAlreadyExistsFault, GlobalReplicationGroupNotFoundFault, InsufficientCacheClusterCapacityFault, InvalidARNFault, InvalidCacheClusterStateFault, InvalidCacheParameterGroupStateFault, InvalidCacheSecurityGroupStateFault, InvalidCredentialsException, InvalidGlobalReplicationGroupStateFault, InvalidKMSKeyFault, InvalidParameterCombinationException, InvalidParameterValueException, InvalidReplicationGroupStateFault, InvalidServerlessCacheSnapshotStateFault, InvalidServerlessCacheStateFault, InvalidSnapshotStateFault, InvalidSubnet, InvalidUserGroupStateFault, InvalidUserStateFault, InvalidVPCNetworkStateFault, NodeGroupNotFoundFault, NodeGroupsPerReplicationGroupQuotaExceededFault, NodeQuotaForClusterExceededFault, NodeQuotaForCustomerExceededFault, NoOperationFault, ReplicationGroupAlreadyExistsFault, ReplicationGroupAlreadyUnderMigrationFault, ReplicationGroupNotFoundFault, ReplicationGroupNotUnderMigrationFault, ReservedCacheNodeAlreadyExistsFault, ReservedCacheNodeNotFoundFault, ReservedCacheNodeQuotaExceededFault, ReservedCacheNodesOfferingNotFoundFault, ServerlessCacheAlreadyExistsFault, ServerlessCacheNotFoundFault, ServerlessCacheQuotaForCustomerExceededFault, ServerlessCacheSnapshotAlreadyExistsFault, ServerlessCacheSnapshotNotFoundFault, ServerlessCacheSnapshotQuotaExceededFault, ServiceLinkedRoleNotFoundFault, ServiceUpdateNotFoundFault, SnapshotAlreadyExistsFault, SnapshotFeatureNotSupportedFault, SnapshotNotFoundFault, SnapshotQuotaExceededFault, SubnetInUse, SubnetNotAllowedFault, TagNotFoundFault, TagQuotaPerResourceExceeded, TestFailoverNotAvailableFault, UserAlreadyExistsFault, UserGroupAlreadyExistsFault, UserGroupNotFoundFault, UserGroupQuotaExceededFault, UserNotFoundFault, UserQuotaExceededFault, } from "../models/errors";
|
|
752
|
+
import { APICallRateForCustomerExceededFault, AuthorizationAlreadyExistsFault, AuthorizationNotFoundFault, CacheClusterAlreadyExistsFault, CacheClusterNotFoundFault, CacheParameterGroupAlreadyExistsFault, CacheParameterGroupNotFoundFault, CacheParameterGroupQuotaExceededFault, CacheSecurityGroupAlreadyExistsFault, CacheSecurityGroupNotFoundFault, CacheSecurityGroupQuotaExceededFault, CacheSubnetGroupAlreadyExistsFault, CacheSubnetGroupInUse, CacheSubnetGroupNotFoundFault, CacheSubnetGroupQuotaExceededFault, CacheSubnetQuotaExceededFault, ClusterQuotaForCustomerExceededFault, DefaultUserAssociatedToUserGroupFault, DefaultUserRequired, DuplicateUserNameFault, GlobalReplicationGroupAlreadyExistsFault, GlobalReplicationGroupNotFoundFault, InsufficientCacheClusterCapacityFault, InvalidARNFault, InvalidCacheClusterStateFault, InvalidCacheParameterGroupStateFault, InvalidCacheSecurityGroupStateFault, InvalidCredentialsException, InvalidGlobalReplicationGroupStateFault, InvalidKMSKeyFault, InvalidParameterCombinationException, InvalidParameterValueException, InvalidReplicationGroupStateFault, InvalidServerlessCacheSnapshotStateFault, InvalidServerlessCacheStateFault, InvalidSnapshotStateFault, InvalidSubnet, InvalidUserGroupStateFault, InvalidUserStateFault, InvalidVPCNetworkStateFault, MigrationHealthFault, NodeGroupNotFoundFault, NodeGroupsPerReplicationGroupQuotaExceededFault, NodeQuotaForClusterExceededFault, NodeQuotaForCustomerExceededFault, NoOperationFault, ReplicationGroupAlreadyExistsFault, ReplicationGroupAlreadyUnderMigrationFault, ReplicationGroupNotFoundFault, ReplicationGroupNotUnderMigrationFault, ReservedCacheNodeAlreadyExistsFault, ReservedCacheNodeNotFoundFault, ReservedCacheNodeQuotaExceededFault, ReservedCacheNodesOfferingNotFoundFault, ServerlessCacheAlreadyExistsFault, ServerlessCacheAlreadyUnderMigrationFault, ServerlessCacheNotFoundFault, ServerlessCacheNotUnderMigrationFault, ServerlessCacheQuotaForCustomerExceededFault, ServerlessCacheSnapshotAlreadyExistsFault, ServerlessCacheSnapshotNotFoundFault, ServerlessCacheSnapshotQuotaExceededFault, ServiceLinkedRoleNotFoundFault, ServiceUpdateNotFoundFault, SnapshotAlreadyExistsFault, SnapshotFeatureNotSupportedFault, SnapshotNotFoundFault, SnapshotQuotaExceededFault, SubnetInUse, SubnetNotAllowedFault, TagNotFoundFault, TagQuotaPerResourceExceeded, TestFailoverNotAvailableFault, UserAlreadyExistsFault, UserGroupAlreadyExistsFault, UserGroupNotFoundFault, UserGroupQuotaExceededFault, UserNotFoundFault, UserQuotaExceededFault, } from "../models/errors";
|
|
731
753
|
const _s_registry = new TypeRegistry(_s);
|
|
732
754
|
export var ElastiCacheServiceException$ = [-3, _s, "ElastiCacheServiceException", 0, [], []];
|
|
733
755
|
_s_registry.registerError(ElastiCacheServiceException$, ElastiCacheServiceException);
|
|
@@ -972,6 +994,12 @@ export var InvalidVPCNetworkStateFault$ = [-3, n0, _IVPCNSF,
|
|
|
972
994
|
[0]
|
|
973
995
|
];
|
|
974
996
|
n0_registry.registerError(InvalidVPCNetworkStateFault$, InvalidVPCNetworkStateFault);
|
|
997
|
+
export var MigrationHealthFault$ = [-3, n0, _MHF,
|
|
998
|
+
{ [_aQE]: [`MigrationHealthFault`, 400], [_e]: _c, [_hE]: 400 },
|
|
999
|
+
[_m],
|
|
1000
|
+
[0]
|
|
1001
|
+
];
|
|
1002
|
+
n0_registry.registerError(MigrationHealthFault$, MigrationHealthFault);
|
|
975
1003
|
export var NodeGroupNotFoundFault$ = [-3, n0, _NGNFF,
|
|
976
1004
|
{ [_aQE]: [`NodeGroupNotFoundFault`, 404], [_e]: _c, [_hE]: 404 },
|
|
977
1005
|
[_m],
|
|
@@ -1056,12 +1084,24 @@ export var ServerlessCacheAlreadyExistsFault$ = [-3, n0, _SCAEF,
|
|
|
1056
1084
|
[0]
|
|
1057
1085
|
];
|
|
1058
1086
|
n0_registry.registerError(ServerlessCacheAlreadyExistsFault$, ServerlessCacheAlreadyExistsFault);
|
|
1087
|
+
export var ServerlessCacheAlreadyUnderMigrationFault$ = [-3, n0, _SCAUMF,
|
|
1088
|
+
{ [_aQE]: [`ServerlessCacheAlreadyUnderMigrationFault`, 400], [_e]: _c, [_hE]: 400 },
|
|
1089
|
+
[_m],
|
|
1090
|
+
[0]
|
|
1091
|
+
];
|
|
1092
|
+
n0_registry.registerError(ServerlessCacheAlreadyUnderMigrationFault$, ServerlessCacheAlreadyUnderMigrationFault);
|
|
1059
1093
|
export var ServerlessCacheNotFoundFault$ = [-3, n0, _SCNFF,
|
|
1060
1094
|
{ [_aQE]: [`ServerlessCacheNotFoundFault`, 404], [_e]: _c, [_hE]: 404 },
|
|
1061
1095
|
[_m],
|
|
1062
1096
|
[0]
|
|
1063
1097
|
];
|
|
1064
1098
|
n0_registry.registerError(ServerlessCacheNotFoundFault$, ServerlessCacheNotFoundFault);
|
|
1099
|
+
export var ServerlessCacheNotUnderMigrationFault$ = [-3, n0, _SCNUMF,
|
|
1100
|
+
{ [_aQE]: [`ServerlessCacheNotUnderMigrationFault`, 400], [_e]: _c, [_hE]: 400 },
|
|
1101
|
+
[_m],
|
|
1102
|
+
[0]
|
|
1103
|
+
];
|
|
1104
|
+
n0_registry.registerError(ServerlessCacheNotUnderMigrationFault$, ServerlessCacheNotUnderMigrationFault);
|
|
1065
1105
|
export var ServerlessCacheQuotaForCustomerExceededFault$ = [-3, n0, _SCQFCEF,
|
|
1066
1106
|
{ [_aQE]: [`ServerlessCacheQuotaForCustomerExceededFault`, 400], [_e]: _c, [_hE]: 400 },
|
|
1067
1107
|
[_m],
|
|
@@ -1339,13 +1379,13 @@ export var CloudWatchLogsDestinationDetails$ = [3, n0, _CWLDD,
|
|
|
1339
1379
|
];
|
|
1340
1380
|
export var CompleteMigrationMessage$ = [3, n0, _CMM,
|
|
1341
1381
|
0,
|
|
1342
|
-
[_RGIe, _F],
|
|
1343
|
-
[0, 2]
|
|
1382
|
+
[_RGIe, _SCN, _F],
|
|
1383
|
+
[0, 0, 2]
|
|
1344
1384
|
];
|
|
1345
1385
|
export var CompleteMigrationResponse$ = [3, n0, _CMR,
|
|
1346
1386
|
0,
|
|
1347
|
-
[_RG],
|
|
1348
|
-
[[() => ReplicationGroup$, 0]]
|
|
1387
|
+
[_RG, _SC],
|
|
1388
|
+
[[() => ReplicationGroup$, 0], [() => ServerlessCache$, 0]]
|
|
1349
1389
|
];
|
|
1350
1390
|
export var ConfigureShard$ = [3, n0, _CS,
|
|
1351
1391
|
0,
|
|
@@ -1852,6 +1892,11 @@ export var LogDeliveryConfigurationRequest$ = [3, n0, _LDCR,
|
|
|
1852
1892
|
[_LT, _DTe, _DD, _LF, _Ena],
|
|
1853
1893
|
[0, 0, () => DestinationDetails$, 0, 2]
|
|
1854
1894
|
];
|
|
1895
|
+
export var MigrationSummary$ = [3, n0, _MS,
|
|
1896
|
+
0,
|
|
1897
|
+
[_St, _ME, _CMu],
|
|
1898
|
+
[0, () => Endpoint$, 0]
|
|
1899
|
+
];
|
|
1855
1900
|
export var ModifyCacheClusterMessage$ = [3, n0, _MCCM,
|
|
1856
1901
|
0,
|
|
1857
1902
|
[_CCIa, _NCN, _CNITRa, _AZM, _NAZ, _CSGNac, _SGI, _PMW, _NTA, _CPGN, _NTS, _AI, _E, _EV, _AMVU, _SRL, _SW, _CNT, _AT, _ATUS, _LDC, _ID, _SCc],
|
|
@@ -1982,6 +2027,16 @@ export var PendingModifiedValues$ = [3, n0, _PMV,
|
|
|
1982
2027
|
[_NCN, _CNITRa, _EV, _CNT, _ATS, _LDC, _TEE, _TEM, _SCc],
|
|
1983
2028
|
[1, [() => CacheNodeIdsList, 0], 0, 0, 0, () => PendingLogDeliveryConfigurationList, 2, 0, () => ScaleConfig$]
|
|
1984
2029
|
];
|
|
2030
|
+
export var PrepareMigrationRequest$ = [3, n0, _PMR,
|
|
2031
|
+
0,
|
|
2032
|
+
[_SCN, _CNEL, _SAC, _STC],
|
|
2033
|
+
[0, () => CustomerNodeEndpointList, () => SourceAuthenticationConfiguration$, () => SourceTlsConfiguration$], 2
|
|
2034
|
+
];
|
|
2035
|
+
export var PrepareMigrationResponse$ = [3, n0, _PMRr,
|
|
2036
|
+
0,
|
|
2037
|
+
[_SC],
|
|
2038
|
+
[[() => ServerlessCache$, 0]]
|
|
2039
|
+
];
|
|
1985
2040
|
export var ProcessedUpdateAction$ = [3, n0, _PUA,
|
|
1986
2041
|
0,
|
|
1987
2042
|
[_RGIe, _CCIa, _SUN, _UAS],
|
|
@@ -2097,6 +2152,11 @@ export var ScaleConfig$ = [3, n0, _SCc,
|
|
|
2097
2152
|
[_SP, _SIM],
|
|
2098
2153
|
[1, 1]
|
|
2099
2154
|
];
|
|
2155
|
+
export var SecretManagerAuthConfig$ = [3, n0, _SMAC,
|
|
2156
|
+
0,
|
|
2157
|
+
[_SAe],
|
|
2158
|
+
[0]
|
|
2159
|
+
];
|
|
2100
2160
|
export var SecurityGroupMembership$ = [3, n0, _SGM,
|
|
2101
2161
|
0,
|
|
2102
2162
|
[_SGIe, _St],
|
|
@@ -2104,8 +2164,8 @@ export var SecurityGroupMembership$ = [3, n0, _SGM,
|
|
|
2104
2164
|
];
|
|
2105
2165
|
export var ServerlessCache$ = [3, n0, _SC,
|
|
2106
2166
|
0,
|
|
2107
|
-
[_SCN, _D, _CTr, _St, _E, _MEVa, _FEV, _CUL, _KKI, _SET, _SGI, _En, _RE, _ARN, _UGIs, _SI, _SRL, _DST, _NT, _CTo],
|
|
2108
|
-
[0, 0, 4, 0, 0, 0, 0, () => CacheUsageLimits$, 0, 0, [() => SecurityGroupIdsList, 0], () => Endpoint$, () => Endpoint$, 0, 0, [() => SubnetIdsList, 0], 1, 0, 0, 0]
|
|
2167
|
+
[_SCN, _D, _CTr, _St, _E, _MEVa, _FEV, _CUL, _KKI, _SET, _SGI, _En, _RE, _ARN, _UGIs, _SI, _SRL, _DST, _NT, _CTo, _Mig],
|
|
2168
|
+
[0, 0, 4, 0, 0, 0, 0, () => CacheUsageLimits$, 0, 0, [() => SecurityGroupIdsList, 0], () => Endpoint$, () => Endpoint$, 0, 0, [() => SubnetIdsList, 0], 1, 0, 0, 0, () => MigrationSummary$]
|
|
2109
2169
|
];
|
|
2110
2170
|
export var ServerlessCacheConfiguration$ = [3, n0, _SCC,
|
|
2111
2171
|
0,
|
|
@@ -2137,15 +2197,35 @@ export var Snapshot$ = [3, n0, _Sn,
|
|
|
2137
2197
|
[_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],
|
|
2138
2198
|
[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]
|
|
2139
2199
|
];
|
|
2200
|
+
export var SourceAuthenticationConfiguration$ = [3, n0, _SAC,
|
|
2201
|
+
0,
|
|
2202
|
+
[_SMC],
|
|
2203
|
+
[() => SecretManagerAuthConfig$]
|
|
2204
|
+
];
|
|
2205
|
+
export var SourceTlsConfiguration$ = [3, n0, _STC,
|
|
2206
|
+
0,
|
|
2207
|
+
[_STM, _STCo],
|
|
2208
|
+
[0, 0]
|
|
2209
|
+
];
|
|
2140
2210
|
export var StartMigrationMessage$ = [3, n0, _SMM,
|
|
2141
2211
|
0,
|
|
2142
|
-
[_RGIe, _CNEL],
|
|
2143
|
-
[0, () => CustomerNodeEndpointList
|
|
2212
|
+
[_SCN, _RGIe, _CNEL, _AC, _CTCD],
|
|
2213
|
+
[0, 0, () => CustomerNodeEndpointList, 2, 2]
|
|
2144
2214
|
];
|
|
2145
2215
|
export var StartMigrationResponse$ = [3, n0, _SMR,
|
|
2146
2216
|
0,
|
|
2147
|
-
[_RG],
|
|
2148
|
-
[[() => ReplicationGroup$, 0]]
|
|
2217
|
+
[_RG, _SC],
|
|
2218
|
+
[[() => ReplicationGroup$, 0], [() => ServerlessCache$, 0]]
|
|
2219
|
+
];
|
|
2220
|
+
export var StopMigrationRequest$ = [3, n0, _SMRt,
|
|
2221
|
+
0,
|
|
2222
|
+
[_SCN],
|
|
2223
|
+
[0], 1
|
|
2224
|
+
];
|
|
2225
|
+
export var StopMigrationResponse$ = [3, n0, _SMRto,
|
|
2226
|
+
0,
|
|
2227
|
+
[_SC],
|
|
2228
|
+
[[() => ServerlessCache$, 0]]
|
|
2149
2229
|
];
|
|
2150
2230
|
export var Subnet$ = [3, n0, _Sub,
|
|
2151
2231
|
0,
|
|
@@ -2689,6 +2769,9 @@ export var ModifyUser$ = [9, n0, _MU,
|
|
|
2689
2769
|
export var ModifyUserGroup$ = [9, n0, _MUG,
|
|
2690
2770
|
0, () => ModifyUserGroupMessage$, () => UserGroup$
|
|
2691
2771
|
];
|
|
2772
|
+
export var PrepareMigration$ = [9, n0, _PM,
|
|
2773
|
+
0, () => PrepareMigrationRequest$, () => PrepareMigrationResponse$
|
|
2774
|
+
];
|
|
2692
2775
|
export var PurchaseReservedCacheNodesOffering$ = [9, n0, _PRCNO,
|
|
2693
2776
|
0, () => PurchaseReservedCacheNodesOfferingMessage$, () => PurchaseReservedCacheNodesOfferingResult$
|
|
2694
2777
|
];
|
|
@@ -2710,6 +2793,9 @@ export var RevokeCacheSecurityGroupIngress$ = [9, n0, _RCSGI,
|
|
|
2710
2793
|
export var StartMigration$ = [9, n0, _SMt,
|
|
2711
2794
|
0, () => StartMigrationMessage$, () => StartMigrationResponse$
|
|
2712
2795
|
];
|
|
2796
|
+
export var StopMigration$ = [9, n0, _SMto,
|
|
2797
|
+
0, () => StopMigrationRequest$, () => StopMigrationResponse$
|
|
2798
|
+
];
|
|
2713
2799
|
export var TestFailover$ = [9, n0, _TF,
|
|
2714
2800
|
0, () => TestFailoverMessage$, () => TestFailoverResult$
|
|
2715
2801
|
];
|
|
@@ -66,6 +66,7 @@ import { type ModifyReplicationGroupShardConfigurationCommandInput, type ModifyR
|
|
|
66
66
|
import { type ModifyServerlessCacheCommandInput, type ModifyServerlessCacheCommandOutput } from "./commands/ModifyServerlessCacheCommand";
|
|
67
67
|
import { type ModifyUserCommandInput, type ModifyUserCommandOutput } from "./commands/ModifyUserCommand";
|
|
68
68
|
import { type ModifyUserGroupCommandInput, type ModifyUserGroupCommandOutput } from "./commands/ModifyUserGroupCommand";
|
|
69
|
+
import { type PrepareMigrationCommandInput, type PrepareMigrationCommandOutput } from "./commands/PrepareMigrationCommand";
|
|
69
70
|
import { type PurchaseReservedCacheNodesOfferingCommandInput, type PurchaseReservedCacheNodesOfferingCommandOutput } from "./commands/PurchaseReservedCacheNodesOfferingCommand";
|
|
70
71
|
import { type RebalanceSlotsInGlobalReplicationGroupCommandInput, type RebalanceSlotsInGlobalReplicationGroupCommandOutput } from "./commands/RebalanceSlotsInGlobalReplicationGroupCommand";
|
|
71
72
|
import { type RebootCacheClusterCommandInput, type RebootCacheClusterCommandOutput } from "./commands/RebootCacheClusterCommand";
|
|
@@ -73,6 +74,7 @@ import { type RemoveTagsFromResourceCommandInput, type RemoveTagsFromResourceCom
|
|
|
73
74
|
import { type ResetCacheParameterGroupCommandInput, type ResetCacheParameterGroupCommandOutput } from "./commands/ResetCacheParameterGroupCommand";
|
|
74
75
|
import { type RevokeCacheSecurityGroupIngressCommandInput, type RevokeCacheSecurityGroupIngressCommandOutput } from "./commands/RevokeCacheSecurityGroupIngressCommand";
|
|
75
76
|
import { type StartMigrationCommandInput, type StartMigrationCommandOutput } from "./commands/StartMigrationCommand";
|
|
77
|
+
import { type StopMigrationCommandInput, type StopMigrationCommandOutput } from "./commands/StopMigrationCommand";
|
|
76
78
|
import { type TestFailoverCommandInput, type TestFailoverCommandOutput } from "./commands/TestFailoverCommand";
|
|
77
79
|
import { type TestMigrationCommandInput, type TestMigrationCommandOutput } from "./commands/TestMigrationCommand";
|
|
78
80
|
import { ElastiCacheClient } from "./ElastiCacheClient";
|
|
@@ -111,6 +113,7 @@ export interface ElastiCache {
|
|
|
111
113
|
/**
|
|
112
114
|
* @see {@link CompleteMigrationCommand}
|
|
113
115
|
*/
|
|
116
|
+
completeMigration(): Promise<CompleteMigrationCommandOutput>;
|
|
114
117
|
completeMigration(args: CompleteMigrationCommandInput, options?: ElastiCacheRequestOptions): Promise<CompleteMigrationCommandOutput>;
|
|
115
118
|
completeMigration(args: CompleteMigrationCommandInput, cb: (err: any, data?: CompleteMigrationCommandOutput) => void): void;
|
|
116
119
|
completeMigration(args: CompleteMigrationCommandInput, options: ElastiCacheRequestOptions, cb: (err: any, data?: CompleteMigrationCommandOutput) => void): void;
|
|
@@ -498,6 +501,12 @@ export interface ElastiCache {
|
|
|
498
501
|
modifyUserGroup(args: ModifyUserGroupCommandInput, options?: ElastiCacheRequestOptions): Promise<ModifyUserGroupCommandOutput>;
|
|
499
502
|
modifyUserGroup(args: ModifyUserGroupCommandInput, cb: (err: any, data?: ModifyUserGroupCommandOutput) => void): void;
|
|
500
503
|
modifyUserGroup(args: ModifyUserGroupCommandInput, options: ElastiCacheRequestOptions, cb: (err: any, data?: ModifyUserGroupCommandOutput) => void): void;
|
|
504
|
+
/**
|
|
505
|
+
* @see {@link PrepareMigrationCommand}
|
|
506
|
+
*/
|
|
507
|
+
prepareMigration(args: PrepareMigrationCommandInput, options?: ElastiCacheRequestOptions): Promise<PrepareMigrationCommandOutput>;
|
|
508
|
+
prepareMigration(args: PrepareMigrationCommandInput, cb: (err: any, data?: PrepareMigrationCommandOutput) => void): void;
|
|
509
|
+
prepareMigration(args: PrepareMigrationCommandInput, options: ElastiCacheRequestOptions, cb: (err: any, data?: PrepareMigrationCommandOutput) => void): void;
|
|
501
510
|
/**
|
|
502
511
|
* @see {@link PurchaseReservedCacheNodesOfferingCommand}
|
|
503
512
|
*/
|
|
@@ -537,9 +546,16 @@ export interface ElastiCache {
|
|
|
537
546
|
/**
|
|
538
547
|
* @see {@link StartMigrationCommand}
|
|
539
548
|
*/
|
|
549
|
+
startMigration(): Promise<StartMigrationCommandOutput>;
|
|
540
550
|
startMigration(args: StartMigrationCommandInput, options?: ElastiCacheRequestOptions): Promise<StartMigrationCommandOutput>;
|
|
541
551
|
startMigration(args: StartMigrationCommandInput, cb: (err: any, data?: StartMigrationCommandOutput) => void): void;
|
|
542
552
|
startMigration(args: StartMigrationCommandInput, options: ElastiCacheRequestOptions, cb: (err: any, data?: StartMigrationCommandOutput) => void): void;
|
|
553
|
+
/**
|
|
554
|
+
* @see {@link StopMigrationCommand}
|
|
555
|
+
*/
|
|
556
|
+
stopMigration(args: StopMigrationCommandInput, options?: ElastiCacheRequestOptions): Promise<StopMigrationCommandOutput>;
|
|
557
|
+
stopMigration(args: StopMigrationCommandInput, cb: (err: any, data?: StopMigrationCommandOutput) => void): void;
|
|
558
|
+
stopMigration(args: StopMigrationCommandInput, options: ElastiCacheRequestOptions, cb: (err: any, data?: StopMigrationCommandOutput) => void): void;
|
|
543
559
|
/**
|
|
544
560
|
* @see {@link TestFailoverCommand}
|
|
545
561
|
*/
|
|
@@ -72,6 +72,7 @@ import type { ModifyReplicationGroupShardConfigurationCommandInput, ModifyReplic
|
|
|
72
72
|
import type { ModifyServerlessCacheCommandInput, ModifyServerlessCacheCommandOutput } from "./commands/ModifyServerlessCacheCommand";
|
|
73
73
|
import type { ModifyUserCommandInput, ModifyUserCommandOutput } from "./commands/ModifyUserCommand";
|
|
74
74
|
import type { ModifyUserGroupCommandInput, ModifyUserGroupCommandOutput } from "./commands/ModifyUserGroupCommand";
|
|
75
|
+
import type { PrepareMigrationCommandInput, PrepareMigrationCommandOutput } from "./commands/PrepareMigrationCommand";
|
|
75
76
|
import type { PurchaseReservedCacheNodesOfferingCommandInput, PurchaseReservedCacheNodesOfferingCommandOutput } from "./commands/PurchaseReservedCacheNodesOfferingCommand";
|
|
76
77
|
import type { RebalanceSlotsInGlobalReplicationGroupCommandInput, RebalanceSlotsInGlobalReplicationGroupCommandOutput } from "./commands/RebalanceSlotsInGlobalReplicationGroupCommand";
|
|
77
78
|
import type { RebootCacheClusterCommandInput, RebootCacheClusterCommandOutput } from "./commands/RebootCacheClusterCommand";
|
|
@@ -79,6 +80,7 @@ import type { RemoveTagsFromResourceCommandInput, RemoveTagsFromResourceCommandO
|
|
|
79
80
|
import type { ResetCacheParameterGroupCommandInput, ResetCacheParameterGroupCommandOutput } from "./commands/ResetCacheParameterGroupCommand";
|
|
80
81
|
import type { RevokeCacheSecurityGroupIngressCommandInput, RevokeCacheSecurityGroupIngressCommandOutput } from "./commands/RevokeCacheSecurityGroupIngressCommand";
|
|
81
82
|
import type { StartMigrationCommandInput, StartMigrationCommandOutput } from "./commands/StartMigrationCommand";
|
|
83
|
+
import type { StopMigrationCommandInput, StopMigrationCommandOutput } from "./commands/StopMigrationCommand";
|
|
82
84
|
import type { TestFailoverCommandInput, TestFailoverCommandOutput } from "./commands/TestFailoverCommand";
|
|
83
85
|
import type { TestMigrationCommandInput, TestMigrationCommandOutput } from "./commands/TestMigrationCommand";
|
|
84
86
|
import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
|
|
@@ -87,11 +89,11 @@ export { __Client };
|
|
|
87
89
|
/**
|
|
88
90
|
* @public
|
|
89
91
|
*/
|
|
90
|
-
export type ServiceInputTypes = AddTagsToResourceCommandInput | AuthorizeCacheSecurityGroupIngressCommandInput | BatchApplyUpdateActionCommandInput | BatchStopUpdateActionCommandInput | CompleteMigrationCommandInput | CopyServerlessCacheSnapshotCommandInput | CopySnapshotCommandInput | CreateCacheClusterCommandInput | CreateCacheParameterGroupCommandInput | CreateCacheSecurityGroupCommandInput | CreateCacheSubnetGroupCommandInput | CreateGlobalReplicationGroupCommandInput | CreateReplicationGroupCommandInput | CreateServerlessCacheCommandInput | CreateServerlessCacheSnapshotCommandInput | CreateSnapshotCommandInput | CreateUserCommandInput | CreateUserGroupCommandInput | DecreaseNodeGroupsInGlobalReplicationGroupCommandInput | DecreaseReplicaCountCommandInput | DeleteCacheClusterCommandInput | DeleteCacheParameterGroupCommandInput | DeleteCacheSecurityGroupCommandInput | DeleteCacheSubnetGroupCommandInput | DeleteGlobalReplicationGroupCommandInput | DeleteReplicationGroupCommandInput | DeleteServerlessCacheCommandInput | DeleteServerlessCacheSnapshotCommandInput | DeleteSnapshotCommandInput | DeleteUserCommandInput | DeleteUserGroupCommandInput | DescribeCacheClustersCommandInput | DescribeCacheEngineVersionsCommandInput | DescribeCacheParameterGroupsCommandInput | DescribeCacheParametersCommandInput | DescribeCacheSecurityGroupsCommandInput | DescribeCacheSubnetGroupsCommandInput | DescribeEngineDefaultParametersCommandInput | DescribeEventsCommandInput | DescribeGlobalReplicationGroupsCommandInput | DescribeReplicationGroupsCommandInput | DescribeReservedCacheNodesCommandInput | DescribeReservedCacheNodesOfferingsCommandInput | DescribeServerlessCacheSnapshotsCommandInput | DescribeServerlessCachesCommandInput | DescribeServiceUpdatesCommandInput | DescribeSnapshotsCommandInput | DescribeUpdateActionsCommandInput | DescribeUserGroupsCommandInput | DescribeUsersCommandInput | DisassociateGlobalReplicationGroupCommandInput | ExportServerlessCacheSnapshotCommandInput | FailoverGlobalReplicationGroupCommandInput | IncreaseNodeGroupsInGlobalReplicationGroupCommandInput | IncreaseReplicaCountCommandInput | ListAllowedNodeTypeModificationsCommandInput | ListTagsForResourceCommandInput | ModifyCacheClusterCommandInput | ModifyCacheParameterGroupCommandInput | ModifyCacheSubnetGroupCommandInput | ModifyGlobalReplicationGroupCommandInput | ModifyReplicationGroupCommandInput | ModifyReplicationGroupShardConfigurationCommandInput | ModifyServerlessCacheCommandInput | ModifyUserCommandInput | ModifyUserGroupCommandInput | PurchaseReservedCacheNodesOfferingCommandInput | RebalanceSlotsInGlobalReplicationGroupCommandInput | RebootCacheClusterCommandInput | RemoveTagsFromResourceCommandInput | ResetCacheParameterGroupCommandInput | RevokeCacheSecurityGroupIngressCommandInput | StartMigrationCommandInput | TestFailoverCommandInput | TestMigrationCommandInput;
|
|
92
|
+
export type ServiceInputTypes = AddTagsToResourceCommandInput | AuthorizeCacheSecurityGroupIngressCommandInput | BatchApplyUpdateActionCommandInput | BatchStopUpdateActionCommandInput | CompleteMigrationCommandInput | CopyServerlessCacheSnapshotCommandInput | CopySnapshotCommandInput | CreateCacheClusterCommandInput | CreateCacheParameterGroupCommandInput | CreateCacheSecurityGroupCommandInput | CreateCacheSubnetGroupCommandInput | CreateGlobalReplicationGroupCommandInput | CreateReplicationGroupCommandInput | CreateServerlessCacheCommandInput | CreateServerlessCacheSnapshotCommandInput | CreateSnapshotCommandInput | CreateUserCommandInput | CreateUserGroupCommandInput | DecreaseNodeGroupsInGlobalReplicationGroupCommandInput | DecreaseReplicaCountCommandInput | DeleteCacheClusterCommandInput | DeleteCacheParameterGroupCommandInput | DeleteCacheSecurityGroupCommandInput | DeleteCacheSubnetGroupCommandInput | DeleteGlobalReplicationGroupCommandInput | DeleteReplicationGroupCommandInput | DeleteServerlessCacheCommandInput | DeleteServerlessCacheSnapshotCommandInput | DeleteSnapshotCommandInput | DeleteUserCommandInput | DeleteUserGroupCommandInput | DescribeCacheClustersCommandInput | DescribeCacheEngineVersionsCommandInput | DescribeCacheParameterGroupsCommandInput | DescribeCacheParametersCommandInput | DescribeCacheSecurityGroupsCommandInput | DescribeCacheSubnetGroupsCommandInput | DescribeEngineDefaultParametersCommandInput | DescribeEventsCommandInput | DescribeGlobalReplicationGroupsCommandInput | DescribeReplicationGroupsCommandInput | DescribeReservedCacheNodesCommandInput | DescribeReservedCacheNodesOfferingsCommandInput | DescribeServerlessCacheSnapshotsCommandInput | DescribeServerlessCachesCommandInput | DescribeServiceUpdatesCommandInput | DescribeSnapshotsCommandInput | DescribeUpdateActionsCommandInput | DescribeUserGroupsCommandInput | DescribeUsersCommandInput | DisassociateGlobalReplicationGroupCommandInput | ExportServerlessCacheSnapshotCommandInput | FailoverGlobalReplicationGroupCommandInput | IncreaseNodeGroupsInGlobalReplicationGroupCommandInput | IncreaseReplicaCountCommandInput | ListAllowedNodeTypeModificationsCommandInput | ListTagsForResourceCommandInput | ModifyCacheClusterCommandInput | ModifyCacheParameterGroupCommandInput | ModifyCacheSubnetGroupCommandInput | ModifyGlobalReplicationGroupCommandInput | ModifyReplicationGroupCommandInput | ModifyReplicationGroupShardConfigurationCommandInput | ModifyServerlessCacheCommandInput | ModifyUserCommandInput | ModifyUserGroupCommandInput | PrepareMigrationCommandInput | PurchaseReservedCacheNodesOfferingCommandInput | RebalanceSlotsInGlobalReplicationGroupCommandInput | RebootCacheClusterCommandInput | RemoveTagsFromResourceCommandInput | ResetCacheParameterGroupCommandInput | RevokeCacheSecurityGroupIngressCommandInput | StartMigrationCommandInput | StopMigrationCommandInput | TestFailoverCommandInput | TestMigrationCommandInput;
|
|
91
93
|
/**
|
|
92
94
|
* @public
|
|
93
95
|
*/
|
|
94
|
-
export type ServiceOutputTypes = AddTagsToResourceCommandOutput | AuthorizeCacheSecurityGroupIngressCommandOutput | BatchApplyUpdateActionCommandOutput | BatchStopUpdateActionCommandOutput | CompleteMigrationCommandOutput | CopyServerlessCacheSnapshotCommandOutput | CopySnapshotCommandOutput | CreateCacheClusterCommandOutput | CreateCacheParameterGroupCommandOutput | CreateCacheSecurityGroupCommandOutput | CreateCacheSubnetGroupCommandOutput | CreateGlobalReplicationGroupCommandOutput | CreateReplicationGroupCommandOutput | CreateServerlessCacheCommandOutput | CreateServerlessCacheSnapshotCommandOutput | CreateSnapshotCommandOutput | CreateUserCommandOutput | CreateUserGroupCommandOutput | DecreaseNodeGroupsInGlobalReplicationGroupCommandOutput | DecreaseReplicaCountCommandOutput | DeleteCacheClusterCommandOutput | DeleteCacheParameterGroupCommandOutput | DeleteCacheSecurityGroupCommandOutput | DeleteCacheSubnetGroupCommandOutput | DeleteGlobalReplicationGroupCommandOutput | DeleteReplicationGroupCommandOutput | DeleteServerlessCacheCommandOutput | DeleteServerlessCacheSnapshotCommandOutput | DeleteSnapshotCommandOutput | DeleteUserCommandOutput | DeleteUserGroupCommandOutput | DescribeCacheClustersCommandOutput | DescribeCacheEngineVersionsCommandOutput | DescribeCacheParameterGroupsCommandOutput | DescribeCacheParametersCommandOutput | DescribeCacheSecurityGroupsCommandOutput | DescribeCacheSubnetGroupsCommandOutput | DescribeEngineDefaultParametersCommandOutput | DescribeEventsCommandOutput | DescribeGlobalReplicationGroupsCommandOutput | DescribeReplicationGroupsCommandOutput | DescribeReservedCacheNodesCommandOutput | DescribeReservedCacheNodesOfferingsCommandOutput | DescribeServerlessCacheSnapshotsCommandOutput | DescribeServerlessCachesCommandOutput | DescribeServiceUpdatesCommandOutput | DescribeSnapshotsCommandOutput | DescribeUpdateActionsCommandOutput | DescribeUserGroupsCommandOutput | DescribeUsersCommandOutput | DisassociateGlobalReplicationGroupCommandOutput | ExportServerlessCacheSnapshotCommandOutput | FailoverGlobalReplicationGroupCommandOutput | IncreaseNodeGroupsInGlobalReplicationGroupCommandOutput | IncreaseReplicaCountCommandOutput | ListAllowedNodeTypeModificationsCommandOutput | ListTagsForResourceCommandOutput | ModifyCacheClusterCommandOutput | ModifyCacheParameterGroupCommandOutput | ModifyCacheSubnetGroupCommandOutput | ModifyGlobalReplicationGroupCommandOutput | ModifyReplicationGroupCommandOutput | ModifyReplicationGroupShardConfigurationCommandOutput | ModifyServerlessCacheCommandOutput | ModifyUserCommandOutput | ModifyUserGroupCommandOutput | PurchaseReservedCacheNodesOfferingCommandOutput | RebalanceSlotsInGlobalReplicationGroupCommandOutput | RebootCacheClusterCommandOutput | RemoveTagsFromResourceCommandOutput | ResetCacheParameterGroupCommandOutput | RevokeCacheSecurityGroupIngressCommandOutput | StartMigrationCommandOutput | TestFailoverCommandOutput | TestMigrationCommandOutput;
|
|
96
|
+
export type ServiceOutputTypes = AddTagsToResourceCommandOutput | AuthorizeCacheSecurityGroupIngressCommandOutput | BatchApplyUpdateActionCommandOutput | BatchStopUpdateActionCommandOutput | CompleteMigrationCommandOutput | CopyServerlessCacheSnapshotCommandOutput | CopySnapshotCommandOutput | CreateCacheClusterCommandOutput | CreateCacheParameterGroupCommandOutput | CreateCacheSecurityGroupCommandOutput | CreateCacheSubnetGroupCommandOutput | CreateGlobalReplicationGroupCommandOutput | CreateReplicationGroupCommandOutput | CreateServerlessCacheCommandOutput | CreateServerlessCacheSnapshotCommandOutput | CreateSnapshotCommandOutput | CreateUserCommandOutput | CreateUserGroupCommandOutput | DecreaseNodeGroupsInGlobalReplicationGroupCommandOutput | DecreaseReplicaCountCommandOutput | DeleteCacheClusterCommandOutput | DeleteCacheParameterGroupCommandOutput | DeleteCacheSecurityGroupCommandOutput | DeleteCacheSubnetGroupCommandOutput | DeleteGlobalReplicationGroupCommandOutput | DeleteReplicationGroupCommandOutput | DeleteServerlessCacheCommandOutput | DeleteServerlessCacheSnapshotCommandOutput | DeleteSnapshotCommandOutput | DeleteUserCommandOutput | DeleteUserGroupCommandOutput | DescribeCacheClustersCommandOutput | DescribeCacheEngineVersionsCommandOutput | DescribeCacheParameterGroupsCommandOutput | DescribeCacheParametersCommandOutput | DescribeCacheSecurityGroupsCommandOutput | DescribeCacheSubnetGroupsCommandOutput | DescribeEngineDefaultParametersCommandOutput | DescribeEventsCommandOutput | DescribeGlobalReplicationGroupsCommandOutput | DescribeReplicationGroupsCommandOutput | DescribeReservedCacheNodesCommandOutput | DescribeReservedCacheNodesOfferingsCommandOutput | DescribeServerlessCacheSnapshotsCommandOutput | DescribeServerlessCachesCommandOutput | DescribeServiceUpdatesCommandOutput | DescribeSnapshotsCommandOutput | DescribeUpdateActionsCommandOutput | DescribeUserGroupsCommandOutput | DescribeUsersCommandOutput | DisassociateGlobalReplicationGroupCommandOutput | ExportServerlessCacheSnapshotCommandOutput | FailoverGlobalReplicationGroupCommandOutput | IncreaseNodeGroupsInGlobalReplicationGroupCommandOutput | IncreaseReplicaCountCommandOutput | ListAllowedNodeTypeModificationsCommandOutput | ListTagsForResourceCommandOutput | ModifyCacheClusterCommandOutput | ModifyCacheParameterGroupCommandOutput | ModifyCacheSubnetGroupCommandOutput | ModifyGlobalReplicationGroupCommandOutput | ModifyReplicationGroupCommandOutput | ModifyReplicationGroupShardConfigurationCommandOutput | ModifyServerlessCacheCommandOutput | ModifyUserCommandOutput | ModifyUserGroupCommandOutput | PrepareMigrationCommandOutput | PurchaseReservedCacheNodesOfferingCommandOutput | RebalanceSlotsInGlobalReplicationGroupCommandOutput | RebootCacheClusterCommandOutput | RemoveTagsFromResourceCommandOutput | ResetCacheParameterGroupCommandOutput | RevokeCacheSecurityGroupIngressCommandOutput | StartMigrationCommandOutput | StopMigrationCommandOutput | TestFailoverCommandOutput | TestMigrationCommandOutput;
|
|
95
97
|
/**
|
|
96
98
|
* @public
|
|
97
99
|
*/
|
|
@@ -20,11 +20,11 @@ export interface CompleteMigrationCommandOutput extends CompleteMigrationRespons
|
|
|
20
20
|
}
|
|
21
21
|
declare const CompleteMigrationCommand_base: {
|
|
22
22
|
new (input: CompleteMigrationCommandInput): import("@smithy/core/client").CommandImpl<CompleteMigrationCommandInput, CompleteMigrationCommandOutput, import("..").ElastiCacheClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
-
new (input: CompleteMigrationCommandInput): import("@smithy/core/client").CommandImpl<CompleteMigrationCommandInput, CompleteMigrationCommandOutput, import("..").ElastiCacheClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [CompleteMigrationCommandInput]): import("@smithy/core/client").CommandImpl<CompleteMigrationCommandInput, CompleteMigrationCommandOutput, import("..").ElastiCacheClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>
|
|
27
|
+
* <p>Completes the migration of data.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -34,7 +34,8 @@ declare const CompleteMigrationCommand_base: {
|
|
|
34
34
|
* const config = {}; // type is ElastiCacheClientConfig
|
|
35
35
|
* const client = new ElastiCacheClient(config);
|
|
36
36
|
* const input = { // CompleteMigrationMessage
|
|
37
|
-
* ReplicationGroupId: "STRING_VALUE",
|
|
37
|
+
* ReplicationGroupId: "STRING_VALUE",
|
|
38
|
+
* ServerlessCacheName: "STRING_VALUE",
|
|
38
39
|
* Force: true || false,
|
|
39
40
|
* };
|
|
40
41
|
* const command = new CompleteMigrationCommand(input);
|
|
@@ -164,6 +165,47 @@ declare const CompleteMigrationCommand_base: {
|
|
|
164
165
|
* // Durability: "default" || "async" || "sync" || "disabled",
|
|
165
166
|
* // EffectiveDurability: "async" || "sync" || "disabled",
|
|
166
167
|
* // },
|
|
168
|
+
* // ServerlessCache: { // ServerlessCache
|
|
169
|
+
* // ServerlessCacheName: "STRING_VALUE",
|
|
170
|
+
* // Description: "STRING_VALUE",
|
|
171
|
+
* // CreateTime: new Date("TIMESTAMP"),
|
|
172
|
+
* // Status: "STRING_VALUE",
|
|
173
|
+
* // Engine: "STRING_VALUE",
|
|
174
|
+
* // MajorEngineVersion: "STRING_VALUE",
|
|
175
|
+
* // FullEngineVersion: "STRING_VALUE",
|
|
176
|
+
* // CacheUsageLimits: { // CacheUsageLimits
|
|
177
|
+
* // DataStorage: { // DataStorage
|
|
178
|
+
* // Maximum: Number("int"),
|
|
179
|
+
* // Minimum: Number("int"),
|
|
180
|
+
* // Unit: "GB", // required
|
|
181
|
+
* // },
|
|
182
|
+
* // ECPUPerSecond: { // ECPUPerSecond
|
|
183
|
+
* // Maximum: Number("int"),
|
|
184
|
+
* // Minimum: Number("int"),
|
|
185
|
+
* // },
|
|
186
|
+
* // },
|
|
187
|
+
* // KmsKeyId: "STRING_VALUE",
|
|
188
|
+
* // StorageEncryptionType: "none" || "sse-elasticache" || "sse-kms",
|
|
189
|
+
* // SecurityGroupIds: [ // SecurityGroupIdsList
|
|
190
|
+
* // "STRING_VALUE",
|
|
191
|
+
* // ],
|
|
192
|
+
* // Endpoint: "<Endpoint>",
|
|
193
|
+
* // ReaderEndpoint: "<Endpoint>",
|
|
194
|
+
* // ARN: "STRING_VALUE",
|
|
195
|
+
* // UserGroupId: "STRING_VALUE",
|
|
196
|
+
* // SubnetIds: [ // SubnetIdsList
|
|
197
|
+
* // "STRING_VALUE",
|
|
198
|
+
* // ],
|
|
199
|
+
* // SnapshotRetentionLimit: Number("int"),
|
|
200
|
+
* // DailySnapshotTime: "STRING_VALUE",
|
|
201
|
+
* // NetworkType: "ipv4" || "ipv6" || "dual_stack",
|
|
202
|
+
* // ConnectionType: "vpc" || "public",
|
|
203
|
+
* // Migration: { // MigrationSummary
|
|
204
|
+
* // Status: "STRING_VALUE",
|
|
205
|
+
* // MigrationEndpoint: "<Endpoint>",
|
|
206
|
+
* // CutoverMode: "STRING_VALUE",
|
|
207
|
+
* // },
|
|
208
|
+
* // },
|
|
167
209
|
* // };
|
|
168
210
|
*
|
|
169
211
|
* ```
|
|
@@ -174,15 +216,37 @@ declare const CompleteMigrationCommand_base: {
|
|
|
174
216
|
* @see {@link CompleteMigrationCommandOutput} for command's `response` shape.
|
|
175
217
|
* @see {@link ElastiCacheClientResolvedConfig | config} for ElastiCacheClient's `config` shape.
|
|
176
218
|
*
|
|
219
|
+
* @throws {@link InvalidCacheClusterStateFault} (client fault)
|
|
220
|
+
* <p>The requested cluster is not in the <code>available</code> state.</p>
|
|
221
|
+
*
|
|
222
|
+
* @throws {@link InvalidParameterCombinationException} (client fault)
|
|
223
|
+
* <p>Two or more incompatible parameters were specified.</p>
|
|
224
|
+
*
|
|
225
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
226
|
+
* <p>The value for a parameter is invalid.</p>
|
|
227
|
+
*
|
|
177
228
|
* @throws {@link InvalidReplicationGroupStateFault} (client fault)
|
|
178
229
|
* <p>The requested replication group is not in the <code>available</code> state.</p>
|
|
179
230
|
*
|
|
231
|
+
* @throws {@link InvalidServerlessCacheStateFault} (client fault)
|
|
232
|
+
* <p>The account for these credentials is not currently active.</p>
|
|
233
|
+
*
|
|
234
|
+
* @throws {@link MigrationHealthFault} (client fault)
|
|
235
|
+
* <p>The migration is not healthy. Check the events for this serverless cache for more details. For
|
|
236
|
+
* <code>CompleteMigration</code>, set <code>Force</code> to true to bypass this check.</p>
|
|
237
|
+
*
|
|
180
238
|
* @throws {@link ReplicationGroupNotFoundFault} (client fault)
|
|
181
239
|
* <p>The specified replication group does not exist.</p>
|
|
182
240
|
*
|
|
183
241
|
* @throws {@link ReplicationGroupNotUnderMigrationFault} (client fault)
|
|
184
242
|
* <p>The designated replication group is not available for data migration.</p>
|
|
185
243
|
*
|
|
244
|
+
* @throws {@link ServerlessCacheNotFoundFault} (client fault)
|
|
245
|
+
* <p>The serverless cache was not found or does not exist.</p>
|
|
246
|
+
*
|
|
247
|
+
* @throws {@link ServerlessCacheNotUnderMigrationFault} (client fault)
|
|
248
|
+
* <p>The serverless cache is not currently under migration.</p>
|
|
249
|
+
*
|
|
186
250
|
* @throws {@link ElastiCacheServiceException}
|
|
187
251
|
* <p>Base exception class for all service exceptions from ElastiCache service.</p>
|
|
188
252
|
*
|
|
@@ -115,6 +115,14 @@ declare const CreateServerlessCacheCommand_base: {
|
|
|
115
115
|
* // DailySnapshotTime: "STRING_VALUE",
|
|
116
116
|
* // NetworkType: "ipv4" || "ipv6" || "dual_stack",
|
|
117
117
|
* // ConnectionType: "vpc" || "public",
|
|
118
|
+
* // Migration: { // MigrationSummary
|
|
119
|
+
* // Status: "STRING_VALUE",
|
|
120
|
+
* // MigrationEndpoint: {
|
|
121
|
+
* // Address: "STRING_VALUE",
|
|
122
|
+
* // Port: Number("int"),
|
|
123
|
+
* // },
|
|
124
|
+
* // CutoverMode: "STRING_VALUE",
|
|
125
|
+
* // },
|
|
118
126
|
* // },
|
|
119
127
|
* // };
|
|
120
128
|
*
|
|
@@ -86,6 +86,14 @@ declare const DeleteServerlessCacheCommand_base: {
|
|
|
86
86
|
* // DailySnapshotTime: "STRING_VALUE",
|
|
87
87
|
* // NetworkType: "ipv4" || "ipv6" || "dual_stack",
|
|
88
88
|
* // ConnectionType: "vpc" || "public",
|
|
89
|
+
* // Migration: { // MigrationSummary
|
|
90
|
+
* // Status: "STRING_VALUE",
|
|
91
|
+
* // MigrationEndpoint: {
|
|
92
|
+
* // Address: "STRING_VALUE",
|
|
93
|
+
* // Port: Number("int"),
|
|
94
|
+
* // },
|
|
95
|
+
* // CutoverMode: "STRING_VALUE",
|
|
96
|
+
* // },
|
|
89
97
|
* // },
|
|
90
98
|
* // };
|
|
91
99
|
*
|
|
@@ -86,6 +86,14 @@ declare const DescribeServerlessCachesCommand_base: {
|
|
|
86
86
|
* // DailySnapshotTime: "STRING_VALUE",
|
|
87
87
|
* // NetworkType: "ipv4" || "ipv6" || "dual_stack",
|
|
88
88
|
* // ConnectionType: "vpc" || "public",
|
|
89
|
+
* // Migration: { // MigrationSummary
|
|
90
|
+
* // Status: "STRING_VALUE",
|
|
91
|
+
* // MigrationEndpoint: {
|
|
92
|
+
* // Address: "STRING_VALUE",
|
|
93
|
+
* // Port: Number("int"),
|
|
94
|
+
* // },
|
|
95
|
+
* // CutoverMode: "STRING_VALUE",
|
|
96
|
+
* // },
|
|
89
97
|
* // },
|
|
90
98
|
* // ],
|
|
91
99
|
* // };
|