aws-sdk-iotthingsgraph 1.20.0 → 1.33.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 +68 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-iotthingsgraph/client.rb +56 -5
- data/lib/aws-sdk-iotthingsgraph/client_api.rb +35 -0
- data/lib/aws-sdk-iotthingsgraph/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-iotthingsgraph/endpoint_provider.rb +57 -0
- data/lib/aws-sdk-iotthingsgraph/endpoints.rb +506 -0
- data/lib/aws-sdk-iotthingsgraph/plugins/endpoints.rb +138 -0
- data/lib/aws-sdk-iotthingsgraph/types.rb +0 -386
- data/lib/aws-sdk-iotthingsgraph.rb +5 -1
- metadata +8 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8f39a9b0f44364d29fc39ba68f9620380f763fd4ab94a4254b33d11f77a4f041
|
|
4
|
+
data.tar.gz: 01a633da1f99e335e6b89afcca6858fb8187e950ce63fe60a791f5d785c372fd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f5d041252104c72937e2117669d242073eb6191a555abc5fdf3b1fcc739f8a9775dd68a448ac73be1e9038164a0a7125c18731265f3ed251b87bd02e8ef9313c
|
|
7
|
+
data.tar.gz: 3fbe276272d32d35f7fe3be8a6ff1240bc65adca4ce36d333cae60396044c83251fdf0a8b50112c18ed2fa20abf9f5de2b005922bc12daf0b7109116b951786f
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,73 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.33.0 (2023-09-27)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
8
|
+
|
|
9
|
+
1.32.0 (2023-09-19)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
13
|
+
|
|
14
|
+
1.31.0 (2023-07-11)
|
|
15
|
+
------------------
|
|
16
|
+
|
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
18
|
+
|
|
19
|
+
1.30.0 (2023-07-06)
|
|
20
|
+
------------------
|
|
21
|
+
|
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
23
|
+
|
|
24
|
+
1.29.0 (2023-06-28)
|
|
25
|
+
------------------
|
|
26
|
+
|
|
27
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
28
|
+
|
|
29
|
+
1.28.0 (2023-06-15)
|
|
30
|
+
------------------
|
|
31
|
+
|
|
32
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
33
|
+
|
|
34
|
+
1.27.0 (2023-05-31)
|
|
35
|
+
------------------
|
|
36
|
+
|
|
37
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
38
|
+
|
|
39
|
+
1.26.0 (2023-01-18)
|
|
40
|
+
------------------
|
|
41
|
+
|
|
42
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
43
|
+
|
|
44
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
|
45
|
+
|
|
46
|
+
1.25.0 (2022-10-25)
|
|
47
|
+
------------------
|
|
48
|
+
|
|
49
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
50
|
+
|
|
51
|
+
1.24.0 (2022-08-31)
|
|
52
|
+
------------------
|
|
53
|
+
|
|
54
|
+
* Feature - This release deprecates all APIs of the ThingsGraph service
|
|
55
|
+
|
|
56
|
+
1.23.0 (2022-02-24)
|
|
57
|
+
------------------
|
|
58
|
+
|
|
59
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
60
|
+
|
|
61
|
+
1.22.0 (2022-02-03)
|
|
62
|
+
------------------
|
|
63
|
+
|
|
64
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
65
|
+
|
|
66
|
+
1.21.0 (2021-12-21)
|
|
67
|
+
------------------
|
|
68
|
+
|
|
69
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
70
|
+
|
|
4
71
|
1.20.0 (2021-11-30)
|
|
5
72
|
------------------
|
|
6
73
|
|
|
@@ -110,4 +177,4 @@ Unreleased Changes
|
|
|
110
177
|
1.0.0 (2019-05-29)
|
|
111
178
|
------------------
|
|
112
179
|
|
|
113
|
-
* Feature - Initial release of `aws-sdk-iotthingsgraph`.
|
|
180
|
+
* Feature - Initial release of `aws-sdk-iotthingsgraph`.
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.33.0
|
|
@@ -27,7 +27,11 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
|
30
|
-
require 'aws-sdk-core/plugins/
|
|
30
|
+
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
|
31
|
+
require 'aws-sdk-core/plugins/request_compression.rb'
|
|
32
|
+
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
|
33
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
|
34
|
+
require 'aws-sdk-core/plugins/sign.rb'
|
|
31
35
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
|
32
36
|
|
|
33
37
|
Aws::Plugins::GlobalConfiguration.add_identifier(:iotthingsgraph)
|
|
@@ -73,8 +77,13 @@ module Aws::IoTThingsGraph
|
|
|
73
77
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
|
74
78
|
add_plugin(Aws::Plugins::TransferEncoding)
|
|
75
79
|
add_plugin(Aws::Plugins::HttpChecksum)
|
|
76
|
-
add_plugin(Aws::Plugins::
|
|
80
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
|
81
|
+
add_plugin(Aws::Plugins::RequestCompression)
|
|
82
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
|
83
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
|
84
|
+
add_plugin(Aws::Plugins::Sign)
|
|
77
85
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
|
86
|
+
add_plugin(Aws::IoTThingsGraph::Plugins::Endpoints)
|
|
78
87
|
|
|
79
88
|
# @overload initialize(options)
|
|
80
89
|
# @param [Hash] options
|
|
@@ -175,10 +184,18 @@ module Aws::IoTThingsGraph
|
|
|
175
184
|
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
|
176
185
|
# a clock skew correction and retry requests with skewed client clocks.
|
|
177
186
|
#
|
|
187
|
+
# @option options [String] :defaults_mode ("legacy")
|
|
188
|
+
# See {Aws::DefaultsModeConfiguration} for a list of the
|
|
189
|
+
# accepted modes and the configuration defaults that are included.
|
|
190
|
+
#
|
|
178
191
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
|
179
192
|
# Set to true to disable SDK automatically adding host prefix
|
|
180
193
|
# to default service endpoint when available.
|
|
181
194
|
#
|
|
195
|
+
# @option options [Boolean] :disable_request_compression (false)
|
|
196
|
+
# When set to 'true' the request body will not be compressed
|
|
197
|
+
# for supported operations.
|
|
198
|
+
#
|
|
182
199
|
# @option options [String] :endpoint
|
|
183
200
|
# The client endpoint is normally constructed from the `:region`
|
|
184
201
|
# option. You should only configure an `:endpoint` when connecting
|
|
@@ -199,6 +216,10 @@ module Aws::IoTThingsGraph
|
|
|
199
216
|
# @option options [Boolean] :endpoint_discovery (false)
|
|
200
217
|
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
|
201
218
|
#
|
|
219
|
+
# @option options [Boolean] :ignore_configured_endpoint_urls
|
|
220
|
+
# Setting to true disables use of endpoint URLs provided via environment
|
|
221
|
+
# variables and the shared configuration file.
|
|
222
|
+
#
|
|
202
223
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
|
203
224
|
# The log formatter.
|
|
204
225
|
#
|
|
@@ -219,6 +240,11 @@ module Aws::IoTThingsGraph
|
|
|
219
240
|
# Used when loading credentials from the shared credentials file
|
|
220
241
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
|
221
242
|
#
|
|
243
|
+
# @option options [Integer] :request_min_compression_size_bytes (10240)
|
|
244
|
+
# The minimum size in bytes that triggers compression for request
|
|
245
|
+
# bodies. The value must be non-negative integer value between 0
|
|
246
|
+
# and 10485780 bytes inclusive.
|
|
247
|
+
#
|
|
222
248
|
# @option options [Proc] :retry_backoff
|
|
223
249
|
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
|
224
250
|
# This option is only used in the `legacy` retry mode.
|
|
@@ -264,6 +290,11 @@ module Aws::IoTThingsGraph
|
|
|
264
290
|
# in the future.
|
|
265
291
|
#
|
|
266
292
|
#
|
|
293
|
+
# @option options [String] :sdk_ua_app_id
|
|
294
|
+
# A unique and opaque application ID that is appended to the
|
|
295
|
+
# User-Agent header as app/<sdk_ua_app_id>. It should have a
|
|
296
|
+
# maximum length of 50.
|
|
297
|
+
#
|
|
267
298
|
# @option options [String] :secret_access_key
|
|
268
299
|
#
|
|
269
300
|
# @option options [String] :session_token
|
|
@@ -287,6 +318,19 @@ module Aws::IoTThingsGraph
|
|
|
287
318
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
|
288
319
|
# requests are made, and retries are disabled.
|
|
289
320
|
#
|
|
321
|
+
# @option options [Aws::TokenProvider] :token_provider
|
|
322
|
+
# A Bearer Token Provider. This can be an instance of any one of the
|
|
323
|
+
# following classes:
|
|
324
|
+
#
|
|
325
|
+
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
|
326
|
+
# tokens.
|
|
327
|
+
#
|
|
328
|
+
# * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
|
|
329
|
+
# access token generated from `aws login`.
|
|
330
|
+
#
|
|
331
|
+
# When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
|
|
332
|
+
# will be used to search for tokens configured for your profile in shared configuration files.
|
|
333
|
+
#
|
|
290
334
|
# @option options [Boolean] :use_dualstack_endpoint
|
|
291
335
|
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
|
292
336
|
# will be used if available.
|
|
@@ -300,6 +344,9 @@ module Aws::IoTThingsGraph
|
|
|
300
344
|
# When `true`, request parameters are validated before
|
|
301
345
|
# sending the request.
|
|
302
346
|
#
|
|
347
|
+
# @option options [Aws::IoTThingsGraph::EndpointProvider] :endpoint_provider
|
|
348
|
+
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::IoTThingsGraph::EndpointParameters`
|
|
349
|
+
#
|
|
303
350
|
# @option options [URI::HTTP,String] :http_proxy A proxy to send
|
|
304
351
|
# requests through. Formatted like 'http://proxy.com:123'.
|
|
305
352
|
#
|
|
@@ -307,7 +354,7 @@ module Aws::IoTThingsGraph
|
|
|
307
354
|
# seconds to wait when opening a HTTP session before raising a
|
|
308
355
|
# `Timeout::Error`.
|
|
309
356
|
#
|
|
310
|
-
# @option options [
|
|
357
|
+
# @option options [Float] :http_read_timeout (60) The default
|
|
311
358
|
# number of seconds to wait for response data. This value can
|
|
312
359
|
# safely be set per-request on the session.
|
|
313
360
|
#
|
|
@@ -323,6 +370,9 @@ module Aws::IoTThingsGraph
|
|
|
323
370
|
# disables this behaviour. This value can safely be set per
|
|
324
371
|
# request on the session.
|
|
325
372
|
#
|
|
373
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
|
374
|
+
# in seconds.
|
|
375
|
+
#
|
|
326
376
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
|
327
377
|
# HTTP debug output will be sent to the `:logger`.
|
|
328
378
|
#
|
|
@@ -599,7 +649,8 @@ module Aws::IoTThingsGraph
|
|
|
599
649
|
|
|
600
650
|
# Deletes the specified namespace. This action deletes all of the
|
|
601
651
|
# entities in the namespace. Delete the systems and flows that use
|
|
602
|
-
# entities in the namespace before performing this action.
|
|
652
|
+
# entities in the namespace before performing this action. This action
|
|
653
|
+
# takes no request parameters.
|
|
603
654
|
#
|
|
604
655
|
# @return [Types::DeleteNamespaceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
605
656
|
#
|
|
@@ -1908,7 +1959,7 @@ module Aws::IoTThingsGraph
|
|
|
1908
1959
|
params: params,
|
|
1909
1960
|
config: config)
|
|
1910
1961
|
context[:gem_name] = 'aws-sdk-iotthingsgraph'
|
|
1911
|
-
context[:gem_version] = '1.
|
|
1962
|
+
context[:gem_version] = '1.33.0'
|
|
1912
1963
|
Seahorse::Client::Request.new(handlers, context)
|
|
1913
1964
|
end
|
|
1914
1965
|
|
|
@@ -633,6 +633,7 @@ module Aws::IoTThingsGraph
|
|
|
633
633
|
o.name = "AssociateEntityToThing"
|
|
634
634
|
o.http_method = "POST"
|
|
635
635
|
o.http_request_uri = "/"
|
|
636
|
+
o.deprecated = true
|
|
636
637
|
o.input = Shapes::ShapeRef.new(shape: AssociateEntityToThingRequest)
|
|
637
638
|
o.output = Shapes::ShapeRef.new(shape: AssociateEntityToThingResponse)
|
|
638
639
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
@@ -645,6 +646,7 @@ module Aws::IoTThingsGraph
|
|
|
645
646
|
o.name = "CreateFlowTemplate"
|
|
646
647
|
o.http_method = "POST"
|
|
647
648
|
o.http_request_uri = "/"
|
|
649
|
+
o.deprecated = true
|
|
648
650
|
o.input = Shapes::ShapeRef.new(shape: CreateFlowTemplateRequest)
|
|
649
651
|
o.output = Shapes::ShapeRef.new(shape: CreateFlowTemplateResponse)
|
|
650
652
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
@@ -658,6 +660,7 @@ module Aws::IoTThingsGraph
|
|
|
658
660
|
o.name = "CreateSystemInstance"
|
|
659
661
|
o.http_method = "POST"
|
|
660
662
|
o.http_request_uri = "/"
|
|
663
|
+
o.deprecated = true
|
|
661
664
|
o.input = Shapes::ShapeRef.new(shape: CreateSystemInstanceRequest)
|
|
662
665
|
o.output = Shapes::ShapeRef.new(shape: CreateSystemInstanceResponse)
|
|
663
666
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
@@ -671,6 +674,7 @@ module Aws::IoTThingsGraph
|
|
|
671
674
|
o.name = "CreateSystemTemplate"
|
|
672
675
|
o.http_method = "POST"
|
|
673
676
|
o.http_request_uri = "/"
|
|
677
|
+
o.deprecated = true
|
|
674
678
|
o.input = Shapes::ShapeRef.new(shape: CreateSystemTemplateRequest)
|
|
675
679
|
o.output = Shapes::ShapeRef.new(shape: CreateSystemTemplateResponse)
|
|
676
680
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
@@ -683,6 +687,7 @@ module Aws::IoTThingsGraph
|
|
|
683
687
|
o.name = "DeleteFlowTemplate"
|
|
684
688
|
o.http_method = "POST"
|
|
685
689
|
o.http_request_uri = "/"
|
|
690
|
+
o.deprecated = true
|
|
686
691
|
o.input = Shapes::ShapeRef.new(shape: DeleteFlowTemplateRequest)
|
|
687
692
|
o.output = Shapes::ShapeRef.new(shape: DeleteFlowTemplateResponse)
|
|
688
693
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
@@ -695,6 +700,7 @@ module Aws::IoTThingsGraph
|
|
|
695
700
|
o.name = "DeleteNamespace"
|
|
696
701
|
o.http_method = "POST"
|
|
697
702
|
o.http_request_uri = "/"
|
|
703
|
+
o.deprecated = true
|
|
698
704
|
o.input = Shapes::ShapeRef.new(shape: DeleteNamespaceRequest)
|
|
699
705
|
o.output = Shapes::ShapeRef.new(shape: DeleteNamespaceResponse)
|
|
700
706
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
|
@@ -705,6 +711,7 @@ module Aws::IoTThingsGraph
|
|
|
705
711
|
o.name = "DeleteSystemInstance"
|
|
706
712
|
o.http_method = "POST"
|
|
707
713
|
o.http_request_uri = "/"
|
|
714
|
+
o.deprecated = true
|
|
708
715
|
o.input = Shapes::ShapeRef.new(shape: DeleteSystemInstanceRequest)
|
|
709
716
|
o.output = Shapes::ShapeRef.new(shape: DeleteSystemInstanceResponse)
|
|
710
717
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
@@ -717,6 +724,7 @@ module Aws::IoTThingsGraph
|
|
|
717
724
|
o.name = "DeleteSystemTemplate"
|
|
718
725
|
o.http_method = "POST"
|
|
719
726
|
o.http_request_uri = "/"
|
|
727
|
+
o.deprecated = true
|
|
720
728
|
o.input = Shapes::ShapeRef.new(shape: DeleteSystemTemplateRequest)
|
|
721
729
|
o.output = Shapes::ShapeRef.new(shape: DeleteSystemTemplateResponse)
|
|
722
730
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
@@ -729,6 +737,7 @@ module Aws::IoTThingsGraph
|
|
|
729
737
|
o.name = "DeploySystemInstance"
|
|
730
738
|
o.http_method = "POST"
|
|
731
739
|
o.http_request_uri = "/"
|
|
740
|
+
o.deprecated = true
|
|
732
741
|
o.input = Shapes::ShapeRef.new(shape: DeploySystemInstanceRequest)
|
|
733
742
|
o.output = Shapes::ShapeRef.new(shape: DeploySystemInstanceResponse)
|
|
734
743
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
@@ -742,6 +751,7 @@ module Aws::IoTThingsGraph
|
|
|
742
751
|
o.name = "DeprecateFlowTemplate"
|
|
743
752
|
o.http_method = "POST"
|
|
744
753
|
o.http_request_uri = "/"
|
|
754
|
+
o.deprecated = true
|
|
745
755
|
o.input = Shapes::ShapeRef.new(shape: DeprecateFlowTemplateRequest)
|
|
746
756
|
o.output = Shapes::ShapeRef.new(shape: DeprecateFlowTemplateResponse)
|
|
747
757
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
@@ -754,6 +764,7 @@ module Aws::IoTThingsGraph
|
|
|
754
764
|
o.name = "DeprecateSystemTemplate"
|
|
755
765
|
o.http_method = "POST"
|
|
756
766
|
o.http_request_uri = "/"
|
|
767
|
+
o.deprecated = true
|
|
757
768
|
o.input = Shapes::ShapeRef.new(shape: DeprecateSystemTemplateRequest)
|
|
758
769
|
o.output = Shapes::ShapeRef.new(shape: DeprecateSystemTemplateResponse)
|
|
759
770
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
@@ -766,6 +777,7 @@ module Aws::IoTThingsGraph
|
|
|
766
777
|
o.name = "DescribeNamespace"
|
|
767
778
|
o.http_method = "POST"
|
|
768
779
|
o.http_request_uri = "/"
|
|
780
|
+
o.deprecated = true
|
|
769
781
|
o.input = Shapes::ShapeRef.new(shape: DescribeNamespaceRequest)
|
|
770
782
|
o.output = Shapes::ShapeRef.new(shape: DescribeNamespaceResponse)
|
|
771
783
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
@@ -778,6 +790,7 @@ module Aws::IoTThingsGraph
|
|
|
778
790
|
o.name = "DissociateEntityFromThing"
|
|
779
791
|
o.http_method = "POST"
|
|
780
792
|
o.http_request_uri = "/"
|
|
793
|
+
o.deprecated = true
|
|
781
794
|
o.input = Shapes::ShapeRef.new(shape: DissociateEntityFromThingRequest)
|
|
782
795
|
o.output = Shapes::ShapeRef.new(shape: DissociateEntityFromThingResponse)
|
|
783
796
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
@@ -790,6 +803,7 @@ module Aws::IoTThingsGraph
|
|
|
790
803
|
o.name = "GetEntities"
|
|
791
804
|
o.http_method = "POST"
|
|
792
805
|
o.http_request_uri = "/"
|
|
806
|
+
o.deprecated = true
|
|
793
807
|
o.input = Shapes::ShapeRef.new(shape: GetEntitiesRequest)
|
|
794
808
|
o.output = Shapes::ShapeRef.new(shape: GetEntitiesResponse)
|
|
795
809
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
@@ -802,6 +816,7 @@ module Aws::IoTThingsGraph
|
|
|
802
816
|
o.name = "GetFlowTemplate"
|
|
803
817
|
o.http_method = "POST"
|
|
804
818
|
o.http_request_uri = "/"
|
|
819
|
+
o.deprecated = true
|
|
805
820
|
o.input = Shapes::ShapeRef.new(shape: GetFlowTemplateRequest)
|
|
806
821
|
o.output = Shapes::ShapeRef.new(shape: GetFlowTemplateResponse)
|
|
807
822
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
@@ -814,6 +829,7 @@ module Aws::IoTThingsGraph
|
|
|
814
829
|
o.name = "GetFlowTemplateRevisions"
|
|
815
830
|
o.http_method = "POST"
|
|
816
831
|
o.http_request_uri = "/"
|
|
832
|
+
o.deprecated = true
|
|
817
833
|
o.input = Shapes::ShapeRef.new(shape: GetFlowTemplateRevisionsRequest)
|
|
818
834
|
o.output = Shapes::ShapeRef.new(shape: GetFlowTemplateRevisionsResponse)
|
|
819
835
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
@@ -832,6 +848,7 @@ module Aws::IoTThingsGraph
|
|
|
832
848
|
o.name = "GetNamespaceDeletionStatus"
|
|
833
849
|
o.http_method = "POST"
|
|
834
850
|
o.http_request_uri = "/"
|
|
851
|
+
o.deprecated = true
|
|
835
852
|
o.input = Shapes::ShapeRef.new(shape: GetNamespaceDeletionStatusRequest)
|
|
836
853
|
o.output = Shapes::ShapeRef.new(shape: GetNamespaceDeletionStatusResponse)
|
|
837
854
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
@@ -843,6 +860,7 @@ module Aws::IoTThingsGraph
|
|
|
843
860
|
o.name = "GetSystemInstance"
|
|
844
861
|
o.http_method = "POST"
|
|
845
862
|
o.http_request_uri = "/"
|
|
863
|
+
o.deprecated = true
|
|
846
864
|
o.input = Shapes::ShapeRef.new(shape: GetSystemInstanceRequest)
|
|
847
865
|
o.output = Shapes::ShapeRef.new(shape: GetSystemInstanceResponse)
|
|
848
866
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
@@ -855,6 +873,7 @@ module Aws::IoTThingsGraph
|
|
|
855
873
|
o.name = "GetSystemTemplate"
|
|
856
874
|
o.http_method = "POST"
|
|
857
875
|
o.http_request_uri = "/"
|
|
876
|
+
o.deprecated = true
|
|
858
877
|
o.input = Shapes::ShapeRef.new(shape: GetSystemTemplateRequest)
|
|
859
878
|
o.output = Shapes::ShapeRef.new(shape: GetSystemTemplateResponse)
|
|
860
879
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
@@ -867,6 +886,7 @@ module Aws::IoTThingsGraph
|
|
|
867
886
|
o.name = "GetSystemTemplateRevisions"
|
|
868
887
|
o.http_method = "POST"
|
|
869
888
|
o.http_request_uri = "/"
|
|
889
|
+
o.deprecated = true
|
|
870
890
|
o.input = Shapes::ShapeRef.new(shape: GetSystemTemplateRevisionsRequest)
|
|
871
891
|
o.output = Shapes::ShapeRef.new(shape: GetSystemTemplateRevisionsResponse)
|
|
872
892
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
@@ -885,6 +905,7 @@ module Aws::IoTThingsGraph
|
|
|
885
905
|
o.name = "GetUploadStatus"
|
|
886
906
|
o.http_method = "POST"
|
|
887
907
|
o.http_request_uri = "/"
|
|
908
|
+
o.deprecated = true
|
|
888
909
|
o.input = Shapes::ShapeRef.new(shape: GetUploadStatusRequest)
|
|
889
910
|
o.output = Shapes::ShapeRef.new(shape: GetUploadStatusResponse)
|
|
890
911
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
@@ -897,6 +918,7 @@ module Aws::IoTThingsGraph
|
|
|
897
918
|
o.name = "ListFlowExecutionMessages"
|
|
898
919
|
o.http_method = "POST"
|
|
899
920
|
o.http_request_uri = "/"
|
|
921
|
+
o.deprecated = true
|
|
900
922
|
o.input = Shapes::ShapeRef.new(shape: ListFlowExecutionMessagesRequest)
|
|
901
923
|
o.output = Shapes::ShapeRef.new(shape: ListFlowExecutionMessagesResponse)
|
|
902
924
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
@@ -915,6 +937,7 @@ module Aws::IoTThingsGraph
|
|
|
915
937
|
o.name = "ListTagsForResource"
|
|
916
938
|
o.http_method = "POST"
|
|
917
939
|
o.http_request_uri = "/"
|
|
940
|
+
o.deprecated = true
|
|
918
941
|
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
|
919
942
|
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
|
920
943
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
@@ -933,6 +956,7 @@ module Aws::IoTThingsGraph
|
|
|
933
956
|
o.name = "SearchEntities"
|
|
934
957
|
o.http_method = "POST"
|
|
935
958
|
o.http_request_uri = "/"
|
|
959
|
+
o.deprecated = true
|
|
936
960
|
o.input = Shapes::ShapeRef.new(shape: SearchEntitiesRequest)
|
|
937
961
|
o.output = Shapes::ShapeRef.new(shape: SearchEntitiesResponse)
|
|
938
962
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
@@ -950,6 +974,7 @@ module Aws::IoTThingsGraph
|
|
|
950
974
|
o.name = "SearchFlowExecutions"
|
|
951
975
|
o.http_method = "POST"
|
|
952
976
|
o.http_request_uri = "/"
|
|
977
|
+
o.deprecated = true
|
|
953
978
|
o.input = Shapes::ShapeRef.new(shape: SearchFlowExecutionsRequest)
|
|
954
979
|
o.output = Shapes::ShapeRef.new(shape: SearchFlowExecutionsResponse)
|
|
955
980
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
@@ -968,6 +993,7 @@ module Aws::IoTThingsGraph
|
|
|
968
993
|
o.name = "SearchFlowTemplates"
|
|
969
994
|
o.http_method = "POST"
|
|
970
995
|
o.http_request_uri = "/"
|
|
996
|
+
o.deprecated = true
|
|
971
997
|
o.input = Shapes::ShapeRef.new(shape: SearchFlowTemplatesRequest)
|
|
972
998
|
o.output = Shapes::ShapeRef.new(shape: SearchFlowTemplatesResponse)
|
|
973
999
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
@@ -985,6 +1011,7 @@ module Aws::IoTThingsGraph
|
|
|
985
1011
|
o.name = "SearchSystemInstances"
|
|
986
1012
|
o.http_method = "POST"
|
|
987
1013
|
o.http_request_uri = "/"
|
|
1014
|
+
o.deprecated = true
|
|
988
1015
|
o.input = Shapes::ShapeRef.new(shape: SearchSystemInstancesRequest)
|
|
989
1016
|
o.output = Shapes::ShapeRef.new(shape: SearchSystemInstancesResponse)
|
|
990
1017
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
@@ -1002,6 +1029,7 @@ module Aws::IoTThingsGraph
|
|
|
1002
1029
|
o.name = "SearchSystemTemplates"
|
|
1003
1030
|
o.http_method = "POST"
|
|
1004
1031
|
o.http_request_uri = "/"
|
|
1032
|
+
o.deprecated = true
|
|
1005
1033
|
o.input = Shapes::ShapeRef.new(shape: SearchSystemTemplatesRequest)
|
|
1006
1034
|
o.output = Shapes::ShapeRef.new(shape: SearchSystemTemplatesResponse)
|
|
1007
1035
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
@@ -1019,6 +1047,7 @@ module Aws::IoTThingsGraph
|
|
|
1019
1047
|
o.name = "SearchThings"
|
|
1020
1048
|
o.http_method = "POST"
|
|
1021
1049
|
o.http_request_uri = "/"
|
|
1050
|
+
o.deprecated = true
|
|
1022
1051
|
o.input = Shapes::ShapeRef.new(shape: SearchThingsRequest)
|
|
1023
1052
|
o.output = Shapes::ShapeRef.new(shape: SearchThingsResponse)
|
|
1024
1053
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
@@ -1037,6 +1066,7 @@ module Aws::IoTThingsGraph
|
|
|
1037
1066
|
o.name = "TagResource"
|
|
1038
1067
|
o.http_method = "POST"
|
|
1039
1068
|
o.http_request_uri = "/"
|
|
1069
|
+
o.deprecated = true
|
|
1040
1070
|
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
|
1041
1071
|
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
|
1042
1072
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
@@ -1049,6 +1079,7 @@ module Aws::IoTThingsGraph
|
|
|
1049
1079
|
o.name = "UndeploySystemInstance"
|
|
1050
1080
|
o.http_method = "POST"
|
|
1051
1081
|
o.http_request_uri = "/"
|
|
1082
|
+
o.deprecated = true
|
|
1052
1083
|
o.input = Shapes::ShapeRef.new(shape: UndeploySystemInstanceRequest)
|
|
1053
1084
|
o.output = Shapes::ShapeRef.new(shape: UndeploySystemInstanceResponse)
|
|
1054
1085
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
@@ -1062,6 +1093,7 @@ module Aws::IoTThingsGraph
|
|
|
1062
1093
|
o.name = "UntagResource"
|
|
1063
1094
|
o.http_method = "POST"
|
|
1064
1095
|
o.http_request_uri = "/"
|
|
1096
|
+
o.deprecated = true
|
|
1065
1097
|
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
|
1066
1098
|
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
|
1067
1099
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
@@ -1074,6 +1106,7 @@ module Aws::IoTThingsGraph
|
|
|
1074
1106
|
o.name = "UpdateFlowTemplate"
|
|
1075
1107
|
o.http_method = "POST"
|
|
1076
1108
|
o.http_request_uri = "/"
|
|
1109
|
+
o.deprecated = true
|
|
1077
1110
|
o.input = Shapes::ShapeRef.new(shape: UpdateFlowTemplateRequest)
|
|
1078
1111
|
o.output = Shapes::ShapeRef.new(shape: UpdateFlowTemplateResponse)
|
|
1079
1112
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
@@ -1086,6 +1119,7 @@ module Aws::IoTThingsGraph
|
|
|
1086
1119
|
o.name = "UpdateSystemTemplate"
|
|
1087
1120
|
o.http_method = "POST"
|
|
1088
1121
|
o.http_request_uri = "/"
|
|
1122
|
+
o.deprecated = true
|
|
1089
1123
|
o.input = Shapes::ShapeRef.new(shape: UpdateSystemTemplateRequest)
|
|
1090
1124
|
o.output = Shapes::ShapeRef.new(shape: UpdateSystemTemplateResponse)
|
|
1091
1125
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
@@ -1098,6 +1132,7 @@ module Aws::IoTThingsGraph
|
|
|
1098
1132
|
o.name = "UploadEntityDefinitions"
|
|
1099
1133
|
o.http_method = "POST"
|
|
1100
1134
|
o.http_request_uri = "/"
|
|
1135
|
+
o.deprecated = true
|
|
1101
1136
|
o.input = Shapes::ShapeRef.new(shape: UploadEntityDefinitionsRequest)
|
|
1102
1137
|
o.output = Shapes::ShapeRef.new(shape: UploadEntityDefinitionsResponse)
|
|
1103
1138
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
|
4
|
+
#
|
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
|
+
#
|
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
|
9
|
+
|
|
10
|
+
module Aws::IoTThingsGraph
|
|
11
|
+
# Endpoint parameters used to influence endpoints per request.
|
|
12
|
+
#
|
|
13
|
+
# @!attribute region
|
|
14
|
+
# The AWS region used to dispatch the request.
|
|
15
|
+
#
|
|
16
|
+
# @return [String]
|
|
17
|
+
#
|
|
18
|
+
# @!attribute use_dual_stack
|
|
19
|
+
# When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
|
|
20
|
+
#
|
|
21
|
+
# @return [Boolean]
|
|
22
|
+
#
|
|
23
|
+
# @!attribute use_fips
|
|
24
|
+
# When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
|
|
25
|
+
#
|
|
26
|
+
# @return [Boolean]
|
|
27
|
+
#
|
|
28
|
+
# @!attribute endpoint
|
|
29
|
+
# Override the endpoint used to send this request
|
|
30
|
+
#
|
|
31
|
+
# @return [String]
|
|
32
|
+
#
|
|
33
|
+
EndpointParameters = Struct.new(
|
|
34
|
+
:region,
|
|
35
|
+
:use_dual_stack,
|
|
36
|
+
:use_fips,
|
|
37
|
+
:endpoint,
|
|
38
|
+
) do
|
|
39
|
+
include Aws::Structure
|
|
40
|
+
|
|
41
|
+
# @api private
|
|
42
|
+
class << self
|
|
43
|
+
PARAM_MAP = {
|
|
44
|
+
'Region' => :region,
|
|
45
|
+
'UseDualStack' => :use_dual_stack,
|
|
46
|
+
'UseFIPS' => :use_fips,
|
|
47
|
+
'Endpoint' => :endpoint,
|
|
48
|
+
}.freeze
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
def initialize(options = {})
|
|
52
|
+
self[:region] = options[:region]
|
|
53
|
+
self[:use_dual_stack] = options[:use_dual_stack]
|
|
54
|
+
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
|
55
|
+
if self[:use_dual_stack].nil?
|
|
56
|
+
raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
|
|
57
|
+
end
|
|
58
|
+
self[:use_fips] = options[:use_fips]
|
|
59
|
+
self[:use_fips] = false if self[:use_fips].nil?
|
|
60
|
+
if self[:use_fips].nil?
|
|
61
|
+
raise ArgumentError, "Missing required EndpointParameter: :use_fips"
|
|
62
|
+
end
|
|
63
|
+
self[:endpoint] = options[:endpoint]
|
|
64
|
+
end
|
|
65
|
+
end
|
|
66
|
+
end
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
|
4
|
+
#
|
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
|
+
#
|
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
|
9
|
+
|
|
10
|
+
module Aws::IoTThingsGraph
|
|
11
|
+
class EndpointProvider
|
|
12
|
+
def resolve_endpoint(parameters)
|
|
13
|
+
region = parameters.region
|
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
|
15
|
+
use_fips = parameters.use_fips
|
|
16
|
+
endpoint = parameters.endpoint
|
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
|
18
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
|
20
|
+
end
|
|
21
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
|
23
|
+
end
|
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
|
25
|
+
end
|
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
|
29
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://iotthingsgraph-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
|
31
|
+
end
|
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
|
33
|
+
end
|
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://iotthingsgraph-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
|
37
|
+
end
|
|
38
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
|
39
|
+
end
|
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
|
41
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://iotthingsgraph.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
|
43
|
+
end
|
|
44
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
|
45
|
+
end
|
|
46
|
+
if Aws::Endpoints::Matchers.string_equals?("aws", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
|
47
|
+
return Aws::Endpoints::Endpoint.new(url: "https://iotthingsgraph.#{region}.amazonaws.com", headers: {}, properties: {})
|
|
48
|
+
end
|
|
49
|
+
return Aws::Endpoints::Endpoint.new(url: "https://iotthingsgraph.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
|
53
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
|
54
|
+
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
end
|