aws-sdk-states 1.29.1 → 1.35.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -38,6 +40,7 @@ module Aws::States
38
40
  # * {InvalidName}
39
41
  # * {InvalidOutput}
40
42
  # * {InvalidToken}
43
+ # * {InvalidTracingConfiguration}
41
44
  # * {MissingRequiredParameter}
42
45
  # * {ResourceNotFound}
43
46
  # * {StateMachineAlreadyExists}
@@ -250,6 +253,21 @@ module Aws::States
250
253
  end
251
254
  end
252
255
 
256
+ class InvalidTracingConfiguration < ServiceError
257
+
258
+ # @param [Seahorse::Client::RequestContext] context
259
+ # @param [String] message
260
+ # @param [Aws::States::Types::InvalidTracingConfiguration] data
261
+ def initialize(context, message, data = Aws::EmptyStructure.new)
262
+ super(context, message, data)
263
+ end
264
+
265
+ # @return [String]
266
+ def message
267
+ @message || @data[:message]
268
+ end
269
+ end
270
+
253
271
  class MissingRequiredParameter < ServiceError
254
272
 
255
273
  # @param [Seahorse::Client::RequestContext] context
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -17,6 +19,7 @@ module Aws::States
17
19
  #
18
20
  class ActivityDoesNotExist < Struct.new(
19
21
  :message)
22
+ SENSITIVE = []
20
23
  include Aws::Structure
21
24
  end
22
25
 
@@ -35,6 +38,7 @@ module Aws::States
35
38
  class ActivityFailedEventDetails < Struct.new(
36
39
  :error,
37
40
  :cause)
41
+ SENSITIVE = [:error, :cause]
38
42
  include Aws::Structure
39
43
  end
40
44
 
@@ -48,6 +52,7 @@ module Aws::States
48
52
  #
49
53
  class ActivityLimitExceeded < Struct.new(
50
54
  :message)
55
+ SENSITIVE = []
51
56
  include Aws::Structure
52
57
  end
53
58
 
@@ -86,6 +91,7 @@ module Aws::States
86
91
  :activity_arn,
87
92
  :name,
88
93
  :creation_date)
94
+ SENSITIVE = []
89
95
  include Aws::Structure
90
96
  end
91
97
 
@@ -105,6 +111,7 @@ module Aws::States
105
111
  class ActivityScheduleFailedEventDetails < Struct.new(
106
112
  :error,
107
113
  :cause)
114
+ SENSITIVE = [:error, :cause]
108
115
  include Aws::Structure
109
116
  end
110
117
 
@@ -115,9 +122,14 @@ module Aws::States
115
122
  # @return [String]
116
123
  #
117
124
  # @!attribute [rw] input
118
- # 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.
119
127
  # @return [String]
120
128
  #
129
+ # @!attribute [rw] input_details
130
+ # Contains details about the input for an execution history event.
131
+ # @return [Types::HistoryEventExecutionDataDetails]
132
+ #
121
133
  # @!attribute [rw] timeout_in_seconds
122
134
  # The maximum allowed duration of the activity task.
123
135
  # @return [Integer]
@@ -132,8 +144,10 @@ module Aws::States
132
144
  class ActivityScheduledEventDetails < Struct.new(
133
145
  :resource,
134
146
  :input,
147
+ :input_details,
135
148
  :timeout_in_seconds,
136
149
  :heartbeat_in_seconds)
150
+ SENSITIVE = [:input]
137
151
  include Aws::Structure
138
152
  end
139
153
 
@@ -148,6 +162,7 @@ module Aws::States
148
162
  #
149
163
  class ActivityStartedEventDetails < Struct.new(
150
164
  :worker_name)
165
+ SENSITIVE = []
151
166
  include Aws::Structure
152
167
  end
153
168
 
@@ -155,13 +170,20 @@ module Aws::States
155
170
  # an execution.
156
171
  #
157
172
  # @!attribute [rw] output
158
- # 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.
159
175
  # @return [String]
160
176
  #
177
+ # @!attribute [rw] output_details
178
+ # Contains details about the output of an execution history event.
179
+ # @return [Types::HistoryEventExecutionDataDetails]
180
+ #
161
181
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ActivitySucceededEventDetails AWS API Documentation
162
182
  #
163
183
  class ActivitySucceededEventDetails < Struct.new(
164
- :output)
184
+ :output,
185
+ :output_details)
186
+ SENSITIVE = [:output]
165
187
  include Aws::Structure
166
188
  end
167
189
 
@@ -181,6 +203,7 @@ module Aws::States
181
203
  class ActivityTimedOutEventDetails < Struct.new(
182
204
  :error,
183
205
  :cause)
206
+ SENSITIVE = [:error, :cause]
184
207
  include Aws::Structure
185
208
  end
186
209
 
@@ -194,6 +217,22 @@ module Aws::States
194
217
  #
195
218
  class ActivityWorkerLimitExceeded < Struct.new(
196
219
  :message)
220
+ SENSITIVE = []
221
+ include Aws::Structure
222
+ end
223
+
224
+ # Provides details about execution input or output.
225
+ #
226
+ # @!attribute [rw] included
227
+ # Indicates whether input or output was included in the response.
228
+ # Always `true` for API calls.
229
+ # @return [Boolean]
230
+ #
231
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/CloudWatchEventsExecutionDataDetails AWS API Documentation
232
+ #
233
+ class CloudWatchEventsExecutionDataDetails < Struct.new(
234
+ :included)
235
+ SENSITIVE = []
197
236
  include Aws::Structure
198
237
  end
199
238
 
@@ -213,6 +252,7 @@ module Aws::States
213
252
  #
214
253
  class CloudWatchLogsLogGroup < Struct.new(
215
254
  :log_group_arn)
255
+ SENSITIVE = []
216
256
  include Aws::Structure
217
257
  end
218
258
 
@@ -276,6 +316,7 @@ module Aws::States
276
316
  class CreateActivityInput < Struct.new(
277
317
  :name,
278
318
  :tags)
319
+ SENSITIVE = []
279
320
  include Aws::Structure
280
321
  end
281
322
 
@@ -292,6 +333,7 @@ module Aws::States
292
333
  class CreateActivityOutput < Struct.new(
293
334
  :activity_arn,
294
335
  :creation_date)
336
+ SENSITIVE = []
295
337
  include Aws::Structure
296
338
  end
297
339
 
@@ -320,6 +362,9 @@ module Aws::States
320
362
  # value: "TagValue",
321
363
  # },
322
364
  # ],
365
+ # tracing_configuration: {
366
+ # enabled: false,
367
+ # },
323
368
  # }
324
369
  #
325
370
  # @!attribute [rw] name
@@ -391,6 +436,10 @@ module Aws::States
391
436
  # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_iam-tags.html
392
437
  # @return [Array<Types::Tag>]
393
438
  #
439
+ # @!attribute [rw] tracing_configuration
440
+ # Selects whether AWS X-Ray tracing is enabled.
441
+ # @return [Types::TracingConfiguration]
442
+ #
394
443
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/CreateStateMachineInput AWS API Documentation
395
444
  #
396
445
  class CreateStateMachineInput < Struct.new(
@@ -399,7 +448,9 @@ module Aws::States
399
448
  :role_arn,
400
449
  :type,
401
450
  :logging_configuration,
402
- :tags)
451
+ :tags,
452
+ :tracing_configuration)
453
+ SENSITIVE = [:definition]
403
454
  include Aws::Structure
404
455
  end
405
456
 
@@ -417,6 +468,7 @@ module Aws::States
417
468
  class CreateStateMachineOutput < Struct.new(
418
469
  :state_machine_arn,
419
470
  :creation_date)
471
+ SENSITIVE = []
420
472
  include Aws::Structure
421
473
  end
422
474
 
@@ -435,6 +487,7 @@ module Aws::States
435
487
  #
436
488
  class DeleteActivityInput < Struct.new(
437
489
  :activity_arn)
490
+ SENSITIVE = []
438
491
  include Aws::Structure
439
492
  end
440
493
 
@@ -457,6 +510,7 @@ module Aws::States
457
510
  #
458
511
  class DeleteStateMachineInput < Struct.new(
459
512
  :state_machine_arn)
513
+ SENSITIVE = []
460
514
  include Aws::Structure
461
515
  end
462
516
 
@@ -479,6 +533,7 @@ module Aws::States
479
533
  #
480
534
  class DescribeActivityInput < Struct.new(
481
535
  :activity_arn)
536
+ SENSITIVE = []
482
537
  include Aws::Structure
483
538
  end
484
539
 
@@ -515,6 +570,7 @@ module Aws::States
515
570
  :activity_arn,
516
571
  :name,
517
572
  :creation_date)
573
+ SENSITIVE = []
518
574
  include Aws::Structure
519
575
  end
520
576
 
@@ -533,6 +589,7 @@ module Aws::States
533
589
  #
534
590
  class DescribeExecutionInput < Struct.new(
535
591
  :execution_arn)
592
+ SENSITIVE = []
536
593
  include Aws::Structure
537
594
  end
538
595
 
@@ -577,10 +634,17 @@ module Aws::States
577
634
  #
578
635
  # @!attribute [rw] input
579
636
  # The string that contains the JSON input data of the execution.
637
+ # Length constraints apply to the payload size, and are expressed as
638
+ # bytes in UTF-8 encoding.
580
639
  # @return [String]
581
640
  #
641
+ # @!attribute [rw] input_details
642
+ # Provides details about execution input or output.
643
+ # @return [Types::CloudWatchEventsExecutionDataDetails]
644
+ #
582
645
  # @!attribute [rw] output
583
- # The JSON output data of the execution.
646
+ # The JSON output data of the execution. Length constraints apply to
647
+ # the payload size, and are expressed as bytes in UTF-8 encoding.
584
648
  #
585
649
  # <note markdown="1"> This field is set only if the execution succeeds. If the execution
586
650
  # fails, this field is null.
@@ -588,6 +652,14 @@ module Aws::States
588
652
  # </note>
589
653
  # @return [String]
590
654
  #
655
+ # @!attribute [rw] output_details
656
+ # Provides details about execution input or output.
657
+ # @return [Types::CloudWatchEventsExecutionDataDetails]
658
+ #
659
+ # @!attribute [rw] trace_header
660
+ # The AWS X-Ray trace header which was passed to the execution.
661
+ # @return [String]
662
+ #
591
663
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeExecutionOutput AWS API Documentation
592
664
  #
593
665
  class DescribeExecutionOutput < Struct.new(
@@ -598,7 +670,11 @@ module Aws::States
598
670
  :start_date,
599
671
  :stop_date,
600
672
  :input,
601
- :output)
673
+ :input_details,
674
+ :output,
675
+ :output_details,
676
+ :trace_header)
677
+ SENSITIVE = [:input, :output]
602
678
  include Aws::Structure
603
679
  end
604
680
 
@@ -618,6 +694,7 @@ module Aws::States
618
694
  #
619
695
  class DescribeStateMachineForExecutionInput < Struct.new(
620
696
  :execution_arn)
697
+ SENSITIVE = []
621
698
  include Aws::Structure
622
699
  end
623
700
 
@@ -655,6 +732,10 @@ module Aws::States
655
732
  # options.
656
733
  # @return [Types::LoggingConfiguration]
657
734
  #
735
+ # @!attribute [rw] tracing_configuration
736
+ # Selects whether AWS X-Ray tracing is enabled.
737
+ # @return [Types::TracingConfiguration]
738
+ #
658
739
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachineForExecutionOutput AWS API Documentation
659
740
  #
660
741
  class DescribeStateMachineForExecutionOutput < Struct.new(
@@ -663,7 +744,9 @@ module Aws::States
663
744
  :definition,
664
745
  :role_arn,
665
746
  :update_date,
666
- :logging_configuration)
747
+ :logging_configuration,
748
+ :tracing_configuration)
749
+ SENSITIVE = [:definition]
667
750
  include Aws::Structure
668
751
  end
669
752
 
@@ -682,6 +765,7 @@ module Aws::States
682
765
  #
683
766
  class DescribeStateMachineInput < Struct.new(
684
767
  :state_machine_arn)
768
+ SENSITIVE = []
685
769
  include Aws::Structure
686
770
  end
687
771
 
@@ -740,6 +824,10 @@ module Aws::States
740
824
  # options.
741
825
  # @return [Types::LoggingConfiguration]
742
826
  #
827
+ # @!attribute [rw] tracing_configuration
828
+ # Selects whether AWS X-Ray tracing is enabled.
829
+ # @return [Types::TracingConfiguration]
830
+ #
743
831
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachineOutput AWS API Documentation
744
832
  #
745
833
  class DescribeStateMachineOutput < Struct.new(
@@ -750,7 +838,9 @@ module Aws::States
750
838
  :role_arn,
751
839
  :type,
752
840
  :creation_date,
753
- :logging_configuration)
841
+ :logging_configuration,
842
+ :tracing_configuration)
843
+ SENSITIVE = [:definition]
754
844
  include Aws::Structure
755
845
  end
756
846
 
@@ -769,6 +859,7 @@ module Aws::States
769
859
  class ExecutionAbortedEventDetails < Struct.new(
770
860
  :error,
771
861
  :cause)
862
+ SENSITIVE = [:error, :cause]
772
863
  include Aws::Structure
773
864
  end
774
865
 
@@ -786,6 +877,7 @@ module Aws::States
786
877
  #
787
878
  class ExecutionAlreadyExists < Struct.new(
788
879
  :message)
880
+ SENSITIVE = []
789
881
  include Aws::Structure
790
882
  end
791
883
 
@@ -798,6 +890,7 @@ module Aws::States
798
890
  #
799
891
  class ExecutionDoesNotExist < Struct.new(
800
892
  :message)
893
+ SENSITIVE = []
801
894
  include Aws::Structure
802
895
  end
803
896
 
@@ -816,6 +909,7 @@ module Aws::States
816
909
  class ExecutionFailedEventDetails < Struct.new(
817
910
  :error,
818
911
  :cause)
912
+ SENSITIVE = [:error, :cause]
819
913
  include Aws::Structure
820
914
  end
821
915
 
@@ -830,6 +924,7 @@ module Aws::States
830
924
  #
831
925
  class ExecutionLimitExceeded < Struct.new(
832
926
  :message)
927
+ SENSITIVE = []
833
928
  include Aws::Structure
834
929
  end
835
930
 
@@ -883,15 +978,21 @@ module Aws::States
883
978
  :status,
884
979
  :start_date,
885
980
  :stop_date)
981
+ SENSITIVE = []
886
982
  include Aws::Structure
887
983
  end
888
984
 
889
985
  # Contains details about the start of the execution.
890
986
  #
891
987
  # @!attribute [rw] input
892
- # The JSON data input to the execution.
988
+ # The JSON data input to the execution. Length constraints apply to
989
+ # the payload size, and are expressed as bytes in UTF-8 encoding.
893
990
  # @return [String]
894
991
  #
992
+ # @!attribute [rw] input_details
993
+ # Contains details about the input for an execution history event.
994
+ # @return [Types::HistoryEventExecutionDataDetails]
995
+ #
895
996
  # @!attribute [rw] role_arn
896
997
  # The Amazon Resource Name (ARN) of the IAM role used for executing
897
998
  # AWS Lambda tasks.
@@ -901,20 +1002,29 @@ module Aws::States
901
1002
  #
902
1003
  class ExecutionStartedEventDetails < Struct.new(
903
1004
  :input,
1005
+ :input_details,
904
1006
  :role_arn)
1007
+ SENSITIVE = [:input]
905
1008
  include Aws::Structure
906
1009
  end
907
1010
 
908
1011
  # Contains details about the successful termination of the execution.
909
1012
  #
910
1013
  # @!attribute [rw] output
911
- # The JSON data output by the execution.
1014
+ # The JSON data output by the execution. Length constraints apply to
1015
+ # the payload size, and are expressed as bytes in UTF-8 encoding.
912
1016
  # @return [String]
913
1017
  #
1018
+ # @!attribute [rw] output_details
1019
+ # Contains details about the output of an execution history event.
1020
+ # @return [Types::HistoryEventExecutionDataDetails]
1021
+ #
914
1022
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ExecutionSucceededEventDetails AWS API Documentation
915
1023
  #
916
1024
  class ExecutionSucceededEventDetails < Struct.new(
917
- :output)
1025
+ :output,
1026
+ :output_details)
1027
+ SENSITIVE = [:output]
918
1028
  include Aws::Structure
919
1029
  end
920
1030
 
@@ -934,6 +1044,7 @@ module Aws::States
934
1044
  class ExecutionTimedOutEventDetails < Struct.new(
935
1045
  :error,
936
1046
  :cause)
1047
+ SENSITIVE = [:error, :cause]
937
1048
  include Aws::Structure
938
1049
  end
939
1050
 
@@ -961,6 +1072,7 @@ module Aws::States
961
1072
  class GetActivityTaskInput < Struct.new(
962
1073
  :activity_arn,
963
1074
  :worker_name)
1075
+ SENSITIVE = []
964
1076
  include Aws::Structure
965
1077
  end
966
1078
 
@@ -972,7 +1084,9 @@ module Aws::States
972
1084
  # @return [String]
973
1085
  #
974
1086
  # @!attribute [rw] input
975
- # The string that contains the JSON input data for the task.
1087
+ # The string that contains the JSON input data for the task. Length
1088
+ # constraints apply to the payload size, and are expressed as bytes in
1089
+ # UTF-8 encoding.
976
1090
  # @return [String]
977
1091
  #
978
1092
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/GetActivityTaskOutput AWS API Documentation
@@ -980,6 +1094,7 @@ module Aws::States
980
1094
  class GetActivityTaskOutput < Struct.new(
981
1095
  :task_token,
982
1096
  :input)
1097
+ SENSITIVE = [:input]
983
1098
  include Aws::Structure
984
1099
  end
985
1100
 
@@ -991,6 +1106,7 @@ module Aws::States
991
1106
  # max_results: 1,
992
1107
  # reverse_order: false,
993
1108
  # next_token: "PageToken",
1109
+ # include_execution_data: false,
994
1110
  # }
995
1111
  #
996
1112
  # @!attribute [rw] execution_arn
@@ -1020,13 +1136,20 @@ module Aws::States
1020
1136
  # return an *HTTP 400 InvalidToken* error.
1021
1137
  # @return [String]
1022
1138
  #
1139
+ # @!attribute [rw] include_execution_data
1140
+ # You can select whether execution data (input or output of a history
1141
+ # event) is returned. The default is `true`.
1142
+ # @return [Boolean]
1143
+ #
1023
1144
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/GetExecutionHistoryInput AWS API Documentation
1024
1145
  #
1025
1146
  class GetExecutionHistoryInput < Struct.new(
1026
1147
  :execution_arn,
1027
1148
  :max_results,
1028
1149
  :reverse_order,
1029
- :next_token)
1150
+ :next_token,
1151
+ :include_execution_data)
1152
+ SENSITIVE = []
1030
1153
  include Aws::Structure
1031
1154
  end
1032
1155
 
@@ -1048,6 +1171,7 @@ module Aws::States
1048
1171
  class GetExecutionHistoryOutput < Struct.new(
1049
1172
  :events,
1050
1173
  :next_token)
1174
+ SENSITIVE = []
1051
1175
  include Aws::Structure
1052
1176
  end
1053
1177
 
@@ -1247,6 +1371,22 @@ module Aws::States
1247
1371
  :lambda_function_timed_out_event_details,
1248
1372
  :state_entered_event_details,
1249
1373
  :state_exited_event_details)
1374
+ SENSITIVE = []
1375
+ include Aws::Structure
1376
+ end
1377
+
1378
+ # Provides details about input or output in an execution history event.
1379
+ #
1380
+ # @!attribute [rw] truncated
1381
+ # Indicates whether input or output was truncated in the response.
1382
+ # Always `false` for API calls.
1383
+ # @return [Boolean]
1384
+ #
1385
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/HistoryEventExecutionDataDetails AWS API Documentation
1386
+ #
1387
+ class HistoryEventExecutionDataDetails < Struct.new(
1388
+ :truncated)
1389
+ SENSITIVE = []
1250
1390
  include Aws::Structure
1251
1391
  end
1252
1392
 
@@ -1259,6 +1399,7 @@ module Aws::States
1259
1399
  #
1260
1400
  class InvalidArn < Struct.new(
1261
1401
  :message)
1402
+ SENSITIVE = []
1262
1403
  include Aws::Structure
1263
1404
  end
1264
1405
 
@@ -1271,6 +1412,7 @@ module Aws::States
1271
1412
  #
1272
1413
  class InvalidDefinition < Struct.new(
1273
1414
  :message)
1415
+ SENSITIVE = []
1274
1416
  include Aws::Structure
1275
1417
  end
1276
1418
 
@@ -1283,6 +1425,7 @@ module Aws::States
1283
1425
  #
1284
1426
  class InvalidExecutionInput < Struct.new(
1285
1427
  :message)
1428
+ SENSITIVE = []
1286
1429
  include Aws::Structure
1287
1430
  end
1288
1431
 
@@ -1293,6 +1436,7 @@ module Aws::States
1293
1436
  #
1294
1437
  class InvalidLoggingConfiguration < Struct.new(
1295
1438
  :message)
1439
+ SENSITIVE = []
1296
1440
  include Aws::Structure
1297
1441
  end
1298
1442
 
@@ -1305,6 +1449,7 @@ module Aws::States
1305
1449
  #
1306
1450
  class InvalidName < Struct.new(
1307
1451
  :message)
1452
+ SENSITIVE = []
1308
1453
  include Aws::Structure
1309
1454
  end
1310
1455
 
@@ -1317,6 +1462,7 @@ module Aws::States
1317
1462
  #
1318
1463
  class InvalidOutput < Struct.new(
1319
1464
  :message)
1465
+ SENSITIVE = []
1320
1466
  include Aws::Structure
1321
1467
  end
1322
1468
 
@@ -1329,6 +1475,21 @@ module Aws::States
1329
1475
  #
1330
1476
  class InvalidToken < Struct.new(
1331
1477
  :message)
1478
+ SENSITIVE = []
1479
+ include Aws::Structure
1480
+ end
1481
+
1482
+ # Your `tracingConfiguration` key does not match, or `enabled` has not
1483
+ # been set to `true` or `false`.
1484
+ #
1485
+ # @!attribute [rw] message
1486
+ # @return [String]
1487
+ #
1488
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/InvalidTracingConfiguration AWS API Documentation
1489
+ #
1490
+ class InvalidTracingConfiguration < Struct.new(
1491
+ :message)
1492
+ SENSITIVE = []
1332
1493
  include Aws::Structure
1333
1494
  end
1334
1495
 
@@ -1348,6 +1509,7 @@ module Aws::States
1348
1509
  class LambdaFunctionFailedEventDetails < Struct.new(
1349
1510
  :error,
1350
1511
  :cause)
1512
+ SENSITIVE = [:error, :cause]
1351
1513
  include Aws::Structure
1352
1514
  end
1353
1515
 
@@ -1367,6 +1529,7 @@ module Aws::States
1367
1529
  class LambdaFunctionScheduleFailedEventDetails < Struct.new(
1368
1530
  :error,
1369
1531
  :cause)
1532
+ SENSITIVE = [:error, :cause]
1370
1533
  include Aws::Structure
1371
1534
  end
1372
1535
 
@@ -1378,9 +1541,14 @@ module Aws::States
1378
1541
  # @return [String]
1379
1542
  #
1380
1543
  # @!attribute [rw] input
1381
- # The JSON data input to the lambda function.
1544
+ # The JSON data input to the lambda function. Length constraints apply
1545
+ # to the payload size, and are expressed as bytes in UTF-8 encoding.
1382
1546
  # @return [String]
1383
1547
  #
1548
+ # @!attribute [rw] input_details
1549
+ # Contains details about input for an execution history event.
1550
+ # @return [Types::HistoryEventExecutionDataDetails]
1551
+ #
1384
1552
  # @!attribute [rw] timeout_in_seconds
1385
1553
  # The maximum allowed duration of the lambda function.
1386
1554
  # @return [Integer]
@@ -1390,7 +1558,9 @@ module Aws::States
1390
1558
  class LambdaFunctionScheduledEventDetails < Struct.new(
1391
1559
  :resource,
1392
1560
  :input,
1561
+ :input_details,
1393
1562
  :timeout_in_seconds)
1563
+ SENSITIVE = [:input]
1394
1564
  include Aws::Structure
1395
1565
  end
1396
1566
 
@@ -1410,6 +1580,7 @@ module Aws::States
1410
1580
  class LambdaFunctionStartFailedEventDetails < Struct.new(
1411
1581
  :error,
1412
1582
  :cause)
1583
+ SENSITIVE = [:error, :cause]
1413
1584
  include Aws::Structure
1414
1585
  end
1415
1586
 
@@ -1417,13 +1588,21 @@ module Aws::States
1417
1588
  # during an execution.
1418
1589
  #
1419
1590
  # @!attribute [rw] output
1420
- # The JSON data output by the lambda function.
1591
+ # The JSON data output by the lambda function. Length constraints
1592
+ # apply to the payload size, and are expressed as bytes in UTF-8
1593
+ # encoding.
1421
1594
  # @return [String]
1422
1595
  #
1596
+ # @!attribute [rw] output_details
1597
+ # Contains details about the output of an execution history event.
1598
+ # @return [Types::HistoryEventExecutionDataDetails]
1599
+ #
1423
1600
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/LambdaFunctionSucceededEventDetails AWS API Documentation
1424
1601
  #
1425
1602
  class LambdaFunctionSucceededEventDetails < Struct.new(
1426
- :output)
1603
+ :output,
1604
+ :output_details)
1605
+ SENSITIVE = [:output]
1427
1606
  include Aws::Structure
1428
1607
  end
1429
1608
 
@@ -1443,6 +1622,7 @@ module Aws::States
1443
1622
  class LambdaFunctionTimedOutEventDetails < Struct.new(
1444
1623
  :error,
1445
1624
  :cause)
1625
+ SENSITIVE = [:error, :cause]
1446
1626
  include Aws::Structure
1447
1627
  end
1448
1628
 
@@ -1478,6 +1658,7 @@ module Aws::States
1478
1658
  class ListActivitiesInput < Struct.new(
1479
1659
  :max_results,
1480
1660
  :next_token)
1661
+ SENSITIVE = []
1481
1662
  include Aws::Structure
1482
1663
  end
1483
1664
 
@@ -1499,6 +1680,7 @@ module Aws::States
1499
1680
  class ListActivitiesOutput < Struct.new(
1500
1681
  :activities,
1501
1682
  :next_token)
1683
+ SENSITIVE = []
1502
1684
  include Aws::Structure
1503
1685
  end
1504
1686
 
@@ -1548,6 +1730,7 @@ module Aws::States
1548
1730
  :status_filter,
1549
1731
  :max_results,
1550
1732
  :next_token)
1733
+ SENSITIVE = []
1551
1734
  include Aws::Structure
1552
1735
  end
1553
1736
 
@@ -1569,6 +1752,7 @@ module Aws::States
1569
1752
  class ListExecutionsOutput < Struct.new(
1570
1753
  :executions,
1571
1754
  :next_token)
1755
+ SENSITIVE = []
1572
1756
  include Aws::Structure
1573
1757
  end
1574
1758
 
@@ -1604,6 +1788,7 @@ module Aws::States
1604
1788
  class ListStateMachinesInput < Struct.new(
1605
1789
  :max_results,
1606
1790
  :next_token)
1791
+ SENSITIVE = []
1607
1792
  include Aws::Structure
1608
1793
  end
1609
1794
 
@@ -1624,6 +1809,7 @@ module Aws::States
1624
1809
  class ListStateMachinesOutput < Struct.new(
1625
1810
  :state_machines,
1626
1811
  :next_token)
1812
+ SENSITIVE = []
1627
1813
  include Aws::Structure
1628
1814
  end
1629
1815
 
@@ -1643,6 +1829,7 @@ module Aws::States
1643
1829
  #
1644
1830
  class ListTagsForResourceInput < Struct.new(
1645
1831
  :resource_arn)
1832
+ SENSITIVE = []
1646
1833
  include Aws::Structure
1647
1834
  end
1648
1835
 
@@ -1654,6 +1841,7 @@ module Aws::States
1654
1841
  #
1655
1842
  class ListTagsForResourceOutput < Struct.new(
1656
1843
  :tags)
1844
+ SENSITIVE = []
1657
1845
  include Aws::Structure
1658
1846
  end
1659
1847
 
@@ -1679,6 +1867,7 @@ module Aws::States
1679
1867
  #
1680
1868
  class LogDestination < Struct.new(
1681
1869
  :cloud_watch_logs_log_group)
1870
+ SENSITIVE = []
1682
1871
  include Aws::Structure
1683
1872
  end
1684
1873
 
@@ -1706,7 +1895,7 @@ module Aws::States
1706
1895
  #
1707
1896
  # @!attribute [rw] include_execution_data
1708
1897
  # Determines whether execution data is included in your log. When set
1709
- # to `FALSE`, data is excluded.
1898
+ # to `false`, data is excluded.
1710
1899
  # @return [Boolean]
1711
1900
  #
1712
1901
  # @!attribute [rw] destinations
@@ -1721,6 +1910,7 @@ module Aws::States
1721
1910
  :level,
1722
1911
  :include_execution_data,
1723
1912
  :destinations)
1913
+ SENSITIVE = []
1724
1914
  include Aws::Structure
1725
1915
  end
1726
1916
 
@@ -1739,6 +1929,7 @@ module Aws::States
1739
1929
  class MapIterationEventDetails < Struct.new(
1740
1930
  :name,
1741
1931
  :index)
1932
+ SENSITIVE = []
1742
1933
  include Aws::Structure
1743
1934
  end
1744
1935
 
@@ -1752,6 +1943,7 @@ module Aws::States
1752
1943
  #
1753
1944
  class MapStateStartedEventDetails < Struct.new(
1754
1945
  :length)
1946
+ SENSITIVE = []
1755
1947
  include Aws::Structure
1756
1948
  end
1757
1949
 
@@ -1765,6 +1957,7 @@ module Aws::States
1765
1957
  #
1766
1958
  class MissingRequiredParameter < Struct.new(
1767
1959
  :message)
1960
+ SENSITIVE = []
1768
1961
  include Aws::Structure
1769
1962
  end
1770
1963
 
@@ -1782,6 +1975,7 @@ module Aws::States
1782
1975
  class ResourceNotFound < Struct.new(
1783
1976
  :message,
1784
1977
  :resource_name)
1978
+ SENSITIVE = []
1785
1979
  include Aws::Structure
1786
1980
  end
1787
1981
 
@@ -1819,6 +2013,7 @@ module Aws::States
1819
2013
  :task_token,
1820
2014
  :error,
1821
2015
  :cause)
2016
+ SENSITIVE = [:error, :cause]
1822
2017
  include Aws::Structure
1823
2018
  end
1824
2019
 
@@ -1848,6 +2043,7 @@ module Aws::States
1848
2043
  #
1849
2044
  class SendTaskHeartbeatInput < Struct.new(
1850
2045
  :task_token)
2046
+ SENSITIVE = []
1851
2047
  include Aws::Structure
1852
2048
  end
1853
2049
 
@@ -1875,7 +2071,8 @@ module Aws::States
1875
2071
  # @return [String]
1876
2072
  #
1877
2073
  # @!attribute [rw] output
1878
- # The JSON output of the task.
2074
+ # The JSON output of the task. Length constraints apply to the payload
2075
+ # size, and are expressed as bytes in UTF-8 encoding.
1879
2076
  # @return [String]
1880
2077
  #
1881
2078
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskSuccessInput AWS API Documentation
@@ -1883,6 +2080,7 @@ module Aws::States
1883
2080
  class SendTaskSuccessInput < Struct.new(
1884
2081
  :task_token,
1885
2082
  :output)
2083
+ SENSITIVE = [:output]
1886
2084
  include Aws::Structure
1887
2085
  end
1888
2086
 
@@ -1897,6 +2095,7 @@ module Aws::States
1897
2095
  # state_machine_arn: "Arn", # required
1898
2096
  # name: "Name",
1899
2097
  # input: "SensitiveData",
2098
+ # trace_header: "TraceHeader",
1900
2099
  # }
1901
2100
  #
1902
2101
  # @!attribute [rw] state_machine_arn
@@ -1939,6 +2138,14 @@ module Aws::States
1939
2138
  # the two braces, for example: `"input": "\{\}"`
1940
2139
  #
1941
2140
  # </note>
2141
+ #
2142
+ # Length constraints apply to the payload size, and are expressed as
2143
+ # bytes in UTF-8 encoding.
2144
+ # @return [String]
2145
+ #
2146
+ # @!attribute [rw] trace_header
2147
+ # Passes the AWS X-Ray trace header. The trace header can also be
2148
+ # passed in the request payload.
1942
2149
  # @return [String]
1943
2150
  #
1944
2151
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StartExecutionInput AWS API Documentation
@@ -1946,7 +2153,9 @@ module Aws::States
1946
2153
  class StartExecutionInput < Struct.new(
1947
2154
  :state_machine_arn,
1948
2155
  :name,
1949
- :input)
2156
+ :input,
2157
+ :trace_header)
2158
+ SENSITIVE = [:input]
1950
2159
  include Aws::Structure
1951
2160
  end
1952
2161
 
@@ -1963,6 +2172,7 @@ module Aws::States
1963
2172
  class StartExecutionOutput < Struct.new(
1964
2173
  :execution_arn,
1965
2174
  :start_date)
2175
+ SENSITIVE = []
1966
2176
  include Aws::Structure
1967
2177
  end
1968
2178
 
@@ -1973,14 +2183,22 @@ module Aws::States
1973
2183
  # @return [String]
1974
2184
  #
1975
2185
  # @!attribute [rw] input
1976
- # The string that contains the JSON input data for the state.
2186
+ # The string that contains the JSON input data for the state. Length
2187
+ # constraints apply to the payload size, and are expressed as bytes in
2188
+ # UTF-8 encoding.
1977
2189
  # @return [String]
1978
2190
  #
2191
+ # @!attribute [rw] input_details
2192
+ # Contains details about the input for an execution history event.
2193
+ # @return [Types::HistoryEventExecutionDataDetails]
2194
+ #
1979
2195
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StateEnteredEventDetails AWS API Documentation
1980
2196
  #
1981
2197
  class StateEnteredEventDetails < Struct.new(
1982
2198
  :name,
1983
- :input)
2199
+ :input,
2200
+ :input_details)
2201
+ SENSITIVE = [:input]
1984
2202
  include Aws::Structure
1985
2203
  end
1986
2204
 
@@ -2006,14 +2224,21 @@ module Aws::States
2006
2224
  # @return [String]
2007
2225
  #
2008
2226
  # @!attribute [rw] output
2009
- # The JSON output data of the state.
2227
+ # The JSON output data of the state. Length constraints apply to the
2228
+ # payload size, and are expressed as bytes in UTF-8 encoding.
2010
2229
  # @return [String]
2011
2230
  #
2231
+ # @!attribute [rw] output_details
2232
+ # Contains details about the output of an execution history event.
2233
+ # @return [Types::HistoryEventExecutionDataDetails]
2234
+ #
2012
2235
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StateExitedEventDetails AWS API Documentation
2013
2236
  #
2014
2237
  class StateExitedEventDetails < Struct.new(
2015
2238
  :name,
2016
- :output)
2239
+ :output,
2240
+ :output_details)
2241
+ SENSITIVE = [:output]
2017
2242
  include Aws::Structure
2018
2243
  end
2019
2244
 
@@ -2027,6 +2252,7 @@ module Aws::States
2027
2252
  #
2028
2253
  class StateMachineAlreadyExists < Struct.new(
2029
2254
  :message)
2255
+ SENSITIVE = []
2030
2256
  include Aws::Structure
2031
2257
  end
2032
2258
 
@@ -2039,6 +2265,7 @@ module Aws::States
2039
2265
  #
2040
2266
  class StateMachineDeleting < Struct.new(
2041
2267
  :message)
2268
+ SENSITIVE = []
2042
2269
  include Aws::Structure
2043
2270
  end
2044
2271
 
@@ -2051,6 +2278,7 @@ module Aws::States
2051
2278
  #
2052
2279
  class StateMachineDoesNotExist < Struct.new(
2053
2280
  :message)
2281
+ SENSITIVE = []
2054
2282
  include Aws::Structure
2055
2283
  end
2056
2284
 
@@ -2064,6 +2292,7 @@ module Aws::States
2064
2292
  #
2065
2293
  class StateMachineLimitExceeded < Struct.new(
2066
2294
  :message)
2295
+ SENSITIVE = []
2067
2296
  include Aws::Structure
2068
2297
  end
2069
2298
 
@@ -2106,6 +2335,7 @@ module Aws::States
2106
2335
  :name,
2107
2336
  :type,
2108
2337
  :creation_date)
2338
+ SENSITIVE = []
2109
2339
  include Aws::Structure
2110
2340
  end
2111
2341
 
@@ -2116,6 +2346,7 @@ module Aws::States
2116
2346
  #
2117
2347
  class StateMachineTypeNotSupported < Struct.new(
2118
2348
  :message)
2349
+ SENSITIVE = []
2119
2350
  include Aws::Structure
2120
2351
  end
2121
2352
 
@@ -2146,6 +2377,7 @@ module Aws::States
2146
2377
  :execution_arn,
2147
2378
  :error,
2148
2379
  :cause)
2380
+ SENSITIVE = [:error, :cause]
2149
2381
  include Aws::Structure
2150
2382
  end
2151
2383
 
@@ -2157,6 +2389,7 @@ module Aws::States
2157
2389
  #
2158
2390
  class StopExecutionOutput < Struct.new(
2159
2391
  :stop_date)
2392
+ SENSITIVE = []
2160
2393
  include Aws::Structure
2161
2394
  end
2162
2395
 
@@ -2196,6 +2429,7 @@ module Aws::States
2196
2429
  class Tag < Struct.new(
2197
2430
  :key,
2198
2431
  :value)
2432
+ SENSITIVE = []
2199
2433
  include Aws::Structure
2200
2434
  end
2201
2435
 
@@ -2229,6 +2463,7 @@ module Aws::States
2229
2463
  class TagResourceInput < Struct.new(
2230
2464
  :resource_arn,
2231
2465
  :tags)
2466
+ SENSITIVE = []
2232
2467
  include Aws::Structure
2233
2468
  end
2234
2469
 
@@ -2243,6 +2478,7 @@ module Aws::States
2243
2478
  #
2244
2479
  class TaskDoesNotExist < Struct.new(
2245
2480
  :message)
2481
+ SENSITIVE = []
2246
2482
  include Aws::Structure
2247
2483
  end
2248
2484
 
@@ -2271,6 +2507,7 @@ module Aws::States
2271
2507
  :resource,
2272
2508
  :error,
2273
2509
  :cause)
2510
+ SENSITIVE = [:error, :cause]
2274
2511
  include Aws::Structure
2275
2512
  end
2276
2513
 
@@ -2290,12 +2527,18 @@ module Aws::States
2290
2527
  #
2291
2528
  # @!attribute [rw] parameters
2292
2529
  # The JSON data passed to the resource referenced in a task state.
2530
+ # Length constraints apply to the payload size, and are expressed as
2531
+ # bytes in UTF-8 encoding.
2293
2532
  # @return [String]
2294
2533
  #
2295
2534
  # @!attribute [rw] timeout_in_seconds
2296
2535
  # The maximum allowed duration of the task.
2297
2536
  # @return [Integer]
2298
2537
  #
2538
+ # @!attribute [rw] heartbeat_in_seconds
2539
+ # The maximum allowed duration between two heartbeats for the task.
2540
+ # @return [Integer]
2541
+ #
2299
2542
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/TaskScheduledEventDetails AWS API Documentation
2300
2543
  #
2301
2544
  class TaskScheduledEventDetails < Struct.new(
@@ -2303,7 +2546,9 @@ module Aws::States
2303
2546
  :resource,
2304
2547
  :region,
2305
2548
  :parameters,
2306
- :timeout_in_seconds)
2549
+ :timeout_in_seconds,
2550
+ :heartbeat_in_seconds)
2551
+ SENSITIVE = [:parameters]
2307
2552
  include Aws::Structure
2308
2553
  end
2309
2554
 
@@ -2333,6 +2578,7 @@ module Aws::States
2333
2578
  :resource,
2334
2579
  :error,
2335
2580
  :cause)
2581
+ SENSITIVE = [:error, :cause]
2336
2582
  include Aws::Structure
2337
2583
  end
2338
2584
 
@@ -2351,6 +2597,7 @@ module Aws::States
2351
2597
  class TaskStartedEventDetails < Struct.new(
2352
2598
  :resource_type,
2353
2599
  :resource)
2600
+ SENSITIVE = []
2354
2601
  include Aws::Structure
2355
2602
  end
2356
2603
 
@@ -2380,6 +2627,7 @@ module Aws::States
2380
2627
  :resource,
2381
2628
  :error,
2382
2629
  :cause)
2630
+ SENSITIVE = [:error, :cause]
2383
2631
  include Aws::Structure
2384
2632
  end
2385
2633
 
@@ -2394,15 +2642,23 @@ module Aws::States
2394
2642
  # @return [String]
2395
2643
  #
2396
2644
  # @!attribute [rw] output
2397
- # The response from a resource when a task has started.
2645
+ # The response from a resource when a task has started. Length
2646
+ # constraints apply to the payload size, and are expressed as bytes in
2647
+ # UTF-8 encoding.
2398
2648
  # @return [String]
2399
2649
  #
2650
+ # @!attribute [rw] output_details
2651
+ # Contains details about the output of an execution history event.
2652
+ # @return [Types::HistoryEventExecutionDataDetails]
2653
+ #
2400
2654
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/TaskSubmittedEventDetails AWS API Documentation
2401
2655
  #
2402
2656
  class TaskSubmittedEventDetails < Struct.new(
2403
2657
  :resource_type,
2404
2658
  :resource,
2405
- :output)
2659
+ :output,
2660
+ :output_details)
2661
+ SENSITIVE = [:output]
2406
2662
  include Aws::Structure
2407
2663
  end
2408
2664
 
@@ -2418,15 +2674,23 @@ module Aws::States
2418
2674
  #
2419
2675
  # @!attribute [rw] output
2420
2676
  # The full JSON response from a resource when a task has succeeded.
2421
- # This response becomes the output of the related task.
2677
+ # This response becomes the output of the related task. Length
2678
+ # constraints apply to the payload size, and are expressed as bytes in
2679
+ # UTF-8 encoding.
2422
2680
  # @return [String]
2423
2681
  #
2682
+ # @!attribute [rw] output_details
2683
+ # Contains details about the output of an execution history event.
2684
+ # @return [Types::HistoryEventExecutionDataDetails]
2685
+ #
2424
2686
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/TaskSucceededEventDetails AWS API Documentation
2425
2687
  #
2426
2688
  class TaskSucceededEventDetails < Struct.new(
2427
2689
  :resource_type,
2428
2690
  :resource,
2429
- :output)
2691
+ :output,
2692
+ :output_details)
2693
+ SENSITIVE = [:output]
2430
2694
  include Aws::Structure
2431
2695
  end
2432
2696
 
@@ -2437,6 +2701,7 @@ module Aws::States
2437
2701
  #
2438
2702
  class TaskTimedOut < Struct.new(
2439
2703
  :message)
2704
+ SENSITIVE = []
2440
2705
  include Aws::Structure
2441
2706
  end
2442
2707
 
@@ -2466,6 +2731,7 @@ module Aws::States
2466
2731
  :resource,
2467
2732
  :error,
2468
2733
  :cause)
2734
+ SENSITIVE = [:error, :cause]
2469
2735
  include Aws::Structure
2470
2736
  end
2471
2737
 
@@ -2487,6 +2753,29 @@ module Aws::States
2487
2753
  class TooManyTags < Struct.new(
2488
2754
  :message,
2489
2755
  :resource_name)
2756
+ SENSITIVE = []
2757
+ include Aws::Structure
2758
+ end
2759
+
2760
+ # Selects whether or not the state machine's AWS X-Ray tracing is
2761
+ # enabled. Default is `false`
2762
+ #
2763
+ # @note When making an API call, you may pass TracingConfiguration
2764
+ # data as a hash:
2765
+ #
2766
+ # {
2767
+ # enabled: false,
2768
+ # }
2769
+ #
2770
+ # @!attribute [rw] enabled
2771
+ # When set to `true`, AWS X-Ray tracing is enabled.
2772
+ # @return [Boolean]
2773
+ #
2774
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/TracingConfiguration AWS API Documentation
2775
+ #
2776
+ class TracingConfiguration < Struct.new(
2777
+ :enabled)
2778
+ SENSITIVE = []
2490
2779
  include Aws::Structure
2491
2780
  end
2492
2781
 
@@ -2512,6 +2801,7 @@ module Aws::States
2512
2801
  class UntagResourceInput < Struct.new(
2513
2802
  :resource_arn,
2514
2803
  :tag_keys)
2804
+ SENSITIVE = []
2515
2805
  include Aws::Structure
2516
2806
  end
2517
2807
 
@@ -2537,6 +2827,9 @@ module Aws::States
2537
2827
  # },
2538
2828
  # ],
2539
2829
  # },
2830
+ # tracing_configuration: {
2831
+ # enabled: false,
2832
+ # },
2540
2833
  # }
2541
2834
  #
2542
2835
  # @!attribute [rw] state_machine_arn
@@ -2561,13 +2854,19 @@ module Aws::States
2561
2854
  # options.
2562
2855
  # @return [Types::LoggingConfiguration]
2563
2856
  #
2857
+ # @!attribute [rw] tracing_configuration
2858
+ # Selects whether AWS X-Ray tracing is enabled.
2859
+ # @return [Types::TracingConfiguration]
2860
+ #
2564
2861
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/UpdateStateMachineInput AWS API Documentation
2565
2862
  #
2566
2863
  class UpdateStateMachineInput < Struct.new(
2567
2864
  :state_machine_arn,
2568
2865
  :definition,
2569
2866
  :role_arn,
2570
- :logging_configuration)
2867
+ :logging_configuration,
2868
+ :tracing_configuration)
2869
+ SENSITIVE = [:definition]
2571
2870
  include Aws::Structure
2572
2871
  end
2573
2872
 
@@ -2579,6 +2878,7 @@ module Aws::States
2579
2878
  #
2580
2879
  class UpdateStateMachineOutput < Struct.new(
2581
2880
  :update_date)
2881
+ SENSITIVE = []
2582
2882
  include Aws::Structure
2583
2883
  end
2584
2884