import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateVTLDeviceTypeInput, UpdateVTLDeviceTypeOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateVTLDeviceTypeCommand}. */ export interface UpdateVTLDeviceTypeCommandInput extends UpdateVTLDeviceTypeInput { } /** * @public * * The output of {@link UpdateVTLDeviceTypeCommand}. */ export interface UpdateVTLDeviceTypeCommandOutput extends UpdateVTLDeviceTypeOutput, __MetadataBearer { } declare const UpdateVTLDeviceTypeCommand_base: { new (input: UpdateVTLDeviceTypeCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateVTLDeviceTypeCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Updates the type of medium changer in a tape gateway. When you activate a tape gateway, * you select a medium changer type for the tape gateway. This operation enables you to select * a different type of medium changer after a tape gateway is activated. This operation is * only supported in the tape gateway type.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { StorageGatewayClient, UpdateVTLDeviceTypeCommand } from "@aws-sdk/client-storage-gateway"; // ES Modules import * // const { StorageGatewayClient, UpdateVTLDeviceTypeCommand } = require("@aws-sdk/client-storage-gateway"); // CommonJS import * // import type { StorageGatewayClientConfig } from "@aws-sdk/client-storage-gateway"; * const config = {}; // type is StorageGatewayClientConfig * const client = new StorageGatewayClient(config); * const input = { // UpdateVTLDeviceTypeInput * VTLDeviceARN: "STRING_VALUE", // required * DeviceType: "STRING_VALUE", // required * }; * const command = new UpdateVTLDeviceTypeCommand(input); * const response = await client.send(command); * // { // UpdateVTLDeviceTypeOutput * // VTLDeviceARN: "STRING_VALUE", * // }; * * ``` * * @param UpdateVTLDeviceTypeCommandInput - {@link UpdateVTLDeviceTypeCommandInput} * @returns {@link UpdateVTLDeviceTypeCommandOutput} * @see {@link UpdateVTLDeviceTypeCommandInput} for command's `input` shape. * @see {@link UpdateVTLDeviceTypeCommandOutput} for command's `response` shape. * @see {@link StorageGatewayClientResolvedConfig | config} for StorageGatewayClient's `config` shape. * * @throws {@link InternalServerError} (server fault) *

An internal server error has occurred during the request. For more information, see the * error and message fields.

* * @throws {@link InvalidGatewayRequestException} (client fault) *

An exception occurred because an invalid gateway request was issued to the service. For * more information, see the error and message fields.

* * @throws {@link StorageGatewayServiceException} *

Base exception class for all service exceptions from StorageGateway service.

* * * @example To update a VTL device type * ```javascript * // Updates the type of medium changer in a gateway-VTL after a gateway-VTL is activated. * const input = { * DeviceType: "Medium Changer", * VTLDeviceARN: "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B/device/AMZN_SGW-1FAD4876_MEDIACHANGER_00001" * }; * const command = new UpdateVTLDeviceTypeCommand(input); * const response = await client.send(command); * /* response is * { * VTLDeviceARN: "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B/device/AMZN_SGW-1FAD4876_MEDIACHANGER_00001" * } * *\/ * ``` * * @public */ export declare class UpdateVTLDeviceTypeCommand extends UpdateVTLDeviceTypeCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateVTLDeviceTypeInput; output: UpdateVTLDeviceTypeOutput; }; sdk: { input: UpdateVTLDeviceTypeCommandInput; output: UpdateVTLDeviceTypeCommandOutput; }; }; }