aws-sdk-iottwinmaker 1.6.0 → 1.7.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iottwinmaker/client.rb +727 -466
- data/lib/aws-sdk-iottwinmaker/client_api.rb +337 -118
- data/lib/aws-sdk-iottwinmaker/endpoints.rb +42 -0
- data/lib/aws-sdk-iottwinmaker/errors.rb +20 -0
- data/lib/aws-sdk-iottwinmaker/plugins/endpoints.rb +6 -0
- data/lib/aws-sdk-iottwinmaker/types.rb +1518 -965
- data/lib/aws-sdk-iottwinmaker.rb +1 -1
- metadata +2 -2
@@ -137,6 +137,20 @@ module Aws::IoTTwinMaker
|
|
137
137
|
end
|
138
138
|
end
|
139
139
|
|
140
|
+
class ExecuteQuery
|
141
|
+
def self.build(context)
|
142
|
+
unless context.config.regional_endpoint
|
143
|
+
endpoint = context.config.endpoint.to_s
|
144
|
+
end
|
145
|
+
Aws::IoTTwinMaker::EndpointParameters.new(
|
146
|
+
region: context.config.region,
|
147
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
148
|
+
use_fips: context.config.use_fips_endpoint,
|
149
|
+
endpoint: endpoint,
|
150
|
+
)
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
140
154
|
class GetComponentType
|
141
155
|
def self.build(context)
|
142
156
|
unless context.config.regional_endpoint
|
@@ -165,6 +179,20 @@ module Aws::IoTTwinMaker
|
|
165
179
|
end
|
166
180
|
end
|
167
181
|
|
182
|
+
class GetPricingPlan
|
183
|
+
def self.build(context)
|
184
|
+
unless context.config.regional_endpoint
|
185
|
+
endpoint = context.config.endpoint.to_s
|
186
|
+
end
|
187
|
+
Aws::IoTTwinMaker::EndpointParameters.new(
|
188
|
+
region: context.config.region,
|
189
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
190
|
+
use_fips: context.config.use_fips_endpoint,
|
191
|
+
endpoint: endpoint,
|
192
|
+
)
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
168
196
|
class GetPropertyValue
|
169
197
|
def self.build(context)
|
170
198
|
unless context.config.regional_endpoint
|
@@ -347,6 +375,20 @@ module Aws::IoTTwinMaker
|
|
347
375
|
end
|
348
376
|
end
|
349
377
|
|
378
|
+
class UpdatePricingPlan
|
379
|
+
def self.build(context)
|
380
|
+
unless context.config.regional_endpoint
|
381
|
+
endpoint = context.config.endpoint.to_s
|
382
|
+
end
|
383
|
+
Aws::IoTTwinMaker::EndpointParameters.new(
|
384
|
+
region: context.config.region,
|
385
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
386
|
+
use_fips: context.config.use_fips_endpoint,
|
387
|
+
endpoint: endpoint,
|
388
|
+
)
|
389
|
+
end
|
390
|
+
end
|
391
|
+
|
350
392
|
class UpdateScene
|
351
393
|
def self.build(context)
|
352
394
|
unless context.config.regional_endpoint
|
@@ -32,6 +32,7 @@ module Aws::IoTTwinMaker
|
|
32
32
|
# * {ConnectorFailureException}
|
33
33
|
# * {ConnectorTimeoutException}
|
34
34
|
# * {InternalServerException}
|
35
|
+
# * {QueryTimeoutException}
|
35
36
|
# * {ResourceNotFoundException}
|
36
37
|
# * {ServiceQuotaExceededException}
|
37
38
|
# * {ThrottlingException}
|
@@ -119,6 +120,25 @@ module Aws::IoTTwinMaker
|
|
119
120
|
end
|
120
121
|
end
|
121
122
|
|
123
|
+
class QueryTimeoutException < ServiceError
|
124
|
+
|
125
|
+
# @param [Seahorse::Client::RequestContext] context
|
126
|
+
# @param [String] message
|
127
|
+
# @param [Aws::IoTTwinMaker::Types::QueryTimeoutException] data
|
128
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
129
|
+
super(context, message, data)
|
130
|
+
end
|
131
|
+
|
132
|
+
# @return [String]
|
133
|
+
def message
|
134
|
+
@message || @data[:message]
|
135
|
+
end
|
136
|
+
|
137
|
+
def retryable?
|
138
|
+
true
|
139
|
+
end
|
140
|
+
end
|
141
|
+
|
122
142
|
class ResourceNotFoundException < ServiceError
|
123
143
|
|
124
144
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -74,10 +74,14 @@ module Aws::IoTTwinMaker
|
|
74
74
|
Aws::IoTTwinMaker::Endpoints::DeleteScene.build(context)
|
75
75
|
when :delete_workspace
|
76
76
|
Aws::IoTTwinMaker::Endpoints::DeleteWorkspace.build(context)
|
77
|
+
when :execute_query
|
78
|
+
Aws::IoTTwinMaker::Endpoints::ExecuteQuery.build(context)
|
77
79
|
when :get_component_type
|
78
80
|
Aws::IoTTwinMaker::Endpoints::GetComponentType.build(context)
|
79
81
|
when :get_entity
|
80
82
|
Aws::IoTTwinMaker::Endpoints::GetEntity.build(context)
|
83
|
+
when :get_pricing_plan
|
84
|
+
Aws::IoTTwinMaker::Endpoints::GetPricingPlan.build(context)
|
81
85
|
when :get_property_value
|
82
86
|
Aws::IoTTwinMaker::Endpoints::GetPropertyValue.build(context)
|
83
87
|
when :get_property_value_history
|
@@ -104,6 +108,8 @@ module Aws::IoTTwinMaker
|
|
104
108
|
Aws::IoTTwinMaker::Endpoints::UpdateComponentType.build(context)
|
105
109
|
when :update_entity
|
106
110
|
Aws::IoTTwinMaker::Endpoints::UpdateEntity.build(context)
|
111
|
+
when :update_pricing_plan
|
112
|
+
Aws::IoTTwinMaker::Endpoints::UpdatePricingPlan.build(context)
|
107
113
|
when :update_scene
|
108
114
|
Aws::IoTTwinMaker::Endpoints::UpdateScene.build(context)
|
109
115
|
when :update_workspace
|