forked from docs/doc-exports
Reviewed-by: Eotvos, Oliver <oliver.eotvos@t-systems.com> Co-authored-by: Chen, Junjie <chenjunjie@huawei.com> Co-committed-by: Chen, Junjie <chenjunjie@huawei.com>
352 lines
27 KiB
HTML
352 lines
27 KiB
HTML
<a name="functiongraph_06_0143"></a><a name="functiongraph_06_0143"></a>
|
||
|
||
<h1 class="topictitle1">Querying Asynchronous Execution Notification Settings of a Function's All Versions</h1>
|
||
<div id="body148099501842"><div class="section" id="functiongraph_06_0143__section181055015413"><h4 class="sectiontitle">Function</h4><p id="functiongraph_06_0143__p6819165010418">This API is used to query the asynchronous execution notification settings of a function's all versions.</p>
|
||
</div>
|
||
<div class="section" id="functiongraph_06_0143__section4839165012413"><h4 class="sectiontitle">URI</h4><p id="functiongraph_06_0143__p158496501948">GET /v2/{project_id}/fgs/functions/{function_urn}/async-invoke-configs</p>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0143__table4862145015411" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="functiongraph_06_0143__row1285518501414"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="functiongraph_06_0143__p1086512501545">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_0143__p178771350344">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_0143__p1188312503416">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_0143__p58911450347">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0143__row28551750842"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="functiongraph_06_0143__p108961650547">project_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="functiongraph_06_0143__p59038505410">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="functiongraph_06_0143__p1191005013413">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="functiongraph_06_0143__p8918250642">Project ID. For details, see <a href="functiongraph_06_0260.html">Obtaining a Project ID</a>.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0143__row485525017410"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="functiongraph_06_0143__p1927135010414">function_urn</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="functiongraph_06_0143__p39321650843">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="functiongraph_06_0143__p1940195017415">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="functiongraph_06_0143__p394511501348">Function URN. For details, see the function model description.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0143__table159579505418" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Query Parameters</caption><thead align="left"><tr id="functiongraph_06_0143__row89521850145"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.4.2.5.1.1"><p id="functiongraph_06_0143__p6960050245">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.4.2.5.1.2"><p id="functiongraph_06_0143__p1596812501645">Mandatory</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.4.2.5.1.3"><p id="functiongraph_06_0143__p29732505410">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.4.2.5.1.4"><p id="functiongraph_06_0143__p1598055015413">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0143__row4952165015412"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="functiongraph_06_0143__p119881750841">marker</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="functiongraph_06_0143__p149941950747">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="functiongraph_06_0143__p1211512417">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="functiongraph_06_0143__p1278511845">Final record queried last time.</p>
|
||
<p id="functiongraph_06_0143__p151410511042">Maximum: <strong id="functiongraph_06_0143__b121714513416">64</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0143__row9952350642"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="functiongraph_06_0143__p42014511247">limit</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="functiongraph_06_0143__p172714511444">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="functiongraph_06_0143__p1933351546">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="functiongraph_06_0143__p1240155117418">Number of items displayed on each page.</p>
|
||
<ul id="functiongraph_06_0143__ul9479511249"><li id="functiongraph_06_0143__li204895110410">If this parameter is not specified or is set to 0, the default value 10 is used. The maximum value is 100. If you set this parameter to a value greater than 100, the value automatically changes to 100.</li><li id="functiongraph_06_0143__li135414511840">If it is less than 0, an error is reported.</li></ul>
|
||
<p id="functiongraph_06_0143__p17631351048">Default: <strong id="functiongraph_06_0143__b3661519419">10</strong></p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
<div class="section" id="functiongraph_06_0143__section4838511417"><h4 class="sectiontitle">Request Parameters</h4>
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0143__HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request header parameters</caption><thead align="left"><tr id="functiongraph_06_0143__row159315517411"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="functiongraph_06_0143__p510311518410">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_0143__p161113514411">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_0143__p3116651846">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_0143__p71255519418">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0143__row0941511418"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="functiongraph_06_0143__p01317513411">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_0143__p5141951040">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="functiongraph_06_0143__p314795119419">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="functiongraph_06_0143__p91533511641">User token.</p>
|
||
<p id="functiongraph_06_0143__p61625511645">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_0143__row594125117413"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="functiongraph_06_0143__p517119510415">Content-Type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="functiongraph_06_0143__p191782511943">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="functiongraph_06_0143__p1019365110412">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="functiongraph_06_0143__p1820315511146">Message body type (format).</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
<div class="section" id="functiongraph_06_0143__section152111151643"><h4 class="sectiontitle">Response Parameters</h4><p id="functiongraph_06_0143__p11219185111412"><strong id="functiongraph_06_0143__b14221115113411">Status code: 200</strong></p>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0143__response_ListFunctionAsyncInvokeConfigResponseBody" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0143__row422595114415"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="functiongraph_06_0143__p202364511247">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_0143__p8245145110410">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_0143__p6251051042">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0143__row82251517415"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0143__p1025713511542">async_invoke_configs</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0143__p122672051948">Array of <a href="#functiongraph_06_0143__response_ListFunctionAsyncInvokeConfigResult">ListFunctionAsyncInvokeConfigResult</a> objects</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0143__p1327415115419">Asynchronous execution notification settings.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0143__row322510511242"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0143__p15282105113417">count</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0143__p1528745112419">Long</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0143__p132946516417">Total number of items.</p>
|
||
<p id="functiongraph_06_0143__p18299125112410">Minimum: <strong id="functiongraph_06_0143__b630218515416">0</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0143__row72255513410"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0143__p23051515416">page_info</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0143__p931295114417"><a href="#functiongraph_06_0143__response_PageInfo">PageInfo</a> object</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "> </td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="functiongraph_06_0143__response_ListFunctionAsyncInvokeConfigResult"></a><a name="response_ListFunctionAsyncInvokeConfigResult"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0143__response_ListFunctionAsyncInvokeConfigResult" frame="border" border="1" rules="all"><caption><b>Table 5 </b>ListFunctionAsyncInvokeConfigResult</caption><thead align="left"><tr id="functiongraph_06_0143__row43251851643"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.1"><p id="functiongraph_06_0143__p1335651245">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_0143__p13431511446">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_0143__p113483511419">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0143__row133266512411"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0143__p19353145118411">func_urn</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0143__p1936119513417">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0143__p1336914511044">Function URN.</p>
|
||
<p id="functiongraph_06_0143__p143763510413">Minimum: <strong id="functiongraph_06_0143__b1037818519412">1</strong></p>
|
||
<p id="functiongraph_06_0143__p123812512419">Maximum: <strong id="functiongraph_06_0143__b3385205115420">269</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0143__row133266512042"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0143__p93888511544">max_async_event_age_in_seconds</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0143__p6394135120414">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0143__p04015511744">Maximum validity period of a message. Value range: 60–86,400. Unit: second.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0143__row8326951747"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0143__p14085511242">max_async_retry_attempts</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0143__p1441445118415">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0143__p84222511147">Maximum number of retry attempts to be made if asynchronous invocation fails. Default value: 3. Value range: 0–8.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0143__row432745119415"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0143__p184290511647">destination_config</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0143__p943719511548"><a href="#functiongraph_06_0143__response_FuncAsyncDestinationConfig">FuncAsyncDestinationConfig</a> object</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0143__p74443519416">Asynchronous invocation target.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0143__row15327125113414"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0143__p845175118418">created_time</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0143__p545815113416">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0143__p446619511340">Time when asynchronous execution notification was configured.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0143__row153279513415"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0143__p1647285114418">last_modified</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0143__p10479105110413">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0143__p44938511748">Time when the asynchronous execution notification settings were last modified.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0143__row19327751442"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0143__p85021551745">enable_async_status_log</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0143__p20509451143">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0143__p165185518412">Whether to enable asynchronous invocation status persistence.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="functiongraph_06_0143__response_FuncAsyncDestinationConfig"></a><a name="response_FuncAsyncDestinationConfig"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0143__response_FuncAsyncDestinationConfig" frame="border" border="1" rules="all"><caption><b>Table 6 </b>FuncAsyncDestinationConfig</caption><thead align="left"><tr id="functiongraph_06_0143__row25238511242"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.1"><p id="functiongraph_06_0143__p8534251744">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_0143__p1353985115415">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_0143__p1054645113417">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0143__row952365111414"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="functiongraph_06_0143__p1755275119418">on_success</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="functiongraph_06_0143__p255911515411"><a href="#functiongraph_06_0143__response_FuncDestinationConfig">FuncDestinationConfig</a> object</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="functiongraph_06_0143__p205678514413">Target to be invoked when a function is successfully executed.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0143__row105233513414"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="functiongraph_06_0143__p157518511047">on_failure</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="functiongraph_06_0143__p7583851949"><a href="#functiongraph_06_0143__response_FuncDestinationConfig">FuncDestinationConfig</a> object</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="functiongraph_06_0143__p195901151343">Target to be invoked when a function fails to be executed due to a system error or an internal error.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="functiongraph_06_0143__response_FuncDestinationConfig"></a><a name="response_FuncDestinationConfig"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0143__response_FuncDestinationConfig" frame="border" border="1" rules="all"><caption><b>Table 7 </b>FuncDestinationConfig</caption><thead align="left"><tr id="functiongraph_06_0143__row65975511449"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.1"><p id="functiongraph_06_0143__p8610651649">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.2"><p id="functiongraph_06_0143__p1961610512410">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.6.2.4.1.3"><p id="functiongraph_06_0143__p12625651047">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0143__row15597185116414"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="functiongraph_06_0143__p13631135119415">destination</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="functiongraph_06_0143__p1564015511249">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="functiongraph_06_0143__p6650195112417">Object type.</p>
|
||
<ul id="functiongraph_06_0143__ul1266211511244"><li id="functiongraph_06_0143__li96638517414">OBS</li><li id="functiongraph_06_0143__li767112515415">SMN</li><li id="functiongraph_06_0143__li1468514516411">FunctionGraph</li></ul>
|
||
<p id="functiongraph_06_0143__p15692175118415">Enumeration values:</p>
|
||
<ul id="functiongraph_06_0143__ul369905112417"><li id="functiongraph_06_0143__li17011751849"><strong id="functiongraph_06_0143__b870695110419">OBS</strong></li><li id="functiongraph_06_0143__li97081451943"><strong id="functiongraph_06_0143__b1971205115414">SMN</strong></li><li id="functiongraph_06_0143__li87201151546"><strong id="functiongraph_06_0143__b072425116413">FunctionGraph</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0143__row15597251244"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="functiongraph_06_0143__p167261051845">param</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="functiongraph_06_0143__p1873412511345">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="functiongraph_06_0143__p107401511417">Parameters (in JSON format) corresponding to the target service.</p>
|
||
<ul id="functiongraph_06_0143__ul874745111411"><li id="functiongraph_06_0143__li5749195117412">OBS: Parameters related to the bucket name, object directory prefix, and object expiration time are included. The object expiration time ranges from 0 to 365 days. If the value is 0, the object will not expire.</li><li id="functiongraph_06_0143__li1775516511240">SMN: The topic_urn parameter is included.</li><li id="functiongraph_06_0143__li57696511649">FunctionGraph: The func_urn parameter is included.</li></ul>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="functiongraph_06_0143__response_PageInfo"></a><a name="response_PageInfo"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0143__response_PageInfo" frame="border" border="1" rules="all"><caption><b>Table 8 </b>PageInfo</caption><thead align="left"><tr id="functiongraph_06_0143__row1877635118416"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.7.2.4.1.1"><p id="functiongraph_06_0143__p147895511242">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_0143__p197988511741">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_0143__p148049512045">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0143__row2077619511744"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="functiongraph_06_0143__p3811351746">next_marker</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="functiongraph_06_0143__p5816551240">Long</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="functiongraph_06_0143__p158221251840">Next read location.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0143__row16776185117410"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="functiongraph_06_0143__p198296511045">previous_marker</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="functiongraph_06_0143__p883419511746">Long</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="functiongraph_06_0143__p084110513412">Previous read location.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0143__row677695119416"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="functiongraph_06_0143__p13848125111417">current_count</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="functiongraph_06_0143__p12853195110418">Long</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="functiongraph_06_0143__p1861135118415">Number of items on the current page.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
<div class="section" id="functiongraph_06_0143__section886705119418"><h4 class="sectiontitle">Example Requests</h4><p id="functiongraph_06_0143__p17875551049">Query the asynchronous execution notification settings of a function's all versions.</p>
|
||
<pre class="screen" id="functiongraph_06_0143__screen19880551141">GET /v2/{project_id}/fgs/functions/{function_urn}/async-invoke-configs</pre>
|
||
</div>
|
||
<div class="section" id="functiongraph_06_0143__section589145120414"><h4 class="sectiontitle">Example Responses</h4><p id="functiongraph_06_0143__p98971451644"><strong id="functiongraph_06_0143__b179005510411">Status code: 200</strong></p>
|
||
<p id="functiongraph_06_0143__p12902115115420">Ok</p>
|
||
<pre class="screen" id="functiongraph_06_0143__screen129216514414">{
|
||
"async_invoke_configs" : [ {
|
||
"func_urn" : "urn:fss:{region}:5691ba790e2b46ceb38316xxxxxxxxxx:function:default:test_async:latest",
|
||
"max_async_event_age_in_seconds" : 60,
|
||
"max_async_retry_attempts" : 1,
|
||
"destination_config" : {
|
||
"on_success" : {
|
||
"destination" : "FunctionGraph",
|
||
"param" : "{\"func_urn\":\"urn:fss:{region}:5691ba790e2b46ceb38316xxxxxxxxxx:function:default:testPython:latest\"}"
|
||
},
|
||
"on_failure" : {
|
||
"destination" : "FunctionGraph",
|
||
"param" : "{\"func_urn\":\"urn:fss:{region}:5691ba790e2b46ceb38316xxxxxxxxxx:function:default:testPython:latest\"}"
|
||
}
|
||
},
|
||
"created_time" : "2021-03-04T14:50:02+08:00",
|
||
"last_modified" : "2021-03-04 14:50:02"
|
||
} ],
|
||
"count" : 2,
|
||
"page_info" : {
|
||
"next_marker" : 2,
|
||
"previous_marker" : 0,
|
||
"current_count" : 2
|
||
}
|
||
}</pre>
|
||
</div>
|
||
<div class="section" id="functiongraph_06_0143__section13659521248"><h4 class="sectiontitle">Status Codes</h4>
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0143__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="functiongraph_06_0143__row20715521649"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="functiongraph_06_0143__p77913529416">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_0143__p17847521645">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0143__row207105214410"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0143__p791252143">200</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0143__p1398145212411">Ok</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
<div class="section" id="functiongraph_06_0143__section71047521243"><h4 class="sectiontitle">Error Codes</h4><p id="functiongraph_06_0143__p19114195215419">See <a href="ErrorCode.html">Error Codes</a>.</p>
|
||
</div>
|
||
</div>
|
||
<div>
|
||
<div class="familylinks">
|
||
<div class="parentlink"><strong>Parent topic:</strong> <a href="AsynchronousExecutionNotification.html">Asynchronous Execution Notification</a></div>
|
||
</div>
|
||
</div>
|
||
|