@aws-sdk/client-iot-wireless 3.276.0 → 3.279.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.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const r = "fn", s = "argv", t = "ref";
5
- const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [t]: "Endpoint" }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, k = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, l = {}, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: d }, "supportsFIPS"] }] }, n = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: d }, "supportsDualStack"] }] }, o = [i], p = [j], q = [k];
6
- const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [r]: "aws.partition", [s]: [{ [t]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [r]: "isSet", [s]: o }, { [r]: "parseURL", [s]: o, assign: "url" }], type: e, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://api.iotwireless-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://api.iotwireless-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: q, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://api.iotwireless.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://api.iotwireless.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
4
+ const s = "required", t = "fn", u = "argv", v = "ref";
5
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "stringEquals", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [v]: "Region" }, n = { [t]: "booleanEquals", [u]: [true, { [t]: "getAttr", [u]: [{ [v]: e }, "supportsFIPS"] }] }, o = { [t]: "booleanEquals", [u]: [true, { [t]: "getAttr", [u]: [{ [v]: e }, "supportsDualStack"] }] }, p = [j], q = [k], r = [m];
6
+ const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [n, o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://api.iotwireless-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [n], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://api.iotwireless-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://api.iotwireless.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ conditions: [{ [t]: f, [u]: [m, "ap-northeast-1"] }], endpoint: { url: "https://api.iotwireless.ap-northeast-1.amazonaws.com", properties: l, headers: l }, type: d }, { conditions: [{ [t]: f, [u]: [m, "ap-southeast-2"] }], endpoint: { url: "https://api.iotwireless.ap-southeast-2.amazonaws.com", properties: l, headers: l }, type: d }, { conditions: [{ [t]: f, [u]: [m, "eu-west-1"] }], endpoint: { url: "https://api.iotwireless.eu-west-1.amazonaws.com", properties: l, headers: l }, type: d }, { conditions: [{ [t]: f, [u]: [m, "us-east-1"] }], endpoint: { url: "https://api.iotwireless.us-east-1.amazonaws.com", properties: l, headers: l }, type: d }, { conditions: [{ [t]: f, [u]: [m, "us-west-2"] }], endpoint: { url: "https://api.iotwireless.us-west-2.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://api.iotwireless.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
7
7
  exports.ruleSet = _data;
@@ -246,8 +246,11 @@ const serializeAws_restJson1CreateFuotaTaskCommand = async (input, context) => {
246
246
  ...(input.Description != null && { Description: input.Description }),
247
247
  ...(input.FirmwareUpdateImage != null && { FirmwareUpdateImage: input.FirmwareUpdateImage }),
248
248
  ...(input.FirmwareUpdateRole != null && { FirmwareUpdateRole: input.FirmwareUpdateRole }),
249
+ ...(input.FragmentIntervalMS != null && { FragmentIntervalMS: input.FragmentIntervalMS }),
250
+ ...(input.FragmentSizeBytes != null && { FragmentSizeBytes: input.FragmentSizeBytes }),
249
251
  ...(input.LoRaWAN != null && { LoRaWAN: serializeAws_restJson1LoRaWANFuotaTask(input.LoRaWAN, context) }),
250
252
  ...(input.Name != null && { Name: input.Name }),
253
+ ...(input.RedundancyPercent != null && { RedundancyPercent: input.RedundancyPercent }),
251
254
  ...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
252
255
  });
253
256
  return new protocol_http_1.HttpRequest({
@@ -1948,8 +1951,11 @@ const serializeAws_restJson1UpdateFuotaTaskCommand = async (input, context) => {
1948
1951
  ...(input.Description != null && { Description: input.Description }),
1949
1952
  ...(input.FirmwareUpdateImage != null && { FirmwareUpdateImage: input.FirmwareUpdateImage }),
1950
1953
  ...(input.FirmwareUpdateRole != null && { FirmwareUpdateRole: input.FirmwareUpdateRole }),
1954
+ ...(input.FragmentIntervalMS != null && { FragmentIntervalMS: input.FragmentIntervalMS }),
1955
+ ...(input.FragmentSizeBytes != null && { FragmentSizeBytes: input.FragmentSizeBytes }),
1951
1956
  ...(input.LoRaWAN != null && { LoRaWAN: serializeAws_restJson1LoRaWANFuotaTask(input.LoRaWAN, context) }),
1952
1957
  ...(input.Name != null && { Name: input.Name }),
1958
+ ...(input.RedundancyPercent != null && { RedundancyPercent: input.RedundancyPercent }),
1953
1959
  });
1954
1960
  return new protocol_http_1.HttpRequest({
1955
1961
  protocol,
@@ -4097,6 +4103,12 @@ const deserializeAws_restJson1GetFuotaTaskCommand = async (output, context) => {
4097
4103
  if (data.FirmwareUpdateRole != null) {
4098
4104
  contents.FirmwareUpdateRole = (0, smithy_client_1.expectString)(data.FirmwareUpdateRole);
4099
4105
  }
4106
+ if (data.FragmentIntervalMS != null) {
4107
+ contents.FragmentIntervalMS = (0, smithy_client_1.expectInt32)(data.FragmentIntervalMS);
4108
+ }
4109
+ if (data.FragmentSizeBytes != null) {
4110
+ contents.FragmentSizeBytes = (0, smithy_client_1.expectInt32)(data.FragmentSizeBytes);
4111
+ }
4100
4112
  if (data.Id != null) {
4101
4113
  contents.Id = (0, smithy_client_1.expectString)(data.Id);
4102
4114
  }
@@ -4106,6 +4118,9 @@ const deserializeAws_restJson1GetFuotaTaskCommand = async (output, context) => {
4106
4118
  if (data.Name != null) {
4107
4119
  contents.Name = (0, smithy_client_1.expectString)(data.Name);
4108
4120
  }
4121
+ if (data.RedundancyPercent != null) {
4122
+ contents.RedundancyPercent = (0, smithy_client_1.expectInt32)(data.RedundancyPercent);
4123
+ }
4109
4124
  if (data.Status != null) {
4110
4125
  contents.Status = (0, smithy_client_1.expectString)(data.Status);
4111
4126
  }
@@ -1,4 +1,4 @@
1
- const r = "fn", s = "argv", t = "ref";
2
- const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [t]: "Endpoint" }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, k = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, l = {}, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: d }, "supportsFIPS"] }] }, n = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: d }, "supportsDualStack"] }] }, o = [i], p = [j], q = [k];
3
- const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [r]: "aws.partition", [s]: [{ [t]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [r]: "isSet", [s]: o }, { [r]: "parseURL", [s]: o, assign: "url" }], type: e, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://api.iotwireless-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://api.iotwireless-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: q, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://api.iotwireless.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://api.iotwireless.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
1
+ const s = "required", t = "fn", u = "argv", v = "ref";
2
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "stringEquals", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [v]: "Region" }, n = { [t]: "booleanEquals", [u]: [true, { [t]: "getAttr", [u]: [{ [v]: e }, "supportsFIPS"] }] }, o = { [t]: "booleanEquals", [u]: [true, { [t]: "getAttr", [u]: [{ [v]: e }, "supportsDualStack"] }] }, p = [j], q = [k], r = [m];
3
+ const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [n, o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://api.iotwireless-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [n], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://api.iotwireless-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://api.iotwireless.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ conditions: [{ [t]: f, [u]: [m, "ap-northeast-1"] }], endpoint: { url: "https://api.iotwireless.ap-northeast-1.amazonaws.com", properties: l, headers: l }, type: d }, { conditions: [{ [t]: f, [u]: [m, "ap-southeast-2"] }], endpoint: { url: "https://api.iotwireless.ap-southeast-2.amazonaws.com", properties: l, headers: l }, type: d }, { conditions: [{ [t]: f, [u]: [m, "eu-west-1"] }], endpoint: { url: "https://api.iotwireless.eu-west-1.amazonaws.com", properties: l, headers: l }, type: d }, { conditions: [{ [t]: f, [u]: [m, "us-east-1"] }], endpoint: { url: "https://api.iotwireless.us-east-1.amazonaws.com", properties: l, headers: l }, type: d }, { conditions: [{ [t]: f, [u]: [m, "us-west-2"] }], endpoint: { url: "https://api.iotwireless.us-west-2.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://api.iotwireless.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
4
4
  export const ruleSet = _data;
@@ -229,8 +229,11 @@ export const serializeAws_restJson1CreateFuotaTaskCommand = async (input, contex
229
229
  ...(input.Description != null && { Description: input.Description }),
230
230
  ...(input.FirmwareUpdateImage != null && { FirmwareUpdateImage: input.FirmwareUpdateImage }),
231
231
  ...(input.FirmwareUpdateRole != null && { FirmwareUpdateRole: input.FirmwareUpdateRole }),
232
+ ...(input.FragmentIntervalMS != null && { FragmentIntervalMS: input.FragmentIntervalMS }),
233
+ ...(input.FragmentSizeBytes != null && { FragmentSizeBytes: input.FragmentSizeBytes }),
232
234
  ...(input.LoRaWAN != null && { LoRaWAN: serializeAws_restJson1LoRaWANFuotaTask(input.LoRaWAN, context) }),
233
235
  ...(input.Name != null && { Name: input.Name }),
236
+ ...(input.RedundancyPercent != null && { RedundancyPercent: input.RedundancyPercent }),
234
237
  ...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
235
238
  });
236
239
  return new __HttpRequest({
@@ -1850,8 +1853,11 @@ export const serializeAws_restJson1UpdateFuotaTaskCommand = async (input, contex
1850
1853
  ...(input.Description != null && { Description: input.Description }),
1851
1854
  ...(input.FirmwareUpdateImage != null && { FirmwareUpdateImage: input.FirmwareUpdateImage }),
1852
1855
  ...(input.FirmwareUpdateRole != null && { FirmwareUpdateRole: input.FirmwareUpdateRole }),
1856
+ ...(input.FragmentIntervalMS != null && { FragmentIntervalMS: input.FragmentIntervalMS }),
1857
+ ...(input.FragmentSizeBytes != null && { FragmentSizeBytes: input.FragmentSizeBytes }),
1853
1858
  ...(input.LoRaWAN != null && { LoRaWAN: serializeAws_restJson1LoRaWANFuotaTask(input.LoRaWAN, context) }),
1854
1859
  ...(input.Name != null && { Name: input.Name }),
1860
+ ...(input.RedundancyPercent != null && { RedundancyPercent: input.RedundancyPercent }),
1855
1861
  });
1856
1862
  return new __HttpRequest({
1857
1863
  protocol,
@@ -3950,6 +3956,12 @@ export const deserializeAws_restJson1GetFuotaTaskCommand = async (output, contex
3950
3956
  if (data.FirmwareUpdateRole != null) {
3951
3957
  contents.FirmwareUpdateRole = __expectString(data.FirmwareUpdateRole);
3952
3958
  }
3959
+ if (data.FragmentIntervalMS != null) {
3960
+ contents.FragmentIntervalMS = __expectInt32(data.FragmentIntervalMS);
3961
+ }
3962
+ if (data.FragmentSizeBytes != null) {
3963
+ contents.FragmentSizeBytes = __expectInt32(data.FragmentSizeBytes);
3964
+ }
3953
3965
  if (data.Id != null) {
3954
3966
  contents.Id = __expectString(data.Id);
3955
3967
  }
@@ -3959,6 +3971,9 @@ export const deserializeAws_restJson1GetFuotaTaskCommand = async (output, contex
3959
3971
  if (data.Name != null) {
3960
3972
  contents.Name = __expectString(data.Name);
3961
3973
  }
3974
+ if (data.RedundancyPercent != null) {
3975
+ contents.RedundancyPercent = __expectInt32(data.RedundancyPercent);
3976
+ }
3962
3977
  if (data.Status != null) {
3963
3978
  contents.Status = __expectString(data.Status);
3964
3979
  }
@@ -106,10 +106,10 @@ import { IoTWirelessClient } from "./IoTWirelessClient";
106
106
  * devices and the AWS Cloud. To onboard both LoRaWAN and Sidewalk devices to AWS IoT, use the
107
107
  * IoT Wireless API. These wireless devices use the Low Power Wide Area Networking (LPWAN)
108
108
  * communication protocol to communicate with AWS IoT.</p>
109
- * <p>Using the API, you can perform create, read, update, and delete operations for your wireless
109
+ * <p>Using the API, you can perform create, read, update, and delete operations for your wireless
110
110
  * devices, gateways, destinations, and profiles. After onboarding your devices, you
111
111
  * can use the API operations to set log levels and monitor your devices with CloudWatch.</p>
112
- * <p>You can also use the API operations to create multicast groups and schedule a multicast session for
112
+ * <p>You can also use the API operations to create multicast groups and schedule a multicast session for
113
113
  * sending a downlink message to devices in the group. By using Firmware Updates Over-The-Air
114
114
  * (FUOTA) API operations, you can create a FUOTA task and schedule a session to update the firmware
115
115
  * of individual devices or an entire group of devices in a multicast group.</p>
@@ -390,11 +390,11 @@ export declare class IoTWireless extends IoTWirelessClient {
390
390
  * @deprecated
391
391
  *
392
392
  * <p>Get the position information for a given resource.</p>
393
- * <important>
393
+ * <important>
394
394
  * <p>This action is no longer supported. Calls to retrieve the position information
395
395
  * should use the <a href="https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_GetResourcePosition.html">GetResourcePosition</a>
396
396
  * API operation instead.</p>
397
- * </important>
397
+ * </important>
398
398
  */
399
399
  getPosition(args: GetPositionCommandInput, options?: __HttpHandlerOptions): Promise<GetPositionCommandOutput>;
400
400
  getPosition(args: GetPositionCommandInput, cb: (err: any, data?: GetPositionCommandOutput) => void): void;
@@ -403,11 +403,11 @@ export declare class IoTWireless extends IoTWirelessClient {
403
403
  * @deprecated
404
404
  *
405
405
  * <p>Get position configuration for a given resource.</p>
406
- * <important>
406
+ * <important>
407
407
  * <p>This action is no longer supported. Calls to retrieve the position configuration
408
408
  * should use the <a href="https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_GetResourcePosition.html">GetResourcePosition</a>
409
409
  * API operation instead.</p>
410
- * </important>
410
+ * </important>
411
411
  */
412
412
  getPositionConfiguration(args: GetPositionConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetPositionConfigurationCommandOutput>;
413
413
  getPositionConfiguration(args: GetPositionConfigurationCommandInput, cb: (err: any, data?: GetPositionConfigurationCommandOutput) => void): void;
@@ -433,9 +433,9 @@ export declare class IoTWireless extends IoTWirelessClient {
433
433
  getResourceLogLevel(args: GetResourceLogLevelCommandInput, cb: (err: any, data?: GetResourceLogLevelCommandOutput) => void): void;
434
434
  getResourceLogLevel(args: GetResourceLogLevelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourceLogLevelCommandOutput) => void): void;
435
435
  /**
436
- * <p>Get the position information for a given wireless device or a wireless gateway resource. The postion
437
- * information uses the <a href="https://gisgeography.com/wgs84-world-geodetic-system/">
438
- * World Geodetic System (WGS84)</a>.</p>
436
+ * <p>Get the position information for a given wireless device or a wireless gateway resource.
437
+ * The position information uses the <a href="https://gisgeography.com/wgs84-world-geodetic-system/"> World Geodetic System
438
+ * (WGS84)</a>.</p>
439
439
  */
440
440
  getResourcePosition(args: GetResourcePositionCommandInput, options?: __HttpHandlerOptions): Promise<GetResourcePositionCommandOutput>;
441
441
  getResourcePosition(args: GetResourcePositionCommandInput, cb: (err: any, data?: GetResourcePositionCommandOutput) => void): void;
@@ -552,11 +552,11 @@ export declare class IoTWireless extends IoTWirelessClient {
552
552
  * @deprecated
553
553
  *
554
554
  * <p>List position configurations for a given resource, such as positioning solvers.</p>
555
- * <important>
555
+ * <important>
556
556
  * <p>This action is no longer supported. Calls to retrieve position information
557
557
  * should use the <a href="https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_GetResourcePosition.html">GetResourcePosition</a>
558
558
  * API operation instead.</p>
559
- * </important>
559
+ * </important>
560
560
  */
561
561
  listPositionConfigurations(args: ListPositionConfigurationsCommandInput, options?: __HttpHandlerOptions): Promise<ListPositionConfigurationsCommandOutput>;
562
562
  listPositionConfigurations(args: ListPositionConfigurationsCommandInput, cb: (err: any, data?: ListPositionConfigurationsCommandOutput) => void): void;
@@ -601,10 +601,10 @@ export declare class IoTWireless extends IoTWirelessClient {
601
601
  * @deprecated
602
602
  *
603
603
  * <p>Put position configuration for a given resource.</p>
604
- * <important>
604
+ * <important>
605
605
  * <p>This action is no longer supported. Calls to update the position configuration
606
606
  * should use the <a href="https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_UpdateResourcePosition.html">UpdateResourcePosition</a> API operation instead.</p>
607
- * </important>
607
+ * </important>
608
608
  */
609
609
  putPositionConfiguration(args: PutPositionConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<PutPositionConfigurationCommandOutput>;
610
610
  putPositionConfiguration(args: PutPositionConfigurationCommandInput, cb: (err: any, data?: PutPositionConfigurationCommandOutput) => void): void;
@@ -730,10 +730,10 @@ export declare class IoTWireless extends IoTWirelessClient {
730
730
  * @deprecated
731
731
  *
732
732
  * <p>Update the position information of a resource.</p>
733
- * <important>
733
+ * <important>
734
734
  * <p>This action is no longer supported. Calls to update the position information
735
735
  * should use the <a href="https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_UpdateResourcePosition.html">UpdateResourcePosition</a> API operation instead.</p>
736
- * </important>
736
+ * </important>
737
737
  */
738
738
  updatePosition(args: UpdatePositionCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePositionCommandOutput>;
739
739
  updatePosition(args: UpdatePositionCommandInput, cb: (err: any, data?: UpdatePositionCommandOutput) => void): void;
@@ -745,9 +745,9 @@ export declare class IoTWireless extends IoTWirelessClient {
745
745
  updateResourceEventConfiguration(args: UpdateResourceEventConfigurationCommandInput, cb: (err: any, data?: UpdateResourceEventConfigurationCommandOutput) => void): void;
746
746
  updateResourceEventConfiguration(args: UpdateResourceEventConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateResourceEventConfigurationCommandOutput) => void): void;
747
747
  /**
748
- * <p>Update the position information of a given wireless device or a wireless gateway resource. The postion
749
- * coordinates are based on the <a href="https://gisgeography.com/wgs84-world-geodetic-system/">
750
- * World Geodetic System (WGS84)</a>.</p>
748
+ * <p>Update the position information of a given wireless device or a wireless gateway
749
+ * resource. The position coordinates are based on the <a href="https://gisgeography.com/wgs84-world-geodetic-system/"> World Geodetic System
750
+ * (WGS84)</a>.</p>
751
751
  */
752
752
  updateResourcePosition(args: UpdateResourcePositionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateResourcePositionCommandOutput>;
753
753
  updateResourcePosition(args: UpdateResourcePositionCommandInput, cb: (err: any, data?: UpdateResourcePositionCommandOutput) => void): void;
@@ -228,10 +228,10 @@ export interface IoTWirelessClientResolvedConfig extends IoTWirelessClientResolv
228
228
  * devices and the AWS Cloud. To onboard both LoRaWAN and Sidewalk devices to AWS IoT, use the
229
229
  * IoT Wireless API. These wireless devices use the Low Power Wide Area Networking (LPWAN)
230
230
  * communication protocol to communicate with AWS IoT.</p>
231
- * <p>Using the API, you can perform create, read, update, and delete operations for your wireless
231
+ * <p>Using the API, you can perform create, read, update, and delete operations for your wireless
232
232
  * devices, gateways, destinations, and profiles. After onboarding your devices, you
233
233
  * can use the API operations to set log levels and monitor your devices with CloudWatch.</p>
234
- * <p>You can also use the API operations to create multicast groups and schedule a multicast session for
234
+ * <p>You can also use the API operations to create multicast groups and schedule a multicast session for
235
235
  * sending a downlink message to devices in the group. By using Firmware Updates Over-The-Air
236
236
  * (FUOTA) API operations, you can create a FUOTA task and schedule a session to update the firmware
237
237
  * of individual devices or an entire group of devices in a multicast group.</p>
@@ -11,11 +11,11 @@ export interface GetPositionCommandOutput extends GetPositionResponse, __Metadat
11
11
  * @deprecated
12
12
  *
13
13
  * <p>Get the position information for a given resource.</p>
14
- * <important>
14
+ * <important>
15
15
  * <p>This action is no longer supported. Calls to retrieve the position information
16
16
  * should use the <a href="https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_GetResourcePosition.html">GetResourcePosition</a>
17
17
  * API operation instead.</p>
18
- * </important>
18
+ * </important>
19
19
  * @example
20
20
  * Use a bare-bones client and the command you need to make an API call.
21
21
  * ```javascript
@@ -11,11 +11,11 @@ export interface GetPositionConfigurationCommandOutput extends GetPositionConfig
11
11
  * @deprecated
12
12
  *
13
13
  * <p>Get position configuration for a given resource.</p>
14
- * <important>
14
+ * <important>
15
15
  * <p>This action is no longer supported. Calls to retrieve the position configuration
16
16
  * should use the <a href="https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_GetResourcePosition.html">GetResourcePosition</a>
17
17
  * API operation instead.</p>
18
- * </important>
18
+ * </important>
19
19
  * @example
20
20
  * Use a bare-bones client and the command you need to make an API call.
21
21
  * ```javascript
@@ -8,9 +8,9 @@ export interface GetResourcePositionCommandInput extends GetResourcePositionRequ
8
8
  export interface GetResourcePositionCommandOutput extends GetResourcePositionResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Get the position information for a given wireless device or a wireless gateway resource. The postion
12
- * information uses the <a href="https://gisgeography.com/wgs84-world-geodetic-system/">
13
- * World Geodetic System (WGS84)</a>.</p>
11
+ * <p>Get the position information for a given wireless device or a wireless gateway resource.
12
+ * The position information uses the <a href="https://gisgeography.com/wgs84-world-geodetic-system/"> World Geodetic System
13
+ * (WGS84)</a>.</p>
14
14
  * @example
15
15
  * Use a bare-bones client and the command you need to make an API call.
16
16
  * ```javascript
@@ -11,11 +11,11 @@ export interface ListPositionConfigurationsCommandOutput extends ListPositionCon
11
11
  * @deprecated
12
12
  *
13
13
  * <p>List position configurations for a given resource, such as positioning solvers.</p>
14
- * <important>
14
+ * <important>
15
15
  * <p>This action is no longer supported. Calls to retrieve position information
16
16
  * should use the <a href="https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_GetResourcePosition.html">GetResourcePosition</a>
17
17
  * API operation instead.</p>
18
- * </important>
18
+ * </important>
19
19
  * @example
20
20
  * Use a bare-bones client and the command you need to make an API call.
21
21
  * ```javascript
@@ -11,10 +11,10 @@ export interface PutPositionConfigurationCommandOutput extends PutPositionConfig
11
11
  * @deprecated
12
12
  *
13
13
  * <p>Put position configuration for a given resource.</p>
14
- * <important>
14
+ * <important>
15
15
  * <p>This action is no longer supported. Calls to update the position configuration
16
16
  * should use the <a href="https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_UpdateResourcePosition.html">UpdateResourcePosition</a> API operation instead.</p>
17
- * </important>
17
+ * </important>
18
18
  * @example
19
19
  * Use a bare-bones client and the command you need to make an API call.
20
20
  * ```javascript
@@ -11,10 +11,10 @@ export interface UpdatePositionCommandOutput extends UpdatePositionResponse, __M
11
11
  * @deprecated
12
12
  *
13
13
  * <p>Update the position information of a resource.</p>
14
- * <important>
14
+ * <important>
15
15
  * <p>This action is no longer supported. Calls to update the position information
16
16
  * should use the <a href="https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_UpdateResourcePosition.html">UpdateResourcePosition</a> API operation instead.</p>
17
- * </important>
17
+ * </important>
18
18
  * @example
19
19
  * Use a bare-bones client and the command you need to make an API call.
20
20
  * ```javascript
@@ -8,9 +8,9 @@ export interface UpdateResourcePositionCommandInput extends UpdateResourcePositi
8
8
  export interface UpdateResourcePositionCommandOutput extends UpdateResourcePositionResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Update the position information of a given wireless device or a wireless gateway resource. The postion
12
- * coordinates are based on the <a href="https://gisgeography.com/wgs84-world-geodetic-system/">
13
- * World Geodetic System (WGS84)</a>.</p>
11
+ * <p>Update the position information of a given wireless device or a wireless gateway
12
+ * resource. The position coordinates are based on the <a href="https://gisgeography.com/wgs84-world-geodetic-system/"> World Geodetic System
13
+ * (WGS84)</a>.</p>
14
14
  * @example
15
15
  * Use a bare-bones client and the command you need to make an API call.
16
16
  * ```javascript
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
12
12
  defaultSigningName: string;
13
13
  };
14
14
  export interface EndpointParameters extends __EndpointParameters {
15
- Region: string;
15
+ Region?: string;
16
16
  UseDualStack?: boolean;
17
17
  UseFIPS?: boolean;
18
18
  Endpoint?: string;
@@ -413,7 +413,7 @@ export interface CdmaObj {
413
413
  */
414
414
  BaseLat?: number;
415
415
  /**
416
- * <p>CDMA base station longtitude in degrees.</p>
416
+ * <p>CDMA base station longitude in degrees.</p>
417
417
  */
418
418
  BaseLng?: number;
419
419
  /**
@@ -1035,6 +1035,22 @@ export interface CreateFuotaTaskRequest {
1035
1035
  * <p>The tag to attach to the specified resource. Tags are metadata that you can use to manage a resource.</p>
1036
1036
  */
1037
1037
  Tags?: Tag[];
1038
+ /**
1039
+ * <p>The percentage of added redundant fragments. For example, if firmware file is
1040
+ * 100 bytes and fragment size is 10 bytes, with <code>RedundancyPercent</code> set to 50(%),
1041
+ * the final number of encoded fragments is (100 / 10) + (100 / 10 * 50%) = 15.</p>
1042
+ */
1043
+ RedundancyPercent?: number;
1044
+ /**
1045
+ * <p>The size of each fragment in bytes. Currently only supported in fuota tasks with multicast groups.</p>
1046
+ */
1047
+ FragmentSizeBytes?: number;
1048
+ /**
1049
+ * <p>The interval of sending fragments in milliseconds. Currently the interval will be rounded to the nearest second.
1050
+ * Note that this interval only controls the timing when the cloud sends the fragments down.
1051
+ * The actual delay of receiving fragments at device side depends on the device's class and the communication delay with the cloud.</p>
1052
+ */
1053
+ FragmentIntervalMS?: number;
1038
1054
  }
1039
1055
  export interface CreateFuotaTaskResponse {
1040
1056
  /**
@@ -2225,6 +2241,22 @@ export interface GetFuotaTaskResponse {
2225
2241
  * <p>Created at timestamp for the resource.</p>
2226
2242
  */
2227
2243
  CreatedAt?: Date;
2244
+ /**
2245
+ * <p>The percentage of added redundant fragments. For example, if firmware file is
2246
+ * 100 bytes and fragment size is 10 bytes, with <code>RedundancyPercent</code> set to 50(%),
2247
+ * the final number of encoded fragments is (100 / 10) + (100 / 10 * 50%) = 15.</p>
2248
+ */
2249
+ RedundancyPercent?: number;
2250
+ /**
2251
+ * <p>The size of each fragment in bytes. Currently only supported in fuota tasks with multicast groups.</p>
2252
+ */
2253
+ FragmentSizeBytes?: number;
2254
+ /**
2255
+ * <p>The interval of sending fragments in milliseconds. Currently the interval will be rounded to the nearest second.
2256
+ * Note that this interval only controls the timing when the cloud sends the fragments down.
2257
+ * The actual delay of receiving fragments at device side depends on the device's class and the communication delay with the cloud.</p>
2258
+ */
2259
+ FragmentIntervalMS?: number;
2228
2260
  }
2229
2261
  export interface GetLogLevelsByResourceTypesRequest {
2230
2262
  }
@@ -2610,8 +2642,8 @@ export interface Gnss {
2610
2642
  */
2611
2643
  CaptureTimeAccuracy?: number;
2612
2644
  /**
2613
- * <p>Optional assistance position information, specified using latitude and longitude values in degrees.
2614
- * The co-ordinates are inside the WGS84 reference frame.</p>
2645
+ * <p>Optional assistance position information, specified using latitude and longitude values
2646
+ * in degrees. The coordinates are inside the WGS84 reference frame.</p>
2615
2647
  */
2616
2648
  AssistPosition?: number[];
2617
2649
  /**
@@ -2669,8 +2701,9 @@ export interface GetPositionEstimateRequest {
2669
2701
  */
2670
2702
  Gnss?: Gnss;
2671
2703
  /**
2672
- * <p>Optional information that specifies the time when the position information will be resolved. It
2673
- * uses the UNIX timestamp format. If not specified, the time at which the request was received will be used.</p>
2704
+ * <p>Optional information that specifies the time when the position information will be
2705
+ * resolved. It uses the Unix timestamp format. If not specified, the time at which the
2706
+ * request was received will be used.</p>
2674
2707
  */
2675
2708
  Timestamp?: Date;
2676
2709
  }
@@ -2737,8 +2770,9 @@ export interface GetResourceLogLevelResponse {
2737
2770
  }
2738
2771
  export interface GetResourcePositionRequest {
2739
2772
  /**
2740
- * <p>The identifier of the resource for which position information is retrieved. It can be the wireless
2741
- * device ID or the wireless gateway ID depending on the resource type.</p>
2773
+ * <p>The identifier of the resource for which position information is retrieved. It can be
2774
+ * the wireless device ID or the wireless gateway ID, depending on the resource
2775
+ * type.</p>
2742
2776
  */
2743
2777
  ResourceIdentifier: string | undefined;
2744
2778
  /**
@@ -272,6 +272,22 @@ export interface UpdateFuotaTaskRequest {
272
272
  * <p>The firmware update role that is to be used with a FUOTA task.</p>
273
273
  */
274
274
  FirmwareUpdateRole?: string;
275
+ /**
276
+ * <p>The percentage of added redundant fragments. For example, if firmware file is
277
+ * 100 bytes and fragment size is 10 bytes, with <code>RedundancyPercent</code> set to 50(%),
278
+ * the final number of encoded fragments is (100 / 10) + (100 / 10 * 50%) = 15.</p>
279
+ */
280
+ RedundancyPercent?: number;
281
+ /**
282
+ * <p>The size of each fragment in bytes. Currently only supported in fuota tasks with multicast groups.</p>
283
+ */
284
+ FragmentSizeBytes?: number;
285
+ /**
286
+ * <p>The interval of sending fragments in milliseconds. Currently the interval will be rounded to the nearest second.
287
+ * Note that this interval only controls the timing when the cloud sends the fragments down.
288
+ * The actual delay of receiving fragments at device side depends on the device's class and the communication delay with the cloud.</p>
289
+ */
290
+ FragmentIntervalMS?: number;
275
291
  }
276
292
  export interface UpdateFuotaTaskResponse {
277
293
  }
@@ -428,8 +444,8 @@ export interface UpdateResourceEventConfigurationResponse {
428
444
  }
429
445
  export interface UpdateResourcePositionRequest {
430
446
  /**
431
- * <p>The identifier of the resource for which position information is updated. It can be the wireless
432
- * device ID or the wireless gateway ID depending on the resource type.</p>
447
+ * <p>The identifier of the resource for which position information is updated. It can be the
448
+ * wireless device ID or the wireless gateway ID, depending on the resource type.</p>
433
449
  */
434
450
  ResourceIdentifier: string | undefined;
435
451
  /**
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
27
27
  defaultSigningName: string;
28
28
  };
29
29
  export interface EndpointParameters extends __EndpointParameters {
30
- Region: string;
30
+ Region?: string;
31
31
  UseDualStack?: boolean;
32
32
  UseFIPS?: boolean;
33
33
  Endpoint?: string;
@@ -356,6 +356,9 @@ export interface CreateFuotaTaskRequest {
356
356
  FirmwareUpdateImage: string | undefined;
357
357
  FirmwareUpdateRole: string | undefined;
358
358
  Tags?: Tag[];
359
+ RedundancyPercent?: number;
360
+ FragmentSizeBytes?: number;
361
+ FragmentIntervalMS?: number;
359
362
  }
360
363
  export interface CreateFuotaTaskResponse {
361
364
  Arn?: string;
@@ -806,6 +809,9 @@ export interface GetFuotaTaskResponse {
806
809
  FirmwareUpdateImage?: string;
807
810
  FirmwareUpdateRole?: string;
808
811
  CreatedAt?: Date;
812
+ RedundancyPercent?: number;
813
+ FragmentSizeBytes?: number;
814
+ FragmentIntervalMS?: number;
809
815
  }
810
816
  export interface GetLogLevelsByResourceTypesRequest {}
811
817
  export declare enum WirelessDeviceEvent {
@@ -135,6 +135,9 @@ export interface UpdateFuotaTaskRequest {
135
135
  LoRaWAN?: LoRaWANFuotaTask;
136
136
  FirmwareUpdateImage?: string;
137
137
  FirmwareUpdateRole?: string;
138
+ RedundancyPercent?: number;
139
+ FragmentSizeBytes?: number;
140
+ FragmentIntervalMS?: number;
138
141
  }
139
142
  export interface UpdateFuotaTaskResponse {}
140
143
  export interface UpdateLogLevelsByResourceTypesRequest {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iot-wireless",
3
3
  "description": "AWS SDK for JavaScript Iot Wireless Client for Node.js, Browser and React Native",
4
- "version": "3.276.0",
4
+ "version": "3.279.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,15 +20,15 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.276.0",
23
+ "@aws-sdk/client-sts": "3.279.0",
24
24
  "@aws-sdk/config-resolver": "3.272.0",
25
- "@aws-sdk/credential-provider-node": "3.272.0",
25
+ "@aws-sdk/credential-provider-node": "3.279.0",
26
26
  "@aws-sdk/fetch-http-handler": "3.272.0",
27
27
  "@aws-sdk/hash-node": "3.272.0",
28
28
  "@aws-sdk/invalid-dependency": "3.272.0",
29
29
  "@aws-sdk/middleware-content-length": "3.272.0",
30
30
  "@aws-sdk/middleware-endpoint": "3.272.0",
31
- "@aws-sdk/middleware-host-header": "3.272.0",
31
+ "@aws-sdk/middleware-host-header": "3.278.0",
32
32
  "@aws-sdk/middleware-logger": "3.272.0",
33
33
  "@aws-sdk/middleware-recursion-detection": "3.272.0",
34
34
  "@aws-sdk/middleware-retry": "3.272.0",
@@ -39,14 +39,14 @@
39
39
  "@aws-sdk/node-config-provider": "3.272.0",
40
40
  "@aws-sdk/node-http-handler": "3.272.0",
41
41
  "@aws-sdk/protocol-http": "3.272.0",
42
- "@aws-sdk/smithy-client": "3.272.0",
42
+ "@aws-sdk/smithy-client": "3.279.0",
43
43
  "@aws-sdk/types": "3.272.0",
44
44
  "@aws-sdk/url-parser": "3.272.0",
45
45
  "@aws-sdk/util-base64": "3.208.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.188.0",
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.272.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.272.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.279.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.279.0",
50
50
  "@aws-sdk/util-endpoints": "3.272.0",
51
51
  "@aws-sdk/util-retry": "3.272.0",
52
52
  "@aws-sdk/util-user-agent-browser": "3.272.0",