Creates an endpoint for an Amazon EFS file system that DataSync can access for a transfer. For more information, see Creating a location for Amazon EFS.
Use a bare-bones client and the command you need to make an API call.
import { DataSyncClient, CreateLocationEfsCommand } from "@aws-sdk/client-datasync"; // ES Modules import // const { DataSyncClient, CreateLocationEfsCommand } = require("@aws-sdk/client-datasync"); // CommonJS import const client = new DataSyncClient(config); const command = new CreateLocationEfsCommand(input); const response = await client.send(command);
CreateLocationEfsCommandInput for command's input shape.
input
CreateLocationEfsCommandOutput for command's response shape.
response
config for DataSyncClient's config shape.
config
Creates an endpoint for an Amazon EFS file system that DataSync can access for a transfer. For more information, see Creating a location for Amazon EFS.
Use a bare-bones client and the command you need to make an API call.
import { DataSyncClient, CreateLocationEfsCommand } from "@aws-sdk/client-datasync"; // ES Modules import // const { DataSyncClient, CreateLocationEfsCommand } = require("@aws-sdk/client-datasync"); // CommonJS import const client = new DataSyncClient(config); const command = new CreateLocationEfsCommand(input); const response = await client.send(command);
CreateLocationEfsCommandInput for command's
input
shape.CreateLocationEfsCommandOutput for command's
response
shape.config for DataSyncClient's
config
shape.