models.s3_bucket_config_proto module

class models.s3_bucket_config_proto.S3BucketConfigProto(acl=None, lifecycle_config=None, owner_info=None, protocol_type=None, swift_container_tag=None, tag_map=None, versioning_state=None)[source]

Bases: object

Implementation of the ‘S3BucketConfigProto’ model.

Proto to define the config/metadata of a S3 bucket.


acl (ACLProto): description: ACL of the bucket. lifecycle_config (LifecycleConfigProto): Lifecycle policy of the

bucket. If not specified, no lifecycle management is performed for objects in this bucket.

owner_info (OwnerInfo): Information about the bucket owner. protocol_type (int): Protocol type of this bucket. swift_container_tag (SwiftContainerTaggingProto): Swfit container

tagging information.

tag_map (list of S3BucketConfigProto_TagMapEntry): Tags (or labels)

assigned to the bucket. Tags are set of <key, value> pairs.

versioning_state (int): TODO: Type description here.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary


dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.


object: An instance of this structure class.