aws-sdk-states 1.32.0 → 1.33.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: 7875b8b51a96fcac35ba59b8a5b0817fc561e94b86b46d3cff0e4ae157aa0319
4
- data.tar.gz: 2614b3cf6990694db500d2d522e42bcac16b531a36c8a5a29cefe407fccaba2f
3
+ metadata.gz: 481869863fe20140052bdfe49eca82786110d3581656bdd85d14a058fe787813
4
+ data.tar.gz: 011f2b599887f72c8fe81b8640a13c9af3758798058954b928ffbd3fc27255e6
5
5
  SHA512:
6
- metadata.gz: cb4ed6995920f93c23ff61ef60184f81f3fc5047b4e7e74972b0d8360a44bff38e72fdd39252c1724f97efb089dcef7b9cfcfc5434805806e379e3e4515f6fc5
7
- data.tar.gz: 219dfc774138b91f0a5074b0603398be7491dc6afb61be1a5799e09c005cc3eb60f8704f6fb04bbb977b6d0cc82c20d781e9a85cfa31c7810f21e106dfbce300
6
+ metadata.gz: 0ec6f1fa4d8ffc8ea1e7e93f96c40b5d62b4376486aa8a37a585b5c87893a8763caeba83570a2f815c604058ea90986f83ae7335a1f8846b2ef8c9845fcdc90e
7
+ data.tar.gz: 60020ca15b70f6a90f867d1ecc8da2861d187d30bad571555993dd241e98523228b06e634961a71b9b022bc144497926917762cb75c4af8b06cbaa4784102b51
@@ -47,6 +47,6 @@ require_relative 'aws-sdk-states/customizations'
47
47
  # @!group service
48
48
  module Aws::States
49
49
 
50
- GEM_VERSION = '1.32.0'
50
+ GEM_VERSION = '1.33.0'
51
51
 
52
52
  end
@@ -676,7 +676,9 @@ module Aws::States
676
676
  # * {Types::DescribeExecutionOutput#start_date #start_date} => Time
677
677
  # * {Types::DescribeExecutionOutput#stop_date #stop_date} => Time
678
678
  # * {Types::DescribeExecutionOutput#input #input} => String
679
+ # * {Types::DescribeExecutionOutput#input_details #input_details} => Types::CloudWatchEventsExecutionDataDetails
679
680
  # * {Types::DescribeExecutionOutput#output #output} => String
681
+ # * {Types::DescribeExecutionOutput#output_details #output_details} => Types::CloudWatchEventsExecutionDataDetails
680
682
  #
681
683
  # @example Request syntax with placeholder values
682
684
  #
@@ -693,7 +695,9 @@ module Aws::States
693
695
  # resp.start_date #=> Time
694
696
  # resp.stop_date #=> Time
695
697
  # resp.input #=> String
698
+ # resp.input_details.included #=> Boolean
696
699
  # resp.output #=> String
700
+ # resp.output_details.included #=> Boolean
697
701
  #
698
702
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeExecution AWS API Documentation
699
703
  #
@@ -895,6 +899,10 @@ module Aws::States
895
899
  # after 24 hours. Using an expired pagination token will return an *HTTP
896
900
  # 400 InvalidToken* error.
897
901
  #
902
+ # @option params [Boolean] :include_execution_data
903
+ # You can select whether execution data (input or output of a history
904
+ # event) is returned. The default is `true`.
905
+ #
898
906
  # @return [Types::GetExecutionHistoryOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
899
907
  #
900
908
  # * {Types::GetExecutionHistoryOutput#events #events} => Array<Types::HistoryEvent>
@@ -909,6 +917,7 @@ module Aws::States
909
917
  # max_results: 1,
910
918
  # reverse_order: false,
911
919
  # next_token: "PageToken",
920
+ # include_execution_data: false,
912
921
  # })
913
922
  #
914
923
  # @example Response structure
@@ -924,10 +933,12 @@ module Aws::States
924
933
  # resp.events[0].activity_schedule_failed_event_details.cause #=> String
925
934
  # resp.events[0].activity_scheduled_event_details.resource #=> String
926
935
  # resp.events[0].activity_scheduled_event_details.input #=> String
936
+ # resp.events[0].activity_scheduled_event_details.input_details.truncated #=> Boolean
927
937
  # resp.events[0].activity_scheduled_event_details.timeout_in_seconds #=> Integer
928
938
  # resp.events[0].activity_scheduled_event_details.heartbeat_in_seconds #=> Integer
929
939
  # resp.events[0].activity_started_event_details.worker_name #=> String
930
940
  # resp.events[0].activity_succeeded_event_details.output #=> String
941
+ # resp.events[0].activity_succeeded_event_details.output_details.truncated #=> Boolean
931
942
  # resp.events[0].activity_timed_out_event_details.error #=> String
932
943
  # resp.events[0].activity_timed_out_event_details.cause #=> String
933
944
  # resp.events[0].task_failed_event_details.resource_type #=> String
@@ -939,6 +950,7 @@ module Aws::States
939
950
  # resp.events[0].task_scheduled_event_details.region #=> String
940
951
  # resp.events[0].task_scheduled_event_details.parameters #=> String
941
952
  # resp.events[0].task_scheduled_event_details.timeout_in_seconds #=> Integer
953
+ # resp.events[0].task_scheduled_event_details.heartbeat_in_seconds #=> Integer
942
954
  # resp.events[0].task_start_failed_event_details.resource_type #=> String
943
955
  # resp.events[0].task_start_failed_event_details.resource #=> String
944
956
  # resp.events[0].task_start_failed_event_details.error #=> String
@@ -952,9 +964,11 @@ module Aws::States
952
964
  # resp.events[0].task_submitted_event_details.resource_type #=> String
953
965
  # resp.events[0].task_submitted_event_details.resource #=> String
954
966
  # resp.events[0].task_submitted_event_details.output #=> String
967
+ # resp.events[0].task_submitted_event_details.output_details.truncated #=> Boolean
955
968
  # resp.events[0].task_succeeded_event_details.resource_type #=> String
956
969
  # resp.events[0].task_succeeded_event_details.resource #=> String
957
970
  # resp.events[0].task_succeeded_event_details.output #=> String
971
+ # resp.events[0].task_succeeded_event_details.output_details.truncated #=> Boolean
958
972
  # resp.events[0].task_timed_out_event_details.resource_type #=> String
959
973
  # resp.events[0].task_timed_out_event_details.resource #=> String
960
974
  # resp.events[0].task_timed_out_event_details.error #=> String
@@ -962,8 +976,10 @@ module Aws::States
962
976
  # resp.events[0].execution_failed_event_details.error #=> String
963
977
  # resp.events[0].execution_failed_event_details.cause #=> String
964
978
  # resp.events[0].execution_started_event_details.input #=> String
979
+ # resp.events[0].execution_started_event_details.input_details.truncated #=> Boolean
965
980
  # resp.events[0].execution_started_event_details.role_arn #=> String
966
981
  # resp.events[0].execution_succeeded_event_details.output #=> String
982
+ # resp.events[0].execution_succeeded_event_details.output_details.truncated #=> Boolean
967
983
  # resp.events[0].execution_aborted_event_details.error #=> String
968
984
  # resp.events[0].execution_aborted_event_details.cause #=> String
969
985
  # resp.events[0].execution_timed_out_event_details.error #=> String
@@ -983,16 +999,20 @@ module Aws::States
983
999
  # resp.events[0].lambda_function_schedule_failed_event_details.cause #=> String
984
1000
  # resp.events[0].lambda_function_scheduled_event_details.resource #=> String
985
1001
  # resp.events[0].lambda_function_scheduled_event_details.input #=> String
1002
+ # resp.events[0].lambda_function_scheduled_event_details.input_details.truncated #=> Boolean
986
1003
  # resp.events[0].lambda_function_scheduled_event_details.timeout_in_seconds #=> Integer
987
1004
  # resp.events[0].lambda_function_start_failed_event_details.error #=> String
988
1005
  # resp.events[0].lambda_function_start_failed_event_details.cause #=> String
989
1006
  # resp.events[0].lambda_function_succeeded_event_details.output #=> String
1007
+ # resp.events[0].lambda_function_succeeded_event_details.output_details.truncated #=> Boolean
990
1008
  # resp.events[0].lambda_function_timed_out_event_details.error #=> String
991
1009
  # resp.events[0].lambda_function_timed_out_event_details.cause #=> String
992
1010
  # resp.events[0].state_entered_event_details.name #=> String
993
1011
  # resp.events[0].state_entered_event_details.input #=> String
1012
+ # resp.events[0].state_entered_event_details.input_details.truncated #=> Boolean
994
1013
  # resp.events[0].state_exited_event_details.name #=> String
995
1014
  # resp.events[0].state_exited_event_details.output #=> String
1015
+ # resp.events[0].state_exited_event_details.output_details.truncated #=> Boolean
996
1016
  # resp.next_token #=> String
997
1017
  #
998
1018
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/GetExecutionHistory AWS API Documentation
@@ -1350,7 +1370,8 @@ module Aws::States
1350
1370
  # [1]: https://docs.aws.amazon.com/step-functions/latest/dg/input-output-contextobject.html
1351
1371
  #
1352
1372
  # @option params [required, String] :output
1353
- # The JSON output of the task.
1373
+ # The JSON output of the task. Length constraints apply to the payload
1374
+ # size, and are expressed as bytes in UTF-8 encoding.
1354
1375
  #
1355
1376
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1356
1377
  #
@@ -1419,6 +1440,9 @@ module Aws::States
1419
1440
  #
1420
1441
  # </note>
1421
1442
  #
1443
+ # Length constraints apply to the payload size, and are expressed as
1444
+ # bytes in UTF-8 encoding.
1445
+ #
1422
1446
  # @return [Types::StartExecutionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1423
1447
  #
1424
1448
  # * {Types::StartExecutionOutput#execution_arn #execution_arn} => String
@@ -1638,7 +1662,7 @@ module Aws::States
1638
1662
  params: params,
1639
1663
  config: config)
1640
1664
  context[:gem_name] = 'aws-sdk-states'
1641
- context[:gem_version] = '1.32.0'
1665
+ context[:gem_version] = '1.33.0'
1642
1666
  Seahorse::Client::Request.new(handlers, context)
1643
1667
  end
1644
1668
 
@@ -25,6 +25,7 @@ module Aws::States
25
25
  ActivityTimedOutEventDetails = Shapes::StructureShape.new(name: 'ActivityTimedOutEventDetails')
26
26
  ActivityWorkerLimitExceeded = Shapes::StructureShape.new(name: 'ActivityWorkerLimitExceeded')
27
27
  Arn = Shapes::StringShape.new(name: 'Arn')
28
+ CloudWatchEventsExecutionDataDetails = Shapes::StructureShape.new(name: 'CloudWatchEventsExecutionDataDetails')
28
29
  CloudWatchLogsLogGroup = Shapes::StructureShape.new(name: 'CloudWatchLogsLogGroup')
29
30
  ConnectorParameters = Shapes::StringShape.new(name: 'ConnectorParameters')
30
31
  CreateActivityInput = Shapes::StructureShape.new(name: 'CreateActivityInput')
@@ -62,10 +63,12 @@ module Aws::States
62
63
  GetExecutionHistoryInput = Shapes::StructureShape.new(name: 'GetExecutionHistoryInput')
63
64
  GetExecutionHistoryOutput = Shapes::StructureShape.new(name: 'GetExecutionHistoryOutput')
64
65
  HistoryEvent = Shapes::StructureShape.new(name: 'HistoryEvent')
66
+ HistoryEventExecutionDataDetails = Shapes::StructureShape.new(name: 'HistoryEventExecutionDataDetails')
65
67
  HistoryEventList = Shapes::ListShape.new(name: 'HistoryEventList')
66
68
  HistoryEventType = Shapes::StringShape.new(name: 'HistoryEventType')
67
69
  Identity = Shapes::StringShape.new(name: 'Identity')
68
70
  IncludeExecutionData = Shapes::BooleanShape.new(name: 'IncludeExecutionData')
71
+ IncludeExecutionDataGetExecutionHistory = Shapes::BooleanShape.new(name: 'IncludeExecutionDataGetExecutionHistory')
69
72
  InvalidArn = Shapes::StructureShape.new(name: 'InvalidArn')
70
73
  InvalidDefinition = Shapes::StructureShape.new(name: 'InvalidDefinition')
71
74
  InvalidExecutionInput = Shapes::StructureShape.new(name: 'InvalidExecutionInput')
@@ -151,6 +154,8 @@ module Aws::States
151
154
  UntagResourceOutput = Shapes::StructureShape.new(name: 'UntagResourceOutput')
152
155
  UpdateStateMachineInput = Shapes::StructureShape.new(name: 'UpdateStateMachineInput')
153
156
  UpdateStateMachineOutput = Shapes::StructureShape.new(name: 'UpdateStateMachineOutput')
157
+ included = Shapes::BooleanShape.new(name: 'included')
158
+ truncated = Shapes::BooleanShape.new(name: 'truncated')
154
159
 
155
160
  ActivityDoesNotExist.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
156
161
  ActivityDoesNotExist.struct_class = Types::ActivityDoesNotExist
@@ -175,6 +180,7 @@ module Aws::States
175
180
 
176
181
  ActivityScheduledEventDetails.add_member(:resource, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resource"))
177
182
  ActivityScheduledEventDetails.add_member(:input, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "input"))
183
+ ActivityScheduledEventDetails.add_member(:input_details, Shapes::ShapeRef.new(shape: HistoryEventExecutionDataDetails, location_name: "inputDetails"))
178
184
  ActivityScheduledEventDetails.add_member(:timeout_in_seconds, Shapes::ShapeRef.new(shape: TimeoutInSeconds, location_name: "timeoutInSeconds", metadata: {"box"=>true}))
179
185
  ActivityScheduledEventDetails.add_member(:heartbeat_in_seconds, Shapes::ShapeRef.new(shape: TimeoutInSeconds, location_name: "heartbeatInSeconds", metadata: {"box"=>true}))
180
186
  ActivityScheduledEventDetails.struct_class = Types::ActivityScheduledEventDetails
@@ -183,6 +189,7 @@ module Aws::States
183
189
  ActivityStartedEventDetails.struct_class = Types::ActivityStartedEventDetails
184
190
 
185
191
  ActivitySucceededEventDetails.add_member(:output, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "output"))
192
+ ActivitySucceededEventDetails.add_member(:output_details, Shapes::ShapeRef.new(shape: HistoryEventExecutionDataDetails, location_name: "outputDetails"))
186
193
  ActivitySucceededEventDetails.struct_class = Types::ActivitySucceededEventDetails
187
194
 
188
195
  ActivityTimedOutEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
@@ -192,6 +199,9 @@ module Aws::States
192
199
  ActivityWorkerLimitExceeded.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
193
200
  ActivityWorkerLimitExceeded.struct_class = Types::ActivityWorkerLimitExceeded
194
201
 
202
+ CloudWatchEventsExecutionDataDetails.add_member(:included, Shapes::ShapeRef.new(shape: included, location_name: "included"))
203
+ CloudWatchEventsExecutionDataDetails.struct_class = Types::CloudWatchEventsExecutionDataDetails
204
+
195
205
  CloudWatchLogsLogGroup.add_member(:log_group_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "logGroupArn"))
196
206
  CloudWatchLogsLogGroup.struct_class = Types::CloudWatchLogsLogGroup
197
207
 
@@ -242,8 +252,10 @@ module Aws::States
242
252
  DescribeExecutionOutput.add_member(:status, Shapes::ShapeRef.new(shape: ExecutionStatus, required: true, location_name: "status"))
243
253
  DescribeExecutionOutput.add_member(:start_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "startDate"))
244
254
  DescribeExecutionOutput.add_member(:stop_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "stopDate"))
245
- DescribeExecutionOutput.add_member(:input, Shapes::ShapeRef.new(shape: SensitiveData, required: true, location_name: "input"))
255
+ DescribeExecutionOutput.add_member(:input, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "input"))
256
+ DescribeExecutionOutput.add_member(:input_details, Shapes::ShapeRef.new(shape: CloudWatchEventsExecutionDataDetails, location_name: "inputDetails"))
246
257
  DescribeExecutionOutput.add_member(:output, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "output"))
258
+ DescribeExecutionOutput.add_member(:output_details, Shapes::ShapeRef.new(shape: CloudWatchEventsExecutionDataDetails, location_name: "outputDetails"))
247
259
  DescribeExecutionOutput.struct_class = Types::DescribeExecutionOutput
248
260
 
249
261
  DescribeStateMachineForExecutionInput.add_member(:execution_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "executionArn"))
@@ -298,10 +310,12 @@ module Aws::States
298
310
  ExecutionListItem.struct_class = Types::ExecutionListItem
299
311
 
300
312
  ExecutionStartedEventDetails.add_member(:input, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "input"))
313
+ ExecutionStartedEventDetails.add_member(:input_details, Shapes::ShapeRef.new(shape: HistoryEventExecutionDataDetails, location_name: "inputDetails"))
301
314
  ExecutionStartedEventDetails.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "roleArn"))
302
315
  ExecutionStartedEventDetails.struct_class = Types::ExecutionStartedEventDetails
303
316
 
304
317
  ExecutionSucceededEventDetails.add_member(:output, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "output"))
318
+ ExecutionSucceededEventDetails.add_member(:output_details, Shapes::ShapeRef.new(shape: HistoryEventExecutionDataDetails, location_name: "outputDetails"))
305
319
  ExecutionSucceededEventDetails.struct_class = Types::ExecutionSucceededEventDetails
306
320
 
307
321
  ExecutionTimedOutEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
@@ -320,6 +334,7 @@ module Aws::States
320
334
  GetExecutionHistoryInput.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "maxResults"))
321
335
  GetExecutionHistoryInput.add_member(:reverse_order, Shapes::ShapeRef.new(shape: ReverseOrder, location_name: "reverseOrder"))
322
336
  GetExecutionHistoryInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "nextToken"))
337
+ GetExecutionHistoryInput.add_member(:include_execution_data, Shapes::ShapeRef.new(shape: IncludeExecutionDataGetExecutionHistory, location_name: "includeExecutionData"))
323
338
  GetExecutionHistoryInput.struct_class = Types::GetExecutionHistoryInput
324
339
 
325
340
  GetExecutionHistoryOutput.add_member(:events, Shapes::ShapeRef.new(shape: HistoryEventList, required: true, location_name: "events"))
@@ -364,6 +379,9 @@ module Aws::States
364
379
  HistoryEvent.add_member(:state_exited_event_details, Shapes::ShapeRef.new(shape: StateExitedEventDetails, location_name: "stateExitedEventDetails"))
365
380
  HistoryEvent.struct_class = Types::HistoryEvent
366
381
 
382
+ HistoryEventExecutionDataDetails.add_member(:truncated, Shapes::ShapeRef.new(shape: truncated, location_name: "truncated"))
383
+ HistoryEventExecutionDataDetails.struct_class = Types::HistoryEventExecutionDataDetails
384
+
367
385
  HistoryEventList.member = Shapes::ShapeRef.new(shape: HistoryEvent)
368
386
 
369
387
  InvalidArn.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
@@ -397,6 +415,7 @@ module Aws::States
397
415
 
398
416
  LambdaFunctionScheduledEventDetails.add_member(:resource, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resource"))
399
417
  LambdaFunctionScheduledEventDetails.add_member(:input, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "input"))
418
+ LambdaFunctionScheduledEventDetails.add_member(:input_details, Shapes::ShapeRef.new(shape: HistoryEventExecutionDataDetails, location_name: "inputDetails"))
400
419
  LambdaFunctionScheduledEventDetails.add_member(:timeout_in_seconds, Shapes::ShapeRef.new(shape: TimeoutInSeconds, location_name: "timeoutInSeconds", metadata: {"box"=>true}))
401
420
  LambdaFunctionScheduledEventDetails.struct_class = Types::LambdaFunctionScheduledEventDetails
402
421
 
@@ -405,6 +424,7 @@ module Aws::States
405
424
  LambdaFunctionStartFailedEventDetails.struct_class = Types::LambdaFunctionStartFailedEventDetails
406
425
 
407
426
  LambdaFunctionSucceededEventDetails.add_member(:output, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "output"))
427
+ LambdaFunctionSucceededEventDetails.add_member(:output_details, Shapes::ShapeRef.new(shape: HistoryEventExecutionDataDetails, location_name: "outputDetails"))
408
428
  LambdaFunctionSucceededEventDetails.struct_class = Types::LambdaFunctionSucceededEventDetails
409
429
 
410
430
  LambdaFunctionTimedOutEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
@@ -496,10 +516,12 @@ module Aws::States
496
516
 
497
517
  StateEnteredEventDetails.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
498
518
  StateEnteredEventDetails.add_member(:input, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "input"))
519
+ StateEnteredEventDetails.add_member(:input_details, Shapes::ShapeRef.new(shape: HistoryEventExecutionDataDetails, location_name: "inputDetails"))
499
520
  StateEnteredEventDetails.struct_class = Types::StateEnteredEventDetails
500
521
 
501
522
  StateExitedEventDetails.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
502
523
  StateExitedEventDetails.add_member(:output, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "output"))
524
+ StateExitedEventDetails.add_member(:output_details, Shapes::ShapeRef.new(shape: HistoryEventExecutionDataDetails, location_name: "outputDetails"))
503
525
  StateExitedEventDetails.struct_class = Types::StateExitedEventDetails
504
526
 
505
527
  StateMachineAlreadyExists.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
@@ -561,6 +583,7 @@ module Aws::States
561
583
  TaskScheduledEventDetails.add_member(:region, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "region"))
562
584
  TaskScheduledEventDetails.add_member(:parameters, Shapes::ShapeRef.new(shape: ConnectorParameters, required: true, location_name: "parameters"))
563
585
  TaskScheduledEventDetails.add_member(:timeout_in_seconds, Shapes::ShapeRef.new(shape: TimeoutInSeconds, location_name: "timeoutInSeconds", metadata: {"box"=>true}))
586
+ TaskScheduledEventDetails.add_member(:heartbeat_in_seconds, Shapes::ShapeRef.new(shape: TimeoutInSeconds, location_name: "heartbeatInSeconds", metadata: {"box"=>true}))
564
587
  TaskScheduledEventDetails.struct_class = Types::TaskScheduledEventDetails
565
588
 
566
589
  TaskStartFailedEventDetails.add_member(:resource_type, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "resourceType"))
@@ -582,11 +605,13 @@ module Aws::States
582
605
  TaskSubmittedEventDetails.add_member(:resource_type, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "resourceType"))
583
606
  TaskSubmittedEventDetails.add_member(:resource, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "resource"))
584
607
  TaskSubmittedEventDetails.add_member(:output, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "output"))
608
+ TaskSubmittedEventDetails.add_member(:output_details, Shapes::ShapeRef.new(shape: HistoryEventExecutionDataDetails, location_name: "outputDetails"))
585
609
  TaskSubmittedEventDetails.struct_class = Types::TaskSubmittedEventDetails
586
610
 
587
611
  TaskSucceededEventDetails.add_member(:resource_type, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "resourceType"))
588
612
  TaskSucceededEventDetails.add_member(:resource, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "resource"))
589
613
  TaskSucceededEventDetails.add_member(:output, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "output"))
614
+ TaskSucceededEventDetails.add_member(:output_details, Shapes::ShapeRef.new(shape: HistoryEventExecutionDataDetails, location_name: "outputDetails"))
590
615
  TaskSucceededEventDetails.struct_class = Types::TaskSucceededEventDetails
591
616
 
592
617
  TaskTimedOut.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
@@ -122,9 +122,14 @@ module Aws::States
122
122
  # @return [String]
123
123
  #
124
124
  # @!attribute [rw] input
125
- # The JSON data input to the activity task.
125
+ # The JSON data input to the activity task. Length constraints apply
126
+ # to the payload size, and are expressed as bytes in UTF-8 encoding.
126
127
  # @return [String]
127
128
  #
129
+ # @!attribute [rw] input_details
130
+ # Contains details about the input for an execution history event.
131
+ # @return [Types::HistoryEventExecutionDataDetails]
132
+ #
128
133
  # @!attribute [rw] timeout_in_seconds
129
134
  # The maximum allowed duration of the activity task.
130
135
  # @return [Integer]
@@ -139,6 +144,7 @@ module Aws::States
139
144
  class ActivityScheduledEventDetails < Struct.new(
140
145
  :resource,
141
146
  :input,
147
+ :input_details,
142
148
  :timeout_in_seconds,
143
149
  :heartbeat_in_seconds)
144
150
  SENSITIVE = [:input]
@@ -164,13 +170,19 @@ module Aws::States
164
170
  # an execution.
165
171
  #
166
172
  # @!attribute [rw] output
167
- # The JSON data output by the activity task.
173
+ # The JSON data output by the activity task. Length constraints apply
174
+ # to the payload size, and are expressed as bytes in UTF-8 encoding.
168
175
  # @return [String]
169
176
  #
177
+ # @!attribute [rw] output_details
178
+ # Contains details about the output of an execution history event.
179
+ # @return [Types::HistoryEventExecutionDataDetails]
180
+ #
170
181
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ActivitySucceededEventDetails AWS API Documentation
171
182
  #
172
183
  class ActivitySucceededEventDetails < Struct.new(
173
- :output)
184
+ :output,
185
+ :output_details)
174
186
  SENSITIVE = [:output]
175
187
  include Aws::Structure
176
188
  end
@@ -209,6 +221,22 @@ module Aws::States
209
221
  include Aws::Structure
210
222
  end
211
223
 
224
+ # Provides details about execution input.
225
+ #
226
+ # @!attribute [rw] included
227
+ # Indicates whether input or output was included in the response.
228
+ # Always `true` for API calls, but may be `false` for CloudWatch
229
+ # Events.
230
+ # @return [Boolean]
231
+ #
232
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/CloudWatchEventsExecutionDataDetails AWS API Documentation
233
+ #
234
+ class CloudWatchEventsExecutionDataDetails < Struct.new(
235
+ :included)
236
+ SENSITIVE = []
237
+ include Aws::Structure
238
+ end
239
+
212
240
  # @note When making an API call, you may pass CloudWatchLogsLogGroup
213
241
  # data as a hash:
214
242
  #
@@ -599,10 +627,17 @@ module Aws::States
599
627
  #
600
628
  # @!attribute [rw] input
601
629
  # The string that contains the JSON input data of the execution.
630
+ # Length constraints apply to the payload size, and are expressed as
631
+ # bytes in UTF-8 encoding.
602
632
  # @return [String]
603
633
  #
634
+ # @!attribute [rw] input_details
635
+ # Provides details about execution input.
636
+ # @return [Types::CloudWatchEventsExecutionDataDetails]
637
+ #
604
638
  # @!attribute [rw] output
605
- # The JSON output data of the execution.
639
+ # The JSON output data of the execution. Length constraints apply to
640
+ # the payload size, and are expressed as bytes in UTF-8 encoding.
606
641
  #
607
642
  # <note markdown="1"> This field is set only if the execution succeeds. If the execution
608
643
  # fails, this field is null.
@@ -610,6 +645,10 @@ module Aws::States
610
645
  # </note>
611
646
  # @return [String]
612
647
  #
648
+ # @!attribute [rw] output_details
649
+ # Provides details about execution input.
650
+ # @return [Types::CloudWatchEventsExecutionDataDetails]
651
+ #
613
652
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeExecutionOutput AWS API Documentation
614
653
  #
615
654
  class DescribeExecutionOutput < Struct.new(
@@ -620,7 +659,9 @@ module Aws::States
620
659
  :start_date,
621
660
  :stop_date,
622
661
  :input,
623
- :output)
662
+ :input_details,
663
+ :output,
664
+ :output_details)
624
665
  SENSITIVE = [:input, :output]
625
666
  include Aws::Structure
626
667
  end
@@ -922,9 +963,14 @@ module Aws::States
922
963
  # Contains details about the start of the execution.
923
964
  #
924
965
  # @!attribute [rw] input
925
- # The JSON data input to the execution.
966
+ # The JSON data input to the execution. Length constraints apply to
967
+ # the payload size, and are expressed as bytes in UTF-8 encoding.
926
968
  # @return [String]
927
969
  #
970
+ # @!attribute [rw] input_details
971
+ # Contains details about the input for an execution history event.
972
+ # @return [Types::HistoryEventExecutionDataDetails]
973
+ #
928
974
  # @!attribute [rw] role_arn
929
975
  # The Amazon Resource Name (ARN) of the IAM role used for executing
930
976
  # AWS Lambda tasks.
@@ -934,6 +980,7 @@ module Aws::States
934
980
  #
935
981
  class ExecutionStartedEventDetails < Struct.new(
936
982
  :input,
983
+ :input_details,
937
984
  :role_arn)
938
985
  SENSITIVE = [:input]
939
986
  include Aws::Structure
@@ -942,13 +989,19 @@ module Aws::States
942
989
  # Contains details about the successful termination of the execution.
943
990
  #
944
991
  # @!attribute [rw] output
945
- # The JSON data output by the execution.
992
+ # The JSON data output by the execution. Length constraints apply to
993
+ # the payload size, and are expressed as bytes in UTF-8 encoding.
946
994
  # @return [String]
947
995
  #
996
+ # @!attribute [rw] output_details
997
+ # Contains details about the output of an execution history event.
998
+ # @return [Types::HistoryEventExecutionDataDetails]
999
+ #
948
1000
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ExecutionSucceededEventDetails AWS API Documentation
949
1001
  #
950
1002
  class ExecutionSucceededEventDetails < Struct.new(
951
- :output)
1003
+ :output,
1004
+ :output_details)
952
1005
  SENSITIVE = [:output]
953
1006
  include Aws::Structure
954
1007
  end
@@ -1009,7 +1062,9 @@ module Aws::States
1009
1062
  # @return [String]
1010
1063
  #
1011
1064
  # @!attribute [rw] input
1012
- # The string that contains the JSON input data for the task.
1065
+ # The string that contains the JSON input data for the task. Length
1066
+ # constraints apply to the payload size, and are expressed as bytes in
1067
+ # UTF-8 encoding.
1013
1068
  # @return [String]
1014
1069
  #
1015
1070
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/GetActivityTaskOutput AWS API Documentation
@@ -1029,6 +1084,7 @@ module Aws::States
1029
1084
  # max_results: 1,
1030
1085
  # reverse_order: false,
1031
1086
  # next_token: "PageToken",
1087
+ # include_execution_data: false,
1032
1088
  # }
1033
1089
  #
1034
1090
  # @!attribute [rw] execution_arn
@@ -1058,13 +1114,19 @@ module Aws::States
1058
1114
  # return an *HTTP 400 InvalidToken* error.
1059
1115
  # @return [String]
1060
1116
  #
1117
+ # @!attribute [rw] include_execution_data
1118
+ # You can select whether execution data (input or output of a history
1119
+ # event) is returned. The default is `true`.
1120
+ # @return [Boolean]
1121
+ #
1061
1122
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/GetExecutionHistoryInput AWS API Documentation
1062
1123
  #
1063
1124
  class GetExecutionHistoryInput < Struct.new(
1064
1125
  :execution_arn,
1065
1126
  :max_results,
1066
1127
  :reverse_order,
1067
- :next_token)
1128
+ :next_token,
1129
+ :include_execution_data)
1068
1130
  SENSITIVE = []
1069
1131
  include Aws::Structure
1070
1132
  end
@@ -1291,6 +1353,22 @@ module Aws::States
1291
1353
  include Aws::Structure
1292
1354
  end
1293
1355
 
1356
+ # Contains details about the data from an execution's events. Always
1357
+ # `true` for API calls, but may be `false` for CloudWatch Logs.
1358
+ #
1359
+ # @!attribute [rw] truncated
1360
+ # Indicates whether input or output was truncated in the response.
1361
+ # Always `false`.
1362
+ # @return [Boolean]
1363
+ #
1364
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/HistoryEventExecutionDataDetails AWS API Documentation
1365
+ #
1366
+ class HistoryEventExecutionDataDetails < Struct.new(
1367
+ :truncated)
1368
+ SENSITIVE = []
1369
+ include Aws::Structure
1370
+ end
1371
+
1294
1372
  # The provided Amazon Resource Name (ARN) is invalid.
1295
1373
  #
1296
1374
  # @!attribute [rw] message
@@ -1428,9 +1506,14 @@ module Aws::States
1428
1506
  # @return [String]
1429
1507
  #
1430
1508
  # @!attribute [rw] input
1431
- # The JSON data input to the lambda function.
1509
+ # The JSON data input to the lambda function. Length constraints apply
1510
+ # to the payload size, and are expressed as bytes in UTF-8 encoding.
1432
1511
  # @return [String]
1433
1512
  #
1513
+ # @!attribute [rw] input_details
1514
+ # Contains details about input for an execution history event.
1515
+ # @return [Types::HistoryEventExecutionDataDetails]
1516
+ #
1434
1517
  # @!attribute [rw] timeout_in_seconds
1435
1518
  # The maximum allowed duration of the lambda function.
1436
1519
  # @return [Integer]
@@ -1440,6 +1523,7 @@ module Aws::States
1440
1523
  class LambdaFunctionScheduledEventDetails < Struct.new(
1441
1524
  :resource,
1442
1525
  :input,
1526
+ :input_details,
1443
1527
  :timeout_in_seconds)
1444
1528
  SENSITIVE = [:input]
1445
1529
  include Aws::Structure
@@ -1469,13 +1553,20 @@ module Aws::States
1469
1553
  # during an execution.
1470
1554
  #
1471
1555
  # @!attribute [rw] output
1472
- # The JSON data output by the lambda function.
1556
+ # The JSON data output by the lambda function. Length constraints
1557
+ # apply to the payload size, and are expressed as bytes in UTF-8
1558
+ # encoding.
1473
1559
  # @return [String]
1474
1560
  #
1561
+ # @!attribute [rw] output_details
1562
+ # Contains details about the output of an execution history event.
1563
+ # @return [Types::HistoryEventExecutionDataDetails]
1564
+ #
1475
1565
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/LambdaFunctionSucceededEventDetails AWS API Documentation
1476
1566
  #
1477
1567
  class LambdaFunctionSucceededEventDetails < Struct.new(
1478
- :output)
1568
+ :output,
1569
+ :output_details)
1479
1570
  SENSITIVE = [:output]
1480
1571
  include Aws::Structure
1481
1572
  end
@@ -1769,7 +1860,7 @@ module Aws::States
1769
1860
  #
1770
1861
  # @!attribute [rw] include_execution_data
1771
1862
  # Determines whether execution data is included in your log. When set
1772
- # to `FALSE`, data is excluded.
1863
+ # to `false`, data is excluded.
1773
1864
  # @return [Boolean]
1774
1865
  #
1775
1866
  # @!attribute [rw] destinations
@@ -1945,7 +2036,8 @@ module Aws::States
1945
2036
  # @return [String]
1946
2037
  #
1947
2038
  # @!attribute [rw] output
1948
- # The JSON output of the task.
2039
+ # The JSON output of the task. Length constraints apply to the payload
2040
+ # size, and are expressed as bytes in UTF-8 encoding.
1949
2041
  # @return [String]
1950
2042
  #
1951
2043
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskSuccessInput AWS API Documentation
@@ -2010,6 +2102,9 @@ module Aws::States
2010
2102
  # the two braces, for example: `"input": "\{\}"`
2011
2103
  #
2012
2104
  # </note>
2105
+ #
2106
+ # Length constraints apply to the payload size, and are expressed as
2107
+ # bytes in UTF-8 encoding.
2013
2108
  # @return [String]
2014
2109
  #
2015
2110
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StartExecutionInput AWS API Documentation
@@ -2046,14 +2141,21 @@ module Aws::States
2046
2141
  # @return [String]
2047
2142
  #
2048
2143
  # @!attribute [rw] input
2049
- # The string that contains the JSON input data for the state.
2144
+ # The string that contains the JSON input data for the state. Length
2145
+ # constraints apply to the payload size, and are expressed as bytes in
2146
+ # UTF-8 encoding.
2050
2147
  # @return [String]
2051
2148
  #
2149
+ # @!attribute [rw] input_details
2150
+ # Contains details about the input for an execution history event.
2151
+ # @return [Types::HistoryEventExecutionDataDetails]
2152
+ #
2052
2153
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StateEnteredEventDetails AWS API Documentation
2053
2154
  #
2054
2155
  class StateEnteredEventDetails < Struct.new(
2055
2156
  :name,
2056
- :input)
2157
+ :input,
2158
+ :input_details)
2057
2159
  SENSITIVE = [:input]
2058
2160
  include Aws::Structure
2059
2161
  end
@@ -2080,14 +2182,20 @@ module Aws::States
2080
2182
  # @return [String]
2081
2183
  #
2082
2184
  # @!attribute [rw] output
2083
- # The JSON output data of the state.
2185
+ # The JSON output data of the state. Length constraints apply to the
2186
+ # payload size, and are expressed as bytes in UTF-8 encoding.
2084
2187
  # @return [String]
2085
2188
  #
2189
+ # @!attribute [rw] output_details
2190
+ # Contains details about the output of an execution history event.
2191
+ # @return [Types::HistoryEventExecutionDataDetails]
2192
+ #
2086
2193
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StateExitedEventDetails AWS API Documentation
2087
2194
  #
2088
2195
  class StateExitedEventDetails < Struct.new(
2089
2196
  :name,
2090
- :output)
2197
+ :output,
2198
+ :output_details)
2091
2199
  SENSITIVE = [:output]
2092
2200
  include Aws::Structure
2093
2201
  end
@@ -2377,12 +2485,18 @@ module Aws::States
2377
2485
  #
2378
2486
  # @!attribute [rw] parameters
2379
2487
  # The JSON data passed to the resource referenced in a task state.
2488
+ # Length constraints apply to the payload size, and are expressed as
2489
+ # bytes in UTF-8 encoding.
2380
2490
  # @return [String]
2381
2491
  #
2382
2492
  # @!attribute [rw] timeout_in_seconds
2383
2493
  # The maximum allowed duration of the task.
2384
2494
  # @return [Integer]
2385
2495
  #
2496
+ # @!attribute [rw] heartbeat_in_seconds
2497
+ # The maximum allowed duration between two heartbeats for the task.
2498
+ # @return [Integer]
2499
+ #
2386
2500
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/TaskScheduledEventDetails AWS API Documentation
2387
2501
  #
2388
2502
  class TaskScheduledEventDetails < Struct.new(
@@ -2390,7 +2504,8 @@ module Aws::States
2390
2504
  :resource,
2391
2505
  :region,
2392
2506
  :parameters,
2393
- :timeout_in_seconds)
2507
+ :timeout_in_seconds,
2508
+ :heartbeat_in_seconds)
2394
2509
  SENSITIVE = [:parameters]
2395
2510
  include Aws::Structure
2396
2511
  end
@@ -2485,15 +2600,22 @@ module Aws::States
2485
2600
  # @return [String]
2486
2601
  #
2487
2602
  # @!attribute [rw] output
2488
- # The response from a resource when a task has started.
2603
+ # The response from a resource when a task has started. Length
2604
+ # constraints apply to the payload size, and are expressed as bytes in
2605
+ # UTF-8 encoding.
2489
2606
  # @return [String]
2490
2607
  #
2608
+ # @!attribute [rw] output_details
2609
+ # Contains details about the output of an execution history event.
2610
+ # @return [Types::HistoryEventExecutionDataDetails]
2611
+ #
2491
2612
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/TaskSubmittedEventDetails AWS API Documentation
2492
2613
  #
2493
2614
  class TaskSubmittedEventDetails < Struct.new(
2494
2615
  :resource_type,
2495
2616
  :resource,
2496
- :output)
2617
+ :output,
2618
+ :output_details)
2497
2619
  SENSITIVE = [:output]
2498
2620
  include Aws::Structure
2499
2621
  end
@@ -2510,15 +2632,22 @@ module Aws::States
2510
2632
  #
2511
2633
  # @!attribute [rw] output
2512
2634
  # The full JSON response from a resource when a task has succeeded.
2513
- # This response becomes the output of the related task.
2635
+ # This response becomes the output of the related task. Length
2636
+ # constraints apply to the payload size, and are expressed as bytes in
2637
+ # UTF-8 encoding.
2514
2638
  # @return [String]
2515
2639
  #
2640
+ # @!attribute [rw] output_details
2641
+ # Contains details about the output of an execution history event.
2642
+ # @return [Types::HistoryEventExecutionDataDetails]
2643
+ #
2516
2644
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/TaskSucceededEventDetails AWS API Documentation
2517
2645
  #
2518
2646
  class TaskSucceededEventDetails < Struct.new(
2519
2647
  :resource_type,
2520
2648
  :resource,
2521
- :output)
2649
+ :output,
2650
+ :output_details)
2522
2651
  SENSITIVE = [:output]
2523
2652
  include Aws::Structure
2524
2653
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-states
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.32.0
4
+ version: 1.33.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: 2020-08-25 00:00:00.000000000 Z
11
+ date: 2020-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core