Skip to content

Commit

Permalink
Update API model
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS SDK for Go v2 automation user committed Jan 18, 2024
1 parent 04d1bce commit 32b9f4d
Show file tree
Hide file tree
Showing 6 changed files with 815 additions and 44 deletions.
13 changes: 11 additions & 2 deletions codegen/sdk-codegen/aws-models/b2bi.json
Original file line number Diff line number Diff line change
Expand Up @@ -3143,6 +3143,9 @@
"target": "com.amazonaws.b2bi#ListTagsForResourceResponse"
},
"errors": [
{
"target": "com.amazonaws.b2bi#InternalServerException"
},
{
"target": "com.amazonaws.b2bi#ResourceNotFoundException"
},
Expand Down Expand Up @@ -3893,6 +3896,9 @@
"target": "smithy.api#Unit"
},
"errors": [
{
"target": "com.amazonaws.b2bi#InternalServerException"
},
{
"target": "com.amazonaws.b2bi#ResourceNotFoundException"
},
Expand Down Expand Up @@ -4011,7 +4017,7 @@
"traits": {
"smithy.api#length": {
"min": 0,
"max": 200000
"max": 5000000
}
}
},
Expand Down Expand Up @@ -4085,7 +4091,7 @@
}
],
"traits": {
"smithy.api#documentation": "<p>Parses the input EDI (electronic data interchange) file.</p>",
"smithy.api#documentation": "<p>Parses the input EDI (electronic data interchange) file. The input file has a file size limit of 250 KB.</p>",
"smithy.api#examples": [
{
"title": "Sample TestParsing call",
Expand Down Expand Up @@ -4388,6 +4394,9 @@
"target": "smithy.api#Unit"
},
"errors": [
{
"target": "com.amazonaws.b2bi#InternalServerException"
},
{
"target": "com.amazonaws.b2bi#ResourceNotFoundException"
},
Expand Down
258 changes: 250 additions & 8 deletions codegen/sdk-codegen/aws-models/cloudtrail.json

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions codegen/sdk-codegen/aws-models/connect.json

Large diffs are not rendered by default.

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 @@ -1525,7 +1525,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 @@ -1604,7 +1603,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 @@ -1724,7 +1722,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 @@ -1813,7 +1810,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 @@ -1928,7 +1924,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 @@ -2030,7 +2025,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 @@ -2109,7 +2103,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 @@ -2232,7 +2225,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 @@ -4491,10 +4483,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 @@ -4595,7 +4584,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 @@ -5226,7 +5214,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 @@ -5314,7 +5301,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 @@ -5396,6 +5382,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 @@ -5491,7 +5478,6 @@
"com.amazonaws.drs#MaxResultsReplicatingSourceServers": {
"type": "integer",
"traits": {
"smithy.api#default": 0,
"smithy.api#range": {
"min": 1,
"max": 300
Expand All @@ -5501,7 +5487,6 @@
"com.amazonaws.drs#MaxResultsType": {
"type": "integer",
"traits": {
"smithy.api#default": 0,
"smithy.api#range": {
"min": 1,
"max": 1000
Expand Down Expand Up @@ -5607,15 +5592,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 @@ -5802,7 +5785,6 @@
"order": {
"target": "com.amazonaws.drs#LaunchActionOrder",
"traits": {
"smithy.api#default": 0,
"smithy.api#required": {}
}
},
Expand Down Expand Up @@ -5889,10 +5871,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 @@ -8573,7 +8552,6 @@
"com.amazonaws.drs#StrictlyPositiveInteger": {
"type": "integer",
"traits": {
"smithy.api#default": 0,
"smithy.api#range": {
"min": 1
}
Expand Down
Loading

0 comments on commit 32b9f4d

Please sign in to comment.