aws-sdk-glue 1.119.0 → 1.121.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-glue/client.rb +204 -3
- data/lib/aws-sdk-glue/client_api.rb +80 -0
- data/lib/aws-sdk-glue/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-glue/endpoint_provider.rb +111 -0
- data/lib/aws-sdk-glue/endpoints.rb +2619 -0
- data/lib/aws-sdk-glue/plugins/endpoints.rb +440 -0
- data/lib/aws-sdk-glue/types.rb +281 -3
- data/lib/aws-sdk-glue.rb +5 -1
- metadata +8 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c93ce0b7917d2bcee4ddf2ab91a94d52cb8c5d960c3c83c7c9d78cd238952eba
|
4
|
+
data.tar.gz: d7a0ab3d4edef1183cbe34690cfd0c5bb5b1849fe68cc134b976ccc49d5d6893
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 630c3de4821ef1be108426c8d27254945bc75a204661abe97163271f8f02038077b62bbe35956e500e34ef9f6fbeaa4fbc283941459671895524b3a496393687
|
7
|
+
data.tar.gz: a2fdf485dae077bf6d899d78910de7f828c99f3f2f59ebe1668e0214de2036f3f1b8bf4f6436d6b4e29bd70487d5a222f8a38b688bc64978a1b6407370d29276
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.121.0 (2022-10-25)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.120.0 (2022-10-05)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This SDK release adds support to sync glue jobs with source control provider. Additionally, a new parameter called SourceControlDetails will be added to Job model.
|
13
|
+
|
4
14
|
1.119.0 (2022-09-22)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.121.0
|
data/lib/aws-sdk-glue/client.rb
CHANGED
@@ -30,7 +30,7 @@ require 'aws-sdk-core/plugins/http_checksum.rb'
|
|
30
30
|
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
31
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
32
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
33
|
-
require 'aws-sdk-core/plugins/
|
33
|
+
require 'aws-sdk-core/plugins/sign.rb'
|
34
34
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
35
35
|
|
36
36
|
Aws::Plugins::GlobalConfiguration.add_identifier(:glue)
|
@@ -79,8 +79,9 @@ module Aws::Glue
|
|
79
79
|
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
80
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
81
81
|
add_plugin(Aws::Plugins::RecursionDetection)
|
82
|
-
add_plugin(Aws::Plugins::
|
82
|
+
add_plugin(Aws::Plugins::Sign)
|
83
83
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
84
|
+
add_plugin(Aws::Glue::Plugins::Endpoints)
|
84
85
|
|
85
86
|
# @overload initialize(options)
|
86
87
|
# @param [Hash] options
|
@@ -297,6 +298,19 @@ module Aws::Glue
|
|
297
298
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
298
299
|
# requests are made, and retries are disabled.
|
299
300
|
#
|
301
|
+
# @option options [Aws::TokenProvider] :token_provider
|
302
|
+
# A Bearer Token Provider. This can be an instance of any one of the
|
303
|
+
# following classes:
|
304
|
+
#
|
305
|
+
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
306
|
+
# tokens.
|
307
|
+
#
|
308
|
+
# * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
|
309
|
+
# access token generated from `aws login`.
|
310
|
+
#
|
311
|
+
# When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
|
312
|
+
# will be used to search for tokens configured for your profile in shared configuration files.
|
313
|
+
#
|
300
314
|
# @option options [Boolean] :use_dualstack_endpoint
|
301
315
|
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
302
316
|
# will be used if available.
|
@@ -310,6 +324,9 @@ module Aws::Glue
|
|
310
324
|
# When `true`, request parameters are validated before
|
311
325
|
# sending the request.
|
312
326
|
#
|
327
|
+
# @option options [Aws::Glue::EndpointProvider] :endpoint_provider
|
328
|
+
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::Glue::EndpointParameters`
|
329
|
+
#
|
313
330
|
# @option options [URI::HTTP,String] :http_proxy A proxy to send
|
314
331
|
# requests through. Formatted like 'http://proxy.com:123'.
|
315
332
|
#
|
@@ -1447,6 +1464,14 @@ module Aws::Glue
|
|
1447
1464
|
# resp.jobs[0].code_gen_configuration_nodes["NodeId"].postgre_sql_catalog_target.database #=> String
|
1448
1465
|
# resp.jobs[0].code_gen_configuration_nodes["NodeId"].postgre_sql_catalog_target.table #=> String
|
1449
1466
|
# resp.jobs[0].execution_class #=> String, one of "FLEX", "STANDARD"
|
1467
|
+
# resp.jobs[0].source_control_details.provider #=> String, one of "GITHUB", "AWS_CODE_COMMIT"
|
1468
|
+
# resp.jobs[0].source_control_details.repository #=> String
|
1469
|
+
# resp.jobs[0].source_control_details.owner #=> String
|
1470
|
+
# resp.jobs[0].source_control_details.branch #=> String
|
1471
|
+
# resp.jobs[0].source_control_details.folder #=> String
|
1472
|
+
# resp.jobs[0].source_control_details.last_commit_id #=> String
|
1473
|
+
# resp.jobs[0].source_control_details.auth_strategy #=> String, one of "PERSONAL_ACCESS_TOKEN", "AWS_SECRETS_MANAGER"
|
1474
|
+
# resp.jobs[0].source_control_details.auth_token #=> String
|
1450
1475
|
# resp.jobs_not_found #=> Array
|
1451
1476
|
# resp.jobs_not_found[0] #=> String
|
1452
1477
|
#
|
@@ -2862,6 +2887,10 @@ module Aws::Glue
|
|
2862
2887
|
# will be allowed to set `ExecutionClass` to `FLEX`. The flexible
|
2863
2888
|
# execution class is available for Spark jobs.
|
2864
2889
|
#
|
2890
|
+
# @option params [Types::SourceControlDetails] :source_control_details
|
2891
|
+
# The details for a source control configuration for a job, allowing
|
2892
|
+
# synchronization of job artifacts to or from a remote repository.
|
2893
|
+
#
|
2865
2894
|
# @return [Types::CreateJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2866
2895
|
#
|
2867
2896
|
# * {Types::CreateJobResponse#name #name} => String
|
@@ -3573,6 +3602,16 @@ module Aws::Glue
|
|
3573
3602
|
# },
|
3574
3603
|
# },
|
3575
3604
|
# execution_class: "FLEX", # accepts FLEX, STANDARD
|
3605
|
+
# source_control_details: {
|
3606
|
+
# provider: "GITHUB", # accepts GITHUB, AWS_CODE_COMMIT
|
3607
|
+
# repository: "Generic512CharString",
|
3608
|
+
# owner: "Generic512CharString",
|
3609
|
+
# branch: "Generic512CharString",
|
3610
|
+
# folder: "Generic512CharString",
|
3611
|
+
# last_commit_id: "Generic512CharString",
|
3612
|
+
# auth_strategy: "PERSONAL_ACCESS_TOKEN", # accepts PERSONAL_ACCESS_TOKEN, AWS_SECRETS_MANAGER
|
3613
|
+
# auth_token: "Generic512CharString",
|
3614
|
+
# },
|
3576
3615
|
# })
|
3577
3616
|
#
|
3578
3617
|
# @example Response structure
|
@@ -7215,6 +7254,14 @@ module Aws::Glue
|
|
7215
7254
|
# resp.job.code_gen_configuration_nodes["NodeId"].postgre_sql_catalog_target.database #=> String
|
7216
7255
|
# resp.job.code_gen_configuration_nodes["NodeId"].postgre_sql_catalog_target.table #=> String
|
7217
7256
|
# resp.job.execution_class #=> String, one of "FLEX", "STANDARD"
|
7257
|
+
# resp.job.source_control_details.provider #=> String, one of "GITHUB", "AWS_CODE_COMMIT"
|
7258
|
+
# resp.job.source_control_details.repository #=> String
|
7259
|
+
# resp.job.source_control_details.owner #=> String
|
7260
|
+
# resp.job.source_control_details.branch #=> String
|
7261
|
+
# resp.job.source_control_details.folder #=> String
|
7262
|
+
# resp.job.source_control_details.last_commit_id #=> String
|
7263
|
+
# resp.job.source_control_details.auth_strategy #=> String, one of "PERSONAL_ACCESS_TOKEN", "AWS_SECRETS_MANAGER"
|
7264
|
+
# resp.job.source_control_details.auth_token #=> String
|
7218
7265
|
#
|
7219
7266
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJob AWS API Documentation
|
7220
7267
|
#
|
@@ -7923,6 +7970,14 @@ module Aws::Glue
|
|
7923
7970
|
# resp.jobs[0].code_gen_configuration_nodes["NodeId"].postgre_sql_catalog_target.database #=> String
|
7924
7971
|
# resp.jobs[0].code_gen_configuration_nodes["NodeId"].postgre_sql_catalog_target.table #=> String
|
7925
7972
|
# resp.jobs[0].execution_class #=> String, one of "FLEX", "STANDARD"
|
7973
|
+
# resp.jobs[0].source_control_details.provider #=> String, one of "GITHUB", "AWS_CODE_COMMIT"
|
7974
|
+
# resp.jobs[0].source_control_details.repository #=> String
|
7975
|
+
# resp.jobs[0].source_control_details.owner #=> String
|
7976
|
+
# resp.jobs[0].source_control_details.branch #=> String
|
7977
|
+
# resp.jobs[0].source_control_details.folder #=> String
|
7978
|
+
# resp.jobs[0].source_control_details.last_commit_id #=> String
|
7979
|
+
# resp.jobs[0].source_control_details.auth_strategy #=> String, one of "PERSONAL_ACCESS_TOKEN", "AWS_SECRETS_MANAGER"
|
7980
|
+
# resp.jobs[0].source_control_details.auth_token #=> String
|
7926
7981
|
# resp.next_token #=> String
|
7927
7982
|
#
|
7928
7983
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobs AWS API Documentation
|
@@ -14474,6 +14529,16 @@ module Aws::Glue
|
|
14474
14529
|
# },
|
14475
14530
|
# },
|
14476
14531
|
# execution_class: "FLEX", # accepts FLEX, STANDARD
|
14532
|
+
# source_control_details: {
|
14533
|
+
# provider: "GITHUB", # accepts GITHUB, AWS_CODE_COMMIT
|
14534
|
+
# repository: "Generic512CharString",
|
14535
|
+
# owner: "Generic512CharString",
|
14536
|
+
# branch: "Generic512CharString",
|
14537
|
+
# folder: "Generic512CharString",
|
14538
|
+
# last_commit_id: "Generic512CharString",
|
14539
|
+
# auth_strategy: "PERSONAL_ACCESS_TOKEN", # accepts PERSONAL_ACCESS_TOKEN, AWS_SECRETS_MANAGER
|
14540
|
+
# auth_token: "Generic512CharString",
|
14541
|
+
# },
|
14477
14542
|
# },
|
14478
14543
|
# })
|
14479
14544
|
#
|
@@ -14490,6 +14555,74 @@ module Aws::Glue
|
|
14490
14555
|
req.send_request(options)
|
14491
14556
|
end
|
14492
14557
|
|
14558
|
+
# Synchronizes a job from the source control repository. This operation
|
14559
|
+
# takes the job artifacts that are located in the remote repository and
|
14560
|
+
# updates the Glue internal stores with these artifacts.
|
14561
|
+
#
|
14562
|
+
# This API supports optional parameters which take in the repository
|
14563
|
+
# information.
|
14564
|
+
#
|
14565
|
+
# @option params [String] :job_name
|
14566
|
+
# The name of the Glue job to be synchronized to or from the remote
|
14567
|
+
# repository.
|
14568
|
+
#
|
14569
|
+
# @option params [String] :provider
|
14570
|
+
# The provider for the remote repository.
|
14571
|
+
#
|
14572
|
+
# @option params [String] :repository_name
|
14573
|
+
# The name of the remote repository that contains the job artifacts.
|
14574
|
+
#
|
14575
|
+
# @option params [String] :repository_owner
|
14576
|
+
# The owner of the remote repository that contains the job artifacts.
|
14577
|
+
#
|
14578
|
+
# @option params [String] :branch_name
|
14579
|
+
# An optional branch in the remote repository.
|
14580
|
+
#
|
14581
|
+
# @option params [String] :folder
|
14582
|
+
# An optional folder in the remote repository.
|
14583
|
+
#
|
14584
|
+
# @option params [String] :commit_id
|
14585
|
+
# A commit ID for a commit in the remote repository.
|
14586
|
+
#
|
14587
|
+
# @option params [String] :auth_strategy
|
14588
|
+
# The type of authentication, which can be an authentication token
|
14589
|
+
# stored in Amazon Web Services Secrets Manager, or a personal access
|
14590
|
+
# token.
|
14591
|
+
#
|
14592
|
+
# @option params [String] :auth_token
|
14593
|
+
# The value of the authorization token.
|
14594
|
+
#
|
14595
|
+
# @return [Types::UpdateJobFromSourceControlResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
14596
|
+
#
|
14597
|
+
# * {Types::UpdateJobFromSourceControlResponse#job_name #job_name} => String
|
14598
|
+
#
|
14599
|
+
# @example Request syntax with placeholder values
|
14600
|
+
#
|
14601
|
+
# resp = client.update_job_from_source_control({
|
14602
|
+
# job_name: "NameString",
|
14603
|
+
# provider: "GITHUB", # accepts GITHUB, AWS_CODE_COMMIT
|
14604
|
+
# repository_name: "NameString",
|
14605
|
+
# repository_owner: "NameString",
|
14606
|
+
# branch_name: "NameString",
|
14607
|
+
# folder: "NameString",
|
14608
|
+
# commit_id: "CommitIdString",
|
14609
|
+
# auth_strategy: "PERSONAL_ACCESS_TOKEN", # accepts PERSONAL_ACCESS_TOKEN, AWS_SECRETS_MANAGER
|
14610
|
+
# auth_token: "AuthTokenString",
|
14611
|
+
# })
|
14612
|
+
#
|
14613
|
+
# @example Response structure
|
14614
|
+
#
|
14615
|
+
# resp.job_name #=> String
|
14616
|
+
#
|
14617
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateJobFromSourceControl AWS API Documentation
|
14618
|
+
#
|
14619
|
+
# @overload update_job_from_source_control(params = {})
|
14620
|
+
# @param [Hash] params ({})
|
14621
|
+
def update_job_from_source_control(params = {}, options = {})
|
14622
|
+
req = build_request(:update_job_from_source_control, params)
|
14623
|
+
req.send_request(options)
|
14624
|
+
end
|
14625
|
+
|
14493
14626
|
# Updates an existing machine learning transform. Call this operation to
|
14494
14627
|
# tune the algorithm parameters to achieve better results.
|
14495
14628
|
#
|
@@ -14825,6 +14958,74 @@ module Aws::Glue
|
|
14825
14958
|
req.send_request(options)
|
14826
14959
|
end
|
14827
14960
|
|
14961
|
+
# Synchronizes a job to the source control repository. This operation
|
14962
|
+
# takes the job artifacts from the Glue internal stores and makes a
|
14963
|
+
# commit to the remote repository that is configured on the job.
|
14964
|
+
#
|
14965
|
+
# This API supports optional parameters which take in the repository
|
14966
|
+
# information.
|
14967
|
+
#
|
14968
|
+
# @option params [String] :job_name
|
14969
|
+
# The name of the Glue job to be synchronized to or from the remote
|
14970
|
+
# repository.
|
14971
|
+
#
|
14972
|
+
# @option params [String] :provider
|
14973
|
+
# The provider for the remote repository.
|
14974
|
+
#
|
14975
|
+
# @option params [String] :repository_name
|
14976
|
+
# The name of the remote repository that contains the job artifacts.
|
14977
|
+
#
|
14978
|
+
# @option params [String] :repository_owner
|
14979
|
+
# The owner of the remote repository that contains the job artifacts.
|
14980
|
+
#
|
14981
|
+
# @option params [String] :branch_name
|
14982
|
+
# An optional branch in the remote repository.
|
14983
|
+
#
|
14984
|
+
# @option params [String] :folder
|
14985
|
+
# An optional folder in the remote repository.
|
14986
|
+
#
|
14987
|
+
# @option params [String] :commit_id
|
14988
|
+
# A commit ID for a commit in the remote repository.
|
14989
|
+
#
|
14990
|
+
# @option params [String] :auth_strategy
|
14991
|
+
# The type of authentication, which can be an authentication token
|
14992
|
+
# stored in Amazon Web Services Secrets Manager, or a personal access
|
14993
|
+
# token.
|
14994
|
+
#
|
14995
|
+
# @option params [String] :auth_token
|
14996
|
+
# The value of the authorization token.
|
14997
|
+
#
|
14998
|
+
# @return [Types::UpdateSourceControlFromJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
14999
|
+
#
|
15000
|
+
# * {Types::UpdateSourceControlFromJobResponse#job_name #job_name} => String
|
15001
|
+
#
|
15002
|
+
# @example Request syntax with placeholder values
|
15003
|
+
#
|
15004
|
+
# resp = client.update_source_control_from_job({
|
15005
|
+
# job_name: "NameString",
|
15006
|
+
# provider: "GITHUB", # accepts GITHUB, AWS_CODE_COMMIT
|
15007
|
+
# repository_name: "NameString",
|
15008
|
+
# repository_owner: "NameString",
|
15009
|
+
# branch_name: "NameString",
|
15010
|
+
# folder: "NameString",
|
15011
|
+
# commit_id: "CommitIdString",
|
15012
|
+
# auth_strategy: "PERSONAL_ACCESS_TOKEN", # accepts PERSONAL_ACCESS_TOKEN, AWS_SECRETS_MANAGER
|
15013
|
+
# auth_token: "AuthTokenString",
|
15014
|
+
# })
|
15015
|
+
#
|
15016
|
+
# @example Response structure
|
15017
|
+
#
|
15018
|
+
# resp.job_name #=> String
|
15019
|
+
#
|
15020
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateSourceControlFromJob AWS API Documentation
|
15021
|
+
#
|
15022
|
+
# @overload update_source_control_from_job(params = {})
|
15023
|
+
# @param [Hash] params ({})
|
15024
|
+
def update_source_control_from_job(params = {}, options = {})
|
15025
|
+
req = build_request(:update_source_control_from_job, params)
|
15026
|
+
req.send_request(options)
|
15027
|
+
end
|
15028
|
+
|
14828
15029
|
# Updates a metadata table in the Data Catalog.
|
14829
15030
|
#
|
14830
15031
|
# @option params [String] :catalog_id
|
@@ -15150,7 +15351,7 @@ module Aws::Glue
|
|
15150
15351
|
params: params,
|
15151
15352
|
config: config)
|
15152
15353
|
context[:gem_name] = 'aws-sdk-glue'
|
15153
|
-
context[:gem_version] = '1.
|
15354
|
+
context[:gem_version] = '1.121.0'
|
15154
15355
|
Seahorse::Client::Request.new(handlers, context)
|
15155
15356
|
end
|
15156
15357
|
|
@@ -30,6 +30,7 @@ module Aws::Glue
|
|
30
30
|
AuditColumnNamesList = Shapes::ListShape.new(name: 'AuditColumnNamesList')
|
31
31
|
AuditContext = Shapes::StructureShape.new(name: 'AuditContext')
|
32
32
|
AuditContextString = Shapes::StringShape.new(name: 'AuditContextString')
|
33
|
+
AuthTokenString = Shapes::StringShape.new(name: 'AuthTokenString')
|
33
34
|
BackfillError = Shapes::StructureShape.new(name: 'BackfillError')
|
34
35
|
BackfillErrorCode = Shapes::StringShape.new(name: 'BackfillErrorCode')
|
35
36
|
BackfillErroredPartitionsList = Shapes::ListShape.new(name: 'BackfillErroredPartitionsList')
|
@@ -158,6 +159,7 @@ module Aws::Glue
|
|
158
159
|
ColumnValueStringList = Shapes::ListShape.new(name: 'ColumnValueStringList')
|
159
160
|
ColumnValuesString = Shapes::StringShape.new(name: 'ColumnValuesString')
|
160
161
|
CommentString = Shapes::StringShape.new(name: 'CommentString')
|
162
|
+
CommitIdString = Shapes::StringShape.new(name: 'CommitIdString')
|
161
163
|
Comparator = Shapes::StringShape.new(name: 'Comparator')
|
162
164
|
Compatibility = Shapes::StringShape.new(name: 'Compatibility')
|
163
165
|
CompressionType = Shapes::StringShape.new(name: 'CompressionType')
|
@@ -855,6 +857,9 @@ module Aws::Glue
|
|
855
857
|
SortCriteria = Shapes::ListShape.new(name: 'SortCriteria')
|
856
858
|
SortCriterion = Shapes::StructureShape.new(name: 'SortCriterion')
|
857
859
|
SortDirectionType = Shapes::StringShape.new(name: 'SortDirectionType')
|
860
|
+
SourceControlAuthStrategy = Shapes::StringShape.new(name: 'SourceControlAuthStrategy')
|
861
|
+
SourceControlDetails = Shapes::StructureShape.new(name: 'SourceControlDetails')
|
862
|
+
SourceControlProvider = Shapes::StringShape.new(name: 'SourceControlProvider')
|
858
863
|
SparkConnectorSource = Shapes::StructureShape.new(name: 'SparkConnectorSource')
|
859
864
|
SparkConnectorTarget = Shapes::StructureShape.new(name: 'SparkConnectorTarget')
|
860
865
|
SparkSQL = Shapes::StructureShape.new(name: 'SparkSQL')
|
@@ -987,6 +992,8 @@ module Aws::Glue
|
|
987
992
|
UpdateDevEndpointRequest = Shapes::StructureShape.new(name: 'UpdateDevEndpointRequest')
|
988
993
|
UpdateDevEndpointResponse = Shapes::StructureShape.new(name: 'UpdateDevEndpointResponse')
|
989
994
|
UpdateGrokClassifierRequest = Shapes::StructureShape.new(name: 'UpdateGrokClassifierRequest')
|
995
|
+
UpdateJobFromSourceControlRequest = Shapes::StructureShape.new(name: 'UpdateJobFromSourceControlRequest')
|
996
|
+
UpdateJobFromSourceControlResponse = Shapes::StructureShape.new(name: 'UpdateJobFromSourceControlResponse')
|
990
997
|
UpdateJobRequest = Shapes::StructureShape.new(name: 'UpdateJobRequest')
|
991
998
|
UpdateJobResponse = Shapes::StructureShape.new(name: 'UpdateJobResponse')
|
992
999
|
UpdateJsonClassifierRequest = Shapes::StructureShape.new(name: 'UpdateJsonClassifierRequest')
|
@@ -998,6 +1005,8 @@ module Aws::Glue
|
|
998
1005
|
UpdateRegistryResponse = Shapes::StructureShape.new(name: 'UpdateRegistryResponse')
|
999
1006
|
UpdateSchemaInput = Shapes::StructureShape.new(name: 'UpdateSchemaInput')
|
1000
1007
|
UpdateSchemaResponse = Shapes::StructureShape.new(name: 'UpdateSchemaResponse')
|
1008
|
+
UpdateSourceControlFromJobRequest = Shapes::StructureShape.new(name: 'UpdateSourceControlFromJobRequest')
|
1009
|
+
UpdateSourceControlFromJobResponse = Shapes::StructureShape.new(name: 'UpdateSourceControlFromJobResponse')
|
1001
1010
|
UpdateTableRequest = Shapes::StructureShape.new(name: 'UpdateTableRequest')
|
1002
1011
|
UpdateTableResponse = Shapes::StructureShape.new(name: 'UpdateTableResponse')
|
1003
1012
|
UpdateTriggerRequest = Shapes::StructureShape.new(name: 'UpdateTriggerRequest')
|
@@ -1802,6 +1811,7 @@ module Aws::Glue
|
|
1802
1811
|
CreateJobRequest.add_member(:worker_type, Shapes::ShapeRef.new(shape: WorkerType, location_name: "WorkerType"))
|
1803
1812
|
CreateJobRequest.add_member(:code_gen_configuration_nodes, Shapes::ShapeRef.new(shape: CodeGenConfigurationNodes, location_name: "CodeGenConfigurationNodes"))
|
1804
1813
|
CreateJobRequest.add_member(:execution_class, Shapes::ShapeRef.new(shape: ExecutionClass, location_name: "ExecutionClass"))
|
1814
|
+
CreateJobRequest.add_member(:source_control_details, Shapes::ShapeRef.new(shape: SourceControlDetails, location_name: "SourceControlDetails"))
|
1805
1815
|
CreateJobRequest.struct_class = Types::CreateJobRequest
|
1806
1816
|
|
1807
1817
|
CreateJobResponse.add_member(:name, Shapes::ShapeRef.new(shape: NameString, location_name: "Name"))
|
@@ -3137,6 +3147,7 @@ module Aws::Glue
|
|
3137
3147
|
Job.add_member(:glue_version, Shapes::ShapeRef.new(shape: GlueVersionString, location_name: "GlueVersion"))
|
3138
3148
|
Job.add_member(:code_gen_configuration_nodes, Shapes::ShapeRef.new(shape: CodeGenConfigurationNodes, location_name: "CodeGenConfigurationNodes"))
|
3139
3149
|
Job.add_member(:execution_class, Shapes::ShapeRef.new(shape: ExecutionClass, location_name: "ExecutionClass"))
|
3150
|
+
Job.add_member(:source_control_details, Shapes::ShapeRef.new(shape: SourceControlDetails, location_name: "SourceControlDetails"))
|
3140
3151
|
Job.struct_class = Types::Job
|
3141
3152
|
|
3142
3153
|
JobBookmarkEntry.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
@@ -3211,6 +3222,7 @@ module Aws::Glue
|
|
3211
3222
|
JobUpdate.add_member(:glue_version, Shapes::ShapeRef.new(shape: GlueVersionString, location_name: "GlueVersion"))
|
3212
3223
|
JobUpdate.add_member(:code_gen_configuration_nodes, Shapes::ShapeRef.new(shape: CodeGenConfigurationNodes, location_name: "CodeGenConfigurationNodes"))
|
3213
3224
|
JobUpdate.add_member(:execution_class, Shapes::ShapeRef.new(shape: ExecutionClass, location_name: "ExecutionClass"))
|
3225
|
+
JobUpdate.add_member(:source_control_details, Shapes::ShapeRef.new(shape: SourceControlDetails, location_name: "SourceControlDetails"))
|
3214
3226
|
JobUpdate.struct_class = Types::JobUpdate
|
3215
3227
|
|
3216
3228
|
Join.add_member(:name, Shapes::ShapeRef.new(shape: NodeName, required: true, location_name: "Name"))
|
@@ -4127,6 +4139,16 @@ module Aws::Glue
|
|
4127
4139
|
SortCriterion.add_member(:sort, Shapes::ShapeRef.new(shape: Sort, location_name: "Sort"))
|
4128
4140
|
SortCriterion.struct_class = Types::SortCriterion
|
4129
4141
|
|
4142
|
+
SourceControlDetails.add_member(:provider, Shapes::ShapeRef.new(shape: SourceControlProvider, location_name: "Provider"))
|
4143
|
+
SourceControlDetails.add_member(:repository, Shapes::ShapeRef.new(shape: Generic512CharString, location_name: "Repository"))
|
4144
|
+
SourceControlDetails.add_member(:owner, Shapes::ShapeRef.new(shape: Generic512CharString, location_name: "Owner"))
|
4145
|
+
SourceControlDetails.add_member(:branch, Shapes::ShapeRef.new(shape: Generic512CharString, location_name: "Branch"))
|
4146
|
+
SourceControlDetails.add_member(:folder, Shapes::ShapeRef.new(shape: Generic512CharString, location_name: "Folder"))
|
4147
|
+
SourceControlDetails.add_member(:last_commit_id, Shapes::ShapeRef.new(shape: Generic512CharString, location_name: "LastCommitId"))
|
4148
|
+
SourceControlDetails.add_member(:auth_strategy, Shapes::ShapeRef.new(shape: SourceControlAuthStrategy, location_name: "AuthStrategy"))
|
4149
|
+
SourceControlDetails.add_member(:auth_token, Shapes::ShapeRef.new(shape: Generic512CharString, location_name: "AuthToken"))
|
4150
|
+
SourceControlDetails.struct_class = Types::SourceControlDetails
|
4151
|
+
|
4130
4152
|
SparkConnectorSource.add_member(:name, Shapes::ShapeRef.new(shape: NodeName, required: true, location_name: "Name"))
|
4131
4153
|
SparkConnectorSource.add_member(:connection_name, Shapes::ShapeRef.new(shape: EnclosedInStringProperty, required: true, location_name: "ConnectionName"))
|
4132
4154
|
SparkConnectorSource.add_member(:connector_name, Shapes::ShapeRef.new(shape: EnclosedInStringProperty, required: true, location_name: "ConnectorName"))
|
@@ -4608,6 +4630,20 @@ module Aws::Glue
|
|
4608
4630
|
UpdateGrokClassifierRequest.add_member(:custom_patterns, Shapes::ShapeRef.new(shape: CustomPatterns, location_name: "CustomPatterns"))
|
4609
4631
|
UpdateGrokClassifierRequest.struct_class = Types::UpdateGrokClassifierRequest
|
4610
4632
|
|
4633
|
+
UpdateJobFromSourceControlRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: NameString, location_name: "JobName"))
|
4634
|
+
UpdateJobFromSourceControlRequest.add_member(:provider, Shapes::ShapeRef.new(shape: SourceControlProvider, location_name: "Provider"))
|
4635
|
+
UpdateJobFromSourceControlRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: NameString, location_name: "RepositoryName"))
|
4636
|
+
UpdateJobFromSourceControlRequest.add_member(:repository_owner, Shapes::ShapeRef.new(shape: NameString, location_name: "RepositoryOwner"))
|
4637
|
+
UpdateJobFromSourceControlRequest.add_member(:branch_name, Shapes::ShapeRef.new(shape: NameString, location_name: "BranchName"))
|
4638
|
+
UpdateJobFromSourceControlRequest.add_member(:folder, Shapes::ShapeRef.new(shape: NameString, location_name: "Folder"))
|
4639
|
+
UpdateJobFromSourceControlRequest.add_member(:commit_id, Shapes::ShapeRef.new(shape: CommitIdString, location_name: "CommitId"))
|
4640
|
+
UpdateJobFromSourceControlRequest.add_member(:auth_strategy, Shapes::ShapeRef.new(shape: SourceControlAuthStrategy, location_name: "AuthStrategy"))
|
4641
|
+
UpdateJobFromSourceControlRequest.add_member(:auth_token, Shapes::ShapeRef.new(shape: AuthTokenString, location_name: "AuthToken"))
|
4642
|
+
UpdateJobFromSourceControlRequest.struct_class = Types::UpdateJobFromSourceControlRequest
|
4643
|
+
|
4644
|
+
UpdateJobFromSourceControlResponse.add_member(:job_name, Shapes::ShapeRef.new(shape: NameString, location_name: "JobName"))
|
4645
|
+
UpdateJobFromSourceControlResponse.struct_class = Types::UpdateJobFromSourceControlResponse
|
4646
|
+
|
4611
4647
|
UpdateJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "JobName"))
|
4612
4648
|
UpdateJobRequest.add_member(:job_update, Shapes::ShapeRef.new(shape: JobUpdate, required: true, location_name: "JobUpdate"))
|
4613
4649
|
UpdateJobRequest.struct_class = Types::UpdateJobRequest
|
@@ -4663,6 +4699,20 @@ module Aws::Glue
|
|
4663
4699
|
UpdateSchemaResponse.add_member(:registry_name, Shapes::ShapeRef.new(shape: SchemaRegistryNameString, location_name: "RegistryName"))
|
4664
4700
|
UpdateSchemaResponse.struct_class = Types::UpdateSchemaResponse
|
4665
4701
|
|
4702
|
+
UpdateSourceControlFromJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: NameString, location_name: "JobName"))
|
4703
|
+
UpdateSourceControlFromJobRequest.add_member(:provider, Shapes::ShapeRef.new(shape: SourceControlProvider, location_name: "Provider"))
|
4704
|
+
UpdateSourceControlFromJobRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: NameString, location_name: "RepositoryName"))
|
4705
|
+
UpdateSourceControlFromJobRequest.add_member(:repository_owner, Shapes::ShapeRef.new(shape: NameString, location_name: "RepositoryOwner"))
|
4706
|
+
UpdateSourceControlFromJobRequest.add_member(:branch_name, Shapes::ShapeRef.new(shape: NameString, location_name: "BranchName"))
|
4707
|
+
UpdateSourceControlFromJobRequest.add_member(:folder, Shapes::ShapeRef.new(shape: NameString, location_name: "Folder"))
|
4708
|
+
UpdateSourceControlFromJobRequest.add_member(:commit_id, Shapes::ShapeRef.new(shape: CommitIdString, location_name: "CommitId"))
|
4709
|
+
UpdateSourceControlFromJobRequest.add_member(:auth_strategy, Shapes::ShapeRef.new(shape: SourceControlAuthStrategy, location_name: "AuthStrategy"))
|
4710
|
+
UpdateSourceControlFromJobRequest.add_member(:auth_token, Shapes::ShapeRef.new(shape: AuthTokenString, location_name: "AuthToken"))
|
4711
|
+
UpdateSourceControlFromJobRequest.struct_class = Types::UpdateSourceControlFromJobRequest
|
4712
|
+
|
4713
|
+
UpdateSourceControlFromJobResponse.add_member(:job_name, Shapes::ShapeRef.new(shape: NameString, location_name: "JobName"))
|
4714
|
+
UpdateSourceControlFromJobResponse.struct_class = Types::UpdateSourceControlFromJobResponse
|
4715
|
+
|
4666
4716
|
UpdateTableRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
|
4667
4717
|
UpdateTableRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
|
4668
4718
|
UpdateTableRequest.add_member(:table_input, Shapes::ShapeRef.new(shape: TableInput, required: true, location_name: "TableInput"))
|
@@ -7207,6 +7257,21 @@ module Aws::Glue
|
|
7207
7257
|
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
7208
7258
|
end)
|
7209
7259
|
|
7260
|
+
api.add_operation(:update_job_from_source_control, Seahorse::Model::Operation.new.tap do |o|
|
7261
|
+
o.name = "UpdateJobFromSourceControl"
|
7262
|
+
o.http_method = "POST"
|
7263
|
+
o.http_request_uri = "/"
|
7264
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateJobFromSourceControlRequest)
|
7265
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateJobFromSourceControlResponse)
|
7266
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
7267
|
+
o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
|
7268
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
7269
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
7270
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
|
7271
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
7272
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
|
7273
|
+
end)
|
7274
|
+
|
7210
7275
|
api.add_operation(:update_ml_transform, Seahorse::Model::Operation.new.tap do |o|
|
7211
7276
|
o.name = "UpdateMLTransform"
|
7212
7277
|
o.http_method = "POST"
|
@@ -7259,6 +7324,21 @@ module Aws::Glue
|
|
7259
7324
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
7260
7325
|
end)
|
7261
7326
|
|
7327
|
+
api.add_operation(:update_source_control_from_job, Seahorse::Model::Operation.new.tap do |o|
|
7328
|
+
o.name = "UpdateSourceControlFromJob"
|
7329
|
+
o.http_method = "POST"
|
7330
|
+
o.http_request_uri = "/"
|
7331
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateSourceControlFromJobRequest)
|
7332
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateSourceControlFromJobResponse)
|
7333
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
7334
|
+
o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
|
7335
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
7336
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
7337
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
|
7338
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
7339
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
|
7340
|
+
end)
|
7341
|
+
|
7262
7342
|
api.add_operation(:update_table, Seahorse::Model::Operation.new.tap do |o|
|
7263
7343
|
o.name = "UpdateTable"
|
7264
7344
|
o.http_method = "POST"
|
@@ -0,0 +1,66 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::Glue
|
11
|
+
# Endpoint parameters used to influence endpoints per request.
|
12
|
+
#
|
13
|
+
# @!attribute region
|
14
|
+
# The AWS region used to dispatch the request.
|
15
|
+
#
|
16
|
+
# @return [String]
|
17
|
+
#
|
18
|
+
# @!attribute use_dual_stack
|
19
|
+
# When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
|
20
|
+
#
|
21
|
+
# @return [Boolean]
|
22
|
+
#
|
23
|
+
# @!attribute use_fips
|
24
|
+
# When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
|
25
|
+
#
|
26
|
+
# @return [Boolean]
|
27
|
+
#
|
28
|
+
# @!attribute endpoint
|
29
|
+
# Override the endpoint used to send this request
|
30
|
+
#
|
31
|
+
# @return [String]
|
32
|
+
#
|
33
|
+
EndpointParameters = Struct.new(
|
34
|
+
:region,
|
35
|
+
:use_dual_stack,
|
36
|
+
:use_fips,
|
37
|
+
:endpoint,
|
38
|
+
) do
|
39
|
+
include Aws::Structure
|
40
|
+
|
41
|
+
# @api private
|
42
|
+
class << self
|
43
|
+
PARAM_MAP = {
|
44
|
+
'Region' => :region,
|
45
|
+
'UseDualStack' => :use_dual_stack,
|
46
|
+
'UseFIPS' => :use_fips,
|
47
|
+
'Endpoint' => :endpoint,
|
48
|
+
}.freeze
|
49
|
+
end
|
50
|
+
|
51
|
+
def initialize(options = {})
|
52
|
+
self[:region] = options[:region]
|
53
|
+
self[:use_dual_stack] = options[:use_dual_stack]
|
54
|
+
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
|
+
if self[:use_dual_stack].nil?
|
56
|
+
raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
|
57
|
+
end
|
58
|
+
self[:use_fips] = options[:use_fips]
|
59
|
+
self[:use_fips] = false if self[:use_fips].nil?
|
60
|
+
if self[:use_fips].nil?
|
61
|
+
raise ArgumentError, "Missing required EndpointParameter: :use_fips"
|
62
|
+
end
|
63
|
+
self[:endpoint] = options[:endpoint]
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|