aws-sdk-iot1clickdevicesservice 1.48.0 → 1.50.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iot1clickdevicesservice/client.rb +70 -46
- data/lib/aws-sdk-iot1clickdevicesservice/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-iot1clickdevicesservice.rb +1 -1
- data/sig/client.rbs +216 -0
- data/sig/errors.rbs +44 -0
- data/sig/resource.rbs +79 -0
- data/sig/types.rbs +233 -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: 0f40be81258dc9073d93f6a3eaa287b77c0f599e83ca36bffa09a44291a714a3
|
4
|
+
data.tar.gz: abda4fbe87b683ff46eea3eecc263423d2d7fa6ea40f05a21212749e59a830a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d792c366eca51a7cf27dc4c5cb22c35f34751f5060684f93158babd77ef58a3e4016070b0a0cc91c87ef4a8c2504072f5e7680f57dac1f857db9f63b75c417c5
|
7
|
+
data.tar.gz: e6af39dcee330647517782dae0a73f54d98eacfa7d0f323adba2435ed7bc26249d0edd80b3296926af2dbf963a85aac8bcb1bc75ab9bf842333a0bea175b450d
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.50.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.49.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.48.0 (2023-11-28)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.50.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::IoT1ClickDevicesService
|
|
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::IoT1ClickDevicesService
|
|
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
|
@@ -337,50 +346,65 @@ module Aws::IoT1ClickDevicesService
|
|
337
346
|
# @option options [Aws::IoT1ClickDevicesService::EndpointProvider] :endpoint_provider
|
338
347
|
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::IoT1ClickDevicesService::EndpointParameters`
|
339
348
|
#
|
340
|
-
# @option options [
|
341
|
-
#
|
342
|
-
#
|
343
|
-
#
|
344
|
-
#
|
345
|
-
#
|
346
|
-
#
|
347
|
-
#
|
348
|
-
#
|
349
|
-
#
|
350
|
-
#
|
351
|
-
# @option options [Float] :
|
352
|
-
#
|
353
|
-
#
|
354
|
-
#
|
355
|
-
#
|
356
|
-
#
|
357
|
-
#
|
358
|
-
#
|
359
|
-
#
|
360
|
-
#
|
361
|
-
#
|
362
|
-
#
|
363
|
-
#
|
364
|
-
#
|
349
|
+
# @option options [Float] :http_continue_timeout (1)
|
350
|
+
# The number of seconds to wait for a 100-continue response before sending the
|
351
|
+
# request body. This option has no effect unless the request has "Expect"
|
352
|
+
# header set to "100-continue". Defaults to `nil` which disables this
|
353
|
+
# behaviour. This value can safely be set per request on the session.
|
354
|
+
#
|
355
|
+
# @option options [Float] :http_idle_timeout (5)
|
356
|
+
# The number of seconds a connection is allowed to sit idle before it
|
357
|
+
# is considered stale. Stale connections are closed and removed from the
|
358
|
+
# pool before making a request.
|
359
|
+
#
|
360
|
+
# @option options [Float] :http_open_timeout (15)
|
361
|
+
# The default number of seconds to wait for response data.
|
362
|
+
# This value can safely be set per-request on the session.
|
363
|
+
#
|
364
|
+
# @option options [URI::HTTP,String] :http_proxy
|
365
|
+
# A proxy to send requests through. Formatted like 'http://proxy.com:123'.
|
366
|
+
#
|
367
|
+
# @option options [Float] :http_read_timeout (60)
|
368
|
+
# The default number of seconds to wait for response data.
|
369
|
+
# This value can safely be set per-request on the session.
|
370
|
+
#
|
371
|
+
# @option options [Boolean] :http_wire_trace (false)
|
372
|
+
# When `true`, HTTP debug output will be sent to the `:logger`.
|
373
|
+
#
|
374
|
+
# @option options [Proc] :on_chunk_received
|
375
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
376
|
+
# of the response body is received. It provides three arguments: the chunk,
|
377
|
+
# the number of bytes received, and the total number of
|
378
|
+
# bytes in the response (or nil if the server did not send a `content-length`).
|
379
|
+
#
|
380
|
+
# @option options [Proc] :on_chunk_sent
|
381
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
382
|
+
# of the request body is sent. It provides three arguments: the chunk,
|
383
|
+
# the number of bytes read from the body, and the total number of
|
384
|
+
# bytes in the body.
|
385
|
+
#
|
386
|
+
# @option options [Boolean] :raise_response_errors (true)
|
387
|
+
# When `true`, response errors are raised.
|
388
|
+
#
|
389
|
+
# @option options [String] :ssl_ca_bundle
|
390
|
+
# Full path to the SSL certificate authority bundle file that should be used when
|
391
|
+
# verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
|
392
|
+
# `:ssl_ca_directory` the the system default will be used if available.
|
393
|
+
#
|
394
|
+
# @option options [String] :ssl_ca_directory
|
395
|
+
# Full path of the directory that contains the unbundled SSL certificate
|
396
|
+
# authority files for verifying peer certificates. If you do
|
397
|
+
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
|
398
|
+
# default will be used if available.
|
365
399
|
#
|
366
|
-
# @option options [
|
367
|
-
#
|
400
|
+
# @option options [String] :ssl_ca_store
|
401
|
+
# Sets the X509::Store to verify peer certificate.
|
368
402
|
#
|
369
|
-
# @option options [
|
370
|
-
#
|
371
|
-
# connection.
|
403
|
+
# @option options [Float] :ssl_timeout
|
404
|
+
# Sets the SSL timeout in seconds
|
372
405
|
#
|
373
|
-
# @option options [
|
374
|
-
#
|
375
|
-
# verifying peer certificates. If you do not pass
|
376
|
-
# `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
|
377
|
-
# will be used if available.
|
378
|
-
#
|
379
|
-
# @option options [String] :ssl_ca_directory Full path of the
|
380
|
-
# directory that contains the unbundled SSL certificate
|
381
|
-
# authority files for verifying peer certificates. If you do
|
382
|
-
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
|
383
|
-
# system default will be used if available.
|
406
|
+
# @option options [Boolean] :ssl_verify_peer (true)
|
407
|
+
# When `true`, SSL peer certificates are verified when establishing a connection.
|
384
408
|
#
|
385
409
|
def initialize(*args)
|
386
410
|
super
|
@@ -837,7 +861,7 @@ module Aws::IoT1ClickDevicesService
|
|
837
861
|
params: params,
|
838
862
|
config: config)
|
839
863
|
context[:gem_name] = 'aws-sdk-iot1clickdevicesservice'
|
840
|
-
context[:gem_version] = '1.
|
864
|
+
context[:gem_version] = '1.50.0'
|
841
865
|
Seahorse::Client::Request.new(handlers, context)
|
842
866
|
end
|
843
867
|
|
@@ -14,6 +14,7 @@ module Aws::IoT1ClickDevicesService
|
|
14
14
|
option(
|
15
15
|
:endpoint_provider,
|
16
16
|
doc_type: 'Aws::IoT1ClickDevicesService::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,216 @@
|
|
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 IoT1ClickDevicesService
|
10
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT1ClickDevicesService/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
|
+
?stub_responses: untyped,
|
52
|
+
?token_provider: untyped,
|
53
|
+
?use_dualstack_endpoint: bool,
|
54
|
+
?use_fips_endpoint: bool,
|
55
|
+
?validate_params: bool,
|
56
|
+
?endpoint_provider: untyped,
|
57
|
+
?http_proxy: String,
|
58
|
+
?http_open_timeout: (Float | Integer),
|
59
|
+
?http_read_timeout: (Float | Integer),
|
60
|
+
?http_idle_timeout: (Float | Integer),
|
61
|
+
?http_continue_timeout: (Float | Integer),
|
62
|
+
?ssl_timeout: (Float | Integer | nil),
|
63
|
+
?http_wire_trace: bool,
|
64
|
+
?ssl_verify_peer: bool,
|
65
|
+
?ssl_ca_bundle: String,
|
66
|
+
?ssl_ca_directory: String,
|
67
|
+
?ssl_ca_store: String,
|
68
|
+
?on_chunk_received: Proc,
|
69
|
+
?on_chunk_sent: Proc,
|
70
|
+
?raise_response_errors: bool
|
71
|
+
) -> instance
|
72
|
+
| (?Hash[Symbol, untyped]) -> instance
|
73
|
+
|
74
|
+
|
75
|
+
interface _ClaimDevicesByClaimCodeResponseSuccess
|
76
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ClaimDevicesByClaimCodeResponse]
|
77
|
+
def claim_code: () -> ::String
|
78
|
+
def total: () -> ::Integer
|
79
|
+
end
|
80
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT1ClickDevicesService/Client.html#claim_devices_by_claim_code-instance_method
|
81
|
+
def claim_devices_by_claim_code: (
|
82
|
+
claim_code: ::String
|
83
|
+
) -> _ClaimDevicesByClaimCodeResponseSuccess
|
84
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ClaimDevicesByClaimCodeResponseSuccess
|
85
|
+
|
86
|
+
interface _DescribeDeviceResponseSuccess
|
87
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeDeviceResponse]
|
88
|
+
def device_description: () -> Types::DeviceDescription
|
89
|
+
end
|
90
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT1ClickDevicesService/Client.html#describe_device-instance_method
|
91
|
+
def describe_device: (
|
92
|
+
device_id: ::String
|
93
|
+
) -> _DescribeDeviceResponseSuccess
|
94
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeDeviceResponseSuccess
|
95
|
+
|
96
|
+
interface _FinalizeDeviceClaimResponseSuccess
|
97
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::FinalizeDeviceClaimResponse]
|
98
|
+
def state: () -> ::String
|
99
|
+
end
|
100
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT1ClickDevicesService/Client.html#finalize_device_claim-instance_method
|
101
|
+
def finalize_device_claim: (
|
102
|
+
device_id: ::String,
|
103
|
+
?tags: Hash[::String, ::String]
|
104
|
+
) -> _FinalizeDeviceClaimResponseSuccess
|
105
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _FinalizeDeviceClaimResponseSuccess
|
106
|
+
|
107
|
+
interface _GetDeviceMethodsResponseSuccess
|
108
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetDeviceMethodsResponse]
|
109
|
+
def device_methods: () -> ::Array[Types::DeviceMethod]
|
110
|
+
end
|
111
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT1ClickDevicesService/Client.html#get_device_methods-instance_method
|
112
|
+
def get_device_methods: (
|
113
|
+
device_id: ::String
|
114
|
+
) -> _GetDeviceMethodsResponseSuccess
|
115
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDeviceMethodsResponseSuccess
|
116
|
+
|
117
|
+
interface _InitiateDeviceClaimResponseSuccess
|
118
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::InitiateDeviceClaimResponse]
|
119
|
+
def state: () -> ::String
|
120
|
+
end
|
121
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT1ClickDevicesService/Client.html#initiate_device_claim-instance_method
|
122
|
+
def initiate_device_claim: (
|
123
|
+
device_id: ::String
|
124
|
+
) -> _InitiateDeviceClaimResponseSuccess
|
125
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _InitiateDeviceClaimResponseSuccess
|
126
|
+
|
127
|
+
interface _InvokeDeviceMethodResponseSuccess
|
128
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::InvokeDeviceMethodResponse]
|
129
|
+
def device_method_response: () -> ::String
|
130
|
+
end
|
131
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT1ClickDevicesService/Client.html#invoke_device_method-instance_method
|
132
|
+
def invoke_device_method: (
|
133
|
+
device_id: ::String,
|
134
|
+
?device_method: {
|
135
|
+
device_type: ::String?,
|
136
|
+
method_name: ::String?
|
137
|
+
},
|
138
|
+
?device_method_parameters: ::String
|
139
|
+
) -> _InvokeDeviceMethodResponseSuccess
|
140
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _InvokeDeviceMethodResponseSuccess
|
141
|
+
|
142
|
+
interface _ListDeviceEventsResponseSuccess
|
143
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListDeviceEventsResponse]
|
144
|
+
def events: () -> ::Array[Types::DeviceEvent]
|
145
|
+
def next_token: () -> ::String
|
146
|
+
end
|
147
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT1ClickDevicesService/Client.html#list_device_events-instance_method
|
148
|
+
def list_device_events: (
|
149
|
+
device_id: ::String,
|
150
|
+
from_time_stamp: ::Time,
|
151
|
+
?max_results: ::Integer,
|
152
|
+
?next_token: ::String,
|
153
|
+
to_time_stamp: ::Time
|
154
|
+
) -> _ListDeviceEventsResponseSuccess
|
155
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDeviceEventsResponseSuccess
|
156
|
+
|
157
|
+
interface _ListDevicesResponseSuccess
|
158
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListDevicesResponse]
|
159
|
+
def devices: () -> ::Array[Types::DeviceDescription]
|
160
|
+
def next_token: () -> ::String
|
161
|
+
end
|
162
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT1ClickDevicesService/Client.html#list_devices-instance_method
|
163
|
+
def list_devices: (
|
164
|
+
?device_type: ::String,
|
165
|
+
?max_results: ::Integer,
|
166
|
+
?next_token: ::String
|
167
|
+
) -> _ListDevicesResponseSuccess
|
168
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDevicesResponseSuccess
|
169
|
+
|
170
|
+
interface _ListTagsForResourceResponseSuccess
|
171
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
172
|
+
def tags: () -> ::Hash[::String, ::String]
|
173
|
+
end
|
174
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT1ClickDevicesService/Client.html#list_tags_for_resource-instance_method
|
175
|
+
def list_tags_for_resource: (
|
176
|
+
resource_arn: ::String
|
177
|
+
) -> _ListTagsForResourceResponseSuccess
|
178
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
179
|
+
|
180
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT1ClickDevicesService/Client.html#tag_resource-instance_method
|
181
|
+
def tag_resource: (
|
182
|
+
resource_arn: ::String,
|
183
|
+
tags: Hash[::String, ::String]
|
184
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
185
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
186
|
+
|
187
|
+
interface _UnclaimDeviceResponseSuccess
|
188
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UnclaimDeviceResponse]
|
189
|
+
def state: () -> ::String
|
190
|
+
end
|
191
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT1ClickDevicesService/Client.html#unclaim_device-instance_method
|
192
|
+
def unclaim_device: (
|
193
|
+
device_id: ::String
|
194
|
+
) -> _UnclaimDeviceResponseSuccess
|
195
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UnclaimDeviceResponseSuccess
|
196
|
+
|
197
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT1ClickDevicesService/Client.html#untag_resource-instance_method
|
198
|
+
def untag_resource: (
|
199
|
+
resource_arn: ::String,
|
200
|
+
tag_keys: Array[::String]
|
201
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
202
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
203
|
+
|
204
|
+
interface _UpdateDeviceStateResponseSuccess
|
205
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDeviceStateResponse]
|
206
|
+
end
|
207
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT1ClickDevicesService/Client.html#update_device_state-instance_method
|
208
|
+
def update_device_state: (
|
209
|
+
device_id: ::String,
|
210
|
+
?enabled: bool
|
211
|
+
) -> _UpdateDeviceStateResponseSuccess
|
212
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDeviceStateResponseSuccess
|
213
|
+
end
|
214
|
+
end
|
215
|
+
end
|
216
|
+
|
data/sig/errors.rbs
ADDED
@@ -0,0 +1,44 @@
|
|
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 IoT1ClickDevicesService
|
10
|
+
module Errors
|
11
|
+
class ServiceError < ::Aws::Errors::ServiceError
|
12
|
+
end
|
13
|
+
|
14
|
+
class ForbiddenException < ::Aws::Errors::ServiceError
|
15
|
+
def code: () -> ::String
|
16
|
+
def message: () -> ::String
|
17
|
+
end
|
18
|
+
class InternalFailureException < ::Aws::Errors::ServiceError
|
19
|
+
def code: () -> ::String
|
20
|
+
def message: () -> ::String
|
21
|
+
end
|
22
|
+
class InvalidRequestException < ::Aws::Errors::ServiceError
|
23
|
+
def code: () -> ::String
|
24
|
+
def message: () -> ::String
|
25
|
+
end
|
26
|
+
class PreconditionFailedException < ::Aws::Errors::ServiceError
|
27
|
+
def code: () -> ::String
|
28
|
+
def message: () -> ::String
|
29
|
+
end
|
30
|
+
class RangeNotSatisfiableException < ::Aws::Errors::ServiceError
|
31
|
+
def code: () -> ::String
|
32
|
+
def message: () -> ::String
|
33
|
+
end
|
34
|
+
class ResourceConflictException < ::Aws::Errors::ServiceError
|
35
|
+
def code: () -> ::String
|
36
|
+
def message: () -> ::String
|
37
|
+
end
|
38
|
+
class ResourceNotFoundException < ::Aws::Errors::ServiceError
|
39
|
+
def code: () -> ::String
|
40
|
+
def message: () -> ::String
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
data/sig/resource.rbs
ADDED
@@ -0,0 +1,79 @@
|
|
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 IoT1ClickDevicesService
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT1ClickDevicesService/Resource.html
|
11
|
+
class Resource
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT1ClickDevicesService/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
|
+
?stub_responses: untyped,
|
52
|
+
?token_provider: untyped,
|
53
|
+
?use_dualstack_endpoint: bool,
|
54
|
+
?use_fips_endpoint: bool,
|
55
|
+
?validate_params: bool,
|
56
|
+
?endpoint_provider: untyped,
|
57
|
+
?http_proxy: String,
|
58
|
+
?http_open_timeout: (Float | Integer),
|
59
|
+
?http_read_timeout: (Float | Integer),
|
60
|
+
?http_idle_timeout: (Float | Integer),
|
61
|
+
?http_continue_timeout: (Float | Integer),
|
62
|
+
?ssl_timeout: (Float | Integer | nil),
|
63
|
+
?http_wire_trace: bool,
|
64
|
+
?ssl_verify_peer: bool,
|
65
|
+
?ssl_ca_bundle: String,
|
66
|
+
?ssl_ca_directory: String,
|
67
|
+
?ssl_ca_store: String,
|
68
|
+
?on_chunk_received: Proc,
|
69
|
+
?on_chunk_sent: Proc,
|
70
|
+
?raise_response_errors: bool
|
71
|
+
) -> void
|
72
|
+
| (?Hash[Symbol, untyped]) -> void
|
73
|
+
|
74
|
+
def client: () -> Client
|
75
|
+
|
76
|
+
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
data/sig/types.rbs
ADDED
@@ -0,0 +1,233 @@
|
|
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::IoT1ClickDevicesService
|
9
|
+
module Types
|
10
|
+
|
11
|
+
class Attributes < Aws::EmptyStructure
|
12
|
+
end
|
13
|
+
|
14
|
+
class ClaimDevicesByClaimCodeRequest
|
15
|
+
attr_accessor claim_code: ::String
|
16
|
+
SENSITIVE: []
|
17
|
+
end
|
18
|
+
|
19
|
+
class ClaimDevicesByClaimCodeResponse
|
20
|
+
attr_accessor claim_code: ::String
|
21
|
+
attr_accessor total: ::Integer
|
22
|
+
SENSITIVE: []
|
23
|
+
end
|
24
|
+
|
25
|
+
class DescribeDeviceRequest
|
26
|
+
attr_accessor device_id: ::String
|
27
|
+
SENSITIVE: []
|
28
|
+
end
|
29
|
+
|
30
|
+
class DescribeDeviceResponse
|
31
|
+
attr_accessor device_description: Types::DeviceDescription
|
32
|
+
SENSITIVE: []
|
33
|
+
end
|
34
|
+
|
35
|
+
class Device
|
36
|
+
attr_accessor attributes: Types::Attributes
|
37
|
+
attr_accessor device_id: ::String
|
38
|
+
attr_accessor type: ::String
|
39
|
+
SENSITIVE: []
|
40
|
+
end
|
41
|
+
|
42
|
+
class DeviceClaimResponse
|
43
|
+
attr_accessor state: ::String
|
44
|
+
SENSITIVE: []
|
45
|
+
end
|
46
|
+
|
47
|
+
class DeviceDescription
|
48
|
+
attr_accessor arn: ::String
|
49
|
+
attr_accessor attributes: ::Hash[::String, ::String]
|
50
|
+
attr_accessor device_id: ::String
|
51
|
+
attr_accessor enabled: bool
|
52
|
+
attr_accessor remaining_life: ::Float
|
53
|
+
attr_accessor type: ::String
|
54
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
55
|
+
SENSITIVE: []
|
56
|
+
end
|
57
|
+
|
58
|
+
class DeviceEvent
|
59
|
+
attr_accessor device: Types::Device
|
60
|
+
attr_accessor std_event: ::String
|
61
|
+
SENSITIVE: []
|
62
|
+
end
|
63
|
+
|
64
|
+
class DeviceEventsResponse
|
65
|
+
attr_accessor events: ::Array[Types::DeviceEvent]
|
66
|
+
attr_accessor next_token: ::String
|
67
|
+
SENSITIVE: []
|
68
|
+
end
|
69
|
+
|
70
|
+
class DeviceMethod
|
71
|
+
attr_accessor device_type: ::String
|
72
|
+
attr_accessor method_name: ::String
|
73
|
+
SENSITIVE: []
|
74
|
+
end
|
75
|
+
|
76
|
+
class Empty < Aws::EmptyStructure
|
77
|
+
end
|
78
|
+
|
79
|
+
class FinalizeDeviceClaimRequest
|
80
|
+
attr_accessor device_id: ::String
|
81
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
82
|
+
SENSITIVE: []
|
83
|
+
end
|
84
|
+
|
85
|
+
class FinalizeDeviceClaimResponse
|
86
|
+
attr_accessor state: ::String
|
87
|
+
SENSITIVE: []
|
88
|
+
end
|
89
|
+
|
90
|
+
class ForbiddenException
|
91
|
+
attr_accessor code: ::String
|
92
|
+
attr_accessor message: ::String
|
93
|
+
SENSITIVE: []
|
94
|
+
end
|
95
|
+
|
96
|
+
class GetDeviceMethodsRequest
|
97
|
+
attr_accessor device_id: ::String
|
98
|
+
SENSITIVE: []
|
99
|
+
end
|
100
|
+
|
101
|
+
class GetDeviceMethodsResponse
|
102
|
+
attr_accessor device_methods: ::Array[Types::DeviceMethod]
|
103
|
+
SENSITIVE: []
|
104
|
+
end
|
105
|
+
|
106
|
+
class InitiateDeviceClaimRequest
|
107
|
+
attr_accessor device_id: ::String
|
108
|
+
SENSITIVE: []
|
109
|
+
end
|
110
|
+
|
111
|
+
class InitiateDeviceClaimResponse
|
112
|
+
attr_accessor state: ::String
|
113
|
+
SENSITIVE: []
|
114
|
+
end
|
115
|
+
|
116
|
+
class InternalFailureException
|
117
|
+
attr_accessor code: ::String
|
118
|
+
attr_accessor message: ::String
|
119
|
+
SENSITIVE: []
|
120
|
+
end
|
121
|
+
|
122
|
+
class InvalidRequestException
|
123
|
+
attr_accessor code: ::String
|
124
|
+
attr_accessor message: ::String
|
125
|
+
SENSITIVE: []
|
126
|
+
end
|
127
|
+
|
128
|
+
class InvokeDeviceMethodRequest
|
129
|
+
attr_accessor device_id: ::String
|
130
|
+
attr_accessor device_method: Types::DeviceMethod
|
131
|
+
attr_accessor device_method_parameters: ::String
|
132
|
+
SENSITIVE: []
|
133
|
+
end
|
134
|
+
|
135
|
+
class InvokeDeviceMethodResponse
|
136
|
+
attr_accessor device_method_response: ::String
|
137
|
+
SENSITIVE: []
|
138
|
+
end
|
139
|
+
|
140
|
+
class ListDeviceEventsRequest
|
141
|
+
attr_accessor device_id: ::String
|
142
|
+
attr_accessor from_time_stamp: ::Time
|
143
|
+
attr_accessor max_results: ::Integer
|
144
|
+
attr_accessor next_token: ::String
|
145
|
+
attr_accessor to_time_stamp: ::Time
|
146
|
+
SENSITIVE: []
|
147
|
+
end
|
148
|
+
|
149
|
+
class ListDeviceEventsResponse
|
150
|
+
attr_accessor events: ::Array[Types::DeviceEvent]
|
151
|
+
attr_accessor next_token: ::String
|
152
|
+
SENSITIVE: []
|
153
|
+
end
|
154
|
+
|
155
|
+
class ListDevicesRequest
|
156
|
+
attr_accessor device_type: ::String
|
157
|
+
attr_accessor max_results: ::Integer
|
158
|
+
attr_accessor next_token: ::String
|
159
|
+
SENSITIVE: []
|
160
|
+
end
|
161
|
+
|
162
|
+
class ListDevicesResponse
|
163
|
+
attr_accessor devices: ::Array[Types::DeviceDescription]
|
164
|
+
attr_accessor next_token: ::String
|
165
|
+
SENSITIVE: []
|
166
|
+
end
|
167
|
+
|
168
|
+
class ListTagsForResourceRequest
|
169
|
+
attr_accessor resource_arn: ::String
|
170
|
+
SENSITIVE: []
|
171
|
+
end
|
172
|
+
|
173
|
+
class ListTagsForResourceResponse
|
174
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
175
|
+
SENSITIVE: []
|
176
|
+
end
|
177
|
+
|
178
|
+
class PreconditionFailedException
|
179
|
+
attr_accessor code: ::String
|
180
|
+
attr_accessor message: ::String
|
181
|
+
SENSITIVE: []
|
182
|
+
end
|
183
|
+
|
184
|
+
class RangeNotSatisfiableException
|
185
|
+
attr_accessor code: ::String
|
186
|
+
attr_accessor message: ::String
|
187
|
+
SENSITIVE: []
|
188
|
+
end
|
189
|
+
|
190
|
+
class ResourceConflictException
|
191
|
+
attr_accessor code: ::String
|
192
|
+
attr_accessor message: ::String
|
193
|
+
SENSITIVE: []
|
194
|
+
end
|
195
|
+
|
196
|
+
class ResourceNotFoundException
|
197
|
+
attr_accessor code: ::String
|
198
|
+
attr_accessor message: ::String
|
199
|
+
SENSITIVE: []
|
200
|
+
end
|
201
|
+
|
202
|
+
class TagResourceRequest
|
203
|
+
attr_accessor resource_arn: ::String
|
204
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
205
|
+
SENSITIVE: []
|
206
|
+
end
|
207
|
+
|
208
|
+
class UnclaimDeviceRequest
|
209
|
+
attr_accessor device_id: ::String
|
210
|
+
SENSITIVE: []
|
211
|
+
end
|
212
|
+
|
213
|
+
class UnclaimDeviceResponse
|
214
|
+
attr_accessor state: ::String
|
215
|
+
SENSITIVE: []
|
216
|
+
end
|
217
|
+
|
218
|
+
class UntagResourceRequest
|
219
|
+
attr_accessor resource_arn: ::String
|
220
|
+
attr_accessor tag_keys: ::Array[::String]
|
221
|
+
SENSITIVE: []
|
222
|
+
end
|
223
|
+
|
224
|
+
class UpdateDeviceStateRequest
|
225
|
+
attr_accessor device_id: ::String
|
226
|
+
attr_accessor enabled: bool
|
227
|
+
SENSITIVE: []
|
228
|
+
end
|
229
|
+
|
230
|
+
class UpdateDeviceStateResponse < Aws::EmptyStructure
|
231
|
+
end
|
232
|
+
end
|
233
|
+
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 IoT1ClickDevicesService
|
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-iot1clickdevicesservice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.50.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-iot1clickdevicesservice/plugins/endpoints.rb
|
67
67
|
- lib/aws-sdk-iot1clickdevicesservice/resource.rb
|
68
68
|
- lib/aws-sdk-iot1clickdevicesservice/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-iot1clickdevicesservice
|
74
79
|
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-iot1clickdevicesservice/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 1-Click Devices Service
|
94
99
|
test_files: []
|