aws-sdk-swf 1.44.0 → 1.46.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: 0b8e8740064c68b338c4c6229b8a9e25b60a546649aa4a4da512b706c7b446f0
4
- data.tar.gz: 2762942891021c16d116e9f4574ce1add5449b57137448cc95ad08356383e2ee
3
+ metadata.gz: 8914a7d555defc48121e9f0a3a27890237cdee3ea48126f87e15426283e41cfe
4
+ data.tar.gz: 4f18162dcbbce9e1133f5a8b4a2e4d46694ca90f946711d946dc7f6fb1c5856c
5
5
  SHA512:
6
- metadata.gz: 609727adee763aa929e813e2d0d96aedc65faccb8f07c529a178e5c588a685e713f3bd323de9c34c54e21a6f0f3ffc1b711621842517500b9dab3a314f3dde6b
7
- data.tar.gz: f2a8df77dd2add42ea668aa5b382e8b3dc560a5e607b331e77a6812a26820246815791f859abad5e9fe7a857c30f79ff79f77fe37321928b547ad483be3a86b5
6
+ metadata.gz: c8ce89c8a1bce80443b6b15086d2a2c9ee1e9cd283a6d3e8f02305ea13cc9e0ae6c0b6f309bc6743301dbf54a790601485885ce29e5c9368f8eb55e2449c3c61
7
+ data.tar.gz: 4cda399afda16d7dbd62135060ddda26dada05e2eb9023074f85a2fc15b25b759d7ebab52fbcca0cd310381f50b1a4265e2a634aaabe0fd83db43ef87f584180
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
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
+
9
+ 1.45.0 (2023-07-11)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.44.0 (2023-07-06)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.44.0
1
+ 1.46.0
@@ -218,6 +218,10 @@ module Aws::SWF
218
218
  # @option options [Boolean] :endpoint_discovery (false)
219
219
  # When set to `true`, endpoint discovery will be enabled for operations when available.
220
220
  #
221
+ # @option options [Boolean] :ignore_configured_endpoint_urls
222
+ # Setting to true disables use of endpoint URLs provided via environment
223
+ # variables and the shared configuration file.
224
+ #
221
225
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
222
226
  # The log formatter.
223
227
  #
@@ -1417,12 +1421,15 @@ module Aws::SWF
1417
1421
  # resp.events[0].decision_task_scheduled_event_attributes.task_list.name #=> String
1418
1422
  # resp.events[0].decision_task_scheduled_event_attributes.task_priority #=> String
1419
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
1420
1425
  # resp.events[0].decision_task_started_event_attributes.identity #=> String
1421
1426
  # resp.events[0].decision_task_started_event_attributes.scheduled_event_id #=> Integer
1422
1427
  # resp.events[0].decision_task_completed_event_attributes.execution_context #=> String
1423
1428
  # resp.events[0].decision_task_completed_event_attributes.scheduled_event_id #=> Integer
1424
1429
  # resp.events[0].decision_task_completed_event_attributes.started_event_id #=> Integer
1425
- # 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"
1426
1433
  # resp.events[0].decision_task_timed_out_event_attributes.scheduled_event_id #=> Integer
1427
1434
  # resp.events[0].decision_task_timed_out_event_attributes.started_event_id #=> Integer
1428
1435
  # resp.events[0].activity_task_scheduled_event_attributes.activity_type.name #=> String
@@ -2563,12 +2570,15 @@ module Aws::SWF
2563
2570
  # resp.events[0].decision_task_scheduled_event_attributes.task_list.name #=> String
2564
2571
  # resp.events[0].decision_task_scheduled_event_attributes.task_priority #=> String
2565
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
2566
2574
  # resp.events[0].decision_task_started_event_attributes.identity #=> String
2567
2575
  # resp.events[0].decision_task_started_event_attributes.scheduled_event_id #=> Integer
2568
2576
  # resp.events[0].decision_task_completed_event_attributes.execution_context #=> String
2569
2577
  # resp.events[0].decision_task_completed_event_attributes.scheduled_event_id #=> Integer
2570
2578
  # resp.events[0].decision_task_completed_event_attributes.started_event_id #=> Integer
2571
- # 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"
2572
2582
  # resp.events[0].decision_task_timed_out_event_attributes.scheduled_event_id #=> Integer
2573
2583
  # resp.events[0].decision_task_timed_out_event_attributes.started_event_id #=> Integer
2574
2584
  # resp.events[0].activity_task_scheduled_event_attributes.activity_type.name #=> String
@@ -3574,6 +3584,25 @@ module Aws::SWF
3574
3584
  # @option params [String] :execution_context
3575
3585
  # User defined context to add to workflow execution.
3576
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
+ #
3577
3606
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3578
3607
  #
3579
3608
  # @example Request syntax with placeholder values
@@ -3678,6 +3707,10 @@ module Aws::SWF
3678
3707
  # },
3679
3708
  # ],
3680
3709
  # execution_context: "Data",
3710
+ # task_list: {
3711
+ # name: "Name", # required
3712
+ # },
3713
+ # task_list_schedule_to_start_timeout: "DurationInSecondsOptional",
3681
3714
  # })
3682
3715
  #
3683
3716
  # @overload respond_decision_task_completed(params = {})
@@ -4349,7 +4382,7 @@ module Aws::SWF
4349
4382
  params: params,
4350
4383
  config: config)
4351
4384
  context[:gem_name] = 'aws-sdk-swf'
4352
- context[:gem_version] = '1.44.0'
4385
+ context[:gem_version] = '1.46.0'
4353
4386
  Seahorse::Client::Request.new(handlers, context)
4354
4387
  end
4355
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.44.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.44.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-06 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