Files
doc-exports/docs/fg/api-ref/functiongraph_06_0122.html
chenjunjie 2d02dc5d79 FG API 20250630 version
Reviewed-by: Topchii, Maria <mtopchii@noreply.gitea.eco.tsi-dev.otc-service.com>
Co-authored-by: chenjunjie <chenjunjie@huawei.com>
Co-committed-by: chenjunjie <chenjunjie@huawei.com>
2025-11-18 12:28:20 +00:00

1378 lines
118 KiB
HTML

<a name="functiongraph_06_0122"></a><a name="functiongraph_06_0122"></a>
<h1 class="topictitle1">Creating a Trigger</h1>
<div id="body0000002446342641"><div class="section" id="functiongraph_06_0122__section1268315125328"><h4 class="sectiontitle">Function</h4><p id="functiongraph_06_0122__p86841126328">This API is used to create a trigger.</p>
<ul id="functiongraph_06_0122__ul11684121283212"><li id="functiongraph_06_0122__li116841812133219">The following types of triggers are supported: timer, API Gateway (Dedicated), CTS, DDS, LTS, OBS, SMN, KAFKA, Kafka (Open-Source), and DMS (for RocketMQ).</li><li id="functiongraph_06_0122__li568513122327">By default, DDS and Kafka triggers are in the <strong id="functiongraph_06_0122__b169113514436">DISABLED</strong> state, and other triggers are in the <strong id="functiongraph_06_0122__b1591285144319">ACTIVE</strong> state.</li><li id="functiongraph_06_0122__li86867122327">Only Timer, DDS, LTS, and Kafka triggers can be disabled.</li></ul>
</div>
<div class="section" id="functiongraph_06_0122__section136886121329"><h4 class="sectiontitle">URI</h4><p id="functiongraph_06_0122__p2688112193211">POST /v2/{project_id}/fgs/triggers/{function_urn}</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0122__table15690111283215" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path parameters</caption><thead align="left"><tr id="functiongraph_06_0122__row2068915124321"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="functiongraph_06_0122__p2069019122325">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="functiongraph_06_0122__p6690131253219">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="functiongraph_06_0122__p11691812193219">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="functiongraph_06_0122__p14691171293218">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0122__row146893127322"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="functiongraph_06_0122__p1691111253211">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="functiongraph_06_0122__p1692512103214">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="functiongraph_06_0122__p5692112133215">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="functiongraph_06_0122__p86932126329">Project ID. For details, see <a href="functiongraph_06_0260.html">Obtaining a Project ID</a>.</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row106891412143219"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="functiongraph_06_0122__p2693131233211">function_urn</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="functiongraph_06_0122__p15694101217326">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="functiongraph_06_0122__p136940129323">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="functiongraph_06_0122__p1069441253216">Function URN. For details, see the function model descriptions.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="functiongraph_06_0122__section1869541210326"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0122__HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="functiongraph_06_0122__row1469651283210"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="functiongraph_06_0122__p14697512113213">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="functiongraph_06_0122__p4697201283212">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="19.98%" id="mcps1.3.3.2.2.5.1.3"><p id="functiongraph_06_0122__p76981812133210">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40.02%" id="mcps1.3.3.2.2.5.1.4"><p id="functiongraph_06_0122__p76991120328">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0122__row146969129325"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="functiongraph_06_0122__p19699412103213">X-Auth-Token</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="functiongraph_06_0122__p1869921210328">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="19.98%" headers="mcps1.3.3.2.2.5.1.3 "><p id="functiongraph_06_0122__p12700412153219">String</p>
</td>
<td class="cellrowborder" valign="top" width="40.02%" headers="mcps1.3.3.2.2.5.1.4 "><p id="functiongraph_06_0122__p170041223213">User token.</p>
<p id="functiongraph_06_0122__p14700212153217">The token can be obtained by calling the IAM API. The value of X-Subject-Token in the response header is the user token.</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row1269620123326"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="functiongraph_06_0122__p07012122325">Content-Type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="functiongraph_06_0122__p12701161217325">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="19.98%" headers="mcps1.3.3.2.2.5.1.3 "><p id="functiongraph_06_0122__p14702212203212">String</p>
</td>
<td class="cellrowborder" valign="top" width="40.02%" headers="mcps1.3.3.2.2.5.1.4 "><p id="functiongraph_06_0122__p17703212133212">Message body type or format.</p>
<p id="functiongraph_06_0122__p870331210321">Default value: <strong id="functiongraph_06_0122__b4199141315917">application/json</strong></p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0122__request_CreateFunctionTriggerRequestBody" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request body parameters</caption><thead align="left"><tr id="functiongraph_06_0122__row15704412153219"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="functiongraph_06_0122__p16705131212323">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="19.97%" id="mcps1.3.3.3.2.5.1.2"><p id="functiongraph_06_0122__p47061512153214">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20.03%" id="mcps1.3.3.3.2.5.1.3"><p id="functiongraph_06_0122__p1470617128323">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="functiongraph_06_0122__p770716128328">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0122__row570451223210"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0122__p570791273215">trigger_type_code</p>
</td>
<td class="cellrowborder" valign="top" width="19.97%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0122__p27081212113213">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20.03%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0122__p47081712173217">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0122__p15443151263214">Trigger type.</p>
<ul id="functiongraph_06_0122__ul8443412203216"><li id="functiongraph_06_0122__li14443181217329">TIMER</li><li id="functiongraph_06_0122__li15986161011325">DEDICATEDGATEWAY: API Gateway (Dedicated)</li><li id="functiongraph_06_0122__li12444412163218">CTS: Cloud Trace Service (CTS): Enable CTS first.</li><li id="functiongraph_06_0122__li144442012143213">DDS: Document Database Service (DDS): Configure a VPC for the function first.</li><li id="functiongraph_06_0122__li1990718164216">DMS: Distributed Message Service (DMS)</li><li id="functiongraph_06_0122__li10205121113362">LTS: Log Tank Service (LTS): Configure an LTS agency first.</li><li id="functiongraph_06_0122__li183462913364">KAFKA: DMS (for Kafka): Configure a DMS agency first.</li><li id="functiongraph_06_0122__li91755311447">OBS: Object Storage Service (OBS)</li><li id="functiongraph_06_0122__li89799173718">SMN: Simple Message Notification (SMN)</li><li id="functiongraph_06_0122__li4901823710">OPENSOURCEKAFKA: Kafka (Open-Source)</li><li id="functiongraph_06_0122__li24828583526">ROCKETMQ: Distributed Message Service (DMS) for RocketMQ</li></ul>
</td>
</tr>
<tr id="functiongraph_06_0122__row1670481233214"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0122__p372191211324">trigger_status</p>
</td>
<td class="cellrowborder" valign="top" width="19.97%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0122__p15721121218323">No</p>
</td>
<td class="cellrowborder" valign="top" width="20.03%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0122__p207211125329">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0122__p1772214125321">Trigger status.</p>
<p id="functiongraph_06_0122__p97221412103216">Enumerated values:</p>
<ul id="functiongraph_06_0122__ul14722012163216"><li id="functiongraph_06_0122__li12722171210320"><strong id="functiongraph_06_0122__b10723151217326">ACTIVE</strong></li><li id="functiongraph_06_0122__li12723131233212"><strong id="functiongraph_06_0122__b1872371218327">DISABLED</strong></li></ul>
</td>
</tr>
<tr id="functiongraph_06_0122__row7704812153210"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0122__p1372391212320">event_type_code</p>
</td>
<td class="cellrowborder" valign="top" width="19.97%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0122__p17241212123217">No</p>
</td>
<td class="cellrowborder" valign="top" width="20.03%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0122__p17724181233218">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0122__p137251512153211">Message code.</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row2704141283219"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0122__p14725111214327">event_data</p>
</td>
<td class="cellrowborder" valign="top" width="19.97%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0122__p1872651293218">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20.03%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0122__p1772731233210"><a href="#functiongraph_06_0122__request_TriggerEventDataRequestBody">TriggerEventDataRequestBody</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0122__p372741273214">Trigger source event.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="functiongraph_06_0122__request_TriggerEventDataRequestBody"></a><a name="request_TriggerEventDataRequestBody"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0122__request_TriggerEventDataRequestBody" frame="border" border="1" rules="all"><caption><b>Table 4 </b>TriggerEventDataRequestBody</caption><thead align="left"><tr id="functiongraph_06_0122__row77301512183220"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.1"><p id="functiongraph_06_0122__p973711215325">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.2"><p id="functiongraph_06_0122__p1873741243216">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.3"><p id="functiongraph_06_0122__p373861263211">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.4.2.5.1.4"><p id="functiongraph_06_0122__p1573871210329">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0122__row173118121325"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p5738812193213">name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p1073912129320">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p1273941283213">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><ul id="functiongraph_06_0122__ul1774041253218"><li id="functiongraph_06_0122__li1740201217329">Timer trigger: trigger name</li><li id="functiongraph_06_0122__li1274011124324">APIG trigger: API name</li><li id="functiongraph_06_0122__li174116127323">CTS trigger: notification name</li><li id="functiongraph_06_0122__li3741131213329">OBS trigger: event notification name. The default value is the trigger ID.</li></ul>
</td>
</tr>
<tr id="functiongraph_06_0122__row97311512133212"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p3742151213325">schedule_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p1742312163217">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p874211121326">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p17743512153212">Timer trigger type (timer trigger parameter). This parameter is mandatory for timer triggers.</p>
<ul id="functiongraph_06_0122__ul187431712113219"><li id="functiongraph_06_0122__li3743111243211">Rate: specifies the frequency (minutes, hours, or days) at which the function is invoked. If the unit is minute, the value cannot exceed 60. If the unit is hour, the value cannot exceed 24. If the unit is day, the value cannot exceed 30.</li><li id="functiongraph_06_0122__li474315125328">Cron: specifies a Cron expression to periodically invoke a function.</li></ul>
<p id="functiongraph_06_0122__p674481223217">Enumerated values:</p>
<ul id="functiongraph_06_0122__ul674481283219"><li id="functiongraph_06_0122__li11744141293215"><strong id="functiongraph_06_0122__b3744112183215">Rate</strong></li><li id="functiongraph_06_0122__li19745181220328"><strong id="functiongraph_06_0122__b174514129328">Cron</strong></li></ul>
</td>
</tr>
<tr id="functiongraph_06_0122__row5731151219326"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p7745171293217">schedule</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p77451912173214">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p97461412103215">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p974612126321">Triggering rule (timer trigger parameter). This parameter is mandatory for timer triggers.</p>
<ul id="functiongraph_06_0122__ul1074718126322"><li id="functiongraph_06_0122__li1774717123324">When the trigger type is Rate, the scheduled rule is used.</li><li id="functiongraph_06_0122__li974791283217">When the trigger type is Cron, the Cron expression is used.</li></ul>
</td>
</tr>
<tr id="functiongraph_06_0122__row12731111217328"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p274831283211">user_event</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p18748912183219">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p7749312103215">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p1874917129329">Additional information (timer trigger parameter). When the timer trigger triggers the function, the execution event (the event parameter of the function) is {"version": "v1.0", "time": "2018-06-01T08:30:00+08:00", "trigger_type": "TIMER", "trigger_name": "Timer_001", "user_event": "Additional information you entered"}.</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row1473181220322"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p15750512143216">type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p1175013123324">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p12751412203215">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p97511412173215">API type (APIG trigger parameter). This parameter is mandatory for APIG triggers.</p>
<ul id="functiongraph_06_0122__ul5751171223220"><li id="functiongraph_06_0122__li1775151214324"><strong id="functiongraph_06_0122__b112091471876">1</strong>: public</li><li id="functiongraph_06_0122__li8752101293216"><strong id="functiongraph_06_0122__b751554910719">2</strong>: private</li></ul>
</td>
</tr>
<tr id="functiongraph_06_0122__row5731191212322"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p77525124328">path</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p575211214323">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p187531612123210">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p1375310126327">Path of the API (APIG trigger parameter). This parameter is mandatory for APIG triggers.</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row97314128324"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p147542127328">protocol</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p157542012123217">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p11755121212325">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p7755912203211">Request protocol of the API (APIG trigger parameter). This parameter is mandatory for APIG triggers.</p>
<p id="functiongraph_06_0122__p13756612173210">Enumerated values:</p>
<ul id="functiongraph_06_0122__ul15756312113210"><li id="functiongraph_06_0122__li07561112103212"><strong id="functiongraph_06_0122__b175681210325">HTTP</strong></li><li id="functiongraph_06_0122__li127561912113220"><strong id="functiongraph_06_0122__b1175761233212">HTTPS</strong></li></ul>
</td>
</tr>
<tr id="functiongraph_06_0122__row18731181283217"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p2757812143214">req_method</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p3758141213326">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p12759111214326">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p11759912173214">Request method of the API (APIG trigger parameter). This parameter is mandatory for APIG triggers.</p>
<p id="functiongraph_06_0122__p16759112153212">Enumerated values:</p>
<ul id="functiongraph_06_0122__ul117601125328"><li id="functiongraph_06_0122__li13760121223218"><strong id="functiongraph_06_0122__b4760012183211">GET</strong></li><li id="functiongraph_06_0122__li876011213214"><strong id="functiongraph_06_0122__b187601312203219">POST</strong></li><li id="functiongraph_06_0122__li18761912113214"><strong id="functiongraph_06_0122__b19761161273215">PUT</strong></li><li id="functiongraph_06_0122__li117612126328"><strong id="functiongraph_06_0122__b9761212153218">DELETE</strong></li><li id="functiongraph_06_0122__li19761111273213"><strong id="functiongraph_06_0122__b57612012193211">HEAD</strong></li><li id="functiongraph_06_0122__li10762151283214"><strong id="functiongraph_06_0122__b376261263214">PATCH</strong></li><li id="functiongraph_06_0122__li1476221218324"><strong id="functiongraph_06_0122__b976281283216">OPTIONS</strong></li><li id="functiongraph_06_0122__li1276241213324"><strong id="functiongraph_06_0122__b8763171212323">ANY</strong></li></ul>
</td>
</tr>
<tr id="functiongraph_06_0122__row9731111212325"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p1276361243214">group_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p476331253213">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p14764171283218">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p147641012163211">ID of the group to which the API belongs (APIG trigger parameter). This parameter is mandatory for APIG triggers.</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row8731151213217"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p19764112163212">group_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p4765101263214">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p6765131215327">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p127662012103219">Name of the group to which the API belongs</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row1673212128328"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p1876641283219">match_mode</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p1276651223212">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p1076717124323">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p97671012183219">Matching mode of the API (APIG trigger parameter). This parameter is mandatory for APIG triggers.</p>
<ul id="functiongraph_06_0122__ul147677128329"><li id="functiongraph_06_0122__li77681912183216"><strong id="functiongraph_06_0122__b733142792">SWA</strong>: prefix match</li><li id="functiongraph_06_0122__li1676915125328"><strong id="functiongraph_06_0122__b99897419913">NORMAL</strong>: exact match</li></ul>
<p id="functiongraph_06_0122__p676910123322">Enumerated values:</p>
<ul id="functiongraph_06_0122__ul16769312143219"><li id="functiongraph_06_0122__li577071216321"><strong id="functiongraph_06_0122__b17770912153210">SWA</strong></li><li id="functiongraph_06_0122__li5770712133212"><strong id="functiongraph_06_0122__b14770131216325">NORMAL</strong></li></ul>
</td>
</tr>
<tr id="functiongraph_06_0122__row17732111273215"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p16771111210329">env_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p1771101216325">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p10771151218323">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p677212121324">Environment in which the API is published (APIG trigger parameter). This parameter is mandatory for APIG triggers.</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row18732612123219"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p1277210127324">env_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p377313124323">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p18773161214324">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p777301273210">ID of the environment in which the API is published (APIG trigger parameter). This parameter is mandatory for APIG triggers.</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row1773216122328"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p9774712183210">auth</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p16774412103212">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p4774191210322">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p977519127327">API authentication mode (APIG trigger parameter). This parameter is mandatory for APIG triggers.</p>
<ul id="functiongraph_06_0122__ul10775151283213"><li id="functiongraph_06_0122__li577581283218"><strong id="functiongraph_06_0122__b168353223916">IAM</strong>: IAM authentication. This mode grants access permissions to IAM users only and is of medium security.</li><li id="functiongraph_06_0122__li87767128321"><strong id="functiongraph_06_0122__b164992254912">APP</strong>: AppKey and AppSecret authentication. This mode is of high security and is recommended.</li><li id="functiongraph_06_0122__li18776161218326"><strong id="functiongraph_06_0122__b1061127197">NONE</strong>: Authentication is not required. All users can access this API. This mode is not recommended.</li></ul>
<p id="functiongraph_06_0122__p777718121327">Enumerated values:</p>
<ul id="functiongraph_06_0122__ul187774129324"><li id="functiongraph_06_0122__li107771912173211"><strong id="functiongraph_06_0122__b10778712173215">IAM</strong></li><li id="functiongraph_06_0122__li1377811219321"><strong id="functiongraph_06_0122__b15778161220328">APP</strong></li><li id="functiongraph_06_0122__li277819129322"><strong id="functiongraph_06_0122__b15778212153210">NONE</strong></li></ul>
</td>
</tr>
<tr id="functiongraph_06_0122__row1973231243216"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p97799122328">func_info</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p1577912128325">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p9779141243216"><a href="#functiongraph_06_0122__request_ApigTriggerFuncInfo">ApigTriggerFuncInfo</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p18780181216329">FunctionGraph backend details (APIG trigger parameter). This parameter is mandatory for APIG triggers.</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row1273291233214"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p10780512103213">sl_domain</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p1578021273210">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p47816129324">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p1578101219326">Subdomain name allocated by the APIG system by default (APIG trigger parameter).</p>
<p id="functiongraph_06_0122__p5782131216329">Minimum length: <strong id="functiongraph_06_0122__b12518945104">1</strong></p>
<p id="functiongraph_06_0122__p15348143326">Maximum length: <strong id="functiongraph_06_0122__b98310611109">255</strong></p>
</td>
</tr>
<tr id="functiongraph_06_0122__row14732111283214"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p11534111413218">backend_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p15534111473218">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p7534514153213">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p145354145321">API backend type (APIG trigger parameter).</p>
<p id="functiongraph_06_0122__p05351148325">Enumerated values:</p>
<ul id="functiongraph_06_0122__ul1253581420329"><li id="functiongraph_06_0122__li1453591413214"><strong id="functiongraph_06_0122__b8535191419322">FUNCTION</strong></li></ul>
</td>
</tr>
<tr id="functiongraph_06_0122__row77329120320"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p1453591463217">operations</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p17535714103220">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p185361149323">Array of strings</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p8536614163217">Custom operations (CTS trigger parameter). This parameter is mandatory for CTS triggers. CTS collects operation records of subscribed cloud resources. If you create a function with a CTS trigger, collected operation records of specified cloud services will be passed as a parameter to invoke the function.</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row47321612173217"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p85369143329">instance_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p16536014133218">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p125361814163216">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p32551414153216">Instance ID. This parameter is mandatory for DDS, RocketMQ and Kafka triggers.</p>
<ul id="functiongraph_06_0122__ul325661413213"><li id="functiongraph_06_0122__li325610141326">APIG trigger: APIG gateway ID.</li><li id="functiongraph_06_0122__li52567141328">DDS trigger: DDS instance ID.</li><li id="functiongraph_06_0122__li4256161473211">Kafka trigger: Kafka instance ID.</li><li id="functiongraph_06_0122__li573874417562"><p id="functiongraph_06_0122__p157385447569"><a name="functiongraph_06_0122__li573874417562"></a><a name="li573874417562"></a>RocketMQ trigger: RocketMQ instance ID.</p>
</li></ul>
</td>
</tr>
<tr id="functiongraph_06_0122__row12732171212325"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p553711143325">collection_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p25381814113216">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p653881414326">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p95388142329">Collection name (DDS trigger parameter). This parameter is mandatory for DDS triggers.</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row16732112143210"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p10538151403214">db_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p1253851415321">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p1053811417326">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p1753881417323">Database name (DDS trigger parameter). This parameter is mandatory for DDS triggers.</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row4733131233211"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p153941418327">db_password</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p1539151413213">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p653912143328">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p9539814113210">Database password (DDS trigger parameter). This parameter is mandatory for DDS triggers.</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row11733131212322"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p553931413218">batch_size</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p153971483218">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p7540121418324">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p1726120148327">Batch size, that is, the maximum amount of data that can be processed at a time. This parameter is mandatory for DDS, Kafka, RocketMQ, triggers.</p>
<ul id="functiongraph_06_0122__ul13261191415320"><li id="functiongraph_06_0122__li7261214113213">DDS trigger: Enter a value from 1 to 10,000.</li><li id="functiongraph_06_0122__li326271413213">Kafka trigger: Enter a value from 1 to 1,000.</li><li id="functiongraph_06_0122__li412166102410">RocketMQ trigger: Enter a value from 1 to 1,000.</li></ul>
</td>
</tr>
<tr id="functiongraph_06_0122__row37332125321"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p1754111146320">queue_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p1541141411328">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p0542121473214">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p354211416325">Queue ID (DMS trigger parameter). This parameter is mandatory for DMS triggers.</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row673391214322"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p195422149328">consumer_group_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p6542214123220">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p3542171403214">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p1754381415327">Consumer group ID (DMS trigger parameter). This parameter is mandatory for DMS triggers.</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row473301273219"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p2543181412329">polling_interval</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p95432143329">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p35431914133217">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p1254318149329">Pull period. This parameter is mandatory for DMS triggers.</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row7734171210321"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p1555321410322">log_group_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p2553181433217">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p55534146329">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p14553171433220">Log group ID (LTS trigger parameter). This parameter is mandatory for LTS triggers.</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row27343120329"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p19553171415324">log_topic_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p355312146321">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p1255471453211">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p15554161413326">Log stream ID (LTS trigger parameter). This parameter is mandatory for LTS triggers.</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row17341112123217"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p14554131493220">bucket</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p1655461416324">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p755491411323">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p1855471417321">Bucket name (OBS trigger parameter). The name of the OBS bucket used as the event source cannot be the same as that of an existing bucket of the current user or another user. After being created, the bucket name cannot be modified. This parameter is mandatory for OBS triggers.</p>
<p id="functiongraph_06_0122__p0555191418321">Minimum length: <strong id="functiongraph_06_0122__b1353439111011">1</strong></p>
<p id="functiongraph_06_0122__p1555518142320">Maximum length: <strong id="functiongraph_06_0122__b1140174981418">64</strong></p>
</td>
</tr>
<tr id="functiongraph_06_0122__row1173441210325"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p1355511417322">prefix</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p7555101423217">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p055521412321">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p75561014173214">Prefix (OBS trigger parameter). Enter a prefix to limit notifications to objects whose names start with the matching characters.</p>
<p id="functiongraph_06_0122__p355621453216">Minimum length: <strong id="functiongraph_06_0122__b1460475310143">0</strong></p>
<p id="functiongraph_06_0122__p115561148329">Maximum length: <strong id="functiongraph_06_0122__b836116154">1024</strong></p>
</td>
</tr>
<tr id="functiongraph_06_0122__row873431212325"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p85561414103212">suffix</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p1555610140321">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p17557121403210">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p1455711453217">Suffix (OBS trigger parameter). Enter a suffix to limit notifications to objects whose names end with the matching characters.</p>
<p id="functiongraph_06_0122__p12557614173211">Minimum length: <strong id="functiongraph_06_0122__b114376377152">0</strong></p>
<p id="functiongraph_06_0122__p955781463211">Maximum length: <strong id="functiongraph_06_0122__b148681982153">1024</strong></p>
</td>
</tr>
<tr id="functiongraph_06_0122__row13734112103219"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p655714145329">events</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p255815147323">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p75586142320">Array of strings</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p8558101463212">Events (OBS trigger parameter). This parameter is mandatory for OBS triggers.</p>
<ul id="functiongraph_06_0122__ul17558161493219"><li id="functiongraph_06_0122__li155585143325"><strong id="functiongraph_06_0122__b136131646121517">ObjectCreated</strong>: all kinds of object creation operations, including PUT, POST, COPY, and part assembling</li><li id="functiongraph_06_0122__li1455891453212"><strong id="functiongraph_06_0122__b2098520474157">Put</strong>: object upload using PUT</li><li id="functiongraph_06_0122__li455911147321"><strong id="functiongraph_06_0122__b281749181512">Post</strong>: object upload using POST</li><li id="functiongraph_06_0122__li55597147328"><strong id="functiongraph_06_0122__b035565021518">Copy</strong>: object copying using COPY</li><li id="functiongraph_06_0122__li35598148322"><strong id="functiongraph_06_0122__b24961551121511">CompleteMultipartUpload</strong>: Assemble parts in a multipart upload.</li><li id="functiongraph_06_0122__li125591414113215"><strong id="functiongraph_06_0122__b13657452111516">ObjectRemoved</strong>: deleting objects</li><li id="functiongraph_06_0122__li205591714163212"><strong id="functiongraph_06_0122__b1679719532156">Delete</strong>: object deletion with a version ID specified</li><li id="functiongraph_06_0122__li25607144328"><strong id="functiongraph_06_0122__b2037515515154">DeleteMarkerCreated</strong>: object deletion with no version ID specified</li></ul>
</td>
</tr>
<tr id="functiongraph_06_0122__row1473461210322"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p5560614173216">topic_urn</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p4560714193215">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p0560181413216">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p185602141326">Topic URN (SMN trigger parameter) This parameter is mandatory for SMN triggers.</p>
<p id="functiongraph_06_0122__p125611144321">Minimum length: <strong id="functiongraph_06_0122__b1353519111012">1</strong></p>
<p id="functiongraph_06_0122__p1456111415325">Maximum length: <strong id="functiongraph_06_0122__b19495112451019">255</strong></p>
</td>
</tr>
<tr id="functiongraph_06_0122__row18734012143212"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p175611314133215">topic_ids</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p05618145327">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p1561151463219">Array of strings</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p11561111420324">The Kafka topic ID list (Kafka trigger parameter). This parameter is mandatory for Kafka triggers.</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row1073511126326"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p3562814153210">kafka_user</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p85628148326">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p25621414113211">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p14562214113211">Kafka account name (Kafka trigger parameter).</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row6735212183214"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p115621614133218">kafka_password</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p1356213141325">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p105629145325">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p956391412323">Kafka account password (Kafka trigger parameter).</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row573571223214"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p756318142321">kafka_connect_address</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p756351403215">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p1956311413320">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p85631914143216">Kafka instance connection address (Kafka trigger parameter).</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row6735111223213"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p1563141473216">kafka_ssl_enable</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p35641014173219">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p9564114183215">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p125641414113214">Whether to enable security authentication (Kafka trigger parameter).</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row1867352010319"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p1562153713282">enable_acl</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p2621113752819">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p062143772815">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p176211037192817">Whether to enable username and password authentication (RocketMQ trigger parameter).</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row4249422113118"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p13621193712816">access_key</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p1362113762819">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p7621143711282">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p362153762810">Connection username (RocketMQ trigger parameter). This parameter is mandatory when enable_acl is set to true.</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row864462373112"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p14621103742810">secret_key</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p7621123719289">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p1162119370283">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p11621153762816">Connection password (RocketMQ trigger parameter). This parameter is mandatory when enable_acl is set to true.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="functiongraph_06_0122__request_ApigTriggerFuncInfo"></a><a name="request_ApigTriggerFuncInfo"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0122__request_ApigTriggerFuncInfo" frame="border" border="1" rules="all"><caption><b>Table 5 </b>ApigTriggerFuncInfo</caption><thead align="left"><tr id="functiongraph_06_0122__row583013122329"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.5.2.5.1.1"><p id="functiongraph_06_0122__p14569161493218">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.5.2.5.1.2"><p id="functiongraph_06_0122__p16570131418327">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.5.2.5.1.3"><p id="functiongraph_06_0122__p8570151413323">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.5.2.5.1.4"><p id="functiongraph_06_0122__p457051493219">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0122__row283081215327"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="functiongraph_06_0122__p857016146321">function_urn</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="functiongraph_06_0122__p05701914113213">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="functiongraph_06_0122__p95701014153217">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="functiongraph_06_0122__p125710143323">Function URN. For details, see the function model descriptions.</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row11830181263212"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="functiongraph_06_0122__p185711514153210">invocation_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="functiongraph_06_0122__p1557131423212">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="functiongraph_06_0122__p1557111149322">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="functiongraph_06_0122__p145719142323">Execution mode of a function.</p>
<ul id="functiongraph_06_0122__ul9571171413213"><li id="functiongraph_06_0122__li1557118147324">sync: synchronous execution</li><li id="functiongraph_06_0122__li25721148324">async: asynchronous execution</li></ul>
<p id="functiongraph_06_0122__p1657212145322">Enumerated values:</p>
<ul id="functiongraph_06_0122__ul19572171453219"><li id="functiongraph_06_0122__li85722144329"><strong id="functiongraph_06_0122__b9572181433215">sync</strong></li><li id="functiongraph_06_0122__li15728140322"><strong id="functiongraph_06_0122__b1357321413215">async</strong></li></ul>
</td>
</tr>
<tr id="functiongraph_06_0122__row983081263215"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="functiongraph_06_0122__p4573914183215">timeout</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="functiongraph_06_0122__p85731414193214">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="functiongraph_06_0122__p7573181453218">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="functiongraph_06_0122__p1257316140329">Timeout allowed for APIG to request the FunctionGraph service. Unit: millisecond. This parameter is mandatory for APIG triggers.</p>
<p id="functiongraph_06_0122__p6573514143212">Minimum value: <strong id="functiongraph_06_0122__b8208134214273">1</strong></p>
<p id="functiongraph_06_0122__p1557415147329">Maximum value: <strong id="functiongraph_06_0122__b433474311274">60000</strong></p>
</td>
</tr>
<tr id="functiongraph_06_0122__row1083011129320"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="functiongraph_06_0122__p95746145329">version</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="functiongraph_06_0122__p17574181414323">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="functiongraph_06_0122__p1457491415328">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="functiongraph_06_0122__p2574614163210">Function version information.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="functiongraph_06_0122__section55754147328"><h4 class="sectiontitle">Response Parameters</h4><p id="functiongraph_06_0122__p457591410328"><strong id="functiongraph_06_0122__b1453104712711">Status code: 201</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0122__response_CreateFunctionTriggerResponseBody" frame="border" border="1" rules="all"><caption><b>Table 6 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0122__row13840131253219"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="functiongraph_06_0122__p145751714103216">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.2"><p id="functiongraph_06_0122__p125764141328">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.3.2.4.1.3"><p id="functiongraph_06_0122__p457671415328">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0122__row38412122325"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0122__p1657641493217">trigger_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0122__p10576171416324">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0122__p2576514143217">Trigger ID.</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row1384117129321"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0122__p9576201415324">trigger_type_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0122__p857681463211">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0122__p92339485556">Trigger type.</p>
<ul id="functiongraph_06_0122__ul1823312489553"><li id="functiongraph_06_0122__li72337484556">TIMER</li><li id="functiongraph_06_0122__li10233848155513">DEDICATEDGATEWAY: API Gateway (Dedicated)</li><li id="functiongraph_06_0122__li19233124819559">CTS: Cloud Trace Service (CTS)</li><li id="functiongraph_06_0122__li823404875514">DDS: Document Database Service (DDS)</li><li id="functiongraph_06_0122__li18234134805515">DMS: Distributed Message Service (DMS)</li><li id="functiongraph_06_0122__li122342484555">LTS: Log Tank Service (LTS)</li><li id="functiongraph_06_0122__li142344481559">KAFKA: DMS (for Kafka)</li><li id="functiongraph_06_0122__li923414819555">OBS: Object Storage Service (OBS)</li><li id="functiongraph_06_0122__li423418482558">SMN: Simple Message Notification (SMN)</li><li id="functiongraph_06_0122__li62341748205513">OPENSOURCEKAFKA: Kafka (Open-Source)</li><li id="functiongraph_06_0122__li223474818556">ROCKETMQ: Distributed Message Service (DMS) for RocketMQ</li></ul>
</td>
</tr>
<tr id="functiongraph_06_0122__row188411912143212"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0122__p195835146324">trigger_status</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0122__p558415141328">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0122__p1058412142320">Trigger status.</p>
<ul id="functiongraph_06_0122__ul1758411473218"><li id="functiongraph_06_0122__li85845145329">ACTIVE: The trigger is enabled.</li><li id="functiongraph_06_0122__li95841114133211">DISABLED: The trigger is disabled.</li></ul>
<p id="functiongraph_06_0122__p858411416327">Enumerated values:</p>
<ul id="functiongraph_06_0122__ul75851714103213"><li id="functiongraph_06_0122__li1158571413326"><strong id="functiongraph_06_0122__b11585714203216">ACTIVE</strong></li><li id="functiongraph_06_0122__li158511473219"><strong id="functiongraph_06_0122__b195858143322">DISABLED</strong></li></ul>
</td>
</tr>
<tr id="functiongraph_06_0122__row8841181213210"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0122__p6585121420328">event_data</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0122__p55851314143216"><a href="#functiongraph_06_0122__response_TriggerEventDataResponseBody">TriggerEventDataResponseBody</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0122__p7585131411327">Trigger source event.</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row188411712113213"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0122__p13586131414321">last_updated_time</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0122__p2586614193218">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0122__p1758612145328">Time when the trigger was last updated.</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row58411812143220"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0122__p145861814193219">created_time</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0122__p2586141453219">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0122__p1158710148329">Time when the trigger was created.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="functiongraph_06_0122__response_TriggerEventDataResponseBody"></a><a name="response_TriggerEventDataResponseBody"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0122__response_TriggerEventDataResponseBody" frame="border" border="1" rules="all"><caption><b>Table 7 </b>TriggerEventDataResponseBody</caption><thead align="left"><tr id="functiongraph_06_0122__row138575122322"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.1"><p id="functiongraph_06_0122__p135888143322">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.2"><p id="functiongraph_06_0122__p4588111463219">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.4.2.4.1.3"><p id="functiongraph_06_0122__p12588914163214">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0122__row178571112133215"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p125881214133219">name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p105891814153212">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p15589161417329">Trigger name.</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row16857141213328"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p9589171443212">schedule_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p14589101443213">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p65891214173218">Timer trigger type (timer trigger parameter).</p>
<ul id="functiongraph_06_0122__ul2589914133217"><li id="functiongraph_06_0122__li6590414163210">Rate: specifies the frequency (minutes, hours, or days) at which the function is invoked. If the unit is minute, the value cannot exceed 60. If the unit is hour, the value cannot exceed 24. If the unit is day, the value cannot exceed 30.</li><li id="functiongraph_06_0122__li65901914193211">Cron: specifies a Cron expression to periodically invoke a function.</li></ul>
<p id="functiongraph_06_0122__p9590114133215">Enumerated values:</p>
<ul id="functiongraph_06_0122__ul1590141411321"><li id="functiongraph_06_0122__li359071417324"><strong id="functiongraph_06_0122__b11590614143215">Rate</strong></li><li id="functiongraph_06_0122__li135905142321"><strong id="functiongraph_06_0122__b75911714193220">Cron</strong></li></ul>
</td>
</tr>
<tr id="functiongraph_06_0122__row17857181214328"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p17591161410328">schedule</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p859151453211">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p11591181403220">Triggering rule (timer trigger parameter).</p>
<ul id="functiongraph_06_0122__ul5591141418328"><li id="functiongraph_06_0122__li1059111403212">When the trigger type is Rate, the scheduled rule is used.</li><li id="functiongraph_06_0122__li8591614163216">When the trigger type is Cron, the Cron expression is used.</li></ul>
</td>
</tr>
<tr id="functiongraph_06_0122__row185791263219"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p45921714203210">user_event</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p1359291443213">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p2059214141325">Additional information (timer trigger parameter). When the timer trigger triggers the function, the execution event (the event parameter of the function) is {"version": "v1.0", "time": "2018-06-01T08:30:00+08:00", "trigger_type": "TIMER", "trigger_name": "Timer_001", "user_event": "Additional information you entered"}.</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row0857712193213"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p13592141443218">triggerid</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p359321493211">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p85931314143218">APIG trigger ID (APIG trigger parameter).</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row12857012133217"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p14593201412321">type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p459391415321">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p2059401443214">API type (APIG trigger parameter).</p>
<ul id="functiongraph_06_0122__ul1859415143322"><li id="functiongraph_06_0122__li259417149324"><strong id="functiongraph_06_0122__b33231510102919">1</strong>: public</li><li id="functiongraph_06_0122__li14594191493210"><strong id="functiongraph_06_0122__b19385912182912">2</strong>: private</li></ul>
</td>
</tr>
<tr id="functiongraph_06_0122__row1285741283218"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p12595014133211">path</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p15595161410326">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p6595121483216">Path of the API (APIG trigger parameter).</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row1858181219322"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p1959516143325">protocol</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p19596101493213">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p55961214163215">Request protocol of the API (APIG trigger parameter).</p>
<p id="functiongraph_06_0122__p13596111493212">Enumerated values:</p>
<ul id="functiongraph_06_0122__ul4596191415324"><li id="functiongraph_06_0122__li1759661410323"><strong id="functiongraph_06_0122__b0596111419327">HTTP</strong></li><li id="functiongraph_06_0122__li75976143321"><strong id="functiongraph_06_0122__b1359713148321">HTTPS</strong></li></ul>
</td>
</tr>
<tr id="functiongraph_06_0122__row885814120321"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p55976140321">req_method</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p45974146325">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p125981614153212">Request method of the API (APIG trigger parameter).</p>
<p id="functiongraph_06_0122__p7598191410324">Enumerated values:</p>
<ul id="functiongraph_06_0122__ul95981714113217"><li id="functiongraph_06_0122__li19598161403216"><strong id="functiongraph_06_0122__b115991214153217">GET</strong></li><li id="functiongraph_06_0122__li1659941423212"><strong id="functiongraph_06_0122__b16599201411325">POST</strong></li><li id="functiongraph_06_0122__li1059941419320"><strong id="functiongraph_06_0122__b759915148329">PUT</strong></li><li id="functiongraph_06_0122__li75991814143220"><strong id="functiongraph_06_0122__b16600121473212">DELETE</strong></li><li id="functiongraph_06_0122__li860081443217"><strong id="functiongraph_06_0122__b15600714153211">HEAD</strong></li><li id="functiongraph_06_0122__li1960031443216"><strong id="functiongraph_06_0122__b860071410325">PATCH</strong></li><li id="functiongraph_06_0122__li16600201415324"><strong id="functiongraph_06_0122__b18600314123218">OPTIONS</strong></li><li id="functiongraph_06_0122__li15600181414326"><strong id="functiongraph_06_0122__b160110147324">ANY</strong></li></ul>
</td>
</tr>
<tr id="functiongraph_06_0122__row16858141243219"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p1260117142329">group_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p760110148329">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p260114143321">ID of the group to which the API belongs (APIG trigger parameter).</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row385801213211"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p5601131413212">group_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p1560111463212">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p116018144320">Name of the group to which the API belongs (APIG trigger parameter).</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row16858101213213"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p9602161410321">match_mode</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p1760210145329">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p156021214193218">Matching mode of the API (APIG trigger parameter).</p>
<ul id="functiongraph_06_0122__ul9602814153217"><li id="functiongraph_06_0122__li1160211144328"><strong id="functiongraph_06_0122__b1228119303292">SWA</strong>: prefix match</li><li id="functiongraph_06_0122__li1060291414329"><strong id="functiongraph_06_0122__b19165133202916">NORMAL</strong>: exact match</li></ul>
<p id="functiongraph_06_0122__p460341413321">Enumerated values:</p>
<ul id="functiongraph_06_0122__ul1060331463215"><li id="functiongraph_06_0122__li860391410326"><strong id="functiongraph_06_0122__b1660331419325">SWA</strong></li><li id="functiongraph_06_0122__li13603714193215"><strong id="functiongraph_06_0122__b186031147323">NORMAL</strong></li></ul>
</td>
</tr>
<tr id="functiongraph_06_0122__row68585127326"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p1603121453214">env_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p11603714153219">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p106041214183213">Environment in which the API is published (APIG trigger parameter).</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row88581012113211"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p1460411142323">env_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p260441416325">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p126041814183216">ID of the environment in which the API is published (APIG trigger parameter).</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row7858412113218"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p17604181414327">api_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p11604914123217">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p660571420326">API ID (APIG trigger parameter).</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row485881217327"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p3605111453214">api_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p3605214203210">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p1260518143329">API name (APIG trigger parameter).</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row1385841213320"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p66059145328">auth</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p156056148322">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p1960515144320">API authentication mode (APIG trigger parameter).</p>
<ul id="functiongraph_06_0122__ul960661413217"><li id="functiongraph_06_0122__li5606161413215"><strong id="functiongraph_06_0122__b108998454298">IAM</strong>: IAM authentication. This mode grants access permissions to IAM users only and is of medium security.</li><li id="functiongraph_06_0122__li960618146323"><strong id="functiongraph_06_0122__b72401948112913">APP</strong>: AppKey and AppSecret authentication. This mode is of high security and is recommended.</li><li id="functiongraph_06_0122__li960610140327"><strong id="functiongraph_06_0122__b0592651112918">NONE</strong>: Authentication is not required. All users can access this API. This mode is not recommended.</li></ul>
<p id="functiongraph_06_0122__p1606614163217">Enumerated values:</p>
<ul id="functiongraph_06_0122__ul166071814143217"><li id="functiongraph_06_0122__li460714143321"><strong id="functiongraph_06_0122__b19607101423216">IAM</strong></li><li id="functiongraph_06_0122__li36071014153213"><strong id="functiongraph_06_0122__b36076149329">APP</strong></li><li id="functiongraph_06_0122__li660771414323"><strong id="functiongraph_06_0122__b126071814143214">NONE</strong></li></ul>
</td>
</tr>
<tr id="functiongraph_06_0122__row10858131219326"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p1560761418321">invoke_url</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p0607101417324">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p6608131453214">API calling address (APIG trigger parameter).</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row8858212103219"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p4608614183214">func_info</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p560812143323"><a href="#functiongraph_06_0122__response_ApigTriggerFuncInfo">ApigTriggerFuncInfo</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p3608514113213">FunctionGraph backend details (APIG trigger parameter). This parameter is mandatory for APIG triggers.</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row885810127321"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p17609914103213">sl_domain</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p760911453214">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p760912140321">Subdomain name allocated by the APIG system by default (APIG trigger parameter).</p>
<p id="functiongraph_06_0122__p8609014143216">Minimum length: <strong id="functiongraph_06_0122__b25368910109">1</strong></p>
<p id="functiongraph_06_0122__p76091714113210">Maximum length: <strong id="functiongraph_06_0122__b124961249105">255</strong></p>
</td>
</tr>
<tr id="functiongraph_06_0122__row1485981263217"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p13609121483219">backend_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p86101914193214">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p12610114163219">API backend type (APIG trigger parameter).</p>
<p id="functiongraph_06_0122__p13610514133211">Enumerated values:</p>
<ul id="functiongraph_06_0122__ul166100146328"><li id="functiongraph_06_0122__li1610201415323"><strong id="functiongraph_06_0122__b18610201403213">FUNCTION</strong></li></ul>
</td>
</tr>
<tr id="functiongraph_06_0122__row17859412123218"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p56107144329">instance_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p66111145328">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p10705610324">Instance ID. This parameter is mandatory for DDS, RocketMQ and Kafka triggers.</p>
<ul id="functiongraph_06_0122__ul1270513101223"><li id="functiongraph_06_0122__li07051510121">APIG trigger: APIG gateway ID.</li><li id="functiongraph_06_0122__li107052101524">DDS trigger: DDS instance ID.</li><li id="functiongraph_06_0122__li770571020212">Kafka trigger: Kafka instance ID.</li><li id="functiongraph_06_0122__li67055102216"><p id="functiongraph_06_0122__p4705810123"><a name="functiongraph_06_0122__li67055102216"></a><a name="li67055102216"></a>RocketMQ trigger: RocketMQ instance ID.</p>
</li></ul>
</td>
</tr>
<tr id="functiongraph_06_0122__row9859191212322"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p1461261417325">roma_app_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p16612111420322">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p2061211417329">ID of the integration application to which the API belongs (APIG trigger parameter).</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row5859121214323"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p106123149320">operations</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p0612814173210">Array of strings</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p161381410326">Custom operations (CTS trigger parameter). CTS collects operation records of subscribed cloud resources. If you create a function with a CTS trigger, collected operation records of specified cloud services will be passed as a parameter to invoke the function.</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row485961217322"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p56135143322">collection_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p126131814103211">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p176131614193212">Collection name (DDS trigger parameter).</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row1785941213324"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p18613111412327">db_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p1161312144327">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p1761471413212">Database name (DDS trigger parameter).</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row9859101273217"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p56142149321">db_password</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p15614614173213">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p3614111413219">Database password (DDS trigger parameter).</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row1685931219328"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p17614121417321">db_user</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p1461451411320">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p14614314153210">Database username (DDS trigger parameter).</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row985914125325"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p1761511141320">instance_addrs</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p96152141323">Array of strings</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p19615191463210">Database instance address (DDS trigger parameter).</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row16859171216326"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p11615814163213">mode</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p116151314193218">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p1161611410326">Database instance type (DDS trigger parameter).</p>
<ul id="functiongraph_06_0122__ul4616191410324"><li id="functiongraph_06_0122__li7616181423213">Sharding: cluster instance</li><li id="functiongraph_06_0122__li15616111473210">ReplicaSet: replica set instance</li><li id="functiongraph_06_0122__li10616714173214">Single: single node instance</li></ul>
</td>
</tr>
<tr id="functiongraph_06_0122__row88591512173219"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p6617101423214">batch_size</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p166171114113212">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p159991944649">Batch size, that is, the maximum amount of data that can be processed at a time. This parameter is mandatory for DDS, Kafka, RocketMQ, triggers.</p>
<ul id="functiongraph_06_0122__ul12999164415417"><li id="functiongraph_06_0122__li149997441445">DDS trigger: Enter a value from 1 to 10,000.</li><li id="functiongraph_06_0122__li2999544542">Kafka trigger: Enter a value from 1 to 1,000.</li><li id="functiongraph_06_0122__li59993445418">RocketMQ trigger: Enter a value from 1 to 1,000.</li></ul>
</td>
</tr>
<tr id="functiongraph_06_0122__row58591112103212"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p16618114143210">queue_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p161931418327">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p1161921423215">Queue ID (DMS trigger parameter).</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row16859112193213"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p10619914113210">consumer_group_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p106191314163217">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p8619131415320">Consumer group ID (DMS trigger parameter).</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row1485910124321"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p5619141443217">polling_interval</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p2620171483213">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p1262017141323">Pull period.</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row20860141217325"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p11626101419322">log_group_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p18626514163220">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p17626201411326">Log group ID (LTS trigger parameter).</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row3860312173218"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p12627141473213">log_topic_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p1262715145321">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p762741413219">Log stream ID (LTS trigger parameter).</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row1786014122329"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p8627101420326">bucket</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p76271814173213">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p14628714173211">Bucket name (OBS trigger parameter). The name of the OBS bucket used as the event source cannot be the same as that of an existing bucket of the current user or another user. After being created, the bucket name cannot be modified.</p>
<p id="functiongraph_06_0122__p13628181443211">Minimum length: <strong id="functiongraph_06_0122__b353639121019">1</strong></p>
<p id="functiongraph_06_0122__p3628614113215">Maximum length: <strong id="functiongraph_06_0122__b25149003212">64</strong></p>
</td>
</tr>
<tr id="functiongraph_06_0122__row18608123327"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p7628171423213">prefix</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p7629714163217">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p11629101412324">Prefix (OBS trigger parameter). Enter a prefix to limit notifications to objects whose names start with the matching characters.</p>
<p id="functiongraph_06_0122__p14629181463210">Minimum length: <strong id="functiongraph_06_0122__b61376514326">0</strong></p>
<p id="functiongraph_06_0122__p7629141416325">Maximum length: <strong id="functiongraph_06_0122__b48709821517">1024</strong></p>
</td>
</tr>
<tr id="functiongraph_06_0122__row8860111203218"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p1163001443211">suffix</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p18630214193213">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p663016145323">Suffix (OBS trigger parameter). Enter a suffix to limit notifications to objects whose names end with the matching characters.</p>
<p id="functiongraph_06_0122__p8630181453216">Minimum length: <strong id="functiongraph_06_0122__b171397105327">0</strong></p>
<p id="functiongraph_06_0122__p206302148327">Maximum length: <strong id="functiongraph_06_0122__b20870108111520">1024</strong></p>
</td>
</tr>
<tr id="functiongraph_06_0122__row16860101203215"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p1063151433217">events</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p26311814103213">Array of strings</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p763191419325">Events (OBS trigger parameter).</p>
<ul id="functiongraph_06_0122__ul156311514143212"><li id="functiongraph_06_0122__li76311014123210"><strong id="functiongraph_06_0122__b18565101473218">ObjectCreated</strong>: all kinds of object creation operations, including PUT, POST, COPY, and part assembling</li><li id="functiongraph_06_0122__li963211412322"><strong id="functiongraph_06_0122__b3721111512329">Put</strong>: object upload using PUT</li><li id="functiongraph_06_0122__li663211493210"><strong id="functiongraph_06_0122__b107621816133217">Post</strong>: object upload using POST</li><li id="functiongraph_06_0122__li263210145329"><strong id="functiongraph_06_0122__b889021793217">Copy</strong>: object copying using COPY</li><li id="functiongraph_06_0122__li963241403212"><strong id="functiongraph_06_0122__b16922192327">CompleteMultipartUpload</strong>: Assemble parts in a multipart upload.</li><li id="functiongraph_06_0122__li1863312142322"><strong id="functiongraph_06_0122__b7469182217322">ObjectRemoved</strong>: deleting objects</li><li id="functiongraph_06_0122__li763314145324"><strong id="functiongraph_06_0122__b1079192523220">Delete</strong>: object deletion with a version ID specified</li><li id="functiongraph_06_0122__li0633114173214"><strong id="functiongraph_06_0122__b154141326133219">DeleteMarkerCreated</strong>: object deletion with no version ID specified</li></ul>
</td>
</tr>
<tr id="functiongraph_06_0122__row19860161217324"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p463419145324">topic_urn</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p106347148328">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p56346140326">Topic URN (SMN trigger parameter)</p>
<p id="functiongraph_06_0122__p206343149329">Minimum length: <strong id="functiongraph_06_0122__b35379919109">1</strong></p>
<p id="functiongraph_06_0122__p1063441418325">Maximum length: <strong id="functiongraph_06_0122__b9497162401019">255</strong></p>
</td>
</tr>
<tr id="functiongraph_06_0122__row1186014129320"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p863415149326">topic_ids</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p863511443216">Array of strings</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p186355147323">The Kafka topic ID list (Kafka trigger parameter).</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row118604124329"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p66359147327">kafka_user</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p1863514142329">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p15635714143215">Kafka account name (Kafka trigger parameter).</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row1886031211328"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p4635191416320">kafka_password</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p186368143326">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p13636131419326">Kafka account password (Kafka trigger parameter).</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row88611712103220"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p1763601416328">kafka_connect_address</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p263681473215">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p196365141324">Kafka instance connection address (Kafka trigger parameter).</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row128611712203210"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p46361014133218">kafka_ssl_enable</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p166365141328">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p12637171417327">Whether to enable security authentication (Kafka trigger parameter).</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row17514304325"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p963411373289">enable_acl</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p4634173772819">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p86341037112816"><strong id="functiongraph_06_0122__b213164713141926">Explanation</strong></p>
<p id="functiongraph_06_0122__p10634337162810">Whether to enable username and password authentication (RocketMQ trigger parameter).</p>
<p id="functiongraph_06_0122__p16634173717287"><strong id="functiongraph_06_0122__b34995916842023">Value range</strong></p>
<ul id="functiongraph_06_0122__ul19634183722814"><li id="functiongraph_06_0122__li16349373284"><p id="functiongraph_06_0122__p14634123742818"><a name="functiongraph_06_0122__li16349373284"></a><a name="li16349373284"></a><strong id="functiongraph_06_0122__b2047411019333">true</strong>: yes</p>
</li></ul>
<ul id="functiongraph_06_0122__ul747419271612"><li id="functiongraph_06_0122__li847418213161"><strong id="functiongraph_06_0122__b14256132123313">false</strong>: no</li></ul>
</td>
</tr>
<tr id="functiongraph_06_0122__row2271526183214"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p363433714287">access_key</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p186341837142814">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p18634143702813"><strong id="functiongraph_06_0122__b155630642741926">Explanation</strong></p>
<p id="functiongraph_06_0122__p36341737132810">Connection username (RocketMQ trigger parameter). This parameter is mandatory when enable_acl is set to true.</p>
<p id="functiongraph_06_0122__p1963463717281"><strong id="functiongraph_06_0122__b39093505042023">Value range</strong></p>
<p id="functiongraph_06_0122__p1634103719289">None</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row2816528133217"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p17634337142819">secret_key</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p13634153772818">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p463417377285"><strong id="functiongraph_06_0122__b134348203741926">Explanation</strong></p>
<p id="functiongraph_06_0122__p16634143712811">Connection password (RocketMQ trigger parameter). This parameter is mandatory when enable_acl is set to true.</p>
<p id="functiongraph_06_0122__p2634153713282"><strong id="functiongraph_06_0122__b201630628942023">Value range</strong></p>
<p id="functiongraph_06_0122__p1863423719285">None</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="functiongraph_06_0122__response_ApigTriggerFuncInfo"></a><a name="response_ApigTriggerFuncInfo"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0122__response_ApigTriggerFuncInfo" frame="border" border="1" rules="all"><caption><b>Table 8 </b>ApigTriggerFuncInfo</caption><thead align="left"><tr id="functiongraph_06_0122__row1793261243214"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.1"><p id="functiongraph_06_0122__p13640101453211">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.2"><p id="functiongraph_06_0122__p1064061473212">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.5.2.4.1.3"><p id="functiongraph_06_0122__p12640191412325">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0122__row11932121214328"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="functiongraph_06_0122__p1664119148323">function_urn</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="functiongraph_06_0122__p4641414143213">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="functiongraph_06_0122__p864131413219">Function URN. For details, see the function model descriptions.</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row893211213213"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="functiongraph_06_0122__p1764131443211">invocation_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="functiongraph_06_0122__p18641141417329">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="functiongraph_06_0122__p176415149326">Execution mode of a function.</p>
<ul id="functiongraph_06_0122__ul1164131412324"><li id="functiongraph_06_0122__li2642314123217">sync: synchronous execution</li><li id="functiongraph_06_0122__li6642181453214">async: asynchronous execution</li></ul>
<p id="functiongraph_06_0122__p764215148326">Enumerated values:</p>
<ul id="functiongraph_06_0122__ul9642141433210"><li id="functiongraph_06_0122__li17642181415329"><strong id="functiongraph_06_0122__b4642714113211">sync</strong></li><li id="functiongraph_06_0122__li6642314143217"><strong id="functiongraph_06_0122__b1764331493217">async</strong></li></ul>
</td>
</tr>
<tr id="functiongraph_06_0122__row49321012153210"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="functiongraph_06_0122__p864391411321">timeout</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="functiongraph_06_0122__p11643151443216">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="functiongraph_06_0122__p564371493212">Timeout allowed for APIG to request the FunctionGraph service. Unit: millisecond. This parameter is mandatory for APIG triggers.</p>
<p id="functiongraph_06_0122__p1564316149327">Minimum value: <strong id="functiongraph_06_0122__b12630515143319">1</strong></p>
<p id="functiongraph_06_0122__p106434148329">Maximum value: <strong id="functiongraph_06_0122__b77525165332">60000</strong></p>
</td>
</tr>
<tr id="functiongraph_06_0122__row593221215327"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="functiongraph_06_0122__p9644201418327">version</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="functiongraph_06_0122__p564491443212">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="functiongraph_06_0122__p4644171453212">Function version information.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="functiongraph_06_0122__p16644151433213"><strong id="functiongraph_06_0122__b1797561873319">Status code: 400</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0122__response_ErrorResp" frame="border" border="1" rules="all"><caption><b>Table 9 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0122__row1393801217328"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.7.2.4.1.1"><p id="functiongraph_06_0122__p7644114113217">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.7.2.4.1.2"><p id="functiongraph_06_0122__p36451114193215">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.7.2.4.1.3"><p id="functiongraph_06_0122__p15645121463217">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0122__row1493881293217"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="functiongraph_06_0122__p12645191416324">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="functiongraph_06_0122__p36456142327">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="functiongraph_06_0122__p136454146329">Error code.</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row16938312153216"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="functiongraph_06_0122__p1264615142328">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="functiongraph_06_0122__p146467140324">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="functiongraph_06_0122__p12646114143215">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="functiongraph_06_0122__p26462148325"><strong id="functiongraph_06_0122__b151514276338">Status code: 401</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0122__table6941121211322" frame="border" border="1" rules="all"><caption><b>Table 10 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0122__row094151210324"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.9.2.4.1.1"><p id="functiongraph_06_0122__p17646514143219">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.9.2.4.1.2"><p id="functiongraph_06_0122__p19647131410320">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.9.2.4.1.3"><p id="functiongraph_06_0122__p56471914113217">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0122__row1094119127328"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0122__p764791417321">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0122__p16647191453214">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0122__p11647171423212">Error code.</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row1941201217326"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0122__p0648114183213">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0122__p1264891413214">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0122__p3648714193219">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="functiongraph_06_0122__p146487148322"><strong id="functiongraph_06_0122__b109903328335">Status code: 403</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0122__table59447124327" frame="border" border="1" rules="all"><caption><b>Table 11 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0122__row11945512193213"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.11.2.4.1.1"><p id="functiongraph_06_0122__p1964812149326">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.11.2.4.1.2"><p id="functiongraph_06_0122__p36491414133215">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.11.2.4.1.3"><p id="functiongraph_06_0122__p5649101416327">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0122__row13945111213322"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.1 "><p id="functiongraph_06_0122__p126502014163219">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.2 "><p id="functiongraph_06_0122__p965112143324">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.11.2.4.1.3 "><p id="functiongraph_06_0122__p1265141483210">Error code.</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row294521210323"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.1 "><p id="functiongraph_06_0122__p86514145328">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.2 "><p id="functiongraph_06_0122__p1365111149328">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.11.2.4.1.3 "><p id="functiongraph_06_0122__p1865114146324">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="functiongraph_06_0122__p26511614123220"><strong id="functiongraph_06_0122__b687883713310">Status code</strong>: <strong id="functiongraph_06_0122__b6878113723313">404</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0122__table1594901211328" frame="border" border="1" rules="all"><caption><b>Table 12 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0122__row9949141253214"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.13.2.4.1.1"><p id="functiongraph_06_0122__p3652151453211">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.13.2.4.1.2"><p id="functiongraph_06_0122__p56522014163211">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.13.2.4.1.3"><p id="functiongraph_06_0122__p165271423217">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0122__row19949121217328"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.13.2.4.1.1 "><p id="functiongraph_06_0122__p965251418328">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.13.2.4.1.2 "><p id="functiongraph_06_0122__p16532147322">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.13.2.4.1.3 "><p id="functiongraph_06_0122__p106531014163212">Error code.</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row14949131293214"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.13.2.4.1.1 "><p id="functiongraph_06_0122__p765391418326">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.13.2.4.1.2 "><p id="functiongraph_06_0122__p1965331413329">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.13.2.4.1.3 "><p id="functiongraph_06_0122__p365331483212">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="functiongraph_06_0122__p116531414183213"><strong id="functiongraph_06_0122__b7656174353311">Status code: 500</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0122__table595219124320" frame="border" border="1" rules="all"><caption><b>Table 13 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0122__row295231223216"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.15.2.4.1.1"><p id="functiongraph_06_0122__p365411453212">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.15.2.4.1.2"><p id="functiongraph_06_0122__p19654161493211">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.15.2.4.1.3"><p id="functiongraph_06_0122__p8654214153217">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0122__row1495241263214"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.15.2.4.1.1 "><p id="functiongraph_06_0122__p116549145324">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.15.2.4.1.2 "><p id="functiongraph_06_0122__p665441411328">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.15.2.4.1.3 "><p id="functiongraph_06_0122__p186551714173214">Error code.</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row179521712103215"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.15.2.4.1.1 "><p id="functiongraph_06_0122__p6655314133211">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.15.2.4.1.2 "><p id="functiongraph_06_0122__p06551114183216">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.15.2.4.1.3 "><p id="functiongraph_06_0122__p126558148323">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="functiongraph_06_0122__section86554149324"><h4 class="sectiontitle">Example Requests</h4><ul id="functiongraph_06_0122__ul10656161414327"><li id="functiongraph_06_0122__li86561714103220">Create an OBS trigger named obs-event-1ec7 with events of uploading files to the input-picture2 bucket.<pre class="screen" id="functiongraph_06_0122__screen1965681453219">POST https://{Endpoint}/v2/{project_id}/fgs/triggers/{function_urn}
{
"trigger_type_code" : "OBS",
"trigger_status" : "ACTIVE",
"event_data" : {
"bucket" : "input-picture2",
"events" : [ "s3:ObjectCreated:*" ],
"name" : "obs-event-1ec7"
}
}</pre>
</li><li id="functiongraph_06_0122__li1566391410328">Create a dedicated APIG trigger named API_test_function, with None authentication (temporary domain name) and 5000s timeout.<pre class="screen" id="functiongraph_06_0122__screen19663111493220">POST https://{Endpoint}/v2/{project_id}/fgs/triggers/{function_urn}
{
"trigger_type_code" : "DEDICATEDGATEWAY",
"trigger_status" : "ACTIVE",
"event_data" : {
"func_info" : {
"timeout" : 5000
},
"name" : "API_test_function",
"env_id" : "DEFAULT_ENVIRONMENT_RELEASE_ID",
"env_name" : "RELEASE",
"protocol" : "HTTPS",
"auth" : "IAM",
"group_id" : "5106210cf79e4xxxx",
"sl_domain" : "5106210cf79e4xxxx.apic.{region_id}.example.com",
"match_mode" : "SWA",
"req_method" : "ANY",
"backend_type" : "FUNCTION",
"type" : 1,
"path" : "/test_gxz_v1_billing"
}
}</pre>
</li><li id="functiongraph_06_0122__li11666214103217">Create a Kafka trigger named 86ad3efcxx to pull messages from the PUSH_TOKEN_RECORD consumer group.<pre class="screen" id="functiongraph_06_0122__screen566615147329">POST https://{Endpoint}/v2/{project_id}/fgs/triggers/{function_urn}
{
"trigger_type_code" : "KAFKA",
"trigger_status" : "DISABLED",
"event_data" : {
"instance_id" : "86ad3efc-c019-460e-91e7-317b1a89f95x",
"topic_ids" : [ "PUSH_TOKEN_RECORD" ],
"batch_size" : 100
}
}</pre>
</li><li id="functiongraph_06_0122__li266811412320">Create a timer trigger to trigger a function every 3 minutes.<pre class="screen" id="functiongraph_06_0122__screen19668181473217">POST https://{Endpoint}/v2/{project_id}/fgs/triggers/{function_urn}
{
"trigger_type_code" : "TIMER",
"trigger_status" : "ACTIVE",
"event_data" : {
"name" : "Timer-l8v2",
"schedule" : "3m",
"schedule_type" : "Rate"
}
}</pre>
</li><li id="functiongraph_06_0122__li16670914183214">Create an LTS trigger. (An agency with LTS permissions is required.)<pre class="screen" id="functiongraph_06_0122__screen2067031419323">POST https://{Endpoint}/v2/{project_id}/fgs/triggers/{function_urn}
{
"trigger_type_code" : "LTS",
"trigger_status" : "ACTIVE",
"event_data" : {
"log_group_id" : "ccd3fa30-7c86-4590-8a9d-XXX",
"log_topic_id" : "5b4944dd-9603-481d-9b91-XXX"
}
}</pre>
</li><li id="functiongraph_06_0122__li166714141324">Create an SMN trigger.<pre class="screen" id="functiongraph_06_0122__screen1367131423211">POST https://{Endpoint}/v2/{project_id}/fgs/triggers/{function_urn}
{
"trigger_type_code" : "SMN",
"trigger_status" : "ACTIVE",
"event_data" : {
"topic_urn" : "urn:smn:{region}:{project_id}:Failed_times"
}
}</pre>
</li></ul>
</div>
<div class="section" id="functiongraph_06_0122__section1367381473214"><h4 class="sectiontitle">Example Responses</h4><p id="functiongraph_06_0122__p06731114183215"><strong id="functiongraph_06_0122__b1288925293419">Status code: 201</strong></p>
<p id="functiongraph_06_0122__p067361415321">Created</p>
<pre class="screen" id="functiongraph_06_0122__screen3674314123216">{
"trigger_id" : "9a14fae1-78cf-4185-ac7a-429eb6dc41fb",
"trigger_type_code" : "TIMER",
"trigger_status" : "ACTIVE",
"event_data" : {
"name" : "Timer-cpg3",
"schedule" : "3m",
"schedule_type" : "Rate"
},
"last_updated_time" : "2022-11-09 16:37:24",
"created_time" : "2022-11-09 16:37:24"
}</pre>
</div>
<div class="section" id="functiongraph_06_0122__section267651473216"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0122__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="functiongraph_06_0122__row19981012103216"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="functiongraph_06_0122__p167620147329">Status Code</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="functiongraph_06_0122__p36761714123214">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0122__row10981151213211"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0122__p3676314133218">201</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0122__p3677151453211">Created</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row5981912113210"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0122__p19677181453218">400</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0122__p5677114103210">Bad request.</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row1098115124329"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0122__p867751417321">401</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0122__p86771914103215">Unauthorized.</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row10981612113220"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0122__p26773147326">403</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0122__p116781144325">Forbidden.</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row18981512193214"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0122__p267851417327">404</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0122__p1167881473213">Not found.</p>
</td>
</tr>
<tr id="functiongraph_06_0122__row99813126321"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0122__p76786146324">500</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0122__p196781814183219">Internal server error.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="functiongraph_06_0122__section3679814183219"><h4 class="sectiontitle">Error Codes</h4><p id="functiongraph_06_0122__p156791914203214">See <a href="ErrorCode.html">Error Codes</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="FunctionTriggers.html">Function Triggers</a></div>
</div>
</div>