AWSS3InventoryConfiguration

Objective-C

@interface AWSS3InventoryConfiguration

Swift

class AWSS3InventoryConfiguration

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

Required parameters: [Destination, IsEnabled, Id, IncludedObjectVersions, Schedule]

  • Contains information about where to publish the inventory results.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSS3InventoryDestination *_Nullable destination;

    Swift

    var destination: AWSS3InventoryDestination? { get set }
  • Specifies an inventory filter. The inventory only includes objects that meet the filter’s criteria.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSS3InventoryFilter *_Nullable filter;

    Swift

    var filter: AWSS3InventoryFilter? { get set }
  • The ID used to identify the inventory configuration.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable identifier;

    Swift

    var identifier: String? { get set }
  • 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.

    Declaration

    Objective-C

    @property (nonatomic) AWSS3InventoryIncludedObjectVersions includedObjectVersions;

    Swift

    var includedObjectVersions: AWSS3InventoryIncludedObjectVersions { get set }
  • 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable isEnabled;

    Swift

    var isEnabled: NSNumber? { get set }
  • Contains the optional fields that are included in the inventory results.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<NSString *> *_Nullable optionalFields;

    Swift

    var optionalFields: [String]? { get set }
  • Specifies the schedule for generating inventory results.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSS3InventorySchedule *_Nullable schedule;

    Swift

    var schedule: AWSS3InventorySchedule? { get set }