Skip to content

Commit 3d7efda

Browse files
author
awstools
committed
feat(client-memorydb): Support for DescribeMultiRegionParameterGroups and DescribeMultiRegionParameters API.
1 parent ccfb72a commit 3d7efda

File tree

52 files changed

+1163
-322
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+1163
-322
lines changed

clients/client-memorydb/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,22 @@ DescribeMultiRegionClusters
372372

373373
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/memorydb/command/DescribeMultiRegionClustersCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-memorydb/Interface/DescribeMultiRegionClustersCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-memorydb/Interface/DescribeMultiRegionClustersCommandOutput/)
374374

375+
</details>
376+
<details>
377+
<summary>
378+
DescribeMultiRegionParameterGroups
379+
</summary>
380+
381+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/memorydb/command/DescribeMultiRegionParameterGroupsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-memorydb/Interface/DescribeMultiRegionParameterGroupsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-memorydb/Interface/DescribeMultiRegionParameterGroupsCommandOutput/)
382+
383+
</details>
384+
<details>
385+
<summary>
386+
DescribeMultiRegionParameters
387+
</summary>
388+
389+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/memorydb/command/DescribeMultiRegionParametersCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-memorydb/Interface/DescribeMultiRegionParametersCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-memorydb/Interface/DescribeMultiRegionParametersCommandOutput/)
390+
375391
</details>
376392
<details>
377393
<summary>

clients/client-memorydb/src/MemoryDB.ts

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,16 @@ import {
9191
DescribeMultiRegionClustersCommandInput,
9292
DescribeMultiRegionClustersCommandOutput,
9393
} from "./commands/DescribeMultiRegionClustersCommand";
94+
import {
95+
DescribeMultiRegionParameterGroupsCommand,
96+
DescribeMultiRegionParameterGroupsCommandInput,
97+
DescribeMultiRegionParameterGroupsCommandOutput,
98+
} from "./commands/DescribeMultiRegionParameterGroupsCommand";
99+
import {
100+
DescribeMultiRegionParametersCommand,
101+
DescribeMultiRegionParametersCommandInput,
102+
DescribeMultiRegionParametersCommandOutput,
103+
} from "./commands/DescribeMultiRegionParametersCommand";
94104
import {
95105
DescribeParameterGroupsCommand,
96106
DescribeParameterGroupsCommandInput,
@@ -209,6 +219,8 @@ const commands = {
209219
DescribeEngineVersionsCommand,
210220
DescribeEventsCommand,
211221
DescribeMultiRegionClustersCommand,
222+
DescribeMultiRegionParameterGroupsCommand,
223+
DescribeMultiRegionParametersCommand,
212224
DescribeParameterGroupsCommand,
213225
DescribeParametersCommand,
214226
DescribeReservedNodesCommand,
@@ -539,6 +551,41 @@ export interface MemoryDB {
539551
cb: (err: any, data?: DescribeMultiRegionClustersCommandOutput) => void
540552
): void;
541553

554+
/**
555+
* @see {@link DescribeMultiRegionParameterGroupsCommand}
556+
*/
557+
describeMultiRegionParameterGroups(): Promise<DescribeMultiRegionParameterGroupsCommandOutput>;
558+
describeMultiRegionParameterGroups(
559+
args: DescribeMultiRegionParameterGroupsCommandInput,
560+
options?: __HttpHandlerOptions
561+
): Promise<DescribeMultiRegionParameterGroupsCommandOutput>;
562+
describeMultiRegionParameterGroups(
563+
args: DescribeMultiRegionParameterGroupsCommandInput,
564+
cb: (err: any, data?: DescribeMultiRegionParameterGroupsCommandOutput) => void
565+
): void;
566+
describeMultiRegionParameterGroups(
567+
args: DescribeMultiRegionParameterGroupsCommandInput,
568+
options: __HttpHandlerOptions,
569+
cb: (err: any, data?: DescribeMultiRegionParameterGroupsCommandOutput) => void
570+
): void;
571+
572+
/**
573+
* @see {@link DescribeMultiRegionParametersCommand}
574+
*/
575+
describeMultiRegionParameters(
576+
args: DescribeMultiRegionParametersCommandInput,
577+
options?: __HttpHandlerOptions
578+
): Promise<DescribeMultiRegionParametersCommandOutput>;
579+
describeMultiRegionParameters(
580+
args: DescribeMultiRegionParametersCommandInput,
581+
cb: (err: any, data?: DescribeMultiRegionParametersCommandOutput) => void
582+
): void;
583+
describeMultiRegionParameters(
584+
args: DescribeMultiRegionParametersCommandInput,
585+
options: __HttpHandlerOptions,
586+
cb: (err: any, data?: DescribeMultiRegionParametersCommandOutput) => void
587+
): void;
588+
542589
/**
543590
* @see {@link DescribeParameterGroupsCommand}
544591
*/

clients/client-memorydb/src/MemoryDBClient.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,14 @@ import {
9292
DescribeMultiRegionClustersCommandInput,
9393
DescribeMultiRegionClustersCommandOutput,
9494
} from "./commands/DescribeMultiRegionClustersCommand";
95+
import {
96+
DescribeMultiRegionParameterGroupsCommandInput,
97+
DescribeMultiRegionParameterGroupsCommandOutput,
98+
} from "./commands/DescribeMultiRegionParameterGroupsCommand";
99+
import {
100+
DescribeMultiRegionParametersCommandInput,
101+
DescribeMultiRegionParametersCommandOutput,
102+
} from "./commands/DescribeMultiRegionParametersCommand";
95103
import {
96104
DescribeParameterGroupsCommandInput,
97105
DescribeParameterGroupsCommandOutput,
@@ -183,6 +191,8 @@ export type ServiceInputTypes =
183191
| DescribeEngineVersionsCommandInput
184192
| DescribeEventsCommandInput
185193
| DescribeMultiRegionClustersCommandInput
194+
| DescribeMultiRegionParameterGroupsCommandInput
195+
| DescribeMultiRegionParametersCommandInput
186196
| DescribeParameterGroupsCommandInput
187197
| DescribeParametersCommandInput
188198
| DescribeReservedNodesCommandInput
@@ -231,6 +241,8 @@ export type ServiceOutputTypes =
231241
| DescribeEngineVersionsCommandOutput
232242
| DescribeEventsCommandOutput
233243
| DescribeMultiRegionClustersCommandOutput
244+
| DescribeMultiRegionParameterGroupsCommandOutput
245+
| DescribeMultiRegionParametersCommandOutput
234246
| DescribeParameterGroupsCommandOutput
235247
| DescribeParametersCommandOutput
236248
| DescribeReservedNodesCommandOutput

clients/client-memorydb/src/commands/BatchUpdateClusterCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,10 @@ export interface BatchUpdateClusterCommandOutput extends BatchUpdateClusterRespo
142142
* @see {@link MemoryDBClientResolvedConfig | config} for MemoryDBClient's `config` shape.
143143
*
144144
* @throws {@link InvalidParameterValueException} (client fault)
145-
* <p></p>
145+
* <p>The specified parameter value is not valid.</p>
146146
*
147147
* @throws {@link ServiceUpdateNotFoundFault} (client fault)
148-
* <p></p>
148+
* <p>The specified service update does not exist.</p>
149149
*
150150
* @throws {@link MemoryDBServiceException}
151151
* <p>Base exception class for all service exceptions from MemoryDB service.</p>

clients/client-memorydb/src/commands/CopySnapshotCommand.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -100,28 +100,28 @@ export interface CopySnapshotCommandOutput extends CopySnapshotResponse, __Metad
100100
* @see {@link MemoryDBClientResolvedConfig | config} for MemoryDBClient's `config` shape.
101101
*
102102
* @throws {@link InvalidParameterCombinationException} (client fault)
103-
* <p></p>
103+
* <p>The specified parameter combination is not valid.</p>
104104
*
105105
* @throws {@link InvalidParameterValueException} (client fault)
106-
* <p></p>
106+
* <p>The specified parameter value is not valid.</p>
107107
*
108108
* @throws {@link InvalidSnapshotStateFault} (client fault)
109-
* <p></p>
109+
* <p>The snapshot is not in a valid state for the requested operation.</p>
110110
*
111111
* @throws {@link ServiceLinkedRoleNotFoundFault} (client fault)
112-
* <p></p>
112+
* <p>The required service-linked role was not found.</p>
113113
*
114114
* @throws {@link SnapshotAlreadyExistsFault} (client fault)
115-
* <p></p>
115+
* <p>A snapshot with the specified name already exists.</p>
116116
*
117117
* @throws {@link SnapshotNotFoundFault} (client fault)
118-
* <p></p>
118+
* <p>The specified snapshot does not exist.</p>
119119
*
120120
* @throws {@link SnapshotQuotaExceededFault} (client fault)
121-
* <p></p>
121+
* <p>The request cannot be processed because it would exceed the maximum number of snapshots allowed.</p>
122122
*
123123
* @throws {@link TagQuotaPerResourceExceeded} (client fault)
124-
* <p></p>
124+
* <p>The request cannot be processed because it would exceed the maximum number of tags allowed per resource.</p>
125125
*
126126
* @throws {@link MemoryDBServiceException}
127127
* <p>Base exception class for all service exceptions from MemoryDB service.</p>

clients/client-memorydb/src/commands/CreateACLCommand.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,25 +83,25 @@ export interface CreateACLCommandOutput extends CreateACLResponse, __MetadataBea
8383
* @see {@link MemoryDBClientResolvedConfig | config} for MemoryDBClient's `config` shape.
8484
*
8585
* @throws {@link ACLAlreadyExistsFault} (client fault)
86-
* <p></p>
86+
* <p>An ACL with the specified name already exists.</p>
8787
*
8888
* @throws {@link ACLQuotaExceededFault} (client fault)
89-
* <p></p>
89+
* <p>The request cannot be processed because it would exceed the maximum number of ACLs allowed.</p>
9090
*
9191
* @throws {@link DefaultUserRequired} (client fault)
92-
* <p></p>
92+
* <p>A default user is required and must be specified.</p>
9393
*
9494
* @throws {@link DuplicateUserNameFault} (client fault)
95-
* <p></p>
95+
* <p>A user with the specified name already exists.</p>
9696
*
9797
* @throws {@link InvalidParameterValueException} (client fault)
98-
* <p></p>
98+
* <p>The specified parameter value is not valid.</p>
9999
*
100100
* @throws {@link TagQuotaPerResourceExceeded} (client fault)
101-
* <p></p>
101+
* <p>The request cannot be processed because it would exceed the maximum number of tags allowed per resource.</p>
102102
*
103103
* @throws {@link UserNotFoundFault} (client fault)
104-
* <p></p>
104+
* <p>The specified user does not exist.</p>
105105
*
106106
* @throws {@link MemoryDBServiceException}
107107
* <p>Base exception class for all service exceptions from MemoryDB service.</p>

clients/client-memorydb/src/commands/CreateClusterCommand.ts

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -162,58 +162,58 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
162162
* @see {@link MemoryDBClientResolvedConfig | config} for MemoryDBClient's `config` shape.
163163
*
164164
* @throws {@link ACLNotFoundFault} (client fault)
165-
* <p></p>
165+
* <p>The specified ACL does not exist.</p>
166166
*
167167
* @throws {@link ClusterAlreadyExistsFault} (client fault)
168-
* <p></p>
168+
* <p>A cluster with the specified name already exists.</p>
169169
*
170170
* @throws {@link ClusterQuotaForCustomerExceededFault} (client fault)
171-
* <p></p>
171+
* <p>The request cannot be processed because it would exceed the maximum number of clusters allowed for this customer.</p>
172172
*
173173
* @throws {@link InsufficientClusterCapacityFault} (client fault)
174-
* <p></p>
174+
* <p>The cluster does not have sufficient capacity to perform the requested operation.</p>
175175
*
176176
* @throws {@link InvalidACLStateFault} (client fault)
177-
* <p></p>
177+
* <p>The ACL is not in a valid state for the requested operation.</p>
178178
*
179179
* @throws {@link InvalidCredentialsException} (client fault)
180-
* <p></p>
180+
* <p>The provided credentials are not valid.</p>
181181
*
182182
* @throws {@link InvalidMultiRegionClusterStateFault} (client fault)
183183
* <p>The requested operation cannot be performed on the multi-Region cluster in its current state.</p>
184184
*
185185
* @throws {@link InvalidParameterCombinationException} (client fault)
186-
* <p></p>
186+
* <p>The specified parameter combination is not valid.</p>
187187
*
188188
* @throws {@link InvalidParameterValueException} (client fault)
189-
* <p></p>
189+
* <p>The specified parameter value is not valid.</p>
190190
*
191191
* @throws {@link InvalidVPCNetworkStateFault} (client fault)
192-
* <p></p>
192+
* <p>The VPC network is not in a valid state for the requested operation.</p>
193193
*
194194
* @throws {@link MultiRegionClusterNotFoundFault} (client fault)
195195
* <p>The specified multi-Region cluster does not exist.</p>
196196
*
197197
* @throws {@link NodeQuotaForClusterExceededFault} (client fault)
198-
* <p></p>
198+
* <p>The request cannot be processed because it would exceed the maximum number of nodes allowed for this cluster.</p>
199199
*
200200
* @throws {@link NodeQuotaForCustomerExceededFault} (client fault)
201-
* <p></p>
201+
* <p>The request cannot be processed because it would exceed the maximum number of nodes allowed for this customer.</p>
202202
*
203203
* @throws {@link ParameterGroupNotFoundFault} (client fault)
204-
* <p></p>
204+
* <p>The specified parameter group does not exist.</p>
205205
*
206206
* @throws {@link ServiceLinkedRoleNotFoundFault} (client fault)
207-
* <p></p>
207+
* <p>The required service-linked role was not found.</p>
208208
*
209209
* @throws {@link ShardsPerClusterQuotaExceededFault} (client fault)
210-
* <p></p>
210+
* <p>The request cannot be processed because it would exceed the maximum number of shards allowed per cluster.</p>
211211
*
212212
* @throws {@link SubnetGroupNotFoundFault} (client fault)
213-
* <p></p>
213+
* <p>The specified subnet group does not exist.</p>
214214
*
215215
* @throws {@link TagQuotaPerResourceExceeded} (client fault)
216-
* <p></p>
216+
* <p>The request cannot be processed because it would exceed the maximum number of tags allowed per resource.</p>
217217
*
218218
* @throws {@link MemoryDBServiceException}
219219
* <p>Base exception class for all service exceptions from MemoryDB service.</p>

clients/client-memorydb/src/commands/CreateMultiRegionClusterCommand.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,13 +87,13 @@ export interface CreateMultiRegionClusterCommandOutput extends CreateMultiRegion
8787
* @see {@link MemoryDBClientResolvedConfig | config} for MemoryDBClient's `config` shape.
8888
*
8989
* @throws {@link ClusterQuotaForCustomerExceededFault} (client fault)
90-
* <p></p>
90+
* <p>The request cannot be processed because it would exceed the maximum number of clusters allowed for this customer.</p>
9191
*
9292
* @throws {@link InvalidParameterCombinationException} (client fault)
93-
* <p></p>
93+
* <p>The specified parameter combination is not valid.</p>
9494
*
9595
* @throws {@link InvalidParameterValueException} (client fault)
96-
* <p></p>
96+
* <p>The specified parameter value is not valid.</p>
9797
*
9898
* @throws {@link MultiRegionClusterAlreadyExistsFault} (client fault)
9999
* <p>A multi-Region cluster with the specified name already exists.</p>
@@ -102,7 +102,7 @@ export interface CreateMultiRegionClusterCommandOutput extends CreateMultiRegion
102102
* <p>The specified multi-Region parameter group does not exist.</p>
103103
*
104104
* @throws {@link TagQuotaPerResourceExceeded} (client fault)
105-
* <p></p>
105+
* <p>The request cannot be processed because it would exceed the maximum number of tags allowed per resource.</p>
106106
*
107107
* @throws {@link MemoryDBServiceException}
108108
* <p>Base exception class for all service exceptions from MemoryDB service.</p>

clients/client-memorydb/src/commands/CreateParameterGroupCommand.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,25 +71,25 @@ export interface CreateParameterGroupCommandOutput extends CreateParameterGroupR
7171
* @see {@link MemoryDBClientResolvedConfig | config} for MemoryDBClient's `config` shape.
7272
*
7373
* @throws {@link InvalidParameterCombinationException} (client fault)
74-
* <p></p>
74+
* <p>The specified parameter combination is not valid.</p>
7575
*
7676
* @throws {@link InvalidParameterGroupStateFault} (client fault)
77-
* <p></p>
77+
* <p>The parameter group is not in a valid state for the requested operation.</p>
7878
*
7979
* @throws {@link InvalidParameterValueException} (client fault)
80-
* <p></p>
80+
* <p>The specified parameter value is not valid.</p>
8181
*
8282
* @throws {@link ParameterGroupAlreadyExistsFault} (client fault)
83-
* <p></p>
83+
* <p>A parameter group with the specified name already exists.</p>
8484
*
8585
* @throws {@link ParameterGroupQuotaExceededFault} (client fault)
86-
* <p></p>
86+
* <p>The request cannot be processed because it would exceed the maximum number of parameter groups allowed.</p>
8787
*
8888
* @throws {@link ServiceLinkedRoleNotFoundFault} (client fault)
89-
* <p></p>
89+
* <p>The required service-linked role was not found.</p>
9090
*
9191
* @throws {@link TagQuotaPerResourceExceeded} (client fault)
92-
* <p></p>
92+
* <p>The request cannot be processed because it would exceed the maximum number of tags allowed per resource.</p>
9393
*
9494
* @throws {@link MemoryDBServiceException}
9595
* <p>Base exception class for all service exceptions from MemoryDB service.</p>

clients/client-memorydb/src/commands/CreateSnapshotCommand.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -99,28 +99,28 @@ export interface CreateSnapshotCommandOutput extends CreateSnapshotResponse, __M
9999
* @see {@link MemoryDBClientResolvedConfig | config} for MemoryDBClient's `config` shape.
100100
*
101101
* @throws {@link ClusterNotFoundFault} (client fault)
102-
* <p></p>
102+
* <p>The specified cluster does not exist.</p>
103103
*
104104
* @throws {@link InvalidClusterStateFault} (client fault)
105-
* <p></p>
105+
* <p>The cluster is not in a valid state for the requested operation.</p>
106106
*
107107
* @throws {@link InvalidParameterCombinationException} (client fault)
108-
* <p></p>
108+
* <p>The specified parameter combination is not valid.</p>
109109
*
110110
* @throws {@link InvalidParameterValueException} (client fault)
111-
* <p></p>
111+
* <p>The specified parameter value is not valid.</p>
112112
*
113113
* @throws {@link ServiceLinkedRoleNotFoundFault} (client fault)
114-
* <p></p>
114+
* <p>The required service-linked role was not found.</p>
115115
*
116116
* @throws {@link SnapshotAlreadyExistsFault} (client fault)
117-
* <p></p>
117+
* <p>A snapshot with the specified name already exists.</p>
118118
*
119119
* @throws {@link SnapshotQuotaExceededFault} (client fault)
120-
* <p></p>
120+
* <p>The request cannot be processed because it would exceed the maximum number of snapshots allowed.</p>
121121
*
122122
* @throws {@link TagQuotaPerResourceExceeded} (client fault)
123-
* <p></p>
123+
* <p>The request cannot be processed because it would exceed the maximum number of tags allowed per resource.</p>
124124
*
125125
* @throws {@link MemoryDBServiceException}
126126
* <p>Base exception class for all service exceptions from MemoryDB service.</p>

0 commit comments

Comments
 (0)