'1.0',
'info' => ['style' => 'RPC', 'product' => 'eventbridge', 'version' => '2020-04-01'],
'directories' => [
[
'children' => ['CreateEventBus', 'DeleteEventBus', 'UpdateEventBus', 'GetEventBus', 'ListEventBuses'],
'type' => 'directory',
'title' => '事件总线',
'id' => 47133,
],
[
'children' => ['QueryEvent', 'QueryEventTraces', 'QueryTracedEventByEventId', 'QueryTracedEvents'],
'type' => 'directory',
'title' => '事件',
'id' => 47142,
],
[
'children' => ['ListAliyunOfficialEventSources', 'ListUserDefinedEventSources', 'CreateEventSource', 'DeleteEventSource', 'UpdateEventSource'],
'type' => 'directory',
'title' => '事件源',
'id' => 47155,
],
[
'children' => ['DeleteTargets', 'PutTargets'],
'type' => 'directory',
'title' => '事件目标',
'id' => 47139,
],
[
'children' => ['UpdateRule'],
'type' => 'directory',
'title' => '事件规则',
'id' => 47161,
],
[
'children' => ['ListEventStreamings', 'DeleteEventStreaming', 'PauseEventStreaming', 'StartEventStreaming', 'GetEventStreaming', 'UpdateEventStreaming', 'CreateEventStreaming'],
'type' => 'directory',
'title' => '事件流',
'id' => 47147,
],
[
'children' => ['UpdateApiDestination', 'CreateApiDestination', 'DeleteApiDestination', 'GetApiDestination', 'ListApiDestinations'],
'type' => 'directory',
'title' => 'API端点',
'id' => 47169,
],
[
'children' => [
'CreateServiceLinkedRoleForProduct', 'ListTargets', 'TestEventPattern', 'EventCenterQueryEvents', 'CheckServiceLinkedRoleForProduct', 'TestEventSourceConfig', 'DiscoverEventSource', 'UpdateEventStreamingBusinessOption', 'AskLuma', 'CreateAgent', 'CreateConnection', 'CreateNamespace', 'CreateRule', 'CreateTable', 'DeleteAgent', 'DeleteConnection', 'DeleteNamespace', 'DeleteRule', 'DeleteTable', 'DisableRule',
'EnableRule', 'GetAgent', 'GetCatalog', 'GetConnection', 'GetNamespace', 'GetRule', 'GetTable', 'ListAgents', 'ListCatalogs', 'ListConnections', 'ListNamespaces', 'ListRules', 'ListTables', 'PollAskResult', 'QueryAskLumaLog', 'QueryEventHouse', 'UpdateAgent', 'UpdateConnection', 'UpdateNamespace', 'UpdateTable',
],
'type' => 'directory',
'title' => '其他',
'id' => 47180,
],
],
'components' => [
'schemas' => [
'Agent' => [
'type' => 'object',
'properties' => [
'Name' => ['type' => 'string'],
'Description' => ['type' => 'string'],
'Prompt' => ['type' => 'string'],
'Metadata' => ['$ref' => '#/components/schemas/Metadata'],
'CreatedAt' => ['type' => 'integer', 'format' => 'int64'],
'UpdatedAt' => ['type' => 'integer', 'format' => 'int64'],
],
],
'AguiMessage' => [
'description' => 'AGUI 格式的消息',
'type' => 'object',
'properties' => [
'Id' => ['description' => '消息唯一标识', 'type' => 'string', 'example' => 'msg_123456_a1b2c3d4'],
'Role' => ['description' => '消息角色', 'type' => 'string', 'example' => 'assistant'],
'Content' => ['description' => '消息文本内容', 'type' => 'string', 'example' => '根据您的问题,我将查询过去7天的事件量...'],
'Metadata' => [
'description' => '扩展元数据',
'type' => 'object',
'properties' => [
'Attachments' => [
'description' => '扩展数据',
'type' => 'object',
'properties' => [
'Name' => ['description' => '扩展数据名称', 'type' => 'string', 'example' => 'acs:eventbridge:cn-hangzhou:12345:eventhouse/system-rocketmq/namespace/rmq-cn-xxx/table/order'],
'Type' => ['description' => '扩展数据类型', 'type' => 'string', 'example' => 'inner-resource/event-table'],
],
],
],
],
'ToolCallId' => ['description' => '关联的工具调用ID', 'type' => 'string', 'example' => 'call_xxx'],
'ToolCalls' => [
'description' => '工具调用列表',
'type' => 'array',
'items' => [
'description' => '工具调用对象',
'type' => 'object',
'properties' => [
'Id' => ['description' => '工具调用ID', 'type' => 'string', 'example' => 'call_xxx'],
'Type' => ['description' => '工具调用类型', 'type' => 'string', 'example' => 'function'],
'Function' => [
'description' => '工具调用方法',
'type' => 'object',
'properties' => [
'Name' => ['description' => '工具调用方法名称', 'type' => 'string', 'example' => 'discoverMetadata'],
'Arguments' => ['description' => '工具调用方法参数', 'type' => 'string', 'example' => '{}'],
],
],
],
],
],
'Reasoning' => ['type' => 'string'],
],
],
'AskLumaLogEntry' => [
'description' => '语义查询日志项',
'type' => 'object',
'properties' => [
'MessageId' => ['description' => '消息标识', 'type' => 'string', 'example' => 'msg_xxx'],
'ConversationId' => ['description' => '对话标识', 'type' => 'string', 'example' => 'conv_xxx'],
'AgentName' => ['description' => 'Agent 名称', 'type' => 'string', 'example' => 'my-agent'],
'Question' => ['description' => '输入问题', 'type' => 'string', 'example' => '帮我统计一下最近的订单数据。'],
'Status' => ['description' => '执行状态', 'type' => 'string', 'example' => 'RUNNING, SUCCEEDED, FAILED, TIMEOUT'],
'ClarificationNeeded' => ['description' => '是否需要澄清', 'type' => 'boolean', 'example' => 'false'],
'ClarificationQuestion' => ['description' => '澄清问题文本', 'type' => 'string', 'example' => '您指的是哪张表?'],
'Content' => ['description' => '结构化结果体', '$ref' => '#/components/schemas/Content'],
'IsError' => ['description' => '是否为错误', 'type' => 'boolean', 'example' => 'false'],
'ErrorCode' => ['description' => '错误码', 'type' => 'string', 'example' => 'ExecutionFailed'],
'ErrorMessage' => ['description' => '错误详情', 'type' => 'string', 'example' => 'Agent with name \'xxx\' not found for account 1186xxx'],
'CreatedAt' => ['description' => '创建时间(毫秒)', 'type' => 'string', 'example' => '1717200000000'],
'DurationMs' => ['description' => '调用耗时(毫秒)', 'type' => 'integer', 'format' => 'int64', 'example' => '3200'],
'Source' => ['description' => '日志来源', 'type' => 'string', 'example' => 'MCP, CHAT'],
],
],
'AskLumaResult' => [
'description' => 'AskLuma API 响应体',
'type' => 'object',
'properties' => [
'MessageId' => ['description' => '消息标识,用于 PollAskResult 轮询', 'type' => 'string', 'example' => 'msg_xxx'],
'ConversationId' => ['description' => '对话标识,用于多轮追问', 'type' => 'string', 'example' => 'conv_xxx'],
'Status' => ['description' => '执行状态', 'type' => 'string', 'example' => 'RUNNING, SUCCEEDED, FAILED, TIMEOUT'],
'Content' => ['description' => '结构化结果体', '$ref' => '#/components/schemas/Content'],
'IsError' => ['description' => '是否为错误,false=查询成功或澄清(含空结果集);true=执行失败/超时/限流/内部错误', 'type' => 'boolean', 'example' => 'false'],
'ErrorCode' => ['description' => '错误码', 'type' => 'string', 'example' => 'ExecutionFailed, Timeout, RateLimited, InternalError, ConversationExpired'],
'ErrorMessage' => ['description' => '错误详情', 'type' => 'string', 'example' => 'Agent with name \'xxx\' not found for account 1186xxx'],
'StorageTruncated' => ['description' => '结果是否因超过存储限制被截断,仅大结果集场景出现', 'type' => 'boolean', 'example' => 'true'],
'ClarificationNeeded' => ['description' => '是否需要澄清', 'type' => 'boolean', 'example' => 'false'],
'ClarificationQuestion' => ['description' => '澄清问题文本', 'type' => 'string', 'example' => '您指的是哪个数据库中的员工表?'],
'Constraints' => ['description' => '查询约束', '$ref' => '#/components/schemas/Constraints'],
],
],
'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'],
],
],
'Catalog' => [
'type' => 'object',
'properties' => [
'Name' => ['title' => '数据目录名称', 'description' => '数据目录的唯一标识名称', 'type' => 'string', 'required' => false, 'example' => 'my_catalog'],
'Type' => ['title' => '数据目录类型', 'description' => '数据目录类型,如 RELATIONAL', 'type' => 'string', 'example' => 'RELATIONAL'],
'Provider' => ['title' => '数据源提供方', 'description' => '数据源提供方。EventHouse 为内置存储,MySQL/PostgreSQL/Elasticsearch 为外部挂载', 'type' => 'string', 'example' => 'EventHouse'],
'Comment' => ['title' => '备注描述', 'description' => '数据目录的备注描述信息', 'type' => 'string', 'example' => '测试数据目录'],
'Properties' => ['title' => '扩展属性', 'description' => '扩展属性(JSON 对象)。Elasticsearch 类型包含 IndexPattern 等信息', 'type' => 'object', 'example' => '{"IndexPattern":"my-index-*"}'],
'ConnectionName' => ['title' => '连接名称', 'description' => '挂载类型 Catalog 关联的连接名称。仅 Provider 为 MySQL/PostgreSQL/Elasticsearch 时有值', 'type' => 'string', 'example' => 'my_connection'],
],
],
'Column' => [
'description' => '列数据。',
'type' => 'object',
'properties' => [
'Name' => ['description' => '列名。', 'type' => 'string', 'example' => 'index'],
'Type' => [
'description' => '列类型。',
'type' => 'string',
'enumValueTitles' => ['double' => 'double', 'json' => 'json', 'text' => 'text', 'bigint' => 'bigint', 'timestamp' => 'timestamp'],
'example' => 'text',
],
'Value' => ['description' => '列值。', 'type' => 'string', 'example' => 'product_info'],
'IsNull' => [
'description' => '是否为 NULL;为 true 时应按 NULL 处理。',
'type' => 'boolean',
'enumValueTitles' => ['true' => 'true', 'false' => 'false'],
'example' => 'false',
],
],
],
'Constraints' => [
'description' => '查询约束',
'type' => 'object',
'properties' => [
'BeginTime' => ['description' => '查询时间窗口起始(Unix 毫秒)', 'type' => 'integer', 'format' => 'int64', 'example' => '1717200000000'],
'EndTime' => ['description' => '查询时间窗口结束(Unix 毫秒)', 'type' => 'integer', 'format' => 'int64', 'example' => '1717200000000'],
],
],
'Content' => [
'description' => '智能体生成内容',
'type' => 'object',
'properties' => [
'TextAttachments' => [
'description' => 'LLM 生成的 Markdown 摘要数组',
'type' => 'array',
'items' => ['description' => 'LLM 生成的 Markdown 摘要', 'type' => 'string', 'example' => '"**top 5 城市**: 北京(120)..."'],
],
'QueryAttachments' => [
'description' => '已执行的 Query及其查询结果数组',
'type' => 'array',
'items' => ['description' => 'Query 及其查询结果', '$ref' => '#/components/schemas/QueryAttachment'],
],
'MessageAttachments' => [
'description' => '仅 Source=CHAT 的记录携带此字段(AGUI 格式的消息列表)',
'type' => 'array',
'items' => ['description' => 'AGUI 格式的消息列表', '$ref' => '#/components/schemas/AguiMessage'],
],
],
],
'Conversation' => [
'type' => 'object',
'properties' => [
'Id' => ['type' => 'string'],
'Title' => ['type' => 'string'],
'CreatedAt' => ['type' => 'integer', 'format' => 'int64'],
'UpdatedAt' => ['type' => 'integer', 'format' => 'int64'],
'Status' => ['type' => 'string'],
],
],
'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'],
],
],
],
],
'EventTableQueryHistogram' => [
'type' => 'object',
'properties' => [
'Count' => ['type' => 'integer', 'format' => 'int64'],
'From' => ['type' => 'integer', 'format' => 'int64'],
'To' => ['type' => 'integer', 'format' => 'int64'],
],
],
'ExecutionResult' => [
'description' => 'Query执行结果',
'type' => 'object',
'properties' => [
'Schema' => [
'description' => 'schema信息',
'type' => 'array',
'items' => ['description' => '列定义', '$ref' => '#/components/schemas/SchemaColumn'],
],
'Rows' => ['description' => '二维数组,每行一个数组', 'type' => 'string', 'example' => '[["北京",120],["上海",98]] '],
'RowCount' => ['description' => '本次返回行数', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
'TotalRows' => ['description' => '满足条件的总行数,当 IsTruncated=true 时与 RowCount 不同', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
'IsTruncated' => ['description' => '是否因 maxRows 限制被截断', 'type' => 'boolean', 'example' => 'false'],
],
],
'Metadata' => [
'description' => '智能体关联的数据',
'type' => 'object',
'properties' => [
'Attachments' => [
'description' => '关联数据',
'type' => 'array',
'items' => [
'description' => '关联数据对象',
'type' => 'object',
'properties' => [
'MimeType' => ['description' => '数据类型', 'type' => 'string', 'example' => 'inner-resource/event-table'],
'Arn' => ['description' => '关联数据ARN', 'type' => 'string', 'example' => 'acs:eventbridge:cn-hangzhou:12345:eventhouse/system-rocketmq/namespace/rmq-cn-xxx/table/order'],
],
],
],
],
],
'Namespace' => [
'type' => 'object',
'properties' => [
'Catalog' => ['title' => '所属数据目录', 'description' => '命名空间所属的数据目录名称', 'type' => 'string', 'required' => true, 'example' => 'my_catalog'],
'Name' => ['title' => '命名空间名称', 'description' => '命名空间的唯一标识名称', 'type' => 'string', 'example' => 'my_namespace'],
'Comment' => ['title' => '备注描述', 'description' => '命名空间的备注描述信息', 'type' => 'string', 'example' => '测试命名空间'],
'properties' => ['title' => '扩展属性', 'description' => '命名空间的扩展属性', 'type' => 'string', 'example' => '{"key":"value"}'],
],
],
'QueryAskLumaLogResult' => [
'type' => 'object',
'properties' => [
'Entries' => [
'type' => 'array',
'items' => ['$ref' => '#/components/schemas/AskLumaLogEntry'],
],
'LastKey' => ['type' => 'string'],
'HasMore' => ['type' => 'boolean'],
],
],
'QueryAttachment' => [
'description' => 'Query 及其查询结果',
'type' => 'object',
'properties' => [
'Query' => ['description' => '查询语句', 'type' => 'string', 'example' => '"SELECT city, COUNT(*) AS cnt FROM events GROUP BY city"'],
'Result' => ['description' => 'Query执行结果', '$ref' => '#/components/schemas/ExecutionResult'],
],
],
'Row' => [
'description' => '查询结果行。',
'type' => 'object',
'properties' => [
'Columns' => [
'description' => '每一行的列数据。',
'type' => 'array',
'items' => ['description' => '列数据。', '$ref' => '#/components/schemas/Column'],
],
],
],
'SchemaColumn' => [
'description' => '列定义',
'type' => 'object',
'properties' => [
'Name' => ['description' => '列名', 'type' => 'string', 'example' => 'name'],
'Type' => ['description' => '列类型', 'type' => 'string', 'example' => 'VARCHAR'],
],
],
'SinkAgentRunParameters' => [
'type' => 'object',
'properties' => [
'AgentRuntimeName' => ['title' => 'AgentRun 智能体运行时名称。在阿里云 AgentRun 控制台获取。', 'type' => 'string', 'required' => false],
'EndpointName' => ['title' => 'AgentRun 智能体运行时端点名称,用于拼接调用 URL。', 'type' => 'string', 'required' => false],
'RoleName' => ['title' => 'AgentRun 智能体角色名称。', 'type' => 'string', 'required' => false],
'Body' => [
'title' => 'Body 参数模版三元组配置。定义数据转换方式,支持 ORIGINAL(透传)和 TEMPLATE(模板替换)两种模式。',
'type' => 'object',
'properties' => [
'Value' => ['title' => '参数值。ORIGINAL 模式下为 $;TEMPLATE 模式下为 JSON 格式的 key-value 映射(value 为 JSONPath 表达式或常量)。示例值:`$`', 'type' => 'string'],
'Form' => ['title' => '转换的格式。默认为 CONSTANT。枚举值:ORIGINAL、TEMPLATE。示例值:`ORIGINAL`', 'type' => 'string', 'required' => false],
'Template' => ['title' => '模板样式。仅 Form 为 TEMPLATE 时必填,支持 ${variable} 占位符替换。示例值:`The value of ${key} is ${value}!`', 'type' => 'string'],
],
'required' => false,
],
'Timeout' => ['title' => 'HTTP 请求超时时间(毫秒)。默认值:30000', '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'],
],
],
'Timeout' => ['type' => 'integer', 'format' => 'int32'],
],
],
'SinkBaiLianParameters' => [
'alibabaCloud' => 'alibabaCloud:1.0.0',
'info' => ['runtimeType' => 'pop', 'namespace' => 'eventbridge::2020-04-01', 'apiStyle' => 'rpc'],
'components' => [
'schemas' => [
'SinkBaiLianParameters' => [
'type' => 'object',
'properties' => [
'Before' => [
'type' => 'object',
'properties' => [
'Form' => ['type' => 'string', 'backendName' => 'Form'],
'Value' => ['type' => 'string', 'backendName' => 'Value'],
'Template' => ['type' => 'string', 'backendName' => 'Template'],
],
'backendName' => 'Before',
'sensitive' => true,
],
'Context' => ['type' => 'any', 'backendName' => 'Context', 'sensitive' => true],
'ApplicationType' => ['type' => 'string', 'backendName' => 'ApplicationType'],
'Op' => [
'type' => 'object',
'properties' => [
'Form' => ['type' => 'string', 'backendName' => 'Form'],
'Value' => ['type' => 'string', 'backendName' => 'Value'],
'Template' => ['type' => 'string', 'backendName' => 'Template'],
],
'backendName' => 'Op',
'sensitive' => true,
],
'Partition' => [
'type' => 'object',
'properties' => [
'Form' => ['type' => 'string', 'backendName' => 'Form'],
'Value' => ['type' => 'string', 'backendName' => 'Value'],
'Template' => ['type' => 'string', 'backendName' => 'Template'],
],
'backendName' => 'Partition',
'sensitive' => true,
],
'Extend' => ['type' => 'any', 'backendName' => 'Extend', 'sensitive' => true],
'WorkspaceId' => ['type' => 'string', 'backendName' => 'WorkspaceId'],
'After' => [
'type' => 'object',
'properties' => [
'Form' => ['type' => 'string', 'backendName' => 'Form'],
'Value' => ['type' => 'string', 'backendName' => 'Value'],
'Template' => ['type' => 'string', 'backendName' => 'Template'],
],
'backendName' => 'After',
'sensitive' => true,
],
'Offset' => [
'type' => 'object',
'properties' => [
'Form' => ['type' => 'string', 'backendName' => 'Form'],
'Value' => ['type' => 'string', 'backendName' => 'Value'],
'Template' => ['type' => 'string', 'backendName' => 'Template'],
],
'backendName' => 'Offset',
'sensitive' => true,
],
],
],
],
],
],
'SinkDataWorksTriggerParameters' => [
'type' => 'object',
'properties' => [
'Enable' => ['type' => 'string', 'description' => ''],
],
'description' => '',
],
'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'],
],
],
'SourceFeiShuDocsParameters' => [
'type' => 'object',
'properties' => [
'AppId' => ['title' => '飞书自建应用的 App ID。在飞书开放平台创建应用后获取。示例值:`cli_a946c046xxxx`', 'type' => 'string', 'required' => false],
'AppSecret' => ['title' => '飞书自建应用的 App Secret。在飞书开放平台创建应用后获取。示例值:`yO3hEYiSjkBVxxxx`', 'type' => 'string', 'required' => false],
'KnowledgeSpaceName' => ['title' => '飞书知识空间名称,需精确匹配。示例值:`产品文档中心`', 'type' => 'string', 'required' => false],
'LoadMode' => ['title' => '文档加载模式。取值:`block`(按块切分,每个文档块一条事件,适合 AI/RAG 场景);`single`(整篇文档一条事件,适合短文档/全文检索场景)', 'type' => 'string', 'required' => false],
],
],
'SourceMySQLParameters' => [
'alibabaCloud' => 'alibabaCloud:1.0.0',
'info' => ['runtimeType' => 'pop', 'namespace' => 'eventbridge::2020-04-01', 'apiStyle' => 'rpc'],
'components' => [
'schemas' => [
'SourceMySQLParameters' => [
'type' => 'object',
'properties' => [
'IncludeSchemaChanges' => ['type' => 'string', 'backendName' => 'IncludeSchemaChanges'],
'User' => ['type' => 'string', 'backendName' => 'User'],
'VSwitchIds' => ['type' => 'string', 'backendName' => 'VSwitchIds'],
'SnapshotMode' => ['type' => 'string', 'backendName' => 'SnapshotMode'],
'SecurityGroupId' => ['type' => 'string', 'backendName' => 'SecurityGroupId'],
'Port' => ['type' => 'integer', 'format' => 'int32', 'backendName' => 'Port'],
'DatabaseName' => ['type' => 'string', 'backendName' => 'DatabaseName'],
'VpcId' => ['type' => 'string', 'backendName' => 'VpcId'],
'NetworkType' => ['type' => 'string', 'backendName' => 'NetworkType'],
'TableNames' => ['type' => 'string', 'backendName' => 'TableNames'],
'RegionId' => ['type' => 'string', 'backendName' => 'RegionId'],
'HostName' => ['type' => 'string', 'backendName' => 'HostName'],
'Password' => ['type' => 'string', 'backendName' => 'Password', 'sensitive' => true],
],
],
],
],
],
'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'],
],
],
'Table' => [
'type' => 'object',
'properties' => [
'Catalog' => ['title' => '所属数据目录', 'description' => '表所属的数据目录名称', 'type' => 'string', 'example' => 'my_catalog'],
'Namespace' => ['title' => '所属命名空间', 'description' => '表所属的命名空间名称', 'type' => 'string', 'example' => 'my_namespace'],
'Name' => ['title' => '表名称', 'description' => '事件表的唯一标识名称', 'type' => 'string', 'example' => 'my_table'],
'Comment' => ['title' => '备注描述', 'description' => '表的备注描述信息', 'type' => 'string', 'example' => '测试事件表'],
'CreateTime' => ['title' => '创建时间', 'description' => '表的创建时间(Unix 时间戳,毫秒)', 'type' => 'integer', 'format' => 'int64', 'example' => '1717948800000'],
'UpdateTime' => ['title' => '更新时间', 'description' => '表的最后更新时间(Unix 时间戳,毫秒)', 'type' => 'integer', 'format' => 'int64', 'example' => '1717948800000'],
'RetentionPolicy' => [
'title' => '数据保留策略',
'description' => '数据保留策略。包含热数据和冷数据的保留天数',
'type' => 'object',
'properties' => [
'HotTTL' => ['title' => '热数据保留天数', 'description' => '热数据保留天数,高性能查询存储', 'type' => 'integer', 'format' => 'int32', 'example' => '7'],
'ColdTTL' => ['title' => '冷数据保留天数', 'description' => '冷数据保留天数,低成本归档存储', 'type' => 'integer', 'format' => 'int32', 'example' => '30'],
],
],
'Columns' => [
'title' => '列定义列表',
'description' => '表的列定义列表。每列包含 Name(列名)、Type(数据类型)、Comment(备注)',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Name' => ['title' => '列名', 'type' => 'string', 'example' => 'id'],
'Type' => ['title' => '列数据类型', 'type' => 'string', 'example' => 'bigint'],
'Comment' => ['title' => '列备注', 'type' => 'string', 'example' => '主键ID'],
],
],
'example' => '[{"Name":"id","Type":"bigint","Comment":"主键"}]',
],
],
],
],
],
'apis' => [
'AskLuma' => [
'summary' => '自然语言查询',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '38611',
'abilityTreeNodes' => ['FEATUREeventbridgeUWT8SO', 'FEATUREeventbridge70XW1X'],
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'AgentName',
'in' => 'formData',
'allowEmptyValue' => false,
'schema' => ['title' => 'Agent名称', 'description' => 'Agent名称', 'type' => 'string', 'required' => true, 'example' => 'demo-luma-agent', 'maxLength' => 128, 'minLength' => 2],
],
[
'name' => 'Question',
'in' => 'formData',
'allowEmptyValue' => false,
'schema' => ['title' => '自然语言问题', 'description' => '自然语言问题', 'type' => 'string', 'required' => true, 'example' => '帮我统计一下最近的订单数据。'],
],
[
'name' => 'ConversationId',
'in' => 'formData',
'schema' => ['title' => '会话ID,对于多轮对话,需要传递', 'description' => '会话ID,对于多轮对话,需要传递', 'type' => 'string', 'required' => false, 'example' => 'conv_1474xxx32_593b9d08-9'],
],
[
'name' => 'MaxRows',
'in' => 'formData',
'schema' => ['title' => '最大返回行数', 'description' => '最大返回行数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Message' => ['description' => '错误信息(成功时为 null)', 'type' => 'string', 'example' => 'Agent with name \'xxx\' not found for account 1186xxx'],
'RequestId' => ['description' => '返回的RequestId', 'type' => 'string', 'example' => '97FB3BAE-XXXXXX-36435495B7EB'],
'Data' => ['description' => '业务响应体', '$ref' => '#/components/schemas/AskLumaResult'],
'Code' => ['description' => '错误码', 'type' => 'string', 'example' => 'AgentNotFound'],
'Success' => ['description' => '请求是否成功', 'type' => 'boolean', 'example' => 'true'],
],
'description' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''],
],
],
'title' => '智能体语义查询',
'extraInfo' => '- 采用 Long-Polling 模型:服务端单次 hold 20-30s,若在 hold 窗口内完成则直接返回 SUCCEEDED/FAILED;未完成则返回 RUNNING + MessageId,客户端需调用 PollAskResult 继续轮询'."\n"
.'- 总超时 300s(服务端计时),超时返回 Status=TIMEOUT',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'eventbridge:AskLuma',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"Agent with name \'xxx\' not found for account 1186xxx\\",\\n \\"RequestId\\": \\"97FB3BAE-XXXXXX-36435495B7EB\\",\\n \\"Data\\": {\\n \\"MessageId\\": \\"msg_xxx\\",\\n \\"ConversationId\\": \\"conv_xxx\\",\\n \\"Status\\": \\"RUNNING, SUCCEEDED, FAILED, TIMEOUT\\",\\n \\"Content\\": {\\n \\"TextAttachments\\": [\\n \\"\\\\\\"**top 5 城市**: 北京(120)...\\\\\\"\\"\\n ],\\n \\"QueryAttachments\\": [\\n {\\n \\"Query\\": \\"\\\\\\"SELECT city, COUNT(*) AS cnt FROM events GROUP BY city\\\\\\"\\",\\n \\"Result\\": {\\n \\"Schema\\": [\\n {\\n \\"Name\\": \\"name\\",\\n \\"Type\\": \\"VARCHAR\\"\\n }\\n ],\\n \\"Rows\\": \\"[[\\\\\\"北京\\\\\\",120],[\\\\\\"上海\\\\\\",98]] \\",\\n \\"RowCount\\": 2,\\n \\"TotalRows\\": 2,\\n \\"IsTruncated\\": false\\n }\\n }\\n ],\\n \\"MessageAttachments\\": [\\n {\\n \\"Id\\": \\"msg_123456_a1b2c3d4\\",\\n \\"Role\\": \\"assistant\\",\\n \\"Content\\": \\"根据您的问题,我将查询过去7天的事件量...\\",\\n \\"Metadata\\": {\\n \\"Attachments\\": {\\n \\"Name\\": \\"acs:eventbridge:cn-hangzhou:12345:eventhouse/system-rocketmq/namespace/rmq-cn-xxx/table/order\\",\\n \\"Type\\": \\"inner-resource/event-table\\"\\n }\\n },\\n \\"ToolCallId\\": \\"call_xxx\\",\\n \\"ToolCalls\\": [\\n {\\n \\"Id\\": \\"call_xxx\\",\\n \\"Type\\": \\"function\\",\\n \\"Function\\": {\\n \\"Name\\": \\"discoverMetadata\\",\\n \\"Arguments\\": \\"{}\\"\\n }\\n }\\n ],\\n \\"Reasoning\\": \\"\\"\\n }\\n ]\\n },\\n \\"IsError\\": false,\\n \\"ErrorCode\\": \\"ExecutionFailed, Timeout, RateLimited, InternalError, ConversationExpired\\",\\n \\"ErrorMessage\\": \\"Agent with name \'xxx\' not found for account 1186xxx\\",\\n \\"StorageTruncated\\": true,\\n \\"ClarificationNeeded\\": false,\\n \\"ClarificationQuestion\\": \\"您指的是哪个数据库中的员工表?\\",\\n \\"Constraints\\": {\\n \\"BeginTime\\": 1717200000000,\\n \\"EndTime\\": 1717200000000\\n }\\n },\\n \\"Code\\": \\"AgentNotFound\\",\\n \\"Success\\": true\\n}","type":"json"}]',
],
'CheckServiceLinkedRoleForProduct' => [
'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'],
],
'description' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '检查账号是否存在ServiceLinkedRole授权。',
'summary' => '检查账号是否存在ServiceLinkedRole授权。',
'description' => '根据服务关联角色名称检查服务关联角色是否存在。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'eventbridge:CheckServiceLinkedRoleForProduct',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'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"}]',
],
'CreateAgent' => [
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '38611',
'abilityTreeNodes' => ['FEATUREeventbridgeUWT8SO', 'FEATUREeventbridge70XW1X'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'Name',
'in' => 'formData',
'schema' => ['description' => 'Agent 名称', 'type' => 'string', 'required' => true, 'example' => 'my-agent', 'maxLength' => 128, 'minLength' => 2],
],
[
'name' => 'Description',
'in' => 'formData',
'schema' => ['description' => '事件总线的描述', 'type' => 'string', 'required' => false, 'example' => '连接配置描述信息'],
],
[
'name' => 'Prompt',
'in' => 'formData',
'schema' => ['description' => '你是一个 IoT 数据分析助手...', 'type' => 'string', 'required' => false, 'example' => '我想要她,你这样增加请求头获取用户IP CF-Connecting-IP%3B'],
],
[
'name' => 'Metadata',
'in' => 'formData',
'style' => 'json',
'schema' => [
'description' => '关联的元数据',
'type' => 'object',
'properties' => [
'Attachments' => [
'description' => '绑定的元数据对象数组',
'type' => 'array',
'items' => [
'description' => '绑定的元数据对象',
'type' => 'object',
'properties' => [
'MimeType' => ['description' => '绑定的元数据对象类型', 'type' => 'string', 'required' => false, 'example' => 'inner-resource/event-table'],
'Arn' => ['description' => '绑定的元数据对象ARN', 'type' => 'string', 'required' => false, 'example' => 'acs:eventbridge:cn-hangzhou:12345:eventhouse/system-rocketmq/namespace/rmq-cn-XXX/table/order'],
],
'required' => false,
],
'required' => false,
],
],
'required' => false,
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回结果',
'type' => 'object',
'properties' => [
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'Agent with name \'XXX\' already exists for account 12345'],
'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'B896B484-XXXXXX-DD0E5C361108'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
'properties' => [
'AgentArn' => ['description' => 'Agent ARN', 'type' => 'string', 'example' => 'acs:eventbridge:{region}:{accountId}:agent/{agentName} '],
],
],
'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', 'description' => ''],
],
],
'title' => '创建自定义Agent',
'summary' => '创建自定义Agent',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'eventbridge:CreateAgent',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"Agent with name \'XXX\' already exists for account 12345\\",\\n \\"RequestId\\": \\"B896B484-XXXXXX-DD0E5C361108\\",\\n \\"Data\\": {\\n \\"AgentArn\\": \\"acs:eventbridge:{region}:{accountId}:agent/{agentName} \\"\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]',
],
'CreateApiDestination' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'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"
.'需要先调用Connection接口创建连接配置,ConnectionName填写已存在的连接名称。>', 'type' => 'string', 'required' => true, 'example' => 'connection-name', 'maxLength' => 127, 'minLength' => 2],
],
[
'name' => 'Description',
'in' => 'query',
'schema' => ['description' => 'API描述,不超过255个字符。', 'type' => 'string', 'required' => false, 'example' => 'Description of the connection configuration', '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' => 511],
'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'],
],
],
],
'description' => '',
],
],
],
'errorCodes' => [
409 => [
['errorCode' => 'RequestParameterException', 'errorMessage' => 'Request parameter exception', 'description' => ''],
['errorCode' => 'RequestParameterInvalid', 'errorMessage' => 'The ApiDestination name is invalid! Only letters a~z or A~Z, numbers 0~9, underscore (_) and dash (-) are supported.', 'description' => ''],
['errorCode' => 'ApiDestinationAlreadyExist', 'errorMessage' => 'The api-destination already existed!', 'description' => ''],
['errorCode' => 'ConnectionNotExist', 'errorMessage' => 'The Connection not existed!', 'description' => ''],
['errorCode' => 'HttpApiParametersIsNull', 'errorMessage' => 'HttpApiParameters is null!', 'description' => ''],
['errorCode' => 'EndpointIsBlank', 'errorMessage' => 'Endpoint is blank!', 'description' => ''],
['errorCode' => 'Method', 'errorMessage' => 'Method is blank!', 'description' => ''],
['errorCode' => 'EndpointLengthExceed', 'errorMessage' => 'Endpoint length cannot exceed 127!', 'description' => ''],
['errorCode' => 'ApiDestinationCountExceedLimit', 'errorMessage' => 'The current count of api-destination is [{0}], which will exceed the limit quota.', 'description' => ''],
],
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'InternalError', 'description' => ''],
],
],
'title' => '创建API端点信息',
'summary' => '创建API端点信息。',
'description' => '用于创建API 端点信息。',
'changeSet' => [
['createdAt' => '2023-09-13T11:38:17.000Z', 'description' => '错误码发生变更'],
['createdAt' => '2023-04-12T13:40:19.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2023-04-06T12:58:59.000Z', 'description' => '错误码发生变更、请求参数发生变更、响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateApiDestination'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'eventbridge:CreateApiDestination',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'ApiDestination', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:apidestination/{#ApiDestinationName}'],
],
],
],
],
'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"}]',
],
'CreateConnection' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'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"
.'>选择专有网络时,VpcId、VswitcheId和SecurityGroupId必填。>', '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' => 'Type',
'in' => 'query',
'schema' => [
'description' => '连接类型。可选值:MySQL、PostgreSQL、Elasticsearch、Http。数据源类型连接必填,不传默认为 Http。Http 类型用于 API Destination 等 HTTP 协议目标;数据源类型用于集成广场的数据连接',
'type' => 'string',
'required' => false,
'example' => 'Http',
'enum' => ['MySQL', 'Elasticsearch', 'PostgreSQL'],
],
],
[
'name' => 'Parameters',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => '数据源连接参数(JSON 对象),Type 为数据源类型时必填,Http 类型不需要。具体字段定义请调用 GetConnectionType 接口,参考返回结果中的 ParamsSchema', 'type' => 'any', 'example' => '{"HostName":"xxx.mysql.rds.aliyuncs.com","Port":"3306","User":"root","Password":"xxx","DatabaseName":"demo_db"}'],
],
[
'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'],
],
],
],
'description' => '',
],
],
],
'errorCodes' => [
409 => [
['errorCode' => 'RequestParameterException', 'errorMessage' => 'Request parameter exception', 'description' => ''],
['errorCode' => 'ConnectionAlreadyExist', 'errorMessage' => 'The Connection already existed!', 'description' => ''],
['errorCode' => 'ConnectionCountExceedLimit', 'errorMessage' => 'The current count of connection, which will exceed the limit quota.', 'description' => ''],
['errorCode' => 'BasicRequiredParameterIsEmpty', 'errorMessage' => 'Basic required parameters are empty, the required parameters are username and password!', 'description' => ''],
['errorCode' => 'BasicUserNameLengthExceed', 'errorMessage' => 'Basic username length cannot exceed 127!', 'description' => ''],
['errorCode' => 'BasicPassWordLengthExceed', 'errorMessage' => 'Basic password length cannot exceed 127!', 'description' => ''],
['errorCode' => 'ApiKeyRequiredParameterIsEmpty', 'errorMessage' => 'Api Key required parameters are empty, the required parameters are apiKeyName and apiKeyValue!', 'description' => ''],
['errorCode' => 'ApiKeyNameLengthExceed', 'errorMessage' => 'Api key name length cannot exceed 127!', 'description' => ''],
['errorCode' => 'ApiKeyValueLengthExceed', 'errorMessage' => 'Api key value length cannot exceed 127!', 'description' => ''],
['errorCode' => 'OAuthRequiredParameterIsEmpty', 'errorMessage' => 'OAuth required parameters are empty, the required parameters are authorizationEndpoint and httpMethod!', 'description' => ''],
['errorCode' => 'AuthorizationEndpointLengthExceed', 'errorMessage' => 'Authorization endpoint length cannot exceed 127!', 'description' => ''],
['errorCode' => 'ClientIDLengthExceed', 'errorMessage' => 'ClientID length cannot exceed 127!', 'description' => ''],
['errorCode' => 'ClientSecretLengthExceed', 'errorMessage' => 'ClientSecret length cannot exceed 127!', 'description' => ''],
['errorCode' => 'OauthHttpParametersEmpty', 'errorMessage' => 'OauthHttpParameters is Empty.', 'description' => ''],
['errorCode' => 'SecretManagerAPICreateSecretNameFailed', 'errorMessage' => 'Create secret manager api secret name failed', 'description' => ''],
],
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'InternalError', 'description' => ''],
],
],
'title' => '创建连接配置信息',
'summary' => '创建连接配置信息。',
'description' => '用于创建连接配置信息。',
'changeSet' => [
['createdAt' => '2023-09-13T11:38:18.000Z', 'description' => '错误码发生变更'],
['createdAt' => '2023-04-12T13:40:19.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2023-04-06T12:58:59.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateConnection'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'eventbridge:CreateConnection',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Connection', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:connection/*'],
],
],
],
],
'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"}]',
],
'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'],
],
'description' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''],
],
],
'title' => '创建一个事件总线',
'summary' => '创建一个事件总线。',
'description' => '创建一个事件总线。',
'changeSet' => [
['createdAt' => '2024-04-09T14:49:36.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2023-08-01T13:13:49.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2023-04-21T02:33:44.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'eventbridge:CreateEventBus',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventBus', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/*'],
],
],
],
],
'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"}]',
],
'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 event source'],
],
[
'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],
'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' => [
'description' => 'OSS 事件源参数。',
'type' => 'object',
'properties' => [
'EventTypes' => [
'description' => '事件类型列表。',
'type' => 'array',
'items' => ['description' => '事件类型。', 'type' => 'string', 'required' => false],
'required' => false,
],
'StsRoleArn' => ['description' => 'STS角色ARN。', 'type' => 'string', 'required' => false],
'MatchRules' => [
'description' => '匹配规则。',
'type' => 'array',
'items' => [
'description' => '事件匹配规则。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Prefix' => ['description' => '前缀。', 'type' => 'string', 'required' => false],
'Suffix' => ['description' => '后缀。', 'type' => 'string', 'required' => false],
'Name' => ['description' => '名称。', 'type' => 'string', 'required' => false],
'MatchState' => ['description' => '匹配状态。', 'type' => 'boolean', 'required' => false],
],
'required' => false,
'description' => '',
],
'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', 'description' => ''],
],
],
'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"
.'}`',
'changeSet' => [
['createdAt' => '2023-10-19T06:44:41.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2023-08-01T14:56:04.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2023-08-01T13:13:50.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2023-04-21T02:33:44.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2023-04-06T12:58:58.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateEventSource'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'eventbridge:CreateEventSource',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventSource', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}/eventsource/*'],
],
],
],
],
'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"}]',
],
'CreateEventStreaming' => [
'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' => false, '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' => ['description' => '地域ID。', 'type' => 'string', 'required' => false],
'InstanceType' => ['description' => '实例类型。', 'type' => 'string', 'required' => false],
'InstanceId' => ['description' => '实例ID。', 'type' => 'string', 'required' => false],
'Topics' => [
'description' => '消息Topic。',
'type' => 'array',
'items' => ['description' => '消息Topic。', 'type' => 'string', 'required' => false],
'required' => false,
],
],
'required' => false,
],
'SourceApacheRocketMQCheckpointParameters' => [
'title' => 'Source RocketMQ Checkpoint源',
'description' => 'Source RocketMQ Checkpoint源',
'type' => 'object',
'properties' => [
'RegionId' => ['description' => '地域ID。', 'type' => 'string', 'required' => false],
'Topics' => [
'description' => '消息Topic。',
'type' => 'array',
'items' => ['description' => '消息Topic。', 'type' => 'string', 'required' => false],
'required' => false,
],
'InstanceEndpoint' => ['description' => '实例接入点。', 'type' => 'string', 'required' => false],
'InstanceUsername' => ['description' => '实例用户名。', 'type' => 'string', 'required' => false],
'InstancePassword' => ['description' => '实例密码。', 'type' => 'string', 'required' => false],
'NetworkType' => ['description' => '网络类型。', 'type' => 'string', 'required' => false],
'VpcId' => ['description' => 'VPC ID。', 'type' => 'string', 'required' => false],
'VSwitchId' => ['description' => '虚拟交换机ID。', 'type' => 'string', 'required' => false],
'SecurityGroupId' => ['description' => '安全组ID。', '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'],
'NetworkType' => ['type' => 'string', 'required' => false, 'description' => ''],
'VpcId' => ['type' => 'string', 'required' => false, 'description' => ''],
'VSwitchIds' => ['type' => 'string', 'required' => false, 'description' => ''],
'SecurityGroupId' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'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],
'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, 'description' => ''],
'ExternalLabels' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'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],
'SslKeystoreCertificateChain' => ['title' => '【双向认证必填】Kafka 客户端证书链。当 Kafka 服务端开启双向 SSL 认证(ssl.client.auth=required)时,需提供此参数。格式要求:Base64 编码的 PEM 格式,包含客户端证书及完整的证书链(客户端证书在前,中间 CA 证书在后,根 CA 证书可选)。注意:确保每个 PEM 文件内容的开头和结尾分别是 \'-----BEGIN CERTIFICATE-----\' 和 \'-----END CERTIFICATE-----\' ,拼接后进行 Base64 编码'."\n", 'description' => '【双向认证必填】Kafka 客户端证书链。当 Kafka 服务端开启双向 SSL 认证(ssl.client.auth=required)时,需提供此参数。格式要求:Base64 编码的 PEM 格式,包含客户端证书及完整的证书链(客户端证书在前,中间 CA 证书在后,根 CA 证书可选)。注意:确保每个 PEM 文件内容的开头和结尾分别是 \'-----BEGIN CERTIFICATE-----\' 和 \'-----END CERTIFICATE-----\' ,拼接后进行 Base64 编码'."\n", 'type' => 'string', 'required' => false],
'SslKeyPassword' => ['title' => '【加密私钥必填】Kafka 客户端私钥密码。当客户端私钥使用密码加密保护时(即 PEM 文件中包含 \'Proc-Type: 4,ENCRYPTED\' 或 \'ENCRYPTED\' 标记),需提供解密密码。若私钥未加密则留空。注意:此密码仅用于解密私钥,与 Kafka 认证无关'."\n", 'description' => '【加密私钥必填】Kafka 客户端私钥密码。当客户端私钥使用密码加密保护时(即 PEM 文件中包含 \'Proc-Type: 4,ENCRYPTED\' 或 \'ENCRYPTED\' 标记),需提供解密密码。若私钥未加密则留空。注意:此密码仅用于解密私钥,与 Kafka 认证无关'."\n", 'type' => 'string', 'required' => false],
'SslTruststoreCertificates' => ['title' => '【SSL场景必填】Kafka 服务端信任证书。用于验证 Kafka Broker 的 SSL 证书合法性,防止中间人攻击。格式要求:Base64 编码的 PEM 格式,通常包含 Kafka 服务端的 CA 证书或服务端证书本身。示例:将 CA 证书的 PEM 文件内容(确保开头和结尾分别是 \'-----BEGIN CERTIFICATE-----\' 和 \'-----END CERTIFICATE-----\' ),进行 Base64 编码。若 Kafka 使用自签名证书,需提供签发该证书的 CA 证书', 'description' => '【SSL场景必填】Kafka 服务端信任证书。用于验证 Kafka Broker 的 SSL 证书合法性,防止中间人攻击。格式要求:Base64 编码的 PEM 格式,通常包含 Kafka 服务端的 CA 证书或服务端证书本身。示例:将 CA 证书的 PEM 文件内容(确保开头和结尾分别是 \'-----BEGIN CERTIFICATE-----\' 和 \'-----END CERTIFICATE-----\' ),进行 Base64 编码。若 Kafka 使用自签名证书,需提供签发该证书的 CA 证书', 'type' => 'string', 'required' => false],
'SslKeystoreKey' => [
'title' => '【双向认证必填】SSL 私钥配置对象。当 Kafka 服务端开启双向 SSL 认证时,需提供客户端私钥。密钥仅支持KMS 模式:通过 KmsArn 指定存储私钥的密钥管理服务资源,系统只在内存态从 KMS 获取私钥内容,安全性更高;配置示例:{\\"KmsArn\\": \\"acs:kms:cn-hangzhou:123456789:secret/ssl-key-xxxx\\", \\"KmsSecretValueKey\\": \\"keystore_private_key\\"}\\n"',
'description' => '【双向认证必填】SSL 私钥配置对象。当 Kafka 服务端开启双向 SSL 认证时,需提供客户端私钥。密钥仅支持KMS 模式:通过 KmsArn 指定存储私钥的密钥管理服务资源,系统只在内存态从 KMS 获取私钥内容,安全性更高;配置示例:{\\"KmsArn\\": \\"acs:kms:cn-hangzhou:123456789:secret/ssl-key-xxxx\\", \\"KmsSecretValueKey\\": \\"keystore_private_key\\"}\\n"',
'type' => 'object',
'properties' => [
'KmsArn' => ['title' => '【必填】存储 SSL 私钥的 KMS 资源 ARN。用于定位存放客户端私钥的密钥管理服务实例。格式示例: \'acs:kms:cn-hangzhou:123456789:secret/ssl-keystore-key-xxxx\'。获取方式:在 KMS 控制台查看对应密钥的 ARN 信息。', 'description' => '【必填】存储 SSL 私钥的 KMS 资源 ARN。用于定位存放客户端私钥的密钥管理服务实例。格式示例: \'acs:kms:cn-hangzhou:123456789:secret/ssl-keystore-key-xxxx\'。获取方式:在 KMS 控制台查看对应密钥的 ARN 信息。', 'type' => 'string', 'required' => false],
'KmsSecretValueKey' => ['title' => '【kms KV 模式】KMS 凭据中的密钥键名。当 KMS 存储的凭据为键值对(KV)结构时,填写此参数以指定 SSL 私钥对应的 key。示例:若 KMS 凭据为 \'{"ssl_keystore_key":"-----BEGIN PRIVATE KEY-----...","ssl_truststore_key":"..."}\',则填写 \'ssl_keystore_key\'。若 KMS 凭据为纯文本模式(直接存储私钥的 PEM 内容),则留空此参数'."\n", 'description' => '【kms KV 模式】KMS 凭据中的密钥键名。当 KMS 存储的凭据为键值对(KV)结构时,填写此参数以指定 SSL 私钥对应的 key。示例:若 KMS 凭据为 \'{"ssl_keystore_key":"-----BEGIN PRIVATE KEY-----...","ssl_truststore_key":"..."}\',则填写 \'ssl_keystore_key\'。若 KMS 凭据为纯文本模式(直接存储私钥的 PEM 内容),则留空此参数'."\n", 'type' => 'string', 'required' => false],
],
'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, 'description' => ''],
'VirtualHostName' => ['type' => 'string', 'required' => false, 'description' => ''],
'QueueName' => ['type' => 'string', 'required' => false, 'description' => ''],
'BodyDataType' => ['type' => 'string', 'required' => false, 'description' => ''],
'Username' => ['type' => 'string', 'required' => false, 'description' => ''],
'Password' => ['type' => 'string', 'required' => false, 'description' => ''],
'VpcId' => ['type' => 'string', 'required' => false, 'description' => ''],
'VSwitchIds' => ['type' => 'string', 'required' => false, 'description' => ''],
'SecurityGroupId' => ['type' => 'string', 'required' => false, 'description' => ''],
'NetworkType' => ['type' => 'string', 'required' => false, 'description' => ''],
'AuthType' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'SourceEventBusParameters' => [
'type' => 'object',
'properties' => [
'EventBusName' => ['type' => 'string', 'required' => false, 'description' => ''],
'EventRuleName' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'SourceMySQLParameters' => ['required' => false, '$ref' => '#/components/schemas/SourceMySQLParameters', 'description' => ''],
'SourcePostgreSQLParameters' => ['required' => false, '$ref' => '#/components/schemas/SourcePostgreSQLParameters', 'description' => ''],
'SourceRabbitMQMetaParameters' => ['required' => false, '$ref' => '#/components/schemas/SourceRabbitMQMetaParameters', 'description' => ''],
'SourceRabbitMQMsgSyncParameters' => ['required' => false, '$ref' => '#/components/schemas/SourceRabbitMQMsgSyncParameters', 'description' => ''],
'SourceFeiShuDocsParameters' => ['$ref' => '#/components/schemas/SourceFeiShuDocsParameters'],
],
'required' => false,
],
],
[
'name' => 'Metadata',
'in' => 'formData',
'schema' => ['type' => 'string'],
],
[
'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,
],
'SinkEventHouseParameters' => [
'title' => '事件目标名称',
'description' => '事件目标名称',
'type' => 'object',
'properties' => [
'CatalogName' => ['title' => 'catalog名称', 'description' => 'catalog名称', 'type' => 'string', 'required' => false, 'example' => 'demo'],
'NamespaceName' => ['title' => '目标表的命名空间', 'description' => '目标表的命名空间', 'type' => 'string', 'required' => false, 'example' => 'name1'],
'EventTableName' => ['title' => '目标表的名称', 'description' => '目标表的名称', 'type' => 'string', 'required' => false, 'example' => 'demo-table'],
'MappingRules' => [
'title' => '字段映射规则',
'description' => '字段映射规则',
'type' => 'array',
'items' => [
'title' => '字段映射规则',
'description' => '字段映射规则',
'type' => 'object',
'properties' => [
'ColumnValue' => [
'title' => '列值的提取规则',
'description' => '列值的提取规则',
'type' => 'object',
'properties' => [
'Value' => ['title' => '提取路径,如$.data.value.name', 'description' => '提取路径,如$.data.value.name', 'type' => 'string', 'required' => false, 'example' => '$.data.value'],
'Form' => ['title' => '转换的方式,如JSONPATH', 'description' => '转换的方式,如JSONPATH', 'type' => 'string', 'required' => false, 'example' => 'JSONPATH'],
'Template' => ['title' => '模板配置', 'description' => '模板配置', 'type' => 'string', 'required' => false, 'example' => 'The value of ${key} is ${value}!'],
],
'required' => false,
],
'ColumnName' => ['title' => '列名称', 'description' => '列名称', 'type' => 'string', 'required' => false, 'example' => 'age'],
'ColumnType' => [
'title' => '列的类型',
'description' => '列的类型',
'type' => 'string',
'required' => false,
'example' => 'text',
'enum' => ['text', 'bigint', 'json', 'timestamp', 'double'],
],
],
'required' => false,
],
'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],
],
'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,
],
'DynamicTopic' => [
'title' => '指定消息路由的目标 Topic 策略。若同时指定了Topic参数和DynamicTopic参数,以DynamicTopic参数的值为准。支持以下两种配置模式:'."\n"
.' 1. **静态常量模式**:直接填写固定的 Topic 名称字符串(例如:"order_created")。所有消息将统一发送至该 Topic。'."\n"
.' 2. **动态提取模式**:填写标准的 JSONPath 表达式(例如:"$.user.id" 或 "$.metadata.category")。系统将解析上游消息体,提取匹配字段的值作为目标 Topic 名称。',
'description' => '指定消息路由的目标 Topic 策略。若同时指定了Topic参数和DynamicTopic参数,以DynamicTopic参数的值为准。支持以下两种配置模式:'."\n"
.' 1. **静态常量模式**:直接填写固定的 Topic 名称字符串(例如:"order_created")。所有消息将统一发送至该 Topic。'."\n"
.' 2. **动态提取模式**:填写标准的 JSONPath 表达式(例如:"$.user.id" 或 "$.metadata.category")。系统将解析上游消息体,提取匹配字段的值作为目标 Topic 名称。',
'type' => 'object',
'properties' => [
'Value' => ['title' => '值', 'description' => '值', 'type' => 'string', 'required' => false],
'Form' => ['title' => '转换的类型'."\n"
.'CONSTANT:固定值'."\n"
.'JSONPATH:根据路径从上游提取', 'description' => '转换的类型'."\n"
.'CONSTANT:固定值'."\n"
.'JSONPATH:根据路径从上游提取', 'type' => 'string', 'required' => false],
'Template' => ['title' => '模板', 'description' => '模板', 'type' => 'string', 'required' => false],
],
'required' => false,
],
'Acks' => [
'description' => '写入Kafka确认模式:'."\n"
.'- acks=0:无需服务端的Response、性能较高、丢数据风险较大。'."\n"
.'- acks=1:服务端主节点写成功即返回Response、性能中等、丢数据风险中等、主节点宕机可能导致数据丢失;'."\n"
.'- acks=all:服务端主节点写成功且备节点同步成功才返回Response、性能较差、数据较为安全、主节点和备节点都宕机才会导致数据丢失。',
'type' => 'object',
'properties' => [
'Value' => ['title' => '', '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, 'description' => ''],
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'CompressionType' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
],
'SinkApacheKafkaParameters' => [
'title' => '描述信息',
'description' => '描述信息',
'type' => 'object',
'properties' => [
'Bootstraps' => ['title' => 'Kafka集群的初始连接地址', 'description' => 'Kafka集群的初始连接地址', 'type' => 'string', 'required' => false],
'DynamicTopic' => [
'title' => '指定消息路由的目标 Topic 策略。若同时指定了Topic参数和DynamicTopic参数,以DynamicTopic参数的值为准。支持以下两种配置模式:'."\n"
.' 1. **静态常量模式**:直接填写固定的 Topic 名称字符串(例如:"order_created")。所有消息将统一发送至该 Topic。'."\n"
.' 2. **动态提取模式**:填写标准的 JSONPath 表达式(例如:"$.user.id" 或 "$.metadata.category")。系统将解析上游消息体,提取匹配字段的值作为目标 Topic 名称。',
'description' => '指定消息路由的目标 Topic 策略。若同时指定了Topic参数和DynamicTopic参数,以DynamicTopic参数的值为准。支持以下两种配置模式:'."\n"
.' 1. **静态常量模式**:直接填写固定的 Topic 名称字符串(例如:"order_created")。所有消息将统一发送至该 Topic。'."\n"
.' 2. **动态提取模式**:填写标准的 JSONPath 表达式(例如:"$.user.id" 或 "$.metadata.category")。系统将解析上游消息体,提取匹配字段的值作为目标 Topic 名称。',
'type' => 'object',
'properties' => [
'Value' => ['title' => '值', 'description' => '值', 'type' => 'string', 'required' => false],
'Form' => ['title' => '转换的类型'."\n"
.'CONSTANT:固定值'."\n"
.'JSONPATH:根据路径从上游提取', 'description' => '转换的类型'."\n"
.'CONSTANT:固定值'."\n"
.'JSONPATH:根据路径从上游提取', 'type' => 'string', 'required' => false],
'Template' => ['title' => '模板', 'description' => '模板', 'type' => 'string', 'required' => false],
],
'required' => false,
],
'Topic' => ['type' => 'string', 'required' => false, 'description' => ''],
'Acks' => ['type' => 'string', 'required' => false, 'description' => ''],
'Key' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'Value' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'Headers' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'SecurityProtocol' => ['type' => 'string', 'required' => false, 'description' => ''],
'SaslMechanism' => ['type' => 'string', 'required' => false, 'description' => ''],
'SaslUser' => ['type' => 'string', 'required' => false, 'description' => ''],
'SslKeystoreCertificateChain' => ['title' => '【双向认证必填】Kafka 客户端证书链。当 Kafka 服务端开启双向 SSL 认证(ssl.client.auth=required)时,需提供此参数。格式要求:Base64 编码的 PEM 格式,包含客户端证书及完整的证书链(客户端证书在前,中间 CA 证书在后,根 CA 证书可选)。注意:确保每个 PEM 文件内容的开头和结尾分别是 \'-----BEGIN CERTIFICATE-----\' 和 \'-----END CERTIFICATE-----\' ,拼接后进行 Base64 编码'."\n", 'description' => '【双向认证必填】Kafka 客户端证书链。当 Kafka 服务端开启双向 SSL 认证(ssl.client.auth=required)时,需提供此参数。格式要求:Base64 编码的 PEM 格式,包含客户端证书及完整的证书链(客户端证书在前,中间 CA 证书在后,根 CA 证书可选)。注意:确保每个 PEM 文件内容的开头和结尾分别是 \'-----BEGIN CERTIFICATE-----\' 和 \'-----END CERTIFICATE-----\' ,拼接后进行 Base64 编码'."\n", 'type' => 'string', 'required' => false],
'SslKeyPassword' => ['title' => '【加密私钥必填】Kafka 客户端私钥密码。当客户端私钥使用密码加密保护时(即 PEM 文件中包含 \'Proc-Type: 4,ENCRYPTED\' 或 \'ENCRYPTED\' 标记),需提供解密密码。若私钥未加密则留空。注意:此密码仅用于解密私钥,与 Kafka 认证无关'."\n", 'description' => '【加密私钥必填】Kafka 客户端私钥密码。当客户端私钥使用密码加密保护时(即 PEM 文件中包含 \'Proc-Type: 4,ENCRYPTED\' 或 \'ENCRYPTED\' 标记),需提供解密密码。若私钥未加密则留空。注意:此密码仅用于解密私钥,与 Kafka 认证无关'."\n", 'type' => 'string', 'required' => false],
'SslTruststoreCertificates' => ['title' => '【SSL场景必填】Kafka 服务端信任证书。用于验证 Kafka Broker 的 SSL 证书合法性,防止中间人攻击。格式要求:Base64 编码的 PEM 格式,通常包含 Kafka 服务端的 CA 证书或服务端证书本身。示例:将 CA 证书的 PEM 文件内容(确保开头和结尾分别是 \'-----BEGIN CERTIFICATE-----\' 和 \'-----END CERTIFICATE-----\' ),进行 Base64 编码。若 Kafka 使用自签名证书,需提供签发该证书的 CA 证书', 'description' => '【SSL场景必填】Kafka 服务端信任证书。用于验证 Kafka Broker 的 SSL 证书合法性,防止中间人攻击。格式要求:Base64 编码的 PEM 格式,通常包含 Kafka 服务端的 CA 证书或服务端证书本身。示例:将 CA 证书的 PEM 文件内容(确保开头和结尾分别是 \'-----BEGIN CERTIFICATE-----\' 和 \'-----END CERTIFICATE-----\' ),进行 Base64 编码。若 Kafka 使用自签名证书,需提供签发该证书的 CA 证书', 'type' => 'string', 'required' => false],
'SslKeystoreKey' => [
'title' => '【双向认证必填】SSL 私钥配置对象。当 Kafka 服务端开启双向 SSL 认证时,需提供客户端私钥。密钥仅支持KMS 模式:通过 KmsArn 指定存储私钥的密钥管理服务资源,系统只在内存态从 KMS 获取私钥内容,安全性更高;配置示例:{\\"KmsArn\\": \\"acs:kms:cn-hangzhou:123456789:secret/ssl-key-xxxx\\", \\"KmsSecretValueKey\\": \\"keystore_private_key\\"}\\n"',
'description' => '【双向认证必填】SSL 私钥配置对象。当 Kafka 服务端开启双向 SSL 认证时,需提供客户端私钥。密钥仅支持KMS 模式:通过 KmsArn 指定存储私钥的密钥管理服务资源,系统只在内存态从 KMS 获取私钥内容,安全性更高;配置示例:{\\"KmsArn\\": \\"acs:kms:cn-hangzhou:123456789:secret/ssl-key-xxxx\\", \\"KmsSecretValueKey\\": \\"keystore_private_key\\"}\\n"',
'type' => 'object',
'properties' => [
'KmsArn' => ['title' => '【必填】存储 SSL 私钥的 KMS 资源 ARN。用于定位存放客户端私钥的密钥管理服务实例。格式示例: \'acs:kms:cn-hangzhou:123456789:secret/ssl-keystore-key-xxxx\'。获取方式:在 KMS 控制台查看对应密钥的 ARN 信息。', 'description' => '【必填】存储 SSL 私钥的 KMS 资源 ARN。用于定位存放客户端私钥的密钥管理服务实例。格式示例: \'acs:kms:cn-hangzhou:123456789:secret/ssl-keystore-key-xxxx\'。获取方式:在 KMS 控制台查看对应密钥的 ARN 信息。', 'type' => 'string', 'required' => false],
'KmsSecretValueKey' => ['title' => '【kms KV 模式】KMS 凭据中的密钥键名。当 KMS 存储的凭据为键值对(KV)结构时,填写此参数以指定 SSL 私钥对应的 key。示例:若 KMS 凭据为 \'{"ssl_keystore_key":"-----BEGIN PRIVATE KEY-----...","ssl_truststore_key":"..."}\',则填写 \'ssl_keystore_key\'。若 KMS 凭据为纯文本模式(直接存储私钥的 PEM 内容),则留空此参数'."\n", 'description' => '【kms KV 模式】KMS 凭据中的密钥键名。当 KMS 存储的凭据为键值对(KV)结构时,填写此参数以指定 SSL 私钥对应的 key。示例:若 KMS 凭据为 \'{"ssl_keystore_key":"-----BEGIN PRIVATE KEY-----...","ssl_truststore_key":"..."}\',则填写 \'ssl_keystore_key\'。若 KMS 凭据为纯文本模式(直接存储私钥的 PEM 内容),则留空此参数'."\n", 'type' => 'string', 'required' => false],
],
'required' => false,
],
'CompressionType' => ['type' => 'string', 'required' => false, 'description' => ''],
'VpcId' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'VSwitchIds' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'SecurityGroupId' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'NetworkType' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'SaslPassword' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'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, 'description' => ''],
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'required' => false,
],
'DeliveryOrderType' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'ShardingKey' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
],
'required' => false,
],
'SinkDorisParameters' => [
'title' => '事件源类型',
'description' => '事件源类型',
'type' => 'object',
'properties' => [
'QueryEndpoint' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'FeHttpEndpoint' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'BeHttpEndpoint' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'UserName' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'Password' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'Database' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'Table' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'Body' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'NetworkType' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'VpcId' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'VSwitchIds' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'SecurityGroupId' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
],
'required' => false,
],
'SinkRocketMQCheckpointParameters' => [
'title' => '事件源类型',
'description' => '事件源类型',
'type' => 'object',
'properties' => [
'InstanceType' => ['type' => 'string', 'required' => false, 'description' => ''],
'InstanceId' => ['type' => 'string', 'required' => false, 'description' => ''],
'Topic' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'ConsumeTimestamp' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'Group' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
],
'required' => false,
],
'SinkApacheRocketMQCheckpointParameters' => [
'title' => '事件源类型',
'description' => '事件源类型',
'type' => 'object',
'properties' => [
'Topic' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'ConsumeTimestamp' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'Group' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'InstanceEndpoint' => ['type' => 'string', 'required' => false, 'description' => ''],
'InstanceUsername' => ['type' => 'string', 'required' => false, 'description' => ''],
'InstancePassword' => ['type' => 'string', 'required' => false, 'description' => ''],
'NetworkType' => ['type' => 'string', 'required' => false, 'description' => ''],
'VpcId' => ['type' => 'string', 'required' => false, 'description' => ''],
'VSwitchId' => ['type' => 'string', 'required' => false, 'description' => ''],
'SecurityGroupId' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
'Form' => ['description' => '转换的格式。', 'type' => 'string', 'required' => false, 'example' => 'ORIGINAL'],
'Template' => ['description' => '无', 'type' => 'string', 'required' => false],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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' => 'name'],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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' => '${partition}'],
],
'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' => '${vector}'],
],
'required' => false,
],
'DashVectorSchemaParameters' => [
'title' => '属性Schema',
'description' => '插入DashVector时表项的Schema字段定义,事件内容转换后结果必须是JSON格式。',
'type' => 'array',
'items' => [
'title' => '属性列',
'description' => '属性列',
'type' => 'object',
'properties' => [
'Name' => [
'title' => '属性名',
'description' => '属性名',
'type' => 'object',
'properties' => [
'Form' => ['title' => 'Form', 'description' => 'Form', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT'],
'Value' => ['title' => 'Value', 'description' => 'Value', 'type' => 'string', 'required' => false, 'example' => 'content'],
'Template' => ['title' => 'Template', 'description' => 'Template', 'type' => 'string', 'required' => false, 'example' => ' '],
],
'required' => false,
],
'Type' => [
'title' => 'DashVector属性类型',
'description' => 'DashVector属性类型',
'type' => 'object',
'properties' => [
'Form' => ['title' => 'Form', 'description' => 'Form', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT'],
'Value' => ['title' => 'Value', 'description' => 'Value', 'type' => 'string', 'required' => false, 'example' => 'STRING'],
'Template' => ['title' => 'Template', 'description' => 'Template', 'type' => 'string', 'required' => false, 'example' => ' '],
],
'required' => false,
],
'Value' => [
'title' => '属性值',
'description' => '属性值',
'type' => 'object',
'properties' => [
'Form' => ['title' => 'Form', 'description' => 'Form', 'type' => 'string', 'required' => false, 'example' => 'JSONPATH'],
'Value' => ['title' => 'Value', 'description' => 'Value', 'type' => 'string', 'required' => false, 'example' => '$.data.content'],
'Template' => ['title' => 'Template', 'description' => 'Template', 'type' => 'string', 'required' => false, 'example' => '${content}'],
],
'required' => false,
],
],
'required' => false,
],
'required' => false,
],
],
'required' => false,
],
'SinkOpenSourceRabbitMQParameters' => [
'type' => 'object',
'properties' => [
'Endpoint' => ['type' => 'string', 'required' => false, 'description' => ''],
'VirtualHostName' => ['type' => 'string', 'required' => false, 'description' => ''],
'TargetType' => ['type' => 'string', 'required' => false, 'description' => ''],
'Exchange' => ['type' => 'string', 'required' => false, 'description' => ''],
'QueueName' => ['type' => 'string', 'required' => false, 'description' => ''],
'Username' => ['type' => 'string', 'required' => false, 'description' => ''],
'Password' => ['type' => 'string', 'required' => false, 'description' => ''],
'VpcId' => ['type' => 'string', 'required' => false, 'description' => ''],
'VSwitchIds' => ['type' => 'string', 'required' => false, 'description' => ''],
'SecurityGroupId' => ['type' => 'string', 'required' => false, 'description' => ''],
'NetworkType' => ['type' => 'string', 'required' => false, 'description' => ''],
'AuthType' => ['type' => 'string', 'required' => false, 'description' => ''],
'RoutingKey' => [
'type' => 'object',
'properties' => [
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'Body' => [
'type' => 'object',
'properties' => [
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'MessageId' => [
'type' => 'object',
'properties' => [
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'Properties' => [
'type' => 'object',
'properties' => [
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
],
'required' => false,
'description' => '',
],
'SinkBaiLianParameters' => ['required' => false, '$ref' => '#/components/schemas/SinkBaiLianParameters', 'description' => ''],
'SinkDataWorksTriggerParameters' => ['required' => false, '$ref' => '#/components/schemas/SinkDataWorksTriggerParameters', 'description' => ''],
'SinkHttpsParameters' => ['required' => false, '$ref' => '#/components/schemas/SinkHttpsParameters', 'description' => ''],
'SinkApiDestinationParameters' => ['required' => false, '$ref' => '#/components/schemas/SinkApiDestinationParameters', 'description' => ''],
'SinkOSSParameters' => ['required' => false, '$ref' => '#/components/schemas/SinkOSSParameters', 'description' => ''],
'SinkRabbitMQMetaParameters' => ['required' => false, '$ref' => '#/components/schemas/SinkRabbitMQMetaParameters', 'description' => ''],
'SinkRabbitMQMsgSyncParameters' => ['required' => false, '$ref' => '#/components/schemas/SinkRabbitMQMsgSyncParameters', 'description' => ''],
'SinkMQTTParameters' => ['required' => false, '$ref' => '#/components/schemas/SinkMQTTParameters', 'description' => ''],
'SinkAgentRunParameters' => ['$ref' => '#/components/schemas/SinkAgentRunParameters'],
],
'required' => false,
],
],
[
'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, 'description' => ''],
'VpcId' => ['type' => 'string', 'required' => false, 'description' => ''],
'VSwitchIds' => ['type' => 'string', 'required' => false, 'description' => ''],
'SecurityGroupId' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'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, 'description' => ''],
'MinCapacityUnitCount' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'description' => ''],
'MaxCapacityUnitCount' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'Throttling' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'description' => ''],
],
'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', 'description' => ''],
'BaiLianAgentTransformParameters' => ['required' => false, '$ref' => '#/components/schemas/BaiLianAgentTransformParameters', 'description' => ''],
'EmbeddingTransformParameters' => ['required' => false, '$ref' => '#/components/schemas/EmbeddingTransformParameters', 'description' => ''],
],
'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,
'description' => '',
],
'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', 'description' => ''],
],
],
'title' => '创建一个事件流',
'summary' => '创建一个事件流。',
'description' => '创建一个事件流。',
'changeSet' => [
['createdAt' => '2025-06-04T03:29:37.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2025-05-28T02:59:04.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2025-05-27T06:44:15.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2025-04-24T03:25:44.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2025-04-14T13:06:33.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2025-04-08T14:34:38.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2025-04-07T07:28:14.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2025-03-26T11:30:49.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2025-02-20T11:46:50.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2025-02-11T12:15:19.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2025-01-10T05:53:58.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2024-09-10T05:42:13.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2024-09-09T03:30:05.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2024-08-19T09:20:37.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2024-07-12T03:21:13.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2024-05-31T06:16:32.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2024-04-09T14:49:35.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2024-02-21T08:40:53.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2024-02-19T06:14:33.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2024-01-25T08:13:45.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2023-12-28T06:31:22.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2023-11-22T14:16:58.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2023-09-13T13:10:40.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2023-04-21T03:32:06.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2023-04-06T12:58:57.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
['createdAt' => '2022-09-14T08:06:30.000Z', 'description' => 'OpenAPI 下线'],
['createdAt' => '2022-09-14T08:06:30.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateEventStreaming'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'eventbridge:CreateEventStreaming',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventStreaming', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventstreaming/{#EventStreamingName}'],
],
],
],
],
'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"}]',
],
'CreateNamespace' => [
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '38582',
'abilityTreeNodes' => ['FEATUREeventbridgeHELDSX'],
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'Name',
'in' => 'query',
'schema' => ['title' => '命名空间名称', 'description' => '命名空间名称', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'my_namespace', 'maxLength' => 127, 'minLength' => 1],
],
[
'name' => 'Comment',
'in' => 'query',
'schema' => ['title' => '备注说明', 'description' => '备注说明', 'type' => 'string', 'required' => false, 'example' => '测试命名空间'],
],
[
'name' => 'ClientToken',
'in' => 'formData',
'schema' => ['title' => '幂等Token', 'description' => '幂等Token', 'type' => 'string', 'required' => false, 'example' => '1e9b8f60-3a2c-4d7e-9f1b-8c3d5e7a2b4f'],
],
[
'name' => 'Catalog',
'in' => 'query',
'schema' => ['title' => '所属数据目录', 'description' => '所属数据目录', 'type' => 'string', 'required' => false, 'example' => 'my_catalog'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Message' => ['title' => '接口返回信息', 'description' => '接口返回信息', 'type' => 'string', 'example' => 'Operation success'],
'RequestId' => ['title' => '请求ID', 'description' => '请求ID', 'type' => 'string', 'example' => '34AD682D-5B91-5773-8132-AA38C130****'],
'Data' => [
'title' => '返回数据',
'description' => '返回数据',
'type' => 'object',
'properties' => [
'NamespaceARN' => ['title' => '命名空间ARN', 'description' => '命名空间ARN', 'type' => 'string', 'example' => 'acs:eventbridge:cn-hangzhou:123456789:catalog/my_catalog/namespace/my_namespace'],
],
],
'Code' => ['title' => '接口返回码,200表示成功', 'description' => '接口返回码,200表示成功', 'type' => 'string', 'example' => '200'],
'Success' => ['title' => '操作是否成功', 'description' => '操作是否成功', 'type' => 'boolean', 'example' => 'true'],
],
'description' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''],
],
],
'title' => '创建命名空间',
'summary' => '创建命名空间',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'eventbridge:CreateNamespace',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Namespace', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:namespace/{#NamespaceId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"Operation success\\",\\n \\"RequestId\\": \\"34AD682D-5B91-5773-8132-AA38C130****\\",\\n \\"Data\\": {\\n \\"NamespaceARN\\": \\"acs:eventbridge:cn-hangzhou:123456789:catalog/my_catalog/namespace/my_namespace\\"\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]',
],
'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 filter rule'],
],
[
'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"],
'Network' => ['description' => '网络类型。', 'type' => 'string', 'required' => false],
'VpcId' => ['description' => 'VPC ID。', 'type' => 'string', 'required' => false],
'VSwitchIds' => ['description' => '虚拟交换机ID。', 'type' => 'string', 'required' => false],
'SecurityGroupId' => ['description' => '安全组ID。', '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'],
],
'description' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''],
],
],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
],
'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"
.'}',
'changeSet' => [
['createdAt' => '2025-05-27T06:50:32.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2024-09-25T13:03:07.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2024-02-29T11:06:15.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'eventbridge:CreateRule',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Rule', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}/rule/{#RuleName}'],
],
],
],
],
'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"}]',
],
'CreateServiceLinkedRoleForProduct' => [
'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', 'description' => ''],
],
],
'title' => '根据产品关联的 SLR名称创建SLR',
'summary' => '根据产品关联的 SLR名称创建SLR。',
'description' => '根据产品关联的 SLR名称创建SLR。',
'changeSet' => [
['createdAt' => '2024-04-09T14:49:30.000Z', 'description' => '响应参数发生变更、响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'eventbridge:CreateServiceLinkedRoleForProduct',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'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"}]',
],
'CreateTable' => [
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '38582',
'abilityTreeNodes' => ['FEATUREeventbridgeHELDSX'],
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'Name',
'in' => 'query',
'schema' => ['title' => '表名称', 'description' => '表名称', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'my_table', 'maxLength' => 127, 'minLength' => 1],
],
[
'name' => 'Catalog',
'in' => 'query',
'schema' => ['title' => '所属数据目录', 'description' => '所属数据目录', 'type' => 'string', 'required' => false, 'example' => 'my_catalog', 'maxLength' => 255],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['title' => '幂等Token', 'description' => '幂等Token', 'type' => 'string', 'required' => false, 'example' => '1e9b8f60-3a2c-4d7e-9f1b-8c3d5e7a2b4f'],
],
[
'name' => 'Namespace',
'in' => 'query',
'schema' => ['title' => '所属命名空间', 'description' => '所属命名空间', 'type' => 'string', 'required' => false, 'example' => 'my_namespace'],
],
[
'name' => 'Comment',
'in' => 'query',
'schema' => ['title' => '备注描述', 'description' => '备注描述', 'type' => 'string', 'required' => false, 'example' => '测试事件表'],
],
[
'name' => 'Columns',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '列定义',
'description' => '列定义',
'type' => 'array',
'items' => [
'description' => '列。',
'type' => 'object',
'properties' => [
'Name' => ['description' => '连接器名称。', 'type' => 'string', 'required' => false, 'example' => 'kafka-default-agent-alikafka_pre-cn-28t3sfzno003'],
'Type' => ['description' => '列的类型', 'type' => 'string', 'required' => false, 'example' => 'ehpc_cluster'],
'Comment' => ['description' => '字段的备注信息。', 'type' => 'string', 'required' => false, 'example' => 'Isp'],
],
'required' => false,
],
'required' => false,
'example' => '[{"Name":"id","Type":"bigint","Comment":"主键"}]',
],
],
[
'name' => 'RetentionPolicy',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '数据保留策略',
'description' => '数据保留策略',
'type' => 'object',
'properties' => [
'HotTTL' => ['description' => '热存储时间', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30'],
'ColdTTL' => ['description' => '冷存储时间', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30'],
],
'required' => false,
'example' => '{"HotTTL":7,"ColdTTL":30}',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Message' => ['title' => '接口返回信息', 'description' => '接口返回信息', 'type' => 'string', 'example' => 'Operation success'],
'RequestId' => ['title' => '请求ID', 'description' => '请求ID', 'type' => 'string', 'example' => '34AD682D-5B91-5773-8132-AA38C130****'],
'Data' => [
'title' => '返回数据',
'description' => '返回数据',
'type' => 'object',
'properties' => [
'TableARN' => ['title' => '表ARN', 'description' => '表ARN', 'type' => 'string', 'example' => 'acs:eventbridge:cn-hangzhou:123456789:catalog/my_catalog/namespace/my_namespace/table/my_table'],
],
'example' => '{"TableARN":"acs:eventbridge:cn-hangzhou:123456789:catalog/my_catalog/namespace/my_namespace/table/my_table"}',
],
'Code' => ['title' => '返回码', 'description' => '返回码', 'type' => 'string', 'example' => '200'],
'Success' => ['title' => '是否成功', 'description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
],
'description' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''],
],
],
'title' => '创建表',
'summary' => '创建数据目录',
'description' => '在指定的规则下创建事件目标。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'eventbridge:CreateTable',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Table', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:table/{#TableId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"Operation success\\",\\n \\"RequestId\\": \\"34AD682D-5B91-5773-8132-AA38C130****\\",\\n \\"Data\\": {\\n \\"TableARN\\": \\"acs:eventbridge:cn-hangzhou:123456789:catalog/my_catalog/namespace/my_namespace/table/my_table\\"\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]',
],
'DeleteAgent' => [
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '163683',
'abilityTreeNodes' => ['FEATUREeventbridgeRBNSGL'],
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'Name',
'in' => 'formData',
'schema' => ['description' => 'Agent 名称', 'type' => 'string', 'required' => true, 'example' => 'my-agent', 'maxLength' => 128, 'minLength' => 2],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求id。', 'type' => 'string', 'example' => 'B896B484-F16D-59DE-9E23-DD0E5C361108'],
'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Agent with name \'xxx\' not found for account 1186xxx'],
'Code' => ['description' => '接口状态或POP错误码。取值说明如下:Success:成功。', 'type' => 'string', 'example' => 'AgentNotFound'],
],
'description' => '',
],
],
],
'errorCodes' => [
409 => [
['errorCode' => 'RequestParameterException', 'errorMessage' => 'Request parameter exception', 'description' => ''],
['errorCode' => 'ApiDestinationNotExist', 'errorMessage' => 'The api-destination not existed!', 'description' => ''],
],
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'InternalError', 'description' => ''],
],
],
'title' => '删除自定义Agent',
'summary' => 'DeleteAgent',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'eventbridge:DeleteAgent',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B896B484-F16D-59DE-9E23-DD0E5C361108\\",\\n \\"Message\\": \\"Agent with name \'xxx\' not found for account 1186xxx\\",\\n \\"Code\\": \\"AgentNotFound\\"\\n}","type":"json"}]',
],
'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'],
],
'description' => '',
],
],
],
'errorCodes' => [
409 => [
['errorCode' => 'RequestParameterException', 'errorMessage' => 'Request parameter exception', 'description' => ''],
['errorCode' => 'ApiDestinationNotExist', 'errorMessage' => 'The api-destination not existed!', 'description' => ''],
],
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'InternalError', 'description' => ''],
],
],
'title' => '删除API 端点',
'description' => '用于删除指定API 端点。',
'changeSet' => [
['createdAt' => '2023-09-13T11:38:17.000Z', 'description' => '错误码发生变更'],
['createdAt' => '2023-04-06T12:58:58.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'eventbridge:DeleteApiDestination',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'ApiDestination', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:apidestination/{#ApiDestinationName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"382E6272-8E9C-5681-AC96-A8AF0BFAC1A5\\",\\n \\"Message\\": \\"success\\",\\n \\"Code\\": \\"Success\\"\\n}","type":"json"}]',
],
'DeleteConnection' => [
'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'],
],
'description' => '',
],
],
],
'errorCodes' => [
409 => [
['errorCode' => 'RequestParameterException', 'errorMessage' => 'Request parameter exception', 'description' => ''],
['errorCode' => 'ConnectionNotExist', 'errorMessage' => 'The Connection not existed!', 'description' => ''],
['errorCode' => 'ConnectionBoundApiDestination', 'errorMessage' => 'The Connection has bound API Destination, deletion is not allowed.', 'description' => ''],
['errorCode' => 'SecretManagerAPIDeleteSecretFailed', 'errorMessage' => 'Delete secret manager api secret failed!', 'description' => ''],
],
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'InternalError', 'description' => ''],
],
],
'title' => '删除指定的连接配置信息',
'summary' => '删除指定的连接配置信息。',
'description' => '用于删除指定的连接配置信息。',
'changeSet' => [
['createdAt' => '2023-09-13T11:38:17.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteConnection'],
],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'eventbridge:DeleteConnection',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Connection', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:connection/{#ConnectionName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8EF25E37-1750-5D7A-BA56-F8AE081A69C8\\",\\n \\"Message\\": \\"success\\",\\n \\"Code\\": \\"Success\\"\\n}","type":"json"}]',
],
'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' => ['description' => '是否成功。', 'type' => 'boolean'],
'Code' => ['description' => '接口返回码:200:表示成功。 其它:表示错误码。错误码详情,请参见错误码。', 'type' => 'string', 'example' => '200'],
'Success' => ['description' => '操作成功返回true。', 'type' => 'boolean', 'example' => 'true'],
],
'description' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''],
],
],
'title' => '删除一个事件总线',
'summary' => '删除一个事件总线。',
'description' => '删除一个事件总线。',
'changeSet' => [
['createdAt' => '2024-04-09T14:49:39.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'eventbridge:DeleteEventBus',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventBus', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}'],
],
],
],
],
'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"}]',
],
'DeleteEventSource' => [
'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'],
],
'description' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''],
],
],
'title' => '删除一个事件源',
'summary' => '删除一个事件源。',
'description' => '删除一个事件源。',
'changeSet' => [
['createdAt' => '2024-04-09T14:49:38.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteEventSource'],
],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'eventbridge:DeleteEventSource',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventSource', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}/eventsource/{#EventSourceName}'],
],
],
],
],
'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"}]',
],
'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'],
],
'description' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''],
],
],
'title' => '删除一个事件流',
'description' => '删除一个事件流。',
'changeSet' => [
['createdAt' => '2025-02-20T11:46:50.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2024-03-14T07:20:56.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2023-04-06T12:58:57.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
['createdAt' => '2022-09-14T08:06:13.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
['createdAt' => '2022-09-14T08:06:13.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteEventStreaming'],
],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'eventbridge:DeleteEventStreaming',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventStreaming', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventstreaming/{#EventStreamingName}'],
],
],
],
],
'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"}]',
],
'DeleteNamespace' => [
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '38582',
'abilityTreeNodes' => ['FEATUREeventbridgeHELDSX'],
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'Name',
'in' => 'query',
'schema' => ['title' => '命名空间名称', 'description' => '命名空间名称', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'my_namespace', 'maxLength' => 127, 'minLength' => 1],
],
[
'name' => 'ClientToken',
'in' => 'formData',
'schema' => ['title' => '幂等Token', 'description' => '幂等Token', 'type' => 'string', 'required' => false, 'example' => '1e9b8f60-3a2c-4d7e-9f1b-8c3d5e7a2b4f'],
],
[
'name' => 'Catalog',
'in' => 'query',
'schema' => ['title' => '所属数据目录', 'description' => '所属数据目录', 'type' => 'string', 'required' => false, 'example' => 'my_catalog'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Message' => ['title' => '接口返回信息', 'description' => '接口返回信息', 'type' => 'string', 'example' => 'Operation success'],
'RequestId' => ['title' => '请求ID', 'description' => '请求ID', 'type' => 'string', 'example' => '34AD682D-5B91-5773-8132-AA38C130****'],
'Code' => ['title' => '接口返回码,200表示成功', 'description' => '接口返回码,200表示成功', 'type' => 'string', 'example' => '200'],
'Success' => ['title' => '操作是否成功', 'description' => '操作是否成功', 'type' => 'boolean', 'example' => 'true'],
],
'description' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''],
],
],
'title' => '删除命名空间',
'summary' => '删除命名空间',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'eventbridge:DeleteNamespace',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Namespace', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:namespace/{#NamespaceId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"Operation success\\",\\n \\"RequestId\\": \\"34AD682D-5B91-5773-8132-AA38C130****\\",\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]',
],
'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'],
],
'description' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''],
],
],
'title' => '删除一个事件规则',
'summary' => '删除一个事件规则。',
'description' => '删除一个事件规则。',
'changeSet' => [
['createdAt' => '2024-04-09T14:49:38.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'eventbridge:DeleteRule',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Rule', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}/rule/{#RuleName}'],
],
],
],
],
'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"}]',
],
'DeleteTable' => [
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '38582',
'abilityTreeNodes' => ['FEATUREeventbridgeHELDSX'],
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'Name',
'in' => 'query',
'schema' => ['title' => '表名称', 'description' => '表名称', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'my_table', 'maxLength' => 127, 'minLength' => 1],
],
[
'name' => 'ClientToken',
'in' => 'formData',
'schema' => ['title' => '幂等Token', 'description' => '幂等Token', 'type' => 'string', 'required' => false, 'example' => '1e9b8f60-3a2c-4d7e-9f1b-8c3d5e7a2b4f'],
],
[
'name' => 'Catalog',
'in' => 'query',
'schema' => ['title' => '所属数据目录', 'description' => '所属数据目录', 'type' => 'string', 'required' => false, 'example' => 'my_catalog'],
],
[
'name' => 'Namespace',
'in' => 'query',
'schema' => ['title' => '所属命名空间', 'description' => '所属命名空间', 'type' => 'string', 'required' => false, 'example' => 'my_namespace'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Message' => ['title' => '接口返回信息', 'description' => '接口返回信息', 'type' => 'string', 'example' => 'Operation success'],
'RequestId' => ['title' => '请求ID', 'description' => '请求ID', 'type' => 'string', 'example' => '34AD682D-5B91-5773-8132-AA38C130****'],
'Code' => ['title' => '返回码', 'description' => '返回码', 'type' => 'string', 'example' => '200'],
'Success' => ['title' => '是否成功', 'description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
],
'description' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''],
],
],
'title' => '删除表',
'summary' => '删除表',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'eventbridge:DeleteTable',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Table', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:table/{#TableId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"Operation success\\",\\n \\"RequestId\\": \\"34AD682D-5B91-5773-8132-AA38C130****\\",\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]',
],
'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'],
],
'description' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''],
],
],
'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"
.'] }`',
'changeSet' => [
['createdAt' => '2024-04-09T14:49:38.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'eventbridge:DeleteTargets',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Rule', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}/rule/{#RuleName}'],
],
],
],
],
'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"}]',
],
'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'],
],
'description' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''],
],
],
'title' => '禁用一个事件规则',
'summary' => '禁用一个事件规则。',
'description' => '禁用一个事件规则。',
'changeSet' => [
['createdAt' => '2024-02-21T07:02:26.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'eventbridge:DisableRule',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Rule', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}/rule/{#RuleName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"EventRuleNotExisted\\",\\n \\"RequestId\\": \\"C36345A1-75F3-5A1A-BFCF-33B82719****\\",\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]',
],
'DiscoverEventSource' => [
'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'],
],
'description' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''],
],
],
'title' => '探测事件源',
'summary' => '发现EventSource(例如:Mysql)的Schema和SimpleData',
'description' => '探测事件源信息。',
'changeSet' => [
['createdAt' => '2025-06-19T03:33:29.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'eventbridge:DiscoverEventSource',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'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"}]',
],
'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'],
],
'description' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''],
],
],
'title' => '启用一个事件规则',
'summary' => '启用一个事件规则。',
'description' => '启用一个事件规则。',
'changeSet' => [
['createdAt' => '2024-02-21T07:02:26.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'eventbridge:EnableRule',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Rule', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}/rule/{#RuleName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"EventRuleNotExisted\\",\\n \\"RequestId\\": \\"580A938B-6107-586C-8EC7-F22EEBEDA9E6\\",\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"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,
'description' => '',
],
'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' => [
'description' => '嵌套过滤条件的逻辑组合方式。',
'type' => 'string',
'required' => false,
'example' => 'AND',
'default' => 'AND',
'enum' => ['AND', 'OR'],
],
'NestedFilters' => [
'description' => '嵌套过滤条件列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Column' => ['description' => '列名。', 'type' => 'string', 'required' => false],
'Op' => [
'description' => '操作符。',
'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' => [
'description' => '与操作符配合使用的值列表。',
'type' => 'array',
'items' => ['type' => 'string', 'required' => false, 'description' => ''],
'required' => false,
],
],
'required' => false,
'description' => '',
],
'required' => false,
],
],
'required' => false,
'description' => '',
],
'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,
'description' => '',
],
'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'],
],
'description' => '',
],
],
'Table' => [
'description' => '对应查询类型为table的查询结果。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'RowData' => ['description' => '查询结果的条目,以k-v对表示。', 'type' => 'object', 'example' => '{'."\n"
.' "id":"xxx",'."\n"
.' "source":"acs.ecs"'."\n"
.'}'],
],
'description' => '',
],
],
],
],
'Code' => ['description' => '接口状态或POP错误码。取值说明如下:Success:成功。', 'type' => 'string', 'example' => 'Success'],
'Success' => ['description' => '操作是否成功。true表示成功,false表示失败。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
],
'gatewayOptions' => [
'gatewayProtocols' => [],
],
'title' => '在事件分析功能中查询事件',
'changeSet' => [
['createdAt' => '2024-10-18T09:28:55.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2024-08-05T06:20:26.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'eventbridge:EventCenterQueryEvents',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventBus', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#eventbus}'],
],
],
],
],
'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"}]',
],
'GetAgent' => [
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '38611',
'abilityTreeNodes' => ['FEATUREeventbridgeUWT8SO', 'FEATUREeventbridge70XW1X'],
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'Name',
'in' => 'formData',
'allowEmptyValue' => false,
'schema' => ['title' => '名称', 'description' => 'Agent 名称', 'type' => 'string', 'required' => true, 'example' => 'my-agent', 'maxLength' => 128, 'minLength' => 2],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回值',
'type' => 'object',
'properties' => [
'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Agent with name \'xxx\' not found for account 1186xxx'],
'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'E0FFAB67-XXXXXX-CAD4D37448C4'],
'Data' => ['description' => '返回结果', 'example' => 'true', '$ref' => '#/components/schemas/Agent'],
'Code' => ['description' => '接口状态或POP错误码。取值说明如下:Success:成功。', 'type' => 'string', 'example' => 'Success'],
'Success' => ['description' => '操作成功返回true。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''],
],
],
'title' => '获取Agent元数据',
'summary' => '获取Agent元数据',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'eventbridge:GetAgent',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"Agent with name \'xxx\' not found for account 1186xxx\\",\\n \\"RequestId\\": \\"E0FFAB67-XXXXXX-CAD4D37448C4\\",\\n \\"Data\\": {\\n \\"Name\\": \\"\\",\\n \\"Description\\": \\"\\",\\n \\"Prompt\\": \\"\\",\\n \\"Metadata\\": {\\n \\"Attachments\\": [\\n {\\n \\"MimeType\\": \\"inner-resource/event-table\\",\\n \\"Arn\\": \\"acs:eventbridge:cn-hangzhou:12345:eventhouse/system-rocketmq/namespace/rmq-cn-xxx/table/order\\"\\n }\\n ]\\n },\\n \\"CreatedAt\\": 0,\\n \\"UpdatedAt\\": 0\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]',
],
'GetApiDestination' => [
'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'],
],
],
],
'description' => '',
],
],
],
'errorCodes' => [
409 => [
['errorCode' => 'RequestParameterException', 'errorMessage' => 'Request parameter exception', 'description' => ''],
['errorCode' => 'ApiDestinationNotExist', 'errorMessage' => 'The api-destination not existed!', 'description' => ''],
],
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'InternalError', 'description' => ''],
],
],
'title' => '查询单个API 端点信息',
'summary' => '查询单个API 端点信息。',
'description' => '用于查询单个API 端点信息。',
'changeSet' => [
['createdAt' => '2023-09-13T11:38:17.000Z', 'description' => '错误码发生变更'],
['createdAt' => '2023-04-06T12:58:58.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'eventbridge:GetApiDestination',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'ApiDestination', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:apidestination/{#ApiDestinationName}'],
],
],
],
],
'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"}]',
],
'GetCatalog' => [
'methods' => ['get', 'post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '38582',
'abilityTreeNodes' => ['FEATUREeventbridgeHELDSX'],
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'Name',
'in' => 'query',
'schema' => ['title' => '数据目录名称', 'description' => '数据目录名称', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'my_catalog', 'maxLength' => 127, 'minLength' => 1],
],
[
'name' => 'ClientToken',
'in' => 'formData',
'schema' => ['title' => '幂等Token', 'description' => '幂等Token', 'type' => 'string', 'required' => false, 'example' => '1e9b8f60-3a2c-4d7e-9f1b-8c3d5e7a2b4f'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Message' => ['title' => '接口返回信息', 'description' => '接口返回信息', 'type' => 'string', 'example' => 'Operation success'],
'RequestId' => ['title' => '请求ID', 'description' => '请求ID', 'type' => 'string', 'example' => '34AD682D-5B91-5773-8132-AA38C130****'],
'Code' => ['title' => '接口返回码,200表示成功', 'description' => '接口返回码,200表示成功', 'type' => 'string', 'example' => '200'],
'Success' => ['title' => '操作是否成功', 'description' => '操作是否成功', 'type' => 'boolean', 'example' => 'true'],
'Data' => ['description' => 'catalog详情', '$ref' => '#/components/schemas/Catalog'],
],
'description' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''],
],
],
'title' => '查询catalog',
'summary' => '获取数据目录',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'eventbridge:GetCatalog',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Catalog', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:catalog/{#Catalog}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"Operation success\\",\\n \\"RequestId\\": \\"34AD682D-5B91-5773-8132-AA38C130****\\",\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"Name\\": \\"my_catalog\\",\\n \\"Type\\": \\"RELATIONAL\\",\\n \\"Provider\\": \\"EventHouse\\",\\n \\"Comment\\": \\"测试数据目录\\",\\n \\"Properties\\": {\\n \\"IndexPattern\\": \\"my-index-*\\"\\n },\\n \\"ConnectionName\\": \\"my_connection\\"\\n }\\n}","type":"json"}]',
],
'GetConnection' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'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'],
'Type' => ['description' => '连接类型。可选值:Http、MySQL、PostgreSQL、Elasticsearch', 'type' => 'string', 'example' => 'Http'],
'Parameters' => ['description' => '数据源连接参数(JSON 对象)。仅数据源类型连接返回,Http 类型为空。字段定义参考 GetConnectionType 返回的 ParamsSchema', 'type' => 'any', 'example' => '{"HostName":"xxx.mysql.rds.aliyuncs.com","Port":"3306","User":"root","Password":"xxx","DatabaseName":"demo_db"}'],
'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'],
],
],
],
],
],
],
],
],
],
],
],
],
],
],
],
'description' => '',
],
],
],
'errorCodes' => [
409 => [
['errorCode' => 'RequestParameterException', 'errorMessage' => 'Request parameter exception', 'description' => ''],
['errorCode' => 'ConnectionNotExist', 'errorMessage' => 'The Connection name not existed!', 'description' => ''],
],
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'InternalError', 'description' => ''],
],
],
'title' => '查询单个连接配置信息',
'summary' => '查询单个连接配置信息。',
'description' => '用于查询单个连接配置信息。',
'changeSet' => [
['createdAt' => '2023-09-13T11:38:18.000Z', 'description' => '错误码发生变更、响应参数发生变更'],
['createdAt' => '2023-04-06T12:58:58.000Z', 'description' => '响应参数发生变更、响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetConnection'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'eventbridge:GetConnection',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Connection', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:connection/{#ConnectionName}'],
],
],
],
],
'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 \\"Type\\": \\"Http\\",\\n \\"Parameters\\": \\"{\\\\\\"HostName\\\\\\":\\\\\\"xxx.mysql.rds.aliyuncs.com\\\\\\",\\\\\\"Port\\\\\\":\\\\\\"3306\\\\\\",\\\\\\"User\\\\\\":\\\\\\"root\\\\\\",\\\\\\"Password\\\\\\":\\\\\\"xxx\\\\\\",\\\\\\"DatabaseName\\\\\\":\\\\\\"demo_db\\\\\\"}\\",\\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"}]',
],
'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'],
],
'description' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''],
],
],
'title' => '获取一个事件总线的详细信息',
'summary' => '获取一个事件总线的详细信息。',
'description' => '获取一个事件总线的详细信息。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'eventbridge:GetEventBus',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventBus', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}'],
],
],
],
],
'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"}]',
],
'GetEventStreaming' => [
'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'],
'NetworkType' => ['description' => '网络类型。', 'type' => 'string'],
'VpcId' => ['description' => 'VPC ID。', 'type' => 'string'],
'VSwitchIds' => ['description' => '虚拟交换机ID。', 'type' => 'string'],
'SecurityGroupId' => ['description' => '安全组ID。', 'type' => 'string'],
],
],
'SourceDTSParameters' => [
'description' => 'Source DTS源。',
'type' => 'object',
'properties' => [
'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'f86e5814-b223-482c-b768-3b873297****'],
'BrokerUrl' => ['description' => '数据订阅通道的网络地址及端口号信息。', 'type' => 'string'],
'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'],
'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', 'description' => ''],
'Topic' => ['type' => 'string', 'description' => ''],
'ConsumerGroup' => ['type' => 'string', 'description' => ''],
'OffsetReset' => ['type' => 'string', 'description' => ''],
'ValueDataType' => ['type' => 'string', 'description' => ''],
'VpcId' => ['type' => 'string', 'description' => ''],
'VSwitchIds' => ['type' => 'string', 'description' => ''],
'SecurityGroupId' => ['type' => 'string', 'description' => ''],
'NetworkType' => ['type' => 'string', 'description' => ''],
'SecurityProtocol' => ['type' => 'string', 'description' => ''],
'SaslMechanism' => ['type' => 'string', 'description' => ''],
'SaslUser' => ['type' => 'string', 'description' => ''],
'SaslPassword' => ['type' => 'string', 'description' => ''],
'SslTruststoreCertificates' => ['title' => '【SSL场景必填】Kafka 服务端信任证书。用于验证 Kafka Broker 的 SSL 证书合法性,防止中间人攻击。格式要求:Base64 编码的 PEM 格式,通常包含 Kafka 服务端的 CA 证书或服务端证书本身。示例:将 CA 证书的 PEM 文件内容(确保开头和结尾分别是 \'-----BEGIN CERTIFICATE-----\' 和 \'-----END CERTIFICATE-----\' ),进行 Base64 编码。若 Kafka 使用自签名证书,需提供签发该证书的 CA 证书', 'description' => '【SSL场景必填】Kafka 服务端信任证书。用于验证 Kafka Broker 的 SSL 证书合法性,防止中间人攻击。格式要求:Base64 编码的 PEM 格式,通常包含 Kafka 服务端的 CA 证书或服务端证书本身。示例:将 CA 证书的 PEM 文件内容(确保开头和结尾分别是 \'-----BEGIN CERTIFICATE-----\' 和 \'-----END CERTIFICATE-----\' ),进行 Base64 编码。若 Kafka 使用自签名证书,需提供签发该证书的 CA 证书', 'type' => 'string'],
'SslKeystoreCertificateChain' => ['title' => '【双向认证必填】Kafka 客户端证书链。当 Kafka 服务端开启双向 SSL 认证(ssl.client.auth=required)时,需提供此参数。格式要求:Base64 编码的 PEM 格式,包含客户端证书及完整的证书链(客户端证书在前,中间 CA 证书在后,根 CA 证书可选)。注意:确保每个 PEM 文件内容的开头和结尾分别是 \'-----BEGIN CERTIFICATE-----\' 和 \'-----END CERTIFICATE-----\' ,拼接后进行 Base64 编码'."\n", 'description' => '【双向认证必填】Kafka 客户端证书链。当 Kafka 服务端开启双向 SSL 认证(ssl.client.auth=required)时,需提供此参数。格式要求:Base64 编码的 PEM 格式,包含客户端证书及完整的证书链(客户端证书在前,中间 CA 证书在后,根 CA 证书可选)。注意:确保每个 PEM 文件内容的开头和结尾分别是 \'-----BEGIN CERTIFICATE-----\' 和 \'-----END CERTIFICATE-----\' ,拼接后进行 Base64 编码'."\n", 'type' => 'string'],
'SslKeyPassword' => ['title' => '【加密私钥必填】Kafka 客户端私钥密码。当客户端私钥使用密码加密保护时(即 PEM 文件中包含 \'Proc-Type: 4,ENCRYPTED\' 或 \'ENCRYPTED\' 标记),需提供解密密码。若私钥未加密则留空。注意:此密码仅用于解密私钥,与 Kafka 认证无关'."\n", 'description' => '【加密私钥必填】Kafka 客户端私钥密码。当客户端私钥使用密码加密保护时(即 PEM 文件中包含 \'Proc-Type: 4,ENCRYPTED\' 或 \'ENCRYPTED\' 标记),需提供解密密码。若私钥未加密则留空。注意:此密码仅用于解密私钥,与 Kafka 认证无关'."\n", 'type' => 'string'],
'SslKeystoreKey' => [
'title' => '【双向认证必填】SSL 私钥配置对象。当 Kafka 服务端开启双向 SSL 认证时,需提供客户端私钥。密钥仅支持KMS 模式:通过 KmsArn 指定存储私钥的密钥管理服务资源,系统只在内存态从 KMS 获取私钥内容,安全性更高;配置示例:{\\"KmsArn\\": \\"acs:kms:cn-hangzhou:123456789:secret/ssl-key-xxxx\\", \\"KmsSecretValueKey\\": \\"keystore_private_key\\"}\\n"',
'description' => '【双向认证必填】SSL 私钥配置对象。当 Kafka 服务端开启双向 SSL 认证时,需提供客户端私钥。密钥仅支持KMS 模式:通过 KmsArn 指定存储私钥的密钥管理服务资源,系统只在内存态从 KMS 获取私钥内容,安全性更高;配置示例:{\\"KmsArn\\": \\"acs:kms:cn-hangzhou:123456789:secret/ssl-key-xxxx\\", \\"KmsSecretValueKey\\": \\"keystore_private_key\\"}\\n"',
'type' => 'object',
'properties' => [
'KmsArn' => ['title' => '【必填】存储 SSL 私钥的 KMS 资源 ARN。用于定位存放客户端私钥的密钥管理服务实例。格式示例: \'acs:kms:cn-hangzhou:123456789:secret/ssl-keystore-key-xxxx\'。获取方式:在 KMS 控制台查看对应密钥的 ARN 信息。', 'description' => '【必填】存储 SSL 私钥的 KMS 资源 ARN。用于定位存放客户端私钥的密钥管理服务实例。格式示例: \'acs:kms:cn-hangzhou:123456789:secret/ssl-keystore-key-xxxx\'。获取方式:在 KMS 控制台查看对应密钥的 ARN 信息。', 'type' => 'string'],
'KmsSecretValueKey' => ['title' => '【kms KV 模式】KMS 凭据中的密钥键名。当 KMS 存储的凭据为键值对(KV)结构时,填写此参数以指定 SSL 私钥对应的 key。示例:若 KMS 凭据为 \'{"ssl_keystore_key":"-----BEGIN PRIVATE KEY-----...","ssl_truststore_key":"..."}\',则填写 \'ssl_keystore_key\'。若 KMS 凭据为纯文本模式(直接存储私钥的 PEM 内容),则留空此参数'."\n", 'description' => '【kms KV 模式】KMS 凭据中的密钥键名。当 KMS 存储的凭据为键值对(KV)结构时,填写此参数以指定 SSL 私钥对应的 key。示例:若 KMS 凭据为 \'{"ssl_keystore_key":"-----BEGIN PRIVATE KEY-----...","ssl_truststore_key":"..."}\',则填写 \'ssl_keystore_key\'。若 KMS 凭据为纯文本模式(直接存储私钥的 PEM 内容),则留空此参数'."\n", 'type' => 'string'],
],
],
],
'description' => '',
],
'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', 'description' => ''],
'SourceRabbitMQMetaParameters' => ['$ref' => '#/components/schemas/SourceRabbitMQMetaParameters', 'description' => ''],
'SourceRabbitMQMsgSyncParameters' => ['$ref' => '#/components/schemas/SourceRabbitMQMsgSyncParameters', 'description' => ''],
'SourceFeiShuDocsParameters' => ['$ref' => '#/components/schemas/SourceFeiShuDocsParameters'],
],
],
'Metadata' => ['type' => 'string'],
'FilterPattern' => ['description' => '事件过滤规则,如果不指定表示匹配全部事件。', 'type' => 'string'],
'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', 'description' => ''],
'BaiLianAgentTransformParameters' => ['$ref' => '#/components/schemas/BaiLianAgentTransformParameters', 'description' => ''],
],
],
],
'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'],
],
],
'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'],
],
],
],
],
'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'],
],
],
'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"],
],
],
'DynamicTopic' => [
'title' => '指定消息路由的目标 Topic 策略。若同时指定了topic参数和DynamicTopic参数,以DynamicTopic参数的值为准。支持以下两种配置模式:'."\n"
.' 1. **静态常量模式**:直接填写固定的 Topic 名称字符串(例如:"order_created")。所有消息将统一发送至该 Topic。'."\n"
.' 2. **动态提取模式**:填写标准的 JSONPath 表达式(例如:"$.user.id" 或 "$.metadata.category")。系统将解析上游消息体,提取匹配字段的值作为目标 Topic 名称。',
'description' => '指定消息路由的目标 Topic 策略。若同时指定了topic参数和DynamicTopic参数,以DynamicTopic参数的值为准。支持以下两种配置模式:'."\n"
.' 1. **静态常量模式**:直接填写固定的 Topic 名称字符串(例如:"order_created")。所有消息将统一发送至该 Topic。'."\n"
.' 2. **动态提取模式**:填写标准的 JSONPath 表达式(例如:"$.user.id" 或 "$.metadata.category")。系统将解析上游消息体,提取匹配字段的值作为目标 Topic 名称。',
'type' => 'object',
'properties' => [
'Value' => ['title' => '值', 'description' => '值', 'type' => 'string'],
'Form' => ['title' => '转换的类型'."\n"
.'CONSTANT:固定值'."\n"
.'JSONPATH:根据路径从上游提取', 'description' => '转换的类型'."\n"
.'CONSTANT:固定值'."\n"
.'JSONPATH:根据路径从上游提取', 'type' => 'string'],
'Template' => ['title' => '模板', 'description' => '模板', 'type' => 'string'],
],
],
'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', 'description' => ''],
'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', 'description' => ''],
'Topic' => ['type' => 'string', 'description' => ''],
'DynamicTopic' => [
'title' => '指定消息路由的目标 Topic 策略。若同时指定了topic参数和DynamicTopic参数,以DynamicTopic参数的值为准。支持以下两种配置模式:'."\n"
.' 1. **静态常量模式**:直接填写固定的 Topic 名称字符串(例如:"order_created")。所有消息将统一发送至该 Topic。'."\n"
.' 2. **动态提取模式**:填写标准的 JSONPath 表达式(例如:"$.user.id" 或 "$.metadata.category")。系统将解析上游消息体,提取匹配字段的值作为目标 Topic 名称。',
'description' => '指定消息路由的目标 Topic 策略。若同时指定了topic参数和DynamicTopic参数,以DynamicTopic参数的值为准。支持以下两种配置模式:'."\n"
.' 1. **静态常量模式**:直接填写固定的 Topic 名称字符串(例如:"order_created")。所有消息将统一发送至该 Topic。'."\n"
.' 2. **动态提取模式**:填写标准的 JSONPath 表达式(例如:"$.user.id" 或 "$.metadata.category")。系统将解析上游消息体,提取匹配字段的值作为目标 Topic 名称。',
'type' => 'object',
'properties' => [
'Value' => ['title' => '值', 'description' => '值', 'type' => 'string'],
'Form' => ['title' => '转换的类型'."\n"
.'CONSTANT:固定值'."\n"
.'JSONPATH:根据路径从上游提取', 'description' => '转换的类型'."\n"
.'CONSTANT:固定值'."\n"
.'JSONPATH:根据路径从上游提取', 'type' => 'string'],
'Template' => ['title' => '模板', 'description' => '模板', 'type' => 'string'],
],
],
'Acks' => ['type' => 'string', 'description' => ''],
'CompressionType' => ['type' => 'string', 'description' => ''],
'Key' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'description' => ''],
'Form' => ['type' => 'string', 'description' => ''],
'Template' => ['type' => 'string', 'description' => ''],
],
'description' => '',
],
'Headers' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'description' => ''],
'Form' => ['type' => 'string', 'description' => ''],
'Template' => ['type' => 'string', 'description' => ''],
],
'description' => '',
],
'Value' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'description' => ''],
'Form' => ['type' => 'string', 'description' => ''],
'Template' => ['type' => 'string', 'description' => ''],
],
'description' => '',
],
'SecurityProtocol' => ['type' => 'string', 'description' => ''],
'SaslMechanism' => ['type' => 'string', 'description' => ''],
'SaslUser' => ['type' => 'string', 'description' => ''],
'VpcId' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'description' => ''],
'Form' => ['type' => 'string', 'description' => ''],
'Template' => ['type' => 'string', 'description' => ''],
],
'description' => '',
],
'VSwitchIds' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'description' => ''],
'Form' => ['type' => 'string', 'description' => ''],
'Template' => ['type' => 'string', 'description' => ''],
],
'description' => '',
],
'SecurityGroupId' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'description' => ''],
'Form' => ['type' => 'string', 'description' => ''],
'Template' => ['type' => 'string', 'description' => ''],
],
'description' => '',
],
'NetworkType' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'description' => ''],
'Form' => ['type' => 'string', 'description' => ''],
'Template' => ['type' => 'string', 'description' => ''],
],
'description' => '',
],
'SaslPassword' => ['type' => 'string', 'description' => ''],
'SslTruststoreCertificates' => ['title' => '【SSL场景必填】Kafka 服务端信任证书。用于验证 Kafka Broker 的 SSL 证书合法性,防止中间人攻击。格式要求:Base64 编码的 PEM 格式,通常包含 Kafka 服务端的 CA 证书或服务端证书本身。示例:将 CA 证书的 PEM 文件内容(确保开头和结尾分别是 \'-----BEGIN CERTIFICATE-----\' 和 \'-----END CERTIFICATE-----\' ),进行 Base64 编码。若 Kafka 使用自签名证书,需提供签发该证书的 CA 证书', 'description' => '【SSL场景必填】Kafka 服务端信任证书。用于验证 Kafka Broker 的 SSL 证书合法性,防止中间人攻击。格式要求:Base64 编码的 PEM 格式,通常包含 Kafka 服务端的 CA 证书或服务端证书本身。示例:将 CA 证书的 PEM 文件内容(确保开头和结尾分别是 \'-----BEGIN CERTIFICATE-----\' 和 \'-----END CERTIFICATE-----\' ),进行 Base64 编码。若 Kafka 使用自签名证书,需提供签发该证书的 CA 证书', 'type' => 'string'],
'SslKeystoreCertificateChain' => ['title' => '【双向认证必填】Kafka 客户端证书链。当 Kafka 服务端开启双向 SSL 认证(ssl.client.auth=required)时,需提供此参数。格式要求:Base64 编码的 PEM 格式,包含客户端证书及完整的证书链(客户端证书在前,中间 CA 证书在后,根 CA 证书可选)。注意:确保每个 PEM 文件内容的开头和结尾分别是 \'-----BEGIN CERTIFICATE-----\' 和 \'-----END CERTIFICATE-----\' ,拼接后进行 Base64 编码'."\n", 'description' => '【双向认证必填】Kafka 客户端证书链。当 Kafka 服务端开启双向 SSL 认证(ssl.client.auth=required)时,需提供此参数。格式要求:Base64 编码的 PEM 格式,包含客户端证书及完整的证书链(客户端证书在前,中间 CA 证书在后,根 CA 证书可选)。注意:确保每个 PEM 文件内容的开头和结尾分别是 \'-----BEGIN CERTIFICATE-----\' 和 \'-----END CERTIFICATE-----\' ,拼接后进行 Base64 编码'."\n", 'type' => 'string'],
'SslKeyPassword' => ['title' => '【加密私钥必填】Kafka 客户端私钥密码。当客户端私钥使用密码加密保护时(即 PEM 文件中包含 \'Proc-Type: 4,ENCRYPTED\' 或 \'ENCRYPTED\' 标记),需提供解密密码。若私钥未加密则留空。注意:此密码仅用于解密私钥,与 Kafka 认证无关'."\n", 'description' => '【加密私钥必填】Kafka 客户端私钥密码。当客户端私钥使用密码加密保护时(即 PEM 文件中包含 \'Proc-Type: 4,ENCRYPTED\' 或 \'ENCRYPTED\' 标记),需提供解密密码。若私钥未加密则留空。注意:此密码仅用于解密私钥,与 Kafka 认证无关'."\n", 'type' => 'string'],
'SslKeystoreKey' => [
'title' => '【双向认证必填】SSL 私钥配置对象。当 Kafka 服务端开启双向 SSL 认证时,需提供客户端私钥。密钥仅支持KMS 模式:通过 KmsArn 指定存储私钥的密钥管理服务资源,系统只在内存态从 KMS 获取私钥内容,安全性更高;配置示例:{\\"KmsArn\\": \\"acs:kms:cn-hangzhou:123456789:secret/ssl-key-xxxx\\", \\"KmsSecretValueKey\\": \\"keystore_private_key\\"}\\n"',
'description' => '【双向认证必填】SSL 私钥配置对象。当 Kafka 服务端开启双向 SSL 认证时,需提供客户端私钥。密钥仅支持KMS 模式:通过 KmsArn 指定存储私钥的密钥管理服务资源,系统只在内存态从 KMS 获取私钥内容,安全性更高;配置示例:{\\"KmsArn\\": \\"acs:kms:cn-hangzhou:123456789:secret/ssl-key-xxxx\\", \\"KmsSecretValueKey\\": \\"keystore_private_key\\"}\\n"',
'type' => 'object',
'properties' => [
'KmsArn' => ['title' => '【必填】存储 SSL 私钥的 KMS 资源 ARN。用于定位存放客户端私钥的密钥管理服务实例。格式示例: \'acs:kms:cn-hangzhou:123456789:secret/ssl-keystore-key-xxxx\'。获取方式:在 KMS 控制台查看对应密钥的 ARN 信息。', 'description' => '【必填】存储 SSL 私钥的 KMS 资源 ARN。用于定位存放客户端私钥的密钥管理服务实例。格式示例: \'acs:kms:cn-hangzhou:123456789:secret/ssl-keystore-key-xxxx\'。获取方式:在 KMS 控制台查看对应密钥的 ARN 信息。', 'type' => 'string'],
'KmsSecretValueKey' => ['title' => '【kms KV 模式】KMS 凭据中的密钥键名。当 KMS 存储的凭据为键值对(KV)结构时,填写此参数以指定 SSL 私钥对应的 key。示例:若 KMS 凭据为 \'{"ssl_keystore_key":"-----BEGIN PRIVATE KEY-----...","ssl_truststore_key":"..."}\',则填写 \'ssl_keystore_key\'。若 KMS 凭据为纯文本模式(直接存储私钥的 PEM 内容),则留空此参数'."\n", 'description' => '【kms KV 模式】KMS 凭据中的密钥键名。当 KMS 存储的凭据为键值对(KV)结构时,填写此参数以指定 SSL 私钥对应的 key。示例:若 KMS 凭据为 \'{"ssl_keystore_key":"-----BEGIN PRIVATE KEY-----...","ssl_truststore_key":"..."}\',则填写 \'ssl_keystore_key\'。若 KMS 凭据为纯文本模式(直接存储私钥的 PEM 内容),则留空此参数'."\n", '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'],
],
],
'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'],
],
],
'InstanceUsername' => [
'description' => '实例用户名。',
'type' => 'object',
'properties' => [
'Value' => ['description' => '实例用户名。', 'type' => 'string', 'example' => 'admin'."\n"],
'Form' => ['description' => '转换的格式。默认为CONSTANT。', 'type' => 'string', 'example' => 'CONSTANT'."\n"],
'Template' => ['description' => '无', 'type' => 'string'],
],
],
'InstancePassword' => [
'description' => '实例密码。',
'type' => 'object',
'properties' => [
'Value' => ['description' => '实例密码。', 'type' => 'string', 'example' => 'admin****'."\n"],
'Form' => ['description' => '转换的格式。默认为CONSTANT。', 'type' => 'string', 'example' => 'CONSTANT'."\n"],
'Template' => ['description' => '无', 'type' => 'string'],
],
],
'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"],
],
],
'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"],
],
],
'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'],
],
],
'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"],
],
],
'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'],
],
],
'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'],
],
],
],
],
'SinkDorisParameters' => [
'type' => 'object',
'properties' => [
'QueryEndpoint' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'description' => ''],
'Form' => ['type' => 'string', 'description' => ''],
'Template' => ['type' => 'string', 'description' => ''],
],
'description' => '',
],
'FeHttpEndpoint' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'description' => ''],
'Form' => ['type' => 'string', 'description' => ''],
'Template' => ['type' => 'string', 'description' => ''],
],
'description' => '',
],
'BeHttpEndpoint' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'description' => ''],
'Form' => ['type' => 'string', 'description' => ''],
'Template' => ['type' => 'string', 'description' => ''],
],
'description' => '',
],
'UserName' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'description' => ''],
'Form' => ['type' => 'string', 'description' => ''],
'Template' => ['type' => 'string', 'description' => ''],
],
'description' => '',
],
'Password' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'description' => ''],
'Form' => ['type' => 'string', 'description' => ''],
'Template' => ['type' => 'string', 'description' => ''],
],
'description' => '',
],
'Database' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'description' => ''],
'Form' => ['type' => 'string', 'description' => ''],
'Template' => ['type' => 'string', 'description' => ''],
],
'description' => '',
],
'Table' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'description' => ''],
'Form' => ['type' => 'string', 'description' => ''],
'Template' => ['type' => 'string', 'description' => ''],
],
'description' => '',
],
'Body' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'description' => ''],
'Form' => ['type' => 'string', 'description' => ''],
'Template' => ['type' => 'string', 'description' => ''],
],
'description' => '',
],
'NetworkType' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'description' => ''],
'Form' => ['type' => 'string', 'description' => ''],
'Template' => ['type' => 'string', 'description' => ''],
],
'description' => '',
],
'VpcId' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'description' => ''],
'Form' => ['type' => 'string', 'description' => ''],
'Template' => ['type' => 'string', 'description' => ''],
],
'description' => '',
],
'VSwitchIds' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'description' => ''],
'Form' => ['type' => 'string', 'description' => ''],
'Template' => ['type' => 'string', 'description' => ''],
],
'description' => '',
],
'SecurityGroupId' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'description' => ''],
'Form' => ['type' => 'string', 'description' => ''],
'Template' => ['type' => 'string', 'description' => ''],
],
'description' => '',
],
],
'description' => '',
],
'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'],
],
],
'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'],
],
],
'ConsumeTimestamp' => [
'description' => '消息消费的时间戳。',
'type' => 'object',
'properties' => [
'Value' => ['description' => '时间戳。', 'type' => 'string', 'example' => '1570761026400'],
'Form' => ['description' => '转换的格式。默认为CONSTANT。', 'type' => 'string', 'example' => 'CONSTANT'],
'Template' => ['description' => '模板样式。', 'type' => 'string'],
],
],
],
],
'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'],
],
],
'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'],
],
],
'ConsumeTimestamp' => [
'description' => '消息消费的时间戳。',
'type' => 'object',
'properties' => [
'Value' => ['description' => '时间戳。', 'type' => 'string', 'example' => '1570761026400'],
'Form' => ['description' => '转换的格式。默认为CONSTANT。', 'type' => 'string', 'example' => 'CONSTANT'],
'Template' => ['description' => '模板样式。', 'type' => 'string'],
],
],
'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'],
],
],
'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'],
],
],
'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'],
],
],
'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'],
],
],
'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'],
],
],
'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'],
],
],
],
],
'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'],
],
],
'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'],
],
],
'Input' => [
'description' => '执行输入信息。',
'type' => 'object',
'properties' => [
'Value' => ['description' => '执行输入信息。', 'type' => 'string', 'example' => '123'],
'Form' => ['description' => '转换的格式。默认为CONSTANT。', 'type' => 'string', 'example' => 'CONSTANT'],
'Template' => ['description' => '模板样式。', 'type' => 'string'],
],
],
'RoleName' => [
'description' => '角色配置。',
'type' => 'object',
'properties' => [
'Value' => ['description' => '角色配置。', 'type' => 'string', 'example' => 'Al****FNF-x****'],
'Form' => ['description' => '转换的格式。默认为CONSTANT。', 'type' => 'string', 'example' => 'CONSTANT'],
'Template' => ['description' => '模板样式。', 'type' => 'string'],
],
],
],
],
'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'],
],
],
'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'],
],
],
'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'],
'Form' => ['description' => '转换的格式。', 'type' => 'string', 'example' => 'ORIGINAL'],
'Template' => ['description' => '无', 'type' => 'string'],
],
],
'RoleName' => [
'description' => '任务角色名。',
'type' => 'object',
'properties' => [
'Value' => ['description' => '任务角色名称。', 'type' => 'string', 'example' => 'test-role'],
'Form' => ['description' => '转换的格式。默认为CONSTANT。', 'type' => 'string', 'example' => 'CONSTANT'],
'Template' => ['description' => '无', 'type' => 'string'],
],
],
],
],
'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'],
],
],
'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'],
],
],
'DashVectorSchemaParameters' => [
'description' => '插入DashVector时表项的Schema字段定义,事件内容转换后结果必须是JSON格式。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Name' => [
'type' => 'object',
'properties' => [
'Form' => ['type' => 'string', 'description' => ''],
'Value' => ['type' => 'string', 'description' => ''],
'Template' => ['type' => 'string', 'description' => ''],
],
'description' => '',
],
'Type' => [
'type' => 'object',
'properties' => [
'Form' => ['type' => 'string', 'description' => ''],
'Value' => ['type' => 'string', 'description' => ''],
'Template' => ['type' => 'string', 'description' => ''],
],
'description' => '',
],
'Value' => [
'type' => 'object',
'properties' => [
'Form' => ['type' => 'string', 'description' => ''],
'Value' => ['type' => 'string', 'description' => ''],
'Template' => ['type' => 'string', 'description' => ''],
],
'description' => '',
],
],
'description' => '',
],
],
],
],
'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'],
],
],
'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', 'description' => ''],
'SinkHttpsParameters' => ['title' => 'Https目标参数', 'description' => 'Https目标参数', '$ref' => '#/components/schemas/SinkHttpsParameters'],
'SinkApiDestinationParameters' => ['title' => 'ApiDestination目标参数', 'description' => 'ApiDestination目标参数', '$ref' => '#/components/schemas/SinkApiDestinationParameters'],
'SinkOSSParameters' => ['$ref' => '#/components/schemas/SinkOSSParameters', 'description' => ''],
'SinkRabbitMQMetaParameters' => ['$ref' => '#/components/schemas/SinkRabbitMQMetaParameters', 'description' => ''],
'SinkRabbitMQMsgSyncParameters' => ['$ref' => '#/components/schemas/SinkRabbitMQMsgSyncParameters', 'description' => ''],
'SinkMQTTParameters' => ['$ref' => '#/components/schemas/SinkMQTTParameters', 'description' => ''],
'SinkAgentRunParameters' => ['$ref' => '#/components/schemas/SinkAgentRunParameters'],
],
],
'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', 'description' => ''],
'MinCapacityUnitCount' => ['type' => 'integer', 'format' => 'int64', 'description' => ''],
'MaxCapacityUnitCount' => ['type' => 'integer', 'format' => 'int64', 'description' => ''],
],
'description' => '',
],
'Throttling' => ['type' => 'integer', 'format' => 'int32', 'description' => ''],
],
],
'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', 'description' => ''],
],
],
'title' => '获取一个事件流的详细信息',
'summary' => '获取一个事件流的详细信息。',
'description' => '获取一个事件流的详细信息。',
'changeSet' => [
['createdAt' => '2025-06-04T03:29:37.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2025-05-28T02:59:04.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2025-05-27T06:44:15.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2025-04-24T03:25:44.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2025-04-14T13:06:33.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2025-04-08T14:34:38.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2025-03-26T11:30:49.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2025-02-20T11:46:50.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
['createdAt' => '2025-02-11T12:15:19.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2025-01-10T05:53:58.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2024-09-10T05:42:12.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2024-08-19T09:20:36.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2024-07-12T03:21:13.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2024-05-31T06:16:31.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2024-04-09T14:49:35.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2024-02-21T08:40:53.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2023-12-28T06:31:22.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2023-11-22T14:16:57.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2023-10-11T12:34:28.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2023-09-13T13:10:40.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2023-04-21T03:32:07.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2023-04-06T12:58:57.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
['createdAt' => '2022-09-14T08:06:14.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
['createdAt' => '2022-09-14T08:06:14.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetEventStreaming'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'eventbridge:GetEventStreaming',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventStreaming', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventstreaming/{#EventStreamingName}'],
],
],
],
],
'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 \\"NetworkType\\": \\"\\",\\n \\"VpcId\\": \\"\\",\\n \\"VSwitchIds\\": \\"\\",\\n \\"SecurityGroupId\\": \\"\\"\\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 \\"SslKeystoreCertificateChain\\": \\"\\",\\n \\"SslKeyPassword\\": \\"\\",\\n \\"SslKeystoreKey\\": {\\n \\"KmsArn\\": \\"\\",\\n \\"KmsSecretValueKey\\": \\"\\"\\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.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 \\"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 \\"SourceFeiShuDocsParameters\\": {\\n \\"AppId\\": \\"\\",\\n \\"AppSecret\\": \\"\\",\\n \\"KnowledgeSpaceName\\": \\"\\",\\n \\"LoadMode\\": \\"\\"\\n }\\n },\\n \\"Metadata\\": \\"\\",\\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 \\"DynamicTopic\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\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 \\"DynamicTopic\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\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 \\"SslKeystoreCertificateChain\\": \\"\\",\\n \\"SslKeyPassword\\": \\"\\",\\n \\"SslKeystoreKey\\": {\\n \\"KmsArn\\": \\"\\",\\n \\"KmsSecretValueKey\\": \\"\\"\\n }\\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 \\"VpcId\\": {\\n \\"Value\\": \\"vbr-8vb835n3zf9shwlvb****\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Template\\": \\"\\\\n\\"\\n },\\n \\"VSwitchIds\\": {\\n \\"Value\\": \\"vbr-8vb835n3zf9shwl****mp\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Template\\": \\"\\\\n\\"\\n },\\n \\"SecurityGroupId\\": {\\n \\"Value\\": \\"b4bf375515f6440f942e3a20c33d****\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Network\\": {\\n \\"Value\\": \\"PublicNetwork\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Template\\": \\"\\\\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 \\"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 \\"Timeout\\": 0\\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 \\"SinkAgentRunParameters\\": {\\n \\"AgentRuntimeName\\": \\"\\",\\n \\"EndpointName\\": \\"\\",\\n \\"RoleName\\": \\"\\",\\n \\"Body\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Timeout\\": \\"\\"\\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"}]',
],
'GetNamespace' => [
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '38582',
'abilityTreeNodes' => ['FEATUREeventbridgeHELDSX'],
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'Name',
'in' => 'query',
'schema' => ['title' => '命名空间名称', 'description' => '命名空间名称', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'my_namespace', 'maxLength' => 127, 'minLength' => 1],
],
[
'name' => 'ClientToken',
'in' => 'formData',
'schema' => ['title' => '幂等Token', 'description' => '幂等Token', 'type' => 'string', 'required' => false, 'example' => '1e9b8f60-3a2c-4d7e-9f1b-8c3d5e7a2b4f'],
],
[
'name' => 'Catalog',
'in' => 'query',
'schema' => ['title' => '所属数据目录', 'description' => '所属数据目录', 'type' => 'string', 'required' => false, 'example' => 'my_catalog'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Message' => ['title' => '接口返回信息', 'description' => '接口返回信息', 'type' => 'string', 'example' => 'Operation success'],
'RequestId' => ['title' => '请求ID', 'description' => '请求ID', 'type' => 'string', 'example' => '34AD682D-5B91-5773-8132-AA38C130****'],
'Code' => ['title' => '接口返回码,200表示成功', 'description' => '接口返回码,200表示成功', 'type' => 'string', 'example' => '200'],
'Success' => ['title' => '操作是否成功', 'description' => '操作是否成功', 'type' => 'boolean', 'example' => 'true'],
'Data' => ['description' => '命名空间详情', '$ref' => '#/components/schemas/Namespace'],
],
'description' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''],
],
],
'title' => '查询命名空间',
'summary' => '获取命名空间',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'eventbridge:GetNamespace',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Namespace', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:namespace/{#NamespaceId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"Operation success\\",\\n \\"RequestId\\": \\"34AD682D-5B91-5773-8132-AA38C130****\\",\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"Catalog\\": \\"my_catalog\\",\\n \\"Name\\": \\"my_namespace\\",\\n \\"Comment\\": \\"测试命名空间\\",\\n \\"properties\\": \\"{\\\\\\"key\\\\\\":\\\\\\"value\\\\\\"}\\"\\n }\\n}","type":"json"}]',
],
'GetRule' => [
'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"
."\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' => ['description' => '死信队列的网络类型。', 'type' => 'string'],
'VpcId' => ['description' => 'VPC ID。', 'type' => 'string'],
'VSwitchIds' => ['description' => '虚拟交换机ID。', 'type' => 'string'],
'SecurityGroupId' => ['description' => '安全组ID。', 'type' => 'string'],
],
],
'PushRetryStrategy' => ['description' => '推送重试策略。取值说明如下:'."\n"
."\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' => [
'description' => '并发配置。',
'type' => 'object',
'properties' => [
'Concurrency' => ['description' => '并发数。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
],
],
'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\\"]}'],
'CreatedTimestamp' => ['description' => '创建时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1607071602000'],
'RuleName' => ['description' => '规则名称。', 'type' => 'string', 'example' => 'ramrolechange-fc'],
],
],
'Code' => ['description' => '接口返回码。取值说明如下:'."\n"
."\n"
.'- **Success**:表示成功。'."\n"
.'- **其它**:表示错误码。错误码详情,请参见错误码。', 'type' => 'string', 'example' => 'Success'],
'Success' => ['description' => '操作成功返回true。', 'type' => 'boolean', 'example' => 'true'],
],
'description' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''],
],
],
'title' => '获取一个事件规则的详细信息',
'summary' => '获取一个事件规则的详细信息。',
'description' => '获取一个事件规则的详细信息。',
'changeSet' => [
['createdAt' => '2025-05-27T06:50:32.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2023-07-04T02:52:55.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2022-08-17T06:22:47.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'eventbridge:GetRule',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Rule', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}/rule/{#RuleName}'],
],
],
],
],
'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\\": 2\\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"}]',
],
'GetTable' => [
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '38582',
'abilityTreeNodes' => ['FEATUREeventbridgeHELDSX'],
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'Name',
'in' => 'query',
'schema' => ['title' => '表名称', 'description' => '表名称', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'my_table', 'maxLength' => 127, 'minLength' => 1],
],
[
'name' => 'ClientToken',
'in' => 'formData',
'schema' => ['title' => '幂等Token', 'description' => '幂等Token', 'type' => 'string', 'required' => false, 'example' => '1e9b8f60-3a2c-4d7e-9f1b-8c3d5e7a2b4f'],
],
[
'name' => 'Catalog',
'in' => 'query',
'schema' => ['title' => '所属数据目录', 'description' => '所属数据目录', 'type' => 'string', 'required' => false, 'example' => 'my_catalog'],
],
[
'name' => 'Namespace',
'in' => 'query',
'schema' => ['title' => '所属命名空间', 'description' => '所属命名空间', 'type' => 'string', 'required' => false, 'example' => 'my_namespace'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Message' => ['title' => '接口返回信息', 'description' => '接口返回信息', 'type' => 'string', 'example' => 'Operation success'],
'RequestId' => ['title' => '请求ID', 'description' => '请求ID', 'type' => 'string', 'example' => '34AD682D-5B91-5773-8132-AA38C130****'],
'Code' => ['title' => '返回码', 'description' => '返回码', 'type' => 'string', 'example' => '200'],
'Success' => ['title' => '是否成功', 'description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
'Data' => ['description' => '表详情信息', '$ref' => '#/components/schemas/Table'],
],
'description' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''],
],
],
'title' => '查询表',
'summary' => '获取表',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'eventbridge:GetTable',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Table', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:table/{#TableId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"Operation success\\",\\n \\"RequestId\\": \\"34AD682D-5B91-5773-8132-AA38C130****\\",\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"Catalog\\": \\"my_catalog\\",\\n \\"Namespace\\": \\"my_namespace\\",\\n \\"Name\\": \\"my_table\\",\\n \\"Comment\\": \\"测试事件表\\",\\n \\"CreateTime\\": 1717948800000,\\n \\"UpdateTime\\": 1717948800000,\\n \\"RetentionPolicy\\": {\\n \\"HotTTL\\": 7,\\n \\"ColdTTL\\": 30\\n },\\n \\"Columns\\": [\\n {\\n \\"Name\\": \\"id\\",\\n \\"Type\\": \\"bigint\\",\\n \\"Comment\\": \\"主键ID\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
],
'ListAgents' => [
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '38611',
'abilityTreeNodes' => ['FEATUREeventbridgeUWT8SO', 'FEATUREeventbridge70XW1X'],
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'After',
'in' => 'formData',
'schema' => ['description' => '查询下一页消息的起始Agent名称', 'type' => 'string', 'required' => false, 'example' => 'my-agent'],
],
[
'name' => 'Limit',
'in' => 'formData',
'schema' => ['description' => '限定每次返回的最大条数,可以和NextToken搭配使用实现翻页能力。', 'type' => 'string', 'required' => false, 'example' => '50'],
],
[
'name' => 'Order',
'in' => 'formData',
'schema' => ['description' => '排序顺序,枚举:'."\n"
."\n"
.'- desc'."\n"
.'- asc', 'type' => 'string', 'required' => false, 'example' => 'acs'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'Failed to list agents '],
'RequestId' => ['description' => '请求ID,阿里云为该请求生成的唯一标识符。', 'type' => 'string', 'example' => '7DA60DED-CD36-5837-B848-C01A23D2****'],
'Data' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'Agents' => [
'description' => '座席列表数组',
'type' => 'array',
'items' => ['description' => '座席列表数组', 'example' => '[{\'AgentKey\': \'25ed67f549774824b3f9162f2267a6af\', \'AgentDefault\': True, \'AgentId\': 1156102, \'AgentLlm\': False, \'AgentName\': u\'\\u4e1a\\u52a1\\u7a7a\\u95f4_1156102\'}]', '$ref' => '#/components/schemas/Agent'],
],
'FirstId' => ['description' => '首条消息Id。', 'type' => 'string', 'example' => 'uat-agent'],
'LastId' => ['description' => '最后对话记录Id。', 'type' => 'string', 'example' => 'last-agent'],
'HasMore' => ['description' => '是否还有下一页,取值:'."\n"
."\n"
.'- true:有下一页。'."\n"
."\n"
.'- false:没有下一页。', 'type' => 'string', 'example' => 'false'],
],
],
'Code' => ['description' => '接口状态或POP错误码。取值说明如下:Success:成功。', 'type' => 'string', 'example' => 'Success'],
'Success' => ['description' => '操作成功返回true。', 'type' => 'boolean', 'example' => 'true'],
],
'description' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''],
],
],
'title' => '获取自定义Agent列表',
'summary' => '获取自定义Agent列表',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'eventbridge:ListAgents',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"Failed to list agents \\",\\n \\"RequestId\\": \\"7DA60DED-CD36-5837-B848-C01A23D2****\\",\\n \\"Data\\": {\\n \\"Agents\\": [\\n {\\n \\"Name\\": \\"\\",\\n \\"Description\\": \\"\\",\\n \\"Prompt\\": \\"\\",\\n \\"Metadata\\": {\\n \\"Attachments\\": [\\n {\\n \\"MimeType\\": \\"inner-resource/event-table\\",\\n \\"Arn\\": \\"acs:eventbridge:cn-hangzhou:12345:eventhouse/system-rocketmq/namespace/rmq-cn-xxx/table/order\\"\\n }\\n ]\\n },\\n \\"CreatedAt\\": 0,\\n \\"UpdatedAt\\": 0\\n }\\n ],\\n \\"FirstId\\": \\"uat-agent\\",\\n \\"LastId\\": \\"last-agent\\",\\n \\"HasMore\\": \\"false\\"\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]',
],
'ListAliyunOfficialEventSources' => [
'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' => 'Application Real-Time Monitoring Service'."\n"],
'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' => 'Elastic Compute Service'],
'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'],
],
'description' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''],
],
],
'title' => '查询所有阿里云官方事件源',
'summary' => '查询所有阿里云官方事件源。',
'description' => '查询所有阿里云官方事件源。',
'changeSet' => [
['createdAt' => '2023-04-06T12:58:57.000Z', 'description' => '响应参数发生变更、响应参数发生变更'],
['createdAt' => '2021-07-30T04:44:37.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"InvalidArgument\\",\\n \\"RequestId\\": \\"5f80e9b3-98d5-4f51-8412-c758818a03e4\\",\\n \\"Data\\": {\\n \\"EventSourceList\\": [\\n {\\n \\"Name\\": \\"acs.arms\\",\\n \\"FullName\\": \\"Application Real-Time Monitoring Service\\\\n\\",\\n \\"Arn\\": \\"acs:eventbridge:cn-hangzhou:SYSTEM:eventbus/default/eventsource/acs.arms\\",\\n \\"Status\\": \\"Activated\\",\\n \\"Type\\": \\"AliyunOfficial\\",\\n \\"Ctime\\": 1602730025890,\\n \\"Description\\": \\"Elastic Compute Service\\",\\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"}]',
],
'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'],
],
],
],
'description' => '',
],
],
],
'errorCodes' => [
409 => [
['errorCode' => 'RequestParameterException', 'errorMessage' => 'Request parameter exception', 'description' => ''],
],
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'InternalError', 'description' => ''],
],
],
'title' => '获取API 端点列表',
'description' => '用于获取API 端点列表信息。',
'changeSet' => [
['createdAt' => '2023-09-13T11:38:17.000Z', 'description' => '错误码发生变更'],
['createdAt' => '2023-04-10T09:25:34.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2023-04-06T12:58:58.000Z', 'description' => '请求参数发生变更、响应参数发生变更、响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'eventbridge:ListApiDestinations',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'ApiDestination', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:apidestination/*'],
],
],
],
],
'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"}]',
],
'ListCatalogs' => [
'summary' => '查询数据目录列表',
'methods' => ['get', 'post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '38647',
'abilityTreeNodes' => ['FEATUREeventbridgeHELDSX'],
],
'parameters' => [
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['title' => '分页Token', 'description' => '分页Token', 'type' => 'string', 'required' => false, 'example' => '0'],
],
[
'name' => 'Limit',
'in' => 'query',
'schema' => ['title' => '每页数量', 'description' => '每页数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Message' => ['title' => '接口返回信息', 'description' => '接口返回信息', 'type' => 'string', 'example' => 'Operation success'],
'RequestId' => ['title' => '请求ID', 'description' => '请求ID', 'type' => 'string', 'example' => '34AD682D-5B91-5773-8132-AA38C130****'],
'Data' => [
'title' => '返回数据',
'description' => '返回数据',
'type' => 'object',
'properties' => [
'Catalogs' => [
'title' => 'Catalog列表',
'description' => 'Catalog列表',
'type' => 'array',
'items' => ['description' => 'catalog列表详情', '$ref' => '#/components/schemas/Catalog'],
],
'NextToken' => ['title' => '下一页Token', 'description' => '下一页Token', 'type' => 'string', 'example' => '10'],
'Total' => ['title' => '总数', 'description' => '总数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
],
'Code' => ['title' => '接口返回码,200表示成功', 'description' => '接口返回码,200表示成功', 'type' => 'string', 'example' => '200'],
'Success' => ['title' => '操作是否成功', 'description' => '操作是否成功', 'type' => 'boolean', 'example' => 'true'],
],
'description' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''],
],
],
'title' => '查询catalog列表',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'eventbridge:ListCatalogs',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Catalog', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:catalog/*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"Operation success\\",\\n \\"RequestId\\": \\"34AD682D-5B91-5773-8132-AA38C130****\\",\\n \\"Data\\": {\\n \\"Catalogs\\": [\\n {\\n \\"Name\\": \\"my_catalog\\",\\n \\"Type\\": \\"RELATIONAL\\",\\n \\"Provider\\": \\"EventHouse\\",\\n \\"Comment\\": \\"测试数据目录\\",\\n \\"Properties\\": {\\n \\"IndexPattern\\": \\"my-index-*\\"\\n },\\n \\"ConnectionName\\": \\"my_connection\\"\\n }\\n ],\\n \\"NextToken\\": \\"10\\",\\n \\"Total\\": 1\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]',
],
'ListConnections' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '163695',
'abilityTreeNodes' => ['FEATUREeventbridgeRBNSGL'],
],
'parameters' => [
[
'name' => 'ConnectionNamePrefix',
'in' => 'formData',
'schema' => ['description' => '获取指定连接配置名称的参数,支持前缀匹配查询', 'type' => 'string', 'required' => false, 'example' => 'connection-name'],
],
[
'name' => 'Type',
'in' => 'formData',
'schema' => ['description' => '按连接类型过滤查询结果。可选值:Http、MySQL、PostgreSQL、Elasticsearch。不传则返回所有类型', 'type' => 'string', 'required' => false, 'example' => 'Http'],
],
[
'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' => 'Description of the connection configuration'],
'Type' => ['description' => '连接类型。可选值:Http、MySQL、PostgreSQL、Elasticsearch', 'type' => 'string', 'example' => 'Http'],
'Parameters' => ['description' => '数据源连接参数(JSON 对象)。仅数据源类型连接返回,Http 类型为空。字段定义参考 GetConnectionType 返回的 ParamsSchema', 'type' => 'any', 'example' => '{"HostName":"xxx.mysql.rds.aliyuncs.com","Port":"3306","User":"root","Password":"xxx","DatabaseName":"demo_db"}'],
'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'],
],
],
],
'description' => '',
],
],
],
'errorCodes' => [
409 => [
['errorCode' => 'RequestParameterException', 'errorMessage' => 'Request parameter exception', 'description' => ''],
],
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'InternalError', 'description' => ''],
],
],
'title' => '获取连接配置列表',
'summary' => '获取连接配置列表。',
'description' => '获取连接配置列表。',
'changeSet' => [
['createdAt' => '2023-09-13T11:38:18.000Z', 'description' => '错误码发生变更、响应参数发生变更'],
['createdAt' => '2023-04-06T12:58:58.000Z', 'description' => '请求参数发生变更、响应参数发生变更、响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListConnections'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'eventbridge:ListConnections',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Connection', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:connection/*'],
],
],
],
],
'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\\": \\"Description of the connection configuration\\",\\n \\"Type\\": \\"Http\\",\\n \\"Parameters\\": \\"{\\\\\\"HostName\\\\\\":\\\\\\"xxx.mysql.rds.aliyuncs.com\\\\\\",\\\\\\"Port\\\\\\":\\\\\\"3306\\\\\\",\\\\\\"User\\\\\\":\\\\\\"root\\\\\\",\\\\\\"Password\\\\\\":\\\\\\"xxx\\\\\\",\\\\\\"DatabaseName\\\\\\":\\\\\\"demo_db\\\\\\"}\\",\\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"}]',
],
'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"
.'>每次返回的最大条数不超过100。>', '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'],
],
'description' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''],
],
],
'title' => '查询所有事件总线',
'summary' => '查询所有事件总线。',
'description' => '查询所有事件总线。',
'changeSet' => [
['createdAt' => '2024-04-09T14:49:38.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'eventbridge:ListEventBuses',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventBus', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/*'],
],
],
],
],
'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"}]',
],
'ListEventStreamings' => [
'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"
.'>每次返回的最大条数不超过100。>', '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"],
'NetworkType' => ['description' => '网络类型。', 'type' => 'string'],
'VpcId' => ['description' => 'VPC ID。', 'type' => 'string'],
'VSwitchIds' => ['description' => '虚拟交换机ID。', 'type' => 'string'],
'SecurityGroupId' => ['description' => '安全组ID。', 'type' => 'string'],
],
],
'SourceDTSParameters' => [
'description' => 'Source DTS源。',
'type' => 'object',
'properties' => [
'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => '1611b337285f44e2936a2c4170****'],
'BrokerUrl' => ['description' => '数据订阅通道的网络地址及端口号信息。', 'type' => 'string'],
'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', 'description' => ''],
'SourceRabbitMQMetaParameters' => ['$ref' => '#/components/schemas/SourceRabbitMQMetaParameters', 'description' => ''],
'SourceRabbitMQMsgSyncParameters' => ['$ref' => '#/components/schemas/SourceRabbitMQMsgSyncParameters', 'description' => ''],
'SourceFeiShuDocsParameters' => ['$ref' => '#/components/schemas/SourceFeiShuDocsParameters'],
],
],
'FilterPattern' => ['description' => '事件过滤规则,如果不指定表示匹配全部事件。', 'type' => 'string'],
'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', 'description' => ''],
'BaiLianAgentTransformParameters' => ['$ref' => '#/components/schemas/BaiLianAgentTransformParameters', 'description' => ''],
],
],
],
'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'],
],
],
'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'],
],
],
],
],
'SinkEventHouseParameters' => [
'title' => '事件目标名称',
'description' => '事件目标名称',
'type' => 'object',
'properties' => [
'CatalogName' => ['title' => 'catalog名称', 'description' => 'catalog名称', 'type' => 'string', 'example' => 'cat1'],
'NamespaceName' => ['title' => 'namespace名称', 'description' => 'namespace名称', 'type' => 'string', 'example' => 'name1'],
'EventTableName' => ['title' => '表名称', 'description' => '表名称', 'type' => 'string', 'example' => 'table1'],
'MappingRules' => [
'title' => '字段映射规则',
'description' => '字段映射规则',
'type' => 'array',
'items' => [
'title' => '映射规则',
'description' => '映射规则',
'type' => 'object',
'properties' => [
'ColumnValue' => [
'title' => '列值提取规则',
'description' => '列值提取规则',
'type' => 'object',
'properties' => [
'Value' => ['title' => '提取路径', 'description' => '提取路径', 'type' => 'string', 'example' => '$.data.value'],
'Form' => ['title' => '提取方法', 'description' => '提取方法', 'type' => 'string', 'example' => 'JSONPATH'],
'Template' => ['title' => '模板', 'description' => '模板', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!'],
],
],
'ColumnName' => ['title' => '列名称', 'description' => '列名称', 'type' => 'string', 'example' => 'age'],
'ColumnType' => [
'title' => '列类型',
'description' => '列类型',
'type' => 'string',
'example' => 'text',
'enum' => ['long', 'text', 'json', 'double'],
],
],
],
],
],
],
'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'],
],
],
'FunctionName' => [
'description' => '函数名称。',
'type' => 'object',
'properties' => [
'Value' => ['description' => '函数名称。', 'type' => 'string', 'example' => 'mFunction'],
'Form' => ['description' => '转换的格式。默认为CONSTANT。', 'type' => 'string', 'example' => 'CONSTANT'],
'Template' => ['description' => '无', 'type' => 'string'],
],
],
'Concurrency' => [
'description' => '投递并发度,最小为1。',
'type' => 'object',
'properties' => [
'Value' => ['description' => '投递并发度,最小为1。', 'type' => 'string', 'example' => '1'],
'Form' => ['description' => '转换的格式。默认为CONSTANT。', 'type' => 'string', 'example' => 'CONSTANT'],
'Template' => ['description' => '无', 'type' => 'string'],
],
],
'Qualifier' => [
'description' => '函数所属服务的别名。',
'type' => 'object',
'properties' => [
'Value' => ['description' => '函数所属服务的别名。', 'type' => 'string', 'example' => 'LATEST'],
'Form' => ['description' => '转换的格式。默认为CONSTANT。', 'type' => 'string', 'example' => 'CONSTANT'],
'Template' => ['description' => '无', 'type' => 'string'],
],
],
'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'],
],
],
'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'],
],
],
'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'],
],
],
'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'],
],
],
'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'],
],
],
'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'],
],
],
'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'],
],
],
'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'],
],
],
'CompressionType' => ['type' => 'string', 'description' => ''],
'Topic' => [
'description' => '主题名称。',
'type' => 'object',
'properties' => [
'Value' => ['description' => '主题名称。', 'type' => 'string', 'example' => 'topic'],
'Form' => ['description' => '转换的格式。默认为CONSTANT。', 'type' => 'string', 'example' => 'CONSTANT'],
'Template' => ['description' => '无', 'type' => 'string'],
],
],
'DynamicTopic' => [
'title' => '指定消息路由的目标 Topic 策略。若同时指定了topic参数和topics参数,以topics参数的值为准。支持以下两种配置模式:'."\n"
.' 1. **静态常量模式**:直接填写固定的 Topic 名称字符串(例如:"order_created")。所有消息将统一发送至该 Topic。'."\n"
.' 2. **动态提取模式**:填写标准的 JSONPath 表达式(例如:"$.user.id" 或 "$.metadata.category")。系统将解析上游消息体,提取匹配字段的值作为目标 Topic 名称。',
'description' => '指定消息路由的目标 Topic 策略。若同时指定了topic参数和topics参数,以topics参数的值为准。支持以下两种配置模式:'."\n"
.' 1. **静态常量模式**:直接填写固定的 Topic 名称字符串(例如:"order_created")。所有消息将统一发送至该 Topic。'."\n"
.' 2. **动态提取模式**:填写标准的 JSONPath 表达式(例如:"$.user.id" 或 "$.metadata.category")。系统将解析上游消息体,提取匹配字段的值作为目标 Topic 名称。',
'type' => 'object',
'properties' => [
'Value' => ['title' => '值', 'description' => '值', 'type' => 'string'],
'Form' => ['title' => '转换的类型'."\n"
.'CONSTANT:固定值'."\n"
.'JSONPATH:根据路径从上游提取', 'description' => '转换的类型'."\n"
.'CONSTANT:固定值'."\n"
.'JSONPATH:根据路径从上游提取', 'type' => 'string'],
'Template' => ['title' => '模板', 'description' => '模板', 'type' => 'string'],
],
],
'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'],
],
],
'Key' => [
'description' => '消息的标识。',
'type' => 'object',
'properties' => [
'Value' => ['description' => '消息的标识。', 'type' => 'string', 'example' => 'key'],
'Form' => ['description' => '转换的格式。默认为CONSTANT。', 'type' => 'string', 'example' => 'CONSTANT'],
'Template' => ['description' => '无', 'type' => 'string'],
],
],
'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'],
],
],
'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'],
],
],
'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'],
],
],
'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'],
],
],
'InstanceUsername' => [
'description' => '实例用户名。',
'type' => 'object',
'properties' => [
'Value' => ['description' => '实例用户名。', 'type' => 'string', 'example' => 'admin'."\n"],
'Form' => ['description' => '转换的格式。默认为CONSTANT。', 'type' => 'string', 'example' => 'CONSTANT'."\n"],
'Template' => ['description' => '无', 'type' => 'string'],
],
],
'InstancePassword' => [
'description' => '实例密码。',
'type' => 'object',
'properties' => [
'Value' => ['description' => '实例密码。', 'type' => 'string', 'example' => 'admin******'."\n"],
'Form' => ['description' => '转换的格式。默认为CONSTANT。', 'type' => 'string', 'example' => 'CONSTANT'."\n"],
'Template' => ['description' => '无', 'type' => 'string'],
],
],
'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'],
],
],
'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'],
],
],
'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'],
],
],
'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'],
],
],
'DeliveryOrderType' => [
'description' => '消息的投递顺序类型。',
'type' => 'object',
'properties' => [
'Value' => ['description' => '投递顺序类型。', 'type' => 'string', 'example' => 'Orderly'],
'Form' => ['description' => '转换格式,默认为CONSTANT。', 'type' => 'string', 'example' => 'CONSTANT'],
'Template' => ['description' => '无', 'type' => 'string'],
],
],
'ShardingKey' => [
'description' => '消息的分片键,用于控制消息分区。',
'type' => 'object',
'properties' => [
'Value' => ['description' => '分片键值。', 'type' => 'string', 'example' => 'order_id'],
'Form' => ['description' => '转换格式,默认为CONSTANT。', 'type' => 'string', 'example' => 'CONSTANT'],
'Template' => ['description' => '模板样式。', 'type' => 'string'],
],
],
],
],
'SinkDorisParameters' => [
'type' => 'object',
'properties' => [
'QueryEndpoint' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'description' => ''],
'Form' => ['type' => 'string', 'description' => ''],
'Template' => ['type' => 'string', 'description' => ''],
],
'description' => '',
],
'FeHttpEndpoint' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'description' => ''],
'Form' => ['type' => 'string', 'description' => ''],
'Template' => ['type' => 'string', 'description' => ''],
],
'description' => '',
],
'BeHttpEndpoint' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'description' => ''],
'Form' => ['type' => 'string', 'description' => ''],
'Template' => ['type' => 'string', 'description' => ''],
],
'description' => '',
],
'UserName' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'description' => ''],
'Form' => ['type' => 'string', 'description' => ''],
'Template' => ['type' => 'string', 'description' => ''],
],
'description' => '',
],
'Password' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'description' => ''],
'Form' => ['type' => 'string', 'description' => ''],
'Template' => ['type' => 'string', 'description' => ''],
],
'description' => '',
],
'Database' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'description' => ''],
'Form' => ['type' => 'string', 'description' => ''],
'Template' => ['type' => 'string', 'description' => ''],
],
'description' => '',
],
'Table' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'description' => ''],
'Form' => ['type' => 'string', 'description' => ''],
'Template' => ['type' => 'string', 'description' => ''],
],
'description' => '',
],
'Body' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'description' => ''],
'Form' => ['type' => 'string', 'description' => ''],
'Template' => ['type' => 'string', 'description' => ''],
],
'description' => '',
],
'NetworkType' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'description' => ''],
'Form' => ['type' => 'string', 'description' => ''],
'Template' => ['type' => 'string', 'description' => ''],
],
'description' => '',
],
'VpcId' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'description' => ''],
'Form' => ['type' => 'string', 'description' => ''],
'Template' => ['type' => 'string', 'description' => ''],
],
'description' => '',
],
'VSwitchIds' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'description' => ''],
'Form' => ['type' => 'string', 'description' => ''],
'Template' => ['type' => 'string', 'description' => ''],
],
'description' => '',
],
'SecurityGroupId' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'description' => ''],
'Form' => ['type' => 'string', 'description' => ''],
'Template' => ['type' => 'string', 'description' => ''],
],
'description' => '',
],
],
'description' => '',
],
'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'],
],
],
'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'],
],
],
'ConsumeTimestamp' => [
'description' => '消费位点。',
'type' => 'object',
'properties' => [
'Value' => ['description' => '时间戳。', 'type' => 'string', 'example' => '1636597951964'],
'Form' => ['description' => '转换格式,默认为CONSTANT。', 'type' => 'string', 'example' => 'CONSTANT'],
'Template' => ['description' => '模板样式。', 'type' => 'string'],
],
],
],
],
'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'],
],
],
'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'],
],
],
'ConsumeTimestamp' => [
'description' => '消费位点。',
'type' => 'object',
'properties' => [
'Value' => ['description' => '时间戳。', 'type' => 'string', 'example' => '1636597951964'],
'Form' => ['description' => '转换格式,默认为CONSTANT。', 'type' => 'string', 'example' => 'CONSTANT'],
'Template' => ['description' => '模板样式。', 'type' => 'string'],
],
],
'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'],
],
],
'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'],
],
],
'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'],
],
],
'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'],
],
],
'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'],
],
],
'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'],
],
],
],
],
'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'],
],
],
'ExecutionName' => [
'description' => '执行名称。',
'type' => 'object',
'properties' => [
'Value' => ['description' => '执行名称。', 'type' => 'string', 'example' => '123'],
'Form' => ['description' => '转换的格式。默认为CONSTANT。', 'type' => 'string', 'example' => 'CONSTANT'],
'Template' => ['description' => '模板样式。', 'type' => 'string'],
],
],
'Input' => [
'description' => '执行输入信息。',
'type' => 'object',
'properties' => [
'Value' => ['description' => '执行输入信息。', 'type' => 'string', 'example' => '123'],
'Form' => ['description' => '转换的格式。默认为CONSTANT。', 'type' => 'string', 'example' => 'CONSTANT'],
'Template' => ['description' => '模板样式。', 'type' => 'string'],
],
],
'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'],
],
],
],
],
'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'],
],
],
'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'],
],
],
'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'],
],
],
'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'],
],
],
'Body' => [
'description' => 'BLOB类型,Record内容模板。',
'type' => 'object',
'properties' => [
'Value' => ['description' => 'BLOB类型,Record内容模板。', 'type' => 'string'],
'Form' => ['description' => '转换的格式。', 'type' => 'string', 'example' => 'ORIGINAL'."\n"],
'Template' => ['description' => '无', 'type' => 'string'],
],
],
'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'],
],
],
],
],
'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'],
],
],
'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'],
],
],
'DashVectorSchemaParameters' => [
'description' => '插入DashVector时表项的Schema字段定义,事件内容转换后结果必须是JSON格式。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Name' => [
'type' => 'object',
'properties' => [
'Form' => ['type' => 'string', 'description' => ''],
'Value' => ['type' => 'string', 'description' => ''],
'Template' => ['type' => 'string', 'description' => ''],
],
'description' => '',
],
'Type' => [
'type' => 'object',
'properties' => [
'Form' => ['type' => 'string', 'description' => ''],
'Value' => ['type' => 'string', 'description' => ''],
'Template' => ['type' => 'string', 'description' => ''],
],
'description' => '',
],
'Value' => [
'type' => 'object',
'properties' => [
'Form' => ['type' => 'string', 'description' => ''],
'Value' => ['type' => 'string', 'description' => ''],
'Template' => ['type' => 'string', 'description' => ''],
],
'description' => '',
],
],
'description' => '',
],
],
],
],
'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', 'description' => ''],
'SinkRabbitMQMetaParameters' => ['$ref' => '#/components/schemas/SinkRabbitMQMetaParameters', 'description' => ''],
'SinkRabbitMQMsgSyncParameters' => ['$ref' => '#/components/schemas/SinkRabbitMQMsgSyncParameters', 'description' => ''],
'SinkMQTTParameters' => ['$ref' => '#/components/schemas/SinkMQTTParameters', 'description' => ''],
'SinkAgentRunParameters' => ['$ref' => '#/components/schemas/SinkAgentRunParameters'],
],
],
'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', 'description' => ''],
'MinCapacityUnitCount' => ['type' => 'integer', 'format' => 'int64', 'description' => ''],
'MaxCapacityUnitCount' => ['type' => 'integer', 'format' => 'int64', 'description' => ''],
],
'description' => '',
],
'Throttling' => ['type' => 'integer', 'format' => 'int32', 'description' => ''],
],
],
'Status' => ['description' => '获取到的事件流的状态。', 'type' => 'string', 'example' => 'RUNNING'],
'Metadata' => ['type' => 'string'],
],
],
],
'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', 'description' => ''],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
],
'title' => '查询事件流',
'summary' => '查询事件流。',
'description' => '查询事件流。',
'changeSet' => [
['createdAt' => '2025-06-18T09:00:26.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2025-06-04T03:29:37.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2025-05-28T02:59:04.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2025-05-27T06:44:15.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2025-04-24T03:25:44.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2025-04-08T14:34:38.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2025-04-07T07:28:14.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2025-03-26T11:30:49.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2025-02-20T11:46:50.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2025-02-11T12:15:19.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2025-01-10T05:53:58.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2024-09-10T05:42:12.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2024-08-19T09:20:36.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2024-07-12T03:21:12.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2024-06-28T02:40:44.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2024-05-31T06:16:31.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2024-04-09T14:49:35.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2023-11-22T14:16:57.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2023-10-11T12:34:28.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2023-09-13T13:10:40.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2023-06-09T05:52:11.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2023-04-21T03:32:06.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2023-04-10T09:25:34.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListEventStreamings'],
],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'eventbridge:ListEventStreamings',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventStreaming', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventstreaming/*'],
],
],
],
],
'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 \\"NetworkType\\": \\"\\",\\n \\"VpcId\\": \\"\\",\\n \\"VSwitchIds\\": \\"\\",\\n \\"SecurityGroupId\\": \\"\\"\\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 \\"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 \\"SourceFeiShuDocsParameters\\": {\\n \\"AppId\\": \\"\\",\\n \\"AppSecret\\": \\"\\",\\n \\"KnowledgeSpaceName\\": \\"\\",\\n \\"LoadMode\\": \\"\\"\\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 \\"SinkEventHouseParameters\\": {\\n \\"CatalogName\\": \\"cat1\\",\\n \\"NamespaceName\\": \\"name1\\",\\n \\"EventTableName\\": \\"table1\\",\\n \\"MappingRules\\": [\\n {\\n \\"ColumnValue\\": {\\n \\"Value\\": \\"$.data.value\\",\\n \\"Form\\": \\"JSONPATH\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\"\\n },\\n \\"ColumnName\\": \\"age\\",\\n \\"ColumnType\\": \\"text\\"\\n }\\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 \\"DynamicTopic\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\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 \\"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 \\"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 \\"Timeout\\": 0\\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 \\"SinkAgentRunParameters\\": {\\n \\"AgentRuntimeName\\": \\"\\",\\n \\"EndpointName\\": \\"\\",\\n \\"RoleName\\": \\"\\",\\n \\"Body\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Timeout\\": \\"\\"\\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 \\"Metadata\\": \\"\\"\\n }\\n ],\\n \\"NextToken\\": \\"177\\",\\n \\"Total\\": 10\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]',
],
'ListNamespaces' => [
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '38647',
'abilityTreeNodes' => ['FEATUREeventbridgeHELDSX'],
],
'parameters' => [
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['title' => '分页Token', 'description' => '分页Token', 'type' => 'string', 'required' => false, 'example' => '0'],
],
[
'name' => 'Limit',
'in' => 'query',
'schema' => ['title' => '每页数量', 'description' => '每页数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'Catalog',
'in' => 'query',
'schema' => ['title' => '所属数据目录', 'description' => '所属数据目录', 'type' => 'string', 'required' => false, 'example' => 'my_catalog'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Message' => ['title' => '接口返回信息', 'description' => '接口返回信息', 'type' => 'string', 'example' => 'Operation success'],
'RequestId' => ['title' => '请求ID', 'description' => '请求ID', 'type' => 'string', 'example' => '34AD682D-5B91-5773-8132-AA38C130****'],
'Data' => [
'title' => '返回数据',
'description' => '返回数据',
'type' => 'object',
'properties' => [
'Namespaces' => [
'title' => 'Namespace列表',
'description' => 'Namespace列表',
'type' => 'array',
'items' => ['description' => '命名空间列表与详情。', '$ref' => '#/components/schemas/Namespace'],
],
'NextToken' => ['title' => '下一页Token', 'description' => '下一页Token', 'type' => 'string', 'example' => '10'],
'Total' => ['title' => '总数', 'description' => '总数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
],
'Code' => ['title' => '接口返回码,200表示成功', 'description' => '接口返回码,200表示成功', 'type' => 'string', 'example' => '200'],
'Success' => ['title' => '操作是否成功', 'description' => '操作是否成功', 'type' => 'boolean', 'example' => 'true'],
],
'description' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''],
],
],
'title' => '查询命名空间列表',
'summary' => '查询命名空间列表',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'eventbridge:ListNamespaces',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Namespace', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:namespace/*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"Operation success\\",\\n \\"RequestId\\": \\"34AD682D-5B91-5773-8132-AA38C130****\\",\\n \\"Data\\": {\\n \\"Namespaces\\": [\\n {\\n \\"Catalog\\": \\"my_catalog\\",\\n \\"Name\\": \\"my_namespace\\",\\n \\"Comment\\": \\"测试命名空间\\",\\n \\"properties\\": \\"{\\\\\\"key\\\\\\":\\\\\\"value\\\\\\"}\\"\\n }\\n ],\\n \\"NextToken\\": \\"10\\",\\n \\"Total\\": 1\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]',
],
'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"
.'>每次返回的最大条数不超过100。>', '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'],
],
'description' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''],
],
],
'title' => '查询一个事件总线的所有规则',
'summary' => '查询一个事件总线的所有规则。',
'description' => '查询一个事件总线的所有规则。',
'changeSet' => [
['createdAt' => '2023-07-04T02:52:55.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'eventbridge:ListRules',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Rule', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}/rule/*'],
],
],
],
],
'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"}]',
],
'ListTables' => [
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '38647',
'abilityTreeNodes' => ['FEATUREeventbridgeHELDSX'],
],
'parameters' => [
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['title' => '分页Token', 'description' => '分页Token', 'type' => 'string', 'required' => false, 'example' => '0'],
],
[
'name' => 'Limit',
'in' => 'query',
'schema' => ['title' => '每页数量', 'description' => '每页数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'Catalog',
'in' => 'query',
'schema' => ['title' => '所属数据目录', 'description' => '所属数据目录', 'type' => 'string', 'required' => false, 'example' => 'my_catalog'],
],
[
'name' => 'Namespace',
'in' => 'query',
'schema' => ['title' => '所属命名空间', 'description' => '所属命名空间', 'type' => 'string', 'required' => false, 'example' => 'my_namespace'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Message' => ['title' => '接口返回信息', 'description' => '接口返回信息', 'type' => 'string', 'example' => 'Operation success'],
'RequestId' => ['title' => '请求ID', 'description' => '请求ID', 'type' => 'string', 'example' => '34AD682D-5B91-5773-8132-AA38C130****'],
'Data' => [
'title' => '返回数据',
'description' => '返回数据',
'type' => 'object',
'properties' => [
'Tables' => [
'description' => '表实体。每个元素代表一个具体的表,包括但不限于表名、表ID等信息。',
'type' => 'array',
'items' => ['description' => '表实体。每个元素代表一个具体的表,包括但不限于表名、表ID等信息。', '$ref' => '#/components/schemas/Table'],
],
'NextToken' => ['title' => '下一页Token', 'description' => '下一页Token', 'type' => 'string', 'example' => '10'],
'Total' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
'example' => '{"Tables":[{"Name":"my_table","Comment":"测试事件表"}],"NextToken":"10","Total":1}',
],
'Code' => ['title' => '返回码', 'description' => '返回码', 'type' => 'string', 'example' => '200'],
'Success' => ['title' => '是否成功', 'description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
],
'description' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''],
],
],
'title' => '列举表',
'summary' => '查询表列表',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'eventbridge:ListTables',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Table', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:table/{#TableId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"Operation success\\",\\n \\"RequestId\\": \\"34AD682D-5B91-5773-8132-AA38C130****\\",\\n \\"Data\\": {\\n \\"Tables\\": [\\n {\\n \\"Catalog\\": \\"my_catalog\\",\\n \\"Namespace\\": \\"my_namespace\\",\\n \\"Name\\": \\"my_table\\",\\n \\"Comment\\": \\"测试事件表\\",\\n \\"CreateTime\\": 1717948800000,\\n \\"UpdateTime\\": 1717948800000,\\n \\"RetentionPolicy\\": {\\n \\"HotTTL\\": 7,\\n \\"ColdTTL\\": 30\\n },\\n \\"Columns\\": [\\n {\\n \\"Name\\": \\"id\\",\\n \\"Type\\": \\"bigint\\",\\n \\"Comment\\": \\"主键ID\\"\\n }\\n ]\\n }\\n ],\\n \\"NextToken\\": \\"10\\",\\n \\"Total\\": 1\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]',
],
'ListTargets' => [
'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', 'description' => ''],
],
],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
],
'title' => '查询一个事件规则的所有投递目标',
'summary' => '查询一个事件规则的所有投递目标。',
'changeSet' => [
['createdAt' => '2024-09-25T13:03:07.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2023-07-04T02:52:54.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'eventbridge:ListTargets',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Rule', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}/rule/{#RuleName}'],
],
],
],
],
'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"}]',
],
'ListUserDefinedEventSources' => [
'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' => [
'description' => 'OSS 事件源参数。',
'type' => 'object',
'properties' => [
'EventTypes' => [
'description' => '事件类型列表。',
'type' => 'array',
'items' => ['description' => '事件类型。', 'type' => 'string'],
],
'StsRoleArn' => ['description' => 'STS角色ARN。', 'type' => 'string'],
'MatchRules' => ['description' => '匹配规则。', 'type' => 'any'],
],
],
],
],
],
],
],
'Code' => ['description' => '接口返回码:'."\n"
."\n"
.'- Success:表示成功。'."\n"
."\n"
.'- 其它:表示错误码。错误码详情,请参见错误码。', 'type' => 'string', 'example' => 'Success'],
'Success' => ['description' => '操作成功返回true。', 'type' => 'boolean', 'example' => 'true'],
],
'description' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''],
],
],
'title' => '查询所有外部事件源',
'summary' => '查询所有外部事件源。',
'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"
.'}`',
'changeSet' => [
['createdAt' => '2024-02-28T01:43:37.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2024-02-27T11:48:15.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2023-10-19T06:44:41.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2023-08-01T14:56:04.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2023-08-01T13:13:48.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2023-07-04T12:56:27.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2023-04-21T02:33:44.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2021-07-30T04:44:37.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'eventbridge:ListUserDefinedEventSources',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventSource', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}/eventsource/*'],
],
],
],
],
'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"}]',
],
'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", 'title' => '接口返回信息'],
'RequestId' => ['description' => '阿里云为该请求生成的唯一标识符。', 'type' => 'string', 'example' => '72ce027c-546a-4231-9cf6-ec58766027f9', 'title' => 'Id of the request'],
'Code' => ['description' => '接口返回码:Success:表示成功。 其它:表示错误码。错误码详情,请参见错误码。', 'type' => 'string', 'example' => 'Success', 'title' => '接口返回信息'],
'Success' => ['description' => '操作成功返回true。', 'type' => 'boolean', 'example' => 'true', 'title' => '接口返回信息'],
],
'description' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''],
],
],
'title' => '停用一个运行中的事件流',
'description' => '停用一个运行中的事件流。',
'changeSet' => [
['createdAt' => '2024-03-14T07:20:56.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2023-04-06T12:58:57.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
['createdAt' => '2022-09-14T08:06:13.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
['createdAt' => '2022-09-14T08:06:13.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PauseEventStreaming'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'eventbridge:PauseEventStreaming',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventStreaming', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventstreaming/{#EventStreamingName}'],
],
],
],
],
'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"}]',
],
'PollAskResult' => [
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '38611',
'abilityTreeNodes' => ['FEATUREeventbridgeUWT8SO', 'FEATUREeventbridge70XW1X'],
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'AgentName',
'in' => 'formData',
'allowEmptyValue' => false,
'schema' => ['title' => 'Agent名称', 'description' => 'Agent名称', 'type' => 'string', 'required' => true, 'example' => 'demo-luma-agent', 'maxLength' => 128, 'minLength' => 2],
],
[
'name' => 'MessageId',
'in' => 'formData',
'allowEmptyValue' => false,
'schema' => ['title' => '消息ID', 'description' => '消息ID', 'type' => 'string', 'required' => true, 'example' => 'msg_xxx'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Message' => ['description' => '错误说明。', 'type' => 'string', 'example' => 'Agent with name \'xxx\' not found for account 1186xxx'],
'RequestId' => ['description' => '阿里云为该请求生成的唯一标识符。', 'type' => 'string', 'example' => 'A995F07C-E503-XXXXXX-9CECA8566876'],
'Data' => ['description' => '返回数据。', 'example' => 'true', '$ref' => '#/components/schemas/AskLumaResult'],
'Code' => ['description' => '接口返回码:Success:表示成功。 其它:表示错误码。错误码详情,请参见错误码。', 'type' => 'string', 'example' => 'Success'],
'Success' => ['description' => '操作成功返回true。', 'type' => 'boolean', 'example' => 'true'],
],
'description' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''],
],
],
'title' => '轮训AskLuma执行结果',
'summary' => '轮询自然语言查询结果',
'extraInfo' => '- 服务端已 hold 等待,客户端重试间隔 0-500ms 即可,无需退避'."\n"
.'- 返回 RUNNING 时客户端应立即重试',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'eventbridge:PollAskResult',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"Agent with name \'xxx\' not found for account 1186xxx\\",\\n \\"RequestId\\": \\"A995F07C-E503-XXXXXX-9CECA8566876\\",\\n \\"Data\\": {\\n \\"MessageId\\": \\"msg_xxx\\",\\n \\"ConversationId\\": \\"conv_xxx\\",\\n \\"Status\\": \\"RUNNING, SUCCEEDED, FAILED, TIMEOUT\\",\\n \\"Content\\": {\\n \\"TextAttachments\\": [\\n \\"\\\\\\"**top 5 城市**: 北京(120)...\\\\\\"\\"\\n ],\\n \\"QueryAttachments\\": [\\n {\\n \\"Query\\": \\"\\\\\\"SELECT city, COUNT(*) AS cnt FROM events GROUP BY city\\\\\\"\\",\\n \\"Result\\": {\\n \\"Schema\\": [\\n {\\n \\"Name\\": \\"name\\",\\n \\"Type\\": \\"VARCHAR\\"\\n }\\n ],\\n \\"Rows\\": \\"[[\\\\\\"北京\\\\\\",120],[\\\\\\"上海\\\\\\",98]] \\",\\n \\"RowCount\\": 2,\\n \\"TotalRows\\": 2,\\n \\"IsTruncated\\": false\\n }\\n }\\n ],\\n \\"MessageAttachments\\": [\\n {\\n \\"Id\\": \\"msg_123456_a1b2c3d4\\",\\n \\"Role\\": \\"assistant\\",\\n \\"Content\\": \\"根据您的问题,我将查询过去7天的事件量...\\",\\n \\"Metadata\\": {\\n \\"Attachments\\": {\\n \\"Name\\": \\"acs:eventbridge:cn-hangzhou:12345:eventhouse/system-rocketmq/namespace/rmq-cn-xxx/table/order\\",\\n \\"Type\\": \\"inner-resource/event-table\\"\\n }\\n },\\n \\"ToolCallId\\": \\"call_xxx\\",\\n \\"ToolCalls\\": [\\n {\\n \\"Id\\": \\"call_xxx\\",\\n \\"Type\\": \\"function\\",\\n \\"Function\\": {\\n \\"Name\\": \\"discoverMetadata\\",\\n \\"Arguments\\": \\"{}\\"\\n }\\n }\\n ],\\n \\"Reasoning\\": \\"\\"\\n }\\n ]\\n },\\n \\"IsError\\": false,\\n \\"ErrorCode\\": \\"ExecutionFailed, Timeout, RateLimited, InternalError, ConversationExpired\\",\\n \\"ErrorMessage\\": \\"Agent with name \'xxx\' not found for account 1186xxx\\",\\n \\"StorageTruncated\\": true,\\n \\"ClarificationNeeded\\": false,\\n \\"ClarificationQuestion\\": \\"您指的是哪个数据库中的员工表?\\",\\n \\"Constraints\\": {\\n \\"BeginTime\\": 1717200000000,\\n \\"EndTime\\": 1717200000000\\n }\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]',
],
'PutTargets' => [
'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"
.'or'."\n"
.'acs:mq:cn-hangzhou:123456789098****:/instances/MQ_INST_123456789098****_BX8QbBPL/topic/deadlettertopic'."\n"
.'or'."\n"
.'acs:alikafka:cn-hangzhou:123456789098****:instance/alikafka_post-cn-123456/topic/deadlettertopic'."\n"
.'or'."\n"
.'acs:eventbridge:cn-hangzhou:123456789098****:eventbus/deadletterbus'],
'Network' => ['description' => '死信队列的网络类型。', 'type' => 'string', 'required' => false],
'VpcId' => ['description' => 'VPC ID。', 'type' => 'string', 'required' => false],
'VSwitchIds' => ['description' => '虚拟交换机ID。', 'type' => 'string', 'required' => false],
'SecurityGroupId' => ['description' => '安全组ID。', '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'],
],
'description' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
],
'title' => '在指定的规则下创建或更新事件目标',
'summary' => '在指定的规则下创建或更新事件目标。',
'description' => '在指定的规则下创建或更新事件目标。',
'changeSet' => [
['createdAt' => '2025-05-27T06:50:32.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2024-09-25T13:03:07.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'eventbridge:PutTargets',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Rule', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}/rule/{#RuleName}'],
],
],
],
],
'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"}]',
],
'QueryAskLumaLog' => [
'summary' => '查询自然语言查询历史日志',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '38611',
'abilityTreeNodes' => ['FEATUREeventbridgeUWT8SO', 'FEATUREeventbridge70XW1X'],
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'AgentName',
'in' => 'formData',
'schema' => ['title' => 'Agent名称, 不填则查询全部', 'description' => 'Agent名称, 不填则查询全部', 'type' => 'string', 'required' => false, 'example' => 'demo-luma-agent', 'maxLength' => 128, 'minLength' => 2],
],
[
'name' => 'After',
'in' => 'formData',
'schema' => ['title' => '游标, 上一页最后一条的 messageId', 'description' => '游标, 上一页最后一条的 messageId', 'type' => 'string', 'required' => false, 'example' => 'eyJ0cyI6MTcxN...'],
],
[
'name' => 'Limit',
'in' => 'formData',
'schema' => ['title' => '返回条数, 默认20, 最大50', 'description' => '返回条数, 默认20, 最大50', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'AgentNotFound'],
'RequestId' => ['description' => '阿里云为该请求生成的唯一标识符。', 'type' => 'string', 'example' => '6FB52207-7621-5292-BDF2-A17E2E984160'],
'Data' => ['description' => '返回结果。', 'example' => 'true', '$ref' => '#/components/schemas/QueryAskLumaLogResult'],
'Code' => ['description' => '接口返回码:'."\n"
."\n"
.'200:表示成功。 '."\n"
."\n"
.'其它:表示错误码。错误码详情,请参见错误码。', 'type' => 'string', 'example' => 'Success'],
'Success' => ['description' => '操作成功返回true。', 'type' => 'boolean', 'example' => 'true'],
],
'description' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''],
],
],
'title' => '查询智能体查询调用日志',
'responseParamsDescription' => 'Content.MessageAttachments 补充说明:'."\n"
.' - 仅 Source=CHAT 的记录携带此字段(AGUI 格式的消息列表)'."\n"
.' - Source=MCP 的记录此字段为 null,JSON 序列化时不输出',
'extraInfo' => '- 合并了 MCP(mcp_task 表)和 CHAT(response 表)两个来源的调用记录,按 CreatedAt 倒序统一排列'."\n"
.'- 游标为不透明的 base64url 编码字符串'."\n"
.'- 查询日志保留 30 天',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'eventbridge:QueryAskLumaLog',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"AgentNotFound\\",\\n \\"RequestId\\": \\"6FB52207-7621-5292-BDF2-A17E2E984160\\",\\n \\"Data\\": {\\n \\"Entries\\": [\\n {\\n \\"MessageId\\": \\"msg_xxx\\",\\n \\"ConversationId\\": \\"conv_xxx\\",\\n \\"AgentName\\": \\"my-agent\\",\\n \\"Question\\": \\"帮我统计一下最近的订单数据。\\",\\n \\"Status\\": \\"RUNNING, SUCCEEDED, FAILED, TIMEOUT\\",\\n \\"ClarificationNeeded\\": false,\\n \\"ClarificationQuestion\\": \\"您指的是哪张表?\\",\\n \\"Content\\": {\\n \\"TextAttachments\\": [\\n \\"\\\\\\"**top 5 城市**: 北京(120)...\\\\\\"\\"\\n ],\\n \\"QueryAttachments\\": [\\n {\\n \\"Query\\": \\"\\\\\\"SELECT city, COUNT(*) AS cnt FROM events GROUP BY city\\\\\\"\\",\\n \\"Result\\": {\\n \\"Schema\\": [\\n {\\n \\"Name\\": \\"name\\",\\n \\"Type\\": \\"VARCHAR\\"\\n }\\n ],\\n \\"Rows\\": \\"[[\\\\\\"北京\\\\\\",120],[\\\\\\"上海\\\\\\",98]] \\",\\n \\"RowCount\\": 2,\\n \\"TotalRows\\": 2,\\n \\"IsTruncated\\": false\\n }\\n }\\n ],\\n \\"MessageAttachments\\": [\\n {\\n \\"Id\\": \\"msg_123456_a1b2c3d4\\",\\n \\"Role\\": \\"assistant\\",\\n \\"Content\\": \\"根据您的问题,我将查询过去7天的事件量...\\",\\n \\"Metadata\\": {\\n \\"Attachments\\": {\\n \\"Name\\": \\"acs:eventbridge:cn-hangzhou:12345:eventhouse/system-rocketmq/namespace/rmq-cn-xxx/table/order\\",\\n \\"Type\\": \\"inner-resource/event-table\\"\\n }\\n },\\n \\"ToolCallId\\": \\"call_xxx\\",\\n \\"ToolCalls\\": [\\n {\\n \\"Id\\": \\"call_xxx\\",\\n \\"Type\\": \\"function\\",\\n \\"Function\\": {\\n \\"Name\\": \\"discoverMetadata\\",\\n \\"Arguments\\": \\"{}\\"\\n }\\n }\\n ],\\n \\"Reasoning\\": \\"\\"\\n }\\n ]\\n },\\n \\"IsError\\": false,\\n \\"ErrorCode\\": \\"ExecutionFailed\\",\\n \\"ErrorMessage\\": \\"Agent with name \'xxx\' not found for account 1186xxx\\",\\n \\"CreatedAt\\": \\"1717200000000\\",\\n \\"DurationMs\\": 3200,\\n \\"Source\\": \\"MCP, CHAT\\"\\n }\\n ],\\n \\"LastKey\\": \\"\\",\\n \\"HasMore\\": true\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]',
],
'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'],
],
'description' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''],
],
],
'title' => '查询事件内容',
'summary' => '查询事件内容。',
'description' => '查询事件内容。',
'changeSet' => [
['createdAt' => '2023-11-07T07:03:15.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'eventbridge:QueryEvent',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventBus', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}'],
],
],
],
],
'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"}]',
],
'QueryEventHouse' => [
'summary' => '查询事件仓数据',
'path' => '',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '38647',
'abilityTreeNodes' => ['FEATUREeventbridgeHELDSX'],
],
'parameters' => [
[
'name' => 'Query',
'in' => 'query',
'schema' => ['description' => '查询语句,通常使用 catalog.namespace.table 三段式表名', 'type' => 'string', 'required' => true, 'example' => 'SELECT * FROM "test-es"."default"."product_info"'],
],
[
'name' => 'Limit',
'in' => 'query',
'schema' => ['description' => '返回行数上限;如果 SQL 里已经写了 LIMIT,以 SQL 自身为准', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
],
'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' => '阿里云为该请求生成的唯一标识符。', 'type' => 'string', 'example' => 'f2099962-1628-45f1-9782-2bf6daad823f'],
'Data' => [
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'Rows' => [
'description' => '查询结果行列表。',
'type' => 'array',
'items' => ['description' => '查询结果行。', 'example' => '{'."\n"
.' "columns": ['."\n"
.' {'."\n"
.' "column_name": "index",'."\n"
.' "column_type": "varchar",'."\n"
.' "column_value": "product_info",'."\n"
.' "is_null": false'."\n"
.' },'."\n"
.' {'."\n"
.' "column_name": "docs.count",'."\n"
.' "column_type": "bigint",'."\n"
.' "column_value": "0",'."\n"
.' "is_null": false'."\n"
.' }'."\n"
.' ]'."\n"
.'}', '$ref' => '#/components/schemas/Row'],
],
'Total' => ['description' => '返回的行数。', 'type' => 'integer', 'format' => 'int32', 'example' => '18'],
],
],
'Code' => ['description' => '接口返回码:Success:表示成功。 其它:表示错误码。错误码详情,请参见错误码。', 'type' => 'string', 'example' => 'Success'],
'Success' => ['description' => '操作成功返回true。', 'type' => 'boolean', 'example' => 'true'],
],
'description' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '查询事件仓',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'eventbridge:QueryEventHouse',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Table', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:table/{#TableId}'],
],
],
],
],
'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\\": \\"f2099962-1628-45f1-9782-2bf6daad823f\\",\\n \\"Data\\": {\\n \\"Rows\\": [\\n {\\n \\"Columns\\": [\\n {\\n \\"Name\\": \\"index\\",\\n \\"Type\\": \\"text\\",\\n \\"Value\\": \\"product_info\\",\\n \\"IsNull\\": false\\n }\\n ]\\n }\\n ],\\n \\"Total\\": 18\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]',
],
'QueryEventTraces' => [
'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'],
],
'description' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''],
],
],
'title' => '查询事件轨迹推送详情',
'summary' => '查询事件轨迹。',
'description' => '查询事件轨迹。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'eventbridge:QueryEventTraces',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventBus', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}'],
],
],
],
],
'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"}]',
],
'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'],
],
'description' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''],
],
],
'title' => '获取事件轨迹基本信息',
'summary' => '通过EventId查询事件轨迹。',
'description' => '通过EventId查询事件轨迹。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'eventbridge:QueryTracedEventByEventId',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventBus', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}'],
],
],
],
],
'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"}]',
],
'QueryTracedEvents' => [
'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"
.'>每次返回的最大条数不超过100。>', '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' => ['description' => '事件主题。', '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'],
],
'description' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''],
],
],
'title' => '通过时间范围查询事件轨迹',
'summary' => '通过时间范围查询事件轨迹。',
'description' => '通过时间范围查询事件轨迹。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'eventbridge:QueryTracedEvents',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventBus', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}'],
],
],
],
],
'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"}]',
],
'StartEventStreaming' => [
'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'],
],
'description' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''],
],
],
'title' => '启用一个已创建或已停用的事件流',
'summary' => '启用一个已创建或已停用的事件流。',
'description' => '启用一个已创建或已停用的事件流。',
'changeSet' => [
['createdAt' => '2024-02-01T06:13:09.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2023-04-06T12:58:57.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
['createdAt' => '2022-09-14T08:06:13.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
['createdAt' => '2022-09-14T08:06:13.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StartEventStreaming'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'eventbridge:StartEventStreaming',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventStreaming', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventstreaming/{#EventStreamingName}'],
],
],
],
],
'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"}]',
],
'TestEventPattern' => [
'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'],
'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'],
'title' => '测试事件模式是否与提供的 JSON 格式事件匹配',
'summary' => '测试事件模式是否与提供的 JSON 格式事件匹配。',
'description' => '测试事件模式是否与提供的 JSON 格式事件匹配。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TestEventPattern'],
],
],
'ramActions' => [],
'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"}]',
],
'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网段,可以配置多个,多个时用“;”分割', 'description' => '允许访问的 CIDR 地址列表。', 'type' => 'string', 'required' => false],
'SnapshotMode' => ['description' => '快照模式。', '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'],
],
'description' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''],
],
],
'title' => '测试数据源配置',
'description' => '查询所有外部事件源。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'eventbridge:TestEventSourceConfig',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'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"}]',
],
'UpdateAgent' => [
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '38611',
'abilityTreeNodes' => ['FEATUREeventbridgeUWT8SO', 'FEATUREeventbridge70XW1X'],
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'Name',
'in' => 'formData',
'schema' => ['description' => 'Agent 名称', 'type' => 'string', 'required' => true, 'example' => 'my-agent', 'maxLength' => 128, 'minLength' => 2],
],
[
'name' => 'Description',
'in' => 'formData',
'schema' => ['description' => '事件源描述详情', 'type' => 'string', 'required' => false, 'example' => 'MNS的过滤规则'],
],
[
'name' => 'Prompt',
'in' => 'formData',
'schema' => ['description' => '你是一个 IoT 数据分析助手...', 'type' => 'string', 'required' => false, 'example' => '瑞士冻结马杜罗在瑞资产'],
],
[
'name' => 'Metadata',
'in' => 'formData',
'style' => 'json',
'schema' => [
'description' => '关联的元数据',
'type' => 'object',
'properties' => [
'Attachments' => [
'description' => '绑定的元数据对象',
'type' => 'array',
'items' => [
'description' => '绑定的元数据对象数组',
'type' => 'object',
'properties' => [
'MimeType' => ['description' => '绑定的元数据对象类型', 'type' => 'string', 'required' => false, 'example' => 'inner-resource/event-table'],
'Arn' => ['description' => '绑定的元数据对象ARN', 'type' => 'string', 'required' => false, 'example' => 'acs:eventbridge:cn-hangzhou:12345:eventhouse/system-rocketmq/namespace/rmq-cn-xxx/table/order'],
],
'required' => false,
],
'required' => false,
],
],
'required' => false,
],
],
[
'name' => 'ClientToken',
'in' => 'formData',
'schema' => ['description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。', 'type' => 'string', 'required' => false, 'example' => 'TF-CreateRule-1652253755-aa33f762-7e99-4aee-bd27-d3370afa5625'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '返回值',
'type' => 'object',
'properties' => [
'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'InvalidArgument'],
'RequestId' => ['description' => '请求id。', 'type' => 'string', 'example' => '382E6272-XXXXX-A8AF0BFAC1A5'],
'Data' => [
'description' => '是否成功。',
'type' => 'object',
'properties' => [
'AgentArn' => ['description' => 'Agent ARN', 'type' => 'string', 'example' => 'acs:eventbridge:{region}:{accountId}:agent/{agentName} '],
],
],
'Code' => ['description' => '接口返回码:'."\n"
.'- Success:表示成功。 '."\n"
.'- 其它:表示错误码。错误码详情,请参见错误码。', 'type' => 'string', 'example' => 'Success'],
'Success' => ['description' => '操作成功返回true。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''],
],
],
'title' => '更新自定义Agent',
'summary' => '更新自定义Agent',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'eventbridge:UpdateAgent',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"InvalidArgument\\",\\n \\"RequestId\\": \\"382E6272-XXXXX-A8AF0BFAC1A5\\",\\n \\"Data\\": {\\n \\"AgentArn\\": \\"acs:eventbridge:{region}:{accountId}:agent/{agentName} \\"\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]',
],
'UpdateApiDestination' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'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' => 511],
'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'],
],
'description' => '',
],
],
],
'errorCodes' => [
409 => [
['errorCode' => 'RequestParameterException', 'errorMessage' => 'Request parameter exception', 'description' => ''],
['errorCode' => 'ApiDestinationNotExist', 'errorMessage' => 'The api-destination not existed!', 'description' => ''],
['errorCode' => 'HttpApiParametersIsNull', 'errorMessage' => 'HttpApiParameters is null!', 'description' => ''],
['errorCode' => 'EndpointIsBlank', 'errorMessage' => 'Endpoint is blank!', 'description' => ''],
['errorCode' => 'Method', 'errorMessage' => 'Method is blank!', 'description' => ''],
['errorCode' => 'EndpointLengthExceed', 'errorMessage' => 'Endpoint length cannot exceed 127!', 'description' => ''],
['errorCode' => 'ConnectionNotExist', 'errorMessage' => 'The Connection not existed!', 'description' => ''],
],
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'InternalError', 'description' => ''],
],
],
'title' => '更新API 端点',
'summary' => '更新API 端点。',
'description' => '用于更新API 端点相关配置信息。',
'changeSet' => [
['createdAt' => '2023-09-13T11:38:17.000Z', 'description' => '错误码发生变更、请求参数发生变更'],
['createdAt' => '2023-04-12T13:40:19.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2023-04-06T12:58:59.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'eventbridge:UpdateApiDestination',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'ApiDestination', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:apidestination/{#ApiDestinationName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"382E6272-8E9C-5681-AC96-A8AF0BFAC1A5\\",\\n \\"Message\\": \\"success\\",\\n \\"Code\\": \\"Success\\",\\n \\"ApiDestinationName\\": \\"api-destination-name\\"\\n}","type":"json"}]',
],
'UpdateConnection' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'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' => 'Description of the connection configuration', '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' => 'Type',
'in' => 'query',
'schema' => ['description' => '连接类型。可选值:MySQL、PostgreSQL、Elasticsearch、Http', 'type' => 'string', 'required' => false, 'example' => 'Http'],
],
[
'name' => 'Parameters',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => '数据源连接参数(JSON 对象)。具体字段定义请调用 GetConnectionType 接口,参考返回结果中的 ParamsSchema', 'type' => 'any', 'example' => '{"HostName":"xxx.mysql.rds.aliyuncs.com","Port":"3306","User":"root","Password":"xxx","DatabaseName":"demo_db"}'],
],
[
'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'],
],
'description' => '',
],
],
],
'errorCodes' => [
409 => [
['errorCode' => 'RequestParameterException', 'errorMessage' => 'Request parameter exception', 'description' => ''],
['errorCode' => 'ConnectionNotExist', 'errorMessage' => 'The Connection not existed!', 'description' => ''],
['errorCode' => 'SecretManagerAPIDeleteSecretFailed', 'errorMessage' => 'Delete secret manager api secret failed!', 'description' => ''],
['errorCode' => 'BasicRequiredParameterIsEmpty', 'errorMessage' => 'Basic required parameters are empty, the required parameters are username and password!', 'description' => ''],
['errorCode' => 'BasicUserNameLengthExceed', 'errorMessage' => 'Basic username length cannot exceed 127!', 'description' => ''],
['errorCode' => 'BasicPassWordLengthExceed', 'errorMessage' => 'Basic password length cannot exceed 127!', 'description' => ''],
['errorCode' => 'ApiKeyRequiredParameterIsEmpty', 'errorMessage' => 'Api Key required parameters are empty, the required parameters are apiKeyName and apiKeyValue!', 'description' => ''],
['errorCode' => 'ApiKeyNameLengthExceed', 'errorMessage' => 'Api key name length cannot exceed 127!', 'description' => ''],
['errorCode' => 'ApiKeyValueLengthExceed', 'errorMessage' => 'Api key value length cannot exceed 127!', 'description' => ''],
['errorCode' => 'OAuthRequiredParameterIsEmpty', 'errorMessage' => 'OAuth required parameters are empty, the required parameters are authorizationEndpoint and httpMethod!', 'description' => ''],
['errorCode' => 'AuthorizationEndpointLengthExceed', 'errorMessage' => 'Authorization endpoint length cannot exceed 127!', 'description' => ''],
['errorCode' => 'ClientIDLengthExceed', 'errorMessage' => 'ClientID length cannot exceed 127!', 'description' => ''],
['errorCode' => 'ClientSecretLengthExceed', 'errorMessage' => 'ClientSecret length cannot exceed 127!', 'description' => ''],
['errorCode' => 'OauthHttpParametersEmpty', 'errorMessage' => 'OauthHttpParameters is Empty.', 'description' => ''],
['errorCode' => 'SecretManagerAPICreateSecretNameFailed', 'errorMessage' => 'Create secret manager api secret name failed!', 'description' => ''],
['errorCode' => 'SecretManagerAPIGetSecretValueFailed', 'errorMessage' => 'Get secret manager api secret value failed!', 'description' => ''],
],
500 => [
['errorCode' => 'InternalError', 'errorMessage' => 'InternalError', 'description' => ''],
],
],
'title' => '更新连接配置信息',
'summary' => '更新连接配置信息。',
'description' => '用于更新连接配置。',
'changeSet' => [
['createdAt' => '2023-09-13T11:38:18.000Z', 'description' => '错误码发生变更'],
['createdAt' => '2023-04-12T13:40:19.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2023-04-06T12:58:59.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateConnection'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'eventbridge:UpdateConnection',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Connection', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:connection/{#ConnectionName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8346BE8F-40F3-533D-A0B8-1359C31BD5BA\\",\\n \\"Message\\": \\"success\\",\\n \\"Code\\": \\"200\\"\\n}","type":"json"}]',
],
'UpdateEventBus' => [
'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'],
],
'description' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''],
],
],
'title' => '修改事件总线',
'summary' => '修改事件总线。',
'description' => '修改事件总线。',
'changeSet' => [
['createdAt' => '2023-08-01T13:13:48.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2023-04-21T02:33:44.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'eventbridge:UpdateEventBus',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventBus', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}'],
],
],
],
],
'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"}]',
],
'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 event source'],
],
[
'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],
'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' => [
'description' => 'OSS 事件源参数。',
'type' => 'object',
'properties' => [
'EventTypes' => [
'description' => '事件类型列表。',
'type' => 'array',
'items' => ['description' => '事件类型。', 'type' => 'string', 'required' => false],
'required' => false,
],
'StsRoleArn' => ['description' => 'STS角色ARN。', 'type' => 'string', 'required' => false],
'MatchRules' => [
'description' => '匹配规则。',
'type' => 'array',
'items' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Suffix' => ['description' => '后缀。', 'type' => 'string', 'required' => false],
'MatchState' => ['description' => '匹配状态。', 'type' => 'boolean', 'required' => false],
'Prefix' => ['description' => '前缀。', 'type' => 'string', 'required' => false],
'Name' => ['description' => '名称。', 'type' => 'string', 'required' => false],
],
'required' => false,
'description' => '',
],
'required' => false,
'description' => '',
],
'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', 'description' => ''],
],
],
'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"
.'}`',
'changeSet' => [
['createdAt' => '2023-10-19T06:44:41.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2023-08-01T13:13:50.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2023-04-21T02:33:44.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2023-04-06T12:58:58.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateEventSource'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'eventbridge:UpdateEventSource',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventSource', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}/eventsource/{#EventSourceName}'],
],
],
],
],
'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"}]',
],
'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' => false, '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'],
'NetworkType' => ['description' => '网络类型。', 'type' => 'string', 'required' => false],
'VpcId' => ['description' => 'VPC ID。', 'type' => 'string', 'required' => false],
'VSwitchIds' => ['description' => '虚拟交换机ID。', 'type' => 'string', 'required' => false],
'SecurityGroupId' => ['description' => '安全组ID。', 'type' => 'string', 'required' => false],
],
'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],
'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, 'description' => ''],
'SslKeystoreCertificateChain' => ['title' => '【双向认证必填】Kafka 客户端证书链。当 Kafka 服务端开启双向 SSL 认证(ssl.client.auth=required)时,需提供此参数。格式要求:Base64 编码的 PEM 格式,包含客户端证书及完整的证书链(客户端证书在前,中间 CA 证书在后,根 CA 证书可选)。注意:确保每个 PEM 文件内容的开头和结尾分别是 \'-----BEGIN CERTIFICATE-----\' 和 \'-----END CERTIFICATE-----\' ,拼接后进行 Base64 编码'."\n", 'description' => '【双向认证必填】Kafka 客户端证书链。当 Kafka 服务端开启双向 SSL 认证(ssl.client.auth=required)时,需提供此参数。格式要求:Base64 编码的 PEM 格式,包含客户端证书及完整的证书链(客户端证书在前,中间 CA 证书在后,根 CA 证书可选)。注意:确保每个 PEM 文件内容的开头和结尾分别是 \'-----BEGIN CERTIFICATE-----\' 和 \'-----END CERTIFICATE-----\' ,拼接后进行 Base64 编码'."\n", 'type' => 'string', 'required' => false],
'SslKeyPassword' => ['title' => '【加密私钥必填】Kafka 客户端私钥密码。当客户端私钥使用密码加密保护时(即 PEM 文件中包含 \'Proc-Type: 4,ENCRYPTED\' 或 \'ENCRYPTED\' 标记),需提供解密密码。若私钥未加密则留空。注意:此密码仅用于解密私钥,与 Kafka 认证无关'."\n", 'description' => '【加密私钥必填】Kafka 客户端私钥密码。当客户端私钥使用密码加密保护时(即 PEM 文件中包含 \'Proc-Type: 4,ENCRYPTED\' 或 \'ENCRYPTED\' 标记),需提供解密密码。若私钥未加密则留空。注意:此密码仅用于解密私钥,与 Kafka 认证无关'."\n", 'type' => 'string', 'required' => false],
'SslTruststoreCertificates' => ['title' => '【SSL场景必填】Kafka 服务端信任证书。用于验证 Kafka Broker 的 SSL 证书合法性,防止中间人攻击。格式要求:Base64 编码的 PEM 格式,通常包含 Kafka 服务端的 CA 证书或服务端证书本身。示例:将 CA 证书的 PEM 文件内容(确保开头和结尾分别是 \'-----BEGIN CERTIFICATE-----\' 和 \'-----END CERTIFICATE-----\' ),进行 Base64 编码。若 Kafka 使用自签名证书,需提供签发该证书的 CA 证书', 'description' => '【SSL场景必填】Kafka 服务端信任证书。用于验证 Kafka Broker 的 SSL 证书合法性,防止中间人攻击。格式要求:Base64 编码的 PEM 格式,通常包含 Kafka 服务端的 CA 证书或服务端证书本身。示例:将 CA 证书的 PEM 文件内容(确保开头和结尾分别是 \'-----BEGIN CERTIFICATE-----\' 和 \'-----END CERTIFICATE-----\' ),进行 Base64 编码。若 Kafka 使用自签名证书,需提供签发该证书的 CA 证书', 'type' => 'string', 'required' => false],
'SslKeystoreKey' => [
'title' => '【双向认证必填】SSL 私钥配置对象。当 Kafka 服务端开启双向 SSL 认证时,需提供客户端私钥。密钥仅支持KMS 模式:通过 KmsArn 指定存储私钥的密钥管理服务资源,系统只在内存态从 KMS 获取私钥内容,安全性更高;配置示例:{\\"KmsArn\\": \\"acs:kms:cn-hangzhou:123456789:secret/ssl-key-xxxx\\", \\"KmsSecretValueKey\\": \\"keystore_private_key\\"}\\n"',
'description' => '【双向认证必填】SSL 私钥配置对象。当 Kafka 服务端开启双向 SSL 认证时,需提供客户端私钥。密钥仅支持KMS 模式:通过 KmsArn 指定存储私钥的密钥管理服务资源,系统只在内存态从 KMS 获取私钥内容,安全性更高;配置示例:{\\"KmsArn\\": \\"acs:kms:cn-hangzhou:123456789:secret/ssl-key-xxxx\\", \\"KmsSecretValueKey\\": \\"keystore_private_key\\"}\\n"',
'type' => 'object',
'properties' => [
'KmsArn' => ['title' => '【必填】存储 SSL 私钥的 KMS 资源 ARN。用于定位存放客户端私钥的密钥管理服务实例。格式示例: \'acs:kms:cn-hangzhou:123456789:secret/ssl-keystore-key-xxxx\'。获取方式:在 KMS 控制台查看对应密钥的 ARN 信息。', 'description' => '【必填】存储 SSL 私钥的 KMS 资源 ARN。用于定位存放客户端私钥的密钥管理服务实例。格式示例: \'acs:kms:cn-hangzhou:123456789:secret/ssl-keystore-key-xxxx\'。获取方式:在 KMS 控制台查看对应密钥的 ARN 信息。', 'type' => 'string', 'required' => false],
'KmsSecretValueKey' => ['title' => '【kms KV 模式】KMS 凭据中的密钥键名。当 KMS 存储的凭据为键值对(KV)结构时,填写此参数以指定 SSL 私钥对应的 key。示例:若 KMS 凭据为 \'{"ssl_keystore_key":"-----BEGIN PRIVATE KEY-----...","ssl_truststore_key":"..."}\',则填写 \'ssl_keystore_key\'。若 KMS 凭据为纯文本模式(直接存储私钥的 PEM 内容),则留空此参数'."\n", 'description' => '【kms KV 模式】KMS 凭据中的密钥键名。当 KMS 存储的凭据为键值对(KV)结构时,填写此参数以指定 SSL 私钥对应的 key。示例:若 KMS 凭据为 \'{"ssl_keystore_key":"-----BEGIN PRIVATE KEY-----...","ssl_truststore_key":"..."}\',则填写 \'ssl_keystore_key\'。若 KMS 凭据为纯文本模式(直接存储私钥的 PEM 内容),则留空此参数'."\n", 'type' => 'string', 'required' => false],
],
'required' => false,
],
'Topic' => ['type' => 'string', 'required' => false, 'description' => ''],
'ConsumerGroup' => ['type' => 'string', 'required' => false, 'description' => ''],
'OffsetReset' => ['type' => 'string', 'required' => false, 'description' => ''],
'ValueDataType' => ['type' => 'string', 'required' => false, 'description' => ''],
'VpcId' => ['type' => 'string', 'required' => false, 'description' => ''],
'VSwitchIds' => ['type' => 'string', 'required' => false, 'description' => ''],
'SecurityGroupId' => ['type' => 'string', 'required' => false, 'description' => ''],
'NetworkType' => ['type' => 'string', 'required' => false, 'description' => ''],
'SecurityProtocol' => ['type' => 'string', 'required' => false, 'description' => ''],
'SaslMechanism' => ['type' => 'string', 'required' => false, 'description' => ''],
'SaslUser' => ['type' => 'string', 'required' => false, 'description' => ''],
'SaslPassword' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'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', 'description' => ''],
'SourceRabbitMQMetaParameters' => ['required' => false, '$ref' => '#/components/schemas/SourceRabbitMQMetaParameters', 'description' => ''],
'SourceRabbitMQMsgSyncParameters' => ['required' => false, '$ref' => '#/components/schemas/SourceRabbitMQMsgSyncParameters', 'description' => ''],
'SourceFeiShuDocsParameters' => ['$ref' => '#/components/schemas/SourceFeiShuDocsParameters'],
],
'required' => false,
],
],
[
'name' => 'Metadata',
'in' => 'formData',
'schema' => ['title' => '事件提供方通用JSON配置(与Source二选一)', 'type' => 'string'],
],
[
'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],
],
'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],
],
'required' => false,
],
],
'required' => false,
],
'SinkEventHouseParameters' => [
'title' => '事件目标名称',
'description' => '事件目标名称',
'type' => 'object',
'properties' => [
'CatalogName' => ['title' => 'catalog名称', 'description' => 'catalog名称', 'type' => 'string', 'required' => false, 'example' => 'demo'],
'NamespaceName' => ['title' => '目标表的命名空间', 'description' => '目标表的命名空间', 'type' => 'string', 'required' => false, 'example' => 'name1'],
'EventTableName' => ['title' => '目标表的名称', 'description' => '目标表的名称', 'type' => 'string', 'required' => false, 'example' => 'demo-table'],
'MappingRules' => [
'title' => '字段映射规则',
'description' => '字段映射规则',
'type' => 'array',
'items' => [
'title' => '字段映射规则',
'description' => '字段映射规则',
'type' => 'object',
'properties' => [
'ColumnValue' => [
'title' => '列值的提取规则',
'description' => '列值的提取规则',
'type' => 'object',
'properties' => [
'Value' => ['title' => '提取路径,如$.data.value.name', 'description' => '提取路径,如$.data.value.name', 'type' => 'string', 'required' => false, 'example' => '$.data.value'],
'Form' => ['title' => '转换的方式,如JSONPATH', 'description' => '转换的方式,如JSONPATH', 'type' => 'string', 'required' => false, 'example' => 'JSONPATH'],
'Template' => ['title' => '模板配置', 'description' => '模板配置', 'type' => 'string', 'required' => false, 'example' => 'The value of ${key} is ${value}!'],
],
'required' => false,
],
'ColumnName' => ['title' => '列名称', 'description' => '列名称', 'type' => 'string', 'required' => false, 'example' => 'age'],
'ColumnType' => [
'title' => '列的类型',
'description' => '列的类型',
'type' => 'string',
'required' => false,
'example' => 'text',
'enum' => ['text', 'bigint', 'json', 'timestamp', 'double'],
],
],
'required' => false,
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'required' => false,
],
'CompressionType' => ['type' => 'string', 'required' => false, 'description' => ''],
'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],
],
'required' => false,
],
'DynamicTopic' => [
'title' => '指定消息路由的目标 Topic 策略。若同时指定了Topic参数和DynamicTopic参数,以DynamicTopic参数的值为准。支持以下两种配置模式:'."\n"
.' 1. **静态常量模式**:直接填写固定的 Topic 名称字符串(例如:"order_created")。所有消息将统一发送至该 Topic。'."\n"
.' 2. **动态提取模式**:填写标准的 JSONPath 表达式(例如:"$.user.id" 或 "$.metadata.category")。系统将解析上游消息体,提取匹配字段的值作为目标 Topic 名称。',
'description' => '指定消息路由的目标 Topic 策略。若同时指定了Topic参数和DynamicTopic参数,以DynamicTopic参数的值为准。支持以下两种配置模式:'."\n"
.' 1. **静态常量模式**:直接填写固定的 Topic 名称字符串(例如:"order_created")。所有消息将统一发送至该 Topic。'."\n"
.' 2. **动态提取模式**:填写标准的 JSONPath 表达式(例如:"$.user.id" 或 "$.metadata.category")。系统将解析上游消息体,提取匹配字段的值作为目标 Topic 名称。',
'type' => 'object',
'properties' => [
'Value' => ['title' => '值', 'description' => '值', 'type' => 'string', 'required' => false],
'Form' => ['title' => '转换的类型'."\n"
.'CONSTANT:固定值'."\n"
.'JSONPATH:根据路径从上游提取', 'description' => '转换的类型'."\n"
.'CONSTANT:固定值'."\n"
.'JSONPATH:根据路径从上游提取', 'type' => 'string', 'required' => false],
'Template' => ['title' => '模板', 'description' => '模板', 'type' => 'string', 'required' => false],
],
'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],
],
'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],
],
'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, 'description' => ''],
'Topic' => ['type' => 'string', 'required' => false, 'description' => ''],
'DynamicTopic' => [
'title' => '指定消息路由的目标 Topic 策略。若同时指定了Topic参数和DynamicTopic参数,以DynamicTopic参数的值为准。支持以下两种配置模式:'."\n"
.' 1. **静态常量模式**:直接填写固定的 Topic 名称字符串(例如:"order_created")。所有消息将统一发送至该 Topic。'."\n"
.' 2. **动态提取模式**:填写标准的 JSONPath 表达式(例如:"$.user.id" 或 "$.metadata.category")。系统将解析上游消息体,提取匹配字段的值作为目标 Topic 名称。',
'description' => '指定消息路由的目标 Topic 策略。若同时指定了Topic参数和DynamicTopic参数,以DynamicTopic参数的值为准。支持以下两种配置模式:'."\n"
.' 1. **静态常量模式**:直接填写固定的 Topic 名称字符串(例如:"order_created")。所有消息将统一发送至该 Topic。'."\n"
.' 2. **动态提取模式**:填写标准的 JSONPath 表达式(例如:"$.user.id" 或 "$.metadata.category")。系统将解析上游消息体,提取匹配字段的值作为目标 Topic 名称。',
'type' => 'object',
'properties' => [
'Value' => ['title' => '值', 'description' => '值', 'type' => 'string', 'required' => false],
'Form' => ['title' => '转换的类型'."\n"
.'CONSTANT:固定值'."\n"
.'JSONPATH:根据路径从上游提取', 'description' => '转换的类型'."\n"
.'CONSTANT:固定值'."\n"
.'JSONPATH:根据路径从上游提取', 'type' => 'string', 'required' => false],
'Template' => ['title' => '模板', 'description' => '模板', 'type' => 'string', 'required' => false],
],
'required' => false,
],
'Acks' => ['type' => 'string', 'required' => false, 'description' => ''],
'Key' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'Value' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'CompressionType' => ['type' => 'string', 'required' => false, 'description' => ''],
'SecurityProtocol' => ['type' => 'string', 'required' => false, 'description' => ''],
'SaslMechanism' => ['type' => 'string', 'required' => false, 'description' => ''],
'SaslUser' => ['type' => 'string', 'required' => false, 'description' => ''],
'VpcId' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'VSwitchIds' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'SecurityGroupId' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'NetworkType' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'Headers' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'SaslPassword' => ['type' => 'string', 'required' => false, 'description' => ''],
'SslKeystoreCertificateChain' => ['title' => '【双向认证必填】Kafka 客户端证书链。当 Kafka 服务端开启双向 SSL 认证(ssl.client.auth=required)时,需提供此参数。格式要求:Base64 编码的 PEM 格式,包含客户端证书及完整的证书链(客户端证书在前,中间 CA 证书在后,根 CA 证书可选)。注意:确保每个 PEM 文件内容的开头和结尾分别是 \'-----BEGIN CERTIFICATE-----\' 和 \'-----END CERTIFICATE-----\' ,拼接后进行 Base64 编码'."\n", 'description' => '【双向认证必填】Kafka 客户端证书链。当 Kafka 服务端开启双向 SSL 认证(ssl.client.auth=required)时,需提供此参数。格式要求:Base64 编码的 PEM 格式,包含客户端证书及完整的证书链(客户端证书在前,中间 CA 证书在后,根 CA 证书可选)。注意:确保每个 PEM 文件内容的开头和结尾分别是 \'-----BEGIN CERTIFICATE-----\' 和 \'-----END CERTIFICATE-----\' ,拼接后进行 Base64 编码'."\n", 'type' => 'string', 'required' => false],
'SslKeyPassword' => ['title' => '【加密私钥必填】Kafka 客户端私钥密码。当客户端私钥使用密码加密保护时(即 PEM 文件中包含 \'Proc-Type: 4,ENCRYPTED\' 或 \'ENCRYPTED\' 标记),需提供解密密码。若私钥未加密则留空。注意:此密码仅用于解密私钥,与 Kafka 认证无关'."\n", 'description' => '【加密私钥必填】Kafka 客户端私钥密码。当客户端私钥使用密码加密保护时(即 PEM 文件中包含 \'Proc-Type: 4,ENCRYPTED\' 或 \'ENCRYPTED\' 标记),需提供解密密码。若私钥未加密则留空。注意:此密码仅用于解密私钥,与 Kafka 认证无关'."\n", 'type' => 'string', 'required' => false],
'SslTruststoreCertificates' => ['title' => '【SSL场景必填】Kafka 服务端信任证书。用于验证 Kafka Broker 的 SSL 证书合法性,防止中间人攻击。格式要求:Base64 编码的 PEM 格式,通常包含 Kafka 服务端的 CA 证书或服务端证书本身。示例:将 CA 证书的 PEM 文件内容(确保开头和结尾分别是 \'-----BEGIN CERTIFICATE-----\' 和 \'-----END CERTIFICATE-----\' ),进行 Base64 编码。若 Kafka 使用自签名证书,需提供签发该证书的 CA 证书', 'description' => '【SSL场景必填】Kafka 服务端信任证书。用于验证 Kafka Broker 的 SSL 证书合法性,防止中间人攻击。格式要求:Base64 编码的 PEM 格式,通常包含 Kafka 服务端的 CA 证书或服务端证书本身。示例:将 CA 证书的 PEM 文件内容(确保开头和结尾分别是 \'-----BEGIN CERTIFICATE-----\' 和 \'-----END CERTIFICATE-----\' ),进行 Base64 编码。若 Kafka 使用自签名证书,需提供签发该证书的 CA 证书', 'type' => 'string', 'required' => false],
'SslKeystoreKey' => [
'title' => '【双向认证必填】SSL 私钥配置对象。当 Kafka 服务端开启双向 SSL 认证时,需提供客户端私钥。密钥仅支持KMS 模式:通过 KmsArn 指定存储私钥的密钥管理服务资源,系统只在内存态从 KMS 获取私钥内容,安全性更高;配置示例:{\\"KmsArn\\": \\"acs:kms:cn-hangzhou:123456789:secret/ssl-key-xxxx\\", \\"KmsSecretValueKey\\": \\"keystore_private_key\\"}\\n"',
'description' => '【双向认证必填】SSL 私钥配置对象。当 Kafka 服务端开启双向 SSL 认证时,需提供客户端私钥。密钥仅支持KMS 模式:通过 KmsArn 指定存储私钥的密钥管理服务资源,系统只在内存态从 KMS 获取私钥内容,安全性更高;配置示例:{\\"KmsArn\\": \\"acs:kms:cn-hangzhou:123456789:secret/ssl-key-xxxx\\", \\"KmsSecretValueKey\\": \\"keystore_private_key\\"}\\n"',
'type' => 'object',
'properties' => [
'KmsArn' => ['title' => '【必填】存储 SSL 私钥的 KMS 资源 ARN。用于定位存放客户端私钥的密钥管理服务实例。格式示例: \'acs:kms:cn-hangzhou:123456789:secret/ssl-keystore-key-xxxx\'。获取方式:在 KMS 控制台查看对应密钥的 ARN 信息。', 'description' => '【必填】存储 SSL 私钥的 KMS 资源 ARN。用于定位存放客户端私钥的密钥管理服务实例。格式示例: \'acs:kms:cn-hangzhou:123456789:secret/ssl-keystore-key-xxxx\'。获取方式:在 KMS 控制台查看对应密钥的 ARN 信息。', 'type' => 'string', 'required' => false],
'KmsSecretValueKey' => ['title' => '【kms KV 模式】KMS 凭据中的密钥键名。当 KMS 存储的凭据为键值对(KV)结构时,填写此参数以指定 SSL 私钥对应的 key。示例:若 KMS 凭据为 \'{"ssl_keystore_key":"-----BEGIN PRIVATE KEY-----...","ssl_truststore_key":"..."}\',则填写 \'ssl_keystore_key\'。若 KMS 凭据为纯文本模式(直接存储私钥的 PEM 内容),则留空此参数'."\n", 'description' => '【kms KV 模式】KMS 凭据中的密钥键名。当 KMS 存储的凭据为键值对(KV)结构时,填写此参数以指定 SSL 私钥对应的 key。示例:若 KMS 凭据为 \'{"ssl_keystore_key":"-----BEGIN PRIVATE KEY-----...","ssl_truststore_key":"..."}\',则填写 \'ssl_keystore_key\'。若 KMS 凭据为纯文本模式(直接存储私钥的 PEM 内容),则留空此参数'."\n", '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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'required' => false,
],
],
'required' => false,
],
'SinkDorisParameters' => [
'title' => '事件源类型',
'description' => '事件源类型',
'type' => 'object',
'properties' => [
'QueryEndpoint' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'FeHttpEndpoint' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'BeHttpEndpoint' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'UserName' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'Password' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'Database' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'Body' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'Table' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'NetworkType' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'VpcId' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'VSwitchIds' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'SecurityGroupId' => [
'type' => 'object',
'properties' => [
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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' => 'name'],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
'Form' => ['description' => '转换的格式。', 'type' => 'string', 'required' => false, 'example' => 'ORIGINAL'],
'Template' => ['description' => '无', 'type' => 'string', 'required' => false],
],
'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],
],
'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],
],
'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],
],
'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],
],
'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],
],
'required' => false,
],
'DashVectorSchemaParameters' => [
'description' => '插入DashVector时表项的Schema字段定义,事件内容转换后结果必须是Json格式。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Name' => [
'type' => 'object',
'properties' => [
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'Type' => [
'type' => 'object',
'properties' => [
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'Value' => [
'type' => 'object',
'properties' => [
'Form' => ['type' => 'string', 'required' => false, 'description' => ''],
'Value' => ['type' => 'string', 'required' => false, 'description' => ''],
'Template' => ['type' => 'string', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
],
'required' => false,
'description' => '',
],
'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],
],
'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', 'description' => ''],
'SinkHttpsParameters' => ['title' => 'Https目标参数', 'description' => 'Https目标参数', 'required' => false, '$ref' => '#/components/schemas/SinkHttpsParameters'],
'SinkApiDestinationParameters' => ['title' => 'ApiDestination目标参数', 'description' => 'ApiDestination目标参数', 'required' => false, '$ref' => '#/components/schemas/SinkApiDestinationParameters'],
'SinkOSSParameters' => ['required' => false, '$ref' => '#/components/schemas/SinkOSSParameters', 'description' => ''],
'SinkRabbitMQMetaParameters' => ['required' => false, '$ref' => '#/components/schemas/SinkRabbitMQMetaParameters', 'description' => ''],
'SinkRabbitMQMsgSyncParameters' => ['required' => false, '$ref' => '#/components/schemas/SinkRabbitMQMsgSyncParameters', 'description' => ''],
'SinkMQTTParameters' => ['required' => false, '$ref' => '#/components/schemas/SinkMQTTParameters', 'description' => ''],
'SinkAgentRunParameters' => ['$ref' => '#/components/schemas/SinkAgentRunParameters'],
],
'required' => false,
],
],
[
'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, 'description' => ''],
'MinCapacityUnitCount' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'description' => ''],
'MaxCapacityUnitCount' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'description' => ''],
],
'required' => false,
'description' => '',
],
'Throttling' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'description' => ''],
],
'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', 'description' => ''],
'BaiLianAgentTransformParameters' => ['required' => false, '$ref' => '#/components/schemas/BaiLianAgentTransformParameters', 'description' => ''],
],
'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', 'description' => ''],
],
],
'title' => '修改一个事件流',
'description' => '修改一个事件流的基础信息、事件源信息、事件过滤模式或事件目标信息。',
'changeSet' => [
['createdAt' => '2025-06-04T03:29:37.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2025-05-28T02:59:04.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2025-05-27T06:44:15.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2025-04-24T03:25:44.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2025-04-14T13:06:33.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2025-04-08T14:34:38.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2025-03-26T11:30:49.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2025-02-20T11:46:50.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2025-02-11T12:15:19.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2025-01-10T05:53:58.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2024-10-31T11:53:17.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2024-09-10T05:42:12.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2024-09-09T03:30:05.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2024-08-19T09:20:36.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2024-07-12T03:21:13.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2024-06-28T02:40:44.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2024-05-31T06:16:32.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2024-04-09T14:49:35.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2024-02-21T08:40:52.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2024-01-25T08:13:45.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2023-12-28T06:31:21.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2023-11-22T14:16:57.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2023-10-11T12:34:28.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2023-09-13T13:10:40.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2023-04-21T03:32:06.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2023-04-06T12:58:57.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
['createdAt' => '2022-09-14T08:06:30.000Z', 'description' => 'OpenAPI 下线'],
['createdAt' => '2022-09-14T08:06:30.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateEventStreaming'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'eventbridge:UpdateEventStreaming',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventStreaming', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventstreaming/{#EventStreamingName}'],
],
],
],
],
'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"}]',
],
'UpdateEventStreamingBusinessOption' => [
'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', 'description' => ''],
],
[
['errorCode' => 'EventStreamingNotExisted', 'errorMessage' => 'the event streaming is not existed.', 'description' => ''],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => '编辑事件流计费模式',
'summary' => '查询事件流',
'description' => '修改一个事件流的计费形态,cu资源等配置',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'eventbridge:UpdateEventStreamingBusinessOption',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventStreaming', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventstreaming/{#EventStreamingName}'],
],
],
],
],
'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"}]',
],
'UpdateNamespace' => [
'summary' => '修改命名空间',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '38582',
'abilityTreeNodes' => ['FEATUREeventbridgeHELDSX'],
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'Name',
'in' => 'query',
'schema' => ['title' => '命名空间名称', 'description' => '命名空间名称', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'my_namespace', 'maxLength' => 127, 'minLength' => 1],
],
[
'name' => 'Comment',
'in' => 'query',
'schema' => ['title' => '备注描述', 'description' => '备注描述', 'type' => 'string', 'required' => false, 'example' => '更新后的备注'],
],
[
'name' => 'ClientToken',
'in' => 'formData',
'schema' => ['title' => '幂等Token', 'description' => '幂等Token', 'type' => 'string', 'required' => false, 'example' => '1e9b8f60-3a2c-4d7e-9f1b-8c3d5e7a2b4f'],
],
[
'name' => 'Catalog',
'in' => 'query',
'schema' => ['title' => '所属数据目录', 'description' => '所属数据目录', 'type' => 'string', 'required' => false, 'example' => 'my_catalog'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Message' => ['title' => '接口返回信息', 'description' => '接口返回信息', 'type' => 'string', 'example' => 'Operation success'],
'RequestId' => ['title' => '请求ID', 'description' => '请求ID', 'type' => 'string', 'example' => '34AD682D-5B91-5773-8132-AA38C130****'],
'Data' => [
'title' => '返回数据',
'description' => '返回数据',
'type' => 'object',
'properties' => [
'NamespaceARN' => ['title' => '命名空间ARN', 'description' => '命名空间ARN', 'type' => 'string', 'example' => 'acs:eventbridge:cn-hangzhou:123456789:catalog/my_catalog/namespace/my_namespace'],
],
],
'Code' => ['title' => '接口返回码,200表示成功', 'description' => '接口返回码,200表示成功', 'type' => 'string', 'example' => '200'],
'Success' => ['title' => '操作是否成功', 'description' => '操作是否成功', 'type' => 'boolean', 'example' => 'true'],
],
'description' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''],
],
],
'title' => '编辑命名空间',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'eventbridge:UpdateNamespace',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Namespace', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:namespace/{#NamespaceId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"Operation success\\",\\n \\"RequestId\\": \\"34AD682D-5B91-5773-8132-AA38C130****\\",\\n \\"Data\\": {\\n \\"NamespaceARN\\": \\"acs:eventbridge:cn-hangzhou:123456789:catalog/my_catalog/namespace/my_namespace\\"\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]',
],
'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'],
],
'description' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''],
],
],
'title' => '更新一个事件规则的配置',
'summary' => '更新一个事件规则的配置。',
'description' => '更新一个事件规则的配置。',
'changeSet' => [
['createdAt' => '2024-04-09T14:49:36.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2021-07-25T10:34:41.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'eventbridge:UpdateRule',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Rule', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}/rule/{#RuleName}'],
],
],
],
],
'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"}]',
],
'UpdateTable' => [
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '38582',
'abilityTreeNodes' => ['FEATUREeventbridgeHELDSX'],
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'Name',
'in' => 'query',
'schema' => ['title' => '表名称', 'description' => '表名称', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'my_table', 'maxLength' => 127, 'minLength' => 1],
],
[
'name' => 'Catalog',
'in' => 'query',
'schema' => ['title' => '所属数据目录', 'description' => '所属数据目录', 'type' => 'string', 'required' => false, 'example' => 'my_catalog', 'maxLength' => 255],
],
[
'name' => 'ClientToken',
'in' => 'query',
'schema' => ['title' => '幂等Token', 'description' => '幂等Token', 'type' => 'string', 'required' => false, 'example' => '1e9b8f60-3a2c-4d7e-9f1b-8c3d5e7a2b4f'],
],
[
'name' => 'Namespace',
'in' => 'query',
'schema' => ['title' => '所属命名空间', 'description' => '所属命名空间', 'type' => 'string', 'required' => false, 'example' => 'my_namespace'],
],
[
'name' => 'AddColumn',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '新增列',
'description' => '新增列',
'type' => 'object',
'properties' => [
'Name' => ['description' => '查询到的事件类型的全名。', 'type' => 'string', 'required' => false, 'example' => 'kafka-default-agent-alikafka_pre-cn-28t3sfzno003'],
'Type' => ['description' => '事件目标类型。更多信息,请参见[事件目标参数](~~185887~~)。', 'type' => 'string', 'required' => false, 'example' => 'custom'],
'Comment' => ['description' => '注释。', 'type' => 'string', 'required' => false, 'example' => '接口授权_刘宏月_申请测试环境服务器资源访问权限_2026-07-06'],
],
'required' => false,
'example' => '{"Name":"id","Type":"bigint","Comment":"主键"}',
],
],
[
'name' => 'DeleteColumn',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '删除列',
'description' => '删除列',
'type' => 'object',
'properties' => [
'Name' => ['description' => '连接器名称。', 'type' => 'string', 'required' => false, 'example' => 'kafka-default-agent-alikafka_pre-cn-28t3sfzno003'],
],
'required' => false,
'example' => '{"Name":"old_column"}',
],
],
[
'name' => 'UpdateColumnType',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '修改列类型',
'description' => '修改列类型',
'type' => 'object',
'properties' => [
'Name' => ['description' => '连接器名称', 'type' => 'string', 'required' => false, 'example' => 'kafka-default-agent-alikafka_pre-cn-28t3sfzno003'],
'Type' => ['description' => '列类型', 'type' => 'string', 'required' => false, 'example' => 'PRIVATE'],
],
'required' => false,
'example' => '{"Name":"id","Type":"bigint"}',
],
],
[
'name' => 'UpdateColumnComment',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '修改列备注',
'description' => '修改列备注',
'type' => 'object',
'properties' => [
'Name' => ['description' => '扩展数据名称', 'type' => 'string', 'required' => false, 'example' => 'kafka-default-agent-alikafka_pre-cn-28t3sfzno003'],
'Comment' => ['description' => '备注信息。', 'type' => 'string', 'required' => false, 'example' => 'DIUS Dev 环境'],
],
'required' => false,
'example' => '{"Name":"id","Comment":"主键ID"}',
],
],
[
'name' => 'UpdateRetentionPolicy',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '修改保留策略',
'description' => '修改保留策略',
'type' => 'object',
'properties' => [
'HotTTL' => ['description' => '热存储时间', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '7'],
'ColdTTL' => ['description' => '冷存储时间', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '17'],
],
'required' => false,
'example' => '{"HotTTL":7,"ColdTTL":30}',
],
],
[
'name' => 'RenameColumn',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '重命名列',
'description' => '重命名列',
'type' => 'object',
'properties' => [
'Name' => ['description' => '连接器名称。', 'type' => 'string', 'required' => false, 'example' => 'kafka-default-agent-alikafka_pre-cn-28t3sfzno003'],
'NewName' => ['description' => '更新后的名称,当您需要修改指标名称时输入', 'type' => 'string', 'required' => false, 'example' => 'fvt-oos-application-group-56ca74b000'],
],
'required' => false,
'example' => '{"Name":"old_name","NewName":"new_name"}',
],
],
[
'name' => 'UpdateComment',
'in' => 'query',
'schema' => ['title' => '修改表备注', 'description' => '修改表备注', 'type' => 'string', 'required' => false, 'example' => '更新后的备注'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Message' => ['title' => '接口返回信息', 'description' => '接口返回信息', 'type' => 'string', 'example' => 'Operation success'],
'RequestId' => ['title' => '请求ID', 'description' => '请求ID', 'type' => 'string', 'example' => '34AD682D-5B91-5773-8132-AA38C130****'],
'Data' => [
'title' => '返回数据',
'description' => '返回数据',
'type' => 'object',
'properties' => [
'TableARN' => ['title' => '表ARN', 'description' => '表ARN', 'type' => 'string', 'example' => 'acs:eventbridge:cn-hangzhou:123456789:catalog/my_catalog/namespace/my_namespace/table/my_table'],
],
'example' => '{"TableARN":"acs:eventbridge:cn-hangzhou:123456789:catalog/my_catalog/namespace/my_namespace/table/my_table"}',
],
'Code' => ['title' => '返回码', 'description' => '返回码', 'type' => 'string', 'example' => '200'],
'Success' => ['title' => '是否成功', 'description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
],
'description' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''],
],
],
'title' => '更新表',
'summary' => '修改表',
'description' => '更新一个事件规则的配置。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'eventbridge:UpdateTable',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Table', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:table/{#TableId}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"Operation success\\",\\n \\"RequestId\\": \\"34AD682D-5B91-5773-8132-AA38C130****\\",\\n \\"Data\\": {\\n \\"TableARN\\": \\"acs:eventbridge:cn-hangzhou:123456789:catalog/my_catalog/namespace/my_namespace/table/my_table\\"\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]',
],
],
'endpoints' => [
['regionId' => 'cn-wulanchabu', 'regionName' => '华北6(乌兰察布)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'eventbridge-console.cn-wulanchabu.aliyuncs.com', 'endpoint' => 'eventbridge-console.cn-wulanchabu.aliyuncs.com', 'vpc' => 'eventbridge-console-vpc.cn-wulanchabu.aliyuncs.com'],
['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'eventbridge-console.cn-beijing.aliyuncs.com', 'endpoint' => 'eventbridge-console.cn-beijing.aliyuncs.com', 'vpc' => 'eventbridge-console-vpc.cn-beijing.aliyuncs.com'],
['regionId' => 'cn-qingdao', 'regionName' => '华北1(青岛)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'eventbridge-console.cn-qingdao.aliyuncs.com', 'endpoint' => 'eventbridge-console.cn-qingdao.aliyuncs.com', 'vpc' => 'eventbridge-console-vpc.cn-qingdao.aliyuncs.com'],
['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'eventbridge-console.cn-shanghai.aliyuncs.com', 'endpoint' => 'eventbridge-console.cn-shanghai.aliyuncs.com', 'vpc' => 'eventbridge-console-vpc.cn-shanghai.aliyuncs.com'],
['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'eventbridge-console.cn-hongkong.aliyuncs.com', 'endpoint' => 'eventbridge-console.cn-hongkong.aliyuncs.com', 'vpc' => 'eventbridge-console-vpc.cn-hongkong.aliyuncs.com'],
['regionId' => 'cn-heyuan', 'regionName' => '华南2(河源)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'eventbridge-console.cn-heyuan.aliyuncs.com', 'endpoint' => 'eventbridge-console.cn-heyuan.aliyuncs.com', 'vpc' => 'eventbridge-console-vpc.cn-heyuan.aliyuncs.com'],
['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'eventbridge-console.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'eventbridge-console.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'eventbridge-console-vpc.cn-zhangjiakou.aliyuncs.com'],
['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'eventbridge-console.cn-shenzhen.aliyuncs.com', 'endpoint' => 'eventbridge-console.cn-shenzhen.aliyuncs.com', 'vpc' => 'eventbridge-console-vpc.cn-shenzhen.aliyuncs.com'],
['regionId' => 'ap-northeast-2', 'regionName' => '韩国(首尔)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'eventbridge-console.ap-northeast-2.aliyuncs.com', 'endpoint' => 'eventbridge-console.ap-northeast-2.aliyuncs.com', 'vpc' => 'eventbridge-console-vpc.ap-northeast-2.aliyuncs.com'],
['regionId' => 'ap-northeast-1', 'regionName' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'eventbridge-console.ap-northeast-1.aliyuncs.com', 'endpoint' => 'eventbridge-console.ap-northeast-1.aliyuncs.com', 'vpc' => 'eventbridge-console-vpc.ap-northeast-1.aliyuncs.com'],
['regionId' => 'cn-chengdu', 'regionName' => '西南1(成都)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'eventbridge-console.cn-chengdu.aliyuncs.com', 'endpoint' => 'eventbridge-console.cn-chengdu.aliyuncs.com', 'vpc' => 'eventbridge-console-vpc.cn-chengdu.aliyuncs.com'],
['regionId' => 'cn-guangzhou', 'regionName' => '华南3(广州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'eventbridge-console.cn-guangzhou.aliyuncs.com', 'endpoint' => 'eventbridge-console.cn-guangzhou.aliyuncs.com', 'vpc' => 'eventbridge-console-vpc.cn-guangzhou.aliyuncs.com'],
['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'eventbridge-console.ap-southeast-1.aliyuncs.com', 'endpoint' => 'eventbridge-console.ap-southeast-1.aliyuncs.com', 'vpc' => 'eventbridge-console-vpc.ap-southeast-1.aliyuncs.com'],
['regionId' => 'ap-southeast-3', 'regionName' => '马来西亚(吉隆坡)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'eventbridge-console.ap-southeast-3.aliyuncs.com', 'endpoint' => 'eventbridge-console.ap-southeast-3.aliyuncs.com', 'vpc' => 'eventbridge-console-vpc.ap-southeast-3.aliyuncs.com'],
['regionId' => 'cn-huhehaote', 'regionName' => '华北5(呼和浩特)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'eventbridge-console.cn-huhehaote.aliyuncs.com', 'endpoint' => 'eventbridge-console.cn-huhehaote.aliyuncs.com', 'vpc' => 'eventbridge-console-vpc.cn-huhehaote.aliyuncs.com'],
['regionId' => 'ap-southeast-5', 'regionName' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'eventbridge-console.ap-southeast-5.aliyuncs.com', 'endpoint' => 'eventbridge-console.ap-southeast-5.aliyuncs.com', 'vpc' => 'eventbridge-console-vpc.ap-southeast-5.aliyuncs.com'],
['regionId' => 'ap-southeast-6', 'regionName' => '菲律宾(马尼拉)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'eventbridge-console.ap-southeast-6.aliyuncs.com', 'endpoint' => 'eventbridge-console.ap-southeast-6.aliyuncs.com', 'vpc' => 'eventbridge-console-vpc.ap-southeast-6.aliyuncs.com'],
['regionId' => 'ap-southeast-7', 'regionName' => '泰国(曼谷)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'eventbridge-console.ap-southeast-7.aliyuncs.com', 'endpoint' => 'eventbridge-console.ap-southeast-7.aliyuncs.com', 'vpc' => 'eventbridge-console-vpc.ap-southeast-7.aliyuncs.com'],
['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'eventbridge-console.cn-hangzhou.aliyuncs.com', 'endpoint' => 'eventbridge-console.cn-hangzhou.aliyuncs.com', 'vpc' => 'eventbridge-console-vpc.cn-hangzhou.aliyuncs.com'],
['regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'eventbridge-console.us-east-1.aliyuncs.com', 'endpoint' => 'eventbridge-console.us-east-1.aliyuncs.com', 'vpc' => 'eventbridge-console-vpc.us-east-1.aliyuncs.com'],
['regionId' => 'eu-west-1', 'regionName' => '英国(伦敦)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'eventbridge-console.eu-west-1.aliyuncs.com', 'endpoint' => 'eventbridge-console.eu-west-1.aliyuncs.com', 'vpc' => 'eventbridge-console-vpc.eu-west-1.aliyuncs.com'],
['regionId' => 'us-west-1', 'regionName' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'eventbridge-console.us-west-1.aliyuncs.com', 'endpoint' => 'eventbridge-console.us-west-1.aliyuncs.com', 'vpc' => 'eventbridge-console-vpc.us-west-1.aliyuncs.com'],
['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'eventbridge-console.eu-central-1.aliyuncs.com', 'endpoint' => 'eventbridge-console.eu-central-1.aliyuncs.com', 'vpc' => 'eventbridge-console-vpc.eu-central-1.aliyuncs.com'],
['regionId' => 'cn-shenzhen-finance-1', 'regionName' => '华南1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'eventbridge-console.cn-shenzhen-finance-1.aliyuncs.com', 'endpoint' => 'eventbridge-console.cn-shenzhen-finance-1.aliyuncs.com', 'vpc' => 'eventbridge-console-vpc.cn-shenzhen-finance-1.aliyuncs.com'],
['regionId' => 'cn-beijing-finance-1', 'regionName' => '华北2 金融云(邀测)', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'eventbridge-console.cn-beijing-finance-1.aliyuncs.com', 'endpoint' => 'eventbridge-console.cn-beijing-finance-1.aliyuncs.com', 'vpc' => 'eventbridge-console-vpc.cn-beijing-finance-1.aliyuncs.com'],
['regionId' => 'cn-shanghai-finance-1', 'regionName' => '华东2 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'eventbridge-console.cn-shanghai-finance-1.aliyuncs.com', 'endpoint' => 'eventbridge-console.cn-shanghai-finance-1.aliyuncs.com', 'vpc' => 'eventbridge-console-vpc.cn-shanghai-finance-1.aliyuncs.com'],
],
'errorCodes' => [
['code' => 'ConnectionBoundApiDestination', 'message' => '%s.', 'http_code' => 409, 'description' => '连接绑定 Api 目标'],
['code' => 'InvalidArgument', 'message' => 'The argument specified in the request is invalid.', 'http_code' => 400, 'description' => '参数异常'],
['code' => 'ServiceNotEnable', 'message' => 'The service is unavailable. Please activate EventBridge first.', 'http_code' => 403, 'description' => '服务不可用,请开通EventBridge服务;'],
],
'changeSet' => [
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'EventCenterQueryEvents'],
],
'createdAt' => '2024-10-18T09:29:08.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'CreateRule'],
['description' => '响应参数发生变更', 'api' => 'ListTargets'],
['description' => '请求参数发生变更', 'api' => 'PutTargets'],
],
'createdAt' => '2024-09-25T13:03:25.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'CreateEventStreaming'],
['description' => '响应参数发生变更', 'api' => 'GetEventStreaming'],
['description' => '响应参数发生变更', 'api' => 'ListEventStreamings'],
['description' => '请求参数发生变更', 'api' => 'UpdateEventStreaming'],
],
'createdAt' => '2024-09-10T05:42:33.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'CreateEventStreaming'],
['description' => '请求参数发生变更', 'api' => 'UpdateEventStreaming'],
],
'createdAt' => '2024-09-09T03:30:22.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'CreateEventStreaming'],
['description' => '响应参数发生变更', 'api' => 'GetEventStreaming'],
['description' => '响应参数发生变更', 'api' => 'ListEventStreamings'],
['description' => '请求参数发生变更', 'api' => 'UpdateEventStreaming'],
],
'createdAt' => '2024-08-19T09:20:55.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'EventCenterQueryEvents'],
],
'createdAt' => '2024-08-05T06:20:40.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'CreateEventStreaming'],
['description' => '响应参数发生变更', 'api' => 'GetEventStreaming'],
['description' => '响应参数发生变更', 'api' => 'ListEventStreamings'],
['description' => '请求参数发生变更', 'api' => 'UpdateEventStreaming'],
],
'createdAt' => '2024-07-12T03:21:57.000Z',
'description' => '',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'ListEventStreamings'],
['description' => '请求参数发生变更', 'api' => 'UpdateEventStreaming'],
],
'createdAt' => '2024-06-28T02:40:58.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'CreateEventStreaming'],
['description' => '响应参数发生变更', 'api' => 'GetEventStreaming'],
['description' => '响应参数发生变更', 'api' => 'ListEventStreamings'],
['description' => '请求参数发生变更', 'api' => 'UpdateEventStreaming'],
],
'createdAt' => '2024-05-31T06:16:46.000Z',
'description' => '',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'CreateEventBus'],
['description' => '请求参数发生变更', 'api' => 'CreateEventStreaming'],
['description' => '响应参数发生变更、响应参数发生变更', 'api' => 'CreateServiceLinkedRoleForProduct'],
['description' => '响应参数发生变更', 'api' => 'DeleteEventBus'],
],
'createdAt' => '2024-04-09T14:49:57.000Z',
'description' => '',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'DeleteEventStreaming'],
['description' => '响应参数发生变更', 'api' => 'PauseEventStreaming'],
],
'createdAt' => '2024-03-14T07:21:08.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'CreateRule'],
],
'createdAt' => '2024-02-29T11:06:26.000Z',
'description' => '',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'ListUserDefinedEventSources'],
],
'createdAt' => '2024-02-28T01:43:47.000Z',
'description' => '',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'ListUserDefinedEventSources'],
],
'createdAt' => '2024-02-27T11:48:25.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'CreateEventStreaming'],
['description' => '响应参数发生变更', 'api' => 'GetEventStreaming'],
['description' => '请求参数发生变更', 'api' => 'UpdateEventStreaming'],
],
'createdAt' => '2024-02-21T08:41:07.000Z',
'description' => '',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'DisableRule'],
['description' => '响应参数发生变更', 'api' => 'EnableRule'],
],
'createdAt' => '2024-02-21T07:02:37.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'CreateEventStreaming'],
],
'createdAt' => '2024-02-19T06:14:48.000Z',
'description' => '',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'StartEventStreaming'],
],
'createdAt' => '2024-02-01T06:13:20.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'CreateEventStreaming'],
['description' => '请求参数发生变更', 'api' => 'UpdateEventStreaming'],
],
'createdAt' => '2024-01-25T08:13:59.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'CreateEventStreaming'],
['description' => '响应参数发生变更', 'api' => 'GetEventStreaming'],
['description' => '请求参数发生变更', 'api' => 'UpdateEventStreaming'],
],
'createdAt' => '2023-12-28T06:31:38.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'CreateEventStreaming'],
['description' => '响应参数发生变更', 'api' => 'GetEventStreaming'],
['description' => '响应参数发生变更', 'api' => 'ListEventStreamings'],
['description' => '请求参数发生变更', 'api' => 'UpdateEventStreaming'],
],
'createdAt' => '2023-11-22T14:17:11.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'QueryEvent'],
],
'createdAt' => '2023-11-07T07:03:27.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'CreateEventSource'],
['description' => '响应参数发生变更', 'api' => 'ListUserDefinedEventSources'],
['description' => '请求参数发生变更', 'api' => 'UpdateEventSource'],
],
'createdAt' => '2023-10-19T06:44:53.000Z',
'description' => '',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'GetEventStreaming'],
['description' => '响应参数发生变更', 'api' => 'ListEventStreamings'],
['description' => '请求参数发生变更', 'api' => 'UpdateEventStreaming'],
],
'createdAt' => '2023-10-11T12:34:42.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'CreateEventStreaming'],
['description' => '响应参数发生变更', 'api' => 'GetEventStreaming'],
['description' => '响应参数发生变更', 'api' => 'ListEventStreamings'],
['description' => '请求参数发生变更', 'api' => 'UpdateEventStreaming'],
],
'createdAt' => '2023-09-13T13:10:55.000Z',
'description' => '',
],
[
'apis' => [
['description' => '错误码发生变更', 'api' => 'CreateApiDestination'],
['description' => '错误码发生变更', 'api' => 'CreateConnection'],
['description' => '错误码发生变更', 'api' => 'DeleteApiDestination'],
['description' => '错误码发生变更', 'api' => 'DeleteConnection'],
['description' => '错误码发生变更', 'api' => 'GetApiDestination'],
['description' => '错误码发生变更、响应参数发生变更', 'api' => 'GetConnection'],
['description' => '错误码发生变更', 'api' => 'ListApiDestinations'],
['description' => '错误码发生变更、响应参数发生变更', 'api' => 'ListConnections'],
['description' => '错误码发生变更、请求参数发生变更', 'api' => 'UpdateApiDestination'],
['description' => '错误码发生变更', 'api' => 'UpdateConnection'],
],
'createdAt' => '2023-09-13T11:38:30.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'CreateEventSource'],
['description' => '响应参数发生变更', 'api' => 'ListUserDefinedEventSources'],
],
'createdAt' => '2023-08-01T14:56:36.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'CreateEventBus'],
['description' => '请求参数发生变更', 'api' => 'CreateEventSource'],
['description' => '响应参数发生变更', 'api' => 'ListUserDefinedEventSources'],
['description' => '请求参数发生变更', 'api' => 'UpdateEventBus'],
['description' => '请求参数发生变更', 'api' => 'UpdateEventSource'],
],
'createdAt' => '2023-08-01T13:14:20.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'ListUserDefinedEventSources'],
],
'createdAt' => '2023-07-04T12:57:00.000Z',
'description' => '',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'GetRule'],
['description' => '响应参数发生变更', 'api' => 'ListRules'],
['description' => '响应参数发生变更', 'api' => 'ListTargets'],
],
'createdAt' => '2023-07-04T02:53:23.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'ListEventStreamings'],
],
'createdAt' => '2023-06-09T05:52:24.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'CreateEventStreaming'],
['description' => '响应参数发生变更', 'api' => 'GetEventStreaming'],
['description' => '响应参数发生变更', 'api' => 'ListEventStreamings'],
['description' => '请求参数发生变更', 'api' => 'UpdateEventStreaming'],
],
'createdAt' => '2023-04-21T03:32:19.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'CreateEventBus'],
['description' => '请求参数发生变更', 'api' => 'CreateEventSource'],
['description' => '响应参数发生变更', 'api' => 'ListUserDefinedEventSources'],
['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'UpdateEventBus'],
['description' => '请求参数发生变更', 'api' => 'UpdateEventSource'],
],
'createdAt' => '2023-04-21T02:33:57.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'CreateApiDestination'],
['description' => '请求参数发生变更', 'api' => 'CreateConnection'],
['description' => '请求参数发生变更', 'api' => 'UpdateApiDestination'],
['description' => '请求参数发生变更', 'api' => 'UpdateConnection'],
],
'createdAt' => '2023-04-12T13:40:29.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'ListApiDestinations'],
['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'ListEventStreamings'],
],
'createdAt' => '2023-04-10T09:25:46.000Z',
'description' => '',
],
[
'apis' => [
['description' => '错误码发生变更、请求参数发生变更、响应参数发生变更', 'api' => 'CreateApiDestination'],
['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'CreateConnection'],
['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'CreateEventSource'],
['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'CreateEventStreaming'],
['description' => '请求参数发生变更', 'api' => 'DeleteApiDestination'],
['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'DeleteEventStreaming'],
['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'GetApiDestination'],
['description' => '响应参数发生变更、响应参数发生变更', 'api' => 'GetConnection'],
['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'GetEventStreaming'],
['description' => '响应参数发生变更、响应参数发生变更', 'api' => 'ListAliyunOfficialEventSources'],
],
'createdAt' => '2023-04-06T12:59:12.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'OpenAPI 下线', 'api' => 'CreateEventStreaming'],
['description' => 'OpenAPI 下线', 'api' => 'CreateEventStreaming'],
['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'DeleteEventStreaming'],
['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'DeleteEventStreaming'],
['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'GetEventStreaming'],
['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'GetEventStreaming'],
['description' => '请求参数发生变更、响应参数发生变更、错误码发生变更', 'api' => 'ListEventStreaming'],
['description' => '请求参数发生变更、响应参数发生变更、错误码发生变更', 'api' => 'ListEventStreaming'],
['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'PauseEventStreaming'],
['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'PauseEventStreaming'],
],
'createdAt' => '2022-09-14T08:07:36.000Z',
'description' => '支持事件流相关接口',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'GetRule'],
],
'createdAt' => '2022-08-17T06:23:37.000Z',
'description' => '增加deadLetterQueue',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'UpdateRule'],
],
'createdAt' => '2021-08-06T11:01:43.000Z',
'description' => 'EventBridge API 初始化',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'ListAliyunOfficialEventSources'],
['description' => '响应参数发生变更', 'api' => 'ListUserDefinedEventSources'],
],
'createdAt' => '2021-08-06T04:02:33.000Z',
'description' => 'EventBridge OpenAPI初始化',
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '-1', 'countWindow' => 1, 'regionId' => '*'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateConnection'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateEventStreaming'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteEventStreaming'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StartEventStreaming'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetConnection'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListEventStreamings'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateEventSource'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListConnections'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TestEventPattern'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateEventSource'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateConnection'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateEventStreaming'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteConnection'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PauseEventStreaming'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateApiDestination'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteEventSource'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetEventStreaming'],
],
],
'ram' => [
'productCode' => 'EventBridge',
'productName' => '事件总线',
'ramCodes' => ['eventbridge'],
'ramLevel' => '资源级',
'ramConditions' => [
[
'name' => 'acs:ResourceTag',
'schema' => ['type' => 'String', 'description' => 'acs:ResourceTag'],
],
[
'name' => 'acs:RequestTag',
'schema' => ['type' => 'String', 'description' => 'acs:RequestTag'],
],
[
'name' => 'acs:ResourceGroupId',
'schema' => ['description' => 'acs:ResourceGroupId'],
],
],
'ramActions' => [
[
'apiName' => 'CreateEventSource',
'description' => '创建一个事件源',
'operationType' => 'create',
'ramAction' => [
'action' => 'eventbridge:CreateEventSource',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventSource', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}/eventsource/*'],
],
],
],
[
'apiName' => 'GetConnection',
'description' => '查询单个连接配置信息',
'operationType' => 'get',
'ramAction' => [
'action' => 'eventbridge:GetConnection',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Connection', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:connection/{#ConnectionName}'],
],
],
],
[
'apiName' => 'GetCatalog',
'description' => '查询catalog',
'operationType' => 'get',
'ramAction' => [
'action' => 'eventbridge:GetCatalog',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Catalog', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:catalog/{#Catalog}'],
],
],
],
[
'apiName' => 'GetRule',
'description' => '获取一个事件规则的详细信息',
'operationType' => 'get',
'ramAction' => [
'action' => 'eventbridge:GetRule',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Rule', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}/rule/{#RuleName}'],
],
],
],
[
'apiName' => 'QueryEventHouse',
'description' => '查询事件仓',
'operationType' => 'list',
'ramAction' => [
'action' => 'eventbridge:QueryEventHouse',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Table', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:table/{#TableId}'],
],
],
],
[
'apiName' => 'UpdateNamespace',
'description' => '编辑命名空间',
'operationType' => 'update',
'ramAction' => [
'action' => 'eventbridge:UpdateNamespace',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Namespace', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:namespace/{#NamespaceId}'],
],
],
],
[
'apiName' => 'CreateConnection',
'description' => '创建连接配置信息',
'operationType' => 'create',
'ramAction' => [
'action' => 'eventbridge:CreateConnection',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Connection', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:connection/*'],
],
],
],
[
'apiName' => 'CreateEventBus',
'description' => '创建一个事件总线',
'operationType' => 'create',
'ramAction' => [
'action' => 'eventbridge:CreateEventBus',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventBus', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/*'],
],
],
],
[
'apiName' => 'GetApiDestination',
'description' => '查询单个API 端点信息',
'operationType' => 'get',
'ramAction' => [
'action' => 'eventbridge:GetApiDestination',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'ApiDestination', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:apidestination/{#ApiDestinationName}'],
],
],
],
[
'apiName' => 'CreateTable',
'description' => '创建表',
'operationType' => 'create',
'ramAction' => [
'action' => 'eventbridge:CreateTable',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Table', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:table/{#TableId}'],
],
],
],
[
'apiName' => 'CreateRule',
'description' => '创建一个事件规则',
'operationType' => 'create',
'ramAction' => [
'action' => 'eventbridge:CreateRule',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Rule', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}/rule/{#RuleName}'],
],
],
],
[
'apiName' => 'QueryTracedEventByEventId',
'description' => '获取事件轨迹基本信息',
'operationType' => 'get',
'ramAction' => [
'action' => 'eventbridge:QueryTracedEventByEventId',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventBus', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}'],
],
],
],
[
'apiName' => 'EnableRule',
'description' => '启用一个事件规则',
'operationType' => 'update',
'ramAction' => [
'action' => 'eventbridge:EnableRule',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Rule', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}/rule/{#RuleName}'],
],
],
],
[
'apiName' => 'DeleteConnection',
'description' => '删除指定的连接配置信息',
'operationType' => 'delete',
'ramAction' => [
'action' => 'eventbridge:DeleteConnection',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Connection', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:connection/{#ConnectionName}'],
],
],
],
[
'apiName' => 'CreateEventStreaming',
'description' => '创建一个事件流',
'operationType' => 'create',
'ramAction' => [
'action' => 'eventbridge:CreateEventStreaming',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventStreaming', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventstreaming/{#EventStreamingName}'],
],
],
],
[
'apiName' => 'CreateNamespace',
'description' => '创建命名空间',
'operationType' => 'create',
'ramAction' => [
'action' => 'eventbridge:CreateNamespace',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Namespace', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:namespace/{#NamespaceId}'],
],
],
],
[
'apiName' => 'DeleteEventStreaming',
'description' => '删除一个事件流',
'operationType' => 'delete',
'ramAction' => [
'action' => 'eventbridge:DeleteEventStreaming',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventStreaming', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventstreaming/{#EventStreamingName}'],
],
],
],
[
'apiName' => 'UpdateConnection',
'description' => '更新连接配置信息',
'operationType' => 'update',
'ramAction' => [
'action' => 'eventbridge:UpdateConnection',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Connection', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:connection/{#ConnectionName}'],
],
],
],
[
'apiName' => 'DeleteAgent',
'description' => '删除自定义Agent',
'operationType' => 'delete',
'ramAction' => [
'action' => 'eventbridge:DeleteAgent',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetAgent',
'description' => '获取Agent元数据',
'operationType' => 'get',
'ramAction' => [
'action' => 'eventbridge:GetAgent',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'TestEventSourceConfig',
'description' => '测试数据源配置',
'operationType' => 'create',
'ramAction' => [
'action' => 'eventbridge:TestEventSourceConfig',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'CreateServiceLinkedRoleForProduct',
'description' => '根据产品关联的 SLR名称创建SLR',
'operationType' => 'none',
'ramAction' => [
'action' => 'eventbridge:CreateServiceLinkedRoleForProduct',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryAskLumaLog',
'description' => '查询智能体查询调用日志',
'operationType' => 'get',
'ramAction' => [
'action' => 'eventbridge:QueryAskLumaLog',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'UpdateEventStreaming',
'description' => '修改一个事件流',
'operationType' => 'update',
'ramAction' => [
'action' => 'eventbridge:UpdateEventStreaming',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventStreaming', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventstreaming/{#EventStreamingName}'],
],
],
],
[
'apiName' => 'ListConnections',
'description' => '获取连接配置列表',
'operationType' => 'get',
'ramAction' => [
'action' => 'eventbridge:ListConnections',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Connection', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:connection/*'],
],
],
],
[
'apiName' => 'QueryEvent',
'description' => '查询事件内容',
'operationType' => 'get',
'ramAction' => [
'action' => 'eventbridge:QueryEvent',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventBus', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}'],
],
],
],
[
'apiName' => 'StartEventStreaming',
'description' => '启用一个已创建或已停用的事件流',
'operationType' => 'update',
'ramAction' => [
'action' => 'eventbridge:StartEventStreaming',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventStreaming', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventstreaming/{#EventStreamingName}'],
],
],
],
[
'apiName' => 'CreateAgent',
'description' => '创建自定义Agent',
'operationType' => 'create',
'ramAction' => [
'action' => 'eventbridge:CreateAgent',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'CreateApiDestination',
'description' => '创建API端点信息',
'operationType' => 'create',
'ramAction' => [
'action' => 'eventbridge:CreateApiDestination',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'ApiDestination', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:apidestination/{#ApiDestinationName}'],
],
],
],
[
'apiName' => 'UpdateEventSource',
'description' => '更新一个事件源',
'operationType' => 'update',
'ramAction' => [
'action' => 'eventbridge:UpdateEventSource',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventSource', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}/eventsource/{#EventSourceName}'],
],
],
],
[
'apiName' => 'GetTable',
'description' => '查询表',
'operationType' => 'get',
'ramAction' => [
'action' => 'eventbridge:GetTable',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Table', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:table/{#TableId}'],
],
],
],
[
'apiName' => 'UpdateEventStreamingBusinessOption',
'description' => '编辑事件流计费模式',
'operationType' => 'update',
'ramAction' => [
'action' => 'eventbridge:UpdateEventStreamingBusinessOption',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventStreaming', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventstreaming/{#EventStreamingName}'],
],
],
],
[
'apiName' => 'UpdateAgent',
'description' => '更新自定义Agent',
'operationType' => 'get',
'ramAction' => [
'action' => 'eventbridge:UpdateAgent',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'DeleteApiDestination',
'description' => '删除API 端点',
'operationType' => 'delete',
'ramAction' => [
'action' => 'eventbridge:DeleteApiDestination',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'ApiDestination', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:apidestination/{#ApiDestinationName}'],
],
],
],
[
'apiName' => 'AskLuma',
'description' => '智能体语义查询',
'operationType' => 'get',
'ramAction' => [
'action' => 'eventbridge:AskLuma',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListUserDefinedEventSources',
'description' => '查询所有外部事件源',
'operationType' => 'get',
'ramAction' => [
'action' => 'eventbridge:ListUserDefinedEventSources',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventSource', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}/eventsource/*'],
],
],
],
[
'apiName' => 'ListCatalogs',
'description' => '查询catalog列表',
'operationType' => 'list',
'ramAction' => [
'action' => 'eventbridge:ListCatalogs',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Catalog', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:catalog/*'],
],
],
],
[
'apiName' => 'UpdateApiDestination',
'description' => '更新API 端点',
'operationType' => 'update',
'ramAction' => [
'action' => 'eventbridge:UpdateApiDestination',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'ApiDestination', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:apidestination/{#ApiDestinationName}'],
],
],
],
[
'apiName' => 'UpdateEventBus',
'description' => '修改事件总线',
'operationType' => 'update',
'ramAction' => [
'action' => 'eventbridge:UpdateEventBus',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventBus', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}'],
],
],
],
[
'apiName' => 'QueryEventTraces',
'description' => '查询事件轨迹推送详情',
'operationType' => 'get',
'ramAction' => [
'action' => 'eventbridge:QueryEventTraces',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventBus', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}'],
],
],
],
[
'apiName' => 'DeleteNamespace',
'description' => '删除命名空间',
'operationType' => 'delete',
'ramAction' => [
'action' => 'eventbridge:DeleteNamespace',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Namespace', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:namespace/{#NamespaceId}'],
],
],
],
[
'apiName' => 'UpdateRule',
'description' => '更新一个事件规则的配置',
'operationType' => 'update',
'ramAction' => [
'action' => 'eventbridge:UpdateRule',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Rule', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}/rule/{#RuleName}'],
],
],
],
[
'apiName' => 'EventCenterQueryEvents',
'description' => '在事件分析功能中查询事件',
'operationType' => 'get',
'ramAction' => [
'action' => 'eventbridge:EventCenterQueryEvents',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventBus', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#eventbus}'],
],
],
],
[
'apiName' => 'DiscoverEventSource',
'description' => '探测事件源',
'operationType' => 'create',
'ramAction' => [
'action' => 'eventbridge:DiscoverEventSource',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'DeleteRule',
'description' => '删除一个事件规则',
'operationType' => 'delete',
'ramAction' => [
'action' => 'eventbridge:DeleteRule',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Rule', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}/rule/{#RuleName}'],
],
],
],
[
'apiName' => 'ListNamespaces',
'description' => '查询命名空间列表',
'operationType' => 'list',
'ramAction' => [
'action' => 'eventbridge:ListNamespaces',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Namespace', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:namespace/*'],
],
],
],
[
'apiName' => 'ListTargets',
'description' => '查询一个事件规则的所有投递目标',
'operationType' => 'list',
'ramAction' => [
'action' => 'eventbridge:ListTargets',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Rule', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}/rule/{#RuleName}'],
],
],
],
[
'apiName' => 'ListAgents',
'description' => '获取自定义Agent列表',
'operationType' => 'list',
'ramAction' => [
'action' => 'eventbridge:ListAgents',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryTracedEvents',
'description' => '通过时间范围查询事件轨迹',
'operationType' => 'get',
'ramAction' => [
'action' => 'eventbridge:QueryTracedEvents',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventBus', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}'],
],
],
],
[
'apiName' => 'PollAskResult',
'description' => '轮训AskLuma执行结果',
'operationType' => 'get',
'ramAction' => [
'action' => 'eventbridge:PollAskResult',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'PutTargets',
'description' => '在指定的规则下创建或更新事件目标',
'operationType' => 'update',
'ramAction' => [
'action' => 'eventbridge:PutTargets',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Rule', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}/rule/{#RuleName}'],
],
],
],
[
'apiName' => 'GetNamespace',
'description' => '查询命名空间',
'operationType' => 'get',
'ramAction' => [
'action' => 'eventbridge:GetNamespace',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Namespace', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:namespace/{#NamespaceId}'],
],
],
],
[
'apiName' => 'DeleteTable',
'description' => '删除表',
'operationType' => 'delete',
'ramAction' => [
'action' => 'eventbridge:DeleteTable',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Table', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:table/{#TableId}'],
],
],
],
[
'apiName' => 'ListEventStreamings',
'description' => '查询事件流',
'operationType' => 'list',
'ramAction' => [
'action' => 'eventbridge:ListEventStreamings',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventStreaming', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventstreaming/*'],
],
],
],
[
'apiName' => 'ListTables',
'description' => '列举表',
'operationType' => 'list',
'ramAction' => [
'action' => 'eventbridge:ListTables',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Table', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:table/{#TableId}'],
],
],
],
[
'apiName' => 'DeleteEventSource',
'description' => '删除一个事件源',
'operationType' => 'delete',
'ramAction' => [
'action' => 'eventbridge:DeleteEventSource',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventSource', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}/eventsource/{#EventSourceName}'],
],
],
],
[
'apiName' => 'DisableRule',
'description' => '禁用一个事件规则',
'operationType' => 'update',
'ramAction' => [
'action' => 'eventbridge:DisableRule',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Rule', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}/rule/{#RuleName}'],
],
],
],
[
'apiName' => 'DeleteTargets',
'description' => '删除一个事件规则下的目标',
'operationType' => 'delete',
'ramAction' => [
'action' => 'eventbridge:DeleteTargets',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Rule', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}/rule/{#RuleName}'],
],
],
],
[
'apiName' => 'DeleteEventBus',
'description' => '删除一个事件总线',
'operationType' => 'delete',
'ramAction' => [
'action' => 'eventbridge:DeleteEventBus',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventBus', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}'],
],
],
],
[
'apiName' => 'ListRules',
'description' => '查询一个事件总线的所有规则',
'operationType' => 'get',
'ramAction' => [
'action' => 'eventbridge:ListRules',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Rule', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}/rule/*'],
],
],
],
[
'apiName' => 'ListEventBuses',
'description' => '查询所有事件总线',
'operationType' => 'get',
'ramAction' => [
'action' => 'eventbridge:ListEventBuses',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventBus', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/*'],
],
],
],
[
'apiName' => 'CheckServiceLinkedRoleForProduct',
'description' => '检查账号是否存在ServiceLinkedRole授权。',
'operationType' => 'none',
'ramAction' => [
'action' => 'eventbridge:CheckServiceLinkedRoleForProduct',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetEventStreaming',
'description' => '获取一个事件流的详细信息',
'operationType' => 'get',
'ramAction' => [
'action' => 'eventbridge:GetEventStreaming',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventStreaming', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventstreaming/{#EventStreamingName}'],
],
],
],
[
'apiName' => 'GetEventBus',
'description' => '获取一个事件总线的详细信息',
'operationType' => 'get',
'ramAction' => [
'action' => 'eventbridge:GetEventBus',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventBus', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}'],
],
],
],
[
'apiName' => 'PauseEventStreaming',
'description' => '停用一个运行中的事件流',
'operationType' => 'update',
'ramAction' => [
'action' => 'eventbridge:PauseEventStreaming',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventStreaming', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventstreaming/{#EventStreamingName}'],
],
],
],
[
'apiName' => 'UpdateTable',
'description' => '更新表',
'operationType' => 'create',
'ramAction' => [
'action' => 'eventbridge:UpdateTable',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Table', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:table/{#TableId}'],
],
],
],
[
'apiName' => 'ListApiDestinations',
'description' => '获取API 端点列表',
'operationType' => 'list',
'ramAction' => [
'action' => 'eventbridge:ListApiDestinations',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'ApiDestination', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:apidestination/*'],
],
],
],
],
'resourceTypes' => [
['validationType' => 'always', 'resourceType' => 'EventSource', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}/eventsource/*'],
['validationType' => 'always', 'resourceType' => 'Connection', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:connection/{#ConnectionName}'],
['validationType' => 'always', 'resourceType' => 'Catalog', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:catalog/{#Catalog}'],
['validationType' => 'always', 'resourceType' => 'Rule', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}/rule/{#RuleName}'],
['validationType' => 'always', 'resourceType' => 'Table', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:table/{#TableId}'],
['validationType' => 'always', 'resourceType' => 'Namespace', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:namespace/{#NamespaceId}'],
['validationType' => 'always', 'resourceType' => 'Connection', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:connection/*'],
['validationType' => 'always', 'resourceType' => 'EventBus', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/*'],
['validationType' => 'always', 'resourceType' => 'ApiDestination', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:apidestination/{#ApiDestinationName}'],
['validationType' => 'always', 'resourceType' => 'EventBus', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}'],
['validationType' => 'always', 'resourceType' => 'EventStreaming', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventstreaming/{#EventStreamingName}'],
['validationType' => 'always', 'resourceType' => 'Agent', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:agent/*'],
['validationType' => 'always', 'resourceType' => 'EventSource', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}/eventsource/{#EventSourceName}'],
['validationType' => 'always', 'resourceType' => 'Catalog', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:catalog/*'],
['validationType' => 'always', 'resourceType' => 'EventBus', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#eventbus}'],
['validationType' => 'always', 'resourceType' => 'Namespace', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:namespace/*'],
['validationType' => 'always', 'resourceType' => 'EventStreaming', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventstreaming/*'],
['validationType' => 'always', 'resourceType' => 'Rule', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}/rule/*'],
['validationType' => 'always', 'resourceType' => 'Schema', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:*'],
['validationType' => 'always', 'resourceType' => 'ApiDestination', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:apidestination/*'],
],
],
];