aws-sdk-glue 1.29.0 → 1.30.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 322c60f7f3013a4d27ef2c5d5a95293720edaf63
4
- data.tar.gz: 8f9bb6f2bd0092eb8b3b6ba21a42cc27dd21a699
3
+ metadata.gz: 3e2da16698a1c2afc24455474c987374a78b0618
4
+ data.tar.gz: 82477c20e25bd93e58e7bdbc46d8179706f3000a
5
5
  SHA512:
6
- metadata.gz: 49db5afe8e452889f3fcd8a11354eab466c15edb49d12887bf76d5d540b385147bebdd9de377eb8f450a84f0f16417018be5867cdfa1e8cd50bae9c656fc156d
7
- data.tar.gz: 1d4bc985c6bb486b5d9bd36398fde2fa0de8f82cc4c52a6ab3d79c5437fbb346993f673c9cfa66fb62c8ffae872fb93fa1af49fe580ba581900476d70633e137
6
+ metadata.gz: 6d4178b0db393bcc2840f827df359c4b625636691ed1d71a3b26961d68218cfb63eb79df3aa70cb14e22ff953368ecc367185eb9bda4e31d00559bbce408a7ce
7
+ data.tar.gz: 92f11edfc6e9407c1dfec858841abbc01497626609de939bc4d635416f07d4e1aee49b3911168dedfd1c6f08dada6c4e3997ba7127972b2561e3269fada895b2
data/lib/aws-sdk-glue.rb CHANGED
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-glue/customizations'
42
42
  # @service
43
43
  module Aws::Glue
44
44
 
45
- GEM_VERSION = '1.29.0'
45
+ GEM_VERSION = '1.30.0'
46
46
 
47
47
  end
@@ -209,6 +209,49 @@ module Aws::Glue
209
209
  # When `true`, request parameters are validated before
210
210
  # sending the request.
211
211
  #
212
+ # @option options [URI::HTTP,String] :http_proxy A proxy to send
213
+ # requests through. Formatted like 'http://proxy.com:123'.
214
+ #
215
+ # @option options [Float] :http_open_timeout (15) The number of
216
+ # seconds to wait when opening a HTTP session before rasing a
217
+ # `Timeout::Error`.
218
+ #
219
+ # @option options [Integer] :http_read_timeout (60) The default
220
+ # number of seconds to wait for response data. This value can
221
+ # safely be set
222
+ # per-request on the session yeidled by {#session_for}.
223
+ #
224
+ # @option options [Float] :http_idle_timeout (5) The number of
225
+ # seconds a connection is allowed to sit idble before it is
226
+ # considered stale. Stale connections are closed and removed
227
+ # from the pool before making a request.
228
+ #
229
+ # @option options [Float] :http_continue_timeout (1) The number of
230
+ # seconds to wait for a 100-continue response before sending the
231
+ # request body. This option has no effect unless the request has
232
+ # "Expect" header set to "100-continue". Defaults to `nil` which
233
+ # disables this behaviour. This value can safely be set per
234
+ # request on the session yeidled by {#session_for}.
235
+ #
236
+ # @option options [Boolean] :http_wire_trace (false) When `true`,
237
+ # HTTP debug output will be sent to the `:logger`.
238
+ #
239
+ # @option options [Boolean] :ssl_verify_peer (true) When `true`,
240
+ # SSL peer certificates are verified when establishing a
241
+ # connection.
242
+ #
243
+ # @option options [String] :ssl_ca_bundle Full path to the SSL
244
+ # certificate authority bundle file that should be used when
245
+ # verifying peer certificates. If you do not pass
246
+ # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
247
+ # will be used if available.
248
+ #
249
+ # @option options [String] :ssl_ca_directory Full path of the
250
+ # directory that contains the unbundled SSL certificate
251
+ # authority files for verifying peer certificates. If you do
252
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
253
+ # system default will be used if available.
254
+ #
212
255
  def initialize(*args)
213
256
  super
214
257
  end
@@ -675,8 +718,10 @@ module Aws::Glue
675
718
  # resp.jobs[0].allocated_capacity #=> Integer
676
719
  # resp.jobs[0].timeout #=> Integer
677
720
  # resp.jobs[0].max_capacity #=> Float
678
- # resp.jobs[0].notification_property.notify_delay_after #=> Integer
721
+ # resp.jobs[0].worker_type #=> String, one of "Standard", "G.1X", "G.2X"
722
+ # resp.jobs[0].number_of_workers #=> Integer
679
723
  # resp.jobs[0].security_configuration #=> String
724
+ # resp.jobs[0].notification_property.notify_delay_after #=> Integer
680
725
  # resp.jobs_not_found #=> Array
681
726
  # resp.jobs_not_found[0] #=> String
682
727
  #
@@ -1330,6 +1375,8 @@ module Aws::Glue
1330
1375
  # GB of memory. For more information, see the [AWS Glue pricing
1331
1376
  # page][1].
1332
1377
  #
1378
+ # Do not set `Max Capacity` if using `WorkerType` and `NumberOfWorkers`.
1379
+ #
1333
1380
  # The value that can be allocated for `MaxCapacity` depends on whether
1334
1381
  # you are running a python shell job, or an Apache Spark ETL job:
1335
1382
  #
@@ -1349,6 +1396,26 @@ module Aws::Glue
1349
1396
  # @option params [Types::NotificationProperty] :notification_property
1350
1397
  # Specifies configuration properties of a job notification.
1351
1398
  #
1399
+ # @option params [String] :worker_type
1400
+ # The type of predefined worker that is allocated when a job runs.
1401
+ # Accepts a value of Standard, G.1X, or G.2X.
1402
+ #
1403
+ # * For the `Standard` worker type, each worker provides 4 vCPU, 16 GB
1404
+ # of memory and a 50GB disk, and 2 executors per worker.
1405
+ #
1406
+ # * For the `G.1X` worker type, each worker provides 4 vCPU, 16 GB of
1407
+ # memory and a 64GB disk, and 1 executor per worker.
1408
+ #
1409
+ # * For the `G.2X` worker type, each worker provides 8 vCPU, 32 GB of
1410
+ # memory and a 128GB disk, and 1 executor per worker.
1411
+ #
1412
+ # @option params [Integer] :number_of_workers
1413
+ # The number of workers of a defined `workerType` that are allocated
1414
+ # when a job runs.
1415
+ #
1416
+ # The maximum number of workers you can define are 299 for `G.1X`, and
1417
+ # 149 for `G.2X`.
1418
+ #
1352
1419
  # @option params [String] :security_configuration
1353
1420
  # The name of the SecurityConfiguration structure to be used with this
1354
1421
  # job.
@@ -1393,6 +1460,8 @@ module Aws::Glue
1393
1460
  # notification_property: {
1394
1461
  # notify_delay_after: 1,
1395
1462
  # },
1463
+ # worker_type: "Standard", # accepts Standard, G.1X, G.2X
1464
+ # number_of_workers: 1,
1396
1465
  # security_configuration: "NameString",
1397
1466
  # tags: {
1398
1467
  # "TagKey" => "TagValue",
@@ -2988,8 +3057,10 @@ module Aws::Glue
2988
3057
  # resp.job.allocated_capacity #=> Integer
2989
3058
  # resp.job.timeout #=> Integer
2990
3059
  # resp.job.max_capacity #=> Float
2991
- # resp.job.notification_property.notify_delay_after #=> Integer
3060
+ # resp.job.worker_type #=> String, one of "Standard", "G.1X", "G.2X"
3061
+ # resp.job.number_of_workers #=> Integer
2992
3062
  # resp.job.security_configuration #=> String
3063
+ # resp.job.notification_property.notify_delay_after #=> Integer
2993
3064
  #
2994
3065
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJob AWS API Documentation
2995
3066
  #
@@ -3045,6 +3116,8 @@ module Aws::Glue
3045
3116
  # resp.job_run.timeout #=> Integer
3046
3117
  # resp.job_run.max_capacity #=> Float
3047
3118
  # resp.job_run.notification_property.notify_delay_after #=> Integer
3119
+ # resp.job_run.worker_type #=> String, one of "Standard", "G.1X", "G.2X"
3120
+ # resp.job_run.number_of_workers #=> Integer
3048
3121
  # resp.job_run.security_configuration #=> String
3049
3122
  # resp.job_run.log_group_name #=> String
3050
3123
  #
@@ -3104,6 +3177,8 @@ module Aws::Glue
3104
3177
  # resp.job_runs[0].timeout #=> Integer
3105
3178
  # resp.job_runs[0].max_capacity #=> Float
3106
3179
  # resp.job_runs[0].notification_property.notify_delay_after #=> Integer
3180
+ # resp.job_runs[0].worker_type #=> String, one of "Standard", "G.1X", "G.2X"
3181
+ # resp.job_runs[0].number_of_workers #=> Integer
3107
3182
  # resp.job_runs[0].security_configuration #=> String
3108
3183
  # resp.job_runs[0].log_group_name #=> String
3109
3184
  # resp.next_token #=> String
@@ -3157,8 +3232,10 @@ module Aws::Glue
3157
3232
  # resp.jobs[0].allocated_capacity #=> Integer
3158
3233
  # resp.jobs[0].timeout #=> Integer
3159
3234
  # resp.jobs[0].max_capacity #=> Float
3160
- # resp.jobs[0].notification_property.notify_delay_after #=> Integer
3235
+ # resp.jobs[0].worker_type #=> String, one of "Standard", "G.1X", "G.2X"
3236
+ # resp.jobs[0].number_of_workers #=> Integer
3161
3237
  # resp.jobs[0].security_configuration #=> String
3238
+ # resp.jobs[0].notification_property.notify_delay_after #=> Integer
3162
3239
  # resp.next_token #=> String
3163
3240
  #
3164
3241
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobs AWS API Documentation
@@ -4731,6 +4808,8 @@ module Aws::Glue
4731
4808
  # GB of memory. For more information, see the [AWS Glue pricing
4732
4809
  # page][1].
4733
4810
  #
4811
+ # Do not set `Max Capacity` if using `WorkerType` and `NumberOfWorkers`.
4812
+ #
4734
4813
  # The value that can be allocated for `MaxCapacity` depends on whether
4735
4814
  # you are running a python shell job, or an Apache Spark ETL job:
4736
4815
  #
@@ -4747,13 +4826,33 @@ module Aws::Glue
4747
4826
  #
4748
4827
  # [1]: https://aws.amazon.com/glue/pricing/
4749
4828
  #
4750
- # @option params [Types::NotificationProperty] :notification_property
4751
- # Specifies configuration properties of a job run notification.
4829
+ # @option params [String] :worker_type
4830
+ # The type of predefined worker that is allocated when a job runs.
4831
+ # Accepts a value of Standard, G.1X, or G.2X.
4832
+ #
4833
+ # * For the `Standard` worker type, each worker provides 4 vCPU, 16 GB
4834
+ # of memory and a 50GB disk, and 2 executors per worker.
4835
+ #
4836
+ # * For the `G.1X` worker type, each worker provides 4 vCPU, 16 GB of
4837
+ # memory and a 64GB disk, and 1 executor per worker.
4838
+ #
4839
+ # * For the `G.2X` worker type, each worker provides 8 vCPU, 32 GB of
4840
+ # memory and a 128GB disk, and 1 executor per worker.
4841
+ #
4842
+ # @option params [Integer] :number_of_workers
4843
+ # The number of workers of a defined `workerType` that are allocated
4844
+ # when a job runs.
4845
+ #
4846
+ # The maximum number of workers you can define are 299 for `G.1X`, and
4847
+ # 149 for `G.2X`.
4752
4848
  #
4753
4849
  # @option params [String] :security_configuration
4754
4850
  # The name of the SecurityConfiguration structure to be used with this
4755
4851
  # job run.
4756
4852
  #
4853
+ # @option params [Types::NotificationProperty] :notification_property
4854
+ # Specifies configuration properties of a job run notification.
4855
+ #
4757
4856
  # @return [Types::StartJobRunResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4758
4857
  #
4759
4858
  # * {Types::StartJobRunResponse#job_run_id #job_run_id} => String
@@ -4769,10 +4868,12 @@ module Aws::Glue
4769
4868
  # allocated_capacity: 1,
4770
4869
  # timeout: 1,
4771
4870
  # max_capacity: 1.0,
4871
+ # worker_type: "Standard", # accepts Standard, G.1X, G.2X
4872
+ # number_of_workers: 1,
4873
+ # security_configuration: "NameString",
4772
4874
  # notification_property: {
4773
4875
  # notify_delay_after: 1,
4774
4876
  # },
4775
- # security_configuration: "NameString",
4776
4877
  # })
4777
4878
  #
4778
4879
  # @example Response structure
@@ -5332,10 +5433,12 @@ module Aws::Glue
5332
5433
  # allocated_capacity: 1,
5333
5434
  # timeout: 1,
5334
5435
  # max_capacity: 1.0,
5436
+ # worker_type: "Standard", # accepts Standard, G.1X, G.2X
5437
+ # number_of_workers: 1,
5438
+ # security_configuration: "NameString",
5335
5439
  # notification_property: {
5336
5440
  # notify_delay_after: 1,
5337
5441
  # },
5338
- # security_configuration: "NameString",
5339
5442
  # },
5340
5443
  # })
5341
5444
  #
@@ -5673,7 +5776,7 @@ module Aws::Glue
5673
5776
  params: params,
5674
5777
  config: config)
5675
5778
  context[:gem_name] = 'aws-sdk-glue'
5676
- context[:gem_version] = '1.29.0'
5779
+ context[:gem_version] = '1.30.0'
5677
5780
  Seahorse::Client::Request.new(handlers, context)
5678
5781
  end
5679
5782
 
@@ -334,6 +334,7 @@ module Aws::Glue
334
334
  NotifyDelayAfter = Shapes::IntegerShape.new(name: 'NotifyDelayAfter')
335
335
  NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
336
336
  NullableDouble = Shapes::FloatShape.new(name: 'NullableDouble')
337
+ NullableInteger = Shapes::IntegerShape.new(name: 'NullableInteger')
337
338
  OperationTimeoutException = Shapes::StructureShape.new(name: 'OperationTimeoutException')
338
339
  Order = Shapes::StructureShape.new(name: 'Order')
339
340
  OrderList = Shapes::ListShape.new(name: 'OrderList')
@@ -477,6 +478,7 @@ module Aws::Glue
477
478
  VersionMismatchException = Shapes::StructureShape.new(name: 'VersionMismatchException')
478
479
  VersionString = Shapes::StringShape.new(name: 'VersionString')
479
480
  ViewTextString = Shapes::StringShape.new(name: 'ViewTextString')
481
+ WorkerType = Shapes::StringShape.new(name: 'WorkerType')
480
482
  XMLClassifier = Shapes::StructureShape.new(name: 'XMLClassifier')
481
483
 
482
484
  Action.add_member(:job_name, Shapes::ShapeRef.new(shape: NameString, location_name: "JobName"))
@@ -828,6 +830,8 @@ module Aws::Glue
828
830
  CreateJobRequest.add_member(:timeout, Shapes::ShapeRef.new(shape: Timeout, location_name: "Timeout"))
829
831
  CreateJobRequest.add_member(:max_capacity, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "MaxCapacity"))
830
832
  CreateJobRequest.add_member(:notification_property, Shapes::ShapeRef.new(shape: NotificationProperty, location_name: "NotificationProperty"))
833
+ CreateJobRequest.add_member(:worker_type, Shapes::ShapeRef.new(shape: WorkerType, location_name: "WorkerType"))
834
+ CreateJobRequest.add_member(:number_of_workers, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "NumberOfWorkers"))
831
835
  CreateJobRequest.add_member(:security_configuration, Shapes::ShapeRef.new(shape: NameString, location_name: "SecurityConfiguration"))
832
836
  CreateJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "Tags"))
833
837
  CreateJobRequest.struct_class = Types::CreateJobRequest
@@ -1394,8 +1398,10 @@ module Aws::Glue
1394
1398
  Job.add_member(:allocated_capacity, Shapes::ShapeRef.new(shape: IntegerValue, deprecated: true, location_name: "AllocatedCapacity", metadata: {"deprecatedMessage"=>"This property is deprecated, use MaxCapacity instead."}))
1395
1399
  Job.add_member(:timeout, Shapes::ShapeRef.new(shape: Timeout, location_name: "Timeout"))
1396
1400
  Job.add_member(:max_capacity, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "MaxCapacity"))
1397
- Job.add_member(:notification_property, Shapes::ShapeRef.new(shape: NotificationProperty, location_name: "NotificationProperty"))
1401
+ Job.add_member(:worker_type, Shapes::ShapeRef.new(shape: WorkerType, location_name: "WorkerType"))
1402
+ Job.add_member(:number_of_workers, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "NumberOfWorkers"))
1398
1403
  Job.add_member(:security_configuration, Shapes::ShapeRef.new(shape: NameString, location_name: "SecurityConfiguration"))
1404
+ Job.add_member(:notification_property, Shapes::ShapeRef.new(shape: NotificationProperty, location_name: "NotificationProperty"))
1399
1405
  Job.struct_class = Types::Job
1400
1406
 
1401
1407
  JobBookmarkEntry.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
@@ -1434,6 +1440,8 @@ module Aws::Glue
1434
1440
  JobRun.add_member(:timeout, Shapes::ShapeRef.new(shape: Timeout, location_name: "Timeout"))
1435
1441
  JobRun.add_member(:max_capacity, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "MaxCapacity"))
1436
1442
  JobRun.add_member(:notification_property, Shapes::ShapeRef.new(shape: NotificationProperty, location_name: "NotificationProperty"))
1443
+ JobRun.add_member(:worker_type, Shapes::ShapeRef.new(shape: WorkerType, location_name: "WorkerType"))
1444
+ JobRun.add_member(:number_of_workers, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "NumberOfWorkers"))
1437
1445
  JobRun.add_member(:security_configuration, Shapes::ShapeRef.new(shape: NameString, location_name: "SecurityConfiguration"))
1438
1446
  JobRun.add_member(:log_group_name, Shapes::ShapeRef.new(shape: GenericString, location_name: "LogGroupName"))
1439
1447
  JobRun.struct_class = Types::JobRun
@@ -1451,8 +1459,10 @@ module Aws::Glue
1451
1459
  JobUpdate.add_member(:allocated_capacity, Shapes::ShapeRef.new(shape: IntegerValue, deprecated: true, location_name: "AllocatedCapacity", metadata: {"deprecatedMessage"=>"This property is deprecated, use MaxCapacity instead."}))
1452
1460
  JobUpdate.add_member(:timeout, Shapes::ShapeRef.new(shape: Timeout, location_name: "Timeout"))
1453
1461
  JobUpdate.add_member(:max_capacity, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "MaxCapacity"))
1454
- JobUpdate.add_member(:notification_property, Shapes::ShapeRef.new(shape: NotificationProperty, location_name: "NotificationProperty"))
1462
+ JobUpdate.add_member(:worker_type, Shapes::ShapeRef.new(shape: WorkerType, location_name: "WorkerType"))
1463
+ JobUpdate.add_member(:number_of_workers, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "NumberOfWorkers"))
1455
1464
  JobUpdate.add_member(:security_configuration, Shapes::ShapeRef.new(shape: NameString, location_name: "SecurityConfiguration"))
1465
+ JobUpdate.add_member(:notification_property, Shapes::ShapeRef.new(shape: NotificationProperty, location_name: "NotificationProperty"))
1456
1466
  JobUpdate.struct_class = Types::JobUpdate
1457
1467
 
1458
1468
  JsonClassifier.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
@@ -1678,8 +1688,10 @@ module Aws::Glue
1678
1688
  StartJobRunRequest.add_member(:allocated_capacity, Shapes::ShapeRef.new(shape: IntegerValue, deprecated: true, location_name: "AllocatedCapacity", metadata: {"deprecatedMessage"=>"This property is deprecated, use MaxCapacity instead."}))
1679
1689
  StartJobRunRequest.add_member(:timeout, Shapes::ShapeRef.new(shape: Timeout, location_name: "Timeout"))
1680
1690
  StartJobRunRequest.add_member(:max_capacity, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "MaxCapacity"))
1681
- StartJobRunRequest.add_member(:notification_property, Shapes::ShapeRef.new(shape: NotificationProperty, location_name: "NotificationProperty"))
1691
+ StartJobRunRequest.add_member(:worker_type, Shapes::ShapeRef.new(shape: WorkerType, location_name: "WorkerType"))
1692
+ StartJobRunRequest.add_member(:number_of_workers, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "NumberOfWorkers"))
1682
1693
  StartJobRunRequest.add_member(:security_configuration, Shapes::ShapeRef.new(shape: NameString, location_name: "SecurityConfiguration"))
1694
+ StartJobRunRequest.add_member(:notification_property, Shapes::ShapeRef.new(shape: NotificationProperty, location_name: "NotificationProperty"))
1683
1695
  StartJobRunRequest.struct_class = Types::StartJobRunRequest
1684
1696
 
1685
1697
  StartJobRunResponse.add_member(:job_run_id, Shapes::ShapeRef.new(shape: IdString, location_name: "JobRunId"))
@@ -1979,6 +1979,8 @@ module Aws::Glue
1979
1979
  # notification_property: {
1980
1980
  # notify_delay_after: 1,
1981
1981
  # },
1982
+ # worker_type: "Standard", # accepts Standard, G.1X, G.2X
1983
+ # number_of_workers: 1,
1982
1984
  # security_configuration: "NameString",
1983
1985
  # tags: {
1984
1986
  # "TagKey" => "TagValue",
@@ -2066,6 +2068,9 @@ module Aws::Glue
2066
2068
  # GB of memory. For more information, see the [AWS Glue pricing
2067
2069
  # page][1].
2068
2070
  #
2071
+ # Do not set `Max Capacity` if using `WorkerType` and
2072
+ # `NumberOfWorkers`.
2073
+ #
2069
2074
  # The value that can be allocated for `MaxCapacity` depends on whether
2070
2075
  # you are running a python shell job, or an Apache Spark ETL job:
2071
2076
  #
@@ -2087,6 +2092,28 @@ module Aws::Glue
2087
2092
  # Specifies configuration properties of a job notification.
2088
2093
  # @return [Types::NotificationProperty]
2089
2094
  #
2095
+ # @!attribute [rw] worker_type
2096
+ # The type of predefined worker that is allocated when a job runs.
2097
+ # Accepts a value of Standard, G.1X, or G.2X.
2098
+ #
2099
+ # * For the `Standard` worker type, each worker provides 4 vCPU, 16 GB
2100
+ # of memory and a 50GB disk, and 2 executors per worker.
2101
+ #
2102
+ # * For the `G.1X` worker type, each worker provides 4 vCPU, 16 GB of
2103
+ # memory and a 64GB disk, and 1 executor per worker.
2104
+ #
2105
+ # * For the `G.2X` worker type, each worker provides 8 vCPU, 32 GB of
2106
+ # memory and a 128GB disk, and 1 executor per worker.
2107
+ # @return [String]
2108
+ #
2109
+ # @!attribute [rw] number_of_workers
2110
+ # The number of workers of a defined `workerType` that are allocated
2111
+ # when a job runs.
2112
+ #
2113
+ # The maximum number of workers you can define are 299 for `G.1X`, and
2114
+ # 149 for `G.2X`.
2115
+ # @return [Integer]
2116
+ #
2090
2117
  # @!attribute [rw] security_configuration
2091
2118
  # The name of the SecurityConfiguration structure to be used with this
2092
2119
  # job.
@@ -2118,6 +2145,8 @@ module Aws::Glue
2118
2145
  :timeout,
2119
2146
  :max_capacity,
2120
2147
  :notification_property,
2148
+ :worker_type,
2149
+ :number_of_workers,
2121
2150
  :security_configuration,
2122
2151
  :tags)
2123
2152
  include Aws::Structure
@@ -5413,6 +5442,9 @@ module Aws::Glue
5413
5442
  # GB of memory. For more information, see the [AWS Glue pricing
5414
5443
  # page][1].
5415
5444
  #
5445
+ # Do not set `Max Capacity` if using `WorkerType` and
5446
+ # `NumberOfWorkers`.
5447
+ #
5416
5448
  # The value that can be allocated for `MaxCapacity` depends on whether
5417
5449
  # you are running a python shell job, or an Apache Spark ETL job:
5418
5450
  #
@@ -5430,15 +5462,37 @@ module Aws::Glue
5430
5462
  # [1]: https://aws.amazon.com/glue/pricing/
5431
5463
  # @return [Float]
5432
5464
  #
5433
- # @!attribute [rw] notification_property
5434
- # Specifies configuration properties of a job notification.
5435
- # @return [Types::NotificationProperty]
5465
+ # @!attribute [rw] worker_type
5466
+ # The type of predefined worker that is allocated when a job runs.
5467
+ # Accepts a value of Standard, G.1X, or G.2X.
5468
+ #
5469
+ # * For the `Standard` worker type, each worker provides 4 vCPU, 16 GB
5470
+ # of memory and a 50GB disk, and 2 executors per worker.
5471
+ #
5472
+ # * For the `G.1X` worker type, each worker provides 4 vCPU, 16 GB of
5473
+ # memory and a 64GB disk, and 1 executor per worker.
5474
+ #
5475
+ # * For the `G.2X` worker type, each worker provides 8 vCPU, 32 GB of
5476
+ # memory and a 128GB disk, and 1 executor per worker.
5477
+ # @return [String]
5478
+ #
5479
+ # @!attribute [rw] number_of_workers
5480
+ # The number of workers of a defined `workerType` that are allocated
5481
+ # when a job runs.
5482
+ #
5483
+ # The maximum number of workers you can define are 299 for `G.1X`, and
5484
+ # 149 for `G.2X`.
5485
+ # @return [Integer]
5436
5486
  #
5437
5487
  # @!attribute [rw] security_configuration
5438
5488
  # The name of the SecurityConfiguration structure to be used with this
5439
5489
  # job.
5440
5490
  # @return [String]
5441
5491
  #
5492
+ # @!attribute [rw] notification_property
5493
+ # Specifies configuration properties of a job notification.
5494
+ # @return [Types::NotificationProperty]
5495
+ #
5442
5496
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Job AWS API Documentation
5443
5497
  #
5444
5498
  class Job < Struct.new(
@@ -5456,8 +5510,10 @@ module Aws::Glue
5456
5510
  :allocated_capacity,
5457
5511
  :timeout,
5458
5512
  :max_capacity,
5459
- :notification_property,
5460
- :security_configuration)
5513
+ :worker_type,
5514
+ :number_of_workers,
5515
+ :security_configuration,
5516
+ :notification_property)
5461
5517
  include Aws::Structure
5462
5518
  end
5463
5519
 
@@ -5647,6 +5703,9 @@ module Aws::Glue
5647
5703
  # GB of memory. For more information, see the [AWS Glue pricing
5648
5704
  # page][1].
5649
5705
  #
5706
+ # Do not set `Max Capacity` if using `WorkerType` and
5707
+ # `NumberOfWorkers`.
5708
+ #
5650
5709
  # The value that can be allocated for `MaxCapacity` depends on whether
5651
5710
  # you are running a python shell job, or an Apache Spark ETL job:
5652
5711
  #
@@ -5668,6 +5727,28 @@ module Aws::Glue
5668
5727
  # Specifies configuration properties of a job run notification.
5669
5728
  # @return [Types::NotificationProperty]
5670
5729
  #
5730
+ # @!attribute [rw] worker_type
5731
+ # The type of predefined worker that is allocated when a job runs.
5732
+ # Accepts a value of Standard, G.1X, or G.2X.
5733
+ #
5734
+ # * For the `Standard` worker type, each worker provides 4 vCPU, 16 GB
5735
+ # of memory and a 50GB disk, and 2 executors per worker.
5736
+ #
5737
+ # * For the `G.1X` worker type, each worker provides 4 vCPU, 16 GB of
5738
+ # memory and a 64GB disk, and 1 executor per worker.
5739
+ #
5740
+ # * For the `G.2X` worker type, each worker provides 8 vCPU, 32 GB of
5741
+ # memory and a 128GB disk, and 1 executor per worker.
5742
+ # @return [String]
5743
+ #
5744
+ # @!attribute [rw] number_of_workers
5745
+ # The number of workers of a defined `workerType` that are allocated
5746
+ # when a job runs.
5747
+ #
5748
+ # The maximum number of workers you can define are 299 for `G.1X`, and
5749
+ # 149 for `G.2X`.
5750
+ # @return [Integer]
5751
+ #
5671
5752
  # @!attribute [rw] security_configuration
5672
5753
  # The name of the SecurityConfiguration structure to be used with this
5673
5754
  # job run.
@@ -5703,6 +5784,8 @@ module Aws::Glue
5703
5784
  :timeout,
5704
5785
  :max_capacity,
5705
5786
  :notification_property,
5787
+ :worker_type,
5788
+ :number_of_workers,
5706
5789
  :security_configuration,
5707
5790
  :log_group_name)
5708
5791
  include Aws::Structure
@@ -5736,10 +5819,12 @@ module Aws::Glue
5736
5819
  # allocated_capacity: 1,
5737
5820
  # timeout: 1,
5738
5821
  # max_capacity: 1.0,
5822
+ # worker_type: "Standard", # accepts Standard, G.1X, G.2X
5823
+ # number_of_workers: 1,
5824
+ # security_configuration: "NameString",
5739
5825
  # notification_property: {
5740
5826
  # notify_delay_after: 1,
5741
5827
  # },
5742
- # security_configuration: "NameString",
5743
5828
  # }
5744
5829
  #
5745
5830
  # @!attribute [rw] description
@@ -5818,6 +5903,9 @@ module Aws::Glue
5818
5903
  # GB of memory. For more information, see the [AWS Glue pricing
5819
5904
  # page][1].
5820
5905
  #
5906
+ # Do not set `Max Capacity` if using `WorkerType` and
5907
+ # `NumberOfWorkers`.
5908
+ #
5821
5909
  # The value that can be allocated for `MaxCapacity` depends on whether
5822
5910
  # you are running a python shell job, or an Apache Spark ETL job:
5823
5911
  #
@@ -5835,15 +5923,37 @@ module Aws::Glue
5835
5923
  # [1]: https://aws.amazon.com/glue/pricing/
5836
5924
  # @return [Float]
5837
5925
  #
5838
- # @!attribute [rw] notification_property
5839
- # Specifies configuration properties of a job notification.
5840
- # @return [Types::NotificationProperty]
5926
+ # @!attribute [rw] worker_type
5927
+ # The type of predefined worker that is allocated when a job runs.
5928
+ # Accepts a value of Standard, G.1X, or G.2X.
5929
+ #
5930
+ # * For the `Standard` worker type, each worker provides 4 vCPU, 16 GB
5931
+ # of memory and a 50GB disk, and 2 executors per worker.
5932
+ #
5933
+ # * For the `G.1X` worker type, each worker provides 4 vCPU, 16 GB of
5934
+ # memory and a 64GB disk, and 1 executor per worker.
5935
+ #
5936
+ # * For the `G.2X` worker type, each worker provides 8 vCPU, 32 GB of
5937
+ # memory and a 128GB disk, and 1 executor per worker.
5938
+ # @return [String]
5939
+ #
5940
+ # @!attribute [rw] number_of_workers
5941
+ # The number of workers of a defined `workerType` that are allocated
5942
+ # when a job runs.
5943
+ #
5944
+ # The maximum number of workers you can define are 299 for `G.1X`, and
5945
+ # 149 for `G.2X`.
5946
+ # @return [Integer]
5841
5947
  #
5842
5948
  # @!attribute [rw] security_configuration
5843
5949
  # The name of the SecurityConfiguration structure to be used with this
5844
5950
  # job.
5845
5951
  # @return [String]
5846
5952
  #
5953
+ # @!attribute [rw] notification_property
5954
+ # Specifies configuration properties of a job notification.
5955
+ # @return [Types::NotificationProperty]
5956
+ #
5847
5957
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/JobUpdate AWS API Documentation
5848
5958
  #
5849
5959
  class JobUpdate < Struct.new(
@@ -5858,8 +5968,10 @@ module Aws::Glue
5858
5968
  :allocated_capacity,
5859
5969
  :timeout,
5860
5970
  :max_capacity,
5861
- :notification_property,
5862
- :security_configuration)
5971
+ :worker_type,
5972
+ :number_of_workers,
5973
+ :security_configuration,
5974
+ :notification_property)
5863
5975
  include Aws::Structure
5864
5976
  end
5865
5977
 
@@ -6990,10 +7102,12 @@ module Aws::Glue
6990
7102
  # allocated_capacity: 1,
6991
7103
  # timeout: 1,
6992
7104
  # max_capacity: 1.0,
7105
+ # worker_type: "Standard", # accepts Standard, G.1X, G.2X
7106
+ # number_of_workers: 1,
7107
+ # security_configuration: "NameString",
6993
7108
  # notification_property: {
6994
7109
  # notify_delay_after: 1,
6995
7110
  # },
6996
- # security_configuration: "NameString",
6997
7111
  # }
6998
7112
  #
6999
7113
  # @!attribute [rw] job_name
@@ -7053,6 +7167,9 @@ module Aws::Glue
7053
7167
  # GB of memory. For more information, see the [AWS Glue pricing
7054
7168
  # page][1].
7055
7169
  #
7170
+ # Do not set `Max Capacity` if using `WorkerType` and
7171
+ # `NumberOfWorkers`.
7172
+ #
7056
7173
  # The value that can be allocated for `MaxCapacity` depends on whether
7057
7174
  # you are running a python shell job, or an Apache Spark ETL job:
7058
7175
  #
@@ -7070,15 +7187,37 @@ module Aws::Glue
7070
7187
  # [1]: https://aws.amazon.com/glue/pricing/
7071
7188
  # @return [Float]
7072
7189
  #
7073
- # @!attribute [rw] notification_property
7074
- # Specifies configuration properties of a job run notification.
7075
- # @return [Types::NotificationProperty]
7190
+ # @!attribute [rw] worker_type
7191
+ # The type of predefined worker that is allocated when a job runs.
7192
+ # Accepts a value of Standard, G.1X, or G.2X.
7193
+ #
7194
+ # * For the `Standard` worker type, each worker provides 4 vCPU, 16 GB
7195
+ # of memory and a 50GB disk, and 2 executors per worker.
7196
+ #
7197
+ # * For the `G.1X` worker type, each worker provides 4 vCPU, 16 GB of
7198
+ # memory and a 64GB disk, and 1 executor per worker.
7199
+ #
7200
+ # * For the `G.2X` worker type, each worker provides 8 vCPU, 32 GB of
7201
+ # memory and a 128GB disk, and 1 executor per worker.
7202
+ # @return [String]
7203
+ #
7204
+ # @!attribute [rw] number_of_workers
7205
+ # The number of workers of a defined `workerType` that are allocated
7206
+ # when a job runs.
7207
+ #
7208
+ # The maximum number of workers you can define are 299 for `G.1X`, and
7209
+ # 149 for `G.2X`.
7210
+ # @return [Integer]
7076
7211
  #
7077
7212
  # @!attribute [rw] security_configuration
7078
7213
  # The name of the SecurityConfiguration structure to be used with this
7079
7214
  # job run.
7080
7215
  # @return [String]
7081
7216
  #
7217
+ # @!attribute [rw] notification_property
7218
+ # Specifies configuration properties of a job run notification.
7219
+ # @return [Types::NotificationProperty]
7220
+ #
7082
7221
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartJobRunRequest AWS API Documentation
7083
7222
  #
7084
7223
  class StartJobRunRequest < Struct.new(
@@ -7088,8 +7227,10 @@ module Aws::Glue
7088
7227
  :allocated_capacity,
7089
7228
  :timeout,
7090
7229
  :max_capacity,
7091
- :notification_property,
7092
- :security_configuration)
7230
+ :worker_type,
7231
+ :number_of_workers,
7232
+ :security_configuration,
7233
+ :notification_property)
7093
7234
  include Aws::Structure
7094
7235
  end
7095
7236
 
@@ -8328,10 +8469,12 @@ module Aws::Glue
8328
8469
  # allocated_capacity: 1,
8329
8470
  # timeout: 1,
8330
8471
  # max_capacity: 1.0,
8472
+ # worker_type: "Standard", # accepts Standard, G.1X, G.2X
8473
+ # number_of_workers: 1,
8474
+ # security_configuration: "NameString",
8331
8475
  # notification_property: {
8332
8476
  # notify_delay_after: 1,
8333
8477
  # },
8334
- # security_configuration: "NameString",
8335
8478
  # },
8336
8479
  # }
8337
8480
  #
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.29.0
4
+ version: 1.30.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-03-26 00:00:00.000000000 Z
11
+ date: 2019-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core