def METHOD_NAME(cls,
                      url: str,
                      bucket_name: str,
                      client=None,
                      aws_access_key_id=None,
                      aws_secret_access_key=None,
                      aws_session_token=None,
                      region_name=None,
                      s3_endpoint=None
                      ):
    """
    Get blob metadata by url
    :param url: Object key
    :param bucket_name: AWS bucket name
    :param client: AWS client for batch processing
    :param account_key: Azure account key
    :return: Object metadata dict("name": "value")
    """
    if client is None:
        client, _ = get_client_and_resource(aws_access_key_id=aws_access_key_id,
                                            aws_secret_access_key=aws_secret_access_key,
                                            aws_session_token=aws_session_token,
                                            region_name=region_name,
                                            s3_endpoint=s3_endpoint)
    object = client.get_object(Bucket=bucket_name, Key=url)
    metadata = dict(object)
    # remove unused fields
    metadata.pop("Body", None)
    metadata.pop("ResponseMetadata", None)
    return metadata