Skip to content

Commit c1a3d12

Browse files
author
AWS
committed
AWS Backup Update: AWS Backup now supports cross-account backup, enabling AWS customers to securely copy their backups across their AWS accounts within their AWS organizations.
1 parent 0e3cfe4 commit c1a3d12

File tree

2 files changed

+81
-4
lines changed

2 files changed

+81
-4
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": "AWS Backup now supports cross-account backup, enabling AWS customers to securely copy their backups across their AWS accounts within their AWS organizations."
6+
}

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

Lines changed: 75 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,19 @@
214214
"documentation":"<p>Returns metadata associated with creating a copy of a resource.</p>",
215215
"idempotent":true
216216
},
217+
"DescribeGlobalSettings":{
218+
"name":"DescribeGlobalSettings",
219+
"http":{
220+
"method":"GET",
221+
"requestUri":"/global-settings"
222+
},
223+
"input":{"shape":"DescribeGlobalSettingsInput"},
224+
"output":{"shape":"DescribeGlobalSettingsOutput"},
225+
"errors":[
226+
{"shape":"ServiceUnavailableException"}
227+
],
228+
"documentation":"<p>The current feature settings for the AWS Account.</p>"
229+
},
217230
"DescribeProtectedResource":{
218231
"name":"DescribeProtectedResource",
219232
"http":{
@@ -259,7 +272,7 @@
259272
"errors":[
260273
{"shape":"ServiceUnavailableException"}
261274
],
262-
"documentation":"<p>Returns the current service opt-in settings for the Region. If the service has a value set to <code>true</code>, AWS Backup tries to protect that service's resources in this Region, when included in an on-demand backup or scheduled backup plan. If the value is set to <code>false</code> for a service, AWS Backup does not try to protect that service's resources in this Region.</p>"
275+
"documentation":"<p>Returns the current service opt-in settings for the Region. If service-opt-in is enabled for a service, AWS Backup tries to protect that service's resources in this Region, when the resource is included in an on-demand backup or scheduled backup plan. Otherwise, AWS Backup does not try to protect that service's resources in this Region, AWS Backup does not try to protect that service's resources in this Region.</p>"
263276
},
264277
"DescribeRestoreJob":{
265278
"name":"DescribeRestoreJob",
@@ -665,6 +678,7 @@
665678
{"shape":"ResourceNotFoundException"},
666679
{"shape":"InvalidParameterValueException"},
667680
{"shape":"MissingParameterValueException"},
681+
{"shape":"InvalidRequestException"},
668682
{"shape":"ServiceUnavailableException"},
669683
{"shape":"LimitExceededException"}
670684
],
@@ -772,6 +786,21 @@
772786
"documentation":"<p>Updates an existing backup plan identified by its <code>backupPlanId</code> with the input document in JSON format. The new version is uniquely identified by a <code>VersionId</code>.</p>",
773787
"idempotent":true
774788
},
789+
"UpdateGlobalSettings":{
790+
"name":"UpdateGlobalSettings",
791+
"http":{
792+
"method":"PUT",
793+
"requestUri":"/global-settings"
794+
},
795+
"input":{"shape":"UpdateGlobalSettingsInput"},
796+
"errors":[
797+
{"shape":"ServiceUnavailableException"},
798+
{"shape":"MissingParameterValueException"},
799+
{"shape":"InvalidParameterValueException"},
800+
{"shape":"InvalidRequestException"}
801+
],
802+
"documentation":"<p>Updates the current global settings for the AWS Account. Use the <code>DescribeGlobalSettings</code> API to determine the current settings.</p>"
803+
},
775804
"UpdateRecoveryPointLifecycle":{
776805
"name":"UpdateRecoveryPointLifecycle",
777806
"http":{
@@ -801,7 +830,7 @@
801830
{"shape":"MissingParameterValueException"},
802831
{"shape":"InvalidParameterValueException"}
803832
],
804-
"documentation":"<p>Updates the current service opt-in settings for the Region. If the service has a value set to <code>true</code>, AWS Backup tries to protect that service's resources in this Region, when included in an on-demand backup or scheduled backup plan. If the value is set to <code>false</code> for a service, AWS Backup does not try to protect that service's resources in this Region.</p>"
833+
"documentation":"<p>Updates the current service opt-in settings for the Region. If service-opt-in is enabled for a service, AWS Backup tries to protect that service's resources in this Region, when the resource is included in an on-demand backup or scheduled backup plan. Otherwise, AWS Backup does not try to protect that service's resources in this Region. Use the <code>DescribeRegionSettings</code> API to determine the resource types that are supported.</p>"
805834
}
806835
},
807836
"shapes":{
@@ -819,7 +848,7 @@
819848
},
820849
"BackupOptions":{
821850
"shape":"BackupOptions",
822-
"documentation":"<p>Specifies the backup option for a selected resource. This option is only available for Windows VSS backup jobs.</p> <p>Valid values: Set to <code>\"WindowsVSS”:“enabled\"</code> to enable WindowsVSS backup option and create a VSS Windows backup. Set to WindowsVSS”:”disabled to create a regular backup. The WindowsVSS option is not enabled by default.</p> <p>If you specify an invalid option, you get an <code>InvalidParameterValueException</code> exception.</p> <p>For more information about Windows VSS backups, see <a href=\"https://docs.aws.amazon.com/aws-backup/latest/devguide/windows-backups.html\">Creating a VSS-Enabled Windows Backup</a>.</p>"
851+
"documentation":"<p>Specifies the backup option for a selected resource. This option is only available for Windows VSS backup jobs.</p> <p>Valid values: </p> <p>Set to <code>\"WindowsVSS\":\"enabled\"</code> to enable the WindowsVSS backup option and create a VSS Windows backup. </p> <p>Set to <code>\"WindowsVSS\":\"disabled\"</code> to create a regular backup. The WindowsVSS option is not enabled by default.</p> <p>If you specify an invalid option, you get an <code>InvalidParameterValueException</code> exception.</p> <p>For more information about Windows VSS backups, see <a href=\"https://docs.aws.amazon.com/aws-backup/latest/devguide/windows-backups.html\">Creating a VSS-Enabled Windows Backup</a>.</p>"
823852
}
824853
},
825854
"documentation":"<p>A list of backup options for each resource type.</p>"
@@ -1791,7 +1820,7 @@
17911820
},
17921821
"BackupType":{
17931822
"shape":"string",
1794-
"documentation":"<p>Represents the actual backup type selected for a backup job. For example, if a successful WindowsVSS backup was taken, <code>BackupType</code> returns WindowsVSS. If <code>BackupType</code> is empty, then it is a regular backup.</p>"
1823+
"documentation":"<p>Represents the actual backup type selected for a backup job. For example, if a successful WindowsVSS backup was taken, <code>BackupType</code> returns \"WindowsVSS\". If <code>BackupType</code> is empty, then the backup type that was is a regular backup.</p>"
17951824
}
17961825
}
17971826
},
@@ -1857,6 +1886,24 @@
18571886
}
18581887
}
18591888
},
1889+
"DescribeGlobalSettingsInput":{
1890+
"type":"structure",
1891+
"members":{
1892+
}
1893+
},
1894+
"DescribeGlobalSettingsOutput":{
1895+
"type":"structure",
1896+
"members":{
1897+
"GlobalSettings":{
1898+
"shape":"GlobalSettings",
1899+
"documentation":"<p>A list of resources along with the opt-in preferences for the account.</p>"
1900+
},
1901+
"LastUpdateTime":{
1902+
"shape":"timestamp",
1903+
"documentation":"<p>The date and time that the global settings was last updated. This update is in Unix format and Coordinated Universal Time (UTC). The value of <code>LastUpdateTime</code> is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.</p>"
1904+
}
1905+
}
1906+
},
18601907
"DescribeProtectedResourceInput":{
18611908
"type":"structure",
18621909
"required":["ResourceArn"],
@@ -1922,6 +1969,10 @@
19221969
"shape":"ARN",
19231970
"documentation":"<p>An ARN that uniquely identifies a backup vault; for example, <code>arn:aws:backup:us-east-1:123456789012:vault:aBackupVault</code>.</p>"
19241971
},
1972+
"SourceBackupVaultArn":{
1973+
"shape":"ARN",
1974+
"documentation":"<p>An Amazon Resource Name (ARN) that uniquely identifies the source vault where the resource was originally backed up in; for example, <code>arn:aws:backup:us-east-1:123456789012:vault:BackupVault</code>. If the recovery is restored to the same AWS account or Region, this value will be <code>null</code>.</p>"
1975+
},
19251976
"ResourceArn":{
19261977
"shape":"ARN",
19271978
"documentation":"<p>An ARN that uniquely identifies a saved resource. The format of the ARN depends on the resource type.</p>"
@@ -2338,6 +2389,13 @@
23382389
}
23392390
}
23402391
},
2392+
"GlobalSettings":{
2393+
"type":"map",
2394+
"key":{"shape":"GlobalSettingsName"},
2395+
"value":{"shape":"GlobalSettingsValue"}
2396+
},
2397+
"GlobalSettingsName":{"type":"string"},
2398+
"GlobalSettingsValue":{"type":"string"},
23412399
"IAMPolicy":{"type":"string"},
23422400
"IAMRoleArn":{"type":"string"},
23432401
"InvalidParameterValueException":{
@@ -3057,6 +3115,10 @@
30573115
"shape":"ARN",
30583116
"documentation":"<p>An ARN that uniquely identifies a backup vault; for example, <code>arn:aws:backup:us-east-1:123456789012:vault:aBackupVault</code>.</p>"
30593117
},
3118+
"SourceBackupVaultArn":{
3119+
"shape":"ARN",
3120+
"documentation":"<p>The backup vault where the recovery point was originally copied from. If the recovery point is restored to the same account this value will be <code>null</code>.</p>"
3121+
},
30603122
"ResourceArn":{
30613123
"shape":"ARN",
30623124
"documentation":"<p>An ARN that uniquely identifies a resource. The format of the ARN depends on the resource type.</p>"
@@ -3568,6 +3630,15 @@
35683630
}
35693631
}
35703632
},
3633+
"UpdateGlobalSettingsInput":{
3634+
"type":"structure",
3635+
"members":{
3636+
"GlobalSettings":{
3637+
"shape":"GlobalSettings",
3638+
"documentation":"<p>A list of resources along with the opt-in preferences for the account.</p>"
3639+
}
3640+
}
3641+
},
35713642
"UpdateRecoveryPointLifecycleInput":{
35723643
"type":"structure",
35733644
"required":[

0 commit comments

Comments
 (0)