aws-sdk-glue 1.53.0 → 1.58.1

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: 4a772773f64984923dc07bd82d0c4d9bc4b16e624e38e29c7327f6aa1169d06a
4
- data.tar.gz: 2820b2ee1d470ba44b6071f521250acd60f3be8a13e9713533eb0ffae2b47896
3
+ metadata.gz: ff2050c7e192a47095e51958eb13a77a0e4f3baec6b99c82d0aa41f77d570515
4
+ data.tar.gz: 7f0add5718351af021a8786fca53581568ed278d70d144759a4016aa199d7227
5
5
  SHA512:
6
- metadata.gz: 2f458426dc7304fee01264ad057ec6fd3fc700baa5b43cd421fc44150126775b4aad23e137e6cc47f5dbb31b64c630e4fc24cd81d11263394bc0f7f703a64ef1
7
- data.tar.gz: ee0861465265d509c73ef29c32f1eb0bcec6adda21dc9c27c9b6f97abac09c47ff788075bfda2f94610da704a72955cca50c4136b4739960dac9e50d997744c9
6
+ metadata.gz: be526e8164a4b19822e759bd4f1a2d031137cbdf724f1f8359c25619ae30b02cdf013b0d5e60b63ee9667f9edc43500b04572602ac8b79ea9c0e4bcefe578802
7
+ data.tar.gz: 7751c4e02eccba3fe869fed4bbc3a1d04cb95b31435419daa343d76ebe55f4894a823ce7fb2e2a316b2801546e6d5ddc2637a6e2fa3271064ec61a7ec796b973
@@ -45,6 +45,6 @@ require_relative 'aws-sdk-glue/customizations'
45
45
  # @service
46
46
  module Aws::Glue
47
47
 
48
- GEM_VERSION = '1.53.0'
48
+ GEM_VERSION = '1.58.1'
49
49
 
50
50
  end
@@ -24,6 +24,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
24
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
25
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
26
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
27
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
28
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
29
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
29
30
 
@@ -69,6 +70,7 @@ module Aws::Glue
69
70
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
70
71
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
71
72
  add_plugin(Aws::Plugins::TransferEncoding)
73
+ add_plugin(Aws::Plugins::HttpChecksum)
72
74
  add_plugin(Aws::Plugins::SignatureV4)
73
75
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
74
76
 
@@ -105,7 +107,7 @@ module Aws::Glue
105
107
  # @option options [required, String] :region
106
108
  # The AWS region to connect to. The configured `:region` is
107
109
  # used to determine the service `:endpoint`. When not passed,
108
- # a default `:region` is search for in the following locations:
110
+ # a default `:region` is searched for in the following locations:
109
111
  #
110
112
  # * `Aws.config[:region]`
111
113
  # * `ENV['AWS_REGION']`
@@ -161,7 +163,7 @@ module Aws::Glue
161
163
  # @option options [String] :endpoint
162
164
  # The client endpoint is normally constructed from the `:region`
163
165
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be avalid HTTP(S) URI.
166
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
165
167
  #
166
168
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
169
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -176,7 +178,7 @@ module Aws::Glue
176
178
  # requests fetching endpoints information. Defaults to 60 sec.
177
179
  #
178
180
  # @option options [Boolean] :endpoint_discovery (false)
179
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
181
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
180
182
  #
181
183
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
182
184
  # The log formatter.
@@ -940,7 +942,7 @@ module Aws::Glue
940
942
  # resp.triggers[0].predicate.conditions[0].job_name #=> String
941
943
  # resp.triggers[0].predicate.conditions[0].state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED", "SUCCEEDED", "FAILED", "TIMEOUT"
942
944
  # 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"
945
+ # resp.triggers[0].predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
944
946
  # resp.triggers_not_found #=> Array
945
947
  # resp.triggers_not_found[0] #=> String
946
948
  #
@@ -994,7 +996,7 @@ module Aws::Glue
994
996
  # resp.workflows[0].last_run.workflow_run_properties["IdString"] #=> String
995
997
  # resp.workflows[0].last_run.started_on #=> Time
996
998
  # resp.workflows[0].last_run.completed_on #=> Time
997
- # resp.workflows[0].last_run.status #=> String, one of "RUNNING", "COMPLETED"
999
+ # resp.workflows[0].last_run.status #=> String, one of "RUNNING", "COMPLETED", "STOPPING", "STOPPED"
998
1000
  # resp.workflows[0].last_run.statistics.total_actions #=> Integer
999
1001
  # resp.workflows[0].last_run.statistics.timeout_actions #=> Integer
1000
1002
  # resp.workflows[0].last_run.statistics.failed_actions #=> Integer
@@ -1026,7 +1028,7 @@ module Aws::Glue
1026
1028
  # resp.workflows[0].last_run.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].job_name #=> String
1027
1029
  # 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
1030
  # 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"
1031
+ # 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
1032
  # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs #=> Array
1031
1033
  # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].id #=> String
1032
1034
  # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].attempt #=> Integer
@@ -1054,7 +1056,7 @@ module Aws::Glue
1054
1056
  # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].notification_property.notify_delay_after #=> Integer
1055
1057
  # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].glue_version #=> String
1056
1058
  # 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"
1059
+ # resp.workflows[0].last_run.graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
1058
1060
  # resp.workflows[0].last_run.graph.nodes[0].crawler_details.crawls[0].started_on #=> Time
1059
1061
  # resp.workflows[0].last_run.graph.nodes[0].crawler_details.crawls[0].completed_on #=> Time
1060
1062
  # resp.workflows[0].last_run.graph.nodes[0].crawler_details.crawls[0].error_message #=> String
@@ -1088,7 +1090,7 @@ module Aws::Glue
1088
1090
  # resp.workflows[0].graph.nodes[0].trigger_details.trigger.predicate.conditions[0].job_name #=> String
1089
1091
  # resp.workflows[0].graph.nodes[0].trigger_details.trigger.predicate.conditions[0].state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED", "SUCCEEDED", "FAILED", "TIMEOUT"
1090
1092
  # 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"
1093
+ # resp.workflows[0].graph.nodes[0].trigger_details.trigger.predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
1092
1094
  # resp.workflows[0].graph.nodes[0].job_details.job_runs #=> Array
1093
1095
  # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].id #=> String
1094
1096
  # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].attempt #=> Integer
@@ -1116,7 +1118,7 @@ module Aws::Glue
1116
1118
  # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].notification_property.notify_delay_after #=> Integer
1117
1119
  # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].glue_version #=> String
1118
1120
  # 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"
1121
+ # resp.workflows[0].graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
1120
1122
  # resp.workflows[0].graph.nodes[0].crawler_details.crawls[0].started_on #=> Time
1121
1123
  # resp.workflows[0].graph.nodes[0].crawler_details.crawls[0].completed_on #=> Time
1122
1124
  # resp.workflows[0].graph.nodes[0].crawler_details.crawls[0].error_message #=> String
@@ -2444,7 +2446,7 @@ module Aws::Glue
2444
2446
  # job_name: "NameString",
2445
2447
  # state: "STARTING", # accepts STARTING, RUNNING, STOPPING, STOPPED, SUCCEEDED, FAILED, TIMEOUT
2446
2448
  # crawler_name: "NameString",
2447
- # crawl_state: "RUNNING", # accepts RUNNING, SUCCEEDED, CANCELLED, FAILED
2449
+ # crawl_state: "RUNNING", # accepts RUNNING, CANCELLING, CANCELLED, SUCCEEDED, FAILED
2448
2450
  # },
2449
2451
  # ],
2450
2452
  # },
@@ -5387,7 +5389,7 @@ module Aws::Glue
5387
5389
  # resp.trigger.predicate.conditions[0].job_name #=> String
5388
5390
  # resp.trigger.predicate.conditions[0].state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED", "SUCCEEDED", "FAILED", "TIMEOUT"
5389
5391
  # resp.trigger.predicate.conditions[0].crawler_name #=> String
5390
- # resp.trigger.predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "SUCCEEDED", "CANCELLED", "FAILED"
5392
+ # resp.trigger.predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
5391
5393
  #
5392
5394
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTrigger AWS API Documentation
5393
5395
  #
@@ -5450,7 +5452,7 @@ module Aws::Glue
5450
5452
  # resp.triggers[0].predicate.conditions[0].job_name #=> String
5451
5453
  # resp.triggers[0].predicate.conditions[0].state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED", "SUCCEEDED", "FAILED", "TIMEOUT"
5452
5454
  # 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"
5455
+ # resp.triggers[0].predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
5454
5456
  # resp.next_token #=> String
5455
5457
  #
5456
5458
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTriggers AWS API Documentation
@@ -5489,6 +5491,7 @@ module Aws::Glue
5489
5491
  # @example Response structure
5490
5492
  #
5491
5493
  # resp.user_defined_function.function_name #=> String
5494
+ # resp.user_defined_function.database_name #=> String
5492
5495
  # resp.user_defined_function.class_name #=> String
5493
5496
  # resp.user_defined_function.owner_name #=> String
5494
5497
  # resp.user_defined_function.owner_type #=> String, one of "USER", "ROLE", "GROUP"
@@ -5513,7 +5516,9 @@ module Aws::Glue
5513
5516
  # located. If none is provided, the AWS account ID is used by default.
5514
5517
  #
5515
5518
  # @option params [String] :database_name
5516
- # The name of the catalog database where the functions are located.
5519
+ # The name of the catalog database where the functions are located. If
5520
+ # none is provided, functions from all the databases across the catalog
5521
+ # will be returned.
5517
5522
  #
5518
5523
  # @option params [required, String] :pattern
5519
5524
  # An optional function-name pattern string that filters the function
@@ -5546,6 +5551,7 @@ module Aws::Glue
5546
5551
  #
5547
5552
  # resp.user_defined_functions #=> Array
5548
5553
  # resp.user_defined_functions[0].function_name #=> String
5554
+ # resp.user_defined_functions[0].database_name #=> String
5549
5555
  # resp.user_defined_functions[0].class_name #=> String
5550
5556
  # resp.user_defined_functions[0].owner_name #=> String
5551
5557
  # resp.user_defined_functions[0].owner_type #=> String, one of "USER", "ROLE", "GROUP"
@@ -5598,7 +5604,7 @@ module Aws::Glue
5598
5604
  # resp.workflow.last_run.workflow_run_properties["IdString"] #=> String
5599
5605
  # resp.workflow.last_run.started_on #=> Time
5600
5606
  # resp.workflow.last_run.completed_on #=> Time
5601
- # resp.workflow.last_run.status #=> String, one of "RUNNING", "COMPLETED"
5607
+ # resp.workflow.last_run.status #=> String, one of "RUNNING", "COMPLETED", "STOPPING", "STOPPED"
5602
5608
  # resp.workflow.last_run.statistics.total_actions #=> Integer
5603
5609
  # resp.workflow.last_run.statistics.timeout_actions #=> Integer
5604
5610
  # resp.workflow.last_run.statistics.failed_actions #=> Integer
@@ -5630,7 +5636,7 @@ module Aws::Glue
5630
5636
  # resp.workflow.last_run.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].job_name #=> String
5631
5637
  # 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
5638
  # 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"
5639
+ # resp.workflow.last_run.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
5634
5640
  # resp.workflow.last_run.graph.nodes[0].job_details.job_runs #=> Array
5635
5641
  # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].id #=> String
5636
5642
  # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].attempt #=> Integer
@@ -5658,7 +5664,7 @@ module Aws::Glue
5658
5664
  # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].notification_property.notify_delay_after #=> Integer
5659
5665
  # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].glue_version #=> String
5660
5666
  # 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"
5667
+ # resp.workflow.last_run.graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
5662
5668
  # resp.workflow.last_run.graph.nodes[0].crawler_details.crawls[0].started_on #=> Time
5663
5669
  # resp.workflow.last_run.graph.nodes[0].crawler_details.crawls[0].completed_on #=> Time
5664
5670
  # resp.workflow.last_run.graph.nodes[0].crawler_details.crawls[0].error_message #=> String
@@ -5692,7 +5698,7 @@ module Aws::Glue
5692
5698
  # resp.workflow.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].job_name #=> String
5693
5699
  # resp.workflow.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED", "SUCCEEDED", "FAILED", "TIMEOUT"
5694
5700
  # 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"
5701
+ # resp.workflow.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
5696
5702
  # resp.workflow.graph.nodes[0].job_details.job_runs #=> Array
5697
5703
  # resp.workflow.graph.nodes[0].job_details.job_runs[0].id #=> String
5698
5704
  # resp.workflow.graph.nodes[0].job_details.job_runs[0].attempt #=> Integer
@@ -5720,7 +5726,7 @@ module Aws::Glue
5720
5726
  # resp.workflow.graph.nodes[0].job_details.job_runs[0].notification_property.notify_delay_after #=> Integer
5721
5727
  # resp.workflow.graph.nodes[0].job_details.job_runs[0].glue_version #=> String
5722
5728
  # 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"
5729
+ # resp.workflow.graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
5724
5730
  # resp.workflow.graph.nodes[0].crawler_details.crawls[0].started_on #=> Time
5725
5731
  # resp.workflow.graph.nodes[0].crawler_details.crawls[0].completed_on #=> Time
5726
5732
  # resp.workflow.graph.nodes[0].crawler_details.crawls[0].error_message #=> String
@@ -5770,7 +5776,7 @@ module Aws::Glue
5770
5776
  # resp.run.workflow_run_properties["IdString"] #=> String
5771
5777
  # resp.run.started_on #=> Time
5772
5778
  # resp.run.completed_on #=> Time
5773
- # resp.run.status #=> String, one of "RUNNING", "COMPLETED"
5779
+ # resp.run.status #=> String, one of "RUNNING", "COMPLETED", "STOPPING", "STOPPED"
5774
5780
  # resp.run.statistics.total_actions #=> Integer
5775
5781
  # resp.run.statistics.timeout_actions #=> Integer
5776
5782
  # resp.run.statistics.failed_actions #=> Integer
@@ -5802,7 +5808,7 @@ module Aws::Glue
5802
5808
  # resp.run.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].job_name #=> String
5803
5809
  # resp.run.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED", "SUCCEEDED", "FAILED", "TIMEOUT"
5804
5810
  # 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"
5811
+ # resp.run.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
5806
5812
  # resp.run.graph.nodes[0].job_details.job_runs #=> Array
5807
5813
  # resp.run.graph.nodes[0].job_details.job_runs[0].id #=> String
5808
5814
  # resp.run.graph.nodes[0].job_details.job_runs[0].attempt #=> Integer
@@ -5830,7 +5836,7 @@ module Aws::Glue
5830
5836
  # resp.run.graph.nodes[0].job_details.job_runs[0].notification_property.notify_delay_after #=> Integer
5831
5837
  # resp.run.graph.nodes[0].job_details.job_runs[0].glue_version #=> String
5832
5838
  # 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"
5839
+ # resp.run.graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
5834
5840
  # resp.run.graph.nodes[0].crawler_details.crawls[0].started_on #=> Time
5835
5841
  # resp.run.graph.nodes[0].crawler_details.crawls[0].completed_on #=> Time
5836
5842
  # resp.run.graph.nodes[0].crawler_details.crawls[0].error_message #=> String
@@ -5921,7 +5927,7 @@ module Aws::Glue
5921
5927
  # resp.runs[0].workflow_run_properties["IdString"] #=> String
5922
5928
  # resp.runs[0].started_on #=> Time
5923
5929
  # resp.runs[0].completed_on #=> Time
5924
- # resp.runs[0].status #=> String, one of "RUNNING", "COMPLETED"
5930
+ # resp.runs[0].status #=> String, one of "RUNNING", "COMPLETED", "STOPPING", "STOPPED"
5925
5931
  # resp.runs[0].statistics.total_actions #=> Integer
5926
5932
  # resp.runs[0].statistics.timeout_actions #=> Integer
5927
5933
  # resp.runs[0].statistics.failed_actions #=> Integer
@@ -5953,7 +5959,7 @@ module Aws::Glue
5953
5959
  # resp.runs[0].graph.nodes[0].trigger_details.trigger.predicate.conditions[0].job_name #=> String
5954
5960
  # resp.runs[0].graph.nodes[0].trigger_details.trigger.predicate.conditions[0].state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED", "SUCCEEDED", "FAILED", "TIMEOUT"
5955
5961
  # 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"
5962
+ # resp.runs[0].graph.nodes[0].trigger_details.trigger.predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
5957
5963
  # resp.runs[0].graph.nodes[0].job_details.job_runs #=> Array
5958
5964
  # resp.runs[0].graph.nodes[0].job_details.job_runs[0].id #=> String
5959
5965
  # resp.runs[0].graph.nodes[0].job_details.job_runs[0].attempt #=> Integer
@@ -5981,7 +5987,7 @@ module Aws::Glue
5981
5987
  # resp.runs[0].graph.nodes[0].job_details.job_runs[0].notification_property.notify_delay_after #=> Integer
5982
5988
  # resp.runs[0].graph.nodes[0].job_details.job_runs[0].glue_version #=> String
5983
5989
  # 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"
5990
+ # resp.runs[0].graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
5985
5991
  # resp.runs[0].graph.nodes[0].crawler_details.crawls[0].started_on #=> Time
5986
5992
  # resp.runs[0].graph.nodes[0].crawler_details.crawls[0].completed_on #=> Time
5987
5993
  # resp.runs[0].graph.nodes[0].crawler_details.crawls[0].error_message #=> String
@@ -7139,6 +7145,32 @@ module Aws::Glue
7139
7145
  req.send_request(options)
7140
7146
  end
7141
7147
 
7148
+ # Stops the execution of the specified workflow run.
7149
+ #
7150
+ # @option params [required, String] :name
7151
+ # The name of the workflow to stop.
7152
+ #
7153
+ # @option params [required, String] :run_id
7154
+ # The ID of the workflow run to stop.
7155
+ #
7156
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
7157
+ #
7158
+ # @example Request syntax with placeholder values
7159
+ #
7160
+ # resp = client.stop_workflow_run({
7161
+ # name: "NameString", # required
7162
+ # run_id: "IdString", # required
7163
+ # })
7164
+ #
7165
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopWorkflowRun AWS API Documentation
7166
+ #
7167
+ # @overload stop_workflow_run(params = {})
7168
+ # @param [Hash] params ({})
7169
+ def stop_workflow_run(params = {}, options = {})
7170
+ req = build_request(:stop_workflow_run, params)
7171
+ req.send_request(options)
7172
+ end
7173
+
7142
7174
  # Adds tags to a resource. A tag is a label you can assign to an AWS
7143
7175
  # resource. In AWS Glue, you can tag only certain resources. For
7144
7176
  # information about what resources you can tag, see [AWS Tags in AWS
@@ -7986,7 +8018,7 @@ module Aws::Glue
7986
8018
  # job_name: "NameString",
7987
8019
  # state: "STARTING", # accepts STARTING, RUNNING, STOPPING, STOPPED, SUCCEEDED, FAILED, TIMEOUT
7988
8020
  # crawler_name: "NameString",
7989
- # crawl_state: "RUNNING", # accepts RUNNING, SUCCEEDED, CANCELLED, FAILED
8021
+ # crawl_state: "RUNNING", # accepts RUNNING, CANCELLING, CANCELLED, SUCCEEDED, FAILED
7990
8022
  # },
7991
8023
  # ],
7992
8024
  # },
@@ -8016,7 +8048,7 @@ module Aws::Glue
8016
8048
  # resp.trigger.predicate.conditions[0].job_name #=> String
8017
8049
  # resp.trigger.predicate.conditions[0].state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED", "SUCCEEDED", "FAILED", "TIMEOUT"
8018
8050
  # resp.trigger.predicate.conditions[0].crawler_name #=> String
8019
- # resp.trigger.predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "SUCCEEDED", "CANCELLED", "FAILED"
8051
+ # resp.trigger.predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
8020
8052
  #
8021
8053
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTrigger AWS API Documentation
8022
8054
  #
@@ -8127,7 +8159,7 @@ module Aws::Glue
8127
8159
  params: params,
8128
8160
  config: config)
8129
8161
  context[:gem_name] = 'aws-sdk-glue'
8130
- context[:gem_version] = '1.53.0'
8162
+ context[:gem_version] = '1.58.1'
8131
8163
  Seahorse::Client::Request.new(handlers, context)
8132
8164
  end
8133
8165
 
@@ -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"))
@@ -2606,6 +2618,7 @@ module Aws::Glue
2606
2618
  UpdateXMLClassifierRequest.struct_class = Types::UpdateXMLClassifierRequest
2607
2619
 
2608
2620
  UserDefinedFunction.add_member(:function_name, Shapes::ShapeRef.new(shape: NameString, location_name: "FunctionName"))
2621
+ UserDefinedFunction.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, location_name: "DatabaseName"))
2609
2622
  UserDefinedFunction.add_member(:class_name, Shapes::ShapeRef.new(shape: NameString, location_name: "ClassName"))
2610
2623
  UserDefinedFunction.add_member(:owner_name, Shapes::ShapeRef.new(shape: NameString, location_name: "OwnerName"))
2611
2624
  UserDefinedFunction.add_member(:owner_type, Shapes::ShapeRef.new(shape: PrincipalType, location_name: "OwnerType"))
@@ -4166,6 +4179,19 @@ module Aws::Glue
4166
4179
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
4167
4180
  end)
4168
4181
 
4182
+ api.add_operation(:stop_workflow_run, Seahorse::Model::Operation.new.tap do |o|
4183
+ o.name = "StopWorkflowRun"
4184
+ o.http_method = "POST"
4185
+ o.http_request_uri = "/"
4186
+ o.input = Shapes::ShapeRef.new(shape: StopWorkflowRunRequest)
4187
+ o.output = Shapes::ShapeRef.new(shape: StopWorkflowRunResponse)
4188
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
4189
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
4190
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
4191
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
4192
+ o.errors << Shapes::ShapeRef.new(shape: IllegalWorkflowStateException)
4193
+ end)
4194
+
4169
4195
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
4170
4196
  o.name = "TagResource"
4171
4197
  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
  # },
@@ -6819,7 +6821,9 @@ module Aws::Glue
6819
6821
  # @return [String]
6820
6822
  #
6821
6823
  # @!attribute [rw] database_name
6822
- # The name of the catalog database where the functions are located.
6824
+ # The name of the catalog database where the functions are located. If
6825
+ # none is provided, functions from all the databases across the
6826
+ # catalog will be returned.
6823
6827
  # @return [String]
6824
6828
  #
6825
6829
  # @!attribute [rw] pattern
@@ -7148,6 +7152,19 @@ module Aws::Glue
7148
7152
  include Aws::Structure
7149
7153
  end
7150
7154
 
7155
+ # The workflow is in an invalid state to perform a requested operation.
7156
+ #
7157
+ # @!attribute [rw] message
7158
+ # A message describing the problem.
7159
+ # @return [String]
7160
+ #
7161
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/IllegalWorkflowStateException AWS API Documentation
7162
+ #
7163
+ class IllegalWorkflowStateException < Struct.new(
7164
+ :message)
7165
+ include Aws::Structure
7166
+ end
7167
+
7151
7168
  # @note When making an API call, you may pass ImportCatalogToGlueRequest
7152
7169
  # data as a hash:
7153
7170
  #
@@ -7601,7 +7618,13 @@ module Aws::Glue
7601
7618
  # @return [Time]
7602
7619
  #
7603
7620
  # @!attribute [rw] job_run_state
7604
- # The current state of the job run.
7621
+ # The current state of the job run. For more information about the
7622
+ # statuses of jobs that have terminated abnormally, see [AWS Glue Job
7623
+ # Run Statuses][1].
7624
+ #
7625
+ #
7626
+ #
7627
+ # [1]: https://docs.aws.amazon.com/glue/latest/dg/job-run-statuses.html
7605
7628
  # @return [String]
7606
7629
  #
7607
7630
  # @!attribute [rw] arguments
@@ -9071,7 +9094,7 @@ module Aws::Glue
9071
9094
  # job_name: "NameString",
9072
9095
  # state: "STARTING", # accepts STARTING, RUNNING, STOPPING, STOPPED, SUCCEEDED, FAILED, TIMEOUT
9073
9096
  # crawler_name: "NameString",
9074
- # crawl_state: "RUNNING", # accepts RUNNING, SUCCEEDED, CANCELLED, FAILED
9097
+ # crawl_state: "RUNNING", # accepts RUNNING, CANCELLING, CANCELLED, SUCCEEDED, FAILED
9075
9098
  # },
9076
9099
  # ],
9077
9100
  # }
@@ -10233,6 +10256,34 @@ module Aws::Glue
10233
10256
  include Aws::Structure
10234
10257
  end
10235
10258
 
10259
+ # @note When making an API call, you may pass StopWorkflowRunRequest
10260
+ # data as a hash:
10261
+ #
10262
+ # {
10263
+ # name: "NameString", # required
10264
+ # run_id: "IdString", # required
10265
+ # }
10266
+ #
10267
+ # @!attribute [rw] name
10268
+ # The name of the workflow to stop.
10269
+ # @return [String]
10270
+ #
10271
+ # @!attribute [rw] run_id
10272
+ # The ID of the workflow run to stop.
10273
+ # @return [String]
10274
+ #
10275
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopWorkflowRunRequest AWS API Documentation
10276
+ #
10277
+ class StopWorkflowRunRequest < Struct.new(
10278
+ :name,
10279
+ :run_id)
10280
+ include Aws::Structure
10281
+ end
10282
+
10283
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopWorkflowRunResponse AWS API Documentation
10284
+ #
10285
+ class StopWorkflowRunResponse < Aws::EmptyStructure; end
10286
+
10236
10287
  # Describes the physical storage of table data.
10237
10288
  #
10238
10289
  # @note When making an API call, you may pass StorageDescriptor
@@ -11133,7 +11184,7 @@ module Aws::Glue
11133
11184
  # job_name: "NameString",
11134
11185
  # state: "STARTING", # accepts STARTING, RUNNING, STOPPING, STOPPED, SUCCEEDED, FAILED, TIMEOUT
11135
11186
  # crawler_name: "NameString",
11136
- # crawl_state: "RUNNING", # accepts RUNNING, SUCCEEDED, CANCELLED, FAILED
11187
+ # crawl_state: "RUNNING", # accepts RUNNING, CANCELLING, CANCELLED, SUCCEEDED, FAILED
11137
11188
  # },
11138
11189
  # ],
11139
11190
  # },
@@ -12187,7 +12238,7 @@ module Aws::Glue
12187
12238
  # job_name: "NameString",
12188
12239
  # state: "STARTING", # accepts STARTING, RUNNING, STOPPING, STOPPED, SUCCEEDED, FAILED, TIMEOUT
12189
12240
  # crawler_name: "NameString",
12190
- # crawl_state: "RUNNING", # accepts RUNNING, SUCCEEDED, CANCELLED, FAILED
12241
+ # crawl_state: "RUNNING", # accepts RUNNING, CANCELLING, CANCELLED, SUCCEEDED, FAILED
12191
12242
  # },
12192
12243
  # ],
12193
12244
  # },
@@ -12363,6 +12414,10 @@ module Aws::Glue
12363
12414
  # The name of the function.
12364
12415
  # @return [String]
12365
12416
  #
12417
+ # @!attribute [rw] database_name
12418
+ # The name of the database where the function resides.
12419
+ # @return [String]
12420
+ #
12366
12421
  # @!attribute [rw] class_name
12367
12422
  # The Java class that contains the function code.
12368
12423
  # @return [String]
@@ -12387,6 +12442,7 @@ module Aws::Glue
12387
12442
  #
12388
12443
  class UserDefinedFunction < Struct.new(
12389
12444
  :function_name,
12445
+ :database_name,
12390
12446
  :class_name,
12391
12447
  :owner_name,
12392
12448
  :owner_type,
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.53.0
4
+ version: 1.58.1
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-04-20 00:00:00.000000000 Z
11
+ date: 2020-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.71.0
22
+ version: 3.99.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.71.0
32
+ version: 3.99.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement