aws-sdk-iotwireless 1.10.0 → 1.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iotwireless.rb +1 -1
- data/lib/aws-sdk-iotwireless/client.rb +34 -29
- data/lib/aws-sdk-iotwireless/client_api.rb +1 -0
- data/lib/aws-sdk-iotwireless/types.rb +37 -27
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 546d1497b18d4dcf24681c55265be66d8b58f655ec5cd0a77aa67beab10f3d67
|
4
|
+
data.tar.gz: 965fd3805a19963f79521868363a38e719dd436657f8171f98c705bea9e578c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd253535b435855fb41ae7d6c6689cbfb403592450db091705ff4db8122e972c7d42479de4eed98349e6c131e78b083af10bd163d43e0e4a3a661781d59791b0
|
7
|
+
data.tar.gz: 2cce577cb2264e99027293764b9ad166c197896ce822587025567c52ef0efec8d2dfe5c3f2eef3eb0850fb7cd7a33a7d2d6b690771a5b407aa74788663f91061
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.11.0 (2021-07-27)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Add SidewalkManufacturingSn as an identifier to allow Customer to query WirelessDevice, in the response, AmazonId is added in the case that Sidewalk device is return.
|
8
|
+
|
4
9
|
1.10.0 (2021-06-01)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.11.0
|
data/lib/aws-sdk-iotwireless.rb
CHANGED
@@ -1229,9 +1229,9 @@ module Aws::IoTWireless
|
|
1229
1229
|
req.send_request(options)
|
1230
1230
|
end
|
1231
1231
|
|
1232
|
-
# Returns current default log
|
1233
|
-
#
|
1234
|
-
# options.
|
1232
|
+
# Returns current default log levels or log levels by resource types.
|
1233
|
+
# Based on resource types, log levels can be for wireless device log
|
1234
|
+
# options or wireless gateway log options.
|
1235
1235
|
#
|
1236
1236
|
# @return [Types::GetLogLevelsByResourceTypesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1237
1237
|
#
|
@@ -1297,17 +1297,18 @@ module Aws::IoTWireless
|
|
1297
1297
|
req.send_request(options)
|
1298
1298
|
end
|
1299
1299
|
|
1300
|
-
# Fetches the log-level override if any for a given resource-ID and
|
1301
|
-
# resource-type
|
1300
|
+
# Fetches the log-level override, if any, for a given resource-ID and
|
1301
|
+
# resource-type. It can be used for a wireless device or a wireless
|
1302
|
+
# gateway.
|
1302
1303
|
#
|
1303
1304
|
# @option params [required, String] :resource_identifier
|
1304
1305
|
# The identifier of the resource. For a Wireless Device, it is the
|
1305
|
-
# wireless device
|
1306
|
-
#
|
1306
|
+
# wireless device ID. For a wireless gateway, it is the wireless gateway
|
1307
|
+
# ID.
|
1307
1308
|
#
|
1308
1309
|
# @option params [required, String] :resource_type
|
1309
|
-
# The type of the resource,
|
1310
|
-
# WirelessGateway
|
1310
|
+
# The type of the resource, which can be `WirelessDevice` or
|
1311
|
+
# `WirelessGateway`.
|
1311
1312
|
#
|
1312
1313
|
# @return [Types::GetResourceLogLevelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1313
1314
|
#
|
@@ -1439,7 +1440,7 @@ module Aws::IoTWireless
|
|
1439
1440
|
#
|
1440
1441
|
# resp = client.get_wireless_device({
|
1441
1442
|
# identifier: "Identifier", # required
|
1442
|
-
# identifier_type: "WirelessDeviceId", # required, accepts WirelessDeviceId, DevEui, ThingName
|
1443
|
+
# identifier_type: "WirelessDeviceId", # required, accepts WirelessDeviceId, DevEui, ThingName, SidewalkManufacturingSn
|
1443
1444
|
# })
|
1444
1445
|
#
|
1445
1446
|
# @example Response structure
|
@@ -1468,6 +1469,7 @@ module Aws::IoTWireless
|
|
1468
1469
|
# resp.lo_ra_wan.abp_v1_0_x.dev_addr #=> String
|
1469
1470
|
# resp.lo_ra_wan.abp_v1_0_x.session_keys.nwk_s_key #=> String
|
1470
1471
|
# resp.lo_ra_wan.abp_v1_0_x.session_keys.app_s_key #=> String
|
1472
|
+
# resp.sidewalk.amazon_id #=> String
|
1471
1473
|
# resp.sidewalk.sidewalk_id #=> String
|
1472
1474
|
# resp.sidewalk.sidewalk_manufacturing_sn #=> String
|
1473
1475
|
# resp.sidewalk.device_certificates #=> Array
|
@@ -2088,17 +2090,18 @@ module Aws::IoTWireless
|
|
2088
2090
|
req.send_request(options)
|
2089
2091
|
end
|
2090
2092
|
|
2091
|
-
# Sets the log-level override for a resource-ID and resource-type
|
2092
|
-
# be a wireless gateway or a wireless device.
|
2093
|
+
# Sets the log-level override for a resource-ID and resource-type. This
|
2094
|
+
# option can be specified for a wireless gateway or a wireless device. A
|
2095
|
+
# limit of 200 log level override can be set per account.
|
2093
2096
|
#
|
2094
2097
|
# @option params [required, String] :resource_identifier
|
2095
2098
|
# The identifier of the resource. For a Wireless Device, it is the
|
2096
|
-
# wireless device
|
2097
|
-
#
|
2099
|
+
# wireless device ID. For a wireless gateway, it is the wireless gateway
|
2100
|
+
# ID.
|
2098
2101
|
#
|
2099
2102
|
# @option params [required, String] :resource_type
|
2100
|
-
# The type of the resource,
|
2101
|
-
# WirelessGateway
|
2103
|
+
# The type of the resource, which can be `WirelessDevice` or
|
2104
|
+
# `WirelessGateway`.
|
2102
2105
|
#
|
2103
2106
|
# @option params [required, String] :log_level
|
2104
2107
|
# The log level for a log message.
|
@@ -2120,8 +2123,8 @@ module Aws::IoTWireless
|
|
2120
2123
|
req.send_request(options)
|
2121
2124
|
end
|
2122
2125
|
|
2123
|
-
#
|
2124
|
-
# devices and wireless gateways
|
2126
|
+
# Removes the log-level overrides for all resources; both wireless
|
2127
|
+
# devices and wireless gateways.
|
2125
2128
|
#
|
2126
2129
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2127
2130
|
#
|
@@ -2132,17 +2135,18 @@ module Aws::IoTWireless
|
|
2132
2135
|
req.send_request(options)
|
2133
2136
|
end
|
2134
2137
|
|
2135
|
-
#
|
2136
|
-
# resource-type
|
2138
|
+
# Removes the log-level override, if any, for a specific resource-ID and
|
2139
|
+
# resource-type. It can be used for a wireless device or a wireless
|
2140
|
+
# gateway.
|
2137
2141
|
#
|
2138
2142
|
# @option params [required, String] :resource_identifier
|
2139
2143
|
# The identifier of the resource. For a Wireless Device, it is the
|
2140
|
-
# wireless device
|
2141
|
-
#
|
2144
|
+
# wireless device ID. For a wireless gateway, it is the wireless gateway
|
2145
|
+
# ID.
|
2142
2146
|
#
|
2143
2147
|
# @option params [required, String] :resource_type
|
2144
|
-
# The type of the resource,
|
2145
|
-
# WirelessGateway
|
2148
|
+
# The type of the resource, which can be `WirelessDevice` or
|
2149
|
+
# `WirelessGateway`.
|
2146
2150
|
#
|
2147
2151
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2148
2152
|
#
|
@@ -2170,7 +2174,7 @@ module Aws::IoTWireless
|
|
2170
2174
|
# `0` for UM (unacknowledge mode) or `1` for AM (acknowledge mode).
|
2171
2175
|
#
|
2172
2176
|
# @option params [required, String] :payload_data
|
2173
|
-
# The
|
2177
|
+
# The binary to be sent to the end device, encoded in base64.
|
2174
2178
|
#
|
2175
2179
|
# @option params [Types::WirelessMetadata] :wireless_metadata
|
2176
2180
|
# Metadata about the message request.
|
@@ -2324,9 +2328,10 @@ module Aws::IoTWireless
|
|
2324
2328
|
req.send_request(options)
|
2325
2329
|
end
|
2326
2330
|
|
2327
|
-
# Set default log level, or log levels by resource types
|
2328
|
-
# wireless device log options or wireless gateways log options
|
2329
|
-
# to control the log messages that
|
2331
|
+
# Set default log level, or log levels by resource types. This can be
|
2332
|
+
# for wireless device log options or wireless gateways log options and
|
2333
|
+
# is used to control the log messages that'll be displayed in
|
2334
|
+
# CloudWatch.
|
2330
2335
|
#
|
2331
2336
|
# @option params [String] :default_log_level
|
2332
2337
|
# The log level for a log message.
|
@@ -2497,7 +2502,7 @@ module Aws::IoTWireless
|
|
2497
2502
|
params: params,
|
2498
2503
|
config: config)
|
2499
2504
|
context[:gem_name] = 'aws-sdk-iotwireless'
|
2500
|
-
context[:gem_version] = '1.
|
2505
|
+
context[:gem_version] = '1.11.0'
|
2501
2506
|
Seahorse::Client::Request.new(handlers, context)
|
2502
2507
|
end
|
2503
2508
|
|
@@ -913,6 +913,7 @@ module Aws::IoTWireless
|
|
913
913
|
|
914
914
|
SidewalkAccountList.member = Shapes::ShapeRef.new(shape: SidewalkAccountInfoWithFingerprint)
|
915
915
|
|
916
|
+
SidewalkDevice.add_member(:amazon_id, Shapes::ShapeRef.new(shape: AmazonId, location_name: "AmazonId"))
|
916
917
|
SidewalkDevice.add_member(:sidewalk_id, Shapes::ShapeRef.new(shape: SidewalkId, location_name: "SidewalkId"))
|
917
918
|
SidewalkDevice.add_member(:sidewalk_manufacturing_sn, Shapes::ShapeRef.new(shape: SidewalkManufacturingSn, location_name: "SidewalkManufacturingSn"))
|
918
919
|
SidewalkDevice.add_member(:device_certificates, Shapes::ShapeRef.new(shape: DeviceCertificateList, location_name: "DeviceCertificates"))
|
@@ -1239,13 +1239,13 @@ module Aws::IoTWireless
|
|
1239
1239
|
#
|
1240
1240
|
# @!attribute [rw] resource_identifier
|
1241
1241
|
# The identifier of the resource. For a Wireless Device, it is the
|
1242
|
-
# wireless device
|
1243
|
-
# gateway
|
1242
|
+
# wireless device ID. For a wireless gateway, it is the wireless
|
1243
|
+
# gateway ID.
|
1244
1244
|
# @return [String]
|
1245
1245
|
#
|
1246
1246
|
# @!attribute [rw] resource_type
|
1247
|
-
# The type of the resource,
|
1248
|
-
# WirelessGateway
|
1247
|
+
# The type of the resource, which can be `WirelessDevice` or
|
1248
|
+
# `WirelessGateway`.
|
1249
1249
|
# @return [String]
|
1250
1250
|
#
|
1251
1251
|
class GetResourceLogLevelRequest < Struct.new(
|
@@ -1351,7 +1351,7 @@ module Aws::IoTWireless
|
|
1351
1351
|
#
|
1352
1352
|
# {
|
1353
1353
|
# identifier: "Identifier", # required
|
1354
|
-
# identifier_type: "WirelessDeviceId", # required, accepts WirelessDeviceId, DevEui, ThingName
|
1354
|
+
# identifier_type: "WirelessDeviceId", # required, accepts WirelessDeviceId, DevEui, ThingName, SidewalkManufacturingSn
|
1355
1355
|
# }
|
1356
1356
|
#
|
1357
1357
|
# @!attribute [rw] identifier
|
@@ -2742,13 +2742,13 @@ module Aws::IoTWireless
|
|
2742
2742
|
#
|
2743
2743
|
# @!attribute [rw] resource_identifier
|
2744
2744
|
# The identifier of the resource. For a Wireless Device, it is the
|
2745
|
-
# wireless device
|
2746
|
-
# gateway
|
2745
|
+
# wireless device ID. For a wireless gateway, it is the wireless
|
2746
|
+
# gateway ID.
|
2747
2747
|
# @return [String]
|
2748
2748
|
#
|
2749
2749
|
# @!attribute [rw] resource_type
|
2750
|
-
# The type of the resource,
|
2751
|
-
# WirelessGateway
|
2750
|
+
# The type of the resource, which can be `WirelessDevice` or
|
2751
|
+
# `WirelessGateway`.
|
2752
2752
|
# @return [String]
|
2753
2753
|
#
|
2754
2754
|
# @!attribute [rw] log_level
|
@@ -2781,13 +2781,13 @@ module Aws::IoTWireless
|
|
2781
2781
|
#
|
2782
2782
|
# @!attribute [rw] resource_identifier
|
2783
2783
|
# The identifier of the resource. For a Wireless Device, it is the
|
2784
|
-
# wireless device
|
2785
|
-
# gateway
|
2784
|
+
# wireless device ID. For a wireless gateway, it is the wireless
|
2785
|
+
# gateway ID.
|
2786
2786
|
# @return [String]
|
2787
2787
|
#
|
2788
2788
|
# @!attribute [rw] resource_type
|
2789
|
-
# The type of the resource,
|
2790
|
-
# WirelessGateway
|
2789
|
+
# The type of the resource, which can be `WirelessDevice` or
|
2790
|
+
# `WirelessGateway`.
|
2791
2791
|
# @return [String]
|
2792
2792
|
#
|
2793
2793
|
class ResetResourceLogLevelRequest < Struct.new(
|
@@ -2849,7 +2849,7 @@ module Aws::IoTWireless
|
|
2849
2849
|
# @return [Integer]
|
2850
2850
|
#
|
2851
2851
|
# @!attribute [rw] payload_data
|
2852
|
-
# The
|
2852
|
+
# The binary to be sent to the end device, encoded in base64.
|
2853
2853
|
# @return [String]
|
2854
2854
|
#
|
2855
2855
|
# @!attribute [rw] wireless_metadata
|
@@ -3008,6 +3008,10 @@ module Aws::IoTWireless
|
|
3008
3008
|
|
3009
3009
|
# Sidewalk device object.
|
3010
3010
|
#
|
3011
|
+
# @!attribute [rw] amazon_id
|
3012
|
+
# The Sidewalk Amazon ID.
|
3013
|
+
# @return [String]
|
3014
|
+
#
|
3011
3015
|
# @!attribute [rw] sidewalk_id
|
3012
3016
|
# The sidewalk device identification.
|
3013
3017
|
# @return [String]
|
@@ -3021,6 +3025,7 @@ module Aws::IoTWireless
|
|
3021
3025
|
# @return [Array<Types::CertificateList>]
|
3022
3026
|
#
|
3023
3027
|
class SidewalkDevice < Struct.new(
|
3028
|
+
:amazon_id,
|
3024
3029
|
:sidewalk_id,
|
3025
3030
|
:sidewalk_manufacturing_sn,
|
3026
3031
|
:device_certificates)
|
@@ -3097,7 +3102,8 @@ module Aws::IoTWireless
|
|
3097
3102
|
# @return [Integer]
|
3098
3103
|
#
|
3099
3104
|
# @!attribute [rw] message_type
|
3100
|
-
# Sidewalk device message type.
|
3105
|
+
# Sidewalk device message type. Default value is
|
3106
|
+
# `CUSTOM_COMMAND_ID_NOTIFY`.
|
3101
3107
|
# @return [String]
|
3102
3108
|
#
|
3103
3109
|
class SidewalkSendDataToDevice < Struct.new(
|
@@ -3560,11 +3566,13 @@ module Aws::IoTWireless
|
|
3560
3566
|
include Aws::Structure
|
3561
3567
|
end
|
3562
3568
|
|
3563
|
-
# The log
|
3564
|
-
#
|
3565
|
-
#
|
3566
|
-
#
|
3567
|
-
#
|
3569
|
+
# The log options for a wireless device event and can be used to set log
|
3570
|
+
# levels for a specific wireless device event.
|
3571
|
+
#
|
3572
|
+
# For a LoRaWAN device, possible events for a log messsage are: `Join`,
|
3573
|
+
# `Rejoin`, `Downlink_Data`, and `Uplink_Data`. For a Sidewalk device,
|
3574
|
+
# possible events for a log message are `Registration`, `Downlink_Data`,
|
3575
|
+
# and `Uplink_Data`.
|
3568
3576
|
#
|
3569
3577
|
# @note When making an API call, you may pass WirelessDeviceEventLogOption
|
3570
3578
|
# data as a hash:
|
@@ -3590,8 +3598,8 @@ module Aws::IoTWireless
|
|
3590
3598
|
include Aws::Structure
|
3591
3599
|
end
|
3592
3600
|
|
3593
|
-
# The log
|
3594
|
-
# a specific type of wireless device.
|
3601
|
+
# The log options for wireless devices and can be used to set log levels
|
3602
|
+
# for a specific type of wireless device.
|
3595
3603
|
#
|
3596
3604
|
# @note When making an API call, you may pass WirelessDeviceLogOption
|
3597
3605
|
# data as a hash:
|
@@ -3674,9 +3682,11 @@ module Aws::IoTWireless
|
|
3674
3682
|
include Aws::Structure
|
3675
3683
|
end
|
3676
3684
|
|
3677
|
-
# The log
|
3678
|
-
#
|
3679
|
-
#
|
3685
|
+
# The log options for a wireless gateway event and can be used to set
|
3686
|
+
# log levels for a specific wireless gateway event.
|
3687
|
+
#
|
3688
|
+
# For a LoRaWAN gateway, possible events for a log message are
|
3689
|
+
# `CUPS_Request` and `Certificate`.
|
3680
3690
|
#
|
3681
3691
|
# @note When making an API call, you may pass WirelessGatewayEventLogOption
|
3682
3692
|
# data as a hash:
|
@@ -3702,8 +3712,8 @@ module Aws::IoTWireless
|
|
3702
3712
|
include Aws::Structure
|
3703
3713
|
end
|
3704
3714
|
|
3705
|
-
# The log
|
3706
|
-
# a specific type of wireless gateway.
|
3715
|
+
# The log options for wireless gateways and can be used to set log
|
3716
|
+
# levels for a specific type of wireless gateway.
|
3707
3717
|
#
|
3708
3718
|
# @note When making an API call, you may pass WirelessGatewayLogOption
|
3709
3719
|
# data as a hash:
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-iotwireless
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-07-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|