@aws-sdk/client-memorydb 3.315.0 → 3.316.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/MemoryDB.js +42 -532
- package/dist-es/MemoryDB.js +42 -532
- package/dist-types/MemoryDB.d.ts +47 -110
- package/dist-types/ts3.4/MemoryDB.d.ts +2 -1
- package/package.json +6 -6
package/dist-types/MemoryDB.d.ts
CHANGED
|
@@ -38,304 +38,241 @@ import { UpdateParameterGroupCommandInput, UpdateParameterGroupCommandOutput } f
|
|
|
38
38
|
import { UpdateSubnetGroupCommandInput, UpdateSubnetGroupCommandOutput } from "./commands/UpdateSubnetGroupCommand";
|
|
39
39
|
import { UpdateUserCommandInput, UpdateUserCommandOutput } from "./commands/UpdateUserCommand";
|
|
40
40
|
import { MemoryDBClient } from "./MemoryDBClient";
|
|
41
|
-
|
|
42
|
-
* @public
|
|
43
|
-
* <p>MemoryDB for Redis is a fully managed, Redis-compatible, in-memory database that delivers ultra-fast performance and Multi-AZ durability for modern applications built using microservices architectures.
|
|
44
|
-
*
|
|
45
|
-
* 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>
|
|
46
|
-
*/
|
|
47
|
-
export declare class MemoryDB extends MemoryDBClient {
|
|
41
|
+
export interface MemoryDB {
|
|
48
42
|
/**
|
|
49
|
-
* @
|
|
50
|
-
* <p>Apply the service update to a list of clusters supplied. For more information on service updates and applying them, see <a href="https://docs.aws.amazon.com/MemoryDB/latest/devguide/managing-updates.html#applying-updates">Applying the service updates</a>.</p>
|
|
43
|
+
* @see {@link BatchUpdateClusterCommand}
|
|
51
44
|
*/
|
|
52
45
|
batchUpdateCluster(args: BatchUpdateClusterCommandInput, options?: __HttpHandlerOptions): Promise<BatchUpdateClusterCommandOutput>;
|
|
53
46
|
batchUpdateCluster(args: BatchUpdateClusterCommandInput, cb: (err: any, data?: BatchUpdateClusterCommandOutput) => void): void;
|
|
54
47
|
batchUpdateCluster(args: BatchUpdateClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchUpdateClusterCommandOutput) => void): void;
|
|
55
48
|
/**
|
|
56
|
-
* @
|
|
57
|
-
* <p>Makes a copy of an existing snapshot.</p>
|
|
49
|
+
* @see {@link CopySnapshotCommand}
|
|
58
50
|
*/
|
|
59
51
|
copySnapshot(args: CopySnapshotCommandInput, options?: __HttpHandlerOptions): Promise<CopySnapshotCommandOutput>;
|
|
60
52
|
copySnapshot(args: CopySnapshotCommandInput, cb: (err: any, data?: CopySnapshotCommandOutput) => void): void;
|
|
61
53
|
copySnapshot(args: CopySnapshotCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CopySnapshotCommandOutput) => void): void;
|
|
62
54
|
/**
|
|
63
|
-
* @
|
|
64
|
-
* <p>Creates an Access Control List. For more information, see <a href="https://docs.aws.amazon.com/MemoryDB/latest/devguide/clusters.acls.html">Authenticating users with Access Contol Lists (ACLs)</a>.</p>
|
|
55
|
+
* @see {@link CreateACLCommand}
|
|
65
56
|
*/
|
|
66
57
|
createACL(args: CreateACLCommandInput, options?: __HttpHandlerOptions): Promise<CreateACLCommandOutput>;
|
|
67
58
|
createACL(args: CreateACLCommandInput, cb: (err: any, data?: CreateACLCommandOutput) => void): void;
|
|
68
59
|
createACL(args: CreateACLCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateACLCommandOutput) => void): void;
|
|
69
60
|
/**
|
|
70
|
-
* @
|
|
71
|
-
* <p>Creates a cluster. All nodes in the cluster run the same protocol-compliant engine software.</p>
|
|
61
|
+
* @see {@link CreateClusterCommand}
|
|
72
62
|
*/
|
|
73
63
|
createCluster(args: CreateClusterCommandInput, options?: __HttpHandlerOptions): Promise<CreateClusterCommandOutput>;
|
|
74
64
|
createCluster(args: CreateClusterCommandInput, cb: (err: any, data?: CreateClusterCommandOutput) => void): void;
|
|
75
65
|
createCluster(args: CreateClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateClusterCommandOutput) => void): void;
|
|
76
66
|
/**
|
|
77
|
-
* @
|
|
78
|
-
* <p>Creates a new MemoryDB parameter group. A parameter group is a collection of parameters and their values that are applied to all of the nodes in any cluster. For
|
|
79
|
-
* more information, see <a href="https://docs.aws.amazon.com/MemoryDB/latest/devguide/parametergroups.html">Configuring engine parameters using parameter groups</a>.
|
|
80
|
-
*
|
|
81
|
-
* </p>
|
|
67
|
+
* @see {@link CreateParameterGroupCommand}
|
|
82
68
|
*/
|
|
83
69
|
createParameterGroup(args: CreateParameterGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateParameterGroupCommandOutput>;
|
|
84
70
|
createParameterGroup(args: CreateParameterGroupCommandInput, cb: (err: any, data?: CreateParameterGroupCommandOutput) => void): void;
|
|
85
71
|
createParameterGroup(args: CreateParameterGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateParameterGroupCommandOutput) => void): void;
|
|
86
72
|
/**
|
|
87
|
-
* @
|
|
88
|
-
* <p>Creates a copy of an entire cluster at a specific moment in time.</p>
|
|
73
|
+
* @see {@link CreateSnapshotCommand}
|
|
89
74
|
*/
|
|
90
75
|
createSnapshot(args: CreateSnapshotCommandInput, options?: __HttpHandlerOptions): Promise<CreateSnapshotCommandOutput>;
|
|
91
76
|
createSnapshot(args: CreateSnapshotCommandInput, cb: (err: any, data?: CreateSnapshotCommandOutput) => void): void;
|
|
92
77
|
createSnapshot(args: CreateSnapshotCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSnapshotCommandOutput) => void): void;
|
|
93
78
|
/**
|
|
94
|
-
* @
|
|
95
|
-
* <p>Creates a subnet group. A subnet group is a collection of subnets (typically private) that you can designate for your clusters running in an Amazon Virtual Private Cloud (VPC) environment.
|
|
96
|
-
*
|
|
97
|
-
* When you create a cluster in an Amazon VPC, you must specify a subnet group. MemoryDB uses that subnet group to choose a subnet and IP addresses within that subnet to associate with your nodes.
|
|
98
|
-
* For more information, see <a href="https://docs.aws.amazon.com/MemoryDB/latest/devguide/subnetgroups.html">Subnets and subnet groups</a>.</p>
|
|
79
|
+
* @see {@link CreateSubnetGroupCommand}
|
|
99
80
|
*/
|
|
100
81
|
createSubnetGroup(args: CreateSubnetGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateSubnetGroupCommandOutput>;
|
|
101
82
|
createSubnetGroup(args: CreateSubnetGroupCommandInput, cb: (err: any, data?: CreateSubnetGroupCommandOutput) => void): void;
|
|
102
83
|
createSubnetGroup(args: CreateSubnetGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSubnetGroupCommandOutput) => void): void;
|
|
103
84
|
/**
|
|
104
|
-
* @
|
|
105
|
-
* <p>Creates a MemoryDB user. For more information, see <a href="https://docs.aws.amazon.com/MemoryDB/latest/devguide/clusters.acls.html">Authenticating users with Access Contol Lists (ACLs)</a>.</p>
|
|
85
|
+
* @see {@link CreateUserCommand}
|
|
106
86
|
*/
|
|
107
87
|
createUser(args: CreateUserCommandInput, options?: __HttpHandlerOptions): Promise<CreateUserCommandOutput>;
|
|
108
88
|
createUser(args: CreateUserCommandInput, cb: (err: any, data?: CreateUserCommandOutput) => void): void;
|
|
109
89
|
createUser(args: CreateUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateUserCommandOutput) => void): void;
|
|
110
90
|
/**
|
|
111
|
-
* @
|
|
112
|
-
* <p>Deletes an Access Control List. The ACL must first be disassociated from the cluster before it can be deleted. For more information, see <a href="https://docs.aws.amazon.com/MemoryDB/latest/devguide/clusters.acls.html">Authenticating users with Access Contol Lists (ACLs)</a>.</p>
|
|
91
|
+
* @see {@link DeleteACLCommand}
|
|
113
92
|
*/
|
|
114
93
|
deleteACL(args: DeleteACLCommandInput, options?: __HttpHandlerOptions): Promise<DeleteACLCommandOutput>;
|
|
115
94
|
deleteACL(args: DeleteACLCommandInput, cb: (err: any, data?: DeleteACLCommandOutput) => void): void;
|
|
116
95
|
deleteACL(args: DeleteACLCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteACLCommandOutput) => void): void;
|
|
117
96
|
/**
|
|
118
|
-
* @
|
|
119
|
-
* <p>Deletes a cluster. It also deletes all associated nodes and node endpoints</p>
|
|
97
|
+
* @see {@link DeleteClusterCommand}
|
|
120
98
|
*/
|
|
121
99
|
deleteCluster(args: DeleteClusterCommandInput, options?: __HttpHandlerOptions): Promise<DeleteClusterCommandOutput>;
|
|
122
100
|
deleteCluster(args: DeleteClusterCommandInput, cb: (err: any, data?: DeleteClusterCommandOutput) => void): void;
|
|
123
101
|
deleteCluster(args: DeleteClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteClusterCommandOutput) => void): void;
|
|
124
102
|
/**
|
|
125
|
-
* @
|
|
126
|
-
* <p>Deletes the specified parameter group. You cannot delete a parameter group if it is associated with any clusters.
|
|
127
|
-
* You cannot delete the default parameter groups in your account.</p>
|
|
103
|
+
* @see {@link DeleteParameterGroupCommand}
|
|
128
104
|
*/
|
|
129
105
|
deleteParameterGroup(args: DeleteParameterGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteParameterGroupCommandOutput>;
|
|
130
106
|
deleteParameterGroup(args: DeleteParameterGroupCommandInput, cb: (err: any, data?: DeleteParameterGroupCommandOutput) => void): void;
|
|
131
107
|
deleteParameterGroup(args: DeleteParameterGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteParameterGroupCommandOutput) => void): void;
|
|
132
108
|
/**
|
|
133
|
-
* @
|
|
134
|
-
* <p>Deletes an existing snapshot. When you receive a successful response from this operation, MemoryDB immediately begins deleting the snapshot; you cannot cancel or revert this operation.</p>
|
|
109
|
+
* @see {@link DeleteSnapshotCommand}
|
|
135
110
|
*/
|
|
136
111
|
deleteSnapshot(args: DeleteSnapshotCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSnapshotCommandOutput>;
|
|
137
112
|
deleteSnapshot(args: DeleteSnapshotCommandInput, cb: (err: any, data?: DeleteSnapshotCommandOutput) => void): void;
|
|
138
113
|
deleteSnapshot(args: DeleteSnapshotCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSnapshotCommandOutput) => void): void;
|
|
139
114
|
/**
|
|
140
|
-
* @
|
|
141
|
-
* <p>Deletes a subnet group. You cannot delete a default subnet group or one that is associated with any clusters.</p>
|
|
115
|
+
* @see {@link DeleteSubnetGroupCommand}
|
|
142
116
|
*/
|
|
143
117
|
deleteSubnetGroup(args: DeleteSubnetGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSubnetGroupCommandOutput>;
|
|
144
118
|
deleteSubnetGroup(args: DeleteSubnetGroupCommandInput, cb: (err: any, data?: DeleteSubnetGroupCommandOutput) => void): void;
|
|
145
119
|
deleteSubnetGroup(args: DeleteSubnetGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSubnetGroupCommandOutput) => void): void;
|
|
146
120
|
/**
|
|
147
|
-
* @
|
|
148
|
-
* <p>Deletes a user. The user will be removed from all ACLs and in turn removed from all clusters.</p>
|
|
121
|
+
* @see {@link DeleteUserCommand}
|
|
149
122
|
*/
|
|
150
123
|
deleteUser(args: DeleteUserCommandInput, options?: __HttpHandlerOptions): Promise<DeleteUserCommandOutput>;
|
|
151
124
|
deleteUser(args: DeleteUserCommandInput, cb: (err: any, data?: DeleteUserCommandOutput) => void): void;
|
|
152
125
|
deleteUser(args: DeleteUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteUserCommandOutput) => void): void;
|
|
153
126
|
/**
|
|
154
|
-
* @
|
|
155
|
-
* <p>Returns a list of ACLs</p>
|
|
127
|
+
* @see {@link DescribeACLsCommand}
|
|
156
128
|
*/
|
|
157
129
|
describeACLs(args: DescribeACLsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeACLsCommandOutput>;
|
|
158
130
|
describeACLs(args: DescribeACLsCommandInput, cb: (err: any, data?: DescribeACLsCommandOutput) => void): void;
|
|
159
131
|
describeACLs(args: DescribeACLsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeACLsCommandOutput) => void): void;
|
|
160
132
|
/**
|
|
161
|
-
* @
|
|
162
|
-
* <p>Returns information about all provisioned clusters if no cluster identifier is specified, or about a specific cluster if a cluster name is supplied.</p>
|
|
133
|
+
* @see {@link DescribeClustersCommand}
|
|
163
134
|
*/
|
|
164
135
|
describeClusters(args: DescribeClustersCommandInput, options?: __HttpHandlerOptions): Promise<DescribeClustersCommandOutput>;
|
|
165
136
|
describeClusters(args: DescribeClustersCommandInput, cb: (err: any, data?: DescribeClustersCommandOutput) => void): void;
|
|
166
137
|
describeClusters(args: DescribeClustersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeClustersCommandOutput) => void): void;
|
|
167
138
|
/**
|
|
168
|
-
* @
|
|
169
|
-
* <p>Returns a list of the available Redis engine versions.</p>
|
|
139
|
+
* @see {@link DescribeEngineVersionsCommand}
|
|
170
140
|
*/
|
|
171
141
|
describeEngineVersions(args: DescribeEngineVersionsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeEngineVersionsCommandOutput>;
|
|
172
142
|
describeEngineVersions(args: DescribeEngineVersionsCommandInput, cb: (err: any, data?: DescribeEngineVersionsCommandOutput) => void): void;
|
|
173
143
|
describeEngineVersions(args: DescribeEngineVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeEngineVersionsCommandOutput) => void): void;
|
|
174
144
|
/**
|
|
175
|
-
* @
|
|
176
|
-
* <p>Returns events related to clusters, security groups, and parameter groups. You can obtain events specific to a particular cluster, security group, or parameter group by providing the name as a parameter.
|
|
177
|
-
*
|
|
178
|
-
* By default, only the events occurring within the last hour are returned; however, you can retrieve up to 14 days' worth of events if necessary.</p>
|
|
145
|
+
* @see {@link DescribeEventsCommand}
|
|
179
146
|
*/
|
|
180
147
|
describeEvents(args: DescribeEventsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeEventsCommandOutput>;
|
|
181
148
|
describeEvents(args: DescribeEventsCommandInput, cb: (err: any, data?: DescribeEventsCommandOutput) => void): void;
|
|
182
149
|
describeEvents(args: DescribeEventsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeEventsCommandOutput) => void): void;
|
|
183
150
|
/**
|
|
184
|
-
* @
|
|
185
|
-
* <p>Returns a list of parameter group descriptions. If a parameter group name is specified, the list contains only the descriptions for that group.</p>
|
|
151
|
+
* @see {@link DescribeParameterGroupsCommand}
|
|
186
152
|
*/
|
|
187
153
|
describeParameterGroups(args: DescribeParameterGroupsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeParameterGroupsCommandOutput>;
|
|
188
154
|
describeParameterGroups(args: DescribeParameterGroupsCommandInput, cb: (err: any, data?: DescribeParameterGroupsCommandOutput) => void): void;
|
|
189
155
|
describeParameterGroups(args: DescribeParameterGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeParameterGroupsCommandOutput) => void): void;
|
|
190
156
|
/**
|
|
191
|
-
* @
|
|
192
|
-
* <p>Returns the detailed parameter list for a particular parameter group.</p>
|
|
157
|
+
* @see {@link DescribeParametersCommand}
|
|
193
158
|
*/
|
|
194
159
|
describeParameters(args: DescribeParametersCommandInput, options?: __HttpHandlerOptions): Promise<DescribeParametersCommandOutput>;
|
|
195
160
|
describeParameters(args: DescribeParametersCommandInput, cb: (err: any, data?: DescribeParametersCommandOutput) => void): void;
|
|
196
161
|
describeParameters(args: DescribeParametersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeParametersCommandOutput) => void): void;
|
|
197
162
|
/**
|
|
198
|
-
* @
|
|
199
|
-
* <p>Returns information about reserved nodes for this account, or about a specified reserved node.</p>
|
|
163
|
+
* @see {@link DescribeReservedNodesCommand}
|
|
200
164
|
*/
|
|
201
165
|
describeReservedNodes(args: DescribeReservedNodesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeReservedNodesCommandOutput>;
|
|
202
166
|
describeReservedNodes(args: DescribeReservedNodesCommandInput, cb: (err: any, data?: DescribeReservedNodesCommandOutput) => void): void;
|
|
203
167
|
describeReservedNodes(args: DescribeReservedNodesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeReservedNodesCommandOutput) => void): void;
|
|
204
168
|
/**
|
|
205
|
-
* @
|
|
206
|
-
* <p>Lists available reserved node offerings.</p>
|
|
169
|
+
* @see {@link DescribeReservedNodesOfferingsCommand}
|
|
207
170
|
*/
|
|
208
171
|
describeReservedNodesOfferings(args: DescribeReservedNodesOfferingsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeReservedNodesOfferingsCommandOutput>;
|
|
209
172
|
describeReservedNodesOfferings(args: DescribeReservedNodesOfferingsCommandInput, cb: (err: any, data?: DescribeReservedNodesOfferingsCommandOutput) => void): void;
|
|
210
173
|
describeReservedNodesOfferings(args: DescribeReservedNodesOfferingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeReservedNodesOfferingsCommandOutput) => void): void;
|
|
211
174
|
/**
|
|
212
|
-
* @
|
|
213
|
-
* <p>Returns details of the service updates</p>
|
|
175
|
+
* @see {@link DescribeServiceUpdatesCommand}
|
|
214
176
|
*/
|
|
215
177
|
describeServiceUpdates(args: DescribeServiceUpdatesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeServiceUpdatesCommandOutput>;
|
|
216
178
|
describeServiceUpdates(args: DescribeServiceUpdatesCommandInput, cb: (err: any, data?: DescribeServiceUpdatesCommandOutput) => void): void;
|
|
217
179
|
describeServiceUpdates(args: DescribeServiceUpdatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeServiceUpdatesCommandOutput) => void): void;
|
|
218
180
|
/**
|
|
219
|
-
* @
|
|
220
|
-
* <p>Returns information about cluster snapshots. By default, DescribeSnapshots lists all of your snapshots; it can optionally describe a single snapshot,
|
|
221
|
-
* or just the snapshots associated with a particular cluster.</p>
|
|
181
|
+
* @see {@link DescribeSnapshotsCommand}
|
|
222
182
|
*/
|
|
223
183
|
describeSnapshots(args: DescribeSnapshotsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSnapshotsCommandOutput>;
|
|
224
184
|
describeSnapshots(args: DescribeSnapshotsCommandInput, cb: (err: any, data?: DescribeSnapshotsCommandOutput) => void): void;
|
|
225
185
|
describeSnapshots(args: DescribeSnapshotsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSnapshotsCommandOutput) => void): void;
|
|
226
186
|
/**
|
|
227
|
-
* @
|
|
228
|
-
* <p>Returns a list of subnet group descriptions. If a subnet group name is specified, the list contains only the description of that group.</p>
|
|
187
|
+
* @see {@link DescribeSubnetGroupsCommand}
|
|
229
188
|
*/
|
|
230
189
|
describeSubnetGroups(args: DescribeSubnetGroupsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSubnetGroupsCommandOutput>;
|
|
231
190
|
describeSubnetGroups(args: DescribeSubnetGroupsCommandInput, cb: (err: any, data?: DescribeSubnetGroupsCommandOutput) => void): void;
|
|
232
191
|
describeSubnetGroups(args: DescribeSubnetGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSubnetGroupsCommandOutput) => void): void;
|
|
233
192
|
/**
|
|
234
|
-
* @
|
|
235
|
-
* <p>Returns a list of users.</p>
|
|
193
|
+
* @see {@link DescribeUsersCommand}
|
|
236
194
|
*/
|
|
237
195
|
describeUsers(args: DescribeUsersCommandInput, options?: __HttpHandlerOptions): Promise<DescribeUsersCommandOutput>;
|
|
238
196
|
describeUsers(args: DescribeUsersCommandInput, cb: (err: any, data?: DescribeUsersCommandOutput) => void): void;
|
|
239
197
|
describeUsers(args: DescribeUsersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeUsersCommandOutput) => void): void;
|
|
240
198
|
/**
|
|
241
|
-
* @
|
|
242
|
-
* <p>Used to failover a shard. This API is designed for testing the behavior of your application in case of MemoryDB failover. It is not designed to be used as a production-level tool for initiating
|
|
243
|
-
* a failover to overcome a problem you may have with the cluster. Moreover, in certain conditions such as large scale operational events, Amazon may block this API. </p>
|
|
199
|
+
* @see {@link FailoverShardCommand}
|
|
244
200
|
*/
|
|
245
201
|
failoverShard(args: FailoverShardCommandInput, options?: __HttpHandlerOptions): Promise<FailoverShardCommandOutput>;
|
|
246
202
|
failoverShard(args: FailoverShardCommandInput, cb: (err: any, data?: FailoverShardCommandOutput) => void): void;
|
|
247
203
|
failoverShard(args: FailoverShardCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: FailoverShardCommandOutput) => void): void;
|
|
248
204
|
/**
|
|
249
|
-
* @
|
|
250
|
-
* <p>Lists all available node types that you can scale to from your cluster's current node type.
|
|
251
|
-
*
|
|
252
|
-
* When you use the UpdateCluster operation to scale your cluster, the value of the NodeType parameter must be one of the node types returned by this operation.</p>
|
|
205
|
+
* @see {@link ListAllowedNodeTypeUpdatesCommand}
|
|
253
206
|
*/
|
|
254
207
|
listAllowedNodeTypeUpdates(args: ListAllowedNodeTypeUpdatesCommandInput, options?: __HttpHandlerOptions): Promise<ListAllowedNodeTypeUpdatesCommandOutput>;
|
|
255
208
|
listAllowedNodeTypeUpdates(args: ListAllowedNodeTypeUpdatesCommandInput, cb: (err: any, data?: ListAllowedNodeTypeUpdatesCommandOutput) => void): void;
|
|
256
209
|
listAllowedNodeTypeUpdates(args: ListAllowedNodeTypeUpdatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAllowedNodeTypeUpdatesCommandOutput) => void): void;
|
|
257
210
|
/**
|
|
258
|
-
* @
|
|
259
|
-
* <p>Lists all tags currently on a named resource.
|
|
260
|
-
*
|
|
261
|
-
* A tag is a key-value pair where the key and value are case-sensitive. You can use tags to categorize and track your MemoryDB resources.
|
|
262
|
-
* For more information, see <a href="https://docs.aws.amazon.com/MemoryDB/latest/devguide/Tagging-Resources.html">Tagging your MemoryDB resources</a>
|
|
263
|
-
* </p>
|
|
211
|
+
* @see {@link ListTagsCommand}
|
|
264
212
|
*/
|
|
265
213
|
listTags(args: ListTagsCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsCommandOutput>;
|
|
266
214
|
listTags(args: ListTagsCommandInput, cb: (err: any, data?: ListTagsCommandOutput) => void): void;
|
|
267
215
|
listTags(args: ListTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsCommandOutput) => void): void;
|
|
268
216
|
/**
|
|
269
|
-
* @
|
|
270
|
-
* <p>Allows you to purchase a reserved node offering. Reserved nodes are not eligible for cancellation and are non-refundable.</p>
|
|
217
|
+
* @see {@link PurchaseReservedNodesOfferingCommand}
|
|
271
218
|
*/
|
|
272
219
|
purchaseReservedNodesOffering(args: PurchaseReservedNodesOfferingCommandInput, options?: __HttpHandlerOptions): Promise<PurchaseReservedNodesOfferingCommandOutput>;
|
|
273
220
|
purchaseReservedNodesOffering(args: PurchaseReservedNodesOfferingCommandInput, cb: (err: any, data?: PurchaseReservedNodesOfferingCommandOutput) => void): void;
|
|
274
221
|
purchaseReservedNodesOffering(args: PurchaseReservedNodesOfferingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PurchaseReservedNodesOfferingCommandOutput) => void): void;
|
|
275
222
|
/**
|
|
276
|
-
* @
|
|
277
|
-
* <p>Modifies the parameters of a parameter group to the engine or system default value. You can reset specific parameters by submitting a list of parameter names. To reset the entire parameter group, specify the AllParameters and ParameterGroupName parameters.</p>
|
|
223
|
+
* @see {@link ResetParameterGroupCommand}
|
|
278
224
|
*/
|
|
279
225
|
resetParameterGroup(args: ResetParameterGroupCommandInput, options?: __HttpHandlerOptions): Promise<ResetParameterGroupCommandOutput>;
|
|
280
226
|
resetParameterGroup(args: ResetParameterGroupCommandInput, cb: (err: any, data?: ResetParameterGroupCommandOutput) => void): void;
|
|
281
227
|
resetParameterGroup(args: ResetParameterGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ResetParameterGroupCommandOutput) => void): void;
|
|
282
228
|
/**
|
|
283
|
-
* @
|
|
284
|
-
* <p>A tag is a key-value pair where the key and value are case-sensitive. You can use tags to categorize and track all your MemoryDB resources.
|
|
285
|
-
*
|
|
286
|
-
* When you add or remove tags on clusters, those actions will be replicated to all nodes in the cluster. For more information, see
|
|
287
|
-
*
|
|
288
|
-
* <a href="https://docs.aws.amazon.com/MemoryDB/latest/devguide/iam.resourcelevelpermissions.html">Resource-level permissions</a>.</p>
|
|
289
|
-
* <p>For example, you can use cost-allocation tags to your MemoryDB resources, Amazon generates a cost allocation report as a comma-separated value
|
|
290
|
-
* (CSV) file with your usage and costs aggregated by your tags. You can apply tags that represent business categories
|
|
291
|
-
* (such as cost centers, application names, or owners) to organize your costs across multiple services.
|
|
292
|
-
*
|
|
293
|
-
* For more information, see <a href="https://docs.aws.amazon.com/MemoryDB/latest/devguide/tagging.html">Using Cost Allocation Tags</a>.</p>
|
|
229
|
+
* @see {@link TagResourceCommand}
|
|
294
230
|
*/
|
|
295
231
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
296
232
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
297
233
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
298
234
|
/**
|
|
299
|
-
* @
|
|
300
|
-
* <p>Use this operation to remove tags on a resource</p>
|
|
235
|
+
* @see {@link UntagResourceCommand}
|
|
301
236
|
*/
|
|
302
237
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
303
238
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
304
239
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
305
240
|
/**
|
|
306
|
-
* @
|
|
307
|
-
* <p>Changes the list of users that belong to the Access Control List.</p>
|
|
241
|
+
* @see {@link UpdateACLCommand}
|
|
308
242
|
*/
|
|
309
243
|
updateACL(args: UpdateACLCommandInput, options?: __HttpHandlerOptions): Promise<UpdateACLCommandOutput>;
|
|
310
244
|
updateACL(args: UpdateACLCommandInput, cb: (err: any, data?: UpdateACLCommandOutput) => void): void;
|
|
311
245
|
updateACL(args: UpdateACLCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateACLCommandOutput) => void): void;
|
|
312
246
|
/**
|
|
313
|
-
* @
|
|
314
|
-
* <p>Modifies the settings for a cluster. You can use this operation to change one or more cluster configuration settings by specifying the settings and the new values.</p>
|
|
247
|
+
* @see {@link UpdateClusterCommand}
|
|
315
248
|
*/
|
|
316
249
|
updateCluster(args: UpdateClusterCommandInput, options?: __HttpHandlerOptions): Promise<UpdateClusterCommandOutput>;
|
|
317
250
|
updateCluster(args: UpdateClusterCommandInput, cb: (err: any, data?: UpdateClusterCommandOutput) => void): void;
|
|
318
251
|
updateCluster(args: UpdateClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateClusterCommandOutput) => void): void;
|
|
319
252
|
/**
|
|
320
|
-
* @
|
|
321
|
-
* <p>Updates the parameters of a parameter group. You can modify up to 20 parameters in a single request by submitting a list parameter name and value pairs.</p>
|
|
253
|
+
* @see {@link UpdateParameterGroupCommand}
|
|
322
254
|
*/
|
|
323
255
|
updateParameterGroup(args: UpdateParameterGroupCommandInput, options?: __HttpHandlerOptions): Promise<UpdateParameterGroupCommandOutput>;
|
|
324
256
|
updateParameterGroup(args: UpdateParameterGroupCommandInput, cb: (err: any, data?: UpdateParameterGroupCommandOutput) => void): void;
|
|
325
257
|
updateParameterGroup(args: UpdateParameterGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateParameterGroupCommandOutput) => void): void;
|
|
326
258
|
/**
|
|
327
|
-
* @
|
|
328
|
-
* <p>Updates a subnet group. For more information, see <a href="https://docs.aws.amazon.com/MemoryDB/latest/devguide/ubnetGroups.Modifying.html">Updating a subnet group</a>
|
|
329
|
-
* </p>
|
|
259
|
+
* @see {@link UpdateSubnetGroupCommand}
|
|
330
260
|
*/
|
|
331
261
|
updateSubnetGroup(args: UpdateSubnetGroupCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSubnetGroupCommandOutput>;
|
|
332
262
|
updateSubnetGroup(args: UpdateSubnetGroupCommandInput, cb: (err: any, data?: UpdateSubnetGroupCommandOutput) => void): void;
|
|
333
263
|
updateSubnetGroup(args: UpdateSubnetGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSubnetGroupCommandOutput) => void): void;
|
|
334
264
|
/**
|
|
335
|
-
* @
|
|
336
|
-
* <p>Changes user password(s) and/or access string.</p>
|
|
265
|
+
* @see {@link UpdateUserCommand}
|
|
337
266
|
*/
|
|
338
267
|
updateUser(args: UpdateUserCommandInput, options?: __HttpHandlerOptions): Promise<UpdateUserCommandOutput>;
|
|
339
268
|
updateUser(args: UpdateUserCommandInput, cb: (err: any, data?: UpdateUserCommandOutput) => void): void;
|
|
340
269
|
updateUser(args: UpdateUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateUserCommandOutput) => void): void;
|
|
341
270
|
}
|
|
271
|
+
/**
|
|
272
|
+
* @public
|
|
273
|
+
* <p>MemoryDB for Redis is a fully managed, Redis-compatible, in-memory database that delivers ultra-fast performance and Multi-AZ durability for modern applications built using microservices architectures.
|
|
274
|
+
*
|
|
275
|
+
* 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>
|
|
276
|
+
*/
|
|
277
|
+
export declare class MemoryDB extends MemoryDBClient implements MemoryDB {
|
|
278
|
+
}
|
|
@@ -152,7 +152,7 @@ import {
|
|
|
152
152
|
UpdateUserCommandOutput,
|
|
153
153
|
} from "./commands/UpdateUserCommand";
|
|
154
154
|
import { MemoryDBClient } from "./MemoryDBClient";
|
|
155
|
-
export
|
|
155
|
+
export interface MemoryDB {
|
|
156
156
|
batchUpdateCluster(
|
|
157
157
|
args: BatchUpdateClusterCommandInput,
|
|
158
158
|
options?: __HttpHandlerOptions
|
|
@@ -648,3 +648,4 @@ export declare class MemoryDB extends MemoryDBClient {
|
|
|
648
648
|
cb: (err: any, data?: UpdateUserCommandOutput) => void
|
|
649
649
|
): void;
|
|
650
650
|
}
|
|
651
|
+
export declare class MemoryDB extends MemoryDBClient implements MemoryDB {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-memorydb",
|
|
3
3
|
"description": "AWS SDK for JavaScript Memorydb Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.316.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",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.316.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.316.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -40,14 +40,14 @@
|
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.310.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|