Skip to content

S3StorageOptions

Source code in docs_src/capo_transfer/types/s3_storage_options.py
class S3StorageOptions(TypedDict, closed=True):
    directory_listing_optimization: NotRequired[
        "capo_transfer.types.directory_listing_optimization.DirectoryListingOptimization"
    ]
    """<p>Specifies whether or not performance for your Amazon S3 directories is optimized.</p> <ul> <li> <p>If using the console, this is enabled by default.</p> </li> <li> <p>If using the API or CLI, this is disabled by default.</p> </li> </ul> <p>By default, home directory mappings have a <code>TYPE</code> of <code>DIRECTORY</code>. If you enable this option, you would then need to explicitly set the <code>HomeDirectoryMapEntry</code> <code>Type</code> to <code>FILE</code> if you want a mapping to have a file target.</p>"""

directory_listing_optimization instance-attribute

directory_listing_optimization: NotRequired[DirectoryListingOptimization]

Specifies whether or not performance for your Amazon S3 directories is optimized.

  • If using the console, this is enabled by default.

  • If using the API or CLI, this is disabled by default.

By default, home directory mappings have a TYPE of DIRECTORY. If you enable this option, you would then need to explicitly set the HomeDirectoryMapEntry Type to FILE if you want a mapping to have a file target.