getDelegatedAdminAccount method

Future<GetDelegatedAdminAccountResponse> getDelegatedAdminAccount()

Retrieves information about the Amazon Inspector delegated administrator for your organization.

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Implementation

Future<GetDelegatedAdminAccountResponse> getDelegatedAdminAccount() async {
  final response = await _protocol.send(
    payload: null,
    method: 'POST',
    requestUri: '/delegatedadminaccounts/get',
    exceptionFnMap: _exceptionFns,
  );
  return GetDelegatedAdminAccountResponse.fromJson(response);
}