Aliyun.Oss.Bucket.Inventory.get
You're seeing just the function
get
, go back to Aliyun.Oss.Bucket.Inventory module for more information.
Link to this function
get(bucket, inventory_id)
Specs
GetBucketInventory用于查看某个存储空间(Bucket)中指定的清单(Inventory)任务。
Examples
iex> Aliyun.Oss.Bucket.Inventory.get("some-bucket", "report1")
{:ok, %Aliyun.Oss.Client.Response{
data: %{
"InventoryConfiguration" => %{
"Destination" => %{
"OSSBucketDestination" => %{
"AccountId" => "1000000000000000",
"Bucket" => "acs:oss:::zidcn-test",
"Format" => "CSV",
"Prefix" => "inventory-report",
"RoleArn" => "acs:ram::1000000000000000:role/AliyunOSSRole"
}
},
"Filter" => %{"Prefix" => "prefix"},
"Id" => "report1",
"IncludedObjectVersions" => "Current",
"IsEnabled" => "true",
"OptionalFields" => %{
"Field" => ["Size", "StorageClass", "LastModifiedDate", "ETag",
"IsMultipartUploaded", "EncryptionStatus"]
},
"Schedule" => %{"Frequency" => "Weekly"}
}
},
headers: [
{"Date", "Wed, 05 Dec 2018 02:34:57 GMT"},
...
]
}}