@aws-sdk/client-elasticache 3.957.0 → 3.958.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 +1 -81
- package/dist-cjs/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-cjs/index.js +1310 -2380
- package/dist-cjs/runtimeConfig.browser.js +1 -2
- package/dist-cjs/runtimeConfig.js +2 -4
- package/dist-es/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-es/pagination/index.js +3 -3
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +4 -6
- package/dist-es/schemas/schemas_0.js +1239 -2309
- package/dist-es/waiters/waitForCacheClusterAvailable.js +22 -22
- package/dist-es/waiters/waitForCacheClusterDeleted.js +30 -30
- package/dist-es/waiters/waitForReplicationGroupAvailable.js +10 -10
- package/dist-es/waiters/waitForReplicationGroupDeleted.js +10 -10
- package/dist-types/pagination/index.d.ts +3 -3
- package/dist-types/ts3.4/pagination/index.d.ts +3 -3
- package/package.json +2 -2
|
@@ -6,16 +6,16 @@ const checkState = async (client, input) => {
|
|
|
6
6
|
const result = await client.send(new DescribeCacheClustersCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
let returnComparator = () => {
|
|
10
|
+
let flat_1 = [].concat(...result.CacheClusters);
|
|
11
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
12
12
|
return element_2.CacheClusterStatus;
|
|
13
13
|
});
|
|
14
14
|
return projection_3;
|
|
15
15
|
};
|
|
16
|
-
let allStringEq_5 = returnComparator().length > 0;
|
|
17
|
-
for (
|
|
18
|
-
allStringEq_5 = allStringEq_5 && element_4 == "available";
|
|
16
|
+
let allStringEq_5 = (returnComparator().length > 0);
|
|
17
|
+
for (let element_4 of returnComparator()) {
|
|
18
|
+
allStringEq_5 = allStringEq_5 && (element_4 == "available");
|
|
19
19
|
}
|
|
20
20
|
if (allStringEq_5) {
|
|
21
21
|
return { state: WaiterState.SUCCESS, reason };
|
|
@@ -23,14 +23,14 @@ const checkState = async (client, input) => {
|
|
|
23
23
|
}
|
|
24
24
|
catch (e) { }
|
|
25
25
|
try {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
let returnComparator = () => {
|
|
27
|
+
let flat_1 = [].concat(...result.CacheClusters);
|
|
28
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
29
29
|
return element_2.CacheClusterStatus;
|
|
30
30
|
});
|
|
31
31
|
return projection_3;
|
|
32
32
|
};
|
|
33
|
-
for (
|
|
33
|
+
for (let anyStringEq_4 of returnComparator()) {
|
|
34
34
|
if (anyStringEq_4 == "deleted") {
|
|
35
35
|
return { state: WaiterState.FAILURE, reason };
|
|
36
36
|
}
|
|
@@ -38,14 +38,14 @@ const checkState = async (client, input) => {
|
|
|
38
38
|
}
|
|
39
39
|
catch (e) { }
|
|
40
40
|
try {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
let returnComparator = () => {
|
|
42
|
+
let flat_1 = [].concat(...result.CacheClusters);
|
|
43
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
44
44
|
return element_2.CacheClusterStatus;
|
|
45
45
|
});
|
|
46
46
|
return projection_3;
|
|
47
47
|
};
|
|
48
|
-
for (
|
|
48
|
+
for (let anyStringEq_4 of returnComparator()) {
|
|
49
49
|
if (anyStringEq_4 == "deleting") {
|
|
50
50
|
return { state: WaiterState.FAILURE, reason };
|
|
51
51
|
}
|
|
@@ -53,14 +53,14 @@ const checkState = async (client, input) => {
|
|
|
53
53
|
}
|
|
54
54
|
catch (e) { }
|
|
55
55
|
try {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
56
|
+
let returnComparator = () => {
|
|
57
|
+
let flat_1 = [].concat(...result.CacheClusters);
|
|
58
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
59
59
|
return element_2.CacheClusterStatus;
|
|
60
60
|
});
|
|
61
61
|
return projection_3;
|
|
62
62
|
};
|
|
63
|
-
for (
|
|
63
|
+
for (let anyStringEq_4 of returnComparator()) {
|
|
64
64
|
if (anyStringEq_4 == "incompatible-network") {
|
|
65
65
|
return { state: WaiterState.FAILURE, reason };
|
|
66
66
|
}
|
|
@@ -68,14 +68,14 @@ const checkState = async (client, input) => {
|
|
|
68
68
|
}
|
|
69
69
|
catch (e) { }
|
|
70
70
|
try {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
71
|
+
let returnComparator = () => {
|
|
72
|
+
let flat_1 = [].concat(...result.CacheClusters);
|
|
73
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
74
74
|
return element_2.CacheClusterStatus;
|
|
75
75
|
});
|
|
76
76
|
return projection_3;
|
|
77
77
|
};
|
|
78
|
-
for (
|
|
78
|
+
for (let anyStringEq_4 of returnComparator()) {
|
|
79
79
|
if (anyStringEq_4 == "restore-failed") {
|
|
80
80
|
return { state: WaiterState.FAILURE, reason };
|
|
81
81
|
}
|
|
@@ -6,16 +6,16 @@ const checkState = async (client, input) => {
|
|
|
6
6
|
const result = await client.send(new DescribeCacheClustersCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
let returnComparator = () => {
|
|
10
|
+
let flat_1 = [].concat(...result.CacheClusters);
|
|
11
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
12
12
|
return element_2.CacheClusterStatus;
|
|
13
13
|
});
|
|
14
14
|
return projection_3;
|
|
15
15
|
};
|
|
16
|
-
let allStringEq_5 = returnComparator().length > 0;
|
|
17
|
-
for (
|
|
18
|
-
allStringEq_5 = allStringEq_5 && element_4 == "deleted";
|
|
16
|
+
let allStringEq_5 = (returnComparator().length > 0);
|
|
17
|
+
for (let element_4 of returnComparator()) {
|
|
18
|
+
allStringEq_5 = allStringEq_5 && (element_4 == "deleted");
|
|
19
19
|
}
|
|
20
20
|
if (allStringEq_5) {
|
|
21
21
|
return { state: WaiterState.SUCCESS, reason };
|
|
@@ -23,14 +23,14 @@ const checkState = async (client, input) => {
|
|
|
23
23
|
}
|
|
24
24
|
catch (e) { }
|
|
25
25
|
try {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
let returnComparator = () => {
|
|
27
|
+
let flat_1 = [].concat(...result.CacheClusters);
|
|
28
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
29
29
|
return element_2.CacheClusterStatus;
|
|
30
30
|
});
|
|
31
31
|
return projection_3;
|
|
32
32
|
};
|
|
33
|
-
for (
|
|
33
|
+
for (let anyStringEq_4 of returnComparator()) {
|
|
34
34
|
if (anyStringEq_4 == "available") {
|
|
35
35
|
return { state: WaiterState.FAILURE, reason };
|
|
36
36
|
}
|
|
@@ -38,14 +38,14 @@ const checkState = async (client, input) => {
|
|
|
38
38
|
}
|
|
39
39
|
catch (e) { }
|
|
40
40
|
try {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
let returnComparator = () => {
|
|
42
|
+
let flat_1 = [].concat(...result.CacheClusters);
|
|
43
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
44
44
|
return element_2.CacheClusterStatus;
|
|
45
45
|
});
|
|
46
46
|
return projection_3;
|
|
47
47
|
};
|
|
48
|
-
for (
|
|
48
|
+
for (let anyStringEq_4 of returnComparator()) {
|
|
49
49
|
if (anyStringEq_4 == "creating") {
|
|
50
50
|
return { state: WaiterState.FAILURE, reason };
|
|
51
51
|
}
|
|
@@ -53,14 +53,14 @@ const checkState = async (client, input) => {
|
|
|
53
53
|
}
|
|
54
54
|
catch (e) { }
|
|
55
55
|
try {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
56
|
+
let returnComparator = () => {
|
|
57
|
+
let flat_1 = [].concat(...result.CacheClusters);
|
|
58
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
59
59
|
return element_2.CacheClusterStatus;
|
|
60
60
|
});
|
|
61
61
|
return projection_3;
|
|
62
62
|
};
|
|
63
|
-
for (
|
|
63
|
+
for (let anyStringEq_4 of returnComparator()) {
|
|
64
64
|
if (anyStringEq_4 == "incompatible-network") {
|
|
65
65
|
return { state: WaiterState.FAILURE, reason };
|
|
66
66
|
}
|
|
@@ -68,14 +68,14 @@ const checkState = async (client, input) => {
|
|
|
68
68
|
}
|
|
69
69
|
catch (e) { }
|
|
70
70
|
try {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
71
|
+
let returnComparator = () => {
|
|
72
|
+
let flat_1 = [].concat(...result.CacheClusters);
|
|
73
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
74
74
|
return element_2.CacheClusterStatus;
|
|
75
75
|
});
|
|
76
76
|
return projection_3;
|
|
77
77
|
};
|
|
78
|
-
for (
|
|
78
|
+
for (let anyStringEq_4 of returnComparator()) {
|
|
79
79
|
if (anyStringEq_4 == "modifying") {
|
|
80
80
|
return { state: WaiterState.FAILURE, reason };
|
|
81
81
|
}
|
|
@@ -83,14 +83,14 @@ const checkState = async (client, input) => {
|
|
|
83
83
|
}
|
|
84
84
|
catch (e) { }
|
|
85
85
|
try {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
86
|
+
let returnComparator = () => {
|
|
87
|
+
let flat_1 = [].concat(...result.CacheClusters);
|
|
88
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
89
89
|
return element_2.CacheClusterStatus;
|
|
90
90
|
});
|
|
91
91
|
return projection_3;
|
|
92
92
|
};
|
|
93
|
-
for (
|
|
93
|
+
for (let anyStringEq_4 of returnComparator()) {
|
|
94
94
|
if (anyStringEq_4 == "restore-failed") {
|
|
95
95
|
return { state: WaiterState.FAILURE, reason };
|
|
96
96
|
}
|
|
@@ -98,14 +98,14 @@ const checkState = async (client, input) => {
|
|
|
98
98
|
}
|
|
99
99
|
catch (e) { }
|
|
100
100
|
try {
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
101
|
+
let returnComparator = () => {
|
|
102
|
+
let flat_1 = [].concat(...result.CacheClusters);
|
|
103
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
104
104
|
return element_2.CacheClusterStatus;
|
|
105
105
|
});
|
|
106
106
|
return projection_3;
|
|
107
107
|
};
|
|
108
|
-
for (
|
|
108
|
+
for (let anyStringEq_4 of returnComparator()) {
|
|
109
109
|
if (anyStringEq_4 == "snapshotting") {
|
|
110
110
|
return { state: WaiterState.FAILURE, reason };
|
|
111
111
|
}
|
|
@@ -6,16 +6,16 @@ const checkState = async (client, input) => {
|
|
|
6
6
|
const result = await client.send(new DescribeReplicationGroupsCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
let returnComparator = () => {
|
|
10
|
+
let flat_1 = [].concat(...result.ReplicationGroups);
|
|
11
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
12
12
|
return element_2.Status;
|
|
13
13
|
});
|
|
14
14
|
return projection_3;
|
|
15
15
|
};
|
|
16
|
-
let allStringEq_5 = returnComparator().length > 0;
|
|
17
|
-
for (
|
|
18
|
-
allStringEq_5 = allStringEq_5 && element_4 == "available";
|
|
16
|
+
let allStringEq_5 = (returnComparator().length > 0);
|
|
17
|
+
for (let element_4 of returnComparator()) {
|
|
18
|
+
allStringEq_5 = allStringEq_5 && (element_4 == "available");
|
|
19
19
|
}
|
|
20
20
|
if (allStringEq_5) {
|
|
21
21
|
return { state: WaiterState.SUCCESS, reason };
|
|
@@ -23,14 +23,14 @@ const checkState = async (client, input) => {
|
|
|
23
23
|
}
|
|
24
24
|
catch (e) { }
|
|
25
25
|
try {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
let returnComparator = () => {
|
|
27
|
+
let flat_1 = [].concat(...result.ReplicationGroups);
|
|
28
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
29
29
|
return element_2.Status;
|
|
30
30
|
});
|
|
31
31
|
return projection_3;
|
|
32
32
|
};
|
|
33
|
-
for (
|
|
33
|
+
for (let anyStringEq_4 of returnComparator()) {
|
|
34
34
|
if (anyStringEq_4 == "deleted") {
|
|
35
35
|
return { state: WaiterState.FAILURE, reason };
|
|
36
36
|
}
|
|
@@ -6,16 +6,16 @@ const checkState = async (client, input) => {
|
|
|
6
6
|
const result = await client.send(new DescribeReplicationGroupsCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
let returnComparator = () => {
|
|
10
|
+
let flat_1 = [].concat(...result.ReplicationGroups);
|
|
11
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
12
12
|
return element_2.Status;
|
|
13
13
|
});
|
|
14
14
|
return projection_3;
|
|
15
15
|
};
|
|
16
|
-
let allStringEq_5 = returnComparator().length > 0;
|
|
17
|
-
for (
|
|
18
|
-
allStringEq_5 = allStringEq_5 && element_4 == "deleted";
|
|
16
|
+
let allStringEq_5 = (returnComparator().length > 0);
|
|
17
|
+
for (let element_4 of returnComparator()) {
|
|
18
|
+
allStringEq_5 = allStringEq_5 && (element_4 == "deleted");
|
|
19
19
|
}
|
|
20
20
|
if (allStringEq_5) {
|
|
21
21
|
return { state: WaiterState.SUCCESS, reason };
|
|
@@ -23,14 +23,14 @@ const checkState = async (client, input) => {
|
|
|
23
23
|
}
|
|
24
24
|
catch (e) { }
|
|
25
25
|
try {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
let returnComparator = () => {
|
|
27
|
+
let flat_1 = [].concat(...result.ReplicationGroups);
|
|
28
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
29
29
|
return element_2.Status;
|
|
30
30
|
});
|
|
31
31
|
return projection_3;
|
|
32
32
|
};
|
|
33
|
-
for (
|
|
33
|
+
for (let anyStringEq_4 of returnComparator()) {
|
|
34
34
|
if (anyStringEq_4 == "available") {
|
|
35
35
|
return { state: WaiterState.FAILURE, reason };
|
|
36
36
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from "./Interfaces";
|
|
1
2
|
export * from "./DescribeCacheClustersPaginator";
|
|
2
3
|
export * from "./DescribeCacheEngineVersionsPaginator";
|
|
3
4
|
export * from "./DescribeCacheParameterGroupsPaginator";
|
|
@@ -8,11 +9,10 @@ export * from "./DescribeEngineDefaultParametersPaginator";
|
|
|
8
9
|
export * from "./DescribeEventsPaginator";
|
|
9
10
|
export * from "./DescribeGlobalReplicationGroupsPaginator";
|
|
10
11
|
export * from "./DescribeReplicationGroupsPaginator";
|
|
11
|
-
export * from "./Interfaces";
|
|
12
|
-
export * from "./DescribeReservedCacheNodesOfferingsPaginator";
|
|
13
12
|
export * from "./DescribeReservedCacheNodesPaginator";
|
|
14
|
-
export * from "./
|
|
13
|
+
export * from "./DescribeReservedCacheNodesOfferingsPaginator";
|
|
15
14
|
export * from "./DescribeServerlessCachesPaginator";
|
|
15
|
+
export * from "./DescribeServerlessCacheSnapshotsPaginator";
|
|
16
16
|
export * from "./DescribeServiceUpdatesPaginator";
|
|
17
17
|
export * from "./DescribeSnapshotsPaginator";
|
|
18
18
|
export * from "./DescribeUpdateActionsPaginator";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from "./Interfaces";
|
|
1
2
|
export * from "./DescribeCacheClustersPaginator";
|
|
2
3
|
export * from "./DescribeCacheEngineVersionsPaginator";
|
|
3
4
|
export * from "./DescribeCacheParameterGroupsPaginator";
|
|
@@ -8,11 +9,10 @@ export * from "./DescribeEngineDefaultParametersPaginator";
|
|
|
8
9
|
export * from "./DescribeEventsPaginator";
|
|
9
10
|
export * from "./DescribeGlobalReplicationGroupsPaginator";
|
|
10
11
|
export * from "./DescribeReplicationGroupsPaginator";
|
|
11
|
-
export * from "./Interfaces";
|
|
12
|
-
export * from "./DescribeReservedCacheNodesOfferingsPaginator";
|
|
13
12
|
export * from "./DescribeReservedCacheNodesPaginator";
|
|
14
|
-
export * from "./
|
|
13
|
+
export * from "./DescribeReservedCacheNodesOfferingsPaginator";
|
|
15
14
|
export * from "./DescribeServerlessCachesPaginator";
|
|
15
|
+
export * from "./DescribeServerlessCacheSnapshotsPaginator";
|
|
16
16
|
export * from "./DescribeServiceUpdatesPaginator";
|
|
17
17
|
export * from "./DescribeSnapshotsPaginator";
|
|
18
18
|
export * from "./DescribeUpdateActionsPaginator";
|
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.958.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",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
25
25
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
26
26
|
"@aws-sdk/core": "3.957.0",
|
|
27
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
+
"@aws-sdk/credential-provider-node": "3.958.0",
|
|
28
28
|
"@aws-sdk/middleware-host-header": "3.957.0",
|
|
29
29
|
"@aws-sdk/middleware-logger": "3.957.0",
|
|
30
30
|
"@aws-sdk/middleware-recursion-detection": "3.957.0",
|