@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
@@ -261,6 +261,10 @@ import {
261
261
  ModifyUserGroupCommandInput,
262
262
  ModifyUserGroupCommandOutput,
263
263
  } from "./commands/ModifyUserGroupCommand";
264
+ import {
265
+ PrepareMigrationCommandInput,
266
+ PrepareMigrationCommandOutput,
267
+ } from "./commands/PrepareMigrationCommand";
264
268
  import {
265
269
  PurchaseReservedCacheNodesOfferingCommandInput,
266
270
  PurchaseReservedCacheNodesOfferingCommandOutput,
@@ -289,6 +293,10 @@ import {
289
293
  StartMigrationCommandInput,
290
294
  StartMigrationCommandOutput,
291
295
  } from "./commands/StartMigrationCommand";
296
+ import {
297
+ StopMigrationCommandInput,
298
+ StopMigrationCommandOutput,
299
+ } from "./commands/StopMigrationCommand";
292
300
  import {
293
301
  TestFailoverCommandInput,
294
302
  TestFailoverCommandOutput,
@@ -355,6 +363,7 @@ export interface ElastiCache {
355
363
  options: ElastiCacheRequestOptions,
356
364
  cb: (err: any, data?: BatchStopUpdateActionCommandOutput) => void,
357
365
  ): void;
366
+ completeMigration(): Promise<CompleteMigrationCommandOutput>;
358
367
  completeMigration(
359
368
  args: CompleteMigrationCommandInput,
360
369
  options?: ElastiCacheRequestOptions,
@@ -1179,6 +1188,19 @@ export interface ElastiCache {
1179
1188
  options: ElastiCacheRequestOptions,
1180
1189
  cb: (err: any, data?: ModifyUserGroupCommandOutput) => void,
1181
1190
  ): void;
1191
+ prepareMigration(
1192
+ args: PrepareMigrationCommandInput,
1193
+ options?: ElastiCacheRequestOptions,
1194
+ ): Promise<PrepareMigrationCommandOutput>;
1195
+ prepareMigration(
1196
+ args: PrepareMigrationCommandInput,
1197
+ cb: (err: any, data?: PrepareMigrationCommandOutput) => void,
1198
+ ): void;
1199
+ prepareMigration(
1200
+ args: PrepareMigrationCommandInput,
1201
+ options: ElastiCacheRequestOptions,
1202
+ cb: (err: any, data?: PrepareMigrationCommandOutput) => void,
1203
+ ): void;
1182
1204
  purchaseReservedCacheNodesOffering(
1183
1205
  args: PurchaseReservedCacheNodesOfferingCommandInput,
1184
1206
  options?: ElastiCacheRequestOptions,
@@ -1257,6 +1279,7 @@ export interface ElastiCache {
1257
1279
  options: ElastiCacheRequestOptions,
1258
1280
  cb: (err: any, data?: RevokeCacheSecurityGroupIngressCommandOutput) => void,
1259
1281
  ): void;
1282
+ startMigration(): Promise<StartMigrationCommandOutput>;
1260
1283
  startMigration(
1261
1284
  args: StartMigrationCommandInput,
1262
1285
  options?: ElastiCacheRequestOptions,
@@ -1270,6 +1293,19 @@ export interface ElastiCache {
1270
1293
  options: ElastiCacheRequestOptions,
1271
1294
  cb: (err: any, data?: StartMigrationCommandOutput) => void,
1272
1295
  ): void;
1296
+ stopMigration(
1297
+ args: StopMigrationCommandInput,
1298
+ options?: ElastiCacheRequestOptions,
1299
+ ): Promise<StopMigrationCommandOutput>;
1300
+ stopMigration(
1301
+ args: StopMigrationCommandInput,
1302
+ cb: (err: any, data?: StopMigrationCommandOutput) => void,
1303
+ ): void;
1304
+ stopMigration(
1305
+ args: StopMigrationCommandInput,
1306
+ options: ElastiCacheRequestOptions,
1307
+ cb: (err: any, data?: StopMigrationCommandOutput) => void,
1308
+ ): void;
1273
1309
  testFailover(
1274
1310
  args: TestFailoverCommandInput,
1275
1311
  options?: ElastiCacheRequestOptions,
@@ -288,6 +288,10 @@ import {
288
288
  ModifyUserGroupCommandInput,
289
289
  ModifyUserGroupCommandOutput,
290
290
  } from "./commands/ModifyUserGroupCommand";
291
+ import {
292
+ PrepareMigrationCommandInput,
293
+ PrepareMigrationCommandOutput,
294
+ } from "./commands/PrepareMigrationCommand";
291
295
  import {
292
296
  PurchaseReservedCacheNodesOfferingCommandInput,
293
297
  PurchaseReservedCacheNodesOfferingCommandOutput,
@@ -316,6 +320,10 @@ import {
316
320
  StartMigrationCommandInput,
317
321
  StartMigrationCommandOutput,
318
322
  } from "./commands/StartMigrationCommand";
323
+ import {
324
+ StopMigrationCommandInput,
325
+ StopMigrationCommandOutput,
326
+ } from "./commands/StopMigrationCommand";
319
327
  import {
320
328
  TestFailoverCommandInput,
321
329
  TestFailoverCommandOutput,
@@ -398,6 +406,7 @@ export type ServiceInputTypes =
398
406
  | ModifyServerlessCacheCommandInput
399
407
  | ModifyUserCommandInput
400
408
  | ModifyUserGroupCommandInput
409
+ | PrepareMigrationCommandInput
401
410
  | PurchaseReservedCacheNodesOfferingCommandInput
402
411
  | RebalanceSlotsInGlobalReplicationGroupCommandInput
403
412
  | RebootCacheClusterCommandInput
@@ -405,6 +414,7 @@ export type ServiceInputTypes =
405
414
  | ResetCacheParameterGroupCommandInput
406
415
  | RevokeCacheSecurityGroupIngressCommandInput
407
416
  | StartMigrationCommandInput
417
+ | StopMigrationCommandInput
408
418
  | TestFailoverCommandInput
409
419
  | TestMigrationCommandInput;
410
420
  export type ServiceOutputTypes =
@@ -474,6 +484,7 @@ export type ServiceOutputTypes =
474
484
  | ModifyServerlessCacheCommandOutput
475
485
  | ModifyUserCommandOutput
476
486
  | ModifyUserGroupCommandOutput
487
+ | PrepareMigrationCommandOutput
477
488
  | PurchaseReservedCacheNodesOfferingCommandOutput
478
489
  | RebalanceSlotsInGlobalReplicationGroupCommandOutput
479
490
  | RebootCacheClusterCommandOutput
@@ -481,6 +492,7 @@ export type ServiceOutputTypes =
481
492
  | ResetCacheParameterGroupCommandOutput
482
493
  | RevokeCacheSecurityGroupIngressCommandOutput
483
494
  | StartMigrationCommandOutput
495
+ | StopMigrationCommandOutput
484
496
  | TestFailoverCommandOutput
485
497
  | TestMigrationCommandOutput;
486
498
  export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
@@ -15,7 +15,7 @@ declare const CompleteMigrationCommand_base: {
15
15
  import("..").ServiceOutputTypes
16
16
  >;
17
17
  new (
18
- input: CompleteMigrationCommandInput,
18
+ ...[input]: [] | [CompleteMigrationCommandInput]
19
19
  ): import("@smithy/core/client").CommandImpl<
20
20
  CompleteMigrationCommandInput,
21
21
  CompleteMigrationCommandOutput,
@@ -0,0 +1,38 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { PrepareMigrationRequest, PrepareMigrationResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface PrepareMigrationCommandInput extends PrepareMigrationRequest {}
5
+ export interface PrepareMigrationCommandOutput extends PrepareMigrationResponse, __MetadataBearer {}
6
+ declare const PrepareMigrationCommand_base: {
7
+ new (
8
+ input: PrepareMigrationCommandInput,
9
+ ): import("@smithy/core/client").CommandImpl<
10
+ PrepareMigrationCommandInput,
11
+ PrepareMigrationCommandOutput,
12
+ import("..").ElastiCacheClientResolvedConfig,
13
+ import("..").ServiceInputTypes,
14
+ import("..").ServiceOutputTypes
15
+ >;
16
+ new (
17
+ input: PrepareMigrationCommandInput,
18
+ ): import("@smithy/core/client").CommandImpl<
19
+ PrepareMigrationCommandInput,
20
+ PrepareMigrationCommandOutput,
21
+ import("..").ElastiCacheClientResolvedConfig,
22
+ import("..").ServiceInputTypes,
23
+ import("..").ServiceOutputTypes
24
+ >;
25
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
26
+ };
27
+ export declare class PrepareMigrationCommand extends PrepareMigrationCommand_base {
28
+ protected static __types: {
29
+ api: {
30
+ input: PrepareMigrationRequest;
31
+ output: PrepareMigrationResponse;
32
+ };
33
+ sdk: {
34
+ input: PrepareMigrationCommandInput;
35
+ output: PrepareMigrationCommandOutput;
36
+ };
37
+ };
38
+ }
@@ -14,7 +14,7 @@ declare const StartMigrationCommand_base: {
14
14
  import("..").ServiceOutputTypes
15
15
  >;
16
16
  new (
17
- input: StartMigrationCommandInput,
17
+ ...[input]: [] | [StartMigrationCommandInput]
18
18
  ): import("@smithy/core/client").CommandImpl<
19
19
  StartMigrationCommandInput,
20
20
  StartMigrationCommandOutput,
@@ -0,0 +1,38 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { StopMigrationRequest, StopMigrationResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface StopMigrationCommandInput extends StopMigrationRequest {}
5
+ export interface StopMigrationCommandOutput extends StopMigrationResponse, __MetadataBearer {}
6
+ declare const StopMigrationCommand_base: {
7
+ new (
8
+ input: StopMigrationCommandInput,
9
+ ): import("@smithy/core/client").CommandImpl<
10
+ StopMigrationCommandInput,
11
+ StopMigrationCommandOutput,
12
+ import("..").ElastiCacheClientResolvedConfig,
13
+ import("..").ServiceInputTypes,
14
+ import("..").ServiceOutputTypes
15
+ >;
16
+ new (
17
+ input: StopMigrationCommandInput,
18
+ ): import("@smithy/core/client").CommandImpl<
19
+ StopMigrationCommandInput,
20
+ StopMigrationCommandOutput,
21
+ import("..").ElastiCacheClientResolvedConfig,
22
+ import("..").ServiceInputTypes,
23
+ import("..").ServiceOutputTypes
24
+ >;
25
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
26
+ };
27
+ export declare class StopMigrationCommand extends StopMigrationCommand_base {
28
+ protected static __types: {
29
+ api: {
30
+ input: StopMigrationRequest;
31
+ output: StopMigrationResponse;
32
+ };
33
+ sdk: {
34
+ input: StopMigrationCommandInput;
35
+ output: StopMigrationCommandOutput;
36
+ };
37
+ };
38
+ }
@@ -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";
@@ -107,6 +107,15 @@ export declare const StorageEncryptionType: {
107
107
  };
108
108
  export type StorageEncryptionType =
109
109
  (typeof StorageEncryptionType)[keyof typeof StorageEncryptionType];
110
+ export declare const DataStorageUnit: {
111
+ readonly GB: "GB";
112
+ };
113
+ export type DataStorageUnit = (typeof DataStorageUnit)[keyof typeof DataStorageUnit];
114
+ export declare const ConnectionType: {
115
+ readonly PUBLIC: "public";
116
+ readonly VPC: "vpc";
117
+ };
118
+ export type ConnectionType = (typeof ConnectionType)[keyof typeof ConnectionType];
110
119
  export declare const AZMode: {
111
120
  readonly CROSS_AZ: "cross-az";
112
121
  readonly SINGLE_AZ: "single-az";
@@ -117,15 +126,6 @@ export declare const OutpostMode: {
117
126
  readonly SINGLE_OUTPOST: "single-outpost";
118
127
  };
119
128
  export type OutpostMode = (typeof OutpostMode)[keyof typeof OutpostMode];
120
- export declare const DataStorageUnit: {
121
- readonly GB: "GB";
122
- };
123
- export type DataStorageUnit = (typeof DataStorageUnit)[keyof typeof DataStorageUnit];
124
- export declare const ConnectionType: {
125
- readonly PUBLIC: "public";
126
- readonly VPC: "vpc";
127
- };
128
- export type ConnectionType = (typeof ConnectionType)[keyof typeof ConnectionType];
129
129
  export declare const InputAuthenticationType: {
130
130
  readonly IAM: "iam";
131
131
  readonly NO_PASSWORD: "no-password-required";
@@ -202,3 +202,8 @@ export declare const AuthTokenUpdateStrategyType: {
202
202
  };
203
203
  export type AuthTokenUpdateStrategyType =
204
204
  (typeof AuthTokenUpdateStrategyType)[keyof typeof AuthTokenUpdateStrategyType];
205
+ export declare const TlsMode: {
206
+ readonly none: "none";
207
+ readonly verify_ca: "verify-ca";
208
+ };
209
+ export type TlsMode = (typeof TlsMode)[keyof typeof TlsMode];
@@ -134,12 +134,30 @@ export declare class ServiceUpdateNotFoundFault extends __BaseException {
134
134
  readonly $fault: "client";
135
135
  constructor(opts: __ExceptionOptionType<ServiceUpdateNotFoundFault, __BaseException>);
136
136
  }
137
+ export declare class InvalidCacheClusterStateFault extends __BaseException {
138
+ static readonly shapeId: string;
139
+ readonly name: "InvalidCacheClusterStateFault";
140
+ readonly $fault: "client";
141
+ constructor(opts: __ExceptionOptionType<InvalidCacheClusterStateFault, __BaseException>);
142
+ }
143
+ export declare class MigrationHealthFault extends __BaseException {
144
+ static readonly shapeId: string;
145
+ readonly name: "MigrationHealthFault";
146
+ readonly $fault: "client";
147
+ constructor(opts: __ExceptionOptionType<MigrationHealthFault, __BaseException>);
148
+ }
137
149
  export declare class ReplicationGroupNotUnderMigrationFault extends __BaseException {
138
150
  static readonly shapeId: string;
139
151
  readonly name: "ReplicationGroupNotUnderMigrationFault";
140
152
  readonly $fault: "client";
141
153
  constructor(opts: __ExceptionOptionType<ReplicationGroupNotUnderMigrationFault, __BaseException>);
142
154
  }
155
+ export declare class ServerlessCacheNotUnderMigrationFault extends __BaseException {
156
+ static readonly shapeId: string;
157
+ readonly name: "ServerlessCacheNotUnderMigrationFault";
158
+ readonly $fault: "client";
159
+ constructor(opts: __ExceptionOptionType<ServerlessCacheNotUnderMigrationFault, __BaseException>);
160
+ }
143
161
  export declare class ServerlessCacheSnapshotAlreadyExistsFault extends __BaseException {
144
162
  static readonly shapeId: string;
145
163
  readonly name: "ServerlessCacheSnapshotAlreadyExistsFault";
@@ -284,12 +302,6 @@ export declare class GlobalReplicationGroupAlreadyExistsFault extends __BaseExce
284
302
  opts: __ExceptionOptionType<GlobalReplicationGroupAlreadyExistsFault, __BaseException>,
285
303
  );
286
304
  }
287
- export declare class InvalidCacheClusterStateFault extends __BaseException {
288
- static readonly shapeId: string;
289
- readonly name: "InvalidCacheClusterStateFault";
290
- readonly $fault: "client";
291
- constructor(opts: __ExceptionOptionType<InvalidCacheClusterStateFault, __BaseException>);
292
- }
293
305
  export declare class InvalidGlobalReplicationGroupStateFault extends __BaseException {
294
306
  static readonly shapeId: string;
295
307
  readonly name: "InvalidGlobalReplicationGroupStateFault";
@@ -424,6 +436,14 @@ export declare class SubnetInUse extends __BaseException {
424
436
  readonly $fault: "client";
425
437
  constructor(opts: __ExceptionOptionType<SubnetInUse, __BaseException>);
426
438
  }
439
+ export declare class ServerlessCacheAlreadyUnderMigrationFault extends __BaseException {
440
+ static readonly shapeId: string;
441
+ readonly name: "ServerlessCacheAlreadyUnderMigrationFault";
442
+ readonly $fault: "client";
443
+ constructor(
444
+ opts: __ExceptionOptionType<ServerlessCacheAlreadyUnderMigrationFault, __BaseException>,
445
+ );
446
+ }
427
447
  export declare class ReservedCacheNodeAlreadyExistsFault extends __BaseException {
428
448
  static readonly shapeId: string;
429
449
  readonly name: "ReservedCacheNodeAlreadyExistsFault";
@@ -29,6 +29,7 @@ import {
29
29
  SlaMet,
30
30
  SourceType,
31
31
  StorageEncryptionType,
32
+ TlsMode,
32
33
  TransitEncryptionMode,
33
34
  UpdateActionStatus,
34
35
  } from "./enums";
@@ -95,7 +96,8 @@ export interface BatchStopUpdateActionMessage {
95
96
  ServiceUpdateName: string | undefined;
96
97
  }
97
98
  export interface CompleteMigrationMessage {
98
- ReplicationGroupId: string | undefined;
99
+ ReplicationGroupId?: string | undefined;
100
+ ServerlessCacheName?: string | undefined;
99
101
  Force?: boolean | undefined;
100
102
  }
101
103
  export interface Endpoint {
@@ -204,8 +206,50 @@ export interface ReplicationGroup {
204
206
  Durability?: Durability | undefined;
205
207
  EffectiveDurability?: EffectiveDurability | undefined;
206
208
  }
209
+ export interface DataStorage {
210
+ Maximum?: number | undefined;
211
+ Minimum?: number | undefined;
212
+ Unit: DataStorageUnit | undefined;
213
+ }
214
+ export interface ECPUPerSecond {
215
+ Maximum?: number | undefined;
216
+ Minimum?: number | undefined;
217
+ }
218
+ export interface CacheUsageLimits {
219
+ DataStorage?: DataStorage | undefined;
220
+ ECPUPerSecond?: ECPUPerSecond | undefined;
221
+ }
222
+ export interface MigrationSummary {
223
+ Status?: string | undefined;
224
+ MigrationEndpoint?: Endpoint | undefined;
225
+ CutoverMode?: string | undefined;
226
+ }
227
+ export interface ServerlessCache {
228
+ ServerlessCacheName?: string | undefined;
229
+ Description?: string | undefined;
230
+ CreateTime?: Date | undefined;
231
+ Status?: string | undefined;
232
+ Engine?: string | undefined;
233
+ MajorEngineVersion?: string | undefined;
234
+ FullEngineVersion?: string | undefined;
235
+ CacheUsageLimits?: CacheUsageLimits | undefined;
236
+ KmsKeyId?: string | undefined;
237
+ StorageEncryptionType?: StorageEncryptionType | undefined;
238
+ SecurityGroupIds?: string[] | undefined;
239
+ Endpoint?: Endpoint | undefined;
240
+ ReaderEndpoint?: Endpoint | undefined;
241
+ ARN?: string | undefined;
242
+ UserGroupId?: string | undefined;
243
+ SubnetIds?: string[] | undefined;
244
+ SnapshotRetentionLimit?: number | undefined;
245
+ DailySnapshotTime?: string | undefined;
246
+ NetworkType?: NetworkType | undefined;
247
+ ConnectionType?: ConnectionType | undefined;
248
+ Migration?: MigrationSummary | undefined;
249
+ }
207
250
  export interface CompleteMigrationResponse {
208
251
  ReplicationGroup?: ReplicationGroup | undefined;
252
+ ServerlessCache?: ServerlessCache | undefined;
209
253
  }
210
254
  export interface CopyServerlessCacheSnapshotRequest {
211
255
  SourceServerlessCacheSnapshotName: string | undefined;
@@ -543,19 +587,6 @@ export interface CreateReplicationGroupMessage {
543
587
  export interface CreateReplicationGroupResult {
544
588
  ReplicationGroup?: ReplicationGroup | undefined;
545
589
  }
546
- export interface DataStorage {
547
- Maximum?: number | undefined;
548
- Minimum?: number | undefined;
549
- Unit: DataStorageUnit | undefined;
550
- }
551
- export interface ECPUPerSecond {
552
- Maximum?: number | undefined;
553
- Minimum?: number | undefined;
554
- }
555
- export interface CacheUsageLimits {
556
- DataStorage?: DataStorage | undefined;
557
- ECPUPerSecond?: ECPUPerSecond | undefined;
558
- }
559
590
  export interface CreateServerlessCacheRequest {
560
591
  ServerlessCacheName: string | undefined;
561
592
  Description?: string | undefined;
@@ -573,28 +604,6 @@ export interface CreateServerlessCacheRequest {
573
604
  NetworkType?: NetworkType | undefined;
574
605
  ConnectionType?: ConnectionType | undefined;
575
606
  }
576
- export interface ServerlessCache {
577
- ServerlessCacheName?: string | undefined;
578
- Description?: string | undefined;
579
- CreateTime?: Date | undefined;
580
- Status?: string | undefined;
581
- Engine?: string | undefined;
582
- MajorEngineVersion?: string | undefined;
583
- FullEngineVersion?: string | undefined;
584
- CacheUsageLimits?: CacheUsageLimits | undefined;
585
- KmsKeyId?: string | undefined;
586
- StorageEncryptionType?: StorageEncryptionType | undefined;
587
- SecurityGroupIds?: string[] | undefined;
588
- Endpoint?: Endpoint | undefined;
589
- ReaderEndpoint?: Endpoint | undefined;
590
- ARN?: string | undefined;
591
- UserGroupId?: string | undefined;
592
- SubnetIds?: string[] | undefined;
593
- SnapshotRetentionLimit?: number | undefined;
594
- DailySnapshotTime?: string | undefined;
595
- NetworkType?: NetworkType | undefined;
596
- ConnectionType?: ConnectionType | undefined;
597
- }
598
607
  export interface CreateServerlessCacheResponse {
599
608
  ServerlessCache?: ServerlessCache | undefined;
600
609
  }
@@ -1290,6 +1299,29 @@ export interface ModifyUserGroupMessage {
1290
1299
  UserIdsToRemove?: string[] | undefined;
1291
1300
  Engine?: string | undefined;
1292
1301
  }
1302
+ export interface CustomerNodeEndpoint {
1303
+ Address?: string | undefined;
1304
+ Port?: number | undefined;
1305
+ }
1306
+ export interface SecretManagerAuthConfig {
1307
+ SecretArn?: string | undefined;
1308
+ }
1309
+ export interface SourceAuthenticationConfiguration {
1310
+ SecretManagerConfig?: SecretManagerAuthConfig | undefined;
1311
+ }
1312
+ export interface SourceTlsConfiguration {
1313
+ SourceTlsMode?: TlsMode | undefined;
1314
+ SourceTlsCertificate?: string | undefined;
1315
+ }
1316
+ export interface PrepareMigrationRequest {
1317
+ ServerlessCacheName: string | undefined;
1318
+ CustomerNodeEndpointList: CustomerNodeEndpoint[] | undefined;
1319
+ SourceAuthenticationConfiguration?: SourceAuthenticationConfiguration | undefined;
1320
+ SourceTlsConfiguration?: SourceTlsConfiguration | undefined;
1321
+ }
1322
+ export interface PrepareMigrationResponse {
1323
+ ServerlessCache?: ServerlessCache | undefined;
1324
+ }
1293
1325
  export interface PurchaseReservedCacheNodesOfferingMessage {
1294
1326
  ReservedCacheNodesOfferingId: string | undefined;
1295
1327
  ReservedCacheNodeId?: string | undefined;
@@ -1330,16 +1362,22 @@ export interface RevokeCacheSecurityGroupIngressMessage {
1330
1362
  export interface RevokeCacheSecurityGroupIngressResult {
1331
1363
  CacheSecurityGroup?: CacheSecurityGroup | undefined;
1332
1364
  }
1333
- export interface CustomerNodeEndpoint {
1334
- Address?: string | undefined;
1335
- Port?: number | undefined;
1336
- }
1337
1365
  export interface StartMigrationMessage {
1338
- ReplicationGroupId: string | undefined;
1339
- CustomerNodeEndpointList: CustomerNodeEndpoint[] | undefined;
1366
+ ServerlessCacheName?: string | undefined;
1367
+ ReplicationGroupId?: string | undefined;
1368
+ CustomerNodeEndpointList?: CustomerNodeEndpoint[] | undefined;
1369
+ AutoCutover?: boolean | undefined;
1370
+ ClearTargetCacheData?: boolean | undefined;
1340
1371
  }
1341
1372
  export interface StartMigrationResponse {
1342
1373
  ReplicationGroup?: ReplicationGroup | undefined;
1374
+ ServerlessCache?: ServerlessCache | undefined;
1375
+ }
1376
+ export interface StopMigrationRequest {
1377
+ ServerlessCacheName: string | undefined;
1378
+ }
1379
+ export interface StopMigrationResponse {
1380
+ ServerlessCache?: ServerlessCache | undefined;
1343
1381
  }
1344
1382
  export interface TestFailoverMessage {
1345
1383
  ReplicationGroupId: string | undefined;
@@ -41,6 +41,7 @@ export declare var InvalidSubnet$: StaticErrorSchema;
41
41
  export declare var InvalidUserGroupStateFault$: StaticErrorSchema;
42
42
  export declare var InvalidUserStateFault$: StaticErrorSchema;
43
43
  export declare var InvalidVPCNetworkStateFault$: StaticErrorSchema;
44
+ export declare var MigrationHealthFault$: StaticErrorSchema;
44
45
  export declare var NodeGroupNotFoundFault$: StaticErrorSchema;
45
46
  export declare var NodeGroupsPerReplicationGroupQuotaExceededFault$: StaticErrorSchema;
46
47
  export declare var NodeQuotaForClusterExceededFault$: StaticErrorSchema;
@@ -55,7 +56,9 @@ export declare var ReservedCacheNodeNotFoundFault$: StaticErrorSchema;
55
56
  export declare var ReservedCacheNodeQuotaExceededFault$: StaticErrorSchema;
56
57
  export declare var ReservedCacheNodesOfferingNotFoundFault$: StaticErrorSchema;
57
58
  export declare var ServerlessCacheAlreadyExistsFault$: StaticErrorSchema;
59
+ export declare var ServerlessCacheAlreadyUnderMigrationFault$: StaticErrorSchema;
58
60
  export declare var ServerlessCacheNotFoundFault$: StaticErrorSchema;
61
+ export declare var ServerlessCacheNotUnderMigrationFault$: StaticErrorSchema;
59
62
  export declare var ServerlessCacheQuotaForCustomerExceededFault$: StaticErrorSchema;
60
63
  export declare var ServerlessCacheSnapshotAlreadyExistsFault$: StaticErrorSchema;
61
64
  export declare var ServerlessCacheSnapshotNotFoundFault$: StaticErrorSchema;
@@ -210,6 +213,7 @@ export declare var ListAllowedNodeTypeModificationsMessage$: StaticStructureSche
210
213
  export declare var ListTagsForResourceMessage$: StaticStructureSchema;
211
214
  export declare var LogDeliveryConfiguration$: StaticStructureSchema;
212
215
  export declare var LogDeliveryConfigurationRequest$: StaticStructureSchema;
216
+ export declare var MigrationSummary$: StaticStructureSchema;
213
217
  export declare var ModifyCacheClusterMessage$: StaticStructureSchema;
214
218
  export declare var ModifyCacheClusterResult$: StaticStructureSchema;
215
219
  export declare var ModifyCacheParameterGroupMessage$: StaticStructureSchema;
@@ -236,6 +240,8 @@ export declare var Parameter$: StaticStructureSchema;
236
240
  export declare var ParameterNameValue$: StaticStructureSchema;
237
241
  export declare var PendingLogDeliveryConfiguration$: StaticStructureSchema;
238
242
  export declare var PendingModifiedValues$: StaticStructureSchema;
243
+ export declare var PrepareMigrationRequest$: StaticStructureSchema;
244
+ export declare var PrepareMigrationResponse$: StaticStructureSchema;
239
245
  export declare var ProcessedUpdateAction$: StaticStructureSchema;
240
246
  export declare var PurchaseReservedCacheNodesOfferingMessage$: StaticStructureSchema;
241
247
  export declare var PurchaseReservedCacheNodesOfferingResult$: StaticStructureSchema;
@@ -259,6 +265,7 @@ export declare var ReshardingStatus$: StaticStructureSchema;
259
265
  export declare var RevokeCacheSecurityGroupIngressMessage$: StaticStructureSchema;
260
266
  export declare var RevokeCacheSecurityGroupIngressResult$: StaticStructureSchema;
261
267
  export declare var ScaleConfig$: StaticStructureSchema;
268
+ export declare var SecretManagerAuthConfig$: StaticStructureSchema;
262
269
  export declare var SecurityGroupMembership$: StaticStructureSchema;
263
270
  export declare var ServerlessCache$: StaticStructureSchema;
264
271
  export declare var ServerlessCacheConfiguration$: StaticStructureSchema;
@@ -267,8 +274,12 @@ export declare var ServiceUpdate$: StaticStructureSchema;
267
274
  export declare var ServiceUpdatesMessage$: StaticStructureSchema;
268
275
  export declare var SlotMigration$: StaticStructureSchema;
269
276
  export declare var Snapshot$: StaticStructureSchema;
277
+ export declare var SourceAuthenticationConfiguration$: StaticStructureSchema;
278
+ export declare var SourceTlsConfiguration$: StaticStructureSchema;
270
279
  export declare var StartMigrationMessage$: StaticStructureSchema;
271
280
  export declare var StartMigrationResponse$: StaticStructureSchema;
281
+ export declare var StopMigrationRequest$: StaticStructureSchema;
282
+ export declare var StopMigrationResponse$: StaticStructureSchema;
272
283
  export declare var Subnet$: StaticStructureSchema;
273
284
  export declare var SubnetOutpost$: StaticStructureSchema;
274
285
  export declare var Tag$: StaticStructureSchema;
@@ -352,6 +363,7 @@ export declare var ModifyReplicationGroupShardConfiguration$: StaticOperationSch
352
363
  export declare var ModifyServerlessCache$: StaticOperationSchema;
353
364
  export declare var ModifyUser$: StaticOperationSchema;
354
365
  export declare var ModifyUserGroup$: StaticOperationSchema;
366
+ export declare var PrepareMigration$: StaticOperationSchema;
355
367
  export declare var PurchaseReservedCacheNodesOffering$: StaticOperationSchema;
356
368
  export declare var RebalanceSlotsInGlobalReplicationGroup$: StaticOperationSchema;
357
369
  export declare var RebootCacheCluster$: StaticOperationSchema;
@@ -359,5 +371,6 @@ export declare var RemoveTagsFromResource$: StaticOperationSchema;
359
371
  export declare var ResetCacheParameterGroup$: StaticOperationSchema;
360
372
  export declare var RevokeCacheSecurityGroupIngress$: StaticOperationSchema;
361
373
  export declare var StartMigration$: StaticOperationSchema;
374
+ export declare var StopMigration$: StaticOperationSchema;
362
375
  export declare var TestFailover$: StaticOperationSchema;
363
376
  export declare var TestMigration$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-elasticache",
3
- "version": "3.1152.0",
3
+ "version": "3.1154.0",
4
4
  "description": "AWS SDK for JavaScript Elasticache Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-elasticache",
6
6
  "license": "Apache-2.0",
@@ -48,10 +48,10 @@
48
48
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
49
49
  },
50
50
  "dependencies": {
51
- "@aws-sdk/core": "^3.978.3",
52
- "@aws-sdk/credential-provider-node": "^3.972.86",
51
+ "@aws-sdk/core": "^3.978.4",
52
+ "@aws-sdk/credential-provider-node": "^3.972.87",
53
53
  "@aws-sdk/types": "^3.974.6",
54
- "@smithy/core": "^3.35.2",
54
+ "@smithy/core": "^3.36.0",
55
55
  "@smithy/fetch-http-handler": "^5.8.0",
56
56
  "@smithy/node-http-handler": "^4.12.1",
57
57
  "@smithy/types": "^4.19.0",