aws-sdk-gluedatabrew 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-gluedatabrew.rb +1 -1
- data/lib/aws-sdk-gluedatabrew/client.rb +39 -8
- data/lib/aws-sdk-gluedatabrew/client_api.rb +13 -0
- data/lib/aws-sdk-gluedatabrew/types.rb +114 -14
- 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: 8f977de76d2bd172cf3bad23350359e398a8361f6970c4231d0809736e24dd3b
|
4
|
+
data.tar.gz: 868992e293bfe6926e31172b8972a334bbd2ebea5a891f13e3c51b835cd75f39
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33e362853685cb7a094891998c76c77d4818609b1ac123d7e8966446c19e8b6992312dadd9b167d1ffa47725d3136918482d1715fc5e14c5d05efff1779cbdbb
|
7
|
+
data.tar.gz: ee679e8f7182b872e199dbf2f95bbf73ffaea2d2325b69322b3bdca47b40eb441caf54fd54998712f493a62e1e2953b0324d5c1d4a51bd3a7c881154ceadb0dc
|
data/lib/aws-sdk-gluedatabrew.rb
CHANGED
@@ -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
|
#
|
@@ -474,8 +474,8 @@ module Aws::GlueDataBrew
|
|
474
474
|
# @option params [String] :encryption_mode
|
475
475
|
# The encryption mode for the job, which can be one of the following:
|
476
476
|
#
|
477
|
-
# * `SSE-KMS` -
|
478
|
-
#
|
477
|
+
# * `SSE-KMS` - `SSE-KMS` - Server-side encryption with AWS KMS-managed
|
478
|
+
# keys.
|
479
479
|
#
|
480
480
|
# * `SSE-S3` - Server-side encryption with keys managed by Amazon S3.
|
481
481
|
#
|
@@ -509,6 +509,12 @@ module Aws::GlueDataBrew
|
|
509
509
|
# The job's timeout in minutes. A job that attempts to run longer than
|
510
510
|
# this timeout period ends with a status of `TIMEOUT`.
|
511
511
|
#
|
512
|
+
# @option params [Types::JobSample] :job_sample
|
513
|
+
# Sample configuration for profile jobs only. Determines the number of
|
514
|
+
# rows on which the profile job will be executed. If a JobSample value
|
515
|
+
# is not provided, the default value will be used. The default value is
|
516
|
+
# CUSTOM\_ROWS for the mode parameter and 20000 for the size parameter.
|
517
|
+
#
|
512
518
|
# @return [Types::CreateProfileJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
513
519
|
#
|
514
520
|
# * {Types::CreateProfileJobResponse#name #name} => String
|
@@ -532,6 +538,10 @@ module Aws::GlueDataBrew
|
|
532
538
|
# "TagKey" => "TagValue",
|
533
539
|
# },
|
534
540
|
# timeout: 1,
|
541
|
+
# job_sample: {
|
542
|
+
# mode: "FULL_DATASET", # accepts FULL_DATASET, CUSTOM_ROWS
|
543
|
+
# size: 1,
|
544
|
+
# },
|
535
545
|
# })
|
536
546
|
#
|
537
547
|
# @example Response structure
|
@@ -677,7 +687,7 @@ module Aws::GlueDataBrew
|
|
677
687
|
# @option params [String] :encryption_mode
|
678
688
|
# The encryption mode for the job, which can be one of the following:
|
679
689
|
#
|
680
|
-
# * `SSE-KMS` - Server-side encryption with AWS KMS
|
690
|
+
# * `SSE-KMS` - Server-side encryption with keys managed by AWS KMS.
|
681
691
|
#
|
682
692
|
# * `SSE-S3` - Server-side encryption with keys managed by Amazon S3.
|
683
693
|
#
|
@@ -1055,6 +1065,7 @@ module Aws::GlueDataBrew
|
|
1055
1065
|
# * {Types::DescribeJobResponse#role_arn #role_arn} => String
|
1056
1066
|
# * {Types::DescribeJobResponse#tags #tags} => Hash<String,String>
|
1057
1067
|
# * {Types::DescribeJobResponse#timeout #timeout} => Integer
|
1068
|
+
# * {Types::DescribeJobResponse#job_sample #job_sample} => Types::JobSample
|
1058
1069
|
#
|
1059
1070
|
# @example Request syntax with placeholder values
|
1060
1071
|
#
|
@@ -1093,6 +1104,8 @@ module Aws::GlueDataBrew
|
|
1093
1104
|
# resp.tags #=> Hash
|
1094
1105
|
# resp.tags["TagKey"] #=> String
|
1095
1106
|
# resp.timeout #=> Integer
|
1107
|
+
# resp.job_sample.mode #=> String, one of "FULL_DATASET", "CUSTOM_ROWS"
|
1108
|
+
# resp.job_sample.size #=> Integer
|
1096
1109
|
#
|
1097
1110
|
# @see http://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/DescribeJob AWS API Documentation
|
1098
1111
|
#
|
@@ -1127,6 +1140,7 @@ module Aws::GlueDataBrew
|
|
1127
1140
|
# * {Types::DescribeJobRunResponse#recipe_reference #recipe_reference} => Types::RecipeReference
|
1128
1141
|
# * {Types::DescribeJobRunResponse#started_by #started_by} => String
|
1129
1142
|
# * {Types::DescribeJobRunResponse#started_on #started_on} => Time
|
1143
|
+
# * {Types::DescribeJobRunResponse#job_sample #job_sample} => Types::JobSample
|
1130
1144
|
#
|
1131
1145
|
# @example Request syntax with placeholder values
|
1132
1146
|
#
|
@@ -1160,6 +1174,8 @@ module Aws::GlueDataBrew
|
|
1160
1174
|
# resp.recipe_reference.recipe_version #=> String
|
1161
1175
|
# resp.started_by #=> String
|
1162
1176
|
# resp.started_on #=> Time
|
1177
|
+
# resp.job_sample.mode #=> String, one of "FULL_DATASET", "CUSTOM_ROWS"
|
1178
|
+
# resp.job_sample.size #=> Integer
|
1163
1179
|
#
|
1164
1180
|
# @see http://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/DescribeJobRun AWS API Documentation
|
1165
1181
|
#
|
@@ -1451,6 +1467,8 @@ module Aws::GlueDataBrew
|
|
1451
1467
|
# resp.job_runs[0].recipe_reference.recipe_version #=> String
|
1452
1468
|
# resp.job_runs[0].started_by #=> String
|
1453
1469
|
# resp.job_runs[0].started_on #=> Time
|
1470
|
+
# resp.job_runs[0].job_sample.mode #=> String, one of "FULL_DATASET", "CUSTOM_ROWS"
|
1471
|
+
# resp.job_runs[0].job_sample.size #=> Integer
|
1454
1472
|
# resp.next_token #=> String
|
1455
1473
|
#
|
1456
1474
|
# @see http://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/ListJobRuns AWS API Documentation
|
@@ -1530,6 +1548,8 @@ module Aws::GlueDataBrew
|
|
1530
1548
|
# resp.jobs[0].timeout #=> Integer
|
1531
1549
|
# resp.jobs[0].tags #=> Hash
|
1532
1550
|
# resp.jobs[0].tags["TagKey"] #=> String
|
1551
|
+
# resp.jobs[0].job_sample.mode #=> String, one of "FULL_DATASET", "CUSTOM_ROWS"
|
1552
|
+
# resp.jobs[0].job_sample.size #=> Integer
|
1533
1553
|
# resp.next_token #=> String
|
1534
1554
|
#
|
1535
1555
|
# @see http://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/ListJobs AWS API Documentation
|
@@ -2139,7 +2159,7 @@ module Aws::GlueDataBrew
|
|
2139
2159
|
# @option params [String] :encryption_mode
|
2140
2160
|
# The encryption mode for the job, which can be one of the following:
|
2141
2161
|
#
|
2142
|
-
# * `SSE-KMS` - Server-side encryption with AWS KMS
|
2162
|
+
# * `SSE-KMS` - Server-side encryption with keys managed by AWS KMS.
|
2143
2163
|
#
|
2144
2164
|
# * `SSE-S3` - Server-side encryption with keys managed by Amazon S3.
|
2145
2165
|
#
|
@@ -2169,6 +2189,13 @@ module Aws::GlueDataBrew
|
|
2169
2189
|
# The job's timeout in minutes. A job that attempts to run longer than
|
2170
2190
|
# this timeout period ends with a status of `TIMEOUT`.
|
2171
2191
|
#
|
2192
|
+
# @option params [Types::JobSample] :job_sample
|
2193
|
+
# Sample configuration for Profile Jobs only. Determines the number of
|
2194
|
+
# rows on which the Profile job will be executed. If a JobSample value
|
2195
|
+
# is not provided for profile jobs, the default value will be used. The
|
2196
|
+
# default value is CUSTOM\_ROWS for the mode parameter and 20000 for the
|
2197
|
+
# size parameter.
|
2198
|
+
#
|
2172
2199
|
# @return [Types::UpdateProfileJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2173
2200
|
#
|
2174
2201
|
# * {Types::UpdateProfileJobResponse#name #name} => String
|
@@ -2188,6 +2215,10 @@ module Aws::GlueDataBrew
|
|
2188
2215
|
# },
|
2189
2216
|
# role_arn: "Arn", # required
|
2190
2217
|
# timeout: 1,
|
2218
|
+
# job_sample: {
|
2219
|
+
# mode: "FULL_DATASET", # accepts FULL_DATASET, CUSTOM_ROWS
|
2220
|
+
# size: 1,
|
2221
|
+
# },
|
2191
2222
|
# })
|
2192
2223
|
#
|
2193
2224
|
# @example Response structure
|
@@ -2309,7 +2340,7 @@ module Aws::GlueDataBrew
|
|
2309
2340
|
# @option params [String] :encryption_mode
|
2310
2341
|
# The encryption mode for the job, which can be one of the following:
|
2311
2342
|
#
|
2312
|
-
# * `SSE-KMS` - Server-side encryption with AWS KMS
|
2343
|
+
# * `SSE-KMS` - Server-side encryption with keys managed by AWS KMS.
|
2313
2344
|
#
|
2314
2345
|
# * `SSE-S3` - Server-side encryption with keys managed by Amazon S3.
|
2315
2346
|
#
|
@@ -2440,7 +2471,7 @@ module Aws::GlueDataBrew
|
|
2440
2471
|
params: params,
|
2441
2472
|
config: config)
|
2442
2473
|
context[:gem_name] = 'aws-sdk-gluedatabrew'
|
2443
|
-
context[:gem_version] = '1.
|
2474
|
+
context[:gem_version] = '1.4.0'
|
2444
2475
|
Seahorse::Client::Request.new(handlers, context)
|
2445
2476
|
end
|
2446
2477
|
|
@@ -96,6 +96,8 @@ module Aws::GlueDataBrew
|
|
96
96
|
JobRunId = Shapes::StringShape.new(name: 'JobRunId')
|
97
97
|
JobRunList = Shapes::ListShape.new(name: 'JobRunList')
|
98
98
|
JobRunState = Shapes::StringShape.new(name: 'JobRunState')
|
99
|
+
JobSample = Shapes::StructureShape.new(name: 'JobSample')
|
100
|
+
JobSize = Shapes::IntegerShape.new(name: 'JobSize')
|
99
101
|
JobType = Shapes::StringShape.new(name: 'JobType')
|
100
102
|
JsonOptions = Shapes::StructureShape.new(name: 'JsonOptions')
|
101
103
|
Key = Shapes::StringShape.new(name: 'Key')
|
@@ -158,6 +160,7 @@ module Aws::GlueDataBrew
|
|
158
160
|
Result = Shapes::StringShape.new(name: 'Result')
|
159
161
|
S3Location = Shapes::StructureShape.new(name: 'S3Location')
|
160
162
|
Sample = Shapes::StructureShape.new(name: 'Sample')
|
163
|
+
SampleMode = Shapes::StringShape.new(name: 'SampleMode')
|
161
164
|
SampleSize = Shapes::IntegerShape.new(name: 'SampleSize')
|
162
165
|
SampleType = Shapes::StringShape.new(name: 'SampleType')
|
163
166
|
Schedule = Shapes::StructureShape.new(name: 'Schedule')
|
@@ -250,6 +253,7 @@ module Aws::GlueDataBrew
|
|
250
253
|
CreateProfileJobRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "RoleArn"))
|
251
254
|
CreateProfileJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
252
255
|
CreateProfileJobRequest.add_member(:timeout, Shapes::ShapeRef.new(shape: Timeout, location_name: "Timeout"))
|
256
|
+
CreateProfileJobRequest.add_member(:job_sample, Shapes::ShapeRef.new(shape: JobSample, location_name: "JobSample"))
|
253
257
|
CreateProfileJobRequest.struct_class = Types::CreateProfileJobRequest
|
254
258
|
|
255
259
|
CreateProfileJobResponse.add_member(:name, Shapes::ShapeRef.new(shape: JobName, required: true, location_name: "Name"))
|
@@ -398,6 +402,7 @@ module Aws::GlueDataBrew
|
|
398
402
|
DescribeJobResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "RoleArn"))
|
399
403
|
DescribeJobResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
400
404
|
DescribeJobResponse.add_member(:timeout, Shapes::ShapeRef.new(shape: Timeout, location_name: "Timeout"))
|
405
|
+
DescribeJobResponse.add_member(:job_sample, Shapes::ShapeRef.new(shape: JobSample, location_name: "JobSample"))
|
401
406
|
DescribeJobResponse.struct_class = Types::DescribeJobResponse
|
402
407
|
|
403
408
|
DescribeJobRunRequest.add_member(:name, Shapes::ShapeRef.new(shape: JobName, required: true, location: "uri", location_name: "name"))
|
@@ -418,6 +423,7 @@ module Aws::GlueDataBrew
|
|
418
423
|
DescribeJobRunResponse.add_member(:recipe_reference, Shapes::ShapeRef.new(shape: RecipeReference, location_name: "RecipeReference"))
|
419
424
|
DescribeJobRunResponse.add_member(:started_by, Shapes::ShapeRef.new(shape: StartedBy, location_name: "StartedBy"))
|
420
425
|
DescribeJobRunResponse.add_member(:started_on, Shapes::ShapeRef.new(shape: Date, location_name: "StartedOn"))
|
426
|
+
DescribeJobRunResponse.add_member(:job_sample, Shapes::ShapeRef.new(shape: JobSample, location_name: "JobSample"))
|
421
427
|
DescribeJobRunResponse.struct_class = Types::DescribeJobRunResponse
|
422
428
|
|
423
429
|
DescribeProjectRequest.add_member(:name, Shapes::ShapeRef.new(shape: ProjectName, required: true, location: "uri", location_name: "name"))
|
@@ -510,6 +516,7 @@ module Aws::GlueDataBrew
|
|
510
516
|
Job.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "RoleArn"))
|
511
517
|
Job.add_member(:timeout, Shapes::ShapeRef.new(shape: Timeout, location_name: "Timeout"))
|
512
518
|
Job.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
519
|
+
Job.add_member(:job_sample, Shapes::ShapeRef.new(shape: JobSample, location_name: "JobSample"))
|
513
520
|
Job.struct_class = Types::Job
|
514
521
|
|
515
522
|
JobList.member = Shapes::ShapeRef.new(shape: Job)
|
@@ -530,10 +537,15 @@ module Aws::GlueDataBrew
|
|
530
537
|
JobRun.add_member(:recipe_reference, Shapes::ShapeRef.new(shape: RecipeReference, location_name: "RecipeReference"))
|
531
538
|
JobRun.add_member(:started_by, Shapes::ShapeRef.new(shape: StartedBy, location_name: "StartedBy"))
|
532
539
|
JobRun.add_member(:started_on, Shapes::ShapeRef.new(shape: Date, location_name: "StartedOn"))
|
540
|
+
JobRun.add_member(:job_sample, Shapes::ShapeRef.new(shape: JobSample, location_name: "JobSample"))
|
533
541
|
JobRun.struct_class = Types::JobRun
|
534
542
|
|
535
543
|
JobRunList.member = Shapes::ShapeRef.new(shape: JobRun)
|
536
544
|
|
545
|
+
JobSample.add_member(:mode, Shapes::ShapeRef.new(shape: SampleMode, location_name: "Mode"))
|
546
|
+
JobSample.add_member(:size, Shapes::ShapeRef.new(shape: JobSize, location_name: "Size"))
|
547
|
+
JobSample.struct_class = Types::JobSample
|
548
|
+
|
537
549
|
JsonOptions.add_member(:multi_line, Shapes::ShapeRef.new(shape: MultiLine, location_name: "MultiLine"))
|
538
550
|
JsonOptions.struct_class = Types::JsonOptions
|
539
551
|
|
@@ -786,6 +798,7 @@ module Aws::GlueDataBrew
|
|
786
798
|
UpdateProfileJobRequest.add_member(:output_location, Shapes::ShapeRef.new(shape: S3Location, required: true, location_name: "OutputLocation"))
|
787
799
|
UpdateProfileJobRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "RoleArn"))
|
788
800
|
UpdateProfileJobRequest.add_member(:timeout, Shapes::ShapeRef.new(shape: Timeout, location_name: "Timeout"))
|
801
|
+
UpdateProfileJobRequest.add_member(:job_sample, Shapes::ShapeRef.new(shape: JobSample, location_name: "JobSample"))
|
789
802
|
UpdateProfileJobRequest.struct_class = Types::UpdateProfileJobRequest
|
790
803
|
|
791
804
|
UpdateProfileJobResponse.add_member(:name, Shapes::ShapeRef.new(shape: JobName, required: true, location_name: "Name"))
|
@@ -228,6 +228,10 @@ module Aws::GlueDataBrew
|
|
228
228
|
# "TagKey" => "TagValue",
|
229
229
|
# },
|
230
230
|
# timeout: 1,
|
231
|
+
# job_sample: {
|
232
|
+
# mode: "FULL_DATASET", # accepts FULL_DATASET, CUSTOM_ROWS
|
233
|
+
# size: 1,
|
234
|
+
# },
|
231
235
|
# }
|
232
236
|
#
|
233
237
|
# @!attribute [rw] dataset_name
|
@@ -242,7 +246,7 @@ module Aws::GlueDataBrew
|
|
242
246
|
# @!attribute [rw] encryption_mode
|
243
247
|
# The encryption mode for the job, which can be one of the following:
|
244
248
|
#
|
245
|
-
# * `SSE-KMS` -
|
249
|
+
# * `SSE-KMS` - `SSE-KMS` - Server-side encryption with AWS
|
246
250
|
# KMS-managed keys.
|
247
251
|
#
|
248
252
|
# * `SSE-S3` - Server-side encryption with keys managed by Amazon S3.
|
@@ -287,6 +291,14 @@ module Aws::GlueDataBrew
|
|
287
291
|
# than this timeout period ends with a status of `TIMEOUT`.
|
288
292
|
# @return [Integer]
|
289
293
|
#
|
294
|
+
# @!attribute [rw] job_sample
|
295
|
+
# Sample configuration for profile jobs only. Determines the number of
|
296
|
+
# rows on which the profile job will be executed. If a JobSample value
|
297
|
+
# is not provided, the default value will be used. The default value
|
298
|
+
# is CUSTOM\_ROWS for the mode parameter and 20000 for the size
|
299
|
+
# parameter.
|
300
|
+
# @return [Types::JobSample]
|
301
|
+
#
|
290
302
|
# @see http://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/CreateProfileJobRequest AWS API Documentation
|
291
303
|
#
|
292
304
|
class CreateProfileJobRequest < Struct.new(
|
@@ -300,7 +312,8 @@ module Aws::GlueDataBrew
|
|
300
312
|
:output_location,
|
301
313
|
:role_arn,
|
302
314
|
:tags,
|
303
|
-
:timeout
|
315
|
+
:timeout,
|
316
|
+
:job_sample)
|
304
317
|
SENSITIVE = []
|
305
318
|
include Aws::Structure
|
306
319
|
end
|
@@ -438,7 +451,7 @@ module Aws::GlueDataBrew
|
|
438
451
|
# @!attribute [rw] encryption_mode
|
439
452
|
# The encryption mode for the job, which can be one of the following:
|
440
453
|
#
|
441
|
-
# * `SSE-KMS` - Server-side encryption with AWS KMS
|
454
|
+
# * `SSE-KMS` - Server-side encryption with keys managed by AWS KMS.
|
442
455
|
#
|
443
456
|
# * `SSE-S3` - Server-side encryption with keys managed by Amazon S3.
|
444
457
|
# @return [String]
|
@@ -1097,7 +1110,7 @@ module Aws::GlueDataBrew
|
|
1097
1110
|
# @!attribute [rw] encryption_mode
|
1098
1111
|
# The encryption mode for the job, which can be one of the following:
|
1099
1112
|
#
|
1100
|
-
# * `SSE-KMS` - Server-side encryption with AWS KMS
|
1113
|
+
# * `SSE-KMS` - Server-side encryption with keys managed by AWS KMS.
|
1101
1114
|
#
|
1102
1115
|
# * `SSE-S3` - Server-side encryption with keys managed by Amazon S3.
|
1103
1116
|
# @return [String]
|
@@ -1168,6 +1181,11 @@ module Aws::GlueDataBrew
|
|
1168
1181
|
# than this timeout period ends with a status of `TIMEOUT`.
|
1169
1182
|
# @return [Integer]
|
1170
1183
|
#
|
1184
|
+
# @!attribute [rw] job_sample
|
1185
|
+
# Sample configuration for profile jobs only. Determines the number of
|
1186
|
+
# rows on which the profile job will be executed.
|
1187
|
+
# @return [Types::JobSample]
|
1188
|
+
#
|
1171
1189
|
# @see http://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/DescribeJobResponse AWS API Documentation
|
1172
1190
|
#
|
1173
1191
|
class DescribeJobResponse < Struct.new(
|
@@ -1189,7 +1207,8 @@ module Aws::GlueDataBrew
|
|
1189
1207
|
:resource_arn,
|
1190
1208
|
:role_arn,
|
1191
1209
|
:tags,
|
1192
|
-
:timeout
|
1210
|
+
:timeout,
|
1211
|
+
:job_sample)
|
1193
1212
|
SENSITIVE = []
|
1194
1213
|
include Aws::Structure
|
1195
1214
|
end
|
@@ -1237,7 +1256,7 @@ module Aws::GlueDataBrew
|
|
1237
1256
|
# @return [String]
|
1238
1257
|
#
|
1239
1258
|
# @!attribute [rw] execution_time
|
1240
|
-
# The amount of time, in seconds, during which
|
1259
|
+
# The amount of time, in seconds, during which the job run consumed
|
1241
1260
|
# resources.
|
1242
1261
|
# @return [Integer]
|
1243
1262
|
#
|
@@ -1271,14 +1290,21 @@ module Aws::GlueDataBrew
|
|
1271
1290
|
# @return [Types::RecipeReference]
|
1272
1291
|
#
|
1273
1292
|
# @!attribute [rw] started_by
|
1274
|
-
# The Amazon Resource Name (ARN) of the user who
|
1275
|
-
# run.
|
1293
|
+
# The Amazon Resource Name (ARN) of the user who started the job run.
|
1276
1294
|
# @return [String]
|
1277
1295
|
#
|
1278
1296
|
# @!attribute [rw] started_on
|
1279
1297
|
# The date and time when the job run began.
|
1280
1298
|
# @return [Time]
|
1281
1299
|
#
|
1300
|
+
# @!attribute [rw] job_sample
|
1301
|
+
# Sample configuration for profile jobs only. Determines the number of
|
1302
|
+
# rows on which the profile job will be executed. If a JobSample value
|
1303
|
+
# is not provided, the default value will be used. The default value
|
1304
|
+
# is CUSTOM\_ROWS for the mode parameter and 20000 for the size
|
1305
|
+
# parameter.
|
1306
|
+
# @return [Types::JobSample]
|
1307
|
+
#
|
1282
1308
|
# @see http://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/DescribeJobRunResponse AWS API Documentation
|
1283
1309
|
#
|
1284
1310
|
class DescribeJobRunResponse < Struct.new(
|
@@ -1295,7 +1321,8 @@ module Aws::GlueDataBrew
|
|
1295
1321
|
:outputs,
|
1296
1322
|
:recipe_reference,
|
1297
1323
|
:started_by,
|
1298
|
-
:started_on
|
1324
|
+
:started_on,
|
1325
|
+
:job_sample)
|
1299
1326
|
SENSITIVE = []
|
1300
1327
|
include Aws::Structure
|
1301
1328
|
end
|
@@ -1811,6 +1838,14 @@ module Aws::GlueDataBrew
|
|
1811
1838
|
# Metadata tags that have been applied to the job.
|
1812
1839
|
# @return [Hash<String,String>]
|
1813
1840
|
#
|
1841
|
+
# @!attribute [rw] job_sample
|
1842
|
+
# Sample configuration for profile jobs only. Determines the number of
|
1843
|
+
# rows on which the profile job will be executed. If a JobSample value
|
1844
|
+
# is not provided, the default value will be used. The default value
|
1845
|
+
# is CUSTOM\_ROWS for the mode parameter and 20000 for the size
|
1846
|
+
# parameter.
|
1847
|
+
# @return [Types::JobSample]
|
1848
|
+
#
|
1814
1849
|
# @see http://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/Job AWS API Documentation
|
1815
1850
|
#
|
1816
1851
|
class Job < Struct.new(
|
@@ -1833,7 +1868,8 @@ module Aws::GlueDataBrew
|
|
1833
1868
|
:resource_arn,
|
1834
1869
|
:role_arn,
|
1835
1870
|
:timeout,
|
1836
|
-
:tags
|
1871
|
+
:tags,
|
1872
|
+
:job_sample)
|
1837
1873
|
SENSITIVE = []
|
1838
1874
|
include Aws::Structure
|
1839
1875
|
end
|
@@ -1900,6 +1936,14 @@ module Aws::GlueDataBrew
|
|
1900
1936
|
# The date and time when the job run began.
|
1901
1937
|
# @return [Time]
|
1902
1938
|
#
|
1939
|
+
# @!attribute [rw] job_sample
|
1940
|
+
# Sample configuration for profile jobs only. Determines the number of
|
1941
|
+
# rows on which the profile job will be executed. If a JobSample value
|
1942
|
+
# is not provided, the default value will be used. The default value
|
1943
|
+
# is CUSTOM\_ROWS for the mode parameter and 20000 for the size
|
1944
|
+
# parameter.
|
1945
|
+
# @return [Types::JobSample]
|
1946
|
+
#
|
1903
1947
|
# @see http://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/JobRun AWS API Documentation
|
1904
1948
|
#
|
1905
1949
|
class JobRun < Struct.new(
|
@@ -1916,7 +1960,50 @@ module Aws::GlueDataBrew
|
|
1916
1960
|
:outputs,
|
1917
1961
|
:recipe_reference,
|
1918
1962
|
:started_by,
|
1919
|
-
:started_on
|
1963
|
+
:started_on,
|
1964
|
+
:job_sample)
|
1965
|
+
SENSITIVE = []
|
1966
|
+
include Aws::Structure
|
1967
|
+
end
|
1968
|
+
|
1969
|
+
# Sample configuration for Profile Jobs only. Determines the number of
|
1970
|
+
# rows on which the Profile job will be executed. If a JobSample value
|
1971
|
+
# is not provided for profile jobs, the default value will be used. The
|
1972
|
+
# default value is CUSTOM\_ROWS for the mode parameter and 20000 for the
|
1973
|
+
# size parameter.
|
1974
|
+
#
|
1975
|
+
# @note When making an API call, you may pass JobSample
|
1976
|
+
# data as a hash:
|
1977
|
+
#
|
1978
|
+
# {
|
1979
|
+
# mode: "FULL_DATASET", # accepts FULL_DATASET, CUSTOM_ROWS
|
1980
|
+
# size: 1,
|
1981
|
+
# }
|
1982
|
+
#
|
1983
|
+
# @!attribute [rw] mode
|
1984
|
+
# Determines whether the profile job will be executed on the entire
|
1985
|
+
# dataset or on a specified number of rows. Must be one of the
|
1986
|
+
# following:
|
1987
|
+
#
|
1988
|
+
# * FULL\_DATASET: Profile job will be executed on the entire dataset.
|
1989
|
+
#
|
1990
|
+
# * CUSTOM\_ROWS: Profile job will be executed on the number of rows
|
1991
|
+
# specified in the Size parameter.
|
1992
|
+
# @return [String]
|
1993
|
+
#
|
1994
|
+
# @!attribute [rw] size
|
1995
|
+
# Size parameter is only required when the mode is CUSTOM\_ROWS.
|
1996
|
+
# Profile job will be executed on the the specified number of rows.
|
1997
|
+
# The maximum value for size is Long.MAX\_VALUE.
|
1998
|
+
#
|
1999
|
+
# Long.MAX\_VALUE = 9223372036854775807
|
2000
|
+
# @return [Integer]
|
2001
|
+
#
|
2002
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/JobSample AWS API Documentation
|
2003
|
+
#
|
2004
|
+
class JobSample < Struct.new(
|
2005
|
+
:mode,
|
2006
|
+
:size)
|
1920
2007
|
SENSITIVE = []
|
1921
2008
|
include Aws::Structure
|
1922
2009
|
end
|
@@ -3258,6 +3345,10 @@ module Aws::GlueDataBrew
|
|
3258
3345
|
# },
|
3259
3346
|
# role_arn: "Arn", # required
|
3260
3347
|
# timeout: 1,
|
3348
|
+
# job_sample: {
|
3349
|
+
# mode: "FULL_DATASET", # accepts FULL_DATASET, CUSTOM_ROWS
|
3350
|
+
# size: 1,
|
3351
|
+
# },
|
3261
3352
|
# }
|
3262
3353
|
#
|
3263
3354
|
# @!attribute [rw] encryption_key_arn
|
@@ -3268,7 +3359,7 @@ module Aws::GlueDataBrew
|
|
3268
3359
|
# @!attribute [rw] encryption_mode
|
3269
3360
|
# The encryption mode for the job, which can be one of the following:
|
3270
3361
|
#
|
3271
|
-
# * `SSE-KMS` - Server-side encryption with AWS KMS
|
3362
|
+
# * `SSE-KMS` - Server-side encryption with keys managed by AWS KMS.
|
3272
3363
|
#
|
3273
3364
|
# * `SSE-S3` - Server-side encryption with keys managed by Amazon S3.
|
3274
3365
|
# @return [String]
|
@@ -3307,6 +3398,14 @@ module Aws::GlueDataBrew
|
|
3307
3398
|
# than this timeout period ends with a status of `TIMEOUT`.
|
3308
3399
|
# @return [Integer]
|
3309
3400
|
#
|
3401
|
+
# @!attribute [rw] job_sample
|
3402
|
+
# Sample configuration for Profile Jobs only. Determines the number of
|
3403
|
+
# rows on which the Profile job will be executed. If a JobSample value
|
3404
|
+
# is not provided for profile jobs, the default value will be used.
|
3405
|
+
# The default value is CUSTOM\_ROWS for the mode parameter and 20000
|
3406
|
+
# for the size parameter.
|
3407
|
+
# @return [Types::JobSample]
|
3408
|
+
#
|
3310
3409
|
# @see http://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/UpdateProfileJobRequest AWS API Documentation
|
3311
3410
|
#
|
3312
3411
|
class UpdateProfileJobRequest < Struct.new(
|
@@ -3318,7 +3417,8 @@ module Aws::GlueDataBrew
|
|
3318
3417
|
:max_retries,
|
3319
3418
|
:output_location,
|
3320
3419
|
:role_arn,
|
3321
|
-
:timeout
|
3420
|
+
:timeout,
|
3421
|
+
:job_sample)
|
3322
3422
|
SENSITIVE = []
|
3323
3423
|
include Aws::Structure
|
3324
3424
|
end
|
@@ -3427,7 +3527,7 @@ module Aws::GlueDataBrew
|
|
3427
3527
|
# @!attribute [rw] encryption_mode
|
3428
3528
|
# The encryption mode for the job, which can be one of the following:
|
3429
3529
|
#
|
3430
|
-
# * `SSE-KMS` - Server-side encryption with AWS KMS
|
3530
|
+
# * `SSE-KMS` - Server-side encryption with keys managed by AWS KMS.
|
3431
3531
|
#
|
3432
3532
|
# * `SSE-S3` - Server-side encryption with keys managed by Amazon S3.
|
3433
3533
|
# @return [String]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-gluedatabrew
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.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: 2021-02-
|
11
|
+
date: 2021-02-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|