@aws-sdk/client-backup 3.215.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 +4 -4
@@ -0,0 +1,41 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ BackupClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../BackupClient";
14
+ import {
15
+ ListRecoveryPointsByLegalHoldInput,
16
+ ListRecoveryPointsByLegalHoldOutput,
17
+ } from "../models/models_0";
18
+ export interface ListRecoveryPointsByLegalHoldCommandInput
19
+ extends ListRecoveryPointsByLegalHoldInput {}
20
+ export interface ListRecoveryPointsByLegalHoldCommandOutput
21
+ extends ListRecoveryPointsByLegalHoldOutput,
22
+ __MetadataBearer {}
23
+ export declare class ListRecoveryPointsByLegalHoldCommand extends $Command<
24
+ ListRecoveryPointsByLegalHoldCommandInput,
25
+ ListRecoveryPointsByLegalHoldCommandOutput,
26
+ BackupClientResolvedConfig
27
+ > {
28
+ readonly input: ListRecoveryPointsByLegalHoldCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: ListRecoveryPointsByLegalHoldCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: BackupClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ ListRecoveryPointsByLegalHoldCommandInput,
37
+ ListRecoveryPointsByLegalHoldCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -1,7 +1,9 @@
1
+ export * from "./CancelLegalHoldCommand";
1
2
  export * from "./CreateBackupPlanCommand";
2
3
  export * from "./CreateBackupSelectionCommand";
3
4
  export * from "./CreateBackupVaultCommand";
4
5
  export * from "./CreateFrameworkCommand";
6
+ export * from "./CreateLegalHoldCommand";
5
7
  export * from "./CreateReportPlanCommand";
6
8
  export * from "./DeleteBackupPlanCommand";
7
9
  export * from "./DeleteBackupSelectionCommand";
@@ -24,6 +26,7 @@ export * from "./DescribeReportJobCommand";
24
26
  export * from "./DescribeReportPlanCommand";
25
27
  export * from "./DescribeRestoreJobCommand";
26
28
  export * from "./DisassociateRecoveryPointCommand";
29
+ export * from "./DisassociateRecoveryPointFromParentCommand";
27
30
  export * from "./ExportBackupPlanTemplateCommand";
28
31
  export * from "./GetBackupPlanCommand";
29
32
  export * from "./GetBackupPlanFromJSONCommand";
@@ -31,6 +34,7 @@ export * from "./GetBackupPlanFromTemplateCommand";
31
34
  export * from "./GetBackupSelectionCommand";
32
35
  export * from "./GetBackupVaultAccessPolicyCommand";
33
36
  export * from "./GetBackupVaultNotificationsCommand";
37
+ export * from "./GetLegalHoldCommand";
34
38
  export * from "./GetRecoveryPointRestoreMetadataCommand";
35
39
  export * from "./GetSupportedResourceTypesCommand";
36
40
  export * from "./ListBackupJobsCommand";
@@ -41,8 +45,10 @@ export * from "./ListBackupSelectionsCommand";
41
45
  export * from "./ListBackupVaultsCommand";
42
46
  export * from "./ListCopyJobsCommand";
43
47
  export * from "./ListFrameworksCommand";
48
+ export * from "./ListLegalHoldsCommand";
44
49
  export * from "./ListProtectedResourcesCommand";
45
50
  export * from "./ListRecoveryPointsByBackupVaultCommand";
51
+ export * from "./ListRecoveryPointsByLegalHoldCommand";
46
52
  export * from "./ListRecoveryPointsByResourceCommand";
47
53
  export * from "./ListReportJobsCommand";
48
54
  export * from "./ListReportPlansCommand";
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
27
27
  defaultSigningName: string;
28
28
  };
29
29
  export interface EndpointParameters extends __EndpointParameters {
30
- Region?: string;
30
+ Region: string;
31
31
  UseDualStack?: boolean;
32
32
  UseFIPS?: boolean;
33
33
  Endpoint?: string;
@@ -30,6 +30,7 @@ export declare enum BackupJobState {
30
30
  CREATED = "CREATED",
31
31
  EXPIRED = "EXPIRED",
32
32
  FAILED = "FAILED",
33
+ PARTIAL = "PARTIAL",
33
34
  PENDING = "PENDING",
34
35
  RUNNING = "RUNNING",
35
36
  }
@@ -54,6 +55,8 @@ export interface BackupJob {
54
55
  BytesTransferred?: number;
55
56
  BackupOptions?: Record<string, string>;
56
57
  BackupType?: string;
58
+ ParentJobId?: string;
59
+ IsParent?: boolean;
57
60
  }
58
61
  export interface Lifecycle {
59
62
  MoveToColdStorageAfterDays?: number;
@@ -180,6 +183,67 @@ export interface CalculatedLifecycle {
180
183
  MoveToColdStorageAt?: Date;
181
184
  DeleteAt?: Date;
182
185
  }
186
+ export interface CancelLegalHoldInput {
187
+ LegalHoldId: string | undefined;
188
+ CancelDescription: string | undefined;
189
+ RetainRecordInDays?: number;
190
+ }
191
+ export interface CancelLegalHoldOutput {}
192
+ export declare class InvalidParameterValueException extends __BaseException {
193
+ readonly name: "InvalidParameterValueException";
194
+ readonly $fault: "client";
195
+ Code?: string;
196
+ Message?: string;
197
+ Type?: string;
198
+ Context?: string;
199
+ constructor(
200
+ opts: __ExceptionOptionType<InvalidParameterValueException, __BaseException>
201
+ );
202
+ }
203
+ export declare class InvalidResourceStateException extends __BaseException {
204
+ readonly name: "InvalidResourceStateException";
205
+ readonly $fault: "client";
206
+ Code?: string;
207
+ Message?: string;
208
+ Type?: string;
209
+ Context?: string;
210
+ constructor(
211
+ opts: __ExceptionOptionType<InvalidResourceStateException, __BaseException>
212
+ );
213
+ }
214
+ export declare class MissingParameterValueException extends __BaseException {
215
+ readonly name: "MissingParameterValueException";
216
+ readonly $fault: "client";
217
+ Code?: string;
218
+ Message?: string;
219
+ Type?: string;
220
+ Context?: string;
221
+ constructor(
222
+ opts: __ExceptionOptionType<MissingParameterValueException, __BaseException>
223
+ );
224
+ }
225
+ export declare class ResourceNotFoundException extends __BaseException {
226
+ readonly name: "ResourceNotFoundException";
227
+ readonly $fault: "client";
228
+ Code?: string;
229
+ Message?: string;
230
+ Type?: string;
231
+ Context?: string;
232
+ constructor(
233
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
234
+ );
235
+ }
236
+ export declare class ServiceUnavailableException extends __BaseException {
237
+ readonly name: "ServiceUnavailableException";
238
+ readonly $fault: "server";
239
+ Code?: string;
240
+ Message?: string;
241
+ Type?: string;
242
+ Context?: string;
243
+ constructor(
244
+ opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
245
+ );
246
+ }
183
247
  export declare class ConflictException extends __BaseException {
184
248
  readonly name: "ConflictException";
185
249
  readonly $fault: "client";
@@ -202,6 +266,7 @@ export declare enum CopyJobState {
202
266
  COMPLETED = "COMPLETED",
203
267
  CREATED = "CREATED",
204
268
  FAILED = "FAILED",
269
+ PARTIAL = "PARTIAL",
205
270
  RUNNING = "RUNNING",
206
271
  }
207
272
  export interface CopyJob {
@@ -220,6 +285,11 @@ export interface CopyJob {
220
285
  IamRoleArn?: string;
221
286
  CreatedBy?: RecoveryPointCreator;
222
287
  ResourceType?: string;
288
+ ParentJobId?: string;
289
+ IsParent?: boolean;
290
+ CompositeMemberIdentifier?: string;
291
+ NumberOfChildJobs?: number;
292
+ ChildJobsInState?: Record<string, number>;
223
293
  }
224
294
  export interface CreateBackupPlanInput {
225
295
  BackupPlan: BackupPlanInput | undefined;
@@ -233,17 +303,6 @@ export interface CreateBackupPlanOutput {
233
303
  VersionId?: string;
234
304
  AdvancedBackupSettings?: AdvancedBackupSetting[];
235
305
  }
236
- export declare class InvalidParameterValueException extends __BaseException {
237
- readonly name: "InvalidParameterValueException";
238
- readonly $fault: "client";
239
- Code?: string;
240
- Message?: string;
241
- Type?: string;
242
- Context?: string;
243
- constructor(
244
- opts: __ExceptionOptionType<InvalidParameterValueException, __BaseException>
245
- );
246
- }
247
306
  export declare class LimitExceededException extends __BaseException {
248
307
  readonly name: "LimitExceededException";
249
308
  readonly $fault: "client";
@@ -255,28 +314,6 @@ export declare class LimitExceededException extends __BaseException {
255
314
  opts: __ExceptionOptionType<LimitExceededException, __BaseException>
256
315
  );
257
316
  }
258
- export declare class MissingParameterValueException extends __BaseException {
259
- readonly name: "MissingParameterValueException";
260
- readonly $fault: "client";
261
- Code?: string;
262
- Message?: string;
263
- Type?: string;
264
- Context?: string;
265
- constructor(
266
- opts: __ExceptionOptionType<MissingParameterValueException, __BaseException>
267
- );
268
- }
269
- export declare class ServiceUnavailableException extends __BaseException {
270
- readonly name: "ServiceUnavailableException";
271
- readonly $fault: "server";
272
- Code?: string;
273
- Message?: string;
274
- Type?: string;
275
- Context?: string;
276
- constructor(
277
- opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
278
- );
279
- }
280
317
  export interface CreateBackupSelectionInput {
281
318
  BackupPlanId: string | undefined;
282
319
  BackupSelection: BackupSelection | undefined;
@@ -314,6 +351,37 @@ export interface CreateFrameworkOutput {
314
351
  FrameworkName?: string;
315
352
  FrameworkArn?: string;
316
353
  }
354
+ export interface DateRange {
355
+ FromDate: Date | undefined;
356
+ ToDate: Date | undefined;
357
+ }
358
+ export interface RecoveryPointSelection {
359
+ VaultNames?: string[];
360
+ ResourceIdentifiers?: string[];
361
+ DateRange?: DateRange;
362
+ }
363
+ export interface CreateLegalHoldInput {
364
+ Title: string | undefined;
365
+ Description: string | undefined;
366
+ IdempotencyToken?: string;
367
+ RecoveryPointSelection?: RecoveryPointSelection;
368
+ Tags?: Record<string, string>;
369
+ }
370
+ export declare enum LegalHoldStatus {
371
+ ACTIVE = "ACTIVE",
372
+ CANCELED = "CANCELED",
373
+ CANCELING = "CANCELING",
374
+ CREATING = "CREATING",
375
+ }
376
+ export interface CreateLegalHoldOutput {
377
+ Title?: string;
378
+ Status?: LegalHoldStatus | string;
379
+ Description?: string;
380
+ LegalHoldId?: string;
381
+ LegalHoldArn?: string;
382
+ CreationDate?: Date;
383
+ RecoveryPointSelection?: RecoveryPointSelection;
384
+ }
317
385
  export interface ReportDeliveryChannel {
318
386
  S3BucketName: string | undefined;
319
387
  S3KeyPrefix?: string;
@@ -323,6 +391,9 @@ export interface ReportSetting {
323
391
  ReportTemplate: string | undefined;
324
392
  FrameworkArns?: string[];
325
393
  NumberOfFrameworks?: number;
394
+ Accounts?: string[];
395
+ OrganizationUnits?: string[];
396
+ Regions?: string[];
326
397
  }
327
398
  export interface CreateReportPlanInput {
328
399
  ReportPlanName: string | undefined;
@@ -357,17 +428,6 @@ export declare class InvalidRequestException extends __BaseException {
357
428
  opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
358
429
  );
359
430
  }
360
- export declare class ResourceNotFoundException extends __BaseException {
361
- readonly name: "ResourceNotFoundException";
362
- readonly $fault: "client";
363
- Code?: string;
364
- Message?: string;
365
- Type?: string;
366
- Context?: string;
367
- constructor(
368
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
369
- );
370
- }
371
431
  export interface DeleteBackupSelectionInput {
372
432
  BackupPlanId: string | undefined;
373
433
  SelectionId: string | undefined;
@@ -391,17 +451,6 @@ export interface DeleteRecoveryPointInput {
391
451
  BackupVaultName: string | undefined;
392
452
  RecoveryPointArn: string | undefined;
393
453
  }
394
- export declare class InvalidResourceStateException extends __BaseException {
395
- readonly name: "InvalidResourceStateException";
396
- readonly $fault: "client";
397
- Code?: string;
398
- Message?: string;
399
- Type?: string;
400
- Context?: string;
401
- constructor(
402
- opts: __ExceptionOptionType<InvalidResourceStateException, __BaseException>
403
- );
404
- }
405
454
  export interface DeleteReportPlanInput {
406
455
  ReportPlanName: string | undefined;
407
456
  }
@@ -440,6 +489,10 @@ export interface DescribeBackupJobOutput {
440
489
  StartBy?: Date;
441
490
  BackupOptions?: Record<string, string>;
442
491
  BackupType?: string;
492
+ ParentJobId?: string;
493
+ IsParent?: boolean;
494
+ NumberOfChildJobs?: number;
495
+ ChildJobsInState?: Record<string, number>;
443
496
  }
444
497
  export interface DescribeBackupVaultInput {
445
498
  BackupVaultName: string | undefined;
@@ -523,6 +576,9 @@ export interface DescribeRecoveryPointOutput {
523
576
  IsEncrypted?: boolean;
524
577
  StorageClass?: StorageClass | string;
525
578
  LastRestoreTime?: Date;
579
+ ParentRecoveryPointArn?: string;
580
+ CompositeMemberIdentifier?: string;
581
+ IsParent?: boolean;
526
582
  }
527
583
  export interface DescribeRegionSettingsInput {}
528
584
  export interface DescribeRegionSettingsOutput {
@@ -595,6 +651,10 @@ export interface DisassociateRecoveryPointInput {
595
651
  BackupVaultName: string | undefined;
596
652
  RecoveryPointArn: string | undefined;
597
653
  }
654
+ export interface DisassociateRecoveryPointFromParentInput {
655
+ BackupVaultName: string | undefined;
656
+ RecoveryPointArn: string | undefined;
657
+ }
598
658
  export interface ExportBackupPlanTemplateInput {
599
659
  BackupPlanId: string | undefined;
600
660
  }
@@ -656,6 +716,21 @@ export interface GetBackupVaultNotificationsOutput {
656
716
  SNSTopicArn?: string;
657
717
  BackupVaultEvents?: (BackupVaultEvent | string)[];
658
718
  }
719
+ export interface GetLegalHoldInput {
720
+ LegalHoldId: string | undefined;
721
+ }
722
+ export interface GetLegalHoldOutput {
723
+ Title?: string;
724
+ Status?: LegalHoldStatus | string;
725
+ Description?: string;
726
+ CancelDescription?: string;
727
+ LegalHoldId?: string;
728
+ LegalHoldArn?: string;
729
+ CreationDate?: Date;
730
+ CancellationDate?: Date;
731
+ RetainRecordUntil?: Date;
732
+ RecoveryPointSelection?: RecoveryPointSelection;
733
+ }
659
734
  export interface GetRecoveryPointRestoreMetadataInput {
660
735
  BackupVaultName: string | undefined;
661
736
  RecoveryPointArn: string | undefined;
@@ -680,6 +755,7 @@ export interface ListBackupJobsInput {
680
755
  ByAccountId?: string;
681
756
  ByCompleteAfter?: Date;
682
757
  ByCompleteBefore?: Date;
758
+ ByParentJobId?: string;
683
759
  }
684
760
  export interface ListBackupJobsOutput {
685
761
  BackupJobs?: BackupJob[];
@@ -740,6 +816,7 @@ export interface ListCopyJobsInput {
740
816
  ByAccountId?: string;
741
817
  ByCompleteBefore?: Date;
742
818
  ByCompleteAfter?: Date;
819
+ ByParentJobId?: string;
743
820
  }
744
821
  export interface ListCopyJobsOutput {
745
822
  CopyJobs?: CopyJob[];
@@ -761,6 +838,23 @@ export interface ListFrameworksOutput {
761
838
  Frameworks?: Framework[];
762
839
  NextToken?: string;
763
840
  }
841
+ export interface ListLegalHoldsInput {
842
+ NextToken?: string;
843
+ MaxResults?: number;
844
+ }
845
+ export interface LegalHold {
846
+ Title?: string;
847
+ Status?: LegalHoldStatus | string;
848
+ Description?: string;
849
+ LegalHoldId?: string;
850
+ LegalHoldArn?: string;
851
+ CreationDate?: Date;
852
+ CancellationDate?: Date;
853
+ }
854
+ export interface ListLegalHoldsOutput {
855
+ NextToken?: string;
856
+ LegalHolds?: LegalHold[];
857
+ }
764
858
  export interface ListProtectedResourcesInput {
765
859
  NextToken?: string;
766
860
  MaxResults?: number;
@@ -783,6 +877,7 @@ export interface ListRecoveryPointsByBackupVaultInput {
783
877
  ByBackupPlanId?: string;
784
878
  ByCreatedBefore?: Date;
785
879
  ByCreatedAfter?: Date;
880
+ ByParentRecoveryPointArn?: string;
786
881
  }
787
882
  export interface RecoveryPointByBackupVault {
788
883
  RecoveryPointArn?: string;
@@ -803,11 +898,26 @@ export interface RecoveryPointByBackupVault {
803
898
  EncryptionKeyArn?: string;
804
899
  IsEncrypted?: boolean;
805
900
  LastRestoreTime?: Date;
901
+ ParentRecoveryPointArn?: string;
902
+ CompositeMemberIdentifier?: string;
903
+ IsParent?: boolean;
806
904
  }
807
905
  export interface ListRecoveryPointsByBackupVaultOutput {
808
906
  NextToken?: string;
809
907
  RecoveryPoints?: RecoveryPointByBackupVault[];
810
908
  }
909
+ export interface ListRecoveryPointsByLegalHoldInput {
910
+ LegalHoldId: string | undefined;
911
+ NextToken?: string;
912
+ MaxResults?: number;
913
+ }
914
+ export interface RecoveryPointMember {
915
+ RecoveryPointArn?: string;
916
+ }
917
+ export interface ListRecoveryPointsByLegalHoldOutput {
918
+ RecoveryPoints?: RecoveryPointMember[];
919
+ NextToken?: string;
920
+ }
811
921
  export interface ListRecoveryPointsByResourceInput {
812
922
  ResourceArn: string | undefined;
813
923
  NextToken?: string;
@@ -821,6 +931,8 @@ export interface RecoveryPointByResource {
821
931
  EncryptionKeyArn?: string;
822
932
  BackupSizeBytes?: number;
823
933
  BackupVaultName?: string;
934
+ IsParent?: boolean;
935
+ ParentRecoveryPointArn?: string;
824
936
  }
825
937
  export interface ListRecoveryPointsByResourceOutput {
826
938
  NextToken?: string;
@@ -914,6 +1026,7 @@ export interface StartBackupJobOutput {
914
1026
  BackupJobId?: string;
915
1027
  RecoveryPointArn?: string;
916
1028
  CreationDate?: Date;
1029
+ IsParent?: boolean;
917
1030
  }
918
1031
  export interface StartCopyJobInput {
919
1032
  RecoveryPointArn: string | undefined;
@@ -926,6 +1039,7 @@ export interface StartCopyJobInput {
926
1039
  export interface StartCopyJobOutput {
927
1040
  CopyJobId?: string;
928
1041
  CreationDate?: Date;
1042
+ IsParent?: boolean;
929
1043
  }
930
1044
  export interface StartReportJobInput {
931
1045
  ReportPlanName: string | undefined;
@@ -1047,6 +1161,12 @@ export declare const BackupVaultListMemberFilterSensitiveLog: (
1047
1161
  export declare const CalculatedLifecycleFilterSensitiveLog: (
1048
1162
  obj: CalculatedLifecycle
1049
1163
  ) => any;
1164
+ export declare const CancelLegalHoldInputFilterSensitiveLog: (
1165
+ obj: CancelLegalHoldInput
1166
+ ) => any;
1167
+ export declare const CancelLegalHoldOutputFilterSensitiveLog: (
1168
+ obj: CancelLegalHoldOutput
1169
+ ) => any;
1050
1170
  export declare const ControlInputParameterFilterSensitiveLog: (
1051
1171
  obj: ControlInputParameter
1052
1172
  ) => any;
@@ -1079,6 +1199,16 @@ export declare const CreateFrameworkInputFilterSensitiveLog: (
1079
1199
  export declare const CreateFrameworkOutputFilterSensitiveLog: (
1080
1200
  obj: CreateFrameworkOutput
1081
1201
  ) => any;
1202
+ export declare const DateRangeFilterSensitiveLog: (obj: DateRange) => any;
1203
+ export declare const RecoveryPointSelectionFilterSensitiveLog: (
1204
+ obj: RecoveryPointSelection
1205
+ ) => any;
1206
+ export declare const CreateLegalHoldInputFilterSensitiveLog: (
1207
+ obj: CreateLegalHoldInput
1208
+ ) => any;
1209
+ export declare const CreateLegalHoldOutputFilterSensitiveLog: (
1210
+ obj: CreateLegalHoldOutput
1211
+ ) => any;
1082
1212
  export declare const ReportDeliveryChannelFilterSensitiveLog: (
1083
1213
  obj: ReportDeliveryChannel
1084
1214
  ) => any;
@@ -1195,6 +1325,9 @@ export declare const DescribeRestoreJobOutputFilterSensitiveLog: (
1195
1325
  export declare const DisassociateRecoveryPointInputFilterSensitiveLog: (
1196
1326
  obj: DisassociateRecoveryPointInput
1197
1327
  ) => any;
1328
+ export declare const DisassociateRecoveryPointFromParentInputFilterSensitiveLog: (
1329
+ obj: DisassociateRecoveryPointFromParentInput
1330
+ ) => any;
1198
1331
  export declare const ExportBackupPlanTemplateInputFilterSensitiveLog: (
1199
1332
  obj: ExportBackupPlanTemplateInput
1200
1333
  ) => any;
@@ -1237,6 +1370,12 @@ export declare const GetBackupVaultNotificationsInputFilterSensitiveLog: (
1237
1370
  export declare const GetBackupVaultNotificationsOutputFilterSensitiveLog: (
1238
1371
  obj: GetBackupVaultNotificationsOutput
1239
1372
  ) => any;
1373
+ export declare const GetLegalHoldInputFilterSensitiveLog: (
1374
+ obj: GetLegalHoldInput
1375
+ ) => any;
1376
+ export declare const GetLegalHoldOutputFilterSensitiveLog: (
1377
+ obj: GetLegalHoldOutput
1378
+ ) => any;
1240
1379
  export declare const GetRecoveryPointRestoreMetadataInputFilterSensitiveLog: (
1241
1380
  obj: GetRecoveryPointRestoreMetadataInput
1242
1381
  ) => any;
@@ -1295,6 +1434,13 @@ export declare const FrameworkFilterSensitiveLog: (obj: Framework) => any;
1295
1434
  export declare const ListFrameworksOutputFilterSensitiveLog: (
1296
1435
  obj: ListFrameworksOutput
1297
1436
  ) => any;
1437
+ export declare const ListLegalHoldsInputFilterSensitiveLog: (
1438
+ obj: ListLegalHoldsInput
1439
+ ) => any;
1440
+ export declare const LegalHoldFilterSensitiveLog: (obj: LegalHold) => any;
1441
+ export declare const ListLegalHoldsOutputFilterSensitiveLog: (
1442
+ obj: ListLegalHoldsOutput
1443
+ ) => any;
1298
1444
  export declare const ListProtectedResourcesInputFilterSensitiveLog: (
1299
1445
  obj: ListProtectedResourcesInput
1300
1446
  ) => any;
@@ -1313,6 +1459,15 @@ export declare const RecoveryPointByBackupVaultFilterSensitiveLog: (
1313
1459
  export declare const ListRecoveryPointsByBackupVaultOutputFilterSensitiveLog: (
1314
1460
  obj: ListRecoveryPointsByBackupVaultOutput
1315
1461
  ) => any;
1462
+ export declare const ListRecoveryPointsByLegalHoldInputFilterSensitiveLog: (
1463
+ obj: ListRecoveryPointsByLegalHoldInput
1464
+ ) => any;
1465
+ export declare const RecoveryPointMemberFilterSensitiveLog: (
1466
+ obj: RecoveryPointMember
1467
+ ) => any;
1468
+ export declare const ListRecoveryPointsByLegalHoldOutputFilterSensitiveLog: (
1469
+ obj: ListRecoveryPointsByLegalHoldOutput
1470
+ ) => any;
1316
1471
  export declare const ListRecoveryPointsByResourceInputFilterSensitiveLog: (
1317
1472
  obj: ListRecoveryPointsByResourceInput
1318
1473
  ) => any;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import {
3
+ ListLegalHoldsCommandInput,
4
+ ListLegalHoldsCommandOutput,
5
+ } from "../commands/ListLegalHoldsCommand";
6
+ import { BackupPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListLegalHolds(
8
+ config: BackupPaginationConfiguration,
9
+ input: ListLegalHoldsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListLegalHoldsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import {
3
+ ListRecoveryPointsByLegalHoldCommandInput,
4
+ ListRecoveryPointsByLegalHoldCommandOutput,
5
+ } from "../commands/ListRecoveryPointsByLegalHoldCommand";
6
+ import { BackupPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListRecoveryPointsByLegalHold(
8
+ config: BackupPaginationConfiguration,
9
+ input: ListRecoveryPointsByLegalHoldCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListRecoveryPointsByLegalHoldCommandOutput>;
@@ -7,8 +7,10 @@ export * from "./ListBackupSelectionsPaginator";
7
7
  export * from "./ListBackupVaultsPaginator";
8
8
  export * from "./ListCopyJobsPaginator";
9
9
  export * from "./ListFrameworksPaginator";
10
+ export * from "./ListLegalHoldsPaginator";
10
11
  export * from "./ListProtectedResourcesPaginator";
11
12
  export * from "./ListRecoveryPointsByBackupVaultPaginator";
13
+ export * from "./ListRecoveryPointsByLegalHoldPaginator";
12
14
  export * from "./ListRecoveryPointsByResourcePaginator";
13
15
  export * from "./ListReportJobsPaginator";
14
16
  export * from "./ListReportPlansPaginator";