@aws-sdk/client-elasticache 3.928.0 → 3.930.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +4583 -9250
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/ElastiCacheClient.js +2 -0
- package/dist-es/commands/AddTagsToResourceCommand.js +3 -9
- package/dist-es/commands/AuthorizeCacheSecurityGroupIngressCommand.js +3 -9
- package/dist-es/commands/BatchApplyUpdateActionCommand.js +3 -9
- package/dist-es/commands/BatchStopUpdateActionCommand.js +3 -9
- package/dist-es/commands/CompleteMigrationCommand.js +3 -9
- package/dist-es/commands/CopyServerlessCacheSnapshotCommand.js +3 -9
- package/dist-es/commands/CopySnapshotCommand.js +3 -9
- package/dist-es/commands/CreateCacheClusterCommand.js +3 -9
- package/dist-es/commands/CreateCacheParameterGroupCommand.js +3 -9
- package/dist-es/commands/CreateCacheSecurityGroupCommand.js +3 -9
- package/dist-es/commands/CreateCacheSubnetGroupCommand.js +3 -9
- package/dist-es/commands/CreateGlobalReplicationGroupCommand.js +3 -9
- package/dist-es/commands/CreateReplicationGroupCommand.js +3 -9
- package/dist-es/commands/CreateServerlessCacheCommand.js +3 -9
- package/dist-es/commands/CreateServerlessCacheSnapshotCommand.js +3 -9
- package/dist-es/commands/CreateSnapshotCommand.js +3 -9
- package/dist-es/commands/CreateUserCommand.js +3 -9
- package/dist-es/commands/CreateUserGroupCommand.js +3 -9
- package/dist-es/commands/DecreaseNodeGroupsInGlobalReplicationGroupCommand.js +3 -9
- package/dist-es/commands/DecreaseReplicaCountCommand.js +3 -9
- package/dist-es/commands/DeleteCacheClusterCommand.js +3 -9
- package/dist-es/commands/DeleteCacheParameterGroupCommand.js +3 -9
- package/dist-es/commands/DeleteCacheSecurityGroupCommand.js +3 -9
- package/dist-es/commands/DeleteCacheSubnetGroupCommand.js +3 -9
- package/dist-es/commands/DeleteGlobalReplicationGroupCommand.js +3 -9
- package/dist-es/commands/DeleteReplicationGroupCommand.js +3 -9
- package/dist-es/commands/DeleteServerlessCacheCommand.js +3 -9
- package/dist-es/commands/DeleteServerlessCacheSnapshotCommand.js +3 -9
- package/dist-es/commands/DeleteSnapshotCommand.js +3 -9
- package/dist-es/commands/DeleteUserCommand.js +3 -9
- package/dist-es/commands/DeleteUserGroupCommand.js +3 -9
- package/dist-es/commands/DescribeCacheClustersCommand.js +3 -9
- package/dist-es/commands/DescribeCacheEngineVersionsCommand.js +3 -9
- package/dist-es/commands/DescribeCacheParameterGroupsCommand.js +3 -9
- package/dist-es/commands/DescribeCacheParametersCommand.js +3 -9
- package/dist-es/commands/DescribeCacheSecurityGroupsCommand.js +3 -9
- package/dist-es/commands/DescribeCacheSubnetGroupsCommand.js +3 -9
- package/dist-es/commands/DescribeEngineDefaultParametersCommand.js +3 -9
- package/dist-es/commands/DescribeEventsCommand.js +3 -9
- package/dist-es/commands/DescribeGlobalReplicationGroupsCommand.js +3 -9
- package/dist-es/commands/DescribeReplicationGroupsCommand.js +3 -9
- package/dist-es/commands/DescribeReservedCacheNodesCommand.js +3 -9
- package/dist-es/commands/DescribeReservedCacheNodesOfferingsCommand.js +3 -9
- package/dist-es/commands/DescribeServerlessCacheSnapshotsCommand.js +3 -9
- package/dist-es/commands/DescribeServerlessCachesCommand.js +3 -9
- package/dist-es/commands/DescribeServiceUpdatesCommand.js +3 -9
- package/dist-es/commands/DescribeSnapshotsCommand.js +3 -9
- package/dist-es/commands/DescribeUpdateActionsCommand.js +3 -9
- package/dist-es/commands/DescribeUserGroupsCommand.js +3 -9
- package/dist-es/commands/DescribeUsersCommand.js +3 -9
- package/dist-es/commands/DisassociateGlobalReplicationGroupCommand.js +3 -9
- package/dist-es/commands/ExportServerlessCacheSnapshotCommand.js +3 -9
- package/dist-es/commands/FailoverGlobalReplicationGroupCommand.js +3 -9
- package/dist-es/commands/IncreaseNodeGroupsInGlobalReplicationGroupCommand.js +3 -9
- package/dist-es/commands/IncreaseReplicaCountCommand.js +3 -9
- package/dist-es/commands/ListAllowedNodeTypeModificationsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ModifyCacheClusterCommand.js +3 -9
- package/dist-es/commands/ModifyCacheParameterGroupCommand.js +3 -9
- package/dist-es/commands/ModifyCacheSubnetGroupCommand.js +3 -9
- package/dist-es/commands/ModifyGlobalReplicationGroupCommand.js +3 -9
- package/dist-es/commands/ModifyReplicationGroupCommand.js +3 -9
- package/dist-es/commands/ModifyReplicationGroupShardConfigurationCommand.js +3 -9
- package/dist-es/commands/ModifyServerlessCacheCommand.js +3 -9
- package/dist-es/commands/ModifyUserCommand.js +3 -9
- package/dist-es/commands/ModifyUserGroupCommand.js +3 -9
- package/dist-es/commands/PurchaseReservedCacheNodesOfferingCommand.js +3 -9
- package/dist-es/commands/RebalanceSlotsInGlobalReplicationGroupCommand.js +3 -9
- package/dist-es/commands/RebootCacheClusterCommand.js +3 -9
- package/dist-es/commands/RemoveTagsFromResourceCommand.js +3 -9
- package/dist-es/commands/ResetCacheParameterGroupCommand.js +3 -9
- package/dist-es/commands/RevokeCacheSecurityGroupIngressCommand.js +3 -9
- package/dist-es/commands/StartMigrationCommand.js +3 -9
- package/dist-es/commands/TestFailoverCommand.js +3 -9
- package/dist-es/commands/TestMigrationCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +4578 -0
- package/dist-types/ElastiCacheClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +440 -0
- package/dist-types/ts3.4/ElastiCacheClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +445 -0
- package/package.json +34 -34
- package/dist-es/protocols/Aws_query.js +0 -8861
- package/dist-types/protocols/Aws_query.d.ts +0 -677
- 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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
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,
|