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

Adds or updates permissions for the specified private image.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { AppStreamClient, UpdateImagePermissionsCommand } from "@aws-sdk/client-appstream"; // ES Modules import * // const { AppStreamClient, UpdateImagePermissionsCommand } = 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 = { // UpdateImagePermissionsRequest * Name: "STRING_VALUE", // required * SharedAccountId: "STRING_VALUE", // required * ImagePermissions: { // ImagePermissions * allowFleet: true || false, * allowImageBuilder: true || false, * }, * }; * const command = new UpdateImagePermissionsCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param UpdateImagePermissionsCommandInput - {@link UpdateImagePermissionsCommandInput} * @returns {@link UpdateImagePermissionsCommandOutput} * @see {@link UpdateImagePermissionsCommandInput} for command's `input` shape. * @see {@link UpdateImagePermissionsCommandOutput} for command's `response` shape. * @see {@link AppStreamClientResolvedConfig | config} for AppStreamClient's `config` shape. * * @throws {@link LimitExceededException} (client fault) *

The requested limit exceeds the permitted limit for an account.

* * @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 UpdateImagePermissionsCommand extends UpdateImagePermissionsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateImagePermissionsRequest; output: {}; }; sdk: { input: UpdateImagePermissionsCommandInput; output: UpdateImagePermissionsCommandOutput; }; }; }