aws-sdk-emrcontainers 1.20.0 → 1.22.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 +22 -1
- data/lib/aws-sdk-emrcontainers/client_api.rb +8 -0
- data/lib/aws-sdk-emrcontainers/types.rb +26 -1
- data/lib/aws-sdk-emrcontainers.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c88d3822efef079d3d9ffe4c15b0a6c6ee7482808e575bf1b4cd526c50b07d62
|
4
|
+
data.tar.gz: acb9e71027930f91fe8bc42765a40c3a8d4354e73350b7d6a3c6bd3e3c411a53
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77ffda82824dfd5aa84c0766177e5df492964ef4c3229dd9d2e7dcc45e73841dde8782643deb6017caeaa61502e79713c70c825f19186a19217b5cb88cbc2783
|
7
|
+
data.tar.gz: 14669651ef6723aa961d8cdb83bd6d79d2b7ebad2d7e4baa7aacd54b5435eb61c9bb1779648ad63a55ae2d88100250226fd9975ed35455926a46ac430dd3c42b
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.22.0 (2023-06-07)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - EMR on EKS adds support for log rotation of Spark container logs with EMR-6.11.0 onwards, to the StartJobRun API.
|
8
|
+
|
9
|
+
1.21.0 (2023-05-31)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.20.0 (2023-04-27)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.22.0
|
@@ -275,6 +275,11 @@ module Aws::EMRContainers
|
|
275
275
|
# in the future.
|
276
276
|
#
|
277
277
|
#
|
278
|
+
# @option options [String] :sdk_ua_app_id
|
279
|
+
# A unique and opaque application ID that is appended to the
|
280
|
+
# User-Agent header as app/<sdk_ua_app_id>. It should have a
|
281
|
+
# maximum length of 50.
|
282
|
+
#
|
278
283
|
# @option options [String] :secret_access_key
|
279
284
|
#
|
280
285
|
# @option options [String] :session_token
|
@@ -581,6 +586,10 @@ module Aws::EMRContainers
|
|
581
586
|
# s3_monitoring_configuration: {
|
582
587
|
# log_uri: "UriString", # required
|
583
588
|
# },
|
589
|
+
# container_log_rotation_configuration: {
|
590
|
+
# rotation_size: "RotationSize", # required
|
591
|
+
# max_files_to_keep: 1, # required
|
592
|
+
# },
|
584
593
|
# },
|
585
594
|
# },
|
586
595
|
# client_token: "ClientToken", # required
|
@@ -807,6 +816,8 @@ module Aws::EMRContainers
|
|
807
816
|
# resp.job_run.configuration_overrides.monitoring_configuration.cloud_watch_monitoring_configuration.log_group_name #=> String
|
808
817
|
# resp.job_run.configuration_overrides.monitoring_configuration.cloud_watch_monitoring_configuration.log_stream_name_prefix #=> String
|
809
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
|
810
821
|
# resp.job_run.job_driver.spark_submit_job_driver.entry_point #=> String
|
811
822
|
# resp.job_run.job_driver.spark_submit_job_driver.entry_point_arguments #=> Array
|
812
823
|
# resp.job_run.job_driver.spark_submit_job_driver.entry_point_arguments[0] #=> String
|
@@ -938,6 +949,8 @@ module Aws::EMRContainers
|
|
938
949
|
# resp.endpoint.configuration_overrides.monitoring_configuration.cloud_watch_monitoring_configuration.log_group_name #=> String
|
939
950
|
# resp.endpoint.configuration_overrides.monitoring_configuration.cloud_watch_monitoring_configuration.log_stream_name_prefix #=> String
|
940
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
|
941
954
|
# resp.endpoint.server_url #=> String
|
942
955
|
# resp.endpoint.created_at #=> Time
|
943
956
|
# resp.endpoint.security_group #=> String
|
@@ -1126,6 +1139,8 @@ module Aws::EMRContainers
|
|
1126
1139
|
# resp.job_runs[0].configuration_overrides.monitoring_configuration.cloud_watch_monitoring_configuration.log_group_name #=> String
|
1127
1140
|
# resp.job_runs[0].configuration_overrides.monitoring_configuration.cloud_watch_monitoring_configuration.log_stream_name_prefix #=> String
|
1128
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
|
1129
1144
|
# resp.job_runs[0].job_driver.spark_submit_job_driver.entry_point #=> String
|
1130
1145
|
# resp.job_runs[0].job_driver.spark_submit_job_driver.entry_point_arguments #=> Array
|
1131
1146
|
# resp.job_runs[0].job_driver.spark_submit_job_driver.entry_point_arguments[0] #=> String
|
@@ -1299,6 +1314,8 @@ module Aws::EMRContainers
|
|
1299
1314
|
# resp.endpoints[0].configuration_overrides.monitoring_configuration.cloud_watch_monitoring_configuration.log_group_name #=> String
|
1300
1315
|
# resp.endpoints[0].configuration_overrides.monitoring_configuration.cloud_watch_monitoring_configuration.log_stream_name_prefix #=> String
|
1301
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
|
1302
1319
|
# resp.endpoints[0].server_url #=> String
|
1303
1320
|
# resp.endpoints[0].created_at #=> Time
|
1304
1321
|
# resp.endpoints[0].security_group #=> String
|
@@ -1508,6 +1525,10 @@ module Aws::EMRContainers
|
|
1508
1525
|
# s3_monitoring_configuration: {
|
1509
1526
|
# log_uri: "UriString", # required
|
1510
1527
|
# },
|
1528
|
+
# container_log_rotation_configuration: {
|
1529
|
+
# rotation_size: "RotationSize", # required
|
1530
|
+
# max_files_to_keep: 1, # required
|
1531
|
+
# },
|
1511
1532
|
# },
|
1512
1533
|
# },
|
1513
1534
|
# tags: {
|
@@ -1615,7 +1636,7 @@ module Aws::EMRContainers
|
|
1615
1636
|
params: params,
|
1616
1637
|
config: config)
|
1617
1638
|
context[:gem_name] = 'aws-sdk-emrcontainers'
|
1618
|
-
context[:gem_version] = '1.
|
1639
|
+
context[:gem_version] = '1.22.0'
|
1619
1640
|
Seahorse::Client::Request.new(handlers, context)
|
1620
1641
|
end
|
1621
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.22.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-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.174.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.174.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|