| Copyright | (c) 2013-2023 Brendan Hay | 
|---|---|
| License | Mozilla Public License, v. 2.0. | 
| Maintainer | Brendan Hay | 
| Stability | auto-generated | 
| Portability | non-portable (GHC extensions) | 
| Safe Haskell | Safe-Inferred | 
| Language | Haskell2010 | 
Amazonka.Scheduler.DeleteSchedule
Description
Deletes the specified schedule.
Synopsis
- data DeleteSchedule = DeleteSchedule' {}
 - newDeleteSchedule :: Text -> DeleteSchedule
 - deleteSchedule_clientToken :: Lens' DeleteSchedule (Maybe Text)
 - deleteSchedule_groupName :: Lens' DeleteSchedule (Maybe Text)
 - deleteSchedule_name :: Lens' DeleteSchedule Text
 - data DeleteScheduleResponse = DeleteScheduleResponse' {
- httpStatus :: Int
 
 - newDeleteScheduleResponse :: Int -> DeleteScheduleResponse
 - deleteScheduleResponse_httpStatus :: Lens' DeleteScheduleResponse Int
 
Creating a Request
data DeleteSchedule Source #
See: newDeleteSchedule smart constructor.
Constructors
| DeleteSchedule' | |
Fields 
  | |
Instances
Arguments
| :: Text | |
| -> DeleteSchedule | 
Create a value of DeleteSchedule with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:clientToken:DeleteSchedule', deleteSchedule_clientToken - 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.
DeleteSchedule, deleteSchedule_groupName - The name of the schedule group associated with this schedule. If you
 omit this, the default schedule group is used.
DeleteSchedule, deleteSchedule_name - The name of the schedule to delete.
Request Lenses
deleteSchedule_clientToken :: Lens' DeleteSchedule (Maybe Text) Source #
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.
deleteSchedule_groupName :: Lens' DeleteSchedule (Maybe Text) Source #
The name of the schedule group associated with this schedule. If you omit this, the default schedule group is used.
deleteSchedule_name :: Lens' DeleteSchedule Text Source #
The name of the schedule to delete.
Destructuring the Response
data DeleteScheduleResponse Source #
See: newDeleteScheduleResponse smart constructor.
Constructors
| DeleteScheduleResponse' | |
Fields 
  | |
Instances
newDeleteScheduleResponse Source #
Create a value of DeleteScheduleResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:DeleteScheduleResponse', deleteScheduleResponse_httpStatus - The response's http status code.
Response Lenses
deleteScheduleResponse_httpStatus :: Lens' DeleteScheduleResponse Int Source #
The response's http status code.