getDestination method
Gets information about a destination.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter name :
The name of the resource to get.
Implementation
Future<GetDestinationResponse> getDestination({
required String name,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/destinations/${Uri.encodeComponent(name)}',
exceptionFnMap: _exceptionFns,
);
return GetDestinationResponse.fromJson(response);
}