import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { FileSystemDescription, UpdateFileSystemRequest } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateFileSystemCommand}. */ export interface UpdateFileSystemCommandInput extends UpdateFileSystemRequest { } /** * @public * * The output of {@link UpdateFileSystemCommand}. */ export interface UpdateFileSystemCommandOutput extends FileSystemDescription, __MetadataBearer { } declare const UpdateFileSystemCommand_base: { new (input: UpdateFileSystemCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateFileSystemCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Updates the throughput mode or the amount of provisioned throughput of an existing file * system.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { EFSClient, UpdateFileSystemCommand } from "@aws-sdk/client-efs"; // ES Modules import * // const { EFSClient, UpdateFileSystemCommand } = require("@aws-sdk/client-efs"); // CommonJS import * // import type { EFSClientConfig } from "@aws-sdk/client-efs"; * const config = {}; // type is EFSClientConfig * const client = new EFSClient(config); * const input = { // UpdateFileSystemRequest * FileSystemId: "STRING_VALUE", // required * ThroughputMode: "bursting" || "provisioned" || "elastic", * ProvisionedThroughputInMibps: Number("double"), * }; * const command = new UpdateFileSystemCommand(input); * const response = await client.send(command); * // { // FileSystemDescription * // OwnerId: "STRING_VALUE", // required * // CreationToken: "STRING_VALUE", // required * // FileSystemId: "STRING_VALUE", // required * // FileSystemArn: "STRING_VALUE", * // CreationTime: new Date("TIMESTAMP"), // required * // LifeCycleState: "creating" || "available" || "updating" || "deleting" || "deleted" || "error", // required * // Name: "STRING_VALUE", * // NumberOfMountTargets: Number("int"), // required * // SizeInBytes: { // FileSystemSize * // Value: Number("long"), // required * // Timestamp: new Date("TIMESTAMP"), * // ValueInIA: Number("long"), * // ValueInStandard: Number("long"), * // ValueInArchive: Number("long"), * // }, * // PerformanceMode: "generalPurpose" || "maxIO", // required * // Encrypted: true || false, * // KmsKeyId: "STRING_VALUE", * // ThroughputMode: "bursting" || "provisioned" || "elastic", * // ProvisionedThroughputInMibps: Number("double"), * // AvailabilityZoneName: "STRING_VALUE", * // AvailabilityZoneId: "STRING_VALUE", * // Tags: [ // Tags // required * // { // Tag * // Key: "STRING_VALUE", // required * // Value: "STRING_VALUE", // required * // }, * // ], * // FileSystemProtection: { // FileSystemProtectionDescription * // ReplicationOverwriteProtection: "ENABLED" || "DISABLED" || "REPLICATING", * // }, * // }; * * ``` * * @param UpdateFileSystemCommandInput - {@link UpdateFileSystemCommandInput} * @returns {@link UpdateFileSystemCommandOutput} * @see {@link UpdateFileSystemCommandInput} for command's `input` shape. * @see {@link UpdateFileSystemCommandOutput} for command's `response` shape. * @see {@link EFSClientResolvedConfig | config} for EFSClient's `config` shape. * * @throws {@link BadRequest} (client fault) *

Returned if the request is malformed or contains an error such as an invalid * parameter value or a missing required parameter.

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

Returned if the specified FileSystemId value doesn't exist in the * requester's Amazon Web Services account.

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

Returned if the file system's lifecycle state is not "available".

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

Returned if there's not enough capacity to provision additional throughput. This value * might be returned when you try to create a file system in provisioned throughput mode, * when you attempt to increase the provisioned throughput of an existing file system, or * when you attempt to change an existing file system from Bursting Throughput to * Provisioned Throughput mode. Try again later.

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

Returned if an error occurred on the server side.

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

Returned if the throughput mode or amount of provisioned throughput can't be changed * because the throughput limit of 1024 MiB/s has been reached.

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

Returned if you don’t wait at least 24 hours before either changing the throughput mode, or * decreasing the Provisioned Throughput value.

* * @throws {@link EFSServiceException} *

Base exception class for all service exceptions from EFS service.

* * * @public */ export declare class UpdateFileSystemCommand extends UpdateFileSystemCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateFileSystemRequest; output: FileSystemDescription; }; sdk: { input: UpdateFileSystemCommandInput; output: UpdateFileSystemCommandOutput; }; }; }