aws-sdk-iotwireless 1.23.0 → 1.24.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iotwireless/client.rb +220 -9
- data/lib/aws-sdk-iotwireless/client_api.rb +184 -0
- data/lib/aws-sdk-iotwireless/types.rb +480 -21
- data/lib/aws-sdk-iotwireless.rb +1 -1
- 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: '09e1b9275998710a25dd3bf41d5929a3ea6575d9835593389e5a1805370861d4'
|
4
|
+
data.tar.gz: 81f4e2a7007fbecc50a6ec611f4add8df197e920e00a53e33a894305101041ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9dcb8d4a51e744ee0690eec2da1302db90caee10b5c97b94a73b2fa630243fbe5a2bbb46bf7a208748ad6455e00449143097a364196ca882b0cc875d7638e8aa
|
7
|
+
data.tar.gz: e1b96038b56ad5fc5358572de10a5e6e7b62a36274fd8feae22e48a8cb4efbc8c573e8e159504b0c586780ac854d7761559281a39471bef57ffa499df11fe915
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.24.0 (2022-07-07)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Adds 5 APIs: PutPositionConfiguration, GetPositionConfiguration, ListPositionConfigurations, UpdatePosition, GetPosition for the new Positioning Service feature which enables customers to configure solvers to calculate position of LoRaWAN devices, or specify position of LoRaWAN devices & gateways.
|
8
|
+
|
4
9
|
1.23.0 (2022-04-27)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.24.0
|
@@ -1041,6 +1041,11 @@ module Aws::IoTWireless
|
|
1041
1041
|
# fuota: 1,
|
1042
1042
|
# multicast: 1,
|
1043
1043
|
# clock_sync: 1,
|
1044
|
+
# positioning: {
|
1045
|
+
# clock_sync: 1,
|
1046
|
+
# stream: 1,
|
1047
|
+
# gnss: 1,
|
1048
|
+
# },
|
1044
1049
|
# },
|
1045
1050
|
# },
|
1046
1051
|
# tags: [
|
@@ -1713,7 +1718,7 @@ module Aws::IoTWireless
|
|
1713
1718
|
req.send_request(options)
|
1714
1719
|
end
|
1715
1720
|
|
1716
|
-
# Get the event configuration
|
1721
|
+
# Get the event configuration based on resource types.
|
1717
1722
|
#
|
1718
1723
|
# @return [Types::GetEventConfigurationByResourceTypesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1719
1724
|
#
|
@@ -1956,6 +1961,85 @@ module Aws::IoTWireless
|
|
1956
1961
|
req.send_request(options)
|
1957
1962
|
end
|
1958
1963
|
|
1964
|
+
# Get the position information for a given resource.
|
1965
|
+
#
|
1966
|
+
# @option params [required, String] :resource_identifier
|
1967
|
+
# Resource identifier used to retrieve the position information.
|
1968
|
+
#
|
1969
|
+
# @option params [required, String] :resource_type
|
1970
|
+
# Resource type of the resource for which position information is
|
1971
|
+
# retrieved.
|
1972
|
+
#
|
1973
|
+
# @return [Types::GetPositionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1974
|
+
#
|
1975
|
+
# * {Types::GetPositionResponse#position #position} => Array<Float>
|
1976
|
+
# * {Types::GetPositionResponse#accuracy #accuracy} => Types::Accuracy
|
1977
|
+
# * {Types::GetPositionResponse#solver_type #solver_type} => String
|
1978
|
+
# * {Types::GetPositionResponse#solver_provider #solver_provider} => String
|
1979
|
+
# * {Types::GetPositionResponse#solver_version #solver_version} => String
|
1980
|
+
# * {Types::GetPositionResponse#timestamp #timestamp} => String
|
1981
|
+
#
|
1982
|
+
# @example Request syntax with placeholder values
|
1983
|
+
#
|
1984
|
+
# resp = client.get_position({
|
1985
|
+
# resource_identifier: "PositionResourceIdentifier", # required
|
1986
|
+
# resource_type: "WirelessDevice", # required, accepts WirelessDevice, WirelessGateway
|
1987
|
+
# })
|
1988
|
+
#
|
1989
|
+
# @example Response structure
|
1990
|
+
#
|
1991
|
+
# resp.position #=> Array
|
1992
|
+
# resp.position[0] #=> Float
|
1993
|
+
# resp.accuracy.horizontal_accuracy #=> Float
|
1994
|
+
# resp.accuracy.vertical_accuracy #=> Float
|
1995
|
+
# resp.solver_type #=> String, one of "GNSS"
|
1996
|
+
# resp.solver_provider #=> String, one of "Semtech"
|
1997
|
+
# resp.solver_version #=> String
|
1998
|
+
# resp.timestamp #=> String
|
1999
|
+
#
|
2000
|
+
# @overload get_position(params = {})
|
2001
|
+
# @param [Hash] params ({})
|
2002
|
+
def get_position(params = {}, options = {})
|
2003
|
+
req = build_request(:get_position, params)
|
2004
|
+
req.send_request(options)
|
2005
|
+
end
|
2006
|
+
|
2007
|
+
# Get position configuration for a given resource.
|
2008
|
+
#
|
2009
|
+
# @option params [required, String] :resource_identifier
|
2010
|
+
# Resource identifier used in a position configuration.
|
2011
|
+
#
|
2012
|
+
# @option params [required, String] :resource_type
|
2013
|
+
# Resource type of the resource for which position configuration is
|
2014
|
+
# retrieved.
|
2015
|
+
#
|
2016
|
+
# @return [Types::GetPositionConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2017
|
+
#
|
2018
|
+
# * {Types::GetPositionConfigurationResponse#solvers #solvers} => Types::PositionSolverDetails
|
2019
|
+
# * {Types::GetPositionConfigurationResponse#destination #destination} => String
|
2020
|
+
#
|
2021
|
+
# @example Request syntax with placeholder values
|
2022
|
+
#
|
2023
|
+
# resp = client.get_position_configuration({
|
2024
|
+
# resource_identifier: "PositionResourceIdentifier", # required
|
2025
|
+
# resource_type: "WirelessDevice", # required, accepts WirelessDevice, WirelessGateway
|
2026
|
+
# })
|
2027
|
+
#
|
2028
|
+
# @example Response structure
|
2029
|
+
#
|
2030
|
+
# resp.solvers.semtech_gnss.provider #=> String, one of "Semtech"
|
2031
|
+
# resp.solvers.semtech_gnss.type #=> String, one of "GNSS"
|
2032
|
+
# resp.solvers.semtech_gnss.status #=> String, one of "Enabled", "Disabled"
|
2033
|
+
# resp.solvers.semtech_gnss.fec #=> String, one of "ROSE", "NONE"
|
2034
|
+
# resp.destination #=> String
|
2035
|
+
#
|
2036
|
+
# @overload get_position_configuration(params = {})
|
2037
|
+
# @param [Hash] params ({})
|
2038
|
+
def get_position_configuration(params = {}, options = {})
|
2039
|
+
req = build_request(:get_position_configuration, params)
|
2040
|
+
req.send_request(options)
|
2041
|
+
end
|
2042
|
+
|
1959
2043
|
# Get the event configuration for a particular resource identifier.
|
1960
2044
|
#
|
1961
2045
|
# @option params [required, String] :identifier
|
@@ -1967,7 +2051,7 @@ module Aws::IoTWireless
|
|
1967
2051
|
#
|
1968
2052
|
# @option params [String] :partner_type
|
1969
2053
|
# Partner type of the resource if the identifier type is
|
1970
|
-
# PartnerAccountId
|
2054
|
+
# `PartnerAccountId`.
|
1971
2055
|
#
|
1972
2056
|
# @return [Types::GetResourceEventConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1973
2057
|
#
|
@@ -2181,6 +2265,9 @@ module Aws::IoTWireless
|
|
2181
2265
|
# resp.lo_ra_wan.f_ports.fuota #=> Integer
|
2182
2266
|
# resp.lo_ra_wan.f_ports.multicast #=> Integer
|
2183
2267
|
# resp.lo_ra_wan.f_ports.clock_sync #=> Integer
|
2268
|
+
# resp.lo_ra_wan.f_ports.positioning.clock_sync #=> Integer
|
2269
|
+
# resp.lo_ra_wan.f_ports.positioning.stream #=> Integer
|
2270
|
+
# resp.lo_ra_wan.f_ports.positioning.gnss #=> Integer
|
2184
2271
|
# resp.sidewalk.amazon_id #=> String
|
2185
2272
|
# resp.sidewalk.sidewalk_id #=> String
|
2186
2273
|
# resp.sidewalk.sidewalk_manufacturing_sn #=> String
|
@@ -2776,6 +2863,54 @@ module Aws::IoTWireless
|
|
2776
2863
|
req.send_request(options)
|
2777
2864
|
end
|
2778
2865
|
|
2866
|
+
# List position configurations for a given resource, such as positioning
|
2867
|
+
# solvers.
|
2868
|
+
#
|
2869
|
+
# @option params [String] :resource_type
|
2870
|
+
# Resource type for which position configurations are listed.
|
2871
|
+
#
|
2872
|
+
# @option params [Integer] :max_results
|
2873
|
+
# The maximum number of results to return in this operation.
|
2874
|
+
#
|
2875
|
+
# @option params [String] :next_token
|
2876
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
2877
|
+
# previous response; otherwise **null** to receive the first set of
|
2878
|
+
# results.
|
2879
|
+
#
|
2880
|
+
# @return [Types::ListPositionConfigurationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2881
|
+
#
|
2882
|
+
# * {Types::ListPositionConfigurationsResponse#position_configuration_list #position_configuration_list} => Array<Types::PositionConfigurationItem>
|
2883
|
+
# * {Types::ListPositionConfigurationsResponse#next_token #next_token} => String
|
2884
|
+
#
|
2885
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2886
|
+
#
|
2887
|
+
# @example Request syntax with placeholder values
|
2888
|
+
#
|
2889
|
+
# resp = client.list_position_configurations({
|
2890
|
+
# resource_type: "WirelessDevice", # accepts WirelessDevice, WirelessGateway
|
2891
|
+
# max_results: 1,
|
2892
|
+
# next_token: "NextToken",
|
2893
|
+
# })
|
2894
|
+
#
|
2895
|
+
# @example Response structure
|
2896
|
+
#
|
2897
|
+
# resp.position_configuration_list #=> Array
|
2898
|
+
# resp.position_configuration_list[0].resource_identifier #=> String
|
2899
|
+
# resp.position_configuration_list[0].resource_type #=> String, one of "WirelessDevice", "WirelessGateway"
|
2900
|
+
# resp.position_configuration_list[0].solvers.semtech_gnss.provider #=> String, one of "Semtech"
|
2901
|
+
# resp.position_configuration_list[0].solvers.semtech_gnss.type #=> String, one of "GNSS"
|
2902
|
+
# resp.position_configuration_list[0].solvers.semtech_gnss.status #=> String, one of "Enabled", "Disabled"
|
2903
|
+
# resp.position_configuration_list[0].solvers.semtech_gnss.fec #=> String, one of "ROSE", "NONE"
|
2904
|
+
# resp.position_configuration_list[0].destination #=> String
|
2905
|
+
# resp.next_token #=> String
|
2906
|
+
#
|
2907
|
+
# @overload list_position_configurations(params = {})
|
2908
|
+
# @param [Hash] params ({})
|
2909
|
+
def list_position_configurations(params = {}, options = {})
|
2910
|
+
req = build_request(:list_position_configurations, params)
|
2911
|
+
req.send_request(options)
|
2912
|
+
end
|
2913
|
+
|
2779
2914
|
# List queued messages in the downlink queue.
|
2780
2915
|
#
|
2781
2916
|
# @option params [required, String] :id
|
@@ -3069,6 +3204,47 @@ module Aws::IoTWireless
|
|
3069
3204
|
req.send_request(options)
|
3070
3205
|
end
|
3071
3206
|
|
3207
|
+
# Put position configuration for a given resource.
|
3208
|
+
#
|
3209
|
+
# @option params [required, String] :resource_identifier
|
3210
|
+
# Resource identifier used to update the position configuration.
|
3211
|
+
#
|
3212
|
+
# @option params [required, String] :resource_type
|
3213
|
+
# Resource type of the resource for which you want to update the
|
3214
|
+
# position configuration.
|
3215
|
+
#
|
3216
|
+
# @option params [Types::PositionSolverConfigurations] :solvers
|
3217
|
+
# The positioning solvers used to update the position configuration of
|
3218
|
+
# the resource.
|
3219
|
+
#
|
3220
|
+
# @option params [String] :destination
|
3221
|
+
# The position data destination that describes the AWS IoT rule that
|
3222
|
+
# processes the device's position data for use by AWS IoT Core for
|
3223
|
+
# LoRaWAN.
|
3224
|
+
#
|
3225
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3226
|
+
#
|
3227
|
+
# @example Request syntax with placeholder values
|
3228
|
+
#
|
3229
|
+
# resp = client.put_position_configuration({
|
3230
|
+
# resource_identifier: "PositionResourceIdentifier", # required
|
3231
|
+
# resource_type: "WirelessDevice", # required, accepts WirelessDevice, WirelessGateway
|
3232
|
+
# solvers: {
|
3233
|
+
# semtech_gnss: {
|
3234
|
+
# status: "Enabled", # required, accepts Enabled, Disabled
|
3235
|
+
# fec: "ROSE", # required, accepts ROSE, NONE
|
3236
|
+
# },
|
3237
|
+
# },
|
3238
|
+
# destination: "DestinationName",
|
3239
|
+
# })
|
3240
|
+
#
|
3241
|
+
# @overload put_position_configuration(params = {})
|
3242
|
+
# @param [Hash] params ({})
|
3243
|
+
def put_position_configuration(params = {}, options = {})
|
3244
|
+
req = build_request(:put_position_configuration, params)
|
3245
|
+
req.send_request(options)
|
3246
|
+
end
|
3247
|
+
|
3072
3248
|
# Sets the log-level override for a resource-ID and resource-type. This
|
3073
3249
|
# option can be specified for a wireless gateway or a wireless device. A
|
3074
3250
|
# limit of 200 log level override can be set per account.
|
@@ -3474,7 +3650,7 @@ module Aws::IoTWireless
|
|
3474
3650
|
req.send_request(options)
|
3475
3651
|
end
|
3476
3652
|
|
3477
|
-
# Update the event configuration
|
3653
|
+
# Update the event configuration based on resource types.
|
3478
3654
|
#
|
3479
3655
|
# @option params [Types::DeviceRegistrationStateResourceTypeEventConfiguration] :device_registration_state
|
3480
3656
|
# Device registration state resource type event configuration object for
|
@@ -3744,6 +3920,34 @@ module Aws::IoTWireless
|
|
3744
3920
|
req.send_request(options)
|
3745
3921
|
end
|
3746
3922
|
|
3923
|
+
# Update the position information of a resource.
|
3924
|
+
#
|
3925
|
+
# @option params [required, String] :resource_identifier
|
3926
|
+
# Resource identifier of the resource for which position is updated.
|
3927
|
+
#
|
3928
|
+
# @option params [required, String] :resource_type
|
3929
|
+
# Resource type of the resource for which position is updated.
|
3930
|
+
#
|
3931
|
+
# @option params [required, Array<Float>] :position
|
3932
|
+
# The position information of the resource.
|
3933
|
+
#
|
3934
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3935
|
+
#
|
3936
|
+
# @example Request syntax with placeholder values
|
3937
|
+
#
|
3938
|
+
# resp = client.update_position({
|
3939
|
+
# resource_identifier: "PositionResourceIdentifier", # required
|
3940
|
+
# resource_type: "WirelessDevice", # required, accepts WirelessDevice, WirelessGateway
|
3941
|
+
# position: [1.0], # required
|
3942
|
+
# })
|
3943
|
+
#
|
3944
|
+
# @overload update_position(params = {})
|
3945
|
+
# @param [Hash] params ({})
|
3946
|
+
def update_position(params = {}, options = {})
|
3947
|
+
req = build_request(:update_position, params)
|
3948
|
+
req.send_request(options)
|
3949
|
+
end
|
3950
|
+
|
3747
3951
|
# Update the event configuration for a particular resource identifier.
|
3748
3952
|
#
|
3749
3953
|
# @option params [required, String] :identifier
|
@@ -3755,19 +3959,19 @@ module Aws::IoTWireless
|
|
3755
3959
|
#
|
3756
3960
|
# @option params [String] :partner_type
|
3757
3961
|
# Partner type of the resource if the identifier type is
|
3758
|
-
# PartnerAccountId
|
3962
|
+
# `PartnerAccountId`
|
3759
3963
|
#
|
3760
3964
|
# @option params [Types::DeviceRegistrationStateEventConfiguration] :device_registration_state
|
3761
|
-
# Event configuration for the device registration state event
|
3965
|
+
# Event configuration for the device registration state event.
|
3762
3966
|
#
|
3763
3967
|
# @option params [Types::ProximityEventConfiguration] :proximity
|
3764
|
-
# Event configuration for the
|
3968
|
+
# Event configuration for the proximity event.
|
3765
3969
|
#
|
3766
3970
|
# @option params [Types::JoinEventConfiguration] :join
|
3767
|
-
# Event configuration for the join event
|
3971
|
+
# Event configuration for the join event.
|
3768
3972
|
#
|
3769
3973
|
# @option params [Types::ConnectionStatusEventConfiguration] :connection_status
|
3770
|
-
# Event configuration for the connection status event
|
3974
|
+
# Event configuration for the connection status event.
|
3771
3975
|
#
|
3772
3976
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3773
3977
|
#
|
@@ -3845,6 +4049,13 @@ module Aws::IoTWireless
|
|
3845
4049
|
# abp_v1_0_x: {
|
3846
4050
|
# f_cnt_start: 1,
|
3847
4051
|
# },
|
4052
|
+
# f_ports: {
|
4053
|
+
# positioning: {
|
4054
|
+
# clock_sync: 1,
|
4055
|
+
# stream: 1,
|
4056
|
+
# gnss: 1,
|
4057
|
+
# },
|
4058
|
+
# },
|
3848
4059
|
# },
|
3849
4060
|
# })
|
3850
4061
|
#
|
@@ -3907,7 +4118,7 @@ module Aws::IoTWireless
|
|
3907
4118
|
params: params,
|
3908
4119
|
config: config)
|
3909
4120
|
context[:gem_name] = 'aws-sdk-iotwireless'
|
3910
|
-
context[:gem_version] = '1.
|
4121
|
+
context[:gem_version] = '1.24.0'
|
3911
4122
|
Seahorse::Client::Request.new(handlers, context)
|
3912
4123
|
end
|
3913
4124
|
|