datacube.utils.aws.s3_dump#

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

Write data to s3 object.

Parameters
  • data (Union[bytes, str, IO]) – bytes to write

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

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

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

ContentType ACL