aws-sdk-glue 1.61.0 → 1.66.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -174,6 +174,7 @@ module Aws::Glue
174
174
  DataLakePrincipal = Shapes::StructureShape.new(name: 'DataLakePrincipal')
175
175
  DataLakePrincipalString = Shapes::StringShape.new(name: 'DataLakePrincipalString')
176
176
  Database = Shapes::StructureShape.new(name: 'Database')
177
+ DatabaseIdentifier = Shapes::StructureShape.new(name: 'DatabaseIdentifier')
177
178
  DatabaseInput = Shapes::StructureShape.new(name: 'DatabaseInput')
178
179
  DatabaseList = Shapes::ListShape.new(name: 'DatabaseList')
179
180
  DatabaseName = Shapes::StringShape.new(name: 'DatabaseName')
@@ -229,6 +230,7 @@ module Aws::Glue
229
230
  DynamoDBTargetList = Shapes::ListShape.new(name: 'DynamoDBTargetList')
230
231
  Edge = Shapes::StructureShape.new(name: 'Edge')
231
232
  EdgeList = Shapes::ListShape.new(name: 'EdgeList')
233
+ EnableHybridValues = Shapes::StringShape.new(name: 'EnableHybridValues')
232
234
  EncryptionAtRest = Shapes::StructureShape.new(name: 'EncryptionAtRest')
233
235
  EncryptionConfiguration = Shapes::StructureShape.new(name: 'EncryptionConfiguration')
234
236
  EntityNotFoundException = Shapes::StructureShape.new(name: 'EntityNotFoundException')
@@ -309,6 +311,9 @@ module Aws::Glue
309
311
  GetPartitionsResponse = Shapes::StructureShape.new(name: 'GetPartitionsResponse')
310
312
  GetPlanRequest = Shapes::StructureShape.new(name: 'GetPlanRequest')
311
313
  GetPlanResponse = Shapes::StructureShape.new(name: 'GetPlanResponse')
314
+ GetResourcePoliciesRequest = Shapes::StructureShape.new(name: 'GetResourcePoliciesRequest')
315
+ GetResourcePoliciesResponse = Shapes::StructureShape.new(name: 'GetResourcePoliciesResponse')
316
+ GetResourcePoliciesResponseList = Shapes::ListShape.new(name: 'GetResourcePoliciesResponseList')
312
317
  GetResourcePolicyRequest = Shapes::StructureShape.new(name: 'GetResourcePolicyRequest')
313
318
  GetResourcePolicyResponse = Shapes::StructureShape.new(name: 'GetResourcePolicyResponse')
314
319
  GetSecurityConfigurationRequest = Shapes::StructureShape.new(name: 'GetSecurityConfigurationRequest')
@@ -343,6 +348,7 @@ module Aws::Glue
343
348
  GetWorkflowRunsRequest = Shapes::StructureShape.new(name: 'GetWorkflowRunsRequest')
344
349
  GetWorkflowRunsResponse = Shapes::StructureShape.new(name: 'GetWorkflowRunsResponse')
345
350
  GlueEncryptionException = Shapes::StructureShape.new(name: 'GlueEncryptionException')
351
+ GluePolicy = Shapes::StructureShape.new(name: 'GluePolicy')
346
352
  GlueResourceArn = Shapes::StringShape.new(name: 'GlueResourceArn')
347
353
  GlueTable = Shapes::StructureShape.new(name: 'GlueTable')
348
354
  GlueTables = Shapes::ListShape.new(name: 'GlueTables')
@@ -422,6 +428,7 @@ module Aws::Glue
422
428
  NameStringList = Shapes::ListShape.new(name: 'NameStringList')
423
429
  NoScheduleException = Shapes::StructureShape.new(name: 'NoScheduleException')
424
430
  Node = Shapes::StructureShape.new(name: 'Node')
431
+ NodeIdList = Shapes::ListShape.new(name: 'NodeIdList')
425
432
  NodeList = Shapes::ListShape.new(name: 'NodeList')
426
433
  NodeType = Shapes::StringShape.new(name: 'NodeType')
427
434
  NonNegativeDouble = Shapes::FloatShape.new(name: 'NonNegativeDouble')
@@ -475,9 +482,12 @@ module Aws::Glue
475
482
  ResetJobBookmarkRequest = Shapes::StructureShape.new(name: 'ResetJobBookmarkRequest')
476
483
  ResetJobBookmarkResponse = Shapes::StructureShape.new(name: 'ResetJobBookmarkResponse')
477
484
  ResourceNumberLimitExceededException = Shapes::StructureShape.new(name: 'ResourceNumberLimitExceededException')
485
+ ResourceShareType = Shapes::StringShape.new(name: 'ResourceShareType')
478
486
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
479
487
  ResourceUri = Shapes::StructureShape.new(name: 'ResourceUri')
480
488
  ResourceUriList = Shapes::ListShape.new(name: 'ResourceUriList')
489
+ ResumeWorkflowRunRequest = Shapes::StructureShape.new(name: 'ResumeWorkflowRunRequest')
490
+ ResumeWorkflowRunResponse = Shapes::StructureShape.new(name: 'ResumeWorkflowRunResponse')
481
491
  Role = Shapes::StringShape.new(name: 'Role')
482
492
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
483
493
  RoleString = Shapes::StringShape.new(name: 'RoleString')
@@ -543,6 +553,7 @@ module Aws::Glue
543
553
  Table = Shapes::StructureShape.new(name: 'Table')
544
554
  TableError = Shapes::StructureShape.new(name: 'TableError')
545
555
  TableErrors = Shapes::ListShape.new(name: 'TableErrors')
556
+ TableIdentifier = Shapes::StructureShape.new(name: 'TableIdentifier')
546
557
  TableInput = Shapes::StructureShape.new(name: 'TableInput')
547
558
  TableList = Shapes::ListShape.new(name: 'TableList')
548
559
  TableName = Shapes::StringShape.new(name: 'TableName')
@@ -1247,13 +1258,20 @@ module Aws::Glue
1247
1258
  Database.add_member(:parameters, Shapes::ShapeRef.new(shape: ParametersMap, location_name: "Parameters"))
1248
1259
  Database.add_member(:create_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreateTime"))
1249
1260
  Database.add_member(:create_table_default_permissions, Shapes::ShapeRef.new(shape: PrincipalPermissionsList, location_name: "CreateTableDefaultPermissions"))
1261
+ Database.add_member(:target_database, Shapes::ShapeRef.new(shape: DatabaseIdentifier, location_name: "TargetDatabase"))
1262
+ Database.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
1250
1263
  Database.struct_class = Types::Database
1251
1264
 
1265
+ DatabaseIdentifier.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
1266
+ DatabaseIdentifier.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, location_name: "DatabaseName"))
1267
+ DatabaseIdentifier.struct_class = Types::DatabaseIdentifier
1268
+
1252
1269
  DatabaseInput.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
1253
1270
  DatabaseInput.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
1254
1271
  DatabaseInput.add_member(:location_uri, Shapes::ShapeRef.new(shape: URI, location_name: "LocationUri"))
1255
1272
  DatabaseInput.add_member(:parameters, Shapes::ShapeRef.new(shape: ParametersMap, location_name: "Parameters"))
1256
1273
  DatabaseInput.add_member(:create_table_default_permissions, Shapes::ShapeRef.new(shape: PrincipalPermissionsList, location_name: "CreateTableDefaultPermissions"))
1274
+ DatabaseInput.add_member(:target_database, Shapes::ShapeRef.new(shape: DatabaseIdentifier, location_name: "TargetDatabase"))
1257
1275
  DatabaseInput.struct_class = Types::DatabaseInput
1258
1276
 
1259
1277
  DatabaseList.member = Shapes::ShapeRef.new(shape: Database)
@@ -1341,6 +1359,7 @@ module Aws::Glue
1341
1359
  DeletePartitionResponse.struct_class = Types::DeletePartitionResponse
1342
1360
 
1343
1361
  DeleteResourcePolicyRequest.add_member(:policy_hash_condition, Shapes::ShapeRef.new(shape: HashString, location_name: "PolicyHashCondition"))
1362
+ DeleteResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: GlueResourceArn, location_name: "ResourceArn"))
1344
1363
  DeleteResourcePolicyRequest.struct_class = Types::DeleteResourcePolicyRequest
1345
1364
 
1346
1365
  DeleteResourcePolicyResponse.struct_class = Types::DeleteResourcePolicyResponse
@@ -1595,6 +1614,7 @@ module Aws::Glue
1595
1614
  GetDatabasesRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
1596
1615
  GetDatabasesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
1597
1616
  GetDatabasesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "MaxResults"))
1617
+ GetDatabasesRequest.add_member(:resource_share_type, Shapes::ShapeRef.new(shape: ResourceShareType, location_name: "ResourceShareType"))
1598
1618
  GetDatabasesRequest.struct_class = Types::GetDatabasesRequest
1599
1619
 
1600
1620
  GetDatabasesResponse.add_member(:database_list, Shapes::ShapeRef.new(shape: DatabaseList, required: true, location_name: "DatabaseList"))
@@ -1761,6 +1781,17 @@ module Aws::Glue
1761
1781
  GetPlanResponse.add_member(:scala_code, Shapes::ShapeRef.new(shape: ScalaCode, location_name: "ScalaCode"))
1762
1782
  GetPlanResponse.struct_class = Types::GetPlanResponse
1763
1783
 
1784
+ GetResourcePoliciesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
1785
+ GetResourcePoliciesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "MaxResults"))
1786
+ GetResourcePoliciesRequest.struct_class = Types::GetResourcePoliciesRequest
1787
+
1788
+ GetResourcePoliciesResponse.add_member(:get_resource_policies_response_list, Shapes::ShapeRef.new(shape: GetResourcePoliciesResponseList, location_name: "GetResourcePoliciesResponseList"))
1789
+ GetResourcePoliciesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
1790
+ GetResourcePoliciesResponse.struct_class = Types::GetResourcePoliciesResponse
1791
+
1792
+ GetResourcePoliciesResponseList.member = Shapes::ShapeRef.new(shape: GluePolicy)
1793
+
1794
+ GetResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: GlueResourceArn, location_name: "ResourceArn"))
1764
1795
  GetResourcePolicyRequest.struct_class = Types::GetResourcePolicyRequest
1765
1796
 
1766
1797
  GetResourcePolicyResponse.add_member(:policy_in_json, Shapes::ShapeRef.new(shape: PolicyJsonString, location_name: "PolicyInJson"))
@@ -1899,6 +1930,12 @@ module Aws::Glue
1899
1930
  GlueEncryptionException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
1900
1931
  GlueEncryptionException.struct_class = Types::GlueEncryptionException
1901
1932
 
1933
+ GluePolicy.add_member(:policy_in_json, Shapes::ShapeRef.new(shape: PolicyJsonString, location_name: "PolicyInJson"))
1934
+ GluePolicy.add_member(:policy_hash, Shapes::ShapeRef.new(shape: HashString, location_name: "PolicyHash"))
1935
+ GluePolicy.add_member(:create_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreateTime"))
1936
+ GluePolicy.add_member(:update_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdateTime"))
1937
+ GluePolicy.struct_class = Types::GluePolicy
1938
+
1902
1939
  GlueTable.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
1903
1940
  GlueTable.add_member(:table_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "TableName"))
1904
1941
  GlueTable.add_member(:catalog_id, Shapes::ShapeRef.new(shape: NameString, location_name: "CatalogId"))
@@ -2175,6 +2212,8 @@ module Aws::Glue
2175
2212
  Node.add_member(:crawler_details, Shapes::ShapeRef.new(shape: CrawlerNodeDetails, location_name: "CrawlerDetails"))
2176
2213
  Node.struct_class = Types::Node
2177
2214
 
2215
+ NodeIdList.member = Shapes::ShapeRef.new(shape: NameString)
2216
+
2178
2217
  NodeList.member = Shapes::ShapeRef.new(shape: Node)
2179
2218
 
2180
2219
  NotificationProperty.add_member(:notify_delay_after, Shapes::ShapeRef.new(shape: NotifyDelayAfter, location_name: "NotifyDelayAfter"))
@@ -2202,6 +2241,7 @@ module Aws::Glue
2202
2241
  Partition.add_member(:storage_descriptor, Shapes::ShapeRef.new(shape: StorageDescriptor, location_name: "StorageDescriptor"))
2203
2242
  Partition.add_member(:parameters, Shapes::ShapeRef.new(shape: ParametersMap, location_name: "Parameters"))
2204
2243
  Partition.add_member(:last_analyzed_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastAnalyzedTime"))
2244
+ Partition.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
2205
2245
  Partition.struct_class = Types::Partition
2206
2246
 
2207
2247
  PartitionError.add_member(:partition_values, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "PartitionValues"))
@@ -2263,8 +2303,10 @@ module Aws::Glue
2263
2303
  PutDataCatalogEncryptionSettingsResponse.struct_class = Types::PutDataCatalogEncryptionSettingsResponse
2264
2304
 
2265
2305
  PutResourcePolicyRequest.add_member(:policy_in_json, Shapes::ShapeRef.new(shape: PolicyJsonString, required: true, location_name: "PolicyInJson"))
2306
+ PutResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: GlueResourceArn, location_name: "ResourceArn"))
2266
2307
  PutResourcePolicyRequest.add_member(:policy_hash_condition, Shapes::ShapeRef.new(shape: HashString, location_name: "PolicyHashCondition"))
2267
2308
  PutResourcePolicyRequest.add_member(:policy_exists_condition, Shapes::ShapeRef.new(shape: ExistCondition, location_name: "PolicyExistsCondition"))
2309
+ PutResourcePolicyRequest.add_member(:enable_hybrid, Shapes::ShapeRef.new(shape: EnableHybridValues, location_name: "EnableHybrid"))
2268
2310
  PutResourcePolicyRequest.struct_class = Types::PutResourcePolicyRequest
2269
2311
 
2270
2312
  PutResourcePolicyResponse.add_member(:policy_hash, Shapes::ShapeRef.new(shape: HashString, location_name: "PolicyHash"))
@@ -2293,6 +2335,15 @@ module Aws::Glue
2293
2335
 
2294
2336
  ResourceUriList.member = Shapes::ShapeRef.new(shape: ResourceUri)
2295
2337
 
2338
+ ResumeWorkflowRunRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
2339
+ ResumeWorkflowRunRequest.add_member(:run_id, Shapes::ShapeRef.new(shape: IdString, required: true, location_name: "RunId"))
2340
+ ResumeWorkflowRunRequest.add_member(:node_ids, Shapes::ShapeRef.new(shape: NodeIdList, required: true, location_name: "NodeIds"))
2341
+ ResumeWorkflowRunRequest.struct_class = Types::ResumeWorkflowRunRequest
2342
+
2343
+ ResumeWorkflowRunResponse.add_member(:run_id, Shapes::ShapeRef.new(shape: IdString, location_name: "RunId"))
2344
+ ResumeWorkflowRunResponse.add_member(:node_ids, Shapes::ShapeRef.new(shape: NodeIdList, location_name: "NodeIds"))
2345
+ ResumeWorkflowRunResponse.struct_class = Types::ResumeWorkflowRunResponse
2346
+
2296
2347
  S3Encryption.add_member(:s3_encryption_mode, Shapes::ShapeRef.new(shape: S3EncryptionMode, location_name: "S3EncryptionMode"))
2297
2348
  S3Encryption.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "KmsKeyArn"))
2298
2349
  S3Encryption.struct_class = Types::S3Encryption
@@ -2301,6 +2352,7 @@ module Aws::Glue
2301
2352
 
2302
2353
  S3Target.add_member(:path, Shapes::ShapeRef.new(shape: Path, location_name: "Path"))
2303
2354
  S3Target.add_member(:exclusions, Shapes::ShapeRef.new(shape: PathList, location_name: "Exclusions"))
2355
+ S3Target.add_member(:connection_name, Shapes::ShapeRef.new(shape: ConnectionName, location_name: "ConnectionName"))
2304
2356
  S3Target.struct_class = Types::S3Target
2305
2357
 
2306
2358
  S3TargetList.member = Shapes::ShapeRef.new(shape: S3Target)
@@ -2334,6 +2386,7 @@ module Aws::Glue
2334
2386
  SearchTablesRequest.add_member(:search_text, Shapes::ShapeRef.new(shape: ValueString, location_name: "SearchText"))
2335
2387
  SearchTablesRequest.add_member(:sort_criteria, Shapes::ShapeRef.new(shape: SortCriteria, location_name: "SortCriteria"))
2336
2388
  SearchTablesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "MaxResults"))
2389
+ SearchTablesRequest.add_member(:resource_share_type, Shapes::ShapeRef.new(shape: ResourceShareType, location_name: "ResourceShareType"))
2337
2390
  SearchTablesRequest.struct_class = Types::SearchTablesRequest
2338
2391
 
2339
2392
  SearchTablesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
@@ -2495,6 +2548,8 @@ module Aws::Glue
2495
2548
  Table.add_member(:parameters, Shapes::ShapeRef.new(shape: ParametersMap, location_name: "Parameters"))
2496
2549
  Table.add_member(:created_by, Shapes::ShapeRef.new(shape: NameString, location_name: "CreatedBy"))
2497
2550
  Table.add_member(:is_registered_with_lake_formation, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsRegisteredWithLakeFormation"))
2551
+ Table.add_member(:target_table, Shapes::ShapeRef.new(shape: TableIdentifier, location_name: "TargetTable"))
2552
+ Table.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
2498
2553
  Table.struct_class = Types::Table
2499
2554
 
2500
2555
  TableError.add_member(:table_name, Shapes::ShapeRef.new(shape: NameString, location_name: "TableName"))
@@ -2503,6 +2558,11 @@ module Aws::Glue
2503
2558
 
2504
2559
  TableErrors.member = Shapes::ShapeRef.new(shape: TableError)
2505
2560
 
2561
+ TableIdentifier.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
2562
+ TableIdentifier.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, location_name: "DatabaseName"))
2563
+ TableIdentifier.add_member(:name, Shapes::ShapeRef.new(shape: NameString, location_name: "Name"))
2564
+ TableIdentifier.struct_class = Types::TableIdentifier
2565
+
2506
2566
  TableInput.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
2507
2567
  TableInput.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
2508
2568
  TableInput.add_member(:owner, Shapes::ShapeRef.new(shape: NameString, location_name: "Owner"))
@@ -2515,6 +2575,7 @@ module Aws::Glue
2515
2575
  TableInput.add_member(:view_expanded_text, Shapes::ShapeRef.new(shape: ViewTextString, location_name: "ViewExpandedText"))
2516
2576
  TableInput.add_member(:table_type, Shapes::ShapeRef.new(shape: TableTypeString, location_name: "TableType"))
2517
2577
  TableInput.add_member(:parameters, Shapes::ShapeRef.new(shape: ParametersMap, location_name: "Parameters"))
2578
+ TableInput.add_member(:target_table, Shapes::ShapeRef.new(shape: TableIdentifier, location_name: "TargetTable"))
2518
2579
  TableInput.struct_class = Types::TableInput
2519
2580
 
2520
2581
  TableList.member = Shapes::ShapeRef.new(shape: Table)
@@ -2798,6 +2859,7 @@ module Aws::Glue
2798
2859
  UserDefinedFunction.add_member(:owner_type, Shapes::ShapeRef.new(shape: PrincipalType, location_name: "OwnerType"))
2799
2860
  UserDefinedFunction.add_member(:create_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreateTime"))
2800
2861
  UserDefinedFunction.add_member(:resource_uris, Shapes::ShapeRef.new(shape: ResourceUriList, location_name: "ResourceUris"))
2862
+ UserDefinedFunction.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
2801
2863
  UserDefinedFunction.struct_class = Types::UserDefinedFunction
2802
2864
 
2803
2865
  UserDefinedFunctionInput.add_member(:function_name, Shapes::ShapeRef.new(shape: NameString, location_name: "FunctionName"))
@@ -2834,6 +2896,7 @@ module Aws::Glue
2834
2896
 
2835
2897
  WorkflowRun.add_member(:name, Shapes::ShapeRef.new(shape: NameString, location_name: "Name"))
2836
2898
  WorkflowRun.add_member(:workflow_run_id, Shapes::ShapeRef.new(shape: IdString, location_name: "WorkflowRunId"))
2899
+ WorkflowRun.add_member(:previous_run_id, Shapes::ShapeRef.new(shape: IdString, location_name: "PreviousRunId"))
2837
2900
  WorkflowRun.add_member(:workflow_run_properties, Shapes::ShapeRef.new(shape: WorkflowRunProperties, location_name: "WorkflowRunProperties"))
2838
2901
  WorkflowRun.add_member(:started_on, Shapes::ShapeRef.new(shape: TimestampValue, location_name: "StartedOn"))
2839
2902
  WorkflowRun.add_member(:completed_on, Shapes::ShapeRef.new(shape: TimestampValue, location_name: "CompletedOn"))
@@ -3834,6 +3897,18 @@ module Aws::Glue
3834
3897
  o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
3835
3898
  end)
3836
3899
 
3900
+ api.add_operation(:get_resource_policies, Seahorse::Model::Operation.new.tap do |o|
3901
+ o.name = "GetResourcePolicies"
3902
+ o.http_method = "POST"
3903
+ o.http_request_uri = "/"
3904
+ o.input = Shapes::ShapeRef.new(shape: GetResourcePoliciesRequest)
3905
+ o.output = Shapes::ShapeRef.new(shape: GetResourcePoliciesResponse)
3906
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3907
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
3908
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
3909
+ o.errors << Shapes::ShapeRef.new(shape: GlueEncryptionException)
3910
+ end)
3911
+
3837
3912
  api.add_operation(:get_resource_policy, Seahorse::Model::Operation.new.tap do |o|
3838
3913
  o.name = "GetResourcePolicy"
3839
3914
  o.http_method = "POST"
@@ -4233,6 +4308,20 @@ module Aws::Glue
4233
4308
  o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
4234
4309
  end)
4235
4310
 
4311
+ api.add_operation(:resume_workflow_run, Seahorse::Model::Operation.new.tap do |o|
4312
+ o.name = "ResumeWorkflowRun"
4313
+ o.http_method = "POST"
4314
+ o.http_request_uri = "/"
4315
+ o.input = Shapes::ShapeRef.new(shape: ResumeWorkflowRunRequest)
4316
+ o.output = Shapes::ShapeRef.new(shape: ResumeWorkflowRunResponse)
4317
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
4318
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
4319
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
4320
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
4321
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentRunsExceededException)
4322
+ o.errors << Shapes::ShapeRef.new(shape: IllegalWorkflowStateException)
4323
+ end)
4324
+
4236
4325
  api.add_operation(:search_tables, Seahorse::Model::Operation.new.tap do |o|
4237
4326
  o.name = "SearchTables"
4238
4327
  o.http_method = "POST"
@@ -1452,10 +1452,8 @@ module Aws::Glue
1452
1452
  # @return [String]
1453
1453
  #
1454
1454
  # @!attribute [rw] state
1455
- # The condition state. Currently, the only job states that a trigger
1456
- # can listen for are `SUCCEEDED`, `STOPPED`, `FAILED`, and `TIMEOUT`.
1457
- # The only crawler states that a trigger can listen for are
1458
- # `SUCCEEDED`, `FAILED`, and `CANCELLED`.
1455
+ # The condition state. Currently, the values supported are
1456
+ # `SUCCEEDED`, `STOPPED`, `TIMEOUT`, and `FAILED`.
1459
1457
  # @return [String]
1460
1458
  #
1461
1459
  # @!attribute [rw] crawler_name
@@ -1543,8 +1541,7 @@ module Aws::Glue
1543
1541
  # @return [String]
1544
1542
  #
1545
1543
  # @!attribute [rw] connection_type
1546
- # The type of the connection. Currently, only JDBC is supported; SFTP
1547
- # is not supported.
1544
+ # The type of the connection. Currently, SFTP is not supported.
1548
1545
  # @return [String]
1549
1546
  #
1550
1547
  # @!attribute [rw] match_criteria
@@ -1621,6 +1618,17 @@ module Aws::Glue
1621
1618
  # port pairs that are the addresses of the Apache Kafka brokers in a
1622
1619
  # Kafka cluster to which a Kafka client will connect to and
1623
1620
  # bootstrap itself.
1621
+ #
1622
+ # * `KAFKA_SSL_ENABLED` - Whether to enable or disable SSL on an
1623
+ # Apache Kafka connection. Default value is "true".
1624
+ #
1625
+ # * `KAFKA_CUSTOM_CERT` - The Amazon S3 URL for the private CA cert
1626
+ # file (.pem format). The default is an empty string.
1627
+ #
1628
+ # * `KAFKA_SKIP_CUSTOM_CERT_VALIDATION` - Whether to skip the
1629
+ # validation of the CA cert file or not. AWS Glue validates for
1630
+ # three algorithms: SHA256withRSA, SHA384withRSA and SHA512withRSA.
1631
+ # Default value is "false".
1624
1632
  # @return [Hash<String,String>]
1625
1633
  #
1626
1634
  # @!attribute [rw] physical_connection_requirements
@@ -1666,7 +1674,7 @@ module Aws::Glue
1666
1674
  # {
1667
1675
  # name: "NameString", # required
1668
1676
  # description: "DescriptionString",
1669
- # connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA
1677
+ # connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK
1670
1678
  # match_criteria: ["NameString"],
1671
1679
  # connection_properties: { # required
1672
1680
  # "HOST" => "ValueString",
@@ -1698,6 +1706,9 @@ module Aws::Glue
1698
1706
  # * `MONGODB` - Designates a connection to a MongoDB document
1699
1707
  # database.
1700
1708
  #
1709
+ # * `NETWORK` - Designates a network connection to a data source
1710
+ # within an Amazon Virtual Private Cloud environment (Amazon VPC).
1711
+ #
1701
1712
  # SFTP is not supported.
1702
1713
  # @return [String]
1703
1714
  #
@@ -2067,6 +2078,7 @@ module Aws::Glue
2067
2078
  # {
2068
2079
  # path: "Path",
2069
2080
  # exclusions: ["Path"],
2081
+ # connection_name: "ConnectionName",
2070
2082
  # },
2071
2083
  # ],
2072
2084
  # jdbc_targets: [
@@ -2187,7 +2199,7 @@ module Aws::Glue
2187
2199
  # connection_input: { # required
2188
2200
  # name: "NameString", # required
2189
2201
  # description: "DescriptionString",
2190
- # connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA
2202
+ # connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK
2191
2203
  # match_criteria: ["NameString"],
2192
2204
  # connection_properties: { # required
2193
2205
  # "HOST" => "ValueString",
@@ -2235,6 +2247,7 @@ module Aws::Glue
2235
2247
  # {
2236
2248
  # path: "Path",
2237
2249
  # exclusions: ["Path"],
2250
+ # connection_name: "ConnectionName",
2238
2251
  # },
2239
2252
  # ],
2240
2253
  # jdbc_targets: [
@@ -2447,6 +2460,10 @@ module Aws::Glue
2447
2460
  # permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
2448
2461
  # },
2449
2462
  # ],
2463
+ # target_database: {
2464
+ # catalog_id: "CatalogIdString",
2465
+ # database_name: "NameString",
2466
+ # },
2450
2467
  # },
2451
2468
  # }
2452
2469
  #
@@ -2956,8 +2973,9 @@ module Aws::Glue
2956
2973
  # 0.0625 or 1 DPU. The default is 0.0625 DPU.
2957
2974
  #
2958
2975
  # * When you specify an Apache Spark ETL job
2959
- # (`JobCommand.Name`="glueetl"), you can allocate from 2 to 100
2960
- # DPUs. The default is 10 DPUs. This job type cannot have a
2976
+ # (`JobCommand.Name`="glueetl") or Apache Spark streaming ETL job
2977
+ # (`JobCommand.Name`="gluestreaming"), you can allocate from 2 to
2978
+ # 100 DPUs. The default is 10 DPUs. This job type cannot have a
2961
2979
  # fractional DPU allocation.
2962
2980
  #
2963
2981
  #
@@ -3591,6 +3609,11 @@ module Aws::Glue
3591
3609
  # parameters: {
3592
3610
  # "KeyString" => "ParametersMapValue",
3593
3611
  # },
3612
+ # target_table: {
3613
+ # catalog_id: "CatalogIdString",
3614
+ # database_name: "NameString",
3615
+ # name: "NameString",
3616
+ # },
3594
3617
  # },
3595
3618
  # }
3596
3619
  #
@@ -4036,6 +4059,15 @@ module Aws::Glue
4036
4059
  # Creates a set of default permissions on the table for principals.
4037
4060
  # @return [Array<Types::PrincipalPermissions>]
4038
4061
  #
4062
+ # @!attribute [rw] target_database
4063
+ # A `DatabaseIdentifier` structure that describes a target database
4064
+ # for resource linking.
4065
+ # @return [Types::DatabaseIdentifier]
4066
+ #
4067
+ # @!attribute [rw] catalog_id
4068
+ # The ID of the Data Catalog in which the database resides.
4069
+ # @return [String]
4070
+ #
4039
4071
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Database AWS API Documentation
4040
4072
  #
4041
4073
  class Database < Struct.new(
@@ -4044,7 +4076,36 @@ module Aws::Glue
4044
4076
  :location_uri,
4045
4077
  :parameters,
4046
4078
  :create_time,
4047
- :create_table_default_permissions)
4079
+ :create_table_default_permissions,
4080
+ :target_database,
4081
+ :catalog_id)
4082
+ SENSITIVE = []
4083
+ include Aws::Structure
4084
+ end
4085
+
4086
+ # A structure that describes a target database for resource linking.
4087
+ #
4088
+ # @note When making an API call, you may pass DatabaseIdentifier
4089
+ # data as a hash:
4090
+ #
4091
+ # {
4092
+ # catalog_id: "CatalogIdString",
4093
+ # database_name: "NameString",
4094
+ # }
4095
+ #
4096
+ # @!attribute [rw] catalog_id
4097
+ # The ID of the Data Catalog in which the database resides.
4098
+ # @return [String]
4099
+ #
4100
+ # @!attribute [rw] database_name
4101
+ # The name of the catalog database.
4102
+ # @return [String]
4103
+ #
4104
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DatabaseIdentifier AWS API Documentation
4105
+ #
4106
+ class DatabaseIdentifier < Struct.new(
4107
+ :catalog_id,
4108
+ :database_name)
4048
4109
  SENSITIVE = []
4049
4110
  include Aws::Structure
4050
4111
  end
@@ -4069,6 +4130,10 @@ module Aws::Glue
4069
4130
  # permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
4070
4131
  # },
4071
4132
  # ],
4133
+ # target_database: {
4134
+ # catalog_id: "CatalogIdString",
4135
+ # database_name: "NameString",
4136
+ # },
4072
4137
  # }
4073
4138
  #
4074
4139
  # @!attribute [rw] name
@@ -4096,6 +4161,11 @@ module Aws::Glue
4096
4161
  # Creates a set of default permissions on the table for principals.
4097
4162
  # @return [Array<Types::PrincipalPermissions>]
4098
4163
  #
4164
+ # @!attribute [rw] target_database
4165
+ # A `DatabaseIdentifier` structure that describes a target database
4166
+ # for resource linking.
4167
+ # @return [Types::DatabaseIdentifier]
4168
+ #
4099
4169
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DatabaseInput AWS API Documentation
4100
4170
  #
4101
4171
  class DatabaseInput < Struct.new(
@@ -4103,7 +4173,8 @@ module Aws::Glue
4103
4173
  :description,
4104
4174
  :location_uri,
4105
4175
  :parameters,
4106
- :create_table_default_permissions)
4176
+ :create_table_default_permissions,
4177
+ :target_database)
4107
4178
  SENSITIVE = []
4108
4179
  include Aws::Structure
4109
4180
  end
@@ -4550,16 +4621,23 @@ module Aws::Glue
4550
4621
  #
4551
4622
  # {
4552
4623
  # policy_hash_condition: "HashString",
4624
+ # resource_arn: "GlueResourceArn",
4553
4625
  # }
4554
4626
  #
4555
4627
  # @!attribute [rw] policy_hash_condition
4556
4628
  # The hash value returned when this policy was set.
4557
4629
  # @return [String]
4558
4630
  #
4631
+ # @!attribute [rw] resource_arn
4632
+ # The ARN of the AWS Glue resource for the resource policy to be
4633
+ # deleted.
4634
+ # @return [String]
4635
+ #
4559
4636
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteResourcePolicyRequest AWS API Documentation
4560
4637
  #
4561
4638
  class DeleteResourcePolicyRequest < Struct.new(
4562
- :policy_hash_condition)
4639
+ :policy_hash_condition,
4640
+ :resource_arn)
4563
4641
  SENSITIVE = []
4564
4642
  include Aws::Structure
4565
4643
  end
@@ -5129,7 +5207,7 @@ module Aws::Glue
5129
5207
  end
5130
5208
 
5131
5209
  # An edge represents a directed connection between two AWS Glue
5132
- # components which are part of the workflow the edge belongs to.
5210
+ # components that are part of the workflow the edge belongs to.
5133
5211
  #
5134
5212
  # @!attribute [rw] source_id
5135
5213
  # The unique of the node within the workflow where the edge starts.
@@ -5764,7 +5842,7 @@ module Aws::Glue
5764
5842
  #
5765
5843
  # {
5766
5844
  # match_criteria: ["NameString"],
5767
- # connection_type: "JDBC", # accepts JDBC, SFTP, MONGODB, KAFKA
5845
+ # connection_type: "JDBC", # accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK
5768
5846
  # }
5769
5847
  #
5770
5848
  # @!attribute [rw] match_criteria
@@ -5773,8 +5851,7 @@ module Aws::Glue
5773
5851
  # @return [Array<String>]
5774
5852
  #
5775
5853
  # @!attribute [rw] connection_type
5776
- # The type of connections to return. Currently, only JDBC is
5777
- # supported; SFTP is not supported.
5854
+ # The type of connections to return. Currently, SFTP is not supported.
5778
5855
  # @return [String]
5779
5856
  #
5780
5857
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetConnectionsFilter AWS API Documentation
@@ -5793,7 +5870,7 @@ module Aws::Glue
5793
5870
  # catalog_id: "CatalogIdString",
5794
5871
  # filter: {
5795
5872
  # match_criteria: ["NameString"],
5796
- # connection_type: "JDBC", # accepts JDBC, SFTP, MONGODB, KAFKA
5873
+ # connection_type: "JDBC", # accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK
5797
5874
  # },
5798
5875
  # hide_password: false,
5799
5876
  # next_token: "Token",
@@ -6057,6 +6134,7 @@ module Aws::Glue
6057
6134
  # catalog_id: "CatalogIdString",
6058
6135
  # next_token: "Token",
6059
6136
  # max_results: 1,
6137
+ # resource_share_type: "FOREIGN", # accepts FOREIGN, ALL
6060
6138
  # }
6061
6139
  #
6062
6140
  # @!attribute [rw] catalog_id
@@ -6072,12 +6150,24 @@ module Aws::Glue
6072
6150
  # The maximum number of databases to return in one response.
6073
6151
  # @return [Integer]
6074
6152
  #
6153
+ # @!attribute [rw] resource_share_type
6154
+ # Allows you to specify that you want to list the databases shared
6155
+ # with your account. The allowable values are `FOREIGN` or `ALL`.
6156
+ #
6157
+ # * If set to `FOREIGN`, will list the databases shared with your
6158
+ # account.
6159
+ #
6160
+ # * If set to `ALL`, will list the databases shared with your account,
6161
+ # as well as the databases in yor local account.
6162
+ # @return [String]
6163
+ #
6075
6164
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDatabasesRequest AWS API Documentation
6076
6165
  #
6077
6166
  class GetDatabasesRequest < Struct.new(
6078
6167
  :catalog_id,
6079
6168
  :next_token,
6080
- :max_results)
6169
+ :max_results,
6170
+ :resource_share_type)
6081
6171
  SENSITIVE = []
6082
6172
  include Aws::Structure
6083
6173
  end
@@ -7188,11 +7278,74 @@ module Aws::Glue
7188
7278
  include Aws::Structure
7189
7279
  end
7190
7280
 
7191
- # @api private
7281
+ # @note When making an API call, you may pass GetResourcePoliciesRequest
7282
+ # data as a hash:
7283
+ #
7284
+ # {
7285
+ # next_token: "Token",
7286
+ # max_results: 1,
7287
+ # }
7288
+ #
7289
+ # @!attribute [rw] next_token
7290
+ # A continuation token, if this is a continuation request.
7291
+ # @return [String]
7292
+ #
7293
+ # @!attribute [rw] max_results
7294
+ # The maximum size of a list to return.
7295
+ # @return [Integer]
7296
+ #
7297
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetResourcePoliciesRequest AWS API Documentation
7298
+ #
7299
+ class GetResourcePoliciesRequest < Struct.new(
7300
+ :next_token,
7301
+ :max_results)
7302
+ SENSITIVE = []
7303
+ include Aws::Structure
7304
+ end
7305
+
7306
+ # @!attribute [rw] get_resource_policies_response_list
7307
+ # A list of the individual resource policies and the account-level
7308
+ # resource policy.
7309
+ # @return [Array<Types::GluePolicy>]
7310
+ #
7311
+ # @!attribute [rw] next_token
7312
+ # A continuation token, if the returned list does not contain the last
7313
+ # resource policy available.
7314
+ # @return [String]
7315
+ #
7316
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetResourcePoliciesResponse AWS API Documentation
7317
+ #
7318
+ class GetResourcePoliciesResponse < Struct.new(
7319
+ :get_resource_policies_response_list,
7320
+ :next_token)
7321
+ SENSITIVE = []
7322
+ include Aws::Structure
7323
+ end
7324
+
7325
+ # @note When making an API call, you may pass GetResourcePolicyRequest
7326
+ # data as a hash:
7327
+ #
7328
+ # {
7329
+ # resource_arn: "GlueResourceArn",
7330
+ # }
7331
+ #
7332
+ # @!attribute [rw] resource_arn
7333
+ # The ARN of the AWS Glue resource for the resource policy to be
7334
+ # retrieved. For more information about AWS Glue resource ARNs, see
7335
+ # the [AWS Glue ARN string pattern][1]
7336
+ #
7337
+ #
7338
+ #
7339
+ # [1]: https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-common.html#aws-glue-api-regex-aws-glue-arn-id
7340
+ # @return [String]
7192
7341
  #
7193
7342
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetResourcePolicyRequest AWS API Documentation
7194
7343
  #
7195
- class GetResourcePolicyRequest < Aws::EmptyStructure; end
7344
+ class GetResourcePolicyRequest < Struct.new(
7345
+ :resource_arn)
7346
+ SENSITIVE = []
7347
+ include Aws::Structure
7348
+ end
7196
7349
 
7197
7350
  # @!attribute [rw] policy_in_json
7198
7351
  # Contains the requested policy document, in JSON format.
@@ -7934,6 +8087,35 @@ module Aws::Glue
7934
8087
  include Aws::Structure
7935
8088
  end
7936
8089
 
8090
+ # A structure for returning a resource policy.
8091
+ #
8092
+ # @!attribute [rw] policy_in_json
8093
+ # Contains the requested policy document, in JSON format.
8094
+ # @return [String]
8095
+ #
8096
+ # @!attribute [rw] policy_hash
8097
+ # Contains the hash value associated with this policy.
8098
+ # @return [String]
8099
+ #
8100
+ # @!attribute [rw] create_time
8101
+ # The date and time at which the policy was created.
8102
+ # @return [Time]
8103
+ #
8104
+ # @!attribute [rw] update_time
8105
+ # The date and time at which the policy was last updated.
8106
+ # @return [Time]
8107
+ #
8108
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GluePolicy AWS API Documentation
8109
+ #
8110
+ class GluePolicy < Struct.new(
8111
+ :policy_in_json,
8112
+ :policy_hash,
8113
+ :create_time,
8114
+ :update_time)
8115
+ SENSITIVE = []
8116
+ include Aws::Structure
8117
+ end
8118
+
7937
8119
  # The database and table in the AWS Glue Data Catalog that is used for
7938
8120
  # input or output data.
7939
8121
  #
@@ -8270,15 +8452,17 @@ module Aws::Glue
8270
8452
  # `NumberOfWorkers`.
8271
8453
  #
8272
8454
  # The value that can be allocated for `MaxCapacity` depends on whether
8273
- # you are running a Python shell job or an Apache Spark ETL job:
8455
+ # you are running a Python shell job, an Apache Spark ETL job, or an
8456
+ # Apache Spark streaming ETL job:
8274
8457
  #
8275
8458
  # * When you specify a Python shell job
8276
8459
  # (`JobCommand.Name`="pythonshell"), you can allocate either
8277
8460
  # 0.0625 or 1 DPU. The default is 0.0625 DPU.
8278
8461
  #
8279
8462
  # * When you specify an Apache Spark ETL job
8280
- # (`JobCommand.Name`="glueetl"), you can allocate from 2 to 100
8281
- # DPUs. The default is 10 DPUs. This job type cannot have a
8463
+ # (`JobCommand.Name`="glueetl") or Apache Spark streaming ETL job
8464
+ # (`JobCommand.Name`="gluestreaming"), you can allocate from 2 to
8465
+ # 100 DPUs. The default is 10 DPUs. This job type cannot have a
8282
8466
  # fractional DPU allocation.
8283
8467
  #
8284
8468
  #
@@ -8448,7 +8632,8 @@ module Aws::Glue
8448
8632
  #
8449
8633
  # @!attribute [rw] name
8450
8634
  # The name of the job command. For an Apache Spark ETL job, this must
8451
- # be `glueetl`. For a Python shell job, it must be `pythonshell`.
8635
+ # be `glueetl`. For a Python shell job, it must be `pythonshell`. For
8636
+ # an Apache Spark streaming ETL job, this must be `gluestreaming`.
8452
8637
  # @return [String]
8453
8638
  #
8454
8639
  # @!attribute [rw] script_location
@@ -8521,13 +8706,7 @@ module Aws::Glue
8521
8706
  # @return [Time]
8522
8707
  #
8523
8708
  # @!attribute [rw] job_run_state
8524
- # The current state of the job run. For more information about the
8525
- # statuses of jobs that have terminated abnormally, see [AWS Glue Job
8526
- # Run Statuses][1].
8527
- #
8528
- #
8529
- #
8530
- # [1]: https://docs.aws.amazon.com/glue/latest/dg/job-run-statuses.html
8709
+ # The current state of the job run.
8531
8710
  # @return [String]
8532
8711
  #
8533
8712
  # @!attribute [rw] arguments
@@ -8831,8 +9010,9 @@ module Aws::Glue
8831
9010
  # 0.0625 or 1 DPU. The default is 0.0625 DPU.
8832
9011
  #
8833
9012
  # * When you specify an Apache Spark ETL job
8834
- # (`JobCommand.Name`="glueetl"), you can allocate from 2 to 100
8835
- # DPUs. The default is 10 DPUs. This job type cannot have a
9013
+ # (`JobCommand.Name`="glueetl") or Apache Spark streaming ETL job
9014
+ # (`JobCommand.Name`="gluestreaming"), you can allocate from 2 to
9015
+ # 100 DPUs. The default is 10 DPUs. This job type cannot have a
8836
9016
  # fractional DPU allocation.
8837
9017
  #
8838
9018
  #
@@ -9708,8 +9888,8 @@ module Aws::Glue
9708
9888
  include Aws::Structure
9709
9889
  end
9710
9890
 
9711
- # A node represents an AWS Glue component like Trigger, Job etc. which
9712
- # is part of a workflow.
9891
+ # A node represents an AWS Glue component such as a trigger, or job,
9892
+ # etc., that is part of a workflow.
9713
9893
  #
9714
9894
  # @!attribute [rw] type
9715
9895
  # The type of AWS Glue component represented by the node.
@@ -9848,6 +10028,10 @@ module Aws::Glue
9848
10028
  # partition.
9849
10029
  # @return [Time]
9850
10030
  #
10031
+ # @!attribute [rw] catalog_id
10032
+ # The ID of the Data Catalog in which the partition resides.
10033
+ # @return [String]
10034
+ #
9851
10035
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Partition AWS API Documentation
9852
10036
  #
9853
10037
  class Partition < Struct.new(
@@ -9858,7 +10042,8 @@ module Aws::Glue
9858
10042
  :last_access_time,
9859
10043
  :storage_descriptor,
9860
10044
  :parameters,
9861
- :last_analyzed_time)
10045
+ :last_analyzed_time,
10046
+ :catalog_id)
9862
10047
  SENSITIVE = []
9863
10048
  include Aws::Structure
9864
10049
  end
@@ -10197,14 +10382,26 @@ module Aws::Glue
10197
10382
  #
10198
10383
  # {
10199
10384
  # policy_in_json: "PolicyJsonString", # required
10385
+ # resource_arn: "GlueResourceArn",
10200
10386
  # policy_hash_condition: "HashString",
10201
10387
  # policy_exists_condition: "MUST_EXIST", # accepts MUST_EXIST, NOT_EXIST, NONE
10388
+ # enable_hybrid: "TRUE", # accepts TRUE, FALSE
10202
10389
  # }
10203
10390
  #
10204
10391
  # @!attribute [rw] policy_in_json
10205
10392
  # Contains the policy document to set, in JSON format.
10206
10393
  # @return [String]
10207
10394
  #
10395
+ # @!attribute [rw] resource_arn
10396
+ # The ARN of the AWS Glue resource for the resource policy to be set.
10397
+ # For more information about AWS Glue resource ARNs, see the [AWS Glue
10398
+ # ARN string pattern][1]
10399
+ #
10400
+ #
10401
+ #
10402
+ # [1]: https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-common.html#aws-glue-api-regex-aws-glue-arn-id
10403
+ # @return [String]
10404
+ #
10208
10405
  # @!attribute [rw] policy_hash_condition
10209
10406
  # The hash value returned when the previous policy was set using
10210
10407
  # `PutResourcePolicy`. Its purpose is to prevent concurrent
@@ -10219,12 +10416,26 @@ module Aws::Glue
10219
10416
  # policy.
10220
10417
  # @return [String]
10221
10418
  #
10419
+ # @!attribute [rw] enable_hybrid
10420
+ # Allows you to specify if you want to use both resource-level and
10421
+ # account/catalog-level resource policies. A resource-level policy is
10422
+ # a policy attached to an individual resource such as a database or a
10423
+ # table.
10424
+ #
10425
+ # The default value of `NO` indicates that resource-level policies
10426
+ # cannot co-exist with an account-level policy. A value of `YES` means
10427
+ # the use of both resource-level and account/catalog-level resource
10428
+ # policies is allowed.
10429
+ # @return [String]
10430
+ #
10222
10431
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutResourcePolicyRequest AWS API Documentation
10223
10432
  #
10224
10433
  class PutResourcePolicyRequest < Struct.new(
10225
10434
  :policy_in_json,
10435
+ :resource_arn,
10226
10436
  :policy_hash_condition,
10227
- :policy_exists_condition)
10437
+ :policy_exists_condition,
10438
+ :enable_hybrid)
10228
10439
  SENSITIVE = []
10229
10440
  include Aws::Structure
10230
10441
  end
@@ -10358,6 +10569,57 @@ module Aws::Glue
10358
10569
  include Aws::Structure
10359
10570
  end
10360
10571
 
10572
+ # @note When making an API call, you may pass ResumeWorkflowRunRequest
10573
+ # data as a hash:
10574
+ #
10575
+ # {
10576
+ # name: "NameString", # required
10577
+ # run_id: "IdString", # required
10578
+ # node_ids: ["NameString"], # required
10579
+ # }
10580
+ #
10581
+ # @!attribute [rw] name
10582
+ # The name of the workflow to resume.
10583
+ # @return [String]
10584
+ #
10585
+ # @!attribute [rw] run_id
10586
+ # The ID of the workflow run to resume.
10587
+ # @return [String]
10588
+ #
10589
+ # @!attribute [rw] node_ids
10590
+ # A list of the node IDs for the nodes you want to restart. The nodes
10591
+ # that are to be restarted must have an execution attempt in the
10592
+ # original run.
10593
+ # @return [Array<String>]
10594
+ #
10595
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ResumeWorkflowRunRequest AWS API Documentation
10596
+ #
10597
+ class ResumeWorkflowRunRequest < Struct.new(
10598
+ :name,
10599
+ :run_id,
10600
+ :node_ids)
10601
+ SENSITIVE = []
10602
+ include Aws::Structure
10603
+ end
10604
+
10605
+ # @!attribute [rw] run_id
10606
+ # The new ID assigned to the resumed workflow run. Each resume of a
10607
+ # workflow run will have a new run ID.
10608
+ # @return [String]
10609
+ #
10610
+ # @!attribute [rw] node_ids
10611
+ # A list of the node IDs for the nodes that were actually restarted.
10612
+ # @return [Array<String>]
10613
+ #
10614
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ResumeWorkflowRunResponse AWS API Documentation
10615
+ #
10616
+ class ResumeWorkflowRunResponse < Struct.new(
10617
+ :run_id,
10618
+ :node_ids)
10619
+ SENSITIVE = []
10620
+ include Aws::Structure
10621
+ end
10622
+
10361
10623
  # Specifies how Amazon Simple Storage Service (Amazon S3) data should be
10362
10624
  # encrypted.
10363
10625
  #
@@ -10395,6 +10657,7 @@ module Aws::Glue
10395
10657
  # {
10396
10658
  # path: "Path",
10397
10659
  # exclusions: ["Path"],
10660
+ # connection_name: "ConnectionName",
10398
10661
  # }
10399
10662
  #
10400
10663
  # @!attribute [rw] path
@@ -10410,11 +10673,18 @@ module Aws::Glue
10410
10673
  # [1]: https://docs.aws.amazon.com/glue/latest/dg/add-crawler.html
10411
10674
  # @return [Array<String>]
10412
10675
  #
10676
+ # @!attribute [rw] connection_name
10677
+ # The name of a connection which allows a job or crawler to access
10678
+ # data in Amazon S3 within an Amazon Virtual Private Cloud environment
10679
+ # (Amazon VPC).
10680
+ # @return [String]
10681
+ #
10413
10682
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/S3Target AWS API Documentation
10414
10683
  #
10415
10684
  class S3Target < Struct.new(
10416
10685
  :path,
10417
- :exclusions)
10686
+ :exclusions,
10687
+ :connection_name)
10418
10688
  SENSITIVE = []
10419
10689
  include Aws::Structure
10420
10690
  end
@@ -10563,10 +10833,11 @@ module Aws::Glue
10563
10833
  # },
10564
10834
  # ],
10565
10835
  # max_results: 1,
10836
+ # resource_share_type: "FOREIGN", # accepts FOREIGN, ALL
10566
10837
  # }
10567
10838
  #
10568
10839
  # @!attribute [rw] catalog_id
10569
- # A unique identifier, consisting of ` account_id/datalake`.
10840
+ # A unique identifier, consisting of ` account_id `.
10570
10841
  # @return [String]
10571
10842
  #
10572
10843
  # @!attribute [rw] next_token
@@ -10576,6 +10847,17 @@ module Aws::Glue
10576
10847
  # @!attribute [rw] filters
10577
10848
  # A list of key-value pairs, and a comparator used to filter the
10578
10849
  # search results. Returns all entities matching the predicate.
10850
+ #
10851
+ # The `Comparator` member of the `PropertyPredicate` struct is used
10852
+ # only for time fields, and can be omitted for other field types.
10853
+ # Also, when comparing string values, such as when `Key=Name`, a fuzzy
10854
+ # match algorithm is used. The `Key` field (for example, the value of
10855
+ # the `Name` field) is split on certain punctuation characters, for
10856
+ # example, -, :, #, etc. into tokens. Then each token is exact-match
10857
+ # compared with the `Value` member of `PropertyPredicate`. For
10858
+ # example, if `Key=Name` and `Value=link`, tables named
10859
+ # `customer-link` and `xx-link-yy` are returned, but `xxlinkyy` is not
10860
+ # returned.
10579
10861
  # @return [Array<Types::PropertyPredicate>]
10580
10862
  #
10581
10863
  # @!attribute [rw] search_text
@@ -10594,6 +10876,17 @@ module Aws::Glue
10594
10876
  # The maximum number of tables to return in a single response.
10595
10877
  # @return [Integer]
10596
10878
  #
10879
+ # @!attribute [rw] resource_share_type
10880
+ # Allows you to specify that you want to search the tables shared with
10881
+ # your account. The allowable values are `FOREIGN` or `ALL`.
10882
+ #
10883
+ # * If set to `FOREIGN`, will search the tables shared with your
10884
+ # account.
10885
+ #
10886
+ # * If set to `ALL`, will search the tables shared with your account,
10887
+ # as well as the tables in yor local account.
10888
+ # @return [String]
10889
+ #
10597
10890
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/SearchTablesRequest AWS API Documentation
10598
10891
  #
10599
10892
  class SearchTablesRequest < Struct.new(
@@ -10602,7 +10895,8 @@ module Aws::Glue
10602
10895
  :filters,
10603
10896
  :search_text,
10604
10897
  :sort_criteria,
10605
- :max_results)
10898
+ :max_results,
10899
+ :resource_share_type)
10606
10900
  SENSITIVE = []
10607
10901
  include Aws::Structure
10608
10902
  end
@@ -11549,6 +11843,15 @@ module Aws::Glue
11549
11843
  # Formation.
11550
11844
  # @return [Boolean]
11551
11845
  #
11846
+ # @!attribute [rw] target_table
11847
+ # A `TableIdentifier` structure that describes a target table for
11848
+ # resource linking.
11849
+ # @return [Types::TableIdentifier]
11850
+ #
11851
+ # @!attribute [rw] catalog_id
11852
+ # The ID of the Data Catalog in which the table resides.
11853
+ # @return [String]
11854
+ #
11552
11855
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Table AWS API Documentation
11553
11856
  #
11554
11857
  class Table < Struct.new(
@@ -11568,7 +11871,9 @@ module Aws::Glue
11568
11871
  :table_type,
11569
11872
  :parameters,
11570
11873
  :created_by,
11571
- :is_registered_with_lake_formation)
11874
+ :is_registered_with_lake_formation,
11875
+ :target_table,
11876
+ :catalog_id)
11572
11877
  SENSITIVE = []
11573
11878
  include Aws::Structure
11574
11879
  end
@@ -11593,6 +11898,39 @@ module Aws::Glue
11593
11898
  include Aws::Structure
11594
11899
  end
11595
11900
 
11901
+ # A structure that describes a target table for resource linking.
11902
+ #
11903
+ # @note When making an API call, you may pass TableIdentifier
11904
+ # data as a hash:
11905
+ #
11906
+ # {
11907
+ # catalog_id: "CatalogIdString",
11908
+ # database_name: "NameString",
11909
+ # name: "NameString",
11910
+ # }
11911
+ #
11912
+ # @!attribute [rw] catalog_id
11913
+ # The ID of the Data Catalog in which the table resides.
11914
+ # @return [String]
11915
+ #
11916
+ # @!attribute [rw] database_name
11917
+ # The name of the catalog database that contains the target table.
11918
+ # @return [String]
11919
+ #
11920
+ # @!attribute [rw] name
11921
+ # The name of the target table.
11922
+ # @return [String]
11923
+ #
11924
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TableIdentifier AWS API Documentation
11925
+ #
11926
+ class TableIdentifier < Struct.new(
11927
+ :catalog_id,
11928
+ :database_name,
11929
+ :name)
11930
+ SENSITIVE = []
11931
+ include Aws::Structure
11932
+ end
11933
+
11596
11934
  # A structure used to define a table.
11597
11935
  #
11598
11936
  # @note When making an API call, you may pass TableInput
@@ -11663,6 +12001,11 @@ module Aws::Glue
11663
12001
  # parameters: {
11664
12002
  # "KeyString" => "ParametersMapValue",
11665
12003
  # },
12004
+ # target_table: {
12005
+ # catalog_id: "CatalogIdString",
12006
+ # database_name: "NameString",
12007
+ # name: "NameString",
12008
+ # },
11666
12009
  # }
11667
12010
  #
11668
12011
  # @!attribute [rw] name
@@ -11724,6 +12067,11 @@ module Aws::Glue
11724
12067
  # These key-value pairs define properties associated with the table.
11725
12068
  # @return [Hash<String,String>]
11726
12069
  #
12070
+ # @!attribute [rw] target_table
12071
+ # A `TableIdentifier` structure that describes a target table for
12072
+ # resource linking.
12073
+ # @return [Types::TableIdentifier]
12074
+ #
11727
12075
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TableInput AWS API Documentation
11728
12076
  #
11729
12077
  class TableInput < Struct.new(
@@ -11738,7 +12086,8 @@ module Aws::Glue
11738
12086
  :view_original_text,
11739
12087
  :view_expanded_text,
11740
12088
  :table_type,
11741
- :parameters)
12089
+ :parameters,
12090
+ :target_table)
11742
12091
  SENSITIVE = []
11743
12092
  include Aws::Structure
11744
12093
  end
@@ -12619,7 +12968,7 @@ module Aws::Glue
12619
12968
  # connection_input: { # required
12620
12969
  # name: "NameString", # required
12621
12970
  # description: "DescriptionString",
12622
- # connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA
12971
+ # connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK
12623
12972
  # match_criteria: ["NameString"],
12624
12973
  # connection_properties: { # required
12625
12974
  # "HOST" => "ValueString",
@@ -12673,6 +13022,7 @@ module Aws::Glue
12673
13022
  # {
12674
13023
  # path: "Path",
12675
13024
  # exclusions: ["Path"],
13025
+ # connection_name: "ConnectionName",
12676
13026
  # },
12677
13027
  # ],
12678
13028
  # jdbc_targets: [
@@ -12908,6 +13258,10 @@ module Aws::Glue
12908
13258
  # permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
12909
13259
  # },
12910
13260
  # ],
13261
+ # target_database: {
13262
+ # catalog_id: "CatalogIdString",
13263
+ # database_name: "NameString",
13264
+ # },
12911
13265
  # },
12912
13266
  # }
12913
13267
  #
@@ -13382,11 +13736,15 @@ module Aws::Glue
13382
13736
  # @return [String]
13383
13737
  #
13384
13738
  # @!attribute [rw] partition_value_list
13385
- # A list of the values defining the partition.
13739
+ # List of partition key values that define the partition to update.
13386
13740
  # @return [Array<String>]
13387
13741
  #
13388
13742
  # @!attribute [rw] partition_input
13389
13743
  # The new partition object to update the partition to.
13744
+ #
13745
+ # The `Values` property can't be changed. If you want to change the
13746
+ # partition key values for a partition, delete and recreate the
13747
+ # partition.
13390
13748
  # @return [Types::PartitionInput]
13391
13749
  #
13392
13750
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdatePartitionRequest AWS API Documentation
@@ -13476,6 +13834,11 @@ module Aws::Glue
13476
13834
  # parameters: {
13477
13835
  # "KeyString" => "ParametersMapValue",
13478
13836
  # },
13837
+ # target_table: {
13838
+ # catalog_id: "CatalogIdString",
13839
+ # database_name: "NameString",
13840
+ # name: "NameString",
13841
+ # },
13479
13842
  # },
13480
13843
  # skip_archive: false,
13481
13844
  # }
@@ -13730,7 +14093,7 @@ module Aws::Glue
13730
14093
  # @return [String]
13731
14094
  #
13732
14095
  # @!attribute [rw] database_name
13733
- # The name of the database where the function resides.
14096
+ # The name of the catalog database that contains the function.
13734
14097
  # @return [String]
13735
14098
  #
13736
14099
  # @!attribute [rw] class_name
@@ -13753,6 +14116,10 @@ module Aws::Glue
13753
14116
  # The resource URIs for the function.
13754
14117
  # @return [Array<Types::ResourceUri>]
13755
14118
  #
14119
+ # @!attribute [rw] catalog_id
14120
+ # The ID of the Data Catalog in which the function resides.
14121
+ # @return [String]
14122
+ #
13756
14123
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UserDefinedFunction AWS API Documentation
13757
14124
  #
13758
14125
  class UserDefinedFunction < Struct.new(
@@ -13762,7 +14129,8 @@ module Aws::Glue
13762
14129
  :owner_name,
13763
14130
  :owner_type,
13764
14131
  :create_time,
13765
- :resource_uris)
14132
+ :resource_uris,
14133
+ :catalog_id)
13766
14134
  SENSITIVE = []
13767
14135
  include Aws::Structure
13768
14136
  end
@@ -13920,13 +14288,17 @@ module Aws::Glue
13920
14288
  # information.
13921
14289
  #
13922
14290
  # @!attribute [rw] name
13923
- # Name of the workflow which was executed.
14291
+ # Name of the workflow that was executed.
13924
14292
  # @return [String]
13925
14293
  #
13926
14294
  # @!attribute [rw] workflow_run_id
13927
14295
  # The ID of this workflow run.
13928
14296
  # @return [String]
13929
14297
  #
14298
+ # @!attribute [rw] previous_run_id
14299
+ # The ID of the previous workflow run.
14300
+ # @return [String]
14301
+ #
13930
14302
  # @!attribute [rw] workflow_run_properties
13931
14303
  # The workflow run properties which were set during the run.
13932
14304
  # @return [Hash<String,String>]
@@ -13958,6 +14330,7 @@ module Aws::Glue
13958
14330
  class WorkflowRun < Struct.new(
13959
14331
  :name,
13960
14332
  :workflow_run_id,
14333
+ :previous_run_id,
13961
14334
  :workflow_run_properties,
13962
14335
  :started_on,
13963
14336
  :completed_on,
@@ -13975,19 +14348,19 @@ module Aws::Glue
13975
14348
  # @return [Integer]
13976
14349
  #
13977
14350
  # @!attribute [rw] timeout_actions
13978
- # Total number of Actions which timed out.
14351
+ # Total number of Actions that timed out.
13979
14352
  # @return [Integer]
13980
14353
  #
13981
14354
  # @!attribute [rw] failed_actions
13982
- # Total number of Actions which have failed.
14355
+ # Total number of Actions that have failed.
13983
14356
  # @return [Integer]
13984
14357
  #
13985
14358
  # @!attribute [rw] stopped_actions
13986
- # Total number of Actions which have stopped.
14359
+ # Total number of Actions that have stopped.
13987
14360
  # @return [Integer]
13988
14361
  #
13989
14362
  # @!attribute [rw] succeeded_actions
13990
- # Total number of Actions which have succeeded.
14363
+ # Total number of Actions that have succeeded.
13991
14364
  # @return [Integer]
13992
14365
  #
13993
14366
  # @!attribute [rw] running_actions