getService method
Retrieves information about the specified service.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter serviceIdentifier :
The ID or ARN of the service.
Implementation
Future<GetServiceResponse> getService({
required String serviceIdentifier,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/services/${Uri.encodeComponent(serviceIdentifier)}',
exceptionFnMap: _exceptionFns,
);
return GetServiceResponse.fromJson(response);
}