Initializerswift-cloud 0.24.0CloudCore
init(from:)
init(from decoder: any Decoder) throws
init(from decoder: any Decoder) throws
s9CloudCore2S3V09InventoryC17BucketDestinationV4fromAEs7Decoder_p_tKcfc
What are these?7ZND9
import CloudCore
struct InventoryS3BucketDestination
struct S3
Service object for interacting with AWS S3 service.
protocol Decoder
A type that can decode values from a native format into in-memory representations.
init(accountId: String? = nil, bucket: String, encryption: InventoryEncryption? = nil, format: InventoryFormat, prefix: String? = nil)
let accountId: String?
The account ID that owns the destination S3 bucket. If no account ID is provided, the owner is not validated before exporting data. Although this value is optional, we strongly recommend that you set it to help prevent problems if the destination bucket ownership changes.
let bucket: String
The Amazon Resource Name (ARN) of the bucket where inventory results will be published.
let encryption: InventoryEncryption?
Contains the type of server-side encryption used to encrypt the inventory results.
let format: InventoryFormat
Specifies the output format of the inventory results.
let prefix: String?
The prefix that is prepended to all inventory results.