aws-sdk-iotsecuretunneling 1.32.0 → 1.34.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-iotsecuretunneling/client.rb +70 -46
- data/lib/aws-sdk-iotsecuretunneling/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-iotsecuretunneling.rb +1 -1
- data/sig/client.rbs +189 -0
- data/sig/errors.rbs +22 -0
- data/sig/resource.rbs +80 -0
- data/sig/types.rbs +159 -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: d1d8b4b0699b1354bd8b2ed431c3978150238685ebfb44c9197188347d9fcde3
|
4
|
+
data.tar.gz: c5a56fcaea02374e1f03a9793bbc8e663206afe3ea1a6d67d58c12ec1f307c00
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2699abf46aecdfb0936b18d2e00996dc23fd9a75b4e204f6dfde7e569584795019c6cedccad21639ff92f8fc5107e14a06a8e9190e65b5f35852d8717a3422b
|
7
|
+
data.tar.gz: ff34bf1b3b736628c46e4b0b4ed50d106088e23065a07eb1cc44e702223472f6419fa6a43076ebcd6014b7f05c231ff48d30247764e17153f70c19d6b93fa908
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.34.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.33.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.32.0 (2023-11-28)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.34.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::IoTSecureTunneling
|
|
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::IoTSecureTunneling
|
|
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
|
-
#
|
201
|
-
#
|
202
|
-
#
|
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::IoTSecureTunneling
|
|
347
356
|
# @option options [Aws::IoTSecureTunneling::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::IoTSecureTunneling::EndpointParameters`
|
349
358
|
#
|
350
|
-
# @option options [
|
351
|
-
#
|
352
|
-
#
|
353
|
-
#
|
354
|
-
#
|
355
|
-
#
|
356
|
-
#
|
357
|
-
#
|
358
|
-
#
|
359
|
-
#
|
360
|
-
#
|
361
|
-
# @option options [Float] :
|
362
|
-
#
|
363
|
-
#
|
364
|
-
#
|
365
|
-
#
|
366
|
-
#
|
367
|
-
#
|
368
|
-
#
|
369
|
-
#
|
370
|
-
#
|
371
|
-
#
|
372
|
-
#
|
373
|
-
#
|
374
|
-
#
|
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 [
|
377
|
-
#
|
410
|
+
# @option options [String] :ssl_ca_store
|
411
|
+
# Sets the X509::Store to verify peer certificate.
|
378
412
|
#
|
379
|
-
# @option options [
|
380
|
-
#
|
381
|
-
# connection.
|
413
|
+
# @option options [Float] :ssl_timeout
|
414
|
+
# Sets the SSL timeout in seconds
|
382
415
|
#
|
383
|
-
# @option options [
|
384
|
-
#
|
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
|
@@ -744,7 +768,7 @@ module Aws::IoTSecureTunneling
|
|
744
768
|
params: params,
|
745
769
|
config: config)
|
746
770
|
context[:gem_name] = 'aws-sdk-iotsecuretunneling'
|
747
|
-
context[:gem_version] = '1.
|
771
|
+
context[:gem_version] = '1.34.0'
|
748
772
|
Seahorse::Client::Request.new(handlers, context)
|
749
773
|
end
|
750
774
|
|
@@ -14,6 +14,7 @@ module Aws::IoTSecureTunneling
|
|
14
14
|
option(
|
15
15
|
:endpoint_provider,
|
16
16
|
doc_type: 'Aws::IoTSecureTunneling::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 '\
|
data/sig/client.rbs
ADDED
@@ -0,0 +1,189 @@
|
|
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 IoTSecureTunneling
|
10
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSecureTunneling/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 _CloseTunnelResponseSuccess
|
77
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CloseTunnelResponse]
|
78
|
+
end
|
79
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSecureTunneling/Client.html#close_tunnel-instance_method
|
80
|
+
def close_tunnel: (
|
81
|
+
tunnel_id: ::String,
|
82
|
+
?delete: bool
|
83
|
+
) -> _CloseTunnelResponseSuccess
|
84
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CloseTunnelResponseSuccess
|
85
|
+
|
86
|
+
interface _DescribeTunnelResponseSuccess
|
87
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeTunnelResponse]
|
88
|
+
def tunnel: () -> Types::Tunnel
|
89
|
+
end
|
90
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSecureTunneling/Client.html#describe_tunnel-instance_method
|
91
|
+
def describe_tunnel: (
|
92
|
+
tunnel_id: ::String
|
93
|
+
) -> _DescribeTunnelResponseSuccess
|
94
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeTunnelResponseSuccess
|
95
|
+
|
96
|
+
interface _ListTagsForResourceResponseSuccess
|
97
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
98
|
+
def tags: () -> ::Array[Types::Tag]
|
99
|
+
end
|
100
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSecureTunneling/Client.html#list_tags_for_resource-instance_method
|
101
|
+
def list_tags_for_resource: (
|
102
|
+
resource_arn: ::String
|
103
|
+
) -> _ListTagsForResourceResponseSuccess
|
104
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
105
|
+
|
106
|
+
interface _ListTunnelsResponseSuccess
|
107
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTunnelsResponse]
|
108
|
+
def tunnel_summaries: () -> ::Array[Types::TunnelSummary]
|
109
|
+
def next_token: () -> ::String
|
110
|
+
end
|
111
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSecureTunneling/Client.html#list_tunnels-instance_method
|
112
|
+
def list_tunnels: (
|
113
|
+
?thing_name: ::String,
|
114
|
+
?max_results: ::Integer,
|
115
|
+
?next_token: ::String
|
116
|
+
) -> _ListTunnelsResponseSuccess
|
117
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTunnelsResponseSuccess
|
118
|
+
|
119
|
+
interface _OpenTunnelResponseSuccess
|
120
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::OpenTunnelResponse]
|
121
|
+
def tunnel_id: () -> ::String
|
122
|
+
def tunnel_arn: () -> ::String
|
123
|
+
def source_access_token: () -> ::String
|
124
|
+
def destination_access_token: () -> ::String
|
125
|
+
end
|
126
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSecureTunneling/Client.html#open_tunnel-instance_method
|
127
|
+
def open_tunnel: (
|
128
|
+
?description: ::String,
|
129
|
+
?tags: Array[
|
130
|
+
{
|
131
|
+
key: ::String,
|
132
|
+
value: ::String
|
133
|
+
},
|
134
|
+
],
|
135
|
+
?destination_config: {
|
136
|
+
thing_name: ::String?,
|
137
|
+
services: Array[::String]
|
138
|
+
},
|
139
|
+
?timeout_config: {
|
140
|
+
max_lifetime_timeout_minutes: ::Integer?
|
141
|
+
}
|
142
|
+
) -> _OpenTunnelResponseSuccess
|
143
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _OpenTunnelResponseSuccess
|
144
|
+
|
145
|
+
interface _RotateTunnelAccessTokenResponseSuccess
|
146
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::RotateTunnelAccessTokenResponse]
|
147
|
+
def tunnel_arn: () -> ::String
|
148
|
+
def source_access_token: () -> ::String
|
149
|
+
def destination_access_token: () -> ::String
|
150
|
+
end
|
151
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSecureTunneling/Client.html#rotate_tunnel_access_token-instance_method
|
152
|
+
def rotate_tunnel_access_token: (
|
153
|
+
tunnel_id: ::String,
|
154
|
+
client_mode: ("SOURCE" | "DESTINATION" | "ALL"),
|
155
|
+
?destination_config: {
|
156
|
+
thing_name: ::String?,
|
157
|
+
services: Array[::String]
|
158
|
+
}
|
159
|
+
) -> _RotateTunnelAccessTokenResponseSuccess
|
160
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RotateTunnelAccessTokenResponseSuccess
|
161
|
+
|
162
|
+
interface _TagResourceResponseSuccess
|
163
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
164
|
+
end
|
165
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSecureTunneling/Client.html#tag_resource-instance_method
|
166
|
+
def tag_resource: (
|
167
|
+
resource_arn: ::String,
|
168
|
+
tags: Array[
|
169
|
+
{
|
170
|
+
key: ::String,
|
171
|
+
value: ::String
|
172
|
+
},
|
173
|
+
]
|
174
|
+
) -> _TagResourceResponseSuccess
|
175
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
176
|
+
|
177
|
+
interface _UntagResourceResponseSuccess
|
178
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
|
179
|
+
end
|
180
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSecureTunneling/Client.html#untag_resource-instance_method
|
181
|
+
def untag_resource: (
|
182
|
+
resource_arn: ::String,
|
183
|
+
tag_keys: Array[::String]
|
184
|
+
) -> _UntagResourceResponseSuccess
|
185
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
186
|
+
end
|
187
|
+
end
|
188
|
+
end
|
189
|
+
|
data/sig/errors.rbs
ADDED
@@ -0,0 +1,22 @@
|
|
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 IoTSecureTunneling
|
10
|
+
module Errors
|
11
|
+
class ServiceError < ::Aws::Errors::ServiceError
|
12
|
+
end
|
13
|
+
|
14
|
+
class LimitExceededException < ::Aws::Errors::ServiceError
|
15
|
+
def message: () -> ::String
|
16
|
+
end
|
17
|
+
class ResourceNotFoundException < ::Aws::Errors::ServiceError
|
18
|
+
def message: () -> ::String
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
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 IoTSecureTunneling
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSecureTunneling/Resource.html
|
11
|
+
class Resource
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTSecureTunneling/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,159 @@
|
|
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::IoTSecureTunneling
|
9
|
+
module Types
|
10
|
+
|
11
|
+
class CloseTunnelRequest
|
12
|
+
attr_accessor tunnel_id: ::String
|
13
|
+
attr_accessor delete: bool
|
14
|
+
SENSITIVE: []
|
15
|
+
end
|
16
|
+
|
17
|
+
class CloseTunnelResponse < Aws::EmptyStructure
|
18
|
+
end
|
19
|
+
|
20
|
+
class ConnectionState
|
21
|
+
attr_accessor status: ("CONNECTED" | "DISCONNECTED")
|
22
|
+
attr_accessor last_updated_at: ::Time
|
23
|
+
SENSITIVE: []
|
24
|
+
end
|
25
|
+
|
26
|
+
class DescribeTunnelRequest
|
27
|
+
attr_accessor tunnel_id: ::String
|
28
|
+
SENSITIVE: []
|
29
|
+
end
|
30
|
+
|
31
|
+
class DescribeTunnelResponse
|
32
|
+
attr_accessor tunnel: Types::Tunnel
|
33
|
+
SENSITIVE: []
|
34
|
+
end
|
35
|
+
|
36
|
+
class DestinationConfig
|
37
|
+
attr_accessor thing_name: ::String
|
38
|
+
attr_accessor services: ::Array[::String]
|
39
|
+
SENSITIVE: []
|
40
|
+
end
|
41
|
+
|
42
|
+
class LimitExceededException
|
43
|
+
attr_accessor message: ::String
|
44
|
+
SENSITIVE: []
|
45
|
+
end
|
46
|
+
|
47
|
+
class ListTagsForResourceRequest
|
48
|
+
attr_accessor resource_arn: ::String
|
49
|
+
SENSITIVE: []
|
50
|
+
end
|
51
|
+
|
52
|
+
class ListTagsForResourceResponse
|
53
|
+
attr_accessor tags: ::Array[Types::Tag]
|
54
|
+
SENSITIVE: []
|
55
|
+
end
|
56
|
+
|
57
|
+
class ListTunnelsRequest
|
58
|
+
attr_accessor thing_name: ::String
|
59
|
+
attr_accessor max_results: ::Integer
|
60
|
+
attr_accessor next_token: ::String
|
61
|
+
SENSITIVE: []
|
62
|
+
end
|
63
|
+
|
64
|
+
class ListTunnelsResponse
|
65
|
+
attr_accessor tunnel_summaries: ::Array[Types::TunnelSummary]
|
66
|
+
attr_accessor next_token: ::String
|
67
|
+
SENSITIVE: []
|
68
|
+
end
|
69
|
+
|
70
|
+
class OpenTunnelRequest
|
71
|
+
attr_accessor description: ::String
|
72
|
+
attr_accessor tags: ::Array[Types::Tag]
|
73
|
+
attr_accessor destination_config: Types::DestinationConfig
|
74
|
+
attr_accessor timeout_config: Types::TimeoutConfig
|
75
|
+
SENSITIVE: []
|
76
|
+
end
|
77
|
+
|
78
|
+
class OpenTunnelResponse
|
79
|
+
attr_accessor tunnel_id: ::String
|
80
|
+
attr_accessor tunnel_arn: ::String
|
81
|
+
attr_accessor source_access_token: ::String
|
82
|
+
attr_accessor destination_access_token: ::String
|
83
|
+
SENSITIVE: [:source_access_token, :destination_access_token]
|
84
|
+
end
|
85
|
+
|
86
|
+
class ResourceNotFoundException
|
87
|
+
attr_accessor message: ::String
|
88
|
+
SENSITIVE: []
|
89
|
+
end
|
90
|
+
|
91
|
+
class RotateTunnelAccessTokenRequest
|
92
|
+
attr_accessor tunnel_id: ::String
|
93
|
+
attr_accessor client_mode: ("SOURCE" | "DESTINATION" | "ALL")
|
94
|
+
attr_accessor destination_config: Types::DestinationConfig
|
95
|
+
SENSITIVE: []
|
96
|
+
end
|
97
|
+
|
98
|
+
class RotateTunnelAccessTokenResponse
|
99
|
+
attr_accessor tunnel_arn: ::String
|
100
|
+
attr_accessor source_access_token: ::String
|
101
|
+
attr_accessor destination_access_token: ::String
|
102
|
+
SENSITIVE: [:source_access_token, :destination_access_token]
|
103
|
+
end
|
104
|
+
|
105
|
+
class Tag
|
106
|
+
attr_accessor key: ::String
|
107
|
+
attr_accessor value: ::String
|
108
|
+
SENSITIVE: []
|
109
|
+
end
|
110
|
+
|
111
|
+
class TagResourceRequest
|
112
|
+
attr_accessor resource_arn: ::String
|
113
|
+
attr_accessor tags: ::Array[Types::Tag]
|
114
|
+
SENSITIVE: []
|
115
|
+
end
|
116
|
+
|
117
|
+
class TagResourceResponse < Aws::EmptyStructure
|
118
|
+
end
|
119
|
+
|
120
|
+
class TimeoutConfig
|
121
|
+
attr_accessor max_lifetime_timeout_minutes: ::Integer
|
122
|
+
SENSITIVE: []
|
123
|
+
end
|
124
|
+
|
125
|
+
class Tunnel
|
126
|
+
attr_accessor tunnel_id: ::String
|
127
|
+
attr_accessor tunnel_arn: ::String
|
128
|
+
attr_accessor status: ("OPEN" | "CLOSED")
|
129
|
+
attr_accessor source_connection_state: Types::ConnectionState
|
130
|
+
attr_accessor destination_connection_state: Types::ConnectionState
|
131
|
+
attr_accessor description: ::String
|
132
|
+
attr_accessor destination_config: Types::DestinationConfig
|
133
|
+
attr_accessor timeout_config: Types::TimeoutConfig
|
134
|
+
attr_accessor tags: ::Array[Types::Tag]
|
135
|
+
attr_accessor created_at: ::Time
|
136
|
+
attr_accessor last_updated_at: ::Time
|
137
|
+
SENSITIVE: []
|
138
|
+
end
|
139
|
+
|
140
|
+
class TunnelSummary
|
141
|
+
attr_accessor tunnel_id: ::String
|
142
|
+
attr_accessor tunnel_arn: ::String
|
143
|
+
attr_accessor status: ("OPEN" | "CLOSED")
|
144
|
+
attr_accessor description: ::String
|
145
|
+
attr_accessor created_at: ::Time
|
146
|
+
attr_accessor last_updated_at: ::Time
|
147
|
+
SENSITIVE: []
|
148
|
+
end
|
149
|
+
|
150
|
+
class UntagResourceRequest
|
151
|
+
attr_accessor resource_arn: ::String
|
152
|
+
attr_accessor tag_keys: ::Array[::String]
|
153
|
+
SENSITIVE: []
|
154
|
+
end
|
155
|
+
|
156
|
+
class UntagResourceResponse < Aws::EmptyStructure
|
157
|
+
end
|
158
|
+
end
|
159
|
+
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 IoTSecureTunneling
|
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-iotsecuretunneling
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.34.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-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.
|
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.
|
32
|
+
version: 3.193.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-iotsecuretunneling/plugins/endpoints.rb
|
67
67
|
- lib/aws-sdk-iotsecuretunneling/resource.rb
|
68
68
|
- lib/aws-sdk-iotsecuretunneling/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-iotsecuretunneling
|
74
79
|
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-iotsecuretunneling/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 - AWS IoT Secure Tunneling
|
94
99
|
test_files: []
|