aws-sdk-glue 1.40.0 → 1.41.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
  SHA1:
3
- metadata.gz: 98d80be3dc15ce31f398243e08ccda15ebf45be3
4
- data.tar.gz: 6e91cbe9a2307b29897e366e3addc062bfa23e5e
3
+ metadata.gz: 210cfdb774f92489d7991d0b329d2f083086752b
4
+ data.tar.gz: 042f80f190c5c065e96c51803b8ae6c72f3bec76
5
5
  SHA512:
6
- metadata.gz: 9bbf62782ce94c0a6bd81e6131186233eab01927273908a976a17d30a2bde31b5fbb5c5f27d9f4c6b7e50698e7eb720cb54583ff5b5977cae5602530d931ec48
7
- data.tar.gz: a1bcf75986ea28bbbfef219e190489fed47510778f2c44fa2680491fcf7b0d64383ed73f68f85bdf2fed417b042e1c2baec18a7eeda0b2068c028049bb3c94a0
6
+ metadata.gz: 1749041ed29375a5d8c1f7e51e4cb57638ff5eed2e0ea3c4a865d0e7b8ce884184a9fbb44c86099361c69a9176c07d1aa7b8bd3a4b21205cadbb8e8301f1714d
7
+ data.tar.gz: 689a3fbdcbd37f255020e4f92b2aaefa07412c1ffbaef20d5554b339b87bcce66a126e337805707e110c0865809660b0c7f8279f8acb05f8abc41d903ada1419
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-glue/customizations'
42
42
  # @service
43
43
  module Aws::Glue
44
44
 
45
- GEM_VERSION = '1.40.0'
45
+ GEM_VERSION = '1.41.0'
46
46
 
47
47
  end
@@ -3434,6 +3434,90 @@ module Aws::Glue
3434
3434
  req.send_request(options)
3435
3435
  end
3436
3436
 
3437
+ # Returns information on a job bookmark entry.
3438
+ #
3439
+ # @option params [required, String] :job_name
3440
+ # The name of the job in question.
3441
+ #
3442
+ # @option params [String] :run_id
3443
+ # The unique run identifier associated with this job run.
3444
+ #
3445
+ # @return [Types::GetJobBookmarkResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3446
+ #
3447
+ # * {Types::GetJobBookmarkResponse#job_bookmark_entry #job_bookmark_entry} => Types::JobBookmarkEntry
3448
+ #
3449
+ # @example Request syntax with placeholder values
3450
+ #
3451
+ # resp = client.get_job_bookmark({
3452
+ # job_name: "JobName", # required
3453
+ # run_id: "RunId",
3454
+ # })
3455
+ #
3456
+ # @example Response structure
3457
+ #
3458
+ # resp.job_bookmark_entry.job_name #=> String
3459
+ # resp.job_bookmark_entry.version #=> Integer
3460
+ # resp.job_bookmark_entry.run #=> Integer
3461
+ # resp.job_bookmark_entry.attempt #=> Integer
3462
+ # resp.job_bookmark_entry.previous_run_id #=> String
3463
+ # resp.job_bookmark_entry.run_id #=> String
3464
+ # resp.job_bookmark_entry.job_bookmark #=> String
3465
+ #
3466
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobBookmark AWS API Documentation
3467
+ #
3468
+ # @overload get_job_bookmark(params = {})
3469
+ # @param [Hash] params ({})
3470
+ def get_job_bookmark(params = {}, options = {})
3471
+ req = build_request(:get_job_bookmark, params)
3472
+ req.send_request(options)
3473
+ end
3474
+
3475
+ # Returns information on the job bookmark entries. The list is ordered
3476
+ # on decreasing version numbers.
3477
+ #
3478
+ # @option params [required, String] :job_name
3479
+ # The name of the job in question.
3480
+ #
3481
+ # @option params [Integer] :max_results
3482
+ # The maximum size of the response.
3483
+ #
3484
+ # @option params [Integer] :next_token
3485
+ # A continuation token, if this is a continuation call.
3486
+ #
3487
+ # @return [Types::GetJobBookmarksResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3488
+ #
3489
+ # * {Types::GetJobBookmarksResponse#job_bookmark_entries #job_bookmark_entries} => Array<Types::JobBookmarkEntry>
3490
+ # * {Types::GetJobBookmarksResponse#next_token #next_token} => Integer
3491
+ #
3492
+ # @example Request syntax with placeholder values
3493
+ #
3494
+ # resp = client.get_job_bookmarks({
3495
+ # job_name: "JobName", # required
3496
+ # max_results: 1,
3497
+ # next_token: 1,
3498
+ # })
3499
+ #
3500
+ # @example Response structure
3501
+ #
3502
+ # resp.job_bookmark_entries #=> Array
3503
+ # resp.job_bookmark_entries[0].job_name #=> String
3504
+ # resp.job_bookmark_entries[0].version #=> Integer
3505
+ # resp.job_bookmark_entries[0].run #=> Integer
3506
+ # resp.job_bookmark_entries[0].attempt #=> Integer
3507
+ # resp.job_bookmark_entries[0].previous_run_id #=> String
3508
+ # resp.job_bookmark_entries[0].run_id #=> String
3509
+ # resp.job_bookmark_entries[0].job_bookmark #=> String
3510
+ # resp.next_token #=> Integer
3511
+ #
3512
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobBookmarks AWS API Documentation
3513
+ #
3514
+ # @overload get_job_bookmarks(params = {})
3515
+ # @param [Hash] params ({})
3516
+ def get_job_bookmarks(params = {}, options = {})
3517
+ req = build_request(:get_job_bookmarks, params)
3518
+ req.send_request(options)
3519
+ end
3520
+
3437
3521
  # Retrieves the metadata for a given job run.
3438
3522
  #
3439
3523
  # @option params [required, String] :job_name
@@ -5557,6 +5641,9 @@ module Aws::Glue
5557
5641
  # @option params [required, String] :job_name
5558
5642
  # The name of the job in question.
5559
5643
  #
5644
+ # @option params [String] :run_id
5645
+ # The unique run identifier associated with this job run.
5646
+ #
5560
5647
  # @return [Types::ResetJobBookmarkResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5561
5648
  #
5562
5649
  # * {Types::ResetJobBookmarkResponse#job_bookmark_entry #job_bookmark_entry} => Types::JobBookmarkEntry
@@ -5565,6 +5652,7 @@ module Aws::Glue
5565
5652
  #
5566
5653
  # resp = client.reset_job_bookmark({
5567
5654
  # job_name: "JobName", # required
5655
+ # run_id: "RunId",
5568
5656
  # })
5569
5657
  #
5570
5658
  # @example Response structure
@@ -5573,6 +5661,8 @@ module Aws::Glue
5573
5661
  # resp.job_bookmark_entry.version #=> Integer
5574
5662
  # resp.job_bookmark_entry.run #=> Integer
5575
5663
  # resp.job_bookmark_entry.attempt #=> Integer
5664
+ # resp.job_bookmark_entry.previous_run_id #=> String
5665
+ # resp.job_bookmark_entry.run_id #=> String
5576
5666
  # resp.job_bookmark_entry.job_bookmark #=> String
5577
5667
  #
5578
5668
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ResetJobBookmark AWS API Documentation
@@ -6742,7 +6832,7 @@ module Aws::Glue
6742
6832
  params: params,
6743
6833
  config: config)
6744
6834
  context[:gem_name] = 'aws-sdk-glue'
6745
- context[:gem_version] = '1.40.0'
6835
+ context[:gem_version] = '1.41.0'
6746
6836
  Seahorse::Client::Request.new(handlers, context)
6747
6837
  end
6748
6838
 
@@ -239,6 +239,10 @@ module Aws::Glue
239
239
  GetDevEndpointResponse = Shapes::StructureShape.new(name: 'GetDevEndpointResponse')
240
240
  GetDevEndpointsRequest = Shapes::StructureShape.new(name: 'GetDevEndpointsRequest')
241
241
  GetDevEndpointsResponse = Shapes::StructureShape.new(name: 'GetDevEndpointsResponse')
242
+ GetJobBookmarkRequest = Shapes::StructureShape.new(name: 'GetJobBookmarkRequest')
243
+ GetJobBookmarkResponse = Shapes::StructureShape.new(name: 'GetJobBookmarkResponse')
244
+ GetJobBookmarksRequest = Shapes::StructureShape.new(name: 'GetJobBookmarksRequest')
245
+ GetJobBookmarksResponse = Shapes::StructureShape.new(name: 'GetJobBookmarksResponse')
242
246
  GetJobRequest = Shapes::StructureShape.new(name: 'GetJobRequest')
243
247
  GetJobResponse = Shapes::StructureShape.new(name: 'GetJobResponse')
244
248
  GetJobRunRequest = Shapes::StructureShape.new(name: 'GetJobRunRequest')
@@ -307,6 +311,7 @@ module Aws::Glue
307
311
  JdbcTargetList = Shapes::ListShape.new(name: 'JdbcTargetList')
308
312
  Job = Shapes::StructureShape.new(name: 'Job')
309
313
  JobBookmarkEntry = Shapes::StructureShape.new(name: 'JobBookmarkEntry')
314
+ JobBookmarkEntryList = Shapes::ListShape.new(name: 'JobBookmarkEntryList')
310
315
  JobBookmarksEncryption = Shapes::StructureShape.new(name: 'JobBookmarksEncryption')
311
316
  JobBookmarksEncryptionMode = Shapes::StringShape.new(name: 'JobBookmarksEncryptionMode')
312
317
  JobCommand = Shapes::StructureShape.new(name: 'JobCommand')
@@ -407,6 +412,7 @@ module Aws::Glue
407
412
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
408
413
  RoleString = Shapes::StringShape.new(name: 'RoleString')
409
414
  RowTag = Shapes::StringShape.new(name: 'RowTag')
415
+ RunId = Shapes::StringShape.new(name: 'RunId')
410
416
  S3Encryption = Shapes::StructureShape.new(name: 'S3Encryption')
411
417
  S3EncryptionList = Shapes::ListShape.new(name: 'S3EncryptionList')
412
418
  S3EncryptionMode = Shapes::StringShape.new(name: 'S3EncryptionMode')
@@ -1325,6 +1331,22 @@ module Aws::Glue
1325
1331
  GetDevEndpointsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: GenericString, location_name: "NextToken"))
1326
1332
  GetDevEndpointsResponse.struct_class = Types::GetDevEndpointsResponse
1327
1333
 
1334
+ GetJobBookmarkRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, required: true, location_name: "JobName"))
1335
+ GetJobBookmarkRequest.add_member(:run_id, Shapes::ShapeRef.new(shape: RunId, location_name: "RunId"))
1336
+ GetJobBookmarkRequest.struct_class = Types::GetJobBookmarkRequest
1337
+
1338
+ GetJobBookmarkResponse.add_member(:job_bookmark_entry, Shapes::ShapeRef.new(shape: JobBookmarkEntry, location_name: "JobBookmarkEntry"))
1339
+ GetJobBookmarkResponse.struct_class = Types::GetJobBookmarkResponse
1340
+
1341
+ GetJobBookmarksRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, required: true, location_name: "JobName"))
1342
+ GetJobBookmarksRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: IntegerValue, location_name: "MaxResults"))
1343
+ GetJobBookmarksRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: IntegerValue, location_name: "NextToken"))
1344
+ GetJobBookmarksRequest.struct_class = Types::GetJobBookmarksRequest
1345
+
1346
+ GetJobBookmarksResponse.add_member(:job_bookmark_entries, Shapes::ShapeRef.new(shape: JobBookmarkEntryList, location_name: "JobBookmarkEntries"))
1347
+ GetJobBookmarksResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: IntegerValue, location_name: "NextToken"))
1348
+ GetJobBookmarksResponse.struct_class = Types::GetJobBookmarksResponse
1349
+
1328
1350
  GetJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "JobName"))
1329
1351
  GetJobRequest.struct_class = Types::GetJobRequest
1330
1352
 
@@ -1590,9 +1612,13 @@ module Aws::Glue
1590
1612
  JobBookmarkEntry.add_member(:version, Shapes::ShapeRef.new(shape: IntegerValue, location_name: "Version"))
1591
1613
  JobBookmarkEntry.add_member(:run, Shapes::ShapeRef.new(shape: IntegerValue, location_name: "Run"))
1592
1614
  JobBookmarkEntry.add_member(:attempt, Shapes::ShapeRef.new(shape: IntegerValue, location_name: "Attempt"))
1615
+ JobBookmarkEntry.add_member(:previous_run_id, Shapes::ShapeRef.new(shape: RunId, location_name: "PreviousRunId"))
1616
+ JobBookmarkEntry.add_member(:run_id, Shapes::ShapeRef.new(shape: RunId, location_name: "RunId"))
1593
1617
  JobBookmarkEntry.add_member(:job_bookmark, Shapes::ShapeRef.new(shape: JsonValue, location_name: "JobBookmark"))
1594
1618
  JobBookmarkEntry.struct_class = Types::JobBookmarkEntry
1595
1619
 
1620
+ JobBookmarkEntryList.member = Shapes::ShapeRef.new(shape: JobBookmarkEntry)
1621
+
1596
1622
  JobBookmarksEncryption.add_member(:job_bookmarks_encryption_mode, Shapes::ShapeRef.new(shape: JobBookmarksEncryptionMode, location_name: "JobBookmarksEncryptionMode"))
1597
1623
  JobBookmarksEncryption.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "KmsKeyArn"))
1598
1624
  JobBookmarksEncryption.struct_class = Types::JobBookmarksEncryption
@@ -1839,6 +1865,7 @@ module Aws::Glue
1839
1865
  PutWorkflowRunPropertiesResponse.struct_class = Types::PutWorkflowRunPropertiesResponse
1840
1866
 
1841
1867
  ResetJobBookmarkRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, required: true, location_name: "JobName"))
1868
+ ResetJobBookmarkRequest.add_member(:run_id, Shapes::ShapeRef.new(shape: RunId, location_name: "RunId"))
1842
1869
  ResetJobBookmarkRequest.struct_class = Types::ResetJobBookmarkRequest
1843
1870
 
1844
1871
  ResetJobBookmarkResponse.add_member(:job_bookmark_entry, Shapes::ShapeRef.new(shape: JobBookmarkEntry, location_name: "JobBookmarkEntry"))
@@ -2968,6 +2995,37 @@ module Aws::Glue
2968
2995
  o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
2969
2996
  end)
2970
2997
 
2998
+ api.add_operation(:get_job_bookmark, Seahorse::Model::Operation.new.tap do |o|
2999
+ o.name = "GetJobBookmark"
3000
+ o.http_method = "POST"
3001
+ o.http_request_uri = "/"
3002
+ o.input = Shapes::ShapeRef.new(shape: GetJobBookmarkRequest)
3003
+ o.output = Shapes::ShapeRef.new(shape: GetJobBookmarkResponse)
3004
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
3005
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
3006
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3007
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
3008
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3009
+ end)
3010
+
3011
+ api.add_operation(:get_job_bookmarks, Seahorse::Model::Operation.new.tap do |o|
3012
+ o.name = "GetJobBookmarks"
3013
+ o.http_method = "POST"
3014
+ o.http_request_uri = "/"
3015
+ o.input = Shapes::ShapeRef.new(shape: GetJobBookmarksRequest)
3016
+ o.output = Shapes::ShapeRef.new(shape: GetJobBookmarksResponse)
3017
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
3018
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
3019
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3020
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
3021
+ o[:pager] = Aws::Pager.new(
3022
+ limit_key: "max_results",
3023
+ tokens: {
3024
+ "next_token" => "next_token"
3025
+ }
3026
+ )
3027
+ end)
3028
+
2971
3029
  api.add_operation(:get_job_run, Seahorse::Model::Operation.new.tap do |o|
2972
3030
  o.name = "GetJobRun"
2973
3031
  o.http_method = "POST"
@@ -4650,6 +4650,90 @@ module Aws::Glue
4650
4650
  include Aws::Structure
4651
4651
  end
4652
4652
 
4653
+ # @note When making an API call, you may pass GetJobBookmarkRequest
4654
+ # data as a hash:
4655
+ #
4656
+ # {
4657
+ # job_name: "JobName", # required
4658
+ # run_id: "RunId",
4659
+ # }
4660
+ #
4661
+ # @!attribute [rw] job_name
4662
+ # The name of the job in question.
4663
+ # @return [String]
4664
+ #
4665
+ # @!attribute [rw] run_id
4666
+ # The unique run identifier associated with this job run.
4667
+ # @return [String]
4668
+ #
4669
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobBookmarkRequest AWS API Documentation
4670
+ #
4671
+ class GetJobBookmarkRequest < Struct.new(
4672
+ :job_name,
4673
+ :run_id)
4674
+ include Aws::Structure
4675
+ end
4676
+
4677
+ # @!attribute [rw] job_bookmark_entry
4678
+ # A structure that defines a point that a job can resume processing.
4679
+ # @return [Types::JobBookmarkEntry]
4680
+ #
4681
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobBookmarkResponse AWS API Documentation
4682
+ #
4683
+ class GetJobBookmarkResponse < Struct.new(
4684
+ :job_bookmark_entry)
4685
+ include Aws::Structure
4686
+ end
4687
+
4688
+ # @note When making an API call, you may pass GetJobBookmarksRequest
4689
+ # data as a hash:
4690
+ #
4691
+ # {
4692
+ # job_name: "JobName", # required
4693
+ # max_results: 1,
4694
+ # next_token: 1,
4695
+ # }
4696
+ #
4697
+ # @!attribute [rw] job_name
4698
+ # The name of the job in question.
4699
+ # @return [String]
4700
+ #
4701
+ # @!attribute [rw] max_results
4702
+ # The maximum size of the response.
4703
+ # @return [Integer]
4704
+ #
4705
+ # @!attribute [rw] next_token
4706
+ # A continuation token, if this is a continuation call.
4707
+ # @return [Integer]
4708
+ #
4709
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobBookmarksRequest AWS API Documentation
4710
+ #
4711
+ class GetJobBookmarksRequest < Struct.new(
4712
+ :job_name,
4713
+ :max_results,
4714
+ :next_token)
4715
+ include Aws::Structure
4716
+ end
4717
+
4718
+ # @!attribute [rw] job_bookmark_entries
4719
+ # A list of job bookmark entries that defines a point that a job can
4720
+ # resume processing.
4721
+ # @return [Array<Types::JobBookmarkEntry>]
4722
+ #
4723
+ # @!attribute [rw] next_token
4724
+ # A continuation token, which has a value of 1 if all the entries are
4725
+ # returned, or &gt; 1 if not all requested job runs have been
4726
+ # returned.
4727
+ # @return [Integer]
4728
+ #
4729
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobBookmarksResponse AWS API Documentation
4730
+ #
4731
+ class GetJobBookmarksResponse < Struct.new(
4732
+ :job_bookmark_entries,
4733
+ :next_token)
4734
+ include Aws::Structure
4735
+ end
4736
+
4653
4737
  # @note When making an API call, you may pass GetJobRequest
4654
4738
  # data as a hash:
4655
4739
  #
@@ -6263,6 +6347,14 @@ module Aws::Glue
6263
6347
  # The attempt ID number.
6264
6348
  # @return [Integer]
6265
6349
  #
6350
+ # @!attribute [rw] previous_run_id
6351
+ # The unique run identifier associated with the previous job run..
6352
+ # @return [String]
6353
+ #
6354
+ # @!attribute [rw] run_id
6355
+ # The unique run identifier associated with this job run.
6356
+ # @return [String]
6357
+ #
6266
6358
  # @!attribute [rw] job_bookmark
6267
6359
  # The bookmark itself.
6268
6360
  # @return [String]
@@ -6274,6 +6366,8 @@ module Aws::Glue
6274
6366
  :version,
6275
6367
  :run,
6276
6368
  :attempt,
6369
+ :previous_run_id,
6370
+ :run_id,
6277
6371
  :job_bookmark)
6278
6372
  include Aws::Structure
6279
6373
  end
@@ -7694,16 +7788,22 @@ module Aws::Glue
7694
7788
  #
7695
7789
  # {
7696
7790
  # job_name: "JobName", # required
7791
+ # run_id: "RunId",
7697
7792
  # }
7698
7793
  #
7699
7794
  # @!attribute [rw] job_name
7700
7795
  # The name of the job in question.
7701
7796
  # @return [String]
7702
7797
  #
7798
+ # @!attribute [rw] run_id
7799
+ # The unique run identifier associated with this job run.
7800
+ # @return [String]
7801
+ #
7703
7802
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ResetJobBookmarkRequest AWS API Documentation
7704
7803
  #
7705
7804
  class ResetJobBookmarkRequest < Struct.new(
7706
- :job_name)
7805
+ :job_name,
7806
+ :run_id)
7707
7807
  include Aws::Structure
7708
7808
  end
7709
7809
 
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.40.0
4
+ version: 1.41.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: 2019-07-25 00:00:00.000000000 Z
11
+ date: 2019-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core