aws-sdk-glue 1.63.0 → 1.68.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 +2 -2
- data/lib/aws-sdk-glue/client.rb +130 -22
- data/lib/aws-sdk-glue/client_api.rb +34 -0
- data/lib/aws-sdk-glue/types.rb +164 -27
- 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: 68aade7da1499d13b11ea18df4dc8075578a31ab610d5c064dbc6708560841eb
|
4
|
+
data.tar.gz: a5d0265e769e506beaaadf45a040be4645cd4e525d6be5ba4c1b459ccab2fb4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9416da776624006612181643332e61ec1891ae3e2c2f56028070b658d639838007db497a99ce6d8f85478485adff2965e13bfdf4346be5bf3faca9c581dbd6d7
|
7
|
+
data.tar.gz: 1975fdc10ac7434a645c028e388b0baff53c19bcc82abf1681cb8a58ec7233e8e180f04e5648aba9816fb5525abf9263ef6d0dbd3b1911cd80d1390e18cbfbc4
|
data/lib/aws-sdk-glue.rb
CHANGED
data/lib/aws-sdk-glue/client.rb
CHANGED
@@ -85,13 +85,28 @@ module Aws::Glue
|
|
85
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
86
86
|
# credentials.
|
87
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
88
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
89
103
|
# from an EC2 IMDS on an EC2 instance.
|
90
104
|
#
|
91
|
-
# * `Aws::
|
92
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
93
107
|
#
|
94
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
95
110
|
#
|
96
111
|
# When `:credentials` are not configured directly, the following
|
97
112
|
# locations will be searched for credentials:
|
@@ -101,10 +116,10 @@ module Aws::Glue
|
|
101
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
102
117
|
# * `~/.aws/credentials`
|
103
118
|
# * `~/.aws/config`
|
104
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
105
|
-
# very aggressive. Construct and pass an instance of
|
106
|
-
# `Aws::InstanceProfileCredentails`
|
107
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
108
123
|
#
|
109
124
|
# @option options [required, String] :region
|
110
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -642,6 +657,7 @@ module Aws::Glue
|
|
642
657
|
# resp.crawlers[0].targets.s3_targets[0].path #=> String
|
643
658
|
# resp.crawlers[0].targets.s3_targets[0].exclusions #=> Array
|
644
659
|
# resp.crawlers[0].targets.s3_targets[0].exclusions[0] #=> String
|
660
|
+
# resp.crawlers[0].targets.s3_targets[0].connection_name #=> String
|
645
661
|
# resp.crawlers[0].targets.jdbc_targets #=> Array
|
646
662
|
# resp.crawlers[0].targets.jdbc_targets[0].connection_name #=> String
|
647
663
|
# resp.crawlers[0].targets.jdbc_targets[0].path #=> String
|
@@ -997,11 +1013,13 @@ module Aws::Glue
|
|
997
1013
|
# resp.workflows[0].last_modified_on #=> Time
|
998
1014
|
# resp.workflows[0].last_run.name #=> String
|
999
1015
|
# resp.workflows[0].last_run.workflow_run_id #=> String
|
1016
|
+
# resp.workflows[0].last_run.previous_run_id #=> String
|
1000
1017
|
# resp.workflows[0].last_run.workflow_run_properties #=> Hash
|
1001
1018
|
# resp.workflows[0].last_run.workflow_run_properties["IdString"] #=> String
|
1002
1019
|
# resp.workflows[0].last_run.started_on #=> Time
|
1003
1020
|
# resp.workflows[0].last_run.completed_on #=> Time
|
1004
|
-
# resp.workflows[0].last_run.status #=> String, one of "RUNNING", "COMPLETED", "STOPPING", "STOPPED"
|
1021
|
+
# resp.workflows[0].last_run.status #=> String, one of "RUNNING", "COMPLETED", "STOPPING", "STOPPED", "ERROR"
|
1022
|
+
# resp.workflows[0].last_run.error_message #=> String
|
1005
1023
|
# resp.workflows[0].last_run.statistics.total_actions #=> Integer
|
1006
1024
|
# resp.workflows[0].last_run.statistics.timeout_actions #=> Integer
|
1007
1025
|
# resp.workflows[0].last_run.statistics.failed_actions #=> Integer
|
@@ -1132,6 +1150,7 @@ module Aws::Glue
|
|
1132
1150
|
# resp.workflows[0].graph.edges #=> Array
|
1133
1151
|
# resp.workflows[0].graph.edges[0].source_id #=> String
|
1134
1152
|
# resp.workflows[0].graph.edges[0].destination_id #=> String
|
1153
|
+
# resp.workflows[0].max_concurrent_runs #=> Integer
|
1135
1154
|
# resp.missing_workflows #=> Array
|
1136
1155
|
# resp.missing_workflows[0] #=> String
|
1137
1156
|
#
|
@@ -1299,7 +1318,7 @@ module Aws::Glue
|
|
1299
1318
|
# connection_input: { # required
|
1300
1319
|
# name: "NameString", # required
|
1301
1320
|
# description: "DescriptionString",
|
1302
|
-
# connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA
|
1321
|
+
# connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK
|
1303
1322
|
# match_criteria: ["NameString"],
|
1304
1323
|
# connection_properties: { # required
|
1305
1324
|
# "HOST" => "ValueString",
|
@@ -1400,6 +1419,7 @@ module Aws::Glue
|
|
1400
1419
|
# {
|
1401
1420
|
# path: "Path",
|
1402
1421
|
# exclusions: ["Path"],
|
1422
|
+
# connection_name: "ConnectionName",
|
1403
1423
|
# },
|
1404
1424
|
# ],
|
1405
1425
|
# jdbc_targets: [
|
@@ -1777,9 +1797,10 @@ module Aws::Glue
|
|
1777
1797
|
# or 1 DPU. The default is 0.0625 DPU.
|
1778
1798
|
#
|
1779
1799
|
# * When you specify an Apache Spark ETL job
|
1780
|
-
# (`JobCommand.Name`="glueetl")
|
1781
|
-
#
|
1782
|
-
#
|
1800
|
+
# (`JobCommand.Name`="glueetl") or Apache Spark streaming ETL job
|
1801
|
+
# (`JobCommand.Name`="gluestreaming"), you can allocate from 2 to
|
1802
|
+
# 100 DPUs. The default is 10 DPUs. This job type cannot have a
|
1803
|
+
# fractional DPU allocation.
|
1783
1804
|
#
|
1784
1805
|
#
|
1785
1806
|
#
|
@@ -2558,6 +2579,13 @@ module Aws::Glue
|
|
2558
2579
|
# @option params [Hash<String,String>] :tags
|
2559
2580
|
# The tags to be used with this workflow.
|
2560
2581
|
#
|
2582
|
+
# @option params [Integer] :max_concurrent_runs
|
2583
|
+
# You can use this parameter to prevent unwanted multiple updates to
|
2584
|
+
# data, to control costs, or in some cases, to prevent exceeding the
|
2585
|
+
# maximum number of concurrent runs of any of the component jobs. If you
|
2586
|
+
# leave this parameter blank, there is no limit to the number of
|
2587
|
+
# concurrent workflow runs.
|
2588
|
+
#
|
2561
2589
|
# @return [Types::CreateWorkflowResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2562
2590
|
#
|
2563
2591
|
# * {Types::CreateWorkflowResponse#name #name} => String
|
@@ -2573,6 +2601,7 @@ module Aws::Glue
|
|
2573
2601
|
# tags: {
|
2574
2602
|
# "TagKey" => "TagValue",
|
2575
2603
|
# },
|
2604
|
+
# max_concurrent_runs: 1,
|
2576
2605
|
# })
|
2577
2606
|
#
|
2578
2607
|
# @example Response structure
|
@@ -3464,7 +3493,7 @@ module Aws::Glue
|
|
3464
3493
|
#
|
3465
3494
|
# resp.connection.name #=> String
|
3466
3495
|
# resp.connection.description #=> String
|
3467
|
-
# resp.connection.connection_type #=> String, one of "JDBC", "SFTP", "MONGODB", "KAFKA"
|
3496
|
+
# resp.connection.connection_type #=> String, one of "JDBC", "SFTP", "MONGODB", "KAFKA", "NETWORK"
|
3468
3497
|
# resp.connection.match_criteria #=> Array
|
3469
3498
|
# resp.connection.match_criteria[0] #=> String
|
3470
3499
|
# resp.connection.connection_properties #=> Hash
|
@@ -3522,7 +3551,7 @@ module Aws::Glue
|
|
3522
3551
|
# catalog_id: "CatalogIdString",
|
3523
3552
|
# filter: {
|
3524
3553
|
# match_criteria: ["NameString"],
|
3525
|
-
# connection_type: "JDBC", # accepts JDBC, SFTP, MONGODB, KAFKA
|
3554
|
+
# connection_type: "JDBC", # accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK
|
3526
3555
|
# },
|
3527
3556
|
# hide_password: false,
|
3528
3557
|
# next_token: "Token",
|
@@ -3534,7 +3563,7 @@ module Aws::Glue
|
|
3534
3563
|
# resp.connection_list #=> Array
|
3535
3564
|
# resp.connection_list[0].name #=> String
|
3536
3565
|
# resp.connection_list[0].description #=> String
|
3537
|
-
# resp.connection_list[0].connection_type #=> String, one of "JDBC", "SFTP", "MONGODB", "KAFKA"
|
3566
|
+
# resp.connection_list[0].connection_type #=> String, one of "JDBC", "SFTP", "MONGODB", "KAFKA", "NETWORK"
|
3538
3567
|
# resp.connection_list[0].match_criteria #=> Array
|
3539
3568
|
# resp.connection_list[0].match_criteria[0] #=> String
|
3540
3569
|
# resp.connection_list[0].connection_properties #=> Hash
|
@@ -3580,6 +3609,7 @@ module Aws::Glue
|
|
3580
3609
|
# resp.crawler.targets.s3_targets[0].path #=> String
|
3581
3610
|
# resp.crawler.targets.s3_targets[0].exclusions #=> Array
|
3582
3611
|
# resp.crawler.targets.s3_targets[0].exclusions[0] #=> String
|
3612
|
+
# resp.crawler.targets.s3_targets[0].connection_name #=> String
|
3583
3613
|
# resp.crawler.targets.jdbc_targets #=> Array
|
3584
3614
|
# resp.crawler.targets.jdbc_targets[0].connection_name #=> String
|
3585
3615
|
# resp.crawler.targets.jdbc_targets[0].path #=> String
|
@@ -3704,6 +3734,7 @@ module Aws::Glue
|
|
3704
3734
|
# resp.crawlers[0].targets.s3_targets[0].path #=> String
|
3705
3735
|
# resp.crawlers[0].targets.s3_targets[0].exclusions #=> Array
|
3706
3736
|
# resp.crawlers[0].targets.s3_targets[0].exclusions[0] #=> String
|
3737
|
+
# resp.crawlers[0].targets.s3_targets[0].connection_name #=> String
|
3707
3738
|
# resp.crawlers[0].targets.jdbc_targets #=> Array
|
3708
3739
|
# resp.crawlers[0].targets.jdbc_targets[0].connection_name #=> String
|
3709
3740
|
# resp.crawlers[0].targets.jdbc_targets[0].path #=> String
|
@@ -5103,6 +5134,11 @@ module Aws::Glue
|
|
5103
5134
|
# Retrieves the security configurations for the resource policies set on
|
5104
5135
|
# individual resources, and also the account-level policy.
|
5105
5136
|
#
|
5137
|
+
# This operation also returns the Data Catalog resource policy. However,
|
5138
|
+
# if you enabled metadata encryption in Data Catalog settings, and you
|
5139
|
+
# do not have permission on the AWS KMS key, the operation can't return
|
5140
|
+
# the Data Catalog resource policy.
|
5141
|
+
#
|
5106
5142
|
# @option params [String] :next_token
|
5107
5143
|
# A continuation token, if this is a continuation request.
|
5108
5144
|
#
|
@@ -5949,11 +5985,13 @@ module Aws::Glue
|
|
5949
5985
|
# resp.workflow.last_modified_on #=> Time
|
5950
5986
|
# resp.workflow.last_run.name #=> String
|
5951
5987
|
# resp.workflow.last_run.workflow_run_id #=> String
|
5988
|
+
# resp.workflow.last_run.previous_run_id #=> String
|
5952
5989
|
# resp.workflow.last_run.workflow_run_properties #=> Hash
|
5953
5990
|
# resp.workflow.last_run.workflow_run_properties["IdString"] #=> String
|
5954
5991
|
# resp.workflow.last_run.started_on #=> Time
|
5955
5992
|
# resp.workflow.last_run.completed_on #=> Time
|
5956
|
-
# resp.workflow.last_run.status #=> String, one of "RUNNING", "COMPLETED", "STOPPING", "STOPPED"
|
5993
|
+
# resp.workflow.last_run.status #=> String, one of "RUNNING", "COMPLETED", "STOPPING", "STOPPED", "ERROR"
|
5994
|
+
# resp.workflow.last_run.error_message #=> String
|
5957
5995
|
# resp.workflow.last_run.statistics.total_actions #=> Integer
|
5958
5996
|
# resp.workflow.last_run.statistics.timeout_actions #=> Integer
|
5959
5997
|
# resp.workflow.last_run.statistics.failed_actions #=> Integer
|
@@ -6084,6 +6122,7 @@ module Aws::Glue
|
|
6084
6122
|
# resp.workflow.graph.edges #=> Array
|
6085
6123
|
# resp.workflow.graph.edges[0].source_id #=> String
|
6086
6124
|
# resp.workflow.graph.edges[0].destination_id #=> String
|
6125
|
+
# resp.workflow.max_concurrent_runs #=> Integer
|
6087
6126
|
#
|
6088
6127
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetWorkflow AWS API Documentation
|
6089
6128
|
#
|
@@ -6121,11 +6160,13 @@ module Aws::Glue
|
|
6121
6160
|
#
|
6122
6161
|
# resp.run.name #=> String
|
6123
6162
|
# resp.run.workflow_run_id #=> String
|
6163
|
+
# resp.run.previous_run_id #=> String
|
6124
6164
|
# resp.run.workflow_run_properties #=> Hash
|
6125
6165
|
# resp.run.workflow_run_properties["IdString"] #=> String
|
6126
6166
|
# resp.run.started_on #=> Time
|
6127
6167
|
# resp.run.completed_on #=> Time
|
6128
|
-
# resp.run.status #=> String, one of "RUNNING", "COMPLETED", "STOPPING", "STOPPED"
|
6168
|
+
# resp.run.status #=> String, one of "RUNNING", "COMPLETED", "STOPPING", "STOPPED", "ERROR"
|
6169
|
+
# resp.run.error_message #=> String
|
6129
6170
|
# resp.run.statistics.total_actions #=> Integer
|
6130
6171
|
# resp.run.statistics.timeout_actions #=> Integer
|
6131
6172
|
# resp.run.statistics.failed_actions #=> Integer
|
@@ -6272,11 +6313,13 @@ module Aws::Glue
|
|
6272
6313
|
# resp.runs #=> Array
|
6273
6314
|
# resp.runs[0].name #=> String
|
6274
6315
|
# resp.runs[0].workflow_run_id #=> String
|
6316
|
+
# resp.runs[0].previous_run_id #=> String
|
6275
6317
|
# resp.runs[0].workflow_run_properties #=> Hash
|
6276
6318
|
# resp.runs[0].workflow_run_properties["IdString"] #=> String
|
6277
6319
|
# resp.runs[0].started_on #=> Time
|
6278
6320
|
# resp.runs[0].completed_on #=> Time
|
6279
|
-
# resp.runs[0].status #=> String, one of "RUNNING", "COMPLETED", "STOPPING", "STOPPED"
|
6321
|
+
# resp.runs[0].status #=> String, one of "RUNNING", "COMPLETED", "STOPPING", "STOPPED", "ERROR"
|
6322
|
+
# resp.runs[0].error_message #=> String
|
6280
6323
|
# resp.runs[0].statistics.total_actions #=> Integer
|
6281
6324
|
# resp.runs[0].statistics.timeout_actions #=> Integer
|
6282
6325
|
# resp.runs[0].statistics.failed_actions #=> Integer
|
@@ -6874,6 +6917,48 @@ module Aws::Glue
|
|
6874
6917
|
req.send_request(options)
|
6875
6918
|
end
|
6876
6919
|
|
6920
|
+
# Restarts selected nodes of a previous partially completed workflow run
|
6921
|
+
# and resumes the workflow run. The selected nodes and all nodes that
|
6922
|
+
# are downstream from the selected nodes are run.
|
6923
|
+
#
|
6924
|
+
# @option params [required, String] :name
|
6925
|
+
# The name of the workflow to resume.
|
6926
|
+
#
|
6927
|
+
# @option params [required, String] :run_id
|
6928
|
+
# The ID of the workflow run to resume.
|
6929
|
+
#
|
6930
|
+
# @option params [required, Array<String>] :node_ids
|
6931
|
+
# A list of the node IDs for the nodes you want to restart. The nodes
|
6932
|
+
# that are to be restarted must have a run attempt in the original run.
|
6933
|
+
#
|
6934
|
+
# @return [Types::ResumeWorkflowRunResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6935
|
+
#
|
6936
|
+
# * {Types::ResumeWorkflowRunResponse#run_id #run_id} => String
|
6937
|
+
# * {Types::ResumeWorkflowRunResponse#node_ids #node_ids} => Array<String>
|
6938
|
+
#
|
6939
|
+
# @example Request syntax with placeholder values
|
6940
|
+
#
|
6941
|
+
# resp = client.resume_workflow_run({
|
6942
|
+
# name: "NameString", # required
|
6943
|
+
# run_id: "IdString", # required
|
6944
|
+
# node_ids: ["NameString"], # required
|
6945
|
+
# })
|
6946
|
+
#
|
6947
|
+
# @example Response structure
|
6948
|
+
#
|
6949
|
+
# resp.run_id #=> String
|
6950
|
+
# resp.node_ids #=> Array
|
6951
|
+
# resp.node_ids[0] #=> String
|
6952
|
+
#
|
6953
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ResumeWorkflowRun AWS API Documentation
|
6954
|
+
#
|
6955
|
+
# @overload resume_workflow_run(params = {})
|
6956
|
+
# @param [Hash] params ({})
|
6957
|
+
def resume_workflow_run(params = {}, options = {})
|
6958
|
+
req = build_request(:resume_workflow_run, params)
|
6959
|
+
req.send_request(options)
|
6960
|
+
end
|
6961
|
+
|
6877
6962
|
# Searches a set of tables based on properties in the table metadata as
|
6878
6963
|
# well as on the parent database. You can search against text or filter
|
6879
6964
|
# conditions.
|
@@ -6888,7 +6973,7 @@ module Aws::Glue
|
|
6888
6973
|
# search.
|
6889
6974
|
#
|
6890
6975
|
# @option params [String] :catalog_id
|
6891
|
-
# A unique identifier, consisting of ` account_id
|
6976
|
+
# A unique identifier, consisting of ` account_id `.
|
6892
6977
|
#
|
6893
6978
|
# @option params [String] :next_token
|
6894
6979
|
# A continuation token, included if this is a continuation call.
|
@@ -6897,6 +6982,16 @@ module Aws::Glue
|
|
6897
6982
|
# A list of key-value pairs, and a comparator used to filter the search
|
6898
6983
|
# results. Returns all entities matching the predicate.
|
6899
6984
|
#
|
6985
|
+
# The `Comparator` member of the `PropertyPredicate` struct is used only
|
6986
|
+
# for time fields, and can be omitted for other field types. Also, when
|
6987
|
+
# comparing string values, such as when `Key=Name`, a fuzzy match
|
6988
|
+
# algorithm is used. The `Key` field (for example, the value of the
|
6989
|
+
# `Name` field) is split on certain punctuation characters, for example,
|
6990
|
+
# -, :, #, etc. into tokens. Then each token is exact-match compared
|
6991
|
+
# with the `Value` member of `PropertyPredicate`. For example, if
|
6992
|
+
# `Key=Name` and `Value=link`, tables named `customer-link` and
|
6993
|
+
# `xx-link-yy` are returned, but `xxlinkyy` is not returned.
|
6994
|
+
#
|
6900
6995
|
# @option params [String] :search_text
|
6901
6996
|
# A string used for a text search.
|
6902
6997
|
#
|
@@ -7967,7 +8062,7 @@ module Aws::Glue
|
|
7967
8062
|
# connection_input: { # required
|
7968
8063
|
# name: "NameString", # required
|
7969
8064
|
# description: "DescriptionString",
|
7970
|
-
# connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA
|
8065
|
+
# connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK
|
7971
8066
|
# match_criteria: ["NameString"],
|
7972
8067
|
# connection_properties: { # required
|
7973
8068
|
# "HOST" => "ValueString",
|
@@ -8057,6 +8152,7 @@ module Aws::Glue
|
|
8057
8152
|
# {
|
8058
8153
|
# path: "Path",
|
8059
8154
|
# exclusions: ["Path"],
|
8155
|
+
# connection_name: "ConnectionName",
|
8060
8156
|
# },
|
8061
8157
|
# ],
|
8062
8158
|
# jdbc_targets: [
|
@@ -8452,11 +8548,15 @@ module Aws::Glue
|
|
8452
8548
|
# The name of the table in which the partition to be updated is located.
|
8453
8549
|
#
|
8454
8550
|
# @option params [required, Array<String>] :partition_value_list
|
8455
|
-
#
|
8551
|
+
# List of partition key values that define the partition to update.
|
8456
8552
|
#
|
8457
8553
|
# @option params [required, Types::PartitionInput] :partition_input
|
8458
8554
|
# The new partition object to update the partition to.
|
8459
8555
|
#
|
8556
|
+
# The `Values` property can't be changed. If you want to change the
|
8557
|
+
# partition key values for a partition, delete and recreate the
|
8558
|
+
# partition.
|
8559
|
+
#
|
8460
8560
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
8461
8561
|
#
|
8462
8562
|
# @example Request syntax with placeholder values
|
@@ -8779,6 +8879,13 @@ module Aws::Glue
|
|
8779
8879
|
# A collection of properties to be used as part of each execution of the
|
8780
8880
|
# workflow.
|
8781
8881
|
#
|
8882
|
+
# @option params [Integer] :max_concurrent_runs
|
8883
|
+
# You can use this parameter to prevent unwanted multiple updates to
|
8884
|
+
# data, to control costs, or in some cases, to prevent exceeding the
|
8885
|
+
# maximum number of concurrent runs of any of the component jobs. If you
|
8886
|
+
# leave this parameter blank, there is no limit to the number of
|
8887
|
+
# concurrent workflow runs.
|
8888
|
+
#
|
8782
8889
|
# @return [Types::UpdateWorkflowResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8783
8890
|
#
|
8784
8891
|
# * {Types::UpdateWorkflowResponse#name #name} => String
|
@@ -8791,6 +8898,7 @@ module Aws::Glue
|
|
8791
8898
|
# default_run_properties: {
|
8792
8899
|
# "IdString" => "GenericString",
|
8793
8900
|
# },
|
8901
|
+
# max_concurrent_runs: 1,
|
8794
8902
|
# })
|
8795
8903
|
#
|
8796
8904
|
# @example Response structure
|
@@ -8819,7 +8927,7 @@ module Aws::Glue
|
|
8819
8927
|
params: params,
|
8820
8928
|
config: config)
|
8821
8929
|
context[:gem_name] = 'aws-sdk-glue'
|
8822
|
-
context[:gem_version] = '1.
|
8930
|
+
context[:gem_version] = '1.68.0'
|
8823
8931
|
Seahorse::Client::Request.new(handlers, context)
|
8824
8932
|
end
|
8825
8933
|
|
@@ -428,6 +428,7 @@ module Aws::Glue
|
|
428
428
|
NameStringList = Shapes::ListShape.new(name: 'NameStringList')
|
429
429
|
NoScheduleException = Shapes::StructureShape.new(name: 'NoScheduleException')
|
430
430
|
Node = Shapes::StructureShape.new(name: 'Node')
|
431
|
+
NodeIdList = Shapes::ListShape.new(name: 'NodeIdList')
|
431
432
|
NodeList = Shapes::ListShape.new(name: 'NodeList')
|
432
433
|
NodeType = Shapes::StringShape.new(name: 'NodeType')
|
433
434
|
NonNegativeDouble = Shapes::FloatShape.new(name: 'NonNegativeDouble')
|
@@ -485,6 +486,8 @@ module Aws::Glue
|
|
485
486
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
486
487
|
ResourceUri = Shapes::StructureShape.new(name: 'ResourceUri')
|
487
488
|
ResourceUriList = Shapes::ListShape.new(name: 'ResourceUriList')
|
489
|
+
ResumeWorkflowRunRequest = Shapes::StructureShape.new(name: 'ResumeWorkflowRunRequest')
|
490
|
+
ResumeWorkflowRunResponse = Shapes::StructureShape.new(name: 'ResumeWorkflowRunResponse')
|
488
491
|
Role = Shapes::StringShape.new(name: 'Role')
|
489
492
|
RoleArn = Shapes::StringShape.new(name: 'RoleArn')
|
490
493
|
RoleString = Shapes::StringShape.new(name: 'RoleString')
|
@@ -1214,6 +1217,7 @@ module Aws::Glue
|
|
1214
1217
|
CreateWorkflowRequest.add_member(:description, Shapes::ShapeRef.new(shape: GenericString, location_name: "Description"))
|
1215
1218
|
CreateWorkflowRequest.add_member(:default_run_properties, Shapes::ShapeRef.new(shape: WorkflowRunProperties, location_name: "DefaultRunProperties"))
|
1216
1219
|
CreateWorkflowRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "Tags"))
|
1220
|
+
CreateWorkflowRequest.add_member(:max_concurrent_runs, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "MaxConcurrentRuns"))
|
1217
1221
|
CreateWorkflowRequest.struct_class = Types::CreateWorkflowRequest
|
1218
1222
|
|
1219
1223
|
CreateWorkflowResponse.add_member(:name, Shapes::ShapeRef.new(shape: NameString, location_name: "Name"))
|
@@ -2209,6 +2213,8 @@ module Aws::Glue
|
|
2209
2213
|
Node.add_member(:crawler_details, Shapes::ShapeRef.new(shape: CrawlerNodeDetails, location_name: "CrawlerDetails"))
|
2210
2214
|
Node.struct_class = Types::Node
|
2211
2215
|
|
2216
|
+
NodeIdList.member = Shapes::ShapeRef.new(shape: NameString)
|
2217
|
+
|
2212
2218
|
NodeList.member = Shapes::ShapeRef.new(shape: Node)
|
2213
2219
|
|
2214
2220
|
NotificationProperty.add_member(:notify_delay_after, Shapes::ShapeRef.new(shape: NotifyDelayAfter, location_name: "NotifyDelayAfter"))
|
@@ -2330,6 +2336,15 @@ module Aws::Glue
|
|
2330
2336
|
|
2331
2337
|
ResourceUriList.member = Shapes::ShapeRef.new(shape: ResourceUri)
|
2332
2338
|
|
2339
|
+
ResumeWorkflowRunRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
|
2340
|
+
ResumeWorkflowRunRequest.add_member(:run_id, Shapes::ShapeRef.new(shape: IdString, required: true, location_name: "RunId"))
|
2341
|
+
ResumeWorkflowRunRequest.add_member(:node_ids, Shapes::ShapeRef.new(shape: NodeIdList, required: true, location_name: "NodeIds"))
|
2342
|
+
ResumeWorkflowRunRequest.struct_class = Types::ResumeWorkflowRunRequest
|
2343
|
+
|
2344
|
+
ResumeWorkflowRunResponse.add_member(:run_id, Shapes::ShapeRef.new(shape: IdString, location_name: "RunId"))
|
2345
|
+
ResumeWorkflowRunResponse.add_member(:node_ids, Shapes::ShapeRef.new(shape: NodeIdList, location_name: "NodeIds"))
|
2346
|
+
ResumeWorkflowRunResponse.struct_class = Types::ResumeWorkflowRunResponse
|
2347
|
+
|
2333
2348
|
S3Encryption.add_member(:s3_encryption_mode, Shapes::ShapeRef.new(shape: S3EncryptionMode, location_name: "S3EncryptionMode"))
|
2334
2349
|
S3Encryption.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "KmsKeyArn"))
|
2335
2350
|
S3Encryption.struct_class = Types::S3Encryption
|
@@ -2338,6 +2353,7 @@ module Aws::Glue
|
|
2338
2353
|
|
2339
2354
|
S3Target.add_member(:path, Shapes::ShapeRef.new(shape: Path, location_name: "Path"))
|
2340
2355
|
S3Target.add_member(:exclusions, Shapes::ShapeRef.new(shape: PathList, location_name: "Exclusions"))
|
2356
|
+
S3Target.add_member(:connection_name, Shapes::ShapeRef.new(shape: ConnectionName, location_name: "ConnectionName"))
|
2341
2357
|
S3Target.struct_class = Types::S3Target
|
2342
2358
|
|
2343
2359
|
S3TargetList.member = Shapes::ShapeRef.new(shape: S3Target)
|
@@ -2827,6 +2843,7 @@ module Aws::Glue
|
|
2827
2843
|
UpdateWorkflowRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
|
2828
2844
|
UpdateWorkflowRequest.add_member(:description, Shapes::ShapeRef.new(shape: GenericString, location_name: "Description"))
|
2829
2845
|
UpdateWorkflowRequest.add_member(:default_run_properties, Shapes::ShapeRef.new(shape: WorkflowRunProperties, location_name: "DefaultRunProperties"))
|
2846
|
+
UpdateWorkflowRequest.add_member(:max_concurrent_runs, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "MaxConcurrentRuns"))
|
2830
2847
|
UpdateWorkflowRequest.struct_class = Types::UpdateWorkflowRequest
|
2831
2848
|
|
2832
2849
|
UpdateWorkflowResponse.add_member(:name, Shapes::ShapeRef.new(shape: NameString, location_name: "Name"))
|
@@ -2871,6 +2888,7 @@ module Aws::Glue
|
|
2871
2888
|
Workflow.add_member(:last_modified_on, Shapes::ShapeRef.new(shape: TimestampValue, location_name: "LastModifiedOn"))
|
2872
2889
|
Workflow.add_member(:last_run, Shapes::ShapeRef.new(shape: WorkflowRun, location_name: "LastRun"))
|
2873
2890
|
Workflow.add_member(:graph, Shapes::ShapeRef.new(shape: WorkflowGraph, location_name: "Graph"))
|
2891
|
+
Workflow.add_member(:max_concurrent_runs, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "MaxConcurrentRuns"))
|
2874
2892
|
Workflow.struct_class = Types::Workflow
|
2875
2893
|
|
2876
2894
|
WorkflowGraph.add_member(:nodes, Shapes::ShapeRef.new(shape: NodeList, location_name: "Nodes"))
|
@@ -2881,10 +2899,12 @@ module Aws::Glue
|
|
2881
2899
|
|
2882
2900
|
WorkflowRun.add_member(:name, Shapes::ShapeRef.new(shape: NameString, location_name: "Name"))
|
2883
2901
|
WorkflowRun.add_member(:workflow_run_id, Shapes::ShapeRef.new(shape: IdString, location_name: "WorkflowRunId"))
|
2902
|
+
WorkflowRun.add_member(:previous_run_id, Shapes::ShapeRef.new(shape: IdString, location_name: "PreviousRunId"))
|
2884
2903
|
WorkflowRun.add_member(:workflow_run_properties, Shapes::ShapeRef.new(shape: WorkflowRunProperties, location_name: "WorkflowRunProperties"))
|
2885
2904
|
WorkflowRun.add_member(:started_on, Shapes::ShapeRef.new(shape: TimestampValue, location_name: "StartedOn"))
|
2886
2905
|
WorkflowRun.add_member(:completed_on, Shapes::ShapeRef.new(shape: TimestampValue, location_name: "CompletedOn"))
|
2887
2906
|
WorkflowRun.add_member(:status, Shapes::ShapeRef.new(shape: WorkflowRunStatus, location_name: "Status"))
|
2907
|
+
WorkflowRun.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorString, location_name: "ErrorMessage"))
|
2888
2908
|
WorkflowRun.add_member(:statistics, Shapes::ShapeRef.new(shape: WorkflowRunStatistics, location_name: "Statistics"))
|
2889
2909
|
WorkflowRun.add_member(:graph, Shapes::ShapeRef.new(shape: WorkflowGraph, location_name: "Graph"))
|
2890
2910
|
WorkflowRun.struct_class = Types::WorkflowRun
|
@@ -4292,6 +4312,20 @@ module Aws::Glue
|
|
4292
4312
|
o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
|
4293
4313
|
end)
|
4294
4314
|
|
4315
|
+
api.add_operation(:resume_workflow_run, Seahorse::Model::Operation.new.tap do |o|
|
4316
|
+
o.name = "ResumeWorkflowRun"
|
4317
|
+
o.http_method = "POST"
|
4318
|
+
o.http_request_uri = "/"
|
4319
|
+
o.input = Shapes::ShapeRef.new(shape: ResumeWorkflowRunRequest)
|
4320
|
+
o.output = Shapes::ShapeRef.new(shape: ResumeWorkflowRunResponse)
|
4321
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
4322
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
|
4323
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
4324
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
|
4325
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentRunsExceededException)
|
4326
|
+
o.errors << Shapes::ShapeRef.new(shape: IllegalWorkflowStateException)
|
4327
|
+
end)
|
4328
|
+
|
4295
4329
|
api.add_operation(:search_tables, Seahorse::Model::Operation.new.tap do |o|
|
4296
4330
|
o.name = "SearchTables"
|
4297
4331
|
o.http_method = "POST"
|
data/lib/aws-sdk-glue/types.rb
CHANGED
@@ -1620,6 +1620,17 @@ module Aws::Glue
|
|
1620
1620
|
# port pairs that are the addresses of the Apache Kafka brokers in a
|
1621
1621
|
# Kafka cluster to which a Kafka client will connect to and
|
1622
1622
|
# bootstrap itself.
|
1623
|
+
#
|
1624
|
+
# * `KAFKA_SSL_ENABLED` - Whether to enable or disable SSL on an
|
1625
|
+
# Apache Kafka connection. Default value is "true".
|
1626
|
+
#
|
1627
|
+
# * `KAFKA_CUSTOM_CERT` - The Amazon S3 URL for the private CA cert
|
1628
|
+
# file (.pem format). The default is an empty string.
|
1629
|
+
#
|
1630
|
+
# * `KAFKA_SKIP_CUSTOM_CERT_VALIDATION` - Whether to skip the
|
1631
|
+
# validation of the CA cert file or not. AWS Glue validates for
|
1632
|
+
# three algorithms: SHA256withRSA, SHA384withRSA and SHA512withRSA.
|
1633
|
+
# Default value is "false".
|
1623
1634
|
# @return [Hash<String,String>]
|
1624
1635
|
#
|
1625
1636
|
# @!attribute [rw] physical_connection_requirements
|
@@ -1665,7 +1676,7 @@ module Aws::Glue
|
|
1665
1676
|
# {
|
1666
1677
|
# name: "NameString", # required
|
1667
1678
|
# description: "DescriptionString",
|
1668
|
-
# connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA
|
1679
|
+
# connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK
|
1669
1680
|
# match_criteria: ["NameString"],
|
1670
1681
|
# connection_properties: { # required
|
1671
1682
|
# "HOST" => "ValueString",
|
@@ -1697,6 +1708,9 @@ module Aws::Glue
|
|
1697
1708
|
# * `MONGODB` - Designates a connection to a MongoDB document
|
1698
1709
|
# database.
|
1699
1710
|
#
|
1711
|
+
# * `NETWORK` - Designates a network connection to a data source
|
1712
|
+
# within an Amazon Virtual Private Cloud environment (Amazon VPC).
|
1713
|
+
#
|
1700
1714
|
# SFTP is not supported.
|
1701
1715
|
# @return [String]
|
1702
1716
|
#
|
@@ -2066,6 +2080,7 @@ module Aws::Glue
|
|
2066
2080
|
# {
|
2067
2081
|
# path: "Path",
|
2068
2082
|
# exclusions: ["Path"],
|
2083
|
+
# connection_name: "ConnectionName",
|
2069
2084
|
# },
|
2070
2085
|
# ],
|
2071
2086
|
# jdbc_targets: [
|
@@ -2186,7 +2201,7 @@ module Aws::Glue
|
|
2186
2201
|
# connection_input: { # required
|
2187
2202
|
# name: "NameString", # required
|
2188
2203
|
# description: "DescriptionString",
|
2189
|
-
# connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA
|
2204
|
+
# connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK
|
2190
2205
|
# match_criteria: ["NameString"],
|
2191
2206
|
# connection_properties: { # required
|
2192
2207
|
# "HOST" => "ValueString",
|
@@ -2234,6 +2249,7 @@ module Aws::Glue
|
|
2234
2249
|
# {
|
2235
2250
|
# path: "Path",
|
2236
2251
|
# exclusions: ["Path"],
|
2252
|
+
# connection_name: "ConnectionName",
|
2237
2253
|
# },
|
2238
2254
|
# ],
|
2239
2255
|
# jdbc_targets: [
|
@@ -2959,8 +2975,9 @@ module Aws::Glue
|
|
2959
2975
|
# 0.0625 or 1 DPU. The default is 0.0625 DPU.
|
2960
2976
|
#
|
2961
2977
|
# * When you specify an Apache Spark ETL job
|
2962
|
-
# (`JobCommand.Name`="glueetl")
|
2963
|
-
#
|
2978
|
+
# (`JobCommand.Name`="glueetl") or Apache Spark streaming ETL job
|
2979
|
+
# (`JobCommand.Name`="gluestreaming"), you can allocate from 2 to
|
2980
|
+
# 100 DPUs. The default is 10 DPUs. This job type cannot have a
|
2964
2981
|
# fractional DPU allocation.
|
2965
2982
|
#
|
2966
2983
|
#
|
@@ -3813,6 +3830,7 @@ module Aws::Glue
|
|
3813
3830
|
# tags: {
|
3814
3831
|
# "TagKey" => "TagValue",
|
3815
3832
|
# },
|
3833
|
+
# max_concurrent_runs: 1,
|
3816
3834
|
# }
|
3817
3835
|
#
|
3818
3836
|
# @!attribute [rw] name
|
@@ -3833,13 +3851,22 @@ module Aws::Glue
|
|
3833
3851
|
# The tags to be used with this workflow.
|
3834
3852
|
# @return [Hash<String,String>]
|
3835
3853
|
#
|
3854
|
+
# @!attribute [rw] max_concurrent_runs
|
3855
|
+
# You can use this parameter to prevent unwanted multiple updates to
|
3856
|
+
# data, to control costs, or in some cases, to prevent exceeding the
|
3857
|
+
# maximum number of concurrent runs of any of the component jobs. If
|
3858
|
+
# you leave this parameter blank, there is no limit to the number of
|
3859
|
+
# concurrent workflow runs.
|
3860
|
+
# @return [Integer]
|
3861
|
+
#
|
3836
3862
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateWorkflowRequest AWS API Documentation
|
3837
3863
|
#
|
3838
3864
|
class CreateWorkflowRequest < Struct.new(
|
3839
3865
|
:name,
|
3840
3866
|
:description,
|
3841
3867
|
:default_run_properties,
|
3842
|
-
:tags
|
3868
|
+
:tags,
|
3869
|
+
:max_concurrent_runs)
|
3843
3870
|
SENSITIVE = []
|
3844
3871
|
include Aws::Structure
|
3845
3872
|
end
|
@@ -5192,7 +5219,7 @@ module Aws::Glue
|
|
5192
5219
|
end
|
5193
5220
|
|
5194
5221
|
# An edge represents a directed connection between two AWS Glue
|
5195
|
-
# components
|
5222
|
+
# components that are part of the workflow the edge belongs to.
|
5196
5223
|
#
|
5197
5224
|
# @!attribute [rw] source_id
|
5198
5225
|
# The unique of the node within the workflow where the edge starts.
|
@@ -5827,7 +5854,7 @@ module Aws::Glue
|
|
5827
5854
|
#
|
5828
5855
|
# {
|
5829
5856
|
# match_criteria: ["NameString"],
|
5830
|
-
# connection_type: "JDBC", # accepts JDBC, SFTP, MONGODB, KAFKA
|
5857
|
+
# connection_type: "JDBC", # accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK
|
5831
5858
|
# }
|
5832
5859
|
#
|
5833
5860
|
# @!attribute [rw] match_criteria
|
@@ -5855,7 +5882,7 @@ module Aws::Glue
|
|
5855
5882
|
# catalog_id: "CatalogIdString",
|
5856
5883
|
# filter: {
|
5857
5884
|
# match_criteria: ["NameString"],
|
5858
|
-
# connection_type: "JDBC", # accepts JDBC, SFTP, MONGODB, KAFKA
|
5885
|
+
# connection_type: "JDBC", # accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK
|
5859
5886
|
# },
|
5860
5887
|
# hide_password: false,
|
5861
5888
|
# next_token: "Token",
|
@@ -8437,15 +8464,17 @@ module Aws::Glue
|
|
8437
8464
|
# `NumberOfWorkers`.
|
8438
8465
|
#
|
8439
8466
|
# The value that can be allocated for `MaxCapacity` depends on whether
|
8440
|
-
# you are running a Python shell job
|
8467
|
+
# you are running a Python shell job, an Apache Spark ETL job, or an
|
8468
|
+
# Apache Spark streaming ETL job:
|
8441
8469
|
#
|
8442
8470
|
# * When you specify a Python shell job
|
8443
8471
|
# (`JobCommand.Name`="pythonshell"), you can allocate either
|
8444
8472
|
# 0.0625 or 1 DPU. The default is 0.0625 DPU.
|
8445
8473
|
#
|
8446
8474
|
# * When you specify an Apache Spark ETL job
|
8447
|
-
# (`JobCommand.Name`="glueetl")
|
8448
|
-
#
|
8475
|
+
# (`JobCommand.Name`="glueetl") or Apache Spark streaming ETL job
|
8476
|
+
# (`JobCommand.Name`="gluestreaming"), you can allocate from 2 to
|
8477
|
+
# 100 DPUs. The default is 10 DPUs. This job type cannot have a
|
8449
8478
|
# fractional DPU allocation.
|
8450
8479
|
#
|
8451
8480
|
#
|
@@ -8615,7 +8644,8 @@ module Aws::Glue
|
|
8615
8644
|
#
|
8616
8645
|
# @!attribute [rw] name
|
8617
8646
|
# The name of the job command. For an Apache Spark ETL job, this must
|
8618
|
-
# be `glueetl`. For a Python shell job, it must be `pythonshell`.
|
8647
|
+
# be `glueetl`. For a Python shell job, it must be `pythonshell`. For
|
8648
|
+
# an Apache Spark streaming ETL job, this must be `gluestreaming`.
|
8619
8649
|
# @return [String]
|
8620
8650
|
#
|
8621
8651
|
# @!attribute [rw] script_location
|
@@ -8998,8 +9028,9 @@ module Aws::Glue
|
|
8998
9028
|
# 0.0625 or 1 DPU. The default is 0.0625 DPU.
|
8999
9029
|
#
|
9000
9030
|
# * When you specify an Apache Spark ETL job
|
9001
|
-
# (`JobCommand.Name`="glueetl")
|
9002
|
-
#
|
9031
|
+
# (`JobCommand.Name`="glueetl") or Apache Spark streaming ETL job
|
9032
|
+
# (`JobCommand.Name`="gluestreaming"), you can allocate from 2 to
|
9033
|
+
# 100 DPUs. The default is 10 DPUs. This job type cannot have a
|
9003
9034
|
# fractional DPU allocation.
|
9004
9035
|
#
|
9005
9036
|
#
|
@@ -9875,8 +9906,8 @@ module Aws::Glue
|
|
9875
9906
|
include Aws::Structure
|
9876
9907
|
end
|
9877
9908
|
|
9878
|
-
# A node represents an AWS Glue component
|
9879
|
-
# is part of a workflow.
|
9909
|
+
# A node represents an AWS Glue component such as a trigger, or job,
|
9910
|
+
# etc., that is part of a workflow.
|
9880
9911
|
#
|
9881
9912
|
# @!attribute [rw] type
|
9882
9913
|
# The type of AWS Glue component represented by the node.
|
@@ -10556,6 +10587,57 @@ module Aws::Glue
|
|
10556
10587
|
include Aws::Structure
|
10557
10588
|
end
|
10558
10589
|
|
10590
|
+
# @note When making an API call, you may pass ResumeWorkflowRunRequest
|
10591
|
+
# data as a hash:
|
10592
|
+
#
|
10593
|
+
# {
|
10594
|
+
# name: "NameString", # required
|
10595
|
+
# run_id: "IdString", # required
|
10596
|
+
# node_ids: ["NameString"], # required
|
10597
|
+
# }
|
10598
|
+
#
|
10599
|
+
# @!attribute [rw] name
|
10600
|
+
# The name of the workflow to resume.
|
10601
|
+
# @return [String]
|
10602
|
+
#
|
10603
|
+
# @!attribute [rw] run_id
|
10604
|
+
# The ID of the workflow run to resume.
|
10605
|
+
# @return [String]
|
10606
|
+
#
|
10607
|
+
# @!attribute [rw] node_ids
|
10608
|
+
# A list of the node IDs for the nodes you want to restart. The nodes
|
10609
|
+
# that are to be restarted must have a run attempt in the original
|
10610
|
+
# run.
|
10611
|
+
# @return [Array<String>]
|
10612
|
+
#
|
10613
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ResumeWorkflowRunRequest AWS API Documentation
|
10614
|
+
#
|
10615
|
+
class ResumeWorkflowRunRequest < Struct.new(
|
10616
|
+
:name,
|
10617
|
+
:run_id,
|
10618
|
+
:node_ids)
|
10619
|
+
SENSITIVE = []
|
10620
|
+
include Aws::Structure
|
10621
|
+
end
|
10622
|
+
|
10623
|
+
# @!attribute [rw] run_id
|
10624
|
+
# The new ID assigned to the resumed workflow run. Each resume of a
|
10625
|
+
# workflow run will have a new run ID.
|
10626
|
+
# @return [String]
|
10627
|
+
#
|
10628
|
+
# @!attribute [rw] node_ids
|
10629
|
+
# A list of the node IDs for the nodes that were actually restarted.
|
10630
|
+
# @return [Array<String>]
|
10631
|
+
#
|
10632
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ResumeWorkflowRunResponse AWS API Documentation
|
10633
|
+
#
|
10634
|
+
class ResumeWorkflowRunResponse < Struct.new(
|
10635
|
+
:run_id,
|
10636
|
+
:node_ids)
|
10637
|
+
SENSITIVE = []
|
10638
|
+
include Aws::Structure
|
10639
|
+
end
|
10640
|
+
|
10559
10641
|
# Specifies how Amazon Simple Storage Service (Amazon S3) data should be
|
10560
10642
|
# encrypted.
|
10561
10643
|
#
|
@@ -10593,6 +10675,7 @@ module Aws::Glue
|
|
10593
10675
|
# {
|
10594
10676
|
# path: "Path",
|
10595
10677
|
# exclusions: ["Path"],
|
10678
|
+
# connection_name: "ConnectionName",
|
10596
10679
|
# }
|
10597
10680
|
#
|
10598
10681
|
# @!attribute [rw] path
|
@@ -10608,11 +10691,18 @@ module Aws::Glue
|
|
10608
10691
|
# [1]: https://docs.aws.amazon.com/glue/latest/dg/add-crawler.html
|
10609
10692
|
# @return [Array<String>]
|
10610
10693
|
#
|
10694
|
+
# @!attribute [rw] connection_name
|
10695
|
+
# The name of a connection which allows a job or crawler to access
|
10696
|
+
# data in Amazon S3 within an Amazon Virtual Private Cloud environment
|
10697
|
+
# (Amazon VPC).
|
10698
|
+
# @return [String]
|
10699
|
+
#
|
10611
10700
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/S3Target AWS API Documentation
|
10612
10701
|
#
|
10613
10702
|
class S3Target < Struct.new(
|
10614
10703
|
:path,
|
10615
|
-
:exclusions
|
10704
|
+
:exclusions,
|
10705
|
+
:connection_name)
|
10616
10706
|
SENSITIVE = []
|
10617
10707
|
include Aws::Structure
|
10618
10708
|
end
|
@@ -10765,7 +10855,7 @@ module Aws::Glue
|
|
10765
10855
|
# }
|
10766
10856
|
#
|
10767
10857
|
# @!attribute [rw] catalog_id
|
10768
|
-
# A unique identifier, consisting of ` account_id
|
10858
|
+
# A unique identifier, consisting of ` account_id `.
|
10769
10859
|
# @return [String]
|
10770
10860
|
#
|
10771
10861
|
# @!attribute [rw] next_token
|
@@ -10775,6 +10865,17 @@ module Aws::Glue
|
|
10775
10865
|
# @!attribute [rw] filters
|
10776
10866
|
# A list of key-value pairs, and a comparator used to filter the
|
10777
10867
|
# search results. Returns all entities matching the predicate.
|
10868
|
+
#
|
10869
|
+
# The `Comparator` member of the `PropertyPredicate` struct is used
|
10870
|
+
# only for time fields, and can be omitted for other field types.
|
10871
|
+
# Also, when comparing string values, such as when `Key=Name`, a fuzzy
|
10872
|
+
# match algorithm is used. The `Key` field (for example, the value of
|
10873
|
+
# the `Name` field) is split on certain punctuation characters, for
|
10874
|
+
# example, -, :, #, etc. into tokens. Then each token is exact-match
|
10875
|
+
# compared with the `Value` member of `PropertyPredicate`. For
|
10876
|
+
# example, if `Key=Name` and `Value=link`, tables named
|
10877
|
+
# `customer-link` and `xx-link-yy` are returned, but `xxlinkyy` is not
|
10878
|
+
# returned.
|
10778
10879
|
# @return [Array<Types::PropertyPredicate>]
|
10779
10880
|
#
|
10780
10881
|
# @!attribute [rw] search_text
|
@@ -12885,7 +12986,7 @@ module Aws::Glue
|
|
12885
12986
|
# connection_input: { # required
|
12886
12987
|
# name: "NameString", # required
|
12887
12988
|
# description: "DescriptionString",
|
12888
|
-
# connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA
|
12989
|
+
# connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK
|
12889
12990
|
# match_criteria: ["NameString"],
|
12890
12991
|
# connection_properties: { # required
|
12891
12992
|
# "HOST" => "ValueString",
|
@@ -12939,6 +13040,7 @@ module Aws::Glue
|
|
12939
13040
|
# {
|
12940
13041
|
# path: "Path",
|
12941
13042
|
# exclusions: ["Path"],
|
13043
|
+
# connection_name: "ConnectionName",
|
12942
13044
|
# },
|
12943
13045
|
# ],
|
12944
13046
|
# jdbc_targets: [
|
@@ -13652,11 +13754,15 @@ module Aws::Glue
|
|
13652
13754
|
# @return [String]
|
13653
13755
|
#
|
13654
13756
|
# @!attribute [rw] partition_value_list
|
13655
|
-
#
|
13757
|
+
# List of partition key values that define the partition to update.
|
13656
13758
|
# @return [Array<String>]
|
13657
13759
|
#
|
13658
13760
|
# @!attribute [rw] partition_input
|
13659
13761
|
# The new partition object to update the partition to.
|
13762
|
+
#
|
13763
|
+
# The `Values` property can't be changed. If you want to change the
|
13764
|
+
# partition key values for a partition, delete and recreate the
|
13765
|
+
# partition.
|
13660
13766
|
# @return [Types::PartitionInput]
|
13661
13767
|
#
|
13662
13768
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdatePartitionRequest AWS API Documentation
|
@@ -13922,6 +14028,7 @@ module Aws::Glue
|
|
13922
14028
|
# default_run_properties: {
|
13923
14029
|
# "IdString" => "GenericString",
|
13924
14030
|
# },
|
14031
|
+
# max_concurrent_runs: 1,
|
13925
14032
|
# }
|
13926
14033
|
#
|
13927
14034
|
# @!attribute [rw] name
|
@@ -13937,12 +14044,21 @@ module Aws::Glue
|
|
13937
14044
|
# the workflow.
|
13938
14045
|
# @return [Hash<String,String>]
|
13939
14046
|
#
|
14047
|
+
# @!attribute [rw] max_concurrent_runs
|
14048
|
+
# You can use this parameter to prevent unwanted multiple updates to
|
14049
|
+
# data, to control costs, or in some cases, to prevent exceeding the
|
14050
|
+
# maximum number of concurrent runs of any of the component jobs. If
|
14051
|
+
# you leave this parameter blank, there is no limit to the number of
|
14052
|
+
# concurrent workflow runs.
|
14053
|
+
# @return [Integer]
|
14054
|
+
#
|
13940
14055
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateWorkflowRequest AWS API Documentation
|
13941
14056
|
#
|
13942
14057
|
class UpdateWorkflowRequest < Struct.new(
|
13943
14058
|
:name,
|
13944
14059
|
:description,
|
13945
|
-
:default_run_properties
|
14060
|
+
:default_run_properties,
|
14061
|
+
:max_concurrent_runs)
|
13946
14062
|
SENSITIVE = []
|
13947
14063
|
include Aws::Structure
|
13948
14064
|
end
|
@@ -14159,6 +14275,14 @@ module Aws::Glue
|
|
14159
14275
|
# edges.
|
14160
14276
|
# @return [Types::WorkflowGraph]
|
14161
14277
|
#
|
14278
|
+
# @!attribute [rw] max_concurrent_runs
|
14279
|
+
# You can use this parameter to prevent unwanted multiple updates to
|
14280
|
+
# data, to control costs, or in some cases, to prevent exceeding the
|
14281
|
+
# maximum number of concurrent runs of any of the component jobs. If
|
14282
|
+
# you leave this parameter blank, there is no limit to the number of
|
14283
|
+
# concurrent workflow runs.
|
14284
|
+
# @return [Integer]
|
14285
|
+
#
|
14162
14286
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Workflow AWS API Documentation
|
14163
14287
|
#
|
14164
14288
|
class Workflow < Struct.new(
|
@@ -14168,7 +14292,8 @@ module Aws::Glue
|
|
14168
14292
|
:created_on,
|
14169
14293
|
:last_modified_on,
|
14170
14294
|
:last_run,
|
14171
|
-
:graph
|
14295
|
+
:graph,
|
14296
|
+
:max_concurrent_runs)
|
14172
14297
|
SENSITIVE = []
|
14173
14298
|
include Aws::Structure
|
14174
14299
|
end
|
@@ -14200,13 +14325,17 @@ module Aws::Glue
|
|
14200
14325
|
# information.
|
14201
14326
|
#
|
14202
14327
|
# @!attribute [rw] name
|
14203
|
-
# Name of the workflow
|
14328
|
+
# Name of the workflow that was executed.
|
14204
14329
|
# @return [String]
|
14205
14330
|
#
|
14206
14331
|
# @!attribute [rw] workflow_run_id
|
14207
14332
|
# The ID of this workflow run.
|
14208
14333
|
# @return [String]
|
14209
14334
|
#
|
14335
|
+
# @!attribute [rw] previous_run_id
|
14336
|
+
# The ID of the previous workflow run.
|
14337
|
+
# @return [String]
|
14338
|
+
#
|
14210
14339
|
# @!attribute [rw] workflow_run_properties
|
14211
14340
|
# The workflow run properties which were set during the run.
|
14212
14341
|
# @return [Hash<String,String>]
|
@@ -14223,6 +14352,12 @@ module Aws::Glue
|
|
14223
14352
|
# The status of the workflow run.
|
14224
14353
|
# @return [String]
|
14225
14354
|
#
|
14355
|
+
# @!attribute [rw] error_message
|
14356
|
+
# This error message describes any error that may have occurred in
|
14357
|
+
# starting the workflow run. Currently the only error message is
|
14358
|
+
# "Concurrent runs exceeded for workflow: `foo`."
|
14359
|
+
# @return [String]
|
14360
|
+
#
|
14226
14361
|
# @!attribute [rw] statistics
|
14227
14362
|
# The statistics of the run.
|
14228
14363
|
# @return [Types::WorkflowRunStatistics]
|
@@ -14238,10 +14373,12 @@ module Aws::Glue
|
|
14238
14373
|
class WorkflowRun < Struct.new(
|
14239
14374
|
:name,
|
14240
14375
|
:workflow_run_id,
|
14376
|
+
:previous_run_id,
|
14241
14377
|
:workflow_run_properties,
|
14242
14378
|
:started_on,
|
14243
14379
|
:completed_on,
|
14244
14380
|
:status,
|
14381
|
+
:error_message,
|
14245
14382
|
:statistics,
|
14246
14383
|
:graph)
|
14247
14384
|
SENSITIVE = []
|
@@ -14255,19 +14392,19 @@ module Aws::Glue
|
|
14255
14392
|
# @return [Integer]
|
14256
14393
|
#
|
14257
14394
|
# @!attribute [rw] timeout_actions
|
14258
|
-
# Total number of Actions
|
14395
|
+
# Total number of Actions that timed out.
|
14259
14396
|
# @return [Integer]
|
14260
14397
|
#
|
14261
14398
|
# @!attribute [rw] failed_actions
|
14262
|
-
# Total number of Actions
|
14399
|
+
# Total number of Actions that have failed.
|
14263
14400
|
# @return [Integer]
|
14264
14401
|
#
|
14265
14402
|
# @!attribute [rw] stopped_actions
|
14266
|
-
# Total number of Actions
|
14403
|
+
# Total number of Actions that have stopped.
|
14267
14404
|
# @return [Integer]
|
14268
14405
|
#
|
14269
14406
|
# @!attribute [rw] succeeded_actions
|
14270
|
-
# Total number of Actions
|
14407
|
+
# Total number of Actions that have succeeded.
|
14271
14408
|
# @return [Integer]
|
14272
14409
|
#
|
14273
14410
|
# @!attribute [rw] running_actions
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-glue
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.68.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|