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.
- checksums.yaml +4 -4
- data/lib/aws-sdk-glue.rb +1 -1
- data/lib/aws-sdk-glue/client.rb +234 -11
- data/lib/aws-sdk-glue/client_api.rb +89 -0
- data/lib/aws-sdk-glue/types.rb +425 -52
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92a9f6d0f1755bffb1bae0ee2e08f9c166fe0486455b730238e06b2bd731c8e8
|
4
|
+
data.tar.gz: 10f52a1b881f4490d4d5058dca497f1e9ed5316e5fe6c87a36a1835174b009ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 526dfb4b3a3ee07c6dc78464aa61f06f3af8afdfdd6479e497f3a092c259f8fd048cc7d46cf5630bb8424c20ce8498f3a9ab90dfa288b8819830b87fbe910707
|
7
|
+
data.tar.gz: 7206f63bcecd124a72585d65e20b2535d24aa34f9a82b69af090ebf01a435e32e6f803cf97786d4dec95141834113c4e70c31fb351f8ce9eaff97958ca7cc77a
|
data/lib/aws-sdk-glue.rb
CHANGED
data/lib/aws-sdk-glue/client.rb
CHANGED
@@ -642,6 +642,7 @@ module Aws::Glue
|
|
642
642
|
# resp.crawlers[0].targets.s3_targets[0].path #=> String
|
643
643
|
# resp.crawlers[0].targets.s3_targets[0].exclusions #=> Array
|
644
644
|
# resp.crawlers[0].targets.s3_targets[0].exclusions[0] #=> String
|
645
|
+
# resp.crawlers[0].targets.s3_targets[0].connection_name #=> String
|
645
646
|
# resp.crawlers[0].targets.jdbc_targets #=> Array
|
646
647
|
# resp.crawlers[0].targets.jdbc_targets[0].connection_name #=> String
|
647
648
|
# resp.crawlers[0].targets.jdbc_targets[0].path #=> String
|
@@ -888,6 +889,7 @@ module Aws::Glue
|
|
888
889
|
# resp.partitions[0].parameters #=> Hash
|
889
890
|
# resp.partitions[0].parameters["KeyString"] #=> String
|
890
891
|
# resp.partitions[0].last_analyzed_time #=> Time
|
892
|
+
# resp.partitions[0].catalog_id #=> String
|
891
893
|
# resp.unprocessed_keys #=> Array
|
892
894
|
# resp.unprocessed_keys[0].values #=> Array
|
893
895
|
# resp.unprocessed_keys[0].values[0] #=> String
|
@@ -996,6 +998,7 @@ module Aws::Glue
|
|
996
998
|
# resp.workflows[0].last_modified_on #=> Time
|
997
999
|
# resp.workflows[0].last_run.name #=> String
|
998
1000
|
# resp.workflows[0].last_run.workflow_run_id #=> String
|
1001
|
+
# resp.workflows[0].last_run.previous_run_id #=> String
|
999
1002
|
# resp.workflows[0].last_run.workflow_run_properties #=> Hash
|
1000
1003
|
# resp.workflows[0].last_run.workflow_run_properties["IdString"] #=> String
|
1001
1004
|
# resp.workflows[0].last_run.started_on #=> Time
|
@@ -1298,7 +1301,7 @@ module Aws::Glue
|
|
1298
1301
|
# connection_input: { # required
|
1299
1302
|
# name: "NameString", # required
|
1300
1303
|
# description: "DescriptionString",
|
1301
|
-
# connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA
|
1304
|
+
# connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK
|
1302
1305
|
# match_criteria: ["NameString"],
|
1303
1306
|
# connection_properties: { # required
|
1304
1307
|
# "HOST" => "ValueString",
|
@@ -1399,6 +1402,7 @@ module Aws::Glue
|
|
1399
1402
|
# {
|
1400
1403
|
# path: "Path",
|
1401
1404
|
# exclusions: ["Path"],
|
1405
|
+
# connection_name: "ConnectionName",
|
1402
1406
|
# },
|
1403
1407
|
# ],
|
1404
1408
|
# jdbc_targets: [
|
@@ -1475,6 +1479,10 @@ module Aws::Glue
|
|
1475
1479
|
# permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
|
1476
1480
|
# },
|
1477
1481
|
# ],
|
1482
|
+
# target_database: {
|
1483
|
+
# catalog_id: "CatalogIdString",
|
1484
|
+
# database_name: "NameString",
|
1485
|
+
# },
|
1478
1486
|
# },
|
1479
1487
|
# })
|
1480
1488
|
#
|
@@ -1772,9 +1780,10 @@ module Aws::Glue
|
|
1772
1780
|
# or 1 DPU. The default is 0.0625 DPU.
|
1773
1781
|
#
|
1774
1782
|
# * When you specify an Apache Spark ETL job
|
1775
|
-
# (`JobCommand.Name`="glueetl")
|
1776
|
-
#
|
1777
|
-
#
|
1783
|
+
# (`JobCommand.Name`="glueetl") or Apache Spark streaming ETL job
|
1784
|
+
# (`JobCommand.Name`="gluestreaming"), you can allocate from 2 to
|
1785
|
+
# 100 DPUs. The default is 10 DPUs. This job type cannot have a
|
1786
|
+
# fractional DPU allocation.
|
1778
1787
|
#
|
1779
1788
|
#
|
1780
1789
|
#
|
@@ -2374,6 +2383,11 @@ module Aws::Glue
|
|
2374
2383
|
# parameters: {
|
2375
2384
|
# "KeyString" => "ParametersMapValue",
|
2376
2385
|
# },
|
2386
|
+
# target_table: {
|
2387
|
+
# catalog_id: "CatalogIdString",
|
2388
|
+
# database_name: "NameString",
|
2389
|
+
# name: "NameString",
|
2390
|
+
# },
|
2377
2391
|
# },
|
2378
2392
|
# })
|
2379
2393
|
#
|
@@ -2893,12 +2907,17 @@ module Aws::Glue
|
|
2893
2907
|
# @option params [String] :policy_hash_condition
|
2894
2908
|
# The hash value returned when this policy was set.
|
2895
2909
|
#
|
2910
|
+
# @option params [String] :resource_arn
|
2911
|
+
# The ARN of the AWS Glue resource for the resource policy to be
|
2912
|
+
# deleted.
|
2913
|
+
#
|
2896
2914
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2897
2915
|
#
|
2898
2916
|
# @example Request syntax with placeholder values
|
2899
2917
|
#
|
2900
2918
|
# resp = client.delete_resource_policy({
|
2901
2919
|
# policy_hash_condition: "HashString",
|
2920
|
+
# resource_arn: "GlueResourceArn",
|
2902
2921
|
# })
|
2903
2922
|
#
|
2904
2923
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteResourcePolicy AWS API Documentation
|
@@ -3449,7 +3468,7 @@ module Aws::Glue
|
|
3449
3468
|
#
|
3450
3469
|
# resp.connection.name #=> String
|
3451
3470
|
# resp.connection.description #=> String
|
3452
|
-
# resp.connection.connection_type #=> String, one of "JDBC", "SFTP", "MONGODB", "KAFKA"
|
3471
|
+
# resp.connection.connection_type #=> String, one of "JDBC", "SFTP", "MONGODB", "KAFKA", "NETWORK"
|
3453
3472
|
# resp.connection.match_criteria #=> Array
|
3454
3473
|
# resp.connection.match_criteria[0] #=> String
|
3455
3474
|
# resp.connection.connection_properties #=> Hash
|
@@ -3507,7 +3526,7 @@ module Aws::Glue
|
|
3507
3526
|
# catalog_id: "CatalogIdString",
|
3508
3527
|
# filter: {
|
3509
3528
|
# match_criteria: ["NameString"],
|
3510
|
-
# connection_type: "JDBC", # accepts JDBC, SFTP, MONGODB, KAFKA
|
3529
|
+
# connection_type: "JDBC", # accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK
|
3511
3530
|
# },
|
3512
3531
|
# hide_password: false,
|
3513
3532
|
# next_token: "Token",
|
@@ -3519,7 +3538,7 @@ module Aws::Glue
|
|
3519
3538
|
# resp.connection_list #=> Array
|
3520
3539
|
# resp.connection_list[0].name #=> String
|
3521
3540
|
# resp.connection_list[0].description #=> String
|
3522
|
-
# resp.connection_list[0].connection_type #=> String, one of "JDBC", "SFTP", "MONGODB", "KAFKA"
|
3541
|
+
# resp.connection_list[0].connection_type #=> String, one of "JDBC", "SFTP", "MONGODB", "KAFKA", "NETWORK"
|
3523
3542
|
# resp.connection_list[0].match_criteria #=> Array
|
3524
3543
|
# resp.connection_list[0].match_criteria[0] #=> String
|
3525
3544
|
# resp.connection_list[0].connection_properties #=> Hash
|
@@ -3565,6 +3584,7 @@ module Aws::Glue
|
|
3565
3584
|
# resp.crawler.targets.s3_targets[0].path #=> String
|
3566
3585
|
# resp.crawler.targets.s3_targets[0].exclusions #=> Array
|
3567
3586
|
# resp.crawler.targets.s3_targets[0].exclusions[0] #=> String
|
3587
|
+
# resp.crawler.targets.s3_targets[0].connection_name #=> String
|
3568
3588
|
# resp.crawler.targets.jdbc_targets #=> Array
|
3569
3589
|
# resp.crawler.targets.jdbc_targets[0].connection_name #=> String
|
3570
3590
|
# resp.crawler.targets.jdbc_targets[0].path #=> String
|
@@ -3689,6 +3709,7 @@ module Aws::Glue
|
|
3689
3709
|
# resp.crawlers[0].targets.s3_targets[0].path #=> String
|
3690
3710
|
# resp.crawlers[0].targets.s3_targets[0].exclusions #=> Array
|
3691
3711
|
# resp.crawlers[0].targets.s3_targets[0].exclusions[0] #=> String
|
3712
|
+
# resp.crawlers[0].targets.s3_targets[0].connection_name #=> String
|
3692
3713
|
# resp.crawlers[0].targets.jdbc_targets #=> Array
|
3693
3714
|
# resp.crawlers[0].targets.jdbc_targets[0].connection_name #=> String
|
3694
3715
|
# resp.crawlers[0].targets.jdbc_targets[0].path #=> String
|
@@ -3800,6 +3821,9 @@ module Aws::Glue
|
|
3800
3821
|
# resp.database.create_table_default_permissions[0].principal.data_lake_principal_identifier #=> String
|
3801
3822
|
# resp.database.create_table_default_permissions[0].permissions #=> Array
|
3802
3823
|
# resp.database.create_table_default_permissions[0].permissions[0] #=> String, one of "ALL", "SELECT", "ALTER", "DROP", "DELETE", "INSERT", "CREATE_DATABASE", "CREATE_TABLE", "DATA_LOCATION_ACCESS"
|
3824
|
+
# resp.database.target_database.catalog_id #=> String
|
3825
|
+
# resp.database.target_database.database_name #=> String
|
3826
|
+
# resp.database.catalog_id #=> String
|
3803
3827
|
#
|
3804
3828
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDatabase AWS API Documentation
|
3805
3829
|
#
|
@@ -3822,6 +3846,16 @@ module Aws::Glue
|
|
3822
3846
|
# @option params [Integer] :max_results
|
3823
3847
|
# The maximum number of databases to return in one response.
|
3824
3848
|
#
|
3849
|
+
# @option params [String] :resource_share_type
|
3850
|
+
# Allows you to specify that you want to list the databases shared with
|
3851
|
+
# your account. The allowable values are `FOREIGN` or `ALL`.
|
3852
|
+
#
|
3853
|
+
# * If set to `FOREIGN`, will list the databases shared with your
|
3854
|
+
# account.
|
3855
|
+
#
|
3856
|
+
# * If set to `ALL`, will list the databases shared with your account,
|
3857
|
+
# as well as the databases in yor local account.
|
3858
|
+
#
|
3825
3859
|
# @return [Types::GetDatabasesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3826
3860
|
#
|
3827
3861
|
# * {Types::GetDatabasesResponse#database_list #database_list} => Array<Types::Database>
|
@@ -3835,6 +3869,7 @@ module Aws::Glue
|
|
3835
3869
|
# catalog_id: "CatalogIdString",
|
3836
3870
|
# next_token: "Token",
|
3837
3871
|
# max_results: 1,
|
3872
|
+
# resource_share_type: "FOREIGN", # accepts FOREIGN, ALL
|
3838
3873
|
# })
|
3839
3874
|
#
|
3840
3875
|
# @example Response structure
|
@@ -3850,6 +3885,9 @@ module Aws::Glue
|
|
3850
3885
|
# resp.database_list[0].create_table_default_permissions[0].principal.data_lake_principal_identifier #=> String
|
3851
3886
|
# resp.database_list[0].create_table_default_permissions[0].permissions #=> Array
|
3852
3887
|
# resp.database_list[0].create_table_default_permissions[0].permissions[0] #=> String, one of "ALL", "SELECT", "ALTER", "DROP", "DELETE", "INSERT", "CREATE_DATABASE", "CREATE_TABLE", "DATA_LOCATION_ACCESS"
|
3888
|
+
# resp.database_list[0].target_database.catalog_id #=> String
|
3889
|
+
# resp.database_list[0].target_database.database_name #=> String
|
3890
|
+
# resp.database_list[0].catalog_id #=> String
|
3853
3891
|
# resp.next_token #=> String
|
3854
3892
|
#
|
3855
3893
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDatabases AWS API Documentation
|
@@ -4782,6 +4820,7 @@ module Aws::Glue
|
|
4782
4820
|
# resp.partition.parameters #=> Hash
|
4783
4821
|
# resp.partition.parameters["KeyString"] #=> String
|
4784
4822
|
# resp.partition.last_analyzed_time #=> Time
|
4823
|
+
# resp.partition.catalog_id #=> String
|
4785
4824
|
#
|
4786
4825
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartition AWS API Documentation
|
4787
4826
|
#
|
@@ -4970,6 +5009,7 @@ module Aws::Glue
|
|
4970
5009
|
# resp.partitions[0].parameters #=> Hash
|
4971
5010
|
# resp.partitions[0].parameters["KeyString"] #=> String
|
4972
5011
|
# resp.partitions[0].last_analyzed_time #=> Time
|
5012
|
+
# resp.partitions[0].catalog_id #=> String
|
4973
5013
|
# resp.next_token #=> String
|
4974
5014
|
#
|
4975
5015
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartitions AWS API Documentation
|
@@ -5066,8 +5106,61 @@ module Aws::Glue
|
|
5066
5106
|
req.send_request(options)
|
5067
5107
|
end
|
5068
5108
|
|
5109
|
+
# Retrieves the security configurations for the resource policies set on
|
5110
|
+
# individual resources, and also the account-level policy.
|
5111
|
+
#
|
5112
|
+
# This operation also returns the Data Catalog resource policy. However,
|
5113
|
+
# if you enabled metadata encryption in Data Catalog settings, and you
|
5114
|
+
# do not have permission on the AWS KMS key, the operation can't return
|
5115
|
+
# the Data Catalog resource policy.
|
5116
|
+
#
|
5117
|
+
# @option params [String] :next_token
|
5118
|
+
# A continuation token, if this is a continuation request.
|
5119
|
+
#
|
5120
|
+
# @option params [Integer] :max_results
|
5121
|
+
# The maximum size of a list to return.
|
5122
|
+
#
|
5123
|
+
# @return [Types::GetResourcePoliciesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5124
|
+
#
|
5125
|
+
# * {Types::GetResourcePoliciesResponse#get_resource_policies_response_list #get_resource_policies_response_list} => Array<Types::GluePolicy>
|
5126
|
+
# * {Types::GetResourcePoliciesResponse#next_token #next_token} => String
|
5127
|
+
#
|
5128
|
+
# @example Request syntax with placeholder values
|
5129
|
+
#
|
5130
|
+
# resp = client.get_resource_policies({
|
5131
|
+
# next_token: "Token",
|
5132
|
+
# max_results: 1,
|
5133
|
+
# })
|
5134
|
+
#
|
5135
|
+
# @example Response structure
|
5136
|
+
#
|
5137
|
+
# resp.get_resource_policies_response_list #=> Array
|
5138
|
+
# resp.get_resource_policies_response_list[0].policy_in_json #=> String
|
5139
|
+
# resp.get_resource_policies_response_list[0].policy_hash #=> String
|
5140
|
+
# resp.get_resource_policies_response_list[0].create_time #=> Time
|
5141
|
+
# resp.get_resource_policies_response_list[0].update_time #=> Time
|
5142
|
+
# resp.next_token #=> String
|
5143
|
+
#
|
5144
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetResourcePolicies AWS API Documentation
|
5145
|
+
#
|
5146
|
+
# @overload get_resource_policies(params = {})
|
5147
|
+
# @param [Hash] params ({})
|
5148
|
+
def get_resource_policies(params = {}, options = {})
|
5149
|
+
req = build_request(:get_resource_policies, params)
|
5150
|
+
req.send_request(options)
|
5151
|
+
end
|
5152
|
+
|
5069
5153
|
# Retrieves a specified resource policy.
|
5070
5154
|
#
|
5155
|
+
# @option params [String] :resource_arn
|
5156
|
+
# The ARN of the AWS Glue resource for the resource policy to be
|
5157
|
+
# retrieved. For more information about AWS Glue resource ARNs, see the
|
5158
|
+
# [AWS Glue ARN string pattern][1]
|
5159
|
+
#
|
5160
|
+
#
|
5161
|
+
#
|
5162
|
+
# [1]: https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-common.html#aws-glue-api-regex-aws-glue-arn-id
|
5163
|
+
#
|
5071
5164
|
# @return [Types::GetResourcePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5072
5165
|
#
|
5073
5166
|
# * {Types::GetResourcePolicyResponse#policy_in_json #policy_in_json} => String
|
@@ -5075,6 +5168,12 @@ module Aws::Glue
|
|
5075
5168
|
# * {Types::GetResourcePolicyResponse#create_time #create_time} => Time
|
5076
5169
|
# * {Types::GetResourcePolicyResponse#update_time #update_time} => Time
|
5077
5170
|
#
|
5171
|
+
# @example Request syntax with placeholder values
|
5172
|
+
#
|
5173
|
+
# resp = client.get_resource_policy({
|
5174
|
+
# resource_arn: "GlueResourceArn",
|
5175
|
+
# })
|
5176
|
+
#
|
5078
5177
|
# @example Response structure
|
5079
5178
|
#
|
5080
5179
|
# resp.policy_in_json #=> String
|
@@ -5252,6 +5351,10 @@ module Aws::Glue
|
|
5252
5351
|
# resp.table.parameters["KeyString"] #=> String
|
5253
5352
|
# resp.table.created_by #=> String
|
5254
5353
|
# resp.table.is_registered_with_lake_formation #=> Boolean
|
5354
|
+
# resp.table.target_table.catalog_id #=> String
|
5355
|
+
# resp.table.target_table.database_name #=> String
|
5356
|
+
# resp.table.target_table.name #=> String
|
5357
|
+
# resp.table.catalog_id #=> String
|
5255
5358
|
#
|
5256
5359
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTable AWS API Documentation
|
5257
5360
|
#
|
@@ -5346,6 +5449,10 @@ module Aws::Glue
|
|
5346
5449
|
# resp.table_version.table.parameters["KeyString"] #=> String
|
5347
5450
|
# resp.table_version.table.created_by #=> String
|
5348
5451
|
# resp.table_version.table.is_registered_with_lake_formation #=> Boolean
|
5452
|
+
# resp.table_version.table.target_table.catalog_id #=> String
|
5453
|
+
# resp.table_version.table.target_table.database_name #=> String
|
5454
|
+
# resp.table_version.table.target_table.name #=> String
|
5455
|
+
# resp.table_version.table.catalog_id #=> String
|
5349
5456
|
# resp.table_version.version_id #=> String
|
5350
5457
|
#
|
5351
5458
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableVersion AWS API Documentation
|
@@ -5449,6 +5556,10 @@ module Aws::Glue
|
|
5449
5556
|
# resp.table_versions[0].table.parameters["KeyString"] #=> String
|
5450
5557
|
# resp.table_versions[0].table.created_by #=> String
|
5451
5558
|
# resp.table_versions[0].table.is_registered_with_lake_formation #=> Boolean
|
5559
|
+
# resp.table_versions[0].table.target_table.catalog_id #=> String
|
5560
|
+
# resp.table_versions[0].table.target_table.database_name #=> String
|
5561
|
+
# resp.table_versions[0].table.target_table.name #=> String
|
5562
|
+
# resp.table_versions[0].table.catalog_id #=> String
|
5452
5563
|
# resp.table_versions[0].version_id #=> String
|
5453
5564
|
# resp.next_token #=> String
|
5454
5565
|
#
|
@@ -5553,6 +5664,10 @@ module Aws::Glue
|
|
5553
5664
|
# resp.table_list[0].parameters["KeyString"] #=> String
|
5554
5665
|
# resp.table_list[0].created_by #=> String
|
5555
5666
|
# resp.table_list[0].is_registered_with_lake_formation #=> Boolean
|
5667
|
+
# resp.table_list[0].target_table.catalog_id #=> String
|
5668
|
+
# resp.table_list[0].target_table.database_name #=> String
|
5669
|
+
# resp.table_list[0].target_table.name #=> String
|
5670
|
+
# resp.table_list[0].catalog_id #=> String
|
5556
5671
|
# resp.next_token #=> String
|
5557
5672
|
#
|
5558
5673
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTables AWS API Documentation
|
@@ -5742,6 +5857,7 @@ module Aws::Glue
|
|
5742
5857
|
# resp.user_defined_function.resource_uris #=> Array
|
5743
5858
|
# resp.user_defined_function.resource_uris[0].resource_type #=> String, one of "JAR", "FILE", "ARCHIVE"
|
5744
5859
|
# resp.user_defined_function.resource_uris[0].uri #=> String
|
5860
|
+
# resp.user_defined_function.catalog_id #=> String
|
5745
5861
|
#
|
5746
5862
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUserDefinedFunction AWS API Documentation
|
5747
5863
|
#
|
@@ -5802,6 +5918,7 @@ module Aws::Glue
|
|
5802
5918
|
# resp.user_defined_functions[0].resource_uris #=> Array
|
5803
5919
|
# resp.user_defined_functions[0].resource_uris[0].resource_type #=> String, one of "JAR", "FILE", "ARCHIVE"
|
5804
5920
|
# resp.user_defined_functions[0].resource_uris[0].uri #=> String
|
5921
|
+
# resp.user_defined_functions[0].catalog_id #=> String
|
5805
5922
|
# resp.next_token #=> String
|
5806
5923
|
#
|
5807
5924
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUserDefinedFunctions AWS API Documentation
|
@@ -5843,6 +5960,7 @@ module Aws::Glue
|
|
5843
5960
|
# resp.workflow.last_modified_on #=> Time
|
5844
5961
|
# resp.workflow.last_run.name #=> String
|
5845
5962
|
# resp.workflow.last_run.workflow_run_id #=> String
|
5963
|
+
# resp.workflow.last_run.previous_run_id #=> String
|
5846
5964
|
# resp.workflow.last_run.workflow_run_properties #=> Hash
|
5847
5965
|
# resp.workflow.last_run.workflow_run_properties["IdString"] #=> String
|
5848
5966
|
# resp.workflow.last_run.started_on #=> Time
|
@@ -6015,6 +6133,7 @@ module Aws::Glue
|
|
6015
6133
|
#
|
6016
6134
|
# resp.run.name #=> String
|
6017
6135
|
# resp.run.workflow_run_id #=> String
|
6136
|
+
# resp.run.previous_run_id #=> String
|
6018
6137
|
# resp.run.workflow_run_properties #=> Hash
|
6019
6138
|
# resp.run.workflow_run_properties["IdString"] #=> String
|
6020
6139
|
# resp.run.started_on #=> Time
|
@@ -6166,6 +6285,7 @@ module Aws::Glue
|
|
6166
6285
|
# resp.runs #=> Array
|
6167
6286
|
# resp.runs[0].name #=> String
|
6168
6287
|
# resp.runs[0].workflow_run_id #=> String
|
6288
|
+
# resp.runs[0].previous_run_id #=> String
|
6169
6289
|
# resp.runs[0].workflow_run_properties #=> Hash
|
6170
6290
|
# resp.runs[0].workflow_run_properties["IdString"] #=> String
|
6171
6291
|
# resp.runs[0].started_on #=> Time
|
@@ -6636,6 +6756,15 @@ module Aws::Glue
|
|
6636
6756
|
# @option params [required, String] :policy_in_json
|
6637
6757
|
# Contains the policy document to set, in JSON format.
|
6638
6758
|
#
|
6759
|
+
# @option params [String] :resource_arn
|
6760
|
+
# The ARN of the AWS Glue resource for the resource policy to be set.
|
6761
|
+
# For more information about AWS Glue resource ARNs, see the [AWS Glue
|
6762
|
+
# ARN string pattern][1]
|
6763
|
+
#
|
6764
|
+
#
|
6765
|
+
#
|
6766
|
+
# [1]: https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-common.html#aws-glue-api-regex-aws-glue-arn-id
|
6767
|
+
#
|
6639
6768
|
# @option params [String] :policy_hash_condition
|
6640
6769
|
# The hash value returned when the previous policy was set using
|
6641
6770
|
# `PutResourcePolicy`. Its purpose is to prevent concurrent
|
@@ -6648,6 +6777,17 @@ module Aws::Glue
|
|
6648
6777
|
# null value is used, the call will not depend on the existence of a
|
6649
6778
|
# policy.
|
6650
6779
|
#
|
6780
|
+
# @option params [String] :enable_hybrid
|
6781
|
+
# Allows you to specify if you want to use both resource-level and
|
6782
|
+
# account/catalog-level resource policies. A resource-level policy is a
|
6783
|
+
# policy attached to an individual resource such as a database or a
|
6784
|
+
# table.
|
6785
|
+
#
|
6786
|
+
# The default value of `NO` indicates that resource-level policies
|
6787
|
+
# cannot co-exist with an account-level policy. A value of `YES` means
|
6788
|
+
# the use of both resource-level and account/catalog-level resource
|
6789
|
+
# policies is allowed.
|
6790
|
+
#
|
6651
6791
|
# @return [Types::PutResourcePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6652
6792
|
#
|
6653
6793
|
# * {Types::PutResourcePolicyResponse#policy_hash #policy_hash} => String
|
@@ -6656,8 +6796,10 @@ module Aws::Glue
|
|
6656
6796
|
#
|
6657
6797
|
# resp = client.put_resource_policy({
|
6658
6798
|
# policy_in_json: "PolicyJsonString", # required
|
6799
|
+
# resource_arn: "GlueResourceArn",
|
6659
6800
|
# policy_hash_condition: "HashString",
|
6660
6801
|
# policy_exists_condition: "MUST_EXIST", # accepts MUST_EXIST, NOT_EXIST, NONE
|
6802
|
+
# enable_hybrid: "TRUE", # accepts TRUE, FALSE
|
6661
6803
|
# })
|
6662
6804
|
#
|
6663
6805
|
# @example Response structure
|
@@ -6746,6 +6888,48 @@ module Aws::Glue
|
|
6746
6888
|
req.send_request(options)
|
6747
6889
|
end
|
6748
6890
|
|
6891
|
+
# Restarts any completed nodes in a workflow run and resumes the run
|
6892
|
+
# execution.
|
6893
|
+
#
|
6894
|
+
# @option params [required, String] :name
|
6895
|
+
# The name of the workflow to resume.
|
6896
|
+
#
|
6897
|
+
# @option params [required, String] :run_id
|
6898
|
+
# The ID of the workflow run to resume.
|
6899
|
+
#
|
6900
|
+
# @option params [required, Array<String>] :node_ids
|
6901
|
+
# A list of the node IDs for the nodes you want to restart. The nodes
|
6902
|
+
# that are to be restarted must have an execution attempt in the
|
6903
|
+
# original run.
|
6904
|
+
#
|
6905
|
+
# @return [Types::ResumeWorkflowRunResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6906
|
+
#
|
6907
|
+
# * {Types::ResumeWorkflowRunResponse#run_id #run_id} => String
|
6908
|
+
# * {Types::ResumeWorkflowRunResponse#node_ids #node_ids} => Array<String>
|
6909
|
+
#
|
6910
|
+
# @example Request syntax with placeholder values
|
6911
|
+
#
|
6912
|
+
# resp = client.resume_workflow_run({
|
6913
|
+
# name: "NameString", # required
|
6914
|
+
# run_id: "IdString", # required
|
6915
|
+
# node_ids: ["NameString"], # required
|
6916
|
+
# })
|
6917
|
+
#
|
6918
|
+
# @example Response structure
|
6919
|
+
#
|
6920
|
+
# resp.run_id #=> String
|
6921
|
+
# resp.node_ids #=> Array
|
6922
|
+
# resp.node_ids[0] #=> String
|
6923
|
+
#
|
6924
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ResumeWorkflowRun AWS API Documentation
|
6925
|
+
#
|
6926
|
+
# @overload resume_workflow_run(params = {})
|
6927
|
+
# @param [Hash] params ({})
|
6928
|
+
def resume_workflow_run(params = {}, options = {})
|
6929
|
+
req = build_request(:resume_workflow_run, params)
|
6930
|
+
req.send_request(options)
|
6931
|
+
end
|
6932
|
+
|
6749
6933
|
# Searches a set of tables based on properties in the table metadata as
|
6750
6934
|
# well as on the parent database. You can search against text or filter
|
6751
6935
|
# conditions.
|
@@ -6760,7 +6944,7 @@ module Aws::Glue
|
|
6760
6944
|
# search.
|
6761
6945
|
#
|
6762
6946
|
# @option params [String] :catalog_id
|
6763
|
-
# A unique identifier, consisting of ` account_id
|
6947
|
+
# A unique identifier, consisting of ` account_id `.
|
6764
6948
|
#
|
6765
6949
|
# @option params [String] :next_token
|
6766
6950
|
# A continuation token, included if this is a continuation call.
|
@@ -6769,6 +6953,16 @@ module Aws::Glue
|
|
6769
6953
|
# A list of key-value pairs, and a comparator used to filter the search
|
6770
6954
|
# results. Returns all entities matching the predicate.
|
6771
6955
|
#
|
6956
|
+
# The `Comparator` member of the `PropertyPredicate` struct is used only
|
6957
|
+
# for time fields, and can be omitted for other field types. Also, when
|
6958
|
+
# comparing string values, such as when `Key=Name`, a fuzzy match
|
6959
|
+
# algorithm is used. The `Key` field (for example, the value of the
|
6960
|
+
# `Name` field) is split on certain punctuation characters, for example,
|
6961
|
+
# -, :, #, etc. into tokens. Then each token is exact-match compared
|
6962
|
+
# with the `Value` member of `PropertyPredicate`. For example, if
|
6963
|
+
# `Key=Name` and `Value=link`, tables named `customer-link` and
|
6964
|
+
# `xx-link-yy` are returned, but `xxlinkyy` is not returned.
|
6965
|
+
#
|
6772
6966
|
# @option params [String] :search_text
|
6773
6967
|
# A string used for a text search.
|
6774
6968
|
#
|
@@ -6782,6 +6976,16 @@ module Aws::Glue
|
|
6782
6976
|
# @option params [Integer] :max_results
|
6783
6977
|
# The maximum number of tables to return in a single response.
|
6784
6978
|
#
|
6979
|
+
# @option params [String] :resource_share_type
|
6980
|
+
# Allows you to specify that you want to search the tables shared with
|
6981
|
+
# your account. The allowable values are `FOREIGN` or `ALL`.
|
6982
|
+
#
|
6983
|
+
# * If set to `FOREIGN`, will search the tables shared with your
|
6984
|
+
# account.
|
6985
|
+
#
|
6986
|
+
# * If set to `ALL`, will search the tables shared with your account, as
|
6987
|
+
# well as the tables in yor local account.
|
6988
|
+
#
|
6785
6989
|
# @return [Types::SearchTablesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6786
6990
|
#
|
6787
6991
|
# * {Types::SearchTablesResponse#next_token #next_token} => String
|
@@ -6809,6 +7013,7 @@ module Aws::Glue
|
|
6809
7013
|
# },
|
6810
7014
|
# ],
|
6811
7015
|
# max_results: 1,
|
7016
|
+
# resource_share_type: "FOREIGN", # accepts FOREIGN, ALL
|
6812
7017
|
# })
|
6813
7018
|
#
|
6814
7019
|
# @example Response structure
|
@@ -6866,6 +7071,10 @@ module Aws::Glue
|
|
6866
7071
|
# resp.table_list[0].parameters["KeyString"] #=> String
|
6867
7072
|
# resp.table_list[0].created_by #=> String
|
6868
7073
|
# resp.table_list[0].is_registered_with_lake_formation #=> Boolean
|
7074
|
+
# resp.table_list[0].target_table.catalog_id #=> String
|
7075
|
+
# resp.table_list[0].target_table.database_name #=> String
|
7076
|
+
# resp.table_list[0].target_table.name #=> String
|
7077
|
+
# resp.table_list[0].catalog_id #=> String
|
6869
7078
|
#
|
6870
7079
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/SearchTables AWS API Documentation
|
6871
7080
|
#
|
@@ -7824,7 +8033,7 @@ module Aws::Glue
|
|
7824
8033
|
# connection_input: { # required
|
7825
8034
|
# name: "NameString", # required
|
7826
8035
|
# description: "DescriptionString",
|
7827
|
-
# connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA
|
8036
|
+
# connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK
|
7828
8037
|
# match_criteria: ["NameString"],
|
7829
8038
|
# connection_properties: { # required
|
7830
8039
|
# "HOST" => "ValueString",
|
@@ -7914,6 +8123,7 @@ module Aws::Glue
|
|
7914
8123
|
# {
|
7915
8124
|
# path: "Path",
|
7916
8125
|
# exclusions: ["Path"],
|
8126
|
+
# connection_name: "ConnectionName",
|
7917
8127
|
# },
|
7918
8128
|
# ],
|
7919
8129
|
# jdbc_targets: [
|
@@ -8026,6 +8236,10 @@ module Aws::Glue
|
|
8026
8236
|
# permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
|
8027
8237
|
# },
|
8028
8238
|
# ],
|
8239
|
+
# target_database: {
|
8240
|
+
# catalog_id: "CatalogIdString",
|
8241
|
+
# database_name: "NameString",
|
8242
|
+
# },
|
8029
8243
|
# },
|
8030
8244
|
# })
|
8031
8245
|
#
|
@@ -8305,11 +8519,15 @@ module Aws::Glue
|
|
8305
8519
|
# The name of the table in which the partition to be updated is located.
|
8306
8520
|
#
|
8307
8521
|
# @option params [required, Array<String>] :partition_value_list
|
8308
|
-
#
|
8522
|
+
# List of partition key values that define the partition to update.
|
8309
8523
|
#
|
8310
8524
|
# @option params [required, Types::PartitionInput] :partition_input
|
8311
8525
|
# The new partition object to update the partition to.
|
8312
8526
|
#
|
8527
|
+
# The `Values` property can't be changed. If you want to change the
|
8528
|
+
# partition key values for a partition, delete and recreate the
|
8529
|
+
# partition.
|
8530
|
+
#
|
8313
8531
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
8314
8532
|
#
|
8315
8533
|
# @example Request syntax with placeholder values
|
@@ -8471,6 +8689,11 @@ module Aws::Glue
|
|
8471
8689
|
# parameters: {
|
8472
8690
|
# "KeyString" => "ParametersMapValue",
|
8473
8691
|
# },
|
8692
|
+
# target_table: {
|
8693
|
+
# catalog_id: "CatalogIdString",
|
8694
|
+
# database_name: "NameString",
|
8695
|
+
# name: "NameString",
|
8696
|
+
# },
|
8474
8697
|
# },
|
8475
8698
|
# skip_archive: false,
|
8476
8699
|
# })
|
@@ -8667,7 +8890,7 @@ module Aws::Glue
|
|
8667
8890
|
params: params,
|
8668
8891
|
config: config)
|
8669
8892
|
context[:gem_name] = 'aws-sdk-glue'
|
8670
|
-
context[:gem_version] = '1.
|
8893
|
+
context[:gem_version] = '1.66.0'
|
8671
8894
|
Seahorse::Client::Request.new(handlers, context)
|
8672
8895
|
end
|
8673
8896
|
|