getOrganizationAdminAccount method

Future<GetOrganizationAdminAccountResponse> getOrganizationAdminAccount()

Gets the name of the delegated Amazon Web Services administrator account for a specified organization.

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

Implementation

Future<GetOrganizationAdminAccountResponse>
    getOrganizationAdminAccount() async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/account/organizationAdminAccount',
    exceptionFnMap: _exceptionFns,
  );
  return GetOrganizationAdminAccountResponse.fromJson(response);
}