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 |
Deletes the specified schedule group. Deleting a schedule group results
in EventBridge Scheduler deleting all schedules associated with the
group. When you delete a group, it remains in a DELETING
state until
all of its associated schedules are deleted. Schedules associated with
the group that are set to run while the schedule group is in the process
of being deleted might continue to invoke their targets until the
schedule group and its associated schedules are deleted.
This operation is eventually consistent.
Synopsis
- data DeleteScheduleGroup = DeleteScheduleGroup' {
- clientToken :: Maybe Text
- name :: Text
- newDeleteScheduleGroup :: Text -> DeleteScheduleGroup
- deleteScheduleGroup_clientToken :: Lens' DeleteScheduleGroup (Maybe Text)
- deleteScheduleGroup_name :: Lens' DeleteScheduleGroup Text
- data DeleteScheduleGroupResponse = DeleteScheduleGroupResponse' {
- httpStatus :: Int
- newDeleteScheduleGroupResponse :: Int -> DeleteScheduleGroupResponse
- deleteScheduleGroupResponse_httpStatus :: Lens' DeleteScheduleGroupResponse Int
Creating a Request
data DeleteScheduleGroup Source #
See: newDeleteScheduleGroup
smart constructor.
DeleteScheduleGroup' | |
|
Instances
newDeleteScheduleGroup Source #
Create a value of DeleteScheduleGroup
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:DeleteScheduleGroup'
, deleteScheduleGroup_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.
DeleteScheduleGroup
, deleteScheduleGroup_name
- The name of the schedule group to delete.
Request Lenses
deleteScheduleGroup_clientToken :: Lens' DeleteScheduleGroup (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.
deleteScheduleGroup_name :: Lens' DeleteScheduleGroup Text Source #
The name of the schedule group to delete.
Destructuring the Response
data DeleteScheduleGroupResponse Source #
See: newDeleteScheduleGroupResponse
smart constructor.
DeleteScheduleGroupResponse' | |
|
Instances
newDeleteScheduleGroupResponse Source #
Create a value of DeleteScheduleGroupResponse
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:DeleteScheduleGroupResponse'
, deleteScheduleGroupResponse_httpStatus
- The response's http status code.
Response Lenses
deleteScheduleGroupResponse_httpStatus :: Lens' DeleteScheduleGroupResponse Int Source #
The response's http status code.