Skip to content

Commit 00b2422

Browse files
author
awstools
committed
feat(client-direct-connect): Add v2 smoke tests and smithy smokeTests trait for SDK testing.
1 parent 5a9caa5 commit 00b2422

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

codegen/sdk-codegen/aws-models/direct-connect.json

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2512,7 +2512,33 @@
25122512
}
25132513
],
25142514
"traits": {
2515-
"smithy.api#documentation": "<p>Displays the specified connection or all connections in this Region.</p>"
2515+
"smithy.api#documentation": "<p>Displays the specified connection or all connections in this Region.</p>",
2516+
"smithy.test#smokeTests": [
2517+
{
2518+
"id": "DescribeConnectionsSuccess",
2519+
"params": {},
2520+
"vendorParams": {
2521+
"region": "us-west-2"
2522+
},
2523+
"vendorParamsShape": "aws.test#AwsVendorParams",
2524+
"expect": {
2525+
"success": {}
2526+
}
2527+
},
2528+
{
2529+
"id": "DescribeConnectionsFailure",
2530+
"params": {
2531+
"connectionId": "fake-connection"
2532+
},
2533+
"vendorParams": {
2534+
"region": "us-west-2"
2535+
},
2536+
"vendorParamsShape": "aws.test#AwsVendorParams",
2537+
"expect": {
2538+
"failure": {}
2539+
}
2540+
}
2541+
]
25162542
}
25172543
},
25182544
"com.amazonaws.directconnect#DescribeConnectionsOnInterconnect": {

0 commit comments

Comments
 (0)