aws-sdk-iotsecuretunneling 1.21.0 → 1.23.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: 77218c860940699b9f07885a9aa2d35f488390e9bf544ad5680fc7badc3f8a12
4
- data.tar.gz: 30fc5fd451483f480a809c4aa6dc04efa65ebd19c8168cf9fae88255da4aec00
3
+ metadata.gz: cfed53ff015928ef170654050d4cdde31d5d79ee5e46a3064095bd05f5a4a4c9
4
+ data.tar.gz: 54ba75a785b4ddf1053395ab8827e4f2eed40e835414d237a305476d36b96c05
5
5
  SHA512:
6
- metadata.gz: 00c0d37f8b2d0a471b39a28d3b269f108f87a566e104bcd7261a5f190791f6ebb8db63fa4451c324d1250bc6d3b23ee1077076e527bcc24bff1bc67eb99211e2
7
- data.tar.gz: 4cdee4c9718267d1c6a563103c8bb3f6fb400c34076d00a7e6fe057f0b2228bb05755dbd7fef8c82f16c87b7708ebec126a5d950e23229e20d752db252a43300
6
+ metadata.gz: 51cb66d64bc8fff9b085af9fff157de8bfc4ff1e0b527d223406dc07082efc15c64c832bed7c45fa548e3cd74deb7d4f6550c926698e1ab0f3fbeeef0c4e59e5
7
+ data.tar.gz: 2352d51bdb3be00d04bef6307f286e4d164510a9133c7b0a7af755b9eff8da9fad0319e93b4ca9f8aefa0259852ffa9236b053a787474d90bb26dd36ace00dd0
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.23.0 (2023-01-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
10
+
11
+ 1.22.0 (2022-10-25)
12
+ ------------------
13
+
14
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
15
+
4
16
  1.21.0 (2022-05-04)
5
17
  ------------------
6
18
 
@@ -115,4 +127,4 @@ Unreleased Changes
115
127
  1.0.0 (2019-11-25)
116
128
  ------------------
117
129
 
118
- * Feature - Initial release of `aws-sdk-iotsecuretunneling`.
130
+ * Feature - Initial release of `aws-sdk-iotsecuretunneling`.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.21.0
1
+ 1.23.0
@@ -30,7 +30,7 @@ require 'aws-sdk-core/plugins/http_checksum.rb'
30
30
  require 'aws-sdk-core/plugins/checksum_algorithm.rb'
31
31
  require 'aws-sdk-core/plugins/defaults_mode.rb'
32
32
  require 'aws-sdk-core/plugins/recursion_detection.rb'
33
- require 'aws-sdk-core/plugins/signature_v4.rb'
33
+ require 'aws-sdk-core/plugins/sign.rb'
34
34
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
35
35
 
36
36
  Aws::Plugins::GlobalConfiguration.add_identifier(:iotsecuretunneling)
@@ -79,8 +79,9 @@ module Aws::IoTSecureTunneling
79
79
  add_plugin(Aws::Plugins::ChecksumAlgorithm)
80
80
  add_plugin(Aws::Plugins::DefaultsMode)
81
81
  add_plugin(Aws::Plugins::RecursionDetection)
82
- add_plugin(Aws::Plugins::SignatureV4)
82
+ add_plugin(Aws::Plugins::Sign)
83
83
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
84
+ add_plugin(Aws::IoTSecureTunneling::Plugins::Endpoints)
84
85
 
85
86
  # @overload initialize(options)
86
87
  # @param [Hash] options
@@ -297,6 +298,19 @@ module Aws::IoTSecureTunneling
297
298
  # ** Please note ** When response stubbing is enabled, no HTTP
298
299
  # requests are made, and retries are disabled.
299
300
  #
301
+ # @option options [Aws::TokenProvider] :token_provider
302
+ # A Bearer Token Provider. This can be an instance of any one of the
303
+ # following classes:
304
+ #
305
+ # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
306
+ # tokens.
307
+ #
308
+ # * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
309
+ # access token generated from `aws login`.
310
+ #
311
+ # When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
312
+ # will be used to search for tokens configured for your profile in shared configuration files.
313
+ #
300
314
  # @option options [Boolean] :use_dualstack_endpoint
301
315
  # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
302
316
  # will be used if available.
@@ -310,6 +324,9 @@ module Aws::IoTSecureTunneling
310
324
  # When `true`, request parameters are validated before
311
325
  # sending the request.
312
326
  #
327
+ # @option options [Aws::IoTSecureTunneling::EndpointProvider] :endpoint_provider
328
+ # 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`
329
+ #
313
330
  # @option options [URI::HTTP,String] :http_proxy A proxy to send
314
331
  # requests through. Formatted like 'http://proxy.com:123'.
315
332
  #
@@ -707,7 +724,7 @@ module Aws::IoTSecureTunneling
707
724
  params: params,
708
725
  config: config)
709
726
  context[:gem_name] = 'aws-sdk-iotsecuretunneling'
710
- context[:gem_version] = '1.21.0'
727
+ context[:gem_version] = '1.23.0'
711
728
  Seahorse::Client::Request.new(handlers, context)
712
729
  end
713
730
 
@@ -0,0 +1,66 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::IoTSecureTunneling
11
+ # Endpoint parameters used to influence endpoints per request.
12
+ #
13
+ # @!attribute region
14
+ # The AWS region used to dispatch the request.
15
+ #
16
+ # @return [String]
17
+ #
18
+ # @!attribute use_dual_stack
19
+ # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
20
+ #
21
+ # @return [Boolean]
22
+ #
23
+ # @!attribute use_fips
24
+ # When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
25
+ #
26
+ # @return [Boolean]
27
+ #
28
+ # @!attribute endpoint
29
+ # Override the endpoint used to send this request
30
+ #
31
+ # @return [String]
32
+ #
33
+ EndpointParameters = Struct.new(
34
+ :region,
35
+ :use_dual_stack,
36
+ :use_fips,
37
+ :endpoint,
38
+ ) do
39
+ include Aws::Structure
40
+
41
+ # @api private
42
+ class << self
43
+ PARAM_MAP = {
44
+ 'Region' => :region,
45
+ 'UseDualStack' => :use_dual_stack,
46
+ 'UseFIPS' => :use_fips,
47
+ 'Endpoint' => :endpoint,
48
+ }.freeze
49
+ end
50
+
51
+ def initialize(options = {})
52
+ self[:region] = options[:region]
53
+ self[:use_dual_stack] = options[:use_dual_stack]
54
+ self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
+ if self[:use_dual_stack].nil?
56
+ raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
+ end
58
+ self[:use_fips] = options[:use_fips]
59
+ self[:use_fips] = false if self[:use_fips].nil?
60
+ if self[:use_fips].nil?
61
+ raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
+ end
63
+ self[:endpoint] = options[:endpoint]
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,57 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::IoTSecureTunneling
11
+ class EndpointProvider
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
+ if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
19
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
+ end
22
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
+ end
25
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
+ end
27
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
+ return Aws::Endpoints::Endpoint.new(url: "https://api.tunneling.iot-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
+ end
31
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
+ end
33
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.string_equals?("aws", Aws::Endpoints::Matchers.attr(partition_result, "name"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://api.tunneling.iot-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
39
+ return Aws::Endpoints::Endpoint.new(url: "https://api.tunneling.iot-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
40
+ end
41
+ return Aws::Endpoints::Endpoint.new(url: "https://api.tunneling.iot-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
42
+ end
43
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
44
+ end
45
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
46
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
47
+ return Aws::Endpoints::Endpoint.new(url: "https://api.tunneling.iot.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
48
+ end
49
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
50
+ end
51
+ return Aws::Endpoints::Endpoint.new(url: "https://api.tunneling.iot.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
52
+ end
53
+ raise ArgumentError, 'No endpoint could be resolved'
54
+
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,127 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ module Aws::IoTSecureTunneling
12
+ module Endpoints
13
+
14
+ class CloseTunnel
15
+ def self.build(context)
16
+ unless context.config.regional_endpoint
17
+ endpoint = context.config.endpoint.to_s
18
+ end
19
+ Aws::IoTSecureTunneling::EndpointParameters.new(
20
+ region: context.config.region,
21
+ use_dual_stack: context.config.use_dualstack_endpoint,
22
+ use_fips: context.config.use_fips_endpoint,
23
+ endpoint: endpoint,
24
+ )
25
+ end
26
+ end
27
+
28
+ class DescribeTunnel
29
+ def self.build(context)
30
+ unless context.config.regional_endpoint
31
+ endpoint = context.config.endpoint.to_s
32
+ end
33
+ Aws::IoTSecureTunneling::EndpointParameters.new(
34
+ region: context.config.region,
35
+ use_dual_stack: context.config.use_dualstack_endpoint,
36
+ use_fips: context.config.use_fips_endpoint,
37
+ endpoint: endpoint,
38
+ )
39
+ end
40
+ end
41
+
42
+ class ListTagsForResource
43
+ def self.build(context)
44
+ unless context.config.regional_endpoint
45
+ endpoint = context.config.endpoint.to_s
46
+ end
47
+ Aws::IoTSecureTunneling::EndpointParameters.new(
48
+ region: context.config.region,
49
+ use_dual_stack: context.config.use_dualstack_endpoint,
50
+ use_fips: context.config.use_fips_endpoint,
51
+ endpoint: endpoint,
52
+ )
53
+ end
54
+ end
55
+
56
+ class ListTunnels
57
+ def self.build(context)
58
+ unless context.config.regional_endpoint
59
+ endpoint = context.config.endpoint.to_s
60
+ end
61
+ Aws::IoTSecureTunneling::EndpointParameters.new(
62
+ region: context.config.region,
63
+ use_dual_stack: context.config.use_dualstack_endpoint,
64
+ use_fips: context.config.use_fips_endpoint,
65
+ endpoint: endpoint,
66
+ )
67
+ end
68
+ end
69
+
70
+ class OpenTunnel
71
+ def self.build(context)
72
+ unless context.config.regional_endpoint
73
+ endpoint = context.config.endpoint.to_s
74
+ end
75
+ Aws::IoTSecureTunneling::EndpointParameters.new(
76
+ region: context.config.region,
77
+ use_dual_stack: context.config.use_dualstack_endpoint,
78
+ use_fips: context.config.use_fips_endpoint,
79
+ endpoint: endpoint,
80
+ )
81
+ end
82
+ end
83
+
84
+ class RotateTunnelAccessToken
85
+ def self.build(context)
86
+ unless context.config.regional_endpoint
87
+ endpoint = context.config.endpoint.to_s
88
+ end
89
+ Aws::IoTSecureTunneling::EndpointParameters.new(
90
+ region: context.config.region,
91
+ use_dual_stack: context.config.use_dualstack_endpoint,
92
+ use_fips: context.config.use_fips_endpoint,
93
+ endpoint: endpoint,
94
+ )
95
+ end
96
+ end
97
+
98
+ class TagResource
99
+ def self.build(context)
100
+ unless context.config.regional_endpoint
101
+ endpoint = context.config.endpoint.to_s
102
+ end
103
+ Aws::IoTSecureTunneling::EndpointParameters.new(
104
+ region: context.config.region,
105
+ use_dual_stack: context.config.use_dualstack_endpoint,
106
+ use_fips: context.config.use_fips_endpoint,
107
+ endpoint: endpoint,
108
+ )
109
+ end
110
+ end
111
+
112
+ class UntagResource
113
+ def self.build(context)
114
+ unless context.config.regional_endpoint
115
+ endpoint = context.config.endpoint.to_s
116
+ end
117
+ Aws::IoTSecureTunneling::EndpointParameters.new(
118
+ region: context.config.region,
119
+ use_dual_stack: context.config.use_dualstack_endpoint,
120
+ use_fips: context.config.use_fips_endpoint,
121
+ endpoint: endpoint,
122
+ )
123
+ end
124
+ end
125
+
126
+ end
127
+ end
@@ -0,0 +1,84 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ module Aws::IoTSecureTunneling
12
+ module Plugins
13
+ class Endpoints < Seahorse::Client::Plugin
14
+ option(
15
+ :endpoint_provider,
16
+ doc_type: 'Aws::IoTSecureTunneling::EndpointProvider',
17
+ docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
+ 'object that responds to `#resolve_endpoint(parameters)` '\
19
+ 'where `parameters` is a Struct similar to '\
20
+ '`Aws::IoTSecureTunneling::EndpointParameters`'
21
+ ) do |cfg|
22
+ Aws::IoTSecureTunneling::EndpointProvider.new
23
+ end
24
+
25
+ # @api private
26
+ class Handler < Seahorse::Client::Handler
27
+ def call(context)
28
+ # If endpoint was discovered, do not resolve or apply the endpoint.
29
+ unless context[:discovered_endpoint]
30
+ params = parameters_for_operation(context)
31
+ endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
+
33
+ context.http_request.endpoint = endpoint.url
34
+ apply_endpoint_headers(context, endpoint.headers)
35
+ end
36
+
37
+ context[:endpoint_params] = params
38
+ context[:auth_scheme] =
39
+ Aws::Endpoints.resolve_auth_scheme(context, endpoint)
40
+
41
+ @handler.call(context)
42
+ end
43
+
44
+ private
45
+
46
+ def apply_endpoint_headers(context, headers)
47
+ headers.each do |key, values|
48
+ value = values
49
+ .compact
50
+ .map { |s| Seahorse::Util.escape_header_list_string(s.to_s) }
51
+ .join(',')
52
+
53
+ context.http_request.headers[key] = value
54
+ end
55
+ end
56
+
57
+ def parameters_for_operation(context)
58
+ case context.operation_name
59
+ when :close_tunnel
60
+ Aws::IoTSecureTunneling::Endpoints::CloseTunnel.build(context)
61
+ when :describe_tunnel
62
+ Aws::IoTSecureTunneling::Endpoints::DescribeTunnel.build(context)
63
+ when :list_tags_for_resource
64
+ Aws::IoTSecureTunneling::Endpoints::ListTagsForResource.build(context)
65
+ when :list_tunnels
66
+ Aws::IoTSecureTunneling::Endpoints::ListTunnels.build(context)
67
+ when :open_tunnel
68
+ Aws::IoTSecureTunneling::Endpoints::OpenTunnel.build(context)
69
+ when :rotate_tunnel_access_token
70
+ Aws::IoTSecureTunneling::Endpoints::RotateTunnelAccessToken.build(context)
71
+ when :tag_resource
72
+ Aws::IoTSecureTunneling::Endpoints::TagResource.build(context)
73
+ when :untag_resource
74
+ Aws::IoTSecureTunneling::Endpoints::UntagResource.build(context)
75
+ end
76
+ end
77
+ end
78
+
79
+ def add_handlers(handlers, _config)
80
+ handlers.add(Handler, step: :build, priority: 75)
81
+ end
82
+ end
83
+ end
84
+ end
@@ -10,14 +10,6 @@
10
10
  module Aws::IoTSecureTunneling
11
11
  module Types
12
12
 
13
- # @note When making an API call, you may pass CloseTunnelRequest
14
- # data as a hash:
15
- #
16
- # {
17
- # tunnel_id: "TunnelId", # required
18
- # delete: false,
19
- # }
20
- #
21
13
  # @!attribute [rw] tunnel_id
22
14
  # The ID of the tunnel to close.
23
15
  # @return [String]
@@ -54,13 +46,6 @@ module Aws::IoTSecureTunneling
54
46
  include Aws::Structure
55
47
  end
56
48
 
57
- # @note When making an API call, you may pass DescribeTunnelRequest
58
- # data as a hash:
59
- #
60
- # {
61
- # tunnel_id: "TunnelId", # required
62
- # }
63
- #
64
49
  # @!attribute [rw] tunnel_id
65
50
  # The tunnel to describe.
66
51
  # @return [String]
@@ -83,14 +68,6 @@ module Aws::IoTSecureTunneling
83
68
 
84
69
  # The destination configuration.
85
70
  #
86
- # @note When making an API call, you may pass DestinationConfig
87
- # data as a hash:
88
- #
89
- # {
90
- # thing_name: "ThingName",
91
- # services: ["Service"], # required
92
- # }
93
- #
94
71
  # @!attribute [rw] thing_name
95
72
  # The name of the IoT thing to which you want to connect.
96
73
  # @return [String]
@@ -121,13 +98,6 @@ module Aws::IoTSecureTunneling
121
98
  include Aws::Structure
122
99
  end
123
100
 
124
- # @note When making an API call, you may pass ListTagsForResourceRequest
125
- # data as a hash:
126
- #
127
- # {
128
- # resource_arn: "AmazonResourceName", # required
129
- # }
130
- #
131
101
  # @!attribute [rw] resource_arn
132
102
  # The resource ARN.
133
103
  # @return [String]
@@ -148,15 +118,6 @@ module Aws::IoTSecureTunneling
148
118
  include Aws::Structure
149
119
  end
150
120
 
151
- # @note When making an API call, you may pass ListTunnelsRequest
152
- # data as a hash:
153
- #
154
- # {
155
- # thing_name: "ThingName",
156
- # max_results: 1,
157
- # next_token: "NextToken",
158
- # }
159
- #
160
121
  # @!attribute [rw] thing_name
161
122
  # The name of the IoT thing associated with the destination device.
162
123
  # @return [String]
@@ -196,26 +157,6 @@ module Aws::IoTSecureTunneling
196
157
  include Aws::Structure
197
158
  end
198
159
 
199
- # @note When making an API call, you may pass OpenTunnelRequest
200
- # data as a hash:
201
- #
202
- # {
203
- # description: "Description",
204
- # tags: [
205
- # {
206
- # key: "TagKey", # required
207
- # value: "TagValue", # required
208
- # },
209
- # ],
210
- # destination_config: {
211
- # thing_name: "ThingName",
212
- # services: ["Service"], # required
213
- # },
214
- # timeout_config: {
215
- # max_lifetime_timeout_minutes: 1,
216
- # },
217
- # }
218
- #
219
160
  # @!attribute [rw] description
220
161
  # A short text description of the tunnel.
221
162
  # @return [String]
@@ -280,18 +221,6 @@ module Aws::IoTSecureTunneling
280
221
  include Aws::Structure
281
222
  end
282
223
 
283
- # @note When making an API call, you may pass RotateTunnelAccessTokenRequest
284
- # data as a hash:
285
- #
286
- # {
287
- # tunnel_id: "TunnelId", # required
288
- # client_mode: "SOURCE", # required, accepts SOURCE, DESTINATION, ALL
289
- # destination_config: {
290
- # thing_name: "ThingName",
291
- # services: ["Service"], # required
292
- # },
293
- # }
294
- #
295
224
  # @!attribute [rw] tunnel_id
296
225
  # The tunnel for which you want to rotate the access tokens.
297
226
  # @return [String]
@@ -338,14 +267,6 @@ module Aws::IoTSecureTunneling
338
267
  # An arbitary key/value pair used to add searchable metadata to secure
339
268
  # tunnel resources.
340
269
  #
341
- # @note When making an API call, you may pass Tag
342
- # data as a hash:
343
- #
344
- # {
345
- # key: "TagKey", # required
346
- # value: "TagValue", # required
347
- # }
348
- #
349
270
  # @!attribute [rw] key
350
271
  # The key of the tag.
351
272
  # @return [String]
@@ -361,19 +282,6 @@ module Aws::IoTSecureTunneling
361
282
  include Aws::Structure
362
283
  end
363
284
 
364
- # @note When making an API call, you may pass TagResourceRequest
365
- # data as a hash:
366
- #
367
- # {
368
- # resource_arn: "AmazonResourceName", # required
369
- # tags: [ # required
370
- # {
371
- # key: "TagKey", # required
372
- # value: "TagValue", # required
373
- # },
374
- # ],
375
- # }
376
- #
377
285
  # @!attribute [rw] resource_arn
378
286
  # The ARN of the resource.
379
287
  # @return [String]
@@ -393,13 +301,6 @@ module Aws::IoTSecureTunneling
393
301
 
394
302
  # Tunnel timeout configuration.
395
303
  #
396
- # @note When making an API call, you may pass TimeoutConfig
397
- # data as a hash:
398
- #
399
- # {
400
- # max_lifetime_timeout_minutes: 1,
401
- # }
402
- #
403
304
  # @!attribute [rw] max_lifetime_timeout_minutes
404
305
  # The maximum amount of time (in minutes) a tunnel can remain open. If
405
306
  # not specified, maxLifetimeTimeoutMinutes defaults to 720 minutes.
@@ -513,14 +414,6 @@ module Aws::IoTSecureTunneling
513
414
  include Aws::Structure
514
415
  end
515
416
 
516
- # @note When making an API call, you may pass UntagResourceRequest
517
- # data as a hash:
518
- #
519
- # {
520
- # resource_arn: "AmazonResourceName", # required
521
- # tag_keys: ["TagKey"], # required
522
- # }
523
- #
524
417
  # @!attribute [rw] resource_arn
525
418
  # The resource ARN.
526
419
  # @return [String]
@@ -13,9 +13,13 @@ require 'aws-sigv4'
13
13
 
14
14
  require_relative 'aws-sdk-iotsecuretunneling/types'
15
15
  require_relative 'aws-sdk-iotsecuretunneling/client_api'
16
+ require_relative 'aws-sdk-iotsecuretunneling/plugins/endpoints.rb'
16
17
  require_relative 'aws-sdk-iotsecuretunneling/client'
17
18
  require_relative 'aws-sdk-iotsecuretunneling/errors'
18
19
  require_relative 'aws-sdk-iotsecuretunneling/resource'
20
+ require_relative 'aws-sdk-iotsecuretunneling/endpoint_parameters'
21
+ require_relative 'aws-sdk-iotsecuretunneling/endpoint_provider'
22
+ require_relative 'aws-sdk-iotsecuretunneling/endpoints'
19
23
  require_relative 'aws-sdk-iotsecuretunneling/customizations'
20
24
 
21
25
  # This module provides support for AWS IoT Secure Tunneling. This module is available in the
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-iotsecuretunneling/customizations'
48
52
  # @!group service
49
53
  module Aws::IoTSecureTunneling
50
54
 
51
- GEM_VERSION = '1.21.0'
55
+ GEM_VERSION = '1.23.0'
52
56
 
53
57
  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.21.0
4
+ version: 1.23.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: 2022-05-04 00:00:00.000000000 Z
11
+ date: 2023-01-18 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.127.0
22
+ version: 3.165.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.127.0
32
+ version: 3.165.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -59,7 +59,11 @@ files:
59
59
  - lib/aws-sdk-iotsecuretunneling/client.rb
60
60
  - lib/aws-sdk-iotsecuretunneling/client_api.rb
61
61
  - lib/aws-sdk-iotsecuretunneling/customizations.rb
62
+ - lib/aws-sdk-iotsecuretunneling/endpoint_parameters.rb
63
+ - lib/aws-sdk-iotsecuretunneling/endpoint_provider.rb
64
+ - lib/aws-sdk-iotsecuretunneling/endpoints.rb
62
65
  - lib/aws-sdk-iotsecuretunneling/errors.rb
66
+ - lib/aws-sdk-iotsecuretunneling/plugins/endpoints.rb
63
67
  - lib/aws-sdk-iotsecuretunneling/resource.rb
64
68
  - lib/aws-sdk-iotsecuretunneling/types.rb
65
69
  homepage: https://github.com/aws/aws-sdk-ruby