aws-sdk-iotwireless 1.8.0 → 1.12.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: b63a5670ad67485a4f3fd0711ecea943144bfefb539ee392c3fdfed825d86cd2
4
- data.tar.gz: 1658739d51df31133a4c9c72aba6fbb98337b547ba663be27085ce7307b11107
3
+ metadata.gz: 582d2a980b1639e38c7023fe76a2bdfbe16509a90d4905aaaec27686ce7272e5
4
+ data.tar.gz: 4acdfaf723aadbd97a6111eb9005de2db6d8a436876c77da8d4e58bd4a404b5a
5
5
  SHA512:
6
- metadata.gz: d7a74b6e71f1b6378679fef8ddc38f3f7707f4e02ef64b2897d1feb47850743fc7f2d410b5a36ac8344448c3141b61cc145d04e3a378601f4612863224ba1f5f
7
- data.tar.gz: c7c73b08aa306aa9caacf3032ceef7bb1529ac17701cc0a1da102153afe8c78d9607d28d503dad470c62235814de2f1a18e54b4ab79bf2677797c79fcf993a6d
6
+ metadata.gz: '08f8b3a30135ab5265f1ade31a91cbca7ac9b124ec3af32413cf6b5733efd802d3562e478a911f3c0b8b4f5b69786dab34bf84196e6bd1974d8216914a6211e1'
7
+ data.tar.gz: 1fb8f40b555b3216574319684195667f01db37abd8bd01b372f1193e1eb035f9247d18c95aca663c7d4027856a2ec79e32bcc514a9c3fc8884b022b60a2d86ce
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.12.0 (2021-07-28)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.11.0 (2021-07-27)
10
+ ------------------
11
+
12
+ * 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.
13
+
14
+ 1.10.0 (2021-06-01)
15
+ ------------------
16
+
17
+ * 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.
18
+
19
+ 1.9.0 (2021-05-10)
20
+ ------------------
21
+
22
+ * Feature - Add three new optional fields to support filtering and configurable sub-band in WirelessGateway APIs. The filtering is for all the RF region supported. The sub-band configuration is only applicable to LoRa gateways of US915 or AU915 RF region.
23
+
4
24
  1.8.0 (2021-04-26)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.8.0
1
+ 1.12.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.8.0'
51
+ GEM_VERSION = '1.12.0'
52
52
 
53
53
  end
@@ -780,6 +780,11 @@ module Aws::IoTWireless
780
780
  # lo_ra_wan: { # required
781
781
  # gateway_eui: "GatewayEui",
782
782
  # rf_region: "RfRegion",
783
+ # join_eui_filters: [
784
+ # ["JoinEui"],
785
+ # ],
786
+ # net_id_filters: ["NetId"],
787
+ # sub_bands: [1],
783
788
  # },
784
789
  # tags: [
785
790
  # {
@@ -1224,6 +1229,39 @@ module Aws::IoTWireless
1224
1229
  req.send_request(options)
1225
1230
  end
1226
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
+
1227
1265
  # Gets information about a partner account. If `PartnerAccountId` and
1228
1266
  # `PartnerType` are `null`, returns all partner accounts.
1229
1267
  #
@@ -1259,6 +1297,41 @@ module Aws::IoTWireless
1259
1297
  req.send_request(options)
1260
1298
  end
1261
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
+
1262
1335
  # Gets the account-specific endpoint for Configuration and Update Server
1263
1336
  # (CUPS) protocol or LoRaWAN Network Server (LNS) connections.
1264
1337
  #
@@ -1367,7 +1440,7 @@ module Aws::IoTWireless
1367
1440
  #
1368
1441
  # resp = client.get_wireless_device({
1369
1442
  # identifier: "Identifier", # required
1370
- # identifier_type: "WirelessDeviceId", # required, accepts WirelessDeviceId, DevEui, ThingName
1443
+ # identifier_type: "WirelessDeviceId", # required, accepts WirelessDeviceId, DevEui, ThingName, SidewalkManufacturingSn
1371
1444
  # })
1372
1445
  #
1373
1446
  # @example Response structure
@@ -1396,6 +1469,7 @@ module Aws::IoTWireless
1396
1469
  # resp.lo_ra_wan.abp_v1_0_x.dev_addr #=> String
1397
1470
  # resp.lo_ra_wan.abp_v1_0_x.session_keys.nwk_s_key #=> String
1398
1471
  # resp.lo_ra_wan.abp_v1_0_x.session_keys.app_s_key #=> String
1472
+ # resp.sidewalk.amazon_id #=> String
1399
1473
  # resp.sidewalk.sidewalk_id #=> String
1400
1474
  # resp.sidewalk.sidewalk_manufacturing_sn #=> String
1401
1475
  # resp.sidewalk.device_certificates #=> Array
@@ -1484,6 +1558,13 @@ module Aws::IoTWireless
1484
1558
  # resp.description #=> String
1485
1559
  # resp.lo_ra_wan.gateway_eui #=> String
1486
1560
  # resp.lo_ra_wan.rf_region #=> String
1561
+ # resp.lo_ra_wan.join_eui_filters #=> Array
1562
+ # resp.lo_ra_wan.join_eui_filters[0] #=> Array
1563
+ # resp.lo_ra_wan.join_eui_filters[0][0] #=> String
1564
+ # resp.lo_ra_wan.net_id_filters #=> Array
1565
+ # resp.lo_ra_wan.net_id_filters[0] #=> String
1566
+ # resp.lo_ra_wan.sub_bands #=> Array
1567
+ # resp.lo_ra_wan.sub_bands[0] #=> Integer
1487
1568
  # resp.arn #=> String
1488
1569
  # resp.thing_name #=> String
1489
1570
  # resp.thing_arn #=> String
@@ -1993,6 +2074,13 @@ module Aws::IoTWireless
1993
2074
  # resp.wireless_gateway_list[0].description #=> String
1994
2075
  # resp.wireless_gateway_list[0].lo_ra_wan.gateway_eui #=> String
1995
2076
  # resp.wireless_gateway_list[0].lo_ra_wan.rf_region #=> String
2077
+ # resp.wireless_gateway_list[0].lo_ra_wan.join_eui_filters #=> Array
2078
+ # resp.wireless_gateway_list[0].lo_ra_wan.join_eui_filters[0] #=> Array
2079
+ # resp.wireless_gateway_list[0].lo_ra_wan.join_eui_filters[0][0] #=> String
2080
+ # resp.wireless_gateway_list[0].lo_ra_wan.net_id_filters #=> Array
2081
+ # resp.wireless_gateway_list[0].lo_ra_wan.net_id_filters[0] #=> String
2082
+ # resp.wireless_gateway_list[0].lo_ra_wan.sub_bands #=> Array
2083
+ # resp.wireless_gateway_list[0].lo_ra_wan.sub_bands[0] #=> Integer
1996
2084
  # resp.wireless_gateway_list[0].last_uplink_received_at #=> String
1997
2085
  #
1998
2086
  # @overload list_wireless_gateways(params = {})
@@ -2002,6 +2090,80 @@ module Aws::IoTWireless
2002
2090
  req.send_request(options)
2003
2091
  end
2004
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
+
2005
2167
  # Sends a decrypted application data frame to a device.
2006
2168
  #
2007
2169
  # @option params [required, String] :id
@@ -2012,7 +2174,7 @@ module Aws::IoTWireless
2012
2174
  # `0` for UM (unacknowledge mode) or `1` for AM (acknowledge mode).
2013
2175
  #
2014
2176
  # @option params [required, String] :payload_data
2015
- # The message payload to send.
2177
+ # The binary to be sent to the end device, encoded in base64.
2016
2178
  #
2017
2179
  # @option params [Types::WirelessMetadata] :wireless_metadata
2018
2180
  # Metadata about the message request.
@@ -2166,6 +2328,59 @@ module Aws::IoTWireless
2166
2328
  req.send_request(options)
2167
2329
  end
2168
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
+
2169
2384
  # Updates properties of a partner account.
2170
2385
  #
2171
2386
  # @option params [required, Types::SidewalkUpdateAccount] :sidewalk
@@ -2246,6 +2461,13 @@ module Aws::IoTWireless
2246
2461
  # @option params [String] :description
2247
2462
  # A new description of the resource.
2248
2463
  #
2464
+ # @option params [Array<Array>] :join_eui_filters
2465
+ # A list of JoinEuiRange used by LoRa gateways to filter LoRa frames.
2466
+ #
2467
+ # @option params [Array<String>] :net_id_filters
2468
+ # A list of NetId values that are used by LoRa gateways to filter the
2469
+ # uplink frames.
2470
+ #
2249
2471
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2250
2472
  #
2251
2473
  # @example Request syntax with placeholder values
@@ -2254,6 +2476,10 @@ module Aws::IoTWireless
2254
2476
  # id: "WirelessGatewayId", # required
2255
2477
  # name: "WirelessGatewayName",
2256
2478
  # description: "Description",
2479
+ # join_eui_filters: [
2480
+ # ["JoinEui"],
2481
+ # ],
2482
+ # net_id_filters: ["NetId"],
2257
2483
  # })
2258
2484
  #
2259
2485
  # @overload update_wireless_gateway(params = {})
@@ -2276,7 +2502,7 @@ module Aws::IoTWireless
2276
2502
  params: params,
2277
2503
  config: config)
2278
2504
  context[:gem_name] = 'aws-sdk-iotwireless'
2279
- context[:gem_version] = '1.8.0'
2505
+ context[:gem_version] = '1.12.0'
2280
2506
  Seahorse::Client::Request.new(handlers, context)
2281
2507
  end
2282
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')
@@ -143,6 +147,8 @@ module Aws::IoTWireless
143
147
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
144
148
  IotCertificateId = Shapes::StringShape.new(name: 'IotCertificateId')
145
149
  JoinEui = Shapes::StringShape.new(name: 'JoinEui')
150
+ JoinEuiFilters = Shapes::ListShape.new(name: 'JoinEuiFilters')
151
+ JoinEuiRange = Shapes::ListShape.new(name: 'JoinEuiRange')
146
152
  ListDestinationsRequest = Shapes::StructureShape.new(name: 'ListDestinationsRequest')
147
153
  ListDestinationsResponse = Shapes::StructureShape.new(name: 'ListDestinationsResponse')
148
154
  ListDeviceProfilesRequest = Shapes::StructureShape.new(name: 'ListDeviceProfilesRequest')
@@ -174,6 +180,7 @@ module Aws::IoTWireless
174
180
  LoRaWANUpdateDevice = Shapes::StructureShape.new(name: 'LoRaWANUpdateDevice')
175
181
  LoRaWANUpdateGatewayTaskCreate = Shapes::StructureShape.new(name: 'LoRaWANUpdateGatewayTaskCreate')
176
182
  LoRaWANUpdateGatewayTaskEntry = Shapes::StructureShape.new(name: 'LoRaWANUpdateGatewayTaskEntry')
183
+ LogLevel = Shapes::StringShape.new(name: 'LogLevel')
177
184
  MacVersion = Shapes::StringShape.new(name: 'MacVersion')
178
185
  MaxDutyCycle = Shapes::IntegerShape.new(name: 'MaxDutyCycle')
179
186
  MaxEirp = Shapes::IntegerShape.new(name: 'MaxEirp')
@@ -183,6 +190,8 @@ module Aws::IoTWireless
183
190
  MessageType = Shapes::StringShape.new(name: 'MessageType')
184
191
  MinGwDiversity = Shapes::IntegerShape.new(name: 'MinGwDiversity')
185
192
  Model = Shapes::StringShape.new(name: 'Model')
193
+ NetId = Shapes::StringShape.new(name: 'NetId')
194
+ NetIdFilters = Shapes::ListShape.new(name: 'NetIdFilters')
186
195
  NextToken = Shapes::StringShape.new(name: 'NextToken')
187
196
  NwkGeoLoc = Shapes::BooleanShape.new(name: 'NwkGeoLoc')
188
197
  NwkKey = Shapes::StringShape.new(name: 'NwkKey')
@@ -200,11 +209,18 @@ module Aws::IoTWireless
200
209
  PingSlotPeriod = Shapes::IntegerShape.new(name: 'PingSlotPeriod')
201
210
  PrAllowed = Shapes::BooleanShape.new(name: 'PrAllowed')
202
211
  PresetFreq = Shapes::IntegerShape.new(name: 'PresetFreq')
212
+ PutResourceLogLevelRequest = Shapes::StructureShape.new(name: 'PutResourceLogLevelRequest')
213
+ PutResourceLogLevelResponse = Shapes::StructureShape.new(name: 'PutResourceLogLevelResponse')
203
214
  RaAllowed = Shapes::BooleanShape.new(name: 'RaAllowed')
204
215
  RegParamsRevision = Shapes::StringShape.new(name: 'RegParamsRevision')
205
216
  ReportDevStatusBattery = Shapes::BooleanShape.new(name: 'ReportDevStatusBattery')
206
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')
207
222
  ResourceId = Shapes::StringShape.new(name: 'ResourceId')
223
+ ResourceIdentifier = Shapes::StringShape.new(name: 'ResourceIdentifier')
208
224
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
209
225
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
210
226
  Result = Shapes::StringShape.new(name: 'Result')
@@ -237,6 +253,8 @@ module Aws::IoTWireless
237
253
  SidewalkUpdateAccount = Shapes::StructureShape.new(name: 'SidewalkUpdateAccount')
238
254
  SigningAlg = Shapes::StringShape.new(name: 'SigningAlg')
239
255
  Station = Shapes::StringShape.new(name: 'Station')
256
+ SubBand = Shapes::IntegerShape.new(name: 'SubBand')
257
+ SubBands = Shapes::ListShape.new(name: 'SubBands')
240
258
  Supports32BitFCnt = Shapes::BooleanShape.new(name: 'Supports32BitFCnt')
241
259
  SupportsClassB = Shapes::BooleanShape.new(name: 'SupportsClassB')
242
260
  SupportsClassC = Shapes::BooleanShape.new(name: 'SupportsClassC')
@@ -264,6 +282,8 @@ module Aws::IoTWireless
264
282
  UpdateDataSource = Shapes::StringShape.new(name: 'UpdateDataSource')
265
283
  UpdateDestinationRequest = Shapes::StructureShape.new(name: 'UpdateDestinationRequest')
266
284
  UpdateDestinationResponse = Shapes::StructureShape.new(name: 'UpdateDestinationResponse')
285
+ UpdateLogLevelsByResourceTypesRequest = Shapes::StructureShape.new(name: 'UpdateLogLevelsByResourceTypesRequest')
286
+ UpdateLogLevelsByResourceTypesResponse = Shapes::StructureShape.new(name: 'UpdateLogLevelsByResourceTypesResponse')
267
287
  UpdatePartnerAccountRequest = Shapes::StructureShape.new(name: 'UpdatePartnerAccountRequest')
268
288
  UpdatePartnerAccountResponse = Shapes::StructureShape.new(name: 'UpdatePartnerAccountResponse')
269
289
  UpdateSignature = Shapes::StringShape.new(name: 'UpdateSignature')
@@ -275,15 +295,25 @@ module Aws::IoTWireless
275
295
  UpdateWirelessGatewayTaskEntry = Shapes::StructureShape.new(name: 'UpdateWirelessGatewayTaskEntry')
276
296
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
277
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')
278
301
  WirelessDeviceId = Shapes::StringShape.new(name: 'WirelessDeviceId')
279
302
  WirelessDeviceIdType = Shapes::StringShape.new(name: 'WirelessDeviceIdType')
303
+ WirelessDeviceLogOption = Shapes::StructureShape.new(name: 'WirelessDeviceLogOption')
304
+ WirelessDeviceLogOptionList = Shapes::ListShape.new(name: 'WirelessDeviceLogOptionList')
280
305
  WirelessDeviceName = Shapes::StringShape.new(name: 'WirelessDeviceName')
281
306
  WirelessDeviceStatistics = Shapes::StructureShape.new(name: 'WirelessDeviceStatistics')
282
307
  WirelessDeviceStatisticsList = Shapes::ListShape.new(name: 'WirelessDeviceStatisticsList')
283
308
  WirelessDeviceType = Shapes::StringShape.new(name: 'WirelessDeviceType')
284
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')
285
313
  WirelessGatewayId = Shapes::StringShape.new(name: 'WirelessGatewayId')
286
314
  WirelessGatewayIdType = Shapes::StringShape.new(name: 'WirelessGatewayIdType')
315
+ WirelessGatewayLogOption = Shapes::StructureShape.new(name: 'WirelessGatewayLogOption')
316
+ WirelessGatewayLogOptionList = Shapes::ListShape.new(name: 'WirelessGatewayLogOptionList')
287
317
  WirelessGatewayName = Shapes::StringShape.new(name: 'WirelessGatewayName')
288
318
  WirelessGatewayServiceType = Shapes::StringShape.new(name: 'WirelessGatewayServiceType')
289
319
  WirelessGatewayStatistics = Shapes::StructureShape.new(name: 'WirelessGatewayStatistics')
@@ -294,6 +324,7 @@ module Aws::IoTWireless
294
324
  WirelessGatewayTaskDefinitionType = Shapes::StringShape.new(name: 'WirelessGatewayTaskDefinitionType')
295
325
  WirelessGatewayTaskName = Shapes::StringShape.new(name: 'WirelessGatewayTaskName')
296
326
  WirelessGatewayTaskStatus = Shapes::StringShape.new(name: 'WirelessGatewayTaskStatus')
327
+ WirelessGatewayType = Shapes::StringShape.new(name: 'WirelessGatewayType')
297
328
  WirelessMetadata = Shapes::StructureShape.new(name: 'WirelessMetadata')
298
329
 
299
330
  AbpV1_0_x.add_member(:dev_addr, Shapes::ShapeRef.new(shape: DevAddr, location_name: "DevAddr"))
@@ -517,6 +548,13 @@ module Aws::IoTWireless
517
548
  GetDeviceProfileResponse.add_member(:lo_ra_wan, Shapes::ShapeRef.new(shape: LoRaWANDeviceProfile, location_name: "LoRaWAN"))
518
549
  GetDeviceProfileResponse.struct_class = Types::GetDeviceProfileResponse
519
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
+
520
558
  GetPartnerAccountRequest.add_member(:partner_account_id, Shapes::ShapeRef.new(shape: PartnerAccountId, required: true, location: "uri", location_name: "PartnerAccountId"))
521
559
  GetPartnerAccountRequest.add_member(:partner_type, Shapes::ShapeRef.new(shape: PartnerType, required: true, location: "querystring", location_name: "partnerType"))
522
560
  GetPartnerAccountRequest.struct_class = Types::GetPartnerAccountRequest
@@ -525,6 +563,13 @@ module Aws::IoTWireless
525
563
  GetPartnerAccountResponse.add_member(:account_linked, Shapes::ShapeRef.new(shape: AccountLinked, location_name: "AccountLinked"))
526
564
  GetPartnerAccountResponse.struct_class = Types::GetPartnerAccountResponse
527
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
+
528
573
  GetServiceEndpointRequest.add_member(:service_type, Shapes::ShapeRef.new(shape: WirelessGatewayServiceType, location: "querystring", location_name: "serviceType"))
529
574
  GetServiceEndpointRequest.struct_class = Types::GetServiceEndpointRequest
530
575
 
@@ -623,6 +668,10 @@ module Aws::IoTWireless
623
668
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
624
669
  InternalServerException.struct_class = Types::InternalServerException
625
670
 
671
+ JoinEuiFilters.member = Shapes::ShapeRef.new(shape: JoinEuiRange)
672
+
673
+ JoinEuiRange.member = Shapes::ShapeRef.new(shape: JoinEui)
674
+
626
675
  ListDestinationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
627
676
  ListDestinationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
628
677
  ListDestinationsRequest.struct_class = Types::ListDestinationsRequest
@@ -730,6 +779,9 @@ module Aws::IoTWireless
730
779
 
731
780
  LoRaWANGateway.add_member(:gateway_eui, Shapes::ShapeRef.new(shape: GatewayEui, location_name: "GatewayEui"))
732
781
  LoRaWANGateway.add_member(:rf_region, Shapes::ShapeRef.new(shape: RfRegion, location_name: "RfRegion"))
782
+ LoRaWANGateway.add_member(:join_eui_filters, Shapes::ShapeRef.new(shape: JoinEuiFilters, location_name: "JoinEuiFilters"))
783
+ LoRaWANGateway.add_member(:net_id_filters, Shapes::ShapeRef.new(shape: NetIdFilters, location_name: "NetIdFilters"))
784
+ LoRaWANGateway.add_member(:sub_bands, Shapes::ShapeRef.new(shape: SubBands, location_name: "SubBands"))
733
785
  LoRaWANGateway.struct_class = Types::LoRaWANGateway
734
786
 
735
787
  LoRaWANGatewayCurrentVersion.add_member(:current_version, Shapes::ShapeRef.new(shape: LoRaWANGatewayVersion, location_name: "CurrentVersion"))
@@ -791,6 +843,8 @@ module Aws::IoTWireless
791
843
  LoRaWANUpdateGatewayTaskEntry.add_member(:update_version, Shapes::ShapeRef.new(shape: LoRaWANGatewayVersion, location_name: "UpdateVersion"))
792
844
  LoRaWANUpdateGatewayTaskEntry.struct_class = Types::LoRaWANUpdateGatewayTaskEntry
793
845
 
846
+ NetIdFilters.member = Shapes::ShapeRef.new(shape: NetId)
847
+
794
848
  OtaaV1_0_x.add_member(:app_key, Shapes::ShapeRef.new(shape: AppKey, location_name: "AppKey"))
795
849
  OtaaV1_0_x.add_member(:app_eui, Shapes::ShapeRef.new(shape: AppEui, location_name: "AppEui"))
796
850
  OtaaV1_0_x.struct_class = Types::OtaaV1_0_x
@@ -800,6 +854,23 @@ module Aws::IoTWireless
800
854
  OtaaV1_1.add_member(:join_eui, Shapes::ShapeRef.new(shape: JoinEui, location_name: "JoinEui"))
801
855
  OtaaV1_1.struct_class = Types::OtaaV1_1
802
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
+
803
874
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
804
875
  ResourceNotFoundException.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "ResourceId"))
805
876
  ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
@@ -842,6 +913,7 @@ module Aws::IoTWireless
842
913
 
843
914
  SidewalkAccountList.member = Shapes::ShapeRef.new(shape: SidewalkAccountInfoWithFingerprint)
844
915
 
916
+ SidewalkDevice.add_member(:amazon_id, Shapes::ShapeRef.new(shape: AmazonId, location_name: "AmazonId"))
845
917
  SidewalkDevice.add_member(:sidewalk_id, Shapes::ShapeRef.new(shape: SidewalkId, location_name: "SidewalkId"))
846
918
  SidewalkDevice.add_member(:sidewalk_manufacturing_sn, Shapes::ShapeRef.new(shape: SidewalkManufacturingSn, location_name: "SidewalkManufacturingSn"))
847
919
  SidewalkDevice.add_member(:device_certificates, Shapes::ShapeRef.new(shape: DeviceCertificateList, location_name: "DeviceCertificates"))
@@ -866,6 +938,8 @@ module Aws::IoTWireless
866
938
  SidewalkUpdateAccount.add_member(:app_server_private_key, Shapes::ShapeRef.new(shape: AppServerPrivateKey, location_name: "AppServerPrivateKey"))
867
939
  SidewalkUpdateAccount.struct_class = Types::SidewalkUpdateAccount
868
940
 
941
+ SubBands.member = Shapes::ShapeRef.new(shape: SubBand)
942
+
869
943
  Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
870
944
  Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
871
945
  Tag.struct_class = Types::Tag
@@ -908,6 +982,13 @@ module Aws::IoTWireless
908
982
 
909
983
  UpdateDestinationResponse.struct_class = Types::UpdateDestinationResponse
910
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
+
911
992
  UpdatePartnerAccountRequest.add_member(:sidewalk, Shapes::ShapeRef.new(shape: SidewalkUpdateAccount, required: true, location_name: "Sidewalk"))
912
993
  UpdatePartnerAccountRequest.add_member(:partner_account_id, Shapes::ShapeRef.new(shape: PartnerAccountId, required: true, location: "uri", location_name: "PartnerAccountId"))
913
994
  UpdatePartnerAccountRequest.add_member(:partner_type, Shapes::ShapeRef.new(shape: PartnerType, required: true, location: "querystring", location_name: "partnerType"))
@@ -927,6 +1008,8 @@ module Aws::IoTWireless
927
1008
  UpdateWirelessGatewayRequest.add_member(:id, Shapes::ShapeRef.new(shape: WirelessGatewayId, required: true, location: "uri", location_name: "Id"))
928
1009
  UpdateWirelessGatewayRequest.add_member(:name, Shapes::ShapeRef.new(shape: WirelessGatewayName, location_name: "Name"))
929
1010
  UpdateWirelessGatewayRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
1011
+ UpdateWirelessGatewayRequest.add_member(:join_eui_filters, Shapes::ShapeRef.new(shape: JoinEuiFilters, location_name: "JoinEuiFilters"))
1012
+ UpdateWirelessGatewayRequest.add_member(:net_id_filters, Shapes::ShapeRef.new(shape: NetIdFilters, location_name: "NetIdFilters"))
930
1013
  UpdateWirelessGatewayRequest.struct_class = Types::UpdateWirelessGatewayRequest
931
1014
 
932
1015
  UpdateWirelessGatewayResponse.struct_class = Types::UpdateWirelessGatewayResponse
@@ -944,6 +1027,19 @@ module Aws::IoTWireless
944
1027
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
945
1028
  ValidationException.struct_class = Types::ValidationException
946
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
+
947
1043
  WirelessDeviceStatistics.add_member(:arn, Shapes::ShapeRef.new(shape: WirelessDeviceArn, location_name: "Arn"))
948
1044
  WirelessDeviceStatistics.add_member(:id, Shapes::ShapeRef.new(shape: WirelessDeviceId, location_name: "Id"))
949
1045
  WirelessDeviceStatistics.add_member(:type, Shapes::ShapeRef.new(shape: WirelessDeviceType, location_name: "Type"))
@@ -956,6 +1052,19 @@ module Aws::IoTWireless
956
1052
 
957
1053
  WirelessDeviceStatisticsList.member = Shapes::ShapeRef.new(shape: WirelessDeviceStatistics)
958
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
+
959
1068
  WirelessGatewayStatistics.add_member(:arn, Shapes::ShapeRef.new(shape: WirelessGatewayArn, location_name: "Arn"))
960
1069
  WirelessGatewayStatistics.add_member(:id, Shapes::ShapeRef.new(shape: WirelessGatewayId, location_name: "Id"))
961
1070
  WirelessGatewayStatistics.add_member(:name, Shapes::ShapeRef.new(shape: WirelessGatewayName, location_name: "Name"))
@@ -1313,6 +1422,19 @@ module Aws::IoTWireless
1313
1422
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1314
1423
  end)
1315
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
+
1316
1438
  api.add_operation(:get_partner_account, Seahorse::Model::Operation.new.tap do |o|
1317
1439
  o.name = "GetPartnerAccount"
1318
1440
  o.http_method = "GET"
@@ -1325,6 +1447,19 @@ module Aws::IoTWireless
1325
1447
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1326
1448
  end)
1327
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
+
1328
1463
  api.add_operation(:get_service_endpoint, Seahorse::Model::Operation.new.tap do |o|
1329
1464
  o.name = "GetServiceEndpoint"
1330
1465
  o.http_method = "GET"
@@ -1581,6 +1716,45 @@ module Aws::IoTWireless
1581
1716
  )
1582
1717
  end)
1583
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
+
1584
1758
  api.add_operation(:send_data_to_wireless_device, Seahorse::Model::Operation.new.tap do |o|
1585
1759
  o.name = "SendDataToWirelessDevice"
1586
1760
  o.http_method = "POST"
@@ -1645,6 +1819,20 @@ module Aws::IoTWireless
1645
1819
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1646
1820
  end)
1647
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
+
1648
1836
  api.add_operation(:update_partner_account, Seahorse::Model::Operation.new.tap do |o|
1649
1837
  o.name = "UpdatePartnerAccount"
1650
1838
  o.http_method = "PATCH"
@@ -245,9 +245,11 @@ module Aws::IoTWireless
245
245
  # @return [String]
246
246
  #
247
247
  # @!attribute [rw] resource_id
248
+ # Id of the resource in the conflicting operation.
248
249
  # @return [String]
249
250
  #
250
251
  # @!attribute [rw] resource_type
252
+ # Type of the resource in the conflicting operation.
251
253
  # @return [String]
252
254
  #
253
255
  class ConflictException < Struct.new(
@@ -604,6 +606,11 @@ module Aws::IoTWireless
604
606
  # lo_ra_wan: { # required
605
607
  # gateway_eui: "GatewayEui",
606
608
  # rf_region: "RfRegion",
609
+ # join_eui_filters: [
610
+ # ["JoinEui"],
611
+ # ],
612
+ # net_id_filters: ["NetId"],
613
+ # sub_bands: [1],
607
614
  # },
608
615
  # tags: [
609
616
  # {
@@ -1160,6 +1167,30 @@ module Aws::IoTWireless
1160
1167
  include Aws::Structure
1161
1168
  end
1162
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
+
1163
1194
  # @note When making an API call, you may pass GetPartnerAccountRequest
1164
1195
  # data as a hash:
1165
1196
  #
@@ -1198,6 +1229,42 @@ module Aws::IoTWireless
1198
1229
  include Aws::Structure
1199
1230
  end
1200
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
+
1201
1268
  # @note When making an API call, you may pass GetServiceEndpointRequest
1202
1269
  # data as a hash:
1203
1270
  #
@@ -1284,7 +1351,7 @@ module Aws::IoTWireless
1284
1351
  #
1285
1352
  # {
1286
1353
  # identifier: "Identifier", # required
1287
- # identifier_type: "WirelessDeviceId", # required, accepts WirelessDeviceId, DevEui, ThingName
1354
+ # identifier_type: "WirelessDeviceId", # required, accepts WirelessDeviceId, DevEui, ThingName, SidewalkManufacturingSn
1288
1355
  # }
1289
1356
  #
1290
1357
  # @!attribute [rw] identifier
@@ -2262,6 +2329,11 @@ module Aws::IoTWireless
2262
2329
  # {
2263
2330
  # gateway_eui: "GatewayEui",
2264
2331
  # rf_region: "RfRegion",
2332
+ # join_eui_filters: [
2333
+ # ["JoinEui"],
2334
+ # ],
2335
+ # net_id_filters: ["NetId"],
2336
+ # sub_bands: [1],
2265
2337
  # }
2266
2338
  #
2267
2339
  # @!attribute [rw] gateway_eui
@@ -2272,9 +2344,26 @@ module Aws::IoTWireless
2272
2344
  # The frequency band (RFRegion) value.
2273
2345
  # @return [String]
2274
2346
  #
2347
+ # @!attribute [rw] join_eui_filters
2348
+ # A list of JoinEuiRange used by LoRa gateways to filter LoRa frames.
2349
+ # @return [Array<Array<String>>]
2350
+ #
2351
+ # @!attribute [rw] net_id_filters
2352
+ # A list of NetId values that are used by LoRa gateways to filter the
2353
+ # uplink frames.
2354
+ # @return [Array<String>]
2355
+ #
2356
+ # @!attribute [rw] sub_bands
2357
+ # A list of integer indicating which sub bands are supported by LoRa
2358
+ # gateway.
2359
+ # @return [Array<Integer>]
2360
+ #
2275
2361
  class LoRaWANGateway < Struct.new(
2276
2362
  :gateway_eui,
2277
- :rf_region)
2363
+ :rf_region,
2364
+ :join_eui_filters,
2365
+ :net_id_filters,
2366
+ :sub_bands)
2278
2367
  SENSITIVE = []
2279
2368
  include Aws::Structure
2280
2369
  end
@@ -2642,15 +2731,85 @@ module Aws::IoTWireless
2642
2731
  include Aws::Structure
2643
2732
  end
2644
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
+
2645
2802
  # Resource does not exist.
2646
2803
  #
2647
2804
  # @!attribute [rw] message
2648
2805
  # @return [String]
2649
2806
  #
2650
2807
  # @!attribute [rw] resource_id
2808
+ # Id of the not found resource.
2651
2809
  # @return [String]
2652
2810
  #
2653
2811
  # @!attribute [rw] resource_type
2812
+ # Type of the font found resource.
2654
2813
  # @return [String]
2655
2814
  #
2656
2815
  class ResourceNotFoundException < Struct.new(
@@ -2690,7 +2849,7 @@ module Aws::IoTWireless
2690
2849
  # @return [Integer]
2691
2850
  #
2692
2851
  # @!attribute [rw] payload_data
2693
- # The message payload to send.
2852
+ # The binary to be sent to the end device, encoded in base64.
2694
2853
  # @return [String]
2695
2854
  #
2696
2855
  # @!attribute [rw] wireless_metadata
@@ -2849,6 +3008,10 @@ module Aws::IoTWireless
2849
3008
 
2850
3009
  # Sidewalk device object.
2851
3010
  #
3011
+ # @!attribute [rw] amazon_id
3012
+ # The Sidewalk Amazon ID.
3013
+ # @return [String]
3014
+ #
2852
3015
  # @!attribute [rw] sidewalk_id
2853
3016
  # The sidewalk device identification.
2854
3017
  # @return [String]
@@ -2862,6 +3025,7 @@ module Aws::IoTWireless
2862
3025
  # @return [Array<Types::CertificateList>]
2863
3026
  #
2864
3027
  class SidewalkDevice < Struct.new(
3028
+ :amazon_id,
2865
3029
  :sidewalk_id,
2866
3030
  :sidewalk_manufacturing_sn,
2867
3031
  :device_certificates)
@@ -2938,7 +3102,8 @@ module Aws::IoTWireless
2938
3102
  # @return [Integer]
2939
3103
  #
2940
3104
  # @!attribute [rw] message_type
2941
- # Sidewalk device message type.
3105
+ # Sidewalk device message type. Default value is
3106
+ # `CUSTOM_COMMAND_ID_NOTIFY`.
2942
3107
  # @return [String]
2943
3108
  #
2944
3109
  class SidewalkSendDataToDevice < Struct.new(
@@ -3068,6 +3233,7 @@ module Aws::IoTWireless
3068
3233
  # @return [String]
3069
3234
  #
3070
3235
  # @!attribute [rw] resource_name
3236
+ # Name of the resource that exceeds maximum number of tags allowed.
3071
3237
  # @return [String]
3072
3238
  #
3073
3239
  class TooManyTagsException < Struct.new(
@@ -3145,6 +3311,59 @@ module Aws::IoTWireless
3145
3311
 
3146
3312
  class UpdateDestinationResponse < Aws::EmptyStructure; end
3147
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
+
3148
3367
  # @note When making an API call, you may pass UpdatePartnerAccountRequest
3149
3368
  # data as a hash:
3150
3369
  #
@@ -3231,6 +3450,10 @@ module Aws::IoTWireless
3231
3450
  # id: "WirelessGatewayId", # required
3232
3451
  # name: "WirelessGatewayName",
3233
3452
  # description: "Description",
3453
+ # join_eui_filters: [
3454
+ # ["JoinEui"],
3455
+ # ],
3456
+ # net_id_filters: ["NetId"],
3234
3457
  # }
3235
3458
  #
3236
3459
  # @!attribute [rw] id
@@ -3245,10 +3468,21 @@ module Aws::IoTWireless
3245
3468
  # A new description of the resource.
3246
3469
  # @return [String]
3247
3470
  #
3471
+ # @!attribute [rw] join_eui_filters
3472
+ # A list of JoinEuiRange used by LoRa gateways to filter LoRa frames.
3473
+ # @return [Array<Array<String>>]
3474
+ #
3475
+ # @!attribute [rw] net_id_filters
3476
+ # A list of NetId values that are used by LoRa gateways to filter the
3477
+ # uplink frames.
3478
+ # @return [Array<String>]
3479
+ #
3248
3480
  class UpdateWirelessGatewayRequest < Struct.new(
3249
3481
  :id,
3250
3482
  :name,
3251
- :description)
3483
+ :description,
3484
+ :join_eui_filters,
3485
+ :net_id_filters)
3252
3486
  SENSITIVE = []
3253
3487
  include Aws::Structure
3254
3488
  end
@@ -3332,6 +3566,75 @@ module Aws::IoTWireless
3332
3566
  include Aws::Structure
3333
3567
  end
3334
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
+
3335
3638
  # Information about a wireless device's operation.
3336
3639
  #
3337
3640
  # @!attribute [rw] arn
@@ -3379,6 +3682,73 @@ module Aws::IoTWireless
3379
3682
  include Aws::Structure
3380
3683
  end
3381
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
+
3382
3752
  # Information about a wireless gateway's operation.
3383
3753
  #
3384
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.8.0
4
+ version: 1.12.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-04-26 00:00:00.000000000 Z
11
+ date: 2021-07-28 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.112.0
22
+ version: 3.118.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.112.0
32
+ version: 3.118.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement