aws-sdk-swf 1.45.0 → 1.47.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 96766e4b13675e41dc78b982a72893bba6e8ad8d6289913040fcb0abec0e327c
4
- data.tar.gz: 41e023696d65970705cf3617a630cde28c498922f0ea8f1d9d62564d8e2d7a20
3
+ metadata.gz: b3f3ba941dc421f3fe0157729d0162f6a4f8e7cb934cc61b5d457db7cb3f4ca0
4
+ data.tar.gz: 7be6802bf4cee46ea667c7a69f3f7ac0aa89607b94387d6cad02673f64ab5164
5
5
  SHA512:
6
- metadata.gz: b4d9e44c49811fb798465bf814836a7f113032aa2a4d3f13fe9fb2304f0b471864da3421049dec63cdf5002380e852e94497f51079c50507e93df0cc7ccb8074
7
- data.tar.gz: e339c04159d279995579e272ca9c85dd22ab63511e5d2a2b50175b93a0e9848c96a4154d6abb945d2d85b2775a1948feadc38270e3dd39aedb849d1492c71b16
6
+ metadata.gz: ab33ee93db16657fc8cc61bf6e203e6261a00969df35fd78047d82dcf76cbfa6b9d4d679c121e1d4da1ad46502996740690207816720cd30544f9e7eb49eb0cf
7
+ data.tar.gz: 5ba5b833266593e61fa47d3c7c40cab1a6ab1b36f9c8efaf7c7e8a13cd52364040e0147987b975ca4e0b37b68810ea17a60eeb3e104ed51b650f62a806797f38
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.47.0 (2023-09-27)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.46.0 (2023-08-11)
10
+ ------------------
11
+
12
+ * Feature - This release adds new API parameters to override workflow task list for workflow executions.
13
+
4
14
  1.45.0 (2023-07-11)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.45.0
1
+ 1.47.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.47.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.47.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.47.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-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.177.0
22
+ version: 3.184.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.177.0
32
+ version: 3.184.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement