aws-sdk-glue 1.54.0 → 1.59.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8f4dc54f3b3ce663735821902a2b066ec8cee5c2480d8b4ff9c73e909176cd7f
4
- data.tar.gz: 1050d888cc8dbbe43def6ace24adb3a5aba9465c50dfde67db5d5ee3072a5e4c
3
+ metadata.gz: 4b9a3483b716e9a9341caa9faae43163757fb5db5e5dba7d91c08769d55b0881
4
+ data.tar.gz: 06bba234dda6725f5c59f5d33be8f1de756c47fd2faaa2609da2b47a06476426
5
5
  SHA512:
6
- metadata.gz: '0967c46dea6d12948a4c90116c6482789823adcee05d14a2f89b9febd2d953cf3e7371622b9383d235f3d943a45072a7e9d8850c17dbcd9c410af67f30f6d2f3'
7
- data.tar.gz: a9fc53831b3318cada5fc646280e5f055adbcfff8469704e1c79dfa5c7788cd882b1b93676127e5758b162ddc2b8a73a848eebb32108ec6d0d22e3a2003931f0
6
+ metadata.gz: a36f4ad2947b0b75b49b092a8c264e29248e4b48c9ee3cd8573a912dc2857e058d49030f0e3a3cfd4c73a735cb8373f8f1f7ac72c2706dec90ebb34e21b65c88
7
+ data.tar.gz: 7bbf7581419453aac764dff8f969e7a7bd47f3a6415212a090a3d25c1a36c08f872915efed015bf28ea82a2f1828dd97e9272b90667b1d3285085c6aa89f1a02
@@ -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.59.0'
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
 
@@ -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 a valid 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.
@@ -645,6 +647,8 @@ module Aws::Glue
645
647
  # resp.crawlers[0].targets.jdbc_targets[0].exclusions[0] #=> String
646
648
  # resp.crawlers[0].targets.dynamo_db_targets #=> Array
647
649
  # resp.crawlers[0].targets.dynamo_db_targets[0].path #=> String
650
+ # resp.crawlers[0].targets.dynamo_db_targets[0].scan_all #=> Boolean
651
+ # resp.crawlers[0].targets.dynamo_db_targets[0].scan_rate #=> Float
648
652
  # resp.crawlers[0].targets.catalog_targets #=> Array
649
653
  # resp.crawlers[0].targets.catalog_targets[0].database_name #=> String
650
654
  # resp.crawlers[0].targets.catalog_targets[0].tables #=> Array
@@ -940,7 +944,7 @@ module Aws::Glue
940
944
  # resp.triggers[0].predicate.conditions[0].job_name #=> String
941
945
  # resp.triggers[0].predicate.conditions[0].state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED", "SUCCEEDED", "FAILED", "TIMEOUT"
942
946
  # 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"
947
+ # resp.triggers[0].predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
944
948
  # resp.triggers_not_found #=> Array
945
949
  # resp.triggers_not_found[0] #=> String
946
950
  #
@@ -994,7 +998,7 @@ module Aws::Glue
994
998
  # resp.workflows[0].last_run.workflow_run_properties["IdString"] #=> String
995
999
  # resp.workflows[0].last_run.started_on #=> Time
996
1000
  # resp.workflows[0].last_run.completed_on #=> Time
997
- # resp.workflows[0].last_run.status #=> String, one of "RUNNING", "COMPLETED"
1001
+ # resp.workflows[0].last_run.status #=> String, one of "RUNNING", "COMPLETED", "STOPPING", "STOPPED"
998
1002
  # resp.workflows[0].last_run.statistics.total_actions #=> Integer
999
1003
  # resp.workflows[0].last_run.statistics.timeout_actions #=> Integer
1000
1004
  # resp.workflows[0].last_run.statistics.failed_actions #=> Integer
@@ -1026,7 +1030,7 @@ module Aws::Glue
1026
1030
  # resp.workflows[0].last_run.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].job_name #=> String
1027
1031
  # 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
1032
  # 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"
1033
+ # 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
1034
  # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs #=> Array
1031
1035
  # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].id #=> String
1032
1036
  # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].attempt #=> Integer
@@ -1054,7 +1058,7 @@ module Aws::Glue
1054
1058
  # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].notification_property.notify_delay_after #=> Integer
1055
1059
  # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].glue_version #=> String
1056
1060
  # 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"
1061
+ # resp.workflows[0].last_run.graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
1058
1062
  # resp.workflows[0].last_run.graph.nodes[0].crawler_details.crawls[0].started_on #=> Time
1059
1063
  # resp.workflows[0].last_run.graph.nodes[0].crawler_details.crawls[0].completed_on #=> Time
1060
1064
  # resp.workflows[0].last_run.graph.nodes[0].crawler_details.crawls[0].error_message #=> String
@@ -1088,7 +1092,7 @@ module Aws::Glue
1088
1092
  # resp.workflows[0].graph.nodes[0].trigger_details.trigger.predicate.conditions[0].job_name #=> String
1089
1093
  # resp.workflows[0].graph.nodes[0].trigger_details.trigger.predicate.conditions[0].state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED", "SUCCEEDED", "FAILED", "TIMEOUT"
1090
1094
  # 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"
1095
+ # resp.workflows[0].graph.nodes[0].trigger_details.trigger.predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
1092
1096
  # resp.workflows[0].graph.nodes[0].job_details.job_runs #=> Array
1093
1097
  # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].id #=> String
1094
1098
  # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].attempt #=> Integer
@@ -1116,7 +1120,7 @@ module Aws::Glue
1116
1120
  # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].notification_property.notify_delay_after #=> Integer
1117
1121
  # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].glue_version #=> String
1118
1122
  # 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"
1123
+ # resp.workflows[0].graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
1120
1124
  # resp.workflows[0].graph.nodes[0].crawler_details.crawls[0].started_on #=> Time
1121
1125
  # resp.workflows[0].graph.nodes[0].crawler_details.crawls[0].completed_on #=> Time
1122
1126
  # resp.workflows[0].graph.nodes[0].crawler_details.crawls[0].error_message #=> String
@@ -1337,14 +1341,13 @@ module Aws::Glue
1337
1341
  # A list of collection of targets to crawl.
1338
1342
  #
1339
1343
  # @option params [String] :schedule
1340
- # A `cron` expression used to specify the schedule. For more
1341
- # information, see [Time-Based Schedules for Jobs and Crawlers][1]. For
1342
- # example, to run something every day at 12:15 UTC, specify `cron(15 12
1343
- # * * ? *)`.
1344
+ # A `cron` expression used to specify the schedule (see [Time-Based
1345
+ # Schedules for Jobs and Crawlers][1]. For example, to run something
1346
+ # every day at 12:15 UTC, you would specify: `cron(15 12 * * ? *)`.
1344
1347
  #
1345
1348
  #
1346
1349
  #
1347
- # [1]: http://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html
1350
+ # [1]: https://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html
1348
1351
  #
1349
1352
  # @option params [Array<String>] :classifiers
1350
1353
  # A list of custom classifiers that the user has registered. By default,
@@ -1359,26 +1362,26 @@ module Aws::Glue
1359
1362
  # The policy for the crawler's update and deletion behavior.
1360
1363
  #
1361
1364
  # @option params [String] :configuration
1362
- # The crawler configuration information. This versioned JSON string
1363
- # allows users to specify aspects of a crawler's behavior. For more
1365
+ # Crawler configuration information. This versioned JSON string allows
1366
+ # users to specify aspects of a crawler's behavior. For more
1364
1367
  # information, see [Configuring a Crawler][1].
1365
1368
  #
1366
1369
  #
1367
1370
  #
1368
- # [1]: http://docs.aws.amazon.com/glue/latest/dg/crawler-configuration.html
1371
+ # [1]: https://docs.aws.amazon.com/glue/latest/dg/crawler-configuration.html
1369
1372
  #
1370
1373
  # @option params [String] :crawler_security_configuration
1371
1374
  # The name of the `SecurityConfiguration` structure to be used by this
1372
1375
  # crawler.
1373
1376
  #
1374
1377
  # @option params [Hash<String,String>] :tags
1375
- # The tags to use with this crawler request. You can use tags to limit
1376
- # access to the crawler. For more information, see [AWS Tags in AWS
1377
- # Glue][1].
1378
+ # The tags to use with this crawler request. You may use tags to limit
1379
+ # access to the crawler. For more information about tags in AWS Glue,
1380
+ # see [AWS Tags in AWS Glue][1] in the developer guide.
1378
1381
  #
1379
1382
  #
1380
1383
  #
1381
- # [1]: http://docs.aws.amazon.com/glue/latest/dg/monitor-tags.html
1384
+ # [1]: https://docs.aws.amazon.com/glue/latest/dg/monitor-tags.html
1382
1385
  #
1383
1386
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1384
1387
  #
@@ -1406,6 +1409,8 @@ module Aws::Glue
1406
1409
  # dynamo_db_targets: [
1407
1410
  # {
1408
1411
  # path: "Path",
1412
+ # scan_all: false,
1413
+ # scan_rate: 1.0,
1409
1414
  # },
1410
1415
  # ],
1411
1416
  # catalog_targets: [
@@ -2444,7 +2449,7 @@ module Aws::Glue
2444
2449
  # job_name: "NameString",
2445
2450
  # state: "STARTING", # accepts STARTING, RUNNING, STOPPING, STOPPED, SUCCEEDED, FAILED, TIMEOUT
2446
2451
  # crawler_name: "NameString",
2447
- # crawl_state: "RUNNING", # accepts RUNNING, SUCCEEDED, CANCELLED, FAILED
2452
+ # crawl_state: "RUNNING", # accepts RUNNING, CANCELLING, CANCELLED, SUCCEEDED, FAILED
2448
2453
  # },
2449
2454
  # ],
2450
2455
  # },
@@ -3331,6 +3336,8 @@ module Aws::Glue
3331
3336
  # resp.crawler.targets.jdbc_targets[0].exclusions[0] #=> String
3332
3337
  # resp.crawler.targets.dynamo_db_targets #=> Array
3333
3338
  # resp.crawler.targets.dynamo_db_targets[0].path #=> String
3339
+ # resp.crawler.targets.dynamo_db_targets[0].scan_all #=> Boolean
3340
+ # resp.crawler.targets.dynamo_db_targets[0].scan_rate #=> Float
3334
3341
  # resp.crawler.targets.catalog_targets #=> Array
3335
3342
  # resp.crawler.targets.catalog_targets[0].database_name #=> String
3336
3343
  # resp.crawler.targets.catalog_targets[0].tables #=> Array
@@ -3453,6 +3460,8 @@ module Aws::Glue
3453
3460
  # resp.crawlers[0].targets.jdbc_targets[0].exclusions[0] #=> String
3454
3461
  # resp.crawlers[0].targets.dynamo_db_targets #=> Array
3455
3462
  # resp.crawlers[0].targets.dynamo_db_targets[0].path #=> String
3463
+ # resp.crawlers[0].targets.dynamo_db_targets[0].scan_all #=> Boolean
3464
+ # resp.crawlers[0].targets.dynamo_db_targets[0].scan_rate #=> Float
3456
3465
  # resp.crawlers[0].targets.catalog_targets #=> Array
3457
3466
  # resp.crawlers[0].targets.catalog_targets[0].database_name #=> String
3458
3467
  # resp.crawlers[0].targets.catalog_targets[0].tables #=> Array
@@ -5387,7 +5396,7 @@ module Aws::Glue
5387
5396
  # resp.trigger.predicate.conditions[0].job_name #=> String
5388
5397
  # resp.trigger.predicate.conditions[0].state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED", "SUCCEEDED", "FAILED", "TIMEOUT"
5389
5398
  # resp.trigger.predicate.conditions[0].crawler_name #=> String
5390
- # resp.trigger.predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "SUCCEEDED", "CANCELLED", "FAILED"
5399
+ # resp.trigger.predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
5391
5400
  #
5392
5401
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTrigger AWS API Documentation
5393
5402
  #
@@ -5450,7 +5459,7 @@ module Aws::Glue
5450
5459
  # resp.triggers[0].predicate.conditions[0].job_name #=> String
5451
5460
  # resp.triggers[0].predicate.conditions[0].state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED", "SUCCEEDED", "FAILED", "TIMEOUT"
5452
5461
  # 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"
5462
+ # resp.triggers[0].predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
5454
5463
  # resp.next_token #=> String
5455
5464
  #
5456
5465
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTriggers AWS API Documentation
@@ -5489,6 +5498,7 @@ module Aws::Glue
5489
5498
  # @example Response structure
5490
5499
  #
5491
5500
  # resp.user_defined_function.function_name #=> String
5501
+ # resp.user_defined_function.database_name #=> String
5492
5502
  # resp.user_defined_function.class_name #=> String
5493
5503
  # resp.user_defined_function.owner_name #=> String
5494
5504
  # resp.user_defined_function.owner_type #=> String, one of "USER", "ROLE", "GROUP"
@@ -5513,7 +5523,9 @@ module Aws::Glue
5513
5523
  # located. If none is provided, the AWS account ID is used by default.
5514
5524
  #
5515
5525
  # @option params [String] :database_name
5516
- # The name of the catalog database where the functions are located.
5526
+ # The name of the catalog database where the functions are located. If
5527
+ # none is provided, functions from all the databases across the catalog
5528
+ # will be returned.
5517
5529
  #
5518
5530
  # @option params [required, String] :pattern
5519
5531
  # An optional function-name pattern string that filters the function
@@ -5546,6 +5558,7 @@ module Aws::Glue
5546
5558
  #
5547
5559
  # resp.user_defined_functions #=> Array
5548
5560
  # resp.user_defined_functions[0].function_name #=> String
5561
+ # resp.user_defined_functions[0].database_name #=> String
5549
5562
  # resp.user_defined_functions[0].class_name #=> String
5550
5563
  # resp.user_defined_functions[0].owner_name #=> String
5551
5564
  # resp.user_defined_functions[0].owner_type #=> String, one of "USER", "ROLE", "GROUP"
@@ -5598,7 +5611,7 @@ module Aws::Glue
5598
5611
  # resp.workflow.last_run.workflow_run_properties["IdString"] #=> String
5599
5612
  # resp.workflow.last_run.started_on #=> Time
5600
5613
  # resp.workflow.last_run.completed_on #=> Time
5601
- # resp.workflow.last_run.status #=> String, one of "RUNNING", "COMPLETED"
5614
+ # resp.workflow.last_run.status #=> String, one of "RUNNING", "COMPLETED", "STOPPING", "STOPPED"
5602
5615
  # resp.workflow.last_run.statistics.total_actions #=> Integer
5603
5616
  # resp.workflow.last_run.statistics.timeout_actions #=> Integer
5604
5617
  # resp.workflow.last_run.statistics.failed_actions #=> Integer
@@ -5630,7 +5643,7 @@ module Aws::Glue
5630
5643
  # resp.workflow.last_run.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].job_name #=> String
5631
5644
  # 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
5645
  # 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"
5646
+ # resp.workflow.last_run.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
5634
5647
  # resp.workflow.last_run.graph.nodes[0].job_details.job_runs #=> Array
5635
5648
  # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].id #=> String
5636
5649
  # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].attempt #=> Integer
@@ -5658,7 +5671,7 @@ module Aws::Glue
5658
5671
  # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].notification_property.notify_delay_after #=> Integer
5659
5672
  # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].glue_version #=> String
5660
5673
  # 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"
5674
+ # resp.workflow.last_run.graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
5662
5675
  # resp.workflow.last_run.graph.nodes[0].crawler_details.crawls[0].started_on #=> Time
5663
5676
  # resp.workflow.last_run.graph.nodes[0].crawler_details.crawls[0].completed_on #=> Time
5664
5677
  # resp.workflow.last_run.graph.nodes[0].crawler_details.crawls[0].error_message #=> String
@@ -5692,7 +5705,7 @@ module Aws::Glue
5692
5705
  # resp.workflow.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].job_name #=> String
5693
5706
  # resp.workflow.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED", "SUCCEEDED", "FAILED", "TIMEOUT"
5694
5707
  # 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"
5708
+ # resp.workflow.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
5696
5709
  # resp.workflow.graph.nodes[0].job_details.job_runs #=> Array
5697
5710
  # resp.workflow.graph.nodes[0].job_details.job_runs[0].id #=> String
5698
5711
  # resp.workflow.graph.nodes[0].job_details.job_runs[0].attempt #=> Integer
@@ -5720,7 +5733,7 @@ module Aws::Glue
5720
5733
  # resp.workflow.graph.nodes[0].job_details.job_runs[0].notification_property.notify_delay_after #=> Integer
5721
5734
  # resp.workflow.graph.nodes[0].job_details.job_runs[0].glue_version #=> String
5722
5735
  # 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"
5736
+ # resp.workflow.graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
5724
5737
  # resp.workflow.graph.nodes[0].crawler_details.crawls[0].started_on #=> Time
5725
5738
  # resp.workflow.graph.nodes[0].crawler_details.crawls[0].completed_on #=> Time
5726
5739
  # resp.workflow.graph.nodes[0].crawler_details.crawls[0].error_message #=> String
@@ -5770,7 +5783,7 @@ module Aws::Glue
5770
5783
  # resp.run.workflow_run_properties["IdString"] #=> String
5771
5784
  # resp.run.started_on #=> Time
5772
5785
  # resp.run.completed_on #=> Time
5773
- # resp.run.status #=> String, one of "RUNNING", "COMPLETED"
5786
+ # resp.run.status #=> String, one of "RUNNING", "COMPLETED", "STOPPING", "STOPPED"
5774
5787
  # resp.run.statistics.total_actions #=> Integer
5775
5788
  # resp.run.statistics.timeout_actions #=> Integer
5776
5789
  # resp.run.statistics.failed_actions #=> Integer
@@ -5802,7 +5815,7 @@ module Aws::Glue
5802
5815
  # resp.run.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].job_name #=> String
5803
5816
  # resp.run.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED", "SUCCEEDED", "FAILED", "TIMEOUT"
5804
5817
  # 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"
5818
+ # resp.run.graph.nodes[0].trigger_details.trigger.predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
5806
5819
  # resp.run.graph.nodes[0].job_details.job_runs #=> Array
5807
5820
  # resp.run.graph.nodes[0].job_details.job_runs[0].id #=> String
5808
5821
  # resp.run.graph.nodes[0].job_details.job_runs[0].attempt #=> Integer
@@ -5830,7 +5843,7 @@ module Aws::Glue
5830
5843
  # resp.run.graph.nodes[0].job_details.job_runs[0].notification_property.notify_delay_after #=> Integer
5831
5844
  # resp.run.graph.nodes[0].job_details.job_runs[0].glue_version #=> String
5832
5845
  # 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"
5846
+ # resp.run.graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
5834
5847
  # resp.run.graph.nodes[0].crawler_details.crawls[0].started_on #=> Time
5835
5848
  # resp.run.graph.nodes[0].crawler_details.crawls[0].completed_on #=> Time
5836
5849
  # resp.run.graph.nodes[0].crawler_details.crawls[0].error_message #=> String
@@ -5921,7 +5934,7 @@ module Aws::Glue
5921
5934
  # resp.runs[0].workflow_run_properties["IdString"] #=> String
5922
5935
  # resp.runs[0].started_on #=> Time
5923
5936
  # resp.runs[0].completed_on #=> Time
5924
- # resp.runs[0].status #=> String, one of "RUNNING", "COMPLETED"
5937
+ # resp.runs[0].status #=> String, one of "RUNNING", "COMPLETED", "STOPPING", "STOPPED"
5925
5938
  # resp.runs[0].statistics.total_actions #=> Integer
5926
5939
  # resp.runs[0].statistics.timeout_actions #=> Integer
5927
5940
  # resp.runs[0].statistics.failed_actions #=> Integer
@@ -5953,7 +5966,7 @@ module Aws::Glue
5953
5966
  # resp.runs[0].graph.nodes[0].trigger_details.trigger.predicate.conditions[0].job_name #=> String
5954
5967
  # resp.runs[0].graph.nodes[0].trigger_details.trigger.predicate.conditions[0].state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED", "SUCCEEDED", "FAILED", "TIMEOUT"
5955
5968
  # 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"
5969
+ # resp.runs[0].graph.nodes[0].trigger_details.trigger.predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
5957
5970
  # resp.runs[0].graph.nodes[0].job_details.job_runs #=> Array
5958
5971
  # resp.runs[0].graph.nodes[0].job_details.job_runs[0].id #=> String
5959
5972
  # resp.runs[0].graph.nodes[0].job_details.job_runs[0].attempt #=> Integer
@@ -5981,7 +5994,7 @@ module Aws::Glue
5981
5994
  # resp.runs[0].graph.nodes[0].job_details.job_runs[0].notification_property.notify_delay_after #=> Integer
5982
5995
  # resp.runs[0].graph.nodes[0].job_details.job_runs[0].glue_version #=> String
5983
5996
  # 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"
5997
+ # resp.runs[0].graph.nodes[0].crawler_details.crawls[0].state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
5985
5998
  # resp.runs[0].graph.nodes[0].crawler_details.crawls[0].started_on #=> Time
5986
5999
  # resp.runs[0].graph.nodes[0].crawler_details.crawls[0].completed_on #=> Time
5987
6000
  # resp.runs[0].graph.nodes[0].crawler_details.crawls[0].error_message #=> String
@@ -7139,6 +7152,32 @@ module Aws::Glue
7139
7152
  req.send_request(options)
7140
7153
  end
7141
7154
 
7155
+ # Stops the execution of the specified workflow run.
7156
+ #
7157
+ # @option params [required, String] :name
7158
+ # The name of the workflow to stop.
7159
+ #
7160
+ # @option params [required, String] :run_id
7161
+ # The ID of the workflow run to stop.
7162
+ #
7163
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
7164
+ #
7165
+ # @example Request syntax with placeholder values
7166
+ #
7167
+ # resp = client.stop_workflow_run({
7168
+ # name: "NameString", # required
7169
+ # run_id: "IdString", # required
7170
+ # })
7171
+ #
7172
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopWorkflowRun AWS API Documentation
7173
+ #
7174
+ # @overload stop_workflow_run(params = {})
7175
+ # @param [Hash] params ({})
7176
+ def stop_workflow_run(params = {}, options = {})
7177
+ req = build_request(:stop_workflow_run, params)
7178
+ req.send_request(options)
7179
+ end
7180
+
7142
7181
  # Adds tags to a resource. A tag is a label you can assign to an AWS
7143
7182
  # resource. In AWS Glue, you can tag only certain resources. For
7144
7183
  # information about what resources you can tag, see [AWS Tags in AWS
@@ -7328,14 +7367,13 @@ module Aws::Glue
7328
7367
  # A list of targets to crawl.
7329
7368
  #
7330
7369
  # @option params [String] :schedule
7331
- # A `cron` expression used to specify the schedule. For more
7332
- # information, see [Time-Based Schedules for Jobs and Crawlers][1]. For
7333
- # example, to run something every day at 12:15 UTC, specify `cron(15 12
7334
- # * * ? *)`.
7370
+ # A `cron` expression used to specify the schedule (see [Time-Based
7371
+ # Schedules for Jobs and Crawlers][1]. For example, to run something
7372
+ # every day at 12:15 UTC, you would specify: `cron(15 12 * * ? *)`.
7335
7373
  #
7336
7374
  #
7337
7375
  #
7338
- # [1]: http://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html
7376
+ # [1]: https://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html
7339
7377
  #
7340
7378
  # @option params [Array<String>] :classifiers
7341
7379
  # A list of custom classifiers that the user has registered. By default,
@@ -7350,13 +7388,13 @@ module Aws::Glue
7350
7388
  # The policy for the crawler's update and deletion behavior.
7351
7389
  #
7352
7390
  # @option params [String] :configuration
7353
- # The crawler configuration information. This versioned JSON string
7354
- # allows users to specify aspects of a crawler's behavior. For more
7391
+ # Crawler configuration information. This versioned JSON string allows
7392
+ # users to specify aspects of a crawler's behavior. For more
7355
7393
  # information, see [Configuring a Crawler][1].
7356
7394
  #
7357
7395
  #
7358
7396
  #
7359
- # [1]: http://docs.aws.amazon.com/glue/latest/dg/crawler-configuration.html
7397
+ # [1]: https://docs.aws.amazon.com/glue/latest/dg/crawler-configuration.html
7360
7398
  #
7361
7399
  # @option params [String] :crawler_security_configuration
7362
7400
  # The name of the `SecurityConfiguration` structure to be used by this
@@ -7388,6 +7426,8 @@ module Aws::Glue
7388
7426
  # dynamo_db_targets: [
7389
7427
  # {
7390
7428
  # path: "Path",
7429
+ # scan_all: false,
7430
+ # scan_rate: 1.0,
7391
7431
  # },
7392
7432
  # ],
7393
7433
  # catalog_targets: [
@@ -7423,14 +7463,14 @@ module Aws::Glue
7423
7463
  # The name of the crawler whose schedule to update.
7424
7464
  #
7425
7465
  # @option params [String] :schedule
7426
- # The updated `cron` expression used to specify the schedule. For more
7427
- # information, see [Time-Based Schedules for Jobs and Crawlers][1]. For
7428
- # example, to run something every day at 12:15 UTC, specify `cron(15 12
7429
- # * * ? *)`.
7466
+ # The updated `cron` expression used to specify the schedule (see
7467
+ # [Time-Based Schedules for Jobs and Crawlers][1]. For example, to run
7468
+ # something every day at 12:15 UTC, you would specify: `cron(15 12 * * ?
7469
+ # *)`.
7430
7470
  #
7431
7471
  #
7432
7472
  #
7433
- # [1]: http://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html
7473
+ # [1]: https://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html
7434
7474
  #
7435
7475
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
7436
7476
  #
@@ -7986,7 +8026,7 @@ module Aws::Glue
7986
8026
  # job_name: "NameString",
7987
8027
  # state: "STARTING", # accepts STARTING, RUNNING, STOPPING, STOPPED, SUCCEEDED, FAILED, TIMEOUT
7988
8028
  # crawler_name: "NameString",
7989
- # crawl_state: "RUNNING", # accepts RUNNING, SUCCEEDED, CANCELLED, FAILED
8029
+ # crawl_state: "RUNNING", # accepts RUNNING, CANCELLING, CANCELLED, SUCCEEDED, FAILED
7990
8030
  # },
7991
8031
  # ],
7992
8032
  # },
@@ -8016,7 +8056,7 @@ module Aws::Glue
8016
8056
  # resp.trigger.predicate.conditions[0].job_name #=> String
8017
8057
  # resp.trigger.predicate.conditions[0].state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED", "SUCCEEDED", "FAILED", "TIMEOUT"
8018
8058
  # resp.trigger.predicate.conditions[0].crawler_name #=> String
8019
- # resp.trigger.predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "SUCCEEDED", "CANCELLED", "FAILED"
8059
+ # resp.trigger.predicate.conditions[0].crawl_state #=> String, one of "RUNNING", "CANCELLING", "CANCELLED", "SUCCEEDED", "FAILED"
8020
8060
  #
8021
8061
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTrigger AWS API Documentation
8022
8062
  #
@@ -8127,7 +8167,7 @@ module Aws::Glue
8127
8167
  params: params,
8128
8168
  config: config)
8129
8169
  context[:gem_name] = 'aws-sdk-glue'
8130
- context[:gem_version] = '1.54.0'
8170
+ context[:gem_version] = '1.59.0'
8131
8171
  Seahorse::Client::Request.new(handlers, context)
8132
8172
  end
8133
8173
 
@@ -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')
@@ -1309,6 +1312,8 @@ module Aws::Glue
1309
1312
  DevEndpointNames.member = Shapes::ShapeRef.new(shape: GenericString)
1310
1313
 
1311
1314
  DynamoDBTarget.add_member(:path, Shapes::ShapeRef.new(shape: Path, location_name: "Path"))
1315
+ DynamoDBTarget.add_member(:scan_all, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "scanAll"))
1316
+ DynamoDBTarget.add_member(:scan_rate, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "scanRate"))
1312
1317
  DynamoDBTarget.struct_class = Types::DynamoDBTarget
1313
1318
 
1314
1319
  DynamoDBTargetList.member = Shapes::ShapeRef.new(shape: DynamoDBTarget)
@@ -1775,6 +1780,9 @@ module Aws::Glue
1775
1780
  IdempotentParameterMismatchException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
1776
1781
  IdempotentParameterMismatchException.struct_class = Types::IdempotentParameterMismatchException
1777
1782
 
1783
+ IllegalWorkflowStateException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
1784
+ IllegalWorkflowStateException.struct_class = Types::IllegalWorkflowStateException
1785
+
1778
1786
  ImportCatalogToGlueRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
1779
1787
  ImportCatalogToGlueRequest.struct_class = Types::ImportCatalogToGlueRequest
1780
1788
 
@@ -2297,6 +2305,12 @@ module Aws::Glue
2297
2305
  StopTriggerResponse.add_member(:name, Shapes::ShapeRef.new(shape: NameString, location_name: "Name"))
2298
2306
  StopTriggerResponse.struct_class = Types::StopTriggerResponse
2299
2307
 
2308
+ StopWorkflowRunRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
2309
+ StopWorkflowRunRequest.add_member(:run_id, Shapes::ShapeRef.new(shape: IdString, required: true, location_name: "RunId"))
2310
+ StopWorkflowRunRequest.struct_class = Types::StopWorkflowRunRequest
2311
+
2312
+ StopWorkflowRunResponse.struct_class = Types::StopWorkflowRunResponse
2313
+
2300
2314
  StorageDescriptor.add_member(:columns, Shapes::ShapeRef.new(shape: ColumnList, location_name: "Columns"))
2301
2315
  StorageDescriptor.add_member(:location, Shapes::ShapeRef.new(shape: LocationString, location_name: "Location"))
2302
2316
  StorageDescriptor.add_member(:input_format, Shapes::ShapeRef.new(shape: FormatString, location_name: "InputFormat"))
@@ -2606,6 +2620,7 @@ module Aws::Glue
2606
2620
  UpdateXMLClassifierRequest.struct_class = Types::UpdateXMLClassifierRequest
2607
2621
 
2608
2622
  UserDefinedFunction.add_member(:function_name, Shapes::ShapeRef.new(shape: NameString, location_name: "FunctionName"))
2623
+ UserDefinedFunction.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, location_name: "DatabaseName"))
2609
2624
  UserDefinedFunction.add_member(:class_name, Shapes::ShapeRef.new(shape: NameString, location_name: "ClassName"))
2610
2625
  UserDefinedFunction.add_member(:owner_name, Shapes::ShapeRef.new(shape: NameString, location_name: "OwnerName"))
2611
2626
  UserDefinedFunction.add_member(:owner_type, Shapes::ShapeRef.new(shape: PrincipalType, location_name: "OwnerType"))
@@ -4166,6 +4181,19 @@ module Aws::Glue
4166
4181
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
4167
4182
  end)
4168
4183
 
4184
+ api.add_operation(:stop_workflow_run, Seahorse::Model::Operation.new.tap do |o|
4185
+ o.name = "StopWorkflowRun"
4186
+ o.http_method = "POST"
4187
+ o.http_request_uri = "/"
4188
+ o.input = Shapes::ShapeRef.new(shape: StopWorkflowRunRequest)
4189
+ o.output = Shapes::ShapeRef.new(shape: StopWorkflowRunResponse)
4190
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
4191
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
4192
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
4193
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
4194
+ o.errors << Shapes::ShapeRef.new(shape: IllegalWorkflowStateException)
4195
+ end)
4196
+
4169
4197
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
4170
4198
  o.name = "TagResource"
4171
4199
  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
@@ -1571,7 +1573,7 @@ module Aws::Glue
1571
1573
  #
1572
1574
  #
1573
1575
  #
1574
- # [1]: http://docs.aws.amazon.com/glue/latest/dg/crawler-configuration.html
1576
+ # [1]: https://docs.aws.amazon.com/glue/latest/dg/crawler-configuration.html
1575
1577
  # @return [String]
1576
1578
  #
1577
1579
  # @!attribute [rw] crawler_security_configuration
@@ -1726,6 +1728,8 @@ module Aws::Glue
1726
1728
  # dynamo_db_targets: [
1727
1729
  # {
1728
1730
  # path: "Path",
1731
+ # scan_all: false,
1732
+ # scan_rate: 1.0,
1729
1733
  # },
1730
1734
  # ],
1731
1735
  # catalog_targets: [
@@ -1889,6 +1893,8 @@ module Aws::Glue
1889
1893
  # dynamo_db_targets: [
1890
1894
  # {
1891
1895
  # path: "Path",
1896
+ # scan_all: false,
1897
+ # scan_rate: 1.0,
1892
1898
  # },
1893
1899
  # ],
1894
1900
  # catalog_targets: [
@@ -1935,14 +1941,13 @@ module Aws::Glue
1935
1941
  # @return [Types::CrawlerTargets]
1936
1942
  #
1937
1943
  # @!attribute [rw] schedule
1938
- # A `cron` expression used to specify the schedule. For more
1939
- # information, see [Time-Based Schedules for Jobs and Crawlers][1].
1940
- # For example, to run something every day at 12:15 UTC, specify
1941
- # `cron(15 12 * * ? *)`.
1944
+ # A `cron` expression used to specify the schedule (see [Time-Based
1945
+ # Schedules for Jobs and Crawlers][1]. For example, to run something
1946
+ # every day at 12:15 UTC, you would specify: `cron(15 12 * * ? *)`.
1942
1947
  #
1943
1948
  #
1944
1949
  #
1945
- # [1]: http://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html
1950
+ # [1]: https://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html
1946
1951
  # @return [String]
1947
1952
  #
1948
1953
  # @!attribute [rw] classifiers
@@ -1961,13 +1966,13 @@ module Aws::Glue
1961
1966
  # @return [Types::SchemaChangePolicy]
1962
1967
  #
1963
1968
  # @!attribute [rw] configuration
1964
- # The crawler configuration information. This versioned JSON string
1965
- # allows users to specify aspects of a crawler's behavior. For more
1969
+ # Crawler configuration information. This versioned JSON string allows
1970
+ # users to specify aspects of a crawler's behavior. For more
1966
1971
  # information, see [Configuring a Crawler][1].
1967
1972
  #
1968
1973
  #
1969
1974
  #
1970
- # [1]: http://docs.aws.amazon.com/glue/latest/dg/crawler-configuration.html
1975
+ # [1]: https://docs.aws.amazon.com/glue/latest/dg/crawler-configuration.html
1971
1976
  # @return [String]
1972
1977
  #
1973
1978
  # @!attribute [rw] crawler_security_configuration
@@ -1976,13 +1981,13 @@ module Aws::Glue
1976
1981
  # @return [String]
1977
1982
  #
1978
1983
  # @!attribute [rw] tags
1979
- # The tags to use with this crawler request. You can use tags to limit
1980
- # access to the crawler. For more information, see [AWS Tags in AWS
1981
- # Glue][1].
1984
+ # The tags to use with this crawler request. You may use tags to limit
1985
+ # access to the crawler. For more information about tags in AWS Glue,
1986
+ # see [AWS Tags in AWS Glue][1] in the developer guide.
1982
1987
  #
1983
1988
  #
1984
1989
  #
1985
- # [1]: http://docs.aws.amazon.com/glue/latest/dg/monitor-tags.html
1990
+ # [1]: https://docs.aws.amazon.com/glue/latest/dg/monitor-tags.html
1986
1991
  # @return [Hash<String,String>]
1987
1992
  #
1988
1993
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateCrawlerRequest AWS API Documentation
@@ -2712,7 +2717,7 @@ module Aws::Glue
2712
2717
  #
2713
2718
  # @!attribute [rw] json_path
2714
2719
  # A `JsonPath` string defining the JSON data for the classifier to
2715
- # classify. AWS Glue supports a subset of `JsonPath`, as described in
2720
+ # classify. AWS Glue supports a subset of JsonPath, as described in
2716
2721
  # [Writing JsonPath Custom Classifiers][1].
2717
2722
  #
2718
2723
  #
@@ -3263,7 +3268,7 @@ module Aws::Glue
3263
3268
  # job_name: "NameString",
3264
3269
  # state: "STARTING", # accepts STARTING, RUNNING, STOPPING, STOPPED, SUCCEEDED, FAILED, TIMEOUT
3265
3270
  # crawler_name: "NameString",
3266
- # crawl_state: "RUNNING", # accepts RUNNING, SUCCEEDED, CANCELLED, FAILED
3271
+ # crawl_state: "RUNNING", # accepts RUNNING, CANCELLING, CANCELLED, SUCCEEDED, FAILED
3267
3272
  # },
3268
3273
  # ],
3269
3274
  # },
@@ -4438,16 +4443,43 @@ module Aws::Glue
4438
4443
  #
4439
4444
  # {
4440
4445
  # path: "Path",
4446
+ # scan_all: false,
4447
+ # scan_rate: 1.0,
4441
4448
  # }
4442
4449
  #
4443
4450
  # @!attribute [rw] path
4444
4451
  # The name of the DynamoDB table to crawl.
4445
4452
  # @return [String]
4446
4453
  #
4454
+ # @!attribute [rw] scan_all
4455
+ # Indicates whether to scan all the records, or to sample rows from
4456
+ # the table. Scanning all the records can take a long time when the
4457
+ # table is not a high throughput table.
4458
+ #
4459
+ # A value of `true` means to scan all records, while a value of
4460
+ # `false` means to sample the records. If no value is specified, the
4461
+ # value defaults to `true`.
4462
+ # @return [Boolean]
4463
+ #
4464
+ # @!attribute [rw] scan_rate
4465
+ # The percentage of the configured read capacity units to use by the
4466
+ # AWS Glue crawler. Read capacity units is a term defined by DynamoDB,
4467
+ # and is a numeric value that acts as rate limiter for the number of
4468
+ # reads that can be performed on that table per second.
4469
+ #
4470
+ # The valid values are null or a value between 0.1 to 1.5. A null
4471
+ # value is used when user does not provide a value, and defaults to
4472
+ # 0.5 of the configured Read Capacity Unit (for provisioned tables),
4473
+ # or 0.25 of the max configured Read Capacity Unit (for tables using
4474
+ # on-demand mode).
4475
+ # @return [Float]
4476
+ #
4447
4477
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DynamoDBTarget AWS API Documentation
4448
4478
  #
4449
4479
  class DynamoDBTarget < Struct.new(
4450
- :path)
4480
+ :path,
4481
+ :scan_all,
4482
+ :scan_rate)
4451
4483
  include Aws::Structure
4452
4484
  end
4453
4485
 
@@ -6819,7 +6851,9 @@ module Aws::Glue
6819
6851
  # @return [String]
6820
6852
  #
6821
6853
  # @!attribute [rw] database_name
6822
- # The name of the catalog database where the functions are located.
6854
+ # The name of the catalog database where the functions are located. If
6855
+ # none is provided, functions from all the databases across the
6856
+ # catalog will be returned.
6823
6857
  # @return [String]
6824
6858
  #
6825
6859
  # @!attribute [rw] pattern
@@ -7110,7 +7144,7 @@ module Aws::Glue
7110
7144
  #
7111
7145
  #
7112
7146
  #
7113
- # [1]: http://docs.aws.amazon.com/glue/latest/dg/custom-classifier.html
7147
+ # [1]: https://docs.aws.amazon.com/glue/latest/dg/custom-classifier.html
7114
7148
  # @return [String]
7115
7149
  #
7116
7150
  # @!attribute [rw] custom_patterns
@@ -7119,7 +7153,7 @@ module Aws::Glue
7119
7153
  #
7120
7154
  #
7121
7155
  #
7122
- # [1]: http://docs.aws.amazon.com/glue/latest/dg/custom-classifier.html
7156
+ # [1]: https://docs.aws.amazon.com/glue/latest/dg/custom-classifier.html
7123
7157
  # @return [String]
7124
7158
  #
7125
7159
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GrokClassifier AWS API Documentation
@@ -7148,6 +7182,19 @@ module Aws::Glue
7148
7182
  include Aws::Structure
7149
7183
  end
7150
7184
 
7185
+ # The workflow is in an invalid state to perform a requested operation.
7186
+ #
7187
+ # @!attribute [rw] message
7188
+ # A message describing the problem.
7189
+ # @return [String]
7190
+ #
7191
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/IllegalWorkflowStateException AWS API Documentation
7192
+ #
7193
+ class IllegalWorkflowStateException < Struct.new(
7194
+ :message)
7195
+ include Aws::Structure
7196
+ end
7197
+
7151
7198
  # @note When making an API call, you may pass ImportCatalogToGlueRequest
7152
7199
  # data as a hash:
7153
7200
  #
@@ -7241,7 +7288,7 @@ module Aws::Glue
7241
7288
  #
7242
7289
  #
7243
7290
  #
7244
- # [1]: http://docs.aws.amazon.com/glue/latest/dg/add-crawler.html
7291
+ # [1]: https://docs.aws.amazon.com/glue/latest/dg/add-crawler.html
7245
7292
  # @return [Array<String>]
7246
7293
  #
7247
7294
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/JdbcTarget AWS API Documentation
@@ -7601,7 +7648,13 @@ module Aws::Glue
7601
7648
  # @return [Time]
7602
7649
  #
7603
7650
  # @!attribute [rw] job_run_state
7604
- # The current state of the job run.
7651
+ # The current state of the job run. For more information about the
7652
+ # statuses of jobs that have terminated abnormally, see [AWS Glue Job
7653
+ # Run Statuses][1].
7654
+ #
7655
+ #
7656
+ #
7657
+ # [1]: https://docs.aws.amazon.com/glue/latest/dg/job-run-statuses.html
7605
7658
  # @return [String]
7606
7659
  #
7607
7660
  # @!attribute [rw] arguments
@@ -8003,7 +8056,7 @@ module Aws::Glue
8003
8056
  #
8004
8057
  # @!attribute [rw] json_path
8005
8058
  # A `JsonPath` string defining the JSON data for the classifier to
8006
- # classify. AWS Glue supports a subset of `JsonPath`, as described in
8059
+ # classify. AWS Glue supports a subset of JsonPath, as described in
8007
8060
  # [Writing JsonPath Custom Classifiers][1].
8008
8061
  #
8009
8062
  #
@@ -9071,7 +9124,7 @@ module Aws::Glue
9071
9124
  # job_name: "NameString",
9072
9125
  # state: "STARTING", # accepts STARTING, RUNNING, STOPPING, STOPPED, SUCCEEDED, FAILED, TIMEOUT
9073
9126
  # crawler_name: "NameString",
9074
- # crawl_state: "RUNNING", # accepts RUNNING, SUCCEEDED, CANCELLED, FAILED
9127
+ # crawl_state: "RUNNING", # accepts RUNNING, CANCELLING, CANCELLED, SUCCEEDED, FAILED
9075
9128
  # },
9076
9129
  # ],
9077
9130
  # }
@@ -9398,7 +9451,7 @@ module Aws::Glue
9398
9451
  #
9399
9452
  #
9400
9453
  #
9401
- # [1]: http://docs.aws.amazon.com/glue/latest/dg/add-crawler.html
9454
+ # [1]: https://docs.aws.amazon.com/glue/latest/dg/add-crawler.html
9402
9455
  # @return [Array<String>]
9403
9456
  #
9404
9457
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/S3Target AWS API Documentation
@@ -9412,14 +9465,13 @@ module Aws::Glue
9412
9465
  # A scheduling object using a `cron` statement to schedule an event.
9413
9466
  #
9414
9467
  # @!attribute [rw] schedule_expression
9415
- # A `cron` expression used to specify the schedule. For more
9416
- # information, see [Time-Based Schedules for Jobs and Crawlers][1].
9417
- # For example, to run something every day at 12:15 UTC, specify
9418
- # `cron(15 12 * * ? *)`.
9468
+ # A `cron` expression used to specify the schedule (see [Time-Based
9469
+ # Schedules for Jobs and Crawlers][1]. For example, to run something
9470
+ # every day at 12:15 UTC, you would specify: `cron(15 12 * * ? *)`.
9419
9471
  #
9420
9472
  #
9421
9473
  #
9422
- # [1]: http://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html
9474
+ # [1]: https://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html
9423
9475
  # @return [String]
9424
9476
  #
9425
9477
  # @!attribute [rw] state
@@ -10233,6 +10285,34 @@ module Aws::Glue
10233
10285
  include Aws::Structure
10234
10286
  end
10235
10287
 
10288
+ # @note When making an API call, you may pass StopWorkflowRunRequest
10289
+ # data as a hash:
10290
+ #
10291
+ # {
10292
+ # name: "NameString", # required
10293
+ # run_id: "IdString", # required
10294
+ # }
10295
+ #
10296
+ # @!attribute [rw] name
10297
+ # The name of the workflow to stop.
10298
+ # @return [String]
10299
+ #
10300
+ # @!attribute [rw] run_id
10301
+ # The ID of the workflow run to stop.
10302
+ # @return [String]
10303
+ #
10304
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopWorkflowRunRequest AWS API Documentation
10305
+ #
10306
+ class StopWorkflowRunRequest < Struct.new(
10307
+ :name,
10308
+ :run_id)
10309
+ include Aws::Structure
10310
+ end
10311
+
10312
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopWorkflowRunResponse AWS API Documentation
10313
+ #
10314
+ class StopWorkflowRunResponse < Aws::EmptyStructure; end
10315
+
10236
10316
  # Describes the physical storage of table data.
10237
10317
  #
10238
10318
  # @note When making an API call, you may pass StorageDescriptor
@@ -11133,7 +11213,7 @@ module Aws::Glue
11133
11213
  # job_name: "NameString",
11134
11214
  # state: "STARTING", # accepts STARTING, RUNNING, STOPPING, STOPPED, SUCCEEDED, FAILED, TIMEOUT
11135
11215
  # crawler_name: "NameString",
11136
- # crawl_state: "RUNNING", # accepts RUNNING, SUCCEEDED, CANCELLED, FAILED
11216
+ # crawl_state: "RUNNING", # accepts RUNNING, CANCELLING, CANCELLED, SUCCEEDED, FAILED
11137
11217
  # },
11138
11218
  # ],
11139
11219
  # },
@@ -11339,6 +11419,8 @@ module Aws::Glue
11339
11419
  # dynamo_db_targets: [
11340
11420
  # {
11341
11421
  # path: "Path",
11422
+ # scan_all: false,
11423
+ # scan_rate: 1.0,
11342
11424
  # },
11343
11425
  # ],
11344
11426
  # catalog_targets: [
@@ -11382,14 +11464,13 @@ module Aws::Glue
11382
11464
  # @return [Types::CrawlerTargets]
11383
11465
  #
11384
11466
  # @!attribute [rw] schedule
11385
- # A `cron` expression used to specify the schedule. For more
11386
- # information, see [Time-Based Schedules for Jobs and Crawlers][1].
11387
- # For example, to run something every day at 12:15 UTC, specify
11388
- # `cron(15 12 * * ? *)`.
11467
+ # A `cron` expression used to specify the schedule (see [Time-Based
11468
+ # Schedules for Jobs and Crawlers][1]. For example, to run something
11469
+ # every day at 12:15 UTC, you would specify: `cron(15 12 * * ? *)`.
11389
11470
  #
11390
11471
  #
11391
11472
  #
11392
- # [1]: http://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html
11473
+ # [1]: https://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html
11393
11474
  # @return [String]
11394
11475
  #
11395
11476
  # @!attribute [rw] classifiers
@@ -11408,13 +11489,13 @@ module Aws::Glue
11408
11489
  # @return [Types::SchemaChangePolicy]
11409
11490
  #
11410
11491
  # @!attribute [rw] configuration
11411
- # The crawler configuration information. This versioned JSON string
11412
- # allows users to specify aspects of a crawler's behavior. For more
11492
+ # Crawler configuration information. This versioned JSON string allows
11493
+ # users to specify aspects of a crawler's behavior. For more
11413
11494
  # information, see [Configuring a Crawler][1].
11414
11495
  #
11415
11496
  #
11416
11497
  #
11417
- # [1]: http://docs.aws.amazon.com/glue/latest/dg/crawler-configuration.html
11498
+ # [1]: https://docs.aws.amazon.com/glue/latest/dg/crawler-configuration.html
11418
11499
  # @return [String]
11419
11500
  #
11420
11501
  # @!attribute [rw] crawler_security_configuration
@@ -11456,14 +11537,14 @@ module Aws::Glue
11456
11537
  # @return [String]
11457
11538
  #
11458
11539
  # @!attribute [rw] schedule
11459
- # The updated `cron` expression used to specify the schedule. For more
11460
- # information, see [Time-Based Schedules for Jobs and Crawlers][1].
11461
- # For example, to run something every day at 12:15 UTC, specify
11462
- # `cron(15 12 * * ? *)`.
11540
+ # The updated `cron` expression used to specify the schedule (see
11541
+ # [Time-Based Schedules for Jobs and Crawlers][1]. For example, to run
11542
+ # something every day at 12:15 UTC, you would specify: `cron(15 12 * *
11543
+ # ? *)`.
11463
11544
  #
11464
11545
  #
11465
11546
  #
11466
- # [1]: http://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html
11547
+ # [1]: https://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html
11467
11548
  # @return [String]
11468
11549
  #
11469
11550
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateCrawlerScheduleRequest AWS API Documentation
@@ -11797,7 +11878,7 @@ module Aws::Glue
11797
11878
  #
11798
11879
  # @!attribute [rw] json_path
11799
11880
  # A `JsonPath` string defining the JSON data for the classifier to
11800
- # classify. AWS Glue supports a subset of `JsonPath`, as described in
11881
+ # classify. AWS Glue supports a subset of JsonPath, as described in
11801
11882
  # [Writing JsonPath Custom Classifiers][1].
11802
11883
  #
11803
11884
  #
@@ -12187,7 +12268,7 @@ module Aws::Glue
12187
12268
  # job_name: "NameString",
12188
12269
  # state: "STARTING", # accepts STARTING, RUNNING, STOPPING, STOPPED, SUCCEEDED, FAILED, TIMEOUT
12189
12270
  # crawler_name: "NameString",
12190
- # crawl_state: "RUNNING", # accepts RUNNING, SUCCEEDED, CANCELLED, FAILED
12271
+ # crawl_state: "RUNNING", # accepts RUNNING, CANCELLING, CANCELLED, SUCCEEDED, FAILED
12191
12272
  # },
12192
12273
  # ],
12193
12274
  # },
@@ -12363,6 +12444,10 @@ module Aws::Glue
12363
12444
  # The name of the function.
12364
12445
  # @return [String]
12365
12446
  #
12447
+ # @!attribute [rw] database_name
12448
+ # The name of the database where the function resides.
12449
+ # @return [String]
12450
+ #
12366
12451
  # @!attribute [rw] class_name
12367
12452
  # The Java class that contains the function code.
12368
12453
  # @return [String]
@@ -12387,6 +12472,7 @@ module Aws::Glue
12387
12472
  #
12388
12473
  class UserDefinedFunction < Struct.new(
12389
12474
  :function_name,
12475
+ :database_name,
12390
12476
  :class_name,
12391
12477
  :owner_name,
12392
12478
  :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.54.0
4
+ version: 1.59.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-06-12 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