@aws-sdk/client-memorydb 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 (66) hide show
  1. package/dist-cjs/index.js +2657 -2408
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/MemoryDBClient.js +2 -0
  4. package/dist-es/commands/BatchUpdateClusterCommand.js +3 -9
  5. package/dist-es/commands/CopySnapshotCommand.js +3 -9
  6. package/dist-es/commands/CreateACLCommand.js +3 -9
  7. package/dist-es/commands/CreateClusterCommand.js +3 -9
  8. package/dist-es/commands/CreateMultiRegionClusterCommand.js +3 -9
  9. package/dist-es/commands/CreateParameterGroupCommand.js +3 -9
  10. package/dist-es/commands/CreateSnapshotCommand.js +3 -9
  11. package/dist-es/commands/CreateSubnetGroupCommand.js +3 -9
  12. package/dist-es/commands/CreateUserCommand.js +3 -9
  13. package/dist-es/commands/DeleteACLCommand.js +3 -9
  14. package/dist-es/commands/DeleteClusterCommand.js +3 -9
  15. package/dist-es/commands/DeleteMultiRegionClusterCommand.js +3 -9
  16. package/dist-es/commands/DeleteParameterGroupCommand.js +3 -9
  17. package/dist-es/commands/DeleteSnapshotCommand.js +3 -9
  18. package/dist-es/commands/DeleteSubnetGroupCommand.js +3 -9
  19. package/dist-es/commands/DeleteUserCommand.js +3 -9
  20. package/dist-es/commands/DescribeACLsCommand.js +3 -9
  21. package/dist-es/commands/DescribeClustersCommand.js +3 -9
  22. package/dist-es/commands/DescribeEngineVersionsCommand.js +3 -9
  23. package/dist-es/commands/DescribeEventsCommand.js +3 -9
  24. package/dist-es/commands/DescribeMultiRegionClustersCommand.js +3 -9
  25. package/dist-es/commands/DescribeMultiRegionParameterGroupsCommand.js +3 -9
  26. package/dist-es/commands/DescribeMultiRegionParametersCommand.js +3 -9
  27. package/dist-es/commands/DescribeParameterGroupsCommand.js +3 -9
  28. package/dist-es/commands/DescribeParametersCommand.js +3 -9
  29. package/dist-es/commands/DescribeReservedNodesCommand.js +3 -9
  30. package/dist-es/commands/DescribeReservedNodesOfferingsCommand.js +3 -9
  31. package/dist-es/commands/DescribeServiceUpdatesCommand.js +3 -9
  32. package/dist-es/commands/DescribeSnapshotsCommand.js +3 -9
  33. package/dist-es/commands/DescribeSubnetGroupsCommand.js +3 -9
  34. package/dist-es/commands/DescribeUsersCommand.js +3 -9
  35. package/dist-es/commands/FailoverShardCommand.js +3 -9
  36. package/dist-es/commands/ListAllowedMultiRegionClusterUpdatesCommand.js +3 -9
  37. package/dist-es/commands/ListAllowedNodeTypeUpdatesCommand.js +3 -9
  38. package/dist-es/commands/ListTagsCommand.js +3 -9
  39. package/dist-es/commands/PurchaseReservedNodesOfferingCommand.js +3 -9
  40. package/dist-es/commands/ResetParameterGroupCommand.js +3 -9
  41. package/dist-es/commands/TagResourceCommand.js +3 -9
  42. package/dist-es/commands/UntagResourceCommand.js +3 -9
  43. package/dist-es/commands/UpdateACLCommand.js +3 -9
  44. package/dist-es/commands/UpdateClusterCommand.js +3 -9
  45. package/dist-es/commands/UpdateMultiRegionClusterCommand.js +3 -9
  46. package/dist-es/commands/UpdateParameterGroupCommand.js +3 -9
  47. package/dist-es/commands/UpdateSubnetGroupCommand.js +3 -9
  48. package/dist-es/commands/UpdateUserCommand.js +3 -9
  49. package/dist-es/runtimeConfig.shared.js +7 -0
  50. package/dist-es/schemas/schemas_0.js +2407 -0
  51. package/dist-types/MemoryDBClient.d.ts +10 -1
  52. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  53. package/dist-types/runtimeConfig.d.ts +1 -0
  54. package/dist-types/runtimeConfig.native.d.ts +1 -0
  55. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  56. package/dist-types/schemas/schemas_0.d.ts +278 -0
  57. package/dist-types/ts3.4/MemoryDBClient.d.ts +4 -0
  58. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  59. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  60. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  61. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  62. package/dist-types/ts3.4/schemas/schemas_0.d.ts +283 -0
  63. package/package.json +5 -5
  64. package/dist-es/protocols/Aws_json1_1.js +0 -1926
  65. package/dist-types/protocols/Aws_json1_1.d.ts +0 -407
  66. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -545
@@ -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_DescribeMultiRegionParametersCommand, se_DescribeMultiRegionParametersCommand, } from "../protocols/Aws_json1_1";
4
+ import { DescribeMultiRegionParameters } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeMultiRegionParametersCommand 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("AmazonMemoryDB", "DescribeMultiRegionParameters", {})
17
13
  .n("MemoryDBClient", "DescribeMultiRegionParametersCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeMultiRegionParametersCommand)
20
- .de(de_DescribeMultiRegionParametersCommand)
14
+ .sc(DescribeMultiRegionParameters)
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("AmazonMemoryDB", "DescribeParameterGroups", {})
17
13
  .n("MemoryDBClient", "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("AmazonMemoryDB", "DescribeParameters", {})
17
13
  .n("MemoryDBClient", "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_DescribeReservedNodesCommand, se_DescribeReservedNodesCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeReservedNodes } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeReservedNodesCommand 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("AmazonMemoryDB", "DescribeReservedNodes", {})
17
13
  .n("MemoryDBClient", "DescribeReservedNodesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeReservedNodesCommand)
20
- .de(de_DescribeReservedNodesCommand)
14
+ .sc(DescribeReservedNodes)
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_DescribeReservedNodesOfferingsCommand, se_DescribeReservedNodesOfferingsCommand, } from "../protocols/Aws_json1_1";
4
+ import { DescribeReservedNodesOfferings } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeReservedNodesOfferingsCommand 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("AmazonMemoryDB", "DescribeReservedNodesOfferings", {})
17
13
  .n("MemoryDBClient", "DescribeReservedNodesOfferingsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeReservedNodesOfferingsCommand)
20
- .de(de_DescribeReservedNodesOfferingsCommand)
14
+ .sc(DescribeReservedNodesOfferings)
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_DescribeServiceUpdatesCommand, se_DescribeServiceUpdatesCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeServiceUpdates } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeServiceUpdatesCommand 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("AmazonMemoryDB", "DescribeServiceUpdates", {})
17
13
  .n("MemoryDBClient", "DescribeServiceUpdatesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeServiceUpdatesCommand)
20
- .de(de_DescribeServiceUpdatesCommand)
14
+ .sc(DescribeServiceUpdates)
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_DescribeSnapshotsCommand, se_DescribeSnapshotsCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeSnapshots } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeSnapshotsCommand 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("AmazonMemoryDB", "DescribeSnapshots", {})
17
13
  .n("MemoryDBClient", "DescribeSnapshotsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeSnapshotsCommand)
20
- .de(de_DescribeSnapshotsCommand)
14
+ .sc(DescribeSnapshots)
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("AmazonMemoryDB", "DescribeSubnetGroups", {})
17
13
  .n("MemoryDBClient", "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_DescribeUsersCommand, se_DescribeUsersCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeUsers } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeUsersCommand 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("AmazonMemoryDB", "DescribeUsers", {})
17
13
  .n("MemoryDBClient", "DescribeUsersCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeUsersCommand)
20
- .de(de_DescribeUsersCommand)
14
+ .sc(DescribeUsers)
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_FailoverShardCommand, se_FailoverShardCommand } from "../protocols/Aws_json1_1";
4
+ import { FailoverShard } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class FailoverShardCommand 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("AmazonMemoryDB", "FailoverShard", {})
17
13
  .n("MemoryDBClient", "FailoverShardCommand")
18
- .f(void 0, void 0)
19
- .ser(se_FailoverShardCommand)
20
- .de(de_FailoverShardCommand)
14
+ .sc(FailoverShard)
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_ListAllowedMultiRegionClusterUpdatesCommand, se_ListAllowedMultiRegionClusterUpdatesCommand, } from "../protocols/Aws_json1_1";
4
+ import { ListAllowedMultiRegionClusterUpdates } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListAllowedMultiRegionClusterUpdatesCommand 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("AmazonMemoryDB", "ListAllowedMultiRegionClusterUpdates", {})
17
13
  .n("MemoryDBClient", "ListAllowedMultiRegionClusterUpdatesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListAllowedMultiRegionClusterUpdatesCommand)
20
- .de(de_ListAllowedMultiRegionClusterUpdatesCommand)
14
+ .sc(ListAllowedMultiRegionClusterUpdates)
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_ListAllowedNodeTypeUpdatesCommand, se_ListAllowedNodeTypeUpdatesCommand } from "../protocols/Aws_json1_1";
4
+ import { ListAllowedNodeTypeUpdates } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListAllowedNodeTypeUpdatesCommand 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("AmazonMemoryDB", "ListAllowedNodeTypeUpdates", {})
17
13
  .n("MemoryDBClient", "ListAllowedNodeTypeUpdatesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListAllowedNodeTypeUpdatesCommand)
20
- .de(de_ListAllowedNodeTypeUpdatesCommand)
14
+ .sc(ListAllowedNodeTypeUpdates)
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("AmazonMemoryDB", "ListTags", {})
17
13
  .n("MemoryDBClient", "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_PurchaseReservedNodesOfferingCommand, se_PurchaseReservedNodesOfferingCommand, } from "../protocols/Aws_json1_1";
4
+ import { PurchaseReservedNodesOffering } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PurchaseReservedNodesOfferingCommand 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("AmazonMemoryDB", "PurchaseReservedNodesOffering", {})
17
13
  .n("MemoryDBClient", "PurchaseReservedNodesOfferingCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PurchaseReservedNodesOfferingCommand)
20
- .de(de_PurchaseReservedNodesOfferingCommand)
14
+ .sc(PurchaseReservedNodesOffering)
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_ResetParameterGroupCommand, se_ResetParameterGroupCommand } from "../protocols/Aws_json1_1";
4
+ import { ResetParameterGroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ResetParameterGroupCommand 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("AmazonMemoryDB", "ResetParameterGroup", {})
17
13
  .n("MemoryDBClient", "ResetParameterGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ResetParameterGroupCommand)
20
- .de(de_ResetParameterGroupCommand)
14
+ .sc(ResetParameterGroup)
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("AmazonMemoryDB", "TagResource", {})
17
13
  .n("MemoryDBClient", "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("AmazonMemoryDB", "UntagResource", {})
17
13
  .n("MemoryDBClient", "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_UpdateACLCommand, se_UpdateACLCommand } from "../protocols/Aws_json1_1";
4
+ import { UpdateACL } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateACLCommand 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("AmazonMemoryDB", "UpdateACL", {})
17
13
  .n("MemoryDBClient", "UpdateACLCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateACLCommand)
20
- .de(de_UpdateACLCommand)
14
+ .sc(UpdateACL)
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("AmazonMemoryDB", "UpdateCluster", {})
17
13
  .n("MemoryDBClient", "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_UpdateMultiRegionClusterCommand, se_UpdateMultiRegionClusterCommand } from "../protocols/Aws_json1_1";
4
+ import { UpdateMultiRegionCluster } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateMultiRegionClusterCommand 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("AmazonMemoryDB", "UpdateMultiRegionCluster", {})
17
13
  .n("MemoryDBClient", "UpdateMultiRegionClusterCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateMultiRegionClusterCommand)
20
- .de(de_UpdateMultiRegionClusterCommand)
14
+ .sc(UpdateMultiRegionCluster)
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("AmazonMemoryDB", "UpdateParameterGroup", {})
17
13
  .n("MemoryDBClient", "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("AmazonMemoryDB", "UpdateSubnetGroup", {})
17
13
  .n("MemoryDBClient", "UpdateSubnetGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateSubnetGroupCommand)
20
- .de(de_UpdateSubnetGroupCommand)
14
+ .sc(UpdateSubnetGroup)
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_UpdateUserCommand, se_UpdateUserCommand } from "../protocols/Aws_json1_1";
4
+ import { UpdateUser } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateUserCommand 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("AmazonMemoryDB", "UpdateUser", {})
17
13
  .n("MemoryDBClient", "UpdateUserCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateUserCommand)
20
- .de(de_UpdateUserCommand)
14
+ .sc(UpdateUser)
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.memorydb",
29
+ serviceTarget: "AmazonMemoryDB",
30
+ awsQueryCompatible: false,
31
+ }),
25
32
  serviceId: config?.serviceId ?? "MemoryDB",
26
33
  urlParser: config?.urlParser ?? parseUrl,
27
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,