| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.S3.Types.InventoryConfiguration
Description
Synopsis
- data InventoryConfiguration = InventoryConfiguration' {}
- newInventoryConfiguration :: InventoryDestination -> Bool -> Text -> InventoryIncludedObjectVersions -> InventorySchedule -> InventoryConfiguration
- inventoryConfiguration_filter :: Lens' InventoryConfiguration (Maybe InventoryFilter)
- inventoryConfiguration_optionalFields :: Lens' InventoryConfiguration (Maybe [InventoryOptionalField])
- inventoryConfiguration_destination :: Lens' InventoryConfiguration InventoryDestination
- inventoryConfiguration_isEnabled :: Lens' InventoryConfiguration Bool
- inventoryConfiguration_id :: Lens' InventoryConfiguration Text
- inventoryConfiguration_includedObjectVersions :: Lens' InventoryConfiguration InventoryIncludedObjectVersions
- inventoryConfiguration_schedule :: Lens' InventoryConfiguration InventorySchedule
Documentation
data InventoryConfiguration Source #
Specifies the inventory configuration for an Amazon S3 bucket. For more information, see GET Bucket inventory in the Amazon S3 API Reference.
See: newInventoryConfiguration smart constructor.
Constructors
| InventoryConfiguration' | |
Fields
| |
Instances
newInventoryConfiguration Source #
Arguments
| :: InventoryDestination | |
| -> Bool | |
| -> Text | |
| -> InventoryIncludedObjectVersions | |
| -> InventorySchedule | |
| -> InventoryConfiguration |
Create a value of InventoryConfiguration with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:filter':InventoryConfiguration', inventoryConfiguration_filter - Specifies an inventory filter. The inventory only includes objects that
meet the filter's criteria.
$sel:optionalFields:InventoryConfiguration', inventoryConfiguration_optionalFields - Contains the optional fields that are included in the inventory results.
$sel:destination:InventoryConfiguration', inventoryConfiguration_destination - Contains information about where to publish the inventory results.
$sel:isEnabled:InventoryConfiguration', inventoryConfiguration_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.
$sel:id:InventoryConfiguration', inventoryConfiguration_id - The ID used to identify the inventory configuration.
$sel:includedObjectVersions:InventoryConfiguration', inventoryConfiguration_includedObjectVersions - 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.
$sel:schedule:InventoryConfiguration', inventoryConfiguration_schedule - Specifies the schedule for generating inventory results.
inventoryConfiguration_filter :: Lens' InventoryConfiguration (Maybe InventoryFilter) Source #
Specifies an inventory filter. The inventory only includes objects that meet the filter's criteria.
inventoryConfiguration_optionalFields :: Lens' InventoryConfiguration (Maybe [InventoryOptionalField]) Source #
Contains the optional fields that are included in the inventory results.
inventoryConfiguration_destination :: Lens' InventoryConfiguration InventoryDestination Source #
Contains information about where to publish the inventory results.
inventoryConfiguration_isEnabled :: Lens' InventoryConfiguration Bool Source #
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.
inventoryConfiguration_id :: Lens' InventoryConfiguration Text Source #
The ID used to identify the inventory configuration.
inventoryConfiguration_includedObjectVersions :: Lens' InventoryConfiguration InventoryIncludedObjectVersions Source #
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.
inventoryConfiguration_schedule :: Lens' InventoryConfiguration InventorySchedule Source #
Specifies the schedule for generating inventory results.