@aws-sdk/client-elasticache 3.1037.0 → 3.1039.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/dist-cjs/index.js +2 -2
- package/dist-es/waiters/waitForCacheClusterDeleted.js +1 -1
- package/dist-es/waiters/waitForReplicationGroupDeleted.js +1 -1
- package/dist-types/ElastiCache.d.ts +5 -4
- package/dist-types/ts3.4/ElastiCache.d.ts +14 -4
- package/dist-types/ts3.4/waiters/waitForCacheClusterAvailable.d.ts +9 -3
- package/dist-types/ts3.4/waiters/waitForCacheClusterDeleted.d.ts +12 -3
- package/dist-types/ts3.4/waiters/waitForReplicationGroupAvailable.d.ts +11 -3
- package/dist-types/ts3.4/waiters/waitForReplicationGroupDeleted.d.ts +16 -3
- package/dist-types/waiters/waitForCacheClusterAvailable.d.ts +4 -3
- package/dist-types/waiters/waitForCacheClusterDeleted.d.ts +5 -3
- package/dist-types/waiters/waitForReplicationGroupAvailable.d.ts +4 -3
- package/dist-types/waiters/waitForReplicationGroupDeleted.d.ts +5 -3
- package/package.json +8 -8
package/dist-cjs/index.js
CHANGED
|
@@ -1265,7 +1265,7 @@ const checkState$2 = async (client, input) => {
|
|
|
1265
1265
|
}
|
|
1266
1266
|
catch (exception) {
|
|
1267
1267
|
reason = exception;
|
|
1268
|
-
if (exception.name
|
|
1268
|
+
if (exception.name === "CacheClusterNotFoundFault") {
|
|
1269
1269
|
return { state: utilWaiter.WaiterState.SUCCESS, reason };
|
|
1270
1270
|
}
|
|
1271
1271
|
}
|
|
@@ -1374,7 +1374,7 @@ const checkState = async (client, input) => {
|
|
|
1374
1374
|
}
|
|
1375
1375
|
catch (exception) {
|
|
1376
1376
|
reason = exception;
|
|
1377
|
-
if (exception.name
|
|
1377
|
+
if (exception.name === "ReplicationGroupNotFoundFault") {
|
|
1378
1378
|
return { state: utilWaiter.WaiterState.SUCCESS, reason };
|
|
1379
1379
|
}
|
|
1380
1380
|
}
|
|
@@ -115,7 +115,7 @@ const checkState = async (client, input) => {
|
|
|
115
115
|
}
|
|
116
116
|
catch (exception) {
|
|
117
117
|
reason = exception;
|
|
118
|
-
if (exception.name
|
|
118
|
+
if (exception.name === "CacheClusterNotFoundFault") {
|
|
119
119
|
return { state: WaiterState.SUCCESS, reason };
|
|
120
120
|
}
|
|
121
121
|
}
|
|
@@ -40,7 +40,7 @@ const checkState = async (client, input) => {
|
|
|
40
40
|
}
|
|
41
41
|
catch (exception) {
|
|
42
42
|
reason = exception;
|
|
43
|
-
if (exception.name
|
|
43
|
+
if (exception.name === "ReplicationGroupNotFoundFault") {
|
|
44
44
|
return { state: WaiterState.SUCCESS, reason };
|
|
45
45
|
}
|
|
46
46
|
}
|
|
@@ -76,6 +76,7 @@ import { type StartMigrationCommandInput, type StartMigrationCommandOutput } fro
|
|
|
76
76
|
import { type TestFailoverCommandInput, type TestFailoverCommandOutput } from "./commands/TestFailoverCommand";
|
|
77
77
|
import { type TestMigrationCommandInput, type TestMigrationCommandOutput } from "./commands/TestMigrationCommand";
|
|
78
78
|
import { ElastiCacheClient } from "./ElastiCacheClient";
|
|
79
|
+
import type { CacheClusterNotFoundFault, ReplicationGroupNotFoundFault } from "./models/errors";
|
|
79
80
|
export interface ElastiCache {
|
|
80
81
|
/**
|
|
81
82
|
* @see {@link AddTagsToResourceCommand}
|
|
@@ -683,25 +684,25 @@ export interface ElastiCache {
|
|
|
683
684
|
* @param args - command input.
|
|
684
685
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
685
686
|
*/
|
|
686
|
-
waitUntilCacheClusterAvailable(args: DescribeCacheClustersCommandInput, waiterConfig: number | Omit<WaiterConfiguration<ElastiCache>, "client">): Promise<WaiterResult
|
|
687
|
+
waitUntilCacheClusterAvailable(args: DescribeCacheClustersCommandInput, waiterConfig: number | Omit<WaiterConfiguration<ElastiCache>, "client">): Promise<WaiterResult<DescribeCacheClustersCommandOutput>>;
|
|
687
688
|
/**
|
|
688
689
|
* @see {@link DescribeCacheClustersCommand}
|
|
689
690
|
* @param args - command input.
|
|
690
691
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
691
692
|
*/
|
|
692
|
-
waitUntilCacheClusterDeleted(args: DescribeCacheClustersCommandInput, waiterConfig: number | Omit<WaiterConfiguration<ElastiCache>, "client">): Promise<WaiterResult
|
|
693
|
+
waitUntilCacheClusterDeleted(args: DescribeCacheClustersCommandInput, waiterConfig: number | Omit<WaiterConfiguration<ElastiCache>, "client">): Promise<WaiterResult<DescribeCacheClustersCommandOutput | CacheClusterNotFoundFault>>;
|
|
693
694
|
/**
|
|
694
695
|
* @see {@link DescribeReplicationGroupsCommand}
|
|
695
696
|
* @param args - command input.
|
|
696
697
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
697
698
|
*/
|
|
698
|
-
waitUntilReplicationGroupAvailable(args: DescribeReplicationGroupsCommandInput, waiterConfig: number | Omit<WaiterConfiguration<ElastiCache>, "client">): Promise<WaiterResult
|
|
699
|
+
waitUntilReplicationGroupAvailable(args: DescribeReplicationGroupsCommandInput, waiterConfig: number | Omit<WaiterConfiguration<ElastiCache>, "client">): Promise<WaiterResult<DescribeReplicationGroupsCommandOutput>>;
|
|
699
700
|
/**
|
|
700
701
|
* @see {@link DescribeReplicationGroupsCommand}
|
|
701
702
|
* @param args - command input.
|
|
702
703
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
703
704
|
*/
|
|
704
|
-
waitUntilReplicationGroupDeleted(args: DescribeReplicationGroupsCommandInput, waiterConfig: number | Omit<WaiterConfiguration<ElastiCache>, "client">): Promise<WaiterResult
|
|
705
|
+
waitUntilReplicationGroupDeleted(args: DescribeReplicationGroupsCommandInput, waiterConfig: number | Omit<WaiterConfiguration<ElastiCache>, "client">): Promise<WaiterResult<DescribeReplicationGroupsCommandOutput | ReplicationGroupNotFoundFault>>;
|
|
705
706
|
}
|
|
706
707
|
/**
|
|
707
708
|
* <fullname>Amazon ElastiCache</fullname>
|
|
@@ -306,6 +306,10 @@ import {
|
|
|
306
306
|
TestMigrationCommandOutput,
|
|
307
307
|
} from "./commands/TestMigrationCommand";
|
|
308
308
|
import { ElastiCacheClient } from "./ElastiCacheClient";
|
|
309
|
+
import {
|
|
310
|
+
CacheClusterNotFoundFault,
|
|
311
|
+
ReplicationGroupNotFoundFault,
|
|
312
|
+
} from "./models/errors";
|
|
309
313
|
export interface ElastiCache {
|
|
310
314
|
addTagsToResource(
|
|
311
315
|
args: AddTagsToResourceCommandInput,
|
|
@@ -1489,7 +1493,7 @@ export interface ElastiCache {
|
|
|
1489
1493
|
WaiterConfiguration<ElastiCache>,
|
|
1490
1494
|
Exclude<keyof WaiterConfiguration<ElastiCache>, "client">
|
|
1491
1495
|
>
|
|
1492
|
-
): Promise<WaiterResult
|
|
1496
|
+
): Promise<WaiterResult<DescribeCacheClustersCommandOutput>>;
|
|
1493
1497
|
waitUntilCacheClusterDeleted(
|
|
1494
1498
|
args: DescribeCacheClustersCommandInput,
|
|
1495
1499
|
waiterConfig:
|
|
@@ -1498,7 +1502,9 @@ export interface ElastiCache {
|
|
|
1498
1502
|
WaiterConfiguration<ElastiCache>,
|
|
1499
1503
|
Exclude<keyof WaiterConfiguration<ElastiCache>, "client">
|
|
1500
1504
|
>
|
|
1501
|
-
): Promise<
|
|
1505
|
+
): Promise<
|
|
1506
|
+
WaiterResult<DescribeCacheClustersCommandOutput | CacheClusterNotFoundFault>
|
|
1507
|
+
>;
|
|
1502
1508
|
waitUntilReplicationGroupAvailable(
|
|
1503
1509
|
args: DescribeReplicationGroupsCommandInput,
|
|
1504
1510
|
waiterConfig:
|
|
@@ -1507,7 +1513,7 @@ export interface ElastiCache {
|
|
|
1507
1513
|
WaiterConfiguration<ElastiCache>,
|
|
1508
1514
|
Exclude<keyof WaiterConfiguration<ElastiCache>, "client">
|
|
1509
1515
|
>
|
|
1510
|
-
): Promise<WaiterResult
|
|
1516
|
+
): Promise<WaiterResult<DescribeReplicationGroupsCommandOutput>>;
|
|
1511
1517
|
waitUntilReplicationGroupDeleted(
|
|
1512
1518
|
args: DescribeReplicationGroupsCommandInput,
|
|
1513
1519
|
waiterConfig:
|
|
@@ -1516,7 +1522,11 @@ export interface ElastiCache {
|
|
|
1516
1522
|
WaiterConfiguration<ElastiCache>,
|
|
1517
1523
|
Exclude<keyof WaiterConfiguration<ElastiCache>, "client">
|
|
1518
1524
|
>
|
|
1519
|
-
): Promise<
|
|
1525
|
+
): Promise<
|
|
1526
|
+
WaiterResult<
|
|
1527
|
+
DescribeReplicationGroupsCommandOutput | ReplicationGroupNotFoundFault
|
|
1528
|
+
>
|
|
1529
|
+
>;
|
|
1520
1530
|
}
|
|
1521
1531
|
export declare class ElastiCache
|
|
1522
1532
|
extends ElastiCacheClient
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
DescribeCacheClustersCommandInput,
|
|
4
|
+
DescribeCacheClustersCommandOutput,
|
|
5
|
+
} from "../commands/DescribeCacheClustersCommand";
|
|
3
6
|
import { ElastiCacheClient } from "../ElastiCacheClient";
|
|
7
|
+
import { ElastiCacheServiceException } from "../models/ElastiCacheServiceException";
|
|
4
8
|
export declare const waitForCacheClusterAvailable: (
|
|
5
9
|
params: WaiterConfiguration<ElastiCacheClient>,
|
|
6
10
|
input: DescribeCacheClustersCommandInput
|
|
7
|
-
) => Promise<
|
|
11
|
+
) => Promise<
|
|
12
|
+
WaiterResult<DescribeCacheClustersCommandOutput | ElastiCacheServiceException>
|
|
13
|
+
>;
|
|
8
14
|
export declare const waitUntilCacheClusterAvailable: (
|
|
9
15
|
params: WaiterConfiguration<ElastiCacheClient>,
|
|
10
16
|
input: DescribeCacheClustersCommandInput
|
|
11
|
-
) => Promise<WaiterResult
|
|
17
|
+
) => Promise<WaiterResult<DescribeCacheClustersCommandOutput>>;
|
|
@@ -1,11 +1,20 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
DescribeCacheClustersCommandInput,
|
|
4
|
+
DescribeCacheClustersCommandOutput,
|
|
5
|
+
} from "../commands/DescribeCacheClustersCommand";
|
|
3
6
|
import { ElastiCacheClient } from "../ElastiCacheClient";
|
|
7
|
+
import { ElastiCacheServiceException } from "../models/ElastiCacheServiceException";
|
|
8
|
+
import { CacheClusterNotFoundFault } from "../models/errors";
|
|
4
9
|
export declare const waitForCacheClusterDeleted: (
|
|
5
10
|
params: WaiterConfiguration<ElastiCacheClient>,
|
|
6
11
|
input: DescribeCacheClustersCommandInput
|
|
7
|
-
) => Promise<
|
|
12
|
+
) => Promise<
|
|
13
|
+
WaiterResult<DescribeCacheClustersCommandOutput | ElastiCacheServiceException>
|
|
14
|
+
>;
|
|
8
15
|
export declare const waitUntilCacheClusterDeleted: (
|
|
9
16
|
params: WaiterConfiguration<ElastiCacheClient>,
|
|
10
17
|
input: DescribeCacheClustersCommandInput
|
|
11
|
-
) => Promise<
|
|
18
|
+
) => Promise<
|
|
19
|
+
WaiterResult<DescribeCacheClustersCommandOutput | CacheClusterNotFoundFault>
|
|
20
|
+
>;
|
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
DescribeReplicationGroupsCommandInput,
|
|
4
|
+
DescribeReplicationGroupsCommandOutput,
|
|
5
|
+
} from "../commands/DescribeReplicationGroupsCommand";
|
|
3
6
|
import { ElastiCacheClient } from "../ElastiCacheClient";
|
|
7
|
+
import { ElastiCacheServiceException } from "../models/ElastiCacheServiceException";
|
|
4
8
|
export declare const waitForReplicationGroupAvailable: (
|
|
5
9
|
params: WaiterConfiguration<ElastiCacheClient>,
|
|
6
10
|
input: DescribeReplicationGroupsCommandInput
|
|
7
|
-
) => Promise<
|
|
11
|
+
) => Promise<
|
|
12
|
+
WaiterResult<
|
|
13
|
+
DescribeReplicationGroupsCommandOutput | ElastiCacheServiceException
|
|
14
|
+
>
|
|
15
|
+
>;
|
|
8
16
|
export declare const waitUntilReplicationGroupAvailable: (
|
|
9
17
|
params: WaiterConfiguration<ElastiCacheClient>,
|
|
10
18
|
input: DescribeReplicationGroupsCommandInput
|
|
11
|
-
) => Promise<WaiterResult
|
|
19
|
+
) => Promise<WaiterResult<DescribeReplicationGroupsCommandOutput>>;
|
|
@@ -1,11 +1,24 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
DescribeReplicationGroupsCommandInput,
|
|
4
|
+
DescribeReplicationGroupsCommandOutput,
|
|
5
|
+
} from "../commands/DescribeReplicationGroupsCommand";
|
|
3
6
|
import { ElastiCacheClient } from "../ElastiCacheClient";
|
|
7
|
+
import { ElastiCacheServiceException } from "../models/ElastiCacheServiceException";
|
|
8
|
+
import { ReplicationGroupNotFoundFault } from "../models/errors";
|
|
4
9
|
export declare const waitForReplicationGroupDeleted: (
|
|
5
10
|
params: WaiterConfiguration<ElastiCacheClient>,
|
|
6
11
|
input: DescribeReplicationGroupsCommandInput
|
|
7
|
-
) => Promise<
|
|
12
|
+
) => Promise<
|
|
13
|
+
WaiterResult<
|
|
14
|
+
DescribeReplicationGroupsCommandOutput | ElastiCacheServiceException
|
|
15
|
+
>
|
|
16
|
+
>;
|
|
8
17
|
export declare const waitUntilReplicationGroupDeleted: (
|
|
9
18
|
params: WaiterConfiguration<ElastiCacheClient>,
|
|
10
19
|
input: DescribeReplicationGroupsCommandInput
|
|
11
|
-
) => Promise<
|
|
20
|
+
) => Promise<
|
|
21
|
+
WaiterResult<
|
|
22
|
+
DescribeReplicationGroupsCommandOutput | ReplicationGroupNotFoundFault
|
|
23
|
+
>
|
|
24
|
+
>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import { type DescribeCacheClustersCommandInput } from "../commands/DescribeCacheClustersCommand";
|
|
2
|
+
import { type DescribeCacheClustersCommandInput, type DescribeCacheClustersCommandOutput } from "../commands/DescribeCacheClustersCommand";
|
|
3
3
|
import type { ElastiCacheClient } from "../ElastiCacheClient";
|
|
4
|
+
import type { ElastiCacheServiceException } from "../models/ElastiCacheServiceException";
|
|
4
5
|
/**
|
|
5
6
|
* Wait until ElastiCache cluster is available.
|
|
6
7
|
* @deprecated Use waitUntilCacheClusterAvailable instead. waitForCacheClusterAvailable does not throw error in non-success cases.
|
|
7
8
|
*/
|
|
8
|
-
export declare const waitForCacheClusterAvailable: (params: WaiterConfiguration<ElastiCacheClient>, input: DescribeCacheClustersCommandInput) => Promise<WaiterResult
|
|
9
|
+
export declare const waitForCacheClusterAvailable: (params: WaiterConfiguration<ElastiCacheClient>, input: DescribeCacheClustersCommandInput) => Promise<WaiterResult<DescribeCacheClustersCommandOutput | ElastiCacheServiceException>>;
|
|
9
10
|
/**
|
|
10
11
|
* Wait until ElastiCache cluster is available.
|
|
11
12
|
* @param params - Waiter configuration options.
|
|
12
13
|
* @param input - The input to DescribeCacheClustersCommand for polling.
|
|
13
14
|
*/
|
|
14
|
-
export declare const waitUntilCacheClusterAvailable: (params: WaiterConfiguration<ElastiCacheClient>, input: DescribeCacheClustersCommandInput) => Promise<WaiterResult
|
|
15
|
+
export declare const waitUntilCacheClusterAvailable: (params: WaiterConfiguration<ElastiCacheClient>, input: DescribeCacheClustersCommandInput) => Promise<WaiterResult<DescribeCacheClustersCommandOutput>>;
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import { type DescribeCacheClustersCommandInput } from "../commands/DescribeCacheClustersCommand";
|
|
2
|
+
import { type DescribeCacheClustersCommandInput, type DescribeCacheClustersCommandOutput } from "../commands/DescribeCacheClustersCommand";
|
|
3
3
|
import type { ElastiCacheClient } from "../ElastiCacheClient";
|
|
4
|
+
import type { ElastiCacheServiceException } from "../models/ElastiCacheServiceException";
|
|
5
|
+
import type { CacheClusterNotFoundFault } from "../models/errors";
|
|
4
6
|
/**
|
|
5
7
|
* Wait until ElastiCache cluster is deleted.
|
|
6
8
|
* @deprecated Use waitUntilCacheClusterDeleted instead. waitForCacheClusterDeleted does not throw error in non-success cases.
|
|
7
9
|
*/
|
|
8
|
-
export declare const waitForCacheClusterDeleted: (params: WaiterConfiguration<ElastiCacheClient>, input: DescribeCacheClustersCommandInput) => Promise<WaiterResult
|
|
10
|
+
export declare const waitForCacheClusterDeleted: (params: WaiterConfiguration<ElastiCacheClient>, input: DescribeCacheClustersCommandInput) => Promise<WaiterResult<DescribeCacheClustersCommandOutput | ElastiCacheServiceException>>;
|
|
9
11
|
/**
|
|
10
12
|
* Wait until ElastiCache cluster is deleted.
|
|
11
13
|
* @param params - Waiter configuration options.
|
|
12
14
|
* @param input - The input to DescribeCacheClustersCommand for polling.
|
|
13
15
|
*/
|
|
14
|
-
export declare const waitUntilCacheClusterDeleted: (params: WaiterConfiguration<ElastiCacheClient>, input: DescribeCacheClustersCommandInput) => Promise<WaiterResult
|
|
16
|
+
export declare const waitUntilCacheClusterDeleted: (params: WaiterConfiguration<ElastiCacheClient>, input: DescribeCacheClustersCommandInput) => Promise<WaiterResult<DescribeCacheClustersCommandOutput | CacheClusterNotFoundFault>>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import { type DescribeReplicationGroupsCommandInput } from "../commands/DescribeReplicationGroupsCommand";
|
|
2
|
+
import { type DescribeReplicationGroupsCommandInput, type DescribeReplicationGroupsCommandOutput } from "../commands/DescribeReplicationGroupsCommand";
|
|
3
3
|
import type { ElastiCacheClient } from "../ElastiCacheClient";
|
|
4
|
+
import type { ElastiCacheServiceException } from "../models/ElastiCacheServiceException";
|
|
4
5
|
/**
|
|
5
6
|
* Wait until ElastiCache replication group is available.
|
|
6
7
|
* @deprecated Use waitUntilReplicationGroupAvailable instead. waitForReplicationGroupAvailable does not throw error in non-success cases.
|
|
7
8
|
*/
|
|
8
|
-
export declare const waitForReplicationGroupAvailable: (params: WaiterConfiguration<ElastiCacheClient>, input: DescribeReplicationGroupsCommandInput) => Promise<WaiterResult
|
|
9
|
+
export declare const waitForReplicationGroupAvailable: (params: WaiterConfiguration<ElastiCacheClient>, input: DescribeReplicationGroupsCommandInput) => Promise<WaiterResult<DescribeReplicationGroupsCommandOutput | ElastiCacheServiceException>>;
|
|
9
10
|
/**
|
|
10
11
|
* Wait until ElastiCache replication group is available.
|
|
11
12
|
* @param params - Waiter configuration options.
|
|
12
13
|
* @param input - The input to DescribeReplicationGroupsCommand for polling.
|
|
13
14
|
*/
|
|
14
|
-
export declare const waitUntilReplicationGroupAvailable: (params: WaiterConfiguration<ElastiCacheClient>, input: DescribeReplicationGroupsCommandInput) => Promise<WaiterResult
|
|
15
|
+
export declare const waitUntilReplicationGroupAvailable: (params: WaiterConfiguration<ElastiCacheClient>, input: DescribeReplicationGroupsCommandInput) => Promise<WaiterResult<DescribeReplicationGroupsCommandOutput>>;
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import { type DescribeReplicationGroupsCommandInput } from "../commands/DescribeReplicationGroupsCommand";
|
|
2
|
+
import { type DescribeReplicationGroupsCommandInput, type DescribeReplicationGroupsCommandOutput } from "../commands/DescribeReplicationGroupsCommand";
|
|
3
3
|
import type { ElastiCacheClient } from "../ElastiCacheClient";
|
|
4
|
+
import type { ElastiCacheServiceException } from "../models/ElastiCacheServiceException";
|
|
5
|
+
import type { ReplicationGroupNotFoundFault } from "../models/errors";
|
|
4
6
|
/**
|
|
5
7
|
* Wait until ElastiCache replication group is deleted.
|
|
6
8
|
* @deprecated Use waitUntilReplicationGroupDeleted instead. waitForReplicationGroupDeleted does not throw error in non-success cases.
|
|
7
9
|
*/
|
|
8
|
-
export declare const waitForReplicationGroupDeleted: (params: WaiterConfiguration<ElastiCacheClient>, input: DescribeReplicationGroupsCommandInput) => Promise<WaiterResult
|
|
10
|
+
export declare const waitForReplicationGroupDeleted: (params: WaiterConfiguration<ElastiCacheClient>, input: DescribeReplicationGroupsCommandInput) => Promise<WaiterResult<DescribeReplicationGroupsCommandOutput | ElastiCacheServiceException>>;
|
|
9
11
|
/**
|
|
10
12
|
* Wait until ElastiCache replication group is deleted.
|
|
11
13
|
* @param params - Waiter configuration options.
|
|
12
14
|
* @param input - The input to DescribeReplicationGroupsCommand for polling.
|
|
13
15
|
*/
|
|
14
|
-
export declare const waitUntilReplicationGroupDeleted: (params: WaiterConfiguration<ElastiCacheClient>, input: DescribeReplicationGroupsCommandInput) => Promise<WaiterResult
|
|
16
|
+
export declare const waitUntilReplicationGroupDeleted: (params: WaiterConfiguration<ElastiCacheClient>, input: DescribeReplicationGroupsCommandInput) => Promise<WaiterResult<DescribeReplicationGroupsCommandOutput | ReplicationGroupNotFoundFault>>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-elasticache",
|
|
3
3
|
"description": "AWS SDK for JavaScript Elasticache Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1039.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-elasticache",
|
|
@@ -23,17 +23,17 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
25
25
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
26
|
-
"@aws-sdk/core": "^3.974.
|
|
27
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
+
"@aws-sdk/core": "^3.974.7",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "^3.972.38",
|
|
28
28
|
"@aws-sdk/middleware-host-header": "^3.972.10",
|
|
29
29
|
"@aws-sdk/middleware-logger": "^3.972.10",
|
|
30
30
|
"@aws-sdk/middleware-recursion-detection": "^3.972.11",
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "^3.972.37",
|
|
32
32
|
"@aws-sdk/region-config-resolver": "^3.972.13",
|
|
33
33
|
"@aws-sdk/types": "^3.973.8",
|
|
34
34
|
"@aws-sdk/util-endpoints": "^3.996.8",
|
|
35
35
|
"@aws-sdk/util-user-agent-browser": "^3.972.10",
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "^3.973.23",
|
|
37
37
|
"@smithy/config-resolver": "^4.4.17",
|
|
38
38
|
"@smithy/core": "^3.23.17",
|
|
39
39
|
"@smithy/fetch-http-handler": "^5.3.17",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@smithy/invalid-dependency": "^4.2.14",
|
|
42
42
|
"@smithy/middleware-content-length": "^4.2.14",
|
|
43
43
|
"@smithy/middleware-endpoint": "^4.4.32",
|
|
44
|
-
"@smithy/middleware-retry": "^4.5.
|
|
44
|
+
"@smithy/middleware-retry": "^4.5.7",
|
|
45
45
|
"@smithy/middleware-serde": "^4.2.20",
|
|
46
46
|
"@smithy/middleware-stack": "^4.2.14",
|
|
47
47
|
"@smithy/node-config-provider": "^4.3.14",
|
|
@@ -57,9 +57,9 @@
|
|
|
57
57
|
"@smithy/util-defaults-mode-node": "^4.2.54",
|
|
58
58
|
"@smithy/util-endpoints": "^3.4.2",
|
|
59
59
|
"@smithy/util-middleware": "^4.2.14",
|
|
60
|
-
"@smithy/util-retry": "^4.3.
|
|
60
|
+
"@smithy/util-retry": "^4.3.6",
|
|
61
61
|
"@smithy/util-utf8": "^4.2.2",
|
|
62
|
-
"@smithy/util-waiter": "^4.
|
|
62
|
+
"@smithy/util-waiter": "^4.3.0",
|
|
63
63
|
"tslib": "^2.6.2"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|