From a6db26e5799037d11e87c9723d40287ca26177f5 Mon Sep 17 00:00:00 2001 From: awstools Date: Fri, 14 Feb 2025 19:19:46 +0000 Subject: [PATCH] feat(client-codebuild): Added test suite names to test case metadata --- .../src/commands/DescribeTestCasesCommand.ts | 1 + clients/client-codebuild/src/models/models_0.ts | 6 ++++++ clients/client-codebuild/src/protocols/Aws_json1_1.ts | 1 + codegen/sdk-codegen/aws-models/codebuild.json | 6 ++++++ 4 files changed, 14 insertions(+) diff --git a/clients/client-codebuild/src/commands/DescribeTestCasesCommand.ts b/clients/client-codebuild/src/commands/DescribeTestCasesCommand.ts index 0a2057c50f09..84c49b969b4c 100644 --- a/clients/client-codebuild/src/commands/DescribeTestCasesCommand.ts +++ b/clients/client-codebuild/src/commands/DescribeTestCasesCommand.ts @@ -60,6 +60,7 @@ export interface DescribeTestCasesCommandOutput extends DescribeTestCasesOutput, * // durationInNanoSeconds: Number("long"), * // message: "STRING_VALUE", * // expired: new Date("TIMESTAMP"), + * // testSuiteName: "STRING_VALUE", * // }, * // ], * // }; diff --git a/clients/client-codebuild/src/models/models_0.ts b/clients/client-codebuild/src/models/models_0.ts index a5c9ea010027..a04a7febab29 100644 --- a/clients/client-codebuild/src/models/models_0.ts +++ b/clients/client-codebuild/src/models/models_0.ts @@ -6022,6 +6022,12 @@ export interface TestCase { * @public */ expired?: Date | undefined; + + /** + *

The name of the test suite that the test case is a part of.

+ * @public + */ + testSuiteName?: string | undefined; } /** diff --git a/clients/client-codebuild/src/protocols/Aws_json1_1.ts b/clients/client-codebuild/src/protocols/Aws_json1_1.ts index d6badb2616c9..c5bb05c8bd48 100644 --- a/clients/client-codebuild/src/protocols/Aws_json1_1.ts +++ b/clients/client-codebuild/src/protocols/Aws_json1_1.ts @@ -3137,6 +3137,7 @@ const de_TestCase = (output: any, context: __SerdeContext): TestCase => { reportArn: __expectString, status: __expectString, testRawDataPath: __expectString, + testSuiteName: __expectString, }) as any; }; diff --git a/codegen/sdk-codegen/aws-models/codebuild.json b/codegen/sdk-codegen/aws-models/codebuild.json index e38778747172..3e99b169b662 100644 --- a/codegen/sdk-codegen/aws-models/codebuild.json +++ b/codegen/sdk-codegen/aws-models/codebuild.json @@ -8735,6 +8735,12 @@ "traits": { "smithy.api#documentation": "

The date and time a test case expires. A test case expires 30 days after it is\n created. An expired test case is not available to view in CodeBuild.

" } + }, + "testSuiteName": { + "target": "com.amazonaws.codebuild#String", + "traits": { + "smithy.api#documentation": "

The name of the test suite that the test case is a part of.

" + } } }, "traits": {