Describes the permissions of a specified resource¶
Description¶
Describes the permissions of a specified resource.
Usage¶
Arguments¶
-
AuthenticationTokenAmazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
-
ResourceId[required] The ID of the resource.
-
PrincipalIdThe ID of the principal to filter permissions by.
-
LimitThe maximum number of items to return with this call.
-
MarkerThe marker for the next set of results. (You received this marker from a previous call)
Value¶
A list with the following syntax:
list(
Principals = list(
list(
Id = "string",
Type = "USER"|"GROUP"|"INVITE"|"ANONYMOUS"|"ORGANIZATION",
Roles = list(
list(
Role = "VIEWER"|"CONTRIBUTOR"|"OWNER"|"COOWNER",
Type = "DIRECT"|"INHERITED"
)
)
)
),
Marker = "string"
)