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

Retrieves a list that describes one or more app blocks.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { AppStreamClient, DescribeAppBlocksCommand } from "@aws-sdk/client-appstream"; // ES Modules import * // const { AppStreamClient, DescribeAppBlocksCommand } = 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 = { // DescribeAppBlocksRequest * Arns: [ // ArnList * "STRING_VALUE", * ], * NextToken: "STRING_VALUE", * MaxResults: Number("int"), * }; * const command = new DescribeAppBlocksCommand(input); * const response = await client.send(command); * // { // DescribeAppBlocksResult * // AppBlocks: [ // AppBlocks * // { // AppBlock * // Name: "STRING_VALUE", // required * // Arn: "STRING_VALUE", // required * // Description: "STRING_VALUE", * // DisplayName: "STRING_VALUE", * // SourceS3Location: { // S3Location * // S3Bucket: "STRING_VALUE", // required * // S3Key: "STRING_VALUE", * // }, * // SetupScriptDetails: { // ScriptDetails * // ScriptS3Location: { * // S3Bucket: "STRING_VALUE", // required * // S3Key: "STRING_VALUE", * // }, * // ExecutablePath: "STRING_VALUE", // required * // ExecutableParameters: "STRING_VALUE", * // TimeoutInSeconds: Number("int"), // required * // }, * // CreatedTime: new Date("TIMESTAMP"), * // PostSetupScriptDetails: { * // ScriptS3Location: { * // S3Bucket: "STRING_VALUE", // required * // S3Key: "STRING_VALUE", * // }, * // ExecutablePath: "STRING_VALUE", // required * // ExecutableParameters: "STRING_VALUE", * // TimeoutInSeconds: Number("int"), // required * // }, * // PackagingType: "CUSTOM" || "APPSTREAM2", * // State: "INACTIVE" || "ACTIVE", * // AppBlockErrors: [ // ErrorDetailsList * // { // ErrorDetails * // ErrorCode: "STRING_VALUE", * // ErrorMessage: "STRING_VALUE", * // }, * // ], * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param DescribeAppBlocksCommandInput - {@link DescribeAppBlocksCommandInput} * @returns {@link DescribeAppBlocksCommandOutput} * @see {@link DescribeAppBlocksCommandInput} for command's `input` shape. * @see {@link DescribeAppBlocksCommandOutput} for command's `response` shape. * @see {@link AppStreamClientResolvedConfig | config} for AppStreamClient's `config` shape. * * @throws {@link OperationNotPermittedException} (client fault) *

The attempted operation is not permitted.

* * @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 DescribeAppBlocksCommand extends DescribeAppBlocksCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeAppBlocksRequest; output: DescribeAppBlocksResult; }; sdk: { input: DescribeAppBlocksCommandInput; output: DescribeAppBlocksCommandOutput; }; }; }