import { Command as $Command } from "@smithy/smithy-client";
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
import { ModifySnapshotAttributeRequest } from "../models/models_7";
/**
 * @public
 */
export type { __MetadataBearer };
export { $Command };
/**
 * @public
 *
 * The input for {@link ModifySnapshotAttributeCommand}.
 */
export interface ModifySnapshotAttributeCommandInput extends ModifySnapshotAttributeRequest {
}
/**
 * @public
 *
 * The output of {@link ModifySnapshotAttributeCommand}.
 */
export interface ModifySnapshotAttributeCommandOutput extends __MetadataBearer {
}
declare const ModifySnapshotAttributeCommand_base: {
    new (input: ModifySnapshotAttributeCommandInput): import("@smithy/smithy-client").CommandImpl<ModifySnapshotAttributeCommandInput, ModifySnapshotAttributeCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
    new (input: ModifySnapshotAttributeCommandInput): import("@smithy/smithy-client").CommandImpl<ModifySnapshotAttributeCommandInput, ModifySnapshotAttributeCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
    getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
};
/**
 * <p>Adds or removes permission settings for the specified snapshot. You may add or remove
 *       specified Amazon Web Services account IDs from a snapshot's list of create volume permissions, but you cannot
 *       do both in a single operation. If you need to both add and remove account IDs for a snapshot,
 *       you must use multiple operations. You can make up to 500 modifications to a snapshot in a single operation.</p>
 *          <p>Encrypted snapshots and snapshots with Amazon Web Services Marketplace product codes cannot be made
 *       public. Snapshots encrypted with your default KMS key cannot be shared with other accounts.</p>
 *          <p>For more information about modifying snapshot permissions, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-modifying-snapshot-permissions.html">Share a snapshot</a> in the
 *         <i>Amazon EBS User Guide</i>.</p>
 * @example
 * Use a bare-bones client and the command you need to make an API call.
 * ```javascript
 * import { EC2Client, ModifySnapshotAttributeCommand } from "@aws-sdk/client-ec2"; // ES Modules import
 * // const { EC2Client, ModifySnapshotAttributeCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
 * const client = new EC2Client(config);
 * const input = { // ModifySnapshotAttributeRequest
 *   Attribute: "productCodes" || "createVolumePermission",
 *   CreateVolumePermission: { // CreateVolumePermissionModifications
 *     Add: [ // CreateVolumePermissionList
 *       { // CreateVolumePermission
 *         UserId: "STRING_VALUE",
 *         Group: "all",
 *       },
 *     ],
 *     Remove: [
 *       {
 *         UserId: "STRING_VALUE",
 *         Group: "all",
 *       },
 *     ],
 *   },
 *   GroupNames: [ // GroupNameStringList
 *     "STRING_VALUE",
 *   ],
 *   OperationType: "add" || "remove",
 *   SnapshotId: "STRING_VALUE", // required
 *   UserIds: [ // UserIdStringList
 *     "STRING_VALUE",
 *   ],
 *   DryRun: true || false,
 * };
 * const command = new ModifySnapshotAttributeCommand(input);
 * const response = await client.send(command);
 * // {};
 *
 * ```
 *
 * @param ModifySnapshotAttributeCommandInput - {@link ModifySnapshotAttributeCommandInput}
 * @returns {@link ModifySnapshotAttributeCommandOutput}
 * @see {@link ModifySnapshotAttributeCommandInput} for command's `input` shape.
 * @see {@link ModifySnapshotAttributeCommandOutput} for command's `response` shape.
 * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
 *
 * @throws {@link EC2ServiceException}
 * <p>Base exception class for all service exceptions from EC2 service.</p>
 *
 *
 * @example To make a snapshot public
 * ```javascript
 * // This example makes the snapshot ``snap-1234567890abcdef0`` public.
 * const input = {
 *   Attribute: "createVolumePermission",
 *   GroupNames: [
 *     "all"
 *   ],
 *   OperationType: "add",
 *   SnapshotId: "snap-1234567890abcdef0"
 * };
 * const command = new ModifySnapshotAttributeCommand(input);
 * const response = await client.send(command);
 * /* response is
 * { /* empty *\/ }
 * *\/
 * ```
 *
 * @example To modify a snapshot attribute
 * ```javascript
 * // This example modifies snapshot ``snap-1234567890abcdef0`` to remove the create volume permission for a user with the account ID ``123456789012``. If the command succeeds, no output is returned.
 * const input = {
 *   Attribute: "createVolumePermission",
 *   OperationType: "remove",
 *   SnapshotId: "snap-1234567890abcdef0",
 *   UserIds: [
 *     "123456789012"
 *   ]
 * };
 * const command = new ModifySnapshotAttributeCommand(input);
 * const response = await client.send(command);
 * /* response is
 * { /* empty *\/ }
 * *\/
 * ```
 *
 * @public
 */
export declare class ModifySnapshotAttributeCommand extends ModifySnapshotAttributeCommand_base {
    /** @internal type navigation helper, not in runtime. */
    protected static __types: {
        api: {
            input: ModifySnapshotAttributeRequest;
            output: {};
        };
        sdk: {
            input: ModifySnapshotAttributeCommandInput;
            output: ModifySnapshotAttributeCommandOutput;
        };
    };
}
