aws-sdk-emrcontainers 1.8.0 → 1.12.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-emrcontainers/client.rb +31 -6
- data/lib/aws-sdk-emrcontainers/client_api.rb +9 -2
- data/lib/aws-sdk-emrcontainers/types.rb +32 -3
- 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: f5abf338cbf667e48316c37e343a2e58e5300113c7a274bcecf6fe23e4020e57
|
4
|
+
data.tar.gz: 033c970b640c0858ec6548f7fa61ba7657a966e7e19bcf48a4d1a0a1c708900d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60b42aa5e2795b9b8701e08d2f576407b1df592b389c023ad86c574e47c7d6b1e88fa87cd14074666f99775391b0c44d5db64c0a14abefb68422b839f4b46ed5
|
7
|
+
data.tar.gz: a26e0ce8f2fee74634d19ef9c2f59c9dae8f27091275bcd00e04eaae36d9e73d1742745e74fa6aa27c0ae5b9274fc168386b2224ecbc5768bba9cd5f9a11be30
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.12.0 (2021-12-21)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.11.0 (2021-11-30)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.10.0 (2021-11-04)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.9.0 (2021-10-26)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - This feature enables auto-generation of certificate to secure the managed-endpoint and removes the need for customer provided certificate-arn during managed-endpoint setup.
|
23
|
+
|
4
24
|
1.8.0 (2021-10-18)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.12.0
|
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
30
31
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
31
32
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
32
33
|
|
@@ -73,6 +74,7 @@ module Aws::EMRContainers
|
|
73
74
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
74
75
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
76
|
add_plugin(Aws::Plugins::HttpChecksum)
|
77
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
76
78
|
add_plugin(Aws::Plugins::SignatureV4)
|
77
79
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
78
80
|
|
@@ -119,7 +121,9 @@ module Aws::EMRContainers
|
|
119
121
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
122
|
# are very aggressive. Construct and pass an instance of
|
121
123
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
124
|
+
# enable retries and extended timeouts. Instance profile credential
|
125
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
126
|
+
# to true.
|
123
127
|
#
|
124
128
|
# @option options [required, String] :region
|
125
129
|
# The AWS region to connect to. The configured `:region` is
|
@@ -173,6 +177,10 @@ module Aws::EMRContainers
|
|
173
177
|
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
174
178
|
# a clock skew correction and retry requests with skewed client clocks.
|
175
179
|
#
|
180
|
+
# @option options [String] :defaults_mode ("legacy")
|
181
|
+
# See {Aws::DefaultsModeConfiguration} for a list of the
|
182
|
+
# accepted modes and the configuration defaults that are included.
|
183
|
+
#
|
176
184
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
177
185
|
# Set to true to disable SDK automatically adding host prefix
|
178
186
|
# to default service endpoint when available.
|
@@ -275,6 +283,15 @@ module Aws::EMRContainers
|
|
275
283
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
276
284
|
# requests are made, and retries are disabled.
|
277
285
|
#
|
286
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
287
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
288
|
+
# will be used if available.
|
289
|
+
#
|
290
|
+
# @option options [Boolean] :use_fips_endpoint
|
291
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
292
|
+
# When a `fips` region is used, the region is normalized and this config
|
293
|
+
# is set to `true`.
|
294
|
+
#
|
278
295
|
# @option options [Boolean] :validate_params (true)
|
279
296
|
# When `true`, request parameters are validated before
|
280
297
|
# sending the request.
|
@@ -286,7 +303,7 @@ module Aws::EMRContainers
|
|
286
303
|
# seconds to wait when opening a HTTP session before raising a
|
287
304
|
# `Timeout::Error`.
|
288
305
|
#
|
289
|
-
# @option options [
|
306
|
+
# @option options [Float] :http_read_timeout (60) The default
|
290
307
|
# number of seconds to wait for response data. This value can
|
291
308
|
# safely be set per-request on the session.
|
292
309
|
#
|
@@ -302,6 +319,9 @@ module Aws::EMRContainers
|
|
302
319
|
# disables this behaviour. This value can safely be set per
|
303
320
|
# request on the session.
|
304
321
|
#
|
322
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
323
|
+
# in seconds.
|
324
|
+
#
|
305
325
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
306
326
|
# HTTP debug output will be sent to the `:logger`.
|
307
327
|
#
|
@@ -382,8 +402,9 @@ module Aws::EMRContainers
|
|
382
402
|
# @option params [required, String] :execution_role_arn
|
383
403
|
# The ARN of the execution role.
|
384
404
|
#
|
385
|
-
# @option params [
|
386
|
-
# The certificate ARN
|
405
|
+
# @option params [String] :certificate_arn
|
406
|
+
# The certificate ARN provided by users for the managed endpoint. This
|
407
|
+
# fiedd is under deprecation and will be removed in future releases.
|
387
408
|
#
|
388
409
|
# @option params [Types::ConfigurationOverrides] :configuration_overrides
|
389
410
|
# The configuration settings that will be used to override existing
|
@@ -413,7 +434,7 @@ module Aws::EMRContainers
|
|
413
434
|
# type: "EndpointType", # required
|
414
435
|
# release_label: "ReleaseLabel", # required
|
415
436
|
# execution_role_arn: "IAMRoleArn", # required
|
416
|
-
# certificate_arn: "ACMCertArn",
|
437
|
+
# certificate_arn: "ACMCertArn",
|
417
438
|
# configuration_overrides: {
|
418
439
|
# application_configuration: [
|
419
440
|
# {
|
@@ -683,6 +704,8 @@ module Aws::EMRContainers
|
|
683
704
|
# resp.endpoint.release_label #=> String
|
684
705
|
# resp.endpoint.execution_role_arn #=> String
|
685
706
|
# resp.endpoint.certificate_arn #=> String
|
707
|
+
# resp.endpoint.certificate_authority.certificate_arn #=> String
|
708
|
+
# resp.endpoint.certificate_authority.certificate_data #=> String
|
686
709
|
# resp.endpoint.configuration_overrides.application_configuration #=> Array
|
687
710
|
# resp.endpoint.configuration_overrides.application_configuration[0].classification #=> String
|
688
711
|
# resp.endpoint.configuration_overrides.application_configuration[0].properties #=> Hash
|
@@ -896,6 +919,8 @@ module Aws::EMRContainers
|
|
896
919
|
# resp.endpoints[0].release_label #=> String
|
897
920
|
# resp.endpoints[0].execution_role_arn #=> String
|
898
921
|
# resp.endpoints[0].certificate_arn #=> String
|
922
|
+
# resp.endpoints[0].certificate_authority.certificate_arn #=> String
|
923
|
+
# resp.endpoints[0].certificate_authority.certificate_data #=> String
|
899
924
|
# resp.endpoints[0].configuration_overrides.application_configuration #=> Array
|
900
925
|
# resp.endpoints[0].configuration_overrides.application_configuration[0].classification #=> String
|
901
926
|
# resp.endpoints[0].configuration_overrides.application_configuration[0].properties #=> Hash
|
@@ -1200,7 +1225,7 @@ module Aws::EMRContainers
|
|
1200
1225
|
params: params,
|
1201
1226
|
config: config)
|
1202
1227
|
context[:gem_name] = 'aws-sdk-emrcontainers'
|
1203
|
-
context[:gem_version] = '1.
|
1228
|
+
context[:gem_version] = '1.12.0'
|
1204
1229
|
Seahorse::Client::Request.new(handlers, context)
|
1205
1230
|
end
|
1206
1231
|
|
@@ -14,8 +14,10 @@ module Aws::EMRContainers
|
|
14
14
|
include Seahorse::Model
|
15
15
|
|
16
16
|
ACMCertArn = Shapes::StringShape.new(name: 'ACMCertArn')
|
17
|
+
Base64Encoded = Shapes::StringShape.new(name: 'Base64Encoded')
|
17
18
|
CancelJobRunRequest = Shapes::StructureShape.new(name: 'CancelJobRunRequest')
|
18
19
|
CancelJobRunResponse = Shapes::StructureShape.new(name: 'CancelJobRunResponse')
|
20
|
+
Certificate = Shapes::StructureShape.new(name: 'Certificate')
|
19
21
|
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
20
22
|
CloudWatchMonitoringConfiguration = Shapes::StructureShape.new(name: 'CloudWatchMonitoringConfiguration')
|
21
23
|
ClusterId = Shapes::StringShape.new(name: 'ClusterId')
|
@@ -113,6 +115,10 @@ module Aws::EMRContainers
|
|
113
115
|
CancelJobRunResponse.add_member(:virtual_cluster_id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "virtualClusterId"))
|
114
116
|
CancelJobRunResponse.struct_class = Types::CancelJobRunResponse
|
115
117
|
|
118
|
+
Certificate.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: ACMCertArn, location_name: "certificateArn"))
|
119
|
+
Certificate.add_member(:certificate_data, Shapes::ShapeRef.new(shape: Base64Encoded, location_name: "certificateData"))
|
120
|
+
Certificate.struct_class = Types::Certificate
|
121
|
+
|
116
122
|
CloudWatchMonitoringConfiguration.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, required: true, location_name: "logGroupName"))
|
117
123
|
CloudWatchMonitoringConfiguration.add_member(:log_stream_name_prefix, Shapes::ShapeRef.new(shape: String256, location_name: "logStreamNamePrefix"))
|
118
124
|
CloudWatchMonitoringConfiguration.struct_class = Types::CloudWatchMonitoringConfiguration
|
@@ -144,7 +150,7 @@ module Aws::EMRContainers
|
|
144
150
|
CreateManagedEndpointRequest.add_member(:type, Shapes::ShapeRef.new(shape: EndpointType, required: true, location_name: "type"))
|
145
151
|
CreateManagedEndpointRequest.add_member(:release_label, Shapes::ShapeRef.new(shape: ReleaseLabel, required: true, location_name: "releaseLabel"))
|
146
152
|
CreateManagedEndpointRequest.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, required: true, location_name: "executionRoleArn"))
|
147
|
-
CreateManagedEndpointRequest.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: ACMCertArn,
|
153
|
+
CreateManagedEndpointRequest.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: ACMCertArn, deprecated: true, location_name: "certificateArn", metadata: {"deprecatedMessage"=>"Customer provided certificate-arn is deprecated and would be removed in future."}))
|
148
154
|
CreateManagedEndpointRequest.add_member(:configuration_overrides, Shapes::ShapeRef.new(shape: ConfigurationOverrides, location_name: "configurationOverrides"))
|
149
155
|
CreateManagedEndpointRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
150
156
|
CreateManagedEndpointRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
@@ -212,7 +218,8 @@ module Aws::EMRContainers
|
|
212
218
|
Endpoint.add_member(:state, Shapes::ShapeRef.new(shape: EndpointState, location_name: "state"))
|
213
219
|
Endpoint.add_member(:release_label, Shapes::ShapeRef.new(shape: ReleaseLabel, location_name: "releaseLabel"))
|
214
220
|
Endpoint.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, location_name: "executionRoleArn"))
|
215
|
-
Endpoint.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: ACMCertArn, location_name: "certificateArn"))
|
221
|
+
Endpoint.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: ACMCertArn, deprecated: true, location_name: "certificateArn", metadata: {"deprecatedMessage"=>"Customer provided certificate-arn is deprecated and would be removed in future."}))
|
222
|
+
Endpoint.add_member(:certificate_authority, Shapes::ShapeRef.new(shape: Certificate, location_name: "certificateAuthority"))
|
216
223
|
Endpoint.add_member(:configuration_overrides, Shapes::ShapeRef.new(shape: ConfigurationOverrides, location_name: "configurationOverrides"))
|
217
224
|
Endpoint.add_member(:server_url, Shapes::ShapeRef.new(shape: UriString, location_name: "serverUrl"))
|
218
225
|
Endpoint.add_member(:created_at, Shapes::ShapeRef.new(shape: Date, location_name: "createdAt"))
|
@@ -54,6 +54,27 @@ module Aws::EMRContainers
|
|
54
54
|
include Aws::Structure
|
55
55
|
end
|
56
56
|
|
57
|
+
# The entity representing certificate data generated for managed
|
58
|
+
# endpoint.
|
59
|
+
#
|
60
|
+
# @!attribute [rw] certificate_arn
|
61
|
+
# The ARN of the certificate generated for managed endpoint.
|
62
|
+
# @return [String]
|
63
|
+
#
|
64
|
+
# @!attribute [rw] certificate_data
|
65
|
+
# The base64 encoded PEM certificate data generated for managed
|
66
|
+
# endpoint.
|
67
|
+
# @return [String]
|
68
|
+
#
|
69
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/Certificate AWS API Documentation
|
70
|
+
#
|
71
|
+
class Certificate < Struct.new(
|
72
|
+
:certificate_arn,
|
73
|
+
:certificate_data)
|
74
|
+
SENSITIVE = []
|
75
|
+
include Aws::Structure
|
76
|
+
end
|
77
|
+
|
57
78
|
# A configuration for CloudWatch monitoring. You can configure your jobs
|
58
79
|
# to send log information to CloudWatch Logs.
|
59
80
|
#
|
@@ -251,7 +272,7 @@ module Aws::EMRContainers
|
|
251
272
|
# type: "EndpointType", # required
|
252
273
|
# release_label: "ReleaseLabel", # required
|
253
274
|
# execution_role_arn: "IAMRoleArn", # required
|
254
|
-
# certificate_arn: "ACMCertArn",
|
275
|
+
# certificate_arn: "ACMCertArn",
|
255
276
|
# configuration_overrides: {
|
256
277
|
# application_configuration: [
|
257
278
|
# {
|
@@ -303,7 +324,8 @@ module Aws::EMRContainers
|
|
303
324
|
# @return [String]
|
304
325
|
#
|
305
326
|
# @!attribute [rw] certificate_arn
|
306
|
-
# The certificate ARN
|
327
|
+
# The certificate ARN provided by users for the managed endpoint. This
|
328
|
+
# fiedd is under deprecation and will be removed in future releases.
|
307
329
|
# @return [String]
|
308
330
|
#
|
309
331
|
# @!attribute [rw] configuration_overrides
|
@@ -674,9 +696,15 @@ module Aws::EMRContainers
|
|
674
696
|
# @return [String]
|
675
697
|
#
|
676
698
|
# @!attribute [rw] certificate_arn
|
677
|
-
# The certificate ARN of the endpoint.
|
699
|
+
# The certificate ARN of the endpoint. This field is under deprecation
|
700
|
+
# and will be removed in future.
|
678
701
|
# @return [String]
|
679
702
|
#
|
703
|
+
# @!attribute [rw] certificate_authority
|
704
|
+
# The certificate generated by emr control plane on customer behalf to
|
705
|
+
# secure the managed endpoint.
|
706
|
+
# @return [Types::Certificate]
|
707
|
+
#
|
680
708
|
# @!attribute [rw] configuration_overrides
|
681
709
|
# The configuration settings that are used to override existing
|
682
710
|
# configurations for endpoints.
|
@@ -722,6 +750,7 @@ module Aws::EMRContainers
|
|
722
750
|
:release_label,
|
723
751
|
:execution_role_arn,
|
724
752
|
:certificate_arn,
|
753
|
+
:certificate_authority,
|
725
754
|
:configuration_overrides,
|
726
755
|
:server_url,
|
727
756
|
:created_at,
|
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.12.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: 2021-
|
11
|
+
date: 2021-12-21 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.125.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.125.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|