aws-sdk-glue 1.52.0 → 1.57.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 +4 -4
- data/lib/aws-sdk-glue.rb +1 -1
- data/lib/aws-sdk-glue/client.rb +62 -32
- data/lib/aws-sdk-glue/client_api.rb +26 -0
- data/lib/aws-sdk-glue/errors.rb +16 -0
- data/lib/aws-sdk-glue/types.rb +78 -14
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8089a559fb60c829c8699299fee0d4617d17cff80769a4aa948e728d1612636e
|
4
|
+
data.tar.gz: cc6166fea0ae6dfc2a4798ed6f4281be597505df12c6c804931dddd4eb75c6ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8411332085a8fe5291ee3260b43d6ee7e5d4e89ead26e9cef3de1def8a22e9a32c6644ff66d4bac43b5531f1c004a86747002d260f546a9e896c5ec4ab6a1445
|
7
|
+
data.tar.gz: 870cb6ec1afa3005f326e33f61d135c124f2e96e63d8b3361b7a5260b98c3402ef498ac95fe24a2e1557e2a3cf8217ebc73bf5abd0734b87a8425e260521f821
|
data/lib/aws-sdk-glue.rb
CHANGED
data/lib/aws-sdk-glue/client.rb
CHANGED
@@ -105,7 +105,7 @@ module Aws::Glue
|
|
105
105
|
# @option options [required, String] :region
|
106
106
|
# The AWS region to connect to. The configured `:region` is
|
107
107
|
# used to determine the service `:endpoint`. When not passed,
|
108
|
-
# a default `:region` is
|
108
|
+
# a default `:region` is searched for in the following locations:
|
109
109
|
#
|
110
110
|
# * `Aws.config[:region]`
|
111
111
|
# * `ENV['AWS_REGION']`
|
@@ -161,7 +161,7 @@ module Aws::Glue
|
|
161
161
|
# @option options [String] :endpoint
|
162
162
|
# The client endpoint is normally constructed from the `:region`
|
163
163
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be
|
164
|
+
# to test endpoints. This should be a valid HTTP(S) URI.
|
165
165
|
#
|
166
166
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
167
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -176,7 +176,7 @@ module Aws::Glue
|
|
176
176
|
# requests fetching endpoints information. Defaults to 60 sec.
|
177
177
|
#
|
178
178
|
# @option options [Boolean] :endpoint_discovery (false)
|
179
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
179
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
180
180
|
#
|
181
181
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
182
182
|
# The log formatter.
|
@@ -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", "
|
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", "
|
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", "
|
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", "
|
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", "
|
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
|
@@ -1292,7 +1292,7 @@ module Aws::Glue
|
|
1292
1292
|
# connection_input: { # required
|
1293
1293
|
# name: "NameString", # required
|
1294
1294
|
# description: "DescriptionString",
|
1295
|
-
# connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB
|
1295
|
+
# connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA
|
1296
1296
|
# match_criteria: ["NameString"],
|
1297
1297
|
# connection_properties: { # required
|
1298
1298
|
# "HOST" => "ValueString",
|
@@ -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,
|
2447
|
+
# crawl_state: "RUNNING", # accepts RUNNING, CANCELLING, CANCELLED, SUCCEEDED, FAILED
|
2448
2448
|
# },
|
2449
2449
|
# ],
|
2450
2450
|
# },
|
@@ -3208,7 +3208,7 @@ module Aws::Glue
|
|
3208
3208
|
#
|
3209
3209
|
# resp.connection.name #=> String
|
3210
3210
|
# resp.connection.description #=> String
|
3211
|
-
# resp.connection.connection_type #=> String, one of "JDBC", "SFTP", "MONGODB"
|
3211
|
+
# resp.connection.connection_type #=> String, one of "JDBC", "SFTP", "MONGODB", "KAFKA"
|
3212
3212
|
# resp.connection.match_criteria #=> Array
|
3213
3213
|
# resp.connection.match_criteria[0] #=> String
|
3214
3214
|
# resp.connection.connection_properties #=> Hash
|
@@ -3266,7 +3266,7 @@ module Aws::Glue
|
|
3266
3266
|
# catalog_id: "CatalogIdString",
|
3267
3267
|
# filter: {
|
3268
3268
|
# match_criteria: ["NameString"],
|
3269
|
-
# connection_type: "JDBC", # accepts JDBC, SFTP, MONGODB
|
3269
|
+
# connection_type: "JDBC", # accepts JDBC, SFTP, MONGODB, KAFKA
|
3270
3270
|
# },
|
3271
3271
|
# hide_password: false,
|
3272
3272
|
# next_token: "Token",
|
@@ -3278,7 +3278,7 @@ module Aws::Glue
|
|
3278
3278
|
# resp.connection_list #=> Array
|
3279
3279
|
# resp.connection_list[0].name #=> String
|
3280
3280
|
# resp.connection_list[0].description #=> String
|
3281
|
-
# resp.connection_list[0].connection_type #=> String, one of "JDBC", "SFTP", "MONGODB"
|
3281
|
+
# resp.connection_list[0].connection_type #=> String, one of "JDBC", "SFTP", "MONGODB", "KAFKA"
|
3282
3282
|
# resp.connection_list[0].match_criteria #=> Array
|
3283
3283
|
# resp.connection_list[0].match_criteria[0] #=> String
|
3284
3284
|
# resp.connection_list[0].connection_properties #=> Hash
|
@@ -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", "
|
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", "
|
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
|
@@ -5489,6 +5489,7 @@ module Aws::Glue
|
|
5489
5489
|
# @example Response structure
|
5490
5490
|
#
|
5491
5491
|
# resp.user_defined_function.function_name #=> String
|
5492
|
+
# resp.user_defined_function.database_name #=> String
|
5492
5493
|
# resp.user_defined_function.class_name #=> String
|
5493
5494
|
# resp.user_defined_function.owner_name #=> String
|
5494
5495
|
# resp.user_defined_function.owner_type #=> String, one of "USER", "ROLE", "GROUP"
|
@@ -5513,7 +5514,9 @@ module Aws::Glue
|
|
5513
5514
|
# located. If none is provided, the AWS account ID is used by default.
|
5514
5515
|
#
|
5515
5516
|
# @option params [String] :database_name
|
5516
|
-
# The name of the catalog database where the functions are located.
|
5517
|
+
# The name of the catalog database where the functions are located. If
|
5518
|
+
# none is provided, functions from all the databases across the catalog
|
5519
|
+
# will be returned.
|
5517
5520
|
#
|
5518
5521
|
# @option params [required, String] :pattern
|
5519
5522
|
# An optional function-name pattern string that filters the function
|
@@ -5546,6 +5549,7 @@ module Aws::Glue
|
|
5546
5549
|
#
|
5547
5550
|
# resp.user_defined_functions #=> Array
|
5548
5551
|
# resp.user_defined_functions[0].function_name #=> String
|
5552
|
+
# resp.user_defined_functions[0].database_name #=> String
|
5549
5553
|
# resp.user_defined_functions[0].class_name #=> String
|
5550
5554
|
# resp.user_defined_functions[0].owner_name #=> String
|
5551
5555
|
# resp.user_defined_functions[0].owner_type #=> String, one of "USER", "ROLE", "GROUP"
|
@@ -5598,7 +5602,7 @@ module Aws::Glue
|
|
5598
5602
|
# resp.workflow.last_run.workflow_run_properties["IdString"] #=> String
|
5599
5603
|
# resp.workflow.last_run.started_on #=> Time
|
5600
5604
|
# resp.workflow.last_run.completed_on #=> Time
|
5601
|
-
# resp.workflow.last_run.status #=> String, one of "RUNNING", "COMPLETED"
|
5605
|
+
# resp.workflow.last_run.status #=> String, one of "RUNNING", "COMPLETED", "STOPPING", "STOPPED"
|
5602
5606
|
# resp.workflow.last_run.statistics.total_actions #=> Integer
|
5603
5607
|
# resp.workflow.last_run.statistics.timeout_actions #=> Integer
|
5604
5608
|
# resp.workflow.last_run.statistics.failed_actions #=> Integer
|
@@ -5630,7 +5634,7 @@ module Aws::Glue
|
|
5630
5634
|
# resp.workflow.last_run.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].job_name #=> String
|
5631
5635
|
# 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
5636
|
# 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", "
|
5637
|
+
# resp.workflow.last_run.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
|
5634
5638
|
# resp.workflow.last_run.graph.nodes[0].job_details.job_runs #=> Array
|
5635
5639
|
# resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].id #=> String
|
5636
5640
|
# resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].attempt #=> Integer
|
@@ -5658,7 +5662,7 @@ module Aws::Glue
|
|
5658
5662
|
# resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].notification_property.notify_delay_after #=> Integer
|
5659
5663
|
# resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].glue_version #=> String
|
5660
5664
|
# 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", "
|
5665
|
+
# resp.workflow.last_run.graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
|
5662
5666
|
# resp.workflow.last_run.graph.nodes[0].crawler_details.crawls[0].started_on #=> Time
|
5663
5667
|
# resp.workflow.last_run.graph.nodes[0].crawler_details.crawls[0].completed_on #=> Time
|
5664
5668
|
# resp.workflow.last_run.graph.nodes[0].crawler_details.crawls[0].error_message #=> String
|
@@ -5692,7 +5696,7 @@ module Aws::Glue
|
|
5692
5696
|
# resp.workflow.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].job_name #=> String
|
5693
5697
|
# resp.workflow.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED", "SUCCEEDED", "FAILED", "TIMEOUT"
|
5694
5698
|
# 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", "
|
5699
|
+
# resp.workflow.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
|
5696
5700
|
# resp.workflow.graph.nodes[0].job_details.job_runs #=> Array
|
5697
5701
|
# resp.workflow.graph.nodes[0].job_details.job_runs[0].id #=> String
|
5698
5702
|
# resp.workflow.graph.nodes[0].job_details.job_runs[0].attempt #=> Integer
|
@@ -5720,7 +5724,7 @@ module Aws::Glue
|
|
5720
5724
|
# resp.workflow.graph.nodes[0].job_details.job_runs[0].notification_property.notify_delay_after #=> Integer
|
5721
5725
|
# resp.workflow.graph.nodes[0].job_details.job_runs[0].glue_version #=> String
|
5722
5726
|
# resp.workflow.graph.nodes[0].crawler_details.crawls #=> Array
|
5723
|
-
# resp.workflow.graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "
|
5727
|
+
# resp.workflow.graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
|
5724
5728
|
# resp.workflow.graph.nodes[0].crawler_details.crawls[0].started_on #=> Time
|
5725
5729
|
# resp.workflow.graph.nodes[0].crawler_details.crawls[0].completed_on #=> Time
|
5726
5730
|
# resp.workflow.graph.nodes[0].crawler_details.crawls[0].error_message #=> String
|
@@ -5770,7 +5774,7 @@ module Aws::Glue
|
|
5770
5774
|
# resp.run.workflow_run_properties["IdString"] #=> String
|
5771
5775
|
# resp.run.started_on #=> Time
|
5772
5776
|
# resp.run.completed_on #=> Time
|
5773
|
-
# resp.run.status #=> String, one of "RUNNING", "COMPLETED"
|
5777
|
+
# resp.run.status #=> String, one of "RUNNING", "COMPLETED", "STOPPING", "STOPPED"
|
5774
5778
|
# resp.run.statistics.total_actions #=> Integer
|
5775
5779
|
# resp.run.statistics.timeout_actions #=> Integer
|
5776
5780
|
# resp.run.statistics.failed_actions #=> Integer
|
@@ -5802,7 +5806,7 @@ module Aws::Glue
|
|
5802
5806
|
# resp.run.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].job_name #=> String
|
5803
5807
|
# resp.run.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED", "SUCCEEDED", "FAILED", "TIMEOUT"
|
5804
5808
|
# 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", "
|
5809
|
+
# resp.run.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
|
5806
5810
|
# resp.run.graph.nodes[0].job_details.job_runs #=> Array
|
5807
5811
|
# resp.run.graph.nodes[0].job_details.job_runs[0].id #=> String
|
5808
5812
|
# resp.run.graph.nodes[0].job_details.job_runs[0].attempt #=> Integer
|
@@ -5830,7 +5834,7 @@ module Aws::Glue
|
|
5830
5834
|
# resp.run.graph.nodes[0].job_details.job_runs[0].notification_property.notify_delay_after #=> Integer
|
5831
5835
|
# resp.run.graph.nodes[0].job_details.job_runs[0].glue_version #=> String
|
5832
5836
|
# resp.run.graph.nodes[0].crawler_details.crawls #=> Array
|
5833
|
-
# resp.run.graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "
|
5837
|
+
# resp.run.graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
|
5834
5838
|
# resp.run.graph.nodes[0].crawler_details.crawls[0].started_on #=> Time
|
5835
5839
|
# resp.run.graph.nodes[0].crawler_details.crawls[0].completed_on #=> Time
|
5836
5840
|
# resp.run.graph.nodes[0].crawler_details.crawls[0].error_message #=> String
|
@@ -5921,7 +5925,7 @@ module Aws::Glue
|
|
5921
5925
|
# resp.runs[0].workflow_run_properties["IdString"] #=> String
|
5922
5926
|
# resp.runs[0].started_on #=> Time
|
5923
5927
|
# resp.runs[0].completed_on #=> Time
|
5924
|
-
# resp.runs[0].status #=> String, one of "RUNNING", "COMPLETED"
|
5928
|
+
# resp.runs[0].status #=> String, one of "RUNNING", "COMPLETED", "STOPPING", "STOPPED"
|
5925
5929
|
# resp.runs[0].statistics.total_actions #=> Integer
|
5926
5930
|
# resp.runs[0].statistics.timeout_actions #=> Integer
|
5927
5931
|
# resp.runs[0].statistics.failed_actions #=> Integer
|
@@ -5953,7 +5957,7 @@ module Aws::Glue
|
|
5953
5957
|
# resp.runs[0].graph.nodes[0].trigger_details.trigger.predicate.conditions[0].job_name #=> String
|
5954
5958
|
# resp.runs[0].graph.nodes[0].trigger_details.trigger.predicate.conditions[0].state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED", "SUCCEEDED", "FAILED", "TIMEOUT"
|
5955
5959
|
# 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", "
|
5960
|
+
# resp.runs[0].graph.nodes[0].trigger_details.trigger.predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
|
5957
5961
|
# resp.runs[0].graph.nodes[0].job_details.job_runs #=> Array
|
5958
5962
|
# resp.runs[0].graph.nodes[0].job_details.job_runs[0].id #=> String
|
5959
5963
|
# resp.runs[0].graph.nodes[0].job_details.job_runs[0].attempt #=> Integer
|
@@ -5981,7 +5985,7 @@ module Aws::Glue
|
|
5981
5985
|
# resp.runs[0].graph.nodes[0].job_details.job_runs[0].notification_property.notify_delay_after #=> Integer
|
5982
5986
|
# resp.runs[0].graph.nodes[0].job_details.job_runs[0].glue_version #=> String
|
5983
5987
|
# 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", "
|
5988
|
+
# resp.runs[0].graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
|
5985
5989
|
# resp.runs[0].graph.nodes[0].crawler_details.crawls[0].started_on #=> Time
|
5986
5990
|
# resp.runs[0].graph.nodes[0].crawler_details.crawls[0].completed_on #=> Time
|
5987
5991
|
# resp.runs[0].graph.nodes[0].crawler_details.crawls[0].error_message #=> String
|
@@ -7139,6 +7143,32 @@ module Aws::Glue
|
|
7139
7143
|
req.send_request(options)
|
7140
7144
|
end
|
7141
7145
|
|
7146
|
+
# Stops the execution of the specified workflow run.
|
7147
|
+
#
|
7148
|
+
# @option params [required, String] :name
|
7149
|
+
# The name of the workflow to stop.
|
7150
|
+
#
|
7151
|
+
# @option params [required, String] :run_id
|
7152
|
+
# The ID of the workflow run to stop.
|
7153
|
+
#
|
7154
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
7155
|
+
#
|
7156
|
+
# @example Request syntax with placeholder values
|
7157
|
+
#
|
7158
|
+
# resp = client.stop_workflow_run({
|
7159
|
+
# name: "NameString", # required
|
7160
|
+
# run_id: "IdString", # required
|
7161
|
+
# })
|
7162
|
+
#
|
7163
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopWorkflowRun AWS API Documentation
|
7164
|
+
#
|
7165
|
+
# @overload stop_workflow_run(params = {})
|
7166
|
+
# @param [Hash] params ({})
|
7167
|
+
def stop_workflow_run(params = {}, options = {})
|
7168
|
+
req = build_request(:stop_workflow_run, params)
|
7169
|
+
req.send_request(options)
|
7170
|
+
end
|
7171
|
+
|
7142
7172
|
# Adds tags to a resource. A tag is a label you can assign to an AWS
|
7143
7173
|
# resource. In AWS Glue, you can tag only certain resources. For
|
7144
7174
|
# information about what resources you can tag, see [AWS Tags in AWS
|
@@ -7285,7 +7315,7 @@ module Aws::Glue
|
|
7285
7315
|
# connection_input: { # required
|
7286
7316
|
# name: "NameString", # required
|
7287
7317
|
# description: "DescriptionString",
|
7288
|
-
# connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB
|
7318
|
+
# connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA
|
7289
7319
|
# match_criteria: ["NameString"],
|
7290
7320
|
# connection_properties: { # required
|
7291
7321
|
# "HOST" => "ValueString",
|
@@ -7986,7 +8016,7 @@ module Aws::Glue
|
|
7986
8016
|
# job_name: "NameString",
|
7987
8017
|
# state: "STARTING", # accepts STARTING, RUNNING, STOPPING, STOPPED, SUCCEEDED, FAILED, TIMEOUT
|
7988
8018
|
# crawler_name: "NameString",
|
7989
|
-
# crawl_state: "RUNNING", # accepts RUNNING,
|
8019
|
+
# crawl_state: "RUNNING", # accepts RUNNING, CANCELLING, CANCELLED, SUCCEEDED, FAILED
|
7990
8020
|
# },
|
7991
8021
|
# ],
|
7992
8022
|
# },
|
@@ -8016,7 +8046,7 @@ module Aws::Glue
|
|
8016
8046
|
# resp.trigger.predicate.conditions[0].job_name #=> String
|
8017
8047
|
# resp.trigger.predicate.conditions[0].state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED", "SUCCEEDED", "FAILED", "TIMEOUT"
|
8018
8048
|
# resp.trigger.predicate.conditions[0].crawler_name #=> String
|
8019
|
-
# resp.trigger.predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "
|
8049
|
+
# resp.trigger.predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
|
8020
8050
|
#
|
8021
8051
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTrigger AWS API Documentation
|
8022
8052
|
#
|
@@ -8127,7 +8157,7 @@ module Aws::Glue
|
|
8127
8157
|
params: params,
|
8128
8158
|
config: config)
|
8129
8159
|
context[:gem_name] = 'aws-sdk-glue'
|
8130
|
-
context[:gem_version] = '1.
|
8160
|
+
context[:gem_version] = '1.57.0'
|
8131
8161
|
Seahorse::Client::Request.new(handlers, context)
|
8132
8162
|
end
|
8133
8163
|
|
@@ -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"
|
data/lib/aws-sdk-glue/errors.rb
CHANGED
@@ -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
|
data/lib/aws-sdk-glue/types.rb
CHANGED
@@ -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,
|
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
|
1119
|
-
# `SUCCEEDED`, `STOPPED`, `
|
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
|
@@ -1274,6 +1276,11 @@ module Aws::Glue
|
|
1274
1276
|
#
|
1275
1277
|
# * `CONNECTION_URL` - The URL for connecting to a general (non-JDBC)
|
1276
1278
|
# data source.
|
1279
|
+
#
|
1280
|
+
# * `KAFKA_BOOTSTRAP_SERVERS` - A comma-separated list of host and
|
1281
|
+
# port pairs that are the addresses of the Apache Kafka brokers in a
|
1282
|
+
# Kafka cluster to which a Kafka client will connect to and
|
1283
|
+
# bootstrap itself.
|
1277
1284
|
# @return [Hash<String,String>]
|
1278
1285
|
#
|
1279
1286
|
# @!attribute [rw] physical_connection_requirements
|
@@ -1318,7 +1325,7 @@ module Aws::Glue
|
|
1318
1325
|
# {
|
1319
1326
|
# name: "NameString", # required
|
1320
1327
|
# description: "DescriptionString",
|
1321
|
-
# connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB
|
1328
|
+
# connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA
|
1322
1329
|
# match_criteria: ["NameString"],
|
1323
1330
|
# connection_properties: { # required
|
1324
1331
|
# "HOST" => "ValueString",
|
@@ -1344,6 +1351,9 @@ module Aws::Glue
|
|
1344
1351
|
# * `JDBC` - Designates a connection to a database through Java
|
1345
1352
|
# Database Connectivity (JDBC).
|
1346
1353
|
#
|
1354
|
+
# * `KAFKA` - Designates a connection to an Apache Kafka streaming
|
1355
|
+
# platform.
|
1356
|
+
#
|
1347
1357
|
# * `MONGODB` - Designates a connection to a MongoDB document
|
1348
1358
|
# database.
|
1349
1359
|
#
|
@@ -1822,7 +1832,7 @@ module Aws::Glue
|
|
1822
1832
|
# connection_input: { # required
|
1823
1833
|
# name: "NameString", # required
|
1824
1834
|
# description: "DescriptionString",
|
1825
|
-
# connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB
|
1835
|
+
# connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA
|
1826
1836
|
# match_criteria: ["NameString"],
|
1827
1837
|
# connection_properties: { # required
|
1828
1838
|
# "HOST" => "ValueString",
|
@@ -3255,7 +3265,7 @@ module Aws::Glue
|
|
3255
3265
|
# job_name: "NameString",
|
3256
3266
|
# state: "STARTING", # accepts STARTING, RUNNING, STOPPING, STOPPED, SUCCEEDED, FAILED, TIMEOUT
|
3257
3267
|
# crawler_name: "NameString",
|
3258
|
-
# crawl_state: "RUNNING", # accepts RUNNING,
|
3268
|
+
# crawl_state: "RUNNING", # accepts RUNNING, CANCELLING, CANCELLED, SUCCEEDED, FAILED
|
3259
3269
|
# },
|
3260
3270
|
# ],
|
3261
3271
|
# },
|
@@ -4944,7 +4954,7 @@ module Aws::Glue
|
|
4944
4954
|
#
|
4945
4955
|
# {
|
4946
4956
|
# match_criteria: ["NameString"],
|
4947
|
-
# connection_type: "JDBC", # accepts JDBC, SFTP, MONGODB
|
4957
|
+
# connection_type: "JDBC", # accepts JDBC, SFTP, MONGODB, KAFKA
|
4948
4958
|
# }
|
4949
4959
|
#
|
4950
4960
|
# @!attribute [rw] match_criteria
|
@@ -4972,7 +4982,7 @@ module Aws::Glue
|
|
4972
4982
|
# catalog_id: "CatalogIdString",
|
4973
4983
|
# filter: {
|
4974
4984
|
# match_criteria: ["NameString"],
|
4975
|
-
# connection_type: "JDBC", # accepts JDBC, SFTP, MONGODB
|
4985
|
+
# connection_type: "JDBC", # accepts JDBC, SFTP, MONGODB, KAFKA
|
4976
4986
|
# },
|
4977
4987
|
# hide_password: false,
|
4978
4988
|
# next_token: "Token",
|
@@ -6811,7 +6821,9 @@ module Aws::Glue
|
|
6811
6821
|
# @return [String]
|
6812
6822
|
#
|
6813
6823
|
# @!attribute [rw] database_name
|
6814
|
-
# 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.
|
6815
6827
|
# @return [String]
|
6816
6828
|
#
|
6817
6829
|
# @!attribute [rw] pattern
|
@@ -7140,6 +7152,19 @@ module Aws::Glue
|
|
7140
7152
|
include Aws::Structure
|
7141
7153
|
end
|
7142
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
|
+
|
7143
7168
|
# @note When making an API call, you may pass ImportCatalogToGlueRequest
|
7144
7169
|
# data as a hash:
|
7145
7170
|
#
|
@@ -7593,7 +7618,13 @@ module Aws::Glue
|
|
7593
7618
|
# @return [Time]
|
7594
7619
|
#
|
7595
7620
|
# @!attribute [rw] job_run_state
|
7596
|
-
# 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
|
7597
7628
|
# @return [String]
|
7598
7629
|
#
|
7599
7630
|
# @!attribute [rw] arguments
|
@@ -9063,7 +9094,7 @@ module Aws::Glue
|
|
9063
9094
|
# job_name: "NameString",
|
9064
9095
|
# state: "STARTING", # accepts STARTING, RUNNING, STOPPING, STOPPED, SUCCEEDED, FAILED, TIMEOUT
|
9065
9096
|
# crawler_name: "NameString",
|
9066
|
-
# crawl_state: "RUNNING", # accepts RUNNING,
|
9097
|
+
# crawl_state: "RUNNING", # accepts RUNNING, CANCELLING, CANCELLED, SUCCEEDED, FAILED
|
9067
9098
|
# },
|
9068
9099
|
# ],
|
9069
9100
|
# }
|
@@ -10225,6 +10256,34 @@ module Aws::Glue
|
|
10225
10256
|
include Aws::Structure
|
10226
10257
|
end
|
10227
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
|
+
|
10228
10287
|
# Describes the physical storage of table data.
|
10229
10288
|
#
|
10230
10289
|
# @note When making an API call, you may pass StorageDescriptor
|
@@ -11125,7 +11184,7 @@ module Aws::Glue
|
|
11125
11184
|
# job_name: "NameString",
|
11126
11185
|
# state: "STARTING", # accepts STARTING, RUNNING, STOPPING, STOPPED, SUCCEEDED, FAILED, TIMEOUT
|
11127
11186
|
# crawler_name: "NameString",
|
11128
|
-
# crawl_state: "RUNNING", # accepts RUNNING,
|
11187
|
+
# crawl_state: "RUNNING", # accepts RUNNING, CANCELLING, CANCELLED, SUCCEEDED, FAILED
|
11129
11188
|
# },
|
11130
11189
|
# ],
|
11131
11190
|
# },
|
@@ -11266,7 +11325,7 @@ module Aws::Glue
|
|
11266
11325
|
# connection_input: { # required
|
11267
11326
|
# name: "NameString", # required
|
11268
11327
|
# description: "DescriptionString",
|
11269
|
-
# connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB
|
11328
|
+
# connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA
|
11270
11329
|
# match_criteria: ["NameString"],
|
11271
11330
|
# connection_properties: { # required
|
11272
11331
|
# "HOST" => "ValueString",
|
@@ -12179,7 +12238,7 @@ module Aws::Glue
|
|
12179
12238
|
# job_name: "NameString",
|
12180
12239
|
# state: "STARTING", # accepts STARTING, RUNNING, STOPPING, STOPPED, SUCCEEDED, FAILED, TIMEOUT
|
12181
12240
|
# crawler_name: "NameString",
|
12182
|
-
# crawl_state: "RUNNING", # accepts RUNNING,
|
12241
|
+
# crawl_state: "RUNNING", # accepts RUNNING, CANCELLING, CANCELLED, SUCCEEDED, FAILED
|
12183
12242
|
# },
|
12184
12243
|
# ],
|
12185
12244
|
# },
|
@@ -12355,6 +12414,10 @@ module Aws::Glue
|
|
12355
12414
|
# The name of the function.
|
12356
12415
|
# @return [String]
|
12357
12416
|
#
|
12417
|
+
# @!attribute [rw] database_name
|
12418
|
+
# The name of the database where the function resides.
|
12419
|
+
# @return [String]
|
12420
|
+
#
|
12358
12421
|
# @!attribute [rw] class_name
|
12359
12422
|
# The Java class that contains the function code.
|
12360
12423
|
# @return [String]
|
@@ -12379,6 +12442,7 @@ module Aws::Glue
|
|
12379
12442
|
#
|
12380
12443
|
class UserDefinedFunction < Struct.new(
|
12381
12444
|
:function_name,
|
12445
|
+
:database_name,
|
12382
12446
|
:class_name,
|
12383
12447
|
:owner_name,
|
12384
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.
|
4
|
+
version: 1.57.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-
|
11
|
+
date: 2020-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|