aws-sdk-glue 1.174.0 → 1.175.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 49c0e84a3b7ce50fcbb38c2b020dbb4850f8af507fa1bcc6e64d2baa409adfc4
4
- data.tar.gz: a77e370f39c4256e12c05b7582d1134e8a731dd20ea0523bd55f66fe367b0929
3
+ metadata.gz: 471b4ec8474074f1289956c2f175ce7e4a61c1e0d8847d1bce9082cbd878b9c1
4
+ data.tar.gz: 0ce1b0804f982ff6794b63738a5e110101dee40fdeaa586bba69c12a333a7454
5
5
  SHA512:
6
- metadata.gz: d4b2eae580ec9ebc4dd851192b72526437a695e5041611c25d062c51e088ebfbea84ed16aba422ff5a33d0c7aa5d80eaf543ce231f65a4ab26a386626c9b4ea0
7
- data.tar.gz: 1c22063ddc553539cc2af12ec901fe849fb56fb84b87f0071de4b313aa7fb25ea0be1c405928ff4b270111ba8900ac6c1983c4d9fff659adba7691b390600419
6
+ metadata.gz: 48fbc558e4bbb1b2b2adb54518996bfad05c8941a1675bb9b90fa15ab1bc7285279e714bff8e6e3494c295d7d532c3fe42b5af479964c606e7b203b5834aa547
7
+ data.tar.gz: 426afd75c9f75b0b06aef2af76d6a6fb4a0bd6a5498f6de9485c1d853f0891f7440e35f4ce7788f472031d8844c6d52cab15739d003382672d36fb6e44abeb04
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.175.0 (2024-05-29)
5
+ ------------------
6
+
7
+ * Feature - Add optional field JobMode to CreateJob and UpdateJob APIs.
8
+
4
9
  1.174.0 (2024-05-21)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.174.0
1
+ 1.175.0
@@ -1089,6 +1089,7 @@ module Aws::Glue
1089
1089
  #
1090
1090
  # resp.jobs #=> Array
1091
1091
  # resp.jobs[0].name #=> String
1092
+ # resp.jobs[0].job_mode #=> String, one of "SCRIPT", "VISUAL", "NOTEBOOK"
1092
1093
  # resp.jobs[0].description #=> String
1093
1094
  # resp.jobs[0].log_uri #=> String
1094
1095
  # resp.jobs[0].role #=> String
@@ -2282,6 +2283,7 @@ module Aws::Glue
2282
2283
  # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].previous_run_id #=> String
2283
2284
  # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].trigger_name #=> String
2284
2285
  # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].job_name #=> String
2286
+ # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].job_mode #=> String, one of "SCRIPT", "VISUAL", "NOTEBOOK"
2285
2287
  # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].started_on #=> Time
2286
2288
  # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].last_modified_on #=> Time
2287
2289
  # resp.workflows[0].last_run.graph.nodes[0].job_details.job_runs[0].completed_on #=> Time
@@ -2351,6 +2353,7 @@ module Aws::Glue
2351
2353
  # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].previous_run_id #=> String
2352
2354
  # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].trigger_name #=> String
2353
2355
  # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].job_name #=> String
2356
+ # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].job_mode #=> String, one of "SCRIPT", "VISUAL", "NOTEBOOK"
2354
2357
  # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].started_on #=> Time
2355
2358
  # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].last_modified_on #=> Time
2356
2359
  # resp.workflows[0].graph.nodes[0].job_details.job_runs[0].completed_on #=> Time
@@ -3417,6 +3420,19 @@ module Aws::Glue
3417
3420
  # The name you assign to this job definition. It must be unique in your
3418
3421
  # account.
3419
3422
  #
3423
+ # @option params [String] :job_mode
3424
+ # A mode that describes how a job was created. Valid values are:
3425
+ #
3426
+ # * `SCRIPT` - The job was created using the Glue Studio script editor.
3427
+ #
3428
+ # * `VISUAL` - The job was created using the Glue Studio visual editor.
3429
+ #
3430
+ # * `NOTEBOOK` - The job was created using an interactive sessions
3431
+ # notebook.
3432
+ #
3433
+ # When the `JobMode` field is missing or null, `SCRIPT` is assigned as
3434
+ # the default value.
3435
+ #
3420
3436
  # @option params [String] :description
3421
3437
  # Description of the job being defined.
3422
3438
  #
@@ -7334,6 +7350,7 @@ module Aws::Glue
7334
7350
  # @example Response structure
7335
7351
  #
7336
7352
  # resp.job.name #=> String
7353
+ # resp.job.job_mode #=> String, one of "SCRIPT", "VISUAL", "NOTEBOOK"
7337
7354
  # resp.job.description #=> String
7338
7355
  # resp.job.log_uri #=> String
7339
7356
  # resp.job.role #=> String
@@ -8307,6 +8324,7 @@ module Aws::Glue
8307
8324
  # resp.job_run.previous_run_id #=> String
8308
8325
  # resp.job_run.trigger_name #=> String
8309
8326
  # resp.job_run.job_name #=> String
8327
+ # resp.job_run.job_mode #=> String, one of "SCRIPT", "VISUAL", "NOTEBOOK"
8310
8328
  # resp.job_run.started_on #=> Time
8311
8329
  # resp.job_run.last_modified_on #=> Time
8312
8330
  # resp.job_run.completed_on #=> Time
@@ -8374,6 +8392,7 @@ module Aws::Glue
8374
8392
  # resp.job_runs[0].previous_run_id #=> String
8375
8393
  # resp.job_runs[0].trigger_name #=> String
8376
8394
  # resp.job_runs[0].job_name #=> String
8395
+ # resp.job_runs[0].job_mode #=> String, one of "SCRIPT", "VISUAL", "NOTEBOOK"
8377
8396
  # resp.job_runs[0].started_on #=> Time
8378
8397
  # resp.job_runs[0].last_modified_on #=> Time
8379
8398
  # resp.job_runs[0].completed_on #=> Time
@@ -8434,6 +8453,7 @@ module Aws::Glue
8434
8453
  #
8435
8454
  # resp.jobs #=> Array
8436
8455
  # resp.jobs[0].name #=> String
8456
+ # resp.jobs[0].job_mode #=> String, one of "SCRIPT", "VISUAL", "NOTEBOOK"
8437
8457
  # resp.jobs[0].description #=> String
8438
8458
  # resp.jobs[0].log_uri #=> String
8439
8459
  # resp.jobs[0].role #=> String
@@ -12259,6 +12279,7 @@ module Aws::Glue
12259
12279
  # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].previous_run_id #=> String
12260
12280
  # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].trigger_name #=> String
12261
12281
  # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].job_name #=> String
12282
+ # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].job_mode #=> String, one of "SCRIPT", "VISUAL", "NOTEBOOK"
12262
12283
  # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].started_on #=> Time
12263
12284
  # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].last_modified_on #=> Time
12264
12285
  # resp.workflow.last_run.graph.nodes[0].job_details.job_runs[0].completed_on #=> Time
@@ -12328,6 +12349,7 @@ module Aws::Glue
12328
12349
  # resp.workflow.graph.nodes[0].job_details.job_runs[0].previous_run_id #=> String
12329
12350
  # resp.workflow.graph.nodes[0].job_details.job_runs[0].trigger_name #=> String
12330
12351
  # resp.workflow.graph.nodes[0].job_details.job_runs[0].job_name #=> String
12352
+ # resp.workflow.graph.nodes[0].job_details.job_runs[0].job_mode #=> String, one of "SCRIPT", "VISUAL", "NOTEBOOK"
12331
12353
  # resp.workflow.graph.nodes[0].job_details.job_runs[0].started_on #=> Time
12332
12354
  # resp.workflow.graph.nodes[0].job_details.job_runs[0].last_modified_on #=> Time
12333
12355
  # resp.workflow.graph.nodes[0].job_details.job_runs[0].completed_on #=> Time
@@ -12450,6 +12472,7 @@ module Aws::Glue
12450
12472
  # resp.run.graph.nodes[0].job_details.job_runs[0].previous_run_id #=> String
12451
12473
  # resp.run.graph.nodes[0].job_details.job_runs[0].trigger_name #=> String
12452
12474
  # resp.run.graph.nodes[0].job_details.job_runs[0].job_name #=> String
12475
+ # resp.run.graph.nodes[0].job_details.job_runs[0].job_mode #=> String, one of "SCRIPT", "VISUAL", "NOTEBOOK"
12453
12476
  # resp.run.graph.nodes[0].job_details.job_runs[0].started_on #=> Time
12454
12477
  # resp.run.graph.nodes[0].job_details.job_runs[0].last_modified_on #=> Time
12455
12478
  # resp.run.graph.nodes[0].job_details.job_runs[0].completed_on #=> Time
@@ -12612,6 +12635,7 @@ module Aws::Glue
12612
12635
  # resp.runs[0].graph.nodes[0].job_details.job_runs[0].previous_run_id #=> String
12613
12636
  # resp.runs[0].graph.nodes[0].job_details.job_runs[0].trigger_name #=> String
12614
12637
  # resp.runs[0].graph.nodes[0].job_details.job_runs[0].job_name #=> String
12638
+ # resp.runs[0].graph.nodes[0].job_details.job_runs[0].job_mode #=> String, one of "SCRIPT", "VISUAL", "NOTEBOOK"
12615
12639
  # resp.runs[0].graph.nodes[0].job_details.job_runs[0].started_on #=> Time
12616
12640
  # resp.runs[0].graph.nodes[0].job_details.job_runs[0].last_modified_on #=> Time
12617
12641
  # resp.runs[0].graph.nodes[0].job_details.job_runs[0].completed_on #=> Time
@@ -17168,7 +17192,7 @@ module Aws::Glue
17168
17192
  params: params,
17169
17193
  config: config)
17170
17194
  context[:gem_name] = 'aws-sdk-glue'
17171
- context[:gem_version] = '1.174.0'
17195
+ context[:gem_version] = '1.175.0'
17172
17196
  Seahorse::Client::Request.new(handlers, context)
17173
17197
  end
17174
17198
 
@@ -689,6 +689,7 @@ module Aws::Glue
689
689
  JobBookmarksEncryptionMode = Shapes::StringShape.new(name: 'JobBookmarksEncryptionMode')
690
690
  JobCommand = Shapes::StructureShape.new(name: 'JobCommand')
691
691
  JobList = Shapes::ListShape.new(name: 'JobList')
692
+ JobMode = Shapes::StringShape.new(name: 'JobMode')
692
693
  JobName = Shapes::StringShape.new(name: 'JobName')
693
694
  JobNameList = Shapes::ListShape.new(name: 'JobNameList')
694
695
  JobNodeDetails = Shapes::StructureShape.new(name: 'JobNodeDetails')
@@ -2188,6 +2189,7 @@ module Aws::Glue
2188
2189
  CreateGrokClassifierRequest.struct_class = Types::CreateGrokClassifierRequest
2189
2190
 
2190
2191
  CreateJobRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
2192
+ CreateJobRequest.add_member(:job_mode, Shapes::ShapeRef.new(shape: JobMode, location_name: "JobMode"))
2191
2193
  CreateJobRequest.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
2192
2194
  CreateJobRequest.add_member(:log_uri, Shapes::ShapeRef.new(shape: UriString, location_name: "LogUri"))
2193
2195
  CreateJobRequest.add_member(:role, Shapes::ShapeRef.new(shape: RoleString, required: true, location_name: "Role"))
@@ -3898,6 +3900,7 @@ module Aws::Glue
3898
3900
  JdbcTargetList.member = Shapes::ShapeRef.new(shape: JdbcTarget)
3899
3901
 
3900
3902
  Job.add_member(:name, Shapes::ShapeRef.new(shape: NameString, location_name: "Name"))
3903
+ Job.add_member(:job_mode, Shapes::ShapeRef.new(shape: JobMode, location_name: "JobMode"))
3901
3904
  Job.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
3902
3905
  Job.add_member(:log_uri, Shapes::ShapeRef.new(shape: UriString, location_name: "LogUri"))
3903
3906
  Job.add_member(:role, Shapes::ShapeRef.new(shape: RoleString, location_name: "Role"))
@@ -3954,6 +3957,7 @@ module Aws::Glue
3954
3957
  JobRun.add_member(:previous_run_id, Shapes::ShapeRef.new(shape: IdString, location_name: "PreviousRunId"))
3955
3958
  JobRun.add_member(:trigger_name, Shapes::ShapeRef.new(shape: NameString, location_name: "TriggerName"))
3956
3959
  JobRun.add_member(:job_name, Shapes::ShapeRef.new(shape: NameString, location_name: "JobName"))
3960
+ JobRun.add_member(:job_mode, Shapes::ShapeRef.new(shape: JobMode, location_name: "JobMode"))
3957
3961
  JobRun.add_member(:started_on, Shapes::ShapeRef.new(shape: TimestampValue, location_name: "StartedOn"))
3958
3962
  JobRun.add_member(:last_modified_on, Shapes::ShapeRef.new(shape: TimestampValue, location_name: "LastModifiedOn"))
3959
3963
  JobRun.add_member(:completed_on, Shapes::ShapeRef.new(shape: TimestampValue, location_name: "CompletedOn"))
@@ -3978,6 +3982,7 @@ module Aws::Glue
3978
3982
 
3979
3983
  JobRunList.member = Shapes::ShapeRef.new(shape: JobRun)
3980
3984
 
3985
+ JobUpdate.add_member(:job_mode, Shapes::ShapeRef.new(shape: JobMode, location_name: "JobMode"))
3981
3986
  JobUpdate.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
3982
3987
  JobUpdate.add_member(:log_uri, Shapes::ShapeRef.new(shape: UriString, location_name: "LogUri"))
3983
3988
  JobUpdate.add_member(:role, Shapes::ShapeRef.new(shape: RoleString, location_name: "Role"))
@@ -4661,6 +4661,22 @@ module Aws::Glue
4661
4661
  # your account.
4662
4662
  # @return [String]
4663
4663
  #
4664
+ # @!attribute [rw] job_mode
4665
+ # A mode that describes how a job was created. Valid values are:
4666
+ #
4667
+ # * `SCRIPT` - The job was created using the Glue Studio script
4668
+ # editor.
4669
+ #
4670
+ # * `VISUAL` - The job was created using the Glue Studio visual
4671
+ # editor.
4672
+ #
4673
+ # * `NOTEBOOK` - The job was created using an interactive sessions
4674
+ # notebook.
4675
+ #
4676
+ # When the `JobMode` field is missing or null, `SCRIPT` is assigned as
4677
+ # the default value.
4678
+ # @return [String]
4679
+ #
4664
4680
  # @!attribute [rw] description
4665
4681
  # Description of the job being defined.
4666
4682
  # @return [String]
@@ -4915,6 +4931,7 @@ module Aws::Glue
4915
4931
  #
4916
4932
  class CreateJobRequest < Struct.new(
4917
4933
  :name,
4934
+ :job_mode,
4918
4935
  :description,
4919
4936
  :log_uri,
4920
4937
  :role,
@@ -13204,6 +13221,22 @@ module Aws::Glue
13204
13221
  # The name you assign to this job definition.
13205
13222
  # @return [String]
13206
13223
  #
13224
+ # @!attribute [rw] job_mode
13225
+ # A mode that describes how a job was created. Valid values are:
13226
+ #
13227
+ # * `SCRIPT` - The job was created using the Glue Studio script
13228
+ # editor.
13229
+ #
13230
+ # * `VISUAL` - The job was created using the Glue Studio visual
13231
+ # editor.
13232
+ #
13233
+ # * `NOTEBOOK` - The job was created using an interactive sessions
13234
+ # notebook.
13235
+ #
13236
+ # When the `JobMode` field is missing or null, `SCRIPT` is assigned as
13237
+ # the default value.
13238
+ # @return [String]
13239
+ #
13207
13240
  # @!attribute [rw] description
13208
13241
  # A description of the job.
13209
13242
  # @return [String]
@@ -13458,6 +13491,7 @@ module Aws::Glue
13458
13491
  #
13459
13492
  class Job < Struct.new(
13460
13493
  :name,
13494
+ :job_mode,
13461
13495
  :description,
13462
13496
  :log_uri,
13463
13497
  :role,
@@ -13628,6 +13662,22 @@ module Aws::Glue
13628
13662
  # The name of the job definition being used in this run.
13629
13663
  # @return [String]
13630
13664
  #
13665
+ # @!attribute [rw] job_mode
13666
+ # A mode that describes how a job was created. Valid values are:
13667
+ #
13668
+ # * `SCRIPT` - The job was created using the Glue Studio script
13669
+ # editor.
13670
+ #
13671
+ # * `VISUAL` - The job was created using the Glue Studio visual
13672
+ # editor.
13673
+ #
13674
+ # * `NOTEBOOK` - The job was created using an interactive sessions
13675
+ # notebook.
13676
+ #
13677
+ # When the `JobMode` field is missing or null, `SCRIPT` is assigned as
13678
+ # the default value.
13679
+ # @return [String]
13680
+ #
13631
13681
  # @!attribute [rw] started_on
13632
13682
  # The date and time at which this job run was started.
13633
13683
  # @return [Time]
@@ -13901,6 +13951,7 @@ module Aws::Glue
13901
13951
  :previous_run_id,
13902
13952
  :trigger_name,
13903
13953
  :job_name,
13954
+ :job_mode,
13904
13955
  :started_on,
13905
13956
  :last_modified_on,
13906
13957
  :completed_on,
@@ -13928,6 +13979,22 @@ module Aws::Glue
13928
13979
  # Specifies information used to update an existing job definition. The
13929
13980
  # previous job definition is completely overwritten by this information.
13930
13981
  #
13982
+ # @!attribute [rw] job_mode
13983
+ # A mode that describes how a job was created. Valid values are:
13984
+ #
13985
+ # * `SCRIPT` - The job was created using the Glue Studio script
13986
+ # editor.
13987
+ #
13988
+ # * `VISUAL` - The job was created using the Glue Studio visual
13989
+ # editor.
13990
+ #
13991
+ # * `NOTEBOOK` - The job was created using an interactive sessions
13992
+ # notebook.
13993
+ #
13994
+ # When the `JobMode` field is missing or null, `SCRIPT` is assigned as
13995
+ # the default value.
13996
+ # @return [String]
13997
+ #
13931
13998
  # @!attribute [rw] description
13932
13999
  # Description of the job being defined.
13933
14000
  # @return [String]
@@ -14171,6 +14238,7 @@ module Aws::Glue
14171
14238
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/JobUpdate AWS API Documentation
14172
14239
  #
14173
14240
  class JobUpdate < Struct.new(
14241
+ :job_mode,
14174
14242
  :description,
14175
14243
  :log_uri,
14176
14244
  :role,
data/lib/aws-sdk-glue.rb CHANGED
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-glue/customizations'
52
52
  # @!group service
53
53
  module Aws::Glue
54
54
 
55
- GEM_VERSION = '1.174.0'
55
+ GEM_VERSION = '1.175.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -734,6 +734,7 @@ module Aws
734
734
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glue/Client.html#create_job-instance_method
735
735
  def create_job: (
736
736
  name: ::String,
737
+ ?job_mode: ("SCRIPT" | "VISUAL" | "NOTEBOOK"),
737
738
  ?description: ::String,
738
739
  ?log_uri: ::String,
739
740
  role: ::String,
@@ -5054,6 +5055,7 @@ module Aws
5054
5055
  def update_job: (
5055
5056
  job_name: ::String,
5056
5057
  job_update: {
5058
+ job_mode: ("SCRIPT" | "VISUAL" | "NOTEBOOK")?,
5057
5059
  description: ::String?,
5058
5060
  log_uri: ::String?,
5059
5061
  role: ::String?,
data/sig/types.rbs CHANGED
@@ -1105,6 +1105,7 @@ module Aws::Glue
1105
1105
 
1106
1106
  class CreateJobRequest
1107
1107
  attr_accessor name: ::String
1108
+ attr_accessor job_mode: ("SCRIPT" | "VISUAL" | "NOTEBOOK")
1108
1109
  attr_accessor description: ::String
1109
1110
  attr_accessor log_uri: ::String
1110
1111
  attr_accessor role: ::String
@@ -3315,6 +3316,7 @@ module Aws::Glue
3315
3316
 
3316
3317
  class Job
3317
3318
  attr_accessor name: ::String
3319
+ attr_accessor job_mode: ("SCRIPT" | "VISUAL" | "NOTEBOOK")
3318
3320
  attr_accessor description: ::String
3319
3321
  attr_accessor log_uri: ::String
3320
3322
  attr_accessor role: ::String
@@ -3377,6 +3379,7 @@ module Aws::Glue
3377
3379
  attr_accessor previous_run_id: ::String
3378
3380
  attr_accessor trigger_name: ::String
3379
3381
  attr_accessor job_name: ::String
3382
+ attr_accessor job_mode: ("SCRIPT" | "VISUAL" | "NOTEBOOK")
3380
3383
  attr_accessor started_on: ::Time
3381
3384
  attr_accessor last_modified_on: ::Time
3382
3385
  attr_accessor completed_on: ::Time
@@ -3401,6 +3404,7 @@ module Aws::Glue
3401
3404
  end
3402
3405
 
3403
3406
  class JobUpdate
3407
+ attr_accessor job_mode: ("SCRIPT" | "VISUAL" | "NOTEBOOK")
3404
3408
  attr_accessor description: ::String
3405
3409
  attr_accessor log_uri: ::String
3406
3410
  attr_accessor role: ::String
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.174.0
4
+ version: 1.175.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: 2024-05-21 00:00:00.000000000 Z
11
+ date: 2024-05-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core