@aws-sdk/client-dax 3.927.0 → 3.929.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 (42) hide show
  1. package/dist-cjs/index.js +1038 -1133
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/DAXClient.js +2 -0
  4. package/dist-es/commands/CreateClusterCommand.js +3 -9
  5. package/dist-es/commands/CreateParameterGroupCommand.js +3 -9
  6. package/dist-es/commands/CreateSubnetGroupCommand.js +3 -9
  7. package/dist-es/commands/DecreaseReplicationFactorCommand.js +3 -9
  8. package/dist-es/commands/DeleteClusterCommand.js +3 -9
  9. package/dist-es/commands/DeleteParameterGroupCommand.js +3 -9
  10. package/dist-es/commands/DeleteSubnetGroupCommand.js +3 -9
  11. package/dist-es/commands/DescribeClustersCommand.js +3 -9
  12. package/dist-es/commands/DescribeDefaultParametersCommand.js +3 -9
  13. package/dist-es/commands/DescribeEventsCommand.js +3 -9
  14. package/dist-es/commands/DescribeParameterGroupsCommand.js +3 -9
  15. package/dist-es/commands/DescribeParametersCommand.js +3 -9
  16. package/dist-es/commands/DescribeSubnetGroupsCommand.js +3 -9
  17. package/dist-es/commands/IncreaseReplicationFactorCommand.js +3 -9
  18. package/dist-es/commands/ListTagsCommand.js +3 -9
  19. package/dist-es/commands/RebootNodeCommand.js +3 -9
  20. package/dist-es/commands/TagResourceCommand.js +3 -9
  21. package/dist-es/commands/UntagResourceCommand.js +3 -9
  22. package/dist-es/commands/UpdateClusterCommand.js +3 -9
  23. package/dist-es/commands/UpdateParameterGroupCommand.js +3 -9
  24. package/dist-es/commands/UpdateSubnetGroupCommand.js +3 -9
  25. package/dist-es/runtimeConfig.shared.js +7 -0
  26. package/dist-es/schemas/schemas_0.js +920 -0
  27. package/dist-types/DAXClient.d.ts +10 -1
  28. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  29. package/dist-types/runtimeConfig.d.ts +1 -0
  30. package/dist-types/runtimeConfig.native.d.ts +1 -0
  31. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  32. package/dist-types/schemas/schemas_0.d.ts +130 -0
  33. package/dist-types/ts3.4/DAXClient.d.ts +4 -0
  34. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  35. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  36. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  37. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  38. package/dist-types/ts3.4/schemas/schemas_0.d.ts +135 -0
  39. package/package.json +5 -5
  40. package/dist-es/protocols/Aws_json1_1.js +0 -906
  41. package/dist-types/protocols/Aws_json1_1.d.ts +0 -191
  42. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -257
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,12 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ??
30
+ new protocols_1.AwsJson1_1Protocol({
31
+ defaultNamespace: "com.amazonaws.dax",
32
+ serviceTarget: "AmazonDAXV3",
33
+ awsQueryCompatible: false,
34
+ }),
28
35
  serviceId: config?.serviceId ?? "DAX",
29
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class DAXClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateClusterCommand, se_CreateClusterCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateCluster } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateClusterCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonDAXV3", "CreateCluster", {})
17
13
  .n("DAXClient", "CreateClusterCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateClusterCommand)
20
- .de(de_CreateClusterCommand)
14
+ .sc(CreateCluster)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateParameterGroupCommand, se_CreateParameterGroupCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateParameterGroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateParameterGroupCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonDAXV3", "CreateParameterGroup", {})
17
13
  .n("DAXClient", "CreateParameterGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateParameterGroupCommand)
20
- .de(de_CreateParameterGroupCommand)
14
+ .sc(CreateParameterGroup)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateSubnetGroupCommand, se_CreateSubnetGroupCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateSubnetGroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateSubnetGroupCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonDAXV3", "CreateSubnetGroup", {})
17
13
  .n("DAXClient", "CreateSubnetGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateSubnetGroupCommand)
20
- .de(de_CreateSubnetGroupCommand)
14
+ .sc(CreateSubnetGroup)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DecreaseReplicationFactorCommand, se_DecreaseReplicationFactorCommand } from "../protocols/Aws_json1_1";
4
+ import { DecreaseReplicationFactor } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DecreaseReplicationFactorCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonDAXV3", "DecreaseReplicationFactor", {})
17
13
  .n("DAXClient", "DecreaseReplicationFactorCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DecreaseReplicationFactorCommand)
20
- .de(de_DecreaseReplicationFactorCommand)
14
+ .sc(DecreaseReplicationFactor)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteClusterCommand, se_DeleteClusterCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteCluster } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteClusterCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonDAXV3", "DeleteCluster", {})
17
13
  .n("DAXClient", "DeleteClusterCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteClusterCommand)
20
- .de(de_DeleteClusterCommand)
14
+ .sc(DeleteCluster)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteParameterGroupCommand, se_DeleteParameterGroupCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteParameterGroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteParameterGroupCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonDAXV3", "DeleteParameterGroup", {})
17
13
  .n("DAXClient", "DeleteParameterGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteParameterGroupCommand)
20
- .de(de_DeleteParameterGroupCommand)
14
+ .sc(DeleteParameterGroup)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteSubnetGroupCommand, se_DeleteSubnetGroupCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteSubnetGroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteSubnetGroupCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonDAXV3", "DeleteSubnetGroup", {})
17
13
  .n("DAXClient", "DeleteSubnetGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteSubnetGroupCommand)
20
- .de(de_DeleteSubnetGroupCommand)
14
+ .sc(DeleteSubnetGroup)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribeClustersCommand, se_DescribeClustersCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeClusters } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeClustersCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonDAXV3", "DescribeClusters", {})
17
13
  .n("DAXClient", "DescribeClustersCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeClustersCommand)
20
- .de(de_DescribeClustersCommand)
14
+ .sc(DescribeClusters)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribeDefaultParametersCommand, se_DescribeDefaultParametersCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeDefaultParameters } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeDefaultParametersCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonDAXV3", "DescribeDefaultParameters", {})
17
13
  .n("DAXClient", "DescribeDefaultParametersCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeDefaultParametersCommand)
20
- .de(de_DescribeDefaultParametersCommand)
14
+ .sc(DescribeDefaultParameters)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribeEventsCommand, se_DescribeEventsCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeEvents } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeEventsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonDAXV3", "DescribeEvents", {})
17
13
  .n("DAXClient", "DescribeEventsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeEventsCommand)
20
- .de(de_DescribeEventsCommand)
14
+ .sc(DescribeEvents)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribeParameterGroupsCommand, se_DescribeParameterGroupsCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeParameterGroups } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeParameterGroupsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonDAXV3", "DescribeParameterGroups", {})
17
13
  .n("DAXClient", "DescribeParameterGroupsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeParameterGroupsCommand)
20
- .de(de_DescribeParameterGroupsCommand)
14
+ .sc(DescribeParameterGroups)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribeParametersCommand, se_DescribeParametersCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeParameters } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeParametersCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonDAXV3", "DescribeParameters", {})
17
13
  .n("DAXClient", "DescribeParametersCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeParametersCommand)
20
- .de(de_DescribeParametersCommand)
14
+ .sc(DescribeParameters)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribeSubnetGroupsCommand, se_DescribeSubnetGroupsCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeSubnetGroups } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeSubnetGroupsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonDAXV3", "DescribeSubnetGroups", {})
17
13
  .n("DAXClient", "DescribeSubnetGroupsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeSubnetGroupsCommand)
20
- .de(de_DescribeSubnetGroupsCommand)
14
+ .sc(DescribeSubnetGroups)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_IncreaseReplicationFactorCommand, se_IncreaseReplicationFactorCommand } from "../protocols/Aws_json1_1";
4
+ import { IncreaseReplicationFactor } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class IncreaseReplicationFactorCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonDAXV3", "IncreaseReplicationFactor", {})
17
13
  .n("DAXClient", "IncreaseReplicationFactorCommand")
18
- .f(void 0, void 0)
19
- .ser(se_IncreaseReplicationFactorCommand)
20
- .de(de_IncreaseReplicationFactorCommand)
14
+ .sc(IncreaseReplicationFactor)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListTagsCommand, se_ListTagsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListTags } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListTagsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonDAXV3", "ListTags", {})
17
13
  .n("DAXClient", "ListTagsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListTagsCommand)
20
- .de(de_ListTagsCommand)
14
+ .sc(ListTags)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_RebootNodeCommand, se_RebootNodeCommand } from "../protocols/Aws_json1_1";
4
+ import { RebootNode } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RebootNodeCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonDAXV3", "RebootNode", {})
17
13
  .n("DAXClient", "RebootNodeCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RebootNodeCommand)
20
- .de(de_RebootNodeCommand)
14
+ .sc(RebootNode)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_1";
4
+ import { TagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TagResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonDAXV3", "TagResource", {})
17
13
  .n("DAXClient", "TagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_TagResourceCommand)
20
- .de(de_TagResourceCommand)
14
+ .sc(TagResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_1";
4
+ import { UntagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UntagResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonDAXV3", "UntagResource", {})
17
13
  .n("DAXClient", "UntagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UntagResourceCommand)
20
- .de(de_UntagResourceCommand)
14
+ .sc(UntagResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateClusterCommand, se_UpdateClusterCommand } from "../protocols/Aws_json1_1";
4
+ import { UpdateCluster } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateClusterCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonDAXV3", "UpdateCluster", {})
17
13
  .n("DAXClient", "UpdateClusterCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateClusterCommand)
20
- .de(de_UpdateClusterCommand)
14
+ .sc(UpdateCluster)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateParameterGroupCommand, se_UpdateParameterGroupCommand } from "../protocols/Aws_json1_1";
4
+ import { UpdateParameterGroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateParameterGroupCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonDAXV3", "UpdateParameterGroup", {})
17
13
  .n("DAXClient", "UpdateParameterGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateParameterGroupCommand)
20
- .de(de_UpdateParameterGroupCommand)
14
+ .sc(UpdateParameterGroup)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateSubnetGroupCommand, se_UpdateSubnetGroupCommand } from "../protocols/Aws_json1_1";
4
+ import { UpdateSubnetGroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateSubnetGroupCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonDAXV3", "UpdateSubnetGroup", {})
17
13
  .n("DAXClient", "UpdateSubnetGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateSubnetGroupCommand)
20
- .de(de_UpdateSubnetGroupCommand)
14
+ .sc(UpdateSubnetGroup)
21
15
  .build() {
22
16
  }
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ??
27
+ new AwsJson1_1Protocol({
28
+ defaultNamespace: "com.amazonaws.dax",
29
+ serviceTarget: "AmazonDAXV3",
30
+ awsQueryCompatible: false,
31
+ }),
25
32
  serviceId: config?.serviceId ?? "DAX",
26
33
  urlParser: config?.urlParser ?? parseUrl,
27
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,