diff options
| author | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
|---|---|---|
| committer | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
| commit | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (patch) | |
| tree | 0dec367dac6e152161a6f7cc0dba6ebbef1f34a2 /data/zh_cn/eventbridge/2020-04-01/api-docs.php | |
| download | acs-metadata-full-7347bac4ab7e136157fc94777e6cf87ef9e08599.tar.gz acs-metadata-full-7347bac4ab7e136157fc94777e6cf87ef9e08599.zip | |
first commitHEADv1.0.0+20260212main
Diffstat (limited to 'data/zh_cn/eventbridge/2020-04-01/api-docs.php')
| -rw-r--r-- | data/zh_cn/eventbridge/2020-04-01/api-docs.php | 24772 |
1 files changed, 24772 insertions, 0 deletions
diff --git a/data/zh_cn/eventbridge/2020-04-01/api-docs.php b/data/zh_cn/eventbridge/2020-04-01/api-docs.php new file mode 100644 index 0000000..939b6a6 --- /dev/null +++ b/data/zh_cn/eventbridge/2020-04-01/api-docs.php @@ -0,0 +1,24772 @@ +<?php return [ + 'version' => '1.0', + 'info' => [ + 'style' => 'RPC', + 'product' => 'eventbridge', + 'version' => '2020-04-01', + ], + 'directories' => [ + [ + 'id' => 99576, + 'title' => '事件总线', + 'type' => 'directory', + 'children' => [ + 'CreateEventBus', + 'DeleteEventBus', + 'UpdateEventBus', + 'GetEventBus', + 'ListEventBuses', + ], + ], + [ + 'id' => 99587, + 'title' => '事件', + 'type' => 'directory', + 'children' => [ + 'QueryEvent', + 'QueryEventTraces', + 'QueryTracedEventByEventId', + 'QueryTracedEvents', + ], + ], + [ + 'id' => 99600, + 'title' => '事件源', + 'type' => 'directory', + 'children' => [ + 'ListAliyunOfficialEventSources', + 'ListUserDefinedEventSources', + 'CreateEventSource', + 'DeleteEventSource', + 'UpdateEventSource', + ], + ], + [ + 'id' => 99582, + 'title' => '事件目标', + 'type' => 'directory', + 'children' => [ + 'DeleteTargets', + 'PutTargets', + ], + ], + [ + 'id' => 99623, + 'title' => '事件规则', + 'type' => 'directory', + 'children' => [ + 'CreateRule', + 'DeleteRule', + 'DisableRule', + 'EnableRule', + 'UpdateRule', + 'GetRule', + 'ListRules', + ], + ], + [ + 'id' => 99593, + 'title' => '事件流', + 'type' => 'directory', + 'children' => [ + 'ListEventStreamings', + 'DeleteEventStreaming', + 'PauseEventStreaming', + 'StartEventStreaming', + 'GetEventStreaming', + 'UpdateEventStreaming', + 'CreateEventStreaming', + ], + ], + [ + 'id' => 177345, + 'title' => 'API端点', + 'type' => 'directory', + 'children' => [ + 'UpdateApiDestination', + 'CreateApiDestination', + 'CreateConnection', + 'DeleteApiDestination', + 'DeleteConnection', + 'GetApiDestination', + 'GetConnection', + 'ListApiDestinations', + 'ListConnections', + 'UpdateConnection', + ], + ], + [ + 'id' => 183370, + 'title' => '其他', + 'type' => 'directory', + 'children' => [ + 'CreateServiceLinkedRoleForProduct', + 'ListTargets', + 'TestEventPattern', + 'EventCenterQueryEvents', + 'CheckServiceLinkedRoleForProduct', + 'TestEventSourceConfig', + 'DiscoverEventSource', + 'UpdateEventStreamingBusinessOption', + ], + ], + ], + 'components' => [ + 'schemas' => [ + 'BaiLianAgentTransformParameters' => [ + 'title' => '百炼Agent Transform', + 'type' => 'object', + 'properties' => [ + 'ApplicationId' => [ + 'title' => '应用ID', + 'type' => 'string', + ], + 'Prompt' => [ + 'title' => '提示词', + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'title' => '模板Form', + 'type' => 'string', + ], + 'Value' => [ + 'title' => '模板Value', + 'type' => 'string', + ], + 'Template' => [ + 'title' => '模板Template', + 'type' => 'string', + ], + ], + ], + 'ApiKey' => [ + 'title' => 'ApiKey', + 'type' => 'string', + 'required' => false, + ], + 'RequestPerMinute' => [ + 'title' => '限流值(请求/分钟)', + 'type' => 'integer', + 'format' => 'int64', + ], + 'TokenPerMinute' => [ + 'title' => '限流值(Token/分钟)', + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + 'DashScopeTransformParameters' => [ + 'title' => 'DashScope Transform', + 'type' => 'object', + 'properties' => [ + 'Model' => [ + 'title' => '模型名称', + 'type' => 'string', + ], + 'ApiKey' => [ + 'title' => 'ApiKey', + 'type' => 'string', + ], + 'StructuredOutputJsonSchema' => [ + 'title' => '结构化输出Schema', + 'type' => 'string', + ], + 'RequestPerMinute' => [ + 'title' => '限流值(请求/分钟)', + 'type' => 'integer', + 'format' => 'int64', + ], + 'TokenPerMinute' => [ + 'title' => '限流值(Token/分钟)', + 'type' => 'integer', + 'format' => 'int64', + ], + 'Messages' => [ + 'title' => '提示词', + 'type' => 'array', + 'items' => [ + 'title' => '提示词', + 'type' => 'object', + 'properties' => [ + 'Role' => [ + 'title' => '角色', + 'type' => 'string', + ], + 'Form' => [ + 'title' => '模板Form', + 'type' => 'string', + ], + 'Value' => [ + 'title' => '模板Value', + 'type' => 'string', + ], + 'Template' => [ + 'title' => '模板Template', + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'EmbeddingTransformParameters' => [ + 'type' => 'object', + 'properties' => [ + 'EmbeddingModel' => [ + 'type' => 'string', + ], + 'ApiKey' => [ + 'type' => 'string', + ], + 'EmbeddingData' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'type' => 'string', + ], + 'Value' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'SinkApiDestinationParameters' => [ + 'title' => 'Sink ApiDestination参数', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'title' => 'API端点名称', + 'type' => 'string', + ], + 'HeaderParameters' => [ + 'title' => 'HTTP Header参数', + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'title' => 'Form', + 'type' => 'string', + ], + 'Value' => [ + 'title' => 'Value', + 'type' => 'string', + ], + 'Template' => [ + 'title' => 'Template', + 'type' => 'string', + ], + ], + ], + 'BodyParameters' => [ + 'title' => 'HTTP Body参数', + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'title' => 'Form', + 'type' => 'string', + ], + 'Value' => [ + 'title' => 'Value', + 'type' => 'string', + ], + 'Template' => [ + 'title' => 'Template', + 'type' => 'string', + ], + ], + ], + 'QueryStringParameters' => [ + 'title' => 'HTTP Query参数', + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'title' => 'Form', + 'type' => 'string', + ], + 'Value' => [ + 'title' => 'Value', + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'SinkBaiLianParameters' => [ + 'type' => 'object', + 'properties' => [ + 'Before' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'type' => 'string', + ], + 'Value' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + 'Context' => [ + 'type' => 'any', + ], + 'ApplicationType' => [ + 'type' => 'string', + ], + 'Op' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'type' => 'string', + ], + 'Value' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + 'Partition' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'type' => 'string', + ], + 'Value' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + 'Extend' => [ + 'type' => 'any', + ], + 'WorkspaceId' => [ + 'type' => 'string', + ], + 'After' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'type' => 'string', + ], + 'Value' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + 'Offset' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'type' => 'string', + ], + 'Value' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'SinkDataWorksTriggerParameters' => [ + 'type' => 'object', + 'properties' => [ + 'Enable' => [ + 'type' => 'string', + ], + ], + ], + 'SinkHttpsParameters' => [ + 'title' => 'Sink HTTP/HTTPS参数', + 'type' => 'object', + 'properties' => [ + 'URL' => [ + 'title' => 'HTTP/HTTPS地址', + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'title' => 'Form', + 'type' => 'string', + ], + 'Value' => [ + 'title' => 'Value', + 'type' => 'string', + ], + 'Template' => [ + 'title' => 'Template', + 'type' => 'string', + ], + ], + ], + 'Method' => [ + 'title' => 'HTTP方法', + 'type' => 'string', + ], + 'Body' => [ + 'title' => 'HTTP Body', + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'title' => 'Form', + 'type' => 'string', + ], + 'Value' => [ + 'title' => 'Value', + 'type' => 'string', + ], + 'Template' => [ + 'title' => 'Template', + 'type' => 'string', + ], + ], + ], + 'Token' => [ + 'title' => 'HTTP Token', + 'type' => 'string', + ], + 'NetworkType' => [ + 'title' => '网络类型,PrivateNetwork/PublicNetwork', + 'type' => 'string', + ], + 'VpcId' => [ + 'title' => 'vpc ID', + 'type' => 'string', + ], + 'VSwitchIds' => [ + 'title' => '交换机ID', + 'type' => 'string', + ], + 'SecurityGroupId' => [ + 'title' => '安全组', + 'type' => 'string', + ], + ], + ], + 'SinkMQTTParameters' => [ + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'type' => 'string', + ], + 'ParentTopic' => [ + 'type' => 'string', + ], + 'SubTopic' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'type' => 'string', + ], + 'Value' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + 'Payload' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'type' => 'string', + ], + 'Value' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + 'Mqtt5UserProperty' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'type' => 'string', + ], + 'Value' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'SinkOSSParameters' => [ + 'type' => 'object', + 'properties' => [ + 'BucketName' => [ + 'type' => 'string', + ], + 'RegionId' => [ + 'type' => 'string', + ], + 'Endpoint' => [ + 'type' => 'string', + ], + 'RoleArn' => [ + 'type' => 'string', + ], + 'RotateSizeBytes' => [ + 'type' => 'string', + ], + 'RotateIntervalMs' => [ + 'type' => 'string', + ], + 'PathFormat' => [ + 'type' => 'string', + ], + 'CompressionType' => [ + 'type' => 'string', + ], + 'TaskConcurrency' => [ + 'type' => 'string', + ], + 'TimeZone' => [ + 'type' => 'string', + ], + 'SSLEnabled' => [ + 'type' => 'boolean', + ], + 'ContentTransform' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'type' => 'string', + ], + 'Value' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'SinkRabbitMQMetaParameters' => [ + 'type' => 'object', + 'properties' => [ + 'InstanceType' => [ + 'type' => 'string', + ], + 'InstanceId' => [ + 'type' => 'string', + ], + 'Endpoint' => [ + 'type' => 'string', + ], + 'VirtualHostName' => [ + 'type' => 'string', + ], + 'Username' => [ + 'type' => 'string', + ], + 'Password' => [ + 'type' => 'string', + ], + 'VpcId' => [ + 'type' => 'string', + ], + 'VSwitchIds' => [ + 'type' => 'string', + ], + 'SecurityGroupId' => [ + 'type' => 'string', + ], + 'NetworkType' => [ + 'type' => 'string', + ], + ], + ], + 'SinkRabbitMQMsgSyncParameters' => [ + 'type' => 'object', + 'properties' => [ + 'InstanceType' => [ + 'type' => 'string', + ], + 'InstanceId' => [ + 'type' => 'string', + ], + 'Endpoint' => [ + 'type' => 'string', + ], + 'VirtualHostName' => [ + 'type' => 'string', + ], + 'Body' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'type' => 'string', + ], + 'Value' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + 'MessageId' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'type' => 'string', + ], + 'Value' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + 'Properties' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'type' => 'string', + ], + 'Value' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + 'Exchange' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'type' => 'string', + ], + 'Value' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + 'RoutingKey' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'type' => 'string', + ], + 'Value' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + 'MaxHops' => [ + 'type' => 'string', + ], + 'Username' => [ + 'type' => 'string', + ], + 'Password' => [ + 'type' => 'string', + ], + 'VpcId' => [ + 'type' => 'string', + ], + 'VSwitchIds' => [ + 'type' => 'string', + ], + 'SecurityGroupId' => [ + 'type' => 'string', + ], + 'NetworkType' => [ + 'type' => 'string', + ], + ], + ], + 'SourceMySQLParameters' => [ + 'type' => 'object', + 'properties' => [ + 'IncludeSchemaChanges' => [ + 'type' => 'string', + ], + 'User' => [ + 'type' => 'string', + ], + 'VSwitchIds' => [ + 'type' => 'string', + ], + 'SnapshotMode' => [ + 'type' => 'string', + ], + 'SecurityGroupId' => [ + 'type' => 'string', + ], + 'Port' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'DatabaseName' => [ + 'type' => 'string', + ], + 'VpcId' => [ + 'type' => 'string', + ], + 'NetworkType' => [ + 'type' => 'string', + ], + 'TableNames' => [ + 'type' => 'string', + ], + 'RegionId' => [ + 'type' => 'string', + ], + 'HostName' => [ + 'type' => 'string', + ], + 'Password' => [ + 'type' => 'string', + ], + ], + ], + 'SourcePostgreSQLParameters' => [ + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'type' => 'string', + ], + 'HostName' => [ + 'type' => 'string', + ], + 'Port' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'User' => [ + 'type' => 'string', + ], + 'Password' => [ + 'type' => 'string', + ], + 'DatabaseName' => [ + 'type' => 'string', + ], + 'SchemaName' => [ + 'type' => 'string', + ], + 'TableNames' => [ + 'type' => 'string', + ], + 'NetworkType' => [ + 'type' => 'string', + ], + 'VpcId' => [ + 'type' => 'string', + ], + 'VSwitchIds' => [ + 'type' => 'string', + ], + 'SecurityGroupId' => [ + 'type' => 'string', + ], + 'SnapshotMode' => [ + 'type' => 'string', + ], + ], + ], + 'SourceRabbitMQMetaParameters' => [ + 'type' => 'object', + 'properties' => [ + 'InstanceType' => [ + 'type' => 'string', + ], + 'InstanceId' => [ + 'type' => 'string', + ], + 'Endpoint' => [ + 'type' => 'string', + ], + 'VirtualHostName' => [ + 'type' => 'string', + ], + 'Regex' => [ + 'type' => 'string', + ], + 'Username' => [ + 'type' => 'string', + ], + 'Password' => [ + 'type' => 'string', + ], + 'VpcId' => [ + 'type' => 'string', + ], + 'VSwitchIds' => [ + 'type' => 'string', + ], + 'SecurityGroupId' => [ + 'type' => 'string', + ], + 'NetworkType' => [ + 'type' => 'string', + ], + 'MaxHops' => [ + 'type' => 'string', + ], + 'OrderConsume' => [ + 'type' => 'string', + ], + 'InnerNameSuffix' => [ + 'type' => 'string', + ], + ], + ], + 'SourceRabbitMQMsgSyncParameters' => [ + 'type' => 'object', + 'properties' => [ + 'InstanceType' => [ + 'type' => 'string', + ], + 'InstanceId' => [ + 'type' => 'string', + ], + 'Endpoint' => [ + 'type' => 'string', + ], + 'VirtualHostName' => [ + 'type' => 'string', + ], + 'OrderConsume' => [ + 'type' => 'string', + ], + 'BodyDataType' => [ + 'type' => 'string', + ], + 'PrefetchCount' => [ + 'type' => 'string', + ], + 'Username' => [ + 'type' => 'string', + ], + 'Password' => [ + 'type' => 'string', + ], + 'VpcId' => [ + 'type' => 'string', + ], + 'VSwitchIds' => [ + 'type' => 'string', + ], + 'SecurityGroupId' => [ + 'type' => 'string', + ], + 'NetworkType' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'apis' => [ + 'CreateEventBus' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeCode' => '38582', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeHELDSX', + ], + ], + 'parameters' => [ + [ + 'name' => 'EventBusName', + 'in' => 'query', + 'schema' => [ + 'description' => '事件总线名称。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'MyEventBus', + 'maxLength' => 127, + 'minLength' => 2, + ], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => [ + 'description' => '描述信息', + 'type' => 'string', + 'required' => false, + 'example' => 'demo', + 'maxLength' => 255, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '错误信息', + 'type' => 'string', + 'example' => 'The event bus [xxxx] not existed!', + ], + 'RequestId' => [ + 'description' => '阿里云为该请求生成的唯一标识符。', + 'type' => 'string', + 'example' => 'A995F07C-E503-5881-9962-9CECA8566876', + ], + 'Data' => [ + 'description' => '返回数据', + 'type' => 'object', + 'properties' => [ + 'EventBusARN' => [ + 'description' => '事件总线在阿里云上的统一资源标识(ARN)。', + 'type' => 'string', + 'example' => 'acs:eventbridge:cn-hangzhou:123456789098****:eventbus/MyEventBus ', + ], + ], + ], + 'Code' => [ + 'description' => '接口返回码:Success:表示成功。 其它:表示错误码。错误码详情,请参见错误码。', + 'type' => 'string', + 'example' => 'Success', + ], + 'Success' => [ + 'description' => '是否调用成功:true:调用成功。', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"The event bus [xxxx] not existed!\\",\\n \\"RequestId\\": \\"A995F07C-E503-5881-9962-9CECA8566876\\",\\n \\"Data\\": {\\n \\"EventBusARN\\": \\"acs:eventbridge:cn-hangzhou:123456789098****:eventbus/MyEventBus\\\\t\\"\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => '创建一个事件总线', + 'summary' => '创建一个事件总线。', + 'description' => '创建一个事件总线。', + ], + 'DeleteEventBus' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'abilityTreeCode' => '38578', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeHELDSX', + ], + ], + 'parameters' => [ + [ + 'name' => 'EventBusName', + 'in' => 'query', + 'schema' => [ + 'description' => '事件总线名称。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'MyEventBus', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '错误信息', + 'type' => 'string', + 'example' => 'EventBusNotExist', + ], + 'RequestId' => [ + 'description' => '阿里云为该请求生成的唯一标识符。', + 'type' => 'string', + 'example' => 'C229E140-1A5C-5D55-8904-CFC5BA4CAA98', + ], + 'Data' => [ + 'type' => 'boolean', + ], + 'Code' => [ + 'description' => '接口返回码:200:表示成功。 其它:表示错误码。错误码详情,请参见错误码。', + 'type' => 'string', + 'example' => '200', + ], + 'Success' => [ + 'description' => '操作成功返回true。', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"EventBusNotExist\\",\\n \\"RequestId\\": \\"C229E140-1A5C-5D55-8904-CFC5BA4CAA98\\",\\n \\"Data\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => '删除一个事件总线', + 'summary' => '删除一个事件总线。', + 'description' => '删除一个事件总线。', + ], + 'UpdateEventBus' => [ + 'summary' => '修改事件总线。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '38610', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeHELDSX', + ], + ], + 'parameters' => [ + [ + 'name' => 'EventBusName', + 'in' => 'query', + 'schema' => [ + 'description' => '事件总线名称。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'eventTest', + 'maxLength' => 127, + 'minLength' => 2, + ], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => [ + 'description' => '描述信息。', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + 'maxLength' => 255, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '错误信息。', + 'type' => 'string', + 'example' => 'The event bus [xxxx] not existed!', + ], + 'RequestId' => [ + 'description' => '阿里云为该请求生成的唯一标识符。', + 'type' => 'string', + 'example' => 'f2099962-1628-45f1-9782-2bf6daad823f', + ], + 'Code' => [ + 'description' => '接口返回码:'."\n" + .'- Success:表示成功。 '."\n" + .'- 其它:表示错误码。错误码详情,请参见错误码。', + 'type' => 'string', + 'example' => 'Success', + ], + 'Success' => [ + 'description' => '操作成功返回true。', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"The event bus [xxxx] not existed!\\",\\n \\"RequestId\\": \\"f2099962-1628-45f1-9782-2bf6daad823f\\",\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => '修改事件总线', + 'description' => '修改事件总线。', + ], + 'GetEventBus' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '38576', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeHELDSX', + ], + ], + 'parameters' => [ + [ + 'name' => 'EventBusName', + 'in' => 'query', + 'schema' => [ + 'description' => '事件总线名称。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'MyEventBus', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '错误信息', + 'type' => 'string', + 'example' => 'EventBusNotExist', + ], + 'RequestId' => [ + 'description' => '请求id', + 'type' => 'string', + 'example' => 'd5bfc188-4452-4ba7-b73a-a9005e522439', + ], + 'Data' => [ + 'description' => '返回结果', + 'type' => 'object', + 'properties' => [ + 'EventBusARN' => [ + 'description' => '事件总线在阿里云上的统一资源标识(ARN)。', + 'type' => 'string', + 'example' => 'acs:eventbridge:cn-hangzhou:123456789098****:eventbus/MyEventBus', + ], + 'EventBusName' => [ + 'description' => '事件总线名称。', + 'type' => 'string', + 'example' => 'MyEventBus', + ], + 'Description' => [ + 'description' => '事件总线的描述', + 'type' => 'string', + 'example' => 'demo', + ], + 'CreateTimestamp' => [ + 'description' => '创建时间戳', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1641781825000', + ], + ], + ], + 'Code' => [ + 'description' => '接口返回码:Success:表示成功。 其它:表示错误码。错误码详情,请参见错误码。', + 'type' => 'string', + 'example' => 'Success', + ], + 'Success' => [ + 'description' => '操作成功返回true。', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"EventBusNotExist\\",\\n \\"RequestId\\": \\"d5bfc188-4452-4ba7-b73a-a9005e522439\\",\\n \\"Data\\": {\\n \\"EventBusARN\\": \\"acs:eventbridge:cn-hangzhou:123456789098****:eventbus/MyEventBus\\",\\n \\"EventBusName\\": \\"MyEventBus\\",\\n \\"Description\\": \\"demo\\",\\n \\"CreateTimestamp\\": 1641781825000\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => '获取一个事件总线的详细信息', + 'summary' => '获取一个事件总线的详细信息。', + 'description' => '获取一个事件总线的详细信息。', + ], + 'ListEventBuses' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '38647', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeHELDSX', + ], + ], + 'parameters' => [ + [ + 'name' => 'NamePrefix', + 'in' => 'query', + 'schema' => [ + 'description' => '检索的事件总线名称前缀。', + 'type' => 'string', + 'required' => false, + 'example' => 'My', + ], + ], + [ + 'name' => 'Limit', + 'in' => 'query', + 'schema' => [ + 'description' => '限定每次返回的最大条数,可以和NextToken搭配使用实现翻页能力。'."\n" + ."\n" + .'><notice>每次返回的最大条数不超过100。></notice>', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'description' => '当指定Limit时,如果还有多余的返回值则会返回NextToken。用户可以使用返回的NextToken配合Limit实现分页效果。', + 'type' => 'string', + 'required' => false, + 'example' => '10', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '错误信息。', + 'type' => 'string', + 'example' => 'InvalidArgument', + ], + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'D1DCF64A-3F2C-5323-ADCB-3F4DF30F****', + ], + 'Data' => [ + 'description' => '返回结果。', + 'type' => 'object', + 'properties' => [ + 'EventBuses' => [ + 'description' => '查询到的事件总线(EventBus)列表。', + 'type' => 'array', + 'items' => [ + 'description' => '查询到的事件总线数据结构。', + 'type' => 'object', + 'properties' => [ + 'EventBusARN' => [ + 'description' => '事件总线在阿里云上的统一资源标识(ARN)。', + 'type' => 'string', + 'example' => 'acs:eventbridge:cn-hangzhou:12345678909****:eventbus/default', + ], + 'EventBusName' => [ + 'description' => '事件总线的名称。', + 'type' => 'string', + 'example' => 'default', + ], + 'Description' => [ + 'description' => '描述信息。', + 'type' => 'string', + 'example' => 'bus_description', + ], + 'CreateTimestamp' => [ + 'description' => '创建时间戳。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1607071602000', + ], + ], + ], + ], + 'NextToken' => [ + 'description' => '如果还有多余的返回值则会返回NextToken。', + 'type' => 'string', + 'example' => '10', + ], + 'Total' => [ + 'description' => '总条数。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + ], + ], + ], + 'Code' => [ + 'description' => '接口返回码:'."\n" + .'- Success:表示成功。 '."\n" + .'- 其它:表示错误码。错误码详情,请参见错误码。', + 'type' => 'string', + 'example' => '200', + ], + 'Success' => [ + 'description' => '操作成功返回true。', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"InvalidArgument\\",\\n \\"RequestId\\": \\"D1DCF64A-3F2C-5323-ADCB-3F4DF30F****\\",\\n \\"Data\\": {\\n \\"EventBuses\\": [\\n {\\n \\"EventBusARN\\": \\"acs:eventbridge:cn-hangzhou:12345678909****:eventbus/default\\",\\n \\"EventBusName\\": \\"default\\",\\n \\"Description\\": \\"bus_description\\",\\n \\"CreateTimestamp\\": 1607071602000\\n }\\n ],\\n \\"NextToken\\": \\"10\\",\\n \\"Total\\": 2\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => '查询所有事件总线', + 'summary' => '查询所有事件总线。', + 'description' => '查询所有事件总线。', + ], + 'QueryEvent' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '38577', + 'abilityTreeNodes' => [ + 'FEATUREeventbridge6VIARK', + ], + ], + 'parameters' => [ + [ + 'name' => 'EventBusName', + 'in' => 'query', + 'schema' => [ + 'description' => '事件总线的名称。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'demo', + ], + ], + [ + 'name' => 'EventId', + 'in' => 'query', + 'schema' => [ + 'description' => '事件ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '1935debf-ddac-49dc-a090-d4f2857a046d', + ], + ], + [ + 'name' => 'EventSource', + 'in' => 'query', + 'schema' => [ + 'description' => '事件源名称。'."\n" + ."\n" + .'- 查询default总线事件时,需填写EventSource参数。', + 'type' => 'string', + 'required' => false, + 'example' => 'testEventSourceName', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '错误信息。', + 'type' => 'string', + 'example' => 'EventBusNotExist', + ], + 'RequestId' => [ + 'description' => '阿里云为该请求生成的唯一标识符。', + 'type' => 'string', + 'example' => '580A938B-6107-586C-8EC7-F22EEBEDA9E6', + ], + 'Data' => [ + 'description' => 'CloudEvent事件内容。', + 'type' => 'object', + ], + 'Code' => [ + 'description' => '接口返回码:'."\n" + ."\n" + .'200:表示成功。 '."\n" + ."\n" + .'其它:表示错误码。错误码详情,请参见错误码。', + 'type' => 'string', + 'example' => '200', + ], + 'Success' => [ + 'description' => '操作成功返回true。', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"EventBusNotExist\\",\\n \\"RequestId\\": \\"580A938B-6107-586C-8EC7-F22EEBEDA9E6\\",\\n \\"Data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => '查询事件内容', + 'summary' => '查询事件内容。', + 'description' => '查询事件内容。', + ], + 'QueryEventTraces' => [ + 'summary' => '查询事件轨迹。', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '38633', + 'abilityTreeNodes' => [ + 'FEATUREeventbridge6VIARK', + ], + ], + 'parameters' => [ + [ + 'name' => 'EventBusName', + 'in' => 'query', + 'schema' => [ + 'description' => '事件总线的名称。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'MyEventBus', + ], + ], + [ + 'name' => 'EventId', + 'in' => 'query', + 'schema' => [ + 'description' => '事件ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '1935debf-ddac-49dc-a090-d4f2857a046d'."\n", + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '错误信息。', + 'type' => 'string', + 'example' => 'EventBusNotExist', + ], + 'RequestId' => [ + 'description' => '阿里云为该请求生成的唯一标识符。', + 'type' => 'string', + 'example' => 'BB934571-1F5A-5E17-91DD-E2BC3E1BFBFF', + ], + 'Data' => [ + 'description' => '事件轨迹信息。', + 'type' => 'array', + 'items' => [ + 'description' => '事件轨迹信息。', + 'type' => 'object', + 'properties' => [ + 'Action' => [ + 'description' => '事件轨迹类型。取值说明如下:'."\n" + .'PutEvent:投递事件。'."\n" + .'FilterEvent:过滤事件。'."\n" + .'PushEvent:推送事件。', + 'type' => 'string', + 'example' => 'PutEvent', + ], + 'ReceivedTime' => [ + 'description' => '事件投递到总线的时间。Action取值为PutEvent时的EventTrace属性。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1659495343896', + ], + 'RuleMatchingTime' => [ + 'description' => '事件规则匹配通过时间。Action取值为FilterEvent时的EventTrace属性。', + 'type' => 'string', + 'example' => '1659495343896', + ], + 'ActionTime' => [ + 'description' => '轨迹事件执行时间。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1659495343896', + ], + 'NotifyStatus' => [ + 'description' => '事件目标投递状态', + 'type' => 'string', + 'example' => '[200]Ok', + ], + 'RuleName' => [ + 'description' => '事件规则的名称', + 'type' => 'string', + 'example' => 'ramrolechange-mns', + ], + 'EventId' => [ + 'description' => '事件ID。', + 'type' => 'string', + 'example' => 'a5747e4f-2af2-40b6-b262-d0140e995bf7', + ], + 'EventBusName' => [ + 'description' => '事件总线的名称。', + 'type' => 'string', + 'example' => 'demo', + ], + 'Endpoint' => [ + 'description' => '事件目标的接入点。Action取值为PushEvent时的EventTrace属性。', + 'type' => 'string', + 'example' => 'acs:mns:cn-zhangjiakou:123456789098****:queues/testQueue', + ], + 'NotifyLatency' => [ + 'description' => '事件目标投递延迟。Action取值为PushEvent时的EventTrace属性。', + 'type' => 'string', + 'example' => '80', + ], + 'NotifyTime' => [ + 'description' => '事件目标投递时间。Action取值为PushEvent时的EventTrace属性。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1659495343896', + ], + 'EventSource' => [ + 'description' => '事件源名称。', + 'type' => 'string', + 'example' => 'cert-api', + ], + ], + ], + ], + 'Code' => [ + 'description' => '接口返回码:'."\n" + ."\n" + .'200:表示成功。 '."\n" + ."\n" + .'其它:表示错误码。错误码详情,请参见错误码。', + 'type' => 'string', + 'example' => '200', + ], + 'Success' => [ + 'description' => '操作成功返回true。', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"EventBusNotExist\\",\\n \\"RequestId\\": \\"BB934571-1F5A-5E17-91DD-E2BC3E1BFBFF\\",\\n \\"Data\\": [\\n {\\n \\"Action\\": \\"PutEvent\\",\\n \\"ReceivedTime\\": 1659495343896,\\n \\"RuleMatchingTime\\": \\"1659495343896\\",\\n \\"ActionTime\\": 1659495343896,\\n \\"NotifyStatus\\": \\"[200]Ok\\",\\n \\"RuleName\\": \\"ramrolechange-mns\\",\\n \\"EventId\\": \\"a5747e4f-2af2-40b6-b262-d0140e995bf7\\",\\n \\"EventBusName\\": \\"demo\\",\\n \\"Endpoint\\": \\"acs:mns:cn-zhangjiakou:123456789098****:queues/testQueue\\",\\n \\"NotifyLatency\\": \\"80\\",\\n \\"NotifyTime\\": 1659495343896,\\n \\"EventSource\\": \\"cert-api\\"\\n }\\n ],\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => '查询事件轨迹推送详情', + 'description' => '查询事件轨迹。', + ], + 'QueryTracedEventByEventId' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '38615', + 'abilityTreeNodes' => [ + 'FEATUREeventbridge6VIARK', + ], + ], + 'parameters' => [ + [ + 'name' => 'EventBusName', + 'in' => 'query', + 'schema' => [ + 'description' => '事件总线的名称。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'demo', + ], + ], + [ + 'name' => 'EventSource', + 'in' => 'query', + 'schema' => [ + 'description' => '事件源名称。', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'mse', + ], + ], + [ + 'name' => 'EventId', + 'in' => 'query', + 'schema' => [ + 'description' => '事件ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '1935debf-ddac-49dc-a090-d4f2857a046d', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '错误信息。', + 'type' => 'string', + 'example' => 'EventBusNotExist', + ], + 'RequestId' => [ + 'description' => '阿里云为该请求生成的唯一标识符。', + 'type' => 'string', + 'example' => 'A5D7B9F4-BF96-51A9-90B1-928955FABB5B', + ], + 'Data' => [ + 'description' => '查询结果。', + 'type' => 'array', + 'items' => [ + 'description' => '事件轨迹信息。', + 'type' => 'object', + 'properties' => [ + 'NextToken' => [ + 'description' => '如果还有多余的返回值则会返回NextToken。', + 'type' => 'string', + 'example' => '1000', + ], + 'Events' => [ + 'description' => '事件信息', + 'type' => 'array', + 'items' => [ + 'description' => '事件信息', + 'type' => 'object', + 'properties' => [ + 'EventId' => [ + 'description' => '事件ID。', + 'type' => 'string', + 'example' => '37C-1P6Yn6EM7TcH37Vod8w7rbSeimJ', + ], + 'EventBusName' => [ + 'description' => '事件总线的名称。', + 'type' => 'string', + 'example' => 'default', + ], + 'EventReceivedTime' => [ + 'description' => '事件投递到总线的时间。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1661773573100', + ], + 'EventSource' => [ + 'description' => '事件源的名称。', + 'type' => 'string', + 'example' => 'cert-api', + ], + 'EventType' => [ + 'description' => '事件类型。', + 'type' => 'string', + 'example' => 'eventbridge:Events:HTTPEvent', + ], + ], + ], + ], + 'Total' => [ + 'description' => '总条数', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '18', + ], + ], + ], + ], + 'Code' => [ + 'description' => '接口返回码:'."\n" + ."\n" + .'Success:表示成功。 '."\n" + ."\n" + .'其它:表示错误码。错误码详情,请参见错误码。', + 'type' => 'string', + 'example' => '200', + ], + 'Success' => [ + 'description' => '操作成功返回true。', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"EventBusNotExist\\",\\n \\"RequestId\\": \\"A5D7B9F4-BF96-51A9-90B1-928955FABB5B\\",\\n \\"Data\\": [\\n {\\n \\"NextToken\\": \\"1000\\",\\n \\"Events\\": [\\n {\\n \\"EventId\\": \\"37C-1P6Yn6EM7TcH37Vod8w7rbSeimJ\\",\\n \\"EventBusName\\": \\"default\\",\\n \\"EventReceivedTime\\": 1661773573100,\\n \\"EventSource\\": \\"cert-api\\",\\n \\"EventType\\": \\"eventbridge:Events:HTTPEvent\\"\\n }\\n ],\\n \\"Total\\": 18\\n }\\n ],\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => '获取事件轨迹基本信息', + 'summary' => '通过EventId查询事件轨迹。', + 'description' => '通过EventId查询事件轨迹。', + ], + 'QueryTracedEvents' => [ + 'summary' => '通过时间范围查询事件轨迹。', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '38619', + 'abilityTreeNodes' => [ + 'FEATUREeventbridge6VIARK', + ], + ], + 'parameters' => [ + [ + 'name' => 'EventBusName', + 'in' => 'query', + 'schema' => [ + 'description' => '事件总线的名称。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'MyEventBus', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => '检索到事件的开始时间。单位为:ms', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'docRequired' => true, + 'example' => '1661773509000', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'description' => '检索到事件的结束时间。单位为:ms', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'docRequired' => true, + 'example' => '1661773509000', + ], + ], + [ + 'name' => 'Limit', + 'in' => 'query', + 'schema' => [ + 'description' => '限定每次返回的最大条数,可以和NextToken搭配使用实现翻页能力。'."\n" + .'><notice>每次返回的最大条数不超过100。></notice>', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '50', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'description' => '当指定Limit时,如果还有多余的返回值则会返回NextToken。', + 'type' => 'string', + 'required' => false, + 'example' => '1000', + ], + ], + [ + 'name' => 'EventSource', + 'in' => 'query', + 'schema' => [ + 'description' => '事件源名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'mse', + ], + ], + [ + 'name' => 'Subject', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'EventType', + 'in' => 'query', + 'schema' => [ + 'description' => '事件类型。', + 'type' => 'string', + 'required' => false, + 'example' => 'eventbridge:Events:HTTPEvent', + ], + ], + [ + 'name' => 'MatchedRule', + 'in' => 'query', + 'schema' => [ + 'description' => '匹配的规则名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'test-mnsrule', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '错误信息。', + 'type' => 'string', + 'example' => 'EventBusNotExist', + ], + 'RequestId' => [ + 'description' => '阿里云为该请求生成的唯一标识符。', + 'type' => 'string', + 'example' => 'd9e4628b-8b34-4f33-82be-5aac50aac0ba', + ], + 'Data' => [ + 'description' => '返回数据。', + 'type' => 'object', + 'properties' => [ + 'NextToken' => [ + 'description' => '如果还有多余的返回值则会返回NextToken。', + 'type' => 'string', + 'example' => '1000', + ], + 'Events' => [ + 'description' => '事件列表。', + 'type' => 'array', + 'items' => [ + 'description' => '事件信息。', + 'type' => 'object', + 'properties' => [ + 'EventId' => [ + 'description' => '事件ID。', + 'type' => 'string', + 'example' => '07E-1OCckaVzNB92BIFFh4xgydOF1wd', + ], + 'EventBusName' => [ + 'description' => '事件总线的名称。', + 'type' => 'string', + 'example' => 'test-custom-bus', + ], + 'EventReceivedTime' => [ + 'description' => '事件投递到总线的时间。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1661773573100', + ], + 'EventSource' => [ + 'description' => '事件源名称。', + 'type' => 'string', + 'example' => 'acs.resourcemanager', + ], + 'EventType' => [ + 'description' => '事件类型。', + 'type' => 'string', + 'example' => 'eventbridge:Events:HTTPEvent', + ], + ], + ], + ], + 'Total' => [ + 'description' => '总条数。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '6', + ], + ], + ], + 'Code' => [ + 'description' => '接口返回码:'."\n" + ."\n" + .'- Success:表示成功。 '."\n" + ."\n" + .'- 其它:表示错误码。错误码详情,请参见错误码。', + 'type' => 'string', + 'example' => '200', + ], + 'Success' => [ + 'description' => '操作成功返回true。', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"EventBusNotExist\\",\\n \\"RequestId\\": \\"d9e4628b-8b34-4f33-82be-5aac50aac0ba\\",\\n \\"Data\\": {\\n \\"NextToken\\": \\"1000\\",\\n \\"Events\\": [\\n {\\n \\"EventId\\": \\"07E-1OCckaVzNB92BIFFh4xgydOF1wd\\",\\n \\"EventBusName\\": \\"test-custom-bus\\",\\n \\"EventReceivedTime\\": 1661773573100,\\n \\"EventSource\\": \\"acs.resourcemanager\\",\\n \\"EventType\\": \\"eventbridge:Events:HTTPEvent\\"\\n }\\n ],\\n \\"Total\\": 6\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => '通过时间范围查询事件轨迹', + 'description' => '通过时间范围查询事件轨迹。', + ], + 'ListAliyunOfficialEventSources' => [ + 'summary' => '查询所有阿里云官方事件源。', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '43188', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeR7SE45', + ], + ], + 'parameters' => [], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '错误信息。', + 'type' => 'string', + 'example' => 'InvalidArgument', + ], + 'RequestId' => [ + 'description' => '阿里云为该请求生成的唯一标识符。', + 'type' => 'string', + 'example' => '5f80e9b3-98d5-4f51-8412-c758818a03e4', + ], + 'Data' => [ + 'description' => '返回结果。', + 'type' => 'object', + 'properties' => [ + 'EventSourceList' => [ + 'description' => '事件源列表。', + 'type' => 'array', + 'items' => [ + 'description' => '事件源数据结构。', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '查询到的事件源名称。', + 'type' => 'string', + 'example' => 'acs.arms', + ], + 'FullName' => [ + 'description' => '全名。', + 'type' => 'string', + 'example' => '应用事实监控', + ], + 'Arn' => [ + 'description' => '事件总线在阿里云上的统一资源标识(ARN)。', + 'type' => 'string', + 'example' => 'acs:eventbridge:cn-hangzhou:SYSTEM:eventbus/default/eventsource/acs.arms', + ], + 'Status' => [ + 'description' => '查询到的事件源的状态。取值说明如下:'."\n" + ."\n" + .'- **Activated**:激活状态。', + 'type' => 'string', + 'example' => 'Activated', + ], + 'Type' => [ + 'description' => '查询到的事件类型的名称。', + 'type' => 'string', + 'example' => 'AliyunOfficial', + ], + 'Ctime' => [ + 'description' => '查询到的事件源的创建时间。单位为毫秒级。', + 'type' => 'number', + 'format' => 'float', + 'example' => '1602730025890', + ], + 'Description' => [ + 'description' => '查询到的事件源的描述。', + 'type' => 'string', + 'example' => '云服务器ECS', + ], + 'EventTypes' => [ + 'description' => '事件类型列表。', + 'type' => 'array', + 'items' => [ + 'description' => '事件类型数据结构。', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '查询到的事件类型的全名。', + 'type' => 'string', + 'example' => 'arms:ActionTrail:AliyunServiceEvent', + ], + 'ShortName' => [ + 'description' => '查询到的事件类型的短名称。', + 'type' => 'string', + 'example' => 'AliyunServiceEven', + ], + 'GroupName' => [ + 'description' => '查询到的事件类型所属群组的名称。', + 'type' => 'string', + 'example' => 'ActionTrail', + ], + 'EventSourceName' => [ + 'description' => '事件源名称。', + 'type' => 'string', + 'example' => 'acs.arms', + ], + ], + ], + ], + 'EventBusName' => [ + 'description' => '查询到的事件类型所属事件源的名称。', + 'type' => 'string', + 'example' => 'default', + ], + ], + ], + ], + ], + ], + 'Code' => [ + 'description' => '接口返回码。'."\n" + ."\n" + .'- **Success**:表示成功。'."\n" + .'- **其它**:表示错误码。错误码详情,请参见错误码。', + 'type' => 'string', + 'example' => 'Success', + ], + 'Success' => [ + 'description' => '操作成功返回true。', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"InvalidArgument\\",\\n \\"RequestId\\": \\"5f80e9b3-98d5-4f51-8412-c758818a03e4\\",\\n \\"Data\\": {\\n \\"EventSourceList\\": [\\n {\\n \\"Name\\": \\"acs.arms\\",\\n \\"FullName\\": \\"应用事实监控\\",\\n \\"Arn\\": \\"acs:eventbridge:cn-hangzhou:SYSTEM:eventbus/default/eventsource/acs.arms\\",\\n \\"Status\\": \\"Activated\\",\\n \\"Type\\": \\"AliyunOfficial\\",\\n \\"Ctime\\": 1602730025890,\\n \\"Description\\": \\"云服务器ECS\\",\\n \\"EventTypes\\": [\\n {\\n \\"Name\\": \\"arms:ActionTrail:AliyunServiceEvent\\",\\n \\"ShortName\\": \\"AliyunServiceEven\\",\\n \\"GroupName\\": \\"ActionTrail\\",\\n \\"EventSourceName\\": \\"acs.arms\\"\\n }\\n ],\\n \\"EventBusName\\": \\"default\\"\\n }\\n ]\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => '查询所有阿里云官方事件源', + 'description' => '查询所有阿里云官方事件源。', + ], + 'ListUserDefinedEventSources' => [ + 'summary' => '查询所有外部事件源。', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '43251', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeR7SE45', + ], + ], + 'parameters' => [ + [ + 'name' => 'NamePrefix', + 'in' => 'query', + 'schema' => [ + 'description' => '事件源名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'testName', + ], + ], + [ + 'name' => 'EventBusName', + 'in' => 'query', + 'schema' => [ + 'description' => '事件总线名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'testBus', + ], + ], + [ + 'name' => 'Limit', + 'in' => 'query', + 'schema' => [ + 'description' => '限定每次返回的最大条数,可以和NextToken搭配使用实现翻页能力。'."\n" + .'注意每次返回的最大条数不超过100。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '50', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'description' => '当指定Limit时,如果还有多余的返回值则会返回NextToken。', + 'type' => 'string', + 'required' => false, + 'example' => '100', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '错误信息。', + 'type' => 'string', + 'example' => 'InvalidArgument', + ], + 'RequestId' => [ + 'description' => '阿里云为该请求生成的唯一标识符。', + 'type' => 'string', + 'example' => '5169654A-7059-57E3-BFD9-33C7E012****', + ], + 'Data' => [ + 'description' => '返回数据。', + 'type' => 'object', + 'properties' => [ + 'NextToken' => [ + 'description' => '当指定 Limit 时,如果还有多余的返回值则会返回 NextToken。', + 'type' => 'string', + 'example' => '100', + ], + 'Total' => [ + 'description' => '总条数', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '18', + ], + 'EventSourceList' => [ + 'description' => '事件源列表。', + 'type' => 'array', + 'items' => [ + 'description' => '事件源数据结构。', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '查询到的事件源的名称。', + 'type' => 'string', + 'example' => 'rocketmq.source', + ], + 'Arn' => [ + 'description' => '查询到的事件源在阿里云上的统一资源标识(ARN)。', + 'type' => 'string', + 'example' => 'acs:eventbridge:cn-hangzhou:164901546557****:eventbus/my-event-bus/eventsource/myRocketMQ.source', + ], + 'Status' => [ + 'description' => '查询到的事件源的状态。'."\n" + .'取值说明如下:'."\n" + .'Activated:激活状态', + 'type' => 'string', + 'example' => 'Activated', + ], + 'Type' => [ + 'description' => '查询到的事件源的类型。'."\n" + .'取值说明如下:'."\n" + .'UserDefined:外部事件源', + 'type' => 'string', + 'example' => 'UserDefined', + ], + 'Ctime' => [ + 'description' => '创建时间戳。', + 'type' => 'number', + 'format' => 'float', + 'example' => '1607071602000', + ], + 'ExternalSourceType' => [ + 'description' => '事件来源类型。', + 'type' => 'string', + 'example' => 'RabbitMQ', + ], + 'EventBusName' => [ + 'description' => '事件总线的名称。', + 'type' => 'string', + 'example' => 'test-custom-bus', + ], + 'SourceMNSParameters' => [ + 'description' => '轻量消息队列(原 MNS)事件源参数。', + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'description' => '轻量消息队列(原 MNS)的队列所在的地域。', + 'type' => 'string', + 'example' => 'cn-hangzhou', + ], + 'QueueName' => [ + 'description' => '轻量消息队列(原 MNS)的Queue的名称。', + 'type' => 'string', + 'example' => 'queue.openapi-sign-callback', + ], + 'IsBase64Decode' => [ + 'description' => '是否开启Base64解码。默认为勾选,即开启Base64解码。', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + 'SourceRocketMQParameters' => [ + 'description' => '请求参数SourceRocketMQParameters。', + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'description' => '消息队列RocketMQ版的实例所属地域。', + 'type' => 'string', + 'example' => 'cn-shenzhen', + ], + 'InstanceId' => [ + 'description' => '消息队列RocketMQ版的实例ID。更多信息,请参见[使用限制](~~163289~~)。', + 'type' => 'string', + 'example' => 'bastionhost-cn-7mz293s9d1p', + ], + 'Topic' => [ + 'description' => '消息队列RocketMQ版实例的Topic名称。更多信息,请参见[使用限制](~~163289~~)。', + 'type' => 'string', + 'example' => 'migration_instance', + ], + 'Tag' => [ + 'description' => '消息的过滤标签。', + 'type' => 'string', + 'example' => 'dataact', + ], + 'Offset' => [ + 'description' => '消息的消费位点。取值说明如下:'."\n" + ."\n" + .'- CONSUME_FROM_LAST_OFFSET:从最新位点开始消费。'."\n" + ."\n" + .'- CONSUME_FROM_FIRST_OFFSET:从最早位点开始消费。'."\n" + ."\n" + .'- CONSUME_FROM_TIMESTAMP:从指定时间点的位点开始消费。'."\n" + ."\n" + .'默认值:CONSUME_FROM_LAST_OFFSET。', + 'type' => 'string', + 'example' => 'CONSUMEFROMLASTOFFSET', + ], + 'Timestamp' => [ + 'description' => '时间戳。仅当参数Offset取值为CONSUME_FROM_TIMESTAMP时,该参数有效。', + 'type' => 'number', + 'format' => 'float', + 'example' => '1664591760', + ], + 'GroupId' => [ + 'description' => '消息队列RocketMQ版的Group ID。', + 'type' => 'string', + 'example' => 'GID-test', + ], + 'InstanceType' => [ + 'description' => '实例类型。只能填写CLOUD_4(云上4.0实例)、CLOUD_5(云上5.0实例)和SELF_BUILT(自建MQ)。', + 'type' => 'string', + 'example' => 'CLOUD_5', + ], + 'InstanceNetwork' => [ + 'description' => '实例网络。', + 'type' => 'string', + 'example' => 'PublicNetwork', + ], + 'InstanceVpcId' => [ + 'description' => '专有网络VPC的ID。', + 'type' => 'string', + 'example' => 'vpc-***', + ], + 'InstanceVSwitchIds' => [ + 'description' => '交换机ID。', + 'type' => 'string', + 'example' => 'vsw-bp1iu***', + ], + 'InstanceSecurityGroupId' => [ + 'description' => '安全组ID。', + 'type' => 'string', + 'example' => 'eb-167adad548***', + ], + 'AuthType' => [ + 'description' => 'ACL或者不填。', + 'type' => 'string', + 'example' => 'ACL', + ], + 'InstanceEndpoint' => [ + 'description' => '实例接入点。', + 'type' => 'string', + 'example' => 'registry-vpc.cn-hangzhou.aliyuncs.com', + ], + 'InstanceUsername' => [ + 'description' => '实例用户名。', + 'type' => 'string', + 'example' => 'root', + ], + 'InstancePassword' => [ + 'description' => '实例密码。', + 'type' => 'string', + 'example' => '***', + ], + ], + ], + 'SourceRabbitMQParameters' => [ + 'description' => '请求参数SourceRabbitMQParameters。', + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'description' => '消息队列RabbitMQ版实例所在的地域。', + 'type' => 'string', + 'example' => 'cn-hangzhou', + ], + 'InstanceId' => [ + 'description' => '消息队列RabbitMQ版的实例的ID。更多信息,请参见[使用限制](~~163289~~)。', + 'type' => 'string', + 'example' => 'bastionhost-cn-0ju2x28fj07', + ], + 'VirtualHostName' => [ + 'description' => '消息队列RabbitMQ版实例的Vhost的名称。更多信息,请参见[使用限制](~~163289~~)。', + 'type' => 'string', + 'example' => 'eb-connect', + ], + 'QueueName' => [ + 'description' => '消息队列RabbitMQ版实例的Queue的名称。更多信息,请参见[使用限制](~~163289~~)。', + 'type' => 'string', + 'example' => 'file-upload-queue', + ], + ], + ], + 'SourceSLSParameters' => [ + 'description' => '请求参数SourceSLSParameters。', + 'type' => 'object', + 'properties' => [ + 'Project' => [ + 'description' => '日志服务SLS的日志项目。', + 'type' => 'string', + 'example' => 'VideoTestProject', + ], + 'LogStore' => [ + 'description' => '日志服务SLS的日志库。', + 'type' => 'string', + 'example' => 'cloudfirewall-logstore', + ], + 'ConsumePosition' => [ + 'description' => '起始消费位点,可以选择最早或最新位点,分别对应“begin”,“end”,也可以从指定时间开始消费,以秒为单位。', + 'type' => 'string', + 'example' => 'end', + ], + 'RoleName' => [ + 'description' => '授权事件总线EventBridge使用此角色读取SLS日志内容时,需满足条件:在RAM控制台创建服务所使用的角色时,需要选择“阿里云服务”,并且“受信服务”需要选择“事件总线”。此角色权限策略可参考自定义事件源日志服务SLS。', + 'type' => 'string', + 'example' => 'testRole', + ], + ], + ], + 'SourceHttpEventParameters' => [ + 'description' => '请求参数SourceHttpEventParameters。', + 'type' => 'object', + 'properties' => [ + 'Type' => [ + 'description' => '生成的Webhook支持的协议类型。取值说明如下:'."\n" + ."\n" + .'- HTTP'."\n" + ."\n" + .'- HTTPS'."\n" + ."\n" + .'- HTTP&HTTPS', + 'type' => 'string', + 'example' => 'HTTPS', + ], + 'Method' => [ + 'description' => '生成的Webhook支持的HTTP请求方法。可多选,可选范围如下:'."\n" + ."\n" + .'- GET'."\n" + ."\n" + .'- POST'."\n" + ."\n" + .'- PUT'."\n" + ."\n" + .'- PATCH'."\n" + ."\n" + .'- DELETE'."\n" + ."\n" + .'- HEAD'."\n" + ."\n" + .'- OPTIONS'."\n" + ."\n" + .'- TRACE'."\n" + ."\n" + .'- CONNECT', + 'type' => 'array', + 'items' => [ + 'description' => '生成的Webhook支持的HTTP请求方法。可多选,可选范围如下:'."\n" + ."\n" + .'- GET'."\n" + ."\n" + .'- POST'."\n" + ."\n" + .'- PUT'."\n" + ."\n" + .'- PATCH'."\n" + ."\n" + .'- DELETE'."\n" + ."\n" + .'- HEAD'."\n" + ."\n" + .'- OPTIONS'."\n" + ."\n" + .'- TRACE'."\n" + ."\n" + .'- CONNECT', + 'type' => 'string', + 'example' => 'GET', + ], + ], + 'SecurityConfig' => [ + 'description' => '选择安全配置的类型。可选范围如下:'."\n" + ."\n" + .'- none:无需配置。'."\n" + ."\n" + .'- ip:IP网段。'."\n" + ."\n" + .'- referer:安全域名。', + 'type' => 'string', + 'example' => 'none', + ], + 'Ip' => [ + 'description' => 'IP网段安全配置。仅在SecurityConfig取值为ip时,需要设置该参数。可填写IP地址段或IP地址。', + 'type' => 'array', + 'items' => [ + 'description' => 'IP网段安全配置。仅在SecurityConfig取值为ip时,需要设置该参数。可填写IP地址段或IP地址。', + 'type' => 'string', + 'example' => '8.212.139.16/32', + ], + ], + 'Referer' => [ + 'description' => '安全域名配置。仅在SecurityConfig取值为referer时,需要设置该参数。可填写域名。', + 'type' => 'array', + 'items' => [ + 'description' => '安全域名配置。仅在SecurityConfig取值为referer时,需要设置该参数。可填写域名。', + 'type' => 'string', + 'example' => 'aliyundoc.com ', + ], + ], + 'PublicWebHookUrl' => [ + 'description' => '公网请求URL。', + 'type' => 'array', + 'items' => [ + 'description' => '公网请求URL。', + 'type' => 'string', + 'example' => 'http://***.eventbridge.cn-hangzhou.aliyuncs.com/webhook/putEvents?token=***', + ], + ], + 'VpcWebHookUrl' => [ + 'description' => '内网请求URL。', + 'type' => 'array', + 'items' => [ + 'description' => '内网请求URL。', + 'type' => 'string', + 'example' => 'http://***.eventbridge.cn-hangzhou-vpc.aliyuncs.com/webhook/putEvents?token=0f6705c9253540e1a53e06db011a25b52068562ca50d4818828fffd61c5af***', + ], + ], + ], + ], + 'SourceKafkaParameters' => [ + 'description' => 'Kafka事件源参数。', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => '实例ID。', + 'type' => 'string', + 'example' => 'i-2ze6kiwzkebf04s5h8ds', + ], + 'ConsumerGroup' => [ + 'description' => '订阅该Topic的消费者所对应的Group ID。', + 'type' => 'string', + 'example' => 'test-gid', + ], + 'Topic' => [ + 'description' => '主题名称。', + 'type' => 'string', + 'example' => 'topic_api_1674441611897', + ], + 'OffsetReset' => [ + 'description' => '消费位点。', + 'type' => 'string', + 'example' => 'earliest', + ], + 'RegionId' => [ + 'description' => '地域ID。', + 'type' => 'string', + 'example' => 'cn-hangzhou', + ], + 'MaximumTasks' => [ + 'description' => '并发配额(消费者数)。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + ], + 'Network' => [ + 'description' => '网络配置 :Default(默认网络)和PublicNetwork(自建网络)。', + 'type' => 'string', + 'example' => 'Default', + ], + 'SecurityGroupId' => [ + 'description' => '安全组ID。', + 'type' => 'string', + 'example' => 'sg-f8zatts5g97x0j***', + ], + 'VpcId' => [ + 'description' => 'VPC ID。', + 'type' => 'string', + 'example' => 'vpc-bp1kz3ohhzgrau2***', + ], + 'VSwitchIds' => [ + 'description' => '交换机ID。', + 'type' => 'string', + 'example' => 'vsw-bp1hcrxq3mkcik***e', + ], + ], + ], + 'SourceScheduledEventParameters' => [ + 'description' => '时间事件源参数。', + 'type' => 'object', + 'properties' => [ + 'Schedule' => [ + 'description' => 'Cron 表达式', + 'type' => 'string', + 'example' => '0 1 * * * *', + ], + 'TimeZone' => [ + 'description' => 'Cron执行时区。', + 'type' => 'string', + 'example' => 'GMT+0:00', + ], + 'UserData' => [ + 'description' => 'JSON字符串', + 'type' => 'string', + 'example' => '{"a": "b"}', + ], + ], + ], + 'SourceOSSEventParameters' => [ + 'type' => 'object', + 'properties' => [ + 'EventTypes' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + 'StsRoleArn' => [ + 'type' => 'string', + ], + 'MatchRules' => [ + 'type' => 'any', + ], + ], + ], + ], + ], + ], + ], + ], + 'Code' => [ + 'description' => '接口返回码:'."\n" + ."\n" + .'- Success:表示成功。'."\n" + ."\n" + .'- 其它:表示错误码。错误码详情,请参见错误码。', + 'type' => 'string', + 'example' => 'Success', + ], + 'Success' => [ + 'description' => '操作成功返回true。', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"InvalidArgument\\",\\n \\"RequestId\\": \\"5169654A-7059-57E3-BFD9-33C7E012****\\",\\n \\"Data\\": {\\n \\"NextToken\\": \\"100\\",\\n \\"Total\\": 18,\\n \\"EventSourceList\\": [\\n {\\n \\"Name\\": \\"rocketmq.source\\",\\n \\"Arn\\": \\"acs:eventbridge:cn-hangzhou:164901546557****:eventbus/my-event-bus/eventsource/myRocketMQ.source\\",\\n \\"Status\\": \\"Activated\\",\\n \\"Type\\": \\"UserDefined\\",\\n \\"Ctime\\": 1607071602000,\\n \\"ExternalSourceType\\": \\"RabbitMQ\\",\\n \\"EventBusName\\": \\"test-custom-bus\\",\\n \\"SourceMNSParameters\\": {\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"QueueName\\": \\"queue.openapi-sign-callback\\",\\n \\"IsBase64Decode\\": true\\n },\\n \\"SourceRocketMQParameters\\": {\\n \\"RegionId\\": \\"cn-shenzhen\\",\\n \\"InstanceId\\": \\"bastionhost-cn-7mz293s9d1p\\",\\n \\"Topic\\": \\"migration_instance\\",\\n \\"Tag\\": \\"dataact\\",\\n \\"Offset\\": \\"CONSUMEFROMLASTOFFSET\\",\\n \\"Timestamp\\": 1664591760,\\n \\"GroupId\\": \\"GID-test\\",\\n \\"InstanceType\\": \\"CLOUD_5\\",\\n \\"InstanceNetwork\\": \\"PublicNetwork\\",\\n \\"InstanceVpcId\\": \\"vpc-***\\",\\n \\"InstanceVSwitchIds\\": \\"vsw-bp1iu***\\",\\n \\"InstanceSecurityGroupId\\": \\"eb-167adad548***\\",\\n \\"AuthType\\": \\"ACL\\",\\n \\"InstanceEndpoint\\": \\"registry-vpc.cn-hangzhou.aliyuncs.com\\",\\n \\"InstanceUsername\\": \\"root\\",\\n \\"InstancePassword\\": \\"***\\"\\n },\\n \\"SourceRabbitMQParameters\\": {\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"InstanceId\\": \\"bastionhost-cn-0ju2x28fj07\\",\\n \\"VirtualHostName\\": \\"eb-connect\\",\\n \\"QueueName\\": \\"file-upload-queue\\"\\n },\\n \\"SourceSLSParameters\\": {\\n \\"Project\\": \\"VideoTestProject\\",\\n \\"LogStore\\": \\"cloudfirewall-logstore\\",\\n \\"ConsumePosition\\": \\"end\\",\\n \\"RoleName\\": \\"testRole\\"\\n },\\n \\"SourceHttpEventParameters\\": {\\n \\"Type\\": \\"HTTPS\\",\\n \\"Method\\": [\\n \\"GET\\"\\n ],\\n \\"SecurityConfig\\": \\"none\\",\\n \\"Ip\\": [\\n \\"8.212.139.16/32\\"\\n ],\\n \\"Referer\\": [\\n \\"aliyundoc.com\\\\t\\"\\n ],\\n \\"PublicWebHookUrl\\": [\\n \\"http://***.eventbridge.cn-hangzhou.aliyuncs.com/webhook/putEvents?token=***\\"\\n ],\\n \\"VpcWebHookUrl\\": [\\n \\"http://***.eventbridge.cn-hangzhou-vpc.aliyuncs.com/webhook/putEvents?token=0f6705c9253540e1a53e06db011a25b52068562ca50d4818828fffd61c5af***\\"\\n ]\\n },\\n \\"SourceKafkaParameters\\": {\\n \\"InstanceId\\": \\"i-2ze6kiwzkebf04s5h8ds\\",\\n \\"ConsumerGroup\\": \\"test-gid\\",\\n \\"Topic\\": \\"topic_api_1674441611897\\",\\n \\"OffsetReset\\": \\"earliest\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"MaximumTasks\\": 2,\\n \\"Network\\": \\"Default\\",\\n \\"SecurityGroupId\\": \\"sg-f8zatts5g97x0j***\\",\\n \\"VpcId\\": \\"vpc-bp1kz3ohhzgrau2***\\",\\n \\"VSwitchIds\\": \\"vsw-bp1hcrxq3mkcik***e\\"\\n },\\n \\"SourceScheduledEventParameters\\": {\\n \\"Schedule\\": \\"0 1 * * * *\\",\\n \\"TimeZone\\": \\"GMT+0:00\\",\\n \\"UserData\\": \\"{\\\\\\"a\\\\\\": \\\\\\"b\\\\\\"}\\"\\n },\\n \\"SourceOSSEventParameters\\": {\\n \\"EventTypes\\": [\\n \\"\\"\\n ],\\n \\"StsRoleArn\\": \\"\\",\\n \\"MatchRules\\": \\"\\"\\n }\\n }\\n ]\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => '查询所有外部事件源', + 'description' => '查询所有外部事件源。', + 'responseParamsDescription' => '返回示例 :'."\n" + .'`HTTP/1.1 200 OK'."\n" + .'Server: AliyunEventBridge'."\n" + .'Connection: keep-alive'."\n" + .'Content-Type: application/json;charset=utf-8'."\n" + .'Content-Length: 79'."\n" + .'x-eventbridge-request-id: 608C6467-3195-42A3-97B5-C51FB976****'."\n" + .'Date: Sat, 18 Apr 2020 05:30:41 GMT'."\n" + ."\n" + .'{'."\n" + .' "code":"200",'."\n" + .' "data":{'."\n" + .' "RequestId":"608C6467-3195-42A3-97B5-C51FB976****",'."\n" + .' "Data":{'."\n" + .' "eventSourceList":['."\n" + .' {'."\n" + .' "Status":"Activated",'."\n" + .' "Type":"UserDefined",'."\n" + .' "Ctime":1626360902642,'."\n" + .' "EventBusName": "demo-bus",'."\n" + .' "SourceRocketMQParameters":{'."\n" + .' "InstanceId":"MQ_INST_164901546557****_BXmr****",'."\n" + .' "Tag":"",'."\n" + .' "RegionId":"cn-hangzhou",'."\n" + .' "Topic":"demo-topic",'."\n" + .' "GroupID":"GID_SOURCE",'."\n" + .' "Offset":"CONSUME_FROM_LAST_OFFSET"'."\n" + .' },'."\n" + .' "ARN":"acs:eventbridge:cn-hangzhou:164901546557****:eventbus/my-event-bus/eventsource/myRocketMQ.source",'."\n" + .' "Name":"demo.source"'."\n" + .' }'."\n" + .' ]'."\n" + .' },'."\n" + .' "Code":"Success",'."\n" + .' "Success":true'."\n" + .' },'."\n" + .' "httpStatusCode":"200",'."\n" + .' "requestId":"608C6467-3195-42A3-97B5-C51FB976****",'."\n" + .' "successResponse":true'."\n" + .'}`', + ], + 'CreateEventSource' => [ + 'summary' => '创建一个外部事件源。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '38588', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeR7SE45', + ], + ], + 'parameters' => [ + [ + 'name' => 'EventSourceName', + 'in' => 'formData', + 'schema' => [ + 'title' => '事件源英文code', + 'description' => '事件源名称。', + 'type' => 'string', + 'required' => true, + 'example' => 'myrabbitmq.sourc', + ], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => [ + 'title' => '事件源描述详情', + 'description' => '事件源描述详情。', + 'type' => 'string', + 'required' => false, + 'example' => 'RabbitMQ事件源', + ], + ], + [ + 'name' => 'LinkedExternalSource', + 'in' => 'formData', + 'schema' => [ + 'title' => '是否连接外部数据源', + 'description' => '是否连接外部数据源', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'ExternalSourceType', + 'in' => 'formData', + 'schema' => [ + 'title' => '外部数据源类型', + 'description' => '外部数据源类型', + 'type' => 'string', + 'format' => 'byte', + 'required' => false, + 'example' => 'RabbitMQ', + ], + ], + [ + 'name' => 'ExternalSourceConfig', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '外部数据源配置', + 'description' => '外部数据源配置', + 'type' => 'object', + 'required' => false, + 'example' => '{\\"Schedule\\":\\"0 */10 * * * *\\",\\"TimeZone\\":\\"GMT+0:00\\"}', + ], + ], + [ + 'name' => 'EventBusName', + 'in' => 'formData', + 'schema' => [ + 'title' => '绑定的总线', + 'description' => '与事件源绑定的事件总线的名称。', + 'type' => 'string', + 'required' => true, + 'example' => 'my-event-bus', + ], + ], + [ + 'name' => 'SourceMNSParameters', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '轻量消息队列(原 MNS)事件源参数。选择轻量消息队列(原 MNS)事件源时RegionId、IsBase64Decode和QueueName都是必填参数。', + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'description' => '轻量消息队列(原 MNS)的队列所在的地域。'."\n" + .'可以填写以下地域 :cn-qingdao、cn-beijing、cn-zhangjiakou、cn-huhehaote、cn-wulanchabu、cn-hangzhou、cn-shanghai、cn-shenzhen、cn-guangzhou、cn-chengdu、cn-hongkong、ap-southeast-1、ap-southeast-2、ap-southeast-3、ap-southeast-5、ap-northeast-1、eu-central-1、us-west-1、us-east-1、ap-south-1、me-east-1和cn-north-2-gov-1', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + 'QueueName' => [ + 'description' => '轻量消息队列(原 MNS)的Queue的名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'MyQueue', + ], + 'IsBase64Decode' => [ + 'description' => '是否开启Base64解码。填写为true,即开启Base64解码。只能填写true或者false。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'SourceRocketMQParameters', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '请求参数SourceRocketMQParameters。', + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'description' => '消息队列RocketMQ版的实例所属地域。', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + 'InstanceId' => [ + 'description' => '消息队列RocketMQ版的实例ID。更多信息,请参见[使用限制](~~163289~~)。', + 'type' => 'string', + 'required' => false, + 'example' => 'MQ_INST_164901546557****_BAAN**** ', + ], + 'Topic' => [ + 'description' => '消息队列RocketMQ版实例的Topic名称。更多信息,请参见[使用限制](~~163289~~)。', + 'type' => 'string', + 'required' => false, + 'example' => 'mytopic', + ], + 'Tag' => [ + 'description' => '消息的过滤标签。', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + 'Offset' => [ + 'description' => '消息的消费位点。取值说明如下:'."\n" + .'CONSUME_FROM_LAST_OFFSET:从最新位点开始消费。'."\n" + .'CONSUME_FROM_FIRST_OFFSET:从最早位点开始消费。'."\n" + .'CONSUME_FROM_TIMESTAMP:从指定时间点的位点开始消费。'."\n" + .'默认值:CONSUME_FROM_LAST_OFFSET。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSUME_FROM_LAST_OFFSET', + ], + 'Timestamp' => [ + 'description' => '时间戳。仅当参数Offset取值为CONSUME_FROM_TIMESTAMP时,该参数有效。', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1636597951964', + ], + 'GroupID' => [ + 'description' => '消息队列RocketMQ版的Group ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'GID-test', + ], + 'InstanceType' => [ + 'description' => '实例类型 :'."\n" + ."\n" + .'- 4.0实例填写:Cloud_4'."\n" + ."\n" + .'- 5.0实例填写:Cloud_5', + 'type' => 'string', + 'required' => false, + 'example' => 'Cloud_4', + ], + 'InstanceNetwork' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + 'InstanceVpcId' => [ + 'description' => '专有网络需要添加 :vpcId', + 'type' => 'string', + 'required' => false, + 'example' => 'vpc-bp1a4gmlk31hyg6pt****', + ], + 'InstanceVSwitchIds' => [ + 'description' => '专有网络需要添加 :vSwitchId', + 'type' => 'string', + 'required' => false, + 'example' => 'vsw-bp10rbrt6rb6vrd89****', + ], + 'InstanceSecurityGroupId' => [ + 'description' => '专有网络需要添加 :securityGroupId', + 'type' => 'string', + 'required' => false, + 'example' => 'sg-catalog-eventlist****', + ], + 'AuthType' => [ + 'description' => 'ACL或者不填。', + 'type' => 'string', + 'required' => false, + 'example' => 'ACL', + ], + 'InstanceEndpoint' => [ + 'description' => '实例接入点。', + 'type' => 'string', + 'required' => false, + 'example' => 'registry-vpc****.aliyuncs.com'."\n", + ], + 'InstanceUsername' => [ + 'description' => '实例用户名。', + 'type' => 'string', + 'required' => false, + 'example' => 'root', + ], + 'InstancePassword' => [ + 'description' => '实例密码。', + 'type' => 'string', + 'required' => false, + 'example' => '******', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'SourceRabbitMQParameters', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '请求参数SourceRabbitMQParameters', + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'description' => '消息队列RabbitMQ版实例所在的地域。', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + 'InstanceId' => [ + 'description' => '消息队列RabbitMQ版的实例的ID。更多信息,请参见使用限制。', + 'type' => 'string', + 'required' => false, + 'example' => 'amqp-cn-nif22u74**** ', + ], + 'VirtualHostName' => [ + 'description' => '消息队列RabbitMQ版实例的Vhost的名称。更多信息,请参见[使用限制](~~163289~~)。', + 'type' => 'string', + 'required' => false, + 'example' => 'eb-connect ', + ], + 'QueueName' => [ + 'description' => 'eb-connect 消息队列RabbitMQ版实例的Queue的名称。更多信息,请参见[使用限制](~~163289~~)。', + 'type' => 'string', + 'required' => false, + 'example' => 'demo', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'SourceSLSParameters', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => 'SourceSLSParameters', + 'type' => 'object', + 'properties' => [ + 'Project' => [ + 'description' => '日志服务SLS的日志项目。', + 'type' => 'string', + 'required' => false, + 'example' => 'test-project ', + ], + 'LogStore' => [ + 'description' => '日志服务SLS的日志库。', + 'type' => 'string', + 'required' => false, + 'example' => 'test-logstore ', + ], + 'ConsumePosition' => [ + 'description' => '起始消费位点,可以选择最早或最新位点,分别对应“begin”,“end”,也可以从指定时间开始消费,以秒为单位。', + 'type' => 'string', + 'required' => false, + 'example' => 'end', + ], + 'RoleName' => [ + 'description' => '授权事件总线EventBridge使用此角色读取SLS日志内容时,需满足条件:在RAM控制台创建服务所使用的角色时,需要选择“阿里云服务”,并且“受信服务”需要选择“事件总线”。此角色权限策略可参考自定义事件源日志服务SLS。', + 'type' => 'string', + 'required' => false, + 'example' => 'testRole', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'SourceHttpEventParameters', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '请求参数SourceHttpEventParameters', + 'type' => 'object', + 'properties' => [ + 'Type' => [ + 'description' => '生成的Webhook支持的协议类型。取值说明如下:'."\n" + .'- HTTP'."\n" + .'- HTTPS'."\n" + .'- HTTP&HTTPS', + 'type' => 'string', + 'required' => false, + 'example' => 'HTTPS', + ], + 'Method' => [ + 'description' => '生成的Webhook支持的HTTP请求方法。可多选,可选范围如下:'."\n" + .'- GET'."\n" + .'- POST'."\n" + .'- PUT'."\n" + .'- PATCH'."\n" + .'- DELETE'."\n" + .'- HEAD'."\n" + .'- OPTIONS'."\n" + .'- TRACE'."\n" + .'- CONNECT', + 'type' => 'array', + 'items' => [ + 'description' => '生成的Webhook支持的HTTP请求方法。可多选,可选范围如下:'."\n" + .'- GET'."\n" + .'- POST'."\n" + .'- PUT'."\n" + .'- PATCH'."\n" + .'- DELETE'."\n" + .'- HEAD'."\n" + .'- OPTIONS'."\n" + .'- TRACE'."\n" + .'- CONNECT', + 'type' => 'string', + 'required' => false, + 'example' => 'GET', + ], + 'required' => false, + ], + 'SecurityConfig' => [ + 'description' => '选择安全配置的类型。可选范围如下:'."\n" + .'- none:无需配置。'."\n" + .'- ip:IP网段。'."\n" + .'- referer:安全域名。', + 'type' => 'string', + 'required' => false, + 'example' => 'none', + ], + 'Ip' => [ + 'description' => 'IP网段安全配置。仅在SecurityConfig取值为ip时,需要设置该参数。可填写IP地址段或IP地址。', + 'type' => 'array', + 'items' => [ + 'description' => 'IP网段安全配置。仅在SecurityConfig取值为ip时,需要设置该参数。可填写IP地址段或IP地址。', + 'type' => 'string', + 'required' => false, + 'example' => '10.0.0.0/8 ', + ], + 'required' => false, + ], + 'Referer' => [ + 'description' => '安全域名配置。仅在SecurityConfig取值为referer时,需要设置该参数。可填写域名。', + 'type' => 'array', + 'items' => [ + 'description' => '安全域名配置。仅在SecurityConfig取值为referer时,需要设置该参数。可填写域名。', + 'type' => 'string', + 'required' => false, + 'example' => 'aliyundoc.com ', + ], + 'required' => false, + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'SourceScheduledEventParameters', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '请求参数SourceScheduledEventParameters', + 'type' => 'object', + 'properties' => [ + 'Schedule' => [ + 'description' => 'Cron表达式。', + 'type' => 'string', + 'required' => false, + 'example' => '10 * * * * *', + ], + 'TimeZone' => [ + 'description' => 'Cron执行时区。', + 'type' => 'string', + 'required' => false, + 'example' => 'GMT+0:00', + ], + 'UserData' => [ + 'description' => 'JSON字符串', + 'type' => 'string', + 'required' => false, + 'example' => '{"a": "b"}'."\n", + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'SourceKafkaParameters', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '请求参数SourceKafkaParameters', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => '实例ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'pc-2zehmg67txzuyuuwl****', + ], + 'ConsumerGroup' => [ + 'description' => '订阅该Topic的消费者所对应的Group ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'wechat_peer_****', + ], + 'Topic' => [ + 'description' => 'Topic名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'prod_ma_dispatch_center_call_re****', + ], + 'OffsetReset' => [ + 'description' => '消费位点。', + 'type' => 'string', + 'required' => false, + 'example' => 'latest', + ], + 'RegionId' => [ + 'description' => '地域ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + 'MaximumTasks' => [ + 'description' => '并发配额(消费者数)', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + 'Network' => [ + 'description' => '网络配置 :Default(默认网络)和PublicNetwork(自建网络)。', + 'type' => 'string', + 'required' => false, + 'example' => 'Default', + ], + 'SecurityGroupId' => [ + 'description' => '如果是自建网络需要添加:安全组id', + 'type' => 'string', + 'required' => false, + 'example' => 'sg-8vbf66aoyp0wfzrz****', + ], + 'VSwitchIds' => [ + 'description' => '如果是自建网络需要添加:vSwitchId', + 'type' => 'string', + 'required' => false, + 'example' => 'vsw-bp127azpeirmwu4q9****', + ], + 'VpcId' => [ + 'description' => '如果是自建网络需要添加:vpcId', + 'type' => 'string', + 'required' => false, + 'example' => 'vpc-2ze5ejm986a73qq3v****', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'SourceOSSEventParameters', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'EventTypes' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + 'required' => false, + ], + 'required' => false, + ], + 'StsRoleArn' => [ + 'type' => 'string', + 'required' => false, + ], + 'MatchRules' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Prefix' => [ + 'type' => 'string', + 'required' => false, + ], + 'Suffix' => [ + 'type' => 'string', + 'required' => false, + ], + 'Name' => [ + 'type' => 'string', + 'required' => false, + ], + 'MatchState' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'required' => false, + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '请求参数。', + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '错误信息。', + 'type' => 'string', + 'example' => ' Remote error. requestId: [A8EFABD2-95B9-1C46-9E01-xxxx], error code: [CreateRelatedResourceFailed], message: [Create related resource failed, EntityNotExist.Role : The role not exists: xxxx. \\r\\nRequestId : xxxx-168C-54ED-8FEB-BF11CB70AEB7] ', + ], + 'RequestId' => [ + 'description' => '请求id。', + 'type' => 'string', + 'example' => '2922208e-e1c6-43ee-bfd1-aca50263bc8a', + ], + 'Data' => [ + 'description' => '返回数据。', + 'type' => 'object', + 'properties' => [ + 'EventSourceARN' => [ + 'title' => '资源ARN', + 'description' => '资源ARN。', + 'type' => 'string', + 'example' => 'acs:eventbridge:cn-hangzhou:164901546557****:eventbus/my-event-bus/eventsource/mymns.source', + ], + ], + ], + 'Code' => [ + 'description' => '接口返回码:'."\n" + .'- Success:表示成功。 '."\n" + .'- 其它:表示错误码。'."\n" + .'错误码详情,请参见错误码。', + 'type' => 'string', + 'example' => 'Success', + ], + 'Success' => [ + 'description' => '操作成功返回true。', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\" Remote error. requestId: [A8EFABD2-95B9-1C46-9E01-xxxx], error code: [CreateRelatedResourceFailed], message: [Create related resource failed, EntityNotExist.Role : The role not exists: xxxx. \\\\\\\\r\\\\\\\\nRequestId : xxxx-168C-54ED-8FEB-BF11CB70AEB7] \\",\\n \\"RequestId\\": \\"2922208e-e1c6-43ee-bfd1-aca50263bc8a\\",\\n \\"Data\\": {\\n \\"EventSourceARN\\": \\"acs:eventbridge:cn-hangzhou:164901546557****:eventbus/my-event-bus/eventsource/mymns.source\\"\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => '创建一个事件源', + 'description' => '创建一个外部事件源。', + 'requestParamsDescription' => '请求示例'."\n" + .'`POST /openapi/createEventSource HTTP/1.1'."\n" + .'Host: 164901546557****.eventbridge.cn-hangzhou.aliyuncs.com'."\n" + .'Date: Sat, 18 Apr 2020 05:30:41 GMT'."\n" + .'x-eventbridge-version: 2020-04-01'."\n" + .'Authorization: acs vZ3VL0SuJdHi****:Jo2PbT******azYAYoYslKLvWzg='."\n" + .'Content-Type: application/json;charset=UTF-8'."\n" + .'Content-Length: 26'."\n" + ."\n" + .'{'."\n" + .' "EventSourceName":"myRabbitMQ.source",'."\n" + .' "Description":"RabbitMQ事件源",'."\n" + .' "SourceRabbitMQParameters":{'."\n" + .' "RegionId":"cn-hangzhou",'."\n" + .' "InstanceId":"amqp-cn-nif22u74****",'."\n" + .' "VirtualHostName":"eb-connect",'."\n" + .' "QueueName":"demo"'."\n" + .' },'."\n" + .' "EventBusName":"my-event-bus"'."\n" + .'}`', + ], + 'DeleteEventSource' => [ + 'summary' => '删除一个事件源。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'abilityTreeCode' => '38603', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeR7SE45', + ], + ], + 'parameters' => [ + [ + 'name' => 'EventBusName', + 'in' => 'formData', + 'schema' => [ + 'title' => '绑定的总线', + 'description' => '绑定的总线', + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'EventSourceName', + 'in' => 'formData', + 'schema' => [ + 'title' => '事件源名称', + 'description' => '事件源名称', + 'type' => 'string', + 'required' => true, + 'example' => 'myrabbitmq.source', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '错误信息', + 'type' => 'string', + 'example' => 'Remote error. requestId: [78B66E68-E778-1F33-84BD-xxxx], error code: [EventSourceNotExist], message: [The event source in request is not exist! ]', + ], + 'RequestId' => [ + 'description' => '阿里云为该请求生成的唯一标识符。', + 'type' => 'string', + 'example' => '5f80e9b3-98d5-4f51-8412-c758818a03e4', + ], + 'Code' => [ + 'description' => '接口返回码:Success:表示成功。 其它:表示错误码。错误码详情,请参见错误码。', + 'type' => 'string', + 'example' => 'Success', + ], + 'Success' => [ + 'description' => '操作成功返回true。', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"Remote error. requestId: [78B66E68-E778-1F33-84BD-xxxx], error code: [EventSourceNotExist], message: [The event source in request is not exist! ]\\",\\n \\"RequestId\\": \\"5f80e9b3-98d5-4f51-8412-c758818a03e4\\",\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => '删除一个事件源', + 'description' => '删除一个事件源。', + ], + 'UpdateEventSource' => [ + 'summary' => '更新一个事件源的配置。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '38634', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeR7SE45', + ], + ], + 'parameters' => [ + [ + 'name' => 'EventSourceName', + 'in' => 'formData', + 'schema' => [ + 'title' => '事件源英文Code', + 'description' => '事件源名称。', + 'type' => 'string', + 'required' => true, + 'example' => 'myrabbitmq.source', + ], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => [ + 'title' => '事件源描述详情', + 'description' => '事件源描述详情。', + 'type' => 'string', + 'required' => false, + 'example' => 'RabbitMQ事件源', + ], + ], + [ + 'name' => 'LinkedExternalSource', + 'in' => 'formData', + 'schema' => [ + 'title' => '是否连接外部数据源', + 'description' => '是否连接外部数据源', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'ExternalSourceType', + 'in' => 'formData', + 'schema' => [ + 'title' => '外部数据源类型', + 'description' => '外部数据源类型', + 'type' => 'string', + 'required' => false, + 'example' => 'SLS', + ], + ], + [ + 'name' => 'ExternalSourceConfig', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '外部数据源配置', + 'description' => '外部数据源配置', + 'type' => 'object', + 'required' => false, + 'example' => '{\\"ConsumePosition\\":\\"end\\",\\"LogStore\\":\\"oss_log\\",\\"Project\\":\\"slsaudit-center-5795350335281001-cn-beijing\\",\\"RoleName\\":\\"sls-beijing-tf\\"}', + ], + ], + [ + 'name' => 'EventBusName', + 'in' => 'formData', + 'schema' => [ + 'title' => '绑定的总线', + 'description' => '绑定的总线。', + 'type' => 'string', + 'required' => true, + 'example' => 'my-event-bus'."\n", + ], + ], + [ + 'name' => 'SourceMNSParameters', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '轻量消息队列(原 MNS)事件源参数。', + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'description' => '轻量消息队列(原 MNS)的队列所在的地域。', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-beijing', + ], + 'QueueName' => [ + 'description' => '轻量消息队列(原 MNS)的Queue的名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'queue_api_bind_1672194645178', + ], + 'IsBase64Decode' => [ + 'description' => '是否开启Base64解码。默认为勾选,即开启Base64解码。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'SourceRocketMQParameters', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '请求参数SourceRocketMQParameters', + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'description' => '消息队列RocketMQ版的实例所属地域。', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-zhangjiakou', + ], + 'InstanceId' => [ + 'description' => '消息队列RocketMQ版的实例ID。更多信息,请参见[使用限制](~~163289~~)。', + 'type' => 'string', + 'required' => false, + 'example' => 'dbaudit-cn-i7m2nx****', + ], + 'Topic' => [ + 'description' => '消息队列RocketMQ版实例的Topic名称。更多信息,请参见[使用限制](~~163289~~)。', + 'type' => 'string', + 'required' => false, + 'example' => 'topic_default_195820716552192', + ], + 'Tag' => [ + 'description' => '消息的过滤标签。', + 'type' => 'string', + 'required' => false, + 'example' => 'KEY2', + ], + 'Offset' => [ + 'description' => '消息的消费位点。取值说明如下:'."\n" + ."\n" + .'- CONSUME_FROM_LAST_OFFSET:从最新位点开始消费。'."\n" + ."\n" + .'- CONSUME_FROM_FIRST_OFFSET:从最早位点开始消费。'."\n" + ."\n" + .'- CONSUME_FROM_TIMESTAMP:从指定时间点的位点开始消费。'."\n" + ."\n" + .'默认值:CONSUME_FROM_LAST_OFFSET。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSUMEFROMLASTOFFSET', + ], + 'Timestamp' => [ + 'description' => '时间戳。仅当参数Offset取值为CONSUME_FROM_TIMESTAMP时,该参数有效。', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1663555399032', + ], + 'GroupID' => [ + 'description' => '消息队列RocketMQ版的Group ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'GID-test'."\n", + ], + 'InstanceType' => [ + 'description' => '实例类型 :'."\n" + ."\n" + .'- 4.0实例填写 :Cloud_4'."\n" + ."\n" + .'- 5.0实例填写 :Cloud_5', + 'type' => 'string', + 'required' => false, + 'example' => 'Cloud_4', + ], + 'InstanceNetwork' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + 'InstanceVpcId' => [ + 'description' => '专有网络需要添加 vpcId。', + 'type' => 'string', + 'required' => false, + 'example' => 'vpc-bp1a4gmlk31hyg6pt****', + ], + 'InstanceVSwitchIds' => [ + 'description' => '专有网络需要添加 vSwitchId。', + 'type' => 'string', + 'required' => false, + 'example' => 'vsw-bp10rbrt6rb6vrd89****'."\n", + ], + 'InstanceSecurityGroupId' => [ + 'description' => '专有网络需要添加securityGroupId。', + 'type' => 'string', + 'required' => false, + 'example' => 'sg-catalog-eventlistener'."\n", + ], + 'AuthType' => [ + 'description' => 'ACL或者不填。', + 'type' => 'string', + 'required' => false, + 'example' => 'ACL', + ], + 'InstanceEndpoint' => [ + 'description' => '实例接入点。', + 'type' => 'string', + 'required' => false, + 'example' => 'registry-vpc****.aliyuncs.com'."\n", + ], + 'InstanceUsername' => [ + 'description' => '实例用户名。', + 'type' => 'string', + 'required' => false, + 'example' => 'root', + ], + 'InstancePassword' => [ + 'description' => '实例密码。', + 'type' => 'string', + 'required' => false, + 'example' => '******', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'SourceRabbitMQParameters', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '请求参数SourceRabbitMQParameters', + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'description' => '消息队列RabbitMQ版实例所在的地域。', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + 'InstanceId' => [ + 'description' => '消息队列RabbitMQ版的实例的ID。更多信息,请参见[使用限制](~~163289~~)。', + 'type' => 'string', + 'required' => false, + 'example' => 'bastionhost-cn-7mz2zky****', + ], + 'VirtualHostName' => [ + 'description' => '消息队列RabbitMQ版实例的Vhost的名称。更多信息,请参见[使用限制](~~163289~~)。', + 'type' => 'string', + 'required' => false, + 'example' => 'amqp-cn-nif22u74**** '."\n", + ], + 'QueueName' => [ + 'description' => 'eb-connect 消息队列RabbitMQ版实例的Queue的名称。更多信息,请参见[使用限制](~~163289~~)。', + 'type' => 'string', + 'required' => false, + 'example' => 'eb-connect', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'SourceSLSParameters', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => 'SourceSLSParameters', + 'type' => 'object', + 'properties' => [ + 'Project' => [ + 'description' => '日志服务SLS的日志项目。', + 'type' => 'string', + 'required' => false, + 'example' => 'VideoTestProject', + ], + 'LogStore' => [ + 'description' => '日志服务SLS的日志库。', + 'type' => 'string', + 'required' => false, + 'example' => 'waf-logstore', + ], + 'ConsumePosition' => [ + 'description' => '起始消费位点,可以选择最早或最新位点,分别对应“begin”,“end”,也可以从指定时间开始消费,以秒为单位。', + 'type' => 'string', + 'required' => false, + 'example' => 'end', + ], + 'RoleName' => [ + 'description' => '授权事件总线EventBridge使用此角色读取SLS日志内容时,需满足条件:在RAM控制台创建服务所使用的角色时,需要选择“阿里云服务”,并且“受信服务”需要选择“事件总线”。此角色权限策略可参考自定义事件源日志服务SLS。', + 'type' => 'string', + 'required' => false, + 'example' => 'testRole', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'SourceScheduledEventParameters', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '请求参数SourceScheduledEventParameters', + 'type' => 'object', + 'properties' => [ + 'Schedule' => [ + 'description' => 'Cron表达式。', + 'type' => 'string', + 'required' => false, + 'example' => '10 * * * * *'."\n", + ], + 'TimeZone' => [ + 'description' => 'Cron执行时区。', + 'type' => 'string', + 'required' => false, + 'example' => 'GMT+0:00'."\n", + ], + 'UserData' => [ + 'description' => 'JSON字符串', + 'type' => 'string', + 'required' => false, + 'example' => '{"a": "b"}', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'SourceHttpEventParameters', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '请求参数SourceHttpEventParameters', + 'type' => 'object', + 'properties' => [ + 'Type' => [ + 'description' => '生成的Webhook支持的协议类型。取值说明如下:'."\n" + ."\n" + .'- HTTP'."\n" + ."\n" + .'- HTTPS'."\n" + ."\n" + .'- HTTP&HTTPS', + 'type' => 'string', + 'required' => false, + 'example' => 'HTTPS', + ], + 'Method' => [ + 'description' => '生成的Webhook支持的HTTP请求方法。可多选,可选范围如下:'."\n" + ."\n" + .'- GET'."\n" + ."\n" + .'- POST'."\n" + ."\n" + .'- PUT'."\n" + ."\n" + .'- PATCH'."\n" + ."\n" + .'- DELETE'."\n" + ."\n" + .'- HEAD'."\n" + ."\n" + .'- OPTIONS'."\n" + ."\n" + .'- TRACE'."\n" + ."\n" + .'- CONNECT', + 'type' => 'array', + 'items' => [ + 'description' => '生成的Webhook支持的HTTP请求方法。可多选,可选范围如下:'."\n" + ."\n" + .'- GET'."\n" + ."\n" + .'- POST'."\n" + ."\n" + .'- PUT'."\n" + ."\n" + .'- PATCH'."\n" + ."\n" + .'- DELETE'."\n" + ."\n" + .'- HEAD'."\n" + ."\n" + .'- OPTIONS'."\n" + ."\n" + .'- TRACE'."\n" + ."\n" + .'- CONNECT', + 'type' => 'string', + 'required' => false, + 'example' => 'GET', + ], + 'required' => false, + ], + 'SecurityConfig' => [ + 'description' => '选择安全配置的类型。可选范围如下:'."\n" + ."\n" + .'- none:无需配置。'."\n" + ."\n" + .'- ip:IP网段。'."\n" + ."\n" + .'- referer:安全域名。', + 'type' => 'string', + 'required' => false, + 'example' => 'none', + ], + 'Ip' => [ + 'description' => 'IP网段安全配置。仅在SecurityConfig取值为ip时,需要设置该参数。可填写IP地址段或IP地址。', + 'type' => 'array', + 'items' => [ + 'description' => 'IP网段安全配置。仅在SecurityConfig取值为ip时,需要设置该参数。可填写IP地址段或IP地址。', + 'type' => 'string', + 'required' => false, + 'example' => '47.252.126.0/24', + ], + 'required' => false, + ], + 'Referer' => [ + 'description' => '安全域名配置。仅在SecurityConfig取值为referer时,需要设置该参数。可填写域名。', + 'type' => 'array', + 'items' => [ + 'description' => '安全域名配置。仅在SecurityConfig取值为referer时,需要设置该参数。可填写域名。', + 'type' => 'string', + 'required' => false, + 'example' => 'aliyundoc.com '."\n", + ], + 'required' => false, + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'SourceKafkaParameters', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '请求参数SourceKafkaParameters', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => '实例ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'cbwp-bp1o3m66wcjgbkssm3****', + ], + 'ConsumerGroup' => [ + 'description' => '订阅该Topic的消费者所对应的Group ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'dsp_online_ml_request', + ], + 'Topic' => [ + 'description' => 'Topic名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'billing_notify', + ], + 'OffsetReset' => [ + 'description' => '消费位点。', + 'type' => 'string', + 'required' => false, + 'example' => 'latest', + ], + 'RegionId' => [ + 'description' => '地域ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-shanghai', + ], + 'MaximumTasks' => [ + 'description' => '并发配额(消费者数)。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + 'Network' => [ + 'description' => '网络配置 :Default(默认网络)和PublicNetwork(自建网络)。', + 'type' => 'string', + 'required' => false, + 'example' => 'Default', + ], + 'SecurityGroupId' => [ + 'description' => '如果是自建网络需要添安全组ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'sg-5wz3mjgo9wpvdnwpwnhkj****', + ], + 'VpcId' => [ + 'description' => '如果是自建网络需要添加vpcId。', + 'type' => 'string', + 'required' => false, + 'example' => 'vpc-2zefu4vfmx6sioguj****', + ], + 'VSwitchIds' => [ + 'description' => '如果是自建网络需要添加vSwitchId。', + 'type' => 'string', + 'required' => false, + 'example' => 'vsw-bp1xyntcxiwplhqxj****', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'SourceOSSEventParameters', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'EventTypes' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + 'required' => false, + ], + 'required' => false, + ], + 'StsRoleArn' => [ + 'type' => 'string', + 'required' => false, + ], + 'MatchRules' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Suffix' => [ + 'type' => 'string', + 'required' => false, + ], + 'MatchState' => [ + 'type' => 'boolean', + 'required' => false, + ], + 'Prefix' => [ + 'type' => 'string', + 'required' => false, + ], + 'Name' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'required' => false, + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '请求体参数。', + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '错误信息。', + 'type' => 'string', + 'example' => 'Remote error. requestId: [xxxx-9D10-65DFDFA3A75D], error code: [EventSourceNotExist], message: [The event source in request is not exist! ]', + ], + 'RequestId' => [ + 'description' => '阿里云为该请求生成的唯一标识符。', + 'type' => 'string', + 'example' => 'c057d379-ea65-41ec-a8a8-90627a9****', + ], + 'Data' => [ + 'description' => '更新结果。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'description' => '接口返回码:'."\n" + ."\n" + .'- Success:表示成功。'."\n" + ."\n" + .'- 其它:表示错误码。错误码详情,请参见错误码。', + 'type' => 'string', + 'example' => 'Success', + ], + 'Success' => [ + 'description' => '操作成功返回true。', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"Remote error. requestId: [xxxx-9D10-65DFDFA3A75D], error code: [EventSourceNotExist], message: [The event source in request is not exist! ]\\",\\n \\"RequestId\\": \\"c057d379-ea65-41ec-a8a8-90627a9****\\",\\n \\"Data\\": true,\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => '更新一个事件源', + 'description' => '更新一个事件源的配置。', + 'requestParamsDescription' => '请求示例 :'."\n" + .'`POST /openapi/updateEventSource HTTP/1.1'."\n" + .'Host: 164901546557****.eventbridge.cn-hangzhou.aliyuncs.com'."\n" + .'Date: Sat, 18 Apr 2020 05:30:41 GMT'."\n" + .'x-eventbridge-version: 2020-04-01'."\n" + .'Authorization: acs vZ3VL0SuJdHi****:Jo2PbT******azYAYoYslKLvWzg='."\n" + .'Content-Type: application/json;charset=UTF-8'."\n" + .'Content-Length: 26'."\n" + ."\n" + .'{'."\n" + .' "EventSourceName":"myRocketMQ.source",'."\n" + .' "Description":"RocketMQ事件源",'."\n" + .' "SourceRocketMQParameters":{'."\n" + .' "InstanceId":"MQ_INST_164901546557****_BAAN****",'."\n" + .' "GroupID":"GID_group1",'."\n" + .' "Topic":"mytopic",'."\n" + .' "Offset":"CONSUME_FROM_LAST_OFFSET",'."\n" + .' "Tag":"test",'."\n" + .' "RegionId":"cn-hangzhou"'."\n" + .' },'."\n" + .' "EventBusName":"my-event-bus"'."\n" + .'}`', + ], + 'DeleteTargets' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'abilityTreeCode' => '38579', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeS2QNZ9', + ], + ], + 'parameters' => [ + [ + 'name' => 'EventBusName', + 'in' => 'query', + 'schema' => [ + 'description' => '事件总线的名称。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'MyEventBus', + ], + ], + [ + 'name' => 'RuleName', + 'in' => 'query', + 'schema' => [ + 'description' => '事件规则的名称', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ramrolechange-mns', + ], + ], + [ + 'name' => 'TargetIds', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => '删除一个事件规则下的一个或多个投递目标。', + 'type' => 'array', + 'items' => [ + 'description' => '规则目标id'."\n" + ."\n" + .'- 提示 :通过GetRule查询获取事件目标Id', + 'type' => 'string', + 'required' => false, + 'example' => '12', + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '错误信息。', + 'type' => 'string', + 'example' => 'EventBusNotExist', + ], + 'RequestId' => [ + 'description' => '阿里云为该请求生成的唯一标识符。', + 'type' => 'string', + 'example' => '78FA9EAC-F0C0-58B0-871E-9F9756CE1D29', + ], + 'Data' => [ + 'description' => '返回数据', + 'type' => 'object', + 'properties' => [ + 'ErrorEntriesCount' => [ + 'description' => '处理失败的事件体数量。取值说明如下:'."\n" + .'取值为0:所有事件均正常处理。'."\n" + .'取值为除0以外的其他整数:处理失败的事件个数。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'ErrorEntries' => [ + 'description' => '处理失败的事件体信息。', + 'type' => 'array', + 'items' => [ + 'description' => '处理失败的事件体信息。', + 'type' => 'object', + 'properties' => [ + 'ErrorMessage' => [ + 'description' => '错误详细描述。', + 'type' => 'string', + 'example' => 'The id of event target is duplicate!', + ], + 'ErrorCode' => [ + 'description' => '错误码', + 'type' => 'string', + 'example' => 'EventRuleTargetIdDuplicate', + ], + 'EntryId' => [ + 'description' => '处理失败的事件体编号。', + 'type' => 'string', + 'example' => 'target5', + ], + ], + ], + ], + ], + ], + 'Code' => [ + 'description' => '接口返回码:200:表示成功。 其它:表示错误码。错误码详情,请参见错误码。', + 'type' => 'string', + 'example' => '200', + ], + 'Success' => [ + 'description' => '操作成功返回true。', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"EventBusNotExist\\",\\n \\"RequestId\\": \\"78FA9EAC-F0C0-58B0-871E-9F9756CE1D29\\",\\n \\"Data\\": {\\n \\"ErrorEntriesCount\\": 0,\\n \\"ErrorEntries\\": [\\n {\\n \\"ErrorMessage\\": \\"The id of event target is duplicate!\\",\\n \\"ErrorCode\\": \\"EventRuleTargetIdDuplicate\\",\\n \\"EntryId\\": \\"target5\\"\\n }\\n ]\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => '删除一个事件规则下的目标', + 'summary' => '删除一个事件规则下的一个或多个投递目标。', + 'description' => '删除一个事件规则下的一个或多个投递目标。', + 'requestParamsDescription' => '请求示例 :'."\n" + .'`POST /openapi/deleteTargets HTTP/1.1'."\n" + .'Host: 123456789098****.eventbridge.cn-hangzhou.aliyuncs.com'."\n" + .'Date: Sat, 18 Apr 2020 05:30:41 GMT'."\n" + .'x-eventbridge-version: 2020-04-01'."\n" + .'Authorization: acs vZ3VL0SuJdHi****:Jo2PbT*****4azYAYoYslKLvWzg='."\n" + .'Content-type: application/json;charset=UTF-8'."\n" + .'Content-Length: 26'."\n" + ."\n" + .'{ "EventBusName":"default", "RuleName":"myRule", "TargetIds": ['."\n" + .' "targetId1", "targetId2"'."\n" + .'] }`', + ], + 'PutTargets' => [ + 'summary' => '在指定的规则下创建或更新事件目标。', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '172379', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeS2QNZ9', + ], + ], + 'parameters' => [ + [ + 'name' => 'EventBusName', + 'in' => 'query', + 'schema' => [ + 'description' => '事件总线的名称。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'eventTest', + ], + ], + [ + 'name' => 'RuleName', + 'in' => 'query', + 'schema' => [ + 'description' => '事件规则的名称。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ssr-send-to-vendor-test01'."\n", + ], + ], + [ + 'name' => 'Targets', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => '需要新增或更新的事件目标列表。更多信息,请参见[使用限制](~~163289~~)。', + 'type' => 'array', + 'items' => [ + 'description' => '需要新增或更新的事件目标。', + 'type' => 'object', + 'properties' => [ + 'Id' => [ + 'description' => '自定义事件目标Id。', + 'type' => 'string', + 'required' => true, + 'example' => 'Mlm123456JHd2RsRoKw', + ], + 'Type' => [ + 'description' => '事件目标类型。更多信息,请参见[事件目标参数](~~185887~~)。', + 'type' => 'string', + 'required' => true, + 'example' => 'acs.fc.function ', + ], + 'Endpoint' => [ + 'description' => '投递端点链接。', + 'type' => 'string', + 'required' => false, + 'example' => 'acs:fc:cn-hangzhou:123456789098****:services/guide.LATEST/functions/HelloFC ', + ], + 'PushRetryStrategy' => [ + 'description' => '推送重试策略。取值说明如下:'."\n" + ."\n" + .'- **BACKOFF_RETRY**:退避重试策略。重试3次,每次重试的间隔时间是10秒到20秒之间的随机值。'."\n" + ."\n" + .'- **EXPONENTIAL_DECAY_RETRY**:指数衰减重试。重试176次,每次重试的间隔时间指数递增至512秒,总计重试时间为1天;每次重试的具体间隔为:1,2,4,8,16,32,64,128,256,512,512...512秒(共167个512)。', + 'type' => 'string', + 'required' => false, + 'example' => 'BACKOFFRETRY', + ], + 'DeadLetterQueue' => [ + 'description' => '死信队列。未处理或者超过重试次数的事件会被写入死信队列。当前死信队列支持的队列类型有消息队列RocketMQ版、轻量消息队列(原 MNS)、消息队列Kafka版和EventBridge事件总线。', + 'type' => 'object', + 'properties' => [ + 'Arn' => [ + 'title' => '死信队列ARN', + 'description' => '死信队列的Arn,未处理或超过重试次数的事件会被写入死信队列。', + 'type' => 'string', + 'required' => false, + 'example' => 'acs:mns:cn-hangzhou:123456789098****:/queues/deadletterqueue'."\n" + .'或'."\n" + .'acs:mq:cn-hangzhou:123456789098****:/instances/MQ_INST_123456789098****_BX8QbBPL/topic/deadlettertopic'."\n" + .'或'."\n" + .'acs:alikafka:cn-hangzhou:123456789098****:instance/alikafka_post-cn-123456/topic/deadlettertopic'."\n" + .'或'."\n" + .'acs:eventbridge:cn-hangzhou:123456789098****:eventbus/deadletterbus', + ], + 'Network' => [ + 'type' => 'string', + 'required' => false, + ], + 'VpcId' => [ + 'type' => 'string', + 'required' => false, + ], + 'VSwitchIds' => [ + 'type' => 'string', + 'required' => false, + ], + 'SecurityGroupId' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'ErrorsTolerance' => [ + 'description' => '容错策略。取值说明如下:'."\n" + ."\n" + .'- **ALL**:允许容错。允许异常容错,当异常发生时不会阻塞执行,超过重试策略后会根据配置将消息投递至死信队列或直接丢弃。'."\n" + ."\n" + .'- **NONE**:禁止容错。不允许容错,当异常发生并超过重试策略配置时会阻塞执行。', + 'type' => 'string', + 'required' => false, + 'example' => 'ALL', + ], + 'ParamList' => [ + 'description' => '事件目标的参数。', + 'type' => 'array', + 'items' => [ + 'description' => '事件目标的参数。', + 'type' => 'object', + 'properties' => [ + 'ResourceKey' => [ + 'description' => '事件目标的资源参数。更多信息,请参见[事件目标参数](~~185887~~)。', + 'type' => 'string', + 'required' => false, + 'example' => 'body', + ], + 'Form' => [ + 'description' => '事件目标参数的格式。更多信息,请参见[事件目标参数](~~185887~~)。', + 'type' => 'string', + 'required' => false, + 'example' => 'TEMPLATE', + ], + 'Value' => [ + 'description' => '事件目标参数的值。', + 'type' => 'string', + 'required' => false, + 'example' => '{\\"key\\"=\\"value\\"}', + ], + 'Template' => [ + 'description' => '事件目标参数模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => 'The value of ${key} is ${value}! ', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'ConcurrentConfig' => [ + 'description' => '并发控制配置。', + 'type' => 'object', + 'properties' => [ + 'Concurrency' => [ + 'description' => '并发量。', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '34', + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '错误信息。', + 'type' => 'string', + 'example' => 'The event rule not existed!', + ], + 'RequestId' => [ + 'description' => '阿里云为该请求生成的唯一标识符。', + 'type' => 'string', + 'example' => '6FB52207-7621-5292-BDF2-A17E2E984160'."\n", + ], + 'Data' => [ + 'description' => '返回结果。', + 'type' => 'object', + 'properties' => [ + 'ErrorEntriesCount' => [ + 'description' => '处理失败的事件目标数量。取值说明如下:'."\n" + ."\n" + .'- 取值为0:所有事件目标均正常处理。'."\n" + ."\n" + .'- 取值为除0以外的其他整数:处理失败的事件目标个数。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'ErrorEntries' => [ + 'description' => '处理失败的事件目标信息。', + 'type' => 'array', + 'items' => [ + 'description' => '处理失败的事件目标信息。', + 'type' => 'object', + 'properties' => [ + 'ErrorMessage' => [ + 'description' => '错误详细描述。', + 'type' => 'string', + 'example' => 'The id of event target is duplicate!', + ], + 'ErrorCode' => [ + 'description' => '错误码。', + 'type' => 'string', + 'example' => 'EventRuleTargetIdDuplicate', + ], + 'EntryId' => [ + 'description' => '处理失败的事件目标Id。', + 'type' => 'string', + 'example' => 'Mlm123456JHd2RsRoKw', + ], + ], + ], + ], + ], + ], + 'Code' => [ + 'description' => '接口返回码:'."\n" + ."\n" + .'- Success:表示成功。 '."\n" + .' '."\n" + .'- 其它:表示错误码。错误码详情,请参见错误码。', + 'type' => 'string', + 'example' => 'Success', + ], + 'Success' => [ + 'description' => '操作成功返回true。', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"The event rule not existed!\\",\\n \\"RequestId\\": \\"6FB52207-7621-5292-BDF2-A17E2E984160\\\\n\\",\\n \\"Data\\": {\\n \\"ErrorEntriesCount\\": 0,\\n \\"ErrorEntries\\": [\\n {\\n \\"ErrorMessage\\": \\"The id of event target is duplicate!\\",\\n \\"ErrorCode\\": \\"EventRuleTargetIdDuplicate\\",\\n \\"EntryId\\": \\"Mlm123456JHd2RsRoKw\\"\\n }\\n ]\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => '在指定的规则下创建或更新事件目标', + 'description' => '在指定的规则下创建或更新事件目标。', + ], + 'CreateRule' => [ + 'summary' => '创建一个事件规则。', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'high', + 'chargeType' => 'free', + 'abilityTreeCode' => '38627', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeS2QNZ9', + ], + ], + 'parameters' => [ + [ + 'name' => 'EventBusName', + 'in' => 'query', + 'schema' => [ + 'description' => '事件总线名称。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'MyEventBus', + ], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => [ + 'description' => '事件总线的描述', + 'type' => 'string', + 'required' => false, + 'example' => 'SMQ的过滤规则', + ], + ], + [ + 'name' => 'RuleName', + 'in' => 'query', + 'schema' => [ + 'description' => '事件规则的名称', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'SMQRule', + ], + ], + [ + 'name' => 'Status', + 'in' => 'query', + 'schema' => [ + 'description' => '规则的状态。取值说明如下:'."\n" + .'ENABLE:规则已启用。规则默认状态。'."\n" + .'DISABLE:规则已禁用。', + 'type' => 'string', + 'required' => false, + 'example' => 'ENABLE', + ], + ], + [ + 'name' => 'FilterPattern', + 'in' => 'query', + 'schema' => [ + 'description' => '事件模式,JSON格式。取值说明如下:'."\n" + .'stringEqual模式。'."\n" + .'stringExpression模式 。'."\n" + .'每个field最多5个expression(map结构)。', + 'type' => 'string', + 'required' => true, + 'example' => '{'."\n" + .' "source": ['."\n" + .' {'."\n" + .' "prefix": "acs."'."\n" + .' }'."\n" + .' ],'."\n" + .' "type": ['."\n" + .' {'."\n" + .' "prefix": "oss:ObjectReplication"'."\n" + .' }'."\n" + .' ],'."\n" + .' "subject": ['."\n" + .' {'."\n" + .' "prefix": "acs:oss:cn-hangzhou:123456789098****:my-movie-bucket/",'."\n" + .' "suffix": ".txt"'."\n" + .' }'."\n" + .' ]'."\n" + .'}', + ], + ], + [ + 'name' => 'EventTargets', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => '事件目标列表。', + 'type' => 'array', + 'items' => [ + 'description' => '事件目标。', + 'type' => 'object', + 'properties' => [ + 'Id' => [ + 'description' => '自定义事件目标Id。', + 'type' => 'string', + 'required' => true, + 'example' => 'Mlm123456JHd2RsRoKw'."\n", + ], + 'Type' => [ + 'description' => '事件目标类型。更多信息,请参见[事件目标参数](~~185887~~)。', + 'type' => 'string', + 'required' => true, + 'example' => 'acs.mns.queue ', + ], + 'Endpoint' => [ + 'description' => '投递端点链接。', + 'type' => 'string', + 'required' => false, + 'example' => 'acs:mns:cn-hangzhou:123456789098****:queues/myqueue ', + ], + 'PushRetryStrategy' => [ + 'description' => '推送重试策略。取值说明如下:'."\n" + .'BACKOFF_RETRY:退避重试策略。重试3次,每次重试的间隔时间是10秒到20秒之间的随机值。'."\n" + .'EXPONENTIAL_DECAY_RETRY:指数衰减重试。重试176次,每次重试的间隔时间指数递增至512秒,总计重试时间为1天;每次重试的具体间隔为:1,2,4,8,16,32,64,128,256,512,512...512秒(共167个512)。', + 'type' => 'string', + 'required' => false, + 'example' => 'BACKOFF_RETRY', + ], + 'DeadLetterQueue' => [ + 'description' => '死信队列。未处理或者超过重试次数的事件会被写入死信队列。当前死信队列支持的队列类型有消息队列RocketMQ版、轻量消息队列(原 MNS)、消息队列Kafka版和EventBridge事件总线。', + 'type' => 'object', + 'properties' => [ + 'Arn' => [ + 'title' => '死信队列ARN', + 'description' => '死信队列的Arn,未处理或超过重试次数的事件会被写入死信队列。支持轻量消息队列(原 MNS)和消息队列RocketMQ版。', + 'type' => 'string', + 'required' => false, + 'example' => 'acs:mns:cn-hangzhou:123456789098****:/queues/deadletterqueue'."\n" + .'或'."\n" + .'acs:mq:cn-hangzhou:123456789098****:/instances/MQ_INST_123456789098****_BX8QbBPL/topic/deadlettertopic'."\n" + .'或'."\n" + .'acs:alikafka:cn-hangzhou:123456789098****:instance/alikafka_post-cn-123456/topic/deadlettertopic'."\n" + .'或'."\n" + .'acs:eventbridge:cn-hangzhou:123456789098****:eventbus/deadletterbus'."\n", + ], + 'Network' => [ + 'type' => 'string', + 'required' => false, + ], + 'VpcId' => [ + 'type' => 'string', + 'required' => false, + ], + 'VSwitchIds' => [ + 'type' => 'string', + 'required' => false, + ], + 'SecurityGroupId' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'ErrorsTolerance' => [ + 'description' => '容错策略。取值说明如下:'."\n" + .'ALL:允许容错。允许异常容错,当异常发生时不会阻塞执行,超过重试策略后会根据配置将消息投递至死信队列或直接丢弃。'."\n" + .'NONE:禁止容错。不允许容错,当异常发生并超过重试策略配置时会阻塞执行。', + 'type' => 'string', + 'required' => false, + 'example' => 'ALL', + ], + 'ParamList' => [ + 'description' => '事件目标的参数。', + 'type' => 'array', + 'items' => [ + 'description' => '事件目标的参数。', + 'type' => 'object', + 'properties' => [ + 'ResourceKey' => [ + 'description' => '事件目标的资源参数。更多信息,请参见[使用限制](~~163289~~)。', + 'type' => 'string', + 'required' => false, + 'example' => 'body', + ], + 'Form' => [ + 'description' => '事件目标参数的格式。更多信息,请参见[使用限制](~~163289~~)。', + 'type' => 'string', + 'required' => false, + 'example' => 'TEMPLATE', + ], + 'Value' => [ + 'description' => '事件目标参数的值。', + 'type' => 'string', + 'required' => false, + 'example' => '{"key"="value"}', + ], + 'Template' => [ + 'description' => '事件目标参数模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => 'The value of ${key} is ${value}! ', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'ConcurrentConfig' => [ + 'description' => '并发控制配置。', + 'type' => 'object', + 'properties' => [ + 'Concurrency' => [ + 'description' => '并发数', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '2', + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'required' => false, + 'docRequired' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '错误信息', + 'type' => 'string', + 'example' => 'Remote error. requestId: [xxxx], error code: [xxx], message: [The target in event rule is invalid! Endpoint is xxx', + ], + 'RequestId' => [ + 'description' => '请求id。', + 'type' => 'string', + 'example' => '1AD6D598-7506-5D2C-81EA-30E3241A903A', + ], + 'Data' => [ + 'description' => '返回数据', + 'type' => 'object', + 'properties' => [ + 'RuleARN' => [ + 'description' => '事件规则的ARN,用于授权。', + 'type' => 'string', + 'example' => 'acs:eventbridge:cn-hangzhou:123456789098****:eventbus/default/rule/MNSRule', + ], + ], + ], + 'Code' => [ + 'description' => '接口返回码:Success:表示成功。 其它:表示错误码。错误码详情,请参见错误码。', + 'type' => 'string', + 'example' => 'Success', + ], + 'Success' => [ + 'description' => '操作成功返回true。', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"Remote error. requestId: [xxxx], error code: [xxx], message: [The target in event rule is invalid! Endpoint is xxx\\",\\n \\"RequestId\\": \\"1AD6D598-7506-5D2C-81EA-30E3241A903A\\",\\n \\"Data\\": {\\n \\"RuleARN\\": \\"acs:eventbridge:cn-hangzhou:123456789098****:eventbus/default/rule/MNSRule\\"\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => '创建一个事件规则', + 'description' => '创建一个事件规则。', + 'requestParamsDescription' => '请求示例'."\n" + ."\n" + .'POST /openapi/createRule HTTP/1.1'."\n" + .'Host: 123456789098****.eventbridge.cn-hangzhou.aliyuncs.com'."\n" + .'Date: Sat, 18 Apr 2020 05:30:41 GMT'."\n" + .'x-eventbridge-version: 2020-04-01'."\n" + .'Authorization: acs vZ3VL0SuJdHi****:Jo2PbT******azYAYoYslKLvWzg='."\n" + .'Content-Type: application/json;charset=UTF-8'."\n" + .'Content-Length: 26'."\n" + ."\n" + .'{'."\n" + .' "EventBusName":"default",'."\n" + .' "RuleName":"MNSRule",'."\n" + .' "Description":"MNS的过滤规则",'."\n" + .' "Status":"ENABLE",'."\n" + .' "filterPattern":"{\\"source\\": [{\\"prefix\\": \\"acs.\\"}],\\"type\\": [{\\"prefix\\":\\"oss:ObjectReplication\\"}],\\"subject\\":[{\\"prefix\\":\\"acs:oss:cn-hangzhou:123456789098****:my-movie-bucket/\\", \\"suffix\\":\\".txt\\"}]}",'."\n" + .' "EventTargets":['."\n" + .' {'."\n" + .' "Id":"1",'."\n" + .' "Type":"acs.mns.queue",'."\n" + .' "Endpoint":"acs:mns:cn-hangzhou:123456789098****:queues/myqueue",'."\n" + .' "PushRetryStrategy":"BACKOFF_RETRY",'."\n" + .' "DeadLetterQueue":{'."\n" + .' "Arn":"acs:mns:cn-hangzhou:123456789098****:/queues/rule-deadletterqueue"'."\n" + .' },'."\n" + .' "ParamList":['."\n" + .' {'."\n" + .' "resourceKey":"queue",'."\n" + .' "form":"CONSTANT",'."\n" + .' "value":"myqueue"'."\n" + .' },'."\n" + .' {'."\n" + .' "resourceKey":"body",'."\n" + .' "form":"TEMPLATE",'."\n" + .' "value":"{\\"key\\"=\\"value\\"}",'."\n" + .' "template":"The value of ${key} is ${value}!"'."\n" + .' }'."\n" + .' ]'."\n" + .' }'."\n" + .' ]'."\n" + .'}', + ], + 'DeleteRule' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'abilityTreeCode' => '38586', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeS2QNZ9', + ], + ], + 'parameters' => [ + [ + 'name' => 'EventBusName', + 'in' => 'query', + 'schema' => [ + 'description' => '事件总线的名称。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'tf-testacc-event-bus', + ], + ], + [ + 'name' => 'RuleName', + 'in' => 'query', + 'schema' => [ + 'description' => '删除规则的名称。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ramrolechange-mns', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '错误信息。', + 'type' => 'string', + 'example' => 'The event rule not existed!'."\n", + ], + 'RequestId' => [ + 'description' => '阿里云为该请求生成的唯一标识符。', + 'type' => 'string', + 'example' => 'FF942675-F937-549C-A942-EB94FFE28DD3', + ], + 'Code' => [ + 'description' => '状态码。说明 Success表示成功。', + 'type' => 'string', + 'example' => 'Success', + ], + 'Success' => [ + 'description' => '是否调用成功。true:调用成功。 false:调用失败。', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"The event rule not existed!\\\\n\\",\\n \\"RequestId\\": \\"FF942675-F937-549C-A942-EB94FFE28DD3\\",\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => '删除一个事件规则', + 'summary' => '删除一个事件规则。', + 'description' => '删除一个事件规则。', + ], + 'DisableRule' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '38645', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeS2QNZ9', + ], + ], + 'parameters' => [ + [ + 'name' => 'EventBusName', + 'in' => 'query', + 'schema' => [ + 'description' => '事件总线的名称。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'MyEventBus', + ], + ], + [ + 'name' => 'RuleName', + 'in' => 'query', + 'schema' => [ + 'description' => '事件规则的名称。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'tf-testacc-rule', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '错误信息。', + 'type' => 'string', + 'example' => 'EventRuleNotExisted', + ], + 'RequestId' => [ + 'description' => '阿里云为该请求生成的唯一标识符。', + 'type' => 'string', + 'example' => 'C36345A1-75F3-5A1A-BFCF-33B82719****', + ], + 'Code' => [ + 'description' => '接口返回码:'."\n" + ."\n" + .'- Success:表示成功。'."\n" + ."\n" + .'- 其它:表示错误码。错误码详情,请参见错误码。', + 'type' => 'string', + 'example' => 'Success', + ], + 'Success' => [ + 'description' => '操作成功返回true。', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"EventRuleNotExisted\\",\\n \\"RequestId\\": \\"C36345A1-75F3-5A1A-BFCF-33B82719****\\",\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => '禁用一个事件规则', + 'summary' => '禁用一个事件规则。', + 'description' => '禁用一个事件规则。', + ], + 'EnableRule' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '38583', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeS2QNZ9', + ], + ], + 'parameters' => [ + [ + 'name' => 'EventBusName', + 'in' => 'query', + 'schema' => [ + 'description' => '事件总线的名称。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'MyEventBus', + ], + ], + [ + 'name' => 'RuleName', + 'in' => 'query', + 'schema' => [ + 'description' => '事件规则的名称', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ramrolechange', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '错误信息。', + 'type' => 'string', + 'example' => 'EventRuleNotExisted', + ], + 'RequestId' => [ + 'description' => '阿里云为该请求生成的唯一标识符。', + 'type' => 'string', + 'example' => '580A938B-6107-586C-8EC7-F22EEBEDA9E6', + ], + 'Code' => [ + 'description' => '接口返回码:Success:表示成功。 其它:表示错误码。错误码详情,请参见错误码。', + 'type' => 'string', + 'example' => 'Success', + ], + 'Success' => [ + 'description' => '操作成功返回true。', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"EventRuleNotExisted\\",\\n \\"RequestId\\": \\"580A938B-6107-586C-8EC7-F22EEBEDA9E6\\",\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => '启用一个事件规则', + 'summary' => '启用一个事件规则。', + 'description' => '启用一个事件规则。', + ], + 'UpdateRule' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '38598', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeS2QNZ9', + ], + ], + 'parameters' => [ + [ + 'name' => 'EventBusName', + 'in' => 'query', + 'schema' => [ + 'description' => '事件总线的名称。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'hw-test', + ], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => [ + 'description' => '描述信息。', + 'type' => 'string', + 'required' => false, + 'example' => 'demo', + ], + ], + [ + 'name' => 'RuleName', + 'in' => 'query', + 'schema' => [ + 'description' => '事件规则的名称', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'tf-testacc-rule', + ], + ], + [ + 'name' => 'Status', + 'in' => 'query', + 'schema' => [ + 'description' => '规则的状态。取值说明如下:'."\n" + .'ENABLE:规则已启用。规则默认状态。'."\n" + .'DISABLE:规则已禁用。', + 'type' => 'string', + 'required' => false, + 'example' => 'ENABLE', + ], + ], + [ + 'name' => 'FilterPattern', + 'in' => 'query', + 'schema' => [ + 'description' => '事件模式,JSON格式。取值说明如下:'."\n" + .'stringEqual模式。'."\n" + .'stringExpression模式 。'."\n" + .'每个field最多5个expression(map结构)。'."\n" + ."\n" + .'每个field最多5个expression(map结构)。', + 'type' => 'string', + 'required' => true, + 'example' => '{\\"source\\":[\\"acs.oss\\"],\\"type\\":[\\"oss:BucketQueried:GetBucketStat\\"]}', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '错误信息。', + 'type' => 'string', + 'example' => 'EventRuleFilterPatternSchemaError', + ], + 'RequestId' => [ + 'description' => '阿里云为该请求生成的唯一标识符。', + 'type' => 'string', + 'example' => '7439944D-D9FC-5614-B65E-07A468988924', + ], + 'Data' => [ + 'description' => '更新结果', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'description' => '接口返回码:Success:表示成功。 其它:表示错误码。错误码详情,请参见错误码。', + 'type' => 'string', + 'example' => 'Success', + ], + 'Success' => [ + 'description' => '操作成功返回true。', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"EventRuleFilterPatternSchemaError\\",\\n \\"RequestId\\": \\"7439944D-D9FC-5614-B65E-07A468988924\\",\\n \\"Data\\": true,\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => '更新一个事件规则的配置', + 'summary' => '更新一个事件规则的配置。', + 'description' => '更新一个事件规则的配置。', + ], + 'GetRule' => [ + 'summary' => '获取一个事件规则的详细信息。', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '38640', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeS2QNZ9', + ], + ], + 'parameters' => [ + [ + 'name' => 'EventBusName', + 'in' => 'query', + 'schema' => [ + 'description' => '事件总线的名称。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'default', + ], + ], + [ + 'name' => 'RuleName', + 'in' => 'query', + 'schema' => [ + 'description' => '规则名称。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ram-changes', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '错误信息。', + 'type' => 'string', + 'example' => 'The event rule not existed!', + ], + 'RequestId' => [ + 'description' => '阿里云为该请求生成的唯一标识符。', + 'type' => 'string', + 'example' => '2BC1857D-E633-5E79-B2C2-43EF5F7730D8', + ], + 'Data' => [ + 'description' => '返回结果。', + 'type' => 'object', + 'properties' => [ + 'Status' => [ + 'description' => '规则的状态。取值说明如下:'."\n" + .'ENABLE:规则已启用。规则默认状态。'."\n" + .'DISABLE:规则已禁用。', + 'type' => 'string', + 'example' => 'ENABLE', + ], + 'EventBusName' => [ + 'description' => '事件总线的名称。', + 'type' => 'string', + 'example' => 'Housekeeping-Bus', + ], + 'RuleARN' => [ + 'description' => '规则ARN。', + 'type' => 'string', + 'example' => 'acs:eventbridge:cn-hangzhou:123456789098****:eventbus/default/rule/myRule3', + ], + 'Description' => [ + 'description' => '规则说明。', + 'type' => 'string', + 'example' => 'test', + ], + 'Targets' => [ + 'description' => '事件目标列表。', + 'type' => 'array', + 'items' => [ + 'description' => '事件目标。', + 'type' => 'object', + 'properties' => [ + 'DetailMap' => [ + 'description' => '详细信息', + 'type' => 'object', + ], + 'Type' => [ + 'description' => '事件目标类型。更多信息,请参见[事件目标参数](~~185887~~)。', + 'type' => 'string', + 'example' => 'acs.mns.queue', + ], + 'Endpoint' => [ + 'description' => '投递端点链接。', + 'type' => 'string', + 'example' => 'acs:mns:cn-hangzhou:123456789098****:queues/myqueue', + ], + 'ParamList' => [ + 'description' => '事件目标的参数列表。', + 'type' => 'array', + 'items' => [ + 'description' => '事件目标的参数。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '事件目标参数的值。', + 'type' => 'string', + 'example' => '{\\"key\\"=\\"value\\"}', + ], + 'Template' => [ + 'description' => '事件目标参数模板样式。', + 'type' => 'string', + 'example' => 'The value of ${key} is ${value}!', + ], + 'Form' => [ + 'description' => '事件目标参数的格式。更多信息,请参见[使用限制](~~163289~~)。', + 'type' => 'string', + 'example' => 'TEMPLATE', + ], + 'ResourceKey' => [ + 'description' => '事件目标的资源参数。更多信息,请参见[使用限制](~~163289~~)。', + 'type' => 'string', + 'example' => 'body', + ], + ], + ], + ], + 'PushSelector' => [ + 'description' => '发布选择器', + 'type' => 'string', + 'example' => 'PARAM_TRANSFORMER', + ], + 'Id' => [ + 'description' => '自定义事件目标Id。', + 'type' => 'string', + 'example' => 'Mlm123456JHd2RsRoKw'."\n", + ], + 'DeadLetterQueue' => [ + 'description' => '死信队列', + 'type' => 'object', + 'properties' => [ + 'Arn' => [ + 'title' => '死信队列ARN', + 'description' => '查询到的死信队列在阿里云上的统一资源标识(ARN)。', + 'type' => 'string', + 'example' => 'acs:eventbridge:cn-hangzhou:164901546557****:eventbus/my-event-bus/eventsource/myRocketMQ.source', + ], + 'Network' => [ + 'type' => 'string', + ], + 'VpcId' => [ + 'type' => 'string', + ], + 'VSwitchIds' => [ + 'type' => 'string', + ], + 'SecurityGroupId' => [ + 'type' => 'string', + ], + ], + ], + 'PushRetryStrategy' => [ + 'description' => '推送重试策略。取值说明如下:'."\n" + .'BACKOFF_RETRY:退避重试策略。重试3次,每次重试的间隔时间是10秒到20秒之间的随机值。'."\n" + .'EXPONENTIAL_DECAY_RETRY:指数衰减重试。重试176次,每次重试的间隔时间指数递增至512秒,总计重试时间为1天;每次重试的具体间隔为:1,2,4,8,16,32,64,128,256,512,512...512秒(共167个512)。', + 'type' => 'string', + 'example' => 'BACKOFF_RETRY', + ], + 'ConcurrentConfig' => [ + 'type' => 'object', + 'properties' => [ + 'Concurrency' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + 'ErrorsTolerance' => [ + 'description' => '容错策略。取值说明如下: ALL:允许容错。允许异常容错,当异常发生时不会阻塞执行,超过重试策略后会根据配置将消息投递至死信队列或直接丢弃。 NONE:禁止容错。不允许容错,当异常发生并超过重试策略配置时会阻塞执行。', + 'type' => 'string', + 'example' => 'ALL', + ], + ], + ], + ], + 'FilterPattern' => [ + 'description' => '事件模式,JSON格式。取值说明如下:'."\n" + .'stringEqual模式。'."\n" + .'stringExpression模式 。'."\n" + .'每个field最多5个expression(map结构)。'."\n" + ."\n" + .'每个field最多5个expression(map结构)。', + 'type' => 'string', + 'example' => '{\\"source\\":[\\"acs.oss\\"],\\"type\\":[\\"oss:BucketQueried:GetBucketStat\\"]}', + ], + 'CreatedTimestamp' => [ + 'description' => '创建时间(时间戳)', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1607071602000', + ], + 'RuleName' => [ + 'description' => '规则名称。', + 'type' => 'string', + 'example' => 'ramrolechange-fc', + ], + ], + ], + 'Code' => [ + 'description' => '接口返回码:Success:表示成功。 其它:表示错误码。错误码详情,请参见错误码。', + 'type' => 'string', + 'example' => 'Success', + ], + 'Success' => [ + 'description' => '操作成功返回true。', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"The event rule not existed!\\",\\n \\"RequestId\\": \\"2BC1857D-E633-5E79-B2C2-43EF5F7730D8\\",\\n \\"Data\\": {\\n \\"Status\\": \\"ENABLE\\",\\n \\"EventBusName\\": \\"Housekeeping-Bus\\",\\n \\"RuleARN\\": \\"acs:eventbridge:cn-hangzhou:123456789098****:eventbus/default/rule/myRule3\\",\\n \\"Description\\": \\"test\\",\\n \\"Targets\\": [\\n {\\n \\"DetailMap\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Type\\": \\"acs.mns.queue\\",\\n \\"Endpoint\\": \\"acs:mns:cn-hangzhou:123456789098****:queues/myqueue\\",\\n \\"ParamList\\": [\\n {\\n \\"Value\\": \\"{\\\\\\\\\\\\\\"key\\\\\\\\\\\\\\"=\\\\\\\\\\\\\\"value\\\\\\\\\\\\\\"}\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"ResourceKey\\": \\"body\\"\\n }\\n ],\\n \\"PushSelector\\": \\"PARAM_TRANSFORMER\\",\\n \\"Id\\": \\"Mlm123456JHd2RsRoKw\\\\n\\",\\n \\"DeadLetterQueue\\": {\\n \\"Arn\\": \\"acs:eventbridge:cn-hangzhou:164901546557****:eventbus/my-event-bus/eventsource/myRocketMQ.source\\",\\n \\"Network\\": \\"\\",\\n \\"VpcId\\": \\"\\",\\n \\"VSwitchIds\\": \\"\\",\\n \\"SecurityGroupId\\": \\"\\"\\n },\\n \\"PushRetryStrategy\\": \\"BACKOFF_RETRY\\",\\n \\"ConcurrentConfig\\": {\\n \\"Concurrency\\": 0\\n },\\n \\"ErrorsTolerance\\": \\"ALL\\"\\n }\\n ],\\n \\"FilterPattern\\": \\"{\\\\\\\\\\\\\\"source\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"acs.oss\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"oss:BucketQueried:GetBucketStat\\\\\\\\\\\\\\"]}\\",\\n \\"CreatedTimestamp\\": 1607071602000,\\n \\"RuleName\\": \\"ramrolechange-fc\\"\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => '获取一个事件规则的详细信息', + 'description' => '获取一个事件规则的详细信息。', + ], + 'ListRules' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '38589', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeS2QNZ9', + ], + ], + 'parameters' => [ + [ + 'name' => 'RuleNamePrefix', + 'in' => 'query', + 'schema' => [ + 'description' => '规则名称前缀。', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + ], + [ + 'name' => 'Limit', + 'in' => 'query', + 'schema' => [ + 'description' => '限定每次返回的最大条数,可以和NextToken搭配使用实现翻页能力。'."\n" + .'><notice>每次返回的最大条数不超过100。></notice>', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '50', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'description' => '当指定Limit时,如果还有多余的返回值则会返回NextToken。', + 'type' => 'string', + 'required' => false, + 'example' => '1000', + ], + ], + [ + 'name' => 'EventBusName', + 'in' => 'query', + 'schema' => [ + 'description' => '事件总线的名称。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'default', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '错误信息。', + 'type' => 'string', + 'example' => 'Specified parameter Limit is not valid.', + ], + 'RequestId' => [ + 'description' => '阿里云为该请求生成的唯一标识符。', + 'type' => 'string', + 'example' => 'C7043799-F4DA-5290-9249-97C35987****', + ], + 'Data' => [ + 'description' => '返回数据。', + 'type' => 'object', + 'properties' => [ + 'NextToken' => [ + 'description' => '如果还有多余的返回值则会返回NextToken。', + 'type' => 'string', + 'example' => '1000', + ], + 'Total' => [ + 'description' => '总条数。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '6', + ], + 'Rules' => [ + 'description' => '规则列表。', + 'type' => 'array', + 'items' => [ + 'description' => '规则列表。', + 'type' => 'object', + 'properties' => [ + 'DetailMap' => [ + 'description' => '详细信息。', + 'type' => 'object', + ], + 'Status' => [ + 'description' => '规则的状态。取值说明如下:'."\n" + ."\n" + .'- **ENABLE**:规则已启用。规则默认状态。'."\n" + ."\n" + .'- **DISABLE**:规则已禁用。', + 'type' => 'string', + 'example' => 'ENABLE', + ], + 'EventBusName' => [ + 'description' => '事件总线的名称。', + 'type' => 'string', + 'example' => 'demo', + ], + 'RuleARN' => [ + 'description' => '规则ARN。', + 'type' => 'string', + 'example' => 'acs:eventbridge:cn-hangzhou:123456789098****:eventbus/default/rule/myRule3', + ], + 'Description' => [ + 'description' => '规则描述。', + 'type' => 'string', + 'example' => 'demo', + ], + 'Targets' => [ + 'description' => '事件目标列表。', + 'type' => 'array', + 'items' => [ + 'description' => '事件目标。', + 'type' => 'object', + 'properties' => [ + 'Type' => [ + 'description' => '事件目标类型。更多信息,请参见[事件目标参数](~~185887~~)。', + 'type' => 'string', + 'example' => 'acs.mns.queue'."\n", + ], + 'Endpoint' => [ + 'description' => '投递端点链接。', + 'type' => 'string', + 'example' => 'acs:mns:cn-hangzhou:123456789098****:queues/myqueue', + ], + 'Id' => [ + 'description' => '自定义事件目标Id。', + 'type' => 'string', + 'example' => 'Mlm123456JHd2Rs****', + ], + 'PushSelector' => [ + 'description' => '发布选择器。', + 'type' => 'string', + 'example' => 'PARAM_TRANSFORMER', + ], + 'ErrorsTolerance' => [ + 'description' => '容错策略。取值说明如下:'."\n" + ."\n" + .'- **ALL**:允许容错。允许异常容错,当异常发生时不会阻塞执行,超过重试策略后会根据配置将消息投递至死信队列或直接丢弃。'."\n" + .'- **NONE**:禁止容错。不允许容错,当异常发生并超过重试策略配置时会阻塞执行。', + 'type' => 'string', + 'example' => 'ALL', + ], + ], + ], + ], + 'FilterPattern' => [ + 'description' => '事件模式,JSON格式。取值说明如下:'."\n" + ."\n" + .'- **stringEqual模式**:每个field最多5个expression(map结构)。'."\n" + .'- **stringExpression模式**:每个field最多5个expression(map结构)。', + 'type' => 'string', + 'example' => '{\\"source\\":[\\"acs.oss\\"],\\"type\\":[\\"oss:BucketQueried:GetBucketStat\\"]}'."\n", + ], + 'CreatedTimestamp' => [ + 'description' => '创建时间戳。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1607071602000', + ], + 'RuleName' => [ + 'description' => '事件规则的名称。', + 'type' => 'string', + 'example' => 'tf-testacc-rule', + ], + ], + ], + ], + ], + ], + 'Code' => [ + 'description' => '接口返回码。'."\n" + ."\n" + .'- **Success**:表示成功。'."\n" + .'- **其它**:表示错误码。错误码详情,请参见错误码。', + 'type' => 'string', + 'example' => 'Success', + ], + 'Success' => [ + 'description' => '操作成功返回true。', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"Specified parameter Limit is not valid.\\",\\n \\"RequestId\\": \\"C7043799-F4DA-5290-9249-97C35987****\\",\\n \\"Data\\": {\\n \\"NextToken\\": \\"1000\\",\\n \\"Total\\": 6,\\n \\"Rules\\": [\\n {\\n \\"DetailMap\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Status\\": \\"ENABLE\\",\\n \\"EventBusName\\": \\"demo\\",\\n \\"RuleARN\\": \\"acs:eventbridge:cn-hangzhou:123456789098****:eventbus/default/rule/myRule3\\",\\n \\"Description\\": \\"demo\\",\\n \\"Targets\\": [\\n {\\n \\"Type\\": \\"acs.mns.queue\\\\n\\",\\n \\"Endpoint\\": \\"acs:mns:cn-hangzhou:123456789098****:queues/myqueue\\",\\n \\"Id\\": \\"Mlm123456JHd2Rs****\\",\\n \\"PushSelector\\": \\"PARAM_TRANSFORMER\\",\\n \\"ErrorsTolerance\\": \\"ALL\\"\\n }\\n ],\\n \\"FilterPattern\\": \\"{\\\\\\\\\\\\\\"source\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"acs.oss\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"oss:BucketQueried:GetBucketStat\\\\\\\\\\\\\\"]}\\\\n\\",\\n \\"CreatedTimestamp\\": 1607071602000,\\n \\"RuleName\\": \\"tf-testacc-rule\\"\\n }\\n ]\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => '查询一个事件总线的所有规则', + 'summary' => '查询一个事件总线的所有规则。', + 'description' => '查询一个事件总线的所有规则。', + ], + 'ListEventStreamings' => [ + 'summary' => '查询事件流。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '164761', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeUWT8SO', + 'FEATUREeventbridge70XW1X', + ], + ], + 'parameters' => [ + [ + 'name' => 'NamePrefix', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '名称', + 'description' => '事件流名称前缀。', + 'type' => 'string', + 'required' => false, + 'example' => 'name', + ], + ], + [ + 'name' => 'Limit', + 'in' => 'formData', + 'schema' => [ + 'description' => '限定每次返回的最大条数,可以和NextToken搭配使用实现翻页能力。'."\n" + .'><notice>每次返回的最大条数不超过100。></notice>', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '当指定Limit时,如果还有多余的返回值则会返回NextToken。', + 'type' => 'string', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'Tags', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '标签筛选。', + 'type' => 'array', + 'items' => [ + 'description' => '标签。', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => '标签键。', + 'type' => 'string', + 'required' => false, + 'example' => 'mns', + ], + 'Value' => [ + 'description' => '标签值。', + 'type' => 'string', + 'required' => false, + 'example' => 'mnstest', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 100, + ], + ], + [ + 'name' => 'SourceArn', + 'in' => 'formData', + 'schema' => [ + 'description' => '事件源Arn。', + 'type' => 'string', + 'required' => false, + 'example' => 'acs:alikafka:cn-hangzhou:118609547428****:instance/alikafka_pre-cn-zxu36kvi****/topic/test-topic', + ], + ], + [ + 'name' => 'SinkArn', + 'in' => 'formData', + 'schema' => [ + 'description' => '事件目标Arn。', + 'type' => 'string', + 'required' => false, + 'example' => 'acs:fc:cn-hangzhou:118609547428****:services/fw1.LATEST/functions/log1', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '返回信息。', + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '错误信息。', + 'type' => 'string', + 'example' => 'The event streaming [xxxx] not existed!'."\n", + ], + 'RequestId' => [ + 'description' => '阿里云为该请求生成的唯一标识符。', + 'type' => 'string', + 'example' => '283FF852-C4B8-58C9-9777-F88A5A16****', + ], + 'Data' => [ + 'description' => '事件流列表。', + 'type' => 'object', + 'properties' => [ + 'EventStreamings' => [ + 'description' => '事件流列表。', + 'type' => 'array', + 'items' => [ + 'description' => '事件流实体。', + 'type' => 'object', + 'properties' => [ + 'EventStreamingName' => [ + 'description' => '事件流名称。', + 'type' => 'string', + 'example' => 'name', + ], + 'Description' => [ + 'description' => '事件流描述信息。', + 'type' => 'string', + 'example' => 'demo', + ], + 'Source' => [ + 'description' => '事件提供方。', + 'type' => 'object', + 'properties' => [ + 'SourceMNSParameters' => [ + 'description' => 'Source 轻量消息队列(原 MNS) 源。', + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'description' => '地域ID。', + 'type' => 'string', + 'example' => 'cn-zhangjiakou', + ], + 'QueueName' => [ + 'description' => '轻量消息队列(原 MNS)的Queue的名称。', + 'type' => 'string', + 'example' => 'work4', + ], + 'IsBase64Decode' => [ + 'description' => '是否开启Base64编码。', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + 'SourceRabbitMQParameters' => [ + 'description' => 'Source RabbitMQ 源。', + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'description' => '地域ID。', + 'type' => 'string', + 'example' => 'cn-zhangjiakou', + ], + 'InstanceId' => [ + 'description' => '消息队列RabbitMQ版的实例的ID。', + 'type' => 'string', + 'example' => 'dbaudit-cn-7mz2hqo****', + ], + 'VirtualHostName' => [ + 'description' => '消息队列RabbitMQ版实例的Vhost的名称。', + 'type' => 'string', + 'example' => 'eb-connect'."\n", + ], + 'QueueName' => [ + 'description' => '消息队列RabbitMQ版实例的Queue的名称。', + 'type' => 'string', + 'example' => 'liuyang', + ], + ], + ], + 'SourceRocketMQParameters' => [ + 'description' => 'Source RocketMQ 源。', + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'description' => '消息队列RocketMQ版的地域ID。', + 'type' => 'string', + 'example' => 'cn-chengdu', + ], + 'InstanceId' => [ + 'description' => '消息队列RocketMQ版的实例id。', + 'type' => 'string', + 'example' => 'i-f8zbher64dlm58pl****'."\n", + ], + 'Topic' => [ + 'description' => '消息的Topic。', + 'type' => 'string', + 'example' => 'topic_add_anima', + ], + 'Tag' => [ + 'description' => '消息的过滤标签。', + 'type' => 'string', + 'example' => 'v1', + ], + 'Offset' => [ + 'description' => '消息的消费位点。取值说明如下:'."\n" + .'CONSUMEFROMLASTOFFSET:从最新位点开始消费。'."\n" + .'CONSUMEFROMFIRSTOFFSET:从最早位点开始消费。'."\n" + .'CONSUMEFROMTIMESTAMP:从指定时间点的位点开始消费。', + 'type' => 'string', + 'example' => 'CONSUMEFROMTIMESTAMP', + ], + 'GroupID' => [ + 'description' => '消息队列RocketMQ版的Group ID。', + 'type' => 'string', + 'example' => 'GID_group1', + ], + 'Timestamp' => [ + 'description' => '时间戳。仅当参数Offset取值为CONSUMEFROMTIMESTAMP时,该参数有效。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1670742074043', + ], + 'InstanceType' => [ + 'description' => '实例类型。取值说明如下:'."\n" + ."\n" + .'- Cloud_4:阿里云 RocketMQ 4.0 版本实例(默认选项)'."\n" + .'- Cloud_5:阿里云 RocketMQ 5.0 版本实例'."\n" + .'- SelfBuilt:自建 Apache RocketMQ 集群', + 'type' => 'string', + 'example' => 'Cloud_4'."\n", + ], + 'InstanceEndpoint' => [ + 'description' => '实例接入点。', + 'type' => 'string', + 'example' => 'registry-vpc.cn-hangzhou.aliyuncs.com', + ], + 'AuthType' => [ + 'description' => '鉴权类型。', + 'type' => 'string', + 'example' => 'ACL', + ], + 'InstanceUsername' => [ + 'description' => '实例用户名。', + 'type' => 'string', + 'example' => 'admin**', + ], + 'InstancePassword' => [ + 'description' => '实例密码。', + 'type' => 'string', + 'example' => '123', + ], + 'InstanceVpcId' => [ + 'description' => '专有网络VPC的ID。', + 'type' => 'string', + 'example' => 'vpc-bp1a4gmlk31hy***l3ss', + ], + 'InstanceVSwitchIds' => [ + 'description' => '实例交换机信息。', + 'type' => 'string', + 'example' => 'vsw-m5ev8asdc6h123456****'."\n", + ], + 'InstanceSecurityGroupId' => [ + 'description' => '实例安全组信息。', + 'type' => 'string', + 'example' => 'sg-m5edtu24f12345****'."\n", + ], + 'InstanceNetwork' => [ + 'description' => '实例网络信息:'."\n" + .'- PublicNetwork'."\n" + .'- PrivateNetwork', + 'type' => 'string', + 'example' => 'PublicNetwork', + ], + 'BodyDataType' => [ + 'description' => '消息编码格式:'."\n" + ."\n" + .'- JSON'."\n" + .'- Text'."\n" + .'- Binary', + 'type' => 'string', + 'example' => 'JSON'."\n", + ], + 'Network' => [ + 'description' => '网络类型。 '."\n" + .'- PublicNetwork'."\n" + .'- PrivateNetwork', + 'type' => 'string', + 'example' => 'PublicNetwork', + ], + 'FilterType' => [ + 'description' => '消息过滤类型。', + 'type' => 'string', + 'example' => 'Tag'."\n", + ], + 'FilterSql' => [ + 'description' => 'sql过滤语句。', + 'type' => 'string', + 'example' => 'index > 10'."\n", + ], + 'VpcId' => [ + 'description' => 'VPC的ID。', + 'type' => 'string', + 'example' => 'vpc-m5e3sv4b12345****'."\n", + ], + 'VSwitchIds' => [ + 'description' => '虚拟交换机ID。', + 'type' => 'string', + 'example' => 'vsw-m5ev8asdc6h12345****'."\n", + ], + 'SecurityGroupId' => [ + 'description' => '安全组ID。', + 'type' => 'string', + 'example' => 'sg-m5edtu24f12345****'."\n", + ], + ], + ], + 'SourceRocketMQCheckpointParameters' => [ + 'title' => 'Source RocketMQ Checkpoint源', + 'description' => 'Source RocketMQ Checkpoint源', + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'description' => '地域ID。', + 'type' => 'string', + 'example' => 'cn-hangzhou', + ], + 'InstanceType' => [ + 'description' => '消息队列RocketMQ版实例的类型。', + 'type' => 'string', + 'example' => 'Cloud_5', + ], + 'InstanceId' => [ + 'description' => '消息队列RocketMQ版实例ID。', + 'type' => 'string', + 'example' => "\n" + .'rmq-cn-jte3w******', + ], + 'Topics' => [ + 'description' => '消息队列RocketMQ版实例Topic。', + 'type' => 'array', + 'items' => [ + 'description' => '消息队列RocketMQ版实例Topic。', + 'type' => 'string', + 'example' => 'myTopic', + ], + ], + ], + ], + 'SourceApacheRocketMQCheckpointParameters' => [ + 'title' => 'Source RocketMQ Checkpoint源', + 'description' => 'Source RocketMQ Checkpoint源', + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'description' => '地域ID。', + 'type' => 'string', + 'example' => 'cn-hangzhou', + ], + 'Topics' => [ + 'description' => 'Apache RocketMQ实例Topic。', + 'type' => 'array', + 'items' => [ + 'description' => 'Apache RocketMQ实例Topic。', + 'type' => 'string', + 'example' => 'myTopic', + ], + ], + 'InstanceEndpoint' => [ + 'description' => 'Apache RocketMQ 实例的接入点。', + 'type' => 'string', + 'example' => '192.168.1.1:9876', + ], + 'InstanceUsername' => [ + 'description' => 'Apache RocketMQ实例的用户名。', + 'type' => 'string', + 'example' => 'admin', + ], + 'InstancePassword' => [ + 'description' => 'Apache RocketMQ实例的密码。', + 'type' => 'string', + 'example' => '****', + ], + 'NetworkType' => [ + 'description' => '网络类型。', + 'type' => 'string', + 'example' => 'PrivateNetwork', + ], + 'VpcId' => [ + 'description' => 'VPC ID。', + 'type' => 'string', + 'example' => 'vpc-adw1awdw*****', + ], + 'VSwitchId' => [ + 'description' => '交换机 ID。', + 'type' => 'string', + 'example' => 'vsw-dwaafds****', + ], + 'SecurityGroupId' => [ + 'description' => '安全组ID。', + 'type' => 'string', + 'example' => 'sg-mw43*****', + ], + ], + ], + 'SourceKafkaParameters' => [ + 'description' => 'Source Kafka 源。', + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'description' => '实例所在地域id。', + 'type' => 'string', + 'example' => 'cn-chengdu', + ], + 'InstanceId' => [ + 'description' => '实例id。', + 'type' => 'string', + 'example' => 'bastionhost-cn-i7m2gwt****', + ], + 'Topic' => [ + 'description' => 'Topic名称。', + 'type' => 'string', + 'example' => 'topic_empower_1642473600414'."\n", + ], + 'ConsumerGroup' => [ + 'description' => '订阅该Topic的消费者所对应的Group ID。', + 'type' => 'string', + 'example' => 'GID_TEST', + ], + 'OffsetReset' => [ + 'description' => '偏移量。', + 'type' => 'string', + 'example' => 'latest', + ], + 'Network' => [ + 'description' => '网络配置 :默认值Default,vpc网络是PublicNetwork。', + 'type' => 'string', + 'example' => 'Default', + ], + 'VpcId' => [ + 'description' => '用户的VPC ID。', + 'type' => 'string', + 'example' => 'vpc-wz9ki1qdlx3cx5cbf****', + ], + 'VSwitchIds' => [ + 'description' => '交换机ID。', + 'type' => 'string', + 'example' => 'vsw-bp1rmi8rind7eo50c****', + ], + 'SecurityGroupId' => [ + 'description' => '安全组ID。', + 'type' => 'string', + 'example' => 'sg-5ud5f3p0rqqis69****eho7cp', + ], + 'ValueDataType' => [ + 'description' => '消息体编解码格式:'."\n" + ."\n" + .'- JSON'."\n" + .'- Text'."\n" + .'- Binary', + 'type' => 'string', + 'example' => 'JSON'."\n", + ], + ], + ], + 'SourceMQTTParameters' => [ + 'description' => 'Source MQTT源。', + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'description' => '地域ID。', + 'type' => 'string', + 'example' => 'cn-qingdao', + ], + 'InstanceId' => [ + 'description' => '实例id。', + 'type' => 'string', + 'example' => 'bastionhost-cn-zvp27kc****', + ], + 'Topic' => [ + 'description' => 'Topic名称。', + 'type' => 'string', + 'example' => 'migration_instance', + ], + 'BodyDataType' => [ + 'description' => '消息编码格式:'."\n" + ."\n" + .'- JSON'."\n" + .'- Text'."\n" + .'- Binary', + 'type' => 'string', + 'example' => 'JSON'."\n", + ], + ], + ], + 'SourceDTSParameters' => [ + 'description' => 'Source DTS源。', + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'description' => '任务ID。', + 'type' => 'string', + 'example' => '1611b337285f44e2936a2c4170****', + ], + 'BrokerUrl' => [ + 'description' => '数据订阅通道的网络地址及端口号信息。', + 'type' => 'string', + 'example' => '无', + ], + 'Topic' => [ + 'description' => '数据订阅通道的订阅Topic。', + 'type' => 'string', + 'example' => 'TP_TEST_UNDERWRITE_ISSUE'."\n", + ], + 'Sid' => [ + 'description' => '消费组ID。', + 'type' => 'string', + 'example' => 'HG9', + ], + 'Username' => [ + 'description' => '消费组的账号。', + 'type' => 'string', + 'example' => 'admin', + ], + 'Password' => [ + 'description' => '消费组的账号密码。', + 'type' => 'string', + 'example' => '123456', + ], + 'InitCheckPoint' => [ + 'description' => '消费位点,即SDK客户端消费第一条数据的时间戳,格式为Unix时间戳。', + 'type' => 'string', + 'example' => '1620962769', + ], + ], + ], + 'SourceSLSParameters' => [ + 'description' => 'Source SLS源。', + 'type' => 'object', + 'properties' => [ + 'Project' => [ + 'description' => '日志服务SLS的日志项目。', + 'type' => 'string', + 'example' => 'dmmzk', + ], + 'LogStore' => [ + 'description' => '日志服务SLS的日志库。', + 'type' => 'string', + 'example' => 'waf-logstore'."\n", + ], + 'ConsumerGroup' => [ + 'description' => '订阅该Topic的消费者所对应的Group ID。', + 'type' => 'string', + 'example' => 'go-dts-shelf-group', + ], + 'ConsumePosition' => [ + 'description' => '起始消费位点,可以选择最早或最新位点,分别对应“begin”,“end”,也可以从指定时间开始消费,以秒为单位。', + 'type' => 'string', + 'example' => 'begin', + ], + 'RoleName' => [ + 'description' => '授权事件总线EventBridge使用此角色读取SLS日志内容时,需满足条件:在RAM控制台创建服务所使用的角色时,需要选择“阿里云服务”,并且“受信服务”需要选择“事件总线”。', + 'type' => 'string', + 'example' => 'testRole', + ], + ], + ], + 'SourcePrometheusParameters' => [ + 'description' => 'Source Prometheus 事件源。', + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'description' => '地域ID。', + 'type' => 'string', + 'example' => 'cn-beijing', + ], + 'ClusterId' => [ + 'description' => '集群ID。', + 'type' => 'string', + 'example' => 'c83555068b6******ad213f565f209'."\n", + ], + 'DataType' => [ + 'description' => '数据类型。', + 'type' => 'string', + 'example' => 'JSON'."\n", + ], + 'Labels' => [ + 'description' => '标签。', + 'type' => 'string', + 'example' => '__name__=.*'."\n", + ], + 'RoleName' => [ + 'description' => '访问Prometheus数据的角色。', + 'type' => 'string', + 'example' => 'testRole', + ], + 'ExternalLabels' => [ + 'description' => '事件中附加的自定义标签。', + 'type' => 'string', + 'example' => '{"source":"prometheus-prod"}', + ], + ], + ], + 'SourceCustomizedKafkaParameters' => [ + 'description' => '自定义 Kafka 事件源。', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => '实例 ID。', + 'type' => 'string', + 'example' => 'gtm-cn-k2c2yfg****'."\n", + ], + ], + ], + 'SourceCustomizedKafkaConnectorParameters' => [ + 'description' => '自定义连接器 Apache Kafka 事件源。', + 'type' => 'object', + 'properties' => [ + 'ConnectorPackageUrl' => [ + 'description' => 'OSS资源ZIP包下载链接。', + 'type' => 'string', + 'example' => '"https://examplebucket.oss-cn-hangzhou.aliyuncs.com/testDoc/Old_Homebrew/2024-06-26%2022%3A34%3A08/opt/homebrew/homebrew/Library/Homebrew/test/support/fixtures/cask/AppWithBinary.zip?OSSAccessKeyId=ri&Expires=1725539627&Signature=rb8q3OpV2i3gZJ"', + ], + 'ConnectorParameters' => [ + 'description' => '连接器参数。', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '连接器名称。', + 'type' => 'string', + 'example' => 'test-name'."\n", + ], + 'Config' => [ + 'description' => '连接器配置。', + 'type' => 'object', + 'example' => '{'."\n" + .' "connector.class": "com.mongodb.kafka.connect.MongoSinkConnector",'."\n" + .' "tasks.max": "1",'."\n" + .' "topics": "sourceA,sourceB"'."\n" + .' }', + ], + ], + ], + 'WorkerParameters' => [ + 'description' => 'kafka实例配置。', + 'type' => 'object', + 'example' => '{'."\n" + .' "group.id": "connect-eb-cluster-KAFKA_CONNECTORC",'."\n" + .' "offset.storage.topic": "connect-eb-offset-KAFKA_CONNECTOR_yjqC8K5ewC",'."\n" + .' "config.storage.topic": "connect-eb-config-KAFKA_CONNECTOR_yjqC8K5ewC",'."\n" + .' "status.storage.topic": "connect-eb-status-KAFKA_CONNECTOR_yjqC8K5ewC",'."\n" + .' "consumer.group.id": "connector-eb-cluster-KAFKA_CONNECTOR_yjqC8K5ewC-mongo-sink",'."\n" + .' "bootstrap.servers": "alikafka-post:9092"'."\n" + .' }', + ], + ], + ], + 'SourceOSSParameters' => [ + 'description' => 'Source OSS 事件源。', + 'type' => 'object', + 'properties' => [ + 'RoleName' => [ + 'description' => '授权事件总线 EventBridge 读取OSS文件的角色名称,要求该角色至少具有OSS的只读权限。', + 'type' => 'string', + 'example' => 'eventbridge_oss_role'."\n", + ], + 'BucketName' => [ + 'description' => '对象存储OSS中的存储空间名称。', + 'type' => 'string', + 'example' => 'bucket_abc'."\n", + ], + 'Prefix' => [ + 'description' => '文件路径前缀。', + 'type' => 'string', + 'example' => 'fun/document/'."\n", + ], + 'LoadMode' => [ + 'description' => '数据加载模式,single表示单文档加载,element表示分块加载。 取值:single/element 默认为single。', + 'type' => 'string', + 'example' => 'single'."\n", + ], + 'LoadFormat' => [ + 'description' => '文档加载器。', + 'type' => 'string', + 'example' => 'TextLoader'."\n", + ], + 'Delimiter' => [ + 'description' => '分隔符,在分块加载模式下,以该分隔符作为文本的分块标识符,默认以换行符\\n作为分隔符。', + 'type' => 'string', + 'example' => '\\n'."\n", + ], + ], + ], + 'SourceOpenSourceRabbitMQParameters' => [ + 'description' => 'Source Open Source RabbitMQ源。', + 'type' => 'object', + 'properties' => [ + 'Endpoint' => [ + 'description' => '实例接入点。', + 'type' => 'string', + 'example' => '192.168.1.1:9876', + ], + 'VirtualHostName' => [ + 'description' => '开源RabbitMQ实例的虚拟主机名称。', + 'type' => 'string', + 'example' => 'Vhost1', + ], + 'QueueName' => [ + 'description' => '开源RabbitMQ实例的队列名称。', + 'type' => 'string', + 'example' => 'demo', + ], + 'BodyDataType' => [ + 'description' => '消息体数据类型。', + 'type' => 'string', + 'example' => 'Json', + ], + 'Username' => [ + 'description' => '连接开源RabbitMQ实例时使用的用户名。', + 'type' => 'string', + 'example' => 'admin', + ], + 'Password' => [ + 'description' => '连接开源RabbitMQ实例时使用的密码。', + 'type' => 'string', + 'example' => '****', + ], + 'VpcId' => [ + 'description' => 'VPC ID。', + 'type' => 'string', + 'example' => 'vpc-m5e3sv4b12345****', + ], + 'VSwitchIds' => [ + 'description' => '交换机ID。', + 'type' => 'string', + 'example' => 'vsw-m5ev8asdc6h12345****', + ], + 'SecurityGroupId' => [ + 'description' => '安全组ID。', + 'type' => 'string', + 'example' => 'sg-m5edtu24f12345****', + ], + 'NetworkType' => [ + 'description' => '网络类型。', + 'type' => 'string', + 'example' => 'PrivateNetwork', + ], + 'AuthType' => [ + 'description' => '鉴权类型。', + 'type' => 'string', + 'example' => 'ACL', + ], + ], + ], + 'SourceEventBusParameters' => [ + 'description' => 'Source EventBus源。', + 'type' => 'object', + 'properties' => [ + 'EventBusName' => [ + 'description' => '事件总线名称。', + 'type' => 'string', + 'example' => 'my-event-bus', + ], + 'EventRuleName' => [ + 'description' => '事件规则名称。', + 'type' => 'string', + 'example' => 'my-event-rule', + ], + ], + ], + 'SourceMySQLParameters' => [ + 'description' => 'Source MySQL源。', + '$ref' => '#/components/schemas/SourceMySQLParameters', + ], + 'SourcePostgreSQLParameters' => [ + '$ref' => '#/components/schemas/SourcePostgreSQLParameters', + ], + 'SourceRabbitMQMetaParameters' => [ + '$ref' => '#/components/schemas/SourceRabbitMQMetaParameters', + ], + 'SourceRabbitMQMsgSyncParameters' => [ + '$ref' => '#/components/schemas/SourceRabbitMQMsgSyncParameters', + ], + ], + ], + 'FilterPattern' => [ + 'description' => '事件过滤规则,如果不指定表示匹配全部事件。', + 'type' => 'string', + 'example' => '无', + ], + 'Transforms' => [ + 'description' => 'Transform 相关配置。', + 'type' => 'array', + 'items' => [ + 'description' => '云产品的 ARN,比如函数计算中函数的 ARN。', + 'type' => 'object', + 'properties' => [ + 'Arn' => [ + 'description' => '云产品的 ARN,比如函数计算中函数的 ARN。', + 'type' => 'string', + 'example' => 'acs:fc:cn-hangzhou:*****:services/demo-service.LATEST/functions/demo-func'."\n", + ], + 'DashScopeTransformParameters' => [ + '$ref' => '#/components/schemas/DashScopeTransformParameters', + ], + 'BaiLianAgentTransformParameters' => [ + '$ref' => '#/components/schemas/BaiLianAgentTransformParameters', + ], + ], + ], + ], + 'Sink' => [ + 'description' => '事件目标。', + 'type' => 'object', + 'properties' => [ + 'SinkMNSParameters' => [ + 'description' => '轻量消息队列(原 MNS)事件目标。', + 'type' => 'object', + 'properties' => [ + 'QueueName' => [ + 'description' => '目标服务类型为轻量消息队列(原 MNS)。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '轻量消息队列(原 MNS)的Queue的名称。', + 'type' => 'string', + 'example' => 'MyQueue', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'Body' => [ + 'description' => '消息内容。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'example' => 'TEMPLATE', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + ], + 'IsBase64Encode' => [ + 'description' => '是否开启Base64编码。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '开启Base64编码。', + 'type' => 'string', + 'example' => 'true', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + ], + ], + 'SinkFcParameters' => [ + 'title' => '函数目标', + 'description' => '函数目标。', + 'type' => 'object', + 'properties' => [ + 'ServiceName' => [ + 'description' => '服务的名称。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '服务的名称。', + 'type' => 'string', + 'example' => 'myService', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'FunctionName' => [ + 'description' => '函数名称。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '函数名称。', + 'type' => 'string', + 'example' => 'mFunction', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'Concurrency' => [ + 'description' => '投递并发度,最小为1。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '投递并发度,最小为1。', + 'type' => 'string', + 'example' => '1', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'Qualifier' => [ + 'description' => '函数所属服务的别名。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '函数所属服务的别名。', + 'type' => 'string', + 'example' => 'LATEST', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'InvocationType' => [ + 'description' => '同步或则异步。'."\n" + .'- Sync:同步。'."\n" + .'- Async:异步。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '同步或则异步。'."\n" + .'- Sync:同步。'."\n" + .'- Async:异步。', + 'type' => 'string', + 'example' => 'Async', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'Body' => [ + 'description' => '发送给函数的内容体。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'example' => 'TEMPLATE', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + ], + 'DataFormat' => [ + 'description' => '事件内容格式的转换规则。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Form' => [ + 'description' => '转换格式,默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + ], + ], + ], + 'SinkRabbitMQParameters' => [ + 'description' => 'Sink Rabbitmq的参数。', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => '目标服务类型为消息队列RabbitMQ版。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '消息队列RabbitMQ版的实例ID。', + 'type' => 'string', + 'example' => 'si-296cd57939a1421b****', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'VirtualHostName' => [ + 'description' => '消息队列RabbitMQ版实例的Vhost的名称。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '消息队列RabbitMQ版实例的Vhost的名称。', + 'type' => 'string', + 'example' => 'rabbit-host'."\n", + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'TargetType' => [ + 'description' => '目标类型。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '目标类型。取值说明如下:'."\n" + .'Exchange:Exchange模式。'."\n" + .'Queue:Queue模式。', + 'type' => 'string', + 'example' => 'Queue', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'Exchange' => [ + 'description' => 'Exchange模式。'."\n" + .'仅当参数TargetType配置为Exchange时,需配置此参数。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '消息队列RabbitMQ版实例的Exchange的名称。', + 'type' => 'string', + 'example' => 'a_exchange', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'RoutingKey' => [ + 'description' => '消息的路由规则。'."\n" + .'仅当参数TargetType配置为Exchange时,需配置此参数。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '消息的路由规则。', + 'type' => 'string', + 'example' => 'housekeeping', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'QueueName' => [ + 'description' => 'Queue模式。'."\n" + .'仅当参数TargetType配置为Queue时,需配置此参数。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '实例的Queue的名称。', + 'type' => 'string', + 'example' => 'MyQueue', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'Body' => [ + 'description' => '消息内容。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'example' => 'TEMPLATE', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + ], + 'MessageId' => [ + 'description' => '消息ID。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'example' => 'TEMPLATE', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + ], + 'Properties' => [ + 'description' => '过滤属性。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'example' => 'TEMPLATE', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + ], + ], + ], + 'SinkKafkaParameters' => [ + 'description' => 'Sink kafka参数。', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => '目标服务类型为消息队列Kafka版。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '实例ID。', + 'type' => 'string', + 'example' => 'Defaut_1283278472_sad****', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'CompressionType' => [ + 'type' => 'string', + ], + 'Topic' => [ + 'description' => '主题名称。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '主题名称。', + 'type' => 'string', + 'example' => 'topic', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'Acks' => [ + 'description' => '写入Kafka确认模式:'."\n" + .'- acks=0:无需服务端的Response、性能较高、丢数据风险较大。'."\n" + .'- acks=1:服务端主节点写成功即返回Response、性能中等、丢数据风险中等、主节点宕机可能导致数据丢失;'."\n" + .'- acks=all:服务端主节点写成功且备节点同步成功才返回Response、性能较差、数据较为安全、主节点和备节点都宕机才会导致数据丢失。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '写入Kafka确认模式:'."\n" + .'- acks=0:无需服务端的Response、性能较高、丢数据风险较大。'."\n" + .'- acks=1:服务端主节点写成功即返回Response、性能中等、丢数据风险中等、主节点宕机可能导致数据丢失;'."\n" + .'- acks=all:服务端主节点写成功且备节点同步成功才返回Response、性能较差、数据较为安全、主节点和备节点都宕机才会导致数据丢失。', + 'type' => 'string', + 'example' => '1', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'Key' => [ + 'description' => '消息的标识。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '消息的标识。', + 'type' => 'string', + 'example' => 'key', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'Value' => [ + 'description' => '消息体内容。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'example' => 'TEMPLATE', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + ], + ], + ], + 'SinkRocketMQParameters' => [ + 'description' => 'Sink RocketMQ 源。', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => '目标服务类型为消息队列RocketMQ版。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '消息队列RocketMQ版的实例ID。', + 'type' => 'string', + 'example' => 'MQ_INST_164901546557****_BAAN****'."\n", + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'Topic' => [ + 'description' => '消息队列RocketMQ版实例的Topic。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '消息队列RocketMQ版实例的Topic。', + 'type' => 'string', + 'example' => 'topic', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'Body' => [ + 'description' => '消息内容。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'example' => 'TEMPLATE', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + ], + 'Properties' => [ + 'description' => '过滤属性。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'example' => 'TEMPLATE', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + ], + 'Keys' => [ + 'description' => '过滤属性。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'example' => 'TEMPLATE', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + ], + 'Tags' => [ + 'description' => '过滤属性。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'example' => 'TEMPLATE', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + ], + 'InstanceType' => [ + 'description' => '实例类型。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '实例类型。取值说明如下:'."\n" + ."\n" + .'- Cloud_4:阿里云 RocketMQ 4.0 版本实例(默认选项)'."\n" + .'- Cloud_5:阿里云 RocketMQ 5.0 版本实例'."\n" + .'- SelfBuilt:自建 Apache RocketMQ 集群', + 'type' => 'string', + 'example' => 'Cloud_4', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT'."\n", + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'InstanceEndpoint' => [ + 'description' => '实例接入点。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '实例接入点。', + 'type' => 'string', + 'example' => 'vbr-8vbsvkkbpf3vb0zef****'."\n", + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT'."\n", + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'InstanceUsername' => [ + 'description' => '实例用户名。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '实例用户名。', + 'type' => 'string', + 'example' => 'admin'."\n", + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT'."\n", + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'InstancePassword' => [ + 'description' => '实例密码。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '实例密码。', + 'type' => 'string', + 'example' => 'admin******'."\n", + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT'."\n", + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'VpcId' => [ + 'description' => 'VPC的ID。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'VPC的ID。', + 'type' => 'string', + 'example' => 'vbr-8vb835n3zf9shwlvb****'."\n", + ], + 'Form' => [ + 'description' => '事件转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT'."\n", + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'VSwitchIds' => [ + 'description' => '交换机ID。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '交换机ID。', + 'type' => 'string', + 'example' => 'vbr-8vb835n3zf9shwl****mp'."\n", + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT'."\n" + ."\n", + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'SecurityGroupId' => [ + 'description' => '安全组ID。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '安全组ID。', + 'type' => 'string', + 'example' => 'b4bf375515f6440f942e3a20c33d****'."\n", + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT'."\n", + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无'."\n", + ], + ], + ], + 'Network' => [ + 'description' => '网络类型。 '."\n" + .'- PublicNetwork'."\n" + .'- PrivateNetwork', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '网络类型。'."\n" + ."\n" + .'- PublicNetwork'."\n" + .'- PrivateNetwork', + 'type' => 'string', + 'example' => 'PublicNetwork'."\n", + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT'."\n", + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'DeliveryOrderType' => [ + 'description' => '消息的投递顺序类型。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '投递顺序类型。', + 'type' => 'string', + 'example' => 'Orderly', + ], + 'Form' => [ + 'description' => '转换格式,默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'ShardingKey' => [ + 'description' => '消息的分片键,用于控制消息分区。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '分片键值。', + 'type' => 'string', + 'example' => 'order_id', + ], + 'Form' => [ + 'description' => '转换格式,默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + ], + ], + 'SinkDorisParameters' => [ + 'type' => 'object', + 'properties' => [ + 'QueryEndpoint' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + ], + 'Form' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + 'FeHttpEndpoint' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + ], + 'Form' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + 'BeHttpEndpoint' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + ], + 'Form' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + 'UserName' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + ], + 'Form' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + 'Password' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + ], + 'Form' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + 'Database' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + ], + 'Form' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + 'Table' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + ], + 'Form' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + 'Body' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + ], + 'Form' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + 'NetworkType' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + ], + 'Form' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + 'VpcId' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + ], + 'Form' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + 'VSwitchIds' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + ], + 'Form' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + 'SecurityGroupId' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + ], + 'Form' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'SinkRocketMQCheckpointParameters' => [ + 'title' => '事件源类型', + 'description' => 'Sink RocketMQ Checkpoint参数。', + 'type' => 'object', + 'properties' => [ + 'InstanceType' => [ + 'description' => '消息队列RocketMQ版的实例类型。', + 'type' => 'string', + 'example' => 'Cloud_5', + ], + 'InstanceId' => [ + 'description' => 'RocketMQ实例ID。', + 'type' => 'string', + 'example' => 'MQ_INST_1825725063814405_BZ******', + ], + 'Topic' => [ + 'description' => '消息队列RocketMQ版实例的Topic。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'Topic的名称。', + 'type' => 'string', + 'example' => 'myTopic', + ], + 'Form' => [ + 'description' => '转换格式,默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'Group' => [ + 'description' => '消息队列RocketMQ版的消费者分组信息。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '消费者分组的Group ID。', + 'type' => 'string', + 'example' => 'GID_******', + ], + 'Form' => [ + 'description' => '转换格式,默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'ConsumeTimestamp' => [ + 'description' => '消费位点。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '时间戳。', + 'type' => 'string', + 'example' => '1636597951964', + ], + 'Form' => [ + 'description' => '转换格式,默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + ], + ], + 'SinkApacheRocketMQCheckpointParameters' => [ + 'title' => '事件源类型', + 'description' => 'Sink Apache RocketMQ Checkpoint参数。', + 'type' => 'object', + 'properties' => [ + 'Topic' => [ + 'description' => 'Apache RocketMQ实例的Topic名称。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'Topic的名称。', + 'type' => 'string', + 'example' => 'myTopic', + ], + 'Form' => [ + 'description' => '转换格式,默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'Group' => [ + 'description' => 'Apache RocketMQ的消费者分组信息。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '消费者分组的Group ID。', + 'type' => 'string', + 'example' => 'GID_******', + ], + 'Form' => [ + 'description' => '转换格式,默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'ConsumeTimestamp' => [ + 'description' => '消费位点。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '时间戳。', + 'type' => 'string', + 'example' => '1636597951964', + ], + 'Form' => [ + 'description' => '转换格式,默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'InstanceEndpoint' => [ + 'description' => 'Apache RocketMQ实例的接入点。', + 'type' => 'string', + 'example' => '192.168.1.1:9876', + ], + 'InstanceUsername' => [ + 'description' => 'Apache RocketMQ实例的用户名。', + 'type' => 'string', + 'example' => 'admin', + ], + 'InstancePassword' => [ + 'description' => 'Apache RocketMQ实例的密码。', + 'type' => 'string', + 'example' => '****', + ], + 'NetworkType' => [ + 'description' => '网络类型。', + 'type' => 'string', + 'example' => 'PrivateNetwork', + ], + 'VpcId' => [ + 'description' => 'VPC ID。', + 'type' => 'string', + 'example' => 'vpc-2zehizpoendb3****', + ], + 'VSwitchId' => [ + 'description' => '交换机ID。', + 'type' => 'string', + 'example' => 'vsw-wz9qqeovkwjxlu9uc****', + ], + 'SecurityGroupId' => [ + 'description' => '安全组ID。', + 'type' => 'string', + 'example' => 'sg-2vcgdxz7o1n9zapp****', + ], + ], + ], + 'SinkSLSParameters' => [ + 'description' => 'Sink SLS Parameters', + 'type' => 'object', + 'properties' => [ + 'Project' => [ + 'description' => '日志服务SLS的日志项目。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '日志服务SLS的日志项目。', + 'type' => 'string', + 'example' => 'test-project'."\n", + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'LogStore' => [ + 'description' => '日志服务SLS的日志库。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '日志服务SLS的日志库。', + 'type' => 'string', + 'example' => 'test-logstore'."\n", + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'Topic' => [ + 'description' => '日志所在的topic,对应SLS 保留字段“topic”。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '日志所在的topic,对应SLS 保留字段“topic”。', + 'type' => 'string', + 'example' => 'topic', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'Body' => [ + 'description' => '发送给SLS的内容。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'example' => 'TEMPLATE', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + ], + 'RoleName' => [ + 'description' => '授权事件总线EventBridge使用此角色读取SLS日志内容时,需满足条件:在RAM控制台创建服务所使用的角色时,需要选择“阿里云服务”,并且“受信服务”需要选择“事件总线”。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '授权事件总线EventBridge使用此角色读取SLS日志内容时,需满足条件:在RAM控制台创建服务所使用的角色时,需要选择“阿里云服务”,并且“受信服务”需要选择“事件总线”。', + 'type' => 'string', + 'example' => 'test-role', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'ContentType' => [ + 'description' => 'SLS数据格式。可选择默认或者配置制定的键值:'."\n" + ."\n" + .'- JSON'."\n" + .'- KeyValue', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'SLS数据格式。可选择默认或者配置制定的键值:'."\n" + ."\n" + .'- JSON'."\n" + .'- KeyValue', + 'type' => 'string', + 'example' => 'JSON'."\n", + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'ContentSchema' => [ + 'description' => '自定义日志的键值,仅在ContentType为KeyValue生效。每一对键值由 Key_n, Value_n 表示。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'example' => '{"Key_1":{"form":"CONSTANT","value":"demoKey"},"Value_1":{"form":"JSONPATH","value":"$.data.value"}}', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT'."\n", + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + ], + ], + 'SinkFnfParameters' => [ + 'description' => 'Sink Fnf 参数。', + 'type' => 'object', + 'properties' => [ + 'FlowName' => [ + 'description' => '流程名称。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '流程名称。', + 'type' => 'string', + 'example' => 'test-streaming-fnf'."\n", + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'ExecutionName' => [ + 'description' => '执行名称。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '执行名称。', + 'type' => 'string', + 'example' => '123', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'Input' => [ + 'description' => '执行输入信息。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '执行输入信息。', + 'type' => 'string', + 'example' => '123', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'RoleName' => [ + 'description' => '角色配置。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '角色配置。', + 'type' => 'string', + 'example' => 'Al****FNF-x****'."\n", + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + ], + ], + 'SinkDataHubParameters' => [ + 'description' => 'Sink DataHub 参数。', + 'type' => 'object', + 'properties' => [ + 'Project' => [ + 'description' => 'DataHub项目名。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'DataHub项目名。', + 'type' => 'string', + 'example' => 'demo-project'."\n", + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT'."\n", + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'Topic' => [ + 'description' => 'DataHub Topic名称。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'DataHub Topic名称。', + 'type' => 'string', + 'example' => 'demo-topic'."\n", + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT'."\n", + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'TopicType' => [ + 'description' => 'topic 类型:'."\n" + ."\n" + .'- TUPLE'."\n" + .'- BLOB', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'topic 类型:'."\n" + ."\n" + .'- TUPLE'."\n" + .'- BLOB', + 'type' => 'string', + 'example' => 'TUPLE'."\n", + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT'."\n", + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'TopicSchema' => [ + 'description' => 'TUBLE类型,topic内容模式。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'TUBLE类型,topic内容模式。', + 'type' => 'string', + 'example' => '{"k1":"value1","k2":"value2"}'."\n", + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'Body' => [ + 'description' => 'BLOB类型,Record内容模板。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'BLOB类型,Record内容模板。', + 'type' => 'string', + 'example' => '无', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'example' => 'ORIGINAL'."\n", + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'RoleName' => [ + 'description' => '授权事件总线EventBridge使用此角色读取SLS日志内容时,需满足条件:在RAM控制台创建服务所使用的角色时,需要选择“阿里云服务”,并且“受信服务”需要选择“事件总线”。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '授权事件总线EventBridge使用此角色读取SLS日志内容时,需满足条件:在RAM控制台创建服务所使用的角色时,需要选择“阿里云服务”,并且“受信服务”需要选择“事件总线”。', + 'type' => 'string', + 'example' => 'testRole'."\n", + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT'."\n", + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + ], + ], + 'SinkCustomizedKafkaParameters' => [ + 'description' => 'Sink Kafka 参数。', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => '消息队列Kafka版的实例ID。', + 'type' => 'string', + 'example' => '90be1f96-4229-4535-bb76-34b4f6fb2b71'."\n", + ], + ], + ], + 'SinkCustomizedKafkaConnectorParameters' => [ + 'description' => 'Sink Kafka 连接器参数。', + 'type' => 'object', + 'properties' => [ + 'ConnectorPackageUrl' => [ + 'description' => 'OSS文件下载链接。', + 'type' => 'string', + 'example' => '"https://examplebucket.oss-cn-hangzhou.aliyuncs.com/testDoc/Old_Homebrew/2024-06-26%2022%3A34%3A08/opt/homebrew/homebrew/Library/Homebrew/test/support/fixtures/cask/AppWithBinary.zip?OSSAccessKeyId=ri&Expires=1725539627&Signature=rb8q3OpV2i3gZJ"', + ], + 'ConnectorParameters' => [ + 'description' => '解析当前 ZIP 包下的 properties 文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '连接器名称。', + 'type' => 'string', + 'example' => 'mongo-sink'."\n", + ], + 'Config' => [ + 'description' => '连接器配置。', + 'type' => 'object', + 'example' => '{'."\n" + .' "connector.class": "com.mongodb.kafka.connect.MongoSinkConnector",'."\n" + .' "tasks.max": "1",'."\n" + .' "topics": "sourceA,sourceB"'."\n" + .' }', + ], + ], + ], + 'WorkerParameters' => [ + 'description' => '实例配置。', + 'type' => 'object', + 'example' => '{'."\n" + .' "group.id": "connect-eb-cluster-KAFKA_CONNECTORC",'."\n" + .' "offset.storage.topic": "connect-eb-offset-KAFKA_CONNECTOR_yjqC8K5ewC",'."\n" + .' "config.storage.topic": "connect-eb-config-KAFKA_CONNECTOR_yjqC8K5ewC",'."\n" + .' "status.storage.topic": "connect-eb-status-KAFKA_CONNECTOR_yjqC8K5ewC",'."\n" + .' "consumer.group.id": "connector-eb-cluster-KAFKA_CONNECTOR_yjqC8K5ewC-mongo-sink",'."\n" + .' "bootstrap.servers": "alikafka-post:9092"'."\n" + .' }', + ], + ], + ], + 'SinkDashVectorParameters' => [ + 'description' => 'Sink DashVector 参数。', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => '实例ID。', + 'type' => 'string', + 'example' => 'vrs-cn-lbj3ru1***'."\n", + ], + 'Collection' => [ + 'description' => 'Collection(集合)名称。', + 'type' => 'string', + 'example' => 'collection1'."\n", + ], + 'ApiKey' => [ + 'description' => 'DashVecotor控制台创建的API Key。', + 'type' => 'string', + 'example' => 'Q34nExQH7sQ****'."\n", + ], + 'Operation' => [ + 'description' => 'DashVector数据库操作类型。', + 'type' => 'string', + 'example' => 'Upsert'."\n", + ], + 'Network' => [ + 'description' => '网络类型。', + 'type' => 'string', + 'example' => 'PublicNetwork'."\n", + ], + 'PrimaryKeyId' => [ + 'description' => '插入/删除记录时的主键ID 不填写此字段时,使用随机主键ID。', + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'example' => 'JSONPATH'."\n", + ], + 'Value' => [ + 'description' => '- Form为JSONPATH:JSONPath提取内容'."\n" + .'- Form为TEMPLATE:模板变量'."\n" + ."\n" + .'注:Value字段不允许超过10240个字符。', + 'type' => 'string', + 'example' => '$.data.requestId'."\n", + ], + 'Template' => [ + 'description' => '主键ID模板,仅当Form是TEMPLATE时需要填写。', + 'type' => 'string', + 'example' => '${ID}'."\n", + ], + ], + ], + 'Partition' => [ + 'description' => 'Partition(分区),默认值为default分区。', + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'example' => 'CONSTANT'."\n", + ], + 'Value' => [ + 'description' => '- Form为CONSTANT:常量值'."\n" + .'- Form为JSONPATH:JSONPath提取内容'."\n" + ."\n" + .'注:Value字段不允许超过10240个字符。', + 'type' => 'string', + 'example' => 'default'."\n", + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'Vector' => [ + 'description' => '插入DashVector记录的向量。', + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'example' => 'JSONPATH'."\n", + ], + 'Value' => [ + 'description' => 'JSONPath提取内容。'."\n" + ."\n" + .'注:Value字段不允许超过10240个字符。', + 'type' => 'string', + 'example' => '$.data.messageBody'."\n", + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'DashVectorSchemaParameters' => [ + 'description' => '插入DashVector时表项的Schema字段定义,事件内容转换后结果必须是JSON格式。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'type' => 'string', + ], + 'Value' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + 'Type' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'type' => 'string', + ], + 'Value' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + 'Value' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'type' => 'string', + ], + 'Value' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + 'SinkOpenSourceRabbitMQParameters' => [ + 'description' => 'Sink Open Source RabbitMQ参数。', + 'type' => 'object', + 'properties' => [ + 'Endpoint' => [ + 'description' => 'RabbitMQ实例接入点。', + 'type' => 'string', + 'example' => '192.168.1.1:9876', + ], + 'VirtualHostName' => [ + 'description' => 'RabbitMQ的虚拟主机名称。', + 'type' => 'string', + 'example' => 'Vhost1', + ], + 'TargetType' => [ + 'description' => '目标类型。', + 'type' => 'string', + 'example' => 'exchange', + ], + 'Exchange' => [ + 'description' => '用于消息路由的交换机名称。', + 'type' => 'string', + 'example' => 'my_exchange', + ], + 'QueueName' => [ + 'description' => '用于存储消息的队列名称。', + 'type' => 'string', + 'example' => 'my_queue', + ], + 'Username' => [ + 'description' => '用于身份验证的用户名。', + 'type' => 'string', + 'example' => 'admin', + ], + 'Password' => [ + 'description' => '用于身份验证的用户名密码。', + 'type' => 'string', + 'example' => '****', + ], + 'VpcId' => [ + 'description' => 'VPC ID。', + 'type' => 'string', + 'example' => 'vpc-2zehizpoendb3****', + ], + 'VSwitchIds' => [ + 'description' => '交换机ID。', + 'type' => 'string', + 'example' => 'vsw-wz9qqeovkwjxlu9uc****', + ], + 'SecurityGroupId' => [ + 'description' => '安全组ID。', + 'type' => 'string', + 'example' => 'sg-2vcgdxz7o1n9zapp****', + ], + 'NetworkType' => [ + 'description' => '网络类型。', + 'type' => 'string', + 'example' => 'PrivateNetwork', + ], + 'AuthType' => [ + 'description' => '认证类型。', + 'type' => 'string', + 'example' => 'ACL', + ], + 'RoutingKey' => [ + 'description' => '消息的路由规则。 仅当参数TargetType配置为Exchange时,需配置此参数。', + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'description' => '数据格式,默认为JSONPATH。', + 'type' => 'string', + 'example' => 'JSONPATH', + ], + 'Value' => [ + 'description' => '消息的路由规则。', + 'type' => 'string', + 'example' => 'housekeeping'."\n", + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + ], + 'Body' => [ + 'description' => '消息内容。', + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'example' => 'TEMPLATE'."\n", + ], + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + ], + 'MessageId' => [ + 'description' => '消息ID。', + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'example' => 'TEMPLATE'."\n", + ], + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => 'The value of ${key} is ${value}!', + ], + ], + ], + 'Properties' => [ + 'description' => '过滤属性。', + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'example' => 'TEMPLATE', + ], + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'example' => ' '."\n" + .'{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => 'The value of ${key} is ${value}!', + ], + ], + ], + ], + ], + 'SinkBaiLianParameters' => [ + 'description' => 'Sink BaiLian参数。', + '$ref' => '#/components/schemas/SinkBaiLianParameters', + ], + 'SinkHttpsParameters' => [ + 'title' => 'Https目标参数', + 'description' => 'Https目标参数', + '$ref' => '#/components/schemas/SinkHttpsParameters', + ], + 'SinkApiDestinationParameters' => [ + 'title' => 'ApiDestination目标参数', + 'description' => 'ApiDestination目标参数', + '$ref' => '#/components/schemas/SinkApiDestinationParameters', + ], + 'SinkOSSParameters' => [ + '$ref' => '#/components/schemas/SinkOSSParameters', + ], + 'SinkRabbitMQMetaParameters' => [ + '$ref' => '#/components/schemas/SinkRabbitMQMetaParameters', + ], + 'SinkRabbitMQMsgSyncParameters' => [ + '$ref' => '#/components/schemas/SinkRabbitMQMsgSyncParameters', + ], + 'SinkMQTTParameters' => [ + '$ref' => '#/components/schemas/SinkMQTTParameters', + ], + ], + ], + 'RunOptions' => [ + 'description' => '运行环境参数。', + 'type' => 'object', + 'properties' => [ + 'MaximumTasks' => [ + 'description' => '并发数。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + ], + 'RetryStrategy' => [ + 'description' => '事件推送失败时的重试策略。', + 'type' => 'object', + 'properties' => [ + 'PushRetryStrategy' => [ + 'description' => '重试策略:BACKOFF_RETRY(退避重试)和EXPONENTIAL_DECAY_RETRY(指数衰减重试)。', + 'type' => 'string', + 'example' => 'EXPONENTIAL_DECAY_RETRY', + ], + ], + ], + 'ErrorsTolerance' => [ + 'description' => '异常容忍策略:NONE(不容忍异常)、ALL(容忍所有异常)。', + 'type' => 'string', + 'example' => 'ALL', + ], + 'DeadLetterQueue' => [ + 'description' => '是否启用死信队列。默认不启用死信队列,超过重试策略后的消息将被丢弃。', + 'type' => 'object', + 'properties' => [ + 'Arn' => [ + 'description' => '死信队列ARN。', + 'type' => 'string', + 'example' => 'acs:ram::159787121179****:role/aliyunsaedefaultrole', + ], + 'Network' => [ + 'description' => '死信队列的网络类型。', + 'type' => 'string', + 'example' => 'PrivateNetwork', + ], + 'VpcId' => [ + 'description' => '死信队列所在的VPC网络ID。', + 'type' => 'string', + 'example' => 'vpc-2zehizpoendb3****', + ], + 'VSwitchIds' => [ + 'description' => '死信队列所在的虚拟交换机ID。', + 'type' => 'string', + 'example' => 'vsw-m5ev8asdc6h12345****', + ], + 'SecurityGroupId' => [ + 'description' => '死信队列所在实例的安全组ID。', + 'type' => 'string', + 'example' => 'sg-2vcgdxz7o1n9zapp****', + ], + ], + ], + 'BatchWindow' => [ + 'description' => '攒批窗口。', + 'type' => 'object', + 'properties' => [ + 'CountBasedWindow' => [ + 'description' => '窗口中最大可容纳的事件数量。当达到此阈值,会触发窗口内的数据往下游推送。当存在多个窗口时,有一个窗口满足即触发。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'TimeBasedWindow' => [ + 'description' => '窗口中最大可容纳的时间范围内的事件(单位秒)。当达到此阈值,会触发窗口内的数据往下游推送。当存在多个窗口时,有一个窗口满足即触发。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + ], + ], + 'BusinessOption' => [ + 'type' => 'object', + 'properties' => [ + 'BusinessMode' => [ + 'type' => 'string', + ], + 'MinCapacityUnitCount' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'MaxCapacityUnitCount' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + 'Throttling' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + 'Status' => [ + 'description' => '获取到的事件流的状态。', + 'type' => 'string', + 'example' => 'RUNNING', + ], + ], + ], + ], + 'NextToken' => [ + 'description' => '用来表示当前调用返回读取到的位置,空代表数据已经读取完毕。下次调用时,需要将此设置到入参NextToken中。', + 'type' => 'string', + 'example' => '177', + ], + 'Total' => [ + 'description' => '总共记录数。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + ], + ], + 'Code' => [ + 'description' => '接口返回码:'."\n" + ."\n" + .'Success:表示成功。 '."\n" + ."\n" + .'其它:表示错误码。错误码详情,请参见错误码。', + 'type' => 'string', + 'example' => 'Success', + ], + 'Success' => [ + 'description' => '操作成功返回true。', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"The event streaming [xxxx] not existed!\\\\n\\",\\n \\"RequestId\\": \\"283FF852-C4B8-58C9-9777-F88A5A16****\\",\\n \\"Data\\": {\\n \\"EventStreamings\\": [\\n {\\n \\"EventStreamingName\\": \\"name\\",\\n \\"Description\\": \\"demo\\",\\n \\"Source\\": {\\n \\"SourceMNSParameters\\": {\\n \\"RegionId\\": \\"cn-zhangjiakou\\",\\n \\"QueueName\\": \\"work4\\",\\n \\"IsBase64Decode\\": true\\n },\\n \\"SourceRabbitMQParameters\\": {\\n \\"RegionId\\": \\"cn-zhangjiakou\\",\\n \\"InstanceId\\": \\"dbaudit-cn-7mz2hqo****\\",\\n \\"VirtualHostName\\": \\"eb-connect\\\\n\\",\\n \\"QueueName\\": \\"liuyang\\"\\n },\\n \\"SourceRocketMQParameters\\": {\\n \\"RegionId\\": \\"cn-chengdu\\",\\n \\"InstanceId\\": \\"i-f8zbher64dlm58pl****\\\\n\\",\\n \\"Topic\\": \\"topic_add_anima\\",\\n \\"Tag\\": \\"v1\\",\\n \\"Offset\\": \\"CONSUMEFROMTIMESTAMP\\",\\n \\"GroupID\\": \\"GID_group1\\",\\n \\"Timestamp\\": 1670742074043,\\n \\"InstanceType\\": \\"Cloud_4\\\\n\\",\\n \\"InstanceEndpoint\\": \\"registry-vpc.cn-hangzhou.aliyuncs.com\\",\\n \\"AuthType\\": \\"ACL\\",\\n \\"InstanceUsername\\": \\"admin**\\",\\n \\"InstancePassword\\": \\"123\\",\\n \\"InstanceVpcId\\": \\"vpc-bp1a4gmlk31hy***l3ss\\",\\n \\"InstanceVSwitchIds\\": \\"vsw-m5ev8asdc6h123456****\\\\n\\",\\n \\"InstanceSecurityGroupId\\": \\"sg-m5edtu24f12345****\\\\n\\",\\n \\"InstanceNetwork\\": \\"PublicNetwork\\",\\n \\"BodyDataType\\": \\"JSON\\\\n\\",\\n \\"Network\\": \\"PublicNetwork\\",\\n \\"FilterType\\": \\"Tag\\\\n\\",\\n \\"FilterSql\\": \\"index > 10\\\\n\\",\\n \\"VpcId\\": \\"vpc-m5e3sv4b12345****\\\\n\\",\\n \\"VSwitchIds\\": \\"vsw-m5ev8asdc6h12345****\\\\n\\",\\n \\"SecurityGroupId\\": \\"sg-m5edtu24f12345****\\\\n\\"\\n },\\n \\"SourceRocketMQCheckpointParameters\\": {\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"InstanceType\\": \\"Cloud_5\\",\\n \\"InstanceId\\": \\"\\\\nrmq-cn-jte3w******\\",\\n \\"Topics\\": [\\n \\"myTopic\\"\\n ]\\n },\\n \\"SourceApacheRocketMQCheckpointParameters\\": {\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"Topics\\": [\\n \\"myTopic\\"\\n ],\\n \\"InstanceEndpoint\\": \\"192.168.1.1:9876\\",\\n \\"InstanceUsername\\": \\"admin\\",\\n \\"InstancePassword\\": \\"****\\",\\n \\"NetworkType\\": \\"PrivateNetwork\\",\\n \\"VpcId\\": \\"vpc-adw1awdw*****\\",\\n \\"VSwitchId\\": \\"vsw-dwaafds****\\",\\n \\"SecurityGroupId\\": \\"sg-mw43*****\\"\\n },\\n \\"SourceKafkaParameters\\": {\\n \\"RegionId\\": \\"cn-chengdu\\",\\n \\"InstanceId\\": \\"bastionhost-cn-i7m2gwt****\\",\\n \\"Topic\\": \\"topic_empower_1642473600414\\\\n\\",\\n \\"ConsumerGroup\\": \\"GID_TEST\\",\\n \\"OffsetReset\\": \\"latest\\",\\n \\"Network\\": \\"Default\\",\\n \\"VpcId\\": \\"vpc-wz9ki1qdlx3cx5cbf****\\",\\n \\"VSwitchIds\\": \\"vsw-bp1rmi8rind7eo50c****\\",\\n \\"SecurityGroupId\\": \\"sg-5ud5f3p0rqqis69****eho7cp\\",\\n \\"ValueDataType\\": \\"JSON\\\\n\\"\\n },\\n \\"SourceMQTTParameters\\": {\\n \\"RegionId\\": \\"cn-qingdao\\",\\n \\"InstanceId\\": \\"bastionhost-cn-zvp27kc****\\",\\n \\"Topic\\": \\"migration_instance\\",\\n \\"BodyDataType\\": \\"JSON\\\\n\\"\\n },\\n \\"SourceDTSParameters\\": {\\n \\"TaskId\\": \\"1611b337285f44e2936a2c4170****\\",\\n \\"BrokerUrl\\": \\"无\\",\\n \\"Topic\\": \\"TP_TEST_UNDERWRITE_ISSUE\\\\n\\",\\n \\"Sid\\": \\"HG9\\",\\n \\"Username\\": \\"admin\\",\\n \\"Password\\": \\"123456\\",\\n \\"InitCheckPoint\\": \\"1620962769\\"\\n },\\n \\"SourceSLSParameters\\": {\\n \\"Project\\": \\"dmmzk\\",\\n \\"LogStore\\": \\"waf-logstore\\\\n\\",\\n \\"ConsumerGroup\\": \\"go-dts-shelf-group\\",\\n \\"ConsumePosition\\": \\"begin\\",\\n \\"RoleName\\": \\"testRole\\"\\n },\\n \\"SourcePrometheusParameters\\": {\\n \\"RegionId\\": \\"cn-beijing\\",\\n \\"ClusterId\\": \\"c83555068b6******ad213f565f209\\\\n\\",\\n \\"DataType\\": \\"JSON\\\\n\\",\\n \\"Labels\\": \\"__name__=.*\\\\n\\",\\n \\"RoleName\\": \\"testRole\\",\\n \\"ExternalLabels\\": \\"{\\\\\\"source\\\\\\":\\\\\\"prometheus-prod\\\\\\"}\\"\\n },\\n \\"SourceCustomizedKafkaParameters\\": {\\n \\"InstanceId\\": \\"gtm-cn-k2c2yfg****\\\\n\\"\\n },\\n \\"SourceCustomizedKafkaConnectorParameters\\": {\\n \\"ConnectorPackageUrl\\": \\"\\\\\\"https://examplebucket.oss-cn-hangzhou.aliyuncs.com/testDoc/Old_Homebrew/2024-06-26%2022%3A34%3A08/opt/homebrew/homebrew/Library/Homebrew/test/support/fixtures/cask/AppWithBinary.zip?OSSAccessKeyId=ri&Expires=1725539627&Signature=rb8q3OpV2i3gZJ\\\\\\"\\",\\n \\"ConnectorParameters\\": {\\n \\"Name\\": \\"test-name\\\\n\\",\\n \\"Config\\": {\\n \\"connector.class\\": \\"com.mongodb.kafka.connect.MongoSinkConnector\\",\\n \\"tasks.max\\": \\"1\\",\\n \\"topics\\": \\"sourceA,sourceB\\"\\n }\\n },\\n \\"WorkerParameters\\": {\\n \\"group.id\\": \\"connect-eb-cluster-KAFKA_CONNECTORC\\",\\n \\"offset.storage.topic\\": \\"connect-eb-offset-KAFKA_CONNECTOR_yjqC8K5ewC\\",\\n \\"config.storage.topic\\": \\"connect-eb-config-KAFKA_CONNECTOR_yjqC8K5ewC\\",\\n \\"status.storage.topic\\": \\"connect-eb-status-KAFKA_CONNECTOR_yjqC8K5ewC\\",\\n \\"consumer.group.id\\": \\"connector-eb-cluster-KAFKA_CONNECTOR_yjqC8K5ewC-mongo-sink\\",\\n \\"bootstrap.servers\\": \\"alikafka-post:9092\\"\\n }\\n },\\n \\"SourceOSSParameters\\": {\\n \\"RoleName\\": \\"eventbridge_oss_role\\\\n\\",\\n \\"BucketName\\": \\"bucket_abc\\\\n\\",\\n \\"Prefix\\": \\"fun/document/\\\\n\\",\\n \\"LoadMode\\": \\"single\\\\n\\",\\n \\"LoadFormat\\": \\"TextLoader\\\\n\\",\\n \\"Delimiter\\": \\"\\\\\\\\n\\\\n\\"\\n },\\n \\"SourceOpenSourceRabbitMQParameters\\": {\\n \\"Endpoint\\": \\"192.168.1.1:9876\\",\\n \\"VirtualHostName\\": \\"Vhost1\\",\\n \\"QueueName\\": \\"demo\\",\\n \\"BodyDataType\\": \\"Json\\",\\n \\"Username\\": \\"admin\\",\\n \\"Password\\": \\"****\\",\\n \\"VpcId\\": \\"vpc-m5e3sv4b12345****\\",\\n \\"VSwitchIds\\": \\"vsw-m5ev8asdc6h12345****\\",\\n \\"SecurityGroupId\\": \\"sg-m5edtu24f12345****\\",\\n \\"NetworkType\\": \\"PrivateNetwork\\",\\n \\"AuthType\\": \\"ACL\\"\\n },\\n \\"SourceEventBusParameters\\": {\\n \\"EventBusName\\": \\"my-event-bus\\",\\n \\"EventRuleName\\": \\"my-event-rule\\"\\n },\\n \\"SourceMySQLParameters\\": {\\n \\"IncludeSchemaChanges\\": \\"\\",\\n \\"User\\": \\"\\",\\n \\"VSwitchIds\\": \\"\\",\\n \\"SnapshotMode\\": \\"\\",\\n \\"SecurityGroupId\\": \\"\\",\\n \\"Port\\": 0,\\n \\"DatabaseName\\": \\"\\",\\n \\"VpcId\\": \\"\\",\\n \\"NetworkType\\": \\"\\",\\n \\"TableNames\\": \\"\\",\\n \\"RegionId\\": \\"\\",\\n \\"HostName\\": \\"\\",\\n \\"Password\\": \\"\\"\\n },\\n \\"SourcePostgreSQLParameters\\": {\\n \\"RegionId\\": \\"\\",\\n \\"HostName\\": \\"\\",\\n \\"Port\\": 0,\\n \\"User\\": \\"\\",\\n \\"Password\\": \\"\\",\\n \\"DatabaseName\\": \\"\\",\\n \\"SchemaName\\": \\"\\",\\n \\"TableNames\\": \\"\\",\\n \\"NetworkType\\": \\"\\",\\n \\"VpcId\\": \\"\\",\\n \\"VSwitchIds\\": \\"\\",\\n \\"SecurityGroupId\\": \\"\\",\\n \\"SnapshotMode\\": \\"\\"\\n },\\n \\"SourceRabbitMQMetaParameters\\": {\\n \\"InstanceType\\": \\"\\",\\n \\"InstanceId\\": \\"\\",\\n \\"Endpoint\\": \\"\\",\\n \\"VirtualHostName\\": \\"\\",\\n \\"Regex\\": \\"\\",\\n \\"Username\\": \\"\\",\\n \\"Password\\": \\"\\",\\n \\"VpcId\\": \\"\\",\\n \\"VSwitchIds\\": \\"\\",\\n \\"SecurityGroupId\\": \\"\\",\\n \\"NetworkType\\": \\"\\",\\n \\"MaxHops\\": \\"\\",\\n \\"OrderConsume\\": \\"\\",\\n \\"InnerNameSuffix\\": \\"\\"\\n },\\n \\"SourceRabbitMQMsgSyncParameters\\": {\\n \\"InstanceType\\": \\"\\",\\n \\"InstanceId\\": \\"\\",\\n \\"Endpoint\\": \\"\\",\\n \\"VirtualHostName\\": \\"\\",\\n \\"OrderConsume\\": \\"\\",\\n \\"BodyDataType\\": \\"\\",\\n \\"PrefetchCount\\": \\"\\",\\n \\"Username\\": \\"\\",\\n \\"Password\\": \\"\\",\\n \\"VpcId\\": \\"\\",\\n \\"VSwitchIds\\": \\"\\",\\n \\"SecurityGroupId\\": \\"\\",\\n \\"NetworkType\\": \\"\\"\\n }\\n },\\n \\"FilterPattern\\": \\"无\\",\\n \\"Transforms\\": [\\n {\\n \\"Arn\\": \\"acs:fc:cn-hangzhou:*****:services/demo-service.LATEST/functions/demo-func\\\\n\\",\\n \\"DashScopeTransformParameters\\": {\\n \\"Model\\": \\"\\",\\n \\"ApiKey\\": \\"\\",\\n \\"StructuredOutputJsonSchema\\": \\"\\",\\n \\"RequestPerMinute\\": 0,\\n \\"TokenPerMinute\\": 0,\\n \\"Messages\\": [\\n {\\n \\"Role\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n }\\n ]\\n },\\n \\"BaiLianAgentTransformParameters\\": {\\n \\"ApplicationId\\": \\"\\",\\n \\"Prompt\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"ApiKey\\": \\"\\",\\n \\"RequestPerMinute\\": 0,\\n \\"TokenPerMinute\\": 0\\n }\\n }\\n ],\\n \\"Sink\\": {\\n \\"SinkMNSParameters\\": {\\n \\"QueueName\\": {\\n \\"Value\\": \\"MyQueue\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Body\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"IsBase64Encode\\": {\\n \\"Value\\": \\"true\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n }\\n },\\n \\"SinkFcParameters\\": {\\n \\"ServiceName\\": {\\n \\"Value\\": \\"myService\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"FunctionName\\": {\\n \\"Value\\": \\"mFunction\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Concurrency\\": {\\n \\"Value\\": \\"1\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Qualifier\\": {\\n \\"Value\\": \\"LATEST\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"InvocationType\\": {\\n \\"Value\\": \\"Async\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Body\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"DataFormat\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n }\\n },\\n \\"SinkRabbitMQParameters\\": {\\n \\"InstanceId\\": {\\n \\"Value\\": \\"si-296cd57939a1421b****\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"VirtualHostName\\": {\\n \\"Value\\": \\"rabbit-host\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"TargetType\\": {\\n \\"Value\\": \\"Queue\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Exchange\\": {\\n \\"Value\\": \\"a_exchange\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"RoutingKey\\": {\\n \\"Value\\": \\"housekeeping\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"QueueName\\": {\\n \\"Value\\": \\"MyQueue\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Body\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"MessageId\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"Properties\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n }\\n },\\n \\"SinkKafkaParameters\\": {\\n \\"InstanceId\\": {\\n \\"Value\\": \\"Defaut_1283278472_sad****\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"CompressionType\\": \\"\\",\\n \\"Topic\\": {\\n \\"Value\\": \\"topic\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Acks\\": {\\n \\"Value\\": \\"1\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Key\\": {\\n \\"Value\\": \\"key\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Value\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n }\\n },\\n \\"SinkRocketMQParameters\\": {\\n \\"InstanceId\\": {\\n \\"Value\\": \\"MQ_INST_164901546557****_BAAN****\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Topic\\": {\\n \\"Value\\": \\"topic\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Body\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"Properties\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"Keys\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"Tags\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"InstanceType\\": {\\n \\"Value\\": \\"Cloud_4\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"InstanceEndpoint\\": {\\n \\"Value\\": \\"vbr-8vbsvkkbpf3vb0zef****\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"InstanceUsername\\": {\\n \\"Value\\": \\"admin\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"InstancePassword\\": {\\n \\"Value\\": \\"admin******\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"VpcId\\": {\\n \\"Value\\": \\"vbr-8vb835n3zf9shwlvb****\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"VSwitchIds\\": {\\n \\"Value\\": \\"vbr-8vb835n3zf9shwl****mp\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\\\n\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"SecurityGroupId\\": {\\n \\"Value\\": \\"b4bf375515f6440f942e3a20c33d****\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Template\\": \\"无\\\\n\\"\\n },\\n \\"Network\\": {\\n \\"Value\\": \\"PublicNetwork\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"DeliveryOrderType\\": {\\n \\"Value\\": \\"Orderly\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"ShardingKey\\": {\\n \\"Value\\": \\"order_id\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n }\\n },\\n \\"SinkDorisParameters\\": {\\n \\"QueryEndpoint\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"FeHttpEndpoint\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"BeHttpEndpoint\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"UserName\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Password\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Database\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Table\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Body\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"NetworkType\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"VpcId\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"VSwitchIds\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"SecurityGroupId\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n }\\n },\\n \\"SinkRocketMQCheckpointParameters\\": {\\n \\"InstanceType\\": \\"Cloud_5\\",\\n \\"InstanceId\\": \\"MQ_INST_1825725063814405_BZ******\\",\\n \\"Topic\\": {\\n \\"Value\\": \\"myTopic\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Group\\": {\\n \\"Value\\": \\"GID_******\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"ConsumeTimestamp\\": {\\n \\"Value\\": \\"1636597951964\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n }\\n },\\n \\"SinkApacheRocketMQCheckpointParameters\\": {\\n \\"Topic\\": {\\n \\"Value\\": \\"myTopic\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Group\\": {\\n \\"Value\\": \\"GID_******\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"ConsumeTimestamp\\": {\\n \\"Value\\": \\"1636597951964\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"InstanceEndpoint\\": \\"192.168.1.1:9876\\",\\n \\"InstanceUsername\\": \\"admin\\",\\n \\"InstancePassword\\": \\"****\\",\\n \\"NetworkType\\": \\"PrivateNetwork\\",\\n \\"VpcId\\": \\"vpc-2zehizpoendb3****\\",\\n \\"VSwitchId\\": \\"vsw-wz9qqeovkwjxlu9uc****\\",\\n \\"SecurityGroupId\\": \\"sg-2vcgdxz7o1n9zapp****\\"\\n },\\n \\"SinkSLSParameters\\": {\\n \\"Project\\": {\\n \\"Value\\": \\"test-project\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"LogStore\\": {\\n \\"Value\\": \\"test-logstore\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Topic\\": {\\n \\"Value\\": \\"topic\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Body\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"RoleName\\": {\\n \\"Value\\": \\"test-role\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"ContentType\\": {\\n \\"Value\\": \\"JSON\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"ContentSchema\\": {\\n \\"Value\\": \\"{\\\\\\"Key_1\\\\\\":{\\\\\\"form\\\\\\":\\\\\\"CONSTANT\\\\\\",\\\\\\"value\\\\\\":\\\\\\"demoKey\\\\\\"},\\\\\\"Value_1\\\\\\":{\\\\\\"form\\\\\\":\\\\\\"JSONPATH\\\\\\",\\\\\\"value\\\\\\":\\\\\\"$.data.value\\\\\\"}}\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Template\\": \\"无\\"\\n }\\n },\\n \\"SinkFnfParameters\\": {\\n \\"FlowName\\": {\\n \\"Value\\": \\"test-streaming-fnf\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"ExecutionName\\": {\\n \\"Value\\": \\"123\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Input\\": {\\n \\"Value\\": \\"123\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"RoleName\\": {\\n \\"Value\\": \\"Al****FNF-x****\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n }\\n },\\n \\"SinkDataHubParameters\\": {\\n \\"Project\\": {\\n \\"Value\\": \\"demo-project\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Topic\\": {\\n \\"Value\\": \\"demo-topic\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"TopicType\\": {\\n \\"Value\\": \\"TUPLE\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"TopicSchema\\": {\\n \\"Value\\": \\"{\\\\\\"k1\\\\\\":\\\\\\"value1\\\\\\",\\\\\\"k2\\\\\\":\\\\\\"value2\\\\\\"}\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Body\\": {\\n \\"Value\\": \\"无\\",\\n \\"Form\\": \\"ORIGINAL\\\\n\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"RoleName\\": {\\n \\"Value\\": \\"testRole\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Template\\": \\"无\\"\\n }\\n },\\n \\"SinkCustomizedKafkaParameters\\": {\\n \\"InstanceId\\": \\"90be1f96-4229-4535-bb76-34b4f6fb2b71\\\\n\\"\\n },\\n \\"SinkCustomizedKafkaConnectorParameters\\": {\\n \\"ConnectorPackageUrl\\": \\"\\\\\\"https://examplebucket.oss-cn-hangzhou.aliyuncs.com/testDoc/Old_Homebrew/2024-06-26%2022%3A34%3A08/opt/homebrew/homebrew/Library/Homebrew/test/support/fixtures/cask/AppWithBinary.zip?OSSAccessKeyId=ri&Expires=1725539627&Signature=rb8q3OpV2i3gZJ\\\\\\"\\",\\n \\"ConnectorParameters\\": {\\n \\"Name\\": \\"mongo-sink\\\\n\\",\\n \\"Config\\": {\\n \\"connector.class\\": \\"com.mongodb.kafka.connect.MongoSinkConnector\\",\\n \\"tasks.max\\": \\"1\\",\\n \\"topics\\": \\"sourceA,sourceB\\"\\n }\\n },\\n \\"WorkerParameters\\": {\\n \\"group.id\\": \\"connect-eb-cluster-KAFKA_CONNECTORC\\",\\n \\"offset.storage.topic\\": \\"connect-eb-offset-KAFKA_CONNECTOR_yjqC8K5ewC\\",\\n \\"config.storage.topic\\": \\"connect-eb-config-KAFKA_CONNECTOR_yjqC8K5ewC\\",\\n \\"status.storage.topic\\": \\"connect-eb-status-KAFKA_CONNECTOR_yjqC8K5ewC\\",\\n \\"consumer.group.id\\": \\"connector-eb-cluster-KAFKA_CONNECTOR_yjqC8K5ewC-mongo-sink\\",\\n \\"bootstrap.servers\\": \\"alikafka-post:9092\\"\\n }\\n },\\n \\"SinkDashVectorParameters\\": {\\n \\"InstanceId\\": \\"vrs-cn-lbj3ru1***\\\\n\\",\\n \\"Collection\\": \\"collection1\\\\n\\",\\n \\"ApiKey\\": \\"Q34nExQH7sQ****\\\\n\\",\\n \\"Operation\\": \\"Upsert\\\\n\\",\\n \\"Network\\": \\"PublicNetwork\\\\n\\",\\n \\"PrimaryKeyId\\": {\\n \\"Form\\": \\"JSONPATH\\\\n\\",\\n \\"Value\\": \\"$.data.requestId\\\\n\\",\\n \\"Template\\": \\"${ID}\\\\n\\"\\n },\\n \\"Partition\\": {\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Value\\": \\"default\\\\n\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Vector\\": {\\n \\"Form\\": \\"JSONPATH\\\\n\\",\\n \\"Value\\": \\"$.data.messageBody\\\\n\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"DashVectorSchemaParameters\\": [\\n {\\n \\"Name\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Type\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Value\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n }\\n }\\n ]\\n },\\n \\"SinkOpenSourceRabbitMQParameters\\": {\\n \\"Endpoint\\": \\"192.168.1.1:9876\\",\\n \\"VirtualHostName\\": \\"Vhost1\\",\\n \\"TargetType\\": \\"exchange\\",\\n \\"Exchange\\": \\"my_exchange\\",\\n \\"QueueName\\": \\"my_queue\\",\\n \\"Username\\": \\"admin\\",\\n \\"Password\\": \\"****\\",\\n \\"VpcId\\": \\"vpc-2zehizpoendb3****\\",\\n \\"VSwitchIds\\": \\"vsw-wz9qqeovkwjxlu9uc****\\",\\n \\"SecurityGroupId\\": \\"sg-2vcgdxz7o1n9zapp****\\",\\n \\"NetworkType\\": \\"PrivateNetwork\\",\\n \\"AuthType\\": \\"ACL\\",\\n \\"RoutingKey\\": {\\n \\"Form\\": \\"JSONPATH\\",\\n \\"Value\\": \\"housekeeping\\\\n\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"Body\\": {\\n \\"Form\\": \\"TEMPLATE\\\\n\\",\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"MessageId\\": {\\n \\"Form\\": \\"TEMPLATE\\\\n\\",\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\"\\n },\\n \\"Properties\\": {\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"Value\\": \\"\\\\t\\\\n{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\"\\n }\\n },\\n \\"SinkBaiLianParameters\\": {\\n \\"Before\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Context\\": \\"\\",\\n \\"ApplicationType\\": \\"\\",\\n \\"Op\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Partition\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Extend\\": \\"\\",\\n \\"WorkspaceId\\": \\"\\",\\n \\"After\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Offset\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n }\\n },\\n \\"SinkHttpsParameters\\": {\\n \\"URL\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Method\\": \\"\\",\\n \\"Body\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Token\\": \\"\\",\\n \\"NetworkType\\": \\"\\",\\n \\"VpcId\\": \\"\\",\\n \\"VSwitchIds\\": \\"\\",\\n \\"SecurityGroupId\\": \\"\\"\\n },\\n \\"SinkApiDestinationParameters\\": {\\n \\"Name\\": \\"\\",\\n \\"HeaderParameters\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"BodyParameters\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"QueryStringParameters\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n }\\n },\\n \\"SinkOSSParameters\\": {\\n \\"BucketName\\": \\"\\",\\n \\"RegionId\\": \\"\\",\\n \\"Endpoint\\": \\"\\",\\n \\"RoleArn\\": \\"\\",\\n \\"RotateSizeBytes\\": \\"\\",\\n \\"RotateIntervalMs\\": \\"\\",\\n \\"PathFormat\\": \\"\\",\\n \\"CompressionType\\": \\"\\",\\n \\"TaskConcurrency\\": \\"\\",\\n \\"TimeZone\\": \\"\\",\\n \\"SSLEnabled\\": true,\\n \\"ContentTransform\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n }\\n },\\n \\"SinkRabbitMQMetaParameters\\": {\\n \\"InstanceType\\": \\"\\",\\n \\"InstanceId\\": \\"\\",\\n \\"Endpoint\\": \\"\\",\\n \\"VirtualHostName\\": \\"\\",\\n \\"Username\\": \\"\\",\\n \\"Password\\": \\"\\",\\n \\"VpcId\\": \\"\\",\\n \\"VSwitchIds\\": \\"\\",\\n \\"SecurityGroupId\\": \\"\\",\\n \\"NetworkType\\": \\"\\"\\n },\\n \\"SinkRabbitMQMsgSyncParameters\\": {\\n \\"InstanceType\\": \\"\\",\\n \\"InstanceId\\": \\"\\",\\n \\"Endpoint\\": \\"\\",\\n \\"VirtualHostName\\": \\"\\",\\n \\"Body\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"MessageId\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Properties\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Exchange\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"RoutingKey\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"MaxHops\\": \\"\\",\\n \\"Username\\": \\"\\",\\n \\"Password\\": \\"\\",\\n \\"VpcId\\": \\"\\",\\n \\"VSwitchIds\\": \\"\\",\\n \\"SecurityGroupId\\": \\"\\",\\n \\"NetworkType\\": \\"\\"\\n },\\n \\"SinkMQTTParameters\\": {\\n \\"InstanceId\\": \\"\\",\\n \\"ParentTopic\\": \\"\\",\\n \\"SubTopic\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Payload\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Mqtt5UserProperty\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n }\\n }\\n },\\n \\"RunOptions\\": {\\n \\"MaximumTasks\\": 2,\\n \\"RetryStrategy\\": {\\n \\"PushRetryStrategy\\": \\"EXPONENTIAL_DECAY_RETRY\\"\\n },\\n \\"ErrorsTolerance\\": \\"ALL\\",\\n \\"DeadLetterQueue\\": {\\n \\"Arn\\": \\"acs:ram::159787121179****:role/aliyunsaedefaultrole\\",\\n \\"Network\\": \\"PrivateNetwork\\",\\n \\"VpcId\\": \\"vpc-2zehizpoendb3****\\",\\n \\"VSwitchIds\\": \\"vsw-m5ev8asdc6h12345****\\",\\n \\"SecurityGroupId\\": \\"sg-2vcgdxz7o1n9zapp****\\"\\n },\\n \\"BatchWindow\\": {\\n \\"CountBasedWindow\\": 100,\\n \\"TimeBasedWindow\\": 10\\n },\\n \\"BusinessOption\\": {\\n \\"BusinessMode\\": \\"\\",\\n \\"MinCapacityUnitCount\\": 0,\\n \\"MaxCapacityUnitCount\\": 0\\n },\\n \\"Throttling\\": 0\\n },\\n \\"Status\\": \\"RUNNING\\"\\n }\\n ],\\n \\"NextToken\\": \\"177\\",\\n \\"Total\\": 10\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => '查询事件流', + 'description' => '查询事件流。', + ], + 'DeleteEventStreaming' => [ + 'summary' => '删除一个事件流。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '38621', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeUWT8SO', + ], + ], + 'parameters' => [ + [ + 'name' => 'EventStreamingName', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '名称', + 'description' => '要删除的事件流的名称。', + 'type' => 'string', + 'required' => true, + 'example' => 'rocketmq-sync', + 'maxLength' => 255, + 'minLength' => 2, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '错误信息', + 'type' => 'string', + 'example' => 'The event streaming [xxxx] not existed!', + ], + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '499A9ACF-70CD-5D43-87F3-1B60529EE446', + ], + 'Code' => [ + 'description' => '接口返回码:'."\n" + ."\n" + .'Success:表示成功。 '."\n" + ."\n" + .'其它:表示错误码。错误码详情,请参见错误码。', + 'type' => 'string', + 'example' => 'Success', + ], + 'Success' => [ + 'description' => '操作成功返回true。', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"The event streaming [xxxx] not existed!\\",\\n \\"RequestId\\": \\"499A9ACF-70CD-5D43-87F3-1B60529EE446\\",\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => '删除一个事件流', + 'description' => '删除一个事件流。', + ], + 'PauseEventStreaming' => [ + 'summary' => '停用一个运行中的事件流。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '38638', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeUWT8SO', + ], + ], + 'parameters' => [ + [ + 'name' => 'EventStreamingName', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '名称', + 'description' => '要停用的事件流的名称。', + 'type' => 'string', + 'required' => true, + 'example' => 'rocketmq-sync', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '错误信息。', + 'type' => 'string', + 'example' => 'The event streaming [xxxx] not existed!'."\n", + ], + 'RequestId' => [ + 'description' => '阿里云为该请求生成的唯一标识符。', + 'type' => 'string', + 'example' => '72ce027c-546a-4231-9cf6-ec58766027f9', + ], + 'Code' => [ + 'description' => '接口返回码:Success:表示成功。 其它:表示错误码。错误码详情,请参见错误码。', + 'type' => 'string', + 'example' => 'Success', + ], + 'Success' => [ + 'description' => '操作成功返回true。', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"The event streaming [xxxx] not existed!\\\\n\\",\\n \\"RequestId\\": \\"72ce027c-546a-4231-9cf6-ec58766027f9\\",\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => '停用一个运行中的事件流', + 'description' => '停用一个运行中的事件流。', + ], + 'StartEventStreaming' => [ + 'summary' => '启用一个已创建或已停用的事件流。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '38624', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeUWT8SO', + 'FEATUREeventbridge70XW1X', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'EventStreamingName', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '名称', + 'description' => '要启用的事件流的名称。', + 'type' => 'string', + 'required' => true, + 'example' => 'rocketmq-sync', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '错误信息。', + 'type' => 'string', + 'example' => 'The event streaming [xxxx] not existed!'."\n", + ], + 'RequestId' => [ + 'description' => '阿里云为该请求生成的唯一标识符。', + 'type' => 'string', + 'example' => '8CEAD24D-328D-5539-9D30-FD2D33204FBB', + ], + 'Code' => [ + 'description' => '接口返回码:Success:表示成功。 其它:表示错误码。错误码详情,请参见错误码。', + 'type' => 'string', + 'example' => 'Success', + ], + 'Success' => [ + 'description' => '操作成功返回true。', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"The event streaming [xxxx] not existed!\\\\n\\",\\n \\"RequestId\\": \\"8CEAD24D-328D-5539-9D30-FD2D33204FBB\\",\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => '启用一个已创建或已停用的事件流', + 'description' => '启用一个已创建或已停用的事件流。', + ], + 'GetEventStreaming' => [ + 'summary' => '获取一个事件流的详细信息。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '38611', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeUWT8SO', + 'FEATUREeventbridge70XW1X', + ], + ], + 'parameters' => [ + [ + 'name' => 'EventStreamingName', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '名称', + 'description' => '要获取信息的事件流的名称。', + 'type' => 'string', + 'required' => true, + 'example' => 'myeventstreaming', + 'maxLength' => 255, + 'minLength' => 2, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '返回信息。', + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '错误信息。', + 'type' => 'string', + 'example' => 'The event streaming [xxxx] not existed!', + ], + 'RequestId' => [ + 'description' => '阿里云为该请求生成的唯一标识符。', + 'type' => 'string', + 'example' => '7892F480-58C9-5067-AB35-8A7BEF****', + ], + 'Data' => [ + 'description' => '返回数据。', + 'type' => 'object', + 'properties' => [ + 'EventStreamingName' => [ + 'description' => '获取到的事件流的名称。', + 'type' => 'string', + 'example' => 'rocketmq-sync', + ], + 'Description' => [ + 'description' => '获取到的事件流的描述。', + 'type' => 'string', + 'example' => 'RocketMQ-to-RocketMQ', + ], + 'Source' => [ + 'description' => '事件提供方。', + 'type' => 'object', + 'properties' => [ + 'SourceMNSParameters' => [ + 'description' => 'Source 轻量消息队列(原 MNS) 参数。', + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'description' => '地域ID。', + 'type' => 'string', + 'example' => 'cn-hangzhou', + ], + 'QueueName' => [ + 'description' => '轻量消息队列(原 MNS)的Queue的名称。', + 'type' => 'string', + 'example' => 'demo', + ], + 'IsBase64Decode' => [ + 'description' => '是否开启Base64编码。', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + 'SourceRabbitMQParameters' => [ + 'description' => 'Source RabbitMQ源。', + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'description' => '地域ID。', + 'type' => 'string', + 'example' => 'cn-hangzhou', + ], + 'InstanceId' => [ + 'description' => '消息队列RabbitMQ版的实例的ID。', + 'type' => 'string', + 'example' => 'i-f8z9a9mcgwri1c1i****', + ], + 'VirtualHostName' => [ + 'description' => '消息队列RabbitMQ版实例的Vhost的名称。', + 'type' => 'string', + 'example' => 'eb-connect', + ], + 'QueueName' => [ + 'description' => '消息队列RabbitMQ版实例的Queue的名称。', + 'type' => 'string', + 'example' => 'comp', + ], + ], + ], + 'SourceRocketMQParameters' => [ + 'description' => 'Source RocketMQ源。', + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'description' => '消息队列RocketMQ版的地域ID。', + 'type' => 'string', + 'example' => 'cn-hangzhou', + ], + 'InstanceId' => [ + 'description' => '消息队列RocketMQ版的实例ID。', + 'type' => 'string', + 'example' => 'i-f8zbher64dlm58pl****', + ], + 'Topic' => [ + 'description' => '消息的Topic。', + 'type' => 'string', + 'example' => 'topic_add_anima', + ], + 'Tag' => [ + 'description' => '消息的过滤标签', + 'type' => 'string', + 'example' => 'v1', + ], + 'Offset' => [ + 'description' => '消息的消费位点。取值说明如下:'."\n" + .'CONSUME_FROM_LAST_OFFSET:从最新位点开始消费。'."\n" + .'CONSUME_FROM_FIRST_OFFSET:从最早位点开始消费。'."\n" + .'CONSUME_FROM_TIMESTAMP:从指定时间点的位点开始消费。', + 'type' => 'string', + 'example' => 'CONSUMEFROMLASTOFFSET', + ], + 'GroupID' => [ + 'description' => '消息队列RocketMQ版的Group ID。', + 'type' => 'string', + 'example' => 'GID_group1', + ], + 'Timestamp' => [ + 'description' => '时间戳。仅当参数Offset取值为CONSUME_FROM_TIMESTAMP时,该参数有效。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1636597951964', + ], + 'InstanceType' => [ + 'description' => '实例类型。取值说明如下:'."\n" + ."\n" + .'- Cloud_4:阿里云 RocketMQ 4.0 版本实例(默认选项)'."\n" + .'- Cloud_5:阿里云 RocketMQ 5.0 版本实例'."\n" + .'- SelfBuilt:自建 Apache RocketMQ 集群', + 'type' => 'string', + 'example' => 'Cloud_4'."\n", + ], + 'InstanceEndpoint' => [ + 'description' => '实例接入点。', + 'type' => 'string', + 'example' => 'reg****-vpc.cn-zhangjiakou.aliyuncs.com'."\n", + ], + 'AuthType' => [ + 'description' => '鉴权类型。', + 'type' => 'string', + 'example' => 'ACL', + ], + 'InstanceUsername' => [ + 'description' => '实例用户名。', + 'type' => 'string', + 'example' => 'xxxa', + ], + 'InstancePassword' => [ + 'description' => '实例密码。', + 'type' => 'string', + 'example' => 'xxxa', + ], + 'InstanceVpcId' => [ + 'description' => '实例VPC信息。', + 'type' => 'string', + 'example' => 'vpc-m5e3sv4b12345****'."\n", + ], + 'InstanceVSwitchIds' => [ + 'description' => '实例交换机信息。', + 'type' => 'string', + 'example' => 'vsw-m5ev8asdc6h12****'."\n", + ], + 'InstanceSecurityGroupId' => [ + 'description' => '实例安全组信息。', + 'type' => 'string', + 'example' => 'sg-m5edtu24f12345****'."\n", + ], + 'InstanceNetwork' => [ + 'description' => '实例网络信息:'."\n" + ."\n" + .'- PublicNetwork'."\n" + .'- PrivateNetwork', + 'type' => 'string', + 'example' => 'PublicNetwork', + ], + 'BodyDataType' => [ + 'description' => '消息编码格式:'."\n" + ."\n" + .'- Json'."\n" + .'- Text'."\n" + .'- Binary', + 'type' => 'string', + 'example' => 'Json', + ], + 'FilterType' => [ + 'description' => '消息过滤类型。', + 'type' => 'string', + 'example' => 'Tag'."\n", + ], + 'FilterSql' => [ + 'description' => 'sql过滤语句。', + 'type' => 'string', + 'example' => 'index > 10', + ], + 'VpcId' => [ + 'description' => 'VPC的ID。', + 'type' => 'string', + 'example' => 'vpc-m5e3sv4b12345****'."\n", + ], + 'VSwitchIds' => [ + 'description' => '交换机ID。', + 'type' => 'string', + 'example' => 'vsw-m5ev8asdc6h12345****'."\n", + ], + 'SecurityGroupId' => [ + 'description' => '安全组ID。', + 'type' => 'string', + 'example' => 'sg-m5edtu24f12345****'."\n", + ], + 'Network' => [ + 'description' => '网络类型。 '."\n" + .'- PublicNetwork'."\n" + .'- PrivateNetwork', + 'type' => 'string', + 'example' => 'PublicNetwork', + ], + ], + ], + 'SourceRocketMQCheckpointParameters' => [ + 'title' => 'Source RocketMQ Checkpoint源', + 'description' => 'Source RocketMQ Checkpoint源', + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'description' => '地域ID。', + 'type' => 'string', + 'example' => 'cn-hangzhou', + ], + 'InstanceType' => [ + 'description' => '实例类型。取值说明如下:'."\n" + ."\n" + .'- Cloud_4:阿里云 RocketMQ 4.0 版本实例(默认选项)'."\n" + .'- Cloud_5:阿里云 RocketMQ 5.0 版本实例'."\n" + .'- SelfBuilt:自建 Apache RocketMQ 集群', + 'type' => 'string', + 'example' => 'Cloud_4', + ], + 'InstanceId' => [ + 'description' => '实例ID。', + 'type' => 'string', + 'example' => 'rmp-cn-jte3w******'."\n", + ], + 'Topics' => [ + 'description' => '消息Topic。', + 'type' => 'array', + 'items' => [ + 'description' => '消息Topic。', + 'type' => 'string', + 'example' => 'opic_add_anima', + ], + ], + ], + ], + 'SourceApacheRocketMQCheckpointParameters' => [ + 'title' => 'Source RocketMQ Checkpoint源', + 'description' => 'Source RocketMQ Checkpoint源', + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'description' => '地域ID。', + 'type' => 'string', + 'example' => 'cn-hangzhou'."\n", + ], + 'InstanceId' => [ + 'description' => 'RocketMQ实例ID。', + 'type' => 'string', + 'example' => 'MQ_INST_164901546557****_BAAN****', + ], + 'Topics' => [ + 'description' => 'Topic列表。', + 'type' => 'array', + 'items' => [ + 'description' => '需要消费Topic列表。', + 'type' => 'string', + 'example' => '["Topic_1","Topic_2"]', + ], + ], + 'InstanceEndpoint' => [ + 'description' => '实例接入点。', + 'type' => 'string', + 'example' => 'registry-vpc.cn-hangzhou.aliyuncs.com', + ], + 'InstanceUsername' => [ + 'description' => '实例用户名。', + 'type' => 'string', + 'example' => 'admin', + ], + 'InstancePassword' => [ + 'description' => '实例密码。', + 'type' => 'string', + 'example' => '123456', + ], + 'NetworkType' => [ + 'description' => '网络类型。', + 'type' => 'string', + 'example' => 'PrivateNetwork', + ], + 'VpcId' => [ + 'description' => 'VPC ID。', + 'type' => 'string', + 'example' => 'vpc-adw1awdw*****', + ], + 'VSwitchId' => [ + 'description' => '交换机ID。', + 'type' => 'string', + 'example' => 'vsw-dwaafds****', + ], + 'SecurityGroupId' => [ + 'description' => '安全组ID。', + 'type' => 'string', + 'example' => 'sg-mw43*****', + ], + ], + ], + 'SourceKafkaParameters' => [ + 'description' => 'Source Kafka源。', + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'description' => '实例所在地域id。', + 'type' => 'string', + 'example' => 'cn-hangzhou', + ], + 'InstanceId' => [ + 'description' => '实例id。', + 'type' => 'string', + 'example' => 'i-bp1fbtrnqmjvgq66****', + ], + 'Topic' => [ + 'description' => 'Topic名称。', + 'type' => 'string', + 'example' => 'topic_empower_1642473600414', + ], + 'ConsumerGroup' => [ + 'description' => '订阅该Topic的消费者所对应的Group ID。', + 'type' => 'string', + 'example' => 'GID_TEST', + ], + 'OffsetReset' => [ + 'description' => '偏移量。', + 'type' => 'string', + 'example' => 'latest', + ], + 'Network' => [ + 'description' => '网络配置 :默认值Default,vpc网络是PublicNetwork', + 'type' => 'string', + 'example' => 'Default', + ], + 'VpcId' => [ + 'description' => 'VPC ID', + 'type' => 'string', + 'example' => 'vpc-2zehizpoendb3****', + ], + 'VSwitchIds' => [ + 'description' => '虚拟交换机ID。', + 'type' => 'string', + 'example' => 'vsw-wz9qqeovkwjxlu9uc****', + ], + 'SecurityGroupId' => [ + 'description' => '安全组ID。', + 'type' => 'string', + 'example' => 'sg-2vcgdxz7o1n9zapp****', + ], + 'ValueDataType' => [ + 'description' => '编解码参数枚举值,有3个枚举值,命名如下'."\n" + .' '."\n" + .'1. JSON:现有逻辑,bytes按utf8解码成字符串,解析为JSON。'."\n" + .'2. Text:bytes按utf8解码成字符串,直接放入payload。'."\n" + .'3. Binary:bytes按base64编码成字符串,放入payload。', + 'type' => 'string', + 'example' => 'Text', + ], + ], + ], + 'SourceMQTTParameters' => [ + 'description' => 'Source MQTT源', + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'description' => '地域ID。', + 'type' => 'string', + 'example' => 'cn-shanghai', + ], + 'InstanceId' => [ + 'description' => '实例id。', + 'type' => 'string', + 'example' => 'i-2ze06wqdwk0uq14k****', + ], + 'Topic' => [ + 'description' => 'Topic 名称。', + 'type' => 'string', + 'example' => 'TOPIC-cainiao-pcs-wms-instock-noPrealertPrintLabel', + ], + 'BodyDataType' => [ + 'description' => '消息编码格式:'."\n" + ."\n" + .'- JSON'."\n" + .'- Text'."\n" + .'- Binary', + 'type' => 'string', + 'example' => 'JSON', + ], + ], + ], + 'SourceDTSParameters' => [ + 'description' => 'Source DTS源。', + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'description' => '任务ID。', + 'type' => 'string', + 'example' => 'f86e5814-b223-482c-b768-3b873297****', + ], + 'BrokerUrl' => [ + 'description' => '数据订阅通道的网络地址及端口号信息。', + 'type' => 'string', + 'example' => '无', + ], + 'Topic' => [ + 'description' => '数据订阅通道的订阅Topic。', + 'type' => 'string', + 'example' => 'TP_TEST_UNDERWRITE_ISSUE', + ], + 'Sid' => [ + 'description' => '消费组ID。', + 'type' => 'string', + 'example' => 'HD1', + ], + 'Username' => [ + 'description' => '消费组的账号。', + 'type' => 'string', + 'example' => 'admin', + ], + 'Password' => [ + 'description' => '消费组的账号密码。', + 'type' => 'string', + 'example' => 'admin****', + ], + 'InitCheckPoint' => [ + 'description' => '消费位点,即SDK客户端消费第一条数据的时间戳,格式为Unix时间戳。', + 'type' => 'string', + 'example' => '1620962769', + ], + ], + ], + 'SourceSLSParameters' => [ + 'description' => 'Source SLS源。', + 'type' => 'object', + 'properties' => [ + 'Project' => [ + 'description' => '日志服务SLS的日志项目。', + 'type' => 'string', + 'example' => 'dmmzk', + ], + 'LogStore' => [ + 'description' => '日志服务SLS的日志库。', + 'type' => 'string', + 'example' => 'waf-logstore', + ], + 'ConsumerGroup' => [ + 'description' => '消费组。', + 'type' => 'string', + 'example' => '无', + ], + 'ConsumePosition' => [ + 'description' => '起始消费位点,可以选择最早或最新位点,分别对应“begin”,“end”,也可以从指定时间开始消费,以秒为单位。', + 'type' => 'string', + 'example' => 'begin', + ], + 'RoleName' => [ + 'description' => '授权事件总线EventBridge使用此角色读取SLS日志内容时,需满足条件:在RAM控制台创建服务所使用的角色时,需要选择“阿里云服务”,并且“受信服务”需要选择“事件总线”。', + 'type' => 'string', + 'example' => 'testRole', + ], + ], + ], + 'SourcePrometheusParameters' => [ + 'description' => 'Source Prometheus 事件源。', + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'description' => '地域id。', + 'type' => 'string', + 'example' => 'cn-hangzhou', + ], + 'ClusterId' => [ + 'description' => '集群id。', + 'type' => 'string', + 'example' => 'c83555068b6******ad213f565f209'."\n", + ], + 'DataType' => [ + 'description' => '数据类型。', + 'type' => 'string', + 'example' => 'Json', + ], + 'Labels' => [ + 'description' => '标签。', + 'type' => 'string', + 'example' => '__name__=.*'."\n", + ], + 'RoleName' => [ + 'description' => '任务角色名称。', + 'type' => 'string', + 'example' => 'test-role', + ], + 'ExternalLabels' => [ + 'description' => '附加到事件流中的外部标签。', + 'type' => 'string', + 'example' => '{"env":"test"}', + ], + ], + ], + 'SourceCustomizedKafkaParameters' => [ + 'description' => '自定义 Kafka 事件源。', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => '消息队列Kafka版的实例ID。', + 'type' => 'string', + 'example' => 'r-8vb64581862c****'."\n", + ], + ], + ], + 'SourceCustomizedKafkaConnectorParameters' => [ + 'description' => '自定义连接器 Apache Kafka 事件源。', + 'type' => 'object', + 'properties' => [ + 'ConnectorPackageUrl' => [ + 'description' => 'OSS资源ZIP包下载链接。', + 'type' => 'string', + 'example' => '"https://examplebucket.oss-cn-hangzhou.aliyuncs.com/testDoc/Old_Homebrew/2024-06-26%2022%3A34%3A08/opt/homebrew/homebrew/Library/Homebrew/test/support/fixtures/cask/AppWithBinary.zip?OSSAccessKeyId=ri&Expires=1725539627&Signature=rb8q3OpV2i3gZJ"', + ], + 'ConnectorParameters' => [ + 'description' => '连接器参数。', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '连接器名称。', + 'type' => 'string', + 'example' => 'test-name'."\n", + ], + 'Config' => [ + 'description' => '连接器配置。', + 'type' => 'object', + 'example' => '{'."\n" + .' "connector.class": "com.mongodb.kafka.connect.MongoSinkConnector",'."\n" + .' "tasks.max": "1",'."\n" + .' "topics": "sourceA,sourceB"'."\n" + .' }', + ], + ], + ], + 'WorkerParameters' => [ + 'description' => '实例配置。', + 'type' => 'object', + 'example' => ' '."\n" + .'{'."\n" + .' "group.id": "connect-eb-cluster-KAFKA_CONNECTORC",'."\n" + .' "offset.storage.topic": "connect-eb-offset-KAFKA_CONNECTOR_yjqC8K5ewC",'."\n" + .' "config.storage.topic": "connect-eb-config-KAFKA_CONNECTOR_yjqC8K5ewC",'."\n" + .' "status.storage.topic": "connect-eb-status-KAFKA_CONNECTOR_yjqC8K5ewC",'."\n" + .' "consumer.group.id": "connector-eb-cluster-KAFKA_CONNECTOR_yjqC8K5ewC-mongo-sink",'."\n" + .' "bootstrap.servers": "alikafka-post:9092"'."\n" + .' }', + ], + ], + ], + 'SourceApacheKafkaParameters' => [ + 'type' => 'object', + 'properties' => [ + 'Bootstraps' => [ + 'type' => 'string', + ], + 'Topic' => [ + 'type' => 'string', + ], + 'ConsumerGroup' => [ + 'type' => 'string', + ], + 'OffsetReset' => [ + 'type' => 'string', + ], + 'ValueDataType' => [ + 'type' => 'string', + ], + 'VpcId' => [ + 'type' => 'string', + ], + 'VSwitchIds' => [ + 'type' => 'string', + ], + 'SecurityGroupId' => [ + 'type' => 'string', + ], + 'NetworkType' => [ + 'type' => 'string', + ], + 'SecurityProtocol' => [ + 'type' => 'string', + ], + 'SaslMechanism' => [ + 'type' => 'string', + ], + 'SaslUser' => [ + 'type' => 'string', + ], + 'SaslPassword' => [ + 'type' => 'string', + ], + 'SslTruststoreCertificates' => [ + 'type' => 'string', + ], + ], + ], + 'SourceOSSParameters' => [ + 'description' => 'Source OSS 事件源。', + 'type' => 'object', + 'properties' => [ + 'RoleName' => [ + 'description' => '授权事件总线 EventBridge 读取OSS文件的角色名称,要求该角色至少具有OSS的只读权限。', + 'type' => 'string', + 'example' => 'eventbridge_oss_role'."\n", + ], + 'BucketName' => [ + 'description' => '对象存储OSS中的存储空间名称。', + 'type' => 'string', + 'example' => 'bucket_abc'."\n", + ], + 'Prefix' => [ + 'description' => '文件路径前缀。', + 'type' => 'string', + 'example' => 'fun/document/'."\n", + ], + 'LoadMode' => [ + 'description' => '数据加载模式,single表示单文档加载,element表示分块加载。 取值:single/element 默认为single。', + 'type' => 'string', + 'example' => 'single'."\n", + ], + 'LoadFormat' => [ + 'description' => '文档加载器。', + 'type' => 'string', + 'example' => 'TextLoader'."\n", + ], + 'Delimiter' => [ + 'description' => '分隔符,在分块加载模式下,以该分隔符作为文本的分块标识符,默认以换行符\\n作为分隔符。', + 'type' => 'string', + 'example' => '\\n'."\n", + ], + ], + ], + 'SourceOpenSourceRabbitMQParameters' => [ + 'description' => 'Source开源RabbitMQ源。', + 'type' => 'object', + 'properties' => [ + 'Endpoint' => [ + 'description' => '开源版RabbitMQ实例接入点。', + 'type' => 'string', + 'example' => '192.168.1.100:5672', + ], + 'VirtualHostName' => [ + 'description' => '开源版RabbitMQ实例的Vhost的名称。', + 'type' => 'string', + 'example' => 'eb-connect', + ], + 'QueueName' => [ + 'description' => '开源版RabbitMQ实例的Queue的名称。', + 'type' => 'string', + 'example' => 'demo', + ], + 'BodyDataType' => [ + 'description' => '消息编码格式:'."\n" + ."\n" + .'- JSON'."\n" + .'- Text'."\n" + .'- Binary', + 'type' => 'string', + 'example' => 'Json', + ], + 'Username' => [ + 'description' => '用户名。', + 'type' => 'string', + 'example' => 'admin', + ], + 'Password' => [ + 'description' => '密码。', + 'type' => 'string', + 'example' => '******', + ], + 'VpcId' => [ + 'description' => 'VPC的ID。', + 'type' => 'string', + 'example' => 'vpc-bp1vllc1lnw1v657******', + ], + 'VSwitchIds' => [ + 'description' => '交换机ID。', + 'type' => 'string', + 'example' => 'vsw-uf65zhil5oukof5******', + ], + 'SecurityGroupId' => [ + 'description' => '安全组ID。', + 'type' => 'string', + 'example' => 'sg-2ze65razphjfz3******', + ], + 'NetworkType' => [ + 'description' => '网络类型:'."\n" + .'- 公网 :PublicNetwork'."\n" + ."\n" + .'- 专有网络 :PrivateNetwork', + 'type' => 'string', + 'example' => 'PrivateNetwork'."\n", + ], + 'AuthType' => [ + 'description' => '鉴权类型。', + 'type' => 'string', + 'example' => 'ACL', + ], + ], + ], + 'SourceEventBusParameters' => [ + 'description' => 'Source Event Bus源。', + 'type' => 'object', + 'properties' => [ + 'EventBusName' => [ + 'description' => '事件总线的名称。', + 'type' => 'string', + 'example' => 'demo', + ], + 'EventRuleName' => [ + 'description' => '事件规则名称。', + 'type' => 'string', + 'example' => 'test', + ], + ], + ], + 'SourceMySQLParameters' => [ + 'description' => 'Source MySQL源。', + '$ref' => '#/components/schemas/SourceMySQLParameters', + ], + 'SourcePostgreSQLParameters' => [ + '$ref' => '#/components/schemas/SourcePostgreSQLParameters', + ], + 'SourceRabbitMQMetaParameters' => [ + '$ref' => '#/components/schemas/SourceRabbitMQMetaParameters', + ], + 'SourceRabbitMQMsgSyncParameters' => [ + '$ref' => '#/components/schemas/SourceRabbitMQMsgSyncParameters', + ], + ], + ], + 'FilterPattern' => [ + 'description' => '事件过滤规则,如果不指定表示匹配全部事件。', + 'type' => 'string', + 'example' => '无', + ], + 'Transforms' => [ + 'description' => 'Transform 相关配置。', + 'type' => 'array', + 'items' => [ + 'description' => '云产品的 ARN,比如函数计算中函数的 ARN。', + 'type' => 'object', + 'properties' => [ + 'Arn' => [ + 'description' => '云产品的 ARN,比如函数计算中函数的 ARN。', + 'type' => 'string', + 'example' => 'acs:fc:cn-hangzhou:*****:services/demo-service.LATEST/functions/demo-func'."\n", + ], + 'DashScopeTransformParameters' => [ + '$ref' => '#/components/schemas/DashScopeTransformParameters', + ], + 'BaiLianAgentTransformParameters' => [ + '$ref' => '#/components/schemas/BaiLianAgentTransformParameters', + ], + ], + ], + ], + 'Sink' => [ + 'description' => '事件目标。', + 'type' => 'object', + 'properties' => [ + 'SinkMNSParameters' => [ + 'description' => '轻量消息队列(原 MNS)事件目标。', + 'type' => 'object', + 'properties' => [ + 'QueueName' => [ + 'description' => '目标服务类型为轻量消息队列(原 MNS)。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '轻量消息队列(原 MNS)的Queue的名称。', + 'type' => 'string', + 'example' => 'MyQueue', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'Body' => [ + 'description' => '消息内容。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'example' => 'TEMPLATE', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => 'The value of ${key} is ${value}!', + ], + ], + ], + 'IsBase64Encode' => [ + 'description' => '是否开启Base64编码。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '开启Base64编码。', + 'type' => 'string', + 'example' => 'true', + ], + 'Form' => [ + 'description' => '事件转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + ], + ], + 'SinkRabbitMQParameters' => [ + 'description' => 'Sink Rabbitmq的参数。', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => '目标服务类型为消息队列RabbitMQ版。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '消息队列RabbitMQ版的实例ID。', + 'type' => 'string', + 'example' => 'e5c9b727-e06c-4d7e-84d5-f8ce644e****', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + ], + 'VirtualHostName' => [ + 'description' => '消息队列RabbitMQ版实例的Vhost的名称。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '消息队列RabbitMQ版实例的Vhost的名称。', + 'type' => 'string', + 'example' => 'rabbit-host'."\n", + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'TargetType' => [ + 'description' => '目标类型。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '目标类型。取值说明如下:'."\n" + ."\n" + .'- Exchange:Exchange模式。'."\n" + .'- Queue:Queue模式。', + 'type' => 'string', + 'example' => 'Exchange/Queue', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + ], + 'Exchange' => [ + 'description' => 'Exchange模式。'."\n" + .'仅当参数TargetType配置为Exchange时,需配置此参数。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '消息队列RabbitMQ版实例的Exchange的名称。', + 'type' => 'string', + 'example' => 'a_exchange', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + ], + 'RoutingKey' => [ + 'description' => '消息的路由规则。'."\n" + .'仅当参数TargetType配置为Exchange时,需配置此参数。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '消息的路由规则。', + 'type' => 'string', + 'example' => 'housekeeping', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + ], + 'QueueName' => [ + 'description' => 'Queue模式。'."\n" + .'仅当参数TargetType配置为Queue时,需配置此参数。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '实例的Queue的名称。', + 'type' => 'string', + 'example' => 'MyQueue', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + ], + 'Body' => [ + 'description' => '消息内容。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'example' => 'TEMPLATE', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => 'The value of ${key} is ${value}!', + ], + ], + ], + 'MessageId' => [ + 'description' => '消息ID。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'example' => 'TEMPLATE', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => 'The value of ${key} is ${value}!', + ], + ], + ], + 'Properties' => [ + 'description' => '过滤属性。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'example' => 'TEMPLATE', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + ], + ], + ], + 'SinkFcParameters' => [ + 'title' => '函数目标', + 'description' => '函数目标。', + 'type' => 'object', + 'properties' => [ + 'ServiceName' => [ + 'description' => '服务的名称。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '服务的名称。', + 'type' => 'string', + 'example' => 'myService', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + ], + 'FunctionName' => [ + 'description' => '函数名称。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '函数名称。', + 'type' => 'string', + 'example' => 'mFunction', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + ], + 'Concurrency' => [ + 'description' => '投递并发度,最小1。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '投递并发度,最小1。', + 'type' => 'string', + 'example' => '1', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + ], + 'Qualifier' => [ + 'description' => '服务版本。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '服务版本。', + 'type' => 'string', + 'example' => 'LATEST', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + ], + 'InvocationType' => [ + 'description' => '同步或则异步。'."\n" + ."\n" + .'- Sync:同步。'."\n" + .'- Async:异步。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '同步或则异步。'."\n" + ."\n" + .'- Sync:同步。'."\n" + .'- Async:异步。', + 'type' => 'string', + 'example' => 'Async', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + ], + 'Body' => [ + 'description' => '发送给函数的内容体。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Form' => [ + 'description' => '转换的格式:'."\n" + ."\n" + .'- ORIGINAL:完整事件 '."\n" + .'- JSONPATH:部分事件 '."\n" + .'- CONSTANT:常量 '."\n" + .'- TEMPLATE:模板 '."\n" + ."\n" + .'详细参考:[https://help.aliyun.com/zh/eventbridge/user-guide/event-transformation](https://help.aliyun.com/zh/eventbridge/user-guide/event-transformation)', + 'type' => 'string', + 'example' => 'TEMPLATE', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + ], + 'DataFormat' => [ + 'description' => '事件内容的格式转换规则。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Form' => [ + 'description' => '转换的格式:'."\n" + ."\n" + .'- ORIGINAL:完整事件'."\n" + .'- JSONPATH:部分事件'."\n" + .'- CONSTANT:常量'."\n" + .'- TEMPLATE:模板', + 'type' => 'string', + 'example' => 'JSONPATH', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => '$.data.key', + ], + ], + ], + ], + ], + 'SinkKafkaParameters' => [ + 'description' => 'Sink kafak 参数。', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => '目标服务类型为消息队列Kafka版。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '实例ID。', + 'type' => 'string', + 'example' => 'Defaut_1283278472_s****', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + ], + 'Topic' => [ + 'description' => '主题名称。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '主题名称。', + 'type' => 'string', + 'example' => 'test', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + ], + 'CompressionType' => [ + 'type' => 'string', + ], + 'Acks' => [ + 'description' => '写入Kafka确认模式:'."\n" + ."\n" + .'- acks=0:无需服务端的Response、性能较高、丢数据风险较大。'."\n" + .'- acks=1:服务端主节点写成功即返回Response、性能中等、丢数据风险中等、主节点宕机可能导致数据丢失;'."\n" + .'- acks=all:服务端主节点写成功且备节点同步成功才返回Response、性能较差、数据较为安全、主节点和备节点都宕机才会导致数据丢失。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '写入Kafka确认模式:'."\n" + ."\n" + .'- acks=0:无需服务端的Response、性能较高、丢数据风险较大。'."\n" + .'- acks=1:服务端主节点写成功即返回Response、性能中等、丢数据风险中等、主节点宕机可能导致数据丢失;'."\n" + .'- acks=all:服务端主节点写成功且备节点同步成功才返回Response、性能较差、数据较为安全、主节点和备节点都宕机才会导致数据丢失。', + 'type' => 'string', + 'example' => '1', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + ], + 'Key' => [ + 'description' => '消息键。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '消息键。', + 'type' => 'string', + 'example' => 'key', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + ], + 'Headers' => [ + 'description' => 'Kafka消息的附加元数据。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}'."\n" + ."\n", + ], + 'Form' => [ + 'description' => '转换的格式:'."\n" + ."\n" + .'- ORIGINAL:完整事件'."\n" + .'- JSONPATH:部分事件'."\n" + .'- CONSTANT:常量'."\n" + .'- TEMPLATE:模板', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + ], + 'Value' => [ + 'description' => '消息体。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'example' => 'TEMPLATE', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + ], + ], + ], + 'SinkApacheKafkaParameters' => [ + 'title' => '描述信息', + 'description' => '描述信息', + 'type' => 'object', + 'properties' => [ + 'Bootstraps' => [ + 'type' => 'string', + ], + 'Topic' => [ + 'type' => 'string', + ], + 'Acks' => [ + 'type' => 'string', + ], + 'CompressionType' => [ + 'type' => 'string', + ], + 'Key' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + ], + 'Form' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + 'Headers' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + ], + 'Form' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + 'Value' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + ], + 'Form' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + 'SecurityProtocol' => [ + 'type' => 'string', + ], + 'SaslMechanism' => [ + 'type' => 'string', + ], + 'SaslUser' => [ + 'type' => 'string', + ], + 'VpcId' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + ], + 'Form' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + 'VSwitchIds' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + ], + 'Form' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + 'SecurityGroupId' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + ], + 'Form' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + 'NetworkType' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + ], + 'Form' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + 'SaslPassword' => [ + 'type' => 'string', + ], + 'SslTruststoreCertificates' => [ + 'type' => 'string', + ], + ], + ], + 'SinkRocketMQParameters' => [ + 'description' => 'Sink RocketMQ Parameters', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => '目标服务类型为消息队列RocketMQ版。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '消息队列RocketMQ版的实例ID。', + 'type' => 'string', + 'example' => 'MQ_INST_164901546557****_BAAN****', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + ], + 'Topic' => [ + 'description' => '消息队列RocketMQ版实例的Topic。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '消息队列RocketMQ版实例的Topic名称。', + 'type' => 'string', + 'example' => 'Mytopic', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + ], + 'Body' => [ + 'description' => '消息内容。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'example' => 'TEMPLATE', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + ], + 'Properties' => [ + 'description' => '过滤属性。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'example' => 'TEMPLATE', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + ], + 'Keys' => [ + 'description' => '过滤属性。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'example' => 'TEMPLATE', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => 'The value of ${key} is ${value}!', + ], + ], + ], + 'Tags' => [ + 'description' => '过滤属性。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'example' => 'TEMPLATE', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => 'The value of ${key} is ${value}!', + ], + ], + ], + 'InstanceType' => [ + 'description' => '实例类型。取值说明如下:'."\n" + ."\n" + .'- Cloud_4:阿里云 RocketMQ 4.0 版本实例(默认选项)'."\n" + .'- Cloud_5:阿里云 RocketMQ 5.0 版本实例'."\n" + .'- SelfBuilt:自建 Apache RocketMQ 集群', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '实例类型。取值说明如下:'."\n" + ."\n" + .'- Cloud_4:阿里云 RocketMQ 4.0 版本实例(默认选项)'."\n" + .'- Cloud_5:阿里云 RocketMQ 5.0 版本实例'."\n" + .'- SelfBuilt:自建 Apache RocketMQ 集群', + 'type' => 'string', + 'example' => 'Cloud_4'."\n", + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'InstanceEndpoint' => [ + 'description' => '实例接入点。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '实例接入点。', + 'type' => 'string', + 'example' => 'vbr-8vbsvkkbpf3vb0zef****'."\n", + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT'."\n", + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'InstanceUsername' => [ + 'description' => '实例用户名。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '实例用户名。', + 'type' => 'string', + 'example' => 'admin'."\n", + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT'."\n", + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'InstancePassword' => [ + 'description' => '实例密码。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '实例密码。', + 'type' => 'string', + 'example' => 'admin****'."\n", + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT'."\n", + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无'."\n", + ], + ], + ], + 'VpcId' => [ + 'description' => 'VPC的ID。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'VPC的ID。', + 'type' => 'string', + 'example' => 'vbr-8vb835n3zf9shwlvb****'."\n", + ], + 'Form' => [ + 'description' => '事件转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT'."\n", + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无'."\n" + ."\n", + ], + ], + ], + 'VSwitchIds' => [ + 'description' => '交换机ID。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '交换机ID。', + 'type' => 'string', + 'example' => 'vbr-8vb835n3zf9shwl****mp'."\n", + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT'."\n", + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无'."\n" + ."\n", + ], + ], + ], + 'SecurityGroupId' => [ + 'description' => '安全组ID。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '安全组ID。', + 'type' => 'string', + 'example' => 'b4bf375515f6440f942e3a20c33d****'."\n", + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT'."\n", + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无'."\n", + ], + ], + ], + 'Network' => [ + 'description' => '网络类型。'."\n" + ."\n" + .'- PublicNetwork'."\n" + .'- PrivateNetwork', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '网络类型。'."\n" + ."\n" + .'- PublicNetwork'."\n" + .'- PrivateNetwork', + 'type' => 'string', + 'example' => 'PublicNetwork'."\n", + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT'."\n", + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无'."\n" + ."\n", + ], + ], + ], + 'DeliveryOrderType' => [ + 'description' => '消息的投递顺序类型。选填,默认为并发投递。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '投递顺序类型。'."\n" + ."\n" + .'- **Orderly:** 顺序投递'."\n" + ."\n" + .'- **Concurrently:** 并发投递', + 'type' => 'string', + 'example' => 'Concurrently', + ], + 'Form' => [ + 'description' => '转换的格式。默认为 CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'ShardingKey' => [ + 'description' => '消息的分片健。'."\n" + .'> '."\n" + .'> - DeliveryOrderType为Orderly时,ShardingKey为必填参数。'."\n" + .'> - Source为RocketMQ时,ShardingKey允许为空,此时使用上游BrokerName和QueueId拼接得到消息ShardingKey。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '分片健值。', + 'type' => 'string', + 'example' => 'order_id', + ], + 'Form' => [ + 'description' => '转换的格式。默认为 CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + ], + ], + 'SinkDorisParameters' => [ + 'type' => 'object', + 'properties' => [ + 'QueryEndpoint' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + ], + 'Form' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + 'FeHttpEndpoint' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + ], + 'Form' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + 'BeHttpEndpoint' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + ], + 'Form' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + 'UserName' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + ], + 'Form' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + 'Password' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + ], + 'Form' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + 'Database' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + ], + 'Form' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + 'Table' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + ], + 'Form' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + 'Body' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + ], + 'Form' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + 'NetworkType' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + ], + 'Form' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + 'VpcId' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + ], + 'Form' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + 'VSwitchIds' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + ], + 'Form' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + 'SecurityGroupId' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + ], + 'Form' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'SinkRocketMQCheckpointParameters' => [ + 'title' => '事件源类型', + 'description' => 'Sink RocketMQ Checkpoint Parameters', + 'type' => 'object', + 'properties' => [ + 'InstanceType' => [ + 'description' => '实例类型。取值说明如下:'."\n" + ."\n" + .'- Cloud_4:阿里云 RocketMQ 4.0 版本实例'."\n" + .'- Cloud_5:阿里云 RocketMQ 5.0 版本实例', + 'type' => 'string', + 'example' => 'Cloud_4', + ], + 'InstanceId' => [ + 'description' => '实例ID。', + 'type' => 'string', + 'example' => 'MQ_INST_164901546557****_BAAN****', + ], + 'Topic' => [ + 'description' => '消息队列 RocketMQ 版实例的 Topic。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '消息队列 RocketMQ 版实例的 Topic 名称。', + 'type' => 'string', + 'example' => 'Mytopic', + ], + 'Form' => [ + 'description' => '转换的格式。默认为 CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'Group' => [ + 'description' => '消费者组的 Group ID。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'Group ID', + 'type' => 'string', + 'example' => 'GID_EVENTBRIDGE_1736234******', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'ConsumeTimestamp' => [ + 'description' => '消息消费的时间戳。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '时间戳。', + 'type' => 'string', + 'example' => '1570761026400', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + ], + ], + 'SinkApacheRocketMQCheckpointParameters' => [ + 'title' => '事件源类型', + 'description' => 'Sink Apache RocketMQ Checkpoint Parameters', + 'type' => 'object', + 'properties' => [ + 'Topic' => [ + 'description' => 'RocketMQ版实例的Topic。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'RabbitMQ版实例的Topic的名称。', + 'type' => 'string', + 'example' => 'Mytopic', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'Group' => [ + 'description' => '消费者组的 Group ID。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'Group ID', + 'type' => 'string', + 'example' => 'GID_EVENTBRIDGE_1736234******'."\n", + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'ConsumeTimestamp' => [ + 'description' => '消息消费的时间戳。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '时间戳。', + 'type' => 'string', + 'example' => '1570761026400', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'InstanceEndpoint' => [ + 'description' => '实例接入点。', + 'type' => 'string', + 'example' => '192.168.1.1:9876', + ], + 'InstanceUsername' => [ + 'description' => '认证需要的用户名。', + 'type' => 'string', + 'example' => 'admin', + ], + 'InstancePassword' => [ + 'description' => '用户名密码。', + 'type' => 'string', + 'example' => '****', + ], + 'NetworkType' => [ + 'description' => '网络类型。', + 'type' => 'string', + 'example' => 'PrivateNetwork', + ], + 'VpcId' => [ + 'description' => '专有网络的ID。', + 'type' => 'string', + 'example' => 'vpc-2zeccak5pb0j3ay******', + ], + 'VSwitchId' => [ + 'description' => '交换机ID。', + 'type' => 'string', + 'example' => 'vsw-uf62oqt1twuevrt******', + ], + 'SecurityGroupId' => [ + 'description' => '安全组ID。', + 'type' => 'string', + 'example' => 'sg-2ze5bmpw6adn0q******', + ], + ], + ], + 'SinkSLSParameters' => [ + 'description' => 'Sink SLS Parameters', + 'type' => 'object', + 'properties' => [ + 'Project' => [ + 'description' => '日志服务SLS的日志项目。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '日志服务SLS的日志项目。', + 'type' => 'string', + 'example' => 'test-project'."\n", + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'LogStore' => [ + 'description' => '日志服务SLS的日志库。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '日志服务SLS的日志库。', + 'type' => 'string', + 'example' => 'test-logstore', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'Topic' => [ + 'description' => '日志所在的topic,对应SLS 保留字段“topic”。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '日志所在的topic,对应SLS 保留字段“topic”。', + 'type' => 'string', + 'example' => 'testTopic', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'Body' => [ + 'description' => '发送给SLS的内容。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Form' => [ + 'description' => '转换的格式', + 'type' => 'string', + 'example' => 'TEMPLATE', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + ], + 'RoleName' => [ + 'description' => '授权事件总线EventBridge使用此角色读取SLS日志内容时,需满足条件:在RAM控制台创建服务所使用的角色时,需要选择“阿里云服务”,并且“受信服务”需要选择“事件总线”。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '授权事件总线EventBridge使用此角色读取SLS日志内容时,需满足条件:在RAM控制台创建服务所使用的角色时,需要选择“阿里云服务”,并且“受信服务”需要选择“事件总线”。', + 'type' => 'string', + 'example' => 'testRole', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'ContentType' => [ + 'description' => 'SLS数据格式。可选择默认或者配置制定的键值:'."\n" + ."\n" + .'- JSON'."\n" + .'- KeyValue', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'example' => 'JSON'."\n", + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'example' => 'CONSTANT'."\n", + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'ContentSchema' => [ + 'description' => '自定义日志的键值,仅在ContentType为KeyValue生效。每一对键值由 Key_n, Value_n 表示。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'example' => '{"Key_1":{"form":"CONSTANT","value":"demoKey"},"Value_1":{"form":"JSONPATH","value":"$.data.value"}}', + ], + 'Form' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => 'CONSTANT'."\n", + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + ], + ], + 'SinkFnfParameters' => [ + 'description' => 'Sink Fnf 参数。', + 'type' => 'object', + 'properties' => [ + 'FlowName' => [ + 'description' => '流程名称。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '流程名称。', + 'type' => 'string', + 'example' => 'test-streaming-fnf', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'ExecutionName' => [ + 'description' => '执行名称。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '执行名称。', + 'type' => 'string', + 'example' => '123', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT:'."\n" + ."\n" + .'- JSONPATH:部分事件 。'."\n" + .'- CONSTANT:常量。'."\n" + .'- TEMPLATE:模板 。'."\n" + ."\n" + .'详细参考:[https://help.aliyun.com/zh/eventbridge/user-guide/event-transformation](https://help.aliyun.com/zh/eventbridge/user-guide/event-transformation)', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'Input' => [ + 'description' => '执行输入信息。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '执行输入信息。', + 'type' => 'string', + 'example' => '123', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'RoleName' => [ + 'description' => '角色配置。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '角色配置。', + 'type' => 'string', + 'example' => 'Al****FNF-x****', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + ], + ], + 'SinkDataHubParameters' => [ + 'description' => 'Sink DataHub 参数。', + 'type' => 'object', + 'properties' => [ + 'Project' => [ + 'description' => 'DataHub项目名。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'DataHub项目名。', + 'type' => 'string', + 'example' => 'demo-project'."\n", + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT'."\n", + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无'."\n" + ."\n", + ], + ], + ], + 'Topic' => [ + 'description' => 'DataHub Topic名称。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'DataHub Topic名称。', + 'type' => 'string', + 'example' => 'demo-topic'."\n", + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'TopicType' => [ + 'description' => 'opic 类型:'."\n" + ."\n" + .'- TUPLE'."\n" + .'- BLOB', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'topic 类型。'."\n" + ."\n" + .'- TUPLE'."\n" + .'- BLOB', + 'type' => 'string', + 'example' => 'TUPLE'."\n", + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'TopicSchema' => [ + 'description' => 'TUBLE类型,topic内容模式。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'TUBLE类型,topic内容模式。', + 'type' => 'string', + 'example' => '{"k1":"value1","k2":"value2"}', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'example' => 'TEMPLATE', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => '{"k1":"${k1}","k2":"${k2}"}', + ], + ], + ], + 'Body' => [ + 'description' => 'BLOB类型,Record内容模板。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'BLOB类型,Record内容模板。', + 'type' => 'string', + 'example' => '无', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'example' => 'ORIGINAL', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'RoleName' => [ + 'description' => '任务角色名。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '任务角色名称。', + 'type' => 'string', + 'example' => 'test-role', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + ], + ], + 'SinkCustomizedKafkaParameters' => [ + 'description' => 'Sink Kafka 参数。', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => '消息队列Kafka版的实例ID。', + 'type' => 'string', + 'example' => '90be1f96-4229-4535-bb76-34b4f6fb****', + ], + ], + ], + 'SinkCustomizedKafkaConnectorParameters' => [ + 'description' => 'Sink Kafka 连接器参数。', + 'type' => 'object', + 'properties' => [ + 'ConnectorPackageUrl' => [ + 'description' => 'OSS文件下载链接。', + 'type' => 'string', + 'example' => '"https://examplebucket.oss-cn-hangzhou.aliyuncs.com/testDoc/Old_Homebrew/2024-06-26%2022%3A34%3A08/opt/homebrew/homebrew/Library/Homebrew/test/support/fixtures/cask/AppWithBinary.zip?OSSAccessKeyId=ri&Expires=1725539627&Signature=rb8q3OpV******"', + ], + 'ConnectorParameters' => [ + 'description' => '解析当前 ZIP 包下的 properties 文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '连接器名称。', + 'type' => 'string', + 'example' => 'mongo-sink', + ], + 'Config' => [ + 'description' => '连接器配置。', + 'type' => 'object', + 'example' => '{'."\n" + .' "connector.class": "com.mongodb.kafka.connect.MongoSinkConnector",'."\n" + .' "tasks.max": "1",'."\n" + .' "topics": "sourceA,sourceB"'."\n" + .' }', + ], + ], + ], + 'WorkerParameters' => [ + 'description' => '实例配置。', + 'type' => 'object', + 'example' => '{'."\n" + .' "group.id": "connect-eb-cluster-KAFKA_CONNECTORC",'."\n" + .' "offset.storage.topic": "connect-eb-offset-KAFKA_CONNECTOR_yjqC8K5ewC",'."\n" + .' "config.storage.topic": "connect-eb-config-KAFKA_CONNECTOR_yjqC8K5ewC",'."\n" + .' "status.storage.topic": "connect-eb-status-KAFKA_CONNECTOR_yjqC8K5ewC",'."\n" + .' "consumer.group.id": "connector-eb-cluster-KAFKA_CONNECTOR_yjqC8K5ewC-mongo-sink",'."\n" + .' "bootstrap.servers": "alikafka-post:9092"'."\n" + .' }', + ], + ], + ], + 'SinkDashVectorParameters' => [ + 'description' => 'Sink DashVector 参数。', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => '实例ID。', + 'type' => 'string', + 'example' => 'vrs-cn-lbj3ru1***', + ], + 'Collection' => [ + 'description' => 'Collection(集合)名称。', + 'type' => 'string', + 'example' => 'collection1', + ], + 'ApiKey' => [ + 'description' => 'DashVecotor控制台创建的API Key。', + 'type' => 'string', + 'example' => 'Q34nExQH7sQ****', + ], + 'Operation' => [ + 'description' => 'DashVector数据库操作类型。', + 'type' => 'string', + 'example' => 'Upsert', + ], + 'Network' => [ + 'description' => '网络类型。', + 'type' => 'string', + 'example' => 'PublicNetwork', + ], + 'PrimaryKeyId' => [ + 'description' => '插入/删除记录时的主键ID 不填写此字段时,使用随机主键ID。', + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'example' => 'JSONPATH', + ], + 'Value' => [ + 'description' => '- Form为JSONPATH:JSONPath提取内容。'."\n" + .'- Form为TEMPLATE:模板变量。'."\n" + ."\n" + .'注:Value字段不允许超过10240个字符、', + 'type' => 'string', + 'example' => '$.data.requestId', + ], + 'Template' => [ + 'description' => '主键ID模板,仅当Form是TEMPLATE时需要填写。', + 'type' => 'string', + 'example' => '${ID}', + ], + ], + ], + 'Partition' => [ + 'description' => 'Partition(分区),默认值为default分区。', + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Value' => [ + 'description' => '- Form为CONSTANT:常量值。'."\n" + .'- Form为JSONPATH:JSONPath提取内容。'."\n" + ."\n" + .'注:Value字段不允许超过10240个字符。', + 'type' => 'string', + 'example' => 'default', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'Vector' => [ + 'description' => '插入DashVector记录的向量。', + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'example' => 'JSONPATH', + ], + 'Value' => [ + 'description' => 'JSONPath提取内容。'."\n" + ."\n" + .'注:Value字段不允许超过10240个字符。', + 'type' => 'string', + 'example' => '$.data.messageBody', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'DashVectorSchemaParameters' => [ + 'description' => '插入DashVector时表项的Schema字段定义,事件内容转换后结果必须是JSON格式。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'type' => 'string', + ], + 'Value' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + 'Type' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'type' => 'string', + ], + 'Value' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + 'Value' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'type' => 'string', + ], + 'Value' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + 'SinkOpenSourceRabbitMQParameters' => [ + 'description' => 'Sink Open Source RabbitMQ Parameters', + 'type' => 'object', + 'properties' => [ + 'Endpoint' => [ + 'description' => '接入点。', + 'type' => 'string', + 'example' => '192.168.1.1:9876', + ], + 'VirtualHostName' => [ + 'description' => 'RabbitMQ 的虚拟主机名称。', + 'type' => 'string', + 'example' => 'vhost1', + ], + 'TargetType' => [ + 'description' => '消息投递的目标类型,仅当TargetType设置为Exchange时生效。', + 'type' => 'string', + 'example' => 'Exchange', + ], + 'Exchange' => [ + 'description' => 'RabbitMQ中的Exchange名称。', + 'type' => 'string', + 'example' => 'my-exchange', + ], + 'QueueName' => [ + 'description' => 'RabbitMQ中的队列名称,仅当TargetType设置为Queue时生效。', + 'type' => 'string', + 'example' => 'my-queue', + ], + 'Username' => [ + 'description' => '访问RabbitMQ实例的用户名。', + 'type' => 'string', + 'example' => 'admin', + ], + 'Password' => [ + 'description' => '访问RabbitMQ实例的密码。', + 'type' => 'string', + 'example' => '****', + ], + 'VpcId' => [ + 'description' => '专有网络ID。', + 'type' => 'string', + 'example' => 'vpc-uf6of9452b2pba82c ****', + ], + 'VSwitchIds' => [ + 'description' => '交换机ID。', + 'type' => 'string', + 'example' => 'vsw-uf6of9452b2pba82c ****', + ], + 'SecurityGroupId' => [ + 'description' => '安全组ID。', + 'type' => 'string', + 'example' => 'sg-uf6of9452b2pba82c ****', + ], + 'NetworkType' => [ + 'description' => '网络类型。', + 'type' => 'string', + 'example' => 'PublicNetwork'."\n", + ], + 'AuthType' => [ + 'description' => '认证类型。', + 'type' => 'string', + 'example' => 'ACL', + ], + 'RoutingKey' => [ + 'description' => '消息路由键。', + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'description' => '转换格式,默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Value' => [ + 'description' => '路由键值。', + 'type' => 'string', + 'example' => '{"Form": "CONSTANT", "Value": "my-routing-key"}'."\n", + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => 'The value of ${key} is ${value}!', + ], + ], + ], + 'Body' => [ + 'description' => '消息体内容。', + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'description' => '转换格式,默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Value' => [ + 'description' => '原始数据值。', + 'type' => 'string', + 'example' => '{"key": "value"}', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => 'The value of ${key} is ${value}!', + ], + ], + ], + 'MessageId' => [ + 'description' => '消息的唯一标识符。', + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'description' => '转换格式,默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Value' => [ + 'description' => '消息ID值。', + 'type' => 'string', + 'example' => '12345', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => '无', + ], + ], + ], + 'Properties' => [ + 'description' => '消息的附加属性。', + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'description' => '转换格式,默认为CONSTANT。', + 'type' => 'string', + 'example' => 'CONSTANT', + ], + 'Value' => [ + 'description' => '属性内容。', + 'type' => 'string', + 'example' => '{"env": "prod"}', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + ], + ], + ], + 'SinkBaiLianParameters' => [ + 'description' => 'Sink BaiLian Parameters', + '$ref' => '#/components/schemas/SinkBaiLianParameters', + ], + 'SinkDataWorksTriggerParameters' => [ + '$ref' => '#/components/schemas/SinkDataWorksTriggerParameters', + ], + 'SinkHttpsParameters' => [ + 'title' => 'Https目标参数', + 'description' => 'Https目标参数', + '$ref' => '#/components/schemas/SinkHttpsParameters', + ], + 'SinkApiDestinationParameters' => [ + 'title' => 'ApiDestination目标参数', + 'description' => 'ApiDestination目标参数', + '$ref' => '#/components/schemas/SinkApiDestinationParameters', + ], + 'SinkOSSParameters' => [ + '$ref' => '#/components/schemas/SinkOSSParameters', + ], + 'SinkRabbitMQMetaParameters' => [ + '$ref' => '#/components/schemas/SinkRabbitMQMetaParameters', + ], + 'SinkRabbitMQMsgSyncParameters' => [ + '$ref' => '#/components/schemas/SinkRabbitMQMsgSyncParameters', + ], + 'SinkMQTTParameters' => [ + '$ref' => '#/components/schemas/SinkMQTTParameters', + ], + ], + ], + 'RunOptions' => [ + 'description' => '运行环境参数。', + 'type' => 'object', + 'properties' => [ + 'MaximumTasks' => [ + 'description' => '并发数。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + ], + 'RetryStrategy' => [ + 'description' => '事件推送失败时的重试策略。', + 'type' => 'object', + 'properties' => [ + 'PushRetryStrategy' => [ + 'description' => '重试策略:BACKOFF_RETRY(退避重试)和EXPONENTIALDECAY_RETRY(指数衰减重试)。', + 'type' => 'string', + 'example' => 'BACKOFF_RETRY', + ], + 'MaximumEventAgeInSeconds' => [ + 'description' => '最大重试时间。', + 'type' => 'number', + 'format' => 'float', + 'example' => '512', + ], + 'MaximumRetryAttempts' => [ + 'description' => '最大重试次数。', + 'type' => 'number', + 'format' => 'float', + 'example' => '2', + ], + ], + ], + 'ErrorsTolerance' => [ + 'description' => '异常容忍策略:NONE(不容忍异常)、ALL(容忍所有异常)。', + 'type' => 'string', + 'example' => 'ALL', + ], + 'DeadLetterQueue' => [ + 'description' => '是否启用死信队列。默认不启用死信队列,超过重试策略后的消息将被丢弃。', + 'type' => 'object', + 'properties' => [ + 'Arn' => [ + 'description' => '死信队列ARN。', + 'type' => 'string', + 'example' => 'acs:ram::155020394332****:role/edskmstoecs', + ], + 'Network' => [ + 'description' => '死信队列的网络类型。', + 'type' => 'string', + 'example' => 'PrivateNetwork', + ], + 'VpcId' => [ + 'description' => '死信队列所在的VPC网络ID。', + 'type' => 'string', + 'example' => 'vpc-2zehizpoendb3****', + ], + 'VSwitchIds' => [ + 'description' => '死信队列所在的虚拟交换机ID。', + 'type' => 'string', + 'example' => 'vsw-m5ev8asdc6h12345****', + ], + 'SecurityGroupId' => [ + 'description' => '死信队列所在实例的安全组ID。', + 'type' => 'string', + 'example' => 'sg-2vcgdxz7o1n9zapp****', + ], + ], + ], + 'BatchWindow' => [ + 'description' => '攒批窗口。', + 'type' => 'object', + 'properties' => [ + 'CountBasedWindow' => [ + 'description' => '窗口中最大可容纳的事件数量。当达到此阈值,会触发窗口内的数据往下游推送。当存在多个窗口时,有一个窗口满足即触发。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'TimeBasedWindow' => [ + 'description' => '窗口中最大可容纳的时间范围内的事件(单位秒)。当达到此阈值,会触发窗口内的数据往下游推送。当存在多个窗口时,有一个窗口满足即触发。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + ], + ], + 'BusinessOption' => [ + 'type' => 'object', + 'properties' => [ + 'BusinessMode' => [ + 'type' => 'string', + ], + 'MinCapacityUnitCount' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'MaxCapacityUnitCount' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + 'Throttling' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + 'Status' => [ + 'description' => '获取到的事件流的状态。', + 'type' => 'string', + 'example' => 'RUNNING', + ], + 'DetailedStatus' => [ + 'description' => '详细状态。', + 'type' => 'object', + 'properties' => [ + 'TPS' => [ + 'description' => '每秒处理事务数。', + 'type' => 'number', + 'format' => 'double', + 'example' => '5', + ], + 'DelayTime' => [ + 'description' => '延迟时间。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '3', + ], + 'DiffOffset' => [ + 'description' => '差异偏移。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'Extensions' => [ + 'description' => '扩展属性。', + 'type' => 'object', + 'example' => '{'."\n" + .' "test": "test",'."\n" + .' "test2": 1'."\n" + .' }', + ], + ], + ], + ], + ], + 'Code' => [ + 'description' => '接口返回码:Success:表示成功。 其它:表示错误码。错误码详情,请参见错误码。', + 'type' => 'string', + 'example' => 'Success', + ], + 'Success' => [ + 'description' => '操作成功返回true。', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"The event streaming [xxxx] not existed!\\",\\n \\"RequestId\\": \\"7892F480-58C9-5067-AB35-8A7BEF****\\",\\n \\"Data\\": {\\n \\"EventStreamingName\\": \\"rocketmq-sync\\",\\n \\"Description\\": \\"RocketMQ-to-RocketMQ\\",\\n \\"Source\\": {\\n \\"SourceMNSParameters\\": {\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"QueueName\\": \\"demo\\",\\n \\"IsBase64Decode\\": true\\n },\\n \\"SourceRabbitMQParameters\\": {\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"InstanceId\\": \\"i-f8z9a9mcgwri1c1i****\\",\\n \\"VirtualHostName\\": \\"eb-connect\\",\\n \\"QueueName\\": \\"comp\\"\\n },\\n \\"SourceRocketMQParameters\\": {\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"InstanceId\\": \\"i-f8zbher64dlm58pl****\\",\\n \\"Topic\\": \\"topic_add_anima\\",\\n \\"Tag\\": \\"v1\\",\\n \\"Offset\\": \\"CONSUMEFROMLASTOFFSET\\",\\n \\"GroupID\\": \\"GID_group1\\",\\n \\"Timestamp\\": 1636597951964,\\n \\"InstanceType\\": \\"Cloud_4\\\\n\\",\\n \\"InstanceEndpoint\\": \\"reg****-vpc.cn-zhangjiakou.aliyuncs.com\\\\n\\",\\n \\"AuthType\\": \\"ACL\\",\\n \\"InstanceUsername\\": \\"xxxa\\",\\n \\"InstancePassword\\": \\"xxxa\\",\\n \\"InstanceVpcId\\": \\"vpc-m5e3sv4b12345****\\\\n\\",\\n \\"InstanceVSwitchIds\\": \\"vsw-m5ev8asdc6h12****\\\\n\\",\\n \\"InstanceSecurityGroupId\\": \\"sg-m5edtu24f12345****\\\\n\\",\\n \\"InstanceNetwork\\": \\"PublicNetwork\\",\\n \\"BodyDataType\\": \\"Json\\",\\n \\"FilterType\\": \\"Tag\\\\n\\",\\n \\"FilterSql\\": \\"index > 10\\",\\n \\"VpcId\\": \\"vpc-m5e3sv4b12345****\\\\n\\",\\n \\"VSwitchIds\\": \\"vsw-m5ev8asdc6h12345****\\\\n\\",\\n \\"SecurityGroupId\\": \\"sg-m5edtu24f12345****\\\\n\\",\\n \\"Network\\": \\"PublicNetwork\\"\\n },\\n \\"SourceRocketMQCheckpointParameters\\": {\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"InstanceType\\": \\"Cloud_4\\",\\n \\"InstanceId\\": \\"rmp-cn-jte3w******\\\\n\\",\\n \\"Topics\\": [\\n \\"opic_add_anima\\"\\n ]\\n },\\n \\"SourceApacheRocketMQCheckpointParameters\\": {\\n \\"RegionId\\": \\"cn-hangzhou\\\\n\\",\\n \\"InstanceId\\": \\"MQ_INST_164901546557****_BAAN****\\",\\n \\"Topics\\": [\\n \\"[\\\\\\"Topic_1\\\\\\",\\\\\\"Topic_2\\\\\\"]\\"\\n ],\\n \\"InstanceEndpoint\\": \\"registry-vpc.cn-hangzhou.aliyuncs.com\\",\\n \\"InstanceUsername\\": \\"admin\\",\\n \\"InstancePassword\\": \\"123456\\",\\n \\"NetworkType\\": \\"PrivateNetwork\\",\\n \\"VpcId\\": \\"vpc-adw1awdw*****\\",\\n \\"VSwitchId\\": \\"vsw-dwaafds****\\",\\n \\"SecurityGroupId\\": \\"sg-mw43*****\\"\\n },\\n \\"SourceKafkaParameters\\": {\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"InstanceId\\": \\"i-bp1fbtrnqmjvgq66****\\",\\n \\"Topic\\": \\"topic_empower_1642473600414\\",\\n \\"ConsumerGroup\\": \\"GID_TEST\\",\\n \\"OffsetReset\\": \\"latest\\",\\n \\"Network\\": \\"Default\\",\\n \\"VpcId\\": \\"vpc-2zehizpoendb3****\\",\\n \\"VSwitchIds\\": \\"vsw-wz9qqeovkwjxlu9uc****\\",\\n \\"SecurityGroupId\\": \\"sg-2vcgdxz7o1n9zapp****\\",\\n \\"ValueDataType\\": \\"Text\\"\\n },\\n \\"SourceMQTTParameters\\": {\\n \\"RegionId\\": \\"cn-shanghai\\",\\n \\"InstanceId\\": \\"i-2ze06wqdwk0uq14k****\\",\\n \\"Topic\\": \\"TOPIC-cainiao-pcs-wms-instock-noPrealertPrintLabel\\",\\n \\"BodyDataType\\": \\"JSON\\"\\n },\\n \\"SourceDTSParameters\\": {\\n \\"TaskId\\": \\"f86e5814-b223-482c-b768-3b873297****\\",\\n \\"BrokerUrl\\": \\"无\\",\\n \\"Topic\\": \\"TP_TEST_UNDERWRITE_ISSUE\\",\\n \\"Sid\\": \\"HD1\\",\\n \\"Username\\": \\"admin\\",\\n \\"Password\\": \\"admin****\\",\\n \\"InitCheckPoint\\": \\"1620962769\\"\\n },\\n \\"SourceSLSParameters\\": {\\n \\"Project\\": \\"dmmzk\\",\\n \\"LogStore\\": \\"waf-logstore\\",\\n \\"ConsumerGroup\\": \\"无\\",\\n \\"ConsumePosition\\": \\"begin\\",\\n \\"RoleName\\": \\"testRole\\"\\n },\\n \\"SourcePrometheusParameters\\": {\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ClusterId\\": \\"c83555068b6******ad213f565f209\\\\n\\",\\n \\"DataType\\": \\"Json\\",\\n \\"Labels\\": \\"__name__=.*\\\\n\\",\\n \\"RoleName\\": \\"test-role\\",\\n \\"ExternalLabels\\": \\"{\\\\\\"env\\\\\\":\\\\\\"test\\\\\\"}\\"\\n },\\n \\"SourceCustomizedKafkaParameters\\": {\\n \\"InstanceId\\": \\"r-8vb64581862c****\\\\n\\"\\n },\\n \\"SourceCustomizedKafkaConnectorParameters\\": {\\n \\"ConnectorPackageUrl\\": \\"\\\\\\"https://examplebucket.oss-cn-hangzhou.aliyuncs.com/testDoc/Old_Homebrew/2024-06-26%2022%3A34%3A08/opt/homebrew/homebrew/Library/Homebrew/test/support/fixtures/cask/AppWithBinary.zip?OSSAccessKeyId=ri&Expires=1725539627&Signature=rb8q3OpV2i3gZJ\\\\\\"\\",\\n \\"ConnectorParameters\\": {\\n \\"Name\\": \\"test-name\\\\n\\",\\n \\"Config\\": {\\n \\"connector.class\\": \\"com.mongodb.kafka.connect.MongoSinkConnector\\",\\n \\"tasks.max\\": \\"1\\",\\n \\"topics\\": \\"sourceA,sourceB\\"\\n }\\n },\\n \\"WorkerParameters\\": {\\n \\"group.id\\": \\"connect-eb-cluster-KAFKA_CONNECTORC\\",\\n \\"offset.storage.topic\\": \\"connect-eb-offset-KAFKA_CONNECTOR_yjqC8K5ewC\\",\\n \\"config.storage.topic\\": \\"connect-eb-config-KAFKA_CONNECTOR_yjqC8K5ewC\\",\\n \\"status.storage.topic\\": \\"connect-eb-status-KAFKA_CONNECTOR_yjqC8K5ewC\\",\\n \\"consumer.group.id\\": \\"connector-eb-cluster-KAFKA_CONNECTOR_yjqC8K5ewC-mongo-sink\\",\\n \\"bootstrap.servers\\": \\"alikafka-post:9092\\"\\n }\\n },\\n \\"SourceApacheKafkaParameters\\": {\\n \\"Bootstraps\\": \\"\\",\\n \\"Topic\\": \\"\\",\\n \\"ConsumerGroup\\": \\"\\",\\n \\"OffsetReset\\": \\"\\",\\n \\"ValueDataType\\": \\"\\",\\n \\"VpcId\\": \\"\\",\\n \\"VSwitchIds\\": \\"\\",\\n \\"SecurityGroupId\\": \\"\\",\\n \\"NetworkType\\": \\"\\",\\n \\"SecurityProtocol\\": \\"\\",\\n \\"SaslMechanism\\": \\"\\",\\n \\"SaslUser\\": \\"\\",\\n \\"SaslPassword\\": \\"\\",\\n \\"SslTruststoreCertificates\\": \\"\\"\\n },\\n \\"SourceOSSParameters\\": {\\n \\"RoleName\\": \\"eventbridge_oss_role\\\\n\\",\\n \\"BucketName\\": \\"bucket_abc\\\\n\\",\\n \\"Prefix\\": \\"fun/document/\\\\n\\",\\n \\"LoadMode\\": \\"single\\\\n\\",\\n \\"LoadFormat\\": \\"TextLoader\\\\n\\",\\n \\"Delimiter\\": \\"\\\\\\\\n\\\\n\\"\\n },\\n \\"SourceOpenSourceRabbitMQParameters\\": {\\n \\"Endpoint\\": \\"192.168.1.100:5672\\",\\n \\"VirtualHostName\\": \\"eb-connect\\",\\n \\"QueueName\\": \\"demo\\",\\n \\"BodyDataType\\": \\"Json\\",\\n \\"Username\\": \\"admin\\",\\n \\"Password\\": \\"******\\",\\n \\"VpcId\\": \\"vpc-bp1vllc1lnw1v657******\\",\\n \\"VSwitchIds\\": \\"vsw-uf65zhil5oukof5******\\",\\n \\"SecurityGroupId\\": \\"sg-2ze65razphjfz3******\\",\\n \\"NetworkType\\": \\"PrivateNetwork\\\\n\\",\\n \\"AuthType\\": \\"ACL\\"\\n },\\n \\"SourceEventBusParameters\\": {\\n \\"EventBusName\\": \\"demo\\",\\n \\"EventRuleName\\": \\"test\\"\\n },\\n \\"SourceMySQLParameters\\": {\\n \\"IncludeSchemaChanges\\": \\"\\",\\n \\"User\\": \\"\\",\\n \\"VSwitchIds\\": \\"\\",\\n \\"SnapshotMode\\": \\"\\",\\n \\"SecurityGroupId\\": \\"\\",\\n \\"Port\\": 0,\\n \\"DatabaseName\\": \\"\\",\\n \\"VpcId\\": \\"\\",\\n \\"NetworkType\\": \\"\\",\\n \\"TableNames\\": \\"\\",\\n \\"RegionId\\": \\"\\",\\n \\"HostName\\": \\"\\",\\n \\"Password\\": \\"\\"\\n },\\n \\"SourcePostgreSQLParameters\\": {\\n \\"RegionId\\": \\"\\",\\n \\"HostName\\": \\"\\",\\n \\"Port\\": 0,\\n \\"User\\": \\"\\",\\n \\"Password\\": \\"\\",\\n \\"DatabaseName\\": \\"\\",\\n \\"SchemaName\\": \\"\\",\\n \\"TableNames\\": \\"\\",\\n \\"NetworkType\\": \\"\\",\\n \\"VpcId\\": \\"\\",\\n \\"VSwitchIds\\": \\"\\",\\n \\"SecurityGroupId\\": \\"\\",\\n \\"SnapshotMode\\": \\"\\"\\n },\\n \\"SourceRabbitMQMetaParameters\\": {\\n \\"InstanceType\\": \\"\\",\\n \\"InstanceId\\": \\"\\",\\n \\"Endpoint\\": \\"\\",\\n \\"VirtualHostName\\": \\"\\",\\n \\"Regex\\": \\"\\",\\n \\"Username\\": \\"\\",\\n \\"Password\\": \\"\\",\\n \\"VpcId\\": \\"\\",\\n \\"VSwitchIds\\": \\"\\",\\n \\"SecurityGroupId\\": \\"\\",\\n \\"NetworkType\\": \\"\\",\\n \\"MaxHops\\": \\"\\",\\n \\"OrderConsume\\": \\"\\",\\n \\"InnerNameSuffix\\": \\"\\"\\n },\\n \\"SourceRabbitMQMsgSyncParameters\\": {\\n \\"InstanceType\\": \\"\\",\\n \\"InstanceId\\": \\"\\",\\n \\"Endpoint\\": \\"\\",\\n \\"VirtualHostName\\": \\"\\",\\n \\"OrderConsume\\": \\"\\",\\n \\"BodyDataType\\": \\"\\",\\n \\"PrefetchCount\\": \\"\\",\\n \\"Username\\": \\"\\",\\n \\"Password\\": \\"\\",\\n \\"VpcId\\": \\"\\",\\n \\"VSwitchIds\\": \\"\\",\\n \\"SecurityGroupId\\": \\"\\",\\n \\"NetworkType\\": \\"\\"\\n }\\n },\\n \\"FilterPattern\\": \\"无\\",\\n \\"Transforms\\": [\\n {\\n \\"Arn\\": \\"acs:fc:cn-hangzhou:*****:services/demo-service.LATEST/functions/demo-func\\\\n\\",\\n \\"DashScopeTransformParameters\\": {\\n \\"Model\\": \\"\\",\\n \\"ApiKey\\": \\"\\",\\n \\"StructuredOutputJsonSchema\\": \\"\\",\\n \\"RequestPerMinute\\": 0,\\n \\"TokenPerMinute\\": 0,\\n \\"Messages\\": [\\n {\\n \\"Role\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n }\\n ]\\n },\\n \\"BaiLianAgentTransformParameters\\": {\\n \\"ApplicationId\\": \\"\\",\\n \\"Prompt\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"ApiKey\\": \\"\\",\\n \\"RequestPerMinute\\": 0,\\n \\"TokenPerMinute\\": 0\\n }\\n }\\n ],\\n \\"Sink\\": {\\n \\"SinkMNSParameters\\": {\\n \\"QueueName\\": {\\n \\"Value\\": \\"MyQueue\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Body\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\"\\n },\\n \\"IsBase64Encode\\": {\\n \\"Value\\": \\"true\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n }\\n },\\n \\"SinkRabbitMQParameters\\": {\\n \\"InstanceId\\": {\\n \\"Value\\": \\"e5c9b727-e06c-4d7e-84d5-f8ce644e****\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"VirtualHostName\\": {\\n \\"Value\\": \\"rabbit-host\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"TargetType\\": {\\n \\"Value\\": \\"Exchange/Queue\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"Exchange\\": {\\n \\"Value\\": \\"a_exchange\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"RoutingKey\\": {\\n \\"Value\\": \\"housekeeping\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"QueueName\\": {\\n \\"Value\\": \\"MyQueue\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"Body\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\"\\n },\\n \\"MessageId\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\"\\n },\\n \\"Properties\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n }\\n },\\n \\"SinkFcParameters\\": {\\n \\"ServiceName\\": {\\n \\"Value\\": \\"myService\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"FunctionName\\": {\\n \\"Value\\": \\"mFunction\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"Concurrency\\": {\\n \\"Value\\": \\"1\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"Qualifier\\": {\\n \\"Value\\": \\"LATEST\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"InvocationType\\": {\\n \\"Value\\": \\"Async\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"Body\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"DataFormat\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Form\\": \\"JSONPATH\\",\\n \\"Template\\": \\"$.data.key\\"\\n }\\n },\\n \\"SinkKafkaParameters\\": {\\n \\"InstanceId\\": {\\n \\"Value\\": \\"Defaut_1283278472_s****\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"Topic\\": {\\n \\"Value\\": \\"test\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"CompressionType\\": \\"\\",\\n \\"Acks\\": {\\n \\"Value\\": \\"1\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"Key\\": {\\n \\"Value\\": \\"key\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"Headers\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\\\n\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"Value\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n }\\n },\\n \\"SinkApacheKafkaParameters\\": {\\n \\"Bootstraps\\": \\"\\",\\n \\"Topic\\": \\"\\",\\n \\"Acks\\": \\"\\",\\n \\"CompressionType\\": \\"\\",\\n \\"Key\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Headers\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Value\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"SecurityProtocol\\": \\"\\",\\n \\"SaslMechanism\\": \\"\\",\\n \\"SaslUser\\": \\"\\",\\n \\"VpcId\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"VSwitchIds\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"SecurityGroupId\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"NetworkType\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"SaslPassword\\": \\"\\",\\n \\"SslTruststoreCertificates\\": \\"\\"\\n },\\n \\"SinkRocketMQParameters\\": {\\n \\"InstanceId\\": {\\n \\"Value\\": \\"MQ_INST_164901546557****_BAAN****\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"Topic\\": {\\n \\"Value\\": \\"Mytopic\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"Body\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"Properties\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"Keys\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\"\\n },\\n \\"Tags\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\"\\n },\\n \\"InstanceType\\": {\\n \\"Value\\": \\"Cloud_4\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"InstanceEndpoint\\": {\\n \\"Value\\": \\"vbr-8vbsvkkbpf3vb0zef****\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"InstanceUsername\\": {\\n \\"Value\\": \\"admin\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"InstancePassword\\": {\\n \\"Value\\": \\"admin****\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Template\\": \\"无\\\\n\\"\\n },\\n \\"VpcId\\": {\\n \\"Value\\": \\"vbr-8vb835n3zf9shwlvb****\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Template\\": \\"无\\\\n\\\\n\\"\\n },\\n \\"VSwitchIds\\": {\\n \\"Value\\": \\"vbr-8vb835n3zf9shwl****mp\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Template\\": \\"无\\\\n\\\\n\\"\\n },\\n \\"SecurityGroupId\\": {\\n \\"Value\\": \\"b4bf375515f6440f942e3a20c33d****\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Template\\": \\"无\\\\n\\"\\n },\\n \\"Network\\": {\\n \\"Value\\": \\"PublicNetwork\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Template\\": \\"无\\\\n\\\\n\\"\\n },\\n \\"DeliveryOrderType\\": {\\n \\"Value\\": \\"Concurrently\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"ShardingKey\\": {\\n \\"Value\\": \\"order_id\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n }\\n },\\n \\"SinkDorisParameters\\": {\\n \\"QueryEndpoint\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"FeHttpEndpoint\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"BeHttpEndpoint\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"UserName\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Password\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Database\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Table\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Body\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"NetworkType\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"VpcId\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"VSwitchIds\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"SecurityGroupId\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n }\\n },\\n \\"SinkRocketMQCheckpointParameters\\": {\\n \\"InstanceType\\": \\"Cloud_4\\",\\n \\"InstanceId\\": \\"MQ_INST_164901546557****_BAAN****\\",\\n \\"Topic\\": {\\n \\"Value\\": \\"Mytopic\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Group\\": {\\n \\"Value\\": \\"GID_EVENTBRIDGE_1736234******\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"ConsumeTimestamp\\": {\\n \\"Value\\": \\"1570761026400\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n }\\n },\\n \\"SinkApacheRocketMQCheckpointParameters\\": {\\n \\"Topic\\": {\\n \\"Value\\": \\"Mytopic\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Group\\": {\\n \\"Value\\": \\"GID_EVENTBRIDGE_1736234******\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"ConsumeTimestamp\\": {\\n \\"Value\\": \\"1570761026400\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"InstanceEndpoint\\": \\"192.168.1.1:9876\\",\\n \\"InstanceUsername\\": \\"admin\\",\\n \\"InstancePassword\\": \\"****\\",\\n \\"NetworkType\\": \\"PrivateNetwork\\",\\n \\"VpcId\\": \\"vpc-2zeccak5pb0j3ay******\\",\\n \\"VSwitchId\\": \\"vsw-uf62oqt1twuevrt******\\",\\n \\"SecurityGroupId\\": \\"sg-2ze5bmpw6adn0q******\\"\\n },\\n \\"SinkSLSParameters\\": {\\n \\"Project\\": {\\n \\"Value\\": \\"test-project\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"LogStore\\": {\\n \\"Value\\": \\"test-logstore\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Topic\\": {\\n \\"Value\\": \\"testTopic\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Body\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"RoleName\\": {\\n \\"Value\\": \\"testRole\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"ContentType\\": {\\n \\"Value\\": \\"JSON\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"ContentSchema\\": {\\n \\"Value\\": \\"{\\\\\\"Key_1\\\\\\":{\\\\\\"form\\\\\\":\\\\\\"CONSTANT\\\\\\",\\\\\\"value\\\\\\":\\\\\\"demoKey\\\\\\"},\\\\\\"Value_1\\\\\\":{\\\\\\"form\\\\\\":\\\\\\"JSONPATH\\\\\\",\\\\\\"value\\\\\\":\\\\\\"$.data.value\\\\\\"}}\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Template\\": \\"无\\"\\n }\\n },\\n \\"SinkFnfParameters\\": {\\n \\"FlowName\\": {\\n \\"Value\\": \\"test-streaming-fnf\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"ExecutionName\\": {\\n \\"Value\\": \\"123\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Input\\": {\\n \\"Value\\": \\"123\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"RoleName\\": {\\n \\"Value\\": \\"Al****FNF-x****\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n }\\n },\\n \\"SinkDataHubParameters\\": {\\n \\"Project\\": {\\n \\"Value\\": \\"demo-project\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Template\\": \\"无\\\\n\\\\n\\"\\n },\\n \\"Topic\\": {\\n \\"Value\\": \\"demo-topic\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"TopicType\\": {\\n \\"Value\\": \\"TUPLE\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"TopicSchema\\": {\\n \\"Value\\": \\"{\\\\\\"k1\\\\\\":\\\\\\"value1\\\\\\",\\\\\\"k2\\\\\\":\\\\\\"value2\\\\\\"}\\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"Template\\": \\"{\\\\\\"k1\\\\\\":\\\\\\"${k1}\\\\\\",\\\\\\"k2\\\\\\":\\\\\\"${k2}\\\\\\"}\\"\\n },\\n \\"Body\\": {\\n \\"Value\\": \\"无\\",\\n \\"Form\\": \\"ORIGINAL\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"RoleName\\": {\\n \\"Value\\": \\"test-role\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n }\\n },\\n \\"SinkCustomizedKafkaParameters\\": {\\n \\"InstanceId\\": \\"90be1f96-4229-4535-bb76-34b4f6fb****\\"\\n },\\n \\"SinkCustomizedKafkaConnectorParameters\\": {\\n \\"ConnectorPackageUrl\\": \\"\\\\\\"https://examplebucket.oss-cn-hangzhou.aliyuncs.com/testDoc/Old_Homebrew/2024-06-26%2022%3A34%3A08/opt/homebrew/homebrew/Library/Homebrew/test/support/fixtures/cask/AppWithBinary.zip?OSSAccessKeyId=ri&Expires=1725539627&Signature=rb8q3OpV******\\\\\\"\\",\\n \\"ConnectorParameters\\": {\\n \\"Name\\": \\"mongo-sink\\",\\n \\"Config\\": {\\n \\"connector.class\\": \\"com.mongodb.kafka.connect.MongoSinkConnector\\",\\n \\"tasks.max\\": \\"1\\",\\n \\"topics\\": \\"sourceA,sourceB\\"\\n }\\n },\\n \\"WorkerParameters\\": {\\n \\"group.id\\": \\"connect-eb-cluster-KAFKA_CONNECTORC\\",\\n \\"offset.storage.topic\\": \\"connect-eb-offset-KAFKA_CONNECTOR_yjqC8K5ewC\\",\\n \\"config.storage.topic\\": \\"connect-eb-config-KAFKA_CONNECTOR_yjqC8K5ewC\\",\\n \\"status.storage.topic\\": \\"connect-eb-status-KAFKA_CONNECTOR_yjqC8K5ewC\\",\\n \\"consumer.group.id\\": \\"connector-eb-cluster-KAFKA_CONNECTOR_yjqC8K5ewC-mongo-sink\\",\\n \\"bootstrap.servers\\": \\"alikafka-post:9092\\"\\n }\\n },\\n \\"SinkDashVectorParameters\\": {\\n \\"InstanceId\\": \\"vrs-cn-lbj3ru1***\\",\\n \\"Collection\\": \\"collection1\\",\\n \\"ApiKey\\": \\"Q34nExQH7sQ****\\",\\n \\"Operation\\": \\"Upsert\\",\\n \\"Network\\": \\"PublicNetwork\\",\\n \\"PrimaryKeyId\\": {\\n \\"Form\\": \\"JSONPATH\\",\\n \\"Value\\": \\"$.data.requestId\\",\\n \\"Template\\": \\"${ID}\\"\\n },\\n \\"Partition\\": {\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Value\\": \\"default\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Vector\\": {\\n \\"Form\\": \\"JSONPATH\\",\\n \\"Value\\": \\"$.data.messageBody\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"DashVectorSchemaParameters\\": [\\n {\\n \\"Name\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Type\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Value\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n }\\n }\\n ]\\n },\\n \\"SinkOpenSourceRabbitMQParameters\\": {\\n \\"Endpoint\\": \\"192.168.1.1:9876\\",\\n \\"VirtualHostName\\": \\"vhost1\\",\\n \\"TargetType\\": \\"Exchange\\",\\n \\"Exchange\\": \\"my-exchange\\",\\n \\"QueueName\\": \\"my-queue\\",\\n \\"Username\\": \\"admin\\",\\n \\"Password\\": \\"****\\",\\n \\"VpcId\\": \\"vpc-uf6of9452b2pba82c ****\\",\\n \\"VSwitchIds\\": \\"vsw-uf6of9452b2pba82c ****\\",\\n \\"SecurityGroupId\\": \\"sg-uf6of9452b2pba82c ****\\",\\n \\"NetworkType\\": \\"PublicNetwork\\\\n\\",\\n \\"AuthType\\": \\"ACL\\",\\n \\"RoutingKey\\": {\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Value\\": \\"{\\\\\\"Form\\\\\\": \\\\\\"CONSTANT\\\\\\", \\\\\\"Value\\\\\\": \\\\\\"my-routing-key\\\\\\"}\\\\n\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\"\\n },\\n \\"Body\\": {\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Value\\": \\"{\\\\\\"key\\\\\\": \\\\\\"value\\\\\\"}\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\"\\n },\\n \\"MessageId\\": {\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Value\\": \\"12345\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Properties\\": {\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Value\\": \\"{\\\\\\"env\\\\\\": \\\\\\"prod\\\\\\"}\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n }\\n },\\n \\"SinkBaiLianParameters\\": {\\n \\"Before\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Context\\": \\"\\",\\n \\"ApplicationType\\": \\"\\",\\n \\"Op\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Partition\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Extend\\": \\"\\",\\n \\"WorkspaceId\\": \\"\\",\\n \\"After\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Offset\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n }\\n },\\n \\"SinkDataWorksTriggerParameters\\": {\\n \\"Enable\\": \\"\\"\\n },\\n \\"SinkHttpsParameters\\": {\\n \\"URL\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Method\\": \\"\\",\\n \\"Body\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Token\\": \\"\\",\\n \\"NetworkType\\": \\"\\",\\n \\"VpcId\\": \\"\\",\\n \\"VSwitchIds\\": \\"\\",\\n \\"SecurityGroupId\\": \\"\\"\\n },\\n \\"SinkApiDestinationParameters\\": {\\n \\"Name\\": \\"\\",\\n \\"HeaderParameters\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"BodyParameters\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"QueryStringParameters\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n }\\n },\\n \\"SinkOSSParameters\\": {\\n \\"BucketName\\": \\"\\",\\n \\"RegionId\\": \\"\\",\\n \\"Endpoint\\": \\"\\",\\n \\"RoleArn\\": \\"\\",\\n \\"RotateSizeBytes\\": \\"\\",\\n \\"RotateIntervalMs\\": \\"\\",\\n \\"PathFormat\\": \\"\\",\\n \\"CompressionType\\": \\"\\",\\n \\"TaskConcurrency\\": \\"\\",\\n \\"TimeZone\\": \\"\\",\\n \\"SSLEnabled\\": true,\\n \\"ContentTransform\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n }\\n },\\n \\"SinkRabbitMQMetaParameters\\": {\\n \\"InstanceType\\": \\"\\",\\n \\"InstanceId\\": \\"\\",\\n \\"Endpoint\\": \\"\\",\\n \\"VirtualHostName\\": \\"\\",\\n \\"Username\\": \\"\\",\\n \\"Password\\": \\"\\",\\n \\"VpcId\\": \\"\\",\\n \\"VSwitchIds\\": \\"\\",\\n \\"SecurityGroupId\\": \\"\\",\\n \\"NetworkType\\": \\"\\"\\n },\\n \\"SinkRabbitMQMsgSyncParameters\\": {\\n \\"InstanceType\\": \\"\\",\\n \\"InstanceId\\": \\"\\",\\n \\"Endpoint\\": \\"\\",\\n \\"VirtualHostName\\": \\"\\",\\n \\"Body\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"MessageId\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Properties\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Exchange\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"RoutingKey\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"MaxHops\\": \\"\\",\\n \\"Username\\": \\"\\",\\n \\"Password\\": \\"\\",\\n \\"VpcId\\": \\"\\",\\n \\"VSwitchIds\\": \\"\\",\\n \\"SecurityGroupId\\": \\"\\",\\n \\"NetworkType\\": \\"\\"\\n },\\n \\"SinkMQTTParameters\\": {\\n \\"InstanceId\\": \\"\\",\\n \\"ParentTopic\\": \\"\\",\\n \\"SubTopic\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Payload\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Mqtt5UserProperty\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n }\\n }\\n },\\n \\"RunOptions\\": {\\n \\"MaximumTasks\\": 2,\\n \\"RetryStrategy\\": {\\n \\"PushRetryStrategy\\": \\"BACKOFF_RETRY\\",\\n \\"MaximumEventAgeInSeconds\\": 512,\\n \\"MaximumRetryAttempts\\": 2\\n },\\n \\"ErrorsTolerance\\": \\"ALL\\",\\n \\"DeadLetterQueue\\": {\\n \\"Arn\\": \\"acs:ram::155020394332****:role/edskmstoecs\\",\\n \\"Network\\": \\"PrivateNetwork\\",\\n \\"VpcId\\": \\"vpc-2zehizpoendb3****\\",\\n \\"VSwitchIds\\": \\"vsw-m5ev8asdc6h12345****\\",\\n \\"SecurityGroupId\\": \\"sg-2vcgdxz7o1n9zapp****\\"\\n },\\n \\"BatchWindow\\": {\\n \\"CountBasedWindow\\": 100,\\n \\"TimeBasedWindow\\": 10\\n },\\n \\"BusinessOption\\": {\\n \\"BusinessMode\\": \\"\\",\\n \\"MinCapacityUnitCount\\": 0,\\n \\"MaxCapacityUnitCount\\": 0\\n },\\n \\"Throttling\\": 0\\n },\\n \\"Status\\": \\"RUNNING\\",\\n \\"DetailedStatus\\": {\\n \\"TPS\\": 5,\\n \\"DelayTime\\": 3,\\n \\"DiffOffset\\": 0,\\n \\"Extensions\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => '获取一个事件流的详细信息', + 'description' => '获取一个事件流的详细信息。', + ], + 'UpdateEventStreaming' => [ + 'summary' => '修改一个事件流的基础信息、事件源信息、事件过滤模式或事件目标信息。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '154147', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeUWT8SO', + 'FEATUREeventbridge70XW1X', + ], + ], + 'parameters' => [ + [ + 'name' => 'EventStreamingName', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '名称', + 'description' => '事件流的名称。', + 'type' => 'string', + 'required' => true, + 'example' => 'myeventstreaming', + 'maxLength' => 255, + 'minLength' => 2, + ], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => [ + 'title' => '描述', + 'description' => '事件流的描述。', + 'type' => 'string', + 'required' => false, + 'example' => 'rocketmq2mns', + ], + ], + [ + 'name' => 'FilterPattern', + 'in' => 'formData', + 'schema' => [ + 'title' => '过滤模式', + 'description' => '事件过滤规则,如果不指定表示匹配全部事件。具体信息,请参见[https://help.aliyun.com/zh/eventbridge/user-guide/event-patterns](https://help.aliyun.com/zh/eventbridge/user-guide/event-patterns)', + 'type' => 'string', + 'required' => true, + 'example' => '{'."\n" + .' "source": ['."\n" + .' {'."\n" + .' "prefix": "acs:mns"'."\n" + .' }'."\n" + .' ],'."\n" + .' "type": ['."\n" + .' {'."\n" + .' "prefix": "mns:Queue"'."\n" + .' }'."\n" + .' ],'."\n" + .' "subject": ['."\n" + .' {'."\n" + .' "prefix": "acs:mns:cn-hangzhou:123456789098****:queues/zeus"'."\n" + .' }'."\n" + .' ]'."\n" + .'}', + ], + ], + [ + 'name' => 'Source', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '源', + 'description' => '事件提供方。必须选择一种Source,且最多只能选择一种Source进行填选。', + 'type' => 'object', + 'properties' => [ + 'SourceMNSParameters' => [ + 'title' => 'Source MNS 参数', + 'description' => 'Source 轻量消息队列(原 MNS)参数。', + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'description' => '地域ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + 'QueueName' => [ + 'description' => '队列名称', + 'type' => 'string', + 'required' => false, + 'example' => 'queue_api_1642474203601', + ], + 'IsBase64Decode' => [ + 'description' => '是否开启Base64编码。默认为true。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + 'required' => false, + ], + 'SourceRabbitMQParameters' => [ + 'title' => 'Source RabbitmQ源', + 'description' => 'Source RabbitMQ源', + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'description' => '地域ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + 'InstanceId' => [ + 'description' => '消息队列RabbitMQ版的实例的ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'i-f8z9lqkldlb4oxsxwwub', + ], + 'VirtualHostName' => [ + 'description' => '消息队列RabbitMQ版实例的Vhost的名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'eb-connect'."\n", + ], + 'QueueName' => [ + 'description' => '消息队列RabbitMQ版实例的Queue的名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'demo', + ], + ], + 'required' => false, + ], + 'SourceKafkaParameters' => [ + 'title' => 'Source Kafka源', + 'description' => 'Source Kafka源', + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'description' => '地域ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-zhangjiakou', + ], + 'InstanceId' => [ + 'description' => '实例ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'i-8vbh4a5b9yfhgkkzm****', + ], + 'Topic' => [ + 'description' => 'Topic名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'topic_empower_1641539400786', + ], + 'ConsumerGroup' => [ + 'description' => '订阅该Topic的消费者所对应的Group ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'DEFAULT_GROUP', + ], + 'OffsetReset' => [ + 'description' => '偏移量。', + 'type' => 'string', + 'required' => false, + 'example' => 'latest', + ], + 'Network' => [ + 'description' => '网络配置 :默认值Default,vpc网络是PublicNetwork', + 'type' => 'string', + 'required' => false, + 'example' => 'Default', + 'enum' => [ + 'PublicNetwork', + 'Default', + ], + ], + 'VpcId' => [ + 'description' => '专有网络VPC的ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'vpc-2ze6p0o345nykmekxt****', + ], + 'VSwitchIds' => [ + 'description' => '交换机ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'vsw-wz9t1l1e8eu2om****', + ], + 'SecurityGroupId' => [ + 'description' => '安全组ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'sg-uf6jcm3y5hcs7hkl****', + ], + 'ValueDataType' => [ + 'description' => '编解码参数枚举值,有3个枚举值,命名如下'."\n" + .' a. Json:现有逻辑,bytes按utf8解码成字符串,解析为json'."\n" + .' b. Text:bytes按utf8解码成字符串,直接放入payload'."\n" + .' c. Binary:bytes按base64编码成字符串,放入payload', + 'type' => 'string', + 'required' => false, + 'example' => 'Text', + ], + ], + 'required' => false, + ], + 'SourceRocketMQParameters' => [ + 'title' => 'Source RocketMQ源', + 'description' => 'Source RocketMQ源', + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'description' => '消息队列RocketMQ版的地域ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-shanghai', + ], + 'InstanceId' => [ + 'description' => '消息队列RocketMQ版的实例ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'i-f8z9a9mcgwri1c1id****', + ], + 'Topic' => [ + 'description' => 'topic名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'TOPIC-cainiao-pcs-order-process-inBoundConditionCheck', + ], + 'Tag' => [ + 'description' => '消息的过滤标签。', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + 'Offset' => [ + 'description' => '消息的消费位点。取值说明如下:'."\n" + .'- CONSUMEFROMLASTOFFSET:从最新位点开始消费。'."\n" + .'- CONSUMEFROMFIRSTOFFSET:从最早位点开始消费。'."\n" + .'- CONSUMEFROMTIMESTAMP:从指定时间点的位点开始消费。'."\n" + ."\n" + .'默认值:CONSUMEFROMLAST_OFFSET。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSUMEFROMLASTOFFSET', + ], + 'GroupID' => [ + 'description' => '消息队列RocketMQ版的Group ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'GID_test', + ], + 'Timestamp' => [ + 'description' => '时间戳。仅当参数Offset取值为CONSUMEFROMTIMESTAMP时,该参数有效。', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1670656652009', + ], + 'InstanceType' => [ + 'description' => '实例类型。'."\n" + .'- Cloud_4(默认值):阿里云 RocketMQ 4.0 实例'."\n" + .'- Cloud_5:阿里云 RocketMQ 5.0 实例'."\n" + .'- SelfBuilt:自建 Apache RocketMQ 实例', + 'type' => 'string', + 'required' => false, + 'example' => 'Cloud_5', + ], + 'InstanceEndpoint' => [ + 'description' => '实例接入点', + 'type' => 'string', + 'required' => false, + 'example' => 'reg****-vpc.cn-zhangjiakou.aliyuncs.com'."\n", + ], + 'InstanceUsername' => [ + 'description' => '实例用户名。', + 'type' => 'string', + 'required' => false, + 'example' => 'admin', + ], + 'InstancePassword' => [ + 'description' => '实例密码。', + 'type' => 'string', + 'required' => false, + 'example' => 'admin', + ], + 'AuthType' => [ + 'description' => '鉴权类型。', + 'type' => 'string', + 'required' => false, + 'example' => 'ACL', + ], + 'InstanceVpcId' => [ + 'description' => '实例VPC信息。', + 'type' => 'string', + 'required' => false, + 'example' => 'vpc-m5e3sv4b12345****', + ], + 'InstanceVSwitchIds' => [ + 'description' => '实例交换机信息。', + 'type' => 'string', + 'required' => false, + 'example' => 'vsw-m5ev8asdc6h12****', + ], + 'InstanceSecurityGroupId' => [ + 'description' => '实例安全组信息。', + 'type' => 'string', + 'required' => false, + 'example' => 'sg-m5edtu24f12345****', + ], + 'InstanceNetwork' => [ + 'description' => '实例网络信息:'."\n" + ."\n" + .'PublicNetwork'."\n" + .'PrivateNetwork', + 'type' => 'string', + 'required' => false, + 'example' => 'PublicNetwork', + ], + 'BodyDataType' => [ + 'description' => '消息编码格式:'."\n" + ."\n" + .'- Json'."\n" + .'- Text'."\n" + .'- Binary', + 'type' => 'string', + 'required' => false, + 'example' => 'Json', + ], + 'FilterType' => [ + 'description' => '消息过滤类型。', + 'type' => 'string', + 'required' => false, + 'example' => 'Tag', + ], + 'FilterSql' => [ + 'description' => 'sql过滤语句。', + 'type' => 'string', + 'required' => false, + 'example' => 'index > 10', + ], + 'VpcId' => [ + 'description' => '实例VPC ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'vpc-m5e3sv4b12345****'."\n", + ], + 'VSwitchIds' => [ + 'description' => '交换机ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'vsw-m5ev8asdc6h12345****'."\n", + ], + 'SecurityGroupId' => [ + 'description' => '安全组ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'sg-m5edtu24f12345****'."\n", + ], + 'Network' => [ + 'description' => '网络类型。'."\n" + ."\n" + .'- PublicNetwork'."\n" + .'- PrivateNetwork', + 'type' => 'string', + 'required' => false, + 'example' => 'PublicNetwork'."\n", + ], + ], + 'required' => false, + ], + 'SourceRocketMQCheckpointParameters' => [ + 'title' => 'Source RocketMQ Checkpoint源', + 'description' => 'Source RocketMQ Checkpoint源', + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'description' => '地域ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + 'InstanceType' => [ + 'description' => '消息队列RocketMQ版实例的类型。', + 'type' => 'string', + 'required' => false, + 'example' => 'Cloud_5', + ], + 'InstanceId' => [ + 'description' => '消息队列RocketMQ版实例ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'rmq-cn-jte3w******', + ], + 'Topics' => [ + 'description' => '消息队列RocketMQ版实例Topic。', + 'type' => 'array', + 'items' => [ + 'description' => '消息队列RocketMQ版实例Topic。', + 'type' => 'string', + 'required' => false, + 'example' => 'myTopic', + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'SourceApacheRocketMQCheckpointParameters' => [ + 'title' => 'Source RocketMQ Checkpoint源', + 'description' => 'Source RocketMQ Checkpoint源', + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'description' => '地域ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + 'Topics' => [ + 'description' => 'Apache RocketMQ实例Topic。', + 'type' => 'array', + 'items' => [ + 'description' => 'Apache RocketMQ实例Topic。', + 'type' => 'string', + 'required' => false, + 'example' => 'myTopic', + ], + 'required' => false, + ], + 'InstanceEndpoint' => [ + 'description' => 'Apache RocketMQ实例的接入点。', + 'type' => 'string', + 'required' => false, + 'example' => '192.168.1.1:9876', + ], + 'InstanceUsername' => [ + 'description' => 'Apache RocketMQ实例的用户名。', + 'type' => 'string', + 'required' => false, + 'example' => 'admin', + ], + 'InstancePassword' => [ + 'description' => 'Apache RocketMQ实例的密码。', + 'type' => 'string', + 'required' => false, + 'example' => '****', + ], + 'NetworkType' => [ + 'description' => '网络类型。'."\n" + ."\n" + .'- PublicNetwork'."\n" + .'- PrivateNetwork', + 'type' => 'string', + 'required' => false, + 'example' => 'PrivateNetwork', + ], + 'VpcId' => [ + 'description' => 'VPC ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'vpc-adw1awdw*****', + ], + 'VSwitchId' => [ + 'description' => '交换机ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'vsw-dwaafds****', + ], + 'SecurityGroupId' => [ + 'description' => '安全组ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'sg-mw43*****', + ], + ], + 'required' => false, + ], + 'SourceMQTTParameters' => [ + 'description' => 'Source MQTT源', + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'description' => '地域ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-shanghai', + ], + 'InstanceId' => [ + 'description' => '实例ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'i-bp1dsudbecqwt61j****', + ], + 'Topic' => [ + 'description' => 'Topic名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'topic_empower_1642400400779', + ], + 'BodyDataType' => [ + 'description' => '消息编码格式:'."\n" + .'- JSON'."\n" + .'- Text'."\n" + .'- Binary', + 'type' => 'string', + 'required' => false, + 'example' => 'JSON', + ], + ], + 'required' => false, + ], + 'SourceDTSParameters' => [ + 'description' => 'Source DTS源', + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'description' => '任务ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'f86e5814-b223-482c-b768-3b873297****', + ], + 'BrokerUrl' => [ + 'description' => '数据订阅通道的网络地址及端口号信息。', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + 'Topic' => [ + 'description' => '数据订阅通道的订阅Topic。', + 'type' => 'string', + 'required' => false, + 'example' => 'LTC_CACHE_PRD', + ], + 'Sid' => [ + 'description' => '消费组ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'hkprdb', + ], + 'Username' => [ + 'description' => '消费组的账号。', + 'type' => 'string', + 'required' => false, + 'example' => 'admin', + ], + 'Password' => [ + 'description' => '消费组的账号密码。', + 'type' => 'string', + 'required' => false, + 'example' => 'admin', + ], + 'InitCheckPoint' => [ + 'description' => '消费位点,即SDK客户端消费第一条数据的时间戳,格式为Unix时间戳。', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1620962769', + ], + ], + 'required' => false, + ], + 'SourceSLSParameters' => [ + 'description' => 'Source SLS源', + 'type' => 'object', + 'properties' => [ + 'RoleName' => [ + 'description' => '授权事件总线EventBridge使用此角色读取SLS日志内容时,需满足条件:在RAM控制台创建服务所使用的角色时,需要选择“阿里云服务”,并且“受信服务”需要选择“事件总线”。', + 'type' => 'string', + 'required' => false, + 'example' => 'testRole'."\n", + ], + ], + 'required' => false, + ], + 'SourcePrometheusParameters' => [ + 'description' => 'Source Prometheus 事件源', + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'description' => '实例所在地域id。', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou'."\n", + ], + 'ClusterId' => [ + 'description' => '集群id。', + 'type' => 'string', + 'required' => false, + 'example' => 'c83555068b6******ad213f565f209'."\n", + ], + 'DataType' => [ + 'description' => '数据类型。', + 'type' => 'string', + 'required' => false, + 'example' => 'Json', + ], + 'Labels' => [ + 'description' => '标签。', + 'type' => 'string', + 'required' => false, + 'example' => '__name__=.*'."\n", + ], + 'RoleName' => [ + 'description' => '任务角色名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'test-role'."\n", + ], + 'ExternalLabels' => [ + 'description' => '附加到事件流中的外部标签。', + 'type' => 'string', + 'required' => false, + 'example' => '{"env":"test"}', + ], + ], + 'required' => false, + ], + 'SourceCustomizedKafkaParameters' => [ + 'description' => '自定义 Kafka 事件源。', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => '消息队列Kafka版的实例ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'r-8vb64581862c****'."\n", + ], + ], + 'required' => false, + ], + 'SourceCustomizedKafkaConnectorParameters' => [ + 'description' => '自定义连接器 Apache Kafka 事件源。', + 'type' => 'object', + 'properties' => [ + 'ConnectorPackageUrl' => [ + 'description' => 'oss资源zip包下载链接。', + 'type' => 'string', + 'required' => false, + 'example' => '"https://examplebucket.oss-cn-hangzhou.aliyuncs.com/testDoc/Old_Homebrew/2024-06-26%2022%3A34%3A08/opt/homebrew/homebrew/Library/Homebrew/test/support/fixtures/cask/AppWithBinary.zip?OSSAccessKeyId=ri&Expires=1725539627&Signature=rb8q3OpV2i3gZJ"', + ], + 'ConnectorParameters' => [ + 'description' => '连接器参数。', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '连接器名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'test-name'."\n", + ], + 'Config' => [ + 'description' => '连接器配置。', + 'type' => 'object', + 'required' => false, + 'example' => '{'."\n" + .' "connector.class": "com.mongodb.kafka.connect.MongoSinkConnector",'."\n" + .' "tasks.max": "1",'."\n" + .' "topics": "sourceA,sourceB"'."\n" + .' }', + ], + ], + 'required' => false, + ], + 'WorkerParameters' => [ + 'description' => '实例配置。', + 'type' => 'object', + 'required' => false, + 'example' => '{'."\n" + .' "group.id": "connect-eb-cluster-KAFKA_CONNECTORC",'."\n" + .' "offset.storage.topic": "connect-eb-offset-KAFKA_CONNECTOR_yjqC8K5ewC",'."\n" + .' "config.storage.topic": "connect-eb-config-KAFKA_CONNECTOR_yjqC8K5ewC",'."\n" + .' "status.storage.topic": "connect-eb-status-KAFKA_CONNECTOR_yjqC8K5ewC",'."\n" + .' "consumer.group.id": "connector-eb-cluster-KAFKA_CONNECTOR_yjqC8K5ewC-mongo-sink",'."\n" + .' "bootstrap.servers": "alikafka-post:9092"'."\n" + .' }', + ], + ], + 'required' => false, + ], + 'SourceApacheKafkaParameters' => [ + 'type' => 'object', + 'properties' => [ + 'Bootstraps' => [ + 'type' => 'string', + 'required' => false, + ], + 'Topic' => [ + 'type' => 'string', + 'required' => false, + ], + 'ConsumerGroup' => [ + 'type' => 'string', + 'required' => false, + ], + 'OffsetReset' => [ + 'type' => 'string', + 'required' => false, + ], + 'ValueDataType' => [ + 'type' => 'string', + 'required' => false, + ], + 'VpcId' => [ + 'type' => 'string', + 'required' => false, + ], + 'VSwitchIds' => [ + 'type' => 'string', + 'required' => false, + ], + 'SecurityGroupId' => [ + 'type' => 'string', + 'required' => false, + ], + 'NetworkType' => [ + 'type' => 'string', + 'required' => false, + ], + 'SecurityProtocol' => [ + 'type' => 'string', + 'required' => false, + ], + 'SaslMechanism' => [ + 'type' => 'string', + 'required' => false, + ], + 'SaslUser' => [ + 'type' => 'string', + 'required' => false, + ], + 'SaslPassword' => [ + 'type' => 'string', + 'required' => false, + ], + 'SslTruststoreCertificates' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'SourceOSSParameters' => [ + 'description' => 'Source Oss 事件源。', + 'type' => 'object', + 'properties' => [ + 'RoleName' => [ + 'description' => '授权事件总线 EventBridge 读取 OSS文件的角色名称,要求该角色至少具有oss的只读权限。', + 'type' => 'string', + 'required' => false, + 'example' => 'eventbridge_oss_role'."\n", + ], + 'BucketName' => [ + 'description' => '对象存储OSS中的存储空间名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'bucket_abc'."\n", + ], + 'Prefix' => [ + 'description' => '文件路径前缀。', + 'type' => 'string', + 'required' => false, + 'example' => 'fun/document/'."\n", + ], + 'LoadMode' => [ + 'description' => '数据加载模式,single表示单文档加载,element表示分块加载。 取值:single/element 默认为single。', + 'type' => 'string', + 'required' => false, + 'example' => 'single'."\n", + ], + 'LoadFormat' => [ + 'description' => '文档加载器。', + 'type' => 'string', + 'required' => false, + 'example' => 'TextLoader', + ], + 'Delimiter' => [ + 'description' => '分隔符,在分块加载模式下,以该分隔符作为文本的分块标识符,默认以换行符\\n作为分隔符。', + 'type' => 'string', + 'required' => false, + 'example' => '\\n', + ], + ], + 'required' => false, + ], + 'SourceEventBusParameters' => [ + 'description' => 'Source EventBus源。', + 'type' => 'object', + 'properties' => [ + 'EventBusName' => [ + 'description' => '事件总线名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'my-event-bus', + ], + 'EventRuleName' => [ + 'description' => '事件规则名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'my-event-rule', + ], + ], + 'required' => false, + ], + 'SourceOpenSourceRabbitMQParameters' => [ + 'description' => 'Source Open Source RabbitMQ源。', + 'type' => 'object', + 'properties' => [ + 'Endpoint' => [ + 'description' => '实例接入点。', + 'type' => 'string', + 'required' => false, + 'example' => '192.168.1.1:9876', + ], + 'VirtualHostName' => [ + 'description' => '开源RabbitMQ实例的虚拟主机名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'Vhost1', + ], + 'QueueName' => [ + 'description' => '开源RabbitMQ实例的队列名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'demo', + ], + 'BodyDataType' => [ + 'description' => '消息体数据类型。', + 'type' => 'string', + 'required' => false, + 'example' => 'Json', + ], + 'Username' => [ + 'description' => '连接开源RabbitMQ实例时使用的用户名。', + 'type' => 'string', + 'required' => false, + 'example' => 'admin', + ], + 'Password' => [ + 'description' => '连接开源RabbitMQ实例时使用的密码。', + 'type' => 'string', + 'required' => false, + 'example' => '****', + ], + 'VpcId' => [ + 'description' => 'VPC ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'vpc-m5e3sv4b12345****', + ], + 'VSwitchIds' => [ + 'description' => '交换机ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'vsw-m5ev8asdc6h12345****', + ], + 'SecurityGroupId' => [ + 'description' => '安全组ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'sg-m5edtu24f12345****', + ], + 'NetworkType' => [ + 'description' => '网络类型。'."\n" + ."\n" + .'- PublicNetwork'."\n" + .'- PrivateNetwork', + 'type' => 'string', + 'required' => false, + 'example' => 'PrivateNetwork', + ], + 'AuthType' => [ + 'description' => '鉴权类型。', + 'type' => 'string', + 'required' => false, + 'example' => 'ACL', + ], + ], + 'required' => false, + ], + 'SourceMySQLParameters' => [ + 'description' => 'Source MySQL源。', + 'required' => false, + '$ref' => '#/components/schemas/SourceMySQLParameters', + ], + 'SourcePostgreSQLParameters' => [ + 'required' => false, + '$ref' => '#/components/schemas/SourcePostgreSQLParameters', + ], + 'SourceRabbitMQMetaParameters' => [ + 'required' => false, + '$ref' => '#/components/schemas/SourceRabbitMQMetaParameters', + ], + 'SourceRabbitMQMsgSyncParameters' => [ + 'required' => false, + '$ref' => '#/components/schemas/SourceRabbitMQMsgSyncParameters', + ], + ], + 'required' => true, + ], + ], + [ + 'name' => 'Sink', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '事件源名称', + 'description' => '事件目标。必须选择一种Sink,且最多只能选择一种Sink进行填选。', + 'type' => 'object', + 'properties' => [ + 'SinkMNSParameters' => [ + 'title' => '事件源名称', + 'description' => '轻量消息队列(原 MNS)事件目标。', + 'type' => 'object', + 'properties' => [ + 'QueueName' => [ + 'description' => '目标服务类型为轻量消息队列(原 MNS)。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '轻量消息队列(原 MNS)的Queue的名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'MyQueue', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'Body' => [ + 'description' => '消息内容。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'required' => false, + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'required' => false, + 'example' => 'TEMPLATE', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + 'required' => false, + ], + 'IsBase64Encode' => [ + 'description' => '是否开启Base64编码。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '开启Base64编码。', + 'type' => 'string', + 'required' => false, + 'example' => 'true', + ], + 'Form' => [ + 'description' => '事件转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'SinkFcParameters' => [ + 'title' => '函数目标', + 'description' => '函数目标。', + 'type' => 'object', + 'properties' => [ + 'ServiceName' => [ + 'description' => '服务的名称。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '服务的名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'myService', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'FunctionName' => [ + 'description' => '函数名称。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '函数名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'mFunction', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'Concurrency' => [ + 'description' => '投递并发度,最小1。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '投递并发度,最小1。', + 'type' => 'string', + 'required' => false, + 'example' => '1', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'Qualifier' => [ + 'description' => '函数所属服务的别名。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '函数所属服务的别名。', + 'type' => 'string', + 'required' => false, + 'example' => 'LATEST', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'InvocationType' => [ + 'description' => '同步或则异步。'."\n" + .'Sync:同步。'."\n" + .'Async:异步。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '调用类型。', + 'type' => 'string', + 'required' => false, + 'example' => 'Async', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'Body' => [ + 'description' => '发送给函数的内容体。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'required' => false, + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'required' => false, + 'example' => 'TEMPLATE', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + 'required' => false, + ], + 'DataFormat' => [ + 'description' => '事件内容的格式转换规则。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'required' => false, + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Form' => [ + 'description' => '转换的格式:'."\n" + ."\n" + .'- ORIGINAL:完整事件'."\n" + .'- JSONPATH:部分事件'."\n" + .'- CONSTANT:常量'."\n" + .'- TEMPLATE:模板', + 'type' => 'string', + 'required' => false, + 'example' => 'JSONPATH', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => '$.data.key'."\n", + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'SinkRabbitMQParameters' => [ + 'title' => '是否新增', + 'description' => 'Sink Rabbitmq的参数。', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => '目标服务类型为消息队列RabbitMQ版。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '消息队列RabbitMQ版的实例ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'amqp-cn-2r42e73o****', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'VirtualHostName' => [ + 'description' => '消息队列RabbitMQ版实例的Vhost的名称。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '消息队列RabbitMQ版实例的Vhost的名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'rabbit-host'."\n", + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'TargetType' => [ + 'description' => '目标类型。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '目标类型。取值说明如下:'."\n" + .'- Exchange:Exchange模式。'."\n" + .'- Queue:Queue模式。', + 'type' => 'string', + 'required' => false, + 'example' => 'Exchange/Queue', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'Exchange' => [ + 'description' => 'Exchange模式。'."\n" + .'仅当参数TargetType配置为Exchange时,需配置此参数。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '消息队列RabbitMQ版实例的Exchange的名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'a_exchange', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'RoutingKey' => [ + 'description' => '消息的路由规则。'."\n" + .'仅当参数TargetType配置为Exchange时,需配置此参数。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '消息的路由规则。', + 'type' => 'string', + 'required' => false, + 'example' => 'housekeeping', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'QueueName' => [ + 'description' => 'Queue模式。'."\n" + .'仅当参数TargetType配置为Queue时,需配置此参数。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '实例的Queue的名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'MyQueue', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'Body' => [ + 'description' => '消息内容。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'required' => false, + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'required' => false, + 'example' => 'TEMPLATE', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + 'required' => false, + ], + 'MessageId' => [ + 'description' => '消息ID。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'required' => false, + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'required' => false, + 'example' => 'TEMPLATE', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + 'required' => false, + ], + 'Properties' => [ + 'description' => '过滤属性。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'required' => false, + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'required' => false, + 'example' => 'TEMPLATE', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'SinkKafkaParameters' => [ + 'title' => '描述信息', + 'description' => 'Sink kafak 参数', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => '目标服务类型为消息队列Kafka版。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '实例ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'Defaut_1283278472_s****', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'CompressionType' => [ + 'type' => 'string', + 'required' => false, + ], + 'Topic' => [ + 'description' => '主题名称。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '主题名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'Headers' => [ + 'description' => 'Kafka消息的附加元数据。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'required' => false, + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}'."\n", + ], + 'Form' => [ + 'description' => '转换的格式:'."\n" + ."\n" + .'- ORIGINAL:完整事件'."\n" + .'- JSONPATH:部分事件'."\n" + .'- CONSTANT:常量'."\n" + .'- TEMPLATE:模板', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => 'The value of ${key} is ${value}!', + ], + ], + 'required' => false, + ], + 'Acks' => [ + 'description' => '写入Kafka确认模式:'."\n" + .'- acks=0:无需服务端的Response、性能较高、丢数据风险较大。'."\n" + .'- acks=1:服务端主节点写成功即返回Response、性能中等、丢数据风险中等、主节点宕机可能导致数据丢失;'."\n" + .'- acks=all:服务端主节点写成功且备节点同步成功才返回Response、性能较差、数据较为安全、主节点和备节点都宕机才会导致数据丢失。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '写入Kafka确认模式:'."\n" + .'- acks=0:无需服务端的Response、性能较高、丢数据风险较大。'."\n" + .'- acks=1:服务端主节点写成功即返回Response、性能中等、丢数据风险中等、主节点宕机可能导致数据丢失;'."\n" + .'- acks=all:服务端主节点写成功且备节点同步成功才返回Response、性能较差、数据较为安全、主节点和备节点都宕机才会导致数据丢失。', + 'type' => 'string', + 'required' => false, + 'example' => '1', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'Key' => [ + 'description' => '消息的标识。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '消息的标识。', + 'type' => 'string', + 'required' => false, + 'example' => 'key', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'Value' => [ + 'description' => '消息体内容。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'required' => false, + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'required' => false, + 'example' => 'TEMPLATE', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'SinkApacheKafkaParameters' => [ + 'title' => '描述信息', + 'description' => '描述信息', + 'type' => 'object', + 'properties' => [ + 'Bootstraps' => [ + 'type' => 'string', + 'required' => false, + ], + 'Topic' => [ + 'type' => 'string', + 'required' => false, + ], + 'Acks' => [ + 'type' => 'string', + 'required' => false, + ], + 'Key' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'Value' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'CompressionType' => [ + 'type' => 'string', + 'required' => false, + ], + 'SecurityProtocol' => [ + 'type' => 'string', + 'required' => false, + ], + 'SaslMechanism' => [ + 'type' => 'string', + 'required' => false, + ], + 'SaslUser' => [ + 'type' => 'string', + 'required' => false, + ], + 'VpcId' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'VSwitchIds' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'SecurityGroupId' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'NetworkType' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'Headers' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'SaslPassword' => [ + 'type' => 'string', + 'required' => false, + ], + 'SslTruststoreCertificates' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'SinkRocketMQParameters' => [ + 'title' => '事件源类型', + 'description' => 'Sink RocketMQ Parameters', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => '目标服务类型为消息队列RocketMQ版。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '消息队列RocketMQ版的实例ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'MQ_INST_164901546557****_BAAN****', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'Topic' => [ + 'description' => '消息队列RocketMQ版实例的Topic。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '消息队列RocketMQ版实例的Topic。', + 'type' => 'string', + 'required' => false, + 'example' => 'Mytopic', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'Body' => [ + 'description' => '消息内容。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'required' => false, + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'required' => false, + 'example' => 'TEMPLATE', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + 'required' => false, + ], + 'Properties' => [ + 'description' => '过滤属性。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'required' => false, + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'required' => false, + 'example' => 'TEMPLATE', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + 'required' => false, + ], + 'Keys' => [ + 'description' => '过滤属性。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'required' => false, + 'example' => ' '."\n" + .'{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'required' => false, + 'example' => 'TEMPLATE', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => 'The value of ${key} is ${value}!', + ], + ], + 'required' => false, + ], + 'Tags' => [ + 'description' => '过滤属性。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'required' => false, + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'required' => false, + 'example' => 'TEMPLATE', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + 'required' => false, + ], + 'InstanceType' => [ + 'description' => '实例类型。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '实例类型。取值说明如下:'."\n" + ."\n" + .'- Cloud_4:阿里云 RocketMQ 4.0 版本实例(默认选项)'."\n" + .'- Cloud_5:阿里云 RocketMQ 5.0 版本实例'."\n" + .'- SelfBuilt:自建 Apache RocketMQ 集群', + 'type' => 'string', + 'required' => false, + 'example' => 'Cloud_4'."\n", + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'InstanceEndpoint' => [ + 'description' => '实例接入点。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '实例接入点。', + 'type' => 'string', + 'required' => false, + 'example' => 'vbr-8vbsvkkbpf3vb0zef****'."\n", + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'InstanceUsername' => [ + 'description' => '实例用户名。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '实例用户名。', + 'type' => 'string', + 'required' => false, + 'example' => 'admin', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'InstancePassword' => [ + 'description' => '实例密码。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '实例密码。', + 'type' => 'string', + 'required' => false, + 'example' => 'admin****', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'VpcId' => [ + 'description' => 'VPC的ID。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'VPC的ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'vbr-8vb835n3zf9shwlvb****', + ], + 'Form' => [ + 'description' => '事件转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'VSwitchIds' => [ + 'description' => '交换机ID。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '交换机ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'vbr-8vb835n3zf9shwl****mp', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'SecurityGroupId' => [ + 'description' => '安全组ID。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '安全组ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'b4bf375515f6440f942e3a20c33d****', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'Network' => [ + 'description' => '网络类型。'."\n" + ."\n" + .'- PublicNetwork'."\n" + .'- PrivateNetwork', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '网络类型。'."\n" + ."\n" + .'- PublicNetwork'."\n" + .'- PrivateNetwork', + 'type' => 'string', + 'required' => false, + 'example' => 'PublicNetwork', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'DeliveryOrderType' => [ + 'description' => '消息的投递顺序类型。选填,默认为并发投递。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '投递顺序类型。'."\n" + ."\n" + .'- **Orderly:** 顺序投递'."\n" + .'- **Concurrently:** 并发投递', + 'type' => 'string', + 'required' => false, + 'example' => 'Concurrently', + ], + 'Form' => [ + 'description' => '转换的格式。默认为 CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'ShardingKey' => [ + 'description' => '消息的分片健。'."\n" + .'> DeliveryOrderType为Orderly时,向下游写入消息时ShardingKey属性的事件内容转换规则。Source为RocketMQ时,ShardingKey允许为空,此时使用上游BrokerName和QueueId拼接得到消息ShardingKey。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '分片健值。', + 'type' => 'string', + 'required' => false, + 'example' => 'order_id', + ], + 'Form' => [ + 'description' => '转换的格式。默认为 CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => ' CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'SinkDorisParameters' => [ + 'title' => '事件源类型', + 'description' => '事件源类型', + 'type' => 'object', + 'properties' => [ + 'QueryEndpoint' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'FeHttpEndpoint' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'BeHttpEndpoint' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'UserName' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'Password' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'Database' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'Body' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'Table' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'NetworkType' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'VpcId' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'VSwitchIds' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'SecurityGroupId' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'SinkRocketMQCheckpointParameters' => [ + 'title' => '事件源类型', + 'description' => 'Sink RocketMQ Checkpoint Parameters', + 'type' => 'object', + 'properties' => [ + 'InstanceType' => [ + 'description' => '实例类型。取值说明如下:'."\n" + ."\n" + .'- Cloud_4:阿里云 RocketMQ 4.0 版本实例'."\n" + .'- Cloud_5:阿里云 RocketMQ 5.0 版本实例', + 'type' => 'string', + 'required' => false, + 'example' => 'Cloud_4', + ], + 'InstanceId' => [ + 'description' => '实例ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'MQ_INST_164901546557****_BAAN****', + ], + 'Topic' => [ + 'description' => '消息队列 RocketMQ 版实例的 Topic。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '消息队列 RocketMQ 版实例的 Topic 名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'Mytopic', + ], + 'Form' => [ + 'description' => '转换的格式。默认为 CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'ConsumeTimestamp' => [ + 'description' => '消息消费的时间戳。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '时间戳。', + 'type' => 'string', + 'required' => false, + 'example' => '1570761026400', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'Group' => [ + 'description' => '消费者组的 Group ID。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'Group ID', + 'type' => 'string', + 'required' => false, + 'example' => 'GID_EVENTBRIDGE_1736234******', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'SinkApacheRocketMQCheckpointParameters' => [ + 'title' => '事件源类型', + 'description' => 'Sink Apache RocketMQ Checkpoint Parameters', + 'type' => 'object', + 'properties' => [ + 'Topic' => [ + 'description' => 'RocketMQ实例的Topic。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'RocketMQ实例的Topic的名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'Mytopic', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'ConsumeTimestamp' => [ + 'description' => '消息消费的时间戳。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '时间戳。', + 'type' => 'string', + 'required' => false, + 'example' => '1570761026400', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'Group' => [ + 'description' => '消费者组的 Group ID。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'Group ID', + 'type' => 'string', + 'required' => false, + 'example' => 'GID_EVENTBRIDGE_1736234******', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'InstanceEndpoint' => [ + 'description' => '实例接入点。', + 'type' => 'string', + 'required' => false, + 'example' => '192.168.1.1:9876', + ], + 'InstanceUsername' => [ + 'description' => '认证需要的用户名。', + 'type' => 'string', + 'required' => false, + 'example' => 'admin', + ], + 'InstancePassword' => [ + 'description' => '用户名密码。', + 'type' => 'string', + 'required' => false, + 'example' => '****', + ], + 'NetworkType' => [ + 'description' => '网络类型。'."\n" + ."\n" + .'- PublicNetwork'."\n" + .'- PrivateNetwork', + 'type' => 'string', + 'required' => false, + 'example' => 'PrivateNetwork', + ], + 'VpcId' => [ + 'description' => '专有网络的ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'vpc-2zeccak5pb0j3ay******', + ], + 'VSwitchId' => [ + 'description' => '交换机ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'vsw-uf62oqt1twuevrt******', + ], + 'SecurityGroupId' => [ + 'description' => '安全组ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'sg-2ze5bmpw6adn0q******', + ], + ], + 'required' => false, + ], + 'SinkSLSParameters' => [ + 'description' => 'Sink SLS Parameters', + 'type' => 'object', + 'properties' => [ + 'Project' => [ + 'description' => '日志服务SLS的日志项目。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '日志服务SLS的日志项目。', + 'type' => 'string', + 'required' => false, + 'example' => 'test-project'."\n", + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'LogStore' => [ + 'description' => '日志服务SLS的日志库。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '日志服务SLS的日志库。', + 'type' => 'string', + 'required' => false, + 'example' => 'test-logstore'."\n", + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'Topic' => [ + 'description' => '日志所在的topic,对应SLS 保留字段“topic”。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '日志所在的topic,对应SLS 保留字段“topic”。', + 'type' => 'string', + 'required' => false, + 'example' => 'testTopic', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'Body' => [ + 'description' => '发送给SLS的内容。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'required' => false, + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'required' => false, + 'example' => 'TEMPLATE', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => 'The value of ${key} is ${value}!', + ], + ], + 'required' => false, + ], + 'RoleName' => [ + 'description' => '授权事件总线EventBridge使用此角色读取SLS日志内容时,需满足条件:在RAM控制台创建服务所使用的角色时,需要选择“阿里云服务”,并且“受信服务”需要选择“事件总线”。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '授权事件总线EventBridge使用此角色读取SLS日志内容时,需满足条件:在RAM控制台创建服务所使用的角色时,需要选择“阿里云服务”,并且“受信服务”需要选择“事件总线”。', + 'type' => 'string', + 'required' => false, + 'example' => 'testRole', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'ContentType' => [ + 'description' => 'SLS数据格式。可选择默认或者配置制定的键值:'."\n" + ."\n" + .'- JSON'."\n" + .'- KeyValue', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'SLS数据格式。', + 'type' => 'string', + 'required' => false, + 'example' => 'JSON', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT'."\n", + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'ContentSchema' => [ + 'description' => '自定义日志的键值,仅在ContentType为KeyValue生效。每一对键值由 Key_n,Value_n 表示。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '自定义键值。', + 'type' => 'string', + 'required' => false, + 'example' => '{"Key_1":{"form":"CONSTANT","value":"demoKey"},"Value_1":{"form":"JSONPATH","value":"$.data.value"}}', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT'."\n", + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'SinkFnfParameters' => [ + 'description' => 'Sink Fnf 参数', + 'type' => 'object', + 'properties' => [ + 'FlowName' => [ + 'description' => '流程名称', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '流程名称', + 'type' => 'string', + 'required' => false, + 'example' => 'test-streaming-fnf'."\n", + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'ExecutionName' => [ + 'description' => '执行名称', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '执行名称', + 'type' => 'string', + 'required' => false, + 'example' => '123', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'Input' => [ + 'description' => '执行输入信息', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '执行输入信息', + 'type' => 'string', + 'required' => false, + 'example' => '123', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'RoleName' => [ + 'description' => '角色配置', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '角色配置', + 'type' => 'string', + 'required' => false, + 'example' => 'Al****FNF-x****', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'SinkPrometheusParameters' => [ + 'description' => 'Sink Prometheus 参数', + 'type' => 'object', + 'properties' => [ + 'URL' => [ + 'description' => 'Prometheus Remote Write URL 地址', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'Prometheus Remote Write URL 地址', + 'type' => 'string', + 'required' => false, + 'example' => 'https://cn-hangzhou.arms.aliyuncs.com/prometheus/167275****/c5b7faeb2e8994641*****d5c559f/cn-hangzhou/api/v3/write'."\n", + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'HeaderParameters' => [ + 'description' => '请求头的参数数据结构。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '- Form为CONSTANT:常量值'."\n" + .'- Form为JSONPATH:JSONPath提取内容'."\n" + .'- Form为TEMPLATE:模板变量'."\n" + ."\n" + .'注:Value字段不允许超过10240个字符', + 'type' => 'string', + 'required' => false, + 'example' => '示例1(Form为CONSTANT)'."\n" + .'name'."\n" + ."\n" + .'示例2(Form为JSONPATH)'."\n" + .'$.data.name'."\n" + ."\n" + .'示例3(Form为TEMPLATE)'."\n" + .'{'."\n" + .' "name":"$.data.name"'."\n" + .'}', + ], + 'Form' => [ + 'description' => '转换的格式。'."\n" + ."\n" + .'**枚举值:**'."\n" + ."\n" + .'- JSONPATH:JSONPATH。'."\n" + .'- CONSTANT:CONSTANT。'."\n" + .'- TEMPLATE:TEMPLATE。', + 'type' => 'string', + 'required' => false, + 'example' => 'TEMPLATE', + ], + 'Template' => [ + 'description' => 'Http 请求头模板样式,当 Form 是 TEMPLATE 时填写,事件内容转换后结果必须是 Json 格式。', + 'type' => 'string', + 'required' => false, + 'example' => '{'."\n" + .' "user_name":"${name}"'."\n" + .'}', + ], + ], + 'required' => false, + ], + 'AuthorizationType' => [ + 'description' => '鉴权方式', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '鉴权方式', + 'type' => 'string', + 'required' => false, + 'example' => 'BASIC_AUTH', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'Username' => [ + 'description' => '用户名', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '用户名', + 'type' => 'string', + 'required' => false, + 'example' => '***admin', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'Password' => [ + 'description' => '密码', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '密码', + 'type' => 'string', + 'required' => false, + 'example' => 'abc', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'Data' => [ + 'description' => '指标内容', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '指标内容', + 'type' => 'string', + 'required' => false, + 'example' => '$.data', + ], + 'Form' => [ + 'description' => '转换的格式。默认为JSONPATH。', + 'type' => 'string', + 'required' => false, + 'example' => 'JSONPATH', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'NetworkType' => [ + 'description' => '网络类型', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '网络类型:'."\n" + ."\n" + .'- PublicNetwork'."\n" + .'- PrivateNetwork', + 'type' => 'string', + 'required' => false, + 'example' => 'PrivateNetwork', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'VpcId' => [ + 'description' => 'VPC ID。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'VPC ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'vpc-adw1awdw*****', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'VSwitchId' => [ + 'description' => '交换机Id', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '交换机Id', + 'type' => 'string', + 'required' => false, + 'example' => 'vsw-dwaafds****'."\n", + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'SecurityGroupId' => [ + 'description' => '安全组ID。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '安全组ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'sg-mw43*****'."\n", + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'SinkDataHubParameters' => [ + 'description' => 'Sink DataHub 参数。', + 'type' => 'object', + 'properties' => [ + 'Project' => [ + 'description' => 'DataHub项目名。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'DataHub项目名。', + 'type' => 'string', + 'required' => false, + 'example' => 'demo-project'."\n", + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'Topic' => [ + 'description' => 'DataHub Topic名称。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'DataHub Topic名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'demo-topic', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'TopicType' => [ + 'description' => 'topic 类型。'."\n" + ."\n" + .'- TUPLE'."\n" + .'- BLOB', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'topic 类型。'."\n" + ."\n" + .'- TUPLE'."\n" + .'- BLOB', + 'type' => 'string', + 'required' => false, + 'example' => 'TUPLE', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'TopicSchema' => [ + 'description' => 'TUBLE类型,topic内容模式。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'TUBLE类型,topic内容模式。', + 'type' => 'string', + 'required' => false, + 'example' => '{"k1":"value1","k2":"value2"}', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'required' => false, + 'example' => 'TEMPLATE', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => '{"k1":"${k1}","k2":"${k2}"}', + ], + ], + 'required' => false, + ], + 'Body' => [ + 'description' => 'BLOB类型,Record内容模板。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'BLOB类型,Record内容模板。', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'required' => false, + 'example' => 'ORIGINAL', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'RoleName' => [ + 'description' => '任务角色名。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '任务角色名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'test-role'."\n", + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT'."\n", + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'ContentType' => [ + 'description' => '数据格式。可选择默认或者配置制定的键值:'."\n" + ."\n" + .'- JSON'."\n" + .'- KeyValue', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'required' => false, + 'example' => 'JSON', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'ContentSchema' => [ + 'description' => '自定义日志的键值,仅在ContentType为KeyValue生效。每一对键值由 Key_n, Value_n 表示。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'required' => false, + 'example' => '{"Key_1":{"form":"CONSTANT","value":"demoKey"},"Value_1":{"form":"JSONPATH","value":"$.data.value"}}', + ], + 'Form' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'SinkCustomizedKafkaParameters' => [ + 'description' => 'Sink Kafka 参数。', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => '消息队列Kafka版的实例ID。', + 'type' => 'string', + 'required' => false, + 'example' => '90be1f96-4229-4535-bb76-34b4f6fb2b71', + ], + ], + 'required' => false, + ], + 'SinkCustomizedKafkaConnectorParameters' => [ + 'description' => 'Sink Kafka 连接器参数。', + 'type' => 'object', + 'properties' => [ + 'ConnectorPackageUrl' => [ + 'description' => 'oss文件下载链接。', + 'type' => 'string', + 'required' => false, + 'example' => '"https://examplebucket.oss-cn-hangzhou.aliyuncs.com/testDoc/Old_Homebrew/2024-06-26%2022%3A34%3A08/opt/homebrew/homebrew/Library/Homebrew/test/support/fixtures/cask/AppWithBinary.zip?OSSAccessKeyId=ri&Expires=1725539627&Signature=rb8q3OpV2i3gZJ"', + ], + 'ConnectorParameters' => [ + 'description' => '解析当前 ZIP 包下的 properties 文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '连接器名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'mongo-sink', + ], + 'Config' => [ + 'description' => '连接器配置。', + 'type' => 'object', + 'required' => false, + 'example' => '{'."\n" + .' "connector.class": "com.mongodb.kafka.connect.MongoSinkConnector",'."\n" + .' "tasks.max": "1",'."\n" + .' "topics": "sourceA,sourceB"'."\n" + .' }', + ], + ], + 'required' => false, + ], + 'WorkerParameters' => [ + 'description' => '实例配置。', + 'type' => 'object', + 'required' => false, + 'example' => '{'."\n" + .' "group.id": "connect-eb-cluster-KAFKA_CONNECTORC",'."\n" + .' "offset.storage.topic": "connect-eb-offset-KAFKA_CONNECTOR_yjqC8K5ewC",'."\n" + .' "config.storage.topic": "connect-eb-config-KAFKA_CONNECTOR_yjqC8K5ewC",'."\n" + .' "status.storage.topic": "connect-eb-status-KAFKA_CONNECTOR_yjqC8K5ewC",'."\n" + .' "consumer.group.id": "connector-eb-cluster-KAFKA_CONNECTOR_yjqC8K5ewC-mongo-sink",'."\n" + .' "bootstrap.servers": "alikafka-post:9092"'."\n" + .' }', + ], + ], + 'required' => false, + ], + 'SinkDashVectorParameters' => [ + 'description' => 'Sink DashVector 参数。', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => '实例ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'vrs-cn-lbj3ru1***', + ], + 'Collection' => [ + 'description' => 'Collection(集合)名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'collection1', + ], + 'ApiKey' => [ + 'description' => 'DashVecotor控制台创建的API Key。', + 'type' => 'string', + 'required' => false, + 'example' => 'Q34nExQH7sQ****', + ], + 'Operation' => [ + 'description' => 'DashVector数据库操作类型。'."\n" + .'- Delete'."\n" + .'- Upsert', + 'type' => 'string', + 'required' => false, + 'example' => 'Upsert', + ], + 'Network' => [ + 'description' => '网络类型。'."\n" + .'- PrivateNetwork'."\n" + .'- PublicNetwork', + 'type' => 'string', + 'required' => false, + 'example' => 'PublicNetwork', + ], + 'PrimaryKeyId' => [ + 'description' => '插入/删除记录时的主键ID 不填写此字段时,使用随机主键ID。', + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'description' => '转换的格式:'."\n" + .'- JSONPATH'."\n" + .'- TEMPLATE', + 'type' => 'string', + 'required' => false, + 'example' => 'JSONPATH', + ], + 'Value' => [ + 'description' => 'Form为JSONPATH:JSONPath提取内容'."\n" + .'Form为TEMPLATE:模板变量'."\n" + .'> Value字段不允许超过10240个字符', + 'type' => 'string', + 'required' => false, + 'example' => '$.data.requestId', + ], + 'Template' => [ + 'description' => '主键ID模板,仅当Form是TEMPLATE时需要填写。', + 'type' => 'string', + 'required' => false, + 'example' => '${ID}', + ], + ], + 'required' => false, + ], + 'Partition' => [ + 'description' => 'Partition(分区),默认值为default分区。', + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'description' => '转换的格式:'."\n" + .'- JSONPATH'."\n" + .'- CONSTANT', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT'."\n", + ], + 'Value' => [ + 'description' => '- Form为CONSTANT:常量值'."\n" + .'- Form为JSONPATH:JSONPath提取内容'."\n" + ."\n" + .'> Value字段不允许超过10240个字符。', + 'type' => 'string', + 'required' => false, + 'example' => 'default', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无'."\n", + ], + ], + 'required' => false, + ], + 'Vector' => [ + 'description' => '插入DashVector记录的向量。', + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'required' => false, + 'example' => 'JSONPATH', + ], + 'Value' => [ + 'description' => 'JSONPath提取内容。'."\n" + ."\n" + .'> Value字段不允许超过10240个字符。', + 'type' => 'string', + 'required' => false, + 'example' => '$.data.messageBody', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'DashVectorSchemaParameters' => [ + 'description' => '插入DashVector时表项的Schema字段定义,事件内容转换后结果必须是Json格式。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'Type' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'Value' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'SinkOpenSourceRabbitMQParameters' => [ + 'description' => 'Sink Open Source RabbitMQ Parameters', + 'type' => 'object', + 'properties' => [ + 'Endpoint' => [ + 'description' => '接入点。', + 'type' => 'string', + 'required' => false, + 'example' => '192.168.1.1:9876', + ], + 'VirtualHostName' => [ + 'description' => 'RabbitMQ 的虚拟主机名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'Vhost1', + ], + 'TargetType' => [ + 'description' => '消息投递的目标类型。'."\n" + ."\n" + .'- **Exchange:** 消息通过交换机进行路由。'."\n" + ."\n" + .'- **Queue:** 消息直接投递到指定队列。', + 'type' => 'string', + 'required' => false, + 'example' => 'Exchange', + ], + 'Exchange' => [ + 'description' => 'RabbitMQ中的Exchange名称,当TargetType设置为Exchange时生效。', + 'type' => 'string', + 'required' => false, + 'example' => 'my-exchange', + ], + 'QueueName' => [ + 'description' => 'RabbitMQ中的队列名称,仅当TargetType设置为Queue时生效。', + 'type' => 'string', + 'required' => false, + 'example' => 'my-queue', + ], + 'Username' => [ + 'description' => '访问RabbitMQ实例的用户名。', + 'type' => 'string', + 'required' => false, + 'example' => 'admin', + ], + 'Password' => [ + 'description' => '访问RabbitMQ实例的密码。', + 'type' => 'string', + 'required' => false, + 'example' => '****', + ], + 'VpcId' => [ + 'description' => '专有网络ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'vpc-uf6of9452b2pba82c ****', + ], + 'VSwitchIds' => [ + 'description' => '交换机ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'vsw-uf6of9452b2pba82c ****', + ], + 'SecurityGroupId' => [ + 'description' => '安全组ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'sg-uf6of9452b2pba82c ****', + ], + 'NetworkType' => [ + 'description' => '网络类型。'."\n" + ."\n" + .'- PrivateNetwork'."\n" + .'- PublicNetwork', + 'type' => 'string', + 'required' => false, + 'example' => 'PublicNetwork'."\n", + ], + 'AuthType' => [ + 'description' => '认证类型:'."\n" + ."\n" + .'- ACL'."\n" + .'- 无需配置', + 'type' => 'string', + 'required' => false, + 'example' => 'ACL', + ], + 'RoutingKey' => [ + 'description' => '消息路由键。', + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'description' => '转换格式,默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Value' => [ + 'description' => '路由键值。', + 'type' => 'string', + 'required' => false, + 'example' => '{"Form": "CONSTANT", "Value": "my-routing-key"}', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => 'The value of ${key} is ${value}!', + ], + ], + 'required' => false, + ], + 'Body' => [ + 'description' => '消息体内容。', + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'description' => '转换格式,默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Value' => [ + 'description' => '原始数据值。', + 'type' => 'string', + 'required' => false, + 'example' => '{"key": "value"}', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => 'The value of ${key} is ${value}!', + ], + ], + 'required' => false, + ], + 'MessageId' => [ + 'description' => '消息的唯一标识符。', + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'description' => '转换格式,默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Value' => [ + 'description' => '消息ID值。', + 'type' => 'string', + 'required' => false, + 'example' => '12345', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'Properties' => [ + 'description' => '消息的附加属性。', + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'description' => '转换格式,默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Value' => [ + 'description' => '属性内容。', + 'type' => 'string', + 'required' => false, + 'example' => '{"env": "prod"}', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => 'The value of ${key} is ${value}!', + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'SinkBaiLianParameters' => [ + 'description' => 'Sink BaiLian Parameters', + 'required' => false, + '$ref' => '#/components/schemas/SinkBaiLianParameters', + ], + 'SinkDataWorksTriggerParameters' => [ + 'required' => false, + '$ref' => '#/components/schemas/SinkDataWorksTriggerParameters', + ], + 'SinkHttpsParameters' => [ + 'title' => 'Https目标参数', + 'required' => false, + '$ref' => '#/components/schemas/SinkHttpsParameters', + ], + 'SinkApiDestinationParameters' => [ + 'title' => 'ApiDestination目标参数', + 'required' => false, + '$ref' => '#/components/schemas/SinkApiDestinationParameters', + ], + 'SinkOSSParameters' => [ + 'required' => false, + '$ref' => '#/components/schemas/SinkOSSParameters', + ], + 'SinkRabbitMQMetaParameters' => [ + 'required' => false, + '$ref' => '#/components/schemas/SinkRabbitMQMetaParameters', + ], + 'SinkRabbitMQMsgSyncParameters' => [ + 'required' => false, + '$ref' => '#/components/schemas/SinkRabbitMQMsgSyncParameters', + ], + 'SinkMQTTParameters' => [ + 'required' => false, + '$ref' => '#/components/schemas/SinkMQTTParameters', + ], + ], + 'required' => true, + ], + ], + [ + 'name' => 'RunOptions', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '运行环境参数。', + 'type' => 'object', + 'properties' => [ + 'MaximumTasks' => [ + 'title' => '并发数', + 'description' => '并发数。', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '2', + ], + 'ErrorsTolerance' => [ + 'title' => '异常容忍策略:NONE(不容忍异常)、ALL(容忍所有异常)', + 'description' => '异常容忍策略:NONE(不容忍异常)、ALL(容忍所有异常)。', + 'type' => 'string', + 'required' => false, + 'example' => 'ALL', + ], + 'RetryStrategy' => [ + 'description' => '事件推送失败时的重试策略。', + 'type' => 'object', + 'properties' => [ + 'PushRetryStrategy' => [ + 'title' => '重试策略:BACKOFF_RETRY(退避重试)和EXPONENTIAL_DECAY_RETRY(指数衰减重试)', + 'description' => '重试策略:BACKOFF_RETRY(退避重试)和EXPONENTIAL_DECAY_RETRY(指数衰减重试)。', + 'type' => 'string', + 'required' => false, + 'example' => 'BACKOFF_RETRY', + ], + 'MaximumEventAgeInSeconds' => [ + 'title' => '最大重试时间', + 'description' => '最大重试时间。', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '512', + ], + 'MaximumRetryAttempts' => [ + 'title' => '最大重试次数', + 'description' => '最大重试次数。', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '2', + ], + ], + 'required' => false, + ], + 'DeadLetterQueue' => [ + 'description' => '是否启用死信队列。默认不启用死信队列,超过重试策略后的消息将被丢弃。', + 'type' => 'object', + 'properties' => [ + 'Arn' => [ + 'title' => '死信队列ARN', + 'description' => '死信队列ARN。', + 'type' => 'string', + 'required' => false, + 'example' => 'acs:ram::131733464781****:role/rdstoecsassumekms'."\n", + ], + 'Network' => [ + 'description' => '死信队列的网络类型。'."\n" + ."\n" + .'- PrivateNetwork'."\n" + .'- PublicNetwork', + 'type' => 'string', + 'required' => false, + 'example' => 'PrivateNetwork', + ], + 'VpcId' => [ + 'description' => '死信队列所在的VPC网络ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'vpc-2zehizpoendb3****', + ], + 'VSwitchIds' => [ + 'description' => '死信队列所在的虚拟交换机ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'vsw-m5ev8asdc6h12345****', + ], + 'SecurityGroupId' => [ + 'description' => '死信队列所在实例的安全组ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'sg-2vcgdxz7o1n9zapp****', + ], + ], + 'required' => false, + ], + 'BatchWindow' => [ + 'description' => '攒批窗口。', + 'type' => 'object', + 'properties' => [ + 'CountBasedWindow' => [ + 'description' => '窗口中最大可容纳的事件数量。当达到此阈值,会触发窗口内的数据往下游推送。当存在多个窗口时,有一个窗口满足即触发。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '100', + ], + 'TimeBasedWindow' => [ + 'description' => '窗口中最大可容纳的时间范围内的事件(单位秒)。当达到此阈值,会触发窗口内的数据往下游推送。当存在多个窗口时,有一个窗口满足即触发。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + 'required' => false, + ], + 'BusinessOption' => [ + 'type' => 'object', + 'properties' => [ + 'BusinessMode' => [ + 'type' => 'string', + 'required' => false, + ], + 'MinCapacityUnitCount' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + ], + 'MaxCapacityUnitCount' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + ], + ], + 'required' => false, + ], + 'Throttling' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'Transforms', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => 'Transform 相关配置', + 'type' => 'array', + 'items' => [ + 'description' => '云产品的 ARN,比如函数计算中函数的 ARN', + 'type' => 'object', + 'properties' => [ + 'Arn' => [ + 'description' => '云产品的 ARN,比如函数计算中函数的 ARN', + 'type' => 'string', + 'required' => false, + 'example' => 'acs:fc:cn-hangzhou:*****:services/demo-service.LATEST/functions/demo-func', + ], + 'DashScopeTransformParameters' => [ + 'required' => false, + '$ref' => '#/components/schemas/DashScopeTransformParameters', + ], + 'BaiLianAgentTransformParameters' => [ + 'required' => false, + '$ref' => '#/components/schemas/BaiLianAgentTransformParameters', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '返回信息。', + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '错误信息。', + 'type' => 'string', + 'example' => 'The name [xxxx] of event streaming in request is already exist!', + ], + 'RequestId' => [ + 'description' => '阿里云为该请求生成的唯一标识符。', + 'type' => 'string', + 'example' => '0FDD73AA-7A2D-5BD4-B4C0-88AFEBF5F0F5', + ], + 'Code' => [ + 'description' => '接口返回码:Success:表示成功。 其它:表示错误码。错误码详情,请参见错误码。', + 'type' => 'string', + 'example' => 'Success', + ], + 'Success' => [ + 'description' => '操作成功返回true。', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"The name [xxxx] of event streaming in request is already exist!\\",\\n \\"RequestId\\": \\"0FDD73AA-7A2D-5BD4-B4C0-88AFEBF5F0F5\\",\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => '修改一个事件流', + 'description' => '修改一个事件流的基础信息、事件源信息、事件过滤模式或事件目标信息。', + ], + 'CreateEventStreaming' => [ + 'summary' => '创建一个事件流。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '154145', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeUWT8SO', + ], + ], + 'parameters' => [ + [ + 'name' => 'EventStreamingName', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '名称', + 'description' => '事件流的名称。', + 'type' => 'string', + 'required' => true, + 'example' => 'myeventstreaming', + 'maxLength' => 255, + 'minLength' => 2, + ], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => [ + 'title' => '描述', + 'description' => '事件流的描述。', + 'type' => 'string', + 'required' => false, + 'example' => 'rocketmq2mns', + ], + ], + [ + 'name' => 'FilterPattern', + 'in' => 'formData', + 'schema' => [ + 'title' => '过滤模式', + 'description' => '事件过滤规则,如果不指定表示匹配全部事件。', + 'type' => 'string', + 'required' => true, + 'example' => '{'."\n" + .'"source": ['."\n" + .'{'."\n" + .'"prefix": "acs:mns"'."\n" + .'}'."\n" + .'],'."\n" + .'"type": ['."\n" + .'{'."\n" + .'"prefix": "mns:Queue"'."\n" + .'}'."\n" + .'],'."\n" + .'"subject": ['."\n" + .'{'."\n" + .'"prefix": "acs:mns:cn-hangzhou:123456789098****:queues/zeus"'."\n" + .'}'."\n" + .']'."\n" + .'}', + ], + ], + [ + 'name' => 'Source', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '源', + 'description' => '事件提供方。必须选择一种Source,且最多只能选择一种Source进行填选。', + 'type' => 'object', + 'properties' => [ + 'SourceMNSParameters' => [ + 'title' => 'Source MNS 参数', + 'description' => 'Source MNS 参数。', + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'description' => '地域id。', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-beijing', + ], + 'QueueName' => [ + 'description' => '队列名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'queue_api_1642474203601', + ], + 'IsBase64Decode' => [ + 'description' => '是否开启Base64编码。默认为true。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + 'required' => false, + ], + 'SourceRabbitMQParameters' => [ + 'title' => 'Source RabbitmQ源', + 'description' => 'Source RabbitMQ源。', + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'description' => '地域ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + 'InstanceId' => [ + 'description' => '消息队列RabbitMQ版实例的实例ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'gtm-cn-k2c2yfg****', + ], + 'VirtualHostName' => [ + 'description' => '消息队列RabbitMQ版实例的Vhost的名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'eb-connect', + ], + 'QueueName' => [ + 'description' => '消息队列RabbitMQ版实例的Queue的名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'demo', + ], + ], + 'required' => false, + ], + 'SourceKafkaParameters' => [ + 'title' => 'Source Kafka源', + 'description' => 'Source Kafka源。', + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'description' => '地域ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + 'InstanceId' => [ + 'description' => '实例ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'r-8vb64581862c****', + ], + 'Topic' => [ + 'description' => 'Topic名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'popvip_center_robot_order', + ], + 'ConsumerGroup' => [ + 'description' => '订阅该Topic的消费者所对应的Group ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'DEFAULT_GROUP', + ], + 'OffsetReset' => [ + 'description' => '偏移量。', + 'type' => 'string', + 'required' => false, + 'example' => 'latest', + ], + 'Network' => [ + 'description' => '网络配置。'."\n" + .'默认值Default,VPC网络是PublicNetwork。', + 'type' => 'string', + 'required' => false, + 'example' => 'Default', + 'enum' => [ + 'PublicNetwork', + 'Default', + ], + ], + 'VpcId' => [ + 'description' => 'VPC ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'vpc-8vblalsi0vbhizr77****', + ], + 'VSwitchIds' => [ + 'description' => '虚拟交换机ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'vsw-bp179l3llg3jjxwrq72****', + ], + 'SecurityGroupId' => [ + 'description' => '安全组ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'sg-bp1iv19sp1msc7zot4****', + ], + 'ValueDataType' => [ + 'description' => '消息体编解码格式:'."\n" + .'- JSON'."\n" + .'- Text'."\n" + .'- Binary', + 'type' => 'string', + 'required' => false, + 'example' => 'JSON', + ], + ], + 'required' => false, + ], + 'SourceRocketMQParameters' => [ + 'title' => 'Source RocketMQ', + 'description' => 'Source RocketMQ源', + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'description' => '地域ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-qingdao', + ], + 'InstanceId' => [ + 'description' => '消息队列RocketMQ版的实例所属地域。', + 'type' => 'string', + 'required' => false, + 'example' => 'default_C56C36026****', + ], + 'Topic' => [ + 'description' => '消息服务的主题。', + 'type' => 'string', + 'required' => false, + 'example' => 'Topic_publicRule_api_1667273421288', + ], + 'Tag' => [ + 'description' => '消息的过滤标签。', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + 'Offset' => [ + 'description' => '消息的消费位点。取值说明如下:'."\n" + .'- CONSUME_FROM_LAST_OFFSET:从最新位点开始消费。'."\n" + .'- CONSUME_FROM_FIRST_OFFSET:从最早位点开始消费。'."\n" + .'- CONSUME_FROM_TIMESTAMP:从指定时间点的位点开始消费。'."\n" + ."\n" + .'默认值:CONSUME_FROM_LAST_OFFSET。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSUMEFROMLAST_OFFSET', + ], + 'GroupID' => [ + 'description' => '消息队列RocketMQ版的Group ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'GID_group1', + ], + 'Timestamp' => [ + 'description' => '时间戳。仅当参数Offset取值为CONSUME_FROM_TIMESTAMP时,该参数有效。', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1670656652009', + ], + 'InstanceType' => [ + 'description' => '实例类型。取值说明如下:'."\n" + ."\n" + .'- Cloud_4:阿里云 RocketMQ 4.0 版本实例(默认选项)'."\n" + .'- Cloud_5:阿里云 RocketMQ 5.0 版本实例'."\n" + .'- SelfBuilt:自建 Apache RocketMQ 集群', + 'type' => 'string', + 'required' => false, + 'example' => 'Cloud_4', + ], + 'InstanceEndpoint' => [ + 'description' => '实例接入点。', + 'type' => 'string', + 'required' => false, + 'example' => 'reg****-vpc.cn-zhangjiakou.aliyuncs.com', + ], + 'InstanceUsername' => [ + 'description' => '实例用户名。', + 'type' => 'string', + 'required' => false, + 'example' => 'admin', + ], + 'InstancePassword' => [ + 'description' => '实例密码。', + 'type' => 'string', + 'required' => false, + 'example' => 'admin', + ], + 'Network' => [ + 'description' => '网络类型:'."\n" + ."\n" + .'- PublicNetwork'."\n" + .'- PrivateNetwork', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'PrivateNetwork' => 'PrivateNetwork', + 'PublicNetwork' => 'PublicNetwork', + ], + 'example' => 'PrivateNetwork', + ], + 'FilterType' => [ + 'description' => '消息过滤类型。', + 'type' => 'string', + 'required' => false, + 'example' => 'Tag', + ], + 'FilterSql' => [ + 'description' => 'sql过滤语句。', + 'type' => 'string', + 'required' => false, + 'example' => 'index > 10', + ], + 'AuthType' => [ + 'description' => '鉴权类型。', + 'type' => 'string', + 'required' => false, + 'example' => 'ACL', + ], + 'VpcId' => [ + 'description' => '跨境任务VPC ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'vpc-m5e3sv4b12345****', + ], + 'VSwitchIds' => [ + 'description' => '跨境任务vSwitchIds。', + 'type' => 'string', + 'required' => false, + 'example' => 'vsw-m5ev8asdc6h12345****', + ], + 'SecurityGroupId' => [ + 'description' => '跨境任务安全组。', + 'type' => 'string', + 'required' => false, + 'example' => 'sg-m5edtu24f12345****', + ], + 'InstanceVpcId' => [ + 'description' => '实例VPC信息。', + 'type' => 'string', + 'required' => false, + 'example' => 'vpc-m5e3sv4b12345****', + ], + 'InstanceVSwitchIds' => [ + 'description' => '实例交换机信息。', + 'type' => 'string', + 'required' => false, + 'example' => 'vsw-m5ev8asdc6h123456****', + ], + 'InstanceSecurityGroupId' => [ + 'description' => '实例安全组信息。', + 'type' => 'string', + 'required' => false, + 'example' => 'sg-m5edtu24f12345****', + ], + 'InstanceNetwork' => [ + 'description' => '实例网络信息:'."\n" + .'- PublicNetwork'."\n" + .'- PrivateNetwork', + 'type' => 'string', + 'required' => false, + 'example' => 'PublicNetwork', + ], + 'BodyDataType' => [ + 'description' => '消息编码格式'."\n" + .'- JSON'."\n" + .'- Text'."\n" + .'- Binary', + 'type' => 'string', + 'required' => false, + 'example' => 'JSON', + ], + ], + 'required' => false, + ], + 'SourceRocketMQCheckpointParameters' => [ + 'title' => 'Source RocketMQ Checkpoint源', + 'description' => 'Source RocketMQ Checkpoint源', + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'type' => 'string', + 'required' => false, + ], + 'InstanceType' => [ + 'type' => 'string', + 'required' => false, + ], + 'InstanceId' => [ + 'type' => 'string', + 'required' => false, + ], + 'Topics' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + 'required' => false, + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'SourceApacheRocketMQCheckpointParameters' => [ + 'title' => 'Source RocketMQ Checkpoint源', + 'description' => 'Source RocketMQ Checkpoint源', + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'type' => 'string', + 'required' => false, + ], + 'Topics' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + 'required' => false, + ], + 'required' => false, + ], + 'InstanceEndpoint' => [ + 'type' => 'string', + 'required' => false, + ], + 'InstanceUsername' => [ + 'type' => 'string', + 'required' => false, + ], + 'InstancePassword' => [ + 'type' => 'string', + 'required' => false, + ], + 'NetworkType' => [ + 'type' => 'string', + 'required' => false, + ], + 'VpcId' => [ + 'type' => 'string', + 'required' => false, + ], + 'VSwitchId' => [ + 'type' => 'string', + 'required' => false, + ], + 'SecurityGroupId' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'SourceMQTTParameters' => [ + 'description' => 'Source MQTT源。', + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'description' => '地域ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-shenzhen', + ], + 'InstanceId' => [ + 'description' => '实例ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'r-bp1b5ncun5lqer****', + ], + 'Topic' => [ + 'description' => '消息的Topic。', + 'type' => 'string', + 'required' => false, + 'example' => 'CANAL_VICUTU_UAT', + ], + 'BodyDataType' => [ + 'description' => '消息编码格式:'."\n" + .'- JSON'."\n" + .'- Text'."\n" + .'- Binary', + 'type' => 'string', + 'required' => false, + 'example' => 'JSON', + ], + ], + 'required' => false, + ], + 'SourceDTSParameters' => [ + 'description' => 'Source DTS源。', + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'description' => '任务id。', + 'type' => 'string', + 'required' => false, + 'example' => 'f86e5814-b223-482c-b768-3b873297****', + ], + 'BrokerUrl' => [ + 'description' => '数据订阅通道的网络地址及端口号信息。', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + 'Topic' => [ + 'description' => '数据订阅通道的订阅Topic。', + 'type' => 'string', + 'required' => false, + 'example' => 'LTC_CACHE_PRD', + ], + 'Sid' => [ + 'description' => '消费组ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'HD3', + ], + 'Username' => [ + 'description' => '消费组的账号。', + 'type' => 'string', + 'required' => false, + 'example' => 'admin', + ], + 'Password' => [ + 'description' => '消费组的账号密码。', + 'type' => 'string', + 'required' => false, + 'example' => 'admin', + ], + 'InitCheckPoint' => [ + 'description' => '消费位点,即SDK客户端消费第一条数据的时间戳,格式为Unix时间戳。', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1620962769', + ], + ], + 'required' => false, + ], + 'SourceSLSParameters' => [ + 'description' => 'Source SLS源。', + 'type' => 'object', + 'properties' => [ + 'Project' => [ + 'description' => '日志服务SLS的日志项目。', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + 'LogStore' => [ + 'description' => '日志服务SLS的日志库。', + 'type' => 'string', + 'required' => false, + 'example' => 'sas-log', + ], + 'ConsumePosition' => [ + 'description' => '起始消费位点,可以选择最早或最新位点,分别对应“begin”,“end”,也可以从指定时间开始消费,以秒为单位。', + 'type' => 'string', + 'required' => false, + 'example' => 'end', + ], + 'RoleName' => [ + 'description' => '授权事件总线EventBridge使用此角色读取SLS日志内容时,需满足条件:在RAM控制台创建服务所使用的角色时,需要选择“阿里云服务”,并且“受信服务”需要选择“事件总线”。', + 'type' => 'string', + 'required' => false, + 'example' => 'testRole', + ], + ], + 'required' => false, + ], + 'SourcePrometheusParameters' => [ + 'description' => 'Source Prometheus 事件源。', + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'description' => '地域ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + 'ClusterId' => [ + 'description' => '集群id。', + 'type' => 'string', + 'required' => false, + 'example' => 'c83555068b6******ad213f565f209', + ], + 'DataType' => [ + 'description' => '数据类型。', + 'type' => 'string', + 'required' => false, + 'example' => 'JSON', + ], + 'Labels' => [ + 'description' => '标签。', + 'type' => 'string', + 'required' => false, + 'example' => '__name__=.*', + ], + 'RoleName' => [ + 'type' => 'string', + 'required' => false, + ], + 'ExternalLabels' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'SourceCustomizedKafkaParameters' => [ + 'description' => '自定义 Kafka 事件源。', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => '消息队列Kafka版的实例ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'r-8vb64581862c****'."\n", + ], + ], + 'required' => false, + ], + 'SourceCustomizedKafkaConnectorParameters' => [ + 'description' => '自定义连接器 Apache Kafka 事件源。', + 'type' => 'object', + 'properties' => [ + 'ConnectorPackageUrl' => [ + 'description' => 'OSS资源ZIP包下载链接。', + 'type' => 'string', + 'required' => false, + 'example' => '"https://examplebucket.oss-cn-hangzhou.aliyuncs.com/testDoc/Old_Homebrew/2024-06-26%2022%3A34%3A08/opt/homebrew/homebrew/Library/Homebrew/test/support/fixtures/cask/AppWithBinary.zip?OSSAccessKeyId=ri&Expires=1725539627&Signature=rb8q3OpV2i3gZJ"', + ], + 'WorkerParameters' => [ + 'description' => 'kafka实例配置。', + 'type' => 'object', + 'required' => false, + 'example' => '{'."\n" + .' "group.id": "connect-eb-cluster-KAFKA_CONNECTORC",'."\n" + .' "offset.storage.topic": "connect-eb-offset-KAFKA_CONNECTOR_yjqC8K5ewC",'."\n" + .' "config.storage.topic": "connect-eb-config-KAFKA_CONNECTOR_yjqC8K5ewC",'."\n" + .' "status.storage.topic": "connect-eb-status-KAFKA_CONNECTOR_yjqC8K5ewC",'."\n" + .' "consumer.group.id": "connector-eb-cluster-KAFKA_CONNECTOR_yjqC8K5ewC-mongo-sink",'."\n" + .' "bootstrap.servers": "alikafka-post:9092"'."\n" + .' }', + ], + 'ConnectorParameters' => [ + 'description' => '连接器参数。', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '连接器名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'test-name', + ], + 'Config' => [ + 'description' => '连接器配置。', + 'type' => 'object', + 'required' => false, + 'example' => '{'."\n" + .' "connector.class": "com.mongodb.kafka.connect.MongoSinkConnector",'."\n" + .' "tasks.max": "1",'."\n" + .' "topics": "sourceA,sourceB"'."\n" + .' }', + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'SourceApacheKafkaParameters' => [ + 'title' => '开源Kafka参数配置', + 'description' => '开源Kafka参数配置', + 'type' => 'object', + 'properties' => [ + 'Bootstraps' => [ + 'title' => '接入点', + 'description' => '接入点', + 'type' => 'string', + 'required' => false, + ], + 'Topic' => [ + 'title' => '主题名称', + 'description' => '主题名称', + 'type' => 'string', + 'required' => false, + ], + 'ConsumerGroup' => [ + 'title' => '消费者名称', + 'description' => '消费者名称', + 'type' => 'string', + 'required' => false, + ], + 'OffsetReset' => [ + 'title' => '消费位点'."\n" + .'latest 使用该配置系统将从最新位点开始读取数据'."\n" + .'earliest 使用该配置系统将从最早位点开始读取数据,该配置仅支持未使用的 Group 首次初始化'."\n", + 'description' => '消费位点'."\n" + .'latest 使用该配置系统将从最新位点开始读取数据'."\n" + .'earliest 使用该配置系统将从最早位点开始读取数据,该配置仅支持未使用的 Group 首次初始化'."\n", + 'type' => 'string', + 'required' => false, + ], + 'ValueDataType' => [ + 'title' => '数据类型,枚举值:'."\n" + .'Text'."\n" + .'Binary'."\n" + .'Json', + 'description' => '数据类型,枚举值:'."\n" + .'Text'."\n" + .'Binary'."\n" + .'Json', + 'type' => 'string', + 'required' => false, + ], + 'VpcId' => [ + 'title' => 'Kafka源的VPC ID', + 'description' => 'Kafka源的VPC ID', + 'type' => 'string', + 'required' => false, + ], + 'VSwitchIds' => [ + 'title' => 'Kafka源的交换机ID列表', + 'description' => 'Kafka源的交换机ID列表', + 'type' => 'string', + 'required' => false, + ], + 'SecurityGroupId' => [ + 'title' => 'Kafka源的安全组ID', + 'description' => 'Kafka源的安全组ID', + 'type' => 'string', + 'required' => false, + ], + 'NetworkType' => [ + 'title' => '指定Kafka网络类型', + 'description' => '指定Kafka网络类型', + 'type' => 'string', + 'required' => false, + ], + 'SecurityProtocol' => [ + 'title' => 'Kafka安全协议类型'."\n" + .'SASL_SSL'."\n" + .'PLAINTEXT'."\n" + .'SASL_PLAINTEXT', + 'description' => 'Kafka安全协议类型'."\n" + .'SASL_SSL'."\n" + .'PLAINTEXT'."\n" + .'SASL_PLAINTEXT', + 'type' => 'string', + 'required' => false, + ], + 'SaslMechanism' => [ + 'title' => 'Kafka SASL认证机制', + 'description' => 'Kafka SASL认证机制', + 'type' => 'string', + 'required' => false, + ], + 'SaslUser' => [ + 'title' => 'Kafka SASL认证用户名', + 'description' => 'Kafka SASL认证用户名', + 'type' => 'string', + 'required' => false, + ], + 'SaslPassword' => [ + 'title' => 'Kafka SASL认证密码', + 'description' => 'Kafka SASL认证密码', + 'type' => 'string', + 'required' => false, + ], + 'SslTruststoreCertificates' => [ + 'title' => 'SSL 信任库证书(Base64 编码的 PEM 格式)'."\n", + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'SourceOSSParameters' => [ + 'description' => 'Source OSS 事件源。', + 'type' => 'object', + 'properties' => [ + 'RoleName' => [ + 'description' => '授权事件总线 EventBridge 读取 OSS文件的角色名称,要求该角色至少具有OSS的只读权限。', + 'type' => 'string', + 'required' => false, + 'example' => 'eventbridge_oss_role', + ], + 'BucketName' => [ + 'description' => '对象存储OSS中的存储空间名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'bucket_abc', + ], + 'Prefix' => [ + 'description' => '文件路径前缀。', + 'type' => 'string', + 'required' => false, + 'example' => 'fun/document/', + ], + 'LoadMode' => [ + 'description' => '数据加载模式,single表示单文档加载,element表示分块加载。'."\n" + .'取值:single/element'."\n" + .'默认为single', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'single' => 'single', + 'element' => 'element', + ], + 'example' => 'single', + ], + 'LoadFormat' => [ + 'description' => '文档加载器。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'TextLoader' => 'TextLoader', + ], + 'example' => 'TextLoader', + ], + 'Delimiter' => [ + 'description' => '分隔符,在分块加载模式下,以该分隔符作为文本的分块标识符,默认以换行符\\n作为分隔符。', + 'type' => 'string', + 'required' => false, + 'example' => '\\n', + ], + ], + 'required' => false, + ], + 'SourceOpenSourceRabbitMQParameters' => [ + 'type' => 'object', + 'properties' => [ + 'Endpoint' => [ + 'type' => 'string', + 'required' => false, + ], + 'VirtualHostName' => [ + 'type' => 'string', + 'required' => false, + ], + 'QueueName' => [ + 'type' => 'string', + 'required' => false, + ], + 'BodyDataType' => [ + 'type' => 'string', + 'required' => false, + ], + 'Username' => [ + 'type' => 'string', + 'required' => false, + ], + 'Password' => [ + 'type' => 'string', + 'required' => false, + ], + 'VpcId' => [ + 'type' => 'string', + 'required' => false, + ], + 'VSwitchIds' => [ + 'type' => 'string', + 'required' => false, + ], + 'SecurityGroupId' => [ + 'type' => 'string', + 'required' => false, + ], + 'NetworkType' => [ + 'type' => 'string', + 'required' => false, + ], + 'AuthType' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'SourceEventBusParameters' => [ + 'type' => 'object', + 'properties' => [ + 'EventBusName' => [ + 'type' => 'string', + 'required' => false, + ], + 'EventRuleName' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'SourceMySQLParameters' => [ + 'required' => false, + '$ref' => '#/components/schemas/SourceMySQLParameters', + ], + 'SourcePostgreSQLParameters' => [ + 'required' => false, + '$ref' => '#/components/schemas/SourcePostgreSQLParameters', + ], + 'SourceRabbitMQMetaParameters' => [ + 'required' => false, + '$ref' => '#/components/schemas/SourceRabbitMQMetaParameters', + ], + 'SourceRabbitMQMsgSyncParameters' => [ + 'required' => false, + '$ref' => '#/components/schemas/SourceRabbitMQMsgSyncParameters', + ], + ], + 'required' => true, + ], + ], + [ + 'name' => 'Sink', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '事件源名称', + 'description' => '事件目标。必须选择一种Sink,且最多只能选择一种Sink进行填选。', + 'type' => 'object', + 'properties' => [ + 'SinkMNSParameters' => [ + 'title' => '事件源名称', + 'description' => 'MNS事件目标。', + 'type' => 'object', + 'properties' => [ + 'QueueName' => [ + 'description' => '目标服务类型为消息服务MNS。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '消息服务MNS的Queue的名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'MyQueue', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'CONSTANT' => 'CONSTANT', + ], + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + 'required' => false, + ], + 'Body' => [ + 'description' => '消息内容。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'required' => false, + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'JSONPATH' => 'JSONPATH', + 'CONSTANT' => 'CONSTANT', + 'TEMPLATE' => 'TEMPLATE', + ], + 'example' => 'TEMPLATE', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => 'The value of ${key} is ${value}!', + ], + ], + 'required' => false, + ], + 'IsBase64Encode' => [ + 'description' => '是否开启Base64编码。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '开启Base64编码。', + 'type' => 'string', + 'required' => false, + 'example' => 'true', + ], + 'Form' => [ + 'description' => '事件转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'CONSTANT' => 'CONSTANT', + ], + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'SinkRabbitMQParameters' => [ + 'title' => '是否新增', + 'description' => 'Sink Rabbitmq的参数。', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => '目标服务类型为消息队列RabbitMQ版。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '消息队列RabbitMQ版的实例ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'a5ff91ad4f3f24947887fe184fc2****', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'CONSTANT' => 'CONSTANT', + ], + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + 'required' => false, + ], + 'VirtualHostName' => [ + 'description' => '消息队列RabbitMQ版实例的Vhost的名称。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '消息队列RabbitMQ版实例的Vhost的名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'rabbit-host', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'CONSTANT' => 'CONSTANT', + ], + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'TargetType' => [ + 'description' => '目标类型。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '目标类型。取值说明如下:'."\n" + .'- Exchange:Exchange模式。'."\n" + .'- Queue:Queue模式。', + 'type' => 'string', + 'required' => false, + 'example' => 'Exchange/Queue', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + 'required' => false, + ], + 'Exchange' => [ + 'description' => 'Exchange模式。'."\n" + .'仅当参数TargetType配置为Exchange时,需配置此参数。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '消息队列RabbitMQ版实例的Exchange的名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'a_exchange', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + 'required' => false, + ], + 'RoutingKey' => [ + 'description' => '消息的路由规则。'."\n" + .'仅当参数TargetType配置为Exchange时,需配置此参数。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '消息的路由规则。', + 'type' => 'string', + 'required' => false, + 'example' => 'housekeeping', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + 'required' => false, + ], + 'QueueName' => [ + 'description' => 'Queue模式。'."\n" + .'仅当参数TargetType配置为Queue时,需配置此参数。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '实例的Queue的名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'MyQueue', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + 'required' => false, + ], + 'Body' => [ + 'description' => '消息内容。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'required' => false, + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'required' => false, + 'example' => 'TEMPLATE', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => 'The value of ${key} is ${value}!', + ], + ], + 'required' => false, + ], + 'MessageId' => [ + 'description' => '消息ID。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'required' => false, + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'required' => false, + 'example' => 'TEMPLATE', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => 'The value of ${key} is ${value}!', + ], + ], + 'required' => false, + ], + 'Properties' => [ + 'description' => '过滤属性。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'required' => false, + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'required' => false, + 'example' => 'TEMPLATE', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => 'The value of ${key} is ${value}!', + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'SinkKafkaParameters' => [ + 'title' => '描述信息', + 'description' => 'Sink kafak 参数。', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => '目标服务类型为消息队列Kafka版。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '实例ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'Defaut_1283278472_s****', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + 'required' => false, + ], + 'Topic' => [ + 'description' => '主题名称。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '主题的名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + 'required' => false, + ], + 'Acks' => [ + 'description' => '写入Kafka确认模式:'."\n" + .'- acks=0:无需服务端的Response、性能较高、丢数据风险较大。'."\n" + .'- acks=1:服务端主节点写成功即返回Response、性能中等、丢数据风险中等、主节点宕机可能导致数据丢失;'."\n" + .'- acks=all:服务端主节点写成功且备节点同步成功才返回Response、性能较差、数据较为安全、主节点和备节点都宕机才会导致数据丢失。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '写入Kafka确认模式:'."\n" + .'- acks=0:无需服务端的Response、性能较高、丢数据风险较大。'."\n" + .'- acks=1:服务端主节点写成功即返回Response、性能中等、丢数据风险中等、主节点宕机可能导致数据丢失;'."\n" + .'- acks=all:服务端主节点写成功且备节点同步成功才返回Response、性能较差、数据较为安全、主节点和备节点都宕机才会导致数据丢失。', + 'type' => 'string', + 'required' => false, + 'example' => '1', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + 'required' => false, + ], + 'Key' => [ + 'description' => '消息键。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '消息键。', + 'type' => 'string', + 'required' => false, + 'example' => 'key', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + 'required' => false, + ], + 'Value' => [ + 'description' => '消息体。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'required' => false, + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'required' => false, + 'example' => 'TEMPLATE', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + 'required' => false, + ], + 'Headers' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'CompressionType' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'SinkApacheKafkaParameters' => [ + 'title' => '描述信息', + 'description' => '描述信息', + 'type' => 'object', + 'properties' => [ + 'Bootstraps' => [ + 'title' => 'Kafka集群的初始连接地址', + 'description' => 'Kafka集群的初始连接地址', + 'type' => 'string', + 'required' => false, + ], + 'Topic' => [ + 'type' => 'string', + 'required' => false, + ], + 'Acks' => [ + 'type' => 'string', + 'required' => false, + ], + 'Key' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'Value' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'Headers' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'SecurityProtocol' => [ + 'type' => 'string', + 'required' => false, + ], + 'SaslMechanism' => [ + 'type' => 'string', + 'required' => false, + ], + 'SaslUser' => [ + 'type' => 'string', + 'required' => false, + ], + 'SslTruststoreCertificates' => [ + 'type' => 'string', + 'required' => false, + ], + 'CompressionType' => [ + 'type' => 'string', + 'required' => false, + ], + 'VpcId' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'VSwitchIds' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'SecurityGroupId' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'NetworkType' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'SaslPassword' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'SinkFcParameters' => [ + 'title' => '函数目标', + 'description' => '函数目标。', + 'type' => 'object', + 'properties' => [ + 'ServiceName' => [ + 'description' => '服务名。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '服务名。', + 'type' => 'string', + 'required' => false, + 'example' => 'myService', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'CONSTANT' => 'CONSTANT', + ], + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + 'required' => false, + ], + 'FunctionName' => [ + 'description' => '函数名。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '函数名。', + 'type' => 'string', + 'required' => false, + 'example' => 'myFunction', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'CONSTANT' => 'CONSTANT', + ], + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + 'required' => false, + ], + 'Concurrency' => [ + 'description' => '投递并发度,最小1。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '投递并发度,最小1。', + 'type' => 'string', + 'required' => false, + 'example' => '1', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'CONSTANT' => 'CONSTANT', + ], + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + 'required' => false, + ], + 'Qualifier' => [ + 'description' => '服务版本。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '服务版本。', + 'type' => 'string', + 'required' => false, + 'example' => 'LATEST', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'CONSTANT' => 'CONSTANT', + ], + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + 'required' => false, + ], + 'InvocationType' => [ + 'description' => '同步或则异步。'."\n" + .'Sync:同步。'."\n" + .'Async:异步。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '同步或则异步。'."\n" + .'Sync:同步。'."\n" + .'Async:异步。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Async' => 'Async', + 'Sync' => 'Sync', + ], + 'example' => 'Async', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'CONSTANT' => 'CONSTANT', + ], + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + 'required' => false, + ], + 'Body' => [ + 'description' => '发送给函数的内容体。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'required' => false, + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Form' => [ + 'description' => '转换的格式:'."\n" + ."\n" + .'- ORIGINAL:完整事件'."\n" + .'- JSONPATH:部分事件'."\n" + .'- CONSTANT:常量'."\n" + .'- TEMPLATE:模板'."\n" + ."\n" + .'详细参考:[https://help.aliyun.com/zh/eventbridge/user-guide/event-transformation](https://help.aliyun.com/zh/eventbridge/user-guide/event-transformation)', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'JSONPATH' => 'JSONPATH', + 'CONSTANT' => 'CONSTANT', + 'ORIGINAL' => 'ORIGINAL', + 'TEMPLATE' => 'TEMPLATE', + ], + 'example' => 'TEMPLATE', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + 'required' => false, + ], + 'DataFormat' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'SinkRocketMQParameters' => [ + 'title' => '事件源类型', + 'description' => 'Sink RocketMQ Parameters', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => '目标服务类型为消息队列RocketMQ版。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '消息队列RocketMQ版的实例ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'MQ_INST_164901546557****_BAAN****', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + 'required' => false, + ], + 'Topic' => [ + 'description' => '消息队列RocketMQ版实例的Topic。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '消息队列RocketMQ版实例的Topic名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'Mytopic', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + 'required' => false, + ], + 'Body' => [ + 'description' => '消息内容。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'required' => false, + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'required' => false, + 'example' => 'TEMPLATE', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => 'The value of ${key} is ${value}!', + ], + ], + 'required' => false, + ], + 'Properties' => [ + 'description' => '过滤属性。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'required' => false, + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'required' => false, + 'example' => 'TEMPLATE', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => 'The value of ${key} is ${value}!', + ], + ], + 'required' => false, + ], + 'Keys' => [ + 'description' => '过滤属性。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'required' => false, + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'required' => false, + 'example' => 'TEMPLATE', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => 'The value of ${key} is ${value}!', + ], + ], + 'required' => false, + ], + 'Tags' => [ + 'description' => '过滤属性。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'required' => false, + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'required' => false, + 'example' => 'TEMPLATE', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => 'The value of ${key} is ${value}!', + ], + ], + 'required' => false, + ], + 'InstanceType' => [ + 'description' => '实例类型。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '实例类型。取值说明如下:'."\n" + ."\n" + .'- Cloud_4:阿里云 RocketMQ 4.0 版本实例(默认选项)'."\n" + .'- Cloud_5:阿里云 RocketMQ 5.0 版本实例'."\n" + .'- SelfBuilt:自建 Apache RocketMQ 集群', + 'type' => 'string', + 'required' => false, + 'example' => 'Cloud_4', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'InstanceEndpoint' => [ + 'description' => '实例接入点。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '实例接入点。', + 'type' => 'string', + 'required' => false, + 'example' => 'vbr-8vbsvkkbpf3vb0zef****', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'InstanceUsername' => [ + 'description' => '实例用户名。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '实例用户名。', + 'type' => 'string', + 'required' => false, + 'example' => 'admin'."\n", + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'InstancePassword' => [ + 'description' => '实例密码。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '实例密码。', + 'type' => 'string', + 'required' => false, + 'example' => 'admin', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'VpcId' => [ + 'description' => 'VPC的ID。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'VPC的ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'vbr-8vb835n3zf9shwlvb****', + ], + 'Form' => [ + 'description' => '事件转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'VSwitchIds' => [ + 'description' => '交换机ID。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '交换机ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'vbr-8vb835n3zf9shwl****mp'."\n", + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'SecurityGroupId' => [ + 'description' => '安全组ID。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '安全组ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'b4bf375515f6440f942e3a20c33d****', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'Network' => [ + 'description' => '网络类型:'."\n" + .'- PublicNetwork'."\n" + .'- PrivateNetwork', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '网络类型: '."\n" + .'- PublicNetwork'."\n" + .'- PrivateNetwork', + 'type' => 'string', + 'required' => false, + 'example' => 'PublicNetwork', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'DeliveryOrderType' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'ShardingKey' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'SinkDorisParameters' => [ + 'title' => '事件源类型', + 'description' => '事件源类型', + 'type' => 'object', + 'properties' => [ + 'QueryEndpoint' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'FeHttpEndpoint' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'BeHttpEndpoint' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'UserName' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'Password' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'Database' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'Table' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'Body' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'NetworkType' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'VpcId' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'VSwitchIds' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'SecurityGroupId' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'SinkRocketMQCheckpointParameters' => [ + 'title' => '事件源类型', + 'description' => '事件源类型', + 'type' => 'object', + 'properties' => [ + 'InstanceType' => [ + 'type' => 'string', + 'required' => false, + ], + 'InstanceId' => [ + 'type' => 'string', + 'required' => false, + ], + 'Topic' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'ConsumeTimestamp' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'Group' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'SinkApacheRocketMQCheckpointParameters' => [ + 'title' => '事件源类型', + 'description' => '事件源类型', + 'type' => 'object', + 'properties' => [ + 'Topic' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'ConsumeTimestamp' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'Group' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'InstanceEndpoint' => [ + 'type' => 'string', + 'required' => false, + ], + 'InstanceUsername' => [ + 'type' => 'string', + 'required' => false, + ], + 'InstancePassword' => [ + 'type' => 'string', + 'required' => false, + ], + 'NetworkType' => [ + 'type' => 'string', + 'required' => false, + ], + 'VpcId' => [ + 'type' => 'string', + 'required' => false, + ], + 'VSwitchId' => [ + 'type' => 'string', + 'required' => false, + ], + 'SecurityGroupId' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'SinkSLSParameters' => [ + 'description' => 'Sink SLS Parameters', + 'type' => 'object', + 'properties' => [ + 'Project' => [ + 'description' => '日志服务SLS的日志项目。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '日志服务SLS的日志项目。', + 'type' => 'string', + 'required' => false, + 'example' => 'test-project', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'LogStore' => [ + 'description' => '日志服务SLS的日志库。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '日志服务SLS的日志库。', + 'type' => 'string', + 'required' => false, + 'example' => ' test-logstore', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'Topic' => [ + 'description' => '日志所在的Topic,对应SLS 保留字段“__topic__”。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '日志所在的Topic,对应SLS 保留字段“__topic__”。', + 'type' => 'string', + 'required' => false, + 'example' => 'testTopic', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'Body' => [ + 'description' => '发送给SLS的内容。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'required' => false, + 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'required' => false, + 'example' => 'TEMPLATE', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => 'The value of ${key} is ${value}!'."\n", + ], + ], + 'required' => false, + ], + 'RoleName' => [ + 'description' => '授权事件总线EventBridge使用此角色读取SLS日志内容时,需满足条件:在RAM控制台创建服务所使用的角色时,需要选择“阿里云服务”,并且“受信服务”需要选择“事件总线”。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '授权事件总线EventBridge使用此角色读取SLS日志内容时,需满足条件:在RAM控制台创建服务所使用的角色时,需要选择“阿里云服务”,并且“受信服务”需要选择“事件总线”。', + 'type' => 'string', + 'required' => false, + 'example' => 'testRole', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'ContentType' => [ + 'description' => 'SLS数据格式。可选择默认或者配置制定的键值:'."\n" + ."\n" + .'- JSON'."\n" + .'- KeyValue', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'required' => false, + 'example' => 'JSON', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'ContentSchema' => [ + 'description' => '自定义日志的键值,仅在ContentType为KeyValue生效。每一对键值由 Key_n,Value_n 表示。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '转换前的值。', + 'type' => 'string', + 'required' => false, + 'example' => '{"Key_1":{"form":"CONSTANT","value":"demoKey"},"Value_1":{"form":"JSONPATH","value":"$.data.value"}}', + ], + 'Form' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'SinkDataHubParameters' => [ + 'description' => 'Sink DataHub 参数。', + 'type' => 'object', + 'properties' => [ + 'Project' => [ + 'description' => 'DataHub项目名。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'DataHub项目名。', + 'type' => 'string', + 'required' => false, + 'example' => 'demo-project', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'Topic' => [ + 'description' => 'DataHub Topic名称。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'DataHub Topic名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'demo-topic', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'TopicType' => [ + 'description' => 'topic 类型: '."\n" + .'- TUPLE'."\n" + .'- BLOB', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'topic 类型: '."\n" + .'- TUPLE'."\n" + .'- BLOB', + 'type' => 'string', + 'required' => false, + 'example' => 'TUPLE', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'TopicSchema' => [ + 'description' => 'TUBLE类型,topic内容模式。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'TUBLE类型,topic内容模式。', + 'type' => 'string', + 'required' => false, + 'example' => '{"k1":"value1","k2":"value2"}', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'required' => false, + 'example' => 'TEMPLATE', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => '{"k1":"${k1}","k2":"${k2}"}', + ], + ], + 'required' => false, + ], + 'Body' => [ + 'description' => 'BLOB类型,Record内容模板。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'BLOB类型,Record内容模板。', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'required' => false, + 'example' => 'ORIGINAL', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'RoleName' => [ + 'description' => '任务角色名。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '任务角色名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'test-role', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'SinkFnfParameters' => [ + 'description' => 'Sink Fnf 参数。', + 'type' => 'object', + 'properties' => [ + 'FlowName' => [ + 'description' => '流程名称。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '流程名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'test-streaming-fnf', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'CONSTANT' => 'CONSTANT', + ], + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'ExecutionName' => [ + 'description' => '执行名称。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '执行名称。', + 'type' => 'string', + 'required' => false, + 'example' => '123', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT'."\n" + ."\n" + .'- JSONPATH:部分事件'."\n" + .'- CONSTANT:常量'."\n" + .'- TEMPLATE:模板'."\n" + ."\n" + .'详细参考:[https://help.aliyun.com/zh/eventbridge/user-guide/event-transformation](https://help.aliyun.com/zh/eventbridge/user-guide/event-transformation)', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'JSONPATH' => 'JSONPATH', + 'CONSTANT' => 'CONSTANT', + 'TEMPLATE' => 'TEMPLATE', + ], + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'Input' => [ + 'description' => '执行输入信息。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '执行输入信息。', + 'type' => 'string', + 'required' => false, + 'example' => '123', + ], + 'Form' => [ + 'description' => '转换的格式:'."\n" + ."\n" + .'- ORIGINAL:完整事件'."\n" + .'- JSONPATH:部分事件'."\n" + .'- CONSTANT:常量'."\n" + .'- TEMPLATE:模板'."\n" + ."\n" + .'详细参考:[https://help.aliyun.com/zh/eventbridge/user-guide/event-transformation](https://help.aliyun.com/zh/eventbridge/user-guide/event-transformation)', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'JSONPATH' => 'JSONPATH', + 'CONSTANT' => 'CONSTANT', + 'ORIGINAL' => 'ORIGINAL', + 'TEMPLATE' => 'TEMPLATE', + ], + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'RoleName' => [ + 'description' => '角色配置。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '角色配置。', + 'type' => 'string', + 'required' => false, + 'example' => 'Al****FNF-x****', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'CONSTANT' => 'CONSTANT', + ], + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'SinkPrometheusParameters' => [ + 'description' => 'Sink Prometheus 参数。', + 'type' => 'object', + 'properties' => [ + 'URL' => [ + 'description' => 'Prometheus Remote Write URL 地址。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'Prometheus Remote Write URL 地址。', + 'type' => 'string', + 'required' => false, + 'example' => 'https://cn-hangzhou.arms.aliyuncs.com/prometheus/167275****/c5b7faeb2e8994641*****d5c559f/cn-hangzhou/api/v3/write', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'CONSTANT' => 'CONSTANT', + ], + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '模板样式(Form为CONSTANT时为空)。', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'HeaderParameters' => [ + 'description' => '请求头的参数数据结构。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '- Form为CONSTANT:常量值'."\n" + .'- Form为JSONPATH:JSONPath提取内容'."\n" + .'- Form为TEMPLATE:模板变量'."\n" + ."\n" + .'注:Value字段不允许超过10240个字符', + 'type' => 'string', + 'required' => false, + 'example' => '示例1(Form为CONSTANT)'."\n" + .'name'."\n" + ."\n" + .'示例2(Form为JSONPATH)'."\n" + .'$.data.name'."\n" + ."\n" + .'示例3(Form为TEMPLATE)'."\n" + .'{'."\n" + .' "name":"$.data.name"'."\n" + .'}', + ], + 'Form' => [ + 'description' => '转换的格式。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'JSONPATH' => 'JSONPATH', + 'CONSTANT' => 'CONSTANT', + 'TEMPLATE' => 'TEMPLATE', + ], + 'example' => 'TEMPLATE', + ], + 'Template' => [ + 'description' => 'HTTP请求头模板样式,当Form是TEMPLATE时填写,事件内容转换后结果必须是JSON格式。', + 'type' => 'string', + 'required' => false, + 'example' => '{'."\n" + .' "user_name":"${name}"'."\n" + .'}', + ], + ], + 'required' => false, + ], + 'AuthorizationType' => [ + 'description' => '鉴权方式。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '鉴权方式。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'BASIC_AUTH' => 'BASIC_AUTH', + ], + 'example' => 'BASIC_AUTH', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'CONSTANT' => 'CONSTANT', + ], + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'Username' => [ + 'description' => '用户名。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '用户名。', + 'type' => 'string', + 'required' => false, + 'example' => '****admin', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'Password' => [ + 'description' => '密码。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '密码。', + 'type' => 'string', + 'required' => false, + 'example' => '*****', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'CONSTANT' => 'CONSTANT', + ], + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'Data' => [ + 'description' => '指标内容。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '指标内容。', + 'type' => 'string', + 'required' => false, + 'example' => '$.data', + ], + 'Form' => [ + 'description' => '转换的格式。默认为JSAONPATH。', + 'type' => 'string', + 'required' => false, + 'example' => 'JSAONPATH', + ], + 'Template' => [ + 'description' => '模板样式。', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'NetworkType' => [ + 'description' => '网络类型。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '网络类型。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'PrivateNetwork' => 'PrivateNetwork', + 'PublicNetwork' => 'PublicNetwork', + ], + 'example' => 'PrivateNetwork', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'CONSTANT' => 'CONSTANT', + ], + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'VpcId' => [ + 'description' => 'VPC的ID。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'VPC的ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'i-2ze7u5i17mbqtx1p****', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'CONSTANT' => 'CONSTANT', + ], + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'VSwitchId' => [ + 'description' => '交换机ID。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '交换机ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'vsw-dwaafds****', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'CONSTANT' => 'CONSTANT', + ], + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'SecurityGroupId' => [ + 'description' => '安全组ID。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '安全组ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'sg-mw43*****', + ], + 'Form' => [ + 'description' => '转换的格式。默认为CONSTANT。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'CONSTANT' => 'CONSTANT', + ], + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'SinkCustomizedKafkaParameters' => [ + 'description' => 'Sink Kafka 参数。', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => '消息队列Kafka版的实例ID。', + 'type' => 'string', + 'required' => false, + 'example' => '90be1f96-4229-4535-bb76-34b4f6fb2b71', + ], + ], + 'required' => false, + ], + 'SinkCustomizedKafkaConnectorParameters' => [ + 'description' => 'Sink Kafka 连接器参数。', + 'type' => 'object', + 'properties' => [ + 'ConnectorPackageUrl' => [ + 'description' => 'OSS文件下载链接。', + 'type' => 'string', + 'required' => false, + 'example' => '"https://examplebucket.oss-cn-hangzhou.aliyuncs.com/testDoc/Old_Homebrew/2024-06-26%2022%3A34%3A08/opt/homebrew/homebrew/Library/Homebrew/test/support/fixtures/cask/AppWithBinary.zip?OSSAccessKeyId=ri&Expires=1725539627&Signature=rb8q3OpV2i3gZJ"', + ], + 'ConnectorParameters' => [ + 'description' => '解析当前 ZIP 包下的 properties 文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '连接器名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'mongo-sink', + ], + 'Config' => [ + 'description' => '连接器配置。', + 'type' => 'object', + 'required' => false, + 'example' => '{'."\n" + .' "connector.class": "com.mongodb.kafka.connect.MongoSinkConnector",'."\n" + .' "tasks.max": "1",'."\n" + .' "topics": "sourceA,sourceB"'."\n" + .' }', + ], + ], + 'required' => false, + ], + 'WorkerParameters' => [ + 'description' => '实例配置。', + 'type' => 'object', + 'required' => false, + 'example' => '{'."\n" + .' "group.id": "connect-eb-cluster-KAFKA_CONNECTORC",'."\n" + .' "offset.storage.topic": "connect-eb-offset-KAFKA_CONNECTOR_yjqC8K5ewC",'."\n" + .' "config.storage.topic": "connect-eb-config-KAFKA_CONNECTOR_yjqC8K5ewC",'."\n" + .' "status.storage.topic": "connect-eb-status-KAFKA_CONNECTOR_yjqC8K5ewC",'."\n" + .' "consumer.group.id": "connector-eb-cluster-KAFKA_CONNECTOR_yjqC8K5ewC-mongo-sink",'."\n" + .' "bootstrap.servers": "alikafka-post:9092"'."\n" + .' }', + ], + ], + 'required' => false, + ], + 'SinkDashVectorParameters' => [ + 'title' => 'DashVector目标参数', + 'description' => 'Sink DashVector 参数。', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'title' => '实例id', + 'description' => '实例ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'vrs-cn-lbj3ru1***', + ], + 'Collection' => [ + 'title' => 'Collection名称', + 'description' => 'Collection(集合)名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'collection1', + ], + 'ApiKey' => [ + 'title' => '密钥', + 'description' => 'DashVecotor控制台创建的API Key。', + 'type' => 'string', + 'required' => false, + 'example' => 'Q34nExQH7sQ****', + ], + 'Operation' => [ + 'title' => '操作类型,支持Upsert/Delete', + 'description' => 'DashVector数据库操作类型。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Delete' => 'Delete', + 'Upsert' => 'Upsert', + ], + 'example' => 'Upsert', + ], + 'Network' => [ + 'title' => '网络类型', + 'description' => '网络类型。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'PrivateNetwork' => 'PrivateNetwork', + 'PublicNetwork' => 'PublicNetwork', + ], + 'example' => 'PublicNetwork', + ], + 'PrimaryKeyId' => [ + 'title' => '主键事件内容转换', + 'description' => '插入/删除记录时的主键ID。'."\n" + ."\n" + .'> 不填写此字段时,表示使用随机主键ID。', + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'title' => 'Form', + 'description' => '转换的格式。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'JSONPATH' => 'JSONPATH', + 'TEMPLATE' => 'TEMPLATE', + ], + 'example' => 'JSONPATH', + ], + 'Value' => [ + 'title' => 'Value', + 'description' => '- Form为JSONPATH:JSONPath提取内容'."\n" + .'- Form为TEMPLATE:模板变量'."\n" + .'> Value字段不允许超过10240个字符。', + 'type' => 'string', + 'required' => false, + 'example' => '$.data.requestId', + ], + 'Template' => [ + 'title' => 'Template', + 'description' => '主键ID模板,仅当Form是TEMPLATE时需要填写。', + 'type' => 'string', + 'required' => false, + 'example' => '${ID}', + ], + ], + 'required' => false, + ], + 'Partition' => [ + 'title' => '分区事件内容转换', + 'description' => 'Partition(分区),默认值为default分区。', + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'title' => 'Form', + 'description' => '转换的格式。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'JSONPATH' => 'JSONPATH', + 'CONSTANT' => 'CONSTANT', + ], + 'example' => 'CONSTANT', + ], + 'Value' => [ + 'title' => 'Value', + 'description' => '- Form为CONSTANT:常量值'."\n" + .'- Form为JSONPATH:JSONPath提取内容'."\n" + .'> Value字段不允许超过10240个字符。', + 'type' => 'string', + 'required' => false, + 'example' => 'default', + ], + 'Template' => [ + 'title' => 'Template', + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'Vector' => [ + 'title' => '向量', + 'description' => '插入DashVector记录的向量。', + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'title' => 'Form', + 'description' => '转换的格式。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'JSONPATH' => 'JSONPATH', + ], + 'example' => 'JSONPATH', + ], + 'Value' => [ + 'title' => 'Value', + 'description' => 'JSONPath提取内容。'."\n" + .'> Value字段不允许超过10240个字符。', + 'type' => 'string', + 'required' => false, + 'example' => '$.data.messageBody', + ], + 'Template' => [ + 'title' => 'Template', + 'description' => '无', + 'type' => 'string', + 'required' => false, + 'example' => '无', + ], + ], + 'required' => false, + ], + 'DashVectorSchemaParameters' => [ + 'title' => '属性Schema', + 'description' => '插入DashVector时表项的Schema字段定义,事件内容转换后结果必须是JSON格式。', + 'type' => 'array', + 'items' => [ + 'title' => '属性列', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'title' => '属性名', + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'title' => 'Form', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Value' => [ + 'title' => 'Value', + 'type' => 'string', + 'required' => false, + 'example' => 'content', + ], + 'Template' => [ + 'title' => 'Template', + 'type' => 'string', + 'required' => false, + 'example' => ' ', + ], + ], + 'required' => false, + ], + 'Type' => [ + 'title' => 'DashVector属性类型', + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'title' => 'Form', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + ], + 'Value' => [ + 'title' => 'Value', + 'type' => 'string', + 'required' => false, + 'example' => 'STRING', + ], + 'Template' => [ + 'title' => 'Template', + 'type' => 'string', + 'required' => false, + 'example' => ' ', + ], + ], + 'required' => false, + ], + 'Value' => [ + 'title' => '属性值', + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'title' => 'Form', + 'type' => 'string', + 'required' => false, + 'example' => 'JSONPATH', + ], + 'Value' => [ + 'title' => 'Value', + 'type' => 'string', + 'required' => false, + 'example' => '$.data.content', + ], + 'Template' => [ + 'title' => 'Template', + 'type' => 'string', + 'required' => false, + 'example' => '${content}', + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'SinkOpenSourceRabbitMQParameters' => [ + 'type' => 'object', + 'properties' => [ + 'Endpoint' => [ + 'type' => 'string', + 'required' => false, + ], + 'VirtualHostName' => [ + 'type' => 'string', + 'required' => false, + ], + 'TargetType' => [ + 'type' => 'string', + 'required' => false, + ], + 'Exchange' => [ + 'type' => 'string', + 'required' => false, + ], + 'QueueName' => [ + 'type' => 'string', + 'required' => false, + ], + 'Username' => [ + 'type' => 'string', + 'required' => false, + ], + 'Password' => [ + 'type' => 'string', + 'required' => false, + ], + 'VpcId' => [ + 'type' => 'string', + 'required' => false, + ], + 'VSwitchIds' => [ + 'type' => 'string', + 'required' => false, + ], + 'SecurityGroupId' => [ + 'type' => 'string', + 'required' => false, + ], + 'NetworkType' => [ + 'type' => 'string', + 'required' => false, + ], + 'AuthType' => [ + 'type' => 'string', + 'required' => false, + ], + 'RoutingKey' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'Body' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'MessageId' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'Properties' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'SinkBaiLianParameters' => [ + 'required' => false, + '$ref' => '#/components/schemas/SinkBaiLianParameters', + ], + 'SinkDataWorksTriggerParameters' => [ + 'required' => false, + '$ref' => '#/components/schemas/SinkDataWorksTriggerParameters', + ], + 'SinkHttpsParameters' => [ + 'required' => false, + '$ref' => '#/components/schemas/SinkHttpsParameters', + ], + 'SinkApiDestinationParameters' => [ + 'required' => false, + '$ref' => '#/components/schemas/SinkApiDestinationParameters', + ], + 'SinkOSSParameters' => [ + 'required' => false, + '$ref' => '#/components/schemas/SinkOSSParameters', + ], + 'SinkRabbitMQMetaParameters' => [ + 'required' => false, + '$ref' => '#/components/schemas/SinkRabbitMQMetaParameters', + ], + 'SinkRabbitMQMsgSyncParameters' => [ + 'required' => false, + '$ref' => '#/components/schemas/SinkRabbitMQMsgSyncParameters', + ], + 'SinkMQTTParameters' => [ + 'required' => false, + '$ref' => '#/components/schemas/SinkMQTTParameters', + ], + ], + 'required' => true, + ], + ], + [ + 'name' => 'RunOptions', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '运行环境参数。', + 'type' => 'object', + 'properties' => [ + 'MaximumTasks' => [ + 'title' => '并发数', + 'description' => '并发数。', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '2', + ], + 'ErrorsTolerance' => [ + 'title' => '异常容忍策略:NONE(不容忍异常)、ALL(容忍所有异常)', + 'description' => '异常容忍策略:'."\n" + .'- NONE:不容忍异常。'."\n" + .'- ALL:容忍所有异常。', + 'type' => 'string', + 'required' => false, + 'example' => 'ALL', + ], + 'RetryStrategy' => [ + 'description' => '事件推送失败时的重试策略。', + 'type' => 'object', + 'properties' => [ + 'PushRetryStrategy' => [ + 'title' => '重试策略:BACKOFF_RETRY(退避重试)和EXPONENTIAL_DECAY_RETRY(指数衰减重试)', + 'description' => '重试策略:'."\n" + .'- BACKOFF_RETRY:退避重试。'."\n" + .'- EXPONENTIAL_DECAY_RETRY:指数衰减重试。', + 'type' => 'string', + 'required' => false, + 'example' => 'BACKOFF_RETRY', + ], + 'MaximumEventAgeInSeconds' => [ + 'title' => '最大重试时间', + 'description' => '最大重试时间。', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '512', + ], + 'MaximumRetryAttempts' => [ + 'title' => '最大重试次数', + 'description' => '最大重试次数。', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '2', + ], + ], + 'required' => false, + ], + 'DeadLetterQueue' => [ + 'description' => '是否启用死信队列。默认不启用死信队列,超过重试策略后的消息将被丢弃。', + 'type' => 'object', + 'properties' => [ + 'Arn' => [ + 'title' => '死信队列ARN', + 'description' => '死信队列ARN。', + 'type' => 'string', + 'required' => false, + 'example' => 'acs:ram::131733464781****:role/rdstoecsassumekms', + ], + 'Network' => [ + 'type' => 'string', + 'required' => false, + ], + 'VpcId' => [ + 'type' => 'string', + 'required' => false, + ], + 'VSwitchIds' => [ + 'type' => 'string', + 'required' => false, + ], + 'SecurityGroupId' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'BatchWindow' => [ + 'description' => '攒批窗口。', + 'type' => 'object', + 'properties' => [ + 'CountBasedWindow' => [ + 'description' => '窗口中最大可容纳的事件数量。当达到此阈值,会触发窗口内的数据往下游推送。当存在多个窗口时,有一个窗口满足即触发。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '100', + ], + 'TimeBasedWindow' => [ + 'description' => '窗口中最大可容纳的时间范围内的事件(单位秒)。当达到此阈值,会触发窗口内的数据往下游推送。当存在多个窗口时,有一个窗口满足即触发。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + 'required' => false, + ], + 'BusinessOption' => [ + 'type' => 'object', + 'properties' => [ + 'BusinessMode' => [ + 'type' => 'string', + 'required' => false, + ], + 'MinCapacityUnitCount' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + ], + 'MaxCapacityUnitCount' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + ], + ], + 'required' => false, + ], + 'Throttling' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'Transforms', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => 'Transform 相关配置。', + 'type' => 'array', + 'items' => [ + 'description' => '云产品的 ARN,比如函数计算中函数的 ARN。', + 'type' => 'object', + 'properties' => [ + 'Arn' => [ + 'description' => '云产品的 ARN,比如函数计算中函数的 ARN。', + 'type' => 'string', + 'required' => false, + 'example' => 'acs:fc:cn-hangzhou:*****:services/demo-service.LATEST/functions/demo-func', + ], + 'DashScopeTransformParameters' => [ + 'required' => false, + '$ref' => '#/components/schemas/DashScopeTransformParameters', + ], + 'BaiLianAgentTransformParameters' => [ + 'required' => false, + '$ref' => '#/components/schemas/BaiLianAgentTransformParameters', + ], + 'EmbeddingTransformParameters' => [ + 'required' => false, + '$ref' => '#/components/schemas/EmbeddingTransformParameters', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + [ + 'name' => 'Tags', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'title' => '标签列表,最多包含20个子项', + 'description' => '标签列表,最多包含20个子项', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'title' => '标签键', + 'description' => '标签键', + 'type' => 'string', + 'required' => false, + ], + 'Value' => [ + 'title' => '标签值', + 'description' => '标签值', + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 21, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '请求参数。', + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '错误信息。', + 'type' => 'string', + 'example' => 'The name [xxxx] of event streaming in request is already exist!', + ], + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'B896B484-F16D-59DE-9E23-DD0E5C36****', + ], + 'Data' => [ + 'description' => '返回数据。', + 'type' => 'object', + 'properties' => [ + 'EventStreamingARN' => [ + 'description' => '事件流在阿里云上的统一资源标识(ARN)。', + 'type' => 'string', + 'example' => 'acs:eventbridge:cn-hangzhou:164901546557****:eventstreaming/myeventstreaming', + ], + ], + ], + 'Code' => [ + 'description' => '接口返回码:'."\n" + .'- Success:表示成功。 '."\n" + .'- 其它:表示错误码。错误码详情,请参见错误码。', + 'type' => 'string', + 'example' => 'Success', + ], + 'Success' => [ + 'description' => '操作成功返回true。', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"The name [xxxx] of event streaming in request is already exist!\\",\\n \\"RequestId\\": \\"B896B484-F16D-59DE-9E23-DD0E5C36****\\",\\n \\"Data\\": {\\n \\"EventStreamingARN\\": \\"acs:eventbridge:cn-hangzhou:164901546557****:eventstreaming/myeventstreaming\\"\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => '创建一个事件流', + 'description' => '创建一个事件流。', + ], + 'UpdateApiDestination' => [ + 'summary' => '更新API 端点。', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '163678', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeRBNSGL', + ], + ], + 'parameters' => [ + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => [ + 'description' => 'API 端点描述信息,最大长度255个字符。', + 'type' => 'string', + 'required' => false, + 'example' => 'demo', + 'maxLength' => 255, + ], + ], + [ + 'name' => 'ApiDestinationName', + 'in' => 'query', + 'schema' => [ + 'description' => '需要更新的API 端点名称,最大长度127个字符。最小长度2个字符。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'api-destination-name', + 'maxLength' => 127, + 'minLength' => 2, + ], + ], + [ + 'name' => 'ConnectionName', + 'in' => 'query', + 'schema' => [ + 'description' => '连接配置名称。最大长度127个字符。最小长度2个字符。'."\n" + ."\n" + .'提示 :'."\n" + .'需要先调用Connection接口创建连接配置,ConnectionName填写已存在的连接名称', + 'type' => 'string', + 'required' => false, + 'example' => 'connection-name', + 'maxLength' => 127, + 'minLength' => 2, + ], + ], + [ + 'name' => 'HttpApiParameters', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => 'API 端点的配置信息', + 'type' => 'object', + 'properties' => [ + 'Endpoint' => [ + 'description' => 'API 端点的接入点地址。最大长度127个字符。', + 'type' => 'string', + 'required' => false, + 'example' => 'http://127.0.0.1:8001/api', + 'maxLength' => 127, + ], + 'Method' => [ + 'description' => 'HTTP请求方法。'."\n" + ."\n" + .'- GET'."\n" + .'- POST'."\n" + .'- HEAD'."\n" + .'- DELETE'."\n" + .'- PUT'."\n" + .'- PATCH', + 'type' => 'string', + 'required' => false, + 'example' => 'POST', + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID', + 'type' => 'string', + 'example' => '382E6272-8E9C-5681-AC96-A8AF0BFAC1A5', + ], + 'Message' => [ + 'description' => '响应消息,若成功请求为success', + 'type' => 'string', + 'example' => 'success', + ], + 'Code' => [ + 'description' => '接口状态或POP错误码。取值说明如下:Success:成功。', + 'type' => 'string', + 'example' => 'Success', + ], + 'ApiDestinationName' => [ + 'description' => 'API端点名称。', + 'type' => 'string', + 'example' => 'api-destination-name', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 409 => [ + [ + 'errorCode' => 'RequestParameterException', + 'errorMessage' => 'Request parameter exception', + ], + [ + 'errorCode' => 'ApiDestinationNotExist', + 'errorMessage' => 'The api-destination not existed!', + ], + [ + 'errorCode' => 'HttpApiParametersIsNull', + 'errorMessage' => 'HttpApiParameters is null!', + ], + [ + 'errorCode' => 'EndpointIsBlank', + 'errorMessage' => 'Endpoint is blank!', + ], + [ + 'errorCode' => 'Method', + 'errorMessage' => 'Method is blank!', + ], + [ + 'errorCode' => 'EndpointLengthExceed', + 'errorMessage' => 'Endpoint length cannot exceed 127!', + ], + [ + 'errorCode' => 'ConnectionNotExist', + 'errorMessage' => 'The Connection not existed!', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'InternalError', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"382E6272-8E9C-5681-AC96-A8AF0BFAC1A5\\",\\n \\"Message\\": \\"success\\",\\n \\"Code\\": \\"Success\\",\\n \\"ApiDestinationName\\": \\"api-destination-name\\"\\n}","type":"json"}]', + 'title' => '更新API 端点', + 'description' => '用于更新API 端点相关配置信息。', + ], + 'CreateApiDestination' => [ + 'summary' => '创建API端点信息。', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeCode' => '163676', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeRBNSGL', + ], + ], + 'parameters' => [ + [ + 'name' => 'ApiDestinationName', + 'in' => 'query', + 'schema' => [ + 'description' => 'API名称,最大长度127个字符。最小长度2个字符。', + 'type' => 'string', + 'required' => true, + 'example' => 'api-destination-name', + 'maxLength' => 127, + 'minLength' => 2, + ], + ], + [ + 'name' => 'ConnectionName', + 'in' => 'query', + 'schema' => [ + 'description' => '连接配置名称。最大长度127个字符。最小长度2个字符。'."\n" + ."\n" + .'<notice>需要先调用Connection接口创建连接配置,ConnectionName填写已存在的连接名称。></notice>', + 'type' => 'string', + 'required' => true, + 'example' => 'connection-name', + 'maxLength' => 127, + 'minLength' => 2, + ], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => [ + 'description' => 'API描述,不超过255个字符。', + 'type' => 'string', + 'required' => false, + 'example' => '连接配置描述信息', + 'maxLength' => 255, + ], + ], + [ + 'name' => 'HttpApiParameters', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => 'API端点的配置信息。', + 'type' => 'object', + 'properties' => [ + 'Endpoint' => [ + 'description' => 'API端点的接入点地址。最大长度127个字符。', + 'type' => 'string', + 'required' => true, + 'example' => 'http://127.0.0.1:8001/api'."\n", + 'maxLength' => 127, + ], + 'Method' => [ + 'description' => 'HTTP请求方法。'."\n" + ."\n" + .'- GET'."\n" + .'- POST'."\n" + .'- HEAD'."\n" + .'- DELETE'."\n" + .'- PUT'."\n" + .'- PATCH', + 'type' => 'string', + 'required' => true, + 'example' => 'POST', + ], + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '5DAF96FB-A4B6-548C-B999-0BFDCB22****', + ], + 'Message' => [ + 'description' => '返回信息。', + 'type' => 'string', + 'example' => 'success', + ], + 'Code' => [ + 'description' => '接口状态或POP错误码。取值说明如下:Success:成功。', + 'type' => 'string', + 'example' => 'Success', + ], + 'Date' => [ + 'description' => '返回创建API端点成功数据结构。', + 'type' => 'object', + 'properties' => [ + 'ApiDestinationName' => [ + 'description' => 'API 端点名称。', + 'type' => 'string', + 'example' => 'ApiDestinationName', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 409 => [ + [ + 'errorCode' => 'RequestParameterException', + 'errorMessage' => 'Request parameter exception', + ], + [ + 'errorCode' => 'RequestParameterInvalid', + 'errorMessage' => 'The ApiDestination name is invalid! Only letters a~z or A~Z, numbers 0~9, underscore (_) and dash (-) are supported.', + ], + [ + 'errorCode' => 'ApiDestinationAlreadyExist', + 'errorMessage' => 'The api-destination already existed!', + ], + [ + 'errorCode' => 'ConnectionNotExist', + 'errorMessage' => 'The Connection not existed!', + ], + [ + 'errorCode' => 'HttpApiParametersIsNull', + 'errorMessage' => 'HttpApiParameters is null!', + ], + [ + 'errorCode' => 'EndpointIsBlank', + 'errorMessage' => 'Endpoint is blank!', + ], + [ + 'errorCode' => 'Method', + 'errorMessage' => 'Method is blank!', + ], + [ + 'errorCode' => 'EndpointLengthExceed', + 'errorMessage' => 'Endpoint length cannot exceed 127!', + ], + [ + 'errorCode' => 'ApiDestinationCountExceedLimit', + 'errorMessage' => 'The current count of api-destination is [{0}], which will exceed the limit quota.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'InternalError', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5DAF96FB-A4B6-548C-B999-0BFDCB22****\\",\\n \\"Message\\": \\"success\\",\\n \\"Code\\": \\"Success\\",\\n \\"Date\\": {\\n \\"ApiDestinationName\\": \\"ApiDestinationName\\"\\n }\\n}","type":"json"}]', + 'title' => '创建API端点信息', + 'description' => '用于创建API 端点信息。', + ], + 'CreateConnection' => [ + 'summary' => '创建连接配置信息。', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeCode' => '163691', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeRBNSGL', + ], + ], + 'parameters' => [ + [ + 'name' => 'ConnectionName', + 'in' => 'query', + 'schema' => [ + 'description' => '连接配置名称。最大长度127个字符。最小长度2个字符。', + 'type' => 'string', + 'required' => true, + 'example' => 'connection-name', + 'maxLength' => 127, + 'minLength' => 2, + ], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => [ + 'description' => '连接配置描述信息。最大长度255个字符。', + 'type' => 'string', + 'required' => false, + 'example' => 'demo', + 'maxLength' => 255, + ], + ], + [ + 'name' => 'NetworkParameters', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => '网络配置的数据结构。', + 'type' => 'object', + 'properties' => [ + 'NetworkType' => [ + 'description' => '- 公网 :PublicNetwork'."\n" + ."\n" + .'- 专有网络 :PrivateNetwork'."\n" + ."\n" + .'><notice>选择专有网络时,VpcId、VswitcheId和SecurityGroupId必填。></notice>', + 'type' => 'string', + 'required' => true, + 'example' => 'PublicNetwork', + ], + 'VpcId' => [ + 'description' => '专有网络VPC的ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'eb-test/vpc-bp1symadadwnwg****', + ], + 'VswitcheId' => [ + 'description' => '交换机ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'vsw-bp1iu4x7aeradadown1og8,vsw-bp193sqmadadlaszpeq****', + ], + 'SecurityGroupId' => [ + 'description' => '安全组ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'eb-167adad548759-security_grop/sg-bp1addad26peuh9qh9****', + ], + ], + 'required' => true, + ], + ], + [ + 'name' => 'AuthParameters', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => '鉴权数据结构。', + 'type' => 'object', + 'properties' => [ + 'AuthorizationType' => [ + 'description' => '鉴权类型 :'."\n" + ."\n" + .'- BASIC:BASIC_AUTH。这种授权方式是浏览器遵守HTTP协议实现的基本授权方式,HTTP协议进行通信的过程中,HTTP协议定义了基本认证允许HTTP服务器对客户端进行用户身份证的方法。在请求头中添加 Authorization :Basic空一格Base64加密(`用户名:密码`)固定格式。Username和Password是必填的。'."\n" + ."\n" + .'- API KEY :API_KEY_AUTH。固定的格式在请求头中添加Token :Token值。ApiKeyName和ApiKeyValue是必填的。'."\n" + ."\n" + .'- OAUTH :OAUTH_AUTH。OAuth2.0是一种授权机制,正常情况,不使用OAuth2.0等授权机制的系统,客户端是可以直接访问资源服务器的资源的,为了用户安全访问数据,在访问中间添加了Access Token机制。客户端需要携带Access Token去访问受到保护的资源。所以OAuth2.0确保了资源不被恶意客户端访问,从而提高了系统的安全性。AuthorizationEndpoint、OAuthHttpParameters和HttpMethod是必填的。', + 'type' => 'string', + 'required' => false, + 'example' => 'BASIC_AUTH', + ], + 'ApiKeyAuthParameters' => [ + 'description' => 'API KEY的数据结构。', + 'type' => 'object', + 'properties' => [ + 'ApiKeyName' => [ + 'description' => 'Api key的key值。', + 'type' => 'string', + 'required' => false, + 'example' => 'Token', + 'maxLength' => 127, + ], + 'ApiKeyValue' => [ + 'description' => 'Api key的value值。', + 'type' => 'string', + 'required' => false, + 'example' => 'adkjnakddh****', + 'maxLength' => 127, + ], + ], + 'required' => false, + ], + 'BasicAuthParameters' => [ + 'description' => 'Basic鉴权的数据结构。', + 'type' => 'object', + 'properties' => [ + 'Password' => [ + 'description' => 'basic鉴权的密码。', + 'type' => 'string', + 'required' => false, + 'example' => '*******', + 'maxLength' => 127, + ], + 'Username' => [ + 'description' => 'basic鉴权的用户名。', + 'type' => 'string', + 'required' => false, + 'example' => 'admin', + 'maxLength' => 127, + ], + ], + 'required' => false, + ], + 'OAuthParameters' => [ + 'description' => 'OAuth鉴权参数数据结构。', + 'type' => 'object', + 'properties' => [ + 'AuthorizationEndpoint' => [ + 'description' => '授权的终端节点地址。最大长度127个字符。', + 'type' => 'string', + 'required' => false, + 'example' => 'http://localhost:8080/oauth/token', + 'maxLength' => 127, + ], + 'ClientParameters' => [ + 'description' => '客户参数数据结构。', + 'type' => 'object', + 'properties' => [ + 'ClientID' => [ + 'description' => '客户端的ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'ClientID', + 'maxLength' => 127, + ], + 'ClientSecret' => [ + 'description' => '应用的客户端密钥secret。', + 'type' => 'string', + 'required' => false, + 'example' => 'Qo57Q~F249~S74GmNPA36pZJoJK4f4LY****', + 'maxLength' => 127, + ], + ], + 'required' => false, + ], + 'HttpMethod' => [ + 'description' => '探测类型的方法。取值:'."\n" + ."\n" + .'- GET'."\n" + .'- POST'."\n" + .'- HEAD'."\n" + .'- DELETE'."\n" + .'- PUT'."\n" + .'- PATCH', + 'type' => 'string', + 'required' => false, + 'example' => 'POST', + ], + 'OAuthHttpParameters' => [ + 'description' => 'Oauth鉴权的请求参数。', + 'type' => 'object', + 'properties' => [ + 'BodyParameters' => [ + 'description' => 'body请求参数的数据结构列表。', + 'type' => 'array', + 'items' => [ + 'description' => 'body请求参数的数据结构。', + 'type' => 'object', + 'properties' => [ + 'IsValueSecret' => [ + 'description' => '是否是鉴权。', + 'type' => 'string', + 'required' => false, + 'example' => 'false', + ], + 'Key' => [ + 'description' => 'body请求参数的key。', + 'type' => 'string', + 'required' => false, + 'example' => 'keyDemo', + ], + 'Value' => [ + 'description' => 'body请求参数的value。', + 'type' => 'string', + 'required' => false, + 'example' => 'keyValue', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'HeaderParameters' => [ + 'description' => '请求头的参数列表。', + 'type' => 'array', + 'items' => [ + 'description' => '请求头的参数数据结构。', + 'type' => 'object', + 'properties' => [ + 'IsValueSecret' => [ + 'description' => '是否是鉴权。', + 'type' => 'string', + 'required' => false, + 'example' => 'false', + ], + 'Key' => [ + 'description' => '请求头的参数key。', + 'type' => 'string', + 'required' => false, + 'example' => 'keyDemo', + ], + 'Value' => [ + 'description' => '请求头参数value。', + 'type' => 'string', + 'required' => false, + 'example' => 'keyValue', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'QueryStringParameters' => [ + 'description' => '请求路径参数的数据结构。', + 'type' => 'array', + 'items' => [ + 'description' => '请求路径参数的数据结构。', + 'type' => 'object', + 'properties' => [ + 'IsValueSecret' => [ + 'description' => '是否是鉴权。', + 'type' => 'string', + 'required' => false, + 'example' => 'false', + ], + 'Key' => [ + 'description' => '请求路径参数key。', + 'type' => 'string', + 'required' => false, + 'example' => 'keyDemo', + ], + 'Value' => [ + 'description' => '请求路径参数value。', + 'type' => 'string', + 'required' => false, + 'example' => 'valueDemo', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '阿里云为该请求生成的唯一标识符。', + 'type' => 'string', + 'example' => '7DA60DED-CD36-5837-B848-C01A23D2****', + ], + 'Message' => [ + 'description' => '附加信息。取值说明如下:请求正常,返回success。 请求异常,返回具体异常错误码。', + 'type' => 'string', + 'example' => 'success', + ], + 'Code' => [ + 'description' => '接口状态或POP错误码。取值说明如下:Success:成功。', + 'type' => 'string', + 'example' => 'Success', + ], + 'Data' => [ + 'description' => '返回结果。', + 'type' => 'object', + 'properties' => [ + 'ConnectionName' => [ + 'description' => '连接配置名称。', + 'type' => 'string', + 'example' => 'connection-demo', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 409 => [ + [ + 'errorCode' => 'RequestParameterException', + 'errorMessage' => 'Request parameter exception', + ], + [ + 'errorCode' => 'ConnectionAlreadyExist', + 'errorMessage' => 'The Connection already existed!', + ], + [ + 'errorCode' => 'ConnectionCountExceedLimit', + 'errorMessage' => 'The current count of connection, which will exceed the limit quota.', + ], + [ + 'errorCode' => 'BasicRequiredParameterIsEmpty', + 'errorMessage' => 'Basic required parameters are empty, the required parameters are username and password!', + ], + [ + 'errorCode' => 'BasicUserNameLengthExceed', + 'errorMessage' => 'Basic username length cannot exceed 127!', + ], + [ + 'errorCode' => 'BasicPassWordLengthExceed', + 'errorMessage' => 'Basic password length cannot exceed 127!', + ], + [ + 'errorCode' => 'ApiKeyRequiredParameterIsEmpty', + 'errorMessage' => 'Api Key required parameters are empty, the required parameters are apiKeyName and apiKeyValue!', + ], + [ + 'errorCode' => 'ApiKeyNameLengthExceed', + 'errorMessage' => 'Api key name length cannot exceed 127!', + ], + [ + 'errorCode' => 'ApiKeyValueLengthExceed', + 'errorMessage' => 'Api key value length cannot exceed 127!', + ], + [ + 'errorCode' => 'OAuthRequiredParameterIsEmpty', + 'errorMessage' => 'OAuth required parameters are empty, the required parameters are authorizationEndpoint and httpMethod!', + ], + [ + 'errorCode' => 'AuthorizationEndpointLengthExceed', + 'errorMessage' => 'Authorization endpoint length cannot exceed 127!', + ], + [ + 'errorCode' => 'ClientIDLengthExceed', + 'errorMessage' => 'ClientID length cannot exceed 127!', + ], + [ + 'errorCode' => 'ClientSecretLengthExceed', + 'errorMessage' => 'ClientSecret length cannot exceed 127!', + ], + [ + 'errorCode' => 'OauthHttpParametersEmpty', + 'errorMessage' => 'OauthHttpParameters is Empty.', + ], + [ + 'errorCode' => 'SecretManagerAPICreateSecretNameFailed', + 'errorMessage' => 'Create secret manager api secret name failed', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'InternalError', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7DA60DED-CD36-5837-B848-C01A23D2****\\",\\n \\"Message\\": \\"success\\",\\n \\"Code\\": \\"Success\\",\\n \\"Data\\": {\\n \\"ConnectionName\\": \\"connection-demo\\"\\n }\\n}","type":"json"}]', + 'title' => '创建连接配置信息', + 'description' => '用于创建连接配置信息。', + ], + 'DeleteApiDestination' => [ + 'summary' => '删除API 端点。', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'abilityTreeCode' => '163683', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeRBNSGL', + ], + ], + 'parameters' => [ + [ + 'name' => 'ApiDestinationName', + 'in' => 'query', + 'schema' => [ + 'description' => 'API 端点名称', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ApiDestinationName', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID', + 'type' => 'string', + 'example' => '382E6272-8E9C-5681-AC96-A8AF0BFAC1A5', + ], + 'Message' => [ + 'description' => '附加信息。取值说明如下:请求正常,返回success。 请求异常,返回具体异常错误码。', + 'type' => 'string', + 'example' => 'success', + ], + 'Code' => [ + 'description' => '接口状态或POP错误码。取值说明如下:Success:成功。', + 'type' => 'string', + 'example' => 'Success', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 409 => [ + [ + 'errorCode' => 'RequestParameterException', + 'errorMessage' => 'Request parameter exception', + ], + [ + 'errorCode' => 'ApiDestinationNotExist', + 'errorMessage' => 'The api-destination not existed!', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'InternalError', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"382E6272-8E9C-5681-AC96-A8AF0BFAC1A5\\",\\n \\"Message\\": \\"success\\",\\n \\"Code\\": \\"Success\\"\\n}","type":"json"}]', + 'title' => '删除API 端点', + 'description' => '用于删除指定API 端点。', + ], + 'DeleteConnection' => [ + 'summary' => '删除指定的连接配置信息。', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'abilityTreeCode' => '163693', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeRBNSGL', + ], + ], + 'parameters' => [ + [ + 'name' => 'ConnectionName', + 'in' => 'query', + 'schema' => [ + 'description' => '需要删除的连接名称。', + 'type' => 'string', + 'required' => true, + 'example' => 'connection-name', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '阿里云为该请求生成的唯一标识符。', + 'type' => 'string', + 'example' => '8EF25E37-1750-5D7A-BA56-F8AE081A69C8', + ], + 'Message' => [ + 'description' => '附加信息。取值说明如下:请求正常,返回success。 请求异常,返回具体异常错误码。', + 'type' => 'string', + 'example' => 'success', + ], + 'Code' => [ + 'description' => '接口状态或POP错误码。取值说明如下:Success:成功。', + 'type' => 'string', + 'example' => 'Success', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 409 => [ + [ + 'errorCode' => 'RequestParameterException', + 'errorMessage' => 'Request parameter exception', + ], + [ + 'errorCode' => 'ConnectionNotExist', + 'errorMessage' => 'The Connection not existed!', + ], + [ + 'errorCode' => 'ConnectionBoundApiDestination', + 'errorMessage' => 'The Connection has bound API Destination, deletion is not allowed.', + ], + [ + 'errorCode' => 'SecretManagerAPIDeleteSecretFailed', + 'errorMessage' => 'Delete secret manager api secret failed!', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'InternalError', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8EF25E37-1750-5D7A-BA56-F8AE081A69C8\\",\\n \\"Message\\": \\"success\\",\\n \\"Code\\": \\"Success\\"\\n}","type":"json"}]', + 'title' => '删除指定的连接配置信息', + 'description' => '用于删除指定的连接配置信息。', + ], + 'GetApiDestination' => [ + 'summary' => '查询单个API 端点信息。', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '163690', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeRBNSGL', + ], + ], + 'parameters' => [ + [ + 'name' => 'ApiDestinationName', + 'in' => 'query', + 'schema' => [ + 'description' => 'API 端点名称', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'api-destination-name', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '阿里云为该请求生成的唯一标识符。', + 'type' => 'string', + 'example' => 'B896B484-F16D-59DE-9E23-DD0E5C361108', + ], + 'Message' => [ + 'description' => '附加信息。取值说明如下:请求正常,返回success。 请求异常,返回具体异常错误码。', + 'type' => 'string', + 'example' => 'success', + ], + 'Code' => [ + 'description' => '接口状态或POP错误码。取值说明如下:Success:成功。', + 'type' => 'string', + 'example' => 'Success', + ], + 'Data' => [ + 'description' => '返回结果。', + 'type' => 'object', + 'properties' => [ + 'ApiDestinationName' => [ + 'description' => 'API 端点名称', + 'type' => 'string', + 'example' => 'demo', + ], + 'ConnectionName' => [ + 'description' => '连接配置名称', + 'type' => 'string', + 'example' => 'test-basic', + ], + 'Description' => [ + 'description' => 'API的描述信息。', + 'type' => 'string', + 'example' => 'demo', + ], + 'HttpApiParameters' => [ + 'description' => 'API 端点请求配置信息', + 'type' => 'object', + 'properties' => [ + 'Endpoint' => [ + 'description' => 'API 端点的接入点地址', + 'type' => 'string', + 'example' => 'http://127.0.0.1:8001/api'."\n", + ], + 'Method' => [ + 'description' => 'HTTP请求方法。'."\n" + ."\n" + .'- POST'."\n" + ."\n" + .'- GET'."\n" + ."\n" + .'- DELETE'."\n" + ."\n" + .'- PUT'."\n" + ."\n" + .'- HEAD'."\n" + ."\n" + .'- TRACE'."\n" + ."\n" + .'- PATCH', + 'type' => 'string', + 'example' => 'POST', + ], + ], + ], + 'GmtCreate' => [ + 'description' => '创建时间。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1649055710565', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 409 => [ + [ + 'errorCode' => 'RequestParameterException', + 'errorMessage' => 'Request parameter exception', + ], + [ + 'errorCode' => 'ApiDestinationNotExist', + 'errorMessage' => 'The api-destination not existed!', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'InternalError', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B896B484-F16D-59DE-9E23-DD0E5C361108\\",\\n \\"Message\\": \\"success\\",\\n \\"Code\\": \\"Success\\",\\n \\"Data\\": {\\n \\"ApiDestinationName\\": \\"demo\\",\\n \\"ConnectionName\\": \\"test-basic\\",\\n \\"Description\\": \\"demo\\",\\n \\"HttpApiParameters\\": {\\n \\"Endpoint\\": \\"http://127.0.0.1:8001/api\\\\n\\",\\n \\"Method\\": \\"POST\\"\\n },\\n \\"GmtCreate\\": 1649055710565\\n }\\n}","type":"json"}]', + 'title' => '查询单个API 端点信息', + 'description' => '用于查询单个API 端点信息。', + ], + 'GetConnection' => [ + 'summary' => '查询单个连接配置信息。', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '163694', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeRBNSGL', + ], + ], + 'parameters' => [ + [ + 'name' => 'ConnectionName', + 'in' => 'query', + 'schema' => [ + 'description' => '连接名称。', + 'type' => 'string', + 'required' => true, + 'example' => 'connection-name', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '返回的requestId', + 'type' => 'string', + 'example' => '34AD682D-5B91-5773-8132-AA38C130****', + ], + 'Message' => [ + 'description' => '接口请求返回的信息。', + 'type' => 'string', + 'example' => 'success', + ], + 'Code' => [ + 'description' => '接口状态或POP错误码。取值说明如下:Success:成功。', + 'type' => 'string', + 'example' => 'Success', + ], + 'HttpCode' => [ + 'description' => 'HTTP状态码。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Data' => [ + 'description' => '返回结果。', + 'type' => 'object', + 'properties' => [ + 'Connections' => [ + 'description' => '连接配置信息列表。', + 'type' => 'array', + 'items' => [ + 'description' => '连接配置信息数据结构', + 'type' => 'object', + 'properties' => [ + 'ConnectionName' => [ + 'description' => '连接配置名称', + 'type' => 'string', + 'example' => 'demo', + ], + 'Id' => [ + 'description' => '数据源ID。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '5668', + ], + 'Description' => [ + 'description' => '连接配置描述信息', + 'type' => 'string', + 'example' => 'demo', + ], + 'GmtCreate' => [ + 'description' => '创建时间', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1669648905', + ], + 'NetworkParameters' => [ + 'description' => '网络配置的数据结构', + 'type' => 'object', + 'properties' => [ + 'NetworkType' => [ + 'description' => '- 公网 :PublicNetwork'."\n" + ."\n" + .'- 专有网络 :PrivateNetwork', + 'type' => 'string', + 'example' => 'PublicNetwork', + ], + 'VpcId' => [ + 'description' => '专有网络VPC的ID', + 'type' => 'string', + 'example' => 'eb-test/vpc-bp1symadadwnwg****', + ], + 'VswitcheId' => [ + 'description' => '交换机ID', + 'type' => 'string', + 'example' => 'vsw-bp1iu4x7aeradadown****,vsw-bp193sqmadadlaszpeq****', + ], + 'SecurityGroupId' => [ + 'description' => '安全组ID', + 'type' => 'string', + 'example' => 'eb-167adad548759-security_grop/sg-bp1addad26peuh9qh9****', + ], + ], + ], + 'AuthParameters' => [ + 'description' => '权限数据结构', + 'type' => 'object', + 'properties' => [ + 'AuthorizationType' => [ + 'description' => '权限类型 :'."\n" + ."\n" + .'- BASIC:BASIC_AUTH'."\n" + ."\n" + .'- API KEY :API_KEY_AUTH'."\n" + ."\n" + .'- OAUTH :OAUTH_AUTH', + 'type' => 'string', + 'example' => 'BASIC_AUTH', + ], + 'ApiKeyAuthParameters' => [ + 'description' => 'API KEY 的数据结构', + 'type' => 'object', + 'properties' => [ + 'ApiKeyName' => [ + 'description' => 'Api key 的key值', + 'type' => 'string', + 'example' => 'key', + ], + 'ApiKeyValue' => [ + 'description' => 'Api key的value值', + 'type' => 'string', + 'example' => 'value', + ], + ], + ], + 'BasicAuthParameters' => [ + 'description' => 'Basic 权限的数据结构', + 'type' => 'object', + 'properties' => [ + 'Password' => [ + 'description' => 'basic 鉴权的密码', + 'type' => 'string', + 'example' => '********', + ], + 'Username' => [ + 'description' => 'basic 鉴权的用户名', + 'type' => 'string', + 'example' => 'admin', + ], + ], + ], + 'OAuthParameters' => [ + 'description' => 'OAuth请求参数数据结构', + 'type' => 'object', + 'properties' => [ + 'AuthorizationEndpoint' => [ + 'description' => 'OAuth获取token的请求地址', + 'type' => 'string', + 'example' => 'http://localhost:8080/oauth/token', + ], + 'HttpMethod' => [ + 'description' => '探测类型的方法。取值:'."\n" + ."\n" + .'- GET'."\n" + .'- POST'."\n" + .'- HEAD', + 'type' => 'string', + 'example' => 'POST', + ], + 'ClientParameters' => [ + 'description' => '客户参数数据结构', + 'type' => 'object', + 'properties' => [ + 'ClientID' => [ + 'description' => '客户端的ID', + 'type' => 'string', + 'example' => 'ClientID', + ], + 'ClientSecret' => [ + 'description' => '应用的客户端密钥secret', + 'type' => 'string', + 'example' => 'Qo57Q~F249~S74GmNPA36pZJoJK4f4****', + ], + ], + ], + 'OAuthHttpParameters' => [ + 'description' => 'Oauth鉴权的请求参数', + 'type' => 'object', + 'properties' => [ + 'BodyParameters' => [ + 'description' => '请求参数的数据结构列表', + 'type' => 'array', + 'items' => [ + 'description' => '请求参数的数据结构列表', + 'type' => 'object', + 'properties' => [ + 'IsValueSecret' => [ + 'description' => '是否是鉴权', + 'type' => 'string', + 'example' => 'false', + ], + 'Key' => [ + 'description' => 'body请求参数的key', + 'type' => 'string', + 'example' => 'keyDemo', + ], + 'Value' => [ + 'description' => 'body请求参数的value', + 'type' => 'string', + 'example' => 'valueDemo', + ], + ], + ], + ], + 'HeaderParameters' => [ + 'description' => '请求头的参数列表', + 'type' => 'array', + 'items' => [ + 'description' => '请求头的参数列表', + 'type' => 'object', + 'properties' => [ + 'IsValueSecret' => [ + 'description' => '是否是鉴', + 'type' => 'string', + 'example' => 'false', + ], + 'Key' => [ + 'description' => '请求头参数key', + 'type' => 'string', + 'example' => 'keyDemo', + ], + 'Value' => [ + 'description' => '请求头的参数value', + 'type' => 'string', + 'example' => 'keyDemo', + ], + ], + ], + ], + 'QueryStringParameters' => [ + 'description' => '请求路径参数的数据结构', + 'type' => 'array', + 'items' => [ + 'description' => '请求路径参数的数据结构', + 'type' => 'object', + 'properties' => [ + 'IsValueSecret' => [ + 'description' => '是否是鉴', + 'type' => 'string', + 'example' => 'false', + ], + 'Key' => [ + 'description' => '请求路径参数key', + 'type' => 'string', + 'example' => 'keyDemo', + ], + 'Value' => [ + 'description' => '请求路径参数value', + 'type' => 'string', + 'example' => 'valueDemo', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 409 => [ + [ + 'errorCode' => 'RequestParameterException', + 'errorMessage' => 'Request parameter exception', + ], + [ + 'errorCode' => 'ConnectionNotExist', + 'errorMessage' => 'The Connection name not existed!', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'InternalError', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"34AD682D-5B91-5773-8132-AA38C130****\\",\\n \\"Message\\": \\"success\\",\\n \\"Code\\": \\"Success\\",\\n \\"HttpCode\\": 200,\\n \\"Data\\": {\\n \\"Connections\\": [\\n {\\n \\"ConnectionName\\": \\"demo\\",\\n \\"Id\\": 5668,\\n \\"Description\\": \\"demo\\",\\n \\"GmtCreate\\": 1669648905,\\n \\"NetworkParameters\\": {\\n \\"NetworkType\\": \\"PublicNetwork\\",\\n \\"VpcId\\": \\"eb-test/vpc-bp1symadadwnwg****\\",\\n \\"VswitcheId\\": \\"vsw-bp1iu4x7aeradadown****,vsw-bp193sqmadadlaszpeq****\\",\\n \\"SecurityGroupId\\": \\"eb-167adad548759-security_grop/sg-bp1addad26peuh9qh9****\\"\\n },\\n \\"AuthParameters\\": {\\n \\"AuthorizationType\\": \\"BASIC_AUTH\\",\\n \\"ApiKeyAuthParameters\\": {\\n \\"ApiKeyName\\": \\"key\\",\\n \\"ApiKeyValue\\": \\"value\\"\\n },\\n \\"BasicAuthParameters\\": {\\n \\"Password\\": \\"********\\",\\n \\"Username\\": \\"admin\\"\\n },\\n \\"OAuthParameters\\": {\\n \\"AuthorizationEndpoint\\": \\"http://localhost:8080/oauth/token\\",\\n \\"HttpMethod\\": \\"POST\\",\\n \\"ClientParameters\\": {\\n \\"ClientID\\": \\"ClientID\\",\\n \\"ClientSecret\\": \\"Qo57Q~F249~S74GmNPA36pZJoJK4f4****\\"\\n },\\n \\"OAuthHttpParameters\\": {\\n \\"BodyParameters\\": [\\n {\\n \\"IsValueSecret\\": \\"false\\",\\n \\"Key\\": \\"keyDemo\\",\\n \\"Value\\": \\"valueDemo\\"\\n }\\n ],\\n \\"HeaderParameters\\": [\\n {\\n \\"IsValueSecret\\": \\"false\\",\\n \\"Key\\": \\"keyDemo\\",\\n \\"Value\\": \\"keyDemo\\"\\n }\\n ],\\n \\"QueryStringParameters\\": [\\n {\\n \\"IsValueSecret\\": \\"false\\",\\n \\"Key\\": \\"keyDemo\\",\\n \\"Value\\": \\"valueDemo\\"\\n }\\n ]\\n }\\n }\\n }\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => '查询单个连接配置信息', + 'description' => '用于查询单个连接配置信息。', + ], + 'ListApiDestinations' => [ + 'summary' => '获取API 端点列表信息。', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeCode' => '163689', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeRBNSGL', + ], + ], + 'parameters' => [ + [ + 'name' => 'ApiDestinationNamePrefix', + 'in' => 'query', + 'schema' => [ + 'description' => 'API端点名称前缀。', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'api-demo', + ], + ], + [ + 'name' => 'ConnectionName', + 'in' => 'query', + 'schema' => [ + 'description' => '连接配置名称。', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'connection-name', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => [ + 'description' => '限定每次返回的最大条数,可以和nextToken搭配使用实现翻页能力。'."\n" + ."\n" + .'默认值是10。', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'description' => '当指定MaxResults时,如果还有多余的返回值则会返回NextToken。'."\n" + ."\n" + .'NextToken值默认是从0开始计算的,默认值是0。', + 'type' => 'string', + 'required' => false, + 'example' => '0', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID,阿里云为该请求生成的唯一标识符。', + 'type' => 'string', + 'example' => '96D7C0AB-DCE5-5E82-96B8-4725E170****', + ], + 'Message' => [ + 'description' => '附加信息。取值说明如下:请求正常,返回success。 请求异常,返回具体异常错误码。', + 'type' => 'string', + 'example' => 'success', + ], + 'Code' => [ + 'description' => '接口状态或POP错误码。取值说明如下:Success:成功。', + 'type' => 'string', + 'example' => 'Success', + ], + 'Data' => [ + 'description' => '返回的结果。', + 'type' => 'object', + 'properties' => [ + 'ApiDestinations' => [ + 'description' => 'API端点结果集。', + 'type' => 'array', + 'items' => [ + 'description' => 'API端点数据结构。', + 'type' => 'object', + 'properties' => [ + 'ApiDestinationName' => [ + 'description' => 'API端点名称。', + 'type' => 'string', + 'example' => 'api-destination-2', + ], + 'ConnectionName' => [ + 'description' => '连接配置名称。', + 'type' => 'string', + 'example' => 'connection-name', + ], + 'Description' => [ + 'description' => '连接配置描述信息。', + 'type' => 'string', + 'example' => 'demo', + ], + 'HttpApiParameters' => [ + 'description' => 'API端点请求配置信息。', + 'type' => 'object', + 'properties' => [ + 'Endpoint' => [ + 'description' => 'API端点的接入点地址。', + 'type' => 'string', + 'example' => 'http://127.0.0.1:8001/api', + ], + 'Method' => [ + 'description' => 'HTTP请求方法。'."\n" + ."\n" + .'- POST'."\n" + ."\n" + .'- GET'."\n" + ."\n" + .'- DELETE'."\n" + ."\n" + .'- PUT'."\n" + ."\n" + .'- HEAD'."\n" + ."\n" + .'- TRACE'."\n" + ."\n" + .'- PATCH', + 'type' => 'string', + 'example' => 'POST', + ], + ], + ], + 'GmtCreate' => [ + 'description' => '创建时间。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1665223213000', + ], + ], + ], + ], + 'NextToken' => [ + 'description' => '如果还有多余的返回值则会返回NextToken。', + 'type' => 'string', + 'example' => '1', + ], + 'Total' => [ + 'description' => '总条数。', + 'type' => 'number', + 'format' => 'float', + 'example' => '2', + ], + 'MaxResults' => [ + 'description' => '限定每次返回的最大条数。', + 'type' => 'number', + 'format' => 'float', + 'example' => '10', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 409 => [ + [ + 'errorCode' => 'RequestParameterException', + 'errorMessage' => 'Request parameter exception', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'InternalError', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"96D7C0AB-DCE5-5E82-96B8-4725E170****\\",\\n \\"Message\\": \\"success\\",\\n \\"Code\\": \\"Success\\",\\n \\"Data\\": {\\n \\"ApiDestinations\\": [\\n {\\n \\"ApiDestinationName\\": \\"api-destination-2\\",\\n \\"ConnectionName\\": \\"connection-name\\",\\n \\"Description\\": \\"demo\\",\\n \\"HttpApiParameters\\": {\\n \\"Endpoint\\": \\"http://127.0.0.1:8001/api\\",\\n \\"Method\\": \\"POST\\"\\n },\\n \\"GmtCreate\\": 1665223213000\\n }\\n ],\\n \\"NextToken\\": \\"1\\",\\n \\"Total\\": 2,\\n \\"MaxResults\\": 10\\n }\\n}","type":"json"}]', + 'title' => '获取API 端点列表', + 'description' => '用于获取API 端点列表信息。', + ], + 'ListConnections' => [ + 'summary' => '获取连接配置列表。', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '163695', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeRBNSGL', + ], + ], + 'parameters' => [ + [ + 'name' => 'ConnectionNamePrefix', + 'in' => 'formData', + 'schema' => [ + 'description' => '获取指定连接配置名称的参数,支持前缀匹配查询', + 'type' => 'string', + 'required' => false, + 'example' => 'connection-name', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'description' => '限定每次返回的最大条数,可以和nextToken搭配使用实现翻页能力。'."\n" + ."\n" + .'- 默认值是10', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '当指定MaxResults时,如果还有多余的返回值则会返回NextToken。'."\n" + ."\n" + .'- NextToken值默认是从0开始计算的,默认值是0。', + 'type' => 'string', + 'required' => false, + 'example' => '0', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '公共参数,每个请求的ID都是唯一的,可用于排查和定位问题。', + 'type' => 'string', + 'example' => 'E3619976-8714-5D88-BBA2-6983D798A8BB', + ], + 'Message' => [ + 'description' => '返回信息。', + 'type' => 'string', + 'example' => 'success', + ], + 'Code' => [ + 'description' => '接口状态或POP错误码。取值说明如下:Success:成功。', + 'type' => 'string', + 'example' => 'Success', + ], + 'Data' => [ + 'description' => '返回连接配置的列表信息', + 'type' => 'object', + 'properties' => [ + 'Connections' => [ + 'description' => '返回连接配置的列表信息', + 'type' => 'array', + 'items' => [ + 'description' => '返回的连接配置的数据结构', + 'type' => 'object', + 'properties' => [ + 'ConnectionName' => [ + 'description' => '连接配置名称', + 'type' => 'string', + 'example' => 'connection-name', + ], + 'Description' => [ + 'description' => '连接配置描述信息', + 'type' => 'string', + 'example' => '连接配置描述信息', + ], + 'Id' => [ + 'description' => '连接配置的id', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1141093', + ], + 'GmtCreate' => [ + 'description' => '创建数据源的时间戳', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1592838994234', + ], + 'NetworkParameters' => [ + 'description' => '网络配置的数据结构', + 'type' => 'object', + 'properties' => [ + 'NetworkType' => [ + 'description' => '- 公网 :PublicNetwork'."\n" + ."\n" + .'- 专有网络 :PrivateNetwork', + 'type' => 'string', + 'example' => 'PublicNetwork', + ], + 'VpcId' => [ + 'description' => '专有网络VPC的ID。', + 'type' => 'string', + 'example' => 'eb-test/vpc-bp1symadadwnwgmqud', + ], + 'VswitcheId' => [ + 'description' => '交换机id', + 'type' => 'string', + 'example' => 'vsw-bp1iu4x7aeradadown1og8,vsw-bp193sqmadadlaszpeqbt2c', + ], + 'SecurityGroupId' => [ + 'description' => '安全组ID。', + 'type' => 'string', + 'example' => 'eb-167adad548759-security_grop/sg-bp1addad26peuh9qh9rtyb', + ], + ], + ], + 'AuthParameters' => [ + 'description' => '权限数据结构', + 'type' => 'object', + 'properties' => [ + 'AuthorizationType' => [ + 'description' => '权限类型 :'."\n" + ."\n" + .'- BASIC:BASIC_AUTH'."\n" + ."\n" + .'- API KEY :API_KEY_AUTH'."\n" + ."\n" + .'- OAUTH :OAUTH_AUTH', + 'type' => 'string', + 'example' => 'BASIC_AUTH', + ], + 'ApiKeyAuthParameters' => [ + 'description' => 'API KEY 的数据结构', + 'type' => 'object', + 'properties' => [ + 'ApiKeyName' => [ + 'description' => 'Api key 的key值', + 'type' => 'string', + 'example' => 'Token', + ], + 'ApiKeyValue' => [ + 'description' => 'Api key的value值', + 'type' => 'string', + 'example' => 'asdkjnqkwejooa', + ], + ], + ], + 'BasicAuthParameters' => [ + 'description' => 'Basic 权限的数据结构', + 'type' => 'object', + 'properties' => [ + 'Password' => [ + 'description' => 'basic 鉴权的密码', + 'type' => 'string', + 'example' => 'admin', + ], + 'Username' => [ + 'description' => 'basic 鉴权的用户名', + 'type' => 'string', + 'example' => 'admin', + ], + ], + ], + 'OAuthParameters' => [ + 'description' => 'OAuth请求参数数据结构', + 'type' => 'object', + 'properties' => [ + 'AuthorizationEndpoint' => [ + 'description' => 'OAuth获取token的请求地址', + 'type' => 'string', + 'example' => 'http://localhost:8080/oauth/token', + ], + 'HttpMethod' => [ + 'description' => '探测类型的方法。取值:'."\n" + ."\n" + .'- GET'."\n" + .'- POST'."\n" + .'- HEAD', + 'type' => 'string', + 'example' => 'POST', + ], + 'ClientParameters' => [ + 'description' => '客户参数数据结构', + 'type' => 'object', + 'properties' => [ + 'ClientID' => [ + 'description' => '客户端的ID', + 'type' => 'string', + 'example' => 'ClientID', + ], + 'ClientSecret' => [ + 'description' => '应用的客户端密钥secret。', + 'type' => 'string', + 'example' => 'ClientSecret', + ], + ], + ], + 'OAuthHttpParameters' => [ + 'description' => 'Oauth鉴权的请求参数', + 'type' => 'object', + 'properties' => [ + 'BodyParameters' => [ + 'description' => '请求参数的数据结构列表', + 'type' => 'array', + 'items' => [ + 'description' => 'body请求参数的数据结构', + 'type' => 'object', + 'properties' => [ + 'IsValueSecret' => [ + 'description' => '是否是鉴权', + 'type' => 'string', + 'example' => 'false', + ], + 'Key' => [ + 'description' => 'body请求参数的key', + 'type' => 'string', + 'example' => 'name', + ], + 'Value' => [ + 'description' => 'body请求参数的value', + 'type' => 'string', + 'example' => 'demo', + ], + ], + ], + ], + 'HeaderParameters' => [ + 'description' => '请求头的参数列表', + 'type' => 'array', + 'items' => [ + 'description' => '请求头的参数数据结构', + 'type' => 'object', + 'properties' => [ + 'IsValueSecret' => [ + 'description' => '是否是鉴', + 'type' => 'string', + 'example' => 'false', + ], + 'Key' => [ + 'description' => '请求头参数key', + 'type' => 'string', + 'example' => 'name', + ], + 'Value' => [ + 'description' => '请求头参数value', + 'type' => 'string', + 'example' => 'demo', + ], + ], + ], + ], + 'QueryStringParameters' => [ + 'description' => '请求路径参数的数据结构', + 'type' => 'array', + 'items' => [ + 'description' => '请求路径参数的实体类', + 'type' => 'object', + 'properties' => [ + 'IsValueSecret' => [ + 'description' => '是否是鉴', + 'type' => 'string', + 'example' => 'false', + ], + 'Key' => [ + 'description' => '请求路径参数key', + 'type' => 'string', + 'example' => 'name', + ], + 'Value' => [ + 'description' => '请求路径参数value', + 'type' => 'string', + 'example' => 'demo', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'NextToken' => [ + 'description' => '如果还有多余的返回值则会返回NextToken。', + 'type' => 'string', + 'example' => '0', + ], + 'Total' => [ + 'description' => '总条数。', + 'type' => 'number', + 'format' => 'float', + 'example' => '1', + ], + 'MaxResults' => [ + 'description' => '页大小', + 'type' => 'number', + 'format' => 'float', + 'example' => '10', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 409 => [ + [ + 'errorCode' => 'RequestParameterException', + 'errorMessage' => 'Request parameter exception', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'InternalError', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E3619976-8714-5D88-BBA2-6983D798A8BB\\",\\n \\"Message\\": \\"success\\",\\n \\"Code\\": \\"Success\\",\\n \\"Data\\": {\\n \\"Connections\\": [\\n {\\n \\"ConnectionName\\": \\"connection-name\\",\\n \\"Description\\": \\"连接配置描述信息\\",\\n \\"Id\\": 1141093,\\n \\"GmtCreate\\": 1592838994234,\\n \\"NetworkParameters\\": {\\n \\"NetworkType\\": \\"PublicNetwork\\",\\n \\"VpcId\\": \\"eb-test/vpc-bp1symadadwnwgmqud\\",\\n \\"VswitcheId\\": \\"vsw-bp1iu4x7aeradadown1og8,vsw-bp193sqmadadlaszpeqbt2c\\",\\n \\"SecurityGroupId\\": \\"eb-167adad548759-security_grop/sg-bp1addad26peuh9qh9rtyb\\"\\n },\\n \\"AuthParameters\\": {\\n \\"AuthorizationType\\": \\"BASIC_AUTH\\",\\n \\"ApiKeyAuthParameters\\": {\\n \\"ApiKeyName\\": \\"Token\\",\\n \\"ApiKeyValue\\": \\"asdkjnqkwejooa\\"\\n },\\n \\"BasicAuthParameters\\": {\\n \\"Password\\": \\"admin\\",\\n \\"Username\\": \\"admin\\"\\n },\\n \\"OAuthParameters\\": {\\n \\"AuthorizationEndpoint\\": \\"http://localhost:8080/oauth/token\\",\\n \\"HttpMethod\\": \\"POST\\",\\n \\"ClientParameters\\": {\\n \\"ClientID\\": \\"ClientID\\",\\n \\"ClientSecret\\": \\"ClientSecret\\"\\n },\\n \\"OAuthHttpParameters\\": {\\n \\"BodyParameters\\": [\\n {\\n \\"IsValueSecret\\": \\"false\\",\\n \\"Key\\": \\"name\\",\\n \\"Value\\": \\"demo\\"\\n }\\n ],\\n \\"HeaderParameters\\": [\\n {\\n \\"IsValueSecret\\": \\"false\\",\\n \\"Key\\": \\"name\\",\\n \\"Value\\": \\"demo\\"\\n }\\n ],\\n \\"QueryStringParameters\\": [\\n {\\n \\"IsValueSecret\\": \\"false\\",\\n \\"Key\\": \\"name\\",\\n \\"Value\\": \\"demo\\"\\n }\\n ]\\n }\\n }\\n }\\n }\\n ],\\n \\"NextToken\\": \\"0\\",\\n \\"Total\\": 1,\\n \\"MaxResults\\": 10\\n }\\n}","type":"json"}]', + 'title' => '获取连接配置列表', + 'description' => '获取连接配置列表。', + ], + 'UpdateConnection' => [ + 'summary' => '更新连接配置信息。', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '163692', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeRBNSGL', + ], + ], + 'parameters' => [ + [ + 'name' => 'ConnectionName', + 'in' => 'query', + 'schema' => [ + 'description' => '要更新的连接名称。最大长度127个字符。最小长度2个字符。', + 'type' => 'string', + 'required' => true, + 'example' => 'connection-name', + 'maxLength' => 127, + 'minLength' => 2, + ], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => [ + 'description' => '描述信息。最大长度255个字符。', + 'type' => 'string', + 'required' => false, + 'example' => '连接配置描述信息', + 'maxLength' => 255, + ], + ], + [ + 'name' => 'NetworkParameters', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => '网络配置的数据结构。', + 'type' => 'object', + 'properties' => [ + 'NetworkType' => [ + 'description' => '- 公网 :PublicNetwork'."\n" + ."\n" + .'- 专有网络 :PrivateNetwork'."\n" + ."\n\n" + .'> 选择专有网络时,VpcId、VswitcheId和SecurityGroupId必填。', + 'type' => 'string', + 'required' => true, + 'example' => 'PublicNetwork', + ], + 'VpcId' => [ + 'description' => '专有网络VPC的ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'eb-test/vpc-bp1symadadwnwgmqud'."\n", + ], + 'VswitcheId' => [ + 'description' => '交换机ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'vsw-bp1iu4x7aeradadown1og8,vsw-bp193sqmadadlaszpeqbt2c', + ], + 'SecurityGroupId' => [ + 'description' => '安全组ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'eb-167adad548759-security_grop/sg-bp1addad26peuh9qh9rtyb', + ], + ], + 'required' => true, + ], + ], + [ + 'name' => 'AuthParameters', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => '鉴权数据结构。', + 'type' => 'object', + 'properties' => [ + 'AuthorizationType' => [ + 'description' => '鉴权类型 :'."\n" + ."\n" + .'- BASIC:BASIC_AUTH。这种授权方式是浏览器遵守HTTP协议实现的基本授权方式,HTTP协议进行通信的过程中,HTTP协议定义了基本认证允许HTTP服务器对客户端进行用户身份证的方法。在请求头中添加 Authorization :Basic空一格Base64加密(`用户名:密码`)固定格式。Username和Password是必填的。'."\n" + ."\n" + .'- API KEY :API_KEY_AUTH。固定的格式在请求头中添加Token :Token值。ApiKeyName和ApiKeyValue是必填的'."\n" + ."\n" + .'- OAUTH :OAUTH_AUTH。OAuth2.0是一种授权机制,正常情况,不使用OAuth2.0等授权机制的系统,客户端是可以直接访问资源服务器的资源的,为了用户安全访问数据,在访问中间添加了Access Token机制。客户端需要携带Access Token去访问受到保护的资源。所以OAuth2.0确保了资源不被恶意客户端访问,从而提高了系统的安全性。AuthorizationEndpoint、OAuthHttpParameters和HttpMethod是必填的。', + 'type' => 'string', + 'required' => false, + 'example' => 'BASIC_AUTH', + ], + 'ApiKeyAuthParameters' => [ + 'description' => 'API Key鉴权的数据结构。', + 'type' => 'object', + 'properties' => [ + 'ApiKeyName' => [ + 'description' => 'API Key的key值。', + 'type' => 'string', + 'required' => false, + 'example' => 'name', + 'maxLength' => 127, + ], + 'ApiKeyValue' => [ + 'description' => 'API Value的value值。', + 'type' => 'string', + 'required' => false, + 'example' => 'demo', + 'maxLength' => 127, + ], + ], + 'required' => false, + ], + 'BasicAuthParameters' => [ + 'description' => 'Basic鉴权的数据结构。', + 'type' => 'object', + 'properties' => [ + 'Password' => [ + 'description' => 'basic鉴权的密码。', + 'type' => 'string', + 'required' => false, + 'example' => 'admin', + 'maxLength' => 127, + ], + 'Username' => [ + 'description' => 'basic鉴权的用户名。', + 'type' => 'string', + 'required' => false, + 'example' => 'admin', + 'maxLength' => 127, + ], + ], + 'required' => false, + ], + 'OAuthParameters' => [ + 'description' => 'OAuth鉴权参数数据结构。', + 'type' => 'object', + 'properties' => [ + 'AuthorizationEndpoint' => [ + 'description' => 'OAuth获取token的请求地址。最大长度127个字符。', + 'type' => 'string', + 'required' => false, + 'example' => 'http://localhost:8080/oauth/token', + 'maxLength' => 127, + ], + 'ClientParameters' => [ + 'description' => '客户参数数据结构。', + 'type' => 'object', + 'properties' => [ + 'ClientID' => [ + 'description' => '客户端的ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'ClientID', + 'maxLength' => 127, + ], + 'ClientSecret' => [ + 'description' => '应用的客户端密钥secret。', + 'type' => 'string', + 'required' => false, + 'example' => 'ClientSecret', + 'maxLength' => 127, + ], + ], + 'required' => false, + ], + 'HttpMethod' => [ + 'description' => '探测类型的方法。取值:'."\n" + ."\n" + .'- GET'."\n" + .'- POST'."\n" + .'- HEAD'."\n" + .'- DELETE'."\n" + .'- PUT'."\n" + .'- PATCH', + 'type' => 'string', + 'required' => false, + 'example' => 'POST', + ], + 'OAuthHttpParameters' => [ + 'description' => 'OAuth鉴权的请求参数。', + 'type' => 'object', + 'properties' => [ + 'BodyParameters' => [ + 'description' => '请求参数的数据结构列表。', + 'type' => 'array', + 'items' => [ + 'description' => 'body请求参数的数据结构。', + 'type' => 'object', + 'properties' => [ + 'IsValueSecret' => [ + 'description' => '是否是鉴权。', + 'type' => 'string', + 'required' => false, + 'example' => 'false', + ], + 'Key' => [ + 'description' => 'body请求参数的key。', + 'type' => 'string', + 'required' => false, + 'example' => 'name', + ], + 'Value' => [ + 'description' => 'body请求参数的value。', + 'type' => 'string', + 'required' => false, + 'example' => 'demo', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'HeaderParameters' => [ + 'description' => '请求头的参数列表。', + 'type' => 'array', + 'items' => [ + 'description' => '请求头的参数数据结构。', + 'type' => 'object', + 'properties' => [ + 'IsValueSecret' => [ + 'description' => '是否是鉴权。', + 'type' => 'string', + 'required' => false, + 'example' => 'false', + ], + 'Key' => [ + 'description' => '请求头参数key。', + 'type' => 'string', + 'required' => false, + 'example' => 'name', + ], + 'Value' => [ + 'description' => '请求头参数value。', + 'type' => 'string', + 'required' => false, + 'example' => 'demo', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'QueryStringParameters' => [ + 'description' => '请求路径参数的数据结构。', + 'type' => 'array', + 'items' => [ + 'description' => '请求路径参数的数据结构。', + 'type' => 'object', + 'properties' => [ + 'IsValueSecret' => [ + 'description' => '是否是鉴权。', + 'type' => 'string', + 'required' => false, + 'example' => 'false', + ], + 'Key' => [ + 'description' => '请求路径参数key。', + 'type' => 'string', + 'required' => false, + 'example' => 'name', + ], + 'Value' => [ + 'description' => '请求路径参数value。', + 'type' => 'string', + 'required' => false, + 'example' => 'demo', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '本次请求的ID。', + 'type' => 'string', + 'example' => '8346BE8F-40F3-533D-A0B8-1359C31BD5BA', + ], + 'Message' => [ + 'description' => '返回信息。', + 'type' => 'string', + 'example' => 'success', + ], + 'Code' => [ + 'description' => '接口状态或POP错误码。取值说明如下:200:成功。', + 'type' => 'string', + 'example' => '200', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 409 => [ + [ + 'errorCode' => 'RequestParameterException', + 'errorMessage' => 'Request parameter exception', + ], + [ + 'errorCode' => 'ConnectionNotExist', + 'errorMessage' => 'The Connection not existed!', + ], + [ + 'errorCode' => 'SecretManagerAPIDeleteSecretFailed', + 'errorMessage' => 'Delete secret manager api secret failed!', + ], + [ + 'errorCode' => 'BasicRequiredParameterIsEmpty', + 'errorMessage' => 'Basic required parameters are empty, the required parameters are username and password!', + ], + [ + 'errorCode' => 'BasicUserNameLengthExceed', + 'errorMessage' => 'Basic username length cannot exceed 127!', + ], + [ + 'errorCode' => 'BasicPassWordLengthExceed', + 'errorMessage' => 'Basic password length cannot exceed 127!', + ], + [ + 'errorCode' => 'ApiKeyRequiredParameterIsEmpty', + 'errorMessage' => 'Api Key required parameters are empty, the required parameters are apiKeyName and apiKeyValue!', + ], + [ + 'errorCode' => 'ApiKeyNameLengthExceed', + 'errorMessage' => 'Api key name length cannot exceed 127!', + ], + [ + 'errorCode' => 'ApiKeyValueLengthExceed', + 'errorMessage' => 'Api key value length cannot exceed 127!', + ], + [ + 'errorCode' => 'OAuthRequiredParameterIsEmpty', + 'errorMessage' => 'OAuth required parameters are empty, the required parameters are authorizationEndpoint and httpMethod!', + ], + [ + 'errorCode' => 'AuthorizationEndpointLengthExceed', + 'errorMessage' => 'Authorization endpoint length cannot exceed 127!', + ], + [ + 'errorCode' => 'ClientIDLengthExceed', + 'errorMessage' => 'ClientID length cannot exceed 127!', + ], + [ + 'errorCode' => 'ClientSecretLengthExceed', + 'errorMessage' => 'ClientSecret length cannot exceed 127!', + ], + [ + 'errorCode' => 'OauthHttpParametersEmpty', + 'errorMessage' => 'OauthHttpParameters is Empty.', + ], + [ + 'errorCode' => 'SecretManagerAPICreateSecretNameFailed', + 'errorMessage' => 'Create secret manager api secret name failed!', + ], + [ + 'errorCode' => 'SecretManagerAPIGetSecretValueFailed', + 'errorMessage' => 'Get secret manager api secret value failed!', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'InternalError', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8346BE8F-40F3-533D-A0B8-1359C31BD5BA\\",\\n \\"Message\\": \\"success\\",\\n \\"Code\\": \\"200\\"\\n}","type":"json"}]', + 'title' => '更新连接配置信息', + 'description' => '用于更新连接配置。', + ], + 'CreateServiceLinkedRoleForProduct' => [ + 'summary' => '根据产品关联的 SLR名称创建SLR。', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '38602', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeHELDSX', + 'FEATUREeventbridgeR7SE45', + 'FEATUREeventbridgeS2QNZ9', + 'FEATUREeventbridge6VIARK', + 'FEATUREeventbridgeWAGKXS', + ], + ], + 'parameters' => [ + [ + 'name' => 'ProductName', + 'in' => 'query', + 'schema' => [ + 'description' => '云产品名称或者云产品关联的SLR名称。'."\n" + ."\n" + .'- AliyunServiceRoleForEventBridgeSendToFC:将事件投递到FC服务。'."\n" + .'- AliyunServiceRoleForEventBridgeSendToSMS:将事件作为短信投递到阿里云短信服务。'."\n" + .'- AliyunServiceRoleForEventBridgeSendToDirectMail:将事件作为邮件投递到阿里云邮件服务。'."\n" + .'- AliyunServiceRoleForEventBridgeSourceRocketMQ:将阿里云RocketMQ实例中的消费消息集成到EventBridge。'."\n" + .'- AliyunServiceRoleForEventBridgeSourceMNS:将阿里云消息服务(MNS)集成到EventBridge。'."\n" + .'- AliyunServiceRoleForEventBridgeConnectVPC:允许EventBridge访问用户VPC网络。'."\n" + .'- AliyunServiceRoleForEventBridgeSourceActionTrail:从阿里云操作审计(ActionTrail)中获取操作记录作为事件源。'."\n" + .'- AliyunServiceRoleForEventBridgeSourceRabbitMQ:将阿里云消息队列RabbitMQ实例集成到EventBridge。'."\n" + .'- AliyunServiceRoleForEventBridgeSendToRabbitMQ:将EventBridge事件投递到阿里云消息队列RabbitMQ实例。'."\n" + .'- AliyunServiceRoleForEventBridgeSendToRocketMQ:将EventBridge事件投递到阿里云消息队列RocketMQ实例。'."\n" + .'- AliyunServiceRoleForEventBridgeSourceCMS:将阿里云云监控(CMS)集成到EventBridge。'."\n" + .'- AliyunServiceRoleForEventBridgeSendToKafka:将EventBridge事件投递到阿里云消息队列Kafka版集群。'."\n" + .'- AliyunServiceRoleForEventBridgeSourceKafka:将阿里云消息队列Kafka版集成到EventBridge。'."\n" + .'- AliyunServiceRoleForEventBridgeSendToRDS:将EventBridge事件投递到阿里云关系型数据库(RDS)实例。'."\n" + .'- AliyunServiceRoleForEventBridgeSendToSAE:将EventBridge事件投递到应用引擎(SAE)应用。'."\n" + .'- AliyunServiceRoleForEventBridgeSourceMqtt:将微消息队列MQTT版集成到EventBridge。'."\n" + .'- AliyunServiceRoleForEventBridgeSourceSLS:将日志服务SLS集成到EventBridge。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'AliyunServiceRoleForEventBridgeSendToMNS', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '返回信息。', + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '响应消息,若成功请求为success', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'description' => '阿里云为该请求生成的唯一标识符。', + 'type' => 'string', + 'example' => 'C36345A1-75F3-5A1A-BFCF-33B8271971FA', + ], + 'Code' => [ + 'description' => '接口返回码:Success:表示成功。 其它:表示错误码。错误码详情,请参见错误码。', + 'type' => 'string', + 'example' => 'Success', + ], + 'Success' => [ + 'description' => '操作成功返回true。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'HttpCode' => [ + 'description' => 'HTTP状态码。取值:'."\n" + ."\n" + .'- **2xx**:2xx状态码。'."\n" + .'- **3xx**:3xx状态码。'."\n" + .'- **4xx**:4xx状态码。'."\n" + .'- **5xx**:5xx状态码。'."\n" + ."\n" + .'如果不传该参数,默认查询以上全部HTTP状态码。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"C36345A1-75F3-5A1A-BFCF-33B8271971FA\\",\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true,\\n \\"HttpCode\\": 200\\n}","type":"json"}]', + 'title' => '根据产品关联的 SLR名称创建SLR', + 'description' => '根据产品关联的 SLR名称创建SLR。', + ], + 'ListTargets' => [ + 'summary' => '查询一个事件规则的所有投递目标。', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeCode' => '38609', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeS2QNZ9', + ], + ], + 'parameters' => [ + [ + 'name' => 'EventBusName', + 'in' => 'query', + 'schema' => [ + 'description' => '事件总线的名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'my-event-bus', + ], + ], + [ + 'name' => 'Limit', + 'in' => 'query', + 'schema' => [ + 'description' => '限定每次返回的最大条数。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'RuleName', + 'in' => 'query', + 'schema' => [ + 'description' => '事件规则名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'tf-testacc-rule', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'description' => '当指定Limit时,如果还有多余的返回值则会返回NextToken。', + 'type' => 'string', + 'required' => false, + 'example' => '0', + ], + ], + [ + 'name' => 'Arn', + 'in' => 'query', + 'schema' => [ + 'description' => 'ARN资源描述。', + 'type' => 'string', + 'required' => false, + 'example' => 'acs:fc:cn-hangzhou:118609547428****:services/fc-connector.a1/functions/event', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '返回信息。', + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '错误信息。', + 'type' => 'string', + 'example' => 'EventRuleNotExisted', + ], + 'RequestId' => [ + 'description' => '请求ID,阿里云为该请求生成的唯一标识符。', + 'type' => 'string', + 'example' => '5DAF96FB-A4B6-548C-B999-0BFDCB22****', + ], + 'Data' => [ + 'description' => '返回结果。', + 'type' => 'object', + 'properties' => [ + 'Targets' => [ + 'description' => '事件目标。', + 'type' => 'array', + 'items' => [ + 'description' => '目标target', + 'type' => 'object', + 'properties' => [ + 'Type' => [ + 'description' => '事件目标类型。更多信息,请参见[事件目标参数](~~183698~~)。', + 'type' => 'string', + 'example' => 'acs.fc.function ', + ], + 'Endpoint' => [ + 'description' => '投递端点链接。', + 'type' => 'string', + 'example' => 'acs:fc:cn-hangzhou:123456789098****:services/guide.LATEST/functions/HelloFC ', + ], + 'ParamList' => [ + 'description' => '事件目标的参数。', + 'type' => 'array', + 'items' => [ + 'description' => '事件目标的参数。', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '事件目标参数的值。', + 'type' => 'string', + 'example' => '{\\"key\\"=\\"value\\"}', + ], + 'Template' => [ + 'description' => '事件目标参数模板样式。', + 'type' => 'string', + 'example' => 'The value of ${key} is ${value}! ', + ], + 'Form' => [ + 'description' => '事件目标参数的格式。', + 'type' => 'string', + 'example' => 'TEMPLATE', + ], + 'ResourceKey' => [ + 'description' => '事件目标的资源参数。', + 'type' => 'string', + 'example' => 'body', + ], + ], + ], + ], + 'ErrorsTolerance' => [ + 'description' => '容错策略。取值说明如下: ALL:允许容错。允许异常容错,当异常发生时不会阻塞执行,超过重试策略后会根据配置将消息投递至死信队列或直接丢弃。 NONE:禁止容错。不允许容错,当异常发生并超过重试策略配置时会阻塞执行。', + 'type' => 'string', + 'example' => 'ALL', + ], + 'Id' => [ + 'description' => '事件目标ID。', + 'type' => 'string', + 'example' => '1453', + ], + 'EventBusName' => [ + 'description' => '事件总线的名称。', + 'type' => 'string', + 'example' => 'sls-beijing-one1-tf', + ], + 'RuleName' => [ + 'description' => '事件规则的名称。', + 'type' => 'string', + 'example' => 'rule-uKAK2', + ], + 'ConcurrentConfig' => [ + 'description' => '并发控制配置。', + 'type' => 'object', + 'properties' => [ + 'Concurrency' => [ + 'description' => '允许最大的并发量。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '10', + ], + ], + ], + ], + ], + ], + 'NextToken' => [ + 'description' => '如果还有多余的返回值则会返回NextToken。', + 'type' => 'string', + 'example' => '1', + ], + 'Total' => [ + 'description' => '总条数。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '18', + ], + ], + ], + 'Code' => [ + 'description' => '接口返回码:'."\n" + .'- Success:表示成功。'."\n" + .'- 其它:表示错误码。错误码详情,请参见错误码。', + 'type' => 'string', + 'example' => 'Success', + ], + 'Success' => [ + 'description' => '请求是否成功,返回值如下:'."\n" + .'- true:请求成功。'."\n" + .'- false:请求失败。', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"EventRuleNotExisted\\",\\n \\"RequestId\\": \\"5DAF96FB-A4B6-548C-B999-0BFDCB22****\\",\\n \\"Data\\": {\\n \\"Targets\\": [\\n {\\n \\"Type\\": \\"acs.fc.function \\",\\n \\"Endpoint\\": \\"acs:fc:cn-hangzhou:123456789098****:services/guide.LATEST/functions/HelloFC \\",\\n \\"ParamList\\": [\\n {\\n \\"Value\\": \\"{\\\\\\\\\\\\\\"key\\\\\\\\\\\\\\"=\\\\\\\\\\\\\\"value\\\\\\\\\\\\\\"}\\",\\n \\"Template\\": \\"The value of ${key} is ${value}! \\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"ResourceKey\\": \\"body\\"\\n }\\n ],\\n \\"ErrorsTolerance\\": \\"ALL\\",\\n \\"Id\\": \\"1453\\",\\n \\"EventBusName\\": \\"sls-beijing-one1-tf\\",\\n \\"RuleName\\": \\"rule-uKAK2\\",\\n \\"ConcurrentConfig\\": {\\n \\"Concurrency\\": 10\\n }\\n }\\n ],\\n \\"NextToken\\": \\"1\\",\\n \\"Total\\": 18\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => '查询一个事件规则的所有投递目标', + ], + 'TestEventPattern' => [ + 'summary' => '测试事件模式是否与提供的 JSON 格式事件匹配。', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '163686', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeS2QNZ9', + ], + ], + 'parameters' => [ + [ + 'name' => 'Event', + 'in' => 'formData', + 'schema' => [ + 'description' => '事件', + 'type' => 'string', + 'required' => true, + 'example' => '{'."\n" + .' "datacontenttype": "application/json;charset=utf-8",'."\n" + .' "aliyunaccountid": "*****",'."\n" + .' "aliyunpublishtime": "2023-04-****:54:57.939Z",'."\n" + .' "data": {'."\n" + .' "resourceEventType": "****",'."\n" + .' "resourceCreateTime": "****",'."\n" + .' "resourceId": "sls-code-***-debug",'."\n" + .' "captureTime": "***"'."\n" + .' },'."\n" + .' "aliyunoriginalaccountid": "****",'."\n" + .' "specversion": "1.0",'."\n" + .' "aliyuneventbusname": "****",'."\n" + .' "id": "295e6bd2-bb72-4f70-****-204a0680ee41",'."\n" + .' "source": "acs.sls",'."\n" + .' "time": "2023-04-***:37:56Z",'."\n" + .' "aliyunregionid": "cn-***",'."\n" + .' "type": "sls:Config:****"'."\n" + .'}', + ], + ], + [ + 'name' => 'EventPattern', + 'in' => 'formData', + 'schema' => [ + 'description' => '事件模式', + 'type' => 'string', + 'required' => true, + 'example' => '{"key1": "value1"}', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '请求ID', + 'type' => 'string', + 'example' => '96D7C0AB-DCE5-5E82-96B8-4725E1706BB1', + ], + 'Message' => [ + 'description' => '错误信息', + 'type' => 'string', + 'example' => '无', + ], + 'Code' => [ + 'description' => '接口返回码:Success:表示成功。 其它:表示错误码。错误码详情,请参见错误码。', + 'type' => 'string', + 'example' => 'Success', + ], + 'Success' => [ + 'description' => '操作成功返回true。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Data' => [ + 'description' => '返回结果。', + 'type' => 'object', + 'properties' => [ + 'Result' => [ + 'description' => 'true表示事件模式与提供的 JSON 格式事件匹配。false 表示不匹配。', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"96D7C0AB-DCE5-5E82-96B8-4725E1706BB1\\",\\n \\"Message\\": \\"无\\",\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"Result\\": true\\n }\\n}","type":"json"}]', + 'title' => '测试事件模式是否与提供的 JSON 格式事件匹配', + 'description' => '测试事件模式是否与提供的 JSON 格式事件匹配。', + ], + 'EventCenterQueryEvents' => [ + 'summary' => 'EventCenterQueryEvents', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '220116', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeNPJI6M', + 'FEATUREeventbridgeKIJSNP', + ], + ], + 'parameters' => [ + [ + 'name' => 'BusName', + 'in' => 'query', + 'schema' => [ + 'description' => '总线名称', + 'type' => 'string', + 'required' => false, + 'example' => 'default', + 'default' => 'default', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'description' => '用于请求下一页检索的结果。', + 'type' => 'string', + 'required' => false, + 'example' => '100', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => [ + 'description' => '允许返回的最大结果数目。 取值范围:0~10000,默认100。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '10000', + 'minimum' => '0', + 'example' => '100', + 'default' => '100', + ], + ], + [ + 'name' => 'Body', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => 'Body参数', + 'type' => 'object', + 'properties' => [ + 'SchemaId' => [ + 'description' => 'Schema ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'ecs:GeneralSchema', + ], + 'QueryType' => [ + 'description' => '查询类型:'."\n" + ."\n" + .'- **timeseries**:查询时序数据'."\n" + .'- **table**:查询表格数据'."\n" + .'- **timeseries_and_table**:同时查询时序数据和表格数据', + 'type' => 'string', + 'required' => true, + 'example' => 'timeseries_and_table', + 'enum' => [ + 'timeseries', + 'table', + 'timeseries_and_table', + ], + ], + 'Parameters' => [ + 'description' => '查询参数。', + 'type' => 'object', + 'properties' => [ + 'Breakdowns' => [ + 'description' => '将数据集按照特定维度(列名)进一步拆分。', + 'type' => 'array', + 'items' => [ + 'description' => '可作为拆分维度的列名。', + 'type' => 'string', + 'required' => false, + 'example' => 'source', + ], + 'required' => false, + ], + 'Calculations' => [ + 'description' => '对指定的列用操作符计算。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Op' => [ + 'description' => '操作符。', + 'type' => 'string', + 'required' => false, + 'example' => 'COUNT_DISTINCT', + 'enum' => [ + 'COUNT', + 'SUM', + 'AVG', + 'COUNT_DISTINCT', + 'MAX', + 'MIN', + 'P50', + 'P90', + 'P95', + 'P99', + ], + ], + 'Column' => [ + 'description' => '列名。', + 'type' => 'string', + 'required' => false, + 'example' => 'source', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'Filters' => [ + 'description' => '筛选条件列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Column' => [ + 'description' => '列名。', + 'type' => 'string', + 'required' => false, + 'example' => 'source', + ], + 'Op' => [ + 'description' => '操作符。', + 'type' => 'string', + 'required' => false, + 'example' => '=', + 'enum' => [ + '=', + '!=', + '>', + '>=', + '<', + '<=', + 'exists', + 'does-not-exist', + 'starts-with', + 'does-not-start-with', + 'contains', + 'does-not-contain', + 'in', + 'not-in', + 'text-match', + ], + ], + 'Values' => [ + 'description' => '与操作符配合使用的值。', + 'type' => 'array', + 'items' => [ + 'description' => '如值为字符串,则需要用加上单引号。', + 'type' => 'string', + 'required' => false, + 'example' => '\'acs.ecs\'', + ], + 'required' => false, + ], + 'NestedFilterCombination' => [ + 'type' => 'string', + 'required' => false, + 'default' => 'AND', + 'enum' => [ + 'AND', + 'OR', + ], + 'example' => 'AND', + ], + 'NestedFilters' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Column' => [ + 'type' => 'string', + 'required' => false, + ], + 'Op' => [ + 'type' => 'string', + 'required' => false, + 'enum' => [ + '=', + '!=', + '>', + '>=', + '<', + '<=', + 'exists', + 'does-not-exist', + 'starts-with', + 'does-not-start-with', + 'contains', + 'does-not-contain', + 'in', + 'not-in', + 'text-match', + ], + ], + 'Values' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + 'required' => false, + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'FilterCombination' => [ + 'description' => '筛选条件组合的逻辑。', + 'type' => 'string', + 'required' => false, + 'example' => 'AND', + 'default' => 'AND', + 'enum' => [ + 'AND', + 'OR', + ], + ], + 'Granularity' => [ + 'description' => '时间粒度,即查询时序数据的最小时间单元,单位秒,最小值为1。'."\n" + .'此参数为建议值,实际粒度以返回值为准。', + 'type' => 'integer', + 'required' => false, + 'example' => '30', + ], + 'Orders' => [ + 'description' => '对查询结果排序,仅对QueryType为table的查询有意义。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Op' => [ + 'description' => '操作符。', + 'type' => 'string', + 'required' => false, + 'example' => 'AVG', + 'enum' => [ + 'COUNT', + 'SUM', + 'AVG', + 'COUNT_DISTINCT', + 'MAX', + 'MIN', + 'P50', + 'P90', + 'P95', + 'P99', + ], + ], + 'Column' => [ + 'description' => '列名。', + 'type' => 'string', + 'required' => false, + 'example' => 'source', + ], + 'Desc' => [ + 'description' => '是否降序排列', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'Offset' => [ + 'description' => '本次查询的起始位置,从 0 开始。', + 'type' => 'integer', + 'required' => false, + 'example' => '0', + ], + 'Limit' => [ + 'description' => '查询事件的最大个数,取值范围为1~10000。', + 'type' => 'integer', + 'required' => false, + 'example' => '100', + ], + 'TimeRange' => [ + 'description' => '时间范围,单位毫秒,最小值1000。', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1000000', + ], + 'StartTime' => [ + 'description' => '查询事件的开始时间戳,单位毫秒。', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'minimum' => '946684800000', + 'example' => '1687860901814', + ], + 'EndTime' => [ + 'description' => '查询事件的结束时间戳,单位毫秒。', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'minimum' => '946684800000', + 'example' => '1687861201814', + ], + ], + 'required' => true, + ], + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '错误信息。', + 'type' => 'string', + 'example' => 'Specified parameter Limit is not valid.', + ], + 'RequestId' => [ + 'description' => '本次请求的ID。', + 'type' => 'string', + 'example' => '5DAF96FB-A4B6-548C-B999-XXXXXXXX', + ], + 'Data' => [ + 'description' => '返回结果。', + 'type' => 'object', + 'properties' => [ + 'NextToken' => [ + 'title' => '表示当前调用返回读取到的位置。空代表数据已经读取完毕。', + 'description' => '表示当前调用返回读取到的位置。空代表数据已经读取完毕。', + 'type' => 'string', + 'example' => '100', + ], + 'MaxResults' => [ + 'title' => '本次请求所返回的最大记录条数', + 'description' => '本次请求所返回的最大记录条数', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'TotalCount' => [ + 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回', + 'description' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '76', + ], + 'TimeSeries' => [ + 'description' => '对应查询类型为timeseries的查询结果。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'RowData' => [ + 'description' => '查询结果的条目,以k-v对表示。', + 'type' => 'object', + 'example' => '{'."\n" + .' "id":"xxx",'."\n" + .' "source":"acs.ecs"'."\n" + .'}', + ], + 'Time' => [ + 'description' => '用于显示时间戳。', + 'type' => 'string', + 'example' => '1683561600000', + ], + ], + ], + ], + 'Table' => [ + 'description' => '对应查询类型为table的查询结果。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'RowData' => [ + 'description' => '查询结果的条目,以k-v对表示。', + 'type' => 'object', + 'example' => '{'."\n" + .' "id":"xxx",'."\n" + .' "source":"acs.ecs"'."\n" + .'}', + ], + ], + ], + ], + ], + ], + 'Code' => [ + 'description' => '接口状态或POP错误码。取值说明如下:Success:成功。', + 'type' => 'string', + 'example' => 'Success', + ], + 'Success' => [ + 'description' => '操作是否成功。true表示成功,false表示失败。', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"Specified parameter Limit is not valid.\\",\\n \\"RequestId\\": \\"5DAF96FB-A4B6-548C-B999-XXXXXXXX\\",\\n \\"Data\\": {\\n \\"NextToken\\": \\"100\\",\\n \\"MaxResults\\": 100,\\n \\"TotalCount\\": 76,\\n \\"TimeSeries\\": [\\n {\\n \\"RowData\\": {\\n \\"id\\": \\"xxx\\",\\n \\"source\\": \\"acs.ecs\\"\\n },\\n \\"Time\\": \\"1683561600000\\"\\n }\\n ],\\n \\"Table\\": [\\n {\\n \\"RowData\\": {\\n \\"id\\": \\"xxx\\",\\n \\"source\\": \\"acs.ecs\\"\\n }\\n }\\n ]\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => '在事件分析功能中查询事件', + ], + 'CheckServiceLinkedRoleForProduct' => [ + 'summary' => '检查账号是否存在ServiceLinkedRole授权。', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '38628', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeHELDSX', + 'FEATUREeventbridgeR7SE45', + 'FEATUREeventbridgeS2QNZ9', + 'FEATUREeventbridge6VIARK', + 'FEATUREeventbridgeWAGKXS', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'ProductName', + 'in' => 'query', + 'schema' => [ + 'description' => '云产品关联的SLR名称', + 'type' => 'string', + 'required' => false, + 'example' => 'AliyunServiceRoleForEventBridgeConnectVPC', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '附加信息。取值说明如下:请求正常,返回success。 请求异常,返回具体异常错误码。', + 'type' => 'string', + 'example' => 'Success', + ], + 'RequestId' => [ + 'description' => '阿里云为该请求生成的唯一标识符。', + 'type' => 'string', + 'example' => '34AD682D-5B91-5773-8132-AA38C130****', + ], + 'Data' => [ + 'description' => '返回结果。', + 'type' => 'object', + 'properties' => [ + 'StsRoleName' => [ + 'description' => '服务关联角色名称。', + 'type' => 'string', + 'example' => 'AliyunServiceRoleForEventBridgeConnectVPC', + ], + 'CheckPass' => [ + 'description' => '服务关联角色是否存在。', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + 'Code' => [ + 'description' => '接口返回码:'."\n" + ."\n" + .'Success:表示成功。 '."\n" + ."\n" + .'其它:表示错误码。错误码详情,请参见错误码。', + 'type' => 'string', + 'example' => 'Success', + ], + 'Success' => [ + 'description' => '操作是否成功。true表示成功,false表示失败。', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"Success\\",\\n \\"RequestId\\": \\"34AD682D-5B91-5773-8132-AA38C130****\\",\\n \\"Data\\": {\\n \\"StsRoleName\\": \\"AliyunServiceRoleForEventBridgeConnectVPC\\",\\n \\"CheckPass\\": true\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => '检查账号是否存在ServiceLinkedRole授权。', + 'description' => '根据服务关联角色名称检查服务关联角色是否存在。', + ], + 'TestEventSourceConfig' => [ + 'summary' => '检查EventSource配置是否可用', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '154145', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeUWT8SO', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'SourceMySQLParameters', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => 'MySQL源参数', + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'description' => '地域ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + 'HostName' => [ + 'description' => '数据库连接地址', + 'type' => 'string', + 'required' => false, + 'example' => 'rm-bp1vxxx.mysql.rds.aliyuncs.com', + ], + 'Port' => [ + 'description' => '数据库的连接端口。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '80', + ], + 'DatabaseName' => [ + 'description' => '数据库名称', + 'type' => 'string', + 'required' => false, + 'example' => 'database1', + ], + 'TableNames' => [ + 'title' => '探测表场景下,TableName只允许填单个表格名', + 'description' => '数据库表名,需要添加数据库名前缀。${DatabaseName}.${TableName}', + 'type' => 'string', + 'required' => false, + 'example' => 'database1.table1'."\n", + ], + 'User' => [ + 'description' => '数据库用户名', + 'type' => 'string', + 'required' => false, + 'example' => 'user***', + ], + 'Password' => [ + 'description' => '用于身份验证的用户名密码。', + 'type' => 'string', + 'required' => false, + 'example' => '1234xxx', + ], + 'NetworkType' => [ + 'description' => '网络类型。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'PrivateNetwork' => 'PrivateNetwork', + 'PublicNetwork' => 'PublicNetwork', + ], + 'example' => 'PrivateNetwork', + ], + 'VpcId' => [ + 'description' => 'VPC ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'vpc-xxx', + ], + 'VSwitchIds' => [ + 'description' => '交换机ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'vsw-bp1gb7xxx', + ], + 'SecurityGroupId' => [ + 'description' => '安全组ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'sg-xxx', + ], + 'AllowedCIDRs' => [ + 'title' => 'MySQL允许的CIDR网段,可以配置多个,多个时用“;”分割', + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '接口返回码:'."\n" + ."\n" + .'- Success:表示成功。'."\n" + ."\n" + .'- 其它:表示错误码。错误码详情,请参见错误码。', + 'type' => 'string', + 'example' => 'Success', + ], + 'Data' => [ + 'description' => '更新结果。', + 'type' => 'array', + 'items' => [ + 'description' => '事件流列表。', + 'type' => 'object', + 'properties' => [ + 'CheckItem' => [ + 'description' => '检查项名称。', + 'type' => 'string', + 'example' => 'CHECK_CONNECTION', + ], + 'ErrorMsg' => [ + 'description' => '错误信息。', + 'type' => 'string', + 'example' => 'Connection established successfully.', + ], + 'IsSucceed' => [ + 'description' => '检查项是否成功执行', + 'type' => 'string', + 'example' => 'true', + ], + ], + ], + ], + 'Message' => [ + 'description' => '错误信息。', + 'type' => 'string', + 'example' => 'Success', + ], + 'RequestId' => [ + 'description' => '阿里云为该请求生成的唯一标识符。', + 'type' => 'string', + 'example' => 'FF942675-F937-549C-A942-EB94FFE28DD3', + ], + 'Success' => [ + 'description' => '操作成功返回true。', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Data\\": [\\n {\\n \\"CheckItem\\": \\"CHECK_CONNECTION\\",\\n \\"ErrorMsg\\": \\"Connection established successfully.\\",\\n \\"IsSucceed\\": \\"true\\"\\n }\\n ],\\n \\"Message\\": \\"Success\\",\\n \\"RequestId\\": \\"FF942675-F937-549C-A942-EB94FFE28DD3\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => '测试数据源配置', + 'description' => '查询所有外部事件源。', + ], + 'DiscoverEventSource' => [ + 'summary' => '发现EventSource(例如:Mysql)的Schema和SimpleData', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '154145', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeUWT8SO', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'SourceMySQLParameters', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => 'MySQL源参数', + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'description' => '地域id。', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + 'HostName' => [ + 'description' => '数据库连接地址', + 'type' => 'string', + 'required' => false, + 'example' => 'rm-xxx.mysql.rds.aliyuncs.com', + ], + 'Port' => [ + 'description' => '数据库的连接端口。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '80', + ], + 'DatabaseName' => [ + 'description' => '数据库名称', + 'type' => 'string', + 'required' => false, + 'example' => 'database1', + ], + 'TableName' => [ + 'title' => '探测表场景下,TableName只允许填单个表格名', + 'description' => '数据库表名,需要添加数据库名前缀。${DatabaseName}.${TableName}', + 'type' => 'string', + 'required' => false, + 'example' => 'database1.table1'."\n", + ], + 'User' => [ + 'description' => '数据库用户名', + 'type' => 'string', + 'required' => false, + 'example' => 'user1', + ], + 'Password' => [ + 'description' => '数据库密码', + 'type' => 'string', + 'required' => false, + 'example' => '1234xxx', + ], + 'NetworkType' => [ + 'description' => '网络类型。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'PrivateNetwork' => 'PrivateNetwork', + 'PublicNetwork' => 'PublicNetwork', + ], + 'example' => 'PrivateNetwork', + ], + 'VpcId' => [ + 'description' => '专有网络VPC的ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'vpc-uf6hwiei8u5uil3bfahc1', + ], + 'VSwitchIds' => [ + 'description' => '交换机ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'vsw-gw824tpaptxtlo256lqub', + ], + 'SecurityGroupId' => [ + 'description' => '安全组ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'sg-bp1ic0vsbwyv176e9inx', + ], + 'Offset' => [ + 'description' => '查询结果分页帧的偏移量。', + 'type' => 'string', + 'required' => false, + 'example' => '30', + ], + 'Limit' => [ + 'description' => '限定每次返回的最大条数。', + 'type' => 'string', + 'required' => false, + 'example' => '20', + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '接口返回码:'."\n" + ."\n" + .'200:表示成功。 '."\n" + ."\n" + .'其它:表示错误码。错误码详情,请参见错误码。', + 'type' => 'string', + 'example' => 'Success', + ], + 'Data' => [ + 'description' => '返回结果。', + 'type' => 'object', + 'properties' => [ + 'SourceMySQLDiscovery' => [ + 'description' => 'MySQL源探测结果', + 'type' => 'object', + 'properties' => [ + 'DatabaseNames' => [ + 'description' => '数据库名称,格式为JSON数组。', + 'type' => 'array', + 'items' => [ + 'description' => '数据库名称', + 'type' => 'string', + 'example' => 'database1', + ], + ], + 'TableNames' => [ + 'description' => '数据库表名', + 'type' => 'array', + 'items' => [ + 'description' => '数据库表名', + 'type' => 'string', + 'example' => 'ai_festival_gift_ranking', + ], + ], + 'TableSchema' => [ + 'description' => '表格属性。', + 'type' => 'object', + 'properties' => [ + 'TableName' => [ + 'description' => '表名。', + 'type' => 'string', + 'example' => 'map', + ], + 'Columns' => [ + 'description' => '列信息。', + 'type' => 'array', + 'items' => [ + 'description' => '列。', + 'type' => 'object', + 'properties' => [ + 'Field' => [ + 'description' => '列名。', + 'type' => 'string', + 'example' => 'id', + ], + 'IsNull' => [ + 'description' => '是否允许空值,返回值如下:'."\n" + ."\n" + .'- **YES**:允许为空。'."\n" + .'- **NO**:不允许为空。', + 'type' => 'string', + 'example' => 'NO', + ], + 'Extra' => [ + 'description' => '备用参数。', + 'type' => 'string', + 'example' => 'auto_increment', + ], + 'Type' => [ + 'description' => '属性类型', + 'type' => 'string', + 'example' => 'int', + ], + 'Key' => [ + 'description' => '主键类型。', + 'type' => 'string', + 'example' => 'PRI', + ], + ], + ], + ], + ], + ], + 'SimpleData' => [ + 'description' => '表格内容示例', + 'type' => 'string', + 'example' => '[{\\"is_active\\":\\"1\\",\\"name\\":\\"0c0c5d1a-e844-44a8-902d-4f62cbcb0479\\",\\"id\\":\\"21\\"},{\\"is_active\\":\\"1\\",\\"name\\":\\"18ef033e-70bb-4795-8222-6cfb54f38f26\\",\\"id\\":\\"22\\"}]', + ], + 'ExpireLogsDays' => [ + 'title' => 'binlog过期天数,单位:天', + 'description' => 'binlog过期天数,单位:天', + 'type' => 'integer', + 'format' => 'int32', + ], + 'WaitTimeout' => [ + 'title' => '非交互式连接的最大空闲时间,单位:秒', + 'description' => '非交互式连接的最大空闲时间,单位:秒', + 'type' => 'integer', + 'format' => 'int32', + ], + 'EstimatedRows' => [ + 'title' => '预估行数,单位:行', + 'description' => '预估行数,单位:行', + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + ], + ], + 'Message' => [ + 'description' => '错误信息。', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'description' => '阿里云为该请求生成的唯一标识符。', + 'type' => 'string', + 'example' => 'C7043799-F4DA-5290-9249-97C35987****', + ], + 'Success' => [ + 'description' => '操作成功返回true。', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Data\\": {\\n \\"SourceMySQLDiscovery\\": {\\n \\"DatabaseNames\\": [\\n \\"database1\\"\\n ],\\n \\"TableNames\\": [\\n \\"ai_festival_gift_ranking\\"\\n ],\\n \\"TableSchema\\": {\\n \\"TableName\\": \\"map\\",\\n \\"Columns\\": [\\n {\\n \\"Field\\": \\"id\\",\\n \\"IsNull\\": \\"NO\\",\\n \\"Extra\\": \\"auto_increment\\",\\n \\"Type\\": \\"int\\",\\n \\"Key\\": \\"PRI\\"\\n }\\n ]\\n },\\n \\"SimpleData\\": \\"[{\\\\\\\\\\\\\\"is_active\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"0c0c5d1a-e844-44a8-902d-4f62cbcb0479\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"id\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"21\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\"is_active\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"18ef033e-70bb-4795-8222-6cfb54f38f26\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"id\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"22\\\\\\\\\\\\\\"}]\\",\\n \\"ExpireLogsDays\\": 0,\\n \\"WaitTimeout\\": 0,\\n \\"EstimatedRows\\": 0\\n }\\n },\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"C7043799-F4DA-5290-9249-97C35987****\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => '探测事件源', + 'description' => '探测事件源信息。', + ], + 'UpdateEventStreamingBusinessOption' => [ + 'summary' => '查询事件流', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'paid', + 'abilityTreeCode' => '38611', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeUWT8SO', + 'FEATUREeventbridge70XW1X', + ], + ], + 'parameters' => [ + [ + 'name' => 'EventStreamingName', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '名称', + 'description' => '名称', + 'type' => 'string', + 'required' => true, + 'example' => 'rocketmq-sync', + 'maxLength' => 255, + 'minLength' => 2, + ], + ], + [ + 'name' => 'BusinessMode', + 'in' => 'formData', + 'schema' => [ + 'title' => '计费模式,枚举值包括:'."\n" + .'CapacityUnitMode 即CU模式'."\n" + .'EventNumMode 即按事件量计费', + 'description' => '计费模式,枚举值包括:'."\n" + .'CapacityUnitMode 即CU模式'."\n" + .'EventNumMode 即按事件量计费', + 'type' => 'string', + 'required' => true, + 'example' => 'CapacityUnitMode', + ], + ], + [ + 'name' => 'MinCapacityUnitCount', + 'in' => 'formData', + 'schema' => [ + 'description' => '最小CU数量', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'MaxCapacityUnitCount', + 'in' => 'formData', + 'schema' => [ + 'description' => '最大cu数量', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '2', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '错误信息。', + 'type' => 'string', + 'example' => 'Success', + ], + 'RequestId' => [ + 'description' => '阿里云为该请求生成的唯一标识符。', + 'type' => 'string', + 'example' => '34AD682D-5B91-5773-8132-AA38C130****', + ], + 'Code' => [ + 'description' => '接口返回码:'."\n" + ."\n" + .'- Success:表示成功。'."\n" + ."\n" + .'- 其它:表示错误码。错误码详情,请参见错误码。', + 'type' => 'string', + 'example' => 'Success', + ], + 'Success' => [ + 'description' => '操作成功返回true。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Data' => [ + 'description' => '更新结果。', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + [ + [ + 'errorCode' => 'EventStreamingNotExisted', + 'errorMessage' => 'the event streaming is not existed.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"Success\\",\\n \\"RequestId\\": \\"34AD682D-5B91-5773-8132-AA38C130****\\",\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true,\\n \\"Data\\": true\\n}","type":"json"}]', + 'title' => '编辑事件流计费模式', + 'description' => '修改一个事件流的计费形态,cu资源等配置', + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'cn-wulanchabu', + 'endpoint' => 'eventbridge-console.cn-wulanchabu.aliyuncs.com', + ], + [ + 'regionId' => 'cn-beijing', + 'endpoint' => 'eventbridge-console.cn-beijing.aliyuncs.com', + ], + [ + 'regionId' => 'cn-qingdao', + 'endpoint' => 'eventbridge-console.cn-qingdao.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai', + 'endpoint' => 'eventbridge-console.cn-shanghai.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hongkong', + 'endpoint' => 'eventbridge-console.cn-hongkong.aliyuncs.com', + ], + [ + 'regionId' => 'cn-heyuan', + 'endpoint' => 'eventbridge-console.cn-heyuan.aliyuncs.com', + ], + [ + 'regionId' => 'cn-zhangjiakou', + 'endpoint' => 'eventbridge-console.cn-zhangjiakou.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shenzhen', + 'endpoint' => 'eventbridge-console.cn-shenzhen.aliyuncs.com', + ], + [ + 'regionId' => 'ap-northeast-2', + 'endpoint' => 'eventbridge-console.ap-northeast-2.aliyuncs.com', + ], + [ + 'regionId' => 'ap-northeast-1', + 'endpoint' => 'eventbridge-console.ap-northeast-1.aliyuncs.com', + ], + [ + 'regionId' => 'cn-chengdu', + 'endpoint' => 'eventbridge-console.cn-chengdu.aliyuncs.com', + ], + [ + 'regionId' => 'cn-guangzhou', + 'endpoint' => 'eventbridge-console.cn-guangzhou.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-1', + 'endpoint' => 'eventbridge-console.ap-southeast-1.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-3', + 'endpoint' => 'eventbridge-console.ap-southeast-3.aliyuncs.com', + ], + [ + 'regionId' => 'cn-huhehaote', + 'endpoint' => 'eventbridge-console.cn-huhehaote.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-5', + 'endpoint' => 'eventbridge-console.ap-southeast-5.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-6', + 'endpoint' => 'eventbridge-console.ap-southeast-6.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-7', + 'endpoint' => 'eventbridge-console.ap-southeast-7.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou', + 'endpoint' => 'eventbridge-console.cn-hangzhou.aliyuncs.com', + ], + [ + 'regionId' => 'us-east-1', + 'endpoint' => 'eventbridge-console.us-east-1.aliyuncs.com', + ], + [ + 'regionId' => 'eu-west-1', + 'endpoint' => 'eventbridge-console.eu-west-1.aliyuncs.com', + ], + [ + 'regionId' => 'us-west-1', + 'endpoint' => 'eventbridge-console.us-west-1.aliyuncs.com', + ], + [ + 'regionId' => 'eu-central-1', + 'endpoint' => 'eventbridge-console.eu-central-1.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shenzhen-finance-1', + 'endpoint' => 'eventbridge-console.cn-shenzhen-finance-1.aliyuncs.com', + ], + [ + 'regionId' => 'cn-beijing-finance-1', + 'endpoint' => 'eventbridge-console.cn-beijing-finance-1.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai-finance-1', + 'endpoint' => 'eventbridge-console.cn-shanghai-finance-1.aliyuncs.com', + ], + ], +]; |
