Skip to content

Commit 3d40a31

Browse files
author
AWS
committed
AWS Backup Update: Adds optional MaxScheduledRunsPreview input to GetBackupPlan API to provide a preview of up to 10 next scheduled backup plan runs in the GetBackupPlan response.
1 parent d5f7832 commit 3d40a31

File tree

2 files changed

+54
-3
lines changed

2 files changed

+54
-3
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": "Adds optional MaxScheduledRunsPreview input to GetBackupPlan API to provide a preview of up to 10 next scheduled backup plan runs in the GetBackupPlan response."
6+
}

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

Lines changed: 48 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1410,7 +1410,7 @@
14101410
{"shape":"LimitExceededException"},
14111411
{"shape":"InvalidRequestException"}
14121412
],
1413-
"documentation":"<p>Starts a job to create a one-time copy of the specified resource.</p> <p>Does not support continuous backups.</p>",
1413+
"documentation":"<p>Starts a job to create a one-time copy of the specified resource.</p> <p>Does not support continuous backups.</p> <p>See <a href=\"https://docs.aws.amazon.com/aws-backup/latest/devguide/recov-point-create-a-copy.html#backup-copy-retry\">Copy job retry</a> for information on how Backup retries copy job operations.</p>",
14141414
"idempotent":true
14151415
},
14161416
"StartReportJob":{
@@ -3681,7 +3681,7 @@
36813681
"members":{
36823682
"GlobalSettings":{
36833683
"shape":"GlobalSettings",
3684-
"documentation":"<p>The status of the flag <code>isCrossAccountBackupEnabled</code>.</p>"
3684+
"documentation":"<p>The status of the flags <code>isCrossAccountBackupEnabled</code> and <code>isMpaEnabled</code> ('Mpa' refers to multi-party approval).</p>"
36853685
},
36863686
"LastUpdateTime":{
36873687
"shape":"timestamp",
@@ -4241,6 +4241,12 @@
42414241
"documentation":"<p>Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most 1,024 bytes long. Version IDs cannot be edited.</p>",
42424242
"location":"querystring",
42434243
"locationName":"versionId"
4244+
},
4245+
"MaxScheduledRunsPreview":{
4246+
"shape":"MaxScheduledRunsPreview",
4247+
"documentation":"<p>Number of future scheduled backup runs to preview. When set to 0 (default), no scheduled runs preview is included in the response. Valid range is 0-10.</p>",
4248+
"location":"querystring",
4249+
"locationName":"MaxScheduledRunsPreview"
42444250
}
42454251
}
42464252
},
@@ -4282,6 +4288,10 @@
42824288
"AdvancedBackupSettings":{
42834289
"shape":"AdvancedBackupSettings",
42844290
"documentation":"<p>Contains a list of <code>BackupOptions</code> for each resource type. The list is populated only if the advanced option is set for the backup plan.</p>"
4291+
},
4292+
"ScheduledRunsPreview":{
4293+
"shape":"ScheduledRunsPreview",
4294+
"documentation":"<p>List of upcoming scheduled backup runs. Only included when <code>MaxScheduledRunsPreview</code> parameter is greater than 0. Contains up to 10 future backup executions with their scheduled times, execution types, and associated rule IDs.</p>"
42854295
}
42864296
}
42874297
},
@@ -6276,6 +6286,11 @@
62766286
"max":1000,
62776287
"min":1
62786288
},
6289+
"MaxScheduledRunsPreview":{
6290+
"type":"integer",
6291+
"max":10,
6292+
"min":0
6293+
},
62796294
"MessageCategory":{"type":"string"},
62806295
"Metadata":{
62816296
"type":"map",
@@ -7511,6 +7526,36 @@
75117526
}
75127527
}
75137528
},
7529+
"RuleExecutionType":{
7530+
"type":"string",
7531+
"enum":[
7532+
"CONTINUOUS",
7533+
"SNAPSHOTS",
7534+
"CONTINUOUS_AND_SNAPSHOTS"
7535+
]
7536+
},
7537+
"ScheduledPlanExecutionMember":{
7538+
"type":"structure",
7539+
"members":{
7540+
"ExecutionTime":{
7541+
"shape":"timestamp",
7542+
"documentation":"<p>The timestamp when the backup is scheduled to run, in Unix format and Coordinated Universal Time (UTC). The value is accurate to milliseconds.</p>"
7543+
},
7544+
"RuleId":{
7545+
"shape":"string",
7546+
"documentation":"<p>The unique identifier of the backup rule that will execute at the scheduled time.</p>"
7547+
},
7548+
"RuleExecutionType":{
7549+
"shape":"RuleExecutionType",
7550+
"documentation":"<p>The type of backup rule execution. Valid values are <code>CONTINUOUS</code> (point-in-time recovery), <code>SNAPSHOTS</code> (snapshot backups), or <code>CONTINUOUS_AND_SNAPSHOTS</code> (both types combined).</p>"
7551+
}
7552+
},
7553+
"documentation":"<p>Contains information about a scheduled backup plan execution, including the execution time, rule type, and associated rule identifier.</p>"
7554+
},
7555+
"ScheduledRunsPreview":{
7556+
"type":"list",
7557+
"member":{"shape":"ScheduledPlanExecutionMember"}
7558+
},
75147559
"SensitiveStringMap":{
75157560
"type":"map",
75167561
"key":{"shape":"String"},
@@ -7891,7 +7936,7 @@
78917936
"members":{
78927937
"GlobalSettings":{
78937938
"shape":"GlobalSettings",
7894-
"documentation":"<p>A value for <code>isCrossAccountBackupEnabled</code> and a Region. Example: <code>update-global-settings --global-settings isCrossAccountBackupEnabled=false --region us-west-2</code>.</p>"
7939+
"documentation":"<p>Inputs can include:</p> <p>A value for <code>isCrossAccountBackupEnabled</code> and a Region. Example: <code>update-global-settings --global-settings isCrossAccountBackupEnabled=false --region us-west-2</code>.</p> <p>A value for Multi-party approval, styled as \"Mpa\": <code>isMpaEnabled</code>. Values can be true or false. Example: <code>update-global-settings --global-settings isMpaEnabled=false --region us-west-2</code>.</p>"
78957940
}
78967941
}
78977942
},

0 commit comments

Comments
 (0)