datacube.utils.aws.s3_dump#

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

Write data to s3 object.

Parameters:
  • data (bytes | str | IO) – bytes to write

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

  • s3 (BaseClient | None) – pre-configured s3 client, see s3_client()

  • kwargs – Are passed on to s3.put_object(..)

ContentType ACL