@aws-sdk/client-elasticache 3.929.0 → 3.931.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 (96) hide show
  1. package/dist-cjs/index.js +4583 -9250
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/ElastiCacheClient.js +2 -0
  4. package/dist-es/commands/AddTagsToResourceCommand.js +3 -9
  5. package/dist-es/commands/AuthorizeCacheSecurityGroupIngressCommand.js +3 -9
  6. package/dist-es/commands/BatchApplyUpdateActionCommand.js +3 -9
  7. package/dist-es/commands/BatchStopUpdateActionCommand.js +3 -9
  8. package/dist-es/commands/CompleteMigrationCommand.js +3 -9
  9. package/dist-es/commands/CopyServerlessCacheSnapshotCommand.js +3 -9
  10. package/dist-es/commands/CopySnapshotCommand.js +3 -9
  11. package/dist-es/commands/CreateCacheClusterCommand.js +3 -9
  12. package/dist-es/commands/CreateCacheParameterGroupCommand.js +3 -9
  13. package/dist-es/commands/CreateCacheSecurityGroupCommand.js +3 -9
  14. package/dist-es/commands/CreateCacheSubnetGroupCommand.js +3 -9
  15. package/dist-es/commands/CreateGlobalReplicationGroupCommand.js +3 -9
  16. package/dist-es/commands/CreateReplicationGroupCommand.js +3 -9
  17. package/dist-es/commands/CreateServerlessCacheCommand.js +3 -9
  18. package/dist-es/commands/CreateServerlessCacheSnapshotCommand.js +3 -9
  19. package/dist-es/commands/CreateSnapshotCommand.js +3 -9
  20. package/dist-es/commands/CreateUserCommand.js +3 -9
  21. package/dist-es/commands/CreateUserGroupCommand.js +3 -9
  22. package/dist-es/commands/DecreaseNodeGroupsInGlobalReplicationGroupCommand.js +3 -9
  23. package/dist-es/commands/DecreaseReplicaCountCommand.js +3 -9
  24. package/dist-es/commands/DeleteCacheClusterCommand.js +3 -9
  25. package/dist-es/commands/DeleteCacheParameterGroupCommand.js +3 -9
  26. package/dist-es/commands/DeleteCacheSecurityGroupCommand.js +3 -9
  27. package/dist-es/commands/DeleteCacheSubnetGroupCommand.js +3 -9
  28. package/dist-es/commands/DeleteGlobalReplicationGroupCommand.js +3 -9
  29. package/dist-es/commands/DeleteReplicationGroupCommand.js +3 -9
  30. package/dist-es/commands/DeleteServerlessCacheCommand.js +3 -9
  31. package/dist-es/commands/DeleteServerlessCacheSnapshotCommand.js +3 -9
  32. package/dist-es/commands/DeleteSnapshotCommand.js +3 -9
  33. package/dist-es/commands/DeleteUserCommand.js +3 -9
  34. package/dist-es/commands/DeleteUserGroupCommand.js +3 -9
  35. package/dist-es/commands/DescribeCacheClustersCommand.js +3 -9
  36. package/dist-es/commands/DescribeCacheEngineVersionsCommand.js +3 -9
  37. package/dist-es/commands/DescribeCacheParameterGroupsCommand.js +3 -9
  38. package/dist-es/commands/DescribeCacheParametersCommand.js +3 -9
  39. package/dist-es/commands/DescribeCacheSecurityGroupsCommand.js +3 -9
  40. package/dist-es/commands/DescribeCacheSubnetGroupsCommand.js +3 -9
  41. package/dist-es/commands/DescribeEngineDefaultParametersCommand.js +3 -9
  42. package/dist-es/commands/DescribeEventsCommand.js +3 -9
  43. package/dist-es/commands/DescribeGlobalReplicationGroupsCommand.js +3 -9
  44. package/dist-es/commands/DescribeReplicationGroupsCommand.js +3 -9
  45. package/dist-es/commands/DescribeReservedCacheNodesCommand.js +3 -9
  46. package/dist-es/commands/DescribeReservedCacheNodesOfferingsCommand.js +3 -9
  47. package/dist-es/commands/DescribeServerlessCacheSnapshotsCommand.js +3 -9
  48. package/dist-es/commands/DescribeServerlessCachesCommand.js +3 -9
  49. package/dist-es/commands/DescribeServiceUpdatesCommand.js +3 -9
  50. package/dist-es/commands/DescribeSnapshotsCommand.js +3 -9
  51. package/dist-es/commands/DescribeUpdateActionsCommand.js +3 -9
  52. package/dist-es/commands/DescribeUserGroupsCommand.js +3 -9
  53. package/dist-es/commands/DescribeUsersCommand.js +3 -9
  54. package/dist-es/commands/DisassociateGlobalReplicationGroupCommand.js +3 -9
  55. package/dist-es/commands/ExportServerlessCacheSnapshotCommand.js +3 -9
  56. package/dist-es/commands/FailoverGlobalReplicationGroupCommand.js +3 -9
  57. package/dist-es/commands/IncreaseNodeGroupsInGlobalReplicationGroupCommand.js +3 -9
  58. package/dist-es/commands/IncreaseReplicaCountCommand.js +3 -9
  59. package/dist-es/commands/ListAllowedNodeTypeModificationsCommand.js +3 -9
  60. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  61. package/dist-es/commands/ModifyCacheClusterCommand.js +3 -9
  62. package/dist-es/commands/ModifyCacheParameterGroupCommand.js +3 -9
  63. package/dist-es/commands/ModifyCacheSubnetGroupCommand.js +3 -9
  64. package/dist-es/commands/ModifyGlobalReplicationGroupCommand.js +3 -9
  65. package/dist-es/commands/ModifyReplicationGroupCommand.js +3 -9
  66. package/dist-es/commands/ModifyReplicationGroupShardConfigurationCommand.js +3 -9
  67. package/dist-es/commands/ModifyServerlessCacheCommand.js +3 -9
  68. package/dist-es/commands/ModifyUserCommand.js +3 -9
  69. package/dist-es/commands/ModifyUserGroupCommand.js +3 -9
  70. package/dist-es/commands/PurchaseReservedCacheNodesOfferingCommand.js +3 -9
  71. package/dist-es/commands/RebalanceSlotsInGlobalReplicationGroupCommand.js +3 -9
  72. package/dist-es/commands/RebootCacheClusterCommand.js +3 -9
  73. package/dist-es/commands/RemoveTagsFromResourceCommand.js +3 -9
  74. package/dist-es/commands/ResetCacheParameterGroupCommand.js +3 -9
  75. package/dist-es/commands/RevokeCacheSecurityGroupIngressCommand.js +3 -9
  76. package/dist-es/commands/StartMigrationCommand.js +3 -9
  77. package/dist-es/commands/TestFailoverCommand.js +3 -9
  78. package/dist-es/commands/TestMigrationCommand.js +3 -9
  79. package/dist-es/runtimeConfig.shared.js +7 -0
  80. package/dist-es/schemas/schemas_0.js +4578 -0
  81. package/dist-types/ElastiCacheClient.d.ts +10 -1
  82. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  83. package/dist-types/runtimeConfig.d.ts +1 -0
  84. package/dist-types/runtimeConfig.native.d.ts +1 -0
  85. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  86. package/dist-types/schemas/schemas_0.d.ts +440 -0
  87. package/dist-types/ts3.4/ElastiCacheClient.d.ts +4 -0
  88. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  89. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  90. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  91. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  92. package/dist-types/ts3.4/schemas/schemas_0.d.ts +445 -0
  93. package/package.json +34 -34
  94. package/dist-es/protocols/Aws_query.js +0 -8861
  95. package/dist-types/protocols/Aws_query.d.ts +0 -677
  96. package/dist-types/ts3.4/protocols/Aws_query.d.ts +0 -905
@@ -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_RebootCacheClusterCommand, se_RebootCacheClusterCommand } from "../protocols/Aws_query";
4
+ import { RebootCacheCluster } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RebootCacheClusterCommand 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("AmazonElastiCacheV9", "RebootCacheCluster", {})
17
13
  .n("ElastiCacheClient", "RebootCacheClusterCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RebootCacheClusterCommand)
20
- .de(de_RebootCacheClusterCommand)
14
+ .sc(RebootCacheCluster)
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_RemoveTagsFromResourceCommand, se_RemoveTagsFromResourceCommand } from "../protocols/Aws_query";
4
+ import { RemoveTagsFromResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RemoveTagsFromResourceCommand 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("AmazonElastiCacheV9", "RemoveTagsFromResource", {})
17
13
  .n("ElastiCacheClient", "RemoveTagsFromResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RemoveTagsFromResourceCommand)
20
- .de(de_RemoveTagsFromResourceCommand)
14
+ .sc(RemoveTagsFromResource)
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_ResetCacheParameterGroupCommand, se_ResetCacheParameterGroupCommand } from "../protocols/Aws_query";
4
+ import { ResetCacheParameterGroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ResetCacheParameterGroupCommand 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("AmazonElastiCacheV9", "ResetCacheParameterGroup", {})
17
13
  .n("ElastiCacheClient", "ResetCacheParameterGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ResetCacheParameterGroupCommand)
20
- .de(de_ResetCacheParameterGroupCommand)
14
+ .sc(ResetCacheParameterGroup)
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_RevokeCacheSecurityGroupIngressCommand, se_RevokeCacheSecurityGroupIngressCommand, } from "../protocols/Aws_query";
4
+ import { RevokeCacheSecurityGroupIngress } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RevokeCacheSecurityGroupIngressCommand 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("AmazonElastiCacheV9", "RevokeCacheSecurityGroupIngress", {})
17
13
  .n("ElastiCacheClient", "RevokeCacheSecurityGroupIngressCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RevokeCacheSecurityGroupIngressCommand)
20
- .de(de_RevokeCacheSecurityGroupIngressCommand)
14
+ .sc(RevokeCacheSecurityGroupIngress)
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_StartMigrationCommand, se_StartMigrationCommand } from "../protocols/Aws_query";
4
+ import { StartMigration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartMigrationCommand 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("AmazonElastiCacheV9", "StartMigration", {})
17
13
  .n("ElastiCacheClient", "StartMigrationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartMigrationCommand)
20
- .de(de_StartMigrationCommand)
14
+ .sc(StartMigration)
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_TestFailoverCommand, se_TestFailoverCommand } from "../protocols/Aws_query";
4
+ import { TestFailover } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TestFailoverCommand 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("AmazonElastiCacheV9", "TestFailover", {})
17
13
  .n("ElastiCacheClient", "TestFailoverCommand")
18
- .f(void 0, void 0)
19
- .ser(se_TestFailoverCommand)
20
- .de(de_TestFailoverCommand)
14
+ .sc(TestFailover)
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_TestMigrationCommand, se_TestMigrationCommand } from "../protocols/Aws_query";
4
+ import { TestMigration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TestMigrationCommand 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("AmazonElastiCacheV9", "TestMigration", {})
17
13
  .n("ElastiCacheClient", "TestMigrationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_TestMigrationCommand)
20
- .de(de_TestMigrationCommand)
14
+ .sc(TestMigration)
21
15
  .build() {
22
16
  }
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsQueryProtocol } 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 AwsQueryProtocol({
28
+ defaultNamespace: "com.amazonaws.elasticache",
29
+ xmlNamespace: "http://elasticache.amazonaws.com/doc/2015-02-02/",
30
+ version: "2015-02-02",
31
+ }),
25
32
  serviceId: config?.serviceId ?? "ElastiCache",
26
33
  urlParser: config?.urlParser ?? parseUrl,
27
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,