InventoryConfiguration
¶
Used by
-
AsyncS3Client Operationsput_bucket_inventory_configuration -
S3Client Operationsput_bucket_inventory_configuration
Source code in docs_src/capo_s3/types/inventory_configuration.py
destination
instance-attribute
¶
destination: InventoryDestination
Contains information about where to publish the inventory results.
filter
instance-attribute
¶
filter: NotRequired[InventoryFilter]
Specifies an inventory filter. The inventory only includes objects that meet the filter's criteria.
included_object_versions
instance-attribute
¶
included_object_versions: InventoryIncludedObjectVersions
Object versions to include in the inventory list. If set to All, the list includes all the object versions, which adds the version-related fields VersionId, IsLatest, and DeleteMarker to the list. If set to Current, the list does not contain these version-related fields.
is_enabled
instance-attribute
¶
is_enabled: IsEnabled
Specifies whether the inventory is enabled or disabled. If set to True, an inventory list is generated. If set to False, no inventory list is generated.
optional_fields
instance-attribute
¶
optional_fields: NotRequired[InventoryOptionalFields]
Contains the optional fields that are included in the inventory results.
The following optional fields are supported for directory buckets Size | LastModifiedDate | StorageClass | ETag | IsMultipartUploaded | EncryptionStatus | BucketKeyStatus | ChecksumAlgorithm | LifecycleExpirationDate. Throws MalformedXML error if unsupported optional field is provided.
schedule
instance-attribute
¶
schedule: InventorySchedule
Specifies the schedule for generating inventory results.