aws-sdk-glue 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-glue.rb +1 -1
- data/lib/aws-sdk-glue/client.rb +98 -46
- data/lib/aws-sdk-glue/client_api.rb +34 -3
- data/lib/aws-sdk-glue/types.rb +288 -88
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 65a797b99d8afcc82add64454a971b7069bd99d6
|
4
|
+
data.tar.gz: 520c499c34cb451771cfdb587f12c2877b446e93
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db120a375aba54149b1101fddb2b6400e683fd97e6e9097bcc12f34cb6dab609a082760b23f66853bcca98dad5be32a6b95c39fc57e1566fe0d626219a597e90
|
7
|
+
data.tar.gz: 6b13c787fabaa8ebb1e610c874ea59167a83a8bf8bcaac7e0303bc0af2a6d8c57a9119507b92a55a540a2f4401bcef5aa01f17e1020a1c47158c5618e0c335da
|
data/lib/aws-sdk-glue.rb
CHANGED
data/lib/aws-sdk-glue/client.rb
CHANGED
@@ -505,10 +505,14 @@ module Aws::Glue
|
|
505
505
|
req.send_request(options)
|
506
506
|
end
|
507
507
|
|
508
|
-
# Creates a
|
508
|
+
# Creates a classifier in the user's account. This may be either a
|
509
|
+
# `GrokClassifier` or an `XMLClassifier`.
|
509
510
|
#
|
510
511
|
# @option params [Types::CreateGrokClassifierRequest] :grok_classifier
|
511
|
-
# A
|
512
|
+
# A `GrokClassifier` object specifying the classifier to create.
|
513
|
+
#
|
514
|
+
# @option params [Types::CreateXMLClassifierRequest] :xml_classifier
|
515
|
+
# An `XMLClassifier` object specifying the classifier to create.
|
512
516
|
#
|
513
517
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
514
518
|
#
|
@@ -521,6 +525,11 @@ module Aws::Glue
|
|
521
525
|
# grok_pattern: "GrokPattern", # required
|
522
526
|
# custom_patterns: "CustomPatterns",
|
523
527
|
# },
|
528
|
+
# xml_classifier: {
|
529
|
+
# classification: "Classification", # required
|
530
|
+
# name: "NameString", # required
|
531
|
+
# row_tag: "RowTag",
|
532
|
+
# },
|
524
533
|
# })
|
525
534
|
#
|
526
535
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateClassifier AWS API Documentation
|
@@ -572,23 +581,23 @@ module Aws::Glue
|
|
572
581
|
req.send_request(options)
|
573
582
|
end
|
574
583
|
|
575
|
-
# Creates a new
|
576
|
-
#
|
584
|
+
# Creates a new crawler with specified targets, role, configuration, and
|
585
|
+
# optional schedule. At least one crawl target must be specified, in
|
577
586
|
# either the *s3Targets* or the *jdbcTargets* field.
|
578
587
|
#
|
579
588
|
# @option params [required, String] :name
|
580
|
-
# Name of the new
|
589
|
+
# Name of the new crawler.
|
581
590
|
#
|
582
591
|
# @option params [required, String] :role
|
583
|
-
# The IAM role (or ARN of an IAM role) used by the new
|
584
|
-
#
|
592
|
+
# The IAM role (or ARN of an IAM role) used by the new crawler to access
|
593
|
+
# customer resources.
|
585
594
|
#
|
586
595
|
# @option params [required, String] :database_name
|
587
|
-
# The Glue
|
596
|
+
# The AWS Glue database where results are written, such as:
|
588
597
|
# `arn:aws:daylight:us-east-1::database/sometable/*`.
|
589
598
|
#
|
590
599
|
# @option params [String] :description
|
591
|
-
# A description of the new
|
600
|
+
# A description of the new crawler.
|
592
601
|
#
|
593
602
|
# @option params [required, Types::CrawlerTargets] :targets
|
594
603
|
# A list of collection of targets to crawl.
|
@@ -603,24 +612,33 @@ module Aws::Glue
|
|
603
612
|
# [1]: http://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html
|
604
613
|
#
|
605
614
|
# @option params [Array<String>] :classifiers
|
606
|
-
# A list of custom
|
607
|
-
#
|
615
|
+
# A list of custom classifiers that the user has registered. By default,
|
616
|
+
# all AWS classifiers are included in a crawl, but these custom
|
608
617
|
# classifiers always override the default classifiers for a given
|
609
618
|
# classification.
|
610
619
|
#
|
611
620
|
# @option params [String] :table_prefix
|
612
|
-
# The table prefix used for catalog tables created.
|
621
|
+
# The table prefix used for catalog tables that are created.
|
613
622
|
#
|
614
623
|
# @option params [Types::SchemaChangePolicy] :schema_change_policy
|
615
624
|
# Policy for the crawler's update and deletion behavior.
|
616
625
|
#
|
626
|
+
# @option params [String] :configuration
|
627
|
+
# Crawler configuration information. This versioned JSON string allows
|
628
|
+
# users to specify aspects of a Crawler's behavior.
|
629
|
+
#
|
630
|
+
# You can use this field to force partitions to inherit metadata such as
|
631
|
+
# classification, input format, output format, serde information, and
|
632
|
+
# schema from their parent table, rather than detect this information
|
633
|
+
# separately for each partition.
|
634
|
+
#
|
617
635
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
618
636
|
#
|
619
637
|
# @example Request syntax with placeholder values
|
620
638
|
#
|
621
639
|
# resp = client.create_crawler({
|
622
640
|
# name: "NameString", # required
|
623
|
-
# role: "
|
641
|
+
# role: "Role", # required
|
624
642
|
# database_name: "DatabaseName", # required
|
625
643
|
# description: "DescriptionString",
|
626
644
|
# targets: { # required
|
@@ -645,6 +663,7 @@ module Aws::Glue
|
|
645
663
|
# update_behavior: "LOG", # accepts LOG, UPDATE_IN_DATABASE
|
646
664
|
# delete_behavior: "LOG", # accepts LOG, DELETE_FROM_DATABASE, DEPRECATE_IN_DATABASE
|
647
665
|
# },
|
666
|
+
# configuration: "CrawlerConfiguration",
|
648
667
|
# })
|
649
668
|
#
|
650
669
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateCrawler AWS API Documentation
|
@@ -1199,10 +1218,10 @@ module Aws::Glue
|
|
1199
1218
|
req.send_request(options)
|
1200
1219
|
end
|
1201
1220
|
|
1202
|
-
# Removes a
|
1221
|
+
# Removes a classifier from the Data Catalog.
|
1203
1222
|
#
|
1204
1223
|
# @option params [required, String] :name
|
1205
|
-
# Name of the
|
1224
|
+
# Name of the classifier to remove.
|
1206
1225
|
#
|
1207
1226
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1208
1227
|
#
|
@@ -1248,11 +1267,11 @@ module Aws::Glue
|
|
1248
1267
|
req.send_request(options)
|
1249
1268
|
end
|
1250
1269
|
|
1251
|
-
# Removes a specified
|
1252
|
-
#
|
1270
|
+
# Removes a specified crawler from the Data Catalog, unless the crawler
|
1271
|
+
# state is `RUNNING`.
|
1253
1272
|
#
|
1254
1273
|
# @option params [required, String] :name
|
1255
|
-
# Name of the
|
1274
|
+
# Name of the crawler to remove.
|
1256
1275
|
#
|
1257
1276
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1258
1277
|
#
|
@@ -1505,10 +1524,10 @@ module Aws::Glue
|
|
1505
1524
|
req.send_request(options)
|
1506
1525
|
end
|
1507
1526
|
|
1508
|
-
# Retrieve a
|
1527
|
+
# Retrieve a classifier by name.
|
1509
1528
|
#
|
1510
1529
|
# @option params [required, String] :name
|
1511
|
-
# Name of the
|
1530
|
+
# Name of the classifier to retrieve.
|
1512
1531
|
#
|
1513
1532
|
# @return [Types::GetClassifierResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1514
1533
|
#
|
@@ -1529,6 +1548,12 @@ module Aws::Glue
|
|
1529
1548
|
# resp.classifier.grok_classifier.version #=> Integer
|
1530
1549
|
# resp.classifier.grok_classifier.grok_pattern #=> String
|
1531
1550
|
# resp.classifier.grok_classifier.custom_patterns #=> String
|
1551
|
+
# resp.classifier.xml_classifier.name #=> String
|
1552
|
+
# resp.classifier.xml_classifier.classification #=> String
|
1553
|
+
# resp.classifier.xml_classifier.creation_time #=> Time
|
1554
|
+
# resp.classifier.xml_classifier.last_updated #=> Time
|
1555
|
+
# resp.classifier.xml_classifier.version #=> Integer
|
1556
|
+
# resp.classifier.xml_classifier.row_tag #=> String
|
1532
1557
|
#
|
1533
1558
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetClassifier AWS API Documentation
|
1534
1559
|
#
|
@@ -1539,7 +1564,7 @@ module Aws::Glue
|
|
1539
1564
|
req.send_request(options)
|
1540
1565
|
end
|
1541
1566
|
|
1542
|
-
# Lists all
|
1567
|
+
# Lists all classifier objects in the Data Catalog.
|
1543
1568
|
#
|
1544
1569
|
# @option params [Integer] :max_results
|
1545
1570
|
# Size of the list to return (optional).
|
@@ -1569,6 +1594,12 @@ module Aws::Glue
|
|
1569
1594
|
# resp.classifiers[0].grok_classifier.version #=> Integer
|
1570
1595
|
# resp.classifiers[0].grok_classifier.grok_pattern #=> String
|
1571
1596
|
# resp.classifiers[0].grok_classifier.custom_patterns #=> String
|
1597
|
+
# resp.classifiers[0].xml_classifier.name #=> String
|
1598
|
+
# resp.classifiers[0].xml_classifier.classification #=> String
|
1599
|
+
# resp.classifiers[0].xml_classifier.creation_time #=> Time
|
1600
|
+
# resp.classifiers[0].xml_classifier.last_updated #=> Time
|
1601
|
+
# resp.classifiers[0].xml_classifier.version #=> Integer
|
1602
|
+
# resp.classifiers[0].xml_classifier.row_tag #=> String
|
1572
1603
|
# resp.next_token #=> String
|
1573
1604
|
#
|
1574
1605
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetClassifiers AWS API Documentation
|
@@ -1686,10 +1717,10 @@ module Aws::Glue
|
|
1686
1717
|
req.send_request(options)
|
1687
1718
|
end
|
1688
1719
|
|
1689
|
-
# Retrieves metadata for a specified
|
1720
|
+
# Retrieves metadata for a specified crawler.
|
1690
1721
|
#
|
1691
1722
|
# @option params [required, String] :name
|
1692
|
-
# Name of the
|
1723
|
+
# Name of the crawler to retrieve metadata for.
|
1693
1724
|
#
|
1694
1725
|
# @return [Types::GetCrawlerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1695
1726
|
#
|
@@ -1734,6 +1765,7 @@ module Aws::Glue
|
|
1734
1765
|
# resp.crawler.last_crawl.message_prefix #=> String
|
1735
1766
|
# resp.crawler.last_crawl.start_time #=> Time
|
1736
1767
|
# resp.crawler.version #=> Integer
|
1768
|
+
# resp.crawler.configuration #=> String
|
1737
1769
|
#
|
1738
1770
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawler AWS API Documentation
|
1739
1771
|
#
|
@@ -1790,10 +1822,10 @@ module Aws::Glue
|
|
1790
1822
|
req.send_request(options)
|
1791
1823
|
end
|
1792
1824
|
|
1793
|
-
# Retrieves metadata for all
|
1825
|
+
# Retrieves metadata for all crawlers defined in the customer account.
|
1794
1826
|
#
|
1795
1827
|
# @option params [Integer] :max_results
|
1796
|
-
# The number of
|
1828
|
+
# The number of crawlers to return on each call.
|
1797
1829
|
#
|
1798
1830
|
# @option params [String] :next_token
|
1799
1831
|
# A continuation token, if this is a continuation request.
|
@@ -1844,6 +1876,7 @@ module Aws::Glue
|
|
1844
1876
|
# resp.crawlers[0].last_crawl.message_prefix #=> String
|
1845
1877
|
# resp.crawlers[0].last_crawl.start_time #=> Time
|
1846
1878
|
# resp.crawlers[0].version #=> Integer
|
1879
|
+
# resp.crawlers[0].configuration #=> String
|
1847
1880
|
# resp.next_token #=> String
|
1848
1881
|
#
|
1849
1882
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlers AWS API Documentation
|
@@ -3104,11 +3137,11 @@ module Aws::Glue
|
|
3104
3137
|
req.send_request(options)
|
3105
3138
|
end
|
3106
3139
|
|
3107
|
-
# Starts a crawl using the specified
|
3108
|
-
# scheduled. If the
|
3140
|
+
# Starts a crawl using the specified crawler, regardless of what is
|
3141
|
+
# scheduled. If the crawler is already running, does nothing.
|
3109
3142
|
#
|
3110
3143
|
# @option params [required, String] :name
|
3111
|
-
# Name of the
|
3144
|
+
# Name of the crawler to start.
|
3112
3145
|
#
|
3113
3146
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3114
3147
|
#
|
@@ -3221,10 +3254,10 @@ module Aws::Glue
|
|
3221
3254
|
req.send_request(options)
|
3222
3255
|
end
|
3223
3256
|
|
3224
|
-
# If the specified
|
3257
|
+
# If the specified crawler is running, stops the crawl.
|
3225
3258
|
#
|
3226
3259
|
# @option params [required, String] :name
|
3227
|
-
# Name of the
|
3260
|
+
# Name of the crawler to stop.
|
3228
3261
|
#
|
3229
3262
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3230
3263
|
#
|
@@ -3294,11 +3327,15 @@ module Aws::Glue
|
|
3294
3327
|
req.send_request(options)
|
3295
3328
|
end
|
3296
3329
|
|
3297
|
-
# Modifies an existing `
|
3330
|
+
# Modifies an existing classifier (either a `GrokClassifier` or an
|
3331
|
+
# `XMLClassifier`).
|
3298
3332
|
#
|
3299
3333
|
# @option params [Types::UpdateGrokClassifierRequest] :grok_classifier
|
3300
3334
|
# A `GrokClassifier` object with updated fields.
|
3301
3335
|
#
|
3336
|
+
# @option params [Types::UpdateXMLClassifierRequest] :xml_classifier
|
3337
|
+
# An `XMLClassifier` object with updated fields.
|
3338
|
+
#
|
3302
3339
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3303
3340
|
#
|
3304
3341
|
# @example Request syntax with placeholder values
|
@@ -3310,6 +3347,11 @@ module Aws::Glue
|
|
3310
3347
|
# grok_pattern: "GrokPattern",
|
3311
3348
|
# custom_patterns: "CustomPatterns",
|
3312
3349
|
# },
|
3350
|
+
# xml_classifier: {
|
3351
|
+
# name: "NameString", # required
|
3352
|
+
# classification: "Classification",
|
3353
|
+
# row_tag: "RowTag",
|
3354
|
+
# },
|
3313
3355
|
# })
|
3314
3356
|
#
|
3315
3357
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateClassifier AWS API Documentation
|
@@ -3365,25 +3407,25 @@ module Aws::Glue
|
|
3365
3407
|
req.send_request(options)
|
3366
3408
|
end
|
3367
3409
|
|
3368
|
-
# Updates a
|
3410
|
+
# Updates a crawler. If a crawler is running, you must stop it using
|
3369
3411
|
# `StopCrawler` before updating it.
|
3370
3412
|
#
|
3371
3413
|
# @option params [required, String] :name
|
3372
|
-
# Name of the new
|
3414
|
+
# Name of the new crawler.
|
3373
3415
|
#
|
3374
3416
|
# @option params [String] :role
|
3375
|
-
# The IAM role (or ARN of an IAM role) used by the new
|
3376
|
-
#
|
3417
|
+
# The IAM role (or ARN of an IAM role) used by the new crawler to access
|
3418
|
+
# customer resources.
|
3377
3419
|
#
|
3378
3420
|
# @option params [String] :database_name
|
3379
|
-
# The Glue
|
3421
|
+
# The AWS Glue database where results are stored, such as:
|
3380
3422
|
# `arn:aws:daylight:us-east-1::database/sometable/*`.
|
3381
3423
|
#
|
3382
3424
|
# @option params [String] :description
|
3383
|
-
# A description of the new
|
3425
|
+
# A description of the new crawler.
|
3384
3426
|
#
|
3385
3427
|
# @option params [Types::CrawlerTargets] :targets
|
3386
|
-
# A list of
|
3428
|
+
# A list of targets to crawl.
|
3387
3429
|
#
|
3388
3430
|
# @option params [String] :schedule
|
3389
3431
|
# A `cron` expression used to specify the schedule (see [Time-Based
|
@@ -3395,24 +3437,33 @@ module Aws::Glue
|
|
3395
3437
|
# [1]: http://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html
|
3396
3438
|
#
|
3397
3439
|
# @option params [Array<String>] :classifiers
|
3398
|
-
# A list of custom
|
3399
|
-
#
|
3400
|
-
#
|
3401
|
-
# classification.
|
3440
|
+
# A list of custom classifiers that the user has registered. By default,
|
3441
|
+
# all classifiers are included in a crawl, but these custom classifiers
|
3442
|
+
# always override the default classifiers for a given classification.
|
3402
3443
|
#
|
3403
3444
|
# @option params [String] :table_prefix
|
3404
|
-
# The table prefix used for catalog tables created.
|
3445
|
+
# The table prefix used for catalog tables that are created.
|
3405
3446
|
#
|
3406
3447
|
# @option params [Types::SchemaChangePolicy] :schema_change_policy
|
3407
3448
|
# Policy for the crawler's update and deletion behavior.
|
3408
3449
|
#
|
3450
|
+
# @option params [String] :configuration
|
3451
|
+
# Crawler configuration information. This versioned JSON string allows
|
3452
|
+
# users to specify aspects of a Crawler's behavior.
|
3453
|
+
#
|
3454
|
+
# You can use this field to force partitions to inherit metadata such as
|
3455
|
+
# classification, input format, output format, serde information, and
|
3456
|
+
# schema from their parent table, rather than detect this information
|
3457
|
+
# separately for each partition. Use the following JSON string to
|
3458
|
+
# specify that behavior:
|
3459
|
+
#
|
3409
3460
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3410
3461
|
#
|
3411
3462
|
# @example Request syntax with placeholder values
|
3412
3463
|
#
|
3413
3464
|
# resp = client.update_crawler({
|
3414
3465
|
# name: "NameString", # required
|
3415
|
-
# role: "
|
3466
|
+
# role: "Role",
|
3416
3467
|
# database_name: "DatabaseName",
|
3417
3468
|
# description: "DescriptionStringRemovable",
|
3418
3469
|
# targets: {
|
@@ -3437,6 +3488,7 @@ module Aws::Glue
|
|
3437
3488
|
# update_behavior: "LOG", # accepts LOG, UPDATE_IN_DATABASE
|
3438
3489
|
# delete_behavior: "LOG", # accepts LOG, DELETE_FROM_DATABASE, DEPRECATE_IN_DATABASE
|
3439
3490
|
# },
|
3491
|
+
# configuration: "CrawlerConfiguration",
|
3440
3492
|
# })
|
3441
3493
|
#
|
3442
3494
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateCrawler AWS API Documentation
|
@@ -3448,7 +3500,7 @@ module Aws::Glue
|
|
3448
3500
|
req.send_request(options)
|
3449
3501
|
end
|
3450
3502
|
|
3451
|
-
# Updates the schedule of a crawler using a
|
3503
|
+
# Updates the schedule of a crawler using a `cron` expression.
|
3452
3504
|
#
|
3453
3505
|
# @option params [required, String] :crawler_name
|
3454
3506
|
# Name of the crawler whose schedule to update.
|
@@ -3915,7 +3967,7 @@ module Aws::Glue
|
|
3915
3967
|
params: params,
|
3916
3968
|
config: config)
|
3917
3969
|
context[:gem_name] = 'aws-sdk-glue'
|
3918
|
-
context[:gem_version] = '1.
|
3970
|
+
context[:gem_version] = '1.2.0'
|
3919
3971
|
Seahorse::Client::Request.new(handlers, context)
|
3920
3972
|
end
|
3921
3973
|
|
@@ -74,6 +74,7 @@ module Aws::Glue
|
|
74
74
|
ConnectionType = Shapes::StringShape.new(name: 'ConnectionType')
|
75
75
|
ConnectionsList = Shapes::StructureShape.new(name: 'ConnectionsList')
|
76
76
|
Crawler = Shapes::StructureShape.new(name: 'Crawler')
|
77
|
+
CrawlerConfiguration = Shapes::StringShape.new(name: 'CrawlerConfiguration')
|
77
78
|
CrawlerList = Shapes::ListShape.new(name: 'CrawlerList')
|
78
79
|
CrawlerMetrics = Shapes::StructureShape.new(name: 'CrawlerMetrics')
|
79
80
|
CrawlerMetricsList = Shapes::ListShape.new(name: 'CrawlerMetricsList')
|
@@ -106,6 +107,7 @@ module Aws::Glue
|
|
106
107
|
CreateTriggerResponse = Shapes::StructureShape.new(name: 'CreateTriggerResponse')
|
107
108
|
CreateUserDefinedFunctionRequest = Shapes::StructureShape.new(name: 'CreateUserDefinedFunctionRequest')
|
108
109
|
CreateUserDefinedFunctionResponse = Shapes::StructureShape.new(name: 'CreateUserDefinedFunctionResponse')
|
110
|
+
CreateXMLClassifierRequest = Shapes::StructureShape.new(name: 'CreateXMLClassifierRequest')
|
109
111
|
CronExpression = Shapes::StringShape.new(name: 'CronExpression')
|
110
112
|
CustomPatterns = Shapes::StringShape.new(name: 'CustomPatterns')
|
111
113
|
DagEdges = Shapes::ListShape.new(name: 'DagEdges')
|
@@ -283,8 +285,10 @@ module Aws::Glue
|
|
283
285
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
284
286
|
ResourceUri = Shapes::StructureShape.new(name: 'ResourceUri')
|
285
287
|
ResourceUriList = Shapes::ListShape.new(name: 'ResourceUriList')
|
288
|
+
Role = Shapes::StringShape.new(name: 'Role')
|
286
289
|
RoleArn = Shapes::StringShape.new(name: 'RoleArn')
|
287
290
|
RoleString = Shapes::StringShape.new(name: 'RoleString')
|
291
|
+
RowTag = Shapes::StringShape.new(name: 'RowTag')
|
288
292
|
S3Target = Shapes::StructureShape.new(name: 'S3Target')
|
289
293
|
S3TargetList = Shapes::ListShape.new(name: 'S3TargetList')
|
290
294
|
Schedule = Shapes::StructureShape.new(name: 'Schedule')
|
@@ -358,6 +362,7 @@ module Aws::Glue
|
|
358
362
|
UpdateTriggerResponse = Shapes::StructureShape.new(name: 'UpdateTriggerResponse')
|
359
363
|
UpdateUserDefinedFunctionRequest = Shapes::StructureShape.new(name: 'UpdateUserDefinedFunctionRequest')
|
360
364
|
UpdateUserDefinedFunctionResponse = Shapes::StructureShape.new(name: 'UpdateUserDefinedFunctionResponse')
|
365
|
+
UpdateXMLClassifierRequest = Shapes::StructureShape.new(name: 'UpdateXMLClassifierRequest')
|
361
366
|
UriString = Shapes::StringShape.new(name: 'UriString')
|
362
367
|
UserDefinedFunction = Shapes::StructureShape.new(name: 'UserDefinedFunction')
|
363
368
|
UserDefinedFunctionInput = Shapes::StructureShape.new(name: 'UserDefinedFunctionInput')
|
@@ -369,6 +374,7 @@ module Aws::Glue
|
|
369
374
|
VersionMismatchException = Shapes::StructureShape.new(name: 'VersionMismatchException')
|
370
375
|
VersionString = Shapes::StringShape.new(name: 'VersionString')
|
371
376
|
ViewTextString = Shapes::StringShape.new(name: 'ViewTextString')
|
377
|
+
XMLClassifier = Shapes::StructureShape.new(name: 'XMLClassifier')
|
372
378
|
|
373
379
|
Action.add_member(:job_name, Shapes::ShapeRef.new(shape: NameString, location_name: "JobName"))
|
374
380
|
Action.add_member(:arguments, Shapes::ShapeRef.new(shape: GenericMap, location_name: "Arguments"))
|
@@ -463,6 +469,7 @@ module Aws::Glue
|
|
463
469
|
CatalogImportStatus.struct_class = Types::CatalogImportStatus
|
464
470
|
|
465
471
|
Classifier.add_member(:grok_classifier, Shapes::ShapeRef.new(shape: GrokClassifier, location_name: "GrokClassifier"))
|
472
|
+
Classifier.add_member(:xml_classifier, Shapes::ShapeRef.new(shape: XMLClassifier, location_name: "XMLClassifier"))
|
466
473
|
Classifier.struct_class = Types::Classifier
|
467
474
|
|
468
475
|
ClassifierList.member = Shapes::ShapeRef.new(shape: Classifier)
|
@@ -531,7 +538,7 @@ module Aws::Glue
|
|
531
538
|
ConnectionsList.struct_class = Types::ConnectionsList
|
532
539
|
|
533
540
|
Crawler.add_member(:name, Shapes::ShapeRef.new(shape: NameString, location_name: "Name"))
|
534
|
-
Crawler.add_member(:role, Shapes::ShapeRef.new(shape:
|
541
|
+
Crawler.add_member(:role, Shapes::ShapeRef.new(shape: Role, location_name: "Role"))
|
535
542
|
Crawler.add_member(:targets, Shapes::ShapeRef.new(shape: CrawlerTargets, location_name: "Targets"))
|
536
543
|
Crawler.add_member(:database_name, Shapes::ShapeRef.new(shape: DatabaseName, location_name: "DatabaseName"))
|
537
544
|
Crawler.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
|
@@ -545,6 +552,7 @@ module Aws::Glue
|
|
545
552
|
Crawler.add_member(:last_updated, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastUpdated"))
|
546
553
|
Crawler.add_member(:last_crawl, Shapes::ShapeRef.new(shape: LastCrawlInfo, location_name: "LastCrawl"))
|
547
554
|
Crawler.add_member(:version, Shapes::ShapeRef.new(shape: VersionId, location_name: "Version"))
|
555
|
+
Crawler.add_member(:configuration, Shapes::ShapeRef.new(shape: CrawlerConfiguration, location_name: "Configuration"))
|
548
556
|
Crawler.struct_class = Types::Crawler
|
549
557
|
|
550
558
|
CrawlerList.member = Shapes::ShapeRef.new(shape: Crawler)
|
@@ -568,6 +576,7 @@ module Aws::Glue
|
|
568
576
|
CrawlerTargets.struct_class = Types::CrawlerTargets
|
569
577
|
|
570
578
|
CreateClassifierRequest.add_member(:grok_classifier, Shapes::ShapeRef.new(shape: CreateGrokClassifierRequest, location_name: "GrokClassifier"))
|
579
|
+
CreateClassifierRequest.add_member(:xml_classifier, Shapes::ShapeRef.new(shape: CreateXMLClassifierRequest, location_name: "XMLClassifier"))
|
571
580
|
CreateClassifierRequest.struct_class = Types::CreateClassifierRequest
|
572
581
|
|
573
582
|
CreateClassifierResponse.struct_class = Types::CreateClassifierResponse
|
@@ -579,7 +588,7 @@ module Aws::Glue
|
|
579
588
|
CreateConnectionResponse.struct_class = Types::CreateConnectionResponse
|
580
589
|
|
581
590
|
CreateCrawlerRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
|
582
|
-
CreateCrawlerRequest.add_member(:role, Shapes::ShapeRef.new(shape:
|
591
|
+
CreateCrawlerRequest.add_member(:role, Shapes::ShapeRef.new(shape: Role, required: true, location_name: "Role"))
|
583
592
|
CreateCrawlerRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: DatabaseName, required: true, location_name: "DatabaseName"))
|
584
593
|
CreateCrawlerRequest.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
|
585
594
|
CreateCrawlerRequest.add_member(:targets, Shapes::ShapeRef.new(shape: CrawlerTargets, required: true, location_name: "Targets"))
|
@@ -587,6 +596,7 @@ module Aws::Glue
|
|
587
596
|
CreateCrawlerRequest.add_member(:classifiers, Shapes::ShapeRef.new(shape: ClassifierNameList, location_name: "Classifiers"))
|
588
597
|
CreateCrawlerRequest.add_member(:table_prefix, Shapes::ShapeRef.new(shape: TablePrefix, location_name: "TablePrefix"))
|
589
598
|
CreateCrawlerRequest.add_member(:schema_change_policy, Shapes::ShapeRef.new(shape: SchemaChangePolicy, location_name: "SchemaChangePolicy"))
|
599
|
+
CreateCrawlerRequest.add_member(:configuration, Shapes::ShapeRef.new(shape: CrawlerConfiguration, location_name: "Configuration"))
|
590
600
|
CreateCrawlerRequest.struct_class = Types::CreateCrawlerRequest
|
591
601
|
|
592
602
|
CreateCrawlerResponse.struct_class = Types::CreateCrawlerResponse
|
@@ -684,6 +694,11 @@ module Aws::Glue
|
|
684
694
|
|
685
695
|
CreateUserDefinedFunctionResponse.struct_class = Types::CreateUserDefinedFunctionResponse
|
686
696
|
|
697
|
+
CreateXMLClassifierRequest.add_member(:classification, Shapes::ShapeRef.new(shape: Classification, required: true, location_name: "Classification"))
|
698
|
+
CreateXMLClassifierRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
|
699
|
+
CreateXMLClassifierRequest.add_member(:row_tag, Shapes::ShapeRef.new(shape: RowTag, location_name: "RowTag"))
|
700
|
+
CreateXMLClassifierRequest.struct_class = Types::CreateXMLClassifierRequest
|
701
|
+
|
687
702
|
DagEdges.member = Shapes::ShapeRef.new(shape: CodeGenEdge)
|
688
703
|
|
689
704
|
DagNodes.member = Shapes::ShapeRef.new(shape: CodeGenNode)
|
@@ -1366,6 +1381,7 @@ module Aws::Glue
|
|
1366
1381
|
TriggerUpdate.struct_class = Types::TriggerUpdate
|
1367
1382
|
|
1368
1383
|
UpdateClassifierRequest.add_member(:grok_classifier, Shapes::ShapeRef.new(shape: UpdateGrokClassifierRequest, location_name: "GrokClassifier"))
|
1384
|
+
UpdateClassifierRequest.add_member(:xml_classifier, Shapes::ShapeRef.new(shape: UpdateXMLClassifierRequest, location_name: "XMLClassifier"))
|
1369
1385
|
UpdateClassifierRequest.struct_class = Types::UpdateClassifierRequest
|
1370
1386
|
|
1371
1387
|
UpdateClassifierResponse.struct_class = Types::UpdateClassifierResponse
|
@@ -1378,7 +1394,7 @@ module Aws::Glue
|
|
1378
1394
|
UpdateConnectionResponse.struct_class = Types::UpdateConnectionResponse
|
1379
1395
|
|
1380
1396
|
UpdateCrawlerRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
|
1381
|
-
UpdateCrawlerRequest.add_member(:role, Shapes::ShapeRef.new(shape:
|
1397
|
+
UpdateCrawlerRequest.add_member(:role, Shapes::ShapeRef.new(shape: Role, location_name: "Role"))
|
1382
1398
|
UpdateCrawlerRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: DatabaseName, location_name: "DatabaseName"))
|
1383
1399
|
UpdateCrawlerRequest.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionStringRemovable, location_name: "Description"))
|
1384
1400
|
UpdateCrawlerRequest.add_member(:targets, Shapes::ShapeRef.new(shape: CrawlerTargets, location_name: "Targets"))
|
@@ -1386,6 +1402,7 @@ module Aws::Glue
|
|
1386
1402
|
UpdateCrawlerRequest.add_member(:classifiers, Shapes::ShapeRef.new(shape: ClassifierNameList, location_name: "Classifiers"))
|
1387
1403
|
UpdateCrawlerRequest.add_member(:table_prefix, Shapes::ShapeRef.new(shape: TablePrefix, location_name: "TablePrefix"))
|
1388
1404
|
UpdateCrawlerRequest.add_member(:schema_change_policy, Shapes::ShapeRef.new(shape: SchemaChangePolicy, location_name: "SchemaChangePolicy"))
|
1405
|
+
UpdateCrawlerRequest.add_member(:configuration, Shapes::ShapeRef.new(shape: CrawlerConfiguration, location_name: "Configuration"))
|
1389
1406
|
UpdateCrawlerRequest.struct_class = Types::UpdateCrawlerRequest
|
1390
1407
|
|
1391
1408
|
UpdateCrawlerResponse.struct_class = Types::UpdateCrawlerResponse
|
@@ -1455,6 +1472,11 @@ module Aws::Glue
|
|
1455
1472
|
|
1456
1473
|
UpdateUserDefinedFunctionResponse.struct_class = Types::UpdateUserDefinedFunctionResponse
|
1457
1474
|
|
1475
|
+
UpdateXMLClassifierRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
|
1476
|
+
UpdateXMLClassifierRequest.add_member(:classification, Shapes::ShapeRef.new(shape: Classification, location_name: "Classification"))
|
1477
|
+
UpdateXMLClassifierRequest.add_member(:row_tag, Shapes::ShapeRef.new(shape: RowTag, location_name: "RowTag"))
|
1478
|
+
UpdateXMLClassifierRequest.struct_class = Types::UpdateXMLClassifierRequest
|
1479
|
+
|
1458
1480
|
UserDefinedFunction.add_member(:function_name, Shapes::ShapeRef.new(shape: NameString, location_name: "FunctionName"))
|
1459
1481
|
UserDefinedFunction.add_member(:class_name, Shapes::ShapeRef.new(shape: NameString, location_name: "ClassName"))
|
1460
1482
|
UserDefinedFunction.add_member(:owner_name, Shapes::ShapeRef.new(shape: NameString, location_name: "OwnerName"))
|
@@ -1474,6 +1496,14 @@ module Aws::Glue
|
|
1474
1496
|
|
1475
1497
|
ValueStringList.member = Shapes::ShapeRef.new(shape: ValueString)
|
1476
1498
|
|
1499
|
+
XMLClassifier.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
|
1500
|
+
XMLClassifier.add_member(:classification, Shapes::ShapeRef.new(shape: Classification, required: true, location_name: "Classification"))
|
1501
|
+
XMLClassifier.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
|
1502
|
+
XMLClassifier.add_member(:last_updated, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastUpdated"))
|
1503
|
+
XMLClassifier.add_member(:version, Shapes::ShapeRef.new(shape: VersionId, location_name: "Version"))
|
1504
|
+
XMLClassifier.add_member(:row_tag, Shapes::ShapeRef.new(shape: RowTag, location_name: "RowTag"))
|
1505
|
+
XMLClassifier.struct_class = Types::XMLClassifier
|
1506
|
+
|
1477
1507
|
|
1478
1508
|
# @api private
|
1479
1509
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -2056,6 +2086,7 @@ module Aws::Glue
|
|
2056
2086
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
2057
2087
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
2058
2088
|
o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
|
2089
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
|
2059
2090
|
end)
|
2060
2091
|
|
2061
2092
|
api.add_operation(:get_partition, Seahorse::Model::Operation.new.tap do |o|
|