@aws-sdk/client-memorydb 3.699.0 → 3.709.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/README.md +42 -2
- package/dist-cjs/index.js +319 -0
- package/dist-es/MemoryDB.js +10 -0
- package/dist-es/commands/CreateMultiRegionClusterCommand.js +22 -0
- package/dist-es/commands/DeleteMultiRegionClusterCommand.js +22 -0
- package/dist-es/commands/DescribeMultiRegionClustersCommand.js +22 -0
- package/dist-es/commands/ListAllowedMultiRegionClusterUpdatesCommand.js +22 -0
- package/dist-es/commands/UpdateMultiRegionClusterCommand.js +22 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +52 -0
- package/dist-es/pagination/DescribeMultiRegionClustersPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -1
- package/dist-es/protocols/Aws_json1_1.js +147 -1
- package/dist-types/MemoryDB.d.ts +38 -2
- package/dist-types/MemoryDBClient.d.ts +9 -4
- package/dist-types/commands/BatchUpdateClusterCommand.d.ts +1 -0
- package/dist-types/commands/CopySnapshotCommand.d.ts +2 -0
- package/dist-types/commands/CreateClusterCommand.d.ts +8 -0
- package/dist-types/commands/CreateMultiRegionClusterCommand.d.ts +121 -0
- package/dist-types/commands/CreateSnapshotCommand.d.ts +2 -0
- package/dist-types/commands/DeleteClusterCommand.d.ts +8 -1
- package/dist-types/commands/DeleteMultiRegionClusterCommand.d.ts +99 -0
- package/dist-types/commands/DeleteSnapshotCommand.d.ts +2 -0
- package/dist-types/commands/DescribeACLsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClustersCommand.d.ts +1 -0
- package/dist-types/commands/DescribeEngineVersionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeMultiRegionClustersCommand.d.ts +108 -0
- package/dist-types/commands/DescribeServiceUpdatesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSnapshotsCommand.d.ts +2 -0
- package/dist-types/commands/FailoverShardCommand.d.ts +1 -0
- package/dist-types/commands/ListAllowedMultiRegionClusterUpdatesCommand.d.ts +85 -0
- package/dist-types/commands/ListTagsCommand.d.ts +7 -2
- package/dist-types/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +10 -1
- package/dist-types/commands/UpdateClusterCommand.d.ts +1 -0
- package/dist-types/commands/UpdateMultiRegionClusterCommand.d.ts +113 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/index.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +412 -46
- package/dist-types/pagination/DescribeMultiRegionClustersPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -1
- package/dist-types/protocols/Aws_json1_1.d.ts +45 -0
- package/dist-types/ts3.4/MemoryDB.d.ts +92 -0
- package/dist-types/ts3.4/MemoryDBClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateMultiRegionClusterCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteMultiRegionClusterCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeMultiRegionClustersCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListAllowedMultiRegionClusterUpdatesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateMultiRegionClusterCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +119 -0
- package/dist-types/ts3.4/pagination/DescribeMultiRegionClustersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -1
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +60 -0
- package/package.json +35 -35
package/dist-types/MemoryDB.d.ts
CHANGED
|
@@ -3,12 +3,14 @@ import { BatchUpdateClusterCommandInput, BatchUpdateClusterCommandOutput } from
|
|
|
3
3
|
import { CopySnapshotCommandInput, CopySnapshotCommandOutput } from "./commands/CopySnapshotCommand";
|
|
4
4
|
import { CreateACLCommandInput, CreateACLCommandOutput } from "./commands/CreateACLCommand";
|
|
5
5
|
import { CreateClusterCommandInput, CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
|
|
6
|
+
import { CreateMultiRegionClusterCommandInput, CreateMultiRegionClusterCommandOutput } from "./commands/CreateMultiRegionClusterCommand";
|
|
6
7
|
import { CreateParameterGroupCommandInput, CreateParameterGroupCommandOutput } from "./commands/CreateParameterGroupCommand";
|
|
7
8
|
import { CreateSnapshotCommandInput, CreateSnapshotCommandOutput } from "./commands/CreateSnapshotCommand";
|
|
8
9
|
import { CreateSubnetGroupCommandInput, CreateSubnetGroupCommandOutput } from "./commands/CreateSubnetGroupCommand";
|
|
9
10
|
import { CreateUserCommandInput, CreateUserCommandOutput } from "./commands/CreateUserCommand";
|
|
10
11
|
import { DeleteACLCommandInput, DeleteACLCommandOutput } from "./commands/DeleteACLCommand";
|
|
11
12
|
import { DeleteClusterCommandInput, DeleteClusterCommandOutput } from "./commands/DeleteClusterCommand";
|
|
13
|
+
import { DeleteMultiRegionClusterCommandInput, DeleteMultiRegionClusterCommandOutput } from "./commands/DeleteMultiRegionClusterCommand";
|
|
12
14
|
import { DeleteParameterGroupCommandInput, DeleteParameterGroupCommandOutput } from "./commands/DeleteParameterGroupCommand";
|
|
13
15
|
import { DeleteSnapshotCommandInput, DeleteSnapshotCommandOutput } from "./commands/DeleteSnapshotCommand";
|
|
14
16
|
import { DeleteSubnetGroupCommandInput, DeleteSubnetGroupCommandOutput } from "./commands/DeleteSubnetGroupCommand";
|
|
@@ -17,6 +19,7 @@ import { DescribeACLsCommandInput, DescribeACLsCommandOutput } from "./commands/
|
|
|
17
19
|
import { DescribeClustersCommandInput, DescribeClustersCommandOutput } from "./commands/DescribeClustersCommand";
|
|
18
20
|
import { DescribeEngineVersionsCommandInput, DescribeEngineVersionsCommandOutput } from "./commands/DescribeEngineVersionsCommand";
|
|
19
21
|
import { DescribeEventsCommandInput, DescribeEventsCommandOutput } from "./commands/DescribeEventsCommand";
|
|
22
|
+
import { DescribeMultiRegionClustersCommandInput, DescribeMultiRegionClustersCommandOutput } from "./commands/DescribeMultiRegionClustersCommand";
|
|
20
23
|
import { DescribeParameterGroupsCommandInput, DescribeParameterGroupsCommandOutput } from "./commands/DescribeParameterGroupsCommand";
|
|
21
24
|
import { DescribeParametersCommandInput, DescribeParametersCommandOutput } from "./commands/DescribeParametersCommand";
|
|
22
25
|
import { DescribeReservedNodesCommandInput, DescribeReservedNodesCommandOutput } from "./commands/DescribeReservedNodesCommand";
|
|
@@ -26,6 +29,7 @@ import { DescribeSnapshotsCommandInput, DescribeSnapshotsCommandOutput } from ".
|
|
|
26
29
|
import { DescribeSubnetGroupsCommandInput, DescribeSubnetGroupsCommandOutput } from "./commands/DescribeSubnetGroupsCommand";
|
|
27
30
|
import { DescribeUsersCommandInput, DescribeUsersCommandOutput } from "./commands/DescribeUsersCommand";
|
|
28
31
|
import { FailoverShardCommandInput, FailoverShardCommandOutput } from "./commands/FailoverShardCommand";
|
|
32
|
+
import { ListAllowedMultiRegionClusterUpdatesCommandInput, ListAllowedMultiRegionClusterUpdatesCommandOutput } from "./commands/ListAllowedMultiRegionClusterUpdatesCommand";
|
|
29
33
|
import { ListAllowedNodeTypeUpdatesCommandInput, ListAllowedNodeTypeUpdatesCommandOutput } from "./commands/ListAllowedNodeTypeUpdatesCommand";
|
|
30
34
|
import { ListTagsCommandInput, ListTagsCommandOutput } from "./commands/ListTagsCommand";
|
|
31
35
|
import { PurchaseReservedNodesOfferingCommandInput, PurchaseReservedNodesOfferingCommandOutput } from "./commands/PurchaseReservedNodesOfferingCommand";
|
|
@@ -34,6 +38,7 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
34
38
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
35
39
|
import { UpdateACLCommandInput, UpdateACLCommandOutput } from "./commands/UpdateACLCommand";
|
|
36
40
|
import { UpdateClusterCommandInput, UpdateClusterCommandOutput } from "./commands/UpdateClusterCommand";
|
|
41
|
+
import { UpdateMultiRegionClusterCommandInput, UpdateMultiRegionClusterCommandOutput } from "./commands/UpdateMultiRegionClusterCommand";
|
|
37
42
|
import { UpdateParameterGroupCommandInput, UpdateParameterGroupCommandOutput } from "./commands/UpdateParameterGroupCommand";
|
|
38
43
|
import { UpdateSubnetGroupCommandInput, UpdateSubnetGroupCommandOutput } from "./commands/UpdateSubnetGroupCommand";
|
|
39
44
|
import { UpdateUserCommandInput, UpdateUserCommandOutput } from "./commands/UpdateUserCommand";
|
|
@@ -63,6 +68,12 @@ export interface MemoryDB {
|
|
|
63
68
|
createCluster(args: CreateClusterCommandInput, options?: __HttpHandlerOptions): Promise<CreateClusterCommandOutput>;
|
|
64
69
|
createCluster(args: CreateClusterCommandInput, cb: (err: any, data?: CreateClusterCommandOutput) => void): void;
|
|
65
70
|
createCluster(args: CreateClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateClusterCommandOutput) => void): void;
|
|
71
|
+
/**
|
|
72
|
+
* @see {@link CreateMultiRegionClusterCommand}
|
|
73
|
+
*/
|
|
74
|
+
createMultiRegionCluster(args: CreateMultiRegionClusterCommandInput, options?: __HttpHandlerOptions): Promise<CreateMultiRegionClusterCommandOutput>;
|
|
75
|
+
createMultiRegionCluster(args: CreateMultiRegionClusterCommandInput, cb: (err: any, data?: CreateMultiRegionClusterCommandOutput) => void): void;
|
|
76
|
+
createMultiRegionCluster(args: CreateMultiRegionClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateMultiRegionClusterCommandOutput) => void): void;
|
|
66
77
|
/**
|
|
67
78
|
* @see {@link CreateParameterGroupCommand}
|
|
68
79
|
*/
|
|
@@ -99,6 +110,12 @@ export interface MemoryDB {
|
|
|
99
110
|
deleteCluster(args: DeleteClusterCommandInput, options?: __HttpHandlerOptions): Promise<DeleteClusterCommandOutput>;
|
|
100
111
|
deleteCluster(args: DeleteClusterCommandInput, cb: (err: any, data?: DeleteClusterCommandOutput) => void): void;
|
|
101
112
|
deleteCluster(args: DeleteClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteClusterCommandOutput) => void): void;
|
|
113
|
+
/**
|
|
114
|
+
* @see {@link DeleteMultiRegionClusterCommand}
|
|
115
|
+
*/
|
|
116
|
+
deleteMultiRegionCluster(args: DeleteMultiRegionClusterCommandInput, options?: __HttpHandlerOptions): Promise<DeleteMultiRegionClusterCommandOutput>;
|
|
117
|
+
deleteMultiRegionCluster(args: DeleteMultiRegionClusterCommandInput, cb: (err: any, data?: DeleteMultiRegionClusterCommandOutput) => void): void;
|
|
118
|
+
deleteMultiRegionCluster(args: DeleteMultiRegionClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMultiRegionClusterCommandOutput) => void): void;
|
|
102
119
|
/**
|
|
103
120
|
* @see {@link DeleteParameterGroupCommand}
|
|
104
121
|
*/
|
|
@@ -151,6 +168,13 @@ export interface MemoryDB {
|
|
|
151
168
|
describeEvents(args: DescribeEventsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeEventsCommandOutput>;
|
|
152
169
|
describeEvents(args: DescribeEventsCommandInput, cb: (err: any, data?: DescribeEventsCommandOutput) => void): void;
|
|
153
170
|
describeEvents(args: DescribeEventsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeEventsCommandOutput) => void): void;
|
|
171
|
+
/**
|
|
172
|
+
* @see {@link DescribeMultiRegionClustersCommand}
|
|
173
|
+
*/
|
|
174
|
+
describeMultiRegionClusters(): Promise<DescribeMultiRegionClustersCommandOutput>;
|
|
175
|
+
describeMultiRegionClusters(args: DescribeMultiRegionClustersCommandInput, options?: __HttpHandlerOptions): Promise<DescribeMultiRegionClustersCommandOutput>;
|
|
176
|
+
describeMultiRegionClusters(args: DescribeMultiRegionClustersCommandInput, cb: (err: any, data?: DescribeMultiRegionClustersCommandOutput) => void): void;
|
|
177
|
+
describeMultiRegionClusters(args: DescribeMultiRegionClustersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeMultiRegionClustersCommandOutput) => void): void;
|
|
154
178
|
/**
|
|
155
179
|
* @see {@link DescribeParameterGroupsCommand}
|
|
156
180
|
*/
|
|
@@ -212,6 +236,12 @@ export interface MemoryDB {
|
|
|
212
236
|
failoverShard(args: FailoverShardCommandInput, options?: __HttpHandlerOptions): Promise<FailoverShardCommandOutput>;
|
|
213
237
|
failoverShard(args: FailoverShardCommandInput, cb: (err: any, data?: FailoverShardCommandOutput) => void): void;
|
|
214
238
|
failoverShard(args: FailoverShardCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: FailoverShardCommandOutput) => void): void;
|
|
239
|
+
/**
|
|
240
|
+
* @see {@link ListAllowedMultiRegionClusterUpdatesCommand}
|
|
241
|
+
*/
|
|
242
|
+
listAllowedMultiRegionClusterUpdates(args: ListAllowedMultiRegionClusterUpdatesCommandInput, options?: __HttpHandlerOptions): Promise<ListAllowedMultiRegionClusterUpdatesCommandOutput>;
|
|
243
|
+
listAllowedMultiRegionClusterUpdates(args: ListAllowedMultiRegionClusterUpdatesCommandInput, cb: (err: any, data?: ListAllowedMultiRegionClusterUpdatesCommandOutput) => void): void;
|
|
244
|
+
listAllowedMultiRegionClusterUpdates(args: ListAllowedMultiRegionClusterUpdatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAllowedMultiRegionClusterUpdatesCommandOutput) => void): void;
|
|
215
245
|
/**
|
|
216
246
|
* @see {@link ListAllowedNodeTypeUpdatesCommand}
|
|
217
247
|
*/
|
|
@@ -260,6 +290,12 @@ export interface MemoryDB {
|
|
|
260
290
|
updateCluster(args: UpdateClusterCommandInput, options?: __HttpHandlerOptions): Promise<UpdateClusterCommandOutput>;
|
|
261
291
|
updateCluster(args: UpdateClusterCommandInput, cb: (err: any, data?: UpdateClusterCommandOutput) => void): void;
|
|
262
292
|
updateCluster(args: UpdateClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateClusterCommandOutput) => void): void;
|
|
293
|
+
/**
|
|
294
|
+
* @see {@link UpdateMultiRegionClusterCommand}
|
|
295
|
+
*/
|
|
296
|
+
updateMultiRegionCluster(args: UpdateMultiRegionClusterCommandInput, options?: __HttpHandlerOptions): Promise<UpdateMultiRegionClusterCommandOutput>;
|
|
297
|
+
updateMultiRegionCluster(args: UpdateMultiRegionClusterCommandInput, cb: (err: any, data?: UpdateMultiRegionClusterCommandOutput) => void): void;
|
|
298
|
+
updateMultiRegionCluster(args: UpdateMultiRegionClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateMultiRegionClusterCommandOutput) => void): void;
|
|
263
299
|
/**
|
|
264
300
|
* @see {@link UpdateParameterGroupCommand}
|
|
265
301
|
*/
|
|
@@ -280,9 +316,9 @@ export interface MemoryDB {
|
|
|
280
316
|
updateUser(args: UpdateUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateUserCommandOutput) => void): void;
|
|
281
317
|
}
|
|
282
318
|
/**
|
|
283
|
-
* <p>MemoryDB
|
|
319
|
+
* <p>MemoryDB is a fully managed, Redis OSS-compatible, in-memory database that delivers ultra-fast performance and Multi-AZ durability for modern applications built using microservices architectures.
|
|
284
320
|
*
|
|
285
|
-
* MemoryDB stores the entire database in-memory, enabling low latency and high throughput data access. It is compatible with Redis, a popular open source data store, enabling you to leverage Redis’ flexible and friendly data structures, APIs, and commands.</p>
|
|
321
|
+
* MemoryDB stores the entire database in-memory, enabling low latency and high throughput data access. It is compatible with Redis OSS, a popular open source data store, enabling you to leverage Redis OSS’ flexible and friendly data structures, APIs, and commands.</p>
|
|
286
322
|
* @public
|
|
287
323
|
*/
|
|
288
324
|
export declare class MemoryDB extends MemoryDBClient implements MemoryDB {
|
|
@@ -11,12 +11,14 @@ import { BatchUpdateClusterCommandInput, BatchUpdateClusterCommandOutput } from
|
|
|
11
11
|
import { CopySnapshotCommandInput, CopySnapshotCommandOutput } from "./commands/CopySnapshotCommand";
|
|
12
12
|
import { CreateACLCommandInput, CreateACLCommandOutput } from "./commands/CreateACLCommand";
|
|
13
13
|
import { CreateClusterCommandInput, CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
|
|
14
|
+
import { CreateMultiRegionClusterCommandInput, CreateMultiRegionClusterCommandOutput } from "./commands/CreateMultiRegionClusterCommand";
|
|
14
15
|
import { CreateParameterGroupCommandInput, CreateParameterGroupCommandOutput } from "./commands/CreateParameterGroupCommand";
|
|
15
16
|
import { CreateSnapshotCommandInput, CreateSnapshotCommandOutput } from "./commands/CreateSnapshotCommand";
|
|
16
17
|
import { CreateSubnetGroupCommandInput, CreateSubnetGroupCommandOutput } from "./commands/CreateSubnetGroupCommand";
|
|
17
18
|
import { CreateUserCommandInput, CreateUserCommandOutput } from "./commands/CreateUserCommand";
|
|
18
19
|
import { DeleteACLCommandInput, DeleteACLCommandOutput } from "./commands/DeleteACLCommand";
|
|
19
20
|
import { DeleteClusterCommandInput, DeleteClusterCommandOutput } from "./commands/DeleteClusterCommand";
|
|
21
|
+
import { DeleteMultiRegionClusterCommandInput, DeleteMultiRegionClusterCommandOutput } from "./commands/DeleteMultiRegionClusterCommand";
|
|
20
22
|
import { DeleteParameterGroupCommandInput, DeleteParameterGroupCommandOutput } from "./commands/DeleteParameterGroupCommand";
|
|
21
23
|
import { DeleteSnapshotCommandInput, DeleteSnapshotCommandOutput } from "./commands/DeleteSnapshotCommand";
|
|
22
24
|
import { DeleteSubnetGroupCommandInput, DeleteSubnetGroupCommandOutput } from "./commands/DeleteSubnetGroupCommand";
|
|
@@ -25,6 +27,7 @@ import { DescribeACLsCommandInput, DescribeACLsCommandOutput } from "./commands/
|
|
|
25
27
|
import { DescribeClustersCommandInput, DescribeClustersCommandOutput } from "./commands/DescribeClustersCommand";
|
|
26
28
|
import { DescribeEngineVersionsCommandInput, DescribeEngineVersionsCommandOutput } from "./commands/DescribeEngineVersionsCommand";
|
|
27
29
|
import { DescribeEventsCommandInput, DescribeEventsCommandOutput } from "./commands/DescribeEventsCommand";
|
|
30
|
+
import { DescribeMultiRegionClustersCommandInput, DescribeMultiRegionClustersCommandOutput } from "./commands/DescribeMultiRegionClustersCommand";
|
|
28
31
|
import { DescribeParameterGroupsCommandInput, DescribeParameterGroupsCommandOutput } from "./commands/DescribeParameterGroupsCommand";
|
|
29
32
|
import { DescribeParametersCommandInput, DescribeParametersCommandOutput } from "./commands/DescribeParametersCommand";
|
|
30
33
|
import { DescribeReservedNodesCommandInput, DescribeReservedNodesCommandOutput } from "./commands/DescribeReservedNodesCommand";
|
|
@@ -34,6 +37,7 @@ import { DescribeSnapshotsCommandInput, DescribeSnapshotsCommandOutput } from ".
|
|
|
34
37
|
import { DescribeSubnetGroupsCommandInput, DescribeSubnetGroupsCommandOutput } from "./commands/DescribeSubnetGroupsCommand";
|
|
35
38
|
import { DescribeUsersCommandInput, DescribeUsersCommandOutput } from "./commands/DescribeUsersCommand";
|
|
36
39
|
import { FailoverShardCommandInput, FailoverShardCommandOutput } from "./commands/FailoverShardCommand";
|
|
40
|
+
import { ListAllowedMultiRegionClusterUpdatesCommandInput, ListAllowedMultiRegionClusterUpdatesCommandOutput } from "./commands/ListAllowedMultiRegionClusterUpdatesCommand";
|
|
37
41
|
import { ListAllowedNodeTypeUpdatesCommandInput, ListAllowedNodeTypeUpdatesCommandOutput } from "./commands/ListAllowedNodeTypeUpdatesCommand";
|
|
38
42
|
import { ListTagsCommandInput, ListTagsCommandOutput } from "./commands/ListTagsCommand";
|
|
39
43
|
import { PurchaseReservedNodesOfferingCommandInput, PurchaseReservedNodesOfferingCommandOutput } from "./commands/PurchaseReservedNodesOfferingCommand";
|
|
@@ -42,6 +46,7 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
42
46
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
43
47
|
import { UpdateACLCommandInput, UpdateACLCommandOutput } from "./commands/UpdateACLCommand";
|
|
44
48
|
import { UpdateClusterCommandInput, UpdateClusterCommandOutput } from "./commands/UpdateClusterCommand";
|
|
49
|
+
import { UpdateMultiRegionClusterCommandInput, UpdateMultiRegionClusterCommandOutput } from "./commands/UpdateMultiRegionClusterCommand";
|
|
45
50
|
import { UpdateParameterGroupCommandInput, UpdateParameterGroupCommandOutput } from "./commands/UpdateParameterGroupCommand";
|
|
46
51
|
import { UpdateSubnetGroupCommandInput, UpdateSubnetGroupCommandOutput } from "./commands/UpdateSubnetGroupCommand";
|
|
47
52
|
import { UpdateUserCommandInput, UpdateUserCommandOutput } from "./commands/UpdateUserCommand";
|
|
@@ -51,11 +56,11 @@ export { __Client };
|
|
|
51
56
|
/**
|
|
52
57
|
* @public
|
|
53
58
|
*/
|
|
54
|
-
export type ServiceInputTypes = BatchUpdateClusterCommandInput | CopySnapshotCommandInput | CreateACLCommandInput | CreateClusterCommandInput | CreateParameterGroupCommandInput | CreateSnapshotCommandInput | CreateSubnetGroupCommandInput | CreateUserCommandInput | DeleteACLCommandInput | DeleteClusterCommandInput | DeleteParameterGroupCommandInput | DeleteSnapshotCommandInput | DeleteSubnetGroupCommandInput | DeleteUserCommandInput | DescribeACLsCommandInput | DescribeClustersCommandInput | DescribeEngineVersionsCommandInput | DescribeEventsCommandInput | DescribeParameterGroupsCommandInput | DescribeParametersCommandInput | DescribeReservedNodesCommandInput | DescribeReservedNodesOfferingsCommandInput | DescribeServiceUpdatesCommandInput | DescribeSnapshotsCommandInput | DescribeSubnetGroupsCommandInput | DescribeUsersCommandInput | FailoverShardCommandInput | ListAllowedNodeTypeUpdatesCommandInput | ListTagsCommandInput | PurchaseReservedNodesOfferingCommandInput | ResetParameterGroupCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateACLCommandInput | UpdateClusterCommandInput | UpdateParameterGroupCommandInput | UpdateSubnetGroupCommandInput | UpdateUserCommandInput;
|
|
59
|
+
export type ServiceInputTypes = BatchUpdateClusterCommandInput | CopySnapshotCommandInput | CreateACLCommandInput | CreateClusterCommandInput | CreateMultiRegionClusterCommandInput | CreateParameterGroupCommandInput | CreateSnapshotCommandInput | CreateSubnetGroupCommandInput | CreateUserCommandInput | DeleteACLCommandInput | DeleteClusterCommandInput | DeleteMultiRegionClusterCommandInput | DeleteParameterGroupCommandInput | DeleteSnapshotCommandInput | DeleteSubnetGroupCommandInput | DeleteUserCommandInput | DescribeACLsCommandInput | DescribeClustersCommandInput | DescribeEngineVersionsCommandInput | DescribeEventsCommandInput | DescribeMultiRegionClustersCommandInput | DescribeParameterGroupsCommandInput | DescribeParametersCommandInput | DescribeReservedNodesCommandInput | DescribeReservedNodesOfferingsCommandInput | DescribeServiceUpdatesCommandInput | DescribeSnapshotsCommandInput | DescribeSubnetGroupsCommandInput | DescribeUsersCommandInput | FailoverShardCommandInput | ListAllowedMultiRegionClusterUpdatesCommandInput | ListAllowedNodeTypeUpdatesCommandInput | ListTagsCommandInput | PurchaseReservedNodesOfferingCommandInput | ResetParameterGroupCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateACLCommandInput | UpdateClusterCommandInput | UpdateMultiRegionClusterCommandInput | UpdateParameterGroupCommandInput | UpdateSubnetGroupCommandInput | UpdateUserCommandInput;
|
|
55
60
|
/**
|
|
56
61
|
* @public
|
|
57
62
|
*/
|
|
58
|
-
export type ServiceOutputTypes = BatchUpdateClusterCommandOutput | CopySnapshotCommandOutput | CreateACLCommandOutput | CreateClusterCommandOutput | CreateParameterGroupCommandOutput | CreateSnapshotCommandOutput | CreateSubnetGroupCommandOutput | CreateUserCommandOutput | DeleteACLCommandOutput | DeleteClusterCommandOutput | DeleteParameterGroupCommandOutput | DeleteSnapshotCommandOutput | DeleteSubnetGroupCommandOutput | DeleteUserCommandOutput | DescribeACLsCommandOutput | DescribeClustersCommandOutput | DescribeEngineVersionsCommandOutput | DescribeEventsCommandOutput | DescribeParameterGroupsCommandOutput | DescribeParametersCommandOutput | DescribeReservedNodesCommandOutput | DescribeReservedNodesOfferingsCommandOutput | DescribeServiceUpdatesCommandOutput | DescribeSnapshotsCommandOutput | DescribeSubnetGroupsCommandOutput | DescribeUsersCommandOutput | FailoverShardCommandOutput | ListAllowedNodeTypeUpdatesCommandOutput | ListTagsCommandOutput | PurchaseReservedNodesOfferingCommandOutput | ResetParameterGroupCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateACLCommandOutput | UpdateClusterCommandOutput | UpdateParameterGroupCommandOutput | UpdateSubnetGroupCommandOutput | UpdateUserCommandOutput;
|
|
63
|
+
export type ServiceOutputTypes = BatchUpdateClusterCommandOutput | CopySnapshotCommandOutput | CreateACLCommandOutput | CreateClusterCommandOutput | CreateMultiRegionClusterCommandOutput | CreateParameterGroupCommandOutput | CreateSnapshotCommandOutput | CreateSubnetGroupCommandOutput | CreateUserCommandOutput | DeleteACLCommandOutput | DeleteClusterCommandOutput | DeleteMultiRegionClusterCommandOutput | DeleteParameterGroupCommandOutput | DeleteSnapshotCommandOutput | DeleteSubnetGroupCommandOutput | DeleteUserCommandOutput | DescribeACLsCommandOutput | DescribeClustersCommandOutput | DescribeEngineVersionsCommandOutput | DescribeEventsCommandOutput | DescribeMultiRegionClustersCommandOutput | DescribeParameterGroupsCommandOutput | DescribeParametersCommandOutput | DescribeReservedNodesCommandOutput | DescribeReservedNodesOfferingsCommandOutput | DescribeServiceUpdatesCommandOutput | DescribeSnapshotsCommandOutput | DescribeSubnetGroupsCommandOutput | DescribeUsersCommandOutput | FailoverShardCommandOutput | ListAllowedMultiRegionClusterUpdatesCommandOutput | ListAllowedNodeTypeUpdatesCommandOutput | ListTagsCommandOutput | PurchaseReservedNodesOfferingCommandOutput | ResetParameterGroupCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateACLCommandOutput | UpdateClusterCommandOutput | UpdateMultiRegionClusterCommandOutput | UpdateParameterGroupCommandOutput | UpdateSubnetGroupCommandOutput | UpdateUserCommandOutput;
|
|
59
64
|
/**
|
|
60
65
|
* @public
|
|
61
66
|
*/
|
|
@@ -189,9 +194,9 @@ export type MemoryDBClientResolvedConfigType = __SmithyResolvedConfiguration<__H
|
|
|
189
194
|
export interface MemoryDBClientResolvedConfig extends MemoryDBClientResolvedConfigType {
|
|
190
195
|
}
|
|
191
196
|
/**
|
|
192
|
-
* <p>MemoryDB
|
|
197
|
+
* <p>MemoryDB is a fully managed, Redis OSS-compatible, in-memory database that delivers ultra-fast performance and Multi-AZ durability for modern applications built using microservices architectures.
|
|
193
198
|
*
|
|
194
|
-
* MemoryDB stores the entire database in-memory, enabling low latency and high throughput data access. It is compatible with Redis, a popular open source data store, enabling you to leverage Redis’ flexible and friendly data structures, APIs, and commands.</p>
|
|
199
|
+
* MemoryDB stores the entire database in-memory, enabling low latency and high throughput data access. It is compatible with Redis OSS, a popular open source data store, enabling you to leverage Redis OSS’ flexible and friendly data structures, APIs, and commands.</p>
|
|
195
200
|
* @public
|
|
196
201
|
*/
|
|
197
202
|
export declare class MemoryDBClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, MemoryDBClientResolvedConfig> {
|
|
@@ -81,6 +81,8 @@ declare const CopySnapshotCommand_base: {
|
|
|
81
81
|
* // SnapshotCreationTime: new Date("TIMESTAMP"),
|
|
82
82
|
* // },
|
|
83
83
|
* // ],
|
|
84
|
+
* // MultiRegionParameterGroupName: "STRING_VALUE",
|
|
85
|
+
* // MultiRegionClusterName: "STRING_VALUE",
|
|
84
86
|
* // },
|
|
85
87
|
* // DataTiering: "true" || "false",
|
|
86
88
|
* // },
|
|
@@ -37,6 +37,7 @@ declare const CreateClusterCommand_base: {
|
|
|
37
37
|
* const input = { // CreateClusterRequest
|
|
38
38
|
* ClusterName: "STRING_VALUE", // required
|
|
39
39
|
* NodeType: "STRING_VALUE", // required
|
|
40
|
+
* MultiRegionClusterName: "STRING_VALUE",
|
|
40
41
|
* ParameterGroupName: "STRING_VALUE",
|
|
41
42
|
* Description: "STRING_VALUE",
|
|
42
43
|
* NumShards: Number("int"),
|
|
@@ -91,6 +92,7 @@ declare const CreateClusterCommand_base: {
|
|
|
91
92
|
* // },
|
|
92
93
|
* // ],
|
|
93
94
|
* // },
|
|
95
|
+
* // MultiRegionClusterName: "STRING_VALUE",
|
|
94
96
|
* // NumberOfShards: Number("int"),
|
|
95
97
|
* // Shards: [ // ShardList
|
|
96
98
|
* // { // Shard
|
|
@@ -170,6 +172,9 @@ declare const CreateClusterCommand_base: {
|
|
|
170
172
|
* @throws {@link InvalidCredentialsException} (client fault)
|
|
171
173
|
* <p></p>
|
|
172
174
|
*
|
|
175
|
+
* @throws {@link InvalidMultiRegionClusterStateFault} (client fault)
|
|
176
|
+
* <p>The requested operation cannot be performed on the multi-Region cluster in its current state.</p>
|
|
177
|
+
*
|
|
173
178
|
* @throws {@link InvalidParameterCombinationException} (client fault)
|
|
174
179
|
* <p></p>
|
|
175
180
|
*
|
|
@@ -179,6 +184,9 @@ declare const CreateClusterCommand_base: {
|
|
|
179
184
|
* @throws {@link InvalidVPCNetworkStateFault} (client fault)
|
|
180
185
|
* <p></p>
|
|
181
186
|
*
|
|
187
|
+
* @throws {@link MultiRegionClusterNotFoundFault} (client fault)
|
|
188
|
+
* <p>The specified multi-Region cluster does not exist.</p>
|
|
189
|
+
*
|
|
182
190
|
* @throws {@link NodeQuotaForClusterExceededFault} (client fault)
|
|
183
191
|
* <p></p>
|
|
184
192
|
*
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { MemoryDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MemoryDBClient";
|
|
4
|
+
import { CreateMultiRegionClusterRequest, CreateMultiRegionClusterResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateMultiRegionClusterCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateMultiRegionClusterCommandInput extends CreateMultiRegionClusterRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateMultiRegionClusterCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateMultiRegionClusterCommandOutput extends CreateMultiRegionClusterResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateMultiRegionClusterCommand_base: {
|
|
25
|
+
new (input: CreateMultiRegionClusterCommandInput): import("@smithy/smithy-client").CommandImpl<CreateMultiRegionClusterCommandInput, CreateMultiRegionClusterCommandOutput, MemoryDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: CreateMultiRegionClusterCommandInput): import("@smithy/smithy-client").CommandImpl<CreateMultiRegionClusterCommandInput, CreateMultiRegionClusterCommandOutput, MemoryDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a new multi-Region cluster.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { MemoryDBClient, CreateMultiRegionClusterCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
|
|
35
|
+
* // const { MemoryDBClient, CreateMultiRegionClusterCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
|
|
36
|
+
* const client = new MemoryDBClient(config);
|
|
37
|
+
* const input = { // CreateMultiRegionClusterRequest
|
|
38
|
+
* MultiRegionClusterNameSuffix: "STRING_VALUE", // required
|
|
39
|
+
* Description: "STRING_VALUE",
|
|
40
|
+
* Engine: "STRING_VALUE",
|
|
41
|
+
* EngineVersion: "STRING_VALUE",
|
|
42
|
+
* NodeType: "STRING_VALUE", // required
|
|
43
|
+
* MultiRegionParameterGroupName: "STRING_VALUE",
|
|
44
|
+
* NumShards: Number("int"),
|
|
45
|
+
* TLSEnabled: true || false,
|
|
46
|
+
* Tags: [ // TagList
|
|
47
|
+
* { // Tag
|
|
48
|
+
* Key: "STRING_VALUE",
|
|
49
|
+
* Value: "STRING_VALUE",
|
|
50
|
+
* },
|
|
51
|
+
* ],
|
|
52
|
+
* };
|
|
53
|
+
* const command = new CreateMultiRegionClusterCommand(input);
|
|
54
|
+
* const response = await client.send(command);
|
|
55
|
+
* // { // CreateMultiRegionClusterResponse
|
|
56
|
+
* // MultiRegionCluster: { // MultiRegionCluster
|
|
57
|
+
* // MultiRegionClusterName: "STRING_VALUE",
|
|
58
|
+
* // Description: "STRING_VALUE",
|
|
59
|
+
* // Status: "STRING_VALUE",
|
|
60
|
+
* // NodeType: "STRING_VALUE",
|
|
61
|
+
* // Engine: "STRING_VALUE",
|
|
62
|
+
* // EngineVersion: "STRING_VALUE",
|
|
63
|
+
* // NumberOfShards: Number("int"),
|
|
64
|
+
* // Clusters: [ // RegionalClusterList
|
|
65
|
+
* // { // RegionalCluster
|
|
66
|
+
* // ClusterName: "STRING_VALUE",
|
|
67
|
+
* // Region: "STRING_VALUE",
|
|
68
|
+
* // Status: "STRING_VALUE",
|
|
69
|
+
* // ARN: "STRING_VALUE",
|
|
70
|
+
* // },
|
|
71
|
+
* // ],
|
|
72
|
+
* // MultiRegionParameterGroupName: "STRING_VALUE",
|
|
73
|
+
* // TLSEnabled: true || false,
|
|
74
|
+
* // ARN: "STRING_VALUE",
|
|
75
|
+
* // },
|
|
76
|
+
* // };
|
|
77
|
+
*
|
|
78
|
+
* ```
|
|
79
|
+
*
|
|
80
|
+
* @param CreateMultiRegionClusterCommandInput - {@link CreateMultiRegionClusterCommandInput}
|
|
81
|
+
* @returns {@link CreateMultiRegionClusterCommandOutput}
|
|
82
|
+
* @see {@link CreateMultiRegionClusterCommandInput} for command's `input` shape.
|
|
83
|
+
* @see {@link CreateMultiRegionClusterCommandOutput} for command's `response` shape.
|
|
84
|
+
* @see {@link MemoryDBClientResolvedConfig | config} for MemoryDBClient's `config` shape.
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ClusterQuotaForCustomerExceededFault} (client fault)
|
|
87
|
+
* <p></p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link InvalidParameterCombinationException} (client fault)
|
|
90
|
+
* <p></p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
93
|
+
* <p></p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link MultiRegionClusterAlreadyExistsFault} (client fault)
|
|
96
|
+
* <p>A multi-Region cluster with the specified name already exists.</p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link MultiRegionParameterGroupNotFoundFault} (client fault)
|
|
99
|
+
* <p>The specified multi-Region parameter group does not exist.</p>
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link TagQuotaPerResourceExceeded} (client fault)
|
|
102
|
+
* <p></p>
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link MemoryDBServiceException}
|
|
105
|
+
* <p>Base exception class for all service exceptions from MemoryDB service.</p>
|
|
106
|
+
*
|
|
107
|
+
* @public
|
|
108
|
+
*/
|
|
109
|
+
export declare class CreateMultiRegionClusterCommand extends CreateMultiRegionClusterCommand_base {
|
|
110
|
+
/** @internal type navigation helper, not in runtime. */
|
|
111
|
+
protected static __types: {
|
|
112
|
+
api: {
|
|
113
|
+
input: CreateMultiRegionClusterRequest;
|
|
114
|
+
output: CreateMultiRegionClusterResponse;
|
|
115
|
+
};
|
|
116
|
+
sdk: {
|
|
117
|
+
input: CreateMultiRegionClusterCommandInput;
|
|
118
|
+
output: CreateMultiRegionClusterCommandOutput;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
}
|
|
@@ -80,6 +80,8 @@ declare const CreateSnapshotCommand_base: {
|
|
|
80
80
|
* // SnapshotCreationTime: new Date("TIMESTAMP"),
|
|
81
81
|
* // },
|
|
82
82
|
* // ],
|
|
83
|
+
* // MultiRegionParameterGroupName: "STRING_VALUE",
|
|
84
|
+
* // MultiRegionClusterName: "STRING_VALUE",
|
|
83
85
|
* // },
|
|
84
86
|
* // DataTiering: "true" || "false",
|
|
85
87
|
* // },
|
|
@@ -27,7 +27,12 @@ declare const DeleteClusterCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes a cluster. It also deletes all associated nodes and node endpoints
|
|
30
|
+
* <p>Deletes a cluster. It also deletes all associated nodes and node endpoints.</p>
|
|
31
|
+
* <note>
|
|
32
|
+
* <p>
|
|
33
|
+
* <code>CreateSnapshot</code> permission is required to create a final snapshot.
|
|
34
|
+
* Without this permission, the API call will fail with an <code>Access Denied</code> exception.</p>
|
|
35
|
+
* </note>
|
|
31
36
|
* @example
|
|
32
37
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
38
|
* ```javascript
|
|
@@ -36,6 +41,7 @@ declare const DeleteClusterCommand_base: {
|
|
|
36
41
|
* const client = new MemoryDBClient(config);
|
|
37
42
|
* const input = { // DeleteClusterRequest
|
|
38
43
|
* ClusterName: "STRING_VALUE", // required
|
|
44
|
+
* MultiRegionClusterName: "STRING_VALUE",
|
|
39
45
|
* FinalSnapshotName: "STRING_VALUE",
|
|
40
46
|
* };
|
|
41
47
|
* const command = new DeleteClusterCommand(input);
|
|
@@ -61,6 +67,7 @@ declare const DeleteClusterCommand_base: {
|
|
|
61
67
|
* // },
|
|
62
68
|
* // ],
|
|
63
69
|
* // },
|
|
70
|
+
* // MultiRegionClusterName: "STRING_VALUE",
|
|
64
71
|
* // NumberOfShards: Number("int"),
|
|
65
72
|
* // Shards: [ // ShardList
|
|
66
73
|
* // { // Shard
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { MemoryDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MemoryDBClient";
|
|
4
|
+
import { DeleteMultiRegionClusterRequest, DeleteMultiRegionClusterResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteMultiRegionClusterCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteMultiRegionClusterCommandInput extends DeleteMultiRegionClusterRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteMultiRegionClusterCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteMultiRegionClusterCommandOutput extends DeleteMultiRegionClusterResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteMultiRegionClusterCommand_base: {
|
|
25
|
+
new (input: DeleteMultiRegionClusterCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteMultiRegionClusterCommandInput, DeleteMultiRegionClusterCommandOutput, MemoryDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DeleteMultiRegionClusterCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteMultiRegionClusterCommandInput, DeleteMultiRegionClusterCommandOutput, MemoryDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes an existing multi-Region cluster.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { MemoryDBClient, DeleteMultiRegionClusterCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
|
|
35
|
+
* // const { MemoryDBClient, DeleteMultiRegionClusterCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
|
|
36
|
+
* const client = new MemoryDBClient(config);
|
|
37
|
+
* const input = { // DeleteMultiRegionClusterRequest
|
|
38
|
+
* MultiRegionClusterName: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DeleteMultiRegionClusterCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // DeleteMultiRegionClusterResponse
|
|
43
|
+
* // MultiRegionCluster: { // MultiRegionCluster
|
|
44
|
+
* // MultiRegionClusterName: "STRING_VALUE",
|
|
45
|
+
* // Description: "STRING_VALUE",
|
|
46
|
+
* // Status: "STRING_VALUE",
|
|
47
|
+
* // NodeType: "STRING_VALUE",
|
|
48
|
+
* // Engine: "STRING_VALUE",
|
|
49
|
+
* // EngineVersion: "STRING_VALUE",
|
|
50
|
+
* // NumberOfShards: Number("int"),
|
|
51
|
+
* // Clusters: [ // RegionalClusterList
|
|
52
|
+
* // { // RegionalCluster
|
|
53
|
+
* // ClusterName: "STRING_VALUE",
|
|
54
|
+
* // Region: "STRING_VALUE",
|
|
55
|
+
* // Status: "STRING_VALUE",
|
|
56
|
+
* // ARN: "STRING_VALUE",
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // MultiRegionParameterGroupName: "STRING_VALUE",
|
|
60
|
+
* // TLSEnabled: true || false,
|
|
61
|
+
* // ARN: "STRING_VALUE",
|
|
62
|
+
* // },
|
|
63
|
+
* // };
|
|
64
|
+
*
|
|
65
|
+
* ```
|
|
66
|
+
*
|
|
67
|
+
* @param DeleteMultiRegionClusterCommandInput - {@link DeleteMultiRegionClusterCommandInput}
|
|
68
|
+
* @returns {@link DeleteMultiRegionClusterCommandOutput}
|
|
69
|
+
* @see {@link DeleteMultiRegionClusterCommandInput} for command's `input` shape.
|
|
70
|
+
* @see {@link DeleteMultiRegionClusterCommandOutput} for command's `response` shape.
|
|
71
|
+
* @see {@link MemoryDBClientResolvedConfig | config} for MemoryDBClient's `config` shape.
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link InvalidMultiRegionClusterStateFault} (client fault)
|
|
74
|
+
* <p>The requested operation cannot be performed on the multi-Region cluster in its current state.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
77
|
+
* <p></p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link MultiRegionClusterNotFoundFault} (client fault)
|
|
80
|
+
* <p>The specified multi-Region cluster does not exist.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link MemoryDBServiceException}
|
|
83
|
+
* <p>Base exception class for all service exceptions from MemoryDB service.</p>
|
|
84
|
+
*
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
export declare class DeleteMultiRegionClusterCommand extends DeleteMultiRegionClusterCommand_base {
|
|
88
|
+
/** @internal type navigation helper, not in runtime. */
|
|
89
|
+
protected static __types: {
|
|
90
|
+
api: {
|
|
91
|
+
input: DeleteMultiRegionClusterRequest;
|
|
92
|
+
output: DeleteMultiRegionClusterResponse;
|
|
93
|
+
};
|
|
94
|
+
sdk: {
|
|
95
|
+
input: DeleteMultiRegionClusterCommandInput;
|
|
96
|
+
output: DeleteMultiRegionClusterCommandOutput;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
}
|
|
@@ -72,6 +72,8 @@ declare const DeleteSnapshotCommand_base: {
|
|
|
72
72
|
* // SnapshotCreationTime: new Date("TIMESTAMP"),
|
|
73
73
|
* // },
|
|
74
74
|
* // ],
|
|
75
|
+
* // MultiRegionParameterGroupName: "STRING_VALUE",
|
|
76
|
+
* // MultiRegionClusterName: "STRING_VALUE",
|
|
75
77
|
* // },
|
|
76
78
|
* // DataTiering: "true" || "false",
|
|
77
79
|
* // },
|
|
@@ -27,7 +27,7 @@ declare const DescribeACLsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Returns a list of ACLs
|
|
30
|
+
* <p>Returns a list of ACLs.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const DescribeEngineVersionsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Returns a list of the available engine versions.</p>
|
|
30
|
+
* <p>Returns a list of the available Redis OSS engine versions.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|