pub struct InventoryConfiguration {
pub destination: InventoryDestination,
pub filter: Option<InventoryFilter>,
pub id: String,
pub included_object_versions: String,
pub is_enabled: bool,
pub optional_fields: Option<Vec<String>>,
pub schedule: InventorySchedule,
}Expand description
Specifies the inventory configuration for an Amazon S3 bucket. For more information, see GET Bucket inventory in the Amazon Simple Storage Service API Reference.
Fields§
§destination: InventoryDestinationContains information about where to publish the inventory results.
filter: Option<InventoryFilter>Specifies an inventory filter. The inventory only includes objects that meet the filter's criteria.
id: StringThe ID used to identify the inventory configuration.
included_object_versions: StringObject 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: boolSpecifies 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: Option<Vec<String>>Contains the optional fields that are included in the inventory results.
schedule: InventoryScheduleSpecifies the schedule for generating inventory results.
Trait Implementations§
Source§impl Clone for InventoryConfiguration
impl Clone for InventoryConfiguration
Source§fn clone(&self) -> InventoryConfiguration
fn clone(&self) -> InventoryConfiguration
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more