aws-sdk-emrcontainers 1.21.0 → 1.23.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-emrcontainers/client.rb +17 -1
- data/lib/aws-sdk-emrcontainers/client_api.rb +8 -0
- data/lib/aws-sdk-emrcontainers/endpoints.rb +1 -0
- data/lib/aws-sdk-emrcontainers/types.rb +26 -1
- data/lib/aws-sdk-emrcontainers.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c23c4b8ab6ab0734cd6ab568e46c25b2ceaad8f815824c9ed981aa73b8171b0
|
4
|
+
data.tar.gz: c467671d8fc4aab1c99da9f30077b03f709effbae4aafaf25638bf30e8b8725f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aae31dab591c009e8edbbefc720db9414f850b8964c8c340a3e1de90a5b16a7208fa68e376ddefc3924676b5be50a1b1dc26b2c6afcb20851d1102a7dcd82499
|
7
|
+
data.tar.gz: 233421e96c7d618e1685b2f98dd74f57843a1d2133f1fecd8dd1e032659e3571c06a43a34d6ba77cadc505932082fb8a15f766809693b1132101337dfafcd9b0
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.23.0 (2023-06-15)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.22.0 (2023-06-07)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - EMR on EKS adds support for log rotation of Spark container logs with EMR-6.11.0 onwards, to the StartJobRun API.
|
13
|
+
|
4
14
|
1.21.0 (2023-05-31)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.23.0
|
@@ -586,6 +586,10 @@ module Aws::EMRContainers
|
|
586
586
|
# s3_monitoring_configuration: {
|
587
587
|
# log_uri: "UriString", # required
|
588
588
|
# },
|
589
|
+
# container_log_rotation_configuration: {
|
590
|
+
# rotation_size: "RotationSize", # required
|
591
|
+
# max_files_to_keep: 1, # required
|
592
|
+
# },
|
589
593
|
# },
|
590
594
|
# },
|
591
595
|
# client_token: "ClientToken", # required
|
@@ -812,6 +816,8 @@ module Aws::EMRContainers
|
|
812
816
|
# resp.job_run.configuration_overrides.monitoring_configuration.cloud_watch_monitoring_configuration.log_group_name #=> String
|
813
817
|
# resp.job_run.configuration_overrides.monitoring_configuration.cloud_watch_monitoring_configuration.log_stream_name_prefix #=> String
|
814
818
|
# resp.job_run.configuration_overrides.monitoring_configuration.s3_monitoring_configuration.log_uri #=> String
|
819
|
+
# resp.job_run.configuration_overrides.monitoring_configuration.container_log_rotation_configuration.rotation_size #=> String
|
820
|
+
# resp.job_run.configuration_overrides.monitoring_configuration.container_log_rotation_configuration.max_files_to_keep #=> Integer
|
815
821
|
# resp.job_run.job_driver.spark_submit_job_driver.entry_point #=> String
|
816
822
|
# resp.job_run.job_driver.spark_submit_job_driver.entry_point_arguments #=> Array
|
817
823
|
# resp.job_run.job_driver.spark_submit_job_driver.entry_point_arguments[0] #=> String
|
@@ -943,6 +949,8 @@ module Aws::EMRContainers
|
|
943
949
|
# resp.endpoint.configuration_overrides.monitoring_configuration.cloud_watch_monitoring_configuration.log_group_name #=> String
|
944
950
|
# resp.endpoint.configuration_overrides.monitoring_configuration.cloud_watch_monitoring_configuration.log_stream_name_prefix #=> String
|
945
951
|
# resp.endpoint.configuration_overrides.monitoring_configuration.s3_monitoring_configuration.log_uri #=> String
|
952
|
+
# resp.endpoint.configuration_overrides.monitoring_configuration.container_log_rotation_configuration.rotation_size #=> String
|
953
|
+
# resp.endpoint.configuration_overrides.monitoring_configuration.container_log_rotation_configuration.max_files_to_keep #=> Integer
|
946
954
|
# resp.endpoint.server_url #=> String
|
947
955
|
# resp.endpoint.created_at #=> Time
|
948
956
|
# resp.endpoint.security_group #=> String
|
@@ -1131,6 +1139,8 @@ module Aws::EMRContainers
|
|
1131
1139
|
# resp.job_runs[0].configuration_overrides.monitoring_configuration.cloud_watch_monitoring_configuration.log_group_name #=> String
|
1132
1140
|
# resp.job_runs[0].configuration_overrides.monitoring_configuration.cloud_watch_monitoring_configuration.log_stream_name_prefix #=> String
|
1133
1141
|
# resp.job_runs[0].configuration_overrides.monitoring_configuration.s3_monitoring_configuration.log_uri #=> String
|
1142
|
+
# resp.job_runs[0].configuration_overrides.monitoring_configuration.container_log_rotation_configuration.rotation_size #=> String
|
1143
|
+
# resp.job_runs[0].configuration_overrides.monitoring_configuration.container_log_rotation_configuration.max_files_to_keep #=> Integer
|
1134
1144
|
# resp.job_runs[0].job_driver.spark_submit_job_driver.entry_point #=> String
|
1135
1145
|
# resp.job_runs[0].job_driver.spark_submit_job_driver.entry_point_arguments #=> Array
|
1136
1146
|
# resp.job_runs[0].job_driver.spark_submit_job_driver.entry_point_arguments[0] #=> String
|
@@ -1304,6 +1314,8 @@ module Aws::EMRContainers
|
|
1304
1314
|
# resp.endpoints[0].configuration_overrides.monitoring_configuration.cloud_watch_monitoring_configuration.log_group_name #=> String
|
1305
1315
|
# resp.endpoints[0].configuration_overrides.monitoring_configuration.cloud_watch_monitoring_configuration.log_stream_name_prefix #=> String
|
1306
1316
|
# resp.endpoints[0].configuration_overrides.monitoring_configuration.s3_monitoring_configuration.log_uri #=> String
|
1317
|
+
# resp.endpoints[0].configuration_overrides.monitoring_configuration.container_log_rotation_configuration.rotation_size #=> String
|
1318
|
+
# resp.endpoints[0].configuration_overrides.monitoring_configuration.container_log_rotation_configuration.max_files_to_keep #=> Integer
|
1307
1319
|
# resp.endpoints[0].server_url #=> String
|
1308
1320
|
# resp.endpoints[0].created_at #=> Time
|
1309
1321
|
# resp.endpoints[0].security_group #=> String
|
@@ -1513,6 +1525,10 @@ module Aws::EMRContainers
|
|
1513
1525
|
# s3_monitoring_configuration: {
|
1514
1526
|
# log_uri: "UriString", # required
|
1515
1527
|
# },
|
1528
|
+
# container_log_rotation_configuration: {
|
1529
|
+
# rotation_size: "RotationSize", # required
|
1530
|
+
# max_files_to_keep: 1, # required
|
1531
|
+
# },
|
1516
1532
|
# },
|
1517
1533
|
# },
|
1518
1534
|
# tags: {
|
@@ -1620,7 +1636,7 @@ module Aws::EMRContainers
|
|
1620
1636
|
params: params,
|
1621
1637
|
config: config)
|
1622
1638
|
context[:gem_name] = 'aws-sdk-emrcontainers'
|
1623
|
-
context[:gem_version] = '1.
|
1639
|
+
context[:gem_version] = '1.23.0'
|
1624
1640
|
Seahorse::Client::Request.new(handlers, context)
|
1625
1641
|
end
|
1626
1642
|
|
@@ -25,6 +25,7 @@ module Aws::EMRContainers
|
|
25
25
|
ConfigurationList = Shapes::ListShape.new(name: 'ConfigurationList')
|
26
26
|
ConfigurationOverrides = Shapes::StructureShape.new(name: 'ConfigurationOverrides')
|
27
27
|
ContainerInfo = Shapes::UnionShape.new(name: 'ContainerInfo')
|
28
|
+
ContainerLogRotationConfiguration = Shapes::StructureShape.new(name: 'ContainerLogRotationConfiguration')
|
28
29
|
ContainerProvider = Shapes::StructureShape.new(name: 'ContainerProvider')
|
29
30
|
ContainerProviderType = Shapes::StringShape.new(name: 'ContainerProviderType')
|
30
31
|
CreateJobTemplateRequest = Shapes::StructureShape.new(name: 'CreateJobTemplateRequest')
|
@@ -91,6 +92,7 @@ module Aws::EMRContainers
|
|
91
92
|
ListVirtualClustersResponse = Shapes::StructureShape.new(name: 'ListVirtualClustersResponse')
|
92
93
|
LogContext = Shapes::StringShape.new(name: 'LogContext')
|
93
94
|
LogGroupName = Shapes::StringShape.new(name: 'LogGroupName')
|
95
|
+
MaxFilesToKeep = Shapes::IntegerShape.new(name: 'MaxFilesToKeep')
|
94
96
|
MonitoringConfiguration = Shapes::StructureShape.new(name: 'MonitoringConfiguration')
|
95
97
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
96
98
|
ParametricCloudWatchMonitoringConfiguration = Shapes::StructureShape.new(name: 'ParametricCloudWatchMonitoringConfiguration')
|
@@ -108,6 +110,7 @@ module Aws::EMRContainers
|
|
108
110
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
109
111
|
RetryPolicyConfiguration = Shapes::StructureShape.new(name: 'RetryPolicyConfiguration')
|
110
112
|
RetryPolicyExecution = Shapes::StructureShape.new(name: 'RetryPolicyExecution')
|
113
|
+
RotationSize = Shapes::StringShape.new(name: 'RotationSize')
|
111
114
|
RsiArn = Shapes::StringShape.new(name: 'RsiArn')
|
112
115
|
S3MonitoringConfiguration = Shapes::StructureShape.new(name: 'S3MonitoringConfiguration')
|
113
116
|
SensitivePropertiesMap = Shapes::MapShape.new(name: 'SensitivePropertiesMap')
|
@@ -177,6 +180,10 @@ module Aws::EMRContainers
|
|
177
180
|
ContainerInfo.add_member_subclass(:unknown, Types::ContainerInfo::Unknown)
|
178
181
|
ContainerInfo.struct_class = Types::ContainerInfo
|
179
182
|
|
183
|
+
ContainerLogRotationConfiguration.add_member(:rotation_size, Shapes::ShapeRef.new(shape: RotationSize, required: true, location_name: "rotationSize"))
|
184
|
+
ContainerLogRotationConfiguration.add_member(:max_files_to_keep, Shapes::ShapeRef.new(shape: MaxFilesToKeep, required: true, location_name: "maxFilesToKeep"))
|
185
|
+
ContainerLogRotationConfiguration.struct_class = Types::ContainerLogRotationConfiguration
|
186
|
+
|
180
187
|
ContainerProvider.add_member(:type, Shapes::ShapeRef.new(shape: ContainerProviderType, required: true, location_name: "type"))
|
181
188
|
ContainerProvider.add_member(:id, Shapes::ShapeRef.new(shape: ClusterId, required: true, location_name: "id"))
|
182
189
|
ContainerProvider.add_member(:info, Shapes::ShapeRef.new(shape: ContainerInfo, location_name: "info"))
|
@@ -430,6 +437,7 @@ module Aws::EMRContainers
|
|
430
437
|
MonitoringConfiguration.add_member(:persistent_app_ui, Shapes::ShapeRef.new(shape: PersistentAppUI, location_name: "persistentAppUI"))
|
431
438
|
MonitoringConfiguration.add_member(:cloud_watch_monitoring_configuration, Shapes::ShapeRef.new(shape: CloudWatchMonitoringConfiguration, location_name: "cloudWatchMonitoringConfiguration"))
|
432
439
|
MonitoringConfiguration.add_member(:s3_monitoring_configuration, Shapes::ShapeRef.new(shape: S3MonitoringConfiguration, location_name: "s3MonitoringConfiguration"))
|
440
|
+
MonitoringConfiguration.add_member(:container_log_rotation_configuration, Shapes::ShapeRef.new(shape: ContainerLogRotationConfiguration, location_name: "containerLogRotationConfiguration"))
|
433
441
|
MonitoringConfiguration.struct_class = Types::MonitoringConfiguration
|
434
442
|
|
435
443
|
ParametricCloudWatchMonitoringConfiguration.add_member(:log_group_name, Shapes::ShapeRef.new(shape: TemplateParameter, location_name: "logGroupName"))
|
@@ -161,6 +161,26 @@ module Aws::EMRContainers
|
|
161
161
|
class Unknown < ContainerInfo; end
|
162
162
|
end
|
163
163
|
|
164
|
+
# The settings for container log rotation.
|
165
|
+
#
|
166
|
+
# @!attribute [rw] rotation_size
|
167
|
+
# The file size at which to rotate logs. Minimum of 2KB, Maximum of
|
168
|
+
# 2GB.
|
169
|
+
# @return [String]
|
170
|
+
#
|
171
|
+
# @!attribute [rw] max_files_to_keep
|
172
|
+
# The number of files to keep in container after rotation.
|
173
|
+
# @return [Integer]
|
174
|
+
#
|
175
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/ContainerLogRotationConfiguration AWS API Documentation
|
176
|
+
#
|
177
|
+
class ContainerLogRotationConfiguration < Struct.new(
|
178
|
+
:rotation_size,
|
179
|
+
:max_files_to_keep)
|
180
|
+
SENSITIVE = []
|
181
|
+
include Aws::Structure
|
182
|
+
end
|
183
|
+
|
164
184
|
# The information about the container provider.
|
165
185
|
#
|
166
186
|
# @!attribute [rw] type
|
@@ -1282,12 +1302,17 @@ module Aws::EMRContainers
|
|
1282
1302
|
# Amazon S3 configuration for monitoring log publishing.
|
1283
1303
|
# @return [Types::S3MonitoringConfiguration]
|
1284
1304
|
#
|
1305
|
+
# @!attribute [rw] container_log_rotation_configuration
|
1306
|
+
# Enable or disable container log rotation.
|
1307
|
+
# @return [Types::ContainerLogRotationConfiguration]
|
1308
|
+
#
|
1285
1309
|
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/MonitoringConfiguration AWS API Documentation
|
1286
1310
|
#
|
1287
1311
|
class MonitoringConfiguration < Struct.new(
|
1288
1312
|
:persistent_app_ui,
|
1289
1313
|
:cloud_watch_monitoring_configuration,
|
1290
|
-
:s3_monitoring_configuration
|
1314
|
+
:s3_monitoring_configuration,
|
1315
|
+
:container_log_rotation_configuration)
|
1291
1316
|
SENSITIVE = []
|
1292
1317
|
include Aws::Structure
|
1293
1318
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-emrcontainers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.23.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-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|