aws-sdk-glue 1.54.0 → 1.55.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8f4dc54f3b3ce663735821902a2b066ec8cee5c2480d8b4ff9c73e909176cd7f
4
- data.tar.gz: 1050d888cc8dbbe43def6ace24adb3a5aba9465c50dfde67db5d5ee3072a5e4c
3
+ metadata.gz: a91cd77523b621694877dbe7abc8c6f59d10973f577813e7cc3c6ab3e035bf02
4
+ data.tar.gz: 5e7fa29a468591fb1ac7d512ffa8de113320b8144e92a808bc7b7751dc66a804
5
5
  SHA512:
6
- metadata.gz: '0967c46dea6d12948a4c90116c6482789823adcee05d14a2f89b9febd2d953cf3e7371622b9383d235f3d943a45072a7e9d8850c17dbcd9c410af67f30f6d2f3'
7
- data.tar.gz: a9fc53831b3318cada5fc646280e5f055adbcfff8469704e1c79dfa5c7788cd882b1b93676127e5758b162ddc2b8a73a848eebb32108ec6d0d22e3a2003931f0
6
+ metadata.gz: a9d5b1c5df00941b235e995d2f45d1dc754a6c23435b11e39120acab957a17ba0767879ed50ba632aecee59f0142dd7cb0e5561be2b80d2a7541f574472c939f
7
+ data.tar.gz: 87f42e9993d17ba584bcb3ad39c86fc1eb6ceb1866c1393f81cf27af19b6d61cccbd5c5a7b261d7da78bac8abdff6820ba095196c15997b71bbbbe7df14bc1da
@@ -45,6 +45,6 @@ require_relative 'aws-sdk-glue/customizations'
45
45
  # @service
46
46
  module Aws::Glue
47
47
 
48
- GEM_VERSION = '1.54.0'
48
+ GEM_VERSION = '1.55.0'
49
49
 
50
50
  end
@@ -940,7 +940,7 @@ module Aws::Glue
940
940
  # resp.triggers[0].predicate.conditions[0].job_name #=> String
941
941
  # resp.triggers[0].predicate.conditions[0].state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED", "SUCCEEDED", "FAILED", "TIMEOUT"
942
942
  # resp.triggers[0].predicate.conditions[0].crawler_name #=> String
943
- # resp.triggers[0].predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "SUCCEEDED", "CANCELLED", "FAILED"
943
+ # resp.triggers[0].predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
944
944
  # resp.triggers_not_found #=> Array
945
945
  # resp.triggers_not_found[0] #=> String
946
946
  #
@@ -994,7 +994,7 @@ module Aws::Glue
994
994
  # resp.workflows[0].last_run.workflow_run_properties["IdString"] #=> String
995
995
  # resp.workflows[0].last_run.started_on #=> Time
996
996
  # resp.workflows[0].last_run.completed_on #=> Time
997
- # resp.workflows[0].last_run.status #=> String, one of "RUNNING", "COMPLETED"
997
+ # resp.workflows[0].last_run.status #=> String, one of "RUNNING", "COMPLETED", "STOPPING", "STOPPED"
998
998
  # resp.workflows[0].last_run.statistics.total_actions #=> Integer
999
999
  # resp.workflows[0].last_run.statistics.timeout_actions #=> Integer
1000
1000
  # resp.workflows[0].last_run.statistics.failed_actions #=> Integer
@@ -1026,7 +1026,7 @@ module Aws::Glue
1026
1026
  # resp.workflows[0].last_run.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].job_name #=> String
1027
1027
  # 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"
1028
1028
  # resp.workflows[0].last_run.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].crawler_name #=> String
1029
- # resp.workflows[0].last_run.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "SUCCEEDED", "CANCELLED", "FAILED"
1029
+ # resp.workflows[0].last_run.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
1030
1030
  # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs #=> Array
1031
1031
  # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].id #=> String
1032
1032
  # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].attempt #=> Integer
@@ -1054,7 +1054,7 @@ module Aws::Glue
1054
1054
  # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].notification_property.notify_delay_after #=> Integer
1055
1055
  # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].glue_version #=> String
1056
1056
  # resp.workflows[0].last_run.graph.nodes[0].crawler_details.crawls #=> Array
1057
- # resp.workflows[0].last_run.graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "SUCCEEDED", "CANCELLED", "FAILED"
1057
+ # resp.workflows[0].last_run.graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
1058
1058
  # resp.workflows[0].last_run.graph.nodes[0].crawler_details.crawls[0].started_on #=> Time
1059
1059
  # resp.workflows[0].last_run.graph.nodes[0].crawler_details.crawls[0].completed_on #=> Time
1060
1060
  # resp.workflows[0].last_run.graph.nodes[0].crawler_details.crawls[0].error_message #=> String
@@ -1088,7 +1088,7 @@ module Aws::Glue
1088
1088
  # resp.workflows[0].graph.nodes[0].trigger_details.trigger.predicate.conditions[0].job_name #=> String
1089
1089
  # resp.workflows[0].graph.nodes[0].trigger_details.trigger.predicate.conditions[0].state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED", "SUCCEEDED", "FAILED", "TIMEOUT"
1090
1090
  # resp.workflows[0].graph.nodes[0].trigger_details.trigger.predicate.conditions[0].crawler_name #=> String
1091
- # resp.workflows[0].graph.nodes[0].trigger_details.trigger.predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "SUCCEEDED", "CANCELLED", "FAILED"
1091
+ # resp.workflows[0].graph.nodes[0].trigger_details.trigger.predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
1092
1092
  # resp.workflows[0].graph.nodes[0].job_details.job_runs #=> Array
1093
1093
  # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].id #=> String
1094
1094
  # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].attempt #=> Integer
@@ -1116,7 +1116,7 @@ module Aws::Glue
1116
1116
  # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].notification_property.notify_delay_after #=> Integer
1117
1117
  # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].glue_version #=> String
1118
1118
  # resp.workflows[0].graph.nodes[0].crawler_details.crawls #=> Array
1119
- # resp.workflows[0].graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "SUCCEEDED", "CANCELLED", "FAILED"
1119
+ # resp.workflows[0].graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
1120
1120
  # resp.workflows[0].graph.nodes[0].crawler_details.crawls[0].started_on #=> Time
1121
1121
  # resp.workflows[0].graph.nodes[0].crawler_details.crawls[0].completed_on #=> Time
1122
1122
  # resp.workflows[0].graph.nodes[0].crawler_details.crawls[0].error_message #=> String
@@ -2444,7 +2444,7 @@ module Aws::Glue
2444
2444
  # job_name: "NameString",
2445
2445
  # state: "STARTING", # accepts STARTING, RUNNING, STOPPING, STOPPED, SUCCEEDED, FAILED, TIMEOUT
2446
2446
  # crawler_name: "NameString",
2447
- # crawl_state: "RUNNING", # accepts RUNNING, SUCCEEDED, CANCELLED, FAILED
2447
+ # crawl_state: "RUNNING", # accepts RUNNING, CANCELLING, CANCELLED, SUCCEEDED, FAILED
2448
2448
  # },
2449
2449
  # ],
2450
2450
  # },
@@ -5387,7 +5387,7 @@ module Aws::Glue
5387
5387
  # resp.trigger.predicate.conditions[0].job_name #=> String
5388
5388
  # resp.trigger.predicate.conditions[0].state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED", "SUCCEEDED", "FAILED", "TIMEOUT"
5389
5389
  # resp.trigger.predicate.conditions[0].crawler_name #=> String
5390
- # resp.trigger.predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "SUCCEEDED", "CANCELLED", "FAILED"
5390
+ # resp.trigger.predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
5391
5391
  #
5392
5392
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTrigger AWS API Documentation
5393
5393
  #
@@ -5450,7 +5450,7 @@ module Aws::Glue
5450
5450
  # resp.triggers[0].predicate.conditions[0].job_name #=> String
5451
5451
  # resp.triggers[0].predicate.conditions[0].state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED", "SUCCEEDED", "FAILED", "TIMEOUT"
5452
5452
  # resp.triggers[0].predicate.conditions[0].crawler_name #=> String
5453
- # resp.triggers[0].predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "SUCCEEDED", "CANCELLED", "FAILED"
5453
+ # resp.triggers[0].predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
5454
5454
  # resp.next_token #=> String
5455
5455
  #
5456
5456
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTriggers AWS API Documentation
@@ -5598,7 +5598,7 @@ module Aws::Glue
5598
5598
  # resp.workflow.last_run.workflow_run_properties["IdString"] #=> String
5599
5599
  # resp.workflow.last_run.started_on #=> Time
5600
5600
  # resp.workflow.last_run.completed_on #=> Time
5601
- # resp.workflow.last_run.status #=> String, one of "RUNNING", "COMPLETED"
5601
+ # resp.workflow.last_run.status #=> String, one of "RUNNING", "COMPLETED", "STOPPING", "STOPPED"
5602
5602
  # resp.workflow.last_run.statistics.total_actions #=> Integer
5603
5603
  # resp.workflow.last_run.statistics.timeout_actions #=> Integer
5604
5604
  # resp.workflow.last_run.statistics.failed_actions #=> Integer
@@ -5630,7 +5630,7 @@ module Aws::Glue
5630
5630
  # resp.workflow.last_run.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].job_name #=> String
5631
5631
  # resp.workflow.last_run.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED", "SUCCEEDED", "FAILED", "TIMEOUT"
5632
5632
  # resp.workflow.last_run.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].crawler_name #=> String
5633
- # resp.workflow.last_run.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "SUCCEEDED", "CANCELLED", "FAILED"
5633
+ # resp.workflow.last_run.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
5634
5634
  # resp.workflow.last_run.graph.nodes[0].job_details.job_runs #=> Array
5635
5635
  # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].id #=> String
5636
5636
  # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].attempt #=> Integer
@@ -5658,7 +5658,7 @@ module Aws::Glue
5658
5658
  # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].notification_property.notify_delay_after #=> Integer
5659
5659
  # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].glue_version #=> String
5660
5660
  # resp.workflow.last_run.graph.nodes[0].crawler_details.crawls #=> Array
5661
- # resp.workflow.last_run.graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "SUCCEEDED", "CANCELLED", "FAILED"
5661
+ # resp.workflow.last_run.graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
5662
5662
  # resp.workflow.last_run.graph.nodes[0].crawler_details.crawls[0].started_on #=> Time
5663
5663
  # resp.workflow.last_run.graph.nodes[0].crawler_details.crawls[0].completed_on #=> Time
5664
5664
  # resp.workflow.last_run.graph.nodes[0].crawler_details.crawls[0].error_message #=> String
@@ -5692,7 +5692,7 @@ module Aws::Glue
5692
5692
  # resp.workflow.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].job_name #=> String
5693
5693
  # resp.workflow.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED", "SUCCEEDED", "FAILED", "TIMEOUT"
5694
5694
  # resp.workflow.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].crawler_name #=> String
5695
- # resp.workflow.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "SUCCEEDED", "CANCELLED", "FAILED"
5695
+ # resp.workflow.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
5696
5696
  # resp.workflow.graph.nodes[0].job_details.job_runs #=> Array
5697
5697
  # resp.workflow.graph.nodes[0].job_details.job_runs[0].id #=> String
5698
5698
  # resp.workflow.graph.nodes[0].job_details.job_runs[0].attempt #=> Integer
@@ -5720,7 +5720,7 @@ module Aws::Glue
5720
5720
  # resp.workflow.graph.nodes[0].job_details.job_runs[0].notification_property.notify_delay_after #=> Integer
5721
5721
  # resp.workflow.graph.nodes[0].job_details.job_runs[0].glue_version #=> String
5722
5722
  # resp.workflow.graph.nodes[0].crawler_details.crawls #=> Array
5723
- # resp.workflow.graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "SUCCEEDED", "CANCELLED", "FAILED"
5723
+ # resp.workflow.graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
5724
5724
  # resp.workflow.graph.nodes[0].crawler_details.crawls[0].started_on #=> Time
5725
5725
  # resp.workflow.graph.nodes[0].crawler_details.crawls[0].completed_on #=> Time
5726
5726
  # resp.workflow.graph.nodes[0].crawler_details.crawls[0].error_message #=> String
@@ -5770,7 +5770,7 @@ module Aws::Glue
5770
5770
  # resp.run.workflow_run_properties["IdString"] #=> String
5771
5771
  # resp.run.started_on #=> Time
5772
5772
  # resp.run.completed_on #=> Time
5773
- # resp.run.status #=> String, one of "RUNNING", "COMPLETED"
5773
+ # resp.run.status #=> String, one of "RUNNING", "COMPLETED", "STOPPING", "STOPPED"
5774
5774
  # resp.run.statistics.total_actions #=> Integer
5775
5775
  # resp.run.statistics.timeout_actions #=> Integer
5776
5776
  # resp.run.statistics.failed_actions #=> Integer
@@ -5802,7 +5802,7 @@ module Aws::Glue
5802
5802
  # resp.run.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].job_name #=> String
5803
5803
  # resp.run.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED", "SUCCEEDED", "FAILED", "TIMEOUT"
5804
5804
  # resp.run.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].crawler_name #=> String
5805
- # resp.run.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "SUCCEEDED", "CANCELLED", "FAILED"
5805
+ # resp.run.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
5806
5806
  # resp.run.graph.nodes[0].job_details.job_runs #=> Array
5807
5807
  # resp.run.graph.nodes[0].job_details.job_runs[0].id #=> String
5808
5808
  # resp.run.graph.nodes[0].job_details.job_runs[0].attempt #=> Integer
@@ -5830,7 +5830,7 @@ module Aws::Glue
5830
5830
  # resp.run.graph.nodes[0].job_details.job_runs[0].notification_property.notify_delay_after #=> Integer
5831
5831
  # resp.run.graph.nodes[0].job_details.job_runs[0].glue_version #=> String
5832
5832
  # resp.run.graph.nodes[0].crawler_details.crawls #=> Array
5833
- # resp.run.graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "SUCCEEDED", "CANCELLED", "FAILED"
5833
+ # resp.run.graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
5834
5834
  # resp.run.graph.nodes[0].crawler_details.crawls[0].started_on #=> Time
5835
5835
  # resp.run.graph.nodes[0].crawler_details.crawls[0].completed_on #=> Time
5836
5836
  # resp.run.graph.nodes[0].crawler_details.crawls[0].error_message #=> String
@@ -5921,7 +5921,7 @@ module Aws::Glue
5921
5921
  # resp.runs[0].workflow_run_properties["IdString"] #=> String
5922
5922
  # resp.runs[0].started_on #=> Time
5923
5923
  # resp.runs[0].completed_on #=> Time
5924
- # resp.runs[0].status #=> String, one of "RUNNING", "COMPLETED"
5924
+ # resp.runs[0].status #=> String, one of "RUNNING", "COMPLETED", "STOPPING", "STOPPED"
5925
5925
  # resp.runs[0].statistics.total_actions #=> Integer
5926
5926
  # resp.runs[0].statistics.timeout_actions #=> Integer
5927
5927
  # resp.runs[0].statistics.failed_actions #=> Integer
@@ -5953,7 +5953,7 @@ module Aws::Glue
5953
5953
  # resp.runs[0].graph.nodes[0].trigger_details.trigger.predicate.conditions[0].job_name #=> String
5954
5954
  # resp.runs[0].graph.nodes[0].trigger_details.trigger.predicate.conditions[0].state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED", "SUCCEEDED", "FAILED", "TIMEOUT"
5955
5955
  # resp.runs[0].graph.nodes[0].trigger_details.trigger.predicate.conditions[0].crawler_name #=> String
5956
- # resp.runs[0].graph.nodes[0].trigger_details.trigger.predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "SUCCEEDED", "CANCELLED", "FAILED"
5956
+ # resp.runs[0].graph.nodes[0].trigger_details.trigger.predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
5957
5957
  # resp.runs[0].graph.nodes[0].job_details.job_runs #=> Array
5958
5958
  # resp.runs[0].graph.nodes[0].job_details.job_runs[0].id #=> String
5959
5959
  # resp.runs[0].graph.nodes[0].job_details.job_runs[0].attempt #=> Integer
@@ -5981,7 +5981,7 @@ module Aws::Glue
5981
5981
  # resp.runs[0].graph.nodes[0].job_details.job_runs[0].notification_property.notify_delay_after #=> Integer
5982
5982
  # resp.runs[0].graph.nodes[0].job_details.job_runs[0].glue_version #=> String
5983
5983
  # resp.runs[0].graph.nodes[0].crawler_details.crawls #=> Array
5984
- # resp.runs[0].graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "SUCCEEDED", "CANCELLED", "FAILED"
5984
+ # resp.runs[0].graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
5985
5985
  # resp.runs[0].graph.nodes[0].crawler_details.crawls[0].started_on #=> Time
5986
5986
  # resp.runs[0].graph.nodes[0].crawler_details.crawls[0].completed_on #=> Time
5987
5987
  # resp.runs[0].graph.nodes[0].crawler_details.crawls[0].error_message #=> String
@@ -7139,6 +7139,32 @@ module Aws::Glue
7139
7139
  req.send_request(options)
7140
7140
  end
7141
7141
 
7142
+ # Stops the execution of the specified workflow run.
7143
+ #
7144
+ # @option params [required, String] :name
7145
+ # The name of the workflow to stop.
7146
+ #
7147
+ # @option params [required, String] :run_id
7148
+ # The ID of the workflow run to stop.
7149
+ #
7150
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
7151
+ #
7152
+ # @example Request syntax with placeholder values
7153
+ #
7154
+ # resp = client.stop_workflow_run({
7155
+ # name: "NameString", # required
7156
+ # run_id: "IdString", # required
7157
+ # })
7158
+ #
7159
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopWorkflowRun AWS API Documentation
7160
+ #
7161
+ # @overload stop_workflow_run(params = {})
7162
+ # @param [Hash] params ({})
7163
+ def stop_workflow_run(params = {}, options = {})
7164
+ req = build_request(:stop_workflow_run, params)
7165
+ req.send_request(options)
7166
+ end
7167
+
7142
7168
  # Adds tags to a resource. A tag is a label you can assign to an AWS
7143
7169
  # resource. In AWS Glue, you can tag only certain resources. For
7144
7170
  # information about what resources you can tag, see [AWS Tags in AWS
@@ -7986,7 +8012,7 @@ module Aws::Glue
7986
8012
  # job_name: "NameString",
7987
8013
  # state: "STARTING", # accepts STARTING, RUNNING, STOPPING, STOPPED, SUCCEEDED, FAILED, TIMEOUT
7988
8014
  # crawler_name: "NameString",
7989
- # crawl_state: "RUNNING", # accepts RUNNING, SUCCEEDED, CANCELLED, FAILED
8015
+ # crawl_state: "RUNNING", # accepts RUNNING, CANCELLING, CANCELLED, SUCCEEDED, FAILED
7990
8016
  # },
7991
8017
  # ],
7992
8018
  # },
@@ -8016,7 +8042,7 @@ module Aws::Glue
8016
8042
  # resp.trigger.predicate.conditions[0].job_name #=> String
8017
8043
  # resp.trigger.predicate.conditions[0].state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED", "SUCCEEDED", "FAILED", "TIMEOUT"
8018
8044
  # resp.trigger.predicate.conditions[0].crawler_name #=> String
8019
- # resp.trigger.predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "SUCCEEDED", "CANCELLED", "FAILED"
8045
+ # resp.trigger.predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
8020
8046
  #
8021
8047
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTrigger AWS API Documentation
8022
8048
  #
@@ -8127,7 +8153,7 @@ module Aws::Glue
8127
8153
  params: params,
8128
8154
  config: config)
8129
8155
  context[:gem_name] = 'aws-sdk-glue'
8130
- context[:gem_version] = '1.54.0'
8156
+ context[:gem_version] = '1.55.0'
8131
8157
  Seahorse::Client::Request.new(handlers, context)
8132
8158
  end
8133
8159
 
@@ -325,6 +325,7 @@ module Aws::Glue
325
325
  HashString = Shapes::StringShape.new(name: 'HashString')
326
326
  IdString = Shapes::StringShape.new(name: 'IdString')
327
327
  IdempotentParameterMismatchException = Shapes::StructureShape.new(name: 'IdempotentParameterMismatchException')
328
+ IllegalWorkflowStateException = Shapes::StructureShape.new(name: 'IllegalWorkflowStateException')
328
329
  ImportCatalogToGlueRequest = Shapes::StructureShape.new(name: 'ImportCatalogToGlueRequest')
329
330
  ImportCatalogToGlueResponse = Shapes::StructureShape.new(name: 'ImportCatalogToGlueResponse')
330
331
  ImportLabelsTaskRunProperties = Shapes::StructureShape.new(name: 'ImportLabelsTaskRunProperties')
@@ -504,6 +505,8 @@ module Aws::Glue
504
505
  StopCrawlerScheduleResponse = Shapes::StructureShape.new(name: 'StopCrawlerScheduleResponse')
505
506
  StopTriggerRequest = Shapes::StructureShape.new(name: 'StopTriggerRequest')
506
507
  StopTriggerResponse = Shapes::StructureShape.new(name: 'StopTriggerResponse')
508
+ StopWorkflowRunRequest = Shapes::StructureShape.new(name: 'StopWorkflowRunRequest')
509
+ StopWorkflowRunResponse = Shapes::StructureShape.new(name: 'StopWorkflowRunResponse')
507
510
  StorageDescriptor = Shapes::StructureShape.new(name: 'StorageDescriptor')
508
511
  StringList = Shapes::ListShape.new(name: 'StringList')
509
512
  Table = Shapes::StructureShape.new(name: 'Table')
@@ -1775,6 +1778,9 @@ module Aws::Glue
1775
1778
  IdempotentParameterMismatchException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
1776
1779
  IdempotentParameterMismatchException.struct_class = Types::IdempotentParameterMismatchException
1777
1780
 
1781
+ IllegalWorkflowStateException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
1782
+ IllegalWorkflowStateException.struct_class = Types::IllegalWorkflowStateException
1783
+
1778
1784
  ImportCatalogToGlueRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
1779
1785
  ImportCatalogToGlueRequest.struct_class = Types::ImportCatalogToGlueRequest
1780
1786
 
@@ -2297,6 +2303,12 @@ module Aws::Glue
2297
2303
  StopTriggerResponse.add_member(:name, Shapes::ShapeRef.new(shape: NameString, location_name: "Name"))
2298
2304
  StopTriggerResponse.struct_class = Types::StopTriggerResponse
2299
2305
 
2306
+ StopWorkflowRunRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
2307
+ StopWorkflowRunRequest.add_member(:run_id, Shapes::ShapeRef.new(shape: IdString, required: true, location_name: "RunId"))
2308
+ StopWorkflowRunRequest.struct_class = Types::StopWorkflowRunRequest
2309
+
2310
+ StopWorkflowRunResponse.struct_class = Types::StopWorkflowRunResponse
2311
+
2300
2312
  StorageDescriptor.add_member(:columns, Shapes::ShapeRef.new(shape: ColumnList, location_name: "Columns"))
2301
2313
  StorageDescriptor.add_member(:location, Shapes::ShapeRef.new(shape: LocationString, location_name: "Location"))
2302
2314
  StorageDescriptor.add_member(:input_format, Shapes::ShapeRef.new(shape: FormatString, location_name: "InputFormat"))
@@ -4166,6 +4178,19 @@ module Aws::Glue
4166
4178
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
4167
4179
  end)
4168
4180
 
4181
+ api.add_operation(:stop_workflow_run, Seahorse::Model::Operation.new.tap do |o|
4182
+ o.name = "StopWorkflowRun"
4183
+ o.http_method = "POST"
4184
+ o.http_request_uri = "/"
4185
+ o.input = Shapes::ShapeRef.new(shape: StopWorkflowRunRequest)
4186
+ o.output = Shapes::ShapeRef.new(shape: StopWorkflowRunResponse)
4187
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
4188
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
4189
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
4190
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
4191
+ o.errors << Shapes::ShapeRef.new(shape: IllegalWorkflowStateException)
4192
+ end)
4193
+
4169
4194
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
4170
4195
  o.name = "TagResource"
4171
4196
  o.http_method = "POST"
@@ -36,6 +36,7 @@ module Aws::Glue
36
36
  # * {EntityNotFoundException}
37
37
  # * {GlueEncryptionException}
38
38
  # * {IdempotentParameterMismatchException}
39
+ # * {IllegalWorkflowStateException}
39
40
  # * {InternalServiceException}
40
41
  # * {InvalidInputException}
41
42
  # * {MLTransformNotReadyException}
@@ -219,6 +220,21 @@ module Aws::Glue
219
220
  end
220
221
  end
221
222
 
223
+ class IllegalWorkflowStateException < ServiceError
224
+
225
+ # @param [Seahorse::Client::RequestContext] context
226
+ # @param [String] message
227
+ # @param [Aws::Glue::Types::IllegalWorkflowStateException] data
228
+ def initialize(context, message, data = Aws::EmptyStructure.new)
229
+ super(context, message, data)
230
+ end
231
+
232
+ # @return [String]
233
+ def message
234
+ @message || @data[:message]
235
+ end
236
+ end
237
+
222
238
  class InternalServiceException < ServiceError
223
239
 
224
240
  # @param [Seahorse::Client::RequestContext] context
@@ -1102,7 +1102,7 @@ module Aws::Glue
1102
1102
  # job_name: "NameString",
1103
1103
  # state: "STARTING", # accepts STARTING, RUNNING, STOPPING, STOPPED, SUCCEEDED, FAILED, TIMEOUT
1104
1104
  # crawler_name: "NameString",
1105
- # crawl_state: "RUNNING", # accepts RUNNING, SUCCEEDED, CANCELLED, FAILED
1105
+ # crawl_state: "RUNNING", # accepts RUNNING, CANCELLING, CANCELLED, SUCCEEDED, FAILED
1106
1106
  # }
1107
1107
  #
1108
1108
  # @!attribute [rw] logical_operator
@@ -1115,8 +1115,10 @@ module Aws::Glue
1115
1115
  # @return [String]
1116
1116
  #
1117
1117
  # @!attribute [rw] state
1118
- # The condition state. Currently, the values supported are
1119
- # `SUCCEEDED`, `STOPPED`, `TIMEOUT`, and `FAILED`.
1118
+ # The condition state. Currently, the only job states that a trigger
1119
+ # can listen for are `SUCCEEDED`, `STOPPED`, `FAILED`, and `TIMEOUT`.
1120
+ # The only crawler states that a trigger can listen for are
1121
+ # `SUCCEEDED`, `FAILED`, and `CANCELLED`.
1120
1122
  # @return [String]
1121
1123
  #
1122
1124
  # @!attribute [rw] crawler_name
@@ -3263,7 +3265,7 @@ module Aws::Glue
3263
3265
  # job_name: "NameString",
3264
3266
  # state: "STARTING", # accepts STARTING, RUNNING, STOPPING, STOPPED, SUCCEEDED, FAILED, TIMEOUT
3265
3267
  # crawler_name: "NameString",
3266
- # crawl_state: "RUNNING", # accepts RUNNING, SUCCEEDED, CANCELLED, FAILED
3268
+ # crawl_state: "RUNNING", # accepts RUNNING, CANCELLING, CANCELLED, SUCCEEDED, FAILED
3267
3269
  # },
3268
3270
  # ],
3269
3271
  # },
@@ -7148,6 +7150,19 @@ module Aws::Glue
7148
7150
  include Aws::Structure
7149
7151
  end
7150
7152
 
7153
+ # The workflow is in an invalid state to perform a requested operation.
7154
+ #
7155
+ # @!attribute [rw] message
7156
+ # A message describing the problem.
7157
+ # @return [String]
7158
+ #
7159
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/IllegalWorkflowStateException AWS API Documentation
7160
+ #
7161
+ class IllegalWorkflowStateException < Struct.new(
7162
+ :message)
7163
+ include Aws::Structure
7164
+ end
7165
+
7151
7166
  # @note When making an API call, you may pass ImportCatalogToGlueRequest
7152
7167
  # data as a hash:
7153
7168
  #
@@ -7601,7 +7616,13 @@ module Aws::Glue
7601
7616
  # @return [Time]
7602
7617
  #
7603
7618
  # @!attribute [rw] job_run_state
7604
- # The current state of the job run.
7619
+ # The current state of the job run. For more information about the
7620
+ # statuses of jobs that have terminated abnormally, see [AWS Glue Job
7621
+ # Run Statuses][1].
7622
+ #
7623
+ #
7624
+ #
7625
+ # [1]: https://docs.aws.amazon.com/glue/latest/dg/job-run-statuses.html
7605
7626
  # @return [String]
7606
7627
  #
7607
7628
  # @!attribute [rw] arguments
@@ -9071,7 +9092,7 @@ module Aws::Glue
9071
9092
  # job_name: "NameString",
9072
9093
  # state: "STARTING", # accepts STARTING, RUNNING, STOPPING, STOPPED, SUCCEEDED, FAILED, TIMEOUT
9073
9094
  # crawler_name: "NameString",
9074
- # crawl_state: "RUNNING", # accepts RUNNING, SUCCEEDED, CANCELLED, FAILED
9095
+ # crawl_state: "RUNNING", # accepts RUNNING, CANCELLING, CANCELLED, SUCCEEDED, FAILED
9075
9096
  # },
9076
9097
  # ],
9077
9098
  # }
@@ -10233,6 +10254,34 @@ module Aws::Glue
10233
10254
  include Aws::Structure
10234
10255
  end
10235
10256
 
10257
+ # @note When making an API call, you may pass StopWorkflowRunRequest
10258
+ # data as a hash:
10259
+ #
10260
+ # {
10261
+ # name: "NameString", # required
10262
+ # run_id: "IdString", # required
10263
+ # }
10264
+ #
10265
+ # @!attribute [rw] name
10266
+ # The name of the workflow to stop.
10267
+ # @return [String]
10268
+ #
10269
+ # @!attribute [rw] run_id
10270
+ # The ID of the workflow run to stop.
10271
+ # @return [String]
10272
+ #
10273
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopWorkflowRunRequest AWS API Documentation
10274
+ #
10275
+ class StopWorkflowRunRequest < Struct.new(
10276
+ :name,
10277
+ :run_id)
10278
+ include Aws::Structure
10279
+ end
10280
+
10281
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopWorkflowRunResponse AWS API Documentation
10282
+ #
10283
+ class StopWorkflowRunResponse < Aws::EmptyStructure; end
10284
+
10236
10285
  # Describes the physical storage of table data.
10237
10286
  #
10238
10287
  # @note When making an API call, you may pass StorageDescriptor
@@ -11133,7 +11182,7 @@ module Aws::Glue
11133
11182
  # job_name: "NameString",
11134
11183
  # state: "STARTING", # accepts STARTING, RUNNING, STOPPING, STOPPED, SUCCEEDED, FAILED, TIMEOUT
11135
11184
  # crawler_name: "NameString",
11136
- # crawl_state: "RUNNING", # accepts RUNNING, SUCCEEDED, CANCELLED, FAILED
11185
+ # crawl_state: "RUNNING", # accepts RUNNING, CANCELLING, CANCELLED, SUCCEEDED, FAILED
11137
11186
  # },
11138
11187
  # ],
11139
11188
  # },
@@ -12187,7 +12236,7 @@ module Aws::Glue
12187
12236
  # job_name: "NameString",
12188
12237
  # state: "STARTING", # accepts STARTING, RUNNING, STOPPING, STOPPED, SUCCEEDED, FAILED, TIMEOUT
12189
12238
  # crawler_name: "NameString",
12190
- # crawl_state: "RUNNING", # accepts RUNNING, SUCCEEDED, CANCELLED, FAILED
12239
+ # crawl_state: "RUNNING", # accepts RUNNING, CANCELLING, CANCELLED, SUCCEEDED, FAILED
12191
12240
  # },
12192
12241
  # ],
12193
12242
  # },
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-glue
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.54.0
4
+ version: 1.55.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-07 00:00:00.000000000 Z
11
+ date: 2020-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core