getDeviceDiscovery method
Get the current state of a device discovery.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ServiceUnavailableException.
May throw ThrottlingException.
May throw UnauthorizedException.
May throw ValidationException.
Parameter identifier :
The id of the device discovery job request.
Implementation
Future<GetDeviceDiscoveryResponse> getDeviceDiscovery({
required String identifier,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/device-discoveries/${Uri.encodeComponent(identifier)}',
exceptionFnMap: _exceptionFns,
);
return GetDeviceDiscoveryResponse.fromJson(response);
}