delete_schedule
async
¶
delete_schedule(
name: Name,
*,
config_overrides: Optional[AsyncSchedulerClientConfig] = None,
group_name: Optional[ScheduleGroupName] = None,
client_token: Optional[ClientToken] = None,
) -> DeleteScheduleOutput
Deletes the specified schedule.
Parameters:
-
name(Name) –The name of the schedule to delete.
-
group_name(Optional[ScheduleGroupName], default:None) –The name of the schedule group associated with this schedule. If you omit this, the default schedule group is used.
-
client_token(Optional[ClientToken], default:None) –Unique, case-sensitive identifier you provide to ensure the idempotency of the request. If you do not specify a client token, EventBridge Scheduler uses a randomly generated token for the request to ensure idempotency.
Raises:
-
ConflictException–Updating or deleting the resource can cause an inconsistent state.
-
InternalServerException–Unexpected error encountered while processing the request.
-
ResourceNotFoundException–The request references a resource which does not exist.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by an AWS service.
-
UnknownServiceError–The service returned an error code this client does not model.