dcloud s3 bucket-objects countHow many objects, older versions and delete markers a folder or the bucket holds
IAM s3:ListBucketVersionsRead
Answers { prefix, objects, objectBytes, olderVersions, deleteMarkers, totalBytes, complete }. Reads at most 10,000 entries; complete: false means the numbers are a floor.
Synopsis
dcloud s3 bucket-objects count name [flags]Arguments
<name>Requiredstring
Also accepted as
--name. Constraints: 3-63 chars, /^[a-z0-9][a-z0-9-]*[a-z0-9]$/
Flags
--prefixOptionalstring
A folder ending in /; absent: the whole bucket
Constraints: max 1024 chars
Example
dcloud s3 bucket-objects count nameGenerated from the API description, the same one the API checks requests against and the CLI is built from.