Get Resources
| workdocs_get_resources | R Documentation |
Retrieves a collection of resources, including folders and documents¶
Description¶
Retrieves a collection of resources, including folders and documents.
The only CollectionType supported is SHARED_WITH_ME.
Usage¶
Arguments¶
AuthenticationTokenThe Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
UserIdThe user ID for the resource collection. This is a required field for accessing the API operation using IAM credentials.
CollectionTypeThe collection type.
LimitThe maximum number of resources to return.
MarkerThe marker for the next set of results. This marker was received from a previous call.
Value¶
A list with the following syntax:
list(
Folders = list(
list(
Id = "string",
Name = "string",
CreatorId = "string",
ParentFolderId = "string",
CreatedTimestamp = as.POSIXct(
"2015-01-01"
),
ModifiedTimestamp = as.POSIXct(
"2015-01-01"
),
ResourceState = "ACTIVE"|"RESTORING"|"RECYCLING"|"RECYCLED",
Signature = "string",
Labels = list(
"string"
),
Size = 123,
LatestVersionSize = 123
)
),
Documents = list(
list(
Id = "string",
CreatorId = "string",
ParentFolderId = "string",
CreatedTimestamp = as.POSIXct(
"2015-01-01"
),
ModifiedTimestamp = as.POSIXct(
"2015-01-01"
),
LatestVersionMetadata = list(
Id = "string",
Name = "string",
ContentType = "string",
Size = 123,
Signature = "string",
Status = "INITIALIZED"|"ACTIVE",
CreatedTimestamp = as.POSIXct(
"2015-01-01"
),
ModifiedTimestamp = as.POSIXct(
"2015-01-01"
),
ContentCreatedTimestamp = as.POSIXct(
"2015-01-01"
),
ContentModifiedTimestamp = as.POSIXct(
"2015-01-01"
),
CreatorId = "string",
Thumbnail = list(
"string"
),
Source = list(
"string"
)
),
ResourceState = "ACTIVE"|"RESTORING"|"RECYCLING"|"RECYCLED",
Labels = list(
"string"
)
)
),
Marker = "string"
)