aws-sdk-iotwireless 1.9.0 → 1.13.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iotwireless.rb +1 -1
- data/lib/aws-sdk-iotwireless/client.rb +199 -3
- data/lib/aws-sdk-iotwireless/client_api.rb +169 -0
- data/lib/aws-sdk-iotwireless/types.rb +326 -3
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '03498ec7fcb67ac91edaed1bf7ede6452ef8b5770ad04128353ca2c61355e0cd'
|
4
|
+
data.tar.gz: 85bccf294cc809032b1064157340f0cf07eeb73eda8cc9d3bb619f93e79d8ba5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f46ee984d313002b29df7df9a2d3c9f9dc41d2a1a7d5d544a73cebfbb2ca0f7f88d6f367a37786699532d0ead215dcf76ecd1d82bf1c2ea7742790a8da5292bd
|
7
|
+
data.tar.gz: 7bc6a98069d86cedc90c18991a2dfc45fbfa36ccc8b877b35a39109c39b8c43ec15e4960fac309d862f1d1b6e408e11c84bc453eabef6e7569cc763cd850fb57
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.13.0 (2021-07-30)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.12.0 (2021-07-28)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.11.0 (2021-07-27)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* 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.
|
18
|
+
|
19
|
+
1.10.0 (2021-06-01)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* 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.
|
23
|
+
|
4
24
|
1.9.0 (2021-05-10)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.13.0
|
data/lib/aws-sdk-iotwireless.rb
CHANGED
@@ -1229,6 +1229,39 @@ module Aws::IoTWireless
|
|
1229
1229
|
req.send_request(options)
|
1230
1230
|
end
|
1231
1231
|
|
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
|
+
#
|
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
|
+
|
1232
1265
|
# Gets information about a partner account. If `PartnerAccountId` and
|
1233
1266
|
# `PartnerType` are `null`, returns all partner accounts.
|
1234
1267
|
#
|
@@ -1264,6 +1297,41 @@ module Aws::IoTWireless
|
|
1264
1297
|
req.send_request(options)
|
1265
1298
|
end
|
1266
1299
|
|
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.
|
1303
|
+
#
|
1304
|
+
# @option params [required, String] :resource_identifier
|
1305
|
+
# The identifier of the resource. For a Wireless Device, it is the
|
1306
|
+
# wireless device ID. For a wireless gateway, it is the wireless gateway
|
1307
|
+
# ID.
|
1308
|
+
#
|
1309
|
+
# @option params [required, String] :resource_type
|
1310
|
+
# The type of the resource, which can be `WirelessDevice` or
|
1311
|
+
# `WirelessGateway`.
|
1312
|
+
#
|
1313
|
+
# @return [Types::GetResourceLogLevelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1314
|
+
#
|
1315
|
+
# * {Types::GetResourceLogLevelResponse#log_level #log_level} => String
|
1316
|
+
#
|
1317
|
+
# @example Request syntax with placeholder values
|
1318
|
+
#
|
1319
|
+
# resp = client.get_resource_log_level({
|
1320
|
+
# resource_identifier: "ResourceIdentifier", # required
|
1321
|
+
# resource_type: "ResourceType", # required
|
1322
|
+
# })
|
1323
|
+
#
|
1324
|
+
# @example Response structure
|
1325
|
+
#
|
1326
|
+
# resp.log_level #=> String, one of "INFO", "ERROR", "DISABLED"
|
1327
|
+
#
|
1328
|
+
# @overload get_resource_log_level(params = {})
|
1329
|
+
# @param [Hash] params ({})
|
1330
|
+
def get_resource_log_level(params = {}, options = {})
|
1331
|
+
req = build_request(:get_resource_log_level, params)
|
1332
|
+
req.send_request(options)
|
1333
|
+
end
|
1334
|
+
|
1267
1335
|
# Gets the account-specific endpoint for Configuration and Update Server
|
1268
1336
|
# (CUPS) protocol or LoRaWAN Network Server (LNS) connections.
|
1269
1337
|
#
|
@@ -1372,7 +1440,7 @@ module Aws::IoTWireless
|
|
1372
1440
|
#
|
1373
1441
|
# resp = client.get_wireless_device({
|
1374
1442
|
# identifier: "Identifier", # required
|
1375
|
-
# identifier_type: "WirelessDeviceId", # required, accepts WirelessDeviceId, DevEui, ThingName
|
1443
|
+
# identifier_type: "WirelessDeviceId", # required, accepts WirelessDeviceId, DevEui, ThingName, SidewalkManufacturingSn
|
1376
1444
|
# })
|
1377
1445
|
#
|
1378
1446
|
# @example Response structure
|
@@ -1401,6 +1469,7 @@ module Aws::IoTWireless
|
|
1401
1469
|
# resp.lo_ra_wan.abp_v1_0_x.dev_addr #=> String
|
1402
1470
|
# resp.lo_ra_wan.abp_v1_0_x.session_keys.nwk_s_key #=> String
|
1403
1471
|
# resp.lo_ra_wan.abp_v1_0_x.session_keys.app_s_key #=> String
|
1472
|
+
# resp.sidewalk.amazon_id #=> String
|
1404
1473
|
# resp.sidewalk.sidewalk_id #=> String
|
1405
1474
|
# resp.sidewalk.sidewalk_manufacturing_sn #=> String
|
1406
1475
|
# resp.sidewalk.device_certificates #=> Array
|
@@ -2021,6 +2090,80 @@ module Aws::IoTWireless
|
|
2021
2090
|
req.send_request(options)
|
2022
2091
|
end
|
2023
2092
|
|
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.
|
2096
|
+
#
|
2097
|
+
# @option params [required, String] :resource_identifier
|
2098
|
+
# The identifier of the resource. For a Wireless Device, it is the
|
2099
|
+
# wireless device ID. For a wireless gateway, it is the wireless gateway
|
2100
|
+
# ID.
|
2101
|
+
#
|
2102
|
+
# @option params [required, String] :resource_type
|
2103
|
+
# The type of the resource, which can be `WirelessDevice` or
|
2104
|
+
# `WirelessGateway`.
|
2105
|
+
#
|
2106
|
+
# @option params [required, String] :log_level
|
2107
|
+
# The log level for a log message.
|
2108
|
+
#
|
2109
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2110
|
+
#
|
2111
|
+
# @example Request syntax with placeholder values
|
2112
|
+
#
|
2113
|
+
# resp = client.put_resource_log_level({
|
2114
|
+
# resource_identifier: "ResourceIdentifier", # required
|
2115
|
+
# resource_type: "ResourceType", # required
|
2116
|
+
# log_level: "INFO", # required, accepts INFO, ERROR, DISABLED
|
2117
|
+
# })
|
2118
|
+
#
|
2119
|
+
# @overload put_resource_log_level(params = {})
|
2120
|
+
# @param [Hash] params ({})
|
2121
|
+
def put_resource_log_level(params = {}, options = {})
|
2122
|
+
req = build_request(:put_resource_log_level, params)
|
2123
|
+
req.send_request(options)
|
2124
|
+
end
|
2125
|
+
|
2126
|
+
# Removes the log-level overrides for all resources; both wireless
|
2127
|
+
# devices and wireless gateways.
|
2128
|
+
#
|
2129
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2130
|
+
#
|
2131
|
+
# @overload reset_all_resource_log_levels(params = {})
|
2132
|
+
# @param [Hash] params ({})
|
2133
|
+
def reset_all_resource_log_levels(params = {}, options = {})
|
2134
|
+
req = build_request(:reset_all_resource_log_levels, params)
|
2135
|
+
req.send_request(options)
|
2136
|
+
end
|
2137
|
+
|
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.
|
2141
|
+
#
|
2142
|
+
# @option params [required, String] :resource_identifier
|
2143
|
+
# The identifier of the resource. For a Wireless Device, it is the
|
2144
|
+
# wireless device ID. For a wireless gateway, it is the wireless gateway
|
2145
|
+
# ID.
|
2146
|
+
#
|
2147
|
+
# @option params [required, String] :resource_type
|
2148
|
+
# The type of the resource, which can be `WirelessDevice` or
|
2149
|
+
# `WirelessGateway`.
|
2150
|
+
#
|
2151
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2152
|
+
#
|
2153
|
+
# @example Request syntax with placeholder values
|
2154
|
+
#
|
2155
|
+
# resp = client.reset_resource_log_level({
|
2156
|
+
# resource_identifier: "ResourceIdentifier", # required
|
2157
|
+
# resource_type: "ResourceType", # required
|
2158
|
+
# })
|
2159
|
+
#
|
2160
|
+
# @overload reset_resource_log_level(params = {})
|
2161
|
+
# @param [Hash] params ({})
|
2162
|
+
def reset_resource_log_level(params = {}, options = {})
|
2163
|
+
req = build_request(:reset_resource_log_level, params)
|
2164
|
+
req.send_request(options)
|
2165
|
+
end
|
2166
|
+
|
2024
2167
|
# Sends a decrypted application data frame to a device.
|
2025
2168
|
#
|
2026
2169
|
# @option params [required, String] :id
|
@@ -2031,7 +2174,7 @@ module Aws::IoTWireless
|
|
2031
2174
|
# `0` for UM (unacknowledge mode) or `1` for AM (acknowledge mode).
|
2032
2175
|
#
|
2033
2176
|
# @option params [required, String] :payload_data
|
2034
|
-
# The
|
2177
|
+
# The binary to be sent to the end device, encoded in base64.
|
2035
2178
|
#
|
2036
2179
|
# @option params [Types::WirelessMetadata] :wireless_metadata
|
2037
2180
|
# Metadata about the message request.
|
@@ -2185,6 +2328,59 @@ module Aws::IoTWireless
|
|
2185
2328
|
req.send_request(options)
|
2186
2329
|
end
|
2187
2330
|
|
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.
|
2335
|
+
#
|
2336
|
+
# @option params [String] :default_log_level
|
2337
|
+
# The log level for a log message.
|
2338
|
+
#
|
2339
|
+
# @option params [Array<Types::WirelessDeviceLogOption>] :wireless_device_log_options
|
2340
|
+
# The list of wireless device log options.
|
2341
|
+
#
|
2342
|
+
# @option params [Array<Types::WirelessGatewayLogOption>] :wireless_gateway_log_options
|
2343
|
+
# The list of wireless gateway log options.
|
2344
|
+
#
|
2345
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2346
|
+
#
|
2347
|
+
# @example Request syntax with placeholder values
|
2348
|
+
#
|
2349
|
+
# resp = client.update_log_levels_by_resource_types({
|
2350
|
+
# default_log_level: "INFO", # accepts INFO, ERROR, DISABLED
|
2351
|
+
# wireless_device_log_options: [
|
2352
|
+
# {
|
2353
|
+
# type: "Sidewalk", # required, accepts Sidewalk, LoRaWAN
|
2354
|
+
# log_level: "INFO", # required, accepts INFO, ERROR, DISABLED
|
2355
|
+
# events: [
|
2356
|
+
# {
|
2357
|
+
# event: "Join", # required, accepts Join, Rejoin, Uplink_Data, Downlink_Data, Registration
|
2358
|
+
# log_level: "INFO", # required, accepts INFO, ERROR, DISABLED
|
2359
|
+
# },
|
2360
|
+
# ],
|
2361
|
+
# },
|
2362
|
+
# ],
|
2363
|
+
# wireless_gateway_log_options: [
|
2364
|
+
# {
|
2365
|
+
# type: "LoRaWAN", # required, accepts LoRaWAN
|
2366
|
+
# log_level: "INFO", # required, accepts INFO, ERROR, DISABLED
|
2367
|
+
# events: [
|
2368
|
+
# {
|
2369
|
+
# event: "CUPS_Request", # required, accepts CUPS_Request, Certificate
|
2370
|
+
# log_level: "INFO", # required, accepts INFO, ERROR, DISABLED
|
2371
|
+
# },
|
2372
|
+
# ],
|
2373
|
+
# },
|
2374
|
+
# ],
|
2375
|
+
# })
|
2376
|
+
#
|
2377
|
+
# @overload update_log_levels_by_resource_types(params = {})
|
2378
|
+
# @param [Hash] params ({})
|
2379
|
+
def update_log_levels_by_resource_types(params = {}, options = {})
|
2380
|
+
req = build_request(:update_log_levels_by_resource_types, params)
|
2381
|
+
req.send_request(options)
|
2382
|
+
end
|
2383
|
+
|
2188
2384
|
# Updates properties of a partner account.
|
2189
2385
|
#
|
2190
2386
|
# @option params [required, Types::SidewalkUpdateAccount] :sidewalk
|
@@ -2306,7 +2502,7 @@ module Aws::IoTWireless
|
|
2306
2502
|
params: params,
|
2307
2503
|
config: config)
|
2308
2504
|
context[:gem_name] = 'aws-sdk-iotwireless'
|
2309
|
-
context[:gem_version] = '1.
|
2505
|
+
context[:gem_version] = '1.13.0'
|
2310
2506
|
Seahorse::Client::Request.new(handlers, context)
|
2311
2507
|
end
|
2312
2508
|
|
@@ -114,8 +114,12 @@ module Aws::IoTWireless
|
|
114
114
|
GetDestinationResponse = Shapes::StructureShape.new(name: 'GetDestinationResponse')
|
115
115
|
GetDeviceProfileRequest = Shapes::StructureShape.new(name: 'GetDeviceProfileRequest')
|
116
116
|
GetDeviceProfileResponse = Shapes::StructureShape.new(name: 'GetDeviceProfileResponse')
|
117
|
+
GetLogLevelsByResourceTypesRequest = Shapes::StructureShape.new(name: 'GetLogLevelsByResourceTypesRequest')
|
118
|
+
GetLogLevelsByResourceTypesResponse = Shapes::StructureShape.new(name: 'GetLogLevelsByResourceTypesResponse')
|
117
119
|
GetPartnerAccountRequest = Shapes::StructureShape.new(name: 'GetPartnerAccountRequest')
|
118
120
|
GetPartnerAccountResponse = Shapes::StructureShape.new(name: 'GetPartnerAccountResponse')
|
121
|
+
GetResourceLogLevelRequest = Shapes::StructureShape.new(name: 'GetResourceLogLevelRequest')
|
122
|
+
GetResourceLogLevelResponse = Shapes::StructureShape.new(name: 'GetResourceLogLevelResponse')
|
119
123
|
GetServiceEndpointRequest = Shapes::StructureShape.new(name: 'GetServiceEndpointRequest')
|
120
124
|
GetServiceEndpointResponse = Shapes::StructureShape.new(name: 'GetServiceEndpointResponse')
|
121
125
|
GetServiceProfileRequest = Shapes::StructureShape.new(name: 'GetServiceProfileRequest')
|
@@ -176,6 +180,7 @@ module Aws::IoTWireless
|
|
176
180
|
LoRaWANUpdateDevice = Shapes::StructureShape.new(name: 'LoRaWANUpdateDevice')
|
177
181
|
LoRaWANUpdateGatewayTaskCreate = Shapes::StructureShape.new(name: 'LoRaWANUpdateGatewayTaskCreate')
|
178
182
|
LoRaWANUpdateGatewayTaskEntry = Shapes::StructureShape.new(name: 'LoRaWANUpdateGatewayTaskEntry')
|
183
|
+
LogLevel = Shapes::StringShape.new(name: 'LogLevel')
|
179
184
|
MacVersion = Shapes::StringShape.new(name: 'MacVersion')
|
180
185
|
MaxDutyCycle = Shapes::IntegerShape.new(name: 'MaxDutyCycle')
|
181
186
|
MaxEirp = Shapes::IntegerShape.new(name: 'MaxEirp')
|
@@ -204,11 +209,18 @@ module Aws::IoTWireless
|
|
204
209
|
PingSlotPeriod = Shapes::IntegerShape.new(name: 'PingSlotPeriod')
|
205
210
|
PrAllowed = Shapes::BooleanShape.new(name: 'PrAllowed')
|
206
211
|
PresetFreq = Shapes::IntegerShape.new(name: 'PresetFreq')
|
212
|
+
PutResourceLogLevelRequest = Shapes::StructureShape.new(name: 'PutResourceLogLevelRequest')
|
213
|
+
PutResourceLogLevelResponse = Shapes::StructureShape.new(name: 'PutResourceLogLevelResponse')
|
207
214
|
RaAllowed = Shapes::BooleanShape.new(name: 'RaAllowed')
|
208
215
|
RegParamsRevision = Shapes::StringShape.new(name: 'RegParamsRevision')
|
209
216
|
ReportDevStatusBattery = Shapes::BooleanShape.new(name: 'ReportDevStatusBattery')
|
210
217
|
ReportDevStatusMargin = Shapes::BooleanShape.new(name: 'ReportDevStatusMargin')
|
218
|
+
ResetAllResourceLogLevelsRequest = Shapes::StructureShape.new(name: 'ResetAllResourceLogLevelsRequest')
|
219
|
+
ResetAllResourceLogLevelsResponse = Shapes::StructureShape.new(name: 'ResetAllResourceLogLevelsResponse')
|
220
|
+
ResetResourceLogLevelRequest = Shapes::StructureShape.new(name: 'ResetResourceLogLevelRequest')
|
221
|
+
ResetResourceLogLevelResponse = Shapes::StructureShape.new(name: 'ResetResourceLogLevelResponse')
|
211
222
|
ResourceId = Shapes::StringShape.new(name: 'ResourceId')
|
223
|
+
ResourceIdentifier = Shapes::StringShape.new(name: 'ResourceIdentifier')
|
212
224
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
213
225
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
214
226
|
Result = Shapes::StringShape.new(name: 'Result')
|
@@ -270,6 +282,8 @@ module Aws::IoTWireless
|
|
270
282
|
UpdateDataSource = Shapes::StringShape.new(name: 'UpdateDataSource')
|
271
283
|
UpdateDestinationRequest = Shapes::StructureShape.new(name: 'UpdateDestinationRequest')
|
272
284
|
UpdateDestinationResponse = Shapes::StructureShape.new(name: 'UpdateDestinationResponse')
|
285
|
+
UpdateLogLevelsByResourceTypesRequest = Shapes::StructureShape.new(name: 'UpdateLogLevelsByResourceTypesRequest')
|
286
|
+
UpdateLogLevelsByResourceTypesResponse = Shapes::StructureShape.new(name: 'UpdateLogLevelsByResourceTypesResponse')
|
273
287
|
UpdatePartnerAccountRequest = Shapes::StructureShape.new(name: 'UpdatePartnerAccountRequest')
|
274
288
|
UpdatePartnerAccountResponse = Shapes::StructureShape.new(name: 'UpdatePartnerAccountResponse')
|
275
289
|
UpdateSignature = Shapes::StringShape.new(name: 'UpdateSignature')
|
@@ -281,15 +295,25 @@ module Aws::IoTWireless
|
|
281
295
|
UpdateWirelessGatewayTaskEntry = Shapes::StructureShape.new(name: 'UpdateWirelessGatewayTaskEntry')
|
282
296
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
283
297
|
WirelessDeviceArn = Shapes::StringShape.new(name: 'WirelessDeviceArn')
|
298
|
+
WirelessDeviceEvent = Shapes::StringShape.new(name: 'WirelessDeviceEvent')
|
299
|
+
WirelessDeviceEventLogOption = Shapes::StructureShape.new(name: 'WirelessDeviceEventLogOption')
|
300
|
+
WirelessDeviceEventLogOptionList = Shapes::ListShape.new(name: 'WirelessDeviceEventLogOptionList')
|
284
301
|
WirelessDeviceId = Shapes::StringShape.new(name: 'WirelessDeviceId')
|
285
302
|
WirelessDeviceIdType = Shapes::StringShape.new(name: 'WirelessDeviceIdType')
|
303
|
+
WirelessDeviceLogOption = Shapes::StructureShape.new(name: 'WirelessDeviceLogOption')
|
304
|
+
WirelessDeviceLogOptionList = Shapes::ListShape.new(name: 'WirelessDeviceLogOptionList')
|
286
305
|
WirelessDeviceName = Shapes::StringShape.new(name: 'WirelessDeviceName')
|
287
306
|
WirelessDeviceStatistics = Shapes::StructureShape.new(name: 'WirelessDeviceStatistics')
|
288
307
|
WirelessDeviceStatisticsList = Shapes::ListShape.new(name: 'WirelessDeviceStatisticsList')
|
289
308
|
WirelessDeviceType = Shapes::StringShape.new(name: 'WirelessDeviceType')
|
290
309
|
WirelessGatewayArn = Shapes::StringShape.new(name: 'WirelessGatewayArn')
|
310
|
+
WirelessGatewayEvent = Shapes::StringShape.new(name: 'WirelessGatewayEvent')
|
311
|
+
WirelessGatewayEventLogOption = Shapes::StructureShape.new(name: 'WirelessGatewayEventLogOption')
|
312
|
+
WirelessGatewayEventLogOptionList = Shapes::ListShape.new(name: 'WirelessGatewayEventLogOptionList')
|
291
313
|
WirelessGatewayId = Shapes::StringShape.new(name: 'WirelessGatewayId')
|
292
314
|
WirelessGatewayIdType = Shapes::StringShape.new(name: 'WirelessGatewayIdType')
|
315
|
+
WirelessGatewayLogOption = Shapes::StructureShape.new(name: 'WirelessGatewayLogOption')
|
316
|
+
WirelessGatewayLogOptionList = Shapes::ListShape.new(name: 'WirelessGatewayLogOptionList')
|
293
317
|
WirelessGatewayName = Shapes::StringShape.new(name: 'WirelessGatewayName')
|
294
318
|
WirelessGatewayServiceType = Shapes::StringShape.new(name: 'WirelessGatewayServiceType')
|
295
319
|
WirelessGatewayStatistics = Shapes::StructureShape.new(name: 'WirelessGatewayStatistics')
|
@@ -300,6 +324,7 @@ module Aws::IoTWireless
|
|
300
324
|
WirelessGatewayTaskDefinitionType = Shapes::StringShape.new(name: 'WirelessGatewayTaskDefinitionType')
|
301
325
|
WirelessGatewayTaskName = Shapes::StringShape.new(name: 'WirelessGatewayTaskName')
|
302
326
|
WirelessGatewayTaskStatus = Shapes::StringShape.new(name: 'WirelessGatewayTaskStatus')
|
327
|
+
WirelessGatewayType = Shapes::StringShape.new(name: 'WirelessGatewayType')
|
303
328
|
WirelessMetadata = Shapes::StructureShape.new(name: 'WirelessMetadata')
|
304
329
|
|
305
330
|
AbpV1_0_x.add_member(:dev_addr, Shapes::ShapeRef.new(shape: DevAddr, location_name: "DevAddr"))
|
@@ -523,6 +548,13 @@ module Aws::IoTWireless
|
|
523
548
|
GetDeviceProfileResponse.add_member(:lo_ra_wan, Shapes::ShapeRef.new(shape: LoRaWANDeviceProfile, location_name: "LoRaWAN"))
|
524
549
|
GetDeviceProfileResponse.struct_class = Types::GetDeviceProfileResponse
|
525
550
|
|
551
|
+
GetLogLevelsByResourceTypesRequest.struct_class = Types::GetLogLevelsByResourceTypesRequest
|
552
|
+
|
553
|
+
GetLogLevelsByResourceTypesResponse.add_member(:default_log_level, Shapes::ShapeRef.new(shape: LogLevel, location_name: "DefaultLogLevel"))
|
554
|
+
GetLogLevelsByResourceTypesResponse.add_member(:wireless_gateway_log_options, Shapes::ShapeRef.new(shape: WirelessGatewayLogOptionList, location_name: "WirelessGatewayLogOptions"))
|
555
|
+
GetLogLevelsByResourceTypesResponse.add_member(:wireless_device_log_options, Shapes::ShapeRef.new(shape: WirelessDeviceLogOptionList, location_name: "WirelessDeviceLogOptions"))
|
556
|
+
GetLogLevelsByResourceTypesResponse.struct_class = Types::GetLogLevelsByResourceTypesResponse
|
557
|
+
|
526
558
|
GetPartnerAccountRequest.add_member(:partner_account_id, Shapes::ShapeRef.new(shape: PartnerAccountId, required: true, location: "uri", location_name: "PartnerAccountId"))
|
527
559
|
GetPartnerAccountRequest.add_member(:partner_type, Shapes::ShapeRef.new(shape: PartnerType, required: true, location: "querystring", location_name: "partnerType"))
|
528
560
|
GetPartnerAccountRequest.struct_class = Types::GetPartnerAccountRequest
|
@@ -531,6 +563,13 @@ module Aws::IoTWireless
|
|
531
563
|
GetPartnerAccountResponse.add_member(:account_linked, Shapes::ShapeRef.new(shape: AccountLinked, location_name: "AccountLinked"))
|
532
564
|
GetPartnerAccountResponse.struct_class = Types::GetPartnerAccountResponse
|
533
565
|
|
566
|
+
GetResourceLogLevelRequest.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location: "uri", location_name: "ResourceIdentifier"))
|
567
|
+
GetResourceLogLevelRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location: "querystring", location_name: "resourceType"))
|
568
|
+
GetResourceLogLevelRequest.struct_class = Types::GetResourceLogLevelRequest
|
569
|
+
|
570
|
+
GetResourceLogLevelResponse.add_member(:log_level, Shapes::ShapeRef.new(shape: LogLevel, location_name: "LogLevel"))
|
571
|
+
GetResourceLogLevelResponse.struct_class = Types::GetResourceLogLevelResponse
|
572
|
+
|
534
573
|
GetServiceEndpointRequest.add_member(:service_type, Shapes::ShapeRef.new(shape: WirelessGatewayServiceType, location: "querystring", location_name: "serviceType"))
|
535
574
|
GetServiceEndpointRequest.struct_class = Types::GetServiceEndpointRequest
|
536
575
|
|
@@ -815,6 +854,23 @@ module Aws::IoTWireless
|
|
815
854
|
OtaaV1_1.add_member(:join_eui, Shapes::ShapeRef.new(shape: JoinEui, location_name: "JoinEui"))
|
816
855
|
OtaaV1_1.struct_class = Types::OtaaV1_1
|
817
856
|
|
857
|
+
PutResourceLogLevelRequest.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location: "uri", location_name: "ResourceIdentifier"))
|
858
|
+
PutResourceLogLevelRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location: "querystring", location_name: "resourceType"))
|
859
|
+
PutResourceLogLevelRequest.add_member(:log_level, Shapes::ShapeRef.new(shape: LogLevel, required: true, location_name: "LogLevel"))
|
860
|
+
PutResourceLogLevelRequest.struct_class = Types::PutResourceLogLevelRequest
|
861
|
+
|
862
|
+
PutResourceLogLevelResponse.struct_class = Types::PutResourceLogLevelResponse
|
863
|
+
|
864
|
+
ResetAllResourceLogLevelsRequest.struct_class = Types::ResetAllResourceLogLevelsRequest
|
865
|
+
|
866
|
+
ResetAllResourceLogLevelsResponse.struct_class = Types::ResetAllResourceLogLevelsResponse
|
867
|
+
|
868
|
+
ResetResourceLogLevelRequest.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location: "uri", location_name: "ResourceIdentifier"))
|
869
|
+
ResetResourceLogLevelRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location: "querystring", location_name: "resourceType"))
|
870
|
+
ResetResourceLogLevelRequest.struct_class = Types::ResetResourceLogLevelRequest
|
871
|
+
|
872
|
+
ResetResourceLogLevelResponse.struct_class = Types::ResetResourceLogLevelResponse
|
873
|
+
|
818
874
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
|
819
875
|
ResourceNotFoundException.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "ResourceId"))
|
820
876
|
ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
@@ -857,6 +913,7 @@ module Aws::IoTWireless
|
|
857
913
|
|
858
914
|
SidewalkAccountList.member = Shapes::ShapeRef.new(shape: SidewalkAccountInfoWithFingerprint)
|
859
915
|
|
916
|
+
SidewalkDevice.add_member(:amazon_id, Shapes::ShapeRef.new(shape: AmazonId, location_name: "AmazonId"))
|
860
917
|
SidewalkDevice.add_member(:sidewalk_id, Shapes::ShapeRef.new(shape: SidewalkId, location_name: "SidewalkId"))
|
861
918
|
SidewalkDevice.add_member(:sidewalk_manufacturing_sn, Shapes::ShapeRef.new(shape: SidewalkManufacturingSn, location_name: "SidewalkManufacturingSn"))
|
862
919
|
SidewalkDevice.add_member(:device_certificates, Shapes::ShapeRef.new(shape: DeviceCertificateList, location_name: "DeviceCertificates"))
|
@@ -925,6 +982,13 @@ module Aws::IoTWireless
|
|
925
982
|
|
926
983
|
UpdateDestinationResponse.struct_class = Types::UpdateDestinationResponse
|
927
984
|
|
985
|
+
UpdateLogLevelsByResourceTypesRequest.add_member(:default_log_level, Shapes::ShapeRef.new(shape: LogLevel, location_name: "DefaultLogLevel"))
|
986
|
+
UpdateLogLevelsByResourceTypesRequest.add_member(:wireless_device_log_options, Shapes::ShapeRef.new(shape: WirelessDeviceLogOptionList, location_name: "WirelessDeviceLogOptions"))
|
987
|
+
UpdateLogLevelsByResourceTypesRequest.add_member(:wireless_gateway_log_options, Shapes::ShapeRef.new(shape: WirelessGatewayLogOptionList, location_name: "WirelessGatewayLogOptions"))
|
988
|
+
UpdateLogLevelsByResourceTypesRequest.struct_class = Types::UpdateLogLevelsByResourceTypesRequest
|
989
|
+
|
990
|
+
UpdateLogLevelsByResourceTypesResponse.struct_class = Types::UpdateLogLevelsByResourceTypesResponse
|
991
|
+
|
928
992
|
UpdatePartnerAccountRequest.add_member(:sidewalk, Shapes::ShapeRef.new(shape: SidewalkUpdateAccount, required: true, location_name: "Sidewalk"))
|
929
993
|
UpdatePartnerAccountRequest.add_member(:partner_account_id, Shapes::ShapeRef.new(shape: PartnerAccountId, required: true, location: "uri", location_name: "PartnerAccountId"))
|
930
994
|
UpdatePartnerAccountRequest.add_member(:partner_type, Shapes::ShapeRef.new(shape: PartnerType, required: true, location: "querystring", location_name: "partnerType"))
|
@@ -963,6 +1027,19 @@ module Aws::IoTWireless
|
|
963
1027
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
|
964
1028
|
ValidationException.struct_class = Types::ValidationException
|
965
1029
|
|
1030
|
+
WirelessDeviceEventLogOption.add_member(:event, Shapes::ShapeRef.new(shape: WirelessDeviceEvent, required: true, location_name: "Event"))
|
1031
|
+
WirelessDeviceEventLogOption.add_member(:log_level, Shapes::ShapeRef.new(shape: LogLevel, required: true, location_name: "LogLevel"))
|
1032
|
+
WirelessDeviceEventLogOption.struct_class = Types::WirelessDeviceEventLogOption
|
1033
|
+
|
1034
|
+
WirelessDeviceEventLogOptionList.member = Shapes::ShapeRef.new(shape: WirelessDeviceEventLogOption)
|
1035
|
+
|
1036
|
+
WirelessDeviceLogOption.add_member(:type, Shapes::ShapeRef.new(shape: WirelessDeviceType, required: true, location_name: "Type"))
|
1037
|
+
WirelessDeviceLogOption.add_member(:log_level, Shapes::ShapeRef.new(shape: LogLevel, required: true, location_name: "LogLevel"))
|
1038
|
+
WirelessDeviceLogOption.add_member(:events, Shapes::ShapeRef.new(shape: WirelessDeviceEventLogOptionList, location_name: "Events"))
|
1039
|
+
WirelessDeviceLogOption.struct_class = Types::WirelessDeviceLogOption
|
1040
|
+
|
1041
|
+
WirelessDeviceLogOptionList.member = Shapes::ShapeRef.new(shape: WirelessDeviceLogOption)
|
1042
|
+
|
966
1043
|
WirelessDeviceStatistics.add_member(:arn, Shapes::ShapeRef.new(shape: WirelessDeviceArn, location_name: "Arn"))
|
967
1044
|
WirelessDeviceStatistics.add_member(:id, Shapes::ShapeRef.new(shape: WirelessDeviceId, location_name: "Id"))
|
968
1045
|
WirelessDeviceStatistics.add_member(:type, Shapes::ShapeRef.new(shape: WirelessDeviceType, location_name: "Type"))
|
@@ -975,6 +1052,19 @@ module Aws::IoTWireless
|
|
975
1052
|
|
976
1053
|
WirelessDeviceStatisticsList.member = Shapes::ShapeRef.new(shape: WirelessDeviceStatistics)
|
977
1054
|
|
1055
|
+
WirelessGatewayEventLogOption.add_member(:event, Shapes::ShapeRef.new(shape: WirelessGatewayEvent, required: true, location_name: "Event"))
|
1056
|
+
WirelessGatewayEventLogOption.add_member(:log_level, Shapes::ShapeRef.new(shape: LogLevel, required: true, location_name: "LogLevel"))
|
1057
|
+
WirelessGatewayEventLogOption.struct_class = Types::WirelessGatewayEventLogOption
|
1058
|
+
|
1059
|
+
WirelessGatewayEventLogOptionList.member = Shapes::ShapeRef.new(shape: WirelessGatewayEventLogOption)
|
1060
|
+
|
1061
|
+
WirelessGatewayLogOption.add_member(:type, Shapes::ShapeRef.new(shape: WirelessGatewayType, required: true, location_name: "Type"))
|
1062
|
+
WirelessGatewayLogOption.add_member(:log_level, Shapes::ShapeRef.new(shape: LogLevel, required: true, location_name: "LogLevel"))
|
1063
|
+
WirelessGatewayLogOption.add_member(:events, Shapes::ShapeRef.new(shape: WirelessGatewayEventLogOptionList, location_name: "Events"))
|
1064
|
+
WirelessGatewayLogOption.struct_class = Types::WirelessGatewayLogOption
|
1065
|
+
|
1066
|
+
WirelessGatewayLogOptionList.member = Shapes::ShapeRef.new(shape: WirelessGatewayLogOption)
|
1067
|
+
|
978
1068
|
WirelessGatewayStatistics.add_member(:arn, Shapes::ShapeRef.new(shape: WirelessGatewayArn, location_name: "Arn"))
|
979
1069
|
WirelessGatewayStatistics.add_member(:id, Shapes::ShapeRef.new(shape: WirelessGatewayId, location_name: "Id"))
|
980
1070
|
WirelessGatewayStatistics.add_member(:name, Shapes::ShapeRef.new(shape: WirelessGatewayName, location_name: "Name"))
|
@@ -1332,6 +1422,19 @@ module Aws::IoTWireless
|
|
1332
1422
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1333
1423
|
end)
|
1334
1424
|
|
1425
|
+
api.add_operation(:get_log_levels_by_resource_types, Seahorse::Model::Operation.new.tap do |o|
|
1426
|
+
o.name = "GetLogLevelsByResourceTypes"
|
1427
|
+
o.http_method = "GET"
|
1428
|
+
o.http_request_uri = "/log-levels"
|
1429
|
+
o.input = Shapes::ShapeRef.new(shape: GetLogLevelsByResourceTypesRequest)
|
1430
|
+
o.output = Shapes::ShapeRef.new(shape: GetLogLevelsByResourceTypesResponse)
|
1431
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1432
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1433
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1434
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1435
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1436
|
+
end)
|
1437
|
+
|
1335
1438
|
api.add_operation(:get_partner_account, Seahorse::Model::Operation.new.tap do |o|
|
1336
1439
|
o.name = "GetPartnerAccount"
|
1337
1440
|
o.http_method = "GET"
|
@@ -1344,6 +1447,19 @@ module Aws::IoTWireless
|
|
1344
1447
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1345
1448
|
end)
|
1346
1449
|
|
1450
|
+
api.add_operation(:get_resource_log_level, Seahorse::Model::Operation.new.tap do |o|
|
1451
|
+
o.name = "GetResourceLogLevel"
|
1452
|
+
o.http_method = "GET"
|
1453
|
+
o.http_request_uri = "/log-levels/{ResourceIdentifier}"
|
1454
|
+
o.input = Shapes::ShapeRef.new(shape: GetResourceLogLevelRequest)
|
1455
|
+
o.output = Shapes::ShapeRef.new(shape: GetResourceLogLevelResponse)
|
1456
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1457
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1458
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1459
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1460
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1461
|
+
end)
|
1462
|
+
|
1347
1463
|
api.add_operation(:get_service_endpoint, Seahorse::Model::Operation.new.tap do |o|
|
1348
1464
|
o.name = "GetServiceEndpoint"
|
1349
1465
|
o.http_method = "GET"
|
@@ -1600,6 +1716,45 @@ module Aws::IoTWireless
|
|
1600
1716
|
)
|
1601
1717
|
end)
|
1602
1718
|
|
1719
|
+
api.add_operation(:put_resource_log_level, Seahorse::Model::Operation.new.tap do |o|
|
1720
|
+
o.name = "PutResourceLogLevel"
|
1721
|
+
o.http_method = "PUT"
|
1722
|
+
o.http_request_uri = "/log-levels/{ResourceIdentifier}"
|
1723
|
+
o.input = Shapes::ShapeRef.new(shape: PutResourceLogLevelRequest)
|
1724
|
+
o.output = Shapes::ShapeRef.new(shape: PutResourceLogLevelResponse)
|
1725
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1726
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1727
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1728
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1729
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1730
|
+
end)
|
1731
|
+
|
1732
|
+
api.add_operation(:reset_all_resource_log_levels, Seahorse::Model::Operation.new.tap do |o|
|
1733
|
+
o.name = "ResetAllResourceLogLevels"
|
1734
|
+
o.http_method = "DELETE"
|
1735
|
+
o.http_request_uri = "/log-levels"
|
1736
|
+
o.input = Shapes::ShapeRef.new(shape: ResetAllResourceLogLevelsRequest)
|
1737
|
+
o.output = Shapes::ShapeRef.new(shape: ResetAllResourceLogLevelsResponse)
|
1738
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1739
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1740
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1741
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1742
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1743
|
+
end)
|
1744
|
+
|
1745
|
+
api.add_operation(:reset_resource_log_level, Seahorse::Model::Operation.new.tap do |o|
|
1746
|
+
o.name = "ResetResourceLogLevel"
|
1747
|
+
o.http_method = "DELETE"
|
1748
|
+
o.http_request_uri = "/log-levels/{ResourceIdentifier}"
|
1749
|
+
o.input = Shapes::ShapeRef.new(shape: ResetResourceLogLevelRequest)
|
1750
|
+
o.output = Shapes::ShapeRef.new(shape: ResetResourceLogLevelResponse)
|
1751
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1752
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1753
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1754
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1755
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1756
|
+
end)
|
1757
|
+
|
1603
1758
|
api.add_operation(:send_data_to_wireless_device, Seahorse::Model::Operation.new.tap do |o|
|
1604
1759
|
o.name = "SendDataToWirelessDevice"
|
1605
1760
|
o.http_method = "POST"
|
@@ -1664,6 +1819,20 @@ module Aws::IoTWireless
|
|
1664
1819
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1665
1820
|
end)
|
1666
1821
|
|
1822
|
+
api.add_operation(:update_log_levels_by_resource_types, Seahorse::Model::Operation.new.tap do |o|
|
1823
|
+
o.name = "UpdateLogLevelsByResourceTypes"
|
1824
|
+
o.http_method = "POST"
|
1825
|
+
o.http_request_uri = "/log-levels"
|
1826
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateLogLevelsByResourceTypesRequest)
|
1827
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateLogLevelsByResourceTypesResponse)
|
1828
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1829
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1830
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1831
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1832
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1833
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1834
|
+
end)
|
1835
|
+
|
1667
1836
|
api.add_operation(:update_partner_account, Seahorse::Model::Operation.new.tap do |o|
|
1668
1837
|
o.name = "UpdatePartnerAccount"
|
1669
1838
|
o.http_method = "PATCH"
|
@@ -1167,6 +1167,30 @@ module Aws::IoTWireless
|
|
1167
1167
|
include Aws::Structure
|
1168
1168
|
end
|
1169
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
|
+
|
1170
1194
|
# @note When making an API call, you may pass GetPartnerAccountRequest
|
1171
1195
|
# data as a hash:
|
1172
1196
|
#
|
@@ -1205,6 +1229,42 @@ module Aws::IoTWireless
|
|
1205
1229
|
include Aws::Structure
|
1206
1230
|
end
|
1207
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, which can be `WirelessDevice` or
|
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
|
+
|
1208
1268
|
# @note When making an API call, you may pass GetServiceEndpointRequest
|
1209
1269
|
# data as a hash:
|
1210
1270
|
#
|
@@ -1291,7 +1351,7 @@ module Aws::IoTWireless
|
|
1291
1351
|
#
|
1292
1352
|
# {
|
1293
1353
|
# identifier: "Identifier", # required
|
1294
|
-
# identifier_type: "WirelessDeviceId", # required, accepts WirelessDeviceId, DevEui, ThingName
|
1354
|
+
# identifier_type: "WirelessDeviceId", # required, accepts WirelessDeviceId, DevEui, ThingName, SidewalkManufacturingSn
|
1295
1355
|
# }
|
1296
1356
|
#
|
1297
1357
|
# @!attribute [rw] identifier
|
@@ -2671,6 +2731,74 @@ module Aws::IoTWireless
|
|
2671
2731
|
include Aws::Structure
|
2672
2732
|
end
|
2673
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, which can be `WirelessDevice` or
|
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, which can be `WirelessDevice` or
|
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
|
+
|
2674
2802
|
# Resource does not exist.
|
2675
2803
|
#
|
2676
2804
|
# @!attribute [rw] message
|
@@ -2721,7 +2849,7 @@ module Aws::IoTWireless
|
|
2721
2849
|
# @return [Integer]
|
2722
2850
|
#
|
2723
2851
|
# @!attribute [rw] payload_data
|
2724
|
-
# The
|
2852
|
+
# The binary to be sent to the end device, encoded in base64.
|
2725
2853
|
# @return [String]
|
2726
2854
|
#
|
2727
2855
|
# @!attribute [rw] wireless_metadata
|
@@ -2880,6 +3008,10 @@ module Aws::IoTWireless
|
|
2880
3008
|
|
2881
3009
|
# Sidewalk device object.
|
2882
3010
|
#
|
3011
|
+
# @!attribute [rw] amazon_id
|
3012
|
+
# The Sidewalk Amazon ID.
|
3013
|
+
# @return [String]
|
3014
|
+
#
|
2883
3015
|
# @!attribute [rw] sidewalk_id
|
2884
3016
|
# The sidewalk device identification.
|
2885
3017
|
# @return [String]
|
@@ -2893,6 +3025,7 @@ module Aws::IoTWireless
|
|
2893
3025
|
# @return [Array<Types::CertificateList>]
|
2894
3026
|
#
|
2895
3027
|
class SidewalkDevice < Struct.new(
|
3028
|
+
:amazon_id,
|
2896
3029
|
:sidewalk_id,
|
2897
3030
|
:sidewalk_manufacturing_sn,
|
2898
3031
|
:device_certificates)
|
@@ -2969,7 +3102,8 @@ module Aws::IoTWireless
|
|
2969
3102
|
# @return [Integer]
|
2970
3103
|
#
|
2971
3104
|
# @!attribute [rw] message_type
|
2972
|
-
# Sidewalk device message type.
|
3105
|
+
# Sidewalk device message type. Default value is
|
3106
|
+
# `CUSTOM_COMMAND_ID_NOTIFY`.
|
2973
3107
|
# @return [String]
|
2974
3108
|
#
|
2975
3109
|
class SidewalkSendDataToDevice < Struct.new(
|
@@ -3177,6 +3311,59 @@ module Aws::IoTWireless
|
|
3177
3311
|
|
3178
3312
|
class UpdateDestinationResponse < Aws::EmptyStructure; end
|
3179
3313
|
|
3314
|
+
# @note When making an API call, you may pass UpdateLogLevelsByResourceTypesRequest
|
3315
|
+
# data as a hash:
|
3316
|
+
#
|
3317
|
+
# {
|
3318
|
+
# default_log_level: "INFO", # accepts INFO, ERROR, DISABLED
|
3319
|
+
# wireless_device_log_options: [
|
3320
|
+
# {
|
3321
|
+
# type: "Sidewalk", # required, accepts Sidewalk, LoRaWAN
|
3322
|
+
# log_level: "INFO", # required, accepts INFO, ERROR, DISABLED
|
3323
|
+
# events: [
|
3324
|
+
# {
|
3325
|
+
# event: "Join", # required, accepts Join, Rejoin, Uplink_Data, Downlink_Data, Registration
|
3326
|
+
# log_level: "INFO", # required, accepts INFO, ERROR, DISABLED
|
3327
|
+
# },
|
3328
|
+
# ],
|
3329
|
+
# },
|
3330
|
+
# ],
|
3331
|
+
# wireless_gateway_log_options: [
|
3332
|
+
# {
|
3333
|
+
# type: "LoRaWAN", # required, accepts LoRaWAN
|
3334
|
+
# log_level: "INFO", # required, accepts INFO, ERROR, DISABLED
|
3335
|
+
# events: [
|
3336
|
+
# {
|
3337
|
+
# event: "CUPS_Request", # required, accepts CUPS_Request, Certificate
|
3338
|
+
# log_level: "INFO", # required, accepts INFO, ERROR, DISABLED
|
3339
|
+
# },
|
3340
|
+
# ],
|
3341
|
+
# },
|
3342
|
+
# ],
|
3343
|
+
# }
|
3344
|
+
#
|
3345
|
+
# @!attribute [rw] default_log_level
|
3346
|
+
# The log level for a log message.
|
3347
|
+
# @return [String]
|
3348
|
+
#
|
3349
|
+
# @!attribute [rw] wireless_device_log_options
|
3350
|
+
# The list of wireless device log options.
|
3351
|
+
# @return [Array<Types::WirelessDeviceLogOption>]
|
3352
|
+
#
|
3353
|
+
# @!attribute [rw] wireless_gateway_log_options
|
3354
|
+
# The list of wireless gateway log options.
|
3355
|
+
# @return [Array<Types::WirelessGatewayLogOption>]
|
3356
|
+
#
|
3357
|
+
class UpdateLogLevelsByResourceTypesRequest < Struct.new(
|
3358
|
+
:default_log_level,
|
3359
|
+
:wireless_device_log_options,
|
3360
|
+
:wireless_gateway_log_options)
|
3361
|
+
SENSITIVE = []
|
3362
|
+
include Aws::Structure
|
3363
|
+
end
|
3364
|
+
|
3365
|
+
class UpdateLogLevelsByResourceTypesResponse < Aws::EmptyStructure; end
|
3366
|
+
|
3180
3367
|
# @note When making an API call, you may pass UpdatePartnerAccountRequest
|
3181
3368
|
# data as a hash:
|
3182
3369
|
#
|
@@ -3379,6 +3566,75 @@ module Aws::IoTWireless
|
|
3379
3566
|
include Aws::Structure
|
3380
3567
|
end
|
3381
3568
|
|
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`.
|
3576
|
+
#
|
3577
|
+
# @note When making an API call, you may pass WirelessDeviceEventLogOption
|
3578
|
+
# data as a hash:
|
3579
|
+
#
|
3580
|
+
# {
|
3581
|
+
# event: "Join", # required, accepts Join, Rejoin, Uplink_Data, Downlink_Data, Registration
|
3582
|
+
# log_level: "INFO", # required, accepts INFO, ERROR, DISABLED
|
3583
|
+
# }
|
3584
|
+
#
|
3585
|
+
# @!attribute [rw] event
|
3586
|
+
# The event for a log message, if the log message is tied to a
|
3587
|
+
# wireless device.
|
3588
|
+
# @return [String]
|
3589
|
+
#
|
3590
|
+
# @!attribute [rw] log_level
|
3591
|
+
# The log level for a log message.
|
3592
|
+
# @return [String]
|
3593
|
+
#
|
3594
|
+
class WirelessDeviceEventLogOption < Struct.new(
|
3595
|
+
:event,
|
3596
|
+
:log_level)
|
3597
|
+
SENSITIVE = []
|
3598
|
+
include Aws::Structure
|
3599
|
+
end
|
3600
|
+
|
3601
|
+
# The log options for wireless devices and can be used to set log levels
|
3602
|
+
# for a specific type of wireless device.
|
3603
|
+
#
|
3604
|
+
# @note When making an API call, you may pass WirelessDeviceLogOption
|
3605
|
+
# data as a hash:
|
3606
|
+
#
|
3607
|
+
# {
|
3608
|
+
# type: "Sidewalk", # required, accepts Sidewalk, LoRaWAN
|
3609
|
+
# log_level: "INFO", # required, accepts INFO, ERROR, DISABLED
|
3610
|
+
# events: [
|
3611
|
+
# {
|
3612
|
+
# event: "Join", # required, accepts Join, Rejoin, Uplink_Data, Downlink_Data, Registration
|
3613
|
+
# log_level: "INFO", # required, accepts INFO, ERROR, DISABLED
|
3614
|
+
# },
|
3615
|
+
# ],
|
3616
|
+
# }
|
3617
|
+
#
|
3618
|
+
# @!attribute [rw] type
|
3619
|
+
# The wireless device type.
|
3620
|
+
# @return [String]
|
3621
|
+
#
|
3622
|
+
# @!attribute [rw] log_level
|
3623
|
+
# The log level for a log message.
|
3624
|
+
# @return [String]
|
3625
|
+
#
|
3626
|
+
# @!attribute [rw] events
|
3627
|
+
# The list of wireless device event log options.
|
3628
|
+
# @return [Array<Types::WirelessDeviceEventLogOption>]
|
3629
|
+
#
|
3630
|
+
class WirelessDeviceLogOption < Struct.new(
|
3631
|
+
:type,
|
3632
|
+
:log_level,
|
3633
|
+
:events)
|
3634
|
+
SENSITIVE = []
|
3635
|
+
include Aws::Structure
|
3636
|
+
end
|
3637
|
+
|
3382
3638
|
# Information about a wireless device's operation.
|
3383
3639
|
#
|
3384
3640
|
# @!attribute [rw] arn
|
@@ -3426,6 +3682,73 @@ module Aws::IoTWireless
|
|
3426
3682
|
include Aws::Structure
|
3427
3683
|
end
|
3428
3684
|
|
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`.
|
3690
|
+
#
|
3691
|
+
# @note When making an API call, you may pass WirelessGatewayEventLogOption
|
3692
|
+
# data as a hash:
|
3693
|
+
#
|
3694
|
+
# {
|
3695
|
+
# event: "CUPS_Request", # required, accepts CUPS_Request, Certificate
|
3696
|
+
# log_level: "INFO", # required, accepts INFO, ERROR, DISABLED
|
3697
|
+
# }
|
3698
|
+
#
|
3699
|
+
# @!attribute [rw] event
|
3700
|
+
# The event for a log message, if the log message is tied to a
|
3701
|
+
# wireless gateway.
|
3702
|
+
# @return [String]
|
3703
|
+
#
|
3704
|
+
# @!attribute [rw] log_level
|
3705
|
+
# The log level for a log message.
|
3706
|
+
# @return [String]
|
3707
|
+
#
|
3708
|
+
class WirelessGatewayEventLogOption < Struct.new(
|
3709
|
+
:event,
|
3710
|
+
:log_level)
|
3711
|
+
SENSITIVE = []
|
3712
|
+
include Aws::Structure
|
3713
|
+
end
|
3714
|
+
|
3715
|
+
# The log options for wireless gateways and can be used to set log
|
3716
|
+
# levels for a specific type of wireless gateway.
|
3717
|
+
#
|
3718
|
+
# @note When making an API call, you may pass WirelessGatewayLogOption
|
3719
|
+
# data as a hash:
|
3720
|
+
#
|
3721
|
+
# {
|
3722
|
+
# type: "LoRaWAN", # required, accepts LoRaWAN
|
3723
|
+
# log_level: "INFO", # required, accepts INFO, ERROR, DISABLED
|
3724
|
+
# events: [
|
3725
|
+
# {
|
3726
|
+
# event: "CUPS_Request", # required, accepts CUPS_Request, Certificate
|
3727
|
+
# log_level: "INFO", # required, accepts INFO, ERROR, DISABLED
|
3728
|
+
# },
|
3729
|
+
# ],
|
3730
|
+
# }
|
3731
|
+
#
|
3732
|
+
# @!attribute [rw] type
|
3733
|
+
# The wireless gateway type.
|
3734
|
+
# @return [String]
|
3735
|
+
#
|
3736
|
+
# @!attribute [rw] log_level
|
3737
|
+
# The log level for a log message.
|
3738
|
+
# @return [String]
|
3739
|
+
#
|
3740
|
+
# @!attribute [rw] events
|
3741
|
+
# The list of wireless gateway event log options.
|
3742
|
+
# @return [Array<Types::WirelessGatewayEventLogOption>]
|
3743
|
+
#
|
3744
|
+
class WirelessGatewayLogOption < Struct.new(
|
3745
|
+
:type,
|
3746
|
+
:log_level,
|
3747
|
+
:events)
|
3748
|
+
SENSITIVE = []
|
3749
|
+
include Aws::Structure
|
3750
|
+
end
|
3751
|
+
|
3429
3752
|
# Information about a wireless gateway's operation.
|
3430
3753
|
#
|
3431
3754
|
# @!attribute [rw] arn
|
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.13.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-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.119.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.119.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|