getServiceRoleForAccount method
Retrieves the service role that is attached to your account.
May throw InternalServerErrorException.
Implementation
Future<GetServiceRoleForAccountResponse> getServiceRoleForAccount() async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/greengrass/servicerole',
exceptionFnMap: _exceptionFns,
);
return GetServiceRoleForAccountResponse.fromJson(response);
}