Protected
This operation deletes a data set.
Use a bare-bones client and the command you need to make an API call.
import { DataExchangeClient, DeleteDataSetCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import// const { DataExchangeClient, DeleteDataSetCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS importconst client = new DataExchangeClient(config);const input = { DataSetId: "STRING_VALUE", // required};const command = new DeleteDataSetCommand(input);const response = await client.send(command);
DeleteDataSetCommandInput
DeleteDataSetCommandOutput
input
response
config
AccessDeniedException (client fault)
Access to the resource is denied.
ConflictException (client fault)
The request couldn't be completed because it conflicted with the current state of the resource.
InternalServerException (server fault)
An exception occurred with the service.
ResourceNotFoundException (client fault)
The resource couldn't be found.
ThrottlingException (client fault)
The limit on the number of requests per second was exceeded.
ValidationException (client fault)
The request was invalid.
Readonly
Static
This operation deletes a data set.
Example
Use a bare-bones client and the command you need to make an API call.
Param
DeleteDataSetCommandInput
Returns
DeleteDataSetCommandOutput
See
input
shape.response
shape.config
shape.Throws
AccessDeniedException (client fault)
Access to the resource is denied.
Throws
ConflictException (client fault)
The request couldn't be completed because it conflicted with the current state of the resource.
Throws
InternalServerException (server fault)
An exception occurred with the service.
Throws
ResourceNotFoundException (client fault)
The resource couldn't be found.
Throws
ThrottlingException (client fault)
The limit on the number of requests per second was exceeded.
Throws
ValidationException (client fault)
The request was invalid.