@aws-sdk/client-dax 3.315.0 → 3.316.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/DAX.js +25 -294
- package/dist-es/DAX.js +25 -294
- package/dist-types/DAX.d.ts +33 -97
- package/dist-types/ts3.4/DAX.d.ts +2 -1
- package/package.json +6 -6
package/dist-cjs/DAX.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DAX = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const CreateClusterCommand_1 = require("./commands/CreateClusterCommand");
|
|
5
6
|
const CreateParameterGroupCommand_1 = require("./commands/CreateParameterGroupCommand");
|
|
6
7
|
const CreateSubnetGroupCommand_1 = require("./commands/CreateSubnetGroupCommand");
|
|
@@ -23,300 +24,30 @@ const UpdateClusterCommand_1 = require("./commands/UpdateClusterCommand");
|
|
|
23
24
|
const UpdateParameterGroupCommand_1 = require("./commands/UpdateParameterGroupCommand");
|
|
24
25
|
const UpdateSubnetGroupCommand_1 = require("./commands/UpdateSubnetGroupCommand");
|
|
25
26
|
const DAXClient_1 = require("./DAXClient");
|
|
27
|
+
const commands = {
|
|
28
|
+
CreateClusterCommand: CreateClusterCommand_1.CreateClusterCommand,
|
|
29
|
+
CreateParameterGroupCommand: CreateParameterGroupCommand_1.CreateParameterGroupCommand,
|
|
30
|
+
CreateSubnetGroupCommand: CreateSubnetGroupCommand_1.CreateSubnetGroupCommand,
|
|
31
|
+
DecreaseReplicationFactorCommand: DecreaseReplicationFactorCommand_1.DecreaseReplicationFactorCommand,
|
|
32
|
+
DeleteClusterCommand: DeleteClusterCommand_1.DeleteClusterCommand,
|
|
33
|
+
DeleteParameterGroupCommand: DeleteParameterGroupCommand_1.DeleteParameterGroupCommand,
|
|
34
|
+
DeleteSubnetGroupCommand: DeleteSubnetGroupCommand_1.DeleteSubnetGroupCommand,
|
|
35
|
+
DescribeClustersCommand: DescribeClustersCommand_1.DescribeClustersCommand,
|
|
36
|
+
DescribeDefaultParametersCommand: DescribeDefaultParametersCommand_1.DescribeDefaultParametersCommand,
|
|
37
|
+
DescribeEventsCommand: DescribeEventsCommand_1.DescribeEventsCommand,
|
|
38
|
+
DescribeParameterGroupsCommand: DescribeParameterGroupsCommand_1.DescribeParameterGroupsCommand,
|
|
39
|
+
DescribeParametersCommand: DescribeParametersCommand_1.DescribeParametersCommand,
|
|
40
|
+
DescribeSubnetGroupsCommand: DescribeSubnetGroupsCommand_1.DescribeSubnetGroupsCommand,
|
|
41
|
+
IncreaseReplicationFactorCommand: IncreaseReplicationFactorCommand_1.IncreaseReplicationFactorCommand,
|
|
42
|
+
ListTagsCommand: ListTagsCommand_1.ListTagsCommand,
|
|
43
|
+
RebootNodeCommand: RebootNodeCommand_1.RebootNodeCommand,
|
|
44
|
+
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
45
|
+
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
46
|
+
UpdateClusterCommand: UpdateClusterCommand_1.UpdateClusterCommand,
|
|
47
|
+
UpdateParameterGroupCommand: UpdateParameterGroupCommand_1.UpdateParameterGroupCommand,
|
|
48
|
+
UpdateSubnetGroupCommand: UpdateSubnetGroupCommand_1.UpdateSubnetGroupCommand,
|
|
49
|
+
};
|
|
26
50
|
class DAX extends DAXClient_1.DAXClient {
|
|
27
|
-
createCluster(args, optionsOrCb, cb) {
|
|
28
|
-
const command = new CreateClusterCommand_1.CreateClusterCommand(args);
|
|
29
|
-
if (typeof optionsOrCb === "function") {
|
|
30
|
-
this.send(command, optionsOrCb);
|
|
31
|
-
}
|
|
32
|
-
else if (typeof cb === "function") {
|
|
33
|
-
if (typeof optionsOrCb !== "object")
|
|
34
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
35
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
36
|
-
}
|
|
37
|
-
else {
|
|
38
|
-
return this.send(command, optionsOrCb);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
createParameterGroup(args, optionsOrCb, cb) {
|
|
42
|
-
const command = new CreateParameterGroupCommand_1.CreateParameterGroupCommand(args);
|
|
43
|
-
if (typeof optionsOrCb === "function") {
|
|
44
|
-
this.send(command, optionsOrCb);
|
|
45
|
-
}
|
|
46
|
-
else if (typeof cb === "function") {
|
|
47
|
-
if (typeof optionsOrCb !== "object")
|
|
48
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
49
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
50
|
-
}
|
|
51
|
-
else {
|
|
52
|
-
return this.send(command, optionsOrCb);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
createSubnetGroup(args, optionsOrCb, cb) {
|
|
56
|
-
const command = new CreateSubnetGroupCommand_1.CreateSubnetGroupCommand(args);
|
|
57
|
-
if (typeof optionsOrCb === "function") {
|
|
58
|
-
this.send(command, optionsOrCb);
|
|
59
|
-
}
|
|
60
|
-
else if (typeof cb === "function") {
|
|
61
|
-
if (typeof optionsOrCb !== "object")
|
|
62
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
63
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
64
|
-
}
|
|
65
|
-
else {
|
|
66
|
-
return this.send(command, optionsOrCb);
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
decreaseReplicationFactor(args, optionsOrCb, cb) {
|
|
70
|
-
const command = new DecreaseReplicationFactorCommand_1.DecreaseReplicationFactorCommand(args);
|
|
71
|
-
if (typeof optionsOrCb === "function") {
|
|
72
|
-
this.send(command, optionsOrCb);
|
|
73
|
-
}
|
|
74
|
-
else if (typeof cb === "function") {
|
|
75
|
-
if (typeof optionsOrCb !== "object")
|
|
76
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
77
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
78
|
-
}
|
|
79
|
-
else {
|
|
80
|
-
return this.send(command, optionsOrCb);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
deleteCluster(args, optionsOrCb, cb) {
|
|
84
|
-
const command = new DeleteClusterCommand_1.DeleteClusterCommand(args);
|
|
85
|
-
if (typeof optionsOrCb === "function") {
|
|
86
|
-
this.send(command, optionsOrCb);
|
|
87
|
-
}
|
|
88
|
-
else if (typeof cb === "function") {
|
|
89
|
-
if (typeof optionsOrCb !== "object")
|
|
90
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
91
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
92
|
-
}
|
|
93
|
-
else {
|
|
94
|
-
return this.send(command, optionsOrCb);
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
deleteParameterGroup(args, optionsOrCb, cb) {
|
|
98
|
-
const command = new DeleteParameterGroupCommand_1.DeleteParameterGroupCommand(args);
|
|
99
|
-
if (typeof optionsOrCb === "function") {
|
|
100
|
-
this.send(command, optionsOrCb);
|
|
101
|
-
}
|
|
102
|
-
else if (typeof cb === "function") {
|
|
103
|
-
if (typeof optionsOrCb !== "object")
|
|
104
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
105
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
106
|
-
}
|
|
107
|
-
else {
|
|
108
|
-
return this.send(command, optionsOrCb);
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
deleteSubnetGroup(args, optionsOrCb, cb) {
|
|
112
|
-
const command = new DeleteSubnetGroupCommand_1.DeleteSubnetGroupCommand(args);
|
|
113
|
-
if (typeof optionsOrCb === "function") {
|
|
114
|
-
this.send(command, optionsOrCb);
|
|
115
|
-
}
|
|
116
|
-
else if (typeof cb === "function") {
|
|
117
|
-
if (typeof optionsOrCb !== "object")
|
|
118
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
119
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
120
|
-
}
|
|
121
|
-
else {
|
|
122
|
-
return this.send(command, optionsOrCb);
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
describeClusters(args, optionsOrCb, cb) {
|
|
126
|
-
const command = new DescribeClustersCommand_1.DescribeClustersCommand(args);
|
|
127
|
-
if (typeof optionsOrCb === "function") {
|
|
128
|
-
this.send(command, optionsOrCb);
|
|
129
|
-
}
|
|
130
|
-
else if (typeof cb === "function") {
|
|
131
|
-
if (typeof optionsOrCb !== "object")
|
|
132
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
133
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
134
|
-
}
|
|
135
|
-
else {
|
|
136
|
-
return this.send(command, optionsOrCb);
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
describeDefaultParameters(args, optionsOrCb, cb) {
|
|
140
|
-
const command = new DescribeDefaultParametersCommand_1.DescribeDefaultParametersCommand(args);
|
|
141
|
-
if (typeof optionsOrCb === "function") {
|
|
142
|
-
this.send(command, optionsOrCb);
|
|
143
|
-
}
|
|
144
|
-
else if (typeof cb === "function") {
|
|
145
|
-
if (typeof optionsOrCb !== "object")
|
|
146
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
147
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
148
|
-
}
|
|
149
|
-
else {
|
|
150
|
-
return this.send(command, optionsOrCb);
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
describeEvents(args, optionsOrCb, cb) {
|
|
154
|
-
const command = new DescribeEventsCommand_1.DescribeEventsCommand(args);
|
|
155
|
-
if (typeof optionsOrCb === "function") {
|
|
156
|
-
this.send(command, optionsOrCb);
|
|
157
|
-
}
|
|
158
|
-
else if (typeof cb === "function") {
|
|
159
|
-
if (typeof optionsOrCb !== "object")
|
|
160
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
161
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
162
|
-
}
|
|
163
|
-
else {
|
|
164
|
-
return this.send(command, optionsOrCb);
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
describeParameterGroups(args, optionsOrCb, cb) {
|
|
168
|
-
const command = new DescribeParameterGroupsCommand_1.DescribeParameterGroupsCommand(args);
|
|
169
|
-
if (typeof optionsOrCb === "function") {
|
|
170
|
-
this.send(command, optionsOrCb);
|
|
171
|
-
}
|
|
172
|
-
else if (typeof cb === "function") {
|
|
173
|
-
if (typeof optionsOrCb !== "object")
|
|
174
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
175
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
176
|
-
}
|
|
177
|
-
else {
|
|
178
|
-
return this.send(command, optionsOrCb);
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
describeParameters(args, optionsOrCb, cb) {
|
|
182
|
-
const command = new DescribeParametersCommand_1.DescribeParametersCommand(args);
|
|
183
|
-
if (typeof optionsOrCb === "function") {
|
|
184
|
-
this.send(command, optionsOrCb);
|
|
185
|
-
}
|
|
186
|
-
else if (typeof cb === "function") {
|
|
187
|
-
if (typeof optionsOrCb !== "object")
|
|
188
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
189
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
190
|
-
}
|
|
191
|
-
else {
|
|
192
|
-
return this.send(command, optionsOrCb);
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
describeSubnetGroups(args, optionsOrCb, cb) {
|
|
196
|
-
const command = new DescribeSubnetGroupsCommand_1.DescribeSubnetGroupsCommand(args);
|
|
197
|
-
if (typeof optionsOrCb === "function") {
|
|
198
|
-
this.send(command, optionsOrCb);
|
|
199
|
-
}
|
|
200
|
-
else if (typeof cb === "function") {
|
|
201
|
-
if (typeof optionsOrCb !== "object")
|
|
202
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
203
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
204
|
-
}
|
|
205
|
-
else {
|
|
206
|
-
return this.send(command, optionsOrCb);
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
increaseReplicationFactor(args, optionsOrCb, cb) {
|
|
210
|
-
const command = new IncreaseReplicationFactorCommand_1.IncreaseReplicationFactorCommand(args);
|
|
211
|
-
if (typeof optionsOrCb === "function") {
|
|
212
|
-
this.send(command, optionsOrCb);
|
|
213
|
-
}
|
|
214
|
-
else if (typeof cb === "function") {
|
|
215
|
-
if (typeof optionsOrCb !== "object")
|
|
216
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
217
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
218
|
-
}
|
|
219
|
-
else {
|
|
220
|
-
return this.send(command, optionsOrCb);
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
listTags(args, optionsOrCb, cb) {
|
|
224
|
-
const command = new ListTagsCommand_1.ListTagsCommand(args);
|
|
225
|
-
if (typeof optionsOrCb === "function") {
|
|
226
|
-
this.send(command, optionsOrCb);
|
|
227
|
-
}
|
|
228
|
-
else if (typeof cb === "function") {
|
|
229
|
-
if (typeof optionsOrCb !== "object")
|
|
230
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
231
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
232
|
-
}
|
|
233
|
-
else {
|
|
234
|
-
return this.send(command, optionsOrCb);
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
rebootNode(args, optionsOrCb, cb) {
|
|
238
|
-
const command = new RebootNodeCommand_1.RebootNodeCommand(args);
|
|
239
|
-
if (typeof optionsOrCb === "function") {
|
|
240
|
-
this.send(command, optionsOrCb);
|
|
241
|
-
}
|
|
242
|
-
else if (typeof cb === "function") {
|
|
243
|
-
if (typeof optionsOrCb !== "object")
|
|
244
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
245
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
246
|
-
}
|
|
247
|
-
else {
|
|
248
|
-
return this.send(command, optionsOrCb);
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
tagResource(args, optionsOrCb, cb) {
|
|
252
|
-
const command = new TagResourceCommand_1.TagResourceCommand(args);
|
|
253
|
-
if (typeof optionsOrCb === "function") {
|
|
254
|
-
this.send(command, optionsOrCb);
|
|
255
|
-
}
|
|
256
|
-
else if (typeof cb === "function") {
|
|
257
|
-
if (typeof optionsOrCb !== "object")
|
|
258
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
259
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
260
|
-
}
|
|
261
|
-
else {
|
|
262
|
-
return this.send(command, optionsOrCb);
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
untagResource(args, optionsOrCb, cb) {
|
|
266
|
-
const command = new UntagResourceCommand_1.UntagResourceCommand(args);
|
|
267
|
-
if (typeof optionsOrCb === "function") {
|
|
268
|
-
this.send(command, optionsOrCb);
|
|
269
|
-
}
|
|
270
|
-
else if (typeof cb === "function") {
|
|
271
|
-
if (typeof optionsOrCb !== "object")
|
|
272
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
273
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
274
|
-
}
|
|
275
|
-
else {
|
|
276
|
-
return this.send(command, optionsOrCb);
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
updateCluster(args, optionsOrCb, cb) {
|
|
280
|
-
const command = new UpdateClusterCommand_1.UpdateClusterCommand(args);
|
|
281
|
-
if (typeof optionsOrCb === "function") {
|
|
282
|
-
this.send(command, optionsOrCb);
|
|
283
|
-
}
|
|
284
|
-
else if (typeof cb === "function") {
|
|
285
|
-
if (typeof optionsOrCb !== "object")
|
|
286
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
287
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
288
|
-
}
|
|
289
|
-
else {
|
|
290
|
-
return this.send(command, optionsOrCb);
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
updateParameterGroup(args, optionsOrCb, cb) {
|
|
294
|
-
const command = new UpdateParameterGroupCommand_1.UpdateParameterGroupCommand(args);
|
|
295
|
-
if (typeof optionsOrCb === "function") {
|
|
296
|
-
this.send(command, optionsOrCb);
|
|
297
|
-
}
|
|
298
|
-
else if (typeof cb === "function") {
|
|
299
|
-
if (typeof optionsOrCb !== "object")
|
|
300
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
301
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
302
|
-
}
|
|
303
|
-
else {
|
|
304
|
-
return this.send(command, optionsOrCb);
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
updateSubnetGroup(args, optionsOrCb, cb) {
|
|
308
|
-
const command = new UpdateSubnetGroupCommand_1.UpdateSubnetGroupCommand(args);
|
|
309
|
-
if (typeof optionsOrCb === "function") {
|
|
310
|
-
this.send(command, optionsOrCb);
|
|
311
|
-
}
|
|
312
|
-
else if (typeof cb === "function") {
|
|
313
|
-
if (typeof optionsOrCb !== "object")
|
|
314
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
315
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
316
|
-
}
|
|
317
|
-
else {
|
|
318
|
-
return this.send(command, optionsOrCb);
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
51
|
}
|
|
322
52
|
exports.DAX = DAX;
|
|
53
|
+
(0, smithy_client_1.createAggregatedClient)(commands, DAX);
|
package/dist-es/DAX.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { createAggregatedClient } from "@aws-sdk/smithy-client";
|
|
1
2
|
import { CreateClusterCommand, } from "./commands/CreateClusterCommand";
|
|
2
3
|
import { CreateParameterGroupCommand, } from "./commands/CreateParameterGroupCommand";
|
|
3
4
|
import { CreateSubnetGroupCommand, } from "./commands/CreateSubnetGroupCommand";
|
|
@@ -20,299 +21,29 @@ import { UpdateClusterCommand, } from "./commands/UpdateClusterCommand";
|
|
|
20
21
|
import { UpdateParameterGroupCommand, } from "./commands/UpdateParameterGroupCommand";
|
|
21
22
|
import { UpdateSubnetGroupCommand, } from "./commands/UpdateSubnetGroupCommand";
|
|
22
23
|
import { DAXClient } from "./DAXClient";
|
|
24
|
+
const commands = {
|
|
25
|
+
CreateClusterCommand,
|
|
26
|
+
CreateParameterGroupCommand,
|
|
27
|
+
CreateSubnetGroupCommand,
|
|
28
|
+
DecreaseReplicationFactorCommand,
|
|
29
|
+
DeleteClusterCommand,
|
|
30
|
+
DeleteParameterGroupCommand,
|
|
31
|
+
DeleteSubnetGroupCommand,
|
|
32
|
+
DescribeClustersCommand,
|
|
33
|
+
DescribeDefaultParametersCommand,
|
|
34
|
+
DescribeEventsCommand,
|
|
35
|
+
DescribeParameterGroupsCommand,
|
|
36
|
+
DescribeParametersCommand,
|
|
37
|
+
DescribeSubnetGroupsCommand,
|
|
38
|
+
IncreaseReplicationFactorCommand,
|
|
39
|
+
ListTagsCommand,
|
|
40
|
+
RebootNodeCommand,
|
|
41
|
+
TagResourceCommand,
|
|
42
|
+
UntagResourceCommand,
|
|
43
|
+
UpdateClusterCommand,
|
|
44
|
+
UpdateParameterGroupCommand,
|
|
45
|
+
UpdateSubnetGroupCommand,
|
|
46
|
+
};
|
|
23
47
|
export class DAX extends DAXClient {
|
|
24
|
-
createCluster(args, optionsOrCb, cb) {
|
|
25
|
-
const command = new CreateClusterCommand(args);
|
|
26
|
-
if (typeof optionsOrCb === "function") {
|
|
27
|
-
this.send(command, optionsOrCb);
|
|
28
|
-
}
|
|
29
|
-
else if (typeof cb === "function") {
|
|
30
|
-
if (typeof optionsOrCb !== "object")
|
|
31
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
32
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
33
|
-
}
|
|
34
|
-
else {
|
|
35
|
-
return this.send(command, optionsOrCb);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
createParameterGroup(args, optionsOrCb, cb) {
|
|
39
|
-
const command = new CreateParameterGroupCommand(args);
|
|
40
|
-
if (typeof optionsOrCb === "function") {
|
|
41
|
-
this.send(command, optionsOrCb);
|
|
42
|
-
}
|
|
43
|
-
else if (typeof cb === "function") {
|
|
44
|
-
if (typeof optionsOrCb !== "object")
|
|
45
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
46
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
47
|
-
}
|
|
48
|
-
else {
|
|
49
|
-
return this.send(command, optionsOrCb);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
createSubnetGroup(args, optionsOrCb, cb) {
|
|
53
|
-
const command = new CreateSubnetGroupCommand(args);
|
|
54
|
-
if (typeof optionsOrCb === "function") {
|
|
55
|
-
this.send(command, optionsOrCb);
|
|
56
|
-
}
|
|
57
|
-
else if (typeof cb === "function") {
|
|
58
|
-
if (typeof optionsOrCb !== "object")
|
|
59
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
60
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
61
|
-
}
|
|
62
|
-
else {
|
|
63
|
-
return this.send(command, optionsOrCb);
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
decreaseReplicationFactor(args, optionsOrCb, cb) {
|
|
67
|
-
const command = new DecreaseReplicationFactorCommand(args);
|
|
68
|
-
if (typeof optionsOrCb === "function") {
|
|
69
|
-
this.send(command, optionsOrCb);
|
|
70
|
-
}
|
|
71
|
-
else if (typeof cb === "function") {
|
|
72
|
-
if (typeof optionsOrCb !== "object")
|
|
73
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
74
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
75
|
-
}
|
|
76
|
-
else {
|
|
77
|
-
return this.send(command, optionsOrCb);
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
deleteCluster(args, optionsOrCb, cb) {
|
|
81
|
-
const command = new DeleteClusterCommand(args);
|
|
82
|
-
if (typeof optionsOrCb === "function") {
|
|
83
|
-
this.send(command, optionsOrCb);
|
|
84
|
-
}
|
|
85
|
-
else if (typeof cb === "function") {
|
|
86
|
-
if (typeof optionsOrCb !== "object")
|
|
87
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
88
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
89
|
-
}
|
|
90
|
-
else {
|
|
91
|
-
return this.send(command, optionsOrCb);
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
deleteParameterGroup(args, optionsOrCb, cb) {
|
|
95
|
-
const command = new DeleteParameterGroupCommand(args);
|
|
96
|
-
if (typeof optionsOrCb === "function") {
|
|
97
|
-
this.send(command, optionsOrCb);
|
|
98
|
-
}
|
|
99
|
-
else if (typeof cb === "function") {
|
|
100
|
-
if (typeof optionsOrCb !== "object")
|
|
101
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
102
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
103
|
-
}
|
|
104
|
-
else {
|
|
105
|
-
return this.send(command, optionsOrCb);
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
deleteSubnetGroup(args, optionsOrCb, cb) {
|
|
109
|
-
const command = new DeleteSubnetGroupCommand(args);
|
|
110
|
-
if (typeof optionsOrCb === "function") {
|
|
111
|
-
this.send(command, optionsOrCb);
|
|
112
|
-
}
|
|
113
|
-
else if (typeof cb === "function") {
|
|
114
|
-
if (typeof optionsOrCb !== "object")
|
|
115
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
116
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
117
|
-
}
|
|
118
|
-
else {
|
|
119
|
-
return this.send(command, optionsOrCb);
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
describeClusters(args, optionsOrCb, cb) {
|
|
123
|
-
const command = new DescribeClustersCommand(args);
|
|
124
|
-
if (typeof optionsOrCb === "function") {
|
|
125
|
-
this.send(command, optionsOrCb);
|
|
126
|
-
}
|
|
127
|
-
else if (typeof cb === "function") {
|
|
128
|
-
if (typeof optionsOrCb !== "object")
|
|
129
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
130
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
131
|
-
}
|
|
132
|
-
else {
|
|
133
|
-
return this.send(command, optionsOrCb);
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
describeDefaultParameters(args, optionsOrCb, cb) {
|
|
137
|
-
const command = new DescribeDefaultParametersCommand(args);
|
|
138
|
-
if (typeof optionsOrCb === "function") {
|
|
139
|
-
this.send(command, optionsOrCb);
|
|
140
|
-
}
|
|
141
|
-
else if (typeof cb === "function") {
|
|
142
|
-
if (typeof optionsOrCb !== "object")
|
|
143
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
144
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
145
|
-
}
|
|
146
|
-
else {
|
|
147
|
-
return this.send(command, optionsOrCb);
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
describeEvents(args, optionsOrCb, cb) {
|
|
151
|
-
const command = new DescribeEventsCommand(args);
|
|
152
|
-
if (typeof optionsOrCb === "function") {
|
|
153
|
-
this.send(command, optionsOrCb);
|
|
154
|
-
}
|
|
155
|
-
else if (typeof cb === "function") {
|
|
156
|
-
if (typeof optionsOrCb !== "object")
|
|
157
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
158
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
159
|
-
}
|
|
160
|
-
else {
|
|
161
|
-
return this.send(command, optionsOrCb);
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
describeParameterGroups(args, optionsOrCb, cb) {
|
|
165
|
-
const command = new DescribeParameterGroupsCommand(args);
|
|
166
|
-
if (typeof optionsOrCb === "function") {
|
|
167
|
-
this.send(command, optionsOrCb);
|
|
168
|
-
}
|
|
169
|
-
else if (typeof cb === "function") {
|
|
170
|
-
if (typeof optionsOrCb !== "object")
|
|
171
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
172
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
173
|
-
}
|
|
174
|
-
else {
|
|
175
|
-
return this.send(command, optionsOrCb);
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
describeParameters(args, optionsOrCb, cb) {
|
|
179
|
-
const command = new DescribeParametersCommand(args);
|
|
180
|
-
if (typeof optionsOrCb === "function") {
|
|
181
|
-
this.send(command, optionsOrCb);
|
|
182
|
-
}
|
|
183
|
-
else if (typeof cb === "function") {
|
|
184
|
-
if (typeof optionsOrCb !== "object")
|
|
185
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
186
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
187
|
-
}
|
|
188
|
-
else {
|
|
189
|
-
return this.send(command, optionsOrCb);
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
describeSubnetGroups(args, optionsOrCb, cb) {
|
|
193
|
-
const command = new DescribeSubnetGroupsCommand(args);
|
|
194
|
-
if (typeof optionsOrCb === "function") {
|
|
195
|
-
this.send(command, optionsOrCb);
|
|
196
|
-
}
|
|
197
|
-
else if (typeof cb === "function") {
|
|
198
|
-
if (typeof optionsOrCb !== "object")
|
|
199
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
200
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
201
|
-
}
|
|
202
|
-
else {
|
|
203
|
-
return this.send(command, optionsOrCb);
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
increaseReplicationFactor(args, optionsOrCb, cb) {
|
|
207
|
-
const command = new IncreaseReplicationFactorCommand(args);
|
|
208
|
-
if (typeof optionsOrCb === "function") {
|
|
209
|
-
this.send(command, optionsOrCb);
|
|
210
|
-
}
|
|
211
|
-
else if (typeof cb === "function") {
|
|
212
|
-
if (typeof optionsOrCb !== "object")
|
|
213
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
214
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
215
|
-
}
|
|
216
|
-
else {
|
|
217
|
-
return this.send(command, optionsOrCb);
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
listTags(args, optionsOrCb, cb) {
|
|
221
|
-
const command = new ListTagsCommand(args);
|
|
222
|
-
if (typeof optionsOrCb === "function") {
|
|
223
|
-
this.send(command, optionsOrCb);
|
|
224
|
-
}
|
|
225
|
-
else if (typeof cb === "function") {
|
|
226
|
-
if (typeof optionsOrCb !== "object")
|
|
227
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
228
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
229
|
-
}
|
|
230
|
-
else {
|
|
231
|
-
return this.send(command, optionsOrCb);
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
rebootNode(args, optionsOrCb, cb) {
|
|
235
|
-
const command = new RebootNodeCommand(args);
|
|
236
|
-
if (typeof optionsOrCb === "function") {
|
|
237
|
-
this.send(command, optionsOrCb);
|
|
238
|
-
}
|
|
239
|
-
else if (typeof cb === "function") {
|
|
240
|
-
if (typeof optionsOrCb !== "object")
|
|
241
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
242
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
243
|
-
}
|
|
244
|
-
else {
|
|
245
|
-
return this.send(command, optionsOrCb);
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
tagResource(args, optionsOrCb, cb) {
|
|
249
|
-
const command = new TagResourceCommand(args);
|
|
250
|
-
if (typeof optionsOrCb === "function") {
|
|
251
|
-
this.send(command, optionsOrCb);
|
|
252
|
-
}
|
|
253
|
-
else if (typeof cb === "function") {
|
|
254
|
-
if (typeof optionsOrCb !== "object")
|
|
255
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
256
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
257
|
-
}
|
|
258
|
-
else {
|
|
259
|
-
return this.send(command, optionsOrCb);
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
untagResource(args, optionsOrCb, cb) {
|
|
263
|
-
const command = new UntagResourceCommand(args);
|
|
264
|
-
if (typeof optionsOrCb === "function") {
|
|
265
|
-
this.send(command, optionsOrCb);
|
|
266
|
-
}
|
|
267
|
-
else if (typeof cb === "function") {
|
|
268
|
-
if (typeof optionsOrCb !== "object")
|
|
269
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
270
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
271
|
-
}
|
|
272
|
-
else {
|
|
273
|
-
return this.send(command, optionsOrCb);
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
updateCluster(args, optionsOrCb, cb) {
|
|
277
|
-
const command = new UpdateClusterCommand(args);
|
|
278
|
-
if (typeof optionsOrCb === "function") {
|
|
279
|
-
this.send(command, optionsOrCb);
|
|
280
|
-
}
|
|
281
|
-
else if (typeof cb === "function") {
|
|
282
|
-
if (typeof optionsOrCb !== "object")
|
|
283
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
284
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
285
|
-
}
|
|
286
|
-
else {
|
|
287
|
-
return this.send(command, optionsOrCb);
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
updateParameterGroup(args, optionsOrCb, cb) {
|
|
291
|
-
const command = new UpdateParameterGroupCommand(args);
|
|
292
|
-
if (typeof optionsOrCb === "function") {
|
|
293
|
-
this.send(command, optionsOrCb);
|
|
294
|
-
}
|
|
295
|
-
else if (typeof cb === "function") {
|
|
296
|
-
if (typeof optionsOrCb !== "object")
|
|
297
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
298
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
299
|
-
}
|
|
300
|
-
else {
|
|
301
|
-
return this.send(command, optionsOrCb);
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
updateSubnetGroup(args, optionsOrCb, cb) {
|
|
305
|
-
const command = new UpdateSubnetGroupCommand(args);
|
|
306
|
-
if (typeof optionsOrCb === "function") {
|
|
307
|
-
this.send(command, optionsOrCb);
|
|
308
|
-
}
|
|
309
|
-
else if (typeof cb === "function") {
|
|
310
|
-
if (typeof optionsOrCb !== "object")
|
|
311
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
312
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
313
|
-
}
|
|
314
|
-
else {
|
|
315
|
-
return this.send(command, optionsOrCb);
|
|
316
|
-
}
|
|
317
|
-
}
|
|
318
48
|
}
|
|
49
|
+
createAggregatedClient(commands, DAX);
|
package/dist-types/DAX.d.ts
CHANGED
|
@@ -21,206 +21,142 @@ import { UpdateClusterCommandInput, UpdateClusterCommandOutput } from "./command
|
|
|
21
21
|
import { UpdateParameterGroupCommandInput, UpdateParameterGroupCommandOutput } from "./commands/UpdateParameterGroupCommand";
|
|
22
22
|
import { UpdateSubnetGroupCommandInput, UpdateSubnetGroupCommandOutput } from "./commands/UpdateSubnetGroupCommand";
|
|
23
23
|
import { DAXClient } from "./DAXClient";
|
|
24
|
-
|
|
25
|
-
* @public
|
|
26
|
-
* <p>DAX is a managed caching service engineered for Amazon DynamoDB. DAX
|
|
27
|
-
* dramatically speeds up database reads by caching frequently-accessed data from DynamoDB, so
|
|
28
|
-
* applications can access that data with sub-millisecond latency. You can create a DAX
|
|
29
|
-
* cluster easily, using the AWS Management Console. With a few simple modifications to
|
|
30
|
-
* your code, your application can begin taking advantage of the DAX cluster and realize
|
|
31
|
-
* significant improvements in read performance.</p>
|
|
32
|
-
*/
|
|
33
|
-
export declare class DAX extends DAXClient {
|
|
24
|
+
export interface DAX {
|
|
34
25
|
/**
|
|
35
|
-
* @
|
|
36
|
-
* <p>Creates a DAX cluster. All nodes in the cluster run the same DAX caching software.</p>
|
|
26
|
+
* @see {@link CreateClusterCommand}
|
|
37
27
|
*/
|
|
38
28
|
createCluster(args: CreateClusterCommandInput, options?: __HttpHandlerOptions): Promise<CreateClusterCommandOutput>;
|
|
39
29
|
createCluster(args: CreateClusterCommandInput, cb: (err: any, data?: CreateClusterCommandOutput) => void): void;
|
|
40
30
|
createCluster(args: CreateClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateClusterCommandOutput) => void): void;
|
|
41
31
|
/**
|
|
42
|
-
* @
|
|
43
|
-
* <p>Creates a new parameter group. A parameter group is a collection of parameters that
|
|
44
|
-
* you apply to all of the nodes in a DAX cluster.</p>
|
|
32
|
+
* @see {@link CreateParameterGroupCommand}
|
|
45
33
|
*/
|
|
46
34
|
createParameterGroup(args: CreateParameterGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateParameterGroupCommandOutput>;
|
|
47
35
|
createParameterGroup(args: CreateParameterGroupCommandInput, cb: (err: any, data?: CreateParameterGroupCommandOutput) => void): void;
|
|
48
36
|
createParameterGroup(args: CreateParameterGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateParameterGroupCommandOutput) => void): void;
|
|
49
37
|
/**
|
|
50
|
-
* @
|
|
51
|
-
* <p>Creates a new subnet group.</p>
|
|
38
|
+
* @see {@link CreateSubnetGroupCommand}
|
|
52
39
|
*/
|
|
53
40
|
createSubnetGroup(args: CreateSubnetGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateSubnetGroupCommandOutput>;
|
|
54
41
|
createSubnetGroup(args: CreateSubnetGroupCommandInput, cb: (err: any, data?: CreateSubnetGroupCommandOutput) => void): void;
|
|
55
42
|
createSubnetGroup(args: CreateSubnetGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSubnetGroupCommandOutput) => void): void;
|
|
56
43
|
/**
|
|
57
|
-
* @
|
|
58
|
-
* <p>Removes one or more nodes from a DAX cluster.</p>
|
|
59
|
-
* <note>
|
|
60
|
-
* <p>You cannot use <code>DecreaseReplicationFactor</code> to remove the last node in a DAX cluster. If you need to do this, use <code>DeleteCluster</code> instead.</p>
|
|
61
|
-
* </note>
|
|
44
|
+
* @see {@link DecreaseReplicationFactorCommand}
|
|
62
45
|
*/
|
|
63
46
|
decreaseReplicationFactor(args: DecreaseReplicationFactorCommandInput, options?: __HttpHandlerOptions): Promise<DecreaseReplicationFactorCommandOutput>;
|
|
64
47
|
decreaseReplicationFactor(args: DecreaseReplicationFactorCommandInput, cb: (err: any, data?: DecreaseReplicationFactorCommandOutput) => void): void;
|
|
65
48
|
decreaseReplicationFactor(args: DecreaseReplicationFactorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DecreaseReplicationFactorCommandOutput) => void): void;
|
|
66
49
|
/**
|
|
67
|
-
* @
|
|
68
|
-
* <p>Deletes a previously provisioned DAX cluster.
|
|
69
|
-
* <i>DeleteCluster</i> deletes all associated nodes, node endpoints
|
|
70
|
-
* and the DAX cluster itself. When you receive a successful response from this action,
|
|
71
|
-
* DAX immediately begins deleting the cluster; you cannot cancel or revert this
|
|
72
|
-
* action.</p>
|
|
50
|
+
* @see {@link DeleteClusterCommand}
|
|
73
51
|
*/
|
|
74
52
|
deleteCluster(args: DeleteClusterCommandInput, options?: __HttpHandlerOptions): Promise<DeleteClusterCommandOutput>;
|
|
75
53
|
deleteCluster(args: DeleteClusterCommandInput, cb: (err: any, data?: DeleteClusterCommandOutput) => void): void;
|
|
76
54
|
deleteCluster(args: DeleteClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteClusterCommandOutput) => void): void;
|
|
77
55
|
/**
|
|
78
|
-
* @
|
|
79
|
-
* <p>Deletes the specified parameter group. You cannot delete a parameter group if it is
|
|
80
|
-
* associated with any DAX clusters.</p>
|
|
56
|
+
* @see {@link DeleteParameterGroupCommand}
|
|
81
57
|
*/
|
|
82
58
|
deleteParameterGroup(args: DeleteParameterGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteParameterGroupCommandOutput>;
|
|
83
59
|
deleteParameterGroup(args: DeleteParameterGroupCommandInput, cb: (err: any, data?: DeleteParameterGroupCommandOutput) => void): void;
|
|
84
60
|
deleteParameterGroup(args: DeleteParameterGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteParameterGroupCommandOutput) => void): void;
|
|
85
61
|
/**
|
|
86
|
-
* @
|
|
87
|
-
* <p>Deletes a subnet group.</p>
|
|
88
|
-
* <note>
|
|
89
|
-
* <p>You cannot delete a subnet group if it is associated with any DAX
|
|
90
|
-
* clusters.</p>
|
|
91
|
-
* </note>
|
|
62
|
+
* @see {@link DeleteSubnetGroupCommand}
|
|
92
63
|
*/
|
|
93
64
|
deleteSubnetGroup(args: DeleteSubnetGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSubnetGroupCommandOutput>;
|
|
94
65
|
deleteSubnetGroup(args: DeleteSubnetGroupCommandInput, cb: (err: any, data?: DeleteSubnetGroupCommandOutput) => void): void;
|
|
95
66
|
deleteSubnetGroup(args: DeleteSubnetGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSubnetGroupCommandOutput) => void): void;
|
|
96
67
|
/**
|
|
97
|
-
* @
|
|
98
|
-
* <p>Returns information about all provisioned DAX clusters if no cluster identifier
|
|
99
|
-
* is specified, or about a specific DAX cluster if a cluster identifier is
|
|
100
|
-
* supplied.</p>
|
|
101
|
-
* <p>If the cluster is in the CREATING state, only cluster level information will be
|
|
102
|
-
* displayed until all of the nodes are successfully provisioned.</p>
|
|
103
|
-
* <p>If the cluster is in the DELETING state, only cluster level information will be
|
|
104
|
-
* displayed.</p>
|
|
105
|
-
* <p>If nodes are currently being added to the DAX cluster, node endpoint information
|
|
106
|
-
* and creation time for the additional nodes will not be displayed until they are
|
|
107
|
-
* completely provisioned. When the DAX cluster state is <i>available</i>,
|
|
108
|
-
* the cluster is ready for use.</p>
|
|
109
|
-
* <p>If nodes are currently being removed from the DAX cluster, no endpoint
|
|
110
|
-
* information for the removed nodes is displayed.</p>
|
|
68
|
+
* @see {@link DescribeClustersCommand}
|
|
111
69
|
*/
|
|
112
70
|
describeClusters(args: DescribeClustersCommandInput, options?: __HttpHandlerOptions): Promise<DescribeClustersCommandOutput>;
|
|
113
71
|
describeClusters(args: DescribeClustersCommandInput, cb: (err: any, data?: DescribeClustersCommandOutput) => void): void;
|
|
114
72
|
describeClusters(args: DescribeClustersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeClustersCommandOutput) => void): void;
|
|
115
73
|
/**
|
|
116
|
-
* @
|
|
117
|
-
* <p>Returns the default system parameter information for the DAX caching
|
|
118
|
-
* software.</p>
|
|
74
|
+
* @see {@link DescribeDefaultParametersCommand}
|
|
119
75
|
*/
|
|
120
76
|
describeDefaultParameters(args: DescribeDefaultParametersCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDefaultParametersCommandOutput>;
|
|
121
77
|
describeDefaultParameters(args: DescribeDefaultParametersCommandInput, cb: (err: any, data?: DescribeDefaultParametersCommandOutput) => void): void;
|
|
122
78
|
describeDefaultParameters(args: DescribeDefaultParametersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDefaultParametersCommandOutput) => void): void;
|
|
123
79
|
/**
|
|
124
|
-
* @
|
|
125
|
-
* <p>Returns events related to DAX clusters and parameter groups. You can obtain
|
|
126
|
-
* events specific to a particular DAX cluster or parameter group by providing the name
|
|
127
|
-
* as a parameter.</p>
|
|
128
|
-
* <p>By default, only the events occurring within the last 24 hours are returned; however,
|
|
129
|
-
* you can retrieve up to 14 days' worth of events if necessary.</p>
|
|
80
|
+
* @see {@link DescribeEventsCommand}
|
|
130
81
|
*/
|
|
131
82
|
describeEvents(args: DescribeEventsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeEventsCommandOutput>;
|
|
132
83
|
describeEvents(args: DescribeEventsCommandInput, cb: (err: any, data?: DescribeEventsCommandOutput) => void): void;
|
|
133
84
|
describeEvents(args: DescribeEventsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeEventsCommandOutput) => void): void;
|
|
134
85
|
/**
|
|
135
|
-
* @
|
|
136
|
-
* <p>Returns a list of parameter group descriptions. If a parameter group name is
|
|
137
|
-
* specified, the list will contain only the descriptions for that group.</p>
|
|
86
|
+
* @see {@link DescribeParameterGroupsCommand}
|
|
138
87
|
*/
|
|
139
88
|
describeParameterGroups(args: DescribeParameterGroupsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeParameterGroupsCommandOutput>;
|
|
140
89
|
describeParameterGroups(args: DescribeParameterGroupsCommandInput, cb: (err: any, data?: DescribeParameterGroupsCommandOutput) => void): void;
|
|
141
90
|
describeParameterGroups(args: DescribeParameterGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeParameterGroupsCommandOutput) => void): void;
|
|
142
91
|
/**
|
|
143
|
-
* @
|
|
144
|
-
* <p>Returns the detailed parameter list for a particular parameter group.</p>
|
|
92
|
+
* @see {@link DescribeParametersCommand}
|
|
145
93
|
*/
|
|
146
94
|
describeParameters(args: DescribeParametersCommandInput, options?: __HttpHandlerOptions): Promise<DescribeParametersCommandOutput>;
|
|
147
95
|
describeParameters(args: DescribeParametersCommandInput, cb: (err: any, data?: DescribeParametersCommandOutput) => void): void;
|
|
148
96
|
describeParameters(args: DescribeParametersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeParametersCommandOutput) => void): void;
|
|
149
97
|
/**
|
|
150
|
-
* @
|
|
151
|
-
* <p>Returns a list of subnet group descriptions. If a subnet group name is specified,
|
|
152
|
-
* the list will contain only the description of that group.</p>
|
|
98
|
+
* @see {@link DescribeSubnetGroupsCommand}
|
|
153
99
|
*/
|
|
154
100
|
describeSubnetGroups(args: DescribeSubnetGroupsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSubnetGroupsCommandOutput>;
|
|
155
101
|
describeSubnetGroups(args: DescribeSubnetGroupsCommandInput, cb: (err: any, data?: DescribeSubnetGroupsCommandOutput) => void): void;
|
|
156
102
|
describeSubnetGroups(args: DescribeSubnetGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSubnetGroupsCommandOutput) => void): void;
|
|
157
103
|
/**
|
|
158
|
-
* @
|
|
159
|
-
* <p>Adds one or more nodes to a DAX cluster.</p>
|
|
104
|
+
* @see {@link IncreaseReplicationFactorCommand}
|
|
160
105
|
*/
|
|
161
106
|
increaseReplicationFactor(args: IncreaseReplicationFactorCommandInput, options?: __HttpHandlerOptions): Promise<IncreaseReplicationFactorCommandOutput>;
|
|
162
107
|
increaseReplicationFactor(args: IncreaseReplicationFactorCommandInput, cb: (err: any, data?: IncreaseReplicationFactorCommandOutput) => void): void;
|
|
163
108
|
increaseReplicationFactor(args: IncreaseReplicationFactorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: IncreaseReplicationFactorCommandOutput) => void): void;
|
|
164
109
|
/**
|
|
165
|
-
* @
|
|
166
|
-
* <p>List all of the tags for a DAX cluster. You can call <code>ListTags</code> up to
|
|
167
|
-
* 10 times per second, per account.</p>
|
|
110
|
+
* @see {@link ListTagsCommand}
|
|
168
111
|
*/
|
|
169
112
|
listTags(args: ListTagsCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsCommandOutput>;
|
|
170
113
|
listTags(args: ListTagsCommandInput, cb: (err: any, data?: ListTagsCommandOutput) => void): void;
|
|
171
114
|
listTags(args: ListTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsCommandOutput) => void): void;
|
|
172
115
|
/**
|
|
173
|
-
* @
|
|
174
|
-
* <p>Reboots a single node of a DAX cluster. The reboot action takes place
|
|
175
|
-
* as soon as possible. During the
|
|
176
|
-
* reboot, the node status is set to REBOOTING.</p>
|
|
177
|
-
* <note>
|
|
178
|
-
* <p>
|
|
179
|
-
* <code>RebootNode</code> restarts the DAX engine process and does not remove the contents of the cache. </p>
|
|
180
|
-
* </note>
|
|
116
|
+
* @see {@link RebootNodeCommand}
|
|
181
117
|
*/
|
|
182
118
|
rebootNode(args: RebootNodeCommandInput, options?: __HttpHandlerOptions): Promise<RebootNodeCommandOutput>;
|
|
183
119
|
rebootNode(args: RebootNodeCommandInput, cb: (err: any, data?: RebootNodeCommandOutput) => void): void;
|
|
184
120
|
rebootNode(args: RebootNodeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RebootNodeCommandOutput) => void): void;
|
|
185
121
|
/**
|
|
186
|
-
* @
|
|
187
|
-
* <p>Associates a set of tags with a DAX resource. You can call <code>TagResource</code> up to 5 times per second, per
|
|
188
|
-
* account. </p>
|
|
122
|
+
* @see {@link TagResourceCommand}
|
|
189
123
|
*/
|
|
190
124
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
191
125
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
192
126
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
193
127
|
/**
|
|
194
|
-
* @
|
|
195
|
-
* <p>Removes the association of tags from a DAX resource. You can call
|
|
196
|
-
* <code>UntagResource</code> up to 5 times per second, per account. </p>
|
|
128
|
+
* @see {@link UntagResourceCommand}
|
|
197
129
|
*/
|
|
198
130
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
199
131
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
200
132
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
201
133
|
/**
|
|
202
|
-
* @
|
|
203
|
-
* <p>Modifies the settings for a DAX cluster. You can use this action to change one or
|
|
204
|
-
* more cluster configuration parameters by specifying the parameters and the new
|
|
205
|
-
* values.</p>
|
|
134
|
+
* @see {@link UpdateClusterCommand}
|
|
206
135
|
*/
|
|
207
136
|
updateCluster(args: UpdateClusterCommandInput, options?: __HttpHandlerOptions): Promise<UpdateClusterCommandOutput>;
|
|
208
137
|
updateCluster(args: UpdateClusterCommandInput, cb: (err: any, data?: UpdateClusterCommandOutput) => void): void;
|
|
209
138
|
updateCluster(args: UpdateClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateClusterCommandOutput) => void): void;
|
|
210
139
|
/**
|
|
211
|
-
* @
|
|
212
|
-
* <p>Modifies the parameters of a parameter group. You can modify up to 20
|
|
213
|
-
* parameters in a single request by submitting a list parameter name and value
|
|
214
|
-
* pairs.</p>
|
|
140
|
+
* @see {@link UpdateParameterGroupCommand}
|
|
215
141
|
*/
|
|
216
142
|
updateParameterGroup(args: UpdateParameterGroupCommandInput, options?: __HttpHandlerOptions): Promise<UpdateParameterGroupCommandOutput>;
|
|
217
143
|
updateParameterGroup(args: UpdateParameterGroupCommandInput, cb: (err: any, data?: UpdateParameterGroupCommandOutput) => void): void;
|
|
218
144
|
updateParameterGroup(args: UpdateParameterGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateParameterGroupCommandOutput) => void): void;
|
|
219
145
|
/**
|
|
220
|
-
* @
|
|
221
|
-
* <p>Modifies an existing subnet group.</p>
|
|
146
|
+
* @see {@link UpdateSubnetGroupCommand}
|
|
222
147
|
*/
|
|
223
148
|
updateSubnetGroup(args: UpdateSubnetGroupCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSubnetGroupCommandOutput>;
|
|
224
149
|
updateSubnetGroup(args: UpdateSubnetGroupCommandInput, cb: (err: any, data?: UpdateSubnetGroupCommandOutput) => void): void;
|
|
225
150
|
updateSubnetGroup(args: UpdateSubnetGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSubnetGroupCommandOutput) => void): void;
|
|
226
151
|
}
|
|
152
|
+
/**
|
|
153
|
+
* @public
|
|
154
|
+
* <p>DAX is a managed caching service engineered for Amazon DynamoDB. DAX
|
|
155
|
+
* dramatically speeds up database reads by caching frequently-accessed data from DynamoDB, so
|
|
156
|
+
* applications can access that data with sub-millisecond latency. You can create a DAX
|
|
157
|
+
* cluster easily, using the AWS Management Console. With a few simple modifications to
|
|
158
|
+
* your code, your application can begin taking advantage of the DAX cluster and realize
|
|
159
|
+
* significant improvements in read performance.</p>
|
|
160
|
+
*/
|
|
161
|
+
export declare class DAX extends DAXClient implements DAX {
|
|
162
|
+
}
|
|
@@ -84,7 +84,7 @@ import {
|
|
|
84
84
|
UpdateSubnetGroupCommandOutput,
|
|
85
85
|
} from "./commands/UpdateSubnetGroupCommand";
|
|
86
86
|
import { DAXClient } from "./DAXClient";
|
|
87
|
-
export
|
|
87
|
+
export interface DAX {
|
|
88
88
|
createCluster(
|
|
89
89
|
args: CreateClusterCommandInput,
|
|
90
90
|
options?: __HttpHandlerOptions
|
|
@@ -359,3 +359,4 @@ export declare class DAX extends DAXClient {
|
|
|
359
359
|
cb: (err: any, data?: UpdateSubnetGroupCommandOutput) => void
|
|
360
360
|
): void;
|
|
361
361
|
}
|
|
362
|
+
export declare class DAX extends DAXClient implements DAX {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-dax",
|
|
3
3
|
"description": "AWS SDK for JavaScript Dax Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.316.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.316.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.316.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -40,14 +40,14 @@
|
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.310.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|