@aws-sdk/client-dax 3.895.0 → 3.896.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 +5 -5
- package/dist-cjs/index.js +40 -0
- package/dist-es/models/models_0.js +17 -0
- package/dist-es/protocols/Aws_json1_1.js +14 -1
- package/dist-types/DAX.d.ts +5 -5
- package/dist-types/DAXClient.d.ts +5 -5
- package/dist-types/commands/CreateClusterCommand.d.ts +9 -8
- package/dist-types/commands/CreateSubnetGroupCommand.d.ts +13 -0
- package/dist-types/commands/DecreaseReplicationFactorCommand.d.ts +9 -5
- package/dist-types/commands/DeleteClusterCommand.d.ts +9 -7
- package/dist-types/commands/DeleteSubnetGroupCommand.d.ts +2 -2
- package/dist-types/commands/DescribeClustersCommand.d.ts +12 -10
- package/dist-types/commands/DescribeEventsCommand.d.ts +5 -5
- package/dist-types/commands/DescribeSubnetGroupsCommand.d.ts +6 -0
- package/dist-types/commands/IncreaseReplicationFactorCommand.d.ts +6 -5
- package/dist-types/commands/ListTagsCommand.d.ts +6 -5
- package/dist-types/commands/RebootNodeCommand.d.ts +12 -9
- package/dist-types/commands/TagResourceCommand.d.ts +7 -5
- package/dist-types/commands/UntagResourceCommand.d.ts +5 -4
- package/dist-types/commands/UpdateClusterCommand.d.ts +8 -6
- package/dist-types/commands/UpdateParameterGroupCommand.d.ts +2 -3
- package/dist-types/commands/UpdateSubnetGroupCommand.d.ts +13 -0
- package/dist-types/index.d.ts +5 -5
- package/dist-types/models/models_0.d.ts +267 -156
- package/dist-types/ts3.4/models/models_0.d.ts +17 -0
- package/package.json +11 -11
package/README.md
CHANGED
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
|
|
7
7
|
AWS SDK for JavaScript DAX Client for Node.js, Browser and React Native.
|
|
8
8
|
|
|
9
|
-
<p>DAX is a managed caching service engineered for Amazon DynamoDB. DAX
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
<p>DAX is a managed caching service engineered for Amazon DynamoDB. DAX dramatically speeds up database reads by caching
|
|
10
|
+
frequently-accessed data from DynamoDB, so applications can access that data
|
|
11
|
+
with sub-millisecond latency. You can create a DAX cluster easily, using
|
|
12
|
+
the Amazon Web Services Management Console. With a few simple modifications to your code, your
|
|
13
|
+
application can begin taking advantage of the DAX cluster and realize
|
|
14
14
|
significant improvements in read performance.</p>
|
|
15
15
|
|
|
16
16
|
## Installing
|
package/dist-cjs/index.js
CHANGED
|
@@ -53,6 +53,7 @@ __export(index_exports, {
|
|
|
53
53
|
InvalidVPCNetworkStateFault: () => InvalidVPCNetworkStateFault,
|
|
54
54
|
IsModifiable: () => IsModifiable,
|
|
55
55
|
ListTagsCommand: () => ListTagsCommand,
|
|
56
|
+
NetworkType: () => NetworkType,
|
|
56
57
|
NodeNotFoundFault: () => NodeNotFoundFault,
|
|
57
58
|
NodeQuotaForClusterExceededFault: () => NodeQuotaForClusterExceededFault,
|
|
58
59
|
NodeQuotaForCustomerExceededFault: () => NodeQuotaForCustomerExceededFault,
|
|
@@ -70,6 +71,7 @@ __export(index_exports, {
|
|
|
70
71
|
SubnetGroupNotFoundFault: () => SubnetGroupNotFoundFault,
|
|
71
72
|
SubnetGroupQuotaExceededFault: () => SubnetGroupQuotaExceededFault,
|
|
72
73
|
SubnetInUse: () => SubnetInUse,
|
|
74
|
+
SubnetNotAllowedFault: () => SubnetNotAllowedFault,
|
|
73
75
|
SubnetQuotaExceededFault: () => SubnetQuotaExceededFault,
|
|
74
76
|
TagNotFoundFault: () => TagNotFoundFault,
|
|
75
77
|
TagQuotaPerResourceExceeded: () => TagQuotaPerResourceExceeded,
|
|
@@ -292,6 +294,11 @@ var ClusterEndpointEncryptionType = {
|
|
|
292
294
|
NONE: "NONE",
|
|
293
295
|
TLS: "TLS"
|
|
294
296
|
};
|
|
297
|
+
var NetworkType = {
|
|
298
|
+
DUAL_STACK: "dual_stack",
|
|
299
|
+
IPV4: "ipv4",
|
|
300
|
+
IPV6: "ipv6"
|
|
301
|
+
};
|
|
295
302
|
var SSEStatus = {
|
|
296
303
|
DISABLED: "DISABLED",
|
|
297
304
|
DISABLING: "DISABLING",
|
|
@@ -622,6 +629,24 @@ var SubnetGroupQuotaExceededFault = class _SubnetGroupQuotaExceededFault extends
|
|
|
622
629
|
Object.setPrototypeOf(this, _SubnetGroupQuotaExceededFault.prototype);
|
|
623
630
|
}
|
|
624
631
|
};
|
|
632
|
+
var SubnetNotAllowedFault = class _SubnetNotAllowedFault extends DAXServiceException {
|
|
633
|
+
static {
|
|
634
|
+
__name(this, "SubnetNotAllowedFault");
|
|
635
|
+
}
|
|
636
|
+
name = "SubnetNotAllowedFault";
|
|
637
|
+
$fault = "client";
|
|
638
|
+
/**
|
|
639
|
+
* @internal
|
|
640
|
+
*/
|
|
641
|
+
constructor(opts) {
|
|
642
|
+
super({
|
|
643
|
+
name: "SubnetNotAllowedFault",
|
|
644
|
+
$fault: "client",
|
|
645
|
+
...opts
|
|
646
|
+
});
|
|
647
|
+
Object.setPrototypeOf(this, _SubnetNotAllowedFault.prototype);
|
|
648
|
+
}
|
|
649
|
+
};
|
|
625
650
|
var SubnetQuotaExceededFault = class _SubnetQuotaExceededFault extends DAXServiceException {
|
|
626
651
|
static {
|
|
627
652
|
__name(this, "SubnetQuotaExceededFault");
|
|
@@ -1234,6 +1259,9 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1234
1259
|
case "SubnetGroupQuotaExceededFault":
|
|
1235
1260
|
case "com.amazonaws.dax#SubnetGroupQuotaExceededFault":
|
|
1236
1261
|
throw await de_SubnetGroupQuotaExceededFaultRes(parsedOutput, context);
|
|
1262
|
+
case "SubnetNotAllowedFault":
|
|
1263
|
+
case "com.amazonaws.dax#SubnetNotAllowedFault":
|
|
1264
|
+
throw await de_SubnetNotAllowedFaultRes(parsedOutput, context);
|
|
1237
1265
|
case "SubnetQuotaExceededFault":
|
|
1238
1266
|
case "com.amazonaws.dax#SubnetQuotaExceededFault":
|
|
1239
1267
|
throw await de_SubnetQuotaExceededFaultRes(parsedOutput, context);
|
|
@@ -1480,6 +1508,15 @@ var de_SubnetInUseRes = /* @__PURE__ */ __name(async (parsedOutput, context) =>
|
|
|
1480
1508
|
});
|
|
1481
1509
|
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1482
1510
|
}, "de_SubnetInUseRes");
|
|
1511
|
+
var de_SubnetNotAllowedFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1512
|
+
const body = parsedOutput.body;
|
|
1513
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1514
|
+
const exception = new SubnetNotAllowedFault({
|
|
1515
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1516
|
+
...deserialized
|
|
1517
|
+
});
|
|
1518
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1519
|
+
}, "de_SubnetNotAllowedFaultRes");
|
|
1483
1520
|
var de_SubnetQuotaExceededFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1484
1521
|
const body = parsedOutput.body;
|
|
1485
1522
|
const deserialized = (0, import_smithy_client._json)(body);
|
|
@@ -1527,6 +1564,7 @@ var de_Cluster = /* @__PURE__ */ __name((output, context) => {
|
|
|
1527
1564
|
ClusterName: import_smithy_client.expectString,
|
|
1528
1565
|
Description: import_smithy_client.expectString,
|
|
1529
1566
|
IamRoleArn: import_smithy_client.expectString,
|
|
1567
|
+
NetworkType: import_smithy_client.expectString,
|
|
1530
1568
|
NodeIdsToRemove: import_smithy_client._json,
|
|
1531
1569
|
NodeType: import_smithy_client.expectString,
|
|
1532
1570
|
Nodes: /* @__PURE__ */ __name((_) => de_NodeList(_, context), "Nodes"),
|
|
@@ -2025,6 +2063,7 @@ var DAX = class extends DAXClient {
|
|
|
2025
2063
|
ClusterAlreadyExistsFault,
|
|
2026
2064
|
ClusterQuotaForCustomerExceededFault,
|
|
2027
2065
|
ClusterEndpointEncryptionType,
|
|
2066
|
+
NetworkType,
|
|
2028
2067
|
SSEStatus,
|
|
2029
2068
|
InsufficientClusterCapacityFault,
|
|
2030
2069
|
InvalidClusterStateFault,
|
|
@@ -2044,6 +2083,7 @@ var DAX = class extends DAXClient {
|
|
|
2044
2083
|
InvalidSubnet,
|
|
2045
2084
|
SubnetGroupAlreadyExistsFault,
|
|
2046
2085
|
SubnetGroupQuotaExceededFault,
|
|
2086
|
+
SubnetNotAllowedFault,
|
|
2047
2087
|
SubnetQuotaExceededFault,
|
|
2048
2088
|
ClusterNotFoundFault,
|
|
2049
2089
|
NodeNotFoundFault,
|
|
@@ -27,6 +27,11 @@ export const ClusterEndpointEncryptionType = {
|
|
|
27
27
|
NONE: "NONE",
|
|
28
28
|
TLS: "TLS",
|
|
29
29
|
};
|
|
30
|
+
export const NetworkType = {
|
|
31
|
+
DUAL_STACK: "dual_stack",
|
|
32
|
+
IPV4: "ipv4",
|
|
33
|
+
IPV6: "ipv6",
|
|
34
|
+
};
|
|
30
35
|
export const SSEStatus = {
|
|
31
36
|
DISABLED: "DISABLED",
|
|
32
37
|
DISABLING: "DISABLING",
|
|
@@ -249,6 +254,18 @@ export class SubnetGroupQuotaExceededFault extends __BaseException {
|
|
|
249
254
|
Object.setPrototypeOf(this, SubnetGroupQuotaExceededFault.prototype);
|
|
250
255
|
}
|
|
251
256
|
}
|
|
257
|
+
export class SubnetNotAllowedFault extends __BaseException {
|
|
258
|
+
name = "SubnetNotAllowedFault";
|
|
259
|
+
$fault = "client";
|
|
260
|
+
constructor(opts) {
|
|
261
|
+
super({
|
|
262
|
+
name: "SubnetNotAllowedFault",
|
|
263
|
+
$fault: "client",
|
|
264
|
+
...opts,
|
|
265
|
+
});
|
|
266
|
+
Object.setPrototypeOf(this, SubnetNotAllowedFault.prototype);
|
|
267
|
+
}
|
|
268
|
+
}
|
|
252
269
|
export class SubnetQuotaExceededFault extends __BaseException {
|
|
253
270
|
name = "SubnetQuotaExceededFault";
|
|
254
271
|
$fault = "client";
|
|
@@ -2,7 +2,7 @@ import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody a
|
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
3
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { DAXServiceException as __BaseException } from "../models/DAXServiceException";
|
|
5
|
-
import { ClusterAlreadyExistsFault, ClusterNotFoundFault, ClusterQuotaForCustomerExceededFault, InsufficientClusterCapacityFault, InvalidARNFault, InvalidClusterStateFault, InvalidParameterCombinationException, InvalidParameterGroupStateFault, InvalidParameterValueException, InvalidSubnet, InvalidVPCNetworkStateFault, NodeNotFoundFault, NodeQuotaForClusterExceededFault, NodeQuotaForCustomerExceededFault, ParameterGroupAlreadyExistsFault, ParameterGroupNotFoundFault, ParameterGroupQuotaExceededFault, ServiceLinkedRoleNotFoundFault, ServiceQuotaExceededException, SubnetGroupAlreadyExistsFault, SubnetGroupInUseFault, SubnetGroupNotFoundFault, SubnetGroupQuotaExceededFault, SubnetInUse, SubnetQuotaExceededFault, TagNotFoundFault, TagQuotaPerResourceExceeded, } from "../models/models_0";
|
|
5
|
+
import { ClusterAlreadyExistsFault, ClusterNotFoundFault, ClusterQuotaForCustomerExceededFault, InsufficientClusterCapacityFault, InvalidARNFault, InvalidClusterStateFault, InvalidParameterCombinationException, InvalidParameterGroupStateFault, InvalidParameterValueException, InvalidSubnet, InvalidVPCNetworkStateFault, NodeNotFoundFault, NodeQuotaForClusterExceededFault, NodeQuotaForCustomerExceededFault, ParameterGroupAlreadyExistsFault, ParameterGroupNotFoundFault, ParameterGroupQuotaExceededFault, ServiceLinkedRoleNotFoundFault, ServiceQuotaExceededException, SubnetGroupAlreadyExistsFault, SubnetGroupInUseFault, SubnetGroupNotFoundFault, SubnetGroupQuotaExceededFault, SubnetInUse, SubnetNotAllowedFault, SubnetQuotaExceededFault, TagNotFoundFault, TagQuotaPerResourceExceeded, } from "../models/models_0";
|
|
6
6
|
export const se_CreateClusterCommand = async (input, context) => {
|
|
7
7
|
const headers = sharedHeaders("CreateCluster");
|
|
8
8
|
let body;
|
|
@@ -469,6 +469,9 @@ const de_CommandError = async (output, context) => {
|
|
|
469
469
|
case "SubnetGroupQuotaExceededFault":
|
|
470
470
|
case "com.amazonaws.dax#SubnetGroupQuotaExceededFault":
|
|
471
471
|
throw await de_SubnetGroupQuotaExceededFaultRes(parsedOutput, context);
|
|
472
|
+
case "SubnetNotAllowedFault":
|
|
473
|
+
case "com.amazonaws.dax#SubnetNotAllowedFault":
|
|
474
|
+
throw await de_SubnetNotAllowedFaultRes(parsedOutput, context);
|
|
472
475
|
case "SubnetQuotaExceededFault":
|
|
473
476
|
case "com.amazonaws.dax#SubnetQuotaExceededFault":
|
|
474
477
|
throw await de_SubnetQuotaExceededFaultRes(parsedOutput, context);
|
|
@@ -715,6 +718,15 @@ const de_SubnetInUseRes = async (parsedOutput, context) => {
|
|
|
715
718
|
});
|
|
716
719
|
return __decorateServiceException(exception, body);
|
|
717
720
|
};
|
|
721
|
+
const de_SubnetNotAllowedFaultRes = async (parsedOutput, context) => {
|
|
722
|
+
const body = parsedOutput.body;
|
|
723
|
+
const deserialized = _json(body);
|
|
724
|
+
const exception = new SubnetNotAllowedFault({
|
|
725
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
726
|
+
...deserialized,
|
|
727
|
+
});
|
|
728
|
+
return __decorateServiceException(exception, body);
|
|
729
|
+
};
|
|
718
730
|
const de_SubnetQuotaExceededFaultRes = async (parsedOutput, context) => {
|
|
719
731
|
const body = parsedOutput.body;
|
|
720
732
|
const deserialized = _json(body);
|
|
@@ -762,6 +774,7 @@ const de_Cluster = (output, context) => {
|
|
|
762
774
|
ClusterName: __expectString,
|
|
763
775
|
Description: __expectString,
|
|
764
776
|
IamRoleArn: __expectString,
|
|
777
|
+
NetworkType: __expectString,
|
|
765
778
|
NodeIdsToRemove: _json,
|
|
766
779
|
NodeType: __expectString,
|
|
767
780
|
Nodes: (_) => de_NodeList(_, context),
|
package/dist-types/DAX.d.ts
CHANGED
|
@@ -155,11 +155,11 @@ export interface DAX {
|
|
|
155
155
|
updateSubnetGroup(args: UpdateSubnetGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSubnetGroupCommandOutput) => void): void;
|
|
156
156
|
}
|
|
157
157
|
/**
|
|
158
|
-
* <p>DAX is a managed caching service engineered for Amazon DynamoDB. DAX
|
|
159
|
-
*
|
|
160
|
-
*
|
|
161
|
-
*
|
|
162
|
-
*
|
|
158
|
+
* <p>DAX is a managed caching service engineered for Amazon DynamoDB. DAX dramatically speeds up database reads by caching
|
|
159
|
+
* frequently-accessed data from DynamoDB, so applications can access that data
|
|
160
|
+
* with sub-millisecond latency. You can create a DAX cluster easily, using
|
|
161
|
+
* the Amazon Web Services Management Console. With a few simple modifications to your code, your
|
|
162
|
+
* application can begin taking advantage of the DAX cluster and realize
|
|
163
163
|
* significant improvements in read performance.</p>
|
|
164
164
|
* @public
|
|
165
165
|
*/
|
|
@@ -190,11 +190,11 @@ export type DAXClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHa
|
|
|
190
190
|
export interface DAXClientResolvedConfig extends DAXClientResolvedConfigType {
|
|
191
191
|
}
|
|
192
192
|
/**
|
|
193
|
-
* <p>DAX is a managed caching service engineered for Amazon DynamoDB. DAX
|
|
194
|
-
*
|
|
195
|
-
*
|
|
196
|
-
*
|
|
197
|
-
*
|
|
193
|
+
* <p>DAX is a managed caching service engineered for Amazon DynamoDB. DAX dramatically speeds up database reads by caching
|
|
194
|
+
* frequently-accessed data from DynamoDB, so applications can access that data
|
|
195
|
+
* with sub-millisecond latency. You can create a DAX cluster easily, using
|
|
196
|
+
* the Amazon Web Services Management Console. With a few simple modifications to your code, your
|
|
197
|
+
* application can begin taking advantage of the DAX cluster and realize
|
|
198
198
|
* significant improvements in read performance.</p>
|
|
199
199
|
* @public
|
|
200
200
|
*/
|
|
@@ -62,6 +62,7 @@ declare const CreateClusterCommand_base: {
|
|
|
62
62
|
* Enabled: true || false, // required
|
|
63
63
|
* },
|
|
64
64
|
* ClusterEndpointEncryptionType: "NONE" || "TLS",
|
|
65
|
+
* NetworkType: "ipv4" || "ipv6" || "dual_stack",
|
|
65
66
|
* };
|
|
66
67
|
* const command = new CreateClusterCommand(input);
|
|
67
68
|
* const response = await client.send(command);
|
|
@@ -120,6 +121,7 @@ declare const CreateClusterCommand_base: {
|
|
|
120
121
|
* // Status: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED",
|
|
121
122
|
* // },
|
|
122
123
|
* // ClusterEndpointEncryptionType: "NONE" || "TLS",
|
|
124
|
+
* // NetworkType: "ipv4" || "ipv6" || "dual_stack",
|
|
123
125
|
* // },
|
|
124
126
|
* // };
|
|
125
127
|
*
|
|
@@ -135,16 +137,16 @@ declare const CreateClusterCommand_base: {
|
|
|
135
137
|
* <p>You already have a DAX cluster with the given identifier.</p>
|
|
136
138
|
*
|
|
137
139
|
* @throws {@link ClusterQuotaForCustomerExceededFault} (client fault)
|
|
138
|
-
* <p>You have attempted to exceed the maximum number of DAX clusters for
|
|
139
|
-
* account.</p>
|
|
140
|
+
* <p>You have attempted to exceed the maximum number of DAX clusters for
|
|
141
|
+
* your Amazon Web Services account.</p>
|
|
140
142
|
*
|
|
141
143
|
* @throws {@link InsufficientClusterCapacityFault} (client fault)
|
|
142
144
|
* <p>There are not enough system resources to create the cluster you requested (or to
|
|
143
145
|
* resize an already-existing cluster). </p>
|
|
144
146
|
*
|
|
145
147
|
* @throws {@link InvalidClusterStateFault} (client fault)
|
|
146
|
-
* <p>The requested DAX cluster is not in the
|
|
147
|
-
*
|
|
148
|
+
* <p>The requested DAX cluster is not in the
|
|
149
|
+
* <i>available</i> state.</p>
|
|
148
150
|
*
|
|
149
151
|
* @throws {@link InvalidParameterCombinationException} (client fault)
|
|
150
152
|
* <p>Two or more incompatible parameters were specified.</p>
|
|
@@ -163,8 +165,7 @@ declare const CreateClusterCommand_base: {
|
|
|
163
165
|
* cluster.</p>
|
|
164
166
|
*
|
|
165
167
|
* @throws {@link NodeQuotaForCustomerExceededFault} (client fault)
|
|
166
|
-
* <p>You have attempted to exceed the maximum number of nodes for your
|
|
167
|
-
* account.</p>
|
|
168
|
+
* <p>You have attempted to exceed the maximum number of nodes for your Amazon Web Services account.</p>
|
|
168
169
|
*
|
|
169
170
|
* @throws {@link ParameterGroupNotFoundFault} (client fault)
|
|
170
171
|
* <p>The specified parameter group does not exist.</p>
|
|
@@ -174,8 +175,8 @@ declare const CreateClusterCommand_base: {
|
|
|
174
175
|
*
|
|
175
176
|
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
176
177
|
* <p>You have reached the maximum number of x509 certificates that can be created for
|
|
177
|
-
* encrypted clusters in a 30 day period. Contact
|
|
178
|
-
* for continuing to create encrypted clusters.</p>
|
|
178
|
+
* encrypted clusters in a 30 day period. Contact Amazon Web Services customer support to
|
|
179
|
+
* discuss options for continuing to create encrypted clusters.</p>
|
|
179
180
|
*
|
|
180
181
|
* @throws {@link SubnetGroupNotFoundFault} (client fault)
|
|
181
182
|
* <p>The requested subnet group name does not refer to an existing subnet
|
|
@@ -54,8 +54,14 @@ declare const CreateSubnetGroupCommand_base: {
|
|
|
54
54
|
* // { // Subnet
|
|
55
55
|
* // SubnetIdentifier: "STRING_VALUE",
|
|
56
56
|
* // SubnetAvailabilityZone: "STRING_VALUE",
|
|
57
|
+
* // SupportedNetworkTypes: [ // NetworkTypeList
|
|
58
|
+
* // "ipv4" || "ipv6" || "dual_stack",
|
|
59
|
+
* // ],
|
|
57
60
|
* // },
|
|
58
61
|
* // ],
|
|
62
|
+
* // SupportedNetworkTypes: [
|
|
63
|
+
* // "ipv4" || "ipv6" || "dual_stack",
|
|
64
|
+
* // ],
|
|
59
65
|
* // },
|
|
60
66
|
* // };
|
|
61
67
|
*
|
|
@@ -80,6 +86,13 @@ declare const CreateSubnetGroupCommand_base: {
|
|
|
80
86
|
* <p>The request cannot be processed because it would exceed the allowed number of
|
|
81
87
|
* subnets in a subnet group.</p>
|
|
82
88
|
*
|
|
89
|
+
* @throws {@link SubnetNotAllowedFault} (client fault)
|
|
90
|
+
* <p>The specified subnet can't be used for the requested network type. This error
|
|
91
|
+
* occurs when either there aren't enough subnets of the required network type to create
|
|
92
|
+
* the cluster, or when you try to use a subnet that doesn't support the requested network
|
|
93
|
+
* type (for example, trying to create a dual-stack cluster with a subnet that doesn't have
|
|
94
|
+
* IPv6 CIDR). </p>
|
|
95
|
+
*
|
|
83
96
|
* @throws {@link SubnetQuotaExceededFault} (client fault)
|
|
84
97
|
* <p>The request cannot be processed because it would exceed the allowed number of
|
|
85
98
|
* subnets in a subnet group.</p>
|
|
@@ -28,8 +28,10 @@ declare const DecreaseReplicationFactorCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Removes one or more nodes from a DAX cluster.</p>
|
|
31
|
-
*
|
|
32
|
-
* <p>You cannot use <code>DecreaseReplicationFactor</code> to remove the last node
|
|
31
|
+
* <note>
|
|
32
|
+
* <p>You cannot use <code>DecreaseReplicationFactor</code> to remove the last node
|
|
33
|
+
* in a DAX cluster. If you need to do this, use
|
|
34
|
+
* <code>DeleteCluster</code> instead.</p>
|
|
33
35
|
* </note>
|
|
34
36
|
* @example
|
|
35
37
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -106,6 +108,7 @@ declare const DecreaseReplicationFactorCommand_base: {
|
|
|
106
108
|
* // Status: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED",
|
|
107
109
|
* // },
|
|
108
110
|
* // ClusterEndpointEncryptionType: "NONE" || "TLS",
|
|
111
|
+
* // NetworkType: "ipv4" || "ipv6" || "dual_stack",
|
|
109
112
|
* // },
|
|
110
113
|
* // };
|
|
111
114
|
*
|
|
@@ -118,11 +121,12 @@ declare const DecreaseReplicationFactorCommand_base: {
|
|
|
118
121
|
* @see {@link DAXClientResolvedConfig | config} for DAXClient's `config` shape.
|
|
119
122
|
*
|
|
120
123
|
* @throws {@link ClusterNotFoundFault} (client fault)
|
|
121
|
-
* <p>The requested cluster ID does not refer to an existing DAX
|
|
124
|
+
* <p>The requested cluster ID does not refer to an existing DAX
|
|
125
|
+
* cluster.</p>
|
|
122
126
|
*
|
|
123
127
|
* @throws {@link InvalidClusterStateFault} (client fault)
|
|
124
|
-
* <p>The requested DAX cluster is not in the
|
|
125
|
-
*
|
|
128
|
+
* <p>The requested DAX cluster is not in the
|
|
129
|
+
* <i>available</i> state.</p>
|
|
126
130
|
*
|
|
127
131
|
* @throws {@link InvalidParameterCombinationException} (client fault)
|
|
128
132
|
* <p>Two or more incompatible parameters were specified.</p>
|
|
@@ -28,10 +28,10 @@ declare const DeleteClusterCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Deletes a previously provisioned DAX cluster.
|
|
31
|
-
* <i>DeleteCluster</i> deletes all associated nodes, node endpoints
|
|
32
|
-
*
|
|
33
|
-
* DAX immediately begins deleting the cluster; you cannot cancel or
|
|
34
|
-
* action.</p>
|
|
31
|
+
* <i>DeleteCluster</i> deletes all associated nodes, node endpoints and
|
|
32
|
+
* the DAX cluster itself. When you receive a successful response from this
|
|
33
|
+
* action, DAX immediately begins deleting the cluster; you cannot cancel or
|
|
34
|
+
* revert this action.</p>
|
|
35
35
|
* @example
|
|
36
36
|
* Use a bare-bones client and the command you need to make an API call.
|
|
37
37
|
* ```javascript
|
|
@@ -100,6 +100,7 @@ declare const DeleteClusterCommand_base: {
|
|
|
100
100
|
* // Status: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED",
|
|
101
101
|
* // },
|
|
102
102
|
* // ClusterEndpointEncryptionType: "NONE" || "TLS",
|
|
103
|
+
* // NetworkType: "ipv4" || "ipv6" || "dual_stack",
|
|
103
104
|
* // },
|
|
104
105
|
* // };
|
|
105
106
|
*
|
|
@@ -112,11 +113,12 @@ declare const DeleteClusterCommand_base: {
|
|
|
112
113
|
* @see {@link DAXClientResolvedConfig | config} for DAXClient's `config` shape.
|
|
113
114
|
*
|
|
114
115
|
* @throws {@link ClusterNotFoundFault} (client fault)
|
|
115
|
-
* <p>The requested cluster ID does not refer to an existing DAX
|
|
116
|
+
* <p>The requested cluster ID does not refer to an existing DAX
|
|
117
|
+
* cluster.</p>
|
|
116
118
|
*
|
|
117
119
|
* @throws {@link InvalidClusterStateFault} (client fault)
|
|
118
|
-
* <p>The requested DAX cluster is not in the
|
|
119
|
-
*
|
|
120
|
+
* <p>The requested DAX cluster is not in the
|
|
121
|
+
* <i>available</i> state.</p>
|
|
120
122
|
*
|
|
121
123
|
* @throws {@link InvalidParameterCombinationException} (client fault)
|
|
122
124
|
* <p>Two or more incompatible parameters were specified.</p>
|
|
@@ -28,10 +28,10 @@ declare const DeleteSubnetGroupCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Deletes a subnet group.</p>
|
|
31
|
-
*
|
|
31
|
+
* <note>
|
|
32
32
|
* <p>You cannot delete a subnet group if it is associated with any DAX
|
|
33
33
|
* clusters.</p>
|
|
34
|
-
*
|
|
34
|
+
* </note>
|
|
35
35
|
* @example
|
|
36
36
|
* Use a bare-bones client and the command you need to make an API call.
|
|
37
37
|
* ```javascript
|
|
@@ -27,19 +27,19 @@ declare const DescribeClustersCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Returns information about all provisioned DAX clusters if no cluster identifier
|
|
31
|
-
*
|
|
30
|
+
* <p>Returns information about all provisioned DAX clusters if no cluster identifier is
|
|
31
|
+
* specified, or about a specific DAX cluster if a cluster identifier is
|
|
32
32
|
* supplied.</p>
|
|
33
|
-
*
|
|
33
|
+
* <p>If the cluster is in the CREATING state, only cluster level information will be
|
|
34
34
|
* displayed until all of the nodes are successfully provisioned.</p>
|
|
35
|
-
*
|
|
35
|
+
* <p>If the cluster is in the DELETING state, only cluster level information will be
|
|
36
36
|
* displayed.</p>
|
|
37
|
-
*
|
|
37
|
+
* <p>If nodes are currently being added to the DAX cluster, node endpoint information
|
|
38
38
|
* and creation time for the additional nodes will not be displayed until they are
|
|
39
|
-
* completely provisioned. When the DAX cluster state is
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
* information for the removed nodes is displayed.</p>
|
|
39
|
+
* completely provisioned. When the DAX cluster state is
|
|
40
|
+
* <i>available</i>, the cluster is ready for use.</p>
|
|
41
|
+
* <p>If nodes are currently being removed from the DAX cluster, no
|
|
42
|
+
* endpoint information for the removed nodes is displayed.</p>
|
|
43
43
|
* @example
|
|
44
44
|
* Use a bare-bones client and the command you need to make an API call.
|
|
45
45
|
* ```javascript
|
|
@@ -114,6 +114,7 @@ declare const DescribeClustersCommand_base: {
|
|
|
114
114
|
* // Status: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED",
|
|
115
115
|
* // },
|
|
116
116
|
* // ClusterEndpointEncryptionType: "NONE" || "TLS",
|
|
117
|
+
* // NetworkType: "ipv4" || "ipv6" || "dual_stack",
|
|
117
118
|
* // },
|
|
118
119
|
* // ],
|
|
119
120
|
* // };
|
|
@@ -127,7 +128,8 @@ declare const DescribeClustersCommand_base: {
|
|
|
127
128
|
* @see {@link DAXClientResolvedConfig | config} for DAXClient's `config` shape.
|
|
128
129
|
*
|
|
129
130
|
* @throws {@link ClusterNotFoundFault} (client fault)
|
|
130
|
-
* <p>The requested cluster ID does not refer to an existing DAX
|
|
131
|
+
* <p>The requested cluster ID does not refer to an existing DAX
|
|
132
|
+
* cluster.</p>
|
|
131
133
|
*
|
|
132
134
|
* @throws {@link InvalidParameterCombinationException} (client fault)
|
|
133
135
|
* <p>Two or more incompatible parameters were specified.</p>
|
|
@@ -27,11 +27,11 @@ declare const DescribeEventsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Returns events related to DAX clusters and parameter groups. You can
|
|
31
|
-
* events specific to a particular DAX cluster or parameter group by
|
|
32
|
-
* as a parameter.</p>
|
|
33
|
-
*
|
|
34
|
-
* you can retrieve up to 14 days' worth of events if necessary.</p>
|
|
30
|
+
* <p>Returns events related to DAX clusters and parameter groups. You can
|
|
31
|
+
* obtain events specific to a particular DAX cluster or parameter group by
|
|
32
|
+
* providing the name as a parameter.</p>
|
|
33
|
+
* <p>By default, only the events occurring within the last 24 hours are returned;
|
|
34
|
+
* however, you can retrieve up to 14 days' worth of events if necessary.</p>
|
|
35
35
|
* @example
|
|
36
36
|
* Use a bare-bones client and the command you need to make an API call.
|
|
37
37
|
* ```javascript
|
|
@@ -57,8 +57,14 @@ declare const DescribeSubnetGroupsCommand_base: {
|
|
|
57
57
|
* // { // Subnet
|
|
58
58
|
* // SubnetIdentifier: "STRING_VALUE",
|
|
59
59
|
* // SubnetAvailabilityZone: "STRING_VALUE",
|
|
60
|
+
* // SupportedNetworkTypes: [ // NetworkTypeList
|
|
61
|
+
* // "ipv4" || "ipv6" || "dual_stack",
|
|
62
|
+
* // ],
|
|
60
63
|
* // },
|
|
61
64
|
* // ],
|
|
65
|
+
* // SupportedNetworkTypes: [
|
|
66
|
+
* // "ipv4" || "ipv6" || "dual_stack",
|
|
67
|
+
* // ],
|
|
62
68
|
* // },
|
|
63
69
|
* // ],
|
|
64
70
|
* // };
|
|
@@ -100,6 +100,7 @@ declare const IncreaseReplicationFactorCommand_base: {
|
|
|
100
100
|
* // Status: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED",
|
|
101
101
|
* // },
|
|
102
102
|
* // ClusterEndpointEncryptionType: "NONE" || "TLS",
|
|
103
|
+
* // NetworkType: "ipv4" || "ipv6" || "dual_stack",
|
|
103
104
|
* // },
|
|
104
105
|
* // };
|
|
105
106
|
*
|
|
@@ -112,15 +113,16 @@ declare const IncreaseReplicationFactorCommand_base: {
|
|
|
112
113
|
* @see {@link DAXClientResolvedConfig | config} for DAXClient's `config` shape.
|
|
113
114
|
*
|
|
114
115
|
* @throws {@link ClusterNotFoundFault} (client fault)
|
|
115
|
-
* <p>The requested cluster ID does not refer to an existing DAX
|
|
116
|
+
* <p>The requested cluster ID does not refer to an existing DAX
|
|
117
|
+
* cluster.</p>
|
|
116
118
|
*
|
|
117
119
|
* @throws {@link InsufficientClusterCapacityFault} (client fault)
|
|
118
120
|
* <p>There are not enough system resources to create the cluster you requested (or to
|
|
119
121
|
* resize an already-existing cluster). </p>
|
|
120
122
|
*
|
|
121
123
|
* @throws {@link InvalidClusterStateFault} (client fault)
|
|
122
|
-
* <p>The requested DAX cluster is not in the
|
|
123
|
-
*
|
|
124
|
+
* <p>The requested DAX cluster is not in the
|
|
125
|
+
* <i>available</i> state.</p>
|
|
124
126
|
*
|
|
125
127
|
* @throws {@link InvalidParameterCombinationException} (client fault)
|
|
126
128
|
* <p>Two or more incompatible parameters were specified.</p>
|
|
@@ -136,8 +138,7 @@ declare const IncreaseReplicationFactorCommand_base: {
|
|
|
136
138
|
* cluster.</p>
|
|
137
139
|
*
|
|
138
140
|
* @throws {@link NodeQuotaForCustomerExceededFault} (client fault)
|
|
139
|
-
* <p>You have attempted to exceed the maximum number of nodes for your
|
|
140
|
-
* account.</p>
|
|
141
|
+
* <p>You have attempted to exceed the maximum number of nodes for your Amazon Web Services account.</p>
|
|
141
142
|
*
|
|
142
143
|
* @throws {@link ServiceLinkedRoleNotFoundFault} (client fault)
|
|
143
144
|
* <p>The specified service linked role (SLR) was not found.</p>
|
|
@@ -27,8 +27,8 @@ declare const ListTagsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>List all of the tags for a DAX cluster. You can call
|
|
31
|
-
*
|
|
30
|
+
* <p>List all of the tags for a DAX cluster. You can call
|
|
31
|
+
* <code>ListTags</code> up to 10 times per second, per account.</p>
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
34
|
* ```javascript
|
|
@@ -62,14 +62,15 @@ declare const ListTagsCommand_base: {
|
|
|
62
62
|
* @see {@link DAXClientResolvedConfig | config} for DAXClient's `config` shape.
|
|
63
63
|
*
|
|
64
64
|
* @throws {@link ClusterNotFoundFault} (client fault)
|
|
65
|
-
* <p>The requested cluster ID does not refer to an existing DAX
|
|
65
|
+
* <p>The requested cluster ID does not refer to an existing DAX
|
|
66
|
+
* cluster.</p>
|
|
66
67
|
*
|
|
67
68
|
* @throws {@link InvalidARNFault} (client fault)
|
|
68
69
|
* <p>The Amazon Resource Name (ARN) supplied in the request is not valid.</p>
|
|
69
70
|
*
|
|
70
71
|
* @throws {@link InvalidClusterStateFault} (client fault)
|
|
71
|
-
* <p>The requested DAX cluster is not in the
|
|
72
|
-
*
|
|
72
|
+
* <p>The requested DAX cluster is not in the
|
|
73
|
+
* <i>available</i> state.</p>
|
|
73
74
|
*
|
|
74
75
|
* @throws {@link InvalidParameterCombinationException} (client fault)
|
|
75
76
|
* <p>Two or more incompatible parameters were specified.</p>
|
|
@@ -27,13 +27,14 @@ declare const RebootNodeCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Reboots a single node of a DAX cluster. The reboot action takes
|
|
31
|
-
* as soon as possible. During the
|
|
32
|
-
*
|
|
33
|
-
*
|
|
30
|
+
* <p>Reboots a single node of a DAX cluster. The reboot action takes
|
|
31
|
+
* place as soon as possible. During the reboot, the node status is set to
|
|
32
|
+
* REBOOTING.</p>
|
|
33
|
+
* <note>
|
|
34
34
|
* <p>
|
|
35
|
-
* <code>RebootNode</code> restarts the DAX engine process and does not remove the
|
|
36
|
-
*
|
|
35
|
+
* <code>RebootNode</code> restarts the DAX engine process and does not remove the
|
|
36
|
+
* contents of the cache.</p>
|
|
37
|
+
* </note>
|
|
37
38
|
* @example
|
|
38
39
|
* Use a bare-bones client and the command you need to make an API call.
|
|
39
40
|
* ```javascript
|
|
@@ -103,6 +104,7 @@ declare const RebootNodeCommand_base: {
|
|
|
103
104
|
* // Status: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED",
|
|
104
105
|
* // },
|
|
105
106
|
* // ClusterEndpointEncryptionType: "NONE" || "TLS",
|
|
107
|
+
* // NetworkType: "ipv4" || "ipv6" || "dual_stack",
|
|
106
108
|
* // },
|
|
107
109
|
* // };
|
|
108
110
|
*
|
|
@@ -115,11 +117,12 @@ declare const RebootNodeCommand_base: {
|
|
|
115
117
|
* @see {@link DAXClientResolvedConfig | config} for DAXClient's `config` shape.
|
|
116
118
|
*
|
|
117
119
|
* @throws {@link ClusterNotFoundFault} (client fault)
|
|
118
|
-
* <p>The requested cluster ID does not refer to an existing DAX
|
|
120
|
+
* <p>The requested cluster ID does not refer to an existing DAX
|
|
121
|
+
* cluster.</p>
|
|
119
122
|
*
|
|
120
123
|
* @throws {@link InvalidClusterStateFault} (client fault)
|
|
121
|
-
* <p>The requested DAX cluster is not in the
|
|
122
|
-
*
|
|
124
|
+
* <p>The requested DAX cluster is not in the
|
|
125
|
+
* <i>available</i> state.</p>
|
|
123
126
|
*
|
|
124
127
|
* @throws {@link InvalidParameterCombinationException} (client fault)
|
|
125
128
|
* <p>Two or more incompatible parameters were specified.</p>
|
|
@@ -27,8 +27,9 @@ declare const TagResourceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Associates a set of tags with a DAX resource.
|
|
31
|
-
*
|
|
30
|
+
* <p>Associates a set of tags with a DAX resource.
|
|
31
|
+
* You can call <code>TagResource</code> up to
|
|
32
|
+
* 5 times per second, per account. </p>
|
|
32
33
|
* @example
|
|
33
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
35
|
* ```javascript
|
|
@@ -66,14 +67,15 @@ declare const TagResourceCommand_base: {
|
|
|
66
67
|
* @see {@link DAXClientResolvedConfig | config} for DAXClient's `config` shape.
|
|
67
68
|
*
|
|
68
69
|
* @throws {@link ClusterNotFoundFault} (client fault)
|
|
69
|
-
* <p>The requested cluster ID does not refer to an existing DAX
|
|
70
|
+
* <p>The requested cluster ID does not refer to an existing DAX
|
|
71
|
+
* cluster.</p>
|
|
70
72
|
*
|
|
71
73
|
* @throws {@link InvalidARNFault} (client fault)
|
|
72
74
|
* <p>The Amazon Resource Name (ARN) supplied in the request is not valid.</p>
|
|
73
75
|
*
|
|
74
76
|
* @throws {@link InvalidClusterStateFault} (client fault)
|
|
75
|
-
* <p>The requested DAX cluster is not in the
|
|
76
|
-
*
|
|
77
|
+
* <p>The requested DAX cluster is not in the
|
|
78
|
+
* <i>available</i> state.</p>
|
|
77
79
|
*
|
|
78
80
|
* @throws {@link InvalidParameterCombinationException} (client fault)
|
|
79
81
|
* <p>Two or more incompatible parameters were specified.</p>
|