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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c2e9ec96252b9b329c01d770228b1ddfc42f6cb4689021905bbe9715f2968ab7
|
4
|
+
data.tar.gz: 30c8b0f4a98f2ffb292711f6064bfef73b450a17417fed2cd6a543b04ea5ff40
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76d1138eb65645fa98181d02e7a22e0e38a7fd7a6a6068e60ceabb6fb0fef634b3e18422273b2f712672ca798bf1eb1a4d92639e43414647f4386978dfc20106
|
7
|
+
data.tar.gz: b42b8b125d0b9d2ef74fbda50d690822796ce5c9cb6ecb0085ee7ab526f6c4668c0f5d06fd27ab3b57adf5c0aee69fa01b8dd54db716289924b5f88ed00be21c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,31 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.10.0 (2021-06-01)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Added six new public customer logging APIs to allow customers to set/get/reset log levels at resource type and resource id level. The log level set from the APIs will be used to filter log messages that can be emitted to CloudWatch in customer accounts.
|
8
|
+
|
9
|
+
1.9.0 (2021-05-10)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Add three new optional fields to support filtering and configurable sub-band in WirelessGateway APIs. The filtering is for all the RF region supported. The sub-band configuration is only applicable to LoRa gateways of US915 or AU915 RF region.
|
13
|
+
|
14
|
+
1.8.0 (2021-04-26)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Add a new optional field MessageType to support Sidewalk devices in SendDataToWirelessDevice API
|
18
|
+
|
19
|
+
1.7.0 (2021-03-31)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Add Sidewalk support to APIs: GetWirelessDevice, ListWirelessDevices, GetWirelessDeviceStatistics. Add Gateway connection status in GetWirelessGatewayStatistics API.
|
23
|
+
|
24
|
+
1.6.0 (2021-03-26)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - Support tag-on-create for WirelessDevice.
|
28
|
+
|
4
29
|
1.5.0 (2021-03-10)
|
5
30
|
------------------
|
6
31
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.10.0
|
data/lib/aws-sdk-iotwireless.rb
CHANGED
@@ -342,8 +342,8 @@ module Aws::IoTWireless
|
|
342
342
|
# not need to pass this option.**
|
343
343
|
#
|
344
344
|
# @option params [Array<Types::Tag>] :tags
|
345
|
-
# The tags
|
346
|
-
# can
|
345
|
+
# The tags to attach to the specified resource. Tags are metadata that
|
346
|
+
# you can use to manage a resource.
|
347
347
|
#
|
348
348
|
# @return [Types::AssociateAwsAccountWithPartnerAccountResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
349
349
|
#
|
@@ -476,8 +476,8 @@ module Aws::IoTWireless
|
|
476
476
|
# The ARN of the IAM Role that authorizes the destination.
|
477
477
|
#
|
478
478
|
# @option params [Array<Types::Tag>] :tags
|
479
|
-
# The tags to attach to the new destination. Tags are metadata that
|
480
|
-
#
|
479
|
+
# The tags to attach to the new destination. Tags are metadata that you
|
480
|
+
# can use to manage a resource.
|
481
481
|
#
|
482
482
|
# @option params [String] :client_request_token
|
483
483
|
# Each resource must have a unique client request token. If you try to
|
@@ -531,8 +531,8 @@ module Aws::IoTWireless
|
|
531
531
|
# The device profile information to use to create the device profile.
|
532
532
|
#
|
533
533
|
# @option params [Array<Types::Tag>] :tags
|
534
|
-
# The tags to attach to the new device profile Tags are metadata that
|
535
|
-
# can
|
534
|
+
# The tags to attach to the new device profile. Tags are metadata that
|
535
|
+
# you can use to manage a resource.
|
536
536
|
#
|
537
537
|
# @option params [String] :client_request_token
|
538
538
|
# Each resource must have a unique client request token. If you try to
|
@@ -604,7 +604,7 @@ module Aws::IoTWireless
|
|
604
604
|
#
|
605
605
|
# @option params [Array<Types::Tag>] :tags
|
606
606
|
# The tags to attach to the new service profile. Tags are metadata that
|
607
|
-
# can
|
607
|
+
# you can use to manage a resource.
|
608
608
|
#
|
609
609
|
# @option params [String] :client_request_token
|
610
610
|
# Each resource must have a unique client request token. If you try to
|
@@ -675,6 +675,10 @@ module Aws::IoTWireless
|
|
675
675
|
# The device configuration information to use to create the wireless
|
676
676
|
# device.
|
677
677
|
#
|
678
|
+
# @option params [Array<Types::Tag>] :tags
|
679
|
+
# The tags to attach to the new wireless device. Tags are metadata that
|
680
|
+
# you can use to manage a resource.
|
681
|
+
#
|
678
682
|
# @return [Types::CreateWirelessDeviceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
679
683
|
#
|
680
684
|
# * {Types::CreateWirelessDeviceResponse#arn #arn} => String
|
@@ -718,6 +722,12 @@ module Aws::IoTWireless
|
|
718
722
|
# },
|
719
723
|
# },
|
720
724
|
# },
|
725
|
+
# tags: [
|
726
|
+
# {
|
727
|
+
# key: "TagKey", # required
|
728
|
+
# value: "TagValue", # required
|
729
|
+
# },
|
730
|
+
# ],
|
721
731
|
# })
|
722
732
|
#
|
723
733
|
# @example Response structure
|
@@ -746,7 +756,7 @@ module Aws::IoTWireless
|
|
746
756
|
#
|
747
757
|
# @option params [Array<Types::Tag>] :tags
|
748
758
|
# The tags to attach to the new wireless gateway. Tags are metadata that
|
749
|
-
# can
|
759
|
+
# you can use to manage a resource.
|
750
760
|
#
|
751
761
|
# @option params [String] :client_request_token
|
752
762
|
# Each resource must have a unique client request token. If you try to
|
@@ -770,6 +780,11 @@ module Aws::IoTWireless
|
|
770
780
|
# lo_ra_wan: { # required
|
771
781
|
# gateway_eui: "GatewayEui",
|
772
782
|
# rf_region: "RfRegion",
|
783
|
+
# join_eui_filters: [
|
784
|
+
# ["JoinEui"],
|
785
|
+
# ],
|
786
|
+
# net_id_filters: ["NetId"],
|
787
|
+
# sub_bands: [1],
|
773
788
|
# },
|
774
789
|
# tags: [
|
775
790
|
# {
|
@@ -847,8 +862,8 @@ module Aws::IoTWireless
|
|
847
862
|
# not need to pass this option.**
|
848
863
|
#
|
849
864
|
# @option params [Array<Types::Tag>] :tags
|
850
|
-
# The tags
|
851
|
-
# can
|
865
|
+
# The tags to attach to the specified resource. Tags are metadata that
|
866
|
+
# you can use to manage a resource.
|
852
867
|
#
|
853
868
|
# @return [Types::CreateWirelessGatewayTaskDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
854
869
|
#
|
@@ -1214,6 +1229,39 @@ module Aws::IoTWireless
|
|
1214
1229
|
req.send_request(options)
|
1215
1230
|
end
|
1216
1231
|
|
1232
|
+
# Returns current default log-levels, or log levels by resource types,
|
1233
|
+
# could be for wireless device log options or wireless gateway log
|
1234
|
+
# options.
|
1235
|
+
#
|
1236
|
+
# @return [Types::GetLogLevelsByResourceTypesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1237
|
+
#
|
1238
|
+
# * {Types::GetLogLevelsByResourceTypesResponse#default_log_level #default_log_level} => String
|
1239
|
+
# * {Types::GetLogLevelsByResourceTypesResponse#wireless_gateway_log_options #wireless_gateway_log_options} => Array<Types::WirelessGatewayLogOption>
|
1240
|
+
# * {Types::GetLogLevelsByResourceTypesResponse#wireless_device_log_options #wireless_device_log_options} => Array<Types::WirelessDeviceLogOption>
|
1241
|
+
#
|
1242
|
+
# @example Response structure
|
1243
|
+
#
|
1244
|
+
# resp.default_log_level #=> String, one of "INFO", "ERROR", "DISABLED"
|
1245
|
+
# resp.wireless_gateway_log_options #=> Array
|
1246
|
+
# resp.wireless_gateway_log_options[0].type #=> String, one of "LoRaWAN"
|
1247
|
+
# resp.wireless_gateway_log_options[0].log_level #=> String, one of "INFO", "ERROR", "DISABLED"
|
1248
|
+
# resp.wireless_gateway_log_options[0].events #=> Array
|
1249
|
+
# resp.wireless_gateway_log_options[0].events[0].event #=> String, one of "CUPS_Request", "Certificate"
|
1250
|
+
# resp.wireless_gateway_log_options[0].events[0].log_level #=> String, one of "INFO", "ERROR", "DISABLED"
|
1251
|
+
# resp.wireless_device_log_options #=> Array
|
1252
|
+
# resp.wireless_device_log_options[0].type #=> String, one of "Sidewalk", "LoRaWAN"
|
1253
|
+
# resp.wireless_device_log_options[0].log_level #=> String, one of "INFO", "ERROR", "DISABLED"
|
1254
|
+
# resp.wireless_device_log_options[0].events #=> Array
|
1255
|
+
# resp.wireless_device_log_options[0].events[0].event #=> String, one of "Join", "Rejoin", "Uplink_Data", "Downlink_Data", "Registration"
|
1256
|
+
# resp.wireless_device_log_options[0].events[0].log_level #=> String, one of "INFO", "ERROR", "DISABLED"
|
1257
|
+
#
|
1258
|
+
# @overload get_log_levels_by_resource_types(params = {})
|
1259
|
+
# @param [Hash] params ({})
|
1260
|
+
def get_log_levels_by_resource_types(params = {}, options = {})
|
1261
|
+
req = build_request(:get_log_levels_by_resource_types, params)
|
1262
|
+
req.send_request(options)
|
1263
|
+
end
|
1264
|
+
|
1217
1265
|
# Gets information about a partner account. If `PartnerAccountId` and
|
1218
1266
|
# `PartnerType` are `null`, returns all partner accounts.
|
1219
1267
|
#
|
@@ -1249,6 +1297,40 @@ module Aws::IoTWireless
|
|
1249
1297
|
req.send_request(options)
|
1250
1298
|
end
|
1251
1299
|
|
1300
|
+
# Fetches the log-level override if any for a given resource-ID and
|
1301
|
+
# resource-type, coulde be a wireless device or a wireless gateway.
|
1302
|
+
#
|
1303
|
+
# @option params [required, String] :resource_identifier
|
1304
|
+
# The identifier of the resource. For a Wireless Device, it is the
|
1305
|
+
# wireless device id. For a wireless gateway, it is the wireless gateway
|
1306
|
+
# id.
|
1307
|
+
#
|
1308
|
+
# @option params [required, String] :resource_type
|
1309
|
+
# The type of the resource, currently support WirelessDevice and
|
1310
|
+
# WirelessGateway.
|
1311
|
+
#
|
1312
|
+
# @return [Types::GetResourceLogLevelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1313
|
+
#
|
1314
|
+
# * {Types::GetResourceLogLevelResponse#log_level #log_level} => String
|
1315
|
+
#
|
1316
|
+
# @example Request syntax with placeholder values
|
1317
|
+
#
|
1318
|
+
# resp = client.get_resource_log_level({
|
1319
|
+
# resource_identifier: "ResourceIdentifier", # required
|
1320
|
+
# resource_type: "ResourceType", # required
|
1321
|
+
# })
|
1322
|
+
#
|
1323
|
+
# @example Response structure
|
1324
|
+
#
|
1325
|
+
# resp.log_level #=> String, one of "INFO", "ERROR", "DISABLED"
|
1326
|
+
#
|
1327
|
+
# @overload get_resource_log_level(params = {})
|
1328
|
+
# @param [Hash] params ({})
|
1329
|
+
def get_resource_log_level(params = {}, options = {})
|
1330
|
+
req = build_request(:get_resource_log_level, params)
|
1331
|
+
req.send_request(options)
|
1332
|
+
end
|
1333
|
+
|
1252
1334
|
# Gets the account-specific endpoint for Configuration and Update Server
|
1253
1335
|
# (CUPS) protocol or LoRaWAN Network Server (LNS) connections.
|
1254
1336
|
#
|
@@ -1351,6 +1433,7 @@ module Aws::IoTWireless
|
|
1351
1433
|
# * {Types::GetWirelessDeviceResponse#thing_name #thing_name} => String
|
1352
1434
|
# * {Types::GetWirelessDeviceResponse#thing_arn #thing_arn} => String
|
1353
1435
|
# * {Types::GetWirelessDeviceResponse#lo_ra_wan #lo_ra_wan} => Types::LoRaWANDevice
|
1436
|
+
# * {Types::GetWirelessDeviceResponse#sidewalk #sidewalk} => Types::SidewalkDevice
|
1354
1437
|
#
|
1355
1438
|
# @example Request syntax with placeholder values
|
1356
1439
|
#
|
@@ -1385,6 +1468,11 @@ module Aws::IoTWireless
|
|
1385
1468
|
# resp.lo_ra_wan.abp_v1_0_x.dev_addr #=> String
|
1386
1469
|
# resp.lo_ra_wan.abp_v1_0_x.session_keys.nwk_s_key #=> String
|
1387
1470
|
# resp.lo_ra_wan.abp_v1_0_x.session_keys.app_s_key #=> String
|
1471
|
+
# resp.sidewalk.sidewalk_id #=> String
|
1472
|
+
# resp.sidewalk.sidewalk_manufacturing_sn #=> String
|
1473
|
+
# resp.sidewalk.device_certificates #=> Array
|
1474
|
+
# resp.sidewalk.device_certificates[0].signing_alg #=> String, one of "Ed25519", "P256r1"
|
1475
|
+
# resp.sidewalk.device_certificates[0].value #=> String
|
1388
1476
|
#
|
1389
1477
|
# @overload get_wireless_device(params = {})
|
1390
1478
|
# @param [Hash] params ({})
|
@@ -1403,6 +1491,7 @@ module Aws::IoTWireless
|
|
1403
1491
|
# * {Types::GetWirelessDeviceStatisticsResponse#wireless_device_id #wireless_device_id} => String
|
1404
1492
|
# * {Types::GetWirelessDeviceStatisticsResponse#last_uplink_received_at #last_uplink_received_at} => String
|
1405
1493
|
# * {Types::GetWirelessDeviceStatisticsResponse#lo_ra_wan #lo_ra_wan} => Types::LoRaWANDeviceMetadata
|
1494
|
+
# * {Types::GetWirelessDeviceStatisticsResponse#sidewalk #sidewalk} => Types::SidewalkDeviceMetadata
|
1406
1495
|
#
|
1407
1496
|
# @example Request syntax with placeholder values
|
1408
1497
|
#
|
@@ -1423,6 +1512,10 @@ module Aws::IoTWireless
|
|
1423
1512
|
# resp.lo_ra_wan.gateways[0].gateway_eui #=> String
|
1424
1513
|
# resp.lo_ra_wan.gateways[0].snr #=> Float
|
1425
1514
|
# resp.lo_ra_wan.gateways[0].rssi #=> Float
|
1515
|
+
# resp.sidewalk.rssi #=> Integer
|
1516
|
+
# resp.sidewalk.battery_level #=> String, one of "normal", "low", "critical"
|
1517
|
+
# resp.sidewalk.event #=> String, one of "discovered", "lost", "ack", "nack", "passthrough"
|
1518
|
+
# resp.sidewalk.device_state #=> String, one of "Provisioned", "RegisteredNotSeen", "RegisteredReachable", "RegisteredUnreachable"
|
1426
1519
|
#
|
1427
1520
|
# @overload get_wireless_device_statistics(params = {})
|
1428
1521
|
# @param [Hash] params ({})
|
@@ -1463,6 +1556,13 @@ module Aws::IoTWireless
|
|
1463
1556
|
# resp.description #=> String
|
1464
1557
|
# resp.lo_ra_wan.gateway_eui #=> String
|
1465
1558
|
# resp.lo_ra_wan.rf_region #=> String
|
1559
|
+
# resp.lo_ra_wan.join_eui_filters #=> Array
|
1560
|
+
# resp.lo_ra_wan.join_eui_filters[0] #=> Array
|
1561
|
+
# resp.lo_ra_wan.join_eui_filters[0][0] #=> String
|
1562
|
+
# resp.lo_ra_wan.net_id_filters #=> Array
|
1563
|
+
# resp.lo_ra_wan.net_id_filters[0] #=> String
|
1564
|
+
# resp.lo_ra_wan.sub_bands #=> Array
|
1565
|
+
# resp.lo_ra_wan.sub_bands[0] #=> Integer
|
1466
1566
|
# resp.arn #=> String
|
1467
1567
|
# resp.thing_name #=> String
|
1468
1568
|
# resp.thing_arn #=> String
|
@@ -1541,6 +1641,7 @@ module Aws::IoTWireless
|
|
1541
1641
|
#
|
1542
1642
|
# * {Types::GetWirelessGatewayStatisticsResponse#wireless_gateway_id #wireless_gateway_id} => String
|
1543
1643
|
# * {Types::GetWirelessGatewayStatisticsResponse#last_uplink_received_at #last_uplink_received_at} => String
|
1644
|
+
# * {Types::GetWirelessGatewayStatisticsResponse#connection_status #connection_status} => String
|
1544
1645
|
#
|
1545
1646
|
# @example Request syntax with placeholder values
|
1546
1647
|
#
|
@@ -1552,6 +1653,7 @@ module Aws::IoTWireless
|
|
1552
1653
|
#
|
1553
1654
|
# resp.wireless_gateway_id #=> String
|
1554
1655
|
# resp.last_uplink_received_at #=> String
|
1656
|
+
# resp.connection_status #=> String, one of "Connected", "Disconnected"
|
1555
1657
|
#
|
1556
1658
|
# @overload get_wireless_gateway_statistics(params = {})
|
1557
1659
|
# @param [Hash] params ({})
|
@@ -1795,7 +1897,7 @@ module Aws::IoTWireless
|
|
1795
1897
|
# Lists the tags (metadata) you have assigned to the resource.
|
1796
1898
|
#
|
1797
1899
|
# @option params [required, String] :resource_arn
|
1798
|
-
# The ARN of the resource for which to list tags.
|
1900
|
+
# The ARN of the resource for which you want to list tags.
|
1799
1901
|
#
|
1800
1902
|
# @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1801
1903
|
#
|
@@ -1875,6 +1977,11 @@ module Aws::IoTWireless
|
|
1875
1977
|
# resp.wireless_device_list[0].last_uplink_received_at #=> String
|
1876
1978
|
# resp.wireless_device_list[0].lo_ra_wan.dev_eui #=> String
|
1877
1979
|
# resp.wireless_device_list[0].sidewalk.amazon_id #=> String
|
1980
|
+
# resp.wireless_device_list[0].sidewalk.sidewalk_id #=> String
|
1981
|
+
# resp.wireless_device_list[0].sidewalk.sidewalk_manufacturing_sn #=> String
|
1982
|
+
# resp.wireless_device_list[0].sidewalk.device_certificates #=> Array
|
1983
|
+
# resp.wireless_device_list[0].sidewalk.device_certificates[0].signing_alg #=> String, one of "Ed25519", "P256r1"
|
1984
|
+
# resp.wireless_device_list[0].sidewalk.device_certificates[0].value #=> String
|
1878
1985
|
#
|
1879
1986
|
# @overload list_wireless_devices(params = {})
|
1880
1987
|
# @param [Hash] params ({})
|
@@ -1965,6 +2072,13 @@ module Aws::IoTWireless
|
|
1965
2072
|
# resp.wireless_gateway_list[0].description #=> String
|
1966
2073
|
# resp.wireless_gateway_list[0].lo_ra_wan.gateway_eui #=> String
|
1967
2074
|
# resp.wireless_gateway_list[0].lo_ra_wan.rf_region #=> String
|
2075
|
+
# resp.wireless_gateway_list[0].lo_ra_wan.join_eui_filters #=> Array
|
2076
|
+
# resp.wireless_gateway_list[0].lo_ra_wan.join_eui_filters[0] #=> Array
|
2077
|
+
# resp.wireless_gateway_list[0].lo_ra_wan.join_eui_filters[0][0] #=> String
|
2078
|
+
# resp.wireless_gateway_list[0].lo_ra_wan.net_id_filters #=> Array
|
2079
|
+
# resp.wireless_gateway_list[0].lo_ra_wan.net_id_filters[0] #=> String
|
2080
|
+
# resp.wireless_gateway_list[0].lo_ra_wan.sub_bands #=> Array
|
2081
|
+
# resp.wireless_gateway_list[0].lo_ra_wan.sub_bands[0] #=> Integer
|
1968
2082
|
# resp.wireless_gateway_list[0].last_uplink_received_at #=> String
|
1969
2083
|
#
|
1970
2084
|
# @overload list_wireless_gateways(params = {})
|
@@ -1974,6 +2088,78 @@ module Aws::IoTWireless
|
|
1974
2088
|
req.send_request(options)
|
1975
2089
|
end
|
1976
2090
|
|
2091
|
+
# Sets the log-level override for a resource-ID and resource-type, could
|
2092
|
+
# be a wireless gateway or a wireless device.
|
2093
|
+
#
|
2094
|
+
# @option params [required, String] :resource_identifier
|
2095
|
+
# The identifier of the resource. For a Wireless Device, it is the
|
2096
|
+
# wireless device id. For a wireless gateway, it is the wireless gateway
|
2097
|
+
# id.
|
2098
|
+
#
|
2099
|
+
# @option params [required, String] :resource_type
|
2100
|
+
# The type of the resource, currently support WirelessDevice and
|
2101
|
+
# WirelessGateway.
|
2102
|
+
#
|
2103
|
+
# @option params [required, String] :log_level
|
2104
|
+
# The log level for a log message.
|
2105
|
+
#
|
2106
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2107
|
+
#
|
2108
|
+
# @example Request syntax with placeholder values
|
2109
|
+
#
|
2110
|
+
# resp = client.put_resource_log_level({
|
2111
|
+
# resource_identifier: "ResourceIdentifier", # required
|
2112
|
+
# resource_type: "ResourceType", # required
|
2113
|
+
# log_level: "INFO", # required, accepts INFO, ERROR, DISABLED
|
2114
|
+
# })
|
2115
|
+
#
|
2116
|
+
# @overload put_resource_log_level(params = {})
|
2117
|
+
# @param [Hash] params ({})
|
2118
|
+
def put_resource_log_level(params = {}, options = {})
|
2119
|
+
req = build_request(:put_resource_log_level, params)
|
2120
|
+
req.send_request(options)
|
2121
|
+
end
|
2122
|
+
|
2123
|
+
# Remove log-level overrides if any for all resources (both wireless
|
2124
|
+
# devices and wireless gateways).
|
2125
|
+
#
|
2126
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2127
|
+
#
|
2128
|
+
# @overload reset_all_resource_log_levels(params = {})
|
2129
|
+
# @param [Hash] params ({})
|
2130
|
+
def reset_all_resource_log_levels(params = {}, options = {})
|
2131
|
+
req = build_request(:reset_all_resource_log_levels, params)
|
2132
|
+
req.send_request(options)
|
2133
|
+
end
|
2134
|
+
|
2135
|
+
# Remove log-level override if any for a specific resource-ID and
|
2136
|
+
# resource-type, could be a wireless device or a wireless gateway.
|
2137
|
+
#
|
2138
|
+
# @option params [required, String] :resource_identifier
|
2139
|
+
# The identifier of the resource. For a Wireless Device, it is the
|
2140
|
+
# wireless device id. For a wireless gateway, it is the wireless gateway
|
2141
|
+
# id.
|
2142
|
+
#
|
2143
|
+
# @option params [required, String] :resource_type
|
2144
|
+
# The type of the resource, currently support WirelessDevice and
|
2145
|
+
# WirelessGateway.
|
2146
|
+
#
|
2147
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2148
|
+
#
|
2149
|
+
# @example Request syntax with placeholder values
|
2150
|
+
#
|
2151
|
+
# resp = client.reset_resource_log_level({
|
2152
|
+
# resource_identifier: "ResourceIdentifier", # required
|
2153
|
+
# resource_type: "ResourceType", # required
|
2154
|
+
# })
|
2155
|
+
#
|
2156
|
+
# @overload reset_resource_log_level(params = {})
|
2157
|
+
# @param [Hash] params ({})
|
2158
|
+
def reset_resource_log_level(params = {}, options = {})
|
2159
|
+
req = build_request(:reset_resource_log_level, params)
|
2160
|
+
req.send_request(options)
|
2161
|
+
end
|
2162
|
+
|
1977
2163
|
# Sends a decrypted application data frame to a device.
|
1978
2164
|
#
|
1979
2165
|
# @option params [required, String] :id
|
@@ -2005,6 +2191,7 @@ module Aws::IoTWireless
|
|
2005
2191
|
# },
|
2006
2192
|
# sidewalk: {
|
2007
2193
|
# seq: 1,
|
2194
|
+
# message_type: "CUSTOM_COMMAND_ID_NOTIFY", # accepts CUSTOM_COMMAND_ID_NOTIFY, CUSTOM_COMMAND_ID_GET, CUSTOM_COMMAND_ID_SET, CUSTOM_COMMAND_ID_RESP
|
2008
2195
|
# },
|
2009
2196
|
# },
|
2010
2197
|
# })
|
@@ -2027,7 +2214,7 @@ module Aws::IoTWireless
|
|
2027
2214
|
#
|
2028
2215
|
# @option params [required, Array<Types::Tag>] :tags
|
2029
2216
|
# Adds to or modifies the tags of the given resource. Tags are metadata
|
2030
|
-
# that can
|
2217
|
+
# that you can use to manage a resource.
|
2031
2218
|
#
|
2032
2219
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2033
2220
|
#
|
@@ -2137,6 +2324,58 @@ module Aws::IoTWireless
|
|
2137
2324
|
req.send_request(options)
|
2138
2325
|
end
|
2139
2326
|
|
2327
|
+
# Set default log level, or log levels by resource types, could be for
|
2328
|
+
# wireless device log options or wireless gateways log options. This is
|
2329
|
+
# to control the log messages that will be displayed in CloudWatch.
|
2330
|
+
#
|
2331
|
+
# @option params [String] :default_log_level
|
2332
|
+
# The log level for a log message.
|
2333
|
+
#
|
2334
|
+
# @option params [Array<Types::WirelessDeviceLogOption>] :wireless_device_log_options
|
2335
|
+
# The list of wireless device log options.
|
2336
|
+
#
|
2337
|
+
# @option params [Array<Types::WirelessGatewayLogOption>] :wireless_gateway_log_options
|
2338
|
+
# The list of wireless gateway log options.
|
2339
|
+
#
|
2340
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2341
|
+
#
|
2342
|
+
# @example Request syntax with placeholder values
|
2343
|
+
#
|
2344
|
+
# resp = client.update_log_levels_by_resource_types({
|
2345
|
+
# default_log_level: "INFO", # accepts INFO, ERROR, DISABLED
|
2346
|
+
# wireless_device_log_options: [
|
2347
|
+
# {
|
2348
|
+
# type: "Sidewalk", # required, accepts Sidewalk, LoRaWAN
|
2349
|
+
# log_level: "INFO", # required, accepts INFO, ERROR, DISABLED
|
2350
|
+
# events: [
|
2351
|
+
# {
|
2352
|
+
# event: "Join", # required, accepts Join, Rejoin, Uplink_Data, Downlink_Data, Registration
|
2353
|
+
# log_level: "INFO", # required, accepts INFO, ERROR, DISABLED
|
2354
|
+
# },
|
2355
|
+
# ],
|
2356
|
+
# },
|
2357
|
+
# ],
|
2358
|
+
# wireless_gateway_log_options: [
|
2359
|
+
# {
|
2360
|
+
# type: "LoRaWAN", # required, accepts LoRaWAN
|
2361
|
+
# log_level: "INFO", # required, accepts INFO, ERROR, DISABLED
|
2362
|
+
# events: [
|
2363
|
+
# {
|
2364
|
+
# event: "CUPS_Request", # required, accepts CUPS_Request, Certificate
|
2365
|
+
# log_level: "INFO", # required, accepts INFO, ERROR, DISABLED
|
2366
|
+
# },
|
2367
|
+
# ],
|
2368
|
+
# },
|
2369
|
+
# ],
|
2370
|
+
# })
|
2371
|
+
#
|
2372
|
+
# @overload update_log_levels_by_resource_types(params = {})
|
2373
|
+
# @param [Hash] params ({})
|
2374
|
+
def update_log_levels_by_resource_types(params = {}, options = {})
|
2375
|
+
req = build_request(:update_log_levels_by_resource_types, params)
|
2376
|
+
req.send_request(options)
|
2377
|
+
end
|
2378
|
+
|
2140
2379
|
# Updates properties of a partner account.
|
2141
2380
|
#
|
2142
2381
|
# @option params [required, Types::SidewalkUpdateAccount] :sidewalk
|
@@ -2217,6 +2456,13 @@ module Aws::IoTWireless
|
|
2217
2456
|
# @option params [String] :description
|
2218
2457
|
# A new description of the resource.
|
2219
2458
|
#
|
2459
|
+
# @option params [Array<Array>] :join_eui_filters
|
2460
|
+
# A list of JoinEuiRange used by LoRa gateways to filter LoRa frames.
|
2461
|
+
#
|
2462
|
+
# @option params [Array<String>] :net_id_filters
|
2463
|
+
# A list of NetId values that are used by LoRa gateways to filter the
|
2464
|
+
# uplink frames.
|
2465
|
+
#
|
2220
2466
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2221
2467
|
#
|
2222
2468
|
# @example Request syntax with placeholder values
|
@@ -2225,6 +2471,10 @@ module Aws::IoTWireless
|
|
2225
2471
|
# id: "WirelessGatewayId", # required
|
2226
2472
|
# name: "WirelessGatewayName",
|
2227
2473
|
# description: "Description",
|
2474
|
+
# join_eui_filters: [
|
2475
|
+
# ["JoinEui"],
|
2476
|
+
# ],
|
2477
|
+
# net_id_filters: ["NetId"],
|
2228
2478
|
# })
|
2229
2479
|
#
|
2230
2480
|
# @overload update_wireless_gateway(params = {})
|
@@ -2247,7 +2497,7 @@ module Aws::IoTWireless
|
|
2247
2497
|
params: params,
|
2248
2498
|
config: config)
|
2249
2499
|
context[:gem_name] = 'aws-sdk-iotwireless'
|
2250
|
-
context[:gem_version] = '1.
|
2500
|
+
context[:gem_version] = '1.10.0'
|
2251
2501
|
Seahorse::Client::Request.new(handlers, context)
|
2252
2502
|
end
|
2253
2503
|
|