aws-sdk-glue 1.4.0 → 1.5.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
  SHA1:
3
- metadata.gz: 24d445279844ee66362df1da9ef16038c9cd6e2e
4
- data.tar.gz: 570becb7948bff023fd4848ef3a510492d44c720
3
+ metadata.gz: f4db81262a4986c7ed860dcf91c2354101d4a5fd
4
+ data.tar.gz: d7e572616832fe2d06a551d26f7ec7f16a704aeb
5
5
  SHA512:
6
- metadata.gz: f6040c954b7856526b55b38f21343d3bc6e03057b6d234246a6f9844ca861c0ea44499f58ecbce54c2cbee1274f025164c0806ea42152bfa9b542a987e0da096
7
- data.tar.gz: ab149df70ecc73b9b5a699f4fd81f149ef4c5b609395ab8dc20492f4cbff02528dfd09c2c496d6019390ed65fe5c99a2b08248e16fe9f954986c4640fcc8775b
6
+ metadata.gz: f7762c1e1c76b6636a22f2df565c3b67dd4101f9c353109d507b85180c2b29891282fbc465bd83d0ae4161c6ba1976cef3c27e6a939ecf07a5a866369cfc8fe4
7
+ data.tar.gz: 583998679bee1ab0619c161317bbf9a4f50f15cba5333497bc3a73b2aaf2d7529287385e94d708255ec1b1942c1f0f950dd59cb2141bb33598c4c1db11eb044f
data/lib/aws-sdk-glue.rb CHANGED
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-glue/customizations'
42
42
  # @service
43
43
  module Aws::Glue
44
44
 
45
- GEM_VERSION = '1.4.0'
45
+ GEM_VERSION = '1.5.0'
46
46
 
47
47
  end
@@ -553,8 +553,9 @@ module Aws::Glue
553
553
  req.send_request(options)
554
554
  end
555
555
 
556
- # Creates a classifier in the user's account. This may be either a
557
- # `GrokClassifier` or an `XMLClassifier`.
556
+ # Creates a classifier in the user's account. This may be a
557
+ # `GrokClassifier`, an `XMLClassifier`, or abbrev `JsonClassifier`,
558
+ # depending on which field of the request is present.
558
559
  #
559
560
  # @option params [Types::CreateGrokClassifierRequest] :grok_classifier
560
561
  # A `GrokClassifier` object specifying the classifier to create.
@@ -562,6 +563,9 @@ module Aws::Glue
562
563
  # @option params [Types::CreateXMLClassifierRequest] :xml_classifier
563
564
  # An `XMLClassifier` object specifying the classifier to create.
564
565
  #
566
+ # @option params [Types::CreateJsonClassifierRequest] :json_classifier
567
+ # A `JsonClassifier` object specifying the classifier to create.
568
+ #
565
569
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
566
570
  #
567
571
  # @example Request syntax with placeholder values
@@ -578,6 +582,10 @@ module Aws::Glue
578
582
  # name: "NameString", # required
579
583
  # row_tag: "RowTag",
580
584
  # },
585
+ # json_classifier: {
586
+ # name: "NameString", # required
587
+ # json_path: "JsonPath", # required
588
+ # },
581
589
  # })
582
590
  #
583
591
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateClassifier AWS API Documentation
@@ -1683,6 +1691,11 @@ module Aws::Glue
1683
1691
  # resp.classifier.xml_classifier.last_updated #=> Time
1684
1692
  # resp.classifier.xml_classifier.version #=> Integer
1685
1693
  # resp.classifier.xml_classifier.row_tag #=> String
1694
+ # resp.classifier.json_classifier.name #=> String
1695
+ # resp.classifier.json_classifier.creation_time #=> Time
1696
+ # resp.classifier.json_classifier.last_updated #=> Time
1697
+ # resp.classifier.json_classifier.version #=> Integer
1698
+ # resp.classifier.json_classifier.json_path #=> String
1686
1699
  #
1687
1700
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetClassifier AWS API Documentation
1688
1701
  #
@@ -1729,6 +1742,11 @@ module Aws::Glue
1729
1742
  # resp.classifiers[0].xml_classifier.last_updated #=> Time
1730
1743
  # resp.classifiers[0].xml_classifier.version #=> Integer
1731
1744
  # resp.classifiers[0].xml_classifier.row_tag #=> String
1745
+ # resp.classifiers[0].json_classifier.name #=> String
1746
+ # resp.classifiers[0].json_classifier.creation_time #=> Time
1747
+ # resp.classifiers[0].json_classifier.last_updated #=> Time
1748
+ # resp.classifiers[0].json_classifier.version #=> Integer
1749
+ # resp.classifiers[0].json_classifier.json_path #=> String
1732
1750
  # resp.next_token #=> String
1733
1751
  #
1734
1752
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetClassifiers AWS API Documentation
@@ -3589,8 +3607,8 @@ module Aws::Glue
3589
3607
  req.send_request(options)
3590
3608
  end
3591
3609
 
3592
- # Modifies an existing classifier (either a `GrokClassifier` or an
3593
- # `XMLClassifier`).
3610
+ # Modifies an existing classifier (a `GrokClassifier`, `XMLClassifier`,
3611
+ # or `JsonClassifier`, depending on which field is present).
3594
3612
  #
3595
3613
  # @option params [Types::UpdateGrokClassifierRequest] :grok_classifier
3596
3614
  # A `GrokClassifier` object with updated fields.
@@ -3598,6 +3616,9 @@ module Aws::Glue
3598
3616
  # @option params [Types::UpdateXMLClassifierRequest] :xml_classifier
3599
3617
  # An `XMLClassifier` object with updated fields.
3600
3618
  #
3619
+ # @option params [Types::UpdateJsonClassifierRequest] :json_classifier
3620
+ # A `JsonClassifier` object with updated fields.
3621
+ #
3601
3622
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3602
3623
  #
3603
3624
  # @example Request syntax with placeholder values
@@ -3614,6 +3635,10 @@ module Aws::Glue
3614
3635
  # classification: "Classification",
3615
3636
  # row_tag: "RowTag",
3616
3637
  # },
3638
+ # json_classifier: {
3639
+ # name: "NameString", # required
3640
+ # json_path: "JsonPath",
3641
+ # },
3617
3642
  # })
3618
3643
  #
3619
3644
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateClassifier AWS API Documentation
@@ -3719,7 +3744,7 @@ module Aws::Glue
3719
3744
  # separately for each partition. Use the following JSON string to
3720
3745
  # specify that behavior:
3721
3746
  #
3722
- # Example:  `'\{ "Version": 1.0, "CrawlerOutput": \{ "Partitions": \{
3747
+ # Example: `'\{ "Version": 1.0, "CrawlerOutput": \{ "Partitions": \{
3723
3748
  # "AddOrUpdateBehavior": "InheritFromTable" \} \} \}'`
3724
3749
  #
3725
3750
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
@@ -4240,7 +4265,7 @@ module Aws::Glue
4240
4265
  params: params,
4241
4266
  config: config)
4242
4267
  context[:gem_name] = 'aws-sdk-glue'
4243
- context[:gem_version] = '1.4.0'
4268
+ context[:gem_version] = '1.5.0'
4244
4269
  Seahorse::Client::Request.new(handlers, context)
4245
4270
  end
4246
4271
 
@@ -101,6 +101,7 @@ module Aws::Glue
101
101
  CreateGrokClassifierRequest = Shapes::StructureShape.new(name: 'CreateGrokClassifierRequest')
102
102
  CreateJobRequest = Shapes::StructureShape.new(name: 'CreateJobRequest')
103
103
  CreateJobResponse = Shapes::StructureShape.new(name: 'CreateJobResponse')
104
+ CreateJsonClassifierRequest = Shapes::StructureShape.new(name: 'CreateJsonClassifierRequest')
104
105
  CreatePartitionRequest = Shapes::StructureShape.new(name: 'CreatePartitionRequest')
105
106
  CreatePartitionResponse = Shapes::StructureShape.new(name: 'CreatePartitionResponse')
106
107
  CreateScriptRequest = Shapes::StructureShape.new(name: 'CreateScriptRequest')
@@ -241,6 +242,8 @@ module Aws::Glue
241
242
  JobRunList = Shapes::ListShape.new(name: 'JobRunList')
242
243
  JobRunState = Shapes::StringShape.new(name: 'JobRunState')
243
244
  JobUpdate = Shapes::StructureShape.new(name: 'JobUpdate')
245
+ JsonClassifier = Shapes::StructureShape.new(name: 'JsonClassifier')
246
+ JsonPath = Shapes::StringShape.new(name: 'JsonPath')
244
247
  JsonValue = Shapes::StringShape.new(name: 'JsonValue')
245
248
  KeyString = Shapes::StringShape.new(name: 'KeyString')
246
249
  Language = Shapes::StringShape.new(name: 'Language')
@@ -366,6 +369,7 @@ module Aws::Glue
366
369
  UpdateGrokClassifierRequest = Shapes::StructureShape.new(name: 'UpdateGrokClassifierRequest')
367
370
  UpdateJobRequest = Shapes::StructureShape.new(name: 'UpdateJobRequest')
368
371
  UpdateJobResponse = Shapes::StructureShape.new(name: 'UpdateJobResponse')
372
+ UpdateJsonClassifierRequest = Shapes::StructureShape.new(name: 'UpdateJsonClassifierRequest')
369
373
  UpdatePartitionRequest = Shapes::StructureShape.new(name: 'UpdatePartitionRequest')
370
374
  UpdatePartitionResponse = Shapes::StructureShape.new(name: 'UpdatePartitionResponse')
371
375
  UpdateTableRequest = Shapes::StructureShape.new(name: 'UpdateTableRequest')
@@ -493,6 +497,7 @@ module Aws::Glue
493
497
 
494
498
  Classifier.add_member(:grok_classifier, Shapes::ShapeRef.new(shape: GrokClassifier, location_name: "GrokClassifier"))
495
499
  Classifier.add_member(:xml_classifier, Shapes::ShapeRef.new(shape: XMLClassifier, location_name: "XMLClassifier"))
500
+ Classifier.add_member(:json_classifier, Shapes::ShapeRef.new(shape: JsonClassifier, location_name: "JsonClassifier"))
496
501
  Classifier.struct_class = Types::Classifier
497
502
 
498
503
  ClassifierList.member = Shapes::ShapeRef.new(shape: Classifier)
@@ -600,6 +605,7 @@ module Aws::Glue
600
605
 
601
606
  CreateClassifierRequest.add_member(:grok_classifier, Shapes::ShapeRef.new(shape: CreateGrokClassifierRequest, location_name: "GrokClassifier"))
602
607
  CreateClassifierRequest.add_member(:xml_classifier, Shapes::ShapeRef.new(shape: CreateXMLClassifierRequest, location_name: "XMLClassifier"))
608
+ CreateClassifierRequest.add_member(:json_classifier, Shapes::ShapeRef.new(shape: CreateJsonClassifierRequest, location_name: "JsonClassifier"))
603
609
  CreateClassifierRequest.struct_class = Types::CreateClassifierRequest
604
610
 
605
611
  CreateClassifierResponse.struct_class = Types::CreateClassifierResponse
@@ -677,6 +683,10 @@ module Aws::Glue
677
683
  CreateJobResponse.add_member(:name, Shapes::ShapeRef.new(shape: NameString, location_name: "Name"))
678
684
  CreateJobResponse.struct_class = Types::CreateJobResponse
679
685
 
686
+ CreateJsonClassifierRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
687
+ CreateJsonClassifierRequest.add_member(:json_path, Shapes::ShapeRef.new(shape: JsonPath, required: true, location_name: "JsonPath"))
688
+ CreateJsonClassifierRequest.struct_class = Types::CreateJsonClassifierRequest
689
+
680
690
  CreatePartitionRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
681
691
  CreatePartitionRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
682
692
  CreatePartitionRequest.add_member(:table_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "TableName"))
@@ -1177,6 +1187,13 @@ module Aws::Glue
1177
1187
  JobUpdate.add_member(:allocated_capacity, Shapes::ShapeRef.new(shape: IntegerValue, location_name: "AllocatedCapacity"))
1178
1188
  JobUpdate.struct_class = Types::JobUpdate
1179
1189
 
1190
+ JsonClassifier.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
1191
+ JsonClassifier.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
1192
+ JsonClassifier.add_member(:last_updated, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastUpdated"))
1193
+ JsonClassifier.add_member(:version, Shapes::ShapeRef.new(shape: VersionId, location_name: "Version"))
1194
+ JsonClassifier.add_member(:json_path, Shapes::ShapeRef.new(shape: JsonPath, required: true, location_name: "JsonPath"))
1195
+ JsonClassifier.struct_class = Types::JsonClassifier
1196
+
1180
1197
  LastCrawlInfo.add_member(:status, Shapes::ShapeRef.new(shape: LastCrawlStatus, location_name: "Status"))
1181
1198
  LastCrawlInfo.add_member(:error_message, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "ErrorMessage"))
1182
1199
  LastCrawlInfo.add_member(:log_group, Shapes::ShapeRef.new(shape: LogGroup, location_name: "LogGroup"))
@@ -1433,6 +1450,7 @@ module Aws::Glue
1433
1450
 
1434
1451
  UpdateClassifierRequest.add_member(:grok_classifier, Shapes::ShapeRef.new(shape: UpdateGrokClassifierRequest, location_name: "GrokClassifier"))
1435
1452
  UpdateClassifierRequest.add_member(:xml_classifier, Shapes::ShapeRef.new(shape: UpdateXMLClassifierRequest, location_name: "XMLClassifier"))
1453
+ UpdateClassifierRequest.add_member(:json_classifier, Shapes::ShapeRef.new(shape: UpdateJsonClassifierRequest, location_name: "JsonClassifier"))
1436
1454
  UpdateClassifierRequest.struct_class = Types::UpdateClassifierRequest
1437
1455
 
1438
1456
  UpdateClassifierResponse.struct_class = Types::UpdateClassifierResponse
@@ -1492,6 +1510,10 @@ module Aws::Glue
1492
1510
  UpdateJobResponse.add_member(:job_name, Shapes::ShapeRef.new(shape: NameString, location_name: "JobName"))
1493
1511
  UpdateJobResponse.struct_class = Types::UpdateJobResponse
1494
1512
 
1513
+ UpdateJsonClassifierRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
1514
+ UpdateJsonClassifierRequest.add_member(:json_path, Shapes::ShapeRef.new(shape: JsonPath, location_name: "JsonPath"))
1515
+ UpdateJsonClassifierRequest.struct_class = Types::UpdateJsonClassifierRequest
1516
+
1495
1517
  UpdatePartitionRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
1496
1518
  UpdatePartitionRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
1497
1519
  UpdatePartitionRequest.add_member(:table_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "TableName"))
@@ -541,8 +541,9 @@ module Aws::Glue
541
541
  # and if it is, the classifier creates a schema in the form of a
542
542
  # `StructType` object that matches that data format.
543
543
  #
544
- # A classifier can be either a `grok` classifier or an XML classifier,
545
- # specified in one or the other field of the `Classifier` object.
544
+ # A classifier can be a `grok` classifier, an XML classifier, or a JSON
545
+ # classifier, asspecified in one of the fields in the `Classifier`
546
+ # object.
546
547
  #
547
548
  # @!attribute [rw] grok_classifier
548
549
  # A `GrokClassifier` object.
@@ -552,11 +553,16 @@ module Aws::Glue
552
553
  # An `XMLClassifier` object.
553
554
  # @return [Types::XMLClassifier]
554
555
  #
556
+ # @!attribute [rw] json_classifier
557
+ # A `JsonClassifier` object.
558
+ # @return [Types::JsonClassifier]
559
+ #
555
560
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Classifier AWS API Documentation
556
561
  #
557
562
  class Classifier < Struct.new(
558
563
  :grok_classifier,
559
- :xml_classifier)
564
+ :xml_classifier,
565
+ :json_classifier)
560
566
  include Aws::Structure
561
567
  end
562
568
 
@@ -1075,6 +1081,10 @@ module Aws::Glue
1075
1081
  # name: "NameString", # required
1076
1082
  # row_tag: "RowTag",
1077
1083
  # },
1084
+ # json_classifier: {
1085
+ # name: "NameString", # required
1086
+ # json_path: "JsonPath", # required
1087
+ # },
1078
1088
  # }
1079
1089
  #
1080
1090
  # @!attribute [rw] grok_classifier
@@ -1085,11 +1095,16 @@ module Aws::Glue
1085
1095
  # An `XMLClassifier` object specifying the classifier to create.
1086
1096
  # @return [Types::CreateXMLClassifierRequest]
1087
1097
  #
1098
+ # @!attribute [rw] json_classifier
1099
+ # A `JsonClassifier` object specifying the classifier to create.
1100
+ # @return [Types::CreateJsonClassifierRequest]
1101
+ #
1088
1102
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateClassifierRequest AWS API Documentation
1089
1103
  #
1090
1104
  class CreateClassifierRequest < Struct.new(
1091
1105
  :grok_classifier,
1092
- :xml_classifier)
1106
+ :xml_classifier,
1107
+ :json_classifier)
1093
1108
  include Aws::Structure
1094
1109
  end
1095
1110
 
@@ -1598,6 +1613,38 @@ module Aws::Glue
1598
1613
  include Aws::Structure
1599
1614
  end
1600
1615
 
1616
+ # Specifies a JSON classifier for `CreateClassifier` to create.
1617
+ #
1618
+ # @note When making an API call, you may pass CreateJsonClassifierRequest
1619
+ # data as a hash:
1620
+ #
1621
+ # {
1622
+ # name: "NameString", # required
1623
+ # json_path: "JsonPath", # required
1624
+ # }
1625
+ #
1626
+ # @!attribute [rw] name
1627
+ # The name of the classifier.
1628
+ # @return [String]
1629
+ #
1630
+ # @!attribute [rw] json_path
1631
+ # A `JsonPath` string defining the JSON data for the classifier to
1632
+ # classify. AWS Glue supports a subset of JsonPath, as described in
1633
+ # [Writing JsonPath Custom Classifiers][1].
1634
+ #
1635
+ #
1636
+ #
1637
+ # [1]: https://docs.aws.amazon.com/glue/latest/dg/custom-classifier.html#custom-classifier-json
1638
+ # @return [String]
1639
+ #
1640
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateJsonClassifierRequest AWS API Documentation
1641
+ #
1642
+ class CreateJsonClassifierRequest < Struct.new(
1643
+ :name,
1644
+ :json_path)
1645
+ include Aws::Structure
1646
+ end
1647
+
1601
1648
  # @note When making an API call, you may pass CreatePartitionRequest
1602
1649
  # data as a hash:
1603
1650
  #
@@ -4461,6 +4508,45 @@ module Aws::Glue
4461
4508
  include Aws::Structure
4462
4509
  end
4463
4510
 
4511
+ # A classifier for `JSON` content.
4512
+ #
4513
+ # @!attribute [rw] name
4514
+ # The name of the classifier.
4515
+ # @return [String]
4516
+ #
4517
+ # @!attribute [rw] creation_time
4518
+ # The time this classifier was registered.
4519
+ # @return [Time]
4520
+ #
4521
+ # @!attribute [rw] last_updated
4522
+ # The time this classifier was last updated.
4523
+ # @return [Time]
4524
+ #
4525
+ # @!attribute [rw] version
4526
+ # The version of this classifier.
4527
+ # @return [Integer]
4528
+ #
4529
+ # @!attribute [rw] json_path
4530
+ # A `JsonPath` string defining the JSON data for the classifier to
4531
+ # classify. AWS Glue supports a subset of JsonPath, as described in
4532
+ # [Writing JsonPath Custom Classifiers][1].
4533
+ #
4534
+ #
4535
+ #
4536
+ # [1]: https://docs.aws.amazon.com/glue/latest/dg/custom-classifier.html#custom-classifier-json
4537
+ # @return [String]
4538
+ #
4539
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/JsonClassifier AWS API Documentation
4540
+ #
4541
+ class JsonClassifier < Struct.new(
4542
+ :name,
4543
+ :creation_time,
4544
+ :last_updated,
4545
+ :version,
4546
+ :json_path)
4547
+ include Aws::Structure
4548
+ end
4549
+
4464
4550
  # Status and error information about the most recent crawl.
4465
4551
  #
4466
4552
  # @!attribute [rw] status
@@ -5877,6 +5963,10 @@ module Aws::Glue
5877
5963
  # classification: "Classification",
5878
5964
  # row_tag: "RowTag",
5879
5965
  # },
5966
+ # json_classifier: {
5967
+ # name: "NameString", # required
5968
+ # json_path: "JsonPath",
5969
+ # },
5880
5970
  # }
5881
5971
  #
5882
5972
  # @!attribute [rw] grok_classifier
@@ -5887,11 +5977,16 @@ module Aws::Glue
5887
5977
  # An `XMLClassifier` object with updated fields.
5888
5978
  # @return [Types::UpdateXMLClassifierRequest]
5889
5979
  #
5980
+ # @!attribute [rw] json_classifier
5981
+ # A `JsonClassifier` object with updated fields.
5982
+ # @return [Types::UpdateJsonClassifierRequest]
5983
+ #
5890
5984
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateClassifierRequest AWS API Documentation
5891
5985
  #
5892
5986
  class UpdateClassifierRequest < Struct.new(
5893
5987
  :grok_classifier,
5894
- :xml_classifier)
5988
+ :xml_classifier,
5989
+ :json_classifier)
5895
5990
  include Aws::Structure
5896
5991
  end
5897
5992
 
@@ -6038,7 +6133,7 @@ module Aws::Glue
6038
6133
  # information separately for each partition. Use the following JSON
6039
6134
  # string to specify that behavior:
6040
6135
  #
6041
- # Example:  `'\{ "Version": 1.0, "CrawlerOutput": \{ "Partitions": \{
6136
+ # Example: `'\{ "Version": 1.0, "CrawlerOutput": \{ "Partitions": \{
6042
6137
  # "AddOrUpdateBehavior": "InheritFromTable" \} \} \}'`
6043
6138
  # @return [String]
6044
6139
  #
@@ -6279,6 +6374,38 @@ module Aws::Glue
6279
6374
  include Aws::Structure
6280
6375
  end
6281
6376
 
6377
+ # Specifies a JSON classifier to be updated.
6378
+ #
6379
+ # @note When making an API call, you may pass UpdateJsonClassifierRequest
6380
+ # data as a hash:
6381
+ #
6382
+ # {
6383
+ # name: "NameString", # required
6384
+ # json_path: "JsonPath",
6385
+ # }
6386
+ #
6387
+ # @!attribute [rw] name
6388
+ # The name of the classifier.
6389
+ # @return [String]
6390
+ #
6391
+ # @!attribute [rw] json_path
6392
+ # A `JsonPath` string defining the JSON data for the classifier to
6393
+ # classify. AWS Glue supports a subset of JsonPath, as described in
6394
+ # [Writing JsonPath Custom Classifiers][1].
6395
+ #
6396
+ #
6397
+ #
6398
+ # [1]: https://docs.aws.amazon.com/glue/latest/dg/custom-classifier.html#custom-classifier-json
6399
+ # @return [String]
6400
+ #
6401
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateJsonClassifierRequest AWS API Documentation
6402
+ #
6403
+ class UpdateJsonClassifierRequest < Struct.new(
6404
+ :name,
6405
+ :json_path)
6406
+ include Aws::Structure
6407
+ end
6408
+
6282
6409
  # @note When making an API call, you may pass UpdatePartitionRequest
6283
6410
  # data as a hash:
6284
6411
  #
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.0
4
+ version: 1.5.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: 2018-01-19 00:00:00.000000000 Z
11
+ date: 2018-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core