getOdbNetwork method
Returns information about the specified ODB network.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter odbNetworkId :
The unique identifier of the ODB network.
Implementation
Future<GetOdbNetworkOutput> getOdbNetwork({
required String odbNetworkId,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.0',
'X-Amz-Target': 'Odb.GetOdbNetwork'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'odbNetworkId': odbNetworkId,
},
);
return GetOdbNetworkOutput.fromJson(jsonResponse.body);
}