@aws-sdk/client-elasticache 3.775.0 → 3.782.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-types/commands/AddTagsToResourceCommand.d.ts +14 -14
- package/dist-types/commands/AuthorizeCacheSecurityGroupIngressCommand.d.ts +9 -6
- package/dist-types/commands/BatchApplyUpdateActionCommand.d.ts +1 -0
- package/dist-types/commands/BatchStopUpdateActionCommand.d.ts +1 -0
- package/dist-types/commands/CompleteMigrationCommand.d.ts +1 -0
- package/dist-types/commands/CopyServerlessCacheSnapshotCommand.d.ts +1 -0
- package/dist-types/commands/CopySnapshotCommand.d.ts +30 -30
- package/dist-types/commands/CreateCacheClusterCommand.d.ts +74 -29
- package/dist-types/commands/CreateCacheParameterGroupCommand.d.ts +10 -10
- package/dist-types/commands/CreateCacheSecurityGroupCommand.d.ts +8 -5
- package/dist-types/commands/CreateCacheSubnetGroupCommand.d.ts +20 -20
- package/dist-types/commands/CreateGlobalReplicationGroupCommand.d.ts +1 -0
- package/dist-types/commands/CreateReplicationGroupCommand.d.ts +47 -48
- package/dist-types/commands/CreateServerlessCacheCommand.d.ts +1 -0
- package/dist-types/commands/CreateServerlessCacheSnapshotCommand.d.ts +1 -0
- package/dist-types/commands/CreateSnapshotCommand.d.ts +97 -56
- package/dist-types/commands/CreateUserCommand.d.ts +1 -0
- package/dist-types/commands/CreateUserGroupCommand.d.ts +1 -0
- package/dist-types/commands/DecreaseNodeGroupsInGlobalReplicationGroupCommand.d.ts +1 -0
- package/dist-types/commands/DecreaseReplicaCountCommand.d.ts +1 -0
- package/dist-types/commands/DeleteCacheClusterCommand.d.ts +26 -26
- package/dist-types/commands/DeleteCacheParameterGroupCommand.d.ts +8 -4
- package/dist-types/commands/DeleteCacheSecurityGroupCommand.d.ts +7 -4
- package/dist-types/commands/DeleteCacheSubnetGroupCommand.d.ts +7 -4
- package/dist-types/commands/DeleteGlobalReplicationGroupCommand.d.ts +1 -0
- package/dist-types/commands/DeleteReplicationGroupCommand.d.ts +11 -11
- package/dist-types/commands/DeleteServerlessCacheCommand.d.ts +1 -0
- package/dist-types/commands/DeleteServerlessCacheSnapshotCommand.d.ts +1 -0
- package/dist-types/commands/DeleteSnapshotCommand.d.ts +28 -28
- package/dist-types/commands/DeleteUserCommand.d.ts +1 -0
- package/dist-types/commands/DeleteUserGroupCommand.d.ts +1 -0
- package/dist-types/commands/DescribeCacheClustersCommand.d.ts +92 -26
- package/dist-types/commands/DescribeCacheEngineVersionsCommand.d.ts +140 -65
- package/dist-types/commands/DescribeCacheParameterGroupsCommand.d.ts +8 -8
- package/dist-types/commands/DescribeCacheParametersCommand.d.ts +390 -390
- package/dist-types/commands/DescribeCacheSecurityGroupsCommand.d.ts +7 -4
- package/dist-types/commands/DescribeCacheSubnetGroupsCommand.d.ts +22 -22
- package/dist-types/commands/DescribeEngineDefaultParametersCommand.d.ts +391 -391
- package/dist-types/commands/DescribeEventsCommand.d.ts +80 -27
- package/dist-types/commands/DescribeGlobalReplicationGroupsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeReplicationGroupsCommand.d.ts +31 -31
- package/dist-types/commands/DescribeReservedCacheNodesCommand.d.ts +7 -4
- package/dist-types/commands/DescribeReservedCacheNodesOfferingsCommand.d.ts +230 -188
- package/dist-types/commands/DescribeServerlessCacheSnapshotsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeServerlessCachesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeServiceUpdatesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeSnapshotsCommand.d.ts +29 -29
- package/dist-types/commands/DescribeUpdateActionsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeUserGroupsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeUsersCommand.d.ts +1 -0
- package/dist-types/commands/DisassociateGlobalReplicationGroupCommand.d.ts +1 -0
- package/dist-types/commands/ExportServerlessCacheSnapshotCommand.d.ts +1 -0
- package/dist-types/commands/FailoverGlobalReplicationGroupCommand.d.ts +1 -0
- package/dist-types/commands/IncreaseNodeGroupsInGlobalReplicationGroupCommand.d.ts +1 -0
- package/dist-types/commands/IncreaseReplicaCountCommand.d.ts +1 -0
- package/dist-types/commands/ListAllowedNodeTypeModificationsCommand.d.ts +20 -5
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +9 -9
- package/dist-types/commands/ModifyCacheClusterCommand.d.ts +27 -27
- package/dist-types/commands/ModifyCacheParameterGroupCommand.d.ts +10 -10
- package/dist-types/commands/ModifyCacheSubnetGroupCommand.d.ts +25 -25
- package/dist-types/commands/ModifyGlobalReplicationGroupCommand.d.ts +1 -0
- package/dist-types/commands/ModifyReplicationGroupCommand.d.ts +44 -44
- package/dist-types/commands/ModifyReplicationGroupShardConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/ModifyServerlessCacheCommand.d.ts +1 -0
- package/dist-types/commands/ModifyUserCommand.d.ts +1 -0
- package/dist-types/commands/ModifyUserGroupCommand.d.ts +1 -0
- package/dist-types/commands/PurchaseReservedCacheNodesOfferingCommand.d.ts +7 -4
- package/dist-types/commands/RebalanceSlotsInGlobalReplicationGroupCommand.d.ts +1 -0
- package/dist-types/commands/RebootCacheClusterCommand.d.ts +27 -27
- package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +16 -16
- package/dist-types/commands/ResetCacheParameterGroupCommand.d.ts +6 -6
- package/dist-types/commands/RevokeCacheSecurityGroupIngressCommand.d.ts +9 -6
- package/dist-types/commands/StartMigrationCommand.d.ts +1 -0
- package/dist-types/commands/TestFailoverCommand.d.ts +1 -0
- package/dist-types/commands/TestMigrationCommand.d.ts +1 -0
- package/package.json +5 -5
|
@@ -130,42 +130,42 @@ declare const AddTagsToResourceCommand_base: {
|
|
|
130
130
|
* @throws {@link ElastiCacheServiceException}
|
|
131
131
|
* <p>Base exception class for all service exceptions from ElastiCache service.</p>
|
|
132
132
|
*
|
|
133
|
-
*
|
|
133
|
+
*
|
|
134
134
|
* @example AddTagsToResource
|
|
135
135
|
* ```javascript
|
|
136
136
|
* // Adds up to 10 tags, key/value pairs, to a cluster or snapshot resource.
|
|
137
137
|
* const input = {
|
|
138
|
-
*
|
|
139
|
-
*
|
|
138
|
+
* ResourceName: "arn:aws:elasticache:us-east-1:1234567890:cluster:my-mem-cluster",
|
|
139
|
+
* Tags: [
|
|
140
140
|
* {
|
|
141
|
-
*
|
|
142
|
-
*
|
|
141
|
+
* Key: "APIVersion",
|
|
142
|
+
* Value: "20150202"
|
|
143
143
|
* },
|
|
144
144
|
* {
|
|
145
|
-
*
|
|
146
|
-
*
|
|
145
|
+
* Key: "Service",
|
|
146
|
+
* Value: "ElastiCache"
|
|
147
147
|
* }
|
|
148
148
|
* ]
|
|
149
149
|
* };
|
|
150
150
|
* const command = new AddTagsToResourceCommand(input);
|
|
151
151
|
* const response = await client.send(command);
|
|
152
|
-
* /* response
|
|
152
|
+
* /* response is
|
|
153
153
|
* {
|
|
154
|
-
*
|
|
154
|
+
* TagList: [
|
|
155
155
|
* {
|
|
156
|
-
*
|
|
157
|
-
*
|
|
156
|
+
* Key: "APIVersion",
|
|
157
|
+
* Value: "20150202"
|
|
158
158
|
* },
|
|
159
159
|
* {
|
|
160
|
-
*
|
|
161
|
-
*
|
|
160
|
+
* Key: "Service",
|
|
161
|
+
* Value: "ElastiCache"
|
|
162
162
|
* }
|
|
163
163
|
* ]
|
|
164
164
|
* }
|
|
165
165
|
* *\/
|
|
166
|
-
* // example id: addtagstoresource-1482430264385
|
|
167
166
|
* ```
|
|
168
167
|
*
|
|
168
|
+
* @public
|
|
169
169
|
*/
|
|
170
170
|
export declare class AddTagsToResourceCommand extends AddTagsToResourceCommand_base {
|
|
171
171
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -91,20 +91,23 @@ declare const AuthorizeCacheSecurityGroupIngressCommand_base: {
|
|
|
91
91
|
* @throws {@link ElastiCacheServiceException}
|
|
92
92
|
* <p>Base exception class for all service exceptions from ElastiCache service.</p>
|
|
93
93
|
*
|
|
94
|
-
*
|
|
94
|
+
*
|
|
95
95
|
* @example AuthorizeCacheCacheSecurityGroupIngress
|
|
96
96
|
* ```javascript
|
|
97
97
|
* // Allows network ingress to a cache security group. Applications using ElastiCache must be running on Amazon EC2. Amazon EC2 security groups are used as the authorization mechanism.
|
|
98
98
|
* const input = {
|
|
99
|
-
*
|
|
100
|
-
*
|
|
101
|
-
*
|
|
99
|
+
* CacheSecurityGroupName: "my-sec-grp",
|
|
100
|
+
* EC2SecurityGroupName: "my-ec2-sec-grp",
|
|
101
|
+
* EC2SecurityGroupOwnerId: "1234567890"
|
|
102
102
|
* };
|
|
103
103
|
* const command = new AuthorizeCacheSecurityGroupIngressCommand(input);
|
|
104
|
-
* await client.send(command);
|
|
105
|
-
*
|
|
104
|
+
* const response = await client.send(command);
|
|
105
|
+
* /* response is
|
|
106
|
+
* { /* metadata only *\/ }
|
|
107
|
+
* *\/
|
|
106
108
|
* ```
|
|
107
109
|
*
|
|
110
|
+
* @public
|
|
108
111
|
*/
|
|
109
112
|
export declare class AuthorizeCacheSecurityGroupIngressCommand extends AuthorizeCacheSecurityGroupIngressCommand_base {
|
|
110
113
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -84,6 +84,7 @@ declare const BatchApplyUpdateActionCommand_base: {
|
|
|
84
84
|
* @throws {@link ElastiCacheServiceException}
|
|
85
85
|
* <p>Base exception class for all service exceptions from ElastiCache service.</p>
|
|
86
86
|
*
|
|
87
|
+
*
|
|
87
88
|
* @public
|
|
88
89
|
*/
|
|
89
90
|
export declare class BatchApplyUpdateActionCommand extends BatchApplyUpdateActionCommand_base {
|
|
@@ -84,6 +84,7 @@ declare const BatchStopUpdateActionCommand_base: {
|
|
|
84
84
|
* @throws {@link ElastiCacheServiceException}
|
|
85
85
|
* <p>Base exception class for all service exceptions from ElastiCache service.</p>
|
|
86
86
|
*
|
|
87
|
+
*
|
|
87
88
|
* @public
|
|
88
89
|
*/
|
|
89
90
|
export declare class BatchStopUpdateActionCommand extends BatchStopUpdateActionCommand_base {
|
|
@@ -184,6 +184,7 @@ declare const CompleteMigrationCommand_base: {
|
|
|
184
184
|
* @throws {@link ElastiCacheServiceException}
|
|
185
185
|
* <p>Base exception class for all service exceptions from ElastiCache service.</p>
|
|
186
186
|
*
|
|
187
|
+
*
|
|
187
188
|
* @public
|
|
188
189
|
*/
|
|
189
190
|
export declare class CompleteMigrationCommand extends CompleteMigrationCommand_base {
|
|
@@ -102,6 +102,7 @@ declare const CopyServerlessCacheSnapshotCommand_base: {
|
|
|
102
102
|
* @throws {@link ElastiCacheServiceException}
|
|
103
103
|
* <p>Base exception class for all service exceptions from ElastiCache service.</p>
|
|
104
104
|
*
|
|
105
|
+
*
|
|
105
106
|
* @public
|
|
106
107
|
*/
|
|
107
108
|
export declare class CopyServerlessCacheSnapshotCommand extends CopyServerlessCacheSnapshotCommand_base {
|
|
@@ -229,52 +229,52 @@ declare const CopySnapshotCommand_base: {
|
|
|
229
229
|
* @throws {@link ElastiCacheServiceException}
|
|
230
230
|
* <p>Base exception class for all service exceptions from ElastiCache service.</p>
|
|
231
231
|
*
|
|
232
|
-
*
|
|
232
|
+
*
|
|
233
233
|
* @example CopySnapshot
|
|
234
234
|
* ```javascript
|
|
235
235
|
* // Copies a snapshot to a specified name.
|
|
236
236
|
* const input = {
|
|
237
|
-
*
|
|
238
|
-
*
|
|
239
|
-
*
|
|
237
|
+
* SourceSnapshotName: "my-snapshot",
|
|
238
|
+
* TargetBucket: "",
|
|
239
|
+
* TargetSnapshotName: "my-snapshot-copy"
|
|
240
240
|
* };
|
|
241
241
|
* const command = new CopySnapshotCommand(input);
|
|
242
242
|
* const response = await client.send(command);
|
|
243
|
-
* /* response
|
|
243
|
+
* /* response is
|
|
244
244
|
* {
|
|
245
|
-
*
|
|
246
|
-
*
|
|
247
|
-
*
|
|
248
|
-
*
|
|
249
|
-
*
|
|
250
|
-
*
|
|
251
|
-
*
|
|
252
|
-
*
|
|
253
|
-
*
|
|
254
|
-
*
|
|
245
|
+
* Snapshot: {
|
|
246
|
+
* AutoMinorVersionUpgrade: true,
|
|
247
|
+
* CacheClusterCreateTime: "2016-12-21T22:24:04.955Z",
|
|
248
|
+
* CacheClusterId: "my-redis4",
|
|
249
|
+
* CacheNodeType: "cache.m3.large",
|
|
250
|
+
* CacheParameterGroupName: "default.redis3.2",
|
|
251
|
+
* CacheSubnetGroupName: "default",
|
|
252
|
+
* Engine: "redis",
|
|
253
|
+
* EngineVersion: "3.2.4",
|
|
254
|
+
* NodeSnapshots: [
|
|
255
255
|
* {
|
|
256
|
-
*
|
|
257
|
-
*
|
|
258
|
-
*
|
|
259
|
-
*
|
|
256
|
+
* CacheNodeCreateTime: "2016-12-21T22:24:04.955Z",
|
|
257
|
+
* CacheNodeId: "0001",
|
|
258
|
+
* CacheSize: "3 MB",
|
|
259
|
+
* SnapshotCreateTime: "2016-12-28T07:00:52Z"
|
|
260
260
|
* }
|
|
261
261
|
* ],
|
|
262
|
-
*
|
|
263
|
-
*
|
|
264
|
-
*
|
|
265
|
-
*
|
|
266
|
-
*
|
|
267
|
-
*
|
|
268
|
-
*
|
|
269
|
-
*
|
|
270
|
-
*
|
|
271
|
-
*
|
|
262
|
+
* NumCacheNodes: 1,
|
|
263
|
+
* Port: 6379,
|
|
264
|
+
* PreferredAvailabilityZone: "us-east-1c",
|
|
265
|
+
* PreferredMaintenanceWindow: "tue:09:30-tue:10:30",
|
|
266
|
+
* SnapshotName: "my-snapshot-copy",
|
|
267
|
+
* SnapshotRetentionLimit: 7,
|
|
268
|
+
* SnapshotSource: "manual",
|
|
269
|
+
* SnapshotStatus: "creating",
|
|
270
|
+
* SnapshotWindow: "07:00-08:00",
|
|
271
|
+
* VpcId: "vpc-3820329f3"
|
|
272
272
|
* }
|
|
273
273
|
* }
|
|
274
274
|
* *\/
|
|
275
|
-
* // example id: copysnapshot-1482961393820
|
|
276
275
|
* ```
|
|
277
276
|
*
|
|
277
|
+
* @public
|
|
278
278
|
*/
|
|
279
279
|
export declare class CopySnapshotCommand extends CopySnapshotCommand_base {
|
|
280
280
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -277,49 +277,94 @@ declare const CreateCacheClusterCommand_base: {
|
|
|
277
277
|
* @throws {@link ElastiCacheServiceException}
|
|
278
278
|
* <p>Base exception class for all service exceptions from ElastiCache service.</p>
|
|
279
279
|
*
|
|
280
|
-
*
|
|
280
|
+
*
|
|
281
281
|
* @example CreateCacheCluster
|
|
282
282
|
* ```javascript
|
|
283
283
|
* // Creates a Memcached cluster with 2 nodes.
|
|
284
284
|
* const input = {
|
|
285
|
-
*
|
|
286
|
-
*
|
|
287
|
-
*
|
|
288
|
-
*
|
|
289
|
-
*
|
|
290
|
-
*
|
|
291
|
-
*
|
|
292
|
-
*
|
|
285
|
+
* AZMode: "cross-az",
|
|
286
|
+
* CacheClusterId: "my-memcached-cluster",
|
|
287
|
+
* CacheNodeType: "cache.r3.large",
|
|
288
|
+
* CacheSubnetGroupName: "default",
|
|
289
|
+
* Engine: "memcached",
|
|
290
|
+
* EngineVersion: "1.4.24",
|
|
291
|
+
* NumCacheNodes: 2,
|
|
292
|
+
* Port: 11211
|
|
293
|
+
* };
|
|
294
|
+
* const command = new CreateCacheClusterCommand(input);
|
|
295
|
+
* const response = await client.send(command);
|
|
296
|
+
* /* response is
|
|
297
|
+
* {
|
|
298
|
+
* CacheCluster: {
|
|
299
|
+
* AutoMinorVersionUpgrade: true,
|
|
300
|
+
* CacheClusterId: "my-memcached-cluster",
|
|
301
|
+
* CacheClusterStatus: "creating",
|
|
302
|
+
* CacheNodeType: "cache.r3.large",
|
|
303
|
+
* CacheParameterGroup: {
|
|
304
|
+
* CacheNodeIdsToReboot: [],
|
|
305
|
+
* CacheParameterGroupName: "default.memcached1.4",
|
|
306
|
+
* ParameterApplyStatus: "in-sync"
|
|
307
|
+
* },
|
|
308
|
+
* CacheSecurityGroups: [],
|
|
309
|
+
* CacheSubnetGroupName: "default",
|
|
310
|
+
* ClientDownloadLandingPage: "https://console.aws.amazon.com/elasticache/home#client-download:",
|
|
311
|
+
* Engine: "memcached",
|
|
312
|
+
* EngineVersion: "1.4.24",
|
|
313
|
+
* NumCacheNodes: 2,
|
|
314
|
+
* PendingModifiedValues: { /* empty *\/ },
|
|
315
|
+
* PreferredAvailabilityZone: "Multiple",
|
|
316
|
+
* PreferredMaintenanceWindow: "wed:09:00-wed:10:00"
|
|
317
|
+
* }
|
|
318
|
+
* }
|
|
319
|
+
* *\/
|
|
320
|
+
* ```
|
|
321
|
+
*
|
|
322
|
+
* @example CreateCacheCluster
|
|
323
|
+
* ```javascript
|
|
324
|
+
* // Creates a Redis cluster with 1 node.
|
|
325
|
+
* const input = {
|
|
326
|
+
* AutoMinorVersionUpgrade: true,
|
|
327
|
+
* CacheClusterId: "my-redis",
|
|
328
|
+
* CacheNodeType: "cache.r3.larage",
|
|
329
|
+
* CacheSubnetGroupName: "default",
|
|
330
|
+
* Engine: "redis",
|
|
331
|
+
* EngineVersion: "3.2.4",
|
|
332
|
+
* NumCacheNodes: 1,
|
|
333
|
+
* Port: 6379,
|
|
334
|
+
* PreferredAvailabilityZone: "us-east-1c",
|
|
335
|
+
* SnapshotRetentionLimit: 7
|
|
293
336
|
* };
|
|
294
337
|
* const command = new CreateCacheClusterCommand(input);
|
|
295
338
|
* const response = await client.send(command);
|
|
296
|
-
* /* response
|
|
339
|
+
* /* response is
|
|
297
340
|
* {
|
|
298
|
-
*
|
|
299
|
-
*
|
|
300
|
-
*
|
|
301
|
-
*
|
|
302
|
-
*
|
|
303
|
-
*
|
|
304
|
-
*
|
|
305
|
-
*
|
|
306
|
-
*
|
|
341
|
+
* CacheCluster: {
|
|
342
|
+
* AutoMinorVersionUpgrade: true,
|
|
343
|
+
* CacheClusterId: "my-redis",
|
|
344
|
+
* CacheClusterStatus: "creating",
|
|
345
|
+
* CacheNodeType: "cache.m3.large",
|
|
346
|
+
* CacheParameterGroup: {
|
|
347
|
+
* CacheNodeIdsToReboot: [],
|
|
348
|
+
* CacheParameterGroupName: "default.redis3.2",
|
|
349
|
+
* ParameterApplyStatus: "in-sync"
|
|
307
350
|
* },
|
|
308
|
-
*
|
|
309
|
-
*
|
|
310
|
-
*
|
|
311
|
-
*
|
|
312
|
-
*
|
|
313
|
-
*
|
|
314
|
-
*
|
|
315
|
-
*
|
|
316
|
-
*
|
|
351
|
+
* CacheSecurityGroups: [],
|
|
352
|
+
* CacheSubnetGroupName: "default",
|
|
353
|
+
* ClientDownloadLandingPage: "https: //console.aws.amazon.com/elasticache/home#client-download: ",
|
|
354
|
+
* Engine: "redis",
|
|
355
|
+
* EngineVersion: "3.2.4",
|
|
356
|
+
* NumCacheNodes: 1,
|
|
357
|
+
* PendingModifiedValues: { /* empty *\/ },
|
|
358
|
+
* PreferredAvailabilityZone: "us-east-1c",
|
|
359
|
+
* PreferredMaintenanceWindow: "fri: 05: 30-fri: 06: 30",
|
|
360
|
+
* SnapshotRetentionLimit: 7,
|
|
361
|
+
* SnapshotWindow: "10: 00-11: 00"
|
|
317
362
|
* }
|
|
318
363
|
* }
|
|
319
364
|
* *\/
|
|
320
|
-
* // example id: createcachecluster-1474994727381
|
|
321
365
|
* ```
|
|
322
366
|
*
|
|
367
|
+
* @public
|
|
323
368
|
*/
|
|
324
369
|
export declare class CreateCacheClusterCommand extends CreateCacheClusterCommand_base {
|
|
325
370
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -107,29 +107,29 @@ declare const CreateCacheParameterGroupCommand_base: {
|
|
|
107
107
|
* @throws {@link ElastiCacheServiceException}
|
|
108
108
|
* <p>Base exception class for all service exceptions from ElastiCache service.</p>
|
|
109
109
|
*
|
|
110
|
-
*
|
|
110
|
+
*
|
|
111
111
|
* @example CreateCacheParameterGroup
|
|
112
112
|
* ```javascript
|
|
113
113
|
* // Creates the Amazon ElastiCache parameter group custom-redis2-8.
|
|
114
114
|
* const input = {
|
|
115
|
-
*
|
|
116
|
-
*
|
|
117
|
-
*
|
|
115
|
+
* CacheParameterGroupFamily: "redis2.8",
|
|
116
|
+
* CacheParameterGroupName: "custom-redis2-8",
|
|
117
|
+
* Description: "Custom Redis 2.8 parameter group."
|
|
118
118
|
* };
|
|
119
119
|
* const command = new CreateCacheParameterGroupCommand(input);
|
|
120
120
|
* const response = await client.send(command);
|
|
121
|
-
* /* response
|
|
121
|
+
* /* response is
|
|
122
122
|
* {
|
|
123
|
-
*
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
*
|
|
123
|
+
* CacheParameterGroup: {
|
|
124
|
+
* CacheParameterGroupFamily: "redis2.8",
|
|
125
|
+
* CacheParameterGroupName: "custom-redis2-8",
|
|
126
|
+
* Description: "Custom Redis 2.8 parameter group."
|
|
127
127
|
* }
|
|
128
128
|
* }
|
|
129
129
|
* *\/
|
|
130
|
-
* // example id: createcacheparametergroup-1474997699362
|
|
131
130
|
* ```
|
|
132
131
|
*
|
|
132
|
+
* @public
|
|
133
133
|
*/
|
|
134
134
|
export declare class CreateCacheParameterGroupCommand extends CreateCacheParameterGroupCommand_base {
|
|
135
135
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -95,19 +95,22 @@ declare const CreateCacheSecurityGroupCommand_base: {
|
|
|
95
95
|
* @throws {@link ElastiCacheServiceException}
|
|
96
96
|
* <p>Base exception class for all service exceptions from ElastiCache service.</p>
|
|
97
97
|
*
|
|
98
|
-
*
|
|
98
|
+
*
|
|
99
99
|
* @example CreateCacheSecurityGroup
|
|
100
100
|
* ```javascript
|
|
101
101
|
* // Creates an ElastiCache security group. ElastiCache security groups are only for clusters not running in an AWS VPC.
|
|
102
102
|
* const input = {
|
|
103
|
-
*
|
|
104
|
-
*
|
|
103
|
+
* CacheSecurityGroupName: "my-cache-sec-grp",
|
|
104
|
+
* Description: "Example ElastiCache security group."
|
|
105
105
|
* };
|
|
106
106
|
* const command = new CreateCacheSecurityGroupCommand(input);
|
|
107
|
-
* await client.send(command);
|
|
108
|
-
*
|
|
107
|
+
* const response = await client.send(command);
|
|
108
|
+
* /* response is
|
|
109
|
+
* { /* metadata only *\/ }
|
|
110
|
+
* *\/
|
|
109
111
|
* ```
|
|
110
112
|
*
|
|
113
|
+
* @public
|
|
111
114
|
*/
|
|
112
115
|
export declare class CreateCacheSecurityGroupCommand extends CreateCacheSecurityGroupCommand_base {
|
|
113
116
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -114,14 +114,14 @@ declare const CreateCacheSubnetGroupCommand_base: {
|
|
|
114
114
|
* @throws {@link ElastiCacheServiceException}
|
|
115
115
|
* <p>Base exception class for all service exceptions from ElastiCache service.</p>
|
|
116
116
|
*
|
|
117
|
-
*
|
|
117
|
+
*
|
|
118
118
|
* @example CreateCacheSubnet
|
|
119
119
|
* ```javascript
|
|
120
120
|
* // Creates a new cache subnet group.
|
|
121
121
|
* const input = {
|
|
122
|
-
*
|
|
123
|
-
*
|
|
124
|
-
*
|
|
122
|
+
* CacheSubnetGroupDescription: "Sample subnet group",
|
|
123
|
+
* CacheSubnetGroupName: "my-sn-grp2",
|
|
124
|
+
* SubnetIds: [
|
|
125
125
|
* "subnet-6f28c982",
|
|
126
126
|
* "subnet-bcd382f3",
|
|
127
127
|
* "subnet-845b3e7c0"
|
|
@@ -129,38 +129,38 @@ declare const CreateCacheSubnetGroupCommand_base: {
|
|
|
129
129
|
* };
|
|
130
130
|
* const command = new CreateCacheSubnetGroupCommand(input);
|
|
131
131
|
* const response = await client.send(command);
|
|
132
|
-
* /* response
|
|
132
|
+
* /* response is
|
|
133
133
|
* {
|
|
134
|
-
*
|
|
135
|
-
*
|
|
136
|
-
*
|
|
137
|
-
*
|
|
134
|
+
* CacheSubnetGroup: {
|
|
135
|
+
* CacheSubnetGroupDescription: "My subnet group.",
|
|
136
|
+
* CacheSubnetGroupName: "my-sn-grp",
|
|
137
|
+
* Subnets: [
|
|
138
138
|
* {
|
|
139
|
-
*
|
|
140
|
-
*
|
|
139
|
+
* SubnetAvailabilityZone: {
|
|
140
|
+
* Name: "us-east-1a"
|
|
141
141
|
* },
|
|
142
|
-
*
|
|
142
|
+
* SubnetIdentifier: "subnet-6f28c982"
|
|
143
143
|
* },
|
|
144
144
|
* {
|
|
145
|
-
*
|
|
146
|
-
*
|
|
145
|
+
* SubnetAvailabilityZone: {
|
|
146
|
+
* Name: "us-east-1c"
|
|
147
147
|
* },
|
|
148
|
-
*
|
|
148
|
+
* SubnetIdentifier: "subnet-bcd382f3"
|
|
149
149
|
* },
|
|
150
150
|
* {
|
|
151
|
-
*
|
|
152
|
-
*
|
|
151
|
+
* SubnetAvailabilityZone: {
|
|
152
|
+
* Name: "us-east-1b"
|
|
153
153
|
* },
|
|
154
|
-
*
|
|
154
|
+
* SubnetIdentifier: "subnet-845b3e7c0"
|
|
155
155
|
* }
|
|
156
156
|
* ],
|
|
157
|
-
*
|
|
157
|
+
* VpcId: "vpc-91280df6"
|
|
158
158
|
* }
|
|
159
159
|
* }
|
|
160
160
|
* *\/
|
|
161
|
-
* // example id: createcachesubnet-1483042274558
|
|
162
161
|
* ```
|
|
163
162
|
*
|
|
163
|
+
* @public
|
|
164
164
|
*/
|
|
165
165
|
export declare class CreateCacheSubnetGroupCommand extends CreateCacheSubnetGroupCommand_base {
|
|
166
166
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -113,6 +113,7 @@ declare const CreateGlobalReplicationGroupCommand_base: {
|
|
|
113
113
|
* @throws {@link ElastiCacheServiceException}
|
|
114
114
|
* <p>Base exception class for all service exceptions from ElastiCache service.</p>
|
|
115
115
|
*
|
|
116
|
+
*
|
|
116
117
|
* @public
|
|
117
118
|
*/
|
|
118
119
|
export declare class CreateGlobalReplicationGroupCommand extends CreateGlobalReplicationGroupCommand_base {
|
|
@@ -352,100 +352,99 @@ declare const CreateReplicationGroupCommand_base: {
|
|
|
352
352
|
* @throws {@link ElastiCacheServiceException}
|
|
353
353
|
* <p>Base exception class for all service exceptions from ElastiCache service.</p>
|
|
354
354
|
*
|
|
355
|
-
*
|
|
355
|
+
*
|
|
356
356
|
* @example CreateCacheReplicationGroup
|
|
357
357
|
* ```javascript
|
|
358
358
|
* // Creates a Redis replication group with 3 nodes.
|
|
359
359
|
* const input = {
|
|
360
|
-
*
|
|
361
|
-
*
|
|
362
|
-
*
|
|
363
|
-
*
|
|
364
|
-
*
|
|
365
|
-
*
|
|
366
|
-
*
|
|
367
|
-
*
|
|
360
|
+
* AutomaticFailoverEnabled: true,
|
|
361
|
+
* CacheNodeType: "cache.m3.medium",
|
|
362
|
+
* Engine: "redis",
|
|
363
|
+
* EngineVersion: "2.8.24",
|
|
364
|
+
* NumCacheClusters: 3,
|
|
365
|
+
* ReplicationGroupDescription: "A Redis replication group.",
|
|
366
|
+
* ReplicationGroupId: "my-redis-rg",
|
|
367
|
+
* SnapshotRetentionLimit: 30
|
|
368
368
|
* };
|
|
369
369
|
* const command = new CreateReplicationGroupCommand(input);
|
|
370
370
|
* const response = await client.send(command);
|
|
371
|
-
* /* response
|
|
371
|
+
* /* response is
|
|
372
372
|
* {
|
|
373
|
-
*
|
|
374
|
-
*
|
|
375
|
-
*
|
|
376
|
-
*
|
|
373
|
+
* ReplicationGroup: {
|
|
374
|
+
* AutomaticFailover: "enabling",
|
|
375
|
+
* Description: "A Redis replication group.",
|
|
376
|
+
* MemberClusters: [
|
|
377
377
|
* "my-redis-rg-001",
|
|
378
378
|
* "my-redis-rg-002",
|
|
379
379
|
* "my-redis-rg-003"
|
|
380
380
|
* ],
|
|
381
|
-
*
|
|
382
|
-
*
|
|
383
|
-
*
|
|
384
|
-
*
|
|
381
|
+
* PendingModifiedValues: { /* empty *\/ },
|
|
382
|
+
* ReplicationGroupId: "my-redis-rg",
|
|
383
|
+
* SnapshottingClusterId: "my-redis-rg-002",
|
|
384
|
+
* Status: "creating"
|
|
385
385
|
* }
|
|
386
386
|
* }
|
|
387
387
|
* *\/
|
|
388
|
-
* // example id: createcachereplicationgroup-1474998730655
|
|
389
388
|
* ```
|
|
390
389
|
*
|
|
391
390
|
* @example CreateReplicationGroup
|
|
392
391
|
* ```javascript
|
|
393
392
|
* // Creates a Redis (cluster mode enabled) replication group with two shards. One shard has one read replica node and the other shard has two read replicas.
|
|
394
393
|
* const input = {
|
|
395
|
-
*
|
|
396
|
-
*
|
|
397
|
-
*
|
|
398
|
-
*
|
|
399
|
-
*
|
|
400
|
-
*
|
|
394
|
+
* AutoMinorVersionUpgrade: true,
|
|
395
|
+
* CacheNodeType: "cache.m3.medium",
|
|
396
|
+
* CacheParameterGroupName: "default.redis3.2.cluster.on",
|
|
397
|
+
* Engine: "redis",
|
|
398
|
+
* EngineVersion: "3.2.4",
|
|
399
|
+
* NodeGroupConfiguration: [
|
|
401
400
|
* {
|
|
402
|
-
*
|
|
403
|
-
*
|
|
401
|
+
* PrimaryAvailabilityZone: "us-east-1c",
|
|
402
|
+
* ReplicaAvailabilityZones: [
|
|
404
403
|
* "us-east-1b"
|
|
405
404
|
* ],
|
|
406
|
-
*
|
|
407
|
-
*
|
|
405
|
+
* ReplicaCount: 1,
|
|
406
|
+
* Slots: "0-8999"
|
|
408
407
|
* },
|
|
409
408
|
* {
|
|
410
|
-
*
|
|
411
|
-
*
|
|
409
|
+
* PrimaryAvailabilityZone: "us-east-1a",
|
|
410
|
+
* ReplicaAvailabilityZones: [
|
|
412
411
|
* "us-east-1a",
|
|
413
412
|
* "us-east-1c"
|
|
414
413
|
* ],
|
|
415
|
-
*
|
|
416
|
-
*
|
|
414
|
+
* ReplicaCount: 2,
|
|
415
|
+
* Slots: "9000-16383"
|
|
417
416
|
* }
|
|
418
417
|
* ],
|
|
419
|
-
*
|
|
420
|
-
*
|
|
421
|
-
*
|
|
422
|
-
*
|
|
418
|
+
* NumNodeGroups: 2,
|
|
419
|
+
* ReplicationGroupDescription: "A multi-sharded replication group",
|
|
420
|
+
* ReplicationGroupId: "clustered-redis-rg",
|
|
421
|
+
* SnapshotRetentionLimit: 8
|
|
423
422
|
* };
|
|
424
423
|
* const command = new CreateReplicationGroupCommand(input);
|
|
425
424
|
* const response = await client.send(command);
|
|
426
|
-
* /* response
|
|
425
|
+
* /* response is
|
|
427
426
|
* {
|
|
428
|
-
*
|
|
429
|
-
*
|
|
430
|
-
*
|
|
431
|
-
*
|
|
427
|
+
* ReplicationGroup: {
|
|
428
|
+
* AutomaticFailover: "enabled",
|
|
429
|
+
* Description: "Sharded replication group",
|
|
430
|
+
* MemberClusters: [
|
|
432
431
|
* "rc-rg3-0001-001",
|
|
433
432
|
* "rc-rg3-0001-002",
|
|
434
433
|
* "rc-rg3-0002-001",
|
|
435
434
|
* "rc-rg3-0002-002",
|
|
436
435
|
* "rc-rg3-0002-003"
|
|
437
436
|
* ],
|
|
438
|
-
*
|
|
439
|
-
*
|
|
440
|
-
*
|
|
441
|
-
*
|
|
442
|
-
*
|
|
437
|
+
* PendingModifiedValues: { /* empty *\/ },
|
|
438
|
+
* ReplicationGroupId: "clustered-redis-rg",
|
|
439
|
+
* SnapshotRetentionLimit: 8,
|
|
440
|
+
* SnapshotWindow: "05:30-06:30",
|
|
441
|
+
* Status: "creating"
|
|
443
442
|
* }
|
|
444
443
|
* }
|
|
445
444
|
* *\/
|
|
446
|
-
* // example id: createreplicationgroup-1483657035585
|
|
447
445
|
* ```
|
|
448
446
|
*
|
|
447
|
+
* @public
|
|
449
448
|
*/
|
|
450
449
|
export declare class CreateReplicationGroupCommand extends CreateReplicationGroupCommand_base {
|
|
451
450
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -160,6 +160,7 @@ declare const CreateServerlessCacheCommand_base: {
|
|
|
160
160
|
* @throws {@link ElastiCacheServiceException}
|
|
161
161
|
* <p>Base exception class for all service exceptions from ElastiCache service.</p>
|
|
162
162
|
*
|
|
163
|
+
*
|
|
163
164
|
* @public
|
|
164
165
|
*/
|
|
165
166
|
export declare class CreateServerlessCacheCommand extends CreateServerlessCacheCommand_base {
|
|
@@ -102,6 +102,7 @@ declare const CreateServerlessCacheSnapshotCommand_base: {
|
|
|
102
102
|
* @throws {@link ElastiCacheServiceException}
|
|
103
103
|
* <p>Base exception class for all service exceptions from ElastiCache service.</p>
|
|
104
104
|
*
|
|
105
|
+
*
|
|
105
106
|
* @public
|
|
106
107
|
*/
|
|
107
108
|
export declare class CreateServerlessCacheSnapshotCommand extends CreateServerlessCacheSnapshotCommand_base {
|