aws-sdk-emrserverless 1.57.0 → 1.58.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: b362363166fc8335d31ad6e9680b9369bdbba27ffa937fff13662b4c47ca45d2
4
- data.tar.gz: b225176867ce4c416298c6a46b8d20ada5cdd91e9351a8c75d56e5fa196fd13c
3
+ metadata.gz: 908680333a042c6dc7700b47c7e02d92a7304cfab656d741c981184ab143dab9
4
+ data.tar.gz: 0d87d39ffc4567fbb24e699c68c197cda5aef97bb204c74f524a39e0406e53a6
5
5
  SHA512:
6
- metadata.gz: e173663f4234ac3f635f1f590f26a7d37bac677862d5b364dd5076ea919708f54878f34d0f2ad00e700c419520d58a0c377c6fa08226649f587e9ef83ace88be
7
- data.tar.gz: dde37db04a45d09836562208e253466d37d5f8e5ea2b64b806816b59864c76db78d67e44af29bc644e9adc215d8c1f57857c637caad4cc3dc5e2acf4a32b47f1
6
+ metadata.gz: 10a8d08b8129d31f08337728cb8c22c2324b1de4b6ac9a06d18741cb6f95764eae4959a40a1c795747de9ba019608b2c27ecfd76b96ccf25974d243c2635df7d
7
+ data.tar.gz: 737d6da0aafe95b243a6d7f692ad52c9b74e2707a8e4982dbb11b4bb9343feed2b8d4b89222f5323d7c451022243b327033a9cf9303da8656134e5c51c78b367
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.58.0 (2025-12-19)
5
+ ------------------
6
+
7
+ * Feature - Added JobLevelCostAllocationConfiguration field to enable cost allocation reporting at the job level, providing more granular visibility into EMR Serverless charges
8
+
4
9
  1.57.0 (2025-11-21)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.57.0
1
+ 1.58.0
@@ -600,6 +600,9 @@ module Aws::EMRServerless
600
600
  # This configuration allows identity propagation between integrated
601
601
  # services and the Identity Center instance.
602
602
  #
603
+ # @option params [Types::JobLevelCostAllocationConfiguration] :job_level_cost_allocation_configuration
604
+ # The configuration object that enables job level cost allocation.
605
+ #
603
606
  # @return [Types::CreateApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
604
607
  #
605
608
  # * {Types::CreateApplicationResponse#application_id #application_id} => String
@@ -699,6 +702,9 @@ module Aws::EMRServerless
699
702
  # identity_center_instance_arn: "IdentityCenterInstanceArn",
700
703
  # user_background_sessions_enabled: false,
701
704
  # },
705
+ # job_level_cost_allocation_configuration: {
706
+ # enabled: false,
707
+ # },
702
708
  # })
703
709
  #
704
710
  # @example Response structure
@@ -813,6 +819,7 @@ module Aws::EMRServerless
813
819
  # resp.application.identity_center_configuration.identity_center_instance_arn #=> String
814
820
  # resp.application.identity_center_configuration.identity_center_application_arn #=> String
815
821
  # resp.application.identity_center_configuration.user_background_sessions_enabled #=> Boolean
822
+ # resp.application.job_level_cost_allocation_configuration.enabled #=> Boolean
816
823
  #
817
824
  # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/GetApplication AWS API Documentation
818
825
  #
@@ -1516,6 +1523,9 @@ module Aws::EMRServerless
1516
1523
  # configuration determines how the application interacts with IAM
1517
1524
  # Identity Center for user authentication and access control.
1518
1525
  #
1526
+ # @option params [Types::JobLevelCostAllocationConfiguration] :job_level_cost_allocation_configuration
1527
+ # The configuration object that enables job level cost allocation.
1528
+ #
1519
1529
  # @return [Types::UpdateApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1520
1530
  #
1521
1531
  # * {Types::UpdateApplicationResponse#application #application} => Types::Application
@@ -1609,6 +1619,9 @@ module Aws::EMRServerless
1609
1619
  # identity_center_instance_arn: "IdentityCenterInstanceArn",
1610
1620
  # user_background_sessions_enabled: false,
1611
1621
  # },
1622
+ # job_level_cost_allocation_configuration: {
1623
+ # enabled: false,
1624
+ # },
1612
1625
  # })
1613
1626
  #
1614
1627
  # @example Response structure
@@ -1670,6 +1683,7 @@ module Aws::EMRServerless
1670
1683
  # resp.application.identity_center_configuration.identity_center_instance_arn #=> String
1671
1684
  # resp.application.identity_center_configuration.identity_center_application_arn #=> String
1672
1685
  # resp.application.identity_center_configuration.user_background_sessions_enabled #=> Boolean
1686
+ # resp.application.job_level_cost_allocation_configuration.enabled #=> Boolean
1673
1687
  #
1674
1688
  # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/UpdateApplication AWS API Documentation
1675
1689
  #
@@ -1698,7 +1712,7 @@ module Aws::EMRServerless
1698
1712
  tracer: tracer
1699
1713
  )
1700
1714
  context[:gem_name] = 'aws-sdk-emrserverless'
1701
- context[:gem_version] = '1.57.0'
1715
+ context[:gem_version] = '1.58.0'
1702
1716
  Seahorse::Client::Request.new(handlers, context)
1703
1717
  end
1704
1718
 
@@ -79,6 +79,7 @@ module Aws::EMRServerless
79
79
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
80
80
  JobArn = Shapes::StringShape.new(name: 'JobArn')
81
81
  JobDriver = Shapes::UnionShape.new(name: 'JobDriver')
82
+ JobLevelCostAllocationConfiguration = Shapes::StructureShape.new(name: 'JobLevelCostAllocationConfiguration')
82
83
  JobRun = Shapes::StructureShape.new(name: 'JobRun')
83
84
  JobRunAttemptSummary = Shapes::StructureShape.new(name: 'JobRunAttemptSummary')
84
85
  JobRunAttempts = Shapes::ListShape.new(name: 'JobRunAttempts')
@@ -189,6 +190,7 @@ module Aws::EMRServerless
189
190
  Application.add_member(:interactive_configuration, Shapes::ShapeRef.new(shape: InteractiveConfiguration, location_name: "interactiveConfiguration"))
190
191
  Application.add_member(:scheduler_configuration, Shapes::ShapeRef.new(shape: SchedulerConfiguration, location_name: "schedulerConfiguration"))
191
192
  Application.add_member(:identity_center_configuration, Shapes::ShapeRef.new(shape: IdentityCenterConfiguration, location_name: "identityCenterConfiguration"))
193
+ Application.add_member(:job_level_cost_allocation_configuration, Shapes::ShapeRef.new(shape: JobLevelCostAllocationConfiguration, location_name: "jobLevelCostAllocationConfiguration"))
192
194
  Application.struct_class = Types::Application
193
195
 
194
196
  ApplicationList.member = Shapes::ShapeRef.new(shape: ApplicationSummary)
@@ -262,6 +264,7 @@ module Aws::EMRServerless
262
264
  CreateApplicationRequest.add_member(:interactive_configuration, Shapes::ShapeRef.new(shape: InteractiveConfiguration, location_name: "interactiveConfiguration"))
263
265
  CreateApplicationRequest.add_member(:scheduler_configuration, Shapes::ShapeRef.new(shape: SchedulerConfiguration, location_name: "schedulerConfiguration"))
264
266
  CreateApplicationRequest.add_member(:identity_center_configuration, Shapes::ShapeRef.new(shape: IdentityCenterConfigurationInput, location_name: "identityCenterConfiguration"))
267
+ CreateApplicationRequest.add_member(:job_level_cost_allocation_configuration, Shapes::ShapeRef.new(shape: JobLevelCostAllocationConfiguration, location_name: "jobLevelCostAllocationConfiguration"))
265
268
  CreateApplicationRequest.struct_class = Types::CreateApplicationRequest
266
269
 
267
270
  CreateApplicationResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location_name: "applicationId"))
@@ -342,6 +345,9 @@ module Aws::EMRServerless
342
345
  JobDriver.add_member_subclass(:unknown, Types::JobDriver::Unknown)
343
346
  JobDriver.struct_class = Types::JobDriver
344
347
 
348
+ JobLevelCostAllocationConfiguration.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enabled"))
349
+ JobLevelCostAllocationConfiguration.struct_class = Types::JobLevelCostAllocationConfiguration
350
+
345
351
  JobRun.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location_name: "applicationId"))
346
352
  JobRun.add_member(:job_run_id, Shapes::ShapeRef.new(shape: JobRunId, required: true, location_name: "jobRunId"))
347
353
  JobRun.add_member(:name, Shapes::ShapeRef.new(shape: String256, location_name: "name"))
@@ -585,6 +591,7 @@ module Aws::EMRServerless
585
591
  UpdateApplicationRequest.add_member(:monitoring_configuration, Shapes::ShapeRef.new(shape: MonitoringConfiguration, location_name: "monitoringConfiguration"))
586
592
  UpdateApplicationRequest.add_member(:scheduler_configuration, Shapes::ShapeRef.new(shape: SchedulerConfiguration, location_name: "schedulerConfiguration"))
587
593
  UpdateApplicationRequest.add_member(:identity_center_configuration, Shapes::ShapeRef.new(shape: IdentityCenterConfigurationInput, location_name: "identityCenterConfiguration"))
594
+ UpdateApplicationRequest.add_member(:job_level_cost_allocation_configuration, Shapes::ShapeRef.new(shape: JobLevelCostAllocationConfiguration, location_name: "jobLevelCostAllocationConfiguration"))
588
595
  UpdateApplicationRequest.struct_class = Types::UpdateApplicationRequest
589
596
 
590
597
  UpdateApplicationResponse.add_member(:application, Shapes::ShapeRef.new(shape: Application, required: true, location_name: "application"))
@@ -123,6 +123,10 @@ module Aws::EMRServerless
123
123
  # identity propagation.
124
124
  # @return [Types::IdentityCenterConfiguration]
125
125
  #
126
+ # @!attribute [rw] job_level_cost_allocation_configuration
127
+ # The configuration object that enables job level cost allocation.
128
+ # @return [Types::JobLevelCostAllocationConfiguration]
129
+ #
126
130
  # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/Application AWS API Documentation
127
131
  #
128
132
  class Application < Struct.new(
@@ -148,7 +152,8 @@ module Aws::EMRServerless
148
152
  :monitoring_configuration,
149
153
  :interactive_configuration,
150
154
  :scheduler_configuration,
151
- :identity_center_configuration)
155
+ :identity_center_configuration,
156
+ :job_level_cost_allocation_configuration)
152
157
  SENSITIVE = []
153
158
  include Aws::Structure
154
159
  end
@@ -506,6 +511,10 @@ module Aws::EMRServerless
506
511
  # services and the Identity Center instance.
507
512
  # @return [Types::IdentityCenterConfigurationInput]
508
513
  #
514
+ # @!attribute [rw] job_level_cost_allocation_configuration
515
+ # The configuration object that enables job level cost allocation.
516
+ # @return [Types::JobLevelCostAllocationConfiguration]
517
+ #
509
518
  # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/CreateApplicationRequest AWS API Documentation
510
519
  #
511
520
  class CreateApplicationRequest < Struct.new(
@@ -526,7 +535,8 @@ module Aws::EMRServerless
526
535
  :monitoring_configuration,
527
536
  :interactive_configuration,
528
537
  :scheduler_configuration,
529
- :identity_center_configuration)
538
+ :identity_center_configuration,
539
+ :job_level_cost_allocation_configuration)
530
540
  SENSITIVE = []
531
541
  include Aws::Structure
532
542
  end
@@ -870,6 +880,20 @@ module Aws::EMRServerless
870
880
  class Unknown < JobDriver; end
871
881
  end
872
882
 
883
+ # The configuration object that enables job level cost allocation.
884
+ #
885
+ # @!attribute [rw] enabled
886
+ # Enables job level cost allocation for the application.
887
+ # @return [Boolean]
888
+ #
889
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/JobLevelCostAllocationConfiguration AWS API Documentation
890
+ #
891
+ class JobLevelCostAllocationConfiguration < Struct.new(
892
+ :enabled)
893
+ SENSITIVE = []
894
+ include Aws::Structure
895
+ end
896
+
873
897
  # Information about a job run. A job run is a unit of work, such as a
874
898
  # Spark JAR, Hive query, or SparkSQL query, that you submit to an Amazon
875
899
  # EMR Serverless application.
@@ -1959,6 +1983,10 @@ module Aws::EMRServerless
1959
1983
  # Identity Center for user authentication and access control.
1960
1984
  # @return [Types::IdentityCenterConfigurationInput]
1961
1985
  #
1986
+ # @!attribute [rw] job_level_cost_allocation_configuration
1987
+ # The configuration object that enables job level cost allocation.
1988
+ # @return [Types::JobLevelCostAllocationConfiguration]
1989
+ #
1962
1990
  # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/UpdateApplicationRequest AWS API Documentation
1963
1991
  #
1964
1992
  class UpdateApplicationRequest < Struct.new(
@@ -1977,7 +2005,8 @@ module Aws::EMRServerless
1977
2005
  :runtime_configuration,
1978
2006
  :monitoring_configuration,
1979
2007
  :scheduler_configuration,
1980
- :identity_center_configuration)
2008
+ :identity_center_configuration,
2009
+ :job_level_cost_allocation_configuration)
1981
2010
  SENSITIVE = []
1982
2011
  include Aws::Structure
1983
2012
  end
@@ -54,7 +54,7 @@ module Aws::EMRServerless
54
54
  autoload :EndpointProvider, 'aws-sdk-emrserverless/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-emrserverless/endpoints'
56
56
 
57
- GEM_VERSION = '1.57.0'
57
+ GEM_VERSION = '1.58.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -176,6 +176,9 @@ module Aws
176
176
  ?identity_center_configuration: {
177
177
  identity_center_instance_arn: ::String?,
178
178
  user_background_sessions_enabled: bool?
179
+ },
180
+ ?job_level_cost_allocation_configuration: {
181
+ enabled: bool?
179
182
  }
180
183
  ) -> _CreateApplicationResponseSuccess
181
184
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateApplicationResponseSuccess
@@ -464,6 +467,9 @@ module Aws
464
467
  ?identity_center_configuration: {
465
468
  identity_center_instance_arn: ::String?,
466
469
  user_background_sessions_enabled: bool?
470
+ },
471
+ ?job_level_cost_allocation_configuration: {
472
+ enabled: bool?
467
473
  }
468
474
  ) -> _UpdateApplicationResponseSuccess
469
475
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateApplicationResponseSuccess
data/sig/types.rbs CHANGED
@@ -32,6 +32,7 @@ module Aws::EMRServerless
32
32
  attr_accessor interactive_configuration: Types::InteractiveConfiguration
33
33
  attr_accessor scheduler_configuration: Types::SchedulerConfiguration
34
34
  attr_accessor identity_center_configuration: Types::IdentityCenterConfiguration
35
+ attr_accessor job_level_cost_allocation_configuration: Types::JobLevelCostAllocationConfiguration
35
36
  SENSITIVE: []
36
37
  end
37
38
 
@@ -119,6 +120,7 @@ module Aws::EMRServerless
119
120
  attr_accessor interactive_configuration: Types::InteractiveConfiguration
120
121
  attr_accessor scheduler_configuration: Types::SchedulerConfiguration
121
122
  attr_accessor identity_center_configuration: Types::IdentityCenterConfigurationInput
123
+ attr_accessor job_level_cost_allocation_configuration: Types::JobLevelCostAllocationConfiguration
122
124
  SENSITIVE: []
123
125
  end
124
126
 
@@ -234,6 +236,11 @@ module Aws::EMRServerless
234
236
  end
235
237
  end
236
238
 
239
+ class JobLevelCostAllocationConfiguration
240
+ attr_accessor enabled: bool
241
+ SENSITIVE: []
242
+ end
243
+
237
244
  class JobRun
238
245
  attr_accessor application_id: ::String
239
246
  attr_accessor job_run_id: ::String
@@ -519,6 +526,7 @@ module Aws::EMRServerless
519
526
  attr_accessor monitoring_configuration: Types::MonitoringConfiguration
520
527
  attr_accessor scheduler_configuration: Types::SchedulerConfiguration
521
528
  attr_accessor identity_center_configuration: Types::IdentityCenterConfigurationInput
529
+ attr_accessor job_level_cost_allocation_configuration: Types::JobLevelCostAllocationConfiguration
522
530
  SENSITIVE: []
523
531
  end
524
532
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-emrserverless
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.57.0
4
+ version: 1.58.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services