package smaws-clients

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Source file types.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
open Smaws_Lib
let service =
  Service.{
    namespace = "states";
    endpointPrefix = "states";
    version = "2016-11-23";
    protocol = AwsJson_1_0
  };
type validation_exception_reason = | INVALID_ROUTING_CONFIGURATION
  | CANNOT_UPDATE_COMPLETED_MAP_RUN
  | MISSING_REQUIRED_PARAMETER
  | API_DOES_NOT_SUPPORT_LABELED_ARNS

type validation_exception = {
  reason: validation_exception_reason option;
  message: string option
}

type validate_state_machine_definition_severity = | ERROR

type validate_state_machine_definition_result_code = | FAIL
  | OK

type validate_state_machine_definition_diagnostic = {
  location: string option;
  message: string;
  code: string;
  severity: validate_state_machine_definition_severity
}

type validate_state_machine_definition_output = {
  diagnostics: validate_state_machine_definition_diagnostic list;
  result: validate_state_machine_definition_result_code
}

type state_machine_type = | EXPRESS
  | STANDARD

type validate_state_machine_definition_input = {
  type_: state_machine_type option;
  definition: string
}

type update_state_machine_output = {
  state_machine_version_arn: string option;
  revision_id: string option;
  update_date: float
}

type log_level = | OFF
  | FATAL
  | ERROR
  | ALL

type cloud_watch_logs_log_group = {
  log_group_arn: string option
}

type log_destination = {
  cloud_watch_logs_log_group: cloud_watch_logs_log_group option
}

type logging_configuration = {
  destinations: log_destination list option;
  include_execution_data: bool option;
  level: log_level option
}

type tracing_configuration = {
  enabled: bool option
}

type update_state_machine_input = {
  version_description: string option;
  publish: bool option;
  tracing_configuration: tracing_configuration option;
  logging_configuration: logging_configuration option;
  role_arn: string option;
  definition: string option;
  state_machine_arn: string
}

type update_state_machine_alias_output = {
  update_date: float
}

type routing_configuration_list_item = {
  weight: int;
  state_machine_version_arn: string
}

type update_state_machine_alias_input = {
  routing_configuration: routing_configuration_list_item list option;
  description: string option;
  state_machine_alias_arn: string
}

type state_machine_deleting = {
  message: string option
}

type resource_not_found = {
  resource_name: string option;
  message: string option
}

type invalid_arn = {
  message: string option
}

type conflict_exception = {
  message: string option
}

type state_machine_does_not_exist = {
  message: string option
}

type service_quota_exceeded_exception = {
  message: string option
}

type missing_required_parameter = {
  message: string option
}

type invalid_tracing_configuration = {
  message: string option
}

type invalid_logging_configuration = {
  message: string option
}

type invalid_definition = {
  message: string option
}

type update_map_run_output = unit

type update_map_run_input = {
  tolerated_failure_count: int option;
  tolerated_failure_percentage: float option;
  max_concurrency: int option;
  map_run_arn: string
}

type untag_resource_output = unit

type untag_resource_input = {
  tag_keys: string list;
  resource_arn: string
}

type too_many_tags = {
  resource_name: string option;
  message: string option
}

type inspection_data_request = {
  body: string option;
  headers: string option;
  url: string option;
  method_: string option;
  protocol: string option
}

type inspection_data_response = {
  body: string option;
  headers: string option;
  status_message: string option;
  status_code: string option;
  protocol: string option
}

type inspection_data = {
  response: inspection_data_response option;
  request: inspection_data_request option;
  after_result_path: string option;
  after_result_selector: string option;
  result: string option;
  after_parameters: string option;
  after_input_path: string option;
  input: string option
}

type test_execution_status = | CAUGHT_ERROR
  | RETRIABLE
  | FAILED
  | SUCCEEDED

type test_state_output = {
  status: test_execution_status option;
  next_state: string option;
  inspection_data: inspection_data option;
  cause: string option;
  error: string option;
  output: string option
}

type inspection_level = | TRACE
  | DEBUG
  | INFO

type test_state_input = {
  reveal_secrets: bool option;
  inspection_level: inspection_level option;
  input: string option;
  role_arn: string;
  definition: string
}

type invalid_execution_input = {
  message: string option
}

type task_timed_out_event_details = {
  cause: string option;
  error: string option;
  resource: string;
  resource_type: string
}

type task_timed_out = {
  message: string option
}

type history_event_execution_data_details = {
  truncated: bool option
}

type task_succeeded_event_details = {
  output_details: history_event_execution_data_details option;
  output: string option;
  resource: string;
  resource_type: string
}

type task_submitted_event_details = {
  output_details: history_event_execution_data_details option;
  output: string option;
  resource: string;
  resource_type: string
}

type task_submit_failed_event_details = {
  cause: string option;
  error: string option;
  resource: string;
  resource_type: string
}

type task_started_event_details = {
  resource: string;
  resource_type: string
}

type task_start_failed_event_details = {
  cause: string option;
  error: string option;
  resource: string;
  resource_type: string
}

type task_credentials = {
  role_arn: string option
}

type task_scheduled_event_details = {
  task_credentials: task_credentials option;
  heartbeat_in_seconds: int option;
  timeout_in_seconds: int option;
  parameters: string;
  region: string;
  resource: string;
  resource_type: string
}

type task_failed_event_details = {
  cause: string option;
  error: string option;
  resource: string;
  resource_type: string
}

type task_does_not_exist = {
  message: string option
}

type tag_resource_output = unit

type tag = {
  value: string option;
  key: string option
}

type tag_resource_input = {
  tags: tag list;
  resource_arn: string
}

type sync_execution_status = | TIMED_OUT
  | FAILED
  | SUCCEEDED

type stop_execution_output = {
  stop_date: float
}

type stop_execution_input = {
  cause: string option;
  error: string option;
  execution_arn: string
}

type execution_does_not_exist = {
  message: string option
}

type state_machine_version_list_item = {
  creation_date: float;
  state_machine_version_arn: string
}

type state_machine_type_not_supported = {
  message: string option
}

type state_machine_status = | DELETING
  | ACTIVE

type state_machine_list_item = {
  creation_date: float;
  type_: state_machine_type;
  name: string;
  state_machine_arn: string
}

type state_machine_limit_exceeded = {
  message: string option
}

type state_machine_already_exists = {
  message: string option
}

type state_machine_alias_list_item = {
  creation_date: float;
  state_machine_alias_arn: string
}

type state_exited_event_details = {
  output_details: history_event_execution_data_details option;
  output: string option;
  name: string
}

type state_entered_event_details = {
  input_details: history_event_execution_data_details option;
  input: string option;
  name: string
}

type cloud_watch_events_execution_data_details = {
  included: bool option
}

type billing_details = {
  billed_duration_in_milliseconds: int option;
  billed_memory_used_in_m_b: int option
}

type start_sync_execution_output = {
  billing_details: billing_details option;
  trace_header: string option;
  output_details: cloud_watch_events_execution_data_details option;
  output: string option;
  input_details: cloud_watch_events_execution_data_details option;
  input: string option;
  cause: string option;
  error: string option;
  status: sync_execution_status;
  stop_date: float;
  start_date: float;
  name: string option;
  state_machine_arn: string option;
  execution_arn: string
}

type start_sync_execution_input = {
  trace_header: string option;
  input: string option;
  name: string option;
  state_machine_arn: string
}

type invalid_name = {
  message: string option
}

type start_execution_output = {
  start_date: float;
  execution_arn: string
}

type start_execution_input = {
  trace_header: string option;
  input: string option;
  name: string option;
  state_machine_arn: string
}

type execution_limit_exceeded = {
  message: string option
}

type execution_already_exists = {
  message: string option
}

type send_task_success_output = unit

type send_task_success_input = {
  output: string;
  task_token: string
}

type invalid_token = {
  message: string option
}

type invalid_output = {
  message: string option
}

type send_task_heartbeat_output = unit

type send_task_heartbeat_input = {
  task_token: string
}

type send_task_failure_output = unit

type send_task_failure_input = {
  cause: string option;
  error: string option;
  task_token: string
}

type redrive_execution_output = {
  redrive_date: float
}

type redrive_execution_input = {
  client_token: string option;
  execution_arn: string
}

type execution_not_redrivable = {
  message: string option
}

type publish_state_machine_version_output = {
  state_machine_version_arn: string;
  creation_date: float
}

type publish_state_machine_version_input = {
  description: string option;
  revision_id: string option;
  state_machine_arn: string
}

type map_state_started_event_details = {
  length: int option
}

type map_run_status = | ABORTED
  | FAILED
  | SUCCEEDED
  | RUNNING

type map_run_started_event_details = {
  map_run_arn: string option
}

type map_run_redriven_event_details = {
  redrive_count: int option;
  map_run_arn: string option
}

type map_run_list_item = {
  stop_date: float option;
  start_date: float;
  state_machine_arn: string;
  map_run_arn: string;
  execution_arn: string
}

type map_run_item_counts = {
  pending_redrive: int option;
  failures_not_redrivable: int option;
  results_written: int;
  total: int;
  aborted: int;
  timed_out: int;
  failed: int;
  succeeded: int;
  running: int;
  pending: int
}

type map_run_failed_event_details = {
  cause: string option;
  error: string option
}

type map_run_execution_counts = {
  pending_redrive: int option;
  failures_not_redrivable: int option;
  results_written: int;
  total: int;
  aborted: int;
  timed_out: int;
  failed: int;
  succeeded: int;
  running: int;
  pending: int
}

type map_iteration_event_details = {
  index: int option;
  name: string option
}

type list_tags_for_resource_output = {
  tags: tag list option
}

type list_tags_for_resource_input = {
  resource_arn: string
}

type list_state_machines_output = {
  next_token: string option;
  state_machines: state_machine_list_item list
}

type list_state_machines_input = {
  next_token: string option;
  max_results: int option
}

type list_state_machine_versions_output = {
  next_token: string option;
  state_machine_versions: state_machine_version_list_item list
}

type list_state_machine_versions_input = {
  max_results: int option;
  next_token: string option;
  state_machine_arn: string
}

type list_state_machine_aliases_output = {
  next_token: string option;
  state_machine_aliases: state_machine_alias_list_item list
}

type list_state_machine_aliases_input = {
  max_results: int option;
  next_token: string option;
  state_machine_arn: string
}

type list_map_runs_output = {
  next_token: string option;
  map_runs: map_run_list_item list
}

type list_map_runs_input = {
  next_token: string option;
  max_results: int option;
  execution_arn: string
}

type execution_status = | PENDING_REDRIVE
  | ABORTED
  | TIMED_OUT
  | FAILED
  | SUCCEEDED
  | RUNNING

type execution_list_item = {
  redrive_date: float option;
  redrive_count: int option;
  state_machine_alias_arn: string option;
  state_machine_version_arn: string option;
  item_count: int option;
  map_run_arn: string option;
  stop_date: float option;
  start_date: float;
  status: execution_status;
  name: string;
  state_machine_arn: string;
  execution_arn: string
}

type list_executions_output = {
  next_token: string option;
  executions: execution_list_item list
}

type execution_redrive_filter = | NOT_REDRIVEN
  | REDRIVEN

type list_executions_input = {
  redrive_filter: execution_redrive_filter option;
  map_run_arn: string option;
  next_token: string option;
  max_results: int option;
  status_filter: execution_status option;
  state_machine_arn: string option
}

type activity_list_item = {
  creation_date: float;
  name: string;
  activity_arn: string
}

type list_activities_output = {
  next_token: string option;
  activities: activity_list_item list
}

type list_activities_input = {
  next_token: string option;
  max_results: int option
}

type lambda_function_timed_out_event_details = {
  cause: string option;
  error: string option
}

type lambda_function_succeeded_event_details = {
  output_details: history_event_execution_data_details option;
  output: string option
}

type lambda_function_start_failed_event_details = {
  cause: string option;
  error: string option
}

type lambda_function_scheduled_event_details = {
  task_credentials: task_credentials option;
  timeout_in_seconds: int option;
  input_details: history_event_execution_data_details option;
  input: string option;
  resource: string
}

type lambda_function_schedule_failed_event_details = {
  cause: string option;
  error: string option
}

type lambda_function_failed_event_details = {
  cause: string option;
  error: string option
}

type history_event_type = | MapRunRedriven
  | ExecutionRedriven
  | MapRunSucceeded
  | MapRunStarted
  | MapRunFailed
  | MapRunAborted
  | WaitStateExited
  | WaitStateEntered
  | WaitStateAborted
  | TaskTimedOut
  | TaskSucceeded
  | TaskSubmitted
  | TaskSubmitFailed
  | TaskStateExited
  | TaskStateEntered
  | TaskStateAborted
  | TaskStartFailed
  | TaskStarted
  | TaskScheduled
  | TaskFailed
  | SucceedStateExited
  | SucceedStateEntered
  | PassStateExited
  | PassStateEntered
  | ParallelStateSucceeded
  | ParallelStateStarted
  | ParallelStateFailed
  | ParallelStateExited
  | ParallelStateEntered
  | ParallelStateAborted
  | MapStateSucceeded
  | MapStateStarted
  | MapStateFailed
  | MapStateExited
  | MapStateEntered
  | MapStateAborted
  | MapIterationSucceeded
  | MapIterationStarted
  | MapIterationFailed
  | MapIterationAborted
  | LambdaFunctionTimedOut
  | LambdaFunctionSucceeded
  | LambdaFunctionStartFailed
  | LambdaFunctionStarted
  | LambdaFunctionScheduleFailed
  | LambdaFunctionScheduled
  | LambdaFunctionFailed
  | FailStateEntered
  | ExecutionTimedOut
  | ExecutionSucceeded
  | ExecutionStarted
  | ExecutionFailed
  | ExecutionAborted
  | ChoiceStateExited
  | ChoiceStateEntered
  | ActivityTimedOut
  | ActivitySucceeded
  | ActivityStarted
  | ActivityScheduleFailed
  | ActivityScheduled
  | ActivityFailed

type activity_failed_event_details = {
  cause: string option;
  error: string option
}

type activity_schedule_failed_event_details = {
  cause: string option;
  error: string option
}

type activity_scheduled_event_details = {
  heartbeat_in_seconds: int option;
  timeout_in_seconds: int option;
  input_details: history_event_execution_data_details option;
  input: string option;
  resource: string
}

type activity_started_event_details = {
  worker_name: string option
}

type activity_succeeded_event_details = {
  output_details: history_event_execution_data_details option;
  output: string option
}

type activity_timed_out_event_details = {
  cause: string option;
  error: string option
}

type execution_failed_event_details = {
  cause: string option;
  error: string option
}

type execution_started_event_details = {
  state_machine_version_arn: string option;
  state_machine_alias_arn: string option;
  role_arn: string option;
  input_details: history_event_execution_data_details option;
  input: string option
}

type execution_succeeded_event_details = {
  output_details: history_event_execution_data_details option;
  output: string option
}

type execution_aborted_event_details = {
  cause: string option;
  error: string option
}

type execution_timed_out_event_details = {
  cause: string option;
  error: string option
}

type execution_redriven_event_details = {
  redrive_count: int option
}

type history_event = {
  map_run_redriven_event_details: map_run_redriven_event_details option;
  map_run_failed_event_details: map_run_failed_event_details option;
  map_run_started_event_details: map_run_started_event_details option;
  state_exited_event_details: state_exited_event_details option;
  state_entered_event_details: state_entered_event_details option;
  lambda_function_timed_out_event_details: lambda_function_timed_out_event_details option;
  lambda_function_succeeded_event_details: lambda_function_succeeded_event_details option;
  lambda_function_start_failed_event_details: lambda_function_start_failed_event_details option;
  lambda_function_scheduled_event_details: lambda_function_scheduled_event_details option;
  lambda_function_schedule_failed_event_details: lambda_function_schedule_failed_event_details option;
  lambda_function_failed_event_details: lambda_function_failed_event_details option;
  map_iteration_aborted_event_details: map_iteration_event_details option;
  map_iteration_failed_event_details: map_iteration_event_details option;
  map_iteration_succeeded_event_details: map_iteration_event_details option;
  map_iteration_started_event_details: map_iteration_event_details option;
  map_state_started_event_details: map_state_started_event_details option;
  execution_redriven_event_details: execution_redriven_event_details option;
  execution_timed_out_event_details: execution_timed_out_event_details option;
  execution_aborted_event_details: execution_aborted_event_details option;
  execution_succeeded_event_details: execution_succeeded_event_details option;
  execution_started_event_details: execution_started_event_details option;
  execution_failed_event_details: execution_failed_event_details option;
  task_timed_out_event_details: task_timed_out_event_details option;
  task_succeeded_event_details: task_succeeded_event_details option;
  task_submitted_event_details: task_submitted_event_details option;
  task_submit_failed_event_details: task_submit_failed_event_details option;
  task_started_event_details: task_started_event_details option;
  task_start_failed_event_details: task_start_failed_event_details option;
  task_scheduled_event_details: task_scheduled_event_details option;
  task_failed_event_details: task_failed_event_details option;
  activity_timed_out_event_details: activity_timed_out_event_details option;
  activity_succeeded_event_details: activity_succeeded_event_details option;
  activity_started_event_details: activity_started_event_details option;
  activity_scheduled_event_details: activity_scheduled_event_details option;
  activity_schedule_failed_event_details: activity_schedule_failed_event_details option;
  activity_failed_event_details: activity_failed_event_details option;
  previous_event_id: int option;
  id: int;
  type_: history_event_type;
  timestamp_: float
}

type get_execution_history_output = {
  next_token: string option;
  events: history_event list
}

type get_execution_history_input = {
  include_execution_data: bool option;
  next_token: string option;
  reverse_order: bool option;
  max_results: int option;
  execution_arn: string
}

type get_activity_task_output = {
  input: string option;
  task_token: string option
}

type get_activity_task_input = {
  worker_name: string option;
  activity_arn: string
}

type activity_worker_limit_exceeded = {
  message: string option
}

type activity_does_not_exist = {
  message: string option
}

type execution_redrive_status = | REDRIVABLE_BY_MAP_RUN
  | NOT_REDRIVABLE
  | REDRIVABLE

type describe_state_machine_output = {
  description: string option;
  revision_id: string option;
  label: string option;
  tracing_configuration: tracing_configuration option;
  logging_configuration: logging_configuration option;
  creation_date: float;
  type_: state_machine_type;
  role_arn: string;
  definition: string;
  status: state_machine_status option;
  name: string;
  state_machine_arn: string
}

type describe_state_machine_input = {
  state_machine_arn: string
}

type describe_state_machine_for_execution_output = {
  revision_id: string option;
  label: string option;
  map_run_arn: string option;
  tracing_configuration: tracing_configuration option;
  logging_configuration: logging_configuration option;
  update_date: float;
  role_arn: string;
  definition: string;
  name: string;
  state_machine_arn: string
}

type describe_state_machine_for_execution_input = {
  execution_arn: string
}

type describe_state_machine_alias_output = {
  update_date: float option;
  creation_date: float option;
  routing_configuration: routing_configuration_list_item list option;
  description: string option;
  name: string option;
  state_machine_alias_arn: string option
}

type describe_state_machine_alias_input = {
  state_machine_alias_arn: string
}

type describe_map_run_output = {
  redrive_date: float option;
  redrive_count: int option;
  execution_counts: map_run_execution_counts;
  item_counts: map_run_item_counts;
  tolerated_failure_count: int;
  tolerated_failure_percentage: float;
  max_concurrency: int;
  stop_date: float option;
  start_date: float;
  status: map_run_status;
  execution_arn: string;
  map_run_arn: string
}

type describe_map_run_input = {
  map_run_arn: string
}

type describe_execution_output = {
  redrive_status_reason: string option;
  redrive_status: execution_redrive_status option;
  redrive_date: float option;
  redrive_count: int option;
  state_machine_alias_arn: string option;
  state_machine_version_arn: string option;
  cause: string option;
  error: string option;
  map_run_arn: string option;
  trace_header: string option;
  output_details: cloud_watch_events_execution_data_details option;
  output: string option;
  input_details: cloud_watch_events_execution_data_details option;
  input: string option;
  stop_date: float option;
  start_date: float;
  status: execution_status;
  name: string option;
  state_machine_arn: string;
  execution_arn: string
}

type describe_execution_input = {
  execution_arn: string
}

type describe_activity_output = {
  creation_date: float;
  name: string;
  activity_arn: string
}

type describe_activity_input = {
  activity_arn: string
}

type delete_state_machine_version_output = unit

type delete_state_machine_version_input = {
  state_machine_version_arn: string
}

type delete_state_machine_output = unit

type delete_state_machine_input = {
  state_machine_arn: string
}

type delete_state_machine_alias_output = unit

type delete_state_machine_alias_input = {
  state_machine_alias_arn: string
}

type delete_activity_output = unit

type delete_activity_input = {
  activity_arn: string
}

type create_state_machine_output = {
  state_machine_version_arn: string option;
  creation_date: float;
  state_machine_arn: string
}

type create_state_machine_input = {
  version_description: string option;
  publish: bool option;
  tracing_configuration: tracing_configuration option;
  tags: tag list option;
  logging_configuration: logging_configuration option;
  type_: state_machine_type option;
  role_arn: string;
  definition: string;
  name: string
}

type create_state_machine_alias_output = {
  creation_date: float;
  state_machine_alias_arn: string
}

type create_state_machine_alias_input = {
  routing_configuration: routing_configuration_list_item list;
  name: string;
  description: string option
}

type create_activity_output = {
  creation_date: float;
  activity_arn: string
}

type create_activity_input = {
  tags: tag list option;
  name: string
}

type activity_limit_exceeded = {
  message: string option
}



type base_document = Json.t

OCaml

Innovation. Community. Security.