aws-sdk-emrserverless 1.20.0 → 1.21.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: 1b4c27496e07a551774faf80f2d02ba0bd8a1edd8875b6844a2012012eba07dc
4
- data.tar.gz: f65ee1cfec3db78bb1352add5db68ddb964c07b85f902dd98d4eec89bea21f0a
3
+ metadata.gz: 7afeb7cf2da9edf72c180a16a8ca7df6f0e4a1288e62559c38e1f36421dd7c40
4
+ data.tar.gz: fdeb17824b2180cae4e67ee2b635c3e21124af4764b9cd43dabdbf30b32c2054
5
5
  SHA512:
6
- metadata.gz: d33b6096908ebca38fff29507fd09d93b5747f80a2f2c1c4d48ffde485b66b6c96df3b9839de34339d6306c373ed887e5deea89561112ec01d36b70540bab345
7
- data.tar.gz: 00be784c327ed8960cb6456a27a637c39e5ee8680f1c31582ceb6b2fcea5d7dce3c0f7313cd51a570d2161b714877a7b0837bdc629fe57ac383d98830ad299f7
6
+ metadata.gz: 0715cf38b9352b883aa7cc37f4d85e47bfc2f6a40290e5ad98522711357d83d9ee5b1c6fb4a8d6275487a6b50974aabfef22aa8b7d7efcd466801779d8cfca3c
7
+ data.tar.gz: 879ce095615bd0de67eff0896416ece5e6378a8d0b1eb0e82cbd07ebc27174ef1899fdf2e38ce459f3716cf94cbceb86c58e0aa7c6627dde1e1d9e663c20deac
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.21.0 (2024-04-18)
5
+ ------------------
6
+
7
+ * Feature - This release adds the capability to publish detailed Spark engine metrics to Amazon Managed Service for Prometheus (AMP) for enhanced monitoring for Spark jobs.
8
+
4
9
  1.20.0 (2024-04-16)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.20.0
1
+ 1.21.0
@@ -551,7 +551,7 @@ module Aws::EMRServerless
551
551
  # {
552
552
  # classification: "String1024", # required
553
553
  # properties: {
554
- # "String1024" => "String1024",
554
+ # "ConfigurationPropertyKey" => "ConfigurationPropertyValue",
555
555
  # },
556
556
  # configurations: {
557
557
  # # recursive ConfigurationList
@@ -576,6 +576,9 @@ module Aws::EMRServerless
576
576
  # "WorkerTypeString" => ["LogTypeString"],
577
577
  # },
578
578
  # },
579
+ # prometheus_monitoring_configuration: {
580
+ # remote_write_url: "PrometheusUrlString",
581
+ # },
579
582
  # },
580
583
  # })
581
584
  #
@@ -670,7 +673,7 @@ module Aws::EMRServerless
670
673
  # resp.application.runtime_configuration #=> Array
671
674
  # resp.application.runtime_configuration[0].classification #=> String
672
675
  # resp.application.runtime_configuration[0].properties #=> Hash
673
- # resp.application.runtime_configuration[0].properties["String1024"] #=> String
676
+ # resp.application.runtime_configuration[0].properties["ConfigurationPropertyKey"] #=> String
674
677
  # resp.application.runtime_configuration[0].configurations #=> Types::ConfigurationList
675
678
  # resp.application.monitoring_configuration.s3_monitoring_configuration.log_uri #=> String
676
679
  # resp.application.monitoring_configuration.s3_monitoring_configuration.encryption_key_arn #=> String
@@ -683,6 +686,7 @@ module Aws::EMRServerless
683
686
  # resp.application.monitoring_configuration.cloud_watch_logging_configuration.log_types #=> Hash
684
687
  # resp.application.monitoring_configuration.cloud_watch_logging_configuration.log_types["WorkerTypeString"] #=> Array
685
688
  # resp.application.monitoring_configuration.cloud_watch_logging_configuration.log_types["WorkerTypeString"][0] #=> String
689
+ # resp.application.monitoring_configuration.prometheus_monitoring_configuration.remote_write_url #=> String
686
690
  #
687
691
  # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/GetApplication AWS API Documentation
688
692
  #
@@ -772,7 +776,7 @@ module Aws::EMRServerless
772
776
  # resp.job_run.configuration_overrides.application_configuration #=> Array
773
777
  # resp.job_run.configuration_overrides.application_configuration[0].classification #=> String
774
778
  # resp.job_run.configuration_overrides.application_configuration[0].properties #=> Hash
775
- # resp.job_run.configuration_overrides.application_configuration[0].properties["String1024"] #=> String
779
+ # resp.job_run.configuration_overrides.application_configuration[0].properties["ConfigurationPropertyKey"] #=> String
776
780
  # resp.job_run.configuration_overrides.application_configuration[0].configurations #=> Types::ConfigurationList
777
781
  # resp.job_run.configuration_overrides.monitoring_configuration.s3_monitoring_configuration.log_uri #=> String
778
782
  # resp.job_run.configuration_overrides.monitoring_configuration.s3_monitoring_configuration.encryption_key_arn #=> String
@@ -785,6 +789,7 @@ module Aws::EMRServerless
785
789
  # resp.job_run.configuration_overrides.monitoring_configuration.cloud_watch_logging_configuration.log_types #=> Hash
786
790
  # resp.job_run.configuration_overrides.monitoring_configuration.cloud_watch_logging_configuration.log_types["WorkerTypeString"] #=> Array
787
791
  # resp.job_run.configuration_overrides.monitoring_configuration.cloud_watch_logging_configuration.log_types["WorkerTypeString"][0] #=> String
792
+ # resp.job_run.configuration_overrides.monitoring_configuration.prometheus_monitoring_configuration.remote_write_url #=> String
788
793
  # resp.job_run.job_driver.spark_submit.entry_point #=> String
789
794
  # resp.job_run.job_driver.spark_submit.entry_point_arguments #=> Array
790
795
  # resp.job_run.job_driver.spark_submit.entry_point_arguments[0] #=> String
@@ -1048,7 +1053,7 @@ module Aws::EMRServerless
1048
1053
  # {
1049
1054
  # classification: "String1024", # required
1050
1055
  # properties: {
1051
- # "String1024" => "String1024",
1056
+ # "ConfigurationPropertyKey" => "ConfigurationPropertyValue",
1052
1057
  # },
1053
1058
  # configurations: {
1054
1059
  # # recursive ConfigurationList
@@ -1073,6 +1078,9 @@ module Aws::EMRServerless
1073
1078
  # "WorkerTypeString" => ["LogTypeString"],
1074
1079
  # },
1075
1080
  # },
1081
+ # prometheus_monitoring_configuration: {
1082
+ # remote_write_url: "PrometheusUrlString",
1083
+ # },
1076
1084
  # },
1077
1085
  # },
1078
1086
  # tags: {
@@ -1304,7 +1312,7 @@ module Aws::EMRServerless
1304
1312
  # {
1305
1313
  # classification: "String1024", # required
1306
1314
  # properties: {
1307
- # "String1024" => "String1024",
1315
+ # "ConfigurationPropertyKey" => "ConfigurationPropertyValue",
1308
1316
  # },
1309
1317
  # configurations: {
1310
1318
  # # recursive ConfigurationList
@@ -1329,6 +1337,9 @@ module Aws::EMRServerless
1329
1337
  # "WorkerTypeString" => ["LogTypeString"],
1330
1338
  # },
1331
1339
  # },
1340
+ # prometheus_monitoring_configuration: {
1341
+ # remote_write_url: "PrometheusUrlString",
1342
+ # },
1332
1343
  # },
1333
1344
  # })
1334
1345
  #
@@ -1370,7 +1381,7 @@ module Aws::EMRServerless
1370
1381
  # resp.application.runtime_configuration #=> Array
1371
1382
  # resp.application.runtime_configuration[0].classification #=> String
1372
1383
  # resp.application.runtime_configuration[0].properties #=> Hash
1373
- # resp.application.runtime_configuration[0].properties["String1024"] #=> String
1384
+ # resp.application.runtime_configuration[0].properties["ConfigurationPropertyKey"] #=> String
1374
1385
  # resp.application.runtime_configuration[0].configurations #=> Types::ConfigurationList
1375
1386
  # resp.application.monitoring_configuration.s3_monitoring_configuration.log_uri #=> String
1376
1387
  # resp.application.monitoring_configuration.s3_monitoring_configuration.encryption_key_arn #=> String
@@ -1383,6 +1394,7 @@ module Aws::EMRServerless
1383
1394
  # resp.application.monitoring_configuration.cloud_watch_logging_configuration.log_types #=> Hash
1384
1395
  # resp.application.monitoring_configuration.cloud_watch_logging_configuration.log_types["WorkerTypeString"] #=> Array
1385
1396
  # resp.application.monitoring_configuration.cloud_watch_logging_configuration.log_types["WorkerTypeString"][0] #=> String
1397
+ # resp.application.monitoring_configuration.prometheus_monitoring_configuration.remote_write_url #=> String
1386
1398
  #
1387
1399
  # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/UpdateApplication AWS API Documentation
1388
1400
  #
@@ -1406,7 +1418,7 @@ module Aws::EMRServerless
1406
1418
  params: params,
1407
1419
  config: config)
1408
1420
  context[:gem_name] = 'aws-sdk-emrserverless'
1409
- context[:gem_version] = '1.20.0'
1421
+ context[:gem_version] = '1.21.0'
1410
1422
  Seahorse::Client::Request.new(handlers, context)
1411
1423
  end
1412
1424
 
@@ -33,6 +33,8 @@ module Aws::EMRServerless
33
33
  Configuration = Shapes::StructureShape.new(name: 'Configuration')
34
34
  ConfigurationList = Shapes::ListShape.new(name: 'ConfigurationList')
35
35
  ConfigurationOverrides = Shapes::StructureShape.new(name: 'ConfigurationOverrides')
36
+ ConfigurationPropertyKey = Shapes::StringShape.new(name: 'ConfigurationPropertyKey')
37
+ ConfigurationPropertyValue = Shapes::StringShape.new(name: 'ConfigurationPropertyValue')
36
38
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
37
39
  CpuSize = Shapes::StringShape.new(name: 'CpuSize')
38
40
  CreateApplicationRequest = Shapes::StructureShape.new(name: 'CreateApplicationRequest')
@@ -95,6 +97,8 @@ module Aws::EMRServerless
95
97
  MonitoringConfiguration = Shapes::StructureShape.new(name: 'MonitoringConfiguration')
96
98
  NetworkConfiguration = Shapes::StructureShape.new(name: 'NetworkConfiguration')
97
99
  NextToken = Shapes::StringShape.new(name: 'NextToken')
100
+ PrometheusMonitoringConfiguration = Shapes::StructureShape.new(name: 'PrometheusMonitoringConfiguration')
101
+ PrometheusUrlString = Shapes::StringShape.new(name: 'PrometheusUrlString')
98
102
  Query = Shapes::StringShape.new(name: 'Query')
99
103
  ReleaseLabel = Shapes::StringShape.new(name: 'ReleaseLabel')
100
104
  RequestIdentityUserArn = Shapes::StringShape.new(name: 'RequestIdentityUserArn')
@@ -376,12 +380,16 @@ module Aws::EMRServerless
376
380
  MonitoringConfiguration.add_member(:s3_monitoring_configuration, Shapes::ShapeRef.new(shape: S3MonitoringConfiguration, location_name: "s3MonitoringConfiguration"))
377
381
  MonitoringConfiguration.add_member(:managed_persistence_monitoring_configuration, Shapes::ShapeRef.new(shape: ManagedPersistenceMonitoringConfiguration, location_name: "managedPersistenceMonitoringConfiguration"))
378
382
  MonitoringConfiguration.add_member(:cloud_watch_logging_configuration, Shapes::ShapeRef.new(shape: CloudWatchLoggingConfiguration, location_name: "cloudWatchLoggingConfiguration"))
383
+ MonitoringConfiguration.add_member(:prometheus_monitoring_configuration, Shapes::ShapeRef.new(shape: PrometheusMonitoringConfiguration, location_name: "prometheusMonitoringConfiguration"))
379
384
  MonitoringConfiguration.struct_class = Types::MonitoringConfiguration
380
385
 
381
386
  NetworkConfiguration.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, location_name: "subnetIds"))
382
387
  NetworkConfiguration.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIds, location_name: "securityGroupIds"))
383
388
  NetworkConfiguration.struct_class = Types::NetworkConfiguration
384
389
 
390
+ PrometheusMonitoringConfiguration.add_member(:remote_write_url, Shapes::ShapeRef.new(shape: PrometheusUrlString, location_name: "remoteWriteUrl"))
391
+ PrometheusMonitoringConfiguration.struct_class = Types::PrometheusMonitoringConfiguration
392
+
385
393
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String1024, required: true, location_name: "message"))
386
394
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
387
395
 
@@ -396,8 +404,8 @@ module Aws::EMRServerless
396
404
 
397
405
  SecurityGroupIds.member = Shapes::ShapeRef.new(shape: SecurityGroupString)
398
406
 
399
- SensitivePropertiesMap.key = Shapes::ShapeRef.new(shape: String1024)
400
- SensitivePropertiesMap.value = Shapes::ShapeRef.new(shape: String1024)
407
+ SensitivePropertiesMap.key = Shapes::ShapeRef.new(shape: ConfigurationPropertyKey)
408
+ SensitivePropertiesMap.value = Shapes::ShapeRef.new(shape: ConfigurationPropertyValue)
401
409
 
402
410
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String1024, required: true, location_name: "message"))
403
411
  ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
@@ -1106,12 +1106,18 @@ module Aws::EMRServerless
1106
1106
  # configure your jobs to send log information to CloudWatch.
1107
1107
  # @return [Types::CloudWatchLoggingConfiguration]
1108
1108
  #
1109
+ # @!attribute [rw] prometheus_monitoring_configuration
1110
+ # The monitoring configuration object you can configure to send
1111
+ # metrics to Amazon Managed Service for Prometheus for a job run.
1112
+ # @return [Types::PrometheusMonitoringConfiguration]
1113
+ #
1109
1114
  # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/MonitoringConfiguration AWS API Documentation
1110
1115
  #
1111
1116
  class MonitoringConfiguration < Struct.new(
1112
1117
  :s3_monitoring_configuration,
1113
1118
  :managed_persistence_monitoring_configuration,
1114
- :cloud_watch_logging_configuration)
1119
+ :cloud_watch_logging_configuration,
1120
+ :prometheus_monitoring_configuration)
1115
1121
  SENSITIVE = []
1116
1122
  include Aws::Structure
1117
1123
  end
@@ -1135,6 +1141,22 @@ module Aws::EMRServerless
1135
1141
  include Aws::Structure
1136
1142
  end
1137
1143
 
1144
+ # The monitoring configuration object you can configure to send metrics
1145
+ # to Amazon Managed Service for Prometheus for a job run.
1146
+ #
1147
+ # @!attribute [rw] remote_write_url
1148
+ # The remote write URL in the Amazon Managed Service for Prometheus
1149
+ # workspace to send metrics to.
1150
+ # @return [String]
1151
+ #
1152
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/PrometheusMonitoringConfiguration AWS API Documentation
1153
+ #
1154
+ class PrometheusMonitoringConfiguration < Struct.new(
1155
+ :remote_write_url)
1156
+ SENSITIVE = []
1157
+ include Aws::Structure
1158
+ end
1159
+
1138
1160
  # The specified resource was not found.
1139
1161
  #
1140
1162
  # @!attribute [rw] message
@@ -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.20.0'
55
+ GEM_VERSION = '1.21.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -153,6 +153,9 @@ module Aws
153
153
  log_stream_name_prefix: ::String?,
154
154
  encryption_key_arn: ::String?,
155
155
  log_types: Hash[::String, Array[::String]]?
156
+ }?,
157
+ prometheus_monitoring_configuration: {
158
+ remote_write_url: ::String?
156
159
  }?
157
160
  }
158
161
  ) -> _CreateApplicationResponseSuccess
@@ -293,6 +296,9 @@ module Aws
293
296
  log_stream_name_prefix: ::String?,
294
297
  encryption_key_arn: ::String?,
295
298
  log_types: Hash[::String, Array[::String]]?
299
+ }?,
300
+ prometheus_monitoring_configuration: {
301
+ remote_write_url: ::String?
296
302
  }?
297
303
  }?
298
304
  },
@@ -396,6 +402,9 @@ module Aws
396
402
  log_stream_name_prefix: ::String?,
397
403
  encryption_key_arn: ::String?,
398
404
  log_types: Hash[::String, Array[::String]]?
405
+ }?,
406
+ prometheus_monitoring_configuration: {
407
+ remote_write_url: ::String?
399
408
  }?
400
409
  }
401
410
  ) -> _UpdateApplicationResponseSuccess
data/sig/types.rbs CHANGED
@@ -300,6 +300,7 @@ module Aws::EMRServerless
300
300
  attr_accessor s3_monitoring_configuration: Types::S3MonitoringConfiguration
301
301
  attr_accessor managed_persistence_monitoring_configuration: Types::ManagedPersistenceMonitoringConfiguration
302
302
  attr_accessor cloud_watch_logging_configuration: Types::CloudWatchLoggingConfiguration
303
+ attr_accessor prometheus_monitoring_configuration: Types::PrometheusMonitoringConfiguration
303
304
  SENSITIVE: []
304
305
  end
305
306
 
@@ -309,6 +310,11 @@ module Aws::EMRServerless
309
310
  SENSITIVE: []
310
311
  end
311
312
 
313
+ class PrometheusMonitoringConfiguration
314
+ attr_accessor remote_write_url: ::String
315
+ SENSITIVE: []
316
+ end
317
+
312
318
  class ResourceNotFoundException
313
319
  attr_accessor message: ::String
314
320
  SENSITIVE: []
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.20.0
4
+ version: 1.21.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: 2024-04-16 00:00:00.000000000 Z
11
+ date: 2024-04-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core