IPWorks Cloud 2020 Python Edition

Questions / Feedback?

versioning_enabled Property

Controls whether versioning is enabled for the currently selected bucket.

Syntax

def get_versioning_enabled() -> bool: ...
def set_versioning_enabled(value: bool) -> None: ...

versioning_enabled = property(get_versioning_enabled, set_versioning_enabled)

Default Value

FALSE

Remarks

This property can be used to query and control whether the bucket currently selected by bucket has versioning enabled.

Note that if bucket is empty, or refers to a bucket that does not exist, this property will always return False when queried, and any attempts to set it will fail.

Refer to Amazon's Versioning documentation for more information about versioning.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 Python Edition - Version 20.0 [Build 8265]