aws-sdk-gluedatabrew 1.2.0 → 1.3.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-gluedatabrew.rb +1 -1
- data/lib/aws-sdk-gluedatabrew/client.rb +68 -1
- data/lib/aws-sdk-gluedatabrew/client_api.rb +32 -0
- data/lib/aws-sdk-gluedatabrew/types.rb +107 -1
- 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: bcb26d454bbc89f5adcad0a7856d2f13dfe93c99451e3085f7cd907ac549d7e3
|
4
|
+
data.tar.gz: c93d5f51cdab992104d9aa9b6411946de2c09723a8a6ab8bba54bfd63a0cc090
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e7f977bde7938c7d7e2dd032b0ec164ac8f42d5b95752cebe8c07c87202026956bc92375fabcd8fa9ad04cdc2a77aa52d2f606c0ee76ecaa734b0edbf0f14ea
|
7
|
+
data.tar.gz: cf41aaf857708c41b0834149e0d5237ca10d7f51ecfc3440cd67e0258698e4c6c394588673e702ecc48792c95f5d90d3404995f1665f9a1b53821fbecf3b6b13
|
data/lib/aws-sdk-gluedatabrew.rb
CHANGED
@@ -1103,6 +1103,73 @@ module Aws::GlueDataBrew
|
|
1103
1103
|
req.send_request(options)
|
1104
1104
|
end
|
1105
1105
|
|
1106
|
+
# Represents one run of a DataBrew job.
|
1107
|
+
#
|
1108
|
+
# @option params [required, String] :name
|
1109
|
+
# The name of the job being processed during this run.
|
1110
|
+
#
|
1111
|
+
# @option params [required, String] :run_id
|
1112
|
+
# The unique identifier of the job run.
|
1113
|
+
#
|
1114
|
+
# @return [Types::DescribeJobRunResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1115
|
+
#
|
1116
|
+
# * {Types::DescribeJobRunResponse#attempt #attempt} => Integer
|
1117
|
+
# * {Types::DescribeJobRunResponse#completed_on #completed_on} => Time
|
1118
|
+
# * {Types::DescribeJobRunResponse#dataset_name #dataset_name} => String
|
1119
|
+
# * {Types::DescribeJobRunResponse#error_message #error_message} => String
|
1120
|
+
# * {Types::DescribeJobRunResponse#execution_time #execution_time} => Integer
|
1121
|
+
# * {Types::DescribeJobRunResponse#job_name #job_name} => String
|
1122
|
+
# * {Types::DescribeJobRunResponse#run_id #run_id} => String
|
1123
|
+
# * {Types::DescribeJobRunResponse#state #state} => String
|
1124
|
+
# * {Types::DescribeJobRunResponse#log_subscription #log_subscription} => String
|
1125
|
+
# * {Types::DescribeJobRunResponse#log_group_name #log_group_name} => String
|
1126
|
+
# * {Types::DescribeJobRunResponse#outputs #outputs} => Array<Types::Output>
|
1127
|
+
# * {Types::DescribeJobRunResponse#recipe_reference #recipe_reference} => Types::RecipeReference
|
1128
|
+
# * {Types::DescribeJobRunResponse#started_by #started_by} => String
|
1129
|
+
# * {Types::DescribeJobRunResponse#started_on #started_on} => Time
|
1130
|
+
#
|
1131
|
+
# @example Request syntax with placeholder values
|
1132
|
+
#
|
1133
|
+
# resp = client.describe_job_run({
|
1134
|
+
# name: "JobName", # required
|
1135
|
+
# run_id: "JobRunId", # required
|
1136
|
+
# })
|
1137
|
+
#
|
1138
|
+
# @example Response structure
|
1139
|
+
#
|
1140
|
+
# resp.attempt #=> Integer
|
1141
|
+
# resp.completed_on #=> Time
|
1142
|
+
# resp.dataset_name #=> String
|
1143
|
+
# resp.error_message #=> String
|
1144
|
+
# resp.execution_time #=> Integer
|
1145
|
+
# resp.job_name #=> String
|
1146
|
+
# resp.run_id #=> String
|
1147
|
+
# resp.state #=> String, one of "STARTING", "RUNNING", "STOPPING", "STOPPED", "SUCCEEDED", "FAILED", "TIMEOUT"
|
1148
|
+
# resp.log_subscription #=> String, one of "ENABLE", "DISABLE"
|
1149
|
+
# resp.log_group_name #=> String
|
1150
|
+
# resp.outputs #=> Array
|
1151
|
+
# resp.outputs[0].compression_format #=> String, one of "GZIP", "LZ4", "SNAPPY", "BZIP2", "DEFLATE", "LZO", "BROTLI", "ZSTD", "ZLIB"
|
1152
|
+
# resp.outputs[0].format #=> String, one of "CSV", "JSON", "PARQUET", "GLUEPARQUET", "AVRO", "ORC", "XML"
|
1153
|
+
# resp.outputs[0].partition_columns #=> Array
|
1154
|
+
# resp.outputs[0].partition_columns[0] #=> String
|
1155
|
+
# resp.outputs[0].location.bucket #=> String
|
1156
|
+
# resp.outputs[0].location.key #=> String
|
1157
|
+
# resp.outputs[0].overwrite #=> Boolean
|
1158
|
+
# resp.outputs[0].format_options.csv.delimiter #=> String
|
1159
|
+
# resp.recipe_reference.name #=> String
|
1160
|
+
# resp.recipe_reference.recipe_version #=> String
|
1161
|
+
# resp.started_by #=> String
|
1162
|
+
# resp.started_on #=> Time
|
1163
|
+
#
|
1164
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/DescribeJobRun AWS API Documentation
|
1165
|
+
#
|
1166
|
+
# @overload describe_job_run(params = {})
|
1167
|
+
# @param [Hash] params ({})
|
1168
|
+
def describe_job_run(params = {}, options = {})
|
1169
|
+
req = build_request(:describe_job_run, params)
|
1170
|
+
req.send_request(options)
|
1171
|
+
end
|
1172
|
+
|
1106
1173
|
# Returns the definition of a specific DataBrew project.
|
1107
1174
|
#
|
1108
1175
|
# @option params [required, String] :name
|
@@ -2373,7 +2440,7 @@ module Aws::GlueDataBrew
|
|
2373
2440
|
params: params,
|
2374
2441
|
config: config)
|
2375
2442
|
context[:gem_name] = 'aws-sdk-gluedatabrew'
|
2376
|
-
context[:gem_version] = '1.
|
2443
|
+
context[:gem_version] = '1.3.0'
|
2377
2444
|
Seahorse::Client::Request.new(handlers, context)
|
2378
2445
|
end
|
2379
2446
|
|
@@ -70,6 +70,8 @@ module Aws::GlueDataBrew
|
|
70
70
|
DescribeDatasetResponse = Shapes::StructureShape.new(name: 'DescribeDatasetResponse')
|
71
71
|
DescribeJobRequest = Shapes::StructureShape.new(name: 'DescribeJobRequest')
|
72
72
|
DescribeJobResponse = Shapes::StructureShape.new(name: 'DescribeJobResponse')
|
73
|
+
DescribeJobRunRequest = Shapes::StructureShape.new(name: 'DescribeJobRunRequest')
|
74
|
+
DescribeJobRunResponse = Shapes::StructureShape.new(name: 'DescribeJobRunResponse')
|
73
75
|
DescribeProjectRequest = Shapes::StructureShape.new(name: 'DescribeProjectRequest')
|
74
76
|
DescribeProjectResponse = Shapes::StructureShape.new(name: 'DescribeProjectResponse')
|
75
77
|
DescribeRecipeRequest = Shapes::StructureShape.new(name: 'DescribeRecipeRequest')
|
@@ -398,6 +400,26 @@ module Aws::GlueDataBrew
|
|
398
400
|
DescribeJobResponse.add_member(:timeout, Shapes::ShapeRef.new(shape: Timeout, location_name: "Timeout"))
|
399
401
|
DescribeJobResponse.struct_class = Types::DescribeJobResponse
|
400
402
|
|
403
|
+
DescribeJobRunRequest.add_member(:name, Shapes::ShapeRef.new(shape: JobName, required: true, location: "uri", location_name: "name"))
|
404
|
+
DescribeJobRunRequest.add_member(:run_id, Shapes::ShapeRef.new(shape: JobRunId, required: true, location: "uri", location_name: "runId"))
|
405
|
+
DescribeJobRunRequest.struct_class = Types::DescribeJobRunRequest
|
406
|
+
|
407
|
+
DescribeJobRunResponse.add_member(:attempt, Shapes::ShapeRef.new(shape: Attempt, location_name: "Attempt"))
|
408
|
+
DescribeJobRunResponse.add_member(:completed_on, Shapes::ShapeRef.new(shape: Date, location_name: "CompletedOn"))
|
409
|
+
DescribeJobRunResponse.add_member(:dataset_name, Shapes::ShapeRef.new(shape: DatasetName, location_name: "DatasetName"))
|
410
|
+
DescribeJobRunResponse.add_member(:error_message, Shapes::ShapeRef.new(shape: JobRunErrorMessage, location_name: "ErrorMessage"))
|
411
|
+
DescribeJobRunResponse.add_member(:execution_time, Shapes::ShapeRef.new(shape: ExecutionTime, location_name: "ExecutionTime"))
|
412
|
+
DescribeJobRunResponse.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, required: true, location_name: "JobName"))
|
413
|
+
DescribeJobRunResponse.add_member(:run_id, Shapes::ShapeRef.new(shape: JobRunId, location_name: "RunId"))
|
414
|
+
DescribeJobRunResponse.add_member(:state, Shapes::ShapeRef.new(shape: JobRunState, location_name: "State"))
|
415
|
+
DescribeJobRunResponse.add_member(:log_subscription, Shapes::ShapeRef.new(shape: LogSubscription, location_name: "LogSubscription"))
|
416
|
+
DescribeJobRunResponse.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, location_name: "LogGroupName"))
|
417
|
+
DescribeJobRunResponse.add_member(:outputs, Shapes::ShapeRef.new(shape: OutputList, location_name: "Outputs"))
|
418
|
+
DescribeJobRunResponse.add_member(:recipe_reference, Shapes::ShapeRef.new(shape: RecipeReference, location_name: "RecipeReference"))
|
419
|
+
DescribeJobRunResponse.add_member(:started_by, Shapes::ShapeRef.new(shape: StartedBy, location_name: "StartedBy"))
|
420
|
+
DescribeJobRunResponse.add_member(:started_on, Shapes::ShapeRef.new(shape: Date, location_name: "StartedOn"))
|
421
|
+
DescribeJobRunResponse.struct_class = Types::DescribeJobRunResponse
|
422
|
+
|
401
423
|
DescribeProjectRequest.add_member(:name, Shapes::ShapeRef.new(shape: ProjectName, required: true, location: "uri", location_name: "name"))
|
402
424
|
DescribeProjectRequest.struct_class = Types::DescribeProjectRequest
|
403
425
|
|
@@ -991,6 +1013,16 @@ module Aws::GlueDataBrew
|
|
991
1013
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
992
1014
|
end)
|
993
1015
|
|
1016
|
+
api.add_operation(:describe_job_run, Seahorse::Model::Operation.new.tap do |o|
|
1017
|
+
o.name = "DescribeJobRun"
|
1018
|
+
o.http_method = "GET"
|
1019
|
+
o.http_request_uri = "/jobs/{name}/jobRun/{runId}"
|
1020
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeJobRunRequest)
|
1021
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeJobRunResponse)
|
1022
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1023
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1024
|
+
end)
|
1025
|
+
|
994
1026
|
api.add_operation(:describe_project, Seahorse::Model::Operation.new.tap do |o|
|
995
1027
|
o.name = "DescribeProject"
|
996
1028
|
o.http_method = "GET"
|
@@ -674,7 +674,7 @@ module Aws::GlueDataBrew
|
|
674
674
|
include Aws::Structure
|
675
675
|
end
|
676
676
|
|
677
|
-
# Options that define how DataBrew will write a Csv file
|
677
|
+
# Options that define how DataBrew will write a Csv file.
|
678
678
|
#
|
679
679
|
# @note When making an API call, you may pass CsvOutputOptions
|
680
680
|
# data as a hash:
|
@@ -1194,6 +1194,112 @@ module Aws::GlueDataBrew
|
|
1194
1194
|
include Aws::Structure
|
1195
1195
|
end
|
1196
1196
|
|
1197
|
+
# @note When making an API call, you may pass DescribeJobRunRequest
|
1198
|
+
# data as a hash:
|
1199
|
+
#
|
1200
|
+
# {
|
1201
|
+
# name: "JobName", # required
|
1202
|
+
# run_id: "JobRunId", # required
|
1203
|
+
# }
|
1204
|
+
#
|
1205
|
+
# @!attribute [rw] name
|
1206
|
+
# The name of the job being processed during this run.
|
1207
|
+
# @return [String]
|
1208
|
+
#
|
1209
|
+
# @!attribute [rw] run_id
|
1210
|
+
# The unique identifier of the job run.
|
1211
|
+
# @return [String]
|
1212
|
+
#
|
1213
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/DescribeJobRunRequest AWS API Documentation
|
1214
|
+
#
|
1215
|
+
class DescribeJobRunRequest < Struct.new(
|
1216
|
+
:name,
|
1217
|
+
:run_id)
|
1218
|
+
SENSITIVE = []
|
1219
|
+
include Aws::Structure
|
1220
|
+
end
|
1221
|
+
|
1222
|
+
# @!attribute [rw] attempt
|
1223
|
+
# The number of times that DataBrew has attempted to run the job.
|
1224
|
+
# @return [Integer]
|
1225
|
+
#
|
1226
|
+
# @!attribute [rw] completed_on
|
1227
|
+
# The date and time when the job completed processing.
|
1228
|
+
# @return [Time]
|
1229
|
+
#
|
1230
|
+
# @!attribute [rw] dataset_name
|
1231
|
+
# The name of the dataset for the job to process.
|
1232
|
+
# @return [String]
|
1233
|
+
#
|
1234
|
+
# @!attribute [rw] error_message
|
1235
|
+
# A message indicating an error (if any) that was encountered when the
|
1236
|
+
# job ran.
|
1237
|
+
# @return [String]
|
1238
|
+
#
|
1239
|
+
# @!attribute [rw] execution_time
|
1240
|
+
# The amount of time, in seconds, during which a job run consumed
|
1241
|
+
# resources.
|
1242
|
+
# @return [Integer]
|
1243
|
+
#
|
1244
|
+
# @!attribute [rw] job_name
|
1245
|
+
# The name of the job being processed during this run.
|
1246
|
+
# @return [String]
|
1247
|
+
#
|
1248
|
+
# @!attribute [rw] run_id
|
1249
|
+
# The unique identifier of the job run.
|
1250
|
+
# @return [String]
|
1251
|
+
#
|
1252
|
+
# @!attribute [rw] state
|
1253
|
+
# The current state of the job run entity itself.
|
1254
|
+
# @return [String]
|
1255
|
+
#
|
1256
|
+
# @!attribute [rw] log_subscription
|
1257
|
+
# The current status of Amazon CloudWatch logging for the job run.
|
1258
|
+
# @return [String]
|
1259
|
+
#
|
1260
|
+
# @!attribute [rw] log_group_name
|
1261
|
+
# The name of an Amazon CloudWatch log group, where the job writes
|
1262
|
+
# diagnostic messages when it runs.
|
1263
|
+
# @return [String]
|
1264
|
+
#
|
1265
|
+
# @!attribute [rw] outputs
|
1266
|
+
# One or more output artifacts from a job run.
|
1267
|
+
# @return [Array<Types::Output>]
|
1268
|
+
#
|
1269
|
+
# @!attribute [rw] recipe_reference
|
1270
|
+
# Represents the name and version of a DataBrew recipe.
|
1271
|
+
# @return [Types::RecipeReference]
|
1272
|
+
#
|
1273
|
+
# @!attribute [rw] started_by
|
1274
|
+
# The Amazon Resource Name (ARN) of the user who initiated the job
|
1275
|
+
# run.
|
1276
|
+
# @return [String]
|
1277
|
+
#
|
1278
|
+
# @!attribute [rw] started_on
|
1279
|
+
# The date and time when the job run began.
|
1280
|
+
# @return [Time]
|
1281
|
+
#
|
1282
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/DescribeJobRunResponse AWS API Documentation
|
1283
|
+
#
|
1284
|
+
class DescribeJobRunResponse < Struct.new(
|
1285
|
+
:attempt,
|
1286
|
+
:completed_on,
|
1287
|
+
:dataset_name,
|
1288
|
+
:error_message,
|
1289
|
+
:execution_time,
|
1290
|
+
:job_name,
|
1291
|
+
:run_id,
|
1292
|
+
:state,
|
1293
|
+
:log_subscription,
|
1294
|
+
:log_group_name,
|
1295
|
+
:outputs,
|
1296
|
+
:recipe_reference,
|
1297
|
+
:started_by,
|
1298
|
+
:started_on)
|
1299
|
+
SENSITIVE = []
|
1300
|
+
include Aws::Structure
|
1301
|
+
end
|
1302
|
+
|
1197
1303
|
# @note When making an API call, you may pass DescribeProjectRequest
|
1198
1304
|
# data as a hash:
|
1199
1305
|
#
|
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.3.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-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|