import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CodeBuildClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeBuildClient"; import type { DescribeTestCasesInput, DescribeTestCasesOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeTestCasesCommand}. */ export interface DescribeTestCasesCommandInput extends DescribeTestCasesInput { } /** * @public * * The output of {@link DescribeTestCasesCommand}. */ export interface DescribeTestCasesCommandOutput extends DescribeTestCasesOutput, __MetadataBearer { } declare const DescribeTestCasesCommand_base: { new (input: DescribeTestCasesCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: DescribeTestCasesCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

* Returns a list of details about test cases for a report. *

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CodeBuildClient, DescribeTestCasesCommand } from "@aws-sdk/client-codebuild"; // ES Modules import * // const { CodeBuildClient, DescribeTestCasesCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import * // import type { CodeBuildClientConfig } from "@aws-sdk/client-codebuild"; * const config = {}; // type is CodeBuildClientConfig * const client = new CodeBuildClient(config); * const input = { // DescribeTestCasesInput * reportArn: "STRING_VALUE", // required * nextToken: "STRING_VALUE", * maxResults: Number("int"), * filter: { // TestCaseFilter * status: "STRING_VALUE", * keyword: "STRING_VALUE", * }, * }; * const command = new DescribeTestCasesCommand(input); * const response = await client.send(command); * // { // DescribeTestCasesOutput * // nextToken: "STRING_VALUE", * // testCases: [ // TestCases * // { // TestCase * // reportArn: "STRING_VALUE", * // testRawDataPath: "STRING_VALUE", * // prefix: "STRING_VALUE", * // name: "STRING_VALUE", * // status: "STRING_VALUE", * // durationInNanoSeconds: Number("long"), * // message: "STRING_VALUE", * // expired: new Date("TIMESTAMP"), * // testSuiteName: "STRING_VALUE", * // }, * // ], * // }; * * ``` * * @param DescribeTestCasesCommandInput - {@link DescribeTestCasesCommandInput} * @returns {@link DescribeTestCasesCommandOutput} * @see {@link DescribeTestCasesCommandInput} for command's `input` shape. * @see {@link DescribeTestCasesCommandOutput} for command's `response` shape. * @see {@link CodeBuildClientResolvedConfig | config} for CodeBuildClient's `config` shape. * * @throws {@link InvalidInputException} (client fault) *

The input value that was provided is not valid.

* * @throws {@link ResourceNotFoundException} (client fault) *

The specified Amazon Web Services resource cannot be found.

* * @throws {@link CodeBuildServiceException} *

Base exception class for all service exceptions from CodeBuild service.

* * * @public */ export declare class DescribeTestCasesCommand extends DescribeTestCasesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeTestCasesInput; output: DescribeTestCasesOutput; }; sdk: { input: DescribeTestCasesCommandInput; output: DescribeTestCasesCommandOutput; }; }; }