getAccessSource method
Retrieves information about an access source.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter accessSourceId :
The unique identifier of the access source to retrieve.
Implementation
Future<GetAccessSourceOutput> getAccessSource({
required String accessSourceId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/access-sources/${Uri.encodeComponent(accessSourceId)}',
exceptionFnMap: _exceptionFns,
);
return GetAccessSourceOutput.fromJson(response);
}