aws-sdk-glue 1.59.0 → 1.64.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4b9a3483b716e9a9341caa9faae43163757fb5db5e5dba7d91c08769d55b0881
4
- data.tar.gz: 06bba234dda6725f5c59f5d33be8f1de756c47fd2faaa2609da2b47a06476426
3
+ metadata.gz: ab5eeef64ca383c7da9754fc46ce6f8a1caf867503428e59d6c1e2573247c6a9
4
+ data.tar.gz: cf930aea3d580db8e6a8fb1246dfe33dc3987550009b1d58e1e280104c518491
5
5
  SHA512:
6
- metadata.gz: a36f4ad2947b0b75b49b092a8c264e29248e4b48c9ee3cd8573a912dc2857e058d49030f0e3a3cfd4c73a735cb8373f8f1f7ac72c2706dec90ebb34e21b65c88
7
- data.tar.gz: 7bbf7581419453aac764dff8f969e7a7bd47f3a6415212a090a3d25c1a36c08f872915efed015bf28ea82a2f1828dd97e9272b90667b1d3285085c6aa89f1a02
6
+ metadata.gz: 92fdb5e2811647b7c73ae044dccaf2f76084e31daf40ecd9fd4a5239a278c062d6f32963c942c324a063efb0de8dd4dae90685ba47985453726ba2887f1da123
7
+ data.tar.gz: 1bc1e2881596bbf4ecce7f2e337c7363d5e2e9d67e2af5d24f05eb21b0c8f691898fb16592f4440bba128bed5410c05904b9b3af3f629383ed974425cbac6a60
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -45,6 +47,6 @@ require_relative 'aws-sdk-glue/customizations'
45
47
  # @service
46
48
  module Aws::Glue
47
49
 
48
- GEM_VERSION = '1.59.0'
50
+ GEM_VERSION = '1.64.0'
49
51
 
50
52
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -886,6 +888,7 @@ module Aws::Glue
886
888
  # resp.partitions[0].parameters #=> Hash
887
889
  # resp.partitions[0].parameters["KeyString"] #=> String
888
890
  # resp.partitions[0].last_analyzed_time #=> Time
891
+ # resp.partitions[0].catalog_id #=> String
889
892
  # resp.unprocessed_keys #=> Array
890
893
  # resp.unprocessed_keys[0].values #=> Array
891
894
  # resp.unprocessed_keys[0].values[0] #=> String
@@ -1473,6 +1476,10 @@ module Aws::Glue
1473
1476
  # permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
1474
1477
  # },
1475
1478
  # ],
1479
+ # target_database: {
1480
+ # catalog_id: "CatalogIdString",
1481
+ # database_name: "NameString",
1482
+ # },
1476
1483
  # },
1477
1484
  # })
1478
1485
  #
@@ -2372,6 +2379,11 @@ module Aws::Glue
2372
2379
  # parameters: {
2373
2380
  # "KeyString" => "ParametersMapValue",
2374
2381
  # },
2382
+ # target_table: {
2383
+ # catalog_id: "CatalogIdString",
2384
+ # database_name: "NameString",
2385
+ # name: "NameString",
2386
+ # },
2375
2387
  # },
2376
2388
  # })
2377
2389
  #
@@ -2598,6 +2610,80 @@ module Aws::Glue
2598
2610
  req.send_request(options)
2599
2611
  end
2600
2612
 
2613
+ # Delete the partition column statistics of a column.
2614
+ #
2615
+ # @option params [String] :catalog_id
2616
+ # The ID of the Data Catalog where the partitions in question reside. If
2617
+ # none is supplied, the AWS account ID is used by default.
2618
+ #
2619
+ # @option params [required, String] :database_name
2620
+ # The name of the catalog database where the partitions reside.
2621
+ #
2622
+ # @option params [required, String] :table_name
2623
+ # The name of the partitions' table.
2624
+ #
2625
+ # @option params [required, Array<String>] :partition_values
2626
+ # A list of partition values identifying the partition.
2627
+ #
2628
+ # @option params [required, String] :column_name
2629
+ # Name of the column.
2630
+ #
2631
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2632
+ #
2633
+ # @example Request syntax with placeholder values
2634
+ #
2635
+ # resp = client.delete_column_statistics_for_partition({
2636
+ # catalog_id: "CatalogIdString",
2637
+ # database_name: "NameString", # required
2638
+ # table_name: "NameString", # required
2639
+ # partition_values: ["ValueString"], # required
2640
+ # column_name: "NameString", # required
2641
+ # })
2642
+ #
2643
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteColumnStatisticsForPartition AWS API Documentation
2644
+ #
2645
+ # @overload delete_column_statistics_for_partition(params = {})
2646
+ # @param [Hash] params ({})
2647
+ def delete_column_statistics_for_partition(params = {}, options = {})
2648
+ req = build_request(:delete_column_statistics_for_partition, params)
2649
+ req.send_request(options)
2650
+ end
2651
+
2652
+ # Retrieves table statistics of columns.
2653
+ #
2654
+ # @option params [String] :catalog_id
2655
+ # The ID of the Data Catalog where the partitions in question reside. If
2656
+ # none is supplied, the AWS account ID is used by default.
2657
+ #
2658
+ # @option params [required, String] :database_name
2659
+ # The name of the catalog database where the partitions reside.
2660
+ #
2661
+ # @option params [required, String] :table_name
2662
+ # The name of the partitions' table.
2663
+ #
2664
+ # @option params [required, String] :column_name
2665
+ # The name of the column.
2666
+ #
2667
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2668
+ #
2669
+ # @example Request syntax with placeholder values
2670
+ #
2671
+ # resp = client.delete_column_statistics_for_table({
2672
+ # catalog_id: "CatalogIdString",
2673
+ # database_name: "NameString", # required
2674
+ # table_name: "NameString", # required
2675
+ # column_name: "NameString", # required
2676
+ # })
2677
+ #
2678
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteColumnStatisticsForTable AWS API Documentation
2679
+ #
2680
+ # @overload delete_column_statistics_for_table(params = {})
2681
+ # @param [Hash] params ({})
2682
+ def delete_column_statistics_for_table(params = {}, options = {})
2683
+ req = build_request(:delete_column_statistics_for_table, params)
2684
+ req.send_request(options)
2685
+ end
2686
+
2601
2687
  # Deletes a connection from the Data Catalog.
2602
2688
  #
2603
2689
  # @option params [String] :catalog_id
@@ -2817,12 +2903,17 @@ module Aws::Glue
2817
2903
  # @option params [String] :policy_hash_condition
2818
2904
  # The hash value returned when this policy was set.
2819
2905
  #
2906
+ # @option params [String] :resource_arn
2907
+ # The ARN of the AWS Glue resource for the resource policy to be
2908
+ # deleted.
2909
+ #
2820
2910
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2821
2911
  #
2822
2912
  # @example Request syntax with placeholder values
2823
2913
  #
2824
2914
  # resp = client.delete_resource_policy({
2825
2915
  # policy_hash_condition: "HashString",
2916
+ # resource_arn: "GlueResourceArn",
2826
2917
  # })
2827
2918
  #
2828
2919
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteResourcePolicy AWS API Documentation
@@ -3180,6 +3271,166 @@ module Aws::Glue
3180
3271
  req.send_request(options)
3181
3272
  end
3182
3273
 
3274
+ # Retrieves partition statistics of columns.
3275
+ #
3276
+ # @option params [String] :catalog_id
3277
+ # The ID of the Data Catalog where the partitions in question reside. If
3278
+ # none is supplied, the AWS account ID is used by default.
3279
+ #
3280
+ # @option params [required, String] :database_name
3281
+ # The name of the catalog database where the partitions reside.
3282
+ #
3283
+ # @option params [required, String] :table_name
3284
+ # The name of the partitions' table.
3285
+ #
3286
+ # @option params [required, Array<String>] :partition_values
3287
+ # A list of partition values identifying the partition.
3288
+ #
3289
+ # @option params [required, Array<String>] :column_names
3290
+ # A list of the column names.
3291
+ #
3292
+ # @return [Types::GetColumnStatisticsForPartitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3293
+ #
3294
+ # * {Types::GetColumnStatisticsForPartitionResponse#column_statistics_list #column_statistics_list} => Array&lt;Types::ColumnStatistics&gt;
3295
+ # * {Types::GetColumnStatisticsForPartitionResponse#errors #errors} => Array&lt;Types::ColumnError&gt;
3296
+ #
3297
+ # @example Request syntax with placeholder values
3298
+ #
3299
+ # resp = client.get_column_statistics_for_partition({
3300
+ # catalog_id: "CatalogIdString",
3301
+ # database_name: "NameString", # required
3302
+ # table_name: "NameString", # required
3303
+ # partition_values: ["ValueString"], # required
3304
+ # column_names: ["NameString"], # required
3305
+ # })
3306
+ #
3307
+ # @example Response structure
3308
+ #
3309
+ # resp.column_statistics_list #=> Array
3310
+ # resp.column_statistics_list[0].column_name #=> String
3311
+ # resp.column_statistics_list[0].column_type #=> String
3312
+ # resp.column_statistics_list[0].analyzed_time #=> Time
3313
+ # resp.column_statistics_list[0].statistics_data.type #=> String, one of "BOOLEAN", "DATE", "DECIMAL", "DOUBLE", "LONG", "STRING", "BINARY"
3314
+ # resp.column_statistics_list[0].statistics_data.boolean_column_statistics_data.number_of_trues #=> Integer
3315
+ # resp.column_statistics_list[0].statistics_data.boolean_column_statistics_data.number_of_falses #=> Integer
3316
+ # resp.column_statistics_list[0].statistics_data.boolean_column_statistics_data.number_of_nulls #=> Integer
3317
+ # resp.column_statistics_list[0].statistics_data.date_column_statistics_data.minimum_value #=> Time
3318
+ # resp.column_statistics_list[0].statistics_data.date_column_statistics_data.maximum_value #=> Time
3319
+ # resp.column_statistics_list[0].statistics_data.date_column_statistics_data.number_of_nulls #=> Integer
3320
+ # resp.column_statistics_list[0].statistics_data.date_column_statistics_data.number_of_distinct_values #=> Integer
3321
+ # resp.column_statistics_list[0].statistics_data.decimal_column_statistics_data.minimum_value.unscaled_value #=> String
3322
+ # resp.column_statistics_list[0].statistics_data.decimal_column_statistics_data.minimum_value.scale #=> Integer
3323
+ # resp.column_statistics_list[0].statistics_data.decimal_column_statistics_data.maximum_value.unscaled_value #=> String
3324
+ # resp.column_statistics_list[0].statistics_data.decimal_column_statistics_data.maximum_value.scale #=> Integer
3325
+ # resp.column_statistics_list[0].statistics_data.decimal_column_statistics_data.number_of_nulls #=> Integer
3326
+ # resp.column_statistics_list[0].statistics_data.decimal_column_statistics_data.number_of_distinct_values #=> Integer
3327
+ # resp.column_statistics_list[0].statistics_data.double_column_statistics_data.minimum_value #=> Float
3328
+ # resp.column_statistics_list[0].statistics_data.double_column_statistics_data.maximum_value #=> Float
3329
+ # resp.column_statistics_list[0].statistics_data.double_column_statistics_data.number_of_nulls #=> Integer
3330
+ # resp.column_statistics_list[0].statistics_data.double_column_statistics_data.number_of_distinct_values #=> Integer
3331
+ # resp.column_statistics_list[0].statistics_data.long_column_statistics_data.minimum_value #=> Integer
3332
+ # resp.column_statistics_list[0].statistics_data.long_column_statistics_data.maximum_value #=> Integer
3333
+ # resp.column_statistics_list[0].statistics_data.long_column_statistics_data.number_of_nulls #=> Integer
3334
+ # resp.column_statistics_list[0].statistics_data.long_column_statistics_data.number_of_distinct_values #=> Integer
3335
+ # resp.column_statistics_list[0].statistics_data.string_column_statistics_data.maximum_length #=> Integer
3336
+ # resp.column_statistics_list[0].statistics_data.string_column_statistics_data.average_length #=> Float
3337
+ # resp.column_statistics_list[0].statistics_data.string_column_statistics_data.number_of_nulls #=> Integer
3338
+ # resp.column_statistics_list[0].statistics_data.string_column_statistics_data.number_of_distinct_values #=> Integer
3339
+ # resp.column_statistics_list[0].statistics_data.binary_column_statistics_data.maximum_length #=> Integer
3340
+ # resp.column_statistics_list[0].statistics_data.binary_column_statistics_data.average_length #=> Float
3341
+ # resp.column_statistics_list[0].statistics_data.binary_column_statistics_data.number_of_nulls #=> Integer
3342
+ # resp.errors #=> Array
3343
+ # resp.errors[0].column_name #=> String
3344
+ # resp.errors[0].error.error_code #=> String
3345
+ # resp.errors[0].error.error_message #=> String
3346
+ #
3347
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetColumnStatisticsForPartition AWS API Documentation
3348
+ #
3349
+ # @overload get_column_statistics_for_partition(params = {})
3350
+ # @param [Hash] params ({})
3351
+ def get_column_statistics_for_partition(params = {}, options = {})
3352
+ req = build_request(:get_column_statistics_for_partition, params)
3353
+ req.send_request(options)
3354
+ end
3355
+
3356
+ # Retrieves table statistics of columns.
3357
+ #
3358
+ # @option params [String] :catalog_id
3359
+ # The ID of the Data Catalog where the partitions in question reside. If
3360
+ # none is supplied, the AWS account ID is used by default.
3361
+ #
3362
+ # @option params [required, String] :database_name
3363
+ # The name of the catalog database where the partitions reside.
3364
+ #
3365
+ # @option params [required, String] :table_name
3366
+ # The name of the partitions' table.
3367
+ #
3368
+ # @option params [required, Array<String>] :column_names
3369
+ # A list of the column names.
3370
+ #
3371
+ # @return [Types::GetColumnStatisticsForTableResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3372
+ #
3373
+ # * {Types::GetColumnStatisticsForTableResponse#column_statistics_list #column_statistics_list} => Array&lt;Types::ColumnStatistics&gt;
3374
+ # * {Types::GetColumnStatisticsForTableResponse#errors #errors} => Array&lt;Types::ColumnError&gt;
3375
+ #
3376
+ # @example Request syntax with placeholder values
3377
+ #
3378
+ # resp = client.get_column_statistics_for_table({
3379
+ # catalog_id: "CatalogIdString",
3380
+ # database_name: "NameString", # required
3381
+ # table_name: "NameString", # required
3382
+ # column_names: ["NameString"], # required
3383
+ # })
3384
+ #
3385
+ # @example Response structure
3386
+ #
3387
+ # resp.column_statistics_list #=> Array
3388
+ # resp.column_statistics_list[0].column_name #=> String
3389
+ # resp.column_statistics_list[0].column_type #=> String
3390
+ # resp.column_statistics_list[0].analyzed_time #=> Time
3391
+ # resp.column_statistics_list[0].statistics_data.type #=> String, one of "BOOLEAN", "DATE", "DECIMAL", "DOUBLE", "LONG", "STRING", "BINARY"
3392
+ # resp.column_statistics_list[0].statistics_data.boolean_column_statistics_data.number_of_trues #=> Integer
3393
+ # resp.column_statistics_list[0].statistics_data.boolean_column_statistics_data.number_of_falses #=> Integer
3394
+ # resp.column_statistics_list[0].statistics_data.boolean_column_statistics_data.number_of_nulls #=> Integer
3395
+ # resp.column_statistics_list[0].statistics_data.date_column_statistics_data.minimum_value #=> Time
3396
+ # resp.column_statistics_list[0].statistics_data.date_column_statistics_data.maximum_value #=> Time
3397
+ # resp.column_statistics_list[0].statistics_data.date_column_statistics_data.number_of_nulls #=> Integer
3398
+ # resp.column_statistics_list[0].statistics_data.date_column_statistics_data.number_of_distinct_values #=> Integer
3399
+ # resp.column_statistics_list[0].statistics_data.decimal_column_statistics_data.minimum_value.unscaled_value #=> String
3400
+ # resp.column_statistics_list[0].statistics_data.decimal_column_statistics_data.minimum_value.scale #=> Integer
3401
+ # resp.column_statistics_list[0].statistics_data.decimal_column_statistics_data.maximum_value.unscaled_value #=> String
3402
+ # resp.column_statistics_list[0].statistics_data.decimal_column_statistics_data.maximum_value.scale #=> Integer
3403
+ # resp.column_statistics_list[0].statistics_data.decimal_column_statistics_data.number_of_nulls #=> Integer
3404
+ # resp.column_statistics_list[0].statistics_data.decimal_column_statistics_data.number_of_distinct_values #=> Integer
3405
+ # resp.column_statistics_list[0].statistics_data.double_column_statistics_data.minimum_value #=> Float
3406
+ # resp.column_statistics_list[0].statistics_data.double_column_statistics_data.maximum_value #=> Float
3407
+ # resp.column_statistics_list[0].statistics_data.double_column_statistics_data.number_of_nulls #=> Integer
3408
+ # resp.column_statistics_list[0].statistics_data.double_column_statistics_data.number_of_distinct_values #=> Integer
3409
+ # resp.column_statistics_list[0].statistics_data.long_column_statistics_data.minimum_value #=> Integer
3410
+ # resp.column_statistics_list[0].statistics_data.long_column_statistics_data.maximum_value #=> Integer
3411
+ # resp.column_statistics_list[0].statistics_data.long_column_statistics_data.number_of_nulls #=> Integer
3412
+ # resp.column_statistics_list[0].statistics_data.long_column_statistics_data.number_of_distinct_values #=> Integer
3413
+ # resp.column_statistics_list[0].statistics_data.string_column_statistics_data.maximum_length #=> Integer
3414
+ # resp.column_statistics_list[0].statistics_data.string_column_statistics_data.average_length #=> Float
3415
+ # resp.column_statistics_list[0].statistics_data.string_column_statistics_data.number_of_nulls #=> Integer
3416
+ # resp.column_statistics_list[0].statistics_data.string_column_statistics_data.number_of_distinct_values #=> Integer
3417
+ # resp.column_statistics_list[0].statistics_data.binary_column_statistics_data.maximum_length #=> Integer
3418
+ # resp.column_statistics_list[0].statistics_data.binary_column_statistics_data.average_length #=> Float
3419
+ # resp.column_statistics_list[0].statistics_data.binary_column_statistics_data.number_of_nulls #=> Integer
3420
+ # resp.errors #=> Array
3421
+ # resp.errors[0].column_name #=> String
3422
+ # resp.errors[0].error.error_code #=> String
3423
+ # resp.errors[0].error.error_message #=> String
3424
+ #
3425
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetColumnStatisticsForTable AWS API Documentation
3426
+ #
3427
+ # @overload get_column_statistics_for_table(params = {})
3428
+ # @param [Hash] params ({})
3429
+ def get_column_statistics_for_table(params = {}, options = {})
3430
+ req = build_request(:get_column_statistics_for_table, params)
3431
+ req.send_request(options)
3432
+ end
3433
+
3183
3434
  # Retrieves a connection definition from the Data Catalog.
3184
3435
  #
3185
3436
  # @option params [String] :catalog_id
@@ -3564,6 +3815,9 @@ module Aws::Glue
3564
3815
  # resp.database.create_table_default_permissions[0].principal.data_lake_principal_identifier #=> String
3565
3816
  # resp.database.create_table_default_permissions[0].permissions #=> Array
3566
3817
  # resp.database.create_table_default_permissions[0].permissions[0] #=> String, one of "ALL", "SELECT", "ALTER", "DROP", "DELETE", "INSERT", "CREATE_DATABASE", "CREATE_TABLE", "DATA_LOCATION_ACCESS"
3818
+ # resp.database.target_database.catalog_id #=> String
3819
+ # resp.database.target_database.database_name #=> String
3820
+ # resp.database.catalog_id #=> String
3567
3821
  #
3568
3822
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDatabase AWS API Documentation
3569
3823
  #
@@ -3586,6 +3840,16 @@ module Aws::Glue
3586
3840
  # @option params [Integer] :max_results
3587
3841
  # The maximum number of databases to return in one response.
3588
3842
  #
3843
+ # @option params [String] :resource_share_type
3844
+ # Allows you to specify that you want to list the databases shared with
3845
+ # your account. The allowable values are `FOREIGN` or `ALL`.
3846
+ #
3847
+ # * If set to `FOREIGN`, will list the databases shared with your
3848
+ # account.
3849
+ #
3850
+ # * If set to `ALL`, will list the databases shared with your account,
3851
+ # as well as the databases in yor local account.
3852
+ #
3589
3853
  # @return [Types::GetDatabasesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3590
3854
  #
3591
3855
  # * {Types::GetDatabasesResponse#database_list #database_list} => Array&lt;Types::Database&gt;
@@ -3599,6 +3863,7 @@ module Aws::Glue
3599
3863
  # catalog_id: "CatalogIdString",
3600
3864
  # next_token: "Token",
3601
3865
  # max_results: 1,
3866
+ # resource_share_type: "FOREIGN", # accepts FOREIGN, ALL
3602
3867
  # })
3603
3868
  #
3604
3869
  # @example Response structure
@@ -3614,6 +3879,9 @@ module Aws::Glue
3614
3879
  # resp.database_list[0].create_table_default_permissions[0].principal.data_lake_principal_identifier #=> String
3615
3880
  # resp.database_list[0].create_table_default_permissions[0].permissions #=> Array
3616
3881
  # resp.database_list[0].create_table_default_permissions[0].permissions[0] #=> String, one of "ALL", "SELECT", "ALTER", "DROP", "DELETE", "INSERT", "CREATE_DATABASE", "CREATE_TABLE", "DATA_LOCATION_ACCESS"
3882
+ # resp.database_list[0].target_database.catalog_id #=> String
3883
+ # resp.database_list[0].target_database.database_name #=> String
3884
+ # resp.database_list[0].catalog_id #=> String
3617
3885
  # resp.next_token #=> String
3618
3886
  #
3619
3887
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDatabases AWS API Documentation
@@ -4546,6 +4814,7 @@ module Aws::Glue
4546
4814
  # resp.partition.parameters #=> Hash
4547
4815
  # resp.partition.parameters["KeyString"] #=> String
4548
4816
  # resp.partition.last_analyzed_time #=> Time
4817
+ # resp.partition.catalog_id #=> String
4549
4818
  #
4550
4819
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartition AWS API Documentation
4551
4820
  #
@@ -4734,6 +5003,7 @@ module Aws::Glue
4734
5003
  # resp.partitions[0].parameters #=> Hash
4735
5004
  # resp.partitions[0].parameters["KeyString"] #=> String
4736
5005
  # resp.partitions[0].last_analyzed_time #=> Time
5006
+ # resp.partitions[0].catalog_id #=> String
4737
5007
  # resp.next_token #=> String
4738
5008
  #
4739
5009
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartitions AWS API Documentation
@@ -4830,8 +5100,61 @@ module Aws::Glue
4830
5100
  req.send_request(options)
4831
5101
  end
4832
5102
 
5103
+ # Retrieves the security configurations for the resource policies set on
5104
+ # individual resources, and also the account-level policy.
5105
+ #
5106
+ # This operation also returns the Data Catalog resource policy. However,
5107
+ # if you enabled metadata encryption in Data Catalog settings, and you
5108
+ # do not have permission on the AWS KMS key, the operation can't return
5109
+ # the Data Catalog resource policy.
5110
+ #
5111
+ # @option params [String] :next_token
5112
+ # A continuation token, if this is a continuation request.
5113
+ #
5114
+ # @option params [Integer] :max_results
5115
+ # The maximum size of a list to return.
5116
+ #
5117
+ # @return [Types::GetResourcePoliciesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5118
+ #
5119
+ # * {Types::GetResourcePoliciesResponse#get_resource_policies_response_list #get_resource_policies_response_list} => Array&lt;Types::GluePolicy&gt;
5120
+ # * {Types::GetResourcePoliciesResponse#next_token #next_token} => String
5121
+ #
5122
+ # @example Request syntax with placeholder values
5123
+ #
5124
+ # resp = client.get_resource_policies({
5125
+ # next_token: "Token",
5126
+ # max_results: 1,
5127
+ # })
5128
+ #
5129
+ # @example Response structure
5130
+ #
5131
+ # resp.get_resource_policies_response_list #=> Array
5132
+ # resp.get_resource_policies_response_list[0].policy_in_json #=> String
5133
+ # resp.get_resource_policies_response_list[0].policy_hash #=> String
5134
+ # resp.get_resource_policies_response_list[0].create_time #=> Time
5135
+ # resp.get_resource_policies_response_list[0].update_time #=> Time
5136
+ # resp.next_token #=> String
5137
+ #
5138
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetResourcePolicies AWS API Documentation
5139
+ #
5140
+ # @overload get_resource_policies(params = {})
5141
+ # @param [Hash] params ({})
5142
+ def get_resource_policies(params = {}, options = {})
5143
+ req = build_request(:get_resource_policies, params)
5144
+ req.send_request(options)
5145
+ end
5146
+
4833
5147
  # Retrieves a specified resource policy.
4834
5148
  #
5149
+ # @option params [String] :resource_arn
5150
+ # The ARN of the AWS Glue resource for the resource policy to be
5151
+ # retrieved. For more information about AWS Glue resource ARNs, see the
5152
+ # [AWS Glue ARN string pattern][1]
5153
+ #
5154
+ #
5155
+ #
5156
+ # [1]: https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-common.html#aws-glue-api-regex-aws-glue-arn-id
5157
+ #
4835
5158
  # @return [Types::GetResourcePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4836
5159
  #
4837
5160
  # * {Types::GetResourcePolicyResponse#policy_in_json #policy_in_json} => String
@@ -4839,6 +5162,12 @@ module Aws::Glue
4839
5162
  # * {Types::GetResourcePolicyResponse#create_time #create_time} => Time
4840
5163
  # * {Types::GetResourcePolicyResponse#update_time #update_time} => Time
4841
5164
  #
5165
+ # @example Request syntax with placeholder values
5166
+ #
5167
+ # resp = client.get_resource_policy({
5168
+ # resource_arn: "GlueResourceArn",
5169
+ # })
5170
+ #
4842
5171
  # @example Response structure
4843
5172
  #
4844
5173
  # resp.policy_in_json #=> String
@@ -5016,6 +5345,10 @@ module Aws::Glue
5016
5345
  # resp.table.parameters["KeyString"] #=> String
5017
5346
  # resp.table.created_by #=> String
5018
5347
  # resp.table.is_registered_with_lake_formation #=> Boolean
5348
+ # resp.table.target_table.catalog_id #=> String
5349
+ # resp.table.target_table.database_name #=> String
5350
+ # resp.table.target_table.name #=> String
5351
+ # resp.table.catalog_id #=> String
5019
5352
  #
5020
5353
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTable AWS API Documentation
5021
5354
  #
@@ -5110,6 +5443,10 @@ module Aws::Glue
5110
5443
  # resp.table_version.table.parameters["KeyString"] #=> String
5111
5444
  # resp.table_version.table.created_by #=> String
5112
5445
  # resp.table_version.table.is_registered_with_lake_formation #=> Boolean
5446
+ # resp.table_version.table.target_table.catalog_id #=> String
5447
+ # resp.table_version.table.target_table.database_name #=> String
5448
+ # resp.table_version.table.target_table.name #=> String
5449
+ # resp.table_version.table.catalog_id #=> String
5113
5450
  # resp.table_version.version_id #=> String
5114
5451
  #
5115
5452
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableVersion AWS API Documentation
@@ -5213,6 +5550,10 @@ module Aws::Glue
5213
5550
  # resp.table_versions[0].table.parameters["KeyString"] #=> String
5214
5551
  # resp.table_versions[0].table.created_by #=> String
5215
5552
  # resp.table_versions[0].table.is_registered_with_lake_formation #=> Boolean
5553
+ # resp.table_versions[0].table.target_table.catalog_id #=> String
5554
+ # resp.table_versions[0].table.target_table.database_name #=> String
5555
+ # resp.table_versions[0].table.target_table.name #=> String
5556
+ # resp.table_versions[0].table.catalog_id #=> String
5216
5557
  # resp.table_versions[0].version_id #=> String
5217
5558
  # resp.next_token #=> String
5218
5559
  #
@@ -5317,6 +5658,10 @@ module Aws::Glue
5317
5658
  # resp.table_list[0].parameters["KeyString"] #=> String
5318
5659
  # resp.table_list[0].created_by #=> String
5319
5660
  # resp.table_list[0].is_registered_with_lake_formation #=> Boolean
5661
+ # resp.table_list[0].target_table.catalog_id #=> String
5662
+ # resp.table_list[0].target_table.database_name #=> String
5663
+ # resp.table_list[0].target_table.name #=> String
5664
+ # resp.table_list[0].catalog_id #=> String
5320
5665
  # resp.next_token #=> String
5321
5666
  #
5322
5667
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTables AWS API Documentation
@@ -5506,6 +5851,7 @@ module Aws::Glue
5506
5851
  # resp.user_defined_function.resource_uris #=> Array
5507
5852
  # resp.user_defined_function.resource_uris[0].resource_type #=> String, one of "JAR", "FILE", "ARCHIVE"
5508
5853
  # resp.user_defined_function.resource_uris[0].uri #=> String
5854
+ # resp.user_defined_function.catalog_id #=> String
5509
5855
  #
5510
5856
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUserDefinedFunction AWS API Documentation
5511
5857
  #
@@ -5566,6 +5912,7 @@ module Aws::Glue
5566
5912
  # resp.user_defined_functions[0].resource_uris #=> Array
5567
5913
  # resp.user_defined_functions[0].resource_uris[0].resource_type #=> String, one of "JAR", "FILE", "ARCHIVE"
5568
5914
  # resp.user_defined_functions[0].resource_uris[0].uri #=> String
5915
+ # resp.user_defined_functions[0].catalog_id #=> String
5569
5916
  # resp.next_token #=> String
5570
5917
  #
5571
5918
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUserDefinedFunctions AWS API Documentation
@@ -6400,6 +6747,15 @@ module Aws::Glue
6400
6747
  # @option params [required, String] :policy_in_json
6401
6748
  # Contains the policy document to set, in JSON format.
6402
6749
  #
6750
+ # @option params [String] :resource_arn
6751
+ # The ARN of the AWS Glue resource for the resource policy to be set.
6752
+ # For more information about AWS Glue resource ARNs, see the [AWS Glue
6753
+ # ARN string pattern][1]
6754
+ #
6755
+ #
6756
+ #
6757
+ # [1]: https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-common.html#aws-glue-api-regex-aws-glue-arn-id
6758
+ #
6403
6759
  # @option params [String] :policy_hash_condition
6404
6760
  # The hash value returned when the previous policy was set using
6405
6761
  # `PutResourcePolicy`. Its purpose is to prevent concurrent
@@ -6412,6 +6768,17 @@ module Aws::Glue
6412
6768
  # null value is used, the call will not depend on the existence of a
6413
6769
  # policy.
6414
6770
  #
6771
+ # @option params [String] :enable_hybrid
6772
+ # Allows you to specify if you want to use both resource-level and
6773
+ # account/catalog-level resource policies. A resource-level policy is a
6774
+ # policy attached to an individual resource such as a database or a
6775
+ # table.
6776
+ #
6777
+ # The default value of `NO` indicates that resource-level policies
6778
+ # cannot co-exist with an account-level policy. A value of `YES` means
6779
+ # the use of both resource-level and account/catalog-level resource
6780
+ # policies is allowed.
6781
+ #
6415
6782
  # @return [Types::PutResourcePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6416
6783
  #
6417
6784
  # * {Types::PutResourcePolicyResponse#policy_hash #policy_hash} => String
@@ -6420,8 +6787,10 @@ module Aws::Glue
6420
6787
  #
6421
6788
  # resp = client.put_resource_policy({
6422
6789
  # policy_in_json: "PolicyJsonString", # required
6790
+ # resource_arn: "GlueResourceArn",
6423
6791
  # policy_hash_condition: "HashString",
6424
6792
  # policy_exists_condition: "MUST_EXIST", # accepts MUST_EXIST, NOT_EXIST, NONE
6793
+ # enable_hybrid: "TRUE", # accepts TRUE, FALSE
6425
6794
  # })
6426
6795
  #
6427
6796
  # @example Response structure
@@ -6524,7 +6893,7 @@ module Aws::Glue
6524
6893
  # search.
6525
6894
  #
6526
6895
  # @option params [String] :catalog_id
6527
- # A unique identifier, consisting of ` account_id/datalake`.
6896
+ # A unique identifier, consisting of ` account_id `.
6528
6897
  #
6529
6898
  # @option params [String] :next_token
6530
6899
  # A continuation token, included if this is a continuation call.
@@ -6533,6 +6902,16 @@ module Aws::Glue
6533
6902
  # A list of key-value pairs, and a comparator used to filter the search
6534
6903
  # results. Returns all entities matching the predicate.
6535
6904
  #
6905
+ # The `Comparator` member of the `PropertyPredicate` struct is used only
6906
+ # for time fields, and can be omitted for other field types. Also, when
6907
+ # comparing string values, such as when `Key=Name`, a fuzzy match
6908
+ # algorithm is used. The `Key` field (for example, the value of the
6909
+ # `Name` field) is split on certain punctuation characters, for example,
6910
+ # -, :, #, etc. into tokens. Then each token is exact-match compared
6911
+ # with the `Value` member of `PropertyPredicate`. For example, if
6912
+ # `Key=Name` and `Value=link`, tables named `customer-link` and
6913
+ # `xx-link-yy` are returned, but `xxlinkyy` is not returned.
6914
+ #
6536
6915
  # @option params [String] :search_text
6537
6916
  # A string used for a text search.
6538
6917
  #
@@ -6546,6 +6925,16 @@ module Aws::Glue
6546
6925
  # @option params [Integer] :max_results
6547
6926
  # The maximum number of tables to return in a single response.
6548
6927
  #
6928
+ # @option params [String] :resource_share_type
6929
+ # Allows you to specify that you want to search the tables shared with
6930
+ # your account. The allowable values are `FOREIGN` or `ALL`.
6931
+ #
6932
+ # * If set to `FOREIGN`, will search the tables shared with your
6933
+ # account.
6934
+ #
6935
+ # * If set to `ALL`, will search the tables shared with your account, as
6936
+ # well as the tables in yor local account.
6937
+ #
6549
6938
  # @return [Types::SearchTablesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6550
6939
  #
6551
6940
  # * {Types::SearchTablesResponse#next_token #next_token} => String
@@ -6573,6 +6962,7 @@ module Aws::Glue
6573
6962
  # },
6574
6963
  # ],
6575
6964
  # max_results: 1,
6965
+ # resource_share_type: "FOREIGN", # accepts FOREIGN, ALL
6576
6966
  # })
6577
6967
  #
6578
6968
  # @example Response structure
@@ -6630,6 +7020,10 @@ module Aws::Glue
6630
7020
  # resp.table_list[0].parameters["KeyString"] #=> String
6631
7021
  # resp.table_list[0].created_by #=> String
6632
7022
  # resp.table_list[0].is_registered_with_lake_formation #=> Boolean
7023
+ # resp.table_list[0].target_table.catalog_id #=> String
7024
+ # resp.table_list[0].target_table.database_name #=> String
7025
+ # resp.table_list[0].target_table.name #=> String
7026
+ # resp.table_list[0].catalog_id #=> String
6633
7027
  #
6634
7028
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/SearchTables AWS API Documentation
6635
7029
  #
@@ -7302,6 +7696,270 @@ module Aws::Glue
7302
7696
  req.send_request(options)
7303
7697
  end
7304
7698
 
7699
+ # Creates or updates partition statistics of columns.
7700
+ #
7701
+ # @option params [String] :catalog_id
7702
+ # The ID of the Data Catalog where the partitions in question reside. If
7703
+ # none is supplied, the AWS account ID is used by default.
7704
+ #
7705
+ # @option params [required, String] :database_name
7706
+ # The name of the catalog database where the partitions reside.
7707
+ #
7708
+ # @option params [required, String] :table_name
7709
+ # The name of the partitions' table.
7710
+ #
7711
+ # @option params [required, Array<String>] :partition_values
7712
+ # A list of partition values identifying the partition.
7713
+ #
7714
+ # @option params [required, Array<Types::ColumnStatistics>] :column_statistics_list
7715
+ # A list of the column statistics.
7716
+ #
7717
+ # @return [Types::UpdateColumnStatisticsForPartitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7718
+ #
7719
+ # * {Types::UpdateColumnStatisticsForPartitionResponse#errors #errors} => Array&lt;Types::ColumnStatisticsError&gt;
7720
+ #
7721
+ # @example Request syntax with placeholder values
7722
+ #
7723
+ # resp = client.update_column_statistics_for_partition({
7724
+ # catalog_id: "CatalogIdString",
7725
+ # database_name: "NameString", # required
7726
+ # table_name: "NameString", # required
7727
+ # partition_values: ["ValueString"], # required
7728
+ # column_statistics_list: [ # required
7729
+ # {
7730
+ # column_name: "NameString", # required
7731
+ # column_type: "TypeString", # required
7732
+ # analyzed_time: Time.now, # required
7733
+ # statistics_data: { # required
7734
+ # type: "BOOLEAN", # required, accepts BOOLEAN, DATE, DECIMAL, DOUBLE, LONG, STRING, BINARY
7735
+ # boolean_column_statistics_data: {
7736
+ # number_of_trues: 1, # required
7737
+ # number_of_falses: 1, # required
7738
+ # number_of_nulls: 1, # required
7739
+ # },
7740
+ # date_column_statistics_data: {
7741
+ # minimum_value: Time.now,
7742
+ # maximum_value: Time.now,
7743
+ # number_of_nulls: 1, # required
7744
+ # number_of_distinct_values: 1, # required
7745
+ # },
7746
+ # decimal_column_statistics_data: {
7747
+ # minimum_value: {
7748
+ # unscaled_value: "data", # required
7749
+ # scale: 1, # required
7750
+ # },
7751
+ # maximum_value: {
7752
+ # unscaled_value: "data", # required
7753
+ # scale: 1, # required
7754
+ # },
7755
+ # number_of_nulls: 1, # required
7756
+ # number_of_distinct_values: 1, # required
7757
+ # },
7758
+ # double_column_statistics_data: {
7759
+ # minimum_value: 1.0,
7760
+ # maximum_value: 1.0,
7761
+ # number_of_nulls: 1, # required
7762
+ # number_of_distinct_values: 1, # required
7763
+ # },
7764
+ # long_column_statistics_data: {
7765
+ # minimum_value: 1,
7766
+ # maximum_value: 1,
7767
+ # number_of_nulls: 1, # required
7768
+ # number_of_distinct_values: 1, # required
7769
+ # },
7770
+ # string_column_statistics_data: {
7771
+ # maximum_length: 1, # required
7772
+ # average_length: 1.0, # required
7773
+ # number_of_nulls: 1, # required
7774
+ # number_of_distinct_values: 1, # required
7775
+ # },
7776
+ # binary_column_statistics_data: {
7777
+ # maximum_length: 1, # required
7778
+ # average_length: 1.0, # required
7779
+ # number_of_nulls: 1, # required
7780
+ # },
7781
+ # },
7782
+ # },
7783
+ # ],
7784
+ # })
7785
+ #
7786
+ # @example Response structure
7787
+ #
7788
+ # resp.errors #=> Array
7789
+ # resp.errors[0].column_statistics.column_name #=> String
7790
+ # resp.errors[0].column_statistics.column_type #=> String
7791
+ # resp.errors[0].column_statistics.analyzed_time #=> Time
7792
+ # resp.errors[0].column_statistics.statistics_data.type #=> String, one of "BOOLEAN", "DATE", "DECIMAL", "DOUBLE", "LONG", "STRING", "BINARY"
7793
+ # resp.errors[0].column_statistics.statistics_data.boolean_column_statistics_data.number_of_trues #=> Integer
7794
+ # resp.errors[0].column_statistics.statistics_data.boolean_column_statistics_data.number_of_falses #=> Integer
7795
+ # resp.errors[0].column_statistics.statistics_data.boolean_column_statistics_data.number_of_nulls #=> Integer
7796
+ # resp.errors[0].column_statistics.statistics_data.date_column_statistics_data.minimum_value #=> Time
7797
+ # resp.errors[0].column_statistics.statistics_data.date_column_statistics_data.maximum_value #=> Time
7798
+ # resp.errors[0].column_statistics.statistics_data.date_column_statistics_data.number_of_nulls #=> Integer
7799
+ # resp.errors[0].column_statistics.statistics_data.date_column_statistics_data.number_of_distinct_values #=> Integer
7800
+ # resp.errors[0].column_statistics.statistics_data.decimal_column_statistics_data.minimum_value.unscaled_value #=> String
7801
+ # resp.errors[0].column_statistics.statistics_data.decimal_column_statistics_data.minimum_value.scale #=> Integer
7802
+ # resp.errors[0].column_statistics.statistics_data.decimal_column_statistics_data.maximum_value.unscaled_value #=> String
7803
+ # resp.errors[0].column_statistics.statistics_data.decimal_column_statistics_data.maximum_value.scale #=> Integer
7804
+ # resp.errors[0].column_statistics.statistics_data.decimal_column_statistics_data.number_of_nulls #=> Integer
7805
+ # resp.errors[0].column_statistics.statistics_data.decimal_column_statistics_data.number_of_distinct_values #=> Integer
7806
+ # resp.errors[0].column_statistics.statistics_data.double_column_statistics_data.minimum_value #=> Float
7807
+ # resp.errors[0].column_statistics.statistics_data.double_column_statistics_data.maximum_value #=> Float
7808
+ # resp.errors[0].column_statistics.statistics_data.double_column_statistics_data.number_of_nulls #=> Integer
7809
+ # resp.errors[0].column_statistics.statistics_data.double_column_statistics_data.number_of_distinct_values #=> Integer
7810
+ # resp.errors[0].column_statistics.statistics_data.long_column_statistics_data.minimum_value #=> Integer
7811
+ # resp.errors[0].column_statistics.statistics_data.long_column_statistics_data.maximum_value #=> Integer
7812
+ # resp.errors[0].column_statistics.statistics_data.long_column_statistics_data.number_of_nulls #=> Integer
7813
+ # resp.errors[0].column_statistics.statistics_data.long_column_statistics_data.number_of_distinct_values #=> Integer
7814
+ # resp.errors[0].column_statistics.statistics_data.string_column_statistics_data.maximum_length #=> Integer
7815
+ # resp.errors[0].column_statistics.statistics_data.string_column_statistics_data.average_length #=> Float
7816
+ # resp.errors[0].column_statistics.statistics_data.string_column_statistics_data.number_of_nulls #=> Integer
7817
+ # resp.errors[0].column_statistics.statistics_data.string_column_statistics_data.number_of_distinct_values #=> Integer
7818
+ # resp.errors[0].column_statistics.statistics_data.binary_column_statistics_data.maximum_length #=> Integer
7819
+ # resp.errors[0].column_statistics.statistics_data.binary_column_statistics_data.average_length #=> Float
7820
+ # resp.errors[0].column_statistics.statistics_data.binary_column_statistics_data.number_of_nulls #=> Integer
7821
+ # resp.errors[0].error.error_code #=> String
7822
+ # resp.errors[0].error.error_message #=> String
7823
+ #
7824
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateColumnStatisticsForPartition AWS API Documentation
7825
+ #
7826
+ # @overload update_column_statistics_for_partition(params = {})
7827
+ # @param [Hash] params ({})
7828
+ def update_column_statistics_for_partition(params = {}, options = {})
7829
+ req = build_request(:update_column_statistics_for_partition, params)
7830
+ req.send_request(options)
7831
+ end
7832
+
7833
+ # Creates or updates table statistics of columns.
7834
+ #
7835
+ # @option params [String] :catalog_id
7836
+ # The ID of the Data Catalog where the partitions in question reside. If
7837
+ # none is supplied, the AWS account ID is used by default.
7838
+ #
7839
+ # @option params [required, String] :database_name
7840
+ # The name of the catalog database where the partitions reside.
7841
+ #
7842
+ # @option params [required, String] :table_name
7843
+ # The name of the partitions' table.
7844
+ #
7845
+ # @option params [required, Array<Types::ColumnStatistics>] :column_statistics_list
7846
+ # A list of the column statistics.
7847
+ #
7848
+ # @return [Types::UpdateColumnStatisticsForTableResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7849
+ #
7850
+ # * {Types::UpdateColumnStatisticsForTableResponse#errors #errors} => Array&lt;Types::ColumnStatisticsError&gt;
7851
+ #
7852
+ # @example Request syntax with placeholder values
7853
+ #
7854
+ # resp = client.update_column_statistics_for_table({
7855
+ # catalog_id: "CatalogIdString",
7856
+ # database_name: "NameString", # required
7857
+ # table_name: "NameString", # required
7858
+ # column_statistics_list: [ # required
7859
+ # {
7860
+ # column_name: "NameString", # required
7861
+ # column_type: "TypeString", # required
7862
+ # analyzed_time: Time.now, # required
7863
+ # statistics_data: { # required
7864
+ # type: "BOOLEAN", # required, accepts BOOLEAN, DATE, DECIMAL, DOUBLE, LONG, STRING, BINARY
7865
+ # boolean_column_statistics_data: {
7866
+ # number_of_trues: 1, # required
7867
+ # number_of_falses: 1, # required
7868
+ # number_of_nulls: 1, # required
7869
+ # },
7870
+ # date_column_statistics_data: {
7871
+ # minimum_value: Time.now,
7872
+ # maximum_value: Time.now,
7873
+ # number_of_nulls: 1, # required
7874
+ # number_of_distinct_values: 1, # required
7875
+ # },
7876
+ # decimal_column_statistics_data: {
7877
+ # minimum_value: {
7878
+ # unscaled_value: "data", # required
7879
+ # scale: 1, # required
7880
+ # },
7881
+ # maximum_value: {
7882
+ # unscaled_value: "data", # required
7883
+ # scale: 1, # required
7884
+ # },
7885
+ # number_of_nulls: 1, # required
7886
+ # number_of_distinct_values: 1, # required
7887
+ # },
7888
+ # double_column_statistics_data: {
7889
+ # minimum_value: 1.0,
7890
+ # maximum_value: 1.0,
7891
+ # number_of_nulls: 1, # required
7892
+ # number_of_distinct_values: 1, # required
7893
+ # },
7894
+ # long_column_statistics_data: {
7895
+ # minimum_value: 1,
7896
+ # maximum_value: 1,
7897
+ # number_of_nulls: 1, # required
7898
+ # number_of_distinct_values: 1, # required
7899
+ # },
7900
+ # string_column_statistics_data: {
7901
+ # maximum_length: 1, # required
7902
+ # average_length: 1.0, # required
7903
+ # number_of_nulls: 1, # required
7904
+ # number_of_distinct_values: 1, # required
7905
+ # },
7906
+ # binary_column_statistics_data: {
7907
+ # maximum_length: 1, # required
7908
+ # average_length: 1.0, # required
7909
+ # number_of_nulls: 1, # required
7910
+ # },
7911
+ # },
7912
+ # },
7913
+ # ],
7914
+ # })
7915
+ #
7916
+ # @example Response structure
7917
+ #
7918
+ # resp.errors #=> Array
7919
+ # resp.errors[0].column_statistics.column_name #=> String
7920
+ # resp.errors[0].column_statistics.column_type #=> String
7921
+ # resp.errors[0].column_statistics.analyzed_time #=> Time
7922
+ # resp.errors[0].column_statistics.statistics_data.type #=> String, one of "BOOLEAN", "DATE", "DECIMAL", "DOUBLE", "LONG", "STRING", "BINARY"
7923
+ # resp.errors[0].column_statistics.statistics_data.boolean_column_statistics_data.number_of_trues #=> Integer
7924
+ # resp.errors[0].column_statistics.statistics_data.boolean_column_statistics_data.number_of_falses #=> Integer
7925
+ # resp.errors[0].column_statistics.statistics_data.boolean_column_statistics_data.number_of_nulls #=> Integer
7926
+ # resp.errors[0].column_statistics.statistics_data.date_column_statistics_data.minimum_value #=> Time
7927
+ # resp.errors[0].column_statistics.statistics_data.date_column_statistics_data.maximum_value #=> Time
7928
+ # resp.errors[0].column_statistics.statistics_data.date_column_statistics_data.number_of_nulls #=> Integer
7929
+ # resp.errors[0].column_statistics.statistics_data.date_column_statistics_data.number_of_distinct_values #=> Integer
7930
+ # resp.errors[0].column_statistics.statistics_data.decimal_column_statistics_data.minimum_value.unscaled_value #=> String
7931
+ # resp.errors[0].column_statistics.statistics_data.decimal_column_statistics_data.minimum_value.scale #=> Integer
7932
+ # resp.errors[0].column_statistics.statistics_data.decimal_column_statistics_data.maximum_value.unscaled_value #=> String
7933
+ # resp.errors[0].column_statistics.statistics_data.decimal_column_statistics_data.maximum_value.scale #=> Integer
7934
+ # resp.errors[0].column_statistics.statistics_data.decimal_column_statistics_data.number_of_nulls #=> Integer
7935
+ # resp.errors[0].column_statistics.statistics_data.decimal_column_statistics_data.number_of_distinct_values #=> Integer
7936
+ # resp.errors[0].column_statistics.statistics_data.double_column_statistics_data.minimum_value #=> Float
7937
+ # resp.errors[0].column_statistics.statistics_data.double_column_statistics_data.maximum_value #=> Float
7938
+ # resp.errors[0].column_statistics.statistics_data.double_column_statistics_data.number_of_nulls #=> Integer
7939
+ # resp.errors[0].column_statistics.statistics_data.double_column_statistics_data.number_of_distinct_values #=> Integer
7940
+ # resp.errors[0].column_statistics.statistics_data.long_column_statistics_data.minimum_value #=> Integer
7941
+ # resp.errors[0].column_statistics.statistics_data.long_column_statistics_data.maximum_value #=> Integer
7942
+ # resp.errors[0].column_statistics.statistics_data.long_column_statistics_data.number_of_nulls #=> Integer
7943
+ # resp.errors[0].column_statistics.statistics_data.long_column_statistics_data.number_of_distinct_values #=> Integer
7944
+ # resp.errors[0].column_statistics.statistics_data.string_column_statistics_data.maximum_length #=> Integer
7945
+ # resp.errors[0].column_statistics.statistics_data.string_column_statistics_data.average_length #=> Float
7946
+ # resp.errors[0].column_statistics.statistics_data.string_column_statistics_data.number_of_nulls #=> Integer
7947
+ # resp.errors[0].column_statistics.statistics_data.string_column_statistics_data.number_of_distinct_values #=> Integer
7948
+ # resp.errors[0].column_statistics.statistics_data.binary_column_statistics_data.maximum_length #=> Integer
7949
+ # resp.errors[0].column_statistics.statistics_data.binary_column_statistics_data.average_length #=> Float
7950
+ # resp.errors[0].column_statistics.statistics_data.binary_column_statistics_data.number_of_nulls #=> Integer
7951
+ # resp.errors[0].error.error_code #=> String
7952
+ # resp.errors[0].error.error_message #=> String
7953
+ #
7954
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateColumnStatisticsForTable AWS API Documentation
7955
+ #
7956
+ # @overload update_column_statistics_for_table(params = {})
7957
+ # @param [Hash] params ({})
7958
+ def update_column_statistics_for_table(params = {}, options = {})
7959
+ req = build_request(:update_column_statistics_for_table, params)
7960
+ req.send_request(options)
7961
+ end
7962
+
7305
7963
  # Updates a connection definition in the Data Catalog.
7306
7964
  #
7307
7965
  # @option params [String] :catalog_id
@@ -7526,6 +8184,10 @@ module Aws::Glue
7526
8184
  # permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
7527
8185
  # },
7528
8186
  # ],
8187
+ # target_database: {
8188
+ # catalog_id: "CatalogIdString",
8189
+ # database_name: "NameString",
8190
+ # },
7529
8191
  # },
7530
8192
  # })
7531
8193
  #
@@ -7805,11 +8467,15 @@ module Aws::Glue
7805
8467
  # The name of the table in which the partition to be updated is located.
7806
8468
  #
7807
8469
  # @option params [required, Array<String>] :partition_value_list
7808
- # A list of the values defining the partition.
8470
+ # List of partition key values that define the partition to update.
7809
8471
  #
7810
8472
  # @option params [required, Types::PartitionInput] :partition_input
7811
8473
  # The new partition object to update the partition to.
7812
8474
  #
8475
+ # The `Values` property can't be changed. If you want to change the
8476
+ # partition key values for a partition, delete and recreate the
8477
+ # partition.
8478
+ #
7813
8479
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
7814
8480
  #
7815
8481
  # @example Request syntax with placeholder values
@@ -7971,6 +8637,11 @@ module Aws::Glue
7971
8637
  # parameters: {
7972
8638
  # "KeyString" => "ParametersMapValue",
7973
8639
  # },
8640
+ # target_table: {
8641
+ # catalog_id: "CatalogIdString",
8642
+ # database_name: "NameString",
8643
+ # name: "NameString",
8644
+ # },
7974
8645
  # },
7975
8646
  # skip_archive: false,
7976
8647
  # })
@@ -8167,7 +8838,7 @@ module Aws::Glue
8167
8838
  params: params,
8168
8839
  config: config)
8169
8840
  context[:gem_name] = 'aws-sdk-glue'
8170
- context[:gem_version] = '1.59.0'
8841
+ context[:gem_version] = '1.64.0'
8171
8842
  Seahorse::Client::Request.new(handlers, context)
8172
8843
  end
8173
8844