Skip to content

Commit 69415e0

Browse files
author
awstools
committed
feat(client-iot-wireless): New FuotaTask resource type to enable logging for your FUOTA tasks. A ParticipatingGatewaysforMulticast parameter to choose the list of gateways to receive the multicast downlink message and the transmission interval between them. Descriptor field which will be sent to devices during FUOTA transfer.
1 parent 5528f54 commit 69415e0

20 files changed

+524
-122
lines changed

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

+1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ export interface CreateFuotaTaskCommandOutput extends CreateFuotaTaskResponse, _
5353
* RedundancyPercent: Number("int"),
5454
* FragmentSizeBytes: Number("int"),
5555
* FragmentIntervalMS: Number("int"),
56+
* Descriptor: "STRING_VALUE",
5657
* };
5758
* const command = new CreateFuotaTaskCommand(input);
5859
* const response = await client.send(command);

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

+6
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ export interface CreateMulticastGroupCommandOutput extends CreateMulticastGroupR
4242
* LoRaWAN: { // LoRaWANMulticast
4343
* RfRegion: "EU868" || "US915" || "AU915" || "AS923-1" || "AS923-2" || "AS923-3" || "AS923-4" || "EU433" || "CN470" || "CN779" || "RU864" || "KR920" || "IN865",
4444
* DlClass: "ClassB" || "ClassC",
45+
* ParticipatingGateways: { // ParticipatingGatewaysMulticast
46+
* GatewayList: [ // GatewayListMulticast
47+
* "STRING_VALUE",
48+
* ],
49+
* TransmissionInterval: Number("int"),
50+
* },
4551
* },
4652
* Tags: [ // TagList
4753
* { // Tag

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

+1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ export interface GetFuotaTaskCommandOutput extends GetFuotaTaskResponse, __Metad
5656
* // RedundancyPercent: Number("int"),
5757
* // FragmentSizeBytes: Number("int"),
5858
* // FragmentIntervalMS: Number("int"),
59+
* // Descriptor: "STRING_VALUE",
5960
* // };
6061
*
6162
* ```

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

+12
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,18 @@ export interface GetLogLevelsByResourceTypesCommandOutput
7171
* // ],
7272
* // },
7373
* // ],
74+
* // FuotaTaskLogOptions: [ // FuotaTaskLogOptionList
75+
* // { // FuotaTaskLogOption
76+
* // Type: "LoRaWAN", // required
77+
* // LogLevel: "INFO" || "ERROR" || "DISABLED", // required
78+
* // Events: [ // FuotaTaskEventLogOptionList
79+
* // { // FuotaTaskEventLogOption
80+
* // Event: "Fuota", // required
81+
* // LogLevel: "INFO" || "ERROR" || "DISABLED", // required
82+
* // },
83+
* // ],
84+
* // },
85+
* // ],
7486
* // };
7587
*
7688
* ```

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

+6
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ export interface GetMulticastGroupCommandOutput extends GetMulticastGroupRespons
5151
* // DlClass: "ClassB" || "ClassC",
5252
* // NumberOfDevicesRequested: Number("int"),
5353
* // NumberOfDevicesInGroup: Number("int"),
54+
* // ParticipatingGateways: { // ParticipatingGatewaysMulticast
55+
* // GatewayList: [ // GatewayListMulticast
56+
* // "STRING_VALUE",
57+
* // ],
58+
* // TransmissionInterval: Number("int"),
59+
* // },
5460
* // },
5561
* // CreatedAt: new Date("TIMESTAMP"),
5662
* // };

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export interface GetResourceEventConfigurationCommandOutput
4242
* const client = new IoTWirelessClient(config);
4343
* const input = { // GetResourceEventConfigurationRequest
4444
* Identifier: "STRING_VALUE", // required
45-
* IdentifierType: "PartnerAccountId" || "DevEui" || "GatewayEui" || "WirelessDeviceId" || "WirelessGatewayId", // required
45+
* IdentifierType: "PartnerAccountId" || "DevEui" || "FuotaTaskId" || "GatewayEui" || "WirelessDeviceId" || "WirelessGatewayId", // required
4646
* PartnerType: "Sidewalk",
4747
* };
4848
* const command = new GetResourceEventConfigurationCommand(input);

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export interface GetResourceLogLevelCommandOutput extends GetResourceLogLevelRes
2929

3030
/**
3131
* <p>Fetches the log-level override, if any, for a given resource-ID and resource-type. It
32-
* can be used for a wireless device or a wireless gateway.</p>
32+
* can be used for a wireless device, wireless gateway or fuota task.</p>
3333
* @example
3434
* Use a bare-bones client and the command you need to make an API call.
3535
* ```javascript

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export interface ListEventConfigurationsCommandOutput extends ListEventConfigura
3636
* // const { IoTWirelessClient, ListEventConfigurationsCommand } = require("@aws-sdk/client-iot-wireless"); // CommonJS import
3737
* const client = new IoTWirelessClient(config);
3838
* const input = { // ListEventConfigurationsRequest
39-
* ResourceType: "SidewalkAccount" || "WirelessDevice" || "WirelessGateway", // required
39+
* ResourceType: "FuotaTask" || "SidewalkAccount" || "WirelessDevice" || "WirelessGateway", // required
4040
* MaxResults: Number("int"),
4141
* NextToken: "STRING_VALUE",
4242
* };
@@ -47,7 +47,7 @@ export interface ListEventConfigurationsCommandOutput extends ListEventConfigura
4747
* // EventConfigurationsList: [ // EventConfigurationsList
4848
* // { // EventConfigurationItem
4949
* // Identifier: "STRING_VALUE",
50-
* // IdentifierType: "PartnerAccountId" || "DevEui" || "GatewayEui" || "WirelessDeviceId" || "WirelessGatewayId",
50+
* // IdentifierType: "PartnerAccountId" || "DevEui" || "FuotaTaskId" || "GatewayEui" || "WirelessDeviceId" || "WirelessGatewayId",
5151
* // PartnerType: "Sidewalk",
5252
* // Events: { // EventNotificationItemConfigurations
5353
* // DeviceRegistrationState: { // DeviceRegistrationStateEventConfiguration

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { IoTWirelessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes
99
import {
1010
ListNetworkAnalyzerConfigurationsRequest,
1111
ListNetworkAnalyzerConfigurationsResponse,
12-
} from "../models/models_0";
12+
} from "../models/models_1";
1313
import {
1414
de_ListNetworkAnalyzerConfigurationsCommand,
1515
se_ListNetworkAnalyzerConfigurationsCommand,

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
ListPartnerAccountsRequest,
1111
ListPartnerAccountsResponse,
1212
ListPartnerAccountsResponseFilterSensitiveLog,
13-
} from "../models/models_0";
13+
} from "../models/models_1";
1414
import { de_ListPartnerAccountsCommand, se_ListPartnerAccountsCommand } from "../protocols/Aws_restJson1";
1515

1616
/**

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ export interface ResetAllResourceLogLevelsCommandInput extends ResetAllResourceL
2828
export interface ResetAllResourceLogLevelsCommandOutput extends ResetAllResourceLogLevelsResponse, __MetadataBearer {}
2929

3030
/**
31-
* <p>Removes the log-level overrides for all resources; both wireless devices and wireless
32-
* gateways.</p>
31+
* <p>Removes the log-level overrides for all resources; wireless devices, wireless
32+
* gateways, and fuota tasks.</p>
3333
* @example
3434
* Use a bare-bones client and the command you need to make an API call.
3535
* ```javascript

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export interface ResetResourceLogLevelCommandOutput extends ResetResourceLogLeve
2929

3030
/**
3131
* <p>Removes the log-level override, if any, for a specific resource-ID and resource-type.
32-
* It can be used for a wireless device or a wireless gateway.</p>
32+
* It can be used for a wireless device, a wireless gateway, or a fuota task.</p>
3333
* @example
3434
* Use a bare-bones client and the command you need to make an API call.
3535
* ```javascript

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

+1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ export interface UpdateFuotaTaskCommandOutput extends UpdateFuotaTaskResponse, _
4747
* RedundancyPercent: Number("int"),
4848
* FragmentSizeBytes: Number("int"),
4949
* FragmentIntervalMS: Number("int"),
50+
* Descriptor: "STRING_VALUE",
5051
* };
5152
* const command = new UpdateFuotaTaskCommand(input);
5253
* const response = await client.send(command);

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

+12
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,18 @@ export interface UpdateLogLevelsByResourceTypesCommandOutput
4444
* const client = new IoTWirelessClient(config);
4545
* const input = { // UpdateLogLevelsByResourceTypesRequest
4646
* DefaultLogLevel: "INFO" || "ERROR" || "DISABLED",
47+
* FuotaTaskLogOptions: [ // FuotaTaskLogOptionList
48+
* { // FuotaTaskLogOption
49+
* Type: "LoRaWAN", // required
50+
* LogLevel: "INFO" || "ERROR" || "DISABLED", // required
51+
* Events: [ // FuotaTaskEventLogOptionList
52+
* { // FuotaTaskEventLogOption
53+
* Event: "Fuota", // required
54+
* LogLevel: "INFO" || "ERROR" || "DISABLED", // required
55+
* },
56+
* ],
57+
* },
58+
* ],
4759
* WirelessDeviceLogOptions: [ // WirelessDeviceLogOptionList
4860
* { // WirelessDeviceLogOption
4961
* Type: "Sidewalk" || "LoRaWAN", // required

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

+6
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ export interface UpdateMulticastGroupCommandOutput extends UpdateMulticastGroupR
4242
* LoRaWAN: { // LoRaWANMulticast
4343
* RfRegion: "EU868" || "US915" || "AU915" || "AS923-1" || "AS923-2" || "AS923-3" || "AS923-4" || "EU433" || "CN470" || "CN779" || "RU864" || "KR920" || "IN865",
4444
* DlClass: "ClassB" || "ClassC",
45+
* ParticipatingGateways: { // ParticipatingGatewaysMulticast
46+
* GatewayList: [ // GatewayListMulticast
47+
* "STRING_VALUE",
48+
* ],
49+
* TransmissionInterval: Number("int"),
50+
* },
4551
* },
4652
* };
4753
* const command = new UpdateMulticastGroupCommand(input);

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export interface UpdateResourceEventConfigurationCommandOutput
4242
* const client = new IoTWirelessClient(config);
4343
* const input = { // UpdateResourceEventConfigurationRequest
4444
* Identifier: "STRING_VALUE", // required
45-
* IdentifierType: "PartnerAccountId" || "DevEui" || "GatewayEui" || "WirelessDeviceId" || "WirelessGatewayId", // required
45+
* IdentifierType: "PartnerAccountId" || "DevEui" || "FuotaTaskId" || "GatewayEui" || "WirelessDeviceId" || "WirelessGatewayId", // required
4646
* PartnerType: "Sidewalk",
4747
* DeviceRegistrationState: { // DeviceRegistrationStateEventConfiguration
4848
* Sidewalk: { // SidewalkEventNotificationConfigurations

0 commit comments

Comments
 (0)