aws-sdk-glue 1.70.0 → 1.71.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: ee6a8093df9ce28a27abbdb7e370e2b5c59463c9591fbca4d71e82b8d43e7310
4
- data.tar.gz: eb495a8d7f08304a178fdf3c31736b9ffba4684780b36c0517e52763cb8c20e6
3
+ metadata.gz: 228f456467748f052f796159a301f15e14277efdf2af0ec8363ddbfdb583e9ac
4
+ data.tar.gz: 3a2853a2806a6b08ca4862c4356bb039d8000e5a0efe0e57cfbc1739090d3c59
5
5
  SHA512:
6
- metadata.gz: 46573580ed511c74fe4b239c37e054ca53bd620a300ae26297d0808bc84ff6d2cbeefc236ca74ac83b58af1e33cfae28662e0b7068332309eb367af367dd2d8c
7
- data.tar.gz: 6016e73d5a845daa7963db0b80d569629fe2b0a819fe35e6d0489015601648ee25f12a060ef0182d880d66f9d80ae71c13b761db0d44da20eea6a6b6d45964b1
6
+ metadata.gz: f6b81e194bb02c7a95a67ec1cb00a42644ef57320b3d9dd8be332a26178208be34e48d9b21d524277b636bb4b5f4a54c2285a669d1bc77226b0cd90dcf8cffd5
7
+ data.tar.gz: 9e74e91c4ff31203cae8174a59c6e9e7d82889b563c75efd6174232ee59842aee747d4a2202f4f2eb19c0d473cc53636919a3929569d345c412d869623c146a5
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-glue/customizations'
48
48
  # @!group service
49
49
  module Aws::Glue
50
50
 
51
- GEM_VERSION = '1.70.0'
51
+ GEM_VERSION = '1.71.0'
52
52
 
53
53
  end
@@ -1204,6 +1204,108 @@ module Aws::Glue
1204
1204
  req.send_request(options)
1205
1205
  end
1206
1206
 
1207
+ # Updates one or more partitions in a batch operation.
1208
+ #
1209
+ # @option params [String] :catalog_id
1210
+ # The ID of the catalog in which the partition is to be updated.
1211
+ # Currently, this should be the AWS account ID.
1212
+ #
1213
+ # @option params [required, String] :database_name
1214
+ # The name of the metadata database in which the partition is to be
1215
+ # updated.
1216
+ #
1217
+ # @option params [required, String] :table_name
1218
+ # The name of the metadata table in which the partition is to be
1219
+ # updated.
1220
+ #
1221
+ # @option params [required, Array<Types::BatchUpdatePartitionRequestEntry>] :entries
1222
+ # A list of up to 100 `BatchUpdatePartitionRequestEntry` objects to
1223
+ # update.
1224
+ #
1225
+ # @return [Types::BatchUpdatePartitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1226
+ #
1227
+ # * {Types::BatchUpdatePartitionResponse#errors #errors} => Array&lt;Types::BatchUpdatePartitionFailureEntry&gt;
1228
+ #
1229
+ # @example Request syntax with placeholder values
1230
+ #
1231
+ # resp = client.batch_update_partition({
1232
+ # catalog_id: "CatalogIdString",
1233
+ # database_name: "NameString", # required
1234
+ # table_name: "NameString", # required
1235
+ # entries: [ # required
1236
+ # {
1237
+ # partition_value_list: ["ValueString"], # required
1238
+ # partition_input: { # required
1239
+ # values: ["ValueString"],
1240
+ # last_access_time: Time.now,
1241
+ # storage_descriptor: {
1242
+ # columns: [
1243
+ # {
1244
+ # name: "NameString", # required
1245
+ # type: "ColumnTypeString",
1246
+ # comment: "CommentString",
1247
+ # parameters: {
1248
+ # "KeyString" => "ParametersMapValue",
1249
+ # },
1250
+ # },
1251
+ # ],
1252
+ # location: "LocationString",
1253
+ # input_format: "FormatString",
1254
+ # output_format: "FormatString",
1255
+ # compressed: false,
1256
+ # number_of_buckets: 1,
1257
+ # serde_info: {
1258
+ # name: "NameString",
1259
+ # serialization_library: "NameString",
1260
+ # parameters: {
1261
+ # "KeyString" => "ParametersMapValue",
1262
+ # },
1263
+ # },
1264
+ # bucket_columns: ["NameString"],
1265
+ # sort_columns: [
1266
+ # {
1267
+ # column: "NameString", # required
1268
+ # sort_order: 1, # required
1269
+ # },
1270
+ # ],
1271
+ # parameters: {
1272
+ # "KeyString" => "ParametersMapValue",
1273
+ # },
1274
+ # skewed_info: {
1275
+ # skewed_column_names: ["NameString"],
1276
+ # skewed_column_values: ["ColumnValuesString"],
1277
+ # skewed_column_value_location_maps: {
1278
+ # "ColumnValuesString" => "ColumnValuesString",
1279
+ # },
1280
+ # },
1281
+ # stored_as_sub_directories: false,
1282
+ # },
1283
+ # parameters: {
1284
+ # "KeyString" => "ParametersMapValue",
1285
+ # },
1286
+ # last_analyzed_time: Time.now,
1287
+ # },
1288
+ # },
1289
+ # ],
1290
+ # })
1291
+ #
1292
+ # @example Response structure
1293
+ #
1294
+ # resp.errors #=> Array
1295
+ # resp.errors[0].partition_value_list #=> Array
1296
+ # resp.errors[0].partition_value_list[0] #=> String
1297
+ # resp.errors[0].error_detail.error_code #=> String
1298
+ # resp.errors[0].error_detail.error_message #=> String
1299
+ #
1300
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchUpdatePartition AWS API Documentation
1301
+ #
1302
+ # @overload batch_update_partition(params = {})
1303
+ # @param [Hash] params ({})
1304
+ def batch_update_partition(params = {}, options = {})
1305
+ req = build_request(:batch_update_partition, params)
1306
+ req.send_request(options)
1307
+ end
1308
+
1207
1309
  # Cancels (stops) a task run. Machine learning task runs are
1208
1310
  # asynchronous tasks that AWS Glue runs on your behalf as part of
1209
1311
  # various machine learning workflows. You can cancel a machine learning
@@ -8988,7 +9090,7 @@ module Aws::Glue
8988
9090
  params: params,
8989
9091
  config: config)
8990
9092
  context[:gem_name] = 'aws-sdk-glue'
8991
- context[:gem_version] = '1.70.0'
9093
+ context[:gem_version] = '1.71.0'
8992
9094
  Seahorse::Client::Request.new(handlers, context)
8993
9095
  end
8994
9096
 
@@ -51,6 +51,12 @@ module Aws::Glue
51
51
  BatchStopJobRunResponse = Shapes::StructureShape.new(name: 'BatchStopJobRunResponse')
52
52
  BatchStopJobRunSuccessfulSubmission = Shapes::StructureShape.new(name: 'BatchStopJobRunSuccessfulSubmission')
53
53
  BatchStopJobRunSuccessfulSubmissionList = Shapes::ListShape.new(name: 'BatchStopJobRunSuccessfulSubmissionList')
54
+ BatchUpdatePartitionFailureEntry = Shapes::StructureShape.new(name: 'BatchUpdatePartitionFailureEntry')
55
+ BatchUpdatePartitionFailureList = Shapes::ListShape.new(name: 'BatchUpdatePartitionFailureList')
56
+ BatchUpdatePartitionRequest = Shapes::StructureShape.new(name: 'BatchUpdatePartitionRequest')
57
+ BatchUpdatePartitionRequestEntry = Shapes::StructureShape.new(name: 'BatchUpdatePartitionRequestEntry')
58
+ BatchUpdatePartitionRequestEntryList = Shapes::ListShape.new(name: 'BatchUpdatePartitionRequestEntryList')
59
+ BatchUpdatePartitionResponse = Shapes::StructureShape.new(name: 'BatchUpdatePartitionResponse')
54
60
  BinaryColumnStatisticsData = Shapes::StructureShape.new(name: 'BinaryColumnStatisticsData')
55
61
  Blob = Shapes::BlobShape.new(name: 'Blob')
56
62
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
@@ -807,6 +813,27 @@ module Aws::Glue
807
813
 
808
814
  BatchStopJobRunSuccessfulSubmissionList.member = Shapes::ShapeRef.new(shape: BatchStopJobRunSuccessfulSubmission)
809
815
 
816
+ BatchUpdatePartitionFailureEntry.add_member(:partition_value_list, Shapes::ShapeRef.new(shape: BoundedPartitionValueList, location_name: "PartitionValueList"))
817
+ BatchUpdatePartitionFailureEntry.add_member(:error_detail, Shapes::ShapeRef.new(shape: ErrorDetail, location_name: "ErrorDetail"))
818
+ BatchUpdatePartitionFailureEntry.struct_class = Types::BatchUpdatePartitionFailureEntry
819
+
820
+ BatchUpdatePartitionFailureList.member = Shapes::ShapeRef.new(shape: BatchUpdatePartitionFailureEntry)
821
+
822
+ BatchUpdatePartitionRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
823
+ BatchUpdatePartitionRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
824
+ BatchUpdatePartitionRequest.add_member(:table_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "TableName"))
825
+ BatchUpdatePartitionRequest.add_member(:entries, Shapes::ShapeRef.new(shape: BatchUpdatePartitionRequestEntryList, required: true, location_name: "Entries"))
826
+ BatchUpdatePartitionRequest.struct_class = Types::BatchUpdatePartitionRequest
827
+
828
+ BatchUpdatePartitionRequestEntry.add_member(:partition_value_list, Shapes::ShapeRef.new(shape: BoundedPartitionValueList, required: true, location_name: "PartitionValueList"))
829
+ BatchUpdatePartitionRequestEntry.add_member(:partition_input, Shapes::ShapeRef.new(shape: PartitionInput, required: true, location_name: "PartitionInput"))
830
+ BatchUpdatePartitionRequestEntry.struct_class = Types::BatchUpdatePartitionRequestEntry
831
+
832
+ BatchUpdatePartitionRequestEntryList.member = Shapes::ShapeRef.new(shape: BatchUpdatePartitionRequestEntry)
833
+
834
+ BatchUpdatePartitionResponse.add_member(:errors, Shapes::ShapeRef.new(shape: BatchUpdatePartitionFailureList, location_name: "Errors"))
835
+ BatchUpdatePartitionResponse.struct_class = Types::BatchUpdatePartitionResponse
836
+
810
837
  BinaryColumnStatisticsData.add_member(:maximum_length, Shapes::ShapeRef.new(shape: NonNegativeLong, required: true, location_name: "MaximumLength"))
811
838
  BinaryColumnStatisticsData.add_member(:average_length, Shapes::ShapeRef.new(shape: NonNegativeDouble, required: true, location_name: "AverageLength"))
812
839
  BinaryColumnStatisticsData.add_member(:number_of_nulls, Shapes::ShapeRef.new(shape: NonNegativeLong, required: true, location_name: "NumberOfNulls"))
@@ -3136,6 +3163,19 @@ module Aws::Glue
3136
3163
  o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
3137
3164
  end)
3138
3165
 
3166
+ api.add_operation(:batch_update_partition, Seahorse::Model::Operation.new.tap do |o|
3167
+ o.name = "BatchUpdatePartition"
3168
+ o.http_method = "POST"
3169
+ o.http_request_uri = "/"
3170
+ o.input = Shapes::ShapeRef.new(shape: BatchUpdatePartitionRequest)
3171
+ o.output = Shapes::ShapeRef.new(shape: BatchUpdatePartitionResponse)
3172
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
3173
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
3174
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
3175
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3176
+ o.errors << Shapes::ShapeRef.new(shape: GlueEncryptionException)
3177
+ end)
3178
+
3139
3179
  api.add_operation(:cancel_ml_task_run, Seahorse::Model::Operation.new.tap do |o|
3140
3180
  o.name = "CancelMLTaskRun"
3141
3181
  o.http_method = "POST"
@@ -764,6 +764,210 @@ module Aws::Glue
764
764
  include Aws::Structure
765
765
  end
766
766
 
767
+ # Contains information about a batch update partition error.
768
+ #
769
+ # @!attribute [rw] partition_value_list
770
+ # A list of values defining the partitions.
771
+ # @return [Array<String>]
772
+ #
773
+ # @!attribute [rw] error_detail
774
+ # The details about the batch update partition error.
775
+ # @return [Types::ErrorDetail]
776
+ #
777
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchUpdatePartitionFailureEntry AWS API Documentation
778
+ #
779
+ class BatchUpdatePartitionFailureEntry < Struct.new(
780
+ :partition_value_list,
781
+ :error_detail)
782
+ SENSITIVE = []
783
+ include Aws::Structure
784
+ end
785
+
786
+ # @note When making an API call, you may pass BatchUpdatePartitionRequest
787
+ # data as a hash:
788
+ #
789
+ # {
790
+ # catalog_id: "CatalogIdString",
791
+ # database_name: "NameString", # required
792
+ # table_name: "NameString", # required
793
+ # entries: [ # required
794
+ # {
795
+ # partition_value_list: ["ValueString"], # required
796
+ # partition_input: { # required
797
+ # values: ["ValueString"],
798
+ # last_access_time: Time.now,
799
+ # storage_descriptor: {
800
+ # columns: [
801
+ # {
802
+ # name: "NameString", # required
803
+ # type: "ColumnTypeString",
804
+ # comment: "CommentString",
805
+ # parameters: {
806
+ # "KeyString" => "ParametersMapValue",
807
+ # },
808
+ # },
809
+ # ],
810
+ # location: "LocationString",
811
+ # input_format: "FormatString",
812
+ # output_format: "FormatString",
813
+ # compressed: false,
814
+ # number_of_buckets: 1,
815
+ # serde_info: {
816
+ # name: "NameString",
817
+ # serialization_library: "NameString",
818
+ # parameters: {
819
+ # "KeyString" => "ParametersMapValue",
820
+ # },
821
+ # },
822
+ # bucket_columns: ["NameString"],
823
+ # sort_columns: [
824
+ # {
825
+ # column: "NameString", # required
826
+ # sort_order: 1, # required
827
+ # },
828
+ # ],
829
+ # parameters: {
830
+ # "KeyString" => "ParametersMapValue",
831
+ # },
832
+ # skewed_info: {
833
+ # skewed_column_names: ["NameString"],
834
+ # skewed_column_values: ["ColumnValuesString"],
835
+ # skewed_column_value_location_maps: {
836
+ # "ColumnValuesString" => "ColumnValuesString",
837
+ # },
838
+ # },
839
+ # stored_as_sub_directories: false,
840
+ # },
841
+ # parameters: {
842
+ # "KeyString" => "ParametersMapValue",
843
+ # },
844
+ # last_analyzed_time: Time.now,
845
+ # },
846
+ # },
847
+ # ],
848
+ # }
849
+ #
850
+ # @!attribute [rw] catalog_id
851
+ # The ID of the catalog in which the partition is to be updated.
852
+ # Currently, this should be the AWS account ID.
853
+ # @return [String]
854
+ #
855
+ # @!attribute [rw] database_name
856
+ # The name of the metadata database in which the partition is to be
857
+ # updated.
858
+ # @return [String]
859
+ #
860
+ # @!attribute [rw] table_name
861
+ # The name of the metadata table in which the partition is to be
862
+ # updated.
863
+ # @return [String]
864
+ #
865
+ # @!attribute [rw] entries
866
+ # A list of up to 100 `BatchUpdatePartitionRequestEntry` objects to
867
+ # update.
868
+ # @return [Array<Types::BatchUpdatePartitionRequestEntry>]
869
+ #
870
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchUpdatePartitionRequest AWS API Documentation
871
+ #
872
+ class BatchUpdatePartitionRequest < Struct.new(
873
+ :catalog_id,
874
+ :database_name,
875
+ :table_name,
876
+ :entries)
877
+ SENSITIVE = []
878
+ include Aws::Structure
879
+ end
880
+
881
+ # A structure that contains the values and structure used to update a
882
+ # partition.
883
+ #
884
+ # @note When making an API call, you may pass BatchUpdatePartitionRequestEntry
885
+ # data as a hash:
886
+ #
887
+ # {
888
+ # partition_value_list: ["ValueString"], # required
889
+ # partition_input: { # required
890
+ # values: ["ValueString"],
891
+ # last_access_time: Time.now,
892
+ # storage_descriptor: {
893
+ # columns: [
894
+ # {
895
+ # name: "NameString", # required
896
+ # type: "ColumnTypeString",
897
+ # comment: "CommentString",
898
+ # parameters: {
899
+ # "KeyString" => "ParametersMapValue",
900
+ # },
901
+ # },
902
+ # ],
903
+ # location: "LocationString",
904
+ # input_format: "FormatString",
905
+ # output_format: "FormatString",
906
+ # compressed: false,
907
+ # number_of_buckets: 1,
908
+ # serde_info: {
909
+ # name: "NameString",
910
+ # serialization_library: "NameString",
911
+ # parameters: {
912
+ # "KeyString" => "ParametersMapValue",
913
+ # },
914
+ # },
915
+ # bucket_columns: ["NameString"],
916
+ # sort_columns: [
917
+ # {
918
+ # column: "NameString", # required
919
+ # sort_order: 1, # required
920
+ # },
921
+ # ],
922
+ # parameters: {
923
+ # "KeyString" => "ParametersMapValue",
924
+ # },
925
+ # skewed_info: {
926
+ # skewed_column_names: ["NameString"],
927
+ # skewed_column_values: ["ColumnValuesString"],
928
+ # skewed_column_value_location_maps: {
929
+ # "ColumnValuesString" => "ColumnValuesString",
930
+ # },
931
+ # },
932
+ # stored_as_sub_directories: false,
933
+ # },
934
+ # parameters: {
935
+ # "KeyString" => "ParametersMapValue",
936
+ # },
937
+ # last_analyzed_time: Time.now,
938
+ # },
939
+ # }
940
+ #
941
+ # @!attribute [rw] partition_value_list
942
+ # A list of values defining the partitions.
943
+ # @return [Array<String>]
944
+ #
945
+ # @!attribute [rw] partition_input
946
+ # The structure used to update a partition.
947
+ # @return [Types::PartitionInput]
948
+ #
949
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchUpdatePartitionRequestEntry AWS API Documentation
950
+ #
951
+ class BatchUpdatePartitionRequestEntry < Struct.new(
952
+ :partition_value_list,
953
+ :partition_input)
954
+ SENSITIVE = []
955
+ include Aws::Structure
956
+ end
957
+
958
+ # @!attribute [rw] errors
959
+ # The errors encountered when trying to update the requested
960
+ # partitions. A list of `BatchUpdatePartitionFailureEntry` objects.
961
+ # @return [Array<Types::BatchUpdatePartitionFailureEntry>]
962
+ #
963
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchUpdatePartitionResponse AWS API Documentation
964
+ #
965
+ class BatchUpdatePartitionResponse < Struct.new(
966
+ :errors)
967
+ SENSITIVE = []
968
+ include Aws::Structure
969
+ end
970
+
767
971
  # Defines a binary column statistics data.
768
972
  #
769
973
  # @note When making an API call, you may pass BinaryColumnStatisticsData
@@ -1635,6 +1839,17 @@ module Aws::Glue
1635
1839
  # port pairs that are the addresses of the Apache Kafka brokers in a
1636
1840
  # Kafka cluster to which a Kafka client will connect to and
1637
1841
  # bootstrap itself.
1842
+ #
1843
+ # * `KAFKA_SSL_ENABLED` - Whether to enable or disable SSL on an
1844
+ # Apache Kafka connection. Default value is "true".
1845
+ #
1846
+ # * `KAFKA_CUSTOM_CERT` - The Amazon S3 URL for the private CA cert
1847
+ # file (.pem format). The default is an empty string.
1848
+ #
1849
+ # * `KAFKA_SKIP_CUSTOM_CERT_VALIDATION` - Whether to skip the
1850
+ # validation of the CA cert file or not. AWS Glue validates for
1851
+ # three algorithms: SHA256withRSA, SHA384withRSA and SHA512withRSA.
1852
+ # Default value is "false".
1638
1853
  # @return [Hash<String,String>]
1639
1854
  #
1640
1855
  # @!attribute [rw] physical_connection_requirements
@@ -1712,6 +1927,9 @@ module Aws::Glue
1712
1927
  # * `MONGODB` - Designates a connection to a MongoDB document
1713
1928
  # database.
1714
1929
  #
1930
+ # * `NETWORK` - Designates a network connection to a data source
1931
+ # within an Amazon Virtual Private Cloud environment (Amazon VPC).
1932
+ #
1715
1933
  # SFTP is not supported.
1716
1934
  # @return [String]
1717
1935
  #
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.70.0
4
+ version: 1.71.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-09-15 00:00:00.000000000 Z
11
+ date: 2020-09-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core