getOTAUpdate method
Gets an OTA update.
Requires permission to access the GetOTAUpdate action.
May throw InternalFailureException.
May throw InvalidRequestException.
May throw ResourceNotFoundException.
May throw ServiceUnavailableException.
May throw ThrottlingException.
May throw UnauthorizedException.
Parameter otaUpdateId :
The OTA update ID.
Implementation
Future<GetOTAUpdateResponse> getOTAUpdate({
required String otaUpdateId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/otaUpdates/${Uri.encodeComponent(otaUpdateId)}',
exceptionFnMap: _exceptionFns,
);
return GetOTAUpdateResponse.fromJson(response);
}