@aws-sdk/client-elasticache 3.36.0 → 3.39.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/CHANGELOG.md +42 -0
- package/dist-cjs/ElastiCache.js +0 -12
- package/dist-cjs/ElastiCacheClient.js +0 -17
- package/dist-cjs/commands/AddTagsToResourceCommand.js +0 -35
- package/dist-cjs/commands/AuthorizeCacheSecurityGroupIngressCommand.js +0 -30
- package/dist-cjs/commands/BatchApplyUpdateActionCommand.js +0 -24
- package/dist-cjs/commands/BatchStopUpdateActionCommand.js +0 -24
- package/dist-cjs/commands/CompleteMigrationCommand.js +0 -24
- package/dist-cjs/commands/CopySnapshotCommand.js +0 -117
- package/dist-cjs/commands/CreateCacheClusterCommand.js +0 -27
- package/dist-cjs/commands/CreateCacheParameterGroupCommand.js +0 -39
- package/dist-cjs/commands/CreateCacheSecurityGroupCommand.js +0 -29
- package/dist-cjs/commands/CreateCacheSubnetGroupCommand.js +0 -25
- package/dist-cjs/commands/CreateGlobalReplicationGroupCommand.js +0 -39
- package/dist-cjs/commands/CreateReplicationGroupCommand.js +0 -50
- package/dist-cjs/commands/CreateSnapshotCommand.js +0 -29
- package/dist-cjs/commands/CreateUserCommand.js +0 -24
- package/dist-cjs/commands/CreateUserGroupCommand.js +0 -25
- package/dist-cjs/commands/DecreaseNodeGroupsInGlobalReplicationGroupCommand.js +0 -24
- package/dist-cjs/commands/DecreaseReplicaCountCommand.js +0 -26
- package/dist-cjs/commands/DeleteCacheClusterCommand.js +0 -53
- package/dist-cjs/commands/DeleteCacheParameterGroupCommand.js +0 -26
- package/dist-cjs/commands/DeleteCacheSecurityGroupCommand.js +0 -27
- package/dist-cjs/commands/DeleteCacheSubnetGroupCommand.js +0 -27
- package/dist-cjs/commands/DeleteGlobalReplicationGroupCommand.js +0 -40
- package/dist-cjs/commands/DeleteReplicationGroupCommand.js +0 -32
- package/dist-cjs/commands/DeleteSnapshotCommand.js +0 -30
- package/dist-cjs/commands/DeleteUserCommand.js +0 -24
- package/dist-cjs/commands/DeleteUserGroupCommand.js +0 -24
- package/dist-cjs/commands/DescribeCacheClustersCommand.js +0 -39
- package/dist-cjs/commands/DescribeCacheEngineVersionsCommand.js +0 -25
- package/dist-cjs/commands/DescribeCacheParameterGroupsCommand.js +0 -26
- package/dist-cjs/commands/DescribeCacheParametersCommand.js +0 -25
- package/dist-cjs/commands/DescribeCacheSecurityGroupsCommand.js +0 -27
- package/dist-cjs/commands/DescribeCacheSubnetGroupsCommand.js +0 -27
- package/dist-cjs/commands/DescribeEngineDefaultParametersCommand.js +0 -25
- package/dist-cjs/commands/DescribeEventsCommand.js +0 -29
- package/dist-cjs/commands/DescribeGlobalReplicationGroupsCommand.js +0 -24
- package/dist-cjs/commands/DescribeReplicationGroupsCommand.js +0 -29
- package/dist-cjs/commands/DescribeReservedCacheNodesCommand.js +0 -25
- package/dist-cjs/commands/DescribeReservedCacheNodesOfferingsCommand.js +0 -25
- package/dist-cjs/commands/DescribeServiceUpdatesCommand.js +0 -24
- package/dist-cjs/commands/DescribeSnapshotsCommand.js +0 -31
- package/dist-cjs/commands/DescribeUpdateActionsCommand.js +0 -24
- package/dist-cjs/commands/DescribeUserGroupsCommand.js +0 -24
- package/dist-cjs/commands/DescribeUsersCommand.js +0 -24
- package/dist-cjs/commands/DisassociateGlobalReplicationGroupCommand.js +0 -24
- package/dist-cjs/commands/FailoverGlobalReplicationGroupCommand.js +0 -24
- package/dist-cjs/commands/IncreaseNodeGroupsInGlobalReplicationGroupCommand.js +0 -24
- package/dist-cjs/commands/IncreaseReplicaCountCommand.js +0 -26
- package/dist-cjs/commands/ListAllowedNodeTypeModificationsCommand.js +0 -29
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -30
- package/dist-cjs/commands/ModifyCacheClusterCommand.js +0 -26
- package/dist-cjs/commands/ModifyCacheParameterGroupCommand.js +0 -26
- package/dist-cjs/commands/ModifyCacheSubnetGroupCommand.js +0 -24
- package/dist-cjs/commands/ModifyGlobalReplicationGroupCommand.js +0 -24
- package/dist-cjs/commands/ModifyReplicationGroupCommand.js +0 -40
- package/dist-cjs/commands/ModifyReplicationGroupShardConfigurationCommand.js +0 -25
- package/dist-cjs/commands/ModifyUserCommand.js +0 -24
- package/dist-cjs/commands/ModifyUserGroupCommand.js +0 -24
- package/dist-cjs/commands/PurchaseReservedCacheNodesOfferingCommand.js +0 -27
- package/dist-cjs/commands/RebalanceSlotsInGlobalReplicationGroupCommand.js +0 -24
- package/dist-cjs/commands/RebootCacheClusterCommand.js +0 -36
- package/dist-cjs/commands/RemoveTagsFromResourceCommand.js +0 -27
- package/dist-cjs/commands/ResetCacheParameterGroupCommand.js +0 -27
- package/dist-cjs/commands/RevokeCacheSecurityGroupIngressCommand.js +0 -26
- package/dist-cjs/commands/StartMigrationCommand.js +0 -24
- package/dist-cjs/commands/TestFailoverCommand.js +0 -86
- package/dist-cjs/commands/index.js +68 -0
- package/dist-cjs/endpoints.js +6 -1
- package/dist-cjs/index.js +5 -89
- package/dist-cjs/models/models_0.js +0 -741
- package/dist-cjs/pagination/DescribeCacheClustersPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeCacheEngineVersionsPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeCacheParameterGroupsPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeCacheParametersPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeCacheSecurityGroupsPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeCacheSubnetGroupsPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeEngineDefaultParametersPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeEventsPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeGlobalReplicationGroupsPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeReplicationGroupsPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeReservedCacheNodesOfferingsPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeReservedCacheNodesPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeServiceUpdatesPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeSnapshotsPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeUpdateActionsPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeUserGroupsPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeUsersPaginator.js +0 -10
- package/dist-cjs/pagination/index.js +21 -0
- package/dist-cjs/protocols/Aws_query.js +0 -2
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- package/dist-cjs/waiters/index.js +7 -0
- package/dist-cjs/waiters/waitForCacheClusterAvailable.js +0 -9
- package/dist-cjs/waiters/waitForCacheClusterDeleted.js +0 -9
- package/dist-cjs/waiters/waitForReplicationGroupAvailable.js +0 -9
- package/dist-cjs/waiters/waitForReplicationGroupDeleted.js +0 -9
- package/dist-es/commands/index.js +65 -0
- package/dist-es/endpoints.js +6 -1
- package/dist-es/index.js +5 -89
- package/dist-es/pagination/index.js +18 -0
- package/dist-es/waiters/index.js +4 -0
- package/dist-types/commands/index.d.ts +65 -0
- package/dist-types/index.d.ts +5 -89
- package/dist-types/pagination/index.d.ts +18 -0
- package/dist-types/ts3.4/ElastiCache.d.ts +66 -621
- package/dist-types/ts3.4/ElastiCacheClient.d.ts +24 -98
- package/dist-types/ts3.4/commands/AddTagsToResourceCommand.d.ts +2 -31
- package/dist-types/ts3.4/commands/AuthorizeCacheSecurityGroupIngressCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/BatchApplyUpdateActionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/BatchStopUpdateActionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CompleteMigrationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CopySnapshotCommand.d.ts +2 -113
- package/dist-types/ts3.4/commands/CreateCacheClusterCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/CreateCacheParameterGroupCommand.d.ts +2 -35
- package/dist-types/ts3.4/commands/CreateCacheSecurityGroupCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/CreateCacheSubnetGroupCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateGlobalReplicationGroupCommand.d.ts +2 -35
- package/dist-types/ts3.4/commands/CreateReplicationGroupCommand.d.ts +2 -46
- package/dist-types/ts3.4/commands/CreateSnapshotCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateUserGroupCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DecreaseNodeGroupsInGlobalReplicationGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DecreaseReplicaCountCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeleteCacheClusterCommand.d.ts +2 -49
- package/dist-types/ts3.4/commands/DeleteCacheParameterGroupCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeleteCacheSecurityGroupCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DeleteCacheSubnetGroupCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DeleteGlobalReplicationGroupCommand.d.ts +2 -36
- package/dist-types/ts3.4/commands/DeleteReplicationGroupCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/DeleteSnapshotCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteUserGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeCacheClustersCommand.d.ts +2 -35
- package/dist-types/ts3.4/commands/DescribeCacheEngineVersionsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeCacheParameterGroupsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DescribeCacheParametersCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeCacheSecurityGroupsCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DescribeCacheSubnetGroupsCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DescribeEngineDefaultParametersCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeEventsCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DescribeGlobalReplicationGroupsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeReplicationGroupsCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DescribeReservedCacheNodesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeReservedCacheNodesOfferingsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeServiceUpdatesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeSnapshotsCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/DescribeUpdateActionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeUserGroupsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeUsersCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DisassociateGlobalReplicationGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/FailoverGlobalReplicationGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/IncreaseNodeGroupsInGlobalReplicationGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/IncreaseReplicaCountCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ListAllowedNodeTypeModificationsCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/ModifyCacheClusterCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ModifyCacheParameterGroupCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ModifyCacheSubnetGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ModifyGlobalReplicationGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ModifyReplicationGroupCommand.d.ts +2 -36
- package/dist-types/ts3.4/commands/ModifyReplicationGroupShardConfigurationCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ModifyUserCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ModifyUserGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PurchaseReservedCacheNodesOfferingCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/RebalanceSlotsInGlobalReplicationGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/RebootCacheClusterCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/RemoveTagsFromResourceCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/ResetCacheParameterGroupCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/RevokeCacheSecurityGroupIngressCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/StartMigrationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/TestFailoverCommand.d.ts +2 -82
- package/dist-types/ts3.4/commands/index.d.ts +65 -0
- package/dist-types/ts3.4/index.d.ts +5 -89
- package/dist-types/ts3.4/models/models_0.d.ts +1183 -7009
- package/dist-types/ts3.4/pagination/index.d.ts +18 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/dist-types/ts3.4/waiters/index.d.ts +4 -0
- package/dist-types/ts3.4/waiters/waitForCacheClusterAvailable.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForCacheClusterDeleted.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForReplicationGroupAvailable.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForReplicationGroupDeleted.d.ts +2 -9
- package/dist-types/waiters/index.d.ts +4 -0
- package/package.json +33 -33
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,48 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-elasticache
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **client-documentation-generator:** rename package ([#2916](https://github.com/aws/aws-sdk-js-v3/issues/2916)) ([1a80bfd](https://github.com/aws/aws-sdk-js-v3/commit/1a80bfd2dfc583001ddb4a21b6432eaaad699aa7))
|
|
20
|
+
* **clients:** export folder from index.ts ([#2912](https://github.com/aws/aws-sdk-js-v3/issues/2912)) ([183b46d](https://github.com/aws/aws-sdk-js-v3/commit/183b46dde7f5613128038bf1c076f3c0b693203b))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
# [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Features
|
|
30
|
+
|
|
31
|
+
* **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
### Bug Fixes
|
|
41
|
+
|
|
42
|
+
* **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
6
48
|
# [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
|
|
7
49
|
|
|
8
50
|
|
package/dist-cjs/ElastiCache.js
CHANGED
|
@@ -67,18 +67,6 @@ const RevokeCacheSecurityGroupIngressCommand_1 = require("./commands/RevokeCache
|
|
|
67
67
|
const StartMigrationCommand_1 = require("./commands/StartMigrationCommand");
|
|
68
68
|
const TestFailoverCommand_1 = require("./commands/TestFailoverCommand");
|
|
69
69
|
const ElastiCacheClient_1 = require("./ElastiCacheClient");
|
|
70
|
-
/**
|
|
71
|
-
* <fullname>Amazon ElastiCache</fullname>
|
|
72
|
-
* <p>Amazon ElastiCache is a web service that makes it easier to set up, operate,
|
|
73
|
-
* and scale a distributed cache in the cloud.</p>
|
|
74
|
-
* <p>With ElastiCache, customers get all of the benefits of a high-performance,
|
|
75
|
-
* in-memory cache with less of the administrative burden involved in launching and managing a distributed cache.
|
|
76
|
-
* The service makes setup, scaling,
|
|
77
|
-
* and cluster failure handling much simpler than in a self-managed cache deployment.</p>
|
|
78
|
-
* <p>In addition, through integration with Amazon CloudWatch,
|
|
79
|
-
* customers get enhanced visibility into the key performance statistics
|
|
80
|
-
* associated with their cache and can receive alarms if a part of their cache runs hot.</p>
|
|
81
|
-
*/
|
|
82
70
|
class ElastiCache extends ElastiCacheClient_1.ElastiCacheClient {
|
|
83
71
|
addTagsToResource(args, optionsOrCb, cb) {
|
|
84
72
|
const command = new AddTagsToResourceCommand_1.AddTagsToResourceCommand(args);
|
|
@@ -10,18 +10,6 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
|
10
10
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
11
11
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
12
12
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
13
|
-
/**
|
|
14
|
-
* <fullname>Amazon ElastiCache</fullname>
|
|
15
|
-
* <p>Amazon ElastiCache is a web service that makes it easier to set up, operate,
|
|
16
|
-
* and scale a distributed cache in the cloud.</p>
|
|
17
|
-
* <p>With ElastiCache, customers get all of the benefits of a high-performance,
|
|
18
|
-
* in-memory cache with less of the administrative burden involved in launching and managing a distributed cache.
|
|
19
|
-
* The service makes setup, scaling,
|
|
20
|
-
* and cluster failure handling much simpler than in a self-managed cache deployment.</p>
|
|
21
|
-
* <p>In addition, through integration with Amazon CloudWatch,
|
|
22
|
-
* customers get enhanced visibility into the key performance statistics
|
|
23
|
-
* associated with their cache and can receive alarms if a part of their cache runs hot.</p>
|
|
24
|
-
*/
|
|
25
13
|
class ElastiCacheClient extends smithy_client_1.Client {
|
|
26
14
|
constructor(configuration) {
|
|
27
15
|
const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
|
|
@@ -40,11 +28,6 @@ class ElastiCacheClient extends smithy_client_1.Client {
|
|
|
40
28
|
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
|
|
41
29
|
this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
|
|
42
30
|
}
|
|
43
|
-
/**
|
|
44
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
45
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
46
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
47
|
-
*/
|
|
48
31
|
destroy() {
|
|
49
32
|
super.destroy();
|
|
50
33
|
}
|
|
@@ -5,46 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
8
|
-
/**
|
|
9
|
-
* <p>A tag is a key-value pair where the key and value are case-sensitive.
|
|
10
|
-
* You can use tags to categorize and track all your ElastiCache resources, with the exception of global replication group. When you add or remove tags on replication groups, those actions will be replicated to all nodes in the replication group.
|
|
11
|
-
* For more information, see <a href="http://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/IAM.ResourceLevelPermissions.html">Resource-level permissions</a>.</p>
|
|
12
|
-
* <p>
|
|
13
|
-
* For example, you can use cost-allocation tags to your ElastiCache resources,
|
|
14
|
-
* Amazon generates a cost allocation report as a comma-separated value (CSV) file
|
|
15
|
-
* with your usage and costs aggregated by your tags.
|
|
16
|
-
* You can apply tags that represent business categories (such as cost centers, application names, or owners)
|
|
17
|
-
* to organize your costs across multiple services.</p>
|
|
18
|
-
* <p>For more information,
|
|
19
|
-
* see <a href="https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Tagging.html">Using Cost Allocation Tags in Amazon ElastiCache</a>
|
|
20
|
-
* in the <i>ElastiCache User Guide</i>.</p>
|
|
21
|
-
* @example
|
|
22
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
23
|
-
* ```javascript
|
|
24
|
-
* import { ElastiCacheClient, AddTagsToResourceCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
|
|
25
|
-
* // const { ElastiCacheClient, AddTagsToResourceCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
|
|
26
|
-
* const client = new ElastiCacheClient(config);
|
|
27
|
-
* const command = new AddTagsToResourceCommand(input);
|
|
28
|
-
* const response = await client.send(command);
|
|
29
|
-
* ```
|
|
30
|
-
*
|
|
31
|
-
* @see {@link AddTagsToResourceCommandInput} for command's `input` shape.
|
|
32
|
-
* @see {@link AddTagsToResourceCommandOutput} for command's `response` shape.
|
|
33
|
-
* @see {@link ElastiCacheClientResolvedConfig | config} for command's `input` shape.
|
|
34
|
-
*
|
|
35
|
-
*/
|
|
36
8
|
class AddTagsToResourceCommand extends smithy_client_1.Command {
|
|
37
|
-
// Start section: command_properties
|
|
38
|
-
// End section: command_properties
|
|
39
9
|
constructor(input) {
|
|
40
|
-
// Start section: command_constructor
|
|
41
10
|
super();
|
|
42
11
|
this.input = input;
|
|
43
|
-
// End section: command_constructor
|
|
44
12
|
}
|
|
45
|
-
/**
|
|
46
|
-
* @internal
|
|
47
|
-
*/
|
|
48
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
49
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
50
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,41 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Allows network ingress to a cache
|
|
10
|
-
* security group. Applications using ElastiCache must be running on Amazon EC2, and Amazon EC2
|
|
11
|
-
* security groups are used as the authorization mechanism.</p>
|
|
12
|
-
* <note>
|
|
13
|
-
* <p>You cannot authorize ingress from an Amazon EC2 security group in one region to an
|
|
14
|
-
* ElastiCache cluster in another region.</p>
|
|
15
|
-
* </note>
|
|
16
|
-
* @example
|
|
17
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
-
* ```javascript
|
|
19
|
-
* import { ElastiCacheClient, AuthorizeCacheSecurityGroupIngressCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
|
|
20
|
-
* // const { ElastiCacheClient, AuthorizeCacheSecurityGroupIngressCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
|
|
21
|
-
* const client = new ElastiCacheClient(config);
|
|
22
|
-
* const command = new AuthorizeCacheSecurityGroupIngressCommand(input);
|
|
23
|
-
* const response = await client.send(command);
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* @see {@link AuthorizeCacheSecurityGroupIngressCommandInput} for command's `input` shape.
|
|
27
|
-
* @see {@link AuthorizeCacheSecurityGroupIngressCommandOutput} for command's `response` shape.
|
|
28
|
-
* @see {@link ElastiCacheClientResolvedConfig | config} for command's `input` shape.
|
|
29
|
-
*
|
|
30
|
-
*/
|
|
31
8
|
class AuthorizeCacheSecurityGroupIngressCommand extends smithy_client_1.Command {
|
|
32
|
-
// Start section: command_properties
|
|
33
|
-
// End section: command_properties
|
|
34
9
|
constructor(input) {
|
|
35
|
-
// Start section: command_constructor
|
|
36
10
|
super();
|
|
37
11
|
this.input = input;
|
|
38
|
-
// End section: command_constructor
|
|
39
12
|
}
|
|
40
|
-
/**
|
|
41
|
-
* @internal
|
|
42
|
-
*/
|
|
43
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
44
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
45
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Apply the service update. For more information on service updates and applying them, see <a href="https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/applying-updates.html">Applying Service Updates</a>.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { ElastiCacheClient, BatchApplyUpdateActionCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
|
|
14
|
-
* // const { ElastiCacheClient, BatchApplyUpdateActionCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
|
|
15
|
-
* const client = new ElastiCacheClient(config);
|
|
16
|
-
* const command = new BatchApplyUpdateActionCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link BatchApplyUpdateActionCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link BatchApplyUpdateActionCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link ElastiCacheClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class BatchApplyUpdateActionCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Stop the service update. For more information on service updates and stopping them, see <a href="https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/stopping-self-service-updates.html">Stopping Service Updates</a>.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { ElastiCacheClient, BatchStopUpdateActionCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
|
|
14
|
-
* // const { ElastiCacheClient, BatchStopUpdateActionCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
|
|
15
|
-
* const client = new ElastiCacheClient(config);
|
|
16
|
-
* const command = new BatchStopUpdateActionCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link BatchStopUpdateActionCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link BatchStopUpdateActionCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link ElastiCacheClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class BatchStopUpdateActionCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Complete the migration of data.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { ElastiCacheClient, CompleteMigrationCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
|
|
14
|
-
* // const { ElastiCacheClient, CompleteMigrationCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
|
|
15
|
-
* const client = new ElastiCacheClient(config);
|
|
16
|
-
* const command = new CompleteMigrationCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link CompleteMigrationCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link CompleteMigrationCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link ElastiCacheClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class CompleteMigrationCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,128 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Makes a copy of an existing snapshot.</p>
|
|
10
|
-
*
|
|
11
|
-
* <note>
|
|
12
|
-
* <p>This operation is valid for Redis only.</p>
|
|
13
|
-
* </note>
|
|
14
|
-
*
|
|
15
|
-
* <important>
|
|
16
|
-
* <p>Users or groups that have permissions to use the <code>CopySnapshot</code> operation
|
|
17
|
-
* can create their own Amazon S3 buckets and copy snapshots to it.
|
|
18
|
-
* To control access to your snapshots, use an IAM policy to control who has the ability to use
|
|
19
|
-
* the <code>CopySnapshot</code> operation.
|
|
20
|
-
* For more information about using IAM to control the use of ElastiCache operations, see <a href="https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/backups-exporting.html">Exporting Snapshots</a>
|
|
21
|
-
* and <a href="https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/IAM.html">Authentication & Access Control</a>.</p>
|
|
22
|
-
* </important>
|
|
23
|
-
*
|
|
24
|
-
* <p>You could receive the following error messages.</p>
|
|
25
|
-
* <p class="title">
|
|
26
|
-
* <b>Error Messages</b>
|
|
27
|
-
* </p>
|
|
28
|
-
* <ul>
|
|
29
|
-
* <li>
|
|
30
|
-
* <p>
|
|
31
|
-
* <b>Error Message:</b>
|
|
32
|
-
* The S3 bucket %s is outside of the region.</p>
|
|
33
|
-
* <p>
|
|
34
|
-
* <b>Solution:</b>
|
|
35
|
-
* Create an Amazon S3 bucket in the same region as your snapshot.
|
|
36
|
-
* For more information, see <a href="https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/backups-exporting.html#backups-exporting-create-s3-bucket">Step 1: Create an Amazon S3 Bucket</a> in the ElastiCache User Guide.</p>
|
|
37
|
-
* </li>
|
|
38
|
-
* <li>
|
|
39
|
-
* <p>
|
|
40
|
-
* <b>Error Message:</b>
|
|
41
|
-
* The S3 bucket %s does not exist.</p>
|
|
42
|
-
* <p>
|
|
43
|
-
* <b>Solution:</b>
|
|
44
|
-
* Create an Amazon S3 bucket in the same region as your snapshot.
|
|
45
|
-
* For more information, see <a href="https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/backups-exporting.html#backups-exporting-create-s3-bucket">Step 1: Create an Amazon S3 Bucket</a> in the ElastiCache User Guide.</p>
|
|
46
|
-
* </li>
|
|
47
|
-
* <li>
|
|
48
|
-
* <p>
|
|
49
|
-
* <b>Error Message:</b>
|
|
50
|
-
* The S3 bucket %s is not owned by the authenticated user.</p>
|
|
51
|
-
* <p>
|
|
52
|
-
* <b>Solution:</b>
|
|
53
|
-
* Create an Amazon S3 bucket in the same region as your snapshot.
|
|
54
|
-
* For more information, see <a href="https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/backups-exporting.html#backups-exporting-create-s3-bucket">Step 1: Create an Amazon S3 Bucket</a> in the ElastiCache User Guide.</p>
|
|
55
|
-
* </li>
|
|
56
|
-
* <li>
|
|
57
|
-
* <p>
|
|
58
|
-
* <b>Error Message:</b>
|
|
59
|
-
* The authenticated user does not have sufficient permissions to perform the desired activity.</p>
|
|
60
|
-
* <p>
|
|
61
|
-
* <b>Solution:</b>
|
|
62
|
-
* Contact your system administrator to get the needed permissions.</p>
|
|
63
|
-
* </li>
|
|
64
|
-
* <li>
|
|
65
|
-
* <p>
|
|
66
|
-
* <b>Error Message:</b>
|
|
67
|
-
* The S3 bucket %s already contains an object with key %s.</p>
|
|
68
|
-
* <p>
|
|
69
|
-
* <b>Solution:</b>
|
|
70
|
-
* Give the <code>TargetSnapshotName</code> a new and unique value.
|
|
71
|
-
* If exporting a snapshot,
|
|
72
|
-
* you could alternatively create a new Amazon S3 bucket
|
|
73
|
-
* and use this same value for <code>TargetSnapshotName</code>.</p>
|
|
74
|
-
* </li>
|
|
75
|
-
* <li>
|
|
76
|
-
* <p>
|
|
77
|
-
* <b>Error Message: </b>
|
|
78
|
-
* ElastiCache has not been granted READ permissions %s on the S3 Bucket.</p>
|
|
79
|
-
* <p>
|
|
80
|
-
* <b>Solution:</b>
|
|
81
|
-
* Add List and Read permissions on the bucket.
|
|
82
|
-
* For more information, see <a href="https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/backups-exporting.html#backups-exporting-grant-access">Step 2: Grant ElastiCache Access to Your Amazon S3 Bucket</a> in the ElastiCache User Guide.</p>
|
|
83
|
-
* </li>
|
|
84
|
-
* <li>
|
|
85
|
-
* <p>
|
|
86
|
-
* <b>Error Message: </b>
|
|
87
|
-
* ElastiCache has not been granted WRITE permissions %s on the S3 Bucket.</p>
|
|
88
|
-
* <p>
|
|
89
|
-
* <b>Solution:</b>
|
|
90
|
-
* Add Upload/Delete permissions on the bucket.
|
|
91
|
-
* For more information, see <a href="https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/backups-exporting.html#backups-exporting-grant-access">Step 2: Grant ElastiCache Access to Your Amazon S3 Bucket</a> in the ElastiCache User Guide.</p>
|
|
92
|
-
* </li>
|
|
93
|
-
* <li>
|
|
94
|
-
* <p>
|
|
95
|
-
* <b>Error Message: </b>
|
|
96
|
-
* ElastiCache has not been granted READ_ACP permissions %s on the S3 Bucket.</p>
|
|
97
|
-
* <p>
|
|
98
|
-
* <b>Solution:</b>
|
|
99
|
-
* Add View Permissions on the bucket.
|
|
100
|
-
* For more information, see <a href="https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/backups-exporting.html#backups-exporting-grant-access">Step 2: Grant ElastiCache Access to Your Amazon S3 Bucket</a> in the ElastiCache User Guide.</p>
|
|
101
|
-
* </li>
|
|
102
|
-
* </ul>
|
|
103
|
-
* @example
|
|
104
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
105
|
-
* ```javascript
|
|
106
|
-
* import { ElastiCacheClient, CopySnapshotCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
|
|
107
|
-
* // const { ElastiCacheClient, CopySnapshotCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
|
|
108
|
-
* const client = new ElastiCacheClient(config);
|
|
109
|
-
* const command = new CopySnapshotCommand(input);
|
|
110
|
-
* const response = await client.send(command);
|
|
111
|
-
* ```
|
|
112
|
-
*
|
|
113
|
-
* @see {@link CopySnapshotCommandInput} for command's `input` shape.
|
|
114
|
-
* @see {@link CopySnapshotCommandOutput} for command's `response` shape.
|
|
115
|
-
* @see {@link ElastiCacheClientResolvedConfig | config} for command's `input` shape.
|
|
116
|
-
*
|
|
117
|
-
*/
|
|
118
8
|
class CopySnapshotCommand extends smithy_client_1.Command {
|
|
119
|
-
// Start section: command_properties
|
|
120
|
-
// End section: command_properties
|
|
121
9
|
constructor(input) {
|
|
122
|
-
// Start section: command_constructor
|
|
123
10
|
super();
|
|
124
11
|
this.input = input;
|
|
125
|
-
// End section: command_constructor
|
|
126
12
|
}
|
|
127
|
-
/**
|
|
128
|
-
* @internal
|
|
129
|
-
*/
|
|
130
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
131
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
132
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Creates a cluster. All nodes in the
|
|
10
|
-
* cluster run the same protocol-compliant cache engine software, either Memcached
|
|
11
|
-
* or Redis.</p>
|
|
12
|
-
* <p>This operation is not supported for Redis (cluster mode enabled) clusters.</p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { ElastiCacheClient, CreateCacheClusterCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
|
|
17
|
-
* // const { ElastiCacheClient, CreateCacheClusterCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
|
|
18
|
-
* const client = new ElastiCacheClient(config);
|
|
19
|
-
* const command = new CreateCacheClusterCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link CreateCacheClusterCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link CreateCacheClusterCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link ElastiCacheClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
8
|
class CreateCacheClusterCommand extends smithy_client_1.Command {
|
|
29
|
-
// Start section: command_properties
|
|
30
|
-
// End section: command_properties
|
|
31
9
|
constructor(input) {
|
|
32
|
-
// Start section: command_constructor
|
|
33
10
|
super();
|
|
34
11
|
this.input = input;
|
|
35
|
-
// End section: command_constructor
|
|
36
12
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,50 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Creates a new Amazon ElastiCache cache parameter group. An ElastiCache
|
|
10
|
-
* cache parameter group is a collection of parameters and their values that are applied to all of the nodes
|
|
11
|
-
* in any cluster or replication group using the CacheParameterGroup.</p>
|
|
12
|
-
* <p>A newly created CacheParameterGroup is an exact duplicate of the default parameter group
|
|
13
|
-
* for the CacheParameterGroupFamily. To customize the newly created CacheParameterGroup you can
|
|
14
|
-
* change the values of specific parameters. For more information, see:</p>
|
|
15
|
-
* <ul>
|
|
16
|
-
* <li>
|
|
17
|
-
* <p>
|
|
18
|
-
* <a href="https://docs.aws.amazon.com/AmazonElastiCache/latest/APIReference/API_ModifyCacheParameterGroup.html">ModifyCacheParameterGroup</a> in the ElastiCache API Reference.</p>
|
|
19
|
-
* </li>
|
|
20
|
-
* <li>
|
|
21
|
-
* <p>
|
|
22
|
-
* <a href="https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/ParameterGroups.html">Parameters and Parameter Groups</a> in the ElastiCache User Guide.</p>
|
|
23
|
-
* </li>
|
|
24
|
-
* </ul>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { ElastiCacheClient, CreateCacheParameterGroupCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
|
|
29
|
-
* // const { ElastiCacheClient, CreateCacheParameterGroupCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
|
|
30
|
-
* const client = new ElastiCacheClient(config);
|
|
31
|
-
* const command = new CreateCacheParameterGroupCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link CreateCacheParameterGroupCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link CreateCacheParameterGroupCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link ElastiCacheClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
8
|
class CreateCacheParameterGroupCommand extends smithy_client_1.Command {
|
|
41
|
-
// Start section: command_properties
|
|
42
|
-
// End section: command_properties
|
|
43
9
|
constructor(input) {
|
|
44
|
-
// Start section: command_constructor
|
|
45
10
|
super();
|
|
46
11
|
this.input = input;
|
|
47
|
-
// End section: command_constructor
|
|
48
12
|
}
|
|
49
|
-
/**
|
|
50
|
-
* @internal
|
|
51
|
-
*/
|
|
52
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
53
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
54
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,40 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Creates a new cache security group. Use a
|
|
10
|
-
* cache security group to control access to one or more clusters.</p>
|
|
11
|
-
* <p>Cache security groups are only used when you are creating a cluster outside of an Amazon
|
|
12
|
-
* Virtual Private Cloud (Amazon VPC). If you are creating a cluster inside of a VPC, use a cache
|
|
13
|
-
* subnet group instead. For more information,
|
|
14
|
-
* see <a href="https://docs.aws.amazon.com/AmazonElastiCache/latest/APIReference/API_CreateCacheSubnetGroup.html">CreateCacheSubnetGroup</a>.</p>
|
|
15
|
-
* @example
|
|
16
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
-
* ```javascript
|
|
18
|
-
* import { ElastiCacheClient, CreateCacheSecurityGroupCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
|
|
19
|
-
* // const { ElastiCacheClient, CreateCacheSecurityGroupCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
|
|
20
|
-
* const client = new ElastiCacheClient(config);
|
|
21
|
-
* const command = new CreateCacheSecurityGroupCommand(input);
|
|
22
|
-
* const response = await client.send(command);
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @see {@link CreateCacheSecurityGroupCommandInput} for command's `input` shape.
|
|
26
|
-
* @see {@link CreateCacheSecurityGroupCommandOutput} for command's `response` shape.
|
|
27
|
-
* @see {@link ElastiCacheClientResolvedConfig | config} for command's `input` shape.
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
8
|
class CreateCacheSecurityGroupCommand extends smithy_client_1.Command {
|
|
31
|
-
// Start section: command_properties
|
|
32
|
-
// End section: command_properties
|
|
33
9
|
constructor(input) {
|
|
34
|
-
// Start section: command_constructor
|
|
35
10
|
super();
|
|
36
11
|
this.input = input;
|
|
37
|
-
// End section: command_constructor
|
|
38
12
|
}
|
|
39
|
-
/**
|
|
40
|
-
* @internal
|
|
41
|
-
*/
|
|
42
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
43
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
44
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Creates a new cache subnet group.</p>
|
|
10
|
-
* <p>Use this parameter only when you are creating a cluster in an Amazon Virtual Private Cloud (Amazon VPC).</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { ElastiCacheClient, CreateCacheSubnetGroupCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
|
|
15
|
-
* // const { ElastiCacheClient, CreateCacheSubnetGroupCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
|
|
16
|
-
* const client = new ElastiCacheClient(config);
|
|
17
|
-
* const command = new CreateCacheSubnetGroupCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link CreateCacheSubnetGroupCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link CreateCacheSubnetGroupCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link ElastiCacheClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
8
|
class CreateCacheSubnetGroupCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,50 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Global Datastore for Redis offers fully managed, fast,
|
|
10
|
-
* reliable and secure cross-region replication.
|
|
11
|
-
* Using Global Datastore for Redis, you can create cross-region
|
|
12
|
-
* read replica clusters for ElastiCache for Redis to enable low-latency reads
|
|
13
|
-
* and disaster recovery across regions. For more information,
|
|
14
|
-
*
|
|
15
|
-
* see <a href="https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Redis-Global-Datastore.html">Replication Across Regions Using Global Datastore</a>. </p>
|
|
16
|
-
*
|
|
17
|
-
* <ul>
|
|
18
|
-
* <li>
|
|
19
|
-
* <p>The <b>GlobalReplicationGroupIdSuffix</b> is the name of the Global datastore.</p>
|
|
20
|
-
* </li>
|
|
21
|
-
* <li>
|
|
22
|
-
* <p>The <b>PrimaryReplicationGroupId</b> represents the name of the primary cluster that accepts writes and will replicate updates to the secondary cluster.</p>
|
|
23
|
-
* </li>
|
|
24
|
-
* </ul>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { ElastiCacheClient, CreateGlobalReplicationGroupCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
|
|
29
|
-
* // const { ElastiCacheClient, CreateGlobalReplicationGroupCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
|
|
30
|
-
* const client = new ElastiCacheClient(config);
|
|
31
|
-
* const command = new CreateGlobalReplicationGroupCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link CreateGlobalReplicationGroupCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link CreateGlobalReplicationGroupCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link ElastiCacheClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
8
|
class CreateGlobalReplicationGroupCommand extends smithy_client_1.Command {
|
|
41
|
-
// Start section: command_properties
|
|
42
|
-
// End section: command_properties
|
|
43
9
|
constructor(input) {
|
|
44
|
-
// Start section: command_constructor
|
|
45
10
|
super();
|
|
46
11
|
this.input = input;
|
|
47
|
-
// End section: command_constructor
|
|
48
12
|
}
|
|
49
|
-
/**
|
|
50
|
-
* @internal
|
|
51
|
-
*/
|
|
52
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
53
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
54
15
|
const stack = clientStack.concat(this.middlewareStack);
|