diff options
| author | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
|---|---|---|
| committer | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
| commit | 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch) | |
| tree | 5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/zh_cn/dysmsapi/2018-05-01 | |
| parent | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff) | |
| download | afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip | |
update APIs 20260712
Diffstat (limited to 'data/zh_cn/dysmsapi/2018-05-01')
| -rw-r--r-- | data/zh_cn/dysmsapi/2018-05-01/api-docs.php | 1579 |
1 files changed, 710 insertions, 869 deletions
diff --git a/data/zh_cn/dysmsapi/2018-05-01/api-docs.php b/data/zh_cn/dysmsapi/2018-05-01/api-docs.php index 0705fca..a28ae5f 100644 --- a/data/zh_cn/dysmsapi/2018-05-01/api-docs.php +++ b/data/zh_cn/dysmsapi/2018-05-01/api-docs.php @@ -1,37 +1,24 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'Dysmsapi', - 'version' => '2018-05-01', - ], + 'info' => ['style' => 'RPC', 'product' => 'Dysmsapi', 'version' => '2018-05-01'], 'directories' => [ [ - 'id' => 349009, - 'title' => '发送', + 'children' => ['BatchSendMessageToGlobe', 'SendMessageWithTemplate', 'SendMessageToGlobe'], 'type' => 'directory', - 'children' => [ - 'BatchSendMessageToGlobe', - 'SendMessageWithTemplate', - 'SendMessageToGlobe', - ], + 'title' => '发送', + 'id' => 35564, ], [ - 'id' => 349013, - 'title' => '查询', + 'children' => ['QueryMessage'], 'type' => 'directory', - 'children' => [ - 'QueryMessage', - ], + 'title' => '查询', + 'id' => 35562, ], [ - 'id' => 349015, - 'title' => '短信转化率', + 'children' => ['ConversionData', 'SmsConversion'], 'type' => 'directory', - 'children' => [ - 'ConversionData', - 'SmsConversion', - ], + 'title' => '短信转化率', + 'id' => 35568, ], ], 'components' => [ @@ -40,14 +27,8 @@ 'apis' => [ 'BatchSendMessageToGlobe' => [ 'summary' => '批量发送短信到中国境外。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -60,49 +41,27 @@ 'riskType' => 'none', 'chargeType' => 'paid', 'abilityTreeCode' => '13267', - 'abilityTreeNodes' => [ - 'FEATUREdysms1SWWZV', - ], + 'abilityTreeNodes' => ['FEATUREdysms1SWWZV'], ], 'parameters' => [ [ 'name' => 'To', 'in' => 'query', - 'schema' => [ - 'title' => '接收方号码。号码格式为:国际区号+号码。'."\n" - ."\n" - .'电话代码详情,请参见电话代码。', - 'description' => '接收方号码。号码格式为:国际区号+号码。'."\n" - ."\n" - .'电话代码详情,请参见[电话代码](https://www.alibabacloud.com/help/zh/short-message-service/latest/dialing-codes)。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '[\\"931520581****\\",\\"931530581****\\",\\"931540581****\\",\\"931550581****\\"]', - ], + 'schema' => ['title' => '接收方号码。号码格式为:国际区号+号码。'."\n" + ."\n" + .'电话代码详情,请参见电话代码。', 'description' => '接收方号码。号码格式为:国际区号+号码。'."\n" + ."\n" + .'电话代码详情,请参见[电话代码](https://www.alibabacloud.com/help/zh/short-message-service/latest/dialing-codes)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '[\\"931520581****\\",\\"931530581****\\",\\"931540581****\\",\\"931550581****\\"]'], ], [ 'name' => 'From', 'in' => 'query', - 'schema' => [ - 'title' => '发送方号码。支持SenderID的发送,只允许数字+字母,含有字母标识最长11位,纯数字标识支持15位。', - 'description' => '发送方号码。支持Sender ID的发送,只允许数字、字母,含有字母标识最长11位,纯数字标识支持15位。', - 'type' => 'string', - 'required' => false, - 'example' => 'Alicloud321', - ], + 'schema' => ['title' => '发送方号码。支持SenderID的发送,只允许数字+字母,含有字母标识最长11位,纯数字标识支持15位。', 'description' => '发送方号码。支持Sender ID的发送,只允许数字、字母,含有字母标识最长11位,纯数字标识支持15位。', 'type' => 'string', 'required' => false, 'example' => 'Alicloud321'], ], [ 'name' => 'Message', 'in' => 'query', - 'schema' => [ - 'title' => '短信内容。', - 'description' => '短信内容。'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '[\\"message to 931520581****\\",\\"message to 931530581****\\",\\"message to 931540581****\\",\\"message to 931550581****\\"]', - ], + 'schema' => ['title' => '短信内容。', 'description' => '短信内容。'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '[\\"message to 931520581****\\",\\"message to 931530581****\\",\\"message to 931540581****\\",\\"message to 931550581****\\"]'], ], [ 'name' => 'Type', @@ -127,37 +86,17 @@ [ 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'title' => '任务ID。长度不超过255个字符。可以在回执的TaskId获取。', - 'description' => '任务ID。长度不超过255个字符。可以在短信回执消息体的TaskId字段获取。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '123789****', - ], + 'schema' => ['title' => '任务ID。长度不超过255个字符。可以在回执的TaskId获取。', 'description' => '任务ID。长度不超过255个字符。可以在短信回执消息体的TaskId字段获取。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '123789****'], ], [ 'name' => 'ValidityPeriod', 'in' => 'query', - 'schema' => [ - 'title' => '短信有效时长', - 'description' => '短信有效时长,单位:秒。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '600', - ], + 'schema' => ['title' => '短信有效时长', 'description' => '短信有效时长,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '600'], ], [ 'name' => 'ChannelId', 'in' => 'query', - 'schema' => [ - 'title' => '短信通道id', - 'description' => '短信通道id', - 'type' => 'string', - 'required' => false, - 'example' => 'sms-djnfjn344', - ], + 'schema' => ['title' => '短信通道id', 'description' => '短信通道id', 'type' => 'string', 'required' => false, 'example' => 'sms-djnfjn344'], ], ], 'responses' => [ @@ -166,55 +105,18 @@ 'description' => '接口返回参数。', 'type' => 'object', 'properties' => [ - 'ResponseCode' => [ - 'title' => '状态码。返回OK代表请求成功,其他错误码,请参见错误码列表。', - 'description' => '状态码。返回OK代表请求成功,其他错误码,请参见[错误码列表](https://www.alibabacloud.com/help/zh/short-message-service/latest/error-codes)。', - 'type' => 'string', - 'example' => 'OK', - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'F655A8D5-B967-440B-8683-DAD6FF8D28D3', - ], - 'FailedList' => [ - 'title' => '发送失败的号码列表。', - 'description' => '发送失败的号码列表。', - 'type' => 'string', - 'example' => '["931520581****","931530581****"]', - ], - 'ResponseDescription' => [ - 'title' => '状态码描述。', - 'description' => '状态码描述。', - 'type' => 'string', - 'example' => 'The SMS Send Request was accepted', - ], - 'From' => [ - 'title' => '发送方标识,返回传入的SenderID。', - 'description' => '发送方标识,返回传入的Sender ID。', - 'type' => 'string', - 'example' => 'Alicloud321', - ], - 'MessageIdList' => [ - 'title' => '发送成功的消息ID。', - 'description' => '发送成功的消息ID。', - 'type' => 'string', - 'example' => '["123****","124****"]', - ], - 'SuccessCount' => [ - 'title' => '成功发送条数。', - 'description' => '成功发送条数。', - 'type' => 'string', - 'example' => '2', - ], + 'ResponseCode' => ['title' => '状态码。返回OK代表请求成功,其他错误码,请参见错误码列表。', 'description' => '状态码。返回OK代表请求成功,其他错误码,请参见[错误码列表](https://www.alibabacloud.com/help/zh/short-message-service/latest/error-codes)。', 'type' => 'string', 'example' => 'OK'], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'F655A8D5-B967-440B-8683-DAD6FF8D28D3'], + 'FailedList' => ['title' => '发送失败的号码列表。', 'description' => '发送失败的号码列表。', 'type' => 'string', 'example' => '["931520581****","931530581****"]'], + 'ResponseDescription' => ['title' => '状态码描述。', 'description' => '状态码描述。', 'type' => 'string', 'example' => 'The SMS Send Request was accepted'], + 'From' => ['title' => '发送方标识,返回传入的SenderID。', 'description' => '发送方标识,返回传入的Sender ID。', 'type' => 'string', 'example' => 'Alicloud321'], + 'MessageIdList' => ['title' => '发送成功的消息ID。', 'description' => '发送成功的消息ID。', 'type' => 'string', 'example' => '["123****","124****"]'], + 'SuccessCount' => ['title' => '成功发送条数。', 'description' => '成功发送条数。', 'type' => 'string', 'example' => '2'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], @@ -229,17 +131,25 @@ .'### QPS限制'."\n" .'本接口的单用户(同一个阿里云账号)QPS限制为1次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', 'extraInfo' => "\n", - ], - 'SendMessageWithTemplate' => [ - 'summary' => '使用短信模板发送短信,只支持发往中国内地。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dysms:BatchSendMessageToGlobe', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SMS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'ConversionData' => [ + 'summary' => '将短信转化率统计数据反馈给阿里云国际短信平台。', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -248,187 +158,157 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'update', 'riskType' => 'none', - 'chargeType' => 'paid', - 'abilityTreeCode' => '13271', - 'abilityTreeNodes' => [ - 'FEATUREdysmsDXU0GD', - ], + 'chargeType' => 'free', + 'abilityTreeCode' => '31341', + 'abilityTreeNodes' => ['FEATUREdysmsL8BKKM'], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'To', - 'in' => 'query', - 'schema' => [ - 'title' => '接收短信号码。号码格式为:国际区号+号码。', - 'description' => '接收短信号码。号码格式为:国际区号+号码。例如:861503871\\*\\*\\*\\*。'."\n" - ."\n" - .'电话代码详情,请参见[电话代码](https://www.alibabacloud.com/help/zh/short-message-service/latest/dialing-codes)。', - 'type' => 'string', - 'required' => true, - 'example' => '861503871****', - ], - ], - [ - 'name' => 'From', - 'in' => 'query', - 'schema' => [ - 'title' => '发送方标识,请传入短信签名名称。您可以登录短信服务控制台,选择发往中国大陆 > 短信签名,在短信签名列表查看签名名称。', - 'description' => '发送方标识,请传入短信签名名称。您可以登录[短信服务控制台](https://sms-intl.console.aliyun.com/overview),选择**发往中国大陆** > **短信签名**,在短信签名列表查看签名名称。'."\n" - ."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'Alicloud321', - ], + 'name' => 'ReportTime', + 'in' => 'formData', + 'schema' => ['title' => '转化率观测的时间点。必须是Unix时间戳,毫秒级别长整型。如果不指定该字段,默认当前的时间戳。', 'description' => '转化率观测的时间点。必须是Unix时间戳,毫秒级别长整型。'."\n" + ."\n" + .'>如果不指定该字段:默认当前的时间戳。'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1349055900000'], ], [ - 'name' => 'TemplateCode', - 'in' => 'query', - 'schema' => [ - 'title' => '短信模板编码。您可以登录短信服务控制台,选择发往中国大陆 > 短信内容,在短信内容列表查看短信模板编码。', - 'description' => '短信模板编码。您可以登录[短信服务控制台](https://sms-intl.console.aliyun.com/overview),选择**发往中国大陆** > **短信内容**,在短信内容列表查看短信模板编码。'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'SMS_****', - ], + 'name' => 'ConversionRate', + 'in' => 'formData', + 'schema' => ['title' => '转化率监控回报值。该参数取值为double类型 ,区间是[0,1]。', 'description' => '转化率监控回报值。'."\n" + .'>该参数取值为double类型 ,区间是\\[0,1]。', 'type' => 'string', 'required' => true, 'example' => '0.53'], ], - [ - 'name' => 'TemplateParam', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '短信模板变量对应的实际值。如果模板中存在变量,该参数为必填项。', - 'description' => '短信模板变量对应的实际值。如果模板中存在变量,该参数为必填项。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{"code":"1234","product":"ytx"}', + 'description' => '接口返回参数。', + 'type' => 'object', + 'properties' => [ + 'ResponseCode' => ['title' => '状态码。返回OK代表请求成功,其他错误码,请参见错误码列表。', 'description' => '状态码。返回OK代表请求成功,其他错误码,请参见[错误码列表](https://www.alibabacloud.com/help/zh/doc-detail/180674.html)。', 'type' => 'string', 'example' => 'OK'], + 'ResponseDescription' => ['title' => '状态码描述。', 'description' => '状态码描述。', 'type' => 'string', 'example' => 'OK'], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'F655A8D5-B967-440B-8683-DAD6FF8D****'], + ], ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"ResponseCode\\": \\"OK\\",\\n \\"ResponseDescription\\": \\"OK\\",\\n \\"RequestId\\": \\"F655A8D5-B967-440B-8683-DAD6FF8D****\\"\\n}","errorExample":""},{"type":"xml","example":"<ConversionDataResponse>\\n <ResponseCode>OK</ResponseCode>\\n <ResponseDescription>OK</ResponseDescription>\\n <RequestId>F655A8D5-B967-440B-8683-DAD6FF8D****</RequestId>\\n</ConversionDataResponse>","errorExample":""}]', + 'title' => '转化率数据接入API', + 'description' => '指标说明:'."\n" + ."\n" + .'- OTP发送量:验证码发送量。'."\n" + ."\n" + .'- OTP转化量:验证码转换量。(用户成功获取验证码,并进行回传)'."\n" + ."\n" + .'转化率=OTP转化量/OTP发送量。', + 'changeSet' => [], + 'ramActions' => [ [ - 'name' => 'SmsUpExtendCode', - 'in' => 'query', - 'schema' => [ - 'title' => '上行短信扩展码。', - 'description' => '上行短信扩展码。', - 'type' => 'string', - 'required' => false, - 'example' => '90999', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dysms:ConversionData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SMS', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + ], + 'QueryMessage' => [ + 'summary' => '使用短信MessageId查询短信发送记录。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'ValidityPeriod', - 'in' => 'query', - 'schema' => [ - 'title' => '短信有效时长', - 'description' => '短信有效时长', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '13268', + 'abilityTreeNodes' => ['FEATUREdysmsRZSVOZ'], + ], + 'parameters' => [ [ - 'name' => 'ChannelId', + 'name' => 'MessageId', 'in' => 'query', - 'schema' => [ - 'description' => '通道ID', - 'type' => 'string', - 'required' => false, - 'example' => '5739', - ], + 'schema' => ['title' => '短信消息ID。', 'description' => '消息ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1008030xxx3003'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => '接口返回参数。', 'type' => 'object', 'properties' => [ - 'ResponseCode' => [ - 'title' => '短信提交状态码。', - 'description' => '短信提交状态。', - 'type' => 'string', - 'example' => 'OK', - ], + 'Status' => ['title' => '短信的发送状态。'."\n" + ."\n" + .'1:成功(Delivered)'."\n" + .'2:失败(Delivery Failed)'."\n" + .'3:发送中(Delivering)', 'description' => '短信的发送状态。'."\n" + .'- 1:成功(Delivered)'."\n" + .'- 2:失败(Delivery Failed) '."\n" + .'- 3:发送中(Delivering)', 'type' => 'string', 'example' => '1'], + 'ErrorDescription' => ['title' => '短信发送状态码的描述。', 'description' => '短信发送状态码的描述。', 'type' => 'string', 'example' => 'success'], + 'ResponseCode' => ['title' => '短信提交状态码。', 'description' => '短信提交状态。', 'type' => 'string', 'example' => 'OK'], + 'ReceiveDate' => ['title' => '发送短信收到运营商回执的时间。', 'description' => '发送短信收到运营商回执的时间。', 'type' => 'string', 'example' => 'Mon, 24 Dec 2018 16:58:22 +0800'], 'NumberDetail' => [ 'title' => '号码明细。', 'description' => '号码明细。', 'type' => 'object', 'properties' => [ - 'Carrier' => [ - 'title' => '号码所属的运营商网络。', - 'description' => '号码所属的运营商网络。', - 'type' => 'string', - 'example' => 'China Mobile', - ], - 'Region' => [ - 'title' => '号码所属地区。', - 'description' => '号码所属地区。', - 'type' => 'string', - 'example' => 'Nanjing, Jiangsu', - ], - 'Country' => [ - 'title' => '号码所属国家。', - 'description' => '号码所属国家。', - 'type' => 'string', - 'example' => 'China', - ], + 'Carrier' => ['title' => '号码所属的运营商网络。', 'description' => '号码所属的运营商网络。', 'type' => 'string', 'example' => 'CMI'], + 'Region' => ['title' => '号码所属地区。', 'description' => '号码所属地区。', 'type' => 'string', 'example' => 'HongKong'], + 'Country' => ['title' => '号码所属国家。', 'description' => '号码所属国家。', 'type' => 'string', 'example' => 'China'], ], ], - 'ResponseDescription' => [ - 'title' => '短信提交状态的详细描述。', - 'description' => '短信提交状态的详细描述。', - 'type' => 'string', - 'example' => 'The SMS Send Request was accepted', - ], - 'Segments' => [ - 'title' => '短信计费条数。', - 'description' => '短信计费条数。', - 'type' => 'string', - 'example' => '1', - ], - 'To' => [ - 'title' => '接收短信号码。号码格式为:国际区号+号码。', - 'description' => '接收短信号码。号码格式为:国际区号+号码。例如:861503871\\*\\*\\*\\*。', - 'type' => 'string', - 'example' => '861503871****', - ], - 'MessageId' => [ - 'title' => '短信消息ID。由阿里云国际短信平台生成。', - 'description' => '消息ID。', - 'type' => 'string', - 'example' => '1**************3', - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'F655A8D5-B967-440B-8683-DAD6FF8D23D6', - ], + 'Message' => ['title' => '短信内容。', 'description' => '短信内容。', 'type' => 'string', 'example' => 'Hello!'], + 'ResponseDescription' => ['title' => '短信提交状态的详细描述。', 'description' => '短信提交状态的详细描述。', 'type' => 'string', 'example' => 'The SMS Send Request was accepted'], + 'ErrorCode' => ['title' => '短信发送状态码。', 'description' => '短信发送状态码。', 'type' => 'string', 'example' => 'DELIVERED'], + 'SendDate' => ['title' => '短信转发给运营商的时间。', 'description' => '短信转发给运营商的时间。', 'type' => 'string', 'example' => 'Mon, 24 Dec 2018 16:58:22 +0800'], + 'To' => ['title' => '接收方号码。', 'description' => '接收方号码。', 'type' => 'string', 'example' => '6581xxx810'], + 'MessageId' => ['title' => '短信消息ID。', 'description' => '消息ID。', 'type' => 'string', 'example' => '1008030xxx3003'], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'F655A8D5-B967-440B-8683-DAD6FF8D28D0'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"ResponseCode\\": \\"OK\\",\\n \\"NumberDetail\\": {\\n \\"Carrier\\": \\"China Mobile\\",\\n \\"Region\\": \\"Nanjing, Jiangsu\\",\\n \\"Country\\": \\"China\\"\\n },\\n \\"ResponseDescription\\": \\"The SMS Send Request was accepted\\",\\n \\"Segments\\": \\"1\\",\\n \\"To\\": \\"861503871****\\",\\n \\"MessageId\\": \\"1**************3\\",\\n \\"RequestId\\": \\"F655A8D5-B967-440B-8683-DAD6FF8D23D6\\"\\n}","errorExample":""},{"type":"xml","example":"<SendMessageWithTemplateResponse>\\n <ResponseCode>OK</ResponseCode>\\n <NumberDetail>\\n <Carrier>China Mobile</Carrier>\\n <Region>Nanjing, Jiangsu</Region>\\n <Country>China</Country>\\n </NumberDetail>\\n <ResponseDescription>The SMS Send Request was accepted</ResponseDescription>\\n <Segments>1</Segments>\\n <To>861503871****</To>\\n <MessageId>1**************3</MessageId>\\n <RequestId>F655A8D5-B967-440B-8683-DAD6FF8D23D6</RequestId>\\n</SendMessageWithTemplateResponse>","errorExample":""}]', - 'title' => '使用短信模板发送短信', - 'description' => '### 使用说明'."\n" - .'SendMessageWithTemplate接口仅支持往中国内地发送短信。', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Status\\": \\"1\\",\\n \\"ErrorDescription\\": \\"success\\",\\n \\"ResponseCode\\": \\"OK\\",\\n \\"ReceiveDate\\": \\"Mon, 24 Dec 2018 16:58:22 +0800\\",\\n \\"NumberDetail\\": {\\n \\"Carrier\\": \\"CMI\\",\\n \\"Region\\": \\"HongKong\\",\\n \\"Country\\": \\"China\\"\\n },\\n \\"Message\\": \\"Hello!\\",\\n \\"ResponseDescription\\": \\"The SMS Send Request was accepted\\",\\n \\"ErrorCode\\": \\"DELIVERED\\",\\n \\"SendDate\\": \\"Mon, 24 Dec 2018 16:58:22 +0800\\",\\n \\"To\\": \\"6581xxx810\\",\\n \\"MessageId\\": \\"1008030xxx3003\\",\\n \\"RequestId\\": \\"F655A8D5-B967-440B-8683-DAD6FF8D28D0\\"\\n}","errorExample":""},{"type":"xml","example":"<QueryMessageResponse>\\n <Status>1</Status>\\n <ErrorDescription>success</ErrorDescription>\\n <ResponseCode>OK</ResponseCode>\\n <ReceiveDate>Mon, 24 Dec 2018 16:58:22 +0800</ReceiveDate>\\n <NumberDetail>\\n <Carrier>CMI</Carrier>\\n <Region>HongKong</Region>\\n <Country>Hongkong, China</Country>\\n </NumberDetail>\\n <Message>Hello!</Message>\\n <ResponseDescription>The SMS Send Request was accepted</ResponseDescription>\\n <ErrorCode>DELIVERED</ErrorCode>\\n <SendDate>Mon, 24 Dec 2018 16:58:22 +0800</SendDate>\\n <To>6581xxx810</To>\\n <MessageId>1008030xxx3003</MessageId>\\n <RequestId>F655A8D5-B967-440B-8683-DAD6FF8D28D0</RequestId>\\n</QueryMessageResponse>","errorExample":""}]', + 'title' => '查询短信发送记录', + 'description' => '### QPS限制'."\n" + .'本接口的单用户(同一个阿里云账号)QPS限制为300次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dysms:QueryMessage', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SMS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], ], 'SendMessageToGlobe' => [ 'summary' => '发送短信到中国香港、中国澳门、中国台湾以及中国境外地区。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['HTTP', 'HTTPS'], 'security' => [ [ 'AK' => [], @@ -441,100 +321,53 @@ 'riskType' => 'none', 'chargeType' => 'paid', 'abilityTreeCode' => '13270', - 'abilityTreeNodes' => [ - 'FEATUREdysms1SWWZV', - ], + 'abilityTreeNodes' => ['FEATUREdysms1SWWZV'], ], 'parameters' => [ [ 'name' => 'To', 'in' => 'query', - 'schema' => [ - 'title' => '接收方号码。号码格式为:国际区号+号码。', - 'description' => '接收方号码。号码格式为:`国际区号+号码`。例如:8521245567\\*\\*\\*\\*。'."\n" - ."\n" - .'电话代码详情,请参见[电话代码](https://www.alibabacloud.com/help/zh/short-message-service/latest/dialing-codes)。'."\n" - ."\n" - .'> SendMessageToGlobe接口不支持往中国内地发送短信。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '8521245567****', - ], + 'schema' => ['title' => '接收方号码。号码格式为:国际区号+号码。', 'description' => '接收方号码。号码格式为:`国际区号+号码`。例如:8521245567\\*\\*\\*\\*。'."\n" + ."\n" + .'电话代码详情,请参见[电话代码](https://www.alibabacloud.com/help/zh/short-message-service/latest/dialing-codes)。'."\n" + ."\n" + .'> SendMessageToGlobe接口不支持往中国内地发送短信。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '8521245567****'], ], [ 'name' => 'From', 'in' => 'query', - 'schema' => [ - 'title' => '发送方号码。支持SenderId的发送,只允许数字+字母,含有字母标识最长11位,纯数字标识支持15位。', - 'description' => '发送方号码。支持Sender ID的发送,只允许数字、字母,含有字母标识最长11位,纯数字标识支持15位。', - 'type' => 'string', - 'required' => false, - 'example' => 'Alicloud321', - ], + 'schema' => ['title' => '发送方号码。支持SenderId的发送,只允许数字+字母,含有字母标识最长11位,纯数字标识支持15位。', 'description' => '发送方号码。支持Sender ID的发送,只允许数字、字母,含有字母标识最长11位,纯数字标识支持15位。', 'type' => 'string', 'required' => false, 'example' => 'Alicloud321'], ], [ 'name' => 'Message', 'in' => 'query', - 'schema' => [ - 'title' => '短信的内容。', - 'description' => '短信的内容。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'Hello', - ], + 'schema' => ['title' => '短信的内容。', 'description' => '短信的内容。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Hello'], ], [ 'name' => 'Type', 'in' => 'query', - 'schema' => [ - 'title' => '短信类型。取值:'."\n" - .'OTP:验证码短信。'."\n" - .'NOTIFY:通知短信。'."\n" - .'MKT:推广短信。', - 'description' => '短信类型。取值:'."\n" - .'- OTP:验证码短信。'."\n" - .'- NOTIFY:通知短信。'."\n" - .'- MKT:推广短信。', - 'type' => 'string', - 'required' => false, - 'example' => 'NOTIFY', - ], + 'schema' => ['title' => '短信类型。取值:'."\n" + .'OTP:验证码短信。'."\n" + .'NOTIFY:通知短信。'."\n" + .'MKT:推广短信。', 'description' => '短信类型。取值:'."\n" + .'- OTP:验证码短信。'."\n" + .'- NOTIFY:通知短信。'."\n" + .'- MKT:推广短信。', 'type' => 'string', 'required' => false, 'example' => 'NOTIFY'], ], [ 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'title' => '任务ID。长度不超过255个字符。可以从回执的TaskId字段获取。', - 'description' => '任务ID。长度不超过255个字符。可以在短信回执消息体的TaskId字段获取。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '123****789', - ], + 'schema' => ['title' => '任务ID。长度不超过255个字符。可以从回执的TaskId字段获取。', 'description' => '任务ID。长度不超过255个字符。可以在短信回执消息体的TaskId字段获取。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '123****789'], ], [ 'name' => 'ValidityPeriod', 'in' => 'query', - 'schema' => [ - 'title' => '短信有效时长', - 'description' => '短信有效时长,单位:秒。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '600', - ], + 'schema' => ['title' => '短信有效时长', 'description' => '短信有效时长,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '600'], ], [ 'name' => 'ChannelId', 'in' => 'query', - 'schema' => [ - 'description' => '通道ID。', - 'type' => 'string', - 'required' => false, - 'example' => '3790', - ], + 'schema' => ['description' => '通道ID。', 'type' => 'string', 'required' => false, 'example' => '3790'], ], ], 'responses' => [ @@ -543,81 +376,28 @@ 'description' => '接口返回参数。', 'type' => 'object', 'properties' => [ - 'ResponseCode' => [ - 'title' => '短信提交状态码。', - 'description' => '短信提交状态码。', - 'type' => 'string', - 'example' => 'OK', - ], + 'ResponseCode' => ['title' => '短信提交状态码。', 'description' => '短信提交状态码。', 'type' => 'string', 'example' => 'OK'], 'NumberDetail' => [ 'title' => '号码明细。', 'description' => '号码明细。', 'type' => 'object', 'properties' => [ - 'Carrier' => [ - 'title' => '号码所属的运营商网络。', - 'description' => '号码所属的运营商网络。', - 'type' => 'string', - 'example' => 'CMI', - ], - 'Region' => [ - 'title' => '号码所属地区。', - 'description' => '号码所属地区。', - 'type' => 'string', - 'example' => 'HongKong', - ], - 'Country' => [ - 'title' => '号码所属国家。', - 'description' => '号码所属国家。', - 'type' => 'string', - 'example' => 'China', - ], + 'Carrier' => ['title' => '号码所属的运营商网络。', 'description' => '号码所属的运营商网络。', 'type' => 'string', 'example' => 'CMI'], + 'Region' => ['title' => '号码所属地区。', 'description' => '号码所属地区。', 'type' => 'string', 'example' => 'HongKong'], + 'Country' => ['title' => '号码所属国家。', 'description' => '号码所属国家。', 'type' => 'string', 'example' => 'China'], ], ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'F655A8D5-B967-440B-8683-DAD6FF8DE990', - ], - 'Segments' => [ - 'title' => '短信计费条数。', - 'description' => '短信计费条数。', - 'type' => 'string', - 'example' => '1', - ], - 'ResponseDescription' => [ - 'title' => '短信提交状态码描述。', - 'description' => '短信提交状态码描述。', - 'type' => 'string', - 'example' => 'The SMS Send Request was accepted', - ], - 'From' => [ - 'title' => '发送方号码,返回传入的SenderId。', - 'description' => '发送方号码,返回传入的Sender ID。', - 'type' => 'string', - 'example' => 'Alicloud321', - ], - 'To' => [ - 'title' => '接收方号码。', - 'description' => '接收方号码。', - 'type' => 'string', - 'example' => '1380000****', - ], - 'MessageId' => [ - 'title' => '短信消息ID。由阿里云国际短信平台生成', - 'description' => '消息ID。', - 'type' => 'string', - 'example' => '1008030300****', - ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'required' => false, 'example' => 'F655A8D5-B967-440B-8683-DAD6FF8DE990'], + 'Segments' => ['title' => '短信计费条数。', 'description' => '短信计费条数。', 'type' => 'string', 'example' => '1'], + 'ResponseDescription' => ['title' => '短信提交状态码描述。', 'description' => '短信提交状态码描述。', 'type' => 'string', 'example' => 'The SMS Send Request was accepted'], + 'From' => ['title' => '发送方号码,返回传入的SenderId。', 'description' => '发送方号码,返回传入的Sender ID。', 'type' => 'string', 'example' => 'Alicloud321'], + 'To' => ['title' => '接收方号码。', 'description' => '接收方号码。', 'type' => 'string', 'example' => '1380000****'], + 'MessageId' => ['title' => '短信消息ID。由阿里云国际短信平台生成', 'description' => '消息ID。', 'type' => 'string', 'example' => '1008030300****'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"type":"json","example":"{\\n \\"ResponseCode\\": \\"OK\\",\\n \\"NumberDetail\\": {\\n \\"Carrier\\": \\"CMI\\",\\n \\"Region\\": \\"HongKong\\",\\n \\"Country\\": \\"China\\"\\n },\\n \\"RequestId\\": \\"F655A8D5-B967-440B-8683-DAD6FF8DE990\\",\\n \\"Segments\\": \\"1\\",\\n \\"ResponseDescription\\": \\"The SMS Send Request was accepted\\",\\n \\"From\\": \\"Alicloud321\\",\\n \\"To\\": \\"1380000****\\",\\n \\"MessageId\\": \\"1008030300****\\"\\n}","errorExample":""},{"type":"xml","example":"<SendMessageToGlobeResponse>\\n <ResponseCode>OK</ResponseCode>\\n <NumberDetail>\\n <Carrier>CMI</Carrier>\\n <Region>HongKong</Region>\\n <Country>Hongkong, China</Country>\\n </NumberDetail>\\n <RequestId>F655A8D5-B967-440B-8683-DAD6FF8DE990</RequestId>\\n <Segments>1</Segments>\\n <ResponseDescription>The SMS Send Request was accepted</ResponseDescription>\\n <From>Alicloud</From>\\n <To>\\"123\\"</To>\\n <MessageId>1008030300****</MessageId>\\n</SendMessageToGlobeResponse>","errorExample":""}]', 'title' => '发送短信到港澳台及中国境外', 'description' => '- 您可调用此接口发送短信至港澳台及中国境外,或在[发送任务](https://sms.console.alibabacloud.com/batch)界面手动发送短信至港澳台及中国境外。'."\n" @@ -630,17 +410,37 @@ ."\n" .'### QPS限制'."\n" .'本接口的单用户(同一个阿里云账号)QPS限制为2000次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - ], - 'QueryMessage' => [ - 'summary' => '使用短信MessageId查询短信发送记录。', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2025-08-05T07:21:13.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2025-08-01T06:22:21.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-08-01T03:34:45.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2024-03-28T09:09:20.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-06-27T06:55:18.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '2000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SendMessageToGlobe'], + ], + 'product' => ['code' => 'dysms', 'title' => '短信服务'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dysms:SendMessageToGlobe', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SMS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'SendMessageWithTemplate' => [ + 'summary' => '使用短信模板发送短信,只支持发往中国内地。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -649,253 +449,104 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '13268', - 'abilityTreeNodes' => [ - 'FEATUREdysmsRZSVOZ', - ], + 'chargeType' => 'paid', + 'abilityTreeCode' => '13271', + 'abilityTreeNodes' => ['FEATUREdysmsDXU0GD'], ], 'parameters' => [ [ - 'name' => 'MessageId', + 'name' => 'To', 'in' => 'query', - 'schema' => [ - 'title' => '短信消息ID。', - 'description' => '消息ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '1008030xxx3003', - ], + 'schema' => ['title' => '接收短信号码。号码格式为:国际区号+号码。', 'description' => '接收短信号码。号码格式为:国际区号+号码。例如:861503871\\*\\*\\*\\*。'."\n" + ."\n" + .'电话代码详情,请参见[电话代码](https://www.alibabacloud.com/help/zh/short-message-service/latest/dialing-codes)。', 'type' => 'string', 'required' => true, 'example' => '861503871****'], + ], + [ + 'name' => 'From', + 'in' => 'query', + 'schema' => ['title' => '发送方标识,请传入短信签名名称。您可以登录短信服务控制台,选择发往中国大陆 > 短信签名,在短信签名列表查看签名名称。', 'description' => '发送方标识,请传入短信签名名称。您可以登录[短信服务控制台](https://sms-intl.console.aliyun.com/overview),选择**发往中国大陆** > **短信签名**,在短信签名列表查看签名名称。'."\n" + ."\n", 'type' => 'string', 'required' => true, 'example' => 'Alicloud321'], + ], + [ + 'name' => 'TemplateCode', + 'in' => 'query', + 'schema' => ['title' => '短信模板编码。您可以登录短信服务控制台,选择发往中国大陆 > 短信内容,在短信内容列表查看短信模板编码。', 'description' => '短信模板编码。您可以登录[短信服务控制台](https://sms-intl.console.aliyun.com/overview),选择**发往中国大陆** > **短信内容**,在短信内容列表查看短信模板编码。'."\n", 'type' => 'string', 'required' => true, 'example' => 'SMS_****'], + ], + [ + 'name' => 'TemplateParam', + 'in' => 'query', + 'schema' => ['title' => '短信模板变量对应的实际值。如果模板中存在变量,该参数为必填项。', 'description' => '短信模板变量对应的实际值。如果模板中存在变量,该参数为必填项。'."\n", 'type' => 'string', 'required' => false, 'example' => '{"code":"1234","product":"ytx"}'], + ], + [ + 'name' => 'SmsUpExtendCode', + 'in' => 'query', + 'schema' => ['title' => '上行短信扩展码。', 'description' => '上行短信扩展码。', 'type' => 'string', 'required' => false, 'example' => '90999'], + ], + [ + 'name' => 'ValidityPeriod', + 'in' => 'query', + 'schema' => ['title' => '短信有效时长', 'description' => '短信有效时长', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'ChannelId', + 'in' => 'query', + 'schema' => ['description' => '通道ID', 'type' => 'string', 'required' => false, 'example' => '5739'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '接口返回参数。', 'type' => 'object', 'properties' => [ - 'Status' => [ - 'title' => '短信的发送状态。'."\n" - ."\n" - .'1:成功(Delivered)'."\n" - .'2:失败(Delivery Failed)'."\n" - .'3:发送中(Delivering)', - 'description' => '短信的发送状态。'."\n" - .'- 1:成功(Delivered)'."\n" - .'- 2:失败(Delivery Failed) '."\n" - .'- 3:发送中(Delivering)', - 'type' => 'string', - 'example' => '1', - ], - 'ErrorDescription' => [ - 'title' => '短信发送状态码的描述。', - 'description' => '短信发送状态码的描述。', - 'type' => 'string', - 'example' => 'success', - ], - 'ResponseCode' => [ - 'title' => '短信提交状态码。', - 'description' => '短信提交状态。', - 'type' => 'string', - 'example' => 'OK', - ], - 'ReceiveDate' => [ - 'title' => '发送短信收到运营商回执的时间。', - 'description' => '发送短信收到运营商回执的时间。', - 'type' => 'string', - 'example' => 'Mon, 24 Dec 2018 16:58:22 +0800', - ], + 'ResponseCode' => ['title' => '短信提交状态码。', 'description' => '短信提交状态。', 'type' => 'string', 'example' => 'OK'], 'NumberDetail' => [ 'title' => '号码明细。', 'description' => '号码明细。', 'type' => 'object', 'properties' => [ - 'Carrier' => [ - 'title' => '号码所属的运营商网络。', - 'description' => '号码所属的运营商网络。', - 'type' => 'string', - 'example' => 'CMI', - ], - 'Region' => [ - 'title' => '号码所属地区。', - 'description' => '号码所属地区。', - 'type' => 'string', - 'example' => 'HongKong', - ], - 'Country' => [ - 'title' => '号码所属国家。', - 'description' => '号码所属国家。', - 'type' => 'string', - 'example' => 'China', - ], + 'Carrier' => ['title' => '号码所属的运营商网络。', 'description' => '号码所属的运营商网络。', 'type' => 'string', 'example' => 'China Mobile'], + 'Region' => ['title' => '号码所属地区。', 'description' => '号码所属地区。', 'type' => 'string', 'example' => 'Nanjing, Jiangsu'], + 'Country' => ['title' => '号码所属国家。', 'description' => '号码所属国家。', 'type' => 'string', 'example' => 'China'], ], ], - 'Message' => [ - 'title' => '短信内容。', - 'description' => '短信内容。', - 'type' => 'string', - 'example' => 'Hello!', - ], - 'ResponseDescription' => [ - 'title' => '短信提交状态的详细描述。', - 'description' => '短信提交状态的详细描述。', - 'type' => 'string', - 'example' => 'The SMS Send Request was accepted', - ], - 'ErrorCode' => [ - 'title' => '短信发送状态码。', - 'description' => '短信发送状态码。', - 'type' => 'string', - 'example' => 'DELIVERED', - ], - 'SendDate' => [ - 'title' => '短信转发给运营商的时间。', - 'description' => '短信转发给运营商的时间。', - 'type' => 'string', - 'example' => 'Mon, 24 Dec 2018 16:58:22 +0800', - ], - 'To' => [ - 'title' => '接收方号码。', - 'description' => '接收方号码。', - 'type' => 'string', - 'example' => '6581xxx810', - ], - 'MessageId' => [ - 'title' => '短信消息ID。', - 'description' => '消息ID。', - 'type' => 'string', - 'example' => '1008030xxx3003', - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'F655A8D5-B967-440B-8683-DAD6FF8D28D0', - ], + 'ResponseDescription' => ['title' => '短信提交状态的详细描述。', 'description' => '短信提交状态的详细描述。', 'type' => 'string', 'example' => 'The SMS Send Request was accepted'], + 'Segments' => ['title' => '短信计费条数。', 'description' => '短信计费条数。', 'type' => 'string', 'example' => '1'], + 'To' => ['title' => '接收短信号码。号码格式为:国际区号+号码。', 'description' => '接收短信号码。号码格式为:国际区号+号码。例如:861503871\\*\\*\\*\\*。', 'type' => 'string', 'example' => '861503871****'], + 'MessageId' => ['title' => '短信消息ID。由阿里云国际短信平台生成。', 'description' => '消息ID。', 'type' => 'string', 'example' => '1**************3'], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'F655A8D5-B967-440B-8683-DAD6FF8D23D6'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Status\\": \\"1\\",\\n \\"ErrorDescription\\": \\"success\\",\\n \\"ResponseCode\\": \\"OK\\",\\n \\"ReceiveDate\\": \\"Mon, 24 Dec 2018 16:58:22 +0800\\",\\n \\"NumberDetail\\": {\\n \\"Carrier\\": \\"CMI\\",\\n \\"Region\\": \\"HongKong\\",\\n \\"Country\\": \\"China\\"\\n },\\n \\"Message\\": \\"Hello!\\",\\n \\"ResponseDescription\\": \\"The SMS Send Request was accepted\\",\\n \\"ErrorCode\\": \\"DELIVERED\\",\\n \\"SendDate\\": \\"Mon, 24 Dec 2018 16:58:22 +0800\\",\\n \\"To\\": \\"6581xxx810\\",\\n \\"MessageId\\": \\"1008030xxx3003\\",\\n \\"RequestId\\": \\"F655A8D5-B967-440B-8683-DAD6FF8D28D0\\"\\n}","errorExample":""},{"type":"xml","example":"<QueryMessageResponse>\\n <Status>1</Status>\\n <ErrorDescription>success</ErrorDescription>\\n <ResponseCode>OK</ResponseCode>\\n <ReceiveDate>Mon, 24 Dec 2018 16:58:22 +0800</ReceiveDate>\\n <NumberDetail>\\n <Carrier>CMI</Carrier>\\n <Region>HongKong</Region>\\n <Country>Hongkong, China</Country>\\n </NumberDetail>\\n <Message>Hello!</Message>\\n <ResponseDescription>The SMS Send Request was accepted</ResponseDescription>\\n <ErrorCode>DELIVERED</ErrorCode>\\n <SendDate>Mon, 24 Dec 2018 16:58:22 +0800</SendDate>\\n <To>6581xxx810</To>\\n <MessageId>1008030xxx3003</MessageId>\\n <RequestId>F655A8D5-B967-440B-8683-DAD6FF8D28D0</RequestId>\\n</QueryMessageResponse>","errorExample":""}]', - 'title' => '查询短信发送记录', - 'description' => '### QPS限制'."\n" - .'本接口的单用户(同一个阿里云账号)QPS限制为300次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"ResponseCode\\": \\"OK\\",\\n \\"NumberDetail\\": {\\n \\"Carrier\\": \\"China Mobile\\",\\n \\"Region\\": \\"Nanjing, Jiangsu\\",\\n \\"Country\\": \\"China\\"\\n },\\n \\"ResponseDescription\\": \\"The SMS Send Request was accepted\\",\\n \\"Segments\\": \\"1\\",\\n \\"To\\": \\"861503871****\\",\\n \\"MessageId\\": \\"1**************3\\",\\n \\"RequestId\\": \\"F655A8D5-B967-440B-8683-DAD6FF8D23D6\\"\\n}","errorExample":""},{"type":"xml","example":"<SendMessageWithTemplateResponse>\\n <ResponseCode>OK</ResponseCode>\\n <NumberDetail>\\n <Carrier>China Mobile</Carrier>\\n <Region>Nanjing, Jiangsu</Region>\\n <Country>China</Country>\\n </NumberDetail>\\n <ResponseDescription>The SMS Send Request was accepted</ResponseDescription>\\n <Segments>1</Segments>\\n <To>861503871****</To>\\n <MessageId>1**************3</MessageId>\\n <RequestId>F655A8D5-B967-440B-8683-DAD6FF8D23D6</RequestId>\\n</SendMessageWithTemplateResponse>","errorExample":""}]', + 'title' => '使用短信模板发送短信', + 'description' => '### 使用说明'."\n" + .'SendMessageWithTemplate接口仅支持往中国内地发送短信。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ConversionData' => [ - 'summary' => '将短信转化率统计数据反馈给阿里云国际短信平台。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '31341', - 'abilityTreeNodes' => [ - 'FEATUREdysmsL8BKKM', - ], - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ + 'changeSet' => [], + 'ramActions' => [ [ - 'name' => 'ReportTime', - 'in' => 'formData', - 'schema' => [ - 'title' => '转化率观测的时间点。必须是Unix时间戳,毫秒级别长整型。如果不指定该字段,默认当前的时间戳。', - 'description' => '转化率观测的时间点。必须是Unix时间戳,毫秒级别长整型。'."\n" - ."\n" - .'>如果不指定该字段:默认当前的时间戳。'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1349055900000', - ], - ], - [ - 'name' => 'ConversionRate', - 'in' => 'formData', - 'schema' => [ - 'title' => '转化率监控回报值。该参数取值为double类型 ,区间是[0,1]。', - 'description' => '转化率监控回报值。'."\n" - .'>该参数取值为double类型 ,区间是\\[0,1]。', - 'type' => 'string', - 'required' => true, - 'example' => '0.53', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'description' => '接口返回参数。', - 'type' => 'object', - 'properties' => [ - 'ResponseCode' => [ - 'title' => '状态码。返回OK代表请求成功,其他错误码,请参见错误码列表。', - 'description' => '状态码。返回OK代表请求成功,其他错误码,请参见[错误码列表](https://www.alibabacloud.com/help/zh/doc-detail/180674.html)。', - 'type' => 'string', - 'example' => 'OK', - ], - 'ResponseDescription' => [ - 'title' => '状态码描述。', - 'description' => '状态码描述。', - 'type' => 'string', - 'example' => 'OK', - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'F655A8D5-B967-440B-8683-DAD6FF8D****', - ], + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dysms:SendMessageWithTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SMS', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"ResponseCode\\": \\"OK\\",\\n \\"ResponseDescription\\": \\"OK\\",\\n \\"RequestId\\": \\"F655A8D5-B967-440B-8683-DAD6FF8D****\\"\\n}","errorExample":""},{"type":"xml","example":"<ConversionDataResponse>\\n <ResponseCode>OK</ResponseCode>\\n <ResponseDescription>OK</ResponseDescription>\\n <RequestId>F655A8D5-B967-440B-8683-DAD6FF8D****</RequestId>\\n</ConversionDataResponse>","errorExample":""}]', - 'title' => '转化率数据接入API', - 'description' => '指标说明:'."\n" - ."\n" - .'- OTP发送量:验证码发送量。'."\n" - ."\n" - .'- OTP转化量:验证码转换量。(用户成功获取验证码,并进行回传)'."\n" - ."\n" - .'转化率=OTP转化量/OTP发送量。', ], 'SmsConversion' => [ 'summary' => '将每一条消息ID(MessageId) 对应短信的接收情况反馈给阿里云国际短信平台。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -908,64 +559,37 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '13273', - 'abilityTreeNodes' => [ - 'FEATUREdysmsL8BKKM', - ], + 'abilityTreeNodes' => ['FEATUREdysmsL8BKKM'], ], 'parameters' => [ [ 'name' => 'MessageId', 'in' => 'query', - 'schema' => [ - 'title' => '短信消息ID。', - 'description' => '消息ID。', - 'type' => 'string', - 'required' => false, - 'example' => '1008030300****', - ], + 'schema' => ['title' => '短信消息ID。', 'description' => '消息ID。', 'type' => 'string', 'required' => false, 'example' => '1008030300****'], ], [ 'name' => 'Delivered', 'in' => 'query', - 'schema' => [ - 'title' => '如果您的用户确认接收到了您发送的消息,例如,回填了短信验证码,则设置为 true。否则,设置为 false。', - 'description' => '如果您的用户回复了您发送的消息,则设置为 true。否则,设置为 false。', - 'type' => 'boolean', - 'required' => true, - 'example' => 'true', - ], + 'schema' => ['title' => '如果您的用户确认接收到了您发送的消息,例如,回填了短信验证码,则设置为 true。否则,设置为 false。', 'description' => '如果您的用户回复了您发送的消息,则设置为 true。否则,设置为 false。', 'type' => 'boolean', 'required' => true, 'example' => 'true'], ], [ 'name' => 'ConversionTime', 'in' => 'query', - 'schema' => [ - 'title' => '触达发送目标的时间戳。必须是Unix时间戳,毫秒级别长整型。'."\n" - ."\n" - .'如果不指定该字段:默认当前的时间戳。'."\n" - .'如果指定该字段:该时间戳必须大于发送时间并且小于当前时间戳。', - 'description' => '触达发送目标的时间戳。必须是Unix时间戳,毫秒级别长整型。'."\n" - ."\n" - .'- 如果不指定该字段:默认当前的时间戳。'."\n" - ."\n" - .'- 如果指定该字段:该时间戳必须大于发送时间并且小于当前时间戳。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1349055900000', - ], + 'schema' => ['title' => '触达发送目标的时间戳。必须是Unix时间戳,毫秒级别长整型。'."\n" + ."\n" + .'如果不指定该字段:默认当前的时间戳。'."\n" + .'如果指定该字段:该时间戳必须大于发送时间并且小于当前时间戳。', 'description' => '触达发送目标的时间戳。必须是Unix时间戳,毫秒级别长整型。'."\n" + ."\n" + .'- 如果不指定该字段:默认当前的时间戳。'."\n" + ."\n" + .'- 如果指定该字段:该时间戳必须大于发送时间并且小于当前时间戳。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1349055900000'], ], [ 'name' => 'To', 'in' => 'query', - 'schema' => [ - 'title' => '短信手机号', - 'description' => '接收方号码。号码格式为:国际区号+号码。'."\n" - ."\n" - .'电话代码详情,请参见[电话代码](~~158400~~)。', - 'type' => 'string', - 'required' => false, - 'example' => '8521245567****', - ], + 'schema' => ['title' => '短信手机号', 'description' => '接收方号码。号码格式为:国际区号+号码。'."\n" + ."\n" + .'电话代码详情,请参见[电话代码](~~158400~~)。', 'type' => 'string', 'required' => false, 'example' => '8521245567****'], ], ], 'responses' => [ @@ -974,31 +598,14 @@ 'description' => '接口返回参数。', 'type' => 'object', 'properties' => [ - 'ResponseCode' => [ - 'title' => '状态码。返回OK代表请求成功,其他错误码,请参见错误码列表。', - 'description' => '状态码。返回OK代表请求成功,其他错误码,请参见[错误码列表](https://www.alibabacloud.com/help/zh/doc-detail/180674.html)。', - 'type' => 'string', - 'example' => 'OK', - ], - 'ResponseDescription' => [ - 'title' => '状态码描述。', - 'description' => '状态码描述。', - 'type' => 'string', - 'example' => 'OK', - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'F655A8D5-B967-440B-8683-DAD6FF8D****', - ], + 'ResponseCode' => ['title' => '状态码。返回OK代表请求成功,其他错误码,请参见错误码列表。', 'description' => '状态码。返回OK代表请求成功,其他错误码,请参见[错误码列表](https://www.alibabacloud.com/help/zh/doc-detail/180674.html)。', 'type' => 'string', 'example' => 'OK'], + 'ResponseDescription' => ['title' => '状态码描述。', 'description' => '状态码描述。', 'type' => 'string', 'example' => 'OK'], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'F655A8D5-B967-440B-8683-DAD6FF8D****'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"type":"json","example":"{\\n \\"ResponseCode\\": \\"OK\\",\\n \\"ResponseDescription\\": \\"OK\\",\\n \\"RequestId\\": \\"F655A8D5-B967-440B-8683-DAD6FF8D****\\"\\n}","errorExample":""},{"type":"xml","example":"<SmsConversionResponse>\\n <ResponseCode>OK</ResponseCode>\\n <ResponseDescription>OK</ResponseDescription>\\n <RequestId>F655A8D5-B967-440B-8683-DAD6FF8D****</RequestId>\\n</SmsConversionResponse>","errorExample":""}]', 'title' => '短信转化反馈', 'description' => '指标说明:'."\n" @@ -1010,192 +617,426 @@ .'转化率=OTP转化量/OTP发送量。'."\n" ."\n" .'> 转化率反馈功能会对业务系统有一定的侵入性,为了防止调用转化率API的抖动影响业务逻辑,请考虑: - 使用异步模式(例如:队列或事件驱动)调用API。 - 添加可降级的方案保护业务逻辑(例如:手动降级开工或者使用断路器自动降级)。', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dysms:SmsConversion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SMS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], ], ], 'endpoints' => [ + ['regionId' => 'cn-chengdu', 'regionName' => '西南1(成都)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dysmsapi.aliyuncs.com', 'endpoint' => 'dysmsapi.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dysmsapi.aliyuncs.com', 'endpoint' => 'dysmsapi.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-huhehaote', 'regionName' => '华北5(呼和浩特)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dysmsapi.aliyuncs.com', 'endpoint' => 'dysmsapi.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-qingdao', 'regionName' => '华北1(青岛)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dysmsapi.aliyuncs.com', 'endpoint' => 'dysmsapi.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dysmsapi.aliyuncs.com', 'endpoint' => 'dysmsapi.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dysmsapi.aliyuncs.com', 'endpoint' => 'dysmsapi.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dysmsapi.aliyuncs.com', 'endpoint' => 'dysmsapi.aliyuncs.com', 'vpc' => 'dysmsapi-xman.vpc-proxy.aliyuncs.com'], + ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dysmsapi.ap-southeast-1.aliyuncs.com', 'endpoint' => 'dysmsapi.ap-southeast-1.aliyuncs.com', 'vpc' => 'dysmsapi-xman.vpc-proxy.aliyuncs.com'], + ['regionId' => 'ap-southeast-5', 'regionName' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dysmsapi.ap-southeast-5.aliyuncs.com', 'endpoint' => 'dysmsapi.ap-southeast-5.aliyuncs.com', 'vpc' => 'dysmsapi-xman-vpc.ap-southeast-5.aliyuncs.com'], + ['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'dysmsapi.eu-central-1.aliyuncs.com', 'endpoint' => 'dysmsapi.eu-central-1.aliyuncs.com', 'vpc' => 'dysmsapi-xman-vpc.eu-central-1.aliyuncs.com'], + ['regionId' => 'cn-shenzhen-finance-1', 'regionName' => '华南1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'dysmsapi.aliyuncs.com', 'endpoint' => 'dysmsapi.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shanghai-finance-1', 'regionName' => '华东2 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'dysmsapi.aliyuncs.com', 'endpoint' => 'dysmsapi.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-north-2-gov-1', 'regionName' => '北京政务云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'dysmsapi.aliyuncs.com', 'endpoint' => 'dysmsapi.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-hangzhou-finance', 'regionName' => '华东1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'dysmsapi.aliyuncs.com', 'endpoint' => 'dysmsapi.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-beijing-finance-1', 'regionName' => '华北2 金融云(邀测)', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'dysmsapi.aliyuncs.com', 'endpoint' => 'dysmsapi.aliyuncs.com', 'vpc' => ''], + ], + 'errorCodes' => [ + ['code' => 'Account.Abnormal', 'message' => 'The status of Alibaba Cloud account is invalid.', 'http_code' => 400, 'description' => '账号状态不正确。'], + ['code' => 'AdminBackOssFileNotUploadError', 'message' => 'Administrator ID card portrait photo not uploaded.', 'http_code' => 400, 'description' => '管理员身份证照片人像面文件未上传'], + ['code' => 'AdminDateNotValid', 'message' => 'Current time is outside the administrator ID card validity period.', 'http_code' => 400, 'description' => '当前时间不在管理员身份证有效期范围内'], + ['code' => 'AdminFrontOssFileNotUploadError', 'message' => 'Administrator ID card national emblem photo not uploaded.', 'http_code' => 400, 'description' => '管理员身份证照片国徽面文件未上传'], + ['code' => 'AdminIdcardExpdateNotMatchRegexError', 'message' => 'Invalid administrator ID card expiration time format.', 'http_code' => 400, 'description' => '管理员身份证有效期时间格式错误'], + ['code' => 'AdminIdcardFrontFaceFileError', 'message' => 'Invalid format for administrator\'s ID card national emblem photo.', 'http_code' => 400, 'description' => '管理员身份证国徽面照片格式错误'], + ['code' => 'AdminIdcardFrontFaceNullError', 'message' => 'Administrator\'s ID card national emblem photo cannot be empty.', 'http_code' => 400, 'description' => '管理员身份证国徽面照片不允许为空'], + ['code' => 'AdminIdcardNoNullError', 'message' => 'Administrator\'s ID number cannot be empty.', 'http_code' => 400, 'description' => '管理员身份证号码不允许为空'], + ['code' => 'AdminIdcardNotMatchRegex', 'message' => 'Invalid administrator ID number format.', 'http_code' => 400, 'description' => '管理员身份证号码格式错误'], + ['code' => 'AdminIdcardPicsFileError', 'message' => 'Invalid format for administrator\'s ID card portrait photo.', 'http_code' => 400, 'description' => '管理员身份证人像面照片格式错误'], + ['code' => 'AdminIdcardPicsNullError', 'message' => 'Administrator\'s ID card portrait photo cannot be empty.', 'http_code' => 400, 'description' => '管理员身份证人像面照片不允许为空'], + ['code' => 'AdminIdcardTypeError', 'message' => 'Invalid administrator ID card type.', 'http_code' => 400, 'description' => '管理员证件类型错误'], + ['code' => 'AdminNameNullError', 'message' => 'Administrator\'s name cannot be empty.', 'http_code' => 400, 'description' => '管理员姓名不允许为空'], + ['code' => 'Amount.NotEnough', 'message' => 'The account balance is insufficient.', 'http_code' => 400, 'description' => '余额不足。'], + ['code' => 'AssocSignUnapproved', 'message' => 'Associated signature must be approved.', 'http_code' => 400, 'description' => '关联签名需使用审核通过签名。'], + ['code' => 'AuthorizationLetterDateNotMatchRegex', 'message' => 'The format of the authorization letter\'s effective and expiry date is incorrect.', 'http_code' => 400, 'description' => '委托授权书生失效时间格式错误'], + ['code' => 'AuthorizationLetterDateNotValid', 'message' => 'The current time is not within the validity period of the authorization letter.', 'http_code' => 400, 'description' => '当前时间不在委托授权书有效期范围内'], + ['code' => 'AuthorizationLetterNameNotMatchRegex', 'message' => 'The authorization letter name cannot be empty and must consist of Chinese, English characters or a combination with numbers, symbols or purely numeric input are not supported.', 'http_code' => 400, 'description' => '委托授权书命名非空且支持中文、英文或与数字组合进行命名,暂不支持任何符号或纯数字输入'], + ['code' => 'AuthorizationLetterNameOverLimit', 'message' => 'The authorization letter name exceeds the 100-character length limit.', 'http_code' => 400, 'description' => '委托授权书命名超出100个字符长度限制'], + ['code' => 'AuthorizationLetterNameRepeat', 'message' => 'The authorization letter name is duplicated.', 'http_code' => 400, 'description' => '委托授权书命名重复'], + ['code' => 'AuthorizationNotMatchRegex', 'message' => 'The authorizer name cannot be empty and currently does not support any symbols except middle dots, spaces, Chinese brackets, and English parentheses or purely numeric input.', 'http_code' => 400, 'description' => '授权方命名非空且暂不支持包含除中点(·)、空格、中文括号【】、英文括号()外的任何符号或纯数字输入'], + ['code' => 'AuthorizationOssFileNotUploadError', 'message' => 'The authorization letter file has not been uploaded.', 'http_code' => 400, 'description' => '委托授权书文件未上传'], + ['code' => 'AuthorizationOverLimit', 'message' => 'The authorizer exceeds the 1000-character length limit.', 'http_code' => 400, 'description' => '授权方超出1000个字符长度限制'], + ['code' => 'BindSignDeleteFailed', 'message' => 'The qualification is bound to a signature and cannot be deleted temporarily.', 'http_code' => 400, 'description' => '该资质下已绑定签名,暂时无法删除该资质'], + ['code' => 'BusinessLicenseDateNotMatchRegexError', 'message' => 'Invalid business license expiration time format.', 'http_code' => 400, 'description' => '企业营业生失效时间格式错误'], + ['code' => 'BusinessLicenseDateNotValid', 'message' => 'Current time is outside the business license validity period.', 'http_code' => 400, 'description' => '当前时间不在企业营业有效期范围内'], + ['code' => 'BusinessLicenseOssFileNotUploadError', 'message' => 'Business license file not uploaded.', 'http_code' => 400, 'description' => '营业执照文件未上传'], + ['code' => 'BusinessLicensePicsFileError', 'message' => 'Invalid business license file format.', 'http_code' => 400, 'description' => '营业执照格式错误'], + ['code' => 'BusinessLicensePicsNullError', 'message' => 'Business license documents cannot be empty.', 'http_code' => 400, 'description' => '营业证件不允许为空'], + ['code' => 'BusinessLicenseTypeError', 'message' => 'Invalid business license type.', 'http_code' => 400, 'description' => '营业证件类型错误'], + ['code' => 'card template.NotFound', 'message' => 'The resource of "card template" is not found..', 'http_code' => 400, 'description' => '找不到卡片模板'], + ['code' => 'CertifyCodeError', 'message' => 'SMS verification code is incorrect.', 'http_code' => 400, 'description' => '手机验证码不正确'], + ['code' => 'CompanyNameNullError', 'message' => 'Company name cannot be empty.', 'http_code' => 400, 'description' => '企业名称不允许为空'], + ['code' => 'CompanyTypeError', 'message' => 'Invalid company type.', 'http_code' => 400, 'description' => '企业类型错误'], + ['code' => 'CompanyVerificationFailedCompanyStateInvalid', 'message' => 'Four Elements Verification Failed: Company is not in normal operation.', 'http_code' => 400, 'description' => '企业四要素校验失败,企业非正常营业'], + ['code' => 'CompanyVerificationFailedFourElementsError', 'message' => 'Four Elements Verification Failed: Authentication Failed.', 'http_code' => 400, 'description' => '企业四要素校验失败,认证失败'], + ['code' => 'CompanyVerificationFailedMismatch', 'message' => 'Four Elements Verification Failed: Mismatch between Legal Representative and Company Information.', 'http_code' => 400, 'description' => '企业四要素校验失败,法人与企业信息核验不一致'], + ['code' => 'CompanyVerificationFailedNoCompany', 'message' => 'Four Elements Verification Failed: Company Not Found.', 'http_code' => 400, 'description' => '企业四要素校验失败,查无此企业'], + ['code' => 'CompanyVerificationFailedNoLegalPerson', 'message' => 'Four Elements Verification Failed: Legal Representative Not Found.', 'http_code' => 400, 'description' => '企业四要素校验失败,库中无此法人'], + ['code' => 'CustNotExistError', 'message' => 'Customer\'s cloud communication information is invalid.', 'http_code' => 400, 'description' => '客户云通信业务信息异常'], + ['code' => 'DayLimitControl', 'message' => 'The daily volume limit is exceeded.', 'http_code' => 400, 'description' => '发送量超过日限额。'], + ['code' => 'ERROR_PARTNER_ID', 'message' => '查询影子pid结果为空或者异常', 'http_code' => 200, 'description' => '查询影子pid结果为空或者异常'], + ['code' => 'ExtCodeInactive', 'message' => 'No major customer extension code has been activated.', 'http_code' => 400, 'description' => '未开通大客户扩展码'], + ['code' => 'ExtCodeIsActive', 'message' => 'The custom extension code is in use and cannot be modified.', 'http_code' => 400, 'description' => '自定义扩展码使用中,不可修改'], + ['code' => 'ExtCodeNotFound', 'message' => 'Custom extension code does not exist.', 'http_code' => 400, 'description' => '自定义扩展码不存在'], + ['code' => 'ExtCodeNotReady', 'message' => 'The custom extension code control has not been fully implemented. Please try again later.', 'http_code' => 400, 'description' => '自定义扩展码管控生效未完成,请稍后再试'], + ['code' => 'FILTER', 'message' => '关键字拦截', 'http_code' => 400, 'description' => '建议修改短信内容'], + ['code' => 'Forbidden.Operation', 'message' => 'You are not authorized to perform the operation.', 'http_code' => 400, 'description' => '无权限进行此操作!'], + ['code' => 'ForbiddenAction', 'message' => 'Access to the account is denied. Please contact the administrator.', 'http_code' => 200, 'description' => '没有访问权限,请联系管理员。'], + ['code' => 'GrayCustAccessError', 'message' => 'This customer is not authorized to use the OpenAPI. Please contact support for whitelisting.', 'http_code' => 400, 'description' => '该客户尚未允许使用OpenAPI,请联系小二加白'], + ['code' => 'IntlSmsService.Unvalabe', 'message' => 'The international SMS service has not been activated. You cannot create an international SMS template.', 'http_code' => 400, 'description' => '国际短信业务未开通,不能创建国际短信模板。'], + ['code' => 'InvalidAction.NotFound', 'message' => 'The specified API is not found.', 'http_code' => 400, 'description' => '未找到指定的API,请检查您的URL和方法'], + ['code' => 'InvalidApplySceneContent', 'message' => 'For certain signature sources, the '."\n" + .'applySceneContent should be an HTTP or HTTPS link.', 'http_code' => 400, 'description' => '无效的应用场景,在某些签名来源下,'."\n" + .'应用场景应是HTTP或者HTTPS的链接。'], + ['code' => 'InvalidApplySceneContent', 'message' => 'For certain signature sources, the '."\n" + .'applySceneContent should be an HTTP or HTTPS link.', 'http_code' => 400, 'description' => '无效的应用场景,在某些签名来源下,'."\n" + .'应用场景应是http或者https的链接。'], + ['code' => 'InvalidMoreData', 'message' => 'Specified parameter MoreData is not valid.', 'http_code' => 400, 'description' => '上传的更多资料无效。'], + ['code' => 'InvalidParam.PageSize', 'message' => 'PageSize must be less than or equal to 50.', 'http_code' => 400, 'description' => 'pageSize必须小于等于50'], + ['code' => 'InvalidParam.PhoneNumber', 'message' => 'Incorrect phone number format.', 'http_code' => 400, 'description' => '手机号格式不正确'], + ['code' => 'InvalidParam.SendDate', 'message' => 'Only the last 30 days can be queried.', 'http_code' => 400, 'description' => '只能查询最近30天数据'], + ['code' => 'InvalidParameter', 'message' => 'Parameter invalid.', 'http_code' => 400, 'description' => '参数错误,请检查参数'], + ['code' => 'InvalidParameter', 'message' => 'At most, only one parameter can be passed among bizCardId, bizSmsId, and bizDigitId.', 'http_code' => 400, 'description' => 'bizCardId, bizSmsId, bizDigitId这三个字段最多传一个'], + ['code' => 'InvalidParameter.Channel', 'message' => 'The specified Channel is invalid.', 'http_code' => 400, 'description' => '参数Channel无效'], + ['code' => 'InvalidParameter.endDate', 'message' => 'The specified parameter endDate is not valid.', 'http_code' => 400, 'description' => '传入的参数endDate不符合传参规范'], + ['code' => 'InvalidParameter.ExternalId', 'message' => 'The specified ExternalId is invalid.', 'http_code' => 400, 'description' => '参数ExternalId无效,请检查参数值。'], + ['code' => 'InvalidParameter.From', 'message' => 'The specified From is invalid.', 'http_code' => 400, 'description' => '参数From无效,请检查参数值。'], + ['code' => 'InvalidParameter.pageSize', 'message' => 'PageSize must be less than or equal to 50.', 'http_code' => 400, 'description' => 'pageSize必须小于等于50'], + ['code' => 'InvalidParameter.phoneNumber', 'message' => 'Incorrect phone number format.', 'http_code' => 400, 'description' => '手机号格式不正确'], + ['code' => 'InvalidParameter.sendDate', 'message' => 'Only the last 30 days can be queried.', 'http_code' => 400, 'description' => '只能查询最近30天数据'], + ['code' => 'InvalidParameter.SenderId', 'message' => 'The specified SenderId is invalid.', 'http_code' => 400, 'description' => '参数SenderId无效,请检查参数值。'], + ['code' => 'InvalidParameter.SMS_CARD_MESSAGE NO ACCESS', 'message' => 'The user has not activated card SMS within the SMS service.', 'http_code' => 400, 'description' => '短信服务内该用户未开通卡片短信'], + ['code' => 'InvalidParameter.To', 'message' => 'The specified To is invalid.', 'http_code' => 400, 'description' => '参数To无效,请检查参数值。'], + ['code' => 'InvalidParameter.To', 'message' => 'The specified parameter To is not valid.', 'http_code' => 400, 'description' => '传入参数的to字段不合法'], + ['code' => 'InvalidParameter.Type', 'message' => 'The specified Type is invalid.', 'http_code' => 400, 'description' => '参数Type无效,请检查参数值。'], + ['code' => 'InvalidQualification', 'message' => 'The qualification should be approved.', 'http_code' => 400, 'description' => '无效的资质,资质应审核通过。'], + ['code' => 'InvalidSignName', 'message' => 'The signature cannot contain spaces, special '."\n" + .'symbols, or all numbers.', 'http_code' => 400, 'description' => '签名不能包含简体中文、英文、数字之外的空格等特殊字符,且不能为全数字。'], + ['code' => 'InvalidTemplateContent.Format', 'message' => 'Invalid template content format.', 'http_code' => 400, 'description' => '模板内容格式不正确。'], + ['code' => 'InvalidTemplateRule', 'message' => 'The template variable format is non-standard. Please refer to the variable format specifications in the help documentation.', 'http_code' => 400, 'description' => '模版变量不符合规范,请查看短信模板规范文档,传入符合要求的模板变量。'], + ['code' => 'InvalidTemplateRule.Format', 'message' => 'The template variable does not conform to the specification, please check the https://help.aliyun.com/zh/sms/user-guide/message-template-specifications/.', 'http_code' => 400, 'description' => '模版变量不符合规范,请查看https://help.aliyun.com/zh/sms/'."\n" + .'user-guide/message-template-specifications/'], + ['code' => 'InvalidTemplateRule.Format', 'message' => 'The parameter TemplateRule format must be JSON.', 'http_code' => 400, 'description' => '模板变量规则必须填入JSON格式的数据。'], + ['code' => 'InvalidTimeStamp.Expired', 'message' => 'The specified timestamp has expired.', 'http_code' => 400, 'description' => '时间戳或日期已过期'], + ['code' => 'InvalidVersion', 'message' => 'Invalid API version.', 'http_code' => 400, 'description' => 'API版本号错误'], + ['code' => 'INVALID_PARAMETERS', 'message' => 'The format of MessageId is wrong.', 'http_code' => 200, 'description' => '参数错误,请检查参数是否正确。'], + ['code' => 'isp.GATEWAY_ERROR', 'message' => 'Unexpected gateway error.', 'http_code' => 400, 'description' => '调用发送应用模块失败'], + ['code' => 'isp.RAM_PERMISSION_DENY', 'message' => 'RAM权限DENY', 'http_code' => 400, 'description' => '建议联系平台核查原因'], + ['code' => 'isp.RAM_PERMISSION_DENY', 'message' => 'The RAM user is not authorized.', 'http_code' => 400, 'description' => 'RAM权限不足'], + ['code' => 'isp.SYSTEM_ERROR', 'message' => '系统错误', 'http_code' => 500, 'description' => '建议联系平台核查原因'], + ['code' => 'isp.SYSTEM_ERROR', 'message' => 'A system error occurred.', 'http_code' => 500, 'description' => '系统出现错误,请重新调用'], + ['code' => 'isv.ACCOUNT_ABNORMAL', 'message' => '账户异常', 'http_code' => 400, 'description' => '建议联系平台确认账号'], + ['code' => 'isv.ACCOUNT_ABNORMAL', 'message' => 'The account is in an abnormal state.', 'http_code' => 400, 'description' => '账户异常'], + ['code' => 'isv.ACCOUNT_NOT_EXISTS', 'message' => 'Account not found', 'http_code' => 404, 'description' => '账户信息不存在'], + ['code' => 'isv.ACCOUNT_NOT_EXISTS', 'message' => 'The specified account does not exist.', 'http_code' => 400, 'description' => '账户不存在'], + ['code' => 'isv.AMOUNT_NOT_ENOUGH', 'message' => '账户余额不足', 'http_code' => 400, 'description' => '建议进行账户充值'], + ['code' => 'isv.AMOUNT_NOT_ENOUGH', 'message' => 'The resource plan is unavailable or your account does not have a sufficient balance.', 'http_code' => 400, 'description' => '账户余额不足'], + ['code' => 'isv.BLACK_KEY_CONTROL_LIMIT', 'message' => '黑名单管控', 'http_code' => 400, 'description' => '建议联系平台解除黑名单'], + ['code' => 'isv.BLACK_KEY_CONTROL_LIMIT', 'message' => 'The specified template variable includes one or more blocked keywords.', 'http_code' => 400, 'description' => '变量中传入疑似违规信息'], + ['code' => 'isv.BUSINESS_LIMIT_CONTROL', 'message' => '业务限流', 'http_code' => 403, 'description' => '建议联系平台核查原因'], + ['code' => 'isv.BUSINESS_LIMIT_CONTROL', 'message' => 'Cloud communications throttling has been triggered.', 'http_code' => 400, 'description' => '触发云通信流控限制'], + ['code' => 'isv.CUSTOMER_REFUSED', 'message' => 'The user refuses to receive marketing messages.', 'http_code' => 400, 'description' => '用户已退订推广短信'], + ['code' => 'isv.DAY_LIMIT_CONTROL', 'message' => 'The daily threshold of the messages that the user can send has been reached.', 'http_code' => 400, 'description' => '触发日发送限额'], + ['code' => 'isv.DENY_IP_RANGE', 'message' => 'SMS does not support the region with the source IP address.', 'http_code' => 400, 'description' => '源IP地址所在的地区被禁用'], + ['code' => 'isv.DOMESTIC_NUMBER_NOT_SUPPORTED', 'message' => 'Templates for regions outside the Chinese mainland cannot be used for messages sent to numbers in the Chinese mainland.', 'http_code' => 400, 'description' => '国际/港澳台消息模板不支持发送境内号码。'], + ['code' => 'isv.ERROR_EMPTY_FILE', 'message' => 'The file uploaded is empty.', 'http_code' => 400, 'description' => '签名文件为空'], + ['code' => 'isv.ERROR_SIGN_NOT_DELETE', 'message' => 'Signatures pending approval cannot be deleted.', 'http_code' => 400, 'description' => '审核中的签名,暂时无法删除'], + ['code' => 'isv.ERROR_SIGN_NOT_MODIFY', 'message' => 'Effective signatures cannot be modified.', 'http_code' => 400, 'description' => '已通过的签名不支持修改'], + ['code' => 'isv.ERROR_TEMPLATE_NOT_DELETE', 'message' => 'Templates pending approval cannot be deleted.', 'http_code' => 400, 'description' => '审核中的模板,暂时无法删除'], + ['code' => 'isv.ERROR_TEMPLATE_NOT_MODIFY', 'message' => 'Approved templates cannot be modified.', 'http_code' => 400, 'description' => '已通过的模板不支持修改'], + ['code' => 'isv.EXTEND_CODE_ERROR', 'message' => 'SmsUpExtendCode should be unique for each signature.', 'http_code' => 400, 'description' => '扩展码使用错误,相同的扩展码不可用于多个签名'], + ['code' => 'ISV.Forbidden', 'message' => 'SubUser not authorized to operate on the specified resource.', 'http_code' => 200, 'description' => '不支持的操作'], + ['code' => 'isv.INVALID_JSON_PARAM', 'message' => '参数格式错误,请修改为字符串值', 'http_code' => 400, 'description' => '参数格式错误,请修改为字符串值'], + ['code' => 'isv.INVALID_JSON_PARAM', 'message' => 'The JSON string failed to be parsed.', 'http_code' => 400, 'description' => '参数格式错误,请修改为字符串值'], + ['code' => 'isv.INVALID_PARAMETERS', 'message' => '参数异常', 'http_code' => 400, 'description' => '建议使用正确的参数'], + ['code' => 'isv.INVALID_PARAMETERS', 'message' => 'The input parameters are invalid.', 'http_code' => 400, 'description' => '参数格式不正确'], + ['code' => 'isv.MOBILE_COUNT_OVER_LIMIT', 'message' => '手机号码数量超过限制', 'http_code' => 400, 'description' => '建议减少手机号码'], + ['code' => 'isv.MOBILE_COUNT_OVER_LIMIT', 'message' => 'The number of mobile phone numbers exceeds 1,000.', 'http_code' => 400, 'description' => '手机号码数量超过限制,最多支持1000条'], + ['code' => 'isv.MOBILE_NUMBER_ILLEGAL', 'message' => '手机号码格式错误', 'http_code' => 400, 'description' => '建议使用正确的手机号'], + ['code' => 'isv.MOBILE_NUMBER_ILLEGAL', 'message' => 'The format of the specified mobile phone number is invalid.', 'http_code' => 400, 'description' => '手机号码格式错误'], + ['code' => 'isv.NOT_SUPPORTED_COUNTRY', 'message' => '暂不支持该国家的国际短信发送', 'http_code' => 400, 'description' => '暂不支持该国家的国际短信发送'], + ['code' => 'isv.NO_AVAILABLE_SHORT_URL', 'message' => 'No available short URLs in the account.', 'http_code' => 400, 'description' => '该账号无有效短链'], + ['code' => 'isv.OUT_OF_SERVICE', 'message' => '业务停机', 'http_code' => 400, 'description' => '建议联系平台核查原因'], + ['code' => 'isv.OUT_OF_SERVICE', 'message' => 'The account has been out of service due to insufficient balance.', 'http_code' => 400, 'description' => '业务停机'], + ['code' => 'isv.PARAM_LENGTH_LIMIT', 'message' => '参数超出长度限制', 'http_code' => 400, 'description' => '建议修改参数长度'], + ['code' => 'isv.PARAM_LENGTH_LIMIT', 'message' => 'The length of the specified variable exceeds the limit.', 'http_code' => 400, 'description' => '参数超过长度限制'], + ['code' => 'isv.PARAM_NOT_SUPPORT_URL', 'message' => '变量不支持传入URL', 'http_code' => 400, 'description' => '变量不支持传入URL'], + ['code' => 'isv.PARAM_NOT_SUPPORT_URL', 'message' => 'URLs cannot be specified for the parameter.', 'http_code' => 400, 'description' => '变量不支持传入URL'], + ['code' => 'isv.PHONENUMBERS_OVER_LIMIT', 'message' => 'The number of mobile phone numbers exceeds 50,000.', 'http_code' => 400, 'description' => '上传手机号个数超过上限'], + ['code' => 'isv.PRODUCT_UNSUBSCRIBE', 'message' => '产品未开通', 'http_code' => 400, 'description' => '建议订购产品'], + ['code' => 'isv.PRODUCT_UNSUBSCRIBE', 'message' => 'SMS has not been activated.', 'http_code' => 400, 'description' => '产品未开通'], + ['code' => 'isv.PRODUCT_UN_SUBSCRIPT', 'message' => '未开通云通信产品的阿里云客户', 'http_code' => 401, 'description' => '建议开通云通信产品'], + ['code' => 'isv.PRODUCT_UN_SUBSCRIPT', 'message' => 'SMS has not been activated.', 'http_code' => 400, 'description' => '未开通云通信产品的阿里云客户'], + ['code' => 'ISV.PRODUCT_UN_SUBSCRIPT', 'message' => 'SMS service not activated.', 'http_code' => 200, 'description' => '未开通云通信产品的阿里云客户'], + ['code' => 'isv.SECURITY_FROZEN_ACCOUNT', 'message' => 'The specified account has been frozen.', 'http_code' => 400, 'description' => '因该账号长时间未使用,出于对您的账号安全考虑,已限制您账号的短信发送。'], + ['code' => 'isv.SHORTURL_DOMAIN_EMPTY', 'message' => '创建失败,请先提交该链接的一级域名报备', 'http_code' => 200, 'description' => '创建失败,请先提交该链接的一级域名报备'], + ['code' => 'isv.SHORTURL_DOMAIN_EMPTY', 'message' => 'Unregistered original URL domain.', 'http_code' => 400, 'description' => '短链创建失败'], + ['code' => 'isv.SHORTURL_NAME_ILLEGAL', 'message' => '短链服务名称不能超过13个字符长度', 'http_code' => 200, 'description' => '短链服务名称不能超过13个字符长度'], + ['code' => 'isv.SHORTURL_NAME_ILLEGAL', 'message' => 'A short URL name can contain a maximum of 13 characters.', 'http_code' => 400, 'description' => '短链名不能超过13字符'], + ['code' => 'isv.SHORTURL_NOT_FOUND', 'message' => '没有可删除的短链', 'http_code' => 200, 'description' => '没有可删除的短链'], + ['code' => 'isv.SHORTURL_OVER_LIMIT', 'message' => 'The maximum number of short URLs that can be applied in a day has been exceeded.', 'http_code' => 400, 'description' => '超过单自然日短链申请数量上限'], + ['code' => 'isv.SHORTURL_STILL_AVAILABLE', 'message' => '原始链接生成的短链仍在有效期内', 'http_code' => 200, 'description' => '原始链接生成的短链仍在有效期内'], + ['code' => 'isv.SHORTURL_STILL_AVAILABLE', 'message' => 'The short URL is still within the effective period.', 'http_code' => 400, 'description' => '原始链接生成的短链仍在有效期内'], + ['code' => 'isv.SHORTURL_TIME_ILLEGAL', 'message' => '短链有效期期限超过限制', 'http_code' => 200, 'description' => '短链有效期期限超过限制'], + ['code' => 'isv.SHORTURL_TIME_ILLEGAL', 'message' => 'EffectiveDays is over the limit.', 'http_code' => 400, 'description' => '短链有效期期限超过限制'], + ['code' => 'isv.SHORTURL_URL_NAME_REPEAT', 'message' => '短链服务名称重复', 'http_code' => 200, 'description' => '短链服务名称重复'], + ['code' => 'isv.SIGN_COUNT_OVER_LIMIT', 'message' => 'The maximum number of signatures that can be applied in a day has been exceeded.', 'http_code' => 400, 'description' => '超过单自然日签名申请数量上限'], + ['code' => 'isv.SIGN_FILE_LIMIT', 'message' => 'The specified file is over the size limit.', 'http_code' => 400, 'description' => '签名认证材料附件大小超过限制'], + ['code' => 'isv.SIGN_NAME_ILLEGAL', 'message' => 'The specified signature does not exist or is blocked.', 'http_code' => 400, 'description' => '签名名称不符合规范'], + ['code' => 'isv.SIGN_OVER_LIMIT', 'message' => 'The maximum number of signatures has been exceeded.', 'http_code' => 400, 'description' => '签名字符数量超过限制'], + ['code' => 'isv.SMS_CONTENT_ILLEGAL', 'message' => 'The message content is invalid.', 'http_code' => 400, 'description' => '短信内容包含禁止发送内容'], + ['code' => 'isv.SMS_OVER_LIMIT', 'message' => 'A maximum of 100 templates or signatures can be applied.', 'http_code' => 400, 'description' => '单日最多申请模板或签名100条'], + ['code' => 'isv.SMS_OVER_LIMIT', 'message' => '单日最多申请模板或签名100条', 'http_code' => 200, 'description' => '单日最多申请模板或签名100条'], + ['code' => 'isv.SMS_SIGNATURE_ILLEGAL', 'message' => '该账号下找不到对应签名', 'http_code' => 400, 'description' => '该账号下找不到对应签名'], + ['code' => 'isv.SMS_SIGNATURE_ILLEGAL', 'message' => 'The specified signature does not exist or is blocked.', 'http_code' => 400, 'description' => '该账号下找不到对应签名'], + ['code' => 'isv.SMS_SIGNATURE_SCENE_ILLEGAL', 'message' => 'The signature and template type does not match.', 'http_code' => 400, 'description' => '签名和模板类型不一致'], + ['code' => 'isv.SMS_SIGN_EMOJI_ILLEGAL', 'message' => 'Emojis are not supported.', 'http_code' => 400, 'description' => '签名不能包含emoji表情'], + ['code' => 'isv.SMS_SIGN_ILLEGAL', 'message' => 'The specified signature does not exist or is blocked.', 'http_code' => 400, 'description' => '签名禁止使用'], + ['code' => 'isv.SMS_TEMPLATE_ILLEGAL', 'message' => '该账号下找不到对应模板', 'http_code' => 400, 'description' => '该账号下找不到对应模板'], + ['code' => 'isv.SMS_TEMPLATE_ILLEGAL', 'message' => 'The specified message template does not exist or is blocked.', 'http_code' => 400, 'description' => '该账号下找不到对应模板'], + ['code' => 'isv.SMS_TEST_NUMBER_LIMIT', 'message' => 'Test templates can only be sent to authorized phone numbers.', 'http_code' => 400, 'description' => '只能向已回复授权信息的手机号发送'], + ['code' => 'isv.SMS_TEST_SIGN_TEMPLATE_LIMIT', 'message' => 'Test signatures must be used together with test templates.', 'http_code' => 400, 'description' => '测试模板和签名限制'], + ['code' => 'isv.SMS_TEST_TEMPLATE_PARAMS_ILLEGAL', 'message' => 'Parameters in test templates support only numeric values that consist of 4 to 6 digits.', 'http_code' => 400, 'description' => '测试专用模板中的变量仅支持4~6位纯数字'], + ['code' => 'isv.SOURCEURL_OVER_LIMIT', 'message' => 'The maximum number of characters in a source URL name has been exceeded.', 'http_code' => 400, 'description' => '原始链接字符数量超过限制'], + ['code' => 'isv.TEMPLATE_COUNT_OVER_LIMIT', 'message' => 'The maximum number of templates that can be applied in a day has been reached.', 'http_code' => 400, 'description' => '超过单自然日模板申请数量上限'], + ['code' => 'isv.TEMPLATE_MISSING_PARAMETERS', 'message' => 'The variable in the template is empty.', 'http_code' => 400, 'description' => '模板变量中存在未赋值变量'], + ['code' => 'isv.TEMPLATE_OVER_LIMIT', 'message' => 'The maximum number of characters in a template has been exceeded.', 'http_code' => 400, 'description' => '模板字符数量超过限制'], + ['code' => 'isv.TEMPLATE_PARAMS_ILLEGAL', 'message' => '模版变量里包含非法字符,如emoji表情等', 'http_code' => 400, 'description' => '模版变量里包含非法字符,如emoji表情等'], + ['code' => 'isv.TEMPLATE_PARAMS_ILLEGAL', 'message' => 'The specified parameter value is of an invalid type.', 'http_code' => 400, 'description' => '传入的变量内容和实际申请模板时变量所选择的属性类型不配'], + ['code' => 'lc.INVOKE_HSF_ERROR', 'message' => '[lc.INVOKE_HSF_ERROR].', 'http_code' => 500, 'description' => '调用接口异常'], + ['code' => 'LegalBackOssFileNotUploadError', 'message' => 'Legal person ID card portrait photo not uploaded.', 'http_code' => 400, 'description' => '法人身份证照片人像面文件未上传'], + ['code' => 'LegalDateNotValid', 'message' => 'Current time is outside the legal person ID card validity period.', 'http_code' => 400, 'description' => '当前时间不在法人身份证有效期范围内'], + ['code' => 'LegalFrontOssFileNotUploadError', 'message' => 'Legal person ID card national emblem photo not uploaded.', 'http_code' => 400, 'description' => '法人身份证照片国徽面文件未上传'], + ['code' => 'LegalIdCardNoNullError', 'message' => 'Legal person\'s ID number cannot be empty.', 'http_code' => 400, 'description' => '法人身份证号码不能为空'], + ['code' => 'LegalIdCardNotMatchRegex', 'message' => 'Invalid legal person ID number format.', 'http_code' => 400, 'description' => '法人身份证号码格式错误'], + ['code' => 'LegalPersonIdcardEfftimeNotMatchRegexError', 'message' => 'Invalid legal person ID card expiration time format.', 'http_code' => 400, 'description' => '法人身份证有效期时间格式错误'], + ['code' => 'LegalPersonIdcardTypeError', 'message' => 'Invalid legal person ID card type.', 'http_code' => 400, 'description' => '法人证件类型错误'], + ['code' => 'LegalPersonNameNullError', 'message' => 'Legal person\'s name cannot be empty.', 'http_code' => 400, 'description' => '法人姓名不允许为空'], + ['code' => 'MissApplySceneContent', 'message' => 'In some signature sources, the applySceneContent is required.', 'http_code' => 400, 'description' => '在某些签名来源下,应用场景必填'], + ['code' => 'MissingParameter', 'message' => 'The ResourceId and Tag lists cannot be empty at the same time.', 'http_code' => 400, 'description' => '资源列表(ResourceId)以及标签列表(Tag)不能同时为空'], + ['code' => 'MissingParameter.id', 'message' => 'Parameter "id" which is mandatory for the request is not provided.', 'http_code' => 400, 'description' => '请求缺少必要的参数id字段'], + ['code' => 'MissingParameter.Message', 'message' => 'You must specify Message.', 'http_code' => 400, 'description' => '参数Message缺失。'], + ['code' => 'MissingParameter.To', 'message' => 'You must specify To.', 'http_code' => 400, 'description' => '缺少To参数。'], + ['code' => 'MissingSignName', 'message' => 'The signature name cannot be empty.', 'http_code' => 400, 'description' => '签名名称不能为空'], + ['code' => 'MissingTemplateName', 'message' => 'The template name cannot be empty.', 'http_code' => 404, 'description' => '模板名称不能为空。'], + ['code' => 'MonthLimitControl', 'message' => 'The monthly volume limit is exceeded.', 'http_code' => 400, 'description' => '发送量超过月限额。'], + ['code' => 'NotEnterpriseCertifyCustCheckError', 'message' => 'Non-enterprise certified customers are not allowed to access.', 'http_code' => 400, 'description' => '非企业认证客户不准入'], + ['code' => 'OneExtCodeMultipleSign', 'message' => 'One code with multiple signature error, please verify.', 'http_code' => 400, 'description' => '一码多签错误,请核对'], + ['code' => 'OrderDefinition.NotExist', 'message' => 'The work order scenario definition does not exist.', 'http_code' => 400, 'description' => '工单场景定义不存在'], + ['code' => 'OrganizationCodeNullError', 'message' => 'Unified Social Credit Code cannot be empty.', 'http_code' => 400, 'description' => '统一社会信用代码不允许为空'], + ['code' => 'OrganizationCodeOverLimit', 'message' => 'The organization code is limited to 150 characters.', 'http_code' => 400, 'description' => '统一社会信用代码不允许超过150个字符'], + ['code' => 'OssBiztypeNotSupportError', 'message' => 'Retrieving OSS configuration does not support this biz type.', 'http_code' => 400, 'description' => '获取OSS配置不支持该业务类型'], + ['code' => 'OtherFileTypeError', 'message' => 'Invalid file format for other documents.', 'http_code' => 400, 'description' => '其他文件格式错误'], + ['code' => 'OtherOssFileNotUploadError', 'message' => 'Other files not uploaded.', 'http_code' => 400, 'description' => '其他文件未上传'], + ['code' => 'OutOfService', 'message' => 'The account is suspended.', 'http_code' => 400, 'description' => '账号已停机。'], + ['code' => 'ParameterMismatch.ThirdParty', 'message' => 'The type of signature, whether for personal use or for a third party, should be consistent with the qualifications.', 'http_code' => 400, 'description' => '签名是否第三方使用应和资质保持一致。'], + ['code' => 'PARAMS_ILLEGAL', 'message' => 'Invalid parameter value.', 'http_code' => 400, 'description' => '参数错误'], + ['code' => 'PhoneNoCertifyCodeNullError', 'message' => 'Phone number and verification code cannot be empty.', 'http_code' => 400, 'description' => '管理员手机号和验证码不能为空'], + ['code' => 'PhoneNumber.Illegal', 'message' => 'The specified phone number is invalid.', 'http_code' => 400, 'description' => '手机号码无效或者错误。'], + ['code' => 'ProxyAuthorizationNotMatchRegex', 'message' => 'The authorized party name currently does not support any symbols except middle dots, spaces, Chinese brackets, and English parentheses or purely numeric input.', 'http_code' => 400, 'description' => '被授权方命名暂不支持包含除中点(·)、空格、中文括号【】、英文括号()外的任何符号或纯数字输入'], + ['code' => 'ProxyAuthorizationOverLimit', 'message' => 'The authorized party exceeds the 1000-character length limit.', 'http_code' => 400, 'description' => '被授权方超出1000个字符长度限制'], + ['code' => 'QualificationNameAlreadyExist', 'message' => 'The qualification name already exists. Please modify and resubmit.', 'http_code' => 400, 'description' => '资质名重复,请修改资质名再提交'], + ['code' => 'QualificationNameNotMatchRegex', 'message' => 'Qualification names must be in Chinese, English, or alphanumeric combinations. Symbols or pure numbers are not supported.', 'http_code' => 400, 'description' => '资质支持中文、英文或与数字组合进行命名,暂不支持任何符号或纯数字输入'], + ['code' => 'QualificationNameNullError', 'message' => 'Qualification name cannot be empty.', 'http_code' => 400, 'description' => '资质命名不允许为空'], + ['code' => 'QualificationNotComplete', 'message' => 'The qualification elements are incomplete.', 'http_code' => 400, 'description' => '资质要素不完整,缺失的要素有[]'], + ['code' => 'QualificationNotExist', 'message' => 'Can\'t query qualification information.', 'http_code' => 400, 'description' => '查询不到资质信息'], + ['code' => 'QualificationNotExist', 'message' => 'Qualification does not exist.', 'http_code' => 400, 'description' => '资质不存在'], + ['code' => 'QualificationNotFound', 'message' => 'Qualification does not exist.', 'http_code' => 404, 'description' => '资质不存在。'], + ['code' => 'SameQualificationGroupError', 'message' => 'A qualification with the same company and administrator information already exists.', 'http_code' => 400, 'description' => '已存在相同企业和管理员信息的资质'], + ['code' => 'ServiceNotOpened', 'message' => 'This product service is not opened.', 'http_code' => 400, 'description' => '产品服务未开通'], + ['code' => 'SignatureDoesNotMatch', 'message' => 'The signature generated by the client does not match the server.', 'http_code' => 400, 'description' => '客户端生成的签名与服务端不匹配'], + ['code' => 'SignatureNonceUsed', 'message' => 'The specified signature has been used.', 'http_code' => 400, 'description' => '签名随机数已被使用'], + ['code' => 'SignatureNotFound', 'message' => 'The signature does not exist.', 'http_code' => 404, 'description' => '该账号下找不到对应签名。'], + ['code' => 'SIGNATURE_BLACKLIST', 'message' => 'The sign name is intercepted based on the specified risk control strategies.', 'http_code' => 400, 'description' => '签名内容涉及违规信息'], + ['code' => 'SignName.Exists', 'message' => 'Sorry, this signature already exists and cannot be applied for again.', 'http_code' => 400, 'description' => '抱歉,此签名已经存在,不可重复申请。'], + ['code' => 'SignNotMatchRegex', 'message' => 'The signature length is limited to 2-12 characters and does not support some special characters.', 'http_code' => 400, 'description' => '签名长度限2-12个字符,不支持包含“测试”“test”【】[] 、,。括号和空格等特殊字符'], + ['code' => 'SignNumOverLimit', 'message' => 'The signature exceeds the limit of 100 entries.', 'http_code' => 400, 'description' => '签名超过100个数量限制'], + ['code' => 'SmsAuthorizationLetterNotExist', 'message' => 'Authorization does not belong to the customer.', 'http_code' => 400, 'description' => '授权书不属于该客户'], + ['code' => 'SmsAuthorizationLetterNotMatch', 'message' => 'Please bind the available authorization letter whose the social credit code is same to the the social credit code of qualification.', 'http_code' => 400, 'description' => '请绑定和资质统一社会信用代码一致的且可用的资质授权书'], + ['code' => 'SmsPassedAuthorizationLetterNotMatch', 'message' => 'Please bind audited authorization letter whose the social credit code is same to the the social credit code of qualification.', 'http_code' => 400, 'description' => '请绑定和资质统一社会信用代码一致的且审核通过的资质授权书'."\n"], + ['code' => 'SmsQualificationNotPassed', 'message' => 'The qualification has not been approved and cannot be bound to the signature.', 'http_code' => 400, 'description' => '资质未审核通过,不能绑定到签名'], + ['code' => 'SmsQualificationRegisterFailed', 'message' => 'The registration of the current qualification fails. Please modify the qualification and re-bind the qualification before completing the signature registration process again.', 'http_code' => 400, 'description' => '当前资质报备失败,请完成修改后,再重新绑定资质后再重新完成签名报备流程'], + ['code' => 'SmsSignatureNotExist', 'message' => 'Signature does not exist.', 'http_code' => 400, 'description' => '签名不存在'], + ['code' => 'SmsSignatureNotFound', 'message' => 'The associated SMS signature does not exist.', 'http_code' => 404, 'description' => '关联的短信签名不存在。'], + ['code' => 'SmsSignNotAuthorized', 'message' => 'The signature is not within the scope of the authorization.', 'http_code' => 400, 'description' => '该签名不在授权书范围内容'], + ['code' => 'SmsSignNotAuthorized', 'message' => 'the signature is not in the sign scope of the authorization letter.', 'http_code' => 400, 'description' => '该签名不在授权书范围内容'], + ['code' => 'SMS_STATUS_ILLEGAL', 'message' => 'When replacing the qualification and power of attorney of the signature, the signature status must be approved.', 'http_code' => 400, 'description' => '更换签名的资质和授权委托书时,签名状态必须审核通过'], + ['code' => 'TemplateNotFound', 'message' => 'The template does not exist.', 'http_code' => 404, 'description' => '该账号下找不到对应模板。'], + ['code' => 'TemplateParameterCountIllegal', 'message' => 'The verification code template only supports 1 verification code as a variable', 'http_code' => 400, 'description' => '验证码模板仅支持1个验证码作为变量'], + ['code' => 'TemplateVarLimitExceeded', 'message' => 'The verification code template only supports one variable.', 'http_code' => 400, 'description' => '验证码模板仅支持1个变量。'], + ['code' => 'template_code.NotFound', 'message' => 'The resource of "template_code" is not found..', 'http_code' => 400, 'description' => '找不到模板code'], + ['code' => 'template_parameter_count_illegal', 'message' => 'Only one parameter is supported in an OTP template.', 'http_code' => 400, 'description' => '验证码模板仅支持一个验证码作为变量'], + ['code' => 'ThreeAbnormal', 'message' => 'Three party anomaly.', 'http_code' => 400, 'description' => '三方异常'], + ['code' => 'Unknown.CountryCode', 'message' => 'The specified country code is invalid.', 'http_code' => 400, 'description' => '不能识别国家码。'], + ['code' => 'Unsupport.CountryCode', 'message' => 'The specified country code is not supported.', 'http_code' => 400, 'description' => '不支持的国家码。'], + ['code' => 'VALVE:D_MC', 'message' => '重复过滤', 'http_code' => 400, 'description' => '建议减少每天发送数量'], + ['code' => 'VALVE:H_MC', 'message' => '重复过滤', 'http_code' => 400, 'description' => '建议减少每小时发送数量'], + ['code' => 'VALVE:M_MC', 'message' => '重复过滤', 'http_code' => 400, 'description' => '建议减少每分钟发送数量'], + ['code' => 'WorkOrderIdExpired', 'message' => 'Qualification details have changed. Please re-query the qualification list and resubmit.', 'http_code' => 400, 'description' => '此资质信息有变,请重新查询资质里表后再编辑提交'], + ['code' => 'TrademarkPicsFileError', 'message' => 'The format of the trademark screenshot file is incorrect.', 'http_code' => 400, 'description' => '商标截图文件格式错误'], + ['code' => 'AppIcpRecordOssFileNotUploadError', 'message' => 'The APP-ICP record screenshot file is not uploaded.', 'http_code' => 400, 'description' => 'APP-ICP备案截图文件未上传'], + ['code' => 'TrademarkApplicantNameNotMatchRegex', 'message' => 'The trademark applicant cannot be empty.', 'http_code' => 400, 'description' => '商标申请人不能为空'], + ['code' => 'AppPrincipalUnitNameOverLimit', 'message' => 'The principal unit name of the APP exceeds the length limit.', 'http_code' => 400, 'description' => 'APP主办单位名称超出长度限制'], + ['code' => 'AppIcpRecordDateNotMatchRegex', 'message' => 'The format of the APP-ICP record approval date is incorrect.', 'http_code' => 400, 'description' => 'APP-ICP备案审批通过时间格式错误'], + ['code' => 'TrademarkLetterDateNotMatchRegex', 'message' => 'The format of the trademark\'s validity period is incorrect.', 'http_code' => 400, 'description' => '商标生失效时间格式错误'], + ['code' => 'AppIcpLicenseNumberOverLimit', 'message' => 'The ICP record/license number exceeds the length limit.', 'http_code' => 400, 'description' => 'ICP备案/许可证号超出长度限制'], + ['code' => 'TrademarkApplicantNameOverLimit', 'message' => 'The trademark applicant exceeds the length limit.', 'http_code' => 400, 'description' => '商标申请人超出长度限制'], + ['code' => 'AppApprovalDateNotValid', 'message' => 'The validity period of the APP-ICP record is not within the valid range.', 'http_code' => 400, 'description' => 'APP-ICP备案生失效时间不在有效期范围内'], + ['code' => 'AppIcpRecordPicsFileError', 'message' => 'The format of the APP-ICP record screenshot file is incorrect.', 'http_code' => 400, 'description' => 'APP-ICP备案截图文件格式错误'], + ['code' => 'TrademarkRegistrationNumberNotMatchRegex', 'message' => 'The trademark registration number cannot be empty.', 'http_code' => 400, 'description' => '商标注册号不能为空'], + ['code' => 'AppDomainNotMatchRegex', 'message' => 'The APP app store link cannot be empty and must start with http:// or https://.', 'http_code' => 400, 'description' => 'APP应用商店链接不能为空且需要以http://或https://开头'], + ['code' => 'TrademarkDateNotValid', 'message' => 'The trademark\'s validity period is not within the valid range.', 'http_code' => 400, 'description' => '商标生失效时间不在有效期范围内'], + ['code' => 'TrademarkNameNotMatchRegex', 'message' => 'The trademark name cannot be empty.', 'http_code' => 400, 'description' => '商标命名不能为空'], + ['code' => 'AppPrincipalUnitNameNotMatchRegex', 'message' => 'The principal unit name of the APP cannot be empty.', 'http_code' => 400, 'description' => 'APP主办单位名称不能为空'], + ['code' => 'AppIcpLicenseNumberNotMatchRegex', 'message' => 'The ICP record/license number cannot be empty.', 'http_code' => 400, 'description' => 'ICP备案/许可证号不能为空'], + ['code' => 'TrademarkOssFileNotUploadError', 'message' => 'The trademark screenshot file is not uploaded.', 'http_code' => 400, 'description' => '商标截图文件未上传'], + ['code' => 'TrademarkRegistrationNumberOverLimit', 'message' => 'The trademark registration number exceeds the length limit.', 'http_code' => 400, 'description' => '商标注册号超出长度限制'], + ['code' => 'TrademarkNameOverLimit', 'message' => 'The trademark name exceeds the length limit.', 'http_code' => 400, 'description' => '商标命名超出长度限制'], + ['code' => 'AppDomainOverLimit', 'message' => 'The APP app store link exceeds the length limit.', 'http_code' => 400, 'description' => 'APP应用商店链接超出长度限制'], + ['code' => 'AppIcpRecordNotExist', 'message' => 'The APP-ICP record does not exist.', 'http_code' => 400, 'description' => '关联APP-ICP备案实体不存在'], + ['code' => 'TrademarkNotExist', 'message' => 'The trademark does not exist.', 'http_code' => 400, 'description' => '关联商标实体不存在'], + ], + 'changeSet' => [ [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'dysmsapi.ap-southeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-5', - 'endpoint' => 'dysmsapi.ap-southeast-5.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'dysmsapi.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-2-pop', - 'endpoint' => 'dysmsapi.ap-southeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-finance-1', - 'endpoint' => 'dysmsapi.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-finance-pop', - 'endpoint' => 'dysmsapi.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-gov-1', - 'endpoint' => 'dysmsapi.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-nu16-b01', - 'endpoint' => 'dysmsapi.aliyuncs.com', - ], - [ - 'regionId' => 'cn-chengdu', - 'endpoint' => 'dysmsapi.aliyuncs.com', - ], - [ - 'regionId' => 'cn-edge-1', - 'endpoint' => 'dysmsapi.aliyuncs.com', - ], - [ - 'regionId' => 'cn-fujian', - 'endpoint' => 'dysmsapi.aliyuncs.com', - ], - [ - 'regionId' => 'cn-haidian-cm12-c01', - 'endpoint' => 'dysmsapi.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-bj-b01', - 'endpoint' => 'dysmsapi.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-finance', - 'endpoint' => 'dysmsapi.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-internal-prod-1', - 'endpoint' => 'dysmsapi.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-internal-test-1', - 'endpoint' => 'dysmsapi.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-internal-test-2', - 'endpoint' => 'dysmsapi.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-internal-test-3', - 'endpoint' => 'dysmsapi.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-test-306', - 'endpoint' => 'dysmsapi.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong-finance-pop', - 'endpoint' => 'dysmsapi.aliyuncs.com', - ], - [ - 'regionId' => 'cn-huhehaote-nebula-1', - 'endpoint' => 'dysmsapi.aliyuncs.com', - ], - [ - 'regionId' => 'cn-north-2-gov-1', - 'endpoint' => 'dysmsapi.aliyuncs.com', - ], - [ - 'regionId' => 'cn-qingdao-nebula', - 'endpoint' => 'dysmsapi.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-et15-b01', - 'endpoint' => 'dysmsapi.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-et2-b01', - 'endpoint' => 'dysmsapi.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-finance-1', - 'endpoint' => 'dysmsapi.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-inner', - 'endpoint' => 'dysmsapi.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-internal-test-1', - 'endpoint' => 'dysmsapi.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'dysmsapi.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-finance-1', - 'endpoint' => 'dysmsapi.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-inner', - 'endpoint' => 'dysmsapi.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-st4-d01', - 'endpoint' => 'dysmsapi.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-su18-b01', - 'endpoint' => 'dysmsapi.aliyuncs.com', - ], - [ - 'regionId' => 'cn-wuhan', - 'endpoint' => 'dysmsapi.aliyuncs.com', - ], - [ - 'regionId' => 'cn-yushanfang', - 'endpoint' => 'dysmsapi.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangbei', - 'endpoint' => 'dysmsapi.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangbei-na61-b01', - 'endpoint' => 'dysmsapi.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou-na62-a01', - 'endpoint' => 'dysmsapi.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhengzhou-nebula-1', - 'endpoint' => 'dysmsapi.aliyuncs.com', - ], - [ - 'regionId' => 'eu-central-1', - 'endpoint' => 'dysmsapi.eu-central-1.aliyuncs.com', - ], - [ - 'regionId' => 'eu-west-1-oxs', - 'endpoint' => 'dysmsapi.ap-southeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'rus-west-1-pop', - 'endpoint' => 'dysmsapi.ap-southeast-1.aliyuncs.com', + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'SendMessageToGlobe'], + ['description' => '请求参数发生变更', 'api' => 'SendMessageToGlobe'], + ], + 'createdAt' => '2025-08-01T06:22:21.000Z', + 'description' => '', ], [ - 'regionId' => 'cn-qingdao', - 'endpoint' => 'dysmsapi.aliyuncs.com', + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'SendMessageToGlobe'], + ], + 'createdAt' => '2025-08-01T03:34:45.000Z', + 'description' => '', ], - [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'dysmsapi.aliyuncs.com', + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryMessage'], + ['threshold' => '1', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchSendMessageToGlobe'], + ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SmsConversion'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConversionData'], + ['threshold' => '2000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SendMessageToGlobe'], + ['threshold' => '1500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SendMessageWithTemplate'], ], - [ - 'regionId' => 'cn-huhehaote', - 'endpoint' => 'dysmsapi.aliyuncs.com', + 'product' => ['code' => 'dysms', 'title' => '短信服务'], + ], + 'ram' => [ + 'productCode' => 'SMS', + 'productName' => '短信服务', + 'ramCodes' => ['dysms', 'cloudcomm', 'dybase', 'sms'], + 'ramLevel' => '服务级', + 'ramConditions' => [ + [ + 'name' => 'dysms:TLSVersion', + 'schema' => [ + 'type' => 'String', + 'description' => 'TLS版本', + 'enums' => ['TLSv1.0', 'TLSv1.1', 'TLSv1.2', 'TLSv1.3'], + ], + ], ], - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'dysmsapi.aliyuncs.com', + 'ramActions' => [ + [ + 'apiName' => 'QueryMessage', + 'description' => '查询短信发送记录', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'dysms:QueryMessage', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SMS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'SmsConversion', + 'description' => '短信转化反馈', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dysms:SmsConversion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SMS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'SendMessageWithTemplate', + 'description' => '使用短信模板发送短信', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dysms:SendMessageWithTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SMS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ConversionData', + 'description' => '转化率数据接入API', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'dysms:ConversionData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SMS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'SendMessageToGlobe', + 'description' => '发送短信到港澳台及中国境外', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dysms:SendMessageToGlobe', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SMS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'BatchSendMessageToGlobe', + 'description' => '批量发送短信到中国境外', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'dysms:BatchSendMessageToGlobe', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SMS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'resourceTypes' => [], ], ]; |
