aws-sdk-iotwireless 1.26.0 → 1.28.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-iotwireless/client.rb +362 -3
- data/lib/aws-sdk-iotwireless/client_api.rb +328 -0
- data/lib/aws-sdk-iotwireless/endpoint_parameters.rb +69 -0
- data/lib/aws-sdk-iotwireless/endpoint_provider.rb +112 -0
- data/lib/aws-sdk-iotwireless/endpoints.rb +1429 -0
- data/lib/aws-sdk-iotwireless/plugins/endpoints.rb +270 -0
- data/lib/aws-sdk-iotwireless/types.rb +1444 -11
- data/lib/aws-sdk-iotwireless.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: ed2eb3d0c66694b79b5cdb4385ca3902f6c5632d868c122c2dc90b00a89f8531
|
4
|
+
data.tar.gz: '0815007f9ef9aee4e6e9d55b3b522cb8bae9487bfad1d8d4d72354ada4c4e2c4'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 482f8a0eab10bbc67403c9ab7f3bc11eaefb2a4a2fe366a3eaa2a084eea0d22cc044ca7c2990c47f360246e5c89060183d212fcd25c7cbacec5c46be65c674d4
|
7
|
+
data.tar.gz: 0f8a8878f0b871b1482d2dd2a66645112298bf2916a2ce3be7cf58419c630ff09bca889477ba7234644caad3fb004b90a817c5724f6cfa6e456a7a966f48bafe
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.28.0 (2022-11-28)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release includes a new feature for customers to calculate the position of their devices by adding three new APIs: UpdateResourcePosition, GetResourcePosition, and GetPositionEstimate.
|
8
|
+
|
9
|
+
1.27.0 (2022-10-25)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.26.0 (2022-08-25)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.28.0
|
@@ -30,7 +30,7 @@ require 'aws-sdk-core/plugins/http_checksum.rb'
|
|
30
30
|
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
31
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
32
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
33
|
-
require 'aws-sdk-core/plugins/
|
33
|
+
require 'aws-sdk-core/plugins/sign.rb'
|
34
34
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
35
35
|
|
36
36
|
Aws::Plugins::GlobalConfiguration.add_identifier(:iotwireless)
|
@@ -79,8 +79,9 @@ module Aws::IoTWireless
|
|
79
79
|
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
80
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
81
81
|
add_plugin(Aws::Plugins::RecursionDetection)
|
82
|
-
add_plugin(Aws::Plugins::
|
82
|
+
add_plugin(Aws::Plugins::Sign)
|
83
83
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
84
|
+
add_plugin(Aws::IoTWireless::Plugins::Endpoints)
|
84
85
|
|
85
86
|
# @overload initialize(options)
|
86
87
|
# @param [Hash] options
|
@@ -287,6 +288,19 @@ module Aws::IoTWireless
|
|
287
288
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
288
289
|
# requests are made, and retries are disabled.
|
289
290
|
#
|
291
|
+
# @option options [Aws::TokenProvider] :token_provider
|
292
|
+
# A Bearer Token Provider. This can be an instance of any one of the
|
293
|
+
# following classes:
|
294
|
+
#
|
295
|
+
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
296
|
+
# tokens.
|
297
|
+
#
|
298
|
+
# * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
|
299
|
+
# access token generated from `aws login`.
|
300
|
+
#
|
301
|
+
# When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
|
302
|
+
# will be used to search for tokens configured for your profile in shared configuration files.
|
303
|
+
#
|
290
304
|
# @option options [Boolean] :use_dualstack_endpoint
|
291
305
|
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
292
306
|
# will be used if available.
|
@@ -300,6 +314,9 @@ module Aws::IoTWireless
|
|
300
314
|
# When `true`, request parameters are validated before
|
301
315
|
# sending the request.
|
302
316
|
#
|
317
|
+
# @option options [Aws::IoTWireless::EndpointProvider] :endpoint_provider
|
318
|
+
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::IoTWireless::EndpointParameters`
|
319
|
+
#
|
303
320
|
# @option options [URI::HTTP,String] :http_proxy A proxy to send
|
304
321
|
# requests through. Formatted like 'http://proxy.com:123'.
|
305
322
|
#
|
@@ -994,6 +1011,10 @@ module Aws::IoTWireless
|
|
994
1011
|
# The tags to attach to the new wireless device. Tags are metadata that
|
995
1012
|
# you can use to manage a resource.
|
996
1013
|
#
|
1014
|
+
# @option params [String] :positioning
|
1015
|
+
# FPort values for the GNSS, stream, and ClockSync functions of the
|
1016
|
+
# positioning information.
|
1017
|
+
#
|
997
1018
|
# @return [Types::CreateWirelessDeviceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
998
1019
|
#
|
999
1020
|
# * {Types::CreateWirelessDeviceResponse#arn #arn} => String
|
@@ -1048,6 +1069,13 @@ module Aws::IoTWireless
|
|
1048
1069
|
# stream: 1,
|
1049
1070
|
# gnss: 1,
|
1050
1071
|
# },
|
1072
|
+
# applications: [
|
1073
|
+
# {
|
1074
|
+
# f_port: 1,
|
1075
|
+
# type: "SemtechGeolocation", # accepts SemtechGeolocation
|
1076
|
+
# destination_name: "DestinationName",
|
1077
|
+
# },
|
1078
|
+
# ],
|
1051
1079
|
# },
|
1052
1080
|
# },
|
1053
1081
|
# tags: [
|
@@ -1056,6 +1084,7 @@ module Aws::IoTWireless
|
|
1056
1084
|
# value: "TagValue", # required
|
1057
1085
|
# },
|
1058
1086
|
# ],
|
1087
|
+
# positioning: "Enabled", # accepts Enabled, Disabled
|
1059
1088
|
# })
|
1060
1089
|
#
|
1061
1090
|
# @example Response structure
|
@@ -1971,6 +2000,14 @@ module Aws::IoTWireless
|
|
1971
2000
|
|
1972
2001
|
# Get the position information for a given resource.
|
1973
2002
|
#
|
2003
|
+
# This action is no longer supported. Calls to retrieve the position
|
2004
|
+
# information should use the [GetResourcePosition][1] API operation
|
2005
|
+
# instead.
|
2006
|
+
#
|
2007
|
+
#
|
2008
|
+
#
|
2009
|
+
# [1]: https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_GetResourcePosition.html
|
2010
|
+
#
|
1974
2011
|
# @option params [required, String] :resource_identifier
|
1975
2012
|
# Resource identifier used to retrieve the position information.
|
1976
2013
|
#
|
@@ -2014,6 +2051,14 @@ module Aws::IoTWireless
|
|
2014
2051
|
|
2015
2052
|
# Get position configuration for a given resource.
|
2016
2053
|
#
|
2054
|
+
# This action is no longer supported. Calls to retrieve the position
|
2055
|
+
# configuration should use the [GetResourcePosition][1] API operation
|
2056
|
+
# instead.
|
2057
|
+
#
|
2058
|
+
#
|
2059
|
+
#
|
2060
|
+
# [1]: https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_GetResourcePosition.html
|
2061
|
+
#
|
2017
2062
|
# @option params [required, String] :resource_identifier
|
2018
2063
|
# Resource identifier used in a position configuration.
|
2019
2064
|
#
|
@@ -2048,6 +2093,195 @@ module Aws::IoTWireless
|
|
2048
2093
|
req.send_request(options)
|
2049
2094
|
end
|
2050
2095
|
|
2096
|
+
# Get estimated position information as a payload in GeoJSON format. The
|
2097
|
+
# payload measurement data is resolved using solvers that are provided
|
2098
|
+
# by third-party vendors.
|
2099
|
+
#
|
2100
|
+
# @option params [Array<Types::WiFiAccessPoint>] :wi_fi_access_points
|
2101
|
+
# Retrieves an estimated device position by resolving WLAN measurement
|
2102
|
+
# data. The position is resolved using HERE's Wi-Fi based solver.
|
2103
|
+
#
|
2104
|
+
# @option params [Types::CellTowers] :cell_towers
|
2105
|
+
# Retrieves an estimated device position by resolving measurement data
|
2106
|
+
# from cellular radio towers. The position is resolved using HERE's
|
2107
|
+
# cellular-based solver.
|
2108
|
+
#
|
2109
|
+
# @option params [Types::Ip] :ip
|
2110
|
+
# Retrieves an estimated device position by resolving the IP address
|
2111
|
+
# information from the device. The position is resolved using MaxMind's
|
2112
|
+
# IP-based solver.
|
2113
|
+
#
|
2114
|
+
# @option params [Types::Gnss] :gnss
|
2115
|
+
# Retrieves an estimated device position by resolving the global
|
2116
|
+
# navigation satellite system (GNSS) scan data. The position is resolved
|
2117
|
+
# using the GNSS solver powered by LoRa Cloud.
|
2118
|
+
#
|
2119
|
+
# @option params [Time,DateTime,Date,Integer,String] :timestamp
|
2120
|
+
# Optional information that specifies the time when the position
|
2121
|
+
# information will be resolved. It uses the UNIX timestamp format. If
|
2122
|
+
# not specified, the time at which the request was received will be
|
2123
|
+
# used.
|
2124
|
+
#
|
2125
|
+
# @return [Types::GetPositionEstimateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2126
|
+
#
|
2127
|
+
# * {Types::GetPositionEstimateResponse#geo_json_payload #geo_json_payload} => IO
|
2128
|
+
#
|
2129
|
+
# @example Request syntax with placeholder values
|
2130
|
+
#
|
2131
|
+
# resp = client.get_position_estimate({
|
2132
|
+
# wi_fi_access_points: [
|
2133
|
+
# {
|
2134
|
+
# mac_address: "MacAddress", # required
|
2135
|
+
# rss: 1, # required
|
2136
|
+
# },
|
2137
|
+
# ],
|
2138
|
+
# cell_towers: {
|
2139
|
+
# gsm: [
|
2140
|
+
# {
|
2141
|
+
# mcc: 1, # required
|
2142
|
+
# mnc: 1, # required
|
2143
|
+
# lac: 1, # required
|
2144
|
+
# geran_cid: 1, # required
|
2145
|
+
# gsm_local_id: {
|
2146
|
+
# bsic: 1, # required
|
2147
|
+
# bcch: 1, # required
|
2148
|
+
# },
|
2149
|
+
# gsm_timing_advance: 1,
|
2150
|
+
# rx_level: 1,
|
2151
|
+
# gsm_nmr: [
|
2152
|
+
# {
|
2153
|
+
# bsic: 1, # required
|
2154
|
+
# bcch: 1, # required
|
2155
|
+
# rx_level: 1,
|
2156
|
+
# global_identity: {
|
2157
|
+
# lac: 1, # required
|
2158
|
+
# geran_cid: 1, # required
|
2159
|
+
# },
|
2160
|
+
# },
|
2161
|
+
# ],
|
2162
|
+
# },
|
2163
|
+
# ],
|
2164
|
+
# wcdma: [
|
2165
|
+
# {
|
2166
|
+
# mcc: 1, # required
|
2167
|
+
# mnc: 1, # required
|
2168
|
+
# lac: 1,
|
2169
|
+
# utran_cid: 1, # required
|
2170
|
+
# wcdma_local_id: {
|
2171
|
+
# uarfcndl: 1, # required
|
2172
|
+
# psc: 1, # required
|
2173
|
+
# },
|
2174
|
+
# rscp: 1,
|
2175
|
+
# path_loss: 1,
|
2176
|
+
# wcdma_nmr: [
|
2177
|
+
# {
|
2178
|
+
# uarfcndl: 1, # required
|
2179
|
+
# psc: 1, # required
|
2180
|
+
# utran_cid: 1, # required
|
2181
|
+
# rscp: 1,
|
2182
|
+
# path_loss: 1,
|
2183
|
+
# },
|
2184
|
+
# ],
|
2185
|
+
# },
|
2186
|
+
# ],
|
2187
|
+
# tdscdma: [
|
2188
|
+
# {
|
2189
|
+
# mcc: 1, # required
|
2190
|
+
# mnc: 1, # required
|
2191
|
+
# lac: 1,
|
2192
|
+
# utran_cid: 1, # required
|
2193
|
+
# tdscdma_local_id: {
|
2194
|
+
# uarfcn: 1, # required
|
2195
|
+
# cell_params: 1, # required
|
2196
|
+
# },
|
2197
|
+
# tdscdma_timing_advance: 1,
|
2198
|
+
# rscp: 1,
|
2199
|
+
# path_loss: 1,
|
2200
|
+
# tdscdma_nmr: [
|
2201
|
+
# {
|
2202
|
+
# uarfcn: 1, # required
|
2203
|
+
# cell_params: 1, # required
|
2204
|
+
# utran_cid: 1,
|
2205
|
+
# rscp: 1,
|
2206
|
+
# path_loss: 1,
|
2207
|
+
# },
|
2208
|
+
# ],
|
2209
|
+
# },
|
2210
|
+
# ],
|
2211
|
+
# lte: [
|
2212
|
+
# {
|
2213
|
+
# mcc: 1, # required
|
2214
|
+
# mnc: 1, # required
|
2215
|
+
# eutran_cid: 1, # required
|
2216
|
+
# tac: 1,
|
2217
|
+
# lte_local_id: {
|
2218
|
+
# pci: 1, # required
|
2219
|
+
# earfcn: 1, # required
|
2220
|
+
# },
|
2221
|
+
# lte_timing_advance: 1,
|
2222
|
+
# rsrp: 1,
|
2223
|
+
# rsrq: 1.0,
|
2224
|
+
# nr_capable: false,
|
2225
|
+
# lte_nmr: [
|
2226
|
+
# {
|
2227
|
+
# pci: 1, # required
|
2228
|
+
# earfcn: 1, # required
|
2229
|
+
# eutran_cid: 1, # required
|
2230
|
+
# rsrp: 1,
|
2231
|
+
# rsrq: 1.0,
|
2232
|
+
# },
|
2233
|
+
# ],
|
2234
|
+
# },
|
2235
|
+
# ],
|
2236
|
+
# cdma: [
|
2237
|
+
# {
|
2238
|
+
# system_id: 1, # required
|
2239
|
+
# network_id: 1, # required
|
2240
|
+
# base_station_id: 1, # required
|
2241
|
+
# registration_zone: 1,
|
2242
|
+
# cdma_local_id: {
|
2243
|
+
# pn_offset: 1, # required
|
2244
|
+
# cdma_channel: 1, # required
|
2245
|
+
# },
|
2246
|
+
# pilot_power: 1,
|
2247
|
+
# base_lat: 1.0,
|
2248
|
+
# base_lng: 1.0,
|
2249
|
+
# cdma_nmr: [
|
2250
|
+
# {
|
2251
|
+
# pn_offset: 1, # required
|
2252
|
+
# cdma_channel: 1, # required
|
2253
|
+
# pilot_power: 1,
|
2254
|
+
# base_station_id: 1,
|
2255
|
+
# },
|
2256
|
+
# ],
|
2257
|
+
# },
|
2258
|
+
# ],
|
2259
|
+
# },
|
2260
|
+
# ip: {
|
2261
|
+
# ip_address: "IPAddress", # required
|
2262
|
+
# },
|
2263
|
+
# gnss: {
|
2264
|
+
# payload: "GnssNav", # required
|
2265
|
+
# capture_time: 1.0,
|
2266
|
+
# capture_time_accuracy: 1.0,
|
2267
|
+
# assist_position: [1.0],
|
2268
|
+
# assist_altitude: 1.0,
|
2269
|
+
# use_2_d_solver: false,
|
2270
|
+
# },
|
2271
|
+
# timestamp: Time.now,
|
2272
|
+
# })
|
2273
|
+
#
|
2274
|
+
# @example Response structure
|
2275
|
+
#
|
2276
|
+
# resp.geo_json_payload #=> IO
|
2277
|
+
#
|
2278
|
+
# @overload get_position_estimate(params = {})
|
2279
|
+
# @param [Hash] params ({})
|
2280
|
+
def get_position_estimate(params = {}, options = {}, &block)
|
2281
|
+
req = build_request(:get_position_estimate, params)
|
2282
|
+
req.send_request(options, &block)
|
2283
|
+
end
|
2284
|
+
|
2051
2285
|
# Get the event configuration for a particular resource identifier.
|
2052
2286
|
#
|
2053
2287
|
# @option params [required, String] :identifier
|
@@ -2132,6 +2366,45 @@ module Aws::IoTWireless
|
|
2132
2366
|
req.send_request(options)
|
2133
2367
|
end
|
2134
2368
|
|
2369
|
+
# Get the position information for a given wireless device or a wireless
|
2370
|
+
# gateway resource. The postion information uses the [ World Geodetic
|
2371
|
+
# System (WGS84)][1].
|
2372
|
+
#
|
2373
|
+
#
|
2374
|
+
#
|
2375
|
+
# [1]: https://gisgeography.com/wgs84-world-geodetic-system/
|
2376
|
+
#
|
2377
|
+
# @option params [required, String] :resource_identifier
|
2378
|
+
# The identifier of the resource for which position information is
|
2379
|
+
# retrieved. It can be the wireless device ID or the wireless gateway ID
|
2380
|
+
# depending on the resource type.
|
2381
|
+
#
|
2382
|
+
# @option params [required, String] :resource_type
|
2383
|
+
# The type of resource for which position information is retrieved,
|
2384
|
+
# which can be a wireless device or a wireless gateway.
|
2385
|
+
#
|
2386
|
+
# @return [Types::GetResourcePositionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2387
|
+
#
|
2388
|
+
# * {Types::GetResourcePositionResponse#geo_json_payload #geo_json_payload} => IO
|
2389
|
+
#
|
2390
|
+
# @example Request syntax with placeholder values
|
2391
|
+
#
|
2392
|
+
# resp = client.get_resource_position({
|
2393
|
+
# resource_identifier: "PositionResourceIdentifier", # required
|
2394
|
+
# resource_type: "WirelessDevice", # required, accepts WirelessDevice, WirelessGateway
|
2395
|
+
# })
|
2396
|
+
#
|
2397
|
+
# @example Response structure
|
2398
|
+
#
|
2399
|
+
# resp.geo_json_payload #=> IO
|
2400
|
+
#
|
2401
|
+
# @overload get_resource_position(params = {})
|
2402
|
+
# @param [Hash] params ({})
|
2403
|
+
def get_resource_position(params = {}, options = {}, &block)
|
2404
|
+
req = build_request(:get_resource_position, params)
|
2405
|
+
req.send_request(options, &block)
|
2406
|
+
end
|
2407
|
+
|
2135
2408
|
# Gets the account-specific endpoint for Configuration and Update Server
|
2136
2409
|
# (CUPS) protocol or LoRaWAN Network Server (LNS) connections.
|
2137
2410
|
#
|
@@ -2236,6 +2509,7 @@ module Aws::IoTWireless
|
|
2236
2509
|
# * {Types::GetWirelessDeviceResponse#thing_arn #thing_arn} => String
|
2237
2510
|
# * {Types::GetWirelessDeviceResponse#lo_ra_wan #lo_ra_wan} => Types::LoRaWANDevice
|
2238
2511
|
# * {Types::GetWirelessDeviceResponse#sidewalk #sidewalk} => Types::SidewalkDevice
|
2512
|
+
# * {Types::GetWirelessDeviceResponse#positioning #positioning} => String
|
2239
2513
|
#
|
2240
2514
|
# @example Request syntax with placeholder values
|
2241
2515
|
#
|
@@ -2279,12 +2553,17 @@ module Aws::IoTWireless
|
|
2279
2553
|
# resp.lo_ra_wan.f_ports.positioning.clock_sync #=> Integer
|
2280
2554
|
# resp.lo_ra_wan.f_ports.positioning.stream #=> Integer
|
2281
2555
|
# resp.lo_ra_wan.f_ports.positioning.gnss #=> Integer
|
2556
|
+
# resp.lo_ra_wan.f_ports.applications #=> Array
|
2557
|
+
# resp.lo_ra_wan.f_ports.applications[0].f_port #=> Integer
|
2558
|
+
# resp.lo_ra_wan.f_ports.applications[0].type #=> String, one of "SemtechGeolocation"
|
2559
|
+
# resp.lo_ra_wan.f_ports.applications[0].destination_name #=> String
|
2282
2560
|
# resp.sidewalk.amazon_id #=> String
|
2283
2561
|
# resp.sidewalk.sidewalk_id #=> String
|
2284
2562
|
# resp.sidewalk.sidewalk_manufacturing_sn #=> String
|
2285
2563
|
# resp.sidewalk.device_certificates #=> Array
|
2286
2564
|
# resp.sidewalk.device_certificates[0].signing_alg #=> String, one of "Ed25519", "P256r1"
|
2287
2565
|
# resp.sidewalk.device_certificates[0].value #=> String
|
2566
|
+
# resp.positioning #=> String, one of "Enabled", "Disabled"
|
2288
2567
|
#
|
2289
2568
|
# @overload get_wireless_device(params = {})
|
2290
2569
|
# @param [Hash] params ({})
|
@@ -2882,6 +3161,14 @@ module Aws::IoTWireless
|
|
2882
3161
|
# List position configurations for a given resource, such as positioning
|
2883
3162
|
# solvers.
|
2884
3163
|
#
|
3164
|
+
# This action is no longer supported. Calls to retrieve position
|
3165
|
+
# information should use the [GetResourcePosition][1] API operation
|
3166
|
+
# instead.
|
3167
|
+
#
|
3168
|
+
#
|
3169
|
+
#
|
3170
|
+
# [1]: https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_GetResourcePosition.html
|
3171
|
+
#
|
2885
3172
|
# @option params [String] :resource_type
|
2886
3173
|
# Resource type for which position configurations are listed.
|
2887
3174
|
#
|
@@ -3230,6 +3517,14 @@ module Aws::IoTWireless
|
|
3230
3517
|
|
3231
3518
|
# Put position configuration for a given resource.
|
3232
3519
|
#
|
3520
|
+
# This action is no longer supported. Calls to update the position
|
3521
|
+
# configuration should use the [UpdateResourcePosition][1] API operation
|
3522
|
+
# instead.
|
3523
|
+
#
|
3524
|
+
#
|
3525
|
+
#
|
3526
|
+
# [1]: https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_UpdateResourcePosition.html
|
3527
|
+
#
|
3233
3528
|
# @option params [required, String] :resource_identifier
|
3234
3529
|
# Resource identifier used to update the position configuration.
|
3235
3530
|
#
|
@@ -3966,6 +4261,14 @@ module Aws::IoTWireless
|
|
3966
4261
|
|
3967
4262
|
# Update the position information of a resource.
|
3968
4263
|
#
|
4264
|
+
# This action is no longer supported. Calls to update the position
|
4265
|
+
# information should use the [UpdateResourcePosition][1] API operation
|
4266
|
+
# instead.
|
4267
|
+
#
|
4268
|
+
#
|
4269
|
+
#
|
4270
|
+
# [1]: https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_UpdateResourcePosition.html
|
4271
|
+
#
|
3969
4272
|
# @option params [required, String] :resource_identifier
|
3970
4273
|
# Resource identifier of the resource for which position is updated.
|
3971
4274
|
#
|
@@ -4067,6 +4370,50 @@ module Aws::IoTWireless
|
|
4067
4370
|
req.send_request(options)
|
4068
4371
|
end
|
4069
4372
|
|
4373
|
+
# Update the position information of a given wireless device or a
|
4374
|
+
# wireless gateway resource. The postion coordinates are based on the [
|
4375
|
+
# World Geodetic System (WGS84)][1].
|
4376
|
+
#
|
4377
|
+
#
|
4378
|
+
#
|
4379
|
+
# [1]: https://gisgeography.com/wgs84-world-geodetic-system/
|
4380
|
+
#
|
4381
|
+
# @option params [required, String] :resource_identifier
|
4382
|
+
# The identifier of the resource for which position information is
|
4383
|
+
# updated. It can be the wireless device ID or the wireless gateway ID
|
4384
|
+
# depending on the resource type.
|
4385
|
+
#
|
4386
|
+
# @option params [required, String] :resource_type
|
4387
|
+
# The type of resource for which position information is updated, which
|
4388
|
+
# can be a wireless device or a wireless gateway.
|
4389
|
+
#
|
4390
|
+
# @option params [String, StringIO, File] :geo_json_payload
|
4391
|
+
# The position information of the resource, displayed as a JSON payload.
|
4392
|
+
# The payload uses the GeoJSON format, which a format that's used to
|
4393
|
+
# encode geographic data structures. For more information, see
|
4394
|
+
# [GeoJSON][1].
|
4395
|
+
#
|
4396
|
+
#
|
4397
|
+
#
|
4398
|
+
# [1]: https://geojson.org/
|
4399
|
+
#
|
4400
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4401
|
+
#
|
4402
|
+
# @example Request syntax with placeholder values
|
4403
|
+
#
|
4404
|
+
# resp = client.update_resource_position({
|
4405
|
+
# resource_identifier: "PositionResourceIdentifier", # required
|
4406
|
+
# resource_type: "WirelessDevice", # required, accepts WirelessDevice, WirelessGateway
|
4407
|
+
# geo_json_payload: "data",
|
4408
|
+
# })
|
4409
|
+
#
|
4410
|
+
# @overload update_resource_position(params = {})
|
4411
|
+
# @param [Hash] params ({})
|
4412
|
+
def update_resource_position(params = {}, options = {})
|
4413
|
+
req = build_request(:update_resource_position, params)
|
4414
|
+
req.send_request(options)
|
4415
|
+
end
|
4416
|
+
|
4070
4417
|
# Updates properties of a wireless device.
|
4071
4418
|
#
|
4072
4419
|
# @option params [required, String] :id
|
@@ -4084,6 +4431,10 @@ module Aws::IoTWireless
|
|
4084
4431
|
# @option params [Types::LoRaWANUpdateDevice] :lo_ra_wan
|
4085
4432
|
# The updated wireless device's configuration.
|
4086
4433
|
#
|
4434
|
+
# @option params [String] :positioning
|
4435
|
+
# FPort values for the GNSS, stream, and ClockSync functions of the
|
4436
|
+
# positioning information.
|
4437
|
+
#
|
4087
4438
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4088
4439
|
#
|
4089
4440
|
# @example Request syntax with placeholder values
|
@@ -4108,8 +4459,16 @@ module Aws::IoTWireless
|
|
4108
4459
|
# stream: 1,
|
4109
4460
|
# gnss: 1,
|
4110
4461
|
# },
|
4462
|
+
# applications: [
|
4463
|
+
# {
|
4464
|
+
# f_port: 1,
|
4465
|
+
# type: "SemtechGeolocation", # accepts SemtechGeolocation
|
4466
|
+
# destination_name: "DestinationName",
|
4467
|
+
# },
|
4468
|
+
# ],
|
4111
4469
|
# },
|
4112
4470
|
# },
|
4471
|
+
# positioning: "Enabled", # accepts Enabled, Disabled
|
4113
4472
|
# })
|
4114
4473
|
#
|
4115
4474
|
# @overload update_wireless_device(params = {})
|
@@ -4171,7 +4530,7 @@ module Aws::IoTWireless
|
|
4171
4530
|
params: params,
|
4172
4531
|
config: config)
|
4173
4532
|
context[:gem_name] = 'aws-sdk-iotwireless'
|
4174
|
-
context[:gem_version] = '1.
|
4533
|
+
context[:gem_version] = '1.28.0'
|
4175
4534
|
Seahorse::Client::Request.new(handlers, context)
|
4176
4535
|
end
|
4177
4536
|
|