From f727d58e9be633f2a83b39bf3e8a4a9f97182546 Mon Sep 17 00:00:00 2001 From: awstools Date: Fri, 4 Oct 2024 18:16:00 +0000 Subject: [PATCH] feat(client-iot-data-plane): Add v2 smoke tests and smithy smokeTests trait for SDK testing. --- .../sdk-codegen/aws-models/iot-data-plane.json | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/codegen/sdk-codegen/aws-models/iot-data-plane.json b/codegen/sdk-codegen/aws-models/iot-data-plane.json index d65b47d5e29c..7d3d4d391fc4 100644 --- a/codegen/sdk-codegen/aws-models/iot-data-plane.json +++ b/codegen/sdk-codegen/aws-models/iot-data-plane.json @@ -273,7 +273,23 @@ "method": "GET", "uri": "/things/{thingName}/shadow", "code": 200 - } + }, + "smithy.test#smokeTests": [ + { + "id": "GetThingShadowFailure", + "params": { + "thingName": "fake-thing" + }, + "vendorParams": { + "region": "us-west-2", + "uri": "https://data-ats.iot.us-west-2.amazonaws.com" + }, + "vendorParamsShape": "aws.test#AwsVendorParams", + "expect": { + "failure": {} + } + } + ] } }, "com.amazonaws.iotdataplane#GetThingShadowRequest": {