aws-sdk-iotdataplane 1.11.0 → 1.12.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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5db82c3e8e1cb1c32afc0324516c72098f612ce3
|
4
|
+
data.tar.gz: ea48fb8799fcac488bc4bb7786fe07d8e7f258ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8bb37f1b80562785a52a3a8d03034819e300b2f28f922e8cd4602e9ffe0a6379a7e0a6fcf2e74eacb0bd8c866cf10fb6e10b8cbf63485fd3a1fc2dbae8a2905
|
7
|
+
data.tar.gz: f6ce048ed96a8c4b919c494f17417b93536b25acb54848347140656e4bd21eb9ce4495dc280eeb81b2d2af7fc74476974c9f98e463f26569a66f51d8a7e16968
|
data/lib/aws-sdk-iotdataplane.rb
CHANGED
@@ -36,6 +36,9 @@ module Aws::IoTDataPlane
|
|
36
36
|
UpdateThingShadowResponse = Shapes::StructureShape.new(name: 'UpdateThingShadowResponse')
|
37
37
|
errorMessage = Shapes::StringShape.new(name: 'errorMessage')
|
38
38
|
|
39
|
+
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
40
|
+
ConflictException.struct_class = Types::ConflictException
|
41
|
+
|
39
42
|
DeleteThingShadowRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
|
40
43
|
DeleteThingShadowRequest.struct_class = Types::DeleteThingShadowRequest
|
41
44
|
|
@@ -52,6 +55,15 @@ module Aws::IoTDataPlane
|
|
52
55
|
GetThingShadowResponse[:payload] = :payload
|
53
56
|
GetThingShadowResponse[:payload_member] = GetThingShadowResponse.member(:payload)
|
54
57
|
|
58
|
+
InternalFailureException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
59
|
+
InternalFailureException.struct_class = Types::InternalFailureException
|
60
|
+
|
61
|
+
InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
62
|
+
InvalidRequestException.struct_class = Types::InvalidRequestException
|
63
|
+
|
64
|
+
MethodNotAllowedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
65
|
+
MethodNotAllowedException.struct_class = Types::MethodNotAllowedException
|
66
|
+
|
55
67
|
PublishRequest.add_member(:topic, Shapes::ShapeRef.new(shape: Topic, required: true, location: "uri", location_name: "topic"))
|
56
68
|
PublishRequest.add_member(:qos, Shapes::ShapeRef.new(shape: Qos, location: "querystring", location_name: "qos"))
|
57
69
|
PublishRequest.add_member(:payload, Shapes::ShapeRef.new(shape: Payload, location_name: "payload"))
|
@@ -59,6 +71,24 @@ module Aws::IoTDataPlane
|
|
59
71
|
PublishRequest[:payload] = :payload
|
60
72
|
PublishRequest[:payload_member] = PublishRequest.member(:payload)
|
61
73
|
|
74
|
+
RequestEntityTooLargeException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
75
|
+
RequestEntityTooLargeException.struct_class = Types::RequestEntityTooLargeException
|
76
|
+
|
77
|
+
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
78
|
+
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
79
|
+
|
80
|
+
ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
81
|
+
ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
|
82
|
+
|
83
|
+
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
84
|
+
ThrottlingException.struct_class = Types::ThrottlingException
|
85
|
+
|
86
|
+
UnauthorizedException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
87
|
+
UnauthorizedException.struct_class = Types::UnauthorizedException
|
88
|
+
|
89
|
+
UnsupportedDocumentEncodingException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
90
|
+
UnsupportedDocumentEncodingException.struct_class = Types::UnsupportedDocumentEncodingException
|
91
|
+
|
62
92
|
UpdateThingShadowRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
|
63
93
|
UpdateThingShadowRequest.add_member(:payload, Shapes::ShapeRef.new(shape: JsonDocument, required: true, location_name: "payload"))
|
64
94
|
UpdateThingShadowRequest.struct_class = Types::UpdateThingShadowRequest
|
@@ -10,5 +10,165 @@ module Aws::IoTDataPlane
|
|
10
10
|
|
11
11
|
extend Aws::Errors::DynamicErrors
|
12
12
|
|
13
|
+
class ConflictException < ServiceError
|
14
|
+
|
15
|
+
# @param [Seahorse::Client::RequestContext] context
|
16
|
+
# @param [String] message
|
17
|
+
# @param [Aws::IoTDataPlane::Types::ConflictException] data
|
18
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
19
|
+
super(context, message, data)
|
20
|
+
end
|
21
|
+
|
22
|
+
# @return [String]
|
23
|
+
def message
|
24
|
+
@message || @data[:message]
|
25
|
+
end
|
26
|
+
|
27
|
+
end
|
28
|
+
|
29
|
+
class InternalFailureException < ServiceError
|
30
|
+
|
31
|
+
# @param [Seahorse::Client::RequestContext] context
|
32
|
+
# @param [String] message
|
33
|
+
# @param [Aws::IoTDataPlane::Types::InternalFailureException] data
|
34
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
35
|
+
super(context, message, data)
|
36
|
+
end
|
37
|
+
|
38
|
+
# @return [String]
|
39
|
+
def message
|
40
|
+
@message || @data[:message]
|
41
|
+
end
|
42
|
+
|
43
|
+
end
|
44
|
+
|
45
|
+
class InvalidRequestException < ServiceError
|
46
|
+
|
47
|
+
# @param [Seahorse::Client::RequestContext] context
|
48
|
+
# @param [String] message
|
49
|
+
# @param [Aws::IoTDataPlane::Types::InvalidRequestException] data
|
50
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
51
|
+
super(context, message, data)
|
52
|
+
end
|
53
|
+
|
54
|
+
# @return [String]
|
55
|
+
def message
|
56
|
+
@message || @data[:message]
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
60
|
+
|
61
|
+
class MethodNotAllowedException < ServiceError
|
62
|
+
|
63
|
+
# @param [Seahorse::Client::RequestContext] context
|
64
|
+
# @param [String] message
|
65
|
+
# @param [Aws::IoTDataPlane::Types::MethodNotAllowedException] data
|
66
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
67
|
+
super(context, message, data)
|
68
|
+
end
|
69
|
+
|
70
|
+
# @return [String]
|
71
|
+
def message
|
72
|
+
@message || @data[:message]
|
73
|
+
end
|
74
|
+
|
75
|
+
end
|
76
|
+
|
77
|
+
class RequestEntityTooLargeException < ServiceError
|
78
|
+
|
79
|
+
# @param [Seahorse::Client::RequestContext] context
|
80
|
+
# @param [String] message
|
81
|
+
# @param [Aws::IoTDataPlane::Types::RequestEntityTooLargeException] data
|
82
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
83
|
+
super(context, message, data)
|
84
|
+
end
|
85
|
+
|
86
|
+
# @return [String]
|
87
|
+
def message
|
88
|
+
@message || @data[:message]
|
89
|
+
end
|
90
|
+
|
91
|
+
end
|
92
|
+
|
93
|
+
class ResourceNotFoundException < ServiceError
|
94
|
+
|
95
|
+
# @param [Seahorse::Client::RequestContext] context
|
96
|
+
# @param [String] message
|
97
|
+
# @param [Aws::IoTDataPlane::Types::ResourceNotFoundException] data
|
98
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
99
|
+
super(context, message, data)
|
100
|
+
end
|
101
|
+
|
102
|
+
# @return [String]
|
103
|
+
def message
|
104
|
+
@message || @data[:message]
|
105
|
+
end
|
106
|
+
|
107
|
+
end
|
108
|
+
|
109
|
+
class ServiceUnavailableException < ServiceError
|
110
|
+
|
111
|
+
# @param [Seahorse::Client::RequestContext] context
|
112
|
+
# @param [String] message
|
113
|
+
# @param [Aws::IoTDataPlane::Types::ServiceUnavailableException] data
|
114
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
115
|
+
super(context, message, data)
|
116
|
+
end
|
117
|
+
|
118
|
+
# @return [String]
|
119
|
+
def message
|
120
|
+
@message || @data[:message]
|
121
|
+
end
|
122
|
+
|
123
|
+
end
|
124
|
+
|
125
|
+
class ThrottlingException < ServiceError
|
126
|
+
|
127
|
+
# @param [Seahorse::Client::RequestContext] context
|
128
|
+
# @param [String] message
|
129
|
+
# @param [Aws::IoTDataPlane::Types::ThrottlingException] data
|
130
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
131
|
+
super(context, message, data)
|
132
|
+
end
|
133
|
+
|
134
|
+
# @return [String]
|
135
|
+
def message
|
136
|
+
@message || @data[:message]
|
137
|
+
end
|
138
|
+
|
139
|
+
end
|
140
|
+
|
141
|
+
class UnauthorizedException < ServiceError
|
142
|
+
|
143
|
+
# @param [Seahorse::Client::RequestContext] context
|
144
|
+
# @param [String] message
|
145
|
+
# @param [Aws::IoTDataPlane::Types::UnauthorizedException] data
|
146
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
147
|
+
super(context, message, data)
|
148
|
+
end
|
149
|
+
|
150
|
+
# @return [String]
|
151
|
+
def message
|
152
|
+
@message || @data[:message]
|
153
|
+
end
|
154
|
+
|
155
|
+
end
|
156
|
+
|
157
|
+
class UnsupportedDocumentEncodingException < ServiceError
|
158
|
+
|
159
|
+
# @param [Seahorse::Client::RequestContext] context
|
160
|
+
# @param [String] message
|
161
|
+
# @param [Aws::IoTDataPlane::Types::UnsupportedDocumentEncodingException] data
|
162
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
163
|
+
super(context, message, data)
|
164
|
+
end
|
165
|
+
|
166
|
+
# @return [String]
|
167
|
+
def message
|
168
|
+
@message || @data[:message]
|
169
|
+
end
|
170
|
+
|
171
|
+
end
|
172
|
+
|
13
173
|
end
|
14
174
|
end
|
@@ -8,6 +8,17 @@
|
|
8
8
|
module Aws::IoTDataPlane
|
9
9
|
module Types
|
10
10
|
|
11
|
+
# The specified version does not match the version of the document.
|
12
|
+
#
|
13
|
+
# @!attribute [rw] message
|
14
|
+
# The message for the exception.
|
15
|
+
# @return [String]
|
16
|
+
#
|
17
|
+
class ConflictException < Struct.new(
|
18
|
+
:message)
|
19
|
+
include Aws::Structure
|
20
|
+
end
|
21
|
+
|
11
22
|
# The input for the DeleteThingShadow operation.
|
12
23
|
#
|
13
24
|
# @note When making an API call, you may pass DeleteThingShadowRequest
|
@@ -66,6 +77,39 @@ module Aws::IoTDataPlane
|
|
66
77
|
include Aws::Structure
|
67
78
|
end
|
68
79
|
|
80
|
+
# An unexpected error has occurred.
|
81
|
+
#
|
82
|
+
# @!attribute [rw] message
|
83
|
+
# The message for the exception.
|
84
|
+
# @return [String]
|
85
|
+
#
|
86
|
+
class InternalFailureException < Struct.new(
|
87
|
+
:message)
|
88
|
+
include Aws::Structure
|
89
|
+
end
|
90
|
+
|
91
|
+
# The request is not valid.
|
92
|
+
#
|
93
|
+
# @!attribute [rw] message
|
94
|
+
# The message for the exception.
|
95
|
+
# @return [String]
|
96
|
+
#
|
97
|
+
class InvalidRequestException < Struct.new(
|
98
|
+
:message)
|
99
|
+
include Aws::Structure
|
100
|
+
end
|
101
|
+
|
102
|
+
# The specified combination of HTTP verb and URI is not supported.
|
103
|
+
#
|
104
|
+
# @!attribute [rw] message
|
105
|
+
# The message for the exception.
|
106
|
+
# @return [String]
|
107
|
+
#
|
108
|
+
class MethodNotAllowedException < Struct.new(
|
109
|
+
:message)
|
110
|
+
include Aws::Structure
|
111
|
+
end
|
112
|
+
|
69
113
|
# The input for the Publish operation.
|
70
114
|
#
|
71
115
|
# @note When making an API call, you may pass PublishRequest
|
@@ -96,6 +140,72 @@ module Aws::IoTDataPlane
|
|
96
140
|
include Aws::Structure
|
97
141
|
end
|
98
142
|
|
143
|
+
# The payload exceeds the maximum size allowed.
|
144
|
+
#
|
145
|
+
# @!attribute [rw] message
|
146
|
+
# The message for the exception.
|
147
|
+
# @return [String]
|
148
|
+
#
|
149
|
+
class RequestEntityTooLargeException < Struct.new(
|
150
|
+
:message)
|
151
|
+
include Aws::Structure
|
152
|
+
end
|
153
|
+
|
154
|
+
# The specified resource does not exist.
|
155
|
+
#
|
156
|
+
# @!attribute [rw] message
|
157
|
+
# The message for the exception.
|
158
|
+
# @return [String]
|
159
|
+
#
|
160
|
+
class ResourceNotFoundException < Struct.new(
|
161
|
+
:message)
|
162
|
+
include Aws::Structure
|
163
|
+
end
|
164
|
+
|
165
|
+
# The service is temporarily unavailable.
|
166
|
+
#
|
167
|
+
# @!attribute [rw] message
|
168
|
+
# The message for the exception.
|
169
|
+
# @return [String]
|
170
|
+
#
|
171
|
+
class ServiceUnavailableException < Struct.new(
|
172
|
+
:message)
|
173
|
+
include Aws::Structure
|
174
|
+
end
|
175
|
+
|
176
|
+
# The rate exceeds the limit.
|
177
|
+
#
|
178
|
+
# @!attribute [rw] message
|
179
|
+
# The message for the exception.
|
180
|
+
# @return [String]
|
181
|
+
#
|
182
|
+
class ThrottlingException < Struct.new(
|
183
|
+
:message)
|
184
|
+
include Aws::Structure
|
185
|
+
end
|
186
|
+
|
187
|
+
# You are not authorized to perform this operation.
|
188
|
+
#
|
189
|
+
# @!attribute [rw] message
|
190
|
+
# The message for the exception.
|
191
|
+
# @return [String]
|
192
|
+
#
|
193
|
+
class UnauthorizedException < Struct.new(
|
194
|
+
:message)
|
195
|
+
include Aws::Structure
|
196
|
+
end
|
197
|
+
|
198
|
+
# The document encoding is not supported.
|
199
|
+
#
|
200
|
+
# @!attribute [rw] message
|
201
|
+
# The message for the exception.
|
202
|
+
# @return [String]
|
203
|
+
#
|
204
|
+
class UnsupportedDocumentEncodingException < Struct.new(
|
205
|
+
:message)
|
206
|
+
include Aws::Structure
|
207
|
+
end
|
208
|
+
|
99
209
|
# The input for the UpdateThingShadow operation.
|
100
210
|
#
|
101
211
|
# @note When making an API call, you may pass UpdateThingShadowRequest
|
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.12.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: 2019-05-
|
11
|
+
date: 2019-05-21 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.53.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.53.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|