From fe5f536113a95bc5a9a8b69e7de83ff17fc4a152 Mon Sep 17 00:00:00 2001 From: awstools Date: Mon, 1 Jul 2024 19:41:49 +0000 Subject: [PATCH] feat(client-sfn): Add v2 smoke tests and smithy smokeTests trait for SDK testing. --- codegen/sdk-codegen/aws-models/sfn.json | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/codegen/sdk-codegen/aws-models/sfn.json b/codegen/sdk-codegen/aws-models/sfn.json index ad2942fa9014..82247fb2aa2d 100644 --- a/codegen/sdk-codegen/aws-models/sfn.json +++ b/codegen/sdk-codegen/aws-models/sfn.json @@ -150,7 +150,7 @@ "sdkId": "SFN", "arnNamespace": "states", "cloudFormationName": "StepFunctions", - "cloudTrailEventSource": "sfn.amazonaws.com", + "cloudTrailEventSource": "states.amazonaws.com", "docId": "states-2016-11-23", "endpointPrefix": "states" }, @@ -4222,7 +4222,20 @@ "outputToken": "nextToken", "items": "activities", "pageSize": "maxResults" - } + }, + "smithy.test#smokeTests": [ + { + "id": "ListActivitiesSuccess", + "params": {}, + "vendorParams": { + "region": "us-west-2" + }, + "vendorParamsShape": "aws.test#AwsVendorParams", + "expect": { + "success": {} + } + } + ] } }, "com.amazonaws.sfn#ListActivitiesInput": {