Skip to content

Commit 3b130ec

Browse files
Update API model
1 parent 1155064 commit 3b130ec

File tree

9 files changed

+2819
-457
lines changed

9 files changed

+2819
-457
lines changed

codegen/sdk-codegen/aws-models/backup.json

Lines changed: 82 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5362,7 +5362,7 @@
53625362
"GlobalSettings": {
53635363
"target": "com.amazonaws.backup#GlobalSettings",
53645364
"traits": {
5365-
"smithy.api#documentation": "<p>The status of the flag <code>isCrossAccountBackupEnabled</code>.</p>"
5365+
"smithy.api#documentation": "<p>The status of the flags <code>isCrossAccountBackupEnabled</code> and\n <code>isMpaEnabled</code> ('Mpa' refers to multi-party approval).</p>"
53665366
}
53675367
},
53685368
"LastUpdateTime": {
@@ -6581,6 +6581,14 @@
65816581
"smithy.api#documentation": "<p>Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most 1,024 bytes\n long. Version IDs cannot be edited.</p>",
65826582
"smithy.api#httpQuery": "versionId"
65836583
}
6584+
},
6585+
"MaxScheduledRunsPreview": {
6586+
"target": "com.amazonaws.backup#MaxScheduledRunsPreview",
6587+
"traits": {
6588+
"smithy.api#default": 0,
6589+
"smithy.api#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>",
6590+
"smithy.api#httpQuery": "MaxScheduledRunsPreview"
6591+
}
65846592
}
65856593
},
65866594
"traits": {
@@ -6643,6 +6651,12 @@
66436651
"traits": {
66446652
"smithy.api#documentation": "<p>Contains a list of <code>BackupOptions</code> for each resource type. The list is\n populated only if the advanced option is set for the backup plan.</p>"
66456653
}
6654+
},
6655+
"ScheduledRunsPreview": {
6656+
"target": "com.amazonaws.backup#ScheduledRunsPreview",
6657+
"traits": {
6658+
"smithy.api#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>"
6659+
}
66466660
}
66476661
},
66486662
"traits": {
@@ -10624,6 +10638,16 @@
1062410638
}
1062510639
}
1062610640
},
10641+
"com.amazonaws.backup#MaxScheduledRunsPreview": {
10642+
"type": "integer",
10643+
"traits": {
10644+
"smithy.api#default": 0,
10645+
"smithy.api#range": {
10646+
"min": 0,
10647+
"max": 10
10648+
}
10649+
}
10650+
},
1062710651
"com.amazonaws.backup#MessageCategory": {
1062810652
"type": "string"
1062910653
},
@@ -12741,6 +12765,61 @@
1274112765
"smithy.api#input": {}
1274212766
}
1274312767
},
12768+
"com.amazonaws.backup#RuleExecutionType": {
12769+
"type": "enum",
12770+
"members": {
12771+
"CONTINUOUS": {
12772+
"target": "smithy.api#Unit",
12773+
"traits": {
12774+
"smithy.api#enumValue": "CONTINUOUS"
12775+
}
12776+
},
12777+
"SNAPSHOTS": {
12778+
"target": "smithy.api#Unit",
12779+
"traits": {
12780+
"smithy.api#enumValue": "SNAPSHOTS"
12781+
}
12782+
},
12783+
"CONTINUOUS_AND_SNAPSHOTS": {
12784+
"target": "smithy.api#Unit",
12785+
"traits": {
12786+
"smithy.api#enumValue": "CONTINUOUS_AND_SNAPSHOTS"
12787+
}
12788+
}
12789+
}
12790+
},
12791+
"com.amazonaws.backup#ScheduledPlanExecutionMember": {
12792+
"type": "structure",
12793+
"members": {
12794+
"ExecutionTime": {
12795+
"target": "com.amazonaws.backup#timestamp",
12796+
"traits": {
12797+
"smithy.api#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>"
12798+
}
12799+
},
12800+
"RuleId": {
12801+
"target": "com.amazonaws.backup#string",
12802+
"traits": {
12803+
"smithy.api#documentation": "<p>The unique identifier of the backup rule that will execute at the scheduled time.</p>"
12804+
}
12805+
},
12806+
"RuleExecutionType": {
12807+
"target": "com.amazonaws.backup#RuleExecutionType",
12808+
"traits": {
12809+
"smithy.api#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>"
12810+
}
12811+
}
12812+
},
12813+
"traits": {
12814+
"smithy.api#documentation": "<p>Contains information about a scheduled backup plan execution, including the execution time, rule type, and associated rule identifier.</p>"
12815+
}
12816+
},
12817+
"com.amazonaws.backup#ScheduledRunsPreview": {
12818+
"type": "list",
12819+
"member": {
12820+
"target": "com.amazonaws.backup#ScheduledPlanExecutionMember"
12821+
}
12822+
},
1274412823
"com.amazonaws.backup#SensitiveStringMap": {
1274512824
"type": "map",
1274612825
"key": {
@@ -12952,7 +13031,7 @@
1295213031
}
1295313032
],
1295413033
"traits": {
12955-
"smithy.api#documentation": "<p>Starts a job to create a one-time copy of the specified resource.</p>\n <p>Does not support continuous backups.</p>",
13034+
"smithy.api#documentation": "<p>Starts a job to create a one-time copy of the specified resource.</p>\n <p>Does not support continuous backups.</p>\n <p>See <a href=\"https://docs.aws.amazon.com/aws-backup/latest/devguide/recov-point-create-a-copy.html#backup-copy-retry\">Copy \n job retry</a> for information on how Backup retries copy job \n operations.</p>",
1295613035
"smithy.api#http": {
1295713036
"method": "PUT",
1295813037
"uri": "/copy-jobs",
@@ -13648,7 +13727,7 @@
1364813727
"GlobalSettings": {
1364913728
"target": "com.amazonaws.backup#GlobalSettings",
1365013729
"traits": {
13651-
"smithy.api#documentation": "<p>A value for <code>isCrossAccountBackupEnabled</code> and a Region. Example:\n <code>update-global-settings --global-settings isCrossAccountBackupEnabled=false\n --region us-west-2</code>.</p>"
13730+
"smithy.api#documentation": "<p>Inputs can include:</p>\n <p>A value for <code>isCrossAccountBackupEnabled</code> and a Region. Example:\n <code>update-global-settings --global-settings isCrossAccountBackupEnabled=false\n --region us-west-2</code>.</p>\n <p>A value for Multi-party approval, styled as \"Mpa\": <code>isMpaEnabled</code>. Values can\n be true or false. Example:\n <code>update-global-settings --global-settings isMpaEnabled=false\n --region us-west-2</code>.</p>"
1365213731
}
1365313732
}
1365413733
},

0 commit comments

Comments
 (0)