aws-sdk-ec2instanceconnect 1.36.0 → 1.38.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2instanceconnect/client.rb +1 -1
- data/lib/aws-sdk-ec2instanceconnect/client_api.rb +5 -0
- data/lib/aws-sdk-ec2instanceconnect/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-ec2instanceconnect/errors.rb +16 -0
- data/lib/aws-sdk-ec2instanceconnect/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-ec2instanceconnect/types.rb +15 -0
- data/lib/aws-sdk-ec2instanceconnect.rb +1 -1
- data/sig/client.rbs +105 -0
- data/sig/errors.rbs +52 -0
- data/sig/resource.rbs +80 -0
- data/sig/types.rbs +98 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8ab3327cc774bf42737565294ee49c8944ee8966475c2b31648893e5e3566609
|
|
4
|
+
data.tar.gz: 7f594a0b3d57126ae66922efbc608ec9663de7b4beeae890e573baf2c801a9c9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2c2d67d93362d1e37052849d93009f71f34d1d45d110c6a46674199e0f98cd22e72fa4e1a08b798727222e26764b1b59e9d81b24c6582bc6cbe48690f59a46e9
|
|
7
|
+
data.tar.gz: afcc44a902d6b50d0b58e6eeb39f74308b7cc46a47957cff8073a134cc552ef72d803abd47dd00d3c9758c7e5528ac69f4739b2f536d1d927168147274ce6656
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
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
|
+
|
|
9
|
+
1.37.0 (2024-01-26)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
13
|
+
|
|
4
14
|
1.36.0 (2023-11-28)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
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.
|
|
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?(
|
|
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
|
|
@@ -14,6 +14,7 @@ module Aws::EC2InstanceConnect
|
|
|
14
14
|
option(
|
|
15
15
|
:endpoint_provider,
|
|
16
16
|
doc_type: 'Aws::EC2InstanceConnect::EndpointProvider',
|
|
17
|
+
rbs_type: 'untyped',
|
|
17
18
|
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
|
18
19
|
'object that responds to `#resolve_endpoint(parameters)` '\
|
|
19
20
|
'where `parameters` is a Struct similar to '\
|
|
@@ -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
|
#
|
data/sig/client.rbs
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws
|
|
9
|
+
module EC2InstanceConnect
|
|
10
|
+
class Client < ::Seahorse::Client::Base
|
|
11
|
+
include ::Aws::ClientStubs
|
|
12
|
+
|
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2InstanceConnect/Client.html#initialize-instance_method
|
|
14
|
+
def self.new: (
|
|
15
|
+
?credentials: untyped,
|
|
16
|
+
?region: String,
|
|
17
|
+
?access_key_id: String,
|
|
18
|
+
?active_endpoint_cache: bool,
|
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
|
20
|
+
?client_side_monitoring: bool,
|
|
21
|
+
?client_side_monitoring_client_id: String,
|
|
22
|
+
?client_side_monitoring_host: String,
|
|
23
|
+
?client_side_monitoring_port: Integer,
|
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
|
25
|
+
?convert_params: bool,
|
|
26
|
+
?correct_clock_skew: bool,
|
|
27
|
+
?defaults_mode: String,
|
|
28
|
+
?disable_host_prefix_injection: bool,
|
|
29
|
+
?disable_request_compression: bool,
|
|
30
|
+
?endpoint: String,
|
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
|
34
|
+
?endpoint_discovery: bool,
|
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
|
36
|
+
?log_formatter: untyped,
|
|
37
|
+
?log_level: Symbol,
|
|
38
|
+
?logger: untyped,
|
|
39
|
+
?max_attempts: Integer,
|
|
40
|
+
?profile: String,
|
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
|
42
|
+
?retry_backoff: Proc,
|
|
43
|
+
?retry_base_delay: Float,
|
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
|
45
|
+
?retry_limit: Integer,
|
|
46
|
+
?retry_max_delay: Integer,
|
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
|
48
|
+
?sdk_ua_app_id: String,
|
|
49
|
+
?secret_access_key: String,
|
|
50
|
+
?session_token: String,
|
|
51
|
+
?simple_json: bool,
|
|
52
|
+
?stub_responses: untyped,
|
|
53
|
+
?token_provider: untyped,
|
|
54
|
+
?use_dualstack_endpoint: bool,
|
|
55
|
+
?use_fips_endpoint: bool,
|
|
56
|
+
?validate_params: bool,
|
|
57
|
+
?endpoint_provider: untyped,
|
|
58
|
+
?http_proxy: String,
|
|
59
|
+
?http_open_timeout: (Float | Integer),
|
|
60
|
+
?http_read_timeout: (Float | Integer),
|
|
61
|
+
?http_idle_timeout: (Float | Integer),
|
|
62
|
+
?http_continue_timeout: (Float | Integer),
|
|
63
|
+
?ssl_timeout: (Float | Integer | nil),
|
|
64
|
+
?http_wire_trace: bool,
|
|
65
|
+
?ssl_verify_peer: bool,
|
|
66
|
+
?ssl_ca_bundle: String,
|
|
67
|
+
?ssl_ca_directory: String,
|
|
68
|
+
?ssl_ca_store: String,
|
|
69
|
+
?on_chunk_received: Proc,
|
|
70
|
+
?on_chunk_sent: Proc,
|
|
71
|
+
?raise_response_errors: bool
|
|
72
|
+
) -> instance
|
|
73
|
+
| (?Hash[Symbol, untyped]) -> instance
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
interface _SendSSHPublicKeyResponseSuccess
|
|
77
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::SendSSHPublicKeyResponse]
|
|
78
|
+
def request_id: () -> ::String
|
|
79
|
+
def success: () -> bool
|
|
80
|
+
end
|
|
81
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2InstanceConnect/Client.html#send_ssh_public_key-instance_method
|
|
82
|
+
def send_ssh_public_key: (
|
|
83
|
+
instance_id: ::String,
|
|
84
|
+
instance_os_user: ::String,
|
|
85
|
+
ssh_public_key: ::String,
|
|
86
|
+
?availability_zone: ::String
|
|
87
|
+
) -> _SendSSHPublicKeyResponseSuccess
|
|
88
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SendSSHPublicKeyResponseSuccess
|
|
89
|
+
|
|
90
|
+
interface _SendSerialConsoleSSHPublicKeyResponseSuccess
|
|
91
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::SendSerialConsoleSSHPublicKeyResponse]
|
|
92
|
+
def request_id: () -> ::String
|
|
93
|
+
def success: () -> bool
|
|
94
|
+
end
|
|
95
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2InstanceConnect/Client.html#send_serial_console_ssh_public_key-instance_method
|
|
96
|
+
def send_serial_console_ssh_public_key: (
|
|
97
|
+
instance_id: ::String,
|
|
98
|
+
?serial_port: ::Integer,
|
|
99
|
+
ssh_public_key: ::String
|
|
100
|
+
) -> _SendSerialConsoleSSHPublicKeyResponseSuccess
|
|
101
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SendSerialConsoleSSHPublicKeyResponseSuccess
|
|
102
|
+
end
|
|
103
|
+
end
|
|
104
|
+
end
|
|
105
|
+
|
data/sig/errors.rbs
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws
|
|
9
|
+
module EC2InstanceConnect
|
|
10
|
+
module Errors
|
|
11
|
+
class ServiceError < ::Aws::Errors::ServiceError
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
class AuthException < ::Aws::Errors::ServiceError
|
|
15
|
+
def message: () -> ::String
|
|
16
|
+
end
|
|
17
|
+
class EC2InstanceNotFoundException < ::Aws::Errors::ServiceError
|
|
18
|
+
def message: () -> ::String
|
|
19
|
+
end
|
|
20
|
+
class EC2InstanceStateInvalidException < ::Aws::Errors::ServiceError
|
|
21
|
+
def message: () -> ::String
|
|
22
|
+
end
|
|
23
|
+
class EC2InstanceTypeInvalidException < ::Aws::Errors::ServiceError
|
|
24
|
+
def message: () -> ::String
|
|
25
|
+
end
|
|
26
|
+
class EC2InstanceUnavailableException < ::Aws::Errors::ServiceError
|
|
27
|
+
def message: () -> ::String
|
|
28
|
+
end
|
|
29
|
+
class InvalidArgsException < ::Aws::Errors::ServiceError
|
|
30
|
+
def message: () -> ::String
|
|
31
|
+
end
|
|
32
|
+
class SerialConsoleAccessDisabledException < ::Aws::Errors::ServiceError
|
|
33
|
+
def message: () -> ::String
|
|
34
|
+
end
|
|
35
|
+
class SerialConsoleSessionLimitExceededException < ::Aws::Errors::ServiceError
|
|
36
|
+
def message: () -> ::String
|
|
37
|
+
end
|
|
38
|
+
class SerialConsoleSessionUnavailableException < ::Aws::Errors::ServiceError
|
|
39
|
+
def message: () -> ::String
|
|
40
|
+
end
|
|
41
|
+
class SerialConsoleSessionUnsupportedException < ::Aws::Errors::ServiceError
|
|
42
|
+
def message: () -> ::String
|
|
43
|
+
end
|
|
44
|
+
class ServiceException < ::Aws::Errors::ServiceError
|
|
45
|
+
def message: () -> ::String
|
|
46
|
+
end
|
|
47
|
+
class ThrottlingException < ::Aws::Errors::ServiceError
|
|
48
|
+
def message: () -> ::String
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
end
|
data/sig/resource.rbs
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws
|
|
9
|
+
module EC2InstanceConnect
|
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2InstanceConnect/Resource.html
|
|
11
|
+
class Resource
|
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2InstanceConnect/Resource.html#initialize-instance_method
|
|
13
|
+
def initialize: (
|
|
14
|
+
?client: Client,
|
|
15
|
+
?credentials: untyped,
|
|
16
|
+
?region: String,
|
|
17
|
+
?access_key_id: String,
|
|
18
|
+
?active_endpoint_cache: bool,
|
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
|
20
|
+
?client_side_monitoring: bool,
|
|
21
|
+
?client_side_monitoring_client_id: String,
|
|
22
|
+
?client_side_monitoring_host: String,
|
|
23
|
+
?client_side_monitoring_port: Integer,
|
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
|
25
|
+
?convert_params: bool,
|
|
26
|
+
?correct_clock_skew: bool,
|
|
27
|
+
?defaults_mode: String,
|
|
28
|
+
?disable_host_prefix_injection: bool,
|
|
29
|
+
?disable_request_compression: bool,
|
|
30
|
+
?endpoint: String,
|
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
|
34
|
+
?endpoint_discovery: bool,
|
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
|
36
|
+
?log_formatter: untyped,
|
|
37
|
+
?log_level: Symbol,
|
|
38
|
+
?logger: untyped,
|
|
39
|
+
?max_attempts: Integer,
|
|
40
|
+
?profile: String,
|
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
|
42
|
+
?retry_backoff: Proc,
|
|
43
|
+
?retry_base_delay: Float,
|
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
|
45
|
+
?retry_limit: Integer,
|
|
46
|
+
?retry_max_delay: Integer,
|
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
|
48
|
+
?sdk_ua_app_id: String,
|
|
49
|
+
?secret_access_key: String,
|
|
50
|
+
?session_token: String,
|
|
51
|
+
?simple_json: bool,
|
|
52
|
+
?stub_responses: untyped,
|
|
53
|
+
?token_provider: untyped,
|
|
54
|
+
?use_dualstack_endpoint: bool,
|
|
55
|
+
?use_fips_endpoint: bool,
|
|
56
|
+
?validate_params: bool,
|
|
57
|
+
?endpoint_provider: untyped,
|
|
58
|
+
?http_proxy: String,
|
|
59
|
+
?http_open_timeout: (Float | Integer),
|
|
60
|
+
?http_read_timeout: (Float | Integer),
|
|
61
|
+
?http_idle_timeout: (Float | Integer),
|
|
62
|
+
?http_continue_timeout: (Float | Integer),
|
|
63
|
+
?ssl_timeout: (Float | Integer | nil),
|
|
64
|
+
?http_wire_trace: bool,
|
|
65
|
+
?ssl_verify_peer: bool,
|
|
66
|
+
?ssl_ca_bundle: String,
|
|
67
|
+
?ssl_ca_directory: String,
|
|
68
|
+
?ssl_ca_store: String,
|
|
69
|
+
?on_chunk_received: Proc,
|
|
70
|
+
?on_chunk_sent: Proc,
|
|
71
|
+
?raise_response_errors: bool
|
|
72
|
+
) -> void
|
|
73
|
+
| (?Hash[Symbol, untyped]) -> void
|
|
74
|
+
|
|
75
|
+
def client: () -> Client
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
end
|
|
79
|
+
end
|
|
80
|
+
end
|
data/sig/types.rbs
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws::EC2InstanceConnect
|
|
9
|
+
module Types
|
|
10
|
+
|
|
11
|
+
class AuthException
|
|
12
|
+
attr_accessor message: ::String
|
|
13
|
+
SENSITIVE: []
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
class EC2InstanceNotFoundException
|
|
17
|
+
attr_accessor message: ::String
|
|
18
|
+
SENSITIVE: []
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
class EC2InstanceStateInvalidException
|
|
22
|
+
attr_accessor message: ::String
|
|
23
|
+
SENSITIVE: []
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
class EC2InstanceTypeInvalidException
|
|
27
|
+
attr_accessor message: ::String
|
|
28
|
+
SENSITIVE: []
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
class EC2InstanceUnavailableException
|
|
32
|
+
attr_accessor message: ::String
|
|
33
|
+
SENSITIVE: []
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
class InvalidArgsException
|
|
37
|
+
attr_accessor message: ::String
|
|
38
|
+
SENSITIVE: []
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
class SendSSHPublicKeyRequest
|
|
42
|
+
attr_accessor instance_id: ::String
|
|
43
|
+
attr_accessor instance_os_user: ::String
|
|
44
|
+
attr_accessor ssh_public_key: ::String
|
|
45
|
+
attr_accessor availability_zone: ::String
|
|
46
|
+
SENSITIVE: []
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
class SendSSHPublicKeyResponse
|
|
50
|
+
attr_accessor request_id: ::String
|
|
51
|
+
attr_accessor success: bool
|
|
52
|
+
SENSITIVE: []
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
class SendSerialConsoleSSHPublicKeyRequest
|
|
56
|
+
attr_accessor instance_id: ::String
|
|
57
|
+
attr_accessor serial_port: ::Integer
|
|
58
|
+
attr_accessor ssh_public_key: ::String
|
|
59
|
+
SENSITIVE: []
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
class SendSerialConsoleSSHPublicKeyResponse
|
|
63
|
+
attr_accessor request_id: ::String
|
|
64
|
+
attr_accessor success: bool
|
|
65
|
+
SENSITIVE: []
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
class SerialConsoleAccessDisabledException
|
|
69
|
+
attr_accessor message: ::String
|
|
70
|
+
SENSITIVE: []
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
class SerialConsoleSessionLimitExceededException
|
|
74
|
+
attr_accessor message: ::String
|
|
75
|
+
SENSITIVE: []
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
class SerialConsoleSessionUnavailableException
|
|
79
|
+
attr_accessor message: ::String
|
|
80
|
+
SENSITIVE: []
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
class SerialConsoleSessionUnsupportedException
|
|
84
|
+
attr_accessor message: ::String
|
|
85
|
+
SENSITIVE: []
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
class ServiceException
|
|
89
|
+
attr_accessor message: ::String
|
|
90
|
+
SENSITIVE: []
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
class ThrottlingException
|
|
94
|
+
attr_accessor message: ::String
|
|
95
|
+
SENSITIVE: []
|
|
96
|
+
end
|
|
97
|
+
end
|
|
98
|
+
end
|
data/sig/waiters.rbs
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws
|
|
9
|
+
module EC2InstanceConnect
|
|
10
|
+
module Waiters
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
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.
|
|
4
|
+
version: 1.38.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
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
|
|
@@ -19,7 +19,7 @@ dependencies:
|
|
|
19
19
|
version: '3'
|
|
20
20
|
- - ">="
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
|
-
version: 3.
|
|
22
|
+
version: 3.191.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.191.0
|
|
33
33
|
- !ruby/object:Gem::Dependency
|
|
34
34
|
name: aws-sigv4
|
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -66,13 +66,18 @@ files:
|
|
|
66
66
|
- lib/aws-sdk-ec2instanceconnect/plugins/endpoints.rb
|
|
67
67
|
- lib/aws-sdk-ec2instanceconnect/resource.rb
|
|
68
68
|
- lib/aws-sdk-ec2instanceconnect/types.rb
|
|
69
|
+
- sig/client.rbs
|
|
70
|
+
- sig/errors.rbs
|
|
71
|
+
- sig/resource.rbs
|
|
72
|
+
- sig/types.rbs
|
|
73
|
+
- sig/waiters.rbs
|
|
69
74
|
homepage: https://github.com/aws/aws-sdk-ruby
|
|
70
75
|
licenses:
|
|
71
76
|
- Apache-2.0
|
|
72
77
|
metadata:
|
|
73
78
|
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-ec2instanceconnect
|
|
74
79
|
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-ec2instanceconnect/CHANGELOG.md
|
|
75
|
-
post_install_message:
|
|
80
|
+
post_install_message:
|
|
76
81
|
rdoc_options: []
|
|
77
82
|
require_paths:
|
|
78
83
|
- lib
|
|
@@ -87,8 +92,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
87
92
|
- !ruby/object:Gem::Version
|
|
88
93
|
version: '0'
|
|
89
94
|
requirements: []
|
|
90
|
-
rubygems_version: 3.
|
|
91
|
-
signing_key:
|
|
95
|
+
rubygems_version: 3.4.10
|
|
96
|
+
signing_key:
|
|
92
97
|
specification_version: 4
|
|
93
98
|
summary: AWS SDK for Ruby - EC2 Instance Connect
|
|
94
99
|
test_files: []
|