Skip to content

Commit d7c4d31

Browse files
author
awstools
committed
feat(client-drs): Removed invalid and unnecessary default values.
1 parent f12c0b5 commit d7c4d31

File tree

1 file changed

+3
-25
lines changed

1 file changed

+3
-25
lines changed

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

Lines changed: 3 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1522,7 +1522,6 @@
15221522
"maxResults": {
15231523
"target": "com.amazonaws.drs#StrictlyPositiveInteger",
15241524
"traits": {
1525-
"smithy.api#default": 0,
15261525
"smithy.api#documentation": "<p>Maximum number of Job log items to retrieve.</p>"
15271526
}
15281527
},
@@ -1601,7 +1600,6 @@
16011600
"maxResults": {
16021601
"target": "com.amazonaws.drs#StrictlyPositiveInteger",
16031602
"traits": {
1604-
"smithy.api#default": 0,
16051603
"smithy.api#documentation": "<p>Maximum number of Jobs to retrieve.</p>"
16061604
}
16071605
},
@@ -1721,7 +1719,6 @@
17211719
"maxResults": {
17221720
"target": "com.amazonaws.drs#MaxResultsType",
17231721
"traits": {
1724-
"smithy.api#default": 0,
17251722
"smithy.api#documentation": "<p>Maximum results to be returned in DescribeLaunchConfigurationTemplates.</p>"
17261723
}
17271724
},
@@ -1807,7 +1804,6 @@
18071804
"maxResults": {
18081805
"target": "com.amazonaws.drs#StrictlyPositiveInteger",
18091806
"traits": {
1810-
"smithy.api#default": 0,
18111807
"smithy.api#documentation": "<p>Maximum number of Recovery Instances to retrieve.</p>"
18121808
}
18131809
},
@@ -1922,7 +1918,6 @@
19221918
"maxResults": {
19231919
"target": "com.amazonaws.drs#StrictlyPositiveInteger",
19241920
"traits": {
1925-
"smithy.api#default": 0,
19261921
"smithy.api#documentation": "<p>Maximum number of Recovery Snapshots to retrieve.</p>"
19271922
}
19281923
},
@@ -2024,7 +2019,6 @@
20242019
"maxResults": {
20252020
"target": "com.amazonaws.drs#StrictlyPositiveInteger",
20262021
"traits": {
2027-
"smithy.api#default": 0,
20282022
"smithy.api#documentation": "<p>Maximum number of Replication Configuration Templates to retrieve.</p>"
20292023
}
20302024
},
@@ -2103,7 +2097,6 @@
21032097
"maxResults": {
21042098
"target": "com.amazonaws.drs#StrictlyPositiveInteger",
21052099
"traits": {
2106-
"smithy.api#default": 0,
21072100
"smithy.api#documentation": "<p>Maximum number of Source Networks to retrieve.</p>"
21082101
}
21092102
},
@@ -2226,7 +2219,6 @@
22262219
"maxResults": {
22272220
"target": "com.amazonaws.drs#StrictlyPositiveInteger",
22282221
"traits": {
2229-
"smithy.api#default": 0,
22302222
"smithy.api#documentation": "<p>Maximum number of Source Servers to retrieve.</p>"
22312223
}
22322224
},
@@ -4469,10 +4461,7 @@
44694461
}
44704462
},
44714463
"order": {
4472-
"target": "com.amazonaws.drs#LaunchActionOrder",
4473-
"traits": {
4474-
"smithy.api#default": 0
4475-
}
4464+
"target": "com.amazonaws.drs#LaunchActionOrder"
44764465
},
44774466
"actionVersion": {
44784467
"target": "com.amazonaws.drs#LaunchActionVersion"
@@ -4573,7 +4562,6 @@
45734562
"com.amazonaws.drs#LaunchActionOrder": {
45744563
"type": "integer",
45754564
"traits": {
4576-
"smithy.api#default": 0,
45774565
"smithy.api#documentation": "<p>Launch action order.</p>",
45784566
"smithy.api#range": {
45794567
"min": 2,
@@ -5204,7 +5192,6 @@
52045192
"maxResults": {
52055193
"target": "com.amazonaws.drs#MaxResultsReplicatingSourceServers",
52065194
"traits": {
5207-
"smithy.api#default": 0,
52085195
"smithy.api#documentation": "<p>The maximum number of extensible source servers to retrieve.</p>"
52095196
}
52105197
},
@@ -5292,7 +5279,6 @@
52925279
"maxResults": {
52935280
"target": "com.amazonaws.drs#MaxResultsType",
52945281
"traits": {
5295-
"smithy.api#default": 0,
52965282
"smithy.api#documentation": "<p>Maximum amount of items to return when listing resource launch actions.</p>"
52975283
}
52985284
},
@@ -5374,6 +5360,7 @@
53745360
"maxResults": {
53755361
"target": "smithy.api#Integer",
53765362
"traits": {
5363+
"smithy.api#default": null,
53775364
"smithy.api#documentation": "<p>The maximum number of staging Accounts to retrieve.</p>",
53785365
"smithy.api#httpQuery": "maxResults",
53795366
"smithy.api#range": {
@@ -5469,7 +5456,6 @@
54695456
"com.amazonaws.drs#MaxResultsReplicatingSourceServers": {
54705457
"type": "integer",
54715458
"traits": {
5472-
"smithy.api#default": 0,
54735459
"smithy.api#range": {
54745460
"min": 1,
54755461
"max": 300
@@ -5479,7 +5465,6 @@
54795465
"com.amazonaws.drs#MaxResultsType": {
54805466
"type": "integer",
54815467
"traits": {
5482-
"smithy.api#default": 0,
54835468
"smithy.api#range": {
54845469
"min": 1,
54855470
"max": 1000
@@ -5585,15 +5570,13 @@
55855570
"interval": {
55865571
"target": "com.amazonaws.drs#StrictlyPositiveInteger",
55875572
"traits": {
5588-
"smithy.api#default": 0,
55895573
"smithy.api#documentation": "<p>How often, in the chosen units, a snapshot should be taken.</p>",
55905574
"smithy.api#required": {}
55915575
}
55925576
},
55935577
"retentionDuration": {
55945578
"target": "com.amazonaws.drs#StrictlyPositiveInteger",
55955579
"traits": {
5596-
"smithy.api#default": 0,
55975580
"smithy.api#documentation": "<p>The duration to retain a snapshot for, in the chosen units.</p>",
55985581
"smithy.api#required": {}
55995582
}
@@ -5780,7 +5763,6 @@
57805763
"order": {
57815764
"target": "com.amazonaws.drs#LaunchActionOrder",
57825765
"traits": {
5783-
"smithy.api#default": 0,
57845766
"smithy.api#required": {}
57855767
}
57865768
},
@@ -5867,10 +5849,7 @@
58675849
}
58685850
},
58695851
"order": {
5870-
"target": "com.amazonaws.drs#LaunchActionOrder",
5871-
"traits": {
5872-
"smithy.api#default": 0
5873-
}
5852+
"target": "com.amazonaws.drs#LaunchActionOrder"
58745853
},
58755854
"actionVersion": {
58765855
"target": "com.amazonaws.drs#LaunchActionVersion"
@@ -8542,7 +8521,6 @@
85428521
"com.amazonaws.drs#StrictlyPositiveInteger": {
85438522
"type": "integer",
85448523
"traits": {
8545-
"smithy.api#default": 0,
85468524
"smithy.api#range": {
85478525
"min": 1
85488526
}

0 commit comments

Comments
 (0)