aws-sdk-ec2instanceconnect 1.37.0 → 1.39.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: f905af5ae899baed0bea4e5f6adc8fae878091673680446dbdbf556b242ffe93
4
- data.tar.gz: 6b71bdc77df2c02459e2490089e83182ae5fd01902af04e69a95e375e821f3bc
3
+ metadata.gz: ffa99b2c86c5537990b93a2cba77ce09b89732c6daa2b8de5370f2868a799b9c
4
+ data.tar.gz: 0ae5cb073c3fcb954efa1a49651bcb26e98cdef1c0cea53ad682c29504720c5e
5
5
  SHA512:
6
- metadata.gz: c35381707731cefa91c32c2729c913f9c2711391c8369c6bdde1276700184342d0bbe11291cd8a28e7e56f414e49fa5746d9550dbcedb77358d2bf207f996c5b
7
- data.tar.gz: 202cc21d3182fd204dee217bc2e4cbdf95bfad297a82915994227031edc0941192ab22fb7046406f3befc2881b01570a96cc0940383383c0e501b65cc5063fcc
6
+ metadata.gz: 7a1627d0a2f98115254d49b6189e31559cf4e591c3e7fc33f2a2a8b5b8c6cf20c214f84701f466cfcccdd9a3a733ead30b53149e84d52dbee7139b1c75b8f54b
7
+ data.tar.gz: a026b48dbd7e390bc41785b5961effde4f6535dcd32ad8eea198e08767c7dc9051d8b8f8d15021905973a4a971b5b31b32571dc88b660895b630c50221636fb0
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.39.0 (2024-04-25)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.38.0 (2024-03-14)
10
+ ------------------
11
+
12
+ * Feature - This release includes a new exception type "SerialConsoleSessionUnsupportedException" for SendSerialConsoleSSHPublicKey API.
13
+
4
14
  1.37.0 (2024-01-26)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.37.0
1
+ 1.39.0
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
22
22
  require 'aws-sdk-core/plugins/response_paging.rb'
23
23
  require 'aws-sdk-core/plugins/stub_responses.rb'
24
24
  require 'aws-sdk-core/plugins/idempotency_token.rb'
25
+ require 'aws-sdk-core/plugins/invocation_id.rb'
25
26
  require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
26
27
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
28
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
@@ -72,6 +73,7 @@ module Aws::EC2InstanceConnect
72
73
  add_plugin(Aws::Plugins::ResponsePaging)
73
74
  add_plugin(Aws::Plugins::StubResponses)
74
75
  add_plugin(Aws::Plugins::IdempotencyToken)
76
+ add_plugin(Aws::Plugins::InvocationId)
75
77
  add_plugin(Aws::Plugins::JsonvalueConverter)
76
78
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
77
79
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
@@ -196,10 +198,17 @@ module Aws::EC2InstanceConnect
196
198
  # When set to 'true' the request body will not be compressed
197
199
  # for supported operations.
198
200
  #
199
- # @option options [String] :endpoint
200
- # The client endpoint is normally constructed from the `:region`
201
- # option. You should only configure an `:endpoint` when connecting
202
- # to test or custom endpoints. This should be a valid HTTP(S) URI.
201
+ # @option options [String, URI::HTTPS, URI::HTTP] :endpoint
202
+ # Normally you should not configure the `:endpoint` option
203
+ # directly. This is normally constructed from the `:region`
204
+ # option. Configuring `:endpoint` is normally reserved for
205
+ # connecting to test or custom endpoints. The endpoint should
206
+ # be a URI formatted like:
207
+ #
208
+ # 'http://example.com'
209
+ # 'https://example.com'
210
+ # 'http://example.com:123'
211
+ #
203
212
  #
204
213
  # @option options [Integer] :endpoint_cache_max_entries (1000)
205
214
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -347,50 +356,65 @@ module Aws::EC2InstanceConnect
347
356
  # @option options [Aws::EC2InstanceConnect::EndpointProvider] :endpoint_provider
348
357
  # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::EC2InstanceConnect::EndpointParameters`
349
358
  #
350
- # @option options [URI::HTTP,String] :http_proxy A proxy to send
351
- # requests through. Formatted like 'http://proxy.com:123'.
352
- #
353
- # @option options [Float] :http_open_timeout (15) The number of
354
- # seconds to wait when opening a HTTP session before raising a
355
- # `Timeout::Error`.
356
- #
357
- # @option options [Float] :http_read_timeout (60) The default
358
- # number of seconds to wait for response data. This value can
359
- # safely be set per-request on the session.
360
- #
361
- # @option options [Float] :http_idle_timeout (5) The number of
362
- # seconds a connection is allowed to sit idle before it is
363
- # considered stale. Stale connections are closed and removed
364
- # from the pool before making a request.
365
- #
366
- # @option options [Float] :http_continue_timeout (1) The number of
367
- # seconds to wait for a 100-continue response before sending the
368
- # request body. This option has no effect unless the request has
369
- # "Expect" header set to "100-continue". Defaults to `nil` which
370
- # disables this behaviour. This value can safely be set per
371
- # request on the session.
372
- #
373
- # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
374
- # in seconds.
359
+ # @option options [Float] :http_continue_timeout (1)
360
+ # The number of seconds to wait for a 100-continue response before sending the
361
+ # request body. This option has no effect unless the request has "Expect"
362
+ # header set to "100-continue". Defaults to `nil` which disables this
363
+ # behaviour. This value can safely be set per request on the session.
364
+ #
365
+ # @option options [Float] :http_idle_timeout (5)
366
+ # The number of seconds a connection is allowed to sit idle before it
367
+ # is considered stale. Stale connections are closed and removed from the
368
+ # pool before making a request.
369
+ #
370
+ # @option options [Float] :http_open_timeout (15)
371
+ # The default number of seconds to wait for response data.
372
+ # This value can safely be set per-request on the session.
373
+ #
374
+ # @option options [URI::HTTP,String] :http_proxy
375
+ # A proxy to send requests through. Formatted like 'http://proxy.com:123'.
376
+ #
377
+ # @option options [Float] :http_read_timeout (60)
378
+ # The default number of seconds to wait for response data.
379
+ # This value can safely be set per-request on the session.
380
+ #
381
+ # @option options [Boolean] :http_wire_trace (false)
382
+ # When `true`, HTTP debug output will be sent to the `:logger`.
383
+ #
384
+ # @option options [Proc] :on_chunk_received
385
+ # When a Proc object is provided, it will be used as callback when each chunk
386
+ # of the response body is received. It provides three arguments: the chunk,
387
+ # the number of bytes received, and the total number of
388
+ # bytes in the response (or nil if the server did not send a `content-length`).
389
+ #
390
+ # @option options [Proc] :on_chunk_sent
391
+ # When a Proc object is provided, it will be used as callback when each chunk
392
+ # of the request body is sent. It provides three arguments: the chunk,
393
+ # the number of bytes read from the body, and the total number of
394
+ # bytes in the body.
395
+ #
396
+ # @option options [Boolean] :raise_response_errors (true)
397
+ # When `true`, response errors are raised.
398
+ #
399
+ # @option options [String] :ssl_ca_bundle
400
+ # Full path to the SSL certificate authority bundle file that should be used when
401
+ # verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
402
+ # `:ssl_ca_directory` the the system default will be used if available.
403
+ #
404
+ # @option options [String] :ssl_ca_directory
405
+ # Full path of the directory that contains the unbundled SSL certificate
406
+ # authority files for verifying peer certificates. If you do
407
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
408
+ # default will be used if available.
375
409
  #
376
- # @option options [Boolean] :http_wire_trace (false) When `true`,
377
- # HTTP debug output will be sent to the `:logger`.
410
+ # @option options [String] :ssl_ca_store
411
+ # Sets the X509::Store to verify peer certificate.
378
412
  #
379
- # @option options [Boolean] :ssl_verify_peer (true) When `true`,
380
- # SSL peer certificates are verified when establishing a
381
- # connection.
413
+ # @option options [Float] :ssl_timeout
414
+ # Sets the SSL timeout in seconds
382
415
  #
383
- # @option options [String] :ssl_ca_bundle Full path to the SSL
384
- # certificate authority bundle file that should be used when
385
- # verifying peer certificates. If you do not pass
386
- # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
387
- # will be used if available.
388
- #
389
- # @option options [String] :ssl_ca_directory Full path of the
390
- # directory that contains the unbundled SSL certificate
391
- # authority files for verifying peer certificates. If you do
392
- # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
393
- # system default will be used if available.
416
+ # @option options [Boolean] :ssl_verify_peer (true)
417
+ # When `true`, SSL peer certificates are verified when establishing a connection.
394
418
  #
395
419
  def initialize(*args)
396
420
  super
@@ -537,7 +561,7 @@ module Aws::EC2InstanceConnect
537
561
  params: params,
538
562
  config: config)
539
563
  context[:gem_name] = 'aws-sdk-ec2instanceconnect'
540
- context[:gem_version] = '1.37.0'
564
+ context[:gem_version] = '1.39.0'
541
565
  Seahorse::Client::Request.new(handlers, context)
542
566
  end
543
567
 
@@ -31,6 +31,7 @@ module Aws::EC2InstanceConnect
31
31
  SerialConsoleAccessDisabledException = Shapes::StructureShape.new(name: 'SerialConsoleAccessDisabledException')
32
32
  SerialConsoleSessionLimitExceededException = Shapes::StructureShape.new(name: 'SerialConsoleSessionLimitExceededException')
33
33
  SerialConsoleSessionUnavailableException = Shapes::StructureShape.new(name: 'SerialConsoleSessionUnavailableException')
34
+ SerialConsoleSessionUnsupportedException = Shapes::StructureShape.new(name: 'SerialConsoleSessionUnsupportedException')
34
35
  SerialPort = Shapes::IntegerShape.new(name: 'SerialPort')
35
36
  ServiceException = Shapes::StructureShape.new(name: 'ServiceException')
36
37
  String = Shapes::StringShape.new(name: 'String')
@@ -83,6 +84,9 @@ module Aws::EC2InstanceConnect
83
84
  SerialConsoleSessionUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
84
85
  SerialConsoleSessionUnavailableException.struct_class = Types::SerialConsoleSessionUnavailableException
85
86
 
87
+ SerialConsoleSessionUnsupportedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
88
+ SerialConsoleSessionUnsupportedException.struct_class = Types::SerialConsoleSessionUnsupportedException
89
+
86
90
  ServiceException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
87
91
  ServiceException.struct_class = Types::ServiceException
88
92
 
@@ -140,6 +144,7 @@ module Aws::EC2InstanceConnect
140
144
  o.errors << Shapes::ShapeRef.new(shape: SerialConsoleSessionUnavailableException)
141
145
  o.errors << Shapes::ShapeRef.new(shape: EC2InstanceStateInvalidException)
142
146
  o.errors << Shapes::ShapeRef.new(shape: EC2InstanceUnavailableException)
147
+ o.errors << Shapes::ShapeRef.new(shape: SerialConsoleSessionUnsupportedException)
143
148
  end)
144
149
  end
145
150
 
@@ -32,7 +32,7 @@ module Aws::EC2InstanceConnect
32
32
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
33
  end
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
36
  return Aws::Endpoints::Endpoint.new(url: "https://ec2-instance-connect-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
37
  end
38
38
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
@@ -36,6 +36,7 @@ module Aws::EC2InstanceConnect
36
36
  # * {SerialConsoleAccessDisabledException}
37
37
  # * {SerialConsoleSessionLimitExceededException}
38
38
  # * {SerialConsoleSessionUnavailableException}
39
+ # * {SerialConsoleSessionUnsupportedException}
39
40
  # * {ServiceException}
40
41
  # * {ThrottlingException}
41
42
  #
@@ -180,6 +181,21 @@ module Aws::EC2InstanceConnect
180
181
  end
181
182
  end
182
183
 
184
+ class SerialConsoleSessionUnsupportedException < ServiceError
185
+
186
+ # @param [Seahorse::Client::RequestContext] context
187
+ # @param [String] message
188
+ # @param [Aws::EC2InstanceConnect::Types::SerialConsoleSessionUnsupportedException] data
189
+ def initialize(context, message, data = Aws::EmptyStructure.new)
190
+ super(context, message, data)
191
+ end
192
+
193
+ # @return [String]
194
+ def message
195
+ @message || @data[:message]
196
+ end
197
+ end
198
+
183
199
  class ServiceException < ServiceError
184
200
 
185
201
  # @param [Seahorse::Client::RequestContext] context
@@ -238,6 +238,21 @@ module Aws::EC2InstanceConnect
238
238
  include Aws::Structure
239
239
  end
240
240
 
241
+ # Your instance's BIOS version is unsupported for serial console
242
+ # connection. Reboot your instance to update its BIOS, and then try
243
+ # again to connect.
244
+ #
245
+ # @!attribute [rw] message
246
+ # @return [String]
247
+ #
248
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-instance-connect-2018-04-02/SerialConsoleSessionUnsupportedException AWS API Documentation
249
+ #
250
+ class SerialConsoleSessionUnsupportedException < Struct.new(
251
+ :message)
252
+ SENSITIVE = []
253
+ include Aws::Structure
254
+ end
255
+
241
256
  # The service encountered an error. Follow the instructions in the error
242
257
  # message and try again.
243
258
  #
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-ec2instanceconnect/customizations'
52
52
  # @!group service
53
53
  module Aws::EC2InstanceConnect
54
54
 
55
- GEM_VERSION = '1.37.0'
55
+ GEM_VERSION = '1.39.0'
56
56
 
57
57
  end
data/sig/errors.rbs CHANGED
@@ -38,6 +38,9 @@ module Aws
38
38
  class SerialConsoleSessionUnavailableException < ::Aws::Errors::ServiceError
39
39
  def message: () -> ::String
40
40
  end
41
+ class SerialConsoleSessionUnsupportedException < ::Aws::Errors::ServiceError
42
+ def message: () -> ::String
43
+ end
41
44
  class ServiceException < ::Aws::Errors::ServiceError
42
45
  def message: () -> ::String
43
46
  end
data/sig/types.rbs CHANGED
@@ -80,6 +80,11 @@ module Aws::EC2InstanceConnect
80
80
  SENSITIVE: []
81
81
  end
82
82
 
83
+ class SerialConsoleSessionUnsupportedException
84
+ attr_accessor message: ::String
85
+ SENSITIVE: []
86
+ end
87
+
83
88
  class ServiceException
84
89
  attr_accessor message: ::String
85
90
  SENSITIVE: []
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ec2instanceconnect
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.37.0
4
+ version: 1.39.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-01-26 00:00:00.000000000 Z
11
+ date: 2024-04-25 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.191.0
22
+ version: 3.193.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.191.0
32
+ version: 3.193.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement