Skip to content

Commit

Permalink
feat(client-drs): Removed invalid and unnecessary default values.
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Jan 18, 2024
1 parent f12c0b5 commit d7c4d31
Showing 1 changed file with 3 additions and 25 deletions.
28 changes: 3 additions & 25 deletions codegen/sdk-codegen/aws-models/drs.json
Original file line number Diff line number Diff line change
Expand Up @@ -1522,7 +1522,6 @@
"maxResults": {
"target": "com.amazonaws.drs#StrictlyPositiveInteger",
"traits": {
"smithy.api#default": 0,
"smithy.api#documentation": "<p>Maximum number of Job log items to retrieve.</p>"
}
},
Expand Down Expand Up @@ -1601,7 +1600,6 @@
"maxResults": {
"target": "com.amazonaws.drs#StrictlyPositiveInteger",
"traits": {
"smithy.api#default": 0,
"smithy.api#documentation": "<p>Maximum number of Jobs to retrieve.</p>"
}
},
Expand Down Expand Up @@ -1721,7 +1719,6 @@
"maxResults": {
"target": "com.amazonaws.drs#MaxResultsType",
"traits": {
"smithy.api#default": 0,
"smithy.api#documentation": "<p>Maximum results to be returned in DescribeLaunchConfigurationTemplates.</p>"
}
},
Expand Down Expand Up @@ -1807,7 +1804,6 @@
"maxResults": {
"target": "com.amazonaws.drs#StrictlyPositiveInteger",
"traits": {
"smithy.api#default": 0,
"smithy.api#documentation": "<p>Maximum number of Recovery Instances to retrieve.</p>"
}
},
Expand Down Expand Up @@ -1922,7 +1918,6 @@
"maxResults": {
"target": "com.amazonaws.drs#StrictlyPositiveInteger",
"traits": {
"smithy.api#default": 0,
"smithy.api#documentation": "<p>Maximum number of Recovery Snapshots to retrieve.</p>"
}
},
Expand Down Expand Up @@ -2024,7 +2019,6 @@
"maxResults": {
"target": "com.amazonaws.drs#StrictlyPositiveInteger",
"traits": {
"smithy.api#default": 0,
"smithy.api#documentation": "<p>Maximum number of Replication Configuration Templates to retrieve.</p>"
}
},
Expand Down Expand Up @@ -2103,7 +2097,6 @@
"maxResults": {
"target": "com.amazonaws.drs#StrictlyPositiveInteger",
"traits": {
"smithy.api#default": 0,
"smithy.api#documentation": "<p>Maximum number of Source Networks to retrieve.</p>"
}
},
Expand Down Expand Up @@ -2226,7 +2219,6 @@
"maxResults": {
"target": "com.amazonaws.drs#StrictlyPositiveInteger",
"traits": {
"smithy.api#default": 0,
"smithy.api#documentation": "<p>Maximum number of Source Servers to retrieve.</p>"
}
},
Expand Down Expand Up @@ -4469,10 +4461,7 @@
}
},
"order": {
"target": "com.amazonaws.drs#LaunchActionOrder",
"traits": {
"smithy.api#default": 0
}
"target": "com.amazonaws.drs#LaunchActionOrder"
},
"actionVersion": {
"target": "com.amazonaws.drs#LaunchActionVersion"
Expand Down Expand Up @@ -4573,7 +4562,6 @@
"com.amazonaws.drs#LaunchActionOrder": {
"type": "integer",
"traits": {
"smithy.api#default": 0,
"smithy.api#documentation": "<p>Launch action order.</p>",
"smithy.api#range": {
"min": 2,
Expand Down Expand Up @@ -5204,7 +5192,6 @@
"maxResults": {
"target": "com.amazonaws.drs#MaxResultsReplicatingSourceServers",
"traits": {
"smithy.api#default": 0,
"smithy.api#documentation": "<p>The maximum number of extensible source servers to retrieve.</p>"
}
},
Expand Down Expand Up @@ -5292,7 +5279,6 @@
"maxResults": {
"target": "com.amazonaws.drs#MaxResultsType",
"traits": {
"smithy.api#default": 0,
"smithy.api#documentation": "<p>Maximum amount of items to return when listing resource launch actions.</p>"
}
},
Expand Down Expand Up @@ -5374,6 +5360,7 @@
"maxResults": {
"target": "smithy.api#Integer",
"traits": {
"smithy.api#default": null,
"smithy.api#documentation": "<p>The maximum number of staging Accounts to retrieve.</p>",
"smithy.api#httpQuery": "maxResults",
"smithy.api#range": {
Expand Down Expand Up @@ -5469,7 +5456,6 @@
"com.amazonaws.drs#MaxResultsReplicatingSourceServers": {
"type": "integer",
"traits": {
"smithy.api#default": 0,
"smithy.api#range": {
"min": 1,
"max": 300
Expand All @@ -5479,7 +5465,6 @@
"com.amazonaws.drs#MaxResultsType": {
"type": "integer",
"traits": {
"smithy.api#default": 0,
"smithy.api#range": {
"min": 1,
"max": 1000
Expand Down Expand Up @@ -5585,15 +5570,13 @@
"interval": {
"target": "com.amazonaws.drs#StrictlyPositiveInteger",
"traits": {
"smithy.api#default": 0,
"smithy.api#documentation": "<p>How often, in the chosen units, a snapshot should be taken.</p>",
"smithy.api#required": {}
}
},
"retentionDuration": {
"target": "com.amazonaws.drs#StrictlyPositiveInteger",
"traits": {
"smithy.api#default": 0,
"smithy.api#documentation": "<p>The duration to retain a snapshot for, in the chosen units.</p>",
"smithy.api#required": {}
}
Expand Down Expand Up @@ -5780,7 +5763,6 @@
"order": {
"target": "com.amazonaws.drs#LaunchActionOrder",
"traits": {
"smithy.api#default": 0,
"smithy.api#required": {}
}
},
Expand Down Expand Up @@ -5867,10 +5849,7 @@
}
},
"order": {
"target": "com.amazonaws.drs#LaunchActionOrder",
"traits": {
"smithy.api#default": 0
}
"target": "com.amazonaws.drs#LaunchActionOrder"
},
"actionVersion": {
"target": "com.amazonaws.drs#LaunchActionVersion"
Expand Down Expand Up @@ -8542,7 +8521,6 @@
"com.amazonaws.drs#StrictlyPositiveInteger": {
"type": "integer",
"traits": {
"smithy.api#default": 0,
"smithy.api#range": {
"min": 1
}
Expand Down

0 comments on commit d7c4d31

Please sign in to comment.