@aws-sdk/client-backup 3.216.0 → 3.218.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.
Files changed (62) hide show
  1. package/README.md +7 -7
  2. package/dist-cjs/Backup.js +90 -0
  3. package/dist-cjs/commands/CancelLegalHoldCommand.js +46 -0
  4. package/dist-cjs/commands/CreateLegalHoldCommand.js +46 -0
  5. package/dist-cjs/commands/DisassociateRecoveryPointFromParentCommand.js +46 -0
  6. package/dist-cjs/commands/GetLegalHoldCommand.js +46 -0
  7. package/dist-cjs/commands/ListLegalHoldsCommand.js +46 -0
  8. package/dist-cjs/commands/ListRecoveryPointsByLegalHoldCommand.js +46 -0
  9. package/dist-cjs/commands/index.js +6 -0
  10. package/dist-cjs/endpoint/ruleset.js +1 -1
  11. package/dist-cjs/models/models_0.js +116 -46
  12. package/dist-cjs/pagination/ListLegalHoldsPaginator.js +36 -0
  13. package/dist-cjs/pagination/ListRecoveryPointsByLegalHoldPaginator.js +36 -0
  14. package/dist-cjs/pagination/index.js +2 -0
  15. package/dist-cjs/protocols/Aws_restJson1.js +615 -3
  16. package/dist-es/Backup.js +90 -0
  17. package/dist-es/commands/CancelLegalHoldCommand.js +42 -0
  18. package/dist-es/commands/CreateLegalHoldCommand.js +42 -0
  19. package/dist-es/commands/DisassociateRecoveryPointFromParentCommand.js +42 -0
  20. package/dist-es/commands/GetLegalHoldCommand.js +42 -0
  21. package/dist-es/commands/ListLegalHoldsCommand.js +42 -0
  22. package/dist-es/commands/ListRecoveryPointsByLegalHoldCommand.js +42 -0
  23. package/dist-es/commands/index.js +6 -0
  24. package/dist-es/endpoint/ruleset.js +1 -1
  25. package/dist-es/models/models_0.js +90 -35
  26. package/dist-es/pagination/ListLegalHoldsPaginator.js +32 -0
  27. package/dist-es/pagination/ListRecoveryPointsByLegalHoldPaginator.js +32 -0
  28. package/dist-es/pagination/index.js +2 -0
  29. package/dist-es/protocols/Aws_restJson1.js +600 -0
  30. package/dist-types/Backup.d.ts +63 -0
  31. package/dist-types/BackupClient.d.ts +8 -2
  32. package/dist-types/commands/CancelLegalHoldCommand.d.ts +38 -0
  33. package/dist-types/commands/CreateLegalHoldCommand.d.ts +40 -0
  34. package/dist-types/commands/DeleteRecoveryPointCommand.d.ts +10 -0
  35. package/dist-types/commands/DisassociateRecoveryPointFromParentCommand.d.ts +38 -0
  36. package/dist-types/commands/GetLegalHoldCommand.d.ts +38 -0
  37. package/dist-types/commands/ListLegalHoldsCommand.d.ts +37 -0
  38. package/dist-types/commands/ListRecoveryPointsByLegalHoldCommand.d.ts +38 -0
  39. package/dist-types/commands/StopBackupJobCommand.d.ts +4 -0
  40. package/dist-types/commands/index.d.ts +6 -0
  41. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  42. package/dist-types/models/models_0.d.ts +653 -128
  43. package/dist-types/pagination/ListLegalHoldsPaginator.d.ts +4 -0
  44. package/dist-types/pagination/ListRecoveryPointsByLegalHoldPaginator.d.ts +4 -0
  45. package/dist-types/pagination/index.d.ts +2 -0
  46. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  47. package/dist-types/ts3.4/Backup.d.ts +108 -0
  48. package/dist-types/ts3.4/BackupClient.d.ts +36 -0
  49. package/dist-types/ts3.4/commands/CancelLegalHoldCommand.d.ts +37 -0
  50. package/dist-types/ts3.4/commands/CreateLegalHoldCommand.d.ts +37 -0
  51. package/dist-types/ts3.4/commands/DisassociateRecoveryPointFromParentCommand.d.ts +37 -0
  52. package/dist-types/ts3.4/commands/GetLegalHoldCommand.d.ts +34 -0
  53. package/dist-types/ts3.4/commands/ListLegalHoldsCommand.d.ts +34 -0
  54. package/dist-types/ts3.4/commands/ListRecoveryPointsByLegalHoldCommand.d.ts +41 -0
  55. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  56. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  57. package/dist-types/ts3.4/models/models_0.d.ts +210 -55
  58. package/dist-types/ts3.4/pagination/ListLegalHoldsPaginator.d.ts +11 -0
  59. package/dist-types/ts3.4/pagination/ListRecoveryPointsByLegalHoldPaginator.d.ts +11 -0
  60. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  61. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +72 -0
  62. package/package.json +3 -3
@@ -3,6 +3,10 @@ import {
3
3
  HttpResponse as __HttpResponse,
4
4
  } from "@aws-sdk/protocol-http";
5
5
  import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
6
+ import {
7
+ CancelLegalHoldCommandInput,
8
+ CancelLegalHoldCommandOutput,
9
+ } from "../commands/CancelLegalHoldCommand";
6
10
  import {
7
11
  CreateBackupPlanCommandInput,
8
12
  CreateBackupPlanCommandOutput,
@@ -19,6 +23,10 @@ import {
19
23
  CreateFrameworkCommandInput,
20
24
  CreateFrameworkCommandOutput,
21
25
  } from "../commands/CreateFrameworkCommand";
26
+ import {
27
+ CreateLegalHoldCommandInput,
28
+ CreateLegalHoldCommandOutput,
29
+ } from "../commands/CreateLegalHoldCommand";
22
30
  import {
23
31
  CreateReportPlanCommandInput,
24
32
  CreateReportPlanCommandOutput,
@@ -107,6 +115,10 @@ import {
107
115
  DisassociateRecoveryPointCommandInput,
108
116
  DisassociateRecoveryPointCommandOutput,
109
117
  } from "../commands/DisassociateRecoveryPointCommand";
118
+ import {
119
+ DisassociateRecoveryPointFromParentCommandInput,
120
+ DisassociateRecoveryPointFromParentCommandOutput,
121
+ } from "../commands/DisassociateRecoveryPointFromParentCommand";
110
122
  import {
111
123
  ExportBackupPlanTemplateCommandInput,
112
124
  ExportBackupPlanTemplateCommandOutput,
@@ -135,6 +147,10 @@ import {
135
147
  GetBackupVaultNotificationsCommandInput,
136
148
  GetBackupVaultNotificationsCommandOutput,
137
149
  } from "../commands/GetBackupVaultNotificationsCommand";
150
+ import {
151
+ GetLegalHoldCommandInput,
152
+ GetLegalHoldCommandOutput,
153
+ } from "../commands/GetLegalHoldCommand";
138
154
  import {
139
155
  GetRecoveryPointRestoreMetadataCommandInput,
140
156
  GetRecoveryPointRestoreMetadataCommandOutput,
@@ -175,6 +191,10 @@ import {
175
191
  ListFrameworksCommandInput,
176
192
  ListFrameworksCommandOutput,
177
193
  } from "../commands/ListFrameworksCommand";
194
+ import {
195
+ ListLegalHoldsCommandInput,
196
+ ListLegalHoldsCommandOutput,
197
+ } from "../commands/ListLegalHoldsCommand";
178
198
  import {
179
199
  ListProtectedResourcesCommandInput,
180
200
  ListProtectedResourcesCommandOutput,
@@ -183,6 +203,10 @@ import {
183
203
  ListRecoveryPointsByBackupVaultCommandInput,
184
204
  ListRecoveryPointsByBackupVaultCommandOutput,
185
205
  } from "../commands/ListRecoveryPointsByBackupVaultCommand";
206
+ import {
207
+ ListRecoveryPointsByLegalHoldCommandInput,
208
+ ListRecoveryPointsByLegalHoldCommandOutput,
209
+ } from "../commands/ListRecoveryPointsByLegalHoldCommand";
186
210
  import {
187
211
  ListRecoveryPointsByResourceCommandInput,
188
212
  ListRecoveryPointsByResourceCommandOutput,
@@ -267,6 +291,10 @@ import {
267
291
  UpdateReportPlanCommandInput,
268
292
  UpdateReportPlanCommandOutput,
269
293
  } from "../commands/UpdateReportPlanCommand";
294
+ export declare const serializeAws_restJson1CancelLegalHoldCommand: (
295
+ input: CancelLegalHoldCommandInput,
296
+ context: __SerdeContext
297
+ ) => Promise<__HttpRequest>;
270
298
  export declare const serializeAws_restJson1CreateBackupPlanCommand: (
271
299
  input: CreateBackupPlanCommandInput,
272
300
  context: __SerdeContext
@@ -283,6 +311,10 @@ export declare const serializeAws_restJson1CreateFrameworkCommand: (
283
311
  input: CreateFrameworkCommandInput,
284
312
  context: __SerdeContext
285
313
  ) => Promise<__HttpRequest>;
314
+ export declare const serializeAws_restJson1CreateLegalHoldCommand: (
315
+ input: CreateLegalHoldCommandInput,
316
+ context: __SerdeContext
317
+ ) => Promise<__HttpRequest>;
286
318
  export declare const serializeAws_restJson1CreateReportPlanCommand: (
287
319
  input: CreateReportPlanCommandInput,
288
320
  context: __SerdeContext
@@ -371,6 +403,10 @@ export declare const serializeAws_restJson1DisassociateRecoveryPointCommand: (
371
403
  input: DisassociateRecoveryPointCommandInput,
372
404
  context: __SerdeContext
373
405
  ) => Promise<__HttpRequest>;
406
+ export declare const serializeAws_restJson1DisassociateRecoveryPointFromParentCommand: (
407
+ input: DisassociateRecoveryPointFromParentCommandInput,
408
+ context: __SerdeContext
409
+ ) => Promise<__HttpRequest>;
374
410
  export declare const serializeAws_restJson1ExportBackupPlanTemplateCommand: (
375
411
  input: ExportBackupPlanTemplateCommandInput,
376
412
  context: __SerdeContext
@@ -399,6 +435,10 @@ export declare const serializeAws_restJson1GetBackupVaultNotificationsCommand: (
399
435
  input: GetBackupVaultNotificationsCommandInput,
400
436
  context: __SerdeContext
401
437
  ) => Promise<__HttpRequest>;
438
+ export declare const serializeAws_restJson1GetLegalHoldCommand: (
439
+ input: GetLegalHoldCommandInput,
440
+ context: __SerdeContext
441
+ ) => Promise<__HttpRequest>;
402
442
  export declare const serializeAws_restJson1GetRecoveryPointRestoreMetadataCommand: (
403
443
  input: GetRecoveryPointRestoreMetadataCommandInput,
404
444
  context: __SerdeContext
@@ -439,6 +479,10 @@ export declare const serializeAws_restJson1ListFrameworksCommand: (
439
479
  input: ListFrameworksCommandInput,
440
480
  context: __SerdeContext
441
481
  ) => Promise<__HttpRequest>;
482
+ export declare const serializeAws_restJson1ListLegalHoldsCommand: (
483
+ input: ListLegalHoldsCommandInput,
484
+ context: __SerdeContext
485
+ ) => Promise<__HttpRequest>;
442
486
  export declare const serializeAws_restJson1ListProtectedResourcesCommand: (
443
487
  input: ListProtectedResourcesCommandInput,
444
488
  context: __SerdeContext
@@ -447,6 +491,10 @@ export declare const serializeAws_restJson1ListRecoveryPointsByBackupVaultComman
447
491
  input: ListRecoveryPointsByBackupVaultCommandInput,
448
492
  context: __SerdeContext
449
493
  ) => Promise<__HttpRequest>;
494
+ export declare const serializeAws_restJson1ListRecoveryPointsByLegalHoldCommand: (
495
+ input: ListRecoveryPointsByLegalHoldCommandInput,
496
+ context: __SerdeContext
497
+ ) => Promise<__HttpRequest>;
450
498
  export declare const serializeAws_restJson1ListRecoveryPointsByResourceCommand: (
451
499
  input: ListRecoveryPointsByResourceCommandInput,
452
500
  context: __SerdeContext
@@ -531,6 +579,10 @@ export declare const serializeAws_restJson1UpdateReportPlanCommand: (
531
579
  input: UpdateReportPlanCommandInput,
532
580
  context: __SerdeContext
533
581
  ) => Promise<__HttpRequest>;
582
+ export declare const deserializeAws_restJson1CancelLegalHoldCommand: (
583
+ output: __HttpResponse,
584
+ context: __SerdeContext
585
+ ) => Promise<CancelLegalHoldCommandOutput>;
534
586
  export declare const deserializeAws_restJson1CreateBackupPlanCommand: (
535
587
  output: __HttpResponse,
536
588
  context: __SerdeContext
@@ -547,6 +599,10 @@ export declare const deserializeAws_restJson1CreateFrameworkCommand: (
547
599
  output: __HttpResponse,
548
600
  context: __SerdeContext
549
601
  ) => Promise<CreateFrameworkCommandOutput>;
602
+ export declare const deserializeAws_restJson1CreateLegalHoldCommand: (
603
+ output: __HttpResponse,
604
+ context: __SerdeContext
605
+ ) => Promise<CreateLegalHoldCommandOutput>;
550
606
  export declare const deserializeAws_restJson1CreateReportPlanCommand: (
551
607
  output: __HttpResponse,
552
608
  context: __SerdeContext
@@ -635,6 +691,10 @@ export declare const deserializeAws_restJson1DisassociateRecoveryPointCommand: (
635
691
  output: __HttpResponse,
636
692
  context: __SerdeContext
637
693
  ) => Promise<DisassociateRecoveryPointCommandOutput>;
694
+ export declare const deserializeAws_restJson1DisassociateRecoveryPointFromParentCommand: (
695
+ output: __HttpResponse,
696
+ context: __SerdeContext
697
+ ) => Promise<DisassociateRecoveryPointFromParentCommandOutput>;
638
698
  export declare const deserializeAws_restJson1ExportBackupPlanTemplateCommand: (
639
699
  output: __HttpResponse,
640
700
  context: __SerdeContext
@@ -663,6 +723,10 @@ export declare const deserializeAws_restJson1GetBackupVaultNotificationsCommand:
663
723
  output: __HttpResponse,
664
724
  context: __SerdeContext
665
725
  ) => Promise<GetBackupVaultNotificationsCommandOutput>;
726
+ export declare const deserializeAws_restJson1GetLegalHoldCommand: (
727
+ output: __HttpResponse,
728
+ context: __SerdeContext
729
+ ) => Promise<GetLegalHoldCommandOutput>;
666
730
  export declare const deserializeAws_restJson1GetRecoveryPointRestoreMetadataCommand: (
667
731
  output: __HttpResponse,
668
732
  context: __SerdeContext
@@ -703,6 +767,10 @@ export declare const deserializeAws_restJson1ListFrameworksCommand: (
703
767
  output: __HttpResponse,
704
768
  context: __SerdeContext
705
769
  ) => Promise<ListFrameworksCommandOutput>;
770
+ export declare const deserializeAws_restJson1ListLegalHoldsCommand: (
771
+ output: __HttpResponse,
772
+ context: __SerdeContext
773
+ ) => Promise<ListLegalHoldsCommandOutput>;
706
774
  export declare const deserializeAws_restJson1ListProtectedResourcesCommand: (
707
775
  output: __HttpResponse,
708
776
  context: __SerdeContext
@@ -711,6 +779,10 @@ export declare const deserializeAws_restJson1ListRecoveryPointsByBackupVaultComm
711
779
  output: __HttpResponse,
712
780
  context: __SerdeContext
713
781
  ) => Promise<ListRecoveryPointsByBackupVaultCommandOutput>;
782
+ export declare const deserializeAws_restJson1ListRecoveryPointsByLegalHoldCommand: (
783
+ output: __HttpResponse,
784
+ context: __SerdeContext
785
+ ) => Promise<ListRecoveryPointsByLegalHoldCommandOutput>;
714
786
  export declare const deserializeAws_restJson1ListRecoveryPointsByResourceCommand: (
715
787
  output: __HttpResponse,
716
788
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-backup",
3
3
  "description": "AWS SDK for JavaScript Backup Client for Node.js, Browser and React Native",
4
- "version": "3.216.0",
4
+ "version": "3.218.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",
@@ -19,9 +19,9 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.216.0",
22
+ "@aws-sdk/client-sts": "3.218.0",
23
23
  "@aws-sdk/config-resolver": "3.215.0",
24
- "@aws-sdk/credential-provider-node": "3.216.0",
24
+ "@aws-sdk/credential-provider-node": "3.218.0",
25
25
  "@aws-sdk/fetch-http-handler": "3.215.0",
26
26
  "@aws-sdk/hash-node": "3.215.0",
27
27
  "@aws-sdk/invalid-dependency": "3.215.0",