Skip to content

Commit 675216b

Browse files
author
AWS
committed
AWS Backup Update: Added support for enabling continuous backups.
1 parent 24cbe2b commit 675216b

File tree

2 files changed

+81
-9
lines changed

2 files changed

+81
-9
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS Backup",
4+
"contributor": "",
5+
"description": "Added support for enabling continuous backups."
6+
}

services/backup/src/main/resources/codegen-resources/service-2.json

Lines changed: 75 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -156,10 +156,11 @@
156156
{"shape":"ResourceNotFoundException"},
157157
{"shape":"InvalidParameterValueException"},
158158
{"shape":"MissingParameterValueException"},
159+
{"shape":"InvalidResourceStateException"},
159160
{"shape":"ServiceUnavailableException"},
160161
{"shape":"InvalidRequestException"}
161162
],
162-
"documentation":"<p>Deletes the recovery point specified by a recovery point ID.</p>",
163+
"documentation":"<p>Deletes the recovery point specified by a recovery point ID.</p> <p>If the recovery point ID belongs to a continuous backup, calling this endpoint deletes the existing continuous backup and stops future continuous backup.</p>",
163164
"idempotent":true
164165
},
165166
"DescribeBackupJob":{
@@ -223,6 +224,7 @@
223224
"input":{"shape":"DescribeGlobalSettingsInput"},
224225
"output":{"shape":"DescribeGlobalSettingsOutput"},
225226
"errors":[
227+
{"shape":"InvalidRequestException"},
226228
{"shape":"ServiceUnavailableException"}
227229
],
228230
"documentation":"<p>Describes the global settings of the AWS account, including whether it is opted in to cross-account backup.</p>"
@@ -292,6 +294,23 @@
292294
"documentation":"<p>Returns metadata associated with a restore job that is specified by a job ID.</p>",
293295
"idempotent":true
294296
},
297+
"DisassociateRecoveryPoint":{
298+
"name":"DisassociateRecoveryPoint",
299+
"http":{
300+
"method":"POST",
301+
"requestUri":"/backup-vaults/{backupVaultName}/recovery-points/{recoveryPointArn}/disassociate"
302+
},
303+
"input":{"shape":"DisassociateRecoveryPointInput"},
304+
"errors":[
305+
{"shape":"ResourceNotFoundException"},
306+
{"shape":"InvalidParameterValueException"},
307+
{"shape":"MissingParameterValueException"},
308+
{"shape":"InvalidResourceStateException"},
309+
{"shape":"ServiceUnavailableException"},
310+
{"shape":"InvalidRequestException"}
311+
],
312+
"documentation":"<p>Deletes the specified continuous backup recovery point from AWS Backup and releases control of that continuous backup to the source service, such as Amazon RDS. The source service will continue to create and retain continuous backups using the lifecycle that you specified in your original backup plan.</p> <p>Does not support snapshot backup recovery points.</p>"
313+
},
295314
"ExportBackupPlanTemplate":{
296315
"name":"ExportBackupPlanTemplate",
297316
"http":{
@@ -322,7 +341,7 @@
322341
{"shape":"MissingParameterValueException"},
323342
{"shape":"ServiceUnavailableException"}
324343
],
325-
"documentation":"<p>Returns <code>BackupPlan</code> details for the specified <code>BackupPlanId</code>. Returns the body of a backup plan in JSON format, in addition to plan metadata.</p>",
344+
"documentation":"<p>Returns <code>BackupPlan</code> details for the specified <code>BackupPlanId</code>. The details are the body of a backup plan in JSON format, in addition to plan metadata.</p>",
326345
"idempotent":true
327346
},
328347
"GetBackupPlanFromJSON":{
@@ -450,7 +469,7 @@
450469
{"shape":"InvalidParameterValueException"},
451470
{"shape":"ServiceUnavailableException"}
452471
],
453-
"documentation":"<p>Returns a list of existing backup jobs for an authenticated account.</p>",
472+
"documentation":"<p>Returns a list of existing backup jobs for an authenticated account for the last 30 days. For a longer period of time, consider using these <a href=\"https://docs.aws.amazon.com/aws-backup/latest/devguide/monitoring.html\">monitoring tools</a>.</p>",
454473
"idempotent":true
455474
},
456475
"ListBackupPlanTemplates":{
@@ -698,9 +717,10 @@
698717
{"shape":"InvalidParameterValueException"},
699718
{"shape":"MissingParameterValueException"},
700719
{"shape":"ServiceUnavailableException"},
701-
{"shape":"LimitExceededException"}
720+
{"shape":"LimitExceededException"},
721+
{"shape":"InvalidRequestException"}
702722
],
703-
"documentation":"<p>Starts a job to create a one-time copy of the specified resource.</p>",
723+
"documentation":"<p>Starts a job to create a one-time copy of the specified resource.</p> <p>Does not support continuous backups.</p>",
704724
"idempotent":true
705725
},
706726
"StartRestoreJob":{
@@ -717,7 +737,7 @@
717737
{"shape":"MissingParameterValueException"},
718738
{"shape":"ServiceUnavailableException"}
719739
],
720-
"documentation":"<p>Recovers the saved resource identified by an Amazon Resource Name (ARN). </p>",
740+
"documentation":"<p>Recovers the saved resource identified by an Amazon Resource Name (ARN).</p>",
721741
"idempotent":true
722742
},
723743
"StopBackupJob":{
@@ -815,7 +835,7 @@
815835
{"shape":"MissingParameterValueException"},
816836
{"shape":"ServiceUnavailableException"}
817837
],
818-
"documentation":"<p>Sets the transition lifecycle of a recovery point.</p> <p>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. </p> <p>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. </p> <p>Only Amazon EFS file system backups can be transitioned to cold storage.</p>",
838+
"documentation":"<p>Sets the transition lifecycle of a recovery point.</p> <p>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.</p> <p>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.</p> <p>Only Amazon EFS file system backups can be transitioned to cold storage.</p> <p>Does not support continuous backups.</p>",
819839
"idempotent":true
820840
},
821841
"UpdateRegionSettings":{
@@ -1153,6 +1173,10 @@
11531173
"CopyActions":{
11541174
"shape":"CopyActions",
11551175
"documentation":"<p>An array of <code>CopyAction</code> objects, which contains the details of the copy operation.</p>"
1176+
},
1177+
"EnableContinuousBackup":{
1178+
"shape":"Boolean",
1179+
"documentation":"<p>Specifies whether AWS Backup creates continuous backups. True causes AWS Backup to create continuous backups capable of point-in-time restore (PITR). False (or not specified) causes AWS Backup to create snapshot backups.</p>"
11561180
}
11571181
},
11581182
"documentation":"<p>Specifies a scheduled task used to back up a selection of resources.</p>"
@@ -1195,6 +1219,10 @@
11951219
"CopyActions":{
11961220
"shape":"CopyActions",
11971221
"documentation":"<p>An array of <code>CopyAction</code> objects, which contains the details of the copy operation.</p>"
1222+
},
1223+
"EnableContinuousBackup":{
1224+
"shape":"Boolean",
1225+
"documentation":"<p>Specifies whether AWS Backup creates continuous backups. True causes AWS Backup to create continuous backups capable of point-in-time restore (PITR). False (or not specified) causes AWS Backup to create snapshot backups.</p>"
11981226
}
11991227
},
12001228
"documentation":"<p>Specifies a scheduled task used to back up a selection of resources.</p>"
@@ -1455,7 +1483,7 @@
14551483
"CreatedBy":{"shape":"RecoveryPointCreator"},
14561484
"ResourceType":{
14571485
"shape":"ResourceType",
1458-
"documentation":"<p>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. </p>"
1486+
"documentation":"<p>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.</p>"
14591487
}
14601488
},
14611489
"documentation":"<p>Contains detailed information about a copy job.</p>"
@@ -2114,6 +2142,27 @@
21142142
}
21152143
}
21162144
},
2145+
"DisassociateRecoveryPointInput":{
2146+
"type":"structure",
2147+
"required":[
2148+
"BackupVaultName",
2149+
"RecoveryPointArn"
2150+
],
2151+
"members":{
2152+
"BackupVaultName":{
2153+
"shape":"BackupVaultName",
2154+
"documentation":"<p>The unique name of an AWS Backup vault. Required.</p>",
2155+
"location":"uri",
2156+
"locationName":"backupVaultName"
2157+
},
2158+
"RecoveryPointArn":{
2159+
"shape":"ARN",
2160+
"documentation":"<p>An Amazon Resource Name (ARN) that uniquely identifies an AWS Backup recovery point. Required.</p>",
2161+
"location":"uri",
2162+
"locationName":"recoveryPointArn"
2163+
}
2164+
}
2165+
},
21172166
"ExportBackupPlanTemplateInput":{
21182167
"type":"structure",
21192168
"required":["BackupPlanId"],
@@ -2432,6 +2481,23 @@
24322481
"documentation":"<p>Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.</p>",
24332482
"exception":true
24342483
},
2484+
"InvalidResourceStateException":{
2485+
"type":"structure",
2486+
"members":{
2487+
"Code":{"shape":"string"},
2488+
"Message":{"shape":"string"},
2489+
"Type":{
2490+
"shape":"string",
2491+
"documentation":"<p/>"
2492+
},
2493+
"Context":{
2494+
"shape":"string",
2495+
"documentation":"<p/>"
2496+
}
2497+
},
2498+
"documentation":"<p>AWS Backup is already performing an action on this recovery point. It can't perform the action you requested until the first action finishes. Try again later.</p>",
2499+
"exception":true
2500+
},
24352501
"IsEnabled":{"type":"boolean"},
24362502
"Lifecycle":{
24372503
"type":"structure",
@@ -3556,7 +3622,7 @@
35563622
},
35573623
"Tags":{
35583624
"shape":"Tags",
3559-
"documentation":"<p>Key-value pairs that are used to help organize your resources. You can assign your own metadata to the resources you create. </p>"
3625+
"documentation":"<p>Key-value pairs that are used to help organize your resources. You can assign your own metadata to the resources you create.</p>"
35603626
}
35613627
}
35623628
},

0 commit comments

Comments
 (0)