disassociateServiceRoleFromAccount method

Future<DisassociateServiceRoleFromAccountResponse> disassociateServiceRoleFromAccount()

Disassociates the service role from your account. Without a service role, deployments will not work.

May throw InternalServerErrorException.

Implementation

Future<DisassociateServiceRoleFromAccountResponse>
    disassociateServiceRoleFromAccount() async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/greengrass/servicerole',
    exceptionFnMap: _exceptionFns,
  );
  return DisassociateServiceRoleFromAccountResponse.fromJson(response);
}