|
| 1 | +<?php |
| 2 | +// This file was auto-generated |
| 3 | +return [ |
| 4 | +// 'version' => '', |
| 5 | + 'metadata' => |
| 6 | + [ |
| 7 | +// 'apiVersion' => '', |
| 8 | +// 'endpointPrefix' => 'aisearch', |
| 9 | + 'protocol' => 'json', |
| 10 | +// 'serviceFullName' => 'aisearch', |
| 11 | +// 'serviceId' => 'aisearch', |
| 12 | + ], |
| 13 | + 'operations' => [ |
| 14 | + 'ExternalWebSearch' => [ |
| 15 | + 'name' => 'ExternalWebSearch', |
| 16 | + 'http' => [ |
| 17 | + 'method' => 'POST', |
| 18 | + 'requestUri' => '/v1/external:webSearch', |
| 19 | + ], |
| 20 | + 'input' => [ 'shape' => 'ExternalWebSearchRequestShape', ], |
| 21 | + 'output' => [ 'shape' => 'ExternalWebSearchResponseShape', ], |
| 22 | + ], |
| 23 | + ], |
| 24 | + 'shapes' => [ |
| 25 | + 'AccountUsageStatisticsRespVo' => [ |
| 26 | + 'type' => 'structure', |
| 27 | + 'members' => [ |
| 28 | + 'totalCallCount' => [ 'type' => 'long', 'locationName' => 'totalCallCount', ], |
| 29 | + 'todayCallCount' => [ 'type' => 'long', 'locationName' => 'todayCallCount', ], |
| 30 | + 'yesterdayCallCount' => [ 'type' => 'long', 'locationName' => 'yesterdayCallCount', ], |
| 31 | + 'thisMonthCallCount' => [ 'type' => 'long', 'locationName' => 'thisMonthCallCount', ], |
| 32 | + ], |
| 33 | + ], |
| 34 | + 'CallCountDataVo' => [ |
| 35 | + 'type' => 'structure', |
| 36 | + 'members' => [ |
| 37 | + 'date' => [ 'type' => 'string', 'locationName' => 'date', ], |
| 38 | + 'callCount' => [ 'type' => 'long', 'locationName' => 'callCount', ], |
| 39 | + ], |
| 40 | + ], |
| 41 | + 'AccountUsageSearchRespVo' => [ |
| 42 | + 'type' => 'structure', |
| 43 | + 'members' => [ |
| 44 | + 'callCountDataList' => [ 'type' => 'list', 'member' => [ 'shape' => 'CallCountDataVo', ], ], |
| 45 | + ], |
| 46 | + ], |
| 47 | + 'AccountBalanceRespVo' => [ |
| 48 | + 'type' => 'structure', |
| 49 | + 'members' => [ |
| 50 | + 'totalResourcePackageCount' => [ 'type' => 'long', 'locationName' => 'totalResourcePackageCount', ], |
| 51 | + 'validResourcePackageCount' => [ 'type' => 'long', 'locationName' => 'validResourcePackageCount', ], |
| 52 | + 'invalidResourcePackageCount' => [ 'type' => 'long', 'locationName' => 'invalidResourcePackageCount', ], |
| 53 | + 'remainCallTimes' => [ 'type' => 'long', 'locationName' => 'remainCallTimes', ], |
| 54 | + ], |
| 55 | + ], |
| 56 | + 'UserApiKeyVo' => [ |
| 57 | + 'type' => 'structure', |
| 58 | + 'members' => [ |
| 59 | + 'keyNo' => [ 'type' => 'string', 'locationName' => 'keyNo', ], |
| 60 | + 'apiKey' => [ 'type' => 'string', 'locationName' => 'apiKey', ], |
| 61 | + 'pin' => [ 'type' => 'string', 'locationName' => 'pin', ], |
| 62 | + 'userType' => [ 'type' => 'string', 'locationName' => 'userType', ], |
| 63 | + 'apiKeyName' => [ 'type' => 'string', 'locationName' => 'apiKeyName', ], |
| 64 | + 'createdDate' => [ 'type' => 'string', 'locationName' => 'createdDate', ], |
| 65 | + 'deletedFlag' => [ 'type' => 'integer', 'locationName' => 'deletedFlag', ], |
| 66 | + ], |
| 67 | + ], |
| 68 | + 'ImageItemVo' => [ |
| 69 | + 'type' => 'structure', |
| 70 | + 'members' => [ |
| 71 | + 'name' => [ 'type' => 'string', 'locationName' => 'name', ], |
| 72 | + 'datePublished' => [ 'type' => 'string', 'locationName' => 'datePublished', ], |
| 73 | + 'hostPageUrl' => [ 'type' => 'string', 'locationName' => 'hostPageUrl', ], |
| 74 | + 'contentUrl' => [ 'type' => 'string', 'locationName' => 'contentUrl', ], |
| 75 | + 'contentSize' => [ 'type' => 'string', 'locationName' => 'contentSize', ], |
| 76 | + 'encodingFormat' => [ 'type' => 'string', 'locationName' => 'encodingFormat', ], |
| 77 | + 'width' => [ 'type' => 'integer', 'locationName' => 'width', ], |
| 78 | + 'height' => [ 'type' => 'integer', 'locationName' => 'height', ], |
| 79 | + 'thumbnailUrl' => [ 'type' => 'string', 'locationName' => 'thumbnailUrl', ], |
| 80 | + 'thumbnailWidth' => [ 'type' => 'integer', 'locationName' => 'thumbnailWidth', ], |
| 81 | + 'thumbnailHeight' => [ 'type' => 'integer', 'locationName' => 'thumbnailHeight', ], |
| 82 | + ], |
| 83 | + ], |
| 84 | + 'QueryContextVo' => [ |
| 85 | + 'type' => 'structure', |
| 86 | + 'members' => [ |
| 87 | + 'query' => [ 'type' => 'string', 'locationName' => 'query', ], |
| 88 | + ], |
| 89 | + ], |
| 90 | + 'CloudWebSearchResponseVo' => [ |
| 91 | + 'type' => 'structure', |
| 92 | + 'members' => [ |
| 93 | + 'queryContext' => [ 'shape' => 'QueryContextVo', ], |
| 94 | + 'pageItems' => [ 'type' => 'list', 'member' => [ 'shape' => 'PageItemVo', ], ], |
| 95 | + 'imageItems' => [ 'type' => 'list', 'member' => [ 'shape' => 'ImageItemVo', ], ], |
| 96 | + ], |
| 97 | + ], |
| 98 | + 'PageItemVo' => [ |
| 99 | + 'type' => 'structure', |
| 100 | + 'members' => [ |
| 101 | + 'id' => [ 'type' => 'string', 'locationName' => 'id', ], |
| 102 | + 'title' => [ 'type' => 'string', 'locationName' => 'title', ], |
| 103 | + 'url' => [ 'type' => 'string', 'locationName' => 'url', ], |
| 104 | + 'icon' => [ 'type' => 'string', 'locationName' => 'icon', ], |
| 105 | + 'siteName' => [ 'type' => 'string', 'locationName' => 'siteName', ], |
| 106 | + 'snippet' => [ 'type' => 'string', 'locationName' => 'snippet', ], |
| 107 | + 'summary' => [ 'type' => 'string', 'locationName' => 'summary', ], |
| 108 | + 'dateLastCrawled' => [ 'type' => 'string', 'locationName' => 'dateLastCrawled', ], |
| 109 | + ], |
| 110 | + ], |
| 111 | + 'ExternalWebSearchResultShape' => [ |
| 112 | + 'type' => 'structure', |
| 113 | + 'members' => [ |
| 114 | + 'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ], |
| 115 | + 'code' => [ 'type' => 'string', 'locationName' => 'code', ], |
| 116 | + 'msg' => [ 'type' => 'string', 'locationName' => 'msg', ], |
| 117 | + 'data' => [ 'shape' => 'CloudWebSearchResponseVo', ], |
| 118 | + ], |
| 119 | + ], |
| 120 | + 'ExternalWebSearchResponseShape' => [ |
| 121 | + 'type' => 'structure', |
| 122 | + 'members' => [ |
| 123 | + 'result' => [ 'shape' => 'ExternalWebSearchResultShape', ], |
| 124 | + 'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ], |
| 125 | + ], |
| 126 | + ], |
| 127 | + 'ExternalWebSearchRequestShape' => [ |
| 128 | + 'type' => 'structure', |
| 129 | + 'members' => [ |
| 130 | + 'apiKey' => [ 'type' => 'string', 'locationName' => 'apiKey', ], |
| 131 | + 'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ], |
| 132 | + 'query' => [ 'type' => 'string', 'locationName' => 'query', ], |
| 133 | + 'page' => [ 'type' => 'integer', 'locationName' => 'page', ], |
| 134 | + 'pageSize' => [ 'type' => 'integer', 'locationName' => 'pageSize', ], |
| 135 | + ], |
| 136 | + ], |
| 137 | + ], |
| 138 | +]; |
0 commit comments