From 86c28e0e1fa4f9f2e3de5a50542d15c2a08b4d81 Mon Sep 17 00:00:00 2001 From: awstools Date: Fri, 2 Aug 2024 18:18:17 +0000 Subject: [PATCH] feat(client-kinesis): Add v2 smoke tests and smithy smokeTests trait for SDK testing. --- codegen/sdk-codegen/aws-models/kinesis.json | 30 ++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/codegen/sdk-codegen/aws-models/kinesis.json b/codegen/sdk-codegen/aws-models/kinesis.json index d690792228d81..34f7434c1a954 100644 --- a/codegen/sdk-codegen/aws-models/kinesis.json +++ b/codegen/sdk-codegen/aws-models/kinesis.json @@ -670,6 +670,21 @@ "value": "control" } }, + "smithy.test#smokeTests": [ + { + "id": "DescribeStreamFailure", + "params": { + "StreamName": "bogus-stream-name" + }, + "vendorParams": { + "region": "us-west-2" + }, + "vendorParamsShape": "aws.test#AwsVendorParams", + "expect": { + "failure": {} + } + } + ], "smithy.waiters#waitable": { "StreamExists": { "acceptors": [ @@ -6064,7 +6079,20 @@ "inputToken": "NextToken", "outputToken": "NextToken", "pageSize": "Limit" - } + }, + "smithy.test#smokeTests": [ + { + "id": "ListStreamsSuccess", + "params": {}, + "vendorParams": { + "region": "us-west-2" + }, + "vendorParamsShape": "aws.test#AwsVendorParams", + "expect": { + "success": {} + } + } + ] } }, "com.amazonaws.kinesis#ListStreamsInput": {