aws-sdk-emrserverless 1.6.0 → 1.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-emrserverless/client.rb +12 -2
- data/lib/aws-sdk-emrserverless/client_api.rb +7 -0
- data/lib/aws-sdk-emrserverless/types.rb +42 -5
- data/lib/aws-sdk-emrserverless.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7cc5fa62ccdda4cc0fd010c6443ff308e372835864af494618c5133e11570b92
|
4
|
+
data.tar.gz: c546b4afa484046a23ee4d5fc69a08469d00d0241143df785a02d23ce839d65e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a0ea1b957e416e7cb55a24ff6f176c20098832cc9f4fe81d6d547fe0982513b9bf58cafe216e01841d053a1c294d03ae78719b557739595ff26408e3a5a5897
|
7
|
+
data.tar.gz: 63ac70a8bf891ad395eff4b620d0ed00d8040ce4b6902391cca5d6d6f9e7fc76ab430c827d6bc779673ec7a7235554d97078cbe0617019cc26149212452f59d6
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.8.0 (2023-05-31)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.7.0 (2023-04-17)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - The GetJobRun API has been updated to include the job's billed resource utilization. This utilization shows the aggregate vCPU, memory and storage that AWS has billed for the job run. The billed resources include a 1-minute minimum usage for workers, plus additional storage over 20 GB per worker.
|
13
|
+
|
4
14
|
1.6.0 (2023-04-11)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.8.0
|
@@ -275,6 +275,11 @@ module Aws::EMRServerless
|
|
275
275
|
# in the future.
|
276
276
|
#
|
277
277
|
#
|
278
|
+
# @option options [String] :sdk_ua_app_id
|
279
|
+
# A unique and opaque application ID that is appended to the
|
280
|
+
# User-Agent header as app/<sdk_ua_app_id>. It should have a
|
281
|
+
# maximum length of 50.
|
282
|
+
#
|
278
283
|
# @option options [String] :secret_access_key
|
279
284
|
#
|
280
285
|
# @option options [String] :session_token
|
@@ -612,7 +617,9 @@ module Aws::EMRServerless
|
|
612
617
|
req.send_request(options)
|
613
618
|
end
|
614
619
|
|
615
|
-
# Returns a URL to access the job run dashboard.
|
620
|
+
# Returns a URL to access the job run dashboard. The generated URL is
|
621
|
+
# valid for one hour, after which you must invoke the API again to
|
622
|
+
# generate a new URL.
|
616
623
|
#
|
617
624
|
# @option params [required, String] :application_id
|
618
625
|
# The ID of the application.
|
@@ -703,6 +710,9 @@ module Aws::EMRServerless
|
|
703
710
|
# resp.job_run.network_configuration.security_group_ids[0] #=> String
|
704
711
|
# resp.job_run.total_execution_duration_seconds #=> Integer
|
705
712
|
# resp.job_run.execution_timeout_minutes #=> Integer
|
713
|
+
# resp.job_run.billed_resource_utilization.v_cpu_hour #=> Float
|
714
|
+
# resp.job_run.billed_resource_utilization.memory_gb_hour #=> Float
|
715
|
+
# resp.job_run.billed_resource_utilization.storage_gb_hour #=> Float
|
706
716
|
#
|
707
717
|
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/GetJobRun AWS API Documentation
|
708
718
|
#
|
@@ -1228,7 +1238,7 @@ module Aws::EMRServerless
|
|
1228
1238
|
params: params,
|
1229
1239
|
config: config)
|
1230
1240
|
context[:gem_name] = 'aws-sdk-emrserverless'
|
1231
|
-
context[:gem_version] = '1.
|
1241
|
+
context[:gem_version] = '1.8.0'
|
1232
1242
|
Seahorse::Client::Request.new(handlers, context)
|
1233
1243
|
end
|
1234
1244
|
|
@@ -93,6 +93,7 @@ module Aws::EMRServerless
|
|
93
93
|
RequestIdentityUserArn = Shapes::StringShape.new(name: 'RequestIdentityUserArn')
|
94
94
|
ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
|
95
95
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
96
|
+
ResourceUtilization = Shapes::StructureShape.new(name: 'ResourceUtilization')
|
96
97
|
S3MonitoringConfiguration = Shapes::StructureShape.new(name: 'S3MonitoringConfiguration')
|
97
98
|
SecurityGroupIds = Shapes::ListShape.new(name: 'SecurityGroupIds')
|
98
99
|
SecurityGroupString = Shapes::StringShape.new(name: 'SecurityGroupString')
|
@@ -292,6 +293,7 @@ module Aws::EMRServerless
|
|
292
293
|
JobRun.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "networkConfiguration"))
|
293
294
|
JobRun.add_member(:total_execution_duration_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "totalExecutionDurationSeconds"))
|
294
295
|
JobRun.add_member(:execution_timeout_minutes, Shapes::ShapeRef.new(shape: Duration, location_name: "executionTimeoutMinutes", metadata: {"box"=>true}))
|
296
|
+
JobRun.add_member(:billed_resource_utilization, Shapes::ShapeRef.new(shape: ResourceUtilization, location_name: "billedResourceUtilization"))
|
295
297
|
JobRun.struct_class = Types::JobRun
|
296
298
|
|
297
299
|
JobRunStateSet.member = Shapes::ShapeRef.new(shape: JobRunState)
|
@@ -359,6 +361,11 @@ module Aws::EMRServerless
|
|
359
361
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String1024, required: true, location_name: "message"))
|
360
362
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
361
363
|
|
364
|
+
ResourceUtilization.add_member(:v_cpu_hour, Shapes::ShapeRef.new(shape: Double, location_name: "vCPUHour"))
|
365
|
+
ResourceUtilization.add_member(:memory_gb_hour, Shapes::ShapeRef.new(shape: Double, location_name: "memoryGBHour"))
|
366
|
+
ResourceUtilization.add_member(:storage_gb_hour, Shapes::ShapeRef.new(shape: Double, location_name: "storageGBHour"))
|
367
|
+
ResourceUtilization.struct_class = Types::ResourceUtilization
|
368
|
+
|
362
369
|
S3MonitoringConfiguration.add_member(:log_uri, Shapes::ShapeRef.new(shape: UriString, location_name: "logUri"))
|
363
370
|
S3MonitoringConfiguration.add_member(:encryption_key_arn, Shapes::ShapeRef.new(shape: EncryptionKeyArn, location_name: "encryptionKeyArn"))
|
364
371
|
S3MonitoringConfiguration.struct_class = Types::S3MonitoringConfiguration
|
@@ -707,8 +707,8 @@ module Aws::EMRServerless
|
|
707
707
|
#
|
708
708
|
# @!attribute [rw] total_resource_utilization
|
709
709
|
# The aggregate vCPU, memory, and storage resources used from the time
|
710
|
-
# job
|
711
|
-
# the nearest second.
|
710
|
+
# the job starts to execute, until the time the job terminates,
|
711
|
+
# rounded up to the nearest second.
|
712
712
|
# @return [Types::TotalResourceUtilization]
|
713
713
|
#
|
714
714
|
# @!attribute [rw] network_configuration
|
@@ -722,10 +722,19 @@ module Aws::EMRServerless
|
|
722
722
|
# @return [Integer]
|
723
723
|
#
|
724
724
|
# @!attribute [rw] execution_timeout_minutes
|
725
|
-
#
|
726
|
-
#
|
725
|
+
# Returns the job run timeout value from the `StartJobRun` call. If no
|
726
|
+
# timeout was specified, then it returns the default timeout of 720
|
727
|
+
# minutes.
|
727
728
|
# @return [Integer]
|
728
729
|
#
|
730
|
+
# @!attribute [rw] billed_resource_utilization
|
731
|
+
# The aggregate vCPU, memory, and storage that AWS has billed for the
|
732
|
+
# job run. The billed resources include a 1-minute minimum usage for
|
733
|
+
# workers, plus additional storage over 20 GB per worker. Note that
|
734
|
+
# billed resources do not include usage for idle pre-initialized
|
735
|
+
# workers.
|
736
|
+
# @return [Types::ResourceUtilization]
|
737
|
+
#
|
729
738
|
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/JobRun AWS API Documentation
|
730
739
|
#
|
731
740
|
class JobRun < Struct.new(
|
@@ -746,7 +755,8 @@ module Aws::EMRServerless
|
|
746
755
|
:total_resource_utilization,
|
747
756
|
:network_configuration,
|
748
757
|
:total_execution_duration_seconds,
|
749
|
-
:execution_timeout_minutes
|
758
|
+
:execution_timeout_minutes,
|
759
|
+
:billed_resource_utilization)
|
750
760
|
SENSITIVE = []
|
751
761
|
include Aws::Structure
|
752
762
|
end
|
@@ -1045,6 +1055,33 @@ module Aws::EMRServerless
|
|
1045
1055
|
include Aws::Structure
|
1046
1056
|
end
|
1047
1057
|
|
1058
|
+
# The resource utilization for memory, storage, and vCPU for jobs.
|
1059
|
+
#
|
1060
|
+
# @!attribute [rw] v_cpu_hour
|
1061
|
+
# The aggregated vCPU used per hour from the time the job starts
|
1062
|
+
# executing until the job is terminated.
|
1063
|
+
# @return [Float]
|
1064
|
+
#
|
1065
|
+
# @!attribute [rw] memory_gb_hour
|
1066
|
+
# The aggregated memory used per hour from the time the job starts
|
1067
|
+
# executing until the job is terminated.
|
1068
|
+
# @return [Float]
|
1069
|
+
#
|
1070
|
+
# @!attribute [rw] storage_gb_hour
|
1071
|
+
# The aggregated storage used per hour from the time the job starts
|
1072
|
+
# executing until the job is terminated.
|
1073
|
+
# @return [Float]
|
1074
|
+
#
|
1075
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/ResourceUtilization AWS API Documentation
|
1076
|
+
#
|
1077
|
+
class ResourceUtilization < Struct.new(
|
1078
|
+
:v_cpu_hour,
|
1079
|
+
:memory_gb_hour,
|
1080
|
+
:storage_gb_hour)
|
1081
|
+
SENSITIVE = []
|
1082
|
+
include Aws::Structure
|
1083
|
+
end
|
1084
|
+
|
1048
1085
|
# The Amazon S3 configuration for monitoring log publishing. You can
|
1049
1086
|
# configure your jobs to send log information to Amazon S3.
|
1050
1087
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-emrserverless
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.8.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: 2023-
|
11
|
+
date: 2023-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.174.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.174.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|