aws-sdk-glue 1.64.0 → 1.69.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/lib/aws-sdk-glue.rb +2 -2
- data/lib/aws-sdk-glue/client.rb +170 -20
- data/lib/aws-sdk-glue/client_api.rb +98 -0
- data/lib/aws-sdk-glue/errors.rb +16 -0
- data/lib/aws-sdk-glue/types.rb +289 -37
- 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: 6ec4c8bd66cdeba2038e7e85b43099f06d90e9d194b69532aa25929f3eddfc68
|
4
|
+
data.tar.gz: 3e1a0afbdb424a3d78d35b537e0d268098c8219adb24606a4e069263ba499bc5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8778fe232a409d2ae586399db858a3c51c6feaeea7e8842ba585ae1ddb748dc5ac1c2d0a0bdbe25344f002f44dcb9b57b4896ee8691b4c18e98b9b8bc1168d6b
|
7
|
+
data.tar.gz: e31a1d0383e962ab1b867d948fb5cfcd46ff3cd0f29105c1938e4c07ce8967cc6c0a74c66a9e88369512c851578d495c96c10ddd036243e8a100dc17109e177d
|
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
|
#
|
@@ -2307,6 +2328,10 @@ module Aws::Glue
|
|
2307
2328
|
# The `TableInput` object that defines the metadata table to create in
|
2308
2329
|
# the catalog.
|
2309
2330
|
#
|
2331
|
+
# @option params [Array<Types::PartitionIndex>] :partition_indexes
|
2332
|
+
# A list of partition indexes, `PartitionIndex` structures, to create in
|
2333
|
+
# the table.
|
2334
|
+
#
|
2310
2335
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2311
2336
|
#
|
2312
2337
|
# @example Request syntax with placeholder values
|
@@ -2385,6 +2410,12 @@ module Aws::Glue
|
|
2385
2410
|
# name: "NameString",
|
2386
2411
|
# },
|
2387
2412
|
# },
|
2413
|
+
# partition_indexes: [
|
2414
|
+
# {
|
2415
|
+
# keys: ["NameString"], # required
|
2416
|
+
# index_name: "NameString", # required
|
2417
|
+
# },
|
2418
|
+
# ],
|
2388
2419
|
# })
|
2389
2420
|
#
|
2390
2421
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTable AWS API Documentation
|
@@ -2558,6 +2589,13 @@ module Aws::Glue
|
|
2558
2589
|
# @option params [Hash<String,String>] :tags
|
2559
2590
|
# The tags to be used with this workflow.
|
2560
2591
|
#
|
2592
|
+
# @option params [Integer] :max_concurrent_runs
|
2593
|
+
# You can use this parameter to prevent unwanted multiple updates to
|
2594
|
+
# data, to control costs, or in some cases, to prevent exceeding the
|
2595
|
+
# maximum number of concurrent runs of any of the component jobs. If you
|
2596
|
+
# leave this parameter blank, there is no limit to the number of
|
2597
|
+
# concurrent workflow runs.
|
2598
|
+
#
|
2561
2599
|
# @return [Types::CreateWorkflowResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2562
2600
|
#
|
2563
2601
|
# * {Types::CreateWorkflowResponse#name #name} => String
|
@@ -2573,6 +2611,7 @@ module Aws::Glue
|
|
2573
2611
|
# tags: {
|
2574
2612
|
# "TagKey" => "TagValue",
|
2575
2613
|
# },
|
2614
|
+
# max_concurrent_runs: 1,
|
2576
2615
|
# })
|
2577
2616
|
#
|
2578
2617
|
# @example Response structure
|
@@ -3464,7 +3503,7 @@ module Aws::Glue
|
|
3464
3503
|
#
|
3465
3504
|
# resp.connection.name #=> String
|
3466
3505
|
# resp.connection.description #=> String
|
3467
|
-
# resp.connection.connection_type #=> String, one of "JDBC", "SFTP", "MONGODB", "KAFKA"
|
3506
|
+
# resp.connection.connection_type #=> String, one of "JDBC", "SFTP", "MONGODB", "KAFKA", "NETWORK"
|
3468
3507
|
# resp.connection.match_criteria #=> Array
|
3469
3508
|
# resp.connection.match_criteria[0] #=> String
|
3470
3509
|
# resp.connection.connection_properties #=> Hash
|
@@ -3522,7 +3561,7 @@ module Aws::Glue
|
|
3522
3561
|
# catalog_id: "CatalogIdString",
|
3523
3562
|
# filter: {
|
3524
3563
|
# match_criteria: ["NameString"],
|
3525
|
-
# connection_type: "JDBC", # accepts JDBC, SFTP, MONGODB, KAFKA
|
3564
|
+
# connection_type: "JDBC", # accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK
|
3526
3565
|
# },
|
3527
3566
|
# hide_password: false,
|
3528
3567
|
# next_token: "Token",
|
@@ -3534,7 +3573,7 @@ module Aws::Glue
|
|
3534
3573
|
# resp.connection_list #=> Array
|
3535
3574
|
# resp.connection_list[0].name #=> String
|
3536
3575
|
# resp.connection_list[0].description #=> String
|
3537
|
-
# resp.connection_list[0].connection_type #=> String, one of "JDBC", "SFTP", "MONGODB", "KAFKA"
|
3576
|
+
# resp.connection_list[0].connection_type #=> String, one of "JDBC", "SFTP", "MONGODB", "KAFKA", "NETWORK"
|
3538
3577
|
# resp.connection_list[0].match_criteria #=> Array
|
3539
3578
|
# resp.connection_list[0].match_criteria[0] #=> String
|
3540
3579
|
# resp.connection_list[0].connection_properties #=> Hash
|
@@ -3580,6 +3619,7 @@ module Aws::Glue
|
|
3580
3619
|
# resp.crawler.targets.s3_targets[0].path #=> String
|
3581
3620
|
# resp.crawler.targets.s3_targets[0].exclusions #=> Array
|
3582
3621
|
# resp.crawler.targets.s3_targets[0].exclusions[0] #=> String
|
3622
|
+
# resp.crawler.targets.s3_targets[0].connection_name #=> String
|
3583
3623
|
# resp.crawler.targets.jdbc_targets #=> Array
|
3584
3624
|
# resp.crawler.targets.jdbc_targets[0].connection_name #=> String
|
3585
3625
|
# resp.crawler.targets.jdbc_targets[0].path #=> String
|
@@ -3704,6 +3744,7 @@ module Aws::Glue
|
|
3704
3744
|
# resp.crawlers[0].targets.s3_targets[0].path #=> String
|
3705
3745
|
# resp.crawlers[0].targets.s3_targets[0].exclusions #=> Array
|
3706
3746
|
# resp.crawlers[0].targets.s3_targets[0].exclusions[0] #=> String
|
3747
|
+
# resp.crawlers[0].targets.s3_targets[0].connection_name #=> String
|
3707
3748
|
# resp.crawlers[0].targets.jdbc_targets #=> Array
|
3708
3749
|
# resp.crawlers[0].targets.jdbc_targets[0].connection_name #=> String
|
3709
3750
|
# resp.crawlers[0].targets.jdbc_targets[0].path #=> String
|
@@ -4825,6 +4866,57 @@ module Aws::Glue
|
|
4825
4866
|
req.send_request(options)
|
4826
4867
|
end
|
4827
4868
|
|
4869
|
+
# Retrieves the partition indexes associated with a table.
|
4870
|
+
#
|
4871
|
+
# @option params [String] :catalog_id
|
4872
|
+
# The catalog ID where the table resides.
|
4873
|
+
#
|
4874
|
+
# @option params [required, String] :database_name
|
4875
|
+
# Specifies the name of a database from which you want to retrieve
|
4876
|
+
# partition indexes.
|
4877
|
+
#
|
4878
|
+
# @option params [required, String] :table_name
|
4879
|
+
# Specifies the name of a table for which you want to retrieve the
|
4880
|
+
# partition indexes.
|
4881
|
+
#
|
4882
|
+
# @option params [String] :next_token
|
4883
|
+
# A continuation token, included if this is a continuation call.
|
4884
|
+
#
|
4885
|
+
# @return [Types::GetPartitionIndexesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4886
|
+
#
|
4887
|
+
# * {Types::GetPartitionIndexesResponse#partition_index_descriptor_list #partition_index_descriptor_list} => Array<Types::PartitionIndexDescriptor>
|
4888
|
+
# * {Types::GetPartitionIndexesResponse#next_token #next_token} => String
|
4889
|
+
#
|
4890
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4891
|
+
#
|
4892
|
+
# @example Request syntax with placeholder values
|
4893
|
+
#
|
4894
|
+
# resp = client.get_partition_indexes({
|
4895
|
+
# catalog_id: "CatalogIdString",
|
4896
|
+
# database_name: "NameString", # required
|
4897
|
+
# table_name: "NameString", # required
|
4898
|
+
# next_token: "Token",
|
4899
|
+
# })
|
4900
|
+
#
|
4901
|
+
# @example Response structure
|
4902
|
+
#
|
4903
|
+
# resp.partition_index_descriptor_list #=> Array
|
4904
|
+
# resp.partition_index_descriptor_list[0].index_name #=> String
|
4905
|
+
# resp.partition_index_descriptor_list[0].keys #=> Array
|
4906
|
+
# resp.partition_index_descriptor_list[0].keys[0].name #=> String
|
4907
|
+
# resp.partition_index_descriptor_list[0].keys[0].type #=> String
|
4908
|
+
# resp.partition_index_descriptor_list[0].index_status #=> String, one of "ACTIVE"
|
4909
|
+
# resp.next_token #=> String
|
4910
|
+
#
|
4911
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartitionIndexes AWS API Documentation
|
4912
|
+
#
|
4913
|
+
# @overload get_partition_indexes(params = {})
|
4914
|
+
# @param [Hash] params ({})
|
4915
|
+
def get_partition_indexes(params = {}, options = {})
|
4916
|
+
req = build_request(:get_partition_indexes, params)
|
4917
|
+
req.send_request(options)
|
4918
|
+
end
|
4919
|
+
|
4828
4920
|
# Retrieves information about the partitions in a table.
|
4829
4921
|
#
|
4830
4922
|
# @option params [String] :catalog_id
|
@@ -5954,11 +6046,13 @@ module Aws::Glue
|
|
5954
6046
|
# resp.workflow.last_modified_on #=> Time
|
5955
6047
|
# resp.workflow.last_run.name #=> String
|
5956
6048
|
# resp.workflow.last_run.workflow_run_id #=> String
|
6049
|
+
# resp.workflow.last_run.previous_run_id #=> String
|
5957
6050
|
# resp.workflow.last_run.workflow_run_properties #=> Hash
|
5958
6051
|
# resp.workflow.last_run.workflow_run_properties["IdString"] #=> String
|
5959
6052
|
# resp.workflow.last_run.started_on #=> Time
|
5960
6053
|
# resp.workflow.last_run.completed_on #=> Time
|
5961
|
-
# resp.workflow.last_run.status #=> String, one of "RUNNING", "COMPLETED", "STOPPING", "STOPPED"
|
6054
|
+
# resp.workflow.last_run.status #=> String, one of "RUNNING", "COMPLETED", "STOPPING", "STOPPED", "ERROR"
|
6055
|
+
# resp.workflow.last_run.error_message #=> String
|
5962
6056
|
# resp.workflow.last_run.statistics.total_actions #=> Integer
|
5963
6057
|
# resp.workflow.last_run.statistics.timeout_actions #=> Integer
|
5964
6058
|
# resp.workflow.last_run.statistics.failed_actions #=> Integer
|
@@ -6089,6 +6183,7 @@ module Aws::Glue
|
|
6089
6183
|
# resp.workflow.graph.edges #=> Array
|
6090
6184
|
# resp.workflow.graph.edges[0].source_id #=> String
|
6091
6185
|
# resp.workflow.graph.edges[0].destination_id #=> String
|
6186
|
+
# resp.workflow.max_concurrent_runs #=> Integer
|
6092
6187
|
#
|
6093
6188
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetWorkflow AWS API Documentation
|
6094
6189
|
#
|
@@ -6126,11 +6221,13 @@ module Aws::Glue
|
|
6126
6221
|
#
|
6127
6222
|
# resp.run.name #=> String
|
6128
6223
|
# resp.run.workflow_run_id #=> String
|
6224
|
+
# resp.run.previous_run_id #=> String
|
6129
6225
|
# resp.run.workflow_run_properties #=> Hash
|
6130
6226
|
# resp.run.workflow_run_properties["IdString"] #=> String
|
6131
6227
|
# resp.run.started_on #=> Time
|
6132
6228
|
# resp.run.completed_on #=> Time
|
6133
|
-
# resp.run.status #=> String, one of "RUNNING", "COMPLETED", "STOPPING", "STOPPED"
|
6229
|
+
# resp.run.status #=> String, one of "RUNNING", "COMPLETED", "STOPPING", "STOPPED", "ERROR"
|
6230
|
+
# resp.run.error_message #=> String
|
6134
6231
|
# resp.run.statistics.total_actions #=> Integer
|
6135
6232
|
# resp.run.statistics.timeout_actions #=> Integer
|
6136
6233
|
# resp.run.statistics.failed_actions #=> Integer
|
@@ -6277,11 +6374,13 @@ module Aws::Glue
|
|
6277
6374
|
# resp.runs #=> Array
|
6278
6375
|
# resp.runs[0].name #=> String
|
6279
6376
|
# resp.runs[0].workflow_run_id #=> String
|
6377
|
+
# resp.runs[0].previous_run_id #=> String
|
6280
6378
|
# resp.runs[0].workflow_run_properties #=> Hash
|
6281
6379
|
# resp.runs[0].workflow_run_properties["IdString"] #=> String
|
6282
6380
|
# resp.runs[0].started_on #=> Time
|
6283
6381
|
# resp.runs[0].completed_on #=> Time
|
6284
|
-
# resp.runs[0].status #=> String, one of "RUNNING", "COMPLETED", "STOPPING", "STOPPED"
|
6382
|
+
# resp.runs[0].status #=> String, one of "RUNNING", "COMPLETED", "STOPPING", "STOPPED", "ERROR"
|
6383
|
+
# resp.runs[0].error_message #=> String
|
6285
6384
|
# resp.runs[0].statistics.total_actions #=> Integer
|
6286
6385
|
# resp.runs[0].statistics.timeout_actions #=> Integer
|
6287
6386
|
# resp.runs[0].statistics.failed_actions #=> Integer
|
@@ -6879,6 +6978,48 @@ module Aws::Glue
|
|
6879
6978
|
req.send_request(options)
|
6880
6979
|
end
|
6881
6980
|
|
6981
|
+
# Restarts selected nodes of a previous partially completed workflow run
|
6982
|
+
# and resumes the workflow run. The selected nodes and all nodes that
|
6983
|
+
# are downstream from the selected nodes are run.
|
6984
|
+
#
|
6985
|
+
# @option params [required, String] :name
|
6986
|
+
# The name of the workflow to resume.
|
6987
|
+
#
|
6988
|
+
# @option params [required, String] :run_id
|
6989
|
+
# The ID of the workflow run to resume.
|
6990
|
+
#
|
6991
|
+
# @option params [required, Array<String>] :node_ids
|
6992
|
+
# A list of the node IDs for the nodes you want to restart. The nodes
|
6993
|
+
# that are to be restarted must have a run attempt in the original run.
|
6994
|
+
#
|
6995
|
+
# @return [Types::ResumeWorkflowRunResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6996
|
+
#
|
6997
|
+
# * {Types::ResumeWorkflowRunResponse#run_id #run_id} => String
|
6998
|
+
# * {Types::ResumeWorkflowRunResponse#node_ids #node_ids} => Array<String>
|
6999
|
+
#
|
7000
|
+
# @example Request syntax with placeholder values
|
7001
|
+
#
|
7002
|
+
# resp = client.resume_workflow_run({
|
7003
|
+
# name: "NameString", # required
|
7004
|
+
# run_id: "IdString", # required
|
7005
|
+
# node_ids: ["NameString"], # required
|
7006
|
+
# })
|
7007
|
+
#
|
7008
|
+
# @example Response structure
|
7009
|
+
#
|
7010
|
+
# resp.run_id #=> String
|
7011
|
+
# resp.node_ids #=> Array
|
7012
|
+
# resp.node_ids[0] #=> String
|
7013
|
+
#
|
7014
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ResumeWorkflowRun AWS API Documentation
|
7015
|
+
#
|
7016
|
+
# @overload resume_workflow_run(params = {})
|
7017
|
+
# @param [Hash] params ({})
|
7018
|
+
def resume_workflow_run(params = {}, options = {})
|
7019
|
+
req = build_request(:resume_workflow_run, params)
|
7020
|
+
req.send_request(options)
|
7021
|
+
end
|
7022
|
+
|
6882
7023
|
# Searches a set of tables based on properties in the table metadata as
|
6883
7024
|
# well as on the parent database. You can search against text or filter
|
6884
7025
|
# conditions.
|
@@ -7982,7 +8123,7 @@ module Aws::Glue
|
|
7982
8123
|
# connection_input: { # required
|
7983
8124
|
# name: "NameString", # required
|
7984
8125
|
# description: "DescriptionString",
|
7985
|
-
# connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA
|
8126
|
+
# connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK
|
7986
8127
|
# match_criteria: ["NameString"],
|
7987
8128
|
# connection_properties: { # required
|
7988
8129
|
# "HOST" => "ValueString",
|
@@ -8072,6 +8213,7 @@ module Aws::Glue
|
|
8072
8213
|
# {
|
8073
8214
|
# path: "Path",
|
8074
8215
|
# exclusions: ["Path"],
|
8216
|
+
# connection_name: "ConnectionName",
|
8075
8217
|
# },
|
8076
8218
|
# ],
|
8077
8219
|
# jdbc_targets: [
|
@@ -8798,6 +8940,13 @@ module Aws::Glue
|
|
8798
8940
|
# A collection of properties to be used as part of each execution of the
|
8799
8941
|
# workflow.
|
8800
8942
|
#
|
8943
|
+
# @option params [Integer] :max_concurrent_runs
|
8944
|
+
# You can use this parameter to prevent unwanted multiple updates to
|
8945
|
+
# data, to control costs, or in some cases, to prevent exceeding the
|
8946
|
+
# maximum number of concurrent runs of any of the component jobs. If you
|
8947
|
+
# leave this parameter blank, there is no limit to the number of
|
8948
|
+
# concurrent workflow runs.
|
8949
|
+
#
|
8801
8950
|
# @return [Types::UpdateWorkflowResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8802
8951
|
#
|
8803
8952
|
# * {Types::UpdateWorkflowResponse#name #name} => String
|
@@ -8810,6 +8959,7 @@ module Aws::Glue
|
|
8810
8959
|
# default_run_properties: {
|
8811
8960
|
# "IdString" => "GenericString",
|
8812
8961
|
# },
|
8962
|
+
# max_concurrent_runs: 1,
|
8813
8963
|
# })
|
8814
8964
|
#
|
8815
8965
|
# @example Response structure
|
@@ -8838,7 +8988,7 @@ module Aws::Glue
|
|
8838
8988
|
params: params,
|
8839
8989
|
config: config)
|
8840
8990
|
context[:gem_name] = 'aws-sdk-glue'
|
8841
|
-
context[:gem_version] = '1.
|
8991
|
+
context[:gem_version] = '1.69.0'
|
8842
8992
|
Seahorse::Client::Request.new(handlers, context)
|
8843
8993
|
end
|
8844
8994
|
|
@@ -103,6 +103,7 @@ module Aws::Glue
|
|
103
103
|
Condition = Shapes::StructureShape.new(name: 'Condition')
|
104
104
|
ConditionCheckFailureException = Shapes::StructureShape.new(name: 'ConditionCheckFailureException')
|
105
105
|
ConditionList = Shapes::ListShape.new(name: 'ConditionList')
|
106
|
+
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
106
107
|
ConfusionMatrix = Shapes::StructureShape.new(name: 'ConfusionMatrix')
|
107
108
|
Connection = Shapes::StructureShape.new(name: 'Connection')
|
108
109
|
ConnectionInput = Shapes::StructureShape.new(name: 'ConnectionInput')
|
@@ -305,6 +306,8 @@ module Aws::Glue
|
|
305
306
|
GetMLTransformsResponse = Shapes::StructureShape.new(name: 'GetMLTransformsResponse')
|
306
307
|
GetMappingRequest = Shapes::StructureShape.new(name: 'GetMappingRequest')
|
307
308
|
GetMappingResponse = Shapes::StructureShape.new(name: 'GetMappingResponse')
|
309
|
+
GetPartitionIndexesRequest = Shapes::StructureShape.new(name: 'GetPartitionIndexesRequest')
|
310
|
+
GetPartitionIndexesResponse = Shapes::StructureShape.new(name: 'GetPartitionIndexesResponse')
|
308
311
|
GetPartitionRequest = Shapes::StructureShape.new(name: 'GetPartitionRequest')
|
309
312
|
GetPartitionResponse = Shapes::StructureShape.new(name: 'GetPartitionResponse')
|
310
313
|
GetPartitionsRequest = Shapes::StructureShape.new(name: 'GetPartitionsRequest')
|
@@ -385,6 +388,9 @@ module Aws::Glue
|
|
385
388
|
JsonClassifier = Shapes::StructureShape.new(name: 'JsonClassifier')
|
386
389
|
JsonPath = Shapes::StringShape.new(name: 'JsonPath')
|
387
390
|
JsonValue = Shapes::StringShape.new(name: 'JsonValue')
|
391
|
+
KeyList = Shapes::ListShape.new(name: 'KeyList')
|
392
|
+
KeySchemaElement = Shapes::StructureShape.new(name: 'KeySchemaElement')
|
393
|
+
KeySchemaElementList = Shapes::ListShape.new(name: 'KeySchemaElementList')
|
388
394
|
KeyString = Shapes::StringShape.new(name: 'KeyString')
|
389
395
|
KmsKeyArn = Shapes::StringShape.new(name: 'KmsKeyArn')
|
390
396
|
LabelCount = Shapes::IntegerShape.new(name: 'LabelCount')
|
@@ -428,6 +434,7 @@ module Aws::Glue
|
|
428
434
|
NameStringList = Shapes::ListShape.new(name: 'NameStringList')
|
429
435
|
NoScheduleException = Shapes::StructureShape.new(name: 'NoScheduleException')
|
430
436
|
Node = Shapes::StructureShape.new(name: 'Node')
|
437
|
+
NodeIdList = Shapes::ListShape.new(name: 'NodeIdList')
|
431
438
|
NodeList = Shapes::ListShape.new(name: 'NodeList')
|
432
439
|
NodeType = Shapes::StringShape.new(name: 'NodeType')
|
433
440
|
NonNegativeDouble = Shapes::FloatShape.new(name: 'NonNegativeDouble')
|
@@ -449,6 +456,11 @@ module Aws::Glue
|
|
449
456
|
Partition = Shapes::StructureShape.new(name: 'Partition')
|
450
457
|
PartitionError = Shapes::StructureShape.new(name: 'PartitionError')
|
451
458
|
PartitionErrors = Shapes::ListShape.new(name: 'PartitionErrors')
|
459
|
+
PartitionIndex = Shapes::StructureShape.new(name: 'PartitionIndex')
|
460
|
+
PartitionIndexDescriptor = Shapes::StructureShape.new(name: 'PartitionIndexDescriptor')
|
461
|
+
PartitionIndexDescriptorList = Shapes::ListShape.new(name: 'PartitionIndexDescriptorList')
|
462
|
+
PartitionIndexList = Shapes::ListShape.new(name: 'PartitionIndexList')
|
463
|
+
PartitionIndexStatus = Shapes::StringShape.new(name: 'PartitionIndexStatus')
|
452
464
|
PartitionInput = Shapes::StructureShape.new(name: 'PartitionInput')
|
453
465
|
PartitionInputList = Shapes::ListShape.new(name: 'PartitionInputList')
|
454
466
|
PartitionList = Shapes::ListShape.new(name: 'PartitionList')
|
@@ -485,6 +497,8 @@ module Aws::Glue
|
|
485
497
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
486
498
|
ResourceUri = Shapes::StructureShape.new(name: 'ResourceUri')
|
487
499
|
ResourceUriList = Shapes::ListShape.new(name: 'ResourceUriList')
|
500
|
+
ResumeWorkflowRunRequest = Shapes::StructureShape.new(name: 'ResumeWorkflowRunRequest')
|
501
|
+
ResumeWorkflowRunResponse = Shapes::StructureShape.new(name: 'ResumeWorkflowRunResponse')
|
488
502
|
Role = Shapes::StringShape.new(name: 'Role')
|
489
503
|
RoleArn = Shapes::StringShape.new(name: 'RoleArn')
|
490
504
|
RoleString = Shapes::StringShape.new(name: 'RoleString')
|
@@ -923,6 +937,9 @@ module Aws::Glue
|
|
923
937
|
|
924
938
|
ConditionList.member = Shapes::ShapeRef.new(shape: Condition)
|
925
939
|
|
940
|
+
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
|
941
|
+
ConflictException.struct_class = Types::ConflictException
|
942
|
+
|
926
943
|
ConfusionMatrix.add_member(:num_true_positives, Shapes::ShapeRef.new(shape: RecordsCount, location_name: "NumTruePositives"))
|
927
944
|
ConfusionMatrix.add_member(:num_false_positives, Shapes::ShapeRef.new(shape: RecordsCount, location_name: "NumFalsePositives"))
|
928
945
|
ConfusionMatrix.add_member(:num_true_negatives, Shapes::ShapeRef.new(shape: RecordsCount, location_name: "NumTrueNegatives"))
|
@@ -1185,6 +1202,7 @@ module Aws::Glue
|
|
1185
1202
|
CreateTableRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
|
1186
1203
|
CreateTableRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
|
1187
1204
|
CreateTableRequest.add_member(:table_input, Shapes::ShapeRef.new(shape: TableInput, required: true, location_name: "TableInput"))
|
1205
|
+
CreateTableRequest.add_member(:partition_indexes, Shapes::ShapeRef.new(shape: PartitionIndexList, location_name: "PartitionIndexes"))
|
1188
1206
|
CreateTableRequest.struct_class = Types::CreateTableRequest
|
1189
1207
|
|
1190
1208
|
CreateTableResponse.struct_class = Types::CreateTableResponse
|
@@ -1214,6 +1232,7 @@ module Aws::Glue
|
|
1214
1232
|
CreateWorkflowRequest.add_member(:description, Shapes::ShapeRef.new(shape: GenericString, location_name: "Description"))
|
1215
1233
|
CreateWorkflowRequest.add_member(:default_run_properties, Shapes::ShapeRef.new(shape: WorkflowRunProperties, location_name: "DefaultRunProperties"))
|
1216
1234
|
CreateWorkflowRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "Tags"))
|
1235
|
+
CreateWorkflowRequest.add_member(:max_concurrent_runs, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "MaxConcurrentRuns"))
|
1217
1236
|
CreateWorkflowRequest.struct_class = Types::CreateWorkflowRequest
|
1218
1237
|
|
1219
1238
|
CreateWorkflowResponse.add_member(:name, Shapes::ShapeRef.new(shape: NameString, location_name: "Name"))
|
@@ -1745,6 +1764,16 @@ module Aws::Glue
|
|
1745
1764
|
GetMappingResponse.add_member(:mapping, Shapes::ShapeRef.new(shape: MappingList, required: true, location_name: "Mapping"))
|
1746
1765
|
GetMappingResponse.struct_class = Types::GetMappingResponse
|
1747
1766
|
|
1767
|
+
GetPartitionIndexesRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
|
1768
|
+
GetPartitionIndexesRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
|
1769
|
+
GetPartitionIndexesRequest.add_member(:table_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "TableName"))
|
1770
|
+
GetPartitionIndexesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
1771
|
+
GetPartitionIndexesRequest.struct_class = Types::GetPartitionIndexesRequest
|
1772
|
+
|
1773
|
+
GetPartitionIndexesResponse.add_member(:partition_index_descriptor_list, Shapes::ShapeRef.new(shape: PartitionIndexDescriptorList, location_name: "PartitionIndexDescriptorList"))
|
1774
|
+
GetPartitionIndexesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
1775
|
+
GetPartitionIndexesResponse.struct_class = Types::GetPartitionIndexesResponse
|
1776
|
+
|
1748
1777
|
GetPartitionRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
|
1749
1778
|
GetPartitionRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
|
1750
1779
|
GetPartitionRequest.add_member(:table_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "TableName"))
|
@@ -2077,6 +2106,14 @@ module Aws::Glue
|
|
2077
2106
|
JsonClassifier.add_member(:json_path, Shapes::ShapeRef.new(shape: JsonPath, required: true, location_name: "JsonPath"))
|
2078
2107
|
JsonClassifier.struct_class = Types::JsonClassifier
|
2079
2108
|
|
2109
|
+
KeyList.member = Shapes::ShapeRef.new(shape: NameString)
|
2110
|
+
|
2111
|
+
KeySchemaElement.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
|
2112
|
+
KeySchemaElement.add_member(:type, Shapes::ShapeRef.new(shape: ColumnTypeString, required: true, location_name: "Type"))
|
2113
|
+
KeySchemaElement.struct_class = Types::KeySchemaElement
|
2114
|
+
|
2115
|
+
KeySchemaElementList.member = Shapes::ShapeRef.new(shape: KeySchemaElement)
|
2116
|
+
|
2080
2117
|
LabelingSetGenerationTaskRunProperties.add_member(:output_s3_path, Shapes::ShapeRef.new(shape: UriString, location_name: "OutputS3Path"))
|
2081
2118
|
LabelingSetGenerationTaskRunProperties.struct_class = Types::LabelingSetGenerationTaskRunProperties
|
2082
2119
|
|
@@ -2209,6 +2246,8 @@ module Aws::Glue
|
|
2209
2246
|
Node.add_member(:crawler_details, Shapes::ShapeRef.new(shape: CrawlerNodeDetails, location_name: "CrawlerDetails"))
|
2210
2247
|
Node.struct_class = Types::Node
|
2211
2248
|
|
2249
|
+
NodeIdList.member = Shapes::ShapeRef.new(shape: NameString)
|
2250
|
+
|
2212
2251
|
NodeList.member = Shapes::ShapeRef.new(shape: Node)
|
2213
2252
|
|
2214
2253
|
NotificationProperty.add_member(:notify_delay_after, Shapes::ShapeRef.new(shape: NotifyDelayAfter, location_name: "NotifyDelayAfter"))
|
@@ -2245,6 +2284,19 @@ module Aws::Glue
|
|
2245
2284
|
|
2246
2285
|
PartitionErrors.member = Shapes::ShapeRef.new(shape: PartitionError)
|
2247
2286
|
|
2287
|
+
PartitionIndex.add_member(:keys, Shapes::ShapeRef.new(shape: KeyList, required: true, location_name: "Keys"))
|
2288
|
+
PartitionIndex.add_member(:index_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "IndexName"))
|
2289
|
+
PartitionIndex.struct_class = Types::PartitionIndex
|
2290
|
+
|
2291
|
+
PartitionIndexDescriptor.add_member(:index_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "IndexName"))
|
2292
|
+
PartitionIndexDescriptor.add_member(:keys, Shapes::ShapeRef.new(shape: KeySchemaElementList, required: true, location_name: "Keys"))
|
2293
|
+
PartitionIndexDescriptor.add_member(:index_status, Shapes::ShapeRef.new(shape: PartitionIndexStatus, required: true, location_name: "IndexStatus"))
|
2294
|
+
PartitionIndexDescriptor.struct_class = Types::PartitionIndexDescriptor
|
2295
|
+
|
2296
|
+
PartitionIndexDescriptorList.member = Shapes::ShapeRef.new(shape: PartitionIndexDescriptor)
|
2297
|
+
|
2298
|
+
PartitionIndexList.member = Shapes::ShapeRef.new(shape: PartitionIndex)
|
2299
|
+
|
2248
2300
|
PartitionInput.add_member(:values, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "Values"))
|
2249
2301
|
PartitionInput.add_member(:last_access_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastAccessTime"))
|
2250
2302
|
PartitionInput.add_member(:storage_descriptor, Shapes::ShapeRef.new(shape: StorageDescriptor, location_name: "StorageDescriptor"))
|
@@ -2330,6 +2382,15 @@ module Aws::Glue
|
|
2330
2382
|
|
2331
2383
|
ResourceUriList.member = Shapes::ShapeRef.new(shape: ResourceUri)
|
2332
2384
|
|
2385
|
+
ResumeWorkflowRunRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
|
2386
|
+
ResumeWorkflowRunRequest.add_member(:run_id, Shapes::ShapeRef.new(shape: IdString, required: true, location_name: "RunId"))
|
2387
|
+
ResumeWorkflowRunRequest.add_member(:node_ids, Shapes::ShapeRef.new(shape: NodeIdList, required: true, location_name: "NodeIds"))
|
2388
|
+
ResumeWorkflowRunRequest.struct_class = Types::ResumeWorkflowRunRequest
|
2389
|
+
|
2390
|
+
ResumeWorkflowRunResponse.add_member(:run_id, Shapes::ShapeRef.new(shape: IdString, location_name: "RunId"))
|
2391
|
+
ResumeWorkflowRunResponse.add_member(:node_ids, Shapes::ShapeRef.new(shape: NodeIdList, location_name: "NodeIds"))
|
2392
|
+
ResumeWorkflowRunResponse.struct_class = Types::ResumeWorkflowRunResponse
|
2393
|
+
|
2333
2394
|
S3Encryption.add_member(:s3_encryption_mode, Shapes::ShapeRef.new(shape: S3EncryptionMode, location_name: "S3EncryptionMode"))
|
2334
2395
|
S3Encryption.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "KmsKeyArn"))
|
2335
2396
|
S3Encryption.struct_class = Types::S3Encryption
|
@@ -2338,6 +2399,7 @@ module Aws::Glue
|
|
2338
2399
|
|
2339
2400
|
S3Target.add_member(:path, Shapes::ShapeRef.new(shape: Path, location_name: "Path"))
|
2340
2401
|
S3Target.add_member(:exclusions, Shapes::ShapeRef.new(shape: PathList, location_name: "Exclusions"))
|
2402
|
+
S3Target.add_member(:connection_name, Shapes::ShapeRef.new(shape: ConnectionName, location_name: "ConnectionName"))
|
2341
2403
|
S3Target.struct_class = Types::S3Target
|
2342
2404
|
|
2343
2405
|
S3TargetList.member = Shapes::ShapeRef.new(shape: S3Target)
|
@@ -2827,6 +2889,7 @@ module Aws::Glue
|
|
2827
2889
|
UpdateWorkflowRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
|
2828
2890
|
UpdateWorkflowRequest.add_member(:description, Shapes::ShapeRef.new(shape: GenericString, location_name: "Description"))
|
2829
2891
|
UpdateWorkflowRequest.add_member(:default_run_properties, Shapes::ShapeRef.new(shape: WorkflowRunProperties, location_name: "DefaultRunProperties"))
|
2892
|
+
UpdateWorkflowRequest.add_member(:max_concurrent_runs, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "MaxConcurrentRuns"))
|
2830
2893
|
UpdateWorkflowRequest.struct_class = Types::UpdateWorkflowRequest
|
2831
2894
|
|
2832
2895
|
UpdateWorkflowResponse.add_member(:name, Shapes::ShapeRef.new(shape: NameString, location_name: "Name"))
|
@@ -2871,6 +2934,7 @@ module Aws::Glue
|
|
2871
2934
|
Workflow.add_member(:last_modified_on, Shapes::ShapeRef.new(shape: TimestampValue, location_name: "LastModifiedOn"))
|
2872
2935
|
Workflow.add_member(:last_run, Shapes::ShapeRef.new(shape: WorkflowRun, location_name: "LastRun"))
|
2873
2936
|
Workflow.add_member(:graph, Shapes::ShapeRef.new(shape: WorkflowGraph, location_name: "Graph"))
|
2937
|
+
Workflow.add_member(:max_concurrent_runs, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "MaxConcurrentRuns"))
|
2874
2938
|
Workflow.struct_class = Types::Workflow
|
2875
2939
|
|
2876
2940
|
WorkflowGraph.add_member(:nodes, Shapes::ShapeRef.new(shape: NodeList, location_name: "Nodes"))
|
@@ -2881,10 +2945,12 @@ module Aws::Glue
|
|
2881
2945
|
|
2882
2946
|
WorkflowRun.add_member(:name, Shapes::ShapeRef.new(shape: NameString, location_name: "Name"))
|
2883
2947
|
WorkflowRun.add_member(:workflow_run_id, Shapes::ShapeRef.new(shape: IdString, location_name: "WorkflowRunId"))
|
2948
|
+
WorkflowRun.add_member(:previous_run_id, Shapes::ShapeRef.new(shape: IdString, location_name: "PreviousRunId"))
|
2884
2949
|
WorkflowRun.add_member(:workflow_run_properties, Shapes::ShapeRef.new(shape: WorkflowRunProperties, location_name: "WorkflowRunProperties"))
|
2885
2950
|
WorkflowRun.add_member(:started_on, Shapes::ShapeRef.new(shape: TimestampValue, location_name: "StartedOn"))
|
2886
2951
|
WorkflowRun.add_member(:completed_on, Shapes::ShapeRef.new(shape: TimestampValue, location_name: "CompletedOn"))
|
2887
2952
|
WorkflowRun.add_member(:status, Shapes::ShapeRef.new(shape: WorkflowRunStatus, location_name: "Status"))
|
2953
|
+
WorkflowRun.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorString, location_name: "ErrorMessage"))
|
2888
2954
|
WorkflowRun.add_member(:statistics, Shapes::ShapeRef.new(shape: WorkflowRunStatistics, location_name: "Statistics"))
|
2889
2955
|
WorkflowRun.add_member(:graph, Shapes::ShapeRef.new(shape: WorkflowGraph, location_name: "Graph"))
|
2890
2956
|
WorkflowRun.struct_class = Types::WorkflowRun
|
@@ -3851,6 +3917,24 @@ module Aws::Glue
|
|
3851
3917
|
o.errors << Shapes::ShapeRef.new(shape: GlueEncryptionException)
|
3852
3918
|
end)
|
3853
3919
|
|
3920
|
+
api.add_operation(:get_partition_indexes, Seahorse::Model::Operation.new.tap do |o|
|
3921
|
+
o.name = "GetPartitionIndexes"
|
3922
|
+
o.http_method = "POST"
|
3923
|
+
o.http_request_uri = "/"
|
3924
|
+
o.input = Shapes::ShapeRef.new(shape: GetPartitionIndexesRequest)
|
3925
|
+
o.output = Shapes::ShapeRef.new(shape: GetPartitionIndexesResponse)
|
3926
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
3927
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
|
3928
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
3929
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
|
3930
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
3931
|
+
o[:pager] = Aws::Pager.new(
|
3932
|
+
tokens: {
|
3933
|
+
"next_token" => "next_token"
|
3934
|
+
}
|
3935
|
+
)
|
3936
|
+
end)
|
3937
|
+
|
3854
3938
|
api.add_operation(:get_partitions, Seahorse::Model::Operation.new.tap do |o|
|
3855
3939
|
o.name = "GetPartitions"
|
3856
3940
|
o.http_method = "POST"
|
@@ -4292,6 +4376,20 @@ module Aws::Glue
|
|
4292
4376
|
o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
|
4293
4377
|
end)
|
4294
4378
|
|
4379
|
+
api.add_operation(:resume_workflow_run, Seahorse::Model::Operation.new.tap do |o|
|
4380
|
+
o.name = "ResumeWorkflowRun"
|
4381
|
+
o.http_method = "POST"
|
4382
|
+
o.http_request_uri = "/"
|
4383
|
+
o.input = Shapes::ShapeRef.new(shape: ResumeWorkflowRunRequest)
|
4384
|
+
o.output = Shapes::ShapeRef.new(shape: ResumeWorkflowRunResponse)
|
4385
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
4386
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
|
4387
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
4388
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
|
4389
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentRunsExceededException)
|
4390
|
+
o.errors << Shapes::ShapeRef.new(shape: IllegalWorkflowStateException)
|
4391
|
+
end)
|
4392
|
+
|
4295
4393
|
api.add_operation(:search_tables, Seahorse::Model::Operation.new.tap do |o|
|
4296
4394
|
o.name = "SearchTables"
|
4297
4395
|
o.http_method = "POST"
|
data/lib/aws-sdk-glue/errors.rb
CHANGED
@@ -32,6 +32,7 @@ module Aws::Glue
|
|
32
32
|
# * {ConcurrentModificationException}
|
33
33
|
# * {ConcurrentRunsExceededException}
|
34
34
|
# * {ConditionCheckFailureException}
|
35
|
+
# * {ConflictException}
|
35
36
|
# * {CrawlerNotRunningException}
|
36
37
|
# * {CrawlerRunningException}
|
37
38
|
# * {CrawlerStoppingException}
|
@@ -132,6 +133,21 @@ module Aws::Glue
|
|
132
133
|
end
|
133
134
|
end
|
134
135
|
|
136
|
+
class ConflictException < ServiceError
|
137
|
+
|
138
|
+
# @param [Seahorse::Client::RequestContext] context
|
139
|
+
# @param [String] message
|
140
|
+
# @param [Aws::Glue::Types::ConflictException] data
|
141
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
142
|
+
super(context, message, data)
|
143
|
+
end
|
144
|
+
|
145
|
+
# @return [String]
|
146
|
+
def message
|
147
|
+
@message || @data[:message]
|
148
|
+
end
|
149
|
+
end
|
150
|
+
|
135
151
|
class CrawlerNotRunningException < ServiceError
|
136
152
|
|
137
153
|
# @param [Seahorse::Client::RequestContext] context
|
data/lib/aws-sdk-glue/types.rb
CHANGED
@@ -1492,6 +1492,21 @@ module Aws::Glue
|
|
1492
1492
|
include Aws::Structure
|
1493
1493
|
end
|
1494
1494
|
|
1495
|
+
# The `CreatePartitions` API was called on a table that has indexes
|
1496
|
+
# enabled.
|
1497
|
+
#
|
1498
|
+
# @!attribute [rw] message
|
1499
|
+
# A message describing the problem.
|
1500
|
+
# @return [String]
|
1501
|
+
#
|
1502
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ConflictException AWS API Documentation
|
1503
|
+
#
|
1504
|
+
class ConflictException < Struct.new(
|
1505
|
+
:message)
|
1506
|
+
SENSITIVE = []
|
1507
|
+
include Aws::Structure
|
1508
|
+
end
|
1509
|
+
|
1495
1510
|
# The confusion matrix shows you what your transform is predicting
|
1496
1511
|
# accurately and what types of errors it is making.
|
1497
1512
|
#
|
@@ -1620,17 +1635,6 @@ module Aws::Glue
|
|
1620
1635
|
# port pairs that are the addresses of the Apache Kafka brokers in a
|
1621
1636
|
# Kafka cluster to which a Kafka client will connect to and
|
1622
1637
|
# 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".
|
1634
1638
|
# @return [Hash<String,String>]
|
1635
1639
|
#
|
1636
1640
|
# @!attribute [rw] physical_connection_requirements
|
@@ -1676,7 +1680,7 @@ module Aws::Glue
|
|
1676
1680
|
# {
|
1677
1681
|
# name: "NameString", # required
|
1678
1682
|
# description: "DescriptionString",
|
1679
|
-
# connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA
|
1683
|
+
# connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK
|
1680
1684
|
# match_criteria: ["NameString"],
|
1681
1685
|
# connection_properties: { # required
|
1682
1686
|
# "HOST" => "ValueString",
|
@@ -2077,6 +2081,7 @@ module Aws::Glue
|
|
2077
2081
|
# {
|
2078
2082
|
# path: "Path",
|
2079
2083
|
# exclusions: ["Path"],
|
2084
|
+
# connection_name: "ConnectionName",
|
2080
2085
|
# },
|
2081
2086
|
# ],
|
2082
2087
|
# jdbc_targets: [
|
@@ -2197,7 +2202,7 @@ module Aws::Glue
|
|
2197
2202
|
# connection_input: { # required
|
2198
2203
|
# name: "NameString", # required
|
2199
2204
|
# description: "DescriptionString",
|
2200
|
-
# connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA
|
2205
|
+
# connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK
|
2201
2206
|
# match_criteria: ["NameString"],
|
2202
2207
|
# connection_properties: { # required
|
2203
2208
|
# "HOST" => "ValueString",
|
@@ -2245,6 +2250,7 @@ module Aws::Glue
|
|
2245
2250
|
# {
|
2246
2251
|
# path: "Path",
|
2247
2252
|
# exclusions: ["Path"],
|
2253
|
+
# connection_name: "ConnectionName",
|
2248
2254
|
# },
|
2249
2255
|
# ],
|
2250
2256
|
# jdbc_targets: [
|
@@ -2970,8 +2976,9 @@ module Aws::Glue
|
|
2970
2976
|
# 0.0625 or 1 DPU. The default is 0.0625 DPU.
|
2971
2977
|
#
|
2972
2978
|
# * When you specify an Apache Spark ETL job
|
2973
|
-
# (`JobCommand.Name`="glueetl")
|
2974
|
-
#
|
2979
|
+
# (`JobCommand.Name`="glueetl") or Apache Spark streaming ETL job
|
2980
|
+
# (`JobCommand.Name`="gluestreaming"), you can allocate from 2 to
|
2981
|
+
# 100 DPUs. The default is 10 DPUs. This job type cannot have a
|
2975
2982
|
# fractional DPU allocation.
|
2976
2983
|
#
|
2977
2984
|
#
|
@@ -3611,6 +3618,12 @@ module Aws::Glue
|
|
3611
3618
|
# name: "NameString",
|
3612
3619
|
# },
|
3613
3620
|
# },
|
3621
|
+
# partition_indexes: [
|
3622
|
+
# {
|
3623
|
+
# keys: ["NameString"], # required
|
3624
|
+
# index_name: "NameString", # required
|
3625
|
+
# },
|
3626
|
+
# ],
|
3614
3627
|
# }
|
3615
3628
|
#
|
3616
3629
|
# @!attribute [rw] catalog_id
|
@@ -3628,12 +3641,18 @@ module Aws::Glue
|
|
3628
3641
|
# the catalog.
|
3629
3642
|
# @return [Types::TableInput]
|
3630
3643
|
#
|
3644
|
+
# @!attribute [rw] partition_indexes
|
3645
|
+
# A list of partition indexes, `PartitionIndex` structures, to create
|
3646
|
+
# in the table.
|
3647
|
+
# @return [Array<Types::PartitionIndex>]
|
3648
|
+
#
|
3631
3649
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTableRequest AWS API Documentation
|
3632
3650
|
#
|
3633
3651
|
class CreateTableRequest < Struct.new(
|
3634
3652
|
:catalog_id,
|
3635
3653
|
:database_name,
|
3636
|
-
:table_input
|
3654
|
+
:table_input,
|
3655
|
+
:partition_indexes)
|
3637
3656
|
SENSITIVE = []
|
3638
3657
|
include Aws::Structure
|
3639
3658
|
end
|
@@ -3824,6 +3843,7 @@ module Aws::Glue
|
|
3824
3843
|
# tags: {
|
3825
3844
|
# "TagKey" => "TagValue",
|
3826
3845
|
# },
|
3846
|
+
# max_concurrent_runs: 1,
|
3827
3847
|
# }
|
3828
3848
|
#
|
3829
3849
|
# @!attribute [rw] name
|
@@ -3844,13 +3864,22 @@ module Aws::Glue
|
|
3844
3864
|
# The tags to be used with this workflow.
|
3845
3865
|
# @return [Hash<String,String>]
|
3846
3866
|
#
|
3867
|
+
# @!attribute [rw] max_concurrent_runs
|
3868
|
+
# You can use this parameter to prevent unwanted multiple updates to
|
3869
|
+
# data, to control costs, or in some cases, to prevent exceeding the
|
3870
|
+
# maximum number of concurrent runs of any of the component jobs. If
|
3871
|
+
# you leave this parameter blank, there is no limit to the number of
|
3872
|
+
# concurrent workflow runs.
|
3873
|
+
# @return [Integer]
|
3874
|
+
#
|
3847
3875
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateWorkflowRequest AWS API Documentation
|
3848
3876
|
#
|
3849
3877
|
class CreateWorkflowRequest < Struct.new(
|
3850
3878
|
:name,
|
3851
3879
|
:description,
|
3852
3880
|
:default_run_properties,
|
3853
|
-
:tags
|
3881
|
+
:tags,
|
3882
|
+
:max_concurrent_runs)
|
3854
3883
|
SENSITIVE = []
|
3855
3884
|
include Aws::Structure
|
3856
3885
|
end
|
@@ -5203,7 +5232,7 @@ module Aws::Glue
|
|
5203
5232
|
end
|
5204
5233
|
|
5205
5234
|
# An edge represents a directed connection between two AWS Glue
|
5206
|
-
# components
|
5235
|
+
# components that are part of the workflow the edge belongs to.
|
5207
5236
|
#
|
5208
5237
|
# @!attribute [rw] source_id
|
5209
5238
|
# The unique of the node within the workflow where the edge starts.
|
@@ -5838,7 +5867,7 @@ module Aws::Glue
|
|
5838
5867
|
#
|
5839
5868
|
# {
|
5840
5869
|
# match_criteria: ["NameString"],
|
5841
|
-
# connection_type: "JDBC", # accepts JDBC, SFTP, MONGODB, KAFKA
|
5870
|
+
# connection_type: "JDBC", # accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK
|
5842
5871
|
# }
|
5843
5872
|
#
|
5844
5873
|
# @!attribute [rw] match_criteria
|
@@ -5866,7 +5895,7 @@ module Aws::Glue
|
|
5866
5895
|
# catalog_id: "CatalogIdString",
|
5867
5896
|
# filter: {
|
5868
5897
|
# match_criteria: ["NameString"],
|
5869
|
-
# connection_type: "JDBC", # accepts JDBC, SFTP, MONGODB, KAFKA
|
5898
|
+
# connection_type: "JDBC", # accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK
|
5870
5899
|
# },
|
5871
5900
|
# hide_password: false,
|
5872
5901
|
# next_token: "Token",
|
@@ -6954,6 +6983,63 @@ module Aws::Glue
|
|
6954
6983
|
include Aws::Structure
|
6955
6984
|
end
|
6956
6985
|
|
6986
|
+
# @note When making an API call, you may pass GetPartitionIndexesRequest
|
6987
|
+
# data as a hash:
|
6988
|
+
#
|
6989
|
+
# {
|
6990
|
+
# catalog_id: "CatalogIdString",
|
6991
|
+
# database_name: "NameString", # required
|
6992
|
+
# table_name: "NameString", # required
|
6993
|
+
# next_token: "Token",
|
6994
|
+
# }
|
6995
|
+
#
|
6996
|
+
# @!attribute [rw] catalog_id
|
6997
|
+
# The catalog ID where the table resides.
|
6998
|
+
# @return [String]
|
6999
|
+
#
|
7000
|
+
# @!attribute [rw] database_name
|
7001
|
+
# Specifies the name of a database from which you want to retrieve
|
7002
|
+
# partition indexes.
|
7003
|
+
# @return [String]
|
7004
|
+
#
|
7005
|
+
# @!attribute [rw] table_name
|
7006
|
+
# Specifies the name of a table for which you want to retrieve the
|
7007
|
+
# partition indexes.
|
7008
|
+
# @return [String]
|
7009
|
+
#
|
7010
|
+
# @!attribute [rw] next_token
|
7011
|
+
# A continuation token, included if this is a continuation call.
|
7012
|
+
# @return [String]
|
7013
|
+
#
|
7014
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartitionIndexesRequest AWS API Documentation
|
7015
|
+
#
|
7016
|
+
class GetPartitionIndexesRequest < Struct.new(
|
7017
|
+
:catalog_id,
|
7018
|
+
:database_name,
|
7019
|
+
:table_name,
|
7020
|
+
:next_token)
|
7021
|
+
SENSITIVE = []
|
7022
|
+
include Aws::Structure
|
7023
|
+
end
|
7024
|
+
|
7025
|
+
# @!attribute [rw] partition_index_descriptor_list
|
7026
|
+
# A list of index descriptors.
|
7027
|
+
# @return [Array<Types::PartitionIndexDescriptor>]
|
7028
|
+
#
|
7029
|
+
# @!attribute [rw] next_token
|
7030
|
+
# A continuation token, present if the current list segment is not the
|
7031
|
+
# last.
|
7032
|
+
# @return [String]
|
7033
|
+
#
|
7034
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartitionIndexesResponse AWS API Documentation
|
7035
|
+
#
|
7036
|
+
class GetPartitionIndexesResponse < Struct.new(
|
7037
|
+
:partition_index_descriptor_list,
|
7038
|
+
:next_token)
|
7039
|
+
SENSITIVE = []
|
7040
|
+
include Aws::Structure
|
7041
|
+
end
|
7042
|
+
|
6957
7043
|
# @note When making an API call, you may pass GetPartitionRequest
|
6958
7044
|
# data as a hash:
|
6959
7045
|
#
|
@@ -8448,15 +8534,17 @@ module Aws::Glue
|
|
8448
8534
|
# `NumberOfWorkers`.
|
8449
8535
|
#
|
8450
8536
|
# The value that can be allocated for `MaxCapacity` depends on whether
|
8451
|
-
# you are running a Python shell job
|
8537
|
+
# you are running a Python shell job, an Apache Spark ETL job, or an
|
8538
|
+
# Apache Spark streaming ETL job:
|
8452
8539
|
#
|
8453
8540
|
# * When you specify a Python shell job
|
8454
8541
|
# (`JobCommand.Name`="pythonshell"), you can allocate either
|
8455
8542
|
# 0.0625 or 1 DPU. The default is 0.0625 DPU.
|
8456
8543
|
#
|
8457
8544
|
# * When you specify an Apache Spark ETL job
|
8458
|
-
# (`JobCommand.Name`="glueetl")
|
8459
|
-
#
|
8545
|
+
# (`JobCommand.Name`="glueetl") or Apache Spark streaming ETL job
|
8546
|
+
# (`JobCommand.Name`="gluestreaming"), you can allocate from 2 to
|
8547
|
+
# 100 DPUs. The default is 10 DPUs. This job type cannot have a
|
8460
8548
|
# fractional DPU allocation.
|
8461
8549
|
#
|
8462
8550
|
#
|
@@ -8626,7 +8714,8 @@ module Aws::Glue
|
|
8626
8714
|
#
|
8627
8715
|
# @!attribute [rw] name
|
8628
8716
|
# The name of the job command. For an Apache Spark ETL job, this must
|
8629
|
-
# be `glueetl`. For a Python shell job, it must be `pythonshell`.
|
8717
|
+
# be `glueetl`. For a Python shell job, it must be `pythonshell`. For
|
8718
|
+
# an Apache Spark streaming ETL job, this must be `gluestreaming`.
|
8630
8719
|
# @return [String]
|
8631
8720
|
#
|
8632
8721
|
# @!attribute [rw] script_location
|
@@ -9009,8 +9098,9 @@ module Aws::Glue
|
|
9009
9098
|
# 0.0625 or 1 DPU. The default is 0.0625 DPU.
|
9010
9099
|
#
|
9011
9100
|
# * When you specify an Apache Spark ETL job
|
9012
|
-
# (`JobCommand.Name`="glueetl")
|
9013
|
-
#
|
9101
|
+
# (`JobCommand.Name`="glueetl") or Apache Spark streaming ETL job
|
9102
|
+
# (`JobCommand.Name`="gluestreaming"), you can allocate from 2 to
|
9103
|
+
# 100 DPUs. The default is 10 DPUs. This job type cannot have a
|
9014
9104
|
# fractional DPU allocation.
|
9015
9105
|
#
|
9016
9106
|
#
|
@@ -9129,6 +9219,25 @@ module Aws::Glue
|
|
9129
9219
|
include Aws::Structure
|
9130
9220
|
end
|
9131
9221
|
|
9222
|
+
# A partition key pair consisting of a name and a type.
|
9223
|
+
#
|
9224
|
+
# @!attribute [rw] name
|
9225
|
+
# The name of a partition key.
|
9226
|
+
# @return [String]
|
9227
|
+
#
|
9228
|
+
# @!attribute [rw] type
|
9229
|
+
# The type of a partition key.
|
9230
|
+
# @return [String]
|
9231
|
+
#
|
9232
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/KeySchemaElement AWS API Documentation
|
9233
|
+
#
|
9234
|
+
class KeySchemaElement < Struct.new(
|
9235
|
+
:name,
|
9236
|
+
:type)
|
9237
|
+
SENSITIVE = []
|
9238
|
+
include Aws::Structure
|
9239
|
+
end
|
9240
|
+
|
9132
9241
|
# Specifies configuration properties for a labeling set generation task
|
9133
9242
|
# run.
|
9134
9243
|
#
|
@@ -9886,8 +9995,8 @@ module Aws::Glue
|
|
9886
9995
|
include Aws::Structure
|
9887
9996
|
end
|
9888
9997
|
|
9889
|
-
# A node represents an AWS Glue component
|
9890
|
-
# is part of a workflow.
|
9998
|
+
# A node represents an AWS Glue component such as a trigger, or job,
|
9999
|
+
# etc., that is part of a workflow.
|
9891
10000
|
#
|
9892
10001
|
# @!attribute [rw] type
|
9893
10002
|
# The type of AWS Glue component represented by the node.
|
@@ -10065,6 +10174,58 @@ module Aws::Glue
|
|
10065
10174
|
include Aws::Structure
|
10066
10175
|
end
|
10067
10176
|
|
10177
|
+
# A structure for a partition index.
|
10178
|
+
#
|
10179
|
+
# @note When making an API call, you may pass PartitionIndex
|
10180
|
+
# data as a hash:
|
10181
|
+
#
|
10182
|
+
# {
|
10183
|
+
# keys: ["NameString"], # required
|
10184
|
+
# index_name: "NameString", # required
|
10185
|
+
# }
|
10186
|
+
#
|
10187
|
+
# @!attribute [rw] keys
|
10188
|
+
# The keys for the partition index.
|
10189
|
+
# @return [Array<String>]
|
10190
|
+
#
|
10191
|
+
# @!attribute [rw] index_name
|
10192
|
+
# The name of the partition index.
|
10193
|
+
# @return [String]
|
10194
|
+
#
|
10195
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PartitionIndex AWS API Documentation
|
10196
|
+
#
|
10197
|
+
class PartitionIndex < Struct.new(
|
10198
|
+
:keys,
|
10199
|
+
:index_name)
|
10200
|
+
SENSITIVE = []
|
10201
|
+
include Aws::Structure
|
10202
|
+
end
|
10203
|
+
|
10204
|
+
# A descriptor for a partition index in a table.
|
10205
|
+
#
|
10206
|
+
# @!attribute [rw] index_name
|
10207
|
+
# The name of the partition index.
|
10208
|
+
# @return [String]
|
10209
|
+
#
|
10210
|
+
# @!attribute [rw] keys
|
10211
|
+
# A list of one or more keys, as `KeySchemaElement` structures, for
|
10212
|
+
# the partition index.
|
10213
|
+
# @return [Array<Types::KeySchemaElement>]
|
10214
|
+
#
|
10215
|
+
# @!attribute [rw] index_status
|
10216
|
+
# The status of the partition index.
|
10217
|
+
# @return [String]
|
10218
|
+
#
|
10219
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PartitionIndexDescriptor AWS API Documentation
|
10220
|
+
#
|
10221
|
+
class PartitionIndexDescriptor < Struct.new(
|
10222
|
+
:index_name,
|
10223
|
+
:keys,
|
10224
|
+
:index_status)
|
10225
|
+
SENSITIVE = []
|
10226
|
+
include Aws::Structure
|
10227
|
+
end
|
10228
|
+
|
10068
10229
|
# The structure used to create and update a partition.
|
10069
10230
|
#
|
10070
10231
|
# @note When making an API call, you may pass PartitionInput
|
@@ -10567,6 +10728,57 @@ module Aws::Glue
|
|
10567
10728
|
include Aws::Structure
|
10568
10729
|
end
|
10569
10730
|
|
10731
|
+
# @note When making an API call, you may pass ResumeWorkflowRunRequest
|
10732
|
+
# data as a hash:
|
10733
|
+
#
|
10734
|
+
# {
|
10735
|
+
# name: "NameString", # required
|
10736
|
+
# run_id: "IdString", # required
|
10737
|
+
# node_ids: ["NameString"], # required
|
10738
|
+
# }
|
10739
|
+
#
|
10740
|
+
# @!attribute [rw] name
|
10741
|
+
# The name of the workflow to resume.
|
10742
|
+
# @return [String]
|
10743
|
+
#
|
10744
|
+
# @!attribute [rw] run_id
|
10745
|
+
# The ID of the workflow run to resume.
|
10746
|
+
# @return [String]
|
10747
|
+
#
|
10748
|
+
# @!attribute [rw] node_ids
|
10749
|
+
# A list of the node IDs for the nodes you want to restart. The nodes
|
10750
|
+
# that are to be restarted must have a run attempt in the original
|
10751
|
+
# run.
|
10752
|
+
# @return [Array<String>]
|
10753
|
+
#
|
10754
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ResumeWorkflowRunRequest AWS API Documentation
|
10755
|
+
#
|
10756
|
+
class ResumeWorkflowRunRequest < Struct.new(
|
10757
|
+
:name,
|
10758
|
+
:run_id,
|
10759
|
+
:node_ids)
|
10760
|
+
SENSITIVE = []
|
10761
|
+
include Aws::Structure
|
10762
|
+
end
|
10763
|
+
|
10764
|
+
# @!attribute [rw] run_id
|
10765
|
+
# The new ID assigned to the resumed workflow run. Each resume of a
|
10766
|
+
# workflow run will have a new run ID.
|
10767
|
+
# @return [String]
|
10768
|
+
#
|
10769
|
+
# @!attribute [rw] node_ids
|
10770
|
+
# A list of the node IDs for the nodes that were actually restarted.
|
10771
|
+
# @return [Array<String>]
|
10772
|
+
#
|
10773
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ResumeWorkflowRunResponse AWS API Documentation
|
10774
|
+
#
|
10775
|
+
class ResumeWorkflowRunResponse < Struct.new(
|
10776
|
+
:run_id,
|
10777
|
+
:node_ids)
|
10778
|
+
SENSITIVE = []
|
10779
|
+
include Aws::Structure
|
10780
|
+
end
|
10781
|
+
|
10570
10782
|
# Specifies how Amazon Simple Storage Service (Amazon S3) data should be
|
10571
10783
|
# encrypted.
|
10572
10784
|
#
|
@@ -10604,6 +10816,7 @@ module Aws::Glue
|
|
10604
10816
|
# {
|
10605
10817
|
# path: "Path",
|
10606
10818
|
# exclusions: ["Path"],
|
10819
|
+
# connection_name: "ConnectionName",
|
10607
10820
|
# }
|
10608
10821
|
#
|
10609
10822
|
# @!attribute [rw] path
|
@@ -10619,11 +10832,18 @@ module Aws::Glue
|
|
10619
10832
|
# [1]: https://docs.aws.amazon.com/glue/latest/dg/add-crawler.html
|
10620
10833
|
# @return [Array<String>]
|
10621
10834
|
#
|
10835
|
+
# @!attribute [rw] connection_name
|
10836
|
+
# The name of a connection which allows a job or crawler to access
|
10837
|
+
# data in Amazon S3 within an Amazon Virtual Private Cloud environment
|
10838
|
+
# (Amazon VPC).
|
10839
|
+
# @return [String]
|
10840
|
+
#
|
10622
10841
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/S3Target AWS API Documentation
|
10623
10842
|
#
|
10624
10843
|
class S3Target < Struct.new(
|
10625
10844
|
:path,
|
10626
|
-
:exclusions
|
10845
|
+
:exclusions,
|
10846
|
+
:connection_name)
|
10627
10847
|
SENSITIVE = []
|
10628
10848
|
include Aws::Structure
|
10629
10849
|
end
|
@@ -12907,7 +13127,7 @@ module Aws::Glue
|
|
12907
13127
|
# connection_input: { # required
|
12908
13128
|
# name: "NameString", # required
|
12909
13129
|
# description: "DescriptionString",
|
12910
|
-
# connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA
|
13130
|
+
# connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK
|
12911
13131
|
# match_criteria: ["NameString"],
|
12912
13132
|
# connection_properties: { # required
|
12913
13133
|
# "HOST" => "ValueString",
|
@@ -12961,6 +13181,7 @@ module Aws::Glue
|
|
12961
13181
|
# {
|
12962
13182
|
# path: "Path",
|
12963
13183
|
# exclusions: ["Path"],
|
13184
|
+
# connection_name: "ConnectionName",
|
12964
13185
|
# },
|
12965
13186
|
# ],
|
12966
13187
|
# jdbc_targets: [
|
@@ -13948,6 +14169,7 @@ module Aws::Glue
|
|
13948
14169
|
# default_run_properties: {
|
13949
14170
|
# "IdString" => "GenericString",
|
13950
14171
|
# },
|
14172
|
+
# max_concurrent_runs: 1,
|
13951
14173
|
# }
|
13952
14174
|
#
|
13953
14175
|
# @!attribute [rw] name
|
@@ -13963,12 +14185,21 @@ module Aws::Glue
|
|
13963
14185
|
# the workflow.
|
13964
14186
|
# @return [Hash<String,String>]
|
13965
14187
|
#
|
14188
|
+
# @!attribute [rw] max_concurrent_runs
|
14189
|
+
# You can use this parameter to prevent unwanted multiple updates to
|
14190
|
+
# data, to control costs, or in some cases, to prevent exceeding the
|
14191
|
+
# maximum number of concurrent runs of any of the component jobs. If
|
14192
|
+
# you leave this parameter blank, there is no limit to the number of
|
14193
|
+
# concurrent workflow runs.
|
14194
|
+
# @return [Integer]
|
14195
|
+
#
|
13966
14196
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateWorkflowRequest AWS API Documentation
|
13967
14197
|
#
|
13968
14198
|
class UpdateWorkflowRequest < Struct.new(
|
13969
14199
|
:name,
|
13970
14200
|
:description,
|
13971
|
-
:default_run_properties
|
14201
|
+
:default_run_properties,
|
14202
|
+
:max_concurrent_runs)
|
13972
14203
|
SENSITIVE = []
|
13973
14204
|
include Aws::Structure
|
13974
14205
|
end
|
@@ -14185,6 +14416,14 @@ module Aws::Glue
|
|
14185
14416
|
# edges.
|
14186
14417
|
# @return [Types::WorkflowGraph]
|
14187
14418
|
#
|
14419
|
+
# @!attribute [rw] max_concurrent_runs
|
14420
|
+
# You can use this parameter to prevent unwanted multiple updates to
|
14421
|
+
# data, to control costs, or in some cases, to prevent exceeding the
|
14422
|
+
# maximum number of concurrent runs of any of the component jobs. If
|
14423
|
+
# you leave this parameter blank, there is no limit to the number of
|
14424
|
+
# concurrent workflow runs.
|
14425
|
+
# @return [Integer]
|
14426
|
+
#
|
14188
14427
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Workflow AWS API Documentation
|
14189
14428
|
#
|
14190
14429
|
class Workflow < Struct.new(
|
@@ -14194,7 +14433,8 @@ module Aws::Glue
|
|
14194
14433
|
:created_on,
|
14195
14434
|
:last_modified_on,
|
14196
14435
|
:last_run,
|
14197
|
-
:graph
|
14436
|
+
:graph,
|
14437
|
+
:max_concurrent_runs)
|
14198
14438
|
SENSITIVE = []
|
14199
14439
|
include Aws::Structure
|
14200
14440
|
end
|
@@ -14226,13 +14466,17 @@ module Aws::Glue
|
|
14226
14466
|
# information.
|
14227
14467
|
#
|
14228
14468
|
# @!attribute [rw] name
|
14229
|
-
# Name of the workflow
|
14469
|
+
# Name of the workflow that was executed.
|
14230
14470
|
# @return [String]
|
14231
14471
|
#
|
14232
14472
|
# @!attribute [rw] workflow_run_id
|
14233
14473
|
# The ID of this workflow run.
|
14234
14474
|
# @return [String]
|
14235
14475
|
#
|
14476
|
+
# @!attribute [rw] previous_run_id
|
14477
|
+
# The ID of the previous workflow run.
|
14478
|
+
# @return [String]
|
14479
|
+
#
|
14236
14480
|
# @!attribute [rw] workflow_run_properties
|
14237
14481
|
# The workflow run properties which were set during the run.
|
14238
14482
|
# @return [Hash<String,String>]
|
@@ -14249,6 +14493,12 @@ module Aws::Glue
|
|
14249
14493
|
# The status of the workflow run.
|
14250
14494
|
# @return [String]
|
14251
14495
|
#
|
14496
|
+
# @!attribute [rw] error_message
|
14497
|
+
# This error message describes any error that may have occurred in
|
14498
|
+
# starting the workflow run. Currently the only error message is
|
14499
|
+
# "Concurrent runs exceeded for workflow: `foo`."
|
14500
|
+
# @return [String]
|
14501
|
+
#
|
14252
14502
|
# @!attribute [rw] statistics
|
14253
14503
|
# The statistics of the run.
|
14254
14504
|
# @return [Types::WorkflowRunStatistics]
|
@@ -14264,10 +14514,12 @@ module Aws::Glue
|
|
14264
14514
|
class WorkflowRun < Struct.new(
|
14265
14515
|
:name,
|
14266
14516
|
:workflow_run_id,
|
14517
|
+
:previous_run_id,
|
14267
14518
|
:workflow_run_properties,
|
14268
14519
|
:started_on,
|
14269
14520
|
:completed_on,
|
14270
14521
|
:status,
|
14522
|
+
:error_message,
|
14271
14523
|
:statistics,
|
14272
14524
|
:graph)
|
14273
14525
|
SENSITIVE = []
|
@@ -14281,19 +14533,19 @@ module Aws::Glue
|
|
14281
14533
|
# @return [Integer]
|
14282
14534
|
#
|
14283
14535
|
# @!attribute [rw] timeout_actions
|
14284
|
-
# Total number of Actions
|
14536
|
+
# Total number of Actions that timed out.
|
14285
14537
|
# @return [Integer]
|
14286
14538
|
#
|
14287
14539
|
# @!attribute [rw] failed_actions
|
14288
|
-
# Total number of Actions
|
14540
|
+
# Total number of Actions that have failed.
|
14289
14541
|
# @return [Integer]
|
14290
14542
|
#
|
14291
14543
|
# @!attribute [rw] stopped_actions
|
14292
|
-
# Total number of Actions
|
14544
|
+
# Total number of Actions that have stopped.
|
14293
14545
|
# @return [Integer]
|
14294
14546
|
#
|
14295
14547
|
# @!attribute [rw] succeeded_actions
|
14296
|
-
# Total number of Actions
|
14548
|
+
# Total number of Actions that have succeeded.
|
14297
14549
|
# @return [Integer]
|
14298
14550
|
#
|
14299
14551
|
# @!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.69.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-09-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|