aws-sdk-glue 1.11.0 → 1.12.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 +290 -10
- data/lib/aws-sdk-glue/client_api.rb +192 -0
- data/lib/aws-sdk-glue/types.rb +570 -43
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 58567993d7ecfef936e9f5248d29c5f33f61b3cf
|
4
|
+
data.tar.gz: eb6fb8b255e3ea9e6c86f7dc341cbd7d1392e1a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2380e41d81cf71947f47554fd8696b713bb3c03f1897bc00d254c018257928c42b57c5f581d524c4a9692e4369110ce58798377838e6fe5eb2177524720ce4f7
|
7
|
+
data.tar.gz: 87071cde465745f0bc9b4b904245532e27580c60ddee0d517568c89f3c287d5c16bec1ee6f2a440d9054eee241124f69ec8f857aeeda2b2e223f3f21689bfca7
|
data/lib/aws-sdk-glue.rb
CHANGED
data/lib/aws-sdk-glue/client.rb
CHANGED
@@ -353,6 +353,19 @@ module Aws::Glue
|
|
353
353
|
|
354
354
|
# Deletes multiple tables at once.
|
355
355
|
#
|
356
|
+
# <note markdown="1"> After completing this operation, you will no longer have access to the
|
357
|
+
# table versions and partitions that belong to the deleted table. AWS
|
358
|
+
# Glue deletes these "orphaned" resources asynchronously in a timely
|
359
|
+
# manner, at the discretion of the service.
|
360
|
+
#
|
361
|
+
# To ensure immediate deletion of all related resources, before calling
|
362
|
+
# `BatchDeleteTable`, use `DeleteTableVersion` or
|
363
|
+
# `BatchDeleteTableVersion`, and `DeletePartition` or
|
364
|
+
# `BatchDeletePartition`, to delete any resources that belong to the
|
365
|
+
# table.
|
366
|
+
#
|
367
|
+
# </note>
|
368
|
+
#
|
356
369
|
# @option params [String] :catalog_id
|
357
370
|
# The ID of the Data Catalog where the table resides. If none is
|
358
371
|
# supplied, the AWS account ID is used by default.
|
@@ -694,12 +707,20 @@ module Aws::Glue
|
|
694
707
|
#
|
695
708
|
# @option params [String] :configuration
|
696
709
|
# Crawler configuration information. This versioned JSON string allows
|
697
|
-
# users to specify aspects of a
|
698
|
-
# information, see [Configuring a Crawler][1].
|
710
|
+
# users to specify aspects of a Crawler's behavior.
|
699
711
|
#
|
712
|
+
# You can use this field to force partitions to inherit metadata such as
|
713
|
+
# classification, input format, output format, serde information, and
|
714
|
+
# schema from their parent table, rather than detect this information
|
715
|
+
# separately for each partition. Use the following JSON string to
|
716
|
+
# specify that behavior:
|
700
717
|
#
|
718
|
+
# Example: `'\{ "Version": 1.0, "CrawlerOutput": \{ "Partitions": \{
|
719
|
+
# "AddOrUpdateBehavior": "InheritFromTable" \} \} \}'`
|
701
720
|
#
|
702
|
-
#
|
721
|
+
# @option params [String] :crawler_security_configuration
|
722
|
+
# The name of the SecurityConfiguration structure to be used by this
|
723
|
+
# Crawler.
|
703
724
|
#
|
704
725
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
705
726
|
#
|
@@ -738,6 +759,7 @@ module Aws::Glue
|
|
738
759
|
# delete_behavior: "LOG", # accepts LOG, DELETE_FROM_DATABASE, DEPRECATE_IN_DATABASE
|
739
760
|
# },
|
740
761
|
# configuration: "CrawlerConfiguration",
|
762
|
+
# crawler_security_configuration: "CrawlerSecurityConfiguration",
|
741
763
|
# })
|
742
764
|
#
|
743
765
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateCrawler AWS API Documentation
|
@@ -839,6 +861,10 @@ module Aws::Glue
|
|
839
861
|
# Path to one or more Java Jars in an S3 bucket that should be loaded in
|
840
862
|
# your DevEndpoint.
|
841
863
|
#
|
864
|
+
# @option params [String] :security_configuration
|
865
|
+
# The name of the SecurityConfiguration structure to be used with this
|
866
|
+
# DevEndpoint.
|
867
|
+
#
|
842
868
|
# @return [Types::CreateDevEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
843
869
|
#
|
844
870
|
# * {Types::CreateDevEndpointResponse#endpoint_name #endpoint_name} => String
|
@@ -854,6 +880,7 @@ module Aws::Glue
|
|
854
880
|
# * {Types::CreateDevEndpointResponse#extra_python_libs_s3_path #extra_python_libs_s3_path} => String
|
855
881
|
# * {Types::CreateDevEndpointResponse#extra_jars_s3_path #extra_jars_s3_path} => String
|
856
882
|
# * {Types::CreateDevEndpointResponse#failure_reason #failure_reason} => String
|
883
|
+
# * {Types::CreateDevEndpointResponse#security_configuration #security_configuration} => String
|
857
884
|
# * {Types::CreateDevEndpointResponse#created_timestamp #created_timestamp} => Time
|
858
885
|
#
|
859
886
|
# @example Request syntax with placeholder values
|
@@ -868,6 +895,7 @@ module Aws::Glue
|
|
868
895
|
# number_of_nodes: 1,
|
869
896
|
# extra_python_libs_s3_path: "GenericString",
|
870
897
|
# extra_jars_s3_path: "GenericString",
|
898
|
+
# security_configuration: "NameString",
|
871
899
|
# })
|
872
900
|
#
|
873
901
|
# @example Response structure
|
@@ -886,6 +914,7 @@ module Aws::Glue
|
|
886
914
|
# resp.extra_python_libs_s3_path #=> String
|
887
915
|
# resp.extra_jars_s3_path #=> String
|
888
916
|
# resp.failure_reason #=> String
|
917
|
+
# resp.security_configuration #=> String
|
889
918
|
# resp.created_timestamp #=> Time
|
890
919
|
#
|
891
920
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateDevEndpoint AWS API Documentation
|
@@ -956,11 +985,17 @@ module Aws::Glue
|
|
956
985
|
# [1]: https://aws.amazon.com/glue/pricing/
|
957
986
|
#
|
958
987
|
# @option params [Integer] :timeout
|
959
|
-
# The job timeout in minutes.
|
988
|
+
# The job timeout in minutes. This is the maximum time that a job run
|
989
|
+
# can consume resources before it is terminated and enters `TIMEOUT`
|
990
|
+
# status. The default is 2,880 minutes (48 hours).
|
960
991
|
#
|
961
992
|
# @option params [Types::NotificationProperty] :notification_property
|
962
993
|
# Specifies configuration properties of a job notification.
|
963
994
|
#
|
995
|
+
# @option params [String] :security_configuration
|
996
|
+
# The name of the SecurityConfiguration structure to be used with this
|
997
|
+
# job.
|
998
|
+
#
|
964
999
|
# @return [Types::CreateJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
965
1000
|
#
|
966
1001
|
# * {Types::CreateJobResponse#name #name} => String
|
@@ -991,6 +1026,7 @@ module Aws::Glue
|
|
991
1026
|
# notification_property: {
|
992
1027
|
# notify_delay_after: 1,
|
993
1028
|
# },
|
1029
|
+
# security_configuration: "NameString",
|
994
1030
|
# })
|
995
1031
|
#
|
996
1032
|
# @example Response structure
|
@@ -1146,6 +1182,55 @@ module Aws::Glue
|
|
1146
1182
|
req.send_request(options)
|
1147
1183
|
end
|
1148
1184
|
|
1185
|
+
# Creates a new security configuration.
|
1186
|
+
#
|
1187
|
+
# @option params [required, String] :name
|
1188
|
+
# The name for the new security configuration.
|
1189
|
+
#
|
1190
|
+
# @option params [required, Types::EncryptionConfiguration] :encryption_configuration
|
1191
|
+
# The encryption configuration for the new security configuration.
|
1192
|
+
#
|
1193
|
+
# @return [Types::CreateSecurityConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1194
|
+
#
|
1195
|
+
# * {Types::CreateSecurityConfigurationResponse#name #name} => String
|
1196
|
+
# * {Types::CreateSecurityConfigurationResponse#created_timestamp #created_timestamp} => Time
|
1197
|
+
#
|
1198
|
+
# @example Request syntax with placeholder values
|
1199
|
+
#
|
1200
|
+
# resp = client.create_security_configuration({
|
1201
|
+
# name: "NameString", # required
|
1202
|
+
# encryption_configuration: { # required
|
1203
|
+
# s3_encryption: [
|
1204
|
+
# {
|
1205
|
+
# s3_encryption_mode: "DISABLED", # accepts DISABLED, SSE-KMS, SSE-S3
|
1206
|
+
# kms_key_arn: "KmsKeyArn",
|
1207
|
+
# },
|
1208
|
+
# ],
|
1209
|
+
# cloud_watch_encryption: {
|
1210
|
+
# cloud_watch_encryption_mode: "DISABLED", # accepts DISABLED, SSE-KMS
|
1211
|
+
# kms_key_arn: "KmsKeyArn",
|
1212
|
+
# },
|
1213
|
+
# job_bookmarks_encryption: {
|
1214
|
+
# job_bookmarks_encryption_mode: "DISABLED", # accepts DISABLED, CSE-KMS
|
1215
|
+
# kms_key_arn: "KmsKeyArn",
|
1216
|
+
# },
|
1217
|
+
# },
|
1218
|
+
# })
|
1219
|
+
#
|
1220
|
+
# @example Response structure
|
1221
|
+
#
|
1222
|
+
# resp.name #=> String
|
1223
|
+
# resp.created_timestamp #=> Time
|
1224
|
+
#
|
1225
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateSecurityConfiguration AWS API Documentation
|
1226
|
+
#
|
1227
|
+
# @overload create_security_configuration(params = {})
|
1228
|
+
# @param [Hash] params ({})
|
1229
|
+
def create_security_configuration(params = {}, options = {})
|
1230
|
+
req = build_request(:create_security_configuration, params)
|
1231
|
+
req.send_request(options)
|
1232
|
+
end
|
1233
|
+
|
1149
1234
|
# Creates a new table definition in the Data Catalog.
|
1150
1235
|
#
|
1151
1236
|
# @option params [String] :catalog_id
|
@@ -1302,6 +1387,7 @@ module Aws::Glue
|
|
1302
1387
|
# notification_property: {
|
1303
1388
|
# notify_delay_after: 1,
|
1304
1389
|
# },
|
1390
|
+
# security_configuration: "NameString",
|
1305
1391
|
# },
|
1306
1392
|
# ],
|
1307
1393
|
# description: "DescriptionString",
|
@@ -1438,6 +1524,21 @@ module Aws::Glue
|
|
1438
1524
|
|
1439
1525
|
# Removes a specified Database from a Data Catalog.
|
1440
1526
|
#
|
1527
|
+
# <note markdown="1"> After completing this operation, you will no longer have access to the
|
1528
|
+
# tables (and all table versions and partitions that might belong to the
|
1529
|
+
# tables) and the user-defined functions in the deleted database. AWS
|
1530
|
+
# Glue deletes these "orphaned" resources asynchronously in a timely
|
1531
|
+
# manner, at the discretion of the service.
|
1532
|
+
#
|
1533
|
+
# To ensure immediate deletion of all related resources, before calling
|
1534
|
+
# `DeleteDatabase`, use `DeleteTableVersion` or
|
1535
|
+
# `BatchDeleteTableVersion`, `DeletePartition` or
|
1536
|
+
# `BatchDeletePartition`, `DeleteUserDefinedFunction`, and `DeleteTable`
|
1537
|
+
# or `BatchDeleteTable`, to delete any resources that belong to the
|
1538
|
+
# database.
|
1539
|
+
#
|
1540
|
+
# </note>
|
1541
|
+
#
|
1441
1542
|
# @option params [String] :catalog_id
|
1442
1543
|
# The ID of the Data Catalog in which the database resides. If none is
|
1443
1544
|
# supplied, the AWS account ID is used by default.
|
@@ -1551,8 +1652,42 @@ module Aws::Glue
|
|
1551
1652
|
req.send_request(options)
|
1552
1653
|
end
|
1553
1654
|
|
1655
|
+
# Deletes a specified security configuration.
|
1656
|
+
#
|
1657
|
+
# @option params [required, String] :name
|
1658
|
+
# The name of the security configuration to delete.
|
1659
|
+
#
|
1660
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1661
|
+
#
|
1662
|
+
# @example Request syntax with placeholder values
|
1663
|
+
#
|
1664
|
+
# resp = client.delete_security_configuration({
|
1665
|
+
# name: "NameString", # required
|
1666
|
+
# })
|
1667
|
+
#
|
1668
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteSecurityConfiguration AWS API Documentation
|
1669
|
+
#
|
1670
|
+
# @overload delete_security_configuration(params = {})
|
1671
|
+
# @param [Hash] params ({})
|
1672
|
+
def delete_security_configuration(params = {}, options = {})
|
1673
|
+
req = build_request(:delete_security_configuration, params)
|
1674
|
+
req.send_request(options)
|
1675
|
+
end
|
1676
|
+
|
1554
1677
|
# Removes a table definition from the Data Catalog.
|
1555
1678
|
#
|
1679
|
+
# <note markdown="1"> After completing this operation, you will no longer have access to the
|
1680
|
+
# table versions and partitions that belong to the deleted table. AWS
|
1681
|
+
# Glue deletes these "orphaned" resources asynchronously in a timely
|
1682
|
+
# manner, at the discretion of the service.
|
1683
|
+
#
|
1684
|
+
# To ensure immediate deletion of all related resources, before calling
|
1685
|
+
# `DeleteTable`, use `DeleteTableVersion` or `BatchDeleteTableVersion`,
|
1686
|
+
# and `DeletePartition` or `BatchDeletePartition`, to delete any
|
1687
|
+
# resources that belong to the table.
|
1688
|
+
#
|
1689
|
+
# </note>
|
1690
|
+
#
|
1556
1691
|
# @option params [String] :catalog_id
|
1557
1692
|
# The ID of the Data Catalog where the table resides. If none is
|
1558
1693
|
# supplied, the AWS account ID is used by default.
|
@@ -1966,6 +2101,7 @@ module Aws::Glue
|
|
1966
2101
|
# resp.crawler.last_crawl.start_time #=> Time
|
1967
2102
|
# resp.crawler.version #=> Integer
|
1968
2103
|
# resp.crawler.configuration #=> String
|
2104
|
+
# resp.crawler.crawler_security_configuration #=> String
|
1969
2105
|
#
|
1970
2106
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawler AWS API Documentation
|
1971
2107
|
#
|
@@ -2079,6 +2215,7 @@ module Aws::Glue
|
|
2079
2215
|
# resp.crawlers[0].last_crawl.start_time #=> Time
|
2080
2216
|
# resp.crawlers[0].version #=> Integer
|
2081
2217
|
# resp.crawlers[0].configuration #=> String
|
2218
|
+
# resp.crawlers[0].crawler_security_configuration #=> String
|
2082
2219
|
# resp.next_token #=> String
|
2083
2220
|
#
|
2084
2221
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlers AWS API Documentation
|
@@ -2253,6 +2390,7 @@ module Aws::Glue
|
|
2253
2390
|
# resp.dev_endpoint.public_key #=> String
|
2254
2391
|
# resp.dev_endpoint.public_keys #=> Array
|
2255
2392
|
# resp.dev_endpoint.public_keys[0] #=> String
|
2393
|
+
# resp.dev_endpoint.security_configuration #=> String
|
2256
2394
|
#
|
2257
2395
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDevEndpoint AWS API Documentation
|
2258
2396
|
#
|
@@ -2308,6 +2446,7 @@ module Aws::Glue
|
|
2308
2446
|
# resp.dev_endpoints[0].public_key #=> String
|
2309
2447
|
# resp.dev_endpoints[0].public_keys #=> Array
|
2310
2448
|
# resp.dev_endpoints[0].public_keys[0] #=> String
|
2449
|
+
# resp.dev_endpoints[0].security_configuration #=> String
|
2311
2450
|
# resp.next_token #=> String
|
2312
2451
|
#
|
2313
2452
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDevEndpoints AWS API Documentation
|
@@ -2353,6 +2492,7 @@ module Aws::Glue
|
|
2353
2492
|
# resp.job.allocated_capacity #=> Integer
|
2354
2493
|
# resp.job.timeout #=> Integer
|
2355
2494
|
# resp.job.notification_property.notify_delay_after #=> Integer
|
2495
|
+
# resp.job.security_configuration #=> String
|
2356
2496
|
#
|
2357
2497
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJob AWS API Documentation
|
2358
2498
|
#
|
@@ -2407,6 +2547,8 @@ module Aws::Glue
|
|
2407
2547
|
# resp.job_run.execution_time #=> Integer
|
2408
2548
|
# resp.job_run.timeout #=> Integer
|
2409
2549
|
# resp.job_run.notification_property.notify_delay_after #=> Integer
|
2550
|
+
# resp.job_run.security_configuration #=> String
|
2551
|
+
# resp.job_run.log_group_name #=> String
|
2410
2552
|
#
|
2411
2553
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRun AWS API Documentation
|
2412
2554
|
#
|
@@ -2463,6 +2605,8 @@ module Aws::Glue
|
|
2463
2605
|
# resp.job_runs[0].execution_time #=> Integer
|
2464
2606
|
# resp.job_runs[0].timeout #=> Integer
|
2465
2607
|
# resp.job_runs[0].notification_property.notify_delay_after #=> Integer
|
2608
|
+
# resp.job_runs[0].security_configuration #=> String
|
2609
|
+
# resp.job_runs[0].log_group_name #=> String
|
2466
2610
|
# resp.next_token #=> String
|
2467
2611
|
#
|
2468
2612
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRuns AWS API Documentation
|
@@ -2514,6 +2658,7 @@ module Aws::Glue
|
|
2514
2658
|
# resp.jobs[0].allocated_capacity #=> Integer
|
2515
2659
|
# resp.jobs[0].timeout #=> Integer
|
2516
2660
|
# resp.jobs[0].notification_property.notify_delay_after #=> Integer
|
2661
|
+
# resp.jobs[0].security_configuration #=> String
|
2517
2662
|
# resp.next_token #=> String
|
2518
2663
|
#
|
2519
2664
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobs AWS API Documentation
|
@@ -2853,6 +2998,85 @@ module Aws::Glue
|
|
2853
2998
|
req.send_request(options)
|
2854
2999
|
end
|
2855
3000
|
|
3001
|
+
# Retrieves a specified security configuration.
|
3002
|
+
#
|
3003
|
+
# @option params [required, String] :name
|
3004
|
+
# The name of the security configuration to retrieve.
|
3005
|
+
#
|
3006
|
+
# @return [Types::GetSecurityConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3007
|
+
#
|
3008
|
+
# * {Types::GetSecurityConfigurationResponse#security_configuration #security_configuration} => Types::SecurityConfiguration
|
3009
|
+
#
|
3010
|
+
# @example Request syntax with placeholder values
|
3011
|
+
#
|
3012
|
+
# resp = client.get_security_configuration({
|
3013
|
+
# name: "NameString", # required
|
3014
|
+
# })
|
3015
|
+
#
|
3016
|
+
# @example Response structure
|
3017
|
+
#
|
3018
|
+
# resp.security_configuration.name #=> String
|
3019
|
+
# resp.security_configuration.created_time_stamp #=> Time
|
3020
|
+
# resp.security_configuration.encryption_configuration.s3_encryption #=> Array
|
3021
|
+
# resp.security_configuration.encryption_configuration.s3_encryption[0].s3_encryption_mode #=> String, one of "DISABLED", "SSE-KMS", "SSE-S3"
|
3022
|
+
# resp.security_configuration.encryption_configuration.s3_encryption[0].kms_key_arn #=> String
|
3023
|
+
# resp.security_configuration.encryption_configuration.cloud_watch_encryption.cloud_watch_encryption_mode #=> String, one of "DISABLED", "SSE-KMS"
|
3024
|
+
# resp.security_configuration.encryption_configuration.cloud_watch_encryption.kms_key_arn #=> String
|
3025
|
+
# resp.security_configuration.encryption_configuration.job_bookmarks_encryption.job_bookmarks_encryption_mode #=> String, one of "DISABLED", "CSE-KMS"
|
3026
|
+
# resp.security_configuration.encryption_configuration.job_bookmarks_encryption.kms_key_arn #=> String
|
3027
|
+
#
|
3028
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSecurityConfiguration AWS API Documentation
|
3029
|
+
#
|
3030
|
+
# @overload get_security_configuration(params = {})
|
3031
|
+
# @param [Hash] params ({})
|
3032
|
+
def get_security_configuration(params = {}, options = {})
|
3033
|
+
req = build_request(:get_security_configuration, params)
|
3034
|
+
req.send_request(options)
|
3035
|
+
end
|
3036
|
+
|
3037
|
+
# Retrieves a list of all security configurations.
|
3038
|
+
#
|
3039
|
+
# @option params [Integer] :max_results
|
3040
|
+
# The maximum number of results to return.
|
3041
|
+
#
|
3042
|
+
# @option params [String] :next_token
|
3043
|
+
# A continuation token, if this is a continuation call.
|
3044
|
+
#
|
3045
|
+
# @return [Types::GetSecurityConfigurationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3046
|
+
#
|
3047
|
+
# * {Types::GetSecurityConfigurationsResponse#security_configurations #security_configurations} => Array<Types::SecurityConfiguration>
|
3048
|
+
# * {Types::GetSecurityConfigurationsResponse#next_token #next_token} => String
|
3049
|
+
#
|
3050
|
+
# @example Request syntax with placeholder values
|
3051
|
+
#
|
3052
|
+
# resp = client.get_security_configurations({
|
3053
|
+
# max_results: 1,
|
3054
|
+
# next_token: "GenericString",
|
3055
|
+
# })
|
3056
|
+
#
|
3057
|
+
# @example Response structure
|
3058
|
+
#
|
3059
|
+
# resp.security_configurations #=> Array
|
3060
|
+
# resp.security_configurations[0].name #=> String
|
3061
|
+
# resp.security_configurations[0].created_time_stamp #=> Time
|
3062
|
+
# resp.security_configurations[0].encryption_configuration.s3_encryption #=> Array
|
3063
|
+
# resp.security_configurations[0].encryption_configuration.s3_encryption[0].s3_encryption_mode #=> String, one of "DISABLED", "SSE-KMS", "SSE-S3"
|
3064
|
+
# resp.security_configurations[0].encryption_configuration.s3_encryption[0].kms_key_arn #=> String
|
3065
|
+
# resp.security_configurations[0].encryption_configuration.cloud_watch_encryption.cloud_watch_encryption_mode #=> String, one of "DISABLED", "SSE-KMS"
|
3066
|
+
# resp.security_configurations[0].encryption_configuration.cloud_watch_encryption.kms_key_arn #=> String
|
3067
|
+
# resp.security_configurations[0].encryption_configuration.job_bookmarks_encryption.job_bookmarks_encryption_mode #=> String, one of "DISABLED", "CSE-KMS"
|
3068
|
+
# resp.security_configurations[0].encryption_configuration.job_bookmarks_encryption.kms_key_arn #=> String
|
3069
|
+
# resp.next_token #=> String
|
3070
|
+
#
|
3071
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSecurityConfigurations AWS API Documentation
|
3072
|
+
#
|
3073
|
+
# @overload get_security_configurations(params = {})
|
3074
|
+
# @param [Hash] params ({})
|
3075
|
+
def get_security_configurations(params = {}, options = {})
|
3076
|
+
req = build_request(:get_security_configurations, params)
|
3077
|
+
req.send_request(options)
|
3078
|
+
end
|
3079
|
+
|
2856
3080
|
# Retrieves the `Table` definition in a Data Catalog for a specified
|
2857
3081
|
# table.
|
2858
3082
|
#
|
@@ -3249,6 +3473,7 @@ module Aws::Glue
|
|
3249
3473
|
# resp.trigger.actions[0].arguments["GenericString"] #=> String
|
3250
3474
|
# resp.trigger.actions[0].timeout #=> Integer
|
3251
3475
|
# resp.trigger.actions[0].notification_property.notify_delay_after #=> Integer
|
3476
|
+
# resp.trigger.actions[0].security_configuration #=> String
|
3252
3477
|
# resp.trigger.predicate.logical #=> String, one of "AND", "ANY"
|
3253
3478
|
# resp.trigger.predicate.conditions #=> Array
|
3254
3479
|
# resp.trigger.predicate.conditions[0].logical_operator #=> String, one of "EQUALS"
|
@@ -3305,6 +3530,7 @@ module Aws::Glue
|
|
3305
3530
|
# resp.triggers[0].actions[0].arguments["GenericString"] #=> String
|
3306
3531
|
# resp.triggers[0].actions[0].timeout #=> Integer
|
3307
3532
|
# resp.triggers[0].actions[0].notification_property.notify_delay_after #=> Integer
|
3533
|
+
# resp.triggers[0].actions[0].security_configuration #=> String
|
3308
3534
|
# resp.triggers[0].predicate.logical #=> String, one of "AND", "ANY"
|
3309
3535
|
# resp.triggers[0].predicate.conditions #=> Array
|
3310
3536
|
# resp.triggers[0].predicate.conditions[0].logical_operator #=> String, one of "EQUALS"
|
@@ -3444,6 +3670,41 @@ module Aws::Glue
|
|
3444
3670
|
req.send_request(options)
|
3445
3671
|
end
|
3446
3672
|
|
3673
|
+
# Sets the security configuration for a specified catalog. Once the
|
3674
|
+
# configuration has been set, the specified encryption is applied to
|
3675
|
+
# every catalog write thereafter.
|
3676
|
+
#
|
3677
|
+
# @option params [String] :catalog_id
|
3678
|
+
# The ID of the Data Catalog for which to set the security
|
3679
|
+
# configuration. If none is supplied, the AWS account ID is used by
|
3680
|
+
# default.
|
3681
|
+
#
|
3682
|
+
# @option params [required, Types::DataCatalogEncryptionSettings] :data_catalog_encryption_settings
|
3683
|
+
# The security configuration to set.
|
3684
|
+
#
|
3685
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3686
|
+
#
|
3687
|
+
# @example Request syntax with placeholder values
|
3688
|
+
#
|
3689
|
+
# resp = client.put_data_catalog_encryption_settings({
|
3690
|
+
# catalog_id: "CatalogIdString",
|
3691
|
+
# data_catalog_encryption_settings: { # required
|
3692
|
+
# encryption_at_rest: {
|
3693
|
+
# catalog_encryption_mode: "DISABLED", # required, accepts DISABLED, SSE-KMS
|
3694
|
+
# sse_aws_kms_key_id: "NameString",
|
3695
|
+
# },
|
3696
|
+
# },
|
3697
|
+
# })
|
3698
|
+
#
|
3699
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutDataCatalogEncryptionSettings AWS API Documentation
|
3700
|
+
#
|
3701
|
+
# @overload put_data_catalog_encryption_settings(params = {})
|
3702
|
+
# @param [Hash] params ({})
|
3703
|
+
def put_data_catalog_encryption_settings(params = {}, options = {})
|
3704
|
+
req = build_request(:put_data_catalog_encryption_settings, params)
|
3705
|
+
req.send_request(options)
|
3706
|
+
end
|
3707
|
+
|
3447
3708
|
# Resets a bookmark entry.
|
3448
3709
|
#
|
3449
3710
|
# @option params [required, String] :job_name
|
@@ -3568,12 +3829,18 @@ module Aws::Glue
|
|
3568
3829
|
# [1]: https://aws.amazon.com/glue/pricing/
|
3569
3830
|
#
|
3570
3831
|
# @option params [Integer] :timeout
|
3571
|
-
# The
|
3572
|
-
#
|
3832
|
+
# The JobRun timeout in minutes. This is the maximum time that a job run
|
3833
|
+
# can consume resources before it is terminated and enters `TIMEOUT`
|
3834
|
+
# status. The default is 2,880 minutes (48 hours). This overrides the
|
3835
|
+
# timeout value set in the parent job.
|
3573
3836
|
#
|
3574
3837
|
# @option params [Types::NotificationProperty] :notification_property
|
3575
3838
|
# Specifies configuration properties of a job run notification.
|
3576
3839
|
#
|
3840
|
+
# @option params [String] :security_configuration
|
3841
|
+
# The name of the SecurityConfiguration structure to be used with this
|
3842
|
+
# job run.
|
3843
|
+
#
|
3577
3844
|
# @return [Types::StartJobRunResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3578
3845
|
#
|
3579
3846
|
# * {Types::StartJobRunResponse#job_run_id #job_run_id} => String
|
@@ -3591,6 +3858,7 @@ module Aws::Glue
|
|
3591
3858
|
# notification_property: {
|
3592
3859
|
# notify_delay_after: 1,
|
3593
3860
|
# },
|
3861
|
+
# security_configuration: "NameString",
|
3594
3862
|
# })
|
3595
3863
|
#
|
3596
3864
|
# @example Response structure
|
@@ -3842,12 +4110,20 @@ module Aws::Glue
|
|
3842
4110
|
#
|
3843
4111
|
# @option params [String] :configuration
|
3844
4112
|
# Crawler configuration information. This versioned JSON string allows
|
3845
|
-
# users to specify aspects of a
|
3846
|
-
# information, see [Configuring a Crawler][1].
|
4113
|
+
# users to specify aspects of a Crawler's behavior.
|
3847
4114
|
#
|
4115
|
+
# You can use this field to force partitions to inherit metadata such as
|
4116
|
+
# classification, input format, output format, serde information, and
|
4117
|
+
# schema from their parent table, rather than detect this information
|
4118
|
+
# separately for each partition. Use the following JSON string to
|
4119
|
+
# specify that behavior:
|
3848
4120
|
#
|
4121
|
+
# Example: `'\{ "Version": 1.0, "CrawlerOutput": \{ "Partitions": \{
|
4122
|
+
# "AddOrUpdateBehavior": "InheritFromTable" \} \} \}'`
|
3849
4123
|
#
|
3850
|
-
#
|
4124
|
+
# @option params [String] :crawler_security_configuration
|
4125
|
+
# The name of the SecurityConfiguration structure to be used by this
|
4126
|
+
# Crawler.
|
3851
4127
|
#
|
3852
4128
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3853
4129
|
#
|
@@ -3886,6 +4162,7 @@ module Aws::Glue
|
|
3886
4162
|
# delete_behavior: "LOG", # accepts LOG, DELETE_FROM_DATABASE, DEPRECATE_IN_DATABASE
|
3887
4163
|
# },
|
3888
4164
|
# configuration: "CrawlerConfiguration",
|
4165
|
+
# crawler_security_configuration: "CrawlerSecurityConfiguration",
|
3889
4166
|
# })
|
3890
4167
|
#
|
3891
4168
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateCrawler AWS API Documentation
|
@@ -4055,6 +4332,7 @@ module Aws::Glue
|
|
4055
4332
|
# notification_property: {
|
4056
4333
|
# notify_delay_after: 1,
|
4057
4334
|
# },
|
4335
|
+
# security_configuration: "NameString",
|
4058
4336
|
# },
|
4059
4337
|
# })
|
4060
4338
|
#
|
@@ -4285,6 +4563,7 @@ module Aws::Glue
|
|
4285
4563
|
# notification_property: {
|
4286
4564
|
# notify_delay_after: 1,
|
4287
4565
|
# },
|
4566
|
+
# security_configuration: "NameString",
|
4288
4567
|
# },
|
4289
4568
|
# ],
|
4290
4569
|
# predicate: {
|
@@ -4314,6 +4593,7 @@ module Aws::Glue
|
|
4314
4593
|
# resp.trigger.actions[0].arguments["GenericString"] #=> String
|
4315
4594
|
# resp.trigger.actions[0].timeout #=> Integer
|
4316
4595
|
# resp.trigger.actions[0].notification_property.notify_delay_after #=> Integer
|
4596
|
+
# resp.trigger.actions[0].security_configuration #=> String
|
4317
4597
|
# resp.trigger.predicate.logical #=> String, one of "AND", "ANY"
|
4318
4598
|
# resp.trigger.predicate.conditions #=> Array
|
4319
4599
|
# resp.trigger.predicate.conditions[0].logical_operator #=> String, one of "EQUALS"
|
@@ -4390,7 +4670,7 @@ module Aws::Glue
|
|
4390
4670
|
params: params,
|
4391
4671
|
config: config)
|
4392
4672
|
context[:gem_name] = 'aws-sdk-glue'
|
4393
|
-
context[:gem_version] = '1.
|
4673
|
+
context[:gem_version] = '1.12.0'
|
4394
4674
|
Seahorse::Client::Request.new(handlers, context)
|
4395
4675
|
end
|
4396
4676
|
|