aws-sdk-glue 1.60.0 → 1.61.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.
@@ -51,7 +51,10 @@ 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
+ BinaryColumnStatisticsData = Shapes::StructureShape.new(name: 'BinaryColumnStatisticsData')
55
+ Blob = Shapes::BlobShape.new(name: 'Blob')
54
56
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
57
+ BooleanColumnStatisticsData = Shapes::StructureShape.new(name: 'BooleanColumnStatisticsData')
55
58
  BooleanNullable = Shapes::BooleanShape.new(name: 'BooleanNullable')
56
59
  BooleanValue = Shapes::BooleanShape.new(name: 'BooleanValue')
57
60
  BoundedPartitionValueList = Shapes::ListShape.new(name: 'BoundedPartitionValueList')
@@ -80,8 +83,16 @@ module Aws::Glue
80
83
  CodeGenNodeArgs = Shapes::ListShape.new(name: 'CodeGenNodeArgs')
81
84
  CodeGenNodeType = Shapes::StringShape.new(name: 'CodeGenNodeType')
82
85
  Column = Shapes::StructureShape.new(name: 'Column')
86
+ ColumnError = Shapes::StructureShape.new(name: 'ColumnError')
87
+ ColumnErrors = Shapes::ListShape.new(name: 'ColumnErrors')
83
88
  ColumnList = Shapes::ListShape.new(name: 'ColumnList')
84
89
  ColumnNameString = Shapes::StringShape.new(name: 'ColumnNameString')
90
+ ColumnStatistics = Shapes::StructureShape.new(name: 'ColumnStatistics')
91
+ ColumnStatisticsData = Shapes::StructureShape.new(name: 'ColumnStatisticsData')
92
+ ColumnStatisticsError = Shapes::StructureShape.new(name: 'ColumnStatisticsError')
93
+ ColumnStatisticsErrors = Shapes::ListShape.new(name: 'ColumnStatisticsErrors')
94
+ ColumnStatisticsList = Shapes::ListShape.new(name: 'ColumnStatisticsList')
95
+ ColumnStatisticsType = Shapes::StringShape.new(name: 'ColumnStatisticsType')
85
96
  ColumnTypeString = Shapes::StringShape.new(name: 'ColumnTypeString')
86
97
  ColumnValueStringList = Shapes::ListShape.new(name: 'ColumnValueStringList')
87
98
  ColumnValuesString = Shapes::StringShape.new(name: 'ColumnValuesString')
@@ -166,9 +177,16 @@ module Aws::Glue
166
177
  DatabaseInput = Shapes::StructureShape.new(name: 'DatabaseInput')
167
178
  DatabaseList = Shapes::ListShape.new(name: 'DatabaseList')
168
179
  DatabaseName = Shapes::StringShape.new(name: 'DatabaseName')
180
+ DateColumnStatisticsData = Shapes::StructureShape.new(name: 'DateColumnStatisticsData')
181
+ DecimalColumnStatisticsData = Shapes::StructureShape.new(name: 'DecimalColumnStatisticsData')
182
+ DecimalNumber = Shapes::StructureShape.new(name: 'DecimalNumber')
169
183
  DeleteBehavior = Shapes::StringShape.new(name: 'DeleteBehavior')
170
184
  DeleteClassifierRequest = Shapes::StructureShape.new(name: 'DeleteClassifierRequest')
171
185
  DeleteClassifierResponse = Shapes::StructureShape.new(name: 'DeleteClassifierResponse')
186
+ DeleteColumnStatisticsForPartitionRequest = Shapes::StructureShape.new(name: 'DeleteColumnStatisticsForPartitionRequest')
187
+ DeleteColumnStatisticsForPartitionResponse = Shapes::StructureShape.new(name: 'DeleteColumnStatisticsForPartitionResponse')
188
+ DeleteColumnStatisticsForTableRequest = Shapes::StructureShape.new(name: 'DeleteColumnStatisticsForTableRequest')
189
+ DeleteColumnStatisticsForTableResponse = Shapes::StructureShape.new(name: 'DeleteColumnStatisticsForTableResponse')
172
190
  DeleteConnectionNameList = Shapes::ListShape.new(name: 'DeleteConnectionNameList')
173
191
  DeleteConnectionRequest = Shapes::StructureShape.new(name: 'DeleteConnectionRequest')
174
192
  DeleteConnectionResponse = Shapes::StructureShape.new(name: 'DeleteConnectionResponse')
@@ -205,6 +223,8 @@ module Aws::Glue
205
223
  DevEndpointList = Shapes::ListShape.new(name: 'DevEndpointList')
206
224
  DevEndpointNameList = Shapes::ListShape.new(name: 'DevEndpointNameList')
207
225
  DevEndpointNames = Shapes::ListShape.new(name: 'DevEndpointNames')
226
+ Double = Shapes::FloatShape.new(name: 'Double')
227
+ DoubleColumnStatisticsData = Shapes::StructureShape.new(name: 'DoubleColumnStatisticsData')
208
228
  DynamoDBTarget = Shapes::StructureShape.new(name: 'DynamoDBTarget')
209
229
  DynamoDBTargetList = Shapes::ListShape.new(name: 'DynamoDBTargetList')
210
230
  Edge = Shapes::StructureShape.new(name: 'Edge')
@@ -235,6 +255,11 @@ module Aws::Glue
235
255
  GetClassifierResponse = Shapes::StructureShape.new(name: 'GetClassifierResponse')
236
256
  GetClassifiersRequest = Shapes::StructureShape.new(name: 'GetClassifiersRequest')
237
257
  GetClassifiersResponse = Shapes::StructureShape.new(name: 'GetClassifiersResponse')
258
+ GetColumnNamesList = Shapes::ListShape.new(name: 'GetColumnNamesList')
259
+ GetColumnStatisticsForPartitionRequest = Shapes::StructureShape.new(name: 'GetColumnStatisticsForPartitionRequest')
260
+ GetColumnStatisticsForPartitionResponse = Shapes::StructureShape.new(name: 'GetColumnStatisticsForPartitionResponse')
261
+ GetColumnStatisticsForTableRequest = Shapes::StructureShape.new(name: 'GetColumnStatisticsForTableRequest')
262
+ GetColumnStatisticsForTableResponse = Shapes::StructureShape.new(name: 'GetColumnStatisticsForTableResponse')
238
263
  GetConnectionRequest = Shapes::StructureShape.new(name: 'GetConnectionRequest')
239
264
  GetConnectionResponse = Shapes::StructureShape.new(name: 'GetConnectionResponse')
240
265
  GetConnectionsFilter = Shapes::StructureShape.new(name: 'GetConnectionsFilter')
@@ -380,6 +405,8 @@ module Aws::Glue
380
405
  LogStream = Shapes::StringShape.new(name: 'LogStream')
381
406
  Logical = Shapes::StringShape.new(name: 'Logical')
382
407
  LogicalOperator = Shapes::StringShape.new(name: 'LogicalOperator')
408
+ Long = Shapes::IntegerShape.new(name: 'Long')
409
+ LongColumnStatisticsData = Shapes::StructureShape.new(name: 'LongColumnStatisticsData')
383
410
  MLTransform = Shapes::StructureShape.new(name: 'MLTransform')
384
411
  MLTransformNotReadyException = Shapes::StructureShape.new(name: 'MLTransformNotReadyException')
385
412
  MapValue = Shapes::MapShape.new(name: 'MapValue')
@@ -399,6 +426,7 @@ module Aws::Glue
399
426
  NodeType = Shapes::StringShape.new(name: 'NodeType')
400
427
  NonNegativeDouble = Shapes::FloatShape.new(name: 'NonNegativeDouble')
401
428
  NonNegativeInteger = Shapes::IntegerShape.new(name: 'NonNegativeInteger')
429
+ NonNegativeLong = Shapes::IntegerShape.new(name: 'NonNegativeLong')
402
430
  NotificationProperty = Shapes::StructureShape.new(name: 'NotificationProperty')
403
431
  NotifyDelayAfter = Shapes::IntegerShape.new(name: 'NotifyDelayAfter')
404
432
  NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
@@ -510,6 +538,7 @@ module Aws::Glue
510
538
  StopWorkflowRunRequest = Shapes::StructureShape.new(name: 'StopWorkflowRunRequest')
511
539
  StopWorkflowRunResponse = Shapes::StructureShape.new(name: 'StopWorkflowRunResponse')
512
540
  StorageDescriptor = Shapes::StructureShape.new(name: 'StorageDescriptor')
541
+ StringColumnStatisticsData = Shapes::StructureShape.new(name: 'StringColumnStatisticsData')
513
542
  StringList = Shapes::ListShape.new(name: 'StringList')
514
543
  Table = Shapes::StructureShape.new(name: 'Table')
515
544
  TableError = Shapes::StructureShape.new(name: 'TableError')
@@ -557,12 +586,18 @@ module Aws::Glue
557
586
  TriggerState = Shapes::StringShape.new(name: 'TriggerState')
558
587
  TriggerType = Shapes::StringShape.new(name: 'TriggerType')
559
588
  TriggerUpdate = Shapes::StructureShape.new(name: 'TriggerUpdate')
589
+ TypeString = Shapes::StringShape.new(name: 'TypeString')
560
590
  URI = Shapes::StringShape.new(name: 'URI')
561
591
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
562
592
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
563
593
  UpdateBehavior = Shapes::StringShape.new(name: 'UpdateBehavior')
564
594
  UpdateClassifierRequest = Shapes::StructureShape.new(name: 'UpdateClassifierRequest')
565
595
  UpdateClassifierResponse = Shapes::StructureShape.new(name: 'UpdateClassifierResponse')
596
+ UpdateColumnStatisticsForPartitionRequest = Shapes::StructureShape.new(name: 'UpdateColumnStatisticsForPartitionRequest')
597
+ UpdateColumnStatisticsForPartitionResponse = Shapes::StructureShape.new(name: 'UpdateColumnStatisticsForPartitionResponse')
598
+ UpdateColumnStatisticsForTableRequest = Shapes::StructureShape.new(name: 'UpdateColumnStatisticsForTableRequest')
599
+ UpdateColumnStatisticsForTableResponse = Shapes::StructureShape.new(name: 'UpdateColumnStatisticsForTableResponse')
600
+ UpdateColumnStatisticsList = Shapes::ListShape.new(name: 'UpdateColumnStatisticsList')
566
601
  UpdateConnectionRequest = Shapes::StructureShape.new(name: 'UpdateConnectionRequest')
567
602
  UpdateConnectionResponse = Shapes::StructureShape.new(name: 'UpdateConnectionResponse')
568
603
  UpdateCrawlerRequest = Shapes::StructureShape.new(name: 'UpdateCrawlerRequest')
@@ -750,6 +785,16 @@ module Aws::Glue
750
785
 
751
786
  BatchStopJobRunSuccessfulSubmissionList.member = Shapes::ShapeRef.new(shape: BatchStopJobRunSuccessfulSubmission)
752
787
 
788
+ BinaryColumnStatisticsData.add_member(:maximum_length, Shapes::ShapeRef.new(shape: NonNegativeLong, required: true, location_name: "MaximumLength"))
789
+ BinaryColumnStatisticsData.add_member(:average_length, Shapes::ShapeRef.new(shape: NonNegativeDouble, required: true, location_name: "AverageLength"))
790
+ BinaryColumnStatisticsData.add_member(:number_of_nulls, Shapes::ShapeRef.new(shape: NonNegativeLong, required: true, location_name: "NumberOfNulls"))
791
+ BinaryColumnStatisticsData.struct_class = Types::BinaryColumnStatisticsData
792
+
793
+ BooleanColumnStatisticsData.add_member(:number_of_trues, Shapes::ShapeRef.new(shape: NonNegativeLong, required: true, location_name: "NumberOfTrues"))
794
+ BooleanColumnStatisticsData.add_member(:number_of_falses, Shapes::ShapeRef.new(shape: NonNegativeLong, required: true, location_name: "NumberOfFalses"))
795
+ BooleanColumnStatisticsData.add_member(:number_of_nulls, Shapes::ShapeRef.new(shape: NonNegativeLong, required: true, location_name: "NumberOfNulls"))
796
+ BooleanColumnStatisticsData.struct_class = Types::BooleanColumnStatisticsData
797
+
753
798
  BoundedPartitionValueList.member = Shapes::ShapeRef.new(shape: ValueString)
754
799
 
755
800
  CancelMLTaskRunRequest.add_member(:transform_id, Shapes::ShapeRef.new(shape: HashString, required: true, location_name: "TransformId"))
@@ -818,8 +863,38 @@ module Aws::Glue
818
863
  Column.add_member(:parameters, Shapes::ShapeRef.new(shape: ParametersMap, location_name: "Parameters"))
819
864
  Column.struct_class = Types::Column
820
865
 
866
+ ColumnError.add_member(:column_name, Shapes::ShapeRef.new(shape: NameString, location_name: "ColumnName"))
867
+ ColumnError.add_member(:error, Shapes::ShapeRef.new(shape: ErrorDetail, location_name: "Error"))
868
+ ColumnError.struct_class = Types::ColumnError
869
+
870
+ ColumnErrors.member = Shapes::ShapeRef.new(shape: ColumnError)
871
+
821
872
  ColumnList.member = Shapes::ShapeRef.new(shape: Column)
822
873
 
874
+ ColumnStatistics.add_member(:column_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "ColumnName"))
875
+ ColumnStatistics.add_member(:column_type, Shapes::ShapeRef.new(shape: TypeString, required: true, location_name: "ColumnType"))
876
+ ColumnStatistics.add_member(:analyzed_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "AnalyzedTime"))
877
+ ColumnStatistics.add_member(:statistics_data, Shapes::ShapeRef.new(shape: ColumnStatisticsData, required: true, location_name: "StatisticsData"))
878
+ ColumnStatistics.struct_class = Types::ColumnStatistics
879
+
880
+ ColumnStatisticsData.add_member(:type, Shapes::ShapeRef.new(shape: ColumnStatisticsType, required: true, location_name: "Type"))
881
+ ColumnStatisticsData.add_member(:boolean_column_statistics_data, Shapes::ShapeRef.new(shape: BooleanColumnStatisticsData, location_name: "BooleanColumnStatisticsData"))
882
+ ColumnStatisticsData.add_member(:date_column_statistics_data, Shapes::ShapeRef.new(shape: DateColumnStatisticsData, location_name: "DateColumnStatisticsData"))
883
+ ColumnStatisticsData.add_member(:decimal_column_statistics_data, Shapes::ShapeRef.new(shape: DecimalColumnStatisticsData, location_name: "DecimalColumnStatisticsData"))
884
+ ColumnStatisticsData.add_member(:double_column_statistics_data, Shapes::ShapeRef.new(shape: DoubleColumnStatisticsData, location_name: "DoubleColumnStatisticsData"))
885
+ ColumnStatisticsData.add_member(:long_column_statistics_data, Shapes::ShapeRef.new(shape: LongColumnStatisticsData, location_name: "LongColumnStatisticsData"))
886
+ ColumnStatisticsData.add_member(:string_column_statistics_data, Shapes::ShapeRef.new(shape: StringColumnStatisticsData, location_name: "StringColumnStatisticsData"))
887
+ ColumnStatisticsData.add_member(:binary_column_statistics_data, Shapes::ShapeRef.new(shape: BinaryColumnStatisticsData, location_name: "BinaryColumnStatisticsData"))
888
+ ColumnStatisticsData.struct_class = Types::ColumnStatisticsData
889
+
890
+ ColumnStatisticsError.add_member(:column_statistics, Shapes::ShapeRef.new(shape: ColumnStatistics, location_name: "ColumnStatistics"))
891
+ ColumnStatisticsError.add_member(:error, Shapes::ShapeRef.new(shape: ErrorDetail, location_name: "Error"))
892
+ ColumnStatisticsError.struct_class = Types::ColumnStatisticsError
893
+
894
+ ColumnStatisticsErrors.member = Shapes::ShapeRef.new(shape: ColumnStatisticsError)
895
+
896
+ ColumnStatisticsList.member = Shapes::ShapeRef.new(shape: ColumnStatistics)
897
+
823
898
  ColumnValueStringList.member = Shapes::ShapeRef.new(shape: ColumnValuesString)
824
899
 
825
900
  ConcurrentModificationException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
@@ -1183,11 +1258,44 @@ module Aws::Glue
1183
1258
 
1184
1259
  DatabaseList.member = Shapes::ShapeRef.new(shape: Database)
1185
1260
 
1261
+ DateColumnStatisticsData.add_member(:minimum_value, Shapes::ShapeRef.new(shape: Timestamp, location_name: "MinimumValue"))
1262
+ DateColumnStatisticsData.add_member(:maximum_value, Shapes::ShapeRef.new(shape: Timestamp, location_name: "MaximumValue"))
1263
+ DateColumnStatisticsData.add_member(:number_of_nulls, Shapes::ShapeRef.new(shape: NonNegativeLong, required: true, location_name: "NumberOfNulls"))
1264
+ DateColumnStatisticsData.add_member(:number_of_distinct_values, Shapes::ShapeRef.new(shape: NonNegativeLong, required: true, location_name: "NumberOfDistinctValues"))
1265
+ DateColumnStatisticsData.struct_class = Types::DateColumnStatisticsData
1266
+
1267
+ DecimalColumnStatisticsData.add_member(:minimum_value, Shapes::ShapeRef.new(shape: DecimalNumber, location_name: "MinimumValue"))
1268
+ DecimalColumnStatisticsData.add_member(:maximum_value, Shapes::ShapeRef.new(shape: DecimalNumber, location_name: "MaximumValue"))
1269
+ DecimalColumnStatisticsData.add_member(:number_of_nulls, Shapes::ShapeRef.new(shape: NonNegativeLong, required: true, location_name: "NumberOfNulls"))
1270
+ DecimalColumnStatisticsData.add_member(:number_of_distinct_values, Shapes::ShapeRef.new(shape: NonNegativeLong, required: true, location_name: "NumberOfDistinctValues"))
1271
+ DecimalColumnStatisticsData.struct_class = Types::DecimalColumnStatisticsData
1272
+
1273
+ DecimalNumber.add_member(:unscaled_value, Shapes::ShapeRef.new(shape: Blob, required: true, location_name: "UnscaledValue"))
1274
+ DecimalNumber.add_member(:scale, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "Scale"))
1275
+ DecimalNumber.struct_class = Types::DecimalNumber
1276
+
1186
1277
  DeleteClassifierRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
1187
1278
  DeleteClassifierRequest.struct_class = Types::DeleteClassifierRequest
1188
1279
 
1189
1280
  DeleteClassifierResponse.struct_class = Types::DeleteClassifierResponse
1190
1281
 
1282
+ DeleteColumnStatisticsForPartitionRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
1283
+ DeleteColumnStatisticsForPartitionRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
1284
+ DeleteColumnStatisticsForPartitionRequest.add_member(:table_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "TableName"))
1285
+ DeleteColumnStatisticsForPartitionRequest.add_member(:partition_values, Shapes::ShapeRef.new(shape: ValueStringList, required: true, location_name: "PartitionValues"))
1286
+ DeleteColumnStatisticsForPartitionRequest.add_member(:column_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "ColumnName"))
1287
+ DeleteColumnStatisticsForPartitionRequest.struct_class = Types::DeleteColumnStatisticsForPartitionRequest
1288
+
1289
+ DeleteColumnStatisticsForPartitionResponse.struct_class = Types::DeleteColumnStatisticsForPartitionResponse
1290
+
1291
+ DeleteColumnStatisticsForTableRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
1292
+ DeleteColumnStatisticsForTableRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
1293
+ DeleteColumnStatisticsForTableRequest.add_member(:table_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "TableName"))
1294
+ DeleteColumnStatisticsForTableRequest.add_member(:column_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "ColumnName"))
1295
+ DeleteColumnStatisticsForTableRequest.struct_class = Types::DeleteColumnStatisticsForTableRequest
1296
+
1297
+ DeleteColumnStatisticsForTableResponse.struct_class = Types::DeleteColumnStatisticsForTableResponse
1298
+
1191
1299
  DeleteConnectionNameList.member = Shapes::ShapeRef.new(shape: NameString)
1192
1300
 
1193
1301
  DeleteConnectionRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
@@ -1313,6 +1421,12 @@ module Aws::Glue
1313
1421
 
1314
1422
  DevEndpointNames.member = Shapes::ShapeRef.new(shape: GenericString)
1315
1423
 
1424
+ DoubleColumnStatisticsData.add_member(:minimum_value, Shapes::ShapeRef.new(shape: Double, location_name: "MinimumValue"))
1425
+ DoubleColumnStatisticsData.add_member(:maximum_value, Shapes::ShapeRef.new(shape: Double, location_name: "MaximumValue"))
1426
+ DoubleColumnStatisticsData.add_member(:number_of_nulls, Shapes::ShapeRef.new(shape: NonNegativeLong, required: true, location_name: "NumberOfNulls"))
1427
+ DoubleColumnStatisticsData.add_member(:number_of_distinct_values, Shapes::ShapeRef.new(shape: NonNegativeLong, required: true, location_name: "NumberOfDistinctValues"))
1428
+ DoubleColumnStatisticsData.struct_class = Types::DoubleColumnStatisticsData
1429
+
1316
1430
  DynamoDBTarget.add_member(:path, Shapes::ShapeRef.new(shape: Path, location_name: "Path"))
1317
1431
  DynamoDBTarget.add_member(:scan_all, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "scanAll"))
1318
1432
  DynamoDBTarget.add_member(:scan_rate, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "scanRate"))
@@ -1396,6 +1510,29 @@ module Aws::Glue
1396
1510
  GetClassifiersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
1397
1511
  GetClassifiersResponse.struct_class = Types::GetClassifiersResponse
1398
1512
 
1513
+ GetColumnNamesList.member = Shapes::ShapeRef.new(shape: NameString)
1514
+
1515
+ GetColumnStatisticsForPartitionRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
1516
+ GetColumnStatisticsForPartitionRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
1517
+ GetColumnStatisticsForPartitionRequest.add_member(:table_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "TableName"))
1518
+ GetColumnStatisticsForPartitionRequest.add_member(:partition_values, Shapes::ShapeRef.new(shape: ValueStringList, required: true, location_name: "PartitionValues"))
1519
+ GetColumnStatisticsForPartitionRequest.add_member(:column_names, Shapes::ShapeRef.new(shape: GetColumnNamesList, required: true, location_name: "ColumnNames"))
1520
+ GetColumnStatisticsForPartitionRequest.struct_class = Types::GetColumnStatisticsForPartitionRequest
1521
+
1522
+ GetColumnStatisticsForPartitionResponse.add_member(:column_statistics_list, Shapes::ShapeRef.new(shape: ColumnStatisticsList, location_name: "ColumnStatisticsList"))
1523
+ GetColumnStatisticsForPartitionResponse.add_member(:errors, Shapes::ShapeRef.new(shape: ColumnErrors, location_name: "Errors"))
1524
+ GetColumnStatisticsForPartitionResponse.struct_class = Types::GetColumnStatisticsForPartitionResponse
1525
+
1526
+ GetColumnStatisticsForTableRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
1527
+ GetColumnStatisticsForTableRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
1528
+ GetColumnStatisticsForTableRequest.add_member(:table_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "TableName"))
1529
+ GetColumnStatisticsForTableRequest.add_member(:column_names, Shapes::ShapeRef.new(shape: GetColumnNamesList, required: true, location_name: "ColumnNames"))
1530
+ GetColumnStatisticsForTableRequest.struct_class = Types::GetColumnStatisticsForTableRequest
1531
+
1532
+ GetColumnStatisticsForTableResponse.add_member(:column_statistics_list, Shapes::ShapeRef.new(shape: ColumnStatisticsList, location_name: "ColumnStatisticsList"))
1533
+ GetColumnStatisticsForTableResponse.add_member(:errors, Shapes::ShapeRef.new(shape: ColumnErrors, location_name: "Errors"))
1534
+ GetColumnStatisticsForTableResponse.struct_class = Types::GetColumnStatisticsForTableResponse
1535
+
1399
1536
  GetConnectionRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
1400
1537
  GetConnectionRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
1401
1538
  GetConnectionRequest.add_member(:hide_password, Shapes::ShapeRef.new(shape: Boolean, location_name: "HidePassword"))
@@ -1981,6 +2118,12 @@ module Aws::Glue
1981
2118
  LocationMap.key = Shapes::ShapeRef.new(shape: ColumnValuesString)
1982
2119
  LocationMap.value = Shapes::ShapeRef.new(shape: ColumnValuesString)
1983
2120
 
2121
+ LongColumnStatisticsData.add_member(:minimum_value, Shapes::ShapeRef.new(shape: Long, location_name: "MinimumValue"))
2122
+ LongColumnStatisticsData.add_member(:maximum_value, Shapes::ShapeRef.new(shape: Long, location_name: "MaximumValue"))
2123
+ LongColumnStatisticsData.add_member(:number_of_nulls, Shapes::ShapeRef.new(shape: NonNegativeLong, required: true, location_name: "NumberOfNulls"))
2124
+ LongColumnStatisticsData.add_member(:number_of_distinct_values, Shapes::ShapeRef.new(shape: NonNegativeLong, required: true, location_name: "NumberOfDistinctValues"))
2125
+ LongColumnStatisticsData.struct_class = Types::LongColumnStatisticsData
2126
+
1984
2127
  MLTransform.add_member(:transform_id, Shapes::ShapeRef.new(shape: HashString, location_name: "TransformId"))
1985
2128
  MLTransform.add_member(:name, Shapes::ShapeRef.new(shape: NameString, location_name: "Name"))
1986
2129
  MLTransform.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
@@ -2327,6 +2470,12 @@ module Aws::Glue
2327
2470
  StorageDescriptor.add_member(:stored_as_sub_directories, Shapes::ShapeRef.new(shape: Boolean, location_name: "StoredAsSubDirectories"))
2328
2471
  StorageDescriptor.struct_class = Types::StorageDescriptor
2329
2472
 
2473
+ StringColumnStatisticsData.add_member(:maximum_length, Shapes::ShapeRef.new(shape: NonNegativeLong, required: true, location_name: "MaximumLength"))
2474
+ StringColumnStatisticsData.add_member(:average_length, Shapes::ShapeRef.new(shape: NonNegativeDouble, required: true, location_name: "AverageLength"))
2475
+ StringColumnStatisticsData.add_member(:number_of_nulls, Shapes::ShapeRef.new(shape: NonNegativeLong, required: true, location_name: "NumberOfNulls"))
2476
+ StringColumnStatisticsData.add_member(:number_of_distinct_values, Shapes::ShapeRef.new(shape: NonNegativeLong, required: true, location_name: "NumberOfDistinctValues"))
2477
+ StringColumnStatisticsData.struct_class = Types::StringColumnStatisticsData
2478
+
2330
2479
  StringList.member = Shapes::ShapeRef.new(shape: GenericString)
2331
2480
 
2332
2481
  Table.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
@@ -2487,6 +2636,27 @@ module Aws::Glue
2487
2636
 
2488
2637
  UpdateClassifierResponse.struct_class = Types::UpdateClassifierResponse
2489
2638
 
2639
+ UpdateColumnStatisticsForPartitionRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
2640
+ UpdateColumnStatisticsForPartitionRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
2641
+ UpdateColumnStatisticsForPartitionRequest.add_member(:table_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "TableName"))
2642
+ UpdateColumnStatisticsForPartitionRequest.add_member(:partition_values, Shapes::ShapeRef.new(shape: ValueStringList, required: true, location_name: "PartitionValues"))
2643
+ UpdateColumnStatisticsForPartitionRequest.add_member(:column_statistics_list, Shapes::ShapeRef.new(shape: UpdateColumnStatisticsList, required: true, location_name: "ColumnStatisticsList"))
2644
+ UpdateColumnStatisticsForPartitionRequest.struct_class = Types::UpdateColumnStatisticsForPartitionRequest
2645
+
2646
+ UpdateColumnStatisticsForPartitionResponse.add_member(:errors, Shapes::ShapeRef.new(shape: ColumnStatisticsErrors, location_name: "Errors"))
2647
+ UpdateColumnStatisticsForPartitionResponse.struct_class = Types::UpdateColumnStatisticsForPartitionResponse
2648
+
2649
+ UpdateColumnStatisticsForTableRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
2650
+ UpdateColumnStatisticsForTableRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
2651
+ UpdateColumnStatisticsForTableRequest.add_member(:table_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "TableName"))
2652
+ UpdateColumnStatisticsForTableRequest.add_member(:column_statistics_list, Shapes::ShapeRef.new(shape: UpdateColumnStatisticsList, required: true, location_name: "ColumnStatisticsList"))
2653
+ UpdateColumnStatisticsForTableRequest.struct_class = Types::UpdateColumnStatisticsForTableRequest
2654
+
2655
+ UpdateColumnStatisticsForTableResponse.add_member(:errors, Shapes::ShapeRef.new(shape: ColumnStatisticsErrors, location_name: "Errors"))
2656
+ UpdateColumnStatisticsForTableResponse.struct_class = Types::UpdateColumnStatisticsForTableResponse
2657
+
2658
+ UpdateColumnStatisticsList.member = Shapes::ShapeRef.new(shape: ColumnStatistics)
2659
+
2490
2660
  UpdateConnectionRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
2491
2661
  UpdateConnectionRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
2492
2662
  UpdateConnectionRequest.add_member(:connection_input, Shapes::ShapeRef.new(shape: ConnectionInput, required: true, location_name: "ConnectionInput"))
@@ -3070,6 +3240,32 @@ module Aws::Glue
3070
3240
  o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
3071
3241
  end)
3072
3242
 
3243
+ api.add_operation(:delete_column_statistics_for_partition, Seahorse::Model::Operation.new.tap do |o|
3244
+ o.name = "DeleteColumnStatisticsForPartition"
3245
+ o.http_method = "POST"
3246
+ o.http_request_uri = "/"
3247
+ o.input = Shapes::ShapeRef.new(shape: DeleteColumnStatisticsForPartitionRequest)
3248
+ o.output = Shapes::ShapeRef.new(shape: DeleteColumnStatisticsForPartitionResponse)
3249
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
3250
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
3251
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3252
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
3253
+ o.errors << Shapes::ShapeRef.new(shape: GlueEncryptionException)
3254
+ end)
3255
+
3256
+ api.add_operation(:delete_column_statistics_for_table, Seahorse::Model::Operation.new.tap do |o|
3257
+ o.name = "DeleteColumnStatisticsForTable"
3258
+ o.http_method = "POST"
3259
+ o.http_request_uri = "/"
3260
+ o.input = Shapes::ShapeRef.new(shape: DeleteColumnStatisticsForTableRequest)
3261
+ o.output = Shapes::ShapeRef.new(shape: DeleteColumnStatisticsForTableResponse)
3262
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
3263
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
3264
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3265
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
3266
+ o.errors << Shapes::ShapeRef.new(shape: GlueEncryptionException)
3267
+ end)
3268
+
3073
3269
  api.add_operation(:delete_connection, Seahorse::Model::Operation.new.tap do |o|
3074
3270
  o.name = "DeleteConnection"
3075
3271
  o.http_method = "POST"
@@ -3271,6 +3467,32 @@ module Aws::Glue
3271
3467
  )
3272
3468
  end)
3273
3469
 
3470
+ api.add_operation(:get_column_statistics_for_partition, Seahorse::Model::Operation.new.tap do |o|
3471
+ o.name = "GetColumnStatisticsForPartition"
3472
+ o.http_method = "POST"
3473
+ o.http_request_uri = "/"
3474
+ o.input = Shapes::ShapeRef.new(shape: GetColumnStatisticsForPartitionRequest)
3475
+ o.output = Shapes::ShapeRef.new(shape: GetColumnStatisticsForPartitionResponse)
3476
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
3477
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
3478
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3479
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
3480
+ o.errors << Shapes::ShapeRef.new(shape: GlueEncryptionException)
3481
+ end)
3482
+
3483
+ api.add_operation(:get_column_statistics_for_table, Seahorse::Model::Operation.new.tap do |o|
3484
+ o.name = "GetColumnStatisticsForTable"
3485
+ o.http_method = "POST"
3486
+ o.http_request_uri = "/"
3487
+ o.input = Shapes::ShapeRef.new(shape: GetColumnStatisticsForTableRequest)
3488
+ o.output = Shapes::ShapeRef.new(shape: GetColumnStatisticsForTableResponse)
3489
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
3490
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
3491
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3492
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
3493
+ o.errors << Shapes::ShapeRef.new(shape: GlueEncryptionException)
3494
+ end)
3495
+
3274
3496
  api.add_operation(:get_connection, Seahorse::Model::Operation.new.tap do |o|
3275
3497
  o.name = "GetConnection"
3276
3498
  o.http_method = "POST"
@@ -4232,6 +4454,32 @@ module Aws::Glue
4232
4454
  o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
4233
4455
  end)
4234
4456
 
4457
+ api.add_operation(:update_column_statistics_for_partition, Seahorse::Model::Operation.new.tap do |o|
4458
+ o.name = "UpdateColumnStatisticsForPartition"
4459
+ o.http_method = "POST"
4460
+ o.http_request_uri = "/"
4461
+ o.input = Shapes::ShapeRef.new(shape: UpdateColumnStatisticsForPartitionRequest)
4462
+ o.output = Shapes::ShapeRef.new(shape: UpdateColumnStatisticsForPartitionResponse)
4463
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
4464
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
4465
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
4466
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
4467
+ o.errors << Shapes::ShapeRef.new(shape: GlueEncryptionException)
4468
+ end)
4469
+
4470
+ api.add_operation(:update_column_statistics_for_table, Seahorse::Model::Operation.new.tap do |o|
4471
+ o.name = "UpdateColumnStatisticsForTable"
4472
+ o.http_method = "POST"
4473
+ o.http_request_uri = "/"
4474
+ o.input = Shapes::ShapeRef.new(shape: UpdateColumnStatisticsForTableRequest)
4475
+ o.output = Shapes::ShapeRef.new(shape: UpdateColumnStatisticsForTableResponse)
4476
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
4477
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
4478
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
4479
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
4480
+ o.errors << Shapes::ShapeRef.new(shape: GlueEncryptionException)
4481
+ end)
4482
+
4235
4483
  api.add_operation(:update_connection, Seahorse::Model::Operation.new.tap do |o|
4236
4484
  o.name = "UpdateConnection"
4237
4485
  o.http_method = "POST"
@@ -764,6 +764,72 @@ module Aws::Glue
764
764
  include Aws::Structure
765
765
  end
766
766
 
767
+ # Defines a binary column statistics data.
768
+ #
769
+ # @note When making an API call, you may pass BinaryColumnStatisticsData
770
+ # data as a hash:
771
+ #
772
+ # {
773
+ # maximum_length: 1, # required
774
+ # average_length: 1.0, # required
775
+ # number_of_nulls: 1, # required
776
+ # }
777
+ #
778
+ # @!attribute [rw] maximum_length
779
+ # Maximum length of the column.
780
+ # @return [Integer]
781
+ #
782
+ # @!attribute [rw] average_length
783
+ # Average length of the column.
784
+ # @return [Float]
785
+ #
786
+ # @!attribute [rw] number_of_nulls
787
+ # Number of nulls.
788
+ # @return [Integer]
789
+ #
790
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BinaryColumnStatisticsData AWS API Documentation
791
+ #
792
+ class BinaryColumnStatisticsData < Struct.new(
793
+ :maximum_length,
794
+ :average_length,
795
+ :number_of_nulls)
796
+ SENSITIVE = []
797
+ include Aws::Structure
798
+ end
799
+
800
+ # Defines a boolean column statistics.
801
+ #
802
+ # @note When making an API call, you may pass BooleanColumnStatisticsData
803
+ # data as a hash:
804
+ #
805
+ # {
806
+ # number_of_trues: 1, # required
807
+ # number_of_falses: 1, # required
808
+ # number_of_nulls: 1, # required
809
+ # }
810
+ #
811
+ # @!attribute [rw] number_of_trues
812
+ # Number of true value.
813
+ # @return [Integer]
814
+ #
815
+ # @!attribute [rw] number_of_falses
816
+ # Number of false value.
817
+ # @return [Integer]
818
+ #
819
+ # @!attribute [rw] number_of_nulls
820
+ # Number of nulls.
821
+ # @return [Integer]
822
+ #
823
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BooleanColumnStatisticsData AWS API Documentation
824
+ #
825
+ class BooleanColumnStatisticsData < Struct.new(
826
+ :number_of_trues,
827
+ :number_of_falses,
828
+ :number_of_nulls)
829
+ SENSITIVE = []
830
+ include Aws::Structure
831
+ end
832
+
767
833
  # @note When making an API call, you may pass CancelMLTaskRunRequest
768
834
  # data as a hash:
769
835
  #
@@ -1108,6 +1174,233 @@ module Aws::Glue
1108
1174
  include Aws::Structure
1109
1175
  end
1110
1176
 
1177
+ # Defines a column containing error.
1178
+ #
1179
+ # @!attribute [rw] column_name
1180
+ # The name of the column.
1181
+ # @return [String]
1182
+ #
1183
+ # @!attribute [rw] error
1184
+ # The error message occurred during operation.
1185
+ # @return [Types::ErrorDetail]
1186
+ #
1187
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ColumnError AWS API Documentation
1188
+ #
1189
+ class ColumnError < Struct.new(
1190
+ :column_name,
1191
+ :error)
1192
+ SENSITIVE = []
1193
+ include Aws::Structure
1194
+ end
1195
+
1196
+ # Defines a column statistics.
1197
+ #
1198
+ # @note When making an API call, you may pass ColumnStatistics
1199
+ # data as a hash:
1200
+ #
1201
+ # {
1202
+ # column_name: "NameString", # required
1203
+ # column_type: "TypeString", # required
1204
+ # analyzed_time: Time.now, # required
1205
+ # statistics_data: { # required
1206
+ # type: "BOOLEAN", # required, accepts BOOLEAN, DATE, DECIMAL, DOUBLE, LONG, STRING, BINARY
1207
+ # boolean_column_statistics_data: {
1208
+ # number_of_trues: 1, # required
1209
+ # number_of_falses: 1, # required
1210
+ # number_of_nulls: 1, # required
1211
+ # },
1212
+ # date_column_statistics_data: {
1213
+ # minimum_value: Time.now,
1214
+ # maximum_value: Time.now,
1215
+ # number_of_nulls: 1, # required
1216
+ # number_of_distinct_values: 1, # required
1217
+ # },
1218
+ # decimal_column_statistics_data: {
1219
+ # minimum_value: {
1220
+ # unscaled_value: "data", # required
1221
+ # scale: 1, # required
1222
+ # },
1223
+ # maximum_value: {
1224
+ # unscaled_value: "data", # required
1225
+ # scale: 1, # required
1226
+ # },
1227
+ # number_of_nulls: 1, # required
1228
+ # number_of_distinct_values: 1, # required
1229
+ # },
1230
+ # double_column_statistics_data: {
1231
+ # minimum_value: 1.0,
1232
+ # maximum_value: 1.0,
1233
+ # number_of_nulls: 1, # required
1234
+ # number_of_distinct_values: 1, # required
1235
+ # },
1236
+ # long_column_statistics_data: {
1237
+ # minimum_value: 1,
1238
+ # maximum_value: 1,
1239
+ # number_of_nulls: 1, # required
1240
+ # number_of_distinct_values: 1, # required
1241
+ # },
1242
+ # string_column_statistics_data: {
1243
+ # maximum_length: 1, # required
1244
+ # average_length: 1.0, # required
1245
+ # number_of_nulls: 1, # required
1246
+ # number_of_distinct_values: 1, # required
1247
+ # },
1248
+ # binary_column_statistics_data: {
1249
+ # maximum_length: 1, # required
1250
+ # average_length: 1.0, # required
1251
+ # number_of_nulls: 1, # required
1252
+ # },
1253
+ # },
1254
+ # }
1255
+ #
1256
+ # @!attribute [rw] column_name
1257
+ # The name of the column.
1258
+ # @return [String]
1259
+ #
1260
+ # @!attribute [rw] column_type
1261
+ # The type of the column.
1262
+ # @return [String]
1263
+ #
1264
+ # @!attribute [rw] analyzed_time
1265
+ # The analyzed time of the column statistics.
1266
+ # @return [Time]
1267
+ #
1268
+ # @!attribute [rw] statistics_data
1269
+ # The statistics of the column.
1270
+ # @return [Types::ColumnStatisticsData]
1271
+ #
1272
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ColumnStatistics AWS API Documentation
1273
+ #
1274
+ class ColumnStatistics < Struct.new(
1275
+ :column_name,
1276
+ :column_type,
1277
+ :analyzed_time,
1278
+ :statistics_data)
1279
+ SENSITIVE = []
1280
+ include Aws::Structure
1281
+ end
1282
+
1283
+ # Defines a column statistics data.
1284
+ #
1285
+ # @note When making an API call, you may pass ColumnStatisticsData
1286
+ # data as a hash:
1287
+ #
1288
+ # {
1289
+ # type: "BOOLEAN", # required, accepts BOOLEAN, DATE, DECIMAL, DOUBLE, LONG, STRING, BINARY
1290
+ # boolean_column_statistics_data: {
1291
+ # number_of_trues: 1, # required
1292
+ # number_of_falses: 1, # required
1293
+ # number_of_nulls: 1, # required
1294
+ # },
1295
+ # date_column_statistics_data: {
1296
+ # minimum_value: Time.now,
1297
+ # maximum_value: Time.now,
1298
+ # number_of_nulls: 1, # required
1299
+ # number_of_distinct_values: 1, # required
1300
+ # },
1301
+ # decimal_column_statistics_data: {
1302
+ # minimum_value: {
1303
+ # unscaled_value: "data", # required
1304
+ # scale: 1, # required
1305
+ # },
1306
+ # maximum_value: {
1307
+ # unscaled_value: "data", # required
1308
+ # scale: 1, # required
1309
+ # },
1310
+ # number_of_nulls: 1, # required
1311
+ # number_of_distinct_values: 1, # required
1312
+ # },
1313
+ # double_column_statistics_data: {
1314
+ # minimum_value: 1.0,
1315
+ # maximum_value: 1.0,
1316
+ # number_of_nulls: 1, # required
1317
+ # number_of_distinct_values: 1, # required
1318
+ # },
1319
+ # long_column_statistics_data: {
1320
+ # minimum_value: 1,
1321
+ # maximum_value: 1,
1322
+ # number_of_nulls: 1, # required
1323
+ # number_of_distinct_values: 1, # required
1324
+ # },
1325
+ # string_column_statistics_data: {
1326
+ # maximum_length: 1, # required
1327
+ # average_length: 1.0, # required
1328
+ # number_of_nulls: 1, # required
1329
+ # number_of_distinct_values: 1, # required
1330
+ # },
1331
+ # binary_column_statistics_data: {
1332
+ # maximum_length: 1, # required
1333
+ # average_length: 1.0, # required
1334
+ # number_of_nulls: 1, # required
1335
+ # },
1336
+ # }
1337
+ #
1338
+ # @!attribute [rw] type
1339
+ # The name of the column.
1340
+ # @return [String]
1341
+ #
1342
+ # @!attribute [rw] boolean_column_statistics_data
1343
+ # Boolean Column Statistics Data.
1344
+ # @return [Types::BooleanColumnStatisticsData]
1345
+ #
1346
+ # @!attribute [rw] date_column_statistics_data
1347
+ # Date Column Statistics Data.
1348
+ # @return [Types::DateColumnStatisticsData]
1349
+ #
1350
+ # @!attribute [rw] decimal_column_statistics_data
1351
+ # Decimal Column Statistics Data.
1352
+ # @return [Types::DecimalColumnStatisticsData]
1353
+ #
1354
+ # @!attribute [rw] double_column_statistics_data
1355
+ # Double Column Statistics Data.
1356
+ # @return [Types::DoubleColumnStatisticsData]
1357
+ #
1358
+ # @!attribute [rw] long_column_statistics_data
1359
+ # Long Column Statistics Data.
1360
+ # @return [Types::LongColumnStatisticsData]
1361
+ #
1362
+ # @!attribute [rw] string_column_statistics_data
1363
+ # String Column Statistics Data.
1364
+ # @return [Types::StringColumnStatisticsData]
1365
+ #
1366
+ # @!attribute [rw] binary_column_statistics_data
1367
+ # Binary Column Statistics Data.
1368
+ # @return [Types::BinaryColumnStatisticsData]
1369
+ #
1370
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ColumnStatisticsData AWS API Documentation
1371
+ #
1372
+ class ColumnStatisticsData < Struct.new(
1373
+ :type,
1374
+ :boolean_column_statistics_data,
1375
+ :date_column_statistics_data,
1376
+ :decimal_column_statistics_data,
1377
+ :double_column_statistics_data,
1378
+ :long_column_statistics_data,
1379
+ :string_column_statistics_data,
1380
+ :binary_column_statistics_data)
1381
+ SENSITIVE = []
1382
+ include Aws::Structure
1383
+ end
1384
+
1385
+ # Defines a column containing error.
1386
+ #
1387
+ # @!attribute [rw] column_statistics
1388
+ # The ColumnStatistics of the column.
1389
+ # @return [Types::ColumnStatistics]
1390
+ #
1391
+ # @!attribute [rw] error
1392
+ # The error message occurred during operation.
1393
+ # @return [Types::ErrorDetail]
1394
+ #
1395
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ColumnStatisticsError AWS API Documentation
1396
+ #
1397
+ class ColumnStatisticsError < Struct.new(
1398
+ :column_statistics,
1399
+ :error)
1400
+ SENSITIVE = []
1401
+ include Aws::Structure
1402
+ end
1403
+
1111
1404
  # Two processes are trying to modify a resource simultaneously.
1112
1405
  #
1113
1406
  # @!attribute [rw] message
@@ -3815,6 +4108,118 @@ module Aws::Glue
3815
4108
  include Aws::Structure
3816
4109
  end
3817
4110
 
4111
+ # Defines a date column statistics data.
4112
+ #
4113
+ # @note When making an API call, you may pass DateColumnStatisticsData
4114
+ # data as a hash:
4115
+ #
4116
+ # {
4117
+ # minimum_value: Time.now,
4118
+ # maximum_value: Time.now,
4119
+ # number_of_nulls: 1, # required
4120
+ # number_of_distinct_values: 1, # required
4121
+ # }
4122
+ #
4123
+ # @!attribute [rw] minimum_value
4124
+ # Minimum value of the column.
4125
+ # @return [Time]
4126
+ #
4127
+ # @!attribute [rw] maximum_value
4128
+ # Maximum value of the column.
4129
+ # @return [Time]
4130
+ #
4131
+ # @!attribute [rw] number_of_nulls
4132
+ # Number of nulls.
4133
+ # @return [Integer]
4134
+ #
4135
+ # @!attribute [rw] number_of_distinct_values
4136
+ # Number of distinct values.
4137
+ # @return [Integer]
4138
+ #
4139
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DateColumnStatisticsData AWS API Documentation
4140
+ #
4141
+ class DateColumnStatisticsData < Struct.new(
4142
+ :minimum_value,
4143
+ :maximum_value,
4144
+ :number_of_nulls,
4145
+ :number_of_distinct_values)
4146
+ SENSITIVE = []
4147
+ include Aws::Structure
4148
+ end
4149
+
4150
+ # Defines a decimal column statistics data.
4151
+ #
4152
+ # @note When making an API call, you may pass DecimalColumnStatisticsData
4153
+ # data as a hash:
4154
+ #
4155
+ # {
4156
+ # minimum_value: {
4157
+ # unscaled_value: "data", # required
4158
+ # scale: 1, # required
4159
+ # },
4160
+ # maximum_value: {
4161
+ # unscaled_value: "data", # required
4162
+ # scale: 1, # required
4163
+ # },
4164
+ # number_of_nulls: 1, # required
4165
+ # number_of_distinct_values: 1, # required
4166
+ # }
4167
+ #
4168
+ # @!attribute [rw] minimum_value
4169
+ # Minimum value of the column.
4170
+ # @return [Types::DecimalNumber]
4171
+ #
4172
+ # @!attribute [rw] maximum_value
4173
+ # Maximum value of the column.
4174
+ # @return [Types::DecimalNumber]
4175
+ #
4176
+ # @!attribute [rw] number_of_nulls
4177
+ # Number of nulls.
4178
+ # @return [Integer]
4179
+ #
4180
+ # @!attribute [rw] number_of_distinct_values
4181
+ # Number of distinct values.
4182
+ # @return [Integer]
4183
+ #
4184
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DecimalColumnStatisticsData AWS API Documentation
4185
+ #
4186
+ class DecimalColumnStatisticsData < Struct.new(
4187
+ :minimum_value,
4188
+ :maximum_value,
4189
+ :number_of_nulls,
4190
+ :number_of_distinct_values)
4191
+ SENSITIVE = []
4192
+ include Aws::Structure
4193
+ end
4194
+
4195
+ # Contains a numeric value in decimal format.
4196
+ #
4197
+ # @note When making an API call, you may pass DecimalNumber
4198
+ # data as a hash:
4199
+ #
4200
+ # {
4201
+ # unscaled_value: "data", # required
4202
+ # scale: 1, # required
4203
+ # }
4204
+ #
4205
+ # @!attribute [rw] unscaled_value
4206
+ # The unscaled numeric value.
4207
+ # @return [String]
4208
+ #
4209
+ # @!attribute [rw] scale
4210
+ # The scale that determines where the decimal point falls in the
4211
+ # unscaled value.
4212
+ # @return [Integer]
4213
+ #
4214
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DecimalNumber AWS API Documentation
4215
+ #
4216
+ class DecimalNumber < Struct.new(
4217
+ :unscaled_value,
4218
+ :scale)
4219
+ SENSITIVE = []
4220
+ include Aws::Structure
4221
+ end
4222
+
3818
4223
  # @note When making an API call, you may pass DeleteClassifierRequest
3819
4224
  # data as a hash:
3820
4225
  #
@@ -3838,6 +4243,96 @@ module Aws::Glue
3838
4243
  #
3839
4244
  class DeleteClassifierResponse < Aws::EmptyStructure; end
3840
4245
 
4246
+ # @note When making an API call, you may pass DeleteColumnStatisticsForPartitionRequest
4247
+ # data as a hash:
4248
+ #
4249
+ # {
4250
+ # catalog_id: "CatalogIdString",
4251
+ # database_name: "NameString", # required
4252
+ # table_name: "NameString", # required
4253
+ # partition_values: ["ValueString"], # required
4254
+ # column_name: "NameString", # required
4255
+ # }
4256
+ #
4257
+ # @!attribute [rw] catalog_id
4258
+ # The ID of the Data Catalog where the partitions in question reside.
4259
+ # If none is supplied, the AWS account ID is used by default.
4260
+ # @return [String]
4261
+ #
4262
+ # @!attribute [rw] database_name
4263
+ # The name of the catalog database where the partitions reside.
4264
+ # @return [String]
4265
+ #
4266
+ # @!attribute [rw] table_name
4267
+ # The name of the partitions' table.
4268
+ # @return [String]
4269
+ #
4270
+ # @!attribute [rw] partition_values
4271
+ # A list of partition values identifying the partition.
4272
+ # @return [Array<String>]
4273
+ #
4274
+ # @!attribute [rw] column_name
4275
+ # Name of the column.
4276
+ # @return [String]
4277
+ #
4278
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteColumnStatisticsForPartitionRequest AWS API Documentation
4279
+ #
4280
+ class DeleteColumnStatisticsForPartitionRequest < Struct.new(
4281
+ :catalog_id,
4282
+ :database_name,
4283
+ :table_name,
4284
+ :partition_values,
4285
+ :column_name)
4286
+ SENSITIVE = []
4287
+ include Aws::Structure
4288
+ end
4289
+
4290
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteColumnStatisticsForPartitionResponse AWS API Documentation
4291
+ #
4292
+ class DeleteColumnStatisticsForPartitionResponse < Aws::EmptyStructure; end
4293
+
4294
+ # @note When making an API call, you may pass DeleteColumnStatisticsForTableRequest
4295
+ # data as a hash:
4296
+ #
4297
+ # {
4298
+ # catalog_id: "CatalogIdString",
4299
+ # database_name: "NameString", # required
4300
+ # table_name: "NameString", # required
4301
+ # column_name: "NameString", # required
4302
+ # }
4303
+ #
4304
+ # @!attribute [rw] catalog_id
4305
+ # The ID of the Data Catalog where the partitions in question reside.
4306
+ # If none is supplied, the AWS account ID is used by default.
4307
+ # @return [String]
4308
+ #
4309
+ # @!attribute [rw] database_name
4310
+ # The name of the catalog database where the partitions reside.
4311
+ # @return [String]
4312
+ #
4313
+ # @!attribute [rw] table_name
4314
+ # The name of the partitions' table.
4315
+ # @return [String]
4316
+ #
4317
+ # @!attribute [rw] column_name
4318
+ # The name of the column.
4319
+ # @return [String]
4320
+ #
4321
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteColumnStatisticsForTableRequest AWS API Documentation
4322
+ #
4323
+ class DeleteColumnStatisticsForTableRequest < Struct.new(
4324
+ :catalog_id,
4325
+ :database_name,
4326
+ :table_name,
4327
+ :column_name)
4328
+ SENSITIVE = []
4329
+ include Aws::Structure
4330
+ end
4331
+
4332
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteColumnStatisticsForTableResponse AWS API Documentation
4333
+ #
4334
+ class DeleteColumnStatisticsForTableResponse < Aws::EmptyStructure; end
4335
+
3841
4336
  # @note When making an API call, you may pass DeleteConnectionRequest
3842
4337
  # data as a hash:
3843
4338
  #
@@ -4546,6 +5041,45 @@ module Aws::Glue
4546
5041
  include Aws::Structure
4547
5042
  end
4548
5043
 
5044
+ # Defines a double column statistics data.
5045
+ #
5046
+ # @note When making an API call, you may pass DoubleColumnStatisticsData
5047
+ # data as a hash:
5048
+ #
5049
+ # {
5050
+ # minimum_value: 1.0,
5051
+ # maximum_value: 1.0,
5052
+ # number_of_nulls: 1, # required
5053
+ # number_of_distinct_values: 1, # required
5054
+ # }
5055
+ #
5056
+ # @!attribute [rw] minimum_value
5057
+ # Minimum value of the column.
5058
+ # @return [Float]
5059
+ #
5060
+ # @!attribute [rw] maximum_value
5061
+ # Maximum value of the column.
5062
+ # @return [Float]
5063
+ #
5064
+ # @!attribute [rw] number_of_nulls
5065
+ # Number of nulls.
5066
+ # @return [Integer]
5067
+ #
5068
+ # @!attribute [rw] number_of_distinct_values
5069
+ # Number of distinct values.
5070
+ # @return [Integer]
5071
+ #
5072
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DoubleColumnStatisticsData AWS API Documentation
5073
+ #
5074
+ class DoubleColumnStatisticsData < Struct.new(
5075
+ :minimum_value,
5076
+ :maximum_value,
5077
+ :number_of_nulls,
5078
+ :number_of_distinct_values)
5079
+ SENSITIVE = []
5080
+ include Aws::Structure
5081
+ end
5082
+
4549
5083
  # Specifies an Amazon DynamoDB table to crawl.
4550
5084
  #
4551
5085
  # @note When making an API call, you may pass DynamoDBTarget
@@ -5057,6 +5591,122 @@ module Aws::Glue
5057
5591
  include Aws::Structure
5058
5592
  end
5059
5593
 
5594
+ # @note When making an API call, you may pass GetColumnStatisticsForPartitionRequest
5595
+ # data as a hash:
5596
+ #
5597
+ # {
5598
+ # catalog_id: "CatalogIdString",
5599
+ # database_name: "NameString", # required
5600
+ # table_name: "NameString", # required
5601
+ # partition_values: ["ValueString"], # required
5602
+ # column_names: ["NameString"], # required
5603
+ # }
5604
+ #
5605
+ # @!attribute [rw] catalog_id
5606
+ # The ID of the Data Catalog where the partitions in question reside.
5607
+ # If none is supplied, the AWS account ID is used by default.
5608
+ # @return [String]
5609
+ #
5610
+ # @!attribute [rw] database_name
5611
+ # The name of the catalog database where the partitions reside.
5612
+ # @return [String]
5613
+ #
5614
+ # @!attribute [rw] table_name
5615
+ # The name of the partitions' table.
5616
+ # @return [String]
5617
+ #
5618
+ # @!attribute [rw] partition_values
5619
+ # A list of partition values identifying the partition.
5620
+ # @return [Array<String>]
5621
+ #
5622
+ # @!attribute [rw] column_names
5623
+ # A list of the column names.
5624
+ # @return [Array<String>]
5625
+ #
5626
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetColumnStatisticsForPartitionRequest AWS API Documentation
5627
+ #
5628
+ class GetColumnStatisticsForPartitionRequest < Struct.new(
5629
+ :catalog_id,
5630
+ :database_name,
5631
+ :table_name,
5632
+ :partition_values,
5633
+ :column_names)
5634
+ SENSITIVE = []
5635
+ include Aws::Structure
5636
+ end
5637
+
5638
+ # @!attribute [rw] column_statistics_list
5639
+ # List of ColumnStatistics that failed to be retrieved.
5640
+ # @return [Array<Types::ColumnStatistics>]
5641
+ #
5642
+ # @!attribute [rw] errors
5643
+ # Error occurred during retrieving column statistics data.
5644
+ # @return [Array<Types::ColumnError>]
5645
+ #
5646
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetColumnStatisticsForPartitionResponse AWS API Documentation
5647
+ #
5648
+ class GetColumnStatisticsForPartitionResponse < Struct.new(
5649
+ :column_statistics_list,
5650
+ :errors)
5651
+ SENSITIVE = []
5652
+ include Aws::Structure
5653
+ end
5654
+
5655
+ # @note When making an API call, you may pass GetColumnStatisticsForTableRequest
5656
+ # data as a hash:
5657
+ #
5658
+ # {
5659
+ # catalog_id: "CatalogIdString",
5660
+ # database_name: "NameString", # required
5661
+ # table_name: "NameString", # required
5662
+ # column_names: ["NameString"], # required
5663
+ # }
5664
+ #
5665
+ # @!attribute [rw] catalog_id
5666
+ # The ID of the Data Catalog where the partitions in question reside.
5667
+ # If none is supplied, the AWS account ID is used by default.
5668
+ # @return [String]
5669
+ #
5670
+ # @!attribute [rw] database_name
5671
+ # The name of the catalog database where the partitions reside.
5672
+ # @return [String]
5673
+ #
5674
+ # @!attribute [rw] table_name
5675
+ # The name of the partitions' table.
5676
+ # @return [String]
5677
+ #
5678
+ # @!attribute [rw] column_names
5679
+ # A list of the column names.
5680
+ # @return [Array<String>]
5681
+ #
5682
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetColumnStatisticsForTableRequest AWS API Documentation
5683
+ #
5684
+ class GetColumnStatisticsForTableRequest < Struct.new(
5685
+ :catalog_id,
5686
+ :database_name,
5687
+ :table_name,
5688
+ :column_names)
5689
+ SENSITIVE = []
5690
+ include Aws::Structure
5691
+ end
5692
+
5693
+ # @!attribute [rw] column_statistics_list
5694
+ # List of ColumnStatistics that failed to be retrieved.
5695
+ # @return [Array<Types::ColumnStatistics>]
5696
+ #
5697
+ # @!attribute [rw] errors
5698
+ # List of ColumnStatistics that failed to be retrieved.
5699
+ # @return [Array<Types::ColumnError>]
5700
+ #
5701
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetColumnStatisticsForTableResponse AWS API Documentation
5702
+ #
5703
+ class GetColumnStatisticsForTableResponse < Struct.new(
5704
+ :column_statistics_list,
5705
+ :errors)
5706
+ SENSITIVE = []
5707
+ include Aws::Structure
5708
+ end
5709
+
5060
5710
  # @note When making an API call, you may pass GetConnectionRequest
5061
5711
  # data as a hash:
5062
5712
  #
@@ -8749,6 +9399,45 @@ module Aws::Glue
8749
9399
  include Aws::Structure
8750
9400
  end
8751
9401
 
9402
+ # Defines a long column statistics data.
9403
+ #
9404
+ # @note When making an API call, you may pass LongColumnStatisticsData
9405
+ # data as a hash:
9406
+ #
9407
+ # {
9408
+ # minimum_value: 1,
9409
+ # maximum_value: 1,
9410
+ # number_of_nulls: 1, # required
9411
+ # number_of_distinct_values: 1, # required
9412
+ # }
9413
+ #
9414
+ # @!attribute [rw] minimum_value
9415
+ # Minimum value of the column.
9416
+ # @return [Integer]
9417
+ #
9418
+ # @!attribute [rw] maximum_value
9419
+ # Maximum value of the column.
9420
+ # @return [Integer]
9421
+ #
9422
+ # @!attribute [rw] number_of_nulls
9423
+ # Number of nulls.
9424
+ # @return [Integer]
9425
+ #
9426
+ # @!attribute [rw] number_of_distinct_values
9427
+ # Number of distinct values.
9428
+ # @return [Integer]
9429
+ #
9430
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/LongColumnStatisticsData AWS API Documentation
9431
+ #
9432
+ class LongColumnStatisticsData < Struct.new(
9433
+ :minimum_value,
9434
+ :maximum_value,
9435
+ :number_of_nulls,
9436
+ :number_of_distinct_values)
9437
+ SENSITIVE = []
9438
+ include Aws::Structure
9439
+ end
9440
+
8752
9441
  # A structure for a machine learning transform.
8753
9442
  #
8754
9443
  # @!attribute [rw] transform_id
@@ -10737,6 +11426,45 @@ module Aws::Glue
10737
11426
  include Aws::Structure
10738
11427
  end
10739
11428
 
11429
+ # Defines a string column statistics data.
11430
+ #
11431
+ # @note When making an API call, you may pass StringColumnStatisticsData
11432
+ # data as a hash:
11433
+ #
11434
+ # {
11435
+ # maximum_length: 1, # required
11436
+ # average_length: 1.0, # required
11437
+ # number_of_nulls: 1, # required
11438
+ # number_of_distinct_values: 1, # required
11439
+ # }
11440
+ #
11441
+ # @!attribute [rw] maximum_length
11442
+ # Maximum value of the column.
11443
+ # @return [Integer]
11444
+ #
11445
+ # @!attribute [rw] average_length
11446
+ # Average value of the column.
11447
+ # @return [Float]
11448
+ #
11449
+ # @!attribute [rw] number_of_nulls
11450
+ # Number of nulls.
11451
+ # @return [Integer]
11452
+ #
11453
+ # @!attribute [rw] number_of_distinct_values
11454
+ # Number of distinct values.
11455
+ # @return [Integer]
11456
+ #
11457
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StringColumnStatisticsData AWS API Documentation
11458
+ #
11459
+ class StringColumnStatisticsData < Struct.new(
11460
+ :maximum_length,
11461
+ :average_length,
11462
+ :number_of_nulls,
11463
+ :number_of_distinct_values)
11464
+ SENSITIVE = []
11465
+ include Aws::Structure
11466
+ end
11467
+
10740
11468
  # Represents a collection of related data organized in columns and rows.
10741
11469
  #
10742
11470
  # @!attribute [rw] name
@@ -11666,6 +12394,222 @@ module Aws::Glue
11666
12394
  #
11667
12395
  class UpdateClassifierResponse < Aws::EmptyStructure; end
11668
12396
 
12397
+ # @note When making an API call, you may pass UpdateColumnStatisticsForPartitionRequest
12398
+ # data as a hash:
12399
+ #
12400
+ # {
12401
+ # catalog_id: "CatalogIdString",
12402
+ # database_name: "NameString", # required
12403
+ # table_name: "NameString", # required
12404
+ # partition_values: ["ValueString"], # required
12405
+ # column_statistics_list: [ # required
12406
+ # {
12407
+ # column_name: "NameString", # required
12408
+ # column_type: "TypeString", # required
12409
+ # analyzed_time: Time.now, # required
12410
+ # statistics_data: { # required
12411
+ # type: "BOOLEAN", # required, accepts BOOLEAN, DATE, DECIMAL, DOUBLE, LONG, STRING, BINARY
12412
+ # boolean_column_statistics_data: {
12413
+ # number_of_trues: 1, # required
12414
+ # number_of_falses: 1, # required
12415
+ # number_of_nulls: 1, # required
12416
+ # },
12417
+ # date_column_statistics_data: {
12418
+ # minimum_value: Time.now,
12419
+ # maximum_value: Time.now,
12420
+ # number_of_nulls: 1, # required
12421
+ # number_of_distinct_values: 1, # required
12422
+ # },
12423
+ # decimal_column_statistics_data: {
12424
+ # minimum_value: {
12425
+ # unscaled_value: "data", # required
12426
+ # scale: 1, # required
12427
+ # },
12428
+ # maximum_value: {
12429
+ # unscaled_value: "data", # required
12430
+ # scale: 1, # required
12431
+ # },
12432
+ # number_of_nulls: 1, # required
12433
+ # number_of_distinct_values: 1, # required
12434
+ # },
12435
+ # double_column_statistics_data: {
12436
+ # minimum_value: 1.0,
12437
+ # maximum_value: 1.0,
12438
+ # number_of_nulls: 1, # required
12439
+ # number_of_distinct_values: 1, # required
12440
+ # },
12441
+ # long_column_statistics_data: {
12442
+ # minimum_value: 1,
12443
+ # maximum_value: 1,
12444
+ # number_of_nulls: 1, # required
12445
+ # number_of_distinct_values: 1, # required
12446
+ # },
12447
+ # string_column_statistics_data: {
12448
+ # maximum_length: 1, # required
12449
+ # average_length: 1.0, # required
12450
+ # number_of_nulls: 1, # required
12451
+ # number_of_distinct_values: 1, # required
12452
+ # },
12453
+ # binary_column_statistics_data: {
12454
+ # maximum_length: 1, # required
12455
+ # average_length: 1.0, # required
12456
+ # number_of_nulls: 1, # required
12457
+ # },
12458
+ # },
12459
+ # },
12460
+ # ],
12461
+ # }
12462
+ #
12463
+ # @!attribute [rw] catalog_id
12464
+ # The ID of the Data Catalog where the partitions in question reside.
12465
+ # If none is supplied, the AWS account ID is used by default.
12466
+ # @return [String]
12467
+ #
12468
+ # @!attribute [rw] database_name
12469
+ # The name of the catalog database where the partitions reside.
12470
+ # @return [String]
12471
+ #
12472
+ # @!attribute [rw] table_name
12473
+ # The name of the partitions' table.
12474
+ # @return [String]
12475
+ #
12476
+ # @!attribute [rw] partition_values
12477
+ # A list of partition values identifying the partition.
12478
+ # @return [Array<String>]
12479
+ #
12480
+ # @!attribute [rw] column_statistics_list
12481
+ # A list of the column statistics.
12482
+ # @return [Array<Types::ColumnStatistics>]
12483
+ #
12484
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateColumnStatisticsForPartitionRequest AWS API Documentation
12485
+ #
12486
+ class UpdateColumnStatisticsForPartitionRequest < Struct.new(
12487
+ :catalog_id,
12488
+ :database_name,
12489
+ :table_name,
12490
+ :partition_values,
12491
+ :column_statistics_list)
12492
+ SENSITIVE = []
12493
+ include Aws::Structure
12494
+ end
12495
+
12496
+ # @!attribute [rw] errors
12497
+ # Error occurred during updating column statistics data.
12498
+ # @return [Array<Types::ColumnStatisticsError>]
12499
+ #
12500
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateColumnStatisticsForPartitionResponse AWS API Documentation
12501
+ #
12502
+ class UpdateColumnStatisticsForPartitionResponse < Struct.new(
12503
+ :errors)
12504
+ SENSITIVE = []
12505
+ include Aws::Structure
12506
+ end
12507
+
12508
+ # @note When making an API call, you may pass UpdateColumnStatisticsForTableRequest
12509
+ # data as a hash:
12510
+ #
12511
+ # {
12512
+ # catalog_id: "CatalogIdString",
12513
+ # database_name: "NameString", # required
12514
+ # table_name: "NameString", # required
12515
+ # column_statistics_list: [ # required
12516
+ # {
12517
+ # column_name: "NameString", # required
12518
+ # column_type: "TypeString", # required
12519
+ # analyzed_time: Time.now, # required
12520
+ # statistics_data: { # required
12521
+ # type: "BOOLEAN", # required, accepts BOOLEAN, DATE, DECIMAL, DOUBLE, LONG, STRING, BINARY
12522
+ # boolean_column_statistics_data: {
12523
+ # number_of_trues: 1, # required
12524
+ # number_of_falses: 1, # required
12525
+ # number_of_nulls: 1, # required
12526
+ # },
12527
+ # date_column_statistics_data: {
12528
+ # minimum_value: Time.now,
12529
+ # maximum_value: Time.now,
12530
+ # number_of_nulls: 1, # required
12531
+ # number_of_distinct_values: 1, # required
12532
+ # },
12533
+ # decimal_column_statistics_data: {
12534
+ # minimum_value: {
12535
+ # unscaled_value: "data", # required
12536
+ # scale: 1, # required
12537
+ # },
12538
+ # maximum_value: {
12539
+ # unscaled_value: "data", # required
12540
+ # scale: 1, # required
12541
+ # },
12542
+ # number_of_nulls: 1, # required
12543
+ # number_of_distinct_values: 1, # required
12544
+ # },
12545
+ # double_column_statistics_data: {
12546
+ # minimum_value: 1.0,
12547
+ # maximum_value: 1.0,
12548
+ # number_of_nulls: 1, # required
12549
+ # number_of_distinct_values: 1, # required
12550
+ # },
12551
+ # long_column_statistics_data: {
12552
+ # minimum_value: 1,
12553
+ # maximum_value: 1,
12554
+ # number_of_nulls: 1, # required
12555
+ # number_of_distinct_values: 1, # required
12556
+ # },
12557
+ # string_column_statistics_data: {
12558
+ # maximum_length: 1, # required
12559
+ # average_length: 1.0, # required
12560
+ # number_of_nulls: 1, # required
12561
+ # number_of_distinct_values: 1, # required
12562
+ # },
12563
+ # binary_column_statistics_data: {
12564
+ # maximum_length: 1, # required
12565
+ # average_length: 1.0, # required
12566
+ # number_of_nulls: 1, # required
12567
+ # },
12568
+ # },
12569
+ # },
12570
+ # ],
12571
+ # }
12572
+ #
12573
+ # @!attribute [rw] catalog_id
12574
+ # The ID of the Data Catalog where the partitions in question reside.
12575
+ # If none is supplied, the AWS account ID is used by default.
12576
+ # @return [String]
12577
+ #
12578
+ # @!attribute [rw] database_name
12579
+ # The name of the catalog database where the partitions reside.
12580
+ # @return [String]
12581
+ #
12582
+ # @!attribute [rw] table_name
12583
+ # The name of the partitions' table.
12584
+ # @return [String]
12585
+ #
12586
+ # @!attribute [rw] column_statistics_list
12587
+ # A list of the column statistics.
12588
+ # @return [Array<Types::ColumnStatistics>]
12589
+ #
12590
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateColumnStatisticsForTableRequest AWS API Documentation
12591
+ #
12592
+ class UpdateColumnStatisticsForTableRequest < Struct.new(
12593
+ :catalog_id,
12594
+ :database_name,
12595
+ :table_name,
12596
+ :column_statistics_list)
12597
+ SENSITIVE = []
12598
+ include Aws::Structure
12599
+ end
12600
+
12601
+ # @!attribute [rw] errors
12602
+ # List of ColumnStatisticsErrors.
12603
+ # @return [Array<Types::ColumnStatisticsError>]
12604
+ #
12605
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateColumnStatisticsForTableResponse AWS API Documentation
12606
+ #
12607
+ class UpdateColumnStatisticsForTableResponse < Struct.new(
12608
+ :errors)
12609
+ SENSITIVE = []
12610
+ include Aws::Structure
12611
+ end
12612
+
11669
12613
  # @note When making an API call, you may pass UpdateConnectionRequest
11670
12614
  # data as a hash:
11671
12615
  #