# boto3 1.44.15 (Apache-2.0), harvested by tools/harvest_corpus.py
=== input
Upload a file to an S3 object.

        Variants have also been injected into S3 client, Bucket and Object.
        You don't have to use S3Transfer.upload_file() directly.

        .. seealso::
            :py:meth:`S3.Client.upload_file`
            :py:meth:`S3.Client.upload_fileobj`
        
=== parse rest
short_description: 'Upload a file to an S3 object.'
long_description: |
  Variants have also been injected into S3 client, Bucket and Object.
  You don't have to use S3Transfer.upload_file() directly.
  
  .. seealso::
      :py:meth:`S3.Client.upload_file`
      :py:meth:`S3.Client.upload_fileobj`
blank_after_short_description: True
blank_after_long_description: False
style: rest
=== detect
rest
=== compose rest
Upload a file to an S3 object.

Variants have also been injected into S3 client, Bucket and Object.
You don't have to use S3Transfer.upload_file() directly.

.. seealso::
    :py:meth:`S3.Client.upload_file`
    :py:meth:`S3.Client.upload_fileobj`
