DeleteScheduleCommand

Deletes the specified DataBrew schedule.

Example Syntax

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

import { DataBrewClient, DeleteScheduleCommand } from "@aws-sdk/client-databrew"; // ES Modules import
// const { DataBrewClient, DeleteScheduleCommand } = require("@aws-sdk/client-databrew"); // CommonJS import
const client = new DataBrewClient(config);
const input = { // DeleteScheduleRequest
  Name: "STRING_VALUE", // required
};
const command = new DeleteScheduleCommand(input);
const response = await client.send(command);
// { // DeleteScheduleResponse
//   Name: "STRING_VALUE", // required
// };

DeleteScheduleCommand Input

See DeleteScheduleCommandInput for more details

Parameter
Type
Description
Name
Required
string | undefined

The name of the schedule to be deleted.

DeleteScheduleCommand Output

Parameter
Type
Description
$metadata
Required
ResponseMetadata
Metadata pertaining to this request.
Name
Required
string | undefined

The name of the schedule that was deleted.

Throws

Name
Fault
Details
ResourceNotFoundException
client

One or more resources can't be found.

ValidationException
client

The input parameters for this request failed validation.

DataBrewServiceException
Base exception class for all service exceptions from DataBrew service.