aws-sdk-iotsitewise 1.82.0 → 1.84.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-iotsitewise/client.rb +186 -158
- data/lib/aws-sdk-iotsitewise/client_api.rb +6 -0
- data/lib/aws-sdk-iotsitewise/types.rb +37 -1
- data/lib/aws-sdk-iotsitewise.rb +1 -1
- data/sig/client.rbs +4 -1
- data/sig/types.rbs +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a633f9b10be403a5623ad237589a226591ed7606960955eeca48fa95f052f459
|
4
|
+
data.tar.gz: 3eaa40cdd756a8af4a1425e145daa399ef080cfbe1cddb9565d813c93ffce6ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37e478e906299bf617bedf9ed541d7e410e23297047b679b1c7dc0ab622a860d05e1a7f4fe9ad814dc3955908d40680d7f9c30e52f37ee4980d4525805a24f38
|
7
|
+
data.tar.gz: a3498d3f5298379401202857e9e03f1716415c741971c31742f05f34021db3e09edbd37ee93a4b47df4c411b4cb4245fe0f813946b47e5dadddf7e6280ffa72c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.84.0 (2025-04-28)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.83.0 (2025-03-04)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - AWS IoT SiteWise now supports MQTT-enabled, V3 gateways. Configure data destinations for real-time ingestion into AWS IoT SiteWise or buffered ingestion using Amazon S3 storage. You can also use path filters for precise data collection from specific MQTT topics.
|
13
|
+
|
4
14
|
1.82.0 (2025-02-18)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.84.0
|
@@ -1999,6 +1999,21 @@ module Aws::IoTSiteWise
|
|
1999
1999
|
# The gateway's platform. You can only specify one platform in a
|
2000
2000
|
# gateway.
|
2001
2001
|
#
|
2002
|
+
# @option params [String] :gateway_version
|
2003
|
+
# The version of the gateway to create. Specify `3` to create an
|
2004
|
+
# MQTT-enabled, V3 gateway and `2` To create a Classic streams, V2
|
2005
|
+
# gateway. If the version isn't specified, a Classic streams, V2
|
2006
|
+
# gateway is created by default.
|
2007
|
+
#
|
2008
|
+
# We recommend creating an MQTT-enabled, V3 gateway for self-hosted
|
2009
|
+
# gateways. SiteWise Edge gateways on Siemens Industrial Edge should use
|
2010
|
+
# gateway version `2`. For more information on gateway versions, see [
|
2011
|
+
# Self-host a SiteWise Edge gateway with IoT Greengrass V2][1].
|
2012
|
+
#
|
2013
|
+
#
|
2014
|
+
#
|
2015
|
+
# [1]: https://docs.aws.amazon.com/iot-sitewise/latest/userguide/gw-self-host-gg2.html
|
2016
|
+
#
|
2002
2017
|
# @option params [Hash<String,String>] :tags
|
2003
2018
|
# A list of key-value pairs that contain metadata for the gateway. For
|
2004
2019
|
# more information, see [Tagging your IoT SiteWise resources][1] in the
|
@@ -2023,11 +2038,13 @@ module Aws::IoTSiteWise
|
|
2023
2038
|
# },
|
2024
2039
|
# greengrass_v2: {
|
2025
2040
|
# core_device_thing_name: "CoreDeviceThingName", # required
|
2041
|
+
# core_device_operating_system: "LINUX_AARCH64", # accepts LINUX_AARCH64, LINUX_AMD64, WINDOWS_AMD64
|
2026
2042
|
# },
|
2027
2043
|
# siemens_ie: {
|
2028
2044
|
# iot_core_thing_name: "IotCoreThingName", # required
|
2029
2045
|
# },
|
2030
2046
|
# },
|
2047
|
+
# gateway_version: "GatewayVersion",
|
2031
2048
|
# tags: {
|
2032
2049
|
# "TagKey" => "TagValue",
|
2033
2050
|
# },
|
@@ -3645,6 +3662,7 @@ module Aws::IoTSiteWise
|
|
3645
3662
|
# * {Types::DescribeGatewayResponse#gateway_name #gateway_name} => String
|
3646
3663
|
# * {Types::DescribeGatewayResponse#gateway_arn #gateway_arn} => String
|
3647
3664
|
# * {Types::DescribeGatewayResponse#gateway_platform #gateway_platform} => Types::GatewayPlatform
|
3665
|
+
# * {Types::DescribeGatewayResponse#gateway_version #gateway_version} => String
|
3648
3666
|
# * {Types::DescribeGatewayResponse#gateway_capability_summaries #gateway_capability_summaries} => Array<Types::GatewayCapabilitySummary>
|
3649
3667
|
# * {Types::DescribeGatewayResponse#creation_date #creation_date} => Time
|
3650
3668
|
# * {Types::DescribeGatewayResponse#last_update_date #last_update_date} => Time
|
@@ -3662,7 +3680,9 @@ module Aws::IoTSiteWise
|
|
3662
3680
|
# resp.gateway_arn #=> String
|
3663
3681
|
# resp.gateway_platform.greengrass.group_arn #=> String
|
3664
3682
|
# resp.gateway_platform.greengrass_v2.core_device_thing_name #=> String
|
3683
|
+
# resp.gateway_platform.greengrass_v2.core_device_operating_system #=> String, one of "LINUX_AARCH64", "LINUX_AMD64", "WINDOWS_AMD64"
|
3665
3684
|
# resp.gateway_platform.siemens_ie.iot_core_thing_name #=> String
|
3685
|
+
# resp.gateway_version #=> String
|
3666
3686
|
# resp.gateway_capability_summaries #=> Array
|
3667
3687
|
# resp.gateway_capability_summaries[0].capability_namespace #=> String
|
3668
3688
|
# resp.gateway_capability_summaries[0].capability_sync_status #=> String, one of "IN_SYNC", "OUT_OF_SYNC", "SYNC_FAILED", "UNKNOWN", "NOT_APPLICABLE"
|
@@ -4655,158 +4675,164 @@ module Aws::IoTSiteWise
|
|
4655
4675
|
#
|
4656
4676
|
# @example EventStream Operation Example
|
4657
4677
|
#
|
4658
|
-
# You can process the event once it arrives immediately, or wait until the
|
4659
|
-
# full response is complete and iterate through the eventstream enumerator.
|
4660
|
-
#
|
4661
|
-
# To interact with event immediately, you need to register
|
4662
|
-
# with callbacks. Callbacks can be registered for specific events or for all
|
4663
|
-
# events, including error events.
|
4664
|
-
#
|
4665
|
-
# Callbacks can be passed into the `:event_stream_handler` option or within a
|
4666
|
-
# block statement attached to the #invoke_assistant call directly. Hybrid
|
4667
|
-
# pattern of both is also supported.
|
4668
|
-
#
|
4669
|
-
# `:event_stream_handler` option takes in either a Proc object or
|
4670
|
-
# Aws::IoTSiteWise::EventStreams::ResponseStream object.
|
4671
|
-
#
|
4672
|
-
# Usage pattern a): Callbacks with a block attached to #invoke_assistant
|
4673
|
-
#
|
4674
|
-
#
|
4675
|
-
#
|
4676
|
-
#
|
4677
|
-
#
|
4678
|
-
#
|
4679
|
-
#
|
4680
|
-
#
|
4681
|
-
#
|
4682
|
-
#
|
4683
|
-
#
|
4684
|
-
#
|
4685
|
-
# stream.on_event do |event|
|
4686
|
-
# # process all events arrive
|
4687
|
-
# puts event.event_type
|
4688
|
-
# ...
|
4689
|
-
# end
|
4690
|
-
#
|
4678
|
+
# # You can process the event once it arrives immediately, or wait until the
|
4679
|
+
# # full response is complete and iterate through the eventstream enumerator.
|
4680
|
+
#
|
4681
|
+
# # To interact with event immediately, you need to register invoke_assistant
|
4682
|
+
# # with callbacks. Callbacks can be registered for specific events or for all
|
4683
|
+
# # events, including error events.
|
4684
|
+
#
|
4685
|
+
# # Callbacks can be passed into the `:event_stream_handler` option or within a
|
4686
|
+
# # block statement attached to the #invoke_assistant call directly. Hybrid
|
4687
|
+
# # pattern of both is also supported.
|
4688
|
+
#
|
4689
|
+
# # `:event_stream_handler` option takes in either a Proc object or
|
4690
|
+
# # Aws::IoTSiteWise::EventStreams::ResponseStream object.
|
4691
|
+
#
|
4692
|
+
# # Usage pattern a): Callbacks with a block attached to #invoke_assistant
|
4693
|
+
# # Example for registering callbacks for all event types and an error event
|
4694
|
+
# client.invoke_assistant(
|
4695
|
+
# # params input
|
4696
|
+
# ) do |stream|
|
4697
|
+
# stream.on_error_event do |event|
|
4698
|
+
# # catch unmodeled error event in the stream
|
4699
|
+
# raise event
|
4700
|
+
# # => Aws::Errors::EventError
|
4701
|
+
# # event.event_type => :error
|
4702
|
+
# # event.error_code => String
|
4703
|
+
# # event.error_message => String
|
4691
4704
|
# end
|
4692
4705
|
#
|
4693
|
-
#
|
4694
|
-
#
|
4695
|
-
#
|
4696
|
-
#
|
4697
|
-
#
|
4698
|
-
# handler = Aws::IoTSiteWise::EventStreams::ResponseStream.new
|
4699
|
-
# handler.on_trace_event do |event|
|
4700
|
-
# event # => Aws::IoTSiteWise::Types::trace
|
4701
|
-
# end
|
4702
|
-
# handler.on_output_event do |event|
|
4703
|
-
# event # => Aws::IoTSiteWise::Types::output
|
4704
|
-
# end
|
4705
|
-
# handler.on_access_denied_exception_event do |event|
|
4706
|
-
# event # => Aws::IoTSiteWise::Types::accessDeniedException
|
4707
|
-
# end
|
4708
|
-
# handler.on_conflicting_operation_exception_event do |event|
|
4709
|
-
# event # => Aws::IoTSiteWise::Types::conflictingOperationException
|
4710
|
-
# end
|
4711
|
-
# handler.on_internal_failure_exception_event do |event|
|
4712
|
-
# event # => Aws::IoTSiteWise::Types::internalFailureException
|
4713
|
-
# end
|
4714
|
-
# handler.on_invalid_request_exception_event do |event|
|
4715
|
-
# event # => Aws::IoTSiteWise::Types::invalidRequestException
|
4716
|
-
# end
|
4717
|
-
# handler.on_limit_exceeded_exception_event do |event|
|
4718
|
-
# event # => Aws::IoTSiteWise::Types::limitExceededException
|
4719
|
-
# end
|
4720
|
-
# handler.on_resource_not_found_exception_event do |event|
|
4721
|
-
# event # => Aws::IoTSiteWise::Types::resourceNotFoundException
|
4722
|
-
# end
|
4723
|
-
# handler.on_throttling_exception_event do |event|
|
4724
|
-
# event # => Aws::IoTSiteWise::Types::throttlingException
|
4725
|
-
# end
|
4726
|
-
#
|
4727
|
-
# client.invoke_assistant( # params input #, event_stream_handler: handler)
|
4728
|
-
#
|
4729
|
-
# 2) Use a Ruby Proc object
|
4730
|
-
# Example for registering callbacks with specific events
|
4731
|
-
#
|
4732
|
-
# handler = Proc.new do |stream|
|
4733
|
-
# stream.on_trace_event do |event|
|
4734
|
-
# event # => Aws::IoTSiteWise::Types::trace
|
4735
|
-
# end
|
4736
|
-
# stream.on_output_event do |event|
|
4737
|
-
# event # => Aws::IoTSiteWise::Types::output
|
4738
|
-
# end
|
4739
|
-
# stream.on_access_denied_exception_event do |event|
|
4740
|
-
# event # => Aws::IoTSiteWise::Types::accessDeniedException
|
4741
|
-
# end
|
4742
|
-
# stream.on_conflicting_operation_exception_event do |event|
|
4743
|
-
# event # => Aws::IoTSiteWise::Types::conflictingOperationException
|
4744
|
-
# end
|
4745
|
-
# stream.on_internal_failure_exception_event do |event|
|
4746
|
-
# event # => Aws::IoTSiteWise::Types::internalFailureException
|
4747
|
-
# end
|
4748
|
-
# stream.on_invalid_request_exception_event do |event|
|
4749
|
-
# event # => Aws::IoTSiteWise::Types::invalidRequestException
|
4750
|
-
# end
|
4751
|
-
# stream.on_limit_exceeded_exception_event do |event|
|
4752
|
-
# event # => Aws::IoTSiteWise::Types::limitExceededException
|
4753
|
-
# end
|
4754
|
-
# stream.on_resource_not_found_exception_event do |event|
|
4755
|
-
# event # => Aws::IoTSiteWise::Types::resourceNotFoundException
|
4756
|
-
# end
|
4757
|
-
# stream.on_throttling_exception_event do |event|
|
4758
|
-
# event # => Aws::IoTSiteWise::Types::throttlingException
|
4759
|
-
# end
|
4706
|
+
# stream.on_event do |event|
|
4707
|
+
# # process all events arrive
|
4708
|
+
# puts event.event_type
|
4709
|
+
# # ...
|
4760
4710
|
# end
|
4761
|
-
#
|
4762
|
-
#
|
4763
|
-
#
|
4764
|
-
#
|
4765
|
-
#
|
4766
|
-
#
|
4767
|
-
#
|
4768
|
-
#
|
4769
|
-
#
|
4770
|
-
#
|
4771
|
-
#
|
4772
|
-
#
|
4773
|
-
#
|
4774
|
-
#
|
4775
|
-
#
|
4776
|
-
#
|
4777
|
-
#
|
4778
|
-
#
|
4779
|
-
#
|
4780
|
-
#
|
4781
|
-
#
|
4782
|
-
#
|
4783
|
-
#
|
4784
|
-
#
|
4785
|
-
#
|
4786
|
-
#
|
4787
|
-
#
|
4788
|
-
#
|
4789
|
-
#
|
4790
|
-
#
|
4791
|
-
#
|
4792
|
-
#
|
4793
|
-
#
|
4794
|
-
#
|
4795
|
-
#
|
4796
|
-
#
|
4797
|
-
#
|
4798
|
-
#
|
4799
|
-
#
|
4800
|
-
#
|
4801
|
-
#
|
4802
|
-
#
|
4803
|
-
#
|
4711
|
+
# end
|
4712
|
+
#
|
4713
|
+
# # Usage pattern b): Pass in `:event_stream_handler` for #invoke_assistant
|
4714
|
+
# # 1) Create a Aws::IoTSiteWise::EventStreams::ResponseStream object
|
4715
|
+
# # Example for registering callbacks with specific events
|
4716
|
+
#
|
4717
|
+
# handler = Aws::IoTSiteWise::EventStreams::ResponseStream.new
|
4718
|
+
# handler.on_trace_event do |event|
|
4719
|
+
# event # => Aws::IoTSiteWise::Types::trace
|
4720
|
+
# end
|
4721
|
+
# handler.on_output_event do |event|
|
4722
|
+
# event # => Aws::IoTSiteWise::Types::output
|
4723
|
+
# end
|
4724
|
+
# handler.on_access_denied_exception_event do |event|
|
4725
|
+
# event # => Aws::IoTSiteWise::Types::accessDeniedException
|
4726
|
+
# end
|
4727
|
+
# handler.on_conflicting_operation_exception_event do |event|
|
4728
|
+
# event # => Aws::IoTSiteWise::Types::conflictingOperationException
|
4729
|
+
# end
|
4730
|
+
# handler.on_internal_failure_exception_event do |event|
|
4731
|
+
# event # => Aws::IoTSiteWise::Types::internalFailureException
|
4732
|
+
# end
|
4733
|
+
# handler.on_invalid_request_exception_event do |event|
|
4734
|
+
# event # => Aws::IoTSiteWise::Types::invalidRequestException
|
4735
|
+
# end
|
4736
|
+
# handler.on_limit_exceeded_exception_event do |event|
|
4737
|
+
# event # => Aws::IoTSiteWise::Types::limitExceededException
|
4738
|
+
# end
|
4739
|
+
# handler.on_resource_not_found_exception_event do |event|
|
4740
|
+
# event # => Aws::IoTSiteWise::Types::resourceNotFoundException
|
4741
|
+
# end
|
4742
|
+
# handler.on_throttling_exception_event do |event|
|
4743
|
+
# event # => Aws::IoTSiteWise::Types::throttlingException
|
4744
|
+
# end
|
4745
|
+
#
|
4746
|
+
# client.invoke_assistant(
|
4747
|
+
# # params inputs
|
4748
|
+
# event_stream_handler: handler
|
4749
|
+
# )
|
4750
|
+
#
|
4751
|
+
# # 2) Use a Ruby Proc object
|
4752
|
+
# # Example for registering callbacks with specific events
|
4753
|
+
# handler = Proc.new do |stream|
|
4754
|
+
# stream.on_trace_event do |event|
|
4755
|
+
# event # => Aws::IoTSiteWise::Types::trace
|
4804
4756
|
# end
|
4757
|
+
# stream.on_output_event do |event|
|
4758
|
+
# event # => Aws::IoTSiteWise::Types::output
|
4759
|
+
# end
|
4760
|
+
# stream.on_access_denied_exception_event do |event|
|
4761
|
+
# event # => Aws::IoTSiteWise::Types::accessDeniedException
|
4762
|
+
# end
|
4763
|
+
# stream.on_conflicting_operation_exception_event do |event|
|
4764
|
+
# event # => Aws::IoTSiteWise::Types::conflictingOperationException
|
4765
|
+
# end
|
4766
|
+
# stream.on_internal_failure_exception_event do |event|
|
4767
|
+
# event # => Aws::IoTSiteWise::Types::internalFailureException
|
4768
|
+
# end
|
4769
|
+
# stream.on_invalid_request_exception_event do |event|
|
4770
|
+
# event # => Aws::IoTSiteWise::Types::invalidRequestException
|
4771
|
+
# end
|
4772
|
+
# stream.on_limit_exceeded_exception_event do |event|
|
4773
|
+
# event # => Aws::IoTSiteWise::Types::limitExceededException
|
4774
|
+
# end
|
4775
|
+
# stream.on_resource_not_found_exception_event do |event|
|
4776
|
+
# event # => Aws::IoTSiteWise::Types::resourceNotFoundException
|
4777
|
+
# end
|
4778
|
+
# stream.on_throttling_exception_event do |event|
|
4779
|
+
# event # => Aws::IoTSiteWise::Types::throttlingException
|
4780
|
+
# end
|
4781
|
+
# end
|
4782
|
+
#
|
4783
|
+
# client.invoke_assistant(
|
4784
|
+
# # params inputs
|
4785
|
+
# event_stream_handler: handler
|
4786
|
+
# )
|
4787
|
+
#
|
4788
|
+
# # Usage pattern c): Hybrid pattern of a) and b)
|
4789
|
+
# handler = Aws::IoTSiteWise::EventStreams::ResponseStream.new
|
4790
|
+
# handler.on_trace_event do |event|
|
4791
|
+
# event # => Aws::IoTSiteWise::Types::trace
|
4792
|
+
# end
|
4793
|
+
# handler.on_output_event do |event|
|
4794
|
+
# event # => Aws::IoTSiteWise::Types::output
|
4795
|
+
# end
|
4796
|
+
# handler.on_access_denied_exception_event do |event|
|
4797
|
+
# event # => Aws::IoTSiteWise::Types::accessDeniedException
|
4798
|
+
# end
|
4799
|
+
# handler.on_conflicting_operation_exception_event do |event|
|
4800
|
+
# event # => Aws::IoTSiteWise::Types::conflictingOperationException
|
4801
|
+
# end
|
4802
|
+
# handler.on_internal_failure_exception_event do |event|
|
4803
|
+
# event # => Aws::IoTSiteWise::Types::internalFailureException
|
4804
|
+
# end
|
4805
|
+
# handler.on_invalid_request_exception_event do |event|
|
4806
|
+
# event # => Aws::IoTSiteWise::Types::invalidRequestException
|
4807
|
+
# end
|
4808
|
+
# handler.on_limit_exceeded_exception_event do |event|
|
4809
|
+
# event # => Aws::IoTSiteWise::Types::limitExceededException
|
4810
|
+
# end
|
4811
|
+
# handler.on_resource_not_found_exception_event do |event|
|
4812
|
+
# event # => Aws::IoTSiteWise::Types::resourceNotFoundException
|
4813
|
+
# end
|
4814
|
+
# handler.on_throttling_exception_event do |event|
|
4815
|
+
# event # => Aws::IoTSiteWise::Types::throttlingException
|
4816
|
+
# end
|
4817
|
+
#
|
4818
|
+
# client.invoke_assistant(
|
4819
|
+
# # params input
|
4820
|
+
# event_stream_handler: handler
|
4821
|
+
# ) do |stream|
|
4822
|
+
# stream.on_error_event do |event|
|
4823
|
+
# # catch unmodeled error event in the stream
|
4824
|
+
# raise event
|
4825
|
+
# # => Aws::Errors::EventError
|
4826
|
+
# # event.event_type => :error
|
4827
|
+
# # event.error_code => String
|
4828
|
+
# # event.error_message => String
|
4829
|
+
# end
|
4830
|
+
# end
|
4805
4831
|
#
|
4806
|
-
# You can also iterate through events after the response complete.
|
4807
|
-
#
|
4808
|
-
#
|
4809
|
-
# For parameter input example, please refer to following request syntax
|
4832
|
+
# # You can also iterate through events after the response complete.
|
4833
|
+
# # Events are available at
|
4834
|
+
# resp.body # => Enumerator
|
4835
|
+
# # For parameter input example, please refer to following request syntax.
|
4810
4836
|
#
|
4811
4837
|
# @example Request syntax with placeholder values
|
4812
4838
|
#
|
@@ -4818,14 +4844,14 @@ module Aws::IoTSiteWise
|
|
4818
4844
|
#
|
4819
4845
|
# @example Response structure
|
4820
4846
|
#
|
4821
|
-
# All events are available at resp.body:
|
4847
|
+
# # All events are available at resp.body:
|
4822
4848
|
# resp.body #=> Enumerator
|
4823
4849
|
# resp.body.event_types #=> [:trace, :output, :access_denied_exception, :conflicting_operation_exception, :internal_failure_exception, :invalid_request_exception, :limit_exceeded_exception, :resource_not_found_exception, :throttling_exception]
|
4824
4850
|
#
|
4825
|
-
# For :trace event available at #on_trace_event callback and response eventstream enumerator:
|
4851
|
+
# # For :trace event available at #on_trace_event callback and response eventstream enumerator:
|
4826
4852
|
# event.text #=> String
|
4827
4853
|
#
|
4828
|
-
# For :output event available at #on_output_event callback and response eventstream enumerator:
|
4854
|
+
# # For :output event available at #on_output_event callback and response eventstream enumerator:
|
4829
4855
|
# event.message #=> String
|
4830
4856
|
# event.citations #=> Array
|
4831
4857
|
# event.citations[0].reference.dataset.dataset_arn #=> String
|
@@ -4833,27 +4859,27 @@ module Aws::IoTSiteWise
|
|
4833
4859
|
# event.citations[0].reference.dataset.source.location.uri #=> String
|
4834
4860
|
# event.citations[0].content.text #=> String
|
4835
4861
|
#
|
4836
|
-
# For :access_denied_exception event available at #on_access_denied_exception_event callback and response eventstream enumerator:
|
4862
|
+
# # For :access_denied_exception event available at #on_access_denied_exception_event callback and response eventstream enumerator:
|
4837
4863
|
# event.message #=> String
|
4838
4864
|
#
|
4839
|
-
# For :conflicting_operation_exception event available at #on_conflicting_operation_exception_event callback and response eventstream enumerator:
|
4865
|
+
# # For :conflicting_operation_exception event available at #on_conflicting_operation_exception_event callback and response eventstream enumerator:
|
4840
4866
|
# event.message #=> String
|
4841
4867
|
# event.resource_id #=> String
|
4842
4868
|
# event.resource_arn #=> String
|
4843
4869
|
#
|
4844
|
-
# For :internal_failure_exception event available at #on_internal_failure_exception_event callback and response eventstream enumerator:
|
4870
|
+
# # For :internal_failure_exception event available at #on_internal_failure_exception_event callback and response eventstream enumerator:
|
4845
4871
|
# event.message #=> String
|
4846
4872
|
#
|
4847
|
-
# For :invalid_request_exception event available at #on_invalid_request_exception_event callback and response eventstream enumerator:
|
4873
|
+
# # For :invalid_request_exception event available at #on_invalid_request_exception_event callback and response eventstream enumerator:
|
4848
4874
|
# event.message #=> String
|
4849
4875
|
#
|
4850
|
-
# For :limit_exceeded_exception event available at #on_limit_exceeded_exception_event callback and response eventstream enumerator:
|
4876
|
+
# # For :limit_exceeded_exception event available at #on_limit_exceeded_exception_event callback and response eventstream enumerator:
|
4851
4877
|
# event.message #=> String
|
4852
4878
|
#
|
4853
|
-
# For :resource_not_found_exception event available at #on_resource_not_found_exception_event callback and response eventstream enumerator:
|
4879
|
+
# # For :resource_not_found_exception event available at #on_resource_not_found_exception_event callback and response eventstream enumerator:
|
4854
4880
|
# event.message #=> String
|
4855
4881
|
#
|
4856
|
-
# For :throttling_exception event available at #on_throttling_exception_event callback and response eventstream enumerator:
|
4882
|
+
# # For :throttling_exception event available at #on_throttling_exception_event callback and response eventstream enumerator:
|
4857
4883
|
# event.message #=> String
|
4858
4884
|
#
|
4859
4885
|
# resp.conversation_id #=> String
|
@@ -5809,7 +5835,9 @@ module Aws::IoTSiteWise
|
|
5809
5835
|
# resp.gateway_summaries[0].gateway_name #=> String
|
5810
5836
|
# resp.gateway_summaries[0].gateway_platform.greengrass.group_arn #=> String
|
5811
5837
|
# resp.gateway_summaries[0].gateway_platform.greengrass_v2.core_device_thing_name #=> String
|
5838
|
+
# resp.gateway_summaries[0].gateway_platform.greengrass_v2.core_device_operating_system #=> String, one of "LINUX_AARCH64", "LINUX_AMD64", "WINDOWS_AMD64"
|
5812
5839
|
# resp.gateway_summaries[0].gateway_platform.siemens_ie.iot_core_thing_name #=> String
|
5840
|
+
# resp.gateway_summaries[0].gateway_version #=> String
|
5813
5841
|
# resp.gateway_summaries[0].gateway_capability_summaries #=> Array
|
5814
5842
|
# resp.gateway_summaries[0].gateway_capability_summaries[0].capability_namespace #=> String
|
5815
5843
|
# resp.gateway_summaries[0].gateway_capability_summaries[0].capability_sync_status #=> String, one of "IN_SYNC", "OUT_OF_SYNC", "SYNC_FAILED", "UNKNOWN", "NOT_APPLICABLE"
|
@@ -7431,7 +7459,7 @@ module Aws::IoTSiteWise
|
|
7431
7459
|
tracer: tracer
|
7432
7460
|
)
|
7433
7461
|
context[:gem_name] = 'aws-sdk-iotsitewise'
|
7434
|
-
context[:gem_version] = '1.
|
7462
|
+
context[:gem_version] = '1.84.0'
|
7435
7463
|
Seahorse::Client::Request.new(handlers, context)
|
7436
7464
|
end
|
7437
7465
|
|
@@ -174,6 +174,7 @@ module Aws::IoTSiteWise
|
|
174
174
|
ConflictingOperationException = Shapes::StructureShape.new(name: 'ConflictingOperationException')
|
175
175
|
Content = Shapes::StructureShape.new(name: 'Content')
|
176
176
|
ConversationId = Shapes::StringShape.new(name: 'ConversationId')
|
177
|
+
CoreDeviceOperatingSystem = Shapes::StringShape.new(name: 'CoreDeviceOperatingSystem')
|
177
178
|
CoreDeviceThingName = Shapes::StringShape.new(name: 'CoreDeviceThingName')
|
178
179
|
CreateAccessPolicyRequest = Shapes::StructureShape.new(name: 'CreateAccessPolicyRequest')
|
179
180
|
CreateAccessPolicyResponse = Shapes::StructureShape.new(name: 'CreateAccessPolicyResponse')
|
@@ -307,6 +308,7 @@ module Aws::IoTSiteWise
|
|
307
308
|
GatewayPlatform = Shapes::StructureShape.new(name: 'GatewayPlatform')
|
308
309
|
GatewaySummaries = Shapes::ListShape.new(name: 'GatewaySummaries')
|
309
310
|
GatewaySummary = Shapes::StructureShape.new(name: 'GatewaySummary')
|
311
|
+
GatewayVersion = Shapes::StringShape.new(name: 'GatewayVersion')
|
310
312
|
GetAssetPropertyAggregatesRequest = Shapes::StructureShape.new(name: 'GetAssetPropertyAggregatesRequest')
|
311
313
|
GetAssetPropertyAggregatesResponse = Shapes::StructureShape.new(name: 'GetAssetPropertyAggregatesResponse')
|
312
314
|
GetAssetPropertyValueAggregatesMaxResults = Shapes::IntegerShape.new(name: 'GetAssetPropertyValueAggregatesMaxResults')
|
@@ -1179,6 +1181,7 @@ module Aws::IoTSiteWise
|
|
1179
1181
|
|
1180
1182
|
CreateGatewayRequest.add_member(:gateway_name, Shapes::ShapeRef.new(shape: GatewayName, required: true, location_name: "gatewayName"))
|
1181
1183
|
CreateGatewayRequest.add_member(:gateway_platform, Shapes::ShapeRef.new(shape: GatewayPlatform, required: true, location_name: "gatewayPlatform"))
|
1184
|
+
CreateGatewayRequest.add_member(:gateway_version, Shapes::ShapeRef.new(shape: GatewayVersion, location_name: "gatewayVersion"))
|
1182
1185
|
CreateGatewayRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
1183
1186
|
CreateGatewayRequest.struct_class = Types::CreateGatewayRequest
|
1184
1187
|
|
@@ -1511,6 +1514,7 @@ module Aws::IoTSiteWise
|
|
1511
1514
|
DescribeGatewayResponse.add_member(:gateway_name, Shapes::ShapeRef.new(shape: GatewayName, required: true, location_name: "gatewayName"))
|
1512
1515
|
DescribeGatewayResponse.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "gatewayArn"))
|
1513
1516
|
DescribeGatewayResponse.add_member(:gateway_platform, Shapes::ShapeRef.new(shape: GatewayPlatform, location_name: "gatewayPlatform"))
|
1517
|
+
DescribeGatewayResponse.add_member(:gateway_version, Shapes::ShapeRef.new(shape: GatewayVersion, location_name: "gatewayVersion"))
|
1514
1518
|
DescribeGatewayResponse.add_member(:gateway_capability_summaries, Shapes::ShapeRef.new(shape: GatewayCapabilitySummaries, required: true, location_name: "gatewayCapabilitySummaries"))
|
1515
1519
|
DescribeGatewayResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationDate"))
|
1516
1520
|
DescribeGatewayResponse.add_member(:last_update_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "lastUpdateDate"))
|
@@ -1667,6 +1671,7 @@ module Aws::IoTSiteWise
|
|
1667
1671
|
GatewaySummary.add_member(:gateway_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "gatewayId"))
|
1668
1672
|
GatewaySummary.add_member(:gateway_name, Shapes::ShapeRef.new(shape: GatewayName, required: true, location_name: "gatewayName"))
|
1669
1673
|
GatewaySummary.add_member(:gateway_platform, Shapes::ShapeRef.new(shape: GatewayPlatform, location_name: "gatewayPlatform"))
|
1674
|
+
GatewaySummary.add_member(:gateway_version, Shapes::ShapeRef.new(shape: GatewayVersion, location_name: "gatewayVersion"))
|
1670
1675
|
GatewaySummary.add_member(:gateway_capability_summaries, Shapes::ShapeRef.new(shape: GatewayCapabilitySummaries, location_name: "gatewayCapabilitySummaries"))
|
1671
1676
|
GatewaySummary.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationDate"))
|
1672
1677
|
GatewaySummary.add_member(:last_update_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "lastUpdateDate"))
|
@@ -1735,6 +1740,7 @@ module Aws::IoTSiteWise
|
|
1735
1740
|
Greengrass.struct_class = Types::Greengrass
|
1736
1741
|
|
1737
1742
|
GreengrassV2.add_member(:core_device_thing_name, Shapes::ShapeRef.new(shape: CoreDeviceThingName, required: true, location_name: "coreDeviceThingName"))
|
1743
|
+
GreengrassV2.add_member(:core_device_operating_system, Shapes::ShapeRef.new(shape: CoreDeviceOperatingSystem, location_name: "coreDeviceOperatingSystem"))
|
1738
1744
|
GreengrassV2.struct_class = Types::GreengrassV2
|
1739
1745
|
|
1740
1746
|
GroupIdentity.add_member(:id, Shapes::ShapeRef.new(shape: IdentityId, required: true, location_name: "id"))
|
@@ -3232,6 +3232,22 @@ module Aws::IoTSiteWise
|
|
3232
3232
|
# gateway.
|
3233
3233
|
# @return [Types::GatewayPlatform]
|
3234
3234
|
#
|
3235
|
+
# @!attribute [rw] gateway_version
|
3236
|
+
# The version of the gateway to create. Specify `3` to create an
|
3237
|
+
# MQTT-enabled, V3 gateway and `2` To create a Classic streams, V2
|
3238
|
+
# gateway. If the version isn't specified, a Classic streams, V2
|
3239
|
+
# gateway is created by default.
|
3240
|
+
#
|
3241
|
+
# We recommend creating an MQTT-enabled, V3 gateway for self-hosted
|
3242
|
+
# gateways. SiteWise Edge gateways on Siemens Industrial Edge should
|
3243
|
+
# use gateway version `2`. For more information on gateway versions,
|
3244
|
+
# see [ Self-host a SiteWise Edge gateway with IoT Greengrass V2][1].
|
3245
|
+
#
|
3246
|
+
#
|
3247
|
+
#
|
3248
|
+
# [1]: https://docs.aws.amazon.com/iot-sitewise/latest/userguide/gw-self-host-gg2.html
|
3249
|
+
# @return [String]
|
3250
|
+
#
|
3235
3251
|
# @!attribute [rw] tags
|
3236
3252
|
# A list of key-value pairs that contain metadata for the gateway. For
|
3237
3253
|
# more information, see [Tagging your IoT SiteWise resources][1] in
|
@@ -3245,6 +3261,7 @@ module Aws::IoTSiteWise
|
|
3245
3261
|
class CreateGatewayRequest < Struct.new(
|
3246
3262
|
:gateway_name,
|
3247
3263
|
:gateway_platform,
|
3264
|
+
:gateway_version,
|
3248
3265
|
:tags)
|
3249
3266
|
SENSITIVE = []
|
3250
3267
|
include Aws::Structure
|
@@ -5060,6 +5077,12 @@ module Aws::IoTSiteWise
|
|
5060
5077
|
# The gateway's platform.
|
5061
5078
|
# @return [Types::GatewayPlatform]
|
5062
5079
|
#
|
5080
|
+
# @!attribute [rw] gateway_version
|
5081
|
+
# The version of the gateway. A value of `3` indicates an
|
5082
|
+
# MQTT-enabled, V3 gateway, while `2` indicates a Classic streams, V2
|
5083
|
+
# gateway.
|
5084
|
+
# @return [String]
|
5085
|
+
#
|
5063
5086
|
# @!attribute [rw] gateway_capability_summaries
|
5064
5087
|
# A list of gateway capability summaries that each contain a namespace
|
5065
5088
|
# and status. Each gateway capability defines data sources for the
|
@@ -5084,6 +5107,7 @@ module Aws::IoTSiteWise
|
|
5084
5107
|
:gateway_name,
|
5085
5108
|
:gateway_arn,
|
5086
5109
|
:gateway_platform,
|
5110
|
+
:gateway_version,
|
5087
5111
|
:gateway_capability_summaries,
|
5088
5112
|
:creation_date,
|
5089
5113
|
:last_update_date)
|
@@ -5880,6 +5904,12 @@ module Aws::IoTSiteWise
|
|
5880
5904
|
# Contains a gateway's platform information.
|
5881
5905
|
# @return [Types::GatewayPlatform]
|
5882
5906
|
#
|
5907
|
+
# @!attribute [rw] gateway_version
|
5908
|
+
# The version of the gateway. A value of `3` indicates an
|
5909
|
+
# MQTT-enabled, V3 gateway, while `2` indicates a Classic streams, V2
|
5910
|
+
# gateway.
|
5911
|
+
# @return [String]
|
5912
|
+
#
|
5883
5913
|
# @!attribute [rw] gateway_capability_summaries
|
5884
5914
|
# A list of gateway capability summaries that each contain a namespace
|
5885
5915
|
# and status. Each gateway capability defines data sources for the
|
@@ -5903,6 +5933,7 @@ module Aws::IoTSiteWise
|
|
5903
5933
|
:gateway_id,
|
5904
5934
|
:gateway_name,
|
5905
5935
|
:gateway_platform,
|
5936
|
+
:gateway_version,
|
5906
5937
|
:gateway_capability_summaries,
|
5907
5938
|
:creation_date,
|
5908
5939
|
:last_update_date)
|
@@ -6325,8 +6356,13 @@ module Aws::IoTSiteWise
|
|
6325
6356
|
# The name of the IoT thing for your IoT Greengrass V2 core device.
|
6326
6357
|
# @return [String]
|
6327
6358
|
#
|
6359
|
+
# @!attribute [rw] core_device_operating_system
|
6360
|
+
# The operating system of the core device in IoT Greengrass V2.
|
6361
|
+
# @return [String]
|
6362
|
+
#
|
6328
6363
|
class GreengrassV2 < Struct.new(
|
6329
|
-
:core_device_thing_name
|
6364
|
+
:core_device_thing_name,
|
6365
|
+
:core_device_operating_system)
|
6330
6366
|
SENSITIVE = []
|
6331
6367
|
include Aws::Structure
|
6332
6368
|
end
|
data/lib/aws-sdk-iotsitewise.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -653,12 +653,14 @@ module Aws
|
|
653
653
|
group_arn: ::String
|
654
654
|
}?,
|
655
655
|
greengrass_v2: {
|
656
|
-
core_device_thing_name: ::String
|
656
|
+
core_device_thing_name: ::String,
|
657
|
+
core_device_operating_system: ("LINUX_AARCH64" | "LINUX_AMD64" | "WINDOWS_AMD64")?
|
657
658
|
}?,
|
658
659
|
siemens_ie: {
|
659
660
|
iot_core_thing_name: ::String
|
660
661
|
}?
|
661
662
|
},
|
663
|
+
?gateway_version: ::String,
|
662
664
|
?tags: Hash[::String, ::String]
|
663
665
|
) -> _CreateGatewayResponseSuccess
|
664
666
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateGatewayResponseSuccess
|
@@ -1027,6 +1029,7 @@ module Aws
|
|
1027
1029
|
def gateway_name: () -> ::String
|
1028
1030
|
def gateway_arn: () -> ::String
|
1029
1031
|
def gateway_platform: () -> Types::GatewayPlatform
|
1032
|
+
def gateway_version: () -> ::String
|
1030
1033
|
def gateway_capability_summaries: () -> ::Array[Types::GatewayCapabilitySummary]
|
1031
1034
|
def creation_date: () -> ::Time
|
1032
1035
|
def last_update_date: () -> ::Time
|
data/sig/types.rbs
CHANGED
@@ -728,6 +728,7 @@ module Aws::IoTSiteWise
|
|
728
728
|
class CreateGatewayRequest
|
729
729
|
attr_accessor gateway_name: ::String
|
730
730
|
attr_accessor gateway_platform: Types::GatewayPlatform
|
731
|
+
attr_accessor gateway_version: ::String
|
731
732
|
attr_accessor tags: ::Hash[::String, ::String]
|
732
733
|
SENSITIVE: []
|
733
734
|
end
|
@@ -1164,6 +1165,7 @@ module Aws::IoTSiteWise
|
|
1164
1165
|
attr_accessor gateway_name: ::String
|
1165
1166
|
attr_accessor gateway_arn: ::String
|
1166
1167
|
attr_accessor gateway_platform: Types::GatewayPlatform
|
1168
|
+
attr_accessor gateway_version: ::String
|
1167
1169
|
attr_accessor gateway_capability_summaries: ::Array[Types::GatewayCapabilitySummary]
|
1168
1170
|
attr_accessor creation_date: ::Time
|
1169
1171
|
attr_accessor last_update_date: ::Time
|
@@ -1360,6 +1362,7 @@ module Aws::IoTSiteWise
|
|
1360
1362
|
attr_accessor gateway_id: ::String
|
1361
1363
|
attr_accessor gateway_name: ::String
|
1362
1364
|
attr_accessor gateway_platform: Types::GatewayPlatform
|
1365
|
+
attr_accessor gateway_version: ::String
|
1363
1366
|
attr_accessor gateway_capability_summaries: ::Array[Types::GatewayCapabilitySummary]
|
1364
1367
|
attr_accessor creation_date: ::Time
|
1365
1368
|
attr_accessor last_update_date: ::Time
|
@@ -1448,6 +1451,7 @@ module Aws::IoTSiteWise
|
|
1448
1451
|
|
1449
1452
|
class GreengrassV2
|
1450
1453
|
attr_accessor core_device_thing_name: ::String
|
1454
|
+
attr_accessor core_device_operating_system: ("LINUX_AARCH64" | "LINUX_AMD64" | "WINDOWS_AMD64")
|
1451
1455
|
SENSITIVE: []
|
1452
1456
|
end
|
1453
1457
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-iotsitewise
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.84.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: 2025-
|
11
|
+
date: 2025-04-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|