Class: Aws::S3::Types::PutBucketInventoryConfigurationRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3::Types::PutBucketInventoryConfigurationRequest
- Includes:
- Aws::Structure
- Defined in:
- 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, ORC, Parquet
prefix: "Prefix",
encryption: {
sses3: {
},
ssekms: {
key_id: "SSEKMSKeyId", # required
},
},
},
},
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, EncryptionStatus, ObjectLockRetainUntilDate, ObjectLockMode, ObjectLockLegalHoldStatus, IntelligentTieringAccessTier, BucketKeyStatus, ChecksumAlgorithm
schedule: { # required
frequency: "Daily", # required, accepts Daily, Weekly
},
},
expected_bucket_owner: "AccountId",
}
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#bucket ⇒ String
The name of the bucket where the inventory configuration will be stored.
-
#expected_bucket_owner ⇒ String
The account ID of the expected bucket owner.
-
#id ⇒ String
The ID used to identify the inventory configuration.
-
#inventory_configuration ⇒ Types::InventoryConfiguration
Specifies the inventory configuration.
Instance Attribute Details
#bucket ⇒ String
The name of the bucket where the inventory configuration will be stored.
11770 11771 11772 11773 11774 11775 11776 11777 |
# File 'lib/aws-sdk-s3/types.rb', line 11770 class PutBucketInventoryConfigurationRequest < Struct.new( :bucket, :id, :inventory_configuration, :expected_bucket_owner) SENSITIVE = [] include Aws::Structure end |
#expected_bucket_owner ⇒ String
The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code ‘403 Forbidden` (access denied).
11770 11771 11772 11773 11774 11775 11776 11777 |
# File 'lib/aws-sdk-s3/types.rb', line 11770 class PutBucketInventoryConfigurationRequest < Struct.new( :bucket, :id, :inventory_configuration, :expected_bucket_owner) SENSITIVE = [] include Aws::Structure end |
#id ⇒ String
The ID used to identify the inventory configuration.
11770 11771 11772 11773 11774 11775 11776 11777 |
# File 'lib/aws-sdk-s3/types.rb', line 11770 class PutBucketInventoryConfigurationRequest < Struct.new( :bucket, :id, :inventory_configuration, :expected_bucket_owner) SENSITIVE = [] include Aws::Structure end |
#inventory_configuration ⇒ Types::InventoryConfiguration
Specifies the inventory configuration.
11770 11771 11772 11773 11774 11775 11776 11777 |
# File 'lib/aws-sdk-s3/types.rb', line 11770 class PutBucketInventoryConfigurationRequest < Struct.new( :bucket, :id, :inventory_configuration, :expected_bucket_owner) SENSITIVE = [] include Aws::Structure end |