@aws-sdk/client-elasticache 3.934.0 → 3.936.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 +143 -143
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +142 -0
- package/dist-es/models/errors.js +913 -0
- package/dist-es/models/models_0.js +1 -1007
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/commands/RevokeCacheSecurityGroupIngressCommand.d.ts +1 -2
- package/dist-types/commands/StartMigrationCommand.d.ts +1 -1
- package/dist-types/commands/TestFailoverCommand.d.ts +1 -1
- package/dist-types/commands/TestMigrationCommand.d.ts +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +366 -0
- package/dist-types/models/errors.d.ts +952 -0
- package/dist-types/models/models_0.d.ts +125 -1269
- package/dist-types/ts3.4/commands/RevokeCacheSecurityGroupIngressCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/StartMigrationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TestFailoverCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TestMigrationCommand.d.ts +1 -1
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +187 -0
- package/dist-types/ts3.4/models/errors.d.ts +631 -0
- package/dist-types/ts3.4/models/models_0.d.ts +58 -784
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -2
- package/dist-es/models/models_1.js +0 -49
- package/dist-types/models/index.d.ts +0 -2
- package/dist-types/models/models_1.d.ts +0 -176
- package/dist-types/ts3.4/models/index.d.ts +0 -2
- package/dist-types/ts3.4/models/models_1.d.ts +0 -65
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.936.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-elasticache",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.936.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.936.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.936.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
|
+
"@aws-sdk/types": "3.936.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.936.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { ElastiCacheServiceException as __BaseException } from "./ElastiCacheServiceException";
|
|
2
|
-
export class ReplicationGroupAlreadyUnderMigrationFault extends __BaseException {
|
|
3
|
-
name = "ReplicationGroupAlreadyUnderMigrationFault";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
constructor(opts) {
|
|
6
|
-
super({
|
|
7
|
-
name: "ReplicationGroupAlreadyUnderMigrationFault",
|
|
8
|
-
$fault: "client",
|
|
9
|
-
...opts,
|
|
10
|
-
});
|
|
11
|
-
Object.setPrototypeOf(this, ReplicationGroupAlreadyUnderMigrationFault.prototype);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
export class APICallRateForCustomerExceededFault extends __BaseException {
|
|
15
|
-
name = "APICallRateForCustomerExceededFault";
|
|
16
|
-
$fault = "client";
|
|
17
|
-
constructor(opts) {
|
|
18
|
-
super({
|
|
19
|
-
name: "APICallRateForCustomerExceededFault",
|
|
20
|
-
$fault: "client",
|
|
21
|
-
...opts,
|
|
22
|
-
});
|
|
23
|
-
Object.setPrototypeOf(this, APICallRateForCustomerExceededFault.prototype);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
export class NodeGroupNotFoundFault extends __BaseException {
|
|
27
|
-
name = "NodeGroupNotFoundFault";
|
|
28
|
-
$fault = "client";
|
|
29
|
-
constructor(opts) {
|
|
30
|
-
super({
|
|
31
|
-
name: "NodeGroupNotFoundFault",
|
|
32
|
-
$fault: "client",
|
|
33
|
-
...opts,
|
|
34
|
-
});
|
|
35
|
-
Object.setPrototypeOf(this, NodeGroupNotFoundFault.prototype);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
export class TestFailoverNotAvailableFault extends __BaseException {
|
|
39
|
-
name = "TestFailoverNotAvailableFault";
|
|
40
|
-
$fault = "client";
|
|
41
|
-
constructor(opts) {
|
|
42
|
-
super({
|
|
43
|
-
name: "TestFailoverNotAvailableFault",
|
|
44
|
-
$fault: "client",
|
|
45
|
-
...opts,
|
|
46
|
-
});
|
|
47
|
-
Object.setPrototypeOf(this, TestFailoverNotAvailableFault.prototype);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
@@ -1,176 +0,0 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { ElastiCacheServiceException as __BaseException } from "./ElastiCacheServiceException";
|
|
3
|
-
import { CacheSecurityGroup, ReplicationGroup } from "./models_0";
|
|
4
|
-
/**
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export interface RevokeCacheSecurityGroupIngressResult {
|
|
8
|
-
/**
|
|
9
|
-
* <p>Represents the output of one of the following operations:</p>
|
|
10
|
-
* <ul>
|
|
11
|
-
* <li>
|
|
12
|
-
* <p>
|
|
13
|
-
* <code>AuthorizeCacheSecurityGroupIngress</code>
|
|
14
|
-
* </p>
|
|
15
|
-
* </li>
|
|
16
|
-
* <li>
|
|
17
|
-
* <p>
|
|
18
|
-
* <code>CreateCacheSecurityGroup</code>
|
|
19
|
-
* </p>
|
|
20
|
-
* </li>
|
|
21
|
-
* <li>
|
|
22
|
-
* <p>
|
|
23
|
-
* <code>RevokeCacheSecurityGroupIngress</code>
|
|
24
|
-
* </p>
|
|
25
|
-
* </li>
|
|
26
|
-
* </ul>
|
|
27
|
-
* @public
|
|
28
|
-
*/
|
|
29
|
-
CacheSecurityGroup?: CacheSecurityGroup | undefined;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* <p>The targeted replication group is not available. </p>
|
|
33
|
-
* @public
|
|
34
|
-
*/
|
|
35
|
-
export declare class ReplicationGroupAlreadyUnderMigrationFault extends __BaseException {
|
|
36
|
-
readonly name: "ReplicationGroupAlreadyUnderMigrationFault";
|
|
37
|
-
readonly $fault: "client";
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
|
-
constructor(opts: __ExceptionOptionType<ReplicationGroupAlreadyUnderMigrationFault, __BaseException>);
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* <p>The endpoint from which data should be migrated.</p>
|
|
45
|
-
* @public
|
|
46
|
-
*/
|
|
47
|
-
export interface CustomerNodeEndpoint {
|
|
48
|
-
/**
|
|
49
|
-
* <p>The address of the node endpoint</p>
|
|
50
|
-
* @public
|
|
51
|
-
*/
|
|
52
|
-
Address?: string | undefined;
|
|
53
|
-
/**
|
|
54
|
-
* <p>The port of the node endpoint</p>
|
|
55
|
-
* @public
|
|
56
|
-
*/
|
|
57
|
-
Port?: number | undefined;
|
|
58
|
-
}
|
|
59
|
-
/**
|
|
60
|
-
* @public
|
|
61
|
-
*/
|
|
62
|
-
export interface StartMigrationMessage {
|
|
63
|
-
/**
|
|
64
|
-
* <p>The ID of the replication group to which data should be migrated.</p>
|
|
65
|
-
* @public
|
|
66
|
-
*/
|
|
67
|
-
ReplicationGroupId: string | undefined;
|
|
68
|
-
/**
|
|
69
|
-
* <p>List of endpoints from which data should be migrated. For Valkey or Redis OSS (cluster mode
|
|
70
|
-
* disabled), the list should have only one element.</p>
|
|
71
|
-
* @public
|
|
72
|
-
*/
|
|
73
|
-
CustomerNodeEndpointList: CustomerNodeEndpoint[] | undefined;
|
|
74
|
-
}
|
|
75
|
-
/**
|
|
76
|
-
* @public
|
|
77
|
-
*/
|
|
78
|
-
export interface StartMigrationResponse {
|
|
79
|
-
/**
|
|
80
|
-
* <p>Contains all of the attributes of a specific Valkey or Redis OSS replication group.</p>
|
|
81
|
-
* @public
|
|
82
|
-
*/
|
|
83
|
-
ReplicationGroup?: ReplicationGroup | undefined;
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* <p>The customer has exceeded the allowed rate of API calls.</p>
|
|
87
|
-
* @public
|
|
88
|
-
*/
|
|
89
|
-
export declare class APICallRateForCustomerExceededFault extends __BaseException {
|
|
90
|
-
readonly name: "APICallRateForCustomerExceededFault";
|
|
91
|
-
readonly $fault: "client";
|
|
92
|
-
/**
|
|
93
|
-
* @internal
|
|
94
|
-
*/
|
|
95
|
-
constructor(opts: __ExceptionOptionType<APICallRateForCustomerExceededFault, __BaseException>);
|
|
96
|
-
}
|
|
97
|
-
/**
|
|
98
|
-
* <p>The node group specified by the <code>NodeGroupId</code> parameter could not be found.
|
|
99
|
-
* Please verify that the node group exists and that you spelled the
|
|
100
|
-
* <code>NodeGroupId</code> value correctly.</p>
|
|
101
|
-
* @public
|
|
102
|
-
*/
|
|
103
|
-
export declare class NodeGroupNotFoundFault extends __BaseException {
|
|
104
|
-
readonly name: "NodeGroupNotFoundFault";
|
|
105
|
-
readonly $fault: "client";
|
|
106
|
-
/**
|
|
107
|
-
* @internal
|
|
108
|
-
*/
|
|
109
|
-
constructor(opts: __ExceptionOptionType<NodeGroupNotFoundFault, __BaseException>);
|
|
110
|
-
}
|
|
111
|
-
/**
|
|
112
|
-
* @public
|
|
113
|
-
*/
|
|
114
|
-
export interface TestFailoverMessage {
|
|
115
|
-
/**
|
|
116
|
-
* <p>The name of the replication group (console: cluster) whose automatic failover is being
|
|
117
|
-
* tested by this operation.</p>
|
|
118
|
-
* @public
|
|
119
|
-
*/
|
|
120
|
-
ReplicationGroupId: string | undefined;
|
|
121
|
-
/**
|
|
122
|
-
* <p>The name of the node group (called shard in the console) in this replication group on
|
|
123
|
-
* which automatic failover is to be tested. You may test automatic failover on up to 15
|
|
124
|
-
* node groups in any rolling 24-hour period.</p>
|
|
125
|
-
* @public
|
|
126
|
-
*/
|
|
127
|
-
NodeGroupId: string | undefined;
|
|
128
|
-
}
|
|
129
|
-
/**
|
|
130
|
-
* <p>The <code>TestFailover</code> action is not available.</p>
|
|
131
|
-
* @public
|
|
132
|
-
*/
|
|
133
|
-
export declare class TestFailoverNotAvailableFault extends __BaseException {
|
|
134
|
-
readonly name: "TestFailoverNotAvailableFault";
|
|
135
|
-
readonly $fault: "client";
|
|
136
|
-
/**
|
|
137
|
-
* @internal
|
|
138
|
-
*/
|
|
139
|
-
constructor(opts: __ExceptionOptionType<TestFailoverNotAvailableFault, __BaseException>);
|
|
140
|
-
}
|
|
141
|
-
/**
|
|
142
|
-
* @public
|
|
143
|
-
*/
|
|
144
|
-
export interface TestFailoverResult {
|
|
145
|
-
/**
|
|
146
|
-
* <p>Contains all of the attributes of a specific Valkey or Redis OSS replication group.</p>
|
|
147
|
-
* @public
|
|
148
|
-
*/
|
|
149
|
-
ReplicationGroup?: ReplicationGroup | undefined;
|
|
150
|
-
}
|
|
151
|
-
/**
|
|
152
|
-
* @public
|
|
153
|
-
*/
|
|
154
|
-
export interface TestMigrationMessage {
|
|
155
|
-
/**
|
|
156
|
-
* <p> The ID of the replication group to which data is to be migrated. </p>
|
|
157
|
-
* @public
|
|
158
|
-
*/
|
|
159
|
-
ReplicationGroupId: string | undefined;
|
|
160
|
-
/**
|
|
161
|
-
* <p> List of endpoints from which data should be migrated. List should have only one
|
|
162
|
-
* element. </p>
|
|
163
|
-
* @public
|
|
164
|
-
*/
|
|
165
|
-
CustomerNodeEndpointList: CustomerNodeEndpoint[] | undefined;
|
|
166
|
-
}
|
|
167
|
-
/**
|
|
168
|
-
* @public
|
|
169
|
-
*/
|
|
170
|
-
export interface TestMigrationResponse {
|
|
171
|
-
/**
|
|
172
|
-
* <p>Contains all of the attributes of a specific Valkey or Redis OSS replication group.</p>
|
|
173
|
-
* @public
|
|
174
|
-
*/
|
|
175
|
-
ReplicationGroup?: ReplicationGroup | undefined;
|
|
176
|
-
}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { ElastiCacheServiceException as __BaseException } from "./ElastiCacheServiceException";
|
|
3
|
-
import { CacheSecurityGroup, ReplicationGroup } from "./models_0";
|
|
4
|
-
export interface RevokeCacheSecurityGroupIngressResult {
|
|
5
|
-
CacheSecurityGroup?: CacheSecurityGroup | undefined;
|
|
6
|
-
}
|
|
7
|
-
export declare class ReplicationGroupAlreadyUnderMigrationFault extends __BaseException {
|
|
8
|
-
readonly name: "ReplicationGroupAlreadyUnderMigrationFault";
|
|
9
|
-
readonly $fault: "client";
|
|
10
|
-
constructor(
|
|
11
|
-
opts: __ExceptionOptionType<
|
|
12
|
-
ReplicationGroupAlreadyUnderMigrationFault,
|
|
13
|
-
__BaseException
|
|
14
|
-
>
|
|
15
|
-
);
|
|
16
|
-
}
|
|
17
|
-
export interface CustomerNodeEndpoint {
|
|
18
|
-
Address?: string | undefined;
|
|
19
|
-
Port?: number | undefined;
|
|
20
|
-
}
|
|
21
|
-
export interface StartMigrationMessage {
|
|
22
|
-
ReplicationGroupId: string | undefined;
|
|
23
|
-
CustomerNodeEndpointList: CustomerNodeEndpoint[] | undefined;
|
|
24
|
-
}
|
|
25
|
-
export interface StartMigrationResponse {
|
|
26
|
-
ReplicationGroup?: ReplicationGroup | undefined;
|
|
27
|
-
}
|
|
28
|
-
export declare class APICallRateForCustomerExceededFault extends __BaseException {
|
|
29
|
-
readonly name: "APICallRateForCustomerExceededFault";
|
|
30
|
-
readonly $fault: "client";
|
|
31
|
-
constructor(
|
|
32
|
-
opts: __ExceptionOptionType<
|
|
33
|
-
APICallRateForCustomerExceededFault,
|
|
34
|
-
__BaseException
|
|
35
|
-
>
|
|
36
|
-
);
|
|
37
|
-
}
|
|
38
|
-
export declare class NodeGroupNotFoundFault extends __BaseException {
|
|
39
|
-
readonly name: "NodeGroupNotFoundFault";
|
|
40
|
-
readonly $fault: "client";
|
|
41
|
-
constructor(
|
|
42
|
-
opts: __ExceptionOptionType<NodeGroupNotFoundFault, __BaseException>
|
|
43
|
-
);
|
|
44
|
-
}
|
|
45
|
-
export interface TestFailoverMessage {
|
|
46
|
-
ReplicationGroupId: string | undefined;
|
|
47
|
-
NodeGroupId: string | undefined;
|
|
48
|
-
}
|
|
49
|
-
export declare class TestFailoverNotAvailableFault extends __BaseException {
|
|
50
|
-
readonly name: "TestFailoverNotAvailableFault";
|
|
51
|
-
readonly $fault: "client";
|
|
52
|
-
constructor(
|
|
53
|
-
opts: __ExceptionOptionType<TestFailoverNotAvailableFault, __BaseException>
|
|
54
|
-
);
|
|
55
|
-
}
|
|
56
|
-
export interface TestFailoverResult {
|
|
57
|
-
ReplicationGroup?: ReplicationGroup | undefined;
|
|
58
|
-
}
|
|
59
|
-
export interface TestMigrationMessage {
|
|
60
|
-
ReplicationGroupId: string | undefined;
|
|
61
|
-
CustomerNodeEndpointList: CustomerNodeEndpoint[] | undefined;
|
|
62
|
-
}
|
|
63
|
-
export interface TestMigrationResponse {
|
|
64
|
-
ReplicationGroup?: ReplicationGroup | undefined;
|
|
65
|
-
}
|