View a markdown version of this page

Amazon 的操作、资源和条件密钥 WorkDocs - 服务授权参考

Amazon 的操作、资源和条件密钥 WorkDocs

Amazon WorkDocs (服务前缀:workdocs)提供以下特定于服务的操作、资源、操作和条件密钥,供在 IAM 权限策略中使用。

参考:

亚马逊定义的 API 操作 WorkDocs

下表将 API 操作映射到它们授权的 IAM 操作。仅列出具有给定 API 和操作的静态值的条件键;有关每个操作支持的完整条件键集,请参阅操作表。

操作 IAM 操作 条件键 可能的值 访问级别

AbortDocumentVersionUpload

workdocs:AbortDocumentVersionUpload

写入

ActivateUser

workdocs:ActivateUser

写入

AddResourcePermissions

workdocs:AddResourcePermissions

写入

CreateComment

workdocs:CreateComment

写入

CreateCustomMetadata

workdocs:CreateCustomMetadata

写入

CreateFolder

workdocs:CreateFolder

写入

CreateLabels

workdocs:CreateLabels

写入

CreateNotificationSubscription

workdocs:CreateNotificationSubscription

写入

CreateUser

workdocs:CreateUser

写入

DeactivateUser

workdocs:DeactivateUser

写入

DeleteCustomMetadata

workdocs:DeleteCustomMetadata

写入

DeleteDocument

workdocs:DeleteDocument

写入

DeleteDocumentVersion

workdocs:DeleteDocumentVersion

写入

DeleteFolder

workdocs:DeleteFolder

写入

DeleteFolderContents

workdocs:DeleteFolderContents

写入

DeleteLabels

workdocs:DeleteLabels

写入

DeleteNotificationSubscription

workdocs:DeleteNotificationSubscription

写入

DeleteUser

workdocs:DeleteUser

写入

DescribeActivities

workdocs:DescribeActivities

列表

DescribeComments

workdocs:DescribeComments

列表

DescribeDocumentVersions

workdocs:DescribeDocumentVersions

列表

DescribeFolderContents

workdocs:DescribeFolderContents

列表

DescribeGroups

workdocs:DescribeGroups

列表

DescribeNotificationSubscriptions

workdocs:DescribeNotificationSubscriptions

列表

DescribeResourcePermissions

workdocs:DescribeResourcePermissions

列表

DescribeUsers

workdocs:DescribeUsers

列表

GetDocument

workdocs:GetDocument

读取

GetDocumentPath

workdocs:GetDocumentPath

读取

GetDocumentVersion

workdocs:DownloadDocumentVersion

读取

workdocs:GetDocumentVersion

读取

GetFolder

workdocs:GetFolder

读取

GetFolderPath

workdocs:GetFolderPath

读取

GetResources

workdocs:GetResources

读取

InitiateDocumentVersionUpload

workdocs:InitiateDocumentVersionUpload

写入

RemoveAllResourcePermissions

workdocs:RemoveAllResourcePermissions

写入

RemoveResourcePermission

workdocs:RemoveResourcePermission

写入

RestoreDocumentVersions

workdocs:RestoreDocumentVersions

写入

SearchResources

workdocs:SearchResources

列表

UpdateDocument

workdocs:DeleteDocument

写入

workdocs:InitiateDocumentVersionUpload

写入

workdocs:UpdateDocument

写入

UpdateDocumentVersion

workdocs:UpdateDocumentVersion

写入

UpdateFolder

workdocs:CreateFolder

写入

workdocs:UpdateFolder

写入

UpdateUser

workdocs:UpdateUser

写入

workdocs:UpdateUserAdministrativeSettings

写入

Amazon 定义的操作 WorkDocs

您可以在 IAM 策略语句的 Action 元素中指定以下操作。可以使用策略授予在 AWS中执行操作的权限。您在策略中使用一项操作时,通常使用相同的名称允许或拒绝对 API 操作或 CLI 命令的访问。但在某些情况下,单一动作可控制对多项操作的访问。还有某些操作需要多种不同的动作。

操作 说明 资源类型(* 为必需) 条件键 访问级别

AbortDocumentVersionUpload

授予权限以中止之前由发起的指定文档版本的上传 InitiateDocumentVersionUpload

写入

ActivateUser

授予权限以激活指定的用户。只有活跃用户才能访问亚马逊 WorkDocs

写入

AddResourcePermissions

授予权限以便为指定文件夹或文档创建一组权限

写入

CreateComment

授予权限以将新注释添加到指定的文档版本中

写入

CreateCustomMetadata

授予权限以将一个或多个自定义属性添加到指定的资源中

写入

CreateFolder

授予权限以创建具有指定名称和父文件夹的文件夹

写入

CreateLabels

授予权限以将标签添加到给定资源中

写入

CreateNotificationSubscription

授予配置 WorkDocs 为使用 Amazon SNS 通知的权限

写入

CreateUser

授予权限以在 Simple AD 或 Microsoft AD 目录中创建用户

写入

DeactivateUser

授予停用指定用户的权限,这将撤消该用户对 Amazon 的访问权限 WorkDocs

写入

DeleteComment

授予权限以从文档版本中删除指定的注释

写入

DeleteCustomMetadata

授予权限以从指定的资源中删除自定义元数据

写入

DeleteDocument

授予权限以永久删除指定的文档和关联的元数据

写入

DeleteDocumentVersion

授予权限以删除指定文档的版本

写入

DeleteFolder

授予权限以永久删除指定的文件夹及其内容

写入

DeleteFolderContents

授予权限以删除指定文件夹的内容

写入

DeleteLabels

授予权限以从资源中删除一个或多个标签

写入

DeleteNotificationSubscription

授予权限以从指定的组织中删除指定的订阅

写入

DeleteUser

授予权限以从 Simple AD 或 Microsoft AD 目录中删除指定的用户

写入

DescribeActivities

授予权限以获取指定时间段内的用户活动

列表

DescribeComments

授予权限以列出指定文档版本的所有注释

列表

DescribeDocumentVersions

授予权限以检索指定文档的文档版本

列表

DescribeFolderContents

授予权限以描述指定文件夹的内容,包括其文档和子文件夹

列表

DescribeGroups

授予权限以描述用户组

列表

DescribeNotificationSubscriptions

授予权限以列出指定的通知订阅

列表

DescribeResourcePermissions

授予权限以查看指定资源的权限描述

列表

DescribeRootFolders

授予权限以描述根文件夹

列表

DescribeUsers

授予权限以查看指定的用户描述。您可以描述所有用户或筛选结果(例如根据状态或组织)

列表

GetCurrentUser

授予权限以检索当前用户的详细信息

读取

GetDocument

授予权限以检索指定的文档对象

读取

GetDocumentPath

授予权限以检索请求的文档的路径信息(根文件夹中的层次结构)

读取

GetDocumentVersion

授予权限以检索指定文档的版本元数据

读取

GetFolder

授予权限以检索指定文件夹的元数据

读取

GetFolderPath

授予权限以检索指定文件夹的路径信息(根文件夹中的层次结构)

读取

GetResources

授予权限以获取一组资源

读取

InitiateDocumentVersionUpload

授予权限以创建新的文档对象和版本对象

写入

RemoveAllResourcePermissions

授予权限以从指定资源中删除所有权限

写入

RemoveResourcePermission

授予权限以从指定资源中删除指定委托人的权限

写入

RestoreDocumentVersions

授予权限以还原指定文档的版本

写入

SearchResources

授予搜索元数据和资源内容的权限

列表

UpdateDocument

授予权限以更新指定文档的指定属性

写入

UpdateDocumentVersion

授予权限以将文档版本状态更改为 ACTIVE

写入

UpdateFolder

授予权限以更新指定文件夹的指定属性

写入

UpdateUser

授予更新指定用户指定属性的权限,并授予或撤消对 Amazon WorkDocs 网站的管理权限

写入

Permission-only Amazon 的行动 WorkDocs

以下操作由 Amazon 定义, WorkDocs 但不能通过任何 API 操作直接调用。它们只能在 IAM 策略声明中用于授予或拒绝权限。

操作 说明 资源类型(* 为必需) 条件键 访问级别

AddNotificationPermissions

授予添加允许为给定 WorkDocs 站点调用通知订阅 API 的委托人的权限

写入

AddUserToGroup

授予权限以将用户添加到组中

写入

CheckAlias

授予权限以检查别名

读取

CreateInstance

授予权限以创建实例

写入

DeleteInstance

授予权限以删除实例

写入

DeleteNotificationPermissions

授予删除允许为给定 WorkDocs 站点调用通知订阅 API 的委托人的权限

写入

DeregisterDirectory

授予权限以取消注册目录

写入

DescribeAvailableDirectories

授予权限以描述可用的目录

列表

DescribeInstanceExports

授予权限以描述实例的导出历史记录

列表

DescribeInstances

授予权限以描述实例

列表

DescribeNotificationPermissions

授予描述允许为给定 WorkDocs 站点调用通知订阅 API 的委托人的权限

列表

DownloadDocumentVersion

授予权限以下载指定的文档版本

读取

GetGroup

授予权限以检索指定组的详细信息

读取

RegisterDirectory

授予权限以注册目录

写入

StartInstanceExport

授予权限以开始导出实例

组织*

写入

UpdateInstanceAlias

授予权限以更新实例别名

写入

UpdateUserAdministrativeSettings

授予权限以更新用户的管理设置

写入

Amazon 定义的资源类型 WorkDocs

以下资源类型是由该服务定义的,可以在 IAM 权限策略语句的 Resource 元素中使用这些资源类型。

资源类型 ARN 条件键

组织

arn: $ {Partition}: workdocs: $ {Region}: $ {Account}: organization/$ {} ResourceId

Amazon 的条件密钥 WorkDocs

Amazon WorkDocs 没有可用于政策声明Condition元素的服务特定条件密钥。