@aws-sdk/client-route53-recovery-readiness 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.
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Route53RecoveryReadiness = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
4
5
  const CreateCellCommand_1 = require("./commands/CreateCellCommand");
5
6
  const CreateCrossAccountAuthorizationCommand_1 = require("./commands/CreateCrossAccountAuthorizationCommand");
6
7
  const CreateReadinessCheckCommand_1 = require("./commands/CreateReadinessCheckCommand");
@@ -34,454 +35,41 @@ const UpdateReadinessCheckCommand_1 = require("./commands/UpdateReadinessCheckCo
34
35
  const UpdateRecoveryGroupCommand_1 = require("./commands/UpdateRecoveryGroupCommand");
35
36
  const UpdateResourceSetCommand_1 = require("./commands/UpdateResourceSetCommand");
36
37
  const Route53RecoveryReadinessClient_1 = require("./Route53RecoveryReadinessClient");
38
+ const commands = {
39
+ CreateCellCommand: CreateCellCommand_1.CreateCellCommand,
40
+ CreateCrossAccountAuthorizationCommand: CreateCrossAccountAuthorizationCommand_1.CreateCrossAccountAuthorizationCommand,
41
+ CreateReadinessCheckCommand: CreateReadinessCheckCommand_1.CreateReadinessCheckCommand,
42
+ CreateRecoveryGroupCommand: CreateRecoveryGroupCommand_1.CreateRecoveryGroupCommand,
43
+ CreateResourceSetCommand: CreateResourceSetCommand_1.CreateResourceSetCommand,
44
+ DeleteCellCommand: DeleteCellCommand_1.DeleteCellCommand,
45
+ DeleteCrossAccountAuthorizationCommand: DeleteCrossAccountAuthorizationCommand_1.DeleteCrossAccountAuthorizationCommand,
46
+ DeleteReadinessCheckCommand: DeleteReadinessCheckCommand_1.DeleteReadinessCheckCommand,
47
+ DeleteRecoveryGroupCommand: DeleteRecoveryGroupCommand_1.DeleteRecoveryGroupCommand,
48
+ DeleteResourceSetCommand: DeleteResourceSetCommand_1.DeleteResourceSetCommand,
49
+ GetArchitectureRecommendationsCommand: GetArchitectureRecommendationsCommand_1.GetArchitectureRecommendationsCommand,
50
+ GetCellCommand: GetCellCommand_1.GetCellCommand,
51
+ GetCellReadinessSummaryCommand: GetCellReadinessSummaryCommand_1.GetCellReadinessSummaryCommand,
52
+ GetReadinessCheckCommand: GetReadinessCheckCommand_1.GetReadinessCheckCommand,
53
+ GetReadinessCheckResourceStatusCommand: GetReadinessCheckResourceStatusCommand_1.GetReadinessCheckResourceStatusCommand,
54
+ GetReadinessCheckStatusCommand: GetReadinessCheckStatusCommand_1.GetReadinessCheckStatusCommand,
55
+ GetRecoveryGroupCommand: GetRecoveryGroupCommand_1.GetRecoveryGroupCommand,
56
+ GetRecoveryGroupReadinessSummaryCommand: GetRecoveryGroupReadinessSummaryCommand_1.GetRecoveryGroupReadinessSummaryCommand,
57
+ GetResourceSetCommand: GetResourceSetCommand_1.GetResourceSetCommand,
58
+ ListCellsCommand: ListCellsCommand_1.ListCellsCommand,
59
+ ListCrossAccountAuthorizationsCommand: ListCrossAccountAuthorizationsCommand_1.ListCrossAccountAuthorizationsCommand,
60
+ ListReadinessChecksCommand: ListReadinessChecksCommand_1.ListReadinessChecksCommand,
61
+ ListRecoveryGroupsCommand: ListRecoveryGroupsCommand_1.ListRecoveryGroupsCommand,
62
+ ListResourceSetsCommand: ListResourceSetsCommand_1.ListResourceSetsCommand,
63
+ ListRulesCommand: ListRulesCommand_1.ListRulesCommand,
64
+ ListTagsForResourcesCommand: ListTagsForResourcesCommand_1.ListTagsForResourcesCommand,
65
+ TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
66
+ UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
67
+ UpdateCellCommand: UpdateCellCommand_1.UpdateCellCommand,
68
+ UpdateReadinessCheckCommand: UpdateReadinessCheckCommand_1.UpdateReadinessCheckCommand,
69
+ UpdateRecoveryGroupCommand: UpdateRecoveryGroupCommand_1.UpdateRecoveryGroupCommand,
70
+ UpdateResourceSetCommand: UpdateResourceSetCommand_1.UpdateResourceSetCommand,
71
+ };
37
72
  class Route53RecoveryReadiness extends Route53RecoveryReadinessClient_1.Route53RecoveryReadinessClient {
38
- createCell(args, optionsOrCb, cb) {
39
- const command = new CreateCellCommand_1.CreateCellCommand(args);
40
- if (typeof optionsOrCb === "function") {
41
- this.send(command, optionsOrCb);
42
- }
43
- else if (typeof cb === "function") {
44
- if (typeof optionsOrCb !== "object")
45
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
46
- this.send(command, optionsOrCb || {}, cb);
47
- }
48
- else {
49
- return this.send(command, optionsOrCb);
50
- }
51
- }
52
- createCrossAccountAuthorization(args, optionsOrCb, cb) {
53
- const command = new CreateCrossAccountAuthorizationCommand_1.CreateCrossAccountAuthorizationCommand(args);
54
- if (typeof optionsOrCb === "function") {
55
- this.send(command, optionsOrCb);
56
- }
57
- else if (typeof cb === "function") {
58
- if (typeof optionsOrCb !== "object")
59
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
60
- this.send(command, optionsOrCb || {}, cb);
61
- }
62
- else {
63
- return this.send(command, optionsOrCb);
64
- }
65
- }
66
- createReadinessCheck(args, optionsOrCb, cb) {
67
- const command = new CreateReadinessCheckCommand_1.CreateReadinessCheckCommand(args);
68
- if (typeof optionsOrCb === "function") {
69
- this.send(command, optionsOrCb);
70
- }
71
- else if (typeof cb === "function") {
72
- if (typeof optionsOrCb !== "object")
73
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
74
- this.send(command, optionsOrCb || {}, cb);
75
- }
76
- else {
77
- return this.send(command, optionsOrCb);
78
- }
79
- }
80
- createRecoveryGroup(args, optionsOrCb, cb) {
81
- const command = new CreateRecoveryGroupCommand_1.CreateRecoveryGroupCommand(args);
82
- if (typeof optionsOrCb === "function") {
83
- this.send(command, optionsOrCb);
84
- }
85
- else if (typeof cb === "function") {
86
- if (typeof optionsOrCb !== "object")
87
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
88
- this.send(command, optionsOrCb || {}, cb);
89
- }
90
- else {
91
- return this.send(command, optionsOrCb);
92
- }
93
- }
94
- createResourceSet(args, optionsOrCb, cb) {
95
- const command = new CreateResourceSetCommand_1.CreateResourceSetCommand(args);
96
- if (typeof optionsOrCb === "function") {
97
- this.send(command, optionsOrCb);
98
- }
99
- else if (typeof cb === "function") {
100
- if (typeof optionsOrCb !== "object")
101
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
102
- this.send(command, optionsOrCb || {}, cb);
103
- }
104
- else {
105
- return this.send(command, optionsOrCb);
106
- }
107
- }
108
- deleteCell(args, optionsOrCb, cb) {
109
- const command = new DeleteCellCommand_1.DeleteCellCommand(args);
110
- if (typeof optionsOrCb === "function") {
111
- this.send(command, optionsOrCb);
112
- }
113
- else if (typeof cb === "function") {
114
- if (typeof optionsOrCb !== "object")
115
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
116
- this.send(command, optionsOrCb || {}, cb);
117
- }
118
- else {
119
- return this.send(command, optionsOrCb);
120
- }
121
- }
122
- deleteCrossAccountAuthorization(args, optionsOrCb, cb) {
123
- const command = new DeleteCrossAccountAuthorizationCommand_1.DeleteCrossAccountAuthorizationCommand(args);
124
- if (typeof optionsOrCb === "function") {
125
- this.send(command, optionsOrCb);
126
- }
127
- else if (typeof cb === "function") {
128
- if (typeof optionsOrCb !== "object")
129
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
130
- this.send(command, optionsOrCb || {}, cb);
131
- }
132
- else {
133
- return this.send(command, optionsOrCb);
134
- }
135
- }
136
- deleteReadinessCheck(args, optionsOrCb, cb) {
137
- const command = new DeleteReadinessCheckCommand_1.DeleteReadinessCheckCommand(args);
138
- if (typeof optionsOrCb === "function") {
139
- this.send(command, optionsOrCb);
140
- }
141
- else if (typeof cb === "function") {
142
- if (typeof optionsOrCb !== "object")
143
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
144
- this.send(command, optionsOrCb || {}, cb);
145
- }
146
- else {
147
- return this.send(command, optionsOrCb);
148
- }
149
- }
150
- deleteRecoveryGroup(args, optionsOrCb, cb) {
151
- const command = new DeleteRecoveryGroupCommand_1.DeleteRecoveryGroupCommand(args);
152
- if (typeof optionsOrCb === "function") {
153
- this.send(command, optionsOrCb);
154
- }
155
- else if (typeof cb === "function") {
156
- if (typeof optionsOrCb !== "object")
157
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
158
- this.send(command, optionsOrCb || {}, cb);
159
- }
160
- else {
161
- return this.send(command, optionsOrCb);
162
- }
163
- }
164
- deleteResourceSet(args, optionsOrCb, cb) {
165
- const command = new DeleteResourceSetCommand_1.DeleteResourceSetCommand(args);
166
- if (typeof optionsOrCb === "function") {
167
- this.send(command, optionsOrCb);
168
- }
169
- else if (typeof cb === "function") {
170
- if (typeof optionsOrCb !== "object")
171
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
172
- this.send(command, optionsOrCb || {}, cb);
173
- }
174
- else {
175
- return this.send(command, optionsOrCb);
176
- }
177
- }
178
- getArchitectureRecommendations(args, optionsOrCb, cb) {
179
- const command = new GetArchitectureRecommendationsCommand_1.GetArchitectureRecommendationsCommand(args);
180
- if (typeof optionsOrCb === "function") {
181
- this.send(command, optionsOrCb);
182
- }
183
- else if (typeof cb === "function") {
184
- if (typeof optionsOrCb !== "object")
185
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
186
- this.send(command, optionsOrCb || {}, cb);
187
- }
188
- else {
189
- return this.send(command, optionsOrCb);
190
- }
191
- }
192
- getCell(args, optionsOrCb, cb) {
193
- const command = new GetCellCommand_1.GetCellCommand(args);
194
- if (typeof optionsOrCb === "function") {
195
- this.send(command, optionsOrCb);
196
- }
197
- else if (typeof cb === "function") {
198
- if (typeof optionsOrCb !== "object")
199
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
200
- this.send(command, optionsOrCb || {}, cb);
201
- }
202
- else {
203
- return this.send(command, optionsOrCb);
204
- }
205
- }
206
- getCellReadinessSummary(args, optionsOrCb, cb) {
207
- const command = new GetCellReadinessSummaryCommand_1.GetCellReadinessSummaryCommand(args);
208
- if (typeof optionsOrCb === "function") {
209
- this.send(command, optionsOrCb);
210
- }
211
- else if (typeof cb === "function") {
212
- if (typeof optionsOrCb !== "object")
213
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
214
- this.send(command, optionsOrCb || {}, cb);
215
- }
216
- else {
217
- return this.send(command, optionsOrCb);
218
- }
219
- }
220
- getReadinessCheck(args, optionsOrCb, cb) {
221
- const command = new GetReadinessCheckCommand_1.GetReadinessCheckCommand(args);
222
- if (typeof optionsOrCb === "function") {
223
- this.send(command, optionsOrCb);
224
- }
225
- else if (typeof cb === "function") {
226
- if (typeof optionsOrCb !== "object")
227
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
228
- this.send(command, optionsOrCb || {}, cb);
229
- }
230
- else {
231
- return this.send(command, optionsOrCb);
232
- }
233
- }
234
- getReadinessCheckResourceStatus(args, optionsOrCb, cb) {
235
- const command = new GetReadinessCheckResourceStatusCommand_1.GetReadinessCheckResourceStatusCommand(args);
236
- if (typeof optionsOrCb === "function") {
237
- this.send(command, optionsOrCb);
238
- }
239
- else if (typeof cb === "function") {
240
- if (typeof optionsOrCb !== "object")
241
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
242
- this.send(command, optionsOrCb || {}, cb);
243
- }
244
- else {
245
- return this.send(command, optionsOrCb);
246
- }
247
- }
248
- getReadinessCheckStatus(args, optionsOrCb, cb) {
249
- const command = new GetReadinessCheckStatusCommand_1.GetReadinessCheckStatusCommand(args);
250
- if (typeof optionsOrCb === "function") {
251
- this.send(command, optionsOrCb);
252
- }
253
- else if (typeof cb === "function") {
254
- if (typeof optionsOrCb !== "object")
255
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
256
- this.send(command, optionsOrCb || {}, cb);
257
- }
258
- else {
259
- return this.send(command, optionsOrCb);
260
- }
261
- }
262
- getRecoveryGroup(args, optionsOrCb, cb) {
263
- const command = new GetRecoveryGroupCommand_1.GetRecoveryGroupCommand(args);
264
- if (typeof optionsOrCb === "function") {
265
- this.send(command, optionsOrCb);
266
- }
267
- else if (typeof cb === "function") {
268
- if (typeof optionsOrCb !== "object")
269
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
270
- this.send(command, optionsOrCb || {}, cb);
271
- }
272
- else {
273
- return this.send(command, optionsOrCb);
274
- }
275
- }
276
- getRecoveryGroupReadinessSummary(args, optionsOrCb, cb) {
277
- const command = new GetRecoveryGroupReadinessSummaryCommand_1.GetRecoveryGroupReadinessSummaryCommand(args);
278
- if (typeof optionsOrCb === "function") {
279
- this.send(command, optionsOrCb);
280
- }
281
- else if (typeof cb === "function") {
282
- if (typeof optionsOrCb !== "object")
283
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
284
- this.send(command, optionsOrCb || {}, cb);
285
- }
286
- else {
287
- return this.send(command, optionsOrCb);
288
- }
289
- }
290
- getResourceSet(args, optionsOrCb, cb) {
291
- const command = new GetResourceSetCommand_1.GetResourceSetCommand(args);
292
- if (typeof optionsOrCb === "function") {
293
- this.send(command, optionsOrCb);
294
- }
295
- else if (typeof cb === "function") {
296
- if (typeof optionsOrCb !== "object")
297
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
298
- this.send(command, optionsOrCb || {}, cb);
299
- }
300
- else {
301
- return this.send(command, optionsOrCb);
302
- }
303
- }
304
- listCells(args, optionsOrCb, cb) {
305
- const command = new ListCellsCommand_1.ListCellsCommand(args);
306
- if (typeof optionsOrCb === "function") {
307
- this.send(command, optionsOrCb);
308
- }
309
- else if (typeof cb === "function") {
310
- if (typeof optionsOrCb !== "object")
311
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
312
- this.send(command, optionsOrCb || {}, cb);
313
- }
314
- else {
315
- return this.send(command, optionsOrCb);
316
- }
317
- }
318
- listCrossAccountAuthorizations(args, optionsOrCb, cb) {
319
- const command = new ListCrossAccountAuthorizationsCommand_1.ListCrossAccountAuthorizationsCommand(args);
320
- if (typeof optionsOrCb === "function") {
321
- this.send(command, optionsOrCb);
322
- }
323
- else if (typeof cb === "function") {
324
- if (typeof optionsOrCb !== "object")
325
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
326
- this.send(command, optionsOrCb || {}, cb);
327
- }
328
- else {
329
- return this.send(command, optionsOrCb);
330
- }
331
- }
332
- listReadinessChecks(args, optionsOrCb, cb) {
333
- const command = new ListReadinessChecksCommand_1.ListReadinessChecksCommand(args);
334
- if (typeof optionsOrCb === "function") {
335
- this.send(command, optionsOrCb);
336
- }
337
- else if (typeof cb === "function") {
338
- if (typeof optionsOrCb !== "object")
339
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
340
- this.send(command, optionsOrCb || {}, cb);
341
- }
342
- else {
343
- return this.send(command, optionsOrCb);
344
- }
345
- }
346
- listRecoveryGroups(args, optionsOrCb, cb) {
347
- const command = new ListRecoveryGroupsCommand_1.ListRecoveryGroupsCommand(args);
348
- if (typeof optionsOrCb === "function") {
349
- this.send(command, optionsOrCb);
350
- }
351
- else if (typeof cb === "function") {
352
- if (typeof optionsOrCb !== "object")
353
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
354
- this.send(command, optionsOrCb || {}, cb);
355
- }
356
- else {
357
- return this.send(command, optionsOrCb);
358
- }
359
- }
360
- listResourceSets(args, optionsOrCb, cb) {
361
- const command = new ListResourceSetsCommand_1.ListResourceSetsCommand(args);
362
- if (typeof optionsOrCb === "function") {
363
- this.send(command, optionsOrCb);
364
- }
365
- else if (typeof cb === "function") {
366
- if (typeof optionsOrCb !== "object")
367
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
368
- this.send(command, optionsOrCb || {}, cb);
369
- }
370
- else {
371
- return this.send(command, optionsOrCb);
372
- }
373
- }
374
- listRules(args, optionsOrCb, cb) {
375
- const command = new ListRulesCommand_1.ListRulesCommand(args);
376
- if (typeof optionsOrCb === "function") {
377
- this.send(command, optionsOrCb);
378
- }
379
- else if (typeof cb === "function") {
380
- if (typeof optionsOrCb !== "object")
381
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
382
- this.send(command, optionsOrCb || {}, cb);
383
- }
384
- else {
385
- return this.send(command, optionsOrCb);
386
- }
387
- }
388
- listTagsForResources(args, optionsOrCb, cb) {
389
- const command = new ListTagsForResourcesCommand_1.ListTagsForResourcesCommand(args);
390
- if (typeof optionsOrCb === "function") {
391
- this.send(command, optionsOrCb);
392
- }
393
- else if (typeof cb === "function") {
394
- if (typeof optionsOrCb !== "object")
395
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
396
- this.send(command, optionsOrCb || {}, cb);
397
- }
398
- else {
399
- return this.send(command, optionsOrCb);
400
- }
401
- }
402
- tagResource(args, optionsOrCb, cb) {
403
- const command = new TagResourceCommand_1.TagResourceCommand(args);
404
- if (typeof optionsOrCb === "function") {
405
- this.send(command, optionsOrCb);
406
- }
407
- else if (typeof cb === "function") {
408
- if (typeof optionsOrCb !== "object")
409
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
410
- this.send(command, optionsOrCb || {}, cb);
411
- }
412
- else {
413
- return this.send(command, optionsOrCb);
414
- }
415
- }
416
- untagResource(args, optionsOrCb, cb) {
417
- const command = new UntagResourceCommand_1.UntagResourceCommand(args);
418
- if (typeof optionsOrCb === "function") {
419
- this.send(command, optionsOrCb);
420
- }
421
- else if (typeof cb === "function") {
422
- if (typeof optionsOrCb !== "object")
423
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
424
- this.send(command, optionsOrCb || {}, cb);
425
- }
426
- else {
427
- return this.send(command, optionsOrCb);
428
- }
429
- }
430
- updateCell(args, optionsOrCb, cb) {
431
- const command = new UpdateCellCommand_1.UpdateCellCommand(args);
432
- if (typeof optionsOrCb === "function") {
433
- this.send(command, optionsOrCb);
434
- }
435
- else if (typeof cb === "function") {
436
- if (typeof optionsOrCb !== "object")
437
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
438
- this.send(command, optionsOrCb || {}, cb);
439
- }
440
- else {
441
- return this.send(command, optionsOrCb);
442
- }
443
- }
444
- updateReadinessCheck(args, optionsOrCb, cb) {
445
- const command = new UpdateReadinessCheckCommand_1.UpdateReadinessCheckCommand(args);
446
- if (typeof optionsOrCb === "function") {
447
- this.send(command, optionsOrCb);
448
- }
449
- else if (typeof cb === "function") {
450
- if (typeof optionsOrCb !== "object")
451
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
452
- this.send(command, optionsOrCb || {}, cb);
453
- }
454
- else {
455
- return this.send(command, optionsOrCb);
456
- }
457
- }
458
- updateRecoveryGroup(args, optionsOrCb, cb) {
459
- const command = new UpdateRecoveryGroupCommand_1.UpdateRecoveryGroupCommand(args);
460
- if (typeof optionsOrCb === "function") {
461
- this.send(command, optionsOrCb);
462
- }
463
- else if (typeof cb === "function") {
464
- if (typeof optionsOrCb !== "object")
465
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
466
- this.send(command, optionsOrCb || {}, cb);
467
- }
468
- else {
469
- return this.send(command, optionsOrCb);
470
- }
471
- }
472
- updateResourceSet(args, optionsOrCb, cb) {
473
- const command = new UpdateResourceSetCommand_1.UpdateResourceSetCommand(args);
474
- if (typeof optionsOrCb === "function") {
475
- this.send(command, optionsOrCb);
476
- }
477
- else if (typeof cb === "function") {
478
- if (typeof optionsOrCb !== "object")
479
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
480
- this.send(command, optionsOrCb || {}, cb);
481
- }
482
- else {
483
- return this.send(command, optionsOrCb);
484
- }
485
- }
486
73
  }
487
74
  exports.Route53RecoveryReadiness = Route53RecoveryReadiness;
75
+ (0, smithy_client_1.createAggregatedClient)(commands, Route53RecoveryReadiness);
@@ -1,3 +1,4 @@
1
+ import { createAggregatedClient } from "@aws-sdk/smithy-client";
1
2
  import { CreateCellCommand } from "./commands/CreateCellCommand";
2
3
  import { CreateCrossAccountAuthorizationCommand, } from "./commands/CreateCrossAccountAuthorizationCommand";
3
4
  import { CreateReadinessCheckCommand, } from "./commands/CreateReadinessCheckCommand";
@@ -31,453 +32,40 @@ import { UpdateReadinessCheckCommand, } from "./commands/UpdateReadinessCheckCom
31
32
  import { UpdateRecoveryGroupCommand, } from "./commands/UpdateRecoveryGroupCommand";
32
33
  import { UpdateResourceSetCommand, } from "./commands/UpdateResourceSetCommand";
33
34
  import { Route53RecoveryReadinessClient } from "./Route53RecoveryReadinessClient";
35
+ const commands = {
36
+ CreateCellCommand,
37
+ CreateCrossAccountAuthorizationCommand,
38
+ CreateReadinessCheckCommand,
39
+ CreateRecoveryGroupCommand,
40
+ CreateResourceSetCommand,
41
+ DeleteCellCommand,
42
+ DeleteCrossAccountAuthorizationCommand,
43
+ DeleteReadinessCheckCommand,
44
+ DeleteRecoveryGroupCommand,
45
+ DeleteResourceSetCommand,
46
+ GetArchitectureRecommendationsCommand,
47
+ GetCellCommand,
48
+ GetCellReadinessSummaryCommand,
49
+ GetReadinessCheckCommand,
50
+ GetReadinessCheckResourceStatusCommand,
51
+ GetReadinessCheckStatusCommand,
52
+ GetRecoveryGroupCommand,
53
+ GetRecoveryGroupReadinessSummaryCommand,
54
+ GetResourceSetCommand,
55
+ ListCellsCommand,
56
+ ListCrossAccountAuthorizationsCommand,
57
+ ListReadinessChecksCommand,
58
+ ListRecoveryGroupsCommand,
59
+ ListResourceSetsCommand,
60
+ ListRulesCommand,
61
+ ListTagsForResourcesCommand,
62
+ TagResourceCommand,
63
+ UntagResourceCommand,
64
+ UpdateCellCommand,
65
+ UpdateReadinessCheckCommand,
66
+ UpdateRecoveryGroupCommand,
67
+ UpdateResourceSetCommand,
68
+ };
34
69
  export class Route53RecoveryReadiness extends Route53RecoveryReadinessClient {
35
- createCell(args, optionsOrCb, cb) {
36
- const command = new CreateCellCommand(args);
37
- if (typeof optionsOrCb === "function") {
38
- this.send(command, optionsOrCb);
39
- }
40
- else if (typeof cb === "function") {
41
- if (typeof optionsOrCb !== "object")
42
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
43
- this.send(command, optionsOrCb || {}, cb);
44
- }
45
- else {
46
- return this.send(command, optionsOrCb);
47
- }
48
- }
49
- createCrossAccountAuthorization(args, optionsOrCb, cb) {
50
- const command = new CreateCrossAccountAuthorizationCommand(args);
51
- if (typeof optionsOrCb === "function") {
52
- this.send(command, optionsOrCb);
53
- }
54
- else if (typeof cb === "function") {
55
- if (typeof optionsOrCb !== "object")
56
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
57
- this.send(command, optionsOrCb || {}, cb);
58
- }
59
- else {
60
- return this.send(command, optionsOrCb);
61
- }
62
- }
63
- createReadinessCheck(args, optionsOrCb, cb) {
64
- const command = new CreateReadinessCheckCommand(args);
65
- if (typeof optionsOrCb === "function") {
66
- this.send(command, optionsOrCb);
67
- }
68
- else if (typeof cb === "function") {
69
- if (typeof optionsOrCb !== "object")
70
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
71
- this.send(command, optionsOrCb || {}, cb);
72
- }
73
- else {
74
- return this.send(command, optionsOrCb);
75
- }
76
- }
77
- createRecoveryGroup(args, optionsOrCb, cb) {
78
- const command = new CreateRecoveryGroupCommand(args);
79
- if (typeof optionsOrCb === "function") {
80
- this.send(command, optionsOrCb);
81
- }
82
- else if (typeof cb === "function") {
83
- if (typeof optionsOrCb !== "object")
84
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
85
- this.send(command, optionsOrCb || {}, cb);
86
- }
87
- else {
88
- return this.send(command, optionsOrCb);
89
- }
90
- }
91
- createResourceSet(args, optionsOrCb, cb) {
92
- const command = new CreateResourceSetCommand(args);
93
- if (typeof optionsOrCb === "function") {
94
- this.send(command, optionsOrCb);
95
- }
96
- else if (typeof cb === "function") {
97
- if (typeof optionsOrCb !== "object")
98
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
99
- this.send(command, optionsOrCb || {}, cb);
100
- }
101
- else {
102
- return this.send(command, optionsOrCb);
103
- }
104
- }
105
- deleteCell(args, optionsOrCb, cb) {
106
- const command = new DeleteCellCommand(args);
107
- if (typeof optionsOrCb === "function") {
108
- this.send(command, optionsOrCb);
109
- }
110
- else if (typeof cb === "function") {
111
- if (typeof optionsOrCb !== "object")
112
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
113
- this.send(command, optionsOrCb || {}, cb);
114
- }
115
- else {
116
- return this.send(command, optionsOrCb);
117
- }
118
- }
119
- deleteCrossAccountAuthorization(args, optionsOrCb, cb) {
120
- const command = new DeleteCrossAccountAuthorizationCommand(args);
121
- if (typeof optionsOrCb === "function") {
122
- this.send(command, optionsOrCb);
123
- }
124
- else if (typeof cb === "function") {
125
- if (typeof optionsOrCb !== "object")
126
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
127
- this.send(command, optionsOrCb || {}, cb);
128
- }
129
- else {
130
- return this.send(command, optionsOrCb);
131
- }
132
- }
133
- deleteReadinessCheck(args, optionsOrCb, cb) {
134
- const command = new DeleteReadinessCheckCommand(args);
135
- if (typeof optionsOrCb === "function") {
136
- this.send(command, optionsOrCb);
137
- }
138
- else if (typeof cb === "function") {
139
- if (typeof optionsOrCb !== "object")
140
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
141
- this.send(command, optionsOrCb || {}, cb);
142
- }
143
- else {
144
- return this.send(command, optionsOrCb);
145
- }
146
- }
147
- deleteRecoveryGroup(args, optionsOrCb, cb) {
148
- const command = new DeleteRecoveryGroupCommand(args);
149
- if (typeof optionsOrCb === "function") {
150
- this.send(command, optionsOrCb);
151
- }
152
- else if (typeof cb === "function") {
153
- if (typeof optionsOrCb !== "object")
154
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
155
- this.send(command, optionsOrCb || {}, cb);
156
- }
157
- else {
158
- return this.send(command, optionsOrCb);
159
- }
160
- }
161
- deleteResourceSet(args, optionsOrCb, cb) {
162
- const command = new DeleteResourceSetCommand(args);
163
- if (typeof optionsOrCb === "function") {
164
- this.send(command, optionsOrCb);
165
- }
166
- else if (typeof cb === "function") {
167
- if (typeof optionsOrCb !== "object")
168
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
169
- this.send(command, optionsOrCb || {}, cb);
170
- }
171
- else {
172
- return this.send(command, optionsOrCb);
173
- }
174
- }
175
- getArchitectureRecommendations(args, optionsOrCb, cb) {
176
- const command = new GetArchitectureRecommendationsCommand(args);
177
- if (typeof optionsOrCb === "function") {
178
- this.send(command, optionsOrCb);
179
- }
180
- else if (typeof cb === "function") {
181
- if (typeof optionsOrCb !== "object")
182
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
183
- this.send(command, optionsOrCb || {}, cb);
184
- }
185
- else {
186
- return this.send(command, optionsOrCb);
187
- }
188
- }
189
- getCell(args, optionsOrCb, cb) {
190
- const command = new GetCellCommand(args);
191
- if (typeof optionsOrCb === "function") {
192
- this.send(command, optionsOrCb);
193
- }
194
- else if (typeof cb === "function") {
195
- if (typeof optionsOrCb !== "object")
196
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
197
- this.send(command, optionsOrCb || {}, cb);
198
- }
199
- else {
200
- return this.send(command, optionsOrCb);
201
- }
202
- }
203
- getCellReadinessSummary(args, optionsOrCb, cb) {
204
- const command = new GetCellReadinessSummaryCommand(args);
205
- if (typeof optionsOrCb === "function") {
206
- this.send(command, optionsOrCb);
207
- }
208
- else if (typeof cb === "function") {
209
- if (typeof optionsOrCb !== "object")
210
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
211
- this.send(command, optionsOrCb || {}, cb);
212
- }
213
- else {
214
- return this.send(command, optionsOrCb);
215
- }
216
- }
217
- getReadinessCheck(args, optionsOrCb, cb) {
218
- const command = new GetReadinessCheckCommand(args);
219
- if (typeof optionsOrCb === "function") {
220
- this.send(command, optionsOrCb);
221
- }
222
- else if (typeof cb === "function") {
223
- if (typeof optionsOrCb !== "object")
224
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
225
- this.send(command, optionsOrCb || {}, cb);
226
- }
227
- else {
228
- return this.send(command, optionsOrCb);
229
- }
230
- }
231
- getReadinessCheckResourceStatus(args, optionsOrCb, cb) {
232
- const command = new GetReadinessCheckResourceStatusCommand(args);
233
- if (typeof optionsOrCb === "function") {
234
- this.send(command, optionsOrCb);
235
- }
236
- else if (typeof cb === "function") {
237
- if (typeof optionsOrCb !== "object")
238
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
239
- this.send(command, optionsOrCb || {}, cb);
240
- }
241
- else {
242
- return this.send(command, optionsOrCb);
243
- }
244
- }
245
- getReadinessCheckStatus(args, optionsOrCb, cb) {
246
- const command = new GetReadinessCheckStatusCommand(args);
247
- if (typeof optionsOrCb === "function") {
248
- this.send(command, optionsOrCb);
249
- }
250
- else if (typeof cb === "function") {
251
- if (typeof optionsOrCb !== "object")
252
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
253
- this.send(command, optionsOrCb || {}, cb);
254
- }
255
- else {
256
- return this.send(command, optionsOrCb);
257
- }
258
- }
259
- getRecoveryGroup(args, optionsOrCb, cb) {
260
- const command = new GetRecoveryGroupCommand(args);
261
- if (typeof optionsOrCb === "function") {
262
- this.send(command, optionsOrCb);
263
- }
264
- else if (typeof cb === "function") {
265
- if (typeof optionsOrCb !== "object")
266
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
267
- this.send(command, optionsOrCb || {}, cb);
268
- }
269
- else {
270
- return this.send(command, optionsOrCb);
271
- }
272
- }
273
- getRecoveryGroupReadinessSummary(args, optionsOrCb, cb) {
274
- const command = new GetRecoveryGroupReadinessSummaryCommand(args);
275
- if (typeof optionsOrCb === "function") {
276
- this.send(command, optionsOrCb);
277
- }
278
- else if (typeof cb === "function") {
279
- if (typeof optionsOrCb !== "object")
280
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
281
- this.send(command, optionsOrCb || {}, cb);
282
- }
283
- else {
284
- return this.send(command, optionsOrCb);
285
- }
286
- }
287
- getResourceSet(args, optionsOrCb, cb) {
288
- const command = new GetResourceSetCommand(args);
289
- if (typeof optionsOrCb === "function") {
290
- this.send(command, optionsOrCb);
291
- }
292
- else if (typeof cb === "function") {
293
- if (typeof optionsOrCb !== "object")
294
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
295
- this.send(command, optionsOrCb || {}, cb);
296
- }
297
- else {
298
- return this.send(command, optionsOrCb);
299
- }
300
- }
301
- listCells(args, optionsOrCb, cb) {
302
- const command = new ListCellsCommand(args);
303
- if (typeof optionsOrCb === "function") {
304
- this.send(command, optionsOrCb);
305
- }
306
- else if (typeof cb === "function") {
307
- if (typeof optionsOrCb !== "object")
308
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
309
- this.send(command, optionsOrCb || {}, cb);
310
- }
311
- else {
312
- return this.send(command, optionsOrCb);
313
- }
314
- }
315
- listCrossAccountAuthorizations(args, optionsOrCb, cb) {
316
- const command = new ListCrossAccountAuthorizationsCommand(args);
317
- if (typeof optionsOrCb === "function") {
318
- this.send(command, optionsOrCb);
319
- }
320
- else if (typeof cb === "function") {
321
- if (typeof optionsOrCb !== "object")
322
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
323
- this.send(command, optionsOrCb || {}, cb);
324
- }
325
- else {
326
- return this.send(command, optionsOrCb);
327
- }
328
- }
329
- listReadinessChecks(args, optionsOrCb, cb) {
330
- const command = new ListReadinessChecksCommand(args);
331
- if (typeof optionsOrCb === "function") {
332
- this.send(command, optionsOrCb);
333
- }
334
- else if (typeof cb === "function") {
335
- if (typeof optionsOrCb !== "object")
336
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
337
- this.send(command, optionsOrCb || {}, cb);
338
- }
339
- else {
340
- return this.send(command, optionsOrCb);
341
- }
342
- }
343
- listRecoveryGroups(args, optionsOrCb, cb) {
344
- const command = new ListRecoveryGroupsCommand(args);
345
- if (typeof optionsOrCb === "function") {
346
- this.send(command, optionsOrCb);
347
- }
348
- else if (typeof cb === "function") {
349
- if (typeof optionsOrCb !== "object")
350
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
351
- this.send(command, optionsOrCb || {}, cb);
352
- }
353
- else {
354
- return this.send(command, optionsOrCb);
355
- }
356
- }
357
- listResourceSets(args, optionsOrCb, cb) {
358
- const command = new ListResourceSetsCommand(args);
359
- if (typeof optionsOrCb === "function") {
360
- this.send(command, optionsOrCb);
361
- }
362
- else if (typeof cb === "function") {
363
- if (typeof optionsOrCb !== "object")
364
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
365
- this.send(command, optionsOrCb || {}, cb);
366
- }
367
- else {
368
- return this.send(command, optionsOrCb);
369
- }
370
- }
371
- listRules(args, optionsOrCb, cb) {
372
- const command = new ListRulesCommand(args);
373
- if (typeof optionsOrCb === "function") {
374
- this.send(command, optionsOrCb);
375
- }
376
- else if (typeof cb === "function") {
377
- if (typeof optionsOrCb !== "object")
378
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
379
- this.send(command, optionsOrCb || {}, cb);
380
- }
381
- else {
382
- return this.send(command, optionsOrCb);
383
- }
384
- }
385
- listTagsForResources(args, optionsOrCb, cb) {
386
- const command = new ListTagsForResourcesCommand(args);
387
- if (typeof optionsOrCb === "function") {
388
- this.send(command, optionsOrCb);
389
- }
390
- else if (typeof cb === "function") {
391
- if (typeof optionsOrCb !== "object")
392
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
393
- this.send(command, optionsOrCb || {}, cb);
394
- }
395
- else {
396
- return this.send(command, optionsOrCb);
397
- }
398
- }
399
- tagResource(args, optionsOrCb, cb) {
400
- const command = new TagResourceCommand(args);
401
- if (typeof optionsOrCb === "function") {
402
- this.send(command, optionsOrCb);
403
- }
404
- else if (typeof cb === "function") {
405
- if (typeof optionsOrCb !== "object")
406
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
407
- this.send(command, optionsOrCb || {}, cb);
408
- }
409
- else {
410
- return this.send(command, optionsOrCb);
411
- }
412
- }
413
- untagResource(args, optionsOrCb, cb) {
414
- const command = new UntagResourceCommand(args);
415
- if (typeof optionsOrCb === "function") {
416
- this.send(command, optionsOrCb);
417
- }
418
- else if (typeof cb === "function") {
419
- if (typeof optionsOrCb !== "object")
420
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
421
- this.send(command, optionsOrCb || {}, cb);
422
- }
423
- else {
424
- return this.send(command, optionsOrCb);
425
- }
426
- }
427
- updateCell(args, optionsOrCb, cb) {
428
- const command = new UpdateCellCommand(args);
429
- if (typeof optionsOrCb === "function") {
430
- this.send(command, optionsOrCb);
431
- }
432
- else if (typeof cb === "function") {
433
- if (typeof optionsOrCb !== "object")
434
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
435
- this.send(command, optionsOrCb || {}, cb);
436
- }
437
- else {
438
- return this.send(command, optionsOrCb);
439
- }
440
- }
441
- updateReadinessCheck(args, optionsOrCb, cb) {
442
- const command = new UpdateReadinessCheckCommand(args);
443
- if (typeof optionsOrCb === "function") {
444
- this.send(command, optionsOrCb);
445
- }
446
- else if (typeof cb === "function") {
447
- if (typeof optionsOrCb !== "object")
448
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
449
- this.send(command, optionsOrCb || {}, cb);
450
- }
451
- else {
452
- return this.send(command, optionsOrCb);
453
- }
454
- }
455
- updateRecoveryGroup(args, optionsOrCb, cb) {
456
- const command = new UpdateRecoveryGroupCommand(args);
457
- if (typeof optionsOrCb === "function") {
458
- this.send(command, optionsOrCb);
459
- }
460
- else if (typeof cb === "function") {
461
- if (typeof optionsOrCb !== "object")
462
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
463
- this.send(command, optionsOrCb || {}, cb);
464
- }
465
- else {
466
- return this.send(command, optionsOrCb);
467
- }
468
- }
469
- updateResourceSet(args, optionsOrCb, cb) {
470
- const command = new UpdateResourceSetCommand(args);
471
- if (typeof optionsOrCb === "function") {
472
- this.send(command, optionsOrCb);
473
- }
474
- else if (typeof cb === "function") {
475
- if (typeof optionsOrCb !== "object")
476
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
477
- this.send(command, optionsOrCb || {}, cb);
478
- }
479
- else {
480
- return this.send(command, optionsOrCb);
481
- }
482
- }
483
70
  }
71
+ createAggregatedClient(commands, Route53RecoveryReadiness);
@@ -32,233 +32,203 @@ import { UpdateReadinessCheckCommandInput, UpdateReadinessCheckCommandOutput } f
32
32
  import { UpdateRecoveryGroupCommandInput, UpdateRecoveryGroupCommandOutput } from "./commands/UpdateRecoveryGroupCommand";
33
33
  import { UpdateResourceSetCommandInput, UpdateResourceSetCommandOutput } from "./commands/UpdateResourceSetCommand";
34
34
  import { Route53RecoveryReadinessClient } from "./Route53RecoveryReadinessClient";
35
- /**
36
- * @public
37
- * <p>Recovery readiness</p>
38
- */
39
- export declare class Route53RecoveryReadiness extends Route53RecoveryReadinessClient {
35
+ export interface Route53RecoveryReadiness {
40
36
  /**
41
- * @public
42
- * <p>Creates a cell in an account.</p>
37
+ * @see {@link CreateCellCommand}
43
38
  */
44
39
  createCell(args: CreateCellCommandInput, options?: __HttpHandlerOptions): Promise<CreateCellCommandOutput>;
45
40
  createCell(args: CreateCellCommandInput, cb: (err: any, data?: CreateCellCommandOutput) => void): void;
46
41
  createCell(args: CreateCellCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCellCommandOutput) => void): void;
47
42
  /**
48
- * @public
49
- * <p>Creates a cross-account readiness authorization. This lets you authorize another account to work with Route 53 Application Recovery Controller, for example, to check the readiness status of resources in a separate account.</p>
43
+ * @see {@link CreateCrossAccountAuthorizationCommand}
50
44
  */
51
45
  createCrossAccountAuthorization(args: CreateCrossAccountAuthorizationCommandInput, options?: __HttpHandlerOptions): Promise<CreateCrossAccountAuthorizationCommandOutput>;
52
46
  createCrossAccountAuthorization(args: CreateCrossAccountAuthorizationCommandInput, cb: (err: any, data?: CreateCrossAccountAuthorizationCommandOutput) => void): void;
53
47
  createCrossAccountAuthorization(args: CreateCrossAccountAuthorizationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCrossAccountAuthorizationCommandOutput) => void): void;
54
48
  /**
55
- * @public
56
- * <p>Creates a readiness check in an account. A readiness check monitors a resource set in your application, such as a set of Amazon Aurora instances, that Application Recovery Controller is auditing recovery readiness for. The audits run once every minute on every resource that's associated with a readiness check.</p>
49
+ * @see {@link CreateReadinessCheckCommand}
57
50
  */
58
51
  createReadinessCheck(args: CreateReadinessCheckCommandInput, options?: __HttpHandlerOptions): Promise<CreateReadinessCheckCommandOutput>;
59
52
  createReadinessCheck(args: CreateReadinessCheckCommandInput, cb: (err: any, data?: CreateReadinessCheckCommandOutput) => void): void;
60
53
  createReadinessCheck(args: CreateReadinessCheckCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateReadinessCheckCommandOutput) => void): void;
61
54
  /**
62
- * @public
63
- * <p>Creates a recovery group in an account. A recovery group corresponds to an application and includes a list of the cells that make up the application.</p>
55
+ * @see {@link CreateRecoveryGroupCommand}
64
56
  */
65
57
  createRecoveryGroup(args: CreateRecoveryGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateRecoveryGroupCommandOutput>;
66
58
  createRecoveryGroup(args: CreateRecoveryGroupCommandInput, cb: (err: any, data?: CreateRecoveryGroupCommandOutput) => void): void;
67
59
  createRecoveryGroup(args: CreateRecoveryGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRecoveryGroupCommandOutput) => void): void;
68
60
  /**
69
- * @public
70
- * <p>Creates a resource set. A resource set is a set of resources of one type that span multiple cells. You can associate a resource set with a readiness check to monitor the resources for failover readiness.</p>
61
+ * @see {@link CreateResourceSetCommand}
71
62
  */
72
63
  createResourceSet(args: CreateResourceSetCommandInput, options?: __HttpHandlerOptions): Promise<CreateResourceSetCommandOutput>;
73
64
  createResourceSet(args: CreateResourceSetCommandInput, cb: (err: any, data?: CreateResourceSetCommandOutput) => void): void;
74
65
  createResourceSet(args: CreateResourceSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateResourceSetCommandOutput) => void): void;
75
66
  /**
76
- * @public
77
- * <p>Delete a cell. When successful, the response code is 204, with no response body.</p>
67
+ * @see {@link DeleteCellCommand}
78
68
  */
79
69
  deleteCell(args: DeleteCellCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCellCommandOutput>;
80
70
  deleteCell(args: DeleteCellCommandInput, cb: (err: any, data?: DeleteCellCommandOutput) => void): void;
81
71
  deleteCell(args: DeleteCellCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCellCommandOutput) => void): void;
82
72
  /**
83
- * @public
84
- * <p>Deletes cross account readiness authorization.</p>
73
+ * @see {@link DeleteCrossAccountAuthorizationCommand}
85
74
  */
86
75
  deleteCrossAccountAuthorization(args: DeleteCrossAccountAuthorizationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCrossAccountAuthorizationCommandOutput>;
87
76
  deleteCrossAccountAuthorization(args: DeleteCrossAccountAuthorizationCommandInput, cb: (err: any, data?: DeleteCrossAccountAuthorizationCommandOutput) => void): void;
88
77
  deleteCrossAccountAuthorization(args: DeleteCrossAccountAuthorizationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCrossAccountAuthorizationCommandOutput) => void): void;
89
78
  /**
90
- * @public
91
- * <p>Deletes a readiness check.</p>
79
+ * @see {@link DeleteReadinessCheckCommand}
92
80
  */
93
81
  deleteReadinessCheck(args: DeleteReadinessCheckCommandInput, options?: __HttpHandlerOptions): Promise<DeleteReadinessCheckCommandOutput>;
94
82
  deleteReadinessCheck(args: DeleteReadinessCheckCommandInput, cb: (err: any, data?: DeleteReadinessCheckCommandOutput) => void): void;
95
83
  deleteReadinessCheck(args: DeleteReadinessCheckCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteReadinessCheckCommandOutput) => void): void;
96
84
  /**
97
- * @public
98
- * <p>Deletes a recovery group.</p>
85
+ * @see {@link DeleteRecoveryGroupCommand}
99
86
  */
100
87
  deleteRecoveryGroup(args: DeleteRecoveryGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRecoveryGroupCommandOutput>;
101
88
  deleteRecoveryGroup(args: DeleteRecoveryGroupCommandInput, cb: (err: any, data?: DeleteRecoveryGroupCommandOutput) => void): void;
102
89
  deleteRecoveryGroup(args: DeleteRecoveryGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRecoveryGroupCommandOutput) => void): void;
103
90
  /**
104
- * @public
105
- * <p>Deletes a resource set.</p>
91
+ * @see {@link DeleteResourceSetCommand}
106
92
  */
107
93
  deleteResourceSet(args: DeleteResourceSetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteResourceSetCommandOutput>;
108
94
  deleteResourceSet(args: DeleteResourceSetCommandInput, cb: (err: any, data?: DeleteResourceSetCommandOutput) => void): void;
109
95
  deleteResourceSet(args: DeleteResourceSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteResourceSetCommandOutput) => void): void;
110
96
  /**
111
- * @public
112
- * <p>Gets recommendations about architecture designs for improving resiliency for an application, based on a recovery group.</p>
97
+ * @see {@link GetArchitectureRecommendationsCommand}
113
98
  */
114
99
  getArchitectureRecommendations(args: GetArchitectureRecommendationsCommandInput, options?: __HttpHandlerOptions): Promise<GetArchitectureRecommendationsCommandOutput>;
115
100
  getArchitectureRecommendations(args: GetArchitectureRecommendationsCommandInput, cb: (err: any, data?: GetArchitectureRecommendationsCommandOutput) => void): void;
116
101
  getArchitectureRecommendations(args: GetArchitectureRecommendationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetArchitectureRecommendationsCommandOutput) => void): void;
117
102
  /**
118
- * @public
119
- * <p>Gets information about a cell including cell name, cell Amazon Resource Name (ARN), ARNs of nested cells for this cell, and a list of those cell ARNs with their associated recovery group ARNs.</p>
103
+ * @see {@link GetCellCommand}
120
104
  */
121
105
  getCell(args: GetCellCommandInput, options?: __HttpHandlerOptions): Promise<GetCellCommandOutput>;
122
106
  getCell(args: GetCellCommandInput, cb: (err: any, data?: GetCellCommandOutput) => void): void;
123
107
  getCell(args: GetCellCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCellCommandOutput) => void): void;
124
108
  /**
125
- * @public
126
- * <p>Gets readiness for a cell. Aggregates the readiness of all the resources that are associated with the cell into a single value.</p>
109
+ * @see {@link GetCellReadinessSummaryCommand}
127
110
  */
128
111
  getCellReadinessSummary(args: GetCellReadinessSummaryCommandInput, options?: __HttpHandlerOptions): Promise<GetCellReadinessSummaryCommandOutput>;
129
112
  getCellReadinessSummary(args: GetCellReadinessSummaryCommandInput, cb: (err: any, data?: GetCellReadinessSummaryCommandOutput) => void): void;
130
113
  getCellReadinessSummary(args: GetCellReadinessSummaryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCellReadinessSummaryCommandOutput) => void): void;
131
114
  /**
132
- * @public
133
- * <p>Gets details about a readiness check.</p>
115
+ * @see {@link GetReadinessCheckCommand}
134
116
  */
135
117
  getReadinessCheck(args: GetReadinessCheckCommandInput, options?: __HttpHandlerOptions): Promise<GetReadinessCheckCommandOutput>;
136
118
  getReadinessCheck(args: GetReadinessCheckCommandInput, cb: (err: any, data?: GetReadinessCheckCommandOutput) => void): void;
137
119
  getReadinessCheck(args: GetReadinessCheckCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetReadinessCheckCommandOutput) => void): void;
138
120
  /**
139
- * @public
140
- * <p>Gets individual readiness status for a readiness check. To see the overall readiness status for a recovery group, that considers the readiness status for all the readiness checks in the recovery group, use GetRecoveryGroupReadinessSummary.</p>
121
+ * @see {@link GetReadinessCheckResourceStatusCommand}
141
122
  */
142
123
  getReadinessCheckResourceStatus(args: GetReadinessCheckResourceStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetReadinessCheckResourceStatusCommandOutput>;
143
124
  getReadinessCheckResourceStatus(args: GetReadinessCheckResourceStatusCommandInput, cb: (err: any, data?: GetReadinessCheckResourceStatusCommandOutput) => void): void;
144
125
  getReadinessCheckResourceStatus(args: GetReadinessCheckResourceStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetReadinessCheckResourceStatusCommandOutput) => void): void;
145
126
  /**
146
- * @public
147
- * <p>Gets the readiness status for an individual readiness check. To see the overall readiness status for a recovery group, that considers the readiness status for all the readiness checks in a recovery group, use GetRecoveryGroupReadinessSummary.</p>
127
+ * @see {@link GetReadinessCheckStatusCommand}
148
128
  */
149
129
  getReadinessCheckStatus(args: GetReadinessCheckStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetReadinessCheckStatusCommandOutput>;
150
130
  getReadinessCheckStatus(args: GetReadinessCheckStatusCommandInput, cb: (err: any, data?: GetReadinessCheckStatusCommandOutput) => void): void;
151
131
  getReadinessCheckStatus(args: GetReadinessCheckStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetReadinessCheckStatusCommandOutput) => void): void;
152
132
  /**
153
- * @public
154
- * <p>Gets details about a recovery group, including a list of the cells that are included in it.</p>
133
+ * @see {@link GetRecoveryGroupCommand}
155
134
  */
156
135
  getRecoveryGroup(args: GetRecoveryGroupCommandInput, options?: __HttpHandlerOptions): Promise<GetRecoveryGroupCommandOutput>;
157
136
  getRecoveryGroup(args: GetRecoveryGroupCommandInput, cb: (err: any, data?: GetRecoveryGroupCommandOutput) => void): void;
158
137
  getRecoveryGroup(args: GetRecoveryGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRecoveryGroupCommandOutput) => void): void;
159
138
  /**
160
- * @public
161
- * <p>Displays a summary of information about a recovery group's readiness status. Includes the readiness checks for resources in the recovery group and the readiness status of each one.</p>
139
+ * @see {@link GetRecoveryGroupReadinessSummaryCommand}
162
140
  */
163
141
  getRecoveryGroupReadinessSummary(args: GetRecoveryGroupReadinessSummaryCommandInput, options?: __HttpHandlerOptions): Promise<GetRecoveryGroupReadinessSummaryCommandOutput>;
164
142
  getRecoveryGroupReadinessSummary(args: GetRecoveryGroupReadinessSummaryCommandInput, cb: (err: any, data?: GetRecoveryGroupReadinessSummaryCommandOutput) => void): void;
165
143
  getRecoveryGroupReadinessSummary(args: GetRecoveryGroupReadinessSummaryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRecoveryGroupReadinessSummaryCommandOutput) => void): void;
166
144
  /**
167
- * @public
168
- * <p>Displays the details about a resource set, including a list of the resources in the set.</p>
145
+ * @see {@link GetResourceSetCommand}
169
146
  */
170
147
  getResourceSet(args: GetResourceSetCommandInput, options?: __HttpHandlerOptions): Promise<GetResourceSetCommandOutput>;
171
148
  getResourceSet(args: GetResourceSetCommandInput, cb: (err: any, data?: GetResourceSetCommandOutput) => void): void;
172
149
  getResourceSet(args: GetResourceSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourceSetCommandOutput) => void): void;
173
150
  /**
174
- * @public
175
- * <p>Lists the cells for an account.</p>
151
+ * @see {@link ListCellsCommand}
176
152
  */
177
153
  listCells(args: ListCellsCommandInput, options?: __HttpHandlerOptions): Promise<ListCellsCommandOutput>;
178
154
  listCells(args: ListCellsCommandInput, cb: (err: any, data?: ListCellsCommandOutput) => void): void;
179
155
  listCells(args: ListCellsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCellsCommandOutput) => void): void;
180
156
  /**
181
- * @public
182
- * <p>Lists the cross-account readiness authorizations that are in place for an account.</p>
157
+ * @see {@link ListCrossAccountAuthorizationsCommand}
183
158
  */
184
159
  listCrossAccountAuthorizations(args: ListCrossAccountAuthorizationsCommandInput, options?: __HttpHandlerOptions): Promise<ListCrossAccountAuthorizationsCommandOutput>;
185
160
  listCrossAccountAuthorizations(args: ListCrossAccountAuthorizationsCommandInput, cb: (err: any, data?: ListCrossAccountAuthorizationsCommandOutput) => void): void;
186
161
  listCrossAccountAuthorizations(args: ListCrossAccountAuthorizationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCrossAccountAuthorizationsCommandOutput) => void): void;
187
162
  /**
188
- * @public
189
- * <p>Lists the readiness checks for an account.</p>
163
+ * @see {@link ListReadinessChecksCommand}
190
164
  */
191
165
  listReadinessChecks(args: ListReadinessChecksCommandInput, options?: __HttpHandlerOptions): Promise<ListReadinessChecksCommandOutput>;
192
166
  listReadinessChecks(args: ListReadinessChecksCommandInput, cb: (err: any, data?: ListReadinessChecksCommandOutput) => void): void;
193
167
  listReadinessChecks(args: ListReadinessChecksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListReadinessChecksCommandOutput) => void): void;
194
168
  /**
195
- * @public
196
- * <p>Lists the recovery groups in an account.</p>
169
+ * @see {@link ListRecoveryGroupsCommand}
197
170
  */
198
171
  listRecoveryGroups(args: ListRecoveryGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListRecoveryGroupsCommandOutput>;
199
172
  listRecoveryGroups(args: ListRecoveryGroupsCommandInput, cb: (err: any, data?: ListRecoveryGroupsCommandOutput) => void): void;
200
173
  listRecoveryGroups(args: ListRecoveryGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRecoveryGroupsCommandOutput) => void): void;
201
174
  /**
202
- * @public
203
- * <p>Lists the resource sets in an account.</p>
175
+ * @see {@link ListResourceSetsCommand}
204
176
  */
205
177
  listResourceSets(args: ListResourceSetsCommandInput, options?: __HttpHandlerOptions): Promise<ListResourceSetsCommandOutput>;
206
178
  listResourceSets(args: ListResourceSetsCommandInput, cb: (err: any, data?: ListResourceSetsCommandOutput) => void): void;
207
179
  listResourceSets(args: ListResourceSetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListResourceSetsCommandOutput) => void): void;
208
180
  /**
209
- * @public
210
- * <p>Lists all readiness rules, or lists the readiness rules for a specific resource type.</p>
181
+ * @see {@link ListRulesCommand}
211
182
  */
212
183
  listRules(args: ListRulesCommandInput, options?: __HttpHandlerOptions): Promise<ListRulesCommandOutput>;
213
184
  listRules(args: ListRulesCommandInput, cb: (err: any, data?: ListRulesCommandOutput) => void): void;
214
185
  listRules(args: ListRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRulesCommandOutput) => void): void;
215
186
  /**
216
- * @public
217
- * <p>Lists the tags for a resource.</p>
187
+ * @see {@link ListTagsForResourcesCommand}
218
188
  */
219
189
  listTagsForResources(args: ListTagsForResourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourcesCommandOutput>;
220
190
  listTagsForResources(args: ListTagsForResourcesCommandInput, cb: (err: any, data?: ListTagsForResourcesCommandOutput) => void): void;
221
191
  listTagsForResources(args: ListTagsForResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourcesCommandOutput) => void): void;
222
192
  /**
223
- * @public
224
- * <p>Adds a tag to a resource.</p>
193
+ * @see {@link TagResourceCommand}
225
194
  */
226
195
  tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
227
196
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
228
197
  tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
229
198
  /**
230
- * @public
231
- * <p>Removes a tag from a resource.</p>
199
+ * @see {@link UntagResourceCommand}
232
200
  */
233
201
  untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
234
202
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
235
203
  untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
236
204
  /**
237
- * @public
238
- * <p>Updates a cell to replace the list of nested cells with a new list of nested cells.</p>
205
+ * @see {@link UpdateCellCommand}
239
206
  */
240
207
  updateCell(args: UpdateCellCommandInput, options?: __HttpHandlerOptions): Promise<UpdateCellCommandOutput>;
241
208
  updateCell(args: UpdateCellCommandInput, cb: (err: any, data?: UpdateCellCommandOutput) => void): void;
242
209
  updateCell(args: UpdateCellCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCellCommandOutput) => void): void;
243
210
  /**
244
- * @public
245
- * <p>Updates a readiness check.</p>
211
+ * @see {@link UpdateReadinessCheckCommand}
246
212
  */
247
213
  updateReadinessCheck(args: UpdateReadinessCheckCommandInput, options?: __HttpHandlerOptions): Promise<UpdateReadinessCheckCommandOutput>;
248
214
  updateReadinessCheck(args: UpdateReadinessCheckCommandInput, cb: (err: any, data?: UpdateReadinessCheckCommandOutput) => void): void;
249
215
  updateReadinessCheck(args: UpdateReadinessCheckCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateReadinessCheckCommandOutput) => void): void;
250
216
  /**
251
- * @public
252
- * <p>Updates a recovery group.</p>
217
+ * @see {@link UpdateRecoveryGroupCommand}
253
218
  */
254
219
  updateRecoveryGroup(args: UpdateRecoveryGroupCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRecoveryGroupCommandOutput>;
255
220
  updateRecoveryGroup(args: UpdateRecoveryGroupCommandInput, cb: (err: any, data?: UpdateRecoveryGroupCommandOutput) => void): void;
256
221
  updateRecoveryGroup(args: UpdateRecoveryGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRecoveryGroupCommandOutput) => void): void;
257
222
  /**
258
- * @public
259
- * <p>Updates a resource set.</p>
223
+ * @see {@link UpdateResourceSetCommand}
260
224
  */
261
225
  updateResourceSet(args: UpdateResourceSetCommandInput, options?: __HttpHandlerOptions): Promise<UpdateResourceSetCommandOutput>;
262
226
  updateResourceSet(args: UpdateResourceSetCommandInput, cb: (err: any, data?: UpdateResourceSetCommandOutput) => void): void;
263
227
  updateResourceSet(args: UpdateResourceSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateResourceSetCommandOutput) => void): void;
264
228
  }
229
+ /**
230
+ * @public
231
+ * <p>Recovery readiness</p>
232
+ */
233
+ export declare class Route53RecoveryReadiness extends Route53RecoveryReadinessClient implements Route53RecoveryReadiness {
234
+ }
@@ -128,7 +128,7 @@ import {
128
128
  UpdateResourceSetCommandOutput,
129
129
  } from "./commands/UpdateResourceSetCommand";
130
130
  import { Route53RecoveryReadinessClient } from "./Route53RecoveryReadinessClient";
131
- export declare class Route53RecoveryReadiness extends Route53RecoveryReadinessClient {
131
+ export interface Route53RecoveryReadiness {
132
132
  createCell(
133
133
  args: CreateCellCommandInput,
134
134
  options?: __HttpHandlerOptions
@@ -546,3 +546,6 @@ export declare class Route53RecoveryReadiness extends Route53RecoveryReadinessCl
546
546
  cb: (err: any, data?: UpdateResourceSetCommandOutput) => void
547
547
  ): void;
548
548
  }
549
+ export declare class Route53RecoveryReadiness
550
+ extends Route53RecoveryReadinessClient
551
+ implements Route53RecoveryReadiness {}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-route53-recovery-readiness",
3
3
  "description": "AWS SDK for JavaScript Route53 Recovery Readiness Client for Node.js, Browser and React Native",
4
- "version": "3.315.0",
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.315.0",
24
+ "@aws-sdk/client-sts": "3.316.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.315.0",
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.315.0",
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.315.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.315.0",
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",