aws-sdk-iotdataplane 1.53.0 → 1.55.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-iotdataplane/client.rb +70 -46
- data/lib/aws-sdk-iotdataplane/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-iotdataplane.rb +1 -1
- data/sig/client.rbs +166 -0
- data/sig/errors.rbs +46 -0
- data/sig/resource.rbs +79 -0
- data/sig/types.rbs +157 -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: a8a56c39238dc324e3f703d2bfa2ac6390043858aa07672a8734602bfba8a93b
|
4
|
+
data.tar.gz: 06a00bd48af8751cae5a5f3e400194904fe2939aa90dbcb543d3e1ea317233cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2780c74d8ff65c6d53814d74c618fd4fe346e2864e67798cb0cf60cdfae69e7412151156cac4645d88e1f3c81fa00fdb87ac40f7dc4a373bc784b800c89ce962
|
7
|
+
data.tar.gz: db9274d535c861a59ac575a327a8c584fc091dd024fe1ebbd0399e6c2c61f0dec33b6428701eb5ee48c7dda13fa5a1ff525d843a339d7485c2bc8c2c3336575e
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.55.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.54.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.53.0 (2023-11-28)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.55.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::IoTDataPlane
|
|
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::IoTDataPlane
|
|
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::IoTDataPlane
|
|
337
346
|
# @option options [Aws::IoTDataPlane::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::IoTDataPlane::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
|
@@ -790,7 +814,7 @@ module Aws::IoTDataPlane
|
|
790
814
|
params: params,
|
791
815
|
config: config)
|
792
816
|
context[:gem_name] = 'aws-sdk-iotdataplane'
|
793
|
-
context[:gem_version] = '1.
|
817
|
+
context[:gem_version] = '1.55.0'
|
794
818
|
Seahorse::Client::Request.new(handlers, context)
|
795
819
|
end
|
796
820
|
|
@@ -14,6 +14,7 @@ module Aws::IoTDataPlane
|
|
14
14
|
option(
|
15
15
|
:endpoint_provider,
|
16
16
|
doc_type: 'Aws::IoTDataPlane::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/lib/aws-sdk-iotdataplane.rb
CHANGED
data/sig/client.rbs
ADDED
@@ -0,0 +1,166 @@
|
|
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 IoTDataPlane
|
10
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTDataPlane/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 _DeleteThingShadowResponseSuccess
|
76
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteThingShadowResponse]
|
77
|
+
def payload: () -> ::String
|
78
|
+
end
|
79
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTDataPlane/Client.html#delete_thing_shadow-instance_method
|
80
|
+
def delete_thing_shadow: (
|
81
|
+
thing_name: ::String,
|
82
|
+
?shadow_name: ::String
|
83
|
+
) -> _DeleteThingShadowResponseSuccess
|
84
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteThingShadowResponseSuccess
|
85
|
+
|
86
|
+
interface _GetRetainedMessageResponseSuccess
|
87
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetRetainedMessageResponse]
|
88
|
+
def topic: () -> ::String
|
89
|
+
def payload: () -> ::String
|
90
|
+
def qos: () -> ::Integer
|
91
|
+
def last_modified_time: () -> ::Integer
|
92
|
+
def user_properties: () -> ::String
|
93
|
+
end
|
94
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTDataPlane/Client.html#get_retained_message-instance_method
|
95
|
+
def get_retained_message: (
|
96
|
+
topic: ::String
|
97
|
+
) -> _GetRetainedMessageResponseSuccess
|
98
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRetainedMessageResponseSuccess
|
99
|
+
|
100
|
+
interface _GetThingShadowResponseSuccess
|
101
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetThingShadowResponse]
|
102
|
+
def payload: () -> ::String
|
103
|
+
end
|
104
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTDataPlane/Client.html#get_thing_shadow-instance_method
|
105
|
+
def get_thing_shadow: (
|
106
|
+
thing_name: ::String,
|
107
|
+
?shadow_name: ::String
|
108
|
+
) -> _GetThingShadowResponseSuccess
|
109
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetThingShadowResponseSuccess
|
110
|
+
|
111
|
+
interface _ListNamedShadowsForThingResponseSuccess
|
112
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListNamedShadowsForThingResponse]
|
113
|
+
def results: () -> ::Array[::String]
|
114
|
+
def next_token: () -> ::String
|
115
|
+
def timestamp: () -> ::Integer
|
116
|
+
end
|
117
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTDataPlane/Client.html#list_named_shadows_for_thing-instance_method
|
118
|
+
def list_named_shadows_for_thing: (
|
119
|
+
thing_name: ::String,
|
120
|
+
?next_token: ::String,
|
121
|
+
?page_size: ::Integer
|
122
|
+
) -> _ListNamedShadowsForThingResponseSuccess
|
123
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListNamedShadowsForThingResponseSuccess
|
124
|
+
|
125
|
+
interface _ListRetainedMessagesResponseSuccess
|
126
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListRetainedMessagesResponse]
|
127
|
+
def retained_topics: () -> ::Array[Types::RetainedMessageSummary]
|
128
|
+
def next_token: () -> ::String
|
129
|
+
end
|
130
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTDataPlane/Client.html#list_retained_messages-instance_method
|
131
|
+
def list_retained_messages: (
|
132
|
+
?next_token: ::String,
|
133
|
+
?max_results: ::Integer
|
134
|
+
) -> _ListRetainedMessagesResponseSuccess
|
135
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRetainedMessagesResponseSuccess
|
136
|
+
|
137
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTDataPlane/Client.html#publish-instance_method
|
138
|
+
def publish: (
|
139
|
+
topic: ::String,
|
140
|
+
?qos: ::Integer,
|
141
|
+
?retain: bool,
|
142
|
+
?payload: ::String,
|
143
|
+
?user_properties: ::String,
|
144
|
+
?payload_format_indicator: ("UNSPECIFIED_BYTES" | "UTF8_DATA"),
|
145
|
+
?content_type: ::String,
|
146
|
+
?response_topic: ::String,
|
147
|
+
?correlation_data: ::String,
|
148
|
+
?message_expiry: ::Integer
|
149
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
150
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
151
|
+
|
152
|
+
interface _UpdateThingShadowResponseSuccess
|
153
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateThingShadowResponse]
|
154
|
+
def payload: () -> ::String
|
155
|
+
end
|
156
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTDataPlane/Client.html#update_thing_shadow-instance_method
|
157
|
+
def update_thing_shadow: (
|
158
|
+
thing_name: ::String,
|
159
|
+
?shadow_name: ::String,
|
160
|
+
payload: ::String
|
161
|
+
) -> _UpdateThingShadowResponseSuccess
|
162
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateThingShadowResponseSuccess
|
163
|
+
end
|
164
|
+
end
|
165
|
+
end
|
166
|
+
|
data/sig/errors.rbs
ADDED
@@ -0,0 +1,46 @@
|
|
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 IoTDataPlane
|
10
|
+
module Errors
|
11
|
+
class ServiceError < ::Aws::Errors::ServiceError
|
12
|
+
end
|
13
|
+
|
14
|
+
class ConflictException < ::Aws::Errors::ServiceError
|
15
|
+
def message: () -> ::String
|
16
|
+
end
|
17
|
+
class InternalFailureException < ::Aws::Errors::ServiceError
|
18
|
+
def message: () -> ::String
|
19
|
+
end
|
20
|
+
class InvalidRequestException < ::Aws::Errors::ServiceError
|
21
|
+
def message: () -> ::String
|
22
|
+
end
|
23
|
+
class MethodNotAllowedException < ::Aws::Errors::ServiceError
|
24
|
+
def message: () -> ::String
|
25
|
+
end
|
26
|
+
class RequestEntityTooLargeException < ::Aws::Errors::ServiceError
|
27
|
+
def message: () -> ::String
|
28
|
+
end
|
29
|
+
class ResourceNotFoundException < ::Aws::Errors::ServiceError
|
30
|
+
def message: () -> ::String
|
31
|
+
end
|
32
|
+
class ServiceUnavailableException < ::Aws::Errors::ServiceError
|
33
|
+
def message: () -> ::String
|
34
|
+
end
|
35
|
+
class ThrottlingException < ::Aws::Errors::ServiceError
|
36
|
+
def message: () -> ::String
|
37
|
+
end
|
38
|
+
class UnauthorizedException < ::Aws::Errors::ServiceError
|
39
|
+
def message: () -> ::String
|
40
|
+
end
|
41
|
+
class UnsupportedDocumentEncodingException < ::Aws::Errors::ServiceError
|
42
|
+
def message: () -> ::String
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
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 IoTDataPlane
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTDataPlane/Resource.html
|
11
|
+
class Resource
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTDataPlane/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,157 @@
|
|
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::IoTDataPlane
|
9
|
+
module Types
|
10
|
+
|
11
|
+
class ConflictException
|
12
|
+
attr_accessor message: ::String
|
13
|
+
SENSITIVE: []
|
14
|
+
end
|
15
|
+
|
16
|
+
class DeleteThingShadowRequest
|
17
|
+
attr_accessor thing_name: ::String
|
18
|
+
attr_accessor shadow_name: ::String
|
19
|
+
SENSITIVE: []
|
20
|
+
end
|
21
|
+
|
22
|
+
class DeleteThingShadowResponse
|
23
|
+
attr_accessor payload: ::String
|
24
|
+
SENSITIVE: []
|
25
|
+
end
|
26
|
+
|
27
|
+
class GetRetainedMessageRequest
|
28
|
+
attr_accessor topic: ::String
|
29
|
+
SENSITIVE: []
|
30
|
+
end
|
31
|
+
|
32
|
+
class GetRetainedMessageResponse
|
33
|
+
attr_accessor topic: ::String
|
34
|
+
attr_accessor payload: ::String
|
35
|
+
attr_accessor qos: ::Integer
|
36
|
+
attr_accessor last_modified_time: ::Integer
|
37
|
+
attr_accessor user_properties: ::String
|
38
|
+
SENSITIVE: []
|
39
|
+
end
|
40
|
+
|
41
|
+
class GetThingShadowRequest
|
42
|
+
attr_accessor thing_name: ::String
|
43
|
+
attr_accessor shadow_name: ::String
|
44
|
+
SENSITIVE: []
|
45
|
+
end
|
46
|
+
|
47
|
+
class GetThingShadowResponse
|
48
|
+
attr_accessor payload: ::String
|
49
|
+
SENSITIVE: []
|
50
|
+
end
|
51
|
+
|
52
|
+
class InternalFailureException
|
53
|
+
attr_accessor message: ::String
|
54
|
+
SENSITIVE: []
|
55
|
+
end
|
56
|
+
|
57
|
+
class InvalidRequestException
|
58
|
+
attr_accessor message: ::String
|
59
|
+
SENSITIVE: []
|
60
|
+
end
|
61
|
+
|
62
|
+
class ListNamedShadowsForThingRequest
|
63
|
+
attr_accessor thing_name: ::String
|
64
|
+
attr_accessor next_token: ::String
|
65
|
+
attr_accessor page_size: ::Integer
|
66
|
+
SENSITIVE: []
|
67
|
+
end
|
68
|
+
|
69
|
+
class ListNamedShadowsForThingResponse
|
70
|
+
attr_accessor results: ::Array[::String]
|
71
|
+
attr_accessor next_token: ::String
|
72
|
+
attr_accessor timestamp: ::Integer
|
73
|
+
SENSITIVE: []
|
74
|
+
end
|
75
|
+
|
76
|
+
class ListRetainedMessagesRequest
|
77
|
+
attr_accessor next_token: ::String
|
78
|
+
attr_accessor max_results: ::Integer
|
79
|
+
SENSITIVE: []
|
80
|
+
end
|
81
|
+
|
82
|
+
class ListRetainedMessagesResponse
|
83
|
+
attr_accessor retained_topics: ::Array[Types::RetainedMessageSummary]
|
84
|
+
attr_accessor next_token: ::String
|
85
|
+
SENSITIVE: []
|
86
|
+
end
|
87
|
+
|
88
|
+
class MethodNotAllowedException
|
89
|
+
attr_accessor message: ::String
|
90
|
+
SENSITIVE: []
|
91
|
+
end
|
92
|
+
|
93
|
+
class PublishRequest
|
94
|
+
attr_accessor topic: ::String
|
95
|
+
attr_accessor qos: ::Integer
|
96
|
+
attr_accessor retain: bool
|
97
|
+
attr_accessor payload: ::String
|
98
|
+
attr_accessor user_properties: ::String
|
99
|
+
attr_accessor payload_format_indicator: ("UNSPECIFIED_BYTES" | "UTF8_DATA")
|
100
|
+
attr_accessor content_type: ::String
|
101
|
+
attr_accessor response_topic: ::String
|
102
|
+
attr_accessor correlation_data: ::String
|
103
|
+
attr_accessor message_expiry: ::Integer
|
104
|
+
SENSITIVE: []
|
105
|
+
end
|
106
|
+
|
107
|
+
class RequestEntityTooLargeException
|
108
|
+
attr_accessor message: ::String
|
109
|
+
SENSITIVE: []
|
110
|
+
end
|
111
|
+
|
112
|
+
class ResourceNotFoundException
|
113
|
+
attr_accessor message: ::String
|
114
|
+
SENSITIVE: []
|
115
|
+
end
|
116
|
+
|
117
|
+
class RetainedMessageSummary
|
118
|
+
attr_accessor topic: ::String
|
119
|
+
attr_accessor payload_size: ::Integer
|
120
|
+
attr_accessor qos: ::Integer
|
121
|
+
attr_accessor last_modified_time: ::Integer
|
122
|
+
SENSITIVE: []
|
123
|
+
end
|
124
|
+
|
125
|
+
class ServiceUnavailableException
|
126
|
+
attr_accessor message: ::String
|
127
|
+
SENSITIVE: []
|
128
|
+
end
|
129
|
+
|
130
|
+
class ThrottlingException
|
131
|
+
attr_accessor message: ::String
|
132
|
+
SENSITIVE: []
|
133
|
+
end
|
134
|
+
|
135
|
+
class UnauthorizedException
|
136
|
+
attr_accessor message: ::String
|
137
|
+
SENSITIVE: []
|
138
|
+
end
|
139
|
+
|
140
|
+
class UnsupportedDocumentEncodingException
|
141
|
+
attr_accessor message: ::String
|
142
|
+
SENSITIVE: []
|
143
|
+
end
|
144
|
+
|
145
|
+
class UpdateThingShadowRequest
|
146
|
+
attr_accessor thing_name: ::String
|
147
|
+
attr_accessor shadow_name: ::String
|
148
|
+
attr_accessor payload: ::String
|
149
|
+
SENSITIVE: []
|
150
|
+
end
|
151
|
+
|
152
|
+
class UpdateThingShadowResponse
|
153
|
+
attr_accessor payload: ::String
|
154
|
+
SENSITIVE: []
|
155
|
+
end
|
156
|
+
end
|
157
|
+
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 IoTDataPlane
|
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-iotdataplane
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.55.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-iotdataplane/plugins/endpoints.rb
|
67
67
|
- lib/aws-sdk-iotdataplane/resource.rb
|
68
68
|
- lib/aws-sdk-iotdataplane/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-iotdataplane
|
74
79
|
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-iotdataplane/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 Data Plane
|
94
99
|
test_files: []
|