aws-sdk-iotwireless 1.29.0 → 1.30.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iotwireless/client.rb +53 -7
- data/lib/aws-sdk-iotwireless/client_api.rb +12 -0
- data/lib/aws-sdk-iotwireless/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-iotwireless/endpoint_provider.rb +39 -21
- data/lib/aws-sdk-iotwireless/types.rb +78 -9
- data/lib/aws-sdk-iotwireless.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d9a3099381e5e0df41a43711fb5563375ce43c2410deeb62cde2f2d58a2224b
|
4
|
+
data.tar.gz: f5676df5cc1a4ac3642840a18ceabb015ac182be5c5f1e239005c87cddca57ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 443f50e83defec76ebf872cc7980907ccc326f11aa2f31bdf4d7cec57dc2efe3c5dc24d34e5227470f02888d058e5feaedbad3d0a1b02518cf087ef59327dace
|
7
|
+
data.tar.gz: dfcb37b0b3daa471d792bbd22853458a3e5f4c796740f2e4323e0244e0db4105bfd2b62b4ed00eb4bf0f3606b0ae082d04816aff1ff74f479803a28859d87bc3
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.30.0 (2023-02-23)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - In this release, we add additional capabilities for the FUOTA which allows user to configure the fragment size, the sending interval and the redundancy ratio of the FUOTA tasks
|
8
|
+
|
4
9
|
1.29.0 (2023-01-18)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.30.0
|
@@ -758,6 +758,23 @@ module Aws::IoTWireless
|
|
758
758
|
# The tag to attach to the specified resource. Tags are metadata that
|
759
759
|
# you can use to manage a resource.
|
760
760
|
#
|
761
|
+
# @option params [Integer] :redundancy_percent
|
762
|
+
# The percentage of added redundant fragments. For example, if firmware
|
763
|
+
# file is 100 bytes and fragment size is 10 bytes, with
|
764
|
+
# `RedundancyPercent` set to 50(%), the final number of encoded
|
765
|
+
# fragments is (100 / 10) + (100 / 10 * 50%) = 15.
|
766
|
+
#
|
767
|
+
# @option params [Integer] :fragment_size_bytes
|
768
|
+
# The size of each fragment in bytes. Currently only supported in fuota
|
769
|
+
# tasks with multicast groups.
|
770
|
+
#
|
771
|
+
# @option params [Integer] :fragment_interval_ms
|
772
|
+
# The interval of sending fragments in milliseconds. Currently the
|
773
|
+
# interval will be rounded to the nearest second. Note that this
|
774
|
+
# interval only controls the timing when the cloud sends the fragments
|
775
|
+
# down. The actual delay of receiving fragments at device side depends
|
776
|
+
# on the device's class and the communication delay with the cloud.
|
777
|
+
#
|
761
778
|
# @return [Types::CreateFuotaTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
762
779
|
#
|
763
780
|
# * {Types::CreateFuotaTaskResponse#arn #arn} => String
|
@@ -780,6 +797,9 @@ module Aws::IoTWireless
|
|
780
797
|
# value: "TagValue", # required
|
781
798
|
# },
|
782
799
|
# ],
|
800
|
+
# redundancy_percent: 1,
|
801
|
+
# fragment_size_bytes: 1,
|
802
|
+
# fragment_interval_ms: 1,
|
783
803
|
# })
|
784
804
|
#
|
785
805
|
# @example Response structure
|
@@ -1794,6 +1814,9 @@ module Aws::IoTWireless
|
|
1794
1814
|
# * {Types::GetFuotaTaskResponse#firmware_update_image #firmware_update_image} => String
|
1795
1815
|
# * {Types::GetFuotaTaskResponse#firmware_update_role #firmware_update_role} => String
|
1796
1816
|
# * {Types::GetFuotaTaskResponse#created_at #created_at} => Time
|
1817
|
+
# * {Types::GetFuotaTaskResponse#redundancy_percent #redundancy_percent} => Integer
|
1818
|
+
# * {Types::GetFuotaTaskResponse#fragment_size_bytes #fragment_size_bytes} => Integer
|
1819
|
+
# * {Types::GetFuotaTaskResponse#fragment_interval_ms #fragment_interval_ms} => Integer
|
1797
1820
|
#
|
1798
1821
|
# @example Request syntax with placeholder values
|
1799
1822
|
#
|
@@ -1813,6 +1836,9 @@ module Aws::IoTWireless
|
|
1813
1836
|
# resp.firmware_update_image #=> String
|
1814
1837
|
# resp.firmware_update_role #=> String
|
1815
1838
|
# resp.created_at #=> Time
|
1839
|
+
# resp.redundancy_percent #=> Integer
|
1840
|
+
# resp.fragment_size_bytes #=> Integer
|
1841
|
+
# resp.fragment_interval_ms #=> Integer
|
1816
1842
|
#
|
1817
1843
|
# @overload get_fuota_task(params = {})
|
1818
1844
|
# @param [Hash] params ({})
|
@@ -2118,7 +2144,7 @@ module Aws::IoTWireless
|
|
2118
2144
|
#
|
2119
2145
|
# @option params [Time,DateTime,Date,Integer,String] :timestamp
|
2120
2146
|
# Optional information that specifies the time when the position
|
2121
|
-
# information will be resolved. It uses the
|
2147
|
+
# information will be resolved. It uses the Unix timestamp format. If
|
2122
2148
|
# not specified, the time at which the request was received will be
|
2123
2149
|
# used.
|
2124
2150
|
#
|
@@ -2367,7 +2393,7 @@ module Aws::IoTWireless
|
|
2367
2393
|
end
|
2368
2394
|
|
2369
2395
|
# Get the position information for a given wireless device or a wireless
|
2370
|
-
# gateway resource. The
|
2396
|
+
# gateway resource. The position information uses the [ World Geodetic
|
2371
2397
|
# System (WGS84)][1].
|
2372
2398
|
#
|
2373
2399
|
#
|
@@ -2376,8 +2402,8 @@ module Aws::IoTWireless
|
|
2376
2402
|
#
|
2377
2403
|
# @option params [required, String] :resource_identifier
|
2378
2404
|
# The identifier of the resource for which position information is
|
2379
|
-
# retrieved. It can be the wireless device ID or the wireless gateway
|
2380
|
-
# depending on the resource type.
|
2405
|
+
# retrieved. It can be the wireless device ID or the wireless gateway
|
2406
|
+
# ID, depending on the resource type.
|
2381
2407
|
#
|
2382
2408
|
# @option params [required, String] :resource_type
|
2383
2409
|
# The type of resource for which position information is retrieved,
|
@@ -4062,6 +4088,23 @@ module Aws::IoTWireless
|
|
4062
4088
|
# @option params [String] :firmware_update_role
|
4063
4089
|
# The firmware update role that is to be used with a FUOTA task.
|
4064
4090
|
#
|
4091
|
+
# @option params [Integer] :redundancy_percent
|
4092
|
+
# The percentage of added redundant fragments. For example, if firmware
|
4093
|
+
# file is 100 bytes and fragment size is 10 bytes, with
|
4094
|
+
# `RedundancyPercent` set to 50(%), the final number of encoded
|
4095
|
+
# fragments is (100 / 10) + (100 / 10 * 50%) = 15.
|
4096
|
+
#
|
4097
|
+
# @option params [Integer] :fragment_size_bytes
|
4098
|
+
# The size of each fragment in bytes. Currently only supported in fuota
|
4099
|
+
# tasks with multicast groups.
|
4100
|
+
#
|
4101
|
+
# @option params [Integer] :fragment_interval_ms
|
4102
|
+
# The interval of sending fragments in milliseconds. Currently the
|
4103
|
+
# interval will be rounded to the nearest second. Note that this
|
4104
|
+
# interval only controls the timing when the cloud sends the fragments
|
4105
|
+
# down. The actual delay of receiving fragments at device side depends
|
4106
|
+
# on the device's class and the communication delay with the cloud.
|
4107
|
+
#
|
4065
4108
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4066
4109
|
#
|
4067
4110
|
# @example Request syntax with placeholder values
|
@@ -4075,6 +4118,9 @@ module Aws::IoTWireless
|
|
4075
4118
|
# },
|
4076
4119
|
# firmware_update_image: "FirmwareUpdateImage",
|
4077
4120
|
# firmware_update_role: "FirmwareUpdateRole",
|
4121
|
+
# redundancy_percent: 1,
|
4122
|
+
# fragment_size_bytes: 1,
|
4123
|
+
# fragment_interval_ms: 1,
|
4078
4124
|
# })
|
4079
4125
|
#
|
4080
4126
|
# @overload update_fuota_task(params = {})
|
@@ -4371,7 +4417,7 @@ module Aws::IoTWireless
|
|
4371
4417
|
end
|
4372
4418
|
|
4373
4419
|
# Update the position information of a given wireless device or a
|
4374
|
-
# wireless gateway resource. The
|
4420
|
+
# wireless gateway resource. The position coordinates are based on the [
|
4375
4421
|
# World Geodetic System (WGS84)][1].
|
4376
4422
|
#
|
4377
4423
|
#
|
@@ -4380,7 +4426,7 @@ module Aws::IoTWireless
|
|
4380
4426
|
#
|
4381
4427
|
# @option params [required, String] :resource_identifier
|
4382
4428
|
# The identifier of the resource for which position information is
|
4383
|
-
# updated. It can be the wireless device ID or the wireless gateway ID
|
4429
|
+
# updated. It can be the wireless device ID or the wireless gateway ID,
|
4384
4430
|
# depending on the resource type.
|
4385
4431
|
#
|
4386
4432
|
# @option params [required, String] :resource_type
|
@@ -4530,7 +4576,7 @@ module Aws::IoTWireless
|
|
4530
4576
|
params: params,
|
4531
4577
|
config: config)
|
4532
4578
|
context[:gem_name] = 'aws-sdk-iotwireless'
|
4533
|
-
context[:gem_version] = '1.
|
4579
|
+
context[:gem_version] = '1.30.0'
|
4534
4580
|
Seahorse::Client::Request.new(handlers, context)
|
4535
4581
|
end
|
4536
4582
|
|
@@ -189,6 +189,8 @@ module Aws::IoTWireless
|
|
189
189
|
Fingerprint = Shapes::StringShape.new(name: 'Fingerprint')
|
190
190
|
FirmwareUpdateImage = Shapes::StringShape.new(name: 'FirmwareUpdateImage')
|
191
191
|
FirmwareUpdateRole = Shapes::StringShape.new(name: 'FirmwareUpdateRole')
|
192
|
+
FragmentIntervalMS = Shapes::IntegerShape.new(name: 'FragmentIntervalMS')
|
193
|
+
FragmentSizeBytes = Shapes::IntegerShape.new(name: 'FragmentSizeBytes')
|
192
194
|
FuotaDeviceStatus = Shapes::StringShape.new(name: 'FuotaDeviceStatus')
|
193
195
|
FuotaTask = Shapes::StructureShape.new(name: 'FuotaTask')
|
194
196
|
FuotaTaskArn = Shapes::StringShape.new(name: 'FuotaTaskArn')
|
@@ -427,6 +429,7 @@ module Aws::IoTWireless
|
|
427
429
|
RSRQ = Shapes::FloatShape.new(name: 'RSRQ')
|
428
430
|
RSS = Shapes::IntegerShape.new(name: 'RSS')
|
429
431
|
RaAllowed = Shapes::BooleanShape.new(name: 'RaAllowed')
|
432
|
+
RedundancyPercent = Shapes::IntegerShape.new(name: 'RedundancyPercent')
|
430
433
|
RegParamsRevision = Shapes::StringShape.new(name: 'RegParamsRevision')
|
431
434
|
RegistrationZone = Shapes::IntegerShape.new(name: 'RegistrationZone')
|
432
435
|
ReportDevStatusBattery = Shapes::BooleanShape.new(name: 'ReportDevStatusBattery')
|
@@ -765,6 +768,9 @@ module Aws::IoTWireless
|
|
765
768
|
CreateFuotaTaskRequest.add_member(:firmware_update_image, Shapes::ShapeRef.new(shape: FirmwareUpdateImage, required: true, location_name: "FirmwareUpdateImage"))
|
766
769
|
CreateFuotaTaskRequest.add_member(:firmware_update_role, Shapes::ShapeRef.new(shape: FirmwareUpdateRole, required: true, location_name: "FirmwareUpdateRole"))
|
767
770
|
CreateFuotaTaskRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
771
|
+
CreateFuotaTaskRequest.add_member(:redundancy_percent, Shapes::ShapeRef.new(shape: RedundancyPercent, location_name: "RedundancyPercent"))
|
772
|
+
CreateFuotaTaskRequest.add_member(:fragment_size_bytes, Shapes::ShapeRef.new(shape: FragmentSizeBytes, location_name: "FragmentSizeBytes"))
|
773
|
+
CreateFuotaTaskRequest.add_member(:fragment_interval_ms, Shapes::ShapeRef.new(shape: FragmentIntervalMS, location_name: "FragmentIntervalMS"))
|
768
774
|
CreateFuotaTaskRequest.struct_class = Types::CreateFuotaTaskRequest
|
769
775
|
|
770
776
|
CreateFuotaTaskResponse.add_member(:arn, Shapes::ShapeRef.new(shape: FuotaTaskArn, location_name: "Arn"))
|
@@ -1057,6 +1063,9 @@ module Aws::IoTWireless
|
|
1057
1063
|
GetFuotaTaskResponse.add_member(:firmware_update_image, Shapes::ShapeRef.new(shape: FirmwareUpdateImage, location_name: "FirmwareUpdateImage"))
|
1058
1064
|
GetFuotaTaskResponse.add_member(:firmware_update_role, Shapes::ShapeRef.new(shape: FirmwareUpdateRole, location_name: "FirmwareUpdateRole"))
|
1059
1065
|
GetFuotaTaskResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAt, location_name: "CreatedAt"))
|
1066
|
+
GetFuotaTaskResponse.add_member(:redundancy_percent, Shapes::ShapeRef.new(shape: RedundancyPercent, location_name: "RedundancyPercent"))
|
1067
|
+
GetFuotaTaskResponse.add_member(:fragment_size_bytes, Shapes::ShapeRef.new(shape: FragmentSizeBytes, location_name: "FragmentSizeBytes"))
|
1068
|
+
GetFuotaTaskResponse.add_member(:fragment_interval_ms, Shapes::ShapeRef.new(shape: FragmentIntervalMS, location_name: "FragmentIntervalMS"))
|
1060
1069
|
GetFuotaTaskResponse.struct_class = Types::GetFuotaTaskResponse
|
1061
1070
|
|
1062
1071
|
GetLogLevelsByResourceTypesRequest.struct_class = Types::GetLogLevelsByResourceTypesRequest
|
@@ -1937,6 +1946,9 @@ module Aws::IoTWireless
|
|
1937
1946
|
UpdateFuotaTaskRequest.add_member(:lo_ra_wan, Shapes::ShapeRef.new(shape: LoRaWANFuotaTask, location_name: "LoRaWAN"))
|
1938
1947
|
UpdateFuotaTaskRequest.add_member(:firmware_update_image, Shapes::ShapeRef.new(shape: FirmwareUpdateImage, location_name: "FirmwareUpdateImage"))
|
1939
1948
|
UpdateFuotaTaskRequest.add_member(:firmware_update_role, Shapes::ShapeRef.new(shape: FirmwareUpdateRole, location_name: "FirmwareUpdateRole"))
|
1949
|
+
UpdateFuotaTaskRequest.add_member(:redundancy_percent, Shapes::ShapeRef.new(shape: RedundancyPercent, location_name: "RedundancyPercent"))
|
1950
|
+
UpdateFuotaTaskRequest.add_member(:fragment_size_bytes, Shapes::ShapeRef.new(shape: FragmentSizeBytes, location_name: "FragmentSizeBytes"))
|
1951
|
+
UpdateFuotaTaskRequest.add_member(:fragment_interval_ms, Shapes::ShapeRef.new(shape: FragmentIntervalMS, location_name: "FragmentIntervalMS"))
|
1940
1952
|
UpdateFuotaTaskRequest.struct_class = Types::UpdateFuotaTaskRequest
|
1941
1953
|
|
1942
1954
|
UpdateFuotaTaskResponse.struct_class = Types::UpdateFuotaTaskResponse
|
@@ -50,9 +50,6 @@ module Aws::IoTWireless
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
-
if self[:region].nil?
|
54
|
-
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
-
end
|
56
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
57
54
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
58
55
|
if self[:use_dual_stack].nil?
|
@@ -14,36 +14,54 @@ module Aws::IoTWireless
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
|
-
if
|
18
|
-
if Aws::Endpoints::Matchers.
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
18
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
20
|
+
end
|
21
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
|
+
end
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
25
|
+
end
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
29
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://api.iotwireless-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
31
|
+
end
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
|
+
end
|
19
34
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
-
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://api.iotwireless-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
21
39
|
end
|
22
40
|
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
-
|
41
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://api.iotwireless.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
43
|
+
end
|
44
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
24
45
|
end
|
25
|
-
|
26
|
-
|
27
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
-
return Aws::Endpoints::Endpoint.new(url: "https://api.iotwireless-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
46
|
+
if Aws::Endpoints::Matchers.string_equals?(region, "ap-northeast-1")
|
47
|
+
return Aws::Endpoints::Endpoint.new(url: "https://api.iotwireless.ap-northeast-1.amazonaws.com", headers: {}, properties: {})
|
30
48
|
end
|
31
|
-
|
32
|
-
|
33
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
35
|
-
return Aws::Endpoints::Endpoint.new(url: "https://api.iotwireless-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
49
|
+
if Aws::Endpoints::Matchers.string_equals?(region, "ap-southeast-2")
|
50
|
+
return Aws::Endpoints::Endpoint.new(url: "https://api.iotwireless.ap-southeast-2.amazonaws.com", headers: {}, properties: {})
|
36
51
|
end
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
if Aws::Endpoints::Matchers.
|
41
|
-
return Aws::Endpoints::Endpoint.new(url: "https://api.iotwireless
|
52
|
+
if Aws::Endpoints::Matchers.string_equals?(region, "eu-west-1")
|
53
|
+
return Aws::Endpoints::Endpoint.new(url: "https://api.iotwireless.eu-west-1.amazonaws.com", headers: {}, properties: {})
|
54
|
+
end
|
55
|
+
if Aws::Endpoints::Matchers.string_equals?(region, "us-east-1")
|
56
|
+
return Aws::Endpoints::Endpoint.new(url: "https://api.iotwireless.us-east-1.amazonaws.com", headers: {}, properties: {})
|
57
|
+
end
|
58
|
+
if Aws::Endpoints::Matchers.string_equals?(region, "us-west-2")
|
59
|
+
return Aws::Endpoints::Endpoint.new(url: "https://api.iotwireless.us-west-2.amazonaws.com", headers: {}, properties: {})
|
42
60
|
end
|
43
|
-
|
61
|
+
return Aws::Endpoints::Endpoint.new(url: "https://api.iotwireless.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
44
62
|
end
|
45
|
-
return Aws::Endpoints::Endpoint.new(url: "https://api.iotwireless.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
46
63
|
end
|
64
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
47
65
|
raise ArgumentError, 'No endpoint could be resolved'
|
48
66
|
|
49
67
|
end
|
@@ -377,7 +377,7 @@ module Aws::IoTWireless
|
|
377
377
|
# @return [Float]
|
378
378
|
#
|
379
379
|
# @!attribute [rw] base_lng
|
380
|
-
# CDMA base station
|
380
|
+
# CDMA base station longitude in degrees.
|
381
381
|
# @return [Float]
|
382
382
|
#
|
383
383
|
# @!attribute [rw] cdma_nmr
|
@@ -648,6 +648,26 @@ module Aws::IoTWireless
|
|
648
648
|
# you can use to manage a resource.
|
649
649
|
# @return [Array<Types::Tag>]
|
650
650
|
#
|
651
|
+
# @!attribute [rw] redundancy_percent
|
652
|
+
# The percentage of added redundant fragments. For example, if
|
653
|
+
# firmware file is 100 bytes and fragment size is 10 bytes, with
|
654
|
+
# `RedundancyPercent` set to 50(%), the final number of encoded
|
655
|
+
# fragments is (100 / 10) + (100 / 10 * 50%) = 15.
|
656
|
+
# @return [Integer]
|
657
|
+
#
|
658
|
+
# @!attribute [rw] fragment_size_bytes
|
659
|
+
# The size of each fragment in bytes. Currently only supported in
|
660
|
+
# fuota tasks with multicast groups.
|
661
|
+
# @return [Integer]
|
662
|
+
#
|
663
|
+
# @!attribute [rw] fragment_interval_ms
|
664
|
+
# The interval of sending fragments in milliseconds. Currently the
|
665
|
+
# interval will be rounded to the nearest second. Note that this
|
666
|
+
# interval only controls the timing when the cloud sends the fragments
|
667
|
+
# down. The actual delay of receiving fragments at device side depends
|
668
|
+
# on the device's class and the communication delay with the cloud.
|
669
|
+
# @return [Integer]
|
670
|
+
#
|
651
671
|
class CreateFuotaTaskRequest < Struct.new(
|
652
672
|
:name,
|
653
673
|
:description,
|
@@ -655,7 +675,10 @@ module Aws::IoTWireless
|
|
655
675
|
:lo_ra_wan,
|
656
676
|
:firmware_update_image,
|
657
677
|
:firmware_update_role,
|
658
|
-
:tags
|
678
|
+
:tags,
|
679
|
+
:redundancy_percent,
|
680
|
+
:fragment_size_bytes,
|
681
|
+
:fragment_interval_ms)
|
659
682
|
SENSITIVE = []
|
660
683
|
include Aws::Structure
|
661
684
|
end
|
@@ -1725,6 +1748,26 @@ module Aws::IoTWireless
|
|
1725
1748
|
# Created at timestamp for the resource.
|
1726
1749
|
# @return [Time]
|
1727
1750
|
#
|
1751
|
+
# @!attribute [rw] redundancy_percent
|
1752
|
+
# The percentage of added redundant fragments. For example, if
|
1753
|
+
# firmware file is 100 bytes and fragment size is 10 bytes, with
|
1754
|
+
# `RedundancyPercent` set to 50(%), the final number of encoded
|
1755
|
+
# fragments is (100 / 10) + (100 / 10 * 50%) = 15.
|
1756
|
+
# @return [Integer]
|
1757
|
+
#
|
1758
|
+
# @!attribute [rw] fragment_size_bytes
|
1759
|
+
# The size of each fragment in bytes. Currently only supported in
|
1760
|
+
# fuota tasks with multicast groups.
|
1761
|
+
# @return [Integer]
|
1762
|
+
#
|
1763
|
+
# @!attribute [rw] fragment_interval_ms
|
1764
|
+
# The interval of sending fragments in milliseconds. Currently the
|
1765
|
+
# interval will be rounded to the nearest second. Note that this
|
1766
|
+
# interval only controls the timing when the cloud sends the fragments
|
1767
|
+
# down. The actual delay of receiving fragments at device side depends
|
1768
|
+
# on the device's class and the communication delay with the cloud.
|
1769
|
+
# @return [Integer]
|
1770
|
+
#
|
1728
1771
|
class GetFuotaTaskResponse < Struct.new(
|
1729
1772
|
:arn,
|
1730
1773
|
:id,
|
@@ -1734,7 +1777,10 @@ module Aws::IoTWireless
|
|
1734
1777
|
:lo_ra_wan,
|
1735
1778
|
:firmware_update_image,
|
1736
1779
|
:firmware_update_role,
|
1737
|
-
:created_at
|
1780
|
+
:created_at,
|
1781
|
+
:redundancy_percent,
|
1782
|
+
:fragment_size_bytes,
|
1783
|
+
:fragment_interval_ms)
|
1738
1784
|
SENSITIVE = []
|
1739
1785
|
include Aws::Structure
|
1740
1786
|
end
|
@@ -1972,7 +2018,7 @@ module Aws::IoTWireless
|
|
1972
2018
|
#
|
1973
2019
|
# @!attribute [rw] timestamp
|
1974
2020
|
# Optional information that specifies the time when the position
|
1975
|
-
# information will be resolved. It uses the
|
2021
|
+
# information will be resolved. It uses the Unix timestamp format. If
|
1976
2022
|
# not specified, the time at which the request was received will be
|
1977
2023
|
# used.
|
1978
2024
|
# @return [Time]
|
@@ -2144,7 +2190,7 @@ module Aws::IoTWireless
|
|
2144
2190
|
# @!attribute [rw] resource_identifier
|
2145
2191
|
# The identifier of the resource for which position information is
|
2146
2192
|
# retrieved. It can be the wireless device ID or the wireless gateway
|
2147
|
-
# ID depending on the resource type.
|
2193
|
+
# ID, depending on the resource type.
|
2148
2194
|
# @return [String]
|
2149
2195
|
#
|
2150
2196
|
# @!attribute [rw] resource_type
|
@@ -2603,7 +2649,7 @@ module Aws::IoTWireless
|
|
2603
2649
|
#
|
2604
2650
|
# @!attribute [rw] assist_position
|
2605
2651
|
# Optional assistance position information, specified using latitude
|
2606
|
-
# and longitude values in degrees. The
|
2652
|
+
# and longitude values in degrees. The coordinates are inside the
|
2607
2653
|
# WGS84 reference frame.
|
2608
2654
|
# @return [Array<Float>]
|
2609
2655
|
#
|
@@ -5339,13 +5385,36 @@ module Aws::IoTWireless
|
|
5339
5385
|
# The firmware update role that is to be used with a FUOTA task.
|
5340
5386
|
# @return [String]
|
5341
5387
|
#
|
5388
|
+
# @!attribute [rw] redundancy_percent
|
5389
|
+
# The percentage of added redundant fragments. For example, if
|
5390
|
+
# firmware file is 100 bytes and fragment size is 10 bytes, with
|
5391
|
+
# `RedundancyPercent` set to 50(%), the final number of encoded
|
5392
|
+
# fragments is (100 / 10) + (100 / 10 * 50%) = 15.
|
5393
|
+
# @return [Integer]
|
5394
|
+
#
|
5395
|
+
# @!attribute [rw] fragment_size_bytes
|
5396
|
+
# The size of each fragment in bytes. Currently only supported in
|
5397
|
+
# fuota tasks with multicast groups.
|
5398
|
+
# @return [Integer]
|
5399
|
+
#
|
5400
|
+
# @!attribute [rw] fragment_interval_ms
|
5401
|
+
# The interval of sending fragments in milliseconds. Currently the
|
5402
|
+
# interval will be rounded to the nearest second. Note that this
|
5403
|
+
# interval only controls the timing when the cloud sends the fragments
|
5404
|
+
# down. The actual delay of receiving fragments at device side depends
|
5405
|
+
# on the device's class and the communication delay with the cloud.
|
5406
|
+
# @return [Integer]
|
5407
|
+
#
|
5342
5408
|
class UpdateFuotaTaskRequest < Struct.new(
|
5343
5409
|
:id,
|
5344
5410
|
:name,
|
5345
5411
|
:description,
|
5346
5412
|
:lo_ra_wan,
|
5347
5413
|
:firmware_update_image,
|
5348
|
-
:firmware_update_role
|
5414
|
+
:firmware_update_role,
|
5415
|
+
:redundancy_percent,
|
5416
|
+
:fragment_size_bytes,
|
5417
|
+
:fragment_interval_ms)
|
5349
5418
|
SENSITIVE = []
|
5350
5419
|
include Aws::Structure
|
5351
5420
|
end
|
@@ -5549,8 +5618,8 @@ module Aws::IoTWireless
|
|
5549
5618
|
|
5550
5619
|
# @!attribute [rw] resource_identifier
|
5551
5620
|
# The identifier of the resource for which position information is
|
5552
|
-
# updated. It can be the wireless device ID or the wireless gateway
|
5553
|
-
# depending on the resource type.
|
5621
|
+
# updated. It can be the wireless device ID or the wireless gateway
|
5622
|
+
# ID, depending on the resource type.
|
5554
5623
|
# @return [String]
|
5555
5624
|
#
|
5556
5625
|
# @!attribute [rw] resource_type
|
data/lib/aws-sdk-iotwireless.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-iotwireless
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.30.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-02-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|