import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeviceFarmClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DeviceFarmClient"; import type { ListTestGridSessionArtifactsRequest, ListTestGridSessionArtifactsResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListTestGridSessionArtifactsCommand}. */ export interface ListTestGridSessionArtifactsCommandInput extends ListTestGridSessionArtifactsRequest { } /** * @public * * The output of {@link ListTestGridSessionArtifactsCommand}. */ export interface ListTestGridSessionArtifactsCommandOutput extends ListTestGridSessionArtifactsResult, __MetadataBearer { } declare const ListTestGridSessionArtifactsCommand_base: { new (input: ListTestGridSessionArtifactsCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: ListTestGridSessionArtifactsCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Retrieves a list of artifacts created during the session.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DeviceFarmClient, ListTestGridSessionArtifactsCommand } from "@aws-sdk/client-device-farm"; // ES Modules import * // const { DeviceFarmClient, ListTestGridSessionArtifactsCommand } = require("@aws-sdk/client-device-farm"); // CommonJS import * // import type { DeviceFarmClientConfig } from "@aws-sdk/client-device-farm"; * const config = {}; // type is DeviceFarmClientConfig * const client = new DeviceFarmClient(config); * const input = { // ListTestGridSessionArtifactsRequest * sessionArn: "STRING_VALUE", // required * type: "VIDEO" || "LOG", * maxResult: Number("int"), * nextToken: "STRING_VALUE", * }; * const command = new ListTestGridSessionArtifactsCommand(input); * const response = await client.send(command); * // { // ListTestGridSessionArtifactsResult * // artifacts: [ // TestGridSessionArtifacts * // { // TestGridSessionArtifact * // filename: "STRING_VALUE", * // type: "UNKNOWN" || "VIDEO" || "SELENIUM_LOG", * // url: "STRING_VALUE", * // }, * // ], * // nextToken: "STRING_VALUE", * // }; * * ``` * * @param ListTestGridSessionArtifactsCommandInput - {@link ListTestGridSessionArtifactsCommandInput} * @returns {@link ListTestGridSessionArtifactsCommandOutput} * @see {@link ListTestGridSessionArtifactsCommandInput} for command's `input` shape. * @see {@link ListTestGridSessionArtifactsCommandOutput} for command's `response` shape. * @see {@link DeviceFarmClientResolvedConfig | config} for DeviceFarmClient's `config` shape. * * @throws {@link ArgumentException} (client fault) *

An invalid argument was specified.

* * @throws {@link InternalServiceException} (server fault) *

An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com if you see this * error.

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

The specified entity was not found.

* * @throws {@link DeviceFarmServiceException} *

Base exception class for all service exceptions from DeviceFarm service.

* * * @public */ export declare class ListTestGridSessionArtifactsCommand extends ListTestGridSessionArtifactsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListTestGridSessionArtifactsRequest; output: ListTestGridSessionArtifactsResult; }; sdk: { input: ListTestGridSessionArtifactsCommandInput; output: ListTestGridSessionArtifactsCommandOutput; }; }; }