UNPKG

117 kBTypeScriptView Raw
1import {Request} from '../lib/request';
2import {Response} from '../lib/response';
3import {AWSError} from '../lib/error';
4import {Service} from '../lib/service';
5import {ServiceConfigurationOptions} from '../lib/service';
6import {ConfigBase as Config} from '../lib/config';
7interface Blob {}
8declare class Backup extends Service {
9 /**
10 * Constructs a service object. This object has one method for each API operation.
11 */
12 constructor(options?: Backup.Types.ClientConfiguration)
13 config: Config & Backup.Types.ClientConfiguration;
14 /**
15 * Backup plans are documents that contain information that AWS Backup uses to schedule tasks that create recovery points of resources. If you call CreateBackupPlan with a plan that already exists, an AlreadyExistsException is returned.
16 */
17 createBackupPlan(params: Backup.Types.CreateBackupPlanInput, callback?: (err: AWSError, data: Backup.Types.CreateBackupPlanOutput) => void): Request<Backup.Types.CreateBackupPlanOutput, AWSError>;
18 /**
19 * Backup plans are documents that contain information that AWS Backup uses to schedule tasks that create recovery points of resources. If you call CreateBackupPlan with a plan that already exists, an AlreadyExistsException is returned.
20 */
21 createBackupPlan(callback?: (err: AWSError, data: Backup.Types.CreateBackupPlanOutput) => void): Request<Backup.Types.CreateBackupPlanOutput, AWSError>;
22 /**
23 * Creates a JSON document that specifies a set of resources to assign to a backup plan. Resources can be included by specifying patterns for a ListOfTags and selected Resources. For example, consider the following patterns: Resources: "arn:aws:ec2:region:account-id:volume/volume-id" ConditionKey:"department" ConditionValue:"finance" ConditionType:"STRINGEQUALS" ConditionKey:"importance" ConditionValue:"critical" ConditionType:"STRINGEQUALS" Using these patterns would back up all Amazon Elastic Block Store (Amazon EBS) volumes that are tagged as "department=finance", "importance=critical", in addition to an EBS volume with the specified volume Id. Resources and conditions are additive in that all resources that match the pattern are selected. This shouldn't be confused with a logical AND, where all conditions must match. The matching patterns are logically 'put together using the OR operator. In other words, all patterns that match are selected for backup.
24 */
25 createBackupSelection(params: Backup.Types.CreateBackupSelectionInput, callback?: (err: AWSError, data: Backup.Types.CreateBackupSelectionOutput) => void): Request<Backup.Types.CreateBackupSelectionOutput, AWSError>;
26 /**
27 * Creates a JSON document that specifies a set of resources to assign to a backup plan. Resources can be included by specifying patterns for a ListOfTags and selected Resources. For example, consider the following patterns: Resources: "arn:aws:ec2:region:account-id:volume/volume-id" ConditionKey:"department" ConditionValue:"finance" ConditionType:"STRINGEQUALS" ConditionKey:"importance" ConditionValue:"critical" ConditionType:"STRINGEQUALS" Using these patterns would back up all Amazon Elastic Block Store (Amazon EBS) volumes that are tagged as "department=finance", "importance=critical", in addition to an EBS volume with the specified volume Id. Resources and conditions are additive in that all resources that match the pattern are selected. This shouldn't be confused with a logical AND, where all conditions must match. The matching patterns are logically 'put together using the OR operator. In other words, all patterns that match are selected for backup.
28 */
29 createBackupSelection(callback?: (err: AWSError, data: Backup.Types.CreateBackupSelectionOutput) => void): Request<Backup.Types.CreateBackupSelectionOutput, AWSError>;
30 /**
31 * Creates a logical container where backups are stored. A CreateBackupVault request includes a name, optionally one or more resource tags, an encryption key, and a request ID. Sensitive data, such as passport numbers, should not be included the name of a backup vault.
32 */
33 createBackupVault(params: Backup.Types.CreateBackupVaultInput, callback?: (err: AWSError, data: Backup.Types.CreateBackupVaultOutput) => void): Request<Backup.Types.CreateBackupVaultOutput, AWSError>;
34 /**
35 * Creates a logical container where backups are stored. A CreateBackupVault request includes a name, optionally one or more resource tags, an encryption key, and a request ID. Sensitive data, such as passport numbers, should not be included the name of a backup vault.
36 */
37 createBackupVault(callback?: (err: AWSError, data: Backup.Types.CreateBackupVaultOutput) => void): Request<Backup.Types.CreateBackupVaultOutput, AWSError>;
38 /**
39 * Deletes a backup plan. A backup plan can only be deleted after all associated selections of resources have been deleted. Deleting a backup plan deletes the current version of a backup plan. Previous versions, if any, will still exist.
40 */
41 deleteBackupPlan(params: Backup.Types.DeleteBackupPlanInput, callback?: (err: AWSError, data: Backup.Types.DeleteBackupPlanOutput) => void): Request<Backup.Types.DeleteBackupPlanOutput, AWSError>;
42 /**
43 * Deletes a backup plan. A backup plan can only be deleted after all associated selections of resources have been deleted. Deleting a backup plan deletes the current version of a backup plan. Previous versions, if any, will still exist.
44 */
45 deleteBackupPlan(callback?: (err: AWSError, data: Backup.Types.DeleteBackupPlanOutput) => void): Request<Backup.Types.DeleteBackupPlanOutput, AWSError>;
46 /**
47 * Deletes the resource selection associated with a backup plan that is specified by the SelectionId.
48 */
49 deleteBackupSelection(params: Backup.Types.DeleteBackupSelectionInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
50 /**
51 * Deletes the resource selection associated with a backup plan that is specified by the SelectionId.
52 */
53 deleteBackupSelection(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
54 /**
55 * Deletes the backup vault identified by its name. A vault can be deleted only if it is empty.
56 */
57 deleteBackupVault(params: Backup.Types.DeleteBackupVaultInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
58 /**
59 * Deletes the backup vault identified by its name. A vault can be deleted only if it is empty.
60 */
61 deleteBackupVault(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
62 /**
63 * Deletes the policy document that manages permissions on a backup vault.
64 */
65 deleteBackupVaultAccessPolicy(params: Backup.Types.DeleteBackupVaultAccessPolicyInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
66 /**
67 * Deletes the policy document that manages permissions on a backup vault.
68 */
69 deleteBackupVaultAccessPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
70 /**
71 * Deletes event notifications for the specified backup vault.
72 */
73 deleteBackupVaultNotifications(params: Backup.Types.DeleteBackupVaultNotificationsInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
74 /**
75 * Deletes event notifications for the specified backup vault.
76 */
77 deleteBackupVaultNotifications(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
78 /**
79 * Deletes the recovery point specified by a recovery point ID.
80 */
81 deleteRecoveryPoint(params: Backup.Types.DeleteRecoveryPointInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
82 /**
83 * Deletes the recovery point specified by a recovery point ID.
84 */
85 deleteRecoveryPoint(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
86 /**
87 * Returns metadata associated with creating a backup of a resource.
88 */
89 describeBackupJob(params: Backup.Types.DescribeBackupJobInput, callback?: (err: AWSError, data: Backup.Types.DescribeBackupJobOutput) => void): Request<Backup.Types.DescribeBackupJobOutput, AWSError>;
90 /**
91 * Returns metadata associated with creating a backup of a resource.
92 */
93 describeBackupJob(callback?: (err: AWSError, data: Backup.Types.DescribeBackupJobOutput) => void): Request<Backup.Types.DescribeBackupJobOutput, AWSError>;
94 /**
95 * Returns metadata about a backup vault specified by its name.
96 */
97 describeBackupVault(params: Backup.Types.DescribeBackupVaultInput, callback?: (err: AWSError, data: Backup.Types.DescribeBackupVaultOutput) => void): Request<Backup.Types.DescribeBackupVaultOutput, AWSError>;
98 /**
99 * Returns metadata about a backup vault specified by its name.
100 */
101 describeBackupVault(callback?: (err: AWSError, data: Backup.Types.DescribeBackupVaultOutput) => void): Request<Backup.Types.DescribeBackupVaultOutput, AWSError>;
102 /**
103 * Returns metadata associated with creating a copy of a resource.
104 */
105 describeCopyJob(params: Backup.Types.DescribeCopyJobInput, callback?: (err: AWSError, data: Backup.Types.DescribeCopyJobOutput) => void): Request<Backup.Types.DescribeCopyJobOutput, AWSError>;
106 /**
107 * Returns metadata associated with creating a copy of a resource.
108 */
109 describeCopyJob(callback?: (err: AWSError, data: Backup.Types.DescribeCopyJobOutput) => void): Request<Backup.Types.DescribeCopyJobOutput, AWSError>;
110 /**
111 * Returns information about a saved resource, including the last time it was backed-up, its Amazon Resource Name (ARN), and the AWS service type of the saved resource.
112 */
113 describeProtectedResource(params: Backup.Types.DescribeProtectedResourceInput, callback?: (err: AWSError, data: Backup.Types.DescribeProtectedResourceOutput) => void): Request<Backup.Types.DescribeProtectedResourceOutput, AWSError>;
114 /**
115 * Returns information about a saved resource, including the last time it was backed-up, its Amazon Resource Name (ARN), and the AWS service type of the saved resource.
116 */
117 describeProtectedResource(callback?: (err: AWSError, data: Backup.Types.DescribeProtectedResourceOutput) => void): Request<Backup.Types.DescribeProtectedResourceOutput, AWSError>;
118 /**
119 * Returns metadata associated with a recovery point, including ID, status, encryption, and lifecycle.
120 */
121 describeRecoveryPoint(params: Backup.Types.DescribeRecoveryPointInput, callback?: (err: AWSError, data: Backup.Types.DescribeRecoveryPointOutput) => void): Request<Backup.Types.DescribeRecoveryPointOutput, AWSError>;
122 /**
123 * Returns metadata associated with a recovery point, including ID, status, encryption, and lifecycle.
124 */
125 describeRecoveryPoint(callback?: (err: AWSError, data: Backup.Types.DescribeRecoveryPointOutput) => void): Request<Backup.Types.DescribeRecoveryPointOutput, AWSError>;
126 /**
127 * Returns metadata associated with a restore job that is specified by a job ID.
128 */
129 describeRestoreJob(params: Backup.Types.DescribeRestoreJobInput, callback?: (err: AWSError, data: Backup.Types.DescribeRestoreJobOutput) => void): Request<Backup.Types.DescribeRestoreJobOutput, AWSError>;
130 /**
131 * Returns metadata associated with a restore job that is specified by a job ID.
132 */
133 describeRestoreJob(callback?: (err: AWSError, data: Backup.Types.DescribeRestoreJobOutput) => void): Request<Backup.Types.DescribeRestoreJobOutput, AWSError>;
134 /**
135 * Returns the backup plan that is specified by the plan ID as a backup template.
136 */
137 exportBackupPlanTemplate(params: Backup.Types.ExportBackupPlanTemplateInput, callback?: (err: AWSError, data: Backup.Types.ExportBackupPlanTemplateOutput) => void): Request<Backup.Types.ExportBackupPlanTemplateOutput, AWSError>;
138 /**
139 * Returns the backup plan that is specified by the plan ID as a backup template.
140 */
141 exportBackupPlanTemplate(callback?: (err: AWSError, data: Backup.Types.ExportBackupPlanTemplateOutput) => void): Request<Backup.Types.ExportBackupPlanTemplateOutput, AWSError>;
142 /**
143 * Returns the body of a backup plan in JSON format, in addition to plan metadata.
144 */
145 getBackupPlan(params: Backup.Types.GetBackupPlanInput, callback?: (err: AWSError, data: Backup.Types.GetBackupPlanOutput) => void): Request<Backup.Types.GetBackupPlanOutput, AWSError>;
146 /**
147 * Returns the body of a backup plan in JSON format, in addition to plan metadata.
148 */
149 getBackupPlan(callback?: (err: AWSError, data: Backup.Types.GetBackupPlanOutput) => void): Request<Backup.Types.GetBackupPlanOutput, AWSError>;
150 /**
151 * Returns a valid JSON document specifying a backup plan or an error.
152 */
153 getBackupPlanFromJSON(params: Backup.Types.GetBackupPlanFromJSONInput, callback?: (err: AWSError, data: Backup.Types.GetBackupPlanFromJSONOutput) => void): Request<Backup.Types.GetBackupPlanFromJSONOutput, AWSError>;
154 /**
155 * Returns a valid JSON document specifying a backup plan or an error.
156 */
157 getBackupPlanFromJSON(callback?: (err: AWSError, data: Backup.Types.GetBackupPlanFromJSONOutput) => void): Request<Backup.Types.GetBackupPlanFromJSONOutput, AWSError>;
158 /**
159 * Returns the template specified by its templateId as a backup plan.
160 */
161 getBackupPlanFromTemplate(params: Backup.Types.GetBackupPlanFromTemplateInput, callback?: (err: AWSError, data: Backup.Types.GetBackupPlanFromTemplateOutput) => void): Request<Backup.Types.GetBackupPlanFromTemplateOutput, AWSError>;
162 /**
163 * Returns the template specified by its templateId as a backup plan.
164 */
165 getBackupPlanFromTemplate(callback?: (err: AWSError, data: Backup.Types.GetBackupPlanFromTemplateOutput) => void): Request<Backup.Types.GetBackupPlanFromTemplateOutput, AWSError>;
166 /**
167 * Returns selection metadata and a document in JSON format that specifies a list of resources that are associated with a backup plan.
168 */
169 getBackupSelection(params: Backup.Types.GetBackupSelectionInput, callback?: (err: AWSError, data: Backup.Types.GetBackupSelectionOutput) => void): Request<Backup.Types.GetBackupSelectionOutput, AWSError>;
170 /**
171 * Returns selection metadata and a document in JSON format that specifies a list of resources that are associated with a backup plan.
172 */
173 getBackupSelection(callback?: (err: AWSError, data: Backup.Types.GetBackupSelectionOutput) => void): Request<Backup.Types.GetBackupSelectionOutput, AWSError>;
174 /**
175 * Returns the access policy document that is associated with the named backup vault.
176 */
177 getBackupVaultAccessPolicy(params: Backup.Types.GetBackupVaultAccessPolicyInput, callback?: (err: AWSError, data: Backup.Types.GetBackupVaultAccessPolicyOutput) => void): Request<Backup.Types.GetBackupVaultAccessPolicyOutput, AWSError>;
178 /**
179 * Returns the access policy document that is associated with the named backup vault.
180 */
181 getBackupVaultAccessPolicy(callback?: (err: AWSError, data: Backup.Types.GetBackupVaultAccessPolicyOutput) => void): Request<Backup.Types.GetBackupVaultAccessPolicyOutput, AWSError>;
182 /**
183 * Returns event notifications for the specified backup vault.
184 */
185 getBackupVaultNotifications(params: Backup.Types.GetBackupVaultNotificationsInput, callback?: (err: AWSError, data: Backup.Types.GetBackupVaultNotificationsOutput) => void): Request<Backup.Types.GetBackupVaultNotificationsOutput, AWSError>;
186 /**
187 * Returns event notifications for the specified backup vault.
188 */
189 getBackupVaultNotifications(callback?: (err: AWSError, data: Backup.Types.GetBackupVaultNotificationsOutput) => void): Request<Backup.Types.GetBackupVaultNotificationsOutput, AWSError>;
190 /**
191 * Returns a set of metadata key-value pairs that were used to create the backup.
192 */
193 getRecoveryPointRestoreMetadata(params: Backup.Types.GetRecoveryPointRestoreMetadataInput, callback?: (err: AWSError, data: Backup.Types.GetRecoveryPointRestoreMetadataOutput) => void): Request<Backup.Types.GetRecoveryPointRestoreMetadataOutput, AWSError>;
194 /**
195 * Returns a set of metadata key-value pairs that were used to create the backup.
196 */
197 getRecoveryPointRestoreMetadata(callback?: (err: AWSError, data: Backup.Types.GetRecoveryPointRestoreMetadataOutput) => void): Request<Backup.Types.GetRecoveryPointRestoreMetadataOutput, AWSError>;
198 /**
199 * Returns the AWS resource types supported by AWS Backup.
200 */
201 getSupportedResourceTypes(callback?: (err: AWSError, data: Backup.Types.GetSupportedResourceTypesOutput) => void): Request<Backup.Types.GetSupportedResourceTypesOutput, AWSError>;
202 /**
203 * Returns metadata about your backup jobs.
204 */
205 listBackupJobs(params: Backup.Types.ListBackupJobsInput, callback?: (err: AWSError, data: Backup.Types.ListBackupJobsOutput) => void): Request<Backup.Types.ListBackupJobsOutput, AWSError>;
206 /**
207 * Returns metadata about your backup jobs.
208 */
209 listBackupJobs(callback?: (err: AWSError, data: Backup.Types.ListBackupJobsOutput) => void): Request<Backup.Types.ListBackupJobsOutput, AWSError>;
210 /**
211 * Returns metadata of your saved backup plan templates, including the template ID, name, and the creation and deletion dates.
212 */
213 listBackupPlanTemplates(params: Backup.Types.ListBackupPlanTemplatesInput, callback?: (err: AWSError, data: Backup.Types.ListBackupPlanTemplatesOutput) => void): Request<Backup.Types.ListBackupPlanTemplatesOutput, AWSError>;
214 /**
215 * Returns metadata of your saved backup plan templates, including the template ID, name, and the creation and deletion dates.
216 */
217 listBackupPlanTemplates(callback?: (err: AWSError, data: Backup.Types.ListBackupPlanTemplatesOutput) => void): Request<Backup.Types.ListBackupPlanTemplatesOutput, AWSError>;
218 /**
219 * Returns version metadata of your backup plans, including Amazon Resource Names (ARNs), backup plan IDs, creation and deletion dates, plan names, and version IDs.
220 */
221 listBackupPlanVersions(params: Backup.Types.ListBackupPlanVersionsInput, callback?: (err: AWSError, data: Backup.Types.ListBackupPlanVersionsOutput) => void): Request<Backup.Types.ListBackupPlanVersionsOutput, AWSError>;
222 /**
223 * Returns version metadata of your backup plans, including Amazon Resource Names (ARNs), backup plan IDs, creation and deletion dates, plan names, and version IDs.
224 */
225 listBackupPlanVersions(callback?: (err: AWSError, data: Backup.Types.ListBackupPlanVersionsOutput) => void): Request<Backup.Types.ListBackupPlanVersionsOutput, AWSError>;
226 /**
227 * Returns metadata of your saved backup plans, including Amazon Resource Names (ARNs), plan IDs, creation and deletion dates, version IDs, plan names, and creator request IDs.
228 */
229 listBackupPlans(params: Backup.Types.ListBackupPlansInput, callback?: (err: AWSError, data: Backup.Types.ListBackupPlansOutput) => void): Request<Backup.Types.ListBackupPlansOutput, AWSError>;
230 /**
231 * Returns metadata of your saved backup plans, including Amazon Resource Names (ARNs), plan IDs, creation and deletion dates, version IDs, plan names, and creator request IDs.
232 */
233 listBackupPlans(callback?: (err: AWSError, data: Backup.Types.ListBackupPlansOutput) => void): Request<Backup.Types.ListBackupPlansOutput, AWSError>;
234 /**
235 * Returns an array containing metadata of the resources associated with the target backup plan.
236 */
237 listBackupSelections(params: Backup.Types.ListBackupSelectionsInput, callback?: (err: AWSError, data: Backup.Types.ListBackupSelectionsOutput) => void): Request<Backup.Types.ListBackupSelectionsOutput, AWSError>;
238 /**
239 * Returns an array containing metadata of the resources associated with the target backup plan.
240 */
241 listBackupSelections(callback?: (err: AWSError, data: Backup.Types.ListBackupSelectionsOutput) => void): Request<Backup.Types.ListBackupSelectionsOutput, AWSError>;
242 /**
243 * Returns a list of recovery point storage containers along with information about them.
244 */
245 listBackupVaults(params: Backup.Types.ListBackupVaultsInput, callback?: (err: AWSError, data: Backup.Types.ListBackupVaultsOutput) => void): Request<Backup.Types.ListBackupVaultsOutput, AWSError>;
246 /**
247 * Returns a list of recovery point storage containers along with information about them.
248 */
249 listBackupVaults(callback?: (err: AWSError, data: Backup.Types.ListBackupVaultsOutput) => void): Request<Backup.Types.ListBackupVaultsOutput, AWSError>;
250 /**
251 * Returns metadata about your copy jobs.
252 */
253 listCopyJobs(params: Backup.Types.ListCopyJobsInput, callback?: (err: AWSError, data: Backup.Types.ListCopyJobsOutput) => void): Request<Backup.Types.ListCopyJobsOutput, AWSError>;
254 /**
255 * Returns metadata about your copy jobs.
256 */
257 listCopyJobs(callback?: (err: AWSError, data: Backup.Types.ListCopyJobsOutput) => void): Request<Backup.Types.ListCopyJobsOutput, AWSError>;
258 /**
259 * Returns an array of resources successfully backed up by AWS Backup, including the time the resource was saved, an Amazon Resource Name (ARN) of the resource, and a resource type.
260 */
261 listProtectedResources(params: Backup.Types.ListProtectedResourcesInput, callback?: (err: AWSError, data: Backup.Types.ListProtectedResourcesOutput) => void): Request<Backup.Types.ListProtectedResourcesOutput, AWSError>;
262 /**
263 * Returns an array of resources successfully backed up by AWS Backup, including the time the resource was saved, an Amazon Resource Name (ARN) of the resource, and a resource type.
264 */
265 listProtectedResources(callback?: (err: AWSError, data: Backup.Types.ListProtectedResourcesOutput) => void): Request<Backup.Types.ListProtectedResourcesOutput, AWSError>;
266 /**
267 * Returns detailed information about the recovery points stored in a backup vault.
268 */
269 listRecoveryPointsByBackupVault(params: Backup.Types.ListRecoveryPointsByBackupVaultInput, callback?: (err: AWSError, data: Backup.Types.ListRecoveryPointsByBackupVaultOutput) => void): Request<Backup.Types.ListRecoveryPointsByBackupVaultOutput, AWSError>;
270 /**
271 * Returns detailed information about the recovery points stored in a backup vault.
272 */
273 listRecoveryPointsByBackupVault(callback?: (err: AWSError, data: Backup.Types.ListRecoveryPointsByBackupVaultOutput) => void): Request<Backup.Types.ListRecoveryPointsByBackupVaultOutput, AWSError>;
274 /**
275 * Returns detailed information about recovery points of the type specified by a resource Amazon Resource Name (ARN).
276 */
277 listRecoveryPointsByResource(params: Backup.Types.ListRecoveryPointsByResourceInput, callback?: (err: AWSError, data: Backup.Types.ListRecoveryPointsByResourceOutput) => void): Request<Backup.Types.ListRecoveryPointsByResourceOutput, AWSError>;
278 /**
279 * Returns detailed information about recovery points of the type specified by a resource Amazon Resource Name (ARN).
280 */
281 listRecoveryPointsByResource(callback?: (err: AWSError, data: Backup.Types.ListRecoveryPointsByResourceOutput) => void): Request<Backup.Types.ListRecoveryPointsByResourceOutput, AWSError>;
282 /**
283 * Returns a list of jobs that AWS Backup initiated to restore a saved resource, including metadata about the recovery process.
284 */
285 listRestoreJobs(params: Backup.Types.ListRestoreJobsInput, callback?: (err: AWSError, data: Backup.Types.ListRestoreJobsOutput) => void): Request<Backup.Types.ListRestoreJobsOutput, AWSError>;
286 /**
287 * Returns a list of jobs that AWS Backup initiated to restore a saved resource, including metadata about the recovery process.
288 */
289 listRestoreJobs(callback?: (err: AWSError, data: Backup.Types.ListRestoreJobsOutput) => void): Request<Backup.Types.ListRestoreJobsOutput, AWSError>;
290 /**
291 * Returns a list of key-value pairs assigned to a target recovery point, backup plan, or backup vault.
292 */
293 listTags(params: Backup.Types.ListTagsInput, callback?: (err: AWSError, data: Backup.Types.ListTagsOutput) => void): Request<Backup.Types.ListTagsOutput, AWSError>;
294 /**
295 * Returns a list of key-value pairs assigned to a target recovery point, backup plan, or backup vault.
296 */
297 listTags(callback?: (err: AWSError, data: Backup.Types.ListTagsOutput) => void): Request<Backup.Types.ListTagsOutput, AWSError>;
298 /**
299 * Sets a resource-based policy that is used to manage access permissions on the target backup vault. Requires a backup vault name and an access policy document in JSON format.
300 */
301 putBackupVaultAccessPolicy(params: Backup.Types.PutBackupVaultAccessPolicyInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
302 /**
303 * Sets a resource-based policy that is used to manage access permissions on the target backup vault. Requires a backup vault name and an access policy document in JSON format.
304 */
305 putBackupVaultAccessPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
306 /**
307 * Turns on notifications on a backup vault for the specified topic and events.
308 */
309 putBackupVaultNotifications(params: Backup.Types.PutBackupVaultNotificationsInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
310 /**
311 * Turns on notifications on a backup vault for the specified topic and events.
312 */
313 putBackupVaultNotifications(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
314 /**
315 * Starts a job to create a one-time backup of the specified resource.
316 */
317 startBackupJob(params: Backup.Types.StartBackupJobInput, callback?: (err: AWSError, data: Backup.Types.StartBackupJobOutput) => void): Request<Backup.Types.StartBackupJobOutput, AWSError>;
318 /**
319 * Starts a job to create a one-time backup of the specified resource.
320 */
321 startBackupJob(callback?: (err: AWSError, data: Backup.Types.StartBackupJobOutput) => void): Request<Backup.Types.StartBackupJobOutput, AWSError>;
322 /**
323 * Starts a job to create a one-time copy of the specified resource.
324 */
325 startCopyJob(params: Backup.Types.StartCopyJobInput, callback?: (err: AWSError, data: Backup.Types.StartCopyJobOutput) => void): Request<Backup.Types.StartCopyJobOutput, AWSError>;
326 /**
327 * Starts a job to create a one-time copy of the specified resource.
328 */
329 startCopyJob(callback?: (err: AWSError, data: Backup.Types.StartCopyJobOutput) => void): Request<Backup.Types.StartCopyJobOutput, AWSError>;
330 /**
331 * Recovers the saved resource identified by an Amazon Resource Name (ARN). If the resource ARN is included in the request, then the last complete backup of that resource is recovered. If the ARN of a recovery point is supplied, then that recovery point is restored.
332 */
333 startRestoreJob(params: Backup.Types.StartRestoreJobInput, callback?: (err: AWSError, data: Backup.Types.StartRestoreJobOutput) => void): Request<Backup.Types.StartRestoreJobOutput, AWSError>;
334 /**
335 * Recovers the saved resource identified by an Amazon Resource Name (ARN). If the resource ARN is included in the request, then the last complete backup of that resource is recovered. If the ARN of a recovery point is supplied, then that recovery point is restored.
336 */
337 startRestoreJob(callback?: (err: AWSError, data: Backup.Types.StartRestoreJobOutput) => void): Request<Backup.Types.StartRestoreJobOutput, AWSError>;
338 /**
339 * Attempts to cancel a job to create a one-time backup of a resource.
340 */
341 stopBackupJob(params: Backup.Types.StopBackupJobInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
342 /**
343 * Attempts to cancel a job to create a one-time backup of a resource.
344 */
345 stopBackupJob(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
346 /**
347 * Assigns a set of key-value pairs to a recovery point, backup plan, or backup vault identified by an Amazon Resource Name (ARN).
348 */
349 tagResource(params: Backup.Types.TagResourceInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
350 /**
351 * Assigns a set of key-value pairs to a recovery point, backup plan, or backup vault identified by an Amazon Resource Name (ARN).
352 */
353 tagResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
354 /**
355 * Removes a set of key-value pairs from a recovery point, backup plan, or backup vault identified by an Amazon Resource Name (ARN)
356 */
357 untagResource(params: Backup.Types.UntagResourceInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
358 /**
359 * Removes a set of key-value pairs from a recovery point, backup plan, or backup vault identified by an Amazon Resource Name (ARN)
360 */
361 untagResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
362 /**
363 * Replaces the body of a saved backup plan identified by its backupPlanId with the input document in JSON format. The new version is uniquely identified by a VersionId.
364 */
365 updateBackupPlan(params: Backup.Types.UpdateBackupPlanInput, callback?: (err: AWSError, data: Backup.Types.UpdateBackupPlanOutput) => void): Request<Backup.Types.UpdateBackupPlanOutput, AWSError>;
366 /**
367 * Replaces the body of a saved backup plan identified by its backupPlanId with the input document in JSON format. The new version is uniquely identified by a VersionId.
368 */
369 updateBackupPlan(callback?: (err: AWSError, data: Backup.Types.UpdateBackupPlanOutput) => void): Request<Backup.Types.UpdateBackupPlanOutput, AWSError>;
370 /**
371 * Sets the transition lifecycle of a recovery point. The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. AWS Backup transitions and expires backups automatically according to the lifecycle that you define. Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the “expire after days” setting must be 90 days greater than the “transition to cold after days” setting. The “transition to cold after days” setting cannot be changed after a backup has been transitioned to cold.
372 */
373 updateRecoveryPointLifecycle(params: Backup.Types.UpdateRecoveryPointLifecycleInput, callback?: (err: AWSError, data: Backup.Types.UpdateRecoveryPointLifecycleOutput) => void): Request<Backup.Types.UpdateRecoveryPointLifecycleOutput, AWSError>;
374 /**
375 * Sets the transition lifecycle of a recovery point. The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. AWS Backup transitions and expires backups automatically according to the lifecycle that you define. Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the “expire after days” setting must be 90 days greater than the “transition to cold after days” setting. The “transition to cold after days” setting cannot be changed after a backup has been transitioned to cold.
376 */
377 updateRecoveryPointLifecycle(callback?: (err: AWSError, data: Backup.Types.UpdateRecoveryPointLifecycleOutput) => void): Request<Backup.Types.UpdateRecoveryPointLifecycleOutput, AWSError>;
378}
379declare namespace Backup {
380 export type ARN = string;
381 export interface BackupJob {
382 /**
383 * Uniquely identifies a request to AWS Backup to back up a resource.
384 */
385 BackupJobId?: string;
386 /**
387 * The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the AWS Region where they are created. They consist of lowercase letters, numbers, and hyphens.
388 */
389 BackupVaultName?: BackupVaultName;
390 /**
391 * An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
392 */
393 BackupVaultArn?: ARN;
394 /**
395 * An ARN that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
396 */
397 RecoveryPointArn?: ARN;
398 /**
399 * An ARN that uniquely identifies a resource. The format of the ARN depends on the resource type.
400 */
401 ResourceArn?: ARN;
402 /**
403 * The date and time a backup job is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
404 */
405 CreationDate?: timestamp;
406 /**
407 * The date and time a job to create a backup job is completed, in Unix format and Coordinated Universal Time (UTC). The value of CompletionDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
408 */
409 CompletionDate?: timestamp;
410 /**
411 * The current state of a resource recovery point.
412 */
413 State?: BackupJobState;
414 /**
415 * A detailed message explaining the status of the job to back up a resource.
416 */
417 StatusMessage?: string;
418 /**
419 * Contains an estimated percentage complete of a job at the time the job status was queried.
420 */
421 PercentDone?: string;
422 /**
423 * The size, in bytes, of a backup.
424 */
425 BackupSizeInBytes?: Long;
426 /**
427 * Specifies the IAM role ARN used to create the target recovery point; for example, arn:aws:iam::123456789012:role/S3Access.
428 */
429 IamRoleArn?: IAMRoleArn;
430 /**
431 * Contains identifying information about the creation of a backup job, including the BackupPlanArn, BackupPlanId, BackupPlanVersion, and BackupRuleId of the backup plan used to create it.
432 */
433 CreatedBy?: RecoveryPointCreator;
434 /**
435 * The date and time a job to back up resources is expected to be completed, in Unix format and Coordinated Universal Time (UTC). The value of ExpectedCompletionDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
436 */
437 ExpectedCompletionDate?: timestamp;
438 /**
439 * Specifies the time in Unix format and Coordinated Universal Time (UTC) when a backup job must be started before it is canceled. The value is calculated by adding the start window to the scheduled time. So if the scheduled time were 6:00 PM and the start window is 2 hours, the StartBy time would be 8:00 PM on the date specified. The value of StartBy is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
440 */
441 StartBy?: timestamp;
442 /**
443 * The type of AWS resource to be backed-up; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.
444 */
445 ResourceType?: ResourceType;
446 /**
447 * The size in bytes transferred to a backup vault at the time that the job status was queried.
448 */
449 BytesTransferred?: Long;
450 }
451 export type BackupJobState = "CREATED"|"PENDING"|"RUNNING"|"ABORTING"|"ABORTED"|"COMPLETED"|"FAILED"|"EXPIRED"|string;
452 export type BackupJobsList = BackupJob[];
453 export interface BackupPlan {
454 /**
455 * The display name of a backup plan.
456 */
457 BackupPlanName: BackupPlanName;
458 /**
459 * An array of BackupRule objects, each of which specifies a scheduled task that is used to back up a selection of resources.
460 */
461 Rules: BackupRules;
462 }
463 export interface BackupPlanInput {
464 /**
465 * The display name of a backup plan.
466 */
467 BackupPlanName: BackupPlanName;
468 /**
469 * An array of BackupRule objects, each of which specifies a scheduled task that is used to back up a selection of resources.
470 */
471 Rules: BackupRulesInput;
472 }
473 export type BackupPlanName = string;
474 export type BackupPlanTemplatesList = BackupPlanTemplatesListMember[];
475 export interface BackupPlanTemplatesListMember {
476 /**
477 * Uniquely identifies a stored backup plan template.
478 */
479 BackupPlanTemplateId?: string;
480 /**
481 * The optional display name of a backup plan template.
482 */
483 BackupPlanTemplateName?: string;
484 }
485 export type BackupPlanVersionsList = BackupPlansListMember[];
486 export type BackupPlansList = BackupPlansListMember[];
487 export interface BackupPlansListMember {
488 /**
489 * An Amazon Resource Name (ARN) that uniquely identifies a backup plan; for example, arn:aws:backup:us-east-1:123456789012:plan:8F81F553-3A74-4A3F-B93D-B3360DC80C50.
490 */
491 BackupPlanArn?: ARN;
492 /**
493 * Uniquely identifies a backup plan.
494 */
495 BackupPlanId?: string;
496 /**
497 * The date and time a resource backup plan is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
498 */
499 CreationDate?: timestamp;
500 /**
501 * The date and time a backup plan is deleted, in Unix format and Coordinated Universal Time (UTC). The value of DeletionDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
502 */
503 DeletionDate?: timestamp;
504 /**
505 * Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most 1,024 bytes long. Version IDs cannot be edited.
506 */
507 VersionId?: string;
508 /**
509 * The display name of a saved backup plan.
510 */
511 BackupPlanName?: BackupPlanName;
512 /**
513 * A unique string that identifies the request and allows failed requests to be retried without the risk of executing the operation twice.
514 */
515 CreatorRequestId?: string;
516 /**
517 * The last time a job to back up resources was executed with this rule. A date and time, in Unix format and Coordinated Universal Time (UTC). The value of LastExecutionDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
518 */
519 LastExecutionDate?: timestamp;
520 }
521 export interface BackupRule {
522 /**
523 * An optional display name for a backup rule.
524 */
525 RuleName: BackupRuleName;
526 /**
527 * The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the AWS Region where they are created. They consist of lowercase letters, numbers, and hyphens.
528 */
529 TargetBackupVaultName: BackupVaultName;
530 /**
531 * A CRON expression specifying when AWS Backup initiates a backup job.
532 */
533 ScheduleExpression?: CronExpression;
534 /**
535 * An optional value that specifies a period of time in minutes after a backup is scheduled before a job is canceled if it doesn't start successfully.
536 */
537 StartWindowMinutes?: WindowMinutes;
538 /**
539 * A value in minutes after a backup job is successfully started before it must be completed or it is canceled by AWS Backup. This value is optional.
540 */
541 CompletionWindowMinutes?: WindowMinutes;
542 /**
543 * The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. AWS Backup transitions and expires backups automatically according to the lifecycle that you define. Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the “expire after days” setting must be 90 days greater than the “transition to cold after days” setting. The “transition to cold after days” setting cannot be changed after a backup has been transitioned to cold.
544 */
545 Lifecycle?: Lifecycle;
546 /**
547 * An array of key-value pair strings that are assigned to resources that are associated with this rule when restored from backup.
548 */
549 RecoveryPointTags?: Tags;
550 /**
551 * Uniquely identifies a rule that is used to schedule the backup of a selection of resources.
552 */
553 RuleId?: string;
554 /**
555 * An array of CopyAction objects, which contains the details of the copy operation.
556 */
557 CopyActions?: CopyActions;
558 }
559 export interface BackupRuleInput {
560 /**
561 * &gt;An optional display name for a backup rule.
562 */
563 RuleName: BackupRuleName;
564 /**
565 * The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the AWS Region where they are created. They consist of lowercase letters, numbers, and hyphens.
566 */
567 TargetBackupVaultName: BackupVaultName;
568 /**
569 * A CRON expression specifying when AWS Backup initiates a backup job.
570 */
571 ScheduleExpression?: CronExpression;
572 /**
573 * The amount of time in minutes before beginning a backup.
574 */
575 StartWindowMinutes?: WindowMinutes;
576 /**
577 * The amount of time AWS Backup attempts a backup before canceling the job and returning an error.
578 */
579 CompletionWindowMinutes?: WindowMinutes;
580 /**
581 * The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. AWS Backup will transition and expire backups automatically according to the lifecycle that you define. Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the “expire after days” setting must be 90 days greater than the “transition to cold after days”. The “transition to cold after days” setting cannot be changed after a backup has been transitioned to cold.
582 */
583 Lifecycle?: Lifecycle;
584 /**
585 * To help organize your resources, you can assign your own metadata to the resources that you create. Each tag is a key-value pair.
586 */
587 RecoveryPointTags?: Tags;
588 /**
589 * An array of CopyAction objects, which contains the details of the copy operation.
590 */
591 CopyActions?: CopyActions;
592 }
593 export type BackupRuleName = string;
594 export type BackupRules = BackupRule[];
595 export type BackupRulesInput = BackupRuleInput[];
596 export interface BackupSelection {
597 /**
598 * The display name of a resource selection document.
599 */
600 SelectionName: BackupSelectionName;
601 /**
602 * The ARN of the IAM role that AWS Backup uses to authenticate when restoring the target resource; for example, arn:aws:iam::123456789012:role/S3Access.
603 */
604 IamRoleArn: IAMRoleArn;
605 /**
606 * An array of strings that contain Amazon Resource Names (ARNs) of resources to assign to a backup plan.
607 */
608 Resources?: ResourceArns;
609 /**
610 * An array of conditions used to specify a set of resources to assign to a backup plan; for example, "STRINGEQUALS": {"ec2:ResourceTag/Department": "accounting".
611 */
612 ListOfTags?: ListOfTags;
613 }
614 export type BackupSelectionName = string;
615 export type BackupSelectionsList = BackupSelectionsListMember[];
616 export interface BackupSelectionsListMember {
617 /**
618 * Uniquely identifies a request to assign a set of resources to a backup plan.
619 */
620 SelectionId?: string;
621 /**
622 * The display name of a resource selection document.
623 */
624 SelectionName?: BackupSelectionName;
625 /**
626 * Uniquely identifies a backup plan.
627 */
628 BackupPlanId?: string;
629 /**
630 * The date and time a backup plan is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
631 */
632 CreationDate?: timestamp;
633 /**
634 * A unique string that identifies the request and allows failed requests to be retried without the risk of executing the operation twice.
635 */
636 CreatorRequestId?: string;
637 /**
638 * Specifies the IAM role Amazon Resource Name (ARN) to create the target recovery point; for example, arn:aws:iam::123456789012:role/S3Access.
639 */
640 IamRoleArn?: IAMRoleArn;
641 }
642 export type BackupVaultEvent = "BACKUP_JOB_STARTED"|"BACKUP_JOB_COMPLETED"|"BACKUP_JOB_SUCCESSFUL"|"BACKUP_JOB_FAILED"|"BACKUP_JOB_EXPIRED"|"RESTORE_JOB_STARTED"|"RESTORE_JOB_COMPLETED"|"RESTORE_JOB_SUCCESSFUL"|"RESTORE_JOB_FAILED"|"COPY_JOB_STARTED"|"COPY_JOB_SUCCESSFUL"|"COPY_JOB_FAILED"|"RECOVERY_POINT_MODIFIED"|"BACKUP_PLAN_CREATED"|"BACKUP_PLAN_MODIFIED"|string;
643 export type BackupVaultEvents = BackupVaultEvent[];
644 export type BackupVaultList = BackupVaultListMember[];
645 export interface BackupVaultListMember {
646 /**
647 * The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the AWS Region where they are created. They consist of lowercase letters, numbers, and hyphens.
648 */
649 BackupVaultName?: BackupVaultName;
650 /**
651 * An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
652 */
653 BackupVaultArn?: ARN;
654 /**
655 * The date and time a resource backup is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
656 */
657 CreationDate?: timestamp;
658 /**
659 * The server-side encryption key that is used to protect your backups; for example, arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab.
660 */
661 EncryptionKeyArn?: ARN;
662 /**
663 * A unique string that identifies the request and allows failed requests to be retried without the risk of executing the operation twice.
664 */
665 CreatorRequestId?: string;
666 /**
667 * The number of recovery points that are stored in a backup vault.
668 */
669 NumberOfRecoveryPoints?: long;
670 }
671 export type BackupVaultName = string;
672 export type Boolean = boolean;
673 export interface CalculatedLifecycle {
674 /**
675 * A timestamp that specifies when to transition a recovery point to cold storage.
676 */
677 MoveToColdStorageAt?: timestamp;
678 /**
679 * A timestamp that specifies when to delete a recovery point.
680 */
681 DeleteAt?: timestamp;
682 }
683 export interface Condition {
684 /**
685 * An operation, such as STRINGEQUALS, that is applied to a key-value pair used to filter resources in a selection.
686 */
687 ConditionType: ConditionType;
688 /**
689 * The key in a key-value pair. For example, in "ec2:ResourceTag/Department": "accounting", "ec2:ResourceTag/Department" is the key.
690 */
691 ConditionKey: ConditionKey;
692 /**
693 * The value in a key-value pair. For example, in "ec2:ResourceTag/Department": "accounting", "accounting" is the value.
694 */
695 ConditionValue: ConditionValue;
696 }
697 export type ConditionKey = string;
698 export type ConditionType = "STRINGEQUALS"|string;
699 export type ConditionValue = string;
700 export interface CopyAction {
701 Lifecycle?: Lifecycle;
702 /**
703 * An Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied backup. For example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
704 */
705 DestinationBackupVaultArn: ARN;
706 }
707 export type CopyActions = CopyAction[];
708 export interface CopyJob {
709 /**
710 * Uniquely identifies a request to AWS Backup to copy a resource.
711 */
712 CopyJobId?: string;
713 /**
714 * An Amazon Resource Name (ARN) that uniquely identifies a source copy vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
715 */
716 SourceBackupVaultArn?: ARN;
717 /**
718 * An ARN that uniquely identifies a source recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
719 */
720 SourceRecoveryPointArn?: ARN;
721 /**
722 * An Amazon Resource Name (ARN) that uniquely identifies a destination copy vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
723 */
724 DestinationBackupVaultArn?: ARN;
725 /**
726 * An ARN that uniquely identifies a destination recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
727 */
728 DestinationRecoveryPointArn?: ARN;
729 /**
730 * The type of AWS resource to be copied; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.
731 */
732 ResourceArn?: ARN;
733 /**
734 * The date and time a copy job is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
735 */
736 CreationDate?: timestamp;
737 /**
738 * The date and time a job to create a copy job is completed, in Unix format and Coordinated Universal Time (UTC). The value of CompletionDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
739 */
740 CompletionDate?: timestamp;
741 /**
742 * The current state of a resource recovery point.
743 */
744 State?: CopyJobState;
745 /**
746 * A detailed message explaining the status of the job that to copy a resource.
747 */
748 StatusMessage?: string;
749 /**
750 * The size, in bytes, of a copy job.
751 */
752 BackupSizeInBytes?: Long;
753 /**
754 * Specifies the IAM role ARN used to copy the target recovery point; for example, arn:aws:iam::123456789012:role/S3Access.
755 */
756 IamRoleArn?: IAMRoleArn;
757 CreatedBy?: RecoveryPointCreator;
758 /**
759 * The type of AWS resource to be copied; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.
760 */
761 ResourceType?: ResourceType;
762 }
763 export type CopyJobState = "CREATED"|"RUNNING"|"COMPLETED"|"FAILED"|string;
764 export type CopyJobsList = CopyJob[];
765 export interface CreateBackupPlanInput {
766 /**
767 * Specifies the body of a backup plan. Includes a BackupPlanName and one or more sets of Rules.
768 */
769 BackupPlan: BackupPlanInput;
770 /**
771 * To help organize your resources, you can assign your own metadata to the resources that you create. Each tag is a key-value pair. The specified tags are assigned to all backups created with this plan.
772 */
773 BackupPlanTags?: Tags;
774 /**
775 * Identifies the request and allows failed requests to be retried without the risk of executing the operation twice. If the request includes a CreatorRequestId that matches an existing backup plan, that plan is returned. This parameter is optional.
776 */
777 CreatorRequestId?: string;
778 }
779 export interface CreateBackupPlanOutput {
780 /**
781 * Uniquely identifies a backup plan.
782 */
783 BackupPlanId?: string;
784 /**
785 * An Amazon Resource Name (ARN) that uniquely identifies a backup plan; for example, arn:aws:backup:us-east-1:123456789012:plan:8F81F553-3A74-4A3F-B93D-B3360DC80C50.
786 */
787 BackupPlanArn?: ARN;
788 /**
789 * The date and time that a backup plan is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
790 */
791 CreationDate?: timestamp;
792 /**
793 * Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most 1024 bytes long. They cannot be edited.
794 */
795 VersionId?: string;
796 }
797 export interface CreateBackupSelectionInput {
798 /**
799 * Uniquely identifies the backup plan to be associated with the selection of resources.
800 */
801 BackupPlanId: string;
802 /**
803 * Specifies the body of a request to assign a set of resources to a backup plan.
804 */
805 BackupSelection: BackupSelection;
806 /**
807 * A unique string that identifies the request and allows failed requests to be retried without the risk of executing the operation twice.
808 */
809 CreatorRequestId?: string;
810 }
811 export interface CreateBackupSelectionOutput {
812 /**
813 * Uniquely identifies the body of a request to assign a set of resources to a backup plan.
814 */
815 SelectionId?: string;
816 /**
817 * Uniquely identifies a backup plan.
818 */
819 BackupPlanId?: string;
820 /**
821 * The date and time a backup selection is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
822 */
823 CreationDate?: timestamp;
824 }
825 export interface CreateBackupVaultInput {
826 /**
827 * The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the AWS Region where they are created. They consist of lowercase letters, numbers, and hyphens.
828 */
829 BackupVaultName: BackupVaultName;
830 /**
831 * Metadata that you can assign to help organize the resources that you create. Each tag is a key-value pair.
832 */
833 BackupVaultTags?: Tags;
834 /**
835 * The server-side encryption key that is used to protect your backups; for example, arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab.
836 */
837 EncryptionKeyArn?: ARN;
838 /**
839 * A unique string that identifies the request and allows failed requests to be retried without the risk of executing the operation twice.
840 */
841 CreatorRequestId?: string;
842 }
843 export interface CreateBackupVaultOutput {
844 /**
845 * The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Region where they are created. They consist of lowercase letters, numbers, and hyphens.
846 */
847 BackupVaultName?: BackupVaultName;
848 /**
849 * An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
850 */
851 BackupVaultArn?: ARN;
852 /**
853 * The date and time a backup vault is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
854 */
855 CreationDate?: timestamp;
856 }
857 export type CronExpression = string;
858 export interface DeleteBackupPlanInput {
859 /**
860 * Uniquely identifies a backup plan.
861 */
862 BackupPlanId: string;
863 }
864 export interface DeleteBackupPlanOutput {
865 /**
866 * Uniquely identifies a backup plan.
867 */
868 BackupPlanId?: string;
869 /**
870 * An Amazon Resource Name (ARN) that uniquely identifies a backup plan; for example, arn:aws:backup:us-east-1:123456789012:plan:8F81F553-3A74-4A3F-B93D-B3360DC80C50.
871 */
872 BackupPlanArn?: ARN;
873 /**
874 * The date and time a backup plan is deleted, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
875 */
876 DeletionDate?: timestamp;
877 /**
878 * Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most 1,024 bytes long. Version Ids cannot be edited.
879 */
880 VersionId?: string;
881 }
882 export interface DeleteBackupSelectionInput {
883 /**
884 * Uniquely identifies a backup plan.
885 */
886 BackupPlanId: string;
887 /**
888 * Uniquely identifies the body of a request to assign a set of resources to a backup plan.
889 */
890 SelectionId: string;
891 }
892 export interface DeleteBackupVaultAccessPolicyInput {
893 /**
894 * The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the AWS Region where they are created. They consist of lowercase letters, numbers, and hyphens.
895 */
896 BackupVaultName: BackupVaultName;
897 }
898 export interface DeleteBackupVaultInput {
899 /**
900 * The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and theAWS Region where they are created. They consist of lowercase letters, numbers, and hyphens.
901 */
902 BackupVaultName: string;
903 }
904 export interface DeleteBackupVaultNotificationsInput {
905 /**
906 * The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Region where they are created. They consist of lowercase letters, numbers, and hyphens.
907 */
908 BackupVaultName: BackupVaultName;
909 }
910 export interface DeleteRecoveryPointInput {
911 /**
912 * The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the AWS Region where they are created. They consist of lowercase letters, numbers, and hyphens.
913 */
914 BackupVaultName: BackupVaultName;
915 /**
916 * An Amazon Resource Name (ARN) that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
917 */
918 RecoveryPointArn: ARN;
919 }
920 export interface DescribeBackupJobInput {
921 /**
922 * Uniquely identifies a request to AWS Backup to back up a resource.
923 */
924 BackupJobId: string;
925 }
926 export interface DescribeBackupJobOutput {
927 /**
928 * Uniquely identifies a request to AWS Backup to back up a resource.
929 */
930 BackupJobId?: string;
931 /**
932 * The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the AWS Region where they are created. They consist of lowercase letters, numbers, and hyphens.
933 */
934 BackupVaultName?: BackupVaultName;
935 /**
936 * An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
937 */
938 BackupVaultArn?: ARN;
939 /**
940 * An ARN that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
941 */
942 RecoveryPointArn?: ARN;
943 /**
944 * An ARN that uniquely identifies a saved resource. The format of the ARN depends on the resource type.
945 */
946 ResourceArn?: ARN;
947 /**
948 * The date and time that a backup job is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
949 */
950 CreationDate?: timestamp;
951 /**
952 * The date and time that a job to create a backup job is completed, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
953 */
954 CompletionDate?: timestamp;
955 /**
956 * The current state of a resource recovery point.
957 */
958 State?: BackupJobState;
959 /**
960 * A detailed message explaining the status of the job to back up a resource.
961 */
962 StatusMessage?: string;
963 /**
964 * Contains an estimated percentage that is complete of a job at the time the job status was queried.
965 */
966 PercentDone?: string;
967 /**
968 * The size, in bytes, of a backup.
969 */
970 BackupSizeInBytes?: Long;
971 /**
972 * Specifies the IAM role ARN used to create the target recovery point; for example, arn:aws:iam::123456789012:role/S3Access.
973 */
974 IamRoleArn?: IAMRoleArn;
975 /**
976 * Contains identifying information about the creation of a backup job, including the BackupPlanArn, BackupPlanId, BackupPlanVersion, and BackupRuleId of the backup plan that is used to create it.
977 */
978 CreatedBy?: RecoveryPointCreator;
979 /**
980 * The type of AWS resource to be backed-up; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.
981 */
982 ResourceType?: ResourceType;
983 /**
984 * The size in bytes transferred to a backup vault at the time that the job status was queried.
985 */
986 BytesTransferred?: Long;
987 /**
988 * The date and time that a job to back up resources is expected to be completed, in Unix format and Coordinated Universal Time (UTC). The value of ExpectedCompletionDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
989 */
990 ExpectedCompletionDate?: timestamp;
991 /**
992 * Specifies the time in Unix format and Coordinated Universal Time (UTC) when a backup job must be started before it is canceled. The value is calculated by adding the start window to the scheduled time. So if the scheduled time were 6:00 PM and the start window is 2 hours, the StartBy time would be 8:00 PM on the date specified. The value of StartBy is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
993 */
994 StartBy?: timestamp;
995 }
996 export interface DescribeBackupVaultInput {
997 /**
998 * The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the AWS Region where they are created. They consist of lowercase letters, numbers, and hyphens.
999 */
1000 BackupVaultName: string;
1001 }
1002 export interface DescribeBackupVaultOutput {
1003 /**
1004 * The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Region where they are created. They consist of lowercase letters, numbers, and hyphens.
1005 */
1006 BackupVaultName?: string;
1007 /**
1008 * An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
1009 */
1010 BackupVaultArn?: ARN;
1011 /**
1012 * The server-side encryption key that is used to protect your backups; for example, arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab.
1013 */
1014 EncryptionKeyArn?: ARN;
1015 /**
1016 * The date and time that a backup vault is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
1017 */
1018 CreationDate?: timestamp;
1019 /**
1020 * A unique string that identifies the request and allows failed requests to be retried without the risk of executing the operation twice.
1021 */
1022 CreatorRequestId?: string;
1023 /**
1024 * The number of recovery points that are stored in a backup vault.
1025 */
1026 NumberOfRecoveryPoints?: long;
1027 }
1028 export interface DescribeCopyJobInput {
1029 /**
1030 * Uniquely identifies a request to AWS Backup to copy a resource.
1031 */
1032 CopyJobId: string;
1033 }
1034 export interface DescribeCopyJobOutput {
1035 /**
1036 * Contains detailed information about a copy job.
1037 */
1038 CopyJob?: CopyJob;
1039 }
1040 export interface DescribeProtectedResourceInput {
1041 /**
1042 * An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.
1043 */
1044 ResourceArn: ARN;
1045 }
1046 export interface DescribeProtectedResourceOutput {
1047 /**
1048 * An ARN that uniquely identifies a resource. The format of the ARN depends on the resource type.
1049 */
1050 ResourceArn?: ARN;
1051 /**
1052 * The type of AWS resource saved as a recovery point; for example, an EBS volume or an Amazon RDS database.
1053 */
1054 ResourceType?: ResourceType;
1055 /**
1056 * The date and time that a resource was last backed up, in Unix format and Coordinated Universal Time (UTC). The value of LastBackupTime is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
1057 */
1058 LastBackupTime?: timestamp;
1059 }
1060 export interface DescribeRecoveryPointInput {
1061 /**
1062 * The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the AWS Region where they are created. They consist of lowercase letters, numbers, and hyphens.
1063 */
1064 BackupVaultName: BackupVaultName;
1065 /**
1066 * An Amazon Resource Name (ARN) that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
1067 */
1068 RecoveryPointArn: ARN;
1069 }
1070 export interface DescribeRecoveryPointOutput {
1071 /**
1072 * An ARN that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
1073 */
1074 RecoveryPointArn?: ARN;
1075 /**
1076 * The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Region where they are created. They consist of lowercase letters, numbers, and hyphens.
1077 */
1078 BackupVaultName?: BackupVaultName;
1079 /**
1080 * An ARN that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
1081 */
1082 BackupVaultArn?: ARN;
1083 /**
1084 * An ARN that uniquely identifies a saved resource. The format of the ARN depends on the resource type.
1085 */
1086 ResourceArn?: ARN;
1087 /**
1088 * The type of AWS resource to save as a recovery point; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.
1089 */
1090 ResourceType?: ResourceType;
1091 /**
1092 * Contains identifying information about the creation of a recovery point, including the BackupPlanArn, BackupPlanId, BackupPlanVersion, and BackupRuleId of the backup plan used to create it.
1093 */
1094 CreatedBy?: RecoveryPointCreator;
1095 /**
1096 * Specifies the IAM role ARN used to create the target recovery point; for example, arn:aws:iam::123456789012:role/S3Access.
1097 */
1098 IamRoleArn?: IAMRoleArn;
1099 /**
1100 * A status code specifying the state of the recovery point. A partial status indicates that the recovery point was not successfully re-created and must be retried.
1101 */
1102 Status?: RecoveryPointStatus;
1103 /**
1104 * The date and time that a recovery point is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
1105 */
1106 CreationDate?: timestamp;
1107 /**
1108 * The date and time that a job to create a recovery point is completed, in Unix format and Coordinated Universal Time (UTC). The value of CompletionDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
1109 */
1110 CompletionDate?: timestamp;
1111 /**
1112 * The size, in bytes, of a backup.
1113 */
1114 BackupSizeInBytes?: Long;
1115 /**
1116 * A CalculatedLifecycle object containing DeleteAt and MoveToColdStorageAt timestamps.
1117 */
1118 CalculatedLifecycle?: CalculatedLifecycle;
1119 /**
1120 * The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. AWS Backup transitions and expires backups automatically according to the lifecycle that you define. Backups that are transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the “expire after days” setting must be 90 days greater than the “transition to cold after days” setting. The “transition to cold after days” setting cannot be changed after a backup has been transitioned to cold.
1121 */
1122 Lifecycle?: Lifecycle;
1123 /**
1124 * The server-side encryption key used to protect your backups; for example, arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab.
1125 */
1126 EncryptionKeyArn?: ARN;
1127 /**
1128 * A Boolean value that is returned as TRUE if the specified recovery point is encrypted, or FALSE if the recovery point is not encrypted.
1129 */
1130 IsEncrypted?: boolean;
1131 /**
1132 * Specifies the storage class of the recovery point. Valid values are WARM or COLD.
1133 */
1134 StorageClass?: StorageClass;
1135 /**
1136 * The date and time that a recovery point was last restored, in Unix format and Coordinated Universal Time (UTC). The value of LastRestoreTime is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
1137 */
1138 LastRestoreTime?: timestamp;
1139 }
1140 export interface DescribeRestoreJobInput {
1141 /**
1142 * Uniquely identifies the job that restores a recovery point.
1143 */
1144 RestoreJobId: RestoreJobId;
1145 }
1146 export interface DescribeRestoreJobOutput {
1147 /**
1148 * Uniquely identifies the job that restores a recovery point.
1149 */
1150 RestoreJobId?: string;
1151 /**
1152 * An ARN that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
1153 */
1154 RecoveryPointArn?: ARN;
1155 /**
1156 * The date and time that a restore job is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
1157 */
1158 CreationDate?: timestamp;
1159 /**
1160 * The date and time that a job to restore a recovery point is completed, in Unix format and Coordinated Universal Time (UTC). The value of CompletionDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
1161 */
1162 CompletionDate?: timestamp;
1163 /**
1164 * Status code specifying the state of the job that is initiated by AWS Backup to restore a recovery point.
1165 */
1166 Status?: RestoreJobStatus;
1167 /**
1168 * A detailed message explaining the status of a job to restore a recovery point.
1169 */
1170 StatusMessage?: string;
1171 /**
1172 * Contains an estimated percentage that is complete of a job at the time the job status was queried.
1173 */
1174 PercentDone?: string;
1175 /**
1176 * The size, in bytes, of the restored resource.
1177 */
1178 BackupSizeInBytes?: Long;
1179 /**
1180 * Specifies the IAM role ARN used to create the target recovery point; for example, arn:aws:iam::123456789012:role/S3Access.
1181 */
1182 IamRoleArn?: IAMRoleArn;
1183 /**
1184 * The amount of time in minutes that a job restoring a recovery point is expected to take.
1185 */
1186 ExpectedCompletionTimeMinutes?: Long;
1187 /**
1188 * An Amazon Resource Name (ARN) that uniquely identifies a resource whose recovery point is being restored. The format of the ARN depends on the resource type of the backed-up resource.
1189 */
1190 CreatedResourceArn?: ARN;
1191 }
1192 export interface ExportBackupPlanTemplateInput {
1193 /**
1194 * Uniquely identifies a backup plan.
1195 */
1196 BackupPlanId: string;
1197 }
1198 export interface ExportBackupPlanTemplateOutput {
1199 /**
1200 * The body of a backup plan template in JSON format. This is a signed JSON document that cannot be modified before being passed to GetBackupPlanFromJSON.
1201 */
1202 BackupPlanTemplateJson?: string;
1203 }
1204 export interface GetBackupPlanFromJSONInput {
1205 /**
1206 * A customer-supplied backup plan document in JSON format.
1207 */
1208 BackupPlanTemplateJson: string;
1209 }
1210 export interface GetBackupPlanFromJSONOutput {
1211 /**
1212 * Specifies the body of a backup plan. Includes a BackupPlanName and one or more sets of Rules.
1213 */
1214 BackupPlan?: BackupPlan;
1215 }
1216 export interface GetBackupPlanFromTemplateInput {
1217 /**
1218 * Uniquely identifies a stored backup plan template.
1219 */
1220 BackupPlanTemplateId: string;
1221 }
1222 export interface GetBackupPlanFromTemplateOutput {
1223 /**
1224 * Returns the body of a backup plan based on the target template, including the name, rules, and backup vault of the plan.
1225 */
1226 BackupPlanDocument?: BackupPlan;
1227 }
1228 export interface GetBackupPlanInput {
1229 /**
1230 * Uniquely identifies a backup plan.
1231 */
1232 BackupPlanId: string;
1233 /**
1234 * Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most 1,024 bytes long. Version IDs cannot be edited.
1235 */
1236 VersionId?: string;
1237 }
1238 export interface GetBackupPlanOutput {
1239 /**
1240 * Specifies the body of a backup plan. Includes a BackupPlanName and one or more sets of Rules.
1241 */
1242 BackupPlan?: BackupPlan;
1243 /**
1244 * Uniquely identifies a backup plan.
1245 */
1246 BackupPlanId?: string;
1247 /**
1248 * An Amazon Resource Name (ARN) that uniquely identifies a backup plan; for example, arn:aws:backup:us-east-1:123456789012:plan:8F81F553-3A74-4A3F-B93D-B3360DC80C50.
1249 */
1250 BackupPlanArn?: ARN;
1251 /**
1252 * Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most 1,024 bytes long. Version IDs cannot be edited.
1253 */
1254 VersionId?: string;
1255 /**
1256 * A unique string that identifies the request and allows failed requests to be retried without the risk of executing the operation twice.
1257 */
1258 CreatorRequestId?: string;
1259 /**
1260 * The date and time that a backup plan is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
1261 */
1262 CreationDate?: timestamp;
1263 /**
1264 * The date and time that a backup plan is deleted, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
1265 */
1266 DeletionDate?: timestamp;
1267 /**
1268 * The last time a job to back up resources was executed with this backup plan. A date and time, in Unix format and Coordinated Universal Time (UTC). The value of LastExecutionDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
1269 */
1270 LastExecutionDate?: timestamp;
1271 }
1272 export interface GetBackupSelectionInput {
1273 /**
1274 * Uniquely identifies a backup plan.
1275 */
1276 BackupPlanId: string;
1277 /**
1278 * Uniquely identifies the body of a request to assign a set of resources to a backup plan.
1279 */
1280 SelectionId: string;
1281 }
1282 export interface GetBackupSelectionOutput {
1283 /**
1284 * Specifies the body of a request to assign a set of resources to a backup plan.
1285 */
1286 BackupSelection?: BackupSelection;
1287 /**
1288 * Uniquely identifies the body of a request to assign a set of resources to a backup plan.
1289 */
1290 SelectionId?: string;
1291 /**
1292 * Uniquely identifies a backup plan.
1293 */
1294 BackupPlanId?: string;
1295 /**
1296 * The date and time a backup selection is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
1297 */
1298 CreationDate?: timestamp;
1299 /**
1300 * A unique string that identifies the request and allows failed requests to be retried without the risk of executing the operation twice.
1301 */
1302 CreatorRequestId?: string;
1303 }
1304 export interface GetBackupVaultAccessPolicyInput {
1305 /**
1306 * The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the AWS Region where they are created. They consist of lowercase letters, numbers, and hyphens.
1307 */
1308 BackupVaultName: BackupVaultName;
1309 }
1310 export interface GetBackupVaultAccessPolicyOutput {
1311 /**
1312 * The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Region where they are created. They consist of lowercase letters, numbers, and hyphens.
1313 */
1314 BackupVaultName?: BackupVaultName;
1315 /**
1316 * An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
1317 */
1318 BackupVaultArn?: ARN;
1319 /**
1320 * The backup vault access policy document in JSON format.
1321 */
1322 Policy?: IAMPolicy;
1323 }
1324 export interface GetBackupVaultNotificationsInput {
1325 /**
1326 * The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the AWS Region where they are created. They consist of lowercase letters, numbers, and hyphens.
1327 */
1328 BackupVaultName: BackupVaultName;
1329 }
1330 export interface GetBackupVaultNotificationsOutput {
1331 /**
1332 * The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Region where they are created. They consist of lowercase letters, numbers, and hyphens.
1333 */
1334 BackupVaultName?: BackupVaultName;
1335 /**
1336 * An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
1337 */
1338 BackupVaultArn?: ARN;
1339 /**
1340 * An ARN that uniquely identifies an Amazon Simple Notification Service (Amazon SNS) topic; for example, arn:aws:sns:us-west-2:111122223333:MyTopic.
1341 */
1342 SNSTopicArn?: ARN;
1343 /**
1344 * An array of events that indicate the status of jobs to back up resources to the backup vault.
1345 */
1346 BackupVaultEvents?: BackupVaultEvents;
1347 }
1348 export interface GetRecoveryPointRestoreMetadataInput {
1349 /**
1350 * The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the AWS Region where they are created. They consist of lowercase letters, numbers, and hyphens.
1351 */
1352 BackupVaultName: BackupVaultName;
1353 /**
1354 * An Amazon Resource Name (ARN) that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
1355 */
1356 RecoveryPointArn: ARN;
1357 }
1358 export interface GetRecoveryPointRestoreMetadataOutput {
1359 /**
1360 * An ARN that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
1361 */
1362 BackupVaultArn?: ARN;
1363 /**
1364 * An ARN that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
1365 */
1366 RecoveryPointArn?: ARN;
1367 /**
1368 * The set of metadata key-value pairs that describes the original configuration of the backed-up resource. These values vary depending on the service that is being restored.
1369 */
1370 RestoreMetadata?: Metadata;
1371 }
1372 export interface GetSupportedResourceTypesOutput {
1373 /**
1374 * Contains a string with the supported AWS resource types: EBS for Amazon Elastic Block Store Storage Gateway for AWS Storage Gateway RDS for Amazon Relational Database Service DDB for Amazon DynamoDB EFS for Amazon Elastic File System
1375 */
1376 ResourceTypes?: ResourceTypes;
1377 }
1378 export type IAMPolicy = string;
1379 export type IAMRoleArn = string;
1380 export interface Lifecycle {
1381 /**
1382 * Specifies the number of days after creation that a recovery point is moved to cold storage.
1383 */
1384 MoveToColdStorageAfterDays?: Long;
1385 /**
1386 * Specifies the number of days after creation that a recovery point is deleted. Must be greater than 90 days plus MoveToColdStorageAfterDays.
1387 */
1388 DeleteAfterDays?: Long;
1389 }
1390 export interface ListBackupJobsInput {
1391 /**
1392 * The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.
1393 */
1394 NextToken?: string;
1395 /**
1396 * The maximum number of items to be returned.
1397 */
1398 MaxResults?: MaxResults;
1399 /**
1400 * Returns only backup jobs that match the specified resource Amazon Resource Name (ARN).
1401 */
1402 ByResourceArn?: ARN;
1403 /**
1404 * Returns only backup jobs that are in the specified state.
1405 */
1406 ByState?: BackupJobState;
1407 /**
1408 * Returns only backup jobs that will be stored in the specified backup vault. Backup vaults are identified by names that are unique to the account used to create them and the AWS Region where they are created. They consist of lowercase letters, numbers, and hyphens.
1409 */
1410 ByBackupVaultName?: BackupVaultName;
1411 /**
1412 * Returns only backup jobs that were created before the specified date.
1413 */
1414 ByCreatedBefore?: timestamp;
1415 /**
1416 * Returns only backup jobs that were created after the specified date.
1417 */
1418 ByCreatedAfter?: timestamp;
1419 /**
1420 * Returns only backup jobs for the specified resources: DynamoDB for Amazon DynamoDB EBS for Amazon Elastic Block Store EFS for Amazon Elastic File System RDS for Amazon Relational Database Service Storage Gateway for AWS Storage Gateway
1421 */
1422 ByResourceType?: ResourceType;
1423 }
1424 export interface ListBackupJobsOutput {
1425 /**
1426 * An array of structures containing metadata about your backup jobs returned in JSON format.
1427 */
1428 BackupJobs?: BackupJobsList;
1429 /**
1430 * The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.
1431 */
1432 NextToken?: string;
1433 }
1434 export interface ListBackupPlanTemplatesInput {
1435 /**
1436 * The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.
1437 */
1438 NextToken?: string;
1439 /**
1440 * The maximum number of items to be returned.
1441 */
1442 MaxResults?: MaxResults;
1443 }
1444 export interface ListBackupPlanTemplatesOutput {
1445 /**
1446 * The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.
1447 */
1448 NextToken?: string;
1449 /**
1450 * An array of template list items containing metadata about your saved templates.
1451 */
1452 BackupPlanTemplatesList?: BackupPlanTemplatesList;
1453 }
1454 export interface ListBackupPlanVersionsInput {
1455 /**
1456 * Uniquely identifies a backup plan.
1457 */
1458 BackupPlanId: string;
1459 /**
1460 * The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.
1461 */
1462 NextToken?: string;
1463 /**
1464 * The maximum number of items to be returned.
1465 */
1466 MaxResults?: MaxResults;
1467 }
1468 export interface ListBackupPlanVersionsOutput {
1469 /**
1470 * The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.
1471 */
1472 NextToken?: string;
1473 /**
1474 * An array of version list items containing metadata about your backup plans.
1475 */
1476 BackupPlanVersionsList?: BackupPlanVersionsList;
1477 }
1478 export interface ListBackupPlansInput {
1479 /**
1480 * The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.
1481 */
1482 NextToken?: string;
1483 /**
1484 * The maximum number of items to be returned.
1485 */
1486 MaxResults?: MaxResults;
1487 /**
1488 * A Boolean value with a default value of FALSE that returns deleted backup plans when set to TRUE.
1489 */
1490 IncludeDeleted?: Boolean;
1491 }
1492 export interface ListBackupPlansOutput {
1493 /**
1494 * The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.
1495 */
1496 NextToken?: string;
1497 /**
1498 * An array of backup plan list items containing metadata about your saved backup plans.
1499 */
1500 BackupPlansList?: BackupPlansList;
1501 }
1502 export interface ListBackupSelectionsInput {
1503 /**
1504 * Uniquely identifies a backup plan.
1505 */
1506 BackupPlanId: string;
1507 /**
1508 * The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.
1509 */
1510 NextToken?: string;
1511 /**
1512 * The maximum number of items to be returned.
1513 */
1514 MaxResults?: MaxResults;
1515 }
1516 export interface ListBackupSelectionsOutput {
1517 /**
1518 * The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.
1519 */
1520 NextToken?: string;
1521 /**
1522 * An array of backup selection list items containing metadata about each resource in the list.
1523 */
1524 BackupSelectionsList?: BackupSelectionsList;
1525 }
1526 export interface ListBackupVaultsInput {
1527 /**
1528 * The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.
1529 */
1530 NextToken?: string;
1531 /**
1532 * The maximum number of items to be returned.
1533 */
1534 MaxResults?: MaxResults;
1535 }
1536 export interface ListBackupVaultsOutput {
1537 /**
1538 * An array of backup vault list members containing vault metadata, including Amazon Resource Name (ARN), display name, creation date, number of saved recovery points, and encryption information if the resources saved in the backup vault are encrypted.
1539 */
1540 BackupVaultList?: BackupVaultList;
1541 /**
1542 * The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.
1543 */
1544 NextToken?: string;
1545 }
1546 export interface ListCopyJobsInput {
1547 /**
1548 * The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.
1549 */
1550 NextToken?: string;
1551 /**
1552 * The maximum number of items to be returned.
1553 */
1554 MaxResults?: MaxResults;
1555 /**
1556 * Returns only copy jobs that match the specified resource Amazon Resource Name (ARN).
1557 */
1558 ByResourceArn?: ARN;
1559 /**
1560 * Returns only copy jobs that are in the specified state.
1561 */
1562 ByState?: CopyJobState;
1563 /**
1564 * Returns only copy jobs that were created before the specified date.
1565 */
1566 ByCreatedBefore?: timestamp;
1567 /**
1568 * Returns only copy jobs that were created after the specified date.
1569 */
1570 ByCreatedAfter?: timestamp;
1571 /**
1572 * Returns only backup jobs for the specified resources: DynamoDB for Amazon DynamoDB EBS for Amazon Elastic Block Store EFS for Amazon Elastic File System RDS for Amazon Relational Database Service Storage Gateway for AWS Storage Gateway
1573 */
1574 ByResourceType?: ResourceType;
1575 /**
1576 * An Amazon Resource Name (ARN) that uniquely identifies a source backup vault to copy from; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
1577 */
1578 ByDestinationVaultArn?: string;
1579 }
1580 export interface ListCopyJobsOutput {
1581 /**
1582 * An array of structures containing metadata about your copy jobs returned in JSON format.
1583 */
1584 CopyJobs?: CopyJobsList;
1585 /**
1586 * The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.
1587 */
1588 NextToken?: string;
1589 }
1590 export type ListOfTags = Condition[];
1591 export interface ListProtectedResourcesInput {
1592 /**
1593 * The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.
1594 */
1595 NextToken?: string;
1596 /**
1597 * The maximum number of items to be returned.
1598 */
1599 MaxResults?: MaxResults;
1600 }
1601 export interface ListProtectedResourcesOutput {
1602 /**
1603 * An array of resources successfully backed up by AWS Backup including the time the resource was saved, an Amazon Resource Name (ARN) of the resource, and a resource type.
1604 */
1605 Results?: ProtectedResourcesList;
1606 /**
1607 * The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.
1608 */
1609 NextToken?: string;
1610 }
1611 export interface ListRecoveryPointsByBackupVaultInput {
1612 /**
1613 * The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the AWS Region where they are created. They consist of lowercase letters, numbers, and hyphens.
1614 */
1615 BackupVaultName: BackupVaultName;
1616 /**
1617 * The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.
1618 */
1619 NextToken?: string;
1620 /**
1621 * The maximum number of items to be returned.
1622 */
1623 MaxResults?: MaxResults;
1624 /**
1625 * Returns only recovery points that match the specified resource Amazon Resource Name (ARN).
1626 */
1627 ByResourceArn?: ARN;
1628 /**
1629 * Returns only recovery points that match the specified resource type.
1630 */
1631 ByResourceType?: ResourceType;
1632 /**
1633 * Returns only recovery points that match the specified backup plan ID.
1634 */
1635 ByBackupPlanId?: string;
1636 /**
1637 * Returns only recovery points that were created before the specified timestamp.
1638 */
1639 ByCreatedBefore?: timestamp;
1640 /**
1641 * Returns only recovery points that were created after the specified timestamp.
1642 */
1643 ByCreatedAfter?: timestamp;
1644 }
1645 export interface ListRecoveryPointsByBackupVaultOutput {
1646 /**
1647 * The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.
1648 */
1649 NextToken?: string;
1650 /**
1651 * An array of objects that contain detailed information about recovery points saved in a backup vault.
1652 */
1653 RecoveryPoints?: RecoveryPointByBackupVaultList;
1654 }
1655 export interface ListRecoveryPointsByResourceInput {
1656 /**
1657 * An ARN that uniquely identifies a resource. The format of the ARN depends on the resource type.
1658 */
1659 ResourceArn: ARN;
1660 /**
1661 * The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.
1662 */
1663 NextToken?: string;
1664 /**
1665 * The maximum number of items to be returned.
1666 */
1667 MaxResults?: MaxResults;
1668 }
1669 export interface ListRecoveryPointsByResourceOutput {
1670 /**
1671 * The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.
1672 */
1673 NextToken?: string;
1674 /**
1675 * An array of objects that contain detailed information about recovery points of the specified resource type.
1676 */
1677 RecoveryPoints?: RecoveryPointByResourceList;
1678 }
1679 export interface ListRestoreJobsInput {
1680 /**
1681 * The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.
1682 */
1683 NextToken?: string;
1684 /**
1685 * The maximum number of items to be returned.
1686 */
1687 MaxResults?: MaxResults;
1688 }
1689 export interface ListRestoreJobsOutput {
1690 /**
1691 * An array of objects that contain detailed information about jobs to restore saved resources.
1692 */
1693 RestoreJobs?: RestoreJobsList;
1694 /**
1695 * The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.
1696 */
1697 NextToken?: string;
1698 }
1699 export interface ListTagsInput {
1700 /**
1701 * An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the type of resource. Valid targets for ListTags are recovery points, backup plans, and backup vaults.
1702 */
1703 ResourceArn: ARN;
1704 /**
1705 * The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.
1706 */
1707 NextToken?: string;
1708 /**
1709 * The maximum number of items to be returned.
1710 */
1711 MaxResults?: MaxResults;
1712 }
1713 export interface ListTagsOutput {
1714 /**
1715 * The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.
1716 */
1717 NextToken?: string;
1718 /**
1719 * To help organize your resources, you can assign your own metadata to the resources you create. Each tag is a key-value pair.
1720 */
1721 Tags?: Tags;
1722 }
1723 export type Long = number;
1724 export type MaxResults = number;
1725 export type Metadata = {[key: string]: MetadataValue};
1726 export type MetadataKey = string;
1727 export type MetadataValue = string;
1728 export interface ProtectedResource {
1729 /**
1730 * An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.
1731 */
1732 ResourceArn?: ARN;
1733 /**
1734 * The type of AWS resource; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.
1735 */
1736 ResourceType?: ResourceType;
1737 /**
1738 * The date and time a resource was last backed up, in Unix format and Coordinated Universal Time (UTC). The value of LastBackupTime is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
1739 */
1740 LastBackupTime?: timestamp;
1741 }
1742 export type ProtectedResourcesList = ProtectedResource[];
1743 export interface PutBackupVaultAccessPolicyInput {
1744 /**
1745 * The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the AWS Region where they are created. They consist of lowercase letters, numbers, and hyphens.
1746 */
1747 BackupVaultName: BackupVaultName;
1748 /**
1749 * The backup vault access policy document in JSON format.
1750 */
1751 Policy?: IAMPolicy;
1752 }
1753 export interface PutBackupVaultNotificationsInput {
1754 /**
1755 * The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the AWS Region where they are created. They consist of lowercase letters, numbers, and hyphens.
1756 */
1757 BackupVaultName: BackupVaultName;
1758 /**
1759 * The Amazon Resource Name (ARN) that specifies the topic for a backup vault’s events; for example, arn:aws:sns:us-west-2:111122223333:MyVaultTopic.
1760 */
1761 SNSTopicArn: ARN;
1762 /**
1763 * An array of events that indicate the status of jobs to back up resources to the backup vault.
1764 */
1765 BackupVaultEvents: BackupVaultEvents;
1766 }
1767 export interface RecoveryPointByBackupVault {
1768 /**
1769 * An Amazon Resource Name (ARN) that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
1770 */
1771 RecoveryPointArn?: ARN;
1772 /**
1773 * The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the AWS Region where they are created. They consist of lowercase letters, numbers, and hyphens.
1774 */
1775 BackupVaultName?: BackupVaultName;
1776 /**
1777 * An ARN that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
1778 */
1779 BackupVaultArn?: ARN;
1780 /**
1781 * An ARN that uniquely identifies a resource. The format of the ARN depends on the resource type.
1782 */
1783 ResourceArn?: ARN;
1784 /**
1785 * The type of AWS resource saved as a recovery point; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.
1786 */
1787 ResourceType?: ResourceType;
1788 /**
1789 * Contains identifying information about the creation of a recovery point, including the BackupPlanArn, BackupPlanId, BackupPlanVersion, and BackupRuleId of the backup plan that is used to create it.
1790 */
1791 CreatedBy?: RecoveryPointCreator;
1792 /**
1793 * Specifies the IAM role ARN used to create the target recovery point; for example, arn:aws:iam::123456789012:role/S3Access.
1794 */
1795 IamRoleArn?: IAMRoleArn;
1796 /**
1797 * A status code specifying the state of the recovery point.
1798 */
1799 Status?: RecoveryPointStatus;
1800 /**
1801 * The date and time a recovery point is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
1802 */
1803 CreationDate?: timestamp;
1804 /**
1805 * The date and time a job to restore a recovery point is completed, in Unix format and Coordinated Universal Time (UTC). The value of CompletionDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
1806 */
1807 CompletionDate?: timestamp;
1808 /**
1809 * The size, in bytes, of a backup.
1810 */
1811 BackupSizeInBytes?: Long;
1812 /**
1813 * A CalculatedLifecycle object containing DeleteAt and MoveToColdStorageAt timestamps.
1814 */
1815 CalculatedLifecycle?: CalculatedLifecycle;
1816 /**
1817 * The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. AWS Backup transitions and expires backups automatically according to the lifecycle that you define. Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the “expire after days” setting must be 90 days greater than the “transition to cold after days” setting. The “transition to cold after days” setting cannot be changed after a backup has been transitioned to cold.
1818 */
1819 Lifecycle?: Lifecycle;
1820 /**
1821 * The server-side encryption key that is used to protect your backups; for example, arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab.
1822 */
1823 EncryptionKeyArn?: ARN;
1824 /**
1825 * A Boolean value that is returned as TRUE if the specified recovery point is encrypted, or FALSE if the recovery point is not encrypted.
1826 */
1827 IsEncrypted?: boolean;
1828 /**
1829 * The date and time a recovery point was last restored, in Unix format and Coordinated Universal Time (UTC). The value of LastRestoreTime is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
1830 */
1831 LastRestoreTime?: timestamp;
1832 }
1833 export type RecoveryPointByBackupVaultList = RecoveryPointByBackupVault[];
1834 export interface RecoveryPointByResource {
1835 /**
1836 * An Amazon Resource Name (ARN) that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
1837 */
1838 RecoveryPointArn?: ARN;
1839 /**
1840 * The date and time a recovery point is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
1841 */
1842 CreationDate?: timestamp;
1843 /**
1844 * A status code specifying the state of the recovery point.
1845 */
1846 Status?: RecoveryPointStatus;
1847 /**
1848 * The server-side encryption key that is used to protect your backups; for example, arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab.
1849 */
1850 EncryptionKeyArn?: ARN;
1851 /**
1852 * The size, in bytes, of a backup.
1853 */
1854 BackupSizeBytes?: Long;
1855 /**
1856 * The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the AWS Region where they are created. They consist of lowercase letters, numbers, and hyphens.
1857 */
1858 BackupVaultName?: BackupVaultName;
1859 }
1860 export type RecoveryPointByResourceList = RecoveryPointByResource[];
1861 export interface RecoveryPointCreator {
1862 /**
1863 * Uniquely identifies a backup plan.
1864 */
1865 BackupPlanId?: string;
1866 /**
1867 * An Amazon Resource Name (ARN) that uniquely identifies a backup plan; for example, arn:aws:backup:us-east-1:123456789012:plan:8F81F553-3A74-4A3F-B93D-B3360DC80C50.
1868 */
1869 BackupPlanArn?: ARN;
1870 /**
1871 * Version IDs are unique, randomly generated, Unicode, UTF-8 encoded strings that are at most 1,024 bytes long. They cannot be edited.
1872 */
1873 BackupPlanVersion?: string;
1874 /**
1875 * Uniquely identifies a rule used to schedule the backup of a selection of resources.
1876 */
1877 BackupRuleId?: string;
1878 }
1879 export type RecoveryPointStatus = "COMPLETED"|"PARTIAL"|"DELETING"|"EXPIRED"|string;
1880 export type ResourceArns = ARN[];
1881 export type ResourceType = string;
1882 export type ResourceTypes = ResourceType[];
1883 export type RestoreJobId = string;
1884 export type RestoreJobStatus = "PENDING"|"RUNNING"|"COMPLETED"|"ABORTED"|"FAILED"|string;
1885 export type RestoreJobsList = RestoreJobsListMember[];
1886 export interface RestoreJobsListMember {
1887 /**
1888 * Uniquely identifies the job that restores a recovery point.
1889 */
1890 RestoreJobId?: string;
1891 /**
1892 * An ARN that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
1893 */
1894 RecoveryPointArn?: ARN;
1895 /**
1896 * The date and time a restore job is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
1897 */
1898 CreationDate?: timestamp;
1899 /**
1900 * The date and time a job to restore a recovery point is completed, in Unix format and Coordinated Universal Time (UTC). The value of CompletionDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
1901 */
1902 CompletionDate?: timestamp;
1903 /**
1904 * A status code specifying the state of the job initiated by AWS Backup to restore a recovery point.
1905 */
1906 Status?: RestoreJobStatus;
1907 /**
1908 * A detailed message explaining the status of the job to restore a recovery point.
1909 */
1910 StatusMessage?: string;
1911 /**
1912 * Contains an estimated percentage complete of a job at the time the job status was queried.
1913 */
1914 PercentDone?: string;
1915 /**
1916 * The size, in bytes, of the restored resource.
1917 */
1918 BackupSizeInBytes?: Long;
1919 /**
1920 * Specifies the IAM role ARN used to create the target recovery point; for example, arn:aws:iam::123456789012:role/S3Access.
1921 */
1922 IamRoleArn?: IAMRoleArn;
1923 /**
1924 * The amount of time in minutes that a job restoring a recovery point is expected to take.
1925 */
1926 ExpectedCompletionTimeMinutes?: Long;
1927 /**
1928 * An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.
1929 */
1930 CreatedResourceArn?: ARN;
1931 }
1932 export interface StartBackupJobInput {
1933 /**
1934 * The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the AWS Region where they are created. They consist of lowercase letters, numbers, and hyphens.
1935 */
1936 BackupVaultName: BackupVaultName;
1937 /**
1938 * An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.
1939 */
1940 ResourceArn: ARN;
1941 /**
1942 * Specifies the IAM role ARN used to create the target recovery point; for example, arn:aws:iam::123456789012:role/S3Access.
1943 */
1944 IamRoleArn: IAMRoleArn;
1945 /**
1946 * A customer chosen string that can be used to distinguish between calls to StartBackupJob.
1947 */
1948 IdempotencyToken?: string;
1949 /**
1950 * The amount of time in minutes before beginning a backup.
1951 */
1952 StartWindowMinutes?: WindowMinutes;
1953 /**
1954 * The amount of time AWS Backup attempts a backup before canceling the job and returning an error.
1955 */
1956 CompleteWindowMinutes?: WindowMinutes;
1957 /**
1958 * The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. AWS Backup will transition and expire backups automatically according to the lifecycle that you define. Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the “expire after days” setting must be 90 days greater than the “transition to cold after days” setting. The “transition to cold after days” setting cannot be changed after a backup has been transitioned to cold.
1959 */
1960 Lifecycle?: Lifecycle;
1961 /**
1962 * To help organize your resources, you can assign your own metadata to the resources that you create. Each tag is a key-value pair.
1963 */
1964 RecoveryPointTags?: Tags;
1965 }
1966 export interface StartBackupJobOutput {
1967 /**
1968 * Uniquely identifies a request to AWS Backup to back up a resource.
1969 */
1970 BackupJobId?: string;
1971 /**
1972 * An ARN that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
1973 */
1974 RecoveryPointArn?: ARN;
1975 /**
1976 * The date and time that a backup job is started, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
1977 */
1978 CreationDate?: timestamp;
1979 }
1980 export interface StartCopyJobInput {
1981 /**
1982 * An ARN that uniquely identifies a recovery point to use for the copy job; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
1983 */
1984 RecoveryPointArn: ARN;
1985 /**
1986 * The name of a logical source container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the AWS Region where they are created. They consist of lowercase letters, numbers, and hyphens. &gt;
1987 */
1988 SourceBackupVaultName: BackupVaultName;
1989 /**
1990 * An Amazon Resource Name (ARN) that uniquely identifies a destination backup vault to copy to; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
1991 */
1992 DestinationBackupVaultArn: ARN;
1993 /**
1994 * Specifies the IAM role ARN used to copy the target recovery point; for example, arn:aws:iam::123456789012:role/S3Access.
1995 */
1996 IamRoleArn: IAMRoleArn;
1997 /**
1998 * A customer chosen string that can be used to distinguish between calls to StartCopyJob.
1999 */
2000 IdempotencyToken?: string;
2001 Lifecycle?: Lifecycle;
2002 }
2003 export interface StartCopyJobOutput {
2004 /**
2005 * Uniquely identifies a request to AWS Backup to copy a resource.
2006 */
2007 CopyJobId?: string;
2008 /**
2009 * The date and time that a backup job is started, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM. &gt;
2010 */
2011 CreationDate?: timestamp;
2012 }
2013 export interface StartRestoreJobInput {
2014 /**
2015 * An ARN that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
2016 */
2017 RecoveryPointArn: ARN;
2018 /**
2019 * A set of metadata key-value pairs. Contains information, such as a resource name, required to restore a recovery point. You can get configuration metadata about a resource at the time it was backed-up by calling GetRecoveryPointRestoreMetadata. However, values in addition to those provided by GetRecoveryPointRestoreMetadata might be required to restore a resource. For example, you might need to provide a new resource name if the original already exists. You need to specify specific metadata to restore an Amazon Elastic File System (Amazon EFS) instance: file-system-id: ID of the Amazon EFS file system that is backed up by AWS Backup. Returned in GetRecoveryPointRestoreMetadata. Encrypted: A Boolean value that, if true, specifies that the file system is encrypted. If KmsKeyId is specified, Encrypted must be set to true. KmsKeyId: Specifies the AWS KMS key that is used to encrypt the restored file system. PerformanceMode: Specifies the throughput mode of the file system. CreationToken: A user-supplied value that ensures the uniqueness (idempotency) of the request. newFileSystem: A Boolean value that, if true, specifies that the recovery point is restored to a new Amazon EFS file system.
2020 */
2021 Metadata: Metadata;
2022 /**
2023 * The Amazon Resource Name (ARN) of the IAM role that AWS Backup uses to create the target recovery point; for example, arn:aws:iam::123456789012:role/S3Access.
2024 */
2025 IamRoleArn: IAMRoleArn;
2026 /**
2027 * A customer chosen string that can be used to distinguish between calls to StartRestoreJob.
2028 */
2029 IdempotencyToken?: string;
2030 /**
2031 * Starts a job to restore a recovery point for one of the following resources: EBS for Amazon Elastic Block Store Storage Gateway for AWS Storage Gateway RDS for Amazon Relational Database Service DDB for Amazon DynamoDB EFS for Amazon Elastic File System
2032 */
2033 ResourceType?: ResourceType;
2034 }
2035 export interface StartRestoreJobOutput {
2036 /**
2037 * Uniquely identifies the job that restores a recovery point.
2038 */
2039 RestoreJobId?: RestoreJobId;
2040 }
2041 export interface StopBackupJobInput {
2042 /**
2043 * Uniquely identifies a request to AWS Backup to back up a resource.
2044 */
2045 BackupJobId: string;
2046 }
2047 export type StorageClass = "WARM"|"COLD"|"DELETED"|string;
2048 export type TagKey = string;
2049 export type TagKeyList = string[];
2050 export interface TagResourceInput {
2051 /**
2052 * An ARN that uniquely identifies a resource. The format of the ARN depends on the type of the tagged resource.
2053 */
2054 ResourceArn: ARN;
2055 /**
2056 * Key-value pairs that are used to help organize your resources. You can assign your own metadata to the resources you create.
2057 */
2058 Tags: Tags;
2059 }
2060 export type TagValue = string;
2061 export type Tags = {[key: string]: TagValue};
2062 export interface UntagResourceInput {
2063 /**
2064 * An ARN that uniquely identifies a resource. The format of the ARN depends on the type of the tagged resource.
2065 */
2066 ResourceArn: ARN;
2067 /**
2068 * A list of keys to identify which key-value tags to remove from a resource.
2069 */
2070 TagKeyList: TagKeyList;
2071 }
2072 export interface UpdateBackupPlanInput {
2073 /**
2074 * Uniquely identifies a backup plan.
2075 */
2076 BackupPlanId: string;
2077 /**
2078 * Specifies the body of a backup plan. Includes a BackupPlanName and one or more sets of Rules.
2079 */
2080 BackupPlan: BackupPlanInput;
2081 }
2082 export interface UpdateBackupPlanOutput {
2083 /**
2084 * Uniquely identifies a backup plan.
2085 */
2086 BackupPlanId?: string;
2087 /**
2088 * An Amazon Resource Name (ARN) that uniquely identifies a backup plan; for example, arn:aws:backup:us-east-1:123456789012:plan:8F81F553-3A74-4A3F-B93D-B3360DC80C50.
2089 */
2090 BackupPlanArn?: ARN;
2091 /**
2092 * The date and time a backup plan is updated, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
2093 */
2094 CreationDate?: timestamp;
2095 /**
2096 * Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most 1,024 bytes long. Version Ids cannot be edited.
2097 */
2098 VersionId?: string;
2099 }
2100 export interface UpdateRecoveryPointLifecycleInput {
2101 /**
2102 * The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the AWS Region where they are created. They consist of lowercase letters, numbers, and hyphens.
2103 */
2104 BackupVaultName: BackupVaultName;
2105 /**
2106 * An Amazon Resource Name (ARN) that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
2107 */
2108 RecoveryPointArn: ARN;
2109 /**
2110 * The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. AWS Backup transitions and expires backups automatically according to the lifecycle that you define. Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the “expire after days” setting must be 90 days greater than the “transition to cold after days” setting. The “transition to cold after days” setting cannot be changed after a backup has been transitioned to cold.
2111 */
2112 Lifecycle?: Lifecycle;
2113 }
2114 export interface UpdateRecoveryPointLifecycleOutput {
2115 /**
2116 * An ARN that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
2117 */
2118 BackupVaultArn?: ARN;
2119 /**
2120 * An Amazon Resource Name (ARN) that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
2121 */
2122 RecoveryPointArn?: ARN;
2123 /**
2124 * The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. AWS Backup transitions and expires backups automatically according to the lifecycle that you define. Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the “expire after days” setting must be 90 days greater than the “transition to cold after days” setting. The “transition to cold after days” setting cannot be changed after a backup has been transitioned to cold.
2125 */
2126 Lifecycle?: Lifecycle;
2127 /**
2128 * A CalculatedLifecycle object containing DeleteAt and MoveToColdStorageAt timestamps.
2129 */
2130 CalculatedLifecycle?: CalculatedLifecycle;
2131 }
2132 export type WindowMinutes = number;
2133 export type long = number;
2134 export type timestamp = Date;
2135 /**
2136 * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
2137 */
2138 export type apiVersion = "2018-11-15"|"latest"|string;
2139 export interface ClientApiVersions {
2140 /**
2141 * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
2142 */
2143 apiVersion?: apiVersion;
2144 }
2145 export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
2146 /**
2147 * Contains interfaces for use with the Backup client.
2148 */
2149 export import Types = Backup;
2150}
2151export = Backup;