ci:UpdateAsrQueue permission to the authorization policy action. For all supported Cloud Infinite (CI) API operations, please refer to CI action.PUT /asrqueue/<queueId> HTTP/1.1Host: <BucketName-APPID>.ci.<Region>.myqcloud.comDate: <GMT Date>Authorization: <Auth String>Content-Length: <length>Content-Type: application/xml<body>
<Request><Name>My-Queue-asr</Name><State>Active</State><NotifyConfig><State>On</State><Url>http://callback.demo.com</Url><Type>Url</Type><Event>TaskFinish,WorkflowFinish</Event><ResultFormat>JSON</ResultFormat></NotifyConfig></Request>
Node Name (Keyword) | Parent Node | Description | Type | Required or Not | Default Value | Limit |
Request | None. | Container for saving results | Container | Yes | None. | None. |
Node Name (Keyword) | Parent Node | Description | Type | Default Value | Required or Not |
Name | Request | Queue name: Only Chinese, English, digits, _, -, and * are allowed, with a length not exceeding 128. | String | None. | Yes |
State | Request | Active: Indicates that jobs in the queue will be scheduled for execution. Paused: Indicates the queue is suspended, jobs will no longer be scheduled for execution, all jobs in the queue remain in paused state, and executing tasks are not affected. | String | None. | Yes |
NotifyConfig | Request | callback configuration | Container | None. | Yes |
Node Name (Keyword) | Parent Node | Description | Type | Default Value | Required or Not |
State | Request.NotifyConfig | callback switch Off On | String | Off | No |
Event | Request.NotifyConfig | callback event TaskFinish: Task complete WorkflowFinish: Workflow completion | String | None. | When State=On, required |
ResultFormat | Request.NotifyConfig | callback format XML JSON | String | XML | No |
Type | Request.NotifyConfig | callback type Url TDMQ | String | None. | When State=On, required |
Url | Request.NotifyConfig | The callback URL cannot be a private network address. | String | None. | When State=On and Type=Url, required |
MqMode | Request.NotifyConfig | TDMQ usage mode Topic: Topic subscription Queue: Queue service | String | None. | When State=On and Type=TDMQ, required |
MqRegion | Request.NotifyConfig | TDMQ belonging to park, currently supports parks sh (Shanghai), bj (Beijing), gz (Guangzhou), cd (Chengdu), hk (Hong Kong (China)) | String | None. | When State=On and Type=TDMQ, required |
MqName | Request.NotifyConfig | TDMQ topic name | String | None. | When State=On and Type=TDMQ, required |
<Response><RequestId>NjJmNDczY2RfOTBmYTUwNjRfNTA4ZV85</RequestId><Queue><QueueId>p4a17eeea29334bf499b7e20e2fbfd99d</QueueId><Name>My-Queue-asr</Name><State>Active</State><NotifyConfig><Url>http://callback.demo.com</Url><Event>TaskFinish,WorkflowFinish</Event><Type>Url</Type><State>On</State><ResultFormat>JSON</ResultFormat><MqMode/><MqName/><MqRegion/></NotifyConfig><MaxSize>10000</MaxSize><MaxConcurrent>10</MaxConcurrent><BucketId>test007-1251704708</BucketId><Category>Speeching</Category><UpdateTime>2022-08-09T16:23:11+0800</UpdateTime><CreateTime>2022-08-09T16:13:05+0800</CreateTime></Queue></Response>
Node Name (Keyword) | Parent Node | Description | Type |
Response | None. | Container for saving results | Container |
Node Name (Keyword) | Parent Node | Description | Type |
RequestId | Response | unique request ID | String |
Queue | Response | queue information | Container |
Node Name (Keyword) | Parent Node | Description | Type |
QueueId | Response.Queue | Queue ID | String |
Name | Response.Queue | queue name | String |
State | Response.Queue | Current status, Active or Paused | String |
NotifyConfig | Response.Queue | Callback configuration | Container |
MaxSize | Response.Queue | queue maximum length | Int |
MaxConcurrent | Response.Queue | Maximum number of tasks executed in parallel in the current queue | Int |
Category | Response.Queue | queue type | String |
UpdateTime | Response.Queue | Update time | String |
CreateTime | Response.Queue | Creation time | String |
BucketId | Response.Queue | Queue ID of the associated bucket | String |
PUT /asrqueue/p4a17eeea29334bf499b7e20e2fbfd99d HTTP/1.1Authorization: q-sign-algorithm=sha1&q-ak=************************************&q-sign-time=1497530202;1497610202&q-key-time=1497530202;1497610202&q-header-list=&q-url-param-list=&q-signature=****************************************Host: test-1234567890.ci.ap-chongqing.myqcloud.comContent-Length: 162Content-Type: application/xml<Request><Name>My-Queue-asr</Name><State>Active</State><NotifyConfig><State>On</State><Url>http://callback.demo.com</Url><Type>Url</Type><Event>TaskFinish,WorkflowFinish</Event><ResultFormat>JSON</ResultFormat></NotifyConfig></Request>
HTTP/1.1 200 OKContent-Type: application/xmlContent-Length: 100Connection: keep-aliveDate: Thu, 09 Aug 2022 16:23:12 GMTServer: tencent-cix-ci-request-id: NjJmNDczY2RfOTBmYTUwNjRfNTA4ZV85<Response><RequestId>NjJmNDczY2RfOTBmYTUwNjRfNTA4ZV85</RequestId><Queue><QueueId>p4a17eeea29334bf499b7e20e2fbfd99d</QueueId><Name>My-Queue-asr</Name><State>Active</State><NotifyConfig><Url>http://callback.demo.com</Url><Event>TaskFinish,WorkflowFinish</Event><Type>Url</Type><State>On</State><ResultFormat>JSON</ResultFormat><MqMode/><MqName/><MqRegion/></NotifyConfig><MaxSize>10000</MaxSize><MaxConcurrent>10</MaxConcurrent><BucketId>test-1234567890</BucketId><Category>Speeching</Category><UpdateTime>2022-08-09T16:23:11+0800</UpdateTime><CreateTime>2022-08-09T16:13:05+0800</CreateTime></Queue></Response>
Feedback