aws-sdk-glue 1.159.0 → 1.160.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: 3250cdf5db2432c533f46c5fdb289266ef927b84035067737ec22fc763970a33
4
- data.tar.gz: 7010cd260281b11e66e624a9e078100f1a66cb93bf0215fb15f012a4d7769c68
3
+ metadata.gz: 80a8b29c4f58ab290db80cb32b18783743668b5f7b767b4993310912a878c393
4
+ data.tar.gz: d2c710ec83eeb974dd230c74f3c2746fefef7cc965ab4774dc5e8a5219a0b799
5
5
  SHA512:
6
- metadata.gz: a254d32375eb73fa6e6a8792d689433a0778f041c1f01fbcf134a4702600f58b2eb9aba381b9c8162550331da35c0ed92733b66fee27b2d72021063745695277
7
- data.tar.gz: cc803857d1e61b79ae5f730b5968e4aec7e4aa366f3a0f270935c255c7786ed6b101bf2f6e0900d331bf8062202dee986f10c338ef3690e2f3b273fe164dba67
6
+ metadata.gz: 03c481a690d8ca2592e25c67b2ef32228f25843e263b9d37c4789d446b4b539953ca7a071b68e3dcd2dcf4693502eaf7f5e58896fda1c87c1cfb6b10c315359b
7
+ data.tar.gz: 686d624dba3119011680b57acad5c88836887e22daa14d763a3c5c2a3f787913c3f6f694d2edebfa109a3ba3cd59f248d76235e753d0c8cc7a64342ff3ac460a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.160.0 (2023-11-16)
5
+ ------------------
6
+
7
+ * Feature - Introduces new column statistics APIs to support statistics generation for tables within the Glue Data Catalog.
8
+
4
9
  1.159.0 (2023-11-14)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.159.0
1
+ 1.160.0
@@ -6147,6 +6147,117 @@ module Aws::Glue
6147
6147
  req.send_request(options)
6148
6148
  end
6149
6149
 
6150
+ # Get the associated metadata/information for a task run, given a task
6151
+ # run ID.
6152
+ #
6153
+ # @option params [required, String] :column_statistics_task_run_id
6154
+ # The identifier for the particular column statistics task run.
6155
+ #
6156
+ # @return [Types::GetColumnStatisticsTaskRunResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6157
+ #
6158
+ # * {Types::GetColumnStatisticsTaskRunResponse#column_statistics_task_run #column_statistics_task_run} => Types::ColumnStatisticsTaskRun
6159
+ #
6160
+ # @example Request syntax with placeholder values
6161
+ #
6162
+ # resp = client.get_column_statistics_task_run({
6163
+ # column_statistics_task_run_id: "HashString", # required
6164
+ # })
6165
+ #
6166
+ # @example Response structure
6167
+ #
6168
+ # resp.column_statistics_task_run.customer_id #=> String
6169
+ # resp.column_statistics_task_run.column_statistics_task_run_id #=> String
6170
+ # resp.column_statistics_task_run.database_name #=> String
6171
+ # resp.column_statistics_task_run.table_name #=> String
6172
+ # resp.column_statistics_task_run.column_name_list #=> Array
6173
+ # resp.column_statistics_task_run.column_name_list[0] #=> String
6174
+ # resp.column_statistics_task_run.catalog_id #=> String
6175
+ # resp.column_statistics_task_run.role #=> String
6176
+ # resp.column_statistics_task_run.sample_size #=> Float
6177
+ # resp.column_statistics_task_run.security_configuration #=> String
6178
+ # resp.column_statistics_task_run.number_of_workers #=> Integer
6179
+ # resp.column_statistics_task_run.worker_type #=> String
6180
+ # resp.column_statistics_task_run.status #=> String, one of "STARTING", "RUNNING", "SUCCEEDED", "FAILED", "STOPPED"
6181
+ # resp.column_statistics_task_run.creation_time #=> Time
6182
+ # resp.column_statistics_task_run.last_updated #=> Time
6183
+ # resp.column_statistics_task_run.start_time #=> Time
6184
+ # resp.column_statistics_task_run.end_time #=> Time
6185
+ # resp.column_statistics_task_run.error_message #=> String
6186
+ # resp.column_statistics_task_run.dpu_seconds #=> Float
6187
+ #
6188
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetColumnStatisticsTaskRun AWS API Documentation
6189
+ #
6190
+ # @overload get_column_statistics_task_run(params = {})
6191
+ # @param [Hash] params ({})
6192
+ def get_column_statistics_task_run(params = {}, options = {})
6193
+ req = build_request(:get_column_statistics_task_run, params)
6194
+ req.send_request(options)
6195
+ end
6196
+
6197
+ # Retrieves information about all runs associated with the specified
6198
+ # table.
6199
+ #
6200
+ # @option params [required, String] :database_name
6201
+ # The name of the database where the table resides.
6202
+ #
6203
+ # @option params [required, String] :table_name
6204
+ # The name of the table.
6205
+ #
6206
+ # @option params [Integer] :max_results
6207
+ # The maximum size of the response.
6208
+ #
6209
+ # @option params [String] :next_token
6210
+ # A continuation token, if this is a continuation call.
6211
+ #
6212
+ # @return [Types::GetColumnStatisticsTaskRunsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6213
+ #
6214
+ # * {Types::GetColumnStatisticsTaskRunsResponse#column_statistics_task_runs #column_statistics_task_runs} => Array<Types::ColumnStatisticsTaskRun>
6215
+ # * {Types::GetColumnStatisticsTaskRunsResponse#next_token #next_token} => String
6216
+ #
6217
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6218
+ #
6219
+ # @example Request syntax with placeholder values
6220
+ #
6221
+ # resp = client.get_column_statistics_task_runs({
6222
+ # database_name: "DatabaseName", # required
6223
+ # table_name: "NameString", # required
6224
+ # max_results: 1,
6225
+ # next_token: "Token",
6226
+ # })
6227
+ #
6228
+ # @example Response structure
6229
+ #
6230
+ # resp.column_statistics_task_runs #=> Array
6231
+ # resp.column_statistics_task_runs[0].customer_id #=> String
6232
+ # resp.column_statistics_task_runs[0].column_statistics_task_run_id #=> String
6233
+ # resp.column_statistics_task_runs[0].database_name #=> String
6234
+ # resp.column_statistics_task_runs[0].table_name #=> String
6235
+ # resp.column_statistics_task_runs[0].column_name_list #=> Array
6236
+ # resp.column_statistics_task_runs[0].column_name_list[0] #=> String
6237
+ # resp.column_statistics_task_runs[0].catalog_id #=> String
6238
+ # resp.column_statistics_task_runs[0].role #=> String
6239
+ # resp.column_statistics_task_runs[0].sample_size #=> Float
6240
+ # resp.column_statistics_task_runs[0].security_configuration #=> String
6241
+ # resp.column_statistics_task_runs[0].number_of_workers #=> Integer
6242
+ # resp.column_statistics_task_runs[0].worker_type #=> String
6243
+ # resp.column_statistics_task_runs[0].status #=> String, one of "STARTING", "RUNNING", "SUCCEEDED", "FAILED", "STOPPED"
6244
+ # resp.column_statistics_task_runs[0].creation_time #=> Time
6245
+ # resp.column_statistics_task_runs[0].last_updated #=> Time
6246
+ # resp.column_statistics_task_runs[0].start_time #=> Time
6247
+ # resp.column_statistics_task_runs[0].end_time #=> Time
6248
+ # resp.column_statistics_task_runs[0].error_message #=> String
6249
+ # resp.column_statistics_task_runs[0].dpu_seconds #=> Float
6250
+ # resp.next_token #=> String
6251
+ #
6252
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetColumnStatisticsTaskRuns AWS API Documentation
6253
+ #
6254
+ # @overload get_column_statistics_task_runs(params = {})
6255
+ # @param [Hash] params ({})
6256
+ def get_column_statistics_task_runs(params = {}, options = {})
6257
+ req = build_request(:get_column_statistics_task_runs, params)
6258
+ req.send_request(options)
6259
+ end
6260
+
6150
6261
  # Retrieves a connection definition from the Data Catalog.
6151
6262
  #
6152
6263
  # @option params [String] :catalog_id
@@ -12348,6 +12459,43 @@ module Aws::Glue
12348
12459
  req.send_request(options)
12349
12460
  end
12350
12461
 
12462
+ # List all task runs for a particular account.
12463
+ #
12464
+ # @option params [Integer] :max_results
12465
+ # The maximum size of the response.
12466
+ #
12467
+ # @option params [String] :next_token
12468
+ # A continuation token, if this is a continuation call.
12469
+ #
12470
+ # @return [Types::ListColumnStatisticsTaskRunsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
12471
+ #
12472
+ # * {Types::ListColumnStatisticsTaskRunsResponse#column_statistics_task_run_ids #column_statistics_task_run_ids} => Array<String>
12473
+ # * {Types::ListColumnStatisticsTaskRunsResponse#next_token #next_token} => String
12474
+ #
12475
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
12476
+ #
12477
+ # @example Request syntax with placeholder values
12478
+ #
12479
+ # resp = client.list_column_statistics_task_runs({
12480
+ # max_results: 1,
12481
+ # next_token: "Token",
12482
+ # })
12483
+ #
12484
+ # @example Response structure
12485
+ #
12486
+ # resp.column_statistics_task_run_ids #=> Array
12487
+ # resp.column_statistics_task_run_ids[0] #=> String
12488
+ # resp.next_token #=> String
12489
+ #
12490
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListColumnStatisticsTaskRuns AWS API Documentation
12491
+ #
12492
+ # @overload list_column_statistics_task_runs(params = {})
12493
+ # @param [Hash] params ({})
12494
+ def list_column_statistics_task_runs(params = {}, options = {})
12495
+ req = build_request(:list_column_statistics_task_runs, params)
12496
+ req.send_request(options)
12497
+ end
12498
+
12351
12499
  # Retrieves the names of all crawler resources in this Amazon Web
12352
12500
  # Services account, or the resources with the specified tag. This
12353
12501
  # operation allows you to see which resources are available in your
@@ -14143,6 +14291,63 @@ module Aws::Glue
14143
14291
  req.send_request(options)
14144
14292
  end
14145
14293
 
14294
+ # Starts a column statistics task run, for a specified table and
14295
+ # columns.
14296
+ #
14297
+ # @option params [required, String] :database_name
14298
+ # The name of the database where the table resides.
14299
+ #
14300
+ # @option params [required, String] :table_name
14301
+ # The name of the table to generate statistics.
14302
+ #
14303
+ # @option params [Array<String>] :column_name_list
14304
+ # A list of the column names to generate statistics. If none is
14305
+ # supplied, all column names for the table will be used by default.
14306
+ #
14307
+ # @option params [required, String] :role
14308
+ # The IAM role that the service assumes to generate statistics.
14309
+ #
14310
+ # @option params [Float] :sample_size
14311
+ # The percentage of rows used to generate statistics. If none is
14312
+ # supplied, the entire table will be used to generate stats.
14313
+ #
14314
+ # @option params [String] :catalog_id
14315
+ # The ID of the Data Catalog where the table reside. If none is
14316
+ # supplied, the Amazon Web Services account ID is used by default.
14317
+ #
14318
+ # @option params [String] :security_configuration
14319
+ # Name of the security configuration that is used to encrypt CloudWatch
14320
+ # logs for the column stats task run.
14321
+ #
14322
+ # @return [Types::StartColumnStatisticsTaskRunResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
14323
+ #
14324
+ # * {Types::StartColumnStatisticsTaskRunResponse#column_statistics_task_run_id #column_statistics_task_run_id} => String
14325
+ #
14326
+ # @example Request syntax with placeholder values
14327
+ #
14328
+ # resp = client.start_column_statistics_task_run({
14329
+ # database_name: "NameString", # required
14330
+ # table_name: "NameString", # required
14331
+ # column_name_list: ["NameString"],
14332
+ # role: "NameString", # required
14333
+ # sample_size: 1.0,
14334
+ # catalog_id: "NameString",
14335
+ # security_configuration: "NameString",
14336
+ # })
14337
+ #
14338
+ # @example Response structure
14339
+ #
14340
+ # resp.column_statistics_task_run_id #=> String
14341
+ #
14342
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartColumnStatisticsTaskRun AWS API Documentation
14343
+ #
14344
+ # @overload start_column_statistics_task_run(params = {})
14345
+ # @param [Hash] params ({})
14346
+ def start_column_statistics_task_run(params = {}, options = {})
14347
+ req = build_request(:start_column_statistics_task_run, params)
14348
+ req.send_request(options)
14349
+ end
14350
+
14146
14351
  # Starts a crawl using the specified crawler, regardless of what is
14147
14352
  # scheduled. If the crawler is already running, returns a
14148
14353
  # [CrawlerRunningException][1].
@@ -14806,6 +15011,32 @@ module Aws::Glue
14806
15011
  req.send_request(options)
14807
15012
  end
14808
15013
 
15014
+ # Stops a task run for the specified table.
15015
+ #
15016
+ # @option params [required, String] :database_name
15017
+ # The name of the database where the table resides.
15018
+ #
15019
+ # @option params [required, String] :table_name
15020
+ # The name of the table.
15021
+ #
15022
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
15023
+ #
15024
+ # @example Request syntax with placeholder values
15025
+ #
15026
+ # resp = client.stop_column_statistics_task_run({
15027
+ # database_name: "DatabaseName", # required
15028
+ # table_name: "NameString", # required
15029
+ # })
15030
+ #
15031
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopColumnStatisticsTaskRun AWS API Documentation
15032
+ #
15033
+ # @overload stop_column_statistics_task_run(params = {})
15034
+ # @param [Hash] params ({})
15035
+ def stop_column_statistics_task_run(params = {}, options = {})
15036
+ req = build_request(:stop_column_statistics_task_run, params)
15037
+ req.send_request(options)
15038
+ end
15039
+
14809
15040
  # If the specified crawler is running, stops the crawl.
14810
15041
  #
14811
15042
  # @option params [required, String] :name
@@ -16660,7 +16891,7 @@ module Aws::Glue
16660
16891
  params: params,
16661
16892
  config: config)
16662
16893
  context[:gem_name] = 'aws-sdk-glue'
16663
- context[:gem_version] = '1.159.0'
16894
+ context[:gem_version] = '1.160.0'
16664
16895
  Seahorse::Client::Request.new(handlers, context)
16665
16896
  end
16666
16897
 
@@ -169,6 +169,7 @@ module Aws::Glue
169
169
  ColumnImportance = Shapes::StructureShape.new(name: 'ColumnImportance')
170
170
  ColumnImportanceList = Shapes::ListShape.new(name: 'ColumnImportanceList')
171
171
  ColumnList = Shapes::ListShape.new(name: 'ColumnList')
172
+ ColumnNameList = Shapes::ListShape.new(name: 'ColumnNameList')
172
173
  ColumnNameString = Shapes::StringShape.new(name: 'ColumnNameString')
173
174
  ColumnRowFilter = Shapes::StructureShape.new(name: 'ColumnRowFilter')
174
175
  ColumnRowFilterList = Shapes::ListShape.new(name: 'ColumnRowFilterList')
@@ -177,6 +178,13 @@ module Aws::Glue
177
178
  ColumnStatisticsError = Shapes::StructureShape.new(name: 'ColumnStatisticsError')
178
179
  ColumnStatisticsErrors = Shapes::ListShape.new(name: 'ColumnStatisticsErrors')
179
180
  ColumnStatisticsList = Shapes::ListShape.new(name: 'ColumnStatisticsList')
181
+ ColumnStatisticsState = Shapes::StringShape.new(name: 'ColumnStatisticsState')
182
+ ColumnStatisticsTaskNotRunningException = Shapes::StructureShape.new(name: 'ColumnStatisticsTaskNotRunningException')
183
+ ColumnStatisticsTaskRun = Shapes::StructureShape.new(name: 'ColumnStatisticsTaskRun')
184
+ ColumnStatisticsTaskRunIdList = Shapes::ListShape.new(name: 'ColumnStatisticsTaskRunIdList')
185
+ ColumnStatisticsTaskRunningException = Shapes::StructureShape.new(name: 'ColumnStatisticsTaskRunningException')
186
+ ColumnStatisticsTaskRunsList = Shapes::ListShape.new(name: 'ColumnStatisticsTaskRunsList')
187
+ ColumnStatisticsTaskStoppingException = Shapes::StructureShape.new(name: 'ColumnStatisticsTaskStoppingException')
180
188
  ColumnStatisticsType = Shapes::StringShape.new(name: 'ColumnStatisticsType')
181
189
  ColumnTypeString = Shapes::StringShape.new(name: 'ColumnTypeString')
182
190
  ColumnValueStringList = Shapes::ListShape.new(name: 'ColumnValueStringList')
@@ -490,6 +498,10 @@ module Aws::Glue
490
498
  GetColumnStatisticsForPartitionResponse = Shapes::StructureShape.new(name: 'GetColumnStatisticsForPartitionResponse')
491
499
  GetColumnStatisticsForTableRequest = Shapes::StructureShape.new(name: 'GetColumnStatisticsForTableRequest')
492
500
  GetColumnStatisticsForTableResponse = Shapes::StructureShape.new(name: 'GetColumnStatisticsForTableResponse')
501
+ GetColumnStatisticsTaskRunRequest = Shapes::StructureShape.new(name: 'GetColumnStatisticsTaskRunRequest')
502
+ GetColumnStatisticsTaskRunResponse = Shapes::StructureShape.new(name: 'GetColumnStatisticsTaskRunResponse')
503
+ GetColumnStatisticsTaskRunsRequest = Shapes::StructureShape.new(name: 'GetColumnStatisticsTaskRunsRequest')
504
+ GetColumnStatisticsTaskRunsResponse = Shapes::StructureShape.new(name: 'GetColumnStatisticsTaskRunsResponse')
493
505
  GetConnectionRequest = Shapes::StructureShape.new(name: 'GetConnectionRequest')
494
506
  GetConnectionResponse = Shapes::StructureShape.new(name: 'GetConnectionResponse')
495
507
  GetConnectionsFilter = Shapes::StructureShape.new(name: 'GetConnectionsFilter')
@@ -700,6 +712,8 @@ module Aws::Glue
700
712
  LineageConfiguration = Shapes::StructureShape.new(name: 'LineageConfiguration')
701
713
  ListBlueprintsRequest = Shapes::StructureShape.new(name: 'ListBlueprintsRequest')
702
714
  ListBlueprintsResponse = Shapes::StructureShape.new(name: 'ListBlueprintsResponse')
715
+ ListColumnStatisticsTaskRunsRequest = Shapes::StructureShape.new(name: 'ListColumnStatisticsTaskRunsRequest')
716
+ ListColumnStatisticsTaskRunsResponse = Shapes::StructureShape.new(name: 'ListColumnStatisticsTaskRunsResponse')
703
717
  ListCrawlersRequest = Shapes::StructureShape.new(name: 'ListCrawlersRequest')
704
718
  ListCrawlersResponse = Shapes::StructureShape.new(name: 'ListCrawlersResponse')
705
719
  ListCrawlsRequest = Shapes::StructureShape.new(name: 'ListCrawlsRequest')
@@ -852,6 +866,7 @@ module Aws::Glue
852
866
  PiiType = Shapes::StringShape.new(name: 'PiiType')
853
867
  PolicyJsonString = Shapes::StringShape.new(name: 'PolicyJsonString')
854
868
  PollingTime = Shapes::IntegerShape.new(name: 'PollingTime')
869
+ PositiveInteger = Shapes::IntegerShape.new(name: 'PositiveInteger')
855
870
  PositiveLong = Shapes::IntegerShape.new(name: 'PositiveLong')
856
871
  PostgreSQLCatalogSource = Shapes::StructureShape.new(name: 'PostgreSQLCatalogSource')
857
872
  PostgreSQLCatalogTarget = Shapes::StructureShape.new(name: 'PostgreSQLCatalogTarget')
@@ -940,6 +955,7 @@ module Aws::Glue
940
955
  S3SourceAdditionalOptions = Shapes::StructureShape.new(name: 'S3SourceAdditionalOptions')
941
956
  S3Target = Shapes::StructureShape.new(name: 'S3Target')
942
957
  S3TargetList = Shapes::ListShape.new(name: 'S3TargetList')
958
+ SampleSizePercentage = Shapes::FloatShape.new(name: 'SampleSizePercentage')
943
959
  ScalaCode = Shapes::StringShape.new(name: 'ScalaCode')
944
960
  Schedule = Shapes::StructureShape.new(name: 'Schedule')
945
961
  ScheduleState = Shapes::StringShape.new(name: 'ScheduleState')
@@ -1006,6 +1022,8 @@ module Aws::Glue
1006
1022
  SqlQuery = Shapes::StringShape.new(name: 'SqlQuery')
1007
1023
  StartBlueprintRunRequest = Shapes::StructureShape.new(name: 'StartBlueprintRunRequest')
1008
1024
  StartBlueprintRunResponse = Shapes::StructureShape.new(name: 'StartBlueprintRunResponse')
1025
+ StartColumnStatisticsTaskRunRequest = Shapes::StructureShape.new(name: 'StartColumnStatisticsTaskRunRequest')
1026
+ StartColumnStatisticsTaskRunResponse = Shapes::StructureShape.new(name: 'StartColumnStatisticsTaskRunResponse')
1009
1027
  StartCrawlerRequest = Shapes::StructureShape.new(name: 'StartCrawlerRequest')
1010
1028
  StartCrawlerResponse = Shapes::StructureShape.new(name: 'StartCrawlerResponse')
1011
1029
  StartCrawlerScheduleRequest = Shapes::StructureShape.new(name: 'StartCrawlerScheduleRequest')
@@ -1035,6 +1053,8 @@ module Aws::Glue
1035
1053
  StatementOutput = Shapes::StructureShape.new(name: 'StatementOutput')
1036
1054
  StatementOutputData = Shapes::StructureShape.new(name: 'StatementOutputData')
1037
1055
  StatementState = Shapes::StringShape.new(name: 'StatementState')
1056
+ StopColumnStatisticsTaskRunRequest = Shapes::StructureShape.new(name: 'StopColumnStatisticsTaskRunRequest')
1057
+ StopColumnStatisticsTaskRunResponse = Shapes::StructureShape.new(name: 'StopColumnStatisticsTaskRunResponse')
1038
1058
  StopCrawlerRequest = Shapes::StructureShape.new(name: 'StopCrawlerRequest')
1039
1059
  StopCrawlerResponse = Shapes::StructureShape.new(name: 'StopCrawlerResponse')
1040
1060
  StopCrawlerScheduleRequest = Shapes::StructureShape.new(name: 'StopCrawlerScheduleRequest')
@@ -1780,6 +1800,8 @@ module Aws::Glue
1780
1800
 
1781
1801
  ColumnList.member = Shapes::ShapeRef.new(shape: Column)
1782
1802
 
1803
+ ColumnNameList.member = Shapes::ShapeRef.new(shape: NameString)
1804
+
1783
1805
  ColumnRowFilter.add_member(:column_name, Shapes::ShapeRef.new(shape: NameString, location_name: "ColumnName"))
1784
1806
  ColumnRowFilter.add_member(:row_filter_expression, Shapes::ShapeRef.new(shape: PredicateString, location_name: "RowFilterExpression"))
1785
1807
  ColumnRowFilter.struct_class = Types::ColumnRowFilter
@@ -1810,6 +1832,39 @@ module Aws::Glue
1810
1832
 
1811
1833
  ColumnStatisticsList.member = Shapes::ShapeRef.new(shape: ColumnStatistics)
1812
1834
 
1835
+ ColumnStatisticsTaskNotRunningException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
1836
+ ColumnStatisticsTaskNotRunningException.struct_class = Types::ColumnStatisticsTaskNotRunningException
1837
+
1838
+ ColumnStatisticsTaskRun.add_member(:customer_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "CustomerId"))
1839
+ ColumnStatisticsTaskRun.add_member(:column_statistics_task_run_id, Shapes::ShapeRef.new(shape: HashString, location_name: "ColumnStatisticsTaskRunId"))
1840
+ ColumnStatisticsTaskRun.add_member(:database_name, Shapes::ShapeRef.new(shape: DatabaseName, location_name: "DatabaseName"))
1841
+ ColumnStatisticsTaskRun.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "TableName"))
1842
+ ColumnStatisticsTaskRun.add_member(:column_name_list, Shapes::ShapeRef.new(shape: ColumnNameList, location_name: "ColumnNameList"))
1843
+ ColumnStatisticsTaskRun.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogID"))
1844
+ ColumnStatisticsTaskRun.add_member(:role, Shapes::ShapeRef.new(shape: Role, location_name: "Role"))
1845
+ ColumnStatisticsTaskRun.add_member(:sample_size, Shapes::ShapeRef.new(shape: SampleSizePercentage, location_name: "SampleSize"))
1846
+ ColumnStatisticsTaskRun.add_member(:security_configuration, Shapes::ShapeRef.new(shape: CrawlerSecurityConfiguration, location_name: "SecurityConfiguration"))
1847
+ ColumnStatisticsTaskRun.add_member(:number_of_workers, Shapes::ShapeRef.new(shape: PositiveInteger, location_name: "NumberOfWorkers"))
1848
+ ColumnStatisticsTaskRun.add_member(:worker_type, Shapes::ShapeRef.new(shape: NameString, location_name: "WorkerType"))
1849
+ ColumnStatisticsTaskRun.add_member(:status, Shapes::ShapeRef.new(shape: ColumnStatisticsState, location_name: "Status"))
1850
+ ColumnStatisticsTaskRun.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
1851
+ ColumnStatisticsTaskRun.add_member(:last_updated, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastUpdated"))
1852
+ ColumnStatisticsTaskRun.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartTime"))
1853
+ ColumnStatisticsTaskRun.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
1854
+ ColumnStatisticsTaskRun.add_member(:error_message, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "ErrorMessage"))
1855
+ ColumnStatisticsTaskRun.add_member(:dpu_seconds, Shapes::ShapeRef.new(shape: NonNegativeDouble, location_name: "DPUSeconds"))
1856
+ ColumnStatisticsTaskRun.struct_class = Types::ColumnStatisticsTaskRun
1857
+
1858
+ ColumnStatisticsTaskRunIdList.member = Shapes::ShapeRef.new(shape: HashString)
1859
+
1860
+ ColumnStatisticsTaskRunningException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
1861
+ ColumnStatisticsTaskRunningException.struct_class = Types::ColumnStatisticsTaskRunningException
1862
+
1863
+ ColumnStatisticsTaskRunsList.member = Shapes::ShapeRef.new(shape: ColumnStatisticsTaskRun)
1864
+
1865
+ ColumnStatisticsTaskStoppingException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
1866
+ ColumnStatisticsTaskStoppingException.struct_class = Types::ColumnStatisticsTaskStoppingException
1867
+
1813
1868
  ColumnValueStringList.member = Shapes::ShapeRef.new(shape: ColumnValuesString)
1814
1869
 
1815
1870
  ConcurrentModificationException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
@@ -3007,6 +3062,22 @@ module Aws::Glue
3007
3062
  GetColumnStatisticsForTableResponse.add_member(:errors, Shapes::ShapeRef.new(shape: ColumnErrors, location_name: "Errors"))
3008
3063
  GetColumnStatisticsForTableResponse.struct_class = Types::GetColumnStatisticsForTableResponse
3009
3064
 
3065
+ GetColumnStatisticsTaskRunRequest.add_member(:column_statistics_task_run_id, Shapes::ShapeRef.new(shape: HashString, required: true, location_name: "ColumnStatisticsTaskRunId"))
3066
+ GetColumnStatisticsTaskRunRequest.struct_class = Types::GetColumnStatisticsTaskRunRequest
3067
+
3068
+ GetColumnStatisticsTaskRunResponse.add_member(:column_statistics_task_run, Shapes::ShapeRef.new(shape: ColumnStatisticsTaskRun, location_name: "ColumnStatisticsTaskRun"))
3069
+ GetColumnStatisticsTaskRunResponse.struct_class = Types::GetColumnStatisticsTaskRunResponse
3070
+
3071
+ GetColumnStatisticsTaskRunsRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: DatabaseName, required: true, location_name: "DatabaseName"))
3072
+ GetColumnStatisticsTaskRunsRequest.add_member(:table_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "TableName"))
3073
+ GetColumnStatisticsTaskRunsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "MaxResults"))
3074
+ GetColumnStatisticsTaskRunsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
3075
+ GetColumnStatisticsTaskRunsRequest.struct_class = Types::GetColumnStatisticsTaskRunsRequest
3076
+
3077
+ GetColumnStatisticsTaskRunsResponse.add_member(:column_statistics_task_runs, Shapes::ShapeRef.new(shape: ColumnStatisticsTaskRunsList, location_name: "ColumnStatisticsTaskRuns"))
3078
+ GetColumnStatisticsTaskRunsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
3079
+ GetColumnStatisticsTaskRunsResponse.struct_class = Types::GetColumnStatisticsTaskRunsResponse
3080
+
3010
3081
  GetConnectionRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
3011
3082
  GetConnectionRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
3012
3083
  GetConnectionRequest.add_member(:hide_password, Shapes::ShapeRef.new(shape: Boolean, location_name: "HidePassword"))
@@ -3966,6 +4037,14 @@ module Aws::Glue
3966
4037
  ListBlueprintsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: GenericString, location_name: "NextToken"))
3967
4038
  ListBlueprintsResponse.struct_class = Types::ListBlueprintsResponse
3968
4039
 
4040
+ ListColumnStatisticsTaskRunsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "MaxResults"))
4041
+ ListColumnStatisticsTaskRunsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
4042
+ ListColumnStatisticsTaskRunsRequest.struct_class = Types::ListColumnStatisticsTaskRunsRequest
4043
+
4044
+ ListColumnStatisticsTaskRunsResponse.add_member(:column_statistics_task_run_ids, Shapes::ShapeRef.new(shape: ColumnStatisticsTaskRunIdList, location_name: "ColumnStatisticsTaskRunIds"))
4045
+ ListColumnStatisticsTaskRunsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
4046
+ ListColumnStatisticsTaskRunsResponse.struct_class = Types::ListColumnStatisticsTaskRunsResponse
4047
+
3969
4048
  ListCrawlersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "MaxResults"))
3970
4049
  ListCrawlersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
3971
4050
  ListCrawlersRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "Tags"))
@@ -5023,6 +5102,18 @@ module Aws::Glue
5023
5102
  StartBlueprintRunResponse.add_member(:run_id, Shapes::ShapeRef.new(shape: IdString, location_name: "RunId"))
5024
5103
  StartBlueprintRunResponse.struct_class = Types::StartBlueprintRunResponse
5025
5104
 
5105
+ StartColumnStatisticsTaskRunRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
5106
+ StartColumnStatisticsTaskRunRequest.add_member(:table_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "TableName"))
5107
+ StartColumnStatisticsTaskRunRequest.add_member(:column_name_list, Shapes::ShapeRef.new(shape: ColumnNameList, location_name: "ColumnNameList"))
5108
+ StartColumnStatisticsTaskRunRequest.add_member(:role, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Role"))
5109
+ StartColumnStatisticsTaskRunRequest.add_member(:sample_size, Shapes::ShapeRef.new(shape: SampleSizePercentage, location_name: "SampleSize"))
5110
+ StartColumnStatisticsTaskRunRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: NameString, location_name: "CatalogID"))
5111
+ StartColumnStatisticsTaskRunRequest.add_member(:security_configuration, Shapes::ShapeRef.new(shape: NameString, location_name: "SecurityConfiguration"))
5112
+ StartColumnStatisticsTaskRunRequest.struct_class = Types::StartColumnStatisticsTaskRunRequest
5113
+
5114
+ StartColumnStatisticsTaskRunResponse.add_member(:column_statistics_task_run_id, Shapes::ShapeRef.new(shape: HashString, location_name: "ColumnStatisticsTaskRunId"))
5115
+ StartColumnStatisticsTaskRunResponse.struct_class = Types::StartColumnStatisticsTaskRunResponse
5116
+
5026
5117
  StartCrawlerRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
5027
5118
  StartCrawlerRequest.struct_class = Types::StartCrawlerRequest
5028
5119
 
@@ -5140,6 +5231,12 @@ module Aws::Glue
5140
5231
  StatementOutputData.add_member(:text_plain, Shapes::ShapeRef.new(shape: GenericString, location_name: "TextPlain"))
5141
5232
  StatementOutputData.struct_class = Types::StatementOutputData
5142
5233
 
5234
+ StopColumnStatisticsTaskRunRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: DatabaseName, required: true, location_name: "DatabaseName"))
5235
+ StopColumnStatisticsTaskRunRequest.add_member(:table_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "TableName"))
5236
+ StopColumnStatisticsTaskRunRequest.struct_class = Types::StopColumnStatisticsTaskRunRequest
5237
+
5238
+ StopColumnStatisticsTaskRunResponse.struct_class = Types::StopColumnStatisticsTaskRunResponse
5239
+
5143
5240
  StopCrawlerRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
5144
5241
  StopCrawlerRequest.struct_class = Types::StopCrawlerRequest
5145
5242
 
@@ -6751,6 +6848,32 @@ module Aws::Glue
6751
6848
  o.errors << Shapes::ShapeRef.new(shape: GlueEncryptionException)
6752
6849
  end)
6753
6850
 
6851
+ api.add_operation(:get_column_statistics_task_run, Seahorse::Model::Operation.new.tap do |o|
6852
+ o.name = "GetColumnStatisticsTaskRun"
6853
+ o.http_method = "POST"
6854
+ o.http_request_uri = "/"
6855
+ o.input = Shapes::ShapeRef.new(shape: GetColumnStatisticsTaskRunRequest)
6856
+ o.output = Shapes::ShapeRef.new(shape: GetColumnStatisticsTaskRunResponse)
6857
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
6858
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
6859
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
6860
+ end)
6861
+
6862
+ api.add_operation(:get_column_statistics_task_runs, Seahorse::Model::Operation.new.tap do |o|
6863
+ o.name = "GetColumnStatisticsTaskRuns"
6864
+ o.http_method = "POST"
6865
+ o.http_request_uri = "/"
6866
+ o.input = Shapes::ShapeRef.new(shape: GetColumnStatisticsTaskRunsRequest)
6867
+ o.output = Shapes::ShapeRef.new(shape: GetColumnStatisticsTaskRunsResponse)
6868
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
6869
+ o[:pager] = Aws::Pager.new(
6870
+ limit_key: "max_results",
6871
+ tokens: {
6872
+ "next_token" => "next_token"
6873
+ }
6874
+ )
6875
+ end)
6876
+
6754
6877
  api.add_operation(:get_connection, Seahorse::Model::Operation.new.tap do |o|
6755
6878
  o.name = "GetConnection"
6756
6879
  o.http_method = "POST"
@@ -7615,6 +7738,21 @@ module Aws::Glue
7615
7738
  )
7616
7739
  end)
7617
7740
 
7741
+ api.add_operation(:list_column_statistics_task_runs, Seahorse::Model::Operation.new.tap do |o|
7742
+ o.name = "ListColumnStatisticsTaskRuns"
7743
+ o.http_method = "POST"
7744
+ o.http_request_uri = "/"
7745
+ o.input = Shapes::ShapeRef.new(shape: ListColumnStatisticsTaskRunsRequest)
7746
+ o.output = Shapes::ShapeRef.new(shape: ListColumnStatisticsTaskRunsResponse)
7747
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
7748
+ o[:pager] = Aws::Pager.new(
7749
+ limit_key: "max_results",
7750
+ tokens: {
7751
+ "next_token" => "next_token"
7752
+ }
7753
+ )
7754
+ end)
7755
+
7618
7756
  api.add_operation(:list_crawlers, Seahorse::Model::Operation.new.tap do |o|
7619
7757
  o.name = "ListCrawlers"
7620
7758
  o.http_method = "POST"
@@ -8080,6 +8218,20 @@ module Aws::Glue
8080
8218
  o.errors << Shapes::ShapeRef.new(shape: IllegalBlueprintStateException)
8081
8219
  end)
8082
8220
 
8221
+ api.add_operation(:start_column_statistics_task_run, Seahorse::Model::Operation.new.tap do |o|
8222
+ o.name = "StartColumnStatisticsTaskRun"
8223
+ o.http_method = "POST"
8224
+ o.http_request_uri = "/"
8225
+ o.input = Shapes::ShapeRef.new(shape: StartColumnStatisticsTaskRunRequest)
8226
+ o.output = Shapes::ShapeRef.new(shape: StartColumnStatisticsTaskRunResponse)
8227
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
8228
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
8229
+ o.errors << Shapes::ShapeRef.new(shape: ColumnStatisticsTaskRunningException)
8230
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
8231
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNumberLimitExceededException)
8232
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
8233
+ end)
8234
+
8083
8235
  api.add_operation(:start_crawler, Seahorse::Model::Operation.new.tap do |o|
8084
8236
  o.name = "StartCrawler"
8085
8237
  o.http_method = "POST"
@@ -8223,6 +8375,18 @@ module Aws::Glue
8223
8375
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentRunsExceededException)
8224
8376
  end)
8225
8377
 
8378
+ api.add_operation(:stop_column_statistics_task_run, Seahorse::Model::Operation.new.tap do |o|
8379
+ o.name = "StopColumnStatisticsTaskRun"
8380
+ o.http_method = "POST"
8381
+ o.http_request_uri = "/"
8382
+ o.input = Shapes::ShapeRef.new(shape: StopColumnStatisticsTaskRunRequest)
8383
+ o.output = Shapes::ShapeRef.new(shape: StopColumnStatisticsTaskRunResponse)
8384
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
8385
+ o.errors << Shapes::ShapeRef.new(shape: ColumnStatisticsTaskNotRunningException)
8386
+ o.errors << Shapes::ShapeRef.new(shape: ColumnStatisticsTaskStoppingException)
8387
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
8388
+ end)
8389
+
8226
8390
  api.add_operation(:stop_crawler, Seahorse::Model::Operation.new.tap do |o|
8227
8391
  o.name = "StopCrawler"
8228
8392
  o.http_method = "POST"
@@ -1104,6 +1104,34 @@ module Aws::Glue
1104
1104
  end
1105
1105
  end
1106
1106
 
1107
+ class GetColumnStatisticsTaskRun
1108
+ def self.build(context)
1109
+ unless context.config.regional_endpoint
1110
+ endpoint = context.config.endpoint.to_s
1111
+ end
1112
+ Aws::Glue::EndpointParameters.new(
1113
+ region: context.config.region,
1114
+ use_dual_stack: context.config.use_dualstack_endpoint,
1115
+ use_fips: context.config.use_fips_endpoint,
1116
+ endpoint: endpoint,
1117
+ )
1118
+ end
1119
+ end
1120
+
1121
+ class GetColumnStatisticsTaskRuns
1122
+ def self.build(context)
1123
+ unless context.config.regional_endpoint
1124
+ endpoint = context.config.endpoint.to_s
1125
+ end
1126
+ Aws::Glue::EndpointParameters.new(
1127
+ region: context.config.region,
1128
+ use_dual_stack: context.config.use_dualstack_endpoint,
1129
+ use_fips: context.config.use_fips_endpoint,
1130
+ endpoint: endpoint,
1131
+ )
1132
+ end
1133
+ end
1134
+
1107
1135
  class GetConnection
1108
1136
  def self.build(context)
1109
1137
  unless context.config.regional_endpoint
@@ -1944,6 +1972,20 @@ module Aws::Glue
1944
1972
  end
1945
1973
  end
1946
1974
 
1975
+ class ListColumnStatisticsTaskRuns
1976
+ def self.build(context)
1977
+ unless context.config.regional_endpoint
1978
+ endpoint = context.config.endpoint.to_s
1979
+ end
1980
+ Aws::Glue::EndpointParameters.new(
1981
+ region: context.config.region,
1982
+ use_dual_stack: context.config.use_dualstack_endpoint,
1983
+ use_fips: context.config.use_fips_endpoint,
1984
+ endpoint: endpoint,
1985
+ )
1986
+ end
1987
+ end
1988
+
1947
1989
  class ListCrawlers
1948
1990
  def self.build(context)
1949
1991
  unless context.config.regional_endpoint
@@ -2364,6 +2406,20 @@ module Aws::Glue
2364
2406
  end
2365
2407
  end
2366
2408
 
2409
+ class StartColumnStatisticsTaskRun
2410
+ def self.build(context)
2411
+ unless context.config.regional_endpoint
2412
+ endpoint = context.config.endpoint.to_s
2413
+ end
2414
+ Aws::Glue::EndpointParameters.new(
2415
+ region: context.config.region,
2416
+ use_dual_stack: context.config.use_dualstack_endpoint,
2417
+ use_fips: context.config.use_fips_endpoint,
2418
+ endpoint: endpoint,
2419
+ )
2420
+ end
2421
+ end
2422
+
2367
2423
  class StartCrawler
2368
2424
  def self.build(context)
2369
2425
  unless context.config.regional_endpoint
@@ -2518,6 +2574,20 @@ module Aws::Glue
2518
2574
  end
2519
2575
  end
2520
2576
 
2577
+ class StopColumnStatisticsTaskRun
2578
+ def self.build(context)
2579
+ unless context.config.regional_endpoint
2580
+ endpoint = context.config.endpoint.to_s
2581
+ end
2582
+ Aws::Glue::EndpointParameters.new(
2583
+ region: context.config.region,
2584
+ use_dual_stack: context.config.use_dualstack_endpoint,
2585
+ use_fips: context.config.use_fips_endpoint,
2586
+ endpoint: endpoint,
2587
+ )
2588
+ end
2589
+ end
2590
+
2521
2591
  class StopCrawler
2522
2592
  def self.build(context)
2523
2593
  unless context.config.regional_endpoint
@@ -29,6 +29,9 @@ module Aws::Glue
29
29
  # ## Error Classes
30
30
  # * {AccessDeniedException}
31
31
  # * {AlreadyExistsException}
32
+ # * {ColumnStatisticsTaskNotRunningException}
33
+ # * {ColumnStatisticsTaskRunningException}
34
+ # * {ColumnStatisticsTaskStoppingException}
32
35
  # * {ConcurrentModificationException}
33
36
  # * {ConcurrentRunsExceededException}
34
37
  # * {ConditionCheckFailureException}
@@ -96,6 +99,51 @@ module Aws::Glue
96
99
  end
97
100
  end
98
101
 
102
+ class ColumnStatisticsTaskNotRunningException < ServiceError
103
+
104
+ # @param [Seahorse::Client::RequestContext] context
105
+ # @param [String] message
106
+ # @param [Aws::Glue::Types::ColumnStatisticsTaskNotRunningException] data
107
+ def initialize(context, message, data = Aws::EmptyStructure.new)
108
+ super(context, message, data)
109
+ end
110
+
111
+ # @return [String]
112
+ def message
113
+ @message || @data[:message]
114
+ end
115
+ end
116
+
117
+ class ColumnStatisticsTaskRunningException < ServiceError
118
+
119
+ # @param [Seahorse::Client::RequestContext] context
120
+ # @param [String] message
121
+ # @param [Aws::Glue::Types::ColumnStatisticsTaskRunningException] data
122
+ def initialize(context, message, data = Aws::EmptyStructure.new)
123
+ super(context, message, data)
124
+ end
125
+
126
+ # @return [String]
127
+ def message
128
+ @message || @data[:message]
129
+ end
130
+ end
131
+
132
+ class ColumnStatisticsTaskStoppingException < ServiceError
133
+
134
+ # @param [Seahorse::Client::RequestContext] context
135
+ # @param [String] message
136
+ # @param [Aws::Glue::Types::ColumnStatisticsTaskStoppingException] data
137
+ def initialize(context, message, data = Aws::EmptyStructure.new)
138
+ super(context, message, data)
139
+ end
140
+
141
+ # @return [String]
142
+ def message
143
+ @message || @data[:message]
144
+ end
145
+ end
146
+
99
147
  class ConcurrentModificationException < ServiceError
100
148
 
101
149
  # @param [Seahorse::Client::RequestContext] context
@@ -212,6 +212,10 @@ module Aws::Glue
212
212
  Aws::Glue::Endpoints::GetColumnStatisticsForPartition.build(context)
213
213
  when :get_column_statistics_for_table
214
214
  Aws::Glue::Endpoints::GetColumnStatisticsForTable.build(context)
215
+ when :get_column_statistics_task_run
216
+ Aws::Glue::Endpoints::GetColumnStatisticsTaskRun.build(context)
217
+ when :get_column_statistics_task_runs
218
+ Aws::Glue::Endpoints::GetColumnStatisticsTaskRuns.build(context)
215
219
  when :get_connection
216
220
  Aws::Glue::Endpoints::GetConnection.build(context)
217
221
  when :get_connections
@@ -332,6 +336,8 @@ module Aws::Glue
332
336
  Aws::Glue::Endpoints::ImportCatalogToGlue.build(context)
333
337
  when :list_blueprints
334
338
  Aws::Glue::Endpoints::ListBlueprints.build(context)
339
+ when :list_column_statistics_task_runs
340
+ Aws::Glue::Endpoints::ListColumnStatisticsTaskRuns.build(context)
335
341
  when :list_crawlers
336
342
  Aws::Glue::Endpoints::ListCrawlers.build(context)
337
343
  when :list_crawls
@@ -392,6 +398,8 @@ module Aws::Glue
392
398
  Aws::Glue::Endpoints::SearchTables.build(context)
393
399
  when :start_blueprint_run
394
400
  Aws::Glue::Endpoints::StartBlueprintRun.build(context)
401
+ when :start_column_statistics_task_run
402
+ Aws::Glue::Endpoints::StartColumnStatisticsTaskRun.build(context)
395
403
  when :start_crawler
396
404
  Aws::Glue::Endpoints::StartCrawler.build(context)
397
405
  when :start_crawler_schedule
@@ -414,6 +422,8 @@ module Aws::Glue
414
422
  Aws::Glue::Endpoints::StartTrigger.build(context)
415
423
  when :start_workflow_run
416
424
  Aws::Glue::Endpoints::StartWorkflowRun.build(context)
425
+ when :stop_column_statistics_task_run
426
+ Aws::Glue::Endpoints::StopColumnStatisticsTaskRun.build(context)
417
427
  when :stop_crawler
418
428
  Aws::Glue::Endpoints::StopCrawler.build(context)
419
429
  when :stop_crawler_schedule
@@ -2715,6 +2715,155 @@ module Aws::Glue
2715
2715
  include Aws::Structure
2716
2716
  end
2717
2717
 
2718
+ # An exception thrown when you try to stop a task run when there is no
2719
+ # task running.
2720
+ #
2721
+ # @!attribute [rw] message
2722
+ # A message describing the problem.
2723
+ # @return [String]
2724
+ #
2725
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ColumnStatisticsTaskNotRunningException AWS API Documentation
2726
+ #
2727
+ class ColumnStatisticsTaskNotRunningException < Struct.new(
2728
+ :message)
2729
+ SENSITIVE = []
2730
+ include Aws::Structure
2731
+ end
2732
+
2733
+ # The object that shows the details of the column stats run.
2734
+ #
2735
+ # @!attribute [rw] customer_id
2736
+ # The Amazon Web Services account ID.
2737
+ # @return [String]
2738
+ #
2739
+ # @!attribute [rw] column_statistics_task_run_id
2740
+ # The identifier for the particular column statistics task run.
2741
+ # @return [String]
2742
+ #
2743
+ # @!attribute [rw] database_name
2744
+ # The database where the table resides.
2745
+ # @return [String]
2746
+ #
2747
+ # @!attribute [rw] table_name
2748
+ # The name of the table for which column statistics is generated.
2749
+ # @return [String]
2750
+ #
2751
+ # @!attribute [rw] column_name_list
2752
+ # A list of the column names. If none is supplied, all column names
2753
+ # for the table will be used by default.
2754
+ # @return [Array<String>]
2755
+ #
2756
+ # @!attribute [rw] catalog_id
2757
+ # The ID of the Data Catalog where the table resides. If none is
2758
+ # supplied, the Amazon Web Services account ID is used by default.
2759
+ # @return [String]
2760
+ #
2761
+ # @!attribute [rw] role
2762
+ # The IAM role that the service assumes to generate statistics.
2763
+ # @return [String]
2764
+ #
2765
+ # @!attribute [rw] sample_size
2766
+ # The percentage of rows used to generate statistics. If none is
2767
+ # supplied, the entire table will be used to generate stats.
2768
+ # @return [Float]
2769
+ #
2770
+ # @!attribute [rw] security_configuration
2771
+ # Name of the security configuration that is used to encrypt
2772
+ # CloudWatch logs for the column stats task run.
2773
+ # @return [String]
2774
+ #
2775
+ # @!attribute [rw] number_of_workers
2776
+ # The number of workers used to generate column statistics. The job is
2777
+ # preconfigured to autoscale up to 25 instances.
2778
+ # @return [Integer]
2779
+ #
2780
+ # @!attribute [rw] worker_type
2781
+ # The type of workers being used for generating stats. The default is
2782
+ # `g.1x`.
2783
+ # @return [String]
2784
+ #
2785
+ # @!attribute [rw] status
2786
+ # The status of the task run.
2787
+ # @return [String]
2788
+ #
2789
+ # @!attribute [rw] creation_time
2790
+ # The time that this task was created.
2791
+ # @return [Time]
2792
+ #
2793
+ # @!attribute [rw] last_updated
2794
+ # The last point in time when this task was modified.
2795
+ # @return [Time]
2796
+ #
2797
+ # @!attribute [rw] start_time
2798
+ # The start time of the task.
2799
+ # @return [Time]
2800
+ #
2801
+ # @!attribute [rw] end_time
2802
+ # The end time of the task.
2803
+ # @return [Time]
2804
+ #
2805
+ # @!attribute [rw] error_message
2806
+ # The error message for the job.
2807
+ # @return [String]
2808
+ #
2809
+ # @!attribute [rw] dpu_seconds
2810
+ # The calculated DPU usage in seconds for all autoscaled workers.
2811
+ # @return [Float]
2812
+ #
2813
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ColumnStatisticsTaskRun AWS API Documentation
2814
+ #
2815
+ class ColumnStatisticsTaskRun < Struct.new(
2816
+ :customer_id,
2817
+ :column_statistics_task_run_id,
2818
+ :database_name,
2819
+ :table_name,
2820
+ :column_name_list,
2821
+ :catalog_id,
2822
+ :role,
2823
+ :sample_size,
2824
+ :security_configuration,
2825
+ :number_of_workers,
2826
+ :worker_type,
2827
+ :status,
2828
+ :creation_time,
2829
+ :last_updated,
2830
+ :start_time,
2831
+ :end_time,
2832
+ :error_message,
2833
+ :dpu_seconds)
2834
+ SENSITIVE = []
2835
+ include Aws::Structure
2836
+ end
2837
+
2838
+ # An exception thrown when you try to start another job while running a
2839
+ # column stats generation job.
2840
+ #
2841
+ # @!attribute [rw] message
2842
+ # A message describing the problem.
2843
+ # @return [String]
2844
+ #
2845
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ColumnStatisticsTaskRunningException AWS API Documentation
2846
+ #
2847
+ class ColumnStatisticsTaskRunningException < Struct.new(
2848
+ :message)
2849
+ SENSITIVE = []
2850
+ include Aws::Structure
2851
+ end
2852
+
2853
+ # An exception thrown when you try to stop a task run.
2854
+ #
2855
+ # @!attribute [rw] message
2856
+ # A message describing the problem.
2857
+ # @return [String]
2858
+ #
2859
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ColumnStatisticsTaskStoppingException AWS API Documentation
2860
+ #
2861
+ class ColumnStatisticsTaskStoppingException < Struct.new(
2862
+ :message)
2863
+ SENSITIVE = []
2864
+ include Aws::Structure
2865
+ end
2866
+
2718
2867
  # Two processes are trying to modify a resource simultaneously.
2719
2868
  #
2720
2869
  # @!attribute [rw] message
@@ -8947,6 +9096,75 @@ module Aws::Glue
8947
9096
  include Aws::Structure
8948
9097
  end
8949
9098
 
9099
+ # @!attribute [rw] column_statistics_task_run_id
9100
+ # The identifier for the particular column statistics task run.
9101
+ # @return [String]
9102
+ #
9103
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetColumnStatisticsTaskRunRequest AWS API Documentation
9104
+ #
9105
+ class GetColumnStatisticsTaskRunRequest < Struct.new(
9106
+ :column_statistics_task_run_id)
9107
+ SENSITIVE = []
9108
+ include Aws::Structure
9109
+ end
9110
+
9111
+ # @!attribute [rw] column_statistics_task_run
9112
+ # A `ColumnStatisticsTaskRun` object representing the details of the
9113
+ # column stats run.
9114
+ # @return [Types::ColumnStatisticsTaskRun]
9115
+ #
9116
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetColumnStatisticsTaskRunResponse AWS API Documentation
9117
+ #
9118
+ class GetColumnStatisticsTaskRunResponse < Struct.new(
9119
+ :column_statistics_task_run)
9120
+ SENSITIVE = []
9121
+ include Aws::Structure
9122
+ end
9123
+
9124
+ # @!attribute [rw] database_name
9125
+ # The name of the database where the table resides.
9126
+ # @return [String]
9127
+ #
9128
+ # @!attribute [rw] table_name
9129
+ # The name of the table.
9130
+ # @return [String]
9131
+ #
9132
+ # @!attribute [rw] max_results
9133
+ # The maximum size of the response.
9134
+ # @return [Integer]
9135
+ #
9136
+ # @!attribute [rw] next_token
9137
+ # A continuation token, if this is a continuation call.
9138
+ # @return [String]
9139
+ #
9140
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetColumnStatisticsTaskRunsRequest AWS API Documentation
9141
+ #
9142
+ class GetColumnStatisticsTaskRunsRequest < Struct.new(
9143
+ :database_name,
9144
+ :table_name,
9145
+ :max_results,
9146
+ :next_token)
9147
+ SENSITIVE = []
9148
+ include Aws::Structure
9149
+ end
9150
+
9151
+ # @!attribute [rw] column_statistics_task_runs
9152
+ # A list of column statistics task runs.
9153
+ # @return [Array<Types::ColumnStatisticsTaskRun>]
9154
+ #
9155
+ # @!attribute [rw] next_token
9156
+ # A continuation token, if not all task runs have yet been returned.
9157
+ # @return [String]
9158
+ #
9159
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetColumnStatisticsTaskRunsResponse AWS API Documentation
9160
+ #
9161
+ class GetColumnStatisticsTaskRunsResponse < Struct.new(
9162
+ :column_statistics_task_runs,
9163
+ :next_token)
9164
+ SENSITIVE = []
9165
+ include Aws::Structure
9166
+ end
9167
+
8950
9168
  # @!attribute [rw] catalog_id
8951
9169
  # The ID of the Data Catalog in which the connection resides. If none
8952
9170
  # is provided, the Amazon Web Services account ID is used by default.
@@ -14211,6 +14429,41 @@ module Aws::Glue
14211
14429
  include Aws::Structure
14212
14430
  end
14213
14431
 
14432
+ # @!attribute [rw] max_results
14433
+ # The maximum size of the response.
14434
+ # @return [Integer]
14435
+ #
14436
+ # @!attribute [rw] next_token
14437
+ # A continuation token, if this is a continuation call.
14438
+ # @return [String]
14439
+ #
14440
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListColumnStatisticsTaskRunsRequest AWS API Documentation
14441
+ #
14442
+ class ListColumnStatisticsTaskRunsRequest < Struct.new(
14443
+ :max_results,
14444
+ :next_token)
14445
+ SENSITIVE = []
14446
+ include Aws::Structure
14447
+ end
14448
+
14449
+ # @!attribute [rw] column_statistics_task_run_ids
14450
+ # A list of column statistics task run IDs.
14451
+ # @return [Array<String>]
14452
+ #
14453
+ # @!attribute [rw] next_token
14454
+ # A continuation token, if not all task run IDs have yet been
14455
+ # returned.
14456
+ # @return [String]
14457
+ #
14458
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListColumnStatisticsTaskRunsResponse AWS API Documentation
14459
+ #
14460
+ class ListColumnStatisticsTaskRunsResponse < Struct.new(
14461
+ :column_statistics_task_run_ids,
14462
+ :next_token)
14463
+ SENSITIVE = []
14464
+ include Aws::Structure
14465
+ end
14466
+
14214
14467
  # @!attribute [rw] max_results
14215
14468
  # The maximum size of a list to return.
14216
14469
  # @return [Integer]
@@ -19207,6 +19460,64 @@ module Aws::Glue
19207
19460
  include Aws::Structure
19208
19461
  end
19209
19462
 
19463
+ # @!attribute [rw] database_name
19464
+ # The name of the database where the table resides.
19465
+ # @return [String]
19466
+ #
19467
+ # @!attribute [rw] table_name
19468
+ # The name of the table to generate statistics.
19469
+ # @return [String]
19470
+ #
19471
+ # @!attribute [rw] column_name_list
19472
+ # A list of the column names to generate statistics. If none is
19473
+ # supplied, all column names for the table will be used by default.
19474
+ # @return [Array<String>]
19475
+ #
19476
+ # @!attribute [rw] role
19477
+ # The IAM role that the service assumes to generate statistics.
19478
+ # @return [String]
19479
+ #
19480
+ # @!attribute [rw] sample_size
19481
+ # The percentage of rows used to generate statistics. If none is
19482
+ # supplied, the entire table will be used to generate stats.
19483
+ # @return [Float]
19484
+ #
19485
+ # @!attribute [rw] catalog_id
19486
+ # The ID of the Data Catalog where the table reside. If none is
19487
+ # supplied, the Amazon Web Services account ID is used by default.
19488
+ # @return [String]
19489
+ #
19490
+ # @!attribute [rw] security_configuration
19491
+ # Name of the security configuration that is used to encrypt
19492
+ # CloudWatch logs for the column stats task run.
19493
+ # @return [String]
19494
+ #
19495
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartColumnStatisticsTaskRunRequest AWS API Documentation
19496
+ #
19497
+ class StartColumnStatisticsTaskRunRequest < Struct.new(
19498
+ :database_name,
19499
+ :table_name,
19500
+ :column_name_list,
19501
+ :role,
19502
+ :sample_size,
19503
+ :catalog_id,
19504
+ :security_configuration)
19505
+ SENSITIVE = []
19506
+ include Aws::Structure
19507
+ end
19508
+
19509
+ # @!attribute [rw] column_statistics_task_run_id
19510
+ # The identifier for the column statistics task run.
19511
+ # @return [String]
19512
+ #
19513
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartColumnStatisticsTaskRunResponse AWS API Documentation
19514
+ #
19515
+ class StartColumnStatisticsTaskRunResponse < Struct.new(
19516
+ :column_statistics_task_run_id)
19517
+ SENSITIVE = []
19518
+ include Aws::Structure
19519
+ end
19520
+
19210
19521
  # @!attribute [rw] name
19211
19522
  # Name of the crawler to start.
19212
19523
  # @return [String]
@@ -19851,6 +20162,27 @@ module Aws::Glue
19851
20162
  include Aws::Structure
19852
20163
  end
19853
20164
 
20165
+ # @!attribute [rw] database_name
20166
+ # The name of the database where the table resides.
20167
+ # @return [String]
20168
+ #
20169
+ # @!attribute [rw] table_name
20170
+ # The name of the table.
20171
+ # @return [String]
20172
+ #
20173
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopColumnStatisticsTaskRunRequest AWS API Documentation
20174
+ #
20175
+ class StopColumnStatisticsTaskRunRequest < Struct.new(
20176
+ :database_name,
20177
+ :table_name)
20178
+ SENSITIVE = []
20179
+ include Aws::Structure
20180
+ end
20181
+
20182
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopColumnStatisticsTaskRunResponse AWS API Documentation
20183
+ #
20184
+ class StopColumnStatisticsTaskRunResponse < Aws::EmptyStructure; end
20185
+
19854
20186
  # @!attribute [rw] name
19855
20187
  # Name of the crawler to stop.
19856
20188
  # @return [String]
data/lib/aws-sdk-glue.rb CHANGED
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-glue/customizations'
52
52
  # @!group service
53
53
  module Aws::Glue
54
54
 
55
- GEM_VERSION = '1.159.0'
55
+ GEM_VERSION = '1.160.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-glue
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.159.0
4
+ version: 1.160.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-14 00:00:00.000000000 Z
11
+ date: 2023-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core