import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { AppStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppStreamClient"; import type { CreateStreamingURLRequest, CreateStreamingURLResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link CreateStreamingURLCommand}. */ export interface CreateStreamingURLCommandInput extends CreateStreamingURLRequest { } /** * @public * * The output of {@link CreateStreamingURLCommand}. */ export interface CreateStreamingURLCommandOutput extends CreateStreamingURLResult, __MetadataBearer { } declare const CreateStreamingURLCommand_base: { new (input: CreateStreamingURLCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: CreateStreamingURLCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Creates a temporary URL to start an WorkSpaces Applications streaming session for the specified user. A streaming URL enables application streaming to be tested without user setup.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { AppStreamClient, CreateStreamingURLCommand } from "@aws-sdk/client-appstream"; // ES Modules import * // const { AppStreamClient, CreateStreamingURLCommand } = require("@aws-sdk/client-appstream"); // CommonJS import * // import type { AppStreamClientConfig } from "@aws-sdk/client-appstream"; * const config = {}; // type is AppStreamClientConfig * const client = new AppStreamClient(config); * const input = { // CreateStreamingURLRequest * StackName: "STRING_VALUE", // required * FleetName: "STRING_VALUE", // required * UserId: "STRING_VALUE", // required * ApplicationId: "STRING_VALUE", * Validity: Number("long"), * SessionContext: "STRING_VALUE", * }; * const command = new CreateStreamingURLCommand(input); * const response = await client.send(command); * // { // CreateStreamingURLResult * // StreamingURL: "STRING_VALUE", * // Expires: new Date("TIMESTAMP"), * // }; * * ``` * * @param CreateStreamingURLCommandInput - {@link CreateStreamingURLCommandInput} * @returns {@link CreateStreamingURLCommandOutput} * @see {@link CreateStreamingURLCommandInput} for command's `input` shape. * @see {@link CreateStreamingURLCommandOutput} for command's `response` shape. * @see {@link AppStreamClientResolvedConfig | config} for AppStreamClient's `config` shape. * * @throws {@link InvalidParameterCombinationException} (client fault) *

Indicates an incorrect combination of parameters, or a missing parameter.

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

The attempted operation is not permitted.

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

The specified resource exists and is not in use, but isn't available.

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

The specified resource was not found.

* * @throws {@link AppStreamServiceException} *

Base exception class for all service exceptions from AppStream service.

* * * @public */ export declare class CreateStreamingURLCommand extends CreateStreamingURLCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateStreamingURLRequest; output: CreateStreamingURLResult; }; sdk: { input: CreateStreamingURLCommandInput; output: CreateStreamingURLCommandOutput; }; }; }