You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::S3::Types::PutBucketInventoryConfigurationRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb

Overview

Note:

When making an API call, you may pass PutBucketInventoryConfigurationRequest data as a hash:

{
  bucket: "BucketName", # required
  id: "InventoryId", # required
  inventory_configuration: { # required
    destination: { # required
      s3_bucket_destination: { # required
        account_id: "AccountId",
        bucket: "BucketName", # required
        format: "CSV", # required, accepts CSV
        prefix: "Prefix",
      },
    },
    is_enabled: false, # required
    filter: {
      prefix: "Prefix", # required
    },
    id: "InventoryId", # required
    included_object_versions: "All", # required, accepts All, Current
    optional_fields: ["Size"], # accepts Size, LastModifiedDate, StorageClass, ETag, IsMultipartUploaded, ReplicationStatus
    schedule: { # required
      frequency: "Daily", # required, accepts Daily, Weekly
    },
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#bucketString

The name of the bucket where the inventory configuration will be stored.

Returns:

  • (String)


5526
5527
5528
5529
5530
5531
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 5526

class PutBucketInventoryConfigurationRequest < Struct.new(
  :bucket,
  :id,
  :inventory_configuration)
  include Aws::Structure
end

#idString

The ID used to identify the inventory configuration.

Returns:

  • (String)


5526
5527
5528
5529
5530
5531
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 5526

class PutBucketInventoryConfigurationRequest < Struct.new(
  :bucket,
  :id,
  :inventory_configuration)
  include Aws::Structure
end

#inventory_configurationTypes::InventoryConfiguration

Specifies the inventory configuration.



5526
5527
5528
5529
5530
5531
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 5526

class PutBucketInventoryConfigurationRequest < Struct.new(
  :bucket,
  :id,
  :inventory_configuration)
  include Aws::Structure
end