aws-sdk-iotwireless 1.27.0 → 1.28.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3dc8b3a78c0de2b14a63d02e02aab6cab03c30aa4e0d7dda45e0d0c4ead2d0df
4
- data.tar.gz: 183a43a2faac23cf032b61a7bee943672f6a8ebf43406bc32c708e0dbd8ed4bf
3
+ metadata.gz: ed2eb3d0c66694b79b5cdb4385ca3902f6c5632d868c122c2dc90b00a89f8531
4
+ data.tar.gz: '0815007f9ef9aee4e6e9d55b3b522cb8bae9487bfad1d8d4d72354ada4c4e2c4'
5
5
  SHA512:
6
- metadata.gz: 6601cd867991c24cc0f221ef6b2d2b51a470cd666f78d9c63d341b65e2855c31c5df2b9d3315b0a79c5a4b5429ad0846e32a3994b4b6580ccd682e1c92f6fb26
7
- data.tar.gz: e632ebbf3e1045dc2b86cbe9614532c57addf561cb3160ae580396a401b082de5780b1d470b3fa3da53f92766c6dba8da0c28d97f56f143d1d1005eafe99f914
6
+ metadata.gz: 482f8a0eab10bbc67403c9ab7f3bc11eaefb2a4a2fe366a3eaa2a084eea0d22cc044ca7c2990c47f360246e5c89060183d212fcd25c7cbacec5c46be65c674d4
7
+ data.tar.gz: 0f8a8878f0b871b1482d2dd2a66645112298bf2916a2ce3be7cf58419c630ff09bca889477ba7234644caad3fb004b90a817c5724f6cfa6e456a7a966f48bafe
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.27.0 (2022-10-25)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.27.0
1
+ 1.28.0
@@ -1011,6 +1011,10 @@ module Aws::IoTWireless
1011
1011
  # The tags to attach to the new wireless device. Tags are metadata that
1012
1012
  # you can use to manage a resource.
1013
1013
  #
1014
+ # @option params [String] :positioning
1015
+ # FPort values for the GNSS, stream, and ClockSync functions of the
1016
+ # positioning information.
1017
+ #
1014
1018
  # @return [Types::CreateWirelessDeviceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1015
1019
  #
1016
1020
  # * {Types::CreateWirelessDeviceResponse#arn #arn} => String
@@ -1065,6 +1069,13 @@ module Aws::IoTWireless
1065
1069
  # stream: 1,
1066
1070
  # gnss: 1,
1067
1071
  # },
1072
+ # applications: [
1073
+ # {
1074
+ # f_port: 1,
1075
+ # type: "SemtechGeolocation", # accepts SemtechGeolocation
1076
+ # destination_name: "DestinationName",
1077
+ # },
1078
+ # ],
1068
1079
  # },
1069
1080
  # },
1070
1081
  # tags: [
@@ -1073,6 +1084,7 @@ module Aws::IoTWireless
1073
1084
  # value: "TagValue", # required
1074
1085
  # },
1075
1086
  # ],
1087
+ # positioning: "Enabled", # accepts Enabled, Disabled
1076
1088
  # })
1077
1089
  #
1078
1090
  # @example Response structure
@@ -1988,6 +2000,14 @@ module Aws::IoTWireless
1988
2000
 
1989
2001
  # Get the position information for a given resource.
1990
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
+ #
1991
2011
  # @option params [required, String] :resource_identifier
1992
2012
  # Resource identifier used to retrieve the position information.
1993
2013
  #
@@ -2031,6 +2051,14 @@ module Aws::IoTWireless
2031
2051
 
2032
2052
  # Get position configuration for a given resource.
2033
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
+ #
2034
2062
  # @option params [required, String] :resource_identifier
2035
2063
  # Resource identifier used in a position configuration.
2036
2064
  #
@@ -2065,6 +2093,195 @@ module Aws::IoTWireless
2065
2093
  req.send_request(options)
2066
2094
  end
2067
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
+
2068
2285
  # Get the event configuration for a particular resource identifier.
2069
2286
  #
2070
2287
  # @option params [required, String] :identifier
@@ -2149,6 +2366,45 @@ module Aws::IoTWireless
2149
2366
  req.send_request(options)
2150
2367
  end
2151
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
+
2152
2408
  # Gets the account-specific endpoint for Configuration and Update Server
2153
2409
  # (CUPS) protocol or LoRaWAN Network Server (LNS) connections.
2154
2410
  #
@@ -2253,6 +2509,7 @@ module Aws::IoTWireless
2253
2509
  # * {Types::GetWirelessDeviceResponse#thing_arn #thing_arn} => String
2254
2510
  # * {Types::GetWirelessDeviceResponse#lo_ra_wan #lo_ra_wan} => Types::LoRaWANDevice
2255
2511
  # * {Types::GetWirelessDeviceResponse#sidewalk #sidewalk} => Types::SidewalkDevice
2512
+ # * {Types::GetWirelessDeviceResponse#positioning #positioning} => String
2256
2513
  #
2257
2514
  # @example Request syntax with placeholder values
2258
2515
  #
@@ -2296,12 +2553,17 @@ module Aws::IoTWireless
2296
2553
  # resp.lo_ra_wan.f_ports.positioning.clock_sync #=> Integer
2297
2554
  # resp.lo_ra_wan.f_ports.positioning.stream #=> Integer
2298
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
2299
2560
  # resp.sidewalk.amazon_id #=> String
2300
2561
  # resp.sidewalk.sidewalk_id #=> String
2301
2562
  # resp.sidewalk.sidewalk_manufacturing_sn #=> String
2302
2563
  # resp.sidewalk.device_certificates #=> Array
2303
2564
  # resp.sidewalk.device_certificates[0].signing_alg #=> String, one of "Ed25519", "P256r1"
2304
2565
  # resp.sidewalk.device_certificates[0].value #=> String
2566
+ # resp.positioning #=> String, one of "Enabled", "Disabled"
2305
2567
  #
2306
2568
  # @overload get_wireless_device(params = {})
2307
2569
  # @param [Hash] params ({})
@@ -2899,6 +3161,14 @@ module Aws::IoTWireless
2899
3161
  # List position configurations for a given resource, such as positioning
2900
3162
  # solvers.
2901
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
+ #
2902
3172
  # @option params [String] :resource_type
2903
3173
  # Resource type for which position configurations are listed.
2904
3174
  #
@@ -3247,6 +3517,14 @@ module Aws::IoTWireless
3247
3517
 
3248
3518
  # Put position configuration for a given resource.
3249
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
+ #
3250
3528
  # @option params [required, String] :resource_identifier
3251
3529
  # Resource identifier used to update the position configuration.
3252
3530
  #
@@ -3983,6 +4261,14 @@ module Aws::IoTWireless
3983
4261
 
3984
4262
  # Update the position information of a resource.
3985
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
+ #
3986
4272
  # @option params [required, String] :resource_identifier
3987
4273
  # Resource identifier of the resource for which position is updated.
3988
4274
  #
@@ -4084,6 +4370,50 @@ module Aws::IoTWireless
4084
4370
  req.send_request(options)
4085
4371
  end
4086
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
+
4087
4417
  # Updates properties of a wireless device.
4088
4418
  #
4089
4419
  # @option params [required, String] :id
@@ -4101,6 +4431,10 @@ module Aws::IoTWireless
4101
4431
  # @option params [Types::LoRaWANUpdateDevice] :lo_ra_wan
4102
4432
  # The updated wireless device's configuration.
4103
4433
  #
4434
+ # @option params [String] :positioning
4435
+ # FPort values for the GNSS, stream, and ClockSync functions of the
4436
+ # positioning information.
4437
+ #
4104
4438
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
4105
4439
  #
4106
4440
  # @example Request syntax with placeholder values
@@ -4125,8 +4459,16 @@ module Aws::IoTWireless
4125
4459
  # stream: 1,
4126
4460
  # gnss: 1,
4127
4461
  # },
4462
+ # applications: [
4463
+ # {
4464
+ # f_port: 1,
4465
+ # type: "SemtechGeolocation", # accepts SemtechGeolocation
4466
+ # destination_name: "DestinationName",
4467
+ # },
4468
+ # ],
4128
4469
  # },
4129
4470
  # },
4471
+ # positioning: "Enabled", # accepts Enabled, Disabled
4130
4472
  # })
4131
4473
  #
4132
4474
  # @overload update_wireless_device(params = {})
@@ -4188,7 +4530,7 @@ module Aws::IoTWireless
4188
4530
  params: params,
4189
4531
  config: config)
4190
4532
  context[:gem_name] = 'aws-sdk-iotwireless'
4191
- context[:gem_version] = '1.27.0'
4533
+ context[:gem_version] = '1.28.0'
4192
4534
  Seahorse::Client::Request.new(handlers, context)
4193
4535
  end
4194
4536