aws-sdk-ec2instanceconnect 1.13.0 → 1.14.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: 75ec34932641b6ae948770b9e19e07ce0a2b3a18aac1b73788aa43f091425e58
4
- data.tar.gz: 5cfa98935cefa82a6b835398d546425a8eff9c32ae84b7d126a2a99da155669a
3
+ metadata.gz: 9c1f994790bb60b9f81957e857c7547c4a540a28b7d4033aebc8968c7be961f3
4
+ data.tar.gz: 3bebc759a74c6b8eb10cc8b09adc2d259f29f557239913bfca95af0cf020b36d
5
5
  SHA512:
6
- metadata.gz: a2e720107f43140613dc5cf86d5c641eb8c5fd4a95e0fdd35efb57e09ec510fdbfeb72ef9e106cfb6ec8ef70eee20fbce7436978324c26327604f5782890e0ac
7
- data.tar.gz: e7fab419fe5d99d4462200526129c2bf43e6ffd0fcd73f85bbfcdcb396a6ab317cd497049d9c09948f849d6ea009e53ab200c55e7f7a930a23fb4d8f9de54cdb
6
+ metadata.gz: 59b7aa82d7a1d3a99089619ea807686288e05ed869d38c0142a1a4f99188f821263054a75e4cfd4a5a2bb1190b34102dfffdc7b5e5436c3ffe6bd4e1b3526e05
7
+ data.tar.gz: 0bed23d52a8a5a51fcf860c90824b92b953667f5fe9c6c82b56b2114ccbe953b1482b65c86ae0f2405b9cebbe1bb416f1f206e377ee843efdc7d247f16390d18
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.14.0 (2021-03-30)
5
+ ------------------
6
+
7
+ * Feature - Adding support to push SSH keys to the EC2 serial console in order to allow an SSH connection to your Amazon EC2 instance's serial port.
8
+
4
9
  1.13.0 (2021-03-10)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.13.0
1
+ 1.14.0
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-ec2instanceconnect/customizations'
48
48
  # @!group service
49
49
  module Aws::EC2InstanceConnect
50
50
 
51
- GEM_VERSION = '1.13.0'
51
+ GEM_VERSION = '1.14.0'
52
52
 
53
53
  end
@@ -337,22 +337,28 @@ module Aws::EC2InstanceConnect
337
337
 
338
338
  # @!group API Operations
339
339
 
340
- # Pushes an SSH public key to a particular OS user on a given EC2
341
- # instance for 60 seconds.
340
+ # Pushes an SSH public key to the specified EC2 instance for use by the
341
+ # specified user. The key remains for 60 seconds. For more information,
342
+ # see [Connect to your Linux instance using EC2 Instance Connect][1] in
343
+ # the *Amazon EC2 User Guide*.
344
+ #
345
+ #
346
+ #
347
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Connect-using-EC2-Instance-Connect.html
342
348
  #
343
349
  # @option params [required, String] :instance_id
344
- # The EC2 instance you wish to publish the SSH key to.
350
+ # The ID of the EC2 instance.
345
351
  #
346
352
  # @option params [required, String] :instance_os_user
347
- # The OS user on the EC2 instance whom the key may be used to
348
- # authenticate as.
353
+ # The OS user on the EC2 instance for whom the key can be used to
354
+ # authenticate.
349
355
  #
350
356
  # @option params [required, String] :ssh_public_key
351
- # The public key to be published to the instance. To use it after
352
- # publication you must have the matching private key.
357
+ # The public key material. To use the public key, you must have the
358
+ # matching private key.
353
359
  #
354
360
  # @option params [required, String] :availability_zone
355
- # The availability zone the EC2 instance was launched in.
361
+ # The Availability Zone in which the EC2 instance was launched.
356
362
  #
357
363
  # @return [Types::SendSSHPublicKeyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
358
364
  #
@@ -401,6 +407,62 @@ module Aws::EC2InstanceConnect
401
407
  req.send_request(options)
402
408
  end
403
409
 
410
+ # Pushes an SSH public key to the specified EC2 instance. The key
411
+ # remains for 60 seconds, which gives you 60 seconds to establish a
412
+ # serial console connection to the instance using SSH. For more
413
+ # information, see [EC2 Serial Console][1] in the *Amazon EC2 User
414
+ # Guide*.
415
+ #
416
+ #
417
+ #
418
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-serial-console.html
419
+ #
420
+ # @option params [required, String] :instance_id
421
+ # The ID of the EC2 instance.
422
+ #
423
+ # @option params [Integer] :serial_port
424
+ # The serial port of the EC2 instance. Currently only port 0 is
425
+ # supported.
426
+ #
427
+ # Default: 0
428
+ #
429
+ # @option params [required, String] :ssh_public_key
430
+ # The public key material. To use the public key, you must have the
431
+ # matching private key. For information about the supported key formats
432
+ # and lengths, see [Requirements for key pairs][1] in the *Amazon EC2
433
+ # User Guide*.
434
+ #
435
+ #
436
+ #
437
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html#how-to-generate-your-own-key-and-import-it-to-aws
438
+ #
439
+ # @return [Types::SendSerialConsoleSSHPublicKeyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
440
+ #
441
+ # * {Types::SendSerialConsoleSSHPublicKeyResponse#request_id #request_id} => String
442
+ # * {Types::SendSerialConsoleSSHPublicKeyResponse#success #success} => Boolean
443
+ #
444
+ # @example Request syntax with placeholder values
445
+ #
446
+ # resp = client.send_serial_console_ssh_public_key({
447
+ # instance_id: "InstanceId", # required
448
+ # serial_port: 1,
449
+ # ssh_public_key: "SSHPublicKey", # required
450
+ # })
451
+ #
452
+ # @example Response structure
453
+ #
454
+ # resp.request_id #=> String
455
+ # resp.success #=> Boolean
456
+ #
457
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-instance-connect-2018-04-02/SendSerialConsoleSSHPublicKey AWS API Documentation
458
+ #
459
+ # @overload send_serial_console_ssh_public_key(params = {})
460
+ # @param [Hash] params ({})
461
+ def send_serial_console_ssh_public_key(params = {}, options = {})
462
+ req = build_request(:send_serial_console_ssh_public_key, params)
463
+ req.send_request(options)
464
+ end
465
+
404
466
  # @!endgroup
405
467
 
406
468
  # @param params ({})
@@ -414,7 +476,7 @@ module Aws::EC2InstanceConnect
414
476
  params: params,
415
477
  config: config)
416
478
  context[:gem_name] = 'aws-sdk-ec2instanceconnect'
417
- context[:gem_version] = '1.13.0'
479
+ context[:gem_version] = '1.14.0'
418
480
  Seahorse::Client::Request.new(handlers, context)
419
481
  end
420
482
 
@@ -16,6 +16,7 @@ module Aws::EC2InstanceConnect
16
16
  AuthException = Shapes::StructureShape.new(name: 'AuthException')
17
17
  AvailabilityZone = Shapes::StringShape.new(name: 'AvailabilityZone')
18
18
  EC2InstanceNotFoundException = Shapes::StructureShape.new(name: 'EC2InstanceNotFoundException')
19
+ EC2InstanceTypeInvalidException = Shapes::StructureShape.new(name: 'EC2InstanceTypeInvalidException')
19
20
  InstanceId = Shapes::StringShape.new(name: 'InstanceId')
20
21
  InstanceOSUser = Shapes::StringShape.new(name: 'InstanceOSUser')
21
22
  InvalidArgsException = Shapes::StructureShape.new(name: 'InvalidArgsException')
@@ -23,6 +24,12 @@ module Aws::EC2InstanceConnect
23
24
  SSHPublicKey = Shapes::StringShape.new(name: 'SSHPublicKey')
24
25
  SendSSHPublicKeyRequest = Shapes::StructureShape.new(name: 'SendSSHPublicKeyRequest')
25
26
  SendSSHPublicKeyResponse = Shapes::StructureShape.new(name: 'SendSSHPublicKeyResponse')
27
+ SendSerialConsoleSSHPublicKeyRequest = Shapes::StructureShape.new(name: 'SendSerialConsoleSSHPublicKeyRequest')
28
+ SendSerialConsoleSSHPublicKeyResponse = Shapes::StructureShape.new(name: 'SendSerialConsoleSSHPublicKeyResponse')
29
+ SerialConsoleAccessDisabledException = Shapes::StructureShape.new(name: 'SerialConsoleAccessDisabledException')
30
+ SerialConsoleSessionLimitExceededException = Shapes::StructureShape.new(name: 'SerialConsoleSessionLimitExceededException')
31
+ SerialConsoleSessionUnavailableException = Shapes::StructureShape.new(name: 'SerialConsoleSessionUnavailableException')
32
+ SerialPort = Shapes::IntegerShape.new(name: 'SerialPort')
26
33
  ServiceException = Shapes::StructureShape.new(name: 'ServiceException')
27
34
  String = Shapes::StringShape.new(name: 'String')
28
35
  Success = Shapes::BooleanShape.new(name: 'Success')
@@ -34,6 +41,9 @@ module Aws::EC2InstanceConnect
34
41
  EC2InstanceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
35
42
  EC2InstanceNotFoundException.struct_class = Types::EC2InstanceNotFoundException
36
43
 
44
+ EC2InstanceTypeInvalidException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
45
+ EC2InstanceTypeInvalidException.struct_class = Types::EC2InstanceTypeInvalidException
46
+
37
47
  InvalidArgsException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
38
48
  InvalidArgsException.struct_class = Types::InvalidArgsException
39
49
 
@@ -47,6 +57,24 @@ module Aws::EC2InstanceConnect
47
57
  SendSSHPublicKeyResponse.add_member(:success, Shapes::ShapeRef.new(shape: Success, location_name: "Success"))
48
58
  SendSSHPublicKeyResponse.struct_class = Types::SendSSHPublicKeyResponse
49
59
 
60
+ SendSerialConsoleSSHPublicKeyRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
61
+ SendSerialConsoleSSHPublicKeyRequest.add_member(:serial_port, Shapes::ShapeRef.new(shape: SerialPort, location_name: "SerialPort"))
62
+ SendSerialConsoleSSHPublicKeyRequest.add_member(:ssh_public_key, Shapes::ShapeRef.new(shape: SSHPublicKey, required: true, location_name: "SSHPublicKey"))
63
+ SendSerialConsoleSSHPublicKeyRequest.struct_class = Types::SendSerialConsoleSSHPublicKeyRequest
64
+
65
+ SendSerialConsoleSSHPublicKeyResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
66
+ SendSerialConsoleSSHPublicKeyResponse.add_member(:success, Shapes::ShapeRef.new(shape: Success, location_name: "Success"))
67
+ SendSerialConsoleSSHPublicKeyResponse.struct_class = Types::SendSerialConsoleSSHPublicKeyResponse
68
+
69
+ SerialConsoleAccessDisabledException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
70
+ SerialConsoleAccessDisabledException.struct_class = Types::SerialConsoleAccessDisabledException
71
+
72
+ SerialConsoleSessionLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
73
+ SerialConsoleSessionLimitExceededException.struct_class = Types::SerialConsoleSessionLimitExceededException
74
+
75
+ SerialConsoleSessionUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
76
+ SerialConsoleSessionUnavailableException.struct_class = Types::SerialConsoleSessionUnavailableException
77
+
50
78
  ServiceException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
51
79
  ServiceException.struct_class = Types::ServiceException
52
80
 
@@ -84,6 +112,23 @@ module Aws::EC2InstanceConnect
84
112
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
85
113
  o.errors << Shapes::ShapeRef.new(shape: EC2InstanceNotFoundException)
86
114
  end)
115
+
116
+ api.add_operation(:send_serial_console_ssh_public_key, Seahorse::Model::Operation.new.tap do |o|
117
+ o.name = "SendSerialConsoleSSHPublicKey"
118
+ o.http_method = "POST"
119
+ o.http_request_uri = "/"
120
+ o.input = Shapes::ShapeRef.new(shape: SendSerialConsoleSSHPublicKeyRequest)
121
+ o.output = Shapes::ShapeRef.new(shape: SendSerialConsoleSSHPublicKeyResponse)
122
+ o.errors << Shapes::ShapeRef.new(shape: AuthException)
123
+ o.errors << Shapes::ShapeRef.new(shape: SerialConsoleAccessDisabledException)
124
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgsException)
125
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
126
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
127
+ o.errors << Shapes::ShapeRef.new(shape: EC2InstanceNotFoundException)
128
+ o.errors << Shapes::ShapeRef.new(shape: EC2InstanceTypeInvalidException)
129
+ o.errors << Shapes::ShapeRef.new(shape: SerialConsoleSessionLimitExceededException)
130
+ o.errors << Shapes::ShapeRef.new(shape: SerialConsoleSessionUnavailableException)
131
+ end)
87
132
  end
88
133
 
89
134
  end
@@ -29,7 +29,11 @@ module Aws::EC2InstanceConnect
29
29
  # ## Error Classes
30
30
  # * {AuthException}
31
31
  # * {EC2InstanceNotFoundException}
32
+ # * {EC2InstanceTypeInvalidException}
32
33
  # * {InvalidArgsException}
34
+ # * {SerialConsoleAccessDisabledException}
35
+ # * {SerialConsoleSessionLimitExceededException}
36
+ # * {SerialConsoleSessionUnavailableException}
33
37
  # * {ServiceException}
34
38
  # * {ThrottlingException}
35
39
  #
@@ -69,6 +73,21 @@ module Aws::EC2InstanceConnect
69
73
  end
70
74
  end
71
75
 
76
+ class EC2InstanceTypeInvalidException < ServiceError
77
+
78
+ # @param [Seahorse::Client::RequestContext] context
79
+ # @param [String] message
80
+ # @param [Aws::EC2InstanceConnect::Types::EC2InstanceTypeInvalidException] data
81
+ def initialize(context, message, data = Aws::EmptyStructure.new)
82
+ super(context, message, data)
83
+ end
84
+
85
+ # @return [String]
86
+ def message
87
+ @message || @data[:message]
88
+ end
89
+ end
90
+
72
91
  class InvalidArgsException < ServiceError
73
92
 
74
93
  # @param [Seahorse::Client::RequestContext] context
@@ -84,6 +103,51 @@ module Aws::EC2InstanceConnect
84
103
  end
85
104
  end
86
105
 
106
+ class SerialConsoleAccessDisabledException < ServiceError
107
+
108
+ # @param [Seahorse::Client::RequestContext] context
109
+ # @param [String] message
110
+ # @param [Aws::EC2InstanceConnect::Types::SerialConsoleAccessDisabledException] data
111
+ def initialize(context, message, data = Aws::EmptyStructure.new)
112
+ super(context, message, data)
113
+ end
114
+
115
+ # @return [String]
116
+ def message
117
+ @message || @data[:message]
118
+ end
119
+ end
120
+
121
+ class SerialConsoleSessionLimitExceededException < ServiceError
122
+
123
+ # @param [Seahorse::Client::RequestContext] context
124
+ # @param [String] message
125
+ # @param [Aws::EC2InstanceConnect::Types::SerialConsoleSessionLimitExceededException] data
126
+ def initialize(context, message, data = Aws::EmptyStructure.new)
127
+ super(context, message, data)
128
+ end
129
+
130
+ # @return [String]
131
+ def message
132
+ @message || @data[:message]
133
+ end
134
+ end
135
+
136
+ class SerialConsoleSessionUnavailableException < ServiceError
137
+
138
+ # @param [Seahorse::Client::RequestContext] context
139
+ # @param [String] message
140
+ # @param [Aws::EC2InstanceConnect::Types::SerialConsoleSessionUnavailableException] data
141
+ def initialize(context, message, data = Aws::EmptyStructure.new)
142
+ super(context, message, data)
143
+ end
144
+
145
+ # @return [String]
146
+ def message
147
+ @message || @data[:message]
148
+ end
149
+ end
150
+
87
151
  class ServiceException < ServiceError
88
152
 
89
153
  # @param [Seahorse::Client::RequestContext] context
@@ -10,8 +10,8 @@
10
10
  module Aws::EC2InstanceConnect
11
11
  module Types
12
12
 
13
- # Indicates that either your AWS credentials are invalid or you do not
14
- # have access to the EC2 instance.
13
+ # Either your AWS credentials are not valid or you do not have access to
14
+ # the EC2 instance.
15
15
  #
16
16
  # @!attribute [rw] message
17
17
  # @return [String]
@@ -24,8 +24,7 @@ module Aws::EC2InstanceConnect
24
24
  include Aws::Structure
25
25
  end
26
26
 
27
- # Indicates that the instance requested was not found in the given zone.
28
- # Check that you have provided a valid instance ID and the correct zone.
27
+ # The specified instance was not found.
29
28
  #
30
29
  # @!attribute [rw] message
31
30
  # @return [String]
@@ -38,8 +37,21 @@ module Aws::EC2InstanceConnect
38
37
  include Aws::Structure
39
38
  end
40
39
 
41
- # Indicates that you provided bad input. Ensure you have a valid
42
- # instance ID, the correct zone, and a valid SSH public key.
40
+ # The instance type is not supported for connecting via the serial
41
+ # console. Only Nitro instance types are currently supported.
42
+ #
43
+ # @!attribute [rw] message
44
+ # @return [String]
45
+ #
46
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-instance-connect-2018-04-02/EC2InstanceTypeInvalidException AWS API Documentation
47
+ #
48
+ class EC2InstanceTypeInvalidException < Struct.new(
49
+ :message)
50
+ SENSITIVE = []
51
+ include Aws::Structure
52
+ end
53
+
54
+ # One of the parameters is not valid.
43
55
  #
44
56
  # @!attribute [rw] message
45
57
  # @return [String]
@@ -63,21 +75,21 @@ module Aws::EC2InstanceConnect
63
75
  # }
64
76
  #
65
77
  # @!attribute [rw] instance_id
66
- # The EC2 instance you wish to publish the SSH key to.
78
+ # The ID of the EC2 instance.
67
79
  # @return [String]
68
80
  #
69
81
  # @!attribute [rw] instance_os_user
70
- # The OS user on the EC2 instance whom the key may be used to
71
- # authenticate as.
82
+ # The OS user on the EC2 instance for whom the key can be used to
83
+ # authenticate.
72
84
  # @return [String]
73
85
  #
74
86
  # @!attribute [rw] ssh_public_key
75
- # The public key to be published to the instance. To use it after
76
- # publication you must have the matching private key.
87
+ # The public key material. To use the public key, you must have the
88
+ # matching private key.
77
89
  # @return [String]
78
90
  #
79
91
  # @!attribute [rw] availability_zone
80
- # The availability zone the EC2 instance was launched in.
92
+ # The Availability Zone in which the EC2 instance was launched.
81
93
  # @return [String]
82
94
  #
83
95
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-instance-connect-2018-04-02/SendSSHPublicKeyRequest AWS API Documentation
@@ -92,12 +104,12 @@ module Aws::EC2InstanceConnect
92
104
  end
93
105
 
94
106
  # @!attribute [rw] request_id
95
- # The request ID as logged by EC2 Connect. Please provide this when
96
- # contacting AWS Support.
107
+ # The ID of the request. Please provide this ID when contacting AWS
108
+ # Support for assistance.
97
109
  # @return [String]
98
110
  #
99
111
  # @!attribute [rw] success
100
- # Indicates request success.
112
+ # Is true if the request succeeds and an error otherwise.
101
113
  # @return [Boolean]
102
114
  #
103
115
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-instance-connect-2018-04-02/SendSSHPublicKeyResponse AWS API Documentation
@@ -109,8 +121,114 @@ module Aws::EC2InstanceConnect
109
121
  include Aws::Structure
110
122
  end
111
123
 
112
- # Indicates that the service encountered an error. Follow the message's
113
- # instructions and try again.
124
+ # @note When making an API call, you may pass SendSerialConsoleSSHPublicKeyRequest
125
+ # data as a hash:
126
+ #
127
+ # {
128
+ # instance_id: "InstanceId", # required
129
+ # serial_port: 1,
130
+ # ssh_public_key: "SSHPublicKey", # required
131
+ # }
132
+ #
133
+ # @!attribute [rw] instance_id
134
+ # The ID of the EC2 instance.
135
+ # @return [String]
136
+ #
137
+ # @!attribute [rw] serial_port
138
+ # The serial port of the EC2 instance. Currently only port 0 is
139
+ # supported.
140
+ #
141
+ # Default: 0
142
+ # @return [Integer]
143
+ #
144
+ # @!attribute [rw] ssh_public_key
145
+ # The public key material. To use the public key, you must have the
146
+ # matching private key. For information about the supported key
147
+ # formats and lengths, see [Requirements for key pairs][1] in the
148
+ # *Amazon EC2 User Guide*.
149
+ #
150
+ #
151
+ #
152
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html#how-to-generate-your-own-key-and-import-it-to-aws
153
+ # @return [String]
154
+ #
155
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-instance-connect-2018-04-02/SendSerialConsoleSSHPublicKeyRequest AWS API Documentation
156
+ #
157
+ class SendSerialConsoleSSHPublicKeyRequest < Struct.new(
158
+ :instance_id,
159
+ :serial_port,
160
+ :ssh_public_key)
161
+ SENSITIVE = []
162
+ include Aws::Structure
163
+ end
164
+
165
+ # @!attribute [rw] request_id
166
+ # The ID of the request. Please provide this ID when contacting AWS
167
+ # Support for assistance.
168
+ # @return [String]
169
+ #
170
+ # @!attribute [rw] success
171
+ # Is true if the request succeeds and an error otherwise.
172
+ # @return [Boolean]
173
+ #
174
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-instance-connect-2018-04-02/SendSerialConsoleSSHPublicKeyResponse AWS API Documentation
175
+ #
176
+ class SendSerialConsoleSSHPublicKeyResponse < Struct.new(
177
+ :request_id,
178
+ :success)
179
+ SENSITIVE = []
180
+ include Aws::Structure
181
+ end
182
+
183
+ # Your account is not authorized to use the EC2 Serial Console. To
184
+ # authorize your account, run the EnableSerialConsoleAccess API. For
185
+ # more information, see [EnableSerialConsoleAccess][1] in the *Amazon
186
+ # EC2 API Reference*.
187
+ #
188
+ #
189
+ #
190
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_EnableSerialConsoleAccess.html
191
+ #
192
+ # @!attribute [rw] message
193
+ # @return [String]
194
+ #
195
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-instance-connect-2018-04-02/SerialConsoleAccessDisabledException AWS API Documentation
196
+ #
197
+ class SerialConsoleAccessDisabledException < Struct.new(
198
+ :message)
199
+ SENSITIVE = []
200
+ include Aws::Structure
201
+ end
202
+
203
+ # The instance currently has 1 active serial console session. Only 1
204
+ # session is supported at a time.
205
+ #
206
+ # @!attribute [rw] message
207
+ # @return [String]
208
+ #
209
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-instance-connect-2018-04-02/SerialConsoleSessionLimitExceededException AWS API Documentation
210
+ #
211
+ class SerialConsoleSessionLimitExceededException < Struct.new(
212
+ :message)
213
+ SENSITIVE = []
214
+ include Aws::Structure
215
+ end
216
+
217
+ # Unable to start a serial console session. Please try again.
218
+ #
219
+ # @!attribute [rw] message
220
+ # @return [String]
221
+ #
222
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-instance-connect-2018-04-02/SerialConsoleSessionUnavailableException AWS API Documentation
223
+ #
224
+ class SerialConsoleSessionUnavailableException < Struct.new(
225
+ :message)
226
+ SENSITIVE = []
227
+ include Aws::Structure
228
+ end
229
+
230
+ # The service encountered an error. Follow the instructions in the error
231
+ # message and try again.
114
232
  #
115
233
  # @!attribute [rw] message
116
234
  # @return [String]
@@ -123,9 +241,9 @@ module Aws::EC2InstanceConnect
123
241
  include Aws::Structure
124
242
  end
125
243
 
126
- # Indicates you have been making requests too frequently and have been
127
- # throttled. Wait for a while and try again. If higher call volume is
128
- # warranted contact AWS Support.
244
+ # The requests were made too frequently and have been throttled. Wait a
245
+ # while and try again. To increase the limit on your request frequency,
246
+ # contact AWS Support.
129
247
  #
130
248
  # @!attribute [rw] message
131
249
  # @return [String]
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.13.0
4
+ version: 1.14.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-03-10 00:00:00.000000000 Z
11
+ date: 2021-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -66,8 +66,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
66
66
  licenses:
67
67
  - Apache-2.0
68
68
  metadata:
69
- source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-ec2instanceconnect
70
- changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-ec2instanceconnect/CHANGELOG.md
69
+ source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-ec2instanceconnect
70
+ changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-ec2instanceconnect/CHANGELOG.md
71
71
  post_install_message:
72
72
  rdoc_options: []
73
73
  require_paths: