Module Values.InventoryConfigurationSource

Specifies the S3 Inventory configuration for an Amazon S3 bucket. For more information, see GET Bucket inventory in the Amazon S3 API Reference.

Sourcetype nonrec t = {
  1. destination : InventoryDestination.t;
    (*

    Contains information about where to publish the inventory results.

    *)
  2. isEnabled : IsEnabled.t;
    (*

    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.

    *)
  3. filter : InventoryFilter.t option;
    (*

    Specifies an inventory filter. The inventory only includes objects that meet the filter's criteria.

    *)
  4. id : InventoryId.t;
    (*

    The ID used to identify the inventory configuration.

    *)
  5. includedObjectVersions : InventoryIncludedObjectVersions.t;
    (*

    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.

    *)
  6. optionalFields : InventoryOptionalFields.t option;
    (*

    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.

    *)
  7. schedule : InventorySchedule.t;
    (*

    Specifies the schedule for generating inventory results.

    *)
}
Sourceval context_ : string
Sourceval make : ?filter:??? -> ?optionalFields:??? -> destination:InventoryDestination.t -> isEnabled:IsEnabled.t -> id:InventoryId.t -> includedObjectVersions:InventoryIncludedObjectVersions.t -> schedule:InventorySchedule.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of IsEnabled.t | `Enum of string | `List of [> `Enum of string ] list | `String of InventoryId.t | `Structure of (string * [> `Enum of string | `String of Prefix.t | `Structure of (string * [> `Enum of string | `String of AccountId.t | `Structure of (string * [> `Structure of (string * [> `String of SSEKMSKeyId.t ]) list ]) list ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t