@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.
@@ -19,7 +19,7 @@ const se_AssociateAwsAccountWithPartnerAccountCommand = async (input, context) =
19
19
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/partner-accounts";
20
20
  let body;
21
21
  body = JSON.stringify((0, smithy_client_1.take)(input, {
22
- ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
22
+ ClientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
23
23
  Sidewalk: (_) => (0, smithy_client_1._json)(_),
24
24
  Tags: (_) => (0, smithy_client_1._json)(_),
25
25
  }));
@@ -191,7 +191,7 @@ const se_CreateDestinationCommand = async (input, context) => {
191
191
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/destinations";
192
192
  let body;
193
193
  body = JSON.stringify((0, smithy_client_1.take)(input, {
194
- ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
194
+ ClientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
195
195
  Description: [],
196
196
  Expression: [],
197
197
  ExpressionType: [],
@@ -218,7 +218,7 @@ const se_CreateDeviceProfileCommand = async (input, context) => {
218
218
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/device-profiles";
219
219
  let body;
220
220
  body = JSON.stringify((0, smithy_client_1.take)(input, {
221
- ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
221
+ ClientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
222
222
  LoRaWAN: (_) => (0, smithy_client_1._json)(_),
223
223
  Name: [],
224
224
  Sidewalk: (_) => (0, smithy_client_1._json)(_),
@@ -243,7 +243,7 @@ const se_CreateFuotaTaskCommand = async (input, context) => {
243
243
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/fuota-tasks";
244
244
  let body;
245
245
  body = JSON.stringify((0, smithy_client_1.take)(input, {
246
- ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
246
+ ClientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
247
247
  Description: [],
248
248
  FirmwareUpdateImage: [],
249
249
  FirmwareUpdateRole: [],
@@ -273,7 +273,7 @@ const se_CreateMulticastGroupCommand = async (input, context) => {
273
273
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/multicast-groups";
274
274
  let body;
275
275
  body = JSON.stringify((0, smithy_client_1.take)(input, {
276
- ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
276
+ ClientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
277
277
  Description: [],
278
278
  LoRaWAN: (_) => (0, smithy_client_1._json)(_),
279
279
  Name: [],
@@ -298,7 +298,7 @@ const se_CreateNetworkAnalyzerConfigurationCommand = async (input, context) => {
298
298
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/network-analyzer-configurations";
299
299
  let body;
300
300
  body = JSON.stringify((0, smithy_client_1.take)(input, {
301
- ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
301
+ ClientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
302
302
  Description: [],
303
303
  Name: [],
304
304
  Tags: (_) => (0, smithy_client_1._json)(_),
@@ -325,7 +325,7 @@ const se_CreateServiceProfileCommand = async (input, context) => {
325
325
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/service-profiles";
326
326
  let body;
327
327
  body = JSON.stringify((0, smithy_client_1.take)(input, {
328
- ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
328
+ ClientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
329
329
  LoRaWAN: (_) => (0, smithy_client_1._json)(_),
330
330
  Name: [],
331
331
  Tags: (_) => (0, smithy_client_1._json)(_),
@@ -349,7 +349,7 @@ const se_CreateWirelessDeviceCommand = async (input, context) => {
349
349
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/wireless-devices";
350
350
  let body;
351
351
  body = JSON.stringify((0, smithy_client_1.take)(input, {
352
- ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
352
+ ClientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
353
353
  Description: [],
354
354
  DestinationName: [],
355
355
  LoRaWAN: (_) => (0, smithy_client_1._json)(_),
@@ -378,7 +378,7 @@ const se_CreateWirelessGatewayCommand = async (input, context) => {
378
378
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/wireless-gateways";
379
379
  let body;
380
380
  body = JSON.stringify((0, smithy_client_1.take)(input, {
381
- ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
381
+ ClientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
382
382
  Description: [],
383
383
  LoRaWAN: (_) => se_LoRaWANGateway(_, context),
384
384
  Name: [],
@@ -426,7 +426,7 @@ const se_CreateWirelessGatewayTaskDefinitionCommand = async (input, context) =>
426
426
  let body;
427
427
  body = JSON.stringify((0, smithy_client_1.take)(input, {
428
428
  AutoCreateTasks: [],
429
- ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
429
+ ClientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
430
430
  Name: [],
431
431
  Tags: (_) => (0, smithy_client_1._json)(_),
432
432
  Update: (_) => (0, smithy_client_1._json)(_),
@@ -1907,7 +1907,7 @@ const se_StartSingleWirelessDeviceImportTaskCommand = async (input, context) =>
1907
1907
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/wireless_single_device_import_task";
1908
1908
  let body;
1909
1909
  body = JSON.stringify((0, smithy_client_1.take)(input, {
1910
- ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
1910
+ ClientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
1911
1911
  DestinationName: [],
1912
1912
  DeviceName: [],
1913
1913
  Sidewalk: (_) => (0, smithy_client_1._json)(_),
@@ -1932,7 +1932,7 @@ const se_StartWirelessDeviceImportTaskCommand = async (input, context) => {
1932
1932
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/wireless_device_import_task";
1933
1933
  let body;
1934
1934
  body = JSON.stringify((0, smithy_client_1.take)(input, {
1935
- ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
1935
+ ClientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
1936
1936
  DestinationName: [],
1937
1937
  Sidewalk: (_) => (0, smithy_client_1._json)(_),
1938
1938
  Tags: (_) => (0, smithy_client_1._json)(_),