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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 249550e9b2b23a6243890d14b22554003f5be317004e1a35d0b7d9fb34a16a05
4
- data.tar.gz: 111ec4bad590fc5cf86fdaaa817093125344f6d3216db1f44cb73d9e7229228a
3
+ metadata.gz: e09db8b67f9a794ed1214e4505295f4c884aca0b412659b87b3a9cee400f71e2
4
+ data.tar.gz: 9f80f6916193a2834db979a94809b618e4eb9a4059fe13edbbc65aba0d6c7ab4
5
5
  SHA512:
6
- metadata.gz: f81c38f8c1c7cab276ef726b141fbb3eddf8a7812eebfffaaa4ad3c9035292bbef3772f932c88315269fb3eae3bb67f2e0bed68ccb6d48bf1c5b9ac8f543eded
7
- data.tar.gz: 4eb0bd32a35fb5d69c344fee364cf47305fd5ad9c0b83b70408916bda38961a8e7925937d2d21a6ebf7b999488afaa31277ea2427702608fc8fcffc15f7eaf0e
6
+ metadata.gz: 867ff26f25c06f30c9d19d7c799390e24a90ef4c12db4619dbe80b87903682a93059f963b754d7769875a35ce90ee5e6db1edff75c36655a584732ab374c4e61
7
+ data.tar.gz: 1b7458934e06a27668abdcc5a729c766e36b41dcfebdfe16328c9e0eab069c97d5e8faa1fe25610e65932abfceed1d93f8abe23d6dbca6260a347182a4f5afd1
@@ -47,6 +47,6 @@ require_relative 'aws-sdk-glue/customizations'
47
47
  # @service
48
48
  module Aws::Glue
49
49
 
50
- GEM_VERSION = '1.60.0'
50
+ GEM_VERSION = '1.61.0'
51
51
 
52
52
  end
@@ -2600,6 +2600,80 @@ module Aws::Glue
2600
2600
  req.send_request(options)
2601
2601
  end
2602
2602
 
2603
+ # Delete the partition column statistics of a column.
2604
+ #
2605
+ # @option params [String] :catalog_id
2606
+ # The ID of the Data Catalog where the partitions in question reside. If
2607
+ # none is supplied, the AWS account ID is used by default.
2608
+ #
2609
+ # @option params [required, String] :database_name
2610
+ # The name of the catalog database where the partitions reside.
2611
+ #
2612
+ # @option params [required, String] :table_name
2613
+ # The name of the partitions' table.
2614
+ #
2615
+ # @option params [required, Array<String>] :partition_values
2616
+ # A list of partition values identifying the partition.
2617
+ #
2618
+ # @option params [required, String] :column_name
2619
+ # Name of the column.
2620
+ #
2621
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2622
+ #
2623
+ # @example Request syntax with placeholder values
2624
+ #
2625
+ # resp = client.delete_column_statistics_for_partition({
2626
+ # catalog_id: "CatalogIdString",
2627
+ # database_name: "NameString", # required
2628
+ # table_name: "NameString", # required
2629
+ # partition_values: ["ValueString"], # required
2630
+ # column_name: "NameString", # required
2631
+ # })
2632
+ #
2633
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteColumnStatisticsForPartition AWS API Documentation
2634
+ #
2635
+ # @overload delete_column_statistics_for_partition(params = {})
2636
+ # @param [Hash] params ({})
2637
+ def delete_column_statistics_for_partition(params = {}, options = {})
2638
+ req = build_request(:delete_column_statistics_for_partition, params)
2639
+ req.send_request(options)
2640
+ end
2641
+
2642
+ # Retrieves table statistics of columns.
2643
+ #
2644
+ # @option params [String] :catalog_id
2645
+ # The ID of the Data Catalog where the partitions in question reside. If
2646
+ # none is supplied, the AWS account ID is used by default.
2647
+ #
2648
+ # @option params [required, String] :database_name
2649
+ # The name of the catalog database where the partitions reside.
2650
+ #
2651
+ # @option params [required, String] :table_name
2652
+ # The name of the partitions' table.
2653
+ #
2654
+ # @option params [required, String] :column_name
2655
+ # The name of the column.
2656
+ #
2657
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2658
+ #
2659
+ # @example Request syntax with placeholder values
2660
+ #
2661
+ # resp = client.delete_column_statistics_for_table({
2662
+ # catalog_id: "CatalogIdString",
2663
+ # database_name: "NameString", # required
2664
+ # table_name: "NameString", # required
2665
+ # column_name: "NameString", # required
2666
+ # })
2667
+ #
2668
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteColumnStatisticsForTable AWS API Documentation
2669
+ #
2670
+ # @overload delete_column_statistics_for_table(params = {})
2671
+ # @param [Hash] params ({})
2672
+ def delete_column_statistics_for_table(params = {}, options = {})
2673
+ req = build_request(:delete_column_statistics_for_table, params)
2674
+ req.send_request(options)
2675
+ end
2676
+
2603
2677
  # Deletes a connection from the Data Catalog.
2604
2678
  #
2605
2679
  # @option params [String] :catalog_id
@@ -3182,6 +3256,166 @@ module Aws::Glue
3182
3256
  req.send_request(options)
3183
3257
  end
3184
3258
 
3259
+ # Retrieves partition statistics of columns.
3260
+ #
3261
+ # @option params [String] :catalog_id
3262
+ # The ID of the Data Catalog where the partitions in question reside. If
3263
+ # none is supplied, the AWS account ID is used by default.
3264
+ #
3265
+ # @option params [required, String] :database_name
3266
+ # The name of the catalog database where the partitions reside.
3267
+ #
3268
+ # @option params [required, String] :table_name
3269
+ # The name of the partitions' table.
3270
+ #
3271
+ # @option params [required, Array<String>] :partition_values
3272
+ # A list of partition values identifying the partition.
3273
+ #
3274
+ # @option params [required, Array<String>] :column_names
3275
+ # A list of the column names.
3276
+ #
3277
+ # @return [Types::GetColumnStatisticsForPartitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3278
+ #
3279
+ # * {Types::GetColumnStatisticsForPartitionResponse#column_statistics_list #column_statistics_list} => Array&lt;Types::ColumnStatistics&gt;
3280
+ # * {Types::GetColumnStatisticsForPartitionResponse#errors #errors} => Array&lt;Types::ColumnError&gt;
3281
+ #
3282
+ # @example Request syntax with placeholder values
3283
+ #
3284
+ # resp = client.get_column_statistics_for_partition({
3285
+ # catalog_id: "CatalogIdString",
3286
+ # database_name: "NameString", # required
3287
+ # table_name: "NameString", # required
3288
+ # partition_values: ["ValueString"], # required
3289
+ # column_names: ["NameString"], # required
3290
+ # })
3291
+ #
3292
+ # @example Response structure
3293
+ #
3294
+ # resp.column_statistics_list #=> Array
3295
+ # resp.column_statistics_list[0].column_name #=> String
3296
+ # resp.column_statistics_list[0].column_type #=> String
3297
+ # resp.column_statistics_list[0].analyzed_time #=> Time
3298
+ # resp.column_statistics_list[0].statistics_data.type #=> String, one of "BOOLEAN", "DATE", "DECIMAL", "DOUBLE", "LONG", "STRING", "BINARY"
3299
+ # resp.column_statistics_list[0].statistics_data.boolean_column_statistics_data.number_of_trues #=> Integer
3300
+ # resp.column_statistics_list[0].statistics_data.boolean_column_statistics_data.number_of_falses #=> Integer
3301
+ # resp.column_statistics_list[0].statistics_data.boolean_column_statistics_data.number_of_nulls #=> Integer
3302
+ # resp.column_statistics_list[0].statistics_data.date_column_statistics_data.minimum_value #=> Time
3303
+ # resp.column_statistics_list[0].statistics_data.date_column_statistics_data.maximum_value #=> Time
3304
+ # resp.column_statistics_list[0].statistics_data.date_column_statistics_data.number_of_nulls #=> Integer
3305
+ # resp.column_statistics_list[0].statistics_data.date_column_statistics_data.number_of_distinct_values #=> Integer
3306
+ # resp.column_statistics_list[0].statistics_data.decimal_column_statistics_data.minimum_value.unscaled_value #=> String
3307
+ # resp.column_statistics_list[0].statistics_data.decimal_column_statistics_data.minimum_value.scale #=> Integer
3308
+ # resp.column_statistics_list[0].statistics_data.decimal_column_statistics_data.maximum_value.unscaled_value #=> String
3309
+ # resp.column_statistics_list[0].statistics_data.decimal_column_statistics_data.maximum_value.scale #=> Integer
3310
+ # resp.column_statistics_list[0].statistics_data.decimal_column_statistics_data.number_of_nulls #=> Integer
3311
+ # resp.column_statistics_list[0].statistics_data.decimal_column_statistics_data.number_of_distinct_values #=> Integer
3312
+ # resp.column_statistics_list[0].statistics_data.double_column_statistics_data.minimum_value #=> Float
3313
+ # resp.column_statistics_list[0].statistics_data.double_column_statistics_data.maximum_value #=> Float
3314
+ # resp.column_statistics_list[0].statistics_data.double_column_statistics_data.number_of_nulls #=> Integer
3315
+ # resp.column_statistics_list[0].statistics_data.double_column_statistics_data.number_of_distinct_values #=> Integer
3316
+ # resp.column_statistics_list[0].statistics_data.long_column_statistics_data.minimum_value #=> Integer
3317
+ # resp.column_statistics_list[0].statistics_data.long_column_statistics_data.maximum_value #=> Integer
3318
+ # resp.column_statistics_list[0].statistics_data.long_column_statistics_data.number_of_nulls #=> Integer
3319
+ # resp.column_statistics_list[0].statistics_data.long_column_statistics_data.number_of_distinct_values #=> Integer
3320
+ # resp.column_statistics_list[0].statistics_data.string_column_statistics_data.maximum_length #=> Integer
3321
+ # resp.column_statistics_list[0].statistics_data.string_column_statistics_data.average_length #=> Float
3322
+ # resp.column_statistics_list[0].statistics_data.string_column_statistics_data.number_of_nulls #=> Integer
3323
+ # resp.column_statistics_list[0].statistics_data.string_column_statistics_data.number_of_distinct_values #=> Integer
3324
+ # resp.column_statistics_list[0].statistics_data.binary_column_statistics_data.maximum_length #=> Integer
3325
+ # resp.column_statistics_list[0].statistics_data.binary_column_statistics_data.average_length #=> Float
3326
+ # resp.column_statistics_list[0].statistics_data.binary_column_statistics_data.number_of_nulls #=> Integer
3327
+ # resp.errors #=> Array
3328
+ # resp.errors[0].column_name #=> String
3329
+ # resp.errors[0].error.error_code #=> String
3330
+ # resp.errors[0].error.error_message #=> String
3331
+ #
3332
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetColumnStatisticsForPartition AWS API Documentation
3333
+ #
3334
+ # @overload get_column_statistics_for_partition(params = {})
3335
+ # @param [Hash] params ({})
3336
+ def get_column_statistics_for_partition(params = {}, options = {})
3337
+ req = build_request(:get_column_statistics_for_partition, params)
3338
+ req.send_request(options)
3339
+ end
3340
+
3341
+ # Retrieves table statistics of columns.
3342
+ #
3343
+ # @option params [String] :catalog_id
3344
+ # The ID of the Data Catalog where the partitions in question reside. If
3345
+ # none is supplied, the AWS account ID is used by default.
3346
+ #
3347
+ # @option params [required, String] :database_name
3348
+ # The name of the catalog database where the partitions reside.
3349
+ #
3350
+ # @option params [required, String] :table_name
3351
+ # The name of the partitions' table.
3352
+ #
3353
+ # @option params [required, Array<String>] :column_names
3354
+ # A list of the column names.
3355
+ #
3356
+ # @return [Types::GetColumnStatisticsForTableResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3357
+ #
3358
+ # * {Types::GetColumnStatisticsForTableResponse#column_statistics_list #column_statistics_list} => Array&lt;Types::ColumnStatistics&gt;
3359
+ # * {Types::GetColumnStatisticsForTableResponse#errors #errors} => Array&lt;Types::ColumnError&gt;
3360
+ #
3361
+ # @example Request syntax with placeholder values
3362
+ #
3363
+ # resp = client.get_column_statistics_for_table({
3364
+ # catalog_id: "CatalogIdString",
3365
+ # database_name: "NameString", # required
3366
+ # table_name: "NameString", # required
3367
+ # column_names: ["NameString"], # required
3368
+ # })
3369
+ #
3370
+ # @example Response structure
3371
+ #
3372
+ # resp.column_statistics_list #=> Array
3373
+ # resp.column_statistics_list[0].column_name #=> String
3374
+ # resp.column_statistics_list[0].column_type #=> String
3375
+ # resp.column_statistics_list[0].analyzed_time #=> Time
3376
+ # resp.column_statistics_list[0].statistics_data.type #=> String, one of "BOOLEAN", "DATE", "DECIMAL", "DOUBLE", "LONG", "STRING", "BINARY"
3377
+ # resp.column_statistics_list[0].statistics_data.boolean_column_statistics_data.number_of_trues #=> Integer
3378
+ # resp.column_statistics_list[0].statistics_data.boolean_column_statistics_data.number_of_falses #=> Integer
3379
+ # resp.column_statistics_list[0].statistics_data.boolean_column_statistics_data.number_of_nulls #=> Integer
3380
+ # resp.column_statistics_list[0].statistics_data.date_column_statistics_data.minimum_value #=> Time
3381
+ # resp.column_statistics_list[0].statistics_data.date_column_statistics_data.maximum_value #=> Time
3382
+ # resp.column_statistics_list[0].statistics_data.date_column_statistics_data.number_of_nulls #=> Integer
3383
+ # resp.column_statistics_list[0].statistics_data.date_column_statistics_data.number_of_distinct_values #=> Integer
3384
+ # resp.column_statistics_list[0].statistics_data.decimal_column_statistics_data.minimum_value.unscaled_value #=> String
3385
+ # resp.column_statistics_list[0].statistics_data.decimal_column_statistics_data.minimum_value.scale #=> Integer
3386
+ # resp.column_statistics_list[0].statistics_data.decimal_column_statistics_data.maximum_value.unscaled_value #=> String
3387
+ # resp.column_statistics_list[0].statistics_data.decimal_column_statistics_data.maximum_value.scale #=> Integer
3388
+ # resp.column_statistics_list[0].statistics_data.decimal_column_statistics_data.number_of_nulls #=> Integer
3389
+ # resp.column_statistics_list[0].statistics_data.decimal_column_statistics_data.number_of_distinct_values #=> Integer
3390
+ # resp.column_statistics_list[0].statistics_data.double_column_statistics_data.minimum_value #=> Float
3391
+ # resp.column_statistics_list[0].statistics_data.double_column_statistics_data.maximum_value #=> Float
3392
+ # resp.column_statistics_list[0].statistics_data.double_column_statistics_data.number_of_nulls #=> Integer
3393
+ # resp.column_statistics_list[0].statistics_data.double_column_statistics_data.number_of_distinct_values #=> Integer
3394
+ # resp.column_statistics_list[0].statistics_data.long_column_statistics_data.minimum_value #=> Integer
3395
+ # resp.column_statistics_list[0].statistics_data.long_column_statistics_data.maximum_value #=> Integer
3396
+ # resp.column_statistics_list[0].statistics_data.long_column_statistics_data.number_of_nulls #=> Integer
3397
+ # resp.column_statistics_list[0].statistics_data.long_column_statistics_data.number_of_distinct_values #=> Integer
3398
+ # resp.column_statistics_list[0].statistics_data.string_column_statistics_data.maximum_length #=> Integer
3399
+ # resp.column_statistics_list[0].statistics_data.string_column_statistics_data.average_length #=> Float
3400
+ # resp.column_statistics_list[0].statistics_data.string_column_statistics_data.number_of_nulls #=> Integer
3401
+ # resp.column_statistics_list[0].statistics_data.string_column_statistics_data.number_of_distinct_values #=> Integer
3402
+ # resp.column_statistics_list[0].statistics_data.binary_column_statistics_data.maximum_length #=> Integer
3403
+ # resp.column_statistics_list[0].statistics_data.binary_column_statistics_data.average_length #=> Float
3404
+ # resp.column_statistics_list[0].statistics_data.binary_column_statistics_data.number_of_nulls #=> Integer
3405
+ # resp.errors #=> Array
3406
+ # resp.errors[0].column_name #=> String
3407
+ # resp.errors[0].error.error_code #=> String
3408
+ # resp.errors[0].error.error_message #=> String
3409
+ #
3410
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetColumnStatisticsForTable AWS API Documentation
3411
+ #
3412
+ # @overload get_column_statistics_for_table(params = {})
3413
+ # @param [Hash] params ({})
3414
+ def get_column_statistics_for_table(params = {}, options = {})
3415
+ req = build_request(:get_column_statistics_for_table, params)
3416
+ req.send_request(options)
3417
+ end
3418
+
3185
3419
  # Retrieves a connection definition from the Data Catalog.
3186
3420
  #
3187
3421
  # @option params [String] :catalog_id
@@ -7304,6 +7538,270 @@ module Aws::Glue
7304
7538
  req.send_request(options)
7305
7539
  end
7306
7540
 
7541
+ # Creates or updates partition statistics of columns.
7542
+ #
7543
+ # @option params [String] :catalog_id
7544
+ # The ID of the Data Catalog where the partitions in question reside. If
7545
+ # none is supplied, the AWS account ID is used by default.
7546
+ #
7547
+ # @option params [required, String] :database_name
7548
+ # The name of the catalog database where the partitions reside.
7549
+ #
7550
+ # @option params [required, String] :table_name
7551
+ # The name of the partitions' table.
7552
+ #
7553
+ # @option params [required, Array<String>] :partition_values
7554
+ # A list of partition values identifying the partition.
7555
+ #
7556
+ # @option params [required, Array<Types::ColumnStatistics>] :column_statistics_list
7557
+ # A list of the column statistics.
7558
+ #
7559
+ # @return [Types::UpdateColumnStatisticsForPartitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7560
+ #
7561
+ # * {Types::UpdateColumnStatisticsForPartitionResponse#errors #errors} => Array&lt;Types::ColumnStatisticsError&gt;
7562
+ #
7563
+ # @example Request syntax with placeholder values
7564
+ #
7565
+ # resp = client.update_column_statistics_for_partition({
7566
+ # catalog_id: "CatalogIdString",
7567
+ # database_name: "NameString", # required
7568
+ # table_name: "NameString", # required
7569
+ # partition_values: ["ValueString"], # required
7570
+ # column_statistics_list: [ # required
7571
+ # {
7572
+ # column_name: "NameString", # required
7573
+ # column_type: "TypeString", # required
7574
+ # analyzed_time: Time.now, # required
7575
+ # statistics_data: { # required
7576
+ # type: "BOOLEAN", # required, accepts BOOLEAN, DATE, DECIMAL, DOUBLE, LONG, STRING, BINARY
7577
+ # boolean_column_statistics_data: {
7578
+ # number_of_trues: 1, # required
7579
+ # number_of_falses: 1, # required
7580
+ # number_of_nulls: 1, # required
7581
+ # },
7582
+ # date_column_statistics_data: {
7583
+ # minimum_value: Time.now,
7584
+ # maximum_value: Time.now,
7585
+ # number_of_nulls: 1, # required
7586
+ # number_of_distinct_values: 1, # required
7587
+ # },
7588
+ # decimal_column_statistics_data: {
7589
+ # minimum_value: {
7590
+ # unscaled_value: "data", # required
7591
+ # scale: 1, # required
7592
+ # },
7593
+ # maximum_value: {
7594
+ # unscaled_value: "data", # required
7595
+ # scale: 1, # required
7596
+ # },
7597
+ # number_of_nulls: 1, # required
7598
+ # number_of_distinct_values: 1, # required
7599
+ # },
7600
+ # double_column_statistics_data: {
7601
+ # minimum_value: 1.0,
7602
+ # maximum_value: 1.0,
7603
+ # number_of_nulls: 1, # required
7604
+ # number_of_distinct_values: 1, # required
7605
+ # },
7606
+ # long_column_statistics_data: {
7607
+ # minimum_value: 1,
7608
+ # maximum_value: 1,
7609
+ # number_of_nulls: 1, # required
7610
+ # number_of_distinct_values: 1, # required
7611
+ # },
7612
+ # string_column_statistics_data: {
7613
+ # maximum_length: 1, # required
7614
+ # average_length: 1.0, # required
7615
+ # number_of_nulls: 1, # required
7616
+ # number_of_distinct_values: 1, # required
7617
+ # },
7618
+ # binary_column_statistics_data: {
7619
+ # maximum_length: 1, # required
7620
+ # average_length: 1.0, # required
7621
+ # number_of_nulls: 1, # required
7622
+ # },
7623
+ # },
7624
+ # },
7625
+ # ],
7626
+ # })
7627
+ #
7628
+ # @example Response structure
7629
+ #
7630
+ # resp.errors #=> Array
7631
+ # resp.errors[0].column_statistics.column_name #=> String
7632
+ # resp.errors[0].column_statistics.column_type #=> String
7633
+ # resp.errors[0].column_statistics.analyzed_time #=> Time
7634
+ # resp.errors[0].column_statistics.statistics_data.type #=> String, one of "BOOLEAN", "DATE", "DECIMAL", "DOUBLE", "LONG", "STRING", "BINARY"
7635
+ # resp.errors[0].column_statistics.statistics_data.boolean_column_statistics_data.number_of_trues #=> Integer
7636
+ # resp.errors[0].column_statistics.statistics_data.boolean_column_statistics_data.number_of_falses #=> Integer
7637
+ # resp.errors[0].column_statistics.statistics_data.boolean_column_statistics_data.number_of_nulls #=> Integer
7638
+ # resp.errors[0].column_statistics.statistics_data.date_column_statistics_data.minimum_value #=> Time
7639
+ # resp.errors[0].column_statistics.statistics_data.date_column_statistics_data.maximum_value #=> Time
7640
+ # resp.errors[0].column_statistics.statistics_data.date_column_statistics_data.number_of_nulls #=> Integer
7641
+ # resp.errors[0].column_statistics.statistics_data.date_column_statistics_data.number_of_distinct_values #=> Integer
7642
+ # resp.errors[0].column_statistics.statistics_data.decimal_column_statistics_data.minimum_value.unscaled_value #=> String
7643
+ # resp.errors[0].column_statistics.statistics_data.decimal_column_statistics_data.minimum_value.scale #=> Integer
7644
+ # resp.errors[0].column_statistics.statistics_data.decimal_column_statistics_data.maximum_value.unscaled_value #=> String
7645
+ # resp.errors[0].column_statistics.statistics_data.decimal_column_statistics_data.maximum_value.scale #=> Integer
7646
+ # resp.errors[0].column_statistics.statistics_data.decimal_column_statistics_data.number_of_nulls #=> Integer
7647
+ # resp.errors[0].column_statistics.statistics_data.decimal_column_statistics_data.number_of_distinct_values #=> Integer
7648
+ # resp.errors[0].column_statistics.statistics_data.double_column_statistics_data.minimum_value #=> Float
7649
+ # resp.errors[0].column_statistics.statistics_data.double_column_statistics_data.maximum_value #=> Float
7650
+ # resp.errors[0].column_statistics.statistics_data.double_column_statistics_data.number_of_nulls #=> Integer
7651
+ # resp.errors[0].column_statistics.statistics_data.double_column_statistics_data.number_of_distinct_values #=> Integer
7652
+ # resp.errors[0].column_statistics.statistics_data.long_column_statistics_data.minimum_value #=> Integer
7653
+ # resp.errors[0].column_statistics.statistics_data.long_column_statistics_data.maximum_value #=> Integer
7654
+ # resp.errors[0].column_statistics.statistics_data.long_column_statistics_data.number_of_nulls #=> Integer
7655
+ # resp.errors[0].column_statistics.statistics_data.long_column_statistics_data.number_of_distinct_values #=> Integer
7656
+ # resp.errors[0].column_statistics.statistics_data.string_column_statistics_data.maximum_length #=> Integer
7657
+ # resp.errors[0].column_statistics.statistics_data.string_column_statistics_data.average_length #=> Float
7658
+ # resp.errors[0].column_statistics.statistics_data.string_column_statistics_data.number_of_nulls #=> Integer
7659
+ # resp.errors[0].column_statistics.statistics_data.string_column_statistics_data.number_of_distinct_values #=> Integer
7660
+ # resp.errors[0].column_statistics.statistics_data.binary_column_statistics_data.maximum_length #=> Integer
7661
+ # resp.errors[0].column_statistics.statistics_data.binary_column_statistics_data.average_length #=> Float
7662
+ # resp.errors[0].column_statistics.statistics_data.binary_column_statistics_data.number_of_nulls #=> Integer
7663
+ # resp.errors[0].error.error_code #=> String
7664
+ # resp.errors[0].error.error_message #=> String
7665
+ #
7666
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateColumnStatisticsForPartition AWS API Documentation
7667
+ #
7668
+ # @overload update_column_statistics_for_partition(params = {})
7669
+ # @param [Hash] params ({})
7670
+ def update_column_statistics_for_partition(params = {}, options = {})
7671
+ req = build_request(:update_column_statistics_for_partition, params)
7672
+ req.send_request(options)
7673
+ end
7674
+
7675
+ # Creates or updates table statistics of columns.
7676
+ #
7677
+ # @option params [String] :catalog_id
7678
+ # The ID of the Data Catalog where the partitions in question reside. If
7679
+ # none is supplied, the AWS account ID is used by default.
7680
+ #
7681
+ # @option params [required, String] :database_name
7682
+ # The name of the catalog database where the partitions reside.
7683
+ #
7684
+ # @option params [required, String] :table_name
7685
+ # The name of the partitions' table.
7686
+ #
7687
+ # @option params [required, Array<Types::ColumnStatistics>] :column_statistics_list
7688
+ # A list of the column statistics.
7689
+ #
7690
+ # @return [Types::UpdateColumnStatisticsForTableResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7691
+ #
7692
+ # * {Types::UpdateColumnStatisticsForTableResponse#errors #errors} => Array&lt;Types::ColumnStatisticsError&gt;
7693
+ #
7694
+ # @example Request syntax with placeholder values
7695
+ #
7696
+ # resp = client.update_column_statistics_for_table({
7697
+ # catalog_id: "CatalogIdString",
7698
+ # database_name: "NameString", # required
7699
+ # table_name: "NameString", # required
7700
+ # column_statistics_list: [ # required
7701
+ # {
7702
+ # column_name: "NameString", # required
7703
+ # column_type: "TypeString", # required
7704
+ # analyzed_time: Time.now, # required
7705
+ # statistics_data: { # required
7706
+ # type: "BOOLEAN", # required, accepts BOOLEAN, DATE, DECIMAL, DOUBLE, LONG, STRING, BINARY
7707
+ # boolean_column_statistics_data: {
7708
+ # number_of_trues: 1, # required
7709
+ # number_of_falses: 1, # required
7710
+ # number_of_nulls: 1, # required
7711
+ # },
7712
+ # date_column_statistics_data: {
7713
+ # minimum_value: Time.now,
7714
+ # maximum_value: Time.now,
7715
+ # number_of_nulls: 1, # required
7716
+ # number_of_distinct_values: 1, # required
7717
+ # },
7718
+ # decimal_column_statistics_data: {
7719
+ # minimum_value: {
7720
+ # unscaled_value: "data", # required
7721
+ # scale: 1, # required
7722
+ # },
7723
+ # maximum_value: {
7724
+ # unscaled_value: "data", # required
7725
+ # scale: 1, # required
7726
+ # },
7727
+ # number_of_nulls: 1, # required
7728
+ # number_of_distinct_values: 1, # required
7729
+ # },
7730
+ # double_column_statistics_data: {
7731
+ # minimum_value: 1.0,
7732
+ # maximum_value: 1.0,
7733
+ # number_of_nulls: 1, # required
7734
+ # number_of_distinct_values: 1, # required
7735
+ # },
7736
+ # long_column_statistics_data: {
7737
+ # minimum_value: 1,
7738
+ # maximum_value: 1,
7739
+ # number_of_nulls: 1, # required
7740
+ # number_of_distinct_values: 1, # required
7741
+ # },
7742
+ # string_column_statistics_data: {
7743
+ # maximum_length: 1, # required
7744
+ # average_length: 1.0, # required
7745
+ # number_of_nulls: 1, # required
7746
+ # number_of_distinct_values: 1, # required
7747
+ # },
7748
+ # binary_column_statistics_data: {
7749
+ # maximum_length: 1, # required
7750
+ # average_length: 1.0, # required
7751
+ # number_of_nulls: 1, # required
7752
+ # },
7753
+ # },
7754
+ # },
7755
+ # ],
7756
+ # })
7757
+ #
7758
+ # @example Response structure
7759
+ #
7760
+ # resp.errors #=> Array
7761
+ # resp.errors[0].column_statistics.column_name #=> String
7762
+ # resp.errors[0].column_statistics.column_type #=> String
7763
+ # resp.errors[0].column_statistics.analyzed_time #=> Time
7764
+ # resp.errors[0].column_statistics.statistics_data.type #=> String, one of "BOOLEAN", "DATE", "DECIMAL", "DOUBLE", "LONG", "STRING", "BINARY"
7765
+ # resp.errors[0].column_statistics.statistics_data.boolean_column_statistics_data.number_of_trues #=> Integer
7766
+ # resp.errors[0].column_statistics.statistics_data.boolean_column_statistics_data.number_of_falses #=> Integer
7767
+ # resp.errors[0].column_statistics.statistics_data.boolean_column_statistics_data.number_of_nulls #=> Integer
7768
+ # resp.errors[0].column_statistics.statistics_data.date_column_statistics_data.minimum_value #=> Time
7769
+ # resp.errors[0].column_statistics.statistics_data.date_column_statistics_data.maximum_value #=> Time
7770
+ # resp.errors[0].column_statistics.statistics_data.date_column_statistics_data.number_of_nulls #=> Integer
7771
+ # resp.errors[0].column_statistics.statistics_data.date_column_statistics_data.number_of_distinct_values #=> Integer
7772
+ # resp.errors[0].column_statistics.statistics_data.decimal_column_statistics_data.minimum_value.unscaled_value #=> String
7773
+ # resp.errors[0].column_statistics.statistics_data.decimal_column_statistics_data.minimum_value.scale #=> Integer
7774
+ # resp.errors[0].column_statistics.statistics_data.decimal_column_statistics_data.maximum_value.unscaled_value #=> String
7775
+ # resp.errors[0].column_statistics.statistics_data.decimal_column_statistics_data.maximum_value.scale #=> Integer
7776
+ # resp.errors[0].column_statistics.statistics_data.decimal_column_statistics_data.number_of_nulls #=> Integer
7777
+ # resp.errors[0].column_statistics.statistics_data.decimal_column_statistics_data.number_of_distinct_values #=> Integer
7778
+ # resp.errors[0].column_statistics.statistics_data.double_column_statistics_data.minimum_value #=> Float
7779
+ # resp.errors[0].column_statistics.statistics_data.double_column_statistics_data.maximum_value #=> Float
7780
+ # resp.errors[0].column_statistics.statistics_data.double_column_statistics_data.number_of_nulls #=> Integer
7781
+ # resp.errors[0].column_statistics.statistics_data.double_column_statistics_data.number_of_distinct_values #=> Integer
7782
+ # resp.errors[0].column_statistics.statistics_data.long_column_statistics_data.minimum_value #=> Integer
7783
+ # resp.errors[0].column_statistics.statistics_data.long_column_statistics_data.maximum_value #=> Integer
7784
+ # resp.errors[0].column_statistics.statistics_data.long_column_statistics_data.number_of_nulls #=> Integer
7785
+ # resp.errors[0].column_statistics.statistics_data.long_column_statistics_data.number_of_distinct_values #=> Integer
7786
+ # resp.errors[0].column_statistics.statistics_data.string_column_statistics_data.maximum_length #=> Integer
7787
+ # resp.errors[0].column_statistics.statistics_data.string_column_statistics_data.average_length #=> Float
7788
+ # resp.errors[0].column_statistics.statistics_data.string_column_statistics_data.number_of_nulls #=> Integer
7789
+ # resp.errors[0].column_statistics.statistics_data.string_column_statistics_data.number_of_distinct_values #=> Integer
7790
+ # resp.errors[0].column_statistics.statistics_data.binary_column_statistics_data.maximum_length #=> Integer
7791
+ # resp.errors[0].column_statistics.statistics_data.binary_column_statistics_data.average_length #=> Float
7792
+ # resp.errors[0].column_statistics.statistics_data.binary_column_statistics_data.number_of_nulls #=> Integer
7793
+ # resp.errors[0].error.error_code #=> String
7794
+ # resp.errors[0].error.error_message #=> String
7795
+ #
7796
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateColumnStatisticsForTable AWS API Documentation
7797
+ #
7798
+ # @overload update_column_statistics_for_table(params = {})
7799
+ # @param [Hash] params ({})
7800
+ def update_column_statistics_for_table(params = {}, options = {})
7801
+ req = build_request(:update_column_statistics_for_table, params)
7802
+ req.send_request(options)
7803
+ end
7804
+
7307
7805
  # Updates a connection definition in the Data Catalog.
7308
7806
  #
7309
7807
  # @option params [String] :catalog_id
@@ -8169,7 +8667,7 @@ module Aws::Glue
8169
8667
  params: params,
8170
8668
  config: config)
8171
8669
  context[:gem_name] = 'aws-sdk-glue'
8172
- context[:gem_version] = '1.60.0'
8670
+ context[:gem_version] = '1.61.0'
8173
8671
  Seahorse::Client::Request.new(handlers, context)
8174
8672
  end
8175
8673