aws-sdk-emrserverless 1.0.0 → 1.1.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
  SHA256:
3
- metadata.gz: 860f83af0259b219ff3302dcacfe419537c9d5ec54bdda740a75f6db14a6178d
4
- data.tar.gz: cd1a5f8e0d442b952b945ded0a3fda3efb60c101505ec03d14967711ec4d22ae
3
+ metadata.gz: 976be69765fcf9c5a61024ce5f86077b74ab6a01a1da167e4936d6d718420ba8
4
+ data.tar.gz: 18767071f685772209599f36f6f436f8d08cbc6844e47db675605b3e365c8077
5
5
  SHA512:
6
- metadata.gz: 99eec33da9c939e9df380768e6fc7cfc1e83ea37882f4be07031a3b1bc64336d601593f1f3ab8137e118a9db5bfb97f88bdc505f4729fbdf0df8af11407c2d63
7
- data.tar.gz: b756959c63c361d009c1530822b703a5614a968bb5b203434d501b5758d80437f4f949ebf3d89b8efe18ef44ec310f3fd86c51a52a14861a7ba339a081de3102
6
+ metadata.gz: d8c066adabe2246f760b038fdc86f5eccabe34577c7044c7be1838e11813c87efc7d4d669977a44b52a91ed89845dec6fdff4d95037374befd814b4af3766435
7
+ data.tar.gz: b13ba9d135c83ca373b1603b1e3ab4cb5e1979b1edb7665237ac62d94d8cf36bd21cbd1528f97ba53ca8f7e5dc9e7069c3dc68ba37073f1f997da3aaf4847036
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.1.0 (2022-09-29)
5
+ ------------------
6
+
7
+ * Feature - This release adds API support to debug Amazon EMR Serverless jobs in real-time with live application UIs
8
+
4
9
  1.0.0 (2022-05-27)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.1.0
@@ -561,6 +561,38 @@ module Aws::EMRServerless
561
561
  req.send_request(options)
562
562
  end
563
563
 
564
+ # Returns a URL to access the job run dashboard.
565
+ #
566
+ # @option params [required, String] :application_id
567
+ # The ID of the application.
568
+ #
569
+ # @option params [required, String] :job_run_id
570
+ # The ID of the job run.
571
+ #
572
+ # @return [Types::GetDashboardForJobRunResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
573
+ #
574
+ # * {Types::GetDashboardForJobRunResponse#url #url} => String
575
+ #
576
+ # @example Request syntax with placeholder values
577
+ #
578
+ # resp = client.get_dashboard_for_job_run({
579
+ # application_id: "ApplicationId", # required
580
+ # job_run_id: "JobRunId", # required
581
+ # })
582
+ #
583
+ # @example Response structure
584
+ #
585
+ # resp.url #=> String
586
+ #
587
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/GetDashboardForJobRun AWS API Documentation
588
+ #
589
+ # @overload get_dashboard_for_job_run(params = {})
590
+ # @param [Hash] params ({})
591
+ def get_dashboard_for_job_run(params = {}, options = {})
592
+ req = build_request(:get_dashboard_for_job_run, params)
593
+ req.send_request(options)
594
+ end
595
+
564
596
  # Displays detailed information about a job run.
565
597
  #
566
598
  # @option params [required, String] :application_id
@@ -1108,7 +1140,7 @@ module Aws::EMRServerless
1108
1140
  params: params,
1109
1141
  config: config)
1110
1142
  context[:gem_name] = 'aws-sdk-emrserverless'
1111
- context[:gem_version] = '1.0.0'
1143
+ context[:gem_version] = '1.1.0'
1112
1144
  Seahorse::Client::Request.new(handlers, context)
1113
1145
  end
1114
1146
 
@@ -48,6 +48,8 @@ module Aws::EMRServerless
48
48
  EntryPointPath = Shapes::StringShape.new(name: 'EntryPointPath')
49
49
  GetApplicationRequest = Shapes::StructureShape.new(name: 'GetApplicationRequest')
50
50
  GetApplicationResponse = Shapes::StructureShape.new(name: 'GetApplicationResponse')
51
+ GetDashboardForJobRunRequest = Shapes::StructureShape.new(name: 'GetDashboardForJobRunRequest')
52
+ GetDashboardForJobRunResponse = Shapes::StructureShape.new(name: 'GetDashboardForJobRunResponse')
51
53
  GetJobRunRequest = Shapes::StructureShape.new(name: 'GetJobRunRequest')
52
54
  GetJobRunResponse = Shapes::StructureShape.new(name: 'GetJobRunResponse')
53
55
  Hive = Shapes::StructureShape.new(name: 'Hive')
@@ -115,6 +117,7 @@ module Aws::EMRServerless
115
117
  UpdateApplicationRequest = Shapes::StructureShape.new(name: 'UpdateApplicationRequest')
116
118
  UpdateApplicationResponse = Shapes::StructureShape.new(name: 'UpdateApplicationResponse')
117
119
  UriString = Shapes::StringShape.new(name: 'UriString')
120
+ Url = Shapes::StringShape.new(name: 'Url')
118
121
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
119
122
  WorkerCounts = Shapes::IntegerShape.new(name: 'WorkerCounts')
120
123
  WorkerResourceConfig = Shapes::StructureShape.new(name: 'WorkerResourceConfig')
@@ -156,7 +159,7 @@ module Aws::EMRServerless
156
159
  AutoStartConfig.struct_class = Types::AutoStartConfig
157
160
 
158
161
  AutoStopConfig.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enabled"))
159
- AutoStopConfig.add_member(:idle_timeout_minutes, Shapes::ShapeRef.new(shape: AutoStopConfigIdleTimeoutMinutesInteger, location_name: "idleTimeoutMinutes", metadata: {"box"=>true}))
162
+ AutoStopConfig.add_member(:idle_timeout_minutes, Shapes::ShapeRef.new(shape: AutoStopConfigIdleTimeoutMinutesInteger, location_name: "idleTimeoutMinutes"))
160
163
  AutoStopConfig.struct_class = Types::AutoStopConfig
161
164
 
162
165
  CancelJobRunRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
@@ -211,6 +214,13 @@ module Aws::EMRServerless
211
214
  GetApplicationResponse.add_member(:application, Shapes::ShapeRef.new(shape: Application, required: true, location_name: "application"))
212
215
  GetApplicationResponse.struct_class = Types::GetApplicationResponse
213
216
 
217
+ GetDashboardForJobRunRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
218
+ GetDashboardForJobRunRequest.add_member(:job_run_id, Shapes::ShapeRef.new(shape: JobRunId, required: true, location: "uri", location_name: "jobRunId"))
219
+ GetDashboardForJobRunRequest.struct_class = Types::GetDashboardForJobRunRequest
220
+
221
+ GetDashboardForJobRunResponse.add_member(:url, Shapes::ShapeRef.new(shape: Url, location_name: "url"))
222
+ GetDashboardForJobRunResponse.struct_class = Types::GetDashboardForJobRunResponse
223
+
214
224
  GetJobRunRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
215
225
  GetJobRunRequest.add_member(:job_run_id, Shapes::ShapeRef.new(shape: JobRunId, required: true, location: "uri", location_name: "jobRunId"))
216
226
  GetJobRunRequest.struct_class = Types::GetJobRunRequest
@@ -279,7 +289,7 @@ module Aws::EMRServerless
279
289
  JobRuns.member = Shapes::ShapeRef.new(shape: JobRunSummary)
280
290
 
281
291
  ListApplicationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
282
- ListApplicationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListApplicationsRequestMaxResultsInteger, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
292
+ ListApplicationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListApplicationsRequestMaxResultsInteger, location: "querystring", location_name: "maxResults"))
283
293
  ListApplicationsRequest.add_member(:states, Shapes::ShapeRef.new(shape: ApplicationStateSet, location: "querystring", location_name: "states"))
284
294
  ListApplicationsRequest.struct_class = Types::ListApplicationsRequest
285
295
 
@@ -289,7 +299,7 @@ module Aws::EMRServerless
289
299
 
290
300
  ListJobRunsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
291
301
  ListJobRunsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
292
- ListJobRunsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListJobRunsRequestMaxResultsInteger, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
302
+ ListJobRunsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListJobRunsRequestMaxResultsInteger, location: "querystring", location_name: "maxResults"))
293
303
  ListJobRunsRequest.add_member(:created_at_after, Shapes::ShapeRef.new(shape: Date, location: "querystring", location_name: "createdAtAfter"))
294
304
  ListJobRunsRequest.add_member(:created_at_before, Shapes::ShapeRef.new(shape: Date, location: "querystring", location_name: "createdAtBefore"))
295
305
  ListJobRunsRequest.add_member(:states, Shapes::ShapeRef.new(shape: JobRunStateSet, location: "querystring", location_name: "states"))
@@ -473,6 +483,17 @@ module Aws::EMRServerless
473
483
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
474
484
  end)
475
485
 
486
+ api.add_operation(:get_dashboard_for_job_run, Seahorse::Model::Operation.new.tap do |o|
487
+ o.name = "GetDashboardForJobRun"
488
+ o.http_method = "GET"
489
+ o.http_request_uri = "/applications/{applicationId}/jobruns/{jobRunId}/dashboard"
490
+ o.input = Shapes::ShapeRef.new(shape: GetDashboardForJobRunRequest)
491
+ o.output = Shapes::ShapeRef.new(shape: GetDashboardForJobRunResponse)
492
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
493
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
494
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
495
+ end)
496
+
476
497
  api.add_operation(:get_job_run, Seahorse::Model::Operation.new.tap do |o|
477
498
  o.name = "GetJobRun"
478
499
  o.http_method = "GET"
@@ -543,6 +543,43 @@ module Aws::EMRServerless
543
543
  include Aws::Structure
544
544
  end
545
545
 
546
+ # @note When making an API call, you may pass GetDashboardForJobRunRequest
547
+ # data as a hash:
548
+ #
549
+ # {
550
+ # application_id: "ApplicationId", # required
551
+ # job_run_id: "JobRunId", # required
552
+ # }
553
+ #
554
+ # @!attribute [rw] application_id
555
+ # The ID of the application.
556
+ # @return [String]
557
+ #
558
+ # @!attribute [rw] job_run_id
559
+ # The ID of the job run.
560
+ # @return [String]
561
+ #
562
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/GetDashboardForJobRunRequest AWS API Documentation
563
+ #
564
+ class GetDashboardForJobRunRequest < Struct.new(
565
+ :application_id,
566
+ :job_run_id)
567
+ SENSITIVE = []
568
+ include Aws::Structure
569
+ end
570
+
571
+ # @!attribute [rw] url
572
+ # The URL to view job run's dashboard.
573
+ # @return [String]
574
+ #
575
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/GetDashboardForJobRunResponse AWS API Documentation
576
+ #
577
+ class GetDashboardForJobRunResponse < Struct.new(
578
+ :url)
579
+ SENSITIVE = []
580
+ include Aws::Structure
581
+ end
582
+
546
583
  # @note When making an API call, you may pass GetJobRunRequest
547
584
  # data as a hash:
548
585
  #
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-emrserverless/customizations'
48
48
  # @!group service
49
49
  module Aws::EMRServerless
50
50
 
51
- GEM_VERSION = '1.0.0'
51
+ GEM_VERSION = '1.1.0'
52
52
 
53
53
  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.0.0
4
+ version: 1.1.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: 2022-05-27 00:00:00.000000000 Z
11
+ date: 2022-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core