forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Chen, Junjie <chenjunjie@huawei.com> Co-committed-by: Chen, Junjie <chenjunjie@huawei.com>
1537 lines
129 KiB
HTML
1537 lines
129 KiB
HTML
<a name="functiongraph_06_0122"></a><a name="functiongraph_06_0122"></a>
|
|
|
|
<h1 class="topictitle1">Creating a Trigger</h1>
|
|
<div id="body1228113568445"><div class="section" id="functiongraph_06_0122__section628113561444"><h4 class="sectiontitle">Function</h4><p id="functiongraph_06_0122__p17282125615449">This API is used to create a trigger.</p>
|
|
<ul id="functiongraph_06_0122__ul428216561445"><li id="functiongraph_06_0122__li10283195644412">Trigger types include timer, APIG, CTS, DDS, DMS, DIS, LTS, OBS, SMN, and Kafka. </li><li id="functiongraph_06_0122__li20283125694419">By default, DDS and Kafka triggers are in the DISABLED state, and other triggers are in the ACTIVE state.</li><li id="functiongraph_06_0122__li2284155620445">Only timer, DDS, DMS, Kafka, and LTS triggers can be disabled.</li></ul>
|
|
</div>
|
|
<div class="section" id="functiongraph_06_0122__section10290256144419"><h4 class="sectiontitle">URI</h4><p id="functiongraph_06_0122__p162908561442">POST /v2/{project_id}/fgs/triggers/{function_urn}</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0122__table82921561442" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="functiongraph_06_0122__row729165611448"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="functiongraph_06_0122__p82931156144413">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__p1029919569445">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__p1129975664418">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__p329995634412">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="functiongraph_06_0122__row102917569447"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="functiongraph_06_0122__p23001456174418">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__p2300115619446">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="functiongraph_06_0122__p9301756204418">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="functiongraph_06_0122__p83011656174410">Project ID. For details, see <a href="functiongraph_06_0260.html">Obtaining a Project ID</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row11291756144418"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="functiongraph_06_0122__p13301115684419">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__p173021456134416">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="functiongraph_06_0122__p13021756104419">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="functiongraph_06_0122__p1430816566442">Function URN. For details, see the function model description.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="functiongraph_06_0122__section113087567446"><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__row1312145654415"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="functiongraph_06_0122__p831313564442">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__p8313556184412">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="functiongraph_06_0122__p93191569445">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="functiongraph_06_0122__p15319756154418">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="functiongraph_06_0122__row14312175614418"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="functiongraph_06_0122__p16320175604411">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__p6320356104419">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="functiongraph_06_0122__p332055616443">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="functiongraph_06_0122__p53217561442">User token.</p>
|
|
<p id="functiongraph_06_0122__p7321256164410">It can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row6312165604415"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="functiongraph_06_0122__p93211056184415">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__p3322195618440">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="functiongraph_06_0122__p43221756154419">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="functiongraph_06_0122__p1532265612449">Message body type (format).</p>
|
|
<p id="functiongraph_06_0122__p63236568444">Default: <strong id="functiongraph_06_0122__b123281356134416">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__row632945604419"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="functiongraph_06_0122__p33311956174411">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="functiongraph_06_0122__p1633615617448">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="functiongraph_06_0122__p15337856104416">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__p33371956144410">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="functiongraph_06_0122__row1332915614412"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0122__p15338195654410">trigger_type_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0122__p233835612445">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0122__p13339125618447">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0122__p633914563449">Trigger type. </p>
|
|
<ul id="functiongraph_06_0122__ul11340175694417"><li id="functiongraph_06_0122__li8340175654415">TIMER</li><li id="functiongraph_06_0122__li17340145604414">APIG</li><li id="functiongraph_06_0122__li13340756134420">CTS: Enable CTS first.</li><li id="functiongraph_06_0122__li153411856104412">DDS: Configure a VPC for the function first.</li><li id="functiongraph_06_0122__li1534745617442">DMS: Configure a DMS agency first.</li><li id="functiongraph_06_0122__li10347556174418">DIS: Configure a DIS agency first.</li><li id="functiongraph_06_0122__li19348956134419">LTS: Configure an LTS agency first.</li><li id="functiongraph_06_0122__li14349125613448">OBS</li><li id="functiongraph_06_0122__li623095620481">SMN</li><li id="functiongraph_06_0122__li834905624415">KAFKA</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row173305563444"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0122__p143671156124413">trigger_status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0122__p43684564441">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0122__p836875604416">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0122__p5368105614447">Trigger status. Options: ACTIVE and DISABLED.</p>
|
|
<p id="functiongraph_06_0122__p836911565449">Enumeration values:</p>
|
|
<ul id="functiongraph_06_0122__ul163693561449"><li id="functiongraph_06_0122__li17369856104410"><strong id="functiongraph_06_0122__b336935617448">ACTIVE</strong></li><li id="functiongraph_06_0122__li33691956114418"><strong id="functiongraph_06_0122__b13370115634416">DISABLED</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row17330456164410"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0122__p1937520561441">event_type_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0122__p837875611449">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0122__p1137895619444">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0122__p173794563445">Message code.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row4330356154419"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0122__p7379105634412">event_data</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0122__p837975684416">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0122__p1538012565449"><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__p123801056134410">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__row339845664414"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.1"><p id="functiongraph_06_0122__p74304569443">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__p64312562449">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__p154315567447">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__p8431135619447">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="functiongraph_06_0122__row339917562441"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p443218562446">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p1743265624419">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p11432155664413">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p15433205624418">Timer trigger: trigger name</p>
|
|
<ul id="functiongraph_06_0122__ul6433956144411"><li id="functiongraph_06_0122__li743815618441">APIG trigger: API name</li><li id="functiongraph_06_0122__li64391656164410">CTS trigger: Notification name</li><li id="functiongraph_06_0122__li174391756164419">OBS trigger: Event Notification name. The default value is The trigger ID.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row15399756164418"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p044025613443">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__p18440135654415">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p164411056144420">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p8441256164420">Timer trigger type (timer trigger parameter). This parameter is mandatory for timer triggers.</p>
|
|
<ul id="functiongraph_06_0122__ul7441356124410"><li id="functiongraph_06_0122__li104419564443">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__li17442185654418">Cron: specifies a Cron expression to periodically invoke a function.</li></ul>
|
|
<p id="functiongraph_06_0122__p24421756174411">Enumeration values:</p>
|
|
<ul id="functiongraph_06_0122__ul644212569441"><li id="functiongraph_06_0122__li944255604414"><strong id="functiongraph_06_0122__b144481256104420">Rate</strong></li><li id="functiongraph_06_0122__li154481856124419"><strong id="functiongraph_06_0122__b1844845664413">Cron</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row43991456184414"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p744895644412">schedule</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p044911566441">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p14449135674419">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p3450185617441">Triggering rule. (timer trigger parameter). This parameter is mandatory for timer triggers.</p>
|
|
<ul id="functiongraph_06_0122__ul5450115619449"><li id="functiongraph_06_0122__li144504567444">When the trigger type is Rate, the scheduled rule is used. When the trigger type is Cron, the Cron expression is used.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row839910563440"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p9451175674419">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__p1451456174411">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p17451175654413">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p445215613442">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__row9399556154414"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p2458185617448">type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p94587564444">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p4458105619441">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p64591856164416">API visibility(APIG trigger parameter). This parameter is mandatory for APIG triggers.</p>
|
|
<ul id="functiongraph_06_0122__ul14459195654412"><li id="functiongraph_06_0122__li184591056104413">1: public</li><li id="functiongraph_06_0122__li5459175614449">2: private</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row339916566446"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p646015614448">path</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p94601656164414">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p144611656174415">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p946115564443">Path of the API (APIG trigger parameter). This parameter is mandatory for APIG triggers.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row103991856164417"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p1146735613445">protocol</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p546775694411">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p10467185664410">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p1746815565447">Request protocol of the API (APIG trigger parameter). This parameter is mandatory for APIG triggers.</p>
|
|
<p id="functiongraph_06_0122__p11468175611441">Enumeration values:</p>
|
|
<ul id="functiongraph_06_0122__ul1468135614410"><li id="functiongraph_06_0122__li15468185624412"><strong id="functiongraph_06_0122__b1546985644419">HTTP</strong></li><li id="functiongraph_06_0122__li11469175614440"><strong id="functiongraph_06_0122__b14469155614449">HTTPS</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row339935617445"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p18469155617444">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__p11470115664420">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p1147045618445">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p18475856134417">Request method of the API (APIG trigger parameter). This parameter is mandatory for APIG triggers.</p>
|
|
<p id="functiongraph_06_0122__p34769567443">Enumeration values:</p>
|
|
<ul id="functiongraph_06_0122__ul3476125664418"><li id="functiongraph_06_0122__li8476175684413"><strong id="functiongraph_06_0122__b194765567446">GET</strong></li><li id="functiongraph_06_0122__li174761856134415"><strong id="functiongraph_06_0122__b4477056164410">POST</strong></li><li id="functiongraph_06_0122__li1547765644419"><strong id="functiongraph_06_0122__b20477156154419">PUT</strong></li><li id="functiongraph_06_0122__li8477175644410"><strong id="functiongraph_06_0122__b18477165674412">DELETE</strong></li><li id="functiongraph_06_0122__li847717565449"><strong id="functiongraph_06_0122__b1547815565444">HEAD</strong></li><li id="functiongraph_06_0122__li9478105634420"><strong id="functiongraph_06_0122__b13478456104418">PATCH</strong></li><li id="functiongraph_06_0122__li1047825674417"><strong id="functiongraph_06_0122__b164781456154418">OPTIONS</strong></li><li id="functiongraph_06_0122__li164781856184418"><strong id="functiongraph_06_0122__b1747914569446">ANY</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row140095634416"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p24848566445">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__p04841756204415">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p2485105618448">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p1648615615441">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__row140035615444"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p20486756154414">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__p948695614449">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p5487165614411">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p10487175617445">Name of the API group to which the API belongs.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row940045611443"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p114901956144419">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__p1649017563443">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p174908565448">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p44964563449">Matching mode of the API (APIG trigger parameter). This parameter is mandatory for APIG triggers.</p>
|
|
<ul id="functiongraph_06_0122__ul9496145674410"><li id="functiongraph_06_0122__li134962056114415">SWA: prefix match</li><li id="functiongraph_06_0122__li1249775674420">NORMAL: normal match (absolute match)</li></ul>
|
|
<p id="functiongraph_06_0122__p44978568448">Enumeration values:</p>
|
|
<ul id="functiongraph_06_0122__ul18497145614413"><li id="functiongraph_06_0122__li549785624416"><strong id="functiongraph_06_0122__b194981564445">SWA</strong></li><li id="functiongraph_06_0122__li174982566442"><strong id="functiongraph_06_0122__b749815644417">NORMAL</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row5406115612446"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p7498185617444">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__p249845612447">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p15499115616447">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p34991756114412">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__row14406356144418"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p350512562445">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__p95051156114414">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p10506105611448">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p1506256184420">ID of the environment in which the API has been published (APIG trigger parameter) This parameter is mandatory for APIG triggers.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row640615616447"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p250619568445">auth</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p1950725619441">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p195071156154414">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p14508456104417">Security authentication (APIG trigger parameter). This parameter is mandatory for APIG triggers.</p>
|
|
<ul id="functiongraph_06_0122__ul1508145694418"><li id="functiongraph_06_0122__li8508185612442">IAM: IAM authentication. Only IAM users are allowed to access the system. The security level is medium.</li><li id="functiongraph_06_0122__li10508656154414">APP: Appkey&Appsecret authentication is used. The security level is high. This authentication mode is recommended.</li><li id="functiongraph_06_0122__li15509105614414">NONE: No authentication mode is used. All users can access the system. This mode is not recommended.</li></ul>
|
|
<p id="functiongraph_06_0122__p1351455615447">Enumeration values:</p>
|
|
<ul id="functiongraph_06_0122__ul15515195612441"><li id="functiongraph_06_0122__li185152566448"><strong id="functiongraph_06_0122__b12515165615440">IAM</strong></li><li id="functiongraph_06_0122__li551505624418"><strong id="functiongraph_06_0122__b1551516567442">APP</strong></li><li id="functiongraph_06_0122__li1751510565444"><strong id="functiongraph_06_0122__b1851613568440">NONE</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row1740755611441"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p155169568445">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__p75171566447">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p15179567444"><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__p15518556114410">FunctionGraph backend details (APIG trigger parameter). This parameter is mandatory for APIG triggers.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row124072565442"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p195181556144413">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__p18518185610442">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p3524756154420">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p1652475612442">Subdomain name allocated by the APIG system by default (APIG trigger parameter).</p>
|
|
<p id="functiongraph_06_0122__p19525135615444">Minimum: <strong id="functiongraph_06_0122__b4525156124414">1</strong></p>
|
|
<p id="functiongraph_06_0122__p5525956114415">Maximum: <strong id="functiongraph_06_0122__b20526135634414">255</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row12407195624416"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p144443583444">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__p844435894410">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p1044418586443">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p24443585444">Backend type of the API (APIG trigger parameter).</p>
|
|
<p id="functiongraph_06_0122__p6444155811441">Enumeration values:</p>
|
|
<ul id="functiongraph_06_0122__ul3444358124410"><li id="functiongraph_06_0122__li1944415820441"><strong id="functiongraph_06_0122__b8445458134413">FUNCTION</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row04076564443"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p114451158114418">operations</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p1244515585444">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p15445155810447">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__p844513588442">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__row640716567443"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p9445155804414">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__p344516589444">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p1044525884418">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p104451158114412">Instance ID. This parameter is mandatory for DDS, Kafka, and RabbitMQ triggers.</p>
|
|
<ul id="functiongraph_06_0122__ul20445758134414"><li id="functiongraph_06_0122__li244525844415">APIG trigger: APIG gateway ID</li><li id="functiongraph_06_0122__li94451658194420">DDS trigger: DB instance ID.</li><li id="functiongraph_06_0122__li6445185804420">Kafka trigger: Kafka instance ID</li><li id="functiongraph_06_0122__li1944565834415">RabbitMQ trigger: RabbitMQ instance ID</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row740715563449"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p1445165814442">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__p16446195810441">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p1544615582446">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p7446558114417">Collection name (DDS trigger parameter). This parameter is mandatory for DDS triggers.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row164081556204419"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p1844635864420">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__p19446758114415">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p84461587449">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p544665814446">Database name (DDS trigger parameter). This parameter is mandatory for DDS triggers.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row0408356104415"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p04461558164414">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__p184467586447">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p154464588447">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p164471258154414">DDS database password (DDS trigger parameter). This parameter is mandatory for DDS triggers.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row144081856164411"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p6447858194413">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__p19447135864410">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p2044705824419">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p17447358154410">Batch size: Maximum number of data records that can be processed by the function at a time. This parameter is mandatory for DIS, DDS, Kafka, and RabbitMQ triggers.</p>
|
|
<ul id="functiongraph_06_0122__ul34471582441"><li id="functiongraph_06_0122__li184471658104414">DDS trigger: Set the batch size to a value ranging from 1 to 10,000.</li><li id="functiongraph_06_0122__li184478583444">DIS trigger: Set the batch size to a value ranging from 1 to 10,000.</li><li id="functiongraph_06_0122__li1244712588441">Kafka trigger: Set the batch size to a value ranging from 1 to 1,000.</li><li id="functiongraph_06_0122__li1244725824413">RabbitMQ trigger: Set the batch size to a value ranging from 1 to 1,000.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row64131156154410"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p144705812441">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__p9447185854419">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p1444775817448">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p15447258154417">Queue ID (DMS trigger parameter). This parameter is mandatory for DMS triggers.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row04134566444"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p4448135817445">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__p17448658154417">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p18448058114413">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p7448175818445">Consumer group ID (DMS trigger parameter). This parameter is mandatory for DMS triggers.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row44131456184413"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p20448758194413">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__p1844825824410">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p15448758144417">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p944816588443">Pull period. This parameter is mandatory for DIS and DMS triggers.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row141385620442"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p144818589443">stream_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p15448195817445">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p5448185811443">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p134481958124414">Stream name (DIS trigger parameter). This parameter is mandatory for DIS triggers.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row1941405694415"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p444815844418">sharditerator_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p644818583444">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p444825884416">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p1448858104410">Starting position (DIS trigger parameter). This parameter is mandatory for DIS triggers.</p>
|
|
<ul id="functiongraph_06_0122__ul19448135814444"><li id="functiongraph_06_0122__li844815811446">TRIM_HORIZON: Data is read from the earliest valid record stored in the partition.</li><li id="functiongraph_06_0122__li13449058184417">LATEST: Data is read from the latest record in the partition. This option ensures that the most recent data in the partition is read.</li></ul>
|
|
<p id="functiongraph_06_0122__p4449758104416">Enumeration values:</p>
|
|
<ul id="functiongraph_06_0122__ul54496582445"><li id="functiongraph_06_0122__li11449358144411"><strong id="functiongraph_06_0122__b3449458154415">TRIM_HORIZON</strong></li><li id="functiongraph_06_0122__li14449105804410"><strong id="functiongraph_06_0122__b5449658164411">LATEST</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row741412560447"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p04490584444">polling_unit</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p0449165854410">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p13449958154412">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p244975874418">Pull period unit (DIS trigger parameter). This parameter is mandatory for DIS triggers.</p>
|
|
<ul id="functiongraph_06_0122__ul194491058104418"><li id="functiongraph_06_0122__li1449185819443">s: second</li><li id="functiongraph_06_0122__li74492058124410">ms: millisecond</li></ul>
|
|
<p id="functiongraph_06_0122__p15449175834412">Enumeration values:</p>
|
|
<ul id="functiongraph_06_0122__ul144499588447"><li id="functiongraph_06_0122__li0449158154418"><strong id="functiongraph_06_0122__b1545010586442">s</strong></li><li id="functiongraph_06_0122__li14505589442"><strong id="functiongraph_06_0122__b3450165824412">ms</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row1841465674418"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p134506584447">max_fetch_bytes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p194501458114413">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p1745011583443">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p1245012586447">Max. fetch bytes (DIS trigger parameter).</p>
|
|
<p id="functiongraph_06_0122__p94501858144410">Minimum: <strong id="functiongraph_06_0122__b3450145818443">0</strong></p>
|
|
<p id="functiongraph_06_0122__p3450115884415">Maximum: <strong id="functiongraph_06_0122__b9450145819441">4194304</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row541485618443"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p1745013581446">is_serial</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p12450185812443">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p19450058174419">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p8450145854416">Serial data processing (DIS trigger parameter). If enabled, FunctionGraph pulls data from the stream only after previous data is processed. If disabled, FunctionGraph pulls data from the stream as long as the pull period ends. This parameter is mandatory for DIS triggers.</p>
|
|
<p id="functiongraph_06_0122__p6450558174417">Enumeration values:</p>
|
|
<ul id="functiongraph_06_0122__ul445085854412"><li id="functiongraph_06_0122__li845045813441"><strong id="functiongraph_06_0122__b5451205814440">true</strong></li><li id="functiongraph_06_0122__li1545117587446"><strong id="functiongraph_06_0122__b154512584443">false</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row24140562441"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p4451175811441">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__p0451158174417">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p16451958174410">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p1645185864416">Log group ID (LTS trigger parameter). This parameter is mandatory for LTS triggers.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row1441495614446"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p11451165815442">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__p84512583442">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p184513584448">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p44511858164418">Log stream ID (LTS trigger parameter). This parameter is mandatory for LTS triggers.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row741412561447"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p7451135814446">bucket</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p1451258164418">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p745113582447">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p1045119586443">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__p18451158194412">Minimum: <strong id="functiongraph_06_0122__b104511558174417">1</strong></p>
|
|
<p id="functiongraph_06_0122__p54511558104415">Maximum: <strong id="functiongraph_06_0122__b3452145854416">64</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row6414756204414"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p15452658134410">prefix</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p8452195819445">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p1745218583444">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p14452458144413">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__p64521558174415">Minimum: <strong id="functiongraph_06_0122__b17452658174410">0</strong></p>
|
|
<p id="functiongraph_06_0122__p1445265820448">Maximum: <strong id="functiongraph_06_0122__b1045295812441">1024</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row2041413567444"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p1445213585443">suffix</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p174521558144415">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p12452658174412">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p1345285819442">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__p0452195894418">Minimum: <strong id="functiongraph_06_0122__b345265884412">0</strong></p>
|
|
<p id="functiongraph_06_0122__p15452195864415">Maximum: <strong id="functiongraph_06_0122__b845218582449">1024</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row1842045604414"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p1545214588446">events</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p2452195844414">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p194522581445">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__p1453158174416">Trigger event (OBS trigger parameter). This parameter is mandatory for OBS triggers.</p>
|
|
<ul id="functiongraph_06_0122__ul13453558124410"><li id="functiongraph_06_0122__li345305864410">ObjectCreated: all object creation operations, including PUT, POST, COPY, and part assembling</li><li id="functiongraph_06_0122__li17453175884418">Put: Uploads an object using Put.</li><li id="functiongraph_06_0122__li445315816448">Post: Uploads an object using POST</li><li id="functiongraph_06_0122__li7453175894411">Copy: Copies an object using COPY.</li><li id="functiongraph_06_0122__li145319585445">CompleteMultipartUpload: Merges parts of a multipart upload.</li><li id="functiongraph_06_0122__li16453458194419">ObjectRemoved: Deletes an object.</li><li id="functiongraph_06_0122__li5453175812443">Delete: Deletes an object by specifying its version ID. - DeleteMarkerCreated: Deletes an object without specifying its version ID.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row1342017560447"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p445395834416">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__p174531358174416">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p1645365844412">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p04532582444">Topic URN (SMN trigger parameter) This parameter is mandatory for SMN triggers.</p>
|
|
<p id="functiongraph_06_0122__p12453958174416">Minimum: <strong id="functiongraph_06_0122__b645385844413">1</strong></p>
|
|
<p id="functiongraph_06_0122__p145416586445">Maximum: <strong id="functiongraph_06_0122__b24541058134415">255</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row1842095618440"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p1845414584444">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__p2454258184411">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p1454175816442">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__p3454758134418">The Kafka topic ID list (Kafka trigger parameter). This parameter is mandatory for Kafka triggers.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row142014567446"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p17454175814413">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__p144542588444">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p2045414582446">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p645485812442">Kafka account name (Kafka trigger parameter).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row14421756104412"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p184541658114414">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__p144541358204417">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p1845495816443">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p5454125804413">Kafka password (Kafka trigger parameter).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row94211656194411"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p845405819446">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__p94541858174411">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p7454258104417">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p1345435824410">Kafka instance connection address (Kafka trigger parameter).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row1442185674417"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p74543581447">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__p18455958184410">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p134552586445">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p1545511588447">Whether to enable SASL authentication(Kafka trigger parameter).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row16421115610441"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p1945510585443">access_password</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p154554585445">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p19455205874417">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p145565894410">RabbitMQ account password (RabbitMQ trigger parameter). This parameter is mandatory for RabbitMQ triggers.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row184212056184415"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p2045514589449">access_user</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p6455558204417">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p945512587441">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p15455858204420">RabbitMQ username (RabbitMQ trigger parameter).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row04213564446"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p18455658204419">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__p12455195834418">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p1645505884410">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p1045595815441">Instance IP address (RabbitMQ trigger parameter).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row1242411565449"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p445513588449">exchange_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p1345535874417">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p14455105810441">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p13456155804420">Switch name (RabbitMQ trigger parameter). This parameter is mandatory for RabbitMQ triggers.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row11424155644417"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p174561584443">vhost</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0122__p16456195817444">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p13456458134418">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p1245613589444">Virtual host (RabbitMQ trigger parameter).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row1742945674410"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0122__p2456155874410">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__p174561858194419">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0122__p1545635884418">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0122__p64564587442">Whether to enable SSL (RabbitMQ trigger parameter).</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__row86471656134420"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.5.2.5.1.1"><p id="functiongraph_06_0122__p1045620584448">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__p16457125818445">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__p17457185813440">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__p14571858124415">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="functiongraph_06_0122__row1564795644417"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="functiongraph_06_0122__p2457185819445">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__p745775817445">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="functiongraph_06_0122__p8457125804410">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="functiongraph_06_0122__p54571581447">Function URN. For details, see the function model descriptions.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row56471956154412"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="functiongraph_06_0122__p124577582440">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__p245785815447">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="functiongraph_06_0122__p845755834418">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="functiongraph_06_0122__p1345715814414">Execution mode of a function.</p>
|
|
<ul id="functiongraph_06_0122__ul1445745854417"><li id="functiongraph_06_0122__li345735811445">sync: synchronous execution</li><li id="functiongraph_06_0122__li145725814415">async: asynchronous execution</li></ul>
|
|
<p id="functiongraph_06_0122__p104574584447">Enumeration values:</p>
|
|
<ul id="functiongraph_06_0122__ul1445705804414"><li id="functiongraph_06_0122__li1457185817447"><strong id="functiongraph_06_0122__b174581658184416">sync</strong></li><li id="functiongraph_06_0122__li4458135864414"><strong id="functiongraph_06_0122__b1045895894420">async</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row3647145619444"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="functiongraph_06_0122__p545818581442">timeout</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="functiongraph_06_0122__p045814582447">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="functiongraph_06_0122__p0458758194415">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="functiongraph_06_0122__p5458125818443">Timeout allowed for APIG to request the FunctionGraph service. The unit is in millisecond. This parameter is mandatory for APIG triggers.</p>
|
|
<p id="functiongraph_06_0122__p1845885818447">Minimum: <strong id="functiongraph_06_0122__b184581158154414">1</strong></p>
|
|
<p id="functiongraph_06_0122__p4458958104417">Maximum: <strong id="functiongraph_06_0122__b045818588444">60000</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row464715615441"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="functiongraph_06_0122__p345875824412">version</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="functiongraph_06_0122__p10458258204412">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="functiongraph_06_0122__p145818588449">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="functiongraph_06_0122__p94581158154412">Function version information.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="functiongraph_06_0122__section1145855844410"><h4 class="sectiontitle">Response Parameters</h4><p id="functiongraph_06_0122__p1458145854419"><strong id="functiongraph_06_0122__b4459458164411">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__row1567335615447"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="functiongraph_06_0122__p13459125824413">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__p154591558104416">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__p154596586449">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="functiongraph_06_0122__row15673185654419"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0122__p1145925834415">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__p345965812445">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0122__p114591758134416">Trigger ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row967315612445"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0122__p945913586443">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__p12459195810447">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0122__p124591058114416">Trigger type.</p>
|
|
<ul id="functiongraph_06_0122__ul14459858184415"><li id="functiongraph_06_0122__li9459165804414">TIMER</li><li id="functiongraph_06_0122__li345985811446">APIG</li><li id="functiongraph_06_0122__li9460658114411">CTS</li><li id="functiongraph_06_0122__li446095884415">DDS</li><li id="functiongraph_06_0122__li16460658194415">DMS</li><li id="functiongraph_06_0122__li946055834413">DIS</li><li id="functiongraph_06_0122__li1446045874417">LTS</li><li id="functiongraph_06_0122__li1146075894413">OBS</li><li id="functiongraph_06_0122__li3460165820440">SMN</li><li id="functiongraph_06_0122__li346015581446">KAFKA</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row1673185618441"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0122__p6463175816442">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__p1346325824419">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0122__p446365818447">Trigger status.</p>
|
|
<ul id="functiongraph_06_0122__ul546385813441"><li id="functiongraph_06_0122__li2464165824413">ACTIVE: The trigger is enabled.</li><li id="functiongraph_06_0122__li6464135817440">DISABLED: The trigger is disabled.</li></ul>
|
|
<p id="functiongraph_06_0122__p646414588443">Enumeration values:</p>
|
|
<ul id="functiongraph_06_0122__ul184641458114416"><li id="functiongraph_06_0122__li1146435854413"><strong id="functiongraph_06_0122__b1646412587442">ACTIVE</strong></li><li id="functiongraph_06_0122__li046495812444"><strong id="functiongraph_06_0122__b174643583446">DISABLED</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row2067319562448"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0122__p104641958194419">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__p194641358104415"><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__p164646586441">Trigger source event.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row9674125615443"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0122__p16464175819447">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__p9464558174415">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0122__p146495864419">Latest update time.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row20676185664419"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0122__p15464205854416">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__p1846515587440">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0122__p046517580444">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__row2072395614415"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.1"><p id="functiongraph_06_0122__p7466125818448">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__p12466858164411">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__p1646616587444">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="functiongraph_06_0122__row87241956204415"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p18466125814415">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p17466105834417">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p144661558204415">Trigger name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row1072435610446"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p0466105818445">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__p13466115817447">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p15466058124416">Timer trigger type (timer trigger parameter).</p>
|
|
<ul id="functiongraph_06_0122__ul11466185884419"><li id="functiongraph_06_0122__li1046675819449">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__li154669582448">Cron: specifies a Cron expression to periodically invoke a function.</li></ul>
|
|
<p id="functiongraph_06_0122__p44661558134414">Enumeration values:</p>
|
|
<ul id="functiongraph_06_0122__ul10466195814444"><li id="functiongraph_06_0122__li144661589443"><strong id="functiongraph_06_0122__b18467858164417">Rate</strong></li><li id="functiongraph_06_0122__li5467115844418"><strong id="functiongraph_06_0122__b15467155811442">Cron</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row172465615445"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p19467758124416">schedule</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p5467658134416">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p64671758134417">Triggering rule. (timer trigger parameter).</p>
|
|
<ul id="functiongraph_06_0122__ul184674587442"><li id="functiongraph_06_0122__li144676589441">When the trigger type is Rate, the scheduled rule is used. When the trigger type is Cron, the Cron expression is used.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row8724105614410"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p446765894411">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__p1446765884414">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p446712588442">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__row27247565444"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p846775813443">triggerid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p5467958194417">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p346735864415">APIG trigger ID (APIG trigger parameter).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row4724195684411"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p11467258114411">type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p94671258184411">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p13467175816443">The API type (APIG trigger parameter).</p>
|
|
<ul id="functiongraph_06_0122__ul1468175864411"><li id="functiongraph_06_0122__li1046845816446">1: public</li><li id="functiongraph_06_0122__li946825814447">2: private</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row1972416566446"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p194681458184416">path</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p7468105818448">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p13468858184411">Path of the API (APIG trigger parameter).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row872495618449"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p10468155884413">protocol</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p144681958154418">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p17468135844416">Request protocol of the API (APIG trigger parameter).</p>
|
|
<p id="functiongraph_06_0122__p94681358144411">Enumeration values:</p>
|
|
<ul id="functiongraph_06_0122__ul1046814582444"><li id="functiongraph_06_0122__li1846835812447"><strong id="functiongraph_06_0122__b12468958184416">HTTP</strong></li><li id="functiongraph_06_0122__li14681358204411"><strong id="functiongraph_06_0122__b19468155813443">HTTPS</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row197251356114414"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p3468165834417">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__p17469145844418">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p174699580443">Request mode of the API (APIG trigger parameter).</p>
|
|
<p id="functiongraph_06_0122__p14699586442">Enumeration values:</p>
|
|
<ul id="functiongraph_06_0122__ul10469185824418"><li id="functiongraph_06_0122__li16469458114414"><strong id="functiongraph_06_0122__b1946912587449">GET</strong></li><li id="functiongraph_06_0122__li1446915583441"><strong id="functiongraph_06_0122__b44699587448">POST</strong></li><li id="functiongraph_06_0122__li1646995834413"><strong id="functiongraph_06_0122__b9469658154419">PUT</strong></li><li id="functiongraph_06_0122__li646916583444"><strong id="functiongraph_06_0122__b19469115820441">DELETE</strong></li><li id="functiongraph_06_0122__li18469135894416"><strong id="functiongraph_06_0122__b3469458144418">HEAD</strong></li><li id="functiongraph_06_0122__li746925817448"><strong id="functiongraph_06_0122__b164691585442">PATCH</strong></li><li id="functiongraph_06_0122__li046965818448"><strong id="functiongraph_06_0122__b1447075819444">OPTIONS</strong></li><li id="functiongraph_06_0122__li204701058164411"><strong id="functiongraph_06_0122__b64701258154413">ANY</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row18725185619445"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p847085834417">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__p3470115834419">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p10470458194412">ID of the group to which the API belongs (APIG trigger parameter).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row12725205684410"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p1847015818444">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__p3470145834418">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p347005874417">Name of the group to which the API belongs (APIG trigger parameter).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row1573005612446"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p1147095834414">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__p13470125811446">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p17470205816448">Matching mode of the API (APIG trigger parameter).</p>
|
|
<ul id="functiongraph_06_0122__ul1147015834413"><li id="functiongraph_06_0122__li34701058174419">SWA: prefix match</li><li id="functiongraph_06_0122__li1347015816443">NORMAL: normal match (absolute match)</li></ul>
|
|
<p id="functiongraph_06_0122__p3470165816441">Enumeration values:</p>
|
|
<ul id="functiongraph_06_0122__ul14701958114417"><li id="functiongraph_06_0122__li18470205864412"><strong id="functiongraph_06_0122__b2470195814446">SWA</strong></li><li id="functiongraph_06_0122__li124715589441"><strong id="functiongraph_06_0122__b747155864418">NORMAL</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row2073095664416"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p14471105864411">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__p13471158114419">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p4471175810440">Environment in which the API is published (APIG trigger parameter).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row1730175654416"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p1747111581444">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__p144716585445">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p347115587443">ID of the environment in which the API has been published (APIG trigger parameter).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row97301756124415"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p247165811441">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__p847105816443">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p7471558164413">API ID (APIG trigger parameter).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row18730115694419"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p16471658144414">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__p8471185814410">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p2471158134412">API name (APIG trigger parameter).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row1273105674412"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p64717583447">auth</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p184711858114412">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p18471155812445">Security authentication (APIG trigger parameter).</p>
|
|
<ul id="functiongraph_06_0122__ul2047117580444"><li id="functiongraph_06_0122__li247135818441">IAM: IAM authentication. Only IAM users are allowed to access the system. The security level is medium.</li><li id="functiongraph_06_0122__li84721958104414">APP: Appkey&Appsecret authentication is used. The security level is high. This authentication mode is recommended.</li><li id="functiongraph_06_0122__li547205854411">NONE: No authentication mode is used. All users can access the system. This mode is not recommended.</li></ul>
|
|
<p id="functiongraph_06_0122__p11472135874411">Enumeration values:</p>
|
|
<ul id="functiongraph_06_0122__ul144723584443"><li id="functiongraph_06_0122__li20472458114414"><strong id="functiongraph_06_0122__b947275813442">IAM</strong></li><li id="functiongraph_06_0122__li5472165854418"><strong id="functiongraph_06_0122__b124725587445">APP</strong></li><li id="functiongraph_06_0122__li174721458114416"><strong id="functiongraph_06_0122__b1547217583447">NONE</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row1273314565441"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p14472158144415">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__p8472125816443">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p1547235884416">API calling address (APIG trigger parameter).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row197331556124415"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p64725584444">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__p14721758124419"><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__p164944401916">FunctionGraph backend details (APIG trigger parameter). This parameter is mandatory for APIG triggers.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row67333565445"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p447225817448">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__p2473165874413">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p164731258174410">Subdomain name allocated by the APIG system by default (APIG trigger parameter).</p>
|
|
<p id="functiongraph_06_0122__p114731458144416">Minimum: <strong id="functiongraph_06_0122__b847365824417">1</strong></p>
|
|
<p id="functiongraph_06_0122__p8473958164416">Maximum: <strong id="functiongraph_06_0122__b14473058154412">255</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row9733556164415"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p12473125818446">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__p1447365815446">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p44737587446">Backend type of the API (APIG trigger parameter).</p>
|
|
<p id="functiongraph_06_0122__p84731358144418">Enumeration values:</p>
|
|
<ul id="functiongraph_06_0122__ul1847318589441"><li id="functiongraph_06_0122__li1547375819447"><strong id="functiongraph_06_0122__b3473558134411">FUNCTION</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row1073325664411"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p15473105816446">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__p947312582449">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p3473105815449">Instance ID. This parameter is mandatory for DDS, Kafka, and RabbitMQ triggers.</p>
|
|
<ul id="functiongraph_06_0122__ul947325818445"><li id="functiongraph_06_0122__li154731958114414">APIG trigger: APIG gateway ID</li><li id="functiongraph_06_0122__li174731158204412">DDS trigger: DB instance ID.</li><li id="functiongraph_06_0122__li44749581446">Kafka trigger: Kafka instance ID</li><li id="functiongraph_06_0122__li7474155814414">RabbitMQ trigger: RabbitMQ instance ID</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row8733165644412"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p164741458134418">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__p1147425824419">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p1447465817447">ID of the integration application to which the API belongs (APIG trigger parameter).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row127331056114416"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p1547416586447">operations</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p3474258174418">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__p6474058134418">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__row1673414566446"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p194740581443">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__p104741589442">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p114741858104419">Collection name (DDS trigger parameter).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row07341656144415"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p15475175816449">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__p547595874416">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p2475165884413">Database name (DDS trigger parameter).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row12739105604414"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p1947511582446">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__p847516588443">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p1147555815447">DDS database password (DDS trigger parameter).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row14739195613449"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p11475105816446">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__p947519589440">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p4475185864412">DDS database username (DDS trigger parameter).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row0739056114416"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p2475155844417">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__p6475195814443">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__p1047555864410">DDS database instance address (DDS trigger parameter).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row6739756194410"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p184751558194418">mode</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p1147517587445">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p347545894420">DDS database instance type (DDS trigger parameter).</p>
|
|
<ul id="functiongraph_06_0122__ul3475185854413"><li id="functiongraph_06_0122__li12475165824417">Sharding: cluster instance</li><li id="functiongraph_06_0122__li1747575815440">ReplicaSet: replica set instance</li><li id="functiongraph_06_0122__li047675884420">Single: single node instance.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row10739175615441"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p447613587443">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__p14761458184417">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p4476358174413">Batch size: Maximum number of data records that can be processed by the function at a time. This parameter is mandatory for DIS, DDS, Kafka, and RabbitMQ triggers.</p>
|
|
<ul id="functiongraph_06_0122__ul1647616586443"><li id="functiongraph_06_0122__li10476115874418">DDS trigger: Set the batch size to a value ranging from 1 to 10,000.</li><li id="functiongraph_06_0122__li247613581441">DIS trigger: Set the batch size to a value ranging from 1 to 10,000.</li><li id="functiongraph_06_0122__li1847625814445">Kafka trigger: Set the batch size to a value ranging from 1 to 1000.</li><li id="functiongraph_06_0122__li154761058194417">RabbitMQ trigger: Set the batch size to a value ranging from 1 to 1000.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row27391256134419"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p12476165844411">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__p13476155814448">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p147665864419">Queue ID (DMS trigger parameter).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row17739125694416"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p8476358194412">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__p174769588447">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p647655864416">Consumer group ID (DMS trigger parameter).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row107401556154413"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p104760584443">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__p8477135810447">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p8477458174413">Pull period.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row15740125674416"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p647755810443">stream_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p54771358124417">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p17477758144414">Stream name (DIS trigger parameter).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row8740175654417"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p747775864420">sharditerator_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p15477195818447">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p1247745813449">Start position (DIS trigger parameter).</p>
|
|
<ul id="functiongraph_06_0122__ul19477155815441"><li id="functiongraph_06_0122__li124779583449">TRIM_HORIZON: Data is read from the earliest valid record stored in the partition.</li><li id="functiongraph_06_0122__li34771358104416">LATEST: Data is read from the latest record in the partition. This option ensures that the most recent data in the partition is read.</li></ul>
|
|
<p id="functiongraph_06_0122__p154771958184417">Enumeration values:</p>
|
|
<ul id="functiongraph_06_0122__ul5477145824415"><li id="functiongraph_06_0122__li1247745820449"><strong id="functiongraph_06_0122__b174771258194411">TRIM_HORIZON</strong></li><li id="functiongraph_06_0122__li13478758114411"><strong id="functiongraph_06_0122__b19478115813446">LATEST</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row9740165617447"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p847819584447">polling_unit</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p17478165818447">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p17478358124413">Unit of the pull period (DIS trigger parameter).</p>
|
|
<ul id="functiongraph_06_0122__ul147885834413"><li id="functiongraph_06_0122__li347815844416">s: second</li><li id="functiongraph_06_0122__li1147819583449">ms: millisecond</li></ul>
|
|
<p id="functiongraph_06_0122__p1347813581445">Enumeration values:</p>
|
|
<ul id="functiongraph_06_0122__ul1947895874410"><li id="functiongraph_06_0122__li17478165894416"><strong id="functiongraph_06_0122__b1747815874419">s</strong></li><li id="functiongraph_06_0122__li6478358114417"><strong id="functiongraph_06_0122__b1447918588447">ms</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row12740756144414"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p164791658154412">max_fetch_bytes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p0479155854412">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p1447918582446">Maximum number of bytes to be extracted (DIS trigger parameter).</p>
|
|
<p id="functiongraph_06_0122__p154792058184411">Minimum: <strong id="functiongraph_06_0122__b17479125820443">0</strong></p>
|
|
<p id="functiongraph_06_0122__p647985844410">Maximum: <strong id="functiongraph_06_0122__b6479185810448">4194304</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row3740556114410"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p4479858164417">is_serial</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p13479155818449">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p14791358124419">Serial Data Processing: If this option is selected, FunctionGraph pulls data from the stream only after previous data is processed. If this option is not selected, FunctionGraph pulls data from the stream as long as the pull period ends.</p>
|
|
<p id="functiongraph_06_0122__p1147935811441">Enumeration values:</p>
|
|
<ul id="functiongraph_06_0122__ul13479658124419"><li id="functiongraph_06_0122__li1247945811448"><strong id="functiongraph_06_0122__b547955815441">true</strong></li><li id="functiongraph_06_0122__li247935854411"><strong id="functiongraph_06_0122__b17479125817440">false</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row8740656184410"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p847975815446">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__p11479175814417">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p647975844417">Log group ID (LTS trigger parameter).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row574065612448"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p74801358204410">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__p1948019588449">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p548055884412">Log stream ID (LTS trigger parameter).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row87401256174416"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p648025804419">bucket</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p1048055814443">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p1548018586446">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__p248075812442">Minimum: <strong id="functiongraph_06_0122__b154808581442">1</strong></p>
|
|
<p id="functiongraph_06_0122__p104806584441">Maximum: <strong id="functiongraph_06_0122__b16480195819445">64</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row157461856134415"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p8480135824413">prefix</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p14480195812445">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p13480145818442">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__p134808585443">Minimum: <strong id="functiongraph_06_0122__b1148095844419">0</strong></p>
|
|
<p id="functiongraph_06_0122__p648018589449">Maximum: <strong id="functiongraph_06_0122__b114802582444">1024</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row0746135617448"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p3480358144419">suffix</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p948035884410">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p848095814416">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__p16481125818448">Minimum: <strong id="functiongraph_06_0122__b448119587441">0</strong></p>
|
|
<p id="functiongraph_06_0122__p44811584442">Maximum: <strong id="functiongraph_06_0122__b64811958144410">1024</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row7746155617448"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p6481115810448">events</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p8481155844413">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__p0481758194417">Trigger event (OBS trigger parameter).</p>
|
|
<ul id="functiongraph_06_0122__ul448195804410"><li id="functiongraph_06_0122__li16481115854417">ObjectCreated: all object creation operations, including PUT, POST, COPY, and part assembling</li><li id="functiongraph_06_0122__li14811586445">Put: Uploads an object using Put.</li><li id="functiongraph_06_0122__li104811458114417">Post: Uploads an object using POST</li><li id="functiongraph_06_0122__li2481358184416">Copy: Copies an object using COPY.</li><li id="functiongraph_06_0122__li2481125811446">CompleteMultipartUpload: Merges parts of a multipart upload.</li><li id="functiongraph_06_0122__li144811558174418">ObjectRemoved: Deletes an object.</li><li id="functiongraph_06_0122__li1348215819445">Delete: Deletes an object by specifying its version ID.</li><li id="functiongraph_06_0122__li948245817445">DeleteMarkerCreated: Deletes an object without specifying its version ID.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row97461056184415"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p174829587443">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__p3482185844417">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p5482185844413">Topic URN (SMN trigger parameter)</p>
|
|
<p id="functiongraph_06_0122__p1448295834415">Minimum: <strong id="functiongraph_06_0122__b1848275804412">1</strong></p>
|
|
<p id="functiongraph_06_0122__p1048214583445">Maximum: <strong id="functiongraph_06_0122__b16482158174412">255</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row1874610564448"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p348245818448">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__p1048265813449">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__p34822058164414">The Kafka topic ID list (Kafka trigger parameter).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row1574655684415"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p348310585447">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__p6483558174415">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p1248365844410">Kafka account name (Kafka trigger parameter).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row974665664413"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p848311581448">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__p194831658164416">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p1248317587444">Kafka password (Kafka trigger parameter).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row4746135674410"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p174832582443">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__p16483185818446">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p13483195834414">Kafka instance connection address (Kafka trigger parameter).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row10746105654418"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p7483658144415">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__p134831958184415">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p748355854415">Whether to enable SASL authentication(Kafka trigger parameter).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row274635613445"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p648320581448">access_password</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p2483125812446">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p14831558154418">RabbitMQ account password (RabbitMQ trigger parameter).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row4747156164412"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p19483358114412">access_user</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p04831158164413">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p1448465816440">RabbitMQ username (RabbitMQ trigger parameter).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row20747125694414"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p14484145844411">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__p648495824414">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p14484558194412">Instance IP address (RabbitMQ trigger parameter).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row107476563444"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p1248419587446">exchange_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p54843585448">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p4484105814447">Switch name (RabbitMQ trigger parameter).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row7747165634415"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p1648410582446">vhost</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0122__p134841558174419">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p18484145894414">Virtual host (RabbitMQ trigger parameter).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row137471656184418"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0122__p15484105874420">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__p1548415824413">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0122__p1048485884420">Whether to enable SSL (RabbitMQ trigger parameter).</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__row15926205617447"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.1"><p id="functiongraph_06_0122__p17485135818441">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__p17485135811445">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__p8485175818449">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="functiongraph_06_0122__row89261356164419"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="functiongraph_06_0122__p8485155814441">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__p1748585815444">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="functiongraph_06_0122__p84851158164415">Function URN. For details, see the function model descriptions.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row1992617567448"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="functiongraph_06_0122__p148595824413">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__p5485145844417">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="functiongraph_06_0122__p134858583447">Execution mode of a function.</p>
|
|
<ul id="functiongraph_06_0122__ul1748645812442"><li id="functiongraph_06_0122__li10486958114412">sync: synchronous execution</li><li id="functiongraph_06_0122__li10486165874412">async: asynchronous execution</li></ul>
|
|
<p id="functiongraph_06_0122__p5486758104419">Enumeration values:</p>
|
|
<ul id="functiongraph_06_0122__ul1248675884415"><li id="functiongraph_06_0122__li11486125811448"><strong id="functiongraph_06_0122__b15486205884413">sync</strong></li><li id="functiongraph_06_0122__li10486175864415"><strong id="functiongraph_06_0122__b1648675824416">async</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row892695619444"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="functiongraph_06_0122__p10486658114410">timeout</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="functiongraph_06_0122__p74861758174410">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="functiongraph_06_0122__p174862586443">Timeout allowed for APIG to request the FunctionGraph service. The unit is in millisecond. This parameter is mandatory for APIG triggers.</p>
|
|
<p id="functiongraph_06_0122__p154862058174415">Minimum: <strong id="functiongraph_06_0122__b448605818446">1</strong></p>
|
|
<p id="functiongraph_06_0122__p124861558124412">Maximum: <strong id="functiongraph_06_0122__b19486175810442">60000</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row119261756124411"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="functiongraph_06_0122__p5486958184416">version</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="functiongraph_06_0122__p15486105854413">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="functiongraph_06_0122__p154861158204416">Function version information.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="functiongraph_06_0122__p64871658114414"><strong id="functiongraph_06_0122__b1948795854415">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__row2094335610445"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.7.2.4.1.1"><p id="functiongraph_06_0122__p44872586447">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__p6487105813449">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__p44876584449">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="functiongraph_06_0122__row11944195674411"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="functiongraph_06_0122__p10487105813442">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__p13487258154411">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="functiongraph_06_0122__p124871058144411">Error code.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row1794455654418"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="functiongraph_06_0122__p184871958154412">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__p1848712580444">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="functiongraph_06_0122__p184871958164418">Error message.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="functiongraph_06_0122__p848775834418"><strong id="functiongraph_06_0122__b048715824419">Status code: 401</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0122__table18952105694418" frame="border" border="1" rules="all"><caption><b>Table 10 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0122__row1795317563446"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.9.2.4.1.1"><p id="functiongraph_06_0122__p648835811441">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__p548817586442">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__p1948816588440">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="functiongraph_06_0122__row1195320560449"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0122__p144881158164414">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__p12488155810443">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0122__p948885817443">Error code.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row20953756184410"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0122__p7488195814446">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__p10488458184417">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0122__p64891058104417">Error message.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="functiongraph_06_0122__p64896582447"><strong id="functiongraph_06_0122__b1048905854411">Status code: 403</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0122__table196165654410" frame="border" border="1" rules="all"><caption><b>Table 11 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0122__row14962115684419"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.11.2.4.1.1"><p id="functiongraph_06_0122__p13490058124410">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__p13490758134414">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__p1949055819441">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="functiongraph_06_0122__row119676561441"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.1 "><p id="functiongraph_06_0122__p11490165834417">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__p3490758104418">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.11.2.4.1.3 "><p id="functiongraph_06_0122__p1249095812441">Error code.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row0967756194414"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.1 "><p id="functiongraph_06_0122__p64907588443">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__p34901558184411">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.11.2.4.1.3 "><p id="functiongraph_06_0122__p1549095814417">Error message.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="functiongraph_06_0122__p1949095815445"><strong id="functiongraph_06_0122__b104901258164414">Status code: 404</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0122__table19978456144411" frame="border" border="1" rules="all"><caption><b>Table 12 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0122__row19781256174410"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.13.2.4.1.1"><p id="functiongraph_06_0122__p2490165854410">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__p6491125834410">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__p349155816446">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="functiongraph_06_0122__row19979175620448"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.13.2.4.1.1 "><p id="functiongraph_06_0122__p8491125894416">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__p849115884413">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.13.2.4.1.3 "><p id="functiongraph_06_0122__p849125816442">Error code.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row169791456134411"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.13.2.4.1.1 "><p id="functiongraph_06_0122__p24911058194414">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__p9491115864417">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.13.2.4.1.3 "><p id="functiongraph_06_0122__p204916582444">Error message.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="functiongraph_06_0122__p7491145815445"><strong id="functiongraph_06_0122__b134918587445">Status code: 500</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0122__table189875567440" frame="border" border="1" rules="all"><caption><b>Table 13 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0122__row12987105634414"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.15.2.4.1.1"><p id="functiongraph_06_0122__p20491458114413">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__p5491158164413">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__p84911358204412">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="functiongraph_06_0122__row189881656194410"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.15.2.4.1.1 "><p id="functiongraph_06_0122__p049205844413">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__p1649255814447">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.15.2.4.1.3 "><p id="functiongraph_06_0122__p1949216584448">Error code.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row17988356164419"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.15.2.4.1.1 "><p id="functiongraph_06_0122__p15492558194416">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__p0492165884415">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.15.2.4.1.3 "><p id="functiongraph_06_0122__p1449265814416">Error message.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="functiongraph_06_0122__section114921258114418"><h4 class="sectiontitle">Example Requests</h4><ul id="functiongraph_06_0122__ul6492175814414"><li id="functiongraph_06_0122__li154925583442">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__screen5492105812446">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__li13493758144410">Create a shared APIG trigger named API_test_function, with None authentication (temporary domain name) and 5000s timeout.<pre class="screen" id="functiongraph_06_0122__screen549335844412">POST https://{Endpoint}/v2/{project_id}/fgs/triggers/{function_urn}
|
|
|
|
{
|
|
"trigger_type_code" : "APIG",
|
|
"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" : "NONE",
|
|
"group_id" : "318b09eb214a41488c667ecd51667e3x",
|
|
"sl_domain" : "318b09eb214a41488c667ecd51667e3x.apig.{region}.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__li549416584448">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__screen10494115874418">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__li2495258104415">Create a Kafka trigger named 86ad3efcxx to pull messages from the PUSH_TOKEN_RECORD consumer group.<pre class="screen" id="functiongraph_06_0122__screen749510585448">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__li144951958104413">Create a timer trigger to trigger a function every 3 minutes.<pre class="screen" id="functiongraph_06_0122__screen34969581443">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__li1549617582447">Create an LTS trigger. (An agency with LTS permissions is required.)<pre class="screen" id="functiongraph_06_0122__screen349617586448">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__li10496165813440">Create an SMN trigger.<pre class="screen" id="functiongraph_06_0122__screen12496858154410">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__section124971958194410"><h4 class="sectiontitle">Example Responses</h4><p id="functiongraph_06_0122__p3497195824419"><strong id="functiongraph_06_0122__b14978581441">Status code: 201</strong></p>
|
|
<p id="functiongraph_06_0122__p7497135818441">Created</p>
|
|
<pre class="screen" id="functiongraph_06_0122__screen194974587443">{
|
|
"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__section049875817442"><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__row158765714446"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="functiongraph_06_0122__p1449835815443">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__p11498158184415">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="functiongraph_06_0122__row1087557194416"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0122__p9498115854415">201</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0122__p1749875820442">Created</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row14931657154415"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0122__p11498258184411">400</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0122__p18498145811442">Bad request.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row593165794417"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0122__p18498958194418">401</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0122__p104981558184413">Unauthorized.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row793125718446"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0122__p104981558164416">403</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0122__p10498558194413">Forbidden.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row89315764413"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0122__p204981958204416">404</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0122__p3498205864417">Not found.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="functiongraph_06_0122__row19933577449"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0122__p24981858104413">500</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0122__p1649820587445">Internal server error.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="functiongraph_06_0122__section1849955804418"><h4 class="sectiontitle">Error Codes</h4><p id="functiongraph_06_0122__p749915804419">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>
|
|
|