Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CreateLocationEfsCommand

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.

example

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);
see

CreateLocationEfsCommandInput for command's input shape.

see

CreateLocationEfsCommandOutput for command's response shape.

see

config for DataSyncClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: CreateLocationEfsCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions