aws-sdk-emrserverless 1.6.0 → 1.7.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: bcc48e158d5cd56b7daa62ed525844fda0be0b2120985b6708ae9dde7ad94c2d
4
- data.tar.gz: 2773d06fdaf913d51510e83192171fe79de81045b6b7809ad15156bb03b0df1e
3
+ metadata.gz: cf55390119b88805ae0da75e0d143c59edc292998936970d09da56dcc1c5a077
4
+ data.tar.gz: b46b5251fae1cbdf20ed5595cbe4ff4c87079498e40c58fe58a52ac3e26519fc
5
5
  SHA512:
6
- metadata.gz: 61d6bfe4cbb5e417c213aa9db67eb83849fe19b68ec4be063fa72480758c34c5485cbf0997374efc43659ad1a73d183aca5c74c3e866172c890976b6667e0285
7
- data.tar.gz: 03fc24f1c2a26362a0139a02abb1d361d609e83f409561de953beda9e66b50238b324a9eaffd42ad14c4e47dd324443831b29e78ecefd0ede0788e324ddeb74a
6
+ metadata.gz: 8cdc5783077786e8ca342c360ffea3ce0ec6de5091822343a9836a4ee7ef1a55f742c2dfaa185b83b9762eee1b0ed052ad2ce5d59c7c19766b209384cc36e2d9
7
+ data.tar.gz: 4b8081089c1481521402cc61233d2a19d0a0daaab5f70340e916847deb7e8c0b7f8a36ca9055876629cc0250940466a636f45d974265b40038382dcd6b9e7e98
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.7.0 (2023-04-17)
5
+ ------------------
6
+
7
+ * 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.
8
+
4
9
  1.6.0 (2023-04-11)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.6.0
1
+ 1.7.0
@@ -612,7 +612,9 @@ module Aws::EMRServerless
612
612
  req.send_request(options)
613
613
  end
614
614
 
615
- # Returns a URL to access the job run dashboard.
615
+ # Returns a URL to access the job run dashboard. The generated URL is
616
+ # valid for one hour, after which you must invoke the API again to
617
+ # generate a new URL.
616
618
  #
617
619
  # @option params [required, String] :application_id
618
620
  # The ID of the application.
@@ -703,6 +705,9 @@ module Aws::EMRServerless
703
705
  # resp.job_run.network_configuration.security_group_ids[0] #=> String
704
706
  # resp.job_run.total_execution_duration_seconds #=> Integer
705
707
  # resp.job_run.execution_timeout_minutes #=> Integer
708
+ # resp.job_run.billed_resource_utilization.v_cpu_hour #=> Float
709
+ # resp.job_run.billed_resource_utilization.memory_gb_hour #=> Float
710
+ # resp.job_run.billed_resource_utilization.storage_gb_hour #=> Float
706
711
  #
707
712
  # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/GetJobRun AWS API Documentation
708
713
  #
@@ -1228,7 +1233,7 @@ module Aws::EMRServerless
1228
1233
  params: params,
1229
1234
  config: config)
1230
1235
  context[:gem_name] = 'aws-sdk-emrserverless'
1231
- context[:gem_version] = '1.6.0'
1236
+ context[:gem_version] = '1.7.0'
1232
1237
  Seahorse::Client::Request.new(handlers, context)
1233
1238
  end
1234
1239
 
@@ -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 start executing till the time job is terminated, rounded up to
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
- # Maximum duration for the job run to run. If the job run runs beyond
726
- # this duration, it will be automatically cancelled.
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
  #
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-emrserverless/customizations'
52
52
  # @!group service
53
53
  module Aws::EMRServerless
54
54
 
55
- GEM_VERSION = '1.6.0'
55
+ GEM_VERSION = '1.7.0'
56
56
 
57
57
  end
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.6.0
4
+ version: 1.7.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-04-11 00:00:00.000000000 Z
11
+ date: 2023-04-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core