getOtaTaskConfiguration method

Future<GetOtaTaskConfigurationResponse> getOtaTaskConfiguration({
  1. required String identifier,
})

Get a configuraiton for the over-the-air (OTA) task.

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter identifier : The over-the-air (OTA) task configuration id.

Implementation

Future<GetOtaTaskConfigurationResponse> getOtaTaskConfiguration({
  required String identifier,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/ota-task-configurations/${Uri.encodeComponent(identifier)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetOtaTaskConfigurationResponse.fromJson(response);
}