aws-sdk-gluedatabrew 1.1.0 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +38 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-gluedatabrew.rb +2 -2
- data/lib/aws-sdk-gluedatabrew/client.rb +128 -9
- data/lib/aws-sdk-gluedatabrew/client_api.rb +54 -1
- data/lib/aws-sdk-gluedatabrew/errors.rb +1 -1
- data/lib/aws-sdk-gluedatabrew/resource.rb +1 -1
- data/lib/aws-sdk-gluedatabrew/types.rb +266 -14
- metadata +8 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b15f1d9ae0302d7cf8f7c255e48487651de4f7a7da05821e0e3bdecee270f46
|
4
|
+
data.tar.gz: 6ba1ec7e19340aec72d99ec83fea6b870010414d98e501335944fe9cf0fd8ba4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ddea198f08300196fceceb0e7f013b6836498222e4a4202447b27c38c9f7a0906fbe6a93a0dbbb27cc1f175129327cf5a363a94c3ffa816fc548da087eb6e3f
|
7
|
+
data.tar.gz: 031a5a3dca9320c5b6b030f917178006f521a2313f50c34990792d5308dae2f1ecabc6ccdeaf20e869bd69a6635c3e5f612f6499690113c9f49f0d1d225bfc9d
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
Unreleased Changes
|
2
|
+
------------------
|
3
|
+
|
4
|
+
1.6.0 (2021-03-10)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.5.0 (2021-02-25)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This SDK release adds two new dataset features: 1) support for specifying the file format for a dataset, and 2) support for specifying whether the first row of a CSV or Excel file contains a header.
|
13
|
+
|
14
|
+
1.4.0 (2021-02-11)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - This release adds support for profile job sampling, which determines the number of rows on which the profile job will be executed.
|
18
|
+
|
19
|
+
1.3.0 (2021-02-03)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - This release adds the DescribeJobRun API to allow customers retrieve details of a given job run
|
23
|
+
|
24
|
+
1.2.0 (2021-02-02)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
28
|
+
|
29
|
+
1.1.0 (2021-01-28)
|
30
|
+
------------------
|
31
|
+
|
32
|
+
* Feature - This SDK release adds support for specifying a custom delimiter for input CSV datasets and for CSV job outputs.
|
33
|
+
|
34
|
+
1.0.0 (2020-11-11)
|
35
|
+
------------------
|
36
|
+
|
37
|
+
* Feature - Initial release of `aws-sdk-gluedatabrew`.
|
38
|
+
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,202 @@
|
|
1
|
+
|
2
|
+
Apache License
|
3
|
+
Version 2.0, January 2004
|
4
|
+
http://www.apache.org/licenses/
|
5
|
+
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
7
|
+
|
8
|
+
1. Definitions.
|
9
|
+
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
12
|
+
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
14
|
+
the copyright owner that is granting the License.
|
15
|
+
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
17
|
+
other entities that control, are controlled by, or are under common
|
18
|
+
control with that entity. For the purposes of this definition,
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
20
|
+
direction or management of such entity, whether by contract or
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
23
|
+
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
25
|
+
exercising permissions granted by this License.
|
26
|
+
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
28
|
+
including but not limited to software source code, documentation
|
29
|
+
source, and configuration files.
|
30
|
+
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
32
|
+
transformation or translation of a Source form, including but
|
33
|
+
not limited to compiled object code, generated documentation,
|
34
|
+
and conversions to other media types.
|
35
|
+
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
37
|
+
Object form, made available under the License, as indicated by a
|
38
|
+
copyright notice that is included in or attached to the work
|
39
|
+
(an example is provided in the Appendix below).
|
40
|
+
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
47
|
+
the Work and Derivative Works thereof.
|
48
|
+
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
50
|
+
the original version of the Work and any modifications or additions
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
62
|
+
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
65
|
+
subsequently incorporated within the Work.
|
66
|
+
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
73
|
+
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
79
|
+
where such license applies only to those patent claims licensable
|
80
|
+
by such Contributor that are necessarily infringed by their
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
83
|
+
institute patent litigation against any entity (including a
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
86
|
+
or contributory patent infringement, then any patent licenses
|
87
|
+
granted to You under this License for that Work shall terminate
|
88
|
+
as of the date such litigation is filed.
|
89
|
+
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
92
|
+
modifications, and in Source or Object form, provided that You
|
93
|
+
meet the following conditions:
|
94
|
+
|
95
|
+
(a) You must give any other recipients of the Work or
|
96
|
+
Derivative Works a copy of this License; and
|
97
|
+
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
99
|
+
stating that You changed the files; and
|
100
|
+
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
103
|
+
attribution notices from the Source form of the Work,
|
104
|
+
excluding those notices that do not pertain to any part of
|
105
|
+
the Derivative Works; and
|
106
|
+
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
109
|
+
include a readable copy of the attribution notices contained
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
112
|
+
of the following places: within a NOTICE text file distributed
|
113
|
+
as part of the Derivative Works; within the Source form or
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
115
|
+
within a display generated by the Derivative Works, if and
|
116
|
+
wherever such third-party notices normally appear. The contents
|
117
|
+
of the NOTICE file are for informational purposes only and
|
118
|
+
do not modify the License. You may add Your own attribution
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
121
|
+
that such additional attribution notices cannot be construed
|
122
|
+
as modifying the License.
|
123
|
+
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
125
|
+
may provide additional or different license terms and conditions
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
129
|
+
the conditions stated in this License.
|
130
|
+
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
134
|
+
this License, without any additional terms or conditions.
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
136
|
+
the terms of any separate license agreement you may have executed
|
137
|
+
with Licensor regarding such Contributions.
|
138
|
+
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
141
|
+
except as required for reasonable and customary use in describing the
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
143
|
+
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
153
|
+
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
159
|
+
incidental, or consequential damages of any character arising as a
|
160
|
+
result of this License or out of the use or inability to use the
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
163
|
+
other commercial damages or losses), even if such Contributor
|
164
|
+
has been advised of the possibility of such damages.
|
165
|
+
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
169
|
+
or other liability obligations and/or rights consistent with this
|
170
|
+
License. However, in accepting such obligations, You may act only
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
175
|
+
of your accepting any such warranty or additional liability.
|
176
|
+
|
177
|
+
END OF TERMS AND CONDITIONS
|
178
|
+
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
180
|
+
|
181
|
+
To apply the Apache License to your work, attach the following
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
183
|
+
replaced with your own identifying information. (Don't include
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
185
|
+
comment syntax for the file format. We also recommend that a
|
186
|
+
file or class name and description of purpose be included on the
|
187
|
+
same "printed page" as the copyright notice for easier
|
188
|
+
identification within third-party archives.
|
189
|
+
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
191
|
+
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
193
|
+
you may not use this file except in compliance with the License.
|
194
|
+
You may obtain a copy of the License at
|
195
|
+
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
197
|
+
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
201
|
+
See the License for the specific language governing permissions and
|
202
|
+
limitations under the License.
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.6.0
|
data/lib/aws-sdk-gluedatabrew.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-gluedatabrew/customizations'
|
|
48
48
|
# @!group service
|
49
49
|
module Aws::GlueDataBrew
|
50
50
|
|
51
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.6.0'
|
52
52
|
|
53
53
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -335,11 +335,11 @@ module Aws::GlueDataBrew
|
|
335
335
|
#
|
336
336
|
# * There is an invalid version identifier in the list of versions.
|
337
337
|
#
|
338
|
-
# * The
|
338
|
+
# * The version list is empty.
|
339
339
|
#
|
340
340
|
# * The version list size exceeds 50.
|
341
341
|
#
|
342
|
-
# * The
|
342
|
+
# * The version list contains duplicate entries.
|
343
343
|
#
|
344
344
|
# The request will complete successfully, but with partial failures, if:
|
345
345
|
#
|
@@ -399,6 +399,10 @@ module Aws::GlueDataBrew
|
|
399
399
|
# The name of the dataset to be created. Valid characters are
|
400
400
|
# alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.
|
401
401
|
#
|
402
|
+
# @option params [String] :format
|
403
|
+
# Specifies the file format of a dataset created from an S3 file or
|
404
|
+
# folder.
|
405
|
+
#
|
402
406
|
# @option params [Types::FormatOptions] :format_options
|
403
407
|
# Options that define the structure of either Csv, Excel, or JSON input.
|
404
408
|
#
|
@@ -417,6 +421,7 @@ module Aws::GlueDataBrew
|
|
417
421
|
#
|
418
422
|
# resp = client.create_dataset({
|
419
423
|
# name: "DatasetName", # required
|
424
|
+
# format: "CSV", # accepts CSV, JSON, PARQUET, EXCEL
|
420
425
|
# format_options: {
|
421
426
|
# json: {
|
422
427
|
# multi_line: false,
|
@@ -424,9 +429,11 @@ module Aws::GlueDataBrew
|
|
424
429
|
# excel: {
|
425
430
|
# sheet_names: ["SheetName"],
|
426
431
|
# sheet_indexes: [1],
|
432
|
+
# header_row: false,
|
427
433
|
# },
|
428
434
|
# csv: {
|
429
435
|
# delimiter: "Delimiter",
|
436
|
+
# header_row: false,
|
430
437
|
# },
|
431
438
|
# },
|
432
439
|
# input: { # required
|
@@ -474,8 +481,8 @@ module Aws::GlueDataBrew
|
|
474
481
|
# @option params [String] :encryption_mode
|
475
482
|
# The encryption mode for the job, which can be one of the following:
|
476
483
|
#
|
477
|
-
# * `SSE-KMS` -
|
478
|
-
#
|
484
|
+
# * `SSE-KMS` - `SSE-KMS` - Server-side encryption with AWS KMS-managed
|
485
|
+
# keys.
|
479
486
|
#
|
480
487
|
# * `SSE-S3` - Server-side encryption with keys managed by Amazon S3.
|
481
488
|
#
|
@@ -509,6 +516,12 @@ module Aws::GlueDataBrew
|
|
509
516
|
# The job's timeout in minutes. A job that attempts to run longer than
|
510
517
|
# this timeout period ends with a status of `TIMEOUT`.
|
511
518
|
#
|
519
|
+
# @option params [Types::JobSample] :job_sample
|
520
|
+
# Sample configuration for profile jobs only. Determines the number of
|
521
|
+
# rows on which the profile job will be executed. If a JobSample value
|
522
|
+
# is not provided, the default value will be used. The default value is
|
523
|
+
# CUSTOM\_ROWS for the mode parameter and 20000 for the size parameter.
|
524
|
+
#
|
512
525
|
# @return [Types::CreateProfileJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
513
526
|
#
|
514
527
|
# * {Types::CreateProfileJobResponse#name #name} => String
|
@@ -532,6 +545,10 @@ module Aws::GlueDataBrew
|
|
532
545
|
# "TagKey" => "TagValue",
|
533
546
|
# },
|
534
547
|
# timeout: 1,
|
548
|
+
# job_sample: {
|
549
|
+
# mode: "FULL_DATASET", # accepts FULL_DATASET, CUSTOM_ROWS
|
550
|
+
# size: 1,
|
551
|
+
# },
|
535
552
|
# })
|
536
553
|
#
|
537
554
|
# @example Response structure
|
@@ -677,7 +694,7 @@ module Aws::GlueDataBrew
|
|
677
694
|
# @option params [String] :encryption_mode
|
678
695
|
# The encryption mode for the job, which can be one of the following:
|
679
696
|
#
|
680
|
-
# * `SSE-KMS` - Server-side encryption with AWS KMS
|
697
|
+
# * `SSE-KMS` - Server-side encryption with keys managed by AWS KMS.
|
681
698
|
#
|
682
699
|
# * `SSE-S3` - Server-side encryption with keys managed by Amazon S3.
|
683
700
|
#
|
@@ -981,6 +998,7 @@ module Aws::GlueDataBrew
|
|
981
998
|
# * {Types::DescribeDatasetResponse#created_by #created_by} => String
|
982
999
|
# * {Types::DescribeDatasetResponse#create_date #create_date} => Time
|
983
1000
|
# * {Types::DescribeDatasetResponse#name #name} => String
|
1001
|
+
# * {Types::DescribeDatasetResponse#format #format} => String
|
984
1002
|
# * {Types::DescribeDatasetResponse#format_options #format_options} => Types::FormatOptions
|
985
1003
|
# * {Types::DescribeDatasetResponse#input #input} => Types::Input
|
986
1004
|
# * {Types::DescribeDatasetResponse#last_modified_date #last_modified_date} => Time
|
@@ -1000,12 +1018,15 @@ module Aws::GlueDataBrew
|
|
1000
1018
|
# resp.created_by #=> String
|
1001
1019
|
# resp.create_date #=> Time
|
1002
1020
|
# resp.name #=> String
|
1021
|
+
# resp.format #=> String, one of "CSV", "JSON", "PARQUET", "EXCEL"
|
1003
1022
|
# resp.format_options.json.multi_line #=> Boolean
|
1004
1023
|
# resp.format_options.excel.sheet_names #=> Array
|
1005
1024
|
# resp.format_options.excel.sheet_names[0] #=> String
|
1006
1025
|
# resp.format_options.excel.sheet_indexes #=> Array
|
1007
1026
|
# resp.format_options.excel.sheet_indexes[0] #=> Integer
|
1027
|
+
# resp.format_options.excel.header_row #=> Boolean
|
1008
1028
|
# resp.format_options.csv.delimiter #=> String
|
1029
|
+
# resp.format_options.csv.header_row #=> Boolean
|
1009
1030
|
# resp.input.s3_input_definition.bucket #=> String
|
1010
1031
|
# resp.input.s3_input_definition.key #=> String
|
1011
1032
|
# resp.input.data_catalog_input_definition.catalog_id #=> String
|
@@ -1055,6 +1076,7 @@ module Aws::GlueDataBrew
|
|
1055
1076
|
# * {Types::DescribeJobResponse#role_arn #role_arn} => String
|
1056
1077
|
# * {Types::DescribeJobResponse#tags #tags} => Hash<String,String>
|
1057
1078
|
# * {Types::DescribeJobResponse#timeout #timeout} => Integer
|
1079
|
+
# * {Types::DescribeJobResponse#job_sample #job_sample} => Types::JobSample
|
1058
1080
|
#
|
1059
1081
|
# @example Request syntax with placeholder values
|
1060
1082
|
#
|
@@ -1093,6 +1115,8 @@ module Aws::GlueDataBrew
|
|
1093
1115
|
# resp.tags #=> Hash
|
1094
1116
|
# resp.tags["TagKey"] #=> String
|
1095
1117
|
# resp.timeout #=> Integer
|
1118
|
+
# resp.job_sample.mode #=> String, one of "FULL_DATASET", "CUSTOM_ROWS"
|
1119
|
+
# resp.job_sample.size #=> Integer
|
1096
1120
|
#
|
1097
1121
|
# @see http://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/DescribeJob AWS API Documentation
|
1098
1122
|
#
|
@@ -1103,6 +1127,76 @@ module Aws::GlueDataBrew
|
|
1103
1127
|
req.send_request(options)
|
1104
1128
|
end
|
1105
1129
|
|
1130
|
+
# Represents one run of a DataBrew job.
|
1131
|
+
#
|
1132
|
+
# @option params [required, String] :name
|
1133
|
+
# The name of the job being processed during this run.
|
1134
|
+
#
|
1135
|
+
# @option params [required, String] :run_id
|
1136
|
+
# The unique identifier of the job run.
|
1137
|
+
#
|
1138
|
+
# @return [Types::DescribeJobRunResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1139
|
+
#
|
1140
|
+
# * {Types::DescribeJobRunResponse#attempt #attempt} => Integer
|
1141
|
+
# * {Types::DescribeJobRunResponse#completed_on #completed_on} => Time
|
1142
|
+
# * {Types::DescribeJobRunResponse#dataset_name #dataset_name} => String
|
1143
|
+
# * {Types::DescribeJobRunResponse#error_message #error_message} => String
|
1144
|
+
# * {Types::DescribeJobRunResponse#execution_time #execution_time} => Integer
|
1145
|
+
# * {Types::DescribeJobRunResponse#job_name #job_name} => String
|
1146
|
+
# * {Types::DescribeJobRunResponse#run_id #run_id} => String
|
1147
|
+
# * {Types::DescribeJobRunResponse#state #state} => String
|
1148
|
+
# * {Types::DescribeJobRunResponse#log_subscription #log_subscription} => String
|
1149
|
+
# * {Types::DescribeJobRunResponse#log_group_name #log_group_name} => String
|
1150
|
+
# * {Types::DescribeJobRunResponse#outputs #outputs} => Array<Types::Output>
|
1151
|
+
# * {Types::DescribeJobRunResponse#recipe_reference #recipe_reference} => Types::RecipeReference
|
1152
|
+
# * {Types::DescribeJobRunResponse#started_by #started_by} => String
|
1153
|
+
# * {Types::DescribeJobRunResponse#started_on #started_on} => Time
|
1154
|
+
# * {Types::DescribeJobRunResponse#job_sample #job_sample} => Types::JobSample
|
1155
|
+
#
|
1156
|
+
# @example Request syntax with placeholder values
|
1157
|
+
#
|
1158
|
+
# resp = client.describe_job_run({
|
1159
|
+
# name: "JobName", # required
|
1160
|
+
# run_id: "JobRunId", # required
|
1161
|
+
# })
|
1162
|
+
#
|
1163
|
+
# @example Response structure
|
1164
|
+
#
|
1165
|
+
# resp.attempt #=> Integer
|
1166
|
+
# resp.completed_on #=> Time
|
1167
|
+
# resp.dataset_name #=> String
|
1168
|
+
# resp.error_message #=> String
|
1169
|
+
# resp.execution_time #=> Integer
|
1170
|
+
# resp.job_name #=> String
|
1171
|
+
# resp.run_id #=> String
|
1172
|
+
# resp.state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED", "SUCCEEDED", "FAILED", "TIMEOUT"
|
1173
|
+
# resp.log_subscription #=> String, one of "ENABLE", "DISABLE"
|
1174
|
+
# resp.log_group_name #=> String
|
1175
|
+
# resp.outputs #=> Array
|
1176
|
+
# resp.outputs[0].compression_format #=> String, one of "GZIP", "LZ4", "SNAPPY", "BZIP2", "DEFLATE", "LZO", "BROTLI", "ZSTD", "ZLIB"
|
1177
|
+
# resp.outputs[0].format #=> String, one of "CSV", "JSON", "PARQUET", "GLUEPARQUET", "AVRO", "ORC", "XML"
|
1178
|
+
# resp.outputs[0].partition_columns #=> Array
|
1179
|
+
# resp.outputs[0].partition_columns[0] #=> String
|
1180
|
+
# resp.outputs[0].location.bucket #=> String
|
1181
|
+
# resp.outputs[0].location.key #=> String
|
1182
|
+
# resp.outputs[0].overwrite #=> Boolean
|
1183
|
+
# resp.outputs[0].format_options.csv.delimiter #=> String
|
1184
|
+
# resp.recipe_reference.name #=> String
|
1185
|
+
# resp.recipe_reference.recipe_version #=> String
|
1186
|
+
# resp.started_by #=> String
|
1187
|
+
# resp.started_on #=> Time
|
1188
|
+
# resp.job_sample.mode #=> String, one of "FULL_DATASET", "CUSTOM_ROWS"
|
1189
|
+
# resp.job_sample.size #=> Integer
|
1190
|
+
#
|
1191
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/DescribeJobRun AWS API Documentation
|
1192
|
+
#
|
1193
|
+
# @overload describe_job_run(params = {})
|
1194
|
+
# @param [Hash] params ({})
|
1195
|
+
def describe_job_run(params = {}, options = {})
|
1196
|
+
req = build_request(:describe_job_run, params)
|
1197
|
+
req.send_request(options)
|
1198
|
+
end
|
1199
|
+
|
1106
1200
|
# Returns the definition of a specific DataBrew project.
|
1107
1201
|
#
|
1108
1202
|
# @option params [required, String] :name
|
@@ -1301,12 +1395,15 @@ module Aws::GlueDataBrew
|
|
1301
1395
|
# resp.datasets[0].created_by #=> String
|
1302
1396
|
# resp.datasets[0].create_date #=> Time
|
1303
1397
|
# resp.datasets[0].name #=> String
|
1398
|
+
# resp.datasets[0].format #=> String, one of "CSV", "JSON", "PARQUET", "EXCEL"
|
1304
1399
|
# resp.datasets[0].format_options.json.multi_line #=> Boolean
|
1305
1400
|
# resp.datasets[0].format_options.excel.sheet_names #=> Array
|
1306
1401
|
# resp.datasets[0].format_options.excel.sheet_names[0] #=> String
|
1307
1402
|
# resp.datasets[0].format_options.excel.sheet_indexes #=> Array
|
1308
1403
|
# resp.datasets[0].format_options.excel.sheet_indexes[0] #=> Integer
|
1404
|
+
# resp.datasets[0].format_options.excel.header_row #=> Boolean
|
1309
1405
|
# resp.datasets[0].format_options.csv.delimiter #=> String
|
1406
|
+
# resp.datasets[0].format_options.csv.header_row #=> Boolean
|
1310
1407
|
# resp.datasets[0].input.s3_input_definition.bucket #=> String
|
1311
1408
|
# resp.datasets[0].input.s3_input_definition.key #=> String
|
1312
1409
|
# resp.datasets[0].input.data_catalog_input_definition.catalog_id #=> String
|
@@ -1384,6 +1481,8 @@ module Aws::GlueDataBrew
|
|
1384
1481
|
# resp.job_runs[0].recipe_reference.recipe_version #=> String
|
1385
1482
|
# resp.job_runs[0].started_by #=> String
|
1386
1483
|
# resp.job_runs[0].started_on #=> Time
|
1484
|
+
# resp.job_runs[0].job_sample.mode #=> String, one of "FULL_DATASET", "CUSTOM_ROWS"
|
1485
|
+
# resp.job_runs[0].job_sample.size #=> Integer
|
1387
1486
|
# resp.next_token #=> String
|
1388
1487
|
#
|
1389
1488
|
# @see http://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/ListJobRuns AWS API Documentation
|
@@ -1463,6 +1562,8 @@ module Aws::GlueDataBrew
|
|
1463
1562
|
# resp.jobs[0].timeout #=> Integer
|
1464
1563
|
# resp.jobs[0].tags #=> Hash
|
1465
1564
|
# resp.jobs[0].tags["TagKey"] #=> String
|
1565
|
+
# resp.jobs[0].job_sample.mode #=> String, one of "FULL_DATASET", "CUSTOM_ROWS"
|
1566
|
+
# resp.jobs[0].job_sample.size #=> Integer
|
1466
1567
|
# resp.next_token #=> String
|
1467
1568
|
#
|
1468
1569
|
# @see http://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/ListJobs AWS API Documentation
|
@@ -2006,6 +2107,10 @@ module Aws::GlueDataBrew
|
|
2006
2107
|
# @option params [required, String] :name
|
2007
2108
|
# The name of the dataset to be updated.
|
2008
2109
|
#
|
2110
|
+
# @option params [String] :format
|
2111
|
+
# Specifies the file format of a dataset created from an S3 file or
|
2112
|
+
# folder.
|
2113
|
+
#
|
2009
2114
|
# @option params [Types::FormatOptions] :format_options
|
2010
2115
|
# Options that define the structure of either Csv, Excel, or JSON input.
|
2011
2116
|
#
|
@@ -2021,6 +2126,7 @@ module Aws::GlueDataBrew
|
|
2021
2126
|
#
|
2022
2127
|
# resp = client.update_dataset({
|
2023
2128
|
# name: "DatasetName", # required
|
2129
|
+
# format: "CSV", # accepts CSV, JSON, PARQUET, EXCEL
|
2024
2130
|
# format_options: {
|
2025
2131
|
# json: {
|
2026
2132
|
# multi_line: false,
|
@@ -2028,9 +2134,11 @@ module Aws::GlueDataBrew
|
|
2028
2134
|
# excel: {
|
2029
2135
|
# sheet_names: ["SheetName"],
|
2030
2136
|
# sheet_indexes: [1],
|
2137
|
+
# header_row: false,
|
2031
2138
|
# },
|
2032
2139
|
# csv: {
|
2033
2140
|
# delimiter: "Delimiter",
|
2141
|
+
# header_row: false,
|
2034
2142
|
# },
|
2035
2143
|
# },
|
2036
2144
|
# input: { # required
|
@@ -2072,7 +2180,7 @@ module Aws::GlueDataBrew
|
|
2072
2180
|
# @option params [String] :encryption_mode
|
2073
2181
|
# The encryption mode for the job, which can be one of the following:
|
2074
2182
|
#
|
2075
|
-
# * `SSE-KMS` - Server-side encryption with AWS KMS
|
2183
|
+
# * `SSE-KMS` - Server-side encryption with keys managed by AWS KMS.
|
2076
2184
|
#
|
2077
2185
|
# * `SSE-S3` - Server-side encryption with keys managed by Amazon S3.
|
2078
2186
|
#
|
@@ -2102,6 +2210,13 @@ module Aws::GlueDataBrew
|
|
2102
2210
|
# The job's timeout in minutes. A job that attempts to run longer than
|
2103
2211
|
# this timeout period ends with a status of `TIMEOUT`.
|
2104
2212
|
#
|
2213
|
+
# @option params [Types::JobSample] :job_sample
|
2214
|
+
# Sample configuration for Profile Jobs only. Determines the number of
|
2215
|
+
# rows on which the Profile job will be executed. If a JobSample value
|
2216
|
+
# is not provided for profile jobs, the default value will be used. The
|
2217
|
+
# default value is CUSTOM\_ROWS for the mode parameter and 20000 for the
|
2218
|
+
# size parameter.
|
2219
|
+
#
|
2105
2220
|
# @return [Types::UpdateProfileJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2106
2221
|
#
|
2107
2222
|
# * {Types::UpdateProfileJobResponse#name #name} => String
|
@@ -2121,6 +2236,10 @@ module Aws::GlueDataBrew
|
|
2121
2236
|
# },
|
2122
2237
|
# role_arn: "Arn", # required
|
2123
2238
|
# timeout: 1,
|
2239
|
+
# job_sample: {
|
2240
|
+
# mode: "FULL_DATASET", # accepts FULL_DATASET, CUSTOM_ROWS
|
2241
|
+
# size: 1,
|
2242
|
+
# },
|
2124
2243
|
# })
|
2125
2244
|
#
|
2126
2245
|
# @example Response structure
|
@@ -2242,7 +2361,7 @@ module Aws::GlueDataBrew
|
|
2242
2361
|
# @option params [String] :encryption_mode
|
2243
2362
|
# The encryption mode for the job, which can be one of the following:
|
2244
2363
|
#
|
2245
|
-
# * `SSE-KMS` - Server-side encryption with AWS KMS
|
2364
|
+
# * `SSE-KMS` - Server-side encryption with keys managed by AWS KMS.
|
2246
2365
|
#
|
2247
2366
|
# * `SSE-S3` - Server-side encryption with keys managed by Amazon S3.
|
2248
2367
|
#
|
@@ -2373,7 +2492,7 @@ module Aws::GlueDataBrew
|
|
2373
2492
|
params: params,
|
2374
2493
|
config: config)
|
2375
2494
|
context[:gem_name] = 'aws-sdk-gluedatabrew'
|
2376
|
-
context[:gem_version] = '1.
|
2495
|
+
context[:gem_version] = '1.6.0'
|
2377
2496
|
Seahorse::Client::Request.new(handlers, context)
|
2378
2497
|
end
|
2379
2498
|
|