Skip to content

Commit a126088

Browse files
author
awstools
committed
feat(client-iot-wireless): Add PublicGateways in the GetWirelessStatistics call response, indicating the LoRaWAN public network accessed by the device.
1 parent 3b624ea commit a126088

11 files changed

+373
-152
lines changed

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

+15
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,21 @@ export interface CreateWirelessGatewayCommandOutput extends CreateWirelessGatewa
2828

2929
/**
3030
* <p>Provisions a wireless gateway.</p>
31+
* <note>
32+
* <p>When provisioning a wireless gateway, you might run into duplication errors
33+
* for the following reasons.</p>
34+
* <ul>
35+
* <li>
36+
* <p>If you specify a <code>GatewayEui</code> value that already exists.</p>
37+
* </li>
38+
* <li>
39+
* <p>If you used a <code>ClientRequestToken</code> with the same parameters
40+
* within the last 10 minutes.</p>
41+
* </li>
42+
* </ul>
43+
* <p>To avoid this error, make sure that you use unique identifiers and parameters
44+
* for each request within the specified time period.</p>
45+
* </note>
3146
* @example
3247
* Use a bare-bones client and the command you need to make an API call.
3348
* ```javascript

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

+15
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,21 @@ export interface DeleteWirelessGatewayCommandOutput extends DeleteWirelessGatewa
2828

2929
/**
3030
* <p>Deletes a wireless gateway.</p>
31+
* <note>
32+
* <p>When deleting a wireless gateway, you might run into duplication errors
33+
* for the following reasons.</p>
34+
* <ul>
35+
* <li>
36+
* <p>If you specify a <code>GatewayEui</code> value that already exists.</p>
37+
* </li>
38+
* <li>
39+
* <p>If you used a <code>ClientRequestToken</code> with the same parameters
40+
* within the last 10 minutes.</p>
41+
* </li>
42+
* </ul>
43+
* <p>To avoid this error, make sure that you use unique identifiers and parameters
44+
* for each request within the specified time period.</p>
45+
* </note>
3146
* @example
3247
* Use a bare-bones client and the command you need to make an API call.
3348
* ```javascript

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export interface GetMetricConfigurationCommandInput extends GetMetricConfigurati
2727
export interface GetMetricConfigurationCommandOutput extends GetMetricConfigurationResponse, __MetadataBearer {}
2828

2929
/**
30-
* <p>Get the metric configuration status for this account.</p>
30+
* <p>Get the metric configuration status for this AWS account.</p>
3131
* @example
3232
* Use a bare-bones client and the command you need to make an API call.
3333
* ```javascript

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export interface GetMetricsCommandInput extends GetMetricsRequest {}
2727
export interface GetMetricsCommandOutput extends GetMetricsResponse, __MetadataBearer {}
2828

2929
/**
30-
* <p>Get metrics.</p>
30+
* <p>Get the summary metrics for this AWS account.</p>
3131
* @example
3232
* Use a bare-bones client and the command you need to make an API call.
3333
* ```javascript

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

+10
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,16 @@ export interface GetWirelessDeviceStatisticsCommandOutput
6060
* // Rssi: Number("double"),
6161
* // },
6262
* // ],
63+
* // PublicGateways: [ // LoRaWANPublicGatewayMetadataList
64+
* // { // LoRaWANPublicGatewayMetadata
65+
* // ProviderNetId: "STRING_VALUE",
66+
* // Id: "STRING_VALUE",
67+
* // Rssi: Number("double"),
68+
* // Snr: Number("double"),
69+
* // RfRegion: "STRING_VALUE",
70+
* // DlAllowed: true || false,
71+
* // },
72+
* // ],
6373
* // },
6474
* // Sidewalk: { // SidewalkDeviceMetadata
6575
* // Rssi: Number("int"),

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

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { commonParams } from "../endpoint/EndpointParameters";
88
import { IoTWirelessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTWirelessClient";
9-
import { ListPositionConfigurationsRequest } from "../models/models_0";
10-
import { ListPositionConfigurationsResponse } from "../models/models_1";
9+
import { ListPositionConfigurationsRequest, ListPositionConfigurationsResponse } from "../models/models_1";
1110
import { de_ListPositionConfigurationsCommand, se_ListPositionConfigurationsCommand } from "../protocols/Aws_restJson1";
1211

1312
/**

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export interface UpdateMetricConfigurationCommandInput extends UpdateMetricConfi
2727
export interface UpdateMetricConfigurationCommandOutput extends UpdateMetricConfigurationResponse, __MetadataBearer {}
2828

2929
/**
30-
* <p>Update the metric configuration.</p>
30+
* <p>Update the summary metric configuration.</p>
3131
* @example
3232
* Use a bare-bones client and the command you need to make an API call.
3333
* ```javascript

0 commit comments

Comments
 (0)