aws-sdk-iotsecuretunneling 1.4.1 → 1.9.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/lib/aws-sdk-iotsecuretunneling.rb +5 -2
- data/lib/aws-sdk-iotsecuretunneling/client.rb +27 -10
- data/lib/aws-sdk-iotsecuretunneling/client_api.rb +3 -1
- data/lib/aws-sdk-iotsecuretunneling/errors.rb +2 -0
- data/lib/aws-sdk-iotsecuretunneling/resource.rb +2 -0
- data/lib/aws-sdk-iotsecuretunneling/types.rb +28 -8
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 19e589da19b488e3e7922df7e35ce2af1df54e3fd284f7e977d0dd54c533af72
|
|
4
|
+
data.tar.gz: ae438b27163c9b8aa5cd43b9a48344e955ff63ac041bfcbd0e696438434214b6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: db9b57d398732fbbfedeee8919c2a6c550b9282253b11201689ffd70cd97d6d9aea2ecec203f638c58839bd28f3a4f78b9d033b825372ca5a10cff43d2a0fad1
|
|
7
|
+
data.tar.gz: bf342cdc47c3848dad2a29842e2501cb73cc96b28d78a1665e3a1000453885f1d33bfe84b5ffac7551b0cf79791d2ef1d7988fdce0380c0ddf4584015a35b29d
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
|
2
4
|
#
|
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
|
@@ -5,6 +7,7 @@
|
|
|
5
7
|
#
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
|
7
9
|
|
|
10
|
+
|
|
8
11
|
require 'aws-sdk-core'
|
|
9
12
|
require 'aws-sigv4'
|
|
10
13
|
|
|
@@ -42,9 +45,9 @@ require_relative 'aws-sdk-iotsecuretunneling/customizations'
|
|
|
42
45
|
#
|
|
43
46
|
# See {Errors} for more information.
|
|
44
47
|
#
|
|
45
|
-
#
|
|
48
|
+
# @!group service
|
|
46
49
|
module Aws::IoTSecureTunneling
|
|
47
50
|
|
|
48
|
-
GEM_VERSION = '1.
|
|
51
|
+
GEM_VERSION = '1.9.0'
|
|
49
52
|
|
|
50
53
|
end
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
|
2
4
|
#
|
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
|
@@ -83,13 +85,28 @@ module Aws::IoTSecureTunneling
|
|
|
83
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
|
84
86
|
# credentials.
|
|
85
87
|
#
|
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
|
89
|
+
# shared file, such as `~/.aws/config`.
|
|
90
|
+
#
|
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
|
92
|
+
#
|
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
|
94
|
+
# assume a role after providing credentials via the web.
|
|
95
|
+
#
|
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
|
97
|
+
# access token generated from `aws login`.
|
|
98
|
+
#
|
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
|
100
|
+
# process that outputs to stdout.
|
|
101
|
+
#
|
|
86
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
|
87
103
|
# from an EC2 IMDS on an EC2 instance.
|
|
88
104
|
#
|
|
89
|
-
# * `Aws::
|
|
90
|
-
#
|
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
|
106
|
+
# instances running in ECS.
|
|
91
107
|
#
|
|
92
|
-
# * `Aws::
|
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
|
109
|
+
# from the Cognito Identity service.
|
|
93
110
|
#
|
|
94
111
|
# When `:credentials` are not configured directly, the following
|
|
95
112
|
# locations will be searched for credentials:
|
|
@@ -99,10 +116,10 @@ module Aws::IoTSecureTunneling
|
|
|
99
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
|
100
117
|
# * `~/.aws/credentials`
|
|
101
118
|
# * `~/.aws/config`
|
|
102
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
|
103
|
-
# very aggressive. Construct and pass an instance of
|
|
104
|
-
# `Aws::InstanceProfileCredentails`
|
|
105
|
-
# timeouts.
|
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
|
122
|
+
# enable retries and extended timeouts.
|
|
106
123
|
#
|
|
107
124
|
# @option options [required, String] :region
|
|
108
125
|
# The AWS region to connect to. The configured `:region` is
|
|
@@ -464,7 +481,7 @@ module Aws::IoTSecureTunneling
|
|
|
464
481
|
end
|
|
465
482
|
|
|
466
483
|
# Creates a new tunnel, and returns two client access tokens for clients
|
|
467
|
-
# to use to connect to the AWS IoT Secure Tunneling proxy server.
|
|
484
|
+
# to use to connect to the AWS IoT Secure Tunneling proxy server.
|
|
468
485
|
#
|
|
469
486
|
# @option params [String] :description
|
|
470
487
|
# A short text description of the tunnel.
|
|
@@ -496,7 +513,7 @@ module Aws::IoTSecureTunneling
|
|
|
496
513
|
# },
|
|
497
514
|
# ],
|
|
498
515
|
# destination_config: {
|
|
499
|
-
# thing_name: "ThingName",
|
|
516
|
+
# thing_name: "ThingName",
|
|
500
517
|
# services: ["Service"], # required
|
|
501
518
|
# },
|
|
502
519
|
# timeout_config: {
|
|
@@ -584,7 +601,7 @@ module Aws::IoTSecureTunneling
|
|
|
584
601
|
params: params,
|
|
585
602
|
config: config)
|
|
586
603
|
context[:gem_name] = 'aws-sdk-iotsecuretunneling'
|
|
587
|
-
context[:gem_version] = '1.
|
|
604
|
+
context[:gem_version] = '1.9.0'
|
|
588
605
|
Seahorse::Client::Request.new(handlers, context)
|
|
589
606
|
end
|
|
590
607
|
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
|
2
4
|
#
|
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
|
@@ -71,7 +73,7 @@ module Aws::IoTSecureTunneling
|
|
|
71
73
|
DescribeTunnelResponse.add_member(:tunnel, Shapes::ShapeRef.new(shape: Tunnel, location_name: "tunnel"))
|
|
72
74
|
DescribeTunnelResponse.struct_class = Types::DescribeTunnelResponse
|
|
73
75
|
|
|
74
|
-
DestinationConfig.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName,
|
|
76
|
+
DestinationConfig.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, location_name: "thingName"))
|
|
75
77
|
DestinationConfig.add_member(:services, Shapes::ShapeRef.new(shape: ServiceList, required: true, location_name: "services"))
|
|
76
78
|
DestinationConfig.struct_class = Types::DestinationConfig
|
|
77
79
|
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
|
2
4
|
#
|
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
|
@@ -28,6 +30,7 @@ module Aws::IoTSecureTunneling
|
|
|
28
30
|
class CloseTunnelRequest < Struct.new(
|
|
29
31
|
:tunnel_id,
|
|
30
32
|
:delete)
|
|
33
|
+
SENSITIVE = []
|
|
31
34
|
include Aws::Structure
|
|
32
35
|
end
|
|
33
36
|
|
|
@@ -47,6 +50,7 @@ module Aws::IoTSecureTunneling
|
|
|
47
50
|
class ConnectionState < Struct.new(
|
|
48
51
|
:status,
|
|
49
52
|
:last_updated_at)
|
|
53
|
+
SENSITIVE = []
|
|
50
54
|
include Aws::Structure
|
|
51
55
|
end
|
|
52
56
|
|
|
@@ -63,6 +67,7 @@ module Aws::IoTSecureTunneling
|
|
|
63
67
|
#
|
|
64
68
|
class DescribeTunnelRequest < Struct.new(
|
|
65
69
|
:tunnel_id)
|
|
70
|
+
SENSITIVE = []
|
|
66
71
|
include Aws::Structure
|
|
67
72
|
end
|
|
68
73
|
|
|
@@ -72,6 +77,7 @@ module Aws::IoTSecureTunneling
|
|
|
72
77
|
#
|
|
73
78
|
class DescribeTunnelResponse < Struct.new(
|
|
74
79
|
:tunnel)
|
|
80
|
+
SENSITIVE = []
|
|
75
81
|
include Aws::Structure
|
|
76
82
|
end
|
|
77
83
|
|
|
@@ -81,7 +87,7 @@ module Aws::IoTSecureTunneling
|
|
|
81
87
|
# data as a hash:
|
|
82
88
|
#
|
|
83
89
|
# {
|
|
84
|
-
# thing_name: "ThingName",
|
|
90
|
+
# thing_name: "ThingName",
|
|
85
91
|
# services: ["Service"], # required
|
|
86
92
|
# }
|
|
87
93
|
#
|
|
@@ -90,17 +96,17 @@ module Aws::IoTSecureTunneling
|
|
|
90
96
|
# @return [String]
|
|
91
97
|
#
|
|
92
98
|
# @!attribute [rw] services
|
|
93
|
-
# A list of service names that identity the target application.
|
|
94
|
-
#
|
|
95
|
-
#
|
|
96
|
-
#
|
|
97
|
-
#
|
|
98
|
-
# to the destination application.
|
|
99
|
+
# A list of service names that identity the target application. The
|
|
100
|
+
# AWS IoT client running on the destination device reads this value
|
|
101
|
+
# and uses it to look up a port or an IP address and a port. The AWS
|
|
102
|
+
# IoT client instantiates the local proxy which uses this information
|
|
103
|
+
# to connect to the destination application.
|
|
99
104
|
# @return [Array<String>]
|
|
100
105
|
#
|
|
101
106
|
class DestinationConfig < Struct.new(
|
|
102
107
|
:thing_name,
|
|
103
108
|
:services)
|
|
109
|
+
SENSITIVE = []
|
|
104
110
|
include Aws::Structure
|
|
105
111
|
end
|
|
106
112
|
|
|
@@ -111,6 +117,7 @@ module Aws::IoTSecureTunneling
|
|
|
111
117
|
#
|
|
112
118
|
class LimitExceededException < Struct.new(
|
|
113
119
|
:message)
|
|
120
|
+
SENSITIVE = []
|
|
114
121
|
include Aws::Structure
|
|
115
122
|
end
|
|
116
123
|
|
|
@@ -127,6 +134,7 @@ module Aws::IoTSecureTunneling
|
|
|
127
134
|
#
|
|
128
135
|
class ListTagsForResourceRequest < Struct.new(
|
|
129
136
|
:resource_arn)
|
|
137
|
+
SENSITIVE = []
|
|
130
138
|
include Aws::Structure
|
|
131
139
|
end
|
|
132
140
|
|
|
@@ -136,6 +144,7 @@ module Aws::IoTSecureTunneling
|
|
|
136
144
|
#
|
|
137
145
|
class ListTagsForResourceResponse < Struct.new(
|
|
138
146
|
:tags)
|
|
147
|
+
SENSITIVE = []
|
|
139
148
|
include Aws::Structure
|
|
140
149
|
end
|
|
141
150
|
|
|
@@ -164,6 +173,7 @@ module Aws::IoTSecureTunneling
|
|
|
164
173
|
:thing_name,
|
|
165
174
|
:max_results,
|
|
166
175
|
:next_token)
|
|
176
|
+
SENSITIVE = []
|
|
167
177
|
include Aws::Structure
|
|
168
178
|
end
|
|
169
179
|
|
|
@@ -178,6 +188,7 @@ module Aws::IoTSecureTunneling
|
|
|
178
188
|
class ListTunnelsResponse < Struct.new(
|
|
179
189
|
:tunnel_summaries,
|
|
180
190
|
:next_token)
|
|
191
|
+
SENSITIVE = []
|
|
181
192
|
include Aws::Structure
|
|
182
193
|
end
|
|
183
194
|
|
|
@@ -193,7 +204,7 @@ module Aws::IoTSecureTunneling
|
|
|
193
204
|
# },
|
|
194
205
|
# ],
|
|
195
206
|
# destination_config: {
|
|
196
|
-
# thing_name: "ThingName",
|
|
207
|
+
# thing_name: "ThingName",
|
|
197
208
|
# services: ["Service"], # required
|
|
198
209
|
# },
|
|
199
210
|
# timeout_config: {
|
|
@@ -222,6 +233,7 @@ module Aws::IoTSecureTunneling
|
|
|
222
233
|
:tags,
|
|
223
234
|
:destination_config,
|
|
224
235
|
:timeout_config)
|
|
236
|
+
SENSITIVE = []
|
|
225
237
|
include Aws::Structure
|
|
226
238
|
end
|
|
227
239
|
|
|
@@ -249,6 +261,7 @@ module Aws::IoTSecureTunneling
|
|
|
249
261
|
:tunnel_arn,
|
|
250
262
|
:source_access_token,
|
|
251
263
|
:destination_access_token)
|
|
264
|
+
SENSITIVE = [:source_access_token, :destination_access_token]
|
|
252
265
|
include Aws::Structure
|
|
253
266
|
end
|
|
254
267
|
|
|
@@ -260,6 +273,7 @@ module Aws::IoTSecureTunneling
|
|
|
260
273
|
#
|
|
261
274
|
class ResourceNotFoundException < Struct.new(
|
|
262
275
|
:message)
|
|
276
|
+
SENSITIVE = []
|
|
263
277
|
include Aws::Structure
|
|
264
278
|
end
|
|
265
279
|
|
|
@@ -285,6 +299,7 @@ module Aws::IoTSecureTunneling
|
|
|
285
299
|
class Tag < Struct.new(
|
|
286
300
|
:key,
|
|
287
301
|
:value)
|
|
302
|
+
SENSITIVE = []
|
|
288
303
|
include Aws::Structure
|
|
289
304
|
end
|
|
290
305
|
|
|
@@ -312,6 +327,7 @@ module Aws::IoTSecureTunneling
|
|
|
312
327
|
class TagResourceRequest < Struct.new(
|
|
313
328
|
:resource_arn,
|
|
314
329
|
:tags)
|
|
330
|
+
SENSITIVE = []
|
|
315
331
|
include Aws::Structure
|
|
316
332
|
end
|
|
317
333
|
|
|
@@ -334,6 +350,7 @@ module Aws::IoTSecureTunneling
|
|
|
334
350
|
#
|
|
335
351
|
class TimeoutConfig < Struct.new(
|
|
336
352
|
:max_lifetime_timeout_minutes)
|
|
353
|
+
SENSITIVE = []
|
|
337
354
|
include Aws::Structure
|
|
338
355
|
end
|
|
339
356
|
|
|
@@ -398,6 +415,7 @@ module Aws::IoTSecureTunneling
|
|
|
398
415
|
:tags,
|
|
399
416
|
:created_at,
|
|
400
417
|
:last_updated_at)
|
|
418
|
+
SENSITIVE = []
|
|
401
419
|
include Aws::Structure
|
|
402
420
|
end
|
|
403
421
|
|
|
@@ -435,6 +453,7 @@ module Aws::IoTSecureTunneling
|
|
|
435
453
|
:description,
|
|
436
454
|
:created_at,
|
|
437
455
|
:last_updated_at)
|
|
456
|
+
SENSITIVE = []
|
|
438
457
|
include Aws::Structure
|
|
439
458
|
end
|
|
440
459
|
|
|
@@ -457,6 +476,7 @@ module Aws::IoTSecureTunneling
|
|
|
457
476
|
class UntagResourceRequest < Struct.new(
|
|
458
477
|
:resource_arn,
|
|
459
478
|
:tag_keys)
|
|
479
|
+
SENSITIVE = []
|
|
460
480
|
include Aws::Structure
|
|
461
481
|
end
|
|
462
482
|
|
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.9.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: 2020-
|
|
11
|
+
date: 2020-11-16 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.109.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.109.0
|
|
33
33
|
- !ruby/object:Gem::Dependency
|
|
34
34
|
name: aws-sigv4
|
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|