aws-sdk-glue 1.207.0 → 1.209.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: 8403c73a012d94f8f62e45c60701bc0f8d37bd7bd3cce18f39dc08809fbe7e2d
4
- data.tar.gz: 1dd0ec59477428e1e04f4cdcf5cb52ffc41c5d1d7925e379f03764c900b90d6a
3
+ metadata.gz: 91409be378f2f7ecb95a1a2907b6b376c1a953fee19daf9e6d2b60fb874c408b
4
+ data.tar.gz: e97d0d0e260b30072fbbc7f92494f2fb250c4abed173c79d227c51dd2baacc33
5
5
  SHA512:
6
- metadata.gz: 04d3d8c79e4321c973345acb6f00bc395e901f6622edfd25b6e4b9018af0105949437a45f9454d40fc9f29d797d38d297214d955feba5655ba269dd62179d5d8
7
- data.tar.gz: 8a3bceaa533daeef0e5260ffab55b2144865b64a7c69f5289ed1205b62fb8751ec23fe040006f371daee6142a0cfb097e836485d0a83d4542d40924ee833206a
6
+ metadata.gz: c760cb5daeb5b51b3f6e3cd61f414d1231018d94cd536fea63033c9e9199c08f677ffb2159de484b456e352425fc1a4f01c9d855023f9ae80cc2bd7dd0c6f5e4
7
+ data.tar.gz: dc0fd940dcfbec15e1366dd0392ec52301a708812ee5cb77896824f0efcb1bef1570d0d6ec7cc99083d05b903c78f3ebc2bfd30d08c35c412c7991f573fa09a0
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.209.0 (2025-02-06)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.208.0 (2025-01-22)
10
+ ------------------
11
+
12
+ * Feature - Docs Update for timeout changes
13
+
4
14
  1.207.0 (2025-01-15)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.207.0
1
+ 1.209.0
@@ -4044,13 +4044,20 @@ module Aws::Glue
4044
4044
  # @option params [Integer] :timeout
4045
4045
  # The job timeout in minutes. This is the maximum time that a job run
4046
4046
  # can consume resources before it is terminated and enters `TIMEOUT`
4047
- # status. The default is 2,880 minutes (48 hours) for batch jobs.
4047
+ # status.
4048
4048
  #
4049
- # Streaming jobs must have timeout values less than 7 days or 10080
4050
- # minutes. When the value is left blank, the job will be restarted after
4051
- # 7 days based if you have not setup a maintenance window. If you have
4052
- # setup maintenance window, it will be restarted during the maintenance
4053
- # window after 7 days.
4049
+ # Jobs must have timeout values less than 7 days or 10080 minutes.
4050
+ # Otherwise, the jobs will throw an exception.
4051
+ #
4052
+ # When the value is left blank, the timeout is defaulted to 2880
4053
+ # minutes.
4054
+ #
4055
+ # Any existing Glue jobs that had a timeout value greater than 7 days
4056
+ # will be defaulted to 7 days. For instance if you have specified a
4057
+ # timeout of 20 days for a batch job, it will be stopped on the 7th day.
4058
+ #
4059
+ # For streaming jobs, if you have set up a maintenance window, it will
4060
+ # be restarted during the maintenance window after 7 days.
4054
4061
  #
4055
4062
  # @option params [Float] :max_capacity
4056
4063
  # For Glue version 1.0 or earlier jobs, using the standard worker type,
@@ -4897,8 +4904,8 @@ module Aws::Glue
4897
4904
  #
4898
4905
  # @option params [Integer] :timeout
4899
4906
  # The number of minutes before session times out. Default for Spark ETL
4900
- # jobs is 48 hours (2880 minutes), the maximum session lifetime for this
4901
- # job type. Consult the documentation for other job types.
4907
+ # jobs is 48 hours (2880 minutes). Consult the documentation for other
4908
+ # job types.
4902
4909
  #
4903
4910
  # @option params [Integer] :idle_timeout
4904
4911
  # The number of minutes when idle before session times out. Default for
@@ -17411,6 +17418,9 @@ module Aws::Glue
17411
17418
  # will be defaulted to 7 days. For instance if you have specified a
17412
17419
  # timeout of 20 days for a batch job, it will be stopped on the 7th day.
17413
17420
  #
17421
+ # For streaming jobs, if you have set up a maintenance window, it will
17422
+ # be restarted during the maintenance window after 7 days.
17423
+ #
17414
17424
  # @option params [Float] :max_capacity
17415
17425
  # For Glue version 1.0 or earlier jobs, using the standard worker type,
17416
17426
  # the number of Glue data processing units (DPUs) that can be allocated
@@ -20071,7 +20081,7 @@ module Aws::Glue
20071
20081
  tracer: tracer
20072
20082
  )
20073
20083
  context[:gem_name] = 'aws-sdk-glue'
20074
- context[:gem_version] = '1.207.0'
20084
+ context[:gem_version] = '1.209.0'
20075
20085
  Seahorse::Client::Request.new(handlers, context)
20076
20086
  end
20077
20087
 
@@ -10,40 +10,36 @@
10
10
  module Aws::Glue
11
11
  class EndpointProvider
12
12
  def resolve_endpoint(parameters)
13
- region = parameters.region
14
- use_dual_stack = parameters.use_dual_stack
15
- use_fips = parameters.use_fips
16
- endpoint = parameters.endpoint
17
- if Aws::Endpoints::Matchers.set?(endpoint)
18
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
13
+ if Aws::Endpoints::Matchers.set?(parameters.endpoint)
14
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
19
15
  raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
20
16
  end
21
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
17
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
22
18
  raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
19
  end
24
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
20
+ return Aws::Endpoints::Endpoint.new(url: parameters.endpoint, headers: {}, properties: {})
25
21
  end
26
- if Aws::Endpoints::Matchers.set?(region)
27
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
22
+ if Aws::Endpoints::Matchers.set?(parameters.region)
23
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
24
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
29
25
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
- return Aws::Endpoints::Endpoint.new(url: "https://glue-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
26
+ return Aws::Endpoints::Endpoint.new(url: "https://glue-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
27
  end
32
28
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
29
  end
34
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
30
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
35
31
  if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
- return Aws::Endpoints::Endpoint.new(url: "https://glue-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
32
+ return Aws::Endpoints::Endpoint.new(url: "https://glue-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
33
  end
38
34
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
35
  end
40
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
36
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
41
37
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
- return Aws::Endpoints::Endpoint.new(url: "https://glue.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
38
+ return Aws::Endpoints::Endpoint.new(url: "https://glue.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
39
  end
44
40
  raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
45
41
  end
46
- return Aws::Endpoints::Endpoint.new(url: "https://glue.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
42
+ return Aws::Endpoints::Endpoint.new(url: "https://glue.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
47
43
  end
48
44
  end
49
45
  raise ArgumentError, "Invalid Configuration: Missing Region"
@@ -54,8 +54,22 @@ module Aws::Glue
54
54
  # @!attribute [rw] timeout
55
55
  # The `JobRun` timeout in minutes. This is the maximum time that a job
56
56
  # run can consume resources before it is terminated and enters
57
- # `TIMEOUT` status. The default is 2,880 minutes (48 hours). This
58
- # overrides the timeout value set in the parent job.
57
+ # `TIMEOUT` status. This overrides the timeout value set in the parent
58
+ # job.
59
+ #
60
+ # Jobs must have timeout values less than 7 days or 10080 minutes.
61
+ # Otherwise, the jobs will throw an exception.
62
+ #
63
+ # When the value is left blank, the timeout is defaulted to 2880
64
+ # minutes.
65
+ #
66
+ # Any existing Glue jobs that had a timeout value greater than 7 days
67
+ # will be defaulted to 7 days. For instance if you have specified a
68
+ # timeout of 20 days for a batch job, it will be stopped on the 7th
69
+ # day.
70
+ #
71
+ # For streaming jobs, if you have set up a maintenance window, it will
72
+ # be restarted during the maintenance window after 7 days.
59
73
  # @return [Integer]
60
74
  #
61
75
  # @!attribute [rw] security_configuration
@@ -5906,13 +5920,21 @@ module Aws::Glue
5906
5920
  # @!attribute [rw] timeout
5907
5921
  # The job timeout in minutes. This is the maximum time that a job run
5908
5922
  # can consume resources before it is terminated and enters `TIMEOUT`
5909
- # status. The default is 2,880 minutes (48 hours) for batch jobs.
5923
+ # status.
5910
5924
  #
5911
- # Streaming jobs must have timeout values less than 7 days or 10080
5912
- # minutes. When the value is left blank, the job will be restarted
5913
- # after 7 days based if you have not setup a maintenance window. If
5914
- # you have setup maintenance window, it will be restarted during the
5915
- # maintenance window after 7 days.
5925
+ # Jobs must have timeout values less than 7 days or 10080 minutes.
5926
+ # Otherwise, the jobs will throw an exception.
5927
+ #
5928
+ # When the value is left blank, the timeout is defaulted to 2880
5929
+ # minutes.
5930
+ #
5931
+ # Any existing Glue jobs that had a timeout value greater than 7 days
5932
+ # will be defaulted to 7 days. For instance if you have specified a
5933
+ # timeout of 20 days for a batch job, it will be stopped on the 7th
5934
+ # day.
5935
+ #
5936
+ # For streaming jobs, if you have set up a maintenance window, it will
5937
+ # be restarted during the maintenance window after 7 days.
5916
5938
  # @return [Integer]
5917
5939
  #
5918
5940
  # @!attribute [rw] max_capacity
@@ -6717,8 +6739,8 @@ module Aws::Glue
6717
6739
  #
6718
6740
  # @!attribute [rw] timeout
6719
6741
  # The number of minutes before session times out. Default for Spark
6720
- # ETL jobs is 48 hours (2880 minutes), the maximum session lifetime
6721
- # for this job type. Consult the documentation for other job types.
6742
+ # ETL jobs is 48 hours (2880 minutes). Consult the documentation for
6743
+ # other job types.
6722
6744
  # @return [Integer]
6723
6745
  #
6724
6746
  # @!attribute [rw] idle_timeout
@@ -16177,13 +16199,21 @@ module Aws::Glue
16177
16199
  # @!attribute [rw] timeout
16178
16200
  # The job timeout in minutes. This is the maximum time that a job run
16179
16201
  # can consume resources before it is terminated and enters `TIMEOUT`
16180
- # status. The default is 2,880 minutes (48 hours) for batch jobs.
16202
+ # status.
16181
16203
  #
16182
- # Streaming jobs must have timeout values less than 7 days or 10080
16183
- # minutes. When the value is left blank, the job will be restarted
16184
- # after 7 days based if you have not setup a maintenance window. If
16185
- # you have setup maintenance window, it will be restarted during the
16186
- # maintenance window after 7 days.
16204
+ # Jobs must have timeout values less than 7 days or 10080 minutes.
16205
+ # Otherwise, the jobs will throw an exception.
16206
+ #
16207
+ # When the value is left blank, the timeout is defaulted to 2880
16208
+ # minutes.
16209
+ #
16210
+ # Any existing Glue jobs that had a timeout value greater than 7 days
16211
+ # will be defaulted to 7 days. For instance if you have specified a
16212
+ # timeout of 20 days for a batch job, it will be stopped on the 7th
16213
+ # day.
16214
+ #
16215
+ # For streaming jobs, if you have set up a maintenance window, it will
16216
+ # be restarted during the maintenance window after 7 days.
16187
16217
  # @return [Integer]
16188
16218
  #
16189
16219
  # @!attribute [rw] max_capacity
@@ -16639,6 +16669,9 @@ module Aws::Glue
16639
16669
  # will be defaulted to 7 days. For instance if you have specified a
16640
16670
  # timeout of 20 days for a batch job, it will be stopped on the 7th
16641
16671
  # day.
16672
+ #
16673
+ # For streaming jobs, if you have set up a maintenance window, it will
16674
+ # be restarted during the maintenance window after 7 days.
16642
16675
  # @return [Integer]
16643
16676
  #
16644
16677
  # @!attribute [rw] max_capacity
@@ -16969,13 +17002,21 @@ module Aws::Glue
16969
17002
  # @!attribute [rw] timeout
16970
17003
  # The job timeout in minutes. This is the maximum time that a job run
16971
17004
  # can consume resources before it is terminated and enters `TIMEOUT`
16972
- # status. The default is 2,880 minutes (48 hours) for batch jobs.
17005
+ # status.
16973
17006
  #
16974
- # Streaming jobs must have timeout values less than 7 days or 10080
16975
- # minutes. When the value is left blank, the job will be restarted
16976
- # after 7 days based if you have not setup a maintenance window. If
16977
- # you have setup maintenance window, it will be restarted during the
16978
- # maintenance window after 7 days.
17007
+ # Jobs must have timeout values less than 7 days or 10080 minutes.
17008
+ # Otherwise, the jobs will throw an exception.
17009
+ #
17010
+ # When the value is left blank, the timeout is defaulted to 2880
17011
+ # minutes.
17012
+ #
17013
+ # Any existing Glue jobs that had a timeout value greater than 7 days
17014
+ # will be defaulted to 7 days. For instance if you have specified a
17015
+ # timeout of 20 days for a batch job, it will be stopped on the 7th
17016
+ # day.
17017
+ #
17018
+ # For streaming jobs, if you have set up a maintenance window, it will
17019
+ # be restarted during the maintenance window after 7 days.
16979
17020
  # @return [Integer]
16980
17021
  #
16981
17022
  # @!attribute [rw] max_capacity
@@ -24005,6 +24046,9 @@ module Aws::Glue
24005
24046
  # will be defaulted to 7 days. For instance if you have specified a
24006
24047
  # timeout of 20 days for a batch job, it will be stopped on the 7th
24007
24048
  # day.
24049
+ #
24050
+ # For streaming jobs, if you have set up a maintenance window, it will
24051
+ # be restarted during the maintenance window after 7 days.
24008
24052
  # @return [Integer]
24009
24053
  #
24010
24054
  # @!attribute [rw] max_capacity
data/lib/aws-sdk-glue.rb CHANGED
@@ -54,7 +54,7 @@ module Aws::Glue
54
54
  autoload :EndpointProvider, 'aws-sdk-glue/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-glue/endpoints'
56
56
 
57
- GEM_VERSION = '1.207.0'
57
+ GEM_VERSION = '1.209.0'
58
58
 
59
59
  end
60
60
 
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.207.0
4
+ version: 1.209.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: 2025-01-15 00:00:00.000000000 Z
11
+ date: 2025-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core