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 { DescribeStacksRequest, DescribeStacksResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeStacksCommand}. */ export interface DescribeStacksCommandInput extends DescribeStacksRequest { } /** * @public * * The output of {@link DescribeStacksCommand}. */ export interface DescribeStacksCommandOutput extends DescribeStacksResult, __MetadataBearer { } declare const DescribeStacksCommand_base: { new (input: DescribeStacksCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [DescribeStacksCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Retrieves a list that describes one or more specified stacks, if the stack names are provided. Otherwise, all stacks in the account are described.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { AppStreamClient, DescribeStacksCommand } from "@aws-sdk/client-appstream"; // ES Modules import * // const { AppStreamClient, DescribeStacksCommand } = 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 = { // DescribeStacksRequest * Names: [ // StringList * "STRING_VALUE", * ], * NextToken: "STRING_VALUE", * }; * const command = new DescribeStacksCommand(input); * const response = await client.send(command); * // { // DescribeStacksResult * // Stacks: [ // StackList * // { // Stack * // Arn: "STRING_VALUE", * // Name: "STRING_VALUE", // required * // Description: "STRING_VALUE", * // DisplayName: "STRING_VALUE", * // CreatedTime: new Date("TIMESTAMP"), * // StorageConnectors: [ // StorageConnectorList * // { // StorageConnector * // ConnectorType: "HOMEFOLDERS" || "GOOGLE_DRIVE" || "ONE_DRIVE", // required * // ResourceIdentifier: "STRING_VALUE", * // Domains: [ // DomainList * // "STRING_VALUE", * // ], * // DomainsRequireAdminConsent: [ * // "STRING_VALUE", * // ], * // }, * // ], * // RedirectURL: "STRING_VALUE", * // FeedbackURL: "STRING_VALUE", * // StackErrors: [ // StackErrors * // { // StackError * // ErrorCode: "STORAGE_CONNECTOR_ERROR" || "INTERNAL_SERVICE_ERROR", * // ErrorMessage: "STRING_VALUE", * // }, * // ], * // UserSettings: [ // UserSettingList * // { // UserSetting * // Action: "CLIPBOARD_COPY_FROM_LOCAL_DEVICE" || "CLIPBOARD_COPY_TO_LOCAL_DEVICE" || "FILE_UPLOAD" || "FILE_DOWNLOAD" || "PRINTING_TO_LOCAL_DEVICE" || "DOMAIN_PASSWORD_SIGNIN" || "DOMAIN_SMART_CARD_SIGNIN" || "AUTO_TIME_ZONE_REDIRECTION", // required * // Permission: "ENABLED" || "DISABLED", // required * // MaximumLength: Number("int"), * // }, * // ], * // ApplicationSettings: { // ApplicationSettingsResponse * // Enabled: true || false, * // SettingsGroup: "STRING_VALUE", * // S3BucketName: "STRING_VALUE", * // }, * // AccessEndpoints: [ // AccessEndpointList * // { // AccessEndpoint * // EndpointType: "STREAMING", // required * // VpceId: "STRING_VALUE", * // }, * // ], * // EmbedHostDomains: [ // EmbedHostDomains * // "STRING_VALUE", * // ], * // StreamingExperienceSettings: { // StreamingExperienceSettings * // PreferredProtocol: "TCP" || "UDP", * // }, * // ContentRedirection: { // ContentRedirection * // HostToClient: { // UrlRedirectionConfig * // Enabled: true || false, // required * // AllowedUrls: [ // UrlPatternList * // "STRING_VALUE", * // ], * // DeniedUrls: [ * // "STRING_VALUE", * // ], * // }, * // }, * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param DescribeStacksCommandInput - {@link DescribeStacksCommandInput} * @returns {@link DescribeStacksCommandOutput} * @see {@link DescribeStacksCommandInput} for command's `input` shape. * @see {@link DescribeStacksCommandOutput} for command's `response` shape. * @see {@link AppStreamClientResolvedConfig | config} for AppStreamClient's `config` shape. * * @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 DescribeStacksCommand extends DescribeStacksCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeStacksRequest; output: DescribeStacksResult; }; sdk: { input: DescribeStacksCommandInput; output: DescribeStacksCommandOutput; }; }; }