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 { DescribeImagePermissionsRequest, DescribeImagePermissionsResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeImagePermissionsCommand}. */ export interface DescribeImagePermissionsCommandInput extends DescribeImagePermissionsRequest { } /** * @public * * The output of {@link DescribeImagePermissionsCommand}. */ export interface DescribeImagePermissionsCommandOutput extends DescribeImagePermissionsResult, __MetadataBearer { } declare const DescribeImagePermissionsCommand_base: { new (input: DescribeImagePermissionsCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: DescribeImagePermissionsCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Retrieves a list that describes the permissions for shared AWS account IDs on a private image that you own.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { AppStreamClient, DescribeImagePermissionsCommand } from "@aws-sdk/client-appstream"; // ES Modules import * // const { AppStreamClient, DescribeImagePermissionsCommand } = 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 = { // DescribeImagePermissionsRequest * Name: "STRING_VALUE", // required * MaxResults: Number("int"), * SharedAwsAccountIds: [ // AwsAccountIdList * "STRING_VALUE", * ], * NextToken: "STRING_VALUE", * }; * const command = new DescribeImagePermissionsCommand(input); * const response = await client.send(command); * // { // DescribeImagePermissionsResult * // Name: "STRING_VALUE", * // SharedImagePermissionsList: [ // SharedImagePermissionsList * // { // SharedImagePermissions * // sharedAccountId: "STRING_VALUE", // required * // imagePermissions: { // ImagePermissions * // allowFleet: true || false, * // allowImageBuilder: true || false, * // }, * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param DescribeImagePermissionsCommandInput - {@link DescribeImagePermissionsCommandInput} * @returns {@link DescribeImagePermissionsCommandOutput} * @see {@link DescribeImagePermissionsCommandInput} for command's `input` shape. * @see {@link DescribeImagePermissionsCommandOutput} 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 DescribeImagePermissionsCommand extends DescribeImagePermissionsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeImagePermissionsRequest; output: DescribeImagePermissionsResult; }; sdk: { input: DescribeImagePermissionsCommandInput; output: DescribeImagePermissionsCommandOutput; }; }; }