aws-sdk-iotwireless 1.5.0 → 1.10.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 +25 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iotwireless.rb +1 -1
- data/lib/aws-sdk-iotwireless/client.rb +263 -13
- data/lib/aws-sdk-iotwireless/client_api.rb +225 -0
- data/lib/aws-sdk-iotwireless/types.rb +497 -21
- metadata +5 -6
@@ -111,8 +111,8 @@ module Aws::IoTWireless
|
|
111
111
|
# @return [String]
|
112
112
|
#
|
113
113
|
# @!attribute [rw] tags
|
114
|
-
# The tags
|
115
|
-
# can
|
114
|
+
# The tags to attach to the specified resource. Tags are metadata that
|
115
|
+
# you can use to manage a resource.
|
116
116
|
# @return [Array<Types::Tag>]
|
117
117
|
#
|
118
118
|
class AssociateAwsAccountWithPartnerAccountRequest < Struct.new(
|
@@ -221,6 +221,23 @@ module Aws::IoTWireless
|
|
221
221
|
|
222
222
|
class AssociateWirelessGatewayWithThingResponse < Aws::EmptyStructure; end
|
223
223
|
|
224
|
+
# List of sidewalk certificates.
|
225
|
+
#
|
226
|
+
# @!attribute [rw] signing_alg
|
227
|
+
# The certificate chain algorithm provided by sidewalk.
|
228
|
+
# @return [String]
|
229
|
+
#
|
230
|
+
# @!attribute [rw] value
|
231
|
+
# The value of the chosen sidewalk certificate.
|
232
|
+
# @return [String]
|
233
|
+
#
|
234
|
+
class CertificateList < Struct.new(
|
235
|
+
:signing_alg,
|
236
|
+
:value)
|
237
|
+
SENSITIVE = []
|
238
|
+
include Aws::Structure
|
239
|
+
end
|
240
|
+
|
224
241
|
# Adding, updating, or deleting the resource can cause an inconsistent
|
225
242
|
# state.
|
226
243
|
#
|
@@ -228,9 +245,11 @@ module Aws::IoTWireless
|
|
228
245
|
# @return [String]
|
229
246
|
#
|
230
247
|
# @!attribute [rw] resource_id
|
248
|
+
# Id of the resource in the conflicting operation.
|
231
249
|
# @return [String]
|
232
250
|
#
|
233
251
|
# @!attribute [rw] resource_type
|
252
|
+
# Type of the resource in the conflicting operation.
|
234
253
|
# @return [String]
|
235
254
|
#
|
236
255
|
class ConflictException < Struct.new(
|
@@ -281,7 +300,7 @@ module Aws::IoTWireless
|
|
281
300
|
#
|
282
301
|
# @!attribute [rw] tags
|
283
302
|
# The tags to attach to the new destination. Tags are metadata that
|
284
|
-
# can
|
303
|
+
# you can use to manage a resource.
|
285
304
|
# @return [Array<Types::Tag>]
|
286
305
|
#
|
287
306
|
# @!attribute [rw] client_request_token
|
@@ -365,8 +384,8 @@ module Aws::IoTWireless
|
|
365
384
|
# @return [Types::LoRaWANDeviceProfile]
|
366
385
|
#
|
367
386
|
# @!attribute [rw] tags
|
368
|
-
# The tags to attach to the new device profile Tags are metadata that
|
369
|
-
# can
|
387
|
+
# The tags to attach to the new device profile. Tags are metadata that
|
388
|
+
# you can use to manage a resource.
|
370
389
|
# @return [Array<Types::Tag>]
|
371
390
|
#
|
372
391
|
# @!attribute [rw] client_request_token
|
@@ -431,7 +450,7 @@ module Aws::IoTWireless
|
|
431
450
|
#
|
432
451
|
# @!attribute [rw] tags
|
433
452
|
# The tags to attach to the new service profile. Tags are metadata
|
434
|
-
# that can
|
453
|
+
# that you can use to manage a resource.
|
435
454
|
# @return [Array<Types::Tag>]
|
436
455
|
#
|
437
456
|
# @!attribute [rw] client_request_token
|
@@ -507,6 +526,12 @@ module Aws::IoTWireless
|
|
507
526
|
# },
|
508
527
|
# },
|
509
528
|
# },
|
529
|
+
# tags: [
|
530
|
+
# {
|
531
|
+
# key: "TagKey", # required
|
532
|
+
# value: "TagValue", # required
|
533
|
+
# },
|
534
|
+
# ],
|
510
535
|
# }
|
511
536
|
#
|
512
537
|
# @!attribute [rw] type
|
@@ -540,13 +565,19 @@ module Aws::IoTWireless
|
|
540
565
|
# device.
|
541
566
|
# @return [Types::LoRaWANDevice]
|
542
567
|
#
|
568
|
+
# @!attribute [rw] tags
|
569
|
+
# The tags to attach to the new wireless device. Tags are metadata
|
570
|
+
# that you can use to manage a resource.
|
571
|
+
# @return [Array<Types::Tag>]
|
572
|
+
#
|
543
573
|
class CreateWirelessDeviceRequest < Struct.new(
|
544
574
|
:type,
|
545
575
|
:name,
|
546
576
|
:description,
|
547
577
|
:destination_name,
|
548
578
|
:client_request_token,
|
549
|
-
:lo_ra_wan
|
579
|
+
:lo_ra_wan,
|
580
|
+
:tags)
|
550
581
|
SENSITIVE = []
|
551
582
|
include Aws::Structure
|
552
583
|
end
|
@@ -575,6 +606,11 @@ module Aws::IoTWireless
|
|
575
606
|
# lo_ra_wan: { # required
|
576
607
|
# gateway_eui: "GatewayEui",
|
577
608
|
# rf_region: "RfRegion",
|
609
|
+
# join_eui_filters: [
|
610
|
+
# ["JoinEui"],
|
611
|
+
# ],
|
612
|
+
# net_id_filters: ["NetId"],
|
613
|
+
# sub_bands: [1],
|
578
614
|
# },
|
579
615
|
# tags: [
|
580
616
|
# {
|
@@ -600,7 +636,7 @@ module Aws::IoTWireless
|
|
600
636
|
#
|
601
637
|
# @!attribute [rw] tags
|
602
638
|
# The tags to attach to the new wireless gateway. Tags are metadata
|
603
|
-
# that can
|
639
|
+
# that you can use to manage a resource.
|
604
640
|
# @return [Array<Types::Tag>]
|
605
641
|
#
|
606
642
|
# @!attribute [rw] client_request_token
|
@@ -696,8 +732,8 @@ module Aws::IoTWireless
|
|
696
732
|
# @return [String]
|
697
733
|
#
|
698
734
|
# @!attribute [rw] tags
|
699
|
-
# The tags
|
700
|
-
# can
|
735
|
+
# The tags to attach to the specified resource. Tags are metadata that
|
736
|
+
# you can use to manage a resource.
|
701
737
|
# @return [Array<Types::Tag>]
|
702
738
|
#
|
703
739
|
class CreateWirelessGatewayTaskDefinitionRequest < Struct.new(
|
@@ -1131,6 +1167,30 @@ module Aws::IoTWireless
|
|
1131
1167
|
include Aws::Structure
|
1132
1168
|
end
|
1133
1169
|
|
1170
|
+
# @api private
|
1171
|
+
#
|
1172
|
+
class GetLogLevelsByResourceTypesRequest < Aws::EmptyStructure; end
|
1173
|
+
|
1174
|
+
# @!attribute [rw] default_log_level
|
1175
|
+
# The log level for a log message.
|
1176
|
+
# @return [String]
|
1177
|
+
#
|
1178
|
+
# @!attribute [rw] wireless_gateway_log_options
|
1179
|
+
# The list of wireless gateway log options.
|
1180
|
+
# @return [Array<Types::WirelessGatewayLogOption>]
|
1181
|
+
#
|
1182
|
+
# @!attribute [rw] wireless_device_log_options
|
1183
|
+
# The list of wireless device log options.
|
1184
|
+
# @return [Array<Types::WirelessDeviceLogOption>]
|
1185
|
+
#
|
1186
|
+
class GetLogLevelsByResourceTypesResponse < Struct.new(
|
1187
|
+
:default_log_level,
|
1188
|
+
:wireless_gateway_log_options,
|
1189
|
+
:wireless_device_log_options)
|
1190
|
+
SENSITIVE = []
|
1191
|
+
include Aws::Structure
|
1192
|
+
end
|
1193
|
+
|
1134
1194
|
# @note When making an API call, you may pass GetPartnerAccountRequest
|
1135
1195
|
# data as a hash:
|
1136
1196
|
#
|
@@ -1169,6 +1229,42 @@ module Aws::IoTWireless
|
|
1169
1229
|
include Aws::Structure
|
1170
1230
|
end
|
1171
1231
|
|
1232
|
+
# @note When making an API call, you may pass GetResourceLogLevelRequest
|
1233
|
+
# data as a hash:
|
1234
|
+
#
|
1235
|
+
# {
|
1236
|
+
# resource_identifier: "ResourceIdentifier", # required
|
1237
|
+
# resource_type: "ResourceType", # required
|
1238
|
+
# }
|
1239
|
+
#
|
1240
|
+
# @!attribute [rw] resource_identifier
|
1241
|
+
# The identifier of the resource. For a Wireless Device, it is the
|
1242
|
+
# wireless device id. For a wireless gateway, it is the wireless
|
1243
|
+
# gateway id.
|
1244
|
+
# @return [String]
|
1245
|
+
#
|
1246
|
+
# @!attribute [rw] resource_type
|
1247
|
+
# The type of the resource, currently support WirelessDevice and
|
1248
|
+
# WirelessGateway.
|
1249
|
+
# @return [String]
|
1250
|
+
#
|
1251
|
+
class GetResourceLogLevelRequest < Struct.new(
|
1252
|
+
:resource_identifier,
|
1253
|
+
:resource_type)
|
1254
|
+
SENSITIVE = []
|
1255
|
+
include Aws::Structure
|
1256
|
+
end
|
1257
|
+
|
1258
|
+
# @!attribute [rw] log_level
|
1259
|
+
# The log level for a log message.
|
1260
|
+
# @return [String]
|
1261
|
+
#
|
1262
|
+
class GetResourceLogLevelResponse < Struct.new(
|
1263
|
+
:log_level)
|
1264
|
+
SENSITIVE = []
|
1265
|
+
include Aws::Structure
|
1266
|
+
end
|
1267
|
+
|
1172
1268
|
# @note When making an API call, you may pass GetServiceEndpointRequest
|
1173
1269
|
# data as a hash:
|
1174
1270
|
#
|
@@ -1310,6 +1406,10 @@ module Aws::IoTWireless
|
|
1310
1406
|
# Information about the wireless device.
|
1311
1407
|
# @return [Types::LoRaWANDevice]
|
1312
1408
|
#
|
1409
|
+
# @!attribute [rw] sidewalk
|
1410
|
+
# Sidewalk device object.
|
1411
|
+
# @return [Types::SidewalkDevice]
|
1412
|
+
#
|
1313
1413
|
class GetWirelessDeviceResponse < Struct.new(
|
1314
1414
|
:type,
|
1315
1415
|
:name,
|
@@ -1319,7 +1419,8 @@ module Aws::IoTWireless
|
|
1319
1419
|
:arn,
|
1320
1420
|
:thing_name,
|
1321
1421
|
:thing_arn,
|
1322
|
-
:lo_ra_wan
|
1422
|
+
:lo_ra_wan,
|
1423
|
+
:sidewalk)
|
1323
1424
|
SENSITIVE = []
|
1324
1425
|
include Aws::Structure
|
1325
1426
|
end
|
@@ -1353,10 +1454,15 @@ module Aws::IoTWireless
|
|
1353
1454
|
# Information about the wireless device's operations.
|
1354
1455
|
# @return [Types::LoRaWANDeviceMetadata]
|
1355
1456
|
#
|
1457
|
+
# @!attribute [rw] sidewalk
|
1458
|
+
# MetaData for Sidewalk device.
|
1459
|
+
# @return [Types::SidewalkDeviceMetadata]
|
1460
|
+
#
|
1356
1461
|
class GetWirelessDeviceStatisticsResponse < Struct.new(
|
1357
1462
|
:wireless_device_id,
|
1358
1463
|
:last_uplink_received_at,
|
1359
|
-
:lo_ra_wan
|
1464
|
+
:lo_ra_wan,
|
1465
|
+
:sidewalk)
|
1360
1466
|
SENSITIVE = []
|
1361
1467
|
include Aws::Structure
|
1362
1468
|
end
|
@@ -1510,9 +1616,14 @@ module Aws::IoTWireless
|
|
1510
1616
|
# The date and time when the most recent uplink was received.
|
1511
1617
|
# @return [String]
|
1512
1618
|
#
|
1619
|
+
# @!attribute [rw] connection_status
|
1620
|
+
# The connection status of the wireless gateway.
|
1621
|
+
# @return [String]
|
1622
|
+
#
|
1513
1623
|
class GetWirelessGatewayStatisticsResponse < Struct.new(
|
1514
1624
|
:wireless_gateway_id,
|
1515
|
-
:last_uplink_received_at
|
1625
|
+
:last_uplink_received_at,
|
1626
|
+
:connection_status)
|
1516
1627
|
SENSITIVE = []
|
1517
1628
|
include Aws::Structure
|
1518
1629
|
end
|
@@ -1791,7 +1902,7 @@ module Aws::IoTWireless
|
|
1791
1902
|
# }
|
1792
1903
|
#
|
1793
1904
|
# @!attribute [rw] resource_arn
|
1794
|
-
# The ARN of the resource for which to list tags.
|
1905
|
+
# The ARN of the resource for which you want to list tags.
|
1795
1906
|
# @return [String]
|
1796
1907
|
#
|
1797
1908
|
class ListTagsForResourceRequest < Struct.new(
|
@@ -1801,8 +1912,8 @@ module Aws::IoTWireless
|
|
1801
1912
|
end
|
1802
1913
|
|
1803
1914
|
# @!attribute [rw] tags
|
1804
|
-
# The tags
|
1805
|
-
# can
|
1915
|
+
# The tags to attach to the specified resource. Tags are metadata that
|
1916
|
+
# you can use to manage a resource.
|
1806
1917
|
# @return [Array<Types::Tag>]
|
1807
1918
|
#
|
1808
1919
|
class ListTagsForResourceResponse < Struct.new(
|
@@ -2218,6 +2329,11 @@ module Aws::IoTWireless
|
|
2218
2329
|
# {
|
2219
2330
|
# gateway_eui: "GatewayEui",
|
2220
2331
|
# rf_region: "RfRegion",
|
2332
|
+
# join_eui_filters: [
|
2333
|
+
# ["JoinEui"],
|
2334
|
+
# ],
|
2335
|
+
# net_id_filters: ["NetId"],
|
2336
|
+
# sub_bands: [1],
|
2221
2337
|
# }
|
2222
2338
|
#
|
2223
2339
|
# @!attribute [rw] gateway_eui
|
@@ -2228,9 +2344,26 @@ module Aws::IoTWireless
|
|
2228
2344
|
# The frequency band (RFRegion) value.
|
2229
2345
|
# @return [String]
|
2230
2346
|
#
|
2347
|
+
# @!attribute [rw] join_eui_filters
|
2348
|
+
# A list of JoinEuiRange used by LoRa gateways to filter LoRa frames.
|
2349
|
+
# @return [Array<Array<String>>]
|
2350
|
+
#
|
2351
|
+
# @!attribute [rw] net_id_filters
|
2352
|
+
# A list of NetId values that are used by LoRa gateways to filter the
|
2353
|
+
# uplink frames.
|
2354
|
+
# @return [Array<String>]
|
2355
|
+
#
|
2356
|
+
# @!attribute [rw] sub_bands
|
2357
|
+
# A list of integer indicating which sub bands are supported by LoRa
|
2358
|
+
# gateway.
|
2359
|
+
# @return [Array<Integer>]
|
2360
|
+
#
|
2231
2361
|
class LoRaWANGateway < Struct.new(
|
2232
2362
|
:gateway_eui,
|
2233
|
-
:rf_region
|
2363
|
+
:rf_region,
|
2364
|
+
:join_eui_filters,
|
2365
|
+
:net_id_filters,
|
2366
|
+
:sub_bands)
|
2234
2367
|
SENSITIVE = []
|
2235
2368
|
include Aws::Structure
|
2236
2369
|
end
|
@@ -2598,15 +2731,85 @@ module Aws::IoTWireless
|
|
2598
2731
|
include Aws::Structure
|
2599
2732
|
end
|
2600
2733
|
|
2734
|
+
# @note When making an API call, you may pass PutResourceLogLevelRequest
|
2735
|
+
# data as a hash:
|
2736
|
+
#
|
2737
|
+
# {
|
2738
|
+
# resource_identifier: "ResourceIdentifier", # required
|
2739
|
+
# resource_type: "ResourceType", # required
|
2740
|
+
# log_level: "INFO", # required, accepts INFO, ERROR, DISABLED
|
2741
|
+
# }
|
2742
|
+
#
|
2743
|
+
# @!attribute [rw] resource_identifier
|
2744
|
+
# The identifier of the resource. For a Wireless Device, it is the
|
2745
|
+
# wireless device id. For a wireless gateway, it is the wireless
|
2746
|
+
# gateway id.
|
2747
|
+
# @return [String]
|
2748
|
+
#
|
2749
|
+
# @!attribute [rw] resource_type
|
2750
|
+
# The type of the resource, currently support WirelessDevice and
|
2751
|
+
# WirelessGateway.
|
2752
|
+
# @return [String]
|
2753
|
+
#
|
2754
|
+
# @!attribute [rw] log_level
|
2755
|
+
# The log level for a log message.
|
2756
|
+
# @return [String]
|
2757
|
+
#
|
2758
|
+
class PutResourceLogLevelRequest < Struct.new(
|
2759
|
+
:resource_identifier,
|
2760
|
+
:resource_type,
|
2761
|
+
:log_level)
|
2762
|
+
SENSITIVE = []
|
2763
|
+
include Aws::Structure
|
2764
|
+
end
|
2765
|
+
|
2766
|
+
class PutResourceLogLevelResponse < Aws::EmptyStructure; end
|
2767
|
+
|
2768
|
+
# @api private
|
2769
|
+
#
|
2770
|
+
class ResetAllResourceLogLevelsRequest < Aws::EmptyStructure; end
|
2771
|
+
|
2772
|
+
class ResetAllResourceLogLevelsResponse < Aws::EmptyStructure; end
|
2773
|
+
|
2774
|
+
# @note When making an API call, you may pass ResetResourceLogLevelRequest
|
2775
|
+
# data as a hash:
|
2776
|
+
#
|
2777
|
+
# {
|
2778
|
+
# resource_identifier: "ResourceIdentifier", # required
|
2779
|
+
# resource_type: "ResourceType", # required
|
2780
|
+
# }
|
2781
|
+
#
|
2782
|
+
# @!attribute [rw] resource_identifier
|
2783
|
+
# The identifier of the resource. For a Wireless Device, it is the
|
2784
|
+
# wireless device id. For a wireless gateway, it is the wireless
|
2785
|
+
# gateway id.
|
2786
|
+
# @return [String]
|
2787
|
+
#
|
2788
|
+
# @!attribute [rw] resource_type
|
2789
|
+
# The type of the resource, currently support WirelessDevice and
|
2790
|
+
# WirelessGateway.
|
2791
|
+
# @return [String]
|
2792
|
+
#
|
2793
|
+
class ResetResourceLogLevelRequest < Struct.new(
|
2794
|
+
:resource_identifier,
|
2795
|
+
:resource_type)
|
2796
|
+
SENSITIVE = []
|
2797
|
+
include Aws::Structure
|
2798
|
+
end
|
2799
|
+
|
2800
|
+
class ResetResourceLogLevelResponse < Aws::EmptyStructure; end
|
2801
|
+
|
2601
2802
|
# Resource does not exist.
|
2602
2803
|
#
|
2603
2804
|
# @!attribute [rw] message
|
2604
2805
|
# @return [String]
|
2605
2806
|
#
|
2606
2807
|
# @!attribute [rw] resource_id
|
2808
|
+
# Id of the not found resource.
|
2607
2809
|
# @return [String]
|
2608
2810
|
#
|
2609
2811
|
# @!attribute [rw] resource_type
|
2812
|
+
# Type of the font found resource.
|
2610
2813
|
# @return [String]
|
2611
2814
|
#
|
2612
2815
|
class ResourceNotFoundException < Struct.new(
|
@@ -2630,6 +2833,7 @@ module Aws::IoTWireless
|
|
2630
2833
|
# },
|
2631
2834
|
# sidewalk: {
|
2632
2835
|
# seq: 1,
|
2836
|
+
# message_type: "CUSTOM_COMMAND_ID_NOTIFY", # accepts CUSTOM_COMMAND_ID_NOTIFY, CUSTOM_COMMAND_ID_GET, CUSTOM_COMMAND_ID_SET, CUSTOM_COMMAND_ID_RESP
|
2633
2837
|
# },
|
2634
2838
|
# },
|
2635
2839
|
# }
|
@@ -2802,14 +3006,78 @@ module Aws::IoTWireless
|
|
2802
3006
|
include Aws::Structure
|
2803
3007
|
end
|
2804
3008
|
|
3009
|
+
# Sidewalk device object.
|
3010
|
+
#
|
3011
|
+
# @!attribute [rw] sidewalk_id
|
3012
|
+
# The sidewalk device identification.
|
3013
|
+
# @return [String]
|
3014
|
+
#
|
3015
|
+
# @!attribute [rw] sidewalk_manufacturing_sn
|
3016
|
+
# The Sidewalk manufacturing series number.
|
3017
|
+
# @return [String]
|
3018
|
+
#
|
3019
|
+
# @!attribute [rw] device_certificates
|
3020
|
+
# The sidewalk device certificates for Ed25519 and P256r1.
|
3021
|
+
# @return [Array<Types::CertificateList>]
|
3022
|
+
#
|
3023
|
+
class SidewalkDevice < Struct.new(
|
3024
|
+
:sidewalk_id,
|
3025
|
+
:sidewalk_manufacturing_sn,
|
3026
|
+
:device_certificates)
|
3027
|
+
SENSITIVE = []
|
3028
|
+
include Aws::Structure
|
3029
|
+
end
|
3030
|
+
|
3031
|
+
# MetaData for Sidewalk device.
|
3032
|
+
#
|
3033
|
+
# @!attribute [rw] rssi
|
3034
|
+
# The RSSI value.
|
3035
|
+
# @return [Integer]
|
3036
|
+
#
|
3037
|
+
# @!attribute [rw] battery_level
|
3038
|
+
# Sidewalk device battery level.
|
3039
|
+
# @return [String]
|
3040
|
+
#
|
3041
|
+
# @!attribute [rw] event
|
3042
|
+
# Sidewalk device status notification.
|
3043
|
+
# @return [String]
|
3044
|
+
#
|
3045
|
+
# @!attribute [rw] device_state
|
3046
|
+
# Device state defines the device status of sidewalk device.
|
3047
|
+
# @return [String]
|
3048
|
+
#
|
3049
|
+
class SidewalkDeviceMetadata < Struct.new(
|
3050
|
+
:rssi,
|
3051
|
+
:battery_level,
|
3052
|
+
:event,
|
3053
|
+
:device_state)
|
3054
|
+
SENSITIVE = []
|
3055
|
+
include Aws::Structure
|
3056
|
+
end
|
3057
|
+
|
2805
3058
|
# Sidewalk object used by list functions.
|
2806
3059
|
#
|
2807
3060
|
# @!attribute [rw] amazon_id
|
2808
3061
|
# The Sidewalk Amazon ID.
|
2809
3062
|
# @return [String]
|
2810
3063
|
#
|
3064
|
+
# @!attribute [rw] sidewalk_id
|
3065
|
+
# The sidewalk device identification.
|
3066
|
+
# @return [String]
|
3067
|
+
#
|
3068
|
+
# @!attribute [rw] sidewalk_manufacturing_sn
|
3069
|
+
# The Sidewalk manufacturing series number.
|
3070
|
+
# @return [String]
|
3071
|
+
#
|
3072
|
+
# @!attribute [rw] device_certificates
|
3073
|
+
# The sidewalk device certificates for Ed25519 and P256r1.
|
3074
|
+
# @return [Array<Types::CertificateList>]
|
3075
|
+
#
|
2811
3076
|
class SidewalkListDevice < Struct.new(
|
2812
|
-
:amazon_id
|
3077
|
+
:amazon_id,
|
3078
|
+
:sidewalk_id,
|
3079
|
+
:sidewalk_manufacturing_sn,
|
3080
|
+
:device_certificates)
|
2813
3081
|
SENSITIVE = []
|
2814
3082
|
include Aws::Structure
|
2815
3083
|
end
|
@@ -2821,14 +3089,20 @@ module Aws::IoTWireless
|
|
2821
3089
|
#
|
2822
3090
|
# {
|
2823
3091
|
# seq: 1,
|
3092
|
+
# message_type: "CUSTOM_COMMAND_ID_NOTIFY", # accepts CUSTOM_COMMAND_ID_NOTIFY, CUSTOM_COMMAND_ID_GET, CUSTOM_COMMAND_ID_SET, CUSTOM_COMMAND_ID_RESP
|
2824
3093
|
# }
|
2825
3094
|
#
|
2826
3095
|
# @!attribute [rw] seq
|
2827
3096
|
# The sequence number.
|
2828
3097
|
# @return [Integer]
|
2829
3098
|
#
|
3099
|
+
# @!attribute [rw] message_type
|
3100
|
+
# Sidewalk device message type.
|
3101
|
+
# @return [String]
|
3102
|
+
#
|
2830
3103
|
class SidewalkSendDataToDevice < Struct.new(
|
2831
|
-
:seq
|
3104
|
+
:seq,
|
3105
|
+
:message_type)
|
2832
3106
|
SENSITIVE = []
|
2833
3107
|
include Aws::Structure
|
2834
3108
|
end
|
@@ -2896,7 +3170,7 @@ module Aws::IoTWireless
|
|
2896
3170
|
#
|
2897
3171
|
# @!attribute [rw] tags
|
2898
3172
|
# Adds to or modifies the tags of the given resource. Tags are
|
2899
|
-
# metadata that can
|
3173
|
+
# metadata that you can use to manage a resource.
|
2900
3174
|
# @return [Array<Types::Tag>]
|
2901
3175
|
#
|
2902
3176
|
class TagResourceRequest < Struct.new(
|
@@ -2953,6 +3227,7 @@ module Aws::IoTWireless
|
|
2953
3227
|
# @return [String]
|
2954
3228
|
#
|
2955
3229
|
# @!attribute [rw] resource_name
|
3230
|
+
# Name of the resource that exceeds maximum number of tags allowed.
|
2956
3231
|
# @return [String]
|
2957
3232
|
#
|
2958
3233
|
class TooManyTagsException < Struct.new(
|
@@ -3030,6 +3305,59 @@ module Aws::IoTWireless
|
|
3030
3305
|
|
3031
3306
|
class UpdateDestinationResponse < Aws::EmptyStructure; end
|
3032
3307
|
|
3308
|
+
# @note When making an API call, you may pass UpdateLogLevelsByResourceTypesRequest
|
3309
|
+
# data as a hash:
|
3310
|
+
#
|
3311
|
+
# {
|
3312
|
+
# default_log_level: "INFO", # accepts INFO, ERROR, DISABLED
|
3313
|
+
# wireless_device_log_options: [
|
3314
|
+
# {
|
3315
|
+
# type: "Sidewalk", # required, accepts Sidewalk, LoRaWAN
|
3316
|
+
# log_level: "INFO", # required, accepts INFO, ERROR, DISABLED
|
3317
|
+
# events: [
|
3318
|
+
# {
|
3319
|
+
# event: "Join", # required, accepts Join, Rejoin, Uplink_Data, Downlink_Data, Registration
|
3320
|
+
# log_level: "INFO", # required, accepts INFO, ERROR, DISABLED
|
3321
|
+
# },
|
3322
|
+
# ],
|
3323
|
+
# },
|
3324
|
+
# ],
|
3325
|
+
# wireless_gateway_log_options: [
|
3326
|
+
# {
|
3327
|
+
# type: "LoRaWAN", # required, accepts LoRaWAN
|
3328
|
+
# log_level: "INFO", # required, accepts INFO, ERROR, DISABLED
|
3329
|
+
# events: [
|
3330
|
+
# {
|
3331
|
+
# event: "CUPS_Request", # required, accepts CUPS_Request, Certificate
|
3332
|
+
# log_level: "INFO", # required, accepts INFO, ERROR, DISABLED
|
3333
|
+
# },
|
3334
|
+
# ],
|
3335
|
+
# },
|
3336
|
+
# ],
|
3337
|
+
# }
|
3338
|
+
#
|
3339
|
+
# @!attribute [rw] default_log_level
|
3340
|
+
# The log level for a log message.
|
3341
|
+
# @return [String]
|
3342
|
+
#
|
3343
|
+
# @!attribute [rw] wireless_device_log_options
|
3344
|
+
# The list of wireless device log options.
|
3345
|
+
# @return [Array<Types::WirelessDeviceLogOption>]
|
3346
|
+
#
|
3347
|
+
# @!attribute [rw] wireless_gateway_log_options
|
3348
|
+
# The list of wireless gateway log options.
|
3349
|
+
# @return [Array<Types::WirelessGatewayLogOption>]
|
3350
|
+
#
|
3351
|
+
class UpdateLogLevelsByResourceTypesRequest < Struct.new(
|
3352
|
+
:default_log_level,
|
3353
|
+
:wireless_device_log_options,
|
3354
|
+
:wireless_gateway_log_options)
|
3355
|
+
SENSITIVE = []
|
3356
|
+
include Aws::Structure
|
3357
|
+
end
|
3358
|
+
|
3359
|
+
class UpdateLogLevelsByResourceTypesResponse < Aws::EmptyStructure; end
|
3360
|
+
|
3033
3361
|
# @note When making an API call, you may pass UpdatePartnerAccountRequest
|
3034
3362
|
# data as a hash:
|
3035
3363
|
#
|
@@ -3116,6 +3444,10 @@ module Aws::IoTWireless
|
|
3116
3444
|
# id: "WirelessGatewayId", # required
|
3117
3445
|
# name: "WirelessGatewayName",
|
3118
3446
|
# description: "Description",
|
3447
|
+
# join_eui_filters: [
|
3448
|
+
# ["JoinEui"],
|
3449
|
+
# ],
|
3450
|
+
# net_id_filters: ["NetId"],
|
3119
3451
|
# }
|
3120
3452
|
#
|
3121
3453
|
# @!attribute [rw] id
|
@@ -3130,10 +3462,21 @@ module Aws::IoTWireless
|
|
3130
3462
|
# A new description of the resource.
|
3131
3463
|
# @return [String]
|
3132
3464
|
#
|
3465
|
+
# @!attribute [rw] join_eui_filters
|
3466
|
+
# A list of JoinEuiRange used by LoRa gateways to filter LoRa frames.
|
3467
|
+
# @return [Array<Array<String>>]
|
3468
|
+
#
|
3469
|
+
# @!attribute [rw] net_id_filters
|
3470
|
+
# A list of NetId values that are used by LoRa gateways to filter the
|
3471
|
+
# uplink frames.
|
3472
|
+
# @return [Array<String>]
|
3473
|
+
#
|
3133
3474
|
class UpdateWirelessGatewayRequest < Struct.new(
|
3134
3475
|
:id,
|
3135
3476
|
:name,
|
3136
|
-
:description
|
3477
|
+
:description,
|
3478
|
+
:join_eui_filters,
|
3479
|
+
:net_id_filters)
|
3137
3480
|
SENSITIVE = []
|
3138
3481
|
include Aws::Structure
|
3139
3482
|
end
|
@@ -3217,6 +3560,73 @@ module Aws::IoTWireless
|
|
3217
3560
|
include Aws::Structure
|
3218
3561
|
end
|
3219
3562
|
|
3563
|
+
# The log option for a wireless device event. Can be used to set log
|
3564
|
+
# level for a specific wireless device event. For a LoRaWAN device, the
|
3565
|
+
# possible events for a log messsage are: Join, Rejoin, Downlink\_Data,
|
3566
|
+
# Uplink\_Data. For a Sidewalk device, the possible events for a log
|
3567
|
+
# message are: Registration, Downlink\_Data, Uplink\_Data.
|
3568
|
+
#
|
3569
|
+
# @note When making an API call, you may pass WirelessDeviceEventLogOption
|
3570
|
+
# data as a hash:
|
3571
|
+
#
|
3572
|
+
# {
|
3573
|
+
# event: "Join", # required, accepts Join, Rejoin, Uplink_Data, Downlink_Data, Registration
|
3574
|
+
# log_level: "INFO", # required, accepts INFO, ERROR, DISABLED
|
3575
|
+
# }
|
3576
|
+
#
|
3577
|
+
# @!attribute [rw] event
|
3578
|
+
# The event for a log message, if the log message is tied to a
|
3579
|
+
# wireless device.
|
3580
|
+
# @return [String]
|
3581
|
+
#
|
3582
|
+
# @!attribute [rw] log_level
|
3583
|
+
# The log level for a log message.
|
3584
|
+
# @return [String]
|
3585
|
+
#
|
3586
|
+
class WirelessDeviceEventLogOption < Struct.new(
|
3587
|
+
:event,
|
3588
|
+
:log_level)
|
3589
|
+
SENSITIVE = []
|
3590
|
+
include Aws::Structure
|
3591
|
+
end
|
3592
|
+
|
3593
|
+
# The log option for wireless devices. Can be used to set log level for
|
3594
|
+
# a specific type of wireless device.
|
3595
|
+
#
|
3596
|
+
# @note When making an API call, you may pass WirelessDeviceLogOption
|
3597
|
+
# data as a hash:
|
3598
|
+
#
|
3599
|
+
# {
|
3600
|
+
# type: "Sidewalk", # required, accepts Sidewalk, LoRaWAN
|
3601
|
+
# log_level: "INFO", # required, accepts INFO, ERROR, DISABLED
|
3602
|
+
# events: [
|
3603
|
+
# {
|
3604
|
+
# event: "Join", # required, accepts Join, Rejoin, Uplink_Data, Downlink_Data, Registration
|
3605
|
+
# log_level: "INFO", # required, accepts INFO, ERROR, DISABLED
|
3606
|
+
# },
|
3607
|
+
# ],
|
3608
|
+
# }
|
3609
|
+
#
|
3610
|
+
# @!attribute [rw] type
|
3611
|
+
# The wireless device type.
|
3612
|
+
# @return [String]
|
3613
|
+
#
|
3614
|
+
# @!attribute [rw] log_level
|
3615
|
+
# The log level for a log message.
|
3616
|
+
# @return [String]
|
3617
|
+
#
|
3618
|
+
# @!attribute [rw] events
|
3619
|
+
# The list of wireless device event log options.
|
3620
|
+
# @return [Array<Types::WirelessDeviceEventLogOption>]
|
3621
|
+
#
|
3622
|
+
class WirelessDeviceLogOption < Struct.new(
|
3623
|
+
:type,
|
3624
|
+
:log_level,
|
3625
|
+
:events)
|
3626
|
+
SENSITIVE = []
|
3627
|
+
include Aws::Structure
|
3628
|
+
end
|
3629
|
+
|
3220
3630
|
# Information about a wireless device's operation.
|
3221
3631
|
#
|
3222
3632
|
# @!attribute [rw] arn
|
@@ -3264,6 +3674,71 @@ module Aws::IoTWireless
|
|
3264
3674
|
include Aws::Structure
|
3265
3675
|
end
|
3266
3676
|
|
3677
|
+
# The log option for a wireless gateway event. Can be used to set log
|
3678
|
+
# level for a specific wireless gateway event. For a LoRaWAN gateway,
|
3679
|
+
# the possible events for a log message are: CUPS\_Request, Certificate.
|
3680
|
+
#
|
3681
|
+
# @note When making an API call, you may pass WirelessGatewayEventLogOption
|
3682
|
+
# data as a hash:
|
3683
|
+
#
|
3684
|
+
# {
|
3685
|
+
# event: "CUPS_Request", # required, accepts CUPS_Request, Certificate
|
3686
|
+
# log_level: "INFO", # required, accepts INFO, ERROR, DISABLED
|
3687
|
+
# }
|
3688
|
+
#
|
3689
|
+
# @!attribute [rw] event
|
3690
|
+
# The event for a log message, if the log message is tied to a
|
3691
|
+
# wireless gateway.
|
3692
|
+
# @return [String]
|
3693
|
+
#
|
3694
|
+
# @!attribute [rw] log_level
|
3695
|
+
# The log level for a log message.
|
3696
|
+
# @return [String]
|
3697
|
+
#
|
3698
|
+
class WirelessGatewayEventLogOption < Struct.new(
|
3699
|
+
:event,
|
3700
|
+
:log_level)
|
3701
|
+
SENSITIVE = []
|
3702
|
+
include Aws::Structure
|
3703
|
+
end
|
3704
|
+
|
3705
|
+
# The log option for wireless gateways. Can be used to set log level for
|
3706
|
+
# a specific type of wireless gateway.
|
3707
|
+
#
|
3708
|
+
# @note When making an API call, you may pass WirelessGatewayLogOption
|
3709
|
+
# data as a hash:
|
3710
|
+
#
|
3711
|
+
# {
|
3712
|
+
# type: "LoRaWAN", # required, accepts LoRaWAN
|
3713
|
+
# log_level: "INFO", # required, accepts INFO, ERROR, DISABLED
|
3714
|
+
# events: [
|
3715
|
+
# {
|
3716
|
+
# event: "CUPS_Request", # required, accepts CUPS_Request, Certificate
|
3717
|
+
# log_level: "INFO", # required, accepts INFO, ERROR, DISABLED
|
3718
|
+
# },
|
3719
|
+
# ],
|
3720
|
+
# }
|
3721
|
+
#
|
3722
|
+
# @!attribute [rw] type
|
3723
|
+
# The wireless gateway type.
|
3724
|
+
# @return [String]
|
3725
|
+
#
|
3726
|
+
# @!attribute [rw] log_level
|
3727
|
+
# The log level for a log message.
|
3728
|
+
# @return [String]
|
3729
|
+
#
|
3730
|
+
# @!attribute [rw] events
|
3731
|
+
# The list of wireless gateway event log options.
|
3732
|
+
# @return [Array<Types::WirelessGatewayEventLogOption>]
|
3733
|
+
#
|
3734
|
+
class WirelessGatewayLogOption < Struct.new(
|
3735
|
+
:type,
|
3736
|
+
:log_level,
|
3737
|
+
:events)
|
3738
|
+
SENSITIVE = []
|
3739
|
+
include Aws::Structure
|
3740
|
+
end
|
3741
|
+
|
3267
3742
|
# Information about a wireless gateway's operation.
|
3268
3743
|
#
|
3269
3744
|
# @!attribute [rw] arn
|
@@ -3312,6 +3787,7 @@ module Aws::IoTWireless
|
|
3312
3787
|
# },
|
3313
3788
|
# sidewalk: {
|
3314
3789
|
# seq: 1,
|
3790
|
+
# message_type: "CUSTOM_COMMAND_ID_NOTIFY", # accepts CUSTOM_COMMAND_ID_NOTIFY, CUSTOM_COMMAND_ID_GET, CUSTOM_COMMAND_ID_SET, CUSTOM_COMMAND_ID_RESP
|
3315
3791
|
# },
|
3316
3792
|
# }
|
3317
3793
|
#
|