verify_device_position
async
¶
verify_device_position(
tracker_name: ResourceName,
device_state: DeviceState,
*,
config_overrides: Optional[AsyncLocationClientConfig] = None,
distance_unit: Optional[DistanceUnit] = None,
) -> VerifyDevicePositionResponse
Verifies the integrity of the device's position by determining if it was reported behind a proxy, and by comparing it to an inferred position estimated based on the device's state.
The Location Integrity SDK provides enhanced features related to device verification, and it is available for use by request. To get access to the SDK, contact Sales Support.
Parameters:
-
tracker_name(ResourceName) –The name of the tracker resource to be associated with verification request.
-
device_state(DeviceState) –The device's state, including position, IP address, cell signals and Wi-Fi access points.
-
distance_unit(Optional[DistanceUnit], default:None) –The distance unit for the verification request.
Default Value:
Kilometers
Raises:
-
AccessDeniedException–The request was denied because of insufficient access or permissions. Check with an administrator to verify your permissions.
-
InternalServerException–The request has failed to process because of an unknown server error, exception, or failure.
-
ResourceNotFoundException–The resource that you've entered was not found in your AWS account.
-
ThrottlingException–The request was denied because of request throttling.
-
ValidationException–The input failed to meet the constraints specified by the AWS service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_location/_services/async_location.py
5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 | |