@aws-sdk/client-backup 3.216.0 → 3.222.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 +29 -28
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListLegalHoldsCommandInput, ListLegalHoldsCommandOutput } from "../commands/ListLegalHoldsCommand";
3
+ import { BackupPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListLegalHolds(config: BackupPaginationConfiguration, input: ListLegalHoldsCommandInput, ...additionalArguments: any): Paginator<ListLegalHoldsCommandOutput>;
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListRecoveryPointsByLegalHoldCommandInput, ListRecoveryPointsByLegalHoldCommandOutput } from "../commands/ListRecoveryPointsByLegalHoldCommand";
3
+ import { BackupPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListRecoveryPointsByLegalHold(config: BackupPaginationConfiguration, input: ListRecoveryPointsByLegalHoldCommandInput, ...additionalArguments: any): 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";
@@ -1,9 +1,11 @@
1
1
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
2
  import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
3
+ import { CancelLegalHoldCommandInput, CancelLegalHoldCommandOutput } from "../commands/CancelLegalHoldCommand";
3
4
  import { CreateBackupPlanCommandInput, CreateBackupPlanCommandOutput } from "../commands/CreateBackupPlanCommand";
4
5
  import { CreateBackupSelectionCommandInput, CreateBackupSelectionCommandOutput } from "../commands/CreateBackupSelectionCommand";
5
6
  import { CreateBackupVaultCommandInput, CreateBackupVaultCommandOutput } from "../commands/CreateBackupVaultCommand";
6
7
  import { CreateFrameworkCommandInput, CreateFrameworkCommandOutput } from "../commands/CreateFrameworkCommand";
8
+ import { CreateLegalHoldCommandInput, CreateLegalHoldCommandOutput } from "../commands/CreateLegalHoldCommand";
7
9
  import { CreateReportPlanCommandInput, CreateReportPlanCommandOutput } from "../commands/CreateReportPlanCommand";
8
10
  import { DeleteBackupPlanCommandInput, DeleteBackupPlanCommandOutput } from "../commands/DeleteBackupPlanCommand";
9
11
  import { DeleteBackupSelectionCommandInput, DeleteBackupSelectionCommandOutput } from "../commands/DeleteBackupSelectionCommand";
@@ -26,6 +28,7 @@ import { DescribeReportJobCommandInput, DescribeReportJobCommandOutput } from ".
26
28
  import { DescribeReportPlanCommandInput, DescribeReportPlanCommandOutput } from "../commands/DescribeReportPlanCommand";
27
29
  import { DescribeRestoreJobCommandInput, DescribeRestoreJobCommandOutput } from "../commands/DescribeRestoreJobCommand";
28
30
  import { DisassociateRecoveryPointCommandInput, DisassociateRecoveryPointCommandOutput } from "../commands/DisassociateRecoveryPointCommand";
31
+ import { DisassociateRecoveryPointFromParentCommandInput, DisassociateRecoveryPointFromParentCommandOutput } from "../commands/DisassociateRecoveryPointFromParentCommand";
29
32
  import { ExportBackupPlanTemplateCommandInput, ExportBackupPlanTemplateCommandOutput } from "../commands/ExportBackupPlanTemplateCommand";
30
33
  import { GetBackupPlanCommandInput, GetBackupPlanCommandOutput } from "../commands/GetBackupPlanCommand";
31
34
  import { GetBackupPlanFromJSONCommandInput, GetBackupPlanFromJSONCommandOutput } from "../commands/GetBackupPlanFromJSONCommand";
@@ -33,6 +36,7 @@ import { GetBackupPlanFromTemplateCommandInput, GetBackupPlanFromTemplateCommand
33
36
  import { GetBackupSelectionCommandInput, GetBackupSelectionCommandOutput } from "../commands/GetBackupSelectionCommand";
34
37
  import { GetBackupVaultAccessPolicyCommandInput, GetBackupVaultAccessPolicyCommandOutput } from "../commands/GetBackupVaultAccessPolicyCommand";
35
38
  import { GetBackupVaultNotificationsCommandInput, GetBackupVaultNotificationsCommandOutput } from "../commands/GetBackupVaultNotificationsCommand";
39
+ import { GetLegalHoldCommandInput, GetLegalHoldCommandOutput } from "../commands/GetLegalHoldCommand";
36
40
  import { GetRecoveryPointRestoreMetadataCommandInput, GetRecoveryPointRestoreMetadataCommandOutput } from "../commands/GetRecoveryPointRestoreMetadataCommand";
37
41
  import { GetSupportedResourceTypesCommandInput, GetSupportedResourceTypesCommandOutput } from "../commands/GetSupportedResourceTypesCommand";
38
42
  import { ListBackupJobsCommandInput, ListBackupJobsCommandOutput } from "../commands/ListBackupJobsCommand";
@@ -43,8 +47,10 @@ import { ListBackupSelectionsCommandInput, ListBackupSelectionsCommandOutput } f
43
47
  import { ListBackupVaultsCommandInput, ListBackupVaultsCommandOutput } from "../commands/ListBackupVaultsCommand";
44
48
  import { ListCopyJobsCommandInput, ListCopyJobsCommandOutput } from "../commands/ListCopyJobsCommand";
45
49
  import { ListFrameworksCommandInput, ListFrameworksCommandOutput } from "../commands/ListFrameworksCommand";
50
+ import { ListLegalHoldsCommandInput, ListLegalHoldsCommandOutput } from "../commands/ListLegalHoldsCommand";
46
51
  import { ListProtectedResourcesCommandInput, ListProtectedResourcesCommandOutput } from "../commands/ListProtectedResourcesCommand";
47
52
  import { ListRecoveryPointsByBackupVaultCommandInput, ListRecoveryPointsByBackupVaultCommandOutput } from "../commands/ListRecoveryPointsByBackupVaultCommand";
53
+ import { ListRecoveryPointsByLegalHoldCommandInput, ListRecoveryPointsByLegalHoldCommandOutput } from "../commands/ListRecoveryPointsByLegalHoldCommand";
48
54
  import { ListRecoveryPointsByResourceCommandInput, ListRecoveryPointsByResourceCommandOutput } from "../commands/ListRecoveryPointsByResourceCommand";
49
55
  import { ListReportJobsCommandInput, ListReportJobsCommandOutput } from "../commands/ListReportJobsCommand";
50
56
  import { ListReportPlansCommandInput, ListReportPlansCommandOutput } from "../commands/ListReportPlansCommand";
@@ -66,10 +72,12 @@ import { UpdateGlobalSettingsCommandInput, UpdateGlobalSettingsCommandOutput } f
66
72
  import { UpdateRecoveryPointLifecycleCommandInput, UpdateRecoveryPointLifecycleCommandOutput } from "../commands/UpdateRecoveryPointLifecycleCommand";
67
73
  import { UpdateRegionSettingsCommandInput, UpdateRegionSettingsCommandOutput } from "../commands/UpdateRegionSettingsCommand";
68
74
  import { UpdateReportPlanCommandInput, UpdateReportPlanCommandOutput } from "../commands/UpdateReportPlanCommand";
75
+ export declare const serializeAws_restJson1CancelLegalHoldCommand: (input: CancelLegalHoldCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
69
76
  export declare const serializeAws_restJson1CreateBackupPlanCommand: (input: CreateBackupPlanCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
70
77
  export declare const serializeAws_restJson1CreateBackupSelectionCommand: (input: CreateBackupSelectionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
71
78
  export declare const serializeAws_restJson1CreateBackupVaultCommand: (input: CreateBackupVaultCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
72
79
  export declare const serializeAws_restJson1CreateFrameworkCommand: (input: CreateFrameworkCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
80
+ export declare const serializeAws_restJson1CreateLegalHoldCommand: (input: CreateLegalHoldCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
73
81
  export declare const serializeAws_restJson1CreateReportPlanCommand: (input: CreateReportPlanCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
74
82
  export declare const serializeAws_restJson1DeleteBackupPlanCommand: (input: DeleteBackupPlanCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
75
83
  export declare const serializeAws_restJson1DeleteBackupSelectionCommand: (input: DeleteBackupSelectionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -92,6 +100,7 @@ export declare const serializeAws_restJson1DescribeReportJobCommand: (input: Des
92
100
  export declare const serializeAws_restJson1DescribeReportPlanCommand: (input: DescribeReportPlanCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
93
101
  export declare const serializeAws_restJson1DescribeRestoreJobCommand: (input: DescribeRestoreJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
94
102
  export declare const serializeAws_restJson1DisassociateRecoveryPointCommand: (input: DisassociateRecoveryPointCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
103
+ export declare const serializeAws_restJson1DisassociateRecoveryPointFromParentCommand: (input: DisassociateRecoveryPointFromParentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
95
104
  export declare const serializeAws_restJson1ExportBackupPlanTemplateCommand: (input: ExportBackupPlanTemplateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
96
105
  export declare const serializeAws_restJson1GetBackupPlanCommand: (input: GetBackupPlanCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
97
106
  export declare const serializeAws_restJson1GetBackupPlanFromJSONCommand: (input: GetBackupPlanFromJSONCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -99,6 +108,7 @@ export declare const serializeAws_restJson1GetBackupPlanFromTemplateCommand: (in
99
108
  export declare const serializeAws_restJson1GetBackupSelectionCommand: (input: GetBackupSelectionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
100
109
  export declare const serializeAws_restJson1GetBackupVaultAccessPolicyCommand: (input: GetBackupVaultAccessPolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
101
110
  export declare const serializeAws_restJson1GetBackupVaultNotificationsCommand: (input: GetBackupVaultNotificationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
111
+ export declare const serializeAws_restJson1GetLegalHoldCommand: (input: GetLegalHoldCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
102
112
  export declare const serializeAws_restJson1GetRecoveryPointRestoreMetadataCommand: (input: GetRecoveryPointRestoreMetadataCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
103
113
  export declare const serializeAws_restJson1GetSupportedResourceTypesCommand: (input: GetSupportedResourceTypesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
104
114
  export declare const serializeAws_restJson1ListBackupJobsCommand: (input: ListBackupJobsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -109,8 +119,10 @@ export declare const serializeAws_restJson1ListBackupSelectionsCommand: (input:
109
119
  export declare const serializeAws_restJson1ListBackupVaultsCommand: (input: ListBackupVaultsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
110
120
  export declare const serializeAws_restJson1ListCopyJobsCommand: (input: ListCopyJobsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
111
121
  export declare const serializeAws_restJson1ListFrameworksCommand: (input: ListFrameworksCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
122
+ export declare const serializeAws_restJson1ListLegalHoldsCommand: (input: ListLegalHoldsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
112
123
  export declare const serializeAws_restJson1ListProtectedResourcesCommand: (input: ListProtectedResourcesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
113
124
  export declare const serializeAws_restJson1ListRecoveryPointsByBackupVaultCommand: (input: ListRecoveryPointsByBackupVaultCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
125
+ export declare const serializeAws_restJson1ListRecoveryPointsByLegalHoldCommand: (input: ListRecoveryPointsByLegalHoldCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
114
126
  export declare const serializeAws_restJson1ListRecoveryPointsByResourceCommand: (input: ListRecoveryPointsByResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
115
127
  export declare const serializeAws_restJson1ListReportJobsCommand: (input: ListReportJobsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
116
128
  export declare const serializeAws_restJson1ListReportPlansCommand: (input: ListReportPlansCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -132,10 +144,12 @@ export declare const serializeAws_restJson1UpdateGlobalSettingsCommand: (input:
132
144
  export declare const serializeAws_restJson1UpdateRecoveryPointLifecycleCommand: (input: UpdateRecoveryPointLifecycleCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
133
145
  export declare const serializeAws_restJson1UpdateRegionSettingsCommand: (input: UpdateRegionSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
134
146
  export declare const serializeAws_restJson1UpdateReportPlanCommand: (input: UpdateReportPlanCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
147
+ export declare const deserializeAws_restJson1CancelLegalHoldCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CancelLegalHoldCommandOutput>;
135
148
  export declare const deserializeAws_restJson1CreateBackupPlanCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateBackupPlanCommandOutput>;
136
149
  export declare const deserializeAws_restJson1CreateBackupSelectionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateBackupSelectionCommandOutput>;
137
150
  export declare const deserializeAws_restJson1CreateBackupVaultCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateBackupVaultCommandOutput>;
138
151
  export declare const deserializeAws_restJson1CreateFrameworkCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateFrameworkCommandOutput>;
152
+ export declare const deserializeAws_restJson1CreateLegalHoldCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateLegalHoldCommandOutput>;
139
153
  export declare const deserializeAws_restJson1CreateReportPlanCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateReportPlanCommandOutput>;
140
154
  export declare const deserializeAws_restJson1DeleteBackupPlanCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteBackupPlanCommandOutput>;
141
155
  export declare const deserializeAws_restJson1DeleteBackupSelectionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteBackupSelectionCommandOutput>;
@@ -158,6 +172,7 @@ export declare const deserializeAws_restJson1DescribeReportJobCommand: (output:
158
172
  export declare const deserializeAws_restJson1DescribeReportPlanCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeReportPlanCommandOutput>;
159
173
  export declare const deserializeAws_restJson1DescribeRestoreJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeRestoreJobCommandOutput>;
160
174
  export declare const deserializeAws_restJson1DisassociateRecoveryPointCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisassociateRecoveryPointCommandOutput>;
175
+ export declare const deserializeAws_restJson1DisassociateRecoveryPointFromParentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisassociateRecoveryPointFromParentCommandOutput>;
161
176
  export declare const deserializeAws_restJson1ExportBackupPlanTemplateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ExportBackupPlanTemplateCommandOutput>;
162
177
  export declare const deserializeAws_restJson1GetBackupPlanCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetBackupPlanCommandOutput>;
163
178
  export declare const deserializeAws_restJson1GetBackupPlanFromJSONCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetBackupPlanFromJSONCommandOutput>;
@@ -165,6 +180,7 @@ export declare const deserializeAws_restJson1GetBackupPlanFromTemplateCommand: (
165
180
  export declare const deserializeAws_restJson1GetBackupSelectionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetBackupSelectionCommandOutput>;
166
181
  export declare const deserializeAws_restJson1GetBackupVaultAccessPolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetBackupVaultAccessPolicyCommandOutput>;
167
182
  export declare const deserializeAws_restJson1GetBackupVaultNotificationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetBackupVaultNotificationsCommandOutput>;
183
+ export declare const deserializeAws_restJson1GetLegalHoldCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetLegalHoldCommandOutput>;
168
184
  export declare const deserializeAws_restJson1GetRecoveryPointRestoreMetadataCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetRecoveryPointRestoreMetadataCommandOutput>;
169
185
  export declare const deserializeAws_restJson1GetSupportedResourceTypesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetSupportedResourceTypesCommandOutput>;
170
186
  export declare const deserializeAws_restJson1ListBackupJobsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListBackupJobsCommandOutput>;
@@ -175,8 +191,10 @@ export declare const deserializeAws_restJson1ListBackupSelectionsCommand: (outpu
175
191
  export declare const deserializeAws_restJson1ListBackupVaultsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListBackupVaultsCommandOutput>;
176
192
  export declare const deserializeAws_restJson1ListCopyJobsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListCopyJobsCommandOutput>;
177
193
  export declare const deserializeAws_restJson1ListFrameworksCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListFrameworksCommandOutput>;
194
+ export declare const deserializeAws_restJson1ListLegalHoldsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListLegalHoldsCommandOutput>;
178
195
  export declare const deserializeAws_restJson1ListProtectedResourcesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListProtectedResourcesCommandOutput>;
179
196
  export declare const deserializeAws_restJson1ListRecoveryPointsByBackupVaultCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListRecoveryPointsByBackupVaultCommandOutput>;
197
+ export declare const deserializeAws_restJson1ListRecoveryPointsByLegalHoldCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListRecoveryPointsByLegalHoldCommandOutput>;
180
198
  export declare const deserializeAws_restJson1ListRecoveryPointsByResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListRecoveryPointsByResourceCommandOutput>;
181
199
  export declare const deserializeAws_restJson1ListReportJobsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListReportJobsCommandOutput>;
182
200
  export declare const deserializeAws_restJson1ListReportPlansCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListReportPlansCommandOutput>;
@@ -1,5 +1,9 @@
1
1
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
2
  import { BackupClient } from "./BackupClient";
3
+ import {
4
+ CancelLegalHoldCommandInput,
5
+ CancelLegalHoldCommandOutput,
6
+ } from "./commands/CancelLegalHoldCommand";
3
7
  import {
4
8
  CreateBackupPlanCommandInput,
5
9
  CreateBackupPlanCommandOutput,
@@ -16,6 +20,10 @@ import {
16
20
  CreateFrameworkCommandInput,
17
21
  CreateFrameworkCommandOutput,
18
22
  } from "./commands/CreateFrameworkCommand";
23
+ import {
24
+ CreateLegalHoldCommandInput,
25
+ CreateLegalHoldCommandOutput,
26
+ } from "./commands/CreateLegalHoldCommand";
19
27
  import {
20
28
  CreateReportPlanCommandInput,
21
29
  CreateReportPlanCommandOutput,
@@ -104,6 +112,10 @@ import {
104
112
  DisassociateRecoveryPointCommandInput,
105
113
  DisassociateRecoveryPointCommandOutput,
106
114
  } from "./commands/DisassociateRecoveryPointCommand";
115
+ import {
116
+ DisassociateRecoveryPointFromParentCommandInput,
117
+ DisassociateRecoveryPointFromParentCommandOutput,
118
+ } from "./commands/DisassociateRecoveryPointFromParentCommand";
107
119
  import {
108
120
  ExportBackupPlanTemplateCommandInput,
109
121
  ExportBackupPlanTemplateCommandOutput,
@@ -132,6 +144,10 @@ import {
132
144
  GetBackupVaultNotificationsCommandInput,
133
145
  GetBackupVaultNotificationsCommandOutput,
134
146
  } from "./commands/GetBackupVaultNotificationsCommand";
147
+ import {
148
+ GetLegalHoldCommandInput,
149
+ GetLegalHoldCommandOutput,
150
+ } from "./commands/GetLegalHoldCommand";
135
151
  import {
136
152
  GetRecoveryPointRestoreMetadataCommandInput,
137
153
  GetRecoveryPointRestoreMetadataCommandOutput,
@@ -172,6 +188,10 @@ import {
172
188
  ListFrameworksCommandInput,
173
189
  ListFrameworksCommandOutput,
174
190
  } from "./commands/ListFrameworksCommand";
191
+ import {
192
+ ListLegalHoldsCommandInput,
193
+ ListLegalHoldsCommandOutput,
194
+ } from "./commands/ListLegalHoldsCommand";
175
195
  import {
176
196
  ListProtectedResourcesCommandInput,
177
197
  ListProtectedResourcesCommandOutput,
@@ -180,6 +200,10 @@ import {
180
200
  ListRecoveryPointsByBackupVaultCommandInput,
181
201
  ListRecoveryPointsByBackupVaultCommandOutput,
182
202
  } from "./commands/ListRecoveryPointsByBackupVaultCommand";
203
+ import {
204
+ ListRecoveryPointsByLegalHoldCommandInput,
205
+ ListRecoveryPointsByLegalHoldCommandOutput,
206
+ } from "./commands/ListRecoveryPointsByLegalHoldCommand";
183
207
  import {
184
208
  ListRecoveryPointsByResourceCommandInput,
185
209
  ListRecoveryPointsByResourceCommandOutput,
@@ -265,6 +289,19 @@ import {
265
289
  UpdateReportPlanCommandOutput,
266
290
  } from "./commands/UpdateReportPlanCommand";
267
291
  export declare class Backup extends BackupClient {
292
+ cancelLegalHold(
293
+ args: CancelLegalHoldCommandInput,
294
+ options?: __HttpHandlerOptions
295
+ ): Promise<CancelLegalHoldCommandOutput>;
296
+ cancelLegalHold(
297
+ args: CancelLegalHoldCommandInput,
298
+ cb: (err: any, data?: CancelLegalHoldCommandOutput) => void
299
+ ): void;
300
+ cancelLegalHold(
301
+ args: CancelLegalHoldCommandInput,
302
+ options: __HttpHandlerOptions,
303
+ cb: (err: any, data?: CancelLegalHoldCommandOutput) => void
304
+ ): void;
268
305
  createBackupPlan(
269
306
  args: CreateBackupPlanCommandInput,
270
307
  options?: __HttpHandlerOptions
@@ -317,6 +354,19 @@ export declare class Backup extends BackupClient {
317
354
  options: __HttpHandlerOptions,
318
355
  cb: (err: any, data?: CreateFrameworkCommandOutput) => void
319
356
  ): void;
357
+ createLegalHold(
358
+ args: CreateLegalHoldCommandInput,
359
+ options?: __HttpHandlerOptions
360
+ ): Promise<CreateLegalHoldCommandOutput>;
361
+ createLegalHold(
362
+ args: CreateLegalHoldCommandInput,
363
+ cb: (err: any, data?: CreateLegalHoldCommandOutput) => void
364
+ ): void;
365
+ createLegalHold(
366
+ args: CreateLegalHoldCommandInput,
367
+ options: __HttpHandlerOptions,
368
+ cb: (err: any, data?: CreateLegalHoldCommandOutput) => void
369
+ ): void;
320
370
  createReportPlan(
321
371
  args: CreateReportPlanCommandInput,
322
372
  options?: __HttpHandlerOptions
@@ -609,6 +659,25 @@ export declare class Backup extends BackupClient {
609
659
  options: __HttpHandlerOptions,
610
660
  cb: (err: any, data?: DisassociateRecoveryPointCommandOutput) => void
611
661
  ): void;
662
+ disassociateRecoveryPointFromParent(
663
+ args: DisassociateRecoveryPointFromParentCommandInput,
664
+ options?: __HttpHandlerOptions
665
+ ): Promise<DisassociateRecoveryPointFromParentCommandOutput>;
666
+ disassociateRecoveryPointFromParent(
667
+ args: DisassociateRecoveryPointFromParentCommandInput,
668
+ cb: (
669
+ err: any,
670
+ data?: DisassociateRecoveryPointFromParentCommandOutput
671
+ ) => void
672
+ ): void;
673
+ disassociateRecoveryPointFromParent(
674
+ args: DisassociateRecoveryPointFromParentCommandInput,
675
+ options: __HttpHandlerOptions,
676
+ cb: (
677
+ err: any,
678
+ data?: DisassociateRecoveryPointFromParentCommandOutput
679
+ ) => void
680
+ ): void;
612
681
  exportBackupPlanTemplate(
613
682
  args: ExportBackupPlanTemplateCommandInput,
614
683
  options?: __HttpHandlerOptions
@@ -700,6 +769,19 @@ export declare class Backup extends BackupClient {
700
769
  options: __HttpHandlerOptions,
701
770
  cb: (err: any, data?: GetBackupVaultNotificationsCommandOutput) => void
702
771
  ): void;
772
+ getLegalHold(
773
+ args: GetLegalHoldCommandInput,
774
+ options?: __HttpHandlerOptions
775
+ ): Promise<GetLegalHoldCommandOutput>;
776
+ getLegalHold(
777
+ args: GetLegalHoldCommandInput,
778
+ cb: (err: any, data?: GetLegalHoldCommandOutput) => void
779
+ ): void;
780
+ getLegalHold(
781
+ args: GetLegalHoldCommandInput,
782
+ options: __HttpHandlerOptions,
783
+ cb: (err: any, data?: GetLegalHoldCommandOutput) => void
784
+ ): void;
703
785
  getRecoveryPointRestoreMetadata(
704
786
  args: GetRecoveryPointRestoreMetadataCommandInput,
705
787
  options?: __HttpHandlerOptions
@@ -830,6 +912,19 @@ export declare class Backup extends BackupClient {
830
912
  options: __HttpHandlerOptions,
831
913
  cb: (err: any, data?: ListFrameworksCommandOutput) => void
832
914
  ): void;
915
+ listLegalHolds(
916
+ args: ListLegalHoldsCommandInput,
917
+ options?: __HttpHandlerOptions
918
+ ): Promise<ListLegalHoldsCommandOutput>;
919
+ listLegalHolds(
920
+ args: ListLegalHoldsCommandInput,
921
+ cb: (err: any, data?: ListLegalHoldsCommandOutput) => void
922
+ ): void;
923
+ listLegalHolds(
924
+ args: ListLegalHoldsCommandInput,
925
+ options: __HttpHandlerOptions,
926
+ cb: (err: any, data?: ListLegalHoldsCommandOutput) => void
927
+ ): void;
833
928
  listProtectedResources(
834
929
  args: ListProtectedResourcesCommandInput,
835
930
  options?: __HttpHandlerOptions
@@ -856,6 +951,19 @@ export declare class Backup extends BackupClient {
856
951
  options: __HttpHandlerOptions,
857
952
  cb: (err: any, data?: ListRecoveryPointsByBackupVaultCommandOutput) => void
858
953
  ): void;
954
+ listRecoveryPointsByLegalHold(
955
+ args: ListRecoveryPointsByLegalHoldCommandInput,
956
+ options?: __HttpHandlerOptions
957
+ ): Promise<ListRecoveryPointsByLegalHoldCommandOutput>;
958
+ listRecoveryPointsByLegalHold(
959
+ args: ListRecoveryPointsByLegalHoldCommandInput,
960
+ cb: (err: any, data?: ListRecoveryPointsByLegalHoldCommandOutput) => void
961
+ ): void;
962
+ listRecoveryPointsByLegalHold(
963
+ args: ListRecoveryPointsByLegalHoldCommandInput,
964
+ options: __HttpHandlerOptions,
965
+ cb: (err: any, data?: ListRecoveryPointsByLegalHoldCommandOutput) => void
966
+ ): void;
859
967
  listRecoveryPointsByResource(
860
968
  args: ListRecoveryPointsByResourceCommandInput,
861
969
  options?: __HttpHandlerOptions
@@ -43,6 +43,10 @@ import {
43
43
  UrlParser as __UrlParser,
44
44
  UserAgent as __UserAgent,
45
45
  } from "@aws-sdk/types";
46
+ import {
47
+ CancelLegalHoldCommandInput,
48
+ CancelLegalHoldCommandOutput,
49
+ } from "./commands/CancelLegalHoldCommand";
46
50
  import {
47
51
  CreateBackupPlanCommandInput,
48
52
  CreateBackupPlanCommandOutput,
@@ -59,6 +63,10 @@ import {
59
63
  CreateFrameworkCommandInput,
60
64
  CreateFrameworkCommandOutput,
61
65
  } from "./commands/CreateFrameworkCommand";
66
+ import {
67
+ CreateLegalHoldCommandInput,
68
+ CreateLegalHoldCommandOutput,
69
+ } from "./commands/CreateLegalHoldCommand";
62
70
  import {
63
71
  CreateReportPlanCommandInput,
64
72
  CreateReportPlanCommandOutput,
@@ -147,6 +155,10 @@ import {
147
155
  DisassociateRecoveryPointCommandInput,
148
156
  DisassociateRecoveryPointCommandOutput,
149
157
  } from "./commands/DisassociateRecoveryPointCommand";
158
+ import {
159
+ DisassociateRecoveryPointFromParentCommandInput,
160
+ DisassociateRecoveryPointFromParentCommandOutput,
161
+ } from "./commands/DisassociateRecoveryPointFromParentCommand";
150
162
  import {
151
163
  ExportBackupPlanTemplateCommandInput,
152
164
  ExportBackupPlanTemplateCommandOutput,
@@ -175,6 +187,10 @@ import {
175
187
  GetBackupVaultNotificationsCommandInput,
176
188
  GetBackupVaultNotificationsCommandOutput,
177
189
  } from "./commands/GetBackupVaultNotificationsCommand";
190
+ import {
191
+ GetLegalHoldCommandInput,
192
+ GetLegalHoldCommandOutput,
193
+ } from "./commands/GetLegalHoldCommand";
178
194
  import {
179
195
  GetRecoveryPointRestoreMetadataCommandInput,
180
196
  GetRecoveryPointRestoreMetadataCommandOutput,
@@ -215,6 +231,10 @@ import {
215
231
  ListFrameworksCommandInput,
216
232
  ListFrameworksCommandOutput,
217
233
  } from "./commands/ListFrameworksCommand";
234
+ import {
235
+ ListLegalHoldsCommandInput,
236
+ ListLegalHoldsCommandOutput,
237
+ } from "./commands/ListLegalHoldsCommand";
218
238
  import {
219
239
  ListProtectedResourcesCommandInput,
220
240
  ListProtectedResourcesCommandOutput,
@@ -223,6 +243,10 @@ import {
223
243
  ListRecoveryPointsByBackupVaultCommandInput,
224
244
  ListRecoveryPointsByBackupVaultCommandOutput,
225
245
  } from "./commands/ListRecoveryPointsByBackupVaultCommand";
246
+ import {
247
+ ListRecoveryPointsByLegalHoldCommandInput,
248
+ ListRecoveryPointsByLegalHoldCommandOutput,
249
+ } from "./commands/ListRecoveryPointsByLegalHoldCommand";
226
250
  import {
227
251
  ListRecoveryPointsByResourceCommandInput,
228
252
  ListRecoveryPointsByResourceCommandOutput,
@@ -313,10 +337,12 @@ import {
313
337
  EndpointParameters,
314
338
  } from "./endpoint/EndpointParameters";
315
339
  export declare type ServiceInputTypes =
340
+ | CancelLegalHoldCommandInput
316
341
  | CreateBackupPlanCommandInput
317
342
  | CreateBackupSelectionCommandInput
318
343
  | CreateBackupVaultCommandInput
319
344
  | CreateFrameworkCommandInput
345
+ | CreateLegalHoldCommandInput
320
346
  | CreateReportPlanCommandInput
321
347
  | DeleteBackupPlanCommandInput
322
348
  | DeleteBackupSelectionCommandInput
@@ -339,6 +365,7 @@ export declare type ServiceInputTypes =
339
365
  | DescribeReportPlanCommandInput
340
366
  | DescribeRestoreJobCommandInput
341
367
  | DisassociateRecoveryPointCommandInput
368
+ | DisassociateRecoveryPointFromParentCommandInput
342
369
  | ExportBackupPlanTemplateCommandInput
343
370
  | GetBackupPlanCommandInput
344
371
  | GetBackupPlanFromJSONCommandInput
@@ -346,6 +373,7 @@ export declare type ServiceInputTypes =
346
373
  | GetBackupSelectionCommandInput
347
374
  | GetBackupVaultAccessPolicyCommandInput
348
375
  | GetBackupVaultNotificationsCommandInput
376
+ | GetLegalHoldCommandInput
349
377
  | GetRecoveryPointRestoreMetadataCommandInput
350
378
  | GetSupportedResourceTypesCommandInput
351
379
  | ListBackupJobsCommandInput
@@ -356,8 +384,10 @@ export declare type ServiceInputTypes =
356
384
  | ListBackupVaultsCommandInput
357
385
  | ListCopyJobsCommandInput
358
386
  | ListFrameworksCommandInput
387
+ | ListLegalHoldsCommandInput
359
388
  | ListProtectedResourcesCommandInput
360
389
  | ListRecoveryPointsByBackupVaultCommandInput
390
+ | ListRecoveryPointsByLegalHoldCommandInput
361
391
  | ListRecoveryPointsByResourceCommandInput
362
392
  | ListReportJobsCommandInput
363
393
  | ListReportPlansCommandInput
@@ -380,10 +410,12 @@ export declare type ServiceInputTypes =
380
410
  | UpdateRegionSettingsCommandInput
381
411
  | UpdateReportPlanCommandInput;
382
412
  export declare type ServiceOutputTypes =
413
+ | CancelLegalHoldCommandOutput
383
414
  | CreateBackupPlanCommandOutput
384
415
  | CreateBackupSelectionCommandOutput
385
416
  | CreateBackupVaultCommandOutput
386
417
  | CreateFrameworkCommandOutput
418
+ | CreateLegalHoldCommandOutput
387
419
  | CreateReportPlanCommandOutput
388
420
  | DeleteBackupPlanCommandOutput
389
421
  | DeleteBackupSelectionCommandOutput
@@ -406,6 +438,7 @@ export declare type ServiceOutputTypes =
406
438
  | DescribeReportPlanCommandOutput
407
439
  | DescribeRestoreJobCommandOutput
408
440
  | DisassociateRecoveryPointCommandOutput
441
+ | DisassociateRecoveryPointFromParentCommandOutput
409
442
  | ExportBackupPlanTemplateCommandOutput
410
443
  | GetBackupPlanCommandOutput
411
444
  | GetBackupPlanFromJSONCommandOutput
@@ -413,6 +446,7 @@ export declare type ServiceOutputTypes =
413
446
  | GetBackupSelectionCommandOutput
414
447
  | GetBackupVaultAccessPolicyCommandOutput
415
448
  | GetBackupVaultNotificationsCommandOutput
449
+ | GetLegalHoldCommandOutput
416
450
  | GetRecoveryPointRestoreMetadataCommandOutput
417
451
  | GetSupportedResourceTypesCommandOutput
418
452
  | ListBackupJobsCommandOutput
@@ -423,8 +457,10 @@ export declare type ServiceOutputTypes =
423
457
  | ListBackupVaultsCommandOutput
424
458
  | ListCopyJobsCommandOutput
425
459
  | ListFrameworksCommandOutput
460
+ | ListLegalHoldsCommandOutput
426
461
  | ListProtectedResourcesCommandOutput
427
462
  | ListRecoveryPointsByBackupVaultCommandOutput
463
+ | ListRecoveryPointsByLegalHoldCommandOutput
428
464
  | ListRecoveryPointsByResourceCommandOutput
429
465
  | ListReportJobsCommandOutput
430
466
  | ListReportPlansCommandOutput
@@ -0,0 +1,37 @@
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
+ CancelLegalHoldInput,
16
+ CancelLegalHoldOutput,
17
+ } from "../models/models_0";
18
+ export interface CancelLegalHoldCommandInput extends CancelLegalHoldInput {}
19
+ export interface CancelLegalHoldCommandOutput
20
+ extends CancelLegalHoldOutput,
21
+ __MetadataBearer {}
22
+ export declare class CancelLegalHoldCommand extends $Command<
23
+ CancelLegalHoldCommandInput,
24
+ CancelLegalHoldCommandOutput,
25
+ BackupClientResolvedConfig
26
+ > {
27
+ readonly input: CancelLegalHoldCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
29
+ constructor(input: CancelLegalHoldCommandInput);
30
+ resolveMiddleware(
31
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
32
+ configuration: BackupClientResolvedConfig,
33
+ options?: __HttpHandlerOptions
34
+ ): Handler<CancelLegalHoldCommandInput, CancelLegalHoldCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,37 @@
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
+ CreateLegalHoldInput,
16
+ CreateLegalHoldOutput,
17
+ } from "../models/models_0";
18
+ export interface CreateLegalHoldCommandInput extends CreateLegalHoldInput {}
19
+ export interface CreateLegalHoldCommandOutput
20
+ extends CreateLegalHoldOutput,
21
+ __MetadataBearer {}
22
+ export declare class CreateLegalHoldCommand extends $Command<
23
+ CreateLegalHoldCommandInput,
24
+ CreateLegalHoldCommandOutput,
25
+ BackupClientResolvedConfig
26
+ > {
27
+ readonly input: CreateLegalHoldCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
29
+ constructor(input: CreateLegalHoldCommandInput);
30
+ resolveMiddleware(
31
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
32
+ configuration: BackupClientResolvedConfig,
33
+ options?: __HttpHandlerOptions
34
+ ): Handler<CreateLegalHoldCommandInput, CreateLegalHoldCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,37 @@
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 { DisassociateRecoveryPointFromParentInput } from "../models/models_0";
15
+ export interface DisassociateRecoveryPointFromParentCommandInput
16
+ extends DisassociateRecoveryPointFromParentInput {}
17
+ export interface DisassociateRecoveryPointFromParentCommandOutput
18
+ extends __MetadataBearer {}
19
+ export declare class DisassociateRecoveryPointFromParentCommand extends $Command<
20
+ DisassociateRecoveryPointFromParentCommandInput,
21
+ DisassociateRecoveryPointFromParentCommandOutput,
22
+ BackupClientResolvedConfig
23
+ > {
24
+ readonly input: DisassociateRecoveryPointFromParentCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
26
+ constructor(input: DisassociateRecoveryPointFromParentCommandInput);
27
+ resolveMiddleware(
28
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
29
+ configuration: BackupClientResolvedConfig,
30
+ options?: __HttpHandlerOptions
31
+ ): Handler<
32
+ DisassociateRecoveryPointFromParentCommandInput,
33
+ DisassociateRecoveryPointFromParentCommandOutput
34
+ >;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,34 @@
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 { GetLegalHoldInput, GetLegalHoldOutput } from "../models/models_0";
15
+ export interface GetLegalHoldCommandInput extends GetLegalHoldInput {}
16
+ export interface GetLegalHoldCommandOutput
17
+ extends GetLegalHoldOutput,
18
+ __MetadataBearer {}
19
+ export declare class GetLegalHoldCommand extends $Command<
20
+ GetLegalHoldCommandInput,
21
+ GetLegalHoldCommandOutput,
22
+ BackupClientResolvedConfig
23
+ > {
24
+ readonly input: GetLegalHoldCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
26
+ constructor(input: GetLegalHoldCommandInput);
27
+ resolveMiddleware(
28
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
29
+ configuration: BackupClientResolvedConfig,
30
+ options?: __HttpHandlerOptions
31
+ ): Handler<GetLegalHoldCommandInput, GetLegalHoldCommandOutput>;
32
+ private serialize;
33
+ private deserialize;
34
+ }
@@ -0,0 +1,34 @@
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 { ListLegalHoldsInput, ListLegalHoldsOutput } from "../models/models_0";
15
+ export interface ListLegalHoldsCommandInput extends ListLegalHoldsInput {}
16
+ export interface ListLegalHoldsCommandOutput
17
+ extends ListLegalHoldsOutput,
18
+ __MetadataBearer {}
19
+ export declare class ListLegalHoldsCommand extends $Command<
20
+ ListLegalHoldsCommandInput,
21
+ ListLegalHoldsCommandOutput,
22
+ BackupClientResolvedConfig
23
+ > {
24
+ readonly input: ListLegalHoldsCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
26
+ constructor(input: ListLegalHoldsCommandInput);
27
+ resolveMiddleware(
28
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
29
+ configuration: BackupClientResolvedConfig,
30
+ options?: __HttpHandlerOptions
31
+ ): Handler<ListLegalHoldsCommandInput, ListLegalHoldsCommandOutput>;
32
+ private serialize;
33
+ private deserialize;
34
+ }