| 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.CreateScheduleGroup
Description
Creates the specified schedule group.
Synopsis
- data CreateScheduleGroup = CreateScheduleGroup' {}
- newCreateScheduleGroup :: Text -> CreateScheduleGroup
- createScheduleGroup_clientToken :: Lens' CreateScheduleGroup (Maybe Text)
- createScheduleGroup_tags :: Lens' CreateScheduleGroup (Maybe [Tag])
- createScheduleGroup_name :: Lens' CreateScheduleGroup Text
- data CreateScheduleGroupResponse = CreateScheduleGroupResponse' {}
- newCreateScheduleGroupResponse :: Int -> Text -> CreateScheduleGroupResponse
- createScheduleGroupResponse_httpStatus :: Lens' CreateScheduleGroupResponse Int
- createScheduleGroupResponse_scheduleGroupArn :: Lens' CreateScheduleGroupResponse Text
Creating a Request
data CreateScheduleGroup Source #
See: newCreateScheduleGroup smart constructor.
Constructors
| CreateScheduleGroup' | |
Fields
| |
Instances
newCreateScheduleGroup Source #
Arguments
| :: Text | |
| -> CreateScheduleGroup |
Create a value of CreateScheduleGroup 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:CreateScheduleGroup', createScheduleGroup_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.
CreateScheduleGroup, createScheduleGroup_tags - The list of tags to associate with the schedule group.
CreateScheduleGroup, createScheduleGroup_name - The name of the schedule group that you are creating.
Request Lenses
createScheduleGroup_clientToken :: Lens' CreateScheduleGroup (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.
createScheduleGroup_tags :: Lens' CreateScheduleGroup (Maybe [Tag]) Source #
The list of tags to associate with the schedule group.
createScheduleGroup_name :: Lens' CreateScheduleGroup Text Source #
The name of the schedule group that you are creating.
Destructuring the Response
data CreateScheduleGroupResponse Source #
See: newCreateScheduleGroupResponse smart constructor.
Constructors
| CreateScheduleGroupResponse' | |
Fields
| |
Instances
newCreateScheduleGroupResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> CreateScheduleGroupResponse |
Create a value of CreateScheduleGroupResponse 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:CreateScheduleGroupResponse', createScheduleGroupResponse_httpStatus - The response's http status code.
$sel:scheduleGroupArn:CreateScheduleGroupResponse', createScheduleGroupResponse_scheduleGroupArn - The Amazon Resource Name (ARN) of the schedule group.
Response Lenses
createScheduleGroupResponse_httpStatus :: Lens' CreateScheduleGroupResponse Int Source #
The response's http status code.
createScheduleGroupResponse_scheduleGroupArn :: Lens' CreateScheduleGroupResponse Text Source #
The Amazon Resource Name (ARN) of the schedule group.