Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AssociateFileSystemCommand

Associate an Amazon FSx file system with the FSx File Gateway. After the association process is complete, the file shares on the Amazon FSx file system are available for access through the gateway. This operation only supports the FSx File Gateway type.

example

Use a bare-bones client and the command you need to make an API call.

import { StorageGatewayClient, AssociateFileSystemCommand } from "@aws-sdk/client-storage-gateway"; // ES Modules import
// const { StorageGatewayClient, AssociateFileSystemCommand } = require("@aws-sdk/client-storage-gateway"); // CommonJS import
const client = new StorageGatewayClient(config);
const command = new AssociateFileSystemCommand(input);
const response = await client.send(command);
see

AssociateFileSystemCommandInput for command's input shape.

see

AssociateFileSystemCommandOutput for command's response shape.

see

config for StorageGatewayClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: AssociateFileSystemCommandInput

Readonly middlewareStack