Authorizable Resources and Actions

Last updated: 2020-10-29 14:56:21

    Note:

    This document describes the access management feature of SMS. For more information on access management for other Tencent Cloud services, please see CAM-Enabled Products.

    The core feature of CAM is to allow or forbid an account to perform certain operations or manipulate certain resources. SMS access management supports resource-level authorization. The resource granularity is the SMS application, and the operation granularity is the TencentCloud API, including API 3.0 and APIs that may be used when the SMS console is accessed.

    If you need to manage access to SMS, please log in to the Tencent Cloud root account and use a preset policy or a custom policy to complete the specific authorization operations.

    Authorizable Resource Types

    The authorizable resource type in SMS access management is the application.

    APIs Supporting Resource-Level Authorization

    SMS supports resource-level authorization for all console APIs listed in this section, but not for server APIs. The syntax descriptions of the resources manipulated by such APIs in the authorization policy syntax are identical, as detailed below:

    • Grant the permission to access all applications: qcs::sms::uin/$ownerUin:app/*.
    • Grant the permission to access a single application: qcs::sms::uin/$ownerUin:app/$BizId.

    Console API Actions

    API Name Used Module Feature Description
    DescribeAppList SMS console > Applications > Application List Gets the application list
    DescribeAppInfo SMS console > Applications > Application List > Application Info Gets the application information
    ModifyAppInfo SMS console > Applications > Application List > Application Info Edits the application information
    ModifyAppStatus SMS console > Applications > Application List Enables/Disables the application
    DeleteAppInfo SMS console > Applications > Application List Deletes the application
    DescribeWarningThreshold SMS console > Applications > Basic Configuration > Over-limit Delivery Notification Gets the over-limit delivery notification
    ModifyWarningThreshold SMS console > Applications > Basic Configuration > Over-limit Delivery Notification Edits the over-limit delivery notification
    DescribeFreqRule SMS console > Applications > Basic Configuration > Delivery Rate Limit Gets the delivery rate limit
    ModifyFreqRule SMS console > Applications > Basic Configuration > Delivery Rate Limit Edits the delivery rate limit
    DescribeCallbackInfo SMS console > Applications > Basic Configuration > Event Callback Configuration Gets the callback configuration
    ModifyCallbackInfo SMS console > Applications > Basic Configuration > Event Callback Configuration Edits the callback configuration
    DescribeFrequencyWhiteList SMS console > Applications > Basic Configuration > Rate Limit Allowlist Gets the rate limit allowlist
    AddFrequencyWhiteList SMS console > Applications > Basic Configuration > Rate Limit Allowlist Adds the rate limit allowlist
    DeleteFrequencyWhiteList SMS console > Applications > Basic Configuration > Rate Limit Allowlist Deletes the rate limit allowlist
    DescribeNewsReceiver SMS console > Applications > Notifications & Alarms Gets the alarm contact information
    AddNewsReceiver SMS console > Applications > Notifications & Alarms Adds the alarm contact information
    ModifyNewsReceiver SMS console > Applications > Notifications & Alarms Edits the alarm contact information
    DeleteNewsReceiver SMS console > Applications > Notifications & Alarms Deletes the alarm contact information
    ModifyTaskStatusStart SMS console > Mainland China SMS/Global SMS > Bulk SMS Starts the instant or scheduled delivery task
    ModifyTaskStatusStop SMS console > Mainland China SMS/Global SMS > Bulk SMS Stops the instant delivery task
    CancelSendSMSTask SMS console > Mainland China SMS/Global SMS > Bulk SMS Cancels the scheduled delivery task

    Note:

    For an API that does not support resource-level permission control, you can still grant a user the permission to use it through a custom policy, but you must specify * as the resource element in the policy statement.

    CAM Module Update

    The CAM module of SMS has been updated from "consolesms" to "sms". If your Tencent Cloud account has granted a sub-account API permissions of the "consolesms" module in a preset policy, the sub-account will be automatically bound to the corresponding API permissions of the "sms" module. If a custom policy associated with a sub-account contains an API of the "consolesms" module, you need to replace the "consolesms" API with the corresponding "sms" API when updating the policy syntax subsequently. The following are the API mapping relationships:

    Legacy consolesms API Mapped new sms API
    SMS_GetAPPList DescribeAppList
    SMS_GetAPPInfo DescribeAppInfo
    SMS_GetWarningThreshold DescribeWarningThreshold
    SMS_GetFreqRule DescribeFreqRule
    SMS_GetCallbackList DescribeCallbackInfo
    SMS_GetFrqWhiteList DescribeFrequencyWhiteList
    SMS_GetNewsReceiver DescribeNewsReceiver
    SMS_GetBlackListByQappid DescribeBlackList
    SMS_SendSMSResultStatisticQuery_export DescribeSmsResultFile
    SMS_Statistic_QuerySMS_ByAppid_export DescribeSmsRecordFile
    SMS_StatisticQueryByQAppid DescribeStatisticQuery
    SMS_QuerySendSMSByQAppid DescribeSendSmsRecord
    SMS_GetPkgAutoRenew DescribePkgAutoRenew
    SMS_QueryDumpLogTask DescribeQueryDumpLogTask
    SMS_QuerySendSMSDumpLogTask DescribeSendSmsDumpLogTask
    SMS_CancelDumpLogTask CancelDumpLogTask
    SMS_AddDumpLogTask AddDumpLogTask
    SMS_GetWarningThreshold DescribeWarningThreshold
    SMS_StatisticNationCode DescribeNationCodeStatistic
    SMS_SendSMSResultStatisticQuery DescribeSendSMSResult
    SMS_Stat_InnerQuery_Reply DescribeInnerSMSReply
    SMS_QuerySendSMSTaskSummary DescribeSendSMSTaskSummary
    SMS_StatisticMonth DescribeMonthStatistic
    SMS_QuerySendSMSStatistic DescribeSendSMSStatistic
    SMS_QuerySendSMSDetail DescribeSendSMSDetail
    SMS_QuerySmsPkgRemain DescribeSmsPkgRemain
    SMS_GetPackageList DescribePackageList
    SMS_UnsubscribeQuery DescribeUnsubscribe
    SMS_ReceiptAnalysis DescribeReceiptResult
    SMS_GetTPLSignInfo DescribeTPLSignInfo
    SMS_GetTPLSignList DescribeTPLSignList

    Because of the console version upgrade, some APIs in the CAM module "consolesms" have been disused. If the following APIs are contained in the custom policies associated with your sub-accounts, please delete the relevant content in the policy syntax:

    API Status
    SMS_Stat_InnerQuery_export Disused
    SMS_GetConsoleFlag Disused
    SMS_IsWhiteDumpAppid Disused
    SMS_IsWhiteAppId Disused
    SMS_QueryBill_export Disused
    SMS_CheckAppidBizid Disused
    SMS_GetAllBizList Disused
    SMS_GetSMSNotice Disused
    Voice_GetSelfAccountTypes Disused
    Voice_GetAccountTypeInfo Disused
    Voice_GetBizTypes Disused
    Voice_GetBizAndAccountTypeInfo Disused
    SMS_GetServiceState Disused
    SMS_StatisticQueryIOTAnalysis Disused
    SMS_StatisticQueryIOTByOper Disused
    SMS_StatisticQueryIOT Disused
    SMS_Stat_InnerQueryVoice Disused
    SMS_StatisticQueryEx Disused
    SMS_StatisticQueryNew Disused
    SMS_GetNewsReceiverFlag Disused
    SMS_QueryTemplateStatisticEx Disused
    SMS_QueryTemplateStatistic Disused
    SMS_QueryBill Disused
    SMS_QuerySendSMSRemain Disused
    SMS_QuerySendSMS Disused
    SMS_IsWhiteUin Disused
    SMS_GetBlackList Disused
    SMS_Statistic_QuerySMS_export Disused
    SMS_GetSendList Disused
    SMS_GetReceiver Disused
    SMS_Query_Black Disused

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help