def _get_uri(client, repo_name):
    """
    Gets the uri from the ECR repo
    :param client: boto3.client The ECR client 
    :param repo_name: str The repository name to get the image URI
    """
    response = client.describe_repositories()
    for repository in response.get('repositories', {}):
        # if empty dict is returned, loop skipped and None returned
        if repository.get('repositoryName') == repo_name:
            return repository.get('repositoryUri')