Skip to content

Commit 82efe32

Browse files
author
AWS SDK for Go v2 automation user
committed
Update API model
1 parent 63c2b1a commit 82efe32

File tree

4 files changed

+309
-43
lines changed

4 files changed

+309
-43
lines changed

Diff for: codegen/sdk-codegen/aws-models/backup.json

+108-1
Original file line numberDiff line numberDiff line change
@@ -2014,6 +2014,9 @@
20142014
"input": {
20152015
"target": "com.amazonaws.backup#DeleteBackupSelectionInput"
20162016
},
2017+
"output": {
2018+
"target": "smithy.api#Unit"
2019+
},
20172020
"errors": [
20182021
{
20192022
"target": "com.amazonaws.backup#InvalidParameterValueException"
@@ -2063,6 +2066,9 @@
20632066
"input": {
20642067
"target": "com.amazonaws.backup#DeleteBackupVaultInput"
20652068
},
2069+
"output": {
2070+
"target": "smithy.api#Unit"
2071+
},
20662072
"errors": [
20672073
{
20682074
"target": "com.amazonaws.backup#InvalidParameterValueException"
@@ -2094,6 +2100,9 @@
20942100
"input": {
20952101
"target": "com.amazonaws.backup#DeleteBackupVaultAccessPolicyInput"
20962102
},
2103+
"output": {
2104+
"target": "smithy.api#Unit"
2105+
},
20972106
"errors": [
20982107
{
20992108
"target": "com.amazonaws.backup#InvalidParameterValueException"
@@ -2149,6 +2158,9 @@
21492158
"input": {
21502159
"target": "com.amazonaws.backup#DeleteBackupVaultLockConfigurationInput"
21512160
},
2161+
"output": {
2162+
"target": "smithy.api#Unit"
2163+
},
21522164
"errors": [
21532165
{
21542166
"target": "com.amazonaws.backup#InvalidParameterValueException"
@@ -2194,6 +2206,9 @@
21942206
"input": {
21952207
"target": "com.amazonaws.backup#DeleteBackupVaultNotificationsInput"
21962208
},
2209+
"output": {
2210+
"target": "smithy.api#Unit"
2211+
},
21972212
"errors": [
21982213
{
21992214
"target": "com.amazonaws.backup#InvalidParameterValueException"
@@ -2236,6 +2251,9 @@
22362251
"input": {
22372252
"target": "com.amazonaws.backup#DeleteFrameworkInput"
22382253
},
2254+
"output": {
2255+
"target": "smithy.api#Unit"
2256+
},
22392257
"errors": [
22402258
{
22412259
"target": "com.amazonaws.backup#ConflictException"
@@ -2280,6 +2298,9 @@
22802298
"input": {
22812299
"target": "com.amazonaws.backup#DeleteRecoveryPointInput"
22822300
},
2301+
"output": {
2302+
"target": "smithy.api#Unit"
2303+
},
22832304
"errors": [
22842305
{
22852306
"target": "com.amazonaws.backup#InvalidParameterValueException"
@@ -2336,6 +2357,9 @@
23362357
"input": {
23372358
"target": "com.amazonaws.backup#DeleteReportPlanInput"
23382359
},
2360+
"output": {
2361+
"target": "smithy.api#Unit"
2362+
},
23392363
"errors": [
23402364
{
23412365
"target": "com.amazonaws.backup#ConflictException"
@@ -3411,6 +3435,9 @@
34113435
"input": {
34123436
"target": "com.amazonaws.backup#DisassociateRecoveryPointInput"
34133437
},
3438+
"output": {
3439+
"target": "smithy.api#Unit"
3440+
},
34143441
"errors": [
34153442
{
34163443
"target": "com.amazonaws.backup#InvalidParameterValueException"
@@ -3585,7 +3612,7 @@
35853612
"ControlScope": {
35863613
"target": "com.amazonaws.backup#ControlScope",
35873614
"traits": {
3588-
"smithy.api#documentation": "<p>The scope of a control. The control scope defines what the control will evaluate. Three\n examples of control scopes are: a specific backup plan, all backup plans with a specific\n tag, or all backup plans. For more information, see <code>ControlScope</code>.</p>"
3615+
"smithy.api#documentation": "<p>The scope of a control. The control scope defines what the control will evaluate. Three\n examples of control scopes are: a specific backup plan, all backup plans with a specific\n tag, or all backup plans. For more information, see <a href=\"aws-backup/latest/devguide/API_ControlScope.html\">\n <code>ControlScope</code>.</a>\n </p>"
35893616
}
35903617
}
35913618
},
@@ -4156,6 +4183,9 @@
41564183
},
41574184
"com.amazonaws.backup#GetSupportedResourceTypes": {
41584185
"type": "operation",
4186+
"input": {
4187+
"target": "smithy.api#Unit"
4188+
},
41594189
"output": {
41604190
"target": "com.amazonaws.backup#GetSupportedResourceTypesOutput"
41614191
},
@@ -4363,6 +4393,7 @@
43634393
"smithy.api#paginated": {
43644394
"inputToken": "NextToken",
43654395
"outputToken": "NextToken",
4396+
"items": "BackupJobs",
43664397
"pageSize": "MaxResults"
43674398
}
43684399
}
@@ -4432,6 +4463,20 @@
44324463
"smithy.api#documentation": "<p>The account ID to list the jobs from. Returns only backup jobs associated with the\n specified account ID.</p>\n <p>If used from an Organizations management account, passing <code>*</code> returns\n all jobs across the organization.</p>",
44334464
"smithy.api#httpQuery": "accountId"
44344465
}
4466+
},
4467+
"ByCompleteAfter": {
4468+
"target": "com.amazonaws.backup#timestamp",
4469+
"traits": {
4470+
"smithy.api#documentation": "<p>Returns only backup jobs completed after a date expressed in Unix format and Coordinated\n Universal Time (UTC).</p>",
4471+
"smithy.api#httpQuery": "completeAfter"
4472+
}
4473+
},
4474+
"ByCompleteBefore": {
4475+
"target": "com.amazonaws.backup#timestamp",
4476+
"traits": {
4477+
"smithy.api#documentation": "<p>Returns only backup jobs completed before a date expressed in Unix format and\n Coordinated Universal Time (UTC).</p>",
4478+
"smithy.api#httpQuery": "completeBefore"
4479+
}
44354480
}
44364481
}
44374482
},
@@ -4484,6 +4529,7 @@
44844529
"smithy.api#paginated": {
44854530
"inputToken": "NextToken",
44864531
"outputToken": "NextToken",
4532+
"items": "BackupPlanTemplatesList",
44874533
"pageSize": "MaxResults"
44884534
}
44894535
}
@@ -4557,6 +4603,7 @@
45574603
"smithy.api#paginated": {
45584604
"inputToken": "NextToken",
45594605
"outputToken": "NextToken",
4606+
"items": "BackupPlanVersionsList",
45604607
"pageSize": "MaxResults"
45614608
}
45624609
}
@@ -4638,6 +4685,7 @@
46384685
"smithy.api#paginated": {
46394686
"inputToken": "NextToken",
46404687
"outputToken": "NextToken",
4688+
"items": "BackupPlansList",
46414689
"pageSize": "MaxResults"
46424690
}
46434691
}
@@ -4718,6 +4766,7 @@
47184766
"smithy.api#paginated": {
47194767
"inputToken": "NextToken",
47204768
"outputToken": "NextToken",
4769+
"items": "BackupSelectionsList",
47214770
"pageSize": "MaxResults"
47224771
}
47234772
}
@@ -4799,6 +4848,7 @@
47994848
"smithy.api#paginated": {
48004849
"inputToken": "NextToken",
48014850
"outputToken": "NextToken",
4851+
"items": "BackupVaultList",
48024852
"pageSize": "MaxResults"
48034853
}
48044854
}
@@ -4865,6 +4915,7 @@
48654915
"smithy.api#paginated": {
48664916
"inputToken": "NextToken",
48674917
"outputToken": "NextToken",
4918+
"items": "CopyJobs",
48684919
"pageSize": "MaxResults"
48694920
}
48704921
}
@@ -4934,6 +4985,20 @@
49344985
"smithy.api#documentation": "<p>The account ID to list the jobs from. Returns only copy jobs associated with the\n specified account ID.</p>",
49354986
"smithy.api#httpQuery": "accountId"
49364987
}
4988+
},
4989+
"ByCompleteBefore": {
4990+
"target": "com.amazonaws.backup#timestamp",
4991+
"traits": {
4992+
"smithy.api#documentation": "<p>Returns only copy jobs completed before a date expressed in Unix format and Coordinated\n Universal Time (UTC).</p>",
4993+
"smithy.api#httpQuery": "completeBefore"
4994+
}
4995+
},
4996+
"ByCompleteAfter": {
4997+
"target": "com.amazonaws.backup#timestamp",
4998+
"traits": {
4999+
"smithy.api#documentation": "<p>Returns only copy jobs completed after a date expressed in Unix format and Coordinated\n Universal Time (UTC).</p>",
5000+
"smithy.api#httpQuery": "completeAfter"
5001+
}
49375002
}
49385003
}
49395004
},
@@ -5053,6 +5118,7 @@
50535118
"smithy.api#paginated": {
50545119
"inputToken": "NextToken",
50555120
"outputToken": "NextToken",
5121+
"items": "Results",
50565122
"pageSize": "MaxResults"
50575123
}
50585124
}
@@ -5126,6 +5192,7 @@
51265192
"smithy.api#paginated": {
51275193
"inputToken": "NextToken",
51285194
"outputToken": "NextToken",
5195+
"items": "RecoveryPoints",
51295196
"pageSize": "MaxResults"
51305197
}
51315198
}
@@ -5242,6 +5309,7 @@
52425309
"smithy.api#paginated": {
52435310
"inputToken": "NextToken",
52445311
"outputToken": "NextToken",
5312+
"items": "RecoveryPoints",
52455313
"pageSize": "MaxResults"
52465314
}
52475315
}
@@ -5483,6 +5551,7 @@
54835551
"smithy.api#paginated": {
54845552
"inputToken": "NextToken",
54855553
"outputToken": "NextToken",
5554+
"items": "RestoreJobs",
54865555
"pageSize": "MaxResults"
54875556
}
54885557
}
@@ -5531,6 +5600,20 @@
55315600
"smithy.api#documentation": "<p>Returns only restore jobs associated with the specified job status.</p>",
55325601
"smithy.api#httpQuery": "status"
55335602
}
5603+
},
5604+
"ByCompleteBefore": {
5605+
"target": "com.amazonaws.backup#timestamp",
5606+
"traits": {
5607+
"smithy.api#documentation": "<p>Returns only copy jobs completed before a date expressed in Unix format and Coordinated\n Universal Time (UTC).</p>",
5608+
"smithy.api#httpQuery": "completeBefore"
5609+
}
5610+
},
5611+
"ByCompleteAfter": {
5612+
"target": "com.amazonaws.backup#timestamp",
5613+
"traits": {
5614+
"smithy.api#documentation": "<p>Returns only copy jobs completed after a date expressed in Unix format and Coordinated\n Universal Time (UTC).</p>",
5615+
"smithy.api#httpQuery": "completeAfter"
5616+
}
55345617
}
55355618
}
55365619
},
@@ -5749,6 +5832,9 @@
57495832
"input": {
57505833
"target": "com.amazonaws.backup#PutBackupVaultAccessPolicyInput"
57515834
},
5835+
"output": {
5836+
"target": "smithy.api#Unit"
5837+
},
57525838
"errors": [
57535839
{
57545840
"target": "com.amazonaws.backup#InvalidParameterValueException"
@@ -5797,6 +5883,9 @@
57975883
"input": {
57985884
"target": "com.amazonaws.backup#PutBackupVaultLockConfigurationInput"
57995885
},
5886+
"output": {
5887+
"target": "smithy.api#Unit"
5888+
},
58005889
"errors": [
58015890
{
58025891
"target": "com.amazonaws.backup#InvalidParameterValueException"
@@ -5860,6 +5949,9 @@
58605949
"input": {
58615950
"target": "com.amazonaws.backup#PutBackupVaultNotificationsInput"
58625951
},
5952+
"output": {
5953+
"target": "smithy.api#Unit"
5954+
},
58635955
"errors": [
58645956
{
58655957
"target": "com.amazonaws.backup#InvalidParameterValueException"
@@ -6958,6 +7050,9 @@
69587050
"input": {
69597051
"target": "com.amazonaws.backup#StopBackupJobInput"
69607052
},
7053+
"output": {
7054+
"target": "smithy.api#Unit"
7055+
},
69617056
"errors": [
69627057
{
69637058
"target": "com.amazonaws.backup#InvalidParameterValueException"
@@ -7033,6 +7128,9 @@
70337128
"input": {
70347129
"target": "com.amazonaws.backup#TagResourceInput"
70357130
},
7131+
"output": {
7132+
"target": "smithy.api#Unit"
7133+
},
70367134
"errors": [
70377135
{
70387136
"target": "com.amazonaws.backup#InvalidParameterValueException"
@@ -7100,6 +7198,9 @@
71007198
"input": {
71017199
"target": "com.amazonaws.backup#UntagResourceInput"
71027200
},
7201+
"output": {
7202+
"target": "smithy.api#Unit"
7203+
},
71037204
"errors": [
71047205
{
71057206
"target": "com.amazonaws.backup#InvalidParameterValueException"
@@ -7332,6 +7433,9 @@
73327433
"input": {
73337434
"target": "com.amazonaws.backup#UpdateGlobalSettingsInput"
73347435
},
7436+
"output": {
7437+
"target": "smithy.api#Unit"
7438+
},
73357439
"errors": [
73367440
{
73377441
"target": "com.amazonaws.backup#InvalidParameterValueException"
@@ -7462,6 +7566,9 @@
74627566
"input": {
74637567
"target": "com.amazonaws.backup#UpdateRegionSettingsInput"
74647568
},
7569+
"output": {
7570+
"target": "smithy.api#Unit"
7571+
},
74657572
"errors": [
74667573
{
74677574
"target": "com.amazonaws.backup#InvalidParameterValueException"

0 commit comments

Comments
 (0)