aws-sdk-swf 1.45.0 → 1.46.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 96766e4b13675e41dc78b982a72893bba6e8ad8d6289913040fcb0abec0e327c
4
- data.tar.gz: 41e023696d65970705cf3617a630cde28c498922f0ea8f1d9d62564d8e2d7a20
3
+ metadata.gz: 8914a7d555defc48121e9f0a3a27890237cdee3ea48126f87e15426283e41cfe
4
+ data.tar.gz: 4f18162dcbbce9e1133f5a8b4a2e4d46694ca90f946711d946dc7f6fb1c5856c
5
5
  SHA512:
6
- metadata.gz: b4d9e44c49811fb798465bf814836a7f113032aa2a4d3f13fe9fb2304f0b471864da3421049dec63cdf5002380e852e94497f51079c50507e93df0cc7ccb8074
7
- data.tar.gz: e339c04159d279995579e272ca9c85dd22ab63511e5d2a2b50175b93a0e9848c96a4154d6abb945d2d85b2775a1948feadc38270e3dd39aedb849d1492c71b16
6
+ metadata.gz: c8ce89c8a1bce80443b6b15086d2a2c9ee1e9cd283a6d3e8f02305ea13cc9e0ae6c0b6f309bc6743301dbf54a790601485885ce29e5c9368f8eb55e2449c3c61
7
+ data.tar.gz: 4cda399afda16d7dbd62135060ddda26dada05e2eb9023074f85a2fc15b25b759d7ebab52fbcca0cd310381f50b1a4265e2a634aaabe0fd83db43ef87f584180
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.46.0 (2023-08-11)
5
+ ------------------
6
+
7
+ * Feature - This release adds new API parameters to override workflow task list for workflow executions.
8
+
4
9
  1.45.0 (2023-07-11)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.45.0
1
+ 1.46.0
@@ -1421,12 +1421,15 @@ module Aws::SWF
1421
1421
  # resp.events[0].decision_task_scheduled_event_attributes.task_list.name #=> String
1422
1422
  # resp.events[0].decision_task_scheduled_event_attributes.task_priority #=> String
1423
1423
  # resp.events[0].decision_task_scheduled_event_attributes.start_to_close_timeout #=> String
1424
+ # resp.events[0].decision_task_scheduled_event_attributes.schedule_to_start_timeout #=> String
1424
1425
  # resp.events[0].decision_task_started_event_attributes.identity #=> String
1425
1426
  # resp.events[0].decision_task_started_event_attributes.scheduled_event_id #=> Integer
1426
1427
  # resp.events[0].decision_task_completed_event_attributes.execution_context #=> String
1427
1428
  # resp.events[0].decision_task_completed_event_attributes.scheduled_event_id #=> Integer
1428
1429
  # resp.events[0].decision_task_completed_event_attributes.started_event_id #=> Integer
1429
- # resp.events[0].decision_task_timed_out_event_attributes.timeout_type #=> String, one of "START_TO_CLOSE"
1430
+ # resp.events[0].decision_task_completed_event_attributes.task_list.name #=> String
1431
+ # resp.events[0].decision_task_completed_event_attributes.task_list_schedule_to_start_timeout #=> String
1432
+ # resp.events[0].decision_task_timed_out_event_attributes.timeout_type #=> String, one of "START_TO_CLOSE", "SCHEDULE_TO_START"
1430
1433
  # resp.events[0].decision_task_timed_out_event_attributes.scheduled_event_id #=> Integer
1431
1434
  # resp.events[0].decision_task_timed_out_event_attributes.started_event_id #=> Integer
1432
1435
  # resp.events[0].activity_task_scheduled_event_attributes.activity_type.name #=> String
@@ -2567,12 +2570,15 @@ module Aws::SWF
2567
2570
  # resp.events[0].decision_task_scheduled_event_attributes.task_list.name #=> String
2568
2571
  # resp.events[0].decision_task_scheduled_event_attributes.task_priority #=> String
2569
2572
  # resp.events[0].decision_task_scheduled_event_attributes.start_to_close_timeout #=> String
2573
+ # resp.events[0].decision_task_scheduled_event_attributes.schedule_to_start_timeout #=> String
2570
2574
  # resp.events[0].decision_task_started_event_attributes.identity #=> String
2571
2575
  # resp.events[0].decision_task_started_event_attributes.scheduled_event_id #=> Integer
2572
2576
  # resp.events[0].decision_task_completed_event_attributes.execution_context #=> String
2573
2577
  # resp.events[0].decision_task_completed_event_attributes.scheduled_event_id #=> Integer
2574
2578
  # resp.events[0].decision_task_completed_event_attributes.started_event_id #=> Integer
2575
- # resp.events[0].decision_task_timed_out_event_attributes.timeout_type #=> String, one of "START_TO_CLOSE"
2579
+ # resp.events[0].decision_task_completed_event_attributes.task_list.name #=> String
2580
+ # resp.events[0].decision_task_completed_event_attributes.task_list_schedule_to_start_timeout #=> String
2581
+ # resp.events[0].decision_task_timed_out_event_attributes.timeout_type #=> String, one of "START_TO_CLOSE", "SCHEDULE_TO_START"
2576
2582
  # resp.events[0].decision_task_timed_out_event_attributes.scheduled_event_id #=> Integer
2577
2583
  # resp.events[0].decision_task_timed_out_event_attributes.started_event_id #=> Integer
2578
2584
  # resp.events[0].activity_task_scheduled_event_attributes.activity_type.name #=> String
@@ -3578,6 +3584,25 @@ module Aws::SWF
3578
3584
  # @option params [String] :execution_context
3579
3585
  # User defined context to add to workflow execution.
3580
3586
  #
3587
+ # @option params [Types::TaskList] :task_list
3588
+ # The task list to use for the future decision tasks of this workflow
3589
+ # execution. This list overrides the original task list you specified
3590
+ # while starting the workflow execution.
3591
+ #
3592
+ # @option params [String] :task_list_schedule_to_start_timeout
3593
+ # Specifies a timeout (in seconds) for the task list override. When this
3594
+ # parameter is missing, the task list override is permanent. This
3595
+ # parameter makes it possible to temporarily override the task list. If
3596
+ # a decision task scheduled on the override task list is not started
3597
+ # within the timeout, the decision task will time out. Amazon SWF will
3598
+ # revert the override and schedule a new decision task to the original
3599
+ # task list.
3600
+ #
3601
+ # If a decision task scheduled on the override task list is started
3602
+ # within the timeout, but not completed within the start-to-close
3603
+ # timeout, Amazon SWF will also revert the override and schedule a new
3604
+ # decision task to the original task list.
3605
+ #
3581
3606
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3582
3607
  #
3583
3608
  # @example Request syntax with placeholder values
@@ -3682,6 +3707,10 @@ module Aws::SWF
3682
3707
  # },
3683
3708
  # ],
3684
3709
  # execution_context: "Data",
3710
+ # task_list: {
3711
+ # name: "Name", # required
3712
+ # },
3713
+ # task_list_schedule_to_start_timeout: "DurationInSecondsOptional",
3685
3714
  # })
3686
3715
  #
3687
3716
  # @overload respond_decision_task_completed(params = {})
@@ -4353,7 +4382,7 @@ module Aws::SWF
4353
4382
  params: params,
4354
4383
  config: config)
4355
4384
  context[:gem_name] = 'aws-sdk-swf'
4356
- context[:gem_version] = '1.45.0'
4385
+ context[:gem_version] = '1.46.0'
4357
4386
  Seahorse::Client::Request.new(handlers, context)
4358
4387
  end
4359
4388
 
@@ -459,11 +459,14 @@ module Aws::SWF
459
459
  DecisionTaskCompletedEventAttributes.add_member(:execution_context, Shapes::ShapeRef.new(shape: Data, location_name: "executionContext"))
460
460
  DecisionTaskCompletedEventAttributes.add_member(:scheduled_event_id, Shapes::ShapeRef.new(shape: EventId, required: true, location_name: "scheduledEventId"))
461
461
  DecisionTaskCompletedEventAttributes.add_member(:started_event_id, Shapes::ShapeRef.new(shape: EventId, required: true, location_name: "startedEventId"))
462
+ DecisionTaskCompletedEventAttributes.add_member(:task_list, Shapes::ShapeRef.new(shape: TaskList, location_name: "taskList"))
463
+ DecisionTaskCompletedEventAttributes.add_member(:task_list_schedule_to_start_timeout, Shapes::ShapeRef.new(shape: DurationInSecondsOptional, location_name: "taskListScheduleToStartTimeout"))
462
464
  DecisionTaskCompletedEventAttributes.struct_class = Types::DecisionTaskCompletedEventAttributes
463
465
 
464
466
  DecisionTaskScheduledEventAttributes.add_member(:task_list, Shapes::ShapeRef.new(shape: TaskList, required: true, location_name: "taskList"))
465
467
  DecisionTaskScheduledEventAttributes.add_member(:task_priority, Shapes::ShapeRef.new(shape: TaskPriority, location_name: "taskPriority"))
466
468
  DecisionTaskScheduledEventAttributes.add_member(:start_to_close_timeout, Shapes::ShapeRef.new(shape: DurationInSecondsOptional, location_name: "startToCloseTimeout"))
469
+ DecisionTaskScheduledEventAttributes.add_member(:schedule_to_start_timeout, Shapes::ShapeRef.new(shape: DurationInSecondsOptional, location_name: "scheduleToStartTimeout"))
467
470
  DecisionTaskScheduledEventAttributes.struct_class = Types::DecisionTaskScheduledEventAttributes
468
471
 
469
472
  DecisionTaskStartedEventAttributes.add_member(:identity, Shapes::ShapeRef.new(shape: Identity, location_name: "identity"))
@@ -826,6 +829,8 @@ module Aws::SWF
826
829
  RespondDecisionTaskCompletedInput.add_member(:task_token, Shapes::ShapeRef.new(shape: TaskToken, required: true, location_name: "taskToken"))
827
830
  RespondDecisionTaskCompletedInput.add_member(:decisions, Shapes::ShapeRef.new(shape: DecisionList, location_name: "decisions"))
828
831
  RespondDecisionTaskCompletedInput.add_member(:execution_context, Shapes::ShapeRef.new(shape: Data, location_name: "executionContext"))
832
+ RespondDecisionTaskCompletedInput.add_member(:task_list, Shapes::ShapeRef.new(shape: TaskList, location_name: "taskList"))
833
+ RespondDecisionTaskCompletedInput.add_member(:task_list_schedule_to_start_timeout, Shapes::ShapeRef.new(shape: DurationInSecondsOptional, location_name: "taskListScheduleToStartTimeout"))
829
834
  RespondDecisionTaskCompletedInput.struct_class = Types::RespondDecisionTaskCompletedInput
830
835
 
831
836
  Run.add_member(:run_id, Shapes::ShapeRef.new(shape: WorkflowRunId, location_name: "runId"))
@@ -1657,10 +1657,21 @@ module Aws::SWF
1657
1657
  # to this event.
1658
1658
  # @return [Integer]
1659
1659
  #
1660
+ # @!attribute [rw] task_list
1661
+ # Represents a task list.
1662
+ # @return [Types::TaskList]
1663
+ #
1664
+ # @!attribute [rw] task_list_schedule_to_start_timeout
1665
+ # The maximum amount of time the decision task can wait to be assigned
1666
+ # to a worker.
1667
+ # @return [String]
1668
+ #
1660
1669
  class DecisionTaskCompletedEventAttributes < Struct.new(
1661
1670
  :execution_context,
1662
1671
  :scheduled_event_id,
1663
- :started_event_id)
1672
+ :started_event_id,
1673
+ :task_list,
1674
+ :task_list_schedule_to_start_timeout)
1664
1675
  SENSITIVE = []
1665
1676
  include Aws::Structure
1666
1677
  end
@@ -1693,10 +1704,16 @@ module Aws::SWF
1693
1704
  # equal to `0`. You can use `NONE` to specify unlimited duration.
1694
1705
  # @return [String]
1695
1706
  #
1707
+ # @!attribute [rw] schedule_to_start_timeout
1708
+ # The maximum amount of time the decision task can wait to be assigned
1709
+ # to a worker.
1710
+ # @return [String]
1711
+ #
1696
1712
  class DecisionTaskScheduledEventAttributes < Struct.new(
1697
1713
  :task_list,
1698
1714
  :task_priority,
1699
- :start_to_close_timeout)
1715
+ :start_to_close_timeout,
1716
+ :schedule_to_start_timeout)
1700
1717
  SENSITIVE = []
1701
1718
  include Aws::Structure
1702
1719
  end
@@ -4151,10 +4168,33 @@ module Aws::SWF
4151
4168
  # User defined context to add to workflow execution.
4152
4169
  # @return [String]
4153
4170
  #
4171
+ # @!attribute [rw] task_list
4172
+ # The task list to use for the future decision tasks of this workflow
4173
+ # execution. This list overrides the original task list you specified
4174
+ # while starting the workflow execution.
4175
+ # @return [Types::TaskList]
4176
+ #
4177
+ # @!attribute [rw] task_list_schedule_to_start_timeout
4178
+ # Specifies a timeout (in seconds) for the task list override. When
4179
+ # this parameter is missing, the task list override is permanent. This
4180
+ # parameter makes it possible to temporarily override the task list.
4181
+ # If a decision task scheduled on the override task list is not
4182
+ # started within the timeout, the decision task will time out. Amazon
4183
+ # SWF will revert the override and schedule a new decision task to the
4184
+ # original task list.
4185
+ #
4186
+ # If a decision task scheduled on the override task list is started
4187
+ # within the timeout, but not completed within the start-to-close
4188
+ # timeout, Amazon SWF will also revert the override and schedule a new
4189
+ # decision task to the original task list.
4190
+ # @return [String]
4191
+ #
4154
4192
  class RespondDecisionTaskCompletedInput < Struct.new(
4155
4193
  :task_token,
4156
4194
  :decisions,
4157
- :execution_context)
4195
+ :execution_context,
4196
+ :task_list,
4197
+ :task_list_schedule_to_start_timeout)
4158
4198
  SENSITIVE = []
4159
4199
  include Aws::Structure
4160
4200
  end
data/lib/aws-sdk-swf.rb CHANGED
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-swf/customizations'
52
52
  # @!group service
53
53
  module Aws::SWF
54
54
 
55
- GEM_VERSION = '1.45.0'
55
+ GEM_VERSION = '1.46.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-swf
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.45.0
4
+ version: 1.46.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-11 00:00:00.000000000 Z
11
+ date: 2023-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core