aws-sdk-glue 1.246.0 → 1.247.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: 9d13a92597a9b715e92319f76fcee486b2156954036143051c035628f86f25ee
4
- data.tar.gz: '0590350e1245602bbc22902a38a4ae639702e031a06981031e1a57b2330f9a3b'
3
+ metadata.gz: 18b5f8a7f0442c6a12f39380deb7180d9695f353e04380397ffaab0effcba82d
4
+ data.tar.gz: e9036b0a6ede8336543e9508be56edccd7f74b7677ada10a72bd4348007a47c6
5
5
  SHA512:
6
- metadata.gz: 9f70dcfadf38e794a157eaf447db2f1df3fe4b63f32aae45dc466525cabbc138d768c082656e57372eaf1a0c7bfdaf97a3819b7819c09187d38b126b14dd0d15
7
- data.tar.gz: 4eb7f5aab1092b3628962951af6040edd68d44fa5423b6d66e99b86150299dd09ac949f87f845b3125e1555e2107b602354c65c784cae69eb9cd7a77352bf260
6
+ metadata.gz: c28dca823167ed060e13f4e73e41e3825358de1d951ebe38a067798263ac9097a6e3df82aeab6c139549d08d8347a78de09cc20c64b2022084ad52bc6ce93be5
7
+ data.tar.gz: 9283d3e24b82ea53869ad19d5d32ebb0aa16add8426b27b7efe1db0fad888ed6ee2ccb695c5b0cc0daf3e40eb773e41410fb68ab53a217938eb61d852290d89d
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.247.0 (2026-01-09)
5
+ ------------------
6
+
7
+ * Feature - Adding MaterializedViews task run APIs
8
+
4
9
  1.246.0 (2026-01-08)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.246.0
1
+ 1.247.0
@@ -9165,6 +9165,54 @@ module Aws::Glue
9165
9165
  req.send_request(options)
9166
9166
  end
9167
9167
 
9168
+ # Get the associated metadata/information for a task run, given a task
9169
+ # run ID.
9170
+ #
9171
+ # @option params [required, String] :catalog_id
9172
+ # The ID of the Data Catalog where the table resides. If none is
9173
+ # supplied, the account ID is used by default.
9174
+ #
9175
+ # @option params [required, String] :materialized_view_refresh_task_run_id
9176
+ # The identifier for the particular materialized view refresh task run.
9177
+ #
9178
+ # @return [Types::GetMaterializedViewRefreshTaskRunResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9179
+ #
9180
+ # * {Types::GetMaterializedViewRefreshTaskRunResponse#materialized_view_refresh_task_run #materialized_view_refresh_task_run} => Types::MaterializedViewRefreshTaskRun
9181
+ #
9182
+ # @example Request syntax with placeholder values
9183
+ #
9184
+ # resp = client.get_materialized_view_refresh_task_run({
9185
+ # catalog_id: "NameString", # required
9186
+ # materialized_view_refresh_task_run_id: "UUIDv4", # required
9187
+ # })
9188
+ #
9189
+ # @example Response structure
9190
+ #
9191
+ # resp.materialized_view_refresh_task_run.customer_id #=> String
9192
+ # resp.materialized_view_refresh_task_run.materialized_view_refresh_task_run_id #=> String
9193
+ # resp.materialized_view_refresh_task_run.database_name #=> String
9194
+ # resp.materialized_view_refresh_task_run.table_name #=> String
9195
+ # resp.materialized_view_refresh_task_run.catalog_id #=> String
9196
+ # resp.materialized_view_refresh_task_run.role #=> String
9197
+ # resp.materialized_view_refresh_task_run.status #=> String, one of "STARTING", "RUNNING", "SUCCEEDED", "FAILED", "STOPPED"
9198
+ # resp.materialized_view_refresh_task_run.creation_time #=> Time
9199
+ # resp.materialized_view_refresh_task_run.last_updated #=> Time
9200
+ # resp.materialized_view_refresh_task_run.start_time #=> Time
9201
+ # resp.materialized_view_refresh_task_run.end_time #=> Time
9202
+ # resp.materialized_view_refresh_task_run.error_message #=> String
9203
+ # resp.materialized_view_refresh_task_run.dpu_seconds #=> Float
9204
+ # resp.materialized_view_refresh_task_run.refresh_type #=> String, one of "FULL", "INCREMENTAL"
9205
+ # resp.materialized_view_refresh_task_run.processed_bytes #=> Integer
9206
+ #
9207
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMaterializedViewRefreshTaskRun AWS API Documentation
9208
+ #
9209
+ # @overload get_materialized_view_refresh_task_run(params = {})
9210
+ # @param [Hash] params ({})
9211
+ def get_materialized_view_refresh_task_run(params = {}, options = {})
9212
+ req = build_request(:get_materialized_view_refresh_task_run, params)
9213
+ req.send_request(options)
9214
+ end
9215
+
9168
9216
  # Retrieves information about a specified partition.
9169
9217
  #
9170
9218
  # @option params [String] :catalog_id
@@ -13422,6 +13470,70 @@ module Aws::Glue
13422
13470
  req.send_request(options)
13423
13471
  end
13424
13472
 
13473
+ # List all task runs for a particular account.
13474
+ #
13475
+ # @option params [required, String] :catalog_id
13476
+ # The ID of the Data Catalog where the table resides. If none is
13477
+ # supplied, the account ID is used by default.
13478
+ #
13479
+ # @option params [String] :database_name
13480
+ # The database where the table resides.
13481
+ #
13482
+ # @option params [String] :table_name
13483
+ # The name of the table for which statistics is generated.
13484
+ #
13485
+ # @option params [Integer] :max_results
13486
+ # The maximum size of the response.
13487
+ #
13488
+ # @option params [String] :next_token
13489
+ # A continuation token, if this is a continuation call.
13490
+ #
13491
+ # @return [Types::ListMaterializedViewRefreshTaskRunsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
13492
+ #
13493
+ # * {Types::ListMaterializedViewRefreshTaskRunsResponse#materialized_view_refresh_task_runs #materialized_view_refresh_task_runs} => Array<Types::MaterializedViewRefreshTaskRun>
13494
+ # * {Types::ListMaterializedViewRefreshTaskRunsResponse#next_token #next_token} => String
13495
+ #
13496
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
13497
+ #
13498
+ # @example Request syntax with placeholder values
13499
+ #
13500
+ # resp = client.list_materialized_view_refresh_task_runs({
13501
+ # catalog_id: "NameString", # required
13502
+ # database_name: "NameString",
13503
+ # table_name: "NameString",
13504
+ # max_results: 1,
13505
+ # next_token: "Token",
13506
+ # })
13507
+ #
13508
+ # @example Response structure
13509
+ #
13510
+ # resp.materialized_view_refresh_task_runs #=> Array
13511
+ # resp.materialized_view_refresh_task_runs[0].customer_id #=> String
13512
+ # resp.materialized_view_refresh_task_runs[0].materialized_view_refresh_task_run_id #=> String
13513
+ # resp.materialized_view_refresh_task_runs[0].database_name #=> String
13514
+ # resp.materialized_view_refresh_task_runs[0].table_name #=> String
13515
+ # resp.materialized_view_refresh_task_runs[0].catalog_id #=> String
13516
+ # resp.materialized_view_refresh_task_runs[0].role #=> String
13517
+ # resp.materialized_view_refresh_task_runs[0].status #=> String, one of "STARTING", "RUNNING", "SUCCEEDED", "FAILED", "STOPPED"
13518
+ # resp.materialized_view_refresh_task_runs[0].creation_time #=> Time
13519
+ # resp.materialized_view_refresh_task_runs[0].last_updated #=> Time
13520
+ # resp.materialized_view_refresh_task_runs[0].start_time #=> Time
13521
+ # resp.materialized_view_refresh_task_runs[0].end_time #=> Time
13522
+ # resp.materialized_view_refresh_task_runs[0].error_message #=> String
13523
+ # resp.materialized_view_refresh_task_runs[0].dpu_seconds #=> Float
13524
+ # resp.materialized_view_refresh_task_runs[0].refresh_type #=> String, one of "FULL", "INCREMENTAL"
13525
+ # resp.materialized_view_refresh_task_runs[0].processed_bytes #=> Integer
13526
+ # resp.next_token #=> String
13527
+ #
13528
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListMaterializedViewRefreshTaskRuns AWS API Documentation
13529
+ #
13530
+ # @overload list_materialized_view_refresh_task_runs(params = {})
13531
+ # @param [Hash] params ({})
13532
+ def list_materialized_view_refresh_task_runs(params = {}, options = {})
13533
+ req = build_request(:list_materialized_view_refresh_task_runs, params)
13534
+ req.send_request(options)
13535
+ end
13536
+
13425
13537
  # Returns a list of registries that you have created, with minimal
13426
13538
  # registry information. Registries in the `Deleting` status will not be
13427
13539
  # included in the results. Empty results will be returned if there are
@@ -15563,6 +15675,49 @@ module Aws::Glue
15563
15675
  req.send_request(options)
15564
15676
  end
15565
15677
 
15678
+ # Starts a materialized view refresh task run, for a specified table and
15679
+ # columns.
15680
+ #
15681
+ # @option params [required, String] :catalog_id
15682
+ # The ID of the Data Catalog where the table reside. If none is
15683
+ # supplied, the account ID is used by default.
15684
+ #
15685
+ # @option params [required, String] :database_name
15686
+ # The name of the database where the table resides.
15687
+ #
15688
+ # @option params [required, String] :table_name
15689
+ # The name of the table to generate run the materialized view refresh
15690
+ # task.
15691
+ #
15692
+ # @option params [Boolean] :full_refresh
15693
+ # Specifies whether this is a full refresh of the task run.
15694
+ #
15695
+ # @return [Types::StartMaterializedViewRefreshTaskRunResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
15696
+ #
15697
+ # * {Types::StartMaterializedViewRefreshTaskRunResponse#materialized_view_refresh_task_run_id #materialized_view_refresh_task_run_id} => String
15698
+ #
15699
+ # @example Request syntax with placeholder values
15700
+ #
15701
+ # resp = client.start_materialized_view_refresh_task_run({
15702
+ # catalog_id: "NameString", # required
15703
+ # database_name: "NameString", # required
15704
+ # table_name: "NameString", # required
15705
+ # full_refresh: false,
15706
+ # })
15707
+ #
15708
+ # @example Response structure
15709
+ #
15710
+ # resp.materialized_view_refresh_task_run_id #=> String
15711
+ #
15712
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartMaterializedViewRefreshTaskRun AWS API Documentation
15713
+ #
15714
+ # @overload start_materialized_view_refresh_task_run(params = {})
15715
+ # @param [Hash] params ({})
15716
+ def start_materialized_view_refresh_task_run(params = {}, options = {})
15717
+ req = build_request(:start_materialized_view_refresh_task_run, params)
15718
+ req.send_request(options)
15719
+ end
15720
+
15566
15721
  # Starts an existing trigger. See [Triggering Jobs][1] for information
15567
15722
  # about how different types of trigger are started.
15568
15723
  #
@@ -15733,6 +15888,38 @@ module Aws::Glue
15733
15888
  req.send_request(options)
15734
15889
  end
15735
15890
 
15891
+ # Stops a materialized view refresh task run, for a specified table and
15892
+ # columns.
15893
+ #
15894
+ # @option params [required, String] :catalog_id
15895
+ # The ID of the Data Catalog where the table reside. If none is
15896
+ # supplied, the account ID is used by default.
15897
+ #
15898
+ # @option params [required, String] :database_name
15899
+ # The name of the database where the table resides.
15900
+ #
15901
+ # @option params [required, String] :table_name
15902
+ # The name of the table to generate statistics.
15903
+ #
15904
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
15905
+ #
15906
+ # @example Request syntax with placeholder values
15907
+ #
15908
+ # resp = client.stop_materialized_view_refresh_task_run({
15909
+ # catalog_id: "NameString", # required
15910
+ # database_name: "NameString", # required
15911
+ # table_name: "NameString", # required
15912
+ # })
15913
+ #
15914
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopMaterializedViewRefreshTaskRun AWS API Documentation
15915
+ #
15916
+ # @overload stop_materialized_view_refresh_task_run(params = {})
15917
+ # @param [Hash] params ({})
15918
+ def stop_materialized_view_refresh_task_run(params = {}, options = {})
15919
+ req = build_request(:stop_materialized_view_refresh_task_run, params)
15920
+ req.send_request(options)
15921
+ end
15922
+
15736
15923
  # Stops the session.
15737
15924
  #
15738
15925
  # @option params [required, String] :id
@@ -18138,7 +18325,7 @@ module Aws::Glue
18138
18325
  tracer: tracer
18139
18326
  )
18140
18327
  context[:gem_name] = 'aws-sdk-glue'
18141
- context[:gem_version] = '1.246.0'
18328
+ context[:gem_version] = '1.247.0'
18142
18329
  Seahorse::Client::Request.new(handlers, context)
18143
18330
  end
18144
18331
 
@@ -149,6 +149,7 @@ module Aws::Glue
149
149
  BoxedNonNegativeInt = Shapes::IntegerShape.new(name: 'BoxedNonNegativeInt')
150
150
  BoxedNonNegativeLong = Shapes::IntegerShape.new(name: 'BoxedNonNegativeLong')
151
151
  BoxedPositiveInt = Shapes::IntegerShape.new(name: 'BoxedPositiveInt')
152
+ ByteCount = Shapes::IntegerShape.new(name: 'ByteCount')
152
153
  CancelDataQualityRuleRecommendationRunRequest = Shapes::StructureShape.new(name: 'CancelDataQualityRuleRecommendationRunRequest')
153
154
  CancelDataQualityRuleRecommendationRunResponse = Shapes::StructureShape.new(name: 'CancelDataQualityRuleRecommendationRunResponse')
154
155
  CancelDataQualityRulesetEvaluationRunRequest = Shapes::StructureShape.new(name: 'CancelDataQualityRulesetEvaluationRunRequest')
@@ -728,6 +729,8 @@ module Aws::Glue
728
729
  GetMLTransformsResponse = Shapes::StructureShape.new(name: 'GetMLTransformsResponse')
729
730
  GetMappingRequest = Shapes::StructureShape.new(name: 'GetMappingRequest')
730
731
  GetMappingResponse = Shapes::StructureShape.new(name: 'GetMappingResponse')
732
+ GetMaterializedViewRefreshTaskRunRequest = Shapes::StructureShape.new(name: 'GetMaterializedViewRefreshTaskRunRequest')
733
+ GetMaterializedViewRefreshTaskRunResponse = Shapes::StructureShape.new(name: 'GetMaterializedViewRefreshTaskRunResponse')
731
734
  GetPartitionIndexesRequest = Shapes::StructureShape.new(name: 'GetPartitionIndexesRequest')
732
735
  GetPartitionIndexesResponse = Shapes::StructureShape.new(name: 'GetPartitionIndexesResponse')
733
736
  GetPartitionRequest = Shapes::StructureShape.new(name: 'GetPartitionRequest')
@@ -994,6 +997,8 @@ module Aws::Glue
994
997
  ListJobsResponse = Shapes::StructureShape.new(name: 'ListJobsResponse')
995
998
  ListMLTransformsRequest = Shapes::StructureShape.new(name: 'ListMLTransformsRequest')
996
999
  ListMLTransformsResponse = Shapes::StructureShape.new(name: 'ListMLTransformsResponse')
1000
+ ListMaterializedViewRefreshTaskRunsRequest = Shapes::StructureShape.new(name: 'ListMaterializedViewRefreshTaskRunsRequest')
1001
+ ListMaterializedViewRefreshTaskRunsResponse = Shapes::StructureShape.new(name: 'ListMaterializedViewRefreshTaskRunsResponse')
997
1002
  ListOfString = Shapes::ListShape.new(name: 'ListOfString')
998
1003
  ListRegistriesInput = Shapes::StructureShape.new(name: 'ListRegistriesInput')
999
1004
  ListRegistriesResponse = Shapes::StructureShape.new(name: 'ListRegistriesResponse')
@@ -1039,6 +1044,13 @@ module Aws::Glue
1039
1044
  Mappings = Shapes::ListShape.new(name: 'Mappings')
1040
1045
  MaskValue = Shapes::StringShape.new(name: 'MaskValue')
1041
1046
  MatchCriteria = Shapes::ListShape.new(name: 'MatchCriteria')
1047
+ MaterializedViewRefreshState = Shapes::StringShape.new(name: 'MaterializedViewRefreshState')
1048
+ MaterializedViewRefreshTaskNotRunningException = Shapes::StructureShape.new(name: 'MaterializedViewRefreshTaskNotRunningException')
1049
+ MaterializedViewRefreshTaskRun = Shapes::StructureShape.new(name: 'MaterializedViewRefreshTaskRun')
1050
+ MaterializedViewRefreshTaskRunningException = Shapes::StructureShape.new(name: 'MaterializedViewRefreshTaskRunningException')
1051
+ MaterializedViewRefreshTaskRunsList = Shapes::ListShape.new(name: 'MaterializedViewRefreshTaskRunsList')
1052
+ MaterializedViewRefreshTaskStoppingException = Shapes::StructureShape.new(name: 'MaterializedViewRefreshTaskStoppingException')
1053
+ MaterializedViewRefreshType = Shapes::StringShape.new(name: 'MaterializedViewRefreshType')
1042
1054
  MaxConcurrentRuns = Shapes::IntegerShape.new(name: 'MaxConcurrentRuns')
1043
1055
  MaxListTableOptimizerRunsTokenResults = Shapes::IntegerShape.new(name: 'MaxListTableOptimizerRunsTokenResults')
1044
1056
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
@@ -1382,6 +1394,8 @@ module Aws::Glue
1382
1394
  StartMLEvaluationTaskRunResponse = Shapes::StructureShape.new(name: 'StartMLEvaluationTaskRunResponse')
1383
1395
  StartMLLabelingSetGenerationTaskRunRequest = Shapes::StructureShape.new(name: 'StartMLLabelingSetGenerationTaskRunRequest')
1384
1396
  StartMLLabelingSetGenerationTaskRunResponse = Shapes::StructureShape.new(name: 'StartMLLabelingSetGenerationTaskRunResponse')
1397
+ StartMaterializedViewRefreshTaskRunRequest = Shapes::StructureShape.new(name: 'StartMaterializedViewRefreshTaskRunRequest')
1398
+ StartMaterializedViewRefreshTaskRunResponse = Shapes::StructureShape.new(name: 'StartMaterializedViewRefreshTaskRunResponse')
1385
1399
  StartTriggerRequest = Shapes::StructureShape.new(name: 'StartTriggerRequest')
1386
1400
  StartTriggerResponse = Shapes::StructureShape.new(name: 'StartTriggerResponse')
1387
1401
  StartWorkflowRunRequest = Shapes::StructureShape.new(name: 'StartWorkflowRunRequest')
@@ -1410,6 +1424,8 @@ module Aws::Glue
1410
1424
  StopCrawlerResponse = Shapes::StructureShape.new(name: 'StopCrawlerResponse')
1411
1425
  StopCrawlerScheduleRequest = Shapes::StructureShape.new(name: 'StopCrawlerScheduleRequest')
1412
1426
  StopCrawlerScheduleResponse = Shapes::StructureShape.new(name: 'StopCrawlerScheduleResponse')
1427
+ StopMaterializedViewRefreshTaskRunRequest = Shapes::StructureShape.new(name: 'StopMaterializedViewRefreshTaskRunRequest')
1428
+ StopMaterializedViewRefreshTaskRunResponse = Shapes::StructureShape.new(name: 'StopMaterializedViewRefreshTaskRunResponse')
1413
1429
  StopSessionRequest = Shapes::StructureShape.new(name: 'StopSessionRequest')
1414
1430
  StopSessionResponse = Shapes::StructureShape.new(name: 'StopSessionResponse')
1415
1431
  StopTriggerRequest = Shapes::StructureShape.new(name: 'StopTriggerRequest')
@@ -1511,6 +1527,7 @@ module Aws::Glue
1511
1527
  TwoInputs = Shapes::ListShape.new(name: 'TwoInputs')
1512
1528
  TypeString = Shapes::StringShape.new(name: 'TypeString')
1513
1529
  URI = Shapes::StringShape.new(name: 'URI')
1530
+ UUIDv4 = Shapes::StringShape.new(name: 'UUIDv4')
1514
1531
  UnfilteredPartition = Shapes::StructureShape.new(name: 'UnfilteredPartition')
1515
1532
  UnfilteredPartitionList = Shapes::ListShape.new(name: 'UnfilteredPartitionList')
1516
1533
  Union = Shapes::StructureShape.new(name: 'Union')
@@ -4422,6 +4439,13 @@ module Aws::Glue
4422
4439
  GetMappingResponse.add_member(:mapping, Shapes::ShapeRef.new(shape: MappingList, required: true, location_name: "Mapping"))
4423
4440
  GetMappingResponse.struct_class = Types::GetMappingResponse
4424
4441
 
4442
+ GetMaterializedViewRefreshTaskRunRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "CatalogId"))
4443
+ GetMaterializedViewRefreshTaskRunRequest.add_member(:materialized_view_refresh_task_run_id, Shapes::ShapeRef.new(shape: UUIDv4, required: true, location_name: "MaterializedViewRefreshTaskRunId"))
4444
+ GetMaterializedViewRefreshTaskRunRequest.struct_class = Types::GetMaterializedViewRefreshTaskRunRequest
4445
+
4446
+ GetMaterializedViewRefreshTaskRunResponse.add_member(:materialized_view_refresh_task_run, Shapes::ShapeRef.new(shape: MaterializedViewRefreshTaskRun, location_name: "MaterializedViewRefreshTaskRun"))
4447
+ GetMaterializedViewRefreshTaskRunResponse.struct_class = Types::GetMaterializedViewRefreshTaskRunResponse
4448
+
4425
4449
  GetPartitionIndexesRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
4426
4450
  GetPartitionIndexesRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
4427
4451
  GetPartitionIndexesRequest.add_member(:table_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "TableName"))
@@ -5532,6 +5556,17 @@ module Aws::Glue
5532
5556
  ListMLTransformsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
5533
5557
  ListMLTransformsResponse.struct_class = Types::ListMLTransformsResponse
5534
5558
 
5559
+ ListMaterializedViewRefreshTaskRunsRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "CatalogId"))
5560
+ ListMaterializedViewRefreshTaskRunsRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, location_name: "DatabaseName"))
5561
+ ListMaterializedViewRefreshTaskRunsRequest.add_member(:table_name, Shapes::ShapeRef.new(shape: NameString, location_name: "TableName"))
5562
+ ListMaterializedViewRefreshTaskRunsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "MaxResults"))
5563
+ ListMaterializedViewRefreshTaskRunsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
5564
+ ListMaterializedViewRefreshTaskRunsRequest.struct_class = Types::ListMaterializedViewRefreshTaskRunsRequest
5565
+
5566
+ ListMaterializedViewRefreshTaskRunsResponse.add_member(:materialized_view_refresh_task_runs, Shapes::ShapeRef.new(shape: MaterializedViewRefreshTaskRunsList, location_name: "MaterializedViewRefreshTaskRuns"))
5567
+ ListMaterializedViewRefreshTaskRunsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
5568
+ ListMaterializedViewRefreshTaskRunsResponse.struct_class = Types::ListMaterializedViewRefreshTaskRunsResponse
5569
+
5535
5570
  ListOfString.member = Shapes::ShapeRef.new(shape: String)
5536
5571
 
5537
5572
  ListRegistriesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsNumber, location_name: "MaxResults"))
@@ -5692,6 +5727,34 @@ module Aws::Glue
5692
5727
 
5693
5728
  MatchCriteria.member = Shapes::ShapeRef.new(shape: NameString)
5694
5729
 
5730
+ MaterializedViewRefreshTaskNotRunningException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
5731
+ MaterializedViewRefreshTaskNotRunningException.struct_class = Types::MaterializedViewRefreshTaskNotRunningException
5732
+
5733
+ MaterializedViewRefreshTaskRun.add_member(:customer_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "CustomerId"))
5734
+ MaterializedViewRefreshTaskRun.add_member(:materialized_view_refresh_task_run_id, Shapes::ShapeRef.new(shape: UUIDv4, location_name: "MaterializedViewRefreshTaskRunId"))
5735
+ MaterializedViewRefreshTaskRun.add_member(:database_name, Shapes::ShapeRef.new(shape: DatabaseName, location_name: "DatabaseName"))
5736
+ MaterializedViewRefreshTaskRun.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "TableName"))
5737
+ MaterializedViewRefreshTaskRun.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
5738
+ MaterializedViewRefreshTaskRun.add_member(:role, Shapes::ShapeRef.new(shape: Role, location_name: "Role"))
5739
+ MaterializedViewRefreshTaskRun.add_member(:status, Shapes::ShapeRef.new(shape: MaterializedViewRefreshState, location_name: "Status"))
5740
+ MaterializedViewRefreshTaskRun.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
5741
+ MaterializedViewRefreshTaskRun.add_member(:last_updated, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastUpdated"))
5742
+ MaterializedViewRefreshTaskRun.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartTime"))
5743
+ MaterializedViewRefreshTaskRun.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
5744
+ MaterializedViewRefreshTaskRun.add_member(:error_message, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "ErrorMessage"))
5745
+ MaterializedViewRefreshTaskRun.add_member(:dpu_seconds, Shapes::ShapeRef.new(shape: NonNegativeDouble, location_name: "DPUSeconds"))
5746
+ MaterializedViewRefreshTaskRun.add_member(:refresh_type, Shapes::ShapeRef.new(shape: MaterializedViewRefreshType, location_name: "RefreshType"))
5747
+ MaterializedViewRefreshTaskRun.add_member(:processed_bytes, Shapes::ShapeRef.new(shape: ByteCount, location_name: "ProcessedBytes"))
5748
+ MaterializedViewRefreshTaskRun.struct_class = Types::MaterializedViewRefreshTaskRun
5749
+
5750
+ MaterializedViewRefreshTaskRunningException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
5751
+ MaterializedViewRefreshTaskRunningException.struct_class = Types::MaterializedViewRefreshTaskRunningException
5752
+
5753
+ MaterializedViewRefreshTaskRunsList.member = Shapes::ShapeRef.new(shape: MaterializedViewRefreshTaskRun)
5754
+
5755
+ MaterializedViewRefreshTaskStoppingException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
5756
+ MaterializedViewRefreshTaskStoppingException.struct_class = Types::MaterializedViewRefreshTaskStoppingException
5757
+
5695
5758
  Merge.add_member(:name, Shapes::ShapeRef.new(shape: NodeName, required: true, location_name: "Name"))
5696
5759
  Merge.add_member(:inputs, Shapes::ShapeRef.new(shape: TwoInputs, required: true, location_name: "Inputs"))
5697
5760
  Merge.add_member(:source, Shapes::ShapeRef.new(shape: NodeId, required: true, location_name: "Source"))
@@ -6837,6 +6900,15 @@ module Aws::Glue
6837
6900
  StartMLLabelingSetGenerationTaskRunResponse.add_member(:task_run_id, Shapes::ShapeRef.new(shape: HashString, location_name: "TaskRunId"))
6838
6901
  StartMLLabelingSetGenerationTaskRunResponse.struct_class = Types::StartMLLabelingSetGenerationTaskRunResponse
6839
6902
 
6903
+ StartMaterializedViewRefreshTaskRunRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "CatalogId"))
6904
+ StartMaterializedViewRefreshTaskRunRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
6905
+ StartMaterializedViewRefreshTaskRunRequest.add_member(:table_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "TableName"))
6906
+ StartMaterializedViewRefreshTaskRunRequest.add_member(:full_refresh, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "FullRefresh"))
6907
+ StartMaterializedViewRefreshTaskRunRequest.struct_class = Types::StartMaterializedViewRefreshTaskRunRequest
6908
+
6909
+ StartMaterializedViewRefreshTaskRunResponse.add_member(:materialized_view_refresh_task_run_id, Shapes::ShapeRef.new(shape: UUIDv4, location_name: "MaterializedViewRefreshTaskRunId"))
6910
+ StartMaterializedViewRefreshTaskRunResponse.struct_class = Types::StartMaterializedViewRefreshTaskRunResponse
6911
+
6840
6912
  StartTriggerRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
6841
6913
  StartTriggerRequest.struct_class = Types::StartTriggerRequest
6842
6914
 
@@ -6936,6 +7008,13 @@ module Aws::Glue
6936
7008
 
6937
7009
  StopCrawlerScheduleResponse.struct_class = Types::StopCrawlerScheduleResponse
6938
7010
 
7011
+ StopMaterializedViewRefreshTaskRunRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "CatalogId"))
7012
+ StopMaterializedViewRefreshTaskRunRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
7013
+ StopMaterializedViewRefreshTaskRunRequest.add_member(:table_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "TableName"))
7014
+ StopMaterializedViewRefreshTaskRunRequest.struct_class = Types::StopMaterializedViewRefreshTaskRunRequest
7015
+
7016
+ StopMaterializedViewRefreshTaskRunResponse.struct_class = Types::StopMaterializedViewRefreshTaskRunResponse
7017
+
6939
7018
  StopSessionRequest.add_member(:id, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Id"))
6940
7019
  StopSessionRequest.add_member(:request_origin, Shapes::ShapeRef.new(shape: OrchestrationNameString, location_name: "RequestOrigin"))
6941
7020
  StopSessionRequest.struct_class = Types::StopSessionRequest
@@ -9577,6 +9656,18 @@ module Aws::Glue
9577
9656
  o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
9578
9657
  end)
9579
9658
 
9659
+ api.add_operation(:get_materialized_view_refresh_task_run, Seahorse::Model::Operation.new.tap do |o|
9660
+ o.name = "GetMaterializedViewRefreshTaskRun"
9661
+ o.http_method = "POST"
9662
+ o.http_request_uri = "/"
9663
+ o.input = Shapes::ShapeRef.new(shape: GetMaterializedViewRefreshTaskRunRequest)
9664
+ o.output = Shapes::ShapeRef.new(shape: GetMaterializedViewRefreshTaskRunResponse)
9665
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
9666
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
9667
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
9668
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
9669
+ end)
9670
+
9580
9671
  api.add_operation(:get_partition, Seahorse::Model::Operation.new.tap do |o|
9581
9672
  o.name = "GetPartition"
9582
9673
  o.http_method = "POST"
@@ -10348,6 +10439,23 @@ module Aws::Glue
10348
10439
  )
10349
10440
  end)
10350
10441
 
10442
+ api.add_operation(:list_materialized_view_refresh_task_runs, Seahorse::Model::Operation.new.tap do |o|
10443
+ o.name = "ListMaterializedViewRefreshTaskRuns"
10444
+ o.http_method = "POST"
10445
+ o.http_request_uri = "/"
10446
+ o.input = Shapes::ShapeRef.new(shape: ListMaterializedViewRefreshTaskRunsRequest)
10447
+ o.output = Shapes::ShapeRef.new(shape: ListMaterializedViewRefreshTaskRunsResponse)
10448
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
10449
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
10450
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
10451
+ o[:pager] = Aws::Pager.new(
10452
+ limit_key: "max_results",
10453
+ tokens: {
10454
+ "next_token" => "next_token"
10455
+ }
10456
+ )
10457
+ end)
10458
+
10351
10459
  api.add_operation(:list_registries, Seahorse::Model::Operation.new.tap do |o|
10352
10460
  o.name = "ListRegistries"
10353
10461
  o.http_method = "POST"
@@ -10838,6 +10946,20 @@ module Aws::Glue
10838
10946
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentRunsExceededException)
10839
10947
  end)
10840
10948
 
10949
+ api.add_operation(:start_materialized_view_refresh_task_run, Seahorse::Model::Operation.new.tap do |o|
10950
+ o.name = "StartMaterializedViewRefreshTaskRun"
10951
+ o.http_method = "POST"
10952
+ o.http_request_uri = "/"
10953
+ o.input = Shapes::ShapeRef.new(shape: StartMaterializedViewRefreshTaskRunRequest)
10954
+ o.output = Shapes::ShapeRef.new(shape: StartMaterializedViewRefreshTaskRunResponse)
10955
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
10956
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
10957
+ o.errors << Shapes::ShapeRef.new(shape: MaterializedViewRefreshTaskRunningException)
10958
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
10959
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNumberLimitExceededException)
10960
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
10961
+ end)
10962
+
10841
10963
  api.add_operation(:start_trigger, Seahorse::Model::Operation.new.tap do |o|
10842
10964
  o.name = "StartTrigger"
10843
10965
  o.http_method = "POST"
@@ -10913,6 +11035,19 @@ module Aws::Glue
10913
11035
  o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
10914
11036
  end)
10915
11037
 
11038
+ api.add_operation(:stop_materialized_view_refresh_task_run, Seahorse::Model::Operation.new.tap do |o|
11039
+ o.name = "StopMaterializedViewRefreshTaskRun"
11040
+ o.http_method = "POST"
11041
+ o.http_request_uri = "/"
11042
+ o.input = Shapes::ShapeRef.new(shape: StopMaterializedViewRefreshTaskRunRequest)
11043
+ o.output = Shapes::ShapeRef.new(shape: StopMaterializedViewRefreshTaskRunResponse)
11044
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
11045
+ o.errors << Shapes::ShapeRef.new(shape: MaterializedViewRefreshTaskNotRunningException)
11046
+ o.errors << Shapes::ShapeRef.new(shape: MaterializedViewRefreshTaskStoppingException)
11047
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
11048
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
11049
+ end)
11050
+
10916
11051
  api.add_operation(:stop_session, Seahorse::Model::Operation.new.tap do |o|
10917
11052
  o.name = "StopSession"
10918
11053
  o.http_method = "POST"
@@ -58,6 +58,9 @@ module Aws::Glue
58
58
  # * {InvalidStateException}
59
59
  # * {KMSKeyNotAccessibleFault}
60
60
  # * {MLTransformNotReadyException}
61
+ # * {MaterializedViewRefreshTaskNotRunningException}
62
+ # * {MaterializedViewRefreshTaskRunningException}
63
+ # * {MaterializedViewRefreshTaskStoppingException}
61
64
  # * {NoScheduleException}
62
65
  # * {OperationNotSupportedException}
63
66
  # * {OperationTimeoutException}
@@ -564,6 +567,51 @@ module Aws::Glue
564
567
  end
565
568
  end
566
569
 
570
+ class MaterializedViewRefreshTaskNotRunningException < ServiceError
571
+
572
+ # @param [Seahorse::Client::RequestContext] context
573
+ # @param [String] message
574
+ # @param [Aws::Glue::Types::MaterializedViewRefreshTaskNotRunningException] data
575
+ def initialize(context, message, data = Aws::EmptyStructure.new)
576
+ super(context, message, data)
577
+ end
578
+
579
+ # @return [String]
580
+ def message
581
+ @message || @data[:message]
582
+ end
583
+ end
584
+
585
+ class MaterializedViewRefreshTaskRunningException < ServiceError
586
+
587
+ # @param [Seahorse::Client::RequestContext] context
588
+ # @param [String] message
589
+ # @param [Aws::Glue::Types::MaterializedViewRefreshTaskRunningException] data
590
+ def initialize(context, message, data = Aws::EmptyStructure.new)
591
+ super(context, message, data)
592
+ end
593
+
594
+ # @return [String]
595
+ def message
596
+ @message || @data[:message]
597
+ end
598
+ end
599
+
600
+ class MaterializedViewRefreshTaskStoppingException < ServiceError
601
+
602
+ # @param [Seahorse::Client::RequestContext] context
603
+ # @param [String] message
604
+ # @param [Aws::Glue::Types::MaterializedViewRefreshTaskStoppingException] data
605
+ def initialize(context, message, data = Aws::EmptyStructure.new)
606
+ super(context, message, data)
607
+ end
608
+
609
+ # @return [String]
610
+ def message
611
+ @message || @data[:message]
612
+ end
613
+ end
614
+
567
615
  class NoScheduleException < ServiceError
568
616
 
569
617
  # @param [Seahorse::Client::RequestContext] context
@@ -13710,6 +13710,38 @@ module Aws::Glue
13710
13710
  include Aws::Structure
13711
13711
  end
13712
13712
 
13713
+ # @!attribute [rw] catalog_id
13714
+ # The ID of the Data Catalog where the table resides. If none is
13715
+ # supplied, the account ID is used by default.
13716
+ # @return [String]
13717
+ #
13718
+ # @!attribute [rw] materialized_view_refresh_task_run_id
13719
+ # The identifier for the particular materialized view refresh task
13720
+ # run.
13721
+ # @return [String]
13722
+ #
13723
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMaterializedViewRefreshTaskRunRequest AWS API Documentation
13724
+ #
13725
+ class GetMaterializedViewRefreshTaskRunRequest < Struct.new(
13726
+ :catalog_id,
13727
+ :materialized_view_refresh_task_run_id)
13728
+ SENSITIVE = []
13729
+ include Aws::Structure
13730
+ end
13731
+
13732
+ # @!attribute [rw] materialized_view_refresh_task_run
13733
+ # A MaterializedViewRefreshTaskRun object representing the details of
13734
+ # the task run.
13735
+ # @return [Types::MaterializedViewRefreshTaskRun]
13736
+ #
13737
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMaterializedViewRefreshTaskRunResponse AWS API Documentation
13738
+ #
13739
+ class GetMaterializedViewRefreshTaskRunResponse < Struct.new(
13740
+ :materialized_view_refresh_task_run)
13741
+ SENSITIVE = []
13742
+ include Aws::Structure
13743
+ end
13744
+
13713
13745
  # @!attribute [rw] catalog_id
13714
13746
  # The catalog ID where the table resides.
13715
13747
  # @return [String]
@@ -19838,6 +19870,57 @@ module Aws::Glue
19838
19870
  include Aws::Structure
19839
19871
  end
19840
19872
 
19873
+ # @!attribute [rw] catalog_id
19874
+ # The ID of the Data Catalog where the table resides. If none is
19875
+ # supplied, the account ID is used by default.
19876
+ # @return [String]
19877
+ #
19878
+ # @!attribute [rw] database_name
19879
+ # The database where the table resides.
19880
+ # @return [String]
19881
+ #
19882
+ # @!attribute [rw] table_name
19883
+ # The name of the table for which statistics is generated.
19884
+ # @return [String]
19885
+ #
19886
+ # @!attribute [rw] max_results
19887
+ # The maximum size of the response.
19888
+ # @return [Integer]
19889
+ #
19890
+ # @!attribute [rw] next_token
19891
+ # A continuation token, if this is a continuation call.
19892
+ # @return [String]
19893
+ #
19894
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListMaterializedViewRefreshTaskRunsRequest AWS API Documentation
19895
+ #
19896
+ class ListMaterializedViewRefreshTaskRunsRequest < Struct.new(
19897
+ :catalog_id,
19898
+ :database_name,
19899
+ :table_name,
19900
+ :max_results,
19901
+ :next_token)
19902
+ SENSITIVE = []
19903
+ include Aws::Structure
19904
+ end
19905
+
19906
+ # @!attribute [rw] materialized_view_refresh_task_runs
19907
+ # The results of the ListMaterializedViewRefreshTaskRuns action.
19908
+ # @return [Array<Types::MaterializedViewRefreshTaskRun>]
19909
+ #
19910
+ # @!attribute [rw] next_token
19911
+ # A continuation token, if not all task run IDs have yet been
19912
+ # returned.
19913
+ # @return [String]
19914
+ #
19915
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListMaterializedViewRefreshTaskRunsResponse AWS API Documentation
19916
+ #
19917
+ class ListMaterializedViewRefreshTaskRunsResponse < Struct.new(
19918
+ :materialized_view_refresh_task_runs,
19919
+ :next_token)
19920
+ SENSITIVE = []
19921
+ include Aws::Structure
19922
+ end
19923
+
19841
19924
  # @!attribute [rw] max_results
19842
19925
  # Maximum number of results required per page. If the value is not
19843
19926
  # supplied, this will be defaulted to 25 per page.
@@ -20630,6 +20713,132 @@ module Aws::Glue
20630
20713
  include Aws::Structure
20631
20714
  end
20632
20715
 
20716
+ # Exception thrown when stopping a task that is not in running state.
20717
+ #
20718
+ # @!attribute [rw] message
20719
+ # @return [String]
20720
+ #
20721
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/MaterializedViewRefreshTaskNotRunningException AWS API Documentation
20722
+ #
20723
+ class MaterializedViewRefreshTaskNotRunningException < Struct.new(
20724
+ :message)
20725
+ SENSITIVE = []
20726
+ include Aws::Structure
20727
+ end
20728
+
20729
+ # The object that shows the details of the materialized view refresh
20730
+ # task run.
20731
+ #
20732
+ # @!attribute [rw] customer_id
20733
+ # The Amazon Web Services account ID.
20734
+ # @return [String]
20735
+ #
20736
+ # @!attribute [rw] materialized_view_refresh_task_run_id
20737
+ # The identifier of the materialized view refresh task run.
20738
+ # @return [String]
20739
+ #
20740
+ # @!attribute [rw] database_name
20741
+ # The database where the table resides.
20742
+ # @return [String]
20743
+ #
20744
+ # @!attribute [rw] table_name
20745
+ # The name of the table for which statistics is generated.
20746
+ # @return [String]
20747
+ #
20748
+ # @!attribute [rw] catalog_id
20749
+ # The ID of the Data Catalog where the table resides. If none is
20750
+ # supplied, the account ID is used by default.
20751
+ # @return [String]
20752
+ #
20753
+ # @!attribute [rw] role
20754
+ # The IAM role that the service assumes to generate statistics.
20755
+ # @return [String]
20756
+ #
20757
+ # @!attribute [rw] status
20758
+ # The status of the task run.
20759
+ # @return [String]
20760
+ #
20761
+ # @!attribute [rw] creation_time
20762
+ # The time that this task was created.
20763
+ # @return [Time]
20764
+ #
20765
+ # @!attribute [rw] last_updated
20766
+ # The last point in time when this task was modified.
20767
+ # @return [Time]
20768
+ #
20769
+ # @!attribute [rw] start_time
20770
+ # The start time of the task.
20771
+ # @return [Time]
20772
+ #
20773
+ # @!attribute [rw] end_time
20774
+ # The end time of the task.
20775
+ # @return [Time]
20776
+ #
20777
+ # @!attribute [rw] error_message
20778
+ # The error message for the job.
20779
+ # @return [String]
20780
+ #
20781
+ # @!attribute [rw] dpu_seconds
20782
+ # The calculated DPU usage in seconds for all autoscaled workers.
20783
+ # @return [Float]
20784
+ #
20785
+ # @!attribute [rw] refresh_type
20786
+ # The type of the refresh task run. Either FULL or INCREMENTAL.
20787
+ # @return [String]
20788
+ #
20789
+ # @!attribute [rw] processed_bytes
20790
+ # The number of bytes the refresh task run has scanned to refresh the
20791
+ # materialized view.
20792
+ # @return [Integer]
20793
+ #
20794
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/MaterializedViewRefreshTaskRun AWS API Documentation
20795
+ #
20796
+ class MaterializedViewRefreshTaskRun < Struct.new(
20797
+ :customer_id,
20798
+ :materialized_view_refresh_task_run_id,
20799
+ :database_name,
20800
+ :table_name,
20801
+ :catalog_id,
20802
+ :role,
20803
+ :status,
20804
+ :creation_time,
20805
+ :last_updated,
20806
+ :start_time,
20807
+ :end_time,
20808
+ :error_message,
20809
+ :dpu_seconds,
20810
+ :refresh_type,
20811
+ :processed_bytes)
20812
+ SENSITIVE = []
20813
+ include Aws::Structure
20814
+ end
20815
+
20816
+ # Exception thrown when a task is already in running state.
20817
+ #
20818
+ # @!attribute [rw] message
20819
+ # @return [String]
20820
+ #
20821
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/MaterializedViewRefreshTaskRunningException AWS API Documentation
20822
+ #
20823
+ class MaterializedViewRefreshTaskRunningException < Struct.new(
20824
+ :message)
20825
+ SENSITIVE = []
20826
+ include Aws::Structure
20827
+ end
20828
+
20829
+ # Exception thrown when a task is already in stopping state.
20830
+ #
20831
+ # @!attribute [rw] message
20832
+ # @return [String]
20833
+ #
20834
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/MaterializedViewRefreshTaskStoppingException AWS API Documentation
20835
+ #
20836
+ class MaterializedViewRefreshTaskStoppingException < Struct.new(
20837
+ :message)
20838
+ SENSITIVE = []
20839
+ include Aws::Structure
20840
+ end
20841
+
20633
20842
  # Specifies a transform that merges a `DynamicFrame` with a staging
20634
20843
  # `DynamicFrame` based on the specified primary keys to identify
20635
20844
  # records. Duplicate records (records with the same primary keys) are
@@ -26107,6 +26316,47 @@ module Aws::Glue
26107
26316
  include Aws::Structure
26108
26317
  end
26109
26318
 
26319
+ # @!attribute [rw] catalog_id
26320
+ # The ID of the Data Catalog where the table reside. If none is
26321
+ # supplied, the account ID is used by default.
26322
+ # @return [String]
26323
+ #
26324
+ # @!attribute [rw] database_name
26325
+ # The name of the database where the table resides.
26326
+ # @return [String]
26327
+ #
26328
+ # @!attribute [rw] table_name
26329
+ # The name of the table to generate run the materialized view refresh
26330
+ # task.
26331
+ # @return [String]
26332
+ #
26333
+ # @!attribute [rw] full_refresh
26334
+ # Specifies whether this is a full refresh of the task run.
26335
+ # @return [Boolean]
26336
+ #
26337
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartMaterializedViewRefreshTaskRunRequest AWS API Documentation
26338
+ #
26339
+ class StartMaterializedViewRefreshTaskRunRequest < Struct.new(
26340
+ :catalog_id,
26341
+ :database_name,
26342
+ :table_name,
26343
+ :full_refresh)
26344
+ SENSITIVE = []
26345
+ include Aws::Structure
26346
+ end
26347
+
26348
+ # @!attribute [rw] materialized_view_refresh_task_run_id
26349
+ # The identifier for the materialized view refresh task run.
26350
+ # @return [String]
26351
+ #
26352
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartMaterializedViewRefreshTaskRunResponse AWS API Documentation
26353
+ #
26354
+ class StartMaterializedViewRefreshTaskRunResponse < Struct.new(
26355
+ :materialized_view_refresh_task_run_id)
26356
+ SENSITIVE = []
26357
+ include Aws::Structure
26358
+ end
26359
+
26110
26360
  # @!attribute [rw] name
26111
26361
  # The name of the trigger to start.
26112
26362
  # @return [String]
@@ -26515,6 +26765,33 @@ module Aws::Glue
26515
26765
  #
26516
26766
  class StopCrawlerScheduleResponse < Aws::EmptyStructure; end
26517
26767
 
26768
+ # @!attribute [rw] catalog_id
26769
+ # The ID of the Data Catalog where the table reside. If none is
26770
+ # supplied, the account ID is used by default.
26771
+ # @return [String]
26772
+ #
26773
+ # @!attribute [rw] database_name
26774
+ # The name of the database where the table resides.
26775
+ # @return [String]
26776
+ #
26777
+ # @!attribute [rw] table_name
26778
+ # The name of the table to generate statistics.
26779
+ # @return [String]
26780
+ #
26781
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopMaterializedViewRefreshTaskRunRequest AWS API Documentation
26782
+ #
26783
+ class StopMaterializedViewRefreshTaskRunRequest < Struct.new(
26784
+ :catalog_id,
26785
+ :database_name,
26786
+ :table_name)
26787
+ SENSITIVE = []
26788
+ include Aws::Structure
26789
+ end
26790
+
26791
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopMaterializedViewRefreshTaskRunResponse AWS API Documentation
26792
+ #
26793
+ class StopMaterializedViewRefreshTaskRunResponse < Aws::EmptyStructure; end
26794
+
26518
26795
  # @!attribute [rw] id
26519
26796
  # The ID of the session to be stopped.
26520
26797
  # @return [String]
data/lib/aws-sdk-glue.rb CHANGED
@@ -54,7 +54,7 @@ module Aws::Glue
54
54
  autoload :EndpointProvider, 'aws-sdk-glue/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-glue/endpoints'
56
56
 
57
- GEM_VERSION = '1.246.0'
57
+ GEM_VERSION = '1.247.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -4208,6 +4208,17 @@ module Aws
4208
4208
  ) -> _GetMappingResponseSuccess
4209
4209
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMappingResponseSuccess
4210
4210
 
4211
+ interface _GetMaterializedViewRefreshTaskRunResponseSuccess
4212
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetMaterializedViewRefreshTaskRunResponse]
4213
+ def materialized_view_refresh_task_run: () -> Types::MaterializedViewRefreshTaskRun
4214
+ end
4215
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glue/Client.html#get_materialized_view_refresh_task_run-instance_method
4216
+ def get_materialized_view_refresh_task_run: (
4217
+ catalog_id: ::String,
4218
+ materialized_view_refresh_task_run_id: ::String
4219
+ ) -> _GetMaterializedViewRefreshTaskRunResponseSuccess
4220
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMaterializedViewRefreshTaskRunResponseSuccess
4221
+
4211
4222
  interface _GetPartitionResponseSuccess
4212
4223
  include ::Seahorse::Client::_ResponseSuccess[Types::GetPartitionResponse]
4213
4224
  def partition: () -> Types::Partition
@@ -5158,6 +5169,21 @@ module Aws
5158
5169
  ) -> _ListMLTransformsResponseSuccess
5159
5170
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMLTransformsResponseSuccess
5160
5171
 
5172
+ interface _ListMaterializedViewRefreshTaskRunsResponseSuccess
5173
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListMaterializedViewRefreshTaskRunsResponse]
5174
+ def materialized_view_refresh_task_runs: () -> ::Array[Types::MaterializedViewRefreshTaskRun]
5175
+ def next_token: () -> ::String
5176
+ end
5177
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glue/Client.html#list_materialized_view_refresh_task_runs-instance_method
5178
+ def list_materialized_view_refresh_task_runs: (
5179
+ catalog_id: ::String,
5180
+ ?database_name: ::String,
5181
+ ?table_name: ::String,
5182
+ ?max_results: ::Integer,
5183
+ ?next_token: ::String
5184
+ ) -> _ListMaterializedViewRefreshTaskRunsResponseSuccess
5185
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMaterializedViewRefreshTaskRunsResponseSuccess
5186
+
5161
5187
  interface _ListRegistriesResponseSuccess
5162
5188
  include ::Seahorse::Client::_ResponseSuccess[Types::ListRegistriesResponse]
5163
5189
  def registries: () -> ::Array[Types::RegistryListItem]
@@ -5753,6 +5779,19 @@ module Aws
5753
5779
  ) -> _StartMLLabelingSetGenerationTaskRunResponseSuccess
5754
5780
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartMLLabelingSetGenerationTaskRunResponseSuccess
5755
5781
 
5782
+ interface _StartMaterializedViewRefreshTaskRunResponseSuccess
5783
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartMaterializedViewRefreshTaskRunResponse]
5784
+ def materialized_view_refresh_task_run_id: () -> ::String
5785
+ end
5786
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glue/Client.html#start_materialized_view_refresh_task_run-instance_method
5787
+ def start_materialized_view_refresh_task_run: (
5788
+ catalog_id: ::String,
5789
+ database_name: ::String,
5790
+ table_name: ::String,
5791
+ ?full_refresh: bool
5792
+ ) -> _StartMaterializedViewRefreshTaskRunResponseSuccess
5793
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartMaterializedViewRefreshTaskRunResponseSuccess
5794
+
5756
5795
  interface _StartTriggerResponseSuccess
5757
5796
  include ::Seahorse::Client::_ResponseSuccess[Types::StartTriggerResponse]
5758
5797
  def name: () -> ::String
@@ -5812,6 +5851,17 @@ module Aws
5812
5851
  ) -> _StopCrawlerScheduleResponseSuccess
5813
5852
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopCrawlerScheduleResponseSuccess
5814
5853
 
5854
+ interface _StopMaterializedViewRefreshTaskRunResponseSuccess
5855
+ include ::Seahorse::Client::_ResponseSuccess[Types::StopMaterializedViewRefreshTaskRunResponse]
5856
+ end
5857
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glue/Client.html#stop_materialized_view_refresh_task_run-instance_method
5858
+ def stop_materialized_view_refresh_task_run: (
5859
+ catalog_id: ::String,
5860
+ database_name: ::String,
5861
+ table_name: ::String
5862
+ ) -> _StopMaterializedViewRefreshTaskRunResponseSuccess
5863
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopMaterializedViewRefreshTaskRunResponseSuccess
5864
+
5815
5865
  interface _StopSessionResponseSuccess
5816
5866
  include ::Seahorse::Client::_ResponseSuccess[Types::StopSessionResponse]
5817
5867
  def id: () -> ::String
data/sig/errors.rbs CHANGED
@@ -108,6 +108,15 @@ module Aws
108
108
  class MLTransformNotReadyException < ::Aws::Errors::ServiceError
109
109
  def message: () -> ::String
110
110
  end
111
+ class MaterializedViewRefreshTaskNotRunningException < ::Aws::Errors::ServiceError
112
+ def message: () -> ::String
113
+ end
114
+ class MaterializedViewRefreshTaskRunningException < ::Aws::Errors::ServiceError
115
+ def message: () -> ::String
116
+ end
117
+ class MaterializedViewRefreshTaskStoppingException < ::Aws::Errors::ServiceError
118
+ def message: () -> ::String
119
+ end
111
120
  class NoScheduleException < ::Aws::Errors::ServiceError
112
121
  def message: () -> ::String
113
122
  end
data/sig/types.rbs CHANGED
@@ -3413,6 +3413,17 @@ module Aws::Glue
3413
3413
  SENSITIVE: []
3414
3414
  end
3415
3415
 
3416
+ class GetMaterializedViewRefreshTaskRunRequest
3417
+ attr_accessor catalog_id: ::String
3418
+ attr_accessor materialized_view_refresh_task_run_id: ::String
3419
+ SENSITIVE: []
3420
+ end
3421
+
3422
+ class GetMaterializedViewRefreshTaskRunResponse
3423
+ attr_accessor materialized_view_refresh_task_run: Types::MaterializedViewRefreshTaskRun
3424
+ SENSITIVE: []
3425
+ end
3426
+
3416
3427
  class GetPartitionIndexesRequest
3417
3428
  attr_accessor catalog_id: ::String
3418
3429
  attr_accessor database_name: ::String
@@ -4785,6 +4796,21 @@ module Aws::Glue
4785
4796
  SENSITIVE: []
4786
4797
  end
4787
4798
 
4799
+ class ListMaterializedViewRefreshTaskRunsRequest
4800
+ attr_accessor catalog_id: ::String
4801
+ attr_accessor database_name: ::String
4802
+ attr_accessor table_name: ::String
4803
+ attr_accessor max_results: ::Integer
4804
+ attr_accessor next_token: ::String
4805
+ SENSITIVE: []
4806
+ end
4807
+
4808
+ class ListMaterializedViewRefreshTaskRunsResponse
4809
+ attr_accessor materialized_view_refresh_task_runs: ::Array[Types::MaterializedViewRefreshTaskRun]
4810
+ attr_accessor next_token: ::String
4811
+ SENSITIVE: []
4812
+ end
4813
+
4788
4814
  class ListRegistriesInput
4789
4815
  attr_accessor max_results: ::Integer
4790
4816
  attr_accessor next_token: ::String
@@ -4977,6 +5003,40 @@ module Aws::Glue
4977
5003
  SENSITIVE: []
4978
5004
  end
4979
5005
 
5006
+ class MaterializedViewRefreshTaskNotRunningException
5007
+ attr_accessor message: ::String
5008
+ SENSITIVE: []
5009
+ end
5010
+
5011
+ class MaterializedViewRefreshTaskRun
5012
+ attr_accessor customer_id: ::String
5013
+ attr_accessor materialized_view_refresh_task_run_id: ::String
5014
+ attr_accessor database_name: ::String
5015
+ attr_accessor table_name: ::String
5016
+ attr_accessor catalog_id: ::String
5017
+ attr_accessor role: ::String
5018
+ attr_accessor status: ("STARTING" | "RUNNING" | "SUCCEEDED" | "FAILED" | "STOPPED")
5019
+ attr_accessor creation_time: ::Time
5020
+ attr_accessor last_updated: ::Time
5021
+ attr_accessor start_time: ::Time
5022
+ attr_accessor end_time: ::Time
5023
+ attr_accessor error_message: ::String
5024
+ attr_accessor dpu_seconds: ::Float
5025
+ attr_accessor refresh_type: ("FULL" | "INCREMENTAL")
5026
+ attr_accessor processed_bytes: ::Integer
5027
+ SENSITIVE: []
5028
+ end
5029
+
5030
+ class MaterializedViewRefreshTaskRunningException
5031
+ attr_accessor message: ::String
5032
+ SENSITIVE: []
5033
+ end
5034
+
5035
+ class MaterializedViewRefreshTaskStoppingException
5036
+ attr_accessor message: ::String
5037
+ SENSITIVE: []
5038
+ end
5039
+
4980
5040
  class Merge
4981
5041
  attr_accessor name: ::String
4982
5042
  attr_accessor inputs: ::Array[::String]
@@ -6348,6 +6408,19 @@ module Aws::Glue
6348
6408
  SENSITIVE: []
6349
6409
  end
6350
6410
 
6411
+ class StartMaterializedViewRefreshTaskRunRequest
6412
+ attr_accessor catalog_id: ::String
6413
+ attr_accessor database_name: ::String
6414
+ attr_accessor table_name: ::String
6415
+ attr_accessor full_refresh: bool
6416
+ SENSITIVE: []
6417
+ end
6418
+
6419
+ class StartMaterializedViewRefreshTaskRunResponse
6420
+ attr_accessor materialized_view_refresh_task_run_id: ::String
6421
+ SENSITIVE: []
6422
+ end
6423
+
6351
6424
  class StartTriggerRequest
6352
6425
  attr_accessor name: ::String
6353
6426
  SENSITIVE: []
@@ -6474,6 +6547,16 @@ module Aws::Glue
6474
6547
  class StopCrawlerScheduleResponse < Aws::EmptyStructure
6475
6548
  end
6476
6549
 
6550
+ class StopMaterializedViewRefreshTaskRunRequest
6551
+ attr_accessor catalog_id: ::String
6552
+ attr_accessor database_name: ::String
6553
+ attr_accessor table_name: ::String
6554
+ SENSITIVE: []
6555
+ end
6556
+
6557
+ class StopMaterializedViewRefreshTaskRunResponse < Aws::EmptyStructure
6558
+ end
6559
+
6477
6560
  class StopSessionRequest
6478
6561
  attr_accessor id: ::String
6479
6562
  attr_accessor request_origin: ::String
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-glue
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.246.0
4
+ version: 1.247.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services