Skip to content

Commit 8ba0bbe

Browse files
author
awstools
committed
feat(client-iot-wireless): This release includes a new feature for the customers to enable the LoRa gateways to send out beacons for Class B devices and an option to select one or more gateways for Class C devices when sending the LoRaWAN downlink messages.
1 parent 4987aea commit 8ba0bbe

File tree

6 files changed

+469
-110
lines changed

6 files changed

+469
-110
lines changed

clients/client-iot-wireless/src/commands/UpdateFuotaTaskCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import {
1818
UpdateFuotaTaskRequestFilterSensitiveLog,
1919
UpdateFuotaTaskResponse,
2020
UpdateFuotaTaskResponseFilterSensitiveLog,
21-
} from "../models/models_0";
21+
} from "../models/models_1";
2222
import {
2323
deserializeAws_restJson1UpdateFuotaTaskCommand,
2424
serializeAws_restJson1UpdateFuotaTaskCommand,

clients/client-iot-wireless/src/commands/UpdateLogLevelsByResourceTypesCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import {
1818
UpdateLogLevelsByResourceTypesRequestFilterSensitiveLog,
1919
UpdateLogLevelsByResourceTypesResponse,
2020
UpdateLogLevelsByResourceTypesResponseFilterSensitiveLog,
21-
} from "../models/models_0";
21+
} from "../models/models_1";
2222
import {
2323
deserializeAws_restJson1UpdateLogLevelsByResourceTypesCommand,
2424
serializeAws_restJson1UpdateLogLevelsByResourceTypesCommand,

clients/client-iot-wireless/src/models/models_0.ts

Lines changed: 104 additions & 97 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,21 @@ export enum BatteryLevel {
402402
NORMAL = "normal",
403403
}
404404

405+
/**
406+
* <p>Beaconing parameters for configuring the wireless gateways.</p>
407+
*/
408+
export interface Beaconing {
409+
/**
410+
* <p>The data rate for gateways that are sending the beacons.</p>
411+
*/
412+
DataRate?: number;
413+
414+
/**
415+
* <p>The frequency list for the gateways to send the beacons.</p>
416+
*/
417+
Frequencies?: number[];
418+
}
419+
405420
export interface CancelMulticastGroupSessionRequest {
406421
/**
407422
* <p>The ID of the multicast group.</p>
@@ -446,7 +461,7 @@ export enum EventNotificationTopicStatus {
446461
*/
447462
export interface LoRaWANConnectionStatusEventNotificationConfigurations {
448463
/**
449-
* <p>Enum to denote whether the gateway EUI connection status event topic is enabled or disabled.</p>
464+
* <p>Denotes whether the gateway EUI connection status event topic is enabled or disabled.</p>
450465
*/
451466
GatewayEuiEventTopic?: EventNotificationTopicStatus | string;
452467
}
@@ -461,7 +476,7 @@ export interface ConnectionStatusEventConfiguration {
461476
LoRaWAN?: LoRaWANConnectionStatusEventNotificationConfigurations;
462477

463478
/**
464-
* <p>Enum to denote whether the wireless gateway ID connection status event topic is enabled or disabled.</p>
479+
* <p>Denotes whether the wireless gateway ID connection status event topic is enabled or disabled.</p>
465480
*/
466481
WirelessGatewayIdEventTopic?: EventNotificationTopicStatus | string;
467482
}
@@ -471,7 +486,7 @@ export interface ConnectionStatusEventConfiguration {
471486
*/
472487
export interface LoRaWANConnectionStatusResourceTypeEventConfiguration {
473488
/**
474-
* <p>Enum to denote whether the wireless gateway connection status event topic is enabled or disabled.</p>
489+
* <p>Denotes whether the wireless gateway connection status event topic is enabled or disabled.</p>
475490
*/
476491
WirelessGatewayEventTopic?: EventNotificationTopicStatus | string;
477492
}
@@ -1146,6 +1161,11 @@ export interface LoRaWANGateway {
11461161
* <p>A list of integer indicating which sub bands are supported by LoRa gateway.</p>
11471162
*/
11481163
SubBands?: number[];
1164+
1165+
/**
1166+
* <p>Beaconing object information, which consists of the data rate and frequency parameters.</p>
1167+
*/
1168+
Beaconing?: Beaconing;
11491169
}
11501170

11511171
export interface CreateWirelessGatewayRequest {
@@ -1497,7 +1517,7 @@ export interface DeviceProfile {
14971517
*/
14981518
export interface SidewalkEventNotificationConfigurations {
14991519
/**
1500-
* <p>Enum to denote whether amazon id event topic is enabled or disabled.</p>
1520+
* <p>Denotes whether the Amazon ID event topic is enabled or disabled.</p>
15011521
*/
15021522
AmazonIdEventTopic?: EventNotificationTopicStatus | string;
15031523
}
@@ -1513,7 +1533,7 @@ export interface DeviceRegistrationStateEventConfiguration {
15131533
Sidewalk?: SidewalkEventNotificationConfigurations;
15141534

15151535
/**
1516-
* <p>Enum to denote whether the wireless device id device registration state event topic is enabled or disabled.</p>
1536+
* <p>Denotes whether the wireless device ID device registration state event topic is enabled or disabled.</p>
15171537
*/
15181538
WirelessDeviceIdEventTopic?: EventNotificationTopicStatus | string;
15191539
}
@@ -1523,7 +1543,7 @@ export interface DeviceRegistrationStateEventConfiguration {
15231543
*/
15241544
export interface SidewalkResourceTypeEventConfiguration {
15251545
/**
1526-
* <p>Enum to denote whether the wireless device join event topic is enabled or disabled.</p>
1546+
* <p>Denotes whether the wireless device join event topic is enabled or disabled.</p>
15271547
*/
15281548
WirelessDeviceEventTopic?: EventNotificationTopicStatus | string;
15291549
}
@@ -1633,6 +1653,52 @@ export interface DisassociateWirelessGatewayFromThingRequest {
16331653

16341654
export interface DisassociateWirelessGatewayFromThingResponse {}
16351655

1656+
export enum DownlinkMode {
1657+
CONCURRENT = "CONCURRENT",
1658+
SEQUENTIAL = "SEQUENTIAL",
1659+
USING_UPLINK_GATEWAY = "USING_UPLINK_GATEWAY",
1660+
}
1661+
1662+
/**
1663+
* <p>Gateway list item object that specifies the frequency and list of gateways for which the downlink message
1664+
* should be sent.</p>
1665+
*/
1666+
export interface GatewayListItem {
1667+
/**
1668+
* <p>The ID of the wireless gateways that you want to add to the list of gateways when sending
1669+
* downlink messages.</p>
1670+
*/
1671+
GatewayId: string | undefined;
1672+
1673+
/**
1674+
* <p>The frequency to use for the gateways when sending a downlink message to the wireless device.</p>
1675+
*/
1676+
DownlinkFrequency: number | undefined;
1677+
}
1678+
1679+
/**
1680+
* <p>Specify the list of gateways to which you want to send downlink data traffic when the wireless
1681+
* device is running in class B or class C mode.</p>
1682+
*/
1683+
export interface ParticipatingGateways {
1684+
/**
1685+
* <p>Indicates whether to send the downlink message in sequential mode or concurrent mode, or to use
1686+
* only the chosen gateways from the previous uplink message transmission.</p>
1687+
*/
1688+
DownlinkMode: DownlinkMode | string | undefined;
1689+
1690+
/**
1691+
* <p>The list of gateways that you want to use for sending the downlink data traffic.</p>
1692+
*/
1693+
GatewayList: GatewayListItem[] | undefined;
1694+
1695+
/**
1696+
* <p>The duration of time for which AWS IoT Core for LoRaWAN will wait before transmitting the
1697+
* payload to the next gateway.</p>
1698+
*/
1699+
TransmissionInterval: number | undefined;
1700+
}
1701+
16361702
/**
16371703
* <p>LoRaWAN router info.</p>
16381704
*/
@@ -1641,6 +1707,12 @@ export interface LoRaWANSendDataToDevice {
16411707
* <p>The Fport value.</p>
16421708
*/
16431709
FPort?: number;
1710+
1711+
/**
1712+
* <p>Choose the gateways that you want to use for the downlink data traffic when the wireless device
1713+
* is running in class B or class C mode.</p>
1714+
*/
1715+
ParticipatingGateways?: ParticipatingGateways;
16441716
}
16451717

16461718
/**
@@ -1683,7 +1755,7 @@ export enum Event {
16831755
*/
16841756
export interface LoRaWANJoinEventNotificationConfigurations {
16851757
/**
1686-
* <p>Enum to denote whether the Dev EUI join event topic is enabled or disabled.</p>
1758+
* <p>Denotes whether the Dev EUI join event topic is enabled or disabled.</p>
16871759
*/
16881760
DevEuiEventTopic?: EventNotificationTopicStatus | string;
16891761
}
@@ -1698,7 +1770,7 @@ export interface JoinEventConfiguration {
16981770
LoRaWAN?: LoRaWANJoinEventNotificationConfigurations;
16991771

17001772
/**
1701-
* <p>Enum to denote whether the wireless device id join event topic is enabled or disabled.</p>
1773+
* <p>Denotes whether the wireless device ID join event topic is enabled or disabled.</p>
17021774
*/
17031775
WirelessDeviceIdEventTopic?: EventNotificationTopicStatus | string;
17041776
}
@@ -1716,7 +1788,7 @@ export interface MessageDeliveryStatusEventConfiguration {
17161788
Sidewalk?: SidewalkEventNotificationConfigurations;
17171789

17181790
/**
1719-
* <p>Enum to denote whether the wireless device id device registration state event topic is enabled
1791+
* <p>Denotes whether the wireless device ID device registration state event topic is enabled
17201792
* or disabled.</p>
17211793
*/
17221794
WirelessDeviceIdEventTopic?: EventNotificationTopicStatus | string;
@@ -1732,7 +1804,7 @@ export interface ProximityEventConfiguration {
17321804
Sidewalk?: SidewalkEventNotificationConfigurations;
17331805

17341806
/**
1735-
* <p>Enum to denote whether the wireless device id proximity event topic is enabled or disabled.</p>
1807+
* <p>Denotes whether the wireless device ID proximity event topic is enabled or disabled.</p>
17361808
*/
17371809
WirelessDeviceIdEventTopic?: EventNotificationTopicStatus | string;
17381810
}
@@ -1927,7 +1999,7 @@ export interface GetEventConfigurationByResourceTypesRequest {}
19271999
*/
19282000
export interface LoRaWANJoinResourceTypeEventConfiguration {
19292001
/**
1930-
* <p>Enum to denote whether the wireless device join event topic is enabled or disabled.</p>
2002+
* <p>Denotes whether the wireless device join event topic is enabled or disabled.</p>
19312003
*/
19322004
WirelessDeviceEventTopic?: EventNotificationTopicStatus | string;
19332005
}
@@ -4193,60 +4265,6 @@ export interface UpdateEventConfigurationByResourceTypesRequest {
41934265

41944266
export interface UpdateEventConfigurationByResourceTypesResponse {}
41954267

4196-
export interface UpdateFuotaTaskRequest {
4197-
/**
4198-
* <p>The ID of a FUOTA task.</p>
4199-
*/
4200-
Id: string | undefined;
4201-
4202-
/**
4203-
* <p>The name of a FUOTA task.</p>
4204-
*/
4205-
Name?: string;
4206-
4207-
/**
4208-
* <p>The description of the new resource.</p>
4209-
*/
4210-
Description?: string;
4211-
4212-
/**
4213-
* <p>The LoRaWAN information used with a FUOTA task.</p>
4214-
*/
4215-
LoRaWAN?: LoRaWANFuotaTask;
4216-
4217-
/**
4218-
* <p>The S3 URI points to a firmware update image that is to be used with a FUOTA task.</p>
4219-
*/
4220-
FirmwareUpdateImage?: string;
4221-
4222-
/**
4223-
* <p>The firmware update role that is to be used with a FUOTA task.</p>
4224-
*/
4225-
FirmwareUpdateRole?: string;
4226-
}
4227-
4228-
export interface UpdateFuotaTaskResponse {}
4229-
4230-
export interface UpdateLogLevelsByResourceTypesRequest {
4231-
/**
4232-
* <p>The log level for a log message. The log levels can be disabled, or set to <code>ERROR</code> to display
4233-
* less verbose logs containing only error information, or to <code>INFO</code> for more detailed logs.</p>
4234-
*/
4235-
DefaultLogLevel?: LogLevel | string;
4236-
4237-
/**
4238-
* <p>The list of wireless device log options.</p>
4239-
*/
4240-
WirelessDeviceLogOptions?: WirelessDeviceLogOption[];
4241-
4242-
/**
4243-
* <p>The list of wireless gateway log options.</p>
4244-
*/
4245-
WirelessGatewayLogOptions?: WirelessGatewayLogOption[];
4246-
}
4247-
4248-
export interface UpdateLogLevelsByResourceTypesResponse {}
4249-
42504268
/**
42514269
* @internal
42524270
*/
@@ -4425,6 +4443,13 @@ export const AssociateWirelessGatewayWithThingResponseFilterSensitiveLog = (
44254443
...obj,
44264444
});
44274445

4446+
/**
4447+
* @internal
4448+
*/
4449+
export const BeaconingFilterSensitiveLog = (obj: Beaconing): any => ({
4450+
...obj,
4451+
});
4452+
44284453
/**
44294454
* @internal
44304455
*/
@@ -5066,6 +5091,20 @@ export const DisassociateWirelessGatewayFromThingResponseFilterSensitiveLog = (
50665091
...obj,
50675092
});
50685093

5094+
/**
5095+
* @internal
5096+
*/
5097+
export const GatewayListItemFilterSensitiveLog = (obj: GatewayListItem): any => ({
5098+
...obj,
5099+
});
5100+
5101+
/**
5102+
* @internal
5103+
*/
5104+
export const ParticipatingGatewaysFilterSensitiveLog = (obj: ParticipatingGateways): any => ({
5105+
...obj,
5106+
});
5107+
50695108
/**
50705109
* @internal
50715110
*/
@@ -6209,35 +6248,3 @@ export const UpdateEventConfigurationByResourceTypesResponseFilterSensitiveLog =
62096248
): any => ({
62106249
...obj,
62116250
});
6212-
6213-
/**
6214-
* @internal
6215-
*/
6216-
export const UpdateFuotaTaskRequestFilterSensitiveLog = (obj: UpdateFuotaTaskRequest): any => ({
6217-
...obj,
6218-
});
6219-
6220-
/**
6221-
* @internal
6222-
*/
6223-
export const UpdateFuotaTaskResponseFilterSensitiveLog = (obj: UpdateFuotaTaskResponse): any => ({
6224-
...obj,
6225-
});
6226-
6227-
/**
6228-
* @internal
6229-
*/
6230-
export const UpdateLogLevelsByResourceTypesRequestFilterSensitiveLog = (
6231-
obj: UpdateLogLevelsByResourceTypesRequest
6232-
): any => ({
6233-
...obj,
6234-
});
6235-
6236-
/**
6237-
* @internal
6238-
*/
6239-
export const UpdateLogLevelsByResourceTypesResponseFilterSensitiveLog = (
6240-
obj: UpdateLogLevelsByResourceTypesResponse
6241-
): any => ({
6242-
...obj,
6243-
});

0 commit comments

Comments
 (0)