datacube.utils.aws.s3_head_object#

datacube.utils.aws.s3_head_object(url, s3=None, **kwargs)[source]#

Head object, return object metadata.

Parameters
  • url (str) – s3://bucket/path/to/object

  • s3 (Optional[BaseClient]) – pre-configured s3 client, see make_s3_client()

  • kwargs – are passed on to s3.head_object(..)

Return type

Optional[Dict[str, Any]]