aws-sdk-ec2instanceconnect 1.35.0 → 1.37.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: 507f5eaa8bee0da08b01ffe07fb0a013ce12cfbe21999a3421fc87d548c55d1a
4
- data.tar.gz: 00cf9ae97da2e925c4a2cfcea0947e79a5f12c2085be3221b04887133c2ad03f
3
+ metadata.gz: f905af5ae899baed0bea4e5f6adc8fae878091673680446dbdbf556b242ffe93
4
+ data.tar.gz: 6b71bdc77df2c02459e2490089e83182ae5fd01902af04e69a95e375e821f3bc
5
5
  SHA512:
6
- metadata.gz: 421ad0b4989d099a5fe2e4ddf2ef0b43897a0e7a0e521020f7f9409aa511ced637a370b9b112e2c527c628bcfc06eea605b6bf754b59684cdec898d8a088d8f0
7
- data.tar.gz: 72cda22afa8363d53a79884108d91cf9bec8f23668d035137020b3f8bb69abe3af8abbf198ded71a9463efad3c02f8ef52c04fa06a292ac2c2e8fb6b28379f00
6
+ metadata.gz: c35381707731cefa91c32c2729c913f9c2711391c8369c6bdde1276700184342d0bbe11291cd8a28e7e56f414e49fa5746d9550dbcedb77358d2bf207f996c5b
7
+ data.tar.gz: 202cc21d3182fd204dee217bc2e4cbdf95bfad297a82915994227031edc0941192ab22fb7046406f3befc2881b01570a96cc0940383383c0e501b65cc5063fcc
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.37.0 (2024-01-26)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.36.0 (2023-11-28)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.35.0 (2023-11-22)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.35.0
1
+ 1.37.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.35.0'
540
+ context[:gem_version] = '1.37.0'
541
541
  Seahorse::Client::Request.new(handlers, context)
542
542
  end
543
543
 
@@ -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 '\
@@ -25,16 +26,17 @@ module Aws::EC2InstanceConnect
25
26
  # @api private
26
27
  class Handler < Seahorse::Client::Handler
27
28
  def call(context)
28
- # If endpoint was discovered, do not resolve or apply the endpoint.
29
29
  unless context[:discovered_endpoint]
30
30
  params = parameters_for_operation(context)
31
31
  endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
32
 
33
33
  context.http_request.endpoint = endpoint.url
34
34
  apply_endpoint_headers(context, endpoint.headers)
35
+
36
+ context[:endpoint_params] = params
37
+ context[:endpoint_properties] = endpoint.properties
35
38
  end
36
39
 
37
- context[:endpoint_params] = params
38
40
  context[:auth_scheme] =
39
41
  Aws::Endpoints.resolve_auth_scheme(context, endpoint)
40
42
 
@@ -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.35.0'
55
+ GEM_VERSION = '1.37.0'
56
56
 
57
57
  end
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,49 @@
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 ServiceException < ::Aws::Errors::ServiceError
42
+ def message: () -> ::String
43
+ end
44
+ class ThrottlingException < ::Aws::Errors::ServiceError
45
+ def message: () -> ::String
46
+ end
47
+ end
48
+ end
49
+ 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,93 @@
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 ServiceException
84
+ attr_accessor message: ::String
85
+ SENSITIVE: []
86
+ end
87
+
88
+ class ThrottlingException
89
+ attr_accessor message: ::String
90
+ SENSITIVE: []
91
+ end
92
+ end
93
+ 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.35.0
4
+ version: 1.37.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: 2023-11-22 00:00:00.000000000 Z
11
+ date: 2024-01-26 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.188.0
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.188.0
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.1.6
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: []