Deletes the configuration of a location used by DataSync.
Use a bare-bones client and the command you need to make an API call.
import { DataSyncClient, DeleteLocationCommand } from "@aws-sdk/client-datasync"; // ES Modules import // const { DataSyncClient, DeleteLocationCommand } = require("@aws-sdk/client-datasync"); // CommonJS import const client = new DataSyncClient(config); const command = new DeleteLocationCommand(input); const response = await client.send(command);
DeleteLocationCommandInput for command's input shape.
input
DeleteLocationCommandOutput for command's response shape.
response
config for DataSyncClient's config shape.
config
Deletes the configuration of a location used by DataSync.
Use a bare-bones client and the command you need to make an API call.
import { DataSyncClient, DeleteLocationCommand } from "@aws-sdk/client-datasync"; // ES Modules import // const { DataSyncClient, DeleteLocationCommand } = require("@aws-sdk/client-datasync"); // CommonJS import const client = new DataSyncClient(config); const command = new DeleteLocationCommand(input); const response = await client.send(command);
DeleteLocationCommandInput for command's
input
shape.DeleteLocationCommandOutput for command's
response
shape.config for DataSyncClient's
config
shape.