访问控制(RAM)是阿里云提供的管理用户身份与资源访问权限的服务。使用RAM可以让您避免与其他用户共享阿里云账号密钥,并可按需为用户授予最小权限。RAM中使用权限策略描述授权的具体内容。
本文为您介绍智能外呼机器人(OutboundBot)为RAM权限策略定义的操作(Action)、资源(Resource)和条件(Condition)。智能外呼机器人(OutboundBot)的RAM代码(RamCode)为 outboundbot,支持的授权粒度为操作级。
权限策略通用结构
权限策略支持JSON格式,其通用结构如下:
{
"Version": "1",
"Statement": [
{
"Effect": "<Effect>",
"Action": "<Action>",
"Resource": "<Resource>",
"Condition": {
"<Condition_operator>": {
"<Condition_key>": [
"<Condition_value>"
]
}
}
}
]
}- Effect:权限策略效果。取值:Allow(允许)、Deny(拒绝)。
- Action:授予允许或拒绝权限的具体操作。具体信息,请参见操作(Action)。
- Resource:受操作影响的具体对象,您可以使用资源ARN来描述指定资源。具体信息,请参见资源(Resource)。
- Condition:指授权生效的条件。可选字段。具体信息,请参见条件(Condition)。
- Condition_operator:条件运算符,不同类型的条件对应不同的条件运算符。具体信息,请参见权限策略基本元素。
- Condition_key:条件关键字。
- Condition_value:条件关键字对应的值。
操作(Action)
下表是智能外呼机器人(OutboundBot)定义的操作,这些操作可以在RAM权限策略语句的Action元素中使用,用来授予执行该操作的权限。下面对表中的具体项提供说明:- 操作:是指具体的权限点。
- API:是指操作对应的API接口。
- 访问级别:是指每个操作的访问级别,取值为写入(Write)、读取(Read)或列出(List)。
- 资源类型:是指操作中支持授权的资源类型。具体说明如下:
- 对于必选的资源类型,用前面加 * 表示。
- 对于不支持资源级授权的操作,用
全部资源表示。
- 条件关键字:是指云产品自身定义的条件关键字。该列不体现适用于任何操作的通用条件关键字。
- 关联操作:是指成功执行操作所需要的其他权限。操作者必须同时具备关联操作的权限,操作才能成功。
| 操作 | API | 访问级别 | 资源类型 | 条件关键字 | 关联操作 |
|---|---|---|---|---|---|
| outboundbot:AssignJobs | AssignJobs | create | *全部资源 * | 无 | 无 |
| outboundbot:AssignJobsAsync | AssignJobsAsync | create | *全部资源 * | 无 | 无 |
| outboundbot:CancelJobs | CancelJobs | create | *全部资源 * | 无 | 无 |
| outboundbot:ChangeResourceGroup | ChangeResourceGroup | create | *全部资源 * | 无 | 无 |
| outboundbot:CreateAgentProfile | CreateAgentProfile | create | *全部资源 * | 无 | 无 |
| outboundbot:CreateAnnotationMission | CreateAnnotationMission | none | *全部资源 * | 无 | 无 |
| outboundbot:CreateBatchJobs | CreateBatchJobs | create | *全部资源 * | 无 | 无 |
| outboundbot:CreateBatchRepeatJobs | CreateBatchRepeatJob | create | *全部资源 * | 无 | 无 |
| outboundbot:CreateBeebotIntent | CreateBeebotIntent | create | *全部资源 * | 无 | 无 |
| outboundbot:CreateBeebotIntentLgf | CreateBeebotIntentLgf | create | *全部资源 * | 无 | 无 |
| outboundbot:CreateBeebotIntentUserSay | CreateBeebotIntentUserSay | create | *全部资源 * | 无 | 无 |
| outboundbot:CreateDialogueFlow | CreateDialogueFlow | create | *全部资源 * | 无 | 无 |
| outboundbot:CreateDownloadUrl | CreateDownloadUrl | create | *全部资源 * | 无 | 无 |
| outboundbot:CreateGlobalQuestion | CreateGlobalQuestion | create | *全部资源 * | 无 | 无 |
| outboundbot:CreateInstance | CreateInstance | create | *全部资源 * | 无 | 无 |
| outboundbot:CreateInstanceBindNumber | CreateInstanceBindNumber | create | *全部资源 * | 无 | 无 |
| outboundbot:CreateIntent | CreateIntent | create | *全部资源 * | 无 | 无 |
| outboundbot:CreateJobDataParsingTask | CreateJobDataParsingTask | create | *全部资源 * | 无 | 无 |
| outboundbot:CreateJobGroup | CreateJobGroup | create | *全部资源 * | 无 | 无 |
| outboundbot:CreateJobGroupExportTask | CreateJobGroupExportTask | create | *全部资源 * | 无 | 无 |
| outboundbot:CreateScript | CreateScript | create | *Instance acs:outboundbot:{#regionId}:{#accountId}:instance/{#InstanceId} | 无 | 无 |
| outboundbot:CreateScriptWaveform | CreateScriptWaveform | create | *全部资源 * | 无 | 无 |
| outboundbot:CreateTag | CreateTag | create | *全部资源 * | 无 | 无 |
| outboundbot:CreateTaskExportTask | CreateTaskExportTask | create | *全部资源 * | 无 | 无 |
| outboundbot:DeleteAgentProfiles | DeleteAgentProfiles | delete | *全部资源 * | 无 | 无 |
| outboundbot:DeleteAllNumberDistrictInfo | DeleteAllNumberDistrictInfo | delete | *全部资源 * | 无 | 无 |
| outboundbot:DeleteBeebotIntent | DeleteBeebotIntent | delete | *全部资源 * | 无 | 无 |
| outboundbot:DeleteBeebotIntentLgf | DeleteBeebotIntentLgf | delete | *全部资源 * | 无 | 无 |
| outboundbot:DeleteBeebotIntentUserSay | DeleteBeebotIntentUserSay | delete | *全部资源 * | 无 | 无 |
| outboundbot:DeleteCabOutboundCallNumber | DeleteOutboundCallNumber | delete | *全部资源 * | 无 | 无 |
| outboundbot:DeleteContactBlockList | DeleteContactBlockList | delete | *全部资源 * | 无 | 无 |
| outboundbot:DeleteContactWhiteList | DeleteContactWhiteList | delete | *全部资源 * | 无 | 无 |
| outboundbot:DeleteDialogueFlow | DeleteDialogueFlow | delete | *全部资源 * | 无 | 无 |
| outboundbot:DeleteGlobalQuestion | DeleteGlobalQuestion | delete | *全部资源 * | 无 | 无 |
| outboundbot:DeleteInstance | DeleteInstance | delete | *全部资源 * | 无 | 无 |
| outboundbot:DeleteIntent | DeleteIntent | delete | *全部资源 * | 无 | 无 |
| outboundbot:DeleteJobGroup | DeleteJobGroup | delete | *全部资源 * | 无 | 无 |
| outboundbot:DeleteScript | DeleteScript | delete | *全部资源 * | 无 | 无 |
| outboundbot:DeleteScriptRecording | DeleteScriptRecording | delete | *全部资源 * | 无 | 无 |
| outboundbot:DeleteScriptWaveform | DeleteScriptWaveform | delete | *全部资源 * | 无 | 无 |
| outboundbot:DescribeBeebotIntent | DescribeBeebotIntent | get | *全部资源 * | 无 | 无 |
| outboundbot:DescribeDialogueNodeStatistics | DescribeDialogueNodeStatistics | get | *全部资源 * | 无 | 无 |
| outboundbot:DescribeGlobalQuestion | DescribeGlobalQuestion | get | *全部资源 * | 无 | 无 |
| outboundbot:DescribeGroupDsReport | DescribeDsReports | get | *全部资源 * | 无 | 无 |
| outboundbot:DescribeGroupExecutingInfo | DescribeGroupExecutingInfo | get | *全部资源 * | 无 | 无 |
| outboundbot:DescribeIntent | DescribeIntent | get | *全部资源 * | 无 | 无 |
| outboundbot:DescribeIntentStatistics | DescribeIntentStatistics | get | *全部资源 * | 无 | 无 |
| outboundbot:DescribeJobDataParsingTaskProgress | DescribeJobDataParsingTaskProgress | get | *全部资源 * | 无 | 无 |
| outboundbot:DescribeJobGroupExportTaskProgress | DescribeJobGroupExportTaskProgress | get | *全部资源 * | 无 | 无 |
| outboundbot:DescribeScript | DescribeScript | get | *Instance acs:outboundbot:{#regionId}:{#accountId}:instance/{#InstanceId} | 无 | 无 |
| outboundbot:DescribeScriptVoiceConfig | DescribeScriptVoiceConfig | get | *全部资源 * | 无 | 无 |
| outboundbot:DescribeTTSConfig | DescribeTTSConfig | get | *全部资源 * | 无 | 无 |
| outboundbot:DescribeTTSDemo | DescribeTTSDemo | get | *全部资源 * | 无 | 无 |
| outboundbot:DescribeTagHitsSummary | DescribeTagHitsSummary | get | *全部资源 * | 无 | 无 |
| outboundbot:Dialogue | Dialogue | update | *全部资源 * | 无 | 无 |
| outboundbot:DownloadCabRecording | DownloadRecording | get | *全部资源 * | 无 | 无 |
| outboundbot:DownloadScriptRecording | DownloadScriptRecording | get | *全部资源 * | 无 | 无 |
| outboundbot:DuplicateScript | DuplicateScript | create | *全部资源 * | 无 | 无 |
| outboundbot:ExportScript | ExportScript | get | *全部资源 * | 无 | 无 |
| outboundbot:GenerateUploadUrl | GenerateUploadUrl | create | *全部资源 * | 无 | 无 |
| outboundbot:GetAfterAnswerDelayPlayback | GetAfterAnswerDelayPlayback | get | *全部资源 * | 无 | 无 |
| outboundbot:GetAgentProfile | GetAgentProfile | get | *全部资源 * | 无 | 无 |
| outboundbot:GetAgentProfileTemplate | GetAgentProfileTemplate | get | *全部资源 * | 无 | 无 |
| outboundbot:GetAnnotationMissionSummary | GetAnnotationMissionSummary | get | *全部资源 * | 无 | 无 |
| outboundbot:GetAnnotationMissionTagInfoList | GetAnnotationMissionTagInfoList | get | *全部资源 * | 无 | 无 |
| outboundbot:GetAsrServerInfo | GetAsrServerInfo | get | *全部资源 * | 无 | 无 |
| outboundbot:GetAssignJobsAsyncResult | GetAssignJobsAsyncResult | get | *全部资源 * | 无 | 无 |
| outboundbot:GetBaseStrategyPeriod | GetBaseStrategyPeriod | get | *全部资源 * | 无 | 无 |
| outboundbot:GetConcurrentConversationQuota | GetConcurrentConversationQuota | get | *全部资源 * | 无 | 无 |
| outboundbot:GetContactBlockList | GetContactBlockList | get | *全部资源 * | 无 | 无 |
| outboundbot:GetContactWhiteList | GetContactWhiteList | get | *全部资源 * | 无 | 无 |
| outboundbot:GetCurrentConcurrency | GetCurrentConcurrency | get | *全部资源 * | 无 | 无 |
| outboundbot:GetEmptyNumberNoMoreCallsInfo | GetEmptyNumberNoMoreCallsInfo | get | *全部资源 * | 无 | 无 |
| outboundbot:GetInstance | DescribeInstance | get | *全部资源 * | 无 | 无 |
| outboundbot:GetJob | DescribeJob | get | *全部资源 * | 无 | 无 |
| outboundbot:GetJobDataUploadParams | GetJobDataUploadParams | get | *全部资源 * | 无 | 无 |
| outboundbot:GetJobGroup | DescribeJobGroup | get | *全部资源 * | 无 | 无 |
| outboundbot:GetJobs | ListJobs | get | *全部资源 * | 无 | 无 |
| outboundbot:GetMaxAttemptsPerDay | GetMaxAttemptsPerDay | get | *全部资源 * | 无 | 无 |
| outboundbot:GetRealtimeConcurrencyReport | GetRealtimeConcurrencyReport | get | *全部资源 * | 无 | 无 |
| outboundbot:GetSummaryInfo | GetSummaryInfo | get | *全部资源 * | 无 | 无 |
| outboundbot:GetTaskByUuid | GetTaskByUuid | get | *全部资源 * | 无 | 无 |
| outboundbot:GetVersion | GetVersion | get | *全部资源 * | 无 | 无 |
| outboundbot:ImportScript | ImportScript | create | *全部资源 * | 无 | 无 |
| outboundbot:InflightTaskTimeout | InflightTaskTimeout | update | *全部资源 * | 无 | 无 |
| outboundbot:ListAgentProfiles | ListAgentProfiles | list | *全部资源 * | 无 | 无 |
| outboundbot:ListAllTenantBindNumberBinding | ListAllTenantBindNumberBinding | list | *全部资源 * | 无 | 无 |
| outboundbot:ListAnnotationMission | ListAnnotationMission | list | *全部资源 * | 无 | 无 |
| outboundbot:ListAnnotationMissionSession | ListAnnotationMissionSession | list | *全部资源 * | 无 | 无 |
| outboundbot:ListApiPlugins | ListApiPlugins | list | *全部资源 * | 无 | 无 |
| outboundbot:ListBeebotIntent | ListBeebotIntent | list | *全部资源 * | 无 | 无 |
| outboundbot:ListBeebotIntentLgf | ListBeebotIntentLgf | list | *全部资源 * | 无 | 无 |
| outboundbot:ListBeebotIntentUserSay | ListBeebotIntentUserSay | list | *全部资源 * | 无 | 无 |
| outboundbot:ListChatbotInstances | ListChatbotInstances | list | *全部资源 * | 无 | 无 |
| outboundbot:ListDialogueFlows | ListDialogueFlows | list | *全部资源 * | 无 | 无 |
| outboundbot:ListDownloadTasks | ListDownloadTasks | list | *全部资源 * | 无 | 无 |
| outboundbot:ListFlashSmsTemplates | ListFlashSmsTemplates | list | *全部资源 * | 无 | 无 |
| outboundbot:ListGlobalQuestions | ListGlobalQuestions | get | *全部资源 * | 无 | 无 |
| outboundbot:ListInstances | ListInstances | list | *全部资源 * | 无 | 无 |
| outboundbot:ListIntentions | ListIntentions | list | *全部资源 * | 无 | 无 |
| outboundbot:ListIntents | ListIntents | list | *全部资源 * | 无 | 无 |
| outboundbot:ListJobGroups | ListJobGroups | list | *全部资源 * | 无 | 无 |
| outboundbot:ListJobGroupsAsync | ListJobGroupsAsync | list | *全部资源 * | 无 | 无 |
| outboundbot:ListJobStatus | QueryJobs | get | *全部资源 * | 无 | 无 |
| outboundbot:ListJobsByGroup | ListJobsByGroup | list | *全部资源 * | 无 | 无 |
| outboundbot:ListOutboundCallNumbers | ListOutboundCallNumbers | list | *全部资源 * | 无 | 无 |
| outboundbot:ListResourceTags | ListResourceTags | list | *全部资源 * | 无 | 无 |
| outboundbot:ListScriptPublishHistories | ListScriptPublishHistories | list | *全部资源 * | 无 | 无 |
| outboundbot:ListScriptRecording | ListScriptRecording | list | *全部资源 * | 无 | 无 |
| outboundbot:ListScriptVoiceConfigs | ListScriptVoiceConfigs | list | *全部资源 * | 无 | 无 |
| outboundbot:ListScripts | ListScripts | list | *Instance acs:outboundbot:{#regionId}:{#accountId}:instance/{#InstanceId} | 无 | 无 |
| outboundbot:ListTagResources | ListTagResources | list | *全部资源 * | 无 | 无 |
| outboundbot:ListTags | ListTags | list | *全部资源 * | 无 | 无 |
| outboundbot:ModifyAgentProfile | ModifyAgentProfile | update | *全部资源 * | 无 | 无 |
| outboundbot:ModifyAnnotationMission | ModifyAnnotationMission | update | *全部资源 * | 无 | 无 |
| outboundbot:ModifyBatchJobs | ModifyBatchJobs | update | *全部资源 * | 无 | 无 |
| outboundbot:ModifyBeebotIntent | ModifyBeebotIntent | update | *全部资源 * | 无 | 无 |
| outboundbot:ModifyBeebotIntentLgf | ModifyBeebotIntentLgf | update | *全部资源 * | 无 | 无 |
| outboundbot:ModifyBeebotIntentUserSay | ModifyBeebotIntentUserSay | update | *全部资源 * | 无 | 无 |
| outboundbot:ModifyCabOutboundCallNumber | ModifyOutboundCallNumber | update | *全部资源 * | 无 | 无 |
| outboundbot:ModifyEmptyNumberNoMoreCallsInfo | ModifyEmptyNumberNoMoreCallsInfo | update | *全部资源 * | 无 | 无 |
| outboundbot:ModifyGlobalQuestion | ModifyGlobalQuestion | update | *全部资源 * | 无 | 无 |
| outboundbot:ModifyInstance | ModifyInstance | update | *全部资源 * | 无 | 无 |
| outboundbot:ModifyIntent | ModifyIntent | update | *全部资源 * | 无 | 无 |
| outboundbot:ModifyJobGroup | ModifyJobGroup | update | *全部资源 * | 无 | 无 |
| outboundbot:ModifyScript | ModifyScript | update | *Instance acs:outboundbot:{#regionId}:{#accountId}:instance/{#InstanceId} | 无 | 无 |
| outboundbot:ModifyScriptVoiceConfig | ModifyScriptVoiceConfig | update | *全部资源 * | 无 | 无 |
| outboundbot:ModifyTTSConfig | ModifyTTSConfig | update | *全部资源 * | 无 | 无 |
| outboundbot:ModifyTagGroups | ModifyTagGroups | update | *全部资源 * | 无 | 无 |
| outboundbot:PublishScript | PublishScript | none | *全部资源 * | 无 | 无 |
| outboundbot:PublishScriptForDebug | PublishScriptForDebug | none | *全部资源 * | 无 | 无 |
| outboundbot:QueryJobsWithResult | QueryJobsWithResult | get | *全部资源 * | 无 | 无 |
| outboundbot:QueryScriptWaveforms | QueryScriptWaveforms | get | *全部资源 * | 无 | 无 |
| outboundbot:QueryScriptsByStatus | QueryScriptsByStatus | get | *全部资源 * | 无 | 无 |
| outboundbot:RecordFailure | RecordFailure | none | *全部资源 * | 无 | 无 |
| outboundbot:ResumeJobs | ResumeJobs | none | *全部资源 * | 无 | 无 |
| outboundbot:RollbackScript | RollbackScript | update | *全部资源 * | 无 | 无 |
| outboundbot:SaveAfterAnswerDelayPlayback | SaveAfterAnswerDelayPlayback | update | *全部资源 * | 无 | 无 |
| outboundbot:SaveAnnotationMissionSessionList | SaveAnnotationMissionSessionList | update | *全部资源 * | 无 | 无 |
| outboundbot:SaveAnnotationMissionTagInfoList | SaveAnnotationMissionTagInfoList | create | *全部资源 * | 无 | 无 |
| outboundbot:SaveBaseStrategyPeriod | SaveBaseStrategyPeriod | create | *全部资源 * | 无 | 无 |
| outboundbot:SaveContactBlockList | SaveContactBlockList | create | *全部资源 * | 无 | 无 |
| outboundbot:SaveContactWhiteList | SaveContactWhiteList | create | *全部资源 * | 无 | 无 |
| outboundbot:SaveDialogueFlow | ModifyDialogueFlow | update | *全部资源 * | 无 | 无 |
| outboundbot:SaveMaxAttemptsPerDay | SaveMaxAttemptsPerDay | create | *全部资源 * | 无 | 无 |
| outboundbot:SearchTask | SearchTask | list | *全部资源 * | 无 | 无 |
| outboundbot:StartJob | StartJob | none | *全部资源 * | 无 | 无 |
| outboundbot:SubmitBatchJobs | SubmitBatchJobs | none | *全部资源 * | 无 | 无 |
| outboundbot:SubmitRecording | SubmitRecording | none | *全部资源 * | 无 | 无 |
| outboundbot:SubmitScriptReview | SubmitScriptReview | create | *全部资源 * | 无 | 无 |
| outboundbot:SuspendCall | SuspendCall | update | *全部资源 * | 无 | 无 |
| outboundbot:SuspendCallWithFile | SuspendCallWithFile | update | *全部资源 * | 无 | 无 |
| outboundbot:SuspendJobs | SuspendJobs | update | *全部资源 * | 无 | 无 |
| outboundbot:TagResources | TagResources | none | *全部资源 * | 无 | 无 |
| outboundbot:TaskPreparing | TaskPreparing | none | *全部资源 * | 无 | 无 |
| outboundbot:TenantBindNumber | DescribeTenantBindNumber | get | *全部资源 * | 无 | 无 |
| outboundbot:TerminateCall | TerminateCall | update | *全部资源 * | 无 | 无 |
| outboundbot:UntagResources | UntagResources | none | *全部资源 * | 无 | 无 |
| outboundbot:UploadScriptRecording | UploadScriptRecording | create | *全部资源 * | 无 | 无 |
| outboundbot:WithdrawScript | WithdrawScriptReview | none | *全部资源 * | 无 | 无 |
资源(Resource)
智能外呼机器人(OutboundBot)不支持在RAM权限策略语句的
Resource中指定资源ARN。如果要允许对智能外呼机器人(OutboundBot)的访问权限,请在策略语句中指定"Resource": "*"。条件(Condition)
智能外呼机器人(OutboundBot)未定义产品级别的条件关键字。如需查看适用于所有云产品的通用条件关键字,请参见通用条件关键字。