@aws-sdk/client-dax 3.408.0 → 3.410.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.
Files changed (29) hide show
  1. package/dist-cjs/endpoint/ruleset.js +3 -3
  2. package/dist-cjs/models/models_0.js +25 -1
  3. package/dist-cjs/runtimeExtensions.js +3 -0
  4. package/dist-es/endpoint/ruleset.js +3 -3
  5. package/dist-es/models/models_0.js +24 -0
  6. package/dist-es/runtimeExtensions.js +3 -0
  7. package/dist-types/commands/CreateClusterCommand.d.ts +3 -3
  8. package/dist-types/commands/DecreaseReplicationFactorCommand.d.ts +2 -2
  9. package/dist-types/commands/DeleteClusterCommand.d.ts +2 -2
  10. package/dist-types/commands/DescribeClustersCommand.d.ts +2 -2
  11. package/dist-types/commands/DescribeDefaultParametersCommand.d.ts +3 -3
  12. package/dist-types/commands/DescribeEventsCommand.d.ts +2 -2
  13. package/dist-types/commands/DescribeParametersCommand.d.ts +3 -3
  14. package/dist-types/commands/IncreaseReplicationFactorCommand.d.ts +2 -2
  15. package/dist-types/commands/RebootNodeCommand.d.ts +2 -2
  16. package/dist-types/commands/UpdateClusterCommand.d.ts +2 -2
  17. package/dist-types/extensionConfiguration.d.ts +2 -1
  18. package/dist-types/models/models_0.d.ts +49 -5
  19. package/dist-types/runtimeConfig.browser.d.ts +4 -1
  20. package/dist-types/runtimeConfig.d.ts +4 -1
  21. package/dist-types/runtimeConfig.native.d.ts +4 -1
  22. package/dist-types/runtimeExtensions.d.ts +1 -1
  23. package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
  24. package/dist-types/ts3.4/models/models_0.d.ts +29 -5
  25. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +8 -1
  26. package/dist-types/ts3.4/runtimeConfig.d.ts +8 -1
  27. package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -1
  28. package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
  29. package/package.json +28 -28
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const p = "required", q = "fn", r = "argv", s = "ref";
5
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = { [p]: false, "type": "String" }, f = { [p]: true, "default": false, "type": "Boolean" }, g = { [s]: "Endpoint" }, h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, j = {}, k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] }, l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] }, m = [g], n = [h], o = [i];
6
- const _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://dax-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://dax-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://dax.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://dax.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
4
+ const q = "required", r = "fn", s = "argv", t = "ref";
5
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
6
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://dax-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://dax-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://dax.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://dax.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
7
7
  exports.ruleSet = _data;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SubnetInUse = exports.TagNotFoundFault = exports.InvalidARNFault = exports.SubnetGroupInUseFault = exports.NodeNotFoundFault = exports.ClusterNotFoundFault = exports.SubnetQuotaExceededFault = exports.SubnetGroupQuotaExceededFault = exports.SubnetGroupAlreadyExistsFault = exports.InvalidSubnet = exports.ParameterGroupQuotaExceededFault = exports.ParameterGroupAlreadyExistsFault = exports.TagQuotaPerResourceExceeded = exports.SubnetGroupNotFoundFault = exports.ServiceQuotaExceededException = exports.ServiceLinkedRoleNotFoundFault = exports.ParameterGroupNotFoundFault = exports.NodeQuotaForCustomerExceededFault = exports.NodeQuotaForClusterExceededFault = exports.InvalidVPCNetworkStateFault = exports.InvalidParameterValueException = exports.InvalidParameterGroupStateFault = exports.InvalidParameterCombinationException = exports.InvalidClusterStateFault = exports.InsufficientClusterCapacityFault = exports.ClusterEndpointEncryptionType = exports.ClusterQuotaForCustomerExceededFault = exports.ClusterAlreadyExistsFault = void 0;
3
+ exports.SubnetInUse = exports.TagNotFoundFault = exports.InvalidARNFault = exports.SourceType = exports.ParameterType = exports.IsModifiable = exports.ChangeType = exports.SubnetGroupInUseFault = exports.NodeNotFoundFault = exports.ClusterNotFoundFault = exports.SubnetQuotaExceededFault = exports.SubnetGroupQuotaExceededFault = exports.SubnetGroupAlreadyExistsFault = exports.InvalidSubnet = exports.ParameterGroupQuotaExceededFault = exports.ParameterGroupAlreadyExistsFault = exports.TagQuotaPerResourceExceeded = exports.SubnetGroupNotFoundFault = exports.ServiceQuotaExceededException = exports.ServiceLinkedRoleNotFoundFault = exports.ParameterGroupNotFoundFault = exports.NodeQuotaForCustomerExceededFault = exports.NodeQuotaForClusterExceededFault = exports.InvalidVPCNetworkStateFault = exports.InvalidParameterValueException = exports.InvalidParameterGroupStateFault = exports.InvalidParameterCombinationException = exports.InvalidClusterStateFault = exports.InsufficientClusterCapacityFault = exports.SSEStatus = exports.ClusterEndpointEncryptionType = exports.ClusterQuotaForCustomerExceededFault = exports.ClusterAlreadyExistsFault = void 0;
4
4
  const DAXServiceException_1 = require("./DAXServiceException");
5
5
  class ClusterAlreadyExistsFault extends DAXServiceException_1.DAXServiceException {
6
6
  constructor(opts) {
@@ -32,6 +32,12 @@ exports.ClusterEndpointEncryptionType = {
32
32
  NONE: "NONE",
33
33
  TLS: "TLS",
34
34
  };
35
+ exports.SSEStatus = {
36
+ DISABLED: "DISABLED",
37
+ DISABLING: "DISABLING",
38
+ ENABLED: "ENABLED",
39
+ ENABLING: "ENABLING",
40
+ };
35
41
  class InsufficientClusterCapacityFault extends DAXServiceException_1.DAXServiceException {
36
42
  constructor(opts) {
37
43
  super({
@@ -318,6 +324,24 @@ class SubnetGroupInUseFault extends DAXServiceException_1.DAXServiceException {
318
324
  }
319
325
  }
320
326
  exports.SubnetGroupInUseFault = SubnetGroupInUseFault;
327
+ exports.ChangeType = {
328
+ IMMEDIATE: "IMMEDIATE",
329
+ REQUIRES_REBOOT: "REQUIRES_REBOOT",
330
+ };
331
+ exports.IsModifiable = {
332
+ CONDITIONAL: "CONDITIONAL",
333
+ FALSE: "FALSE",
334
+ TRUE: "TRUE",
335
+ };
336
+ exports.ParameterType = {
337
+ DEFAULT: "DEFAULT",
338
+ NODE_TYPE_SPECIFIC: "NODE_TYPE_SPECIFIC",
339
+ };
340
+ exports.SourceType = {
341
+ CLUSTER: "CLUSTER",
342
+ PARAMETER_GROUP: "PARAMETER_GROUP",
343
+ SUBNET_GROUP: "SUBNET_GROUP",
344
+ };
321
345
  class InvalidARNFault extends DAXServiceException_1.DAXServiceException {
322
346
  constructor(opts) {
323
347
  super({
@@ -1,16 +1,19 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.resolveRuntimeExtensions = void 0;
4
+ const protocol_http_1 = require("@smithy/protocol-http");
4
5
  const smithy_client_1 = require("@smithy/smithy-client");
5
6
  const asPartial = (t) => t;
6
7
  const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
7
8
  const extensionConfiguration = {
8
9
  ...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
10
+ ...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
9
11
  };
10
12
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
11
13
  return {
12
14
  ...runtimeConfig,
13
15
  ...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
16
+ ...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
14
17
  };
15
18
  };
16
19
  exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
@@ -1,4 +1,4 @@
1
- const p = "required", q = "fn", r = "argv", s = "ref";
2
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = { [p]: false, "type": "String" }, f = { [p]: true, "default": false, "type": "Boolean" }, g = { [s]: "Endpoint" }, h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, j = {}, k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] }, l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] }, m = [g], n = [h], o = [i];
3
- const _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://dax-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://dax-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://dax.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://dax.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
1
+ const q = "required", r = "fn", s = "argv", t = "ref";
2
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
3
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://dax-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://dax-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://dax.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://dax.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
4
4
  export const ruleSet = _data;
@@ -27,6 +27,12 @@ export const ClusterEndpointEncryptionType = {
27
27
  NONE: "NONE",
28
28
  TLS: "TLS",
29
29
  };
30
+ export const SSEStatus = {
31
+ DISABLED: "DISABLED",
32
+ DISABLING: "DISABLING",
33
+ ENABLED: "ENABLED",
34
+ ENABLING: "ENABLING",
35
+ };
30
36
  export class InsufficientClusterCapacityFault extends __BaseException {
31
37
  constructor(opts) {
32
38
  super({
@@ -291,6 +297,24 @@ export class SubnetGroupInUseFault extends __BaseException {
291
297
  Object.setPrototypeOf(this, SubnetGroupInUseFault.prototype);
292
298
  }
293
299
  }
300
+ export const ChangeType = {
301
+ IMMEDIATE: "IMMEDIATE",
302
+ REQUIRES_REBOOT: "REQUIRES_REBOOT",
303
+ };
304
+ export const IsModifiable = {
305
+ CONDITIONAL: "CONDITIONAL",
306
+ FALSE: "FALSE",
307
+ TRUE: "TRUE",
308
+ };
309
+ export const ParameterType = {
310
+ DEFAULT: "DEFAULT",
311
+ NODE_TYPE_SPECIFIC: "NODE_TYPE_SPECIFIC",
312
+ };
313
+ export const SourceType = {
314
+ CLUSTER: "CLUSTER",
315
+ PARAMETER_GROUP: "PARAMETER_GROUP",
316
+ SUBNET_GROUP: "SUBNET_GROUP",
317
+ };
294
318
  export class InvalidARNFault extends __BaseException {
295
319
  constructor(opts) {
296
320
  super({
@@ -1,12 +1,15 @@
1
+ import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
1
2
  import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
2
3
  const asPartial = (t) => t;
3
4
  export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
4
5
  const extensionConfiguration = {
5
6
  ...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
7
+ ...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
6
8
  };
7
9
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
8
10
  return {
9
11
  ...runtimeConfig,
10
12
  ...resolveDefaultRuntimeConfig(extensionConfiguration),
13
+ ...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
11
14
  };
12
15
  };
@@ -55,7 +55,7 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
55
55
  * SSESpecification: { // SSESpecification
56
56
  * Enabled: true || false, // required
57
57
  * },
58
- * ClusterEndpointEncryptionType: "STRING_VALUE",
58
+ * ClusterEndpointEncryptionType: "NONE" || "TLS",
59
59
  * };
60
60
  * const command = new CreateClusterCommand(input);
61
61
  * const response = await client.send(command);
@@ -111,9 +111,9 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
111
111
  * // ],
112
112
  * // },
113
113
  * // SSEDescription: { // SSEDescription
114
- * // Status: "STRING_VALUE",
114
+ * // Status: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED",
115
115
  * // },
116
- * // ClusterEndpointEncryptionType: "STRING_VALUE",
116
+ * // ClusterEndpointEncryptionType: "NONE" || "TLS",
117
117
  * // },
118
118
  * // };
119
119
  *
@@ -97,9 +97,9 @@ export interface DecreaseReplicationFactorCommandOutput extends DecreaseReplicat
97
97
  * // ],
98
98
  * // },
99
99
  * // SSEDescription: { // SSEDescription
100
- * // Status: "STRING_VALUE",
100
+ * // Status: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED",
101
101
  * // },
102
- * // ClusterEndpointEncryptionType: "STRING_VALUE",
102
+ * // ClusterEndpointEncryptionType: "NONE" || "TLS",
103
103
  * // },
104
104
  * // };
105
105
  *
@@ -91,9 +91,9 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __Met
91
91
  * // ],
92
92
  * // },
93
93
  * // SSEDescription: { // SSEDescription
94
- * // Status: "STRING_VALUE",
94
+ * // Status: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED",
95
95
  * // },
96
- * // ClusterEndpointEncryptionType: "STRING_VALUE",
96
+ * // ClusterEndpointEncryptionType: "NONE" || "TLS",
97
97
  * // },
98
98
  * // };
99
99
  *
@@ -105,9 +105,9 @@ export interface DescribeClustersCommandOutput extends DescribeClustersResponse,
105
105
  * // ],
106
106
  * // },
107
107
  * // SSEDescription: { // SSEDescription
108
- * // Status: "STRING_VALUE",
108
+ * // Status: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED",
109
109
  * // },
110
- * // ClusterEndpointEncryptionType: "STRING_VALUE",
110
+ * // ClusterEndpointEncryptionType: "NONE" || "TLS",
111
111
  * // },
112
112
  * // ],
113
113
  * // };
@@ -42,7 +42,7 @@ export interface DescribeDefaultParametersCommandOutput extends DescribeDefaultP
42
42
  * // Parameters: [ // ParameterList
43
43
  * // { // Parameter
44
44
  * // ParameterName: "STRING_VALUE",
45
- * // ParameterType: "STRING_VALUE",
45
+ * // ParameterType: "DEFAULT" || "NODE_TYPE_SPECIFIC",
46
46
  * // ParameterValue: "STRING_VALUE",
47
47
  * // NodeTypeSpecificValues: [ // NodeTypeSpecificValueList
48
48
  * // { // NodeTypeSpecificValue
@@ -54,8 +54,8 @@ export interface DescribeDefaultParametersCommandOutput extends DescribeDefaultP
54
54
  * // Source: "STRING_VALUE",
55
55
  * // DataType: "STRING_VALUE",
56
56
  * // AllowedValues: "STRING_VALUE",
57
- * // IsModifiable: "STRING_VALUE",
58
- * // ChangeType: "STRING_VALUE",
57
+ * // IsModifiable: "TRUE" || "FALSE" || "CONDITIONAL",
58
+ * // ChangeType: "IMMEDIATE" || "REQUIRES_REBOOT",
59
59
  * // },
60
60
  * // ],
61
61
  * // };
@@ -36,7 +36,7 @@ export interface DescribeEventsCommandOutput extends DescribeEventsResponse, __M
36
36
  * const client = new DAXClient(config);
37
37
  * const input = { // DescribeEventsRequest
38
38
  * SourceName: "STRING_VALUE",
39
- * SourceType: "STRING_VALUE",
39
+ * SourceType: "CLUSTER" || "PARAMETER_GROUP" || "SUBNET_GROUP",
40
40
  * StartTime: new Date("TIMESTAMP"),
41
41
  * EndTime: new Date("TIMESTAMP"),
42
42
  * Duration: Number("int"),
@@ -50,7 +50,7 @@ export interface DescribeEventsCommandOutput extends DescribeEventsResponse, __M
50
50
  * // Events: [ // EventList
51
51
  * // { // Event
52
52
  * // SourceName: "STRING_VALUE",
53
- * // SourceType: "STRING_VALUE",
53
+ * // SourceType: "CLUSTER" || "PARAMETER_GROUP" || "SUBNET_GROUP",
54
54
  * // Message: "STRING_VALUE",
55
55
  * // Date: new Date("TIMESTAMP"),
56
56
  * // },
@@ -43,7 +43,7 @@ export interface DescribeParametersCommandOutput extends DescribeParametersRespo
43
43
  * // Parameters: [ // ParameterList
44
44
  * // { // Parameter
45
45
  * // ParameterName: "STRING_VALUE",
46
- * // ParameterType: "STRING_VALUE",
46
+ * // ParameterType: "DEFAULT" || "NODE_TYPE_SPECIFIC",
47
47
  * // ParameterValue: "STRING_VALUE",
48
48
  * // NodeTypeSpecificValues: [ // NodeTypeSpecificValueList
49
49
  * // { // NodeTypeSpecificValue
@@ -55,8 +55,8 @@ export interface DescribeParametersCommandOutput extends DescribeParametersRespo
55
55
  * // Source: "STRING_VALUE",
56
56
  * // DataType: "STRING_VALUE",
57
57
  * // AllowedValues: "STRING_VALUE",
58
- * // IsModifiable: "STRING_VALUE",
59
- * // ChangeType: "STRING_VALUE",
58
+ * // IsModifiable: "TRUE" || "FALSE" || "CONDITIONAL",
59
+ * // ChangeType: "IMMEDIATE" || "REQUIRES_REBOOT",
60
60
  * // },
61
61
  * // ],
62
62
  * // };
@@ -91,9 +91,9 @@ export interface IncreaseReplicationFactorCommandOutput extends IncreaseReplicat
91
91
  * // ],
92
92
  * // },
93
93
  * // SSEDescription: { // SSEDescription
94
- * // Status: "STRING_VALUE",
94
+ * // Status: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED",
95
95
  * // },
96
- * // ClusterEndpointEncryptionType: "STRING_VALUE",
96
+ * // ClusterEndpointEncryptionType: "NONE" || "TLS",
97
97
  * // },
98
98
  * // };
99
99
  *
@@ -94,9 +94,9 @@ export interface RebootNodeCommandOutput extends RebootNodeResponse, __MetadataB
94
94
  * // ],
95
95
  * // },
96
96
  * // SSEDescription: { // SSEDescription
97
- * // Status: "STRING_VALUE",
97
+ * // Status: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED",
98
98
  * // },
99
- * // ClusterEndpointEncryptionType: "STRING_VALUE",
99
+ * // ClusterEndpointEncryptionType: "NONE" || "TLS",
100
100
  * // },
101
101
  * // };
102
102
  *
@@ -97,9 +97,9 @@ export interface UpdateClusterCommandOutput extends UpdateClusterResponse, __Met
97
97
  * // ],
98
98
  * // },
99
99
  * // SSEDescription: { // SSEDescription
100
- * // Status: "STRING_VALUE",
100
+ * // Status: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED",
101
101
  * // },
102
- * // ClusterEndpointEncryptionType: "STRING_VALUE",
102
+ * // ClusterEndpointEncryptionType: "NONE" || "TLS",
103
103
  * // },
104
104
  * // };
105
105
  *
@@ -1,6 +1,7 @@
1
+ import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
1
2
  import { DefaultExtensionConfiguration } from "@smithy/types";
2
3
  /**
3
4
  * @internal
4
5
  */
5
- export interface DAXExtensionConfiguration extends DefaultExtensionConfiguration {
6
+ export interface DAXExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration {
6
7
  }
@@ -364,8 +364,18 @@ export interface SecurityGroupMembership {
364
364
  }
365
365
  /**
366
366
  * @public
367
+ * @enum
367
368
  */
368
- export type SSEStatus = "DISABLED" | "DISABLING" | "ENABLED" | "ENABLING";
369
+ export declare const SSEStatus: {
370
+ readonly DISABLED: "DISABLED";
371
+ readonly DISABLING: "DISABLING";
372
+ readonly ENABLED: "ENABLED";
373
+ readonly ENABLING: "ENABLING";
374
+ };
375
+ /**
376
+ * @public
377
+ */
378
+ export type SSEStatus = (typeof SSEStatus)[keyof typeof SSEStatus];
369
379
  /**
370
380
  * @public
371
381
  * <p>The description of the server-side encryption status on the specified DAX cluster.</p>
@@ -1087,12 +1097,29 @@ export interface DescribeDefaultParametersRequest {
1087
1097
  }
1088
1098
  /**
1089
1099
  * @public
1100
+ * @enum
1090
1101
  */
1091
- export type ChangeType = "IMMEDIATE" | "REQUIRES_REBOOT";
1102
+ export declare const ChangeType: {
1103
+ readonly IMMEDIATE: "IMMEDIATE";
1104
+ readonly REQUIRES_REBOOT: "REQUIRES_REBOOT";
1105
+ };
1092
1106
  /**
1093
1107
  * @public
1094
1108
  */
1095
- export type IsModifiable = "CONDITIONAL" | "FALSE" | "TRUE";
1109
+ export type ChangeType = (typeof ChangeType)[keyof typeof ChangeType];
1110
+ /**
1111
+ * @public
1112
+ * @enum
1113
+ */
1114
+ export declare const IsModifiable: {
1115
+ readonly CONDITIONAL: "CONDITIONAL";
1116
+ readonly FALSE: "FALSE";
1117
+ readonly TRUE: "TRUE";
1118
+ };
1119
+ /**
1120
+ * @public
1121
+ */
1122
+ export type IsModifiable = (typeof IsModifiable)[keyof typeof IsModifiable];
1096
1123
  /**
1097
1124
  * @public
1098
1125
  * <p>Represents a parameter value that is applicable to a particular node
@@ -1110,10 +1137,18 @@ export interface NodeTypeSpecificValue {
1110
1137
  */
1111
1138
  Value?: string;
1112
1139
  }
1140
+ /**
1141
+ * @public
1142
+ * @enum
1143
+ */
1144
+ export declare const ParameterType: {
1145
+ readonly DEFAULT: "DEFAULT";
1146
+ readonly NODE_TYPE_SPECIFIC: "NODE_TYPE_SPECIFIC";
1147
+ };
1113
1148
  /**
1114
1149
  * @public
1115
1150
  */
1116
- export type ParameterType = "DEFAULT" | "NODE_TYPE_SPECIFIC";
1151
+ export type ParameterType = (typeof ParameterType)[keyof typeof ParameterType];
1117
1152
  /**
1118
1153
  * @public
1119
1154
  * <p>Describes an individual setting that controls some aspect of DAX
@@ -1190,10 +1225,19 @@ export interface DescribeDefaultParametersResponse {
1190
1225
  */
1191
1226
  Parameters?: Parameter[];
1192
1227
  }
1228
+ /**
1229
+ * @public
1230
+ * @enum
1231
+ */
1232
+ export declare const SourceType: {
1233
+ readonly CLUSTER: "CLUSTER";
1234
+ readonly PARAMETER_GROUP: "PARAMETER_GROUP";
1235
+ readonly SUBNET_GROUP: "SUBNET_GROUP";
1236
+ };
1193
1237
  /**
1194
1238
  * @public
1195
1239
  */
1196
- export type SourceType = "CLUSTER" | "PARAMETER_GROUP" | "SUBNET_GROUP";
1240
+ export type SourceType = (typeof SourceType)[keyof typeof SourceType];
1197
1241
  /**
1198
1242
  * @public
1199
1243
  */
@@ -11,7 +11,10 @@ export declare const getRuntimeConfig: (config: DAXClientConfig) => {
11
11
  defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
14
- requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | RequestHandler;
14
+ requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
15
+ updateHttpClientConfig(key: never, value: never): void;
16
+ httpHandlerConfigs(): {};
17
+ }) | RequestHandler;
15
18
  retryMode: string | import("@smithy/types").Provider<string>;
16
19
  sha256: import("@smithy/types").HashConstructor;
17
20
  streamCollector: import("@smithy/types").StreamCollector;
@@ -11,7 +11,10 @@ export declare const getRuntimeConfig: (config: DAXClientConfig) => {
11
11
  defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
14
- requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | RequestHandler;
14
+ requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
15
+ updateHttpClientConfig(key: never, value: never): void;
16
+ httpHandlerConfigs(): {};
17
+ }) | RequestHandler;
15
18
  retryMode: string | import("@smithy/types").Provider<string>;
16
19
  sha256: import("@smithy/types").HashConstructor;
17
20
  streamCollector: import("@smithy/types").StreamCollector;
@@ -5,7 +5,10 @@ import { DAXClientConfig } from "./DAXClient";
5
5
  export declare const getRuntimeConfig: (config: DAXClientConfig) => {
6
6
  runtime: string;
7
7
  sha256: import("@smithy/types").HashConstructor;
8
- requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | import("@smithy/fetch-http-handler").FetchHttpHandler;
8
+ requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
9
+ updateHttpClientConfig(key: never, value: never): void;
10
+ httpHandlerConfigs(): {};
11
+ }) | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
12
  apiVersion: string;
10
13
  urlParser: import("@smithy/types").UrlParser;
11
14
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
@@ -3,7 +3,7 @@ import { DAXExtensionConfiguration } from "./extensionConfiguration";
3
3
  * @public
4
4
  */
5
5
  export interface RuntimeExtension {
6
- configure(clientConfiguration: DAXExtensionConfiguration): void;
6
+ configure(extensionConfiguration: DAXExtensionConfiguration): void;
7
7
  }
8
8
  /**
9
9
  * @public
@@ -1,3 +1,5 @@
1
+ import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
1
2
  import { DefaultExtensionConfiguration } from "@smithy/types";
2
3
  export interface DAXExtensionConfiguration
3
- extends DefaultExtensionConfiguration {}
4
+ extends HttpHandlerExtensionConfiguration,
5
+ DefaultExtensionConfiguration {}
@@ -72,7 +72,13 @@ export interface SecurityGroupMembership {
72
72
  SecurityGroupIdentifier?: string;
73
73
  Status?: string;
74
74
  }
75
- export type SSEStatus = "DISABLED" | "DISABLING" | "ENABLED" | "ENABLING";
75
+ export declare const SSEStatus: {
76
+ readonly DISABLED: "DISABLED";
77
+ readonly DISABLING: "DISABLING";
78
+ readonly ENABLED: "ENABLED";
79
+ readonly ENABLING: "ENABLING";
80
+ };
81
+ export type SSEStatus = (typeof SSEStatus)[keyof typeof SSEStatus];
76
82
  export interface SSEDescription {
77
83
  Status?: SSEStatus | string;
78
84
  }
@@ -339,13 +345,26 @@ export interface DescribeDefaultParametersRequest {
339
345
  MaxResults?: number;
340
346
  NextToken?: string;
341
347
  }
342
- export type ChangeType = "IMMEDIATE" | "REQUIRES_REBOOT";
343
- export type IsModifiable = "CONDITIONAL" | "FALSE" | "TRUE";
348
+ export declare const ChangeType: {
349
+ readonly IMMEDIATE: "IMMEDIATE";
350
+ readonly REQUIRES_REBOOT: "REQUIRES_REBOOT";
351
+ };
352
+ export type ChangeType = (typeof ChangeType)[keyof typeof ChangeType];
353
+ export declare const IsModifiable: {
354
+ readonly CONDITIONAL: "CONDITIONAL";
355
+ readonly FALSE: "FALSE";
356
+ readonly TRUE: "TRUE";
357
+ };
358
+ export type IsModifiable = (typeof IsModifiable)[keyof typeof IsModifiable];
344
359
  export interface NodeTypeSpecificValue {
345
360
  NodeType?: string;
346
361
  Value?: string;
347
362
  }
348
- export type ParameterType = "DEFAULT" | "NODE_TYPE_SPECIFIC";
363
+ export declare const ParameterType: {
364
+ readonly DEFAULT: "DEFAULT";
365
+ readonly NODE_TYPE_SPECIFIC: "NODE_TYPE_SPECIFIC";
366
+ };
367
+ export type ParameterType = (typeof ParameterType)[keyof typeof ParameterType];
349
368
  export interface Parameter {
350
369
  ParameterName?: string;
351
370
  ParameterType?: ParameterType | string;
@@ -362,7 +381,12 @@ export interface DescribeDefaultParametersResponse {
362
381
  NextToken?: string;
363
382
  Parameters?: Parameter[];
364
383
  }
365
- export type SourceType = "CLUSTER" | "PARAMETER_GROUP" | "SUBNET_GROUP";
384
+ export declare const SourceType: {
385
+ readonly CLUSTER: "CLUSTER";
386
+ readonly PARAMETER_GROUP: "PARAMETER_GROUP";
387
+ readonly SUBNET_GROUP: "SUBNET_GROUP";
388
+ };
389
+ export type SourceType = (typeof SourceType)[keyof typeof SourceType];
366
390
  export interface DescribeEventsRequest {
367
391
  SourceName?: string;
368
392
  SourceType?: SourceType | string;
@@ -20,7 +20,14 @@ export declare const getRuntimeConfig: (config: DAXClientConfig) => {
20
20
  any,
21
21
  import("@smithy/types").HttpHandlerOptions
22
22
  > &
23
- import("@smithy/protocol-http").HttpHandler)
23
+ import("@smithy/types").RequestHandler<
24
+ import("@smithy/protocol-http").HttpRequest,
25
+ import("@smithy/protocol-http").HttpResponse,
26
+ import("@smithy/types").HttpHandlerOptions
27
+ > & {
28
+ updateHttpClientConfig(key: never, value: never): void;
29
+ httpHandlerConfigs(): {};
30
+ })
24
31
  | RequestHandler;
25
32
  retryMode: string | import("@smithy/types").Provider<string>;
26
33
  sha256: import("@smithy/types").HashConstructor;
@@ -20,7 +20,14 @@ export declare const getRuntimeConfig: (config: DAXClientConfig) => {
20
20
  any,
21
21
  import("@smithy/types").HttpHandlerOptions
22
22
  > &
23
- import("@smithy/protocol-http").HttpHandler)
23
+ import("@smithy/types").RequestHandler<
24
+ import("@smithy/protocol-http").HttpRequest,
25
+ import("@smithy/protocol-http").HttpResponse,
26
+ import("@smithy/types").HttpHandlerOptions
27
+ > & {
28
+ updateHttpClientConfig(key: never, value: never): void;
29
+ httpHandlerConfigs(): {};
30
+ })
24
31
  | RequestHandler;
25
32
  retryMode: string | import("@smithy/types").Provider<string>;
26
33
  sha256: import("@smithy/types").HashConstructor;
@@ -8,7 +8,14 @@ export declare const getRuntimeConfig: (config: DAXClientConfig) => {
8
8
  any,
9
9
  import("@smithy/types").HttpHandlerOptions
10
10
  > &
11
- import("@smithy/protocol-http").HttpHandler)
11
+ import("@smithy/types").RequestHandler<
12
+ import("@smithy/protocol-http").HttpRequest,
13
+ import("@smithy/protocol-http").HttpResponse,
14
+ import("@smithy/types").HttpHandlerOptions
15
+ > & {
16
+ updateHttpClientConfig(key: never, value: never): void;
17
+ httpHandlerConfigs(): {};
18
+ })
12
19
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
13
20
  apiVersion: string;
14
21
  urlParser: import("@smithy/types").UrlParser;
@@ -1,6 +1,6 @@
1
1
  import { DAXExtensionConfiguration } from "./extensionConfiguration";
2
2
  export interface RuntimeExtension {
3
- configure(clientConfiguration: DAXExtensionConfiguration): void;
3
+ configure(extensionConfiguration: DAXExtensionConfiguration): void;
4
4
  }
5
5
  export interface RuntimeExtensionsConfig {
6
6
  extensions: RuntimeExtension[];
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.408.0",
4
+ "version": "3.410.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,37 +21,37 @@
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.408.0",
25
- "@aws-sdk/credential-provider-node": "3.408.0",
26
- "@aws-sdk/middleware-host-header": "3.408.0",
27
- "@aws-sdk/middleware-logger": "3.408.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.408.0",
29
- "@aws-sdk/middleware-signing": "3.408.0",
30
- "@aws-sdk/middleware-user-agent": "3.408.0",
31
- "@aws-sdk/types": "3.408.0",
32
- "@aws-sdk/util-endpoints": "3.408.0",
33
- "@aws-sdk/util-user-agent-browser": "3.408.0",
34
- "@aws-sdk/util-user-agent-node": "3.408.0",
35
- "@smithy/config-resolver": "^2.0.5",
36
- "@smithy/fetch-http-handler": "^2.0.5",
37
- "@smithy/hash-node": "^2.0.5",
38
- "@smithy/invalid-dependency": "^2.0.5",
39
- "@smithy/middleware-content-length": "^2.0.5",
40
- "@smithy/middleware-endpoint": "^2.0.5",
41
- "@smithy/middleware-retry": "^2.0.5",
42
- "@smithy/middleware-serde": "^2.0.5",
24
+ "@aws-sdk/client-sts": "3.410.0",
25
+ "@aws-sdk/credential-provider-node": "3.410.0",
26
+ "@aws-sdk/middleware-host-header": "3.410.0",
27
+ "@aws-sdk/middleware-logger": "3.410.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.410.0",
29
+ "@aws-sdk/middleware-signing": "3.410.0",
30
+ "@aws-sdk/middleware-user-agent": "3.410.0",
31
+ "@aws-sdk/types": "3.410.0",
32
+ "@aws-sdk/util-endpoints": "3.410.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.410.0",
34
+ "@aws-sdk/util-user-agent-node": "3.410.0",
35
+ "@smithy/config-resolver": "^2.0.7",
36
+ "@smithy/fetch-http-handler": "^2.1.2",
37
+ "@smithy/hash-node": "^2.0.6",
38
+ "@smithy/invalid-dependency": "^2.0.6",
39
+ "@smithy/middleware-content-length": "^2.0.8",
40
+ "@smithy/middleware-endpoint": "^2.0.6",
41
+ "@smithy/middleware-retry": "^2.0.9",
42
+ "@smithy/middleware-serde": "^2.0.6",
43
43
  "@smithy/middleware-stack": "^2.0.0",
44
- "@smithy/node-config-provider": "^2.0.6",
45
- "@smithy/node-http-handler": "^2.0.5",
46
- "@smithy/protocol-http": "^2.0.5",
47
- "@smithy/smithy-client": "^2.0.5",
48
- "@smithy/types": "^2.2.2",
49
- "@smithy/url-parser": "^2.0.5",
44
+ "@smithy/node-config-provider": "^2.0.9",
45
+ "@smithy/node-http-handler": "^2.1.2",
46
+ "@smithy/protocol-http": "^3.0.2",
47
+ "@smithy/smithy-client": "^2.1.3",
48
+ "@smithy/types": "^2.3.0",
49
+ "@smithy/url-parser": "^2.0.6",
50
50
  "@smithy/util-base64": "^2.0.0",
51
51
  "@smithy/util-body-length-browser": "^2.0.0",
52
52
  "@smithy/util-body-length-node": "^2.1.0",
53
- "@smithy/util-defaults-mode-browser": "^2.0.6",
54
- "@smithy/util-defaults-mode-node": "^2.0.6",
53
+ "@smithy/util-defaults-mode-browser": "^2.0.7",
54
+ "@smithy/util-defaults-mode-node": "^2.0.9",
55
55
  "@smithy/util-retry": "^2.0.0",
56
56
  "@smithy/util-utf8": "^2.0.0",
57
57
  "tslib": "^2.5.0"