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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-scheduler/client.rb +240 -218
- data/lib/aws-sdk-scheduler/client_api.rb +77 -56
- data/lib/aws-sdk-scheduler/types.rb +435 -360
- data/lib/aws-sdk-scheduler/waiters.rb +15 -0
- data/lib/aws-sdk-scheduler.rb +2 -1
- data/sig/client.rbs +46 -46
- data/sig/params.rbs +32 -25
- data/sig/types.rbs +67 -54
- metadata +6 -5
|
@@ -484,43 +484,13 @@ module Aws::Scheduler
|
|
|
484
484
|
|
|
485
485
|
# Creates the specified schedule.
|
|
486
486
|
#
|
|
487
|
-
# @option params [String] :
|
|
488
|
-
#
|
|
489
|
-
# schedule after the schedule completes invoking the target.
|
|
490
|
-
#
|
|
491
|
-
# @option params [String] :client_token
|
|
492
|
-
# Unique, case-sensitive identifier you provide to ensure the
|
|
493
|
-
# idempotency of the request. If you do not specify a client token,
|
|
494
|
-
# EventBridge Scheduler uses a randomly generated token for the request
|
|
495
|
-
# to ensure idempotency.
|
|
496
|
-
#
|
|
497
|
-
# **A suitable default value is auto-generated.** You should normally
|
|
498
|
-
# not need to pass this option.**
|
|
499
|
-
#
|
|
500
|
-
# @option params [String] :description
|
|
501
|
-
# The description you specify for the schedule.
|
|
502
|
-
#
|
|
503
|
-
# @option params [Time,DateTime,Date,Integer,String] :end_date
|
|
504
|
-
# The date, in UTC, before which the schedule can invoke its target.
|
|
505
|
-
# Depending on the schedule's recurrence expression, invocations might
|
|
506
|
-
# stop on, or before, the `EndDate` you specify. EventBridge Scheduler
|
|
507
|
-
# ignores `EndDate` for one-time schedules.
|
|
508
|
-
#
|
|
509
|
-
# @option params [required, Types::FlexibleTimeWindow] :flexible_time_window
|
|
510
|
-
# Allows you to configure a time window during which EventBridge
|
|
511
|
-
# Scheduler invokes the schedule.
|
|
487
|
+
# @option params [required, String] :name
|
|
488
|
+
# The name of the schedule that you are creating.
|
|
512
489
|
#
|
|
513
490
|
# @option params [String] :group_name
|
|
514
491
|
# The name of the schedule group to associate with this schedule. If you
|
|
515
492
|
# omit this, the default schedule group is used.
|
|
516
493
|
#
|
|
517
|
-
# @option params [String] :kms_key_arn
|
|
518
|
-
# The Amazon Resource Name (ARN) for the customer managed KMS key that
|
|
519
|
-
# EventBridge Scheduler will use to encrypt and decrypt your data.
|
|
520
|
-
#
|
|
521
|
-
# @option params [required, String] :name
|
|
522
|
-
# The name of the schedule that you are creating.
|
|
523
|
-
#
|
|
524
494
|
# @option params [required, String] :schedule_expression
|
|
525
495
|
# The expression that defines when the schedule runs. The following
|
|
526
496
|
# formats are supported.
|
|
@@ -554,21 +524,51 @@ module Aws::Scheduler
|
|
|
554
524
|
#
|
|
555
525
|
# [1]: https://docs.aws.amazon.com/scheduler/latest/UserGuide/schedule-types.html
|
|
556
526
|
#
|
|
557
|
-
# @option params [String] :schedule_expression_timezone
|
|
558
|
-
# The timezone in which the scheduling expression is evaluated.
|
|
559
|
-
#
|
|
560
527
|
# @option params [Time,DateTime,Date,Integer,String] :start_date
|
|
561
528
|
# The date, in UTC, after which the schedule can begin invoking its
|
|
562
529
|
# target. Depending on the schedule's recurrence expression,
|
|
563
530
|
# invocations might occur on, or after, the `StartDate` you specify.
|
|
564
531
|
# EventBridge Scheduler ignores `StartDate` for one-time schedules.
|
|
565
532
|
#
|
|
533
|
+
# @option params [Time,DateTime,Date,Integer,String] :end_date
|
|
534
|
+
# The date, in UTC, before which the schedule can invoke its target.
|
|
535
|
+
# Depending on the schedule's recurrence expression, invocations might
|
|
536
|
+
# stop on, or before, the `EndDate` you specify. EventBridge Scheduler
|
|
537
|
+
# ignores `EndDate` for one-time schedules.
|
|
538
|
+
#
|
|
539
|
+
# @option params [String] :description
|
|
540
|
+
# The description you specify for the schedule.
|
|
541
|
+
#
|
|
542
|
+
# @option params [String] :schedule_expression_timezone
|
|
543
|
+
# The timezone in which the scheduling expression is evaluated.
|
|
544
|
+
#
|
|
566
545
|
# @option params [String] :state
|
|
567
546
|
# Specifies whether the schedule is enabled or disabled.
|
|
568
547
|
#
|
|
548
|
+
# @option params [String] :kms_key_arn
|
|
549
|
+
# The Amazon Resource Name (ARN) for the customer managed KMS key that
|
|
550
|
+
# EventBridge Scheduler will use to encrypt and decrypt your data.
|
|
551
|
+
#
|
|
569
552
|
# @option params [required, Types::Target] :target
|
|
570
553
|
# The schedule's target.
|
|
571
554
|
#
|
|
555
|
+
# @option params [required, Types::FlexibleTimeWindow] :flexible_time_window
|
|
556
|
+
# Allows you to configure a time window during which EventBridge
|
|
557
|
+
# Scheduler invokes the schedule.
|
|
558
|
+
#
|
|
559
|
+
# @option params [String] :client_token
|
|
560
|
+
# Unique, case-sensitive identifier you provide to ensure the
|
|
561
|
+
# idempotency of the request. If you do not specify a client token,
|
|
562
|
+
# EventBridge Scheduler uses a randomly generated token for the request
|
|
563
|
+
# to ensure idempotency.
|
|
564
|
+
#
|
|
565
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
566
|
+
# not need to pass this option.**
|
|
567
|
+
#
|
|
568
|
+
# @option params [String] :action_after_completion
|
|
569
|
+
# Specifies the action that EventBridge Scheduler applies to the
|
|
570
|
+
# schedule after the schedule completes invoking the target.
|
|
571
|
+
#
|
|
572
572
|
# @return [Types::CreateScheduleOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
573
573
|
#
|
|
574
574
|
# * {Types::CreateScheduleOutput#schedule_arn #schedule_arn} => String
|
|
@@ -576,58 +576,60 @@ module Aws::Scheduler
|
|
|
576
576
|
# @example Request syntax with placeholder values
|
|
577
577
|
#
|
|
578
578
|
# resp = client.create_schedule({
|
|
579
|
-
# action_after_completion: "NONE", # accepts NONE, DELETE
|
|
580
|
-
# client_token: "ClientToken",
|
|
581
|
-
# description: "Description",
|
|
582
|
-
# end_date: Time.now,
|
|
583
|
-
# flexible_time_window: { # required
|
|
584
|
-
# maximum_window_in_minutes: 1,
|
|
585
|
-
# mode: "OFF", # required, accepts OFF, FLEXIBLE
|
|
586
|
-
# },
|
|
587
|
-
# group_name: "ScheduleGroupName",
|
|
588
|
-
# kms_key_arn: "KmsKeyArn",
|
|
589
579
|
# name: "Name", # required
|
|
580
|
+
# group_name: "ScheduleGroupName",
|
|
590
581
|
# schedule_expression: "ScheduleExpression", # required
|
|
591
|
-
# schedule_expression_timezone: "ScheduleExpressionTimezone",
|
|
592
582
|
# start_date: Time.now,
|
|
583
|
+
# end_date: Time.now,
|
|
584
|
+
# description: "Description",
|
|
585
|
+
# schedule_expression_timezone: "ScheduleExpressionTimezone",
|
|
593
586
|
# state: "ENABLED", # accepts ENABLED, DISABLED
|
|
587
|
+
# kms_key_arn: "KmsKeyArn",
|
|
594
588
|
# target: { # required
|
|
595
589
|
# arn: "TargetArn", # required
|
|
590
|
+
# role_arn: "RoleArn", # required
|
|
596
591
|
# dead_letter_config: {
|
|
597
592
|
# arn: "DeadLetterConfigArnString",
|
|
598
593
|
# },
|
|
594
|
+
# retry_policy: {
|
|
595
|
+
# maximum_event_age_in_seconds: 1,
|
|
596
|
+
# maximum_retry_attempts: 1,
|
|
597
|
+
# },
|
|
598
|
+
# input: "TargetInput",
|
|
599
599
|
# ecs_parameters: {
|
|
600
|
+
# task_definition_arn: "TaskDefinitionArn", # required
|
|
601
|
+
# task_count: 1,
|
|
602
|
+
# launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
|
|
603
|
+
# network_configuration: {
|
|
604
|
+
# awsvpc_configuration: {
|
|
605
|
+
# subnets: ["Subnet"], # required
|
|
606
|
+
# security_groups: ["SecurityGroup"],
|
|
607
|
+
# assign_public_ip: "ENABLED", # accepts ENABLED, DISABLED
|
|
608
|
+
# },
|
|
609
|
+
# },
|
|
610
|
+
# platform_version: "PlatformVersion",
|
|
611
|
+
# group: "Group",
|
|
600
612
|
# capacity_provider_strategy: [
|
|
601
613
|
# {
|
|
602
|
-
# base: 1,
|
|
603
614
|
# capacity_provider: "CapacityProvider", # required
|
|
604
615
|
# weight: 1,
|
|
616
|
+
# base: 1,
|
|
605
617
|
# },
|
|
606
618
|
# ],
|
|
607
619
|
# enable_ecs_managed_tags: false,
|
|
608
620
|
# enable_execute_command: false,
|
|
609
|
-
# group: "Group",
|
|
610
|
-
# launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
|
|
611
|
-
# network_configuration: {
|
|
612
|
-
# awsvpc_configuration: {
|
|
613
|
-
# assign_public_ip: "ENABLED", # accepts ENABLED, DISABLED
|
|
614
|
-
# security_groups: ["SecurityGroup"],
|
|
615
|
-
# subnets: ["Subnet"], # required
|
|
616
|
-
# },
|
|
617
|
-
# },
|
|
618
621
|
# placement_constraints: [
|
|
619
622
|
# {
|
|
620
|
-
# expression: "PlacementConstraintExpression",
|
|
621
623
|
# type: "distinctInstance", # accepts distinctInstance, memberOf
|
|
624
|
+
# expression: "PlacementConstraintExpression",
|
|
622
625
|
# },
|
|
623
626
|
# ],
|
|
624
627
|
# placement_strategy: [
|
|
625
628
|
# {
|
|
626
|
-
# field: "PlacementStrategyField",
|
|
627
629
|
# type: "random", # accepts random, spread, binpack
|
|
630
|
+
# field: "PlacementStrategyField",
|
|
628
631
|
# },
|
|
629
632
|
# ],
|
|
630
|
-
# platform_version: "PlatformVersion",
|
|
631
633
|
# propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION
|
|
632
634
|
# reference_id: "ReferenceId",
|
|
633
635
|
# tags: [
|
|
@@ -635,22 +637,23 @@ module Aws::Scheduler
|
|
|
635
637
|
# "TagKey" => "TagValue",
|
|
636
638
|
# },
|
|
637
639
|
# ],
|
|
638
|
-
# task_count: 1,
|
|
639
|
-
# task_definition_arn: "TaskDefinitionArn", # required
|
|
640
640
|
# },
|
|
641
641
|
# event_bridge_parameters: {
|
|
642
642
|
# detail_type: "DetailType", # required
|
|
643
643
|
# source: "Source", # required
|
|
644
644
|
# },
|
|
645
|
-
#
|
|
645
|
+
# event_bridge_put_events_v2_parameters: {
|
|
646
|
+
# detail_type: "DetailType", # required
|
|
647
|
+
# source: "Source", # required
|
|
648
|
+
# },
|
|
649
|
+
# event_bridge_put_raw_events_parameters: {
|
|
650
|
+
# metadata: {
|
|
651
|
+
# "EventBridgeMetadataKey" => "EventBridgeMetadataValue",
|
|
652
|
+
# },
|
|
653
|
+
# },
|
|
646
654
|
# kinesis_parameters: {
|
|
647
655
|
# partition_key: "TargetPartitionKey", # required
|
|
648
656
|
# },
|
|
649
|
-
# retry_policy: {
|
|
650
|
-
# maximum_event_age_in_seconds: 1,
|
|
651
|
-
# maximum_retry_attempts: 1,
|
|
652
|
-
# },
|
|
653
|
-
# role_arn: "RoleArn", # required
|
|
654
657
|
# sage_maker_pipeline_parameters: {
|
|
655
658
|
# pipeline_parameter_list: [
|
|
656
659
|
# {
|
|
@@ -663,6 +666,12 @@ module Aws::Scheduler
|
|
|
663
666
|
# message_group_id: "MessageGroupId",
|
|
664
667
|
# },
|
|
665
668
|
# },
|
|
669
|
+
# flexible_time_window: { # required
|
|
670
|
+
# mode: "OFF", # required, accepts OFF, FLEXIBLE
|
|
671
|
+
# maximum_window_in_minutes: 1,
|
|
672
|
+
# },
|
|
673
|
+
# client_token: "ClientToken",
|
|
674
|
+
# action_after_completion: "NONE", # accepts NONE, DELETE
|
|
666
675
|
# })
|
|
667
676
|
#
|
|
668
677
|
# @example Response structure
|
|
@@ -680,6 +689,12 @@ module Aws::Scheduler
|
|
|
680
689
|
|
|
681
690
|
# Creates the specified schedule group.
|
|
682
691
|
#
|
|
692
|
+
# @option params [required, String] :name
|
|
693
|
+
# The name of the schedule group that you are creating.
|
|
694
|
+
#
|
|
695
|
+
# @option params [Array<Types::Tag>] :tags
|
|
696
|
+
# The list of tags to associate with the schedule group.
|
|
697
|
+
#
|
|
683
698
|
# @option params [String] :client_token
|
|
684
699
|
# Unique, case-sensitive identifier you provide to ensure the
|
|
685
700
|
# idempotency of the request. If you do not specify a client token,
|
|
@@ -689,12 +704,6 @@ module Aws::Scheduler
|
|
|
689
704
|
# **A suitable default value is auto-generated.** You should normally
|
|
690
705
|
# not need to pass this option.**
|
|
691
706
|
#
|
|
692
|
-
# @option params [required, String] :name
|
|
693
|
-
# The name of the schedule group that you are creating.
|
|
694
|
-
#
|
|
695
|
-
# @option params [Array<Types::Tag>] :tags
|
|
696
|
-
# The list of tags to associate with the schedule group.
|
|
697
|
-
#
|
|
698
707
|
# @return [Types::CreateScheduleGroupOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
699
708
|
#
|
|
700
709
|
# * {Types::CreateScheduleGroupOutput#schedule_group_arn #schedule_group_arn} => String
|
|
@@ -702,7 +711,6 @@ module Aws::Scheduler
|
|
|
702
711
|
# @example Request syntax with placeholder values
|
|
703
712
|
#
|
|
704
713
|
# resp = client.create_schedule_group({
|
|
705
|
-
# client_token: "ClientToken",
|
|
706
714
|
# name: "ScheduleGroupName", # required
|
|
707
715
|
# tags: [
|
|
708
716
|
# {
|
|
@@ -710,6 +718,7 @@ module Aws::Scheduler
|
|
|
710
718
|
# value: "TagValue", # required
|
|
711
719
|
# },
|
|
712
720
|
# ],
|
|
721
|
+
# client_token: "ClientToken",
|
|
713
722
|
# })
|
|
714
723
|
#
|
|
715
724
|
# @example Response structure
|
|
@@ -727,6 +736,13 @@ module Aws::Scheduler
|
|
|
727
736
|
|
|
728
737
|
# Deletes the specified schedule.
|
|
729
738
|
#
|
|
739
|
+
# @option params [required, String] :name
|
|
740
|
+
# The name of the schedule to delete.
|
|
741
|
+
#
|
|
742
|
+
# @option params [String] :group_name
|
|
743
|
+
# The name of the schedule group associated with this schedule. If you
|
|
744
|
+
# omit this, the default schedule group is used.
|
|
745
|
+
#
|
|
730
746
|
# @option params [String] :client_token
|
|
731
747
|
# Unique, case-sensitive identifier you provide to ensure the
|
|
732
748
|
# idempotency of the request. If you do not specify a client token,
|
|
@@ -736,21 +752,14 @@ module Aws::Scheduler
|
|
|
736
752
|
# **A suitable default value is auto-generated.** You should normally
|
|
737
753
|
# not need to pass this option.**
|
|
738
754
|
#
|
|
739
|
-
# @option params [String] :group_name
|
|
740
|
-
# The name of the schedule group associated with this schedule. If you
|
|
741
|
-
# omit this, the default schedule group is used.
|
|
742
|
-
#
|
|
743
|
-
# @option params [required, String] :name
|
|
744
|
-
# The name of the schedule to delete.
|
|
745
|
-
#
|
|
746
755
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
747
756
|
#
|
|
748
757
|
# @example Request syntax with placeholder values
|
|
749
758
|
#
|
|
750
759
|
# resp = client.delete_schedule({
|
|
751
|
-
# client_token: "ClientToken",
|
|
752
|
-
# group_name: "ScheduleGroupName",
|
|
753
760
|
# name: "Name", # required
|
|
761
|
+
# group_name: "ScheduleGroupName",
|
|
762
|
+
# client_token: "ClientToken",
|
|
754
763
|
# })
|
|
755
764
|
#
|
|
756
765
|
# @see http://docs.aws.amazon.com/goto/WebAPI/scheduler-2021-06-30/DeleteSchedule AWS API Documentation
|
|
@@ -775,6 +784,9 @@ module Aws::Scheduler
|
|
|
775
784
|
#
|
|
776
785
|
# </note>
|
|
777
786
|
#
|
|
787
|
+
# @option params [required, String] :name
|
|
788
|
+
# The name of the schedule group to delete.
|
|
789
|
+
#
|
|
778
790
|
# @option params [String] :client_token
|
|
779
791
|
# Unique, case-sensitive identifier you provide to ensure the
|
|
780
792
|
# idempotency of the request. If you do not specify a client token,
|
|
@@ -784,16 +796,13 @@ module Aws::Scheduler
|
|
|
784
796
|
# **A suitable default value is auto-generated.** You should normally
|
|
785
797
|
# not need to pass this option.**
|
|
786
798
|
#
|
|
787
|
-
# @option params [required, String] :name
|
|
788
|
-
# The name of the schedule group to delete.
|
|
789
|
-
#
|
|
790
799
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
791
800
|
#
|
|
792
801
|
# @example Request syntax with placeholder values
|
|
793
802
|
#
|
|
794
803
|
# resp = client.delete_schedule_group({
|
|
795
|
-
# client_token: "ClientToken",
|
|
796
804
|
# name: "ScheduleGroupName", # required
|
|
805
|
+
# client_token: "ClientToken",
|
|
797
806
|
# })
|
|
798
807
|
#
|
|
799
808
|
# @see http://docs.aws.amazon.com/goto/WebAPI/scheduler-2021-06-30/DeleteScheduleGroup AWS API Documentation
|
|
@@ -807,96 +816,100 @@ module Aws::Scheduler
|
|
|
807
816
|
|
|
808
817
|
# Retrieves the specified schedule.
|
|
809
818
|
#
|
|
819
|
+
# @option params [required, String] :name
|
|
820
|
+
# The name of the schedule to retrieve.
|
|
821
|
+
#
|
|
810
822
|
# @option params [String] :group_name
|
|
811
823
|
# The name of the schedule group associated with this schedule. If you
|
|
812
824
|
# omit this, EventBridge Scheduler assumes that the schedule is
|
|
813
825
|
# associated with the default group.
|
|
814
826
|
#
|
|
815
|
-
# @option params [required, String] :name
|
|
816
|
-
# The name of the schedule to retrieve.
|
|
817
|
-
#
|
|
818
827
|
# @return [Types::GetScheduleOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
819
828
|
#
|
|
820
|
-
# * {Types::GetScheduleOutput#action_after_completion #action_after_completion} => String
|
|
821
829
|
# * {Types::GetScheduleOutput#arn #arn} => String
|
|
822
|
-
# * {Types::GetScheduleOutput#creation_date #creation_date} => Time
|
|
823
|
-
# * {Types::GetScheduleOutput#description #description} => String
|
|
824
|
-
# * {Types::GetScheduleOutput#end_date #end_date} => Time
|
|
825
|
-
# * {Types::GetScheduleOutput#flexible_time_window #flexible_time_window} => Types::FlexibleTimeWindow
|
|
826
830
|
# * {Types::GetScheduleOutput#group_name #group_name} => String
|
|
827
|
-
# * {Types::GetScheduleOutput#kms_key_arn #kms_key_arn} => String
|
|
828
|
-
# * {Types::GetScheduleOutput#last_modification_date #last_modification_date} => Time
|
|
829
831
|
# * {Types::GetScheduleOutput#name #name} => String
|
|
830
832
|
# * {Types::GetScheduleOutput#schedule_expression #schedule_expression} => String
|
|
831
|
-
# * {Types::GetScheduleOutput#schedule_expression_timezone #schedule_expression_timezone} => String
|
|
832
833
|
# * {Types::GetScheduleOutput#start_date #start_date} => Time
|
|
834
|
+
# * {Types::GetScheduleOutput#end_date #end_date} => Time
|
|
835
|
+
# * {Types::GetScheduleOutput#description #description} => String
|
|
836
|
+
# * {Types::GetScheduleOutput#schedule_expression_timezone #schedule_expression_timezone} => String
|
|
833
837
|
# * {Types::GetScheduleOutput#state #state} => String
|
|
838
|
+
# * {Types::GetScheduleOutput#creation_date #creation_date} => Time
|
|
839
|
+
# * {Types::GetScheduleOutput#last_modification_date #last_modification_date} => Time
|
|
840
|
+
# * {Types::GetScheduleOutput#kms_key_arn #kms_key_arn} => String
|
|
834
841
|
# * {Types::GetScheduleOutput#target #target} => Types::Target
|
|
842
|
+
# * {Types::GetScheduleOutput#flexible_time_window #flexible_time_window} => Types::FlexibleTimeWindow
|
|
843
|
+
# * {Types::GetScheduleOutput#action_after_completion #action_after_completion} => String
|
|
835
844
|
#
|
|
836
845
|
# @example Request syntax with placeholder values
|
|
837
846
|
#
|
|
838
847
|
# resp = client.get_schedule({
|
|
839
|
-
# group_name: "ScheduleGroupName",
|
|
840
848
|
# name: "Name", # required
|
|
849
|
+
# group_name: "ScheduleGroupName",
|
|
841
850
|
# })
|
|
842
851
|
#
|
|
843
852
|
# @example Response structure
|
|
844
853
|
#
|
|
845
|
-
# resp.action_after_completion #=> String, one of "NONE", "DELETE"
|
|
846
854
|
# resp.arn #=> String
|
|
847
|
-
# resp.creation_date #=> Time
|
|
848
|
-
# resp.description #=> String
|
|
849
|
-
# resp.end_date #=> Time
|
|
850
|
-
# resp.flexible_time_window.maximum_window_in_minutes #=> Integer
|
|
851
|
-
# resp.flexible_time_window.mode #=> String, one of "OFF", "FLEXIBLE"
|
|
852
855
|
# resp.group_name #=> String
|
|
853
|
-
# resp.kms_key_arn #=> String
|
|
854
|
-
# resp.last_modification_date #=> Time
|
|
855
856
|
# resp.name #=> String
|
|
856
857
|
# resp.schedule_expression #=> String
|
|
857
|
-
# resp.schedule_expression_timezone #=> String
|
|
858
858
|
# resp.start_date #=> Time
|
|
859
|
+
# resp.end_date #=> Time
|
|
860
|
+
# resp.description #=> String
|
|
861
|
+
# resp.schedule_expression_timezone #=> String
|
|
859
862
|
# resp.state #=> String, one of "ENABLED", "DISABLED"
|
|
863
|
+
# resp.creation_date #=> Time
|
|
864
|
+
# resp.last_modification_date #=> Time
|
|
865
|
+
# resp.kms_key_arn #=> String
|
|
860
866
|
# resp.target.arn #=> String
|
|
867
|
+
# resp.target.role_arn #=> String
|
|
861
868
|
# resp.target.dead_letter_config.arn #=> String
|
|
869
|
+
# resp.target.retry_policy.maximum_event_age_in_seconds #=> Integer
|
|
870
|
+
# resp.target.retry_policy.maximum_retry_attempts #=> Integer
|
|
871
|
+
# resp.target.input #=> String
|
|
872
|
+
# resp.target.ecs_parameters.task_definition_arn #=> String
|
|
873
|
+
# resp.target.ecs_parameters.task_count #=> Integer
|
|
874
|
+
# resp.target.ecs_parameters.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
|
875
|
+
# resp.target.ecs_parameters.network_configuration.awsvpc_configuration.subnets #=> Array
|
|
876
|
+
# resp.target.ecs_parameters.network_configuration.awsvpc_configuration.subnets[0] #=> String
|
|
877
|
+
# resp.target.ecs_parameters.network_configuration.awsvpc_configuration.security_groups #=> Array
|
|
878
|
+
# resp.target.ecs_parameters.network_configuration.awsvpc_configuration.security_groups[0] #=> String
|
|
879
|
+
# resp.target.ecs_parameters.network_configuration.awsvpc_configuration.assign_public_ip #=> String, one of "ENABLED", "DISABLED"
|
|
880
|
+
# resp.target.ecs_parameters.platform_version #=> String
|
|
881
|
+
# resp.target.ecs_parameters.group #=> String
|
|
862
882
|
# resp.target.ecs_parameters.capacity_provider_strategy #=> Array
|
|
863
|
-
# resp.target.ecs_parameters.capacity_provider_strategy[0].base #=> Integer
|
|
864
883
|
# resp.target.ecs_parameters.capacity_provider_strategy[0].capacity_provider #=> String
|
|
865
884
|
# resp.target.ecs_parameters.capacity_provider_strategy[0].weight #=> Integer
|
|
885
|
+
# resp.target.ecs_parameters.capacity_provider_strategy[0].base #=> Integer
|
|
866
886
|
# resp.target.ecs_parameters.enable_ecs_managed_tags #=> Boolean
|
|
867
887
|
# resp.target.ecs_parameters.enable_execute_command #=> Boolean
|
|
868
|
-
# resp.target.ecs_parameters.group #=> String
|
|
869
|
-
# resp.target.ecs_parameters.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
|
870
|
-
# resp.target.ecs_parameters.network_configuration.awsvpc_configuration.assign_public_ip #=> String, one of "ENABLED", "DISABLED"
|
|
871
|
-
# resp.target.ecs_parameters.network_configuration.awsvpc_configuration.security_groups #=> Array
|
|
872
|
-
# resp.target.ecs_parameters.network_configuration.awsvpc_configuration.security_groups[0] #=> String
|
|
873
|
-
# resp.target.ecs_parameters.network_configuration.awsvpc_configuration.subnets #=> Array
|
|
874
|
-
# resp.target.ecs_parameters.network_configuration.awsvpc_configuration.subnets[0] #=> String
|
|
875
888
|
# resp.target.ecs_parameters.placement_constraints #=> Array
|
|
876
|
-
# resp.target.ecs_parameters.placement_constraints[0].expression #=> String
|
|
877
889
|
# resp.target.ecs_parameters.placement_constraints[0].type #=> String, one of "distinctInstance", "memberOf"
|
|
890
|
+
# resp.target.ecs_parameters.placement_constraints[0].expression #=> String
|
|
878
891
|
# resp.target.ecs_parameters.placement_strategy #=> Array
|
|
879
|
-
# resp.target.ecs_parameters.placement_strategy[0].field #=> String
|
|
880
892
|
# resp.target.ecs_parameters.placement_strategy[0].type #=> String, one of "random", "spread", "binpack"
|
|
881
|
-
# resp.target.ecs_parameters.
|
|
893
|
+
# resp.target.ecs_parameters.placement_strategy[0].field #=> String
|
|
882
894
|
# resp.target.ecs_parameters.propagate_tags #=> String, one of "TASK_DEFINITION"
|
|
883
895
|
# resp.target.ecs_parameters.reference_id #=> String
|
|
884
896
|
# resp.target.ecs_parameters.tags #=> Array
|
|
885
897
|
# resp.target.ecs_parameters.tags[0] #=> Hash
|
|
886
898
|
# resp.target.ecs_parameters.tags[0]["TagKey"] #=> String
|
|
887
|
-
# resp.target.ecs_parameters.task_count #=> Integer
|
|
888
|
-
# resp.target.ecs_parameters.task_definition_arn #=> String
|
|
889
899
|
# resp.target.event_bridge_parameters.detail_type #=> String
|
|
890
900
|
# resp.target.event_bridge_parameters.source #=> String
|
|
891
|
-
# resp.target.
|
|
901
|
+
# resp.target.event_bridge_put_events_v2_parameters.detail_type #=> String
|
|
902
|
+
# resp.target.event_bridge_put_events_v2_parameters.source #=> String
|
|
903
|
+
# resp.target.event_bridge_put_raw_events_parameters.metadata #=> Hash
|
|
904
|
+
# resp.target.event_bridge_put_raw_events_parameters.metadata["EventBridgeMetadataKey"] #=> String
|
|
892
905
|
# resp.target.kinesis_parameters.partition_key #=> String
|
|
893
|
-
# resp.target.retry_policy.maximum_event_age_in_seconds #=> Integer
|
|
894
|
-
# resp.target.retry_policy.maximum_retry_attempts #=> Integer
|
|
895
|
-
# resp.target.role_arn #=> String
|
|
896
906
|
# resp.target.sage_maker_pipeline_parameters.pipeline_parameter_list #=> Array
|
|
897
907
|
# resp.target.sage_maker_pipeline_parameters.pipeline_parameter_list[0].name #=> String
|
|
898
908
|
# resp.target.sage_maker_pipeline_parameters.pipeline_parameter_list[0].value #=> String
|
|
899
909
|
# resp.target.sqs_parameters.message_group_id #=> String
|
|
910
|
+
# resp.flexible_time_window.mode #=> String, one of "OFF", "FLEXIBLE"
|
|
911
|
+
# resp.flexible_time_window.maximum_window_in_minutes #=> Integer
|
|
912
|
+
# resp.action_after_completion #=> String, one of "NONE", "DELETE"
|
|
900
913
|
#
|
|
901
914
|
# @see http://docs.aws.amazon.com/goto/WebAPI/scheduler-2021-06-30/GetSchedule AWS API Documentation
|
|
902
915
|
#
|
|
@@ -915,10 +928,10 @@ module Aws::Scheduler
|
|
|
915
928
|
# @return [Types::GetScheduleGroupOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
916
929
|
#
|
|
917
930
|
# * {Types::GetScheduleGroupOutput#arn #arn} => String
|
|
918
|
-
# * {Types::GetScheduleGroupOutput#creation_date #creation_date} => Time
|
|
919
|
-
# * {Types::GetScheduleGroupOutput#last_modification_date #last_modification_date} => Time
|
|
920
931
|
# * {Types::GetScheduleGroupOutput#name #name} => String
|
|
921
932
|
# * {Types::GetScheduleGroupOutput#state #state} => String
|
|
933
|
+
# * {Types::GetScheduleGroupOutput#creation_date #creation_date} => Time
|
|
934
|
+
# * {Types::GetScheduleGroupOutput#last_modification_date #last_modification_date} => Time
|
|
922
935
|
#
|
|
923
936
|
# @example Request syntax with placeholder values
|
|
924
937
|
#
|
|
@@ -929,10 +942,10 @@ module Aws::Scheduler
|
|
|
929
942
|
# @example Response structure
|
|
930
943
|
#
|
|
931
944
|
# resp.arn #=> String
|
|
932
|
-
# resp.creation_date #=> Time
|
|
933
|
-
# resp.last_modification_date #=> Time
|
|
934
945
|
# resp.name #=> String
|
|
935
946
|
# resp.state #=> String, one of "ACTIVE", "DELETING"
|
|
947
|
+
# resp.creation_date #=> Time
|
|
948
|
+
# resp.last_modification_date #=> Time
|
|
936
949
|
#
|
|
937
950
|
# @see http://docs.aws.amazon.com/goto/WebAPI/scheduler-2021-06-30/GetScheduleGroup AWS API Documentation
|
|
938
951
|
#
|
|
@@ -945,11 +958,6 @@ module Aws::Scheduler
|
|
|
945
958
|
|
|
946
959
|
# Returns a paginated list of your schedule groups.
|
|
947
960
|
#
|
|
948
|
-
# @option params [Integer] :max_results
|
|
949
|
-
# If specified, limits the number of results returned by this operation.
|
|
950
|
-
# The operation also returns a `NextToken` which you can use in a
|
|
951
|
-
# subsequent operation to retrieve the next set of results.
|
|
952
|
-
#
|
|
953
961
|
# @option params [String] :name_prefix
|
|
954
962
|
# The name prefix that you can use to return a filtered list of your
|
|
955
963
|
# schedule groups.
|
|
@@ -958,6 +966,11 @@ module Aws::Scheduler
|
|
|
958
966
|
# The token returned by a previous call to retrieve the next set of
|
|
959
967
|
# results.
|
|
960
968
|
#
|
|
969
|
+
# @option params [Integer] :max_results
|
|
970
|
+
# If specified, limits the number of results returned by this operation.
|
|
971
|
+
# The operation also returns a `NextToken` which you can use in a
|
|
972
|
+
# subsequent operation to retrieve the next set of results.
|
|
973
|
+
#
|
|
961
974
|
# @return [Types::ListScheduleGroupsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
962
975
|
#
|
|
963
976
|
# * {Types::ListScheduleGroupsOutput#next_token #next_token} => String
|
|
@@ -968,9 +981,9 @@ module Aws::Scheduler
|
|
|
968
981
|
# @example Request syntax with placeholder values
|
|
969
982
|
#
|
|
970
983
|
# resp = client.list_schedule_groups({
|
|
971
|
-
# max_results: 1,
|
|
972
984
|
# name_prefix: "ScheduleGroupNamePrefix",
|
|
973
985
|
# next_token: "NextToken",
|
|
986
|
+
# max_results: 1,
|
|
974
987
|
# })
|
|
975
988
|
#
|
|
976
989
|
# @example Response structure
|
|
@@ -978,10 +991,10 @@ module Aws::Scheduler
|
|
|
978
991
|
# resp.next_token #=> String
|
|
979
992
|
# resp.schedule_groups #=> Array
|
|
980
993
|
# resp.schedule_groups[0].arn #=> String
|
|
981
|
-
# resp.schedule_groups[0].creation_date #=> Time
|
|
982
|
-
# resp.schedule_groups[0].last_modification_date #=> Time
|
|
983
994
|
# resp.schedule_groups[0].name #=> String
|
|
984
995
|
# resp.schedule_groups[0].state #=> String, one of "ACTIVE", "DELETING"
|
|
996
|
+
# resp.schedule_groups[0].creation_date #=> Time
|
|
997
|
+
# resp.schedule_groups[0].last_modification_date #=> Time
|
|
985
998
|
#
|
|
986
999
|
# @see http://docs.aws.amazon.com/goto/WebAPI/scheduler-2021-06-30/ListScheduleGroups AWS API Documentation
|
|
987
1000
|
#
|
|
@@ -998,21 +1011,21 @@ module Aws::Scheduler
|
|
|
998
1011
|
# If specified, only lists the schedules whose associated schedule group
|
|
999
1012
|
# matches the given filter.
|
|
1000
1013
|
#
|
|
1001
|
-
# @option params [Integer] :max_results
|
|
1002
|
-
# If specified, limits the number of results returned by this operation.
|
|
1003
|
-
# The operation also returns a `NextToken` which you can use in a
|
|
1004
|
-
# subsequent operation to retrieve the next set of results.
|
|
1005
|
-
#
|
|
1006
1014
|
# @option params [String] :name_prefix
|
|
1007
1015
|
# Schedule name prefix to return the filtered list of resources.
|
|
1008
1016
|
#
|
|
1017
|
+
# @option params [String] :state
|
|
1018
|
+
# If specified, only lists the schedules whose current state matches the
|
|
1019
|
+
# given filter.
|
|
1020
|
+
#
|
|
1009
1021
|
# @option params [String] :next_token
|
|
1010
1022
|
# The token returned by a previous call to retrieve the next set of
|
|
1011
1023
|
# results.
|
|
1012
1024
|
#
|
|
1013
|
-
# @option params [
|
|
1014
|
-
# If specified,
|
|
1015
|
-
#
|
|
1025
|
+
# @option params [Integer] :max_results
|
|
1026
|
+
# If specified, limits the number of results returned by this operation.
|
|
1027
|
+
# The operation also returns a `NextToken` which you can use in a
|
|
1028
|
+
# subsequent operation to retrieve the next set of results.
|
|
1016
1029
|
#
|
|
1017
1030
|
# @return [Types::ListSchedulesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1018
1031
|
#
|
|
@@ -1025,10 +1038,10 @@ module Aws::Scheduler
|
|
|
1025
1038
|
#
|
|
1026
1039
|
# resp = client.list_schedules({
|
|
1027
1040
|
# group_name: "ScheduleGroupName",
|
|
1028
|
-
# max_results: 1,
|
|
1029
1041
|
# name_prefix: "NamePrefix",
|
|
1030
|
-
# next_token: "NextToken",
|
|
1031
1042
|
# state: "ENABLED", # accepts ENABLED, DISABLED
|
|
1043
|
+
# next_token: "NextToken",
|
|
1044
|
+
# max_results: 1,
|
|
1032
1045
|
# })
|
|
1033
1046
|
#
|
|
1034
1047
|
# @example Response structure
|
|
@@ -1036,11 +1049,11 @@ module Aws::Scheduler
|
|
|
1036
1049
|
# resp.next_token #=> String
|
|
1037
1050
|
# resp.schedules #=> Array
|
|
1038
1051
|
# resp.schedules[0].arn #=> String
|
|
1039
|
-
# resp.schedules[0].creation_date #=> Time
|
|
1040
|
-
# resp.schedules[0].group_name #=> String
|
|
1041
|
-
# resp.schedules[0].last_modification_date #=> Time
|
|
1042
1052
|
# resp.schedules[0].name #=> String
|
|
1053
|
+
# resp.schedules[0].group_name #=> String
|
|
1043
1054
|
# resp.schedules[0].state #=> String, one of "ENABLED", "DISABLED"
|
|
1055
|
+
# resp.schedules[0].creation_date #=> Time
|
|
1056
|
+
# resp.schedules[0].last_modification_date #=> Time
|
|
1044
1057
|
# resp.schedules[0].target.arn #=> String
|
|
1045
1058
|
#
|
|
1046
1059
|
# @see http://docs.aws.amazon.com/goto/WebAPI/scheduler-2021-06-30/ListSchedules AWS API Documentation
|
|
@@ -1156,31 +1169,8 @@ module Aws::Scheduler
|
|
|
1156
1169
|
# `GetSchedule` API operation and make a note of all optional parameters
|
|
1157
1170
|
# for your `UpdateSchedule` call.
|
|
1158
1171
|
#
|
|
1159
|
-
# @option params [String] :
|
|
1160
|
-
#
|
|
1161
|
-
# schedule after the schedule completes invoking the target.
|
|
1162
|
-
#
|
|
1163
|
-
# @option params [String] :client_token
|
|
1164
|
-
# Unique, case-sensitive identifier you provide to ensure the
|
|
1165
|
-
# idempotency of the request. If you do not specify a client token,
|
|
1166
|
-
# EventBridge Scheduler uses a randomly generated token for the request
|
|
1167
|
-
# to ensure idempotency.
|
|
1168
|
-
#
|
|
1169
|
-
# **A suitable default value is auto-generated.** You should normally
|
|
1170
|
-
# not need to pass this option.**
|
|
1171
|
-
#
|
|
1172
|
-
# @option params [String] :description
|
|
1173
|
-
# The description you specify for the schedule.
|
|
1174
|
-
#
|
|
1175
|
-
# @option params [Time,DateTime,Date,Integer,String] :end_date
|
|
1176
|
-
# The date, in UTC, before which the schedule can invoke its target.
|
|
1177
|
-
# Depending on the schedule's recurrence expression, invocations might
|
|
1178
|
-
# stop on, or before, the `EndDate` you specify. EventBridge Scheduler
|
|
1179
|
-
# ignores `EndDate` for one-time schedules.
|
|
1180
|
-
#
|
|
1181
|
-
# @option params [required, Types::FlexibleTimeWindow] :flexible_time_window
|
|
1182
|
-
# Allows you to configure a time window during which EventBridge
|
|
1183
|
-
# Scheduler invokes the schedule.
|
|
1172
|
+
# @option params [required, String] :name
|
|
1173
|
+
# The name of the schedule that you are updating.
|
|
1184
1174
|
#
|
|
1185
1175
|
# @option params [String] :group_name
|
|
1186
1176
|
# The name of the schedule group with which the schedule is associated.
|
|
@@ -1188,13 +1178,6 @@ module Aws::Scheduler
|
|
|
1188
1178
|
# the schedule you want to update. If you omit this value, EventBridge
|
|
1189
1179
|
# Scheduler assumes the group is associated to the default group.
|
|
1190
1180
|
#
|
|
1191
|
-
# @option params [String] :kms_key_arn
|
|
1192
|
-
# The ARN for the customer managed KMS key that that you want
|
|
1193
|
-
# EventBridge Scheduler to use to encrypt and decrypt your data.
|
|
1194
|
-
#
|
|
1195
|
-
# @option params [required, String] :name
|
|
1196
|
-
# The name of the schedule that you are updating.
|
|
1197
|
-
#
|
|
1198
1181
|
# @option params [required, String] :schedule_expression
|
|
1199
1182
|
# The expression that defines when the schedule runs. The following
|
|
1200
1183
|
# formats are supported.
|
|
@@ -1228,22 +1211,52 @@ module Aws::Scheduler
|
|
|
1228
1211
|
#
|
|
1229
1212
|
# [1]: https://docs.aws.amazon.com/scheduler/latest/UserGuide/schedule-types.html
|
|
1230
1213
|
#
|
|
1231
|
-
# @option params [String] :schedule_expression_timezone
|
|
1232
|
-
# The timezone in which the scheduling expression is evaluated.
|
|
1233
|
-
#
|
|
1234
1214
|
# @option params [Time,DateTime,Date,Integer,String] :start_date
|
|
1235
1215
|
# The date, in UTC, after which the schedule can begin invoking its
|
|
1236
1216
|
# target. Depending on the schedule's recurrence expression,
|
|
1237
1217
|
# invocations might occur on, or after, the `StartDate` you specify.
|
|
1238
1218
|
# EventBridge Scheduler ignores `StartDate` for one-time schedules.
|
|
1239
1219
|
#
|
|
1220
|
+
# @option params [Time,DateTime,Date,Integer,String] :end_date
|
|
1221
|
+
# The date, in UTC, before which the schedule can invoke its target.
|
|
1222
|
+
# Depending on the schedule's recurrence expression, invocations might
|
|
1223
|
+
# stop on, or before, the `EndDate` you specify. EventBridge Scheduler
|
|
1224
|
+
# ignores `EndDate` for one-time schedules.
|
|
1225
|
+
#
|
|
1226
|
+
# @option params [String] :description
|
|
1227
|
+
# The description you specify for the schedule.
|
|
1228
|
+
#
|
|
1229
|
+
# @option params [String] :schedule_expression_timezone
|
|
1230
|
+
# The timezone in which the scheduling expression is evaluated.
|
|
1231
|
+
#
|
|
1240
1232
|
# @option params [String] :state
|
|
1241
1233
|
# Specifies whether the schedule is enabled or disabled.
|
|
1242
1234
|
#
|
|
1235
|
+
# @option params [String] :kms_key_arn
|
|
1236
|
+
# The ARN for the customer managed KMS key that that you want
|
|
1237
|
+
# EventBridge Scheduler to use to encrypt and decrypt your data.
|
|
1238
|
+
#
|
|
1243
1239
|
# @option params [required, Types::Target] :target
|
|
1244
1240
|
# The schedule target. You can use this operation to change the target
|
|
1245
1241
|
# that your schedule invokes.
|
|
1246
1242
|
#
|
|
1243
|
+
# @option params [required, Types::FlexibleTimeWindow] :flexible_time_window
|
|
1244
|
+
# Allows you to configure a time window during which EventBridge
|
|
1245
|
+
# Scheduler invokes the schedule.
|
|
1246
|
+
#
|
|
1247
|
+
# @option params [String] :client_token
|
|
1248
|
+
# Unique, case-sensitive identifier you provide to ensure the
|
|
1249
|
+
# idempotency of the request. If you do not specify a client token,
|
|
1250
|
+
# EventBridge Scheduler uses a randomly generated token for the request
|
|
1251
|
+
# to ensure idempotency.
|
|
1252
|
+
#
|
|
1253
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
1254
|
+
# not need to pass this option.**
|
|
1255
|
+
#
|
|
1256
|
+
# @option params [String] :action_after_completion
|
|
1257
|
+
# Specifies the action that EventBridge Scheduler applies to the
|
|
1258
|
+
# schedule after the schedule completes invoking the target.
|
|
1259
|
+
#
|
|
1247
1260
|
# @return [Types::UpdateScheduleOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1248
1261
|
#
|
|
1249
1262
|
# * {Types::UpdateScheduleOutput#schedule_arn #schedule_arn} => String
|
|
@@ -1251,58 +1264,60 @@ module Aws::Scheduler
|
|
|
1251
1264
|
# @example Request syntax with placeholder values
|
|
1252
1265
|
#
|
|
1253
1266
|
# resp = client.update_schedule({
|
|
1254
|
-
# action_after_completion: "NONE", # accepts NONE, DELETE
|
|
1255
|
-
# client_token: "ClientToken",
|
|
1256
|
-
# description: "Description",
|
|
1257
|
-
# end_date: Time.now,
|
|
1258
|
-
# flexible_time_window: { # required
|
|
1259
|
-
# maximum_window_in_minutes: 1,
|
|
1260
|
-
# mode: "OFF", # required, accepts OFF, FLEXIBLE
|
|
1261
|
-
# },
|
|
1262
|
-
# group_name: "ScheduleGroupName",
|
|
1263
|
-
# kms_key_arn: "KmsKeyArn",
|
|
1264
1267
|
# name: "Name", # required
|
|
1268
|
+
# group_name: "ScheduleGroupName",
|
|
1265
1269
|
# schedule_expression: "ScheduleExpression", # required
|
|
1266
|
-
# schedule_expression_timezone: "ScheduleExpressionTimezone",
|
|
1267
1270
|
# start_date: Time.now,
|
|
1271
|
+
# end_date: Time.now,
|
|
1272
|
+
# description: "Description",
|
|
1273
|
+
# schedule_expression_timezone: "ScheduleExpressionTimezone",
|
|
1268
1274
|
# state: "ENABLED", # accepts ENABLED, DISABLED
|
|
1275
|
+
# kms_key_arn: "KmsKeyArn",
|
|
1269
1276
|
# target: { # required
|
|
1270
1277
|
# arn: "TargetArn", # required
|
|
1278
|
+
# role_arn: "RoleArn", # required
|
|
1271
1279
|
# dead_letter_config: {
|
|
1272
1280
|
# arn: "DeadLetterConfigArnString",
|
|
1273
1281
|
# },
|
|
1282
|
+
# retry_policy: {
|
|
1283
|
+
# maximum_event_age_in_seconds: 1,
|
|
1284
|
+
# maximum_retry_attempts: 1,
|
|
1285
|
+
# },
|
|
1286
|
+
# input: "TargetInput",
|
|
1274
1287
|
# ecs_parameters: {
|
|
1288
|
+
# task_definition_arn: "TaskDefinitionArn", # required
|
|
1289
|
+
# task_count: 1,
|
|
1290
|
+
# launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
|
|
1291
|
+
# network_configuration: {
|
|
1292
|
+
# awsvpc_configuration: {
|
|
1293
|
+
# subnets: ["Subnet"], # required
|
|
1294
|
+
# security_groups: ["SecurityGroup"],
|
|
1295
|
+
# assign_public_ip: "ENABLED", # accepts ENABLED, DISABLED
|
|
1296
|
+
# },
|
|
1297
|
+
# },
|
|
1298
|
+
# platform_version: "PlatformVersion",
|
|
1299
|
+
# group: "Group",
|
|
1275
1300
|
# capacity_provider_strategy: [
|
|
1276
1301
|
# {
|
|
1277
|
-
# base: 1,
|
|
1278
1302
|
# capacity_provider: "CapacityProvider", # required
|
|
1279
1303
|
# weight: 1,
|
|
1304
|
+
# base: 1,
|
|
1280
1305
|
# },
|
|
1281
1306
|
# ],
|
|
1282
1307
|
# enable_ecs_managed_tags: false,
|
|
1283
1308
|
# enable_execute_command: false,
|
|
1284
|
-
# group: "Group",
|
|
1285
|
-
# launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
|
|
1286
|
-
# network_configuration: {
|
|
1287
|
-
# awsvpc_configuration: {
|
|
1288
|
-
# assign_public_ip: "ENABLED", # accepts ENABLED, DISABLED
|
|
1289
|
-
# security_groups: ["SecurityGroup"],
|
|
1290
|
-
# subnets: ["Subnet"], # required
|
|
1291
|
-
# },
|
|
1292
|
-
# },
|
|
1293
1309
|
# placement_constraints: [
|
|
1294
1310
|
# {
|
|
1295
|
-
# expression: "PlacementConstraintExpression",
|
|
1296
1311
|
# type: "distinctInstance", # accepts distinctInstance, memberOf
|
|
1312
|
+
# expression: "PlacementConstraintExpression",
|
|
1297
1313
|
# },
|
|
1298
1314
|
# ],
|
|
1299
1315
|
# placement_strategy: [
|
|
1300
1316
|
# {
|
|
1301
|
-
# field: "PlacementStrategyField",
|
|
1302
1317
|
# type: "random", # accepts random, spread, binpack
|
|
1318
|
+
# field: "PlacementStrategyField",
|
|
1303
1319
|
# },
|
|
1304
1320
|
# ],
|
|
1305
|
-
# platform_version: "PlatformVersion",
|
|
1306
1321
|
# propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION
|
|
1307
1322
|
# reference_id: "ReferenceId",
|
|
1308
1323
|
# tags: [
|
|
@@ -1310,22 +1325,23 @@ module Aws::Scheduler
|
|
|
1310
1325
|
# "TagKey" => "TagValue",
|
|
1311
1326
|
# },
|
|
1312
1327
|
# ],
|
|
1313
|
-
# task_count: 1,
|
|
1314
|
-
# task_definition_arn: "TaskDefinitionArn", # required
|
|
1315
1328
|
# },
|
|
1316
1329
|
# event_bridge_parameters: {
|
|
1317
1330
|
# detail_type: "DetailType", # required
|
|
1318
1331
|
# source: "Source", # required
|
|
1319
1332
|
# },
|
|
1320
|
-
#
|
|
1333
|
+
# event_bridge_put_events_v2_parameters: {
|
|
1334
|
+
# detail_type: "DetailType", # required
|
|
1335
|
+
# source: "Source", # required
|
|
1336
|
+
# },
|
|
1337
|
+
# event_bridge_put_raw_events_parameters: {
|
|
1338
|
+
# metadata: {
|
|
1339
|
+
# "EventBridgeMetadataKey" => "EventBridgeMetadataValue",
|
|
1340
|
+
# },
|
|
1341
|
+
# },
|
|
1321
1342
|
# kinesis_parameters: {
|
|
1322
1343
|
# partition_key: "TargetPartitionKey", # required
|
|
1323
1344
|
# },
|
|
1324
|
-
# retry_policy: {
|
|
1325
|
-
# maximum_event_age_in_seconds: 1,
|
|
1326
|
-
# maximum_retry_attempts: 1,
|
|
1327
|
-
# },
|
|
1328
|
-
# role_arn: "RoleArn", # required
|
|
1329
1345
|
# sage_maker_pipeline_parameters: {
|
|
1330
1346
|
# pipeline_parameter_list: [
|
|
1331
1347
|
# {
|
|
@@ -1338,6 +1354,12 @@ module Aws::Scheduler
|
|
|
1338
1354
|
# message_group_id: "MessageGroupId",
|
|
1339
1355
|
# },
|
|
1340
1356
|
# },
|
|
1357
|
+
# flexible_time_window: { # required
|
|
1358
|
+
# mode: "OFF", # required, accepts OFF, FLEXIBLE
|
|
1359
|
+
# maximum_window_in_minutes: 1,
|
|
1360
|
+
# },
|
|
1361
|
+
# client_token: "ClientToken",
|
|
1362
|
+
# action_after_completion: "NONE", # accepts NONE, DELETE
|
|
1341
1363
|
# })
|
|
1342
1364
|
#
|
|
1343
1365
|
# @example Response structure
|
|
@@ -1371,7 +1393,7 @@ module Aws::Scheduler
|
|
|
1371
1393
|
tracer: tracer
|
|
1372
1394
|
)
|
|
1373
1395
|
context[:gem_name] = 'aws-sdk-scheduler'
|
|
1374
|
-
context[:gem_version] = '1.
|
|
1396
|
+
context[:gem_version] = '1.63.0'
|
|
1375
1397
|
Seahorse::Client::Request.new(handlers, context)
|
|
1376
1398
|
end
|
|
1377
1399
|
|