aws-sdk-scheduler 1.61.0 → 1.63.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,11 +14,10 @@ module Aws::Scheduler
14
14
  # task, and whether a public IP address is to be used. This structure is
15
15
  # relevant only for ECS tasks that use the awsvpc network mode.
16
16
  #
17
- # @!attribute [rw] assign_public_ip
18
- # Specifies whether the task's elastic network interface receives a
19
- # public IP address. You can specify `ENABLED` only when `LaunchType`
20
- # in `EcsParameters` is set to `FARGATE`.
21
- # @return [String]
17
+ # @!attribute [rw] subnets
18
+ # Specifies the subnets associated with the task. These subnets must
19
+ # all be in the same VPC. You can specify as many as 16 subnets.
20
+ # @return [Array<String>]
22
21
  #
23
22
  # @!attribute [rw] security_groups
24
23
  # Specifies the security groups associated with the task. These
@@ -27,30 +26,24 @@ module Aws::Scheduler
27
26
  # default security group for the VPC is used.
28
27
  # @return [Array<String>]
29
28
  #
30
- # @!attribute [rw] subnets
31
- # Specifies the subnets associated with the task. These subnets must
32
- # all be in the same VPC. You can specify as many as 16 subnets.
33
- # @return [Array<String>]
29
+ # @!attribute [rw] assign_public_ip
30
+ # Specifies whether the task's elastic network interface receives a
31
+ # public IP address. You can specify `ENABLED` only when `LaunchType`
32
+ # in `EcsParameters` is set to `FARGATE`.
33
+ # @return [String]
34
34
  #
35
35
  # @see http://docs.aws.amazon.com/goto/WebAPI/scheduler-2021-06-30/AwsVpcConfiguration AWS API Documentation
36
36
  #
37
37
  class AwsVpcConfiguration < Struct.new(
38
- :assign_public_ip,
38
+ :subnets,
39
39
  :security_groups,
40
- :subnets)
40
+ :assign_public_ip)
41
41
  SENSITIVE = []
42
42
  include Aws::Structure
43
43
  end
44
44
 
45
45
  # The details of a capacity provider strategy.
46
46
  #
47
- # @!attribute [rw] base
48
- # The base value designates how many tasks, at a minimum, to run on
49
- # the specified capacity provider. Only one capacity provider in a
50
- # capacity provider strategy can have a base defined. If no value is
51
- # specified, the default value of `0` is used.
52
- # @return [Integer]
53
- #
54
47
  # @!attribute [rw] capacity_provider
55
48
  # The short name of the capacity provider.
56
49
  # @return [String]
@@ -62,12 +55,19 @@ module Aws::Scheduler
62
55
  # base value, if defined, is satisfied.
63
56
  # @return [Integer]
64
57
  #
58
+ # @!attribute [rw] base
59
+ # The base value designates how many tasks, at a minimum, to run on
60
+ # the specified capacity provider. Only one capacity provider in a
61
+ # capacity provider strategy can have a base defined. If no value is
62
+ # specified, the default value of `0` is used.
63
+ # @return [Integer]
64
+ #
65
65
  # @see http://docs.aws.amazon.com/goto/WebAPI/scheduler-2021-06-30/CapacityProviderStrategyItem AWS API Documentation
66
66
  #
67
67
  class CapacityProviderStrategyItem < Struct.new(
68
- :base,
69
68
  :capacity_provider,
70
- :weight)
69
+ :weight,
70
+ :base)
71
71
  SENSITIVE = []
72
72
  include Aws::Structure
73
73
  end
@@ -85,6 +85,14 @@ module Aws::Scheduler
85
85
  include Aws::Structure
86
86
  end
87
87
 
88
+ # @!attribute [rw] name
89
+ # The name of the schedule group that you are creating.
90
+ # @return [String]
91
+ #
92
+ # @!attribute [rw] tags
93
+ # The list of tags to associate with the schedule group.
94
+ # @return [Array<Types::Tag>]
95
+ #
88
96
  # @!attribute [rw] client_token
89
97
  # Unique, case-sensitive identifier you provide to ensure the
90
98
  # idempotency of the request. If you do not specify a client token,
@@ -95,20 +103,12 @@ module Aws::Scheduler
95
103
  # not need to pass this option.
96
104
  # @return [String]
97
105
  #
98
- # @!attribute [rw] name
99
- # The name of the schedule group that you are creating.
100
- # @return [String]
101
- #
102
- # @!attribute [rw] tags
103
- # The list of tags to associate with the schedule group.
104
- # @return [Array<Types::Tag>]
105
- #
106
106
  # @see http://docs.aws.amazon.com/goto/WebAPI/scheduler-2021-06-30/CreateScheduleGroupInput AWS API Documentation
107
107
  #
108
108
  class CreateScheduleGroupInput < Struct.new(
109
- :client_token,
110
109
  :name,
111
- :tags)
110
+ :tags,
111
+ :client_token)
112
112
  SENSITIVE = []
113
113
  include Aws::Structure
114
114
  end
@@ -125,51 +125,15 @@ module Aws::Scheduler
125
125
  include Aws::Structure
126
126
  end
127
127
 
128
- # @!attribute [rw] action_after_completion
129
- # Specifies the action that EventBridge Scheduler applies to the
130
- # schedule after the schedule completes invoking the target.
131
- # @return [String]
132
- #
133
- # @!attribute [rw] client_token
134
- # Unique, case-sensitive identifier you provide to ensure the
135
- # idempotency of the request. If you do not specify a client token,
136
- # EventBridge Scheduler uses a randomly generated token for the
137
- # request to ensure idempotency.
138
- #
139
- # **A suitable default value is auto-generated.** You should normally
140
- # not need to pass this option.
141
- # @return [String]
142
- #
143
- # @!attribute [rw] description
144
- # The description you specify for the schedule.
128
+ # @!attribute [rw] name
129
+ # The name of the schedule that you are creating.
145
130
  # @return [String]
146
131
  #
147
- # @!attribute [rw] end_date
148
- # The date, in UTC, before which the schedule can invoke its target.
149
- # Depending on the schedule's recurrence expression, invocations
150
- # might stop on, or before, the `EndDate` you specify. EventBridge
151
- # Scheduler ignores `EndDate` for one-time schedules.
152
- # @return [Time]
153
- #
154
- # @!attribute [rw] flexible_time_window
155
- # Allows you to configure a time window during which EventBridge
156
- # Scheduler invokes the schedule.
157
- # @return [Types::FlexibleTimeWindow]
158
- #
159
132
  # @!attribute [rw] group_name
160
133
  # The name of the schedule group to associate with this schedule. If
161
134
  # you omit this, the default schedule group is used.
162
135
  # @return [String]
163
136
  #
164
- # @!attribute [rw] kms_key_arn
165
- # The Amazon Resource Name (ARN) for the customer managed KMS key that
166
- # EventBridge Scheduler will use to encrypt and decrypt your data.
167
- # @return [String]
168
- #
169
- # @!attribute [rw] name
170
- # The name of the schedule that you are creating.
171
- # @return [String]
172
- #
173
137
  # @!attribute [rw] schedule_expression
174
138
  # The expression that defines when the schedule runs. The following
175
139
  # formats are supported.
@@ -204,10 +168,6 @@ module Aws::Scheduler
204
168
  # [1]: https://docs.aws.amazon.com/scheduler/latest/UserGuide/schedule-types.html
205
169
  # @return [String]
206
170
  #
207
- # @!attribute [rw] schedule_expression_timezone
208
- # The timezone in which the scheduling expression is evaluated.
209
- # @return [String]
210
- #
211
171
  # @!attribute [rw] start_date
212
172
  # The date, in UTC, after which the schedule can begin invoking its
213
173
  # target. Depending on the schedule's recurrence expression,
@@ -215,30 +175,70 @@ module Aws::Scheduler
215
175
  # EventBridge Scheduler ignores `StartDate` for one-time schedules.
216
176
  # @return [Time]
217
177
  #
178
+ # @!attribute [rw] end_date
179
+ # The date, in UTC, before which the schedule can invoke its target.
180
+ # Depending on the schedule's recurrence expression, invocations
181
+ # might stop on, or before, the `EndDate` you specify. EventBridge
182
+ # Scheduler ignores `EndDate` for one-time schedules.
183
+ # @return [Time]
184
+ #
185
+ # @!attribute [rw] description
186
+ # The description you specify for the schedule.
187
+ # @return [String]
188
+ #
189
+ # @!attribute [rw] schedule_expression_timezone
190
+ # The timezone in which the scheduling expression is evaluated.
191
+ # @return [String]
192
+ #
218
193
  # @!attribute [rw] state
219
194
  # Specifies whether the schedule is enabled or disabled.
220
195
  # @return [String]
221
196
  #
197
+ # @!attribute [rw] kms_key_arn
198
+ # The Amazon Resource Name (ARN) for the customer managed KMS key that
199
+ # EventBridge Scheduler will use to encrypt and decrypt your data.
200
+ # @return [String]
201
+ #
222
202
  # @!attribute [rw] target
223
203
  # The schedule's target.
224
204
  # @return [Types::Target]
225
205
  #
206
+ # @!attribute [rw] flexible_time_window
207
+ # Allows you to configure a time window during which EventBridge
208
+ # Scheduler invokes the schedule.
209
+ # @return [Types::FlexibleTimeWindow]
210
+ #
211
+ # @!attribute [rw] client_token
212
+ # Unique, case-sensitive identifier you provide to ensure the
213
+ # idempotency of the request. If you do not specify a client token,
214
+ # EventBridge Scheduler uses a randomly generated token for the
215
+ # request to ensure idempotency.
216
+ #
217
+ # **A suitable default value is auto-generated.** You should normally
218
+ # not need to pass this option.
219
+ # @return [String]
220
+ #
221
+ # @!attribute [rw] action_after_completion
222
+ # Specifies the action that EventBridge Scheduler applies to the
223
+ # schedule after the schedule completes invoking the target.
224
+ # @return [String]
225
+ #
226
226
  # @see http://docs.aws.amazon.com/goto/WebAPI/scheduler-2021-06-30/CreateScheduleInput AWS API Documentation
227
227
  #
228
228
  class CreateScheduleInput < Struct.new(
229
- :action_after_completion,
230
- :client_token,
231
- :description,
232
- :end_date,
233
- :flexible_time_window,
234
- :group_name,
235
- :kms_key_arn,
236
229
  :name,
230
+ :group_name,
237
231
  :schedule_expression,
238
- :schedule_expression_timezone,
239
232
  :start_date,
233
+ :end_date,
234
+ :description,
235
+ :schedule_expression_timezone,
240
236
  :state,
241
- :target)
237
+ :kms_key_arn,
238
+ :target,
239
+ :flexible_time_window,
240
+ :client_token,
241
+ :action_after_completion)
242
242
  SENSITIVE = []
243
243
  include Aws::Structure
244
244
  end
@@ -273,6 +273,10 @@ module Aws::Scheduler
273
273
  include Aws::Structure
274
274
  end
275
275
 
276
+ # @!attribute [rw] name
277
+ # The name of the schedule group to delete.
278
+ # @return [String]
279
+ #
276
280
  # @!attribute [rw] client_token
277
281
  # Unique, case-sensitive identifier you provide to ensure the
278
282
  # idempotency of the request. If you do not specify a client token,
@@ -283,15 +287,11 @@ module Aws::Scheduler
283
287
  # not need to pass this option.
284
288
  # @return [String]
285
289
  #
286
- # @!attribute [rw] name
287
- # The name of the schedule group to delete.
288
- # @return [String]
289
- #
290
290
  # @see http://docs.aws.amazon.com/goto/WebAPI/scheduler-2021-06-30/DeleteScheduleGroupInput AWS API Documentation
291
291
  #
292
292
  class DeleteScheduleGroupInput < Struct.new(
293
- :client_token,
294
- :name)
293
+ :name,
294
+ :client_token)
295
295
  SENSITIVE = []
296
296
  include Aws::Structure
297
297
  end
@@ -300,6 +300,15 @@ module Aws::Scheduler
300
300
  #
301
301
  class DeleteScheduleGroupOutput < Aws::EmptyStructure; end
302
302
 
303
+ # @!attribute [rw] name
304
+ # The name of the schedule to delete.
305
+ # @return [String]
306
+ #
307
+ # @!attribute [rw] group_name
308
+ # The name of the schedule group associated with this schedule. If you
309
+ # omit this, the default schedule group is used.
310
+ # @return [String]
311
+ #
303
312
  # @!attribute [rw] client_token
304
313
  # Unique, case-sensitive identifier you provide to ensure the
305
314
  # idempotency of the request. If you do not specify a client token,
@@ -310,21 +319,12 @@ module Aws::Scheduler
310
319
  # not need to pass this option.
311
320
  # @return [String]
312
321
  #
313
- # @!attribute [rw] group_name
314
- # The name of the schedule group associated with this schedule. If you
315
- # omit this, the default schedule group is used.
316
- # @return [String]
317
- #
318
- # @!attribute [rw] name
319
- # The name of the schedule to delete.
320
- # @return [String]
321
- #
322
322
  # @see http://docs.aws.amazon.com/goto/WebAPI/scheduler-2021-06-30/DeleteScheduleInput AWS API Documentation
323
323
  #
324
324
  class DeleteScheduleInput < Struct.new(
325
- :client_token,
325
+ :name,
326
326
  :group_name,
327
- :name)
327
+ :client_token)
328
328
  SENSITIVE = []
329
329
  include Aws::Structure
330
330
  end
@@ -340,6 +340,43 @@ module Aws::Scheduler
340
340
  #
341
341
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RunTask.html
342
342
  #
343
+ # @!attribute [rw] task_definition_arn
344
+ # The Amazon Resource Name (ARN) of the task definition to use if the
345
+ # event target is an Amazon ECS task.
346
+ # @return [String]
347
+ #
348
+ # @!attribute [rw] task_count
349
+ # The number of tasks to create based on `TaskDefinition`. The default
350
+ # is `1`.
351
+ # @return [Integer]
352
+ #
353
+ # @!attribute [rw] launch_type
354
+ # Specifies the launch type on which your task is running. The launch
355
+ # type that you specify here must match one of the launch type
356
+ # (compatibilities) of the target task. The `FARGATE` value is
357
+ # supported only in the Regions where Fargate with Amazon ECS is
358
+ # supported. For more information, see [Amazon Web Services Fargate on
359
+ # Amazon ECS][1] in the *Amazon ECS Developer Guide*.
360
+ #
361
+ #
362
+ #
363
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/AWS_Fargate.html
364
+ # @return [String]
365
+ #
366
+ # @!attribute [rw] network_configuration
367
+ # This structure specifies the network configuration for an ECS task.
368
+ # @return [Types::NetworkConfiguration]
369
+ #
370
+ # @!attribute [rw] platform_version
371
+ # Specifies the platform version for the task. Specify only the
372
+ # numeric portion of the platform version, such as `1.1.0`.
373
+ # @return [String]
374
+ #
375
+ # @!attribute [rw] group
376
+ # Specifies an ECS task group for the task. The maximum length is 255
377
+ # characters.
378
+ # @return [String]
379
+ #
343
380
  # @!attribute [rw] capacity_provider_strategy
344
381
  # The capacity provider strategy to use for the task.
345
382
  # @return [Array<Types::CapacityProviderStrategyItem>]
@@ -360,28 +397,6 @@ module Aws::Scheduler
360
397
  # functionality on all containers in the task.
361
398
  # @return [Boolean]
362
399
  #
363
- # @!attribute [rw] group
364
- # Specifies an ECS task group for the task. The maximum length is 255
365
- # characters.
366
- # @return [String]
367
- #
368
- # @!attribute [rw] launch_type
369
- # Specifies the launch type on which your task is running. The launch
370
- # type that you specify here must match one of the launch type
371
- # (compatibilities) of the target task. The `FARGATE` value is
372
- # supported only in the Regions where Fargate with Amazon ECS is
373
- # supported. For more information, see [AWS Fargate on Amazon ECS][1]
374
- # in the *Amazon ECS Developer Guide*.
375
- #
376
- #
377
- #
378
- # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/AWS_Fargate.html
379
- # @return [String]
380
- #
381
- # @!attribute [rw] network_configuration
382
- # This structure specifies the network configuration for an ECS task.
383
- # @return [Types::NetworkConfiguration]
384
- #
385
400
  # @!attribute [rw] placement_constraints
386
401
  # An array of placement constraint objects to use for the task. You
387
402
  # can specify up to 10 constraints per task (including constraints in
@@ -392,11 +407,6 @@ module Aws::Scheduler
392
407
  # The task placement strategy for a task or service.
393
408
  # @return [Array<Types::PlacementStrategy>]
394
409
  #
395
- # @!attribute [rw] platform_version
396
- # Specifies the platform version for the task. Specify only the
397
- # numeric portion of the platform version, such as `1.1.0`.
398
- # @return [String]
399
- #
400
410
  # @!attribute [rw] propagate_tags
401
411
  # Specifies whether to propagate the tags from the task definition to
402
412
  # the task. If no value is specified, the tags are not propagated.
@@ -424,33 +434,23 @@ module Aws::Scheduler
424
434
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RunTask.html
425
435
  # @return [Array<Hash<String,String>>]
426
436
  #
427
- # @!attribute [rw] task_count
428
- # The number of tasks to create based on `TaskDefinition`. The default
429
- # is `1`.
430
- # @return [Integer]
431
- #
432
- # @!attribute [rw] task_definition_arn
433
- # The Amazon Resource Name (ARN) of the task definition to use if the
434
- # event target is an Amazon ECS task.
435
- # @return [String]
436
- #
437
437
  # @see http://docs.aws.amazon.com/goto/WebAPI/scheduler-2021-06-30/EcsParameters AWS API Documentation
438
438
  #
439
439
  class EcsParameters < Struct.new(
440
+ :task_definition_arn,
441
+ :task_count,
442
+ :launch_type,
443
+ :network_configuration,
444
+ :platform_version,
445
+ :group,
440
446
  :capacity_provider_strategy,
441
447
  :enable_ecs_managed_tags,
442
448
  :enable_execute_command,
443
- :group,
444
- :launch_type,
445
- :network_configuration,
446
449
  :placement_constraints,
447
450
  :placement_strategy,
448
- :platform_version,
449
451
  :propagate_tags,
450
452
  :reference_id,
451
- :tags,
452
- :task_count,
453
- :task_definition_arn)
453
+ :tags)
454
454
  SENSITIVE = []
455
455
  include Aws::Structure
456
456
  end
@@ -480,23 +480,69 @@ module Aws::Scheduler
480
480
  include Aws::Structure
481
481
  end
482
482
 
483
+ # The templated target type for the EventBridge event bus v2 [
484
+ # `PutEvents` ][1] API operation.
485
+ #
486
+ #
487
+ #
488
+ # [1]: https://docs.aws.amazon.com/eventbridgev2/latest/APIReference/API_PutEvents.html
489
+ #
490
+ # @!attribute [rw] detail_type
491
+ # A free-form string, with a maximum of 128 characters, used to decide
492
+ # what fields to expect in the event detail.
493
+ # @return [String]
494
+ #
495
+ # @!attribute [rw] source
496
+ # The source of the event. The source can't start with the `aws.`
497
+ # prefix.
498
+ # @return [String]
499
+ #
500
+ # @see http://docs.aws.amazon.com/goto/WebAPI/scheduler-2021-06-30/EventBridgePutEventsV2Parameters AWS API Documentation
501
+ #
502
+ class EventBridgePutEventsV2Parameters < Struct.new(
503
+ :detail_type,
504
+ :source)
505
+ SENSITIVE = []
506
+ include Aws::Structure
507
+ end
508
+
509
+ # The templated target type for the EventBridge event bus v2 [
510
+ # `PutRawEvents` ][1] API operation.
511
+ #
512
+ #
513
+ #
514
+ # [1]: https://docs.aws.amazon.com/eventbridgev2/latest/APIReference/API_PutRawEvents.html
515
+ #
516
+ # @!attribute [rw] metadata
517
+ # Optional metadata key-value pairs you define. Keys must be 1-128
518
+ # characters and must not contain "/".
519
+ # @return [Hash<String,String>]
520
+ #
521
+ # @see http://docs.aws.amazon.com/goto/WebAPI/scheduler-2021-06-30/EventBridgePutRawEventsParameters AWS API Documentation
522
+ #
523
+ class EventBridgePutRawEventsParameters < Struct.new(
524
+ :metadata)
525
+ SENSITIVE = []
526
+ include Aws::Structure
527
+ end
528
+
483
529
  # Allows you to configure a time window during which EventBridge
484
530
  # Scheduler invokes the schedule.
485
531
  #
486
- # @!attribute [rw] maximum_window_in_minutes
487
- # The maximum time window during which a schedule can be invoked.
488
- # @return [Integer]
489
- #
490
532
  # @!attribute [rw] mode
491
533
  # Determines whether the schedule is invoked within a flexible time
492
534
  # window.
493
535
  # @return [String]
494
536
  #
537
+ # @!attribute [rw] maximum_window_in_minutes
538
+ # The maximum time window during which a schedule can be invoked.
539
+ # @return [Integer]
540
+ #
495
541
  # @see http://docs.aws.amazon.com/goto/WebAPI/scheduler-2021-06-30/FlexibleTimeWindow AWS API Documentation
496
542
  #
497
543
  class FlexibleTimeWindow < Struct.new(
498
- :maximum_window_in_minutes,
499
- :mode)
544
+ :mode,
545
+ :maximum_window_in_minutes)
500
546
  SENSITIVE = []
501
547
  include Aws::Structure
502
548
  end
@@ -517,14 +563,6 @@ module Aws::Scheduler
517
563
  # The Amazon Resource Name (ARN) of the schedule group.
518
564
  # @return [String]
519
565
  #
520
- # @!attribute [rw] creation_date
521
- # The time at which the schedule group was created.
522
- # @return [Time]
523
- #
524
- # @!attribute [rw] last_modification_date
525
- # The time at which the schedule group was last modified.
526
- # @return [Time]
527
- #
528
566
  # @!attribute [rw] name
529
567
  # The name of the schedule group.
530
568
  # @return [String]
@@ -533,79 +571,53 @@ module Aws::Scheduler
533
571
  # Specifies the state of the schedule group.
534
572
  # @return [String]
535
573
  #
574
+ # @!attribute [rw] creation_date
575
+ # The time at which the schedule group was created.
576
+ # @return [Time]
577
+ #
578
+ # @!attribute [rw] last_modification_date
579
+ # The time at which the schedule group was last modified.
580
+ # @return [Time]
581
+ #
536
582
  # @see http://docs.aws.amazon.com/goto/WebAPI/scheduler-2021-06-30/GetScheduleGroupOutput AWS API Documentation
537
583
  #
538
584
  class GetScheduleGroupOutput < Struct.new(
539
585
  :arn,
540
- :creation_date,
541
- :last_modification_date,
542
586
  :name,
543
- :state)
587
+ :state,
588
+ :creation_date,
589
+ :last_modification_date)
544
590
  SENSITIVE = []
545
591
  include Aws::Structure
546
592
  end
547
593
 
594
+ # @!attribute [rw] name
595
+ # The name of the schedule to retrieve.
596
+ # @return [String]
597
+ #
548
598
  # @!attribute [rw] group_name
549
599
  # The name of the schedule group associated with this schedule. If you
550
600
  # omit this, EventBridge Scheduler assumes that the schedule is
551
601
  # associated with the default group.
552
602
  # @return [String]
553
603
  #
554
- # @!attribute [rw] name
555
- # The name of the schedule to retrieve.
556
- # @return [String]
557
- #
558
604
  # @see http://docs.aws.amazon.com/goto/WebAPI/scheduler-2021-06-30/GetScheduleInput AWS API Documentation
559
605
  #
560
606
  class GetScheduleInput < Struct.new(
561
- :group_name,
562
- :name)
607
+ :name,
608
+ :group_name)
563
609
  SENSITIVE = []
564
610
  include Aws::Structure
565
611
  end
566
612
 
567
- # @!attribute [rw] action_after_completion
568
- # Indicates the action that EventBridge Scheduler applies to the
569
- # schedule after the schedule completes invoking the target.
570
- # @return [String]
571
- #
572
613
  # @!attribute [rw] arn
573
614
  # The Amazon Resource Name (ARN) of the schedule.
574
615
  # @return [String]
575
616
  #
576
- # @!attribute [rw] creation_date
577
- # The time at which the schedule was created.
578
- # @return [Time]
579
- #
580
- # @!attribute [rw] description
581
- # The description of the schedule.
582
- # @return [String]
583
- #
584
- # @!attribute [rw] end_date
585
- # The date, in UTC, before which the schedule can invoke its target.
586
- # Depending on the schedule's recurrence expression, invocations
587
- # might stop on, or before, the `EndDate` you specify. EventBridge
588
- # Scheduler ignores `EndDate` for one-time schedules.
589
- # @return [Time]
590
- #
591
- # @!attribute [rw] flexible_time_window
592
- # Allows you to configure a time window during which EventBridge
593
- # Scheduler invokes the schedule.
594
- # @return [Types::FlexibleTimeWindow]
595
- #
596
617
  # @!attribute [rw] group_name
597
618
  # The name of the schedule group associated with this schedule.
598
619
  # @return [String]
599
620
  #
600
- # @!attribute [rw] kms_key_arn
601
- # The ARN for a customer managed KMS Key that is be used to encrypt
602
- # and decrypt your data.
603
- # @return [String]
604
- #
605
- # @!attribute [rw] last_modification_date
606
- # The time at which the schedule was last modified.
607
- # @return [Time]
608
- #
609
621
  # @!attribute [rw] name
610
622
  # The name of the schedule.
611
623
  # @return [String]
@@ -644,10 +656,6 @@ module Aws::Scheduler
644
656
  # [1]: https://docs.aws.amazon.com/scheduler/latest/UserGuide/schedule-types.html
645
657
  # @return [String]
646
658
  #
647
- # @!attribute [rw] schedule_expression_timezone
648
- # The timezone in which the scheduling expression is evaluated.
649
- # @return [String]
650
- #
651
659
  # @!attribute [rw] start_date
652
660
  # The date, in UTC, after which the schedule can begin invoking its
653
661
  # target. Depending on the schedule's recurrence expression,
@@ -655,32 +663,70 @@ module Aws::Scheduler
655
663
  # EventBridge Scheduler ignores `StartDate` for one-time schedules.
656
664
  # @return [Time]
657
665
  #
666
+ # @!attribute [rw] end_date
667
+ # The date, in UTC, before which the schedule can invoke its target.
668
+ # Depending on the schedule's recurrence expression, invocations
669
+ # might stop on, or before, the `EndDate` you specify. EventBridge
670
+ # Scheduler ignores `EndDate` for one-time schedules.
671
+ # @return [Time]
672
+ #
673
+ # @!attribute [rw] description
674
+ # The description of the schedule.
675
+ # @return [String]
676
+ #
677
+ # @!attribute [rw] schedule_expression_timezone
678
+ # The timezone in which the scheduling expression is evaluated.
679
+ # @return [String]
680
+ #
658
681
  # @!attribute [rw] state
659
682
  # Specifies whether the schedule is enabled or disabled.
660
683
  # @return [String]
661
684
  #
685
+ # @!attribute [rw] creation_date
686
+ # The time at which the schedule was created.
687
+ # @return [Time]
688
+ #
689
+ # @!attribute [rw] last_modification_date
690
+ # The time at which the schedule was last modified.
691
+ # @return [Time]
692
+ #
693
+ # @!attribute [rw] kms_key_arn
694
+ # The ARN for a customer managed KMS Key that is be used to encrypt
695
+ # and decrypt your data.
696
+ # @return [String]
697
+ #
662
698
  # @!attribute [rw] target
663
699
  # The schedule target.
664
700
  # @return [Types::Target]
665
701
  #
702
+ # @!attribute [rw] flexible_time_window
703
+ # Allows you to configure a time window during which EventBridge
704
+ # Scheduler invokes the schedule.
705
+ # @return [Types::FlexibleTimeWindow]
706
+ #
707
+ # @!attribute [rw] action_after_completion
708
+ # Indicates the action that EventBridge Scheduler applies to the
709
+ # schedule after the schedule completes invoking the target.
710
+ # @return [String]
711
+ #
666
712
  # @see http://docs.aws.amazon.com/goto/WebAPI/scheduler-2021-06-30/GetScheduleOutput AWS API Documentation
667
713
  #
668
714
  class GetScheduleOutput < Struct.new(
669
- :action_after_completion,
670
715
  :arn,
671
- :creation_date,
672
- :description,
673
- :end_date,
674
- :flexible_time_window,
675
716
  :group_name,
676
- :kms_key_arn,
677
- :last_modification_date,
678
717
  :name,
679
718
  :schedule_expression,
680
- :schedule_expression_timezone,
681
719
  :start_date,
720
+ :end_date,
721
+ :description,
722
+ :schedule_expression_timezone,
682
723
  :state,
683
- :target)
724
+ :creation_date,
725
+ :last_modification_date,
726
+ :kms_key_arn,
727
+ :target,
728
+ :flexible_time_window,
729
+ :action_after_completion)
684
730
  SENSITIVE = []
685
731
  include Aws::Structure
686
732
  end
@@ -698,8 +744,12 @@ module Aws::Scheduler
698
744
  include Aws::Structure
699
745
  end
700
746
 
701
- # The templated target type for the Amazon Kinesis [ `PutRecord`
702
- # ](kinesis/latest/APIReference/API_PutRecord.html) API operation.
747
+ # The templated target type for the Amazon Kinesis [ `PutRecord` ][1]
748
+ # API operation.
749
+ #
750
+ #
751
+ #
752
+ # [1]: https://docs.aws.amazon.com/kinesis/latest/APIReference/API_PutRecord.html
703
753
  #
704
754
  # @!attribute [rw] partition_key
705
755
  # Specifies the shard to which EventBridge Scheduler sends the event.
@@ -717,14 +767,8 @@ module Aws::Scheduler
717
767
  :partition_key)
718
768
  SENSITIVE = []
719
769
  include Aws::Structure
720
- end
721
-
722
- # @!attribute [rw] max_results
723
- # If specified, limits the number of results returned by this
724
- # operation. The operation also returns a `NextToken` which you can
725
- # use in a subsequent operation to retrieve the next set of results.
726
- # @return [Integer]
727
- #
770
+ end
771
+
728
772
  # @!attribute [rw] name_prefix
729
773
  # The name prefix that you can use to return a filtered list of your
730
774
  # schedule groups.
@@ -735,12 +779,18 @@ module Aws::Scheduler
735
779
  # results.
736
780
  # @return [String]
737
781
  #
782
+ # @!attribute [rw] max_results
783
+ # If specified, limits the number of results returned by this
784
+ # operation. The operation also returns a `NextToken` which you can
785
+ # use in a subsequent operation to retrieve the next set of results.
786
+ # @return [Integer]
787
+ #
738
788
  # @see http://docs.aws.amazon.com/goto/WebAPI/scheduler-2021-06-30/ListScheduleGroupsInput AWS API Documentation
739
789
  #
740
790
  class ListScheduleGroupsInput < Struct.new(
741
- :max_results,
742
791
  :name_prefix,
743
- :next_token)
792
+ :next_token,
793
+ :max_results)
744
794
  SENSITIVE = []
745
795
  include Aws::Structure
746
796
  end
@@ -768,34 +818,34 @@ module Aws::Scheduler
768
818
  # group matches the given filter.
769
819
  # @return [String]
770
820
  #
771
- # @!attribute [rw] max_results
772
- # If specified, limits the number of results returned by this
773
- # operation. The operation also returns a `NextToken` which you can
774
- # use in a subsequent operation to retrieve the next set of results.
775
- # @return [Integer]
776
- #
777
821
  # @!attribute [rw] name_prefix
778
822
  # Schedule name prefix to return the filtered list of resources.
779
823
  # @return [String]
780
824
  #
825
+ # @!attribute [rw] state
826
+ # If specified, only lists the schedules whose current state matches
827
+ # the given filter.
828
+ # @return [String]
829
+ #
781
830
  # @!attribute [rw] next_token
782
831
  # The token returned by a previous call to retrieve the next set of
783
832
  # results.
784
833
  # @return [String]
785
834
  #
786
- # @!attribute [rw] state
787
- # If specified, only lists the schedules whose current state matches
788
- # the given filter.
789
- # @return [String]
835
+ # @!attribute [rw] max_results
836
+ # If specified, limits the number of results returned by this
837
+ # operation. The operation also returns a `NextToken` which you can
838
+ # use in a subsequent operation to retrieve the next set of results.
839
+ # @return [Integer]
790
840
  #
791
841
  # @see http://docs.aws.amazon.com/goto/WebAPI/scheduler-2021-06-30/ListSchedulesInput AWS API Documentation
792
842
  #
793
843
  class ListSchedulesInput < Struct.new(
794
844
  :group_name,
795
- :max_results,
796
845
  :name_prefix,
846
+ :state,
797
847
  :next_token,
798
- :state)
848
+ :max_results)
799
849
  SENSITIVE = []
800
850
  include Aws::Structure
801
851
  end
@@ -861,6 +911,13 @@ module Aws::Scheduler
861
911
 
862
912
  # An object representing a constraint on task placement.
863
913
  #
914
+ # @!attribute [rw] type
915
+ # The type of constraint. Use `distinctInstance` to ensure that each
916
+ # task in a particular group is running on a different container
917
+ # instance. Use `memberOf` to restrict the selection to a group of
918
+ # valid candidates.
919
+ # @return [String]
920
+ #
864
921
  # @!attribute [rw] expression
865
922
  # A cluster query language expression to apply to the constraint. You
866
923
  # cannot specify an expression if the constraint type is
@@ -869,37 +926,20 @@ module Aws::Scheduler
869
926
  #
870
927
  #
871
928
  #
872
- # [1]: https://docs.aws.amazon.com/latest/developerguide/cluster-query-language.html
873
- # @return [String]
874
- #
875
- # @!attribute [rw] type
876
- # The type of constraint. Use `distinctInstance` to ensure that each
877
- # task in a particular group is running on a different container
878
- # instance. Use `memberOf` to restrict the selection to a group of
879
- # valid candidates.
929
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html
880
930
  # @return [String]
881
931
  #
882
932
  # @see http://docs.aws.amazon.com/goto/WebAPI/scheduler-2021-06-30/PlacementConstraint AWS API Documentation
883
933
  #
884
934
  class PlacementConstraint < Struct.new(
885
- :expression,
886
- :type)
935
+ :type,
936
+ :expression)
887
937
  SENSITIVE = []
888
938
  include Aws::Structure
889
939
  end
890
940
 
891
941
  # The task placement strategy for a task or service.
892
942
  #
893
- # @!attribute [rw] field
894
- # The field to apply the placement strategy against. For the spread
895
- # placement strategy, valid values are `instanceId` (or `instanceId`,
896
- # which has the same effect), or any platform or custom attribute that
897
- # is applied to a container instance, such as
898
- # `attribute:ecs.availability-zone`. For the binpack placement
899
- # strategy, valid values are `cpu` and `memory`. For the random
900
- # placement strategy, this field is not used.
901
- # @return [String]
902
- #
903
943
  # @!attribute [rw] type
904
944
  # The type of placement strategy. The random placement strategy
905
945
  # randomly places tasks on available candidates. The spread placement
@@ -911,11 +951,21 @@ module Aws::Scheduler
911
951
  # least amount of remaining memory (but still enough to run the task).
912
952
  # @return [String]
913
953
  #
954
+ # @!attribute [rw] field
955
+ # The field to apply the placement strategy against. For the spread
956
+ # placement strategy, valid values are `instanceId` (or `instanceId`,
957
+ # which has the same effect), or any platform or custom attribute that
958
+ # is applied to a container instance, such as
959
+ # `attribute:ecs.availability-zone`. For the binpack placement
960
+ # strategy, valid values are `cpu` and `memory`. For the random
961
+ # placement strategy, this field is not used.
962
+ # @return [String]
963
+ #
914
964
  # @see http://docs.aws.amazon.com/goto/WebAPI/scheduler-2021-06-30/PlacementStrategy AWS API Documentation
915
965
  #
916
966
  class PlacementStrategy < Struct.new(
917
- :field,
918
- :type)
967
+ :type,
968
+ :field)
919
969
  SENSITIVE = []
920
970
  include Aws::Structure
921
971
  end
@@ -1007,14 +1057,6 @@ module Aws::Scheduler
1007
1057
  # The Amazon Resource Name (ARN) of the schedule group.
1008
1058
  # @return [String]
1009
1059
  #
1010
- # @!attribute [rw] creation_date
1011
- # The time at which the schedule group was created.
1012
- # @return [Time]
1013
- #
1014
- # @!attribute [rw] last_modification_date
1015
- # The time at which the schedule group was last modified.
1016
- # @return [Time]
1017
- #
1018
1060
  # @!attribute [rw] name
1019
1061
  # The name of the schedule group.
1020
1062
  # @return [String]
@@ -1023,14 +1065,22 @@ module Aws::Scheduler
1023
1065
  # Specifies the state of the schedule group.
1024
1066
  # @return [String]
1025
1067
  #
1068
+ # @!attribute [rw] creation_date
1069
+ # The time at which the schedule group was created.
1070
+ # @return [Time]
1071
+ #
1072
+ # @!attribute [rw] last_modification_date
1073
+ # The time at which the schedule group was last modified.
1074
+ # @return [Time]
1075
+ #
1026
1076
  # @see http://docs.aws.amazon.com/goto/WebAPI/scheduler-2021-06-30/ScheduleGroupSummary AWS API Documentation
1027
1077
  #
1028
1078
  class ScheduleGroupSummary < Struct.new(
1029
1079
  :arn,
1030
- :creation_date,
1031
- :last_modification_date,
1032
1080
  :name,
1033
- :state)
1081
+ :state,
1082
+ :creation_date,
1083
+ :last_modification_date)
1034
1084
  SENSITIVE = []
1035
1085
  include Aws::Structure
1036
1086
  end
@@ -1041,26 +1091,26 @@ module Aws::Scheduler
1041
1091
  # The Amazon Resource Name (ARN) of the schedule.
1042
1092
  # @return [String]
1043
1093
  #
1044
- # @!attribute [rw] creation_date
1045
- # The time at which the schedule was created.
1046
- # @return [Time]
1094
+ # @!attribute [rw] name
1095
+ # The name of the schedule.
1096
+ # @return [String]
1047
1097
  #
1048
1098
  # @!attribute [rw] group_name
1049
1099
  # The name of the schedule group associated with this schedule.
1050
1100
  # @return [String]
1051
1101
  #
1052
- # @!attribute [rw] last_modification_date
1053
- # The time at which the schedule was last modified.
1054
- # @return [Time]
1055
- #
1056
- # @!attribute [rw] name
1057
- # The name of the schedule.
1058
- # @return [String]
1059
- #
1060
1102
  # @!attribute [rw] state
1061
1103
  # Specifies whether the schedule is enabled or disabled.
1062
1104
  # @return [String]
1063
1105
  #
1106
+ # @!attribute [rw] creation_date
1107
+ # The time at which the schedule was created.
1108
+ # @return [Time]
1109
+ #
1110
+ # @!attribute [rw] last_modification_date
1111
+ # The time at which the schedule was last modified.
1112
+ # @return [Time]
1113
+ #
1064
1114
  # @!attribute [rw] target
1065
1115
  # The schedule's target details.
1066
1116
  # @return [Types::TargetSummary]
@@ -1069,11 +1119,11 @@ module Aws::Scheduler
1069
1119
  #
1070
1120
  class ScheduleSummary < Struct.new(
1071
1121
  :arn,
1072
- :creation_date,
1073
- :group_name,
1074
- :last_modification_date,
1075
1122
  :name,
1123
+ :group_name,
1076
1124
  :state,
1125
+ :creation_date,
1126
+ :last_modification_date,
1077
1127
  :target)
1078
1128
  SENSITIVE = []
1079
1129
  include Aws::Structure
@@ -1167,6 +1217,11 @@ module Aws::Scheduler
1167
1217
  # The Amazon Resource Name (ARN) of the target.
1168
1218
  # @return [String]
1169
1219
  #
1220
+ # @!attribute [rw] role_arn
1221
+ # The Amazon Resource Name (ARN) of the IAM role that EventBridge
1222
+ # Scheduler will use for this target when the schedule is invoked.
1223
+ # @return [String]
1224
+ #
1170
1225
  # @!attribute [rw] dead_letter_config
1171
1226
  # An object that contains information about an Amazon SQS queue that
1172
1227
  # EventBridge Scheduler uses as a dead-letter queue for your schedule.
@@ -1174,6 +1229,23 @@ module Aws::Scheduler
1174
1229
  # could not be successfully delivered to a target to the queue.
1175
1230
  # @return [Types::DeadLetterConfig]
1176
1231
  #
1232
+ # @!attribute [rw] retry_policy
1233
+ # A `RetryPolicy` object that includes information about the retry
1234
+ # policy settings, including the maximum age of an event, and the
1235
+ # maximum number of times EventBridge Scheduler will try to deliver
1236
+ # the event to a target.
1237
+ # @return [Types::RetryPolicy]
1238
+ #
1239
+ # @!attribute [rw] input
1240
+ # The text, or well-formed JSON, passed to the target. If you are
1241
+ # configuring a templated Lambda, Amazon Web Services Step Functions,
1242
+ # or Amazon EventBridge target, the input must be a well-formed JSON.
1243
+ # For all other target types, a JSON is not required. If you do not
1244
+ # specify anything for this field, EventBridge Scheduler delivers a
1245
+ # default notification to the target. The maximum size of the `Input`
1246
+ # field is 256 KB.
1247
+ # @return [String]
1248
+ #
1177
1249
  # @!attribute [rw] ecs_parameters
1178
1250
  # The templated target type for the Amazon ECS [ `RunTask` ][1] API
1179
1251
  # operation.
@@ -1192,31 +1264,32 @@ module Aws::Scheduler
1192
1264
  # [1]: https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_PutEvents.html
1193
1265
  # @return [Types::EventBridgeParameters]
1194
1266
  #
1195
- # @!attribute [rw] input
1196
- # The text, or well-formed JSON, passed to the target. If you are
1197
- # configuring a templated Lambda, AWS Step Functions, or Amazon
1198
- # EventBridge target, the input must be a well-formed JSON. For all
1199
- # other target types, a JSON is not required. If you do not specify
1200
- # anything for this field, EventBridge Scheduler delivers a default
1201
- # notification to the target.
1202
- # @return [String]
1267
+ # @!attribute [rw] event_bridge_put_events_v2_parameters
1268
+ # The templated target type for the EventBridge event bus v2 [
1269
+ # `PutEvents` ][1] API operation.
1270
+ #
1271
+ #
1272
+ #
1273
+ # [1]: https://docs.aws.amazon.com/eventbridgev2/latest/APIReference/API_PutEvents.html
1274
+ # @return [Types::EventBridgePutEventsV2Parameters]
1275
+ #
1276
+ # @!attribute [rw] event_bridge_put_raw_events_parameters
1277
+ # The templated target type for the EventBridge event bus v2 [
1278
+ # `PutRawEvents` ][1] API operation.
1279
+ #
1280
+ #
1281
+ #
1282
+ # [1]: https://docs.aws.amazon.com/eventbridgev2/latest/APIReference/API_PutRawEvents.html
1283
+ # @return [Types::EventBridgePutRawEventsParameters]
1203
1284
  #
1204
1285
  # @!attribute [rw] kinesis_parameters
1205
- # The templated target type for the Amazon Kinesis [ `PutRecord`
1206
- # ](kinesis/latest/APIReference/API_PutRecord.html) API operation.
1207
- # @return [Types::KinesisParameters]
1286
+ # The templated target type for the Amazon Kinesis [ `PutRecord` ][1]
1287
+ # API operation.
1208
1288
  #
1209
- # @!attribute [rw] retry_policy
1210
- # A `RetryPolicy` object that includes information about the retry
1211
- # policy settings, including the maximum age of an event, and the
1212
- # maximum number of times EventBridge Scheduler will try to deliver
1213
- # the event to a target.
1214
- # @return [Types::RetryPolicy]
1215
1289
  #
1216
- # @!attribute [rw] role_arn
1217
- # The Amazon Resource Name (ARN) of the IAM role that EventBridge
1218
- # Scheduler will use for this target when the schedule is invoked.
1219
- # @return [String]
1290
+ #
1291
+ # [1]: https://docs.aws.amazon.com/kinesis/latest/APIReference/API_PutRecord.html
1292
+ # @return [Types::KinesisParameters]
1220
1293
  #
1221
1294
  # @!attribute [rw] sage_maker_pipeline_parameters
1222
1295
  # The templated target type for the Amazon SageMaker [
@@ -1245,13 +1318,15 @@ module Aws::Scheduler
1245
1318
  #
1246
1319
  class Target < Struct.new(
1247
1320
  :arn,
1321
+ :role_arn,
1248
1322
  :dead_letter_config,
1323
+ :retry_policy,
1324
+ :input,
1249
1325
  :ecs_parameters,
1250
1326
  :event_bridge_parameters,
1251
- :input,
1327
+ :event_bridge_put_events_v2_parameters,
1328
+ :event_bridge_put_raw_events_parameters,
1252
1329
  :kinesis_parameters,
1253
- :retry_policy,
1254
- :role_arn,
1255
1330
  :sage_maker_pipeline_parameters,
1256
1331
  :sqs_parameters)
1257
1332
  SENSITIVE = []
@@ -1307,37 +1382,10 @@ module Aws::Scheduler
1307
1382
  #
1308
1383
  class UntagResourceOutput < Aws::EmptyStructure; end
1309
1384
 
1310
- # @!attribute [rw] action_after_completion
1311
- # Specifies the action that EventBridge Scheduler applies to the
1312
- # schedule after the schedule completes invoking the target.
1313
- # @return [String]
1314
- #
1315
- # @!attribute [rw] client_token
1316
- # Unique, case-sensitive identifier you provide to ensure the
1317
- # idempotency of the request. If you do not specify a client token,
1318
- # EventBridge Scheduler uses a randomly generated token for the
1319
- # request to ensure idempotency.
1320
- #
1321
- # **A suitable default value is auto-generated.** You should normally
1322
- # not need to pass this option.
1323
- # @return [String]
1324
- #
1325
- # @!attribute [rw] description
1326
- # The description you specify for the schedule.
1385
+ # @!attribute [rw] name
1386
+ # The name of the schedule that you are updating.
1327
1387
  # @return [String]
1328
1388
  #
1329
- # @!attribute [rw] end_date
1330
- # The date, in UTC, before which the schedule can invoke its target.
1331
- # Depending on the schedule's recurrence expression, invocations
1332
- # might stop on, or before, the `EndDate` you specify. EventBridge
1333
- # Scheduler ignores `EndDate` for one-time schedules.
1334
- # @return [Time]
1335
- #
1336
- # @!attribute [rw] flexible_time_window
1337
- # Allows you to configure a time window during which EventBridge
1338
- # Scheduler invokes the schedule.
1339
- # @return [Types::FlexibleTimeWindow]
1340
- #
1341
1389
  # @!attribute [rw] group_name
1342
1390
  # The name of the schedule group with which the schedule is
1343
1391
  # associated. You must provide this value in order for EventBridge
@@ -1346,15 +1394,6 @@ module Aws::Scheduler
1346
1394
  # default group.
1347
1395
  # @return [String]
1348
1396
  #
1349
- # @!attribute [rw] kms_key_arn
1350
- # The ARN for the customer managed KMS key that that you want
1351
- # EventBridge Scheduler to use to encrypt and decrypt your data.
1352
- # @return [String]
1353
- #
1354
- # @!attribute [rw] name
1355
- # The name of the schedule that you are updating.
1356
- # @return [String]
1357
- #
1358
1397
  # @!attribute [rw] schedule_expression
1359
1398
  # The expression that defines when the schedule runs. The following
1360
1399
  # formats are supported.
@@ -1389,10 +1428,6 @@ module Aws::Scheduler
1389
1428
  # [1]: https://docs.aws.amazon.com/scheduler/latest/UserGuide/schedule-types.html
1390
1429
  # @return [String]
1391
1430
  #
1392
- # @!attribute [rw] schedule_expression_timezone
1393
- # The timezone in which the scheduling expression is evaluated.
1394
- # @return [String]
1395
- #
1396
1431
  # @!attribute [rw] start_date
1397
1432
  # The date, in UTC, after which the schedule can begin invoking its
1398
1433
  # target. Depending on the schedule's recurrence expression,
@@ -1400,31 +1435,71 @@ module Aws::Scheduler
1400
1435
  # EventBridge Scheduler ignores `StartDate` for one-time schedules.
1401
1436
  # @return [Time]
1402
1437
  #
1438
+ # @!attribute [rw] end_date
1439
+ # The date, in UTC, before which the schedule can invoke its target.
1440
+ # Depending on the schedule's recurrence expression, invocations
1441
+ # might stop on, or before, the `EndDate` you specify. EventBridge
1442
+ # Scheduler ignores `EndDate` for one-time schedules.
1443
+ # @return [Time]
1444
+ #
1445
+ # @!attribute [rw] description
1446
+ # The description you specify for the schedule.
1447
+ # @return [String]
1448
+ #
1449
+ # @!attribute [rw] schedule_expression_timezone
1450
+ # The timezone in which the scheduling expression is evaluated.
1451
+ # @return [String]
1452
+ #
1403
1453
  # @!attribute [rw] state
1404
1454
  # Specifies whether the schedule is enabled or disabled.
1405
1455
  # @return [String]
1406
1456
  #
1457
+ # @!attribute [rw] kms_key_arn
1458
+ # The ARN for the customer managed KMS key that that you want
1459
+ # EventBridge Scheduler to use to encrypt and decrypt your data.
1460
+ # @return [String]
1461
+ #
1407
1462
  # @!attribute [rw] target
1408
1463
  # The schedule target. You can use this operation to change the target
1409
1464
  # that your schedule invokes.
1410
1465
  # @return [Types::Target]
1411
1466
  #
1467
+ # @!attribute [rw] flexible_time_window
1468
+ # Allows you to configure a time window during which EventBridge
1469
+ # Scheduler invokes the schedule.
1470
+ # @return [Types::FlexibleTimeWindow]
1471
+ #
1472
+ # @!attribute [rw] client_token
1473
+ # Unique, case-sensitive identifier you provide to ensure the
1474
+ # idempotency of the request. If you do not specify a client token,
1475
+ # EventBridge Scheduler uses a randomly generated token for the
1476
+ # request to ensure idempotency.
1477
+ #
1478
+ # **A suitable default value is auto-generated.** You should normally
1479
+ # not need to pass this option.
1480
+ # @return [String]
1481
+ #
1482
+ # @!attribute [rw] action_after_completion
1483
+ # Specifies the action that EventBridge Scheduler applies to the
1484
+ # schedule after the schedule completes invoking the target.
1485
+ # @return [String]
1486
+ #
1412
1487
  # @see http://docs.aws.amazon.com/goto/WebAPI/scheduler-2021-06-30/UpdateScheduleInput AWS API Documentation
1413
1488
  #
1414
1489
  class UpdateScheduleInput < Struct.new(
1415
- :action_after_completion,
1416
- :client_token,
1417
- :description,
1418
- :end_date,
1419
- :flexible_time_window,
1420
- :group_name,
1421
- :kms_key_arn,
1422
1490
  :name,
1491
+ :group_name,
1423
1492
  :schedule_expression,
1424
- :schedule_expression_timezone,
1425
1493
  :start_date,
1494
+ :end_date,
1495
+ :description,
1496
+ :schedule_expression_timezone,
1426
1497
  :state,
1427
- :target)
1498
+ :kms_key_arn,
1499
+ :target,
1500
+ :flexible_time_window,
1501
+ :client_token,
1502
+ :action_after_completion)
1428
1503
  SENSITIVE = []
1429
1504
  include Aws::Structure
1430
1505
  end
@@ -1441,8 +1516,8 @@ module Aws::Scheduler
1441
1516
  include Aws::Structure
1442
1517
  end
1443
1518
 
1444
- # The input fails to satisfy the constraints specified by an AWS
1445
- # service.
1519
+ # The input fails to satisfy the constraints specified by an Amazon Web
1520
+ # Services service.
1446
1521
  #
1447
1522
  # @!attribute [rw] message
1448
1523
  # @return [String]