aws-sdk-iotwireless 1.9.0 → 1.10.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a7257643922c37472c8710619506c5a980819265dd4073e3e74ec7df5545a960
4
- data.tar.gz: eb1955947fbc08de9862cb84eb07fb2040f3548d4a5682cb04b78e2b7eeb8283
3
+ metadata.gz: c2e9ec96252b9b329c01d770228b1ddfc42f6cb4689021905bbe9715f2968ab7
4
+ data.tar.gz: 30c8b0f4a98f2ffb292711f6064bfef73b450a17417fed2cd6a543b04ea5ff40
5
5
  SHA512:
6
- metadata.gz: b93b109d9c788cbc3a136edeb7b7309ff45ada3fcf58abf71e7e5d829fb6ddeff14d0439d31b7862dd1379f036807e419743f7e19c5fcb29dd0efd427d214a15
7
- data.tar.gz: 1b901b8b3ff9865044a7f4a65e6dd75e45f5166f1128ac5788a0287f772f5bf6f91d077bbd15818d6b66d9c93012bcce30cae590c50ea7b45f36920f503ae68a
6
+ metadata.gz: 76d1138eb65645fa98181d02e7a22e0e38a7fd7a6a6068e60ceabb6fb0fef634b3e18422273b2f712672ca798bf1eb1a4d92639e43414647f4386978dfc20106
7
+ data.tar.gz: b42b8b125d0b9d2ef74fbda50d690822796ce5c9cb6ecb0085ee7ab526f6c4668c0f5d06fd27ab3b57adf5c0aee69fa01b8dd54db716289924b5f88ed00be21c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.9.0 (2021-05-10)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.9.0
1
+ 1.10.0
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-iotwireless/customizations'
48
48
  # @!group service
49
49
  module Aws::IoTWireless
50
50
 
51
- GEM_VERSION = '1.9.0'
51
+ GEM_VERSION = '1.10.0'
52
52
 
53
53
  end
@@ -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
+ # 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
+
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,40 @@ 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, 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
+
1267
1334
  # Gets the account-specific endpoint for Configuration and Update Server
1268
1335
  # (CUPS) protocol or LoRaWAN Network Server (LNS) connections.
1269
1336
  #
@@ -2021,6 +2088,78 @@ module Aws::IoTWireless
2021
2088
  req.send_request(options)
2022
2089
  end
2023
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
+
2024
2163
  # Sends a decrypted application data frame to a device.
2025
2164
  #
2026
2165
  # @option params [required, String] :id
@@ -2185,6 +2324,58 @@ module Aws::IoTWireless
2185
2324
  req.send_request(options)
2186
2325
  end
2187
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
+
2188
2379
  # Updates properties of a partner account.
2189
2380
  #
2190
2381
  # @option params [required, Types::SidewalkUpdateAccount] :sidewalk
@@ -2306,7 +2497,7 @@ module Aws::IoTWireless
2306
2497
  params: params,
2307
2498
  config: config)
2308
2499
  context[:gem_name] = 'aws-sdk-iotwireless'
2309
- context[:gem_version] = '1.9.0'
2500
+ context[:gem_version] = '1.10.0'
2310
2501
  Seahorse::Client::Request.new(handlers, context)
2311
2502
  end
2312
2503
 
@@ -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"))
@@ -925,6 +981,13 @@ module Aws::IoTWireless
925
981
 
926
982
  UpdateDestinationResponse.struct_class = Types::UpdateDestinationResponse
927
983
 
984
+ UpdateLogLevelsByResourceTypesRequest.add_member(:default_log_level, Shapes::ShapeRef.new(shape: LogLevel, location_name: "DefaultLogLevel"))
985
+ UpdateLogLevelsByResourceTypesRequest.add_member(:wireless_device_log_options, Shapes::ShapeRef.new(shape: WirelessDeviceLogOptionList, location_name: "WirelessDeviceLogOptions"))
986
+ UpdateLogLevelsByResourceTypesRequest.add_member(:wireless_gateway_log_options, Shapes::ShapeRef.new(shape: WirelessGatewayLogOptionList, location_name: "WirelessGatewayLogOptions"))
987
+ UpdateLogLevelsByResourceTypesRequest.struct_class = Types::UpdateLogLevelsByResourceTypesRequest
988
+
989
+ UpdateLogLevelsByResourceTypesResponse.struct_class = Types::UpdateLogLevelsByResourceTypesResponse
990
+
928
991
  UpdatePartnerAccountRequest.add_member(:sidewalk, Shapes::ShapeRef.new(shape: SidewalkUpdateAccount, required: true, location_name: "Sidewalk"))
929
992
  UpdatePartnerAccountRequest.add_member(:partner_account_id, Shapes::ShapeRef.new(shape: PartnerAccountId, required: true, location: "uri", location_name: "PartnerAccountId"))
930
993
  UpdatePartnerAccountRequest.add_member(:partner_type, Shapes::ShapeRef.new(shape: PartnerType, required: true, location: "querystring", location_name: "partnerType"))
@@ -963,6 +1026,19 @@ module Aws::IoTWireless
963
1026
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
964
1027
  ValidationException.struct_class = Types::ValidationException
965
1028
 
1029
+ WirelessDeviceEventLogOption.add_member(:event, Shapes::ShapeRef.new(shape: WirelessDeviceEvent, required: true, location_name: "Event"))
1030
+ WirelessDeviceEventLogOption.add_member(:log_level, Shapes::ShapeRef.new(shape: LogLevel, required: true, location_name: "LogLevel"))
1031
+ WirelessDeviceEventLogOption.struct_class = Types::WirelessDeviceEventLogOption
1032
+
1033
+ WirelessDeviceEventLogOptionList.member = Shapes::ShapeRef.new(shape: WirelessDeviceEventLogOption)
1034
+
1035
+ WirelessDeviceLogOption.add_member(:type, Shapes::ShapeRef.new(shape: WirelessDeviceType, required: true, location_name: "Type"))
1036
+ WirelessDeviceLogOption.add_member(:log_level, Shapes::ShapeRef.new(shape: LogLevel, required: true, location_name: "LogLevel"))
1037
+ WirelessDeviceLogOption.add_member(:events, Shapes::ShapeRef.new(shape: WirelessDeviceEventLogOptionList, location_name: "Events"))
1038
+ WirelessDeviceLogOption.struct_class = Types::WirelessDeviceLogOption
1039
+
1040
+ WirelessDeviceLogOptionList.member = Shapes::ShapeRef.new(shape: WirelessDeviceLogOption)
1041
+
966
1042
  WirelessDeviceStatistics.add_member(:arn, Shapes::ShapeRef.new(shape: WirelessDeviceArn, location_name: "Arn"))
967
1043
  WirelessDeviceStatistics.add_member(:id, Shapes::ShapeRef.new(shape: WirelessDeviceId, location_name: "Id"))
968
1044
  WirelessDeviceStatistics.add_member(:type, Shapes::ShapeRef.new(shape: WirelessDeviceType, location_name: "Type"))
@@ -975,6 +1051,19 @@ module Aws::IoTWireless
975
1051
 
976
1052
  WirelessDeviceStatisticsList.member = Shapes::ShapeRef.new(shape: WirelessDeviceStatistics)
977
1053
 
1054
+ WirelessGatewayEventLogOption.add_member(:event, Shapes::ShapeRef.new(shape: WirelessGatewayEvent, required: true, location_name: "Event"))
1055
+ WirelessGatewayEventLogOption.add_member(:log_level, Shapes::ShapeRef.new(shape: LogLevel, required: true, location_name: "LogLevel"))
1056
+ WirelessGatewayEventLogOption.struct_class = Types::WirelessGatewayEventLogOption
1057
+
1058
+ WirelessGatewayEventLogOptionList.member = Shapes::ShapeRef.new(shape: WirelessGatewayEventLogOption)
1059
+
1060
+ WirelessGatewayLogOption.add_member(:type, Shapes::ShapeRef.new(shape: WirelessGatewayType, required: true, location_name: "Type"))
1061
+ WirelessGatewayLogOption.add_member(:log_level, Shapes::ShapeRef.new(shape: LogLevel, required: true, location_name: "LogLevel"))
1062
+ WirelessGatewayLogOption.add_member(:events, Shapes::ShapeRef.new(shape: WirelessGatewayEventLogOptionList, location_name: "Events"))
1063
+ WirelessGatewayLogOption.struct_class = Types::WirelessGatewayLogOption
1064
+
1065
+ WirelessGatewayLogOptionList.member = Shapes::ShapeRef.new(shape: WirelessGatewayLogOption)
1066
+
978
1067
  WirelessGatewayStatistics.add_member(:arn, Shapes::ShapeRef.new(shape: WirelessGatewayArn, location_name: "Arn"))
979
1068
  WirelessGatewayStatistics.add_member(:id, Shapes::ShapeRef.new(shape: WirelessGatewayId, location_name: "Id"))
980
1069
  WirelessGatewayStatistics.add_member(:name, Shapes::ShapeRef.new(shape: WirelessGatewayName, location_name: "Name"))
@@ -1332,6 +1421,19 @@ module Aws::IoTWireless
1332
1421
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1333
1422
  end)
1334
1423
 
1424
+ api.add_operation(:get_log_levels_by_resource_types, Seahorse::Model::Operation.new.tap do |o|
1425
+ o.name = "GetLogLevelsByResourceTypes"
1426
+ o.http_method = "GET"
1427
+ o.http_request_uri = "/log-levels"
1428
+ o.input = Shapes::ShapeRef.new(shape: GetLogLevelsByResourceTypesRequest)
1429
+ o.output = Shapes::ShapeRef.new(shape: GetLogLevelsByResourceTypesResponse)
1430
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1431
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1432
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1433
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1434
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1435
+ end)
1436
+
1335
1437
  api.add_operation(:get_partner_account, Seahorse::Model::Operation.new.tap do |o|
1336
1438
  o.name = "GetPartnerAccount"
1337
1439
  o.http_method = "GET"
@@ -1344,6 +1446,19 @@ module Aws::IoTWireless
1344
1446
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1345
1447
  end)
1346
1448
 
1449
+ api.add_operation(:get_resource_log_level, Seahorse::Model::Operation.new.tap do |o|
1450
+ o.name = "GetResourceLogLevel"
1451
+ o.http_method = "GET"
1452
+ o.http_request_uri = "/log-levels/{ResourceIdentifier}"
1453
+ o.input = Shapes::ShapeRef.new(shape: GetResourceLogLevelRequest)
1454
+ o.output = Shapes::ShapeRef.new(shape: GetResourceLogLevelResponse)
1455
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1456
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1457
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1458
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1459
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1460
+ end)
1461
+
1347
1462
  api.add_operation(:get_service_endpoint, Seahorse::Model::Operation.new.tap do |o|
1348
1463
  o.name = "GetServiceEndpoint"
1349
1464
  o.http_method = "GET"
@@ -1600,6 +1715,45 @@ module Aws::IoTWireless
1600
1715
  )
1601
1716
  end)
1602
1717
 
1718
+ api.add_operation(:put_resource_log_level, Seahorse::Model::Operation.new.tap do |o|
1719
+ o.name = "PutResourceLogLevel"
1720
+ o.http_method = "PUT"
1721
+ o.http_request_uri = "/log-levels/{ResourceIdentifier}"
1722
+ o.input = Shapes::ShapeRef.new(shape: PutResourceLogLevelRequest)
1723
+ o.output = Shapes::ShapeRef.new(shape: PutResourceLogLevelResponse)
1724
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1725
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1726
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1727
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1728
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1729
+ end)
1730
+
1731
+ api.add_operation(:reset_all_resource_log_levels, Seahorse::Model::Operation.new.tap do |o|
1732
+ o.name = "ResetAllResourceLogLevels"
1733
+ o.http_method = "DELETE"
1734
+ o.http_request_uri = "/log-levels"
1735
+ o.input = Shapes::ShapeRef.new(shape: ResetAllResourceLogLevelsRequest)
1736
+ o.output = Shapes::ShapeRef.new(shape: ResetAllResourceLogLevelsResponse)
1737
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1738
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1739
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1740
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1741
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1742
+ end)
1743
+
1744
+ api.add_operation(:reset_resource_log_level, Seahorse::Model::Operation.new.tap do |o|
1745
+ o.name = "ResetResourceLogLevel"
1746
+ o.http_method = "DELETE"
1747
+ o.http_request_uri = "/log-levels/{ResourceIdentifier}"
1748
+ o.input = Shapes::ShapeRef.new(shape: ResetResourceLogLevelRequest)
1749
+ o.output = Shapes::ShapeRef.new(shape: ResetResourceLogLevelResponse)
1750
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1751
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1752
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1753
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1754
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1755
+ end)
1756
+
1603
1757
  api.add_operation(:send_data_to_wireless_device, Seahorse::Model::Operation.new.tap do |o|
1604
1758
  o.name = "SendDataToWirelessDevice"
1605
1759
  o.http_method = "POST"
@@ -1664,6 +1818,20 @@ module Aws::IoTWireless
1664
1818
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1665
1819
  end)
1666
1820
 
1821
+ api.add_operation(:update_log_levels_by_resource_types, Seahorse::Model::Operation.new.tap do |o|
1822
+ o.name = "UpdateLogLevelsByResourceTypes"
1823
+ o.http_method = "POST"
1824
+ o.http_request_uri = "/log-levels"
1825
+ o.input = Shapes::ShapeRef.new(shape: UpdateLogLevelsByResourceTypesRequest)
1826
+ o.output = Shapes::ShapeRef.new(shape: UpdateLogLevelsByResourceTypesResponse)
1827
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1828
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1829
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1830
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1831
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1832
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1833
+ end)
1834
+
1667
1835
  api.add_operation(:update_partner_account, Seahorse::Model::Operation.new.tap do |o|
1668
1836
  o.name = "UpdatePartnerAccount"
1669
1837
  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, currently support WirelessDevice and
1248
+ # WirelessGateway.
1249
+ # @return [String]
1250
+ #
1251
+ class GetResourceLogLevelRequest < Struct.new(
1252
+ :resource_identifier,
1253
+ :resource_type)
1254
+ SENSITIVE = []
1255
+ include Aws::Structure
1256
+ end
1257
+
1258
+ # @!attribute [rw] log_level
1259
+ # The log level for a log message.
1260
+ # @return [String]
1261
+ #
1262
+ class GetResourceLogLevelResponse < Struct.new(
1263
+ :log_level)
1264
+ SENSITIVE = []
1265
+ include Aws::Structure
1266
+ end
1267
+
1208
1268
  # @note When making an API call, you may pass GetServiceEndpointRequest
1209
1269
  # data as a hash:
1210
1270
  #
@@ -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, currently support WirelessDevice and
2751
+ # WirelessGateway.
2752
+ # @return [String]
2753
+ #
2754
+ # @!attribute [rw] log_level
2755
+ # The log level for a log message.
2756
+ # @return [String]
2757
+ #
2758
+ class PutResourceLogLevelRequest < Struct.new(
2759
+ :resource_identifier,
2760
+ :resource_type,
2761
+ :log_level)
2762
+ SENSITIVE = []
2763
+ include Aws::Structure
2764
+ end
2765
+
2766
+ class PutResourceLogLevelResponse < Aws::EmptyStructure; end
2767
+
2768
+ # @api private
2769
+ #
2770
+ class ResetAllResourceLogLevelsRequest < Aws::EmptyStructure; end
2771
+
2772
+ class ResetAllResourceLogLevelsResponse < Aws::EmptyStructure; end
2773
+
2774
+ # @note When making an API call, you may pass ResetResourceLogLevelRequest
2775
+ # data as a hash:
2776
+ #
2777
+ # {
2778
+ # resource_identifier: "ResourceIdentifier", # required
2779
+ # resource_type: "ResourceType", # required
2780
+ # }
2781
+ #
2782
+ # @!attribute [rw] resource_identifier
2783
+ # The identifier of the resource. For a Wireless Device, it is the
2784
+ # wireless device id. For a wireless gateway, it is the wireless
2785
+ # gateway id.
2786
+ # @return [String]
2787
+ #
2788
+ # @!attribute [rw] resource_type
2789
+ # The type of the resource, currently support WirelessDevice and
2790
+ # WirelessGateway.
2791
+ # @return [String]
2792
+ #
2793
+ class ResetResourceLogLevelRequest < Struct.new(
2794
+ :resource_identifier,
2795
+ :resource_type)
2796
+ SENSITIVE = []
2797
+ include Aws::Structure
2798
+ end
2799
+
2800
+ class ResetResourceLogLevelResponse < Aws::EmptyStructure; end
2801
+
2674
2802
  # Resource does not exist.
2675
2803
  #
2676
2804
  # @!attribute [rw] message
@@ -3177,6 +3305,59 @@ module Aws::IoTWireless
3177
3305
 
3178
3306
  class UpdateDestinationResponse < Aws::EmptyStructure; end
3179
3307
 
3308
+ # @note When making an API call, you may pass UpdateLogLevelsByResourceTypesRequest
3309
+ # data as a hash:
3310
+ #
3311
+ # {
3312
+ # default_log_level: "INFO", # accepts INFO, ERROR, DISABLED
3313
+ # wireless_device_log_options: [
3314
+ # {
3315
+ # type: "Sidewalk", # required, accepts Sidewalk, LoRaWAN
3316
+ # log_level: "INFO", # required, accepts INFO, ERROR, DISABLED
3317
+ # events: [
3318
+ # {
3319
+ # event: "Join", # required, accepts Join, Rejoin, Uplink_Data, Downlink_Data, Registration
3320
+ # log_level: "INFO", # required, accepts INFO, ERROR, DISABLED
3321
+ # },
3322
+ # ],
3323
+ # },
3324
+ # ],
3325
+ # wireless_gateway_log_options: [
3326
+ # {
3327
+ # type: "LoRaWAN", # required, accepts LoRaWAN
3328
+ # log_level: "INFO", # required, accepts INFO, ERROR, DISABLED
3329
+ # events: [
3330
+ # {
3331
+ # event: "CUPS_Request", # required, accepts CUPS_Request, Certificate
3332
+ # log_level: "INFO", # required, accepts INFO, ERROR, DISABLED
3333
+ # },
3334
+ # ],
3335
+ # },
3336
+ # ],
3337
+ # }
3338
+ #
3339
+ # @!attribute [rw] default_log_level
3340
+ # The log level for a log message.
3341
+ # @return [String]
3342
+ #
3343
+ # @!attribute [rw] wireless_device_log_options
3344
+ # The list of wireless device log options.
3345
+ # @return [Array<Types::WirelessDeviceLogOption>]
3346
+ #
3347
+ # @!attribute [rw] wireless_gateway_log_options
3348
+ # The list of wireless gateway log options.
3349
+ # @return [Array<Types::WirelessGatewayLogOption>]
3350
+ #
3351
+ class UpdateLogLevelsByResourceTypesRequest < Struct.new(
3352
+ :default_log_level,
3353
+ :wireless_device_log_options,
3354
+ :wireless_gateway_log_options)
3355
+ SENSITIVE = []
3356
+ include Aws::Structure
3357
+ end
3358
+
3359
+ class UpdateLogLevelsByResourceTypesResponse < Aws::EmptyStructure; end
3360
+
3180
3361
  # @note When making an API call, you may pass UpdatePartnerAccountRequest
3181
3362
  # data as a hash:
3182
3363
  #
@@ -3379,6 +3560,73 @@ module Aws::IoTWireless
3379
3560
  include Aws::Structure
3380
3561
  end
3381
3562
 
3563
+ # The log option for a wireless device event. Can be used to set log
3564
+ # level for a specific wireless device event. For a LoRaWAN device, the
3565
+ # possible events for a log messsage are: Join, Rejoin, Downlink\_Data,
3566
+ # Uplink\_Data. For a Sidewalk device, the possible events for a log
3567
+ # message are: Registration, Downlink\_Data, Uplink\_Data.
3568
+ #
3569
+ # @note When making an API call, you may pass WirelessDeviceEventLogOption
3570
+ # data as a hash:
3571
+ #
3572
+ # {
3573
+ # event: "Join", # required, accepts Join, Rejoin, Uplink_Data, Downlink_Data, Registration
3574
+ # log_level: "INFO", # required, accepts INFO, ERROR, DISABLED
3575
+ # }
3576
+ #
3577
+ # @!attribute [rw] event
3578
+ # The event for a log message, if the log message is tied to a
3579
+ # wireless device.
3580
+ # @return [String]
3581
+ #
3582
+ # @!attribute [rw] log_level
3583
+ # The log level for a log message.
3584
+ # @return [String]
3585
+ #
3586
+ class WirelessDeviceEventLogOption < Struct.new(
3587
+ :event,
3588
+ :log_level)
3589
+ SENSITIVE = []
3590
+ include Aws::Structure
3591
+ end
3592
+
3593
+ # The log option for wireless devices. Can be used to set log level for
3594
+ # a specific type of wireless device.
3595
+ #
3596
+ # @note When making an API call, you may pass WirelessDeviceLogOption
3597
+ # data as a hash:
3598
+ #
3599
+ # {
3600
+ # type: "Sidewalk", # required, accepts Sidewalk, LoRaWAN
3601
+ # log_level: "INFO", # required, accepts INFO, ERROR, DISABLED
3602
+ # events: [
3603
+ # {
3604
+ # event: "Join", # required, accepts Join, Rejoin, Uplink_Data, Downlink_Data, Registration
3605
+ # log_level: "INFO", # required, accepts INFO, ERROR, DISABLED
3606
+ # },
3607
+ # ],
3608
+ # }
3609
+ #
3610
+ # @!attribute [rw] type
3611
+ # The wireless device type.
3612
+ # @return [String]
3613
+ #
3614
+ # @!attribute [rw] log_level
3615
+ # The log level for a log message.
3616
+ # @return [String]
3617
+ #
3618
+ # @!attribute [rw] events
3619
+ # The list of wireless device event log options.
3620
+ # @return [Array<Types::WirelessDeviceEventLogOption>]
3621
+ #
3622
+ class WirelessDeviceLogOption < Struct.new(
3623
+ :type,
3624
+ :log_level,
3625
+ :events)
3626
+ SENSITIVE = []
3627
+ include Aws::Structure
3628
+ end
3629
+
3382
3630
  # Information about a wireless device's operation.
3383
3631
  #
3384
3632
  # @!attribute [rw] arn
@@ -3426,6 +3674,71 @@ module Aws::IoTWireless
3426
3674
  include Aws::Structure
3427
3675
  end
3428
3676
 
3677
+ # The log option for a wireless gateway event. Can be used to set log
3678
+ # level for a specific wireless gateway event. For a LoRaWAN gateway,
3679
+ # the possible events for a log message are: CUPS\_Request, Certificate.
3680
+ #
3681
+ # @note When making an API call, you may pass WirelessGatewayEventLogOption
3682
+ # data as a hash:
3683
+ #
3684
+ # {
3685
+ # event: "CUPS_Request", # required, accepts CUPS_Request, Certificate
3686
+ # log_level: "INFO", # required, accepts INFO, ERROR, DISABLED
3687
+ # }
3688
+ #
3689
+ # @!attribute [rw] event
3690
+ # The event for a log message, if the log message is tied to a
3691
+ # wireless gateway.
3692
+ # @return [String]
3693
+ #
3694
+ # @!attribute [rw] log_level
3695
+ # The log level for a log message.
3696
+ # @return [String]
3697
+ #
3698
+ class WirelessGatewayEventLogOption < Struct.new(
3699
+ :event,
3700
+ :log_level)
3701
+ SENSITIVE = []
3702
+ include Aws::Structure
3703
+ end
3704
+
3705
+ # The log option for wireless gateways. Can be used to set log level for
3706
+ # a specific type of wireless gateway.
3707
+ #
3708
+ # @note When making an API call, you may pass WirelessGatewayLogOption
3709
+ # data as a hash:
3710
+ #
3711
+ # {
3712
+ # type: "LoRaWAN", # required, accepts LoRaWAN
3713
+ # log_level: "INFO", # required, accepts INFO, ERROR, DISABLED
3714
+ # events: [
3715
+ # {
3716
+ # event: "CUPS_Request", # required, accepts CUPS_Request, Certificate
3717
+ # log_level: "INFO", # required, accepts INFO, ERROR, DISABLED
3718
+ # },
3719
+ # ],
3720
+ # }
3721
+ #
3722
+ # @!attribute [rw] type
3723
+ # The wireless gateway type.
3724
+ # @return [String]
3725
+ #
3726
+ # @!attribute [rw] log_level
3727
+ # The log level for a log message.
3728
+ # @return [String]
3729
+ #
3730
+ # @!attribute [rw] events
3731
+ # The list of wireless gateway event log options.
3732
+ # @return [Array<Types::WirelessGatewayEventLogOption>]
3733
+ #
3734
+ class WirelessGatewayLogOption < Struct.new(
3735
+ :type,
3736
+ :log_level,
3737
+ :events)
3738
+ SENSITIVE = []
3739
+ include Aws::Structure
3740
+ end
3741
+
3429
3742
  # Information about a wireless gateway's operation.
3430
3743
  #
3431
3744
  # @!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.9.0
4
+ version: 1.10.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-05-10 00:00:00.000000000 Z
11
+ date: 2021-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core