aws-sdk-ec2instanceconnect 1.37.0 → 1.38.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: f905af5ae899baed0bea4e5f6adc8fae878091673680446dbdbf556b242ffe93
4
- data.tar.gz: 6b71bdc77df2c02459e2490089e83182ae5fd01902af04e69a95e375e821f3bc
3
+ metadata.gz: 8ab3327cc774bf42737565294ee49c8944ee8966475c2b31648893e5e3566609
4
+ data.tar.gz: 7f594a0b3d57126ae66922efbc608ec9663de7b4beeae890e573baf2c801a9c9
5
5
  SHA512:
6
- metadata.gz: c35381707731cefa91c32c2729c913f9c2711391c8369c6bdde1276700184342d0bbe11291cd8a28e7e56f414e49fa5746d9550dbcedb77358d2bf207f996c5b
7
- data.tar.gz: 202cc21d3182fd204dee217bc2e4cbdf95bfad297a82915994227031edc0941192ab22fb7046406f3befc2881b01570a96cc0940383383c0e501b65cc5063fcc
6
+ metadata.gz: 2c2d67d93362d1e37052849d93009f71f34d1d45d110c6a46674199e0f98cd22e72fa4e1a08b798727222e26764b1b59e9d81b24c6582bc6cbe48690f59a46e9
7
+ data.tar.gz: afcc44a902d6b50d0b58e6eeb39f74308b7cc46a47957cff8073a134cc552ef72d803abd47dd00d3c9758c7e5528ac69f4739b2f536d1d927168147274ce6656
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.38.0 (2024-03-14)
5
+ ------------------
6
+
7
+ * Feature - This release includes a new exception type "SerialConsoleSessionUnsupportedException" for SendSerialConsoleSSHPublicKey API.
8
+
4
9
  1.37.0 (2024-01-26)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.37.0
1
+ 1.38.0
@@ -537,7 +537,7 @@ module Aws::EC2InstanceConnect
537
537
  params: params,
538
538
  config: config)
539
539
  context[:gem_name] = 'aws-sdk-ec2instanceconnect'
540
- context[:gem_version] = '1.37.0'
540
+ context[:gem_version] = '1.38.0'
541
541
  Seahorse::Client::Request.new(handlers, context)
542
542
  end
543
543
 
@@ -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.38.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.38.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-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core