class AwsMockAccountMappingService {

    public Map<String, String> getGroupMappings(String region, Credential credential, String adminGroupName) {
        String accountId = getAccountId(region, credential);
        if (StringUtils.isNotEmpty(adminGroupName)) {
            return replaceAccountId(getGroupMappings(adminGroupName), accountId);
        } else {
            throw new CloudbreakServiceException(String.format("Failed to get group mappings because of missing adminGroupName for accountId: %s",
                    accountId));
        }
    }

    public  AwsMockAccountMappingService(CloudPlatformConnectors cloudPlatformConnectors, CredentialToCloudCredentialConverter credentialConverter);

}