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 Jun 19, 2024
1 parent 78777b6 commit 5df426a
Show file tree
Hide file tree
Showing 6 changed files with 211 additions and 46 deletions.
6 changes: 6 additions & 0 deletions codegen/sdk-codegen/aws-models/artifact.json
Original file line number Diff line number Diff line change
Expand Up @@ -1678,6 +1678,12 @@
"traits": {
"smithy.api#documentation": "<p>The message associated with the current upload state.</p>"
}
},
"acceptanceType": {
"target": "com.amazonaws.artifact#AcceptanceType",
"traits": {
"smithy.api#documentation": "<p>Acceptance type for report.</p>"
}
}
},
"traits": {
Expand Down
15 changes: 14 additions & 1 deletion codegen/sdk-codegen/aws-models/athena.json
Original file line number Diff line number Diff line change
Expand Up @@ -5229,7 +5229,20 @@
"inputToken": "NextToken",
"outputToken": "NextToken",
"pageSize": "MaxResults"
}
},
"smithy.test#smokeTests": [
{
"id": "ListNamedQueriesSuccess",
"params": {},
"vendorParams": {
"region": "us-west-2"
},
"vendorParamsShape": "aws.test#AwsVendorParams",
"expect": {
"success": {}
}
}
]
}
},
"com.amazonaws.athena#ListNamedQueriesInput": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1085,7 +1085,20 @@
"inputToken": "NextToken",
"outputToken": "NextToken",
"pageSize": "MaxResults"
}
},
"smithy.test#smokeTests": [
{
"id": "DescribeReportDefinitionsSuccess",
"params": {},
"vendorParams": {
"region": "us-east-1"
},
"vendorParamsShape": "aws.test#AwsVendorParams",
"expect": {
"success": {}
}
}
]
}
},
"com.amazonaws.costandusagereportservice#DescribeReportDefinitionsRequest": {
Expand Down
68 changes: 47 additions & 21 deletions codegen/sdk-codegen/aws-models/direct-connect.json
Original file line number Diff line number Diff line change
Expand Up @@ -2512,7 +2512,33 @@
}
],
"traits": {
"smithy.api#documentation": "<p>Displays the specified connection or all connections in this Region.</p>"
"smithy.api#documentation": "<p>Displays the specified connection or all connections in this Region.</p>",
"smithy.test#smokeTests": [
{
"id": "DescribeConnectionsSuccess",
"params": {},
"vendorParams": {
"region": "us-west-2"
},
"vendorParamsShape": "aws.test#AwsVendorParams",
"expect": {
"success": {}
}
},
{
"id": "DescribeConnectionsFailure",
"params": {
"connectionId": "fake-connection"
},
"vendorParams": {
"region": "us-west-2"
},
"vendorParamsShape": "aws.test#AwsVendorParams",
"expect": {
"failure": {}
}
}
]
}
},
"com.amazonaws.directconnect#DescribeConnectionsOnInterconnect": {
Expand Down Expand Up @@ -5261,7 +5287,6 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [
Expand Down Expand Up @@ -5304,7 +5329,8 @@
},
"type": "endpoint"
}
]
],
"type": "tree"
},
{
"conditions": [
Expand All @@ -5317,7 +5343,6 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [
Expand All @@ -5331,7 +5356,6 @@
"assign": "PartitionResult"
}
],
"type": "tree",
"rules": [
{
"conditions": [
Expand All @@ -5354,7 +5378,6 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [
Expand Down Expand Up @@ -5389,7 +5412,6 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [],
Expand All @@ -5400,14 +5422,16 @@
},
"type": "endpoint"
}
]
],
"type": "tree"
},
{
"conditions": [],
"error": "FIPS and DualStack are enabled, but this partition does not support one or both",
"type": "error"
}
]
],
"type": "tree"
},
{
"conditions": [
Expand All @@ -5421,14 +5445,12 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
true,
{
"fn": "getAttr",
"argv": [
Expand All @@ -5437,11 +5459,11 @@
},
"supportsFIPS"
]
}
},
true
]
}
],
"type": "tree",
"rules": [
{
"conditions": [],
Expand All @@ -5452,14 +5474,16 @@
},
"type": "endpoint"
}
]
],
"type": "tree"
},
{
"conditions": [],
"error": "FIPS is enabled but this partition does not support FIPS",
"type": "error"
}
]
],
"type": "tree"
},
{
"conditions": [
Expand All @@ -5473,7 +5497,6 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [
Expand All @@ -5493,7 +5516,6 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [],
Expand All @@ -5504,14 +5526,16 @@
},
"type": "endpoint"
}
]
],
"type": "tree"
},
{
"conditions": [],
"error": "DualStack is enabled but this partition does not support DualStack",
"type": "error"
}
]
],
"type": "tree"
},
{
"conditions": [],
Expand All @@ -5522,9 +5546,11 @@
},
"type": "endpoint"
}
]
],
"type": "tree"
}
]
],
"type": "tree"
},
{
"conditions": [],
Expand Down
Loading

0 comments on commit 5df426a

Please sign in to comment.