import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateFileSystemAssociationInput, UpdateFileSystemAssociationOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateFileSystemAssociationCommand}. */ export interface UpdateFileSystemAssociationCommandInput extends UpdateFileSystemAssociationInput { } /** * @public * * The output of {@link UpdateFileSystemAssociationCommand}. */ export interface UpdateFileSystemAssociationCommandOutput extends UpdateFileSystemAssociationOutput, __MetadataBearer { } declare const UpdateFileSystemAssociationCommand_base: { new (input: UpdateFileSystemAssociationCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateFileSystemAssociationCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Updates a file system association. This operation is only supported in the FSx File * Gateways.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { StorageGatewayClient, UpdateFileSystemAssociationCommand } from "@aws-sdk/client-storage-gateway"; // ES Modules import * // const { StorageGatewayClient, UpdateFileSystemAssociationCommand } = 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 = { // UpdateFileSystemAssociationInput * FileSystemAssociationARN: "STRING_VALUE", // required * UserName: "STRING_VALUE", * Password: "STRING_VALUE", * AuditDestinationARN: "STRING_VALUE", * CacheAttributes: { // CacheAttributes * CacheStaleTimeoutInSeconds: Number("int"), * }, * }; * const command = new UpdateFileSystemAssociationCommand(input); * const response = await client.send(command); * // { // UpdateFileSystemAssociationOutput * // FileSystemAssociationARN: "STRING_VALUE", * // }; * * ``` * * @param UpdateFileSystemAssociationCommandInput - {@link UpdateFileSystemAssociationCommandInput} * @returns {@link UpdateFileSystemAssociationCommandOutput} * @see {@link UpdateFileSystemAssociationCommandInput} for command's `input` shape. * @see {@link UpdateFileSystemAssociationCommandOutput} 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.

* * * @public */ export declare class UpdateFileSystemAssociationCommand extends UpdateFileSystemAssociationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateFileSystemAssociationInput; output: UpdateFileSystemAssociationOutput; }; sdk: { input: UpdateFileSystemAssociationCommandInput; output: UpdateFileSystemAssociationCommandOutput; }; }; }