@aws-sdk/client-elasticache 3.288.0 → 3.289.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 (39) hide show
  1. package/dist-types/commands/AddTagsToResourceCommand.d.ts +35 -0
  2. package/dist-types/commands/AuthorizeCacheSecurityGroupIngressCommand.d.ts +13 -0
  3. package/dist-types/commands/CopySnapshotCommand.d.ts +45 -0
  4. package/dist-types/commands/CreateCacheClusterCommand.d.ts +42 -0
  5. package/dist-types/commands/CreateCacheParameterGroupCommand.d.ts +22 -0
  6. package/dist-types/commands/CreateCacheSecurityGroupCommand.d.ts +12 -0
  7. package/dist-types/commands/CreateCacheSubnetGroupCommand.d.ts +46 -0
  8. package/dist-types/commands/CreateReplicationGroupCommand.d.ts +93 -0
  9. package/dist-types/commands/CreateSnapshotCommand.d.ts +89 -0
  10. package/dist-types/commands/DeleteCacheClusterCommand.d.ts +40 -0
  11. package/dist-types/commands/DeleteCacheParameterGroupCommand.d.ts +11 -0
  12. package/dist-types/commands/DeleteCacheSecurityGroupCommand.d.ts +11 -0
  13. package/dist-types/commands/DeleteCacheSubnetGroupCommand.d.ts +11 -0
  14. package/dist-types/commands/DeleteReplicationGroupCommand.d.ts +23 -0
  15. package/dist-types/commands/DeleteSnapshotCommand.d.ts +43 -0
  16. package/dist-types/commands/DescribeCacheClustersCommand.d.ts +42 -0
  17. package/dist-types/commands/DescribeCacheEngineVersionsCommand.d.ts +99 -0
  18. package/dist-types/commands/DescribeCacheParameterGroupsCommand.d.ts +22 -0
  19. package/dist-types/commands/DescribeCacheParametersCommand.d.ts +403 -0
  20. package/dist-types/commands/DescribeCacheSecurityGroupsCommand.d.ts +11 -0
  21. package/dist-types/commands/DescribeCacheSubnetGroupsCommand.d.ts +49 -0
  22. package/dist-types/commands/DescribeEngineDefaultParametersCommand.d.ts +614 -0
  23. package/dist-types/commands/DescribeEventsCommand.d.ts +49 -0
  24. package/dist-types/commands/DescribeReplicationGroupsCommand.d.ts +63 -0
  25. package/dist-types/commands/DescribeReservedCacheNodesCommand.d.ts +11 -0
  26. package/dist-types/commands/DescribeReservedCacheNodesOfferingsCommand.d.ts +273 -0
  27. package/dist-types/commands/DescribeSnapshotsCommand.d.ts +46 -0
  28. package/dist-types/commands/ListAllowedNodeTypeModificationsCommand.d.ts +25 -0
  29. package/dist-types/commands/ListTagsForResourceCommand.d.ts +25 -0
  30. package/dist-types/commands/ModifyCacheClusterCommand.d.ts +40 -0
  31. package/dist-types/commands/ModifyCacheParameterGroupCommand.d.ts +26 -0
  32. package/dist-types/commands/ModifyCacheSubnetGroupCommand.d.ts +55 -0
  33. package/dist-types/commands/ModifyReplicationGroupCommand.d.ts +74 -0
  34. package/dist-types/commands/PurchaseReservedCacheNodesOfferingCommand.d.ts +11 -0
  35. package/dist-types/commands/RebootCacheClusterCommand.d.ts +44 -0
  36. package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +42 -0
  37. package/dist-types/commands/ResetCacheParameterGroupCommand.d.ts +17 -0
  38. package/dist-types/commands/RevokeCacheSecurityGroupIngressCommand.d.ts +13 -0
  39. package/package.json +30 -30
@@ -44,6 +44,80 @@ export interface ModifyReplicationGroupCommandOutput extends ModifyReplicationGr
44
44
  * @see {@link ModifyReplicationGroupCommandOutput} for command's `response` shape.
45
45
  * @see {@link ElastiCacheClientResolvedConfig | config} for ElastiCacheClient's `config` shape.
46
46
  *
47
+ * @example ModifyReplicationGroup
48
+ * ```javascript
49
+ * //
50
+ * const input = {
51
+ * "ApplyImmediately": true,
52
+ * "ReplicationGroupDescription": "Modified replication group",
53
+ * "ReplicationGroupId": "my-redis-rg",
54
+ * "SnapshotRetentionLimit": 30,
55
+ * "SnapshottingClusterId": "my-redis-rg-001"
56
+ * };
57
+ * const command = new ModifyReplicationGroupCommand(input);
58
+ * const response = await client.send(command);
59
+ * /* response ==
60
+ * {
61
+ * "ReplicationGroup": {
62
+ * "AutomaticFailover": "enabled",
63
+ * "Description": "Modified replication group",
64
+ * "MemberClusters": [
65
+ * "my-redis-rg-001",
66
+ * "my-redis-rg-002",
67
+ * "my-redis-rg-003"
68
+ * ],
69
+ * "NodeGroups": [
70
+ * {
71
+ * "NodeGroupId": "0001",
72
+ * "NodeGroupMembers": [
73
+ * {
74
+ * "CacheClusterId": "my-redis-rg-001",
75
+ * "CacheNodeId": "0001",
76
+ * "CurrentRole": "primary",
77
+ * "PreferredAvailabilityZone": "us-east-1b",
78
+ * "ReadEndpoint": {
79
+ * "Address": "my-redis-rg-001.abcdef.0001.use1.cache.amazonaws.com",
80
+ * "Port": 6379
81
+ * }
82
+ * },
83
+ * {
84
+ * "CacheClusterId": "my-redis-rg-002",
85
+ * "CacheNodeId": "0001",
86
+ * "CurrentRole": "replica",
87
+ * "PreferredAvailabilityZone": "us-east-1a",
88
+ * "ReadEndpoint": {
89
+ * "Address": "my-redis-rg-002.abcdef.0001.use1.cache.amazonaws.com",
90
+ * "Port": 6379
91
+ * }
92
+ * },
93
+ * {
94
+ * "CacheClusterId": "my-redis-rg-003",
95
+ * "CacheNodeId": "0001",
96
+ * "CurrentRole": "replica",
97
+ * "PreferredAvailabilityZone": "us-east-1c",
98
+ * "ReadEndpoint": {
99
+ * "Address": "my-redis-rg-003.abcdef.0001.use1.cache.amazonaws.com",
100
+ * "Port": 6379
101
+ * }
102
+ * }
103
+ * ],
104
+ * "PrimaryEndpoint": {
105
+ * "Address": "my-redis-rg.abcdef.ng.0001.use1.cache.amazonaws.com",
106
+ * "Port": 6379
107
+ * },
108
+ * "Status": "available"
109
+ * }
110
+ * ],
111
+ * "PendingModifiedValues": {},
112
+ * "ReplicationGroupId": "my-redis-rg",
113
+ * "SnapshottingClusterId": "my-redis-rg-002",
114
+ * "Status": "available"
115
+ * }
116
+ * }
117
+ * *\/
118
+ * // example id: modifyreplicationgroup-1483039689581
119
+ * ```
120
+ *
47
121
  */
48
122
  export declare class ModifyReplicationGroupCommand extends $Command<ModifyReplicationGroupCommandInput, ModifyReplicationGroupCommandOutput, ElastiCacheClientResolvedConfig> {
49
123
  readonly input: ModifyReplicationGroupCommandInput;
@@ -32,6 +32,17 @@ export interface PurchaseReservedCacheNodesOfferingCommandOutput extends Purchas
32
32
  * @see {@link PurchaseReservedCacheNodesOfferingCommandOutput} for command's `response` shape.
33
33
  * @see {@link ElastiCacheClientResolvedConfig | config} for ElastiCacheClient's `config` shape.
34
34
  *
35
+ * @example PurchaseReservedCacheNodesOfferings
36
+ * ```javascript
37
+ * // Allows you to purchase a reserved cache node offering.
38
+ * const input = {
39
+ * "ReservedCacheNodesOfferingId": "1ef01f5b-94ff-433f-a530-61a56bfc8e7a"
40
+ * };
41
+ * const command = new PurchaseReservedCacheNodesOfferingCommand(input);
42
+ * await client.send(command);
43
+ * // example id: purchasereservedcachenodesofferings-1483040798484
44
+ * ```
45
+ *
35
46
  */
36
47
  export declare class PurchaseReservedCacheNodesOfferingCommand extends $Command<PurchaseReservedCacheNodesOfferingCommandInput, PurchaseReservedCacheNodesOfferingCommandOutput, ElastiCacheClientResolvedConfig> {
37
48
  readonly input: PurchaseReservedCacheNodesOfferingCommandInput;
@@ -39,6 +39,50 @@ export interface RebootCacheClusterCommandOutput extends RebootCacheClusterResul
39
39
  * @see {@link RebootCacheClusterCommandOutput} for command's `response` shape.
40
40
  * @see {@link ElastiCacheClientResolvedConfig | config} for ElastiCacheClient's `config` shape.
41
41
  *
42
+ * @example RebootCacheCluster
43
+ * ```javascript
44
+ * // Reboots the specified nodes in the names cluster.
45
+ * const input = {
46
+ * "CacheClusterId": "custom-mem1-4 ",
47
+ * "CacheNodeIdsToReboot": [
48
+ * "0001",
49
+ * "0002"
50
+ * ]
51
+ * };
52
+ * const command = new RebootCacheClusterCommand(input);
53
+ * const response = await client.send(command);
54
+ * /* response ==
55
+ * {
56
+ * "CacheCluster": {
57
+ * "AutoMinorVersionUpgrade": true,
58
+ * "CacheClusterCreateTime": "2016-12-21T21:59:43.794Z",
59
+ * "CacheClusterId": "my-mem-cluster",
60
+ * "CacheClusterStatus": "rebooting cache cluster nodes",
61
+ * "CacheNodeType": "cache.t2.medium",
62
+ * "CacheParameterGroup": {
63
+ * "CacheNodeIdsToReboot": [],
64
+ * "CacheParameterGroupName": "default.memcached1.4",
65
+ * "ParameterApplyStatus": "in-sync"
66
+ * },
67
+ * "CacheSecurityGroups": [],
68
+ * "CacheSubnetGroupName": "default",
69
+ * "ClientDownloadLandingPage": "https://console.aws.amazon.com/elasticache/home#client-download:",
70
+ * "ConfigurationEndpoint": {
71
+ * "Address": "my-mem-cluster.abcdef.cfg.use1.cache.amazonaws.com",
72
+ * "Port": 11211
73
+ * },
74
+ * "Engine": "memcached",
75
+ * "EngineVersion": "1.4.24",
76
+ * "NumCacheNodes": 2,
77
+ * "PendingModifiedValues": {},
78
+ * "PreferredAvailabilityZone": "Multiple",
79
+ * "PreferredMaintenanceWindow": "wed:06:00-wed:07:00"
80
+ * }
81
+ * }
82
+ * *\/
83
+ * // example id: rebootcachecluster-1482969019505
84
+ * ```
85
+ *
42
86
  */
43
87
  export declare class RebootCacheClusterCommand extends $Command<RebootCacheClusterCommandInput, RebootCacheClusterCommandOutput, ElastiCacheClientResolvedConfig> {
44
88
  readonly input: RebootCacheClusterCommandInput;
@@ -32,6 +32,48 @@ export interface RemoveTagsFromResourceCommandOutput extends TagListMessage, __M
32
32
  * @see {@link RemoveTagsFromResourceCommandOutput} for command's `response` shape.
33
33
  * @see {@link ElastiCacheClientResolvedConfig | config} for ElastiCacheClient's `config` shape.
34
34
  *
35
+ * @example RemoveTagsFromResource
36
+ * ```javascript
37
+ * // Removes tags identified by a list of tag keys from the list of tags on the specified resource.
38
+ * const input = {
39
+ * "ResourceName": "arn:aws:elasticache:us-east-1:1234567890:cluster:my-mem-cluster",
40
+ * "TagKeys": [
41
+ * "A",
42
+ * "C",
43
+ * "E"
44
+ * ]
45
+ * };
46
+ * const command = new RemoveTagsFromResourceCommand(input);
47
+ * const response = await client.send(command);
48
+ * /* response ==
49
+ * {
50
+ * "TagList": [
51
+ * {
52
+ * "Key": "B",
53
+ * "Value": "Banana"
54
+ * },
55
+ * {
56
+ * "Key": "D",
57
+ * "Value": "Dog"
58
+ * },
59
+ * {
60
+ * "Key": "F",
61
+ * "Value": "Fox"
62
+ * },
63
+ * {
64
+ * "Key": "I",
65
+ * "Value": ""
66
+ * },
67
+ * {
68
+ * "Key": "K",
69
+ * "Value": "Kite"
70
+ * }
71
+ * ]
72
+ * }
73
+ * *\/
74
+ * // example id: removetagsfromresource-1483037920947
75
+ * ```
76
+ *
35
77
  */
36
78
  export declare class RemoveTagsFromResourceCommand extends $Command<RemoveTagsFromResourceCommandInput, RemoveTagsFromResourceCommandOutput, ElastiCacheClientResolvedConfig> {
37
79
  readonly input: RemoveTagsFromResourceCommandInput;
@@ -32,6 +32,23 @@ export interface ResetCacheParameterGroupCommandOutput extends CacheParameterGro
32
32
  * @see {@link ResetCacheParameterGroupCommandOutput} for command's `response` shape.
33
33
  * @see {@link ElastiCacheClientResolvedConfig | config} for ElastiCacheClient's `config` shape.
34
34
  *
35
+ * @example ResetCacheParameterGroup
36
+ * ```javascript
37
+ * // Modifies the parameters of a cache parameter group to the engine or system default value.
38
+ * const input = {
39
+ * "CacheParameterGroupName": "custom-mem1-4",
40
+ * "ResetAllParameters": true
41
+ * };
42
+ * const command = new ResetCacheParameterGroupCommand(input);
43
+ * const response = await client.send(command);
44
+ * /* response ==
45
+ * {
46
+ * "CacheParameterGroupName": "custom-mem1-4"
47
+ * }
48
+ * *\/
49
+ * // example id: resetcacheparametergroup-1483038334014
50
+ * ```
51
+ *
35
52
  */
36
53
  export declare class ResetCacheParameterGroupCommand extends $Command<ResetCacheParameterGroupCommandInput, ResetCacheParameterGroupCommandOutput, ElastiCacheClientResolvedConfig> {
37
54
  readonly input: ResetCacheParameterGroupCommandInput;
@@ -31,6 +31,19 @@ export interface RevokeCacheSecurityGroupIngressCommandOutput extends RevokeCach
31
31
  * @see {@link RevokeCacheSecurityGroupIngressCommandOutput} for command's `response` shape.
32
32
  * @see {@link ElastiCacheClientResolvedConfig | config} for ElastiCacheClient's `config` shape.
33
33
  *
34
+ * @example DescribeCacheSecurityGroups
35
+ * ```javascript
36
+ * // Returns a list of cache security group descriptions. If a cache security group name is specified, the list contains only the description of that group.
37
+ * const input = {
38
+ * "CacheSecurityGroupName": "my-sec-grp",
39
+ * "EC2SecurityGroupName": "my-ec2-sec-grp",
40
+ * "EC2SecurityGroupOwnerId": "1234567890"
41
+ * };
42
+ * const command = new RevokeCacheSecurityGroupIngressCommand(input);
43
+ * await client.send(command);
44
+ * // example id: describecachesecuritygroups-1483047200801
45
+ * ```
46
+ *
34
47
  */
35
48
  export declare class RevokeCacheSecurityGroupIngressCommand extends $Command<RevokeCacheSecurityGroupIngressCommandInput, RevokeCacheSecurityGroupIngressCommandOutput, ElastiCacheClientResolvedConfig> {
36
49
  readonly input: RevokeCacheSecurityGroupIngressCommandInput;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-elasticache",
3
3
  "description": "AWS SDK for JavaScript Elasticache Client for Node.js, Browser and React Native",
4
- "version": "3.288.0",
4
+ "version": "3.289.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,39 +20,39 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.288.0",
24
- "@aws-sdk/config-resolver": "3.287.0",
25
- "@aws-sdk/credential-provider-node": "3.288.0",
26
- "@aws-sdk/fetch-http-handler": "3.282.0",
27
- "@aws-sdk/hash-node": "3.272.0",
28
- "@aws-sdk/invalid-dependency": "3.272.0",
29
- "@aws-sdk/middleware-content-length": "3.282.0",
30
- "@aws-sdk/middleware-endpoint": "3.282.0",
31
- "@aws-sdk/middleware-host-header": "3.282.0",
32
- "@aws-sdk/middleware-logger": "3.288.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.282.0",
34
- "@aws-sdk/middleware-retry": "3.287.0",
35
- "@aws-sdk/middleware-serde": "3.272.0",
36
- "@aws-sdk/middleware-signing": "3.282.0",
37
- "@aws-sdk/middleware-stack": "3.272.0",
38
- "@aws-sdk/middleware-user-agent": "3.282.0",
39
- "@aws-sdk/node-config-provider": "3.287.0",
40
- "@aws-sdk/node-http-handler": "3.282.0",
41
- "@aws-sdk/protocol-http": "3.282.0",
42
- "@aws-sdk/smithy-client": "3.279.0",
43
- "@aws-sdk/types": "3.272.0",
44
- "@aws-sdk/url-parser": "3.272.0",
23
+ "@aws-sdk/client-sts": "3.289.0",
24
+ "@aws-sdk/config-resolver": "3.289.0",
25
+ "@aws-sdk/credential-provider-node": "3.289.0",
26
+ "@aws-sdk/fetch-http-handler": "3.289.0",
27
+ "@aws-sdk/hash-node": "3.289.0",
28
+ "@aws-sdk/invalid-dependency": "3.289.0",
29
+ "@aws-sdk/middleware-content-length": "3.289.0",
30
+ "@aws-sdk/middleware-endpoint": "3.289.0",
31
+ "@aws-sdk/middleware-host-header": "3.289.0",
32
+ "@aws-sdk/middleware-logger": "3.289.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.289.0",
34
+ "@aws-sdk/middleware-retry": "3.289.0",
35
+ "@aws-sdk/middleware-serde": "3.289.0",
36
+ "@aws-sdk/middleware-signing": "3.289.0",
37
+ "@aws-sdk/middleware-stack": "3.289.0",
38
+ "@aws-sdk/middleware-user-agent": "3.289.0",
39
+ "@aws-sdk/node-config-provider": "3.289.0",
40
+ "@aws-sdk/node-http-handler": "3.289.0",
41
+ "@aws-sdk/protocol-http": "3.289.0",
42
+ "@aws-sdk/smithy-client": "3.289.0",
43
+ "@aws-sdk/types": "3.289.0",
44
+ "@aws-sdk/url-parser": "3.289.0",
45
45
  "@aws-sdk/util-base64": "3.208.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.188.0",
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.279.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.287.0",
50
- "@aws-sdk/util-endpoints": "3.272.0",
51
- "@aws-sdk/util-retry": "3.272.0",
52
- "@aws-sdk/util-user-agent-browser": "3.282.0",
53
- "@aws-sdk/util-user-agent-node": "3.287.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.289.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.289.0",
50
+ "@aws-sdk/util-endpoints": "3.289.0",
51
+ "@aws-sdk/util-retry": "3.289.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.289.0",
53
+ "@aws-sdk/util-user-agent-node": "3.289.0",
54
54
  "@aws-sdk/util-utf8": "3.254.0",
55
- "@aws-sdk/util-waiter": "3.272.0",
55
+ "@aws-sdk/util-waiter": "3.289.0",
56
56
  "fast-xml-parser": "4.1.2",
57
57
  "tslib": "^2.3.1"
58
58
  },