amazonka-scheduler-2.0: Amazon EventBridge Scheduler SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Scheduler.CreateScheduleGroup

Description

Creates the specified schedule group.

Synopsis

Creating a Request

data CreateScheduleGroup Source #

See: newCreateScheduleGroup smart constructor.

Constructors

CreateScheduleGroup' 

Fields

  • clientToken :: Maybe Text

    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.

  • tags :: Maybe [Tag]

    The list of tags to associate with the schedule group.

  • name :: Text

    The name of the schedule group that you are creating.

Instances

Instances details
ToJSON CreateScheduleGroup Source # 
Instance details

Defined in Amazonka.Scheduler.CreateScheduleGroup

ToHeaders CreateScheduleGroup Source # 
Instance details

Defined in Amazonka.Scheduler.CreateScheduleGroup

ToPath CreateScheduleGroup Source # 
Instance details

Defined in Amazonka.Scheduler.CreateScheduleGroup

ToQuery CreateScheduleGroup Source # 
Instance details

Defined in Amazonka.Scheduler.CreateScheduleGroup

AWSRequest CreateScheduleGroup Source # 
Instance details

Defined in Amazonka.Scheduler.CreateScheduleGroup

Associated Types

type AWSResponse CreateScheduleGroup #

Generic CreateScheduleGroup Source # 
Instance details

Defined in Amazonka.Scheduler.CreateScheduleGroup

Associated Types

type Rep CreateScheduleGroup :: Type -> Type #

Read CreateScheduleGroup Source # 
Instance details

Defined in Amazonka.Scheduler.CreateScheduleGroup

Show CreateScheduleGroup Source # 
Instance details

Defined in Amazonka.Scheduler.CreateScheduleGroup

NFData CreateScheduleGroup Source # 
Instance details

Defined in Amazonka.Scheduler.CreateScheduleGroup

Methods

rnf :: CreateScheduleGroup -> () #

Eq CreateScheduleGroup Source # 
Instance details

Defined in Amazonka.Scheduler.CreateScheduleGroup

Hashable CreateScheduleGroup Source # 
Instance details

Defined in Amazonka.Scheduler.CreateScheduleGroup

type AWSResponse CreateScheduleGroup Source # 
Instance details

Defined in Amazonka.Scheduler.CreateScheduleGroup

type Rep CreateScheduleGroup Source # 
Instance details

Defined in Amazonka.Scheduler.CreateScheduleGroup

type Rep CreateScheduleGroup = D1 ('MetaData "CreateScheduleGroup" "Amazonka.Scheduler.CreateScheduleGroup" "amazonka-scheduler-2.0-8LKlva3Whvt7TpHIvtcn6a" 'False) (C1 ('MetaCons "CreateScheduleGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newCreateScheduleGroup Source #

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

Instances details
Generic CreateScheduleGroupResponse Source # 
Instance details

Defined in Amazonka.Scheduler.CreateScheduleGroup

Associated Types

type Rep CreateScheduleGroupResponse :: Type -> Type #

Read CreateScheduleGroupResponse Source # 
Instance details

Defined in Amazonka.Scheduler.CreateScheduleGroup

Show CreateScheduleGroupResponse Source # 
Instance details

Defined in Amazonka.Scheduler.CreateScheduleGroup

NFData CreateScheduleGroupResponse Source # 
Instance details

Defined in Amazonka.Scheduler.CreateScheduleGroup

Eq CreateScheduleGroupResponse Source # 
Instance details

Defined in Amazonka.Scheduler.CreateScheduleGroup

type Rep CreateScheduleGroupResponse Source # 
Instance details

Defined in Amazonka.Scheduler.CreateScheduleGroup

type Rep CreateScheduleGroupResponse = D1 ('MetaData "CreateScheduleGroupResponse" "Amazonka.Scheduler.CreateScheduleGroup" "amazonka-scheduler-2.0-8LKlva3Whvt7TpHIvtcn6a" 'False) (C1 ('MetaCons "CreateScheduleGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "scheduleGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newCreateScheduleGroupResponse Source #

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_scheduleGroupArn :: Lens' CreateScheduleGroupResponse Text Source #

The Amazon Resource Name (ARN) of the schedule group.