import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateFileCacheRequest, UpdateFileCacheResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateFileCacheCommand}. */ export interface UpdateFileCacheCommandInput extends UpdateFileCacheRequest { } /** * @public * * The output of {@link UpdateFileCacheCommand}. */ export interface UpdateFileCacheCommandOutput extends UpdateFileCacheResponse, __MetadataBearer { } declare const UpdateFileCacheCommand_base: { new (input: UpdateFileCacheCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateFileCacheCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Updates the configuration of an existing Amazon File Cache resource. * You can update multiple properties in a single request.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { FSxClient, UpdateFileCacheCommand } from "@aws-sdk/client-fsx"; // ES Modules import * // const { FSxClient, UpdateFileCacheCommand } = require("@aws-sdk/client-fsx"); // CommonJS import * // import type { FSxClientConfig } from "@aws-sdk/client-fsx"; * const config = {}; // type is FSxClientConfig * const client = new FSxClient(config); * const input = { // UpdateFileCacheRequest * FileCacheId: "STRING_VALUE", // required * ClientRequestToken: "STRING_VALUE", * LustreConfiguration: { // UpdateFileCacheLustreConfiguration * WeeklyMaintenanceStartTime: "STRING_VALUE", * }, * }; * const command = new UpdateFileCacheCommand(input); * const response = await client.send(command); * // { // UpdateFileCacheResponse * // FileCache: { // FileCache * // OwnerId: "STRING_VALUE", * // CreationTime: new Date("TIMESTAMP"), * // FileCacheId: "STRING_VALUE", * // FileCacheType: "LUSTRE", * // FileCacheTypeVersion: "STRING_VALUE", * // Lifecycle: "AVAILABLE" || "CREATING" || "DELETING" || "UPDATING" || "FAILED", * // FailureDetails: { // FileCacheFailureDetails * // Message: "STRING_VALUE", * // }, * // StorageCapacity: Number("int"), * // VpcId: "STRING_VALUE", * // SubnetIds: [ // SubnetIds * // "STRING_VALUE", * // ], * // NetworkInterfaceIds: [ // NetworkInterfaceIds * // "STRING_VALUE", * // ], * // DNSName: "STRING_VALUE", * // KmsKeyId: "STRING_VALUE", * // ResourceARN: "STRING_VALUE", * // LustreConfiguration: { // FileCacheLustreConfiguration * // PerUnitStorageThroughput: Number("int"), * // DeploymentType: "CACHE_1", * // MountName: "STRING_VALUE", * // WeeklyMaintenanceStartTime: "STRING_VALUE", * // MetadataConfiguration: { // FileCacheLustreMetadataConfiguration * // StorageCapacity: Number("int"), // required * // }, * // LogConfiguration: { // LustreLogConfiguration * // Level: "DISABLED" || "WARN_ONLY" || "ERROR_ONLY" || "WARN_ERROR", // required * // Destination: "STRING_VALUE", * // }, * // }, * // DataRepositoryAssociationIds: [ // DataRepositoryAssociationIds * // "STRING_VALUE", * // ], * // }, * // }; * * ``` * * @param UpdateFileCacheCommandInput - {@link UpdateFileCacheCommandInput} * @returns {@link UpdateFileCacheCommandOutput} * @see {@link UpdateFileCacheCommandInput} for command's `input` shape. * @see {@link UpdateFileCacheCommandOutput} for command's `response` shape. * @see {@link FSxClientResolvedConfig | config} for FSxClient's `config` shape. * * @throws {@link BadRequest} (client fault) *

A generic error indicating a failure with a client request.

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

No caches were found based upon supplied parameters.

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

The error returned when a second request is received with the same client request * token but different parameters settings. A client request token should always uniquely * identify a single request.

* * @throws {@link InternalServerError} (server fault) *

A generic error indicating a server-side failure.

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

A cache configuration is required for this operation.

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

An error indicating that a particular service limit was exceeded. You can increase * some service limits by contacting Amazon Web Services Support.

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

The requested operation is not supported for this resource or API.

* * @throws {@link FSxServiceException} *

Base exception class for all service exceptions from FSx service.

* * * @public */ export declare class UpdateFileCacheCommand extends UpdateFileCacheCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateFileCacheRequest; output: UpdateFileCacheResponse; }; sdk: { input: UpdateFileCacheCommandInput; output: UpdateFileCacheCommandOutput; }; }; }