aws-sdk-glue 1.36.0 → 1.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 77afc537aff5f08c9bbc0483198b93e0dd4ec0ac
4
- data.tar.gz: 11fb1f7afa6349400bd7a93386098872afd4015f
3
+ metadata.gz: fdb65077a3cf4ecfc1bda915cb66182665ef9fb0
4
+ data.tar.gz: a8d14e04e29010e049b04536c304c59e14397d18
5
5
  SHA512:
6
- metadata.gz: b13769d3e6968808d7f7ca9574ce1ec3266300da3ee5f6d163074e28cab2fb2a70c8f56e94d263ddb11943e8a53790780ab659167c0d62d8634f9d036c560e2f
7
- data.tar.gz: c49a041439e8f14d2e2bd72e6bb31847fa5555ca5f4ade419ba2cac097b502c4d1999c3dc99db53587fe6d1e9dc70093c39366fbd891bd0ea437266bd6c73d75
6
+ metadata.gz: f2c983839d82e12ca7ac2746af493887fd1fa9b95298efa33f9fc3e6fa5e815c6890370544cd8463f99b0e3a0538b36078528a0105fffd5141784413d334e095
7
+ data.tar.gz: b27713adec4c7a70dabb56d0e3c8afe0fb5b27a35f80a3d19cd9bdd8ce4eeb0d994f2e48a6bc08f270edfa12de787d3c6d97990f7b4bc6e79489ff19fd7a8551
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-glue/customizations'
42
42
  # @service
43
43
  module Aws::Glue
44
44
 
45
- GEM_VERSION = '1.36.0'
45
+ GEM_VERSION = '1.37.0'
46
46
 
47
47
  end
@@ -855,6 +855,7 @@ module Aws::Glue
855
855
  #
856
856
  # resp.triggers #=> Array
857
857
  # resp.triggers[0].name #=> String
858
+ # resp.triggers[0].workflow_name #=> String
858
859
  # resp.triggers[0].id #=> String
859
860
  # resp.triggers[0].type #=> String, one of "SCHEDULED", "CONDITIONAL", "ON_DEMAND"
860
861
  # resp.triggers[0].state #=> String, one of "CREATING", "CREATED", "ACTIVATING", "ACTIVATED", "DEACTIVATING", "DEACTIVATED", "DELETING", "UPDATING"
@@ -865,13 +866,16 @@ module Aws::Glue
865
866
  # resp.triggers[0].actions[0].arguments #=> Hash
866
867
  # resp.triggers[0].actions[0].arguments["GenericString"] #=> String
867
868
  # resp.triggers[0].actions[0].timeout #=> Integer
868
- # resp.triggers[0].actions[0].notification_property.notify_delay_after #=> Integer
869
869
  # resp.triggers[0].actions[0].security_configuration #=> String
870
+ # resp.triggers[0].actions[0].notification_property.notify_delay_after #=> Integer
871
+ # resp.triggers[0].actions[0].crawler_name #=> String
870
872
  # resp.triggers[0].predicate.logical #=> String, one of "AND", "ANY"
871
873
  # resp.triggers[0].predicate.conditions #=> Array
872
874
  # resp.triggers[0].predicate.conditions[0].logical_operator #=> String, one of "EQUALS"
873
875
  # resp.triggers[0].predicate.conditions[0].job_name #=> String
874
876
  # resp.triggers[0].predicate.conditions[0].state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED", "SUCCEEDED", "FAILED", "TIMEOUT"
877
+ # resp.triggers[0].predicate.conditions[0].crawler_name #=> String
878
+ # resp.triggers[0].predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "SUCCEEDED", "CANCELLED", "FAILED"
875
879
  # resp.triggers_not_found #=> Array
876
880
  # resp.triggers_not_found[0] #=> String
877
881
  #
@@ -884,6 +888,188 @@ module Aws::Glue
884
888
  req.send_request(options)
885
889
  end
886
890
 
891
+ # Returns a list of resource metadata for a given list of workflow
892
+ # names. After calling the `ListWorkflows` operation, you can call this
893
+ # operation to access the data to which you have been granted
894
+ # permissions. This operation supports all IAM permissions, including
895
+ # permission conditions that uses tags.
896
+ #
897
+ # @option params [required, Array<String>] :names
898
+ # A list of workflow names, which may be the names returned from the
899
+ # `ListWorkflows` operation.
900
+ #
901
+ # @option params [Boolean] :include_graph
902
+ # Specifies whether to include a graph when returning the workflow
903
+ # resource metadata.
904
+ #
905
+ # @return [Types::BatchGetWorkflowsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
906
+ #
907
+ # * {Types::BatchGetWorkflowsResponse#workflows #workflows} => Array&lt;Types::Workflow&gt;
908
+ # * {Types::BatchGetWorkflowsResponse#missing_workflows #missing_workflows} => Array&lt;String&gt;
909
+ #
910
+ # @example Request syntax with placeholder values
911
+ #
912
+ # resp = client.batch_get_workflows({
913
+ # names: ["NameString"], # required
914
+ # include_graph: false,
915
+ # })
916
+ #
917
+ # @example Response structure
918
+ #
919
+ # resp.workflows #=> Array
920
+ # resp.workflows[0].name #=> String
921
+ # resp.workflows[0].description #=> String
922
+ # resp.workflows[0].default_run_properties #=> Hash
923
+ # resp.workflows[0].default_run_properties["IdString"] #=> String
924
+ # resp.workflows[0].created_on #=> Time
925
+ # resp.workflows[0].last_modified_on #=> Time
926
+ # resp.workflows[0].last_run.name #=> String
927
+ # resp.workflows[0].last_run.workflow_run_id #=> String
928
+ # resp.workflows[0].last_run.workflow_run_properties #=> Hash
929
+ # resp.workflows[0].last_run.workflow_run_properties["IdString"] #=> String
930
+ # resp.workflows[0].last_run.started_on #=> Time
931
+ # resp.workflows[0].last_run.completed_on #=> Time
932
+ # resp.workflows[0].last_run.status #=> String, one of "RUNNING", "COMPLETED"
933
+ # resp.workflows[0].last_run.statistics.total_actions #=> Integer
934
+ # resp.workflows[0].last_run.statistics.timeout_actions #=> Integer
935
+ # resp.workflows[0].last_run.statistics.failed_actions #=> Integer
936
+ # resp.workflows[0].last_run.statistics.stopped_actions #=> Integer
937
+ # resp.workflows[0].last_run.statistics.succeeded_actions #=> Integer
938
+ # resp.workflows[0].last_run.statistics.running_actions #=> Integer
939
+ # resp.workflows[0].last_run.graph.nodes #=> Array
940
+ # resp.workflows[0].last_run.graph.nodes[0].type #=> String, one of "CRAWLER", "JOB", "TRIGGER"
941
+ # resp.workflows[0].last_run.graph.nodes[0].name #=> String
942
+ # resp.workflows[0].last_run.graph.nodes[0].unique_id #=> String
943
+ # resp.workflows[0].last_run.graph.nodes[0].trigger_details.trigger.name #=> String
944
+ # resp.workflows[0].last_run.graph.nodes[0].trigger_details.trigger.workflow_name #=> String
945
+ # resp.workflows[0].last_run.graph.nodes[0].trigger_details.trigger.id #=> String
946
+ # resp.workflows[0].last_run.graph.nodes[0].trigger_details.trigger.type #=> String, one of "SCHEDULED", "CONDITIONAL", "ON_DEMAND"
947
+ # resp.workflows[0].last_run.graph.nodes[0].trigger_details.trigger.state #=> String, one of "CREATING", "CREATED", "ACTIVATING", "ACTIVATED", "DEACTIVATING", "DEACTIVATED", "DELETING", "UPDATING"
948
+ # resp.workflows[0].last_run.graph.nodes[0].trigger_details.trigger.description #=> String
949
+ # resp.workflows[0].last_run.graph.nodes[0].trigger_details.trigger.schedule #=> String
950
+ # resp.workflows[0].last_run.graph.nodes[0].trigger_details.trigger.actions #=> Array
951
+ # resp.workflows[0].last_run.graph.nodes[0].trigger_details.trigger.actions[0].job_name #=> String
952
+ # resp.workflows[0].last_run.graph.nodes[0].trigger_details.trigger.actions[0].arguments #=> Hash
953
+ # resp.workflows[0].last_run.graph.nodes[0].trigger_details.trigger.actions[0].arguments["GenericString"] #=> String
954
+ # resp.workflows[0].last_run.graph.nodes[0].trigger_details.trigger.actions[0].timeout #=> Integer
955
+ # resp.workflows[0].last_run.graph.nodes[0].trigger_details.trigger.actions[0].security_configuration #=> String
956
+ # resp.workflows[0].last_run.graph.nodes[0].trigger_details.trigger.actions[0].notification_property.notify_delay_after #=> Integer
957
+ # resp.workflows[0].last_run.graph.nodes[0].trigger_details.trigger.actions[0].crawler_name #=> String
958
+ # resp.workflows[0].last_run.graph.nodes[0].trigger_details.trigger.predicate.logical #=> String, one of "AND", "ANY"
959
+ # resp.workflows[0].last_run.graph.nodes[0].trigger_details.trigger.predicate.conditions #=> Array
960
+ # resp.workflows[0].last_run.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].logical_operator #=> String, one of "EQUALS"
961
+ # resp.workflows[0].last_run.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].job_name #=> String
962
+ # resp.workflows[0].last_run.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED", "SUCCEEDED", "FAILED", "TIMEOUT"
963
+ # resp.workflows[0].last_run.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].crawler_name #=> String
964
+ # resp.workflows[0].last_run.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "SUCCEEDED", "CANCELLED", "FAILED"
965
+ # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs #=> Array
966
+ # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].id #=> String
967
+ # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].attempt #=> Integer
968
+ # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].previous_run_id #=> String
969
+ # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].trigger_name #=> String
970
+ # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].job_name #=> String
971
+ # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].started_on #=> Time
972
+ # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].last_modified_on #=> Time
973
+ # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].completed_on #=> Time
974
+ # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].job_run_state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED", "SUCCEEDED", "FAILED", "TIMEOUT"
975
+ # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].arguments #=> Hash
976
+ # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].arguments["GenericString"] #=> String
977
+ # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].error_message #=> String
978
+ # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].predecessor_runs #=> Array
979
+ # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].predecessor_runs[0].job_name #=> String
980
+ # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].predecessor_runs[0].run_id #=> String
981
+ # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].allocated_capacity #=> Integer
982
+ # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].execution_time #=> Integer
983
+ # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].timeout #=> Integer
984
+ # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].max_capacity #=> Float
985
+ # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].worker_type #=> String, one of "Standard", "G.1X", "G.2X"
986
+ # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].number_of_workers #=> Integer
987
+ # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].security_configuration #=> String
988
+ # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].log_group_name #=> String
989
+ # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].notification_property.notify_delay_after #=> Integer
990
+ # resp.workflows[0].last_run.graph.nodes[0].crawler_details.crawls #=> Array
991
+ # resp.workflows[0].last_run.graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "SUCCEEDED", "CANCELLED", "FAILED"
992
+ # resp.workflows[0].last_run.graph.nodes[0].crawler_details.crawls[0].started_on #=> Time
993
+ # resp.workflows[0].last_run.graph.nodes[0].crawler_details.crawls[0].completed_on #=> Time
994
+ # resp.workflows[0].last_run.graph.nodes[0].crawler_details.crawls[0].error_message #=> String
995
+ # resp.workflows[0].last_run.graph.nodes[0].crawler_details.crawls[0].log_group #=> String
996
+ # resp.workflows[0].last_run.graph.nodes[0].crawler_details.crawls[0].log_stream #=> String
997
+ # resp.workflows[0].last_run.graph.edges #=> Array
998
+ # resp.workflows[0].last_run.graph.edges[0].source_id #=> String
999
+ # resp.workflows[0].last_run.graph.edges[0].destination_id #=> String
1000
+ # resp.workflows[0].graph.nodes #=> Array
1001
+ # resp.workflows[0].graph.nodes[0].type #=> String, one of "CRAWLER", "JOB", "TRIGGER"
1002
+ # resp.workflows[0].graph.nodes[0].name #=> String
1003
+ # resp.workflows[0].graph.nodes[0].unique_id #=> String
1004
+ # resp.workflows[0].graph.nodes[0].trigger_details.trigger.name #=> String
1005
+ # resp.workflows[0].graph.nodes[0].trigger_details.trigger.workflow_name #=> String
1006
+ # resp.workflows[0].graph.nodes[0].trigger_details.trigger.id #=> String
1007
+ # resp.workflows[0].graph.nodes[0].trigger_details.trigger.type #=> String, one of "SCHEDULED", "CONDITIONAL", "ON_DEMAND"
1008
+ # resp.workflows[0].graph.nodes[0].trigger_details.trigger.state #=> String, one of "CREATING", "CREATED", "ACTIVATING", "ACTIVATED", "DEACTIVATING", "DEACTIVATED", "DELETING", "UPDATING"
1009
+ # resp.workflows[0].graph.nodes[0].trigger_details.trigger.description #=> String
1010
+ # resp.workflows[0].graph.nodes[0].trigger_details.trigger.schedule #=> String
1011
+ # resp.workflows[0].graph.nodes[0].trigger_details.trigger.actions #=> Array
1012
+ # resp.workflows[0].graph.nodes[0].trigger_details.trigger.actions[0].job_name #=> String
1013
+ # resp.workflows[0].graph.nodes[0].trigger_details.trigger.actions[0].arguments #=> Hash
1014
+ # resp.workflows[0].graph.nodes[0].trigger_details.trigger.actions[0].arguments["GenericString"] #=> String
1015
+ # resp.workflows[0].graph.nodes[0].trigger_details.trigger.actions[0].timeout #=> Integer
1016
+ # resp.workflows[0].graph.nodes[0].trigger_details.trigger.actions[0].security_configuration #=> String
1017
+ # resp.workflows[0].graph.nodes[0].trigger_details.trigger.actions[0].notification_property.notify_delay_after #=> Integer
1018
+ # resp.workflows[0].graph.nodes[0].trigger_details.trigger.actions[0].crawler_name #=> String
1019
+ # resp.workflows[0].graph.nodes[0].trigger_details.trigger.predicate.logical #=> String, one of "AND", "ANY"
1020
+ # resp.workflows[0].graph.nodes[0].trigger_details.trigger.predicate.conditions #=> Array
1021
+ # resp.workflows[0].graph.nodes[0].trigger_details.trigger.predicate.conditions[0].logical_operator #=> String, one of "EQUALS"
1022
+ # resp.workflows[0].graph.nodes[0].trigger_details.trigger.predicate.conditions[0].job_name #=> String
1023
+ # resp.workflows[0].graph.nodes[0].trigger_details.trigger.predicate.conditions[0].state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED", "SUCCEEDED", "FAILED", "TIMEOUT"
1024
+ # resp.workflows[0].graph.nodes[0].trigger_details.trigger.predicate.conditions[0].crawler_name #=> String
1025
+ # resp.workflows[0].graph.nodes[0].trigger_details.trigger.predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "SUCCEEDED", "CANCELLED", "FAILED"
1026
+ # resp.workflows[0].graph.nodes[0].job_details.job_runs #=> Array
1027
+ # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].id #=> String
1028
+ # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].attempt #=> Integer
1029
+ # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].previous_run_id #=> String
1030
+ # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].trigger_name #=> String
1031
+ # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].job_name #=> String
1032
+ # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].started_on #=> Time
1033
+ # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].last_modified_on #=> Time
1034
+ # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].completed_on #=> Time
1035
+ # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].job_run_state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED", "SUCCEEDED", "FAILED", "TIMEOUT"
1036
+ # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].arguments #=> Hash
1037
+ # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].arguments["GenericString"] #=> String
1038
+ # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].error_message #=> String
1039
+ # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].predecessor_runs #=> Array
1040
+ # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].predecessor_runs[0].job_name #=> String
1041
+ # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].predecessor_runs[0].run_id #=> String
1042
+ # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].allocated_capacity #=> Integer
1043
+ # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].execution_time #=> Integer
1044
+ # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].timeout #=> Integer
1045
+ # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].max_capacity #=> Float
1046
+ # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].worker_type #=> String, one of "Standard", "G.1X", "G.2X"
1047
+ # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].number_of_workers #=> Integer
1048
+ # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].security_configuration #=> String
1049
+ # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].log_group_name #=> String
1050
+ # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].notification_property.notify_delay_after #=> Integer
1051
+ # resp.workflows[0].graph.nodes[0].crawler_details.crawls #=> Array
1052
+ # resp.workflows[0].graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "SUCCEEDED", "CANCELLED", "FAILED"
1053
+ # resp.workflows[0].graph.nodes[0].crawler_details.crawls[0].started_on #=> Time
1054
+ # resp.workflows[0].graph.nodes[0].crawler_details.crawls[0].completed_on #=> Time
1055
+ # resp.workflows[0].graph.nodes[0].crawler_details.crawls[0].error_message #=> String
1056
+ # resp.workflows[0].graph.nodes[0].crawler_details.crawls[0].log_group #=> String
1057
+ # resp.workflows[0].graph.nodes[0].crawler_details.crawls[0].log_stream #=> String
1058
+ # resp.workflows[0].graph.edges #=> Array
1059
+ # resp.workflows[0].graph.edges[0].source_id #=> String
1060
+ # resp.workflows[0].graph.edges[0].destination_id #=> String
1061
+ # resp.missing_workflows #=> Array
1062
+ # resp.missing_workflows[0] #=> String
1063
+ #
1064
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetWorkflows AWS API Documentation
1065
+ #
1066
+ # @overload batch_get_workflows(params = {})
1067
+ # @param [Hash] params ({})
1068
+ def batch_get_workflows(params = {}, options = {})
1069
+ req = build_request(:batch_get_workflows, params)
1070
+ req.send_request(options)
1071
+ end
1072
+
887
1073
  # Stops one or more job runs for a specified job definition.
888
1074
  #
889
1075
  # @option params [required, String] :job_name
@@ -1412,9 +1598,29 @@ module Aws::Glue
1412
1598
  #
1413
1599
  # [1]: https://aws.amazon.com/glue/pricing/
1414
1600
  #
1601
+ # @option params [String] :security_configuration
1602
+ # The name of the `SecurityConfiguration` structure to be used with this
1603
+ # job.
1604
+ #
1605
+ # @option params [Hash<String,String>] :tags
1606
+ # The tags to use with this job. You may use tags to limit access to the
1607
+ # job. For more information about tags in AWS Glue, see [AWS Tags in AWS
1608
+ # Glue][1] in the developer guide.
1609
+ #
1610
+ #
1611
+ #
1612
+ # [1]: https://docs.aws.amazon.com/glue/latest/dg/monitor-tags.html
1613
+ #
1415
1614
  # @option params [Types::NotificationProperty] :notification_property
1416
1615
  # Specifies configuration properties of a job notification.
1417
1616
  #
1617
+ # @option params [Integer] :number_of_workers
1618
+ # The number of workers of a defined `workerType` that are allocated
1619
+ # when a job runs.
1620
+ #
1621
+ # The maximum number of workers you can define are 299 for `G.1X`, and
1622
+ # 149 for `G.2X`.
1623
+ #
1418
1624
  # @option params [String] :worker_type
1419
1625
  # The type of predefined worker that is allocated when a job runs.
1420
1626
  # Accepts a value of Standard, G.1X, or G.2X.
@@ -1430,26 +1636,6 @@ module Aws::Glue
1430
1636
  # of memory, 128 GB disk), and provides 1 executor per worker. We
1431
1637
  # recommend this worker type for memory-intensive jobs.
1432
1638
  #
1433
- # @option params [Integer] :number_of_workers
1434
- # The number of workers of a defined `workerType` that are allocated
1435
- # when a job runs.
1436
- #
1437
- # The maximum number of workers you can define are 299 for `G.1X`, and
1438
- # 149 for `G.2X`.
1439
- #
1440
- # @option params [String] :security_configuration
1441
- # The name of the `SecurityConfiguration` structure to be used with this
1442
- # job.
1443
- #
1444
- # @option params [Hash<String,String>] :tags
1445
- # The tags to use with this job. You may use tags to limit access to the
1446
- # job. For more information about tags in AWS Glue, see [AWS Tags in AWS
1447
- # Glue][1] in the developer guide.
1448
- #
1449
- #
1450
- #
1451
- # [1]: https://docs.aws.amazon.com/glue/latest/dg/monitor-tags.html
1452
- #
1453
1639
  # @return [Types::CreateJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1454
1640
  #
1455
1641
  # * {Types::CreateJobResponse#name #name} => String
@@ -1479,15 +1665,15 @@ module Aws::Glue
1479
1665
  # allocated_capacity: 1,
1480
1666
  # timeout: 1,
1481
1667
  # max_capacity: 1.0,
1482
- # notification_property: {
1483
- # notify_delay_after: 1,
1484
- # },
1485
- # worker_type: "Standard", # accepts Standard, G.1X, G.2X
1486
- # number_of_workers: 1,
1487
1668
  # security_configuration: "NameString",
1488
1669
  # tags: {
1489
1670
  # "TagKey" => "TagValue",
1490
1671
  # },
1672
+ # notification_property: {
1673
+ # notify_delay_after: 1,
1674
+ # },
1675
+ # number_of_workers: 1,
1676
+ # worker_type: "NameString",
1491
1677
  # })
1492
1678
  #
1493
1679
  # @example Response structure
@@ -1789,6 +1975,9 @@ module Aws::Glue
1789
1975
  # @option params [required, String] :name
1790
1976
  # The name of the trigger.
1791
1977
  #
1978
+ # @option params [String] :workflow_name
1979
+ # The name of the workflow associated with the trigger.
1980
+ #
1792
1981
  # @option params [required, String] :type
1793
1982
  # The type of the new trigger.
1794
1983
  #
@@ -1835,6 +2024,7 @@ module Aws::Glue
1835
2024
  #
1836
2025
  # resp = client.create_trigger({
1837
2026
  # name: "NameString", # required
2027
+ # workflow_name: "NameString",
1838
2028
  # type: "SCHEDULED", # required, accepts SCHEDULED, CONDITIONAL, ON_DEMAND
1839
2029
  # schedule: "GenericString",
1840
2030
  # predicate: {
@@ -1844,6 +2034,8 @@ module Aws::Glue
1844
2034
  # logical_operator: "EQUALS", # accepts EQUALS
1845
2035
  # job_name: "NameString",
1846
2036
  # state: "STARTING", # accepts STARTING, RUNNING, STOPPING, STOPPED, SUCCEEDED, FAILED, TIMEOUT
2037
+ # crawler_name: "NameString",
2038
+ # crawl_state: "RUNNING", # accepts RUNNING, SUCCEEDED, CANCELLED, FAILED
1847
2039
  # },
1848
2040
  # ],
1849
2041
  # },
@@ -1854,10 +2046,11 @@ module Aws::Glue
1854
2046
  # "GenericString" => "GenericString",
1855
2047
  # },
1856
2048
  # timeout: 1,
2049
+ # security_configuration: "NameString",
1857
2050
  # notification_property: {
1858
2051
  # notify_delay_after: 1,
1859
2052
  # },
1860
- # security_configuration: "NameString",
2053
+ # crawler_name: "NameString",
1861
2054
  # },
1862
2055
  # ],
1863
2056
  # description: "DescriptionString",
@@ -1923,6 +2116,52 @@ module Aws::Glue
1923
2116
  req.send_request(options)
1924
2117
  end
1925
2118
 
2119
+ # Creates a new workflow.
2120
+ #
2121
+ # @option params [required, String] :name
2122
+ # The name to be assigned to the workflow. It should be unique within
2123
+ # your account.
2124
+ #
2125
+ # @option params [String] :description
2126
+ # A description of the workflow.
2127
+ #
2128
+ # @option params [Hash<String,String>] :default_run_properties
2129
+ # A collection of properties to be used as part of each execution of the
2130
+ # workflow.
2131
+ #
2132
+ # @option params [Hash<String,String>] :tags
2133
+ # The tags to be used with this workflow.
2134
+ #
2135
+ # @return [Types::CreateWorkflowResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2136
+ #
2137
+ # * {Types::CreateWorkflowResponse#name #name} => String
2138
+ #
2139
+ # @example Request syntax with placeholder values
2140
+ #
2141
+ # resp = client.create_workflow({
2142
+ # name: "NameString", # required
2143
+ # description: "GenericString",
2144
+ # default_run_properties: {
2145
+ # "IdString" => "GenericString",
2146
+ # },
2147
+ # tags: {
2148
+ # "TagKey" => "TagValue",
2149
+ # },
2150
+ # })
2151
+ #
2152
+ # @example Response structure
2153
+ #
2154
+ # resp.name #=> String
2155
+ #
2156
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateWorkflow AWS API Documentation
2157
+ #
2158
+ # @overload create_workflow(params = {})
2159
+ # @param [Hash] params ({})
2160
+ def create_workflow(params = {}, options = {})
2161
+ req = build_request(:create_workflow, params)
2162
+ req.send_request(options)
2163
+ end
2164
+
1926
2165
  # Removes a classifier from the Data Catalog.
1927
2166
  #
1928
2167
  # @option params [required, String] :name
@@ -2312,6 +2551,34 @@ module Aws::Glue
2312
2551
  req.send_request(options)
2313
2552
  end
2314
2553
 
2554
+ # Deletes a workflow.
2555
+ #
2556
+ # @option params [required, String] :name
2557
+ # Name of the workflow to be deleted.
2558
+ #
2559
+ # @return [Types::DeleteWorkflowResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2560
+ #
2561
+ # * {Types::DeleteWorkflowResponse#name #name} => String
2562
+ #
2563
+ # @example Request syntax with placeholder values
2564
+ #
2565
+ # resp = client.delete_workflow({
2566
+ # name: "NameString", # required
2567
+ # })
2568
+ #
2569
+ # @example Response structure
2570
+ #
2571
+ # resp.name #=> String
2572
+ #
2573
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteWorkflow AWS API Documentation
2574
+ #
2575
+ # @overload delete_workflow(params = {})
2576
+ # @param [Hash] params ({})
2577
+ def delete_workflow(params = {}, options = {})
2578
+ req = build_request(:delete_workflow, params)
2579
+ req.send_request(options)
2580
+ end
2581
+
2315
2582
  # Retrieves the status of a migration operation.
2316
2583
  #
2317
2584
  # @option params [String] :catalog_id
@@ -3146,11 +3413,11 @@ module Aws::Glue
3146
3413
  # resp.job_run.execution_time #=> Integer
3147
3414
  # resp.job_run.timeout #=> Integer
3148
3415
  # resp.job_run.max_capacity #=> Float
3149
- # resp.job_run.notification_property.notify_delay_after #=> Integer
3150
3416
  # resp.job_run.worker_type #=> String, one of "Standard", "G.1X", "G.2X"
3151
3417
  # resp.job_run.number_of_workers #=> Integer
3152
3418
  # resp.job_run.security_configuration #=> String
3153
3419
  # resp.job_run.log_group_name #=> String
3420
+ # resp.job_run.notification_property.notify_delay_after #=> Integer
3154
3421
  #
3155
3422
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRun AWS API Documentation
3156
3423
  #
@@ -3207,11 +3474,11 @@ module Aws::Glue
3207
3474
  # resp.job_runs[0].execution_time #=> Integer
3208
3475
  # resp.job_runs[0].timeout #=> Integer
3209
3476
  # resp.job_runs[0].max_capacity #=> Float
3210
- # resp.job_runs[0].notification_property.notify_delay_after #=> Integer
3211
3477
  # resp.job_runs[0].worker_type #=> String, one of "Standard", "G.1X", "G.2X"
3212
3478
  # resp.job_runs[0].number_of_workers #=> Integer
3213
3479
  # resp.job_runs[0].security_configuration #=> String
3214
3480
  # resp.job_runs[0].log_group_name #=> String
3481
+ # resp.job_runs[0].notification_property.notify_delay_after #=> Integer
3215
3482
  # resp.next_token #=> String
3216
3483
  #
3217
3484
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRuns AWS API Documentation
@@ -4216,6 +4483,7 @@ module Aws::Glue
4216
4483
  # @example Response structure
4217
4484
  #
4218
4485
  # resp.trigger.name #=> String
4486
+ # resp.trigger.workflow_name #=> String
4219
4487
  # resp.trigger.id #=> String
4220
4488
  # resp.trigger.type #=> String, one of "SCHEDULED", "CONDITIONAL", "ON_DEMAND"
4221
4489
  # resp.trigger.state #=> String, one of "CREATING", "CREATED", "ACTIVATING", "ACTIVATED", "DEACTIVATING", "DEACTIVATED", "DELETING", "UPDATING"
@@ -4226,13 +4494,16 @@ module Aws::Glue
4226
4494
  # resp.trigger.actions[0].arguments #=> Hash
4227
4495
  # resp.trigger.actions[0].arguments["GenericString"] #=> String
4228
4496
  # resp.trigger.actions[0].timeout #=> Integer
4229
- # resp.trigger.actions[0].notification_property.notify_delay_after #=> Integer
4230
4497
  # resp.trigger.actions[0].security_configuration #=> String
4498
+ # resp.trigger.actions[0].notification_property.notify_delay_after #=> Integer
4499
+ # resp.trigger.actions[0].crawler_name #=> String
4231
4500
  # resp.trigger.predicate.logical #=> String, one of "AND", "ANY"
4232
4501
  # resp.trigger.predicate.conditions #=> Array
4233
4502
  # resp.trigger.predicate.conditions[0].logical_operator #=> String, one of "EQUALS"
4234
4503
  # resp.trigger.predicate.conditions[0].job_name #=> String
4235
4504
  # resp.trigger.predicate.conditions[0].state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED", "SUCCEEDED", "FAILED", "TIMEOUT"
4505
+ # resp.trigger.predicate.conditions[0].crawler_name #=> String
4506
+ # resp.trigger.predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "SUCCEEDED", "CANCELLED", "FAILED"
4236
4507
  #
4237
4508
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTrigger AWS API Documentation
4238
4509
  #
@@ -4273,6 +4544,7 @@ module Aws::Glue
4273
4544
  #
4274
4545
  # resp.triggers #=> Array
4275
4546
  # resp.triggers[0].name #=> String
4547
+ # resp.triggers[0].workflow_name #=> String
4276
4548
  # resp.triggers[0].id #=> String
4277
4549
  # resp.triggers[0].type #=> String, one of "SCHEDULED", "CONDITIONAL", "ON_DEMAND"
4278
4550
  # resp.triggers[0].state #=> String, one of "CREATING", "CREATED", "ACTIVATING", "ACTIVATED", "DEACTIVATING", "DEACTIVATED", "DELETING", "UPDATING"
@@ -4283,13 +4555,16 @@ module Aws::Glue
4283
4555
  # resp.triggers[0].actions[0].arguments #=> Hash
4284
4556
  # resp.triggers[0].actions[0].arguments["GenericString"] #=> String
4285
4557
  # resp.triggers[0].actions[0].timeout #=> Integer
4286
- # resp.triggers[0].actions[0].notification_property.notify_delay_after #=> Integer
4287
4558
  # resp.triggers[0].actions[0].security_configuration #=> String
4559
+ # resp.triggers[0].actions[0].notification_property.notify_delay_after #=> Integer
4560
+ # resp.triggers[0].actions[0].crawler_name #=> String
4288
4561
  # resp.triggers[0].predicate.logical #=> String, one of "AND", "ANY"
4289
4562
  # resp.triggers[0].predicate.conditions #=> Array
4290
4563
  # resp.triggers[0].predicate.conditions[0].logical_operator #=> String, one of "EQUALS"
4291
4564
  # resp.triggers[0].predicate.conditions[0].job_name #=> String
4292
4565
  # resp.triggers[0].predicate.conditions[0].state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED", "SUCCEEDED", "FAILED", "TIMEOUT"
4566
+ # resp.triggers[0].predicate.conditions[0].crawler_name #=> String
4567
+ # resp.triggers[0].predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "SUCCEEDED", "CANCELLED", "FAILED"
4293
4568
  # resp.next_token #=> String
4294
4569
  #
4295
4570
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTriggers AWS API Documentation
@@ -4401,6 +4676,437 @@ module Aws::Glue
4401
4676
  req.send_request(options)
4402
4677
  end
4403
4678
 
4679
+ # Retrieves resource metadata for a workflow.
4680
+ #
4681
+ # @option params [required, String] :name
4682
+ # The name of the workflow to retrieve.
4683
+ #
4684
+ # @option params [Boolean] :include_graph
4685
+ # Specifies whether to include a graph when returning the workflow
4686
+ # resource metadata.
4687
+ #
4688
+ # @return [Types::GetWorkflowResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4689
+ #
4690
+ # * {Types::GetWorkflowResponse#workflow #workflow} => Types::Workflow
4691
+ #
4692
+ # @example Request syntax with placeholder values
4693
+ #
4694
+ # resp = client.get_workflow({
4695
+ # name: "NameString", # required
4696
+ # include_graph: false,
4697
+ # })
4698
+ #
4699
+ # @example Response structure
4700
+ #
4701
+ # resp.workflow.name #=> String
4702
+ # resp.workflow.description #=> String
4703
+ # resp.workflow.default_run_properties #=> Hash
4704
+ # resp.workflow.default_run_properties["IdString"] #=> String
4705
+ # resp.workflow.created_on #=> Time
4706
+ # resp.workflow.last_modified_on #=> Time
4707
+ # resp.workflow.last_run.name #=> String
4708
+ # resp.workflow.last_run.workflow_run_id #=> String
4709
+ # resp.workflow.last_run.workflow_run_properties #=> Hash
4710
+ # resp.workflow.last_run.workflow_run_properties["IdString"] #=> String
4711
+ # resp.workflow.last_run.started_on #=> Time
4712
+ # resp.workflow.last_run.completed_on #=> Time
4713
+ # resp.workflow.last_run.status #=> String, one of "RUNNING", "COMPLETED"
4714
+ # resp.workflow.last_run.statistics.total_actions #=> Integer
4715
+ # resp.workflow.last_run.statistics.timeout_actions #=> Integer
4716
+ # resp.workflow.last_run.statistics.failed_actions #=> Integer
4717
+ # resp.workflow.last_run.statistics.stopped_actions #=> Integer
4718
+ # resp.workflow.last_run.statistics.succeeded_actions #=> Integer
4719
+ # resp.workflow.last_run.statistics.running_actions #=> Integer
4720
+ # resp.workflow.last_run.graph.nodes #=> Array
4721
+ # resp.workflow.last_run.graph.nodes[0].type #=> String, one of "CRAWLER", "JOB", "TRIGGER"
4722
+ # resp.workflow.last_run.graph.nodes[0].name #=> String
4723
+ # resp.workflow.last_run.graph.nodes[0].unique_id #=> String
4724
+ # resp.workflow.last_run.graph.nodes[0].trigger_details.trigger.name #=> String
4725
+ # resp.workflow.last_run.graph.nodes[0].trigger_details.trigger.workflow_name #=> String
4726
+ # resp.workflow.last_run.graph.nodes[0].trigger_details.trigger.id #=> String
4727
+ # resp.workflow.last_run.graph.nodes[0].trigger_details.trigger.type #=> String, one of "SCHEDULED", "CONDITIONAL", "ON_DEMAND"
4728
+ # resp.workflow.last_run.graph.nodes[0].trigger_details.trigger.state #=> String, one of "CREATING", "CREATED", "ACTIVATING", "ACTIVATED", "DEACTIVATING", "DEACTIVATED", "DELETING", "UPDATING"
4729
+ # resp.workflow.last_run.graph.nodes[0].trigger_details.trigger.description #=> String
4730
+ # resp.workflow.last_run.graph.nodes[0].trigger_details.trigger.schedule #=> String
4731
+ # resp.workflow.last_run.graph.nodes[0].trigger_details.trigger.actions #=> Array
4732
+ # resp.workflow.last_run.graph.nodes[0].trigger_details.trigger.actions[0].job_name #=> String
4733
+ # resp.workflow.last_run.graph.nodes[0].trigger_details.trigger.actions[0].arguments #=> Hash
4734
+ # resp.workflow.last_run.graph.nodes[0].trigger_details.trigger.actions[0].arguments["GenericString"] #=> String
4735
+ # resp.workflow.last_run.graph.nodes[0].trigger_details.trigger.actions[0].timeout #=> Integer
4736
+ # resp.workflow.last_run.graph.nodes[0].trigger_details.trigger.actions[0].security_configuration #=> String
4737
+ # resp.workflow.last_run.graph.nodes[0].trigger_details.trigger.actions[0].notification_property.notify_delay_after #=> Integer
4738
+ # resp.workflow.last_run.graph.nodes[0].trigger_details.trigger.actions[0].crawler_name #=> String
4739
+ # resp.workflow.last_run.graph.nodes[0].trigger_details.trigger.predicate.logical #=> String, one of "AND", "ANY"
4740
+ # resp.workflow.last_run.graph.nodes[0].trigger_details.trigger.predicate.conditions #=> Array
4741
+ # resp.workflow.last_run.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].logical_operator #=> String, one of "EQUALS"
4742
+ # resp.workflow.last_run.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].job_name #=> String
4743
+ # resp.workflow.last_run.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED", "SUCCEEDED", "FAILED", "TIMEOUT"
4744
+ # resp.workflow.last_run.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].crawler_name #=> String
4745
+ # resp.workflow.last_run.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "SUCCEEDED", "CANCELLED", "FAILED"
4746
+ # resp.workflow.last_run.graph.nodes[0].job_details.job_runs #=> Array
4747
+ # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].id #=> String
4748
+ # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].attempt #=> Integer
4749
+ # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].previous_run_id #=> String
4750
+ # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].trigger_name #=> String
4751
+ # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].job_name #=> String
4752
+ # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].started_on #=> Time
4753
+ # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].last_modified_on #=> Time
4754
+ # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].completed_on #=> Time
4755
+ # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].job_run_state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED", "SUCCEEDED", "FAILED", "TIMEOUT"
4756
+ # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].arguments #=> Hash
4757
+ # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].arguments["GenericString"] #=> String
4758
+ # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].error_message #=> String
4759
+ # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].predecessor_runs #=> Array
4760
+ # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].predecessor_runs[0].job_name #=> String
4761
+ # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].predecessor_runs[0].run_id #=> String
4762
+ # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].allocated_capacity #=> Integer
4763
+ # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].execution_time #=> Integer
4764
+ # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].timeout #=> Integer
4765
+ # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].max_capacity #=> Float
4766
+ # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].worker_type #=> String, one of "Standard", "G.1X", "G.2X"
4767
+ # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].number_of_workers #=> Integer
4768
+ # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].security_configuration #=> String
4769
+ # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].log_group_name #=> String
4770
+ # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].notification_property.notify_delay_after #=> Integer
4771
+ # resp.workflow.last_run.graph.nodes[0].crawler_details.crawls #=> Array
4772
+ # resp.workflow.last_run.graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "SUCCEEDED", "CANCELLED", "FAILED"
4773
+ # resp.workflow.last_run.graph.nodes[0].crawler_details.crawls[0].started_on #=> Time
4774
+ # resp.workflow.last_run.graph.nodes[0].crawler_details.crawls[0].completed_on #=> Time
4775
+ # resp.workflow.last_run.graph.nodes[0].crawler_details.crawls[0].error_message #=> String
4776
+ # resp.workflow.last_run.graph.nodes[0].crawler_details.crawls[0].log_group #=> String
4777
+ # resp.workflow.last_run.graph.nodes[0].crawler_details.crawls[0].log_stream #=> String
4778
+ # resp.workflow.last_run.graph.edges #=> Array
4779
+ # resp.workflow.last_run.graph.edges[0].source_id #=> String
4780
+ # resp.workflow.last_run.graph.edges[0].destination_id #=> String
4781
+ # resp.workflow.graph.nodes #=> Array
4782
+ # resp.workflow.graph.nodes[0].type #=> String, one of "CRAWLER", "JOB", "TRIGGER"
4783
+ # resp.workflow.graph.nodes[0].name #=> String
4784
+ # resp.workflow.graph.nodes[0].unique_id #=> String
4785
+ # resp.workflow.graph.nodes[0].trigger_details.trigger.name #=> String
4786
+ # resp.workflow.graph.nodes[0].trigger_details.trigger.workflow_name #=> String
4787
+ # resp.workflow.graph.nodes[0].trigger_details.trigger.id #=> String
4788
+ # resp.workflow.graph.nodes[0].trigger_details.trigger.type #=> String, one of "SCHEDULED", "CONDITIONAL", "ON_DEMAND"
4789
+ # resp.workflow.graph.nodes[0].trigger_details.trigger.state #=> String, one of "CREATING", "CREATED", "ACTIVATING", "ACTIVATED", "DEACTIVATING", "DEACTIVATED", "DELETING", "UPDATING"
4790
+ # resp.workflow.graph.nodes[0].trigger_details.trigger.description #=> String
4791
+ # resp.workflow.graph.nodes[0].trigger_details.trigger.schedule #=> String
4792
+ # resp.workflow.graph.nodes[0].trigger_details.trigger.actions #=> Array
4793
+ # resp.workflow.graph.nodes[0].trigger_details.trigger.actions[0].job_name #=> String
4794
+ # resp.workflow.graph.nodes[0].trigger_details.trigger.actions[0].arguments #=> Hash
4795
+ # resp.workflow.graph.nodes[0].trigger_details.trigger.actions[0].arguments["GenericString"] #=> String
4796
+ # resp.workflow.graph.nodes[0].trigger_details.trigger.actions[0].timeout #=> Integer
4797
+ # resp.workflow.graph.nodes[0].trigger_details.trigger.actions[0].security_configuration #=> String
4798
+ # resp.workflow.graph.nodes[0].trigger_details.trigger.actions[0].notification_property.notify_delay_after #=> Integer
4799
+ # resp.workflow.graph.nodes[0].trigger_details.trigger.actions[0].crawler_name #=> String
4800
+ # resp.workflow.graph.nodes[0].trigger_details.trigger.predicate.logical #=> String, one of "AND", "ANY"
4801
+ # resp.workflow.graph.nodes[0].trigger_details.trigger.predicate.conditions #=> Array
4802
+ # resp.workflow.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].logical_operator #=> String, one of "EQUALS"
4803
+ # resp.workflow.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].job_name #=> String
4804
+ # resp.workflow.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED", "SUCCEEDED", "FAILED", "TIMEOUT"
4805
+ # resp.workflow.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].crawler_name #=> String
4806
+ # resp.workflow.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "SUCCEEDED", "CANCELLED", "FAILED"
4807
+ # resp.workflow.graph.nodes[0].job_details.job_runs #=> Array
4808
+ # resp.workflow.graph.nodes[0].job_details.job_runs[0].id #=> String
4809
+ # resp.workflow.graph.nodes[0].job_details.job_runs[0].attempt #=> Integer
4810
+ # resp.workflow.graph.nodes[0].job_details.job_runs[0].previous_run_id #=> String
4811
+ # resp.workflow.graph.nodes[0].job_details.job_runs[0].trigger_name #=> String
4812
+ # resp.workflow.graph.nodes[0].job_details.job_runs[0].job_name #=> String
4813
+ # resp.workflow.graph.nodes[0].job_details.job_runs[0].started_on #=> Time
4814
+ # resp.workflow.graph.nodes[0].job_details.job_runs[0].last_modified_on #=> Time
4815
+ # resp.workflow.graph.nodes[0].job_details.job_runs[0].completed_on #=> Time
4816
+ # resp.workflow.graph.nodes[0].job_details.job_runs[0].job_run_state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED", "SUCCEEDED", "FAILED", "TIMEOUT"
4817
+ # resp.workflow.graph.nodes[0].job_details.job_runs[0].arguments #=> Hash
4818
+ # resp.workflow.graph.nodes[0].job_details.job_runs[0].arguments["GenericString"] #=> String
4819
+ # resp.workflow.graph.nodes[0].job_details.job_runs[0].error_message #=> String
4820
+ # resp.workflow.graph.nodes[0].job_details.job_runs[0].predecessor_runs #=> Array
4821
+ # resp.workflow.graph.nodes[0].job_details.job_runs[0].predecessor_runs[0].job_name #=> String
4822
+ # resp.workflow.graph.nodes[0].job_details.job_runs[0].predecessor_runs[0].run_id #=> String
4823
+ # resp.workflow.graph.nodes[0].job_details.job_runs[0].allocated_capacity #=> Integer
4824
+ # resp.workflow.graph.nodes[0].job_details.job_runs[0].execution_time #=> Integer
4825
+ # resp.workflow.graph.nodes[0].job_details.job_runs[0].timeout #=> Integer
4826
+ # resp.workflow.graph.nodes[0].job_details.job_runs[0].max_capacity #=> Float
4827
+ # resp.workflow.graph.nodes[0].job_details.job_runs[0].worker_type #=> String, one of "Standard", "G.1X", "G.2X"
4828
+ # resp.workflow.graph.nodes[0].job_details.job_runs[0].number_of_workers #=> Integer
4829
+ # resp.workflow.graph.nodes[0].job_details.job_runs[0].security_configuration #=> String
4830
+ # resp.workflow.graph.nodes[0].job_details.job_runs[0].log_group_name #=> String
4831
+ # resp.workflow.graph.nodes[0].job_details.job_runs[0].notification_property.notify_delay_after #=> Integer
4832
+ # resp.workflow.graph.nodes[0].crawler_details.crawls #=> Array
4833
+ # resp.workflow.graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "SUCCEEDED", "CANCELLED", "FAILED"
4834
+ # resp.workflow.graph.nodes[0].crawler_details.crawls[0].started_on #=> Time
4835
+ # resp.workflow.graph.nodes[0].crawler_details.crawls[0].completed_on #=> Time
4836
+ # resp.workflow.graph.nodes[0].crawler_details.crawls[0].error_message #=> String
4837
+ # resp.workflow.graph.nodes[0].crawler_details.crawls[0].log_group #=> String
4838
+ # resp.workflow.graph.nodes[0].crawler_details.crawls[0].log_stream #=> String
4839
+ # resp.workflow.graph.edges #=> Array
4840
+ # resp.workflow.graph.edges[0].source_id #=> String
4841
+ # resp.workflow.graph.edges[0].destination_id #=> String
4842
+ #
4843
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetWorkflow AWS API Documentation
4844
+ #
4845
+ # @overload get_workflow(params = {})
4846
+ # @param [Hash] params ({})
4847
+ def get_workflow(params = {}, options = {})
4848
+ req = build_request(:get_workflow, params)
4849
+ req.send_request(options)
4850
+ end
4851
+
4852
+ # Retrieves the metadata for a given workflow run.
4853
+ #
4854
+ # @option params [required, String] :name
4855
+ # Name of the workflow being run.
4856
+ #
4857
+ # @option params [required, String] :run_id
4858
+ # The ID of the workflow run.
4859
+ #
4860
+ # @option params [Boolean] :include_graph
4861
+ # Specifies whether to include the workflow graph in response or not.
4862
+ #
4863
+ # @return [Types::GetWorkflowRunResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4864
+ #
4865
+ # * {Types::GetWorkflowRunResponse#run #run} => Types::WorkflowRun
4866
+ #
4867
+ # @example Request syntax with placeholder values
4868
+ #
4869
+ # resp = client.get_workflow_run({
4870
+ # name: "NameString", # required
4871
+ # run_id: "IdString", # required
4872
+ # include_graph: false,
4873
+ # })
4874
+ #
4875
+ # @example Response structure
4876
+ #
4877
+ # resp.run.name #=> String
4878
+ # resp.run.workflow_run_id #=> String
4879
+ # resp.run.workflow_run_properties #=> Hash
4880
+ # resp.run.workflow_run_properties["IdString"] #=> String
4881
+ # resp.run.started_on #=> Time
4882
+ # resp.run.completed_on #=> Time
4883
+ # resp.run.status #=> String, one of "RUNNING", "COMPLETED"
4884
+ # resp.run.statistics.total_actions #=> Integer
4885
+ # resp.run.statistics.timeout_actions #=> Integer
4886
+ # resp.run.statistics.failed_actions #=> Integer
4887
+ # resp.run.statistics.stopped_actions #=> Integer
4888
+ # resp.run.statistics.succeeded_actions #=> Integer
4889
+ # resp.run.statistics.running_actions #=> Integer
4890
+ # resp.run.graph.nodes #=> Array
4891
+ # resp.run.graph.nodes[0].type #=> String, one of "CRAWLER", "JOB", "TRIGGER"
4892
+ # resp.run.graph.nodes[0].name #=> String
4893
+ # resp.run.graph.nodes[0].unique_id #=> String
4894
+ # resp.run.graph.nodes[0].trigger_details.trigger.name #=> String
4895
+ # resp.run.graph.nodes[0].trigger_details.trigger.workflow_name #=> String
4896
+ # resp.run.graph.nodes[0].trigger_details.trigger.id #=> String
4897
+ # resp.run.graph.nodes[0].trigger_details.trigger.type #=> String, one of "SCHEDULED", "CONDITIONAL", "ON_DEMAND"
4898
+ # resp.run.graph.nodes[0].trigger_details.trigger.state #=> String, one of "CREATING", "CREATED", "ACTIVATING", "ACTIVATED", "DEACTIVATING", "DEACTIVATED", "DELETING", "UPDATING"
4899
+ # resp.run.graph.nodes[0].trigger_details.trigger.description #=> String
4900
+ # resp.run.graph.nodes[0].trigger_details.trigger.schedule #=> String
4901
+ # resp.run.graph.nodes[0].trigger_details.trigger.actions #=> Array
4902
+ # resp.run.graph.nodes[0].trigger_details.trigger.actions[0].job_name #=> String
4903
+ # resp.run.graph.nodes[0].trigger_details.trigger.actions[0].arguments #=> Hash
4904
+ # resp.run.graph.nodes[0].trigger_details.trigger.actions[0].arguments["GenericString"] #=> String
4905
+ # resp.run.graph.nodes[0].trigger_details.trigger.actions[0].timeout #=> Integer
4906
+ # resp.run.graph.nodes[0].trigger_details.trigger.actions[0].security_configuration #=> String
4907
+ # resp.run.graph.nodes[0].trigger_details.trigger.actions[0].notification_property.notify_delay_after #=> Integer
4908
+ # resp.run.graph.nodes[0].trigger_details.trigger.actions[0].crawler_name #=> String
4909
+ # resp.run.graph.nodes[0].trigger_details.trigger.predicate.logical #=> String, one of "AND", "ANY"
4910
+ # resp.run.graph.nodes[0].trigger_details.trigger.predicate.conditions #=> Array
4911
+ # resp.run.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].logical_operator #=> String, one of "EQUALS"
4912
+ # resp.run.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].job_name #=> String
4913
+ # resp.run.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED", "SUCCEEDED", "FAILED", "TIMEOUT"
4914
+ # resp.run.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].crawler_name #=> String
4915
+ # resp.run.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "SUCCEEDED", "CANCELLED", "FAILED"
4916
+ # resp.run.graph.nodes[0].job_details.job_runs #=> Array
4917
+ # resp.run.graph.nodes[0].job_details.job_runs[0].id #=> String
4918
+ # resp.run.graph.nodes[0].job_details.job_runs[0].attempt #=> Integer
4919
+ # resp.run.graph.nodes[0].job_details.job_runs[0].previous_run_id #=> String
4920
+ # resp.run.graph.nodes[0].job_details.job_runs[0].trigger_name #=> String
4921
+ # resp.run.graph.nodes[0].job_details.job_runs[0].job_name #=> String
4922
+ # resp.run.graph.nodes[0].job_details.job_runs[0].started_on #=> Time
4923
+ # resp.run.graph.nodes[0].job_details.job_runs[0].last_modified_on #=> Time
4924
+ # resp.run.graph.nodes[0].job_details.job_runs[0].completed_on #=> Time
4925
+ # resp.run.graph.nodes[0].job_details.job_runs[0].job_run_state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED", "SUCCEEDED", "FAILED", "TIMEOUT"
4926
+ # resp.run.graph.nodes[0].job_details.job_runs[0].arguments #=> Hash
4927
+ # resp.run.graph.nodes[0].job_details.job_runs[0].arguments["GenericString"] #=> String
4928
+ # resp.run.graph.nodes[0].job_details.job_runs[0].error_message #=> String
4929
+ # resp.run.graph.nodes[0].job_details.job_runs[0].predecessor_runs #=> Array
4930
+ # resp.run.graph.nodes[0].job_details.job_runs[0].predecessor_runs[0].job_name #=> String
4931
+ # resp.run.graph.nodes[0].job_details.job_runs[0].predecessor_runs[0].run_id #=> String
4932
+ # resp.run.graph.nodes[0].job_details.job_runs[0].allocated_capacity #=> Integer
4933
+ # resp.run.graph.nodes[0].job_details.job_runs[0].execution_time #=> Integer
4934
+ # resp.run.graph.nodes[0].job_details.job_runs[0].timeout #=> Integer
4935
+ # resp.run.graph.nodes[0].job_details.job_runs[0].max_capacity #=> Float
4936
+ # resp.run.graph.nodes[0].job_details.job_runs[0].worker_type #=> String, one of "Standard", "G.1X", "G.2X"
4937
+ # resp.run.graph.nodes[0].job_details.job_runs[0].number_of_workers #=> Integer
4938
+ # resp.run.graph.nodes[0].job_details.job_runs[0].security_configuration #=> String
4939
+ # resp.run.graph.nodes[0].job_details.job_runs[0].log_group_name #=> String
4940
+ # resp.run.graph.nodes[0].job_details.job_runs[0].notification_property.notify_delay_after #=> Integer
4941
+ # resp.run.graph.nodes[0].crawler_details.crawls #=> Array
4942
+ # resp.run.graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "SUCCEEDED", "CANCELLED", "FAILED"
4943
+ # resp.run.graph.nodes[0].crawler_details.crawls[0].started_on #=> Time
4944
+ # resp.run.graph.nodes[0].crawler_details.crawls[0].completed_on #=> Time
4945
+ # resp.run.graph.nodes[0].crawler_details.crawls[0].error_message #=> String
4946
+ # resp.run.graph.nodes[0].crawler_details.crawls[0].log_group #=> String
4947
+ # resp.run.graph.nodes[0].crawler_details.crawls[0].log_stream #=> String
4948
+ # resp.run.graph.edges #=> Array
4949
+ # resp.run.graph.edges[0].source_id #=> String
4950
+ # resp.run.graph.edges[0].destination_id #=> String
4951
+ #
4952
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetWorkflowRun AWS API Documentation
4953
+ #
4954
+ # @overload get_workflow_run(params = {})
4955
+ # @param [Hash] params ({})
4956
+ def get_workflow_run(params = {}, options = {})
4957
+ req = build_request(:get_workflow_run, params)
4958
+ req.send_request(options)
4959
+ end
4960
+
4961
+ # Retrieves the workflow run properties which were set during the run.
4962
+ #
4963
+ # @option params [required, String] :name
4964
+ # Name of the workflow which was run.
4965
+ #
4966
+ # @option params [required, String] :run_id
4967
+ # The ID of the workflow run whose run properties should be returned.
4968
+ #
4969
+ # @return [Types::GetWorkflowRunPropertiesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4970
+ #
4971
+ # * {Types::GetWorkflowRunPropertiesResponse#run_properties #run_properties} => Hash&lt;String,String&gt;
4972
+ #
4973
+ # @example Request syntax with placeholder values
4974
+ #
4975
+ # resp = client.get_workflow_run_properties({
4976
+ # name: "NameString", # required
4977
+ # run_id: "IdString", # required
4978
+ # })
4979
+ #
4980
+ # @example Response structure
4981
+ #
4982
+ # resp.run_properties #=> Hash
4983
+ # resp.run_properties["IdString"] #=> String
4984
+ #
4985
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetWorkflowRunProperties AWS API Documentation
4986
+ #
4987
+ # @overload get_workflow_run_properties(params = {})
4988
+ # @param [Hash] params ({})
4989
+ def get_workflow_run_properties(params = {}, options = {})
4990
+ req = build_request(:get_workflow_run_properties, params)
4991
+ req.send_request(options)
4992
+ end
4993
+
4994
+ # Retrieves metadata for all runs of a given workflow.
4995
+ #
4996
+ # @option params [required, String] :name
4997
+ # Name of the workflow whose metadata of runs should be returned.
4998
+ #
4999
+ # @option params [Boolean] :include_graph
5000
+ # Specifies whether to include the workflow graph in response or not.
5001
+ #
5002
+ # @option params [String] :next_token
5003
+ # The maximum size of the response.
5004
+ #
5005
+ # @option params [Integer] :max_results
5006
+ # The maximum number of workflow runs to be included in the response.
5007
+ #
5008
+ # @return [Types::GetWorkflowRunsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5009
+ #
5010
+ # * {Types::GetWorkflowRunsResponse#runs #runs} => Array&lt;Types::WorkflowRun&gt;
5011
+ # * {Types::GetWorkflowRunsResponse#next_token #next_token} => String
5012
+ #
5013
+ # @example Request syntax with placeholder values
5014
+ #
5015
+ # resp = client.get_workflow_runs({
5016
+ # name: "NameString", # required
5017
+ # include_graph: false,
5018
+ # next_token: "GenericString",
5019
+ # max_results: 1,
5020
+ # })
5021
+ #
5022
+ # @example Response structure
5023
+ #
5024
+ # resp.runs #=> Array
5025
+ # resp.runs[0].name #=> String
5026
+ # resp.runs[0].workflow_run_id #=> String
5027
+ # resp.runs[0].workflow_run_properties #=> Hash
5028
+ # resp.runs[0].workflow_run_properties["IdString"] #=> String
5029
+ # resp.runs[0].started_on #=> Time
5030
+ # resp.runs[0].completed_on #=> Time
5031
+ # resp.runs[0].status #=> String, one of "RUNNING", "COMPLETED"
5032
+ # resp.runs[0].statistics.total_actions #=> Integer
5033
+ # resp.runs[0].statistics.timeout_actions #=> Integer
5034
+ # resp.runs[0].statistics.failed_actions #=> Integer
5035
+ # resp.runs[0].statistics.stopped_actions #=> Integer
5036
+ # resp.runs[0].statistics.succeeded_actions #=> Integer
5037
+ # resp.runs[0].statistics.running_actions #=> Integer
5038
+ # resp.runs[0].graph.nodes #=> Array
5039
+ # resp.runs[0].graph.nodes[0].type #=> String, one of "CRAWLER", "JOB", "TRIGGER"
5040
+ # resp.runs[0].graph.nodes[0].name #=> String
5041
+ # resp.runs[0].graph.nodes[0].unique_id #=> String
5042
+ # resp.runs[0].graph.nodes[0].trigger_details.trigger.name #=> String
5043
+ # resp.runs[0].graph.nodes[0].trigger_details.trigger.workflow_name #=> String
5044
+ # resp.runs[0].graph.nodes[0].trigger_details.trigger.id #=> String
5045
+ # resp.runs[0].graph.nodes[0].trigger_details.trigger.type #=> String, one of "SCHEDULED", "CONDITIONAL", "ON_DEMAND"
5046
+ # resp.runs[0].graph.nodes[0].trigger_details.trigger.state #=> String, one of "CREATING", "CREATED", "ACTIVATING", "ACTIVATED", "DEACTIVATING", "DEACTIVATED", "DELETING", "UPDATING"
5047
+ # resp.runs[0].graph.nodes[0].trigger_details.trigger.description #=> String
5048
+ # resp.runs[0].graph.nodes[0].trigger_details.trigger.schedule #=> String
5049
+ # resp.runs[0].graph.nodes[0].trigger_details.trigger.actions #=> Array
5050
+ # resp.runs[0].graph.nodes[0].trigger_details.trigger.actions[0].job_name #=> String
5051
+ # resp.runs[0].graph.nodes[0].trigger_details.trigger.actions[0].arguments #=> Hash
5052
+ # resp.runs[0].graph.nodes[0].trigger_details.trigger.actions[0].arguments["GenericString"] #=> String
5053
+ # resp.runs[0].graph.nodes[0].trigger_details.trigger.actions[0].timeout #=> Integer
5054
+ # resp.runs[0].graph.nodes[0].trigger_details.trigger.actions[0].security_configuration #=> String
5055
+ # resp.runs[0].graph.nodes[0].trigger_details.trigger.actions[0].notification_property.notify_delay_after #=> Integer
5056
+ # resp.runs[0].graph.nodes[0].trigger_details.trigger.actions[0].crawler_name #=> String
5057
+ # resp.runs[0].graph.nodes[0].trigger_details.trigger.predicate.logical #=> String, one of "AND", "ANY"
5058
+ # resp.runs[0].graph.nodes[0].trigger_details.trigger.predicate.conditions #=> Array
5059
+ # resp.runs[0].graph.nodes[0].trigger_details.trigger.predicate.conditions[0].logical_operator #=> String, one of "EQUALS"
5060
+ # resp.runs[0].graph.nodes[0].trigger_details.trigger.predicate.conditions[0].job_name #=> String
5061
+ # resp.runs[0].graph.nodes[0].trigger_details.trigger.predicate.conditions[0].state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED", "SUCCEEDED", "FAILED", "TIMEOUT"
5062
+ # resp.runs[0].graph.nodes[0].trigger_details.trigger.predicate.conditions[0].crawler_name #=> String
5063
+ # resp.runs[0].graph.nodes[0].trigger_details.trigger.predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "SUCCEEDED", "CANCELLED", "FAILED"
5064
+ # resp.runs[0].graph.nodes[0].job_details.job_runs #=> Array
5065
+ # resp.runs[0].graph.nodes[0].job_details.job_runs[0].id #=> String
5066
+ # resp.runs[0].graph.nodes[0].job_details.job_runs[0].attempt #=> Integer
5067
+ # resp.runs[0].graph.nodes[0].job_details.job_runs[0].previous_run_id #=> String
5068
+ # resp.runs[0].graph.nodes[0].job_details.job_runs[0].trigger_name #=> String
5069
+ # resp.runs[0].graph.nodes[0].job_details.job_runs[0].job_name #=> String
5070
+ # resp.runs[0].graph.nodes[0].job_details.job_runs[0].started_on #=> Time
5071
+ # resp.runs[0].graph.nodes[0].job_details.job_runs[0].last_modified_on #=> Time
5072
+ # resp.runs[0].graph.nodes[0].job_details.job_runs[0].completed_on #=> Time
5073
+ # resp.runs[0].graph.nodes[0].job_details.job_runs[0].job_run_state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED", "SUCCEEDED", "FAILED", "TIMEOUT"
5074
+ # resp.runs[0].graph.nodes[0].job_details.job_runs[0].arguments #=> Hash
5075
+ # resp.runs[0].graph.nodes[0].job_details.job_runs[0].arguments["GenericString"] #=> String
5076
+ # resp.runs[0].graph.nodes[0].job_details.job_runs[0].error_message #=> String
5077
+ # resp.runs[0].graph.nodes[0].job_details.job_runs[0].predecessor_runs #=> Array
5078
+ # resp.runs[0].graph.nodes[0].job_details.job_runs[0].predecessor_runs[0].job_name #=> String
5079
+ # resp.runs[0].graph.nodes[0].job_details.job_runs[0].predecessor_runs[0].run_id #=> String
5080
+ # resp.runs[0].graph.nodes[0].job_details.job_runs[0].allocated_capacity #=> Integer
5081
+ # resp.runs[0].graph.nodes[0].job_details.job_runs[0].execution_time #=> Integer
5082
+ # resp.runs[0].graph.nodes[0].job_details.job_runs[0].timeout #=> Integer
5083
+ # resp.runs[0].graph.nodes[0].job_details.job_runs[0].max_capacity #=> Float
5084
+ # resp.runs[0].graph.nodes[0].job_details.job_runs[0].worker_type #=> String, one of "Standard", "G.1X", "G.2X"
5085
+ # resp.runs[0].graph.nodes[0].job_details.job_runs[0].number_of_workers #=> Integer
5086
+ # resp.runs[0].graph.nodes[0].job_details.job_runs[0].security_configuration #=> String
5087
+ # resp.runs[0].graph.nodes[0].job_details.job_runs[0].log_group_name #=> String
5088
+ # resp.runs[0].graph.nodes[0].job_details.job_runs[0].notification_property.notify_delay_after #=> Integer
5089
+ # resp.runs[0].graph.nodes[0].crawler_details.crawls #=> Array
5090
+ # resp.runs[0].graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "SUCCEEDED", "CANCELLED", "FAILED"
5091
+ # resp.runs[0].graph.nodes[0].crawler_details.crawls[0].started_on #=> Time
5092
+ # resp.runs[0].graph.nodes[0].crawler_details.crawls[0].completed_on #=> Time
5093
+ # resp.runs[0].graph.nodes[0].crawler_details.crawls[0].error_message #=> String
5094
+ # resp.runs[0].graph.nodes[0].crawler_details.crawls[0].log_group #=> String
5095
+ # resp.runs[0].graph.nodes[0].crawler_details.crawls[0].log_stream #=> String
5096
+ # resp.runs[0].graph.edges #=> Array
5097
+ # resp.runs[0].graph.edges[0].source_id #=> String
5098
+ # resp.runs[0].graph.edges[0].destination_id #=> String
5099
+ # resp.next_token #=> String
5100
+ #
5101
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetWorkflowRuns AWS API Documentation
5102
+ #
5103
+ # @overload get_workflow_runs(params = {})
5104
+ # @param [Hash] params ({})
5105
+ def get_workflow_runs(params = {}, options = {})
5106
+ req = build_request(:get_workflow_runs, params)
5107
+ req.send_request(options)
5108
+ end
5109
+
4404
5110
  # Imports an existing Athena Data Catalog to AWS Glue
4405
5111
  #
4406
5112
  # @option params [String] :catalog_id
@@ -4623,6 +5329,41 @@ module Aws::Glue
4623
5329
  req.send_request(options)
4624
5330
  end
4625
5331
 
5332
+ # Lists names of workflows created in the account.
5333
+ #
5334
+ # @option params [String] :next_token
5335
+ # A continuation token, if this is a continuation request.
5336
+ #
5337
+ # @option params [Integer] :max_results
5338
+ # The maximum size of a list to return.
5339
+ #
5340
+ # @return [Types::ListWorkflowsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5341
+ #
5342
+ # * {Types::ListWorkflowsResponse#workflows #workflows} => Array&lt;String&gt;
5343
+ # * {Types::ListWorkflowsResponse#next_token #next_token} => String
5344
+ #
5345
+ # @example Request syntax with placeholder values
5346
+ #
5347
+ # resp = client.list_workflows({
5348
+ # next_token: "GenericString",
5349
+ # max_results: 1,
5350
+ # })
5351
+ #
5352
+ # @example Response structure
5353
+ #
5354
+ # resp.workflows #=> Array
5355
+ # resp.workflows[0] #=> String
5356
+ # resp.next_token #=> String
5357
+ #
5358
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListWorkflows AWS API Documentation
5359
+ #
5360
+ # @overload list_workflows(params = {})
5361
+ # @param [Hash] params ({})
5362
+ def list_workflows(params = {}, options = {})
5363
+ req = build_request(:list_workflows, params)
5364
+ req.send_request(options)
5365
+ end
5366
+
4626
5367
  # Sets the security configuration for a specified catalog. After the
4627
5368
  # configuration has been set, the specified encryption is applied to
4628
5369
  # every catalog write thereafter.
@@ -4704,6 +5445,41 @@ module Aws::Glue
4704
5445
  req.send_request(options)
4705
5446
  end
4706
5447
 
5448
+ # Puts the specified workflow run properties for the given workflow run.
5449
+ # If a property already exists for the specified run, then it overrides
5450
+ # the value otherwise adds the property to existing properties.
5451
+ #
5452
+ # @option params [required, String] :name
5453
+ # Name of the workflow which was run.
5454
+ #
5455
+ # @option params [required, String] :run_id
5456
+ # The ID of the workflow run for which the run properties should be
5457
+ # updated.
5458
+ #
5459
+ # @option params [required, Hash<String,String>] :run_properties
5460
+ # The properties to put for the specified run.
5461
+ #
5462
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
5463
+ #
5464
+ # @example Request syntax with placeholder values
5465
+ #
5466
+ # resp = client.put_workflow_run_properties({
5467
+ # name: "NameString", # required
5468
+ # run_id: "IdString", # required
5469
+ # run_properties: { # required
5470
+ # "IdString" => "GenericString",
5471
+ # },
5472
+ # })
5473
+ #
5474
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutWorkflowRunProperties AWS API Documentation
5475
+ #
5476
+ # @overload put_workflow_run_properties(params = {})
5477
+ # @param [Hash] params ({})
5478
+ def put_workflow_run_properties(params = {}, options = {})
5479
+ req = build_request(:put_workflow_run_properties, params)
5480
+ req.send_request(options)
5481
+ end
5482
+
4707
5483
  # Resets a bookmark entry.
4708
5484
  #
4709
5485
  # @option params [required, String] :job_name
@@ -4860,6 +5636,13 @@ module Aws::Glue
4860
5636
  #
4861
5637
  # [1]: https://docs.aws.amazon.com/https:/aws.amazon.com/glue/pricing/
4862
5638
  #
5639
+ # @option params [String] :security_configuration
5640
+ # The name of the `SecurityConfiguration` structure to be used with this
5641
+ # job run.
5642
+ #
5643
+ # @option params [Types::NotificationProperty] :notification_property
5644
+ # Specifies configuration properties of a job run notification.
5645
+ #
4863
5646
  # @option params [String] :worker_type
4864
5647
  # The type of predefined worker that is allocated when a job runs.
4865
5648
  # Accepts a value of Standard, G.1X, or G.2X.
@@ -4880,13 +5663,6 @@ module Aws::Glue
4880
5663
  # The maximum number of workers you can define are 299 for `G.1X`, and
4881
5664
  # 149 for `G.2X`.
4882
5665
  #
4883
- # @option params [String] :security_configuration
4884
- # The name of the `SecurityConfiguration` structure to be used with this
4885
- # job run.
4886
- #
4887
- # @option params [Types::NotificationProperty] :notification_property
4888
- # Specifies configuration properties of a job run notification.
4889
- #
4890
5666
  # @return [Types::StartJobRunResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4891
5667
  #
4892
5668
  # * {Types::StartJobRunResponse#job_run_id #job_run_id} => String
@@ -4902,12 +5678,12 @@ module Aws::Glue
4902
5678
  # allocated_capacity: 1,
4903
5679
  # timeout: 1,
4904
5680
  # max_capacity: 1.0,
4905
- # worker_type: "Standard", # accepts Standard, G.1X, G.2X
4906
- # number_of_workers: 1,
4907
5681
  # security_configuration: "NameString",
4908
5682
  # notification_property: {
4909
5683
  # notify_delay_after: 1,
4910
5684
  # },
5685
+ # worker_type: "NameString",
5686
+ # number_of_workers: 1,
4911
5687
  # })
4912
5688
  #
4913
5689
  # @example Response structure
@@ -4956,6 +5732,34 @@ module Aws::Glue
4956
5732
  req.send_request(options)
4957
5733
  end
4958
5734
 
5735
+ # Starts a new run of the specified workflow.
5736
+ #
5737
+ # @option params [required, String] :name
5738
+ # The name of the workflow to start.
5739
+ #
5740
+ # @return [Types::StartWorkflowRunResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5741
+ #
5742
+ # * {Types::StartWorkflowRunResponse#run_id #run_id} => String
5743
+ #
5744
+ # @example Request syntax with placeholder values
5745
+ #
5746
+ # resp = client.start_workflow_run({
5747
+ # name: "NameString", # required
5748
+ # })
5749
+ #
5750
+ # @example Response structure
5751
+ #
5752
+ # resp.run_id #=> String
5753
+ #
5754
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartWorkflowRun AWS API Documentation
5755
+ #
5756
+ # @overload start_workflow_run(params = {})
5757
+ # @param [Hash] params ({})
5758
+ def start_workflow_run(params = {}, options = {})
5759
+ req = build_request(:start_workflow_run, params)
5760
+ req.send_request(options)
5761
+ end
5762
+
4959
5763
  # If the specified crawler is running, stops the crawl.
4960
5764
  #
4961
5765
  # @option params [required, String] :name
@@ -5709,10 +6513,11 @@ module Aws::Glue
5709
6513
  # "GenericString" => "GenericString",
5710
6514
  # },
5711
6515
  # timeout: 1,
6516
+ # security_configuration: "NameString",
5712
6517
  # notification_property: {
5713
6518
  # notify_delay_after: 1,
5714
6519
  # },
5715
- # security_configuration: "NameString",
6520
+ # crawler_name: "NameString",
5716
6521
  # },
5717
6522
  # ],
5718
6523
  # predicate: {
@@ -5722,6 +6527,8 @@ module Aws::Glue
5722
6527
  # logical_operator: "EQUALS", # accepts EQUALS
5723
6528
  # job_name: "NameString",
5724
6529
  # state: "STARTING", # accepts STARTING, RUNNING, STOPPING, STOPPED, SUCCEEDED, FAILED, TIMEOUT
6530
+ # crawler_name: "NameString",
6531
+ # crawl_state: "RUNNING", # accepts RUNNING, SUCCEEDED, CANCELLED, FAILED
5725
6532
  # },
5726
6533
  # ],
5727
6534
  # },
@@ -5731,6 +6538,7 @@ module Aws::Glue
5731
6538
  # @example Response structure
5732
6539
  #
5733
6540
  # resp.trigger.name #=> String
6541
+ # resp.trigger.workflow_name #=> String
5734
6542
  # resp.trigger.id #=> String
5735
6543
  # resp.trigger.type #=> String, one of "SCHEDULED", "CONDITIONAL", "ON_DEMAND"
5736
6544
  # resp.trigger.state #=> String, one of "CREATING", "CREATED", "ACTIVATING", "ACTIVATED", "DEACTIVATING", "DEACTIVATED", "DELETING", "UPDATING"
@@ -5741,13 +6549,16 @@ module Aws::Glue
5741
6549
  # resp.trigger.actions[0].arguments #=> Hash
5742
6550
  # resp.trigger.actions[0].arguments["GenericString"] #=> String
5743
6551
  # resp.trigger.actions[0].timeout #=> Integer
5744
- # resp.trigger.actions[0].notification_property.notify_delay_after #=> Integer
5745
6552
  # resp.trigger.actions[0].security_configuration #=> String
6553
+ # resp.trigger.actions[0].notification_property.notify_delay_after #=> Integer
6554
+ # resp.trigger.actions[0].crawler_name #=> String
5746
6555
  # resp.trigger.predicate.logical #=> String, one of "AND", "ANY"
5747
6556
  # resp.trigger.predicate.conditions #=> Array
5748
6557
  # resp.trigger.predicate.conditions[0].logical_operator #=> String, one of "EQUALS"
5749
6558
  # resp.trigger.predicate.conditions[0].job_name #=> String
5750
6559
  # resp.trigger.predicate.conditions[0].state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED", "SUCCEEDED", "FAILED", "TIMEOUT"
6560
+ # resp.trigger.predicate.conditions[0].crawler_name #=> String
6561
+ # resp.trigger.predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "SUCCEEDED", "CANCELLED", "FAILED"
5751
6562
  #
5752
6563
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTrigger AWS API Documentation
5753
6564
  #
@@ -5806,6 +6617,45 @@ module Aws::Glue
5806
6617
  req.send_request(options)
5807
6618
  end
5808
6619
 
6620
+ # Updates an existing workflow.
6621
+ #
6622
+ # @option params [required, String] :name
6623
+ # Name of the workflow to be updated.
6624
+ #
6625
+ # @option params [String] :description
6626
+ # The description of the workflow.
6627
+ #
6628
+ # @option params [Hash<String,String>] :default_run_properties
6629
+ # A collection of properties to be used as part of each execution of the
6630
+ # workflow.
6631
+ #
6632
+ # @return [Types::UpdateWorkflowResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6633
+ #
6634
+ # * {Types::UpdateWorkflowResponse#name #name} => String
6635
+ #
6636
+ # @example Request syntax with placeholder values
6637
+ #
6638
+ # resp = client.update_workflow({
6639
+ # name: "NameString", # required
6640
+ # description: "GenericString",
6641
+ # default_run_properties: {
6642
+ # "IdString" => "GenericString",
6643
+ # },
6644
+ # })
6645
+ #
6646
+ # @example Response structure
6647
+ #
6648
+ # resp.name #=> String
6649
+ #
6650
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateWorkflow AWS API Documentation
6651
+ #
6652
+ # @overload update_workflow(params = {})
6653
+ # @param [Hash] params ({})
6654
+ def update_workflow(params = {}, options = {})
6655
+ req = build_request(:update_workflow, params)
6656
+ req.send_request(options)
6657
+ end
6658
+
5809
6659
  # @!endgroup
5810
6660
 
5811
6661
  # @param params ({})
@@ -5819,7 +6669,7 @@ module Aws::Glue
5819
6669
  params: params,
5820
6670
  config: config)
5821
6671
  context[:gem_name] = 'aws-sdk-glue'
5822
- context[:gem_version] = '1.36.0'
6672
+ context[:gem_version] = '1.37.0'
5823
6673
  Seahorse::Client::Request.new(handlers, context)
5824
6674
  end
5825
6675