aws-sdk-glue 1.121.0 → 1.122.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c93ce0b7917d2bcee4ddf2ab91a94d52cb8c5d960c3c83c7c9d78cd238952eba
4
- data.tar.gz: d7a0ab3d4edef1183cbe34690cfd0c5bb5b1849fe68cc134b976ccc49d5d6893
3
+ metadata.gz: fb305c9830a39c57981686a408b942c82b99c451cea223637adbad960a492672
4
+ data.tar.gz: 23b067f243c337ca09187ac6767639cb79e53a4040e4ba6a3a81d1ac73e277c0
5
5
  SHA512:
6
- metadata.gz: 630c3de4821ef1be108426c8d27254945bc75a204661abe97163271f8f02038077b62bbe35956e500e34ef9f6fbeaa4fbc283941459671895524b3a496393687
7
- data.tar.gz: a2fdf485dae077bf6d899d78910de7f828c99f3f2f59ebe1668e0214de2036f3f1b8bf4f6436d6b4e29bd70487d5a222f8a38b688bc64978a1b6407370d29276
6
+ metadata.gz: 7a7bbc04fd0afa6c8e2830033af8d37d0fc8b6c3cfda0e46eec0c525cc6c3a27fe1268afbb4e5070e3f89364294915fe306bf8e53ea16e5f1a4594748933a5c2
7
+ data.tar.gz: eaece7264af1426a1592c5df972c2be670173ae2b3c6d7569213711e8073f0ac127d07b309eff9d2d2a3186337cf8bc68158825cc93eb0783a3a637ca61ce000
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.122.0 (2022-10-27)
5
+ ------------------
6
+
7
+ * Feature - Added support for custom datatypes when using custom csv classifier.
8
+
4
9
  1.121.0 (2022-10-25)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.121.0
1
+ 1.122.0
@@ -2188,6 +2188,8 @@ module Aws::Glue
2188
2188
  # header: ["NameString"],
2189
2189
  # disable_value_trimming: false,
2190
2190
  # allow_single_column: false,
2191
+ # custom_datatype_configured: false,
2192
+ # custom_datatypes: ["NameString"],
2191
2193
  # },
2192
2194
  # })
2193
2195
  #
@@ -5779,6 +5781,9 @@ module Aws::Glue
5779
5781
  # resp.classifier.csv_classifier.header[0] #=> String
5780
5782
  # resp.classifier.csv_classifier.disable_value_trimming #=> Boolean
5781
5783
  # resp.classifier.csv_classifier.allow_single_column #=> Boolean
5784
+ # resp.classifier.csv_classifier.custom_datatype_configured #=> Boolean
5785
+ # resp.classifier.csv_classifier.custom_datatypes #=> Array
5786
+ # resp.classifier.csv_classifier.custom_datatypes[0] #=> String
5782
5787
  #
5783
5788
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetClassifier AWS API Documentation
5784
5789
  #
@@ -5843,6 +5848,9 @@ module Aws::Glue
5843
5848
  # resp.classifiers[0].csv_classifier.header[0] #=> String
5844
5849
  # resp.classifiers[0].csv_classifier.disable_value_trimming #=> Boolean
5845
5850
  # resp.classifiers[0].csv_classifier.allow_single_column #=> Boolean
5851
+ # resp.classifiers[0].csv_classifier.custom_datatype_configured #=> Boolean
5852
+ # resp.classifiers[0].csv_classifier.custom_datatypes #=> Array
5853
+ # resp.classifiers[0].csv_classifier.custom_datatypes[0] #=> String
5846
5854
  # resp.next_token #=> String
5847
5855
  #
5848
5856
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetClassifiers AWS API Documentation
@@ -13175,6 +13183,8 @@ module Aws::Glue
13175
13183
  # header: ["NameString"],
13176
13184
  # disable_value_trimming: false,
13177
13185
  # allow_single_column: false,
13186
+ # custom_datatype_configured: false,
13187
+ # custom_datatypes: ["NameString"],
13178
13188
  # },
13179
13189
  # })
13180
13190
  #
@@ -15351,7 +15361,7 @@ module Aws::Glue
15351
15361
  params: params,
15352
15362
  config: config)
15353
15363
  context[:gem_name] = 'aws-sdk-glue'
15354
- context[:gem_version] = '1.121.0'
15364
+ context[:gem_version] = '1.122.0'
15355
15365
  Seahorse::Client::Request.new(handlers, context)
15356
15366
  end
15357
15367
 
@@ -255,6 +255,7 @@ module Aws::Glue
255
255
  CsvHeaderOption = Shapes::StringShape.new(name: 'CsvHeaderOption')
256
256
  CsvQuoteSymbol = Shapes::StringShape.new(name: 'CsvQuoteSymbol')
257
257
  CustomCode = Shapes::StructureShape.new(name: 'CustomCode')
258
+ CustomDatatypes = Shapes::ListShape.new(name: 'CustomDatatypes')
258
259
  CustomEntityType = Shapes::StructureShape.new(name: 'CustomEntityType')
259
260
  CustomEntityTypeNames = Shapes::ListShape.new(name: 'CustomEntityTypeNames')
260
261
  CustomEntityTypes = Shapes::ListShape.new(name: 'CustomEntityTypes')
@@ -1729,6 +1730,8 @@ module Aws::Glue
1729
1730
  CreateCsvClassifierRequest.add_member(:header, Shapes::ShapeRef.new(shape: CsvHeader, location_name: "Header"))
1730
1731
  CreateCsvClassifierRequest.add_member(:disable_value_trimming, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "DisableValueTrimming"))
1731
1732
  CreateCsvClassifierRequest.add_member(:allow_single_column, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "AllowSingleColumn"))
1733
+ CreateCsvClassifierRequest.add_member(:custom_datatype_configured, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "CustomDatatypeConfigured"))
1734
+ CreateCsvClassifierRequest.add_member(:custom_datatypes, Shapes::ShapeRef.new(shape: CustomDatatypes, location_name: "CustomDatatypes"))
1732
1735
  CreateCsvClassifierRequest.struct_class = Types::CreateCsvClassifierRequest
1733
1736
 
1734
1737
  CreateCustomEntityTypeRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
@@ -1984,6 +1987,8 @@ module Aws::Glue
1984
1987
  CsvClassifier.add_member(:header, Shapes::ShapeRef.new(shape: CsvHeader, location_name: "Header"))
1985
1988
  CsvClassifier.add_member(:disable_value_trimming, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "DisableValueTrimming"))
1986
1989
  CsvClassifier.add_member(:allow_single_column, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "AllowSingleColumn"))
1990
+ CsvClassifier.add_member(:custom_datatype_configured, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "CustomDatatypeConfigured"))
1991
+ CsvClassifier.add_member(:custom_datatypes, Shapes::ShapeRef.new(shape: CustomDatatypes, location_name: "CustomDatatypes"))
1987
1992
  CsvClassifier.struct_class = Types::CsvClassifier
1988
1993
 
1989
1994
  CsvHeader.member = Shapes::ShapeRef.new(shape: NameString)
@@ -1995,6 +2000,8 @@ module Aws::Glue
1995
2000
  CustomCode.add_member(:output_schemas, Shapes::ShapeRef.new(shape: GlueSchemas, location_name: "OutputSchemas"))
1996
2001
  CustomCode.struct_class = Types::CustomCode
1997
2002
 
2003
+ CustomDatatypes.member = Shapes::ShapeRef.new(shape: NameString)
2004
+
1998
2005
  CustomEntityType.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
1999
2006
  CustomEntityType.add_member(:regex_string, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "RegexString"))
2000
2007
  CustomEntityType.add_member(:context_words, Shapes::ShapeRef.new(shape: ContextWords, location_name: "ContextWords"))
@@ -4603,6 +4610,8 @@ module Aws::Glue
4603
4610
  UpdateCsvClassifierRequest.add_member(:header, Shapes::ShapeRef.new(shape: CsvHeader, location_name: "Header"))
4604
4611
  UpdateCsvClassifierRequest.add_member(:disable_value_trimming, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "DisableValueTrimming"))
4605
4612
  UpdateCsvClassifierRequest.add_member(:allow_single_column, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "AllowSingleColumn"))
4613
+ UpdateCsvClassifierRequest.add_member(:custom_datatype_configured, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "CustomDatatypeConfigured"))
4614
+ UpdateCsvClassifierRequest.add_member(:custom_datatypes, Shapes::ShapeRef.new(shape: CustomDatatypes, location_name: "CustomDatatypes"))
4606
4615
  UpdateCsvClassifierRequest.struct_class = Types::UpdateCsvClassifierRequest
4607
4616
 
4608
4617
  UpdateDatabaseRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
@@ -4604,6 +4604,8 @@ module Aws::Glue
4604
4604
  # header: ["NameString"],
4605
4605
  # disable_value_trimming: false,
4606
4606
  # allow_single_column: false,
4607
+ # custom_datatype_configured: false,
4608
+ # custom_datatypes: ["NameString"],
4607
4609
  # },
4608
4610
  # }
4609
4611
  #
@@ -4895,6 +4897,8 @@ module Aws::Glue
4895
4897
  # header: ["NameString"],
4896
4898
  # disable_value_trimming: false,
4897
4899
  # allow_single_column: false,
4900
+ # custom_datatype_configured: false,
4901
+ # custom_datatypes: ["NameString"],
4898
4902
  # }
4899
4903
  #
4900
4904
  # @!attribute [rw] name
@@ -4928,6 +4932,14 @@ module Aws::Glue
4928
4932
  # Enables the processing of files that contain only one column.
4929
4933
  # @return [Boolean]
4930
4934
  #
4935
+ # @!attribute [rw] custom_datatype_configured
4936
+ # Enables the configuration of custom datatypes.
4937
+ # @return [Boolean]
4938
+ #
4939
+ # @!attribute [rw] custom_datatypes
4940
+ # Creates a list of supported custom datatypes.
4941
+ # @return [Array<String>]
4942
+ #
4931
4943
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateCsvClassifierRequest AWS API Documentation
4932
4944
  #
4933
4945
  class CreateCsvClassifierRequest < Struct.new(
@@ -4937,7 +4949,9 @@ module Aws::Glue
4937
4949
  :contains_header,
4938
4950
  :header,
4939
4951
  :disable_value_trimming,
4940
- :allow_single_column)
4952
+ :allow_single_column,
4953
+ :custom_datatype_configured,
4954
+ :custom_datatypes)
4941
4955
  SENSITIVE = []
4942
4956
  include Aws::Structure
4943
4957
  end
@@ -7768,6 +7782,16 @@ module Aws::Glue
7768
7782
  # Enables the processing of files that contain only one column.
7769
7783
  # @return [Boolean]
7770
7784
  #
7785
+ # @!attribute [rw] custom_datatype_configured
7786
+ # Enables the custom datatype to be configured.
7787
+ # @return [Boolean]
7788
+ #
7789
+ # @!attribute [rw] custom_datatypes
7790
+ # A list of custom datatypes including "BINARY", "BOOLEAN",
7791
+ # "DATE", "DECIMAL", "DOUBLE", "FLOAT", "INT", "LONG",
7792
+ # "SHORT", "STRING", "TIMESTAMP".
7793
+ # @return [Array<String>]
7794
+ #
7771
7795
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CsvClassifier AWS API Documentation
7772
7796
  #
7773
7797
  class CsvClassifier < Struct.new(
@@ -7780,7 +7804,9 @@ module Aws::Glue
7780
7804
  :contains_header,
7781
7805
  :header,
7782
7806
  :disable_value_trimming,
7783
- :allow_single_column)
7807
+ :allow_single_column,
7808
+ :custom_datatype_configured,
7809
+ :custom_datatypes)
7784
7810
  SENSITIVE = []
7785
7811
  include Aws::Structure
7786
7812
  end
@@ -24098,6 +24124,8 @@ module Aws::Glue
24098
24124
  # header: ["NameString"],
24099
24125
  # disable_value_trimming: false,
24100
24126
  # allow_single_column: false,
24127
+ # custom_datatype_configured: false,
24128
+ # custom_datatypes: ["NameString"],
24101
24129
  # },
24102
24130
  # }
24103
24131
  #
@@ -24627,6 +24655,8 @@ module Aws::Glue
24627
24655
  # header: ["NameString"],
24628
24656
  # disable_value_trimming: false,
24629
24657
  # allow_single_column: false,
24658
+ # custom_datatype_configured: false,
24659
+ # custom_datatypes: ["NameString"],
24630
24660
  # }
24631
24661
  #
24632
24662
  # @!attribute [rw] name
@@ -24660,6 +24690,14 @@ module Aws::Glue
24660
24690
  # Enables the processing of files that contain only one column.
24661
24691
  # @return [Boolean]
24662
24692
  #
24693
+ # @!attribute [rw] custom_datatype_configured
24694
+ # Specifies the configuration of custom datatypes.
24695
+ # @return [Boolean]
24696
+ #
24697
+ # @!attribute [rw] custom_datatypes
24698
+ # Specifies a list of supported custom datatypes.
24699
+ # @return [Array<String>]
24700
+ #
24663
24701
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateCsvClassifierRequest AWS API Documentation
24664
24702
  #
24665
24703
  class UpdateCsvClassifierRequest < Struct.new(
@@ -24669,7 +24707,9 @@ module Aws::Glue
24669
24707
  :contains_header,
24670
24708
  :header,
24671
24709
  :disable_value_trimming,
24672
- :allow_single_column)
24710
+ :allow_single_column,
24711
+ :custom_datatype_configured,
24712
+ :custom_datatypes)
24673
24713
  SENSITIVE = []
24674
24714
  include Aws::Structure
24675
24715
  end
data/lib/aws-sdk-glue.rb CHANGED
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-glue/customizations'
52
52
  # @!group service
53
53
  module Aws::Glue
54
54
 
55
- GEM_VERSION = '1.121.0'
55
+ GEM_VERSION = '1.122.0'
56
56
 
57
57
  end
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.121.0
4
+ version: 1.122.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: 2022-10-25 00:00:00.000000000 Z
11
+ date: 2022-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core