@aws-sdk/client-iot-wireless 3.315.0 → 3.316.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,7 +12,7 @@ export const se_AssociateAwsAccountWithPartnerAccountCommand = async (input, con
12
12
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/partner-accounts";
13
13
  let body;
14
14
  body = JSON.stringify(take(input, {
15
- ClientRequestToken: (_) => _ ?? generateIdempotencyToken(),
15
+ ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
16
16
  Sidewalk: (_) => _json(_),
17
17
  Tags: (_) => _json(_),
18
18
  }));
@@ -176,7 +176,7 @@ export const se_CreateDestinationCommand = async (input, context) => {
176
176
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/destinations";
177
177
  let body;
178
178
  body = JSON.stringify(take(input, {
179
- ClientRequestToken: (_) => _ ?? generateIdempotencyToken(),
179
+ ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
180
180
  Description: [],
181
181
  Expression: [],
182
182
  ExpressionType: [],
@@ -202,7 +202,7 @@ export const se_CreateDeviceProfileCommand = async (input, context) => {
202
202
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/device-profiles";
203
203
  let body;
204
204
  body = JSON.stringify(take(input, {
205
- ClientRequestToken: (_) => _ ?? generateIdempotencyToken(),
205
+ ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
206
206
  LoRaWAN: (_) => _json(_),
207
207
  Name: [],
208
208
  Sidewalk: (_) => _json(_),
@@ -226,7 +226,7 @@ export const se_CreateFuotaTaskCommand = async (input, context) => {
226
226
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/fuota-tasks";
227
227
  let body;
228
228
  body = JSON.stringify(take(input, {
229
- ClientRequestToken: (_) => _ ?? generateIdempotencyToken(),
229
+ ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
230
230
  Description: [],
231
231
  FirmwareUpdateImage: [],
232
232
  FirmwareUpdateRole: [],
@@ -255,7 +255,7 @@ export const se_CreateMulticastGroupCommand = async (input, context) => {
255
255
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/multicast-groups";
256
256
  let body;
257
257
  body = JSON.stringify(take(input, {
258
- ClientRequestToken: (_) => _ ?? generateIdempotencyToken(),
258
+ ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
259
259
  Description: [],
260
260
  LoRaWAN: (_) => _json(_),
261
261
  Name: [],
@@ -279,7 +279,7 @@ export const se_CreateNetworkAnalyzerConfigurationCommand = async (input, contex
279
279
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/network-analyzer-configurations";
280
280
  let body;
281
281
  body = JSON.stringify(take(input, {
282
- ClientRequestToken: (_) => _ ?? generateIdempotencyToken(),
282
+ ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
283
283
  Description: [],
284
284
  Name: [],
285
285
  Tags: (_) => _json(_),
@@ -305,7 +305,7 @@ export const se_CreateServiceProfileCommand = async (input, context) => {
305
305
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/service-profiles";
306
306
  let body;
307
307
  body = JSON.stringify(take(input, {
308
- ClientRequestToken: (_) => _ ?? generateIdempotencyToken(),
308
+ ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
309
309
  LoRaWAN: (_) => _json(_),
310
310
  Name: [],
311
311
  Tags: (_) => _json(_),
@@ -328,7 +328,7 @@ export const se_CreateWirelessDeviceCommand = async (input, context) => {
328
328
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/wireless-devices";
329
329
  let body;
330
330
  body = JSON.stringify(take(input, {
331
- ClientRequestToken: (_) => _ ?? generateIdempotencyToken(),
331
+ ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
332
332
  Description: [],
333
333
  DestinationName: [],
334
334
  LoRaWAN: (_) => _json(_),
@@ -356,7 +356,7 @@ export const se_CreateWirelessGatewayCommand = async (input, context) => {
356
356
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/wireless-gateways";
357
357
  let body;
358
358
  body = JSON.stringify(take(input, {
359
- ClientRequestToken: (_) => _ ?? generateIdempotencyToken(),
359
+ ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
360
360
  Description: [],
361
361
  LoRaWAN: (_) => se_LoRaWANGateway(_, context),
362
362
  Name: [],
@@ -402,7 +402,7 @@ export const se_CreateWirelessGatewayTaskDefinitionCommand = async (input, conte
402
402
  let body;
403
403
  body = JSON.stringify(take(input, {
404
404
  AutoCreateTasks: [],
405
- ClientRequestToken: (_) => _ ?? generateIdempotencyToken(),
405
+ ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
406
406
  Name: [],
407
407
  Tags: (_) => _json(_),
408
408
  Update: (_) => _json(_),
@@ -1809,7 +1809,7 @@ export const se_StartSingleWirelessDeviceImportTaskCommand = async (input, conte
1809
1809
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/wireless_single_device_import_task";
1810
1810
  let body;
1811
1811
  body = JSON.stringify(take(input, {
1812
- ClientRequestToken: (_) => _ ?? generateIdempotencyToken(),
1812
+ ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
1813
1813
  DestinationName: [],
1814
1814
  DeviceName: [],
1815
1815
  Sidewalk: (_) => _json(_),
@@ -1833,7 +1833,7 @@ export const se_StartWirelessDeviceImportTaskCommand = async (input, context) =>
1833
1833
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/wireless_device_import_task";
1834
1834
  let body;
1835
1835
  body = JSON.stringify(take(input, {
1836
- ClientRequestToken: (_) => _ ?? generateIdempotencyToken(),
1836
+ ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
1837
1837
  DestinationName: [],
1838
1838
  Sidewalk: (_) => _json(_),
1839
1839
  Tags: (_) => _json(_),